Repository navigation
Deprecate Gemini CLI setup while preserving existing sessions - #21682
Conversation
|
CI follow-up: pushed |
|
Pushed The preceding head passed static analysis (including both localization catalog gates), typecheck, Windows packaging, and the docs build. The corrected head now passes CI: run 35447141842 completed successfully, including all eight test shards, static analysis, typecheck, and both package jobs. |
|
Independent verification (2026-09-20):
Verdict: approve in stack order for deprecating new Gemini setup while preserving existing Gemini sessions/settings. This does not remove legacy Gemini support or claim that agy remote/WSL setup is covered. No merge performed. |
ELI5 / evidence / trade-offs auditELI5: New setup and labels point users toward Antigravity while existing Gemini sessions remain usable. Proof: Full CI, docs build, migration UI tests, and authenticated agy sentinel pass; visual proof is covered by the stack's onboarding/settings evidence. User-facing trade-off: Gemini is treated as legacy; remote/WSL setup is outside this evidence. This note scopes the claim to the evidence above; it does not claim untested remote, SSH, WSL, or vendor combinations. |
… startup (#21770) * fix(antigravity): retain handoffs through slow Windows PTY binding * fix(antigravity): show command approvals in Chat (#21776) * fix(antigravity): publish captured command approvals to Chat * fix(antigravity): bind native hook screen evidence to runtime terminal * fix(antigravity): settle cancelled approvals at the idle composer * fix(antigravity): clear approval while accepted commands run
|

ELI5
Orca now recommends Antigravity for new Google CLI sessions and labels the older Gemini CLI integration as legacy. Existing Gemini sessions and explicit user choices remain usable.
What Changed
Why
Deprecation should guide new setup while keeping old conversations accessible. The removal candidate #12789 deletes Gemini history/resume support and also removes Antigravity quota/preferences. This implementation keeps provider identities, saved settings, session readers, resume commands and remote contracts intact. Gemini model names returned by agy remain valid and are not renamed.
This is the setup-deprecation part of the migration. Antigravity Accounts sign-in and verified multi-account switching remain separate unfinished work.
Linked Issue
Refs #17345. Stacked on #21678.
Acknowledges @siddqamar’s original relevant contribution, as requested in #17345. This implementation is new; it does not copy the incompatible removal logic from #12789.
Visual Proof
Actual hidden Orca Accounts panel, before:

After:

Actual Agents row after:

The before Accounts capture used the parent component in the same hidden app, then restored the final source. Labels and ordering were inspected in the rendered Agents settings. No account switch or successful generation is implied by these screenshots.
Testing
218 focused tests passed, including automatic selection, explicit Gemini choice, absent/disabled agy fallback, saved-session resume, catalog-order consistency, agent search, Agents settings and Accounts settings. Full
pnpm tc, changed-code quality gate, localization-catalog verification and commit hooks passed. Docs site CI passed. Renderer changes validated through Electron CDP on macOS.Installed agy 1.2.7 has been exercised throughout the parent stack for real launches, model discovery, task input, hooks registration and native
/usage. Successful generation remains blocked by401 ACCESS_TOKEN_TYPE_UNSUPPORTED. This copy/order change does not claim to fix authentication. Windows/Linux UI and a mixed-version paired deployment were not exercised live.Review
The behavior is based on detected/enabled agents and existing saved preference selection. No credential migration or provider-ID rewrite. Folder workspaces and remote execution continue using the existing shared selection and resume paths; old hosts can still report Gemini identities.
Agent skill upstream boundary
Notes
Legacy account controls remain available for existing users. This draft should not close the overall migration or multi-account issue. No component styling changed.
Checklist