@google/gemini-cli 0.71.0-preview.0 → 0.72.0-preview.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 (58) hide show
  1. package/bundle/{chunk-7YXHVH7Y.js → chunk-2LHOWVR4.js} +12 -5
  2. package/bundle/{chunk-UTK4LRWO.js → chunk-357SHFSP.js} +1 -1
  3. package/bundle/{chunk-AQXZKJST.js → chunk-5URPLR2H.js} +1 -1
  4. package/bundle/{chunk-BTH7KEMH.js → chunk-7554FKWM.js} +40 -7
  5. package/bundle/{chunk-Y6WF3A3Q.js → chunk-7ZTBMXIU.js} +12 -5
  6. package/bundle/{chunk-532N7TZB.js → chunk-AJWHZBWZ.js} +12 -5
  7. package/bundle/{chunk-YQO7IBVQ.js → chunk-BRYTKVAX.js} +35 -7
  8. package/bundle/{chunk-DPAMHBTE.js → chunk-BZ5FSDRR.js} +3 -3
  9. package/bundle/{chunk-QQNZHLIF.js → chunk-CIX33OUZ.js} +2 -2
  10. package/bundle/{chunk-3XHFESDF.js → chunk-DDPEWL4G.js} +1 -1
  11. package/bundle/{chunk-AJZTZFAS.js → chunk-DIMNI6AC.js} +2 -2
  12. package/bundle/{chunk-DCBU7GEJ.js → chunk-ENSJIXBN.js} +1 -1
  13. package/bundle/{chunk-7UJSGYFD.js → chunk-EUWUJXIY.js} +1 -1
  14. package/bundle/{chunk-NQGCTXGR.js → chunk-IGFGTPGV.js} +1 -1
  15. package/bundle/{chunk-EERY2AEY.js → chunk-JTWV2RYT.js} +1 -1
  16. package/bundle/{chunk-IBD2PLWE.js → chunk-MNOSCPOM.js} +7 -7
  17. package/bundle/{chunk-VIXTMKUM.js → chunk-N4ZMA5CZ.js} +1 -1
  18. package/bundle/{chunk-LGRO4U3O.js → chunk-QESC7SGF.js} +7 -7
  19. package/bundle/{chunk-NATMLC5X.js → chunk-SJKJH5QA.js} +1 -1
  20. package/bundle/{chunk-FUOK6VUJ.js → chunk-SMYIRL3Y.js} +3 -3
  21. package/bundle/{chunk-6E6XAAYL.js → chunk-TLQ4STKV.js} +7 -7
  22. package/bundle/{chunk-NMOD2T37.js → chunk-UUAR3JIA.js} +2 -2
  23. package/bundle/{chunk-W7J7YSH2.js → chunk-WHSJKDVL.js} +1 -1
  24. package/bundle/{chunk-QGOT25K4.js → chunk-XER4IQTC.js} +1 -1
  25. package/bundle/{chunk-KSDBDSBI.js → chunk-Y2AE7RGI.js} +1 -1
  26. package/bundle/{chunk-JJNQ5PWH.js → chunk-YFNHROPZ.js} +40 -7
  27. package/bundle/{chunk-5SC43MXU.js → chunk-Z4LLSOJM.js} +3 -3
  28. package/bundle/{cleanup-4WL7SSTL.js → cleanup-A7CTJL7Z.js} +2 -2
  29. package/bundle/{cleanup-62ECCOLP.js → cleanup-ACKRM2TX.js} +2 -2
  30. package/bundle/{cleanup-JWSUGSQB.js → cleanup-DSTWENO3.js} +2 -2
  31. package/bundle/{core-NP64K3HR.js → core-3V44EMV6.js} +1 -1
  32. package/bundle/{dist-AAGC2327.js → core-UF6OK2YN.js} +1 -1
  33. package/bundle/{devtoolsService-DWVXCWJ7.js → devtoolsService-7MR7MUMD.js} +2 -2
  34. package/bundle/{devtoolsService-XMEVE7R4.js → devtoolsService-NP7EGEMK.js} +2 -2
  35. package/bundle/{devtoolsService-3G6P4EBB.js → devtoolsService-Q5HYPUU7.js} +2 -2
  36. package/bundle/{core-6V72TKM3.js → dist-J3MSC3FF.js} +1 -1
  37. package/bundle/docs/changelogs/index.md +23 -0
  38. package/bundle/docs/changelogs/latest.md +78 -110
  39. package/bundle/{formatError-P6NGVTF2.js → formatError-EFFRJTZP.js} +2 -2
  40. package/bundle/{formatError-QS36O76I.js → formatError-RG2BTO6O.js} +2 -2
  41. package/bundle/{formatError-7YP6B7ZW.js → formatError-RZ6FNHFK.js} +2 -2
  42. package/bundle/{gemini-AC4RONBV.js → gemini-5N7SJRYD.js} +18 -17
  43. package/bundle/{gemini-3VVVLE4J.js → gemini-DQYZ2M5M.js} +17 -16
  44. package/bundle/{gemini-TY6A5Q5C.js → gemini-NGMQM6D3.js} +18 -17
  45. package/bundle/gemini.js +8 -8
  46. package/bundle/{interactiveCli-AO75ICTD.js → interactiveCli-3QAMPJPK.js} +8 -8
  47. package/bundle/{interactiveCli-BHEEEW2H.js → interactiveCli-DBUWQW3L.js} +8 -8
  48. package/bundle/{interactiveCli-XULKUHW4.js → interactiveCli-M2IE6ZF4.js} +8 -8
  49. package/bundle/{liteRtServerManager-DRZ6V4ZL.js → liteRtServerManager-LX6B5CI3.js} +4 -4
  50. package/bundle/{liteRtServerManager-7VEEHSC6.js → liteRtServerManager-TI6LO5RU.js} +4 -4
  51. package/bundle/{liteRtServerManager-GFU4D3JF.js → liteRtServerManager-TW3MMGOA.js} +4 -4
  52. package/bundle/{oauth2-provider-YZI5V6PH.js → oauth2-provider-2JRAM5FI.js} +1 -1
  53. package/bundle/{oauth2-provider-S7DQJKA5.js → oauth2-provider-3PBBHV75.js} +1 -1
  54. package/bundle/{oauth2-provider-XYK3N74K.js → oauth2-provider-PG5AFZDD.js} +1 -1
  55. package/bundle/{start-JGS6ZUFX.js → start-2XM3XTTW.js} +6 -6
  56. package/bundle/{start-QQTZCWPJ.js → start-HGHTVHPT.js} +6 -6
  57. package/bundle/{start-EMZSUYV6.js → start-TDNB5CJ6.js} +6 -6
  58. package/package.json +1 -1
