Repository navigation
Add Antigravity (agy) agent usage collector and test suite - #8479
Closed
theMindDeveloper wants to merge 2 commits into
Closed
theMindDeveloper wants to merge 2 commits into
theMindDeveloper wants to merge 2 commits into
Conversation
* Implement bin/omarchy-agent-usage-agy to collect usage statistics from ~/.gemini/antigravity-cli/history.jsonl, opencode Google sessions, and pi/omp Google sessions. * Add unit test suite test/shell.d/agent-usage-agy-scanner-test.sh. * Document agy collector in shell/plugins/agents/README.md. Fixes omacom#8477
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Antigravity usage collection for the agents status widget and panel.
Changes:
- Collects Antigravity, Pi/OMP, and OpenCode usage.
- Adds scanner and concurrency tests.
- Documents the new collector.
Tip
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
bin/omarchy-agent-usage-agy |
Implements the Antigravity collector. |
test/shell.d/agent-usage-agy-scanner-test.sh |
Tests history, OpenCode, and cache writes. |
shell/plugins/agents/README.md |
Documents the agy collector. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Sep 20, 2026
This was referenced Sep 28, 2026
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds the missing
omarchy-agent-usage-agycollector and test suite for the Antigravity (agy) coding agent, completing its integration with Omarchy'somarchy.agentsstatus bar widget and panel.Changes
bin/omarchy-agent-usage-agy: Implements the usage collector for Antigravity (agy). It extracts local prompt counts and session activity from~/.gemini/antigravity-cli/history.jsonl, merges Google/Gemini provider usage from OpenCode SQLite databases, and includes pi/omp Google sessions.test/shell.d/agent-usage-agy-scanner-test.sh: Adds automated test coverage verifying ID reporting, prompt/session parsing, OpenCode provider merging, and concurrent write resilience.shell/plugins/agents/README.md: Updates the agent collectors reference table to includeagy.Fixes #8477