Gemini CLI v0.63.0 caps memory in long agent runs
1 month ago
Gemini CLI v0.63.0 caps stored tool output and compresses chat history sooner in long agent runs, ends the endless sign-in loop on Windows, WSL and headless Linux, shows retries in the spinner, lets Plan Mode finish headless runs, and fixes git diff in the sandbox, MCP server enablement and ACP session reloads.
Links
Ask about this presentation
Chapters
0:00Gemini CLI v0.63.0
0:1501: Long agent runs
0:17Chat compression starts at 512 KB of history
0:30Older tool turns shrink to 2 KB summaries
0:4202: Sign-in and retries
0:44The endless sign-in loop on Windows, WSL and headless machines is fixed
0:59WSL and display-less Linux store tokens in an encrypted file
1:12The spinner shows retries during rate limits and outages
1:2403: Headless runs
1:26Plan Mode carries out its plan in headless runs
1:36Headless runs deny what they would have asked you about
1:4904: Tools and config
1:51git diff runs inside the sandbox again
2:04Disabled MCP servers stay off when their config file is broken
2:17Keys typed during startup reach the prompt
2:28The shell and tool output get three smaller fixes
2:4305: Editor sessions
2:44Editors on ACP can reload a session started the same minute
2:56Every fix, with its pull request, is in the v0.63.0 release notes
Show transcriptHide transcript
Gemini CLI v0.63.0 caps memory in long agent runs. Tool output used to go into session history in full. Now each stored result stops at 64 kilobytes, with a note on how much was cut.
Long agent runs.
Chat compression used to wait until history filled a share of the model's context window. It now also kicks in once history passes 512 kilobytes or about 50,000 tokens, whichever comes first.
Finished tool turns from earlier in a session now collapse to 2 kilobyte summaries, while the turn in progress keeps everything. Exited shell processes also release their output buffers.
Sign-in and retries.
On Windows, WSL and headless machines, Gemini CLI could ask you to sign in over and over. Credentials and settings are now written atomically, so the Gemini Code Assist extension for VS Code can't collide mid-write.
On WSL, or a Linux machine without a display, the system keyring can deadlock. Gemini CLI now detects that setup and keeps your tokens in an encrypted file in your Gemini folder.
On a rate limit or an overloaded server, the spinner stayed on Thinking. With full error verbosity it now names the model and the attempt, like two of five. Low verbosity shows a shorter hint.
Headless runs.
In a headless run, Plan Mode used to stop and wait for your agreement, made zero tool calls, and ended. Now it picks a strategy, drafts the plan and carries it out.
In a headless run, a policy rule that would ask you now denies. MCP resources and web search results get the same untrusted wrapping as web fetch, and redirection rules match in every approval mode.
Tools and config.
Inside the execution sandbox, git diff failed with a cannot run error. An empty diff.external setting made git try to launch a program with no name. That override is gone, and diffs work again.
If the file listing your disabled MCP servers had a JSON error, those servers came back on. Now they stay disabled, Gemini CLI tells you the file is malformed, and it won't overwrite your entries.
Keys you typed while Gemini CLI was starting could vanish while it probed your terminal. Standard input now pauses after that check and resumes as soon as the prompt starts listening.
Background shell commands now delete their temp folders on exit. A truncation limit of zero or less turns truncation off instead of inflating output. And extension update checks can't stop to ask for git credentials.
Editor sessions.
Editors that drive Gemini CLI over ACP could fail to reload a session from the same minute. Session files now get unique names, and the session is located before setup runs.
The Gemini CLI v0.63.0 release notes on GitHub list every fix with a link to its pull request.
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:03Gemini CLI v0.64.0 stops parallel agents overwriting each other’s edits
@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