@@ -2,10 +2,10 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  startCommand,
4
4
  startServer
5
- } from "./chunk-5SC43MXU.js";
5
+ } from "./chunk-Z4LLSOJM.js";
6
6
  import {
7
7
  formatCliError
8
- } from "./chunk-QGOT25K4.js";
8
+ } from "./chunk-5URPLR2H.js";
9
9
  import {
10
10
  BuiltinCommandLoader,
11
11
  CommandService,
@@ -49,11 +49,11 @@ import {
49
49
  updateExtension,
50
50
  validateAuthMethod,
51
51
  validateContextFilePath
52
- } from "./chunk-LGRO4U3O.js";
52
+ } from "./chunk-QESC7SGF.js";
53
53
  import {
54
54
  exitCli,
55
55
  require_source
56
- } from "./chunk-7UJSGYFD.js";
56
+ } from "./chunk-EUWUJXIY.js";
57
57
  import {
58
58
  appEvents
59
59
  } from "./chunk-5PS3AYFU.js";
@@ -93,13 +93,13 @@ import {
93
93
  saveModelChange,
94
94
  setAmbiguousCharactersWide,
95
95
  stripAnsi
96
- } from "./chunk-532N7TZB.js";
96
+ } from "./chunk-2LHOWVR4.js";
97
97
  import {
98
98
  RELAUNCH_EXIT_CODE,
99
99
  isIPCAvailable,
100
100
  require_semver
101
- } from "./chunk-AJZTZFAS.js";
102
- import "./chunk-EERY2AEY.js";
101
+ } from "./chunk-UUAR3JIA.js";
102
+ import "./chunk-Y2AE7RGI.js";
103
103
  import {
104
104
  cleanupCheckpoints,
105
105
  registerCleanup,
@@ -108,7 +108,7 @@ import {
108
108
  runExitCleanup,
109
109
  runSyncCleanup,
110
110
  setupSignalHandlers
111
- } from "./chunk-NQGCTXGR.js";
111
+ } from "./chunk-DDPEWL4G.js";
112
112
  import {
113
113
  ASK_USER_TOOL_NAME,
114
114
  AjvJsonSchemaValidator,
@@ -290,7 +290,7 @@ import {
290
290
  updatePolicy,
291
291
  writeToStderr,
292
292
  writeToStdout
293
- } from "./chunk-JJNQ5PWH.js";
293
+ } from "./chunk-7554FKWM.js";
294
294
  import "./chunk-W2AJR23G.js";
295
295
  import "./chunk-N7J54YNL.js";
296
296
  import "./chunk-L6PII3GR.js";
@@ -8456,7 +8456,7 @@ async function loadSandboxConfig(settings, argv) {
8456
8456
  }
8457
8457
  const command2 = getSandboxCommand(sandboxValue);
8458
8458
  const packageJson = await getPackageJson(__dirname3);
8459
- const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.71.0-preview.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
8459
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.72.0-preview.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
8460
8460
  const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
8461
8461
  return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
8462
8462
  }
