@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
|
@@ -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-PAIQESPE.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-EATZTV2L.js";
|
|
50
50
|
import {
|
|
51
51
|
exitCli,
|
|
52
52
|
require_source
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-VAGYZO4R.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-RFR5KZGU.js";
|
|
92
92
|
import {
|
|
93
93
|
RELAUNCH_EXIT_CODE
|
|
94
|
-
} from "./chunk-
|
|
95
|
-
import "./chunk-
|
|
94
|
+
} from "./chunk-SJFSOFYJ.js";
|
|
95
|
+
import "./chunk-ZAM747AR.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-VNGBTT2C.js";
|
|
105
105
|
import {
|
|
106
106
|
ASK_USER_TOOL_NAME,
|
|
107
107
|
AuthType,
|
|
@@ -239,7 +239,7 @@ import {
|
|
|
239
239
|
updatePolicy,
|
|
240
240
|
writeToStderr,
|
|
241
241
|
writeToStdout
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-KRI5JA76.js";
|
|
243
243
|
import "./chunk-664ZODQF.js";
|
|
244
244
|
import "./chunk-IUUIT4SU.js";
|
|
245
245
|
import "./chunk-L6PII3GR.js";
|
|
@@ -7839,7 +7839,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7839
7839
|
}
|
|
7840
7840
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7841
7841
|
const packageJson = await getPackageJson(__dirname3);
|
|
7842
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.
|
|
7842
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.63.0-nightly.20260923.gf50ba8608" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7843
7843
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7844
7844
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7845
7845
|
}
|
|
@@ -11510,7 +11510,7 @@ async function runNonInteractive({
|
|
|
11510
11510
|
}
|
|
11511
11511
|
});
|
|
11512
11512
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
11513
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
11513
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-AK7UU2FI.js");
|
|
11514
11514
|
setupInitialActivityLogger(config);
|
|
11515
11515
|
}
|
|
11516
11516
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -12020,7 +12020,7 @@ async function runNonInteractive2(params) {
|
|
|
12020
12020
|
}
|
|
12021
12021
|
});
|
|
12022
12022
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
12023
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
12023
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-AK7UU2FI.js");
|
|
12024
12024
|
setupInitialActivityLogger(config);
|
|
12025
12025
|
}
|
|
12026
12026
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -16405,7 +16405,7 @@ var AcpSessionManager = class {
|
|
|
16405
16405
|
startupProfiler.flush(config);
|
|
16406
16406
|
startAutoMemoryIfEnabled(config);
|
|
16407
16407
|
const geminiClient = config.getGeminiClient();
|
|
16408
|
-
const chat = await geminiClient.startChat();
|
|
16408
|
+
const chat = geminiClient.isInitialized?.() ? geminiClient.getChat() : await geminiClient.startChat();
|
|
16409
16409
|
const session = new Session(
|
|
16410
16410
|
sessionId,
|
|
16411
16411
|
chat,
|
|
@@ -16435,17 +16435,20 @@ var AcpSessionManager = class {
|
|
|
16435
16435
|
return response;
|
|
16436
16436
|
}
|
|
16437
16437
|
async loadSession({ sessionId, cwd, mcpServers }, authDetails) {
|
|
16438
|
-
const config = await this.
|
|
16438
|
+
const config = await this.prepareSessionConfig(
|
|
16439
16439
|
sessionId,
|
|
16440
16440
|
cwd,
|
|
16441
16441
|
mcpServers,
|
|
16442
16442
|
authDetails
|
|
16443
16443
|
);
|
|
16444
|
+
await config.storage?.initialize?.();
|
|
16444
16445
|
const sessionSelector = new SessionSelector(config.storage);
|
|
16445
16446
|
const { sessionData, sessionPath } = await sessionSelector.resolveSession(sessionId);
|
|
16447
|
+
await config.initialize();
|
|
16448
|
+
startupProfiler.flush(config);
|
|
16449
|
+
startAutoMemoryIfEnabled(config);
|
|
16446
16450
|
const clientHistory = convertSessionToClientHistory(sessionData.messages);
|
|
16447
16451
|
const geminiClient = config.getGeminiClient();
|
|
16448
|
-
await geminiClient.initialize();
|
|
16449
16452
|
await geminiClient.resumeChat(clientHistory, {
|
|
16450
16453
|
conversation: sessionData,
|
|
16451
16454
|
filePath: sessionPath
|
|
@@ -16482,7 +16485,7 @@ var AcpSessionManager = class {
|
|
|
16482
16485
|
};
|
|
16483
16486
|
return response;
|
|
16484
16487
|
}
|
|
16485
|
-
async
|
|
16488
|
+
async prepareSessionConfig(sessionId, cwd, mcpServers, authDetails) {
|
|
16486
16489
|
const selectedAuthType = this.settings.merged.security.auth.selectedType || (authDetails.baseUrl || process.env["GOOGLE_GEMINI_BASE_URL"] ? "gateway" /* GATEWAY */ : void 0);
|
|
16487
16490
|
if (!selectedAuthType) {
|
|
16488
16491
|
throw RequestError.authRequired();
|
|
@@ -16509,9 +16512,6 @@ var AcpSessionManager = class {
|
|
|
16509
16512
|
);
|
|
16510
16513
|
config.setFileSystemService(acpFileSystemService);
|
|
16511
16514
|
}
|
|
16512
|
-
await config.initialize();
|
|
16513
|
-
startupProfiler.flush(config);
|
|
16514
|
-
startAutoMemoryIfEnabled(config);
|
|
16515
16515
|
return config;
|
|
16516
16516
|
}
|
|
16517
16517
|
async newSessionConfig(sessionId, cwd, mcpServers, loadedSettings) {
|
|
@@ -17331,7 +17331,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
17331
17331
|
}
|
|
17332
17332
|
}
|
|
17333
17333
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
17334
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
17334
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-JLFFVRVY.js");
|
|
17335
17335
|
await doStartUI(
|
|
17336
17336
|
config,
|
|
17337
17337
|
settings,
|
|
@@ -17540,7 +17540,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
17540
17540
|
await config.storage.initialize();
|
|
17541
17541
|
adminControlsListner.setConfig(config);
|
|
17542
17542
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
17543
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
17543
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-AK7UU2FI.js");
|
|
17544
17544
|
setupInitialActivityLogger(config);
|
|
17545
17545
|
}
|
|
17546
17546
|
registerTelemetryConfig(config);
|
|
@@ -17599,7 +17599,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
17599
17599
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
17600
17600
|
const initializationResult = await initializeApp(config, settings);
|
|
17601
17601
|
initAppHandle?.end();
|
|
17602
|
-
import("./liteRtServerManager-
|
|
17602
|
+
import("./liteRtServerManager-DVDNFJNH.js").then(({ LiteRtServerManager }) => {
|
|
17603
17603
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
17604
17604
|
if (!mergedGemma) return;
|
|
17605
17605
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|