@google/gemini-cli 0.45.0-preview.0 → 0.45.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.
Files changed (50) hide show
  1. package/bundle/{chunk-GIXFMPPJ.js → chunk-2ARYG3KE.js} +1 -1
  2. package/bundle/{chunk-I7UI7NB6.js → chunk-3TWZMAJU.js} +3 -3
  3. package/bundle/{chunk-2RRZM3IR.js → chunk-4EBMYFID.js} +7 -7
  4. package/bundle/{chunk-VS2OY6HJ.js → chunk-4KOU3QNT.js} +1 -1
  5. package/bundle/{chunk-EZCW6IDX.js → chunk-53SRWMUU.js} +1 -1
  6. package/bundle/{chunk-4FNXKOEB.js → chunk-6T7N6JF2.js} +24 -14
  7. package/bundle/{chunk-Y5REX36P.js → chunk-EORX7LYI.js} +1 -1
  8. package/bundle/{chunk-DMCSPKNM.js → chunk-EUYIPFPA.js} +1 -1
  9. package/bundle/{chunk-IPQLMJS5.js → chunk-GVEZJIV3.js} +1 -1
  10. package/bundle/{chunk-APSDEHHA.js → chunk-HFVEWB6N.js} +1 -1
  11. package/bundle/{chunk-S4CJ6KAO.js → chunk-IL7J46PP.js} +3 -3
  12. package/bundle/{chunk-4M3TG6ZU.js → chunk-JLFE3KRS.js} +1 -1
  13. package/bundle/{chunk-2O7YSVPU.js → chunk-K6WTIGVC.js} +2 -2
  14. package/bundle/{chunk-TH3OOWK4.js → chunk-KSNTXH4E.js} +7 -7
  15. package/bundle/{chunk-CWAXEILN.js → chunk-N6QPQL7E.js} +26 -16
  16. package/bundle/{chunk-LUQGJPIY.js → chunk-PNU4GACG.js} +2 -2
  17. package/bundle/{chunk-WPCNMQ6J.js → chunk-PXEK5ENZ.js} +1 -1
  18. package/bundle/{chunk-J4QUIOHJ.js → chunk-SG46YSQ3.js} +7 -7
  19. package/bundle/{chunk-OY6QYVTR.js → chunk-THZMPVCN.js} +1 -1
  20. package/bundle/{chunk-R5OZKB4U.js → chunk-TWSSMLUS.js} +1 -1
  21. package/bundle/{chunk-Q3UZDZZV.js → chunk-VL3FKVC7.js} +3 -3
  22. package/bundle/{chunk-J7SEBVDD.js → chunk-XV2YFH7B.js} +26 -16
  23. package/bundle/{chunk-N4X4WHSW.js → chunk-YI3KORH5.js} +2 -2
  24. package/bundle/{chunk-NOJPXYUJ.js → chunk-Z5F25543.js} +1 -1
  25. package/bundle/{cleanup-2WCUS5XU.js → cleanup-3SMSXJJA.js} +2 -2
  26. package/bundle/{cleanup-7FHLTEXT.js → cleanup-FNQ3LEWG.js} +2 -2
  27. package/bundle/{cleanup-WGOZFAQJ.js → cleanup-I56KHTTC.js} +2 -2
  28. package/bundle/{core-SIRU2VWJ.js → core-AQUUQTX2.js} +1 -1
  29. package/bundle/{dist-67ZORME5.js → core-KGXBOJTX.js} +1 -1
  30. package/bundle/{devtoolsService-IANYOK3R.js → devtoolsService-EW3B2Y63.js} +2 -2
  31. package/bundle/{devtoolsService-F5XFL4BF.js → devtoolsService-F7PHNBEQ.js} +2 -2
  32. package/bundle/{devtoolsService-4Y2RGEUE.js → devtoolsService-VFEFRDYG.js} +2 -2
  33. package/bundle/{core-LD6MHGD6.js → dist-2G5KTD32.js} +1 -1
  34. package/bundle/{gemini-74UML3PJ.js → gemini-4KS2EZX6.js} +14 -14
  35. package/bundle/{gemini-5ZI322FJ.js → gemini-JMMBFICD.js} +14 -14
  36. package/bundle/{gemini-24ENZ343.js → gemini-ORQHD633.js} +14 -14
  37. package/bundle/gemini.js +10 -9
  38. package/bundle/{interactiveCli-BVZLMTVC.js → interactiveCli-ESB66RW7.js} +8 -8
  39. package/bundle/{interactiveCli-7GM3U7SA.js → interactiveCli-XUZZOZXX.js} +8 -8
  40. package/bundle/{interactiveCli-XM5HDVD7.js → interactiveCli-ZJXV4DW7.js} +8 -8
  41. package/bundle/{liteRtServerManager-6N5DYDEQ.js → liteRtServerManager-DORIWEMR.js} +4 -4
  42. package/bundle/{liteRtServerManager-JVMDH3TN.js → liteRtServerManager-HELKQKOZ.js} +4 -4
  43. package/bundle/{liteRtServerManager-3HS3VUPU.js → liteRtServerManager-RNNHEQJI.js} +4 -4
  44. package/bundle/{oauth2-provider-RUFABDNL.js → oauth2-provider-2IJNOFOO.js} +1 -1
  45. package/bundle/{oauth2-provider-U72EWZHQ.js → oauth2-provider-7N4OFPTL.js} +1 -1
  46. package/bundle/{oauth2-provider-WS7LUQ5V.js → oauth2-provider-YYLBPESU.js} +1 -1
  47. package/bundle/{start-KOAGXRA2.js → start-66KF6MVV.js} +6 -6
  48. package/bundle/{start-XLIGOOW3.js → start-IGG6LDST.js} +6 -6
  49. package/bundle/{start-DJ6EBFEA.js → start-R7DTCFCN.js} +6 -6
  50. package/package.json +1 -1