@@ -8470,10 +8470,11 @@ function resolvePath(p) {
8470
8470
  let expandedPath = p;
8471
8471
  if (p.toLowerCase().startsWith("%userprofile%")) {
8472
8472
  expandedPath = homedir() + p.substring("%userprofile%".length);
8473
- } else if (p === "~" || p.startsWith("~/")) {
8473
+ } else if (p === "~" || p.startsWith("~/") || process.platform === "win32" && p.startsWith("~\\")) {
8474
8474
  expandedPath = homedir() + p.substring(1);
8475
8475
  }
8476
- return path7.normalize(expandedPath);
8476
+ const pathModule = process.platform === "win32" ? path7.win32 : path7.posix;
8477
+ return pathModule.normalize(expandedPath);
8477
8478
  }
8478
8479
 
8479
8480
  // packages/cli/src/config/policy.ts
@@ -13640,7 +13641,7 @@ async function runNonInteractive({
13640
13641
  }
13641
13642
  });
13642
13643
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
13643
- const { setupInitialActivityLogger } = await import("./devtoolsService-XMEVE7R4.js");
13644
+ const { setupInitialActivityLogger } = await import("./devtoolsService-NP7EGEMK.js");
13644
13645
  setupInitialActivityLogger(config);
13645
13646
  }
13646
13647
  const { stdout: workingStdout } = createWorkingStdio();
@@ -14181,7 +14182,7 @@ async function runNonInteractive2(params) {
14181
14182
  }
14182
14183
  });
14183
14184
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
14184
- const { setupInitialActivityLogger } = await import("./devtoolsService-XMEVE7R4.js");
14185
+ const { setupInitialActivityLogger } = await import("./devtoolsService-NP7EGEMK.js");
14185
14186
  setupInitialActivityLogger(config);
14186
14187
  }
14187
14188
  const { stdout: workingStdout } = createWorkingStdio();
@@ -19462,7 +19463,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
19462
19463
  }
19463
19464
  }
19464
19465
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
19465
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-AO75ICTD.js");
19466
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-3QAMPJPK.js");
19466
19467
  await doStartUI(
19467
19468
  config,
19468
19469
  settings,
@@ -19697,7 +19698,7 @@ ${finalArgs[promptIndex + 1]}`;
19697
19698
  await config.storage.initialize();
19698
19699
  adminControlsListner.setConfig(config);
19699
19700
  if (config.isInteractive() && settings.merged.general.devtools) {
19700
- const { setupInitialActivityLogger } = await import("./devtoolsService-XMEVE7R4.js");
19701
+ const { setupInitialActivityLogger } = await import("./devtoolsService-NP7EGEMK.js");
19701
19702
  setupInitialActivityLogger(config);
19702
19703
  }
19703
19704
  registerTelemetryConfig(config);
@@ -19756,7 +19757,7 @@ ${finalArgs[promptIndex + 1]}`;
19756
19757
  const initAppHandle = startupProfiler.start("initialize_app");
19757
19758
  const initializationResult = await initializeApp(config, settings);
19758
19759
  initAppHandle?.end();
19759
- import("./liteRtServerManager-GFU4D3JF.js").then(({ LiteRtServerManager }) => {
19760
+ import("./liteRtServerManager-TI6LO5RU.js").then(({ LiteRtServerManager }) => {
19760
19761
  const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
19761
19762
  if (!mergedGemma) return;
19762
19763
  const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
@@ -2,10 +2,10 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  startCommand,
4
4
  startServer
5
- } from "./chunk-FUOK6VUJ.js";
5
+ } from "./chunk-BZ5FSDRR.js";
6
6
  import {
7
7
  formatCliError
8
- } from "./chunk-AQXZKJST.js";
8
+ } from "./chunk-XER4IQTC.js";
9
9
  import {
10
10
  BuiltinCommandLoader,
11
11
  CommandService,
@@ -49,11 +49,11 @@ import {
49
49
  updateExtension,
50
50
  validateAuthMethod,
51
51
  validateContextFilePath
52
- } from "./chunk-6E6XAAYL.js";
52
+ } from "./chunk-TLQ4STKV.js";
53
53
  import {
54
54
  exitCli,
55
55
  require_source
56
- } from "./chunk-NATMLC5X.js";
56
+ } from "./chunk-SJKJH5QA.js";
57
57
  import {
58
58
  appEvents
59
59
  } from "./chunk-5PS3AYFU.js";
@@ -93,13 +93,13 @@ import {
93
93
  saveModelChange,
94
94
  setAmbiguousCharactersWide,
95
95
  stripAnsi
96
- } from "./chunk-7YXHVH7Y.js";
96
+ } from "./chunk-AJWHZBWZ.js";
97
97
  import {
98
98
  RELAUNCH_EXIT_CODE,
99
99
  isIPCAvailable,
100
100
  require_semver
101
- } from "./chunk-QQNZHLIF.js";
102
- import "./chunk-KSDBDSBI.js";
101
+ } from "./chunk-DIMNI6AC.js";
102
+ import "./chunk-JTWV2RYT.js";
103
103
  import {
104
104
  cleanupCheckpoints,
105
105
  registerCleanup,
@@ -108,7 +108,7 @@ import {
108
108
  runExitCleanup,
109
109
  runSyncCleanup,
110
110
  setupSignalHandlers
111
- } from "./chunk-W7J7YSH2.js";
111
+ } from "./chunk-WHSJKDVL.js";
112
112
  import {
113
113
  ASK_USER_TOOL_NAME,
114
114
  AjvJsonSchemaValidator,
@@ -290,7 +290,7 @@ import {
290
290
  updatePolicy,
291
291
  writeToStderr,
292
292
  writeToStdout
293
- } from "./chunk-BTH7KEMH.js";
293
+ } from "./chunk-YFNHROPZ.js";
294
294
  import "./chunk-W2AJR23G.js";
