Change8

v0.31.0-preview.0

Gemini CLI
14 features15 fixes8 improvementscliextensionsmcpthemestools

Summary

This release introduces several new features, including support for macOS run-event notifications, experimental steering hints, and project-level policy implementation. Key fixes address issues with tool confirmation timeouts, incorrect handling of unknown slash commands, and improved stability in plan mode fallback scenarios. Users will also benefit from enhanced editing capabilities via improved ranged reads and fuzzy editing.

New Features

  • Added a hint to use `gemini --resume` upon exit.
  • Added Alt+D keyboard shortcut for forward word deletion in the CLI.
  • Added macOS run-event notifications for interactive use.
  • Added support for MCP progress updates.
  • Added experimental in-progress steering hints.
  • Included directories added via `/dir add` in @ autocomplete suggestions.
  • Admin settings now only apply if `adminControlsApplicable = true` and fetch errors are treated as fatal.
  • Centralized compatibility checks and added TrueColor detection.
  • Added support for setting the `experimental.useOSC52Copy` setting in the CLI.
  • Replaced the boolean setting for loading phrases with an enum setting.
  • Added support for configuring a custom plans storage directory.
  • Implemented project-level policy support.
  • Implemented parallel FC for read-only tools.
  • Added a `pr-address-comments` skill to assist with PR feedback.

Bug Fixes

  • Fixed the bottom border color in the UI.
  • Fixed an issue where the `onConfirm` callback was not supported in `ToolActionsContext`.
  • Fixed a safe fallback issue when the experiment setting for plan mode is disabled but startup approval mode is set to plan.
  • Fixed an issue where empty history items were being added to the UI.
  • Fixed an issue where the directory was not ensured to exist before writing a conversation file.
  • Fixed an issue where unknown slash commands were incorrectly showing an error instead of being treated as regular input.
  • Fixed an issue where ripgrep failed when the search pattern looked like a ripgrep flag.
  • Fixed auto-completion disabling Shift+Tab, preserving mode cycling.
  • Fixed an issue preventing empty history items from being added.
  • Fixed an issue where user rejections were not updating tool outcomes for telemetry.
  • Fixed an issue where the `ClearcutLogger` crashed when `os.cpus()` returned an empty result.
  • Fixed extra padding in the Composer component.
  • Fixed preventing duplicate tool approval entries from being written to `auto-saved.toml`.
  • Fixed an issue where tool confirmation timed out when no UI listeners were present.
  • Fixed an issue where messages that were too large caused problems.

Improvements

  • Improved ranged reads, limited searches, and fuzzy editing capabilities.
  • Optimized height calculations for the `ask_user` dialog.
  • Clarified constraints and the exit mechanism for plan mode.
  • Moved margin from the top to the bottom in `ToolGroupMessage`.
  • Improved error type extraction for telemetry.
  • Migrated the core render utility to use xterm.js within the rendering loop.
  • Replaced deprecated built-in punycode with a userland package.
  • Deflaked Windows tests.

Gemini CLI Documentation