dsh-plugin-balance-chip
Manifest validShows the DeepSeek account balance and unused bonus credit in the session header, refreshing every 20 seconds and whenever the window regains focus.
dsh-plugin-balance-chip
A live DeepSeek account balance chip for the DeepSeek Harness web GUI. It sits in the session header next to the other header actions and shows the remaining credit, the unused bonus credit, and when the number was last read.
在 DeepSeek Harness 的会话标题栏实时显示账户余额:主数字是账户余额,+ 后面是尚未用完的赠送额度,
悬停可看更新时间,点击立即刷新。
What it does
- Reads
ctx.remote.account.getBalance()— the same Host-side platform query the Settings → Account panel uses. The browser never holds the account token. - Refreshes every 20 seconds while the page is visible, and immediately when the window regains focus or the tab becomes visible again.
- Hides itself when signed out; shows a red dot and “balance unavailable” on failure, and a click retries.
- Follows the interface language (zh / en) and the theme's CSS variables.
Install
From GitHub:
dsh plugin add github:boy1141/dsh-plugin-balance-chip
Or grab dsh-plugin-balance-chip.tgz from the
latest release
and install that tarball. Once the entry is listed in the plugin market, Settings →
Plugins will find it there as well.
Files
| File | Role |
|---|---|
lib/index.js | Host half — an empty mount that gives the Loader an enabled entry |
lib/client.js | Browser half — slot registration, polling store, chip component |
cordis.patch.yml | The Loader row this bundle inserts (id: balance-chip) |
Development
tools/smoke-client.mjs (in the contributing workspace) simulates the DSH module loader,
React, and the account Remote to check the bundle id, exports, slot registration,
polling state machine, and the rendered amount text.
Comments
Loading…
Similar plugins
Real-time DeepSeek account balance in the composer dock, auto-refreshing every 15 seconds with hover details.
★ 0
dsh plugin --profile web add dsh-deepseek-balanceby etony668
DeepSeek API 余额常驻显示(侧边栏「设置」旁)· DeepSeek API balance badge beside Settings in the DSH sidebar
★ 0
MIT
JavaScript
Oct 17, 2026
dsh plugin --profile web add @etony668/dsh-balanceby lxy7747-hash
A DeepSeek Harness plugin that pins the signed-in DeepSeek account balance (recharge + bonus) to the Web sidebar foot.
★ 0
MIT
JavaScript
Oct 20, 2026
dsh plugin --profile web add dsh-balance-badgeDeepSeek account balance in the dsh web sidebar footer with live config hot reload and an editable Settings → Plugins card.
★ 1
↓ 114/wk
MIT
JavaScript
dsh plugin --profile web add @choi-p/dsh-deepseek-balanceby zlZayn
DSH 插件:在左侧栏底部显示 DeepSeek 账户余额(原生 UI),设置页提供连接、展示币种、预警阈值与刷新节奏的配置卡片。(原生嵌入“设置-插件-插件配置”)
★ 2
↓ 362/wk
MIT
TypeScript
Sep 19, 2026
dsh plugin --profile web add dsh-ds-balanceby hnmrxz
在 DeepSeek Harness (dsh) 底部状态栏实时显示 DeepSeek 账户余额。
★ 4
MIT
JavaScript
Aug 15, 2026
dsh plugin --profile web add dsh-plugin-deepseek-balance