Cheng-cheng9669/dsh-cache-precision1

dsh-cache-precision

In-place three-decimal cache-hit percentage plus a widened composer stats line for DSH Web.

AI 分析

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

パッケージ
dsh-cache-precision
バージョン
0.1.1
ライセンス
MIT
最終更新
2026/08/15

インストール

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

ドキュメント

README 全文を読む ↗

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.