@google/gemini-cli 0.44.0-preview.0 → 0.44.1

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-326EQBHD.js → chunk-2QZ242SB.js} +2 -2
  2. package/bundle/{chunk-5ZIBLDCH.js → chunk-2RNN5IKN.js} +3 -3
  3. package/bundle/{chunk-FMXQEGXS.js → chunk-2TRS2XSC.js} +3 -3
  4. package/bundle/{chunk-MOUIYFJM.js → chunk-3MKV3WXO.js} +1 -1
  5. package/bundle/{chunk-OPDDZBB4.js → chunk-3QYYWWO5.js} +1 -1
  6. package/bundle/{chunk-SOE6HEQO.js → chunk-BY6KPC2S.js} +1 -1
  7. package/bundle/{chunk-HGXHITPW.js → chunk-EUUJXMAC.js} +1 -1
  8. package/bundle/{chunk-N5CF2V5P.js → chunk-GPVT36PL.js} +24 -13
  9. package/bundle/{chunk-VZ57CYFV.js → chunk-HJDQM7MS.js} +1 -1
  10. package/bundle/{chunk-PRNMRRLP.js → chunk-IUO2O72J.js} +1 -1
  11. package/bundle/{chunk-3MOAHK6M.js → chunk-JKG5PX7B.js} +3 -3
  12. package/bundle/{chunk-3EGGYEV5.js → chunk-K5HPOYC6.js} +7 -7
  13. package/bundle/{chunk-QUZV6LL5.js → chunk-KRMH5TSN.js} +1 -1
  14. package/bundle/{chunk-7UPUO4TX.js → chunk-LNSIEPG7.js} +26 -15
  15. package/bundle/{chunk-WJAEQDHM.js → chunk-PKWCD3JS.js} +7 -7
  16. package/bundle/{chunk-7FKLIOGC.js → chunk-QTEJYYEH.js} +1 -1
  17. package/bundle/{chunk-VB5GYLWM.js → chunk-S3UHTY2C.js} +1 -1
  18. package/bundle/{chunk-REV6YVPY.js → chunk-U3V2VC62.js} +2 -2
  19. package/bundle/{chunk-TAVL6PEW.js → chunk-V7PCIB4A.js} +1 -1
  20. package/bundle/{chunk-C6WVG2C3.js → chunk-VSBNCAAC.js} +26 -15
  21. package/bundle/{chunk-5ITV5DGV.js → chunk-ZKJDZRMZ.js} +1 -1
  22. package/bundle/{chunk-PZOZ3DIK.js → chunk-ZLOFKU7W.js} +2 -2
  23. package/bundle/{chunk-YDPMTI65.js → chunk-ZPHTHFVE.js} +7 -7
  24. package/bundle/{chunk-PRZYSUAU.js → chunk-ZXQMCRVW.js} +1 -1
  25. package/bundle/{cleanup-JBQ3DLIN.js → cleanup-5DBPEREC.js} +2 -2
  26. package/bundle/{cleanup-O2QAMCN2.js → cleanup-DJDHTJB4.js} +2 -2
  27. package/bundle/{cleanup-TSIQHDON.js → cleanup-OYQSHPZH.js} +2 -2
  28. package/bundle/{core-SEG4OLOR.js → core-A5XN7776.js} +1 -1
  29. package/bundle/{dist-33S367AM.js → core-O4KXDBKE.js} +1 -1
  30. package/bundle/{devtoolsService-PEGVFKHE.js → devtoolsService-2ELMEQLC.js} +2 -2
  31. package/bundle/{devtoolsService-GKQ263SX.js → devtoolsService-6QRZESX7.js} +2 -2
  32. package/bundle/{devtoolsService-QUX64EUC.js → devtoolsService-QMCCK7UI.js} +2 -2
  33. package/bundle/{core-RZI66LNV.js → dist-O7MW3RFF.js} +1 -1
  34. package/bundle/{gemini-HHTSU5JU.js → gemini-T3PINYWC.js} +14 -14
  35. package/bundle/{gemini-4N5BY6QZ.js → gemini-TB5QEKF7.js} +14 -14
  36. package/bundle/{gemini-DZXY3UC7.js → gemini-W3EZ4GOJ.js} +14 -14
  37. package/bundle/gemini.js +15 -9
  38. package/bundle/{interactiveCli-FIUB75B4.js → interactiveCli-NG4Y5IQE.js} +8 -8
  39. package/bundle/{interactiveCli-KCIN3SOY.js → interactiveCli-ULALGL4L.js} +8 -8
  40. package/bundle/{interactiveCli-BTR5T5E7.js → interactiveCli-ZTR75T4Y.js} +8 -8
  41. package/bundle/{liteRtServerManager-P6KAN5EE.js → liteRtServerManager-C4ADM3L2.js} +4 -4
  42. package/bundle/{liteRtServerManager-TFUIJXZG.js → liteRtServerManager-EW2BZHFH.js} +4 -4
  43. package/bundle/{liteRtServerManager-B76LJCU7.js → liteRtServerManager-GBVZZNDW.js} +4 -4
  44. package/bundle/{oauth2-provider-HKTSZFBG.js → oauth2-provider-53ZQYE4U.js} +1 -1
  45. package/bundle/{oauth2-provider-PUCSDVEL.js → oauth2-provider-IPRY6CGP.js} +1 -1
  46. package/bundle/{oauth2-provider-H3V6ETQ6.js → oauth2-provider-LYFWYHCI.js} +1 -1
  47. package/bundle/{start-GQ3FFR6Q.js → start-4ZVBGDBV.js} +6 -6
  48. package/bundle/{start-WGRFGZ3Z.js → start-GNXX372W.js} +6 -6
  49. package/bundle/{start-7YP2QQYY.js → start-J42YAGIH.js} +6 -6
  50. package/package.json +1 -1
