@google/gemini-cli 0.62.0-preview.0 → 0.63.0-nightly.20260926.g2fe7c2d3f

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 (69) hide show
  1. package/bundle/{chunk-VNI6B2SC.js → chunk-2AXHER6I.js} +1 -1
  2. package/bundle/{chunk-7P7I4GYC.js → chunk-2HPN5QAH.js} +1 -1
  3. package/bundle/{chunk-67JFSAOI.js → chunk-4PBNRKYJ.js} +8 -5
  4. package/bundle/{chunk-UDX2JG4X.js → chunk-4SQTLFVK.js} +45 -11
  5. package/bundle/chunk-5OA4MZUE.js +17368 -0
  6. package/bundle/{chunk-ZOLMIYBF.js → chunk-A6CY66PY.js} +109 -62
  7. package/bundle/{chunk-IP26BEPK.js → chunk-BMW3TCBN.js} +1 -1
  8. package/bundle/{chunk-X3MDVQ2M.js → chunk-C2KZGMGL.js} +1 -1
  9. package/bundle/{chunk-DSHGGNYE.js → chunk-DQIFLHPX.js} +3 -3
  10. package/bundle/{chunk-QE6MNPCN.js → chunk-EATZTV2L.js} +45 -11
  11. package/bundle/{chunk-UCTTKDYX.js → chunk-EYGY6SJV.js} +1 -1
  12. package/bundle/{chunk-ZNLZV6KB.js → chunk-GCXBFYJK.js} +1 -1
  13. package/bundle/{chunk-4B6A2PDH.js → chunk-JBO7A25S.js} +9 -8
  14. package/bundle/{chunk-FX7H3YXM.js → chunk-JRB2XGR5.js} +1 -1
  15. package/bundle/{chunk-2MIF7TLR.js → chunk-KRI5JA76.js} +680 -165
  16. package/bundle/{chunk-RQBLUWGO.js → chunk-PAIQESPE.js} +3 -3
  17. package/bundle/{chunk-IZ7EEAUQ.js → chunk-QO5HKIZU.js} +2 -2
  18. package/bundle/{chunk-HCJU65X4.js → chunk-QX7M3XMQ.js} +3 -3
  19. package/bundle/{chunk-7LRWECUM.js → chunk-R2KYUMIM.js} +612 -158
  20. package/bundle/{chunk-KYWRBXUN.js → chunk-RCREII42.js} +2 -2
  21. package/bundle/{chunk-4SYYS7FT.js → chunk-RFR5KZGU.js} +1 -1
  22. package/bundle/chunk-SCOXV26L.js +118 -0
  23. package/bundle/{chunk-UVWRONOW.js → chunk-SJFSOFYJ.js} +2 -2
  24. package/bundle/chunk-SZK5XAFL.js +398 -0
  25. package/bundle/chunk-T7LJ6AR4.js +512 -0
  26. package/bundle/{chunk-YHJCOL52.js → chunk-TXWIPUPY.js} +8372 -14832
  27. package/bundle/chunk-UFNI7OME.js +400484 -0
  28. package/bundle/chunk-UGKG4OIB.js +102951 -0
  29. package/bundle/chunk-VAGYZO4R.js +1571 -0
  30. package/bundle/{chunk-LXVOSY26.js → chunk-VNGBTT2C.js} +1 -1
  31. package/bundle/{chunk-ZXPUBJYD.js → chunk-ZAM747AR.js} +1 -1
  32. package/bundle/chunk-ZV5QN465.js +154 -0
  33. package/bundle/{cleanup-FHA2KSXH.js → cleanup-33SXPBZY.js} +2 -2
  34. package/bundle/{cleanup-HY2KJG6D.js → cleanup-6IDD7Q3X.js} +2 -2
  35. package/bundle/{cleanup-UNKT2DM4.js → cleanup-7UL3PRLF.js} +2 -2
  36. package/bundle/cleanup-ZMIILI4I.js +32 -0
  37. package/bundle/{core-FGYHAZ6H.js → core-IIFMZU4H.js} +11 -1
  38. package/bundle/{devtoolsService-WDMSDVS7.js → devtoolsService-3DTEOSCQ.js} +2 -2
  39. package/bundle/{devtoolsService-2RNXWTDT.js → devtoolsService-AK7UU2FI.js} +2 -2
  40. package/bundle/{devtoolsService-FYN3P465.js → devtoolsService-BHWAPOMO.js} +4 -3
  41. package/bundle/devtoolsService-REQSIEPU.js +4359 -0
  42. package/bundle/{dist-42YIZWSU.js → dist-4S434TWJ.js} +11 -1
  43. package/bundle/{core-CYZFUAYU.js → dist-6CWFFN6Z.js} +11 -1
  44. package/bundle/dist-I74UZ4GA.js +2248 -0
  45. package/bundle/docs/changelogs/index.md +16 -0
  46. package/bundle/docs/changelogs/latest.md +34 -55
  47. package/bundle/docs/changelogs/preview.md +65 -29
  48. package/bundle/{gemini-H6C5T6NZ.js → gemini-3326ZSFC.js} +21 -21
  49. package/bundle/{gemini-5VI65FOO.js → gemini-I47O5YI2.js} +221 -205
  50. package/bundle/{gemini-DRDYGTKK.js → gemini-PGIEQLQD.js} +21 -21
  51. package/bundle/gemini-YJG7YFT4.js +17863 -0
  52. package/bundle/gemini.js +7 -7
  53. package/bundle/{interactiveCli-TLTKI2C4.js → interactiveCli-A6SNZNGC.js} +31 -14
  54. package/bundle/{interactiveCli-SOVSAZ32.js → interactiveCli-JF6LE6RN.js} +334 -298
  55. package/bundle/{interactiveCli-KSL5ASTL.js → interactiveCli-JLFFVRVY.js} +31 -14
  56. package/bundle/interactiveCli-MHB4B6S7.js +34907 -0
  57. package/bundle/{liteRtServerManager-KO56TKLF.js → liteRtServerManager-4LVWWKUV.js} +4 -4
  58. package/bundle/{liteRtServerManager-T2GG72NW.js → liteRtServerManager-5LUGQWRF.js} +4 -4
  59. package/bundle/{liteRtServerManager-2CCV35OQ.js → liteRtServerManager-DVDNFJNH.js} +4 -4
  60. package/bundle/liteRtServerManager-FWIPKCGI.js +65 -0
  61. package/bundle/{oauth2-provider-TBQ7JUDB.js → oauth2-provider-IBKEWCFT.js} +1 -1
  62. package/bundle/{oauth2-provider-UY26FDAA.js → oauth2-provider-KPLVYPVA.js} +1 -1
  63. package/bundle/{oauth2-provider-BSRUMVCL.js → oauth2-provider-MTCBHRXI.js} +38 -72
  64. package/bundle/oauth2-provider-TDMWN5ME.js +235 -0
  65. package/bundle/{start-NGSQCGCK.js → start-2A3VVOAH.js} +6 -6
  66. package/bundle/{start-RUS2QGZK.js → start-665BHOTS.js} +6 -6
  67. package/bundle/{start-GCXJMSER.js → start-6PINHVUA.js} +6 -6
  68. package/bundle/start-DXGEU2SK.js +18 -0
  69. package/package.json +1 -1
