Repository navigation
feat: Antigravity harness row with Google sign-in login - #288
Merged
Merged
Conversation
- antigravity row (agy, verified on 1.5.22): agy --output-format
stream-json --dangerously-skip-permissions --print={prompt}, resume with
--conversation {session_id} (jsonl:conversation_id; an empty id is no
session), --model and --effort, bots via --agent axe-<bot> with the
system prompt as a custom agent file in the runtime home
- Google sign-in is its only login (owner msg #6704): agy acp --login
relays the accounts.google.com link and takes the code or landing URL
on stdin from the sealed form, like Claude's web sign-in; probe
agy usage --json (exits 1 when signed out)
- agy keeps its login under $HOME, so a runtime's login directory is its
HOME; runtime::link_home links every other entry of the node user's
home into it before each launch (git, gh, axe keep working), and
Harness::cli_env sets AGY_CLI_DISABLE_AUTO_UPDATE and
AGY_CLI_FORCE_FILE_TOKEN_STORAGE on every launch
- LogFormat::Antigravity: per-run usage from agent_response steps,
failures from the result and its AGY_ERROR line (401 and signed out as
auth_invalid, 429/5xx as provider_unavailable), activity, and
conversation retention under .gemini/antigravity-cli
- Telegram: Antigravity under Add runtime, "Google sign-in" button
- Fixtures from agy 1.5.22 against a local Gemini API mock
- docs/user: runtimes, runtimes from Telegram, config, cost
Task 2452.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Task 2452 (Antigravity A1, sign-in first; owner msgs #6569, #6704: Google sign-in only, no API key). Design: store doc
harvis/research/20261202-antigravity-harness.md; A0 (task 2451) found sign-in feasible with a file token per runtime home.What
antigravityharness row (agy, verified on 1.5.22):agy --output-format stream-json --dangerously-skip-permissions --print={prompt}; resume--conversation {session_id}frominit'sconversation_id(jsonl:conversation_id; an empty id is no session);--model/--effort; bots get--agent axe-<bot>with the system prompt written as a custom agent file in the runtime home.agy acp --loginrelays the accounts.google.com link; the code (or landing URL) comes back through the sealed form to its stdin, the same path as Claude's web sign-in. Probe:agy usage --json(exits 1 at once when signed out).$HOME/.geminiand$HOME/.config/antigravity, and nothing relocates them, so a runtime's login dir is itsHOME.runtime::link_homelinks every other entry of the node user's home into it before each launch, so git, gh, axe and caches keep working in runs.Harness::cli_envsetsAGY_CLI_DISABLE_AUTO_UPDATE=true(documented) andAGY_CLI_FORCE_FILE_TOKEN_STORAGE=true(undocumented, seen in 1.5.21/1.5.22 logs) on every launch. A runtime on the default login never unsetsHOME.LogFormat::Antigravity: per-run usage fromagent_responsesteps (theresulttotal is cumulative across resumes); failures fromresult+AGY_ERROR(401 / not signed in →auth_invalid; 429 / 5xx after agy's ~2 min retries →provider_unavailable); activity; retention ofconversations/<id>.dband files beside it.--print=before@<prompt file>.Sources: https://antigravity.google/docs/cli/reference/, /docs/cli/headless/, /docs/cli/acp/, /docs/cli/troubleshooting/, /docs/cli/commands/agents/, plus
agy --help/agy help acp/agy help usageon 1.5.22.Verify
run_commandsawHOME= runtime home, git config through the link, owner's~/.geminiinvisible,axe task set doneworked; resume used--conversationon the same id; a bot run passed--agent axe-<bot>and its prompt reached the model.agy acp --loginheadless prints the link and paste prompt; a wrong code exits 1 at once.🤖 Generated with Claude Code