@google/gemini-cli-core 0.43.0-preview.0 → 0.44.0-nightly.20260514.g77078b3e8

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.
Files changed (194) hide show
  1. package/dist/docs/changelogs/index.md +16 -0
  2. package/dist/docs/changelogs/latest.md +259 -106
  3. package/dist/docs/changelogs/preview.md +178 -227
  4. package/dist/docs/cli/auto-memory.md +4 -5
  5. package/dist/docs/cli/gemini-md.md +0 -2
  6. package/dist/docs/cli/plan-mode.md +0 -1
  7. package/dist/docs/cli/settings.md +18 -19
  8. package/dist/docs/cli/tutorials/memory-management.md +2 -2
  9. package/dist/docs/reference/commands.md +0 -3
  10. package/dist/docs/reference/configuration.md +52 -62
  11. package/dist/docs/reference/tools.md +0 -2
  12. package/dist/docs/tools/memory.md +10 -13
  13. package/dist/google-gemini-cli-core-0.44.0-nightly.20260512.g022e8baef.tgz +0 -0
  14. package/dist/src/agents/agentLoader.d.ts +18 -18
  15. package/dist/src/agents/local-executor.js +7 -13
  16. package/dist/src/agents/local-executor.js.map +1 -1
  17. package/dist/src/agents/local-executor.test.js +7 -32
  18. package/dist/src/agents/local-executor.test.js.map +1 -1
  19. package/dist/src/agents/registry.js +28 -21
  20. package/dist/src/agents/registry.js.map +1 -1
  21. package/dist/src/agents/registry.test.js +8 -18
  22. package/dist/src/agents/registry.test.js.map +1 -1
  23. package/dist/src/availability/autoRoutingFallback.integration.test.js +1 -0
  24. package/dist/src/availability/autoRoutingFallback.integration.test.js.map +1 -1
  25. package/dist/src/availability/fallbackIntegration.test.js +1 -0
  26. package/dist/src/availability/fallbackIntegration.test.js.map +1 -1
  27. package/dist/src/availability/policyHelpers.js +8 -12
  28. package/dist/src/availability/policyHelpers.js.map +1 -1
  29. package/dist/src/availability/policyHelpers.test.js +8 -1
  30. package/dist/src/availability/policyHelpers.test.js.map +1 -1
  31. package/dist/src/code_assist/oauth-credential-storage.js +3 -1
  32. package/dist/src/code_assist/oauth-credential-storage.js.map +1 -1
  33. package/dist/src/code_assist/oauth-credential-storage.test.js +25 -0
  34. package/dist/src/code_assist/oauth-credential-storage.test.js.map +1 -1
  35. package/dist/src/code_assist/oauth2.js +6 -2
  36. package/dist/src/code_assist/oauth2.js.map +1 -1
  37. package/dist/src/code_assist/setup.test.js +1 -0
  38. package/dist/src/code_assist/setup.test.js.map +1 -1
  39. package/dist/src/commands/memory.d.ts +1 -2
  40. package/dist/src/commands/memory.js +3 -27
  41. package/dist/src/commands/memory.js.map +1 -1
  42. package/dist/src/commands/memory.test.js +12 -58
  43. package/dist/src/commands/memory.test.js.map +1 -1
  44. package/dist/src/config/config.d.ts +33 -21
  45. package/dist/src/config/config.js +63 -51
  46. package/dist/src/config/config.js.map +1 -1
  47. package/dist/src/config/config.test.js +41 -87
  48. package/dist/src/config/config.test.js.map +1 -1
  49. package/dist/src/config/defaultModelConfigs.js +36 -32
  50. package/dist/src/config/defaultModelConfigs.js.map +1 -1
  51. package/dist/src/config/models.d.ts +8 -3
  52. package/dist/src/config/models.js +34 -9
  53. package/dist/src/config/models.js.map +1 -1
  54. package/dist/src/config/projectRegistry.js +1 -1
  55. package/dist/src/config/projectRegistry.js.map +1 -1
  56. package/dist/src/context/processors/toolMaskingProcessor.js +1 -2
  57. package/dist/src/context/processors/toolMaskingProcessor.js.map +1 -1
  58. package/dist/src/context/toolOutputMaskingService.js +1 -2
  59. package/dist/src/context/toolOutputMaskingService.js.map +1 -1
  60. package/dist/src/context/toolOutputMaskingService.test.js +5 -20
  61. package/dist/src/context/toolOutputMaskingService.test.js.map +1 -1
  62. package/dist/src/core/baseLlmClient.js +6 -2
  63. package/dist/src/core/baseLlmClient.js.map +1 -1
  64. package/dist/src/core/client.test.js +1 -11
  65. package/dist/src/core/client.test.js.map +1 -1
  66. package/dist/src/core/fakeContentGenerator.js +12 -4
  67. package/dist/src/core/fakeContentGenerator.js.map +1 -1
  68. package/dist/src/core/localLiteRtLmClient.js +6 -2
  69. package/dist/src/core/localLiteRtLmClient.js.map +1 -1
  70. package/dist/src/core/prompts.test.js +7 -2
  71. package/dist/src/core/prompts.test.js.map +1 -1
  72. package/dist/src/fallback/handler.js +6 -1
  73. package/dist/src/fallback/handler.js.map +1 -1
  74. package/dist/src/fallback/handler.test.js +2 -0
  75. package/dist/src/fallback/handler.test.js.map +1 -1
  76. package/dist/src/generated/git-commit.d.ts +2 -2
  77. package/dist/src/generated/git-commit.js +2 -2
  78. package/dist/src/generated/git-commit.js.map +1 -1
  79. package/dist/src/ide/ide-client.js +5 -3
  80. package/dist/src/ide/ide-client.js.map +1 -1
  81. package/dist/src/ide/ide-connection-utils.js +12 -10
  82. package/dist/src/ide/ide-connection-utils.js.map +1 -1
  83. package/dist/src/ide/types.d.ts +16 -16
  84. package/dist/src/mcp/oauth-provider.d.ts +7 -0
  85. package/dist/src/mcp/oauth-provider.js +41 -0
  86. package/dist/src/mcp/oauth-provider.js.map +1 -1
  87. package/dist/src/mcp/oauth-token-storage.js +7 -1
  88. package/dist/src/mcp/oauth-token-storage.js.map +1 -1
  89. package/dist/src/mcp/oauth-token-storage.test.js +55 -0
  90. package/dist/src/mcp/oauth-token-storage.test.js.map +1 -1
  91. package/dist/src/mcp/stored-token-provider.d.ts +27 -0
  92. package/dist/src/mcp/stored-token-provider.js +76 -0
  93. package/dist/src/mcp/stored-token-provider.js.map +1 -0
  94. package/dist/src/mcp/token-storage/keychain-token-storage.js +2 -2
  95. package/dist/src/mcp/token-storage/keychain-token-storage.js.map +1 -1
  96. package/dist/src/mcp/token-storage/keychain-token-storage.test.js +14 -1
  97. package/dist/src/mcp/token-storage/keychain-token-storage.test.js.map +1 -1
  98. package/dist/src/policy/core-tools-mapping.test.js +9 -1
  99. package/dist/src/policy/core-tools-mapping.test.js.map +1 -1
  100. package/dist/src/policy/policies/plan.toml +1 -1
  101. package/dist/src/policy/policies/write.toml +0 -7
  102. package/dist/src/policy/policy-engine.test.js +0 -8
  103. package/dist/src/policy/policy-engine.test.js.map +1 -1
  104. package/dist/src/policy/sandboxPolicyManager.d.ts +20 -20
  105. package/dist/src/prompts/promptProvider.js +5 -7
  106. package/dist/src/prompts/promptProvider.js.map +1 -1
  107. package/dist/src/prompts/promptProvider.test.js +3 -1
  108. package/dist/src/prompts/promptProvider.test.js.map +1 -1
  109. package/dist/src/prompts/{snippets-memory-v2.test.js → snippets-memory.test.js} +5 -23
  110. package/dist/src/prompts/snippets-memory.test.js.map +1 -0
  111. package/dist/src/prompts/snippets.d.ts +4 -11
  112. package/dist/src/prompts/snippets.js +11 -22
  113. package/dist/src/prompts/snippets.js.map +1 -1
  114. package/dist/src/prompts/snippets.legacy.d.ts +0 -1
  115. package/dist/src/prompts/snippets.legacy.js +5 -13
  116. package/dist/src/prompts/snippets.legacy.js.map +1 -1
  117. package/dist/src/sandbox/utils/commandSafety.js +22 -2
  118. package/dist/src/sandbox/utils/commandSafety.js.map +1 -1
  119. package/dist/src/sandbox/utils/commandSafety.test.js +85 -0
  120. package/dist/src/sandbox/utils/commandSafety.test.js.map +1 -0
  121. package/dist/src/services/modelConfigService.d.ts +2 -0
  122. package/dist/src/services/modelConfigService.js +19 -9
  123. package/dist/src/services/modelConfigService.js.map +1 -1
  124. package/dist/src/services/trackerTypes.d.ts +4 -4
  125. package/dist/src/tools/definitions/base-declarations.d.ts +0 -3
  126. package/dist/src/tools/definitions/base-declarations.js +0 -4
  127. package/dist/src/tools/definitions/base-declarations.js.map +1 -1
  128. package/dist/src/tools/definitions/coreTools.d.ts +1 -2
  129. package/dist/src/tools/definitions/coreTools.js +2 -8
  130. package/dist/src/tools/definitions/coreTools.js.map +1 -1
  131. package/dist/src/tools/definitions/coreToolsModelSnapshots.test.js +1 -2
  132. package/dist/src/tools/definitions/coreToolsModelSnapshots.test.js.map +1 -1
  133. package/dist/src/tools/definitions/model-family-sets/default-legacy.js +2 -29
  134. package/dist/src/tools/definitions/model-family-sets/default-legacy.js.map +1 -1
  135. package/dist/src/tools/definitions/model-family-sets/gemini-3.js +2 -22
  136. package/dist/src/tools/definitions/model-family-sets/gemini-3.js.map +1 -1
  137. package/dist/src/tools/definitions/types.d.ts +0 -1
  138. package/dist/src/tools/jit-context.d.ts +1 -1
  139. package/dist/src/tools/jit-context.js +1 -4
  140. package/dist/src/tools/jit-context.js.map +1 -1
  141. package/dist/src/tools/jit-context.test.js +1 -13
  142. package/dist/src/tools/jit-context.test.js.map +1 -1
  143. package/dist/src/tools/mcp-client.js +18 -21
  144. package/dist/src/tools/mcp-client.js.map +1 -1
  145. package/dist/src/tools/mcp-client.test.js +153 -14
  146. package/dist/src/tools/mcp-client.test.js.map +1 -1
  147. package/dist/src/tools/memoryTool.d.ts +9 -31
  148. package/dist/src/tools/memoryTool.js +47 -262
  149. package/dist/src/tools/memoryTool.js.map +1 -1
  150. package/dist/src/tools/memoryTool.test.js +41 -312
  151. package/dist/src/tools/memoryTool.test.js.map +1 -1
  152. package/dist/src/tools/ripGrep.d.ts +3 -7
  153. package/dist/src/tools/ripGrep.js +40 -34
  154. package/dist/src/tools/ripGrep.js.map +1 -1
  155. package/dist/src/tools/ripGrep.test.js +162 -276
  156. package/dist/src/tools/ripGrep.test.js.map +1 -1
  157. package/dist/src/tools/shell.d.ts +1 -0
  158. package/dist/src/tools/shell.js +82 -8
  159. package/dist/src/tools/shell.js.map +1 -1
  160. package/dist/src/tools/shell.test.js +138 -1
  161. package/dist/src/tools/shell.test.js.map +1 -1
  162. package/dist/src/tools/tool-names.d.ts +3 -3
  163. package/dist/src/tools/tool-names.js +4 -5
  164. package/dist/src/tools/tool-names.js.map +1 -1
  165. package/dist/src/utils/environmentContext.js +1 -6
  166. package/dist/src/utils/environmentContext.js.map +1 -1
  167. package/dist/src/utils/environmentContext.test.js +4 -14
  168. package/dist/src/utils/environmentContext.test.js.map +1 -1
  169. package/dist/src/utils/extensionLoader.js +2 -2
  170. package/dist/src/utils/extensionLoader.js.map +1 -1
  171. package/dist/src/utils/extensionLoader.test.js +22 -15
  172. package/dist/src/utils/extensionLoader.test.js.map +1 -1
  173. package/dist/src/utils/filesearch/fileSearch.js +20 -9
  174. package/dist/src/utils/filesearch/fileSearch.js.map +1 -1
  175. package/dist/src/utils/memoryDiscovery.d.ts +0 -20
  176. package/dist/src/utils/memoryDiscovery.js +0 -189
  177. package/dist/src/utils/memoryDiscovery.js.map +1 -1
  178. package/dist/src/utils/memoryDiscovery.test.js +32 -440
  179. package/dist/src/utils/memoryDiscovery.test.js.map +1 -1
  180. package/dist/src/utils/paths.d.ts +4 -0
  181. package/dist/src/utils/paths.js +36 -0
  182. package/dist/src/utils/paths.js.map +1 -1
  183. package/dist/src/utils/paths.test.js +41 -1
  184. package/dist/src/utils/paths.test.js.map +1 -1
  185. package/dist/src/utils/safeJsonStringify.js +0 -2
  186. package/dist/src/utils/safeJsonStringify.js.map +1 -1
  187. package/dist/tsconfig.tsbuildinfo +1 -1
  188. package/package.json +1 -1
  189. package/dist/src/policy/memory-manager-policy.test.js +0 -80
  190. package/dist/src/policy/memory-manager-policy.test.js.map +0 -1
  191. package/dist/src/policy/policies/memory-manager.toml +0 -20
  192. package/dist/src/prompts/snippets-memory-v2.test.js.map +0 -1
  193. /package/dist/src/{policy/memory-manager-policy.test.d.ts → prompts/snippets-memory.test.d.ts} +0 -0
  194. /package/dist/src/{prompts/snippets-memory-v2.test.d.ts → sandbox/utils/commandSafety.test.d.ts} +0 -0
