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
Settings: choose Chat or CLI in each agent's row; remove Chat → Providers - #36185
Choosing whether an agent opens as Chat or CLI is split between Settings → Chat → Providers and a small control under Default Agent. Antigravity's runtime and sign-in are separate from its agent settings too.
What changes
Each chat-capable agent has its Chat | CLI choice in its own row in Settings → Agents. The duplicate Providers section and Default Agent mini switch are removed. Antigravity's runtime install/remove and chat sign-in move into its expanded row. Search points to the unified Agents list. Chat UI keeps its existing Experimental gate.
Agents with an available downloaded chat program appear as installed even without their CLI; CLI is disabled when native CLI absence is known. Existing explicit CLI choices stay selected until the user chooses Chat. Supported agents missing locally keep their preference editor under Available to install, because that client preference also controls launches on paired hosts.
The rows use the existing saved-choice writer. No saved format, wire, login protocol, launch policy or default-agent capability changes. Chat-only rows retain the existing Default behavior; an already saved chat-only default remains displayed.
Review fixes
The review restored preference/setup access independently of local CLI discovery, separated native mode facts from contextual WSL CLI settings, and retained each expanded row through the runtime installation transition.
Validation
Full review: three initial reviewers, one continued round accepting all three repairs, and a fresh whole-mechanism reference/readiness/performance review. Eight focused files: 56 tests pass, covering existing saved choices, queued writes, actual paired-menu outcomes, native/WSL inventory separation, stable install-to-sign-in presentation, and moved runtime/sign-in command and failure parity. Normal commit hook passed. Main was merged once before final verification. Head CI is green (static/typecheck, both package jobs and all 12 shards; one unchanged main timing test passed on a failed-jobs-only retry). Seven hidden-renderer screenshots on M4Air cover the unified settings, runtime/sign-in placement, Experimental gating and narrow layout. No agent session or real login was needed for this settings-only move. The later test-only typing repair passed 13 focused tests and preserves screenshot evidence; the final status comment includes images and limits.
Related: #36110 and #36171 add the graduation and default presentation separately; this PR lands safely on main with Chat UI still experimental.
Each agent's open-as-chat choice lived in two places: Settings > Chat >
Providers and a Chat | CLI control under Default Agent. The choice now
lives only in each chat agent's row of Settings > Agents > Installed,
writing the same per-agent setting. Agents whose chat runs without their
CLI (a downloaded chat runtime) are listed as installed with CLI
unavailable, and the downloaded runtime and chat sign-in move into the
agent's row. Search and the install card's hint point at Agents. Shown
only while Chat UI is on, as before.
The Agents catalog now provides per-agent Chat or CLI choices and managed chat-runtime details. Chat Providers controls and their search entry are removed from the Chat settings page. Search visibility, translations, managed-runtime hints, and documentation now refer to the Agents settings location.
Priority: Normal
Merge Risk: Low · up to a2d50
Managed-runtime rows can expand to an empty details area while setup is still pending; this is localized but should be corrected.
Pre-merge checks: 3 · 2
Failed checks: 2 warnings
Check name
Status
Explanation
Resolution
Docstring Coverage
Docstring coverage is 21.43% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documenta…
Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check
The description follows the template's main sections (ELI5 is missing, though; What changes, Problem, Validation, and Review fixes are present in non-template form). The description covers the problem…
Add an ELI5 section in plain language. Add a Linked Issue reference (for example, Fixes #NNNN) or state why none applies. Add a Before/After visual proof for the Settings → Agents change, or write N/A with a reason. Update the Testing sec…
Passed checks: 3 passed
Check name
Status
Explanation
Title check
The title clearly and concisely describes the main change: moving the Chat or CLI choice into each agent row and removing Chat → Providers.
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage
Explanation
Docstring coverage is 21.43% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 14 functions across 16 files.
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
Full details: Description check
Explanation
The description follows the template's main sections (ELI5 is missing, though; What changes, Problem, Validation, and Review fixes are present in non-template form). The description covers the problem, the change, the mechanism, and extensive validation, so the core intent is clear. However, it omits several required template sections: ELI5 is absent, Linked Issue has no Fixes # reference, Visual Proof is not filled in with a before/after comparison (the author mentions hidden-renderer screenshots but does not attach or link them in the description), the Testing checklist is not ticked, and the AI Disclosure and Agent skill upstream boundary sections are not addressed. The Why section is not labeled as such, though the Problem section partly covers motivation.
Resolution
Add an ELI5 section in plain language. Add a Linked Issue reference (for example, Fixes #NNNN) or state why none applies. Add a Before/After visual proof for the Settings → Agents change, or write N/A with a reason. Update the Testing section with the platforms actually tested and tick the applicable checkboxes. Complete the AI Disclosure section if applicable. Address the Agent skill upstream boundary checkbox. Rename or add a Why section that explains why this approach was chosen over alternatives.
Finishing Touches: 💡 1
📝 Generate docstrings: 💡
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
The reason will be displayed to describe this comment to others. Learn more.
Follow-up Comments
Do not expose the runtime expansion before the runtime is active.
273-295: Minor · Functional Correctness · Quick win
Do not expose the runtime expansion before the runtime is active.
For a qualifying local managed-chat agent, chatRuntime is defined before useManagedRuntimeInstall reports active. AgentCatalogRow then shows the expand control, while AgentChatRuntimeArea returns null for pending and inactive. The user can open the row and see no runtime content. Pass an observation-aware expansion condition, or otherwise attach the runtime element only when the observation is active. This preserves active-runtime behavior.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.
Choosing Chat or CLI was split across Chat → Providers and a small Default Agent control. The choice now lives in each agent's Settings → Agents row, with Antigravity's runtime and sign-in in its expanded row. The existing Experimental gate, saved choices and launch behavior remain.
The full review repaired three regressions: remote-only agents keep an editable preference, native CLI availability is separate from WSL inventory, and installing a runtime keeps its row expanded for sign-in. Two substantive review rounds are complete, plus fresh reference/readiness/performance and final-head checks; no open blocking findings.
Validation: 56 distinct focused tests across eight files, including existing-user settings identity, queued writes, paired-menu outcomes, native/WSL separation, stable row identity and moved sign-in command/failure parity. Head CI is green: static/typecheck, both package jobs and all 12 test shards passed in run 40990934329. The unchanged main timing test in acp-chat-worker-error-escalation.test.ts:231 failed once and passed on the failed-jobs-only retry; successful jobs were retained.
Settings screenshot validation passed on b6a33b72490d55e11752d398edf536f553771b07 on M4Air. The later a2d503110ea78a9ce3ea8c17d81c715256ee3808 changes only test typing/query options; its assertions and inputs were independently rechecked, and 13 focused tests pass. No shipped file changed after screenshots. The isolated copy stopped gracefully; all eight real-config hashes were unchanged.
No agent session or real login was run: this is a settings-surface move with unchanged login commands. The profile had Antigravity's CLI; CLI-absent and section-move states are covered by renderer tests rather than these screenshots. The pre-existing inability to newly select a chat-only agent as Default remains outside this change; existing saved defaults are retained. Runtime details can briefly be empty while capability discovery resolves; this is deferred cosmetic polish, with no saved-choice or setup-command change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Choosing whether an agent opens as Chat or CLI is split between Settings → Chat → Providers and a small control under Default Agent. Antigravity's runtime and sign-in are separate from its agent settings too.
What changes
Each chat-capable agent has its Chat | CLI choice in its own row in Settings → Agents. The duplicate Providers section and Default Agent mini switch are removed. Antigravity's runtime install/remove and chat sign-in move into its expanded row. Search points to the unified Agents list. Chat UI keeps its existing Experimental gate.
Agents with an available downloaded chat program appear as installed even without their CLI; CLI is disabled when native CLI absence is known. Existing explicit CLI choices stay selected until the user chooses Chat. Supported agents missing locally keep their preference editor under Available to install, because that client preference also controls launches on paired hosts.
The rows use the existing saved-choice writer. No saved format, wire, login protocol, launch policy or default-agent capability changes. Chat-only rows retain the existing Default behavior; an already saved chat-only default remains displayed.
Review fixes
The review restored preference/setup access independently of local CLI discovery, separated native mode facts from contextual WSL CLI settings, and retained each expanded row through the runtime installation transition.
Validation
Full review: three initial reviewers, one continued round accepting all three repairs, and a fresh whole-mechanism reference/readiness/performance review. Eight focused files: 56 tests pass, covering existing saved choices, queued writes, actual paired-menu outcomes, native/WSL inventory separation, stable install-to-sign-in presentation, and moved runtime/sign-in command and failure parity. Normal commit hook passed. Main was merged once before final verification. Head CI is green (static/typecheck, both package jobs and all 12 shards; one unchanged main timing test passed on a failed-jobs-only retry). Seven hidden-renderer screenshots on M4Air cover the unified settings, runtime/sign-in placement, Experimental gating and narrow layout. No agent session or real login was needed for this settings-only move. The later test-only typing repair passed 13 focused tests and preserves screenshot evidence; the final status comment includes images and limits.
Related: #36110 and #36171 add the graduation and default presentation separately; this PR lands safely on main with Chat UI still experimental.