@@ -1062,7 +1062,7 @@ import {
1062
1062
  wrapInAccountChooser,
1063
1063
  writeToStderr,
1064
1064
  writeToStdout
1065
- } from "./chunk-N5CF2V5P.js";
1065
+ } from "./chunk-LNSIEPG7.js";
1066
1066
  import "./chunk-6HI7VNOG.js";
1067
1067
  import "./chunk-TUDYL3X4.js";
1068
1068
  import {
@@ -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-7UPUO4TX.js";
5
+ } from "./chunk-LNSIEPG7.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-RZI66LNV.js");
824
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-O4KXDBKE.js");
825
825
  const url = await startDevToolsServer(config);
826
826
  if (shouldLaunchBrowser()) {
827
827
  try {
@@ -3,7 +3,7 @@ import {
3
3
  CoreEvent,
4
4
  coreEvents,
5
5
  debugLogger
6
- } from "./chunk-N5CF2V5P.js";
6
+ } from "./chunk-GPVT36PL.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-33S367AM.js");
825
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-O7MW3RFF.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-C6WVG2C3.js";
5
+ } from "./chunk-VSBNCAAC.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-SEG4OLOR.js");
824
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-A5XN7776.js");
825
825
  const url = await startDevToolsServer(config);
826
826
  if (shouldLaunchBrowser()) {
827
827
  try {
@@ -1062,7 +1062,7 @@ import {
1062
1062
  wrapInAccountChooser,
1063
1063
  writeToStderr,
1064
1064
  writeToStdout
1065
- } from "./chunk-7UPUO4TX.js";
1065
+ } from "./chunk-GPVT36PL.js";
1066
1066
  import "./chunk-6HI7VNOG.js";
1067
1067
  import "./chunk-TUDYL3X4.js";
1068
1068
  import {
@@ -41,18 +41,18 @@ import {
41
41
  updateAllUpdatableExtensions,
42
42
  updateExtension,
43
43
  validateAuthMethod
44
- } from "./chunk-WJAEQDHM.js";
44
+ } from "./chunk-PKWCD3JS.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-5ZIBLDCH.js";
51
+ } from "./chunk-2TRS2XSC.js";
52
52
  import {
53
53
  exitCli,
54
54
  require_source
55
- } from "./chunk-VB5GYLWM.js";
55
+ } from "./chunk-ZKJDZRMZ.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-OPDDZBB4.js";
89
+ } from "./chunk-3QYYWWO5.js";
90
90
  import {
91
91
  RELAUNCH_EXIT_CODE
92
- } from "./chunk-PZOZ3DIK.js";
93
- import "./chunk-7FKLIOGC.js";
92
+ } from "./chunk-U3V2VC62.js";
93
+ import "./chunk-QTEJYYEH.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-PRZYSUAU.js";
102
+ } from "./chunk-ZXQMCRVW.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-N5CF2V5P.js";
250
+ } from "./chunk-GPVT36PL.js";
251
251
  import "./chunk-6HI7VNOG.js";
