@google/gemini-cli-core 0.46.0-preview.0 → 0.47.0-nightly.20260604.g4196596f7

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 (45) hide show
  1. package/dist/docs/changelogs/index.md +18 -0
  2. package/dist/docs/changelogs/latest.md +46 -202
  3. package/dist/docs/changelogs/preview.md +28 -46
  4. package/dist/docs/reference/configuration.md +3 -1
  5. package/dist/google-gemini-cli-core-0.47.0-nightly.20260602.gcfcecebe8.tgz +0 -0
  6. package/dist/src/config/config.js +8 -1
  7. package/dist/src/config/config.js.map +1 -1
  8. package/dist/src/config/config.test.js +21 -2
  9. package/dist/src/config/config.test.js.map +1 -1
  10. package/dist/src/config/defaultModelConfigs.js +5 -2
  11. package/dist/src/config/defaultModelConfigs.js.map +1 -1
  12. package/dist/src/config/models.d.ts +2 -1
  13. package/dist/src/config/models.js +27 -19
  14. package/dist/src/config/models.js.map +1 -1
  15. package/dist/src/config/models.test.js +63 -12
  16. package/dist/src/config/models.test.js.map +1 -1
  17. package/dist/src/generated/git-commit.d.ts +2 -2
  18. package/dist/src/generated/git-commit.js +2 -2
  19. package/dist/src/generated/git-commit.js.map +1 -1
  20. package/dist/src/policy/config.js +42 -6
  21. package/dist/src/policy/config.js.map +1 -1
  22. package/dist/src/policy/persistence.test.js +136 -2
  23. package/dist/src/policy/persistence.test.js.map +1 -1
  24. package/dist/src/policy/policy-updater.test.js +15 -10
  25. package/dist/src/policy/policy-updater.test.js.map +1 -1
  26. package/dist/src/routing/strategies/approvalModeStrategy.js +3 -2
  27. package/dist/src/routing/strategies/approvalModeStrategy.js.map +1 -1
  28. package/dist/src/routing/strategies/approvalModeStrategy.test.js +8 -0
  29. package/dist/src/routing/strategies/approvalModeStrategy.test.js.map +1 -1
  30. package/dist/src/routing/strategies/classifierStrategy.js +2 -1
  31. package/dist/src/routing/strategies/classifierStrategy.js.map +1 -1
  32. package/dist/src/routing/strategies/classifierStrategy.test.js +11 -0
  33. package/dist/src/routing/strategies/classifierStrategy.test.js.map +1 -1
  34. package/dist/src/routing/strategies/gemmaClassifierStrategy.js +2 -1
  35. package/dist/src/routing/strategies/gemmaClassifierStrategy.js.map +1 -1
  36. package/dist/src/routing/strategies/gemmaClassifierStrategy.test.js +12 -1
  37. package/dist/src/routing/strategies/gemmaClassifierStrategy.test.js.map +1 -1
  38. package/dist/src/routing/strategies/numericalClassifierStrategy.js +2 -1
  39. package/dist/src/routing/strategies/numericalClassifierStrategy.js.map +1 -1
  40. package/dist/src/routing/strategies/numericalClassifierStrategy.test.js +12 -1
  41. package/dist/src/routing/strategies/numericalClassifierStrategy.test.js.map +1 -1
  42. package/dist/src/services/modelConfigService.js +2 -1
  43. package/dist/src/services/modelConfigService.js.map +1 -1
  44. package/dist/tsconfig.tsbuildinfo +1 -1
  45. 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.45.0 - 2026-06-03
