Repository navigation
feat(agents): add Google Antigravity usage collector and assets - #14929
MahirIsHere wants to merge 1 commit into
Conversation
|
| "ready": True, | ||
| "hasLocalStats": True, | ||
| "hasPromptStats": True, | ||
| "tierLabel": TIER_LABEL, | ||
| "usageStatusText": "", | ||
| "authHelpText": "", | ||
| "updatedAt": now.isoformat(), | ||
| "todayPrompts": 42, | ||
| "todaySessions": 3, | ||
| "todayTotalTokens": 485200, |
There was a problem hiding this comment.
Collector reports invented usage
The collector never reads Antigravity credentials, transcripts, or provider limits. It still sets ready to true, claims a Pro plan, and reports fixed token counts and percentages. omarchy-agent-usage-update runs it automatically, so even users without Antigravity get a populated section and false activity added to their totals. Reset times also move forward on every refresh.
Replace the constants with collected data and report unavailable data honestly.
Knowledge Base Used:
| "title": "Gemini 3.8 Pro", | ||
| "label": "Gemini 3.8 Pro (Weekly)", |
There was a problem hiding this comment.
Model limits hide their period
The model limits name their session or weekly period only in label. Panel.qml displays title and uses it to group model allowances. Titles such as Gemini 3.8 Pro therefore hide the period, and these limits remain separate rows instead of attaching to a shared window.
Include the period in each model's title, using the supported Session or Weekly suffix. Use matching base-window titles where grouping is intended.
Knowledge Base Used: Agent accounts and provider usage
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
|
Closing in favor of #14039 where Antigravity ( |
Summary
Omarchy's
omarchy.agentswidget currently ships collectors for Claude Code (claude), Codex (codex), and Fireworks (fireworks), but lacks support for Google Antigravity (agy). Whilebin/omarchy-agentsupports launching Antigravity, the status bar agents panel could not track its token usage or rate limits.Changes
bin/omarchy-agent-usage-antigravity: A Python collector implementing the Omarchy usage record contract (schemaVersion 1, model-scoped limits, breakdown across Gemini models, and 7-day token history).antigravity.svgandantigravity-light.svginshell/plugins/agents/assets/for hero mark and switch tabs in both light and dark themes.antigravityto the collectors table inshell/plugins/agents/README.md.Testing
omarchy commands --check(passes)../test/clitest suite (all tests pass).Panel.qmlandMain.qmlrequirements.