Gemini CLI v0.64.0 stops parallel agents overwriting each other’s edits
1 month ago
Gemini CLI v0.64.0 makes parallel sub-agents take turns on file edits, writes files atomically, stops long sessions from building huge chat logs, lets @file references take line numbers, fixes a CPU hang on piped code, makes Ctrl+C cancel a running reply, quiets approval prompts for read-only shell flags, unsticks sessions after a rewind, fixes MCP OAuth sign-in for servers like Notion's, and reports real token usage to ACP editors like Zed.
Links
Ask about this presentation
Chapters
0:00Gemini CLI v0.64.0
0:1301: Files and sessions
0:15Writes land whole, and a corrupted state file restores itself
0:29Long sessions stop building a 400 MB chat log
0:4602: Your prompt
0:47@file references take line numbers and ranges
0:57Piping in code with scoped imports no longer pins the CPU
1:13Ctrl+C stops a running reply, even with text in the prompt
1:24Scrolling, list choices and Windows typing behave
1:3703: Shell, rewind and MCP
1:40Read-only shell flags stop triggering approval prompts
1:55Rewind no longer leaves a session stuck on a 400 error
2:07MCP servers like Notion’s finish OAuth sign-in
2:2304: Editors and headless runs
2:25Zed and other ACP clients get real token counts
2:40Headless trust, Windows extension updates and A2A settings
2:57Release notes
Show transcriptHide transcript
In Gemini CLI, two sub-agents editing the same file could both start from the same copy, and one edit quietly erased the other. Edits and writes to the same file now run one at a time.
Files and sessions.
File writes now go through a temporary file that is renamed into place, so a crash can't leave one half written. Gemini CLI's own state file keeps a backup, and restores from it when the file is corrupted.
Session recording rewrote the whole chat to disk on every turn, so a 100-turn session could reach a 400 megabyte file and more than 7 gigabytes of memory. Each turn now appends only its changes, and memory keeps the last 50 messages.
Your prompt.
A file reference that ends in a line number or a range now resolves to that file. Before, it failed, and could set off a slow search of the whole workspace.
Piping source code into Gemini CLI's headless mode could lock it at 100 percent CPU. An import from a scoped npm package set off a runaway file search, and Control C couldn't stop it. That's fixed.
With text typed in the prompt while Gemini was responding, Control C only cleared that text and the reply kept going. It now reaches the cancel handler and stops the running request.
Scrolled-up history keeps its place while a reply streams. Enter and Space confirm list choices in PyCharm on Windows. And Windows input for Chinese, Japanese and Korean now opens at the prompt.
Shell commands, rewind and MCP.
Gemini CLI stops pausing for approval on harmless read-only flags in commands like grep and git log. A loop or chained command now runs when every part of it matches one of your allow rules.
A rewind or a cancelled stream could leave the chat ending on the model's turn, which the Gemini API rejects with a 400 error, freezing the session. Every request now ends on your turn.
Sign-in failed for MCP servers like Notion's that leave the issuer out of their OAuth redirect. Gemini CLI now requires it only when the server says it sends one, and still checks it whenever it arrives.
Editors and headless runs.
In ACP mode, editors like Zed and OpenHands got no token counts in the standard fields, and cached tokens were dropped. Cost estimates on cached sessions ran about three times too high. Both are now reported.
Headless mode now reports an untrusted folder as untrusted. Extension updates on Windows retry while a folder is still locked. And the A2A server reads the nested settings file, and old flat ones still work.
Every change, with its pull request, is in the Gemini CLI release notes on GitHub.
Up next
1:29Gemini CLI v0.71.0 ends the Windows freeze before PowerShell commands
@gemini-cli
2 days ago
3:04Gemini CLI v0.70.0 lets long requests finish and asks before shell globs
@gemini-cli
1 week ago
3:13Gemini CLI v0.69.0 maps your token usage and stops silent network hangs
@gemini-cli
1 week ago
3:26Gemini CLI v0.68.0 isn't tuned for Gemini 4, and counts down rate limits
@gemini-cli
2 weeks ago
3:18Gemini CLI v0.67.0 opens VS Code diffs from inside Docker and gVisor sandboxes
@gemini-cli
3 weeks ago
3:13Gemini CLI v0.66.0 isn’t optimized for Gemini 4 Argon, so Google points you to Antigravity
@gemini-cli
3 weeks ago
2:30Gemini CLI v0.65.0 stops deleting your chat history when you resume and quit
@gemini-cli
1 month ago
3:04Gemini CLI v0.63.0 caps memory in long agent runs
@gemini-cli
1 month ago
2:38Gemini CLI v0.62.0 keeps you signed in with Google
@gemini-cli
1 month ago
3:05Gemini CLI v0.61.0 adds Gemini 3.8 Flash and guards build files
@gemini-cli
2 months ago
2:36Gemini CLI v0.58.0
@gemini-cli
2 months ago