dsh-balance-plugin
Run the following command in DeepSeek Harness:
dsh plugin install luhaifeng666/dsh-balance-plugin
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install luhaifeng666/dsh-balance-plugin in your terminal to install the plugin; the source is at https://github.com/luhaifeng666/dsh-balance-plugin . Restart dsh after installation to activate it.
About this plugin
When driving DeepSeek conversations or batch jobs through the API, account balance is an easy-to-overlook hidden cost. Charges scatter across individual requests, and you may not notice until the balance hits zero. Switching to a browser to check the official dashboard interrupts your workflow. dsh-balance-plugin embeds the balance right above the input area in DeepSeek Harness, keeping it in plain sight while you work.
The panel queries automatically on first mount, refreshes after every conversation turn when billing has settled for the most accurate figure, polls every five minutes as a safety net while visible, and supports a one-click manual refresh with a spinning indicator. Balance data is fetched via a one-shot command and held locally by the panel, never written into session logs, eliminating the risk of custom event types breaking session restoration on restart.
This plugin is ideal for users who run multi-turn dialogues, batch generation, or long unattended tasks through dsh with an API key, and would rather not leave the terminal to check a website each time. Once installed, it sits quietly like a small gauge on a dashboard, always updated, never intrusive, never missed.
Use Cases
- Check balance during multi-turn conversations without switching windows
- Confirm sufficient balance after completing batch tasks
- Track balance changes during long unattended runs
Best For
- Developers who drive dsh conversations with API keys daily
- Users managing multiple API quotas to avoid unexpected underpayment
- Users who prefer a terminal-first workflow and want to avoid switching to a browser
Related Plugins
Free web search plugin for DeepSeek Harness with web search, X search, and page fetch; no signup or API key required, with automatic multi-engine failover.
AnySearch-powered web and vertical search plugin for DeepSeek Harness, offering real-time search, cleaned URL content, concurrent batch search via native web_search/web_fetch, no API key required.
Pixel-perfect webpage clone tool that uses an agent harness to turn any webpage into a scored, full-page React replica.
A bilingual cost-tracking plugin for DeepSeek Harness with session/daily cost, budget, official & custom provider balance, coding plan quotas, peak/off-peak pricing alerts, and history stats.