Skip to content

feat(onboarding): install Antigravity in an explicit setup terminal - #21656

Closed
nwparker wants to merge 3 commits into
nwparker/agy-group-addressesfrom
nwparker/agy-onboarding-install
Closed

nwparker wants to merge 3 commits into
nwparker/agy-group-addressesfrom
nwparker/agy-onboarding-install

Conversation

@nwparker

@nwparker nwparker commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

Latest verification — 2026-09-20: A fresh official Linux install inside awin Ubuntu-24.04 succeeded, including download checksum verification; installed agy reports 1.2.7. This was the official installer run through the execution-host shell, not a rendered WSL onboarding click. WSL API-key generation now passes after forwarding the Machine key and explicitly selecting modelProvider: "gemini" in the guest. An actual Orca WSL terminal renders the exact reply and accepts a second prompt after renderer reload. Setup instructions and reviewed proof. This supersedes the earlier WSL authentication blocker; it does not prove Google OAuth or WSL Chat. Fresh native Windows and SSH installation remain unverified. All checks at the unchanged PR head are green. Earlier screenshots and test notes below describe their original runs.

Files Added Deleted Net
Test 13 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​628 $\color{#cf222e}{\Huge{\mathbf{−}}}$​36 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​592
Prod 23 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​672 $\color{#cf222e}{\Huge{\mathbf{−}}}$​42 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​630

ELI5

When Antigravity is missing, onboarding now offers a terminal with Google's installer ready to run. Press Enter to start it. Finding the newly installed agent no longer makes its installer terminal disappear.

What Changed

Adds an Antigravity Install button beside the existing instructions link. A separate dialog owns the setup terminal until Close terminal is selected. Selection changes and detection results leave it mounted; onboarding's Enter/Escape shortcuts yield while it is open. Re-check reports PATH detection without claiming the installer finished.

The command follows onboarding's detection context: Bash for macOS/Linux, explicit PowerShell for native Windows, and the existing WSL command adapter for the detected distro. Unresolved, remote, and repair-required targets retain the instructions link. No wire changes.

Why

Takes over the Antigravity portion of #14122 without adopting its other vendor commands. A conditional Install/Hide panel can kill an unfinished install when detection succeeds or selection changes. Its “Running…” label also overstates a component that only pastes text. Keeping a separate dialog with explicit close and accurate Enter instructions fixes both problems while reusing Orca's terminal component.

Linked Issue

Advances the setup portion of #21541; does not close that broader integration request. Related candidate: #14122.

Visual Proof

Before: parent revision's instructions-only banner. Antigravity's missing-detection state was simulated because it is installed on the test machine.

Before

After: real Bash terminal, command prefilled and awaiting Enter.

Ready to run

After pressing Enter: Google's actual installer reports the existing installation. Actual Re-check detects agy; the same terminal remains open. Gray blocks redact account, hostname, and private paths.

Installer and detection result

Testing

  • Manually tested in hidden macOS Electron through CDP, with installed agy 1.2.7. Official installer exercised its existing-install early exit; the installed binary was retained.
  • 96 onboarding tests pass, including command routing and WSL shell adaptation. Full pnpm tc, changed-code quality (including design system), localization verification, commit hooks, and Electron/Vite build pass.
  • Live checks: Escape preserves the dialog; re-detection and a programmatically changed agent selection preserve the same PTY; explicit close removes the tab and the process. No generation/authentication claim.
  • Fresh official Linux/WSL download and installation now pass. Still unverified: native Windows or SSH installation, rendered WSL onboarding click, or narrow/light-theme rendering. Remote inline installation is deliberately unavailable; instructions remain accessible. This remains a draft pending broader validation.

Review

  • Scoped to Antigravity onboarding; other agents retain their existing flow.
  • Uses existing shell adapter, terminal, dialog, button, and design tokens.
  • Agent skill upstream boundary: not applicable.

Checklist

  • Focused change with user-facing before/after and rationale.
  • Before/after visual proof attached.
  • Self-reviewed for correctness, security, and performance.
  • Cross-platform, remote, and shortcut impact considered.
  • Relevant local checks passed; CI covers the broader suite and packaging.

@nwparker

Copy link
Copy Markdown
Contributor Author

Independent verification update:

  • Installed agy 1.2.7 returned the exact sentinel AGY_ONBOARDING_LIVE_OK.
  • Onboarding target/flow suites: 25 passed.
  • pnpm tc:web passed.
  • Changed-code quality passed with 0 new findings.
  • CI run 35439233209 passed typecheck, static analysis, all 8 test shards, verify, and both packages.

Scoped verdict: Approve after CI for the explicit local Antigravity setup terminal. The PR’s hidden Electron visual proof is valid for the macOS local flow; native Windows/SSH installation and rendered WSL onboarding remain unverified.

@nwparker

Copy link
Copy Markdown
Contributor Author

Independent verification (2026-09-20):

  • Onboarding/install-target and supporting hook/install tests: 58/58 passed.
  • pnpm tc:web passed.
  • pnpm run check:code-quality:changed origin/main passed with 0 new findings across 114 changed files.
  • Installed agy 1.2.7 authenticated exact sentinel returned AGY_ONBOARDING_OK.
  • Full CI 35439233209 is green across all test shards, typecheck, static analysis, macOS/Windows packages, and verify. The PR includes hidden Electron visual proof for the onboarding terminal.

Verdict: approve after CI for the local onboarding installer flow. Windows/SSH installation and rendered WSL onboarding remain outside this evidence. No merge performed.

@nwparker

Copy link
Copy Markdown
Contributor Author

ELI5 / evidence / trade-offs audit

ELI5: The setup flow opens the right local terminal for installing Antigravity instead of an ambiguous default shell.

Proof: 58/58 onboarding tests, full CI, and hidden Electron onboarding proof pass.

User-facing trade-off: Native Windows, SSH, and rendered WSL onboarding remain outside this proof.

This note scopes the claim to the evidence above; it does not claim untested remote, SSH, WSL, or vendor combinations.

…21657)

* fix(antigravity): wait for host-confirmed composer before continuation paste

* feat: show Antigravity terminal sessions in Chat UI (#21660)

* feat: render Antigravity terminal sessions in native chat

Co-authored-by: haoliangli <[email protected]>

* fix: keep direct SSH Antigravity chat on its execution host

---------

Co-authored-by: haoliangli <[email protected]>

---------

Co-authored-by: haoliangli <[email protected]>
@nwparker

Copy link
Copy Markdown
Contributor Author

Verification outcome: keep merge risk Medium for this stacked PR. The onboarding target tests and full CI are green, and the disposable awin branch reached the official PowerShell installer endpoint (HTTP 200). However, the PR also carries native-chat/session continuation changes, and the full rendered Windows/WSL flow was not exercised. The disposable Windows setup itself was blocked by host MSBuild FileTracker FTK1011; after --ignore-scripts, the focused test hit an existing checkout alias-resolution issue (@/lib/project-skill-runtime). No product code was changed during verification.

@nwparker

nwparker commented Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #39172, which re-lands only the Antigravity setup-terminal installer (ported from db265b9 and 7ea7510) fresh from main, without the stale stacked terminal-chat commits.

@nwparker nwparker closed this Nov 6, 2026
@nwparker

nwparker commented Nov 7, 2026

Copy link
Copy Markdown
Contributor Author

Reverted in #39282, because agents' onboarding installs should be one shared mechanism rather than an agy-only dialog. Antigravity now gets the same Install instructions link as every other agent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant