balance-dock
DeepSeek account balance readout docked under the composer for DeepSeek Harness (dsh) — a persistent web plugin.
AI 분석
核心用途是在 Web 界面实时查看 DeepSeek 账户余额。适合需要监控 API 额度消耗的用户;必要条件是需配置 DEEPSEEK_API_KEY。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Cao-zhi-hao/balance-dock⚙️ 配置 / Configuration
| 项 | 说明 |
|---|---|
DEEPSEEK_API_KEY | DeepSeek API 密钥,经 ctx.credentials 解析(默认 ref 名)。存放在 $DSH_HOME/.credentials.yaml 或由设置页写入 |
| 刷新间隔 | 默认 60 秒,修改 lib/client.js 中 interval(load, 60000) 的毫秒数 |