@@ -1060,7 +1060,7 @@ import {
1060
1060
  wrapInAccountChooser,
1061
1061
  writeToStderr,
1062
1062
  writeToStdout
1063
- } from "./chunk-J7SEBVDD.js";
1063
+ } from "./chunk-N6QPQL7E.js";
1064
1064
  import "./chunk-6HI7VNOG.js";
1065
1065
  import "./chunk-TUDYL3X4.js";
1066
1066
  import {
@@ -1060,7 +1060,7 @@ import {
1060
1060
  wrapInAccountChooser,
1061
1061
  writeToStderr,
1062
1062
  writeToStdout
1063
- } from "./chunk-4FNXKOEB.js";
1063
+ } from "./chunk-XV2YFH7B.js";
1064
1064
  import "./chunk-6HI7VNOG.js";
1065
1065
  import "./chunk-TUDYL3X4.js";
1066
1066
  import {
@@ -3,7 +3,7 @@ import {
3
3
  CoreEvent,
4
4
  coreEvents,
5
5
  debugLogger
6
- } from "./chunk-4FNXKOEB.js";
6
+ } from "./chunk-6T7N6JF2.js";
7
7
  import {
8
8
  wrapper_default
9
9
  } from "./chunk-6HI7VNOG.js";
@@ -822,7 +822,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
822
822
  return;
823
823
  }
824
824
  try {
825
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-67ZORME5.js");
825
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-2G5KTD32.js");
826
826
  const url = await startDevToolsServer(config);
827
827
  if (shouldLaunchBrowser()) {
828
828
  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-J7SEBVDD.js";
5
+ } from "./chunk-N6QPQL7E.js";
6
6
  import {
7
7
  wrapper_default
8
8
  } from "./chunk-6HI7VNOG.js";
@@ -821,7 +821,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
821
821
  return;
822
822
  }
823
823
  try {
824
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-SIRU2VWJ.js");
824
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-AQUUQTX2.js");
825
825
  const url = await startDevToolsServer(config);
826
826
  if (shouldLaunchBrowser()) {
827
827
  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-CWAXEILN.js";
5
+ } from "./chunk-XV2YFH7B.js";
6
6
  import {
7
7
  wrapper_default
8
8
  } from "./chunk-6HI7VNOG.js";
@@ -821,7 +821,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
821
821
  return;
822
822
  }
