dsh-balance
Manifest validReal-time DeepSeek account balance in the sidebar footer with a 5-day spending chart.
dsh-balance
在 DeepSeek Harness 网页版侧边栏底部,实时显示 DeepSeek 账户余额,点击可展开最近 5 天消费柱状图。
DeepSeek account balance + 5-day spending chart widget for the DeepSeek Harness (dsh) web UI.
功能 Features
- 实时余额:通过官方
GET /user/balance接口读取账户总余额 / 赠送余额 / 充值余额,约 60 秒自动刷新。 - 5 天消费趋势:按每日余额变动绘制的柱状图,从安装后开始累计。
- 零额外配置:复用
DEEPSEEK_API_KEY凭证(与模型共用同一密钥,经~/.dsh/.credentials.yaml或环境变量解析)。 - 侧边栏收起时只显示硬币图标,展开时显示金额。
安装 Install
dsh plugin --profile web add dsh-balance
重启 dsh web,刷新页面后,侧边栏底部(「设置」旁)即出现 💰 余额。
说明 Notes
- 余额为官方接口实时数据。
- 消费柱状图按「每日余额差」估算,从插件安装当天开始累积,随使用天数增加逐步填满 5 天。
- 若余额显示为「未配置 DEEPSEEK_API_KEY」,请在 设置 → 模型 中配置密钥,或设置
DEEPSEEK_API_KEY环境变量。
开发 Develop
- 宿主端:
lib/index.js(挂载GET /dsh-balance/status路由,仅用 Node 内置模块)。 - 客户端:
client/client.js(注册sidebar.footer.action与shell.overlay两个插槽)。
许可 License
MIT
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.1 | — | — |
| 0.1.2 | — | — |
| 0.1.3 | — | — |
| 0.1.4 | — | — |
| 0.1.5 | — | — |
| 0.1.6 | — | — |
| 0.1.7 | — | — |
| 0.1.8 | — | — |
| 0.1.9 | — | — |
| 0.2.0 | — | — |
| 0.2.2 | — | — |
| 0.2.3 | — | — |
| 0.2.4 | — | — |
| 0.2.5 | — | — |
| 0.2.6 | — | — |
Comments
Loading…
Similar plugins
Real DeepSeek account balance and official spend tracker in the session header, with peak/off-peak badge, monetary alert with auto-stop, and one-click top-up.
★ 0
dsh plugin --profile web add dsh-balance-trackerby novaschai7
DeepSeek account balance, today's token usage and estimated spend in the dsh Web client sidebar. · 在 dsh 侧边栏显示 DeepSeek 余额、今日 token 用量与花费估算。
★ 0
MIT
JavaScript
Sep 30, 2026
dsh plugin --profile web add dsh-plugin-balance-uiDeepSeek account balance in the dsh web sidebar footer with live config hot reload and an editable Settings → Plugins card.
★ 0
↓ 114/wk
dsh plugin --profile web add @choi-p/dsh-deepseek-balanceby dsh-plugin-lab
DSH plugin: shows your DeepSeek account balance at the bottom of the left sidebar (native UI)
★ 4
MIT
TypeScript
Oct 20, 2026
dsh plugin --profile web add dsh-ds-balanceReal-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 sunzphy
DeepSeek account wallet balance and the live peak/off-peak billing period, in a fixed status region at the sidebar foot — plus a one-click official top-up link.
★ 1
MIT
JavaScript
Oct 25, 2026
dsh plugin --profile web add dsh-sidebar-status