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