252
252
  import "./chunk-TUDYL3X4.js";
253
253
  import "./chunk-IUUIT4SU.js";
@@ -7837,7 +7837,7 @@ async function loadSandboxConfig(settings, argv) {
7837
7837
  }
7838
7838
  const command2 = getSandboxCommand(sandboxValue);
7839
7839
  const packageJson = await getPackageJson(__dirname3);
7840
- const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.44.0-preview.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7840
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.44.1" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7841
7841
  const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
7842
7842
  return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
7843
7843
  }
@@ -10238,7 +10238,7 @@ async function runNonInteractive({
10238
10238
  }
10239
10239
  });
10240
10240
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
10241
- const { setupInitialActivityLogger } = await import("./devtoolsService-GKQ263SX.js");
10241
+ const { setupInitialActivityLogger } = await import("./devtoolsService-6QRZESX7.js");
10242
10242
  setupInitialActivityLogger(config);
10243
10243
  }
10244
10244
  const { stdout: workingStdout } = createWorkingStdio();
@@ -10709,7 +10709,7 @@ async function runNonInteractive2(params) {
10709
10709
  }
10710
10710
  });
10711
10711
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
10712
- const { setupInitialActivityLogger } = await import("./devtoolsService-GKQ263SX.js");
10712
+ const { setupInitialActivityLogger } = await import("./devtoolsService-6QRZESX7.js");
10713
10713
  setupInitialActivityLogger(config);
10714
10714
  }
10715
10715
  const { stdout: workingStdout } = createWorkingStdio();
@@ -15899,7 +15899,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
15899
15899
  }
15900
15900
  }
15901
15901
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
15902
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-BTR5T5E7.js");
15902
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-ZTR75T4Y.js");
15903
15903
  await doStartUI(
15904
15904
  config,
15905
15905
  settings,
@@ -16106,7 +16106,7 @@ ${finalArgs[promptIndex + 1]}`;
16106
16106
  await config.storage.initialize();
16107
16107
  adminControlsListner.setConfig(config);
16108
16108
  if (config.isInteractive() && settings.merged.general.devtools) {
16109
- const { setupInitialActivityLogger } = await import("./devtoolsService-GKQ263SX.js");
16109
+ const { setupInitialActivityLogger } = await import("./devtoolsService-6QRZESX7.js");
16110
16110
  setupInitialActivityLogger(config);
16111
16111
  }
16112
16112
  registerTelemetryConfig(config);
@@ -16165,7 +16165,7 @@ ${finalArgs[promptIndex + 1]}`;
16165
16165
  const initAppHandle = startupProfiler.start("initialize_app");
16166
16166
  const initializationResult = await initializeApp(config, settings);
16167
16167
  initAppHandle?.end();
16168
- import("./liteRtServerManager-P6KAN5EE.js").then(({ LiteRtServerManager }) => {
16168
+ import("./liteRtServerManager-EW2BZHFH.js").then(({ LiteRtServerManager }) => {
16169
16169
  const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
16170
16170
  if (!mergedGemma) return;
16171
16171
  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-YDPMTI65.js";
44
+ } from "./chunk-ZPHTHFVE.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-3MOAHK6M.js";
51
+ } from "./chunk-2RNN5IKN.js";
52
52
  import {
53
53
  exitCli,
54
54
  require_source
55
- } from "./chunk-HGXHITPW.js";
55
+ } from "./chunk-S3UHTY2C.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-MOUIYFJM.js";
89
+ } from "./chunk-HJDQM7MS.js";
90
90
  import {
91
91
  RELAUNCH_EXIT_CODE
92
- } from "./chunk-REV6YVPY.js";
93
- import "./chunk-SOE6HEQO.js";
92
+ } from "./chunk-ZLOFKU7W.js";
93
+ import "./chunk-BY6KPC2S.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-TAVL6PEW.js";
102
+ } from "./chunk-KRMH5TSN.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-7UPUO4TX.js";
234
+ } from "./chunk-LNSIEPG7.js";
235
235
  import "./chunk-6HI7VNOG.js";
