Change8

v0.36.0-nightly.20260321.fc03891a1

Gemini CLI
19 features13 fixes9 improvementscliextensionsmcpthemestools

Summary

This release introduces significant enhancements to agent execution, including local execution and tool isolation for subagents, alongside native sandboxing support for both macOS and Windows. Key fixes address issues with subagent state persistence and UI rendering, while new features enable plan mode in non-interactive sessions and add Git worktree support for parallel development.

New Features

  • Introduced local execution and tool isolation for subagents.
  • Enabled plan mode support in non-interactive command-line execution.
  • Implemented strict macOS sandboxing using a Seatbelt allowlist.
  • Added native Windows sandboxing support.
  • Introduced Git worktree support, enabling isolated parallel sessions.
  • Added telemetry tracking for sessions running within a Git worktree.
  • Added an experimental memory manager agent to replace the save_memory tool.
  • Added content-utils for core functionality.
  • Implemented partial threading of AgentLoopContext.
  • Injected memory and JIT context into subagents.
  • Capped JIT context upward traversal at the Git root directory.
  • Added support for admin-forced MCP server installations.
  • Conditionally excluded the ask_user tool when operating in ACP mode.
  • Introduced AgentSession and renamed stream events to agent events for clarity.
  • Added support for linking in the extension registry.
  • Added a --skip-settings flag to the extension install command.
  • Added token usage metadata to the ACP send method's return value.
  • Added a security prompt specifically for the browser agent.
  • Refined the User-Agent string for VS Code traffic into a unified format.

Bug Fixes

  • Fixed stale closure data loss by lazily loading settings during onModelChange in the CLI.
  • Resolved issues related to subagent grouping and UI state persistence.
  • Fixed an issue where subagent thoughts were incorrectly appended.
  • Resolved duplicate footer display when canceling a tool via the ESC key.
  • Fixed flickering issues observed in the UI when running in small terminal heights.
  • Provided more metadata in tool_call_update for ACP.
  • Circumvented the requirement for an API key when using gateway authentication via ACP.
  • Prevented the browser consent sentinel from being persisted in non-interactive mode.
  • Narrowed the browser agent description to prevent it from incorrectly taking URL tasks meant for web_fetch.
  • Enabled the "Allow all server tools" session policy for the browser agent.
  • Fixed sanitization issues related to subagent thoughts and centralized utilities.
  • Correctly handled auto-update functionality for standalone binaries.
  • Fixed an issue where plan mode policies were incorrectly overriding normal mode policies.

Improvements

  • Formatted multi-line banner warnings to include a bold title for better visibility.
  • Removed the 'write todo list' tool from UI tips.
  • Removed references to stale Gemini CLI file structure information in documentation.
  • Added FAQ entry detailing how to check the Gemini CLI version.
  • Upgraded the ACP SDK from version 0.12 to 0.16.1.
  • Added ModelChain support to ModelConfigService and made ModelDialog dynamic.
  • Ensured that copied extensions are writable in the user's local directory.
  • Updated callouts to function correctly on GitHub.
  • Clarified that plan mode policies are combined with normal mode policies.

Gemini CLI Documentation

Gemini CLI v0.36.0-nightly.20260321.fc03891a1 - What's New - Change8