项目说明
From README
dsh-balance English 中文 A DeepSeek Harness plugin that puts the account balance of the provider serving your active model in the sidebar foot — right-aligned next to the Settings button — and keeps it fresh.
The chip is provider-aware : it reads the active session's selected model and shows the matching provider's balance, flipping automatically when you switch models.
On DeepSeek the chip also tracks peak / off-peak billing — the status dot turns red inside DeepSeek's peak window and green off-peak, when requests cost half price.See DeepSeek peak / off-peak hours.Contents - Why dsh-balance?
- Lightweight by design - Highlights - Screenshots - Supported providers - DeepSeek peak / off-peak hours - Install - Configuration - Preview without an account (mock mode) - How it works - Development - Troubleshooting - FAQ - Changelog - License Why dsh-balance?- Provider-aware, not DeepSeek-only
Original description
Provider-aware balance chip for the DeepSeek Harness web sidebar: DeepSeek, OpenRouter, Moonshot/Kimi, Zhipu/GLM, MiniMax. Lightweight, zero runtime deps, no core patches.
安装方式
npm 包安装 · 需要额外配置密钥
pnpm dsh plugin --profile web add @andrecgoncalves/dsh-balancepnpm dsh plugin --profile web add github:andregoncalves/dsh-balancegit clone https://github.com/andregoncalves/dsh-balance.git安全能力
静态扫描源码得到的权限画像 —— 回答的是「它要动什么」,而不是「它好不好」
- 读取文件
- 访问网络
- 读取凭据
- 读取环境变量
- 访问宿主运行时
发现 1 项需要留意的行为
- 既读取凭据/密钥,又有网络访问 —— 存在外传可能
能力与红线来自 awesome-dsh-plugin 的静态扫描结果(CC0 公有领域),本站未逐行复核源码; 它只覆盖能被静态识别的模式,不等于安全审计结论。
为什么是这个分数
近 40 天内有提交;README 给出了可直接复制的安装命令;运行前需要准备 API Key 或环境变量;近月 npm 下载 3235 次,star 不多但真在被使用。
- 维护活跃
- 70
- 实用度
- 94
- 生态热度
- 70
- 上手便捷
- 74
- 信号质量
- 100
- 数据置信度
- 85%
相关插件
kimi-tide
tafcear/kimi-tide
逐步模型路由器:以命名预设与带图/关键词组有序规则为每一步在全部已挂载模型间选路,附图像转述协作流、图像护栏、多 plan 配额面板与逐步决策可观测。
dsh-plugin-balance-badge
reg4916/dsh-plugin-balance-badge
在侧边栏顶部常驻显示账户充值余额,自动刷新,数字与「设置 账户」一致。
dsh-frostfin
pzc2004/dsh-frostfin
把 DSH 的 agent loop 换成 Kimi Code(ACP 直连):审批、斜杠命令、本地与远程(ssh+tmux)会话接入。