Skip to content

v0.32.2

Latest

Choose a tag to compare

@yuting0624 yuting0624 released this 01 Dec 05:51
401d65a

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 across agy-delegate, agy-handoff, agy-job start, agy-doctor, and hooks/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 via export 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 the 2026-12-01 Antigravity Terms §6 & FAQ update — behavior change. Google's 2026-12-01 update to https://antigravity.google/terms §6 and https://antigravity.google/docs/faq explicitly 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 repurposing agy as 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.sh keeps agy_detect_auth_route() intact (python3/python/py -3 probing, depth-aware pure-POSIX awk fallback, zero OS Keychain reads) and flips agy_guard_consumer_oauth() to default-allow: when AGY_BLOCK_CONSUMER_OAUTH is unset or non-truthy, agy-delegate, agy-handoff, and agy-job start allow Consumer OAuth cleanly with zero block and zero stderr warning; when AGY_BLOCK_CONSUMER_OAUTH is truthy (1|true|on, and AGY_ALLOW_CONSUMER_OAUTH is not truthy), high-confidence Consumer OAuth still blocks synchronously with exit 11, AGY_SIGNAL {"status":"CONSUMER_OAUTH_BLOCKED",...}, zero background job directories, and remediation instructions for Google Cloud / Vertex AI ADC / Gemini API key or unsetting AGY_BLOCK_CONSUMER_OAUTH.
  • Shared guard deduplication in scripts/agy-delegate.sh and updated diagnostics (scripts/doctor.sh, hooks/check-agy.sh, scripts/agy-job.sh). Refactors scripts/agy-delegate.sh to call the shared agy_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-retryable exit 11 (TOS_BLOCKED) with updated Antigravity-only scope and appeal-path wording. Updates scripts/agy-job.sh rc_label 11 and usage header, updates scripts/doctor.sh (ok on Consumer OAuth by default with Google Workspace 2. Use a Google Cloud project / AGY_ADC_AUTH=true and AGY_BLOCK_CONSUMER_OAUTH=1 guidance; bad when AGY_BLOCK_CONSUMER_OAUTH=1 is active without override; warn on unknown_oauth only when AGY_BLOCK_CONSUMER_OAUTH=1 is active, ok otherwise; preserves warn on bare GEMINI_API_KEY without modelProvider: "gemini" and unrecognized AGY_ADC_AUTH=yes), and makes hooks/check-agy.sh quiet on Consumer OAuth by default (warning on stderr with exit 0 only when AGY_BLOCK_CONSUMER_OAUTH=1 is 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 the 2026-12-01 Antigravity Terms & FAQ policy, AGY_BLOCK_CONSUMER_OAUTH=1 opt-in guard (including synchronous exit 11 from agy-job start), Workspace 1. Google OAuth starter-quota guidance, bare GEMINI_API_KEY trap, and google-gemini/gemini-api-cli positioning, removing superseded pre-12/1 default-block claims and forum references. Updates tests/run-tests.sh to isolate AGY_BLOCK_CONSUMER_OAUTH and verify both default-allow and opt-in AGY_BLOCK_CONSUMER_OAUTH=1 block matrices across agy-delegate, agy-handoff, agy-job start, doctor.sh, hooks/check-agy.sh, hooks/validate-delegate-bash.sh, and no-python3 (python/py -3/pure-POSIX awk) stubs. Verified via offline stubs on Ubuntu and macOS /bin/bash 3.2 in CI (not re-run against a live agy binary or native Windows host in v0.32.2).