balance-dock
DeepSeek 账户余额显示插件:在 DeepSeek Harness (dsh) 输入框下方停靠显示余额,属于持久化网页插件。
AI 分析
核心用途是在 Web 界面实时查看 DeepSeek 账户余额。适合需要监控 API 额度消耗的用户;必要条件是需配置 DEEPSEEK_API_KEY。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Cao-zhi-hao/balance-dock说明文档
阅读完整 README ↗⚙️ 配置 / Configuration
| 项 | 说明 |
|---|---|
DEEPSEEK_API_KEY | DeepSeek API 密钥,经 ctx.credentials 解析(默认 ref 名)。存放在 $DSH_HOME/.credentials.yaml 或由设置页写入 |
| 刷新间隔 | 默认 60 秒,修改 lib/client.js 中 interval(load, 60000) 的毫秒数 |