823
823
  try {
824
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-LD6MHGD6.js");
824
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-KGXBOJTX.js");
825
825
  const url = await startDevToolsServer(config);
826
826
  if (shouldLaunchBrowser()) {
827
827
  try {
@@ -1060,7 +1060,7 @@ import {
1060
1060
  wrapInAccountChooser,
1061
1061
  writeToStderr,
1062
1062
  writeToStdout
1063
- } from "./chunk-CWAXEILN.js";
1063
+ } from "./chunk-6T7N6JF2.js";
1064
1064
  import "./chunk-6HI7VNOG.js";
1065
1065
  import "./chunk-TUDYL3X4.js";
1066
1066
  import {
@@ -41,18 +41,18 @@ import {
41
41
  updateAllUpdatableExtensions,
42
42
  updateExtension,
43
43
  validateAuthMethod
44
- } from "./chunk-TH3OOWK4.js";
44
+ } from "./chunk-4EBMYFID.js";
45
45
  import {
46
46
  appEvents
47
47
  } from "./chunk-5PS3AYFU.js";
48
48
  import {
49
49
  startCommand,
50
50
  startServer
51
- } from "./chunk-I7UI7NB6.js";
51
+ } from "./chunk-3TWZMAJU.js";
52
52
  import {
53
53
  exitCli,
54
54
  require_source
55
- } from "./chunk-IPQLMJS5.js";
55
+ } from "./chunk-JLFE3KRS.js";
56
56
  import {
57
57
  DEFAULT_PORT,
58
58
  GEMMA_MODEL_NAME,
@@ -86,11 +86,11 @@ import {
86
86
  readServerProcessInfo,
87
87
  resolveGemmaConfig,
88
88
  saveModelChange
89
- } from "./chunk-VS2OY6HJ.js";
89
+ } from "./chunk-4KOU3QNT.js";
90
90
  import {
91
91
  RELAUNCH_EXIT_CODE
92
- } from "./chunk-N4X4WHSW.js";
93
- import "./chunk-APSDEHHA.js";
92
+ } from "./chunk-PNU4GACG.js";
93
+ import "./chunk-PXEK5ENZ.js";
94
94
  import {
95
95
  cleanupCheckpoints,
96
96
  registerCleanup,
@@ -99,7 +99,7 @@ import {
99
99
  runExitCleanup,
100
100
  runSyncCleanup,
101
101
  setupSignalHandlers
102
- } from "./chunk-Y5REX36P.js";
102
+ } from "./chunk-THZMPVCN.js";
103
103
  import {
104
104
  ASK_USER_TOOL_NAME,
105
105
  AuthType,
@@ -231,7 +231,7 @@ import {
231
231
  updatePolicy,
232
232
  writeToStderr,
233
233
  writeToStdout
234
- } from "./chunk-J7SEBVDD.js";
234
+ } from "./chunk-XV2YFH7B.js";
235
235
  import "./chunk-6HI7VNOG.js";
236
236
  import "./chunk-TUDYL3X4.js";
237
237
  import "./chunk-IUUIT4SU.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.45.0-preview.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7828
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.45.0-preview.1" ?? 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-F5XFL4BF.js");
10236
+ const { setupInitialActivityLogger } = await import("./devtoolsService-VFEFRDYG.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-F5XFL4BF.js");
10707
+ const { setupInitialActivityLogger } = await import("./devtoolsService-VFEFRDYG.js");
10708
10708
  setupInitialActivityLogger(config);
10709
10709
  }
10710
10710
  const { stdout: workingStdout } = createWorkingStdio();
@@ -15892,7 +15892,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
15892
15892
  }
15893
15893
  }
