Change8

v0.27.0

Gemini CLI
22 features13 fixes14 improvementscliextensionsmcpthemestools

Summary

This release introduces significant new capabilities, including the event-driven tool execution scheduler and the new code-reviewer skill. Several core improvements focus on stability, such as fixing issues with authentication failures and improving GitHub workstream rollup efficiency. Users will also benefit from the new /rewind command and enhanced planning features like configurable approval modes.

New Features

  • Implemented an event-driven tool execution scheduler in the CLI.
  • Added the code-reviewer skill.
  • Extended Shift+Tab Mode Cycling to include Plan Mode.
  • Refactored TestRig and eval helper to support configurable approval modes.
  • Supported recursive workstream labeling and new IDs for workflows.
  • Enabled dynamic variable substitution in system prompt override.
  • Enabled recursive directory access for core functionality.
  • Added approval mode instructions to the system prompt for planning.
  • Enabled disableLLMCorrection by default in the core.
  • Consolidated shell inactivity and redirection monitoring in the CLI.
  • Enabled the EventDrivenScheduler by default in configuration.
  • Enabled the hooks system by default.
  • Enabled the AgentRegistry to track all discovered subagents.
  • Made subagents use a JSON schema type for input.
  • Replaced large text pastes with a [Pasted Text: X lines] placeholder.
  • Implemented the /rewind command.
  • Added detection for JetBrains IDEs.
  • Added the AskUser tool schema.
  • Added state management and plumbing for agent configuration dialog.
  • Added the docs-writer skill.
  • Implemented the /rewind command.
  • Added image pasting capabilities for Wayland and X11 on Linux.

Bug Fixes

  • Fixed efficiency and bugs related to the label-workstream-rollup GitHub feature.
  • Ensured CLI commands run correctly in non-interactive mode for admin tasks.
  • Fixed an issue where recursive directory access was not enabled.
  • Fixed crash when initial authentication fails.
  • Resolved layout jitter in the settings bar.
  • Fixed the edit tool diffs to correctly show whitespace changes.
  • Fixed the ide-client connection to ide-companion when operating inside Docker via SSH/devcontainer.
  • Resolved AbortSignal MaxListenersExceededWarning in the core.
  • Fixed the /policy command to display policies according to the current mode.
  • Fixed the scheduler to prevent stale tool re-publication and stuck UI states.
  • Fixed token count and telemetry updates when resuming chat history load.
  • Fixed the tool replace error message to be simpler.
  • Fixed rewind to start at the bottom and ensured loadHistory refreshes static content.

Improvements

  • Sanitized ANSI escape sequences in non-interactive CLI output.
  • Updated the text displayed when retrying from "Attempt" to "Retry".
  • Improved skill enablement/disablement verbiage in the CLI.
  • Decoupled UI from live tool execution via ToolActionsContext.
  • Removed redundant calls for getting the Linux clipboard tool, as caching is now internal.
  • Disabled tips after 10 runs.
  • Improved the placeholder for large text pastes.
  • Sanitized command names and descriptions.
  • Fixed the display of rewind references in documentation.
  • Removed unused modelHooks and toolHooks.
  • Removed unused slug from the sidebar.
  • Drained stdin on exit.
  • Wrapped hook-injected context in distinct XML tags for security.
  • Marked experimental features in documentation.

Gemini CLI Documentation