dsh-commandcode-usage-inline
Run the following command in DeepSeek Harness:
dsh plugin install 345420242/dsh-commandcode-usage-inline
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install 345420242/dsh-commandcode-usage-inline in the DeepSeek Harness terminal to install this plugin; source code: https://github.com/345420242/dsh-commandcode-usage-inline
About this plugin
Command Code, once active as the DSH conversation provider, leaves its usage figures buried in raw API responses with no at-a-glance readout in the UI. The existing dsh-musage plugin covers MiniMax, DeepSeek, Kimi, OpenRouter, and Zhipu, yet leaves a silent gap whenever commandcode is in play. This plugin fills exactly that gap, surfacing real usage numbers directly inside the conversation viewport without forcing you to abandon the input bar or rummage through a sidebar.
It compresses the data into a compact inline pill right beside the model selector: 5-hour window percentage, weekly window percentage, and remaining credits. Any window that exceeds its limit turns red instantly. Clicking the pill opens an upward details panel showing the current account and plan name, reset countdowns for both windows, the credit breakdown across subscription, purchased, and free tiers, per-account window usage for any additional accounts, plus refresh and close buttons. A background poll refreshes every 60 seconds; on network failure the pill turns amber with an error hint, and a single click retries the request. The entire experience stays out of the way of the ongoing conversation.
As a pure client-side plugin, it never calls the Command Code API directly and never touches the API key of the user; all data is piped through the already-mounted commandcode/report Remote service. It coexists cleanly with dsh-musage, appearing whenever commandcode is active and retreating the moment you switch to any other provider with zero conflict. Ideal for DSH users who juggle multiple providers and want Command Code usage quietly floating at the edge of their vision at all times.
Use Cases
- Glance at Command Code window usage mid-conversation and switch models before a limit is hit
- Quickly cross-check per-account window occupancy and credit breakdown during multi-account rotation
- Coexist with dsh-musage: auto-appears when commandcode activates and retreats on provider switch
Best For
- Users who run Command Code as a primary DSH model and need real-time usage awareness
- Developers juggling multiple providers who want a unified usage overview in one place
- Power users who prefer lightweight inline indicators over sidebar interruptions during deep conversations
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.