dsh-usage-rings
Manifest validReplaces composer dock stats with context, cache-hit, Tok/s, and per-model usage panels, plus Codex, Gemini, and multi-provider quota gauges read from a local Magpie gateway (127.0.0.1:3425).
dsh-usage-rings
Composer dock statistics and Magpie subscription quota gauges for DeepSeek Harness.
Screenshots


Features
- Composer dock controls (left to right):
- Context (
上下文): ring gauge of projected context window usage, with a breakdown popover for system prompt, tools, and messages. - Cache (
缓存): session prompt cache-hit percentage with read/uncached/write breakdown and top-4 per-model hit rates. - Tok/s: output speed, turn/step counts, LLM vs. tool time share, TTFT average, live/next model route (resolving
group/*smart routes to concrete upstream models), and per-model token usage (usageByModelprojection).
- Context (
- Subscription quota gauges (right-aligned in the composer dock):
- Codex & Gemini rings: remaining quota percentages following the active Magpie account (
~/.config/magpie/usage.jsonl), plus per-window details and Codex reset-card management. - Other model quotas: multi-platform popup arranged as per-platform vertical bar chart cards (subscription pools) and balance cards (e.g. DeepSeek balance), with WorkBuddy CLI check-in action.
- Codex & Gemini rings: remaining quota percentages following the active Magpie account (
Requirements & Scope
- DSH >= 0.2.0 (declares
dsh.bundle+dsh.clientforconversation.composer.dock). - Magpie local gateway: quota rings, reset cards, WorkBuddy check-in, and
group/*route attribution read fromhttp://127.0.0.1:3425/v1/magpie/*and~/.config/magpie/usage.jsonl. Without Magpie running, the left-side dock controls (Context, Cache, Tok/s) continue to work from DSH session projections while quota rings display unavailable state (—). - Replaces the host's built-in
activityandusageentries inconversation.composer.dock.
Installation
dsh plugin add https://github.com/sevenqcx/dsh-usage-rings
Restart DeepSeek Harness after installation so the host loads the usageByModel session projection and client bundle snapshot.
Testing
npm test
(real-session.test.js automatically skips when no local ~/.dsh/sessions projection cache is present.)
License
MIT
Comments
Loading…
From the same category
DeepSeek Harness plugin for Reactive Resume: bridges your resumes and job applications into a Harness session over MCP.
★ 41.7k
↓ 58/wk
MIT
Aug 24, 2026
dsh plugin --profile web add dsh-plugin-reactive-resumeby dsh-market
The plugin market inside DeepSeek Harness — browse, search, one-click install · DSH 可视化插件市场
★ 13.3k
↓ 275.8k/wk
MIT
TypeScript
Nov 23, 2026
dsh plugin --profile web add dshmarketby kingcharleslzy-ai
Community-maintained dsh-purge fork with host-policy patches, prompt and rule settings, diagnostics, separate update-check and install controls, and local backup/rollback.
★ 12k
MIT
JavaScript
Nov 18, 2026
dsh plugin --profile web add dsh-purge-communityby Tencent
Let AI agents use your real, logged-in browser without interrupting your work. CLI + extension for browser automation across any shell-capable AI agent.
★ 10.7k
↓ 17.5k/wk
MIT
TypeScript
Nov 23, 2026
dsh plugin --profile terminal add @wxg-prc-cpg/browser-skill-dsh-pluginby superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
★ 8.8k
NOASSERTION
Python
Nov 24, 2026
dsh plugin --profile web add treg-dshby yjh051108
dsh-routing-suite — injector + router-standard kit: install the runtime injector first, then the task-aware reasoning-mode router preset (measured P1-P23).
★ 7k
MIT
JavaScript
Sep 18, 2026
dsh plugin --profile web add @dsh-external/dsh-super-injector