@google/gemini-cli 0.52.0 → 0.53.0-preview.0
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-BG2B4WV5.js → chunk-27C6XFMY.js} +184 -87
- package/bundle/{chunk-24R3JJRB.js → chunk-4OVORMGE.js} +1 -1
- package/bundle/{chunk-7LQRUKPT.js → chunk-5RDOS7UZ.js} +168 -81
- package/bundle/{chunk-P4IYYRKC.js → chunk-6AD4A2WF.js} +1 -1
- package/bundle/{chunk-ILANJJAD.js → chunk-7VUO7T2C.js} +3 -3
- package/bundle/{chunk-UB6EWNWI.js → chunk-BDSSP5BZ.js} +1 -1
- package/bundle/{chunk-ZLL3UXFN.js → chunk-BRZT2CQU.js} +1 -1
- package/bundle/{chunk-Y5NBDPUP.js → chunk-BX6DTJOD.js} +1 -1
- package/bundle/{chunk-B54TROKV.js → chunk-CTNBR234.js} +2 -2
- package/bundle/{chunk-F7WLNK6O.js → chunk-GHVD6PXK.js} +1 -1
- package/bundle/{chunk-IQDAUFS5.js → chunk-HF533LET.js} +184 -87
- package/bundle/{chunk-6Z2GQGII.js → chunk-HVYOZEAP.js} +3 -3
- package/bundle/{chunk-SZMWXEEI.js → chunk-IODN6H35.js} +1 -1
- package/bundle/{chunk-ZINRZXUN.js → chunk-LUM47MYE.js} +1 -1
- package/bundle/{chunk-JB342GRK.js → chunk-PKFZO3SN.js} +1 -1
- package/bundle/{chunk-FBGJOW3X.js → chunk-PLMRBJEA.js} +2 -2
- package/bundle/{chunk-OFOMMM4A.js → chunk-PVCJCQWY.js} +1 -1
- package/bundle/{chunk-SNUSRD5O.js → chunk-QSTUV3QH.js} +7 -7
- package/bundle/{chunk-RHQ5RWRW.js → chunk-SLQKIE73.js} +1 -1
- package/bundle/{chunk-SDT3SMSX.js → chunk-SXKIOLLX.js} +7 -7
- package/bundle/{chunk-PTIIH33O.js → chunk-UEI42N7R.js} +3 -3
- package/bundle/{chunk-THWSXFSH.js → chunk-UJVAPQ7V.js} +1 -1
- package/bundle/{chunk-ZNHHIFQN.js → chunk-WVDR5L2V.js} +7 -7
- package/bundle/{chunk-ALVMXQYL.js → chunk-XH7QC2TB.js} +2 -2
- package/bundle/{cleanup-2EKCP4Q4.js → cleanup-4FVUYQ7H.js} +2 -2
- package/bundle/{cleanup-G4HKUFT2.js → cleanup-XETKRH7X.js} +2 -2
- package/bundle/{cleanup-X3KOZTUK.js → cleanup-ZR34H2GU.js} +2 -2
- package/bundle/{core-ZIYDWN4V.js → core-I73XKBPY.js} +3 -1
- package/bundle/{dist-WD2ZO2DC.js → core-PVG4D2MR.js} +3 -1
- package/bundle/{devtoolsService-KJJEIBQ2.js → devtoolsService-IVPTF5ZJ.js} +2 -2
- package/bundle/{devtoolsService-UB2E5377.js → devtoolsService-OUX7PWP3.js} +2 -2
- package/bundle/{devtoolsService-NFNYJGMS.js → devtoolsService-QYDPHHFN.js} +2 -2
- package/bundle/{core-JDFTBJXX.js → dist-PRJQFPSQ.js} +3 -1
- package/bundle/docs/CONTRIBUTING.md +3 -3
- package/bundle/docs/cli/sandbox.md +3 -2
- package/bundle/docs/reference/configuration.md +4 -4
- package/bundle/{gemini-Y4OW3GPV.js → gemini-E2E3U6PR.js} +14 -14
- package/bundle/{gemini-6K6USV55.js → gemini-LA6TNI44.js} +14 -14
- package/bundle/{gemini-NJ7GQJ2G.js → gemini-QKB55UV6.js} +14 -14
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-NNJDT7RS.js → interactiveCli-ADLAWPXN.js} +8 -8
- package/bundle/{interactiveCli-3B23G3WW.js → interactiveCli-FS3OVPXQ.js} +8 -8
- package/bundle/{interactiveCli-3XBP73G4.js → interactiveCli-OD2LO24X.js} +8 -8
- package/bundle/{liteRtServerManager-MQS4LI5P.js → liteRtServerManager-3SKK7MNE.js} +4 -4
- package/bundle/{liteRtServerManager-PYCXZRAL.js → liteRtServerManager-O7PFOUFD.js} +4 -4
- package/bundle/{liteRtServerManager-A77B57ZY.js → liteRtServerManager-T2Z3RLS3.js} +4 -4
- package/bundle/{oauth2-provider-6EE3JV6M.js → oauth2-provider-DFVE3NYF.js} +1 -1
- package/bundle/{oauth2-provider-5JL2PKRR.js → oauth2-provider-E3S5DGLL.js} +1 -1
- package/bundle/{oauth2-provider-THDZ27ZX.js → oauth2-provider-Q433RA6I.js} +1 -1
- package/bundle/sandbox-macos-permissive-open.sb +113 -4
- package/bundle/sandbox-macos-permissive-proxied.sb +111 -9
- package/bundle/{start-SV5TPWOH.js → start-3FPYJBRX.js} +6 -6
- package/bundle/{start-YON746V5.js → start-5G2UDZZ6.js} +6 -6
- package/bundle/{start-K5QQG7K4.js → start-XMJ23QZN.js} +6 -6
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
exitCli,
|
|
4
4
|
require_source
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4OVORMGE.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_PORT,
|
|
8
8
|
SERVER_START_WAIT_MS,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
isServerRunning,
|
|
15
15
|
resolveGemmaConfig,
|
|
16
16
|
writeServerProcessInfo
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IODN6H35.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-27C6XFMY.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
2
|
import {
|
|
3
3
|
runExitCleanup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BX6DTJOD.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
exitCli,
|
|
4
4
|
require_source
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SLQKIE73.js";
|
|
6
6
|
import {
|
|
7
7
|
AppEvent,
|
|
8
8
|
appEvents
|
|
@@ -59,14 +59,14 @@ import {
|
|
|
59
59
|
stripUnsafeCharacters,
|
|
60
60
|
toCodePoints,
|
|
61
61
|
validateCustomTheme
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-6AD4A2WF.js";
|
|
63
63
|
import {
|
|
64
64
|
isDevelopment
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-CTNBR234.js";
|
|
66
66
|
import {
|
|
67
67
|
emptyIcon,
|
|
68
68
|
require_react
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-GHVD6PXK.js";
|
|
70
70
|
import {
|
|
71
71
|
ALL_EDITORS,
|
|
72
72
|
ApprovalMode,
|
|
@@ -230,7 +230,7 @@ import {
|
|
|
230
230
|
tokenLimit,
|
|
231
231
|
uiTelemetryService,
|
|
232
232
|
unescapePath
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-HF533LET.js";
|
|
234
234
|
import {
|
|
235
235
|
require_src
|
|
236
236
|
} from "./chunk-TUDYL3X4.js";
|
|
@@ -77163,7 +77163,7 @@ var authCommand = {
|
|
|
77163
77163
|
import process29 from "node:process";
|
|
77164
77164
|
|
|
77165
77165
|
// packages/cli/src/generated/git-commit.ts
|
|
77166
|
-
var GIT_COMMIT_INFO = "
|
|
77166
|
+
var GIT_COMMIT_INFO = "9681621c6";
|
|
77167
77167
|
|
|
77168
77168
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
77169
77169
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -82944,7 +82944,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
82944
82944
|
type: "info",
|
|
82945
82945
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
82946
82946
|
});
|
|
82947
|
-
const { MCPOAuthProvider } = await import("./core-
|
|
82947
|
+
const { MCPOAuthProvider } = await import("./core-I73XKBPY.js");
|
|
82948
82948
|
let oauthConfig = server.oauth;
|
|
82949
82949
|
if (!oauthConfig) {
|
|
82950
82950
|
oauthConfig = { enabled: false };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
2
|
import {
|
|
3
3
|
runExitCleanup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PKFZO3SN.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-27C6XFMY.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-PVCJCQWY.js";
|
|
15
|
+
import "./chunk-HF533LET.js";
|
|
16
16
|
import "./chunk-664ZODQF.js";
|
|
17
17
|
import "./chunk-IUUIT4SU.js";
|
|
18
18
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-PKFZO3SN.js";
|
|
15
|
+
import "./chunk-27C6XFMY.js";
|
|
16
16
|
import "./chunk-664ZODQF.js";
|
|
17
17
|
import "./chunk-IUUIT4SU.js";
|
|
18
18
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-BX6DTJOD.js";
|
|
15
|
+
import "./chunk-5RDOS7UZ.js";
|
|
16
16
|
import "./chunk-664ZODQF.js";
|
|
17
17
|
import "./chunk-IUUIT4SU.js";
|
|
18
18
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -557,6 +557,7 @@ import {
|
|
|
557
557
|
cloneFunctionCall,
|
|
558
558
|
cloneFunctionResponse,
|
|
559
559
|
clonePart,
|
|
560
|
+
coalesceConsecutiveRoles,
|
|
560
561
|
computeModelAddedAndRemovedLines,
|
|
561
562
|
concatenateInstructions,
|
|
562
563
|
connectAndDiscover,
|
|
@@ -1069,7 +1070,7 @@ import {
|
|
|
1069
1070
|
wrapUntrusted,
|
|
1070
1071
|
writeToStderr,
|
|
1071
1072
|
writeToStdout
|
|
1072
|
-
} from "./chunk-
|
|
1073
|
+
} from "./chunk-HF533LET.js";
|
|
1073
1074
|
import "./chunk-664ZODQF.js";
|
|
1074
1075
|
import {
|
|
1075
1076
|
SpanStatusCode,
|
|
@@ -1637,6 +1638,7 @@ export {
|
|
|
1637
1638
|
cloneFunctionCall,
|
|
1638
1639
|
cloneFunctionResponse,
|
|
1639
1640
|
clonePart,
|
|
1641
|
+
coalesceConsecutiveRoles,
|
|
1640
1642
|
computeModelAddedAndRemovedLines,
|
|
1641
1643
|
concatenateInstructions,
|
|
1642
1644
|
connectAndDiscover,
|
|
@@ -557,6 +557,7 @@ import {
|
|
|
557
557
|
cloneFunctionCall,
|
|
558
558
|
cloneFunctionResponse,
|
|
559
559
|
clonePart,
|
|
560
|
+
coalesceConsecutiveRoles,
|
|
560
561
|
computeModelAddedAndRemovedLines,
|
|
561
562
|
concatenateInstructions,
|
|
562
563
|
connectAndDiscover,
|
|
@@ -1069,7 +1070,7 @@ import {
|
|
|
1069
1070
|
wrapUntrusted,
|
|
1070
1071
|
writeToStderr,
|
|
1071
1072
|
writeToStdout
|
|
1072
|
-
} from "./chunk-
|
|
1073
|
+
} from "./chunk-27C6XFMY.js";
|
|
1073
1074
|
import "./chunk-664ZODQF.js";
|
|
1074
1075
|
import {
|
|
1075
1076
|
SpanStatusCode,
|
|
@@ -1637,6 +1638,7 @@ export {
|
|
|
1637
1638
|
cloneFunctionCall,
|
|
1638
1639
|
cloneFunctionResponse,
|
|
1639
1640
|
clonePart,
|
|
1641
|
+
coalesceConsecutiveRoles,
|
|
1640
1642
|
computeModelAddedAndRemovedLines,
|
|
1641
1643
|
concatenateInstructions,
|
|
1642
1644
|
connectAndDiscover,
|
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
coreEvents,
|
|
4
4
|
debugLogger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HF533LET.js";
|
|
6
6
|
import "./chunk-664ZODQF.js";
|
|
7
7
|
import "./chunk-IUUIT4SU.js";
|
|
8
8
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -4324,7 +4324,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
4324
4324
|
return;
|
|
4325
4325
|
}
|
|
4326
4326
|
try {
|
|
4327
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-
|
|
4327
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-I73XKBPY.js");
|
|
4328
4328
|
const url = await startDevToolsServer(config);
|
|
4329
4329
|
if (shouldLaunchBrowser()) {
|
|
4330
4330
|
try {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
CoreEvent,
|
|
4
4
|
coreEvents,
|
|
5
5
|
debugLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5RDOS7UZ.js";
|
|
7
7
|
import "./chunk-664ZODQF.js";
|
|
8
8
|
import "./chunk-IUUIT4SU.js";
|
|
9
9
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -4325,7 +4325,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
4325
4325
|
return;
|
|
4326
4326
|
}
|
|
4327
4327
|
try {
|
|
4328
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
4328
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-PRJQFPSQ.js");
|
|
4329
4329
|
const url = await startDevToolsServer(config);
|
|
4330
4330
|
if (shouldLaunchBrowser()) {
|
|
4331
4331
|
try {
|
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
coreEvents,
|
|
4
4
|
debugLogger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-27C6XFMY.js";
|
|
6
6
|
import "./chunk-664ZODQF.js";
|
|
7
7
|
import "./chunk-IUUIT4SU.js";
|
|
8
8
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -4324,7 +4324,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
4324
4324
|
return;
|
|
4325
4325
|
}
|
|
4326
4326
|
try {
|
|
4327
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-
|
|
4327
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-PVG4D2MR.js");
|
|
4328
4328
|
const url = await startDevToolsServer(config);
|
|
4329
4329
|
if (shouldLaunchBrowser()) {
|
|
4330
4330
|
try {
|
|
@@ -557,6 +557,7 @@ import {
|
|
|
557
557
|
cloneFunctionCall,
|
|
558
558
|
cloneFunctionResponse,
|
|
559
559
|
clonePart,
|
|
560
|
+
coalesceConsecutiveRoles,
|
|
560
561
|
computeModelAddedAndRemovedLines,
|
|
561
562
|
concatenateInstructions,
|
|
562
563
|
connectAndDiscover,
|
|
@@ -1069,7 +1070,7 @@ import {
|
|
|
1069
1070
|
wrapUntrusted,
|
|
1070
1071
|
writeToStderr,
|
|
1071
1072
|
writeToStdout
|
|
1072
|
-
} from "./chunk-
|
|
1073
|
+
} from "./chunk-5RDOS7UZ.js";
|
|
1073
1074
|
import "./chunk-664ZODQF.js";
|
|
1074
1075
|
import {
|
|
1075
1076
|
SpanStatusCode,
|
|
@@ -1637,6 +1638,7 @@ export {
|
|
|
1637
1638
|
cloneFunctionCall,
|
|
1638
1639
|
cloneFunctionResponse,
|
|
1639
1640
|
clonePart,
|
|
1641
|
+
coalesceConsecutiveRoles,
|
|
1640
1642
|
computeModelAddedAndRemovedLines,
|
|
1641
1643
|
concatenateInstructions,
|
|
1642
1644
|
connectAndDiscover,
|
|
@@ -421,9 +421,9 @@ To debug the CLI's React-based UI, you can use React DevTools.
|
|
|
421
421
|
|
|
422
422
|
On macOS, `gemini` uses Seatbelt (`sandbox-exec`) under a `permissive-open`
|
|
423
423
|
profile (see `packages/cli/src/utils/sandbox-macos-permissive-open.sb`) that
|
|
424
|
-
|
|
425
|
-
and outbound network traffic ("open") by default. You
|
|
426
|
-
`strict-open` profile (see
|
|
424
|
+
denies operations by default, confining writes to the project folder while
|
|
425
|
+
allowing broad file reads and outbound network traffic ("open") by default. You
|
|
426
|
+
can switch to a `strict-open` profile (see
|
|
427
427
|
`packages/cli/src/utils/sandbox-macos-strict-open.sb`) that restricts both reads
|
|
428
428
|
and writes to the working directory while allowing outbound network traffic by
|
|
429
429
|
setting `SEATBELT_PROFILE=strict-open` in your environment or `.env` file.
|
|
@@ -87,8 +87,9 @@ preferred container solution.
|
|
|
87
87
|
|
|
88
88
|
Lightweight, built-in sandboxing using `sandbox-exec`.
|
|
89
89
|
|
|
90
|
-
**Default profile**: `permissive-open` -
|
|
91
|
-
directory
|
|
90
|
+
**Default profile**: `permissive-open` - denies operations by default; confines
|
|
91
|
+
writes to the project directory while allowing broad file reads and network
|
|
92
|
+
access.
|
|
92
93
|
|
|
93
94
|
Built-in profiles (set via `SEATBELT_PROFILE` env var):
|
|
94
95
|
|
|
@@ -2736,10 +2736,10 @@ the `advanced.excludedEnvVars` setting in your `settings.json` file.
|
|
|
2736
2736
|
- Run the CLI once with this set to generate the file.
|
|
2737
2737
|
- **`SEATBELT_PROFILE`** (macOS specific):
|
|
2738
2738
|
- Switches the Seatbelt (`sandbox-exec`) profile on macOS.
|
|
2739
|
-
- `permissive-open`: (Default)
|
|
2740
|
-
few other folders, see
|
|
2741
|
-
`packages/cli/src/utils/sandbox-macos-permissive-open.sb`)
|
|
2742
|
-
|
|
2739
|
+
- `permissive-open`: (Default) Denies operations by default, confining writes
|
|
2740
|
+
to the project folder (and a few other folders, see
|
|
2741
|
+
`packages/cli/src/utils/sandbox-macos-permissive-open.sb`) while allowing
|
|
2742
|
+
broad file reads and network access.
|
|
2743
2743
|
- `restrictive-open`: Declines operations by default, allows network.
|
|
2744
2744
|
- `strict-open`: Restricts both reads and writes to the working directory,
|
|
2745
2745
|
allows network.
|
|
@@ -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-UEI42N7R.js";
|
|
6
6
|
import {
|
|
7
7
|
BuiltinCommandLoader,
|
|
8
8
|
CommandService,
|
|
@@ -45,11 +45,11 @@ import {
|
|
|
45
45
|
updateAllUpdatableExtensions,
|
|
46
46
|
updateExtension,
|
|
47
47
|
validateAuthMethod
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-QSTUV3QH.js";
|
|
49
49
|
import {
|
|
50
50
|
exitCli,
|
|
51
51
|
require_source
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-4OVORMGE.js";
|
|
53
53
|
import {
|
|
54
54
|
appEvents
|
|
55
55
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -87,11 +87,11 @@ import {
|
|
|
87
87
|
resolveGemmaConfig,
|
|
88
88
|
saveModelChange,
|
|
89
89
|
stripAnsi
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-IODN6H35.js";
|
|
91
91
|
import {
|
|
92
92
|
RELAUNCH_EXIT_CODE
|
|
93
|
-
} from "./chunk-
|
|
94
|
-
import "./chunk-
|
|
93
|
+
} from "./chunk-XH7QC2TB.js";
|
|
94
|
+
import "./chunk-BDSSP5BZ.js";
|
|
95
95
|
import {
|
|
96
96
|
cleanupCheckpoints,
|
|
97
97
|
registerCleanup,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
runExitCleanup,
|
|
101
101
|
runSyncCleanup,
|
|
102
102
|
setupSignalHandlers
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-PKFZO3SN.js";
|
|
104
104
|
import {
|
|
105
105
|
ASK_USER_TOOL_NAME,
|
|
106
106
|
AuthType,
|
|
@@ -231,7 +231,7 @@ import {
|
|
|
231
231
|
updatePolicy,
|
|
232
232
|
writeToStderr,
|
|
233
233
|
writeToStdout
|
|
234
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-27C6XFMY.js";
|
|
235
235
|
import "./chunk-664ZODQF.js";
|
|
236
236
|
import "./chunk-IUUIT4SU.js";
|
|
237
237
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -7825,7 +7825,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7825
7825
|
}
|
|
7826
7826
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7827
7827
|
const packageJson = await getPackageJson(__dirname3);
|
|
7828
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.52.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7828
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.52.0-nightly.20260715.gfa975395b" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7829
7829
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7830
7830
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7831
7831
|
}
|
|
@@ -10233,7 +10233,7 @@ async function runNonInteractive({
|
|
|
10233
10233
|
}
|
|
10234
10234
|
});
|
|
10235
10235
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10236
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10236
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-QYDPHHFN.js");
|
|
10237
10237
|
setupInitialActivityLogger(config);
|
|
10238
10238
|
}
|
|
10239
10239
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10704,7 +10704,7 @@ async function runNonInteractive2(params) {
|
|
|
10704
10704
|
}
|
|
10705
10705
|
});
|
|
10706
10706
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10707
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10707
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-QYDPHHFN.js");
|
|
10708
10708
|
setupInitialActivityLogger(config);
|
|
10709
10709
|
}
|
|
10710
10710
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -15895,7 +15895,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
15895
15895
|
}
|
|
15896
15896
|
}
|
|
15897
15897
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
15898
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
15898
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-FS3OVPXQ.js");
|
|
15899
15899
|
await doStartUI(
|
|
15900
15900
|
config,
|
|
15901
15901
|
settings,
|
|
@@ -16104,7 +16104,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16104
16104
|
await config.storage.initialize();
|
|
16105
16105
|
adminControlsListner.setConfig(config);
|
|
16106
16106
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
16107
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
16107
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-QYDPHHFN.js");
|
|
16108
16108
|
setupInitialActivityLogger(config);
|
|
16109
16109
|
}
|
|
16110
16110
|
registerTelemetryConfig(config);
|
|
@@ -16163,7 +16163,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16163
16163
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
16164
16164
|
const initializationResult = await initializeApp(config, settings);
|
|
16165
16165
|
initAppHandle?.end();
|
|
16166
|
-
import("./liteRtServerManager-
|
|
16166
|
+
import("./liteRtServerManager-T2Z3RLS3.js").then(({ LiteRtServerManager }) => {
|
|
16167
16167
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
16168
16168
|
if (!mergedGemma) return;
|
|
16169
16169
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|
|
@@ -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-7VUO7T2C.js";
|
|
6
6
|
import {
|
|
7
7
|
BuiltinCommandLoader,
|
|
8
8
|
CommandService,
|
|
@@ -45,11 +45,11 @@ import {
|
|
|
45
45
|
updateAllUpdatableExtensions,
|
|
46
46
|
updateExtension,
|
|
47
47
|
validateAuthMethod
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-SXKIOLLX.js";
|
|
49
49
|
import {
|
|
50
50
|
exitCli,
|
|
51
51
|
require_source
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-UJVAPQ7V.js";
|
|
53
53
|
import {
|
|
54
54
|
appEvents
|
|
55
55
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -87,11 +87,11 @@ import {
|
|
|
87
87
|
resolveGemmaConfig,
|
|
88
88
|
saveModelChange,
|
|
89
89
|
stripAnsi
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-LUM47MYE.js";
|
|
91
91
|
import {
|
|
92
92
|
RELAUNCH_EXIT_CODE
|
|
93
|
-
} from "./chunk-
|
|
94
|
-
import "./chunk-
|
|
93
|
+
} from "./chunk-PLMRBJEA.js";
|
|
94
|
+
import "./chunk-BRZT2CQU.js";
|
|
95
95
|
import {
|
|
96
96
|
cleanupCheckpoints,
|
|
97
97
|
registerCleanup,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
runExitCleanup,
|
|
101
101
|
runSyncCleanup,
|
|
102
102
|
setupSignalHandlers
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-BX6DTJOD.js";
|
|
104
104
|
import {
|
|
105
105
|
ASK_USER_TOOL_NAME,
|
|
106
106
|
ApprovalMode,
|
|
@@ -247,7 +247,7 @@ import {
|
|
|
247
247
|
updatePolicy,
|
|
248
248
|
writeToStderr,
|
|
249
249
|
writeToStdout
|
|
250
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-5RDOS7UZ.js";
|
|
251
251
|
import "./chunk-664ZODQF.js";
|
|
252
252
|
import "./chunk-IUUIT4SU.js";
|
|
253
253
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -7841,7 +7841,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7841
7841
|
}
|
|
7842
7842
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7843
7843
|
const packageJson = await getPackageJson(__dirname3);
|
|
7844
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.
|
|
7844
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.53.0-preview.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7845
7845
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7846
7846
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7847
7847
|
}
|
|
@@ -10249,7 +10249,7 @@ async function runNonInteractive({
|
|
|
10249
10249
|
}
|
|
10250
10250
|
});
|
|
10251
10251
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10252
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10252
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-OUX7PWP3.js");
|
|
10253
10253
|
setupInitialActivityLogger(config);
|
|
10254
10254
|
}
|
|
10255
10255
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10720,7 +10720,7 @@ async function runNonInteractive2(params) {
|
|
|
10720
10720
|
}
|
|
10721
10721
|
});
|
|
10722
10722
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10723
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10723
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-OUX7PWP3.js");
|
|
10724
10724
|
setupInitialActivityLogger(config);
|
|
10725
10725
|
}
|
|
10726
10726
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -15911,7 +15911,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
15911
15911
|
}
|
|
15912
15912
|
}
|
|
15913
15913
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
15914
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
15914
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-OD2LO24X.js");
|
|
15915
15915
|
await doStartUI(
|
|
15916
15916
|
config,
|
|
15917
15917
|
settings,
|
|
@@ -16120,7 +16120,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16120
16120
|
await config.storage.initialize();
|
|
16121
16121
|
adminControlsListner.setConfig(config);
|
|
16122
16122
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
16123
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
16123
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-OUX7PWP3.js");
|
|
16124
16124
|
setupInitialActivityLogger(config);
|
|
16125
16125
|
}
|
|
16126
16126
|
registerTelemetryConfig(config);
|
|
@@ -16179,7 +16179,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16179
16179
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
16180
16180
|
const initializationResult = await initializeApp(config, settings);
|
|
16181
16181
|
initAppHandle?.end();
|
|
16182
|
-
import("./liteRtServerManager-
|
|
16182
|
+
import("./liteRtServerManager-3SKK7MNE.js").then(({ LiteRtServerManager }) => {
|
|
16183
16183
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
16184
16184
|
if (!mergedGemma) return;
|
|
16185
16185
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|
|
@@ -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-HVYOZEAP.js";
|
|
6
6
|
import {
|
|
7
7
|
BuiltinCommandLoader,
|
|
8
8
|
CommandService,
|
|
@@ -45,11 +45,11 @@ import {
|
|
|
45
45
|
updateAllUpdatableExtensions,
|
|
46
46
|
updateExtension,
|
|
47
47
|
validateAuthMethod
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-WVDR5L2V.js";
|
|
49
49
|
import {
|
|
50
50
|
exitCli,
|
|
51
51
|
require_source
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-SLQKIE73.js";
|
|
53
53
|
import {
|
|
54
54
|
appEvents
|
|
55
55
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -87,11 +87,11 @@ import {
|
|
|
87
87
|
resolveGemmaConfig,
|
|
88
88
|
saveModelChange,
|
|
89
89
|
stripAnsi
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-6AD4A2WF.js";
|
|
91
91
|
import {
|
|
92
92
|
RELAUNCH_EXIT_CODE
|
|
93
|
-
} from "./chunk-
|
|
94
|
-
import "./chunk-
|
|
93
|
+
} from "./chunk-CTNBR234.js";
|
|
94
|
+
import "./chunk-GHVD6PXK.js";
|
|
95
95
|
import {
|
|
96
96
|
cleanupCheckpoints,
|
|
97
97
|
registerCleanup,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
runExitCleanup,
|
|
101
101
|
runSyncCleanup,
|
|
102
102
|
setupSignalHandlers
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-PVCJCQWY.js";
|
|
104
104
|
import {
|
|
105
105
|
ASK_USER_TOOL_NAME,
|
|
106
106
|
AuthType,
|
|
@@ -231,7 +231,7 @@ import {
|
|
|
231
231
|
updatePolicy,
|
|
232
232
|
writeToStderr,
|
|
233
233
|
writeToStdout
|
|
234
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-HF533LET.js";
|
|
235
235
|
import "./chunk-664ZODQF.js";
|
|
236
236
|
import "./chunk-IUUIT4SU.js";
|
|
237
237
|
import "./chunk-TUDYL3X4.js";
|
|
@@ -7825,7 +7825,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7825
7825
|
}
|
|
7826
7826
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7827
7827
|
const packageJson = await getPackageJson(__dirname3);
|
|
7828
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.
|
|
7828
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.53.0-preview.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7829
7829
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7830
7830
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7831
7831
|
}
|
|
@@ -10233,7 +10233,7 @@ async function runNonInteractive({
|
|
|
10233
10233
|
}
|
|
10234
10234
|
});
|
|
10235
10235
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10236
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10236
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-IVPTF5ZJ.js");
|
|
10237
10237
|
setupInitialActivityLogger(config);
|
|
10238
10238
|
}
|
|
10239
10239
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10704,7 +10704,7 @@ async function runNonInteractive2(params) {
|
|
|
10704
10704
|
}
|
|
10705
10705
|
});
|
|
10706
10706
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10707
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10707
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-IVPTF5ZJ.js");
|
|
10708
10708
|
setupInitialActivityLogger(config);
|
|
10709
10709
|
}
|
|
10710
10710
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -15895,7 +15895,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
15895
15895
|
}
|
|
15896
15896
|
}
|
|
15897
15897
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
15898
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
15898
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-ADLAWPXN.js");
|
|
15899
15899
|
await doStartUI(
|
|
15900
15900
|
config,
|
|
15901
15901
|
settings,
|
|
@@ -16104,7 +16104,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16104
16104
|
await config.storage.initialize();
|
|
16105
16105
|
adminControlsListner.setConfig(config);
|
|
16106
16106
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
16107
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
16107
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-IVPTF5ZJ.js");
|
|
16108
16108
|
setupInitialActivityLogger(config);
|
|
16109
16109
|
}
|
|
16110
16110
|
registerTelemetryConfig(config);
|
|
@@ -16163,7 +16163,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16163
16163
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
16164
16164
|
const initializationResult = await initializeApp(config, settings);
|
|
16165
16165
|
initAppHandle?.end();
|
|
16166
|
-
import("./liteRtServerManager-
|
|
16166
|
+
import("./liteRtServerManager-O7PFOUFD.js").then(({ LiteRtServerManager }) => {
|
|
16167
16167
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
16168
16168
|
if (!mergedGemma) return;
|
|
16169
16169
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|