@yuuu0109/dsh-cache-hit-decimal
v0.2.0
Published
DeepSeek Harness web plugin that displays cache-hit rate with two decimal places
Maintainers
Readme
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-decimalRestart the dsh web process and refresh the browser.
Update
dsh plugin --profile web update @yuuu0109/dsh-cache-hit-decimalRestart 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/[email protected] --config.minimumReleaseAge=0Install 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.2.0
- Adapted to DeepSeek Harness
0.1.2-alpha.4: dependencies and peers moved from0.1.0-rc.6to0.1.2-alpha.4. - The stats line now reads the host-computed
sessionStatsandtokenUsageprojections through the standard session hooks (useProjection/useChat), with the legacy node fold kept as fallback. - Slot registration updated to the current list-slot contract (
id/order/priority,locale: 'chat'); the nativestatscell is still shadowed at priority-1, and removing the plugin restores the integer display.
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-decimalRestart dsh web. The native integer StatsLine becomes the active slot occupant again.
Development
pnpm typecheck
pnpm test
pnpm buildCompatibility is pinned to DeepSeek Harness 0.1.2-alpha.4 and React 18.
This is an independent community plugin and is not part of the official DeepSeek Harness repository.
