luern0313/DSH-Cache-Hit-Precision1

dsh-cache-hit-precision

一个轻量级 DSH Web 插件,在聊天统计行中显示保留两位小数的缓存命中率。

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