Repository navigation
Conversation
|
|
Pushed commit
|
|
Pushed commit
|
…timezone-independent
|
Pushed commit
|
| echo '{"active": "alpha@example.com"}' >"$TEST_HOME_2/.gemini/google_accounts.json" | ||
|
|
||
| other_transcript="$TEST_HOME_2/.gemini/antigravity-cli/brain/session-other/.system_generated/logs/transcript.jsonl" | ||
| today_iso=$(python3 -c "import datetime as dt; print(dt.datetime.now().astimezone().isoformat())") |
There was a problem hiding this comment.
Test can fail at midnight If the test crosses local midnight after
today_iso is generated but before the collector runs, the transcript is dated yesterday while the collector counts today's tokens. The assertion expecting 777 tokens then fails even though home isolation works. Use a fixed date for the fixture and collector to avoid this intermittent failure.
|
Pushed commit
|
|
Pushed commit
|
| pass | ||
|
|
||
| if cached_limits: | ||
| return cached_limits, True, cached_at |
There was a problem hiding this comment.
Expired limits keep alarming When a quota reset has passed and the
agy probe fails, this returns the last-known percentage as stale. If that percentage is at least 90%, the panel still uses it to trigger its near-limit alarm without checking whether the limit is stale or expired. The warning can persist until a probe succeeds, even though the displayed reset time has passed.
Knowledge Base Used: AI agent integrations
|
Thanks for this. One question before this is enabled by default: does Also, #14166 (Kimchi) edits the same |
Summary
Adds support for tracking Google Antigravity CLI (
agy) usage, local session stats, and live quota limits in the Omarchy agents panel (omarchy.agents).Antigravity CLI was recently adopted as the default agent in Omarchy (
omarchy-default-agent, launcher menu, keybindings), but the status panel lacked a collector to display session stats and rate limits.Changes
bin/omarchy-agent-usage-agy:~/.gemini/google_accounts.json~/.gemini/antigravity-cli/brain/to extract token counts (input, output, cache read/write), prompts, models (Gemini 3.8 Flash), and daily activityagy -p "/usage"(with TTL-based caching in~/.cache/omarchy/agent-usage/agy-limits.json)CompactLimitmeters with countdown-to-reset and alarm threshold supportagyto enabled default providers inshell/plugins/agents/manifest.jsonagy.svgandagy-light.svgicons for the agents panelagycollector inshell/plugins/agents/README.mdtest/shell.d/agent-usage-agy-test.shverifying metadata, JSON record contract, manifest registration, and SVG assets.