ds-balance
Run the following command in DeepSeek Harness:
dsh plugin install JovanHE/ds-balance
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install JovanHE/ds-balance in your terminal (source: https://github.com/JovanHE/ds-balance), then restart the dsh web process to see the balance pill appear in every session header.
About this plugin
Working in the DeepSeek Harness web GUI, you often discover a depleted balance at the worst possible moment—the request simply fails and you realize the account is out of funds. ds-balance embeds a balance indicator directly in every session header, so you can confirm account status at a glance without switching windows or manually hitting the API endpoint.
It renders a compact pill on the right side of the session header showing currency and total (e.g. DS CNY 3.65), auto-refreshes every 60 seconds, and updates immediately on click. Hovering expands a breakdown of total, granted, and topped-up amounts with multi-currency awareness. The API key is read only from the DSH credential store or environment, carried exclusively in a subprocess environment so it never appears on the command line, in source, or in the browser. The entire call is a single read-only HTTPS GET—idempotent and side-effect free. If the key is missing or the request fails, the pill turns red and describes the reason in its tooltip.
ds-balance is for any developer calling the DeepSeek API through the dsh web interface, especially those making high-frequency calls, managing multiple projects in parallel, and wanting real-time balance awareness with zero configuration. Once credentials are set and dsh is restarted, the indicator appears in every session header with no further setup required.
Screenshots
Use Cases
- Monitor DeepSeek account balance in real time while working in the dsh web GUI
- Check remaining credits across multiple projects without leaving the browser
- Get a visual warning before a balance shortfall silently breaks requests
Best For
- Developers calling the DeepSeek API through the dsh web interface
- Teams making high-frequency DeepSeek calls and tracking usage closely
- Developers who want zero-config account status visibility in their workflow
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.