15894
15894
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
15895
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-BVZLMTVC.js");
15895
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-ESB66RW7.js");
15896
15896
  await doStartUI(
15897
15897
  config,
15898
15898
  settings,
@@ -16101,7 +16101,7 @@ ${finalArgs[promptIndex + 1]}`;
16101
16101
  await config.storage.initialize();
16102
16102
  adminControlsListner.setConfig(config);
16103
16103
  if (config.isInteractive() && settings.merged.general.devtools) {
16104
- const { setupInitialActivityLogger } = await import("./devtoolsService-F5XFL4BF.js");
16104
+ const { setupInitialActivityLogger } = await import("./devtoolsService-VFEFRDYG.js");
16105
16105
  setupInitialActivityLogger(config);
16106
16106
  }
16107
16107
  registerTelemetryConfig(config);
@@ -16160,7 +16160,7 @@ ${finalArgs[promptIndex + 1]}`;
16160
16160
  const initAppHandle = startupProfiler.start("initialize_app");
16161
16161
  const initializationResult = await initializeApp(config, settings);
16162
16162
  initAppHandle?.end();
16163
- import("./liteRtServerManager-3HS3VUPU.js").then(({ LiteRtServerManager }) => {
16163
+ import("./liteRtServerManager-HELKQKOZ.js").then(({ LiteRtServerManager }) => {
16164
16164
  const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
16165
16165
  if (!mergedGemma) return;
16166
16166
  const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
@@ -41,18 +41,18 @@ import {
41
41
  updateAllUpdatableExtensions,
42
42
  updateExtension,
43
43
  validateAuthMethod
44
- } from "./chunk-2RRZM3IR.js";
44
+ } from "./chunk-KSNTXH4E.js";
45
45
  import {
46
46
  appEvents
47
47
  } from "./chunk-5PS3AYFU.js";
48
48
  import {
49
49
  startCommand,
50
50
  startServer
51
- } from "./chunk-Q3UZDZZV.js";
51
+ } from "./chunk-VL3FKVC7.js";
52
52
  import {
53
53
  exitCli,
54
54
  require_source
55
- } from "./chunk-4M3TG6ZU.js";
55
+ } from "./chunk-GVEZJIV3.js";
56
56
  import {
57
57
  DEFAULT_PORT,
58
58
  GEMMA_MODEL_NAME,
@@ -86,11 +86,11 @@ import {
86
86
  readServerProcessInfo,
87
87
  resolveGemmaConfig,
88
88
  saveModelChange
89
- } from "./chunk-GIXFMPPJ.js";
89
+ } from "./chunk-2ARYG3KE.js";
90
90
  import {
91
91
  RELAUNCH_EXIT_CODE
92
- } from "./chunk-LUQGJPIY.js";
93
- import "./chunk-WPCNMQ6J.js";
92
+ } from "./chunk-YI3KORH5.js";
93
+ import "./chunk-HFVEWB6N.js";
94
94
  import {
95
95
  cleanupCheckpoints,
96
96
  registerCleanup,
@@ -99,7 +99,7 @@ import {
99
99
  runExitCleanup,
100
100
  runSyncCleanup,
101
101
  setupSignalHandlers
102
- } from "./chunk-OY6QYVTR.js";
102
+ } from "./chunk-TWSSMLUS.js";
103
103
  import {
104
104
  ASK_USER_TOOL_NAME,
105
105
  AuthType,
@@ -231,7 +231,7 @@ import {
231
231
  updatePolicy,
232
232
  writeToStderr,
233
233
  writeToStdout
234
- } from "./chunk-CWAXEILN.js";
234
+ } from "./chunk-N6QPQL7E.js";
235
235
  import "./chunk-6HI7VNOG.js";
236
236
  import "./chunk-TUDYL3X4.js";
237
237
  import "./chunk-IUUIT4SU.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.45.0-nightly.20260521.g854f811be" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7828
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.45.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-4Y2RGEUE.js");
10236
+ const { setupInitialActivityLogger } = await import("./devtoolsService-F7PHNBEQ.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-4Y2RGEUE.js");
10707
+ const { setupInitialActivityLogger } = await import("./devtoolsService-F7PHNBEQ.js");
10708
10708
  setupInitialActivityLogger(config);
10709
10709
  }
10710
10710
  const { stdout: workingStdout } = createWorkingStdio();
@@ -15892,7 +15892,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
15892
15892
  }
15893
15893
  }
