Change8

v0.26.0-nightly.20260119.20580d754

Gemini CLI
10 features12 fixes6 improvementsclimcpthemes

Summary

This release introduces significant new capabilities, including an experimental 'plan' approval mode and the addition of the 'generalist' agent, while enabling Agent Skills by default. Numerous stability fixes address OOM crashes, PTY descriptor leaks, and automation loop issues. Performance has also been improved with optimizations for handling large text inputs.

New Features

  • Added source tracking to policy rules for better auditing.
  • Introduced an experimental 'plan' approval mode for execution control.
  • Added a functional `awaitConfirmation` utility for scheduling operations.
  • Added the `generalist` agent.
  • Enabled agent skills functionality by default.
  • Implemented admin controls polling and added a restart prompt for administrators.
  • Renamed negative settings (e.g., `disable*`) to positive naming (e.g., `enable*`) for clarity.
  • Replaced relative keyboard shortcuts link with a direct web URL.
  • Enforced strict read-only policy within 'plan' mode and halts execution upon violation.
  • Removed `read_many_files` capability from 'plan' approval mode policies.

Bug Fixes

  • Fixed a crash that could occur when aborting a ModelInfo event emission.
  • Prevented an infinite loop in the label-enforcer automation by ignoring all bots.
  • Fixed robust label enforcement logic to correctly incorporate permission checks.
  • Prevented an Out-Of-Memory (OOM) crash by limiting file search traversal depth and adding a timeout.
  • Safely handled access to `/dev/tty` on macOS environments.
  • Fixed a shell descriptor leak in the PTY handling core component.
  • Truncated large telemetry log entries to prevent excessive logging.
  • Surfaced configuration warnings for invalid hook event names.
  • Enabled the `/hooks disable` command to reliably stop single hooks.
  • Fixed a race condition by ensuring `scheduleToolCalls` is properly awaited.
  • Fixed OAuth redirect port stabilization and resolved a PKCE length issue.
  • Fixed an issue where experiment values, specifically `compressionThreshold`, were not showing in the settings UI.

Improvements

  • Steered the outer agent to utilize expert subagents when they are present.
  • Organized key bindings for better discoverability.
  • Optimized text buffer and highlighting performance for handling large inputs.
  • Refactored core truncation logic and optimized token estimation.
  • Unified shell confirmation dialogs across the CLI.
  • Removed the deprecated LRUCache class, migrating functionality to `mnemoist`.

Related Documentation

Gemini CLI Documentation

Gemini CLI v0.26.0-nightly.20260119.20580d754 - What's New - Change8