@takeshape/cli 11.92.0 → 11.94.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +249 -224
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -2296,12 +2296,12 @@ var require_identifier = __commonJS({
2296
2296
  nonASCIIidentifierStartChars = nonASCIIidentifierChars = null;
2297
2297
  var astralIdentifierStartCodes = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 229, 29, 3, 0, 496, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191];
2298
2298
  var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
2299
- function isInAstralSet(code2, set11) {
2299
+ function isInAstralSet(code2, set12) {
2300
2300
  let pos = 65536;
2301
- for (let i2 = 0, length = set11.length; i2 < length; i2 += 2) {
2302
- pos += set11[i2];
2301
+ for (let i2 = 0, length = set12.length; i2 < length; i2 += 2) {
2302
+ pos += set12[i2];
2303
2303
  if (pos > code2) return false;
2304
- pos += set11[i2 + 1];
2304
+ pos += set12[i2 + 1];
2305
2305
  if (pos >= code2) return true;
2306
2306
  }
2307
2307
  return false;
@@ -3356,18 +3356,18 @@ var require_semver = __commonJS({
3356
3356
  range = range.replace(safeRe[TILDETRIM], tildeTrimReplace);
3357
3357
  range = range.replace(safeRe[CARETTRIM], caretTrimReplace);
3358
3358
  var compRe = loose ? safeRe[COMPARATORLOOSE] : safeRe[COMPARATOR];
3359
- var set11 = range.split(" ").map(function(comp) {
3359
+ var set12 = range.split(" ").map(function(comp) {
3360
3360
  return parseComparator(comp, this.options);
3361
3361
  }, this).join(" ").split(/\s+/);
3362
3362
  if (this.options.loose) {
3363
- set11 = set11.filter(function(comp) {
3363
+ set12 = set12.filter(function(comp) {
3364
3364
  return !!comp.match(compRe);
3365
3365
  });
3366
3366
  }
3367
- set11 = set11.map(function(comp) {
3367
+ set12 = set12.map(function(comp) {
3368
3368
  return new Comparator(comp, this.options);
3369
3369
  }, this);
3370
- return set11;
3370
+ return set12;
3371
3371
  };
3372
3372
  Range.prototype.intersects = function(range, options2) {
3373
3373
  if (!(range instanceof Range)) {
@@ -3578,20 +3578,20 @@ var require_semver = __commonJS({
3578
3578
  }
3579
3579
  return false;
3580
3580
  };
3581
- function testSet(set11, version, options2) {
3582
- for (var i3 = 0; i3 < set11.length; i3++) {
3583
- if (!set11[i3].test(version)) {
3581
+ function testSet(set12, version, options2) {
3582
+ for (var i3 = 0; i3 < set12.length; i3++) {
3583
+ if (!set12[i3].test(version)) {
3584
3584
  return false;
3585
3585
  }
3586
3586
  }
3587
3587
  if (version.prerelease.length && !options2.includePrerelease) {
3588
- for (i3 = 0; i3 < set11.length; i3++) {
3589
- debug(set11[i3].semver);
3590
- if (set11[i3].semver === ANY) {
3588
+ for (i3 = 0; i3 < set12.length; i3++) {
3589
+ debug(set12[i3].semver);
3590
+ if (set12[i3].semver === ANY) {
3591
3591
  continue;
3592
3592
  }
3593
- if (set11[i3].semver.prerelease.length > 0) {
3594
- var allowed = set11[i3].semver;
3593
+ if (set12[i3].semver.prerelease.length > 0) {
3594
+ var allowed = set12[i3].semver;
3595
3595
  if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) {
3596
3596
  return true;
3597
3597
  }
@@ -6786,9 +6786,9 @@ var require_fixer = __commonJS({
6786
6786
  }
6787
6787
  function modifyPeople(data, fn) {
6788
6788
  if (data.author) data.author = fn(data.author);
6789
- ["maintainers", "contributors"].forEach(function(set11) {
6790
- if (!Array.isArray(data[set11])) return;
6791
- data[set11] = data[set11].map(fn);
6789
+ ["maintainers", "contributors"].forEach(function(set12) {
6790
+ if (!Array.isArray(data[set12])) return;
6791
+ data[set12] = data[set12].map(fn);
6792
6792
  });
6793
6793
  return data;
6794
6794
  }
@@ -8233,20 +8233,20 @@ var require_range = __commonJS({
8233
8233
  }
8234
8234
  return `${from} ${to}`.trim();
8235
8235
  };
8236
- var testSet = (set11, version, options2) => {
8237
- for (let i2 = 0; i2 < set11.length; i2++) {
8238
- if (!set11[i2].test(version)) {
8236
+ var testSet = (set12, version, options2) => {
8237
+ for (let i2 = 0; i2 < set12.length; i2++) {
8238
+ if (!set12[i2].test(version)) {
8239
8239
  return false;
8240
8240
  }
8241
8241
  }
8242
8242
  if (version.prerelease.length && !options2.includePrerelease) {
8243
- for (let i2 = 0; i2 < set11.length; i2++) {
8244
- debug(set11[i2].semver);
8245
- if (set11[i2].semver === Comparator.ANY) {
8243
+ for (let i2 = 0; i2 < set12.length; i2++) {
8244
+ debug(set12[i2].semver);
8245
+ if (set12[i2].semver === Comparator.ANY) {
8246
8246
  continue;
8247
8247
  }
8248
- if (set11[i2].semver.prerelease.length > 0) {
8249
- const allowed = set11[i2].semver;
8248
+ if (set12[i2].semver.prerelease.length > 0) {
8249
+ const allowed = set12[i2].semver;
8250
8250
  if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) {
8251
8251
  return true;
8252
8252
  }
@@ -8630,7 +8630,7 @@ var require_simplify = __commonJS({
8630
8630
  var satisfies = require_satisfies();
8631
8631
  var compare = require_compare();
8632
8632
  module2.exports = (versions, range, options2) => {
8633
- const set11 = [];
8633
+ const set12 = [];
8634
8634
  let first = null;
8635
8635
  let prev = null;
8636
8636
  const v = versions.sort((a3, b2) => compare(a3, b2, options2));
@@ -8643,17 +8643,17 @@ var require_simplify = __commonJS({
8643
8643
  }
8644
8644
  } else {
8645
8645
  if (prev) {
8646
- set11.push([first, prev]);
8646
+ set12.push([first, prev]);
8647
8647
  }
8648
8648
  prev = null;
8649
8649
  first = null;
8650
8650
  }
8651
8651
  }
8652
8652
  if (first) {
8653
- set11.push([first, null]);
8653
+ set12.push([first, null]);
8654
8654
  }
8655
8655
  const ranges = [];
8656
- for (const [min, max] of set11) {
8656
+ for (const [min, max] of set12) {
8657
8657
  if (min === max) {
8658
8658
  ranges.push(min);
8659
8659
  } else if (!max && min === v[0]) {
@@ -9707,10 +9707,10 @@ var require_lru_cache = __commonJS({
9707
9707
  return !isStale(this, hit);
9708
9708
  }
9709
9709
  get(key) {
9710
- return get14(this, key, true);
9710
+ return get15(this, key, true);
9711
9711
  }
9712
9712
  peek(key) {
9713
- return get14(this, key, false);
9713
+ return get15(this, key, false);
9714
9714
  }
9715
9715
  pop() {
9716
9716
  const node = this[LRU_LIST].tail;
@@ -9739,10 +9739,10 @@ var require_lru_cache = __commonJS({
9739
9739
  }
9740
9740
  }
9741
9741
  prune() {
9742
- this[CACHE2].forEach((value2, key) => get14(this, key, false));
9742
+ this[CACHE2].forEach((value2, key) => get15(this, key, false));
9743
9743
  }
9744
9744
  };
9745
- var get14 = (self2, key, doUse) => {
9745
+ var get15 = (self2, key, doUse) => {
9746
9746
  const node = self2[CACHE2].get(key);
9747
9747
  if (node) {
9748
9748
  const hit = node.value;
@@ -10333,9 +10333,9 @@ var require_fixer2 = __commonJS({
10333
10333
  }
10334
10334
  function modifyPeople(data, fn) {
10335
10335
  if (data.author) data.author = fn(data.author);
10336
- ["maintainers", "contributors"].forEach(function(set11) {
10337
- if (!Array.isArray(data[set11])) return;
10338
- data[set11] = data[set11].map(fn);
10336
+ ["maintainers", "contributors"].forEach(function(set12) {
10337
+ if (!Array.isArray(data[set12])) return;
10338
+ data[set12] = data[set12].map(fn);
10339
10339
  });
10340
10340
  return data;
10341
10341
  }
@@ -12945,18 +12945,18 @@ var require_semver4 = __commonJS({
12945
12945
  range = range.replace(safeRe[t2.CARETTRIM], caretTrimReplace);
12946
12946
  range = range.split(/\s+/).join(" ");
12947
12947
  var compRe = loose ? safeRe[t2.COMPARATORLOOSE] : safeRe[t2.COMPARATOR];
12948
- var set11 = range.split(" ").map(function(comp) {
12948
+ var set12 = range.split(" ").map(function(comp) {
12949
12949
  return parseComparator(comp, this.options);
12950
12950
  }, this).join(" ").split(/\s+/);
12951
12951
  if (this.options.loose) {
12952
- set11 = set11.filter(function(comp) {
12952
+ set12 = set12.filter(function(comp) {
12953
12953
  return !!comp.match(compRe);
12954
12954
  });
12955
12955
  }
12956
- set11 = set11.map(function(comp) {
12956
+ set12 = set12.map(function(comp) {
12957
12957
  return new Comparator(comp, this.options);
12958
12958
  }, this);
12959
- return set11;
12959
+ return set12;
12960
12960
  };
12961
12961
  Range.prototype.intersects = function(range, options2) {
12962
12962
  if (!(range instanceof Range)) {
@@ -13184,20 +13184,20 @@ var require_semver4 = __commonJS({
13184
13184
  }
13185
13185
  return false;
13186
13186
  };
13187
- function testSet(set11, version, options2) {
13188
- for (var i3 = 0; i3 < set11.length; i3++) {
13189
- if (!set11[i3].test(version)) {
13187
+ function testSet(set12, version, options2) {
13188
+ for (var i3 = 0; i3 < set12.length; i3++) {
13189
+ if (!set12[i3].test(version)) {
13190
13190
  return false;
13191
13191
  }
13192
13192
  }
13193
13193
  if (version.prerelease.length && !options2.includePrerelease) {
13194
- for (i3 = 0; i3 < set11.length; i3++) {
13195
- debug(set11[i3].semver);
13196
- if (set11[i3].semver === ANY) {
13194
+ for (i3 = 0; i3 < set12.length; i3++) {
13195
+ debug(set12[i3].semver);
13196
+ if (set12[i3].semver === ANY) {
13197
13197
  continue;
13198
13198
  }
13199
- if (set11[i3].semver.prerelease.length > 0) {
13200
- var allowed = set11[i3].semver;
13199
+ if (set12[i3].semver.prerelease.length > 0) {
13200
+ var allowed = set12[i3].semver;
13201
13201
  if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) {
13202
13202
  return true;
13203
13203
  }
@@ -26388,9 +26388,9 @@ var require_lodash = __commonJS({
26388
26388
  map.set(pair[0], pair[1]);
26389
26389
  return map;
26390
26390
  }
26391
- function addSetEntry(set11, value2) {
26392
- set11.add(value2);
26393
- return set11;
26391
+ function addSetEntry(set12, value2) {
26392
+ set12.add(value2);
26393
+ return set12;
26394
26394
  }
26395
26395
  function arrayEach(array, iteratee) {
26396
26396
  var index2 = -1, length = array ? array.length : 0;
@@ -26450,9 +26450,9 @@ var require_lodash = __commonJS({
26450
26450
  return func(transform(arg));
26451
26451
  };
26452
26452
  }
26453
- function setToArray(set11) {
26454
- var index2 = -1, result = Array(set11.size);
26455
- set11.forEach(function(value2) {
26453
+ function setToArray(set12) {
26454
+ var index2 = -1, result = Array(set12.size);
26455
+ set12.forEach(function(value2) {
26456
26456
  result[++index2] = value2;
26457
26457
  });
26458
26458
  return result;
@@ -26779,9 +26779,9 @@ var require_lodash = __commonJS({
26779
26779
  result.lastIndex = regexp.lastIndex;
26780
26780
  return result;
26781
26781
  }
26782
- function cloneSet(set11, isDeep, cloneFunc) {
26783
- var array = isDeep ? cloneFunc(setToArray(set11), true) : setToArray(set11);
26784
- return arrayReduce(array, addSetEntry, new set11.constructor());
26782
+ function cloneSet(set12, isDeep, cloneFunc) {
26783
+ var array = isDeep ? cloneFunc(setToArray(set12), true) : setToArray(set12);
26784
+ return arrayReduce(array, addSetEntry, new set12.constructor());
26785
26785
  }
26786
26786
  function cloneSymbol(symbol) {
26787
26787
  return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
@@ -27318,7 +27318,7 @@ var require_object_path = __commonJS({
27318
27318
  return obj2[prop];
27319
27319
  }
27320
27320
  }
27321
- function set11(obj2, path16, value2, doNotReplace) {
27321
+ function set12(obj2, path16, value2, doNotReplace) {
27322
27322
  if (typeof path16 === "number") {
27323
27323
  path16 = [path16];
27324
27324
  }
@@ -27326,7 +27326,7 @@ var require_object_path = __commonJS({
27326
27326
  return obj2;
27327
27327
  }
27328
27328
  if (typeof path16 === "string") {
27329
- return set11(obj2, path16.split(".").map(getKey), value2, doNotReplace);
27329
+ return set12(obj2, path16.split(".").map(getKey), value2, doNotReplace);
27330
27330
  }
27331
27331
  var currentPath = path16[0];
27332
27332
  var currentValue = getShallowProperty(obj2, currentPath);
@@ -27346,7 +27346,7 @@ var require_object_path = __commonJS({
27346
27346
  obj2[currentPath] = {};
27347
27347
  }
27348
27348
  }
27349
- return set11(obj2[currentPath], path16.slice(1), value2, doNotReplace);
27349
+ return set12(obj2[currentPath], path16.slice(1), value2, doNotReplace);
27350
27350
  }
27351
27351
  objectPath.has = function(obj2, path16) {
27352
27352
  if (typeof path16 === "number") {
@@ -27368,10 +27368,10 @@ var require_object_path = __commonJS({
27368
27368
  return true;
27369
27369
  };
27370
27370
  objectPath.ensureExists = function(obj2, path16, value2) {
27371
- return set11(obj2, path16, value2, true);
27371
+ return set12(obj2, path16, value2, true);
27372
27372
  };
27373
27373
  objectPath.set = function(obj2, path16, value2, doNotReplace) {
27374
- return set11(obj2, path16, value2, doNotReplace);
27374
+ return set12(obj2, path16, value2, doNotReplace);
27375
27375
  };
27376
27376
  objectPath.insert = function(obj2, path16, value2, at) {
27377
27377
  var arr = objectPath.get(obj2, path16);
@@ -33828,7 +33828,7 @@ var require_stream_writable = __commonJS({
33828
33828
  // because otherwise some prototype manipulation in
33829
33829
  // userland will fail
33830
33830
  enumerable: false,
33831
- get: function get14() {
33831
+ get: function get15() {
33832
33832
  return this._writableState && this._writableState.getBuffer();
33833
33833
  }
33834
33834
  });
@@ -33843,7 +33843,7 @@ var require_stream_writable = __commonJS({
33843
33843
  // because otherwise some prototype manipulation in
33844
33844
  // userland will fail
33845
33845
  enumerable: false,
33846
- get: function get14() {
33846
+ get: function get15() {
33847
33847
  return this._writableState.highWaterMark;
33848
33848
  }
33849
33849
  });
@@ -34013,7 +34013,7 @@ var require_stream_writable = __commonJS({
34013
34013
  // because otherwise some prototype manipulation in
34014
34014
  // userland will fail
34015
34015
  enumerable: false,
34016
- get: function get14() {
34016
+ get: function get15() {
34017
34017
  return this._writableState.length;
34018
34018
  }
34019
34019
  });
@@ -34086,13 +34086,13 @@ var require_stream_writable = __commonJS({
34086
34086
  // because otherwise some prototype manipulation in
34087
34087
  // userland will fail
34088
34088
  enumerable: false,
34089
- get: function get14() {
34089
+ get: function get15() {
34090
34090
  if (this._writableState === void 0) {
34091
34091
  return false;
34092
34092
  }
34093
34093
  return this._writableState.destroyed;
34094
34094
  },
34095
- set: function set11(value2) {
34095
+ set: function set12(value2) {
34096
34096
  if (!this._writableState) {
34097
34097
  return;
34098
34098
  }
@@ -34149,7 +34149,7 @@ var require_stream_duplex = __commonJS({
34149
34149
  // because otherwise some prototype manipulation in
34150
34150
  // userland will fail
34151
34151
  enumerable: false,
34152
- get: function get14() {
34152
+ get: function get15() {
34153
34153
  return this._writableState.highWaterMark;
34154
34154
  }
34155
34155
  });
@@ -34158,7 +34158,7 @@ var require_stream_duplex = __commonJS({
34158
34158
  // because otherwise some prototype manipulation in
34159
34159
  // userland will fail
34160
34160
  enumerable: false,
34161
- get: function get14() {
34161
+ get: function get15() {
34162
34162
  return this._writableState && this._writableState.getBuffer();
34163
34163
  }
34164
34164
  });
@@ -34167,7 +34167,7 @@ var require_stream_duplex = __commonJS({
34167
34167
  // because otherwise some prototype manipulation in
34168
34168
  // userland will fail
34169
34169
  enumerable: false,
34170
- get: function get14() {
34170
+ get: function get15() {
34171
34171
  return this._writableState.length;
34172
34172
  }
34173
34173
  });
@@ -34183,13 +34183,13 @@ var require_stream_duplex = __commonJS({
34183
34183
  // because otherwise some prototype manipulation in
34184
34184
  // userland will fail
34185
34185
  enumerable: false,
34186
- get: function get14() {
34186
+ get: function get15() {
34187
34187
  if (this._readableState === void 0 || this._writableState === void 0) {
34188
34188
  return false;
34189
34189
  }
34190
34190
  return this._readableState.destroyed && this._writableState.destroyed;
34191
34191
  },
34192
- set: function set11(value2) {
34192
+ set: function set12(value2) {
34193
34193
  if (this._readableState === void 0 || this._writableState === void 0) {
34194
34194
  return;
34195
34195
  }
@@ -34991,13 +34991,13 @@ var require_stream_readable = __commonJS({
34991
34991
  // because otherwise some prototype manipulation in
34992
34992
  // userland will fail
34993
34993
  enumerable: false,
34994
- get: function get14() {
34994
+ get: function get15() {
34995
34995
  if (this._readableState === void 0) {
34996
34996
  return false;
34997
34997
  }
34998
34998
  return this._readableState.destroyed;
34999
34999
  },
35000
- set: function set11(value2) {
35000
+ set: function set12(value2) {
35001
35001
  if (!this._readableState) {
35002
35002
  return;
35003
35003
  }
@@ -35532,7 +35532,7 @@ var require_stream_readable = __commonJS({
35532
35532
  // because otherwise some prototype manipulation in
35533
35533
  // userland will fail
35534
35534
  enumerable: false,
35535
- get: function get14() {
35535
+ get: function get15() {
35536
35536
  return this._readableState.highWaterMark;
35537
35537
  }
35538
35538
  });
@@ -35541,7 +35541,7 @@ var require_stream_readable = __commonJS({
35541
35541
  // because otherwise some prototype manipulation in
35542
35542
  // userland will fail
35543
35543
  enumerable: false,
35544
- get: function get14() {
35544
+ get: function get15() {
35545
35545
  return this._readableState && this._readableState.buffer;
35546
35546
  }
35547
35547
  });
@@ -35550,10 +35550,10 @@ var require_stream_readable = __commonJS({
35550
35550
  // because otherwise some prototype manipulation in
35551
35551
  // userland will fail
35552
35552
  enumerable: false,
35553
- get: function get14() {
35553
+ get: function get15() {
35554
35554
  return this._readableState.flowing;
35555
35555
  },
35556
- set: function set11(state) {
35556
+ set: function set12(state) {
35557
35557
  if (this._readableState) {
35558
35558
  this._readableState.flowing = state;
35559
35559
  }
@@ -35565,7 +35565,7 @@ var require_stream_readable = __commonJS({
35565
35565
  // because otherwise some prototype manipulation in
35566
35566
  // userland will fail
35567
35567
  enumerable: false,
35568
- get: function get14() {
35568
+ get: function get15() {
35569
35569
  return this._readableState.length;
35570
35570
  }
35571
35571
  });
@@ -43787,9 +43787,9 @@ var require_mapToArray = __commonJS({
43787
43787
  // ../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js
43788
43788
  var require_setToArray = __commonJS({
43789
43789
  "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_setToArray.js"(exports2, module2) {
43790
- function setToArray(set11) {
43791
- var index2 = -1, result = Array(set11.size);
43792
- set11.forEach(function(value2) {
43790
+ function setToArray(set12) {
43791
+ var index2 = -1, result = Array(set12.size);
43792
+ set12.forEach(function(value2) {
43793
43793
  result[++index2] = value2;
43794
43794
  });
43795
43795
  return result;
@@ -44291,11 +44291,11 @@ var require_baseGet = __commonJS({
44291
44291
  var require_get = __commonJS({
44292
44292
  "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/get.js"(exports2, module2) {
44293
44293
  var baseGet = require_baseGet();
44294
- function get14(object2, path16, defaultValue) {
44294
+ function get15(object2, path16, defaultValue) {
44295
44295
  var result = object2 == null ? void 0 : baseGet(object2, path16);
44296
44296
  return result === void 0 ? defaultValue : result;
44297
44297
  }
44298
- module2.exports = get14;
44298
+ module2.exports = get15;
44299
44299
  }
44300
44300
  });
44301
44301
 
@@ -44354,7 +44354,7 @@ var require_hasIn = __commonJS({
44354
44354
  var require_baseMatchesProperty = __commonJS({
44355
44355
  "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseMatchesProperty.js"(exports2, module2) {
44356
44356
  var baseIsEqual = require_baseIsEqual();
44357
- var get14 = require_get();
44357
+ var get15 = require_get();
44358
44358
  var hasIn = require_hasIn();
44359
44359
  var isKey = require_isKey();
44360
44360
  var isStrictComparable = require_isStrictComparable();
@@ -44367,7 +44367,7 @@ var require_baseMatchesProperty = __commonJS({
44367
44367
  return matchesStrictComparable(toKey(path16), srcValue);
44368
44368
  }
44369
44369
  return function(object2) {
44370
- var objValue = get14(object2, path16);
44370
+ var objValue = get15(object2, path16);
44371
44371
  return objValue === void 0 && objValue === srcValue ? hasIn(object2, path16) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
44372
44372
  };
44373
44373
  }
@@ -64615,9 +64615,9 @@ var require_ValidationContext = __commonJS({
64615
64615
  if (!spreads) {
64616
64616
  spreads = [];
64617
64617
  const setsToVisit = [node];
64618
- let set11;
64619
- while (set11 = setsToVisit.pop()) {
64620
- for (const selection of set11.selections) {
64618
+ let set12;
64619
+ while (set12 = setsToVisit.pop()) {
64620
+ for (const selection of set12.selections) {
64621
64621
  if (selection.kind === _kinds.Kind.FRAGMENT_SPREAD) {
64622
64622
  spreads.push(selection);
64623
64623
  } else if (selection.selectionSet) {
@@ -71757,9 +71757,9 @@ var require_baseUniq = __commonJS({
71757
71757
  isCommon = false;
71758
71758
  includes = arrayIncludesWith;
71759
71759
  } else if (length >= LARGE_ARRAY_SIZE) {
71760
- var set11 = iteratee ? null : createSet(array);
71761
- if (set11) {
71762
- return setToArray(set11);
71760
+ var set12 = iteratee ? null : createSet(array);
71761
+ if (set12) {
71762
+ return setToArray(set12);
71763
71763
  }
71764
71764
  isCommon = false;
71765
71765
  includes = cacheHas;
@@ -82493,7 +82493,7 @@ var require_moment = __commonJS({
82493
82493
  function isFunction2(input) {
82494
82494
  return typeof Function !== "undefined" && input instanceof Function || Object.prototype.toString.call(input) === "[object Function]";
82495
82495
  }
82496
- function set11(config) {
82496
+ function set12(config) {
82497
82497
  var prop, i2;
82498
82498
  for (i2 in config) {
82499
82499
  if (hasOwnProp(config, i2)) {
@@ -82902,11 +82902,11 @@ var require_moment = __commonJS({
82902
82902
  hooks3.updateOffset(this, keepTime);
82903
82903
  return this;
82904
82904
  } else {
82905
- return get14(this, unit);
82905
+ return get15(this, unit);
82906
82906
  }
82907
82907
  };
82908
82908
  }
82909
- function get14(mom, unit) {
82909
+ function get15(mom, unit) {
82910
82910
  if (!mom.isValid()) {
82911
82911
  return NaN;
82912
82912
  }
@@ -83157,7 +83157,7 @@ var require_moment = __commonJS({
83157
83157
  hooks3.updateOffset(this, true);
83158
83158
  return this;
83159
83159
  } else {
83160
- return get14(this, "Month");
83160
+ return get15(this, "Month");
83161
83161
  }
83162
83162
  }
83163
83163
  function getDaysInMonth() {
@@ -83509,7 +83509,7 @@ var require_moment = __commonJS({
83509
83509
  if (!this.isValid()) {
83510
83510
  return input != null ? this : NaN;
83511
83511
  }
83512
- var day = get14(this, "Day");
83512
+ var day = get15(this, "Day");
83513
83513
  if (input != null) {
83514
83514
  input = parseWeekday(input, this.localeData());
83515
83515
  return this.add(input - day, "d");
@@ -84807,10 +84807,10 @@ var require_moment = __commonJS({
84807
84807
  }
84808
84808
  updateOffset = updateOffset == null ? true : updateOffset;
84809
84809
  if (months2) {
84810
- setMonth(mom, get14(mom, "Month") + months2 * isAdding);
84810
+ setMonth(mom, get15(mom, "Month") + months2 * isAdding);
84811
84811
  }
84812
84812
  if (days2) {
84813
- set$1(mom, "Date", get14(mom, "Date") + days2 * isAdding);
84813
+ set$1(mom, "Date", get15(mom, "Date") + days2 * isAdding);
84814
84814
  }
84815
84815
  if (milliseconds2) {
84816
84816
  mom._d.setTime(mom._d.valueOf() + milliseconds2 * isAdding);
@@ -85799,7 +85799,7 @@ var require_moment = __commonJS({
85799
85799
  proto$1.postformat = preParsePostFormat;
85800
85800
  proto$1.relativeTime = relativeTime;
85801
85801
  proto$1.pastFuture = pastFuture;
85802
- proto$1.set = set11;
85802
+ proto$1.set = set12;
85803
85803
  proto$1.eras = localeEras;
85804
85804
  proto$1.erasParse = localeErasParse;
85805
85805
  proto$1.erasConvertYear = localeErasConvertYear;
@@ -88841,9 +88841,9 @@ var require_object_hash = __commonJS({
88841
88841
  var arr = Array.from(map);
88842
88842
  return this._array(arr, options2.unorderedSets !== false);
88843
88843
  },
88844
- _set: function(set11) {
88844
+ _set: function(set12) {
88845
88845
  write("set:");
88846
- var arr = Array.from(set11);
88846
+ var arr = Array.from(set12);
88847
88847
  return this._array(arr, options2.unorderedSets !== false);
88848
88848
  },
88849
88849
  _blob: function() {
@@ -97804,10 +97804,10 @@ var require_pusher = __commonJS({
97804
97804
  return b2.replace(/[\s\S]{1,3}/g, cb_encode);
97805
97805
  };
97806
97806
  var Timer = function() {
97807
- function Timer2(set11, clear, delay2, callback) {
97807
+ function Timer2(set12, clear, delay2, callback) {
97808
97808
  var _this = this;
97809
97809
  this.clear = clear;
97810
- this.timer = set11(function() {
97810
+ this.timer = set12(function() {
97811
97811
  if (_this.timer) {
97812
97812
  _this.timer = callback(_this.timer);
97813
97813
  }
@@ -104435,8 +104435,8 @@ var require_union_value = __commonJS({
104435
104435
  "use strict";
104436
104436
  var isObject8 = require_is_extendable2();
104437
104437
  var union2 = require_arr_union();
104438
- var get14 = require_get_value();
104439
- var set11 = require_set_value();
104438
+ var get15 = require_get_value();
104439
+ var set12 = require_set_value();
104440
104440
  module2.exports = function unionValue(obj2, prop, value2) {
104441
104441
  if (!isObject8(obj2)) {
104442
104442
  throw new TypeError("union-value expects the first argument to be an object.");
@@ -104444,8 +104444,8 @@ var require_union_value = __commonJS({
104444
104444
  if (typeof prop !== "string") {
104445
104445
  throw new TypeError("union-value expects `prop` to be a string.");
104446
104446
  }
104447
- var arr = arrayify(get14(obj2, prop));
104448
- set11(obj2, prop, union2(arr, arrayify(value2)));
104447
+ var arr = arrayify(get15(obj2, prop));
104448
+ set12(obj2, prop, union2(arr, arrayify(value2)));
104449
104449
  return obj2;
104450
104450
  };
104451
104451
  function arrayify(val) {
@@ -104517,10 +104517,10 @@ var require_has_value = __commonJS({
104517
104517
  "use strict";
104518
104518
  var isObject8 = require_isobject2();
104519
104519
  var hasValues = require_has_values();
104520
- var get14 = require_get_value();
104520
+ var get15 = require_get_value();
104521
104521
  module2.exports = function(obj2, prop, noZero) {
104522
104522
  if (isObject8(obj2)) {
104523
- return hasValues(get14(obj2, prop), noZero);
104523
+ return hasValues(get15(obj2, prop), noZero);
104524
104524
  }
104525
104525
  return hasValues(obj2, prop);
104526
104526
  };
@@ -104715,9 +104715,9 @@ var require_has_value2 = __commonJS({
104715
104715
  "use strict";
104716
104716
  var isObject8 = require_isobject();
104717
104717
  var hasValues = require_has_values2();
104718
- var get14 = require_get_value();
104718
+ var get15 = require_get_value();
104719
104719
  module2.exports = function(val, prop) {
104720
- return hasValues(isObject8(val) && prop ? get14(val, prop) : val);
104720
+ return hasValues(isObject8(val) && prop ? get15(val, prop) : val);
104721
104721
  };
104722
104722
  }
104723
104723
  });
@@ -104732,9 +104732,9 @@ var require_cache_base = __commonJS({
104732
104732
  var toPath2 = require_to_object_path();
104733
104733
  var union2 = require_union_value();
104734
104734
  var del = require_unset_value();
104735
- var get14 = require_get_value();
104735
+ var get15 = require_get_value();
104736
104736
  var has2 = require_has_value2();
104737
- var set11 = require_set_value();
104737
+ var set12 = require_set_value();
104738
104738
  function namespace(prop) {
104739
104739
  function Cache(cache) {
104740
104740
  if (prop) {
@@ -104752,7 +104752,7 @@ var require_cache_base = __commonJS({
104752
104752
  if (isObject8(key) || Array.isArray(key)) {
104753
104753
  this.visit("set", key);
104754
104754
  } else {
104755
- set11(prop ? this[prop] : this, key, val);
104755
+ set12(prop ? this[prop] : this, key, val);
104756
104756
  this.emit("set", key, val);
104757
104757
  }
104758
104758
  return this;
@@ -104769,14 +104769,14 @@ var require_cache_base = __commonJS({
104769
104769
  Cache.prototype.get = function(key) {
104770
104770
  key = toPath2(arguments);
104771
104771
  var ctx = prop ? this[prop] : this;
104772
- var val = get14(ctx, key);
104772
+ var val = get15(ctx, key);
104773
104773
  this.emit("get", key, val);
104774
104774
  return val;
104775
104775
  };
104776
104776
  Cache.prototype.has = function(key) {
104777
104777
  key = toPath2(arguments);
104778
104778
  var ctx = prop ? this[prop] : this;
104779
- var val = get14(ctx, key);
104779
+ var val = get15(ctx, key);
104780
104780
  var has3 = typeof val !== "undefined";
104781
104781
  this.emit("has", key, has3);
104782
104782
  return has3;
@@ -106417,11 +106417,11 @@ var require_array_set = __commonJS({
106417
106417
  this._set = hasNativeMap ? /* @__PURE__ */ new Map() : /* @__PURE__ */ Object.create(null);
106418
106418
  }
106419
106419
  ArraySet.fromArray = function ArraySet_fromArray(aArray, aAllowDuplicates) {
106420
- var set11 = new ArraySet();
106420
+ var set12 = new ArraySet();
106421
106421
  for (var i2 = 0, len = aArray.length; i2 < len; i2++) {
106422
- set11.add(aArray[i2], aAllowDuplicates);
106422
+ set12.add(aArray[i2], aAllowDuplicates);
106423
106423
  }
106424
- return set11;
106424
+ return set12;
106425
106425
  };
106426
106426
  ArraySet.prototype.size = function ArraySet_size() {
106427
106427
  return hasNativeMap ? this._set.size : Object.getOwnPropertyNames(this._set).length;
@@ -116384,9 +116384,9 @@ var require_minimatch = __commonJS({
116384
116384
  var twoStarNoDot = "(?:(?!(?:\\/|^)\\.).)*?";
116385
116385
  var reSpecials = charSet("().*{}+?[]^$\\!");
116386
116386
  function charSet(s3) {
116387
- return s3.split("").reduce(function(set11, c2) {
116388
- set11[c2] = true;
116389
- return set11;
116387
+ return s3.split("").reduce(function(set12, c2) {
116388
+ set12[c2] = true;
116389
+ return set12;
116390
116390
  }, {});
116391
116391
  }
116392
116392
  var slashSplit = /\/+/;
@@ -116485,24 +116485,24 @@ var require_minimatch = __commonJS({
116485
116485
  return;
116486
116486
  }
116487
116487
  this.parseNegate();
116488
- var set11 = this.globSet = this.braceExpand();
116488
+ var set12 = this.globSet = this.braceExpand();
116489
116489
  if (options2.debug) this.debug = function debug() {
116490
116490
  console.error.apply(console, arguments);
116491
116491
  };
116492
- this.debug(this.pattern, set11);
116493
- set11 = this.globParts = set11.map(function(s3) {
116492
+ this.debug(this.pattern, set12);
116493
+ set12 = this.globParts = set12.map(function(s3) {
116494
116494
  return s3.split(slashSplit);
116495
116495
  });
116496
- this.debug(this.pattern, set11);
116497
- set11 = set11.map(function(s3, si, set12) {
116496
+ this.debug(this.pattern, set12);
116497
+ set12 = set12.map(function(s3, si, set13) {
116498
116498
  return s3.map(this.parse, this);
116499
116499
  }, this);
116500
- this.debug(this.pattern, set11);
116501
- set11 = set11.filter(function(s3) {
116500
+ this.debug(this.pattern, set12);
116501
+ set12 = set12.filter(function(s3) {
116502
116502
  return s3.indexOf(false) === -1;
116503
116503
  });
116504
- this.debug(this.pattern, set11);
116505
- this.set = set11;
116504
+ this.debug(this.pattern, set12);
116505
+ this.set = set12;
116506
116506
  }
116507
116507
  Minimatch.prototype.parseNegate = parseNegate;
116508
116508
  function parseNegate() {
@@ -116787,15 +116787,15 @@ var require_minimatch = __commonJS({
116787
116787
  Minimatch.prototype.makeRe = makeRe;
116788
116788
  function makeRe() {
116789
116789
  if (this.regexp || this.regexp === false) return this.regexp;
116790
- var set11 = this.set;
116791
- if (!set11.length) {
116790
+ var set12 = this.set;
116791
+ if (!set12.length) {
116792
116792
  this.regexp = false;
116793
116793
  return this.regexp;
116794
116794
  }
116795
116795
  var options2 = this.options;
116796
116796
  var twoStar = options2.noglobstar ? star : options2.dot ? twoStarDot : twoStarNoDot;
116797
116797
  var flags = options2.nocase ? "i" : "";
116798
- var re = set11.map(function(pattern) {
116798
+ var re = set12.map(function(pattern) {
116799
116799
  return pattern.map(function(p) {
116800
116800
  return p === GLOBSTAR ? twoStar : typeof p === "string" ? regExpEscape(p) : p._src;
116801
116801
  }).join("\\/");
@@ -116832,16 +116832,16 @@ var require_minimatch = __commonJS({
116832
116832
  }
116833
116833
  f = f.split(slashSplit);
116834
116834
  this.debug(this.pattern, "split", f);
116835
- var set11 = this.set;
116836
- this.debug(this.pattern, "set", set11);
116835
+ var set12 = this.set;
116836
+ this.debug(this.pattern, "set", set12);
116837
116837
  var filename;
116838
116838
  var i2;
116839
116839
  for (i2 = f.length - 1; i2 >= 0; i2--) {
116840
116840
  filename = f[i2];
116841
116841
  if (filename) break;
116842
116842
  }
116843
- for (i2 = 0; i2 < set11.length; i2++) {
116844
- var pattern = set11[i2];
116843
+ for (i2 = 0; i2 < set12.length; i2++) {
116844
+ var pattern = set12[i2];
116845
116845
  var file = f;
116846
116846
  if (options2.matchBase && pattern.length === 1) {
116847
116847
  file = [filename];
@@ -117167,15 +117167,15 @@ var require_sync2 = __commonJS({
117167
117167
  if (this.realpath) {
117168
117168
  var self2 = this;
117169
117169
  this.matches.forEach(function(matchset, index2) {
117170
- var set11 = self2.matches[index2] = /* @__PURE__ */ Object.create(null);
117170
+ var set12 = self2.matches[index2] = /* @__PURE__ */ Object.create(null);
117171
117171
  for (var p in matchset) {
117172
117172
  try {
117173
117173
  p = self2._makeAbs(p);
117174
117174
  var real = rp.realpathSync(p, self2.realpathCache);
117175
- set11[real] = true;
117175
+ set12[real] = true;
117176
117176
  } catch (er) {
117177
117177
  if (er.syscall === "stat")
117178
- set11[self2._makeAbs(p)] = true;
117178
+ set12[self2._makeAbs(p)] = true;
117179
117179
  else
117180
117180
  throw er;
117181
117181
  }
@@ -117572,13 +117572,13 @@ var require_glob = __commonJS({
117572
117572
  var options2 = extend({}, options_);
117573
117573
  options2.noprocess = true;
117574
117574
  var g = new Glob(pattern, options2);
117575
- var set11 = g.minimatch.set;
117575
+ var set12 = g.minimatch.set;
117576
117576
  if (!pattern)
117577
117577
  return false;
117578
- if (set11.length > 1)
117578
+ if (set12.length > 1)
117579
117579
  return true;
117580
- for (var j = 0; j < set11[0].length; j++) {
117581
- if (typeof set11[0][j] !== "string")
117580
+ for (var j = 0; j < set12[0].length; j++) {
117581
+ if (typeof set12[0][j] !== "string")
117582
117582
  return true;
117583
117583
  }
117584
117584
  return false;
@@ -117668,18 +117668,18 @@ var require_glob = __commonJS({
117668
117668
  var n = found.length;
117669
117669
  if (n === 0)
117670
117670
  return cb();
117671
- var set11 = this.matches[index2] = /* @__PURE__ */ Object.create(null);
117671
+ var set12 = this.matches[index2] = /* @__PURE__ */ Object.create(null);
117672
117672
  found.forEach(function(p, i2) {
117673
117673
  p = self2._makeAbs(p);
117674
117674
  rp.realpath(p, self2.realpathCache, function(er, real) {
117675
117675
  if (!er)
117676
- set11[real] = true;
117676
+ set12[real] = true;
117677
117677
  else if (er.syscall === "stat")
117678
- set11[p] = true;
117678
+ set12[p] = true;
117679
117679
  else
117680
117680
  self2.emit("error", er);
117681
117681
  if (--n === 0) {
117682
- self2.matches[index2] = set11;
117682
+ self2.matches[index2] = set12;
117683
117683
  cb();
117684
117684
  }
117685
117685
  });
@@ -118794,16 +118794,16 @@ var require_lodash3 = __commonJS({
118794
118794
  }
118795
118795
  return result;
118796
118796
  }
118797
- function setToArray(set11) {
118798
- var index2 = -1, result = Array(set11.size);
118799
- set11.forEach(function(value2) {
118797
+ function setToArray(set12) {
118798
+ var index2 = -1, result = Array(set12.size);
118799
+ set12.forEach(function(value2) {
118800
118800
  result[++index2] = value2;
118801
118801
  });
118802
118802
  return result;
118803
118803
  }
118804
- function setToPairs(set11) {
118805
- var index2 = -1, result = Array(set11.size);
118806
- set11.forEach(function(value2) {
118804
+ function setToPairs(set12) {
118805
+ var index2 = -1, result = Array(set12.size);
118806
+ set12.forEach(function(value2) {
118807
118807
  result[++index2] = [value2, value2];
118808
118808
  });
118809
118809
  return result;
@@ -119280,7 +119280,7 @@ var require_lodash3 = __commonJS({
119280
119280
  function baseAt(object2, paths) {
119281
119281
  var index2 = -1, length = paths.length, result2 = Array2(length), skip = object2 == null;
119282
119282
  while (++index2 < length) {
119283
- result2[index2] = skip ? undefined2 : get14(object2, paths[index2]);
119283
+ result2[index2] = skip ? undefined2 : get15(object2, paths[index2]);
119284
119284
  }
119285
119285
  return result2;
119286
119286
  }
@@ -119725,7 +119725,7 @@ var require_lodash3 = __commonJS({
119725
119725
  return matchesStrictComparable(toKey(path16), srcValue);
119726
119726
  }
119727
119727
  return function(object2) {
119728
- var objValue = get14(object2, path16);
119728
+ var objValue = get15(object2, path16);
119729
119729
  return objValue === undefined2 && objValue === srcValue ? hasIn(object2, path16) : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);
119730
119730
  };
119731
119731
  }
@@ -120060,9 +120060,9 @@ var require_lodash3 = __commonJS({
120060
120060
  isCommon = false;
120061
120061
  includes2 = arrayIncludesWith;
120062
120062
  } else if (length >= LARGE_ARRAY_SIZE) {
120063
- var set12 = iteratee2 ? null : createSet(array);
120064
- if (set12) {
120065
- return setToArray(set12);
120063
+ var set13 = iteratee2 ? null : createSet(array);
120064
+ if (set13) {
120065
+ return setToArray(set13);
120066
120066
  }
120067
120067
  isCommon = false;
120068
120068
  includes2 = cacheHas;
@@ -122480,7 +122480,7 @@ var require_lodash3 = __commonJS({
122480
122480
  function functionsIn(object2) {
122481
122481
  return object2 == null ? [] : baseFunctions(object2, keysIn(object2));
122482
122482
  }
122483
- function get14(object2, path16, defaultValue) {
122483
+ function get15(object2, path16, defaultValue) {
122484
122484
  var result2 = object2 == null ? undefined2 : baseGet(object2, path16);
122485
122485
  return result2 === undefined2 ? defaultValue : result2;
122486
122486
  }
@@ -122591,7 +122591,7 @@ var require_lodash3 = __commonJS({
122591
122591
  }
122592
122592
  return object2;
122593
122593
  }
122594
- function set11(object2, path16, value2) {
122594
+ function set12(object2, path16, value2) {
122595
122595
  return object2 == null ? object2 : baseSet(object2, path16, value2);
122596
122596
  }
122597
122597
  function setWith(object2, path16, value2, customizer) {
@@ -123254,7 +123254,7 @@ var require_lodash3 = __commonJS({
123254
123254
  lodash.rest = rest;
123255
123255
  lodash.reverse = reverse;
123256
123256
  lodash.sampleSize = sampleSize;
123257
- lodash.set = set11;
123257
+ lodash.set = set12;
123258
123258
  lodash.setWith = setWith;
123259
123259
  lodash.shuffle = shuffle;
123260
123260
  lodash.slice = slice;
@@ -123338,7 +123338,7 @@ var require_lodash3 = __commonJS({
123338
123338
  lodash.forInRight = forInRight;
123339
123339
  lodash.forOwn = forOwn;
123340
123340
  lodash.forOwnRight = forOwnRight;
123341
- lodash.get = get14;
123341
+ lodash.get = get15;
123342
123342
  lodash.gt = gt;
123343
123343
  lodash.gte = gte3;
123344
123344
  lodash.has = has2;
@@ -126616,7 +126616,7 @@ var require_bl = __commonJS({
126616
126616
  this._callback = null;
126617
126617
  }
126618
126618
  };
126619
- BufferList.prototype.get = function get14(index2) {
126619
+ BufferList.prototype.get = function get15(index2) {
126620
126620
  return this.slice(index2, index2 + 1)[0];
126621
126621
  };
126622
126622
  BufferList.prototype.slice = function slice(start, end) {
@@ -162388,15 +162388,15 @@ var require_tunnel = __commonJS({
162388
162388
  return proxyHost;
162389
162389
  }
162390
162390
  function constructProxyHeaderWhiteList(headers, proxyHeaderWhiteList) {
162391
- var whiteList = proxyHeaderWhiteList.reduce(function(set11, header) {
162392
- set11[header.toLowerCase()] = true;
162393
- return set11;
162391
+ var whiteList = proxyHeaderWhiteList.reduce(function(set12, header) {
162392
+ set12[header.toLowerCase()] = true;
162393
+ return set12;
162394
162394
  }, {});
162395
162395
  return Object.keys(headers).filter(function(header) {
162396
162396
  return whiteList[header.toLowerCase()];
162397
- }).reduce(function(set11, header) {
162398
- set11[header] = headers[header];
162399
- return set11;
162397
+ }).reduce(function(set12, header) {
162398
+ set12[header] = headers[header];
162399
+ return set12;
162400
162400
  }, {});
162401
162401
  }
162402
162402
  function constructTunnelOptions(request2, proxyHeaders) {
@@ -164991,10 +164991,10 @@ var require_ansi_styles2 = __commonJS({
164991
164991
  };
164992
164992
  var ansi2ansi = (n) => n;
164993
164993
  var rgb2rgb = (r, g, b2) => [r, g, b2];
164994
- var setLazyProperty = (object2, property, get14) => {
164994
+ var setLazyProperty = (object2, property, get15) => {
164995
164995
  Object.defineProperty(object2, property, {
164996
164996
  get: () => {
164997
- const value2 = get14();
164997
+ const value2 = get15();
164998
164998
  Object.defineProperty(object2, property, {
164999
164999
  value: value2,
165000
165000
  enumerable: true,
@@ -166272,10 +166272,10 @@ var require_bottom_bar = __commonJS({
166272
166272
  var require_set2 = __commonJS({
166273
166273
  "../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/set.js"(exports2, module2) {
166274
166274
  var baseSet = require_baseSet();
166275
- function set11(object2, path16, value2) {
166275
+ function set12(object2, path16, value2) {
166276
166276
  return object2 == null ? object2 : baseSet(object2, path16, value2);
166277
166277
  }
166278
- module2.exports = set11;
166278
+ module2.exports = set12;
166279
166279
  }
166280
166280
  });
166281
166281
 
@@ -202776,7 +202776,7 @@ var require_reusify = __commonJS({
202776
202776
  function reusify(Constructor) {
202777
202777
  var head = new Constructor();
202778
202778
  var tail = head;
202779
- function get14() {
202779
+ function get15() {
202780
202780
  var current = head;
202781
202781
  if (current.next) {
202782
202782
  head = current.next;
@@ -202792,7 +202792,7 @@ var require_reusify = __commonJS({
202792
202792
  tail = obj2;
202793
202793
  }
202794
202794
  return {
202795
- get: get14,
202795
+ get: get15,
202796
202796
  release
202797
202797
  };
202798
202798
  }
@@ -205179,7 +205179,7 @@ var engines = {
205179
205179
  };
205180
205180
  var package_default = {
205181
205181
  name: "@takeshape/cli",
205182
- version: "11.92.0",
205182
+ version: "11.94.3",
205183
205183
  description: "TakeShape CLI",
205184
205184
  homepage: "https://www.takeshape.io",
205185
205185
  repository: {
@@ -215541,6 +215541,7 @@ var project_import_default = loggedInCommand(async (cli2, params) => {
215541
215541
  });
215542
215542
 
215543
215543
  // ../schema/dist/agents.js
215544
+ var import_get4 = __toESM(require_get(), 1);
215544
215545
  var import_uniq = __toESM(require_uniq(), 1);
215545
215546
  var import_uniqBy = __toESM(require_uniqBy(), 1);
215546
215547
  var import_upperFirst2 = __toESM(require_upperFirst(), 1);
@@ -215675,6 +215676,9 @@ function addAiQueries(projectSchema) {
215675
215676
  }
215676
215677
  return newSchema;
215677
215678
  }
215679
+ var isGuardEnabled = (guard) => {
215680
+ return Boolean(guard && guard.enabled !== false);
215681
+ };
215678
215682
 
215679
215683
  // ../schema/dist/api-version.js
215680
215684
  var import_coerce = __toESM(require_coerce2(), 1);
@@ -215698,7 +215702,7 @@ var whereClauseEnabled = createVersionPredicate("2.0.0", import_gte.default);
215698
215702
  // ../json-schema/dist/schema-validator.js
215699
215703
  var import_ajv = __toESM(require_ajv2(), 1);
215700
215704
  var import_ajv_formats = __toESM(require_dist3(), 1);
215701
- var import_get4 = __toESM(require_get(), 1);
215705
+ var import_get5 = __toESM(require_get(), 1);
215702
215706
  var import_isString2 = __toESM(require_isString(), 1);
215703
215707
  var import_unset = __toESM(require_unset(), 1);
215704
215708
  function createAjv(options2) {
@@ -217279,7 +217283,7 @@ var SERVICE_OBJECT_PATTERN_NAME = "pattern:service-object";
217279
217283
  // ../schema/dist/content-schema-transform.js
217280
217284
  var import_difference2 = __toESM(require_difference(), 1);
217281
217285
  var import_forEach3 = __toESM(require_forEach(), 1);
217282
- var import_get6 = __toESM(require_get(), 1);
217286
+ var import_get7 = __toESM(require_get(), 1);
217283
217287
  var import_pick = __toESM(require_pick(), 1);
217284
217288
 
217285
217289
  // ../errors/dist/base-error.js
@@ -217340,7 +217344,7 @@ var SchemaValidationError = class extends BaseError {
217340
217344
  var import_compact2 = __toESM(require_compact(), 1);
217341
217345
  var import_assign = __toESM(require_assign2(), 1);
217342
217346
  var import_omit2 = __toESM(require_omit2(), 1);
217343
- var import_get5 = __toESM(require_get(), 1);
217347
+ var import_get6 = __toESM(require_get(), 1);
217344
217348
  var import_isString4 = __toESM(require_isString(), 1);
217345
217349
 
217346
217350
  // ../schema/dist/scalars.js
@@ -221722,6 +221726,17 @@ var experimental_default = {
221722
221726
  },
221723
221727
  additionalProperties: false
221724
221728
  },
221729
+ mcpConfig: {
221730
+ title: "MCP Server Configuration",
221731
+ type: "object",
221732
+ properties: {
221733
+ tools: {
221734
+ $ref: "#/definitions/toolMap",
221735
+ description: "A Tool is a configuration for an AI tool which can query or mutate data."
221736
+ }
221737
+ },
221738
+ additionalProperties: false
221739
+ },
221725
221740
  aiExperimental: {
221726
221741
  title: "AI Experimental",
221727
221742
  type: "object",
@@ -221734,9 +221749,9 @@ var experimental_default = {
221734
221749
  $ref: "#/definitions/guardMap",
221735
221750
  description: "A Guard is a configuration for an AI guardrail that can check inputs and outputs and provide safety and compliance."
221736
221751
  },
221737
- tools: {
221738
- $ref: "#/definitions/toolMap",
221739
- description: "A Tool is a configuration for an AI tool which can query or mutate data."
221752
+ mcp: {
221753
+ $ref: "#/definitions/mcpConfig",
221754
+ description: "MCP server configuration"
221740
221755
  }
221741
221756
  },
221742
221757
  additionalProperties: false
@@ -221778,6 +221793,12 @@ var experimental_default = {
221778
221793
  title: "Description",
221779
221794
  description: "A description of the Guard."
221780
221795
  },
221796
+ enabled: {
221797
+ type: "boolean",
221798
+ title: "Enabled",
221799
+ description: "Guards will not run unless enabled.",
221800
+ default: true
221801
+ },
221781
221802
  guardrailIdentifier: {
221782
221803
  type: "string",
221783
221804
  title: "Guardrail Identifier",
@@ -377261,16 +377282,16 @@ function refItemToShapePath(context, refItem) {
377261
377282
  }
377262
377283
  function refItemToShape(context, refItem) {
377263
377284
  const shapePath = refItemToShapePath(context, refItem);
377264
- return (0, import_get5.default)(context, shapePath);
377285
+ return (0, import_get6.default)(context, shapePath);
377265
377286
  }
377266
377287
  function refItemToShapeWithPath(context, refItem) {
377267
377288
  const shapePath = refItemToShapePath(context, refItem);
377268
- const shape = (0, import_get5.default)(context, shapePath);
377289
+ const shape = (0, import_get6.default)(context, shapePath);
377269
377290
  return shape ? { shape, path: shapePath } : void 0;
377270
377291
  }
377271
377292
  function refItemToShapeSchema(context, refItem) {
377272
377293
  const shapePath = refItemToShapePath(context, refItem);
377273
- return (0, import_get5.default)(context, [...shapePath, "schema"]);
377294
+ return (0, import_get6.default)(context, [...shapePath, "schema"]);
377274
377295
  }
377275
377296
  function getRefShapeName(context, refSchema) {
377276
377297
  const refItem = getRef(context, refSchema);
@@ -378211,7 +378232,7 @@ function getContentTransform({ transforms, accumulators, keyTransform = preferKe
378211
378232
  const sourceKeys = ensureArray3(sourceKeyTransform(name2, fieldSchema, obj2));
378212
378233
  const localizedSourceKeys = getLocalizedSourceKeys(sourceKeys, nonDefaultLocales);
378213
378234
  for (const { key: sourceKey, locale: locale2 } of localizedSourceKeys) {
378214
- const value2 = prepare2(fieldSchema, (0, import_get6.default)(obj2, sourceKey), name2, schema5);
378235
+ const value2 = prepare2(fieldSchema, (0, import_get7.default)(obj2, sourceKey), name2, schema5);
378215
378236
  if (value2 !== void 0) {
378216
378237
  assigned.add(sourceKey);
378217
378238
  const transform2 = findTransforms(transforms, dereferenceSchema(projectSchema, fieldSchema), name2);
@@ -378319,7 +378340,7 @@ function isEnumLikeSchema(schema5) {
378319
378340
  var import_set7 = __toESM(require_set2(), 1);
378320
378341
 
378321
378342
  // ../schema/dist/template-shapes/templates.js
378322
- var import_get10 = __toESM(require_get(), 1);
378343
+ var import_get11 = __toESM(require_get(), 1);
378323
378344
  var import_keyBy3 = __toESM(require_keyBy(), 1);
378324
378345
 
378325
378346
  // ../schema/dist/migration/to/v3.0.0.js
@@ -378347,15 +378368,15 @@ var import_fromPairs = __toESM(require_fromPairs(), 1);
378347
378368
  var import_omit5 = __toESM(require_omit(), 1);
378348
378369
 
378349
378370
  // ../schema/dist/migration/to/v3.13.0.js
378350
- var import_get7 = __toESM(require_get(), 1);
378371
+ var import_get8 = __toESM(require_get(), 1);
378351
378372
 
378352
378373
  // ../schema/dist/migration/to/v3.17.0.js
378353
- var import_get8 = __toESM(require_get(), 1);
378374
+ var import_get9 = __toESM(require_get(), 1);
378354
378375
  var import_omit6 = __toESM(require_omit(), 1);
378355
378376
  var import_set3 = __toESM(require_set2(), 1);
378356
378377
 
378357
378378
  // ../schema/dist/migration/to/v3.18.0.js
378358
- var import_get9 = __toESM(require_get(), 1);
378379
+ var import_get10 = __toESM(require_get(), 1);
378359
378380
  var import_omit7 = __toESM(require_omit(), 1);
378360
378381
  var import_set4 = __toESM(require_set2(), 1);
378361
378382
 
@@ -379144,7 +379165,7 @@ function rewriteRefs(context, shapeSchema, rewriteShapeName) {
379144
379165
  const newSchema = deepClone(shapeSchema);
379145
379166
  visit3(newSchema, ["$ref", "@ref"], (_, path16) => {
379146
379167
  const parentPath = path16.slice(0, -1);
379147
- const value2 = (0, import_get10.default)(newSchema, parentPath);
379168
+ const value2 = (0, import_get11.default)(newSchema, parentPath);
379148
379169
  if ((value2["@ref"] || value2.$ref) && !parentPath.includes("@input") && !parentPath.includes("@output")) {
379149
379170
  const refItem = getRef(context, value2);
379150
379171
  if (refItem) {
@@ -379352,7 +379373,7 @@ var import_isError = __toESM(require_isError(), 1);
379352
379373
  var import_set9 = __toESM(require_set2(), 1);
379353
379374
 
379354
379375
  // ../schema/dist/service-dependencies.js
379355
- var import_get11 = __toESM(require_get(), 1);
379376
+ var import_get12 = __toESM(require_get(), 1);
379356
379377
  var import_isObject3 = __toESM(require_isObject(), 1);
379357
379378
  var import_pick4 = __toESM(require_pick(), 1);
379358
379379
  var import_set8 = __toESM(require_set2(), 1);
@@ -380703,9 +380724,12 @@ function validateExpression(expression) {
380703
380724
  }
380704
380725
  }
380705
380726
 
380706
- // ../schema/dist/util/patch-schema.js
380727
+ // ../schema/dist/util/mcp.js
380707
380728
  var import_set10 = __toESM(require_set3(), 1);
380708
- var import_get12 = __toESM(require_get(), 1);
380729
+
380730
+ // ../schema/dist/util/patch-schema.js
380731
+ var import_set11 = __toESM(require_set3(), 1);
380732
+ var import_get13 = __toESM(require_get(), 1);
380709
380733
  var import_omit9 = __toESM(require_omit(), 1);
380710
380734
  var import_unset6 = __toESM(require_unset(), 1);
380711
380735
 
@@ -382385,7 +382409,7 @@ JSONPath.prototype.vm = import_vm.default;
382385
382409
 
382386
382410
  // ../schema/dist/validate/validate.js
382387
382411
  var import_flatten3 = __toESM(require_flatten(), 1);
382388
- var import_get13 = __toESM(require_get(), 1);
382412
+ var import_get14 = __toESM(require_get(), 1);
382389
382413
  var import_initial = __toESM(require_initial(), 1);
382390
382414
  var import_isEqual3 = __toESM(require_isEqual(), 1);
382391
382415
  var import_isUndefined3 = __toESM(require_isUndefined(), 1);
@@ -382803,7 +382827,7 @@ function checkShapeNames(shapes) {
382803
382827
  }
382804
382828
  function checkToolNames(tools) {
382805
382829
  return Object.entries(tools).filter(([name, tool]) => name !== tool.name).map(([name, tool]) => ({
382806
- path: ["ai-experimental", "tools", name, "name"],
382830
+ path: ["ai-experimental", "mcp", "tools", name, "name"],
382807
382831
  type: "conflict",
382808
382832
  message: `Tool.name "${tool.name}" must match key "${name}".`
382809
382833
  }));
@@ -382907,7 +382931,7 @@ var validateAIToolConfig = (projectSchema, getNamespace2, tool, basePath) => {
382907
382931
  message: "Tools must be a query or mutation"
382908
382932
  };
382909
382933
  }
382910
- const property = (0, import_get13.default)(projectSchema, propertyPath);
382934
+ const property = (0, import_get14.default)(projectSchema, propertyPath);
382911
382935
  if (propertyPath[0] === "mutations" && isValidAgentMutation(projectSchema, propertyPath[1])) {
382912
382936
  return;
382913
382937
  }
@@ -382943,7 +382967,7 @@ function validateResolver(projectSchema, basePath, baseResolver) {
382943
382967
  if (parsed.layerId !== "local") {
382944
382968
  return;
382945
382969
  }
382946
- const targetResolver = (0, import_get13.default)(projectSchema, propertyRefItemToResolverPath(getNamespace2, parsed));
382970
+ const targetResolver = (0, import_get14.default)(projectSchema, propertyRefItemToResolverPath(getNamespace2, parsed));
382947
382971
  if (!isBasicResolver(targetResolver) && !isComposeResolver(targetResolver)) {
382948
382972
  return {
382949
382973
  type: "notFound",
@@ -383082,7 +383106,7 @@ async function validateResolverReferences(context, projectSchema, basePath, base
383082
383106
  return false;
383083
383107
  }
383084
383108
  const layerState = await context.resolveLayer(ref.layerId);
383085
- return layerState.status === "ok" ? !(0, import_get13.default)(layerState.schema, propertyRefItemToPath(value(""), ref)) : !allowDisconnected(context, layerState.status);
383109
+ return layerState.status === "ok" ? !(0, import_get14.default)(layerState.schema, propertyRefItemToPath(value(""), ref)) : !allowDisconnected(context, layerState.status);
383086
383110
  };
383087
383111
  await (0, import_p_map.default)(enumerateBasicResolvers(baseResolver, basePath), async ([resolver, path16]) => {
383088
383112
  if (resolver.name === "graphql:query" || resolver.name === "graphql:mutation") {
@@ -383212,7 +383236,7 @@ function validateShapeLoaders(context, projectSchema, shape) {
383212
383236
  if (listLoader) {
383213
383237
  ensureArray2(listLoader).forEach((config, i2) => {
383214
383238
  const ref = parsePropertyRef(config.query);
383215
- const query = ref && (0, import_get13.default)(projectSchema, propertyRefItemToPath(getNamespace2, ref));
383239
+ const query = ref && (0, import_get14.default)(projectSchema, propertyRefItemToPath(getNamespace2, ref));
383216
383240
  if (!query) {
383217
383241
  errors.push({
383218
383242
  path: Array.isArray(listLoader) ? ["shapes", shape.name, "loaders", "list", i2, "query"] : ["shapes", shape.name, "loaders", "list", "query"],
@@ -383225,7 +383249,7 @@ function validateShapeLoaders(context, projectSchema, shape) {
383225
383249
  const getLoader = shape.loaders.get;
383226
383250
  if (getLoader) {
383227
383251
  const ref = parsePropertyRef(getLoader.query);
383228
- const query = ref && (0, import_get13.default)(projectSchema, propertyRefItemToPath(getNamespace2, ref));
383252
+ const query = ref && (0, import_get14.default)(projectSchema, propertyRefItemToPath(getNamespace2, ref));
383229
383253
  if (!query) {
383230
383254
  errors.push({
383231
383255
  path: ["shapes", shape.name, "loaders", "get", "query"],
@@ -383308,9 +383332,9 @@ function validateLocalRefs(projectSchema) {
383308
383332
  }
383309
383333
  const shapeName = refItemToNamespacedShapeName(projectSchema, item2);
383310
383334
  if (!shapeNames.has(shapeName)) {
383311
- const invalidRef = (0, import_get13.default)(projectSchema, item2.path);
383335
+ const invalidRef = (0, import_get14.default)(projectSchema, item2.path);
383312
383336
  const path16 = invalidRef.items ? [...item2.path, "items", "@ref"] : item2.path;
383313
- const ref = (0, import_get13.default)(projectSchema, path16);
383337
+ const ref = (0, import_get14.default)(projectSchema, path16);
383314
383338
  errors.push({
383315
383339
  type: "notFound",
383316
383340
  path: path16,
@@ -383325,7 +383349,7 @@ function validateLocalRefs(projectSchema) {
383325
383349
  });
383326
383350
  }
383327
383351
  const parentPath = (0, import_initial.default)(item2.path);
383328
- const parentSchema = (0, import_get13.default)(projectSchema, parentPath);
383352
+ const parentSchema = (0, import_get14.default)(projectSchema, parentPath);
383329
383353
  const propName = (0, import_last3.default)(item2.path);
383330
383354
  if (propName === "@ref" && parentSchema.$ref) {
383331
383355
  errors.push({
@@ -383372,11 +383396,11 @@ async function validateRefs(context, projectSchema) {
383372
383396
  errors.push({
383373
383397
  type: "notFound",
383374
383398
  path: item2.path,
383375
- message: `Invalid ref "${(0, import_get13.default)(projectSchema, item2.path)}"`
383399
+ message: `Invalid ref "${(0, import_get14.default)(projectSchema, item2.path)}"`
383376
383400
  });
383377
383401
  } else if (mustBeInterface(item2) && (layerId === "local" || layer?.status === "ok")) {
383378
383402
  const context2 = layer?.schema ?? projectSchema;
383379
- const shape = (0, import_get13.default)(context2, item2.path.slice(0, 2));
383403
+ const shape = (0, import_get14.default)(context2, item2.path.slice(0, 2));
383380
383404
  const layerWithServices = { ...context2, services: projectSchema.services };
383381
383405
  errors.push(...validateShapeImplementsInterface(layerWithServices, shape, item2, item2.path));
383382
383406
  }
@@ -383694,12 +383718,12 @@ function validateGuards(context, schema5) {
383694
383718
  if (context.ignoreEntitlements) {
383695
383719
  return errors;
383696
383720
  }
383697
- const numOfGuards = schema5["ai-experimental"]?.guards ? Object.keys(schema5["ai-experimental"]?.guards).length : 0;
383698
- const entitledToGuards = context.entitlements.guards ?? 0;
383699
- if (numOfGuards > entitledToGuards) {
383721
+ const numGuards = Object.values(schema5["ai-experimental"]?.guards ?? {}).filter((guard) => isGuardEnabled(guard)).length;
383722
+ const entitledGuards = context.entitlements.guards ?? 0;
383723
+ if (numGuards > entitledGuards) {
383700
383724
  errors.push({
383701
383725
  type: "entitlement",
383702
- message: `Number of guards exceeds your entitled limit of ${entitledToGuards}`,
383726
+ message: `Number of enabled guards exceeds your entitled limit of ${entitledGuards}`,
383703
383727
  path: ["ai-experimental", "guards"]
383704
383728
  });
383705
383729
  }
@@ -383717,8 +383741,9 @@ function formatValidationResult(context, errors, schema5) {
383717
383741
  function validateSyntax(context, schema5) {
383718
383742
  let errors = [];
383719
383743
  errors = errors.concat(checkShapeNames(schema5.shapes)).concat(checkShapeIds(schema5.shapes)).concat(validateWorkflows(schema5)).concat(validateLocalQueryConfigs(schema5)).concat(validateLocalRefs(schema5)).concat(validateLocalShapeJoins(schema5)).concat(validateDirectives(schema5)).concat(validateLocales(schema5)).concat(checkWorkflowStepNames(schema5.workflows)).concat(checkWorkflowStepKeys(schema5.workflows)).concat(validateOneOfs(schema5)).concat(validateIndexedShapes(context, schema5)).concat(validateInterfaces(schema5)).concat(validateInterfaceImplementations(schema5)).concat(validateAgents(schema5)).concat(validateGuards(context, schema5));
383720
- if (schema5["ai-experimental"]?.tools) {
383721
- errors = errors.concat(checkToolNames(schema5["ai-experimental"]?.tools ?? {}));
383744
+ const mcpTools = schema5["ai-experimental"]?.mcp?.tools;
383745
+ if (mcpTools) {
383746
+ errors = errors.concat(checkToolNames(mcpTools ?? {}));
383722
383747
  }
383723
383748
  return formatValidationResult(context, errors, schema5);
383724
383749
  }
@@ -391636,10 +391661,10 @@ var builtinDirectives = [
391636
391661
  var IMPORT_FROM_REGEX = /^import\s+(\*|(.*))\s+from\s+('|")(.*)('|");?$/;
391637
391662
  var IMPORT_DEFAULT_REGEX = /^import\s+('|")(.*)('|");?$/;
391638
391663
  function processImport(filePath, cwd4 = (0, import_process2.cwd)(), predefinedImports = {}, visitedFiles = /* @__PURE__ */ new Map()) {
391639
- const set11 = visitFile(filePath, (0, import_path.join)(cwd4 + "/root.graphql"), visitedFiles, predefinedImports);
391664
+ const set12 = visitFile(filePath, (0, import_path.join)(cwd4 + "/root.graphql"), visitedFiles, predefinedImports);
391640
391665
  const definitionStrSet = /* @__PURE__ */ new Set();
391641
391666
  let definitionsStr = "";
391642
- for (const defs of set11.values()) {
391667
+ for (const defs of set12.values()) {
391643
391668
  for (const def of defs) {
391644
391669
  const defStr = (0, import_graphql79.print)(def);
391645
391670
  if (!definitionStrSet.has(defStr)) {
@@ -392011,14 +392036,14 @@ function addInterfaceDependencies(node, dependencySet, dependenciesByDefinitionN
392011
392036
  node.interfaces?.forEach((namedTypeNode) => {
392012
392037
  visitNamedTypeNode(namedTypeNode, dependencySet);
392013
392038
  const interfaceName = namedTypeNode.name.value;
392014
- let set11 = dependenciesByDefinitionName.get(interfaceName);
392015
- if (set11 == null) {
392016
- set11 = /* @__PURE__ */ new Set();
392017
- dependenciesByDefinitionName.set(interfaceName, set11);
392039
+ let set12 = dependenciesByDefinitionName.get(interfaceName);
392040
+ if (set12 == null) {
392041
+ set12 = /* @__PURE__ */ new Set();
392042
+ dependenciesByDefinitionName.set(interfaceName, set12);
392018
392043
  }
392019
392044
  allDependencies.forEach((dependency) => {
392020
392045
  if (dependency !== interfaceName) {
392021
- set11.add(dependency);
392046
+ set12.add(dependency);
392022
392047
  }
392023
392048
  });
392024
392049
  });