meshy-node 0.9.6 → 0.9.8

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.
package/main.cjs CHANGED
@@ -8638,8 +8638,8 @@ function getClient(endpoint, clientOptions = {}) {
8638
8638
  }
8639
8639
  const { allowInsecureConnection: allowInsecureConnection2, httpClient } = clientOptions;
8640
8640
  const endpointUrl = clientOptions.endpoint ?? endpoint;
8641
- const client = (path44, ...args) => {
8642
- const getUrl3 = (requestOptions) => buildRequestUrl(endpointUrl, path44, args, { allowInsecureConnection: allowInsecureConnection2, ...requestOptions });
8641
+ const client = (path45, ...args) => {
8642
+ const getUrl3 = (requestOptions) => buildRequestUrl(endpointUrl, path45, args, { allowInsecureConnection: allowInsecureConnection2, ...requestOptions });
8643
8643
  return {
8644
8644
  get: (requestOptions = {}) => {
8645
8645
  return buildOperation("GET", getUrl3(requestOptions), pipeline3, requestOptions, allowInsecureConnection2, httpClient);
@@ -10382,8 +10382,8 @@ var init_parseUtil = __esm({
10382
10382
  init_errors();
10383
10383
  init_en();
10384
10384
  makeIssue = (params) => {
10385
- const { data, path: path44, errorMaps, issueData } = params;
10386
- const fullPath = [...path44, ...issueData.path || []];
10385
+ const { data, path: path45, errorMaps, issueData } = params;
10386
+ const fullPath = [...path45, ...issueData.path || []];
10387
10387
  const fullIssue = {
10388
10388
  ...issueData,
10389
10389
  path: fullPath
@@ -10697,11 +10697,11 @@ var init_types = __esm({
10697
10697
  init_parseUtil();
10698
10698
  init_util();
10699
10699
  ParseInputLazyPath = class {
10700
- constructor(parent, value, path44, key) {
10700
+ constructor(parent, value, path45, key) {
10701
10701
  this._cachedPath = [];
10702
10702
  this.parent = parent;
10703
10703
  this.data = value;
10704
- this._path = path44;
10704
+ this._path = path45;
10705
10705
  this._key = key;
10706
10706
  }
10707
10707
  get path() {
@@ -15356,8 +15356,8 @@ var require_node2 = __commonJS({
15356
15356
  }
15357
15357
  break;
15358
15358
  case "FILE":
15359
- var fs41 = require("fs");
15360
- stream2 = new fs41.SyncWriteStream(fd2, { autoClose: false });
15359
+ var fs42 = require("fs");
15360
+ stream2 = new fs42.SyncWriteStream(fd2, { autoClose: false });
15361
15361
  stream2._type = "fs";
15362
15362
  break;
15363
15363
  case "PIPE":
@@ -28171,11 +28171,11 @@ var require_mime_types = __commonJS({
28171
28171
  }
28172
28172
  return exts[0];
28173
28173
  }
28174
- function lookup(path44) {
28175
- if (!path44 || typeof path44 !== "string") {
28174
+ function lookup(path45) {
28175
+ if (!path45 || typeof path45 !== "string") {
28176
28176
  return false;
28177
28177
  }
28178
- var extension2 = extname4("x." + path44).toLowerCase().substr(1);
28178
+ var extension2 = extname4("x." + path45).toLowerCase().substr(1);
28179
28179
  if (!extension2) {
28180
28180
  return false;
28181
28181
  }
@@ -31752,7 +31752,7 @@ var require_path_to_regexp = __commonJS({
31752
31752
  init_cjs_shims();
31753
31753
  module2.exports = pathToRegexp;
31754
31754
  var MATCHING_GROUP_REGEXP = /\\.|\((?:\?<(.*?)>)?(?!\?)/g;
31755
- function pathToRegexp(path44, keys, options) {
31755
+ function pathToRegexp(path45, keys, options) {
31756
31756
  options = options || {};
31757
31757
  keys = keys || [];
31758
31758
  var strict = options.strict;
@@ -31766,8 +31766,8 @@ var require_path_to_regexp = __commonJS({
31766
31766
  var pos = 0;
31767
31767
  var backtrack = "";
31768
31768
  var m;
31769
- if (path44 instanceof RegExp) {
31770
- while (m = MATCHING_GROUP_REGEXP.exec(path44.source)) {
31769
+ if (path45 instanceof RegExp) {
31770
+ while (m = MATCHING_GROUP_REGEXP.exec(path45.source)) {
31771
31771
  if (m[0][0] === "\\") continue;
31772
31772
  keys.push({
31773
31773
  name: m[1] || name2++,
@@ -31775,18 +31775,18 @@ var require_path_to_regexp = __commonJS({
31775
31775
  offset: m.index
31776
31776
  });
31777
31777
  }
31778
- return path44;
31778
+ return path45;
31779
31779
  }
31780
- if (Array.isArray(path44)) {
31781
- path44 = path44.map(function(value) {
31780
+ if (Array.isArray(path45)) {
31781
+ path45 = path45.map(function(value) {
31782
31782
  return pathToRegexp(value, keys, options).source;
31783
31783
  });
31784
- return new RegExp(path44.join("|"), flags);
31784
+ return new RegExp(path45.join("|"), flags);
31785
31785
  }
31786
- if (typeof path44 !== "string") {
31786
+ if (typeof path45 !== "string") {
31787
31787
  throw new TypeError("path must be a string, array of strings, or regular expression");
31788
31788
  }
31789
- path44 = path44.replace(
31789
+ path45 = path45.replace(
31790
31790
  /\\.|(\/)?(\.)?:(\w+)(\(.*?\))?(\*)?(\?)?|[.*]|\/\(/g,
31791
31791
  function(match, slash, format, key, capture, star, optional2, offset) {
31792
31792
  if (match[0] === "\\") {
@@ -31803,7 +31803,7 @@ var require_path_to_regexp = __commonJS({
31803
31803
  if (slash || format) {
31804
31804
  backtrack = "";
31805
31805
  } else {
31806
- backtrack += path44.slice(pos, offset);
31806
+ backtrack += path45.slice(pos, offset);
31807
31807
  }
31808
31808
  pos = offset + match.length;
31809
31809
  if (match === "*") {
@@ -31833,7 +31833,7 @@ var require_path_to_regexp = __commonJS({
31833
31833
  return result;
31834
31834
  }
31835
31835
  );
31836
- while (m = MATCHING_GROUP_REGEXP.exec(path44)) {
31836
+ while (m = MATCHING_GROUP_REGEXP.exec(path45)) {
31837
31837
  if (m[0][0] === "\\") continue;
31838
31838
  if (keysOffset + i === keys.length || keys[keysOffset + i].offset > m.index) {
31839
31839
  keys.splice(keysOffset + i, 0, {
@@ -31845,13 +31845,13 @@ var require_path_to_regexp = __commonJS({
31845
31845
  }
31846
31846
  i++;
31847
31847
  }
31848
- path44 += strict ? "" : path44[path44.length - 1] === "/" ? "?" : "/?";
31848
+ path45 += strict ? "" : path45[path45.length - 1] === "/" ? "?" : "/?";
31849
31849
  if (end) {
31850
- path44 += "$";
31851
- } else if (path44[path44.length - 1] !== "/") {
31852
- path44 += lookahead ? "(?=/|$)" : "(?:/|$)";
31850
+ path45 += "$";
31851
+ } else if (path45[path45.length - 1] !== "/") {
31852
+ path45 += lookahead ? "(?=/|$)" : "(?:/|$)";
31853
31853
  }
31854
- return new RegExp("^" + path44, flags);
31854
+ return new RegExp("^" + path45, flags);
31855
31855
  }
31856
31856
  }
31857
31857
  });
@@ -31865,19 +31865,19 @@ var require_layer = __commonJS({
31865
31865
  var debug = require_src2()("express:router:layer");
31866
31866
  var hasOwnProperty3 = Object.prototype.hasOwnProperty;
31867
31867
  module2.exports = Layer;
31868
- function Layer(path44, options, fn) {
31868
+ function Layer(path45, options, fn) {
31869
31869
  if (!(this instanceof Layer)) {
31870
- return new Layer(path44, options, fn);
31870
+ return new Layer(path45, options, fn);
31871
31871
  }
31872
- debug("new %o", path44);
31872
+ debug("new %o", path45);
31873
31873
  var opts = options || {};
31874
31874
  this.handle = fn;
31875
31875
  this.name = fn.name || "<anonymous>";
31876
31876
  this.params = void 0;
31877
31877
  this.path = void 0;
31878
- this.regexp = pathRegexp(path44, this.keys = [], opts);
31879
- this.regexp.fast_star = path44 === "*";
31880
- this.regexp.fast_slash = path44 === "/" && opts.end === false;
31878
+ this.regexp = pathRegexp(path45, this.keys = [], opts);
31879
+ this.regexp.fast_star = path45 === "*";
31880
+ this.regexp.fast_slash = path45 === "/" && opts.end === false;
31881
31881
  }
31882
31882
  Layer.prototype.handle_error = function handle_error(error2, req, res, next) {
31883
31883
  var fn = this.handle;
@@ -31901,20 +31901,20 @@ var require_layer = __commonJS({
31901
31901
  next(err);
31902
31902
  }
31903
31903
  };
31904
- Layer.prototype.match = function match(path44) {
31904
+ Layer.prototype.match = function match(path45) {
31905
31905
  var match2;
31906
- if (path44 != null) {
31906
+ if (path45 != null) {
31907
31907
  if (this.regexp.fast_slash) {
31908
31908
  this.params = {};
31909
31909
  this.path = "";
31910
31910
  return true;
31911
31911
  }
31912
31912
  if (this.regexp.fast_star) {
31913
- this.params = { "0": decode_param(path44) };
31914
- this.path = path44;
31913
+ this.params = { "0": decode_param(path45) };
31914
+ this.path = path45;
31915
31915
  return true;
31916
31916
  }
31917
- match2 = this.regexp.exec(path44);
31917
+ match2 = this.regexp.exec(path45);
31918
31918
  }
31919
31919
  if (!match2) {
31920
31920
  this.params = void 0;
@@ -32009,10 +32009,10 @@ var require_route = __commonJS({
32009
32009
  var slice = Array.prototype.slice;
32010
32010
  var toString = Object.prototype.toString;
32011
32011
  module2.exports = Route;
32012
- function Route(path44) {
32013
- this.path = path44;
32012
+ function Route(path45) {
32013
+ this.path = path45;
32014
32014
  this.stack = [];
32015
- debug("new %o", path44);
32015
+ debug("new %o", path45);
32016
32016
  this.methods = {};
32017
32017
  }
32018
32018
  Route.prototype._handles_method = function _handles_method(method) {
@@ -32227,8 +32227,8 @@ var require_router = __commonJS({
32227
32227
  if (++sync > 100) {
32228
32228
  return setImmediate(next, err);
32229
32229
  }
32230
- var path44 = getPathname(req);
32231
- if (path44 == null) {
32230
+ var path45 = getPathname(req);
32231
+ if (path45 == null) {
32232
32232
  return done(layerError);
32233
32233
  }
32234
32234
  var layer;
@@ -32236,7 +32236,7 @@ var require_router = __commonJS({
32236
32236
  var route;
32237
32237
  while (match !== true && idx < stack.length) {
32238
32238
  layer = stack[idx++];
32239
- match = matchLayer(layer, path44);
32239
+ match = matchLayer(layer, path45);
32240
32240
  route = layer.route;
32241
32241
  if (typeof match !== "boolean") {
32242
32242
  layerError = layerError || match;
@@ -32274,18 +32274,18 @@ var require_router = __commonJS({
32274
32274
  } else if (route) {
32275
32275
  layer.handle_request(req, res, next);
32276
32276
  } else {
32277
- trim_prefix(layer, layerError, layerPath, path44);
32277
+ trim_prefix(layer, layerError, layerPath, path45);
32278
32278
  }
32279
32279
  sync = 0;
32280
32280
  });
32281
32281
  }
32282
- function trim_prefix(layer, layerError, layerPath, path44) {
32282
+ function trim_prefix(layer, layerError, layerPath, path45) {
32283
32283
  if (layerPath.length !== 0) {
32284
- if (layerPath !== path44.slice(0, layerPath.length)) {
32284
+ if (layerPath !== path45.slice(0, layerPath.length)) {
32285
32285
  next(layerError);
32286
32286
  return;
32287
32287
  }
32288
- var c = path44[layerPath.length];
32288
+ var c = path45[layerPath.length];
32289
32289
  if (c && c !== "/" && c !== ".") return next(layerError);
32290
32290
  debug("trim prefix (%s) from url %s", layerPath, req.url);
32291
32291
  removed = layerPath;
@@ -32363,7 +32363,7 @@ var require_router = __commonJS({
32363
32363
  };
32364
32364
  proto.use = function use(fn) {
32365
32365
  var offset = 0;
32366
- var path44 = "/";
32366
+ var path45 = "/";
32367
32367
  if (typeof fn !== "function") {
32368
32368
  var arg = fn;
32369
32369
  while (Array.isArray(arg) && arg.length !== 0) {
@@ -32371,7 +32371,7 @@ var require_router = __commonJS({
32371
32371
  }
32372
32372
  if (typeof arg !== "function") {
32373
32373
  offset = 1;
32374
- path44 = fn;
32374
+ path45 = fn;
32375
32375
  }
32376
32376
  }
32377
32377
  var callbacks = flatten(slice.call(arguments, offset));
@@ -32383,8 +32383,8 @@ var require_router = __commonJS({
32383
32383
  if (typeof fn !== "function") {
32384
32384
  throw new TypeError("Router.use() requires a middleware function but got a " + gettype(fn));
32385
32385
  }
32386
- debug("use %o %s", path44, fn.name || "<anonymous>");
32387
- var layer = new Layer(path44, {
32386
+ debug("use %o %s", path45, fn.name || "<anonymous>");
32387
+ var layer = new Layer(path45, {
32388
32388
  sensitive: this.caseSensitive,
32389
32389
  strict: false,
32390
32390
  end: false
@@ -32394,9 +32394,9 @@ var require_router = __commonJS({
32394
32394
  }
32395
32395
  return this;
32396
32396
  };
32397
- proto.route = function route(path44) {
32398
- var route2 = new Route(path44);
32399
- var layer = new Layer(path44, {
32397
+ proto.route = function route(path45) {
32398
+ var route2 = new Route(path45);
32399
+ var layer = new Layer(path45, {
32400
32400
  sensitive: this.caseSensitive,
32401
32401
  strict: this.strict,
32402
32402
  end: true
@@ -32406,8 +32406,8 @@ var require_router = __commonJS({
32406
32406
  return route2;
32407
32407
  };
32408
32408
  methods.concat("all").forEach(function(method) {
32409
- proto[method] = function(path44) {
32410
- var route = this.route(path44);
32409
+ proto[method] = function(path45) {
32410
+ var route = this.route(path45);
32411
32411
  route[method].apply(route, slice.call(arguments, 1));
32412
32412
  return this;
32413
32413
  };
@@ -32443,9 +32443,9 @@ var require_router = __commonJS({
32443
32443
  }
32444
32444
  return toString.call(obj).replace(objectRegExp, "$1");
32445
32445
  }
32446
- function matchLayer(layer, path44) {
32446
+ function matchLayer(layer, path45) {
32447
32447
  try {
32448
- return layer.match(path44);
32448
+ return layer.match(path45);
32449
32449
  } catch (err) {
32450
32450
  return err;
32451
32451
  }
@@ -32566,13 +32566,13 @@ var require_view = __commonJS({
32566
32566
  "use strict";
32567
32567
  init_cjs_shims();
32568
32568
  var debug = require_src2()("express:view");
32569
- var path44 = require("path");
32570
- var fs41 = require("fs");
32571
- var dirname11 = path44.dirname;
32572
- var basename6 = path44.basename;
32573
- var extname4 = path44.extname;
32574
- var join29 = path44.join;
32575
- var resolve24 = path44.resolve;
32569
+ var path45 = require("path");
32570
+ var fs42 = require("fs");
32571
+ var dirname11 = path45.dirname;
32572
+ var basename6 = path45.basename;
32573
+ var extname4 = path45.extname;
32574
+ var join30 = path45.join;
32575
+ var resolve24 = path45.resolve;
32576
32576
  module2.exports = View3;
32577
32577
  function View3(name2, options) {
32578
32578
  var opts = options || {};
@@ -32601,17 +32601,17 @@ var require_view = __commonJS({
32601
32601
  this.path = this.lookup(fileName);
32602
32602
  }
32603
32603
  View3.prototype.lookup = function lookup(name2) {
32604
- var path45;
32604
+ var path46;
32605
32605
  var roots = [].concat(this.root);
32606
32606
  debug('lookup "%s"', name2);
32607
- for (var i = 0; i < roots.length && !path45; i++) {
32607
+ for (var i = 0; i < roots.length && !path46; i++) {
32608
32608
  var root = roots[i];
32609
32609
  var loc = resolve24(root, name2);
32610
32610
  var dir = dirname11(loc);
32611
32611
  var file = basename6(loc);
32612
- path45 = this.resolve(dir, file);
32612
+ path46 = this.resolve(dir, file);
32613
32613
  }
32614
- return path45;
32614
+ return path46;
32615
32615
  };
32616
32616
  View3.prototype.render = function render(options, callback) {
32617
32617
  debug('render "%s"', this.path);
@@ -32619,21 +32619,21 @@ var require_view = __commonJS({
32619
32619
  };
32620
32620
  View3.prototype.resolve = function resolve25(dir, file) {
32621
32621
  var ext = this.ext;
32622
- var path45 = join29(dir, file);
32623
- var stat3 = tryStat(path45);
32622
+ var path46 = join30(dir, file);
32623
+ var stat3 = tryStat(path46);
32624
32624
  if (stat3 && stat3.isFile()) {
32625
- return path45;
32625
+ return path46;
32626
32626
  }
32627
- path45 = join29(dir, basename6(file, ext), "index" + ext);
32628
- stat3 = tryStat(path45);
32627
+ path46 = join30(dir, basename6(file, ext), "index" + ext);
32628
+ stat3 = tryStat(path46);
32629
32629
  if (stat3 && stat3.isFile()) {
32630
- return path45;
32630
+ return path46;
32631
32631
  }
32632
32632
  };
32633
- function tryStat(path45) {
32634
- debug('stat "%s"', path45);
32633
+ function tryStat(path46) {
32634
+ debug('stat "%s"', path46);
32635
32635
  try {
32636
- return fs41.statSync(path45);
32636
+ return fs42.statSync(path46);
32637
32637
  } catch (e) {
32638
32638
  return void 0;
32639
32639
  }
@@ -32934,8 +32934,8 @@ var require_mime = __commonJS({
32934
32934
  "../../node_modules/.pnpm/mime@1.6.0/node_modules/mime/mime.js"(exports2, module2) {
32935
32935
  "use strict";
32936
32936
  init_cjs_shims();
32937
- var path44 = require("path");
32938
- var fs41 = require("fs");
32937
+ var path45 = require("path");
32938
+ var fs42 = require("fs");
32939
32939
  function Mime() {
32940
32940
  this.types = /* @__PURE__ */ Object.create(null);
32941
32941
  this.extensions = /* @__PURE__ */ Object.create(null);
@@ -32956,7 +32956,7 @@ var require_mime = __commonJS({
32956
32956
  };
32957
32957
  Mime.prototype.load = function(file) {
32958
32958
  this._loading = file;
32959
- var map = {}, content = fs41.readFileSync(file, "ascii"), lines = content.split(/[\r\n]+/);
32959
+ var map = {}, content = fs42.readFileSync(file, "ascii"), lines = content.split(/[\r\n]+/);
32960
32960
  lines.forEach(function(line) {
32961
32961
  var fields = line.replace(/\s*#.*|^\s*|\s*$/g, "").split(/\s+/);
32962
32962
  map[fields.shift()] = fields;
@@ -32964,8 +32964,8 @@ var require_mime = __commonJS({
32964
32964
  this.define(map);
32965
32965
  this._loading = null;
32966
32966
  };
32967
- Mime.prototype.lookup = function(path45, fallback) {
32968
- var ext = path45.replace(/^.*[\.\/\\]/, "").toLowerCase();
32967
+ Mime.prototype.lookup = function(path46, fallback) {
32968
+ var ext = path46.replace(/^.*[\.\/\\]/, "").toLowerCase();
32969
32969
  return this.types[ext] || fallback || this.default_type;
32970
32970
  };
32971
32971
  Mime.prototype.extension = function(mimeType) {
@@ -33080,33 +33080,33 @@ var require_send = __commonJS({
33080
33080
  var escapeHtml2 = require_escape_html();
33081
33081
  var etag = require_etag();
33082
33082
  var fresh = require_fresh();
33083
- var fs41 = require("fs");
33083
+ var fs42 = require("fs");
33084
33084
  var mime = require_mime();
33085
33085
  var ms = require_ms();
33086
33086
  var onFinished = require_on_finished();
33087
33087
  var parseRange = require_range_parser();
33088
- var path44 = require("path");
33088
+ var path45 = require("path");
33089
33089
  var statuses = require_statuses();
33090
33090
  var Stream = require("stream");
33091
33091
  var util5 = require("util");
33092
- var extname4 = path44.extname;
33093
- var join29 = path44.join;
33094
- var normalize7 = path44.normalize;
33095
- var resolve24 = path44.resolve;
33096
- var sep11 = path44.sep;
33092
+ var extname4 = path45.extname;
33093
+ var join30 = path45.join;
33094
+ var normalize7 = path45.normalize;
33095
+ var resolve24 = path45.resolve;
33096
+ var sep11 = path45.sep;
33097
33097
  var BYTES_RANGE_REGEXP = /^ *bytes=/;
33098
33098
  var MAX_MAXAGE = 60 * 60 * 24 * 365 * 1e3;
33099
33099
  var UP_PATH_REGEXP = /(?:^|[\\/])\.\.(?:[\\/]|$)/;
33100
33100
  module2.exports = send;
33101
33101
  module2.exports.mime = mime;
33102
- function send(req, path45, options) {
33103
- return new SendStream(req, path45, options);
33102
+ function send(req, path46, options) {
33103
+ return new SendStream(req, path46, options);
33104
33104
  }
33105
- function SendStream(req, path45, options) {
33105
+ function SendStream(req, path46, options) {
33106
33106
  Stream.call(this);
33107
33107
  var opts = options || {};
33108
33108
  this.options = opts;
33109
- this.path = path45;
33109
+ this.path = path46;
33110
33110
  this.req = req;
33111
33111
  this._acceptRanges = opts.acceptRanges !== void 0 ? Boolean(opts.acceptRanges) : true;
33112
33112
  this._cacheControl = opts.cacheControl !== void 0 ? Boolean(opts.cacheControl) : true;
@@ -33152,8 +33152,8 @@ var require_send = __commonJS({
33152
33152
  this._index = index2;
33153
33153
  return this;
33154
33154
  }, "send.index: pass index as option");
33155
- SendStream.prototype.root = function root(path45) {
33156
- this._root = resolve24(String(path45));
33155
+ SendStream.prototype.root = function root(path46) {
33156
+ this._root = resolve24(String(path46));
33157
33157
  debug("root %s", this._root);
33158
33158
  return this;
33159
33159
  };
@@ -33266,10 +33266,10 @@ var require_send = __commonJS({
33266
33266
  var lastModified = this.res.getHeader("Last-Modified");
33267
33267
  return parseHttpDate(lastModified) <= parseHttpDate(ifRange);
33268
33268
  };
33269
- SendStream.prototype.redirect = function redirect(path45) {
33269
+ SendStream.prototype.redirect = function redirect(path46) {
33270
33270
  var res = this.res;
33271
33271
  if (hasListeners(this, "directory")) {
33272
- this.emit("directory", res, path45);
33272
+ this.emit("directory", res, path46);
33273
33273
  return;
33274
33274
  }
33275
33275
  if (this.hasTrailingSlash()) {
@@ -33289,42 +33289,42 @@ var require_send = __commonJS({
33289
33289
  SendStream.prototype.pipe = function pipe2(res) {
33290
33290
  var root = this._root;
33291
33291
  this.res = res;
33292
- var path45 = decode(this.path);
33293
- if (path45 === -1) {
33292
+ var path46 = decode(this.path);
33293
+ if (path46 === -1) {
33294
33294
  this.error(400);
33295
33295
  return res;
33296
33296
  }
33297
- if (~path45.indexOf("\0")) {
33297
+ if (~path46.indexOf("\0")) {
33298
33298
  this.error(400);
33299
33299
  return res;
33300
33300
  }
33301
33301
  var parts;
33302
33302
  if (root !== null) {
33303
- if (path45) {
33304
- path45 = normalize7("." + sep11 + path45);
33303
+ if (path46) {
33304
+ path46 = normalize7("." + sep11 + path46);
33305
33305
  }
33306
- if (UP_PATH_REGEXP.test(path45)) {
33307
- debug('malicious path "%s"', path45);
33306
+ if (UP_PATH_REGEXP.test(path46)) {
33307
+ debug('malicious path "%s"', path46);
33308
33308
  this.error(403);
33309
33309
  return res;
33310
33310
  }
33311
- parts = path45.split(sep11);
33312
- path45 = normalize7(join29(root, path45));
33311
+ parts = path46.split(sep11);
33312
+ path46 = normalize7(join30(root, path46));
33313
33313
  } else {
33314
- if (UP_PATH_REGEXP.test(path45)) {
33315
- debug('malicious path "%s"', path45);
33314
+ if (UP_PATH_REGEXP.test(path46)) {
33315
+ debug('malicious path "%s"', path46);
33316
33316
  this.error(403);
33317
33317
  return res;
33318
33318
  }
33319
- parts = normalize7(path45).split(sep11);
33320
- path45 = resolve24(path45);
33319
+ parts = normalize7(path46).split(sep11);
33320
+ path46 = resolve24(path46);
33321
33321
  }
33322
33322
  if (containsDotFile(parts)) {
33323
33323
  var access = this._dotfiles;
33324
33324
  if (access === void 0) {
33325
33325
  access = parts[parts.length - 1][0] === "." ? this._hidden ? "allow" : "ignore" : "allow";
33326
33326
  }
33327
- debug('%s dotfile "%s"', access, path45);
33327
+ debug('%s dotfile "%s"', access, path46);
33328
33328
  switch (access) {
33329
33329
  case "allow":
33330
33330
  break;
@@ -33338,13 +33338,13 @@ var require_send = __commonJS({
33338
33338
  }
33339
33339
  }
33340
33340
  if (this._index.length && this.hasTrailingSlash()) {
33341
- this.sendIndex(path45);
33341
+ this.sendIndex(path46);
33342
33342
  return res;
33343
33343
  }
33344
- this.sendFile(path45);
33344
+ this.sendFile(path46);
33345
33345
  return res;
33346
33346
  };
33347
- SendStream.prototype.send = function send2(path45, stat3) {
33347
+ SendStream.prototype.send = function send2(path46, stat3) {
33348
33348
  var len = stat3.size;
33349
33349
  var options = this.options;
33350
33350
  var opts = {};
@@ -33356,9 +33356,9 @@ var require_send = __commonJS({
33356
33356
  this.headersAlreadySent();
33357
33357
  return;
33358
33358
  }
33359
- debug('pipe "%s"', path45);
33360
- this.setHeader(path45, stat3);
33361
- this.type(path45);
33359
+ debug('pipe "%s"', path46);
33360
+ this.setHeader(path46, stat3);
33361
+ this.type(path46);
33362
33362
  if (this.isConditionalGET()) {
33363
33363
  if (this.isPreconditionFailure()) {
33364
33364
  this.error(412);
@@ -33407,28 +33407,28 @@ var require_send = __commonJS({
33407
33407
  res.end();
33408
33408
  return;
33409
33409
  }
33410
- this.stream(path45, opts);
33410
+ this.stream(path46, opts);
33411
33411
  };
33412
- SendStream.prototype.sendFile = function sendFile(path45) {
33412
+ SendStream.prototype.sendFile = function sendFile(path46) {
33413
33413
  var i = 0;
33414
33414
  var self2 = this;
33415
- debug('stat "%s"', path45);
33416
- fs41.stat(path45, function onstat(err, stat3) {
33417
- if (err && err.code === "ENOENT" && !extname4(path45) && path45[path45.length - 1] !== sep11) {
33415
+ debug('stat "%s"', path46);
33416
+ fs42.stat(path46, function onstat(err, stat3) {
33417
+ if (err && err.code === "ENOENT" && !extname4(path46) && path46[path46.length - 1] !== sep11) {
33418
33418
  return next(err);
33419
33419
  }
33420
33420
  if (err) return self2.onStatError(err);
33421
- if (stat3.isDirectory()) return self2.redirect(path45);
33422
- self2.emit("file", path45, stat3);
33423
- self2.send(path45, stat3);
33421
+ if (stat3.isDirectory()) return self2.redirect(path46);
33422
+ self2.emit("file", path46, stat3);
33423
+ self2.send(path46, stat3);
33424
33424
  });
33425
33425
  function next(err) {
33426
33426
  if (self2._extensions.length <= i) {
33427
33427
  return err ? self2.onStatError(err) : self2.error(404);
33428
33428
  }
33429
- var p = path45 + "." + self2._extensions[i++];
33429
+ var p = path46 + "." + self2._extensions[i++];
33430
33430
  debug('stat "%s"', p);
33431
- fs41.stat(p, function(err2, stat3) {
33431
+ fs42.stat(p, function(err2, stat3) {
33432
33432
  if (err2) return next(err2);
33433
33433
  if (stat3.isDirectory()) return next();
33434
33434
  self2.emit("file", p, stat3);
@@ -33436,7 +33436,7 @@ var require_send = __commonJS({
33436
33436
  });
33437
33437
  }
33438
33438
  };
33439
- SendStream.prototype.sendIndex = function sendIndex(path45) {
33439
+ SendStream.prototype.sendIndex = function sendIndex(path46) {
33440
33440
  var i = -1;
33441
33441
  var self2 = this;
33442
33442
  function next(err) {
@@ -33444,9 +33444,9 @@ var require_send = __commonJS({
33444
33444
  if (err) return self2.onStatError(err);
33445
33445
  return self2.error(404);
33446
33446
  }
33447
- var p = join29(path45, self2._index[i]);
33447
+ var p = join30(path46, self2._index[i]);
33448
33448
  debug('stat "%s"', p);
33449
- fs41.stat(p, function(err2, stat3) {
33449
+ fs42.stat(p, function(err2, stat3) {
33450
33450
  if (err2) return next(err2);
33451
33451
  if (stat3.isDirectory()) return next();
33452
33452
  self2.emit("file", p, stat3);
@@ -33455,10 +33455,10 @@ var require_send = __commonJS({
33455
33455
  }
33456
33456
  next();
33457
33457
  };
33458
- SendStream.prototype.stream = function stream(path45, options) {
33458
+ SendStream.prototype.stream = function stream(path46, options) {
33459
33459
  var self2 = this;
33460
33460
  var res = this.res;
33461
- var stream2 = fs41.createReadStream(path45, options);
33461
+ var stream2 = fs42.createReadStream(path46, options);
33462
33462
  this.emit("stream", stream2);
33463
33463
  stream2.pipe(res);
33464
33464
  function cleanup() {
@@ -33473,10 +33473,10 @@ var require_send = __commonJS({
33473
33473
  self2.emit("end");
33474
33474
  });
33475
33475
  };
33476
- SendStream.prototype.type = function type(path45) {
33476
+ SendStream.prototype.type = function type(path46) {
33477
33477
  var res = this.res;
33478
33478
  if (res.getHeader("Content-Type")) return;
33479
- var type2 = mime.lookup(path45);
33479
+ var type2 = mime.lookup(path46);
33480
33480
  if (!type2) {
33481
33481
  debug("no content-type");
33482
33482
  return;
@@ -33485,9 +33485,9 @@ var require_send = __commonJS({
33485
33485
  debug("content-type %s", type2);
33486
33486
  res.setHeader("Content-Type", type2 + (charset ? "; charset=" + charset : ""));
33487
33487
  };
33488
- SendStream.prototype.setHeader = function setHeader(path45, stat3) {
33488
+ SendStream.prototype.setHeader = function setHeader(path46, stat3) {
33489
33489
  var res = this.res;
33490
- this.emit("headers", res, path45, stat3);
33490
+ this.emit("headers", res, path46, stat3);
33491
33491
  if (this._acceptRanges && !res.getHeader("Accept-Ranges")) {
33492
33492
  debug("accept ranges");
33493
33493
  res.setHeader("Accept-Ranges", "bytes");
@@ -33546,9 +33546,9 @@ var require_send = __commonJS({
33546
33546
  }
33547
33547
  return err instanceof Error ? createError(status, err, { expose: false }) : createError(status, err);
33548
33548
  }
33549
- function decode(path45) {
33549
+ function decode(path46) {
33550
33550
  try {
33551
- return decodeURIComponent(path45);
33551
+ return decodeURIComponent(path46);
33552
33552
  } catch (err) {
33553
33553
  return -1;
33554
33554
  }
@@ -34462,10 +34462,10 @@ var require_utils2 = __commonJS({
34462
34462
  var querystring = require("querystring");
34463
34463
  exports2.etag = createETagGenerator({ weak: false });
34464
34464
  exports2.wetag = createETagGenerator({ weak: true });
34465
- exports2.isAbsolute = function(path44) {
34466
- if ("/" === path44[0]) return true;
34467
- if (":" === path44[1] && ("\\" === path44[2] || "/" === path44[2])) return true;
34468
- if ("\\\\" === path44.substring(0, 2)) return true;
34465
+ exports2.isAbsolute = function(path45) {
34466
+ if ("/" === path45[0]) return true;
34467
+ if (":" === path45[1] && ("\\" === path45[2] || "/" === path45[2])) return true;
34468
+ if ("\\\\" === path45.substring(0, 2)) return true;
34469
34469
  };
34470
34470
  exports2.flatten = deprecate.function(
34471
34471
  flatten,
@@ -34677,7 +34677,7 @@ var require_application = __commonJS({
34677
34677
  };
34678
34678
  app.use = function use(fn) {
34679
34679
  var offset = 0;
34680
- var path44 = "/";
34680
+ var path45 = "/";
34681
34681
  if (typeof fn !== "function") {
34682
34682
  var arg = fn;
34683
34683
  while (Array.isArray(arg) && arg.length !== 0) {
@@ -34685,7 +34685,7 @@ var require_application = __commonJS({
34685
34685
  }
34686
34686
  if (typeof arg !== "function") {
34687
34687
  offset = 1;
34688
- path44 = fn;
34688
+ path45 = fn;
34689
34689
  }
34690
34690
  }
34691
34691
  var fns = flatten(slice.call(arguments, offset));
@@ -34696,12 +34696,12 @@ var require_application = __commonJS({
34696
34696
  var router = this._router;
34697
34697
  fns.forEach(function(fn2) {
34698
34698
  if (!fn2 || !fn2.handle || !fn2.set) {
34699
- return router.use(path44, fn2);
34699
+ return router.use(path45, fn2);
34700
34700
  }
34701
- debug(".use app under %s", path44);
34702
- fn2.mountpath = path44;
34701
+ debug(".use app under %s", path45);
34702
+ fn2.mountpath = path45;
34703
34703
  fn2.parent = this;
34704
- router.use(path44, function mounted_app(req, res, next) {
34704
+ router.use(path45, function mounted_app(req, res, next) {
34705
34705
  var orig = req.app;
34706
34706
  fn2.handle(req, res, function(err) {
34707
34707
  setPrototypeOf(req, orig.request);
@@ -34713,9 +34713,9 @@ var require_application = __commonJS({
34713
34713
  }, this);
34714
34714
  return this;
34715
34715
  };
34716
- app.route = function route(path44) {
34716
+ app.route = function route(path45) {
34717
34717
  this.lazyrouter();
34718
- return this._router.route(path44);
34718
+ return this._router.route(path45);
34719
34719
  };
34720
34720
  app.engine = function engine(ext, fn) {
34721
34721
  if (typeof fn !== "function") {
@@ -34766,7 +34766,7 @@ var require_application = __commonJS({
34766
34766
  }
34767
34767
  return this;
34768
34768
  };
34769
- app.path = function path44() {
34769
+ app.path = function path45() {
34770
34770
  return this.parent ? this.parent.path() + this.mountpath : "";
34771
34771
  };
34772
34772
  app.enabled = function enabled2(setting) {
@@ -34782,19 +34782,19 @@ var require_application = __commonJS({
34782
34782
  return this.set(setting, false);
34783
34783
  };
34784
34784
  methods.forEach(function(method) {
34785
- app[method] = function(path44) {
34785
+ app[method] = function(path45) {
34786
34786
  if (method === "get" && arguments.length === 1) {
34787
- return this.set(path44);
34787
+ return this.set(path45);
34788
34788
  }
34789
34789
  this.lazyrouter();
34790
- var route = this._router.route(path44);
34790
+ var route = this._router.route(path45);
34791
34791
  route[method].apply(route, slice.call(arguments, 1));
34792
34792
  return this;
34793
34793
  };
34794
34794
  });
34795
- app.all = function all(path44) {
34795
+ app.all = function all(path45) {
34796
34796
  this.lazyrouter();
34797
- var route = this._router.route(path44);
34797
+ var route = this._router.route(path45);
34798
34798
  var args = slice.call(arguments, 1);
34799
34799
  for (var i = 0; i < methods.length; i++) {
34800
34800
  route[methods[i]].apply(route, args);
@@ -35560,7 +35560,7 @@ var require_request = __commonJS({
35560
35560
  var subdomains2 = !isIP(hostname6) ? hostname6.split(".").reverse() : [hostname6];
35561
35561
  return subdomains2.slice(offset);
35562
35562
  });
35563
- defineGetter(req, "path", function path44() {
35563
+ defineGetter(req, "path", function path45() {
35564
35564
  return parse6(this).pathname;
35565
35565
  });
35566
35566
  defineGetter(req, "hostname", function hostname6() {
@@ -35887,7 +35887,7 @@ var require_response = __commonJS({
35887
35887
  var http6 = require("http");
35888
35888
  var isAbsolute13 = require_utils2().isAbsolute;
35889
35889
  var onFinished = require_on_finished();
35890
- var path44 = require("path");
35890
+ var path45 = require("path");
35891
35891
  var statuses = require_statuses();
35892
35892
  var merge4 = require_utils_merge();
35893
35893
  var sign = require_cookie_signature().sign;
@@ -35896,9 +35896,9 @@ var require_response = __commonJS({
35896
35896
  var setCharset = require_utils2().setCharset;
35897
35897
  var cookie = require_cookie();
35898
35898
  var send = require_send();
35899
- var extname4 = path44.extname;
35899
+ var extname4 = path45.extname;
35900
35900
  var mime = send.mime;
35901
- var resolve24 = path44.resolve;
35901
+ var resolve24 = path45.resolve;
35902
35902
  var vary = require_vary();
35903
35903
  var res = Object.create(http6.ServerResponse.prototype);
35904
35904
  module2.exports = res;
@@ -36075,26 +36075,26 @@ var require_response = __commonJS({
36075
36075
  this.type("txt");
36076
36076
  return this.send(body);
36077
36077
  };
36078
- res.sendFile = function sendFile(path45, options, callback) {
36078
+ res.sendFile = function sendFile(path46, options, callback) {
36079
36079
  var done = callback;
36080
36080
  var req = this.req;
36081
36081
  var res2 = this;
36082
36082
  var next = req.next;
36083
36083
  var opts = options || {};
36084
- if (!path45) {
36084
+ if (!path46) {
36085
36085
  throw new TypeError("path argument is required to res.sendFile");
36086
36086
  }
36087
- if (typeof path45 !== "string") {
36087
+ if (typeof path46 !== "string") {
36088
36088
  throw new TypeError("path must be a string to res.sendFile");
36089
36089
  }
36090
36090
  if (typeof options === "function") {
36091
36091
  done = options;
36092
36092
  opts = {};
36093
36093
  }
36094
- if (!opts.root && !isAbsolute13(path45)) {
36094
+ if (!opts.root && !isAbsolute13(path46)) {
36095
36095
  throw new TypeError("path must be absolute or specify root to res.sendFile");
36096
36096
  }
36097
- var pathname = encodeURI(path45);
36097
+ var pathname = encodeURI(path46);
36098
36098
  var file = send(req, pathname, opts);
36099
36099
  sendfile(res2, file, opts, function(err) {
36100
36100
  if (done) return done(err);
@@ -36104,7 +36104,7 @@ var require_response = __commonJS({
36104
36104
  }
36105
36105
  });
36106
36106
  };
36107
- res.sendfile = function(path45, options, callback) {
36107
+ res.sendfile = function(path46, options, callback) {
36108
36108
  var done = callback;
36109
36109
  var req = this.req;
36110
36110
  var res2 = this;
@@ -36114,7 +36114,7 @@ var require_response = __commonJS({
36114
36114
  done = options;
36115
36115
  opts = {};
36116
36116
  }
36117
- var file = send(req, path45, opts);
36117
+ var file = send(req, path46, opts);
36118
36118
  sendfile(res2, file, opts, function(err) {
36119
36119
  if (done) return done(err);
36120
36120
  if (err && err.code === "EISDIR") return next();
@@ -36127,7 +36127,7 @@ var require_response = __commonJS({
36127
36127
  res.sendfile,
36128
36128
  "res.sendfile: Use res.sendFile instead"
36129
36129
  );
36130
- res.download = function download(path45, filename, options, callback) {
36130
+ res.download = function download(path46, filename, options, callback) {
36131
36131
  var done = callback;
36132
36132
  var name2 = filename;
36133
36133
  var opts = options || null;
@@ -36144,7 +36144,7 @@ var require_response = __commonJS({
36144
36144
  opts = filename;
36145
36145
  }
36146
36146
  var headers = {
36147
- "Content-Disposition": contentDisposition(name2 || path45)
36147
+ "Content-Disposition": contentDisposition(name2 || path46)
36148
36148
  };
36149
36149
  if (opts && opts.headers) {
36150
36150
  var keys = Object.keys(opts.headers);
@@ -36157,7 +36157,7 @@ var require_response = __commonJS({
36157
36157
  }
36158
36158
  opts = Object.create(opts);
36159
36159
  opts.headers = headers;
36160
- var fullPath = !opts.root ? resolve24(path45) : path45;
36160
+ var fullPath = !opts.root ? resolve24(path46) : path46;
36161
36161
  return this.sendFile(fullPath, opts, done);
36162
36162
  };
36163
36163
  res.contentType = res.type = function contentType(type) {
@@ -36459,11 +36459,11 @@ var require_serve_static = __commonJS({
36459
36459
  }
36460
36460
  var forwardError = !fallthrough;
36461
36461
  var originalUrl = parseUrl.original(req);
36462
- var path44 = parseUrl(req).pathname;
36463
- if (path44 === "/" && originalUrl.pathname.substr(-1) !== "/") {
36464
- path44 = "";
36462
+ var path45 = parseUrl(req).pathname;
36463
+ if (path45 === "/" && originalUrl.pathname.substr(-1) !== "/") {
36464
+ path45 = "";
36465
36465
  }
36466
- var stream = send(req, path44, opts);
36466
+ var stream = send(req, path45, opts);
36467
36467
  stream.on("directory", onDirectory);
36468
36468
  if (setHeaders) {
36469
36469
  stream.on("headers", setHeaders);
@@ -36803,10 +36803,10 @@ function assignProp(target, prop, value) {
36803
36803
  configurable: true
36804
36804
  });
36805
36805
  }
36806
- function getElementAtPath(obj, path44) {
36807
- if (!path44)
36806
+ function getElementAtPath(obj, path45) {
36807
+ if (!path45)
36808
36808
  return obj;
36809
- return path44.reduce((acc, key) => acc?.[key], obj);
36809
+ return path45.reduce((acc, key) => acc?.[key], obj);
36810
36810
  }
36811
36811
  function promiseAllObject(promisesObj) {
36812
36812
  const keys = Object.keys(promisesObj);
@@ -37055,11 +37055,11 @@ function aborted(x, startIndex = 0) {
37055
37055
  }
37056
37056
  return false;
37057
37057
  }
37058
- function prefixIssues(path44, issues) {
37058
+ function prefixIssues(path45, issues) {
37059
37059
  return issues.map((iss) => {
37060
37060
  var _a;
37061
37061
  (_a = iss).path ?? (_a.path = []);
37062
- iss.path.unshift(path44);
37062
+ iss.path.unshift(path45);
37063
37063
  return iss;
37064
37064
  });
37065
37065
  }
@@ -46905,8 +46905,8 @@ var require_utils3 = __commonJS({
46905
46905
  }
46906
46906
  return ind;
46907
46907
  }
46908
- function removeDotSegments(path44) {
46909
- let input = path44;
46908
+ function removeDotSegments(path45) {
46909
+ let input = path45;
46910
46910
  const output = [];
46911
46911
  let nextSlash = -1;
46912
46912
  let len = 0;
@@ -47159,8 +47159,8 @@ var require_schemes = __commonJS({
47159
47159
  wsComponent.secure = void 0;
47160
47160
  }
47161
47161
  if (wsComponent.resourceName) {
47162
- const [path44, query] = wsComponent.resourceName.split("?");
47163
- wsComponent.path = path44 && path44 !== "/" ? path44 : void 0;
47162
+ const [path45, query] = wsComponent.resourceName.split("?");
47163
+ wsComponent.path = path45 && path45 !== "/" ? path45 : void 0;
47164
47164
  wsComponent.query = query;
47165
47165
  wsComponent.resourceName = void 0;
47166
47166
  }
@@ -50599,12 +50599,12 @@ var require_dist4 = __commonJS({
50599
50599
  throw new Error(`Unknown format "${name2}"`);
50600
50600
  return f;
50601
50601
  };
50602
- function addFormats(ajv, list, fs41, exportName) {
50602
+ function addFormats(ajv, list, fs42, exportName) {
50603
50603
  var _a;
50604
50604
  var _b;
50605
50605
  (_a = (_b = ajv.opts.code).formats) !== null && _a !== void 0 ? _a : _b.formats = (0, codegen_1._)`require("ajv-formats/dist/formats").${exportName}`;
50606
50606
  for (const f of list)
50607
- ajv.addFormat(f, fs41[f]);
50607
+ ajv.addFormat(f, fs42[f]);
50608
50608
  }
50609
50609
  module2.exports = exports2 = formatsPlugin;
50610
50610
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -51435,8 +51435,8 @@ var require_windows = __commonJS({
51435
51435
  init_cjs_shims();
51436
51436
  module2.exports = isexe;
51437
51437
  isexe.sync = sync;
51438
- var fs41 = require("fs");
51439
- function checkPathExt(path44, options) {
51438
+ var fs42 = require("fs");
51439
+ function checkPathExt(path45, options) {
51440
51440
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
51441
51441
  if (!pathext) {
51442
51442
  return true;
@@ -51447,25 +51447,25 @@ var require_windows = __commonJS({
51447
51447
  }
51448
51448
  for (var i = 0; i < pathext.length; i++) {
51449
51449
  var p = pathext[i].toLowerCase();
51450
- if (p && path44.substr(-p.length).toLowerCase() === p) {
51450
+ if (p && path45.substr(-p.length).toLowerCase() === p) {
51451
51451
  return true;
51452
51452
  }
51453
51453
  }
51454
51454
  return false;
51455
51455
  }
51456
- function checkStat(stat3, path44, options) {
51456
+ function checkStat(stat3, path45, options) {
51457
51457
  if (!stat3.isSymbolicLink() && !stat3.isFile()) {
51458
51458
  return false;
51459
51459
  }
51460
- return checkPathExt(path44, options);
51460
+ return checkPathExt(path45, options);
51461
51461
  }
51462
- function isexe(path44, options, cb) {
51463
- fs41.stat(path44, function(er, stat3) {
51464
- cb(er, er ? false : checkStat(stat3, path44, options));
51462
+ function isexe(path45, options, cb) {
51463
+ fs42.stat(path45, function(er, stat3) {
51464
+ cb(er, er ? false : checkStat(stat3, path45, options));
51465
51465
  });
51466
51466
  }
51467
- function sync(path44, options) {
51468
- return checkStat(fs41.statSync(path44), path44, options);
51467
+ function sync(path45, options) {
51468
+ return checkStat(fs42.statSync(path45), path45, options);
51469
51469
  }
51470
51470
  }
51471
51471
  });
@@ -51477,14 +51477,14 @@ var require_mode = __commonJS({
51477
51477
  init_cjs_shims();
51478
51478
  module2.exports = isexe;
51479
51479
  isexe.sync = sync;
51480
- var fs41 = require("fs");
51481
- function isexe(path44, options, cb) {
51482
- fs41.stat(path44, function(er, stat3) {
51480
+ var fs42 = require("fs");
51481
+ function isexe(path45, options, cb) {
51482
+ fs42.stat(path45, function(er, stat3) {
51483
51483
  cb(er, er ? false : checkStat(stat3, options));
51484
51484
  });
51485
51485
  }
51486
- function sync(path44, options) {
51487
- return checkStat(fs41.statSync(path44), options);
51486
+ function sync(path45, options) {
51487
+ return checkStat(fs42.statSync(path45), options);
51488
51488
  }
51489
51489
  function checkStat(stat3, options) {
51490
51490
  return stat3.isFile() && checkMode(stat3, options);
@@ -51510,7 +51510,7 @@ var require_isexe = __commonJS({
51510
51510
  "../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js"(exports2, module2) {
51511
51511
  "use strict";
51512
51512
  init_cjs_shims();
51513
- var fs41 = require("fs");
51513
+ var fs42 = require("fs");
51514
51514
  var core;
51515
51515
  if (process.platform === "win32" || global.TESTING_WINDOWS) {
51516
51516
  core = require_windows();
@@ -51519,7 +51519,7 @@ var require_isexe = __commonJS({
51519
51519
  }
51520
51520
  module2.exports = isexe;
51521
51521
  isexe.sync = sync;
51522
- function isexe(path44, options, cb) {
51522
+ function isexe(path45, options, cb) {
51523
51523
  if (typeof options === "function") {
51524
51524
  cb = options;
51525
51525
  options = {};
@@ -51529,7 +51529,7 @@ var require_isexe = __commonJS({
51529
51529
  throw new TypeError("callback not provided");
51530
51530
  }
51531
51531
  return new Promise(function(resolve24, reject) {
51532
- isexe(path44, options || {}, function(er, is) {
51532
+ isexe(path45, options || {}, function(er, is) {
51533
51533
  if (er) {
51534
51534
  reject(er);
51535
51535
  } else {
@@ -51538,7 +51538,7 @@ var require_isexe = __commonJS({
51538
51538
  });
51539
51539
  });
51540
51540
  }
51541
- core(path44, options || {}, function(er, is) {
51541
+ core(path45, options || {}, function(er, is) {
51542
51542
  if (er) {
51543
51543
  if (er.code === "EACCES" || options && options.ignoreErrors) {
51544
51544
  er = null;
@@ -51548,9 +51548,9 @@ var require_isexe = __commonJS({
51548
51548
  cb(er, is);
51549
51549
  });
51550
51550
  }
51551
- function sync(path44, options) {
51551
+ function sync(path45, options) {
51552
51552
  try {
51553
- return core.sync(path44, options || {});
51553
+ return core.sync(path45, options || {});
51554
51554
  } catch (er) {
51555
51555
  if (options && options.ignoreErrors || er.code === "EACCES") {
51556
51556
  return false;
@@ -51568,7 +51568,7 @@ var require_which = __commonJS({
51568
51568
  "use strict";
51569
51569
  init_cjs_shims();
51570
51570
  var isWindows3 = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
51571
- var path44 = require("path");
51571
+ var path45 = require("path");
51572
51572
  var COLON = isWindows3 ? ";" : ":";
51573
51573
  var isexe = require_isexe();
51574
51574
  var getNotFoundError = (cmd) => Object.assign(new Error(`not found: ${cmd}`), { code: "ENOENT" });
@@ -51606,7 +51606,7 @@ var require_which = __commonJS({
51606
51606
  return opt.all && found.length ? resolve24(found) : reject(getNotFoundError(cmd));
51607
51607
  const ppRaw = pathEnv[i];
51608
51608
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
51609
- const pCmd = path44.join(pathPart, cmd);
51609
+ const pCmd = path45.join(pathPart, cmd);
51610
51610
  const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
51611
51611
  resolve24(subStep(p, i, 0));
51612
51612
  });
@@ -51633,7 +51633,7 @@ var require_which = __commonJS({
51633
51633
  for (let i = 0; i < pathEnv.length; i++) {
51634
51634
  const ppRaw = pathEnv[i];
51635
51635
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
51636
- const pCmd = path44.join(pathPart, cmd);
51636
+ const pCmd = path45.join(pathPart, cmd);
51637
51637
  const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
51638
51638
  for (let j = 0; j < pathExt.length; j++) {
51639
51639
  const cur = p + pathExt[j];
@@ -51683,7 +51683,7 @@ var require_resolveCommand = __commonJS({
51683
51683
  "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js"(exports2, module2) {
51684
51684
  "use strict";
51685
51685
  init_cjs_shims();
51686
- var path44 = require("path");
51686
+ var path45 = require("path");
51687
51687
  var which = require_which();
51688
51688
  var getPathKey = require_path_key();
51689
51689
  function resolveCommandAttempt(parsed, withoutPathExt) {
@@ -51701,7 +51701,7 @@ var require_resolveCommand = __commonJS({
51701
51701
  try {
51702
51702
  resolved = which.sync(parsed.command, {
51703
51703
  path: env3[getPathKey({ env: env3 })],
51704
- pathExt: withoutPathExt ? path44.delimiter : void 0
51704
+ pathExt: withoutPathExt ? path45.delimiter : void 0
51705
51705
  });
51706
51706
  } catch (e) {
51707
51707
  } finally {
@@ -51710,7 +51710,7 @@ var require_resolveCommand = __commonJS({
51710
51710
  }
51711
51711
  }
51712
51712
  if (resolved) {
51713
- resolved = path44.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
51713
+ resolved = path45.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
51714
51714
  }
51715
51715
  return resolved;
51716
51716
  }
@@ -51767,8 +51767,8 @@ var require_shebang_command = __commonJS({
51767
51767
  if (!match) {
51768
51768
  return null;
51769
51769
  }
51770
- const [path44, argument] = match[0].replace(/#! ?/, "").split(" ");
51771
- const binary = path44.split("/").pop();
51770
+ const [path45, argument] = match[0].replace(/#! ?/, "").split(" ");
51771
+ const binary = path45.split("/").pop();
51772
51772
  if (binary === "env") {
51773
51773
  return argument;
51774
51774
  }
@@ -51782,16 +51782,16 @@ var require_readShebang = __commonJS({
51782
51782
  "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js"(exports2, module2) {
51783
51783
  "use strict";
51784
51784
  init_cjs_shims();
51785
- var fs41 = require("fs");
51785
+ var fs42 = require("fs");
51786
51786
  var shebangCommand = require_shebang_command();
51787
51787
  function readShebang(command) {
51788
51788
  const size = 150;
51789
51789
  const buffer = Buffer.alloc(size);
51790
51790
  let fd;
51791
51791
  try {
51792
- fd = fs41.openSync(command, "r");
51793
- fs41.readSync(fd, buffer, 0, size, 0);
51794
- fs41.closeSync(fd);
51792
+ fd = fs42.openSync(command, "r");
51793
+ fs42.readSync(fd, buffer, 0, size, 0);
51794
+ fs42.closeSync(fd);
51795
51795
  } catch (e) {
51796
51796
  }
51797
51797
  return shebangCommand(buffer.toString());
@@ -51805,7 +51805,7 @@ var require_parse3 = __commonJS({
51805
51805
  "../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js"(exports2, module2) {
51806
51806
  "use strict";
51807
51807
  init_cjs_shims();
51808
- var path44 = require("path");
51808
+ var path45 = require("path");
51809
51809
  var resolveCommand = require_resolveCommand();
51810
51810
  var escape2 = require_escape();
51811
51811
  var readShebang = require_readShebang();
@@ -51830,7 +51830,7 @@ var require_parse3 = __commonJS({
51830
51830
  const needsShell = !isExecutableRegExp.test(commandFile);
51831
51831
  if (parsed.options.forceShell || needsShell) {
51832
51832
  const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
51833
- parsed.command = path44.normalize(parsed.command);
51833
+ parsed.command = path45.normalize(parsed.command);
51834
51834
  parsed.command = escape2.command(parsed.command);
51835
51835
  parsed.args = parsed.args.map((arg) => escape2.argument(arg, needsDoubleEscapeMetaChars));
51836
51836
  const shellCommand = [parsed.command].concat(parsed.args).join(" ");
@@ -57785,9 +57785,9 @@ __export(getMachineId_linux_exports, {
57785
57785
  });
57786
57786
  async function getMachineId2() {
57787
57787
  const paths = ["/etc/machine-id", "/var/lib/dbus/machine-id"];
57788
- for (const path44 of paths) {
57788
+ for (const path45 of paths) {
57789
57789
  try {
57790
- const result = await import_fs.promises.readFile(path44, { encoding: "utf8" });
57790
+ const result = await import_fs.promises.readFile(path45, { encoding: "utf8" });
57791
57791
  return result.trim();
57792
57792
  } catch (e) {
57793
57793
  diag2.debug(`error reading machine id: ${e}`);
@@ -65244,19 +65244,19 @@ var require_module_details_from_path = __commonJS({
65244
65244
  basedir += segments[i] + sep11;
65245
65245
  }
65246
65246
  }
65247
- var path44 = "";
65247
+ var path45 = "";
65248
65248
  var lastSegmentIndex = segments.length - 1;
65249
65249
  for (var i2 = index + offset; i2 <= lastSegmentIndex; i2++) {
65250
65250
  if (i2 === lastSegmentIndex) {
65251
- path44 += segments[i2];
65251
+ path45 += segments[i2];
65252
65252
  } else {
65253
- path44 += segments[i2] + sep11;
65253
+ path45 += segments[i2] + sep11;
65254
65254
  }
65255
65255
  }
65256
65256
  return {
65257
65257
  name: name2,
65258
65258
  basedir,
65259
- path: path44
65259
+ path: path45
65260
65260
  };
65261
65261
  };
65262
65262
  }
@@ -65267,7 +65267,7 @@ var require_require_in_the_middle = __commonJS({
65267
65267
  "../../node_modules/.pnpm/require-in-the-middle@8.0.1/node_modules/require-in-the-middle/index.js"(exports2, module2) {
65268
65268
  "use strict";
65269
65269
  init_cjs_shims();
65270
- var path44 = require("path");
65270
+ var path45 = require("path");
65271
65271
  var Module = require("module");
65272
65272
  var debug = require_src()("require-in-the-middle");
65273
65273
  var moduleDetailsFromPath = require_module_details_from_path();
@@ -65412,7 +65412,7 @@ var require_require_in_the_middle = __commonJS({
65412
65412
  }
65413
65413
  moduleName = filename;
65414
65414
  } else if (hasWhitelist === true && modules.includes(filename)) {
65415
- const parsedPath = path44.parse(filename);
65415
+ const parsedPath = path45.parse(filename);
65416
65416
  moduleName = parsedPath.name;
65417
65417
  basedir = parsedPath.dir;
65418
65418
  } else {
@@ -65450,7 +65450,7 @@ var require_require_in_the_middle = __commonJS({
65450
65450
  }
65451
65451
  if (res !== filename) {
65452
65452
  if (internals === true) {
65453
- moduleName = moduleName + path44.sep + path44.relative(basedir, filename);
65453
+ moduleName = moduleName + path45.sep + path45.relative(basedir, filename);
65454
65454
  debug("preparing to process require of internal file: %s", moduleName);
65455
65455
  } else {
65456
65456
  debug("ignoring require of non-main module file: %s", res);
@@ -65486,8 +65486,8 @@ var require_require_in_the_middle = __commonJS({
65486
65486
  }
65487
65487
  };
65488
65488
  function resolveModuleName(stat3) {
65489
- const normalizedPath = path44.sep !== "/" ? stat3.path.split(path44.sep).join("/") : stat3.path;
65490
- return path44.posix.join(stat3.name, normalizedPath).replace(normalize7, "");
65489
+ const normalizedPath = path45.sep !== "/" ? stat3.path.split(path45.sep).join("/") : stat3.path;
65490
+ return path45.posix.join(stat3.name, normalizedPath).replace(normalize7, "");
65491
65491
  }
65492
65492
  }
65493
65493
  });
@@ -65566,15 +65566,15 @@ var init_ModuleNameTrie = __esm({
65566
65566
 
65567
65567
  // ../../node_modules/.pnpm/@opentelemetry+instrumentation@0.218.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/instrumentation/build/esm/platform/node/RequireInTheMiddleSingleton.js
65568
65568
  function normalizePathSeparators(moduleNameOrPath) {
65569
- return path34.sep !== ModuleNameSeparator ? moduleNameOrPath.split(path34.sep).join(ModuleNameSeparator) : moduleNameOrPath;
65569
+ return path35.sep !== ModuleNameSeparator ? moduleNameOrPath.split(path35.sep).join(ModuleNameSeparator) : moduleNameOrPath;
65570
65570
  }
65571
- var import_require_in_the_middle, path34, isMocha, RequireInTheMiddleSingleton;
65571
+ var import_require_in_the_middle, path35, isMocha, RequireInTheMiddleSingleton;
65572
65572
  var init_RequireInTheMiddleSingleton = __esm({
65573
65573
  "../../node_modules/.pnpm/@opentelemetry+instrumentation@0.218.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/instrumentation/build/esm/platform/node/RequireInTheMiddleSingleton.js"() {
65574
65574
  "use strict";
65575
65575
  init_cjs_shims();
65576
65576
  import_require_in_the_middle = __toESM(require_require_in_the_middle());
65577
- path34 = __toESM(require("path"));
65577
+ path35 = __toESM(require("path"));
65578
65578
  init_ModuleNameTrie();
65579
65579
  isMocha = [
65580
65580
  "afterEach",
@@ -65699,7 +65699,7 @@ var require_import_in_the_middle = __commonJS({
65699
65699
  "../../node_modules/.pnpm/import-in-the-middle@3.0.2/node_modules/import-in-the-middle/index.js"(exports2, module2) {
65700
65700
  "use strict";
65701
65701
  init_cjs_shims();
65702
- var path44 = require("path");
65702
+ var path45 = require("path");
65703
65703
  var moduleDetailsFromPath = require_module_details_from_path();
65704
65704
  var { fileURLToPath: fileURLToPath2 } = require("url");
65705
65705
  var { MessageChannel } = require("worker_threads");
@@ -65818,7 +65818,7 @@ var require_import_in_the_middle = __commonJS({
65818
65818
  } else if (baseDir.endsWith(specifiers.get(loadUrl)) || isTurbopackSpecifier(specifiers.get(loadUrl), baseDir)) {
65819
65819
  callHookFn(hookFn, namespace, name2, baseDir);
65820
65820
  } else if (internals) {
65821
- const internalPath = name2 + path44.sep + path44.relative(baseDir, filePath);
65821
+ const internalPath = name2 + path45.sep + path45.relative(baseDir, filePath);
65822
65822
  callHookFn(hookFn, namespace, internalPath, baseDir);
65823
65823
  }
65824
65824
  } else if (matchArg === specifier) {
@@ -65892,12 +65892,12 @@ function isSupported(supportedVersions, version3, includePrerelease) {
65892
65892
  return satisfies(version3, supportedVersion, { includePrerelease });
65893
65893
  });
65894
65894
  }
65895
- var path35, import_util10, import_import_in_the_middle, import_require_in_the_middle2, import_fs3, InstrumentationBase;
65895
+ var path36, import_util10, import_import_in_the_middle, import_require_in_the_middle2, import_fs3, InstrumentationBase;
65896
65896
  var init_instrumentation2 = __esm({
65897
65897
  "../../node_modules/.pnpm/@opentelemetry+instrumentation@0.218.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js"() {
65898
65898
  "use strict";
65899
65899
  init_cjs_shims();
65900
- path35 = __toESM(require("path"));
65900
+ path36 = __toESM(require("path"));
65901
65901
  import_util10 = require("util");
65902
65902
  init_semver2();
65903
65903
  init_shimmer();
@@ -65998,7 +65998,7 @@ var init_instrumentation2 = __esm({
65998
65998
  }
65999
65999
  _extractPackageVersion(baseDir) {
66000
66000
  try {
66001
- const json = (0, import_fs3.readFileSync)(path35.join(baseDir, "package.json"), {
66001
+ const json = (0, import_fs3.readFileSync)(path36.join(baseDir, "package.json"), {
66002
66002
  encoding: "utf8"
66003
66003
  });
66004
66004
  const version3 = JSON.parse(json).version;
@@ -66040,7 +66040,7 @@ var init_instrumentation2 = __esm({
66040
66040
  return exports2;
66041
66041
  }
66042
66042
  const files = module2.files ?? [];
66043
- const normalizedName = path35.normalize(name2);
66043
+ const normalizedName = path36.normalize(name2);
66044
66044
  const supportedFileInstrumentations = files.filter((f) => f.name === normalizedName && isSupported(f.supportedVersions, version3, module2.includePrerelease));
66045
66045
  return supportedFileInstrumentations.reduce((patchedExports, file) => {
66046
66046
  file.moduleExports = patchedExports;
@@ -66086,8 +66086,8 @@ var init_instrumentation2 = __esm({
66086
66086
  this._warnOnPreloadedModules();
66087
66087
  for (const module2 of this._modules) {
66088
66088
  const hookFn = (exports2, name2, baseDir) => {
66089
- if (!baseDir && path35.isAbsolute(name2)) {
66090
- const parsedPath = path35.parse(name2);
66089
+ if (!baseDir && path36.isAbsolute(name2)) {
66090
+ const parsedPath = path36.parse(name2);
66091
66091
  name2 = parsedPath.name;
66092
66092
  baseDir = parsedPath.dir;
66093
66093
  }
@@ -66096,7 +66096,7 @@ var init_instrumentation2 = __esm({
66096
66096
  const onRequire = (exports2, name2, baseDir) => {
66097
66097
  return this._onRequire(module2, exports2, name2, baseDir);
66098
66098
  };
66099
- const hook = path35.isAbsolute(module2.name) ? new import_require_in_the_middle2.Hook([module2.name], { internals: true }, onRequire) : this._requireInTheMiddleSingleton.register(module2.name, onRequire);
66099
+ const hook = path36.isAbsolute(module2.name) ? new import_require_in_the_middle2.Hook([module2.name], { internals: true }, onRequire) : this._requireInTheMiddleSingleton.register(module2.name, onRequire);
66100
66100
  this._hooks.push(hook);
66101
66101
  const esmHook = new import_import_in_the_middle.Hook([module2.name], { internals: true }, hookFn);
66102
66102
  this._hooks.push(esmHook);
@@ -69027,7 +69027,7 @@ function appendRootPathToUrlIfNeeded(url3) {
69027
69027
  return void 0;
69028
69028
  }
69029
69029
  }
69030
- function appendResourcePathToUrl(url3, path44) {
69030
+ function appendResourcePathToUrl(url3, path45) {
69031
69031
  try {
69032
69032
  new URL(url3);
69033
69033
  } catch {
@@ -69037,11 +69037,11 @@ function appendResourcePathToUrl(url3, path44) {
69037
69037
  if (!url3.endsWith("/")) {
69038
69038
  url3 = url3 + "/";
69039
69039
  }
69040
- url3 += path44;
69040
+ url3 += path45;
69041
69041
  try {
69042
69042
  new URL(url3);
69043
69043
  } catch {
69044
- diag2.warn(`Configuration: Provided URL appended with '${path44}' is not a valid URL, using 'undefined' instead of '${url3}'`);
69044
+ diag2.warn(`Configuration: Provided URL appended with '${path45}' is not a valid URL, using 'undefined' instead of '${url3}'`);
69045
69045
  return void 0;
69046
69046
  }
69047
69047
  return url3;
@@ -69066,7 +69066,7 @@ function readFileFromEnv(signalSpecificEnvVar, nonSignalSpecificEnvVar, warningM
69066
69066
  const filePath = signalSpecificPath ?? nonSignalSpecificPath;
69067
69067
  if (filePath != null) {
69068
69068
  try {
69069
- return fs34.readFileSync(path36.resolve(process.cwd(), filePath));
69069
+ return fs35.readFileSync(path37.resolve(process.cwd(), filePath));
69070
69070
  } catch {
69071
69071
  diag2.warn(warningMessage);
69072
69072
  return void 0;
@@ -69097,13 +69097,13 @@ function getNodeHttpConfigurationFromEnvironment(signalIdentifier, signalResourc
69097
69097
  })
69098
69098
  };
69099
69099
  }
69100
- var fs34, path36;
69100
+ var fs35, path37;
69101
69101
  var init_otlp_node_http_env_configuration = __esm({
69102
69102
  "../../node_modules/.pnpm/@opentelemetry+otlp-exporter-base@0.218.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/otlp-node-http-env-configuration.js"() {
69103
69103
  "use strict";
69104
69104
  init_cjs_shims();
69105
- fs34 = __toESM(require("fs"));
69106
- path36 = __toESM(require("path"));
69105
+ fs35 = __toESM(require("fs"));
69106
+ path37 = __toESM(require("path"));
69107
69107
  init_esm11();
69108
69108
  init_esm8();
69109
69109
  init_shared_env_configuration();
@@ -69904,14 +69904,14 @@ var require_tls_helpers = __commonJS({
69904
69904
  Object.defineProperty(exports2, "__esModule", { value: true });
69905
69905
  exports2.CIPHER_SUITES = void 0;
69906
69906
  exports2.getDefaultRootsData = getDefaultRootsData;
69907
- var fs41 = require("fs");
69907
+ var fs42 = require("fs");
69908
69908
  exports2.CIPHER_SUITES = process.env.GRPC_SSL_CIPHER_SUITES;
69909
69909
  var DEFAULT_ROOTS_FILE_PATH = process.env.GRPC_DEFAULT_SSL_ROOTS_FILE_PATH;
69910
69910
  var defaultRootsData = null;
69911
69911
  function getDefaultRootsData() {
69912
69912
  if (DEFAULT_ROOTS_FILE_PATH) {
69913
69913
  if (defaultRootsData === null) {
69914
- defaultRootsData = fs41.readFileSync(DEFAULT_ROOTS_FILE_PATH);
69914
+ defaultRootsData = fs42.readFileSync(DEFAULT_ROOTS_FILE_PATH);
69915
69915
  }
69916
69916
  return defaultRootsData;
69917
69917
  }
@@ -69943,19 +69943,19 @@ var require_uri_parser = __commonJS({
69943
69943
  };
69944
69944
  }
69945
69945
  var NUMBER_REGEX = /^\d+$/;
69946
- function splitHostPort(path44) {
69947
- if (path44.startsWith("[")) {
69948
- const hostEnd = path44.indexOf("]");
69946
+ function splitHostPort(path45) {
69947
+ if (path45.startsWith("[")) {
69948
+ const hostEnd = path45.indexOf("]");
69949
69949
  if (hostEnd === -1) {
69950
69950
  return null;
69951
69951
  }
69952
- const host = path44.substring(1, hostEnd);
69952
+ const host = path45.substring(1, hostEnd);
69953
69953
  if (host.indexOf(":") === -1) {
69954
69954
  return null;
69955
69955
  }
69956
- if (path44.length > hostEnd + 1) {
69957
- if (path44[hostEnd + 1] === ":") {
69958
- const portString = path44.substring(hostEnd + 2);
69956
+ if (path45.length > hostEnd + 1) {
69957
+ if (path45[hostEnd + 1] === ":") {
69958
+ const portString = path45.substring(hostEnd + 2);
69959
69959
  if (NUMBER_REGEX.test(portString)) {
69960
69960
  return {
69961
69961
  host,
@@ -69973,7 +69973,7 @@ var require_uri_parser = __commonJS({
69973
69973
  };
69974
69974
  }
69975
69975
  } else {
69976
- const splitPath = path44.split(":");
69976
+ const splitPath = path45.split(":");
69977
69977
  if (splitPath.length === 2) {
69978
69978
  if (NUMBER_REGEX.test(splitPath[1])) {
69979
69979
  return {
@@ -69985,7 +69985,7 @@ var require_uri_parser = __commonJS({
69985
69985
  }
69986
69986
  } else {
69987
69987
  return {
69988
- host: path44
69988
+ host: path45
69989
69989
  };
69990
69990
  }
69991
69991
  }
@@ -73170,14 +73170,14 @@ var require_client_interceptors = __commonJS({
73170
73170
  }
73171
73171
  };
73172
73172
  exports2.InterceptingCall = InterceptingCall;
73173
- function getCall(channel, path44, options) {
73173
+ function getCall(channel, path45, options) {
73174
73174
  var _a, _b;
73175
73175
  const deadline = (_a = options.deadline) !== null && _a !== void 0 ? _a : Infinity;
73176
73176
  const host = options.host;
73177
73177
  const parent = (_b = options.parent) !== null && _b !== void 0 ? _b : null;
73178
73178
  const propagateFlags = options.propagate_flags;
73179
73179
  const credentials = options.credentials;
73180
- const call = channel.createCall(path44, deadline, host, parent, propagateFlags);
73180
+ const call = channel.createCall(path45, deadline, host, parent, propagateFlags);
73181
73181
  if (credentials) {
73182
73182
  call.setCredentials(credentials);
73183
73183
  }
@@ -73749,9 +73749,9 @@ var require_make_client = __commonJS({
73749
73749
  ServiceClientImpl.serviceName = serviceName3;
73750
73750
  return ServiceClientImpl;
73751
73751
  }
73752
- function partial2(fn, path44, serialize, deserialize) {
73752
+ function partial2(fn, path45, serialize, deserialize) {
73753
73753
  return function(...args) {
73754
- return fn.call(this, path44, serialize, deserialize, ...args);
73754
+ return fn.call(this, path45, serialize, deserialize, ...args);
73755
73755
  };
73756
73756
  }
73757
73757
  function isProtobufTypeDefinition(obj) {
@@ -76630,17 +76630,17 @@ var require_fs = __commonJS({
76630
76630
  "../../node_modules/.pnpm/@protobufjs+fetch@1.1.1/node_modules/@protobufjs/fetch/util/fs.js"(exports2, module2) {
76631
76631
  "use strict";
76632
76632
  init_cjs_shims();
76633
- var fs41 = null;
76633
+ var fs42 = null;
76634
76634
  try {
76635
- fs41 = require(
76635
+ fs42 = require(
76636
76636
  /* webpackIgnore: true */
76637
76637
  "fs"
76638
76638
  );
76639
- if (!fs41 || !fs41.readFile || !fs41.readFileSync)
76640
- fs41 = null;
76639
+ if (!fs42 || !fs42.readFile || !fs42.readFileSync)
76640
+ fs42 = null;
76641
76641
  } catch (e) {
76642
76642
  }
76643
- module2.exports = fs41;
76643
+ module2.exports = fs42;
76644
76644
  }
76645
76645
  });
76646
76646
 
@@ -76651,7 +76651,7 @@ var require_fetch = __commonJS({
76651
76651
  init_cjs_shims();
76652
76652
  module2.exports = fetch2;
76653
76653
  var asPromise = require_aspromise();
76654
- var fs41 = require_fs();
76654
+ var fs42 = require_fs();
76655
76655
  function fetch2(filename, options, callback) {
76656
76656
  if (typeof options === "function") {
76657
76657
  callback = options;
@@ -76660,8 +76660,8 @@ var require_fetch = __commonJS({
76660
76660
  options = {};
76661
76661
  if (!callback)
76662
76662
  return asPromise(fetch2, this, filename, options);
76663
- if (!options.xhr && fs41 && fs41.readFile)
76664
- return fs41.readFile(filename, function fetchReadFileCallback(err, contents) {
76663
+ if (!options.xhr && fs42 && fs42.readFile)
76664
+ return fs42.readFile(filename, function fetchReadFileCallback(err, contents) {
76665
76665
  return err && typeof XMLHttpRequest !== "undefined" ? fetch2.xhr(filename, options, callback) : err ? callback(err) : callback(null, options.binary ? contents : contents.toString("utf8"));
76666
76666
  });
76667
76667
  return fetch2.xhr(filename, options, callback);
@@ -76700,15 +76700,15 @@ var require_path = __commonJS({
76700
76700
  "../../node_modules/.pnpm/@protobufjs+path@1.1.2/node_modules/@protobufjs/path/index.js"(exports2) {
76701
76701
  "use strict";
76702
76702
  init_cjs_shims();
76703
- var path44 = exports2;
76703
+ var path45 = exports2;
76704
76704
  var isAbsolute13 = (
76705
76705
  /**
76706
76706
  * Tests if the specified path is absolute.
76707
76707
  * @param {string} path Path to test
76708
76708
  * @returns {boolean} `true` if path is absolute
76709
76709
  */
76710
- path44.isAbsolute = function isAbsolute14(path45) {
76711
- return /^(?:\/|\w+:)/.test(path45);
76710
+ path45.isAbsolute = function isAbsolute14(path46) {
76711
+ return /^(?:\/|\w+:)/.test(path46);
76712
76712
  }
76713
76713
  );
76714
76714
  var normalize7 = (
@@ -76717,9 +76717,9 @@ var require_path = __commonJS({
76717
76717
  * @param {string} path Path to normalize
76718
76718
  * @returns {string} Normalized path
76719
76719
  */
76720
- path44.normalize = function normalize8(path45) {
76721
- path45 = path45.replace(/\\/g, "/").replace(/\/{2,}/g, "/");
76722
- var parts = path45.split("/"), absolute = isAbsolute13(path45), prefix = "";
76720
+ path45.normalize = function normalize8(path46) {
76721
+ path46 = path46.replace(/\\/g, "/").replace(/\/{2,}/g, "/");
76722
+ var parts = path46.split("/"), absolute = isAbsolute13(path46), prefix = "";
76723
76723
  if (absolute)
76724
76724
  prefix = parts.shift() + "/";
76725
76725
  for (var i = 0; i < parts.length; ) {
@@ -76738,7 +76738,7 @@ var require_path = __commonJS({
76738
76738
  return prefix + parts.join("/");
76739
76739
  }
76740
76740
  );
76741
- path44.resolve = function resolve24(originPath, includePath, alreadyNormalized) {
76741
+ path45.resolve = function resolve24(originPath, includePath, alreadyNormalized) {
76742
76742
  if (!alreadyNormalized)
76743
76743
  includePath = normalize7(includePath);
76744
76744
  if (isAbsolute13(includePath))
@@ -76767,17 +76767,17 @@ var require_fs2 = __commonJS({
76767
76767
  "../../node_modules/.pnpm/protobufjs@7.6.4/node_modules/protobufjs/src/util/fs.js"(exports2, module2) {
76768
76768
  "use strict";
76769
76769
  init_cjs_shims();
76770
- var fs41 = null;
76770
+ var fs42 = null;
76771
76771
  try {
76772
- fs41 = require(
76772
+ fs42 = require(
76773
76773
  /* webpackIgnore: true */
76774
76774
  "fs"
76775
76775
  );
76776
- if (!fs41 || !fs41.readFile || !fs41.readFileSync)
76777
- fs41 = null;
76776
+ if (!fs42 || !fs42.readFile || !fs42.readFileSync)
76777
+ fs42 = null;
76778
76778
  } catch (e) {
76779
76779
  }
76780
- module2.exports = fs41;
76780
+ module2.exports = fs42;
76781
76781
  }
76782
76782
  });
76783
76783
 
@@ -76925,18 +76925,18 @@ var require_namespace = __commonJS({
76925
76925
  object3.onRemove(this);
76926
76926
  return clearCache(this);
76927
76927
  };
76928
- Namespace.prototype.define = function define2(path44, json) {
76929
- if (util5.isString(path44))
76930
- path44 = path44.split(".");
76931
- else if (!Array.isArray(path44))
76928
+ Namespace.prototype.define = function define2(path45, json) {
76929
+ if (util5.isString(path45))
76930
+ path45 = path45.split(".");
76931
+ else if (!Array.isArray(path45))
76932
76932
  throw TypeError("illegal path");
76933
- if (path44 && path44.length && path44[0] === "")
76933
+ if (path45 && path45.length && path45[0] === "")
76934
76934
  throw Error("path must be relative");
76935
- if (path44.length > util5.recursionLimit)
76935
+ if (path45.length > util5.recursionLimit)
76936
76936
  throw Error("max depth exceeded");
76937
76937
  var ptr = this;
76938
- while (path44.length > 0) {
76939
- var part = path44.shift();
76938
+ while (path45.length > 0) {
76939
+ var part = path45.shift();
76940
76940
  if (ptr.nested && ptr.nested[part]) {
76941
76941
  ptr = ptr.nested[part];
76942
76942
  if (!(ptr instanceof Namespace))
@@ -76971,26 +76971,26 @@ var require_namespace = __commonJS({
76971
76971
  });
76972
76972
  return this;
76973
76973
  };
76974
- Namespace.prototype.lookup = function lookup(path44, filterTypes, parentAlreadyChecked) {
76974
+ Namespace.prototype.lookup = function lookup(path45, filterTypes, parentAlreadyChecked) {
76975
76975
  if (typeof filterTypes === "boolean") {
76976
76976
  parentAlreadyChecked = filterTypes;
76977
76977
  filterTypes = void 0;
76978
76978
  } else if (filterTypes && !Array.isArray(filterTypes))
76979
76979
  filterTypes = [filterTypes];
76980
- if (util5.isString(path44) && path44.length) {
76981
- if (path44 === ".")
76980
+ if (util5.isString(path45) && path45.length) {
76981
+ if (path45 === ".")
76982
76982
  return this.root;
76983
- path44 = path44.split(".");
76984
- } else if (!path44.length)
76983
+ path45 = path45.split(".");
76984
+ } else if (!path45.length)
76985
76985
  return this;
76986
- var flatPath = path44.join(".");
76987
- if (path44[0] === "")
76988
- return this.root.lookup(path44.slice(1), filterTypes);
76986
+ var flatPath = path45.join(".");
76987
+ if (path45[0] === "")
76988
+ return this.root.lookup(path45.slice(1), filterTypes);
76989
76989
  var found = this.root._fullyQualifiedObjects && this.root._fullyQualifiedObjects["." + flatPath];
76990
76990
  if (found && (!filterTypes || filterTypes.indexOf(found.constructor) > -1)) {
76991
76991
  return found;
76992
76992
  }
76993
- found = this._lookupImpl(path44, flatPath);
76993
+ found = this._lookupImpl(path45, flatPath);
76994
76994
  if (found && (!filterTypes || filterTypes.indexOf(found.constructor) > -1)) {
76995
76995
  return found;
76996
76996
  }
@@ -76998,7 +76998,7 @@ var require_namespace = __commonJS({
76998
76998
  return null;
76999
76999
  var current = this;
77000
77000
  while (current.parent) {
77001
- found = current.parent._lookupImpl(path44, flatPath);
77001
+ found = current.parent._lookupImpl(path45, flatPath);
77002
77002
  if (found && (!filterTypes || filterTypes.indexOf(found.constructor) > -1)) {
77003
77003
  return found;
77004
77004
  }
@@ -77006,22 +77006,22 @@ var require_namespace = __commonJS({
77006
77006
  }
77007
77007
  return null;
77008
77008
  };
77009
- Namespace.prototype._lookupImpl = function lookup(path44, flatPath) {
77009
+ Namespace.prototype._lookupImpl = function lookup(path45, flatPath) {
77010
77010
  if (Object.prototype.hasOwnProperty.call(this._lookupCache, flatPath)) {
77011
77011
  return this._lookupCache[flatPath];
77012
77012
  }
77013
- var found = this.get(path44[0]);
77013
+ var found = this.get(path45[0]);
77014
77014
  var exact = null;
77015
77015
  if (found) {
77016
- if (path44.length === 1) {
77016
+ if (path45.length === 1) {
77017
77017
  exact = found;
77018
77018
  } else if (found instanceof Namespace) {
77019
- path44 = path44.slice(1);
77020
- exact = found._lookupImpl(path44, path44.join("."));
77019
+ path45 = path45.slice(1);
77020
+ exact = found._lookupImpl(path45, path45.join("."));
77021
77021
  }
77022
77022
  } else {
77023
77023
  for (var i = 0; i < this.nestedArray.length; ++i)
77024
- if (this._nestedArray[i] instanceof Namespace && (found = this._nestedArray[i]._lookupImpl(path44, flatPath))) {
77024
+ if (this._nestedArray[i] instanceof Namespace && (found = this._nestedArray[i]._lookupImpl(path45, flatPath))) {
77025
77025
  exact = found;
77026
77026
  break;
77027
77027
  }
@@ -77029,28 +77029,28 @@ var require_namespace = __commonJS({
77029
77029
  this._lookupCache[flatPath] = exact;
77030
77030
  return exact;
77031
77031
  };
77032
- Namespace.prototype.lookupType = function lookupType(path44) {
77033
- var found = this.lookup(path44, [Type]);
77032
+ Namespace.prototype.lookupType = function lookupType(path45) {
77033
+ var found = this.lookup(path45, [Type]);
77034
77034
  if (!found)
77035
- throw Error("no such type: " + path44);
77035
+ throw Error("no such type: " + path45);
77036
77036
  return found;
77037
77037
  };
77038
- Namespace.prototype.lookupEnum = function lookupEnum(path44) {
77039
- var found = this.lookup(path44, [Enum]);
77038
+ Namespace.prototype.lookupEnum = function lookupEnum(path45) {
77039
+ var found = this.lookup(path45, [Enum]);
77040
77040
  if (!found)
77041
- throw Error("no such Enum '" + path44 + "' in " + this);
77041
+ throw Error("no such Enum '" + path45 + "' in " + this);
77042
77042
  return found;
77043
77043
  };
77044
- Namespace.prototype.lookupTypeOrEnum = function lookupTypeOrEnum(path44) {
77045
- var found = this.lookup(path44, [Type, Enum]);
77044
+ Namespace.prototype.lookupTypeOrEnum = function lookupTypeOrEnum(path45) {
77045
+ var found = this.lookup(path45, [Type, Enum]);
77046
77046
  if (!found)
77047
- throw Error("no such Type or Enum '" + path44 + "' in " + this);
77047
+ throw Error("no such Type or Enum '" + path45 + "' in " + this);
77048
77048
  return found;
77049
77049
  };
77050
- Namespace.prototype.lookupService = function lookupService(path44) {
77051
- var found = this.lookup(path44, [Service]);
77050
+ Namespace.prototype.lookupService = function lookupService(path45) {
77051
+ var found = this.lookup(path45, [Service]);
77052
77052
  if (!found)
77053
- throw Error("no such Service '" + path44 + "' in " + this);
77053
+ throw Error("no such Service '" + path45 + "' in " + this);
77054
77054
  return found;
77055
77055
  };
77056
77056
  Namespace._configure = function(Type_, Service_, Enum_) {
@@ -78473,13 +78473,13 @@ var require_util2 = __commonJS({
78473
78473
  Object.defineProperty(object3, "$type", { value: enm, enumerable: false });
78474
78474
  return enm;
78475
78475
  };
78476
- util5.setProperty = function setProperty(dst, path44, value, ifNotSet) {
78477
- function setProp(dst2, path45, value2) {
78478
- var part = path45.shift();
78476
+ util5.setProperty = function setProperty(dst, path45, value, ifNotSet) {
78477
+ function setProp(dst2, path46, value2) {
78478
+ var part = path46.shift();
78479
78479
  if (util5.isUnsafeProperty(part))
78480
78480
  return dst2;
78481
- if (path45.length > 0) {
78482
- dst2[part] = setProp(dst2[part] || {}, path45, value2);
78481
+ if (path46.length > 0) {
78482
+ dst2[part] = setProp(dst2[part] || {}, path46, value2);
78483
78483
  } else {
78484
78484
  var prevValue = dst2[part];
78485
78485
  if (prevValue && ifNotSet)
@@ -78492,12 +78492,12 @@ var require_util2 = __commonJS({
78492
78492
  }
78493
78493
  if (typeof dst !== "object")
78494
78494
  throw TypeError("dst must be an object");
78495
- if (!path44)
78495
+ if (!path45)
78496
78496
  throw TypeError("path must be specified");
78497
- path44 = path44.split(".");
78498
- if (path44.length > util5.recursionLimit)
78497
+ path45 = path45.split(".");
78498
+ if (path45.length > util5.recursionLimit)
78499
78499
  throw Error("max depth exceeded");
78500
- return setProp(dst, path44, value);
78500
+ return setProp(dst, path45, value);
78501
78501
  };
78502
78502
  Object.defineProperty(util5, "decorateRoot", {
78503
78503
  get: function() {
@@ -79047,12 +79047,12 @@ var require_object = __commonJS({
79047
79047
  */
79048
79048
  fullName: {
79049
79049
  get: function() {
79050
- var path44 = [this.name], ptr = this.parent;
79050
+ var path45 = [this.name], ptr = this.parent;
79051
79051
  while (ptr) {
79052
- path44.unshift(ptr.name);
79052
+ path45.unshift(ptr.name);
79053
79053
  ptr = ptr.parent;
79054
79054
  }
79055
- return path44.join(".");
79055
+ return path45.join(".");
79056
79056
  }
79057
79057
  }
79058
79058
  });
@@ -83096,19 +83096,19 @@ var require_util3 = __commonJS({
83096
83096
  init_cjs_shims();
83097
83097
  Object.defineProperty(exports2, "__esModule", { value: true });
83098
83098
  exports2.addCommonProtos = exports2.loadProtosWithOptionsSync = exports2.loadProtosWithOptions = void 0;
83099
- var fs41 = require("fs");
83100
- var path44 = require("path");
83099
+ var fs42 = require("fs");
83100
+ var path45 = require("path");
83101
83101
  var Protobuf = require_protobufjs();
83102
83102
  function addIncludePathResolver(root, includePaths) {
83103
83103
  const originalResolvePath = root.resolvePath;
83104
83104
  root.resolvePath = (origin, target) => {
83105
- if (path44.isAbsolute(target)) {
83105
+ if (path45.isAbsolute(target)) {
83106
83106
  return target;
83107
83107
  }
83108
83108
  for (const directory of includePaths) {
83109
- const fullPath = path44.join(directory, target);
83109
+ const fullPath = path45.join(directory, target);
83110
83110
  try {
83111
- fs41.accessSync(fullPath, fs41.constants.R_OK);
83111
+ fs42.accessSync(fullPath, fs42.constants.R_OK);
83112
83112
  return fullPath;
83113
83113
  } catch (err) {
83114
83114
  continue;
@@ -88488,9 +88488,9 @@ var require_server_call = __commonJS({
88488
88488
  return status;
88489
88489
  }
88490
88490
  var ServerUnaryCallImpl = class extends events_1.EventEmitter {
88491
- constructor(path44, call, metadata, request2) {
88491
+ constructor(path45, call, metadata, request2) {
88492
88492
  super();
88493
- this.path = path44;
88493
+ this.path = path45;
88494
88494
  this.call = call;
88495
88495
  this.metadata = metadata;
88496
88496
  this.request = request2;
@@ -88520,9 +88520,9 @@ var require_server_call = __commonJS({
88520
88520
  };
88521
88521
  exports2.ServerUnaryCallImpl = ServerUnaryCallImpl;
88522
88522
  var ServerReadableStreamImpl = class extends stream_1.Readable {
88523
- constructor(path44, call, metadata) {
88523
+ constructor(path45, call, metadata) {
88524
88524
  super({ objectMode: true });
88525
- this.path = path44;
88525
+ this.path = path45;
88526
88526
  this.call = call;
88527
88527
  this.metadata = metadata;
88528
88528
  this.cancelled = false;
@@ -88554,9 +88554,9 @@ var require_server_call = __commonJS({
88554
88554
  };
88555
88555
  exports2.ServerReadableStreamImpl = ServerReadableStreamImpl;
88556
88556
  var ServerWritableStreamImpl = class extends stream_1.Writable {
88557
- constructor(path44, call, metadata, request2) {
88557
+ constructor(path45, call, metadata, request2) {
88558
88558
  super({ objectMode: true });
88559
- this.path = path44;
88559
+ this.path = path45;
88560
88560
  this.call = call;
88561
88561
  this.metadata = metadata;
88562
88562
  this.request = request2;
@@ -88610,9 +88610,9 @@ var require_server_call = __commonJS({
88610
88610
  };
88611
88611
  exports2.ServerWritableStreamImpl = ServerWritableStreamImpl;
88612
88612
  var ServerDuplexStreamImpl = class extends stream_1.Duplex {
88613
- constructor(path44, call, metadata) {
88613
+ constructor(path45, call, metadata) {
88614
88614
  super({ objectMode: true });
88615
- this.path = path44;
88615
+ this.path = path45;
88616
88616
  this.call = call;
88617
88617
  this.metadata = metadata;
88618
88618
  this.pendingStatus = {
@@ -90897,11 +90897,11 @@ var require_server = __commonJS({
90897
90897
  }
90898
90898
  return true;
90899
90899
  }
90900
- _retrieveHandler(path44) {
90901
- serverCallTrace("Received call to method " + path44 + " at address " + this.serverAddressString);
90902
- const handler = this.handlers.get(path44);
90900
+ _retrieveHandler(path45) {
90901
+ serverCallTrace("Received call to method " + path45 + " at address " + this.serverAddressString);
90902
+ const handler = this.handlers.get(path45);
90903
90903
  if (handler === void 0) {
90904
- serverCallTrace("No handler registered for method " + path44 + ". Sending UNIMPLEMENTED status.");
90904
+ serverCallTrace("No handler registered for method " + path45 + ". Sending UNIMPLEMENTED status.");
90905
90905
  return null;
90906
90906
  }
90907
90907
  return handler;
@@ -90925,10 +90925,10 @@ var require_server = __commonJS({
90925
90925
  channelzSessionInfo === null || channelzSessionInfo === void 0 ? void 0 : channelzSessionInfo.streamTracker.addCallFailed();
90926
90926
  return;
90927
90927
  }
90928
- const path44 = headers[HTTP2_HEADER_PATH];
90929
- const handler = this._retrieveHandler(path44);
90928
+ const path45 = headers[HTTP2_HEADER_PATH];
90929
+ const handler = this._retrieveHandler(path45);
90930
90930
  if (!handler) {
90931
- this._respondWithError(getUnimplementedStatusResponse(path44), stream, channelzSessionInfo);
90931
+ this._respondWithError(getUnimplementedStatusResponse(path45), stream, channelzSessionInfo);
90932
90932
  return;
90933
90933
  }
90934
90934
  const callEventTracker = {
@@ -90978,10 +90978,10 @@ var require_server = __commonJS({
90978
90978
  if (this._verifyContentType(stream, headers) !== true) {
90979
90979
  return;
90980
90980
  }
90981
- const path44 = headers[HTTP2_HEADER_PATH];
90982
- const handler = this._retrieveHandler(path44);
90981
+ const path45 = headers[HTTP2_HEADER_PATH];
90982
+ const handler = this._retrieveHandler(path45);
90983
90983
  if (!handler) {
90984
- this._respondWithError(getUnimplementedStatusResponse(path44), stream, null);
90984
+ this._respondWithError(getUnimplementedStatusResponse(path45), stream, null);
90985
90985
  return;
90986
90986
  }
90987
90987
  const call = (0, server_interceptors_1.getServerInterceptingCall)([...extraInterceptors, ...this.interceptors], stream, headers, null, handler, this.options);
@@ -92005,7 +92005,7 @@ var require_certificate_provider = __commonJS({
92005
92005
  init_cjs_shims();
92006
92006
  Object.defineProperty(exports2, "__esModule", { value: true });
92007
92007
  exports2.FileWatcherCertificateProvider = void 0;
92008
- var fs41 = require("fs");
92008
+ var fs42 = require("fs");
92009
92009
  var logging = require_logging();
92010
92010
  var constants_1 = require_constants2();
92011
92011
  var util_1 = require("util");
@@ -92013,7 +92013,7 @@ var require_certificate_provider = __commonJS({
92013
92013
  function trace2(text) {
92014
92014
  logging.trace(constants_1.LogVerbosity.DEBUG, TRACER_NAME, text);
92015
92015
  }
92016
- var readFilePromise = (0, util_1.promisify)(fs41.readFile);
92016
+ var readFilePromise = (0, util_1.promisify)(fs42.readFile);
92017
92017
  var FileWatcherCertificateProvider = class {
92018
92018
  constructor(config2) {
92019
92019
  this.config = config2;
@@ -92270,13 +92270,13 @@ var require_resolver_uds = __commonJS({
92270
92270
  this.listener = listener;
92271
92271
  this.hasReturnedResult = false;
92272
92272
  this.endpoints = [];
92273
- let path44;
92273
+ let path45;
92274
92274
  if (target.authority === "") {
92275
- path44 = "/" + target.path;
92275
+ path45 = "/" + target.path;
92276
92276
  } else {
92277
- path44 = target.path;
92277
+ path45 = target.path;
92278
92278
  }
92279
- this.endpoints = [{ addresses: [{ path: path44 }] }];
92279
+ this.endpoints = [{ addresses: [{ path: path45 }] }];
92280
92280
  }
92281
92281
  updateResolution() {
92282
92282
  if (!this.hasReturnedResult) {
@@ -92337,12 +92337,12 @@ var require_resolver_ip = __commonJS({
92337
92337
  return;
92338
92338
  }
92339
92339
  const pathList = target.path.split(",");
92340
- for (const path44 of pathList) {
92341
- const hostPort = (0, uri_parser_1.splitHostPort)(path44);
92340
+ for (const path45 of pathList) {
92341
+ const hostPort = (0, uri_parser_1.splitHostPort)(path45);
92342
92342
  if (hostPort === null) {
92343
92343
  this.error = {
92344
92344
  code: constants_1.Status.UNAVAILABLE,
92345
- details: `Failed to parse ${target.scheme} address ${path44}`,
92345
+ details: `Failed to parse ${target.scheme} address ${path45}`,
92346
92346
  metadata: new metadata_1.Metadata()
92347
92347
  };
92348
92348
  return;
@@ -92350,7 +92350,7 @@ var require_resolver_ip = __commonJS({
92350
92350
  if (target.scheme === IPV4_SCHEME && !(0, net_1.isIPv4)(hostPort.host) || target.scheme === IPV6_SCHEME && !(0, net_1.isIPv6)(hostPort.host)) {
92351
92351
  this.error = {
92352
92352
  code: constants_1.Status.UNAVAILABLE,
92353
- details: `Failed to parse ${target.scheme} address ${path44}`,
92353
+ details: `Failed to parse ${target.scheme} address ${path45}`,
92354
92354
  metadata: new metadata_1.Metadata()
92355
92355
  };
92356
92356
  return;
@@ -93712,10 +93712,10 @@ var require_create_service_client_constructor = __commonJS({
93712
93712
  Object.defineProperty(exports2, "__esModule", { value: true });
93713
93713
  exports2.createServiceClientConstructor = void 0;
93714
93714
  var grpc = require_src7();
93715
- function createServiceClientConstructor(path44, name2) {
93715
+ function createServiceClientConstructor(path45, name2) {
93716
93716
  const serviceDefinition = {
93717
93717
  export: {
93718
- path: path44,
93718
+ path: path45,
93719
93719
  requestStream: false,
93720
93720
  responseStream: false,
93721
93721
  requestSerialize: (arg) => {
@@ -93937,8 +93937,8 @@ var require_otlp_grpc_env_configuration = __commonJS({
93937
93937
  var core_1 = (init_esm11(), __toCommonJS(esm_exports4));
93938
93938
  var grpc_exporter_transport_1 = require_grpc_exporter_transport();
93939
93939
  var node_http_1 = (init_index_node_http(), __toCommonJS(index_node_http_exports));
93940
- var fs41 = require("fs");
93941
- var path44 = require("path");
93940
+ var fs42 = require("fs");
93941
+ var path45 = require("path");
93942
93942
  var api_1 = (init_esm8(), __toCommonJS(esm_exports));
93943
93943
  function fallbackIfNullishOrBlank(signalSpecific, nonSignalSpecific) {
93944
93944
  if (signalSpecific != null && signalSpecific !== "") {
@@ -93987,7 +93987,7 @@ var require_otlp_grpc_env_configuration = __commonJS({
93987
93987
  const filePath = fallbackIfNullishOrBlank(signalSpecificPath, nonSignalSpecificPath);
93988
93988
  if (filePath != null) {
93989
93989
  try {
93990
- return fs41.readFileSync(path44.resolve(process.cwd(), filePath));
93990
+ return fs42.readFileSync(path45.resolve(process.cwd(), filePath));
93991
93991
  } catch {
93992
93992
  api_1.diag.warn(warningMessage);
93993
93993
  return void 0;
@@ -95672,7 +95672,7 @@ var require_utils4 = __commonJS({
95672
95672
  var exporter_metrics_otlp_http_1 = (init_esm27(), __toCommonJS(esm_exports20));
95673
95673
  var exporter_metrics_otlp_proto_1 = (init_esm28(), __toCommonJS(esm_exports21));
95674
95674
  var sdk_logs_1 = (init_esm13(), __toCommonJS(esm_exports6));
95675
- var fs41 = require("fs");
95675
+ var fs42 = require("fs");
95676
95676
  var RESOURCE_DETECTOR_ENVIRONMENT = "env";
95677
95677
  var RESOURCE_DETECTOR_HOST = "host";
95678
95678
  var RESOURCE_DETECTOR_OS = "os";
@@ -96095,21 +96095,21 @@ var require_utils4 = __commonJS({
96095
96095
  const httpsAgentOptions = {};
96096
96096
  if (tls.ca_file) {
96097
96097
  try {
96098
- httpsAgentOptions.ca = fs41.readFileSync(tls.ca_file);
96098
+ httpsAgentOptions.ca = fs42.readFileSync(tls.ca_file);
96099
96099
  } catch (e) {
96100
96100
  api_1.diag.warn(`Failed to read TLS CA file at ${tls.ca_file}: ${e}`);
96101
96101
  }
96102
96102
  }
96103
96103
  if (tls.cert_file) {
96104
96104
  try {
96105
- httpsAgentOptions.cert = fs41.readFileSync(tls.cert_file);
96105
+ httpsAgentOptions.cert = fs42.readFileSync(tls.cert_file);
96106
96106
  } catch (e) {
96107
96107
  api_1.diag.warn(`Failed to read TLS cert file at ${tls.cert_file}: ${e}`);
96108
96108
  }
96109
96109
  }
96110
96110
  if (tls.key_file) {
96111
96111
  try {
96112
- httpsAgentOptions.key = fs41.readFileSync(tls.key_file);
96112
+ httpsAgentOptions.key = fs42.readFileSync(tls.key_file);
96113
96113
  } catch (e) {
96114
96114
  api_1.diag.warn(`Failed to read TLS key file at ${tls.key_file}: ${e}`);
96115
96115
  }
@@ -97402,17 +97402,17 @@ var require_visit = __commonJS({
97402
97402
  visit.BREAK = BREAK;
97403
97403
  visit.SKIP = SKIP;
97404
97404
  visit.REMOVE = REMOVE;
97405
- function visit_(key, node, visitor, path44) {
97406
- const ctrl = callVisitor(key, node, visitor, path44);
97405
+ function visit_(key, node, visitor, path45) {
97406
+ const ctrl = callVisitor(key, node, visitor, path45);
97407
97407
  if (identity2.isNode(ctrl) || identity2.isPair(ctrl)) {
97408
- replaceNode(key, path44, ctrl);
97409
- return visit_(key, ctrl, visitor, path44);
97408
+ replaceNode(key, path45, ctrl);
97409
+ return visit_(key, ctrl, visitor, path45);
97410
97410
  }
97411
97411
  if (typeof ctrl !== "symbol") {
97412
97412
  if (identity2.isCollection(node)) {
97413
- path44 = Object.freeze(path44.concat(node));
97413
+ path45 = Object.freeze(path45.concat(node));
97414
97414
  for (let i = 0; i < node.items.length; ++i) {
97415
- const ci = visit_(i, node.items[i], visitor, path44);
97415
+ const ci = visit_(i, node.items[i], visitor, path45);
97416
97416
  if (typeof ci === "number")
97417
97417
  i = ci - 1;
97418
97418
  else if (ci === BREAK)
@@ -97423,13 +97423,13 @@ var require_visit = __commonJS({
97423
97423
  }
97424
97424
  }
97425
97425
  } else if (identity2.isPair(node)) {
97426
- path44 = Object.freeze(path44.concat(node));
97427
- const ck = visit_("key", node.key, visitor, path44);
97426
+ path45 = Object.freeze(path45.concat(node));
97427
+ const ck = visit_("key", node.key, visitor, path45);
97428
97428
  if (ck === BREAK)
97429
97429
  return BREAK;
97430
97430
  else if (ck === REMOVE)
97431
97431
  node.key = null;
97432
- const cv = visit_("value", node.value, visitor, path44);
97432
+ const cv = visit_("value", node.value, visitor, path45);
97433
97433
  if (cv === BREAK)
97434
97434
  return BREAK;
97435
97435
  else if (cv === REMOVE)
@@ -97450,17 +97450,17 @@ var require_visit = __commonJS({
97450
97450
  visitAsync.BREAK = BREAK;
97451
97451
  visitAsync.SKIP = SKIP;
97452
97452
  visitAsync.REMOVE = REMOVE;
97453
- async function visitAsync_(key, node, visitor, path44) {
97454
- const ctrl = await callVisitor(key, node, visitor, path44);
97453
+ async function visitAsync_(key, node, visitor, path45) {
97454
+ const ctrl = await callVisitor(key, node, visitor, path45);
97455
97455
  if (identity2.isNode(ctrl) || identity2.isPair(ctrl)) {
97456
- replaceNode(key, path44, ctrl);
97457
- return visitAsync_(key, ctrl, visitor, path44);
97456
+ replaceNode(key, path45, ctrl);
97457
+ return visitAsync_(key, ctrl, visitor, path45);
97458
97458
  }
97459
97459
  if (typeof ctrl !== "symbol") {
97460
97460
  if (identity2.isCollection(node)) {
97461
- path44 = Object.freeze(path44.concat(node));
97461
+ path45 = Object.freeze(path45.concat(node));
97462
97462
  for (let i = 0; i < node.items.length; ++i) {
97463
- const ci = await visitAsync_(i, node.items[i], visitor, path44);
97463
+ const ci = await visitAsync_(i, node.items[i], visitor, path45);
97464
97464
  if (typeof ci === "number")
97465
97465
  i = ci - 1;
97466
97466
  else if (ci === BREAK)
@@ -97471,13 +97471,13 @@ var require_visit = __commonJS({
97471
97471
  }
97472
97472
  }
97473
97473
  } else if (identity2.isPair(node)) {
97474
- path44 = Object.freeze(path44.concat(node));
97475
- const ck = await visitAsync_("key", node.key, visitor, path44);
97474
+ path45 = Object.freeze(path45.concat(node));
97475
+ const ck = await visitAsync_("key", node.key, visitor, path45);
97476
97476
  if (ck === BREAK)
97477
97477
  return BREAK;
97478
97478
  else if (ck === REMOVE)
97479
97479
  node.key = null;
97480
- const cv = await visitAsync_("value", node.value, visitor, path44);
97480
+ const cv = await visitAsync_("value", node.value, visitor, path45);
97481
97481
  if (cv === BREAK)
97482
97482
  return BREAK;
97483
97483
  else if (cv === REMOVE)
@@ -97504,23 +97504,23 @@ var require_visit = __commonJS({
97504
97504
  }
97505
97505
  return visitor;
97506
97506
  }
97507
- function callVisitor(key, node, visitor, path44) {
97507
+ function callVisitor(key, node, visitor, path45) {
97508
97508
  if (typeof visitor === "function")
97509
- return visitor(key, node, path44);
97509
+ return visitor(key, node, path45);
97510
97510
  if (identity2.isMap(node))
97511
- return visitor.Map?.(key, node, path44);
97511
+ return visitor.Map?.(key, node, path45);
97512
97512
  if (identity2.isSeq(node))
97513
- return visitor.Seq?.(key, node, path44);
97513
+ return visitor.Seq?.(key, node, path45);
97514
97514
  if (identity2.isPair(node))
97515
- return visitor.Pair?.(key, node, path44);
97515
+ return visitor.Pair?.(key, node, path45);
97516
97516
  if (identity2.isScalar(node))
97517
- return visitor.Scalar?.(key, node, path44);
97517
+ return visitor.Scalar?.(key, node, path45);
97518
97518
  if (identity2.isAlias(node))
97519
- return visitor.Alias?.(key, node, path44);
97519
+ return visitor.Alias?.(key, node, path45);
97520
97520
  return void 0;
97521
97521
  }
97522
- function replaceNode(key, path44, node) {
97523
- const parent = path44[path44.length - 1];
97522
+ function replaceNode(key, path45, node) {
97523
+ const parent = path45[path45.length - 1];
97524
97524
  if (identity2.isCollection(parent)) {
97525
97525
  parent.items[key] = node;
97526
97526
  } else if (identity2.isPair(parent)) {
@@ -98139,10 +98139,10 @@ var require_Collection = __commonJS({
98139
98139
  var createNode = require_createNode();
98140
98140
  var identity2 = require_identity();
98141
98141
  var Node = require_Node();
98142
- function collectionFromPath(schema, path44, value) {
98142
+ function collectionFromPath(schema, path45, value) {
98143
98143
  let v = value;
98144
- for (let i = path44.length - 1; i >= 0; --i) {
98145
- const k = path44[i];
98144
+ for (let i = path45.length - 1; i >= 0; --i) {
98145
+ const k = path45[i];
98146
98146
  if (typeof k === "number" && Number.isInteger(k) && k >= 0) {
98147
98147
  const a = [];
98148
98148
  a[k] = v;
@@ -98161,7 +98161,7 @@ var require_Collection = __commonJS({
98161
98161
  sourceObjects: /* @__PURE__ */ new Map()
98162
98162
  });
98163
98163
  }
98164
- var isEmptyPath = (path44) => path44 == null || typeof path44 === "object" && !!path44[Symbol.iterator]().next().done;
98164
+ var isEmptyPath = (path45) => path45 == null || typeof path45 === "object" && !!path45[Symbol.iterator]().next().done;
98165
98165
  var Collection = class extends Node.NodeBase {
98166
98166
  constructor(type, schema) {
98167
98167
  super(type);
@@ -98191,11 +98191,11 @@ var require_Collection = __commonJS({
98191
98191
  * be a Pair instance or a `{ key, value }` object, which may not have a key
98192
98192
  * that already exists in the map.
98193
98193
  */
98194
- addIn(path44, value) {
98195
- if (isEmptyPath(path44))
98194
+ addIn(path45, value) {
98195
+ if (isEmptyPath(path45))
98196
98196
  this.add(value);
98197
98197
  else {
98198
- const [key, ...rest] = path44;
98198
+ const [key, ...rest] = path45;
98199
98199
  const node = this.get(key, true);
98200
98200
  if (identity2.isCollection(node))
98201
98201
  node.addIn(rest, value);
@@ -98209,8 +98209,8 @@ var require_Collection = __commonJS({
98209
98209
  * Removes a value from the collection.
98210
98210
  * @returns `true` if the item was found and removed.
98211
98211
  */
98212
- deleteIn(path44) {
98213
- const [key, ...rest] = path44;
98212
+ deleteIn(path45) {
98213
+ const [key, ...rest] = path45;
98214
98214
  if (rest.length === 0)
98215
98215
  return this.delete(key);
98216
98216
  const node = this.get(key, true);
@@ -98224,8 +98224,8 @@ var require_Collection = __commonJS({
98224
98224
  * scalar values from their surrounding node; to disable set `keepScalar` to
98225
98225
  * `true` (collections are always returned intact).
98226
98226
  */
98227
- getIn(path44, keepScalar) {
98228
- const [key, ...rest] = path44;
98227
+ getIn(path45, keepScalar) {
98228
+ const [key, ...rest] = path45;
98229
98229
  const node = this.get(key, true);
98230
98230
  if (rest.length === 0)
98231
98231
  return !keepScalar && identity2.isScalar(node) ? node.value : node;
@@ -98243,8 +98243,8 @@ var require_Collection = __commonJS({
98243
98243
  /**
98244
98244
  * Checks if the collection includes a value with the key `key`.
98245
98245
  */
98246
- hasIn(path44) {
98247
- const [key, ...rest] = path44;
98246
+ hasIn(path45) {
98247
+ const [key, ...rest] = path45;
98248
98248
  if (rest.length === 0)
98249
98249
  return this.has(key);
98250
98250
  const node = this.get(key, true);
@@ -98254,8 +98254,8 @@ var require_Collection = __commonJS({
98254
98254
  * Sets a value in this collection. For `!!set`, `value` needs to be a
98255
98255
  * boolean to add/remove the item from the set.
98256
98256
  */
98257
- setIn(path44, value) {
98258
- const [key, ...rest] = path44;
98257
+ setIn(path45, value) {
98258
+ const [key, ...rest] = path45;
98259
98259
  if (rest.length === 0) {
98260
98260
  this.set(key, value);
98261
98261
  } else {
@@ -100805,9 +100805,9 @@ var require_Document = __commonJS({
100805
100805
  this.contents.add(value);
100806
100806
  }
100807
100807
  /** Adds a value to the document. */
100808
- addIn(path44, value) {
100808
+ addIn(path45, value) {
100809
100809
  if (assertCollection(this.contents))
100810
- this.contents.addIn(path44, value);
100810
+ this.contents.addIn(path45, value);
100811
100811
  }
100812
100812
  /**
100813
100813
  * Create a new `Alias` node, ensuring that the target `node` has the required anchor.
@@ -100882,14 +100882,14 @@ var require_Document = __commonJS({
100882
100882
  * Removes a value from the document.
100883
100883
  * @returns `true` if the item was found and removed.
100884
100884
  */
100885
- deleteIn(path44) {
100886
- if (Collection.isEmptyPath(path44)) {
100885
+ deleteIn(path45) {
100886
+ if (Collection.isEmptyPath(path45)) {
100887
100887
  if (this.contents == null)
100888
100888
  return false;
100889
100889
  this.contents = null;
100890
100890
  return true;
100891
100891
  }
100892
- return assertCollection(this.contents) ? this.contents.deleteIn(path44) : false;
100892
+ return assertCollection(this.contents) ? this.contents.deleteIn(path45) : false;
100893
100893
  }
100894
100894
  /**
100895
100895
  * Returns item at `key`, or `undefined` if not found. By default unwraps
@@ -100904,10 +100904,10 @@ var require_Document = __commonJS({
100904
100904
  * scalar values from their surrounding node; to disable set `keepScalar` to
100905
100905
  * `true` (collections are always returned intact).
100906
100906
  */
100907
- getIn(path44, keepScalar) {
100908
- if (Collection.isEmptyPath(path44))
100907
+ getIn(path45, keepScalar) {
100908
+ if (Collection.isEmptyPath(path45))
100909
100909
  return !keepScalar && identity2.isScalar(this.contents) ? this.contents.value : this.contents;
100910
- return identity2.isCollection(this.contents) ? this.contents.getIn(path44, keepScalar) : void 0;
100910
+ return identity2.isCollection(this.contents) ? this.contents.getIn(path45, keepScalar) : void 0;
100911
100911
  }
100912
100912
  /**
100913
100913
  * Checks if the document includes a value with the key `key`.
@@ -100918,10 +100918,10 @@ var require_Document = __commonJS({
100918
100918
  /**
100919
100919
  * Checks if the document includes a value at `path`.
100920
100920
  */
100921
- hasIn(path44) {
100922
- if (Collection.isEmptyPath(path44))
100921
+ hasIn(path45) {
100922
+ if (Collection.isEmptyPath(path45))
100923
100923
  return this.contents !== void 0;
100924
- return identity2.isCollection(this.contents) ? this.contents.hasIn(path44) : false;
100924
+ return identity2.isCollection(this.contents) ? this.contents.hasIn(path45) : false;
100925
100925
  }
100926
100926
  /**
100927
100927
  * Sets a value in this document. For `!!set`, `value` needs to be a
@@ -100938,13 +100938,13 @@ var require_Document = __commonJS({
100938
100938
  * Sets a value in this document. For `!!set`, `value` needs to be a
100939
100939
  * boolean to add/remove the item from the set.
100940
100940
  */
100941
- setIn(path44, value) {
100942
- if (Collection.isEmptyPath(path44)) {
100941
+ setIn(path45, value) {
100942
+ if (Collection.isEmptyPath(path45)) {
100943
100943
  this.contents = value;
100944
100944
  } else if (this.contents == null) {
100945
- this.contents = Collection.collectionFromPath(this.schema, Array.from(path44), value);
100945
+ this.contents = Collection.collectionFromPath(this.schema, Array.from(path45), value);
100946
100946
  } else if (assertCollection(this.contents)) {
100947
- this.contents.setIn(path44, value);
100947
+ this.contents.setIn(path45, value);
100948
100948
  }
100949
100949
  }
100950
100950
  /**
@@ -102924,9 +102924,9 @@ var require_cst_visit = __commonJS({
102924
102924
  visit.BREAK = BREAK;
102925
102925
  visit.SKIP = SKIP;
102926
102926
  visit.REMOVE = REMOVE;
102927
- visit.itemAtPath = (cst, path44) => {
102927
+ visit.itemAtPath = (cst, path45) => {
102928
102928
  let item = cst;
102929
- for (const [field, index] of path44) {
102929
+ for (const [field, index] of path45) {
102930
102930
  const tok = item?.[field];
102931
102931
  if (tok && "items" in tok) {
102932
102932
  item = tok.items[index];
@@ -102935,23 +102935,23 @@ var require_cst_visit = __commonJS({
102935
102935
  }
102936
102936
  return item;
102937
102937
  };
102938
- visit.parentCollection = (cst, path44) => {
102939
- const parent = visit.itemAtPath(cst, path44.slice(0, -1));
102940
- const field = path44[path44.length - 1][0];
102938
+ visit.parentCollection = (cst, path45) => {
102939
+ const parent = visit.itemAtPath(cst, path45.slice(0, -1));
102940
+ const field = path45[path45.length - 1][0];
102941
102941
  const coll = parent?.[field];
102942
102942
  if (coll && "items" in coll)
102943
102943
  return coll;
102944
102944
  throw new Error("Parent collection not found");
102945
102945
  };
102946
- function _visit(path44, item, visitor) {
102947
- let ctrl = visitor(item, path44);
102946
+ function _visit(path45, item, visitor) {
102947
+ let ctrl = visitor(item, path45);
102948
102948
  if (typeof ctrl === "symbol")
102949
102949
  return ctrl;
102950
102950
  for (const field of ["key", "value"]) {
102951
102951
  const token = item[field];
102952
102952
  if (token && "items" in token) {
102953
102953
  for (let i = 0; i < token.items.length; ++i) {
102954
- const ci = _visit(Object.freeze(path44.concat([[field, i]])), token.items[i], visitor);
102954
+ const ci = _visit(Object.freeze(path45.concat([[field, i]])), token.items[i], visitor);
102955
102955
  if (typeof ci === "number")
102956
102956
  i = ci - 1;
102957
102957
  else if (ci === BREAK)
@@ -102962,10 +102962,10 @@ var require_cst_visit = __commonJS({
102962
102962
  }
102963
102963
  }
102964
102964
  if (typeof ctrl === "function" && field === "key")
102965
- ctrl = ctrl(item, path44);
102965
+ ctrl = ctrl(item, path45);
102966
102966
  }
102967
102967
  }
102968
- return typeof ctrl === "function" ? ctrl(item, path44) : ctrl;
102968
+ return typeof ctrl === "function" ? ctrl(item, path45) : ctrl;
102969
102969
  }
102970
102970
  exports2.visit = visit;
102971
102971
  }
@@ -104271,14 +104271,14 @@ var require_parser = __commonJS({
104271
104271
  case "scalar":
104272
104272
  case "single-quoted-scalar":
104273
104273
  case "double-quoted-scalar": {
104274
- const fs41 = this.flowScalar(this.type);
104274
+ const fs42 = this.flowScalar(this.type);
104275
104275
  if (atNextItem || it.value) {
104276
- map.items.push({ start, key: fs41, sep: [] });
104276
+ map.items.push({ start, key: fs42, sep: [] });
104277
104277
  this.onKeyLine = true;
104278
104278
  } else if (it.sep) {
104279
- this.stack.push(fs41);
104279
+ this.stack.push(fs42);
104280
104280
  } else {
104281
- Object.assign(it, { key: fs41, sep: [] });
104281
+ Object.assign(it, { key: fs42, sep: [] });
104282
104282
  this.onKeyLine = true;
104283
104283
  }
104284
104284
  return;
@@ -104406,13 +104406,13 @@ var require_parser = __commonJS({
104406
104406
  case "scalar":
104407
104407
  case "single-quoted-scalar":
104408
104408
  case "double-quoted-scalar": {
104409
- const fs41 = this.flowScalar(this.type);
104409
+ const fs42 = this.flowScalar(this.type);
104410
104410
  if (!it || it.value)
104411
- fc.items.push({ start: [], key: fs41, sep: [] });
104411
+ fc.items.push({ start: [], key: fs42, sep: [] });
104412
104412
  else if (it.sep)
104413
- this.stack.push(fs41);
104413
+ this.stack.push(fs42);
104414
104414
  else
104415
- Object.assign(it, { key: fs41, sep: [] });
104415
+ Object.assign(it, { key: fs42, sep: [] });
104416
104416
  return;
104417
104417
  }
104418
104418
  case "flow-map-end":
@@ -113119,7 +113119,7 @@ var require_FileConfigFactory = __commonJS({
113119
113119
  Object.defineProperty(exports2, "__esModule", { value: true });
113120
113120
  exports2.parseConfigFile = exports2.FileConfigFactory = void 0;
113121
113121
  var core_1 = (init_esm11(), __toCommonJS(esm_exports4));
113122
- var fs41 = require("fs");
113122
+ var fs42 = require("fs");
113123
113123
  var yaml = require_dist5();
113124
113124
  var utils_1 = require_utils5();
113125
113125
  var validateConfig = require_validator();
@@ -113136,7 +113136,7 @@ var require_FileConfigFactory = __commonJS({
113136
113136
  function parseConfigFile() {
113137
113137
  const supportedFileVersionPattern = /^1\.0$/;
113138
113138
  const configFile = (0, core_1.getStringFromEnv)("OTEL_CONFIG_FILE") || "";
113139
- const file = fs41.readFileSync(configFile, "utf8");
113139
+ const file = fs42.readFileSync(configFile, "utf8");
113140
113140
  const rawParsed = yaml.parse(file);
113141
113141
  const processed = substituteEnvVars(rawParsed);
113142
113142
  const fileFormat = processed?.file_format;
@@ -115305,9 +115305,9 @@ __export(getMachineId_linux_exports2, {
115305
115305
  });
115306
115306
  async function getMachineId8() {
115307
115307
  const paths = ["/etc/machine-id", "/var/lib/dbus/machine-id"];
115308
- for (const path44 of paths) {
115308
+ for (const path45 of paths) {
115309
115309
  try {
115310
- const result = await import_fs4.promises.readFile(path44, { encoding: "utf8" });
115310
+ const result = await import_fs4.promises.readFile(path45, { encoding: "utf8" });
115311
115311
  return result.trim();
115312
115312
  } catch (e) {
115313
115313
  diag2.debug(`error reading machine id: ${e}`);
@@ -120476,31 +120476,31 @@ function getClient2(endpoint, credentialsOrPipelineOptions, clientOptions = {})
120476
120476
  ...clientOptions,
120477
120477
  pipeline: pipeline3
120478
120478
  });
120479
- const client = (path44, ...args) => {
120479
+ const client = (path45, ...args) => {
120480
120480
  return {
120481
120481
  get: (requestOptions = {}) => {
120482
- return tspClient.path(path44, ...args).get(wrapRequestParameters(requestOptions));
120482
+ return tspClient.path(path45, ...args).get(wrapRequestParameters(requestOptions));
120483
120483
  },
120484
120484
  post: (requestOptions = {}) => {
120485
- return tspClient.path(path44, ...args).post(wrapRequestParameters(requestOptions));
120485
+ return tspClient.path(path45, ...args).post(wrapRequestParameters(requestOptions));
120486
120486
  },
120487
120487
  put: (requestOptions = {}) => {
120488
- return tspClient.path(path44, ...args).put(wrapRequestParameters(requestOptions));
120488
+ return tspClient.path(path45, ...args).put(wrapRequestParameters(requestOptions));
120489
120489
  },
120490
120490
  patch: (requestOptions = {}) => {
120491
- return tspClient.path(path44, ...args).patch(wrapRequestParameters(requestOptions));
120491
+ return tspClient.path(path45, ...args).patch(wrapRequestParameters(requestOptions));
120492
120492
  },
120493
120493
  delete: (requestOptions = {}) => {
120494
- return tspClient.path(path44, ...args).delete(wrapRequestParameters(requestOptions));
120494
+ return tspClient.path(path45, ...args).delete(wrapRequestParameters(requestOptions));
120495
120495
  },
120496
120496
  head: (requestOptions = {}) => {
120497
- return tspClient.path(path44, ...args).head(wrapRequestParameters(requestOptions));
120497
+ return tspClient.path(path45, ...args).head(wrapRequestParameters(requestOptions));
120498
120498
  },
120499
120499
  options: (requestOptions = {}) => {
120500
- return tspClient.path(path44, ...args).options(wrapRequestParameters(requestOptions));
120500
+ return tspClient.path(path45, ...args).options(wrapRequestParameters(requestOptions));
120501
120501
  },
120502
120502
  trace: (requestOptions = {}) => {
120503
- return tspClient.path(path44, ...args).trace(wrapRequestParameters(requestOptions));
120503
+ return tspClient.path(path45, ...args).trace(wrapRequestParameters(requestOptions));
120504
120504
  }
120505
120505
  };
120506
120506
  };
@@ -123439,7 +123439,7 @@ var require_import_in_the_middle2 = __commonJS({
123439
123439
  "../../node_modules/.pnpm/import-in-the-middle@2.0.6/node_modules/import-in-the-middle/index.js"(exports2, module2) {
123440
123440
  "use strict";
123441
123441
  init_cjs_shims();
123442
- var path44 = require("path");
123442
+ var path45 = require("path");
123443
123443
  var moduleDetailsFromPath = require_module_details_from_path();
123444
123444
  var { fileURLToPath: fileURLToPath2 } = require("url");
123445
123445
  var { MessageChannel } = require("worker_threads");
@@ -123552,7 +123552,7 @@ var require_import_in_the_middle2 = __commonJS({
123552
123552
  } else if (baseDir.endsWith(specifiers.get(loadUrl))) {
123553
123553
  callHookFn(hookFn, namespace, name2, baseDir);
123554
123554
  } else if (internals) {
123555
- const internalPath = name2 + path44.sep + path44.relative(baseDir, filePath);
123555
+ const internalPath = name2 + path45.sep + path45.relative(baseDir, filePath);
123556
123556
  callHookFn(hookFn, namespace, internalPath, baseDir);
123557
123557
  }
123558
123558
  } else if (matchArg === specifier) {
@@ -123836,26 +123836,26 @@ var require_utils6 = __commonJS({
123836
123836
  const reqUrlObject = requestUrl || {};
123837
123837
  const protocol = reqUrlObject.protocol || fallbackProtocol;
123838
123838
  const port = (reqUrlObject.port || "").toString();
123839
- let path44 = reqUrlObject.path || "/";
123839
+ let path45 = reqUrlObject.path || "/";
123840
123840
  let host = reqUrlObject.host || reqUrlObject.hostname || headers.host || "localhost";
123841
123841
  if (host.indexOf(":") === -1 && port && port !== "80" && port !== "443") {
123842
123842
  host += `:${port}`;
123843
123843
  }
123844
- if (path44.includes("?")) {
123844
+ if (path45.includes("?")) {
123845
123845
  try {
123846
- const parsedUrl = new URL(path44, "http://localhost");
123846
+ const parsedUrl = new URL(path45, "http://localhost");
123847
123847
  const sensitiveParamsToRedact = redactedQueryParams || [];
123848
123848
  for (const sensitiveParam of sensitiveParamsToRedact) {
123849
123849
  if (parsedUrl.searchParams.get(sensitiveParam)) {
123850
123850
  parsedUrl.searchParams.set(sensitiveParam, internal_types_2.STR_REDACTED);
123851
123851
  }
123852
123852
  }
123853
- path44 = `${parsedUrl.pathname}${parsedUrl.search}`;
123853
+ path45 = `${parsedUrl.pathname}${parsedUrl.search}`;
123854
123854
  } catch {
123855
123855
  }
123856
123856
  }
123857
123857
  const authPart = reqUrlObject.auth ? `${internal_types_2.STR_REDACTED}:${internal_types_2.STR_REDACTED}@` : "";
123858
- return `${protocol}//${authPart}${host}${path44}`;
123858
+ return `${protocol}//${authPart}${host}${path45}`;
123859
123859
  };
123860
123860
  exports2.getAbsoluteUrl = getAbsoluteUrl;
123861
123861
  var parseResponseStatus = (kind, statusCode) => {
@@ -126008,15 +126008,15 @@ var init_ModuleNameTrie2 = __esm({
126008
126008
 
126009
126009
  // ../../node_modules/.pnpm/@opentelemetry+instrumentation@0.217.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/instrumentation/build/esm/platform/node/RequireInTheMiddleSingleton.js
126010
126010
  function normalizePathSeparators3(moduleNameOrPath) {
126011
- return path42.sep !== ModuleNameSeparator3 ? moduleNameOrPath.split(path42.sep).join(ModuleNameSeparator3) : moduleNameOrPath;
126011
+ return path43.sep !== ModuleNameSeparator3 ? moduleNameOrPath.split(path43.sep).join(ModuleNameSeparator3) : moduleNameOrPath;
126012
126012
  }
126013
- var import_require_in_the_middle5, path42, isMocha3, RequireInTheMiddleSingleton3;
126013
+ var import_require_in_the_middle5, path43, isMocha3, RequireInTheMiddleSingleton3;
126014
126014
  var init_RequireInTheMiddleSingleton2 = __esm({
126015
126015
  "../../node_modules/.pnpm/@opentelemetry+instrumentation@0.217.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/instrumentation/build/esm/platform/node/RequireInTheMiddleSingleton.js"() {
126016
126016
  "use strict";
126017
126017
  init_cjs_shims();
126018
126018
  import_require_in_the_middle5 = __toESM(require_require_in_the_middle());
126019
- path42 = __toESM(require("path"));
126019
+ path43 = __toESM(require("path"));
126020
126020
  init_ModuleNameTrie2();
126021
126021
  isMocha3 = [
126022
126022
  "afterEach",
@@ -126131,12 +126131,12 @@ function isSupported3(supportedVersions, version3, includePrerelease) {
126131
126131
  return satisfies3(version3, supportedVersion, { includePrerelease });
126132
126132
  });
126133
126133
  }
126134
- var path43, import_util16, import_import_in_the_middle3, import_require_in_the_middle6, import_fs7, InstrumentationBase3;
126134
+ var path44, import_util16, import_import_in_the_middle3, import_require_in_the_middle6, import_fs7, InstrumentationBase3;
126135
126135
  var init_instrumentation4 = __esm({
126136
126136
  "../../node_modules/.pnpm/@opentelemetry+instrumentation@0.217.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js"() {
126137
126137
  "use strict";
126138
126138
  init_cjs_shims();
126139
- path43 = __toESM(require("path"));
126139
+ path44 = __toESM(require("path"));
126140
126140
  import_util16 = require("util");
126141
126141
  init_semver3();
126142
126142
  init_shimmer2();
@@ -126237,7 +126237,7 @@ var init_instrumentation4 = __esm({
126237
126237
  }
126238
126238
  _extractPackageVersion(baseDir) {
126239
126239
  try {
126240
- const json = (0, import_fs7.readFileSync)(path43.join(baseDir, "package.json"), {
126240
+ const json = (0, import_fs7.readFileSync)(path44.join(baseDir, "package.json"), {
126241
126241
  encoding: "utf8"
126242
126242
  });
126243
126243
  const version3 = JSON.parse(json).version;
@@ -126279,7 +126279,7 @@ var init_instrumentation4 = __esm({
126279
126279
  return exports2;
126280
126280
  }
126281
126281
  const files = module2.files ?? [];
126282
- const normalizedName = path43.normalize(name2);
126282
+ const normalizedName = path44.normalize(name2);
126283
126283
  const supportedFileInstrumentations = files.filter((f) => f.name === normalizedName && isSupported3(f.supportedVersions, version3, module2.includePrerelease));
126284
126284
  return supportedFileInstrumentations.reduce((patchedExports, file) => {
126285
126285
  file.moduleExports = patchedExports;
@@ -126325,8 +126325,8 @@ var init_instrumentation4 = __esm({
126325
126325
  this._warnOnPreloadedModules();
126326
126326
  for (const module2 of this._modules) {
126327
126327
  const hookFn = (exports2, name2, baseDir) => {
126328
- if (!baseDir && path43.isAbsolute(name2)) {
126329
- const parsedPath = path43.parse(name2);
126328
+ if (!baseDir && path44.isAbsolute(name2)) {
126329
+ const parsedPath = path44.parse(name2);
126330
126330
  name2 = parsedPath.name;
126331
126331
  baseDir = parsedPath.dir;
126332
126332
  }
@@ -126335,7 +126335,7 @@ var init_instrumentation4 = __esm({
126335
126335
  const onRequire = (exports2, name2, baseDir) => {
126336
126336
  return this._onRequire(module2, exports2, name2, baseDir);
126337
126337
  };
126338
- const hook = path43.isAbsolute(module2.name) ? new import_require_in_the_middle6.Hook([module2.name], { internals: true }, onRequire) : this._requireInTheMiddleSingleton.register(module2.name, onRequire);
126338
+ const hook = path44.isAbsolute(module2.name) ? new import_require_in_the_middle6.Hook([module2.name], { internals: true }, onRequire) : this._requireInTheMiddleSingleton.register(module2.name, onRequire);
126339
126339
  this._hooks.push(hook);
126340
126340
  const esmHook = new import_import_in_the_middle3.Hook([module2.name], { internals: true }, hookFn);
126341
126341
  this._hooks.push(esmHook);
@@ -129856,7 +129856,7 @@ var require_buffer_list = __commonJS({
129856
129856
  }
129857
129857
  }, {
129858
129858
  key: "join",
129859
- value: function join29(s) {
129859
+ value: function join30(s) {
129860
129860
  if (this.length === 0) return "";
129861
129861
  var p = this.head;
129862
129862
  var ret = "" + p.data;
@@ -137650,11 +137650,11 @@ function persistNodeStartupTransport(storagePath, transport) {
137650
137650
  transport
137651
137651
  });
137652
137652
  }
137653
- function persistNodeStartupJoin(storagePath, join29) {
137653
+ function persistNodeStartupJoin(storagePath, join30) {
137654
137654
  const startup = resolveNodeStartupMetadata(storagePath);
137655
137655
  persistNodeStartupMetadata(storagePath, {
137656
137656
  ...startup,
137657
- join: join29
137657
+ join: join30
137658
137658
  });
137659
137659
  }
137660
137660
  function resolvePersistedDevTunnelId(storagePath, kind) {
@@ -138682,19 +138682,19 @@ async function fetchWithTimeout(url3, init, timeoutMs = DEFAULT_NODE_REQUEST_TIM
138682
138682
  cleanup();
138683
138683
  }
138684
138684
  }
138685
- async function fetchNodeWithFallback(node, path44, init, timeoutMs = DEFAULT_NODE_REQUEST_TIMEOUT_MS, trace2, options) {
138685
+ async function fetchNodeWithFallback(node, path45, init, timeoutMs = DEFAULT_NODE_REQUEST_TIMEOUT_MS, trace2, options) {
138686
138686
  let lastError;
138687
138687
  const endpoints = getNodeRequestEndpoints(node, options);
138688
138688
  for (const [index, endpoint] of endpoints.entries()) {
138689
138689
  const attempt = index + 1;
138690
- trace2?.onAttempt?.({ attempt, endpoint, path: path44, timeoutMs, totalEndpoints: endpoints.length });
138690
+ trace2?.onAttempt?.({ attempt, endpoint, path: path45, timeoutMs, totalEndpoints: endpoints.length });
138691
138691
  try {
138692
- const response = await fetchWithTimeout(`${endpoint}${path44}`, init, timeoutMs);
138693
- trace2?.onResponse?.({ attempt, endpoint, path: path44, response, timeoutMs, totalEndpoints: endpoints.length });
138692
+ const response = await fetchWithTimeout(`${endpoint}${path45}`, init, timeoutMs);
138693
+ trace2?.onResponse?.({ attempt, endpoint, path: path45, response, timeoutMs, totalEndpoints: endpoints.length });
138694
138694
  return { endpoint, response };
138695
138695
  } catch (error2) {
138696
138696
  lastError = error2;
138697
- trace2?.onError?.({ attempt, endpoint, error: error2, path: path44, timeoutMs, totalEndpoints: endpoints.length });
138697
+ trace2?.onError?.({ attempt, endpoint, error: error2, path: path45, timeoutMs, totalEndpoints: endpoints.length });
138698
138698
  }
138699
138699
  }
138700
138700
  throw lastError instanceof Error ? lastError : new Error("No reachable node endpoint");
@@ -140938,9 +140938,9 @@ var DataRouter = class {
140938
140938
  /**
140939
140939
  * Returns true if the request should be proxied to the leader.
140940
140940
  */
140941
- shouldProxy(method, path44) {
140941
+ shouldProxy(method, path45) {
140942
140942
  if (this.election.isLeader()) return false;
140943
- if (this.isExcludedPath(path44)) return false;
140943
+ if (this.isExcludedPath(path45)) return false;
140944
140944
  if (method.toUpperCase() === "GET") return false;
140945
140945
  return WRITE_METHODS.has(method.toUpperCase());
140946
140946
  }
@@ -141044,8 +141044,8 @@ var DataRouter = class {
141044
141044
  };
141045
141045
  }
141046
141046
  // ── Helpers ───────────────────────────────────────────────────────────
141047
- isExcludedPath(path44) {
141048
- return EXCLUDED_PATH_PREFIXES.some((prefix) => path44.startsWith(prefix)) || EXCLUDED_PATH_SUFFIXES.some((suffix) => path44.endsWith(suffix));
141047
+ isExcludedPath(path45) {
141048
+ return EXCLUDED_PATH_PREFIXES.some((prefix) => path45.startsWith(prefix)) || EXCLUDED_PATH_SUFFIXES.some((suffix) => path45.endsWith(suffix));
141049
141049
  }
141050
141050
  };
141051
141051
 
@@ -146320,6 +146320,19 @@ var ConfigureNodeDevBoxBody = external_exports.object({
146320
146320
  devbox: NodeDevBoxInfoSchema
146321
146321
  });
146322
146322
 
146323
+ // ../../packages/api/src/schemas/system.ts
146324
+ init_cjs_shims();
146325
+ var QuickChatItem = external_exports.object({
146326
+ alias: external_exports.string().trim().min(1).max(65),
146327
+ prompt: external_exports.string().trim().min(1).max(12e3)
146328
+ });
146329
+ var QuickChatsResponse = external_exports.object({
146330
+ quickChats: external_exports.array(QuickChatItem)
146331
+ });
146332
+ var ReplaceQuickChatsBody = external_exports.object({
146333
+ quickChats: external_exports.array(QuickChatItem).max(100)
146334
+ });
146335
+
146323
146336
  // ../../packages/api/src/schemas/tasks.ts
146324
146337
  init_cjs_shims();
146325
146338
  var AGENT_OPTIONS = ["mars", "codex", "claudecode", "copilot", "eureka"];
@@ -146481,8 +146494,8 @@ var BatchTaskIdsBody = external_exports.object({
146481
146494
 
146482
146495
  // ../../packages/api/src/app/server.ts
146483
146496
  init_cjs_shims();
146484
- var path30 = __toESM(require("path"), 1);
146485
- var fs26 = __toESM(require("fs"), 1);
146497
+ var path31 = __toESM(require("path"), 1);
146498
+ var fs27 = __toESM(require("fs"), 1);
146486
146499
  var import_express17 = __toESM(require_express2(), 1);
146487
146500
 
146488
146501
  // ../../packages/api/src/middleware/auth.ts
@@ -146636,8 +146649,8 @@ function decodePathSegment(value) {
146636
146649
  return value;
146637
146650
  }
146638
146651
  }
146639
- function getSingleTaskDeleteId(path44) {
146640
- const match = /^\/api\/tasks\/([^/]+)$/.exec(path44);
146652
+ function getSingleTaskDeleteId(path45) {
146653
+ const match = /^\/api\/tasks\/([^/]+)$/.exec(path45);
146641
146654
  return match ? decodePathSegment(match[1]) : null;
146642
146655
  }
146643
146656
  function getSuccessfulBatchDeleteIds(body) {
@@ -146813,14 +146826,14 @@ function createRequestLoggingMiddleware(rootLogger, options = {}) {
146813
146826
  return;
146814
146827
  }
146815
146828
  const startedAt = process.hrtime.bigint();
146816
- const path44 = req.path;
146829
+ const path45 = req.path;
146817
146830
  let logged = false;
146818
146831
  const logCompletion = (closed) => {
146819
146832
  if (logged) return;
146820
146833
  logged = true;
146821
146834
  log2.info("request completed", {
146822
146835
  method: req.method,
146823
- path: path44,
146836
+ path: path45,
146824
146837
  statusCode: res.statusCode,
146825
146838
  durationMs: durationMs(startedAt),
146826
146839
  closed,
@@ -146898,14 +146911,14 @@ function createRequestTelemetryMiddleware(telemetry, options = {}) {
146898
146911
  return;
146899
146912
  }
146900
146913
  const startedAt = process.hrtime.bigint();
146901
- const path44 = req.path;
146914
+ const path45 = req.path;
146902
146915
  let tracked = false;
146903
146916
  const trackCompletion = (closed) => {
146904
146917
  if (tracked) return;
146905
146918
  tracked = true;
146906
146919
  try {
146907
146920
  const duration3 = durationMs2(startedAt);
146908
- const route = resolveTelemetryRoute(path44);
146921
+ const route = resolveTelemetryRoute(path45);
146909
146922
  const dimensions = {
146910
146923
  method: req.method,
146911
146924
  routeGroup: route.routeGroup,
@@ -154154,9 +154167,90 @@ function normalizeNodeMessageResponse(value) {
154154
154167
  // ../../packages/api/src/routes/system.ts
154155
154168
  init_cjs_shims();
154156
154169
  var import_express13 = __toESM(require_express2(), 1);
154170
+
154171
+ // ../../packages/api/src/node/quick-chat-store.ts
154172
+ init_cjs_shims();
154173
+ var fs26 = __toESM(require("fs"), 1);
154174
+ var path30 = __toESM(require("path"), 1);
154175
+ var QUICK_CHATS_FILE = "quick-chats.json";
154176
+ var QUICK_CHAT_ALIAS_PATTERN = /^[a-z0-9][a-z0-9_-]{0,63}$/;
154177
+ function normalizeQuickChatAlias(value) {
154178
+ return value.trim().replace(/^\/+/, "").toLowerCase();
154179
+ }
154180
+ function normalizeQuickChat(value) {
154181
+ if (!value || typeof value !== "object") return null;
154182
+ const record2 = value;
154183
+ if (typeof record2.alias !== "string" || typeof record2.prompt !== "string") return null;
154184
+ const alias = normalizeQuickChatAlias(record2.alias);
154185
+ const prompt = record2.prompt.trim();
154186
+ if (!QUICK_CHAT_ALIAS_PATTERN.test(alias) || prompt.length === 0) return null;
154187
+ return { alias, prompt };
154188
+ }
154189
+ function normalizeQuickChats(values) {
154190
+ if (!Array.isArray(values)) return [];
154191
+ const byAlias = /* @__PURE__ */ new Map();
154192
+ for (const value of values) {
154193
+ const quickChat = normalizeQuickChat(value);
154194
+ if (quickChat) byAlias.set(quickChat.alias, quickChat);
154195
+ }
154196
+ return Array.from(byAlias.values());
154197
+ }
154198
+ function cloneQuickChats(quickChats) {
154199
+ return quickChats.map((quickChat) => ({ ...quickChat }));
154200
+ }
154201
+ var FileQuickChatStore = class {
154202
+ constructor(storagePath) {
154203
+ this.storagePath = storagePath;
154204
+ this.quickChats = this.load();
154205
+ }
154206
+ quickChats;
154207
+ list() {
154208
+ return cloneQuickChats(this.quickChats);
154209
+ }
154210
+ replace(quickChats) {
154211
+ this.quickChats = normalizeQuickChats(quickChats);
154212
+ fs26.mkdirSync(this.storagePath, { recursive: true });
154213
+ fs26.writeFileSync(this.filePath, JSON.stringify({ quickChats: this.quickChats }, null, 2) + "\n", "utf8");
154214
+ return this.list();
154215
+ }
154216
+ load() {
154217
+ try {
154218
+ const parsed = JSON.parse(fs26.readFileSync(this.filePath, "utf8"));
154219
+ return normalizeQuickChats(parsed.quickChats);
154220
+ } catch {
154221
+ return [];
154222
+ }
154223
+ }
154224
+ get filePath() {
154225
+ return path30.join(this.storagePath, QUICK_CHATS_FILE);
154226
+ }
154227
+ };
154228
+ function createQuickChatStore(storagePath) {
154229
+ return new FileQuickChatStore(storagePath);
154230
+ }
154231
+
154232
+ // ../../packages/api/src/routes/system.ts
154157
154233
  function asyncHandler11(fn) {
154158
154234
  return (req, res, next) => fn(req, res, next).catch(next);
154159
154235
  }
154236
+ function getQuickChatStore(deps) {
154237
+ if (deps.quickChatStore) return deps.quickChatStore;
154238
+ if (deps.storagePath) return createQuickChatStore(deps.storagePath);
154239
+ throw new MeshyError("VALIDATION_ERROR", "Quick chats are not available for this node", 501);
154240
+ }
154241
+ function validateQuickChatAliases(quickChats) {
154242
+ const seen = /* @__PURE__ */ new Set();
154243
+ for (const quickChat of quickChats) {
154244
+ const alias = normalizeQuickChatAlias(quickChat.alias);
154245
+ if (!QUICK_CHAT_ALIAS_PATTERN.test(alias)) {
154246
+ throw new MeshyError("VALIDATION_ERROR", `Invalid quick chat alias: ${quickChat.alias}`, 400);
154247
+ }
154248
+ if (seen.has(alias)) {
154249
+ throw new MeshyError("VALIDATION_ERROR", `Duplicate quick chat alias: ${alias}`, 400);
154250
+ }
154251
+ seen.add(alias);
154252
+ }
154253
+ }
154160
154254
  function createSystemRoutes() {
154161
154255
  const router = (0, import_express13.Router)();
154162
154256
  router.get("/health", asyncHandler11(async (req, res) => {
@@ -154281,6 +154375,16 @@ function createSystemRoutes() {
154281
154375
  const metrics2 = taskEngine.getMetrics();
154282
154376
  res.json(metrics2);
154283
154377
  }));
154378
+ router.get("/quick-chats", asyncHandler11(async (req, res) => {
154379
+ const store = getQuickChatStore(req.app.locals.deps);
154380
+ res.json({ quickChats: store.list() });
154381
+ }));
154382
+ router.put("/quick-chats", asyncHandler11(async (req, res) => {
154383
+ const body = ReplaceQuickChatsBody.parse(req.body);
154384
+ validateQuickChatAliases(body.quickChats);
154385
+ const store = getQuickChatStore(req.app.locals.deps);
154386
+ res.json({ quickChats: store.replace(body.quickChats) });
154387
+ }));
154284
154388
  return router;
154285
154389
  }
154286
154390
 
@@ -154584,8 +154688,8 @@ function hasAuthorizationHeader(req) {
154584
154688
  function resolveRuntimeBaseDir() {
154585
154689
  const entryPath = process.argv[1];
154586
154690
  if (typeof entryPath === "string" && entryPath.length > 0) {
154587
- const resolved = fs26.realpathSync(path30.resolve(entryPath));
154588
- return path30.dirname(resolved);
154691
+ const resolved = fs27.realpathSync(path31.resolve(entryPath));
154692
+ return path31.dirname(resolved);
154589
154693
  }
154590
154694
  return process.cwd();
154591
154695
  }
@@ -154602,7 +154706,7 @@ function injectDashboardRuntimeConfig(html, req, deps) {
154602
154706
  }
154603
154707
  function serveDashboardIndex(indexPath, deps) {
154604
154708
  return (req, res, next) => {
154605
- fs26.readFile(indexPath, "utf8", (err, html) => {
154709
+ fs27.readFile(indexPath, "utf8", (err, html) => {
154606
154710
  if (err) {
154607
154711
  next(err);
154608
154712
  return;
@@ -154618,18 +154722,18 @@ function resolveStaticDir(baseDir) {
154618
154722
  const envStaticDir = process.env.MESHY_STATIC_DIR;
154619
154723
  const candidateDirs = [
154620
154724
  envStaticDir,
154621
- path30.resolve(baseDir, "dashboard"),
154622
- path30.resolve(baseDir, "../dashboard"),
154623
- path30.resolve(baseDir, "../../dashboard/dist"),
154624
- path30.resolve(baseDir, "../../../packages/dashboard/dist"),
154625
- path30.resolve(baseDir, "../public"),
154626
- path30.resolve(baseDir, "../../packages/api/public"),
154627
- path30.resolve(baseDir, "../../../packages/api/public"),
154628
- path30.resolve(process.cwd(), "packages/dashboard/dist"),
154629
- path30.resolve(process.cwd(), "packages/api/public")
154725
+ path31.resolve(baseDir, "dashboard"),
154726
+ path31.resolve(baseDir, "../dashboard"),
154727
+ path31.resolve(baseDir, "../../dashboard/dist"),
154728
+ path31.resolve(baseDir, "../../../packages/dashboard/dist"),
154729
+ path31.resolve(baseDir, "../public"),
154730
+ path31.resolve(baseDir, "../../packages/api/public"),
154731
+ path31.resolve(baseDir, "../../../packages/api/public"),
154732
+ path31.resolve(process.cwd(), "packages/dashboard/dist"),
154733
+ path31.resolve(process.cwd(), "packages/api/public")
154630
154734
  ].filter((value) => typeof value === "string" && value.length > 0);
154631
154735
  for (const candidate of candidateDirs) {
154632
- if (fs26.existsSync(candidate)) {
154736
+ if (fs27.existsSync(candidate)) {
154633
154737
  return candidate;
154634
154738
  }
154635
154739
  }
@@ -154665,13 +154769,14 @@ function createServer2(deps) {
154665
154769
  };
154666
154770
  const isApiRequest = (req) => req.path === "/api" || req.path.startsWith("/api/");
154667
154771
  const isPreviewRequest = (req) => req.path.startsWith("/preview/") || req.path.startsWith("/preview-open/");
154772
+ const isNodeHeartbeatRequest = (req) => req.path === "/api/worker/heartbeat" || req.path === "/api/worker/keepalive" || req.path === "/api/cluster-control/heartbeat" || req.path === "/api/cluster-control/keepalive";
154668
154773
  const canServeDashboard = (req) => !deps.config.validateBearerToken || isTrustedDashboardRequest(req, authConfig);
154669
154774
  const canServePreview = (req) => canServeDashboard(req) || hasAuthorizationHeader(req);
154670
154775
  app.use(createRequestLoggingMiddleware(deps.logger, {
154671
154776
  shouldLog: (req) => isApiRequest(req) || isPreviewRequest(req)
154672
154777
  }));
154673
154778
  app.use(createRequestTelemetryMiddleware(deps.telemetry ?? createNoopTelemetry(), {
154674
- shouldTrack: (req) => isApiRequest(req) || isPreviewRequest(req)
154779
+ shouldTrack: (req) => !isNodeHeartbeatRequest(req) && (isApiRequest(req) || isPreviewRequest(req))
154675
154780
  }));
154676
154781
  app.use((req, res, next) => {
154677
154782
  if (!isApiRequest(req) && !isPreviewRequest(req)) {
@@ -154700,8 +154805,8 @@ function createServer2(deps) {
154700
154805
  const staticDir = resolveStaticDir(runtimeBaseDir);
154701
154806
  if (staticDir) {
154702
154807
  const staticMiddleware = import_express17.default.static(staticDir);
154703
- const indexPath = path30.join(staticDir, "index.html");
154704
- const serveIndex = fs26.existsSync(indexPath) ? serveDashboardIndex(indexPath, deps) : null;
154808
+ const indexPath = path31.join(staticDir, "index.html");
154809
+ const serveIndex = fs27.existsSync(indexPath) ? serveDashboardIndex(indexPath, deps) : null;
154705
154810
  app.use((req, res, next) => {
154706
154811
  if (isApiRequest(req) || isPreviewRequest(req)) {
154707
154812
  next();
@@ -154764,8 +154869,8 @@ function createServer2(deps) {
154764
154869
  app.use("/api/telemetry", createTelemetryRoutes());
154765
154870
  app.use("/api/events", createEventRoutes());
154766
154871
  if (staticDir) {
154767
- const indexPath = path30.join(staticDir, "index.html");
154768
- if (fs26.existsSync(indexPath)) {
154872
+ const indexPath = path31.join(staticDir, "index.html");
154873
+ if (fs27.existsSync(indexPath)) {
154769
154874
  const serveIndex = serveDashboardIndex(indexPath, deps);
154770
154875
  app.get("*", (req, res, next) => {
154771
154876
  if (isApiRequest(req)) {
@@ -154940,8 +155045,8 @@ var DirectTransport = class {
154940
155045
  // ../../packages/transport/src/devtunnel.ts
154941
155046
  init_cjs_shims();
154942
155047
  var import_node_child_process11 = require("child_process");
154943
- var fs27 = __toESM(require("fs"), 1);
154944
- var path31 = __toESM(require("path"), 1);
155048
+ var fs28 = __toESM(require("fs"), 1);
155049
+ var path32 = __toESM(require("path"), 1);
154945
155050
  function hiddenPipeOptions() {
154946
155051
  return { stdio: "pipe", windowsHide: true };
154947
155052
  }
@@ -154953,8 +155058,8 @@ function hiddenTextOptions() {
154953
155058
  }
154954
155059
  var DEV_TUNNEL_COMMAND_ENV = "MESHY_DEVTUNNEL_PATH";
154955
155060
  function isInstalled(cmd) {
154956
- if (path31.isAbsolute(cmd)) {
154957
- return fs27.existsSync(cmd);
155061
+ if (path32.isAbsolute(cmd)) {
155062
+ return fs28.existsSync(cmd);
154958
155063
  }
154959
155064
  try {
154960
155065
  (0, import_node_child_process11.execFileSync)(process.platform === "win32" ? "where.exe" : "which", [cmd], hiddenPipeOptions());
@@ -154973,17 +155078,17 @@ function normalizeConfiguredCommand(value) {
154973
155078
  function windowsLocalAppDataRoots() {
154974
155079
  const roots = [
154975
155080
  process.env.LOCALAPPDATA,
154976
- process.env.USERPROFILE ? path31.join(process.env.USERPROFILE, "AppData", "Local") : void 0
155081
+ process.env.USERPROFILE ? path32.join(process.env.USERPROFILE, "AppData", "Local") : void 0
154977
155082
  ].filter((value) => Boolean(value));
154978
- return [...new Set(roots.map((root) => path31.resolve(root)))];
155083
+ return [...new Set(roots.map((root) => path32.resolve(root)))];
154979
155084
  }
154980
155085
  function findWindowsDevTunnelPackageExecutable() {
154981
155086
  const candidates = [];
154982
155087
  for (const localAppData of windowsLocalAppDataRoots()) {
154983
- const packageRoot = path31.join(localAppData, "Microsoft", "WinGet", "Packages");
155088
+ const packageRoot = path32.join(localAppData, "Microsoft", "WinGet", "Packages");
154984
155089
  let entries;
154985
155090
  try {
154986
- entries = fs27.readdirSync(packageRoot, { withFileTypes: true });
155091
+ entries = fs28.readdirSync(packageRoot, { withFileTypes: true });
154987
155092
  } catch {
154988
155093
  continue;
154989
155094
  }
@@ -154991,8 +155096,8 @@ function findWindowsDevTunnelPackageExecutable() {
154991
155096
  if (!entry.isDirectory() || !entry.name.toLowerCase().startsWith("microsoft.devtunnel_")) {
154992
155097
  continue;
154993
155098
  }
154994
- const executable = path31.join(packageRoot, entry.name, "devtunnel.exe");
154995
- if (fs27.existsSync(executable)) {
155099
+ const executable = path32.join(packageRoot, entry.name, "devtunnel.exe");
155100
+ if (fs28.existsSync(executable)) {
154996
155101
  candidates.push(executable);
154997
155102
  }
154998
155103
  }
@@ -155374,13 +155479,13 @@ var terminalWriter = {
155374
155479
  };
155375
155480
 
155376
155481
  // src/startup.ts
155377
- var fs29 = __toESM(require("fs"), 1);
155482
+ var fs30 = __toESM(require("fs"), 1);
155378
155483
  var readline2 = __toESM(require("readline/promises"), 1);
155379
155484
 
155380
155485
  // src/startup-tools/index.ts
155381
155486
  init_cjs_shims();
155382
- var fs28 = __toESM(require("fs"), 1);
155383
- var path32 = __toESM(require("path"), 1);
155487
+ var fs29 = __toESM(require("fs"), 1);
155488
+ var path33 = __toESM(require("path"), 1);
155384
155489
  var readline = __toESM(require("readline/promises"), 1);
155385
155490
  var import_node_child_process12 = require("child_process");
155386
155491
  var STARTUP_REQUIREMENTS = ["az", "devtunnel", "claude", "codex", "copilot"];
@@ -155428,19 +155533,19 @@ function createDefaultCommandRunner(platform6) {
155428
155533
  };
155429
155534
  }
155430
155535
  function getNodeMetadataPath2(storagePath) {
155431
- return path32.join(storagePath, "metadata.json");
155536
+ return path33.join(storagePath, "metadata.json");
155432
155537
  }
155433
155538
  function readStartupMetadataFile(storagePath) {
155434
155539
  try {
155435
- const raw = JSON.parse(fs28.readFileSync(getNodeMetadataPath2(storagePath), "utf-8"));
155540
+ const raw = JSON.parse(fs29.readFileSync(getNodeMetadataPath2(storagePath), "utf-8"));
155436
155541
  return typeof raw === "object" && raw !== null ? raw : {};
155437
155542
  } catch {
155438
155543
  return {};
155439
155544
  }
155440
155545
  }
155441
155546
  function writeStartupMetadataFile(storagePath, metadata) {
155442
- fs28.mkdirSync(storagePath, { recursive: true });
155443
- fs28.writeFileSync(getNodeMetadataPath2(storagePath), JSON.stringify(metadata, null, 2) + "\n", "utf-8");
155547
+ fs29.mkdirSync(storagePath, { recursive: true });
155548
+ fs29.writeFileSync(getNodeMetadataPath2(storagePath), JSON.stringify(metadata, null, 2) + "\n", "utf-8");
155444
155549
  }
155445
155550
  function formatLocalDate2(now) {
155446
155551
  const year = now.getFullYear();
@@ -155713,9 +155818,9 @@ function createRuntimeDefaultConfig(fileConfig, options = {}) {
155713
155818
  else if (isDevBoxEnvironment()) config2.node.devbox = { enabled: true };
155714
155819
  return config2;
155715
155820
  }
155716
- function loadConfigFile(path44) {
155821
+ function loadConfigFile(path45) {
155717
155822
  try {
155718
- const raw = fs29.readFileSync(path44, "utf-8");
155823
+ const raw = fs30.readFileSync(path45, "utf-8");
155719
155824
  return JSON.parse(raw);
155720
155825
  } catch {
155721
155826
  return {};
@@ -155895,26 +156000,26 @@ function formatLoadedStartMetadata(info, authEnabled) {
155895
156000
 
155896
156001
  // src/runtime-metadata.ts
155897
156002
  init_cjs_shims();
155898
- var fs30 = __toESM(require("fs"), 1);
155899
- var path33 = __toESM(require("path"), 1);
156003
+ var fs31 = __toESM(require("fs"), 1);
156004
+ var path34 = __toESM(require("path"), 1);
155900
156005
  var import_node_child_process13 = require("child_process");
155901
156006
  var runtimeDir = resolveRuntimeDir();
155902
156007
  var appRoot = resolveAppRoot(runtimeDir);
155903
- var repoRoot = path33.resolve(appRoot, "../..");
156008
+ var repoRoot = path34.resolve(appRoot, "../..");
155904
156009
  function resolveRuntimeDir() {
155905
156010
  const entryPath = process.argv[1];
155906
156011
  if (typeof entryPath === "string" && entryPath.length > 0) {
155907
156012
  try {
155908
- return path33.dirname(fs30.realpathSync(path33.resolve(entryPath)));
156013
+ return path34.dirname(fs31.realpathSync(path34.resolve(entryPath)));
155909
156014
  } catch {
155910
- return path33.dirname(path33.resolve(entryPath));
156015
+ return path34.dirname(path34.resolve(entryPath));
155911
156016
  }
155912
156017
  }
155913
156018
  return process.cwd();
155914
156019
  }
155915
156020
  function readJsonFile(filePath) {
155916
156021
  try {
155917
- return JSON.parse(fs30.readFileSync(filePath, "utf-8"));
156022
+ return JSON.parse(fs31.readFileSync(filePath, "utf-8"));
155918
156023
  } catch {
155919
156024
  return null;
155920
156025
  }
@@ -155924,9 +156029,9 @@ function readPackageManifest(filePath) {
155924
156029
  }
155925
156030
  function readEmbeddedRuntimeMetadata() {
155926
156031
  const candidates = [
155927
- path33.join(appRoot, "runtime-metadata.json"),
155928
- path33.join(runtimeDir, "runtime-metadata.json"),
155929
- path33.resolve(process.cwd(), "apps/node/dist/runtime-metadata.json")
156032
+ path34.join(appRoot, "runtime-metadata.json"),
156033
+ path34.join(runtimeDir, "runtime-metadata.json"),
156034
+ path34.resolve(process.cwd(), "apps/node/dist/runtime-metadata.json")
155930
156035
  ];
155931
156036
  for (const candidate of candidates) {
155932
156037
  const metadata = readJsonFile(candidate);
@@ -155939,23 +156044,23 @@ function readEmbeddedRuntimeMetadata() {
155939
156044
  function resolveAppRoot(baseDir) {
155940
156045
  const candidates = [
155941
156046
  baseDir,
155942
- path33.resolve(baseDir, ".."),
155943
- path33.resolve(process.cwd(), "apps/node/dist"),
155944
- path33.resolve(process.cwd(), "apps/node"),
156047
+ path34.resolve(baseDir, ".."),
156048
+ path34.resolve(process.cwd(), "apps/node/dist"),
156049
+ path34.resolve(process.cwd(), "apps/node"),
155945
156050
  process.cwd()
155946
156051
  ];
155947
156052
  for (const candidate of candidates) {
155948
- const manifest = readPackageManifest(path33.join(candidate, "package.json"));
156053
+ const manifest = readPackageManifest(path34.join(candidate, "package.json"));
155949
156054
  if (manifest?.name === "@meshy/node" || manifest?.name === "meshy-node") {
155950
156055
  return candidate;
155951
156056
  }
155952
156057
  }
155953
156058
  for (const candidate of candidates) {
155954
- if (fs30.existsSync(path33.join(candidate, "package.json"))) {
156059
+ if (fs31.existsSync(path34.join(candidate, "package.json"))) {
155955
156060
  return candidate;
155956
156061
  }
155957
156062
  }
155958
- return path33.resolve(baseDir, "..");
156063
+ return path34.resolve(baseDir, "..");
155959
156064
  }
155960
156065
  function toPackageInfo(filePath) {
155961
156066
  const manifest = readPackageManifest(filePath);
@@ -156015,8 +156120,8 @@ function buildRuntimeMetadata(storagePath) {
156015
156120
  components: startupRequirements.components
156016
156121
  };
156017
156122
  }
156018
- const appPackage = toPackageInfo(path33.join(appRoot, "package.json"));
156019
- const workspaceManifest = readPackageManifest(path33.join(repoRoot, "package.json"));
156123
+ const appPackage = toPackageInfo(path34.join(appRoot, "package.json"));
156124
+ const workspaceManifest = readPackageManifest(path34.join(repoRoot, "package.json"));
156020
156125
  return {
156021
156126
  packageName: appPackage?.name ?? "meshy",
156022
156127
  packageVersion: appPackage?.version ?? "0.1.0",
@@ -156024,11 +156129,11 @@ function buildRuntimeMetadata(storagePath) {
156024
156129
  startupRequirementsLastCheckedOn: startupRequirements.lastCheckedOn,
156025
156130
  components: startupRequirements.components,
156026
156131
  packages: {
156027
- workspace: toPackageInfo(path33.join(repoRoot, "package.json")),
156132
+ workspace: toPackageInfo(path34.join(repoRoot, "package.json")),
156028
156133
  node: appPackage,
156029
- core: toPackageInfo(path33.join(repoRoot, "packages/core/package.json")),
156030
- dashboard: toPackageInfo(path33.join(repoRoot, "packages/dashboard/package.json")),
156031
- api: toPackageInfo(path33.join(repoRoot, "packages/api/package.json"))
156134
+ core: toPackageInfo(path34.join(repoRoot, "packages/core/package.json")),
156135
+ dashboard: toPackageInfo(path34.join(repoRoot, "packages/dashboard/package.json")),
156136
+ api: toPackageInfo(path34.join(repoRoot, "packages/api/package.json"))
156032
156137
  },
156033
156138
  repository: {
156034
156139
  url: normalizeRepositoryUrl(readGitValue(["config", "--get", "remote.upstream.url"])) ?? normalizeRepositoryUrl(readGitValue(["config", "--get", "remote.origin.url"])) ?? readRepositoryUrlFromManifest(workspaceManifest),
@@ -156103,7 +156208,7 @@ function isDevTunnelOrigin(value) {
156103
156208
 
156104
156209
  // src/bootstrap/runtime-restart.ts
156105
156210
  init_cjs_shims();
156106
- var fs31 = __toESM(require("fs"), 1);
156211
+ var fs32 = __toESM(require("fs"), 1);
156107
156212
  var nodePath2 = __toESM(require("path"), 1);
156108
156213
  var import_node_child_process14 = require("child_process");
156109
156214
  var RUNTIME_UPDATE_CHECK_INTERVAL_MS = 6 * 60 * 60 * 1e3;
@@ -156345,8 +156450,8 @@ function createRuntimeRestartLaunchPlan(options) {
156345
156450
  };
156346
156451
  }
156347
156452
  function scheduleRuntimeRestart(plan, options = {}) {
156348
- fs31.mkdirSync(nodePath2.dirname(plan.logPath), { recursive: true });
156349
- const logFd = fs31.openSync(plan.logPath, "a");
156453
+ fs32.mkdirSync(nodePath2.dirname(plan.logPath), { recursive: true });
156454
+ const logFd = fs32.openSync(plan.logPath, "a");
156350
156455
  const spawnImpl = options.spawnImpl ?? import_node_child_process14.spawn;
156351
156456
  const env3 = {
156352
156457
  ...process.env,
@@ -156861,7 +156966,7 @@ init_cjs_shims();
156861
156966
 
156862
156967
  // ../../node_modules/.pnpm/@opentelemetry+resource-detector-azure@0.25.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resource-detector-azure/build/esm/detectors/AzureAksDetector.js
156863
156968
  init_cjs_shims();
156864
- var fs38 = __toESM(require("fs"));
156969
+ var fs39 = __toESM(require("fs"));
156865
156970
  init_esm8();
156866
156971
 
156867
156972
  // ../../node_modules/.pnpm/@opentelemetry+resource-detector-azure@0.25.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/resource-detector-azure/build/esm/semconv.js
@@ -156961,10 +157066,10 @@ var AzureAksDetector = class {
156961
157066
  }
156962
157067
  getAksMetadataFromFile() {
156963
157068
  try {
156964
- if (!fs38.existsSync(AKS_METADATA_FILE_PATH)) {
157069
+ if (!fs39.existsSync(AKS_METADATA_FILE_PATH)) {
156965
157070
  return void 0;
156966
157071
  }
156967
- const content = fs38.readFileSync(AKS_METADATA_FILE_PATH, "utf8");
157072
+ const content = fs39.readFileSync(AKS_METADATA_FILE_PATH, "utf8");
156968
157073
  const metadata = {};
156969
157074
  const lines = content.split("\n");
156970
157075
  for (const line of lines) {
@@ -160090,13 +160195,13 @@ function normalizeUnreserved(uri) {
160090
160195
  // ../../node_modules/.pnpm/@azure+monitor-opentelemetry@1.18.1/node_modules/@azure/monitor-opentelemetry/dist/esm/generated/api/operations.js
160091
160196
  init_esm33();
160092
160197
  function _publishSend(context4, ikey, options = { requestOptions: {} }) {
160093
- const path44 = expandUrlTemplate("/QuickPulseService.svc/post{?api%2Dversion,ikey}", {
160198
+ const path45 = expandUrlTemplate("/QuickPulseService.svc/post{?api%2Dversion,ikey}", {
160094
160199
  "api%2Dversion": context4.apiVersion ?? "2024-04-01-preview",
160095
160200
  ikey
160096
160201
  }, {
160097
160202
  allowReserved: options?.requestOptions?.skipUrlEncoding
160098
160203
  });
160099
- return context4.path(path44).post({
160204
+ return context4.path(path45).post({
160100
160205
  ...operationOptionsToRequestParameters2(options),
160101
160206
  contentType: "application/json",
160102
160207
  headers: {
@@ -160122,13 +160227,13 @@ async function publish(context4, ikey, options = { requestOptions: {} }) {
160122
160227
  return _publishDeserialize(result);
160123
160228
  }
160124
160229
  function _isSubscribedSend(context4, ikey, options = { requestOptions: {} }) {
160125
- const path44 = expandUrlTemplate("/QuickPulseService.svc/ping{?api%2Dversion,ikey}", {
160230
+ const path45 = expandUrlTemplate("/QuickPulseService.svc/ping{?api%2Dversion,ikey}", {
160126
160231
  "api%2Dversion": context4.apiVersion ?? "2024-04-01-preview",
160127
160232
  ikey
160128
160233
  }, {
160129
160234
  allowReserved: options?.requestOptions?.skipUrlEncoding
160130
160235
  });
160131
- return context4.path(path44).post({
160236
+ return context4.path(path45).post({
160132
160237
  ...operationOptionsToRequestParameters2(options),
160133
160238
  contentType: "application/json",
160134
160239
  headers: {
@@ -162199,7 +162304,7 @@ init_cjs_shims();
162199
162304
 
162200
162305
  // ../../node_modules/.pnpm/@opentelemetry+instrumentation@0.211.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js
162201
162306
  init_cjs_shims();
162202
- var path41 = __toESM(require("path"));
162307
+ var path42 = __toESM(require("path"));
162203
162308
  var import_util15 = require("util");
162204
162309
 
162205
162310
  // ../../node_modules/.pnpm/@opentelemetry+instrumentation@0.211.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/instrumentation/build/esm/semver.js
@@ -162789,7 +162894,7 @@ var InstrumentationAbstract2 = class {
162789
162894
  // ../../node_modules/.pnpm/@opentelemetry+instrumentation@0.211.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/instrumentation/build/esm/platform/node/RequireInTheMiddleSingleton.js
162790
162895
  init_cjs_shims();
162791
162896
  var import_require_in_the_middle3 = __toESM(require_require_in_the_middle());
162792
- var path40 = __toESM(require("path"));
162897
+ var path41 = __toESM(require("path"));
162793
162898
 
162794
162899
  // ../../node_modules/.pnpm/@opentelemetry+instrumentation@0.211.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/instrumentation/build/esm/platform/node/ModuleNameTrie.js
162795
162900
  init_cjs_shims();
@@ -162919,7 +163024,7 @@ var RequireInTheMiddleSingleton2 = class _RequireInTheMiddleSingleton {
162919
163024
  }
162920
163025
  };
162921
163026
  function normalizePathSeparators2(moduleNameOrPath) {
162922
- return path40.sep !== ModuleNameSeparator2 ? moduleNameOrPath.split(path40.sep).join(ModuleNameSeparator2) : moduleNameOrPath;
163027
+ return path41.sep !== ModuleNameSeparator2 ? moduleNameOrPath.split(path41.sep).join(ModuleNameSeparator2) : moduleNameOrPath;
162923
163028
  }
162924
163029
 
162925
163030
  // ../../node_modules/.pnpm/@opentelemetry+instrumentation@0.211.0_@opentelemetry+api@1.9.1/node_modules/@opentelemetry/instrumentation/build/esm/platform/node/instrumentation.js
@@ -163022,7 +163127,7 @@ var InstrumentationBase2 = class extends InstrumentationAbstract2 {
163022
163127
  }
163023
163128
  _extractPackageVersion(baseDir) {
163024
163129
  try {
163025
- const json = (0, import_fs6.readFileSync)(path41.join(baseDir, "package.json"), {
163130
+ const json = (0, import_fs6.readFileSync)(path42.join(baseDir, "package.json"), {
163026
163131
  encoding: "utf8"
163027
163132
  });
163028
163133
  const version3 = JSON.parse(json).version;
@@ -163064,7 +163169,7 @@ var InstrumentationBase2 = class extends InstrumentationAbstract2 {
163064
163169
  return exports2;
163065
163170
  }
163066
163171
  const files = module2.files ?? [];
163067
- const normalizedName = path41.normalize(name2);
163172
+ const normalizedName = path42.normalize(name2);
163068
163173
  const supportedFileInstrumentations = files.filter((f) => f.name === normalizedName && isSupported2(f.supportedVersions, version3, module2.includePrerelease));
163069
163174
  return supportedFileInstrumentations.reduce((patchedExports, file) => {
163070
163175
  file.moduleExports = patchedExports;
@@ -163110,8 +163215,8 @@ var InstrumentationBase2 = class extends InstrumentationAbstract2 {
163110
163215
  this._warnOnPreloadedModules();
163111
163216
  for (const module2 of this._modules) {
163112
163217
  const hookFn = (exports2, name2, baseDir) => {
163113
- if (!baseDir && path41.isAbsolute(name2)) {
163114
- const parsedPath = path41.parse(name2);
163218
+ if (!baseDir && path42.isAbsolute(name2)) {
163219
+ const parsedPath = path42.parse(name2);
163115
163220
  name2 = parsedPath.name;
163116
163221
  baseDir = parsedPath.dir;
163117
163222
  }
@@ -163120,7 +163225,7 @@ var InstrumentationBase2 = class extends InstrumentationAbstract2 {
163120
163225
  const onRequire = (exports2, name2, baseDir) => {
163121
163226
  return this._onRequire(module2, exports2, name2, baseDir);
163122
163227
  };
163123
- const hook = path41.isAbsolute(module2.name) ? new import_require_in_the_middle4.Hook([module2.name], { internals: true }, onRequire) : this._requireInTheMiddleSingleton.register(module2.name, onRequire);
163228
+ const hook = path42.isAbsolute(module2.name) ? new import_require_in_the_middle4.Hook([module2.name], { internals: true }, onRequire) : this._requireInTheMiddleSingleton.register(module2.name, onRequire);
163124
163229
  this._hooks.push(hook);
163125
163230
  const esmHook = new import_import_in_the_middle2.Hook([module2.name], { internals: false }, hookFn);
163126
163231
  this._hooks.push(esmHook);
@@ -164698,15 +164803,6 @@ function registerTelemetryEventBridge(options) {
164698
164803
  };
164699
164804
  options.eventBus.on("election.complete", electionComplete);
164700
164805
  disposers.push(() => options.eventBus.off("election.complete", electionComplete));
164701
- const clusterState = (data) => {
164702
- telemetry.trackEvent("cluster.state.changed", {
164703
- nodeId: data.leaderId,
164704
- term: data.term,
164705
- nodeCount: data.nodeCount
164706
- });
164707
- };
164708
- options.eventBus.on("cluster.state", clusterState);
164709
- disposers.push(() => options.eventBus.off("cluster.state", clusterState));
164710
164806
  const transportChanged = (data) => {
164711
164807
  telemetry.trackEvent("transport.changed", {
164712
164808
  nodeId: data.nodeId,
@@ -165555,7 +165651,8 @@ async function startNode(args) {
165555
165651
  ensureShareTunnel: () => tunnelManager.ensureShareTunnel(),
165556
165652
  runtimeMetadata,
165557
165653
  previewSessionManager,
165558
- previewProxyManager
165654
+ previewProxyManager,
165655
+ quickChatStore: createQuickChatStore(config2.storage.path)
165559
165656
  };
165560
165657
  meshyNode.getLogger().info("configured node auth mode", {
165561
165658
  authEnabled: authMetadata.enabled,