v0.42.0-nightly.20260511.g1a894c18e
Gemini CLISummary
This release introduces new capabilities for session management, allowing users to export and import sessions, and enhances compatibility with IDEs by prefixing tool call IDs. Numerous bug fixes address issues related to environment variables, UI display, command conflicts, and tool response handling.
New Features
- Enabled exporting current session to a file and importing sessions via a command-line flag.
- Added Machine Hostname visibility to the CLI interface.
- Introduced LocalSubagentProtocol accessible behind AgentProtocol.
- Added RemoteSubagentProtocol accessible behind AgentProtocol.
- Prefixed tool call IDs with tool names to better support tool rendering in ACP compliant IDEs.
Bug Fixes
- Fixed an issue where the system PATH was not preserved in the Git environment, resolving ENOENT errors.
- Corrected an argument mismatch in ApprovalModeStrategy when resolving the classifier model.
- Fixed an issue where transcribed text failed to display after the user released the spacebar.
- Fixed command conflicts that occurred when launching the tool from the home directory.
- Fixed an issue where the /memory add subcommand was incorrectly visible when memoryV2 was enabled.
- Fixed an error where a function response turn did not immediately follow the corresponding function call.
- Resolved collision issues with streaming IDs during parallel tool calls.
- Fixed the StreamableHTTPClientTransport to correctly treat HTTP 404 responses as 405 errors.
- Fixed maintainer identification logic within the lifecycle manager.
- Fixed noisy theme registration logs appearing in the terminal output.
Improvements
- Implemented caching for model routing decisions within the LocalAgentExecutor.
- Added quotes around the session ID displayed in the resume tip for clarity.
- Implemented a loose boundary policy for the garbage collection backstop.
- Added explicit error handling when tool responses are dropped.
- Implemented codebase-aware effort level triage in CI processes.
- Improved the snapshotter functionality for context management.
Related Documentation
- https://github.com/google-gemini/gemini-cli/pull/26587
- https://github.com/google-gemini/gemini-cli/pull/26658
- https://github.com/google-gemini/gemini-cli/pull/23853
- https://github.com/google-gemini/gemini-cli/pull/26609
- https://github.com/google-gemini/gemini-cli/pull/26656
- https://github.com/google-gemini/gemini-cli/pull/26605
- https://github.com/google-gemini/gemini-cli/pull/23069
- https://github.com/google-gemini/gemini-cli/pull/26548
- https://github.com/google-gemini/gemini-cli/pull/26597
- https://github.com/google-gemini/gemini-cli/pull/26705
- https://github.com/google-gemini/gemini-cli/pull/26514
- https://github.com/google-gemini/gemini-cli/pull/25637
- https://github.com/google-gemini/gemini-cli/pull/26595
- https://github.com/google-gemini/gemini-cli/pull/26706
- https://github.com/google-gemini/gemini-cli/pull/26669
- https://github.com/google-gemini/gemini-cli/pull/26670
- https://github.com/google-gemini/gemini-cli/pull/26661
- https://github.com/google-gemini/gemini-cli/pull/26594
- https://github.com/google-gemini/gemini-cli/pull/26668
- https://github.com/google-gemini/gemini-cli/pull/26691
- https://github.com/google-gemini/gemini-cli/pull/26646
- https://github.com/google-gemini/gemini-cli/pull/25302
- https://github.com/google-gemini/gemini-cli/pull/25858
- https://github.com/google-gemini/gemini-cli/pull/26666
- https://github.com/google-gemini/gemini-cli/pull/26676
- https://github.com/google-gemini/gemini-cli/pull/24847
- https://github.com/google-gemini/gemini-cli/pull/25303
- https://github.com/google-gemini/gemini-cli/pull/26655
- https://github.com/google-gemini/gemini-cli/compare/v0.42.0-nightly.20260507.ga809bc7c5...v0.42.0-nightly.20260511.g1a894c18e