dsh-billing-badge
Run the following command in DeepSeek Harness:
dsh plugin install devacc8/dsh-billing-badge
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install devacc8/dsh-billing-badge in DeepSeek Harness, or install directly from https://github.com/devacc8/dsh-billing-badge, then restart dsh web to activate.
About this plugin
When using the DeepSeek Harness web GUI, billing season and account balance are two pieces of information you always want to check before a call but have nowhere to surface. dsh-billing-badge compresses both into a single pill on the composer statistics row and an expandable panel, so you get the full picture without leaving the editor.
The pill shows an amber or green dot for peak versus off-peak, the current season, and a countdown to the next switch. Clicking it opens a panel that lists the billing rule, the Beijing-time moment of the next switch, the current Beijing time, the total account balance with its currency, and, when the account carries a granted credit, a separate split into granted and topped-up rows. The countdown compares each candidate boundary against the instant just before it and only counts a genuine state flip, so it never points at a transition that does not exist. Balance figures come straight from the official endpoint and the currency is taken from the response, never assumed. The plugin deliberately does no cost or token accounting; its scope is strictly the season and the balance.
Built for developers who work in the DSH web interface and want the billing window and remaining balance always within reach. Compatible with DSH 0.1.5 and 0.1.6. The API key is resolved through the host credentials seam and never reaches the browser; the single route requires a dedicated header and rejects cross-origin requests; nothing is written to disk and the only remote endpoint contacted is api.deepseek.com.
Use Cases
- Check peak or off-peak season before making an API call
- Monitor account balance with the granted and topped-up split at a glance
- Get a countdown reminder as the billing season is about to switch
Best For
- Developers on the DSH web GUI who need the billing window always within reach
- API users who care about accurate balance and currency display
- Users who prefer lightweight plugins with clearly scoped responsibilities
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.