dsh-balance-panel
Run the following command in DeepSeek Harness:
dsh plugin install MST19711/dsh-balance-panel
Paste the following prompt into your AI chat to install this plugin:
Install the Balance Panel plugin in DeepSeek Harness by running dsh plugin install MST19711/dsh-balance-panel; the source code is available at https://github.com/MST19711/dsh-balance-panel
About this plugin
When you work in the DSH Web interface, checking how much quota or cash balance is left usually means switching tabs or opening a separate dashboard. Balance Panel pulls that information into a small persistent widget on the right edge of the screen. It appears the moment your active session connects to a supported backend and vanishes instantly when you switch to an unsupported provider, so you only ever see one relevant panel at a time.
The core of the plugin is a multi-backend, extensible architecture. The bundled OpenCode Go backend speaks subscription-quota language: three rows covering the 5-hour rolling window, the current week, and the current month, each with a progress bar and a reset countdown. The remaining percentage shifts to amber below 30 percent and red below 10 percent for at-a-glance urgency. The Zhipu backend, by contrast, is designed for pay-as-you-go cash pools and simply displays available balance, total topped-up, and total spent, without forcing a percentage metaphor onto a model that has no fixed quota window. Each semantic uses the visual language that fits best, so there is no mental conversion needed. The panel can collapse into a small dot that unfolds on click, and the refresh interval is adjustable from 15 to 120 seconds in settings.
If you routinely drive models through OpenCode Go, Zhipu, or other backends inside DSH and would rather catch a low-balance alert the moment it happens instead of discovering it after a failed request, this lightweight side widget is built for you. It does not alter any request path; it simply adds a pair of extra eyes to your workspace.
Use Cases
- Auto-display the matching balance or quota widget when switching providers in DSH
- Get amber or red progress bar alerts when subscription quota drops below threshold
- View available balance, total topped-up, and total spent for pay-as-you-go models
- Collapse the panel to a dot badge and expand on click without leaving your workspace
Best For
- Developers who drive multiple backend models daily within DSH
- Users who want real-time visibility into quota and cash balance to avoid running out
- Anyone who prefers lightweight in-UI reminders over opening extra browser tabs
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.