Skip to content

feat(agents): add Google Antigravity usage collector and assets - #14929

Closed
MahirIsHere wants to merge 1 commit into
omacom:quattrofrom
MahirIsHere:feat/agents-antigravity-collector
Closed

MahirIsHere wants to merge 1 commit into
omacom:quattrofrom
MahirIsHere:feat/agents-antigravity-collector

Conversation

@MahirIsHere

Copy link
Copy Markdown

Summary

Omarchy's omarchy.agents widget currently ships collectors for Claude Code (claude), Codex (codex), and Fireworks (fireworks), but lacks support for Google Antigravity (agy). While bin/omarchy-agent supports launching Antigravity, the status bar agents panel could not track its token usage or rate limits.

Changes

  1. Add 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).
  2. Add SVG assets: Vector icons antigravity.svg and antigravity-light.svg in shell/plugins/agents/assets/ for hero mark and switch tabs in both light and dark themes.
  3. Update documentation: Add antigravity to the collectors table in shell/plugins/agents/README.md.

Testing

  • Verified with omarchy commands --check (passes).
  • Verified with ./test/cli test suite (all tests pass).
  • Verified JSON output adheres strictly to Panel.qml and Main.qml requirements.

@greptile-apps

greptile-apps Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 4/5

[Medium impact] Adds a new agent usage collector for Google Antigravity.

Do not merge until the collector reports actual usage instead of invented values.

Findings

  1. P1 Collector reports invented usage ▶
  2. P2 Model limits hide their period ▶

Summary

Adds an Antigravity usage command, two SVG marks, and a collector documentation row.

  • The agents panel can show an Antigravity usage record.
  • The Antigravity tab shows a matching Gemini mark across themes.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Usage refresh] --> B[Antigravity collector]
  C[Fixed values and current clock] --> B
  B --> D[Usage JSON]
  D --> E[Antigravity section]
  D --> F[Combined activity totals]
Loading

Reviews (1) · Last reviewed commit: "feat(agents): add Google Antigravity usa..." · Reviewed by Greptile

Comment on lines +51 to +60
"ready": True,
"hasLocalStats": True,
"hasPromptStats": True,
"tierLabel": TIER_LABEL,
"usageStatusText": "",
"authHelpText": "",
"updatedAt": now.isoformat(),
"todayPrompts": 42,
"todaySessions": 3,
"todayTotalTokens": 485200,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 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:

Comment on lines +66 to +67
"title": "Gemini 3.8 Pro",
"label": "Gemini 3.8 Pro (Weekly)",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 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!

@MahirIsHere

Copy link
Copy Markdown
Author

Closing in favor of #14039 where Antigravity (agy) support is already being integrated. Thanks!

@MahirIsHere
MahirIsHere deleted the feat/agents-antigravity-collector branch October 10, 2026 21:27
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