Skip to content

feat(usage): add provider quota tracking and usage panel #96

Merged
SDSLeon merged 6 commits into
masterfrom
lightcode/keen-otter-c23c68de
Jun 3, 2026
Merged

feat(usage): add provider quota tracking and usage panel #96
SDSLeon merged 6 commits into
masterfrom
lightcode/keen-otter-c23c68de

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jun 3, 2026

Copy link
Copy Markdown
Owner

No description provided.

SDSLeon added 2 commits June 1, 2026 21:58
- Add @lightcode/agents-usage workspace package with multi-provider collectors

- Run supervisor usage service, credentials, cost/OpenCode scanners, and tests

- Add Usage right panel, provider rail/cards, settings section, and login overlays

- Wire main UsageLoginManager and browser panel for OAuth/device-code capture

- Extend IPC procedures, usage contracts, settings schema, and usage secret store

- Move shared secret encryption; register workspace in pnpm, tsdown, and vitest
- Add Antigravity pool helpers and supervisor language-server scanner
- Extend usage window types and registry notes for Antigravity ids
- Project window burn rate in agents-usage formatters with unit tests
- Show pace lines in usage rail, window bars, and format helpers
- Register Antigravity in usage service, providers list, and settings UI
- Pass provider label into usage status text on cards and settings rows
@vercel

vercel Bot commented Jun 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightcode-landing Ready Ready Preview, Comment Jun 3, 2026 4:39am

- Add getUsageLoginState IPC, hasUsageSecret, and renderer store; hydrate usage cards from stored secrets
- Preserve Grok cookie sessions on transient failures instead of auth-missing
- Parse OpenCode Zen balance and Go windows from SSR/hydrated console billing data
- Suppress duplicate Zen balance status in UsageSettings when credits row is shown
- Add agents-usage provider descriptors and usageWindowDisplayLabel
- Split credentials, OpenCode, and Antigravity scanners into focused modules
- Register supervisor-local collectors; drive defaults from the catalog
- Extract BrowserLoginCaptureCoordinator from BrowserPanelManager
- Align renderer with catalog; rename cookie login to browser login
- Add hasUsageSecret; improve Codex limit labels and refresh coalescing
- Report Go subscription windows as percent without dollar fields
- Include credits in provider usage snapshot equality checks
- Simplify over-pace copy by removing early runout duration
- Add scanner test for Zen balance alongside Go windows
@SDSLeon SDSLeon merged commit 7efbf92 into master Jun 3, 2026
6 checks passed
@SDSLeon SDSLeon deleted the lightcode/keen-otter-c23c68de branch June 3, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant