Change8

v0.42.0-preview.0

Gemini CLI
6 features21 fixes7 improvementscliextensionsmcpthemestools

Summary

This release introduces several new user-facing capabilities, including the ability to delete sessions via the /exit command, support for @ mentioning the Gemini robot, and the addition of voice mode features like a microphone button. Numerous bug fixes address stability, especially around CLI operations, API timeouts, and environment handling, alongside improvements to model defaults and proxy support.

New Features

  • Added the --delete flag to the /exit command for session deletion.
  • Enabled users to @ mention the gemini robot in interactions.
  • Added a 'list' subcommand to the /commands feature.
  • Added microphone support and updated the placeholder text for voice mode.
  • Enabled Gemma 4 models by default via the Gemini API.
  • Added 'delete' as an alias for the /extensions uninstall command.

Bug Fixes

  • Prevented automatic updates from switching to less stable channels in the CLI.
  • Fixed passing of node arguments via NODE_OPTIONS during relaunch, ensuring support for SEA.
  • Handled DECKPAM keypad Enter sequences correctly in the terminal.
  • Fixed missing oauth fields support during subagent parsing in the core.
  • Ensured extension-backed MCP clients are disconnected properly in stopExtension.
  • Added an explicit empty log guard in A2A pushMessage.
  • Fixed API key validation logic in handleApiKeySubmit.
  • Prevented exit_plan_mode from being called via shell.
  • Corrected inconsistent case-sensitivity when using GrepTool.
  • Refined platform-specific undo/redo and smart bubbling for WSL environments.
  • Suppressed duplicate extension warnings that occurred during startup.
  • Fixed handling of the InvalidStream event in the CLI without throwing errors.
  • Prevented informational logs from polluting JSON output.
  • Ensured tool output cleanup occurs on session deletion for legacy files.
  • Reported AgentExecutionBlocked correctly in non-interactive programmatic modes.
  • Silently skipped GEMINI.md paths that were directories (EISDIR).
  • Fixed voice transcription insertion to occur at the cursor position instead of the end of the input.
  • Fixed an issue with box edges in the UI.
  • Prevented GOOGLE_CLOUD_PROJECT from being overridden in Cloud Shell when using Vertex AI.
  • Ensured the .env override for GOOGLE_CLOUD_PROJECT is respected.
  • Fixed auto-update checks to use the resolved sandbox state.

Improvements

  • Updated documentation links for plan-mode session retention to point to actual /settings labels.
  • Reduced the default API timeout to 60 seconds and enabled retries for undici timeouts.
  • Distinguished fallback chains and fixed maxAttempts for auto vs explicit model selection.
  • Allowed non-https proxy URLs to support container environments.
  • Refined platform-specific undo/redo and smart bubbling for WSL.
  • Made the shell tool header wrap correctly on Ctrl+O.
  • Fixed the UI issue with box edges.

Related Documentation

Gemini CLI Documentation

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