15894
15894
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
15895
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-XM5HDVD7.js");
15895
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-ZJXV4DW7.js");
15896
15896
  await doStartUI(
15897
15897
  config,
15898
15898
  settings,
@@ -16101,7 +16101,7 @@ ${finalArgs[promptIndex + 1]}`;
16101
16101
  await config.storage.initialize();
16102
16102
  adminControlsListner.setConfig(config);
16103
16103
  if (config.isInteractive() && settings.merged.general.devtools) {
16104
- const { setupInitialActivityLogger } = await import("./devtoolsService-4Y2RGEUE.js");
16104
+ const { setupInitialActivityLogger } = await import("./devtoolsService-F7PHNBEQ.js");
16105
16105
  setupInitialActivityLogger(config);
16106
16106
  }
16107
16107
  registerTelemetryConfig(config);
@@ -16160,7 +16160,7 @@ ${finalArgs[promptIndex + 1]}`;
16160
16160
  const initAppHandle = startupProfiler.start("initialize_app");
16161
16161
  const initializationResult = await initializeApp(config, settings);
16162
16162
  initAppHandle?.end();
16163
- import("./liteRtServerManager-6N5DYDEQ.js").then(({ LiteRtServerManager }) => {
16163
+ import("./liteRtServerManager-RNNHEQJI.js").then(({ LiteRtServerManager }) => {
16164
16164
  const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
16165
16165
  if (!mergedGemma) return;
16166
16166
  const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
@@ -41,18 +41,18 @@ import {
41
41
  updateAllUpdatableExtensions,
42
42
  updateExtension,
43
43
  validateAuthMethod
44
- } from "./chunk-J4QUIOHJ.js";
44
+ } from "./chunk-SG46YSQ3.js";
45
45
  import {
46
46
  appEvents
47
47
  } from "./chunk-5PS3AYFU.js";
48
48
  import {
49
49
  startCommand,
50
50
  startServer
51
- } from "./chunk-S4CJ6KAO.js";
51
+ } from "./chunk-IL7J46PP.js";
52
52
  import {
53
53
  exitCli,
54
54
  require_source
55
- } from "./chunk-EZCW6IDX.js";
55
+ } from "./chunk-53SRWMUU.js";
56
56
  import {
57
57
  DEFAULT_PORT,
58
58
  GEMMA_MODEL_NAME,
@@ -86,11 +86,11 @@ import {
86
86
  readServerProcessInfo,
87
87
  resolveGemmaConfig,
88
88
  saveModelChange
89
- } from "./chunk-DMCSPKNM.js";
89
+ } from "./chunk-EUYIPFPA.js";
90
90
  import {
91
91
  RELAUNCH_EXIT_CODE
92
- } from "./chunk-2O7YSVPU.js";
93
- import "./chunk-NOJPXYUJ.js";
92
+ } from "./chunk-K6WTIGVC.js";
93
+ import "./chunk-Z5F25543.js";
94
94
  import {
95
95
  cleanupCheckpoints,
96
96
  registerCleanup,
@@ -99,7 +99,7 @@ import {
99
99
  runExitCleanup,
100
100
  runSyncCleanup,
101
101
  setupSignalHandlers
102
- } from "./chunk-R5OZKB4U.js";
102
+ } from "./chunk-EORX7LYI.js";
103
103
  import {
104
104
  ASK_USER_TOOL_NAME,
105
105
  ApprovalMode,
@@ -247,7 +247,7 @@ import {
247
247
  updatePolicy,
248
248
  writeToStderr,
249
249
  writeToStdout
250
- } from "./chunk-4FNXKOEB.js";
250
+ } from "./chunk-6T7N6JF2.js";
251
251
  import "./chunk-6HI7VNOG.js";
252
252
  import "./chunk-TUDYL3X4.js";
253
253
  import "./chunk-IUUIT4SU.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.45.0-preview.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7844
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.45.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-IANYOK3R.js");
10252
+ const { setupInitialActivityLogger } = await import("./devtoolsService-EW3B2Y63.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-IANYOK3R.js");
10723
+ const { setupInitialActivityLogger } = await import("./devtoolsService-EW3B2Y63.js");
10724
10724
  setupInitialActivityLogger(config);
10725
10725
  }
10726
10726
  const { stdout: workingStdout } = createWorkingStdio();
@@ -15908,7 +15908,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
15908
15908
  }
15909
15909
  }
