luern0313/DSH-Cache-Hit-Precision1

dsh-cache-hit-precision

A tiny dsh web plugin that shows the cache-hit rate with two decimal places in the chat stats line.

AI 분석

用于精确监控 API 缓存效果。适合关注 Token 消耗和缓存优化、需要查看精确到小数点后两位的缓存命中率的用户。

패키지
dsh-cache-hit-precision
버전
1.0.0
라이선스
MIT
최근 업데이트
2026. 8. 16.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:luern0313/DSH-Cache-Hit-Precision

手动安装(不使用 pnpm)

mkdir -p ~/.dsh/profiles/web/node_modules
ln -sfn /path/to/DSH-Cache-Hit-Precision ~/.dsh/profiles/web/node_modules/dsh-cache-hit-precision

然后在 ~/.dsh/profiles/web/cordis.patch.yml 末尾追加:

- insert:
    - id: cache-hit-precision
      name: dsh-cache-hit-precision

重启生效:

dsh web