@google/gemini-cli 0.40.0-preview.3 → 0.40.0-preview.4
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-F2KGMQCY.js → chunk-4XVBQQNJ.js} +7 -13
- package/bundle/{chunk-FRCZJECU.js → chunk-547AWTTH.js} +7 -13
- package/bundle/{chunk-RVU5Q4NB.js → chunk-63PTTRTA.js} +2 -2
- package/bundle/{chunk-EJ5U5A3P.js → chunk-ATGIEBEB.js} +1 -1
- package/bundle/{chunk-35STMVQ6.js → chunk-BV2W6YE6.js} +1 -1
- package/bundle/{chunk-MRSOTTBM.js → chunk-CIO3GUGQ.js} +4 -4
- package/bundle/{chunk-KVGAAOEJ.js → chunk-CJQVVQSH.js} +1 -1
- package/bundle/{chunk-KITSDDOZ.js → chunk-G356GKHH.js} +1 -1
- package/bundle/{chunk-UX5CFZ75.js → chunk-H4NQBTXN.js} +1 -1
- package/bundle/{chunk-KUAEOA2Q.js → chunk-H7F2VOIJ.js} +7 -13
- package/bundle/{chunk-R4ZCSDPK.js → chunk-HF7X35D3.js} +7 -13
- package/bundle/{chunk-KKO2XSBY.js → chunk-HGFADN5A.js} +1 -1
- package/bundle/{chunk-EEQGWBJU.js → chunk-KG7ZFMJL.js} +4 -4
- package/bundle/{chunk-47HVBRLD.js → chunk-LMVZLINC.js} +2 -2
- package/bundle/{chunk-5UA5NDVP.js → chunk-LODNDE3S.js} +1 -1
- package/bundle/{chunk-MUEKKRWF.js → chunk-LVHUYMBU.js} +1 -1
- package/bundle/{chunk-VUHGADMU.js → chunk-M76FWZ5L.js} +1 -1
- package/bundle/{chunk-UZ5SUJO4.js → chunk-NV6UCR4K.js} +4 -4
- package/bundle/{chunk-B4NHGUNE.js → chunk-PRZIW6SM.js} +1 -1
- package/bundle/{chunk-YCTQOSY2.js → chunk-RENFZ63F.js} +2 -2
- package/bundle/{chunk-RMQT572G.js → chunk-SYPUOR3U.js} +1 -1
- package/bundle/{chunk-VQVLJLWD.js → chunk-VQ7N6NVX.js} +1 -1
- package/bundle/{chunk-ELANWZTZ.js → chunk-WSTHO4WR.js} +2 -2
- package/bundle/{chunk-GDNYA45E.js → chunk-ZQNX6OWU.js} +2 -2
- package/bundle/{cleanup-BWZ7GONS.js → cleanup-4EFDM2N7.js} +2 -2
- package/bundle/{cleanup-F6XR3KDW.js → cleanup-4RRVO4GO.js} +2 -2
- package/bundle/{cleanup-VV6AV4T2.js → cleanup-DNS7PXYC.js} +2 -2
- package/bundle/{cleanup-PS3UGKWX.js → cleanup-DXHNV2J6.js} +2 -2
- package/bundle/{core-NDKZ44LE.js → core-WQSFCPEO.js} +1 -1
- package/bundle/{devtoolsService-XGIYIDBD.js → devtoolsService-JWET4G6G.js} +2 -2
- package/bundle/{devtoolsService-DNFLMYOX.js → devtoolsService-LPEBYJVD.js} +2 -2
- package/bundle/{devtoolsService-F6QBRWPB.js → devtoolsService-S2LBUUZU.js} +2 -2
- package/bundle/{devtoolsService-YD6JSR34.js → devtoolsService-YCRNWWXE.js} +2 -2
- package/bundle/{dist-54TUMSKA.js → dist-ANTOB3YW.js} +1 -1
- package/bundle/{dist-6KUUELBS.js → dist-RIVCP5ZD.js} +1 -1
- package/bundle/{dist-QHCXV4N4.js → dist-UH565MTG.js} +1 -1
- package/bundle/{gemini-HLGERR6W.js → gemini-27FQ5BI4.js} +12 -12
- package/bundle/{gemini-IRPF2U4N.js → gemini-57EC2ZF7.js} +11 -11
- package/bundle/{gemini-TU6PHHWE.js → gemini-JAZVYRDD.js} +12 -12
- package/bundle/{gemini-QZM4UKD6.js → gemini-TQZRS37Q.js} +12 -12
- package/bundle/gemini.js +3 -3
- package/bundle/{interactiveCli-374EDFUA.js → interactiveCli-E35R6QQC.js} +6 -6
- package/bundle/{interactiveCli-EKTBCA5F.js → interactiveCli-FPHSBRV3.js} +6 -6
- package/bundle/{interactiveCli-GRSDCSR3.js → interactiveCli-L3EK4XEX.js} +6 -6
- package/bundle/{interactiveCli-HN4DKCW5.js → interactiveCli-MVHR4VV7.js} +6 -6
- package/bundle/{liteRtServerManager-46V57ROR.js → liteRtServerManager-LXEAYAUP.js} +3 -3
- package/bundle/{liteRtServerManager-E34UIEBJ.js → liteRtServerManager-ORSW3R4F.js} +3 -3
- package/bundle/{liteRtServerManager-EAWDC35K.js → liteRtServerManager-PI4ZNFB5.js} +3 -3
- package/bundle/{liteRtServerManager-HTDKEOQC.js → liteRtServerManager-YYXO5Q3I.js} +3 -3
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/{oauth2-provider-TW3RXTUS.js → oauth2-provider-B3NTBNAM.js} +1 -1
- package/bundle/{oauth2-provider-UQIDMKYA.js → oauth2-provider-ENF2D4Q7.js} +1 -1
- package/bundle/{oauth2-provider-N7Q7FNNA.js → oauth2-provider-I3G773GE.js} +1 -1
- package/bundle/{oauth2-provider-WTRWHBI2.js → oauth2-provider-WTF7AHQ2.js} +1 -1
- package/bundle/{start-ERRBQVDH.js → start-CRIFZ3SW.js} +5 -5
- package/bundle/{start-7DJXXKMH.js → start-KVFKS3IT.js} +5 -5
- package/bundle/{start-TKRKH572.js → start-OTLGMCNH.js} +5 -5
- package/bundle/{start-4D5PYHGK.js → start-S3REI3X2.js} +5 -5
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
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
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-NV6UCR4K.js";
|
|
3
3
|
import {
|
|
4
4
|
CoreEvent,
|
|
5
5
|
coreEvents,
|
|
@@ -818,7 +818,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
818
818
|
return;
|
|
819
819
|
}
|
|
820
820
|
try {
|
|
821
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
821
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-ANTOB3YW.js");
|
|
822
822
|
const url = await startDevToolsServer(config);
|
|
823
823
|
if (shouldLaunchBrowser()) {
|
|
824
824
|
try {
|
|
@@ -1,5 +1,5 @@
|
|
|
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
|
-
import "./chunk-
|
|
2
|
+
import "./chunk-RENFZ63F.js";
|
|
3
3
|
import {
|
|
4
4
|
CoreEvent,
|
|
5
5
|
coreEvents,
|
|
@@ -818,7 +818,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
818
818
|
return;
|
|
819
819
|
}
|
|
820
820
|
try {
|
|
821
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
821
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-RIVCP5ZD.js");
|
|
822
822
|
const url = await startDevToolsServer(config);
|
|
823
823
|
if (shouldLaunchBrowser()) {
|
|
824
824
|
try {
|
|
@@ -43,18 +43,18 @@ import {
|
|
|
43
43
|
updateAllUpdatableExtensions,
|
|
44
44
|
updateExtension,
|
|
45
45
|
validateAuthMethod
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-HF7X35D3.js";
|
|
47
47
|
import {
|
|
48
48
|
appEvents
|
|
49
49
|
} from "./chunk-5PS3AYFU.js";
|
|
50
50
|
import {
|
|
51
51
|
startCommand,
|
|
52
52
|
startServer
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-LMVZLINC.js";
|
|
54
54
|
import {
|
|
55
55
|
exitCli,
|
|
56
56
|
require_source
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-G356GKHH.js";
|
|
58
58
|
import {
|
|
59
59
|
DEFAULT_PORT,
|
|
60
60
|
GEMMA_MODEL_NAME,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
readServerProcessInfo,
|
|
89
89
|
resolveGemmaConfig,
|
|
90
90
|
saveModelChange
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-CJQVVQSH.js";
|
|
92
92
|
import {
|
|
93
93
|
cleanupCheckpoints,
|
|
94
94
|
registerCleanup,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
runExitCleanup,
|
|
98
98
|
runSyncCleanup,
|
|
99
99
|
setupSignalHandlers
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-BV2W6YE6.js";
|
|
101
101
|
import {
|
|
102
102
|
AuthType,
|
|
103
103
|
ChatRecordingService,
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
updatePolicy,
|
|
197
197
|
writeToStderr,
|
|
198
198
|
writeToStdout
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-NV6UCR4K.js";
|
|
200
200
|
import {
|
|
201
201
|
ASK_USER_TOOL_NAME,
|
|
202
202
|
ApprovalMode,
|
|
@@ -7970,7 +7970,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7970
7970
|
}
|
|
7971
7971
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7972
7972
|
const packageJson = await getPackageJson(__dirname3);
|
|
7973
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.40.0-preview.
|
|
7973
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.40.0-preview.4" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7974
7974
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7975
7975
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7976
7976
|
}
|
|
@@ -10311,7 +10311,7 @@ async function runNonInteractive({
|
|
|
10311
10311
|
}
|
|
10312
10312
|
});
|
|
10313
10313
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10314
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10314
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-S2LBUUZU.js");
|
|
10315
10315
|
setupInitialActivityLogger(config);
|
|
10316
10316
|
}
|
|
10317
10317
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10762,7 +10762,7 @@ async function runNonInteractive2(params) {
|
|
|
10762
10762
|
}
|
|
10763
10763
|
});
|
|
10764
10764
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10765
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10765
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-S2LBUUZU.js");
|
|
10766
10766
|
setupInitialActivityLogger(config);
|
|
10767
10767
|
}
|
|
10768
10768
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -15611,7 +15611,7 @@ async function resolveSessionId(resumeArg) {
|
|
|
15611
15611
|
}
|
|
15612
15612
|
}
|
|
15613
15613
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
15614
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
15614
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-FPHSBRV3.js");
|
|
15615
15615
|
await doStartUI(
|
|
15616
15616
|
config,
|
|
15617
15617
|
settings,
|
|
@@ -15813,7 +15813,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15813
15813
|
await config.storage.initialize();
|
|
15814
15814
|
adminControlsListner.setConfig(config);
|
|
15815
15815
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
15816
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
15816
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-S2LBUUZU.js");
|
|
15817
15817
|
setupInitialActivityLogger(config);
|
|
15818
15818
|
}
|
|
15819
15819
|
registerTelemetryConfig(config);
|
|
@@ -15869,7 +15869,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15869
15869
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
15870
15870
|
const initializationResult = await initializeApp(config, settings);
|
|
15871
15871
|
initAppHandle?.end();
|
|
15872
|
-
import("./liteRtServerManager-
|
|
15872
|
+
import("./liteRtServerManager-ORSW3R4F.js").then(({ LiteRtServerManager }) => {
|
|
15873
15873
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
15874
15874
|
if (!mergedGemma) return;
|
|
15875
15875
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|
|
@@ -43,18 +43,18 @@ import {
|
|
|
43
43
|
updateAllUpdatableExtensions,
|
|
44
44
|
updateExtension,
|
|
45
45
|
validateAuthMethod
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-547AWTTH.js";
|
|
47
47
|
import {
|
|
48
48
|
appEvents
|
|
49
49
|
} from "./chunk-5PS3AYFU.js";
|
|
50
50
|
import {
|
|
51
51
|
startCommand,
|
|
52
52
|
startServer
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-ZQNX6OWU.js";
|
|
54
54
|
import {
|
|
55
55
|
exitCli,
|
|
56
56
|
require_source
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-HGFADN5A.js";
|
|
58
58
|
import {
|
|
59
59
|
DEFAULT_PORT,
|
|
60
60
|
GEMMA_MODEL_NAME,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
readServerProcessInfo,
|
|
89
89
|
resolveGemmaConfig,
|
|
90
90
|
saveModelChange
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-LODNDE3S.js";
|
|
92
92
|
import {
|
|
93
93
|
cleanupCheckpoints,
|
|
94
94
|
registerCleanup,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
runExitCleanup,
|
|
98
98
|
runSyncCleanup,
|
|
99
99
|
setupSignalHandlers
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-SYPUOR3U.js";
|
|
101
101
|
import {
|
|
102
102
|
AuthType,
|
|
103
103
|
ChatRecordingService,
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
updatePolicy,
|
|
197
197
|
writeToStderr,
|
|
198
198
|
writeToStdout
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-RENFZ63F.js";
|
|
200
200
|
import {
|
|
201
201
|
ASK_USER_TOOL_NAME,
|
|
202
202
|
ApprovalMode,
|
|
@@ -10311,7 +10311,7 @@ async function runNonInteractive({
|
|
|
10311
10311
|
}
|
|
10312
10312
|
});
|
|
10313
10313
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10314
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10314
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-YCRNWWXE.js");
|
|
10315
10315
|
setupInitialActivityLogger(config);
|
|
10316
10316
|
}
|
|
10317
10317
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10762,7 +10762,7 @@ async function runNonInteractive2(params) {
|
|
|
10762
10762
|
}
|
|
10763
10763
|
});
|
|
10764
10764
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10765
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10765
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-YCRNWWXE.js");
|
|
10766
10766
|
setupInitialActivityLogger(config);
|
|
10767
10767
|
}
|
|
10768
10768
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -15611,7 +15611,7 @@ async function resolveSessionId(resumeArg) {
|
|
|
15611
15611
|
}
|
|
15612
15612
|
}
|
|
15613
15613
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
15614
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
15614
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-MVHR4VV7.js");
|
|
15615
15615
|
await doStartUI(
|
|
15616
15616
|
config,
|
|
15617
15617
|
settings,
|
|
@@ -15813,7 +15813,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15813
15813
|
await config.storage.initialize();
|
|
15814
15814
|
adminControlsListner.setConfig(config);
|
|
15815
15815
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
15816
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
15816
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-YCRNWWXE.js");
|
|
15817
15817
|
setupInitialActivityLogger(config);
|
|
15818
15818
|
}
|
|
15819
15819
|
registerTelemetryConfig(config);
|
|
@@ -15869,7 +15869,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15869
15869
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
15870
15870
|
const initializationResult = await initializeApp(config, settings);
|
|
15871
15871
|
initAppHandle?.end();
|
|
15872
|
-
import("./liteRtServerManager-
|
|
15872
|
+
import("./liteRtServerManager-PI4ZNFB5.js").then(({ LiteRtServerManager }) => {
|
|
15873
15873
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
15874
15874
|
if (!mergedGemma) return;
|
|
15875
15875
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|
|
@@ -43,18 +43,18 @@ import {
|
|
|
43
43
|
updateAllUpdatableExtensions,
|
|
44
44
|
updateExtension,
|
|
45
45
|
validateAuthMethod
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-H7F2VOIJ.js";
|
|
47
47
|
import {
|
|
48
48
|
appEvents
|
|
49
49
|
} from "./chunk-5PS3AYFU.js";
|
|
50
50
|
import {
|
|
51
51
|
startCommand,
|
|
52
52
|
startServer
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-63PTTRTA.js";
|
|
54
54
|
import {
|
|
55
55
|
exitCli,
|
|
56
56
|
require_source
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-VQ7N6NVX.js";
|
|
58
58
|
import {
|
|
59
59
|
DEFAULT_PORT,
|
|
60
60
|
GEMMA_MODEL_NAME,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
readServerProcessInfo,
|
|
89
89
|
resolveGemmaConfig,
|
|
90
90
|
saveModelChange
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-M76FWZ5L.js";
|
|
92
92
|
import {
|
|
93
93
|
cleanupCheckpoints,
|
|
94
94
|
registerCleanup,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
runExitCleanup,
|
|
98
98
|
runSyncCleanup,
|
|
99
99
|
setupSignalHandlers
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-PRZIW6SM.js";
|
|
101
101
|
import {
|
|
102
102
|
AuthType,
|
|
103
103
|
ChatRecordingService,
|
|
@@ -184,7 +184,7 @@ import {
|
|
|
184
184
|
updatePolicy,
|
|
185
185
|
writeToStderr,
|
|
186
186
|
writeToStdout
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-KG7ZFMJL.js";
|
|
188
188
|
import {
|
|
189
189
|
ASK_USER_TOOL_NAME,
|
|
190
190
|
DEFAULT_FILE_FILTERING_OPTIONS,
|
|
@@ -7954,7 +7954,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7954
7954
|
}
|
|
7955
7955
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7956
7956
|
const packageJson = await getPackageJson(__dirname3);
|
|
7957
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.40.0-preview.
|
|
7957
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.40.0-preview.3" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7958
7958
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7959
7959
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7960
7960
|
}
|
|
@@ -10295,7 +10295,7 @@ async function runNonInteractive({
|
|
|
10295
10295
|
}
|
|
10296
10296
|
});
|
|
10297
10297
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10298
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10298
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-JWET4G6G.js");
|
|
10299
10299
|
setupInitialActivityLogger(config);
|
|
10300
10300
|
}
|
|
10301
10301
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10746,7 +10746,7 @@ async function runNonInteractive2(params) {
|
|
|
10746
10746
|
}
|
|
10747
10747
|
});
|
|
10748
10748
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10749
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10749
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-JWET4G6G.js");
|
|
10750
10750
|
setupInitialActivityLogger(config);
|
|
10751
10751
|
}
|
|
10752
10752
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -15595,7 +15595,7 @@ async function resolveSessionId(resumeArg) {
|
|
|
15595
15595
|
}
|
|
15596
15596
|
}
|
|
15597
15597
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
15598
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
15598
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-E35R6QQC.js");
|
|
15599
15599
|
await doStartUI(
|
|
15600
15600
|
config,
|
|
15601
15601
|
settings,
|
|
@@ -15797,7 +15797,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15797
15797
|
await config.storage.initialize();
|
|
15798
15798
|
adminControlsListner.setConfig(config);
|
|
15799
15799
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
15800
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
15800
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-JWET4G6G.js");
|
|
15801
15801
|
setupInitialActivityLogger(config);
|
|
15802
15802
|
}
|
|
15803
15803
|
registerTelemetryConfig(config);
|
|
@@ -15853,7 +15853,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15853
15853
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
15854
15854
|
const initializationResult = await initializeApp(config, settings);
|
|
15855
15855
|
initAppHandle?.end();
|
|
15856
|
-
import("./liteRtServerManager-
|
|
15856
|
+
import("./liteRtServerManager-LXEAYAUP.js").then(({ LiteRtServerManager }) => {
|
|
15857
15857
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
15858
15858
|
if (!mergedGemma) return;
|
|
15859
15859
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|
|
@@ -43,18 +43,18 @@ import {
|
|
|
43
43
|
updateAllUpdatableExtensions,
|
|
44
44
|
updateExtension,
|
|
45
45
|
validateAuthMethod
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-4XVBQQNJ.js";
|
|
47
47
|
import {
|
|
48
48
|
appEvents
|
|
49
49
|
} from "./chunk-5PS3AYFU.js";
|
|
50
50
|
import {
|
|
51
51
|
startCommand,
|
|
52
52
|
startServer
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-WSTHO4WR.js";
|
|
54
54
|
import {
|
|
55
55
|
exitCli,
|
|
56
56
|
require_source
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-ATGIEBEB.js";
|
|
58
58
|
import {
|
|
59
59
|
DEFAULT_PORT,
|
|
60
60
|
GEMMA_MODEL_NAME,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
readServerProcessInfo,
|
|
89
89
|
resolveGemmaConfig,
|
|
90
90
|
saveModelChange
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-H4NQBTXN.js";
|
|
92
92
|
import {
|
|
93
93
|
cleanupCheckpoints,
|
|
94
94
|
registerCleanup,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
runExitCleanup,
|
|
98
98
|
runSyncCleanup,
|
|
99
99
|
setupSignalHandlers
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-LVHUYMBU.js";
|
|
101
101
|
import {
|
|
102
102
|
AuthType,
|
|
103
103
|
ChatRecordingService,
|
|
@@ -196,7 +196,7 @@ import {
|
|
|
196
196
|
updatePolicy,
|
|
197
197
|
writeToStderr,
|
|
198
198
|
writeToStdout
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-CIO3GUGQ.js";
|
|
200
200
|
import {
|
|
201
201
|
ASK_USER_TOOL_NAME,
|
|
202
202
|
ApprovalMode,
|
|
@@ -7970,7 +7970,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7970
7970
|
}
|
|
7971
7971
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7972
7972
|
const packageJson = await getPackageJson(__dirname3);
|
|
7973
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.40.0-preview.
|
|
7973
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.40.0-preview.4" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7974
7974
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7975
7975
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7976
7976
|
}
|
|
@@ -10311,7 +10311,7 @@ async function runNonInteractive({
|
|
|
10311
10311
|
}
|
|
10312
10312
|
});
|
|
10313
10313
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10314
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10314
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-LPEBYJVD.js");
|
|
10315
10315
|
setupInitialActivityLogger(config);
|
|
10316
10316
|
}
|
|
10317
10317
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10762,7 +10762,7 @@ async function runNonInteractive2(params) {
|
|
|
10762
10762
|
}
|
|
10763
10763
|
});
|
|
10764
10764
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10765
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10765
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-LPEBYJVD.js");
|
|
10766
10766
|
setupInitialActivityLogger(config);
|
|
10767
10767
|
}
|
|
10768
10768
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -15611,7 +15611,7 @@ async function resolveSessionId(resumeArg) {
|
|
|
15611
15611
|
}
|
|
15612
15612
|
}
|
|
15613
15613
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
15614
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
15614
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-L3EK4XEX.js");
|
|
15615
15615
|
await doStartUI(
|
|
15616
15616
|
config,
|
|
15617
15617
|
settings,
|
|
@@ -15813,7 +15813,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15813
15813
|
await config.storage.initialize();
|
|
15814
15814
|
adminControlsListner.setConfig(config);
|
|
15815
15815
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
15816
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
15816
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-LPEBYJVD.js");
|
|
15817
15817
|
setupInitialActivityLogger(config);
|
|
15818
15818
|
}
|
|
15819
15819
|
registerTelemetryConfig(config);
|
|
@@ -15869,7 +15869,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
15869
15869
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
15870
15870
|
const initializationResult = await initializeApp(config, settings);
|
|
15871
15871
|
initAppHandle?.end();
|
|
15872
|
-
import("./liteRtServerManager-
|
|
15872
|
+
import("./liteRtServerManager-YYXO5Q3I.js").then(({ LiteRtServerManager }) => {
|
|
15873
15873
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
15874
15874
|
if (!mergedGemma) return;
|
|
15875
15875
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|
package/bundle/gemini.js
CHANGED
|
@@ -103,9 +103,9 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
|
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
} else {
|
|
106
|
-
const { main } = await import("./gemini-
|
|
107
|
-
const { FatalError, writeToStderr } = await import("./dist-
|
|
108
|
-
const { runExitCleanup } = await import("./cleanup-
|
|
106
|
+
const { main } = await import("./gemini-27FQ5BI4.js");
|
|
107
|
+
const { FatalError, writeToStderr } = await import("./dist-ANTOB3YW.js");
|
|
108
|
+
const { runExitCleanup } = await import("./cleanup-4RRVO4GO.js");
|
|
109
109
|
main().catch(async (error) => {
|
|
110
110
|
const cleanupTimeout = setTimeout(() => {
|
|
111
111
|
writeToStderr("Cleanup timed out, forcing exit...\n");
|
|
@@ -154,13 +154,13 @@ import {
|
|
|
154
154
|
widestLineFromStyledChars,
|
|
155
155
|
wordBreakStyledChars,
|
|
156
156
|
wrapStyledChars
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-H7F2VOIJ.js";
|
|
158
158
|
import {
|
|
159
159
|
appEvents
|
|
160
160
|
} from "./chunk-5PS3AYFU.js";
|
|
161
161
|
import {
|
|
162
162
|
require_source
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-VQ7N6NVX.js";
|
|
164
164
|
import {
|
|
165
165
|
ACTIVE_SHELL_MAX_LINES,
|
|
166
166
|
COMPACT_TOOL_SUBVIEW_MAX_LINES,
|
|
@@ -213,13 +213,13 @@ import {
|
|
|
213
213
|
stringWidth,
|
|
214
214
|
stripUnsafeCharacters,
|
|
215
215
|
toCodePoints
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-M76FWZ5L.js";
|
|
217
217
|
import {
|
|
218
218
|
registerCleanup,
|
|
219
219
|
removeCleanup,
|
|
220
220
|
runExitCleanup,
|
|
221
221
|
setupTtyCheck
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-PRZIW6SM.js";
|
|
223
223
|
import {
|
|
224
224
|
ApiKeyUpdatedEvent,
|
|
225
225
|
AsyncFzf,
|
|
@@ -336,7 +336,7 @@ import {
|
|
|
336
336
|
validatePlanContent,
|
|
337
337
|
validatePlanPath,
|
|
338
338
|
writeToStdout
|
|
339
|
-
} from "./chunk-
|
|
339
|
+
} from "./chunk-KG7ZFMJL.js";
|
|
340
340
|
import {
|
|
341
341
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
342
342
|
AGENT_TOOL_NAME,
|
|
@@ -33440,7 +33440,7 @@ ${queuedText}` : queuedText;
|
|
|
33440
33440
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33441
33441
|
if (settings.merged.general.devtools) {
|
|
33442
33442
|
void (async () => {
|
|
33443
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33443
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-JWET4G6G.js");
|
|
33444
33444
|
await toggleDevToolsPanel(
|
|
33445
33445
|
config,
|
|
33446
33446
|
showErrorDetails,
|
|
@@ -154,13 +154,13 @@ import {
|
|
|
154
154
|
widestLineFromStyledChars,
|
|
155
155
|
wordBreakStyledChars,
|
|
156
156
|
wrapStyledChars
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-HF7X35D3.js";
|
|
158
158
|
import {
|
|
159
159
|
appEvents
|
|
160
160
|
} from "./chunk-5PS3AYFU.js";
|
|
161
161
|
import {
|
|
162
162
|
require_source
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-G356GKHH.js";
|
|
164
164
|
import {
|
|
165
165
|
ACTIVE_SHELL_MAX_LINES,
|
|
166
166
|
COMPACT_TOOL_SUBVIEW_MAX_LINES,
|
|
@@ -213,13 +213,13 @@ import {
|
|
|
213
213
|
stringWidth,
|
|
214
214
|
stripUnsafeCharacters,
|
|
215
215
|
toCodePoints
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-CJQVVQSH.js";
|
|
217
217
|
import {
|
|
218
218
|
registerCleanup,
|
|
219
219
|
removeCleanup,
|
|
220
220
|
runExitCleanup,
|
|
221
221
|
setupTtyCheck
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-BV2W6YE6.js";
|
|
223
223
|
import {
|
|
224
224
|
ApiKeyUpdatedEvent,
|
|
225
225
|
AsyncFzf,
|
|
@@ -347,7 +347,7 @@ import {
|
|
|
347
347
|
validatePlanContent,
|
|
348
348
|
validatePlanPath,
|
|
349
349
|
writeToStdout
|
|
350
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-NV6UCR4K.js";
|
|
351
351
|
import {
|
|
352
352
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
353
353
|
AGENT_TOOL_NAME,
|
|
@@ -33458,7 +33458,7 @@ ${queuedText}` : queuedText;
|
|
|
33458
33458
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33459
33459
|
if (settings.merged.general.devtools) {
|
|
33460
33460
|
void (async () => {
|
|
33461
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33461
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-S2LBUUZU.js");
|
|
33462
33462
|
await toggleDevToolsPanel(
|
|
33463
33463
|
config,
|
|
33464
33464
|
showErrorDetails,
|
|
@@ -154,13 +154,13 @@ import {
|
|
|
154
154
|
widestLineFromStyledChars,
|
|
155
155
|
wordBreakStyledChars,
|
|
156
156
|
wrapStyledChars
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-4XVBQQNJ.js";
|
|
158
158
|
import {
|
|
159
159
|
appEvents
|
|
160
160
|
} from "./chunk-5PS3AYFU.js";
|
|
161
161
|
import {
|
|
162
162
|
require_source
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-ATGIEBEB.js";
|
|
164
164
|
import {
|
|
165
165
|
ACTIVE_SHELL_MAX_LINES,
|
|
166
166
|
COMPACT_TOOL_SUBVIEW_MAX_LINES,
|
|
@@ -213,13 +213,13 @@ import {
|
|
|
213
213
|
stringWidth,
|
|
214
214
|
stripUnsafeCharacters,
|
|
215
215
|
toCodePoints
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-H4NQBTXN.js";
|
|
217
217
|
import {
|
|
218
218
|
registerCleanup,
|
|
219
219
|
removeCleanup,
|
|
220
220
|
runExitCleanup,
|
|
221
221
|
setupTtyCheck
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-LVHUYMBU.js";
|
|
223
223
|
import {
|
|
224
224
|
ApiKeyUpdatedEvent,
|
|
225
225
|
AsyncFzf,
|
|
@@ -347,7 +347,7 @@ import {
|
|
|
347
347
|
validatePlanContent,
|
|
348
348
|
validatePlanPath,
|
|
349
349
|
writeToStdout
|
|
350
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-CIO3GUGQ.js";
|
|
351
351
|
import {
|
|
352
352
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
353
353
|
AGENT_TOOL_NAME,
|
|
@@ -33458,7 +33458,7 @@ ${queuedText}` : queuedText;
|
|
|
33458
33458
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33459
33459
|
if (settings.merged.general.devtools) {
|
|
33460
33460
|
void (async () => {
|
|
33461
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33461
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-LPEBYJVD.js");
|
|
33462
33462
|
await toggleDevToolsPanel(
|
|
33463
33463
|
config,
|
|
33464
33464
|
showErrorDetails,
|
|
@@ -154,13 +154,13 @@ import {
|
|
|
154
154
|
widestLineFromStyledChars,
|
|
155
155
|
wordBreakStyledChars,
|
|
156
156
|
wrapStyledChars
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-547AWTTH.js";
|
|
158
158
|
import {
|
|
159
159
|
appEvents
|
|
160
160
|
} from "./chunk-5PS3AYFU.js";
|
|
161
161
|
import {
|
|
162
162
|
require_source
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-HGFADN5A.js";
|
|
164
164
|
import {
|
|
165
165
|
ACTIVE_SHELL_MAX_LINES,
|
|
166
166
|
COMPACT_TOOL_SUBVIEW_MAX_LINES,
|
|
@@ -213,13 +213,13 @@ import {
|
|
|
213
213
|
stringWidth,
|
|
214
214
|
stripUnsafeCharacters,
|
|
215
215
|
toCodePoints
|
|
216
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-LODNDE3S.js";
|
|
217
217
|
import {
|
|
218
218
|
registerCleanup,
|
|
219
219
|
removeCleanup,
|
|
220
220
|
runExitCleanup,
|
|
221
221
|
setupTtyCheck
|
|
222
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-SYPUOR3U.js";
|
|
223
223
|
import {
|
|
224
224
|
ApiKeyUpdatedEvent,
|
|
225
225
|
AsyncFzf,
|
|
@@ -347,7 +347,7 @@ import {
|
|
|
347
347
|
validatePlanContent,
|
|
348
348
|
validatePlanPath,
|
|
349
349
|
writeToStdout
|
|
350
|
-
} from "./chunk-
|
|
350
|
+
} from "./chunk-RENFZ63F.js";
|
|
351
351
|
import {
|
|
352
352
|
ACTIVATE_SKILL_TOOL_NAME,
|
|
353
353
|
AGENT_TOOL_NAME,
|
|
@@ -33458,7 +33458,7 @@ ${queuedText}` : queuedText;
|
|
|
33458
33458
|
if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
|
|
33459
33459
|
if (settings.merged.general.devtools) {
|
|
33460
33460
|
void (async () => {
|
|
33461
|
-
const { toggleDevToolsPanel } = await import("./devtoolsService-
|
|
33461
|
+
const { toggleDevToolsPanel } = await import("./devtoolsService-YCRNWWXE.js");
|
|
33462
33462
|
await toggleDevToolsPanel(
|
|
33463
33463
|
config,
|
|
33464
33464
|
showErrorDetails,
|