Cheng-cheng9669/dsh-cache-precision ↗★ 3

dsh-cache-precision

将缓存命中率精确至三位小数并加宽状态栏显示 适合需要精确监控Token缓存命中情况、避免界面文本截断的用户。

套件
dsh-cache-precision
相容性
待驗證
版本
0.1.1
授權
MIT
最近更新
2026年8月15日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Cheng-cheng9669/dsh-cache-precision

dsh-cache-precision

English | 中文

Two in-place composer-dock refinements:

  1. Rewrites the built-in cache-hit percentage with three decimals (缓存命中 12% -> 缓存命中 12.345%).
  2. Widens the built-in stats line (max-width grows beyond the chat content width) so the extra precision and other dock items no longer truncate with ....

Both read the same tokenUsage projection and re-apply automatically after React re-renders.

Install

dsh plugin --profile web add D:\Dsh\tools\dsh-cache-precision

Restart dsh web.