Yuuu0109 / dsh-cache-hit-decimal

已收录

Two-decimal cache-hit rate for the DeepSeek Harness Web GUI

main工具 查看源代码

安装

npx -y @deepseek-ai/dsh plugin --profile web add github:Yuuu0109/dsh-cache-hit-decimal

此安装命令根据 GitHub 仓库地址生成,是未经验证的安装起点。

README

维护者编写的文档快照。

在 GitHub 查看 ↗
提交版本 bf4bfe5同步于 2026年8月18日

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.1.4 --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.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.0-rc.6 and React 18.

This is an independent community plugin and is not part of the official DeepSeek Harness repository.

项目文件与信号

以下项目是目录快照中检测到的公开仓库信号。

测试已检测

仓库信息

开发语言
TypeScript
许可证
MIT
最后更新
2026年8月15日 14:26

谨慎安装

请检查源代码、权限、生命周期脚本、依赖与网络访问;不受信任的插件应先在隔离环境中测试。