Antigravity has been reachable only from the server since #425. This adds the
web and mobile surfaces that let a user actually sign in and use it: a setup
section in provider settings, a mobile setup screen reachable from both
connection entry points, the provider's icon and picker entries, and user docs.
Stacked on #433, which adds the setup RPCs this UI binds to.
What changed
Web. Antigravity instances get a setup section above their runtime settings,
covering all four sign-in methods the schema declares — Google account, Gemini
Enterprise, Gemini API key, and Agent Platform. Browser methods hand off to
Google and wait for the callback; credential methods verify what is configured
in the instance settings. Antigravity joins the model picker, provider settings
list, and settings search.
Mobile. The same flow as a route, reachable from Settings → Environments and
from Connections. Antigravity's icon ships as an asset.
Docs. docs/user/providers-antigravity.md, plus the provider and install
guides.
Adopted from T3 Code
Ported manually from 06336460c9988f29c71e839c4c9c840c4552e077 (#9348).
Applying that commit directly was rejected: it predates several Pylon changes and
its diff reverts them. Replaying it conflicts in 36 files across 119 hunks, and
most of those conflicts are not about Antigravity at all — it restores
LoaderIcon over the Spinner from #426, swaps
getBackgroundTextGenerationProviders back to textGenerationProviders, returns
per-instance provider updates to per-driver, and deletes Pylon's provider
unavailable banner handling and rollbackMutationBlocked. The Antigravity
additions were extracted and applied to Pylon's current code instead.
Pylon adaptations
- Prime survives. The upstream diff presents Pylon's Prime Agent entry as a
deletion replaced by Antigravity in all four provider lists — icons, driver
metadata, session provider options, and the picker. Both are present here.
- No tabbed card. Upstream renders its setup surface inside a tabbed
ProviderInstanceCard. Pylon's card is a flat sectioned layout, so the new
setup slot renders above the Runtime section instead.
- Settings patch shape.
AntigravitySettingsPatch takes
Array(CustomModelSetting) to match Pylon's custom model entries from feat: add custom model names and option descriptors #423,
not upstream's Array(String). Without the patch entry, saving Antigravity
auth settings fails at the wire even though the full settings schema accepts
the field.
- Both mobile entry points. Upstream reaches the setup screen from its
connection rows; Pylon renders that row from Settings → Environments as well,
so both navigate to it.
- Version formatting. Antigravity reports release tags such as
agy_acp_server_20260818_01_RC01, which is not semver. Those render as a date
and candidate, and the v prefix now applies only to bare numeric versions.
Verification
- Tests: 108 across the new setup section, mobile setup state, and session logic.
- Types: all seven packages clean.
vp check: 0 errors across 3360 files.
- Unused exports and files:
knip:check clean.
ANTIGRAVITY_AUTH_METHODS is exported here rather than in #433 so the export
lands with the consumer that needs it.
Not yet verified against a live Antigravity account; the flows above are covered
by unit and component tests only.
Model and harness: Claude Opus 5 via Claude Code.
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2Fef26d88456de9cc93cf03b8611c53675c8af4fc8361b0049e62a133b46e853b6%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2e737667)
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.