Gemini CLI now asks again before an extension update changes what it runs
1 day ago
Gemini CLI extension updates now ask for your consent again when an update changes the extension's hooks, skills, sub-agents, commands, policies or MCP servers, and the dialog starts on No. Also in these releases: wrapped shell commands such as sh -c, sudo, cmd.exe and PowerShell get checked inside, the MCP sign-in prompt names the site you sign in at, the A2A server requires a bearer token, and gemini --resume reopens the session you used last. Covers Gemini CLI v0.71.1 (2026-11-24) and v0.72.0 (2026-12-02).
Links
- v0.72.0 release notesgithub.com
- v0.71.1 release notesgithub.com
- Compare viewgithub.com
- Security patch bundle (#30565)github.com
- Extension consent (#30441)github.com
- Wrapped shell commands (#30451)github.com
- MCP OAuth origin checks (#30454)github.com
- Hook telemetry names (#30448)github.com
- IDE install path quoting (#30390)github.com
- A2A server authentication (#30420)github.com
- A2A patch for v0.71.1 (#30429)github.com
- Resume the most recent session (#30389)github.com
- Windows ~\ paths (#30376)github.com
- Nested .gitignore negations (#30370)github.com
- A2A server READMEgithub.com
- Extensions referencegithub.com
- The repositorygithub.com
Ask about this presentation
Chapters
0:00Extension updates ask again
0:10Extension updates
0:12What brings the prompt back
0:22The prompt names the changes
0:29Enter now declines
0:40Local installs match the prompt
0:50Shell commands inside wrappers
0:52Wrapped commands get checked
1:03Which wrappers it opens
1:13Signing in to MCP servers
1:15The sign-in prompt names the site
1:25Mismatched endpoints are refused
1:35The A2A server
1:36The A2A server needs a token
1:47Localhost only
1:57Everyday fixes
1:58Resume picks your last session
2:05Two Windows path fixes
2:17Nested gitignore rules count
2:28Before you upgrade
Show transcriptHide transcript
When an extension update changes the hooks, skills or MCP servers it brings, Gemini CLI now stops and asks for your consent again before it installs the update. The prompt spells out every hook command.
Extension updates.
Gemini CLI now hashes every file an extension adds, including the scripts its hooks call and the files its context imports. An update that only bumps the version number installs without asking.
On an update, the prompt names each new, changed and removed item right above the question. If you decline, the version you already have stays installed.
The extension consent dialog now starts on No, so a reflexive Enter turns the extension away. Other consent dialogs still start on Yes, and the consent flag still skips the prompt and its details.
Installing an extension from a folder on your disk now copies the folder first. The prompt and the installed files both come from that copy, so edits to the folder while the prompt is open don't reach the install.
Shell commands inside wrappers.
Gemini CLI now unwraps shell commands that start another shell, and checks what runs inside. A command substitution hidden there now asks you first, and a headless run in default approval mode blocks it.
Prefixes like sudo, nohup and timeout get peeled off first. On Windows, the check opens the command prompt and PowerShell, encoded commands included. Past five nested levels, it fails closed.
Signing in to MCP servers.
Before an MCP server sends you to a browser login, the consent prompt now names the site that will handle it. Gemini CLI also waits for your yes before it registers itself with that site.
Discovered sign-in endpoints must now share the issuer's origin, and metadata naming a different issuer is refused. Setups you spell out by hand across domains, like Google OAuth, still work.
The A2A server.
Gemini CLI's A2A server, which lets other agents hand it coding work, now checks a bearer token on every request, the agent card included. Start it without a token set, and every request fails.
Requests must also arrive addressed to localhost. A request can no longer mark its own workspace as trusted, and restoring a checkpoint refuses any name that points outside the checkpoint folder.
Everyday fixes.
Resume used to reopen whichever session started most recently. It now picks the one you were last active in. Numbered resumes keep their start-time order.
On Windows, /ide install failed when VS Code sat in a folder with a space in its name, like Program Files. That works now, and a path written as a tilde and a backslash now expands to your home folder.
Gemini CLI skipped a whole folder ignored with a double-star pattern, even files a nested gitignore brought back. It now reads that folder's own gitignore, so a file it re-includes is visible to Gemini CLI.
If you run the A2A server, set its token before you upgrade; the server's README names both variables. The extensions reference explains when an update asks for consent again.
Up next
1:29Gemini CLI v0.71.0 ends the Windows freeze before PowerShell commands
@gemini-cli
1 week ago
3:04Gemini CLI v0.70.0 lets long requests finish and asks before shell globs
@gemini-cli
2 weeks ago
3:13Gemini CLI v0.69.0 maps your token usage and stops silent network hangs
@gemini-cli
2 weeks ago
3:26Gemini CLI v0.68.0 isn't tuned for Gemini 4, and counts down rate limits
@gemini-cli
3 weeks ago
3:18Gemini CLI v0.67.0 opens VS Code diffs from inside Docker and gVisor sandboxes
@gemini-cli
4 weeks ago
3:13Gemini CLI v0.66.0 isn’t optimized for Gemini 4 Argon, so Google points you to Antigravity
@gemini-cli
1 month 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
2 months 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