← 返回列表
D

@yuuu0109/dsh-cache-hit-decimal

v0.1.4 · 2 天前发布

DeepSeek Harness web plugin that displays cache-hit rate with two decimal places

dshdsh-plugindeepseek-harnesscache-hitweb-ui

README

dsh-cache-hit-decimal

一个轻量的 DeepSeek Harness Web 插件,将原生整数缓存命中率替换为保留两位小数的显示,例如 42.86%

它覆盖 conversation.composer.dock 中已有的 stats 单元格,不修改官方 conversation 包。移除插件后,原生整数统计条会自动恢复。

English

安装

sh
dsh plugin --profile web add @yuuu0109/dsh-cache-hit-decimal

重启 dsh web 进程并刷新浏览器。

更新

sh
dsh plugin --profile web update @yuuu0109/dsh-cache-hit-decimal

更新后重启 dsh web 并刷新浏览器。如果配置的 npm 镜像尚未同步最新版本,可以改用官方 registry:

sh
dsh plugin --profile web update @yuuu0109/dsh-cache-hit-decimal --registry=https://registry.npmjs.org/

pnpm 11 可能会将发布不足 24 小时的版本延迟更新。需要立即更新时执行:

sh
dsh plugin --profile web update @yuuu0109/dsh-cache-hit-decimal --latest --config.minimumReleaseAge=0

从源码安装

```sh
git clone https://github.com/Yuuu0109/dsh-cache-hit-decimal.gi

查看完整 README →

版本兼容矩阵

DSH 版本状态说明
dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
dsh@0.1.0 ✅ 兼容 标准 patch ✅
dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
dsh@0.3.0+ ❓ 未知 尚未发布

💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

元数据

License
MIT
npm
@yuuu0109/dsh-cache-hit-decimal
Repo
git+https://github.com/Yuuu0109/dsh-cache-hit-decimal.git
Engines
{"node":"^22.19.0 || >=24.0.0"}
Weekly DL
0
Monthly DL
0
dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"platform":"web","inject":["@deepseek-ai/dsh-client-ui-conversation"]}}