AI Agent Hub
Back to plugins
dsh-header-balance preview

dsh-header-balance

Client Updated 2026.09.14

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