Gemini CLI v0.62.0 keeps you signed in with Google

1 week ago

Gemini CLI v0.62.0 keeps your Google sign-in across token refreshes, stops a crash when you cancel a request on Node 23, fixes Vertex AI behind a proxy, makes Windows shell commands finish reliably, and tidies how VS Code and ACP editors see tool calls. https://github.com/google-gemini/gemini-cli/releases/tag/v0.62.0 https://github.com/google-gemini/gemini-cli/compare/v0.61.0...v0.62.0

Ask

Ask about this presentation

Answers are generated from this presentation.

Chapters

  1. 0:00Gemini CLI v0.62.0
  2. 0:14Cancelling a request no longer crashes Gemini CLI on Node 23
  3. 0:26Vertex AI works behind HTTPS_PROXY again
  4. 0:3701: The shell tool
  5. 0:39Shell commands on Windows finish when the process exits
  6. 0:51Long shell output now has a memory cap
  7. 1:03Finished shell sessions give their terminal back to the system
  8. 1:16A one-column terminal no longer crashes the UI
  9. 1:2702: Editors and ACP
  10. 1:29Closing a diff in VS Code leaves your cursor in the terminal
  11. 1:43Editors see a tool call before they are asked to approve it
  12. 1:54MCP tool calls now read as function signatures
  13. 2:04Three fixes for errors and reports
  14. 2:20Gemini 3.8 Flash and 3.5 Flash Lite first shipped in v0.61.0
Show transcript

Gemini CLI v0.62.0

Gemini CLI

Gemini CLI v0.62.0 keeps you signed in with Google

Plus fixes for cancelled requests, proxies, the Windows shell and editor tool calls.

Gemini CLI running in a terminal
packages/core/src/code_assist/oauth2.ts

Gemini CLI v0.62.0 keeps you signed in with Google. A token refresh used to drop your saved refresh token, which forced a new sign-in after about an hour. Now the token is kept.

Cancelling a request no longer crashes Gemini CLI on Node 23

> sign-in and requests2026-09-29
AbortError → uncaught exception, CLI exits AbortError on cancel → caught, CLI keeps running
packages/cli/src/gemini.tsx

On Node 23 and newer, cancelling a request used to crash the whole CLI. The abort error escaped every handler. Gemini CLI now catches that expected error and carries on.

Vertex AI works behind HTTPS_PROXY again

> sign-in and requests2026-09-29
TypeError: HttpsProxyAgent is not a constructor proxy agents resolve in the bundled CLI HTTP_PROXY · HTTPS_PROXY
esbuild.config.js

If you use Vertex AI with a proxy set in your environment, sign-in used to crash with a type error about the proxy agent. The bundled CLI now loads its proxy agents correctly.

01: The shell tool

> the shell tool2026-09-29
01
The shell tool

The shell tool.

Shell commands on Windows finish when the process exits

> the shell tool2026-09-29
ConPTY exit arrives out of order → command never settles output drains → command completes resize after exit → skipped
packages/core/src/services/shellExecutionService.ts

On Windows, the terminal's exit signal could arrive out of order, and a finished command might never report back. Gemini CLI now drains the output and completes the command once the process exits.

Long shell output now has a memory cap

> the shell tool2026-09-29
50,000 lines scrollback per terminal byte cap trims the middle of huge output no color data when color is off
packages/core/src/utils/terminalSerializer.ts

Commands with long output now use less memory. Each terminal keeps up to 50,000 lines, oversized output is trimmed from the middle, and color data is skipped when color is off.

Finished shell sessions give their terminal back to the system

> the shell tool2026-09-29
terminal device closed on exit macOS · Linux short commands skip the background log one log stream per background process
core/src/services/executionLifecycleService.ts

On macOS and Linux, a finished shell session now closes its terminal device and hands it back to the system. Quick commands skip the background log, and each background process gets a single log stream.

A one-column terminal no longer crashes the UI

> the shell tool2026-09-29
RangeError: Invalid count value: -1 widths clamped at zero edit confirmations · diffs · tables · progress bars
packages/cli/src/ui/utils/renderBorder.ts

Shrink the terminal to a single column during an edit confirmation, and drawing the border used to hit a negative width and throw a range error. Every width is now clamped at zero.

02: Editors and ACP

> editors and ACP2026-09-29
02
Editors and ACP

Editors and ACP.

Closing a diff in VS Code leaves your cursor in the terminal

> editors and ACP2026-09-29
diff tab closes → focus jumps to the editor diff tab closes → focus stays in the terminal
packages/vscode-ide-companion/src/diff-manager.ts

In VS Code, when Gemini CLI closes its diff preview, keyboard focus now stays in the integrated terminal. Before, closing the tab pulled focus to the editor, so you clicked back to keep typing.

Editors see a tool call before they are asked to approve it

> editors and ACP2026-09-29
1  tool_call · pending 2  request_permission 3  denied → tool_call_update · failed
packages/cli/src/acp/acpSession.ts

In Agent Client Protocol mode, Gemini CLI now announces a tool call as pending before it asks for permission, so the editor can link the two. A denied call is marked failed.

MCP tool calls now read as function signatures

> editors and ACP2026-09-29
{"projectPath":"/path/to/project","command":"date",…} execute_terminal_command(command: date, projectPath: /path/to/project)
packages/core/src/tools/mcp-tool.ts

When an editor asks you to approve an MCP tool call, the title now reads like a function call, with the tool name and its arguments. The raw JSON is gone.

Three fixes for errors and reports

> smaller fixes2026-09-29
auth error link opens the setup docs, was a 404 /bug on Windows paths keep their backslashes A2A server task metadata returns a clean 501
code_assist/setup.ts · bugCommand.ts · a2a-server/src/http/app.ts

The link in the Google Cloud project error now opens the setup docs instead of a missing page. Bug reports on Windows keep the backslashes in file paths. And the A2A server answers an unsupported task-store request with one clean response.

Gemini 3.8 Flash and 3.5 Flash Lite first shipped in v0.61.0

> gemini cli v0.62.02026-09-29
listed again in the v0.62.0 notes Full list: Gemini CLI v0.62.0 release notes on GitHub
git tag v0.61.0, cherry-pick of PR #29443

These notes also list Gemini 3.8 Flash and 3.5 Flash Lite. That change first shipped in v0.61.0, so if you're on it, you already have both. The full list is in the Gemini CLI v0.62.0 release notes on GitHub.