Repository navigation
Conversation
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.
Summary
/connect, using a generated Google authorization URL followed by a pasted full localhost callback URL.googlefor config/credential compatibility.OAuth client configuration
No Google OAuth client ID or secret is bundled, persisted in config, or compiled into the binary. Set
CRABCODE_ANTIGRAVITY_CLIENT_IDandCRABCODE_ANTIGRAVITY_CLIENT_SECRETin the runtime environment. The OAuth client must be authorized for the requested Google scopes/service and usehttp://localhost:51121/oauth-callbackas its redirect URI. An arbitrary new Google Cloud OAuth client does not guarantee Antigravity access. Existing refresh tokens remain bound to their original client.Missing/invalid settings fail with setup instructions without echoing values. Unit tests inject fake clients and do not mutate global environment variables.
Validation
1,896 unit tests and 7 ACP integration tests passed (3 pre-existing ignored tests).
cargo test --offline -- --test-threads=1cargo build --offline --bin crabcodecargo fmt --all -- --checkbash scripts/check-aisdk-boundary.shgit diff --checkOAuth, refresh, project onboarding, HTTP/SSE, signed-history, dialog, and cancellation tests use local fixtures; no Google token exchange or account authorization was performed during development. Live Google/Antigravity account eligibility and service availability still require a manual smoke test.
Two existing test fixtures were made environment-independent while running the suite: the edit-rendering fixture now uses the current checkout path, and the ACP stdio fixture explicitly avoids live Ollama discovery.
Manual smoke test
/connect→ Google Antigravity → Gemini via Antigravity (browser).http://localhost:51121/oauth-callback?...URL from the address bar even if the localhost page cannot load.This integration uses an unofficial Antigravity transport; Google account eligibility, service terms, and restrictions apply.