@google/gemini-cli-core 0.41.0-preview.1 → 0.42.0-nightly.20260501.gcaa046641

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 (123) hide show
  1. package/dist/docs/changelogs/index.md +18 -0
  2. package/dist/docs/changelogs/latest.md +167 -242
  3. package/dist/docs/changelogs/preview.md +99 -385
  4. package/dist/docs/cli/cli-reference.md +1 -0
  5. package/dist/docs/cli/creating-skills.md +165 -38
  6. package/dist/docs/cli/custom-commands.md +1 -0
  7. package/dist/docs/cli/model-routing.md +3 -3
  8. package/dist/docs/cli/plan-mode.md +2 -1
  9. package/dist/docs/cli/skills-best-practices.md +78 -0
  10. package/dist/docs/cli/skills.md +98 -93
  11. package/dist/docs/cli/tutorials/session-management.md +13 -0
  12. package/dist/docs/cli/tutorials/skills-getting-started.md +140 -92
  13. package/dist/docs/cli/using-agent-skills.md +89 -0
  14. package/dist/docs/core/gemma-setup.md +83 -0
  15. package/dist/docs/core/index.md +3 -2
  16. package/dist/docs/core/local-model-routing.md +14 -7
  17. package/dist/docs/reference/commands.md +14 -4
  18. package/dist/docs/reference/configuration.md +76 -4
  19. package/dist/docs/reference/keyboard-shortcuts.md +1 -1
  20. package/dist/docs/reference/policy-engine.md +14 -3
  21. package/dist/docs/sidebar.json +24 -2
  22. package/dist/docs/tools/activate-skill.md +1 -1
  23. package/dist/{google-gemini-cli-core-0.41.0-preview.0.tgz → google-gemini-cli-core-0.42.0-nightly.20260428.g59b2dea0e.tgz} +0 -0
  24. package/dist/src/agent/event-translator.js +1 -1
  25. package/dist/src/agent/event-translator.js.map +1 -1
  26. package/dist/src/agent/event-translator.test.js +2 -2
  27. package/dist/src/agent/event-translator.test.js.map +1 -1
  28. package/dist/src/agent/legacy-agent-session.test.js +1 -1
  29. package/dist/src/agent/legacy-agent-session.test.js.map +1 -1
  30. package/dist/src/agents/a2aUtils.js +1 -1
  31. package/dist/src/agents/a2aUtils.js.map +1 -1
  32. package/dist/src/agents/a2aUtils.test.js +18 -0
  33. package/dist/src/agents/a2aUtils.test.js.map +1 -1
  34. package/dist/src/agents/agentLoader.d.ts +105 -0
  35. package/dist/src/agents/agentLoader.js +20 -0
  36. package/dist/src/agents/agentLoader.js.map +1 -1
  37. package/dist/src/agents/agentLoader.test.js +60 -0
  38. package/dist/src/agents/agentLoader.test.js.map +1 -1
  39. package/dist/src/agents/auth-provider/types.d.ts +5 -0
  40. package/dist/src/availability/autoRoutingFallback.integration.test.d.ts +6 -0
  41. package/dist/src/availability/autoRoutingFallback.integration.test.js +287 -0
  42. package/dist/src/availability/autoRoutingFallback.integration.test.js.map +1 -0
  43. package/dist/src/availability/fallbackIntegration.test.js +28 -0
  44. package/dist/src/availability/fallbackIntegration.test.js.map +1 -1
  45. package/dist/src/availability/modelAvailabilityService.d.ts +1 -1
  46. package/dist/src/availability/modelAvailabilityService.js +3 -2
  47. package/dist/src/availability/modelAvailabilityService.js.map +1 -1
  48. package/dist/src/availability/modelAvailabilityService.test.js +5 -0
  49. package/dist/src/availability/modelAvailabilityService.test.js.map +1 -1
  50. package/dist/src/availability/modelPolicy.d.ts +1 -0
  51. package/dist/src/availability/policyCatalog.d.ts +1 -0
  52. package/dist/src/availability/policyCatalog.js +38 -9
  53. package/dist/src/availability/policyCatalog.js.map +1 -1
  54. package/dist/src/availability/policyCatalog.test.js +5 -2
  55. package/dist/src/availability/policyCatalog.test.js.map +1 -1
  56. package/dist/src/availability/policyHelpers.js +14 -6
  57. package/dist/src/availability/policyHelpers.js.map +1 -1
  58. package/dist/src/availability/policyHelpers.test.js +36 -1
  59. package/dist/src/availability/policyHelpers.test.js.map +1 -1
  60. package/dist/src/config/defaultModelConfigs.js +76 -4
  61. package/dist/src/config/defaultModelConfigs.js.map +1 -1
  62. package/dist/src/core/baseLlmClient.js +3 -1
  63. package/dist/src/core/baseLlmClient.js.map +1 -1
  64. package/dist/src/core/baseLlmClient.test.js +27 -23
  65. package/dist/src/core/baseLlmClient.test.js.map +1 -1
  66. package/dist/src/core/contentGenerator.js +1 -6
  67. package/dist/src/core/contentGenerator.js.map +1 -1
  68. package/dist/src/core/contentGenerator.test.js +1 -7
  69. package/dist/src/core/contentGenerator.test.js.map +1 -1
  70. package/dist/src/generated/git-commit.d.ts +2 -2
  71. package/dist/src/generated/git-commit.js +2 -2
  72. package/dist/src/generated/git-commit.js.map +1 -1
  73. package/dist/src/output/json-formatter.d.ts +1 -1
  74. package/dist/src/output/json-formatter.js +4 -1
  75. package/dist/src/output/json-formatter.js.map +1 -1
  76. package/dist/src/output/json-formatter.test.js +7 -0
  77. package/dist/src/output/json-formatter.test.js.map +1 -1
  78. package/dist/src/output/types.d.ts +1 -0
  79. package/dist/src/output/types.js.map +1 -1
  80. package/dist/src/prompts/snippets.js +2 -2
  81. package/dist/src/prompts/snippets.js.map +1 -1
  82. package/dist/src/prompts/snippets.legacy.js +1 -1
  83. package/dist/src/prompts/snippets.legacy.js.map +1 -1
  84. package/dist/src/scheduler/confirmation.test.js +29 -0
  85. package/dist/src/scheduler/confirmation.test.js.map +1 -1
  86. package/dist/src/services/chatRecordingService.d.ts +6 -0
  87. package/dist/src/services/chatRecordingService.js +65 -17
  88. package/dist/src/services/chatRecordingService.js.map +1 -1
  89. package/dist/src/services/chatRecordingService.test.js +66 -0
  90. package/dist/src/services/chatRecordingService.test.js.map +1 -1
  91. package/dist/src/tools/grep.js +1 -1
  92. package/dist/src/tools/grep.js.map +1 -1
  93. package/dist/src/tools/grep.test.js +17 -0
  94. package/dist/src/tools/grep.test.js.map +1 -1
  95. package/dist/src/tools/mcp-client-manager.js +2 -1
  96. package/dist/src/tools/mcp-client-manager.js.map +1 -1
  97. package/dist/src/tools/mcp-client-manager.test.js +29 -0
  98. package/dist/src/tools/mcp-client-manager.test.js.map +1 -1
  99. package/dist/src/utils/channel.d.ts +8 -0
  100. package/dist/src/utils/channel.js +21 -10
  101. package/dist/src/utils/channel.js.map +1 -1
  102. package/dist/src/utils/events.d.ts +6 -1
  103. package/dist/src/utils/events.js +13 -2
  104. package/dist/src/utils/events.js.map +1 -1
  105. package/dist/src/utils/events.test.js +39 -0
  106. package/dist/src/utils/events.test.js.map +1 -1
  107. package/dist/src/utils/fetch.js +10 -8
  108. package/dist/src/utils/fetch.js.map +1 -1
  109. package/dist/src/utils/fetch.test.js +1 -1
  110. package/dist/src/utils/fetch.test.js.map +1 -1
  111. package/dist/src/utils/memoryDiscovery.js +16 -5
  112. package/dist/src/utils/memoryDiscovery.js.map +1 -1
  113. package/dist/src/utils/memoryDiscovery.test.js +50 -1
  114. package/dist/src/utils/memoryDiscovery.test.js.map +1 -1
  115. package/dist/src/utils/partUtils.d.ts +6 -0
  116. package/dist/src/utils/partUtils.js +9 -0
  117. package/dist/src/utils/partUtils.js.map +1 -1
  118. package/dist/src/utils/retry.js +7 -3
  119. package/dist/src/utils/retry.js.map +1 -1
  120. package/dist/src/utils/retry.test.js +17 -0
  121. package/dist/src/utils/retry.test.js.map +1 -1
  122. package/dist/tsconfig.tsbuildinfo +1 -1
  123. package/package.json +1 -1
