@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
@@ -1,6 +1,6 @@
1
- # Preview release: v0.40.0-preview.3
1
+ # Preview release: v0.41.0-preview.0
2
2
 
3
- Released: April 24, 2026
3
+ Released: April 28, 2026
4
4
 
5
5
  Our preview release includes the latest, new, and experimental features. This
6
6
  release may not be as stable as our [latest weekly release](latest.md).
@@ -13,395 +13,109 @@ npm install -g @google/gemini-cli@preview
13
13
 
14
14
  ## Highlights
15
15
 
16
- - **Ripgrep Binary Bundling:** Ripgrep binaries are now bundled into the Single
17
- Executable Application (SEA), enabling grep functionality in offline
18
- environments.
19
- - **MCP Resource Tools:** New core tools added to list and read MCP (Model
20
- Context Protocol) resources, expanding the agent's ability to interact with
21
- MCP servers.
22
- - **Local Model Setup:** Introduced a streamlined `gemini gemma` command for
23
- easier local model setup and integration.
24
- - **Prompt-Driven Memory Management:** Refactored memory management into a
25
- prompt-driven, four-tier system and integrated `skill-creator` for robust
26
- skill extraction.
27
- - **Enhanced UI and Accessibility:** Added support for OSC 777 terminal
28
- notifications and GitHub colorblind themes for better user feedback and
29
- accessibility.
16
+ - **Real-Time Voice Mode:** Implemented a new real-time voice mode supporting
17
+ both cloud and local backends for a more interactive experience.
18
+ - **Enhanced Security & Trust:** Enforced workspace trust in headless mode and
19
+ secured `.env` file loading to improve system integrity.
20
+ - **Expanded Model Support:** Added experimental support for Gemma 4 models in
21
+ both core and CLI packages.
22
+ - **Improved Core Infrastructure:** Wired up new `ContextManager` and
23
+ `AgentChatHistory` for better state management, and optimized boot performance
24
+ by fetching experiments and quota asynchronously.
25
+ - **New Developer Tools & UX:** Added support for output redirection for CLI
26
+ commands, manual session UUIDs via command-line arguments, and persistent
27
+ auto-memory scratchpad for skill extraction.
30
28
 
31
29
  ## What's Changed
32
30
 
