Lithane/dsh-account-balance ↗★ 0
@lithane/dsh-account-balance
DeepSeek Harness 侧栏底部的账户余额与花费卡片:常驻显示账户余额与今日花费,点击展开五层级成本明细(最近提问 / 今日·本会话 / 本工作区 / 所有工作区),含峰谷时段状态与一键充值入口。 适合需要实时监控DeepSeek API使用成本、查看多层级费用明细并快速充值的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Lithane/dsh-account-balance配置
写在 profile 的 cordis.patch.yml(桌面端是 ~/.dsh/profiles/desktop/):
- id: account-balance
name: '@lithane/dsh-account-balance'
config:
balanceBaseURL: https://api.deepseek.com # 回退路径的余额接口
balanceApiKeyEnv: DEEPSEEK_API_KEY # 凭据服务里的 ref
requestTimeoutMs: 5000
modelId: deepseek-v4-flash # 计价模型
lowThreshold: 5 # 余额低于此值变黄
criticalThreshold: 1 # 余额低于此值变红
更多配置项与定价说明见 docs/upstream/README.md。