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.

包名
@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).