33
- - update FatalUntrustedWorkspaceError message to include doc link by @ehedlund
34
- in [#25874](https://github.com/google-gemini/gemini-cli/pull/25874)
35
- - feat(core): enhance shell command validation and add core tools allowlist by
36
- @galz10 in [#25720](https://github.com/google-gemini/gemini-cli/pull/25720)
37
- - feat(cli): secure .env loading and enforce workspace trust in headless mode by
38
- @ehedlund in [#25814](https://github.com/google-gemini/gemini-cli/pull/25814)
39
- - chore(release): bump version to 0.40.0-nightly.20260414.g5b1f7375a by
31
+ - chore(release): bump version to 0.41.0-nightly.20260423.gaa05b4583 by
40
32
  @gemini-cli-robot in
41
- [#25420](https://github.com/google-gemini/gemini-cli/pull/25420)
42
- - Fix(core): retry additional OpenSSL 3.x SSL errors during streaming (#16075)
43
- by @rcleveng in
44
- [#25187](https://github.com/google-gemini/gemini-cli/pull/25187)
45
- - fix(core): prevent YOLO mode from being downgraded by @galz10 in
46
- [#25341](https://github.com/google-gemini/gemini-cli/pull/25341)
47
- - feat: bundle ripgrep binaries into SEA for offline support by @scidomino in
48
- [#25342](https://github.com/google-gemini/gemini-cli/pull/25342)
49
- - Changelog for v0.39.0-preview.0 by @gemini-cli-robot in
50
- [#25417](https://github.com/google-gemini/gemini-cli/pull/25417)
51
- - feat(test): add large conversation scenario for performance test by
33
+ [#25847](https://github.com/google-gemini/gemini-cli/pull/25847)
34
+ - fix(core): only show `list` suggestion if the partial input is empty by
52
35
  @cynthialong0-0 in
53
- [#25331](https://github.com/google-gemini/gemini-cli/pull/25331)
54
- - improve(core): require recurrence evidence before extracting skills by
55
- @SandyTao520 in
56
- [#25147](https://github.com/google-gemini/gemini-cli/pull/25147)
57
- - test(evals): add subagent delegation evaluation tests by @anj-s in
58
- [#24619](https://github.com/google-gemini/gemini-cli/pull/24619)
59
- - feat: add github colorblind themes by @Z1xus in
60
- [#15504](https://github.com/google-gemini/gemini-cli/pull/15504)
61
- - fix(core): honor GOOGLE_GEMINI_BASE_URL and GOOGLE_VERTEX_BASE_URL by
62
- @chrisjcthomas in
63
- [#25357](https://github.com/google-gemini/gemini-cli/pull/25357)
64
- - fix(cli): clean up slash command IDE listeners by @jasonmatthewsuhari in
65
- [#24397](https://github.com/google-gemini/gemini-cli/pull/24397)
66
- - Changelog for v0.38.0 by @gemini-cli-robot in
67
- [#25470](https://github.com/google-gemini/gemini-cli/pull/25470)
68
- - fix(evals): update eval tests for invoke_agent telemetry and project-scoped
69
- memory by @SandyTao520 in
70
- [#25502](https://github.com/google-gemini/gemini-cli/pull/25502)
71
- - Changelog for v0.38.1 by @gemini-cli-robot in
72
- [#25476](https://github.com/google-gemini/gemini-cli/pull/25476)
73
- - feat(core): integrate skill-creator into skill extraction agent by
74
- @SandyTao520 in
75
- [#25421](https://github.com/google-gemini/gemini-cli/pull/25421)
76
- - feat(cli): provide default post-submit prompt for skill command by @ruomengz
77
- in [#25327](https://github.com/google-gemini/gemini-cli/pull/25327)
78
- - feat(core): add tools to list and read MCP resources by @ruomengz in
79
- [#25395](https://github.com/google-gemini/gemini-cli/pull/25395)
80
- - fix(evals): add typecheck coverage for evals, integration-tests, and
81
- memory-tests by @SandyTao520 in
82
- [#25480](https://github.com/google-gemini/gemini-cli/pull/25480)
83
- - Use OSC 777 for terminal notifications by @jackyliuxx in
84
- [#25300](https://github.com/google-gemini/gemini-cli/pull/25300)
85
- - fix(extensions): fix bundling for examples by @abhipatel12 in
86
- [#25542](https://github.com/google-gemini/gemini-cli/pull/25542)
87
- - fix(cli): reset plan session state on /clear by @jasonmatthewsuhari in
88
- [#25515](https://github.com/google-gemini/gemini-cli/pull/25515)
89
- - feat(core): add .mdx support to get-internal-docs tool by @g-samroberts in
90
- [#25090](https://github.com/google-gemini/gemini-cli/pull/25090)
91
- - docs(policy): mention that workspace policies are broken by @6112 in
92
- [#24367](https://github.com/google-gemini/gemini-cli/pull/24367)
93
- - fix(core): allow explicit write permissions to override governance file
94
- protections in sandboxes by @galz10 in
95
- [#25338](https://github.com/google-gemini/gemini-cli/pull/25338)
96
- - feat(sandbox): resolve custom seatbelt profiles from $HOME/.gemini first by
97
- @mvanhorn in [#25427](https://github.com/google-gemini/gemini-cli/pull/25427)
98
- - Reduce blank lines. by @gundermanc in
99
- [#25563](https://github.com/google-gemini/gemini-cli/pull/25563)
100
- - fix(ui): revert preview theme on dialog unmount by @JayadityaGit in
101
- [#22542](https://github.com/google-gemini/gemini-cli/pull/22542)
102
- - fix(core): fix ShellExecutionConfig spread and add ProjectRegistry save
103
- backoff by @mahimashanware in
104
- [#25382](https://github.com/google-gemini/gemini-cli/pull/25382)
105
- - feat(core): Disable topic updates for subagents by @gundermanc in
106
- [#25567](https://github.com/google-gemini/gemini-cli/pull/25567)
107
- - feat(core): enable topic update narration by default and promote to general by
108
- @gundermanc in
109
- [#25586](https://github.com/google-gemini/gemini-cli/pull/25586)
110
- - docs: migrate installation and authentication to mdx with tabbed layouts by
111
- @g-samroberts in
112
- [#25155](https://github.com/google-gemini/gemini-cli/pull/25155)
113
- - feat(config): split memoryManager flag into autoMemory by @SandyTao520 in
114
- [#25601](https://github.com/google-gemini/gemini-cli/pull/25601)
115
- - fix(core): allow Cloud Shell users to use PRO_MODEL_NO_ACCESS experiment by
116
- @sehoon38 in [#25702](https://github.com/google-gemini/gemini-cli/pull/25702)
117
- - fix(cli): round slow render latency to avoid opentelemetry float warning by
118
- @scidomino in [#25709](https://github.com/google-gemini/gemini-cli/pull/25709)
119
- - docs(tracker): introduce experimental task tracker feature by @anj-s in
120
- [#24556](https://github.com/google-gemini/gemini-cli/pull/24556)
121
- - docs(cli): fix inconsistent system.md casing in system prompt docs by @Bodlux
122
- in [#25414](https://github.com/google-gemini/gemini-cli/pull/25414)
123
- - feat(cli): add streamlined `gemini gemma` local model setup by @Samee24 in
124
- [#25498](https://github.com/google-gemini/gemini-cli/pull/25498)
125
- - Changelog for v0.38.2 by @gemini-cli-robot in
126
- [#25593](https://github.com/google-gemini/gemini-cli/pull/25593)
127
- - Fix: Disallow overriding IDE stdio via workspace .env (RCE) by @M0nd0R in
128
- [#25022](https://github.com/google-gemini/gemini-cli/pull/25022)
129
- - feat(test): refactor the memory usage test to use metrics from CLI process
130
- instead of test runner by @cynthialong0-0 in
131
- [#25708](https://github.com/google-gemini/gemini-cli/pull/25708)
132
- - feat(vertex): add settings for Vertex AI request routing by @gordonhwc in
133
- [#25513](https://github.com/google-gemini/gemini-cli/pull/25513)
134
- - Fix/allow for session persistence by @ahsanfarooq210 in
135
- [#25176](https://github.com/google-gemini/gemini-cli/pull/25176)
136
- - Allow dots on GEMINI_API_KEY by @DKbyo in
137
- [#25497](https://github.com/google-gemini/gemini-cli/pull/25497)
138
- - feat(telemetry): add flag for enabling traces specifically by @spencer426 in
139
- [#25343](https://github.com/google-gemini/gemini-cli/pull/25343)
140
- - fix(core): resolve nested plan directory duplication and relative path
141
- policies by @mahimashanware in
142
- [#25138](https://github.com/google-gemini/gemini-cli/pull/25138)
143
- - feat: detect new files in @ recommendations with watcher based updates by
144
- @prassamin in [#25256](https://github.com/google-gemini/gemini-cli/pull/25256)
145
- - fix(cli): use newline in shell command wrapping to avoid breaking heredocs by
146
- @cocosheng-g in
147
- [#25537](https://github.com/google-gemini/gemini-cli/pull/25537)
148
- - fix(cli): ensure theme dialog labels are rendered for all themes by
149
- @JayadityaGit in
150
- [#24599](https://github.com/google-gemini/gemini-cli/pull/24599)
151
- - fix(core): disable detached mode in Bun to prevent immediate SIGHUP of child
152
- processes by @euxaristia in
153
- [#22620](https://github.com/google-gemini/gemini-cli/pull/22620)
154
- - feat: add /new as alias for /clear and refine command description by @ved015
155
- in [#17865](https://github.com/google-gemini/gemini-cli/pull/17865)
156
- - fix(cli): start auto memory in ACP sessions by @jasonmatthewsuhari in
157
- [#25626](https://github.com/google-gemini/gemini-cli/pull/25626)
158
- - fix(core): remove duplicate initialize call on agents refreshed by
159
- @adamfweidman in
160
- [#25670](https://github.com/google-gemini/gemini-cli/pull/25670)
161
- - test(e2e): default integration tests to Flash Preview by @SandyTao520 in
162
- [#25753](https://github.com/google-gemini/gemini-cli/pull/25753)
163
- - refactor(memory): replace MemoryManagerAgent with prompt-driven memory editing
164
- across four tiers by @SandyTao520 in
165
- [#25716](https://github.com/google-gemini/gemini-cli/pull/25716)
166
- - fix(cli): fix "/clear (new)" command by @mini2s in
167
- [#25801](https://github.com/google-gemini/gemini-cli/pull/25801)
168
- - fix(core): use dynamic CLI version for IDE client instead of hardcoded '1.0.0'
169
- by @thekishandev in
170
- [#24414](https://github.com/google-gemini/gemini-cli/pull/24414)
171
- - fix(core): handle line endings in ignore file parsing by @xoma-zver in
172
- [#23895](https://github.com/google-gemini/gemini-cli/pull/23895)
173
- - Fix/command injection shell by @Famous077 in
174
- [#24170](https://github.com/google-gemini/gemini-cli/pull/24170)
175
- - fix(ui): removed background color for input by @devr0306 in
176
- [#25339](https://github.com/google-gemini/gemini-cli/pull/25339)
177
- - fix(devtools): reduce memory usage and defer connection by @SandyTao520 in
178
- [#24496](https://github.com/google-gemini/gemini-cli/pull/24496)
179
- - fix(core): support jsonl session logs in memory and summary services by
180
- @SandyTao520 in
181
- [#25816](https://github.com/google-gemini/gemini-cli/pull/25816)
182
- - fix(release): exclude ripgrep binaries from npm tarballs by @SandyTao520 in
183
- [#25841](https://github.com/google-gemini/gemini-cli/pull/25841)
184
- - refactor(plan): simplify policy priorities and consolidate read-only rules by
185
- @ruomengz in [#24849](https://github.com/google-gemini/gemini-cli/pull/24849)
186
- - feat(test-utils): add memory usage integration test harness by @sripasg in
187
- [#24876](https://github.com/google-gemini/gemini-cli/pull/24876)
188
- - feat(memory): add /memory inbox command for reviewing extracted skills by
189
- @SandyTao520 in
190
- [#24544](https://github.com/google-gemini/gemini-cli/pull/24544)
191
- - chore(release): bump version to 0.39.0-nightly.20260408.e77b22e63 by
192
- @gemini-cli-robot in
193
- [#24939](https://github.com/google-gemini/gemini-cli/pull/24939)
194
- - fix(core): ensure robust sandbox cleanup in all process execution paths by
195
- @ehedlund in [#24763](https://github.com/google-gemini/gemini-cli/pull/24763)
196
- - chore: update ink version to 6.6.8 by @jacob314 in
197
- [#24934](https://github.com/google-gemini/gemini-cli/pull/24934)
198
- - Changelog for v0.38.0-preview.0 by @gemini-cli-robot in
199
- [#24938](https://github.com/google-gemini/gemini-cli/pull/24938)
200
- - chore: ignore conductor directory by @JayadityaGit in
201
- [#22128](https://github.com/google-gemini/gemini-cli/pull/22128)
202
- - Changelog for v0.37.0 by @gemini-cli-robot in
203
- [#24940](https://github.com/google-gemini/gemini-cli/pull/24940)
204
- - feat(plan): require user confirmation for activate_skill in Plan Mode by
205
- @ruomengz in [#24946](https://github.com/google-gemini/gemini-cli/pull/24946)
206
- - feat(test-utils): add CPU performance integration test harness by @sripasg in
207
- [#24951](https://github.com/google-gemini/gemini-cli/pull/24951)
208
- - fix(cli-ui): enable Ctrl+Backspace for word deletion in Windows Terminal by
209
- @dogukanozen in
210
- [#21447](https://github.com/google-gemini/gemini-cli/pull/21447)
211
- - test(sdk): add unit tests for GeminiCliSession by @AdamyaSingh7 in
212
- [#21897](https://github.com/google-gemini/gemini-cli/pull/21897)
213
- - fix(core): resolve windows symlink bypass and stabilize sandbox integration
214
- tests by @ehedlund in
215
- [#24834](https://github.com/google-gemini/gemini-cli/pull/24834)
216
- - fix(cli): restore file path display in edit and write tool confirmations by
217
- @jwhelangoog in
218
- [#24974](https://github.com/google-gemini/gemini-cli/pull/24974)
219
- - feat(core): refine shell tool description display logic by @jwhelangoog in
220
- [#24903](https://github.com/google-gemini/gemini-cli/pull/24903)
221
- - fix(core): dynamic session ID injection to resolve resume bugs by @scidomino
222
- in [#24972](https://github.com/google-gemini/gemini-cli/pull/24972)
223
- - Update ink version to 6.6.9 by @jacob314 in
224
- [#24980](https://github.com/google-gemini/gemini-cli/pull/24980)
225
- - Generalize evals infra to support more types of evals, organization and
226
- queuing of named suites by @gundermanc in
227
- [#24941](https://github.com/google-gemini/gemini-cli/pull/24941)
228
- - fix(cli): optimize startup with lightweight parent process by @sehoon38 in
229
- [#24667](https://github.com/google-gemini/gemini-cli/pull/24667)
230
- - refactor(sandbox): use centralized sandbox paths in macOS Seatbelt
231
- implementation by @ehedlund in
232
- [#24984](https://github.com/google-gemini/gemini-cli/pull/24984)
233
- - feat(cli): refine tool output formatting for compact mode by @jwhelangoog in
234
- [#24677](https://github.com/google-gemini/gemini-cli/pull/24677)
235
- - fix(sdk): skip broken sendStream tests to unblock nightly by @SandyTao520 in
236
- [#25000](https://github.com/google-gemini/gemini-cli/pull/25000)
237
- - refactor(core): use centralized path resolution for Linux sandbox by @ehedlund
238
- in [#24985](https://github.com/google-gemini/gemini-cli/pull/24985)
239
- - Support ctrl+shift+g by @jacob314 in
240
- [#25035](https://github.com/google-gemini/gemini-cli/pull/25035)
241
- - feat(core): refactor subagent tool to unified invoke_subagent tool by
242
- @abhipatel12 in
243
- [#24489](https://github.com/google-gemini/gemini-cli/pull/24489)
244
- - fix(core): add explicit git identity env vars to prevent sandbox checkpointing
245
- error by @mrpmohiburrahman in
246
- [#19775](https://github.com/google-gemini/gemini-cli/pull/19775)
247
- - fix: respect hideContextPercentage when FooterConfigDialog is closed without
248
- changes by @chernistry in
249
- [#24773](https://github.com/google-gemini/gemini-cli/pull/24773)
250
- - fix(cli): suppress unhandled AbortError logs during request cancellation by
251
- @euxaristia in
252
- [#22621](https://github.com/google-gemini/gemini-cli/pull/22621)
253
- - Automated documentation audit by @g-samroberts in
254
- [#24567](https://github.com/google-gemini/gemini-cli/pull/24567)
255
- - feat(cli): implement useAgentStream hook by @mbleigh in
256
- [#24292](https://github.com/google-gemini/gemini-cli/pull/24292)
257
- - refactor(plan) Clean default plan toml by @ruomengz in
258
- [#25037](https://github.com/google-gemini/gemini-cli/pull/25037)
259
- - refactor(core): remove legacy subagent wrapping tools by @abhipatel12 in
260
- [#25053](https://github.com/google-gemini/gemini-cli/pull/25053)
261
- - fix(core): honor retryDelay in RetryInfo for 503 errors by @yunaseoul in
262
- [#25057](https://github.com/google-gemini/gemini-cli/pull/25057)
263
- - fix(core): remediate subagent memory leaks using AbortSignal in MessageBus by
264
- @abhipatel12 in
265
- [#25048](https://github.com/google-gemini/gemini-cli/pull/25048)
266
- - feat(cli): wire up useAgentStream in AppContainer by @mbleigh in
267
- [#24297](https://github.com/google-gemini/gemini-cli/pull/24297)
268
- - feat(core): migrate chat recording to JSONL streaming by @spencer426 in
269
- [#23749](https://github.com/google-gemini/gemini-cli/pull/23749)
270
- - fix(core): clear 5-minute timeouts in oauth flow to prevent memory leaks by
271
- @spencer426 in
272
- [#24968](https://github.com/google-gemini/gemini-cli/pull/24968)
273
- - fix(sandbox): centralize async git worktree resolution and enforce read-only
274
- security by @ehedlund in
275
- [#25040](https://github.com/google-gemini/gemini-cli/pull/25040)
276
- - feat(test): add high-volume shell test and refine perf harness by @sripasg in
277
- [#24983](https://github.com/google-gemini/gemini-cli/pull/24983)
278
- - fix(core): silently handle EPERM when listing dir structure by @scidomino in
279
- [#25066](https://github.com/google-gemini/gemini-cli/pull/25066)
280
- - Changelog for v0.37.1 by @gemini-cli-robot in
281
- [#25055](https://github.com/google-gemini/gemini-cli/pull/25055)
282
- - fix: decode Uint8Array and multi-byte UTF-8 in API error messages by
283
- @kimjune01 in [#23341](https://github.com/google-gemini/gemini-cli/pull/23341)
284
- - Automated documentation audit results by @g-samroberts in
285
- [#22755](https://github.com/google-gemini/gemini-cli/pull/22755)
286
- - debugging(ui): add optional debugRainbow setting by @jacob314 in
287
- [#25088](https://github.com/google-gemini/gemini-cli/pull/25088)
288
- - fix: resolve lifecycle memory leaks by cleaning up listeners and root closures
289
- by @spencer426 in
290
- [#25049](https://github.com/google-gemini/gemini-cli/pull/25049)
291
- - docs(cli): updates f12 description to be more precise by @JayadityaGit in
292
- [#15816](https://github.com/google-gemini/gemini-cli/pull/15816)
293
- - fix(cli): mark /settings as unsafe to run concurrently by @jacob314 in
294
- [#25061](https://github.com/google-gemini/gemini-cli/pull/25061)
295
- - fix(core): remove buffer slice to prevent OOM on large output streams by
296
- @spencer426 in
297
- [#25094](https://github.com/google-gemini/gemini-cli/pull/25094)
298
- - feat(core): persist subagent agentId in tool call records by @abhipatel12 in
299
- [#25092](https://github.com/google-gemini/gemini-cli/pull/25092)
300
- - chore(core): increase codebase investigator turn limits to 50 by @abhipatel12
301
- in [#25125](https://github.com/google-gemini/gemini-cli/pull/25125)
302
- - refactor(core): consolidate execute() arguments into ExecuteOptions by
303
- @mbleigh in [#25101](https://github.com/google-gemini/gemini-cli/pull/25101)
304
- - feat(core): add Strategic Re-evaluation guidance to system prompt by
305
- @aishaneeshah in
306
- [#25062](https://github.com/google-gemini/gemini-cli/pull/25062)
307
- - fix(core): preserve shell execution config fields on update by
308
- @jasonmatthewsuhari in
309
- [#25113](https://github.com/google-gemini/gemini-cli/pull/25113)
310
- - docs: add vi shortcuts and clarify MCP sandbox setup by @chrisjcthomas in
311
- [#21679](https://github.com/google-gemini/gemini-cli/pull/21679)
312
- - fix(cli): pass session id to interactive shell executions by
313
- @jasonmatthewsuhari in
314
- [#25114](https://github.com/google-gemini/gemini-cli/pull/25114)
315
- - fix(cli): resolve text sanitization data loss due to C1 control characters by
316
- @euxaristia in
317
- [#22624](https://github.com/google-gemini/gemini-cli/pull/22624)
318
- - feat(core): add large memory regression test by @cynthialong0-0 in
319
- [#25059](https://github.com/google-gemini/gemini-cli/pull/25059)
320
- - fix(core): resolve PTY exhaustion and orphan MCP subprocess leaks by
36
+ [#25821](https://github.com/google-gemini/gemini-cli/pull/25821)
37
+ - feat(cli): secure .env loading and enforce workspace trust in headless mode by
38
+ @ehedlund in [#25814](https://github.com/google-gemini/gemini-cli/pull/25814)
39
+ - fix: fatal hard-crash on loop detection via unhandled AbortError by @hsm207 in
40
+ [#20108](https://github.com/google-gemini/gemini-cli/pull/20108)
41
+ - update package-lock.json by @ehedlund in
42
+ [#25876](https://github.com/google-gemini/gemini-cli/pull/25876)
43
+ - feat(core): enhance shell command validation and add core tools allowlist by
44
+ @galz10 in [#25720](https://github.com/google-gemini/gemini-cli/pull/25720)
45
+ - fix(ui): corrected background color check in user message components by
46
+ @devr0306 in [#25880](https://github.com/google-gemini/gemini-cli/pull/25880)
47
+ - perf(core): fix slow boot by fetching experiments and quota asynchronously by
321
48
  @spencer426 in
322
- [#25079](https://github.com/google-gemini/gemini-cli/pull/25079)
323
- - chore(deps): update vulnerable dependencies via npm audit fix by @scidomino in
324
- [#25140](https://github.com/google-gemini/gemini-cli/pull/25140)
325
- - perf(sandbox): optimize Windows sandbox initialization via native ACL
326
- application by @ehedlund in
327
- [#25077](https://github.com/google-gemini/gemini-cli/pull/25077)
328
- - chore: switch from keytar to @github/keytar by @cocosheng-g in
329
- [#25143](https://github.com/google-gemini/gemini-cli/pull/25143)
330
- - fix: improve audio MIME normalization and validation in file reads by
331
- @junaiddshaukat in
332
- [#21636](https://github.com/google-gemini/gemini-cli/pull/21636)
333
- - docs: Update docs-audit to include changes in PR body by @g-samroberts in
334
- [#25153](https://github.com/google-gemini/gemini-cli/pull/25153)
335
- - docs: correct documentation for enforced authentication type by @cocosheng-g
336
- in [#25142](https://github.com/google-gemini/gemini-cli/pull/25142)
337
- - fix(cli): exclude update_topic from confirmation queue count by @Abhijit-2592
338
- in [#24945](https://github.com/google-gemini/gemini-cli/pull/24945)
339
- - Memory fix for trace's streamWrapper. by @anthraxmilkshake in
340
- [#25089](https://github.com/google-gemini/gemini-cli/pull/25089)
341
- - fix(core): fix quota footer for non-auto models and improve display by
342
- @jackwotherspoon in
343
- [#25121](https://github.com/google-gemini/gemini-cli/pull/25121)
344
- - docs(contributing): clarify self-assignment policy for issues by @jmr in
345
- [#23087](https://github.com/google-gemini/gemini-cli/pull/23087)
346
- - feat(core): add skill patching support with /memory inbox integration by
49
+ [#25758](https://github.com/google-gemini/gemini-cli/pull/25758)
50
+ - feat(core,cli): add support for Gemma 4 models (experimental) by @Abhijit-2592
51
+ in [#25604](https://github.com/google-gemini/gemini-cli/pull/25604)
52
+ - update FatalUntrustedWorkspaceError message to include doc link by @ehedlund
53
+ in [#25874](https://github.com/google-gemini/gemini-cli/pull/25874)
54
+ - docs: add Gemini CLI course link to README by @JayadityaGit in
55
+ [#25925](https://github.com/google-gemini/gemini-cli/pull/25925)
56
+ - feat(repo): add gemini-cli-bot metrics and workflows by @gundermanc in
57
+ [#25888](https://github.com/google-gemini/gemini-cli/pull/25888)
58
+ - fix(cli): allow output redirection for cli commands by @spencer426 in
59
+ [#25894](https://github.com/google-gemini/gemini-cli/pull/25894)
60
+ - fix(core): fail closed in YOLO mode when shell parsing fails for restricted
61
+ rules by @ehedlund in
62
+ [#25935](https://github.com/google-gemini/gemini-cli/pull/25935)
63
+ - fix(cli-ui): revert backspace handling to fix Windows regression by @scidomino
64
+ in [#25941](https://github.com/google-gemini/gemini-cli/pull/25941)
65
+ - feat(voice): implement real-time voice mode with cloud and local backends by
66
+ @Abhijit-2592 in
67
+ [#24174](https://github.com/google-gemini/gemini-cli/pull/24174)
68
+ - Changelog for v0.39.0 by @gemini-cli-robot in
69
+ [#25848](https://github.com/google-gemini/gemini-cli/pull/25848)
70
+ - feat(memory): persist auto-memory scratchpad for skill extraction by
347
71
  @SandyTao520 in
348
- [#25148](https://github.com/google-gemini/gemini-cli/pull/25148)
349
- - Stop suppressing thoughts and text in model response by @gundermanc in
350
- [#25073](https://github.com/google-gemini/gemini-cli/pull/25073)
351
- - fix(release): prefix git hash in nightly versions to prevent semver
352
- normalization by @SandyTao520 in
353
- [#25304](https://github.com/google-gemini/gemini-cli/pull/25304)
354
- - feat(cli): extract QuotaContext and resolve infinite render loop by @Adib234
355
- in [#24959](https://github.com/google-gemini/gemini-cli/pull/24959)
356
- - refactor(core): extract and centralize sandbox path utilities by @ehedlund in
357
- [#25305](https://github.com/google-gemini/gemini-cli/pull/25305)
358
- - feat(ui): added enhancements to scroll momentum by @devr0306 in
359
- [#24447](https://github.com/google-gemini/gemini-cli/pull/24447)
360
- - fix(core): replace custom binary detection with isbinaryfile to correctly
361
- handle UTF-8 (U+FFFD) by @Anjaligarhwal in
362
- [#25297](https://github.com/google-gemini/gemini-cli/pull/25297)
363
- - feat(agent): implement tool-controlled display protocol (Steps 2-3) by
364
- @mbleigh in [#25134](https://github.com/google-gemini/gemini-cli/pull/25134)
365
- - Stop showing scrollbar unless we are in terminalBuffer mode by @jacob314 in
366
- [#25320](https://github.com/google-gemini/gemini-cli/pull/25320)
367
- - feat: support auth block in MCP servers config in agents by @TanmayVartak in
368
- [#24770](https://github.com/google-gemini/gemini-cli/pull/24770)
369
- - fix(core): expose GEMINI_PLANS_DIR to hook environment by @Adib234 in
370
- [#25296](https://github.com/google-gemini/gemini-cli/pull/25296)
371
- - feat(core): implement silent fallback for Plan Mode model routing by @jerop in
372
- [#25317](https://github.com/google-gemini/gemini-cli/pull/25317)
373
- - fix: correct redirect count increment in fetchJson by @KevinZhao in
374
- [#24896](https://github.com/google-gemini/gemini-cli/pull/24896)
375
- - fix(core): prevent secondary crash in ModelRouterService finally block by
376
- @gundermanc in
377
- [#25333](https://github.com/google-gemini/gemini-cli/pull/25333)
378
- - feat(core): introduce decoupled ContextManager and Sidecar architecture by
379
- @joshualitt in
380
- [#24752](https://github.com/google-gemini/gemini-cli/pull/24752)
381
- - docs(core): update generalist agent documentation by @abhipatel12 in
382
- [#25325](https://github.com/google-gemini/gemini-cli/pull/25325)
383
- - chore(mcp): check MCP error code over brittle string match by @jackwotherspoon
384
- in [#25381](https://github.com/google-gemini/gemini-cli/pull/25381)
385
- - feat(plan): update plan mode prompt to allow showing plan content by @ruomengz
386
- in [#25058](https://github.com/google-gemini/gemini-cli/pull/25058)
387
- - test(core): improve sandbox integration test coverage and fix OS-specific
388
- failures by @ehedlund in
389
- [#25307](https://github.com/google-gemini/gemini-cli/pull/25307)
390
- - fix(core): use debug level for keychain fallback logging by @ehedlund in
391
- [#25398](https://github.com/google-gemini/gemini-cli/pull/25398)
392
- - feat(test): add a performance test in asian language by @cynthialong0-0 in
393
- [#25392](https://github.com/google-gemini/gemini-cli/pull/25392)
394
- - feat(cli): enable mouse clicking for cursor positioning in AskUser multi-line
395
- answers by @Adib234 in
396
- [#24630](https://github.com/google-gemini/gemini-cli/pull/24630)
397
- - fix(core): detect kmscon terminal as supporting true color by @claygeo in
398
- [#25282](https://github.com/google-gemini/gemini-cli/pull/25282)
399
- - ci: add agent session drift check workflow by @adamfweidman in
400
- [#25389](https://github.com/google-gemini/gemini-cli/pull/25389)
401
- - use macos-latest-large runner where applicable. by @scidomino in
402
- [#25413](https://github.com/google-gemini/gemini-cli/pull/25413)
403
- - Changelog for v0.37.2 by @gemini-cli-robot in
404
- [#25336](https://github.com/google-gemini/gemini-cli/pull/25336)
72
+ [#25873](https://github.com/google-gemini/gemini-cli/pull/25873)
73
+ - fix(cli): add missing response key to custom theme text schema by @gaurav0107
74
+ in [#25822](https://github.com/google-gemini/gemini-cli/pull/25822)
75
+ - fix(cli): provide manual update command when automatic update fails by
76
+ @cocosheng-g in
77
+ [#26052](https://github.com/google-gemini/gemini-cli/pull/26052)
78
+ - test(cli): add unit tests for restore ACP command (#23402) by @cocosheng-g in
79
+ [#26053](https://github.com/google-gemini/gemini-cli/pull/26053)
80
+ - fix(ui): better error messages for ECONNRESET and ETIMEDOUT by @devr0306 in
81
+ [#26059](https://github.com/google-gemini/gemini-cli/pull/26059)
82
+ - feat(core): wire up the new ContextManager and AgentChatHistory by @joshualitt
83
+ in [#25409](https://github.com/google-gemini/gemini-cli/pull/25409)
84
+ - fix(cli): ensure sandbox proxy cleanup and remove handler leaks by @ehedlund
85
+ in [#26065](https://github.com/google-gemini/gemini-cli/pull/26065)
86
+ - fix(cli): correct alternate buffer warning logic for JetBrains by @Adib234 in
87
+ [#26067](https://github.com/google-gemini/gemini-cli/pull/26067)
88
+ - fix(cli): make MCP ping optional in list command and use configured timeout by
89
+ @cocosheng-g in
90
+ [#26068](https://github.com/google-gemini/gemini-cli/pull/26068)
91
+ - fix(core): better error message for failed cloudshell-gca auth by @devr0306 in
92
+ [#26079](https://github.com/google-gemini/gemini-cli/pull/26079)
93
+ - feat(cli): provide manual session UUID via command line arg by @cocosheng-g in
94
+ [#26060](https://github.com/google-gemini/gemini-cli/pull/26060)
95
+ - Changelog for v0.40.0-preview.2 by @gemini-cli-robot in
96
+ [#25846](https://github.com/google-gemini/gemini-cli/pull/25846)
97
+ - (docs) update sandboxing documentation by @g-samroberts in
98
+ [#25930](https://github.com/google-gemini/gemini-cli/pull/25930)
99
+ - fix(core): enforce parallel task tracker updates by @anj-s in
100
+ [#24477](https://github.com/google-gemini/gemini-cli/pull/24477)
101
+ - Update policy so transient errors are not marked terminal by @DavidAPierce in
102
+ [#26066](https://github.com/google-gemini/gemini-cli/pull/26066)
103
+ - Implement bot that performs time-series metric analysis and suggests repo
104
+ management improvements by @gundermanc in
105
+ [#25945](https://github.com/google-gemini/gemini-cli/pull/25945)
106
+ - fix(core): handle non-string model flags in resolution by @Adib234 in
107
+ [#26069](https://github.com/google-gemini/gemini-cli/pull/26069)
108
+ - fix(ux): added error message for ENOTDIR by @devr0306 in
109
+ [#26128](https://github.com/google-gemini/gemini-cli/pull/26128)
110
+ - Changelog for v0.40.0-preview.3 by @gemini-cli-robot in
111
+ [#25904](https://github.com/google-gemini/gemini-cli/pull/25904)
112
+ - fix(cli): prevent ACP stdout pollution from SessionEnd hooks by @cocosheng-g
113
+ in [#26125](https://github.com/google-gemini/gemini-cli/pull/26125)
114
+ - feat(cli): support boolean and number casting for env vars in settings.json by
115
+ @cocosheng-g in
116
+ [#26118](https://github.com/google-gemini/gemini-cli/pull/26118)
117
+ - fix(cli): preserve Request headers in DevTools activity logger by @Adib234 in
118
+ [#26078](https://github.com/google-gemini/gemini-cli/pull/26078)
405
119
 
406
120
  **Full Changelog**:
407
- https://github.com/google-gemini/gemini-cli/compare/v0.38.0-preview.0...v0.40.0-preview.3
121
+ https://github.com/google-gemini/gemini-cli/compare/v0.40.0-preview.5...v0.41.0-preview.0
@@ -33,6 +33,7 @@ These commands are available within the interactive REPL.
33
33
  | -------------------- | ----------------------------------------------- |
34
34
  | `/skills reload` | Reload discovered skills from disk |
35
35
  | `/agents reload` | Reload the agent registry |
36
+ | `/commands list` | List available custom slash commands |
36
37
  | `/commands reload` | Reload custom slash commands |
37
38
  | `/memory reload` | Reload context files (for example, `GEMINI.md`) |
38
39
  | `/mcp reload` | Restart and reload MCP servers |