wangyong1972/dsh-quota-dashboard0

@wangyong1972/dsh-quota-dashboard

DSH Web 界面可拖拽的额度/资费仪表盘:在单个悬浮卡片中合并展示 OpenRouter 和 DeepSeek 的余额与消耗(支持官方 API 与本地日志)。

AI 分析

核心用途是实时监控 API 资费与余额。适合使用 OpenRouter 或 DeepSeek 官方 API,需要直观掌控今日花费与账户余额的用户。

套件
@wangyong1972/dsh-quota-dashboard
版本
0.1.0
授權
NOASSERTION
最近更新
2026年8月16日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:wangyong1972/dsh-quota-dashboard

配置(可选)

插件的 key 复用 DSH 已有的 credentials:

凭据用途
OPENROUTER_API_KEYOpenRouter 余额/用量(Settings → Models 页面设置)
DEEPSEEK_API_KEYDeepSeek 余额
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:

CredentialPurpose
OPENROUTER_API_KEYOpenRouter balance/usage (Settings → Models page)
DEEPSEEK_API_KEYDeepSeek 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).