Repository navigation
feat(antigravity): support supervised worker model and effort choices - #21672
Conversation
|
Authenticated follow-up, 2026-09-20: the real agy worker now completes successfully. Using a CLI freshly compiled from ELI5: Orca did not merely open an agy terminal—it delivered the task, the authenticated model answered, and Orca accepted the worker's completion. The system-installed Orca CLI predates the alias change and refused |
|
Independent verification update:
Scoped verdict: Approve after stack order, for Antigravity launch-time model/effort validation. This does not claim successful model generation or live Windows/Linux/WSL/SSH selection. |
|
Independent verification (2026-09-20):
Verdict: approve after stack order for launch-time model/effort selection and capability plumbing. This does not independently prove a successful generated worker turn for every model/effort or remote-platform selection. No merge performed. |
* fix(antigravity): use configured executable for quota refresh * fix(antigravity): keep custom CLI quota controls visible
|
768907e
into
nwparker/agy-windows-hook-verification


ELI5
You can now choose an Antigravity worker's model and effort instead of accepting its configured defaults. Orca rejects combinations that agy rejects, such as a Low model with High effort.
What Changed
worker-start --agent antigravity(oragy) previously rejected every--modelselection. A shared launch catalog now emits agy's--model/--effortflags and supplies model-specific options to worker validation, command construction and discovered native-chat model metadata. Model-only selections preserve the exact selector and do not invent an effort. No model is seeded as the account default.Explicit worker preferences replace conflicting model/effort flags in general agent arguments. Conflicting flags embedded in a custom launcher are refused. Mid-session model switching is not enabled.
Why
The existing catalog and launcher already handle quoting, argument precedence and host routing. Extending them keeps validation and emitted arguments together. A generic effort menu would be wrong: agy 1.2.7 rejects conflicting effort-specific IDs, medium effort for Gemini 3.1 Pro, and effort with legacy display-name selectors. Unknown families remain model-only until their effort support is known.
Linked Issue
Refs #14952; custom/vendor registration remains open. Stacked on #21666. Details and verified selection matrix:
docs/reference/antigravity-worker-model-selection.md.Visual Proof
Before: sanitized report of the actual old-runtime refusal (Low model/Low effort example).
After: cropped actual agy footer inside the hidden Orca app after a worker requested
gemini-3.7-flashwith High effort. Only the model footer is shown; the orchestration preamble is private.Native-chat menu (UI metadata fixture, real model discovery; all choices disabled for a running session):
Testing
Installed agy 1.2.7, macOS, isolated folder workspace, rebuilt hidden app. Worker returned
ready / input_acceptedwith requested/effective modelgemini-3.7-flashand efforthigh; agy's rendered footer showed High. Its terminal contained the task marker. A conflicting Low/High worker request returnedinvalid_argument. The worker was stopped and released; no reclaimable test worker remains.77 focused tests passed across catalog, launch precedence, worker validation, structured options and host-scoped discovery; 18 relevant tests reran after the final compatibility correction. Full typecheck, Electron/Vite build and changed-code quality pass. Direct agy checks also verified the family/effort rules documented in the reference.
Generation still failed with 401
ACCESS_TOKEN_TYPE_UNSUPPORTED. Receipts describe launch selections, not successful model requests; no successful generation, live hooks or acceptedworker_doneclaim. Native Windows/Linux, WSL, SSH and paired-host execution were not live-tested. Rendered native-chat verification used a temporary metadata fixture and an existing test transcript with real agy model discovery: the menu showed all 11 models, all disabled with “Set when the session starts,” and no invented current selection. This verifies the live-session menu, not hook delivery or an interactive launch picker. The fixture tab was closed and experimental setting restored.Review
No new RPC fields. Older hosts without this catalog refuse Antigravity worker model options. Model availability is still account/host dependent; this validates option combinations, not whether an opaque ID is available. Existing catalogs retain their previous fallback behavior.
Agent skill upstream boundary
Checklist