Change8

v0.39.0-preview.0

Gemini CLI
13 features20 fixes12 improvementsclimcpthemestools

Summary

This release introduces significant stability and capability enhancements, including a new /memory inbox command for skill review and required user confirmation for Plan Mode skill activation. Numerous bug fixes address critical issues related to sandbox cleanup, session resumption, and memory leaks across core components. Users will also benefit from improved CLI usability, such as word deletion support in Windows Terminal and refined tool output formatting.

New Features

  • Added the /memory inbox command for reviewing extracted skills.
  • Introduced user confirmation required for activating skills in Plan Mode.
  • Refined shell tool description display logic.
  • Refined tool output formatting for compact mode.
  • Implemented the useAgentStream hook in the CLI.
  • Wired up useAgentStream in AppContainer.
  • Migrated chat recording to JSONL streaming format.
  • Refactored the subagent tool to use a unified invoke_subagent tool.
  • Added Strategic Re-evaluation guidance to the system prompt.
  • Added a large memory regression test.
  • Enabled support for Ctrl+Shift+G input.
  • Added an optional debugRainbow setting for debugging UI.
  • Persisted subagent agentId in tool call records.

Bug Fixes

  • Ensured robust sandbox cleanup across all process execution paths.
  • Fixed Windows symlink bypass issues and stabilized sandbox integration tests.
  • Restored file path display in edit and write tool confirmations.
  • Fixed resume bugs by dynamically injecting session IDs.
  • Fixed an issue where Ctrl+Backspace for word deletion was not enabled in Windows Terminal.
  • Fixed sandbox checkpointing errors by adding explicit git identity environment variables.
  • Fixed an issue where FooterConfigDialog respected hideContextPercentage even when closed without changes.
  • Suppressed unhandled AbortError logs that occurred during request cancellation.
  • Honored retryDelay in RetryInfo for 503 errors.
  • Remediated subagent memory leaks by using AbortSignal in MessageBus.
  • Cleared 5-minute timeouts in the OAuth flow to prevent memory leaks.
  • Fixed PTY exhaustion and orphan MCP subprocess leaks.
  • Silently handled EPERM errors when listing directory structures.
  • Fixed decoding issues for Uint8Array and multi-byte UTF-8 characters in API error messages.
  • Resolved lifecycle memory leaks by cleaning up listeners and root closures.
  • Marked /settings as unsafe to run concurrently.
  • Removed buffer slicing to prevent Out-Of-Memory errors on large output streams.
  • Fixed shell execution configuration fields not being preserved on update.
  • Passed the session ID to interactive shell executions.
  • Resolved text sanitization data loss caused by C1 control characters.

Improvements

  • Simplified policy priorities and consolidated read-only rules.
  • Added memory usage and CPU performance integration test harnesses.
  • Generalize evals infrastructure to support more types of evals, organization, and queuing of named suites.
  • Optimized startup time by using a lightweight parent process.
  • Centralized sandbox paths in the macOS Seatbelt implementation.
  • Centralized path resolution for the Linux sandbox.
  • Centralized async git worktree resolution and enforced read-only security in the sandbox.
  • Cleaned up the default plan TOML configuration.
  • Removed legacy subagent wrapping tools.
  • Increased codebase investigator turn limits to 50.
  • Updated ink version to 6.6.8 and 6.6.9.
  • Updated documentation regarding f12 description and clarified MCP sandbox setup, including vi shortcuts.

Gemini CLI Documentation

Gemini CLI v0.39.0-preview.0 - What's New - Change8