ashuai/dsh-status-balance ↗★ 0
dsh-status-balance
Minimal DeepSeek balance + session spend pill for the DeepSeek Harness Web UI, with a click-to-open today ledger.
Other repositories with this package name
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ashuai/dsh-status-balanceREADME
Read the full README ↗配置
所有键可选,写在 profile patch 该行的 config 下。
| 键 | 默认 | 说明 |
|---|---|---|
balanceUrl | https://api.deepseek.com/user/balance | 余额接口 |
apiKeyRef | DEEPSEEK_API_KEY | 凭据引用 |
routePath | /plugin/dsh-status-balance | 同源 GET 路由 |
cacheTtlMs | 30000 | 成功缓存时长 |
failureBackoffMs | 15000 | 失败后的免请求窗口 |
staleMaxMs | 300000 | 旧值最长保留时间 |
timeoutMs | 8000 | 上游超时 |
minRefreshMs | 10000 | 强制刷新下限 |
prices | 见上 | timezone、peakWindows、weekendOffPeak、models、default;兼容扁平行 |