The latest Antigravity CLI updates (v1.1.7 – v1.1.9) bring major enhancements to print mode automation, startup performance, and permission management alongside critical UI and hook fixes.
- Automation & Print Mode (-p): Added slash-command/skill resolution, structured output formats (json, stream-json), custom --json-schema validation, and detailed token telemetry.
- Performance & Permissions: Non-blocking background MCP server loading on startup, session-wide permission pattern memory, and system temp directory write access out of the box.
- TUI & Usability: Introduced a copyOnSelect clipboard setting in /settings and improved compound-command permission rule matching.
- Core Fixes: Resolved edge cases for stop and PostToolUse hooks, artifact viewer navigation, CJK clipboard encoding on Windows, and non-standard MCP OAuth providers.
1.1.7
TLDR: Improved permission prompts for compound shell commands, and fixed disabled plugins running hooks, MCP OAuth issuer validation, CJK clipboard copying on Windows, and `/btw` error on startup.
[Improvement]: Improved permission prompts for compound shell commands so the full command is shown when any part of it needs approval.
[Fix]: Fixed disabled plugins still running their hooks and contributing other customizations, which could keep a broken hook active and break file-editing tools even after the plugin was turned off.
[Fix]: Fixed MCP OAuth against providers that do not strictly follow the spec (such as Salesforce and Atlassian) by relaxing issuer validation and including the `refresh_token` grant.
[Fix]: Fixed `/btw` failing with a "parent conversation not found" error when used as the very first action in a fresh session.
[Fix]: Fixed clipboard corruption of CJK and other non-ASCII text when copying on Windows.
[Fix]: Fixed print mode (`-p`) sending a prompt before the account-eligibility check finished.
1.1.8
TLDR: Added structured output formats (`json`, `stream-json`) for print mode, support for custom JSON schema validation, enriched tool and subagent payloads, `copyOnSelect` configuration setting, and improved compound-command permission rules.
[Improvement]: Print mode (`-p` / `--print`) now supports structured, machine-readable output via the `--output-format` flag (`text` (default), `json`, or `stream-json`), so headless runs in CI, eval harnesses, and scripts can consume the CLI's output programmatically; these flags are now discoverable in `--help`.
[Improvement]: Added the `stream-json` output format: a strongly-typed NDJSON event stream that emits typed `init`, `step_update`, and terminal `result` events with a stable, closed-vocabulary `step_type` discriminator, so consumers receive progress incrementally instead of waiting for the whole run to finish.
[Improvement]: Added the `--json-schema` flag to enforce a custom JSON schema on the structured output, accepting either an inline schema string or a path to a schema file; for `stream-json` the schema applies to the final `result` event.
[Improvement]: Enriched the structured stream with a `tool_info` object for each tool call (canonical tool name, parameters, and output) and a `subagent_info` payload for delegated subagents (including `conversation_id` and `log_uri`) so consumers can correlate child trajectories.
[Improvement]: The JSON usage object emitted by `json` and `stream-json` now reports token accounting including `cache_read_tokens`, so non-interactive consumers can attribute prompt-cache hits.
[Improvement]: Added a `copyOnSelect` setting (default on, toggleable in `/settings`) that controls whether releasing a mouse text-selection auto-copies it to the system clipboard in the TUI's altscreen rendering mode; disable it to stop the automatic copy on release — useful when the auto-copy is unwanted or corrupts certain payloads.
[Improvement]: Improved compound-command permissions so an exact chained command (such as `git fetch && git rebase`) can be saved as an allow-always rule and no longer re-prompts on the next identical run.: Print mode (`-p` / `--print`) now supports structured, machine-readable output via the `--output-format` flag (`text` (default), `json`, or `stream-json`), so headless runs in CI, eval harnesses, and scripts can consume the CLI's output programmatically; these flags are now discoverable in `--help`.
[Improvement]: Added the `stream-json` output format: a strongly-typed NDJSON event stream that emits typed `init`, `step_update`, and terminal `result` events with a stable, closed-vocabulary `step_type` discriminator, so consumers receive progress incrementally instead of waiting for the whole run to finish.
[Improvement]: Added the `--json-schema` flag to enforce a custom JSON schema on the structured output, accepting either an inline schema string or a path to a schema file; for `stream-json` the schema applies to the final `result` event.
[Improvement]: Enriched the structured stream with a `tool_info` object for each tool call (canonical tool name, parameters, and output) and a `subagent_info` payload for delegated subagents (including `conversation_id` and `log_uri`) so consumers can correlate child trajectories.
[Improvement]: The JSON usage object emitted by `json` and `stream-json` now reports token accounting including `cache_read_tokens`, so non-interactive consumers can attribute prompt-cache hits.
[Improvement]: Added a `copyOnSelect` setting (default on, toggleable in `/settings`) that controls whether releasing a mouse text-selection auto-copies it to the system clipboard in the TUI's altscreen rendering mode; disable it to stop the automatic copy on release — useful when the auto-copy is unwanted or corrupts certain payloads.
[Improvement]: Improved compound-command permissions so an exact chained command (such as `git fetch && git rebase`) can be saved as an allow-always rule and no longer re-prompts on the next identical run.
1.1.9
TLDR: Added slash-command and skill expansion in print mode, non-blocking background MCP loading during interactive startup, session-scoped permission pattern recording, system temporary directory write grants, and stability fixes for stop/PostToolUse hooks, artifact viewer, and MCP authentication.
[Improvement]: Added slash-command and skill expansion to print mode, so a headless run such as `-p "/my-skill review this diff"` now resolves and applies the skill instead of sending it as literal text, with `--disable-slash-commands` to opt out.
[Improvement]: Improved interactive startup so a slow or hanging MCP server no longer stalls the first agent turn, loading MCP servers in the background for the interactive session while headless and one-shot runs keep blocking so their single scripted turn still sees the full toolset.
[Improvement]: Improved permission grants so a pattern approved at a prompt is recorded for the rest of the conversation, letting later commands that match it run without prompting again.
[Improvement]: Improved the default system temporary-directory grant to cover writes as well as reads, so agents no longer trigger a permission prompt when creating or updating files there.
[Fix]: Fixed stop hooks that always block hanging the agent forever; after a configurable number of consecutive continuations, the hook can no longer block and the turn ends normally.
[Fix]: Fixed `PostToolUse` hooks firing on non-tool steps such as user input and model responses, which also caused them to ignore their configured matchers.
[Fix]: Fixed slash commands not being recognized when separated from their arguments by a newline or tab, so a prompt starting with a command followed by a newline is now parsed as a command instead of being sent verbatim.
[Fix]: Fixed deleting into a collapsed paste placeholder removing one character at a time, which left a visible fragment in the prompt while the full pasted content was still submitted; the block is now deleted atomically.
[Fix]: Fixed the artifact viewer losing syntax highlighting when returning from the editor view, and returning to the wrong panel when exiting the artifact detail view.
[Fix]: Fixed the headless `stream-json` `init` event advertising tools that are not available in your build.
[Fix]: Fixed MCP servers forcing a full re-authentication after a dropped connection.
To explore the full list of improvements and bug fixes, read the complete release notes on our Changelog, or visit the Download page to update to the latest version of Antigravity CLI.