22
+
23
+ - **Context Simplification:** Completed major architectural work to simplify the
24
+ `ContextManager`, improving system robustness and performance
25
+ ([#27345](https://github.com/google-gemini/gemini-cli/pull/27345) by
26
+ @joshualitt).
27
+ - **A2A Usage Metadata:** Exposed critical usage metadata in the Agent-to-Agent
28
+ (A2A) protocol for better resource tracking
29
+ ([#27288](https://github.com/google-gemini/gemini-cli/pull/27288) by
30
+ @jvargassanchez-dot).
31
+ - **Reliability Fixes:** Addressed Termux relaunch loops, PTY resize errors, and
32
+ forced sequential execution for topic updates
33
+ ([#27110](https://github.com/google-gemini/gemini-cli/pull/27110) by @saymanq,
34
+ [#27357](https://github.com/google-gemini/gemini-cli/pull/27357) by
35
+ @jvargassanchez-dot,
36
+ [#27461](https://github.com/google-gemini/gemini-cli/pull/27461) by
37
+ @scidomino).
38
+
21
39
  ## Announcements: v0.44.0 - 2026-05-27
22
40
 
23
41
  - **Unified Auto Mode:** Streamlined the automation experience by merging
@@ -1,6 +1,6 @@
1
- # Latest stable release: v0.44.0
1
+ # Latest stable release: v0.45.0
2
2
 
3
- Released: May 27, 2026
3
+ Released: June 03, 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,211 +11,55 @@ npm install -g @google/gemini-cli
11
11
 
12
12
  ## Highlights
13
13
 
14
- - **Unified Auto Mode:** Merged all "Auto" modes into a single, unified Auto
15
- mode, simplifying the automation workflow and providing a more consistent
16
- experience across tasks.
17
- - **Expanded Editor Support:** Native support for Sublime Text and Emacs Client
18
- has been added, giving developers more flexibility in their choice of external
19
- editors.
20
- - **TUI Automation Skills:** New `agent-tui` and `tui-tester` skills enable the
21
- programmatic testing and automation of terminal UI (TUI) applications,
22
- facilitating robust verification of terminal-based tools.
23
- - **Improved UI Performance:** Throttled shell text output and added bounds to
24
- the live UI buffer to ensure smooth rendering and stability during high-volume
25
- output sessions.
26
- - **Stabilized Sandbox Environments:** Explicitly clearing entrypoints when
27
- spawning sandbox containers ensures reliable and consistent environment
28
- initialization across different Linux distributions.
14
+ - **Context Manager Simplification:** Completed a significant refactoring of the
15
+ context management system to improve reliability and architectural clarity.
16
+ - **A2A Usage Metadata:** Enhanced the Agent-to-Agent protocol to expose usage
17
+ metadata, enabling more transparent resource monitoring.
18
+ - **Terminal & PTY Robustness:** Resolved several critical issues related to
19
+ terminal interactions, including Termux relaunch loops and PTY resize errors.
20
+ - **Routing Optimizations:** Updated default auto-routing and bypassed
21
+ classifiers for specific tool responses to prevent orphaned function errors.
22
+ - **Tool Execution Control:** Forced the `update_topic` tool to execute
23
+ sequentially, ensuring consistent narrative flow in agent interactions.
29
24
 
30
25
  ## What's Changed
31
26
 
32
- - chore(release): bump version to 0.44.0-nightly.20260512.g022e8baef by
27
+ - chore(release): bump version to 0.45.0-nightly.20260521.g854f811be by
33
28
  @gemini-cli-robot in
34
- [#26957](https://github.com/google-gemini/gemini-cli/pull/26957)
35
- - Changelog for v0.42.0 by @gemini-cli-robot in
36
- [#26958](https://github.com/google-gemini/gemini-cli/pull/26958)
37
- - Refactor: Eliminate `no-unsafe-return` suppressions via strict type validation
38
- by @M-DEV-1 in
39
- [#20668](https://github.com/google-gemini/gemini-cli/pull/20668)
40
- - Changelog for v0.43.0-preview.0 by @gemini-cli-robot in
41
- [#26959](https://github.com/google-gemini/gemini-cli/pull/26959)
42
- - feat(core): change agent registration to first-wins and prioritize project by
43
- @adamfweidman in
44
- [#26953](https://github.com/google-gemini/gemini-cli/pull/26953)
45
- - feat(cli): merge Auto modes into a single Auto mode by @DavidAPierce in
46
- [#26714](https://github.com/google-gemini/gemini-cli/pull/26714)
47
- - fix(core): preserve OAuth refresh tokens during rotation and retrieval by
48
- @cocosheng-g in
49
- [#26924](https://github.com/google-gemini/gemini-cli/pull/26924)
50
- - fix(cli): allow keychain auth for --list-sessions and non-interactive mode by
51
- @cocosheng-g in
52
- [#26921](https://github.com/google-gemini/gemini-cli/pull/26921)
53
- - fix(core): handle EISDIR on virtual drives in memory discovery by @cocosheng-g
54
- in [#26985](https://github.com/google-gemini/gemini-cli/pull/26985)
55
- - fix(cli): auto-approve shell redirections in AUTO_EDIT mode by @cocosheng-g in
56
- [#27003](https://github.com/google-gemini/gemini-cli/pull/27003)
57
- - ci: suppress bot comments during standard triage maintenance by @cocosheng-g
58
- in [#27006](https://github.com/google-gemini/gemini-cli/pull/27006)
59
- - fix(core): refresh MCP OAuth token usage after re-auth by @sahilkirad in
60
- [#26312](https://github.com/google-gemini/gemini-cli/pull/26312)
61
- - fix(ui): clamped table column widths by @devr0306 in
62
- [#26991](https://github.com/google-gemini/gemini-cli/pull/26991)
63
- - fix(core): isolate subagent thread context by @akh64bit in
64
- [#26449](https://github.com/google-gemini/gemini-cli/pull/26449)
65
- - chore: add execution permission to scripts/review.sh by @scidomino in
66
- [#27009](https://github.com/google-gemini/gemini-cli/pull/27009)
67
- - fix(core): made context files append instead of replace by @devr0306 in
68
- [#26950](https://github.com/google-gemini/gemini-cli/pull/26950)
69
- - fix: add system PATH fallback for ripgrep resolution (#26777) by @cocosheng-g
70
- in [#26868](https://github.com/google-gemini/gemini-cli/pull/26868)
71
- - chore: clean up launched memory features by @SandyTao520 in
72
- [#26941](https://github.com/google-gemini/gemini-cli/pull/26941)
73
- - fix(core): throttle shell text output and bound live UI buffer by
74
- @emersonbusson in
75
- [#26955](https://github.com/google-gemini/gemini-cli/pull/26955)
76
- - fix(cli): don't crash when an @-mention captures a non-path blob by @ifitisit
77
- in [#25980](https://github.com/google-gemini/gemini-cli/pull/25980)
78
- - fix(core): ensure stable fallback for restricted preview models by @galz10 in
79
- [#26999](https://github.com/google-gemini/gemini-cli/pull/26999)
80
- - feat(core): expose RAG snippets to local log file for debugging by @spencer426
81
- in [#27016](https://github.com/google-gemini/gemini-cli/pull/27016)
82
- - fix(acp/auth): prevent conflicting credentials on enterprise gateways and
83
- support optional API keys natively by @sripasg in
84
- [#27021](https://github.com/google-gemini/gemini-cli/pull/27021)
85
- - fix(core): respect NO_PROXY for network-based MCP servers by @cocosheng-g in
86
- [#27012](https://github.com/google-gemini/gemini-cli/pull/27012)
87
- - fix(cli): resolve permission denied in sandbox on NixOS and other distros by
88
- @cocosheng-g in
89
- [#27004](https://github.com/google-gemini/gemini-cli/pull/27004)
90
- - fix(ui): preserve new line at the end of edit window by @devr0306 in
91
- [#27057](https://github.com/google-gemini/gemini-cli/pull/27057)
92
- - fix(core): ensure Vertex AI sets hasAccessToPreviewModels and remove
93
- aggressive 404 fallback revocation by @galz10 in
94
- [#27067](https://github.com/google-gemini/gemini-cli/pull/27067)
95
- - fix(core): ensure stable admin settings comparison across IPC to prevent
96
- restart loop by @DavidAPierce in
97
- [#27066](https://github.com/google-gemini/gemini-cli/pull/27066)
98
- - fix(deps): update vulnerable dependencies by @scidomino in
99
- [#27062](https://github.com/google-gemini/gemini-cli/pull/27062)
100
- - fix(core): resolve EISDIR errors during file processing (#21527) by @ProthamD
101
- in [#27041](https://github.com/google-gemini/gemini-cli/pull/27041)
102
- - docs(extensions): clarify env var sanitization policy for MCP and ext… by
103
- @galz10 in [#22854](https://github.com/google-gemini/gemini-cli/pull/22854)
104
- - fix(ui): add ENAMETOOLONG and ENOTDIR to exceptions for file parsing errors by
105
- @devr0306 in [#27069](https://github.com/google-gemini/gemini-cli/pull/27069)
106
- - fix(cli): explicitly clear entrypoint when spawning sandbox container by
107
- @cocosheng-g in
108
- [#27059](https://github.com/google-gemini/gemini-cli/pull/27059)
109
- - docs: update sandbox image command by @sjhddh in
110
- [#26774](https://github.com/google-gemini/gemini-cli/pull/26774)
111
- - fix(core): externalize https-proxy-agent to fix proxy support by @sotokisehiro
112
- in [#26361](https://github.com/google-gemini/gemini-cli/pull/26361)
113
- - security: update dependencies to fix critical and high vulnerabilities by
114
- @scidomino in [#27077](https://github.com/google-gemini/gemini-cli/pull/27077)
115
- - Fix/web fetch ctrl c abort by @ProthamD in
116
- [#24320](https://github.com/google-gemini/gemini-cli/pull/24320)
117
- - fix(core): add aliases and thinking config for gemini-3.1 models by
118
- @anishs1207 in
119
- [#27007](https://github.com/google-gemini/gemini-cli/pull/27007)
120
- - fix(core): use hasAccessToPreview for auto model resolution and fix
121
- disappearing models by @DavidAPierce in
122
- [#27112](https://github.com/google-gemini/gemini-cli/pull/27112)
123
- - feat(core): add adk.agentSessionSubagentEnabled flag by @adamfweidman in
124
- [#26947](https://github.com/google-gemini/gemini-cli/pull/26947)
125
- - fix(core): enforce compile-time exhaustiveness in content-utils by
126
- @adamfweidman in
127
- [#27207](https://github.com/google-gemini/gemini-cli/pull/27207)
128
- - feat(skills): add agent-tui and tui-tester skills by @adamfweidman in
129
- [#27121](https://github.com/google-gemini/gemini-cli/pull/27121)
130
- - fix(context): Fix snapshot recovery across sessions. by @joshualitt in
131
- [#26939](https://github.com/google-gemini/gemini-cli/pull/26939)
132
- - fix(core): add unit tests for stableStringify by @devr0306 in
133
- [#27212](https://github.com/google-gemini/gemini-cli/pull/27212)
134
- - fix(core): prefer pwsh.exe over Windows PowerShell 5.1 (#25859) by @kaluchi in
135
- [#25900](https://github.com/google-gemini/gemini-cli/pull/25900)
136
- - feat(core): add LocalSessionInvocation by @adamfweidman in
137
- [#26665](https://github.com/google-gemini/gemini-cli/pull/26665)
138
- - refactor: decouple auto model description and configuration from
139
- releaseChannel by @danielweis in
140
- [#27227](https://github.com/google-gemini/gemini-cli/pull/27227)
141
- - fix(core): prevent isBinary false-positive on Windows PTY streams by
142
- @TirthNaik-99 in
143
- [#26565](https://github.com/google-gemini/gemini-cli/pull/26565)
144
- - fix(cli): Prevent unmapped keys in Vim Normal mode from inserting text into
145
- prompt Input. by @Rajeshpatel07 in
146
- [#25139](https://github.com/google-gemini/gemini-cli/pull/25139)
147
- - fix(a2a-server): Implement default policy loading for parity with CLI by
148
- @kschaab in [#27073](https://github.com/google-gemini/gemini-cli/pull/27073)
149
- - feat(core): add RemoteSessionInvocation by @adamfweidman in
150
- [#26937](https://github.com/google-gemini/gemini-cli/pull/26937)
151
- - fix: allow configured MCP servers in non-interactive mode by @cocosheng-g in
152
- [#27215](https://github.com/google-gemini/gemini-cli/pull/27215)
153
- - fix(core): add exception handling to migrateFromFileStorage by @devr0306 in
154
- [#27229](https://github.com/google-gemini/gemini-cli/pull/27229)
155
- - fix(cli): bundle ink worker-entry.js by @rmedranollamas in
156
- [#27249](https://github.com/google-gemini/gemini-cli/pull/27249)
157
- - feat(core): wire AgentSession invocations into agent-tool by @adamfweidman in
158
- [#26948](https://github.com/google-gemini/gemini-cli/pull/26948)
159
- - fix(core): prevent path traversal in custome command file injection by
160
- @ompatel-aiml in
161
- [#27234](https://github.com/google-gemini/gemini-cli/pull/27234)
162
- - fix(core): respect NO_PROXY in global fetch dispatcher by @cocosheng-g in
163
- [#27216](https://github.com/google-gemini/gemini-cli/pull/27216)
164
- - fix(core): correctly handle nullable array types in MCP tools by @devr0306 in
165
- [#27228](https://github.com/google-gemini/gemini-cli/pull/27228)
166
- - fix(cli): preserve proxy-agent named exports in ESM bundle by @ashishch432 in
167
- [#27145](https://github.com/google-gemini/gemini-cli/pull/27145)
168
- - Proposal: deterministic encoding for child-process I/O by @kaluchi in
169
- [#27247](https://github.com/google-gemini/gemini-cli/pull/27247)
170
- - feat(cli): add Sublime Text and Emacs Client editors, improve error messages
171
- and documentation by @alberti42 in
172
- [#21090](https://github.com/google-gemini/gemini-cli/pull/21090)
173
- - Changelog for v0.43.0-preview.1 by @gemini-cli-robot in
174
- [#27297](https://github.com/google-gemini/gemini-cli/pull/27297)
175
- - fix(devtools): bundle devtools package to avoid resolution errors by
29
+ [#27362](https://github.com/google-gemini/gemini-cli/pull/27362)
30
+ - fix(cli): prevent Termux relaunch and resize remount loops by @saymanq in
31
+ [#27110](https://github.com/google-gemini/gemini-cli/pull/27110)
32
+ - Feat/a2a expose usage metadata by @jvargassanchez-dot in
33
+ [#27288](https://github.com/google-gemini/gemini-cli/pull/27288)
34
+ - feat(context): Complete simplification work. by @joshualitt in
35
+ [#27345](https://github.com/google-gemini/gemini-cli/pull/27345)
36
+ - fix(core): force update_topic tool to execute sequentially by
37
+ @jvargassanchez-dot in
38
+ [#27357](https://github.com/google-gemini/gemini-cli/pull/27357)
39
+ - Changelog for v0.44.0-preview.0 by @gemini-cli-robot in
40
+ [#27360](https://github.com/google-gemini/gemini-cli/pull/27360)
41
+ - Changelog for v0.43.0 by @gemini-cli-robot in
42
+ [#27361](https://github.com/google-gemini/gemini-cli/pull/27361)
43
+ - Revert "fix(core): prevent SIGHUP kills in PTY environments" by @bbiggs in
44
+ [#27401](https://github.com/google-gemini/gemini-cli/pull/27401)
45
+ - fix(cli): filter internal session context from history during resumption by
176
46
  @rmedranollamas in
177
- [#27250](https://github.com/google-gemini/gemini-cli/pull/27250)
178
- - fix(cli): integrate PolicyEngine into ACP session to prevent deadlocks
179
- (#23507) by @cocosheng-g in
180
- [#27252](https://github.com/google-gemini/gemini-cli/pull/27252)
181
- - fix: robust ripgrep path resolution and 1p hermetic execution support by
182
- @cocosheng-g in
183
- [#27253](https://github.com/google-gemini/gemini-cli/pull/27253)
184
- - refactor: decouple stored session deletion from ChatRecordingService (#22920)
185
- by @yuvrajangadsingh in
186
- [#27039](https://github.com/google-gemini/gemini-cli/pull/27039)
187
- - fix(core): improve Alpine shell compatibility by @dibyx in
188
- [#26770](https://github.com/google-gemini/gemini-cli/pull/26770)
189
- - fix(core): generalize MCP compliance fix for tool results by @cocosheng-g in
190
- [#27045](https://github.com/google-gemini/gemini-cli/pull/27045)
191
- - fix(scripts): scrub CI env vars in dev to keep interactive mode by @Hashaam101
192
- in [#27159](https://github.com/google-gemini/gemini-cli/pull/27159)
193
- - fix(core): Added date field for the GCal MCP by @devr0306 in
194
- [#27251](https://github.com/google-gemini/gemini-cli/pull/27251)
195
- - fix(core): centralize path validation to prevent crashes from malformed
196
- prompts by @cocosheng-g in
197
- [#27211](https://github.com/google-gemini/gemini-cli/pull/27211)
198
- - fix(core): prevent SIGHUP kills in PTY environments (WSL2/Kitty/Alacritty) by
199
- @ProthamD in [#27267](https://github.com/google-gemini/gemini-cli/pull/27267)
200
- - fix(core): dynamic fallback routing for exhausted quota models by @cocosheng-g
201
- in [#27315](https://github.com/google-gemini/gemini-cli/pull/27315)
202
- - Auto detect pnpm global installation path for macOS and Windows by @tisonkun
203
- in [#22748](https://github.com/google-gemini/gemini-cli/pull/22748)
204
- - fix(windows): resolve interactive shell arrow-key navigation on Windows by
205
- @KumarADITHYA123 in
206
- [#23505](https://github.com/google-gemini/gemini-cli/pull/23505)
207
- - ci: robust stale issue lifecycle and consolidated triage labels by
208
- @cocosheng-g in
209
- [#27015](https://github.com/google-gemini/gemini-cli/pull/27015)
210
- - fix(context): Ensure last message is processed. by @joshualitt in
211
- [#27232](https://github.com/google-gemini/gemini-cli/pull/27232)
212
- - chore/release: bump version to 0.44.0-nightly.20260521.g57c42a5c4 by
47
+ [#27391](https://github.com/google-gemini/gemini-cli/pull/27391)
48
+ - Update default auto routing by @DavidAPierce in
49
+ [#27071](https://github.com/google-gemini/gemini-cli/pull/27071)
50
+ - fix(core): bypass routing classifiers to prevent orphaned function response
51
+ errors by @danielweis in
52
+ [#27389](https://github.com/google-gemini/gemini-cli/pull/27389)
53
+ - fix(core): suppress PTY resize EBADF errors by @scidomino in
54
+ [#27461](https://github.com/google-gemini/gemini-cli/pull/27461)
55
+ - fix(core): prevent blacklist bypass in mcp list by @ompatel-aiml in
56
+ [#27377](https://github.com/google-gemini/gemini-cli/pull/27377)
57
+ - fix(cli): ignore unmapped vim normal keys by @MukundaKatta in
58
+ [#27102](https://github.com/google-gemini/gemini-cli/pull/27102)
59
+ - fix(patch): cherry-pick bd53951 to release/v0.45.0-preview.0-pr-27496 to patch
60
+ version v0.45.0-preview.0 and create version 0.45.0-preview.1 by
213
61
  @gemini-cli-robot in
214
- [#27324](https://github.com/google-gemini/gemini-cli/pull/27324)
215
- - fix(ui): added volta to auto update check by @devr0306 in
216
- [#27353](https://github.com/google-gemini/gemini-cli/pull/27353)
217
- - perf: optimize issue triage and lifecycle management by @cocosheng-g in
218
- [#27346](https://github.com/google-gemini/gemini-cli/pull/27346)
62
+ [#27535](https://github.com/google-gemini/gemini-cli/pull/27535)
219
63
 
220
64
  **Full Changelog**:
221
- https://github.com/google-gemini/gemini-cli/compare/v0.43.0...v0.44.0
65
+ https://github.com/google-gemini/gemini-cli/compare/v0.44.1...v0.45.0
@@ -1,6 +1,6 @@
1
- # Preview release: v0.45.0-preview.0
1
+ # Preview release: v0.46.0-preview.0
2
2
 
3
- Released: May 27, 2026
3
+ Released: June 3, 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,52 +13,34 @@ npm install -g @google/gemini-cli@preview
13
13
 
14
14
  ## Highlights
15
15
 
16
- - **Context Simplification:** Completed major architectural work to simplify and
17
- optimize how the agent manages and processes session context.
18
- - **A2A Usage Metadata:** The Agent-to-Agent (A2A) interface now exposes
19
- detailed usage metadata, providing better visibility into resource
20
- consumption.
21
- - **Improved Routing:** Updated default auto-routing logic and added bypasses
22
- for certain routing classifiers to prevent orphaned function response errors.
23
- - **Terminal Stability:** Fixed several issues affecting terminal environments,
24
- including Termux relaunch loops and PTY resize errors.
25
- - **Security & Fixes:** Strengthened MCP list security and addressed issues with
26
- session resumption and PTY environment signals.
16
+ - **Model Update:** Added support for transitioning to the Flash GA model when
17
+ the experimental flag is enabled, providing access to the latest model
18
+ improvements.
19
+ - **Improved Stability:** Hardened PTY resize logic to prevent native crashes,
20
+ ensuring a more robust terminal experience.
21
+ - **Bug Fix:** Resolved an issue where an invalid `preferredEditor`
22
+ configuration could lead to a notification spam loop.
23
+ - **CI Enhancements:** Optimized Pull Request labeling and introduced batch
24
+ workflows to improve development efficiency.
27
25
 
28
26
  ## What's Changed
29
27
 
30
- - chore(release): bump version to 0.45.0-nightly.20260521.g854f811be by
31
- @gemini-cli-robot in
32
- [#27362](https://github.com/google-gemini/gemini-cli/pull/27362)
33
- - fix(cli): prevent Termux relaunch and resize remount loops by @saymanq in
34
- [#27110](https://github.com/google-gemini/gemini-cli/pull/27110)
35
- - Feat/a2a expose usage metadata by @jvargassanchez-dot in
36
- [#27288](https://github.com/google-gemini/gemini-cli/pull/27288)
37
- - feat(context): Complete simplification work. by @joshualitt in
38
- [#27345](https://github.com/google-gemini/gemini-cli/pull/27345)
39
- - fix(core): force update_topic tool to execute sequentially by
40
- @jvargassanchez-dot in
41
- [#27357](https://github.com/google-gemini/gemini-cli/pull/27357)
42
- - Changelog for v0.44.0-preview.0 by @gemini-cli-robot in
43
- [#27360](https://github.com/google-gemini/gemini-cli/pull/27360)
44
- - Changelog for v0.43.0 by @gemini-cli-robot in
45
- [#27361](https://github.com/google-gemini/gemini-cli/pull/27361)
46
- - Revert "fix(core): prevent SIGHUP kills in PTY environments" by @bbiggs in
47
- [#27401](https://github.com/google-gemini/gemini-cli/pull/27401)
48
- - fix(cli): filter internal session context from history during resumption by
49
- @rmedranollamas in
50
- [#27391](https://github.com/google-gemini/gemini-cli/pull/27391)
51
- - Update default auto routing by @DavidAPierce in
52
- [#27071](https://github.com/google-gemini/gemini-cli/pull/27071)
53
- - fix(core): bypass routing classifiers to prevent orphaned function response
54
- errors by @danielweis in
55
- [#27389](https://github.com/google-gemini/gemini-cli/pull/27389)
56
- - fix(core): suppress PTY resize EBADF errors by @scidomino in
57
- [#27461](https://github.com/google-gemini/gemini-cli/pull/27461)
58
- - fix(core): prevent blacklist bypass in mcp list by @ompatel-aiml in
59
- [#27377](https://github.com/google-gemini/gemini-cli/pull/27377)
60
- - fix(cli): ignore unmapped vim normal keys by @MukundaKatta in
61
- [#27102](https://github.com/google-gemini/gemini-cli/pull/27102)
28
+ - fix(core): harden PTY resize against native crashes by @scidomino in
29
+ [#27496](https://github.com/google-gemini/gemini-cli/pull/27496)
30
+ - Changelog for v0.45.0-preview.0 by @gemini-cli-robot in
31
+ [#27495](https://github.com/google-gemini/gemini-cli/pull/27495)
32
+ - Changelog for v0.44.0 by @gemini-cli-robot in
33
+ [#27569](https://github.com/google-gemini/gemini-cli/pull/27569)
34
+ - fix(cli): prevent spam loop when preferredEditor is invalid by @Niralisj in
35
+ [#25324](https://github.com/google-gemini/gemini-cli/pull/25324)
36
+ - Adding quote by @scidomino in
37
+ [#27571](https://github.com/google-gemini/gemini-cli/pull/27571)
38
+ - Transition to flash GA model when experiment flag is present. by @DavidAPierce
39
+ in [#27570](https://github.com/google-gemini/gemini-cli/pull/27570)
40
+ - chore(ci): add optimized PR size labeler and batch workflows by @sripasg in
41
+ [#27616](https://github.com/google-gemini/gemini-cli/pull/27616)
42
+ - fix(ci): use pull_request_target trigger to grant write access on fork PRs by
43
+ @sripasg in [#27637](https://github.com/google-gemini/gemini-cli/pull/27637)
62
44
 
63
45
  **Full Changelog**:
64
- https://github.com/google-gemini/gemini-cli/compare/v0.44.0-preview.0...v0.45.0-preview.0
46
+ https://github.com/google-gemini/gemini-cli/compare/v0.45.0-preview.1...v0.46.0-preview.0
@@ -1042,13 +1042,15 @@ their corresponding top-level category object in your `settings.json` file.
1042
1042
  "contexts": [
1043
1043
  {
1044
1044
  "condition": {
1045
+ "hasAccessToPreview": false,
1045
1046
  "useGemini3_5Flash": true
1046
1047
  },
1047
1048
  "target": "gemini-3.5-flash"
1048
1049
  },
1049
1050
  {
1050
1051
  "condition": {
1051
- "hasAccessToPreview": false
1052
+ "hasAccessToPreview": false,
1053
+ "useGemini3_5Flash": false
1052
1054
  },
1053
1055
  "target": "gemini-2.5-flash"
1054
1056
  }
@@ -2368,7 +2368,14 @@ export class Config {
2368
2368
  // Used to set default flash models based on access
2369
2369
  // TODO: Remove once the experiment for 3_5 flash rollut can be cleaned up.
2370
2370
  if (hasAccess) {
2371
- setFlashModels('gemini-3.5-flash', 'gemini-3.5-flash');
2371
+ // Gemini API key users should have the ability to manually select the
2372
+ // old preview flash model.
2373
+ if (authType === AuthType.USE_GEMINI) {
2374
+ setFlashModels('gemini-3-flash-preview', 'gemini-3.5-flash');
2375
+ }
2376
+ else {
2377
+ setFlashModels('gemini-3-flash', 'gemini-3-flash');
2378
+ }
2372
2379
  }
2373
2380
  else {
2374
2381
  setFlashModels('gemini-3-flash-preview', 'gemini-2.5-flash');