295
295
  import "./chunk-N7J54YNL.js";
296
296
  import "./chunk-L6PII3GR.js";
@@ -8470,10 +8470,11 @@ function resolvePath(p) {
8470
8470
  let expandedPath = p;
8471
8471
  if (p.toLowerCase().startsWith("%userprofile%")) {
8472
8472
  expandedPath = homedir() + p.substring("%userprofile%".length);
8473
- } else if (p === "~" || p.startsWith("~/")) {
8473
+ } else if (p === "~" || p.startsWith("~/") || process.platform === "win32" && p.startsWith("~\\")) {
8474
8474
  expandedPath = homedir() + p.substring(1);
8475
8475
  }
8476
- return path7.normalize(expandedPath);
8476
+ const pathModule = process.platform === "win32" ? path7.win32 : path7.posix;
8477
+ return pathModule.normalize(expandedPath);
8477
8478
  }
8478
8479
 
8479
8480
  // packages/cli/src/config/policy.ts
@@ -13640,7 +13641,7 @@ async function runNonInteractive({
13640
13641
  }
13641
13642
  });
13642
13643
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
13643
- const { setupInitialActivityLogger } = await import("./devtoolsService-3G6P4EBB.js");
13644
+ const { setupInitialActivityLogger } = await import("./devtoolsService-Q5HYPUU7.js");
13644
13645
  setupInitialActivityLogger(config);
13645
13646
  }
13646
13647
  const { stdout: workingStdout } = createWorkingStdio();
@@ -14181,7 +14182,7 @@ async function runNonInteractive2(params) {
14181
14182
  }
14182
14183
  });
14183
14184
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
14184
- const { setupInitialActivityLogger } = await import("./devtoolsService-3G6P4EBB.js");
14185
+ const { setupInitialActivityLogger } = await import("./devtoolsService-Q5HYPUU7.js");
14185
14186
  setupInitialActivityLogger(config);
14186
14187
  }
14187
14188
  const { stdout: workingStdout } = createWorkingStdio();
@@ -19462,7 +19463,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
19462
19463
  }
19463
19464
  }