236
236
  import "./chunk-TUDYL3X4.js";
237
237
  import "./chunk-IUUIT4SU.js";
@@ -7821,7 +7821,7 @@ async function loadSandboxConfig(settings, argv) {
7821
7821
  }
7822
7822
  const command2 = getSandboxCommand(sandboxValue);
7823
7823
  const packageJson = await getPackageJson(__dirname3);
7824
- const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.44.0-preview.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7824
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.44.1" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7825
7825
  const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
7826
7826
  return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
7827
7827
  }
@@ -10222,7 +10222,7 @@ async function runNonInteractive({
10222
10222
  }
10223
10223
  });
10224
10224
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
10225
- const { setupInitialActivityLogger } = await import("./devtoolsService-PEGVFKHE.js");
10225
+ const { setupInitialActivityLogger } = await import("./devtoolsService-2ELMEQLC.js");
10226
10226
  setupInitialActivityLogger(config);
10227
10227
  }
10228
10228
  const { stdout: workingStdout } = createWorkingStdio();
@@ -10693,7 +10693,7 @@ async function runNonInteractive2(params) {
10693
10693
  }
10694
10694
  });
10695
10695
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
10696
- const { setupInitialActivityLogger } = await import("./devtoolsService-PEGVFKHE.js");
10696
+ const { setupInitialActivityLogger } = await import("./devtoolsService-2ELMEQLC.js");
10697
10697
  setupInitialActivityLogger(config);
10698
10698
  }
10699
10699
  const { stdout: workingStdout } = createWorkingStdio();
@@ -15883,7 +15883,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
15883
15883
  }
15884
15884
  }
15885
15885
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
15886
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-KCIN3SOY.js");
15886
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-NG4Y5IQE.js");
15887
15887
  await doStartUI(
15888
15888
  config,
15889
15889
  settings,
@@ -16090,7 +16090,7 @@ ${finalArgs[promptIndex + 1]}`;
16090
16090
  await config.storage.initialize();
16091
16091
  adminControlsListner.setConfig(config);
16092
16092
  if (config.isInteractive() && settings.merged.general.devtools) {
16093
- const { setupInitialActivityLogger } = await import("./devtoolsService-PEGVFKHE.js");
16093
+ const { setupInitialActivityLogger } = await import("./devtoolsService-2ELMEQLC.js");
16094
16094
  setupInitialActivityLogger(config);
16095
16095
  }
16096
16096
  registerTelemetryConfig(config);
@@ -16149,7 +16149,7 @@ ${finalArgs[promptIndex + 1]}`;
16149
16149
  const initAppHandle = startupProfiler.start("initialize_app");
16150
16150
  const initializationResult = await initializeApp(config, settings);
16151
16151
  initAppHandle?.end();
16152
- import("./liteRtServerManager-TFUIJXZG.js").then(({ LiteRtServerManager }) => {
16152
+ import("./liteRtServerManager-GBVZZNDW.js").then(({ LiteRtServerManager }) => {
16153
16153
  const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
16154
16154
  if (!mergedGemma) return;
16155
16155
  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-3EGGYEV5.js";
44
+ } from "./chunk-K5HPOYC6.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-FMXQEGXS.js";
51
+ } from "./chunk-JKG5PX7B.js";
52
52
  import {
53
53
  exitCli,
54
54
  require_source
55
- } from "./chunk-5ITV5DGV.js";
55
+ } from "./chunk-EUUJXMAC.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-VZ57CYFV.js";
89
+ } from "./chunk-3MKV3WXO.js";
90
90
  import {
91
91
  RELAUNCH_EXIT_CODE
92
- } from "./chunk-326EQBHD.js";
93
- import "./chunk-PRNMRRLP.js";
92
+ } from "./chunk-2QZ242SB.js";
93
+ import "./chunk-IUO2O72J.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-QUZV6LL5.js";
102
+ } from "./chunk-V7PCIB4A.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-C6WVG2C3.js";
234
+ } from "./chunk-VSBNCAAC.js";
235
235
  import "./chunk-6HI7VNOG.js";