@@ -18,6 +18,22 @@ 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.42.0 - 2026-05-12
22
+
23
+ - **Auto Memory Inbox:** Introduced a new inbox flow for Auto Memory with a
24
+ canonical-patch contract for seamless skill management
25
+ ([#26338](https://github.com/google-gemini/gemini-cli/pull/26338) by
26
+ @SandyTao520).
27
+ - **Gemma 4 by Default:** Enabled Gemma 4 models by default via the Gemini API
28
+ for all users
29
+ ([#26307](https://github.com/google-gemini/gemini-cli/pull/26307) by
30
+ @Abhijit-2592).
31
+ - **Voice Mode Enhancements:** Added wave animations and privacy/compliance UX
32
+ warnings for the Gemini Live backend
33
+ ([#26284](https://github.com/google-gemini/gemini-cli/pull/26284) by
34
+ @devr0306, [#26454](https://github.com/google-gemini/gemini-cli/pull/26454) by
35
+ @cocosheng-g).
36
+
21
37
  ## Announcements: v0.41.0 - 2026-05-05
22
38
 
23
39
  - **Real-time Voice Mode:** Implemented real-time voice mode with cloud and
@@ -1,6 +1,6 @@
1
- # Latest stable release: v0.41.0
1
+ # Latest stable release: v0.42.0
2
2
 
3
- Released: May 05, 2026
3
+ Released: May 12, 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,119 +11,272 @@ npm install -g @google/gemini-cli
11
11
 
12
12
  ## Highlights
13
13
 
14
- - **Real-time Voice Mode:** Introduced support for real-time voice interaction
15
- with both cloud-based and local processing backends.
16
- - **Enhanced Security:** Implemented mandatory workspace trust for headless
17
- environments and secured the loading of `.env` configuration files.
18
- - **Advanced Shell Validation:** Added a robust shell command validation layer
19
- and a core tools allowlist to prevent unauthorized execution.
20
- - **Improved Context Management:** Integrated a new `ContextManager` and
21
- `AgentChatHistory` to provide more reliable and efficient session handling.
22
- - **Auto-Memory Persistence:** Enabled the persistence of the auto-memory
23
- scratchpad, allowing for seamless skill extraction across turns.
14
+ - **Auto Memory Inbox:** Introduced a new inbox flow for Auto Memory using a
15
+ canonical-patch contract, enabling more robust and manageable skill
16
+ extraction.
17
+ - **Gemma 4 Default:** Gemma 4 models are now enabled by default via the Gemini
18
+ API, providing improved performance and capabilities out of the box.
19
+ - **Voice Mode Polish:** Added wave animations for visual feedback and
20
+ privacy/compliance UX warnings specifically for the Gemini Live backend.
21
+ - **Session Management:** Added a `--delete` flag to the `/exit` command for
22
+ instant session deletion and introduced `/bug-memory` for easier heap
23
+ diagnostics.
24
+ - **Improved Reliability:** Reduced default API timeouts to 60s and implemented
25
+ retries for undici and premature stream closure errors.
24
26
 
25
27
  ## What's Changed
26
28
 
27
- - chore(release): bump version to 0.41.0-nightly.20260423.gaa05b4583 by
29
+ - fix(cli): prevent automatic updates from switching to less stable channels by
30
+ @Adib234 in [#26132](https://github.com/google-gemini/gemini-cli/pull/26132)
31
+ - chore(release): bump version to 0.42.0-nightly.20260428.g59b2dea0e by
28
32
  @gemini-cli-robot in
29
- [#25847](https://github.com/google-gemini/gemini-cli/pull/25847)
30
- - fix(core): only show `list` suggestion if the partial input is empty by
31
- @cynthialong0-0 in
32
- [#25821](https://github.com/google-gemini/gemini-cli/pull/25821)
33
- - feat(cli): secure .env loading and enforce workspace trust in headless mode by
34
- @ehedlund in [#25814](https://github.com/google-gemini/gemini-cli/pull/25814)
35
- - fix: fatal hard-crash on loop detection via unhandled AbortError by @hsm207 in
36
- [#20108](https://github.com/google-gemini/gemini-cli/pull/20108)
37
- - update package-lock.json by @ehedlund in
38
- [#25876](https://github.com/google-gemini/gemini-cli/pull/25876)
39
- - feat(core): enhance shell command validation and add core tools allowlist by
40
- @galz10 in [#25720](https://github.com/google-gemini/gemini-cli/pull/25720)
41
- - fix(ui): corrected background color check in user message components by
42
- @devr0306 in [#25880](https://github.com/google-gemini/gemini-cli/pull/25880)
43
- - perf(core): fix slow boot by fetching experiments and quota asynchronously by
44
- @spencer426 in
45
- [#25758](https://github.com/google-gemini/gemini-cli/pull/25758)
46
- - feat(core,cli): add support for Gemma 4 models (experimental) by @Abhijit-2592
47
- in [#25604](https://github.com/google-gemini/gemini-cli/pull/25604)
48
- - update FatalUntrustedWorkspaceError message to include doc link by @ehedlund
49
- in [#25874](https://github.com/google-gemini/gemini-cli/pull/25874)
50
- - docs: add Gemini CLI course link to README by @JayadityaGit in
51
- [#25925](https://github.com/google-gemini/gemini-cli/pull/25925)
52
- - feat(repo): add gemini-cli-bot metrics and workflows by @gundermanc in
53
- [#25888](https://github.com/google-gemini/gemini-cli/pull/25888)
54
- - fix(cli): allow output redirection for cli commands by @spencer426 in
55
- [#25894](https://github.com/google-gemini/gemini-cli/pull/25894)
56
- - fix(core): fail closed in YOLO mode when shell parsing fails for restricted
57
- rules by @ehedlund in
58
- [#25935](https://github.com/google-gemini/gemini-cli/pull/25935)
59
- - fix(cli-ui): revert backspace handling to fix Windows regression by @scidomino
60
- in [#25941](https://github.com/google-gemini/gemini-cli/pull/25941)
61
- - feat(voice): implement real-time voice mode with cloud and local backends by
33
+ [#26142](https://github.com/google-gemini/gemini-cli/pull/26142)
34
+ - fix(cli): pass node arguments via NODE_OPTIONS during relaunch to support SEA
35
+ by @cocosheng-g in
36
+ [#26130](https://github.com/google-gemini/gemini-cli/pull/26130)
37
+ - fix(cli): handle DECKPAM keypad Enter sequences in terminal by @Gitanaskhan26
38
+ in [#26092](https://github.com/google-gemini/gemini-cli/pull/26092)
39
+ - docs(cli): point plan-mode session retention to actual /settings labels by
40
+ @ifitisit in [#25978](https://github.com/google-gemini/gemini-cli/pull/25978)
41
+ - fix(core): add missing oauth fields support in subagent parsing by
42
+ @abhipatel12 in
43
+ [#26141](https://github.com/google-gemini/gemini-cli/pull/26141)
44
+ - fix(core): disconnect extension-backed MCP clients in stopExtension by
45
+ @cocosheng-g in
46
+ [#26136](https://github.com/google-gemini/gemini-cli/pull/26136)
47
+ - Update documentation workflows with workspace trust by @g-samroberts in
48
+ [#26150](https://github.com/google-gemini/gemini-cli/pull/26150)
49
+ - refactor(acp): modularize monolithic acpClient into specialized files by
50
+ @sripasg in [#26143](https://github.com/google-gemini/gemini-cli/pull/26143)
51
+ - test: fix failures due to antigravity environment leakage by @adamfweidman in
52
+ [#26162](https://github.com/google-gemini/gemini-cli/pull/26162)
53
+ - fix(core): add explicit empty log guard in A2A pushMessage by @adamfweidman in
54
+ [#26198](https://github.com/google-gemini/gemini-cli/pull/26198)
55
+ - feat(cli): add --delete flag to /exit command for session deletion by
56
+ @AbdulTawabJuly in
57
+ [#19332](https://github.com/google-gemini/gemini-cli/pull/19332)
58
+ - test(core): add regression test for issue for ToolConfirmationResponse by
59
+ @Adib234 in [#26194](https://github.com/google-gemini/gemini-cli/pull/26194)
60
+ - Add the ability to @ mention the gemini robot. by @gundermanc in
61
+ [#26207](https://github.com/google-gemini/gemini-cli/pull/26207)
62
+ - test(evals): add EvalMetadata JSDoc annotations to older tests by @akh64bit in
63
+ [#26147](https://github.com/google-gemini/gemini-cli/pull/26147)
64
+ - fix(core): reduce default API timeout to 60s and enable retries for undici
65
+ timeouts by @Adib234 in
66
+ [#26191](https://github.com/google-gemini/gemini-cli/pull/26191)
67
+ - fix(core): distinguish fallback chains and fix maxAttempts for auto vs
68
+ explicit model selection by @adamfweidman in
69
+ [#26163](https://github.com/google-gemini/gemini-cli/pull/26163)
70
+ - fix(cli): handle InvalidStream event gracefully without throwing by
71
+ @adamfweidman in
72
+ [#26218](https://github.com/google-gemini/gemini-cli/pull/26218)
73
+ - ci(github-actions): switch to github app token and fix bot self-trigger by
74
+ @gundermanc in
75
+ [#26223](https://github.com/google-gemini/gemini-cli/pull/26223)
76
+ - Respect logPrompts flag for logging sensitive fields by @lp-peg in
77
+ [#26153](https://github.com/google-gemini/gemini-cli/pull/26153)
78
+ - fix: correct API key validation logic in handleApiKeySubmit by
79
+ @martin-hsu-test in
80
+ [#25453](https://github.com/google-gemini/gemini-cli/pull/25453)
81
+ - fix(agent): prevent exit_plan_mode from being called via shell by
62
82
  @Abhijit-2592 in
63
- [#24174](https://github.com/google-gemini/gemini-cli/pull/24174)
64
- - Changelog for v0.39.0 by @gemini-cli-robot in
65
- [#25848](https://github.com/google-gemini/gemini-cli/pull/25848)
66
- - feat(memory): persist auto-memory scratchpad for skill extraction by
67
- @SandyTao520 in
68
- [#25873](https://github.com/google-gemini/gemini-cli/pull/25873)
69
- - fix(cli): add missing response key to custom theme text schema by @gaurav0107
70
- in [#25822](https://github.com/google-gemini/gemini-cli/pull/25822)
71
- - fix(cli): provide manual update command when automatic update fails by
83
+ [#26230](https://github.com/google-gemini/gemini-cli/pull/26230)
84
+ - # Fix: Inconsistent Case-Sensitivity in GrepTool by @.github/workflows/gemini-cli-bot-pulse.yml[bot] in [#26235](https://github.com/google-gemini/gemini-cli/pull/26235)
85
+ - docs(core): add automated gemma setup guide by @Samee24 in
86
+ [#26233](https://github.com/google-gemini/gemini-cli/pull/26233)
87
+ - Allow non-https proxy urls to support container environments by @stevemk14ebr
88
+ in [#26234](https://github.com/google-gemini/gemini-cli/pull/26234)
89
+ - fix(bot): productivity and backlog optimizations by @gundermanc in
90
+ [#26236](https://github.com/google-gemini/gemini-cli/pull/26236)
91
+ - refactor(acp): delegate prompt turn processing logic to GeminiClient by
92
+ @sripasg in [#26222](https://github.com/google-gemini/gemini-cli/pull/26222)
93
+ - fix(cli): refine platform-specific undo/redo and smart bubbling for WSL by
72
94
  @cocosheng-g in
73
- [#26052](https://github.com/google-gemini/gemini-cli/pull/26052)
74
- - test(cli): add unit tests for restore ACP command (#23402) by @cocosheng-g in
75
- [#26053](https://github.com/google-gemini/gemini-cli/pull/26053)
76
- - fix(ui): better error messages for ECONNRESET and ETIMEDOUT by @devr0306 in
77
- [#26059](https://github.com/google-gemini/gemini-cli/pull/26059)
78
- - feat(core): wire up the new ContextManager and AgentChatHistory by @joshualitt
79
- in [#25409](https://github.com/google-gemini/gemini-cli/pull/25409)
80
- - fix(cli): ensure sandbox proxy cleanup and remove handler leaks by @ehedlund
81
- in [#26065](https://github.com/google-gemini/gemini-cli/pull/26065)
82
- - fix(cli): correct alternate buffer warning logic for JetBrains by @Adib234 in
83
- [#26067](https://github.com/google-gemini/gemini-cli/pull/26067)
84
- - fix(cli): make MCP ping optional in list command and use configured timeout by
95
+ [#26202](https://github.com/google-gemini/gemini-cli/pull/26202)
96
+ - fix: suppress duplicate extension warnings during startup by @cocosheng-g in
97
+ [#26208](https://github.com/google-gemini/gemini-cli/pull/26208)
98
+ - fix(cli): use byte length instead of string length for readStdin size limits
99
+ by @Adib234 in
100
+ [#26224](https://github.com/google-gemini/gemini-cli/pull/26224)
101
+ - fix(ui): made shell tool header wrap on Ctrl+O by @devr0306 in
102
+ [#26229](https://github.com/google-gemini/gemini-cli/pull/26229)
103
+ - Changelog for v0.41.0-preview.0 by @gemini-cli-robot in
104
+ [#26244](https://github.com/google-gemini/gemini-cli/pull/26244)
105
+ - Skip binary CLI relaunch by @ruomengz in
106
+ [#26261](https://github.com/google-gemini/gemini-cli/pull/26261)
107
+ - fix(cli): do not override GOOGLE_CLOUD_PROJECT in Cloud Shell when using
108
+ Vertex AI by @jackwotherspoon in
109
+ [#24455](https://github.com/google-gemini/gemini-cli/pull/24455)
110
+ - docs(cli): add skill discovery troubleshooting checklist to tutorial by
111
+ @pmenic in [#26018](https://github.com/google-gemini/gemini-cli/pull/26018)
112
+ - docs(policy-engine): link to tools reference for tool names and args by
113
+ @Aaxhirrr in [#22081](https://github.com/google-gemini/gemini-cli/pull/22081)
114
+ - Fix posting invalid response to a comment by @gundermanc in
115
+ [#26266](https://github.com/google-gemini/gemini-cli/pull/26266)
116
+ - fix(cli): prevent informational logs from polluting json output by
85
117
  @cocosheng-g in
86
- [#26068](https://github.com/google-gemini/gemini-cli/pull/26068)
87
- - fix(core): better error message for failed cloudshell-gca auth by @devr0306 in
88
- [#26079](https://github.com/google-gemini/gemini-cli/pull/26079)
89
- - feat(cli): provide manual session UUID via command line arg by @cocosheng-g in
90
- [#26060](https://github.com/google-gemini/gemini-cli/pull/26060)
91
- - Changelog for v0.40.0-preview.2 by @gemini-cli-robot in
92
- [#25846](https://github.com/google-gemini/gemini-cli/pull/25846)
93
- - (docs) update sandboxing documentation by @g-samroberts in
94
- [#25930](https://github.com/google-gemini/gemini-cli/pull/25930)
95
- - fix(core): enforce parallel task tracker updates by @anj-s in
96
- [#24477](https://github.com/google-gemini/gemini-cli/pull/24477)
97
- - Update policy so transient errors are not marked terminal by @DavidAPierce in
98
- [#26066](https://github.com/google-gemini/gemini-cli/pull/26066)
99
- - Implement bot that performs time-series metric analysis and suggests repo
100
- management improvements by @gundermanc in
101
- [#25945](https://github.com/google-gemini/gemini-cli/pull/25945)
102
- - fix(core): handle non-string model flags in resolution by @Adib234 in
103
- [#26069](https://github.com/google-gemini/gemini-cli/pull/26069)
104
- - fix(ux): added error message for ENOTDIR by @devr0306 in
105
- [#26128](https://github.com/google-gemini/gemini-cli/pull/26128)
106
- - Changelog for v0.40.0-preview.3 by @gemini-cli-robot in
107
- [#25904](https://github.com/google-gemini/gemini-cli/pull/25904)
108
- - fix(cli): prevent ACP stdout pollution from SessionEnd hooks by @cocosheng-g
109
- in [#26125](https://github.com/google-gemini/gemini-cli/pull/26125)
110
- - feat(cli): support boolean and number casting for env vars in settings.json by
118
+ [#26264](https://github.com/google-gemini/gemini-cli/pull/26264)
119
+ - feat(ui): added microphone and updated placeholder for voice mode by @devr0306
120
+ in [#26270](https://github.com/google-gemini/gemini-cli/pull/26270)
121
+ - feat(cli): Add 'list' subcommand to '/commands' by @Jwhyee in
122
+ [#22324](https://github.com/google-gemini/gemini-cli/pull/22324)
123
+ - fix(core): ensure tool output cleanup on session deletion for legacy files by
111
124
  @cocosheng-g in
112
- [#26118](https://github.com/google-gemini/gemini-cli/pull/26118)
113
- - fix(cli): preserve Request headers in DevTools activity logger by @Adib234 in
114
- [#26078](https://github.com/google-gemini/gemini-cli/pull/26078)
115
- - fix(patch): cherry-pick 2194da2 to release/v0.41.0-preview.0-pr-26153 to patch
116
- version v0.41.0-preview.0 and create version 0.41.0-preview.1 by
117
- @gemini-cli-robot in
118
- [#26269](https://github.com/google-gemini/gemini-cli/pull/26269)
119
- - fix(patch): cherry-pick 1d72a12 to release/v0.41.0-preview.1-pr-26479 to patch
120
- version v0.41.0-preview.1 and create version 0.41.0-preview.2 by
125
+ [#26263](https://github.com/google-gemini/gemini-cli/pull/26263)
126
+ - Docs: Update Agent Skills documentation by @jkcinouye in
127
+ [#22388](https://github.com/google-gemini/gemini-cli/pull/22388)
128
+ - test(acp): add missing coverage for extensions command error paths by
129
+ @sahilkirad in
130
+ [#25313](https://github.com/google-gemini/gemini-cli/pull/25313)
131
+ - Changelog for v0.40.0 by @gemini-cli-robot in
132
+ [#26245](https://github.com/google-gemini/gemini-cli/pull/26245)
133
+ - fix: report AgentExecutionBlocked in non-interactive programmatic modes by
134
+ @cocosheng-g in
135
+ [#26262](https://github.com/google-gemini/gemini-cli/pull/26262)
136
+ - feat(extensions): add 'delete' as an alias for /extensions uninstall by
137
+ @martin-hsu-test in
138
+ [#25660](https://github.com/google-gemini/gemini-cli/pull/25660)
139
+ - fix(core): silently skip GEMINI.md paths that are directories (EISDIR) by
140
+ @martin-hsu-test in
141
+ [#25662](https://github.com/google-gemini/gemini-cli/pull/25662)
142
+ - fix(ci): checkout PR branch instead of main in bot workflow by @gundermanc in
143
+ [#26289](https://github.com/google-gemini/gemini-cli/pull/26289)
144
+ - fix(cli): use resolved sandbox state for auto-update check by @Adib234 in
145
+ [#26285](https://github.com/google-gemini/gemini-cli/pull/26285)
146
+ - # Metrics Integrity & Standardized Reporting (BT-01) by @.github/workflows/gemini-cli-bot-pulse.yml[bot] in [#26240](https://github.com/google-gemini/gemini-cli/pull/26240)
147
+ - Add Star History section to README by @bdmorgan in
148
+ [#26290](https://github.com/google-gemini/gemini-cli/pull/26290)
149
+ - Add Star History section to README by @bdmorgan in
150
+ [#26308](https://github.com/google-gemini/gemini-cli/pull/26308)
151
+ - Remove Star History section from README by @bdmorgan in
152
+ [#26309](https://github.com/google-gemini/gemini-cli/pull/26309)
153
+ - test(evals): add behavioral eval for file creation and write_file tool
154
+ selection by @akh64bit in
155
+ [#26292](https://github.com/google-gemini/gemini-cli/pull/26292)
156
+ - feat(config): enable Gemma 4 models by default via Gemini API by @Abhijit-2592
157
+ in [#26307](https://github.com/google-gemini/gemini-cli/pull/26307)
158
+ - fix(cli): insert voice transcription at cursor position instead of ap… by
159
+ @Zheyuan-Lin in
160
+ [#26287](https://github.com/google-gemini/gemini-cli/pull/26287)
161
+ - fix(ui): fix issue with box edges by @gundermanc in
162
+ [#26148](https://github.com/google-gemini/gemini-cli/pull/26148)
163
+ - fix(cli): respect .env override for GOOGLE_CLOUD_PROJECT by @DavidAPierce in
164
+ [#26288](https://github.com/google-gemini/gemini-cli/pull/26288)
165
+ - fix(ci): robust version checking in release verification by @scidomino in
166
+ [#26337](https://github.com/google-gemini/gemini-cli/pull/26337)
167
+ - fix(cli): enable daemon relaunch in binary and bundle keytar by @ruomengz in
168
+ [#26333](https://github.com/google-gemini/gemini-cli/pull/26333)
169
+ - fix(core): discourage unprompted git add . in prompt snippets by @akh64bit in
170
+ [#26220](https://github.com/google-gemini/gemini-cli/pull/26220)
171
+ - feat(ui): added wave animation for voice mode by @devr0306 in
172
+ [#26284](https://github.com/google-gemini/gemini-cli/pull/26284)
173
+ - fix(cli): prevent Escape from clearing input buffer (#17083) by @cocosheng-g
174
+ in [#26339](https://github.com/google-gemini/gemini-cli/pull/26339)
175
+ - fix(cli): undeprecate --prompt and correct positional query docs by @Adib234
176
+ in [#26329](https://github.com/google-gemini/gemini-cli/pull/26329)
177
+ - Metrics updates by @.github/workflows/gemini-cli-bot-pulse.yml[bot] in
178
+ [#26348](https://github.com/google-gemini/gemini-cli/pull/26348)
179
+ - fix(core): remove "System: Please continue." injection on InvalidStream events
180
+ by @SandyTao520 in
181
+ [#26340](https://github.com/google-gemini/gemini-cli/pull/26340)
182
+ - docs(policy-engine): add tool argument keys reference and shell policy
183
+ cross-links by @harshpujari in
184
+ [#25292](https://github.com/google-gemini/gemini-cli/pull/25292)
185
+ - fix(cli): resolve Ghostty/raw-mode False Cancellation in oauth flow by
186
+ @Aarchi-07 in [#25026](https://github.com/google-gemini/gemini-cli/pull/25026)
187
+ - fix(core): reset session-scoped state on resumption by @cocosheng-g in
188
+ [#26342](https://github.com/google-gemini/gemini-cli/pull/26342)
189
+ - Fix bulk of remaining issues with generalist profile by @joshualitt in
190
+ [#26073](https://github.com/google-gemini/gemini-cli/pull/26073)
191
+ - fix(core): make subagents aware of active approval modes by @akh64bit in
192
+ [#23608](https://github.com/google-gemini/gemini-cli/pull/23608)
193
+ - fix(acp): resolve agent mode disconnect and improve mode awareness by @sripasg
194
+ in [#26332](https://github.com/google-gemini/gemini-cli/pull/26332)
195
+ - docs(sdk): add JSDoc to exported interfaces in packages/sdk/src/types.ts by
196
+ @cocosheng-g in
197
+ [#26441](https://github.com/google-gemini/gemini-cli/pull/26441)
198
+ - perf: skip redundant GEMINI.md loading in partialConfig by @cocosheng-g in
199
+ [#26443](https://github.com/google-gemini/gemini-cli/pull/26443)
200
+ - Enhance React guidelines by @psinha40898 in
201
+ [#22667](https://github.com/google-gemini/gemini-cli/pull/22667)
202
+ - feat(core): reinforce Inquiry constraints to prevent unauthorized changes by
203
+ @akh64bit in [#26310](https://github.com/google-gemini/gemini-cli/pull/26310)
204
+ - revert: fix(ci): robust version checking in release verification (#26337) by
205
+ @scidomino in [#26450](https://github.com/google-gemini/gemini-cli/pull/26450)
206
+ - refactor(UI): created constants file for ThemeDialog by @devr0306 in
207
+ [#26446](https://github.com/google-gemini/gemini-cli/pull/26446)
208
+ - docs: fix GitHub capitalization in releases guide by @haosenwang1018 in
209
+ [#26379](https://github.com/google-gemini/gemini-cli/pull/26379)
210
+ - fix(cli): ensure branch indicator updates in sub-directories and worktrees by
211
+ @Adib234 in [#26330](https://github.com/google-gemini/gemini-cli/pull/26330)
212
+ - feat: add minimal V8 heap snapshot utility for memory diagnostics by
213
+ @cocosheng-g in
214
+ [#26440](https://github.com/google-gemini/gemini-cli/pull/26440)
215
+ - fix(hooks): preserve non-text parts in fromHookLLMRequest by @SandyTao520 in
216
+ [#26275](https://github.com/google-gemini/gemini-cli/pull/26275)
217
+ - fix(cli): allow early stdout when config is undefined by @cocosheng-g in
218
+ [#26453](https://github.com/google-gemini/gemini-cli/pull/26453)
219
+ - fix(cli)#21297: clear skills consent dialog before reload by @manavmax in
220
+ [#26431](https://github.com/google-gemini/gemini-cli/pull/26431)
221
+ - fix(cli): render LaTeX-style output as Unicode in the TUI by @dimssu in
222
+ [#25802](https://github.com/google-gemini/gemini-cli/pull/25802)
223
+ - fix(core): use close event instead of exit in child_process fallback by
224
+ @tusaryan in [#25695](https://github.com/google-gemini/gemini-cli/pull/25695)
225
+ - feat(voice): add privacy and compliance UX warning for Gemini Live backend by
226
+ @cocosheng-g in
227
+ [#26454](https://github.com/google-gemini/gemini-cli/pull/26454)
228
+ - feat(memory): add Auto Memory inbox flow with canonical-patch contract by
229
+ @SandyTao520 in
230
+ [#26338](https://github.com/google-gemini/gemini-cli/pull/26338)
231
+ - test(cleanup): fix temporary directory leaks in test suites by @Adib234 in
232
+ [#26217](https://github.com/google-gemini/gemini-cli/pull/26217)
233
+ - feat: add ignoreLocalEnv setting and --ignore-env flag (#2493) by @cocosheng-g
234
+ in [#26445](https://github.com/google-gemini/gemini-cli/pull/26445)
235
+ - docs(sdk): add JSDoc to all exported interfaces and types by @fauzan171 in
236
+ [#26277](https://github.com/google-gemini/gemini-cli/pull/26277)
237
+ - feat(cli): improve /agents refresh logging by @cocosheng-g in
238
+ [#26442](https://github.com/google-gemini/gemini-cli/pull/26442)
239
+ - Fix: make Dockerfile self-contained with multi-stage build by @Famous077 in
240
+ [#24277](https://github.com/google-gemini/gemini-cli/pull/24277)
241
+ - fix(core): filter unsupported multimodal types from tool responses by
242
+ @aishaneeshah in
243
+ [#26352](https://github.com/google-gemini/gemini-cli/pull/26352)
244
+ - fix(core): properly format markdown in AskUser tool by unescaping newlines by
245
+ @Adib234 in [#26349](https://github.com/google-gemini/gemini-cli/pull/26349)
246
+ - feat(bot): add actions spend metric script by @gundermanc in
247
+ [#26463](https://github.com/google-gemini/gemini-cli/pull/26463)
248
+ - feat(cli): add /bug-memory command and auto-capture heap snapshot in /bug by
249
+ @Anjaligarhwal in
250
+ [#25639](https://github.com/google-gemini/gemini-cli/pull/25639)
251
+ - fix(cli): make SkillInboxDialog fit and scroll in alternate buffer by
252
+ @SandyTao520 in
253
+ [#26455](https://github.com/google-gemini/gemini-cli/pull/26455)
254
+ - Robust Scale-Safe Lifecycle Consolidation by @gemini-cli-robot in
255
+ [#26355](https://github.com/google-gemini/gemini-cli/pull/26355)
256
+ - fix(ci): respect exempt labels when closing stale items by @gundermanc in
257
+ [#26475](https://github.com/google-gemini/gemini-cli/pull/26475)
258
+ - fix(cli): use os.homedir() for home directory warning check by @TirthNaik-99
259
+ in [#25890](https://github.com/google-gemini/gemini-cli/pull/25890)
260
+ - fix(a2a-server): resolve tool approval race condition and improve status
261
+ reporting by @kschaab in
262
+ [#26479](https://github.com/google-gemini/gemini-cli/pull/26479)
263
+ - fix(cli): prevent settings dialog border clipping using maxHeight by
264
+ @jackwotherspoon in
265
+ [#26507](https://github.com/google-gemini/gemini-cli/pull/26507)
266
+ - feat: allow queuing messages during compression (#24071) by @cocosheng-g in
267
+ [#26506](https://github.com/google-gemini/gemini-cli/pull/26506)
268
+ - fix(core): retry on ERR_STREAM_PREMATURE_CLOSE errors by @cocosheng-g in
269
+ [#26519](https://github.com/google-gemini/gemini-cli/pull/26519)
270
+ - fix(core): Minor fixes for generalist profile. by @joshualitt in
271
+ [#26357](https://github.com/google-gemini/gemini-cli/pull/26357)
272
+ - fix(patch): cherry-pick 3627f47 to release/v0.42.0-preview.0-pr-26542 to patch
273
+ version v0.42.0-preview.0 and create version 0.42.0-preview.1 by
121
274
  @gemini-cli-robot in
122
- [#26508](https://github.com/google-gemini/gemini-cli/pull/26508)
123
- - fix(patch): cherry-pick 7cc19c2 to release/v0.41.0-preview.2-pr-26507 to patch
124
- version v0.41.0-preview.2 and create version 0.41.0-preview.3 by
275
+ [#26544](https://github.com/google-gemini/gemini-cli/pull/26544)
276
+ - fix(patch): cherry-pick 02995ba to release/v0.42.0-preview.1-pr-26568 to patch
277
+ version v0.42.0-preview.1 and create version 0.42.0-preview.2 by
125
278
  @gemini-cli-robot in
126
- [#26530](https://github.com/google-gemini/gemini-cli/pull/26530)
279
+ [#26590](https://github.com/google-gemini/gemini-cli/pull/26590)
127
280
 
128
281
  **Full Changelog**:
129
- https://github.com/google-gemini/gemini-cli/compare/v0.40.1...v0.41.0
282
+ https://github.com/google-gemini/gemini-cli/compare/v0.41.2...v0.42.0