Repository navigation
Releases
v0.16.0
Added
ANTIGRAVITY_PROXYroutes OAuth exchanges and provider API calls through a dedicated proxy. Search-source requests keep their existing routing.
Fixed
- Removed the redundant “(Antigravity)” suffix from static, discovered, cached, and native image model names. Model IDs are unchanged.
- Google Terms of Service suspensions now stop stream fallback and show appeal guidance.
Documentation
- Documented video pass-through for Pi extensions and the frame-extraction workaround. Native video attachments are not included; live Gemini video acceptance remains unverified.
Full changes: #168.
v0.15.0
Added
- New Antigravity model cold-start & metadata support: Resolve grouped public model IDs (such as
gemini-4-neon,gemini-4-argon,gemini-4-hydrogen,claude-opus-5-5, andclaude-sonnet-5-5) to their effort-matched runtime tier during cold-start dynamic lookup before catalog discovery hydrates, allowgemini-4-neonbeyondagentModelSorts, and add output token limits andmodel_enumentries for Gemini 4 Neon/Argon and Claude 5.5. - Automatic system prompt folding over consumer cap: Consumer endpoints that reject
systemInstructionexceeding 126 characters with a generic 429RESOURCE_EXHAUSTEDnow work out of the box — assembled system parts (including Skill blocks) exceeding 126 total characters are folded into the first user turn andsystemInstructionis omitted.ANTIGRAVITY_INLINE_SYSTEM=1|true|onforces folding,0|false|off(orANTIGRAVITY_PROMPT_GUARD=off) keeps wire-nativesystemInstruction, and unset decides automatically (#148, #152, #153, #160, #161). - Live capacity route cache: Remembers the responding
(runtimeModel, endpoint)per account for 10 minutes (bounded to 64 entries) after a successful fallback stream so subsequent turns skip dead-tier hops and preserve prompt cache, with single-probe eviction on error and automatic bypass under enterprise or env overrides (#146).
Changed
- Default endpoint fallbacks: Removed the dead
daily-cloudcode-pa.sandbox.googleapis.comfallback so failed consumer requests move directly fromdaily-cloudcode-pa.googleapis.comtocloudcode-pa.googleapis.com(#146). - Documentation & dependencies: Added a prominent Google Antigravity Additional ToS Section 6 account-suspension warning to
README.md(#154); updatedundicito8.12.4(fixing 6 CVEs, #150),turndownto7.2.5(#151), and compatible dev dependencies (@types/node,eslint,globals,prettier,typebox,typescript-eslint) while holdingtypescripton6.xuntiltypescript-eslintsupports TS 7 (#149).
Fixed
- Claude / GPT-OSS tool-result ordering & interrupted tool calls: Keep all
functionResponseparts contiguous ahead ofinlineData/text parts in user turns following afunctionCallturn, and synthesize an interrupted-execution error response for historicalfunctionCallturns missing a recorded result, preventing HTTP 400tool_use ids were found without tool_result blockserrors (#156, #157). - Capacity retry ladder: Load-shaped refusals (generic
429 RESOURCE_EXHAUSTED,503 No capacity available) now retry across an abort-aware backoff ladder (3s, 8s, 15s, 25sby default;ANTIGRAVITY_CAPACITY_BACKOFF_MS,ANTIGRAVITY_CAPACITY_ATTEMPTS) walking all endpoints and sibling tiers on every pass, kept independent from empty-response retries (#158, #159). - Pi / Pi-Bolt system prompt sanitization: Neutralize stock Pi, already-sanitized Pi, and Pi-Bolt default preamble openers wholesale as well as Pi 1.5.2's
codemode scripts and non-LLM models<docs>phrase while preserving- codemode:,CodeModel,docs/codemode.md, andpi-bolt.jswhen wire-nativesystemInstructionis used (#145, #147, #155).
v0.14.0
Added
- Gemini 4 Hydrogen & Oxygen support: Added dynamic discovery allowlist for selectable Hydrogen and Oxygen variants beyond
agentModelSorts(#134),xhighthinking level grouping (-xhigh,(XHigh),(X-High)), fallback routing, list pricing ($1.50/M input, $7.50/M output, $0.075/M cache read), 262,144 output token limit, and-xhighsibling capacity fallback (#132, #133, #136).
Changed
- Development dependencies & security: Updated
@earendil-works/pi-aiand@earendil-works/pi-coding-agentto^1.5.0(#128) and resolvedminimatchto11.0.3to remediate GHSA-g3hv-75wg-m249 (<11.0.1).
Fixed
- Disabled model filtering: Exclude backend entries flagged
disabled: trueor suffixed-disabledfrom model discovery even when listed inagentModelSorts(#132, #136). - Cross-provider tool observation mimicry: Keep unsigned tool-call turn boundaries separated, track degraded observations accurately without false triggers on quoted markers, handle reused/colliding tool call IDs, and append a recency history note (#118).
- Pi 1.5.x compatibility: Import
Typefromtypeboxinread_url_contentinstead of@earendil-works/pi-aiand narrowProviderModelConfigtypes for text models. - False 429 on default Pi prompt: Sanitize Pi harness prompt fingerprints and
"practical, and tool-aware."insystemInstruction(including the defaultANTIGRAVITY_SYSTEM_INSTRUCTIONfallback) to prevent proxy-level429 RESOURCE_EXHAUSTEDrejections (#137, #139, #142).
v0.13.0
Feature release after 0.12.0.
- Gemini Enterprise routing for
euandus. Inference stays on the Business AI Code host for that location and does not fall back to the consumer endpoint. SetANTIGRAVITY_ENTERPRISE_PROJECTandANTIGRAVITY_USER_TIERfrom the license selector (#106). read_url_contentand/antigravity.fetchread public pages through Antigravity (#102).- Google One credit overages via
/antigravity.credits, off unless enabled (#112). generate_imageaccepts up to four in-project reference images (#104).- Each model uses its own published price (#103).
typeboxis a host-provided peer dependency (#116, #119).- Gemini 4 Carbon stays selectable when only daily or sandbox recommends it (#123).
- Generic resource-exhausted errors try other endpoints and a same-generation sibling tier (#122, #125).
before_provider_requestruns throughonPayload(#126).- Default User-Agent is agy CLI 1.5.5.
GitHub tag v0.13.0 is on 0d9f803. npm latest is still 0.12.0. The stored NPM_TOKEN fails with EOTP, so publish now uses GitHub OIDC and does not send that token. The latest run failed with ENEEDAUTH because the package has no trusted publisher yet. After that connection exists, pushing v0.13.0 again publishes 0.13.0.
v0.12.0
Security and reliability release following 0.11.0.
- Patch direct and development-tree Undici vulnerabilities; require Node >=22.19.0.
- Prevent image writes through project symlinks.
- Keep interactive startup responsive with background catalog refresh; retain headless refresh behavior.
- Recover from transient stream transport failures using endpoint fallback and fresh retry identities. Timeout errors now trigger Pi retry handling; default stream silence allowance is five minutes.
- Respect refreshed model catalogs when restoring selections or choosing compatibility fallbacks.
- Record served model/response identifiers and support opt-in deferred tools.
- Load tool schemas with current Pi releases through a direct TypeBox dependency.
- Update pinned setup-node and test Node 22.19.0, 24, and 26.
Validation includes typecheck, lint, formatting, security assertions, 17 regression scripts, dependency audits, and extracted npm tarball tests against Pi 1.5.0. Live authenticated generation and enterprise regional routing are not validated. Development-only moderate advisories and deferred PR decisions are documented in docs/release-0.12.0-audit.md. Use a currently patched Node.js runtime.
Integrated contributions: #99, #101, #105, #108, #111, #114. Security work supersedes #110. Resolves #98, #107, #113. Enterprise support (#106), major development upgrades (#100), web fetching (#102), pricing (#103), reference image upload (#104), and credit overages (#112) remain open for the reasons documented in the audit.
Publication status: VERIFIED. Published through the maintainer's authenticated npm CLI after browser approval, following the CI credential EOTP failure. npm latest is 0.12.0. Registry tarball integrity matches the validated artifact (sha512-DtTldnzjz5vuL+S+aIF3it4EnwzlvQiez/dYR39tUnd7cUsTEfLz4yDkw1K3Q/sBz+9tLMi2YmB8JxJiLazinw==). A fresh registry installation succeeded and npm audit reported zero vulnerabilities. This local publication does not carry GitHub Actions provenance; CI authentication/trusted publishing still needs configuration for future automated releases.
Package: https://www.npmjs.com/package/pi-antigravity/v/0.12.0
Branch protection was migrated from obsolete Node 20/22 check names to the current Node 22.19.0/24/26 matrix and both CodeQL analysis jobs, retaining strict branch freshness. All five checks passed. Main branch CodeQL now has no open alerts; heuristic secret scanning and dependency audits are not a proof of absence of all vulnerabilities.
v0.11.0
Added
- Per-claim search citations: Google Search results follow grounding redirects and page titles, then cite each claim with a real label and URL. Enrichment is bounded, skips private and non-HTTP destinations, and can be disabled with
ANTIGRAVITY_NO_SOURCE_ENRICH=1(#86).
Changed
- Live catalogs: A successful discovery replaces the selectable catalog with advertised models, capabilities, and token limits instead of re-inserting missing static entries. Lookup is exact. Older caches and account changes refresh on the next network-enabled run (#90, #92, #93).
- Client fingerprint: Default User-Agent is aligned with official CLI
1.4.0(antigravity/cli/1.4.0), ensuring capability gating exposes Gemini 4 Argon and newest agent routes (#93, #94, #95, #96, #97). - Active model curation: Prioritize Google's curated
agentModelSortsduring model discovery and/antigravity.models, matching officialagyCLI behavior and filtering out deprecated/retired routes likegemini-pro-agentand historical 2.5/3.1 Pro models that fail or loop in retries (#89, #97).
Fixed
- Default Google Search: Lite searches no longer send
thinkingBudget: 0, which the backend rejects with HTTP 400. Model-specific invalid-argument responses try the remaining search fallbacks (#84, #85, #88). - Unavailable models: A generic 429
RESOURCE_EXHAUSTEDwithout a reset hint fails immediately, keeps the backend message, and suggests a Flash model instead of looking like a quota wall that Pi retries (#89). - Headless catalogs: Session start refreshes the persisted catalog outside the interactive picker, so a later
pi -prun can resolve newly entitled models (#93). - Static diagnostics: Requests that skip dynamic discovery still record the matched runtime and known catalog instead of
matched=none, available=unknown(#89).
Full changelog: v0.10.0...v0.11.0
v0.10.0
Added
- Native image API: Pi
generateImages/ codemode can callgemini-3.1-flash-imagewithout saving files (#82). - Per-feature toggles:
pi configcan disablesrc/features/google-search.tsorsrc/features/generate-image.tswhile keeping the provider and slash commands. Environment variables still force a loaded tool off (#79).
Changed
- Google Search default: Interactive search uses
gemini-3.5-flash-litewith a compact evidence brief and no default thinking budget.--thinkingand--modelstill override it. Fallbacks aregemini-3.1-flash-liteandgemini-3-flash(#80). - Image requests: Default image model is
gemini-3.1-flash-image, using the direct image endpoint andimage_genrequest type, with the legacy stream endpoint only on HTTP 404 (#81).
Fixed
- Subscription marker: Antigravity models are classified as subscription-backed, so Pi shows the footer
(sub)marker (#74). - Search citations: Inline Google Search citations use UTF-8 byte offsets and keep original source indexes (#78).
- Session IDs: Explicit and fallback session IDs are stable signed-int64 values instead of a new random ID on every omitted-ID request (#76, #77).
- Mid-stream errors: A trailing 500/503 body, or a stream that ends without
finishReason, is reported as an error instead of a successful stop (#72). - Account verification: A 403
VALIDATION_REQUIREDresponse includes theaccounts.google.comverification link./antigravity.doctorstill redacts that link (#73).
Full changelog: v0.9.0...v0.10.0
v0.9.0
Added
- Extra tool toggles:
ANTIGRAVITY_NO_EXTRA_TOOLS,ANTIGRAVITY_NO_SEARCH_TOOL, andANTIGRAVITY_NO_IMAGE_TOOLstop thegoogle_search/generate_imagetools from being registered so they do not clash with other search providers (#65).
Changed
- Dependencies: undici 8.11.2 and pi 0.86.1, clearing the high-severity undici advisories reported by
yarn audit.
Fixed
- Emoji corruption:
sanitizeTextnow only replaces unpaired surrogates, so valid emoji are no longer turned into U+FFFD (#66, #67, thanks @sobh). - OAuth response decompression: use Undici fetch for Google OAuth requests so SDK hosts do not parse raw gzip bytes as JSON on Node 26 (#69, thanks @Nyarlathoteppppp).
Full changelog: v0.8.1...v0.9.0
v0.8.0
What's Changed
Added
- Linked Google accounts:
/login antigravitykeeps previous accounts. Manage them with/antigravity.accounts,/antigravity.accounts switch <index|email>, and/antigravity.accounts remove <index|email>. A hard quota wall automatically fails over to the next linked account (#47).
Changed
- Yarn 4 toolchain: Development, CI, and publish use Corepack-pinned Yarn 4 instead of Bun. Installs disable lifecycle scripts, verify lockfile checksums, apply a 3-day npm publish age gate, and run
yarn npm audit. Releases publish with npm provenance.
Fixed
- Pi 0.86 tools and system prompt: Requests no longer go out without tools or with the fallback persona. The provider reads prompt and tool declarations from Pi 0.86 transcript system messages, so
MALFORMED_FUNCTION_CALLloops on Gemini and raw XML tool text on Claude are resolved (#52, #55, #57). - Startup freeze: TLS pre-warm runs on the first Antigravity request instead of at extension load, so Pi no longer stalls for ~10s on Node 24 (#50).
Full Changelog: v0.7.3...v0.8.0
v0.7.3
What's Changed
Fixes and Reliability Improvements
- Conversation Boundary Normalization (#48): Fixed HTTP 400 errors returned by Antigravity when compacted/truncated history drops the user turn before an assistant tool call. Automatically restores a user continuation bridge (
CONTINUATION_TEXT) before model function calls, appends continuation turns to trailing model text responses, and catches unfulfilled tool calls early. Resolves #45 (thanks @wangjq4214!). - Transient 429 Retry Classification (#49): Fixed issue where transient 429 throttling (
Resource has been exhausted (e.g. check quota).) without reset hints was incorrectly surfaced as a hard"Quota reached"wall, suppressing Pi's automatic retry backoff. Now classifies transient 429s asRate limited by Antigravity (429 ResourceExhausted)...to allow Pi's exponential backoff retry to engage automatically, while keeping genuine quota walls non-retryable. Resolves #49 (thanks @cccccyccccc!). - Actionable 400 Diagnostics: Clear guidance clarifying that conversation boundary errors do not require re-logging in with
/login antigravity.
Validation
- CI, CodeQL, typecheck, lint, formatting, security checks, and routing test suites passed.