wangyong1972/dsh-quota-dashboard ↗★ 0
@wangyong1972/dsh-quota-dashboard
Draggable quota/cost dashboard for the dsh web GUI: combines OpenRouter and DeepSeek balances and spend (official APIs + local ledger) in one movable card.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wangyong1972/dsh-quota-dashboard说明文档
阅读完整 README ↗配置(可选)
插件的 key 复用 DSH 已有的 credentials:
| 凭据 | 用途 |
|---|---|
OPENROUTER_API_KEY | OpenRouter 余额/用量(Settings → Models 页面设置) |
DEEPSEEK_API_KEY | DeepSeek 余额 |
DEEPSEEK_PLATFORM_TOKEN(可选) | 解锁 DeepSeek 官方「今日」用量(与控制台一致)。获取:登录 https://platform.deepseek.com → DevTools → Console → JSON.parse(localStorage.getItem('userToken')).value → 加入 ~/.dsh/.credentials.yaml |
未配置 DEEPSEEK_PLATFORM_TOKEN 时,「今日」自动回放本地会话日志(准确,包含安装前历史)。
Configuration (optional)
Keys reuse the harness credentials:
| Credential | Purpose |
|---|---|
OPENROUTER_API_KEY | OpenRouter balance/usage (Settings → Models page) |
DEEPSEEK_API_KEY | DeepSeek balance |
DEEPSEEK_PLATFORM_TOKEN (optional) | Unlocks the official DeepSeek "today" usage (same data as the platform console). Get it: log in to https://platform.deepseek.com → DevTools → Console → JSON.parse(localStorage.getItem('userToken')).value → add to ~/.dsh/.credentials.yaml |
Without DEEPSEEK_PLATFORM_TOKEN, "today" falls back to replaying local session logs (accurate, includes pre-install history).