Back to catalog

Yuuu0109 /

dsh-cache-hit-decimal

Verified

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

0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
READMESource: main@bf4bfe5a

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.

/ 5

No ratings yet

Community comments

No comments yet. Be the first to write one.