19464
19465
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
19465
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-BHEEEW2H.js");
19466
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-DBUWQW3L.js");
19466
19467
  await doStartUI(
19467
19468
  config,
19468
19469
  settings,
@@ -19697,7 +19698,7 @@ ${finalArgs[promptIndex + 1]}`;
19697
19698
  await config.storage.initialize();
19698
19699
  adminControlsListner.setConfig(config);
19699
19700
  if (config.isInteractive() && settings.merged.general.devtools) {
19700
- const { setupInitialActivityLogger } = await import("./devtoolsService-3G6P4EBB.js");
19701
+ const { setupInitialActivityLogger } = await import("./devtoolsService-Q5HYPUU7.js");
19701
19702
  setupInitialActivityLogger(config);
19702
19703
  }
19703
19704
  registerTelemetryConfig(config);
@@ -19756,7 +19757,7 @@ ${finalArgs[promptIndex + 1]}`;
19756
19757
  const initAppHandle = startupProfiler.start("initialize_app");
19757
19758
  const initializationResult = await initializeApp(config, settings);
19758
19759
  initAppHandle?.end();
19759
- import("./liteRtServerManager-7VEEHSC6.js").then(({ LiteRtServerManager }) => {
19760
+ import("./liteRtServerManager-TW3MMGOA.js").then(({ LiteRtServerManager }) => {
19760
19761
  const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
19761
19762
  if (!mergedGemma) return;
19762
19763
  const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
@@ -2,10 +2,10 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  startCommand,
4
4
  startServer
5
- } from "./chunk-DPAMHBTE.js";
5
+ } from "./chunk-SMYIRL3Y.js";
6
6
  import {
7
7
  formatCliError
8
- } from "./chunk-DCBU7GEJ.js";
8
+ } from "./chunk-ENSJIXBN.js";
9
9
  import {
10
10
  BuiltinCommandLoader,
11
11
  CommandService,
@@ -49,11 +49,11 @@ import {
49
49
  updateExtension,
50
50
  validateAuthMethod,
51
51
  validateContextFilePath
52
- } from "./chunk-IBD2PLWE.js";
52
+ } from "./chunk-MNOSCPOM.js";
53
53
  import {
54
54
  exitCli,
55
55
  require_source
56
- } from "./chunk-VIXTMKUM.js";
56
+ } from "./chunk-N4ZMA5CZ.js";
57
57
  import {
58
58
  appEvents
59
59
  } from "./chunk-5PS3AYFU.js";
@@ -93,13 +93,13 @@ import {
93
93
  saveModelChange,
94
94
  setAmbiguousCharactersWide,
95
95
  stripAnsi
96
- } from "./chunk-Y6WF3A3Q.js";
96
+ } from "./chunk-7ZTBMXIU.js";
97
97
  import {
98
98
  RELAUNCH_EXIT_CODE,
99
99
  isIPCAvailable,
100
100
  require_semver
101
- } from "./chunk-NMOD2T37.js";
102
- import "./chunk-UTK4LRWO.js";
101
+ } from "./chunk-CIX33OUZ.js";
102
+ import "./chunk-357SHFSP.js";
103
103
  import {
104
104
  cleanupCheckpoints,
105
105
  registerCleanup,
@@ -108,7 +108,7 @@ import {
108
108
  runExitCleanup,
109
109
  runSyncCleanup,
110
110
  setupSignalHandlers
111
- } from "./chunk-3XHFESDF.js";
111
+ } from "./chunk-IGFGTPGV.js";
112
112
  import {
113
113
  ASK_USER_TOOL_NAME,
114
114
  AjvJsonSchemaValidator,
@@ -306,7 +306,7 @@ import {
306
306
  updatePolicy,
307
307
  writeToStderr,
308
308
  writeToStdout
309
- } from "./chunk-YQO7IBVQ.js";
309
+ } from "./chunk-BRYTKVAX.js";
310
310
  import "./chunk-W2AJR23G.js";
311
311
  import "./chunk-N7J54YNL.js";
312
312
  import "./chunk-L6PII3GR.js";
@@ -8472,7 +8472,7 @@ async function loadSandboxConfig(settings, argv) {
8472
8472
  }
8473
8473
  const command2 = getSandboxCommand(sandboxValue);
8474
8474
  const packageJson = await getPackageJson(__dirname3);
8475
- const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.71.0-preview.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
8475
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.72.0-preview.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
8476
8476
  const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
8477
8477
  return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
8478
8478
  }
@@ -8486,10 +8486,11 @@ function resolvePath(p) {
8486
8486
  let expandedPath = p;
8487
8487
  if (p.toLowerCase().startsWith("%userprofile%")) {
8488
8488
  expandedPath = homedir() + p.substring("%userprofile%".length);
8489
- } else if (p === "~" || p.startsWith("~/")) {
8489
+ } else if (p === "~" || p.startsWith("~/") || process.platform === "win32" && p.startsWith("~\\")) {
8490
8490
  expandedPath = homedir() + p.substring(1);
8491
8491
  }
8492
- return path7.normalize(expandedPath);
8492
+ const pathModule = process.platform === "win32" ? path7.win32 : path7.posix;
8493
+ return pathModule.normalize(expandedPath);
8493
8494
  }
8494
8495
 
8495
8496
  // packages/cli/src/config/policy.ts
@@ -13656,7 +13657,7 @@ async function runNonInteractive({
13656
13657
  }
13657
13658
  });
13658
13659
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
13659
- const { setupInitialActivityLogger } = await import("./devtoolsService-DWVXCWJ7.js");
13660
+ const { setupInitialActivityLogger } = await import("./devtoolsService-7MR7MUMD.js");
13660
13661
  setupInitialActivityLogger(config);
13661
13662
  }
13662
13663
  const { stdout: workingStdout } = createWorkingStdio();
@@ -14197,7 +14198,7 @@ async function runNonInteractive2(params) {
14197
14198
  }
14198
14199
  });
14199
14200
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
14200
- const { setupInitialActivityLogger } = await import("./devtoolsService-DWVXCWJ7.js");
14201
+ const { setupInitialActivityLogger } = await import("./devtoolsService-7MR7MUMD.js");
14201
14202
  setupInitialActivityLogger(config);
14202
14203
  }
14203
14204
  const { stdout: workingStdout } = createWorkingStdio();
@@ -19478,7 +19479,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
19478
19479
  }
19479
19480
  }
