AI Agent Hub
Back to plugins
🖥️

balance-dock

Client Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install Cao-zhi-hao/balance-dock

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install Cao-zhi-hao/balance-dock in your DeepSeek Harness terminal to install; source code at https://github.com/Cao-zhi-hao/balance-dock

About this plugin

Developers who call the DeepSeek API heavily often need to check their remaining balance while juggling multiple dsh conversations, yet they do not want to re-activate a temporary plugin after every page refresh. balance-dock eliminates that friction entirely: it pins a live balance readout to the status band under the conversation composer, and it survives page reloads, tab re-opens, and even full dsh process restarts with zero manual steps.

The design prioritizes security and polish. The API key never leaves the Host; it is resolved through ctx.credentials, and the browser only fetches the same-origin /ds-balance endpoint. On the interaction side, the balance auto-refreshes every 60 seconds with a manual refresh button, adapts to light and dark modes via dsh theme tokens, and renders CNY, USD, and EUR symbols with an ISO-code fallback for other currencies. Architecturally, the dsh.client declaration injects the script into the boot graph on every load, sidestepping the refresh-and-lose behavior of dynamic plugins.

If you already manage day-to-day DeepSeek work in dsh and want a glanceable balance that never disappears, this plugin is a drop-in fit. Make sure DEEPSEEK_API_KEY is in place, install, restart dsh once, and the status line shows up for good.

Use Cases

  • Glance at remaining DeepSeek balance while juggling concurrent sessions
  • Monitor account credits during long-running tasks to avoid interruptions
  • Quickly verify shared quota status in a team dsh instance

Best For

  • Heavy dsh users who call the DeepSeek API frequently
  • Team leads managing multi-account or multi-project quotas
  • Efficiency-focused developers who want a zero-click balance view