@google/gemini-cli 0.65.0-preview.0 → 0.66.0-nightly.20261017.ged96faedf
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/README.md +21 -56
- package/bundle/{chunk-NL7ZHGCH.js → chunk-464WBVYM.js} +1 -1
- package/bundle/{chunk-QJK54DSE.js → chunk-5VQUE3OF.js} +1 -1
- package/bundle/{chunk-VF5WQSOE.js → chunk-7ARQMEMX.js} +1 -1
- package/bundle/{chunk-2WVLIJA5.js → chunk-BUG4N6U5.js} +145 -77
- package/bundle/{chunk-F6AJM4WN.js → chunk-DPV3ZEOC.js} +3 -3
- package/bundle/{chunk-GSQEBEGC.js → chunk-ERBSM2HU.js} +3 -3
- package/bundle/{chunk-WTRK3NVX.js → chunk-GEUFOF2X.js} +106 -1500
- package/bundle/{chunk-V2R74WAG.js → chunk-H4U2CWBQ.js} +151 -81
- package/bundle/chunk-HDP6V6JI.js +1956 -0
- package/bundle/{chunk-RPHDSDL6.js → chunk-IDCWFZU3.js} +1 -1
- package/bundle/{chunk-SN7QZKXC.js → chunk-IGOTAEJY.js} +170 -1551
- package/bundle/chunk-J5QPCO3J.js +101859 -0
- package/bundle/{chunk-H2CZXS7F.js → chunk-JY3DYBJT.js} +1 -1
- package/bundle/{chunk-HLOOE7YN.js → chunk-LDGJJCVW.js} +9 -8
- package/bundle/chunk-MH4KAY5W.js +512 -0
- package/bundle/{chunk-LLE5Z636.js → chunk-NAPT3FAL.js} +106 -1500
- package/bundle/chunk-NOSWGXRT.js +1956 -0
- package/bundle/{chunk-43EXRO7A.js → chunk-NU74STQ5.js} +145 -77
- package/bundle/{chunk-K7NOVQ6G.js → chunk-QCWGLPCO.js} +376 -231
- package/bundle/{chunk-WGL5FJOS.js → chunk-QF3ALSJN.js} +3 -3
- package/bundle/{chunk-K4G5D5ZZ.js → chunk-R4KPURFC.js} +1 -1
- package/bundle/chunk-R6XDLHLP.js +1956 -0
- package/bundle/chunk-R7UPATQC.js +1956 -0
- package/bundle/chunk-RACMC24X.js +118 -0
- package/bundle/{chunk-4JGVVJGK.js → chunk-RE4V6I3G.js} +1 -1
- package/bundle/{chunk-S7BCRBI4.js → chunk-UTTFPWGQ.js} +1 -1
- package/bundle/chunk-VXYA6LA4.js +1571 -0
- package/bundle/chunk-XY2QSBID.js +17603 -0
- package/bundle/{chunk-K7AA35SP.js → chunk-YOI4DS3V.js} +365 -230
- package/bundle/chunk-YP27UYI4.js +154 -0
- package/bundle/{chunk-TP236FKO.js → chunk-YPLMNSM4.js} +8243 -15166
- package/bundle/chunk-ZFQ347ZN.js +402181 -0
- package/bundle/{cleanup-HPADDONA.js → cleanup-6FAZDCL3.js} +2 -2
- package/bundle/{cleanup-JOMSXKMP.js → cleanup-GNZLZG55.js} +2 -2
- package/bundle/{cleanup-LYRJHMMO.js → cleanup-RX3AC5ET.js} +2 -2
- package/bundle/cleanup-WAU2KYGS.js +32 -0
- package/bundle/{core-NCJTYARO.js → core-AGGXDQOT.js} +13 -1
- package/bundle/{devtoolsService-WP2OPVPB.js → devtoolsService-6XOCGTLC.js} +2 -2
- package/bundle/{devtoolsService-JFJBTZ4B.js → devtoolsService-FBTSVQ57.js} +4 -3
- package/bundle/{devtoolsService-HIZA3JGR.js → devtoolsService-UO6ZB72B.js} +2 -2
- package/bundle/devtoolsService-W5QGZ3SW.js +4359 -0
- package/bundle/{dist-GQKLLBDW.js → dist-2ELAEESC.js} +13 -1
- package/bundle/{core-IVQAI4S6.js → dist-2R7C2WHA.js} +13 -1
- package/bundle/dist-PALH7PJS.js +2280 -0
- package/bundle/docs/changelogs/index.md +22 -0
- package/bundle/docs/changelogs/latest.md +64 -54
- package/bundle/docs/changelogs/preview.md +91 -55
- package/bundle/docs/reference/configuration.md +8 -3
- package/bundle/docs/reference/keyboard-shortcuts.md +18 -4
- package/bundle/{gemini-5TUKZVGS.js → gemini-6MH55Y7F.js} +37 -18
- package/bundle/{gemini-7CHJYSHM.js → gemini-DOXUDJDY.js} +37 -18
- package/bundle/{gemini-546WMAHG.js → gemini-OHYXI52N.js} +237 -202
- package/bundle/gemini-OUEDCH4P.js +17970 -0
- package/bundle/gemini.js +14 -15
- package/bundle/{interactiveCli-E3PUPYMZ.js → interactiveCli-7LIKGDTJ.js} +1061 -989
- package/bundle/{interactiveCli-5XIAIY74.js → interactiveCli-EGQYN3KR.js} +1371 -1280
- package/bundle/{interactiveCli-L4PK7YY3.js → interactiveCli-TG7PGV4V.js} +1061 -989
- package/bundle/interactiveCli-YEXCUIFZ.js +35601 -0
- package/bundle/{liteRtServerManager-JCTYJBV5.js → liteRtServerManager-KAPXZ3EU.js} +4 -4
- package/bundle/{liteRtServerManager-JERG6KYC.js → liteRtServerManager-MSJIWMWP.js} +4 -4
- package/bundle/{liteRtServerManager-22ISMNN2.js → liteRtServerManager-PD2N3GLD.js} +4 -4
- package/bundle/liteRtServerManager-X5SCFYXM.js +65 -0
- package/bundle/{oauth2-provider-XRUER2XR.js → oauth2-provider-IUN6Z4IO.js} +1 -1
- package/bundle/{oauth2-provider-477UJQX6.js → oauth2-provider-MKJIQNWP.js} +41 -79
- package/bundle/{oauth2-provider-MKWWBW4K.js → oauth2-provider-RMF7U2UN.js} +1 -1
- package/bundle/oauth2-provider-ZM5GWCNX.js +273 -0
- package/bundle/{start-MVIPJNQ5.js → start-5GIUIER3.js} +6 -6
- package/bundle/{start-RZWSVT55.js → start-APIVGXZ3.js} +6 -6
- package/bundle/{start-AGMBPY3O.js → start-GJ4TH4KZ.js} +6 -6
- package/bundle/start-WDS52ZNE.js +18 -0
- package/package.json +1 -1
- package/bundle/chunk-4DCA4L53.js +0 -425
- package/bundle/chunk-BFIV7GTA.js +0 -425
- package/bundle/chunk-V72FRESD.js +0 -425
|
@@ -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-RACMC24X.js";
|
|
6
6
|
import {
|
|
7
7
|
BuiltinCommandLoader,
|
|
8
8
|
CommandService,
|
|
@@ -35,7 +35,6 @@ import {
|
|
|
35
35
|
promptForSetting,
|
|
36
36
|
renderSkillActionFeedback,
|
|
37
37
|
requestConsentNonInteractive,
|
|
38
|
-
require_semver,
|
|
39
38
|
skillsConsentString,
|
|
40
39
|
startAutoMemoryIfEnabled,
|
|
41
40
|
statusCommand,
|
|
@@ -46,11 +45,11 @@ import {
|
|
|
46
45
|
updateExtension,
|
|
47
46
|
validateAuthMethod,
|
|
48
47
|
validateContextFilePath
|
|
49
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-NAPT3FAL.js";
|
|
50
49
|
import {
|
|
51
50
|
exitCli,
|
|
52
51
|
require_source
|
|
53
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-RE4V6I3G.js";
|
|
54
53
|
import {
|
|
55
54
|
appEvents
|
|
56
55
|
} from "./chunk-5PS3AYFU.js";
|
|
@@ -89,11 +88,12 @@ import {
|
|
|
89
88
|
resolveGemmaConfig,
|
|
90
89
|
saveModelChange,
|
|
91
90
|
stripAnsi
|
|
92
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-NU74STQ5.js";
|
|
93
92
|
import {
|
|
94
|
-
RELAUNCH_EXIT_CODE
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
RELAUNCH_EXIT_CODE,
|
|
94
|
+
require_semver
|
|
95
|
+
} from "./chunk-HDP6V6JI.js";
|
|
96
|
+
import "./chunk-5VQUE3OF.js";
|
|
97
97
|
import {
|
|
98
98
|
cleanupCheckpoints,
|
|
99
99
|
registerCleanup,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
runExitCleanup,
|
|
103
103
|
runSyncCleanup,
|
|
104
104
|
setupSignalHandlers
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-YP27UYI4.js";
|
|
106
106
|
import {
|
|
107
107
|
ASK_USER_TOOL_NAME,
|
|
108
108
|
AuthType,
|
|
@@ -241,7 +241,7 @@ import {
|
|
|
241
241
|
updatePolicy,
|
|
242
242
|
writeToStderr,
|
|
243
243
|
writeToStdout
|
|
244
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-QCWGLPCO.js";
|
|
245
245
|
import "./chunk-664ZODQF.js";
|
|
246
246
|
import "./chunk-IUUIT4SU.js";
|
|
247
247
|
import "./chunk-L6PII3GR.js";
|
|
@@ -7860,7 +7860,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7860
7860
|
}
|
|
7861
7861
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7862
7862
|
const packageJson = await getPackageJson(__dirname3);
|
|
7863
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.
|
|
7863
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.66.0-nightly.20261013.g204db94ae" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7864
7864
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7865
7865
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7866
7866
|
}
|
|
@@ -11531,7 +11531,7 @@ async function runNonInteractive({
|
|
|
11531
11531
|
}
|
|
11532
11532
|
});
|
|
11533
11533
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
11534
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
11534
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-UO6ZB72B.js");
|
|
11535
11535
|
setupInitialActivityLogger(config);
|
|
11536
11536
|
}
|
|
11537
11537
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -12041,7 +12041,7 @@ async function runNonInteractive2(params) {
|
|
|
12041
12041
|
}
|
|
12042
12042
|
});
|
|
12043
12043
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
12044
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
12044
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-UO6ZB72B.js");
|
|
12045
12045
|
setupInitialActivityLogger(config);
|
|
12046
12046
|
}
|
|
12047
12047
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -17068,11 +17068,27 @@ var SlashCommandConflictHandler = class {
|
|
|
17068
17068
|
clearTimeout(this.flushTimeout);
|
|
17069
17069
|
this.flushTimeout = null;
|
|
17070
17070
|
}
|
|
17071
|
+
this.pendingConflicts = [];
|
|
17072
|
+
this.notifiedConflicts.clear();
|
|
17073
|
+
}
|
|
17074
|
+
getConflictKey(c) {
|
|
17075
|
+
const sourceId = c.loserExtensionName || c.loserMcpServerName || c.loserKind;
|
|
17076
|
+
return `${c.name}:${sourceId}:${c.renamedTo}`;
|
|
17071
17077
|
}
|
|
17072
17078
|
handleConflicts(payload) {
|
|
17079
|
+
const currentConflictKeys = new Set(
|
|
17080
|
+
payload.conflicts.map((c) => this.getConflictKey(c))
|
|
17081
|
+
);
|
|
17082
|
+
for (const key of this.notifiedConflicts) {
|
|
17083
|
+
if (!currentConflictKeys.has(key)) {
|
|
17084
|
+
this.notifiedConflicts.delete(key);
|
|
17085
|
+
}
|
|
17086
|
+
}
|
|
17087
|
+
this.pendingConflicts = this.pendingConflicts.filter(
|
|
17088
|
+
(c) => currentConflictKeys.has(this.getConflictKey(c))
|
|
17089
|
+
);
|
|
17073
17090
|
const newConflicts = payload.conflicts.filter((c) => {
|
|
17074
|
-
const
|
|
17075
|
-
const key = `${c.name}:${sourceId}:${c.renamedTo}`;
|
|
17091
|
+
const key = this.getConflictKey(c);
|
|
17076
17092
|
if (this.notifiedConflicts.has(key)) {
|
|
17077
17093
|
return false;
|
|
17078
17094
|
}
|
|
@@ -17082,6 +17098,9 @@ var SlashCommandConflictHandler = class {
|
|
|
17082
17098
|
if (newConflicts.length > 0) {
|
|
17083
17099
|
this.pendingConflicts.push(...newConflicts);
|
|
17084
17100
|
this.scheduleFlush();
|
|
17101
|
+
} else if (this.pendingConflicts.length === 0 && this.flushTimeout) {
|
|
17102
|
+
clearTimeout(this.flushTimeout);
|
|
17103
|
+
this.flushTimeout = null;
|
|
17085
17104
|
}
|
|
17086
17105
|
}
|
|
17087
17106
|
scheduleFlush() {
|
|
@@ -17419,7 +17438,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
17419
17438
|
}
|
|
17420
17439
|
}
|
|
17421
17440
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
17422
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
17441
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-TG7PGV4V.js");
|
|
17423
17442
|
await doStartUI(
|
|
17424
17443
|
config,
|
|
17425
17444
|
settings,
|
|
@@ -17628,7 +17647,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
17628
17647
|
await config.storage.initialize();
|
|
17629
17648
|
adminControlsListner.setConfig(config);
|
|
17630
17649
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
17631
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
17650
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-UO6ZB72B.js");
|
|
17632
17651
|
setupInitialActivityLogger(config);
|
|
17633
17652
|
}
|
|
17634
17653
|
registerTelemetryConfig(config);
|
|
@@ -17687,7 +17706,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
17687
17706
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
17688
17707
|
const initializationResult = await initializeApp(config, settings);
|
|
17689
17708
|
initAppHandle?.end();
|
|
17690
|
-
import("./liteRtServerManager-
|
|
17709
|
+
import("./liteRtServerManager-KAPXZ3EU.js").then(({ LiteRtServerManager }) => {
|
|
17691
17710
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
17692
17711
|
if (!mergedGemma) return;
|
|
17693
17712
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|