- Added Gemini 4 Hydrogen (Low, Medium, High, and XHigh) and Gemini 4 Carbon (Low, Medium, and High) to
/modeland--modelwhen you connect with aGEMINI_API_KEY, added Gemini 4 Hydrogen (Low, Medium, High, and XHigh) when you sign in with Application Default Credentials (AGY_ADC_AUTH), and added support for Gemini 4 Hydrogen through an enterprise model gateway. - Added click-to-expand in the
full screen (altscreen)rendering mode: clicking a tool group, a thought, a prompt's attached images, or multi-line command output now expands or collapses just that item, so you no longer have to useCtrl+O. The defaultRendering Modeis unchanged. - Added context window usage updates to
agy acpsessions, so editors such as JetBrains AI Chat can show how much of the model's context window the conversation is using; the value is sent when a session starts or is reloaded, after each model call, and after a model or thinking level change. - Added support for two admin settings:
gateway.routeWebFetchstops the agent's web page reads from going around an enterprise model gateway by disabling URL reading unless aproxy.addressis configured, andfeatureControls.remoteControlEnabledlets an organization turn off Remote Control. With an enterprise model gateway, web pages are now fetched directly from your machine (throughproxy.addresswhen set) instead of through Google's fetch service. - Improved the first message of a conversation in
--remote-agentsessions, which no longer waits for its remote environment to start or resume: the CLI now prepares a new conversation's environment as soon as the session knows its remote project, and again after/newor switching projects, and starts a resumed conversation's idle environment in the background as soon as it opens with--continueor--conversation=<id>. - Fixed a security issue in the terminal sandbox's network proxy where a command could get around path-based network rules, such as those limiting where credentials are sent or which Git and API paths are allowed, by using percent-encoded slashes (
%2F), backslashes, or..segments in a URL path; every way of reading the path is now checked against the rules, and the cleaned-up path is the one sent upstream. - Fixed always-allow command rules on Windows so they can no longer be bypassed when the shell is
cmd,cmd.exe,powershell.exe,pwsh.exe, or a full path to one of them. Commands run in PowerShell or Command Prompt now always need an exact match, because their quoting rules differ from POSIX shells. A command with hidden extra statements, such asgit status '&& del secret.txt', could otherwise be approved by a rule meant only forgit status. - Fixed permission rules for MCP tools, such as an
mcp(server/tool)deny or ask rule, being ignored for MCP tools that are loaded up front (marked eager inmcp_config.json) and for the/browsersubagent's Chrome DevTools tools; these tools now ask for approval or are blocked according to your rules, like other MCP tools. - Fixed
/plugin,agy plugin, and headless-pruns ignoring your organization's Gemini Enterprise admin controls for plugins: when an administrator disables plugins, installing, importing, or enabling one now fails withplugins are disabled by your organization, and when the plugin marketplace is disabled, marketplace catalogs are not fetched and marketplace installs fail; listing, disabling, and uninstalling plugins still work. - Fixed hook commands on Windows that contain double quotes, such as
type "C:\my dir\deny.json", failing and being silently skipped, which let aPreInvocationorPreToolUsehook that should block the agent go unenforced; hook commands are now passed tocmd.exeexactly as written. - Fixed files saved with a UTF-8 byte order mark (BOM), as Windows PowerShell, Visual Studio, and Notepad's "UTF-8 with BOM" option do, being silently ignored:
settings.jsonand files passed to--settingsare no longer rejected as malformed, ahooks.jsonno longer leaves/hooksempty with none of its hooks running, and custom agent and rule files no longer go missing from/agentsand the agent picker or lose their frontmatter trigger. - Fixed opening your external editor on Windows when
EDITORor theEditorsetting is a normal Windows path such asC:\Tools\ed.cmdor"C:\Program Files\Vim\vim.exe"; backslashes were dropped, soCtrl+G,/open,/keybindings, and artifact review failed with aneditor ... not found in PATHerror. - Fixed
!shell commands hanging forever with no output when the command wrote a lot to stderr, which was easy to hit on Windows with build tools that print progress or warnings to stderr; such commands now finish and show their stdout and stderr lines in the order they were written. - Fixed agent turns failing when a network connection silently went stale or the network dropped a shared HTTP/2 connection, for example with
http2: client connection force closed via ClientConn.Closeor after a socket write error; model requests now retry on a fresh connection and, if retries run out, show the CLI's network error message. Slow model responses also no longer time out after 60 seconds when an organization's admin settings configure a proxy or custom CA certificate. - Fixed the CLI sometimes never exiting after a session, and background requests such as generating a conversation title, worktree name, or commit message hanging, when the model answered one of those requests with an unexpectedly long reply.
- Fixed a single empty or corrupted queued message file, for example one left behind by an unclean shutdown, blocking every later message to the agent, so background task completions, timers, and subagent replies no longer silently stop reaching it; the unreadable file is set aside and the remaining messages are delivered.
- Fixed remote MCP servers that sign in with OAuth without a client secret signing you out as soon as the access token expired, typically after an hour; token refreshes now send the client ID the way the server requires, so you stay signed in, including with sign-ins saved by earlier versions.
- Fixed the agent telling you to click a Sign in button or use an Accounts tab, which the CLI doesn't have, when a plugin or plugin MCP server needs you to sign in; it now tells you to sign in with
/pluginand then send a message to continue, and/mcpshows the same/pluginguidance for a server that is waiting on a sign-in. - Fixed switching a conversation from a Gemini model to a custom or admin-managed non-Gemini model, such as Claude, failing with an
Invalid signature in thinking blockerror. - Fixed
/btwand/helpside questions failing withstream timed out after 5m0swhile the side question was still working: they now run until they finish or you pressEsc, which theThinking...line and the "already in progress" message now mention, and a side question that needs an approval the card can't show stops right away and tells you to ask in the main conversation instead. - Fixed
/learnrepeatedly appending to rule files such asGEMINI.mdorAGENTS.mduntil they grew past the rule size limit, after which their endings were silently cut off on every turn. Before updating a rule,/learnnow checks the documented size limits, and when an update would get close to or exceed them, it proposes condensing existing entries, splitting them into a scoped rule, or moving step-by-step guidance into a skill. - Fixed follow-up turns in a
--json-schemaconversation resumed with--conversationending on a plain-text reply with no structured result once an earlier turn had produced one; each new message now gets its own reminders to return the structured output, up to the usual limit per message. - Fixed
/rewindfailing with astep_index out of boundserror when you pressedEscwhile a turn was still starting and then rewound to remove that message. - Fixed
/diffshowing a made-up change at the end of a turn's diff for files larger than 500 KB when an earlier edit changed the file's length; the two versions are now cut off at the same line, so the preview shows only real edits. - Fixed
/search in the artifact viewer missing text split across different styles, such as a sentence containing a number or inline code, and leaving the rest of a styled line unstyled after a highlighted match; the current match is also now easier to pick out from the other matches in every color scheme. - Fixed status messages such as "Copied 3 lines (42 characters)" after selecting text, settings save errors, and permission reload notices never appearing when you use a custom status line; they now briefly replace your custom status line, which comes back once the message clears, without shifting the layout.
- Fixed the in-progress spinner line freezing until you restarted the CLI after you logged out while the agent was working and then signed back in; it now keeps animating.