Gemini CLI v0.65.0 stops deleting your chat history when you resume and quit

1 month ago

Gemini CLI v0.65.0 keeps a resumed session's history when you quit right away, stops a double Ctrl+C from breaking the next resume, keeps an untrusted folder's settings intact, loads your other extensions when one fails the allowlist, stops @folder references from pasting every file into the prompt, speeds up file scans in large repos, ends the sign-in loop, and adds custom OTLP headers for telemetry.

Ask about this presentation

Chapters

Show transcript
  1. In Gemini CLI, resuming a session and then quitting before your first prompt, with Ctrl+C or exit, deleted that session's history file from disk. Version 0.65 keeps a resumed session, however quickly you leave.

    Slide text
    Gemini CLI

    Gemini CLI v0.65.0 stops deleting your chat history when you resume and quit

    A resumed session stays on disk, even if you leave right away.

    Gemini CLI running in a terminal
    packages/core/src/services/chatRecordingService.ts · #29584
  2. Sessions and settings.

    Slide text
    > sessions and settings 2026-10-20
    01
    Sessions and settings
  3. Pressing Ctrl+C twice during a tool call could quit before the cancellation reached the session log. Resuming that session then failed with a 400 error. Gemini now logs the cancelled calls before it quits.

    Slide text
    > sessions and settings 2026-10-20
    Ctrl+C, Ctrl+C during a tool call $ gemini --resume 400 · Requests ending with a model turn are not supported
    packages/cli/src/ui/hooks/useGeminiStream.ts · #29728
  4. In a folder you hadn't trusted, the MCP add and remove commands could erase every existing key in that project's settings file. Workspace settings are now read-only there until you trust the folder.

    Slide text
    > sessions and settings 2026-10-20
    $ gemini mcp add … .gemini/settings.json lost every existing key workspace settings are read-only until you trust the folder
    packages/cli/src/config/settings.ts · #29583
  5. With an extension allowlist set, one extension missing its install file, or one invalid pattern in the list, made every extension fail to load. Now only that one is skipped, with a warning.

    Slide text
    > sessions and settings 2026-10-20
    one missing install record failed every extension that extension is skipped with a warning an invalid allowlist pattern is ignored with a warning
    packages/cli/src/config/extension-manager.ts · #29720
  6. Large repos.

    Slide text
    > large repos 2026-10-20
    02
    Large repos
  7. An at-reference to a folder used to read every file inside it into your prompt, sometimes enough to overflow the context window. Now Gemini gets the path and chooses whether to list, search or read.

    Slide text
    > large repos 2026-10-20
    > list what’s in @docs/internal/ read every nested file into the prompt sends the path, and the model picks list, search or read
    packages/cli/src/ui/hooks/atCommandProcessor.ts · #29617
  8. In large repositories with long ignore lists, file discovery could block Gemini CLI for seconds at a time. Ignore rules are now cached per folder, and a pattern like node_modules is skipped at the top instead of file by file.

    Slide text
    > large repos 2026-10-20
    each file rebuilt every ignore rule above it ignore rules are cached per folder node_modules/** is pruned at the top
    packages/core/src/utils/gitIgnoreParser.ts · #29582
  9. Sign-in, prompts and telemetry.

    Slide text
    > sign-in, prompts, telemetry 2026-10-20
    03
    Sign-in, prompts and telemetry
  10. Browser verification could send you around the same sign-in loop without end, even after you finished it. It now stops after three attempts, and choosing Sign in with Google again lets you pick a different account.

    Slide text
    > sign-in, prompts, telemetry 2026-10-20
    browser verification could repeat forever verification stops after 3 attempts choosing Sign in with Google again clears the cached login
    packages/core/src/utils/retry.ts · #29655 · #29643
  11. Pressing Enter on an edit approval could hang while the IDE companion was slow to respond. Answers you give the agent now keep the question above them, and Ctrl+O expands long output without blanking the terminal.

    Slide text
    > sign-in, prompts, telemetry 2026-10-20
    Enter on an edit approval no longer waits on the IDE Ask User answers keep the question they answered Ctrl+O expands output without blanking the screen
    packages/cli/src/ui/contexts/ToolActionsContext.tsx · #29476
  12. If you send Gemini CLI telemetry to Grafana Cloud, Honeycomb or Datadog, you can now attach an API key or a token as headers on every export. It works over both HTTP and gRPC.

    Slide text
    > sign-in, prompts, telemetry 2026-10-20
    custom headers on every OTLP export over HTTP and gRPC Grafana Cloud · Honeycomb · Datadog
    docs/cli/telemetry.md · #29641
  13. Every fix in this version is listed in the Gemini CLI v0.65.0 release notes on GitHub. Which MCP servers do you sign into from Gemini CLI?

    Slide text
    > release notes 2026-10-20
    Gemini CLI

    Which MCP servers do you sign into from Gemini CLI?

    Gemini CLI v0.65.0 release notes on GitHub

    github.com/google-gemini/gemini-cli/releases

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York