Releases: PengPeng6845/dsh-balance
Releases · PengPeng6845/dsh-balance
Release list
v0.8.0 — SSE push + CI hardening
- SSE: GET /dsh-balance/events pushes the snapshot the moment a check changes the balance (<1s to the widget); 15s poll kept as fallback
- CI hardening: syntax gates for every source file, client bundle factory + slot registration contract test, full host apply harness (tool, both routes, summary payload, SSE first frame)
v0.7.1 — balance-only widget
The widget shows only the real balance; the tooltip no longer carries today's spend / update time / staleness text (low-balance hint kept). README matches the real UI.
v0.7.0 — i18n + release tooling
What is new:
- Widget texts ride the client locale service (zh/en), following the UI language
- scripts/release.mjs: one-command release (bump + CHANGELOG + tests + commit + tag + push + optional GitHub Release)
- npm run release --
v0.6.0 — balance-only core
Sidebar shows ONLY the real account balance from the official /user/balance endpoint.
- Estimate engine removed (token_usage reports exact tokens + real balance)
- BalanceClient: request dedup, 5s→5m backoff, stale-cache serving
- Widget: unavailable/stale/low-balance states, hidden-tab pause
- Storage schemaVersion 3 (balance samples survive migration)
- Config: lowBalanceAlert (default 5)