Cheng-cheng9669/dsh-cache-precision1

dsh-cache-precision

为 DSH Web 提供原位的、保留三位小数的缓存命中率显示,并加宽了输入框统计行。

AI 分析

核心用途是高精度展示 DSH 对话中的缓存命中率。适合需要精确评估 Prompt Cache 节省效果、优化 Prompt 结构的专业用户。

包名
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

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.