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 Analysis

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

Package
dsh-cache-precision
Version
0.1.1
License
MIT
Last updated
Aug 15, 2026

Install

$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.