jasonsun29/ds-balance-card
DeepSeek Harness resident limit card plug-in: automatically identifies the configured platform API Key, displays the balance and Coding Plan limit
A persistent quota card for DeepSeek Harness: shows account balances and Coding Plan quotas for every configured model platform in the bottom-right corner of the web UI, always visible across sessions (mounted in the frame-wide shell.overlay slot). Multi-platform auto-detection scans the credential store and queries every platform whose API key is configured. Balance and Coding Plan quota show as separate rows; balance below a configurable threshold (default 10) turns the row yellow, zero/unavailable turns it red. Rows show a status dot (green/yellow/red/gray), the platform name, and balance or plan remaining; plan rows show per-window remaining percentages and the plan tier.
Install
git clone https://github.com/jasonsun29/ds-balance-card.git "$DSH_HOME/profiles/web/plugins/ds-balance-card" && mkdir -p "$DSH_HOME/profiles/web/node_modules" && ln -sfn ../plugins/ds-balance-card "$DSH_HOME/profiles/web/node_modules/ds-balance-card"Clone into the profile's plugins dir, symlink into node_modules, then append - insert: - id: ds-balance-card to $DSH_HOME/profiles/web/cordis.patch.yml and restart dsh web. npm works too: npm install ds-balance-card inside the profile directory with the same patch row. Designed for the web profile (needs a browser UI); not needed for headless profiles.
Compatibility
DeepSeek Harness web profile. Requires at least one platform API key in the DSH credential store (Models page or $DSH_HOME/.credentials.yaml).
Details
- Repo: jasonsun29/ds-balance-card
- Category: Agent Capabilities
- Stars: 3
- Version: GitHub source (no version tag; npm ds-balance-card also documented)
- Last push: 2026-08-14
- First seen: 2026-08-13
Recent updates
persistent bottom-right quota card; multi-platform auto-detect from credential store; balance + Coding Plan rows; configurable warning threshold; top-up/grant split display.
FAQ
- Which platforms are detected?
- Every platform whose API key is present in the DSH credential store — the plugin scans it and queries each one automatically.
- Does it need the browser UI?
- Yes — it is designed for the web profile; headless profiles don't need it.
- How do I activate it after install?
- Clone, symlink into node_modules, append the cordis.patch.yml insert row, then restart dsh web — a restart after first-time install is the most reliable activation.
Alternatives
GPIOX/dsh-api-balance · YYTbit/dsh-plugin-cost-tracker · huanyuLv/dsh-balance-tide