dsh-cache-hit-decimal
Run the following command in DeepSeek Harness:
dsh plugin install Yuuu0109/dsh-cache-hit-decimal
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install Yuuu0109/dsh-cache-hit-decimal in your terminal to install the plugin; the source repository is available at https://github.com/Yuuu0109/dsh-cache-hit-decimal.
About this plugin
The stats bar in DeepSeek Harness Web reports the cache-hit rate as a whole number. That 43% could mean 42.1% or 43.9%, and when you are comparing token-reuse efficiency across sessions or presenting precise caching metrics, the lost decimal hurts. dsh-cache-hit-decimal closes that gap by rendering the value with two decimal places, turning 43% into 42.86%, so every hit is unambiguous.
Under the hood the plugin shadows the existing stats cell inside conversation.composer.dock via a priority -1 slot registration without patching any code in the official conversation package. It reads host-computed sessionStats and tokenUsage projections through the standard useProjection / useChat session hooks, keeping the legacy node-fold path as a fallback. The entire stats line is rendered on a single centered row with no wrapping or ellipsis. Remove the plugin and the native integer display is back instantly, with zero residue.
Ideal for engineers and researchers who run heavy inference workloads on DeepSeek Harness and need precise, session-by-session cache-hit tracking, as well as self-hosted users who want a lightweight, non-invasive tweak to the dashboard without touching the official repository.
Screenshots
Use Cases
- Comparing token-reuse efficiency across sessions requires two-decimal precision
- Presenting inference cost and cache metrics to a team needs more than a whole number
- Fine-tuning the Web dashboard stats display without touching the official repo
Best For
- Engineers running high-volume inference workloads on DeepSeek Harness
- Researchers quantifying token cache-hit rates for analysis
- Self-hosted users who prefer lightweight, reversible UI tweaks over forking the official repo
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.