Gemini CLI v0.70.0 lets long requests finish and asks before shell globs
9 hours ago
Gemini CLI v0.70.0 lets long requests run past five minutes, asks before read-only shell commands with globs or variables, moves policy patterns to re2js and skips system MCP servers with writable scripts.
Links
- Release notesgithub.com
- Compare viewgithub.com
- Request body timeout (#30258)github.com
- Shell expansion keeps the prompt (#30338)github.com
- Policy patterns on re2js (#30282)github.com
- commandPrefix and commandRegex anchoring (#30355)github.com
- System MCP command permissions (#30283)github.com
- Enterprise configuration guidegithub.com
- extensions link consent (#30289)github.com
- IDE discovery directory (#30340)github.com
- Output token limits (#30253)github.com
- Worktree across restarts (#30176)github.com
- The repositorygithub.com
Ask about this presentation
Chapters
0:00Long requests run past five minutes
0:1601: Shell commands and policy rules
0:19Globs and variables ask first
0:39Policy patterns on re2js
0:58Command rules match the command
1:1302: MCP servers, extensions and the IDE
1:16Writable MCP scripts are skipped
1:33extensions link defaults to No
1:48IDE connection file is yours alone
2:0103: Fixes you may have hit
2:04Real output token limits
2:20--worktree survives a sign-in restart
2:33Three smaller fixes
2:47Should you upgrade?
Show transcriptHide transcript
Gemini CLI v0.70.0 lets long requests finish. A slow stream, like a large file write, used to stop at five minutes and replay the billed request up to four times. Now it waits as long as your timeout setting allows.
Shell commands and policy rules.
A read-only shell command with a glob, a brace group or a variable, like ls *.md, now shows the confirmation prompt. Bash rewrites those arguments before they run. Quoted arguments still run without asking, and an explicit allow rule brings back the old behaviour.
Policy rules now match with re2js, a JavaScript build of the RE2 regex engine. Checking a rule takes time in proportion to the length of the arguments. A pattern that won't compile is skipped, and the other rules in the file still load.
Rules written with a command prefix or a command regex now match only the command itself. Before, the same text sitting inside a nested argument or a string value could match the rule too.
MCP servers, extensions and the IDE.
Gemini CLI now skips a system-wide MCP server when a regular user can edit its script, and prints a security warning at startup. That edit used to inherit the server's automatic tool approval. Servers in your own user or workspace settings are unaffected.
Linking an extension now resolves any symlink and shows the real folder. It warns that later changes there load on every start, and the answer defaults to No. Without a terminal to ask in, it refuses.
On macOS and Linux, the VS Code companion now writes its connection file into a temp folder that only your account can open. Another user on a shared machine can't read that file or plant a fake one.
Fixes you may have hit.
The models list used to print about eight thousand output tokens for every model. Gemini 2.5 and Gemini 3 now show their real limit, about sixty-five thousand, eight times higher. Custom models show no output figure.
Start Gemini CLI with the worktree flag, then sign in again or switch accounts, and it restarts in the same worktree. Before, every restart made a new one, or failed on a named worktree.
Session previews keep prompts in Chinese, Arabic or emoji instead of going blank. A variable with a fallback now uses it when the variable is set but empty. And the retry countdown ignores background requests.
I would say yes, if your requests run long or you keep MCP servers in system settings, once an administrator owns those server scripts. The new prompt covers bash only, so PowerShell behaves as before. The full list is in the release notes.
Up next
3:13Gemini CLI v0.69.0 maps your token usage and stops silent network hangs
@gemini-cli
1 day ago
3:26Gemini CLI v0.68.0 isn't tuned for Gemini 4, and counts down rate limits
@gemini-cli
1 week ago
3:18Gemini CLI v0.67.0 opens VS Code diffs from inside Docker and gVisor sandboxes
@gemini-cli
2 weeks ago
3:13Gemini CLI v0.66.0 isn’t optimized for Gemini 4 Argon, so Google points you to Antigravity
@gemini-cli
2 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
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
1 month ago
2:36Gemini CLI v0.58.0
@gemini-cli
2 months ago