Mighty Max 0.2.3 — Token Plan usage indicator
T27 — Token Plan usage indicator
A right-side status-bar item (the Mighty Max aviator glyph) now mirrors the MiniMax Token Plan usage bar that's normally only visible at platform.minimax.io. Hover for per-window progress bars; click — or run Mighty Max: Show MiniMax Usage — for the full panel with refresh and a collapsible raw-response disclosure for diagnosing schema drift.
What ships
$(mightymax-head)status-bar item with neutral / warning / error tints at the 0–79% / 80–99% / 100% thresholds- 5-minute polling with out-of-band refresh on API-key change
mightyMax.showUsagecommand + compact webviewUsageClientport withUsageUnavailableError(kind: 'unavailable' | 'network' | 'parse',retriable: boolean) — PAYG keys and network blips stay neutral, never red- Pure-domain
usage-normalization.tswith fixture coverage for the four core invariants
Bundle size
| 0.2.2 | 0.2.3 | |
|---|---|---|
.vsix size |
8.57 MB | 479.67 kB (~18× smaller) |
| Hero logo in README | 8.9 MB | 145 kB |
The .vscodeignore now excludes the unreferenced 8.9 MB logo and lets the 145 kB README variant through. tmp/ is also excluded from both git tracking and the packaged bundle.
Verified
npm run lint— cleannpm run typecheck— clean- 7/7 CI checks green on
3b3b951(Build & test on ubuntu/macos/windows, NPM Audit, Gitleaks, Scorecard, TypeScript analysis) - vsce package content reviewed against the .vscodeignore deny list
Merged via PR #23.