mirror of
https://github.com/stablyai/orca.git
synced 2026-11-13 17:37:40 +00:00
Antigravity Accounts rejected a WSL account location outright. agy inside WSL keeps its login in its file store (~/.gemini/antigravity-cli/ antigravity-oauth-token; it detects WSL the same way isAntigravityFileStorageHost does), so save/select/remove now work there: - A WSL credential backend reads and writes that file through runWslProcess in the selected distro (default resolved via resolveWslDefaultDistro). It checks the distro is running before every guest command and never starts a stopped one. Writes are a compare-and-swap inside the guest (sha256 of the expected file), go through a private temp file and rename, and pass the credential on stdin rather than the command line. - runWslProcess accepts stdin input for argv-delivered commands. - Each distro gets its own encrypted vault, so accounts never cross distros or the Windows host. - Accounts "Refresh usage" is enabled for WSL now that usage reads the selected runtime (#38985), and rejects a reading tagged with another runtime's provenance. Fixes #25847 Linear: STA-9624