v0.41.0-preview.0
Gemini CLISummary
This release introduces significant new capabilities, including experimental support for Gemma 4 models and a real-time voice mode with both cloud and local backends. Several critical bugs were resolved, such as a fatal crash on loop detection and regressions in Windows backspace handling. Additionally, performance was improved by fetching experiments asynchronously to speed up boot time.
New Features
- Added support for Gemma 4 models (experimental) in the core.
- Implemented real-time voice mode supporting both cloud and local backends.
- Enabled persistence of the auto-memory scratchpad for skill extraction.
- Introduced the new ContextManager and AgentChatHistory for core functionality.
- Enabled providing a manual session UUID via a command line argument.
- Added support for boolean and number casting for environment variables defined in settings.json.
Bug Fixes
- Fixed a fatal hard-crash that occurred due to loop detection via an unhandled AbortError.
- Fixed an issue where the `list` suggestion was incorrectly shown when partial input was present.
- Fixed a Windows regression related to backspace handling in the CLI UI.
- Fixed an issue where the sandbox proxy cleanup was incomplete and caused handler leaks.
- Fixed incorrect alternate buffer warning logic specifically for JetBrains environments.
- Fixed an issue where the MCP ping was not optional in the list command and used a configured timeout incorrectly.
- Fixed an issue where custom theme text schema was missing a required response key.
- Fixed an issue where output redirection for CLI commands was not allowed.
- Fixed an issue where ACP stdout was being polluted by SessionEnd hooks.
- Fixed an issue where Request headers were not being preserved in the DevTools activity logger.
- Fixed an issue where non-string model flags caused errors during resolution in the core.
- Fixed an issue where transient errors were incorrectly being marked as terminal in policy handling.
Improvements
- Improved shell command validation and added a core tools allowlist.
- Fixed slow boot time by fetching experiments and quota asynchronously.
- Improved error messages for ECONNRESET and ETIMEDOUT network errors.
- Improved error message when cloudshell-gca authentication fails.
- Added a manual update command option when automatic updates fail.
- Improved error messaging when encountering an ENOTDIR error.
- Enforced parallel task tracker updates in the core.
- Updated the FatalUntrustedWorkspaceError message to include a documentation link.
- Enforced workspace trust in headless mode and secured .env loading.