Highlights
- Added a unified provider account card that shows only the currently selected provider.
- Added provider-aware monetary balances for DeepSeek, OpenRouter, Moonshot/Kimi, and Z.ai-compatible routes.
- Added OpenCode Go subscription usage with 5-hour, weekly, and monthly quota windows.
- Added Z.ai Coding Plan quota windows for global and China-region accounts.
- Added provider/model attribution to token usage details.
- Expanded offline regression coverage for balance adapters, subscription adapters, server routes, request races, and UI rendering.
UI behavior
- DeepSeek and other balance providers show currency values inside the shared account-card frame.
- OpenCode Go and Z.ai show percentage windows and reset times in the same frame.
- Switching the provider replaces the card instead of stacking multiple providers.
Install or update
npx --yes github:Ychris12138/dsh-usage-statsRestart dsh web after installation. See the README for optional OPENCODE_GO_API_KEY, ZAI_API_KEY, and region configuration.
Validation
npm run checknpm testnpm pack --dry-run- Playwright visual and interaction checks at 500px and 360px widths