v0.34.0-nightly.20260310.4653b126f
Gemini CLISummary
This release introduces several new CLI features, including enabling Plan Mode by default, adding the /upgrade command, and unifying the /chat and /resume UX. Numerous bug fixes address stability issues related to memory usage, environment variables, and path resolution across platforms. Performance has also been improved through increased caching of API key and settings loads.
New Features
- Overhauled the thinking UI experience in the CLI.
- Inverted quota language to display usage as 'percent used'.
- Unified the user experience for the /chat and /resume commands.
- Exposed the /tools description as an explicit subcommand for better discoverability.
- Added the /compact alias for the existing /compress command.
- Enabled Plan Mode by default.
- Introduced the AgentLoopContext for enhanced core functionality.
- Implemented the /upgrade command.
- Enabled progress emission for the browser agent.
- Implemented robust IP validation and the safeFetch foundation for security.
- Improved the display of subagent results.
- Added support for subagent-specific policies in TOML.
- Redesigned the compact header.
- Added support for updating extension sources and names.
Bug Fixes
- Fixed overage strategy lifecycle and settings integration issues.
- Fixed expansion of paste placeholders in TextInput upon submission.
- Fixed crash potential by adding an in-memory cache to ChatRecordingService to prevent OOM errors.
- Fixed the experience for Ctrl+O expansion hints across different buffer modes.
- Corrected shell height reporting in the CLI.
- Fixed test suite failures when GEMINI_SYSTEM_MD or GEMINI_WRITE_SYSTEM_MD environment variables were set locally.
- Fixed display of actual graph output in the tracker_visualize tool.
- Sanitized SSE-corrupted JSON and domain strings during error classification.
- Resolved symlinks for non-existent paths during validation.
- Prevented infinite recursion during symlink resolution.
- Corrected Windows line ending and path separation bugs across the CLI.
- Handled GUI editor non-zero exit codes gracefully.
- Destroyed PTY on kill() and exception to prevent file descriptor leaks.
Improvements
- Whitelisted TERM and COLORTERM environment variables during environment sanitization.
- Standardized on the 'reload' verb for all CLI components.
- Fixed settings display to show objects as JSON instead of "[object Object]".
- Cached API key loading to reduce redundant keychain access.
- Cached settings loading to reduce redundant disk I/O at startup.
- Fixed headless mode documentation.
- Fixed broken markdown syntax and anchor links in documentation for /tools.
- Fixed heading formatting in commands.md and phrasing in tools-api.md documentation.
- Unified keybinding infrastructure and supported string initialization.