On Windows the direct API path can't read the token, so it falls back to the slow PTY path.
Root cause
agy stores the token in Windows Credential Manager via Go's zalando/go-keyring, with target gemini:antigravity (user antigravity). Our reader uses @napi-rs/keyring (Rust keyring-rs), which uses a different target-name format, so it never finds it. No token file exists on Windows either.
Fix
Add a Windows-only backend that reads the credential with target gemini:antigravity directly via the Win32 CredRead API (built-in powershell.exe, no new dependency). Insert into the chain: keyring(napi) → cli → Windows credman → file → PTY.
Acceptance
On Windows the direct API path can't read the token, so it falls back to the slow PTY path.
Root cause
agy stores the token in Windows Credential Manager via Go's zalando/go-keyring, with target
gemini:antigravity(userantigravity). Our reader uses@napi-rs/keyring(Rust keyring-rs), which uses a different target-name format, so it never finds it. No token file exists on Windows either.Fix
Add a Windows-only backend that reads the credential with target
gemini:antigravitydirectly via the Win32CredReadAPI (built-inpowershell.exe, no new dependency). Insert into the chain: keyring(napi) → cli → Windows credman → file → PTY.Acceptance
source: api, no PTY fallback)