19480
19481
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
19481
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-XULKUHW4.js");
19482
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-M2IE6ZF4.js");
19482
19483
  await doStartUI(
19483
19484
  config,
19484
19485
  settings,
@@ -19713,7 +19714,7 @@ ${finalArgs[promptIndex + 1]}`;
19713
19714
  await config.storage.initialize();
19714
19715
  adminControlsListner.setConfig(config);
19715
19716
  if (config.isInteractive() && settings.merged.general.devtools) {
19716
- const { setupInitialActivityLogger } = await import("./devtoolsService-DWVXCWJ7.js");
19717
+ const { setupInitialActivityLogger } = await import("./devtoolsService-7MR7MUMD.js");
19717
19718
  setupInitialActivityLogger(config);
19718
19719
  }
19719
19720
  registerTelemetryConfig(config);
@@ -19772,7 +19773,7 @@ ${finalArgs[promptIndex + 1]}`;
19772
19773
  const initAppHandle = startupProfiler.start("initialize_app");
19773
19774
  const initializationResult = await initializeApp(config, settings);
19774
19775
  initAppHandle?.end();
19775
- import("./liteRtServerManager-DRZ6V4ZL.js").then(({ LiteRtServerManager }) => {
19776
+ import("./liteRtServerManager-LX6B5CI3.js").then(({ LiteRtServerManager }) => {
19776
19777
  const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
19777
19778
  if (!mergedGemma) return;
19778
19779
  const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
package/bundle/gemini.js CHANGED
@@ -7,10 +7,10 @@ import {
7
7
  handleChildProcessClose,
8
8
  isSeaEnvironment,
9
9
  setupSignalForwarding
10
- } from "./chunk-NMOD2T37.js";
11
- import "./chunk-UTK4LRWO.js";
12
- import "./chunk-3XHFESDF.js";
13
- import "./chunk-YQO7IBVQ.js";
10
+ } from "./chunk-CIX33OUZ.js";
11
+ import "./chunk-357SHFSP.js";
12
+ import "./chunk-IGFGTPGV.js";
13
+ import "./chunk-BRYTKVAX.js";
14
14
  import "./chunk-W2AJR23G.js";
15
15
  import "./chunk-N7J54YNL.js";
16
16
  import "./chunk-L6PII3GR.js";
@@ -124,10 +124,10 @@ ${error instanceof Error ? error.stack ?? error.message : String(error)}
124
124
  }
125
125
  }
126
126
  } else {
127
- const { main } = await import("./gemini-TY6A5Q5C.js");
128
- const { FatalError, writeToStderr } = await import("./dist-AAGC2327.js");
129
- const { runExitCleanup } = await import("./cleanup-62ECCOLP.js");
130
- const { formatCliError, isCliDebugEnabled } = await import("./formatError-7YP6B7ZW.js");
127
+ const { main } = await import("./gemini-NGMQM6D3.js");
128
+ const { FatalError, writeToStderr } = await import("./dist-J3MSC3FF.js");
129
+ const { runExitCleanup } = await import("./cleanup-ACKRM2TX.js");
130
+ const { formatCliError, isCliDebugEnabled } = await import("./formatError-EFFRJTZP.js");
131
131
  main().catch(async (error) => {
132
132
  const cleanupTimeout = setTimeout(() => {
133
133
  writeToStderr("Cleanup timed out, forcing exit...\n");
@@ -149,10 +149,10 @@ import {
149
149
  useUIState,
150
150
  useVimMode,
151
151
  validateAuthMethod
152
- } from "./chunk-LGRO4U3O.js";
152
+ } from "./chunk-QESC7SGF.js";
153
153
  import {
154
154
  require_source
155
- } from "./chunk-7UJSGYFD.js";
155
+ } from "./chunk-EUWUJXIY.js";
156
156
  import {
157
157
  appEvents
158
158
  } from "./chunk-5PS3AYFU.js";
@@ -226,25 +226,25 @@ import {
226
226
  widestLineFromStyledChars,
227
227
  wordBreakStyledChars,
228
228
  wrapStyledChars
229
- } from "./chunk-532N7TZB.js";
229
+ } from "./chunk-2LHOWVR4.js";
230
230
  import {
231
231
  handleAutoUpdate,
232
232
  isDevelopment,
233
233
  relaunchApp,
234
234
  require_semver,
235
235
  setUpdateHandler
236
- } from "./chunk-AJZTZFAS.js";
236
+ } from "./chunk-UUAR3JIA.js";
237
237
  import {
238
238
  isTodoList,
239
239
  mapCoreStatusToDisplayStatus,
240
240
  require_react
241
- } from "./chunk-EERY2AEY.js";
241
+ } from "./chunk-Y2AE7RGI.js";
242
242
  import {
243
243
  registerCleanup,
244
244
  removeCleanup,
245
245
  runExitCleanup,
246
246
  setupTtyCheck
247
- } from "./chunk-NQGCTXGR.js";
247
+ } from "./chunk-DDPEWL4G.js";
248
248
  import {
249
249
  ACTIVATE_SKILL_TOOL_NAME,
250
250
  AGENT_TOOL_NAME,
@@ -447,7 +447,7 @@ import {
447
447
  validatePlanContent,
448
448
  validatePlanPath,
449
449
  writeToStdout
450
- } from "./chunk-JJNQ5PWH.js";
450
+ } from "./chunk-7554FKWM.js";
451
451
  import "./chunk-W2AJR23G.js";
