DeepSeek Harness 插件

dsh-cache-hit-decimal

DeepSeek Harness web plugin that displays cache-hit rate with two decimal places(英文原文)

跳到安装方式

来源信息

GitHub 仓库
Yuuu0109/dsh-cache-hit-decimal
最近更新
2026年8月15日
分类
工具与能力
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/Yuuu0109/dsh-cache-hit-decimal
插件名:dsh-cache-hit-decimal
作者:Yuuu0109

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器4 个文件
README.zh.md来源说明 · 只读预览
README 语言

dsh-cache-hit-decimal

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

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

English

安装

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

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

更新

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

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

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

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

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

从源码安装

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

  • 统计条改为单行居中完整显示,不再换行或省略。

0.1.3

  • 缓存命中率改为保留两位小数。

卸载

dsh plugin --profile web remove @yuuu0109/dsh-cache-hit-decimal

重启 dsh web。原生整数 StatsLine 会重新成为当前槽位的显示组件。

开发

pnpm typecheck
pnpm test
pnpm build

兼容版本固定为 DeepSeek Harness 0.1.0-rc.6 与 React 18。

本仓库是独立社区插件,不属于 DeepSeek Harness 官方仓库。