15910
15910
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
15911
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-7GM3U7SA.js");
15911
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-XUZZOZXX.js");
15912
15912
  await doStartUI(
15913
15913
  config,
15914
15914
  settings,
@@ -16117,7 +16117,7 @@ ${finalArgs[promptIndex + 1]}`;
16117
16117
  await config.storage.initialize();
16118
16118
  adminControlsListner.setConfig(config);
16119
16119
  if (config.isInteractive() && settings.merged.general.devtools) {
16120
- const { setupInitialActivityLogger } = await import("./devtoolsService-IANYOK3R.js");
16120
+ const { setupInitialActivityLogger } = await import("./devtoolsService-EW3B2Y63.js");
16121
16121
  setupInitialActivityLogger(config);
16122
16122
  }
16123
16123
  registerTelemetryConfig(config);
@@ -16176,7 +16176,7 @@ ${finalArgs[promptIndex + 1]}`;
16176
16176
  const initAppHandle = startupProfiler.start("initialize_app");
16177
16177
  const initializationResult = await initializeApp(config, settings);
16178
16178
  initAppHandle?.end();
16179
- import("./liteRtServerManager-JVMDH3TN.js").then(({ LiteRtServerManager }) => {
16179
+ import("./liteRtServerManager-DORIWEMR.js").then(({ LiteRtServerManager }) => {
16180
16180
  const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
16181
16181
  if (!mergedGemma) return;
16182
16182
  const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
package/bundle/gemini.js CHANGED
@@ -4,10 +4,10 @@ import {
4
4
  RELAUNCH_EXIT_CODE,
5
5
  getScriptArgs,
6
6
  getSpawnConfig
7
- } from "./chunk-2O7YSVPU.js";
8
- import "./chunk-NOJPXYUJ.js";
9
- import "./chunk-R5OZKB4U.js";
10
- import "./chunk-4FNXKOEB.js";
7
+ } from "./chunk-K6WTIGVC.js";
8
+ import "./chunk-Z5F25543.js";
9
+ import "./chunk-EORX7LYI.js";
10
+ import "./chunk-6T7N6JF2.js";
11
11
  import "./chunk-6HI7VNOG.js";
12
12
  import "./chunk-TUDYL3X4.js";
13
13
  import "./chunk-IUUIT4SU.js";
@@ -19,8 +19,9 @@ import os from "node:os";
19
19
  import v8 from "node:v8";
20
20
  process.on("uncaughtException", (error) => {
21
21
  if (error instanceof Error) {
22
- const isPtyResizeError = error.message === "Cannot resize a pty that has already exited";
23
- const isEbadfError = error.message.includes("EBADF");
22
+ const message = error.message || "";
23
+ const isPtyResizeError = message === "Cannot resize a pty that has already exited";
24
+ const isEbadfError = message.includes("EBADF") || error.code === "EBADF";
24
25
  const isFromNodePty = error.stack?.includes("node-pty") || error.stack?.includes("PtyResize");
25
26
  if ((isPtyResizeError || isEbadfError) && isFromNodePty) {
26
27
  return;
@@ -114,9 +115,9 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
114
115
  }
115
116
  }
116
117
  } else {
117
- const { main } = await import("./gemini-24ENZ343.js");
118
- const { FatalError, writeToStderr } = await import("./dist-67ZORME5.js");
119
- const { runExitCleanup } = await import("./cleanup-2WCUS5XU.js");
118
+ const { main } = await import("./gemini-ORQHD633.js");
119
+ const { FatalError, writeToStderr } = await import("./dist-2G5KTD32.js");
120
+ const { runExitCleanup } = await import("./cleanup-I56KHTTC.js");
120
121
  main().catch(async (error) => {
121
122
  const cleanupTimeout = setTimeout(() => {
122
123
  writeToStderr("Cleanup timed out, forcing exit...\n");
@@ -155,13 +155,13 @@ import {
155
155
  widestLineFromStyledChars,
156
156
  wordBreakStyledChars,
157
157
  wrapStyledChars
158
- } from "./chunk-TH3OOWK4.js";
158
+ } from "./chunk-4EBMYFID.js";
159
159
  import {
160
160
  appEvents
161
161
  } from "./chunk-5PS3AYFU.js";
162
162
  import {
163
163
  require_source
164
- } from "./chunk-IPQLMJS5.js";
164
+ } from "./chunk-JLFE3KRS.js";
165
165
  import {
166
166
  ACTIVE_SHELL_MAX_LINES,
167
167
  COMPACT_TOOL_SUBVIEW_MAX_LINES,
@@ -211,24 +211,24 @@ import {
211
211
  stringWidth,
212
212
  stripUnsafeCharacters,
213
213
  toCodePoints
214
- } from "./chunk-VS2OY6HJ.js";
214
+ } from "./chunk-4KOU3QNT.js";
215
215
  import {
216
216
  handleAutoUpdate,
217
217
  isDevelopment,
218
218
  relaunchApp,
219
219
  setUpdateHandler
220
- } from "./chunk-N4X4WHSW.js";
220
+ } from "./chunk-PNU4GACG.js";
221
221
  import {
222
222
  isTodoList,
223
223
  mapCoreStatusToDisplayStatus,
224
224
  require_react
225
- } from "./chunk-APSDEHHA.js";
225
+ } from "./chunk-PXEK5ENZ.js";
226
226
  import {
227
227
  registerCleanup,
228
228
  removeCleanup,
229
229
  runExitCleanup,
230
230
  setupTtyCheck
231
- } from "./chunk-Y5REX36P.js";
231
+ } from "./chunk-THZMPVCN.js";
232
232
  import {
233
233
  ACTIVATE_SKILL_TOOL_NAME,
234
234
  AGENT_TOOL_NAME,
@@ -410,7 +410,7 @@ import {
410
410
  validatePlanContent,
411
411
  validatePlanPath,
412
412
  writeToStdout
413
- } from "./chunk-J7SEBVDD.js";
413
+ } from "./chunk-XV2YFH7B.js";
414
414
  import "./chunk-6HI7VNOG.js";
415
415
  import "./chunk-TUDYL3X4.js";
416
416
  import "./chunk-IUUIT4SU.js";
@@ -33702,7 +33702,7 @@ ${queuedText}` : queuedText;
33702
33702
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33703
33703
  if (settings.merged.general.devtools) {
33704
33704
  void (async () => {
33705
- const { toggleDevToolsPanel } = await import("./devtoolsService-F5XFL4BF.js");
33705
+ const { toggleDevToolsPanel } = await import("./devtoolsService-VFEFRDYG.js");
33706
33706
  await toggleDevToolsPanel(
33707
33707
  config,
33708
33708
  showErrorDetails,
@@ -155,13 +155,13 @@ import {
155
155
  widestLineFromStyledChars,
156
156
  wordBreakStyledChars,
157
157
  wrapStyledChars
158
- } from "./chunk-J4QUIOHJ.js";
158
+ } from "./chunk-SG46YSQ3.js";
159
159
  import {
160
160
  appEvents
161
161
  } from "./chunk-5PS3AYFU.js";
162
162
  import {
163
163
  require_source
164
- } from "./chunk-EZCW6IDX.js";
164
+ } from "./chunk-53SRWMUU.js";
165
165
  import {
166
166
  ACTIVE_SHELL_MAX_LINES,
167
167
  COMPACT_TOOL_SUBVIEW_MAX_LINES,
@@ -211,24 +211,24 @@ import {
211
211
  stringWidth,
212
212
  stripUnsafeCharacters,
213
213
  toCodePoints
214
- } from "./chunk-DMCSPKNM.js";
214
+ } from "./chunk-EUYIPFPA.js";
215
215
  import {
216
216
  handleAutoUpdate,
217
217
  isDevelopment,
218
218
  relaunchApp,
219
219
  setUpdateHandler
220
- } from "./chunk-2O7YSVPU.js";
220
+ } from "./chunk-K6WTIGVC.js";
221
221
  import {
222
222
  isTodoList,
223
223
  mapCoreStatusToDisplayStatus,
224
224
  require_react
225
- } from "./chunk-NOJPXYUJ.js";
225
+ } from "./chunk-Z5F25543.js";
226
226
  import {
227
227
  registerCleanup,
228
228
  removeCleanup,
229
229
  runExitCleanup,
230
230
  setupTtyCheck
231
- } from "./chunk-R5OZKB4U.js";
231
+ } from "./chunk-EORX7LYI.js";
232
232
  import {
233
233
  ACTIVATE_SKILL_TOOL_NAME,
234
234
  AGENT_TOOL_NAME,
@@ -429,7 +429,7 @@ import {
429
429
  validatePlanContent,
430
430
  validatePlanPath,
431
431
  writeToStdout
432
- } from "./chunk-4FNXKOEB.js";
432
+ } from "./chunk-6T7N6JF2.js";
433
433
  import "./chunk-6HI7VNOG.js";
434
434
  import "./chunk-TUDYL3X4.js";
435
435
  import "./chunk-IUUIT4SU.js";
@@ -33721,7 +33721,7 @@ ${queuedText}` : queuedText;
33721
33721
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33722
33722
  if (settings.merged.general.devtools) {
33723
33723
  void (async () => {
33724
- const { toggleDevToolsPanel } = await import("./devtoolsService-IANYOK3R.js");
33724
+ const { toggleDevToolsPanel } = await import("./devtoolsService-EW3B2Y63.js");
33725
33725
  await toggleDevToolsPanel(
33726
33726
  config,
33727
33727
  showErrorDetails,
@@ -155,13 +155,13 @@ import {
155
155
  widestLineFromStyledChars,
156
156
  wordBreakStyledChars,
157
157
  wrapStyledChars
158
- } from "./chunk-2RRZM3IR.js";
158
+ } from "./chunk-KSNTXH4E.js";
159
159
  import {
160
160
  appEvents
161
161
  } from "./chunk-5PS3AYFU.js";
162
162
  import {
163
163
  require_source
164
- } from "./chunk-4M3TG6ZU.js";
164
+ } from "./chunk-GVEZJIV3.js";
165
165
  import {
166
166
  ACTIVE_SHELL_MAX_LINES,
167
167
  COMPACT_TOOL_SUBVIEW_MAX_LINES,
@@ -211,24 +211,24 @@ import {
211
211
  stringWidth,
212
212
  stripUnsafeCharacters,
213
213
  toCodePoints
214
- } from "./chunk-GIXFMPPJ.js";
214
+ } from "./chunk-2ARYG3KE.js";
215
215
  import {
216
216
  handleAutoUpdate,
217
217
  isDevelopment,
218
218
  relaunchApp,
219
219
  setUpdateHandler
220
- } from "./chunk-LUQGJPIY.js";
220
+ } from "./chunk-YI3KORH5.js";
221
221
  import {
222
222
  isTodoList,
223
223
  mapCoreStatusToDisplayStatus,
224
224
  require_react
225
- } from "./chunk-WPCNMQ6J.js";
225
+ } from "./chunk-HFVEWB6N.js";
226
226
  import {
227
227
  registerCleanup,
228
228
  removeCleanup,
229
229
  runExitCleanup,
230
230
  setupTtyCheck
231
- } from "./chunk-OY6QYVTR.js";
231
+ } from "./chunk-TWSSMLUS.js";
232
232
  import {
233
233
  ACTIVATE_SKILL_TOOL_NAME,
234
234
  AGENT_TOOL_NAME,
@@ -410,7 +410,7 @@ import {
410
410
  validatePlanContent,
411
411
  validatePlanPath,
412
412
  writeToStdout
413
- } from "./chunk-CWAXEILN.js";
413
+ } from "./chunk-N6QPQL7E.js";
414
414
  import "./chunk-6HI7VNOG.js";
415
415
  import "./chunk-TUDYL3X4.js";
416
416
  import "./chunk-IUUIT4SU.js";
@@ -33702,7 +33702,7 @@ ${queuedText}` : queuedText;
33702
33702
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33703
33703
  if (settings.merged.general.devtools) {
33704
33704
  void (async () => {
33705
- const { toggleDevToolsPanel } = await import("./devtoolsService-4Y2RGEUE.js");
33705
+ const { toggleDevToolsPanel } = await import("./devtoolsService-F7PHNBEQ.js");
33706
33706
  await toggleDevToolsPanel(
33707
33707
  config,
33708
33708
  showErrorDetails,
@@ -3,11 +3,11 @@ import {
3
3
  DEFAULT_PORT,
4
4
  getBinaryPath,
5
5
  isServerRunning
6
- } from "./chunk-GIXFMPPJ.js";
7
- import "./chunk-WPCNMQ6J.js";
6
+ } from "./chunk-EUYIPFPA.js";
7
+ import "./chunk-Z5F25543.js";
8
8
  import {
9
9
  debugLogger
10
- } from "./chunk-CWAXEILN.js";
10
+ } from "./chunk-6T7N6JF2.js";
11
11
  import "./chunk-6HI7VNOG.js";
12
12
  import "./chunk-TUDYL3X4.js";
13
13
  import "./chunk-IUUIT4SU.js";
@@ -41,7 +41,7 @@ var LiteRtServerManager = class {
41
41
  `[LiteRtServerManager] Auto-starting LiteRT server on port ${port}...`
42
42
  );
43
43
  try {
44
- const { startServer } = await import("./start-XLIGOOW3.js");
44
+ const { startServer } = await import("./start-66KF6MVV.js");
45
45
  const started = await startServer(binaryPath, port);
46
46
  if (started) {
47
47
  debugLogger.log(`[LiteRtServerManager] Server started on port ${port}`);