Gemini CLI v0.65.0
Gemini CLI v0.65.0 keeps resumed sessions intact
Plus fixes for a hang on Enter, sign-in retry loops and slow ignore filtering
Gemini CLI 0.65.0 is a release of fixes, and the ones most people will feel are about resuming sessions. Exiting quickly after a resume could delete the session's history, and pressing Control C rapidly could poison the session. Both are fixed. So are a hang on Enter, sign-in retry loops and slow ignore filtering.
Resumed sessions
Resuming a session no longer loses its history or repeats tool responses
Resume a session and exit quickly, and the CLI could delete that session's history. Now the history is kept. Interrupting with Control C in rapid succession could poison the session. That's fixed too. And a resumed session no longer repeats tool responses.
Stuck prompts and sign-in
Enter and sign-in stop hanging or looping
Pressing Enter in interactive mode could hang the CLI. That's fixed. Verification and OAuth retries no longer loop forever. Choosing Google login again now clears the cached credentials. And the OAuth callback's issuer check now lines up with RFC ninety-two oh seven.
Large repositories
Ignore filtering skips whole subtrees, and @folder no longer reads every file up front
Two changes help in bigger projects. Ignore filtering is faster, and it can now skip an ignored directory whole instead of walking through it. And an @folder reference no longer reads every file inside that folder up front.
Untrusted folders
In an untrusted folder, workspace settings are now read-only
Fewer false alarms: the untrusted-command check no longer misfires on command flags and compound loops #29672
One fix tightens workspace trust. When you work in a folder you haven't trusted, its workspace settings are now read-only. And the untrusted-command check got quieter: it no longer misfires on command flags and compound loops.
Custom OTLP headers
Telemetry can send custom headers to your OTLP collector
#29641
The one new feature is for teams that export telemetry. The telemetry configuration now accepts custom OTLP headers, so the CLI can send your collector the headers it expects.
More fixes
Ctrl+O leaves your scrollback alone, and one bad extension no longer blocks the rest
Also fixed: reverse-search highlight with expanding Unicode characters · refresh on terminal width changes · whitespace-only UTF-16 and UTF-32 files · ask_user question text in results · VS Code companion shutdown with MCP sessions open
Expanding output with Control O could clear the terminal and reset your scroll position. Now it doesn't. And when one extension failed the allowlist check, the others stopped loading. Now they keep loading. Reverse search, terminal resizing and the VS Code companion got fixes too.
Upgrade
Upgrade to 0.65.0 with npm, and check your @folder prompts
The release notes flag no breaking changes, but two behaviors are different. An @folder reference no longer reads every file inside it up front, and workspace settings are read-only in untrusted folders. To upgrade, install version 0.65.0 from npm. If a workflow relies on @folder reading a whole directory up front, test it first. Version 0.65.0 keeps resumed sessions intact.








