插件目录 / UI & Skins / dsh-cache-hit-decimal
dsh-cache-hit-decimal
已验证 · 实测可装 Yuuu0109
功能简介
Two-decimal cache-hit rate for the DeepSeek Harness Web GUI
可用 — 实测通过,早期项目
Two-decimal cache-hit rate for the DeepSeek Harness Web GUI 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-cache-hit-decimal
A small DeepSeek Harness Web plugin that replaces the native integer cache-hit percentage with a two-decimal value, such as 42.86%.

It shadows the existing stats cell in conversation.composer.dock instead of patching the official conversation package. Removing the plugin restores the native integer display.
Install
dsh plugin --profile web add @yuuu0109/dsh-cache-hit-decimal
Restart the dsh web process and refresh the browser.
Update
dsh plugin --profile web update @yuuu0109/dsh-cache-hit-decimal
Restart dsh web and refresh the browser. If a configured npm mirror has not synced the latest version yet, use the official registry:
dsh plugin --profile web update @yuuu0109/dsh-cache-hit-decimal --registry=https://registry.npmjs.org/
pnpm 11 may delay newly published versions for 24 hours. To update immediately:
dsh plugin --profile web update @yuuu0109/dsh-cache-hit-decimal@0.2.0 --config.minimumReleaseAge=0
Install from source
git clone https://github.com/Yuuu0109/dsh-cache-hit-decimal.git
cd dsh-cache-hit-decimal
pnpm install
pnpm build
dsh plugin --profile web add .
Changelog
0.2.0
- Adapted to DeepSeek Harness
0.1.2-alpha.4: dependencies and peers moved from0.1.0-rc.6to0.1.2-alpha.4. - The stats line now reads the host-computed
sessionStatsandtokenUsageprojections through the standard session hooks (useProjection/useChat), with the legacy node fold kept as fallback. - Slot registration updated to the current list-slot contract (
id/order/priority,locale: 'chat'); the nativestatscell is still shadowed at priority-1, and removing the plugin restores the integer display.
0.1.4
- Display the full stats line on one centered row without wrapping or an ellipsis.
0.1.3
- Display the cache-hit rate with two decimal places.
Uninstall
dsh plugin --profile web remove @yuuu0109/dsh-cache-hit-decimal
Restart dsh web. The native integer StatsLine becomes the active slot occupant again.
Development
pnpm typecheck
pnpm test
pnpm build
Compatibility is pinned to DeepSeek Harness 0.1.2-alpha.4 and React 18.
This is an independent community plugin and is not part of the official DeepSeek Harness repository.
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-cache-hit-decimal」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:Yuuu0109/dsh-cache-hit-decimal Headless(CLI)profile:
dsh plugin --profile headless add github:Yuuu0109/dsh-cache-hit-decimal 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。