
Dsh Balance Meter
by Ghost011118 · Ghost011118/dsh-balance-meter
DeepSeek account balance and session cost readout for the DeepSeek Harness Web GUI
Install Dsh Balance Meter
Clean install: prebuilt on npm and declares a `dsh.bundle` layer. Heads up: it runs install-time scripts (prepare) on your machine.
The one-line version
dsh plugin --profile my-profile add dsh-balance-meterThe easy path: this bundle is published to npm, so the install pulls a prebuilt artifact — no build step runs on your machine and no build approval is needed.
From npm — installs a prebuilt artifact, no build step on your machine
# 1. add the bundle to a profile — --profile my-profile points at $DSH_HOME/profiles/my-profile
dsh plugin --profile my-profile add dsh-balance-meter
# 2. verify: the bundle should show up as a layer in the resolved config
dsh --profile my-profile --dump-config
# 3. boot the profile
dsh --profile my-profilePackage: dsh-balance-meter
Prefer to install from source instead?
From GitHub — pulls source, and may ask for build approval on first run
# 1. add the bundle to a profile — --profile my-profile points at $DSH_HOME/profiles/my-profile
dsh plugin --profile my-profile add github:Ghost011118/dsh-balance-meter#<commit-sha>
# 2. verify: the bundle should show up as a layer in the resolved config
dsh --profile my-profile --dump-config
# 3. boot the profile
dsh --profile my-profileBefore you run itinstall scripts
- This package declares
prepare— package-manager lifecycle scripts that execute on your machine at install time, outside the agent sandbox, before any tool-approval prompt exists. - A plugin runs with your permissions once loaded: it can read your files, use your credentials and reach the network. Tool approvals do not sandbox it.
Prerequisites
- API key
- Required — see the repository README for which provider.
- Network access
- Required at runtime.
- Language
- JavaScript
Install check
Every field the verdict was derived from, so you can re-derive it yourself
| Field checked | Result | Weight | What the spec says about it |
|---|---|---|---|
| lifecycleScripts | fail | warn | runs at install time, outside the agent sandbox: prepare |
| dsh.bundle | pass | fatal | package.json declares a `dsh.bundle` layer |
| dsh.bundle.patch file | pass | fatal | patch file present at `cordis.patch.yml` |
| npm registry | pass | fatal | published as `dsh-balance-meter` — prebuilt artifacts |
- Verdict reason
- on npm with a valid bundle declaration
- package.json read
- package.json
- Rules applied from
- docs/user/develop/basic/publish.md
- Checked at
- 2026-08-15
- Install-time scripts
prepare
From the README
Excerpt as published by the author, plain text, unedited
English | [中文](README.zh.md) DeepSeek account balance and session-cost readout for the DeepSeek Harness (DSH) Web GUI. - Live account balance (queries the official Get User Balance endpoint) - Current session estimated spend (token usage x official pricing) - Per-model pricing: reads the model actually driving each session from its request header (flash vs pro), so the cost tracks the model you used instead of a fixed default - Auto-fetches the official pricing page every 6h, so price changes and the 2026-08-17 peak/off-peak pricing rollout never require a plugin update - Peak-hour band (Beijing 09:00-12:00 / 14:00-18:00) applied automatically once the peak pricing goes live The composer dock shows a chip with the account total balance and the current session's estimated cost:
Topics
GitHub topics on this repository
More in Account Balance Session Cost
Ranked by similarity inside the cluster, not alphabetically
Dsh Balance Eta
fzlong
DeepSeek Harness 极简余额插件:余额 + 今日消耗 + 可用时长预测 + 低余额告警(仅 CNY,价格无关免维护)
Dsh Api Balance
9Epuuuu
DeepSeek account balance readout for DSH Web (dsh-plugin)
Dsh Plugin Balance
pythonshiyi
余额显示插件(DeepSeek Harness 网页端):会话头部实时账户余额 | Live account balance for DeepSeek Harness web UI
Dsh Token Stats
Ouye-UE
Sidebar token-stats panel for DeepSeek Harness: live session tokens, cache-hit rate, mixed model x period cost estimate, real account balance, and context-occupancy bar.
Dsh Balance
deepforce
DSH plugin: /balance command, composer-dock balance readout with top-up link, session-cost estimate
Dsh Balance Stats
pangzi499
Balance, session cost, token usage, and invoice summaries for DeepSeek Harness Web.