@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.
- package/bundle/{chunk-VNI6B2SC.js → chunk-2AXHER6I.js} +1 -1
- package/bundle/{chunk-7P7I4GYC.js → chunk-2HPN5QAH.js} +1 -1
- package/bundle/{chunk-67JFSAOI.js → chunk-4PBNRKYJ.js} +8 -5
- package/bundle/{chunk-UDX2JG4X.js → chunk-4SQTLFVK.js} +45 -11
- package/bundle/chunk-5OA4MZUE.js +17368 -0
- package/bundle/{chunk-ZOLMIYBF.js → chunk-A6CY66PY.js} +109 -62
- package/bundle/{chunk-IP26BEPK.js → chunk-BMW3TCBN.js} +1 -1
- package/bundle/{chunk-X3MDVQ2M.js → chunk-C2KZGMGL.js} +1 -1
- package/bundle/{chunk-DSHGGNYE.js → chunk-DQIFLHPX.js} +3 -3
- package/bundle/{chunk-QE6MNPCN.js → chunk-EATZTV2L.js} +45 -11
- package/bundle/{chunk-UCTTKDYX.js → chunk-EYGY6SJV.js} +1 -1
- package/bundle/{chunk-ZNLZV6KB.js → chunk-GCXBFYJK.js} +1 -1
- package/bundle/{chunk-4B6A2PDH.js → chunk-JBO7A25S.js} +9 -8
- package/bundle/{chunk-FX7H3YXM.js → chunk-JRB2XGR5.js} +1 -1
- package/bundle/{chunk-2MIF7TLR.js → chunk-KRI5JA76.js} +680 -165
- package/bundle/{chunk-RQBLUWGO.js → chunk-PAIQESPE.js} +3 -3
- package/bundle/{chunk-IZ7EEAUQ.js → chunk-QO5HKIZU.js} +2 -2
- package/bundle/{chunk-HCJU65X4.js → chunk-QX7M3XMQ.js} +3 -3
- package/bundle/{chunk-7LRWECUM.js → chunk-R2KYUMIM.js} +612 -158
- package/bundle/{chunk-KYWRBXUN.js → chunk-RCREII42.js} +2 -2
- package/bundle/{chunk-4SYYS7FT.js → chunk-RFR5KZGU.js} +1 -1
- package/bundle/chunk-SCOXV26L.js +118 -0
- package/bundle/{chunk-UVWRONOW.js → chunk-SJFSOFYJ.js} +2 -2
- package/bundle/chunk-SZK5XAFL.js +398 -0
- package/bundle/chunk-T7LJ6AR4.js +512 -0
- package/bundle/{chunk-YHJCOL52.js → chunk-TXWIPUPY.js} +8372 -14832
- package/bundle/chunk-UFNI7OME.js +400484 -0
- package/bundle/chunk-UGKG4OIB.js +102951 -0
- package/bundle/chunk-VAGYZO4R.js +1571 -0
- package/bundle/{chunk-LXVOSY26.js → chunk-VNGBTT2C.js} +1 -1
- package/bundle/{chunk-ZXPUBJYD.js → chunk-ZAM747AR.js} +1 -1
- package/bundle/chunk-ZV5QN465.js +154 -0
- package/bundle/{cleanup-FHA2KSXH.js → cleanup-33SXPBZY.js} +2 -2
- package/bundle/{cleanup-HY2KJG6D.js → cleanup-6IDD7Q3X.js} +2 -2
- package/bundle/{cleanup-UNKT2DM4.js → cleanup-7UL3PRLF.js} +2 -2
- package/bundle/cleanup-ZMIILI4I.js +32 -0
- package/bundle/{core-FGYHAZ6H.js → core-IIFMZU4H.js} +11 -1
- package/bundle/{devtoolsService-WDMSDVS7.js → devtoolsService-3DTEOSCQ.js} +2 -2
- package/bundle/{devtoolsService-2RNXWTDT.js → devtoolsService-AK7UU2FI.js} +2 -2
- package/bundle/{devtoolsService-FYN3P465.js → devtoolsService-BHWAPOMO.js} +4 -3
- package/bundle/devtoolsService-REQSIEPU.js +4359 -0
- package/bundle/{dist-42YIZWSU.js → dist-4S434TWJ.js} +11 -1
- package/bundle/{core-CYZFUAYU.js → dist-6CWFFN6Z.js} +11 -1
- package/bundle/dist-I74UZ4GA.js +2248 -0
- package/bundle/docs/changelogs/index.md +16 -0
- package/bundle/docs/changelogs/latest.md +34 -55
- package/bundle/docs/changelogs/preview.md +65 -29
- package/bundle/{gemini-H6C5T6NZ.js → gemini-3326ZSFC.js} +21 -21
- package/bundle/{gemini-5VI65FOO.js → gemini-I47O5YI2.js} +221 -205
- package/bundle/{gemini-DRDYGTKK.js → gemini-PGIEQLQD.js} +21 -21
- package/bundle/gemini-YJG7YFT4.js +17863 -0
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-TLTKI2C4.js → interactiveCli-A6SNZNGC.js} +31 -14
- package/bundle/{interactiveCli-SOVSAZ32.js → interactiveCli-JF6LE6RN.js} +334 -298
- package/bundle/{interactiveCli-KSL5ASTL.js → interactiveCli-JLFFVRVY.js} +31 -14
- package/bundle/interactiveCli-MHB4B6S7.js +34907 -0
- package/bundle/{liteRtServerManager-KO56TKLF.js → liteRtServerManager-4LVWWKUV.js} +4 -4
- package/bundle/{liteRtServerManager-T2GG72NW.js → liteRtServerManager-5LUGQWRF.js} +4 -4
- package/bundle/{liteRtServerManager-2CCV35OQ.js → liteRtServerManager-DVDNFJNH.js} +4 -4
- package/bundle/liteRtServerManager-FWIPKCGI.js +65 -0
- package/bundle/{oauth2-provider-TBQ7JUDB.js → oauth2-provider-IBKEWCFT.js} +1 -1
- package/bundle/{oauth2-provider-UY26FDAA.js → oauth2-provider-KPLVYPVA.js} +1 -1
- package/bundle/{oauth2-provider-BSRUMVCL.js → oauth2-provider-MTCBHRXI.js} +38 -72
- package/bundle/oauth2-provider-TDMWN5ME.js +235 -0
- package/bundle/{start-NGSQCGCK.js → start-2A3VVOAH.js} +6 -6
- package/bundle/{start-RUS2QGZK.js → start-665BHOTS.js} +6 -6
- package/bundle/{start-GCXJMSER.js → start-6PINHVUA.js} +6 -6
- package/bundle/start-DXGEU2SK.js +18 -0
- 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.
|
|
1
|
+
# Latest stable release: v0.61.0
|
|
2
2
|
|
|
3
|
-
Released: September
|
|
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
|
-
- **
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
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
|
-
[#
|
|
40
|
-
- Changelog for v0.
|
|
41
|
-
[#
|
|
42
|
-
- fix(
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
[#
|
|
50
|
-
- fix(core):
|
|
51
|
-
|
|
52
|
-
[#
|
|
53
|
-
- fix(
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
-
|
|
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.
|
|
51
|
+
https://github.com/google-gemini/gemini-cli/compare/v0.60.0...v0.61.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# Preview release: v0.
|
|
1
|
+
# Preview release: v0.62.0-preview.0
|
|
2
2
|
|
|
3
|
-
Released: September
|
|
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
|
-
- **
|
|
17
|
-
|
|
18
|
-
- **
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
- **
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
-
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
-
[#
|
|
34
|
-
-
|
|
35
|
-
|
|
36
|
-
-
|
|
37
|
-
|
|
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
|
-
[#
|
|
44
|
-
-
|
|
45
|
-
|
|
46
|
-
[#
|
|
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.
|
|
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-
|
|
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-
|
|
49
|
+
} from "./chunk-UGKG4OIB.js";
|
|
50
50
|
import {
|
|
51
51
|
exitCli,
|
|
52
52
|
require_source
|
|
53
|
-
} from "./chunk-
|
|
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-
|
|
91
|
+
} from "./chunk-2HPN5QAH.js";
|
|
92
92
|
import {
|
|
93
93
|
RELAUNCH_EXIT_CODE
|
|
94
|
-
} from "./chunk-
|
|
95
|
-
import "./chunk-
|
|
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-
|
|
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-
|
|
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.
|
|
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-
|
|
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-
|
|
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.
|
|
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
|
|
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-
|
|
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-
|
|
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-
|
|
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;
|