236
236
  import "./chunk-TUDYL3X4.js";
237
237
  import "./chunk-IUUIT4SU.js";
@@ -7821,7 +7821,7 @@ async function loadSandboxConfig(settings, argv) {
7821
7821
  }
7822
7822
  const command2 = getSandboxCommand(sandboxValue);
7823
7823
  const packageJson = await getPackageJson(__dirname3);
7824
- const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.44.0-nightly.20260521.g57c42a5c4" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7824
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.44.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7825
7825
  const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
7826
7826
  return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
7827
7827
  }
@@ -10222,7 +10222,7 @@ async function runNonInteractive({
10222
10222
  }
10223
10223
  });
10224
10224
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
10225
- const { setupInitialActivityLogger } = await import("./devtoolsService-QUX64EUC.js");
10225
+ const { setupInitialActivityLogger } = await import("./devtoolsService-QMCCK7UI.js");
10226
10226
  setupInitialActivityLogger(config);
10227
10227
  }
10228
10228
  const { stdout: workingStdout } = createWorkingStdio();
@@ -10693,7 +10693,7 @@ async function runNonInteractive2(params) {
10693
10693
  }
10694
10694
  });
10695
10695
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
10696
- const { setupInitialActivityLogger } = await import("./devtoolsService-QUX64EUC.js");
10696
+ const { setupInitialActivityLogger } = await import("./devtoolsService-QMCCK7UI.js");
10697
10697
  setupInitialActivityLogger(config);
10698
10698
  }
10699
10699
  const { stdout: workingStdout } = createWorkingStdio();
@@ -15883,7 +15883,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
15883
15883
  }
15884
15884
  }
