dsh-balance-local
Run the following command in DeepSeek Harness:
dsh plugin install chenpengye/dsh-balance-local
Paste the following prompt into your AI chat to install this plugin:
Clone the source from https://github.com/chenpengye/dsh-balance-local, run pnpm install and pnpm build, then register the plugin in the cordis.patch.yml of your ~/.dsh/profiles/ configuration and restart dsh web to see the balance panel in Settings and below the composer.
About this plugin
Developers and teams that call the DeepSeek API frequently often find themselves repeatedly logging into the official website to check their remaining balance. The process is cumbersome, and an easy-to-miss top-up can leave requests failing mid-workflow. dsh-balance-local brings balance visibility directly into your DeepSeek Harness interface so you always know where you stand.
The plugin shows a full balance panel on the Settings page (total, credited, and bonus amounts) with a manual refresh button, and keeps a small status badge below the conversation composer that uses three colors to signal healthy, depleted, or loading states. Data auto-refreshes every 60 seconds with an additional 30-second host-side cache to reduce upstream load. On the security front, the API key is resolved exclusively on the host process from the dsh credential store and never reaches the browser; the endpoint is loopback-only by default and rejects all non-local requests; errors are returned as classified codes without passing through upstream response bodies.
This plugin is designed for anyone who uses DeepSeek Harness daily for development or conversation. No extra configuration is required-it simply reuses the DEEPSEEK_API_KEY you already saved under Settings, making your balance visible at a glance the moment you open the app.
Use Cases
- Check your DeepSeek balance at a glance during daily development without leaving the app
- Confirm account status when sharing dsh profiles across a team
- See remaining quota right below the composer before sending a long prompt
Best For
- Engineers who use DeepSeek Harness for daily development
- Small and mid-size teams managing multiple API keys
- Users who want fewer context switches and a smoother 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.