Antigravity CLI v1.5.25: inline images in tmux and fail-open PreToolUse hooks#

Published by

Part of the Antigravity CLI Version Tracker series. | Antigravity CLI on GitHub | Changelog

Antigravity CLI v1.5.25 follows v1.5.24 with Kitty graphics passthrough inside tmux behind AGY_CLI_GRAPHICS, user and workspace PreToolUse hooks that fail open on execution errors, and a /theme that live-previews a color scheme as you scroll. Remote Control connection recovery and OS-proxy fallback round out the release.[1]

Inline images inside tmux#

With AGY_CLI_GRAPHICS=kitty set, the CLI passes the Kitty graphics protocol through tmux 3.3+ when the pane has set -g allow-passthrough on, so inline artifact images, diagrams, math, and /swarm board images render locally and over SSH.[1] The terminal graphics override variable moved from CLI_GRAPHICS to AGY_CLI_GRAPHICS, which takes kitty, iterm2, or off/none/false/0; CLI_GRAPHICS is no longer read. Truecolor detection over SSH (when COLORTERM is unset) now covers 15 terminals, adding iTerm2, WezTerm, Alacritty, Konsole, foot, Warp, and VTE-based terminals, and works inside shpool and zellij.

New environment variables#

VariableWhat It Does
AGY_CLI_GRAPHICSSets the terminal graphics mode (kitty, iterm2, or off/none/false/0), replacing CLI_GRAPHICS, which the CLI no longer reads.

v1.5.25 adds OpenTelemetry export variables, including ANTIGRAVITY_OTEL_EXPORTER_OTLP_ENDPOINT, ANTIGRAVITY_OTEL_SERVICE_NAME, and per-signal OTLP settings for traces and logs, for exporting telemetry to an OTLP collector.

PreToolUse hooks fail open on errors#

User and workspace PreToolUse hooks in hooks.json now fail open when they error out, covering missing binaries, timeouts, invalid JSON, and unrecognized decisions, instead of blocking every matching tool call.[1] A safety gate must now exit 0 and return {"decision": "deny"} to stop a call. Explicit policy decisions and organization-required hooks stay fail-closed. PreToolUse hooks that rewrite tool arguments also stopped rounding integers larger than 2^53, such as 64-bit IDs, and stopped mishandling JSON null payloads.

ACP, themes, and cloud project setup#

agy acp adds autoReview metadata, advertised through agentCapabilities._meta.antigravity.autoReview on initialize and attached to tool_call notifications and session/request_permission requests in auto and accept-edits modes, so an ACP client can tell an auto-approved tool call apart from an escalated one and read the escalation trigger.[1]

/theme live-previews the hovered color scheme across the CLI without writing to disk and restores the previous scheme on Esc. It also stopped listing and applying seasonal schemes while Seasonal Themes is turned off, and text inputs in panels such as /config search switched to a reverse-video cursor on light themes.

Creating or editing a cloud project in /projects during a --remote-agent session gains an optional Setup Script step, letting you preview, edit setup.sh in your configured editor, or clear the script while keeping the rest of the project settings. That script is the bash script run after a repository is cloned, also configurable through /env-setup.

Fixes#

OAuth sign-in and API requests fall back to the OS system proxy on Windows and macOS when it is configured without HTTP_PROXY or HTTPS_PROXY, while still honoring explicit proxy variables, NO_PROXY, and loopback bypasses.[1] Interactive keyring token refreshes stopped deleting an existing fallback OAuth token file, which had signed out background agy remote-control daemons and stranded SSH sessions when the OS keyring was locked. Remote Control connections that hung for up to 15 minutes after a brief network drop now recover within about a minute through HTTP/2 keepalive pings, and the browser view stopped sending repeated "Agent finished" notifications when a conversation ends in an error or is interrupted. Rolling 5-hour usage-limit errors now show "5-hour usage limit reached" with a "Select another model" action instead of retrying as transient errors, and GEMINI_API_KEY sessions print the server's user-facing message on HTTP 403 terms-of-service responses. /rewind previews stopped corrupting multi-byte UTF-8 characters, and agy plugin validate now checks that a plugin's MCP tool-name prefix (mcp_<plugin>_<server>_) fits the 64-character and character-set limits.

Reaching the agent over tmux, SSH, and dropped networks#

Much of v1.5.25 lands on sessions driven from a distance: graphics that survive a tmux or SSH hop, a Remote Control tunnel that reconnects after a network drop, keyring refreshes that leave the fallback token for a background daemon, and sign-in that follows the OS proxy when the usual variables are absent.

The hook change carries a consequence worth noting before you upgrade. A PreToolUse safety gate that relied on a nonzero exit, a crash, or a timeout to block a tool call will now let that call through, because only an explicit {"decision": "deny"} stops it. Anyone running local or workspace hooks as a guardrail should confirm each one returns a deny decision rather than depending on failure to block.

This analysis is conducted for educational and research purposes under fair use principles. All trademarks and software referenced belong to their respective owners.

Sources#

Previous Antigravity CLI analysis: v1.0.4 (December 4, 2026)

All 2 Antigravity CLI analyses: Antigravity CLI Version Tracker · Official Antigravity CLI changelog

Next Antigravity CLI release, by email

One email a week links the new Antigravity CLI release analyses and guides: changed settings, hooks, permissions and fixes, plus coverage of the other coding agents. A week with nothing new sends nothing.

One email a week plus occasional notes. Confirm by email; unsubscribe from any issue. Privacy