wangyong1972/dsh-quota-dashboard0

@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.

AI 分析

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

パッケージ
@wangyong1972/dsh-quota-dashboard
バージョン
0.1.0
ライセンス
NOASSERTION
最終更新
2026/08/16

インストール

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

ドキュメント

README 全文を読む ↗

配置(可选)

插件的 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).