15885
15885
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
15886
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-FIUB75B4.js");
15886
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-ULALGL4L.js");
15887
15887
  await doStartUI(
15888
15888
  config,
15889
15889
  settings,
@@ -16090,7 +16090,7 @@ ${finalArgs[promptIndex + 1]}`;
16090
16090
  await config.storage.initialize();
16091
16091
  adminControlsListner.setConfig(config);
16092
16092
  if (config.isInteractive() && settings.merged.general.devtools) {
16093
- const { setupInitialActivityLogger } = await import("./devtoolsService-QUX64EUC.js");
16093
+ const { setupInitialActivityLogger } = await import("./devtoolsService-QMCCK7UI.js");
16094
16094
  setupInitialActivityLogger(config);
16095
16095
  }
16096
16096
  registerTelemetryConfig(config);
@@ -16149,7 +16149,7 @@ ${finalArgs[promptIndex + 1]}`;
16149
16149
  const initAppHandle = startupProfiler.start("initialize_app");
16150
16150
  const initializationResult = await initializeApp(config, settings);
16151
16151
  initAppHandle?.end();
16152
- import("./liteRtServerManager-B76LJCU7.js").then(({ LiteRtServerManager }) => {
16152
+ import("./liteRtServerManager-C4ADM3L2.js").then(({ LiteRtServerManager }) => {
16153
16153
  const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
16154
16154
  if (!mergedGemma) return;
16155
16155
  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-PZOZ3DIK.js";
8
- import "./chunk-7FKLIOGC.js";
9
- import "./chunk-PRZYSUAU.js";
10
- import "./chunk-N5CF2V5P.js";
7
+ } from "./chunk-U3V2VC62.js";
8
+ import "./chunk-QTEJYYEH.js";
9
+ import "./chunk-ZXQMCRVW.js";
10
+ import "./chunk-GPVT36PL.js";
11
11
  import "./chunk-6HI7VNOG.js";
12
12
  import "./chunk-TUDYL3X4.js";
13
13
  import "./chunk-IUUIT4SU.js";
@@ -18,8 +18,14 @@ import { spawn } from "node:child_process";
18
18
  import os from "node:os";
19
19
  import v8 from "node:v8";
20
20
  process.on("uncaughtException", (error) => {
21
- if (process.platform === "win32" && error instanceof Error && error.message === "Cannot resize a pty that has already exited") {
22
- return;
21
+ if (error instanceof Error) {
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";
25
+ const isFromNodePty = error.stack?.includes("node-pty") || error.stack?.includes("PtyResize");
26
+ if ((isPtyResizeError || isEbadfError) && isFromNodePty) {
27
+ return;
28
+ }
23
29
  }
24
30
  if (error instanceof Error) {
25
31
  process.stderr.write(error.stack + "\n");
@@ -109,9 +115,9 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
109
115
  }
110
116
  }
111
117
  } else {
112
- const { main } = await import("./gemini-HHTSU5JU.js");
113
- const { FatalError, writeToStderr } = await import("./dist-33S367AM.js");
114
- const { runExitCleanup } = await import("./cleanup-TSIQHDON.js");
118
+ const { main } = await import("./gemini-T3PINYWC.js");
119
+ const { FatalError, writeToStderr } = await import("./dist-O7MW3RFF.js");
120
+ const { runExitCleanup } = await import("./cleanup-5DBPEREC.js");
115
121
  main().catch(async (error) => {
116
122
  const cleanupTimeout = setTimeout(() => {
117
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-3EGGYEV5.js";
158
+ } from "./chunk-ZPHTHFVE.js";
159
159
  import {
160
160
  appEvents
161
161
  } from "./chunk-5PS3AYFU.js";
162
162
  import {
163
163
  require_source
164
- } from "./chunk-5ITV5DGV.js";
164
+ } from "./chunk-S3UHTY2C.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-VZ57CYFV.js";
214
+ } from "./chunk-HJDQM7MS.js";
215
215
  import {
216
216
  handleAutoUpdate,
217
217
  isDevelopment,
218
218
  relaunchApp,
219
219
  setUpdateHandler
220
- } from "./chunk-326EQBHD.js";
220
+ } from "./chunk-ZLOFKU7W.js";
221
221
  import {
222
222
  isTodoList,
223
223
  mapCoreStatusToDisplayStatus,
224
224
  require_react
225
- } from "./chunk-PRNMRRLP.js";
225
+ } from "./chunk-BY6KPC2S.js";
226
226
  import {
227
227
  registerCleanup,
228
228
  removeCleanup,
229
229
  runExitCleanup,
230
230
  setupTtyCheck
231
- } from "./chunk-QUZV6LL5.js";
231
+ } from "./chunk-KRMH5TSN.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-C6WVG2C3.js";
413
+ } from "./chunk-LNSIEPG7.js";
414
414
  import "./chunk-6HI7VNOG.js";
415
415
  import "./chunk-TUDYL3X4.js";
416
416
  import "./chunk-IUUIT4SU.js";
@@ -33726,7 +33726,7 @@ ${queuedText}` : queuedText;
33726
33726
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33727
33727
  if (settings.merged.general.devtools) {
33728
33728
  void (async () => {
33729
- const { toggleDevToolsPanel } = await import("./devtoolsService-QUX64EUC.js");
33729
+ const { toggleDevToolsPanel } = await import("./devtoolsService-2ELMEQLC.js");
33730
33730
  await toggleDevToolsPanel(
33731
33731
  config,
33732
33732
  showErrorDetails,
@@ -155,13 +155,13 @@ import {
155
155
  widestLineFromStyledChars,
156
156
  wordBreakStyledChars,
157
157
  wrapStyledChars
158
- } from "./chunk-YDPMTI65.js";
158
+ } from "./chunk-K5HPOYC6.js";
159
159
  import {
160
160
  appEvents
161
161
  } from "./chunk-5PS3AYFU.js";
162
162
  import {
163
163
  require_source
164
- } from "./chunk-HGXHITPW.js";
164
+ } from "./chunk-EUUJXMAC.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-MOUIYFJM.js";
214
+ } from "./chunk-3MKV3WXO.js";
215
215
  import {
216
216
  handleAutoUpdate,
217
217
  isDevelopment,
218
218
  relaunchApp,
219
219
  setUpdateHandler
220
- } from "./chunk-REV6YVPY.js";
220
+ } from "./chunk-2QZ242SB.js";
221
221
  import {
222
222
  isTodoList,
223
223
  mapCoreStatusToDisplayStatus,
224
224
  require_react
225
- } from "./chunk-SOE6HEQO.js";
225
+ } from "./chunk-IUO2O72J.js";
226
226
  import {
227
227
  registerCleanup,
228
228
  removeCleanup,
229
229
  runExitCleanup,
230
230
  setupTtyCheck
231
- } from "./chunk-TAVL6PEW.js";
231
+ } from "./chunk-V7PCIB4A.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-7UPUO4TX.js";
413
+ } from "./chunk-VSBNCAAC.js";
414
414
  import "./chunk-6HI7VNOG.js";
415
415
  import "./chunk-TUDYL3X4.js";
416
416
  import "./chunk-IUUIT4SU.js";
@@ -33726,7 +33726,7 @@ ${queuedText}` : queuedText;
33726
33726
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33727
33727
  if (settings.merged.general.devtools) {
33728
33728
  void (async () => {
33729
- const { toggleDevToolsPanel } = await import("./devtoolsService-PEGVFKHE.js");
33729
+ const { toggleDevToolsPanel } = await import("./devtoolsService-QMCCK7UI.js");
33730
33730
  await toggleDevToolsPanel(
33731
33731
  config,
33732
33732
  showErrorDetails,
@@ -155,13 +155,13 @@ import {
155
155
  widestLineFromStyledChars,
156
156
  wordBreakStyledChars,
157
157
  wrapStyledChars
158
- } from "./chunk-WJAEQDHM.js";
158
+ } from "./chunk-PKWCD3JS.js";
159
159
  import {
160
160
  appEvents
161
161
  } from "./chunk-5PS3AYFU.js";
162
162
  import {
163
163
  require_source
164
- } from "./chunk-VB5GYLWM.js";
164
+ } from "./chunk-ZKJDZRMZ.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-OPDDZBB4.js";
214
+ } from "./chunk-3QYYWWO5.js";
215
215
  import {
216
216
  handleAutoUpdate,
217
217
  isDevelopment,
218
218
  relaunchApp,
219
219
  setUpdateHandler
220
- } from "./chunk-PZOZ3DIK.js";
220
+ } from "./chunk-U3V2VC62.js";
221
221
  import {
222
222
  isTodoList,
223
223
  mapCoreStatusToDisplayStatus,
224
224
  require_react
225
- } from "./chunk-7FKLIOGC.js";
225
+ } from "./chunk-QTEJYYEH.js";
226
226
  import {
227
227
  registerCleanup,
228
228
  removeCleanup,
229
229
  runExitCleanup,
230
230
  setupTtyCheck
231
- } from "./chunk-PRZYSUAU.js";
231
+ } from "./chunk-ZXQMCRVW.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-N5CF2V5P.js";
432
+ } from "./chunk-GPVT36PL.js";
433
433
  import "./chunk-6HI7VNOG.js";
