← Commit history

antigravity-account: Manage AIs entry point, first-login wizard, why no editor tab (0.2.2)

John Lauer ·1054697222 ·5d ago ·parent 26565b4
1 file changed +9−2
skills/antigravity-account/SKILL.md+9−2
@@ -42,8 +42,15 @@ Typical prompt: "sign Antigravity in to Adom's shared account". Adom's shared ac 4. Read the live consent URL from the container logs (grep above) and open it in **pup** on the same desktop (`pup_open_window {url}`). In Google's chooser click **Use another account** (or the account if pup already knows it), type the email, Next, type the password with `pup_type`, Next, then confirm **Sign in** on the "Make sure that you downloaded this app from Google" page. 5. On the user's own machine the redirect to `http://localhost:<port>/auth/callback` reaches the container directly (WSL/Lima localhost forwarding) and the panel signs in by itself. If pup shows "localhost refused to connect", relay the callback as in the remote-machine recipe above. 6. If Google asks to verify it's you, tell the user to get the phone approval (for the shared account, John approves it) and wait on the page.-7. Pick the model (**Gemini 4 Argon**) in the chat box's model menu, and offer the **Antigravity usage** widget: `POST $ADOM_HD_CONTROL_URL/widgets/open {"id":"antigravity-usage"}`.-8. Close the pup window you opened.+7. **First-login wizard** (an account or machine new to Antigravity): a **Security Notice & Data Use** screen with an optional data-sharing checkbox and **Get started** (click it; leave the checkbox as the user wants), then a **Meet Gemini 4 Argon** card with **Dismiss**. Both are plain buttons in the `extensionView=true` frame.+8. Pick the model (**Gemini 4 Argon**) in the chat box's model menu, and offer the **Antigravity usage** widget: `POST $ADOM_HD_CONTROL_URL/widgets/open {"id":"antigravity-usage"}`.+9. Close the pup window you opened.++Hydrogen's own entry point is the VS Code AI menu (**+** in the toolbar, `title` starting "New AI thread") → **Manage AIs (sign in, sign out, add one)** → **Sign in** on the Antigravity row (`div.line` in the `shell` frame). It runs `/agents/open-panel` and the dialog closes itself after a 3-second countdown.++**Showing the wizard again (demos, recordings):** it is remembered in `~/.gemini/antigravity/antigravity_state.pbtxt` (`post_onboarding`, `seen_nuxs`, `agent_onboarding_completed`). Back the file up, sign out (`POST /agents/logout {"key":"antigravity"}`), `pkill -x agy`, delete those three entries, then **reload the editor** before opening the panel: a webview left on a killed hub shows "Lost connection to the language server" and never signs in.++**Why no editor tab:** the extension's tab mode expects the tunnel Google's own Antigravity IDE (a VS Code fork) provides; under Hydrogen's code-server it never connects. Use the side-bar panel, which reaches the local hub through Hydrogen's port proxy.  ## Quota and cost