@terminai/a2a-server 0.25.0 → 0.26.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.
@@ -1164,7 +1164,7 @@ var require_has_flag = __commonJS({
1164
1164
  var require_supports_color = __commonJS({
1165
1165
  "node_modules/supports-color/index.js"(exports2, module2) {
1166
1166
  "use strict";
1167
- var os32 = __require("os");
1167
+ var os33 = __require("os");
1168
1168
  var hasFlag = require_has_flag();
1169
1169
  var env3 = process.env;
1170
1170
  var forceColor;
@@ -1202,7 +1202,7 @@ var require_supports_color = __commonJS({
1202
1202
  }
1203
1203
  const min = forceColor ? 1 : 0;
1204
1204
  if (process.platform === "win32") {
1205
- const osRelease = os32.release().split(".");
1205
+ const osRelease = os33.release().split(".");
1206
1206
  if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
1207
1207
  return Number(osRelease[2]) >= 14931 ? 3 : 2;
1208
1208
  }
@@ -6237,15 +6237,15 @@ var require_streams = __commonJS({
6237
6237
  var POOL_SIZE2 = 65536;
6238
6238
  if (!globalThis.ReadableStream) {
6239
6239
  try {
6240
- const process25 = __require("node:process");
6241
- const { emitWarning: emitWarning2 } = process25;
6240
+ const process26 = __require("node:process");
6241
+ const { emitWarning: emitWarning2 } = process26;
6242
6242
  try {
6243
- process25.emitWarning = () => {
6243
+ process26.emitWarning = () => {
6244
6244
  };
6245
6245
  Object.assign(globalThis, __require("node:stream/web"));
6246
- process25.emitWarning = emitWarning2;
6246
+ process26.emitWarning = emitWarning2;
6247
6247
  } catch (error2) {
6248
- process25.emitWarning = emitWarning2;
6248
+ process26.emitWarning = emitWarning2;
6249
6249
  throw error2;
6250
6250
  }
6251
6251
  } catch (error2) {
@@ -10837,7 +10837,7 @@ var require_logging_utils = __commonJS({
10837
10837
  exports2.setBackend = setBackend;
10838
10838
  exports2.log = log;
10839
10839
  var events_1 = __require("events");
10840
- var process25 = __importStar(__require("process"));
10840
+ var process26 = __importStar(__require("process"));
10841
10841
  var util5 = __importStar(__require("util"));
10842
10842
  var colours_1 = require_colours();
10843
10843
  var LogSeverity;
@@ -10894,7 +10894,7 @@ var require_logging_utils = __commonJS({
10894
10894
  this.cached = /* @__PURE__ */ new Map();
10895
10895
  this.filters = [];
10896
10896
  this.filtersSet = false;
10897
- let nodeFlag = (_a3 = process25.env[exports2.env.nodeEnables]) !== null && _a3 !== void 0 ? _a3 : "*";
10897
+ let nodeFlag = (_a3 = process26.env[exports2.env.nodeEnables]) !== null && _a3 !== void 0 ? _a3 : "*";
10898
10898
  if (nodeFlag === "all") {
10899
10899
  nodeFlag = "*";
10900
10900
  }
@@ -10934,7 +10934,7 @@ var require_logging_utils = __commonJS({
10934
10934
  return (fields, ...args2) => {
10935
10935
  var _a3;
10936
10936
  const nscolour = `${colours_1.Colours.green}${namespace}${colours_1.Colours.reset}`;
10937
- const pid = `${colours_1.Colours.yellow}${process25.pid}${colours_1.Colours.reset}`;
10937
+ const pid = `${colours_1.Colours.yellow}${process26.pid}${colours_1.Colours.reset}`;
10938
10938
  let level;
10939
10939
  switch (fields.severity) {
10940
10940
  case LogSeverity.ERROR:
@@ -10982,8 +10982,8 @@ var require_logging_utils = __commonJS({
10982
10982
  }
10983
10983
  setFilters() {
10984
10984
  var _a3;
10985
- const existingFilters = (_a3 = process25.env["NODE_DEBUG"]) !== null && _a3 !== void 0 ? _a3 : "";
10986
- process25.env["NODE_DEBUG"] = `${existingFilters}${existingFilters ? "," : ""}${this.filters.join(",")}`;
10985
+ const existingFilters = (_a3 = process26.env["NODE_DEBUG"]) !== null && _a3 !== void 0 ? _a3 : "";
10986
+ process26.env["NODE_DEBUG"] = `${existingFilters}${existingFilters ? "," : ""}${this.filters.join(",")}`;
10987
10987
  }
10988
10988
  };
10989
10989
  function getDebugBackend(debugPkg) {
@@ -11036,7 +11036,7 @@ var require_logging_utils = __commonJS({
11036
11036
  }
11037
11037
  function log(namespace, parent) {
11038
11038
  if (!cachedBackend) {
11039
- const enablesFlag = process25.env[exports2.env.nodeEnables];
11039
+ const enablesFlag = process26.env[exports2.env.nodeEnables];
11040
11040
  if (!enablesFlag) {
11041
11041
  return exports2.placeholder;
11042
11042
  }
@@ -11906,7 +11906,7 @@ var require_util2 = __commonJS({
11906
11906
  exports2.isValidFile = isValidFile;
11907
11907
  exports2.getWellKnownCertificateConfigFileLocation = getWellKnownCertificateConfigFileLocation;
11908
11908
  var fs93 = __require("fs");
11909
- var os32 = __require("os");
11909
+ var os33 = __require("os");
11910
11910
  var path103 = __require("path");
11911
11911
  var WELL_KNOWN_CERTIFICATE_CONFIG_FILE = "certificate_config.json";
11912
11912
  var CLOUDSDK_CONFIG_DIRECTORY = "gcloud";
@@ -12004,7 +12004,7 @@ var require_util2 = __commonJS({
12004
12004
  return path103.join(configDir, WELL_KNOWN_CERTIFICATE_CONFIG_FILE);
12005
12005
  }
12006
12006
  function _isWindows() {
12007
- return os32.platform().startsWith("win");
12007
+ return os33.platform().startsWith("win");
12008
12008
  }
12009
12009
  }
12010
12010
  });
@@ -17309,7 +17309,7 @@ var require_googleauth = __commonJS({
17309
17309
  var fs93 = __require("fs");
17310
17310
  var gaxios_1 = require_src2();
17311
17311
  var gcpMetadata = require_src4();
17312
- var os32 = __require("os");
17312
+ var os33 = __require("os");
17313
17313
  var path103 = __require("path");
17314
17314
  var crypto_1 = require_crypto3();
17315
17315
  var computeclient_1 = require_computeclient();
@@ -17812,7 +17812,7 @@ var require_googleauth = __commonJS({
17812
17812
  * @api private
17813
17813
  */
17814
17814
  _isWindows() {
17815
- const sys = os32.platform();
17815
+ const sys = os33.platform();
17816
17816
  if (sys && sys.length >= 3) {
17817
17817
  if (sys.substring(0, 3).toLowerCase() === "win") {
17818
17818
  return true;
@@ -41316,7 +41316,7 @@ var require_logging_utils2 = __commonJS({
41316
41316
  exports2.setBackend = setBackend;
41317
41317
  exports2.log = log;
41318
41318
  var node_events_1 = __require("node:events");
41319
- var process25 = __importStar(__require("node:process"));
41319
+ var process26 = __importStar(__require("node:process"));
41320
41320
  var util5 = __importStar(__require("node:util"));
41321
41321
  var colours_1 = require_colours2();
41322
41322
  var LogSeverity;
@@ -41367,7 +41367,7 @@ var require_logging_utils2 = __commonJS({
41367
41367
  this.cached = /* @__PURE__ */ new Map();
41368
41368
  this.filters = [];
41369
41369
  this.filtersSet = false;
41370
- let nodeFlag = (_a3 = process25.env[exports2.env.nodeEnables]) !== null && _a3 !== void 0 ? _a3 : "*";
41370
+ let nodeFlag = (_a3 = process26.env[exports2.env.nodeEnables]) !== null && _a3 !== void 0 ? _a3 : "*";
41371
41371
  if (nodeFlag === "all") {
41372
41372
  nodeFlag = "*";
41373
41373
  }
@@ -41407,7 +41407,7 @@ var require_logging_utils2 = __commonJS({
41407
41407
  return (fields, ...args2) => {
41408
41408
  var _a3;
41409
41409
  const nscolour = `${colours_1.Colours.green}${namespace}${colours_1.Colours.reset}`;
41410
- const pid = `${colours_1.Colours.yellow}${process25.pid}${colours_1.Colours.reset}`;
41410
+ const pid = `${colours_1.Colours.yellow}${process26.pid}${colours_1.Colours.reset}`;
41411
41411
  let level;
41412
41412
  switch (fields.severity) {
41413
41413
  case LogSeverity.ERROR:
@@ -41455,8 +41455,8 @@ var require_logging_utils2 = __commonJS({
41455
41455
  }
41456
41456
  setFilters() {
41457
41457
  var _a3;
41458
- const existingFilters = (_a3 = process25.env["NODE_DEBUG"]) !== null && _a3 !== void 0 ? _a3 : "";
41459
- process25.env["NODE_DEBUG"] = `${existingFilters}${existingFilters ? "," : ""}${this.filters.join(",")}`;
41458
+ const existingFilters = (_a3 = process26.env["NODE_DEBUG"]) !== null && _a3 !== void 0 ? _a3 : "";
41459
+ process26.env["NODE_DEBUG"] = `${existingFilters}${existingFilters ? "," : ""}${this.filters.join(",")}`;
41460
41460
  }
41461
41461
  };
41462
41462
  function getDebugBackend(debugPkg) {
@@ -41502,7 +41502,7 @@ var require_logging_utils2 = __commonJS({
41502
41502
  loggerCache.clear();
41503
41503
  }
41504
41504
  function log(namespace, parent) {
41505
- const enablesFlag = process25.env[exports2.env.nodeEnables];
41505
+ const enablesFlag = process26.env[exports2.env.nodeEnables];
41506
41506
  if (!enablesFlag) {
41507
41507
  return exports2.placeholder;
41508
41508
  }
@@ -46103,7 +46103,7 @@ var require_googleauth2 = __commonJS({
46103
46103
  var child_process_1 = __require("child_process");
46104
46104
  var fs93 = __require("fs");
46105
46105
  var gcpMetadata = require_src9();
46106
- var os32 = __require("os");
46106
+ var os33 = __require("os");
46107
46107
  var path103 = __require("path");
46108
46108
  var crypto_1 = require_crypto6();
46109
46109
  var transporters_1 = require_transporters();
@@ -46544,7 +46544,7 @@ var require_googleauth2 = __commonJS({
46544
46544
  * @api private
46545
46545
  */
46546
46546
  _isWindows() {
46547
- const sys = os32.platform();
46547
+ const sys = os33.platform();
46548
46548
  if (sys && sys.length >= 3) {
46549
46549
  if (sys.substring(0, 3).toLowerCase() === "win") {
46550
46550
  return true;
@@ -48014,6 +48014,9 @@ function makeRelative(targetPath, rootDirectory) {
48014
48014
  return relativePath || ".";
48015
48015
  }
48016
48016
  function escapePath(filePath) {
48017
+ if (os2.platform() === "win32") {
48018
+ return `"${filePath.replace(/"/g, '""')}"`;
48019
+ }
48017
48020
  let result = "";
48018
48021
  for (let i4 = 0; i4 < filePath.length; i4++) {
48019
48022
  const char = filePath[i4];
@@ -68325,7 +68328,7 @@ import { fileURLToPath as fileURLToPath4 } from "node:url";
68325
68328
  import path12 from "node:path";
68326
68329
  async function getVersion() {
68327
68330
  const pkgJson = await getPackageJson(__dirname3);
68328
- return "0.25.0";
68331
+ return "0.26.0";
68329
68332
  }
68330
68333
  var __filename, __dirname3;
68331
68334
  var init_version2 = __esm({
@@ -68341,21 +68344,21 @@ var init_version2 = __esm({
68341
68344
  import { fileURLToPath as fileURLToPath5 } from "node:url";
68342
68345
  import path13 from "node:path";
68343
68346
  function getPlatform() {
68344
- const platform16 = process.platform;
68347
+ const platform17 = process.platform;
68345
68348
  const arch5 = process.arch;
68346
- if (platform16 === "darwin" && arch5 === "x64") {
68349
+ if (platform17 === "darwin" && arch5 === "x64") {
68347
68350
  return "DARWIN_AMD64";
68348
68351
  }
68349
- if (platform16 === "darwin" && arch5 === "arm64") {
68352
+ if (platform17 === "darwin" && arch5 === "arm64") {
68350
68353
  return "DARWIN_ARM64";
68351
68354
  }
68352
- if (platform16 === "linux" && arch5 === "x64") {
68355
+ if (platform17 === "linux" && arch5 === "x64") {
68353
68356
  return "LINUX_AMD64";
68354
68357
  }
68355
- if (platform16 === "linux" && arch5 === "arm64") {
68358
+ if (platform17 === "linux" && arch5 === "arm64") {
68356
68359
  return "LINUX_ARM64";
68357
68360
  }
68358
- if (platform16 === "win32" && arch5 === "x64") {
68361
+ if (platform17 === "win32" && arch5 === "x64") {
68359
68362
  return "WINDOWS_AMD64";
68360
68363
  }
68361
68364
  return "PLATFORM_UNSPECIFIED";
@@ -78531,7 +78534,7 @@ var require_service_config = __commonJS({
78531
78534
  exports2.validateRetryThrottling = validateRetryThrottling;
78532
78535
  exports2.validateServiceConfig = validateServiceConfig;
78533
78536
  exports2.extractAndSelectServiceConfig = extractAndSelectServiceConfig;
78534
- var os32 = __require("os");
78537
+ var os33 = __require("os");
78535
78538
  var constants_1 = require_constants4();
78536
78539
  var DURATION_REGEX = /^\d+(\.\d{1,9})?s$/;
78537
78540
  var CLIENT_LANGUAGE_STRING = "node";
@@ -78830,7 +78833,7 @@ var require_service_config = __commonJS({
78830
78833
  if (Array.isArray(validatedConfig.clientHostname)) {
78831
78834
  let hostnameMatched = false;
78832
78835
  for (const hostname4 of validatedConfig.clientHostname) {
78833
- if (hostname4 === os32.hostname()) {
78836
+ if (hostname4 === os33.hostname()) {
78834
78837
  hostnameMatched = true;
78835
78838
  }
78836
78839
  }
@@ -84806,7 +84809,7 @@ var require_root = __commonJS({
84806
84809
  }
84807
84810
  return null;
84808
84811
  }
84809
- function process25(filename2, source) {
84812
+ function process26(filename2, source) {
84810
84813
  try {
84811
84814
  if (util5.isString(source) && source.charAt(0) === "{")
84812
84815
  source = JSON.parse(source);
@@ -84841,12 +84844,12 @@ var require_root = __commonJS({
84841
84844
  self2.files.push(filename2);
84842
84845
  if (filename2 in common2) {
84843
84846
  if (sync2) {
84844
- process25(filename2, common2[filename2]);
84847
+ process26(filename2, common2[filename2]);
84845
84848
  } else {
84846
84849
  ++queued;
84847
84850
  setTimeout(function() {
84848
84851
  --queued;
84849
- process25(filename2, common2[filename2]);
84852
+ process26(filename2, common2[filename2]);
84850
84853
  });
84851
84854
  }
84852
84855
  return;
@@ -84860,7 +84863,7 @@ var require_root = __commonJS({
84860
84863
  finish(err2);
84861
84864
  return;
84862
84865
  }
84863
- process25(filename2, source);
84866
+ process26(filename2, source);
84864
84867
  } else {
84865
84868
  ++queued;
84866
84869
  self2.fetch(filename2, function(err2, source2) {
@@ -84875,7 +84878,7 @@ var require_root = __commonJS({
84875
84878
  finish(null, self2);
84876
84879
  return;
84877
84880
  }
84878
- process25(filename2, source2);
84881
+ process26(filename2, source2);
84879
84882
  });
84880
84883
  }
84881
84884
  }
@@ -92351,7 +92354,7 @@ var require_subchannel_call = __commonJS({
92351
92354
  Object.defineProperty(exports2, "__esModule", { value: true });
92352
92355
  exports2.Http2SubchannelCall = void 0;
92353
92356
  var http22 = __require("http2");
92354
- var os32 = __require("os");
92357
+ var os33 = __require("os");
92355
92358
  var constants_1 = require_constants4();
92356
92359
  var metadata_1 = require_metadata3();
92357
92360
  var stream_decoder_1 = require_stream_decoder();
@@ -92359,7 +92362,7 @@ var require_subchannel_call = __commonJS({
92359
92362
  var constants_2 = require_constants4();
92360
92363
  var TRACER_NAME2 = "subchannel_call";
92361
92364
  function getSystemErrorName(errno) {
92362
- for (const [name4, num] of Object.entries(os32.constants.errno)) {
92365
+ for (const [name4, num] of Object.entries(os33.constants.errno)) {
92363
92366
  if (num === errno) {
92364
92367
  return name4;
92365
92368
  }
@@ -111600,13 +111603,13 @@ var require_getMachineId_win = __commonJS({
111600
111603
  "use strict";
111601
111604
  Object.defineProperty(exports2, "__esModule", { value: true });
111602
111605
  exports2.getMachineId = void 0;
111603
- var process25 = __require("process");
111606
+ var process26 = __require("process");
111604
111607
  var execAsync_1 = require_execAsync();
111605
111608
  var api_1 = (init_esm(), __toCommonJS(esm_exports));
111606
111609
  async function getMachineId() {
111607
111610
  const args2 = "QUERY HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Cryptography /v MachineGuid";
111608
111611
  let command = "%windir%\\System32\\REG.exe";
111609
- if (process25.arch === "ia32" && "PROCESSOR_ARCHITEW6432" in process25.env) {
111612
+ if (process26.arch === "ia32" && "PROCESSOR_ARCHITEW6432" in process26.env) {
111610
111613
  command = "%windir%\\sysnative\\cmd.exe /c " + command;
111611
111614
  }
111612
111615
  try {
@@ -111645,11 +111648,11 @@ var require_getMachineId = __commonJS({
111645
111648
  "use strict";
111646
111649
  Object.defineProperty(exports2, "__esModule", { value: true });
111647
111650
  exports2.getMachineId = void 0;
111648
- var process25 = __require("process");
111651
+ var process26 = __require("process");
111649
111652
  var getMachineIdImpl;
111650
111653
  async function getMachineId() {
111651
111654
  if (!getMachineIdImpl) {
111652
- switch (process25.platform) {
111655
+ switch (process26.platform) {
111653
111656
  case "darwin":
111654
111657
  getMachineIdImpl = (await Promise.resolve().then(() => __toESM(require_getMachineId_darwin()))).getMachineId;
111655
111658
  break;
@@ -111760,7 +111763,7 @@ var require_ProcessDetector = __commonJS({
111760
111763
  exports2.processDetector = void 0;
111761
111764
  var api_1 = (init_esm(), __toCommonJS(esm_exports));
111762
111765
  var semconv_1 = require_semconv2();
111763
- var os32 = __require("os");
111766
+ var os33 = __require("os");
111764
111767
  var ProcessDetector = class {
111765
111768
  detect(_config) {
111766
111769
  const attributes = {
@@ -111780,7 +111783,7 @@ var require_ProcessDetector = __commonJS({
111780
111783
  attributes[semconv_1.ATTR_PROCESS_COMMAND] = process.argv[1];
111781
111784
  }
111782
111785
  try {
111783
- const userInfo3 = os32.userInfo();
111786
+ const userInfo3 = os33.userInfo();
111784
111787
  attributes[semconv_1.ATTR_PROCESS_OWNER] = userInfo3.username;
111785
111788
  } catch (e3) {
111786
111789
  api_1.diag.debug(`error obtaining process owner: ${e3}`);
@@ -117714,8 +117717,8 @@ var require_module_details_from_path = __commonJS({
117714
117717
  var require_homedir = __commonJS({
117715
117718
  "node_modules/resolve/lib/homedir.js"(exports2, module2) {
117716
117719
  "use strict";
117717
- var os32 = __require("os");
117718
- module2.exports = os32.homedir || function homedir14() {
117720
+ var os33 = __require("os");
117721
+ module2.exports = os33.homedir || function homedir15() {
117719
117722
  var home = process.env.HOME;
117720
117723
  var user = process.env.LOGNAME || process.env.USER || process.env.LNAME || process.env.USERNAME;
117721
117724
  if (process.platform === "win32") {
@@ -118196,11 +118199,11 @@ var require_async = __commonJS({
118196
118199
  var normalizeOptions2 = require_normalize_options();
118197
118200
  var isCore = require_is_core_module();
118198
118201
  var realpathFS = process.platform !== "win32" && fs93.realpath && typeof fs93.realpath.native === "function" ? fs93.realpath.native : fs93.realpath;
118199
- var homedir14 = getHomedir();
118202
+ var homedir15 = getHomedir();
118200
118203
  var defaultPaths = function() {
118201
118204
  return [
118202
- path103.join(homedir14, ".node_modules"),
118203
- path103.join(homedir14, ".node_libraries")
118205
+ path103.join(homedir15, ".node_modules"),
118206
+ path103.join(homedir15, ".node_libraries")
118204
118207
  ];
118205
118208
  };
118206
118209
  var defaultIsFile = function isFile3(file, cb) {
@@ -118686,11 +118689,11 @@ var require_sync = __commonJS({
118686
118689
  var nodeModulesPaths = require_node_modules_paths();
118687
118690
  var normalizeOptions2 = require_normalize_options();
118688
118691
  var realpathFS = process.platform !== "win32" && fs93.realpathSync && typeof fs93.realpathSync.native === "function" ? fs93.realpathSync.native : fs93.realpathSync;
118689
- var homedir14 = getHomedir();
118692
+ var homedir15 = getHomedir();
118690
118693
  var defaultPaths = function() {
118691
118694
  return [
118692
- path103.join(homedir14, ".node_modules"),
118693
- path103.join(homedir14, ".node_libraries")
118695
+ path103.join(homedir15, ".node_modules"),
118696
+ path103.join(homedir15, ".node_libraries")
118694
118697
  ];
118695
118698
  };
118696
118699
  var defaultIsFile = function isFile3(file) {
@@ -124464,8 +124467,8 @@ var GIT_COMMIT_INFO, CLI_VERSION;
124464
124467
  var init_git_commit = __esm({
124465
124468
  "packages/core/src/generated/git-commit.ts"() {
124466
124469
  "use strict";
124467
- GIT_COMMIT_INFO = "68eeb09";
124468
- CLI_VERSION = "0.25.0";
124470
+ GIT_COMMIT_INFO = "f27ef96";
124471
+ CLI_VERSION = "0.26.0";
124469
124472
  }
124470
124473
  });
124471
124474
 
@@ -126583,13 +126586,13 @@ var require_src42 = __commonJS({
126583
126586
  };
126584
126587
  function mapOtelResourceToMonitoredResource(resource) {
126585
126588
  const attrs = resource.attributes;
126586
- const platform16 = attrs[semantic_conventions_1.SEMRESATTRS_CLOUD_PLATFORM];
126589
+ const platform17 = attrs[semantic_conventions_1.SEMRESATTRS_CLOUD_PLATFORM];
126587
126590
  let mr;
126588
- if (platform16 === semantic_conventions_1.CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE) {
126591
+ if (platform17 === semantic_conventions_1.CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE) {
126589
126592
  mr = createMonitoredResource(GCE_INSTANCE, attrs);
126590
- } else if (platform16 === semantic_conventions_1.CLOUDPLATFORMVALUES_GCP_APP_ENGINE) {
126593
+ } else if (platform17 === semantic_conventions_1.CLOUDPLATFORMVALUES_GCP_APP_ENGINE) {
126591
126594
  mr = createMonitoredResource(GAE_INSTANCE, attrs);
126592
- } else if (platform16 === semantic_conventions_1.CLOUDPLATFORMVALUES_AWS_EC2) {
126595
+ } else if (platform17 === semantic_conventions_1.CLOUDPLATFORMVALUES_AWS_EC2) {
126593
126596
  mr = createMonitoredResource(AWS_EC2_INSTANCE, attrs);
126594
126597
  } else if (semantic_conventions_1.SEMRESATTRS_K8S_CLUSTER_NAME in attrs) {
126595
126598
  if (semantic_conventions_1.SEMRESATTRS_K8S_CONTAINER_NAME in attrs) {
@@ -132175,10 +132178,10 @@ var require_http2 = __commonJS({
132175
132178
  var extend2 = require_extend();
132176
132179
  var stream_1 = __require("stream");
132177
132180
  var util5 = __require("util");
132178
- var process25 = __require("process");
132181
+ var process26 = __require("process");
132179
132182
  var common_1 = require_common3();
132180
132183
  var { HTTP2_HEADER_CONTENT_ENCODING, HTTP2_HEADER_CONTENT_TYPE, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_STATUS } = http22.constants;
132181
- var DEBUG = !!process25.env.HTTP2_DEBUG;
132184
+ var DEBUG = !!process26.env.HTTP2_DEBUG;
132182
132185
  exports2.sessions = {};
132183
132186
  async function request3(config3) {
132184
132187
  const opts = extend2(true, {}, config3);
@@ -138316,7 +138319,7 @@ var require_buffer_list = __commonJS({
138316
138319
  }
138317
138320
  }, {
138318
138321
  key: "join",
138319
- value: function join40(s3) {
138322
+ value: function join41(s3) {
138320
138323
  if (this.length === 0) return "";
138321
138324
  var p = this.head;
138322
138325
  var ret = "" + p.data;
@@ -143457,7 +143460,7 @@ var require_grpc = __commonJS({
143457
143460
  var fs93 = __require("fs");
143458
143461
  var google_auth_library_1 = require_src11();
143459
143462
  var grpc = require_src16();
143460
- var os32 = __require("os");
143463
+ var os33 = __require("os");
143461
143464
  var path_1 = __require("path");
143462
143465
  var path103 = __require("path");
143463
143466
  var protobuf = require_protobufjs();
@@ -143762,7 +143765,7 @@ var require_grpc = __commonJS({
143762
143765
  if ((opts === null || opts === void 0 ? void 0 : opts.cert) && (opts === null || opts === void 0 ? void 0 : opts.key)) {
143763
143766
  return [opts.cert, opts.key];
143764
143767
  }
143765
- const metadataPath = (0, path_1.join)(os32.homedir(), ".secureConnect", "context_aware_metadata.json");
143768
+ const metadataPath = (0, path_1.join)(os33.homedir(), ".secureConnect", "context_aware_metadata.json");
143766
143769
  const metadata2 = JSON.parse(await readFileAsync(metadataPath));
143767
143770
  if (!metadata2.cert_provider_command) {
143768
143771
  throw Error("no cert_provider_command found");
@@ -236985,7 +236988,7 @@ var init_esm9 = __esm({
236985
236988
  const dirs = /* @__PURE__ */ new Set();
236986
236989
  const queue = [entry];
236987
236990
  let processing = 0;
236988
- const process25 = () => {
236991
+ const process26 = () => {
236989
236992
  let paused = false;
236990
236993
  while (!paused) {
236991
236994
  const dir = queue.shift();
@@ -237026,9 +237029,9 @@ var init_esm9 = __esm({
237026
237029
  }
237027
237030
  }
237028
237031
  if (paused && !results.flowing) {
237029
- results.once("drain", process25);
237032
+ results.once("drain", process26);
237030
237033
  } else if (!sync2) {
237031
- process25();
237034
+ process26();
237032
237035
  }
237033
237036
  };
237034
237037
  let sync2 = true;
@@ -237036,7 +237039,7 @@ var init_esm9 = __esm({
237036
237039
  sync2 = false;
237037
237040
  }
237038
237041
  };
237039
- process25();
237042
+ process26();
237040
237043
  return results;
237041
237044
  }
237042
237045
  streamSync(entry = this.cwd, opts = {}) {
@@ -237054,7 +237057,7 @@ var init_esm9 = __esm({
237054
237057
  }
237055
237058
  const queue = [entry];
237056
237059
  let processing = 0;
237057
- const process25 = () => {
237060
+ const process26 = () => {
237058
237061
  let paused = false;
237059
237062
  while (!paused) {
237060
237063
  const dir = queue.shift();
@@ -237088,9 +237091,9 @@ var init_esm9 = __esm({
237088
237091
  }
237089
237092
  }
237090
237093
  if (paused && !results.flowing)
237091
- results.once("drain", process25);
237094
+ results.once("drain", process26);
237092
237095
  };
237093
- process25();
237096
+ process26();
237094
237097
  return results;
237095
237098
  }
237096
237099
  chdir(path103 = this.cwd) {
@@ -237190,7 +237193,7 @@ var init_pattern = __esm({
237190
237193
  #isUNC;
237191
237194
  #isAbsolute;
237192
237195
  #followGlobstar = true;
237193
- constructor(patternList, globList, index, platform16) {
237196
+ constructor(patternList, globList, index, platform17) {
237194
237197
  if (!isPatternList(patternList)) {
237195
237198
  throw new TypeError("empty pattern list");
237196
237199
  }
@@ -237207,7 +237210,7 @@ var init_pattern = __esm({
237207
237210
  this.#patternList = patternList;
237208
237211
  this.#globList = globList;
237209
237212
  this.#index = index;
237210
- this.#platform = platform16;
237213
+ this.#platform = platform17;
237211
237214
  if (this.#index === 0) {
237212
237215
  if (this.isUNC()) {
237213
237216
  const [p0, p1, p2, p3, ...prest] = this.#patternList;
@@ -237356,12 +237359,12 @@ var init_ignore = __esm({
237356
237359
  absoluteChildren;
237357
237360
  platform;
237358
237361
  mmopts;
237359
- constructor(ignored, { nobrace, nocase, noext, noglobstar, platform: platform16 = defaultPlatform2 }) {
237362
+ constructor(ignored, { nobrace, nocase, noext, noglobstar, platform: platform17 = defaultPlatform2 }) {
237360
237363
  this.relative = [];
237361
237364
  this.absolute = [];
237362
237365
  this.relativeChildren = [];
237363
237366
  this.absoluteChildren = [];
237364
- this.platform = platform16;
237367
+ this.platform = platform17;
237365
237368
  this.mmopts = {
237366
237369
  dot: true,
237367
237370
  nobrace,
@@ -237369,7 +237372,7 @@ var init_ignore = __esm({
237369
237372
  noext,
237370
237373
  noglobstar,
237371
237374
  optimizationLevel: 2,
237372
- platform: platform16,
237375
+ platform: platform17,
237373
237376
  nocomment: true,
237374
237377
  nonegate: true
237375
237378
  };
@@ -240096,8 +240099,8 @@ var require_path_key = __commonJS({
240096
240099
  "use strict";
240097
240100
  var pathKey2 = (options2 = {}) => {
240098
240101
  const environment = options2.env || process.env;
240099
- const platform16 = options2.platform || process.platform;
240100
- if (platform16 !== "win32") {
240102
+ const platform17 = options2.platform || process.platform;
240103
+ if (platform17 !== "win32") {
240101
240104
  return "PATH";
240102
240105
  }
240103
240106
  return Object.keys(environment).reverse().find((key) => key.toUpperCase() === "PATH") || "Path";
@@ -240367,9 +240370,9 @@ var require_cross_spawn = __commonJS({
240367
240370
  function pathKey(options2 = {}) {
240368
240371
  const {
240369
240372
  env: env3 = process.env,
240370
- platform: platform16 = process.platform
240373
+ platform: platform17 = process.platform
240371
240374
  } = options2;
240372
- if (platform16 !== "win32") {
240375
+ if (platform17 !== "win32") {
240373
240376
  return "PATH";
240374
240377
  }
240375
240378
  return Object.keys(env3).reverse().find((key) => key.toUpperCase() === "PATH") || "Path";
@@ -245355,7 +245358,7 @@ var processOk, kExitEmitter, global2, ObjectDefineProperty, Emitter, SignalExitB
245355
245358
  var init_mjs = __esm({
245356
245359
  "node_modules/signal-exit/dist/mjs/index.js"() {
245357
245360
  init_signals2();
245358
- processOk = (process25) => !!process25 && typeof process25 === "object" && typeof process25.removeListener === "function" && typeof process25.emit === "function" && typeof process25.reallyExit === "function" && typeof process25.listeners === "function" && typeof process25.kill === "function" && typeof process25.pid === "number" && typeof process25.on === "function";
245361
+ processOk = (process26) => !!process26 && typeof process26 === "object" && typeof process26.removeListener === "function" && typeof process26.emit === "function" && typeof process26.reallyExit === "function" && typeof process26.listeners === "function" && typeof process26.kill === "function" && typeof process26.pid === "number" && typeof process26.on === "function";
245359
245362
  kExitEmitter = Symbol.for("signal-exit emitter");
245360
245363
  global2 = globalThis;
245361
245364
  ObjectDefineProperty = Object.defineProperty.bind(Object);
@@ -245448,15 +245451,15 @@ var init_mjs = __esm({
245448
245451
  #originalProcessReallyExit;
245449
245452
  #sigListeners = {};
245450
245453
  #loaded = false;
245451
- constructor(process25) {
245454
+ constructor(process26) {
245452
245455
  super();
245453
- this.#process = process25;
245456
+ this.#process = process26;
245454
245457
  this.#sigListeners = {};
245455
245458
  for (const sig of signals) {
245456
245459
  this.#sigListeners[sig] = () => {
245457
245460
  const listeners = this.#process.listeners(sig);
245458
245461
  let { count: count2 } = this.#emitter;
245459
- const p = process25;
245462
+ const p = process26;
245460
245463
  if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") {
245461
245464
  count2 += p.__signal_exit_emitter__.count;
245462
245465
  }
@@ -245465,12 +245468,12 @@ var init_mjs = __esm({
245465
245468
  const ret = this.#emitter.emit("exit", null, sig);
245466
245469
  const s3 = sig === "SIGHUP" ? this.#hupSig : sig;
245467
245470
  if (!ret)
245468
- process25.kill(process25.pid, s3);
245471
+ process26.kill(process26.pid, s3);
245469
245472
  }
245470
245473
  };
245471
245474
  }
245472
- this.#originalProcessReallyExit = process25.reallyExit;
245473
- this.#originalProcessEmit = process25.emit;
245475
+ this.#originalProcessReallyExit = process26.reallyExit;
245476
+ this.#originalProcessEmit = process26.emit;
245474
245477
  }
245475
245478
  onExit(cb, opts) {
245476
245479
  if (!processOk(this.#process)) {
@@ -248692,7 +248695,7 @@ var require_polyfills = __commonJS({
248692
248695
  var constants6 = __require("constants");
248693
248696
  var origCwd = process.cwd;
248694
248697
  var cwd = null;
248695
- var platform16 = process.env.GRACEFUL_FS_PLATFORM || process.platform;
248698
+ var platform17 = process.env.GRACEFUL_FS_PLATFORM || process.platform;
248696
248699
  process.cwd = function() {
248697
248700
  if (!cwd)
248698
248701
  cwd = origCwd.call(process);
@@ -248751,7 +248754,7 @@ var require_polyfills = __commonJS({
248751
248754
  fs93.lchownSync = function() {
248752
248755
  };
248753
248756
  }
248754
- if (platform16 === "win32") {
248757
+ if (platform17 === "win32") {
248755
248758
  fs93.rename = typeof fs93.rename !== "function" ? fs93.rename : function(fs$rename) {
248756
248759
  function rename2(from, to, cb) {
248757
248760
  var start2 = Date.now();
@@ -259991,8 +259994,8 @@ var init_downloadRipGrep = __esm({
259991
259994
  BIN_PATH = join8(__dirname5, "../bin");
259992
259995
  getTarget = () => {
259993
259996
  const arch5 = process.env.npm_config_arch || os10.arch();
259994
- const platform16 = process.env.platform || os10.platform();
259995
- switch (platform16) {
259997
+ const platform17 = process.env.platform || os10.platform();
259998
+ switch (platform17) {
259996
259999
  case "darwin":
259997
260000
  switch (arch5) {
259998
260001
  case "arm64":
@@ -260026,7 +260029,7 @@ var init_downloadRipGrep = __esm({
260026
260029
  return "i686-unknown-linux-musl.tar.gz";
260027
260030
  }
260028
260031
  default:
260029
- throw new VError("Unknown platform: " + platform16);
260032
+ throw new VError("Unknown platform: " + platform17);
260030
260033
  }
260031
260034
  };
260032
260035
  downloadFile2 = async (url5, outFile) => {
@@ -266414,8 +266417,8 @@ async function getIdeProcessInfoForWindows() {
266414
266417
  return { pid: myPid, command: myProc.command };
266415
266418
  }
266416
266419
  async function getIdeProcessInfo() {
266417
- const platform16 = os13.platform();
266418
- if (platform16 === "win32") {
266420
+ const platform17 = os13.platform();
266421
+ if (platform17 === "win32") {
266419
266422
  return getIdeProcessInfoForWindows();
266420
266423
  }
266421
266424
  return getIdeProcessInfoForUnix();
@@ -282963,6 +282966,12 @@ function getShellVersion() {
282963
282966
  if (shellType === "zsh") {
282964
282967
  return execSync3("zsh --version").toString().split(" ")[1].trim();
282965
282968
  }
282969
+ if (shellType === "powershell") {
282970
+ const version4 = execSync3(
282971
+ 'powershell -NoProfile -Command "$PSVersionTable.PSVersion.ToString()"'
282972
+ ).toString().trim();
282973
+ return version4;
282974
+ }
282966
282975
  } catch {
282967
282976
  }
282968
282977
  return "unknown";
@@ -282991,23 +283000,35 @@ function detectRuntimesSync(spec) {
282991
283000
  }
282992
283001
  }
282993
283002
  function detectBinariesSync(spec) {
282994
- const commonBinaries = [
282995
- "git",
282996
- "curl",
282997
- "wget",
282998
- "docker",
282999
- "google-chrome",
283000
- "libreoffice",
283001
- "pandoc"
283002
- ];
283003
+ const isWindows5 = os17.platform() === "win32";
283004
+ const commonBinaries = ["git", "curl", "docker", "pandoc"];
283005
+ if (isWindows5) {
283006
+ commonBinaries.push(
283007
+ "pwsh",
283008
+ // PowerShell Core
283009
+ "wsl",
283010
+ // Windows Subsystem for Linux
283011
+ "winget",
283012
+ // Windows Package Manager
283013
+ "choco",
283014
+ // Chocolatey
283015
+ "scoop"
283016
+ // Scoop package manager
283017
+ );
283018
+ } else {
283019
+ commonBinaries.push("wget", "google-chrome", "libreoffice");
283020
+ }
283003
283021
  for (const bin of commonBinaries) {
283004
283022
  try {
283005
- const binPath = execSync3(`which ${bin}`).toString().trim();
283006
- spec.binaries[bin] = { path: binPath };
283007
- try {
283008
- const version4 = execSync3(`${bin} --version`).toString().split("\n")[0].trim();
283009
- spec.binaries[bin].version = version4;
283010
- } catch {
283023
+ const checkCmd = isWindows5 ? `where ${bin}` : `which ${bin}`;
283024
+ const binPath = execSync3(checkCmd, { stdio: "pipe" }).toString().split("\n")[0].trim();
283025
+ if (binPath) {
283026
+ spec.binaries[bin] = { path: binPath };
283027
+ try {
283028
+ const version4 = execSync3(`${bin} --version`).toString().split("\n")[0].trim();
283029
+ spec.binaries[bin].version = version4;
283030
+ } catch {
283031
+ }
283011
283032
  }
283012
283033
  } catch {
283013
283034
  }
@@ -283015,15 +283036,21 @@ function detectBinariesSync(spec) {
283015
283036
  }
283016
283037
  function checkSudo() {
283017
283038
  try {
283018
- execSync3("sudo -n true", { stdio: "ignore" });
283019
- return true;
283039
+ if (os17.platform() === "win32") {
283040
+ execSync3("net session", { stdio: "ignore" });
283041
+ return true;
283042
+ } else {
283043
+ execSync3("sudo -n true", { stdio: "ignore" });
283044
+ return true;
283045
+ }
283020
283046
  } catch {
283021
283047
  return false;
283022
283048
  }
283023
283049
  }
283024
283050
  function checkInternet() {
283025
283051
  try {
283026
- execSync3("ping -c 1 8.8.8.8", { stdio: "ignore", timeout: 2e3 });
283052
+ const pingFlag = os17.platform() === "win32" ? "-n" : "-c";
283053
+ execSync3(`ping ${pingFlag} 1 8.8.8.8`, { stdio: "ignore", timeout: 2e3 });
283027
283054
  return true;
283028
283055
  } catch {
283029
283056
  return false;
@@ -297785,6 +297812,7 @@ var require_tree_sitter_bash = __commonJS({
297785
297812
 
297786
297813
  // packages/core/src/utils/shell-utils.ts
297787
297814
  import os21 from "node:os";
297815
+ import process21 from "node:process";
297788
297816
  import {
297789
297817
  spawn as spawn7,
297790
297818
  spawnSync as spawnSync3
@@ -298018,7 +298046,7 @@ function parsePowerShellCommandDetails(command, executable) {
298018
298046
  ],
298019
298047
  {
298020
298048
  env: {
298021
- ...process.env,
298049
+ ...process21.env,
298022
298050
  [POWERSHELL_COMMAND_ENV]: command
298023
298051
  },
298024
298052
  encoding: "utf-8"
@@ -298351,20 +298379,28 @@ function parseCommandDetails(command) {
298351
298379
  }
298352
298380
  function getShellConfiguration() {
298353
298381
  if (isWindows()) {
298354
- const comSpec = process.env["ComSpec"];
298382
+ const comSpec = process21.env["ComSpec"];
298355
298383
  if (comSpec) {
298356
298384
  const executable = comSpec.toLowerCase();
298357
298385
  if (executable.endsWith("powershell.exe") || executable.endsWith("pwsh.exe")) {
298358
298386
  return {
298359
298387
  executable: comSpec,
298360
- argsPrefix: ["-NoProfile", "-Command"],
298388
+ argsPrefix: [
298389
+ "-NoProfile",
298390
+ "-Command",
298391
+ "[Console]::OutputEncoding = [System.Text.Encoding]::UTF8;"
298392
+ ],
298361
298393
  shell: "powershell"
298362
298394
  };
298363
298395
  }
298364
298396
  }
298365
298397
  return {
298366
298398
  executable: "powershell.exe",
298367
- argsPrefix: ["-NoProfile", "-Command"],
298399
+ argsPrefix: [
298400
+ "-NoProfile",
298401
+ "-Command",
298402
+ "[Console]::OutputEncoding = [System.Text.Encoding]::UTF8;"
298403
+ ],
298368
298404
  shell: "powershell"
298369
298405
  };
298370
298406
  }
@@ -302513,8 +302549,8 @@ var init_shellExecutionService = __esm({
302513
302549
  GEMINI_CLI: "1",
302514
302550
  TERMINAI_CLI: "1",
302515
302551
  TERM: "xterm-256color",
302516
- PAGER: "cat",
302517
- GIT_PAGER: "cat"
302552
+ PAGER: isWindows5 ? "" : "cat",
302553
+ GIT_PAGER: isWindows5 ? "" : "cat"
302518
302554
  }
302519
302555
  });
302520
302556
  const result = new Promise((resolve20) => {
@@ -306512,8 +306548,8 @@ function many(p) {
306512
306548
  function many1(p) {
306513
306549
  return ab(p, many(p), (head, tail) => [head, ...tail]);
306514
306550
  }
306515
- function ab(pa, pb, join40) {
306516
- return (data, i4) => mapOuter(pa(data, i4), (ma) => mapInner(pb(data, ma.position), (vb, j) => join40(ma.value, vb, data, i4, j)));
306551
+ function ab(pa, pb, join41) {
306552
+ return (data, i4) => mapOuter(pa(data, i4), (ma) => mapInner(pb(data, ma.position), (vb, j) => join41(ma.value, vb, data, i4, j)));
306517
306553
  }
306518
306554
  function left(pa, pb) {
306519
306555
  return ab(pa, pb, (va) => va);
@@ -306521,8 +306557,8 @@ function left(pa, pb) {
306521
306557
  function right(pa, pb) {
306522
306558
  return ab(pa, pb, (va, vb) => vb);
306523
306559
  }
306524
- function abc(pa, pb, pc, join40) {
306525
- return (data, i4) => mapOuter(pa(data, i4), (ma) => mapOuter(pb(data, ma.position), (mb) => mapInner(pc(data, mb.position), (vc, j) => join40(ma.value, mb.value, vc, data, i4, j))));
306560
+ function abc(pa, pb, pc, join41) {
306561
+ return (data, i4) => mapOuter(pa(data, i4), (ma) => mapOuter(pb(data, ma.position), (mb) => mapInner(pc(data, mb.position), (vc, j) => join41(ma.value, mb.value, vc, data, i4, j))));
306526
306562
  }
306527
306563
  function middle(pa, pb, pc) {
306528
306564
  return abc(pa, pb, pc, (ra, rb) => rb);
@@ -309706,10 +309742,10 @@ function compile$1(options2 = {}) {
309706
309742
  }
309707
309743
  );
309708
309744
  return function(html2, metadata2 = void 0) {
309709
- return process21(html2, metadata2, options2, picker, findBaseElements, limitedWalk);
309745
+ return process22(html2, metadata2, options2, picker, findBaseElements, limitedWalk);
309710
309746
  };
309711
309747
  }
309712
- function process21(html2, metadata2, options2, picker, findBaseElements, walk) {
309748
+ function process22(html2, metadata2, options2, picker, findBaseElements, walk) {
309713
309749
  const maxInputLength = options2.limits.maxInputLength;
309714
309750
  if (maxInputLength && html2 && html2.length > maxInputLength) {
309715
309751
  console.warn(
@@ -313307,14 +313343,14 @@ var init_noOpDriver = __esm({
313307
313343
  import * as os26 from "node:os";
313308
313344
  function getDesktopDriver() {
313309
313345
  if (instance2) return instance2;
313310
- const platform16 = os26.platform();
313311
- if (platform16 === "linux") {
313346
+ const platform17 = os26.platform();
313347
+ if (platform17 === "linux") {
313312
313348
  instance2 = new LinuxAtspiDriver();
313313
- } else if (platform16 === "win32") {
313349
+ } else if (platform17 === "win32") {
313314
313350
  instance2 = new WindowsUiaDriver();
313315
313351
  } else {
313316
313352
  console.warn(
313317
- `[GUI Automation] Platform '${platform16}' is not fully supported. GUI features will be disabled.`
313353
+ `[GUI Automation] Platform '${platform17}' is not fully supported. GUI features will be disabled.`
313318
313354
  );
313319
313355
  instance2 = new NoOpDriver();
313320
313356
  }
@@ -316103,7 +316139,7 @@ function formatBytes(bytes) {
316103
316139
  return `${size.toFixed(size >= 10 || size % 1 === 0 ? 0 : 1)} ${units[unitIndex]}`;
316104
316140
  }
316105
316141
  function getSystemSnapshot() {
316106
- const platform16 = `${os27.platform()} ${os27.release()}`;
316142
+ const platform17 = `${os27.platform()} ${os27.release()}`;
316107
316143
  const totalMem = os27.totalmem();
316108
316144
  const freeMem = os27.freemem();
316109
316145
  const usedMem = Math.max(totalMem - freeMem, 0);
@@ -316113,7 +316149,7 @@ function getSystemSnapshot() {
316113
316149
  const loadDisplay = Array.isArray(load2) && load2.length > 0 && Number.isFinite(load2[0]) ? `, load (1m): ${load2[0].toFixed(2)}` : "";
316114
316150
  return `
316115
316151
  ## Current System State
316116
- - OS: ${platform16}
316152
+ - OS: ${platform17}
316117
316153
  - CPU: ${cpuCount} cores${loadDisplay}
316118
316154
  - RAM: ${formatBytes(usedMem)} used of ${formatBytes(totalMem)} (${usedPercent.toFixed(1)}%)
316119
316155
  - Disk: Run 'df -h' for details if needed.`.trim();
@@ -316125,7 +316161,7 @@ async function getEnvironmentContext(config3) {
316125
316161
  month: "long",
316126
316162
  day: "numeric"
316127
316163
  });
316128
- const platform16 = process.platform;
316164
+ const platform17 = process.platform;
316129
316165
  const directoryContext = await getDirectoryContextString(config3);
316130
316166
  const tempDir = config3.storage.getProjectTempDir();
316131
316167
  const environmentMemory = config3.getEnvironmentMemory();
@@ -316133,7 +316169,7 @@ async function getEnvironmentContext(config3) {
316133
316169
  const context2 = `
316134
316170
  This is TerminaI, a general terminal agent. We are setting up the context for our chat.
316135
316171
  Today's date is ${today} (formatted according to the user's locale).
316136
- My operating system is: ${platform16}
316172
+ My operating system is: ${platform17}
316137
316173
  The project's temporary directory is: ${tempDir}
316138
316174
  ${systemSnapshot}
316139
316175
  ${directoryContext}
@@ -319517,7 +319553,7 @@ When you are finished, you **MUST** call the \`complete_task\` tool. The \`repor
319517
319553
  "ExplorationTrace": [
319518
319554
  "Used \`grep\` to search for \`updateUser\` to locate the primary function.",
319519
319555
  "Read the file \`src/controllers/userController.js\` to understand the function's logic.",
319520
- "Used \`ls -R\` to look for related files, such as services or database models.",
319556
+ "Used \`ls\` tool to recursively look for related files, such as services or database models.",
319521
319557
  "Read \`src/services/userService.js\` and \`src/models/User.js\` to understand the data flow and how state is managed."
319522
319558
  ],
319523
319559
  "RelevantLocations": [
@@ -319750,7 +319786,7 @@ ${todoListString}` : "Successfully cleared the todo list.";
319750
319786
  import path59 from "node:path";
319751
319787
  import fs49 from "node:fs";
319752
319788
  import os28 from "node:os";
319753
- import process22 from "node:process";
319789
+ import process23 from "node:process";
319754
319790
  function resolvePathFromEnv(envVar) {
319755
319791
  const trimmedEnvVar = envVar?.trim();
319756
319792
  if (!trimmedEnvVar) {
@@ -319788,7 +319824,7 @@ function getCoreSystemPrompt(config3, userMemory) {
319788
319824
  let systemMdEnabled = false;
319789
319825
  let systemMdPath = path59.resolve(path59.join(GEMINI_DIR, "system.md"));
319790
319826
  const systemMdResolution = resolvePathFromEnv(
319791
- process22.env["GEMINI_SYSTEM_MD"]
319827
+ process23.env["GEMINI_SYSTEM_MD"]
319792
319828
  );
319793
319829
  if (systemMdResolution.value && !systemMdResolution.isDisabled) {
319794
319830
  systemMdEnabled = true;
@@ -319930,8 +319966,8 @@ ${function() {
319930
319966
  - **Feedback:** To report a bug or provide feedback, please use the /bug command.`,
319931
319967
  sandbox: `
319932
319968
  ${function() {
319933
- const isSandboxExec = process22.env["SANDBOX"] === "sandbox-exec";
319934
- const isGenericSandbox = !!process22.env["SANDBOX"];
319969
+ const isSandboxExec = process23.env["SANDBOX"] === "sandbox-exec";
319970
+ const isGenericSandbox = !!process23.env["SANDBOX"];
319935
319971
  if (isSandboxExec) {
319936
319972
  return `
319937
319973
  # macOS Seatbelt
@@ -319951,7 +319987,7 @@ You are running outside of a sandbox container, directly on the user's system. F
319951
319987
  }()}`,
319952
319988
  git: `
319953
319989
  ${function() {
319954
- if (isGitRepository(process22.cwd())) {
319990
+ if (isGitRepository(process23.cwd())) {
319955
319991
  return `
319956
319992
  # Git Repository
319957
319993
  - The current working (project) directory is being managed by a git repository.
@@ -319996,14 +320032,14 @@ Your core function is efficient and safe assistance. Balance extreme conciseness
319996
320032
  "finalReminder"
319997
320033
  );
319998
320034
  const enabledPrompts = orderedPrompts.filter((key) => {
319999
- const envVar = process22.env[`GEMINI_PROMPT_${key.toUpperCase()}`];
320035
+ const envVar = process23.env[`GEMINI_PROMPT_${key.toUpperCase()}`];
320000
320036
  const lowerEnvVar = envVar?.trim().toLowerCase();
320001
320037
  return lowerEnvVar !== "0" && lowerEnvVar !== "false";
320002
320038
  });
320003
320039
  basePrompt = enabledPrompts.map((key) => promptConfig[key]).join("\n");
320004
320040
  }
320005
320041
  const writeSystemMdResolution = resolvePathFromEnv(
320006
- process22.env["GEMINI_WRITE_SYSTEM_MD"]
320042
+ process23.env["GEMINI_WRITE_SYSTEM_MD"]
320007
320043
  );
320008
320044
  if (writeSystemMdResolution.value && !writeSystemMdResolution.isDisabled) {
320009
320045
  const writePath = writeSystemMdResolution.isSwitch ? systemMdPath : writeSystemMdResolution.value;
@@ -340380,8 +340416,9 @@ ${clientInstructions}`
340380
340416
 
340381
340417
  // packages/core/src/config/config.ts
340382
340418
  import * as path71 from "node:path";
340419
+ import * as os29 from "node:os";
340383
340420
  import { inspect as inspect4 } from "node:util";
340384
- import process23 from "node:process";
340421
+ import process24 from "node:process";
340385
340422
  var DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD, DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES, MCPServerConfig, AuthProviderType, Config;
340386
340423
  var init_config4 = __esm({
340387
340424
  "packages/core/src/config/config.ts"() {
@@ -340673,7 +340710,7 @@ var init_config4 = __esm({
340673
340710
  };
340674
340711
  this.checkpointing = params.checkpointing ?? false;
340675
340712
  this.proxy = params.proxy;
340676
- this.cwd = params.cwd ?? process23.cwd();
340713
+ this.cwd = params.cwd ?? process24.cwd();
340677
340714
  this.fileDiscoveryService = params.fileDiscoveryService ?? null;
340678
340715
  this.bugCommand = params.bugCommand;
340679
340716
  this.model = params.model;
@@ -340708,7 +340745,7 @@ var init_config4 = __esm({
340708
340745
  terminalWidth: params.shellExecutionConfig?.terminalWidth ?? 80,
340709
340746
  terminalHeight: params.shellExecutionConfig?.terminalHeight ?? 24,
340710
340747
  showColor: params.shellExecutionConfig?.showColor ?? false,
340711
- pager: params.shellExecutionConfig?.pager ?? "cat"
340748
+ pager: params.shellExecutionConfig?.pager ?? (os29.platform() === "win32" ? "" : "cat")
340712
340749
  };
340713
340750
  this.truncateToolOutputThreshold = params.truncateToolOutputThreshold ?? DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD;
340714
340751
  this.truncateToolOutputLines = params.truncateToolOutputLines ?? DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES;
@@ -340769,7 +340806,14 @@ var init_config4 = __esm({
340769
340806
  "pypi.org",
340770
340807
  "python.org"
340771
340808
  ];
340772
- this.criticalPaths = params.security?.criticalPaths ?? [
340809
+ this.criticalPaths = params.security?.criticalPaths ?? (os29.platform() === "win32" ? [
340810
+ "C:\\",
340811
+ "C:\\Windows",
340812
+ "C:\\Program Files",
340813
+ "C:\\Program Files (x86)",
340814
+ path71.join(os29.homedir(), ".ssh"),
340815
+ path71.join(os29.homedir(), ".aws")
340816
+ ] : [
340773
340817
  "/",
340774
340818
  "/etc",
340775
340819
  "/usr",
@@ -340778,7 +340822,7 @@ var init_config4 = __esm({
340778
340822
  "~/.ssh",
340779
340823
  "~/.aws",
340780
340824
  "~/.gnupg"
340781
- ];
340825
+ ]);
340782
340826
  const policyBrainAuthority = params.brain?.policyAuthority;
340783
340827
  this.brainAuthority = resolveEffectiveBrainAuthority(
340784
340828
  params.brain?.authority ?? DEFAULT_BRAIN_AUTHORITY,
@@ -341106,7 +341150,7 @@ var init_config4 = __esm({
341106
341150
  }
341107
341151
  isRestrictiveSandbox() {
341108
341152
  const sandboxConfig = this.getSandbox();
341109
- const seatbeltProfile = process23.env["SEATBELT_PROFILE"];
341153
+ const seatbeltProfile = process24.env["SEATBELT_PROFILE"];
341110
341154
  return !!sandboxConfig && sandboxConfig.command === "sandbox-exec" && !!seatbeltProfile && seatbeltProfile.startsWith("restrictive-");
341111
341155
  }
341112
341156
  getTargetDir() {
@@ -344851,9 +344895,9 @@ var require_strip_json_comments = __commonJS({
344851
344895
  // packages/core/src/config/settings/trust.ts
344852
344896
  import * as fs61 from "node:fs";
344853
344897
  import * as path72 from "node:path";
344854
- import { homedir as homedir9 } from "node:os";
344898
+ import { homedir as homedir10 } from "node:os";
344855
344899
  function getUserSettingsDir() {
344856
- return path72.join(homedir9(), GEMINI_DIR);
344900
+ return path72.join(homedir10(), GEMINI_DIR);
344857
344901
  }
344858
344902
  function getTrustedFoldersPath() {
344859
344903
  if (process.env["GEMINI_CLI_TRUSTED_FOLDERS_PATH"]) {
@@ -352929,10 +352973,10 @@ var require_stringify4 = __commonJS({
352929
352973
  replacer = null;
352930
352974
  indent = EMPTY;
352931
352975
  };
352932
- var join40 = (one, two, gap) => one ? two ? one + two.trim() + LF3 + gap : one.trimRight() + LF3 + gap : two ? two.trimRight() + LF3 + gap : EMPTY;
352976
+ var join41 = (one, two, gap) => one ? two ? one + two.trim() + LF3 + gap : one.trimRight() + LF3 + gap : two ? two.trimRight() + LF3 + gap : EMPTY;
352933
352977
  var join_content = (inside, value, gap) => {
352934
352978
  const comment = process_comments(value, PREFIX_BEFORE, gap + indent, true);
352935
- return join40(comment, inside, gap);
352979
+ return join41(comment, inside, gap);
352936
352980
  };
352937
352981
  var array_stringify = (value, gap) => {
352938
352982
  const deeper_gap = gap + indent;
@@ -352943,7 +352987,7 @@ var require_stringify4 = __commonJS({
352943
352987
  if (i4 !== 0) {
352944
352988
  inside += COMMA;
352945
352989
  }
352946
- const before = join40(
352990
+ const before = join41(
352947
352991
  after_comma,
352948
352992
  process_comments(value, BEFORE(i4), deeper_gap),
352949
352993
  deeper_gap
@@ -352953,7 +352997,7 @@ var require_stringify4 = __commonJS({
352953
352997
  inside += process_comments(value, AFTER_VALUE(i4), deeper_gap);
352954
352998
  after_comma = process_comments(value, AFTER(i4), deeper_gap);
352955
352999
  }
352956
- inside += join40(
353000
+ inside += join41(
352957
353001
  after_comma,
352958
353002
  process_comments(value, PREFIX_AFTER, deeper_gap),
352959
353003
  deeper_gap
@@ -352978,7 +353022,7 @@ var require_stringify4 = __commonJS({
352978
353022
  inside += COMMA;
352979
353023
  }
352980
353024
  first2 = false;
352981
- const before = join40(
353025
+ const before = join41(
352982
353026
  after_comma,
352983
353027
  process_comments(value, BEFORE(key), deeper_gap),
352984
353028
  deeper_gap
@@ -352988,7 +353032,7 @@ var require_stringify4 = __commonJS({
352988
353032
  after_comma = process_comments(value, AFTER(key), deeper_gap);
352989
353033
  };
352990
353034
  keys.forEach(iteratee);
352991
- inside += join40(
353035
+ inside += join41(
352992
353036
  after_comma,
352993
353037
  process_comments(value, PREFIX_AFTER, deeper_gap),
352994
353038
  deeper_gap
@@ -353490,7 +353534,7 @@ var require_main = __commonJS({
353490
353534
  "node_modules/dotenv/lib/main.js"(exports2, module2) {
353491
353535
  var fs93 = __require("fs");
353492
353536
  var path103 = __require("path");
353493
- var os32 = __require("os");
353537
+ var os33 = __require("os");
353494
353538
  var crypto27 = __require("crypto");
353495
353539
  var packageJson4 = require_package11();
353496
353540
  var version4 = packageJson4.version;
@@ -353634,7 +353678,7 @@ var require_main = __commonJS({
353634
353678
  return null;
353635
353679
  }
353636
353680
  function _resolveHome(envPath) {
353637
- return envPath[0] === "~" ? path103.join(os32.homedir(), envPath.slice(1)) : envPath;
353681
+ return envPath[0] === "~" ? path103.join(os33.homedir(), envPath.slice(1)) : envPath;
353638
353682
  }
353639
353683
  function _configVault(options2) {
353640
353684
  const debug2 = Boolean(options2 && options2.debug);
@@ -354396,7 +354440,7 @@ var init_config5 = __esm({
354396
354440
  });
354397
354441
 
354398
354442
  // packages/core/src/config/builder.ts
354399
- import { platform as platform10, homedir as homedir10 } from "node:os";
354443
+ import { platform as platform11, homedir as homedir11 } from "node:os";
354400
354444
  import * as path76 from "node:path";
354401
354445
  import * as fs66 from "node:fs";
354402
354446
  function normalizeOpenAIBaseUrl(raw2) {
@@ -354428,9 +354472,9 @@ function getSystemSettingsPath() {
354428
354472
  if (process.env["GEMINI_CLI_SYSTEM_SETTINGS_PATH"]) {
354429
354473
  return process.env["GEMINI_CLI_SYSTEM_SETTINGS_PATH"];
354430
354474
  }
354431
- if (platform10() === "darwin") {
354475
+ if (platform11() === "darwin") {
354432
354476
  return "/Library/Application Support/GeminiCli/settings.json";
354433
- } else if (platform10() === "win32") {
354477
+ } else if (platform11() === "win32") {
354434
354478
  return "C:\\ProgramData\\gemini-cli\\settings.json";
354435
354479
  } else {
354436
354480
  return "/etc/gemini-cli/settings.json";
@@ -354458,11 +354502,11 @@ function findEnvFile(startDir) {
354458
354502
  }
354459
354503
  const parentDir = path76.dirname(currentDir);
354460
354504
  if (parentDir === currentDir || !parentDir) {
354461
- const homeGeminiEnvPath = path76.join(homedir10(), GEMINI_DIR, ".env");
354505
+ const homeGeminiEnvPath = path76.join(homedir11(), GEMINI_DIR, ".env");
354462
354506
  if (fs66.existsSync(homeGeminiEnvPath)) {
354463
354507
  return homeGeminiEnvPath;
354464
354508
  }
354465
- const homeEnvPath = path76.join(homedir10(), ".env");
354509
+ const homeEnvPath = path76.join(homedir11(), ".env");
354466
354510
  if (fs66.existsSync(homeEnvPath)) {
354467
354511
  return homeEnvPath;
354468
354512
  }
@@ -363469,8 +363513,8 @@ var require_utils18 = __commonJS({
363469
363513
  exports2.toPosixSlashes = (str) => str.replace(REGEX_BACKSLASH, "/");
363470
363514
  exports2.isWindows = () => {
363471
363515
  if (typeof navigator !== "undefined" && navigator.platform) {
363472
- const platform16 = navigator.platform.toLowerCase();
363473
- return platform16 === "win32" || platform16 === "windows";
363516
+ const platform17 = navigator.platform.toLowerCase();
363517
+ return platform17 === "win32" || platform17 === "windows";
363474
363518
  }
363475
363519
  if (typeof process !== "undefined" && process.platform) {
363476
363520
  return process.platform === "win32";
@@ -367231,13 +367275,13 @@ var init_sessionSummaryUtils = __esm({
367231
367275
 
367232
367276
  // packages/core/src/ide/ide-installer.ts
367233
367277
  import * as child_process from "node:child_process";
367234
- import * as process24 from "node:process";
367278
+ import * as process25 from "node:process";
367235
367279
  import * as path83 from "node:path";
367236
367280
  import * as fs71 from "node:fs";
367237
- import * as os29 from "node:os";
367238
- async function findCommand(command, platform16 = process24.platform) {
367281
+ import * as os30 from "node:os";
367282
+ async function findCommand(command, platform17 = process25.platform) {
367239
367283
  try {
367240
- if (platform16 === "win32") {
367284
+ if (platform17 === "win32") {
367241
367285
  const result = child_process.execSync(`where.exe ${command}`).toString().trim();
367242
367286
  const firstPath = result.split(/\r?\n/)[0];
367243
367287
  if (firstPath) {
@@ -367252,23 +367296,23 @@ async function findCommand(command, platform16 = process24.platform) {
367252
367296
  } catch {
367253
367297
  }
367254
367298
  const locations = [];
367255
- const homeDir = os29.homedir();
367299
+ const homeDir = os30.homedir();
367256
367300
  if (command === "code" || command === "code.cmd") {
367257
- if (platform16 === "darwin") {
367301
+ if (platform17 === "darwin") {
367258
367302
  locations.push(
367259
367303
  "/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code",
367260
367304
  path83.join(homeDir, "Library/Application Support/Code/bin/code")
367261
367305
  );
367262
- } else if (platform16 === "linux") {
367306
+ } else if (platform17 === "linux") {
367263
367307
  locations.push(
367264
367308
  "/usr/share/code/bin/code",
367265
367309
  "/snap/bin/code",
367266
367310
  path83.join(homeDir, ".local/share/code/bin/code")
367267
367311
  );
367268
- } else if (platform16 === "win32") {
367312
+ } else if (platform17 === "win32") {
367269
367313
  locations.push(
367270
367314
  path83.join(
367271
- process24.env["ProgramFiles"] || "C:\\Program Files",
367315
+ process25.env["ProgramFiles"] || "C:\\Program Files",
367272
367316
  "Microsoft VS Code",
367273
367317
  "bin",
367274
367318
  "code.cmd"
@@ -367292,13 +367336,13 @@ async function findCommand(command, platform16 = process24.platform) {
367292
367336
  }
367293
367337
  return null;
367294
367338
  }
367295
- function getIdeInstaller(ide, platform16 = process24.platform) {
367339
+ function getIdeInstaller(ide, platform17 = process25.platform) {
367296
367340
  switch (ide.name) {
367297
367341
  case IDE_DEFINITIONS.vscode.name:
367298
367342
  case IDE_DEFINITIONS.firebasestudio.name:
367299
- return new VsCodeInstaller(ide, platform16);
367343
+ return new VsCodeInstaller(ide, platform17);
367300
367344
  case IDE_DEFINITIONS.antigravity.name:
367301
- return new AntigravityInstaller(ide, platform16);
367345
+ return new AntigravityInstaller(ide, platform17);
367302
367346
  default:
367303
367347
  return null;
367304
367348
  }
@@ -367310,11 +367354,11 @@ var init_ide_installer = __esm({
367310
367354
  init_detect_ide();
367311
367355
  init_constants4();
367312
367356
  VsCodeInstaller = class {
367313
- constructor(ideInfo, platform16 = process24.platform) {
367357
+ constructor(ideInfo, platform17 = process25.platform) {
367314
367358
  this.ideInfo = ideInfo;
367315
- this.platform = platform16;
367316
- const command = platform16 === "win32" ? "code.cmd" : "code";
367317
- this.vsCodeCommand = findCommand(command, platform16);
367359
+ this.platform = platform17;
367360
+ const command = platform17 === "win32" ? "code.cmd" : "code";
367361
+ this.vsCodeCommand = findCommand(command, platform17);
367318
367362
  }
367319
367363
  vsCodeCommand;
367320
367364
  async install() {
@@ -367353,12 +367397,12 @@ var init_ide_installer = __esm({
367353
367397
  }
367354
367398
  };
367355
367399
  AntigravityInstaller = class {
367356
- constructor(ideInfo, platform16 = process24.platform) {
367400
+ constructor(ideInfo, platform17 = process25.platform) {
367357
367401
  this.ideInfo = ideInfo;
367358
- this.platform = platform16;
367402
+ this.platform = platform17;
367359
367403
  }
367360
367404
  async install() {
367361
- const command = process24.env["ANTIGRAVITY_CLI_ALIAS"];
367405
+ const command = process25.env["ANTIGRAVITY_CLI_ALIAS"];
367362
367406
  if (!command) {
367363
367407
  return {
367364
367408
  success: false,
@@ -369249,7 +369293,7 @@ var require_has_flag2 = __commonJS({
369249
369293
  var require_supports_colors = __commonJS({
369250
369294
  "node_modules/@colors/colors/lib/system/supports-colors.js"(exports2, module2) {
369251
369295
  "use strict";
369252
- var os32 = __require("os");
369296
+ var os33 = __require("os");
369253
369297
  var hasFlag = require_has_flag2();
369254
369298
  var env3 = process.env;
369255
369299
  var forceColor = void 0;
@@ -369287,7 +369331,7 @@ var require_supports_colors = __commonJS({
369287
369331
  }
369288
369332
  var min = forceColor ? 1 : 0;
369289
369333
  if (process.platform === "win32") {
369290
- var osRelease = os32.release().split(".");
369334
+ var osRelease = os33.release().split(".");
369291
369335
  if (Number(process.versions.node.split(".")[0]) >= 8 && Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
369292
369336
  return Number(osRelease[2]) >= 14931 ? 3 : 2;
369293
369337
  }
@@ -370398,7 +370442,7 @@ var require_safe_stable_stringify = __commonJS({
370398
370442
  return circularValue;
370399
370443
  }
370400
370444
  let res = "";
370401
- let join40 = ",";
370445
+ let join41 = ",";
370402
370446
  const originalIndentation = indentation;
370403
370447
  if (Array.isArray(value)) {
370404
370448
  if (value.length === 0) {
@@ -370412,7 +370456,7 @@ var require_safe_stable_stringify = __commonJS({
370412
370456
  indentation += spacer;
370413
370457
  res += `
370414
370458
  ${indentation}`;
370415
- join40 = `,
370459
+ join41 = `,
370416
370460
  ${indentation}`;
370417
370461
  }
370418
370462
  const maximumValuesToStringify = Math.min(value.length, maximumBreadth);
@@ -370420,13 +370464,13 @@ ${indentation}`;
370420
370464
  for (; i4 < maximumValuesToStringify - 1; i4++) {
370421
370465
  const tmp2 = stringifyFnReplacer(String(i4), value, stack, replacer, spacer, indentation);
370422
370466
  res += tmp2 !== void 0 ? tmp2 : "null";
370423
- res += join40;
370467
+ res += join41;
370424
370468
  }
370425
370469
  const tmp = stringifyFnReplacer(String(i4), value, stack, replacer, spacer, indentation);
370426
370470
  res += tmp !== void 0 ? tmp : "null";
370427
370471
  if (value.length - 1 > maximumBreadth) {
370428
370472
  const removedKeys = value.length - maximumBreadth - 1;
370429
- res += `${join40}"... ${getItemCount(removedKeys)} not stringified"`;
370473
+ res += `${join41}"... ${getItemCount(removedKeys)} not stringified"`;
370430
370474
  }
370431
370475
  if (spacer !== "") {
370432
370476
  res += `
@@ -370447,7 +370491,7 @@ ${originalIndentation}`;
370447
370491
  let separator = "";
370448
370492
  if (spacer !== "") {
370449
370493
  indentation += spacer;
370450
- join40 = `,
370494
+ join41 = `,
370451
370495
  ${indentation}`;
370452
370496
  whitespace = " ";
370453
370497
  }
@@ -370461,13 +370505,13 @@ ${indentation}`;
370461
370505
  const tmp = stringifyFnReplacer(key2, value, stack, replacer, spacer, indentation);
370462
370506
  if (tmp !== void 0) {
370463
370507
  res += `${separator}${strEscape(key2)}:${whitespace}${tmp}`;
370464
- separator = join40;
370508
+ separator = join41;
370465
370509
  }
370466
370510
  }
370467
370511
  if (keyLength > maximumBreadth) {
370468
370512
  const removedKeys = keyLength - maximumBreadth;
370469
370513
  res += `${separator}"...":${whitespace}"${getItemCount(removedKeys)} not stringified"`;
370470
- separator = join40;
370514
+ separator = join41;
370471
370515
  }
370472
370516
  if (spacer !== "" && separator.length > 1) {
370473
370517
  res = `
@@ -370508,7 +370552,7 @@ ${originalIndentation}`;
370508
370552
  }
370509
370553
  const originalIndentation = indentation;
370510
370554
  let res = "";
370511
- let join40 = ",";
370555
+ let join41 = ",";
370512
370556
  if (Array.isArray(value)) {
370513
370557
  if (value.length === 0) {
370514
370558
  return "[]";
@@ -370521,7 +370565,7 @@ ${originalIndentation}`;
370521
370565
  indentation += spacer;
370522
370566
  res += `
370523
370567
  ${indentation}`;
370524
- join40 = `,
370568
+ join41 = `,
370525
370569
  ${indentation}`;
370526
370570
  }
370527
370571
  const maximumValuesToStringify = Math.min(value.length, maximumBreadth);
@@ -370529,13 +370573,13 @@ ${indentation}`;
370529
370573
  for (; i4 < maximumValuesToStringify - 1; i4++) {
370530
370574
  const tmp2 = stringifyArrayReplacer(String(i4), value[i4], stack, replacer, spacer, indentation);
370531
370575
  res += tmp2 !== void 0 ? tmp2 : "null";
370532
- res += join40;
370576
+ res += join41;
370533
370577
  }
370534
370578
  const tmp = stringifyArrayReplacer(String(i4), value[i4], stack, replacer, spacer, indentation);
370535
370579
  res += tmp !== void 0 ? tmp : "null";
370536
370580
  if (value.length - 1 > maximumBreadth) {
370537
370581
  const removedKeys = value.length - maximumBreadth - 1;
370538
- res += `${join40}"... ${getItemCount(removedKeys)} not stringified"`;
370582
+ res += `${join41}"... ${getItemCount(removedKeys)} not stringified"`;
370539
370583
  }
370540
370584
  if (spacer !== "") {
370541
370585
  res += `
@@ -370548,7 +370592,7 @@ ${originalIndentation}`;
370548
370592
  let whitespace = "";
370549
370593
  if (spacer !== "") {
370550
370594
  indentation += spacer;
370551
- join40 = `,
370595
+ join41 = `,
370552
370596
  ${indentation}`;
370553
370597
  whitespace = " ";
370554
370598
  }
@@ -370557,7 +370601,7 @@ ${indentation}`;
370557
370601
  const tmp = stringifyArrayReplacer(key2, value[key2], stack, replacer, spacer, indentation);
370558
370602
  if (tmp !== void 0) {
370559
370603
  res += `${separator}${strEscape(key2)}:${whitespace}${tmp}`;
370560
- separator = join40;
370604
+ separator = join41;
370561
370605
  }
370562
370606
  }
370563
370607
  if (spacer !== "" && separator.length > 1) {
@@ -370615,20 +370659,20 @@ ${originalIndentation}`;
370615
370659
  indentation += spacer;
370616
370660
  let res2 = `
370617
370661
  ${indentation}`;
370618
- const join41 = `,
370662
+ const join42 = `,
370619
370663
  ${indentation}`;
370620
370664
  const maximumValuesToStringify = Math.min(value.length, maximumBreadth);
370621
370665
  let i4 = 0;
370622
370666
  for (; i4 < maximumValuesToStringify - 1; i4++) {
370623
370667
  const tmp2 = stringifyIndent(String(i4), value[i4], stack, spacer, indentation);
370624
370668
  res2 += tmp2 !== void 0 ? tmp2 : "null";
370625
- res2 += join41;
370669
+ res2 += join42;
370626
370670
  }
370627
370671
  const tmp = stringifyIndent(String(i4), value[i4], stack, spacer, indentation);
370628
370672
  res2 += tmp !== void 0 ? tmp : "null";
370629
370673
  if (value.length - 1 > maximumBreadth) {
370630
370674
  const removedKeys = value.length - maximumBreadth - 1;
370631
- res2 += `${join41}"... ${getItemCount(removedKeys)} not stringified"`;
370675
+ res2 += `${join42}"... ${getItemCount(removedKeys)} not stringified"`;
370632
370676
  }
370633
370677
  res2 += `
370634
370678
  ${originalIndentation}`;
@@ -370644,16 +370688,16 @@ ${originalIndentation}`;
370644
370688
  return '"[Object]"';
370645
370689
  }
370646
370690
  indentation += spacer;
370647
- const join40 = `,
370691
+ const join41 = `,
370648
370692
  ${indentation}`;
370649
370693
  let res = "";
370650
370694
  let separator = "";
370651
370695
  let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth);
370652
370696
  if (isTypedArrayWithEntries(value)) {
370653
- res += stringifyTypedArray(value, join40, maximumBreadth);
370697
+ res += stringifyTypedArray(value, join41, maximumBreadth);
370654
370698
  keys = keys.slice(value.length);
370655
370699
  maximumPropertiesToStringify -= value.length;
370656
- separator = join40;
370700
+ separator = join41;
370657
370701
  }
370658
370702
  if (deterministic) {
370659
370703
  keys = sort(keys, comparator);
@@ -370664,13 +370708,13 @@ ${indentation}`;
370664
370708
  const tmp = stringifyIndent(key2, value[key2], stack, spacer, indentation);
370665
370709
  if (tmp !== void 0) {
370666
370710
  res += `${separator}${strEscape(key2)}: ${tmp}`;
370667
- separator = join40;
370711
+ separator = join41;
370668
370712
  }
370669
370713
  }
370670
370714
  if (keyLength > maximumBreadth) {
370671
370715
  const removedKeys = keyLength - maximumBreadth;
370672
370716
  res += `${separator}"...": "${getItemCount(removedKeys)} not stringified"`;
370673
- separator = join40;
370717
+ separator = join41;
370674
370718
  }
370675
370719
  if (separator !== "") {
370676
370720
  res = `
@@ -371915,7 +371959,7 @@ var require_winston_transport = __commonJS({
371915
371959
  var require_console = __commonJS({
371916
371960
  "node_modules/winston/lib/winston/transports/console.js"(exports2, module2) {
371917
371961
  "use strict";
371918
- var os32 = __require("os");
371962
+ var os33 = __require("os");
371919
371963
  var { LEVEL, MESSAGE } = require_triple_beam();
371920
371964
  var TransportStream = require_winston_transport();
371921
371965
  module2.exports = class Console extends TransportStream {
@@ -371929,7 +371973,7 @@ var require_console = __commonJS({
371929
371973
  this.name = options2.name || "console";
371930
371974
  this.stderrLevels = this._stringArrayToSet(options2.stderrLevels);
371931
371975
  this.consoleWarnLevels = this._stringArrayToSet(options2.consoleWarnLevels);
371932
- this.eol = typeof options2.eol === "string" ? options2.eol : os32.EOL;
371976
+ this.eol = typeof options2.eol === "string" ? options2.eol : os33.EOL;
371933
371977
  this.forceConsole = options2.forceConsole || false;
371934
371978
  this._consoleLog = console.log.bind(console);
371935
371979
  this._consoleWarn = console.warn.bind(console);
@@ -372595,7 +372639,7 @@ var require_diagnostics2 = __commonJS({
372595
372639
  function write2() {
372596
372640
  logger6.apply(logger6, arguments);
372597
372641
  }
372598
- function process25(message) {
372642
+ function process26(message) {
372599
372643
  for (var i4 = 0; i4 < modifiers.length; i4++) {
372600
372644
  message = modifiers[i4].apply(modifiers[i4], arguments);
372601
372645
  }
@@ -372622,7 +372666,7 @@ var require_diagnostics2 = __commonJS({
372622
372666
  function yep(options2) {
372623
372667
  function diagnostics() {
372624
372668
  var args2 = Array.prototype.slice.call(arguments, 0);
372625
- write2.call(write2, options2, process25(args2, options2));
372669
+ write2.call(write2, options2, process26(args2, options2));
372626
372670
  return true;
372627
372671
  }
372628
372672
  options2.enabled = true;
@@ -372634,7 +372678,7 @@ var require_diagnostics2 = __commonJS({
372634
372678
  module2.exports = function create3(diagnostics) {
372635
372679
  diagnostics.introduce = introduce;
372636
372680
  diagnostics.enabled = enabled;
372637
- diagnostics.process = process25;
372681
+ diagnostics.process = process26;
372638
372682
  diagnostics.modify = modify;
372639
372683
  diagnostics.write = write2;
372640
372684
  diagnostics.nope = nope;
@@ -374561,7 +374605,7 @@ var require_file2 = __commonJS({
374561
374605
  var { Stream: Stream4, PassThrough: PassThrough6 } = require_readable();
374562
374606
  var TransportStream = require_winston_transport();
374563
374607
  var debug2 = require_node18()("winston:file");
374564
- var os32 = __require("os");
374608
+ var os33 = __require("os");
374565
374609
  var tailFile = require_tail_file();
374566
374610
  module2.exports = class File extends TransportStream {
374567
374611
  /**
@@ -374599,7 +374643,7 @@ var require_file2 = __commonJS({
374599
374643
  this.rotationFormat = options2.rotationFormat || false;
374600
374644
  this.zippedArchive = options2.zippedArchive || false;
374601
374645
  this.maxFiles = options2.maxFiles || null;
374602
- this.eol = typeof options2.eol === "string" ? options2.eol : os32.EOL;
374646
+ this.eol = typeof options2.eol === "string" ? options2.eol : os33.EOL;
374603
374647
  this.tailable = options2.tailable || false;
374604
374648
  this.lazy = options2.lazy || false;
374605
374649
  this._size = 0;
@@ -375367,7 +375411,7 @@ var require_stream3 = __commonJS({
375367
375411
  "use strict";
375368
375412
  var isStream4 = require_is_stream();
375369
375413
  var { MESSAGE } = require_triple_beam();
375370
- var os32 = __require("os");
375414
+ var os33 = __require("os");
375371
375415
  var TransportStream = require_winston_transport();
375372
375416
  module2.exports = class Stream extends TransportStream {
375373
375417
  /**
@@ -375383,7 +375427,7 @@ var require_stream3 = __commonJS({
375383
375427
  this._stream = options2.stream;
375384
375428
  this._stream.setMaxListeners(Infinity);
375385
375429
  this.isObjectMode = options2.stream._writableState.objectMode;
375386
- this.eol = typeof options2.eol === "string" ? options2.eol : os32.EOL;
375430
+ this.eol = typeof options2.eol === "string" ? options2.eol : os33.EOL;
375387
375431
  }
375388
375432
  /**
375389
375433
  * Core logging method exposed to Winston.
@@ -375766,7 +375810,7 @@ var require_exception_stream = __commonJS({
375766
375810
  var require_exception_handler = __commonJS({
375767
375811
  "node_modules/winston/lib/winston/exception-handler.js"(exports2, module2) {
375768
375812
  "use strict";
375769
- var os32 = __require("os");
375813
+ var os33 = __require("os");
375770
375814
  var asyncForEach = require_forEach();
375771
375815
  var debug2 = require_node18()("winston:exception");
375772
375816
  var once9 = require_one_time();
@@ -375861,8 +375905,8 @@ var require_exception_handler = __commonJS({
375861
375905
  */
375862
375906
  getOsInfo() {
375863
375907
  return {
375864
- loadavg: os32.loadavg(),
375865
- uptime: os32.uptime()
375908
+ loadavg: os33.loadavg(),
375909
+ uptime: os33.uptime()
375866
375910
  };
375867
375911
  }
375868
375912
  /**
@@ -376004,7 +376048,7 @@ var require_rejection_stream = __commonJS({
376004
376048
  var require_rejection_handler = __commonJS({
376005
376049
  "node_modules/winston/lib/winston/rejection-handler.js"(exports2, module2) {
376006
376050
  "use strict";
376007
- var os32 = __require("os");
376051
+ var os33 = __require("os");
376008
376052
  var asyncForEach = require_forEach();
376009
376053
  var debug2 = require_node18()("winston:rejection");
376010
376054
  var once9 = require_one_time();
@@ -376101,8 +376145,8 @@ var require_rejection_handler = __commonJS({
376101
376145
  */
376102
376146
  getOsInfo() {
376103
376147
  return {
376104
- loadavg: os32.loadavg(),
376105
- uptime: os32.uptime()
376148
+ loadavg: os33.loadavg(),
376149
+ uptime: os33.uptime()
376106
376150
  };
376107
376151
  }
376108
376152
  /**
@@ -397077,7 +397121,7 @@ var require_view = __commonJS({
397077
397121
  var dirname26 = path103.dirname;
397078
397122
  var basename16 = path103.basename;
397079
397123
  var extname5 = path103.extname;
397080
- var join40 = path103.join;
397124
+ var join41 = path103.join;
397081
397125
  var resolve20 = path103.resolve;
397082
397126
  module2.exports = View;
397083
397127
  function View(name4, options2) {
@@ -397139,12 +397183,12 @@ var require_view = __commonJS({
397139
397183
  };
397140
397184
  View.prototype.resolve = function resolve21(dir, file) {
397141
397185
  var ext2 = this.ext;
397142
- var path104 = join40(dir, file);
397186
+ var path104 = join41(dir, file);
397143
397187
  var stat4 = tryStat(path104);
397144
397188
  if (stat4 && stat4.isFile()) {
397145
397189
  return path104;
397146
397190
  }
397147
- path104 = join40(dir, basename16(file, ext2), "index" + ext2);
397191
+ path104 = join41(dir, basename16(file, ext2), "index" + ext2);
397148
397192
  stat4 = tryStat(path104);
397149
397193
  if (stat4 && stat4.isFile()) {
397150
397194
  return path104;
@@ -400724,7 +400768,7 @@ var require_send = __commonJS({
400724
400768
  var Stream4 = __require("stream");
400725
400769
  var util5 = __require("util");
400726
400770
  var extname5 = path103.extname;
400727
- var join40 = path103.join;
400771
+ var join41 = path103.join;
400728
400772
  var normalize6 = path103.normalize;
400729
400773
  var resolve20 = path103.resolve;
400730
400774
  var sep6 = path103.sep;
@@ -400896,7 +400940,7 @@ var require_send = __commonJS({
400896
400940
  return res;
400897
400941
  }
400898
400942
  parts2 = path104.split(sep6);
400899
- path104 = normalize6(join40(root, path104));
400943
+ path104 = normalize6(join41(root, path104));
400900
400944
  } else {
400901
400945
  if (UP_PATH_REGEXP.test(path104)) {
400902
400946
  debug2('malicious path "%s"', path104);
@@ -401029,7 +401073,7 @@ var require_send = __commonJS({
401029
401073
  if (err2) return self2.onStatError(err2);
401030
401074
  return self2.error(404);
401031
401075
  }
401032
- var p = join40(path104, self2._index[i4]);
401076
+ var p = join41(path104, self2._index[i4]);
401033
401077
  debug2('stat "%s"', p);
401034
401078
  fs93.stat(p, function(err3, stat4) {
401035
401079
  if (err3) return next(err3);
@@ -408800,7 +408844,7 @@ var require_view2 = __commonJS({
408800
408844
  var dirname26 = path103.dirname;
408801
408845
  var basename16 = path103.basename;
408802
408846
  var extname5 = path103.extname;
408803
- var join40 = path103.join;
408847
+ var join41 = path103.join;
408804
408848
  var resolve20 = path103.resolve;
408805
408849
  module2.exports = View;
408806
408850
  function View(name4, options2) {
@@ -408848,12 +408892,12 @@ var require_view2 = __commonJS({
408848
408892
  };
408849
408893
  View.prototype.resolve = function resolve21(dir, file) {
408850
408894
  var ext2 = this.ext;
408851
- var path104 = join40(dir, file);
408895
+ var path104 = join41(dir, file);
408852
408896
  var stat4 = tryStat(path104);
408853
408897
  if (stat4 && stat4.isFile()) {
408854
408898
  return path104;
408855
408899
  }
408856
- path104 = join40(dir, basename16(file, ext2), "index" + ext2);
408900
+ path104 = join41(dir, basename16(file, ext2), "index" + ext2);
408857
408901
  stat4 = tryStat(path104);
408858
408902
  if (stat4 && stat4.isFile()) {
408859
408903
  return path104;
@@ -409769,7 +409813,7 @@ var require_send2 = __commonJS({
409769
409813
  var Stream4 = __require("stream");
409770
409814
  var util5 = __require("util");
409771
409815
  var extname5 = path103.extname;
409772
- var join40 = path103.join;
409816
+ var join41 = path103.join;
409773
409817
  var normalize6 = path103.normalize;
409774
409818
  var resolve20 = path103.resolve;
409775
409819
  var sep6 = path103.sep;
@@ -409988,7 +410032,7 @@ var require_send2 = __commonJS({
409988
410032
  return res;
409989
410033
  }
409990
410034
  parts2 = path104.split(sep6);
409991
- path104 = normalize6(join40(root, path104));
410035
+ path104 = normalize6(join41(root, path104));
409992
410036
  } else {
409993
410037
  if (UP_PATH_REGEXP.test(path104)) {
409994
410038
  debug2('malicious path "%s"', path104);
@@ -410123,7 +410167,7 @@ var require_send2 = __commonJS({
410123
410167
  if (err2) return self2.onStatError(err2);
410124
410168
  return self2.error(404);
410125
410169
  }
410126
- var p = join40(path104, self2._index[i4]);
410170
+ var p = join41(path104, self2._index[i4]);
410127
410171
  debug2('stat "%s"', p);
410128
410172
  fs93.stat(p, function(err3, stat4) {
410129
410173
  if (err3) return next(err3);
@@ -414968,7 +415012,7 @@ var require_main2 = __commonJS({
414968
415012
  "packages/a2a-server/node_modules/dotenv/lib/main.js"(exports2, module2) {
414969
415013
  var fs93 = __require("fs");
414970
415014
  var path103 = __require("path");
414971
- var os32 = __require("os");
415015
+ var os33 = __require("os");
414972
415016
  var crypto27 = __require("crypto");
414973
415017
  var packageJson4 = require_package14();
414974
415018
  var version4 = packageJson4.version;
@@ -415091,7 +415135,7 @@ var require_main2 = __commonJS({
415091
415135
  return null;
415092
415136
  }
415093
415137
  function _resolveHome(envPath) {
415094
- return envPath[0] === "~" ? path103.join(os32.homedir(), envPath.slice(1)) : envPath;
415138
+ return envPath[0] === "~" ? path103.join(os33.homedir(), envPath.slice(1)) : envPath;
415095
415139
  }
415096
415140
  function _configVault(options2) {
415097
415141
  const debug2 = Boolean(options2 && options2.debug);
@@ -429674,8 +429718,8 @@ var parseKVLine = (set, line) => {
429674
429718
  init_esm8();
429675
429719
 
429676
429720
  // packages/a2a-server/node_modules/tar/dist/esm/normalize-windows-path.js
429677
- var platform12 = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
429678
- var normalizeWindowsPath = platform12 !== "win32" ? (p) => p : (p) => p && p.replace(/\\/g, "/");
429721
+ var platform13 = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
429722
+ var normalizeWindowsPath = platform13 !== "win32" ? (p) => p : (p) => p && p.replace(/\\/g, "/");
429679
429723
 
429680
429724
  // packages/a2a-server/node_modules/tar/dist/esm/read-entry.js
429681
429725
  var ReadEntry = class extends Minipass {
@@ -431908,8 +431952,8 @@ import path93 from "node:path";
431908
431952
 
431909
431953
  // packages/a2a-server/node_modules/tar/dist/esm/get-write-flag.js
431910
431954
  import fs81 from "fs";
431911
- var platform13 = process.env.__FAKE_PLATFORM__ || process.platform;
431912
- var isWindows2 = platform13 === "win32";
431955
+ var platform14 = process.env.__FAKE_PLATFORM__ || process.platform;
431956
+ var isWindows2 = platform14 === "win32";
431913
431957
  var { O_CREAT, O_TRUNC, O_WRONLY } = fs81.constants;
431914
431958
  var UV_FS_O_FILEMAP = Number(process.env.__FAKE_FS_O_FILENAME__) || fs81.constants.UV_FS_O_FILEMAP || 0;
431915
431959
  var fMapEnabled = isWindows2 && !!UV_FS_O_FILEMAP;
@@ -432177,7 +432221,7 @@ var mkdirSync10 = (dir, opt) => {
432177
432221
  };
432178
432222
 
432179
432223
  // packages/a2a-server/node_modules/tar/dist/esm/path-reservations.js
432180
- import { join as join33 } from "node:path";
432224
+ import { join as join34 } from "node:path";
432181
432225
 
432182
432226
  // packages/a2a-server/node_modules/tar/dist/esm/normalize-unicode.js
432183
432227
  var normalizeCache2 = /* @__PURE__ */ Object.create(null);
@@ -432204,13 +432248,13 @@ var normalizeUnicode = (s3) => {
432204
432248
  };
432205
432249
 
432206
432250
  // packages/a2a-server/node_modules/tar/dist/esm/path-reservations.js
432207
- var platform14 = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
432208
- var isWindows3 = platform14 === "win32";
432251
+ var platform15 = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
432252
+ var isWindows3 = platform15 === "win32";
432209
432253
  var getDirs = (path103) => {
432210
432254
  const dirs = path103.split("/").slice(0, -1).reduce((set, path104) => {
432211
432255
  const s3 = set[set.length - 1];
432212
432256
  if (s3 !== void 0) {
432213
- path104 = join33(s3, path104);
432257
+ path104 = join34(s3, path104);
432214
432258
  }
432215
432259
  set.push(path104 || "/");
432216
432260
  return set;
@@ -432228,7 +432272,7 @@ var PathReservations = class {
432228
432272
  #running = /* @__PURE__ */ new Set();
432229
432273
  reserve(paths, fn) {
432230
432274
  paths = isWindows3 ? ["win32 parallelization disabled"] : paths.map((p) => {
432231
- return stripTrailingSlashes(join33(normalizeUnicode(p))).toLowerCase();
432275
+ return stripTrailingSlashes(join34(normalizeUnicode(p))).toLowerCase();
432232
432276
  });
432233
432277
  const dirs = new Set(paths.map((path103) => getDirs(path103)).reduce((a2, b) => a2.concat(b)));
432234
432278
  this.#reservations.set(fn, { dirs, paths });
@@ -432360,8 +432404,8 @@ var DOCHOWN = Symbol("doChown");
432360
432404
  var UID = Symbol("uid");
432361
432405
  var GID = Symbol("gid");
432362
432406
  var CHECKED_CWD = Symbol("checkedCwd");
432363
- var platform15 = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
432364
- var isWindows4 = platform15 === "win32";
432407
+ var platform16 = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
432408
+ var isWindows4 = platform16 === "win32";
432365
432409
  var DEFAULT_MAX_DEPTH2 = 1024;
432366
432410
  var unlinkFile = (path103, cb) => {
432367
432411
  if (!isWindows4) {
@@ -433261,7 +433305,7 @@ var mtimeFilter = (opt) => {
433261
433305
  var fse = __toESM(require_lib7(), 1);
433262
433306
  import { promises as fsPromises6, createReadStream as createReadStream5 } from "node:fs";
433263
433307
  import { tmpdir as tmpdir7 } from "node:os";
433264
- import { join as join34 } from "node:path";
433308
+ import { join as join35 } from "node:path";
433265
433309
 
433266
433310
  // packages/a2a-server/src/config/config.ts
433267
433311
  var dotenv2 = __toESM(require_main2(), 1);
@@ -433559,7 +433603,7 @@ var GCSTaskStore = class {
433559
433603
  if (await fse.pathExists(workDir)) {
433560
433604
  const entries2 = await fsPromises6.readdir(workDir);
433561
433605
  if (entries2.length > 0) {
433562
- const tmpArchiveFile = join34(tmpdir7(), getTmpArchiveFilename(taskId));
433606
+ const tmpArchiveFile = join35(tmpdir7(), getTmpArchiveFilename(taskId));
433563
433607
  try {
433564
433608
  await create2(
433565
433609
  {
@@ -433681,7 +433725,7 @@ var GCSTaskStore = class {
433681
433725
  const workspaceFile = this.storage.bucket(this.bucketName).file(workspaceObjectPath);
433682
433726
  const [workspaceExists] = await workspaceFile.exists();
433683
433727
  if (workspaceExists) {
433684
- const tmpArchiveFile = join34(tmpdir7(), getTmpArchiveFilename(taskId));
433728
+ const tmpArchiveFile = join35(tmpdir7(), getTmpArchiveFilename(taskId));
433685
433729
  try {
433686
433730
  await workspaceFile.download({ destination: tmpArchiveFile });
433687
433731
  await extract({ file: tmpArchiveFile, cwd: workDir });
@@ -433738,14 +433782,14 @@ init_settings();
433738
433782
  init_core6();
433739
433783
  import * as fs87 from "node:fs";
433740
433784
  import * as path96 from "node:path";
433741
- import * as os30 from "node:os";
433785
+ import * as os31 from "node:os";
433742
433786
  var EXTENSIONS_DIRECTORY_NAME = path96.join(GEMINI_DIR, "extensions");
433743
433787
  var EXTENSIONS_CONFIG_FILENAME = "gemini-extension.json";
433744
433788
  var INSTALL_METADATA_FILENAME = ".gemini-extension-install.json";
433745
433789
  function loadExtensions(workspaceDir) {
433746
433790
  const allExtensions = [
433747
433791
  ...loadExtensionsFromDir(workspaceDir),
433748
- ...loadExtensionsFromDir(os30.homedir())
433792
+ ...loadExtensionsFromDir(os31.homedir())
433749
433793
  ];
433750
433794
  const uniqueExtensions = [];
433751
433795
  const seenNames = /* @__PURE__ */ new Set();
@@ -435518,7 +435562,7 @@ init_core6();
435518
435562
  init_core6();
435519
435563
  import { promises as fs91 } from "node:fs";
435520
435564
  import * as path100 from "node:path";
435521
- import * as os31 from "node:os";
435565
+ import * as os32 from "node:os";
435522
435566
  import * as crypto25 from "node:crypto";
435523
435567
  var REMOTE_AUTH_FILENAME = "web-remote-auth.json";
435524
435568
  function getRemoteAuthPath() {
@@ -435526,7 +435570,7 @@ function getRemoteAuthPath() {
435526
435570
  if (override) {
435527
435571
  return override;
435528
435572
  }
435529
- const homeDir = os31.homedir() || os31.tmpdir();
435573
+ const homeDir = os32.homedir() || os32.tmpdir();
435530
435574
  return path100.join(homeDir, GEMINI_DIR, REMOTE_AUTH_FILENAME);
435531
435575
  }
435532
435576
  async function loadRemoteAuthState() {