CN-Leo/dsh-deepseek-balance ↗★ 0
dsh-deepseek-balance
Real-time DeepSeek account balance display in the DSH web UI, via the official /user/balance API. API key is resolved from the DEEPSEEK_API_KEY credential.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CN-Leo/dsh-deepseek-balance说明文档
阅读完整 README ↗配置(必需)
插件通过 credentials 服务解析 DEEPSEEK_API_KEY,按以下顺序查找(任选其一):
-
环境变量
DEEPSEEK_API_KEY -
$DSH_HOME/.credentials.yaml:DEEPSEEK_API_KEY: sk-xxxxxxxxxxxxxxxx
配置后无需重启插件:每次请求都会重新解析凭据。
使用
- 余额条显示在会话输入框下方,绿点 = 正常,黄点 = 加载中,红点 = 获取失败
- 悬停(hover)余额条可查看各币种明细:总额 / 赠送 / 充值 / 账户可用状态
- 每 15 秒自动刷新一次