dsh-opencode-go-usage
Run the following command in DeepSeek Harness:
dsh plugin install MST19711/dsh-opencode-go-usage
Paste the following prompt into your AI chat to install this plugin:
Install this plugin in DeepSeek Harness by running dsh plugin install MST19711/dsh-opencode-go-usage; the source repository is available at https://github.com/MST19711/dsh-opencode-go-usage.
About this plugin
Managing multiple AI backends inside DSH means quota windows, cash balances, and reset timers are scattered across different vendor consoles. Switching providers makes it easy to lose track of how much credit you still have. Balance Panel keeps that information in a small, persistent widget on the right edge of the DSH web UI: it appears automatically when the current session hits a connected backend and hides itself the moment you switch to an unconnected provider. Only one panel is ever visible at a time, so it never crowds your workspace.
Content adapts to each backend's semantics. For OpenCode Go it shows rolling 5-hour, weekly, and monthly remaining percentages with reset countdowns and progress bars, shifting to orange below 30% and red below 10% so urgency is obvious at a glance. For Zhipu, which uses pay-as-you-go with no quota window, the panel switches to a pure amount view: available balance in bold, cumulative top-ups, cumulative spend, with gifted and frozen amounts surfaced only when non-zero. Refresh interval is configurable from 15 to 120 seconds, and the widget collapses to a small dot badge you can expand on click.
Built for developers who run two or more AI backends through DSH and want a constant, low-friction view of quotas and balances without juggling browser tabs or console pages. The panel follows your provider, shows exactly what matters, and stays out of the way when you do not need it.
Use Cases
- Check remaining quota or cash balance at a glance while switching between AI backends in DSH
- Panel auto-follows the active provider, eliminating the need to open vendor consoles
- Color-coded alerts warn you before balances run low
Best For
- Developers routing two or more AI backends through DSH
- Teams using OpenCode Go or Zhipu pay-as-you-go credits
- Users who want a persistent in-UI balance widget
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.