You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Antigravity provider never detects the agy CLI on Windows (upstream CLI source not ported) #282
The Antigravity provider on Windows never detects the Antigravity CLI (agy.exe), even when it is running and its local language server is listening. Upstream CodexBar supports an agy CLI source (and an OAuth remote fallback); neither appears to be ported — every --source value routes to the same local probe.
Environment
Win-CodexBar 0.48.0, Windows 10 Pro 10.0.19045
Antigravity CLI installed at %LOCALAPPDATA%\agy\bin\agy.exe, signed in (Google AI Pro)
Repro
Start an interactive agy session. Confirm it is listening: Get-Process agy | % { Get-NetTCPConnection -State Listen -OwningProcess $_.Id } → two loopback ports.
codexbar-cli usage -p antigravity (any --source, ANTIGRAVITY_CLI_PATH set or not)
Result: Provider not installed: Antigravity language server not running. Start Google Antigravity and sign in, then retry.
Root cause
rust/src/providers/antigravity/mod.rs — detect_process_info() only matches processes named *language_server_windows* / language_server.exe (the desktop IDE's child) and requires --csrf_token on the command line. agy.exe serves in-process with no such flag, so it can never match. --source cli/oauth still log Fetching Antigravity usage via local probe.
Evidence the data path works
With an agy session running, its quota endpoint answers without any CSRF token:
curl -sk -X POST https://127.0.0.1:<port>/exa.language_server_pb.LanguageServerService/RetrieveUserQuotaSummary -H "Content-Type: application/json" -d "{}"
returns the full quota summary (Gemini + Claude/GPT groups, weekly + 5h buckets). The existing listening_ports_for_pid() / find_api_port() plumbing would work as-is if discovery also matched agy.exe (with the empty-CSRF allowance upstream added for explicit CLI matches).
Ask
Port the upstream agy CLI source: match agy.exe in process discovery, allow empty CSRF for CLI matches, and ideally the launch-agy-on-poll behavior so quota renders when no session is open. Happy to test builds on a real Windows + agy setup.
Activity
Finesssee commentedon Aug 14, 2026
thanks for the issue, I will try to fix it ASAP
Detect agy CLI in Antigravity provider on Windows (nesszer#282) (ness…
Fix quoted agy.exe detection on Windows (#361)