What's Changed fix(patch): cherry-pick aafdfdf to release/v0.71.0-pr-30420 to patch version v0.71.0 and create version 0.71.1 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/30429
gemini-cli
npx @buildinternet/releases get gemini-cliPowerShell commands are now parsed asynchronously, preventing the UI spinner from freezing. The rest of the release is version bumps and changelog entries.
The A2A server now enforces bearer token authentication and validates request input. The CLI also resumes the most recently active session instead of the most recently started, and fixes nested .gitignore negations under directory patterns and Windows tilde paths.
Session previews now preserve Unicode prompts and strip ANSI fragments, and the selected worktree survives authentication restarts. The CLI also skips system MCP servers with insecure command permissions and uses re2js for linear-time policy argsPattern evaluation.
Network failures no longer cause silent multi-minute loading hangs, and quota retries no longer run for hours. The /stats command gains a heatmap subcommand for daily token usage, and custom themes can be defined in a standalone theme.json.
The loading indicator now shows 429 rate-limit cool-down and countdown, and concurrent extension installs are serialized with a per-extension lock. The release also fixes selected-model loss across fallback, cancel, and rewind, plus a case-insensitive isWithinRoot check on Windows and a $-pattern corruption bug in LLM prompt templates.
Gemini CLI gains a models command and --list-models flag for model discovery, and the IDE companion can now bridge into container sandboxes over exec stdio. Fixed duplicate agent loading when the workspace is the home directory, alongside fixes for header splitting per RFC 9110, atomic writes on read-only files and hard links, and tool execution after cancellation in non-interactive mode.
Gemini CLI now preserves user-level ~/.gitconfig in shell and git environments, and keeps terminal scrollback during viewport refreshes. Also fixes Windows diff argument quoting in openDiff, settings placeholder resolution after .env loading, and termination signal forwarding from the bootstrap parent to its child process.
The CLI now enforces read-only workspace settings in untrusted folders and stops deleting resumed session history on quick exit. Also fixes a hang on Enter in interactive mode, duplicate tool response turns when resuming sessions, and OAuth verification retry loops.
Fixed a CPU hang and quote swallowing when typing @ inside code, and file tool operations are now serialized with atomic writes to prevent corruption. Also persists CLI state atomically with backup recovery, ensures Ctrl+C emergency abort reaches the cancellation handler during active operations, resolves @file:line references, and adds retry on Windows directory-removal lock errors during extension updates.
What's Changed fix(patch): cherry-pick 2ce1a69 to release/v0.64.0-preview.0-pr-29672 to patch version v0.64.0-preview.0 and create version 0.64.0-preview.1 by @gemini-cli-robot in https://github.com/google-gemini/gemini-cli/pull/29696
Fixed an infinite auth loop caused by file contention, headless keyring, and supervisor state drops, and bounded tool output size with an optimized memory lifecycle in long-running agent loops. Also fixed a retry progress indicator during connection recovery, missing MCP enablement config being confused with malformed JSON, and temporary directories left behind by background shell execution.
An @ within code no longer triggers a CPU hang or quote swallowing, and file tool operations are serialized with atomic writes. Also persists CLI state atomically with backup recovery on corruption, ensures Ctrl+C emergency abort reaches the cancellation handler, and resolves @file:line references.
Enter and Spacebar now reliably confirm selection list options in the CLI.
CLI state is now persisted atomically and recovered from a backup on corruption, and directory removal during extension updates retries on Windows locking errors. Ctrl+C emergency abort now reaches the cancellation handler during active operations, plus fixes for @file:line references, IME cursor forwarding under Windows ConPTY, and chat history memory growth.
Fixed a CLI CPU hang and quote swallowing triggered by @ within code, and file tool operations in core are now serialized with atomic writes.
Autonomous plan execution now works in non-interactive mode, and truncation is disabled when maxChars is zero or less in formatTruncatedToolOutput. Also fixes headless folder trust propagation, bridges ACP PromptResponse.usage into usage_update notifications, and adds V1 to V2 settings migration logic.
Credential handling now retains the OAuth refresh token across refreshes and makes credential deletion idempotent, and support for Gemini 3.8 Flash and 3.5 Flash Lite models is added. Also improved PTY file descriptor cleanup, ConPTY process exit synchronization, terminal buffer memory management, and MCP tool call title formatting.