@@ -18,6 +18,24 @@ 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.40.0 - 2026-04-28
22
+
23
+ - **Offline Search and Themes:** Bundled ripgrep for offline search support and
24
+ added GitHub-style colorblind themes
25
+ ([#25342](https://github.com/google-gemini/gemini-cli/pull/25342) by
26
+ @scidomino, [#15504](https://github.com/google-gemini/gemini-cli/pull/15504)
27
+ by @Z1xus).
28
+ - **Advanced Resource and Memory Management:** Introduced MCP resource tools and
29
+ transitioned to a prompt-driven, four-tier memory management system
30
+ ([#25395](https://github.com/google-gemini/gemini-cli/pull/25395) by
31
+ @ruomengz, [#25716](https://github.com/google-gemini/gemini-cli/pull/25716) by
32
+ @SandyTao520).
33
+ - **UX and Local Models:** Enabled topic update narrations by default and
34
+ streamlined Gemma local model setup with `gemini gemma`
35
+ ([#25586](https://github.com/google-gemini/gemini-cli/pull/25586) by
36
+ @gundermanc, [#25498](https://github.com/google-gemini/gemini-cli/pull/25498)
37
+ by @Samee24).
38
+
21
39
  ## Announcements: v0.39.0 - 2026-04-23
22
40
 
23
41
  - **Skill Management:** Added a new `/memory` inbox command for reviewing and
@@ -1,6 +1,6 @@
1
- # Latest stable release: v0.39.0
1
+ # Latest stable release: v0.40.0
2
2
 
3
- Released: April 23, 2026
3
+ Released: April 28, 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,252 +11,177 @@ npm install -g @google/gemini-cli
11
11
 
12
12
  ## Highlights
13
13
 
14
- - **Skill Extractor & Memory Inbox:** Introduced the `/memory` command to review
15
- and patch skills extracted during agent sessions, streamlining the continuous
16
- learning workflow.
17
- - **Enhanced Plan Mode Security:** Increased transparency in Plan Mode by
18
- requiring user confirmation for skill activation and allowing users to view
19
- the full content of generated plans.
20
- - **Advanced Display Protocol:** Implemented a tool-controlled display protocol,
21
- enabling agents to provide richer, more structured visual feedback during
22
- execution.
23
- - **Core Architecture Refactor:** Introduced a decoupled `ContextManager` and
24
- `Sidecar` architecture to improve state management and session resilience.
25
- - **Streamlined Agent Feedback:** Restored the display of model thoughts and raw
26
- text in responses, ensuring full visibility into the agent's reasoning
27
- process.
14
+ - **Offline Search Support:** Bundled ripgrep binaries into the Single
15
+ Executable Application (SEA) to enable powerful codebase searching even in
16
+ environments without internet access.
17
+ - **Enhanced Theme Customization:** Introduced GitHub-style colorblind-friendly
18
+ themes to improve accessibility and provide more personalized visual options.
19
+ - **MCP Resource Management:** Added new tools for listing and reading Model
20
+ Context Protocol (MCP) resources, enhancing the agent's ability to discover
21
+ and utilize external data.
22
+ - **Improved Narrative Flow:** Enabled topic update narrations by default to
23
+ provide better session structure and a clearer understanding of the agent's
24
+ current focus.
25
+ - **Streamlined Local Model Setup:** Introduced a simplified `gemini gemma`
26
+ command for quickly setting up and running Gemma models locally.
27
+ - **Prompt-Driven Memory Management:** Replaced the legacy `MemoryManagerAgent`
28
+ with a more efficient prompt-driven memory editing system across four tiers of
29
+ context.
28
30
 
29
31
  ## What's Changed
30
32
 
31
- - refactor(plan): simplify policy priorities and consolidate read-only rules by
32
- @ruomengz in [#24849](https://github.com/google-gemini/gemini-cli/pull/24849)
33
- - feat(test-utils): add memory usage integration test harness by @sripasg in
34
- [#24876](https://github.com/google-gemini/gemini-cli/pull/24876)
35
- - feat(memory): add /memory inbox command for reviewing extracted skills by
36
- @SandyTao520 in
37
- [#24544](https://github.com/google-gemini/gemini-cli/pull/24544)
38
- - chore(release): bump version to 0.39.0-nightly.20260408.e77b22e63 by
33
+ - chore(release): bump version to 0.40.0-nightly.20260414.g5b1f7375a by
39
34
  @gemini-cli-robot in
40
- [#24939](https://github.com/google-gemini/gemini-cli/pull/24939)
41
- - fix(core): ensure robust sandbox cleanup in all process execution paths by
42
- @ehedlund in [#24763](https://github.com/google-gemini/gemini-cli/pull/24763)
43
- - chore: update ink version to 6.6.8 by @jacob314 in
44
- [#24934](https://github.com/google-gemini/gemini-cli/pull/24934)
45
- - Changelog for v0.38.0-preview.0 by @gemini-cli-robot in
46
- [#24938](https://github.com/google-gemini/gemini-cli/pull/24938)
47
- - chore: ignore conductor directory by @JayadityaGit in
48
- [#22128](https://github.com/google-gemini/gemini-cli/pull/22128)
49
- - Changelog for v0.37.0 by @gemini-cli-robot in
50
- [#24940](https://github.com/google-gemini/gemini-cli/pull/24940)
51
- - feat(plan): require user confirmation for activate_skill in Plan Mode by
52
- @ruomengz in [#24946](https://github.com/google-gemini/gemini-cli/pull/24946)
53
- - feat(test-utils): add CPU performance integration test harness by @sripasg in
54
- [#24951](https://github.com/google-gemini/gemini-cli/pull/24951)
55
- - fix(cli-ui): enable Ctrl+Backspace for word deletion in Windows Terminal by
56
- @dogukanozen in
57
- [#21447](https://github.com/google-gemini/gemini-cli/pull/21447)
58
- - test(sdk): add unit tests for GeminiCliSession by @AdamyaSingh7 in
59
- [#21897](https://github.com/google-gemini/gemini-cli/pull/21897)
60
- - fix(core): resolve windows symlink bypass and stabilize sandbox integration
61
- tests by @ehedlund in
62
- [#24834](https://github.com/google-gemini/gemini-cli/pull/24834)
63
- - fix(cli): restore file path display in edit and write tool confirmations by
64
- @jwhelangoog in
65
- [#24974](https://github.com/google-gemini/gemini-cli/pull/24974)
66
- - feat(core): refine shell tool description display logic by @jwhelangoog in
67
- [#24903](https://github.com/google-gemini/gemini-cli/pull/24903)
68
- - fix(core): dynamic session ID injection to resolve resume bugs by @scidomino
69
- in [#24972](https://github.com/google-gemini/gemini-cli/pull/24972)
70
- - Update ink version to 6.6.9 by @jacob314 in
71
- [#24980](https://github.com/google-gemini/gemini-cli/pull/24980)
72
- - Generalize evals infra to support more types of evals, organization and
73
- queuing of named suites by @gundermanc in
74
- [#24941](https://github.com/google-gemini/gemini-cli/pull/24941)
75
- - fix(cli): optimize startup with lightweight parent process by @sehoon38 in
76
- [#24667](https://github.com/google-gemini/gemini-cli/pull/24667)
77
- - refactor(sandbox): use centralized sandbox paths in macOS Seatbelt
78
- implementation by @ehedlund in
79
- [#24984](https://github.com/google-gemini/gemini-cli/pull/24984)
80
- - feat(cli): refine tool output formatting for compact mode by @jwhelangoog in
81
- [#24677](https://github.com/google-gemini/gemini-cli/pull/24677)
82
- - fix(sdk): skip broken sendStream tests to unblock nightly by @SandyTao520 in
83
- [#25000](https://github.com/google-gemini/gemini-cli/pull/25000)
84
- - refactor(core): use centralized path resolution for Linux sandbox by @ehedlund
85
- in [#24985](https://github.com/google-gemini/gemini-cli/pull/24985)
86
- - Support ctrl+shift+g by @jacob314 in
87
- [#25035](https://github.com/google-gemini/gemini-cli/pull/25035)
88
- - feat(core): refactor subagent tool to unified invoke_subagent tool by
89
- @abhipatel12 in
90
- [#24489](https://github.com/google-gemini/gemini-cli/pull/24489)
91
- - fix(core): add explicit git identity env vars to prevent sandbox checkpointing
92
- error by @mrpmohiburrahman in
93
- [#19775](https://github.com/google-gemini/gemini-cli/pull/19775)
94
- - fix: respect hideContextPercentage when FooterConfigDialog is closed without
95
- changes by @chernistry in
96
- [#24773](https://github.com/google-gemini/gemini-cli/pull/24773)
97
- - fix(cli): suppress unhandled AbortError logs during request cancellation by
98
- @euxaristia in
99
- [#22621](https://github.com/google-gemini/gemini-cli/pull/22621)
100
- - Automated documentation audit by @g-samroberts in
101
- [#24567](https://github.com/google-gemini/gemini-cli/pull/24567)
102
- - feat(cli): implement useAgentStream hook by @mbleigh in
103
- [#24292](https://github.com/google-gemini/gemini-cli/pull/24292)
104
- - refactor(plan) Clean default plan toml by @ruomengz in
105
- [#25037](https://github.com/google-gemini/gemini-cli/pull/25037)
106
- - refactor(core): remove legacy subagent wrapping tools by @abhipatel12 in
107
- [#25053](https://github.com/google-gemini/gemini-cli/pull/25053)
108
- - fix(core): honor retryDelay in RetryInfo for 503 errors by @yunaseoul in
109
- [#25057](https://github.com/google-gemini/gemini-cli/pull/25057)
110
- - fix(core): remediate subagent memory leaks using AbortSignal in MessageBus by
111
- @abhipatel12 in
112
- [#25048](https://github.com/google-gemini/gemini-cli/pull/25048)
113
- - feat(cli): wire up useAgentStream in AppContainer by @mbleigh in
114
- [#24297](https://github.com/google-gemini/gemini-cli/pull/24297)
115
- - feat(core): migrate chat recording to JSONL streaming by @spencer426 in
116
- [#23749](https://github.com/google-gemini/gemini-cli/pull/23749)
117
- - fix(core): clear 5-minute timeouts in oauth flow to prevent memory leaks by
118
- @spencer426 in
119
- [#24968](https://github.com/google-gemini/gemini-cli/pull/24968)
120
- - fix(sandbox): centralize async git worktree resolution and enforce read-only
121
- security by @ehedlund in
122
- [#25040](https://github.com/google-gemini/gemini-cli/pull/25040)
123
- - feat(test): add high-volume shell test and refine perf harness by @sripasg in
124
- [#24983](https://github.com/google-gemini/gemini-cli/pull/24983)
125
- - fix(core): silently handle EPERM when listing dir structure by @scidomino in
126
- [#25066](https://github.com/google-gemini/gemini-cli/pull/25066)
127
- - Changelog for v0.37.1 by @gemini-cli-robot in
128
- [#25055](https://github.com/google-gemini/gemini-cli/pull/25055)
129
- - fix: decode Uint8Array and multi-byte UTF-8 in API error messages by
130
- @kimjune01 in [#23341](https://github.com/google-gemini/gemini-cli/pull/23341)
131
- - Automated documentation audit results by @g-samroberts in
132
- [#22755](https://github.com/google-gemini/gemini-cli/pull/22755)
133
- - debugging(ui): add optional debugRainbow setting by @jacob314 in
134
- [#25088](https://github.com/google-gemini/gemini-cli/pull/25088)
135
- - fix: resolve lifecycle memory leaks by cleaning up listeners and root closures
136
- by @spencer426 in
137
- [#25049](https://github.com/google-gemini/gemini-cli/pull/25049)
138
- - docs(cli): updates f12 description to be more precise by @JayadityaGit in
139
- [#15816](https://github.com/google-gemini/gemini-cli/pull/15816)
140
- - fix(cli): mark /settings as unsafe to run concurrently by @jacob314 in
141
- [#25061](https://github.com/google-gemini/gemini-cli/pull/25061)
142
- - fix(core): remove buffer slice to prevent OOM on large output streams by
143
- @spencer426 in
144
- [#25094](https://github.com/google-gemini/gemini-cli/pull/25094)
145
- - feat(core): persist subagent agentId in tool call records by @abhipatel12 in
146
- [#25092](https://github.com/google-gemini/gemini-cli/pull/25092)
147
- - chore(core): increase codebase investigator turn limits to 50 by @abhipatel12
148
- in [#25125](https://github.com/google-gemini/gemini-cli/pull/25125)
149
- - refactor(core): consolidate execute() arguments into ExecuteOptions by
150
- @mbleigh in [#25101](https://github.com/google-gemini/gemini-cli/pull/25101)
151
- - feat(core): add Strategic Re-evaluation guidance to system prompt by
152
- @aishaneeshah in
153
- [#25062](https://github.com/google-gemini/gemini-cli/pull/25062)
154
- - fix(core): preserve shell execution config fields on update by
155
- @jasonmatthewsuhari in
156
- [#25113](https://github.com/google-gemini/gemini-cli/pull/25113)
157
- - docs: add vi shortcuts and clarify MCP sandbox setup by @chrisjcthomas in
158
- [#21679](https://github.com/google-gemini/gemini-cli/pull/21679)
159
- - fix(cli): pass session id to interactive shell executions by
160
- @jasonmatthewsuhari in
161
- [#25114](https://github.com/google-gemini/gemini-cli/pull/25114)
162
- - fix(cli): resolve text sanitization data loss due to C1 control characters by
163
- @euxaristia in
164
- [#22624](https://github.com/google-gemini/gemini-cli/pull/22624)
165
- - feat(core): add large memory regression test by @cynthialong0-0 in
166
- [#25059](https://github.com/google-gemini/gemini-cli/pull/25059)
167
- - fix(core): resolve PTY exhaustion and orphan MCP subprocess leaks by
168
- @spencer426 in
169
- [#25079](https://github.com/google-gemini/gemini-cli/pull/25079)
170
- - chore(deps): update vulnerable dependencies via npm audit fix by @scidomino in
171
- [#25140](https://github.com/google-gemini/gemini-cli/pull/25140)
172
- - perf(sandbox): optimize Windows sandbox initialization via native ACL
173
- application by @ehedlund in
174
- [#25077](https://github.com/google-gemini/gemini-cli/pull/25077)
175
- - chore: switch from keytar to @github/keytar by @cocosheng-g in
176
- [#25143](https://github.com/google-gemini/gemini-cli/pull/25143)
177
- - fix: improve audio MIME normalization and validation in file reads by
178
- @junaiddshaukat in
179
- [#21636](https://github.com/google-gemini/gemini-cli/pull/21636)
180
- - docs: Update docs-audit to include changes in PR body by @g-samroberts in
181
- [#25153](https://github.com/google-gemini/gemini-cli/pull/25153)
182
- - docs: correct documentation for enforced authentication type by @cocosheng-g
183
- in [#25142](https://github.com/google-gemini/gemini-cli/pull/25142)
184
- - fix(cli): exclude update_topic from confirmation queue count by @Abhijit-2592
185
- in [#24945](https://github.com/google-gemini/gemini-cli/pull/24945)
186
- - Memory fix for trace's streamWrapper. by @anthraxmilkshake in
187
- [#25089](https://github.com/google-gemini/gemini-cli/pull/25089)
188
- - fix(core): fix quota footer for non-auto models and improve display by
189
- @jackwotherspoon in
190
- [#25121](https://github.com/google-gemini/gemini-cli/pull/25121)
191
- - docs(contributing): clarify self-assignment policy for issues by @jmr in
192
- [#23087](https://github.com/google-gemini/gemini-cli/pull/23087)
193
- - feat(core): add skill patching support with /memory inbox integration by
35
+ [#25420](https://github.com/google-gemini/gemini-cli/pull/25420)
36
+ - Fix(core): retry additional OpenSSL 3.x SSL errors during streaming (#16075)
37
+ by @rcleveng in
38
+ [#25187](https://github.com/google-gemini/gemini-cli/pull/25187)
39
+ - fix(core): prevent YOLO mode from being downgraded by @galz10 in
40
+ [#25341](https://github.com/google-gemini/gemini-cli/pull/25341)
41
+ - feat: bundle ripgrep binaries into SEA for offline support by @scidomino in
42
+ [#25342](https://github.com/google-gemini/gemini-cli/pull/25342)
43
+ - Changelog for v0.39.0-preview.0 by @gemini-cli-robot in
44
+ [#25417](https://github.com/google-gemini/gemini-cli/pull/25417)
45
+ - feat(test): add large conversation scenario for performance test by
46
+ @cynthialong0-0 in
47
+ [#25331](https://github.com/google-gemini/gemini-cli/pull/25331)
48
+ - improve(core): require recurrence evidence before extracting skills by
49
+ @SandyTao520 in
50
+ [#25147](https://github.com/google-gemini/gemini-cli/pull/25147)
51
+ - test(evals): add subagent delegation evaluation tests by @anj-s in
52
+ [#24619](https://github.com/google-gemini/gemini-cli/pull/24619)
53
+ - feat: add github colorblind themes by @Z1xus in
54
+ [#15504](https://github.com/google-gemini/gemini-cli/pull/15504)
55
+ - fix(core): honor GOOGLE_GEMINI_BASE_URL and GOOGLE_VERTEX_BASE_URL by
56
+ @chrisjcthomas in
57
+ [#25357](https://github.com/google-gemini/gemini-cli/pull/25357)
58
+ - fix(cli): clean up slash command IDE listeners by @jasonmatthewsuhari in
59
+ [#24397](https://github.com/google-gemini/gemini-cli/pull/24397)
60
+ - Changelog for v0.38.0 by @gemini-cli-robot in
61
+ [#25470](https://github.com/google-gemini/gemini-cli/pull/25470)
62
+ - fix(evals): update eval tests for invoke_agent telemetry and project-scoped
63
+ memory by @SandyTao520 in
64
+ [#25502](https://github.com/google-gemini/gemini-cli/pull/25502)
65
+ - Changelog for v0.38.1 by @gemini-cli-robot in
66
+ [#25476](https://github.com/google-gemini/gemini-cli/pull/25476)
67
+ - feat(core): integrate skill-creator into skill extraction agent by
194
68
  @SandyTao520 in
195
- [#25148](https://github.com/google-gemini/gemini-cli/pull/25148)
196
- - Stop suppressing thoughts and text in model response by @gundermanc in
197
- [#25073](https://github.com/google-gemini/gemini-cli/pull/25073)
198
- - fix(release): prefix git hash in nightly versions to prevent semver
199
- normalization by @SandyTao520 in
200
- [#25304](https://github.com/google-gemini/gemini-cli/pull/25304)
201
- - feat(cli): extract QuotaContext and resolve infinite render loop by @Adib234
202
- in [#24959](https://github.com/google-gemini/gemini-cli/pull/24959)
203
- - refactor(core): extract and centralize sandbox path utilities by @ehedlund in
204
- [#25305](https://github.com/google-gemini/gemini-cli/pull/25305)
205
- - feat(ui): added enhancements to scroll momentum by @devr0306 in
206
- [#24447](https://github.com/google-gemini/gemini-cli/pull/24447)
207
- - fix(core): replace custom binary detection with isbinaryfile to correctly
208
- handle UTF-8 (U+FFFD) by @Anjaligarhwal in
209
- [#25297](https://github.com/google-gemini/gemini-cli/pull/25297)
210
- - feat(agent): implement tool-controlled display protocol (Steps 2-3) by
211
- @mbleigh in [#25134](https://github.com/google-gemini/gemini-cli/pull/25134)
212
- - Stop showing scrollbar unless we are in terminalBuffer mode by @jacob314 in
213
- [#25320](https://github.com/google-gemini/gemini-cli/pull/25320)
214
- - feat: support auth block in MCP servers config in agents by @TanmayVartak in
215
- [#24770](https://github.com/google-gemini/gemini-cli/pull/24770)
216
- - fix(core): expose GEMINI_PLANS_DIR to hook environment by @Adib234 in
217
- [#25296](https://github.com/google-gemini/gemini-cli/pull/25296)
218
- - feat(core): implement silent fallback for Plan Mode model routing by @jerop in
219
- [#25317](https://github.com/google-gemini/gemini-cli/pull/25317)
220
- - fix: correct redirect count increment in fetchJson by @KevinZhao in
221
- [#24896](https://github.com/google-gemini/gemini-cli/pull/24896)
222
- - fix(core): prevent secondary crash in ModelRouterService finally block by
69
+ [#25421](https://github.com/google-gemini/gemini-cli/pull/25421)
70
+ - feat(cli): provide default post-submit prompt for skill command by @ruomengz
71
+ in [#25327](https://github.com/google-gemini/gemini-cli/pull/25327)
72
+ - feat(core): add tools to list and read MCP resources by @ruomengz in
73
+ [#25395](https://github.com/google-gemini/gemini-cli/pull/25395)
74
+ - fix(evals): add typecheck coverage for evals, integration-tests, and
75
+ memory-tests by @SandyTao520 in
76
+ [#25480](https://github.com/google-gemini/gemini-cli/pull/25480)
77
+ - Use OSC 777 for terminal notifications by @jackyliuxx in
78
+ [#25300](https://github.com/google-gemini/gemini-cli/pull/25300)
79
+ - fix(extensions): fix bundling for examples by @abhipatel12 in
80
+ [#25542](https://github.com/google-gemini/gemini-cli/pull/25542)
81
+ - fix(cli): reset plan session state on /clear by @jasonmatthewsuhari in
82
+ [#25515](https://github.com/google-gemini/gemini-cli/pull/25515)
83
+ - feat(core): add .mdx support to get-internal-docs tool by @g-samroberts in
84
+ [#25090](https://github.com/google-gemini/gemini-cli/pull/25090)
85
+ - docs(policy): mention that workspace policies are broken by @6112 in
86
+ [#24367](https://github.com/google-gemini/gemini-cli/pull/24367)
87
+ - fix(core): allow explicit write permissions to override governance file
88
+ protections in sandboxes by @galz10 in
89
+ [#25338](https://github.com/google-gemini/gemini-cli/pull/25338)
90
+ - feat(sandbox): resolve custom seatbelt profiles from $HOME/.gemini first by
91
+ @mvanhorn in [#25427](https://github.com/google-gemini/gemini-cli/pull/25427)
92
+ - Reduce blank lines. by @gundermanc in
93
+ [#25563](https://github.com/google-gemini/gemini-cli/pull/25563)
94
+ - fix(ui): revert preview theme on dialog unmount by @JayadityaGit in
95
+ [#22542](https://github.com/google-gemini/gemini-cli/pull/22542)
96
+ - fix(core): fix ShellExecutionConfig spread and add ProjectRegistry save
97
+ backoff by @mahimashanware in
98
+ [#25382](https://github.com/google-gemini/gemini-cli/pull/25382)
99
+ - feat(core): Disable topic updates for subagents by @gundermanc in
100
+ [#25567](https://github.com/google-gemini/gemini-cli/pull/25567)
101
+ - feat(core): enable topic update narration by default and promote to general by
223
102
  @gundermanc in
224
- [#25333](https://github.com/google-gemini/gemini-cli/pull/25333)
225
- - feat(core): introduce decoupled ContextManager and Sidecar architecture by
226
- @joshualitt in
227
- [#24752](https://github.com/google-gemini/gemini-cli/pull/24752)
228
- - docs(core): update generalist agent documentation by @abhipatel12 in
229
- [#25325](https://github.com/google-gemini/gemini-cli/pull/25325)
230
- - chore(mcp): check MCP error code over brittle string match by @jackwotherspoon
231
- in [#25381](https://github.com/google-gemini/gemini-cli/pull/25381)
232
- - feat(plan): update plan mode prompt to allow showing plan content by @ruomengz
233
- in [#25058](https://github.com/google-gemini/gemini-cli/pull/25058)
234
- - test(core): improve sandbox integration test coverage and fix OS-specific
235
- failures by @ehedlund in
236
- [#25307](https://github.com/google-gemini/gemini-cli/pull/25307)
237
- - fix(core): use debug level for keychain fallback logging by @ehedlund in
238
- [#25398](https://github.com/google-gemini/gemini-cli/pull/25398)
239
- - feat(test): add a performance test in asian language by @cynthialong0-0 in
240
- [#25392](https://github.com/google-gemini/gemini-cli/pull/25392)
241
- - feat(cli): enable mouse clicking for cursor positioning in AskUser multi-line
242
- answers by @Adib234 in
243
- [#24630](https://github.com/google-gemini/gemini-cli/pull/24630)
244
- - fix(core): detect kmscon terminal as supporting true color by @claygeo in
245
- [#25282](https://github.com/google-gemini/gemini-cli/pull/25282)
246
- - ci: add agent session drift check workflow by @adamfweidman in
247
- [#25389](https://github.com/google-gemini/gemini-cli/pull/25389)
248
- - use macos-latest-large runner where applicable. by @scidomino in
249
- [#25413](https://github.com/google-gemini/gemini-cli/pull/25413)
250
- - Changelog for v0.37.2 by @gemini-cli-robot in
251
- [#25336](https://github.com/google-gemini/gemini-cli/pull/25336)
252
- - fix(patch): cherry-pick a4e98c0 to release/v0.39.0-preview.0-pr-25138 to patch
253
- version v0.39.0-preview.0 and create version 0.39.0-preview.1 by
254
- @gemini-cli-robot in
255
- [#25766](https://github.com/google-gemini/gemini-cli/pull/25766)
256
- - fix(patch): cherry-pick d6f88f8 to release/v0.39.0-preview.1-pr-25670 to patch
257
- version v0.39.0-preview.1 and create version 0.39.0-preview.2 by
103
+ [#25586](https://github.com/google-gemini/gemini-cli/pull/25586)
104
+ - docs: migrate installation and authentication to mdx with tabbed layouts by
105
+ @g-samroberts in
106
+ [#25155](https://github.com/google-gemini/gemini-cli/pull/25155)
107
+ - feat(config): split memoryManager flag into autoMemory by @SandyTao520 in
108
+ [#25601](https://github.com/google-gemini/gemini-cli/pull/25601)
109
+ - fix(core): allow Cloud Shell users to use PRO_MODEL_NO_ACCESS experiment by
110
+ @sehoon38 in [#25702](https://github.com/google-gemini/gemini-cli/pull/25702)
111
+ - fix(cli): round slow render latency to avoid opentelemetry float warning by
112
+ @scidomino in [#25709](https://github.com/google-gemini/gemini-cli/pull/25709)
113
+ - docs(tracker): introduce experimental task tracker feature by @anj-s in
114
+ [#24556](https://github.com/google-gemini/gemini-cli/pull/24556)
115
+ - docs(cli): fix inconsistent system.md casing in system prompt docs by @Bodlux
116
+ in [#25414](https://github.com/google-gemini/gemini-cli/pull/25414)
117
+ - feat(cli): add streamlined `gemini gemma` local model setup by @Samee24 in
118
+ [#25498](https://github.com/google-gemini/gemini-cli/pull/25498)
119
+ - Changelog for v0.38.2 by @gemini-cli-robot in
120
+ [#25593](https://github.com/google-gemini/gemini-cli/pull/25593)
121
+ - Fix: Disallow overriding IDE stdio via workspace .env (RCE) by @M0nd0R in
122
+ [#25022](https://github.com/google-gemini/gemini-cli/pull/25022)
123
+ - feat(test): refactor the memory usage test to use metrics from CLI process
124
+ instead of test runner by @cynthialong0-0 in
125
+ [#25708](https://github.com/google-gemini/gemini-cli/pull/25708)
126
+ - feat(vertex): add settings for Vertex AI request routing by @gordonhwc in
127
+ [#25513](https://github.com/google-gemini/gemini-cli/pull/25513)
128
+ - Fix/allow for session persistence by @ahsanfarooq210 in
129
+ [#25176](https://github.com/google-gemini/gemini-cli/pull/25176)
130
+ - Allow dots on GEMINI_API_KEY by @DKbyo in
131
+ [#25497](https://github.com/google-gemini/gemini-cli/pull/25497)
132
+ - feat(telemetry): add flag for enabling traces specifically by @spencer426 in
133
+ [#25343](https://github.com/google-gemini/gemini-cli/pull/25343)
134
+ - fix(core): resolve nested plan directory duplication and relative path
135
+ policies by @mahimashanware in
136
+ [#25138](https://github.com/google-gemini/gemini-cli/pull/25138)
137
+ - feat: detect new files in @ recommendations with watcher based updates by
138
+ @prassamin in [#25256](https://github.com/google-gemini/gemini-cli/pull/25256)
139
+ - fix(cli): use newline in shell command wrapping to avoid breaking heredocs by
140
+ @cocosheng-g in
141
+ [#25537](https://github.com/google-gemini/gemini-cli/pull/25537)
142
+ - fix(cli): ensure theme dialog labels are rendered for all themes by
143
+ @JayadityaGit in
144
+ [#24599](https://github.com/google-gemini/gemini-cli/pull/24599)
145
+ - fix(core): disable detached mode in Bun to prevent immediate SIGHUP of child
146
+ processes by @euxaristia in
147
+ [#22620](https://github.com/google-gemini/gemini-cli/pull/22620)
148
+ - feat: add /new as alias for /clear and refine command description by @ved015
149
+ in [#17865](https://github.com/google-gemini/gemini-cli/pull/17865)
150
+ - fix(cli): start auto memory in ACP sessions by @jasonmatthewsuhari in
151
+ [#25626](https://github.com/google-gemini/gemini-cli/pull/25626)
152
+ - fix(core): remove duplicate initialize call on agents refreshed by
153
+ @adamfweidman in
154
+ [#25670](https://github.com/google-gemini/gemini-cli/pull/25670)
155
+ - test(e2e): default integration tests to Flash Preview by @SandyTao520 in
156
+ [#25753](https://github.com/google-gemini/gemini-cli/pull/25753)
157
+ - refactor(memory): replace MemoryManagerAgent with prompt-driven memory editing
158
+ across four tiers by @SandyTao520 in
159
+ [#25716](https://github.com/google-gemini/gemini-cli/pull/25716)
160
+ - fix(cli): fix "/clear (new)" command by @mini2s in
161
+ [#25801](https://github.com/google-gemini/gemini-cli/pull/25801)
162
+ - fix(core): use dynamic CLI version for IDE client instead of hardcoded '1.0.0'
163
+ by @thekishandev in
164
+ [#24414](https://github.com/google-gemini/gemini-cli/pull/24414)
165
+ - fix(core): handle line endings in ignore file parsing by @xoma-zver in
166
+ [#23895](https://github.com/google-gemini/gemini-cli/pull/23895)
167
+ - Fix/command injection shell by @Famous077 in
168
+ [#24170](https://github.com/google-gemini/gemini-cli/pull/24170)
169
+ - fix(ui): removed background color for input by @devr0306 in
170
+ [#25339](https://github.com/google-gemini/gemini-cli/pull/25339)
171
+ - fix(devtools): reduce memory usage and defer connection by @SandyTao520 in
172
+ [#24496](https://github.com/google-gemini/gemini-cli/pull/24496)
173
+ - fix(core): support jsonl session logs in memory and summary services by
174
+ @SandyTao520 in
175
+ [#25816](https://github.com/google-gemini/gemini-cli/pull/25816)
176
+ - fix(release): exclude ripgrep binaries from npm tarballs by @SandyTao520 in
177
+ [#25841](https://github.com/google-gemini/gemini-cli/pull/25841)
178
+ - fix(patch): cherry-pick 048bf6e to release/v0.40.0-preview.3-pr-25941 to patch
179
+ version v0.40.0-preview.3 and create version 0.40.0-preview.4 by
258
180
  @gemini-cli-robot in
259
- [#25776](https://github.com/google-gemini/gemini-cli/pull/25776)
181
+ [#25942](https://github.com/google-gemini/gemini-cli/pull/25942)
182
+ - fix(patch): cherry-pick 54b7586 to release/v0.40.0-preview.4-pr-26066
183
+ [CONFLICTS] by @gemini-cli-robot in
184
+ [#26124](https://github.com/google-gemini/gemini-cli/pull/26124)
260
185
 
261
186
  **Full Changelog**:
262
- https://github.com/google-gemini/gemini-cli/compare/v0.38.2...v0.39.0
187
+ https://github.com/google-gemini/gemini-cli/compare/v0.39.1...v0.40.0