ruby1304/dsh-quota-status ↗★ 0
dsh-quota-status
Live account quota/balance widget for DeepSeek Harness web: DeepSeek API balance plus Kimi For Coding plan usage (weekly + 5h windows, remaining and reset countdowns) in one compact card.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ruby1304/dsh-quota-status说明文档
阅读完整 README ↗配置 / Configuration
默认无需任何配置。在 ~/.dsh/profiles/web/cordis.patch.yml 里可以按行覆盖:
- id: quota-status
config:
refreshMs: 30000 # 默认 60000
timeoutMs: 15000 # 上游查询超时
warnBalance: 30 # DeepSeek 余额低于 30 变黄
criticalBalance: 10 # 低于 10 变红
warnUsagePercent: 40 # Kimi 余量低于 40% 变黄
criticalUsagePercent: 15 # 低于 15% 变红
providers:
- id: deepseek
label: DeepSeek
kind: deepseek-balance
credential: DEEPSEEK_API_KEY
endpoint: https://api.deepseek.com/user/balance
- id: kimi-coding
label: Kimi Coding
kind: kimi-usage
credential: KIMI_CODING_API_KEY
endpoint: https://api.kimi.com/coding/v1/usages
providers 列表会整体替换默认列表;kind 目前支持 deepseek-balance 与 kimi-usage。