452
452
  import "./chunk-N7J54YNL.js";
453
453
  import "./chunk-L6PII3GR.js";
@@ -35391,7 +35391,7 @@ ${queuedText}` : queuedText;
35391
35391
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
35392
35392
  if (settings.merged.general.devtools) {
35393
35393
  void (async () => {
35394
- const { toggleDevToolsPanel } = await import("./devtoolsService-XMEVE7R4.js");
35394
+ const { toggleDevToolsPanel } = await import("./devtoolsService-NP7EGEMK.js");
35395
35395
  await toggleDevToolsPanel(
35396
35396
  config,
35397
35397
  showErrorDetails,
@@ -149,10 +149,10 @@ import {
149
149
  useUIState,
150
150
  useVimMode,
151
151
  validateAuthMethod
152
- } from "./chunk-6E6XAAYL.js";
152
+ } from "./chunk-TLQ4STKV.js";
153
153
  import {
154
154
  require_source
155
- } from "./chunk-NATMLC5X.js";
155
+ } from "./chunk-SJKJH5QA.js";
156
156
  import {
157
157
  appEvents
158
158
  } from "./chunk-5PS3AYFU.js";
@@ -226,25 +226,25 @@ import {
226
226
  widestLineFromStyledChars,
227
227
  wordBreakStyledChars,
228
228
  wrapStyledChars
229
- } from "./chunk-7YXHVH7Y.js";
229
+ } from "./chunk-AJWHZBWZ.js";
230
230
  import {
231
231
  handleAutoUpdate,
232
232
  isDevelopment,
233
233
  relaunchApp,
234
234
  require_semver,
235
235
  setUpdateHandler
236
- } from "./chunk-QQNZHLIF.js";
236
+ } from "./chunk-DIMNI6AC.js";
237
237
  import {
238
238
  isTodoList,
239
239
  mapCoreStatusToDisplayStatus,
240
240
  require_react
241
- } from "./chunk-KSDBDSBI.js";
241
+ } from "./chunk-JTWV2RYT.js";
242
242
  import {
243
243
  registerCleanup,
244
244
  removeCleanup,
245
245
  runExitCleanup,
246
246
  setupTtyCheck
247
- } from "./chunk-W7J7YSH2.js";
247
+ } from "./chunk-WHSJKDVL.js";
248
248
  import {
249
249
  ACTIVATE_SKILL_TOOL_NAME,
250
250
  AGENT_TOOL_NAME,
@@ -447,7 +447,7 @@ import {
447
447
  validatePlanContent,
448
448
  validatePlanPath,
449
449
  writeToStdout
450
- } from "./chunk-BTH7KEMH.js";
450
+ } from "./chunk-YFNHROPZ.js";
451
451
  import "./chunk-W2AJR23G.js";
452
452
  import "./chunk-N7J54YNL.js";
453
453
  import "./chunk-L6PII3GR.js";
@@ -35391,7 +35391,7 @@ ${queuedText}` : queuedText;
35391
35391
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
35392
35392
  if (settings.merged.general.devtools) {
35393
35393
  void (async () => {
35394
- const { toggleDevToolsPanel } = await import("./devtoolsService-3G6P4EBB.js");
35394
+ const { toggleDevToolsPanel } = await import("./devtoolsService-Q5HYPUU7.js");
35395
35395
  await toggleDevToolsPanel(
35396
35396
  config,
35397
35397
  showErrorDetails,
@@ -149,10 +149,10 @@ import {
149
149
  useUIState,
150
150
  useVimMode,
151
151
  validateAuthMethod
152
- } from "./chunk-IBD2PLWE.js";
152
+ } from "./chunk-MNOSCPOM.js";
153
153
  import {
154
154
  require_source
155
- } from "./chunk-VIXTMKUM.js";
155
+ } from "./chunk-N4ZMA5CZ.js";
156
156
  import {
157
157
  appEvents
158
158
  } from "./chunk-5PS3AYFU.js";
@@ -226,25 +226,25 @@ import {
226
226
  widestLineFromStyledChars,
227
227
  wordBreakStyledChars,
228
228
  wrapStyledChars
229
- } from "./chunk-Y6WF3A3Q.js";
229
+ } from "./chunk-7ZTBMXIU.js";
230
230
  import {
231
231
  handleAutoUpdate,
232
232
  isDevelopment,
233
233
  relaunchApp,
234
234
  require_semver,
235
235
  setUpdateHandler
236
- } from "./chunk-NMOD2T37.js";
236
+ } from "./chunk-CIX33OUZ.js";
237
237
  import {
238
238
  isTodoList,
239
239
  mapCoreStatusToDisplayStatus,
240
240
  require_react
241
- } from "./chunk-UTK4LRWO.js";
241
+ } from "./chunk-357SHFSP.js";
242
242
  import {
243
243
  registerCleanup,
244
244
  removeCleanup,
245
245
  runExitCleanup,
246
246
  setupTtyCheck
247
- } from "./chunk-3XHFESDF.js";
247
+ } from "./chunk-IGFGTPGV.js";
248
248
  import {
249
249
  ACTIVATE_SKILL_TOOL_NAME,
250
250
  AGENT_TOOL_NAME,
@@ -466,7 +466,7 @@ import {
466
466
  validatePlanContent,
467
467
  validatePlanPath,
468
468
  writeToStdout
469
- } from "./chunk-YQO7IBVQ.js";
469
+ } from "./chunk-BRYTKVAX.js";
470
470
  import "./chunk-W2AJR23G.js";
