gemini-cli-leo 0.1.19-fix.11 → 0.1.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -18,6 +18,28 @@ on GitHub.
18
18
  | [Preview](preview.md) | Experimental features ready for early feedback. |
19
19
  | [Stable](latest.md) | Stable, recommended for general use. |
20
20
 
21
+ ## Announcements: v0.64.0 - 2026-10-13
22
+
23
+ - **Atomic Operations & State Persistence:** Serialized file tool operations
24
+ with atomic writes and introduced atomic CLI state persistence with automatic
25
+ recovery from backup on corruption
26
+ ([#29499](https://github.com/google-gemini/gemini-cli/pull/29499) by
27
+ @elberthc-byte,
28
+ [#29558](https://github.com/google-gemini/gemini-cli/pull/29558) by
29
+ @urielefrenvirtusa).
30
+ - **Chat Recording Optimization:** Implemented append-only delta patching and
31
+ bounded history windowing in ChatRecordingService to optimize memory and disk
32
+ efficiency during long-running sessions
33
+ ([#29568](https://github.com/google-gemini/gemini-cli/pull/29568) by
34
+ @jvargassanchez-dot).
35
+ - **CLI Interaction & Input Robustness:** Resolved `@file:line` references,
36
+ prevented CPU hangs on `@` in code blocks, and ensured Ctrl+C emergency aborts
37
+ reliably reach cancellation handlers
38
+ ([#29581](https://github.com/google-gemini/gemini-cli/pull/29581) by
39
+ @jesussamuel-byte,
40
+ [#29586](https://github.com/google-gemini/gemini-cli/pull/29586) by
41
+ @urielefrenvirtusa).
42
+
21
43
  ## Announcements: v0.63.0 - 2026-10-06
22
44
 
23
45
  - **Autonomous Plan Execution:** Enabled autonomous plan execution in
@@ -1,6 +1,6 @@
1
- # Latest stable release: v0.63.0
1
+ # Latest stable release: v0.64.0
2
2
 
3
- Released: October 6, 2026
3
+ Released: October 13, 2026
4
4
 
5
5
  For most users, our latest stable release is the recommended release. Install
6
6
  the latest stable version with:
@@ -11,62 +11,72 @@ npm install -g @google/gemini-cli
11
11
 
12
12
  ## Highlights
13
13
 
14
- - **Autonomous Plan Execution:** Enabled autonomous plan execution in
15
- non-interactive mode, allowing automated agent workflows to run multi-step
16
- plans without requiring interactive user confirmation.
17
- - **Memory Lifecycle & Output Bounding:** Bounded tool output sizes and
18
- optimized the memory lifecycle in long-running agent loops to prevent memory
19
- exhaustion, while formatting full output when truncation is disabled.
20
- - **Authentication Resilience:** Prevented infinite authentication loops caused
21
- by file contention, headless keyring environments, and supervisor state drops,
22
- ensuring reliable credential handling across environments.
23
- - **CLI & Connection Recovery UX:** Displayed a retry progress indicator during
24
- connection recovery, restored paused stdin after capability detection, and
25
- ensured automatic temporary directory cleanup upon background shell execution
26
- exit.
14
+ - **Atomic File Operations & State Recovery:** Serialized file tool operations
15
+ with atomic writes and introduced atomic CLI state persistence with automatic
16
+ recovery from backup on corruption.
17
+ - **Chat Recording Optimization:** Implemented append-only delta patching and
18
+ bounded history windowing in ChatRecordingService to optimize memory and disk
19
+ efficiency during long-running sessions.
20
+ - **CLI Input & Reference Resolution:** Added support for resolving `@file:line`
21
+ references, resolved CPU hangs and quote swallowing on `@` symbols within code
22
+ blocks, and prevented ghost text wrap hangs.
23
+ - **Terminal UI & Interaction Stability:** Ensured Ctrl+C emergency aborts
24
+ reliably reach active cancellation handlers, made selection list confirmation
25
+ with Enter and Spacebar dependable, preserved scroll positions, and fixed
26
+ Windows ConPTY IME cursor forwarding.
27
27
 
28
28
  ## What's Changed
29
29
 
30
- - fix(cli): display retry progress indicator during connection recovery (#28340)
31
- by @amelidev in
32
- [#29468](https://github.com/google-gemini/gemini-cli/pull/29468)
33
- - Changelog for v0.61.0-preview.1 by @gemini-cli-robot in
34
- [#29469](https://github.com/google-gemini/gemini-cli/pull/29469)
35
- - Changelog for v0.61.0 by @gemini-cli-robot in
36
- [#29472](https://github.com/google-gemini/gemini-cli/pull/29472)
37
- - fix(cli): distinguish missing MCP enablement config from malformed JSON by
38
- @jesussamuel-byte in
39
- [#29446](https://github.com/google-gemini/gemini-cli/pull/29446)
40
- - fix(cli): restore paused stdin after capability detection by @ugorla-dev in
41
- [#29487](https://github.com/google-gemini/gemini-cli/pull/29487)
42
- - fix(core): bound tool output size and optimize memory lifecycle in
43
- long-running agent loops by @diegogodinezr in
44
- [#29451](https://github.com/google-gemini/gemini-cli/pull/29451)
45
- - fix(core): remove invalid diff.external override by @urielefrenvirtusa in
46
- [#29467](https://github.com/google-gemini/gemini-cli/pull/29467)
47
- - chore(release): bump version to 0.63.0-nightly.20260923.gf50ba8608 by
30
+ - refactor(a2a-server): implement V1 to V2 settings migration logic by
31
+ @jvargassanchez-dot in
32
+ [#29450](https://github.com/google-gemini/gemini-cli/pull/29450)
33
+ - fix(acp): bridge PromptResponse.usage and emit usage_update notifications
34
+ (#29389) by @elberthc-byte in
35
+ [#29549](https://github.com/google-gemini/gemini-cli/pull/29549)
36
+ - Changelog for v0.63.0-preview.0 by @gemini-cli-robot in
37
+ [#29565](https://github.com/google-gemini/gemini-cli/pull/29565)
38
+ - fix(cli): propagate resolved folder trust state in headless mode (#29031) by
39
+ @amelidev in [#29528](https://github.com/google-gemini/gemini-cli/pull/29528)
40
+ - chore(release): bump version to 0.64.0-nightly.20260929.gd75234cae by
48
41
  @gemini-cli-robot in
49
- [#29471](https://github.com/google-gemini/gemini-cli/pull/29471)
50
- - Changelog for v0.62.0-preview.0 by @gemini-cli-robot in
51
- [#29470](https://github.com/google-gemini/gemini-cli/pull/29470)
52
- - fix(core): clean up temporary directory when background shell execution exits
53
- by @jesussamuel-byte in
54
- [#29437](https://github.com/google-gemini/gemini-cli/pull/29437)
55
- - fix(acp): resolve session before config initialization and avoid same-minute
56
- filename collisions by @jesussamuel-byte in
57
- [#29463](https://github.com/google-gemini/gemini-cli/pull/29463)
58
- - fix(core): align policy redirection gates, path validation, and workflow
59
- parsing by @DavidAPierce in
60
- [#29506](https://github.com/google-gemini/gemini-cli/pull/29506)
61
- - fix(auth): prevent infinite auth loop from file contention, headless keyring,
62
- and supervisor state drops (#28341) by @villahernandez-coder in
63
- [#29448](https://github.com/google-gemini/gemini-cli/pull/29448)
64
- - fix(core): enable autonomous plan execution in non-interactive mode by
42
+ [#29567](https://github.com/google-gemini/gemini-cli/pull/29567)
43
+ - fix(cli): prevent CPU hang and quote swallowing on @ within code (#29434) by
44
+ @elberthc-byte in
45
+ [#29557](https://github.com/google-gemini/gemini-cli/pull/29557)
46
+ - fix(core): serialize file tool operations and make writes atomic (#29078) by
47
+ @elberthc-byte in
48
+ [#29499](https://github.com/google-gemini/gemini-cli/pull/29499)
49
+ - fix(core): implement append-only delta patching and bounded history windowing
50
+ in ChatRecordingService by @jvargassanchez-dot in
51
+ [#29568](https://github.com/google-gemini/gemini-cli/pull/29568)
52
+ - fix(cli): persist state atomically and recover from backup on corruption by
65
53
  @urielefrenvirtusa in
66
- [#29539](https://github.com/google-gemini/gemini-cli/pull/29539)
67
- - fix(core): disable truncation when maxChars <= 0 in formatTruncatedToolOutput
68
- by @diegogodinezr in
69
- [#29542](https://github.com/google-gemini/gemini-cli/pull/29542)
54
+ [#29558](https://github.com/google-gemini/gemini-cli/pull/29558)
55
+ - fix(cli): ensure Ctrl+C emergency abort reaches cancellation handler during
56
+ active operations by @urielefrenvirtusa in
57
+ [#29586](https://github.com/google-gemini/gemini-cli/pull/29586)
58
+ - fix(cli): resolve @file:line references and prevent ghost text wrap hang by
59
+ @jesussamuel-byte in
60
+ [#29581](https://github.com/google-gemini/gemini-cli/pull/29581)
61
+ - fix(ui): ensure Windows ConPTY forwards IME cursor position by
62
+ @jesussamuel-byte in
63
+ [#29560](https://github.com/google-gemini/gemini-cli/pull/29560)
64
+ - fix(cli): retry directory removal on Windows locking errors during extension
65
+ updates by @jesussamuel-byte in
66
+ [#29540](https://github.com/google-gemini/gemini-cli/pull/29540)
67
+ - fix(acp): resolve session by exact id and handle listener cleanup on session
68
+ failure by @diegogodinezr in
69
+ [#29580](https://github.com/google-gemini/gemini-cli/pull/29580)
70
+ - fix(cli): preserve scroll position and partition pending height budget by
71
+ @luisfelipe-alt in
72
+ [#29520](https://github.com/google-gemini/gemini-cli/pull/29520)
73
+ - fix(cli): ensure Enter and Spacebar reliably confirm selection list options by
74
+ @ugorla-dev in
75
+ [#29502](https://github.com/google-gemini/gemini-cli/pull/29502)
76
+ - fix(patch): cherry-pick 2ce1a69 to release/v0.64.0-preview.0-pr-29672 to patch
77
+ version v0.64.0-preview.0 and create version 0.64.0-preview.1 by
78
+ @gemini-cli-robot in
79
+ [#29696](https://github.com/google-gemini/gemini-cli/pull/29696)
70
80
 
71
81
  **Full Changelog**:
72
- https://github.com/google-gemini/gemini-cli/compare/v0.62.0...v0.63.0
82
+ https://github.com/google-gemini/gemini-cli/compare/v0.63.0...v0.64.0
@@ -141,18 +141,19 @@ they appear in the UI.
141
141
 
142
142
  ### Security
143
143
 
144
- | UI Label | Setting | Description | Default |
145
- | ------------------------------------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------- |
146
- | Tool Sandboxing | `security.toolSandboxing` | Tool-level sandboxing. Isolates individual tools instead of the entire CLI process. | `false` |
147
- | Disable YOLO Mode | `security.disableYoloMode` | Disable YOLO mode, even if enabled by a flag. | `false` |
148
- | Disable Always Allow | `security.disableAlwaysAllow` | Disable "Always allow" options in tool confirmation dialogs. | `false` |
149
- | Allow Permanent Tool Approval | `security.enablePermanentToolApproval` | Enable the "Allow for all future sessions" option in tool confirmation dialogs. | `false` |
150
- | Auto-add to Policy by Default | `security.autoAddToPolicyByDefault` | When enabled, the "Allow for all future sessions" option becomes the default choice for low-risk tools in trusted workspaces. | `false` |
151
- | Blocks extensions from Git | `security.blockGitExtensions` | Blocks installing and loading extensions from Git. | `false` |
152
- | Extension Source Regex Allowlist | `security.allowedExtensions` | List of Regex patterns for allowed extensions. If nonempty, only extensions that match the patterns in this list are allowed. Overrides the blockGitExtensions setting. | `[]` |
153
- | Folder Trust | `security.folderTrust.enabled` | Setting to track whether Folder trust is enabled. | `true` |
154
- | Enable Environment Variable Redaction | `security.environmentVariableRedaction.enabled` | Enable redaction of environment variables that may contain secrets. | `false` |
155
- | Enable Context-Aware Security | `security.enableConseca` | Enable the context-aware security checker. This feature uses an LLM to dynamically generate and enforce security policies for tool use based on your prompt, providing an additional layer of protection against unintended actions. | `false` |
144
+ | UI Label | Setting | Description | Default |
145
+ | ------------------------------------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
146
+ | Tool Sandboxing | `security.toolSandboxing` | Tool-level sandboxing. Isolates individual tools instead of the entire CLI process. | `false` |
147
+ | Disable YOLO Mode | `security.disableYoloMode` | Disable YOLO mode, even if enabled by a flag. | `false` |
148
+ | Disable Always Allow | `security.disableAlwaysAllow` | Disable "Always allow" options in tool confirmation dialogs. | `false` |
149
+ | Allow Permanent Tool Approval | `security.enablePermanentToolApproval` | Enable the "Allow for all future sessions" option in tool confirmation dialogs. | `false` |
150
+ | Auto-add to Policy by Default | `security.autoAddToPolicyByDefault` | When enabled, the "Allow for all future sessions" option becomes the default choice for low-risk tools in trusted workspaces. | `false` |
151
+ | Blocks extensions from Git | `security.blockGitExtensions` | Blocks installing and loading extensions from Git. | `false` |
152
+ | Extension Source Regex Allowlist | `security.allowedExtensions` | List of Regex patterns for allowed extensions. If nonempty, only extensions that match the patterns in this list are allowed. Overrides the blockGitExtensions setting. | `[]` |
153
+ | Folder Trust | `security.folderTrust.enabled` | Setting to track whether Folder trust is enabled. | `true` |
154
+ | Enable Environment Variable Redaction | `security.environmentVariableRedaction.enabled` | Enable redaction of environment variables that may contain secrets. | `false` |
155
+ | OpenCode Request Headers | `security.auth.openAiOpencodeHeaders` | Adapt OpenAI-compatible requests to look like they came from the OpenCode CLI: client-identity headers plus the tool names some free endpoints require. Only enable this when the endpoint rejects requests that do not look like they came from the OpenCode CLI; some providers issue a key that is only accepted with the disguise in place. Requires a restart. | `false` |
156
+ | Enable Context-Aware Security | `security.enableConseca` | Enable the context-aware security checker. This feature uses an LLM to dynamically generate and enforce security policies for tool use based on your prompt, providing an additional layer of protection against unintended actions. | `false` |
156
157
 
157
158
  ### Advanced
158
159
 
@@ -66,9 +66,14 @@ variables using `$VAR_NAME`, `${VAR_NAME}`, or `${VAR_NAME:-DEFAULT_VALUE}`
66
66
  syntax. These variables will be automatically resolved when the settings are
67
67
  loaded. For example, if you have an environment variable `MY_API_TOKEN`, you
68
68
  could use it in `settings.json` like this: `"apiKey": "$MY_API_TOKEN"`. If you
69
- want to provide a fallback value, use `${MY_API_TOKEN:-default-token}`.
70
- Additionally, each extension can have its own `.env` file in its directory,
71
- which will be loaded automatically.
69
+ want to provide a fallback value, use `${MY_API_TOKEN:-default-token}`. You can
70
+ reference variables from your shell environment as well as variables loaded from
71
+ [`.env` files](#environment-variables-and-env-files). The settings that control
72
+ how `.env` files are loaded, such as `security.folderTrust.enabled`,
73
+ `advanced.ignoreLocalEnv`, `advanced.excludedEnvVars`, and `tools.sandbox`, are
74
+ evaluated before any `.env` file is loaded, so they can only reference variables
75
+ from your shell environment. Additionally, each extension can have its own
76
+ `.env` file in its directory, which will be loaded automatically.
72
77
 
73
78
  **Note for Enterprise Users:** For guidance on deploying and managing Gemini CLI
74
79
  in a corporate environment, see the
@@ -2016,6 +2021,16 @@ their corresponding top-level category object in your `settings.json` file.
2016
2021
  the file's first entry.
2017
2022
  - **Default:** `undefined`
2018
2023
 
2024
+ - **`security.auth.openAiOpencodeHeaders`** (boolean):
2025
+
2026
+ - **Description:** Adapt OpenAI-compatible requests to look like they came
2027
+ from the OpenCode CLI: client-identity headers plus the tool names some free
2028
+ endpoints require. Only enable this when the endpoint rejects requests that
2029
+ do not look like they came from the OpenCode CLI; some providers issue a key
2030
+ that is only accepted with the disguise in place. Requires a restart.
2031
+ - **Default:** `false`
2032
+ - **Requires restart:** Yes
2033
+
2019
2034
  - **`security.auth.enforcedType`** (string):
2020
2035
 
2021
2036
  - **Description:** The required auth type. If this does not match the selected
@@ -152,7 +152,7 @@ You can add alternative keybindings or remove default keybindings by creating a
152
152
 
153
153
  The configuration uses a JSON array of objects, similar to VS Code's keybinding
154
154
  schema. Each object must specify a `command` from the reference tables above and
155
- a `key` combination.
155
+ a `key` combination or an array of `keys`.
156
156
 
157
157
  ```json
158
158
  [
@@ -165,6 +165,16 @@ a `key` combination.
165
165
  "command": "-app.toggleYolo",
166
166
  "key": "ctrl+y"
167
167
  },
168
+ {
169
+ // unbind multiple keys in a single entry
170
+ "command": "-input.newline",
171
+ "keys": ["alt+enter", "ctrl+enter", "shift+enter", "ctrl+j"]
172
+ },
173
+ {
174
+ // bind multiple keys in a single entry
175
+ "command": "input.newline",
176
+ "keys": ["enter", "shift+enter"]
177
+ },
168
178
  {
169
179
  "command": "input.submit",
170
180
  "key": "ctrl+y"
@@ -187,9 +197,13 @@ a `key` combination.
187
197
  ]
188
198
  ```
189
199
 
190
- - **Unbinding** To remove an existing or default keybinding, prefix a minus sign
191
- (`-`) to the `command` name.
192
- - **No Auto-unbinding** The same key can be bound to multiple commands in
200
+ - **Unbinding**: To remove an existing or default keybinding, prefix a minus
201
+ sign (`-`) to the `command` name. You can unbind multiple keys in a single
202
+ entry using `keys`.
203
+ - **Multiple Keys**: You can provide an array of key combinations using `keys`
204
+ instead of (or in addition to) `key`. The first key in `keys` acts as the
205
+ primary shortcut displayed in the UI.
206
+ - **No Auto-unbinding**: The same key can be bound to multiple commands in
193
207
  different contexts at the same time. Therefore, creating a binding does not
194
208
  automatically unbind the key from other commands.
195
209
  - **Explicit Modifiers**: Key matching is explicit. For example, a binding for