Change8

v0.24.0

Gemini CLI
25 features11 fixes7 improvementscliextensionsmcpthemestools

Summary

This release introduces significant enhancements to Agent Skills, including infrastructure setup, autonomous activation tools, and system prompt awareness. Key new features also include experimental in-CLI extension management and support for remote agents. Several stability improvements were made, such as fixing crashes related to I/O errors and enhancing policy engine granularity for shell command execution.

New Features

  • Added support for Folder Trust when using Hooks.
  • Introduced dynamic mode-aware policy evaluation.
  • Enabled automatic persistence of the last used /model across Gemini CLI sessions.
  • Implemented unified secrets sanitization and environment variable redaction options.
  • Added experimental in-CLI subcommands for installing and uninstalling extensions.
  • Added support for A2A Client Manager.
  • Enabled terse transformations of image paths within the text buffer.
  • Added security warnings and improved layout for the Hooks list.
  • Added project-level hook warnings for security context.
  • Added modifyOtherKeys protocol support for tmux integration.
  • Enabled granular shell command allowlisting within the policy engine.
  • Added support for remote agents and multi-agent TOML files.
  • Implemented tool input modification support.
  • Added instructions to the extensions update info notification.
  • Added extension settings information to the /extensions list command output.
  • Implemented Core Skill Infrastructure and Tiered Discovery for Agent Skills.
  • Added remote agents to the agent registry.
  • Implemented STOP_EXECUTION functionality and enhanced hook decision handling.
  • Implemented Autonomous Activation Tool and Context Injection for Agent Skills.
  • Added folder suggestions to the /dir add command.
  • Implemented Agent Integration and System Prompt Awareness for Agent Skills.
  • Added Status Bar Integration to display Skill Counts for Agent Skills.
  • Implemented Unification of Representation and Centralized Loading for Agent Skills.
  • Restored MessageBus optionality for soft migration (Phase 1).
  • Standardized Tool and Agent Invocation constructors (Phase 2).

Bug Fixes

  • Fixed a crash that occurred when cleaning up unhandled EIO errors during stdin read operations.
  • Fixed missing `type` field in MCPServerConfig.
  • Resolved an unhandled promise rejection in ide-client.ts.
  • Fixed failure to check if a directory is a repository in GitService.initialize.
  • Fixed an issue where the `enableShellOutputEfficiency` setting was missing from the settings schema.
  • Fixed the policy engine by enabling granular shell command allowlisting.
  • Deduplicated agent hooks and added cross-platform integration tests.
  • Fixed a build issue caused by a year-specific linter rule.
  • Fixed an unhandled promise rejection in mcp-client-manager.
  • Improved shell command detection when dealing with redirection.
  • Mocked powershell output in shell-utils tests to ensure stability.

Improvements

  • Improved error messages displayed when using the `--resume` flag.
  • Schema validation errors are now non-fatal, preventing process termination.
  • Limited the display of MCP resources to 10 items by default.
  • Unified shell security policy and removed legacy logic.
  • Enforced mandatory MessageBus injection (Phase 3 Hard Migration).
  • Added exponential back-off retries for retryable errors without a specified back-off duration.
  • Logged fallback mode status for better diagnostics.

Related Documentation

Gemini CLI Documentation