dsh-header-balance
Run the following command in DeepSeek Harness:
dsh plugin install lijunyu726/dsh-header-balance
Paste the following prompt into your AI chat to install this plugin:
Install it in DeepSeek Harness by running dsh plugin install lijunyu726/dsh-header-balance. Source code is available at https://github.com/lijunyu726/dsh-header-balance.
About this plugin
When you run DeepSeek through DSH, checking your balance always forces you out of the interface: open another tab, log in to platform.deepseek.com, refresh, read the number, then switch back. dsh-header-balance tucks that step right into the session page header.
The chip takes up roughly the same width as the familiar session-log button and shows the total account balance. Clicking the whole chip opens the top-up page (handed to the system browser under Electron); hovering reveals a split of gifted versus purchased credits, with the gift row omitted automatically when it is zero. Refreshing happens on mount, every 60 seconds, and whenever the window regains focus, and a dedicated refresh icon inside the chip is isolated from the click-to-charge action. Credentials reuse the same reference as the official llm-deepseek adapter, so if the model works, the balance query works out of the box. The API key and every network call stay entirely on the host side; no secret ever reaches browser code.
Best for people who already chat with DeepSeek day-to-day inside DSH and would rather not break their flow to check a number on a separate site. The plugin deliberately leaves out usage analytics, balance history, and alert thresholds, focusing on one job: showing what you have and how to top up, cleanly.
Screenshots
Use Cases
- Glance at the remaining DeepSeek credit mid-conversation without leaving DSH
- Click the chip once and land on the top-up page when credits run low
- Hover the chip to see exactly how much is gifted versus purchased
Best For
- Daily users who treat DSH as their primary DeepSeek chat window
- Engineers building and debugging on DeepSeek inside DSH
- Anyone who prefers in-app balance visibility over opening another browser tab
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.