Cheng-cheng9669/dsh-cache-precision ↗★ 1
dsh-cache-precision
In-place three-decimal cache-hit percentage plus a widened composer stats line for DSH Web.
AI Analysis
核心用途是高精度展示 DSH 对话中的缓存命中率。适合需要精确评估 Prompt Cache 节省效果、优化 Prompt 结构的专业用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Cheng-cheng9669/dsh-cache-precisionREADME
Read the full README ↗dsh-cache-precision
Two in-place composer-dock refinements:
- Rewrites the built-in cache-hit percentage with three decimals
(
缓存命中 12%->缓存命中 12.345%). - Widens the built-in stats line (
max-widthgrows 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.