Repository navigation
Aligns Consumer OAuth handling with Google's 2026-12-01 Antigravity Terms §6 & FAQ update — allows Consumer OAuth by default while keeping auth-check diagnostics and opt-in AGY_BLOCK_CONSUMER_OAUTH=1 (exit 11) enforcement for enterprise teams (#130).
Behavior change from
v0.32.0–v0.32.1: Consumer OAuth is now allowed by default acrossagy-delegate,agy-handoff,agy-job start,agy-doctor, andhooks/check-agy.sh. Teams and organizations that want to keep requiring Google Cloud / Vertex AI ADC / Gemini API key / Enterprise Gateway authentication can opt in viaexport AGY_BLOCK_CONSUMER_OAUTH=1(accepted values:1,true,on).
/plugin marketplace update antigravity-for-claude-code
/reload-plugins
Full detail is in CHANGELOG.md.
0.32.2 — Default-allow Consumer OAuth + optional enterprise opt-in (AGY_BLOCK_CONSUMER_OAUTH=1) (#130)
- Allow Consumer OAuth by default + optional enterprise opt-in (
AGY_BLOCK_CONSUMER_OAUTH=1), aligned with the2026-12-01Antigravity Terms §6 & FAQ update — behavior change. Google's2026-12-01update tohttps://antigravity.google/terms§6 andhttps://antigravity.google/docs/faqexplicitly permits running the unmodified Antigravity CLI in headless mode (agy -p) as a tool or subagent from another harness such as Claude Code (while OAuth token extraction outside the official Antigravity runtime, modifying/bypassing the runtime or repurposingagyas a raw model proxy, and account sharing/pooling/reselling remain prohibited, and Terms violations affect only Antigravity access with an appeal path and no impact on the broader Google account).scripts/lib/auth-check.shkeepsagy_detect_auth_route()intact (python3/python/py -3probing, depth-aware pure-POSIXawkfallback, zero OS Keychain reads) and flipsagy_guard_consumer_oauth()to default-allow: whenAGY_BLOCK_CONSUMER_OAUTHis unset or non-truthy,agy-delegate,agy-handoff, andagy-job startallow Consumer OAuth cleanly with zero block and zero stderr warning; whenAGY_BLOCK_CONSUMER_OAUTHis truthy (1|true|on, andAGY_ALLOW_CONSUMER_OAUTHis not truthy), high-confidence Consumer OAuth still blocks synchronously withexit 11,AGY_SIGNAL {"status":"CONSUMER_OAUTH_BLOCKED",...}, zero background job directories, and remediation instructions for Google Cloud / Vertex AI ADC / Gemini API key or unsettingAGY_BLOCK_CONSUMER_OAUTH. - Shared guard deduplication in
scripts/agy-delegate.shand updated diagnostics (scripts/doctor.sh,hooks/check-agy.sh,scripts/agy-job.sh). Refactorsscripts/agy-delegate.shto call the sharedagy_guard_consumer_oauth()helper directly (skipping on--print-command), eliminating its duplicate inline guard block (PR #129 review follow-up), while keeping runtime HTTP 403"violation of Terms of Service"/"Terms of Service violation"classification as non-retryableexit 11(TOS_BLOCKED) with updated Antigravity-only scope and appeal-path wording. Updatesscripts/agy-job.shrc_label 11and usage header, updatesscripts/doctor.sh(okon Consumer OAuth by default with Google Workspace2. Use a Google Cloud project/AGY_ADC_AUTH=trueandAGY_BLOCK_CONSUMER_OAUTH=1guidance;badwhenAGY_BLOCK_CONSUMER_OAUTH=1is active without override;warnonunknown_oauthonly whenAGY_BLOCK_CONSUMER_OAUTH=1is active,okotherwise; preserveswarnon bareGEMINI_API_KEYwithoutmodelProvider: "gemini"and unrecognizedAGY_ADC_AUTH=yes), and makeshooks/check-agy.shquiet on Consumer OAuth by default (warning on stderr withexit 0only whenAGY_BLOCK_CONSUMER_OAUTH=1is active). - Documentation & test suite updates (
README.md,commands/setup.md,commands/delegate.md,agents/antigravity-delegate.md,skills/antigravity/SKILL.md,docs/TROUBLESHOOTING.md,tests/run-tests.sh). Updates all user-facing docs for the2026-12-01Antigravity Terms & FAQ policy,AGY_BLOCK_CONSUMER_OAUTH=1opt-in guard (including synchronousexit 11fromagy-job start), Workspace1. Google OAuthstarter-quota guidance, bareGEMINI_API_KEYtrap, andgoogle-gemini/gemini-api-clipositioning, removing superseded pre-12/1 default-block claims and forum references. Updatestests/run-tests.shto isolateAGY_BLOCK_CONSUMER_OAUTHand verify both default-allow and opt-inAGY_BLOCK_CONSUMER_OAUTH=1block matrices acrossagy-delegate,agy-handoff,agy-job start,doctor.sh,hooks/check-agy.sh,hooks/validate-delegate-bash.sh, and no-python3(python/py -3/pure-POSIXawk) stubs. Verified via offline stubs on Ubuntu and macOS/bin/bash 3.2in CI (not re-run against a liveagybinary or native Windows host inv0.32.2).