Yuuu0109/dsh-cache-hit-decimal0

@yuuu0109/dsh-cache-hit-decimal

DeepSeek Harness web plugin that displays cache-hit rate with one decimal place

AI Analysis

核心用途是提供更精确的缓存命中率数据展示。适合对 Token 缓存优化效果有精细化监控需求的开发者或重度用户。卸载后可无缝恢复官方默认的整数显示。

Package
@yuuu0109/dsh-cache-hit-decimal
Version
0.1.1
License
MIT
Last updated
Aug 15, 2026

Install

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

dsh-cache-hit-decimal

A small DeepSeek Harness Web plugin that replaces the native integer cache-hit percentage with a one-decimal value, such as 42.9%.

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

git clone https://github.com/Yuuu0109/dsh-cache-hit-decimal.git
cd dsh-cache-hit-decimal
pnpm install
dsh plugin --profile web add .

Restart the dsh web process and refresh the browser.

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.