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.

Usage & Billing ★ 3
View on GitHub ↗

Install

dsh plugin --profile dsh-tui add dsh-peak-balance

Copied 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

Alternatives

940842546/dsh-usage-billing · AlfredChaos/dsh-usage-panel · dingyi222666/dsh-wakatime

More plugins in Usage & Billing

Browse more in Usage & Billing

Guides for Usage & Billing plugins