v0.41.0
Gemini CLISummary
This release introduces significant new capabilities, including experimental support for Gemma 4 models and real-time voice mode with both cloud and local backends. Numerous bug fixes address stability, including resolving a fatal crash on loop detection and improving Windows backspace handling. Users will also benefit from performance enhancements like faster startup times and better error reporting across the CLI and core.
New Features
- Added support for Gemma 4 models (experimental) in the core and CLI.
- Implemented real-time voice mode supporting both cloud and local backends.
- Enabled persistence of the auto-memory scratchpad for improved skill extraction.
- Introduced the ability to provide a manual session UUID via a command line argument.
- Enabled support for boolean and number casting for environment variables defined in settings.json.
- Wired up the new ContextManager and AgentChatHistory components in the core.
- Implemented a bot that performs time-series metric analysis and suggests repository management improvements.
Bug Fixes
- Fixed a fatal hard-crash that occurred due to an unhandled AbortError during loop detection.
- Fixed crash/issue where the 'list' suggestion was incorrectly shown when partial input was present (now only shown if input is empty).
- Fixed a Windows regression by reverting backspace handling in the CLI UI.
- Fixed an issue where output redirection for CLI commands was not allowed.
- Fixed an issue where the sandbox proxy cleanup was incomplete, leading to handler leaks.
- Fixed an issue where alternate buffer warning logic was incorrect for JetBrains environments.
- Fixed an issue where the MCP ping was not optional in the list command and did not use the configured timeout.
- Fixed an issue where transient errors were incorrectly marked as terminal in policy handling.
- Fixed an issue where non-string model flags caused errors during resolution in the core.
- Fixed an issue causing ACP stdout pollution from SessionEnd hooks.
- Fixed an issue where Request headers were not preserved in the DevTools activity logger.
- Fixed an issue where the custom theme text schema was missing a response key in the CLI.
- Fixed an issue where the background color check in user message components was incorrect.
- Fixed an issue where shell parsing failed for restricted rules in YOLO mode, preventing proper fail-closed behavior.
- Fixed an issue where better error messages were not provided for ECONNRESET and ETIMEDOUT network errors.
- Fixed an issue where a better error message was not provided for failed cloudshell-gca authentication.
- Fixed an issue where an ENOTDIR error lacked a helpful message in the UX.
- Fixed an issue where automatic update failure did not provide the user with a manual update command.
Improvements
- Enforced workspace trust in headless mode and secured .env loading.
- Enhanced shell command validation and added a core tools allowlist.
- Fixed slow boot time by fetching experiments and quota asynchronously.
- Updated the FatalUntrustedWorkspaceError message to include a relevant documentation link.
- Enforced parallel task tracker updates in the core.
- Made the MCP ping optional in the list command and used the configured timeout.