AI Agent Hub
Back to plugins
dsh-balance preview

dsh-balance

Client Updated 2026.09.15

Run the following command in DeepSeek Harness:

dsh plugin install ywleeo/dsh-balance

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

Run dsh plugin install ywleeo/dsh-balance in DeepSeek Harness to install it; the source code is hosted at https://github.com/ywleeo/dsh-balance .

About this plugin

Checking your DeepSeek account balance in the middle of a dsh Web conversation used to mean leaving the page, opening the admin panel, and losing your place. dsh-balance collapses that into a single line: it sits in the composer dock just ahead of the token-stats row, showing your balance, a refresh icon, and usage figures on the same compact strip, so you can glance at your remaining credit without breaking the flow of a chat.

Under the hood, the plugin polls the balance on mount, every five minutes, and on demand via the refresh icon. It also evaluates DeepSeek’s official peak-hour schedule (Beijing time, weekdays 09:00–12:00 and 14:00–18:00) in real time, tinting the balance in an orange warning color during peaks and reverting to the normal color during off-peak half-rate hours. Hovering the figure reveals which period you are in. Clicking the number opens the official usage dashboard in a new tab. The client only fetches a same-origin JSON route, so your API key never leaves the host; no session logs are written and no projections are registered, meaning zero side effects on your existing conversations.

Architecturally, dsh-balance uses a two-layer “boot shell + child plugin” design. The shell guarantees the loader’s activation audit always passes, while the real logic runs in a child fiber. If a dsh core upgrade breaks the child plugin’s internal imports, dsh still starts normally—only the little balance line disappears and everything else keeps working. For anyone who works in the dsh Web interface with DeepSeek and wants a constant, glanceable pulse on account balance and billing status without constantly context-switching, this is a zero-build, pure-ESM, plug-and-play addition.

Screenshots

Use Cases

  • Check DeepSeek account balance at a glance during dsh Web conversations
  • Perceive peak vs off-peak billing status in real time via color coding
  • Click the balance figure to jump straight to the official usage dashboard

Best For

  • Developers who work with DeepSeek daily in the dsh Web interface
  • Billing-conscious users who want a constant eye on balance and peak hours
  • Users who favor zero-build, pure-ESM, plug-and-play lightweight plugins