VviLliAm-qwq/dsh-peak-balance
dsh-peak-balance is a billing clock for dsh-TUI: it shows the peak/off-peak window and countdown, your live DeepSeek account balance and the current turn's cost on one line, and /hist takes over the terminal with a GitHub-style contribution grid of token history across sessions, reports and active days.
dsh-peak-balance is a peak/off-peak billing clock for dsh-TUI that puts the phase, the countdown to the next window, the current turn's cost and your live DeepSeek account balance on one line - ordered phase, countdown, turn, balance so a narrow terminal truncates the tail and the per-turn figure you are watching stays visible. While the peak window is active the line can expand into a three-row frame that pulses in one of seven colors. /hist (also /tokenhistory, alt+h or /th) takes over the whole terminal with a GitHub-style contribution grid of token history - total tokens, sessions, usage reports and active days - with a per-day panel showing input (miss), cache read and output tokens, cost, cache hit rate, subagent share and the model split.
Install
dsh plugin --profile dsh-tui add dsh-peak-balanceCopied verbatim from the README's install line; the README also documents a file:/absolute/path development form and a pnpm run install:dsh-tui helper.
Compatibility
A dsh-TUI plugin whose readouts come from DSH billing events. An OpenRouter-style credits lookup needs a management key rather than an ordinary key, and a model the price card does not list can be added with /hist price set. The current turn's cost renders live as 本轮·计费中 while the model answers and freezes to a fixed figure once the turn closes.
Details
- Repo: VviLliAm-qwq/dsh-peak-balance
- Category: Usage & Billing
- Stars: 3
- Version: GitHub repo VviLliAm-qwq/dsh-peak-balance (3*); npm package dsh-peak-balance at 0.6.1 (registry check 2026-10-15; the registry repository field resolves back to this repo). English README with a Chinese translation. It targets the dsh-TUI profile.
Alternatives
940842546/dsh-usage-billing · AlfredChaos/dsh-usage-panel · dingyi222666/dsh-wakatime