434
434
  import "./chunk-TUDYL3X4.js";
435
435
  import "./chunk-IUUIT4SU.js";
@@ -33745,7 +33745,7 @@ ${queuedText}` : queuedText;
33745
33745
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
33746
33746
  if (settings.merged.general.devtools) {
33747
33747
  void (async () => {
33748
- const { toggleDevToolsPanel } = await import("./devtoolsService-GKQ263SX.js");
33748
+ const { toggleDevToolsPanel } = await import("./devtoolsService-6QRZESX7.js");
33749
33749
  await toggleDevToolsPanel(
33750
33750
  config,
33751
33751
  showErrorDetails,
@@ -3,11 +3,11 @@ import {
3
3
  DEFAULT_PORT,
4
4
  getBinaryPath,
5
5
  isServerRunning
6
- } from "./chunk-OPDDZBB4.js";
7
- import "./chunk-7FKLIOGC.js";
6
+ } from "./chunk-3MKV3WXO.js";
7
+ import "./chunk-IUO2O72J.js";
8
8
  import {
9
9
  debugLogger
10
- } from "./chunk-N5CF2V5P.js";
10
+ } from "./chunk-VSBNCAAC.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-GQ3FFR6Q.js");
44
+ const { startServer } = await import("./start-GNXX372W.js");
45
45
  const started = await startServer(binaryPath, port);
46
46
  if (started) {
47
47
  debugLogger.log(`[LiteRtServerManager] Server started on port ${port}`);