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/08/16

インストール

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

ドキュメント

README 全文を読む ↗

手动安装(不使用 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