Change8

v0.27.0-nightly.20260126.cb772a5b7

Gemini CLI
21 features21 fixes9 improvementscliextensionsmcpthemestools

Summary

This release introduces significant new capabilities, including the /rewind command, persistent planning settings, and improved agent discovery via the new `/agents config` command. Several critical bugs were addressed, such as fixing crashes on authentication failure and resolving connection issues within Docker/SSH environments. Users will also benefit from better handling of large text pastes and new image pasting support on Linux.

New Features

  • Enabled 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.
  • Enabled queuing of specific nightly evaluation tests.
  • Implemented the /rewind command for conversation history navigation.
  • Added IDE detection capabilities for JetBrains IDEs.
  • Added the AskUser tool schema.
  • Added state management and plumbing for the agent configuration dialog.
  • Introduced the docs-writer new skill.
  • Added the 'communicate' tool kind for planning.
  • Enabled A/B Testing for Numerical Complexity Scoring for Gemini 3.
  • Updated the UI Theme for Plan Mode.
  • Added the /agents config command and improved agent discovery.
  • Added enable/disable commands for MCP servers.
  • Enabled agents to refresh after loading an extension.
  • Implemented a simple workflow for planning in the main agent.
  • Added alternative command names for the Antigravity editor detection.
  • Added the AskUserDialog UI component for the AskUser tool.
  • Displayed the user tier in the about command output.
  • Added `clearContext` to `AfterAgent` hooks.
  • Implemented persistent `approvalMode` setting for planning.

Bug Fixes

  • Fixed crash when initial authentication fails.
  • Resolved layout jitter in the CLI settings bar.
  • Fixed showing whitespace changes correctly in edit tool diffs.
  • Fixed IDE-client connection issues to ide-companion when running inside Docker via SSH/devcontainer.
  • Resolved AbortSignal MaxListenersExceededWarning.
  • Fixed rewind command to start at the bottom and ensure loadHistory refreshes static content.
  • Fixed UI stabilization during terminal resize in alternate buffer mode.
  • Fixed default behavior to use interactive mode for positional arguments.
  • Fixed including source information in policy rule display.
  • Removed obsolete CloudCode PerDay quota and the 120s terminal threshold.
  • Fixed including the MCP server name in the OAuth message.
  • Fixed the pr-triage.sh script to correctly update pull requests with tags "help wanted" and "maintainer only".
  • Fixed the exit code to be non-zero when esbuild is missing.
  • Ensured correct ordering and testing for @-command UI messages.
  • Fixed awaiting MCP initialization in non-interactive mode.
  • Fixed gracefully handling disk full errors during chat recording.
  • Fixed OAuth to use 127.0.0.1 instead of localhost.
  • Fixed using RFC 9728 compliant path-based OAuth protected resource discovery.
  • Fixed preserving input text when declining tool approval.
  • Fixed the image paste location to use the global temp directory.
  • Fixed line endings issue with the Notice file.

Improvements

  • Wrapped hook-injected context in distinct XML tags for security.
  • Replaced redundant calls for getting Linux clipboard tool, as the function now handles caching internally.
  • Sanitized command names and descriptions.
  • Disabled tips after 10 runs.
  • Removed legacy settings.
  • Refactored subagent delegation to use one tool per agent.
  • Fixed modifyOtherKeys enablement on unsupported terminals.
  • Upgraded dependency: diff from 7.0.0 to 8.0.3.
  • Removed obsolete CloudCode PerDay quota and 120s terminal threshold.

Related Documentation

Gemini CLI Documentation