dsh-balance-tracker
Real DeepSeek account balance and official spend tracker in the session header, with peak/off-peak badge, monetary alert with auto-stop, and one-click top-up.
会话头部的真实 DeepSeek 余额与官方消费统计:高峰/空闲标签、按金额提醒与自动停止、一键充值。
How to install
dsh plugin add dsh-balance-tracker About
**dsh-balance-tracker** 是一个 DeepSeek Harness(dsh)插件:在会话头部**实时显示 DeepSeek 账户余额与今日花费**,按金额设置提醒阈值,一键跳转充值。由 ai-suifeng/dsh-budget-meter fork 而来(MIT,见下方声明)。 特性 **真实余额**:host 端读取 ~/.dsh/.credentials.yaml 的 DEEPSEEK_API_KEY,调用 DeepSeek 官方余额接口;胶囊显示总余额,展开卡片查看赠送 / 充值分项 **官方消费统计**:配置 DEEPSEEK_PLATFORM_TOKEN 后,从平台用量接口拉取**今日消费与累计消费**(与官网用量页同源);未配置时以余额差值估算(前缀 ≈) **用量追踪**:按 DeepSeek 官方峰谷定价把会话 token 消耗折算成人民币,展示今日 tokens 分项与按模型花费 **高峰 / 空闲标签**:胶囊与卡片显示当前时段(默认北京 09:00–12:00、14:00–18:00 为高峰),带状态圆点;卡片设置区同步展示当前高峰时段(其余时间即为空闲) **按金额提醒**:今日花费达到阈值(元)弹 toast;可开启「达到阈值自动停止当前回合」 **充值快捷跳转**:卡片「去充值」在系统浏览器打开 DeepSeek 充值页 **设计…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 1
- mo. downloads
- –
- Last push
- 2026-08-26
- Created
- 2026-08-24
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
Related plugins
dsh-context
bowenliang123/dsh-context
DSH context insight panel: Context dashboard + /context command + Context browser — one-stop context lifecycle management with categorized composition, content details, evolution trends, compaction/injection events, and stats.
dsh-cost-meter
Han-1413141/dsh-cost-meter
Per-session and daily API cost, budget with usage %, official balance, history dashboard, and one-click official price sync with peak/off-peak pricing.
dsh-usage-stats
Ychris12138/dsh-usage-stats
Multi-provider usage dashboard with provider/model token breakdowns, calendar drill-downs, account balances, and OpenCode Go / Z.ai subscription quota tracking.
TokenLedger
zh667/TokenLedger
Sidebar usage panel that attributes tokens to the relay site that served each request, read from your existing provider config: today/month/all-time totals, per-site and per-model breakdowns, a year activity heatmap, and New API / Sub2API / DeepSeek balances.