471
471
  import "./chunk-N7J54YNL.js";
472
472
  import "./chunk-L6PII3GR.js";
@@ -35410,7 +35410,7 @@ ${queuedText}` : queuedText;
35410
35410
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
35411
35411
  if (settings.merged.general.devtools) {
35412
35412
  void (async () => {
35413
- const { toggleDevToolsPanel } = await import("./devtoolsService-DWVXCWJ7.js");
35413
+ const { toggleDevToolsPanel } = await import("./devtoolsService-7MR7MUMD.js");
35414
35414
  await toggleDevToolsPanel(
35415
35415
  config,
35416
35416
  showErrorDetails,
@@ -3,11 +3,11 @@ import {
3
3
  DEFAULT_PORT,
4
4
  getBinaryPath,
5
5
  isServerRunning
6
- } from "./chunk-Y6WF3A3Q.js";
7
- import "./chunk-UTK4LRWO.js";
6
+ } from "./chunk-7ZTBMXIU.js";
7
+ import "./chunk-357SHFSP.js";
8
8
  import {
9
9
  debugLogger
10
- } from "./chunk-YQO7IBVQ.js";
10
+ } from "./chunk-BRYTKVAX.js";
11
11
  import "./chunk-W2AJR23G.js";
12
12
  import "./chunk-N7J54YNL.js";
13
13
  import "./chunk-L6PII3GR.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-QQTZCWPJ.js");
44
+ const { startServer } = await import("./start-TDNB5CJ6.js");
45
45
  const started = await startServer(binaryPath, port);
46
46
  if (started) {
47
47
  debugLogger.log(`[LiteRtServerManager] Server started on port ${port}`);
@@ -3,11 +3,11 @@ import {
3
3
  DEFAULT_PORT,
4
4
  getBinaryPath,
5
5
  isServerRunning
6
- } from "./chunk-7YXHVH7Y.js";
7
- import "./chunk-KSDBDSBI.js";
6
+ } from "./chunk-2LHOWVR4.js";
7
+ import "./chunk-Y2AE7RGI.js";
8
8
  import {
9
9
  debugLogger
10
- } from "./chunk-BTH7KEMH.js";
10
+ } from "./chunk-7554FKWM.js";
11
11
  import "./chunk-W2AJR23G.js";
12
12
  import "./chunk-N7J54YNL.js";
13
13
  import "./chunk-L6PII3GR.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-JGS6ZUFX.js");
44
+ const { startServer } = await import("./start-HGHTVHPT.js");
45
45
  const started = await startServer(binaryPath, port);
46
46
  if (started) {
47
47
  debugLogger.log(`[LiteRtServerManager] Server started on port ${port}`);
@@ -3,11 +3,11 @@ import {
3
3
  DEFAULT_PORT,
4
4
  getBinaryPath,
5
5
  isServerRunning
6
- } from "./chunk-532N7TZB.js";
7
- import "./chunk-EERY2AEY.js";
6
+ } from "./chunk-AJWHZBWZ.js";
7
+ import "./chunk-JTWV2RYT.js";
8
8
  import {
9
9
  debugLogger
10
- } from "./chunk-JJNQ5PWH.js";
10
+ } from "./chunk-YFNHROPZ.js";
11
11
  import "./chunk-W2AJR23G.js";
12
12
  import "./chunk-N7J54YNL.js";
13
13
  import "./chunk-L6PII3GR.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-EMZSUYV6.js");
44
+ const { startServer } = await import("./start-2XM3XTTW.js");
45
45
  const started = await startServer(binaryPath, port);
46
46
  if (started) {
47
47
  debugLogger.log(`[LiteRtServerManager] Server started on port ${port}`);
@@ -16,7 +16,7 @@ import {
16
16
  openBrowserSecurely,
17
17
  refreshAccessToken,
18
18
  startCallbackServer
19
- } from "./chunk-BTH7KEMH.js";
19
+ } from "./chunk-YFNHROPZ.js";
20
20
  import "./chunk-W2AJR23G.js";
21
21
  import "./chunk-N7J54YNL.js";
22
22
  import "./chunk-L6PII3GR.js";