Skip to content

Releases: PengPeng6845/dsh-balance

v0.8.0 — SSE push + CI hardening

Choose a tag to compare

@PengPeng6845 PengPeng6845 released this 20 Aug 15:51
  • 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

Choose a tag to compare

@PengPeng6845 PengPeng6845 released this 20 Aug 15:39

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

Choose a tag to compare

@PengPeng6845 PengPeng6845 released this 20 Aug 15:34

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

Choose a tag to compare

@PengPeng6845 PengPeng6845 released this 20 Aug 15:15

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)