@szhl/dsh-balance
v1.0.1
Published
DeepSeek Harness plugin: the DeepSeek API account balance, shown beside Settings at the sidebar foot.
Maintainers
Readme
@szhl/dsh-balance
账户余额 / Account balance —— 在 DSH 侧栏底部、Settings 旁边显示 DeepSeek API 账户余额。
安装
dsh plugin --profile desktop add @szhl/dsh-balance--profile 换成你自己的 profile 名(桌面版是 desktop);dsh plugin 会把后面的参数转交给 profile 里的 pnpm。装完重启 DSH 生效。
它做什么
- 在侧栏底部插一行余额(与 Settings 同一区域),点击可刷新。
- 宿主半边通过已登录的凭据查询账户接口,令牌不出宿主;浏览器只拿到展示用的数字。
- 未登录/凭据不可用时显示为不可用状态,不报错、不阻塞界面。
许可
MIT © 2026 suzhilin