@@ -18,6 +18,22 @@ on GitHub.
18
18
  | [Preview](preview.md) | Experimental features ready for early feedback. |
19
19
  | [Stable](latest.md) | Stable, recommended for general use. |
20
20
 
21
+ ## Announcements: v0.61.0 - 2026-09-23
22
+
23
+ - **Core Security Hardening:** Prevented indirect prompt injection
24
+ vulnerabilities via build file modifications and untrusted flags, while
25
+ hardening filesystem boundaries and isolating runtime state
26
+ ([#29250](https://github.com/google-gemini/gemini-cli/pull/29250) by
27
+ @villahernandez-coder,
28
+ [#29214](https://github.com/google-gemini/gemini-cli/pull/29214) by
29
+ @diegogodinezr).
30
+ - **Agent Loop and Model Stability:** Ensured AgentLoopContext state
31
+ preservation across spread operations and preserved explicit versioned Flash
32
+ model IDs ([#29335](https://github.com/google-gemini/gemini-cli/pull/29335) by
33
+ @diegogodinezr,
34
+ [#29252](https://github.com/google-gemini/gemini-cli/pull/29252) by
35
+ @SandyTao520).
36
+
21
37
  ## Announcements: v0.60.0 - 2026-09-15
22
38
 
23
39
  - **Extension & Tool Safety Hardening:** Prompt for user consent on environment
@@ -1,6 +1,6 @@
1
- # Latest stable release: v0.60.0
1
+ # Latest stable release: v0.61.0
2
2
 
3
- Released: September 15, 2026
3
+ Released: September 23, 2026
4
4
 
5
5
  For most users, our latest stable release is the recommended release. Install
6
6
  the latest stable version with:
@@ -11,62 +11,41 @@ npm install -g @google/gemini-cli
11
11
 
12
12
  ## Highlights
13
13
 
14
- - **Extension Consent & Isolation:** Introduced explicit prompting for user
15
- consent on environment changes requested by extensions, along with
16
- sanitization of runtime-altering environment variables to ensure secure
17
- execution environments.
18
- - **Sandbox & Directory Hardening:** Isolated the settings directory and
19
- temporary directories within sandbox containers, including specific path
20
- isolation enhancements for the macOS Seatbelt sandbox.
21
- - **Robust Boundary & Path Resolution:** Hardened workspace boundary validation,
22
- symlink resolution, and NTFS 8.3 short name (SFN) path mitigation across
23
- command safety and file discovery utilities.
24
- - **Enhanced API & Connection Security:** Implemented strict RFC 9207 issuer
25
- identification in the Model Context Protocol (MCP) OAuth flow, along with
26
- improved destination validation and connection routing inside web fetch
27
- utilities.
14
+ - **Prompt Injection Defense:** Enhanced security by preventing indirect prompt
15
+ injection attacks through build file modifications and untrusted command
16
+ flags.
17
+ - **Sandbox & State Hardening:** Hardened filesystem boundaries and isolated
18
+ internal runtime state to ensure more secure execution environments.
19
+ - **Agent Loop Robustness:** Guaranteed that internal state properties within
20
+ `AgentLoopContext` are fully preserved during object spread operations,
21
+ improving agent reliability.
22
+ - **Versioned Model Preserves:** Ensured explicit versioned Flash model IDs are
23
+ correctly preserved and used directly during routing and execution.
28
24
 
29
25
  ## What's Changed
30
26
 
31
- - fix(core): improve destination validation and connection routing in web fetch
32
- utilities by @diegogodinezr in
33
- [#29120](https://github.com/google-gemini/gemini-cli/pull/29120)
34
- - fix(core): enforce RFC 9207 issuer identification in MCP OAuth flow by
35
- @jvargassanchez-dot in
36
- [#29117](https://github.com/google-gemini/gemini-cli/pull/29117)
37
- - chore(release): bump version to 0.60.0-nightly.20260901.g0bd1d4397 by
27
+ - Changelog for v0.60.0-preview.0 by @gemini-cli-robot in
28
+ [#29251](https://github.com/google-gemini/gemini-cli/pull/29251)
29
+ - chore(release): bump version to 0.61.0-nightly.20260908.gc647533d6 by
38
30
  @gemini-cli-robot in
39
- [#29162](https://github.com/google-gemini/gemini-cli/pull/29162)
40
- - Changelog for v0.58.0 by @gemini-cli-robot in
41
- [#29161](https://github.com/google-gemini/gemini-cli/pull/29161)
42
- - fix(cli): isolate temporary directory for macOS Seatbelt sandbox by
43
- @jvargassanchez-dot in
44
- [#29171](https://github.com/google-gemini/gemini-cli/pull/29171)
45
- - feat(extensions): harden path resolution and boundary validation in extension
46
- loader by @diegogodinezr in
47
- [#29169](https://github.com/google-gemini/gemini-cli/pull/29169)
48
- - Changelog for v0.59.0-preview.0 by @gemini-cli-robot in
49
- [#29159](https://github.com/google-gemini/gemini-cli/pull/29159)
50
- - fix(core): sanitize and remove hardcoded Google CrUX API key in
51
- chrome-devtools-mcp by @amelidev in
52
- [#29158](https://github.com/google-gemini/gemini-cli/pull/29158)
53
- - fix(extensions): prompt for consent on environment changes and sanitize
54
- runtime-altering environment variables by @amelidev in
55
- [#28863](https://github.com/google-gemini/gemini-cli/pull/28863)
56
- - fix(core): enhance workspace path boundary checks and symlink resolution in
57
- command safety and file discovery by @jesussamuel-byte in
58
- [#29170](https://github.com/google-gemini/gemini-cli/pull/29170)
59
- - fix(config): enforce strict permission and ownership checks on system-wide
60
- configuration paths by @jesussamuel-byte in
61
- [#29115](https://github.com/google-gemini/gemini-cli/pull/29115)
62
- - fix(core): mitigate NTFS 8.3 short name (SFN) path by @urielefrenvirtusa in
63
- [#29116](https://github.com/google-gemini/gemini-cli/pull/29116)
64
- - fix(cli): isolate settings directory in sandbox containers by
65
- @jvargassanchez-dot in
66
- [#29216](https://github.com/google-gemini/gemini-cli/pull/29216)
67
- - fix(core): enforce envelope metadata provenance for untrusted tool outputs by
68
- @luisfelipe-alt in
69
- [#29215](https://github.com/google-gemini/gemini-cli/pull/29215)
31
+ [#29254](https://github.com/google-gemini/gemini-cli/pull/29254)
32
+ - Changelog for v0.59.0 by @gemini-cli-robot in
33
+ [#29253](https://github.com/google-gemini/gemini-cli/pull/29253)
34
+ - fix(core): preserve explicit versioned Flash model IDs by @SandyTao520 in
35
+ [#29252](https://github.com/google-gemini/gemini-cli/pull/29252)
36
+ - fix(core): prevent indirect prompt injection via build file modifications and
37
+ untrusted flags by @villahernandez-coder in
38
+ [#29250](https://github.com/google-gemini/gemini-cli/pull/29250)
39
+ - fix(sandbox): harden filesystem boundaries and isolate runtime state by
40
+ @diegogodinezr in
41
+ [#29214](https://github.com/google-gemini/gemini-cli/pull/29214)
42
+ - fix(core): ensure AgentLoopContext properties are preserved across object
43
+ spread by @diegogodinezr in
44
+ [#29335](https://github.com/google-gemini/gemini-cli/pull/29335)
45
+ - fix(patch): cherry-pick 62364cb to release/v0.61.0-preview.0-pr-29443 to patch
46
+ version v0.61.0-preview.0 and create version 0.61.0-preview.1 by
47
+ @gemini-cli-robot in
48
+ [#29455](https://github.com/google-gemini/gemini-cli/pull/29455)
70
49
 
71
50
  **Full Changelog**:
72
- https://github.com/google-gemini/gemini-cli/compare/v0.59.0...v0.60.0
51
+ https://github.com/google-gemini/gemini-cli/compare/v0.60.0...v0.61.0
@@ -1,6 +1,6 @@
1
- # Preview release: v0.61.0-preview.0
1
+ # Preview release: v0.62.0-preview.0
2
2
 
3
- Released: September 15, 2026
3
+ Released: September 23, 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,37 +13,73 @@ npm install -g @google/gemini-cli@preview
13
13
 
14
14
  ## Highlights
15
15
 
16
- - **Sandbox Isolation**: Enhanced filesystem boundaries and isolated runtime
17
- state within the sandbox environments to restrict untrusted execution.
18
- - **Prompt Injection Defense**: Prevented potential indirect prompt injection
19
- vulnerabilities related to build file modifications and untrusted command
20
- flags.
21
- - **Flash Model ID Preservation**: Fixed core logic to properly preserve
22
- explicit, versioned Flash model IDs without overriding them.
23
- - **Agent Loop Reliability**: Resolved an issue where crucial `AgentLoopContext`
24
- properties were discarded during object spread, stabilizing the main agent
25
- loop.
16
+ - **New Model Support**: Added support for Gemini 3.8 Flash and 3.5 Flash Lite
17
+ models, expanding the selection of available models.
18
+ - **MCP Tool Call Formatting**: Improved Model Context Protocol (ACP/MCP)
19
+ interactions by formatting tool call titles as structured signatures and
20
+ separating explanations.
21
+ - **PTY & Process Lifecycle Hardening**: Hardened Pseudo-Terminal (PTY)
22
+ execution, improving file descriptor cleanup, exit synchronization on ConPTY,
23
+ and finalization of terminal output.
24
+ - **Memory & Reliability Refinements**: Refined terminal buffer memory
25
+ management, preserved OAuth refresh tokens during credential refresh, and
26
+ added layout dimension guarding in the UI border rendering.
26
27
 
27
28
  ## What's Changed
28
29
 
29
- - Changelog for v0.60.0-preview.0 by @gemini-cli-robot in
30
- [#29251](https://github.com/google-gemini/gemini-cli/pull/29251)
31
- - chore(release): bump version to 0.61.0-nightly.20260908.gc647533d6 by
30
+ - fix(a2a-server): add early return on unsupported store in tasks metadata
31
+ endpoint by @jesussamuel-byte in
32
+ [#29334](https://github.com/google-gemini/gemini-cli/pull/29334)
33
+ - Changelog for v0.61.0-preview.0 by @gemini-cli-robot in
34
+ [#29344](https://github.com/google-gemini/gemini-cli/pull/29344)
35
+ - Changelog for v0.60.0 by @gemini-cli-robot in
36
+ [#29345](https://github.com/google-gemini/gemini-cli/pull/29345)
37
+ - fix(core,acp): format MCP tool call titles as structured signatures and
38
+ segregate explanations by @jvargassanchez-dot in
39
+ [#29341](https://github.com/google-gemini/gemini-cli/pull/29341)
40
+ - chore(release): bump version to 0.62.0-nightly.20260915.gae28844fb by
32
41
  @gemini-cli-robot in
33
- [#29254](https://github.com/google-gemini/gemini-cli/pull/29254)
34
- - Changelog for v0.59.0 by @gemini-cli-robot in
35
- [#29253](https://github.com/google-gemini/gemini-cli/pull/29253)
36
- - fix(core): preserve explicit versioned Flash model IDs by @SandyTao520 in
37
- [#29252](https://github.com/google-gemini/gemini-cli/pull/29252)
38
- - fix(core): prevent indirect prompt injection via build file modifications and
39
- untrusted flags by @villahernandez-coder in
40
- [#29250](https://github.com/google-gemini/gemini-cli/pull/29250)
41
- - fix(sandbox): harden filesystem boundaries and isolate runtime state by
42
+ [#29346](https://github.com/google-gemini/gemini-cli/pull/29346)
43
+ - fix(core): retain oauth refresh token on refresh and make credential deletion
44
+ idempotent by @villahernandez-coder in
45
+ [#29339](https://github.com/google-gemini/gemini-cli/pull/29339)
46
+ - fix(ui): guard against negative layout dimensions in border rendering by
42
47
  @diegogodinezr in
43
- [#29214](https://github.com/google-gemini/gemini-cli/pull/29214)
44
- - fix(core): ensure AgentLoopContext properties are preserved across object
45
- spread by @diegogodinezr in
46
- [#29335](https://github.com/google-gemini/gemini-cli/pull/29335)
48
+ [#29347](https://github.com/google-gemini/gemini-cli/pull/29347)
49
+ - test(integration): deflake run_shell_command and file-system-interactive tests
50
+ by @DavidAPierce in
51
+ [#29185](https://github.com/google-gemini/gemini-cli/pull/29185)
52
+ - fix(core): improve PTY file descriptor cleanup and execution lifecycle
53
+ management by @jesussamuel-byte in
54
+ [#29340](https://github.com/google-gemini/gemini-cli/pull/29340)
55
+ - chore/release: bump version to 0.62.0-nightly.20260918.g9450ade79 by
56
+ @gemini-cli-robot in
57
+ [#29383](https://github.com/google-gemini/gemini-cli/pull/29383)
58
+ - fix(core): synchronize ConPTY process exit lifecycle and harden PTY output
59
+ finalization by @jvargassanchez-dot in
60
+ [#29379](https://github.com/google-gemini/gemini-cli/pull/29379)
61
+ - fix(cli): suppress uncaught AbortError logs during request cancellation by
62
+ @urielefrenvirtusa in
63
+ [#29343](https://github.com/google-gemini/gemini-cli/pull/29343)
64
+ - fix(core,cli): improve terminal buffer memory management and format Windows
65
+ diagnostic paths by @jesussamuel-byte in
66
+ [#29380](https://github.com/google-gemini/gemini-cli/pull/29380)
67
+ - fix(vscode-ide-companion): preserve terminal focus when closing diff tabs by
68
+ @amelidev in [#29378](https://github.com/google-gemini/gemini-cli/pull/29378)
69
+ - fix(core): update auth error documentation link to valid anchor and add
70
+ fallback (#26140) by @villahernandez-coder in
71
+ [#29377](https://github.com/google-gemini/gemini-cli/pull/29377)
72
+ - fix(core): normalize proxy-agent esbuild interop for environment proxy
73
+ resolution by @diegogodinezr in
74
+ [#29401](https://github.com/google-gemini/gemini-cli/pull/29401)
75
+ - fix(cli): emit tool_call update prior to request_permission in ACP mode by
76
+ @urielefrenvirtusa in
77
+ [#29439](https://github.com/google-gemini/gemini-cli/pull/29439)
78
+ - Feat/gemini 3.8 flash 3.5 flash lite by @DavidAPierce in
79
+ [#29443](https://github.com/google-gemini/gemini-cli/pull/29443)
80
+ - Check for vsc integration test presence when attempting to run. by
81
+ @DavidAPierce in
82
+ [#29462](https://github.com/google-gemini/gemini-cli/pull/29462)
47
83
 
48
84
  **Full Changelog**:
49
- https://github.com/google-gemini/gemini-cli/compare/v0.60.0-preview.0...v0.61.0-preview.0
85
+ https://github.com/google-gemini/gemini-cli/compare/v0.61.0-preview.1...v0.62.0-preview.0
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  startCommand,
4
4
  startServer
5
- } from "./chunk-DSHGGNYE.js";
5
+ } from "./chunk-DQIFLHPX.js";
6
6
  import {
7
7
  BuiltinCommandLoader,
8
8
  CommandService,
@@ -46,11 +46,11 @@ import {
46
46
  updateExtension,
47
47
  validateAuthMethod,
48
48
  validateContextFilePath
49
- } from "./chunk-UDX2JG4X.js";
49
+ } from "./chunk-UGKG4OIB.js";
50
50
  import {
51
51
  exitCli,
52
52
  require_source
53
- } from "./chunk-ZNLZV6KB.js";
53
+ } from "./chunk-GCXBFYJK.js";
54
54
  import {
55
55
  appEvents
56
56
  } from "./chunk-5PS3AYFU.js";
@@ -88,11 +88,11 @@ import {
88
88
  resolveGemmaConfig,
89
89
  saveModelChange,
90
90
  stripAnsi
91
- } from "./chunk-7P7I4GYC.js";
91
+ } from "./chunk-2HPN5QAH.js";
92
92
  import {
93
93
  RELAUNCH_EXIT_CODE
94
- } from "./chunk-UVWRONOW.js";
95
- import "./chunk-UCTTKDYX.js";
94
+ } from "./chunk-QO5HKIZU.js";
95
+ import "./chunk-JBO7A25S.js";
96
96
  import {
97
97
  cleanupCheckpoints,
98
98
  registerCleanup,
@@ -101,7 +101,7 @@ import {
101
101
  runExitCleanup,
102
102
  runSyncCleanup,
103
103
  setupSignalHandlers
104
- } from "./chunk-FX7H3YXM.js";
104
+ } from "./chunk-JRB2XGR5.js";
105
105
  import {
106
106
  ASK_USER_TOOL_NAME,
107
107
  ApprovalMode,
@@ -255,7 +255,7 @@ import {
255
255
  updatePolicy,
256
256
  writeToStderr,
257
257
  writeToStdout
258
- } from "./chunk-7LRWECUM.js";
258
+ } from "./chunk-R2KYUMIM.js";
259
259
  import "./chunk-664ZODQF.js";
260
260
  import "./chunk-IUUIT4SU.js";
261
261
  import "./chunk-L6PII3GR.js";
@@ -7855,7 +7855,7 @@ async function loadSandboxConfig(settings, argv) {
7855
7855
  }
7856
7856
  const command2 = getSandboxCommand(sandboxValue);
7857
7857
  const packageJson = await getPackageJson(__dirname3);
7858
- const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.62.0-preview.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7858
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.63.0-nightly.20260926.g2fe7c2d3f" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7859
7859
  const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
7860
7860
  return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
7861
7861
  }
@@ -11526,7 +11526,7 @@ async function runNonInteractive({
11526
11526
  }
11527
11527
  });
11528
11528
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
11529
- const { setupInitialActivityLogger } = await import("./devtoolsService-WDMSDVS7.js");
11529
+ const { setupInitialActivityLogger } = await import("./devtoolsService-3DTEOSCQ.js");
11530
11530
  setupInitialActivityLogger(config);
11531
11531
  }
11532
11532
  const { stdout: workingStdout } = createWorkingStdio();
@@ -12036,7 +12036,7 @@ async function runNonInteractive2(params) {
12036
12036
  }
12037
12037
  });
12038
12038
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
12039
- const { setupInitialActivityLogger } = await import("./devtoolsService-WDMSDVS7.js");
12039
+ const { setupInitialActivityLogger } = await import("./devtoolsService-3DTEOSCQ.js");
12040
12040
  setupInitialActivityLogger(config);
12041
12041
  }
12042
12042
  const { stdout: workingStdout } = createWorkingStdio();
@@ -16421,7 +16421,7 @@ var AcpSessionManager = class {
16421
16421
  startupProfiler.flush(config);
16422
16422
  startAutoMemoryIfEnabled(config);
16423
16423
  const geminiClient = config.getGeminiClient();
16424
- const chat = await geminiClient.startChat();
16424
+ const chat = geminiClient.isInitialized?.() ? geminiClient.getChat() : await geminiClient.startChat();
16425
16425
  const session = new Session(
16426
16426
  sessionId,
16427
16427
  chat,
@@ -16451,17 +16451,20 @@ var AcpSessionManager = class {
16451
16451
  return response;
16452
16452
  }
16453
16453
  async loadSession({ sessionId, cwd, mcpServers }, authDetails) {
16454
- const config = await this.initializeSessionConfig(
16454
+ const config = await this.prepareSessionConfig(
16455
16455
  sessionId,
16456
16456
  cwd,
16457
16457
  mcpServers,
16458
16458
  authDetails
16459
16459
  );
16460
+ await config.storage?.initialize?.();
16460
16461
  const sessionSelector = new SessionSelector(config.storage);
16461
16462
  const { sessionData, sessionPath } = await sessionSelector.resolveSession(sessionId);
16463
+ await config.initialize();
16464
+ startupProfiler.flush(config);
16465
+ startAutoMemoryIfEnabled(config);
16462
16466
  const clientHistory = convertSessionToClientHistory(sessionData.messages);
16463
16467
  const geminiClient = config.getGeminiClient();
16464
- await geminiClient.initialize();
16465
16468
  await geminiClient.resumeChat(clientHistory, {
16466
16469
  conversation: sessionData,
16467
16470
  filePath: sessionPath
@@ -16498,7 +16501,7 @@ var AcpSessionManager = class {
16498
16501
  };
16499
16502
  return response;
16500
16503
  }
16501
- async initializeSessionConfig(sessionId, cwd, mcpServers, authDetails) {
16504
+ async prepareSessionConfig(sessionId, cwd, mcpServers, authDetails) {
16502
16505
  const selectedAuthType = this.settings.merged.security.auth.selectedType || (authDetails.baseUrl || process.env["GOOGLE_GEMINI_BASE_URL"] ? AuthType.GATEWAY : void 0);
16503
16506
  if (!selectedAuthType) {
16504
16507
  throw RequestError.authRequired();
@@ -16525,9 +16528,6 @@ var AcpSessionManager = class {
16525
16528
  );
16526
16529
  config.setFileSystemService(acpFileSystemService);
16527
16530
  }
16528
- await config.initialize();
16529
- startupProfiler.flush(config);
16530
- startAutoMemoryIfEnabled(config);
16531
16531
  return config;
16532
16532
  }
16533
16533
  async newSessionConfig(sessionId, cwd, mcpServers, loadedSettings) {
@@ -17347,7 +17347,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
17347
17347
  }
17348
17348
  }
17349
17349
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
17350
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-TLTKI2C4.js");
17350
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-MHB4B6S7.js");
17351
17351
  await doStartUI(
17352
17352
  config,
17353
17353
  settings,
@@ -17556,7 +17556,7 @@ ${finalArgs[promptIndex + 1]}`;
17556
17556
  await config.storage.initialize();
17557
17557
  adminControlsListner.setConfig(config);
17558
17558
  if (config.isInteractive() && settings.merged.general.devtools) {
17559
- const { setupInitialActivityLogger } = await import("./devtoolsService-WDMSDVS7.js");
17559
+ const { setupInitialActivityLogger } = await import("./devtoolsService-3DTEOSCQ.js");
17560
17560
  setupInitialActivityLogger(config);
17561
17561
  }
17562
17562
  registerTelemetryConfig(config);
@@ -17615,7 +17615,7 @@ ${finalArgs[promptIndex + 1]}`;
17615
17615
  const initAppHandle = startupProfiler.start("initialize_app");
17616
17616
  const initializationResult = await initializeApp(config, settings);
17617
17617
  initAppHandle?.end();
17618
- import("./liteRtServerManager-T2GG72NW.js").then(({ LiteRtServerManager }) => {
17618
+ import("./liteRtServerManager-5LUGQWRF.js").then(({ LiteRtServerManager }) => {
17619
17619
  const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
17620
17620
  if (!mergedGemma) return;
17621
17621
  const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;