@takeshape/cli 11.91.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.
- package/dist/index.js +373 -281
- 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,
|
|
2299
|
+
function isInAstralSet(code2, set12) {
|
|
2300
2300
|
let pos = 65536;
|
|
2301
|
-
for (let i2 = 0, length =
|
|
2302
|
-
pos +=
|
|
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 +=
|
|
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
|
|
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
|
-
|
|
3363
|
+
set12 = set12.filter(function(comp) {
|
|
3364
3364
|
return !!comp.match(compRe);
|
|
3365
3365
|
});
|
|
3366
3366
|
}
|
|
3367
|
-
|
|
3367
|
+
set12 = set12.map(function(comp) {
|
|
3368
3368
|
return new Comparator(comp, this.options);
|
|
3369
3369
|
}, this);
|
|
3370
|
-
return
|
|
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(
|
|
3582
|
-
for (var i3 = 0; i3 <
|
|
3583
|
-
if (!
|
|
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 <
|
|
3589
|
-
debug(
|
|
3590
|
-
if (
|
|
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 (
|
|
3594
|
-
var allowed =
|
|
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(
|
|
6790
|
-
if (!Array.isArray(data[
|
|
6791
|
-
data[
|
|
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 = (
|
|
8237
|
-
for (let i2 = 0; i2 <
|
|
8238
|
-
if (!
|
|
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 <
|
|
8244
|
-
debug(
|
|
8245
|
-
if (
|
|
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 (
|
|
8249
|
-
const allowed =
|
|
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
|
|
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
|
-
|
|
8646
|
+
set12.push([first, prev]);
|
|
8647
8647
|
}
|
|
8648
8648
|
prev = null;
|
|
8649
8649
|
first = null;
|
|
8650
8650
|
}
|
|
8651
8651
|
}
|
|
8652
8652
|
if (first) {
|
|
8653
|
-
|
|
8653
|
+
set12.push([first, null]);
|
|
8654
8654
|
}
|
|
8655
8655
|
const ranges = [];
|
|
8656
|
-
for (const [min, max] of
|
|
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
|
|
9710
|
+
return get15(this, key, true);
|
|
9711
9711
|
}
|
|
9712
9712
|
peek(key) {
|
|
9713
|
-
return
|
|
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) =>
|
|
9742
|
+
this[CACHE2].forEach((value2, key) => get15(this, key, false));
|
|
9743
9743
|
}
|
|
9744
9744
|
};
|
|
9745
|
-
var
|
|
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(
|
|
10337
|
-
if (!Array.isArray(data[
|
|
10338
|
-
data[
|
|
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
|
|
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
|
-
|
|
12952
|
+
set12 = set12.filter(function(comp) {
|
|
12953
12953
|
return !!comp.match(compRe);
|
|
12954
12954
|
});
|
|
12955
12955
|
}
|
|
12956
|
-
|
|
12956
|
+
set12 = set12.map(function(comp) {
|
|
12957
12957
|
return new Comparator(comp, this.options);
|
|
12958
12958
|
}, this);
|
|
12959
|
-
return
|
|
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(
|
|
13188
|
-
for (var i3 = 0; i3 <
|
|
13189
|
-
if (!
|
|
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 <
|
|
13195
|
-
debug(
|
|
13196
|
-
if (
|
|
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 (
|
|
13200
|
-
var allowed =
|
|
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(
|
|
26392
|
-
|
|
26393
|
-
return
|
|
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(
|
|
26454
|
-
var index2 = -1, result = Array(
|
|
26455
|
-
|
|
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(
|
|
26783
|
-
var array = isDeep ? cloneFunc(setToArray(
|
|
26784
|
-
return arrayReduce(array, addSetEntry, new
|
|
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
|
|
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
|
|
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
|
|
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
|
|
27371
|
+
return set12(obj2, path16, value2, true);
|
|
27372
27372
|
};
|
|
27373
27373
|
objectPath.set = function(obj2, path16, value2, doNotReplace) {
|
|
27374
|
-
return
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
35553
|
+
get: function get15() {
|
|
35554
35554
|
return this._readableState.flowing;
|
|
35555
35555
|
},
|
|
35556
|
-
set: function
|
|
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
|
|
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(
|
|
43791
|
-
var index2 = -1, result = Array(
|
|
43792
|
-
|
|
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
|
|
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 =
|
|
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
|
|
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 =
|
|
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
|
|
64619
|
-
while (
|
|
64620
|
-
for (const selection of
|
|
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
|
|
71761
|
-
if (
|
|
71762
|
-
return setToArray(
|
|
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
|
|
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
|
|
82905
|
+
return get15(this, unit);
|
|
82906
82906
|
}
|
|
82907
82907
|
};
|
|
82908
82908
|
}
|
|
82909
|
-
function
|
|
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
|
|
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 =
|
|
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,
|
|
84810
|
+
setMonth(mom, get15(mom, "Month") + months2 * isAdding);
|
|
84811
84811
|
}
|
|
84812
84812
|
if (days2) {
|
|
84813
|
-
set$1(mom, "Date",
|
|
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 =
|
|
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(
|
|
88844
|
+
_set: function(set12) {
|
|
88845
88845
|
write("set:");
|
|
88846
|
-
var arr = Array.from(
|
|
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(
|
|
97807
|
+
function Timer2(set12, clear, delay2, callback) {
|
|
97808
97808
|
var _this = this;
|
|
97809
97809
|
this.clear = clear;
|
|
97810
|
-
this.timer =
|
|
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
|
|
104439
|
-
var
|
|
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(
|
|
104448
|
-
|
|
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
|
|
104520
|
+
var get15 = require_get_value();
|
|
104521
104521
|
module2.exports = function(obj2, prop, noZero) {
|
|
104522
104522
|
if (isObject8(obj2)) {
|
|
104523
|
-
return hasValues(
|
|
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
|
|
104718
|
+
var get15 = require_get_value();
|
|
104719
104719
|
module2.exports = function(val, prop) {
|
|
104720
|
-
return hasValues(isObject8(val) && prop ?
|
|
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
|
|
104735
|
+
var get15 = require_get_value();
|
|
104736
104736
|
var has2 = require_has_value2();
|
|
104737
|
-
var
|
|
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
|
-
|
|
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 =
|
|
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 =
|
|
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
|
|
106420
|
+
var set12 = new ArraySet();
|
|
106421
106421
|
for (var i2 = 0, len = aArray.length; i2 < len; i2++) {
|
|
106422
|
-
|
|
106422
|
+
set12.add(aArray[i2], aAllowDuplicates);
|
|
106423
106423
|
}
|
|
106424
|
-
return
|
|
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(
|
|
116388
|
-
|
|
116389
|
-
return
|
|
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
|
|
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,
|
|
116493
|
-
|
|
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,
|
|
116497
|
-
|
|
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,
|
|
116501
|
-
|
|
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,
|
|
116505
|
-
this.set =
|
|
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
|
|
116791
|
-
if (!
|
|
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 =
|
|
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
|
|
116836
|
-
this.debug(this.pattern, "set",
|
|
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 <
|
|
116844
|
-
var pattern =
|
|
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
|
|
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
|
-
|
|
117175
|
+
set12[real] = true;
|
|
117176
117176
|
} catch (er) {
|
|
117177
117177
|
if (er.syscall === "stat")
|
|
117178
|
-
|
|
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
|
|
117575
|
+
var set12 = g.minimatch.set;
|
|
117576
117576
|
if (!pattern)
|
|
117577
117577
|
return false;
|
|
117578
|
-
if (
|
|
117578
|
+
if (set12.length > 1)
|
|
117579
117579
|
return true;
|
|
117580
|
-
for (var j = 0; j <
|
|
117581
|
-
if (typeof
|
|
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
|
|
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
|
-
|
|
117676
|
+
set12[real] = true;
|
|
117677
117677
|
else if (er.syscall === "stat")
|
|
117678
|
-
|
|
117678
|
+
set12[p] = true;
|
|
117679
117679
|
else
|
|
117680
117680
|
self2.emit("error", er);
|
|
117681
117681
|
if (--n === 0) {
|
|
117682
|
-
self2.matches[index2] =
|
|
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(
|
|
118798
|
-
var index2 = -1, result = Array(
|
|
118799
|
-
|
|
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(
|
|
118805
|
-
var index2 = -1, result = Array(
|
|
118806
|
-
|
|
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 :
|
|
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 =
|
|
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
|
|
120064
|
-
if (
|
|
120065
|
-
return setToArray(
|
|
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
|
|
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
|
|
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 =
|
|
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 =
|
|
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
|
|
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(
|
|
162392
|
-
|
|
162393
|
-
return
|
|
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(
|
|
162398
|
-
|
|
162399
|
-
return
|
|
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,
|
|
164994
|
+
var setLazyProperty = (object2, property, get15) => {
|
|
164995
164995
|
Object.defineProperty(object2, property, {
|
|
164996
164996
|
get: () => {
|
|
164997
|
-
const value2 =
|
|
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
|
|
166275
|
+
function set12(object2, path16, value2) {
|
|
166276
166276
|
return object2 == null ? object2 : baseSet(object2, path16, value2);
|
|
166277
166277
|
}
|
|
166278
|
-
module2.exports =
|
|
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
|
|
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:
|
|
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.
|
|
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
|
|
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) {
|
|
@@ -217045,7 +217049,9 @@ var builtInShapes = {
|
|
|
217045
217049
|
chatSessionIds: { type: "object" },
|
|
217046
217050
|
sessionMemory: { type: "object" },
|
|
217047
217051
|
stateOutputs: { type: "object" },
|
|
217048
|
-
currentValue: { type: "object" }
|
|
217052
|
+
currentValue: { type: "object" },
|
|
217053
|
+
userHistory: { type: "array", items: { type: "object" } },
|
|
217054
|
+
agentHistory: { type: "array", items: { type: "object" } }
|
|
217049
217055
|
}
|
|
217050
217056
|
}
|
|
217051
217057
|
},
|
|
@@ -217277,7 +217283,7 @@ var SERVICE_OBJECT_PATTERN_NAME = "pattern:service-object";
|
|
|
217277
217283
|
// ../schema/dist/content-schema-transform.js
|
|
217278
217284
|
var import_difference2 = __toESM(require_difference(), 1);
|
|
217279
217285
|
var import_forEach3 = __toESM(require_forEach(), 1);
|
|
217280
|
-
var
|
|
217286
|
+
var import_get7 = __toESM(require_get(), 1);
|
|
217281
217287
|
var import_pick = __toESM(require_pick(), 1);
|
|
217282
217288
|
|
|
217283
217289
|
// ../errors/dist/base-error.js
|
|
@@ -217338,7 +217344,7 @@ var SchemaValidationError = class extends BaseError {
|
|
|
217338
217344
|
var import_compact2 = __toESM(require_compact(), 1);
|
|
217339
217345
|
var import_assign = __toESM(require_assign2(), 1);
|
|
217340
217346
|
var import_omit2 = __toESM(require_omit2(), 1);
|
|
217341
|
-
var
|
|
217347
|
+
var import_get6 = __toESM(require_get(), 1);
|
|
217342
217348
|
var import_isString4 = __toESM(require_isString(), 1);
|
|
217343
217349
|
|
|
217344
217350
|
// ../schema/dist/scalars.js
|
|
@@ -220927,11 +220933,115 @@ var experimental_default = {
|
|
|
220927
220933
|
items: {
|
|
220928
220934
|
$ref: "#/definitions/agentGuard"
|
|
220929
220935
|
}
|
|
220936
|
+
},
|
|
220937
|
+
historyStrategies: {
|
|
220938
|
+
$ref: "#/definitions/historyStrategyMap"
|
|
220930
220939
|
}
|
|
220931
220940
|
},
|
|
220932
220941
|
required: ["start", "states", "api"],
|
|
220933
220942
|
additionalProperties: false
|
|
220934
220943
|
},
|
|
220944
|
+
historyStrategyMap: {
|
|
220945
|
+
title: "History Strategy Map",
|
|
220946
|
+
type: "object",
|
|
220947
|
+
patternProperties: {
|
|
220948
|
+
"^[0-9A-Za-z_]+$": {
|
|
220949
|
+
$ref: "#/definitions/historyStrategy"
|
|
220950
|
+
}
|
|
220951
|
+
},
|
|
220952
|
+
additionalProperties: false
|
|
220953
|
+
},
|
|
220954
|
+
historyStrategy: {
|
|
220955
|
+
title: "History Strategy",
|
|
220956
|
+
type: "object",
|
|
220957
|
+
properties: {
|
|
220958
|
+
name: {
|
|
220959
|
+
type: "string"
|
|
220960
|
+
},
|
|
220961
|
+
variables: {
|
|
220962
|
+
title: "Variables",
|
|
220963
|
+
type: "array",
|
|
220964
|
+
items: {
|
|
220965
|
+
$ref: "#/definitions/agentVariable"
|
|
220966
|
+
}
|
|
220967
|
+
},
|
|
220968
|
+
filter: {
|
|
220969
|
+
$ref: "#/definitions/historyStrategyFilter"
|
|
220970
|
+
},
|
|
220971
|
+
execution: {
|
|
220972
|
+
$ref: "#/definitions/historyStrategyExecution"
|
|
220973
|
+
}
|
|
220974
|
+
},
|
|
220975
|
+
required: ["name", "execution"],
|
|
220976
|
+
additionalProperties: false
|
|
220977
|
+
},
|
|
220978
|
+
historyStrategyFilter: {
|
|
220979
|
+
title: "History Strategy Filter",
|
|
220980
|
+
type: "object",
|
|
220981
|
+
properties: {
|
|
220982
|
+
toolCalls: {
|
|
220983
|
+
enum: ["retain", "clear"]
|
|
220984
|
+
}
|
|
220985
|
+
},
|
|
220986
|
+
additionalProperties: false
|
|
220987
|
+
},
|
|
220988
|
+
historyStrategyExecution: {
|
|
220989
|
+
title: "History Strategy Execution",
|
|
220990
|
+
discriminator: {
|
|
220991
|
+
propertyName: "type"
|
|
220992
|
+
},
|
|
220993
|
+
oneOf: [
|
|
220994
|
+
{
|
|
220995
|
+
$ref: "#/definitions/historyStrategyExecutionReplace"
|
|
220996
|
+
},
|
|
220997
|
+
{
|
|
220998
|
+
$ref: "#/definitions/historyStrategyExecutionSummarize"
|
|
220999
|
+
}
|
|
221000
|
+
]
|
|
221001
|
+
},
|
|
221002
|
+
historyStrategyExecutionReplace: {
|
|
221003
|
+
title: "History Strategy Execution Replace",
|
|
221004
|
+
type: "object",
|
|
221005
|
+
properties: {
|
|
221006
|
+
type: {
|
|
221007
|
+
enum: ["replace"]
|
|
221008
|
+
},
|
|
221009
|
+
template: {
|
|
221010
|
+
type: "string"
|
|
221011
|
+
}
|
|
221012
|
+
},
|
|
221013
|
+
required: ["type", "template"],
|
|
221014
|
+
additionalProperties: false
|
|
221015
|
+
},
|
|
221016
|
+
historyStrategyExecutionSummarize: {
|
|
221017
|
+
title: "History Strategy Execution Summarize",
|
|
221018
|
+
type: "object",
|
|
221019
|
+
properties: {
|
|
221020
|
+
type: {
|
|
221021
|
+
enum: ["generate"]
|
|
221022
|
+
},
|
|
221023
|
+
service: {
|
|
221024
|
+
type: "string"
|
|
221025
|
+
},
|
|
221026
|
+
model: {
|
|
221027
|
+
type: "string"
|
|
221028
|
+
},
|
|
221029
|
+
systemPrompt: {
|
|
221030
|
+
type: "string"
|
|
221031
|
+
},
|
|
221032
|
+
tools: {
|
|
221033
|
+
type: "array",
|
|
221034
|
+
items: {
|
|
221035
|
+
$ref: "#/definitions/agentToolConfig"
|
|
221036
|
+
}
|
|
221037
|
+
},
|
|
221038
|
+
options: {
|
|
221039
|
+
$ref: "#/definitions/agentGenerateOptions"
|
|
221040
|
+
}
|
|
221041
|
+
},
|
|
221042
|
+
required: ["type", "service", "model", "systemPrompt"],
|
|
221043
|
+
additionalProperties: false
|
|
221044
|
+
},
|
|
220935
221045
|
tool: {
|
|
220936
221046
|
title: "Tool JSON",
|
|
220937
221047
|
type: "object",
|
|
@@ -221501,59 +221611,6 @@ var experimental_default = {
|
|
|
221501
221611
|
required: ["type", "argName", "variableName"],
|
|
221502
221612
|
additionalProperties: false
|
|
221503
221613
|
},
|
|
221504
|
-
agentChatHistoryConfig: {
|
|
221505
|
-
title: "Agent Chat History Config",
|
|
221506
|
-
discriminator: {
|
|
221507
|
-
propertyName: "type"
|
|
221508
|
-
},
|
|
221509
|
-
oneOf: [
|
|
221510
|
-
{
|
|
221511
|
-
$ref: "#/definitions/agentChatHistoryRetain"
|
|
221512
|
-
},
|
|
221513
|
-
{
|
|
221514
|
-
$ref: "#/definitions/agentChatHistorySummarize"
|
|
221515
|
-
},
|
|
221516
|
-
{
|
|
221517
|
-
$ref: "#/definitions/agentChatHistoryClear"
|
|
221518
|
-
}
|
|
221519
|
-
]
|
|
221520
|
-
},
|
|
221521
|
-
agentChatHistoryRetain: {
|
|
221522
|
-
title: "Agent Chat History Retain",
|
|
221523
|
-
type: "object",
|
|
221524
|
-
properties: {
|
|
221525
|
-
type: {
|
|
221526
|
-
enum: ["retain"]
|
|
221527
|
-
}
|
|
221528
|
-
},
|
|
221529
|
-
required: ["type"],
|
|
221530
|
-
additionalProperties: false
|
|
221531
|
-
},
|
|
221532
|
-
agentChatHistorySummarize: {
|
|
221533
|
-
title: "Agent Chat History Summarize",
|
|
221534
|
-
type: "object",
|
|
221535
|
-
properties: {
|
|
221536
|
-
type: {
|
|
221537
|
-
enum: ["summarize"]
|
|
221538
|
-
},
|
|
221539
|
-
toolCalls: {
|
|
221540
|
-
enum: ["retain", "clear"]
|
|
221541
|
-
}
|
|
221542
|
-
},
|
|
221543
|
-
required: ["type", "toolCalls"],
|
|
221544
|
-
additionalProperties: false
|
|
221545
|
-
},
|
|
221546
|
-
agentChatHistoryClear: {
|
|
221547
|
-
title: "Agent Chat History Clear",
|
|
221548
|
-
type: "object",
|
|
221549
|
-
properties: {
|
|
221550
|
-
type: {
|
|
221551
|
-
enum: ["clear"]
|
|
221552
|
-
}
|
|
221553
|
-
},
|
|
221554
|
-
required: ["type"],
|
|
221555
|
-
additionalProperties: false
|
|
221556
|
-
},
|
|
221557
221614
|
agentExecutionGenerate: {
|
|
221558
221615
|
title: "Agent Execution Generate",
|
|
221559
221616
|
type: "object",
|
|
@@ -221617,9 +221674,6 @@ var experimental_default = {
|
|
|
221617
221674
|
$ref: "#/definitions/agentToolConfig"
|
|
221618
221675
|
}
|
|
221619
221676
|
},
|
|
221620
|
-
history: {
|
|
221621
|
-
$ref: "#/definitions/agentChatHistoryConfig"
|
|
221622
|
-
},
|
|
221623
221677
|
options: {
|
|
221624
221678
|
$ref: "#/definitions/agentGenerateOptions"
|
|
221625
221679
|
}
|
|
@@ -221644,6 +221698,9 @@ var experimental_default = {
|
|
|
221644
221698
|
},
|
|
221645
221699
|
limit: {
|
|
221646
221700
|
type: "integer"
|
|
221701
|
+
},
|
|
221702
|
+
historyStrategy: {
|
|
221703
|
+
type: "string"
|
|
221647
221704
|
}
|
|
221648
221705
|
},
|
|
221649
221706
|
additionalProperties: false,
|
|
@@ -221669,6 +221726,17 @@ var experimental_default = {
|
|
|
221669
221726
|
},
|
|
221670
221727
|
additionalProperties: false
|
|
221671
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
|
+
},
|
|
221672
221740
|
aiExperimental: {
|
|
221673
221741
|
title: "AI Experimental",
|
|
221674
221742
|
type: "object",
|
|
@@ -221681,9 +221749,9 @@ var experimental_default = {
|
|
|
221681
221749
|
$ref: "#/definitions/guardMap",
|
|
221682
221750
|
description: "A Guard is a configuration for an AI guardrail that can check inputs and outputs and provide safety and compliance."
|
|
221683
221751
|
},
|
|
221684
|
-
|
|
221685
|
-
$ref: "#/definitions/
|
|
221686
|
-
description: "
|
|
221752
|
+
mcp: {
|
|
221753
|
+
$ref: "#/definitions/mcpConfig",
|
|
221754
|
+
description: "MCP server configuration"
|
|
221687
221755
|
}
|
|
221688
221756
|
},
|
|
221689
221757
|
additionalProperties: false
|
|
@@ -221725,6 +221793,12 @@ var experimental_default = {
|
|
|
221725
221793
|
title: "Description",
|
|
221726
221794
|
description: "A description of the Guard."
|
|
221727
221795
|
},
|
|
221796
|
+
enabled: {
|
|
221797
|
+
type: "boolean",
|
|
221798
|
+
title: "Enabled",
|
|
221799
|
+
description: "Guards will not run unless enabled.",
|
|
221800
|
+
default: true
|
|
221801
|
+
},
|
|
221728
221802
|
guardrailIdentifier: {
|
|
221729
221803
|
type: "string",
|
|
221730
221804
|
title: "Guardrail Identifier",
|
|
@@ -377208,16 +377282,16 @@ function refItemToShapePath(context, refItem) {
|
|
|
377208
377282
|
}
|
|
377209
377283
|
function refItemToShape(context, refItem) {
|
|
377210
377284
|
const shapePath = refItemToShapePath(context, refItem);
|
|
377211
|
-
return (0,
|
|
377285
|
+
return (0, import_get6.default)(context, shapePath);
|
|
377212
377286
|
}
|
|
377213
377287
|
function refItemToShapeWithPath(context, refItem) {
|
|
377214
377288
|
const shapePath = refItemToShapePath(context, refItem);
|
|
377215
|
-
const shape = (0,
|
|
377289
|
+
const shape = (0, import_get6.default)(context, shapePath);
|
|
377216
377290
|
return shape ? { shape, path: shapePath } : void 0;
|
|
377217
377291
|
}
|
|
377218
377292
|
function refItemToShapeSchema(context, refItem) {
|
|
377219
377293
|
const shapePath = refItemToShapePath(context, refItem);
|
|
377220
|
-
return (0,
|
|
377294
|
+
return (0, import_get6.default)(context, [...shapePath, "schema"]);
|
|
377221
377295
|
}
|
|
377222
377296
|
function getRefShapeName(context, refSchema) {
|
|
377223
377297
|
const refItem = getRef(context, refSchema);
|
|
@@ -378158,7 +378232,7 @@ function getContentTransform({ transforms, accumulators, keyTransform = preferKe
|
|
|
378158
378232
|
const sourceKeys = ensureArray3(sourceKeyTransform(name2, fieldSchema, obj2));
|
|
378159
378233
|
const localizedSourceKeys = getLocalizedSourceKeys(sourceKeys, nonDefaultLocales);
|
|
378160
378234
|
for (const { key: sourceKey, locale: locale2 } of localizedSourceKeys) {
|
|
378161
|
-
const value2 = prepare2(fieldSchema, (0,
|
|
378235
|
+
const value2 = prepare2(fieldSchema, (0, import_get7.default)(obj2, sourceKey), name2, schema5);
|
|
378162
378236
|
if (value2 !== void 0) {
|
|
378163
378237
|
assigned.add(sourceKey);
|
|
378164
378238
|
const transform2 = findTransforms(transforms, dereferenceSchema(projectSchema, fieldSchema), name2);
|
|
@@ -378266,7 +378340,7 @@ function isEnumLikeSchema(schema5) {
|
|
|
378266
378340
|
var import_set7 = __toESM(require_set2(), 1);
|
|
378267
378341
|
|
|
378268
378342
|
// ../schema/dist/template-shapes/templates.js
|
|
378269
|
-
var
|
|
378343
|
+
var import_get11 = __toESM(require_get(), 1);
|
|
378270
378344
|
var import_keyBy3 = __toESM(require_keyBy(), 1);
|
|
378271
378345
|
|
|
378272
378346
|
// ../schema/dist/migration/to/v3.0.0.js
|
|
@@ -378294,15 +378368,15 @@ var import_fromPairs = __toESM(require_fromPairs(), 1);
|
|
|
378294
378368
|
var import_omit5 = __toESM(require_omit(), 1);
|
|
378295
378369
|
|
|
378296
378370
|
// ../schema/dist/migration/to/v3.13.0.js
|
|
378297
|
-
var
|
|
378371
|
+
var import_get8 = __toESM(require_get(), 1);
|
|
378298
378372
|
|
|
378299
378373
|
// ../schema/dist/migration/to/v3.17.0.js
|
|
378300
|
-
var
|
|
378374
|
+
var import_get9 = __toESM(require_get(), 1);
|
|
378301
378375
|
var import_omit6 = __toESM(require_omit(), 1);
|
|
378302
378376
|
var import_set3 = __toESM(require_set2(), 1);
|
|
378303
378377
|
|
|
378304
378378
|
// ../schema/dist/migration/to/v3.18.0.js
|
|
378305
|
-
var
|
|
378379
|
+
var import_get10 = __toESM(require_get(), 1);
|
|
378306
378380
|
var import_omit7 = __toESM(require_omit(), 1);
|
|
378307
378381
|
var import_set4 = __toESM(require_set2(), 1);
|
|
378308
378382
|
|
|
@@ -379091,7 +379165,7 @@ function rewriteRefs(context, shapeSchema, rewriteShapeName) {
|
|
|
379091
379165
|
const newSchema = deepClone(shapeSchema);
|
|
379092
379166
|
visit3(newSchema, ["$ref", "@ref"], (_, path16) => {
|
|
379093
379167
|
const parentPath = path16.slice(0, -1);
|
|
379094
|
-
const value2 = (0,
|
|
379168
|
+
const value2 = (0, import_get11.default)(newSchema, parentPath);
|
|
379095
379169
|
if ((value2["@ref"] || value2.$ref) && !parentPath.includes("@input") && !parentPath.includes("@output")) {
|
|
379096
379170
|
const refItem = getRef(context, value2);
|
|
379097
379171
|
if (refItem) {
|
|
@@ -379299,7 +379373,7 @@ var import_isError = __toESM(require_isError(), 1);
|
|
|
379299
379373
|
var import_set9 = __toESM(require_set2(), 1);
|
|
379300
379374
|
|
|
379301
379375
|
// ../schema/dist/service-dependencies.js
|
|
379302
|
-
var
|
|
379376
|
+
var import_get12 = __toESM(require_get(), 1);
|
|
379303
379377
|
var import_isObject3 = __toESM(require_isObject(), 1);
|
|
379304
379378
|
var import_pick4 = __toESM(require_pick(), 1);
|
|
379305
379379
|
var import_set8 = __toESM(require_set2(), 1);
|
|
@@ -380650,9 +380724,12 @@ function validateExpression(expression) {
|
|
|
380650
380724
|
}
|
|
380651
380725
|
}
|
|
380652
380726
|
|
|
380653
|
-
// ../schema/dist/util/
|
|
380727
|
+
// ../schema/dist/util/mcp.js
|
|
380654
380728
|
var import_set10 = __toESM(require_set3(), 1);
|
|
380655
|
-
|
|
380729
|
+
|
|
380730
|
+
// ../schema/dist/util/patch-schema.js
|
|
380731
|
+
var import_set11 = __toESM(require_set3(), 1);
|
|
380732
|
+
var import_get13 = __toESM(require_get(), 1);
|
|
380656
380733
|
var import_omit9 = __toESM(require_omit(), 1);
|
|
380657
380734
|
var import_unset6 = __toESM(require_unset(), 1);
|
|
380658
380735
|
|
|
@@ -382332,7 +382409,7 @@ JSONPath.prototype.vm = import_vm.default;
|
|
|
382332
382409
|
|
|
382333
382410
|
// ../schema/dist/validate/validate.js
|
|
382334
382411
|
var import_flatten3 = __toESM(require_flatten(), 1);
|
|
382335
|
-
var
|
|
382412
|
+
var import_get14 = __toESM(require_get(), 1);
|
|
382336
382413
|
var import_initial = __toESM(require_initial(), 1);
|
|
382337
382414
|
var import_isEqual3 = __toESM(require_isEqual(), 1);
|
|
382338
382415
|
var import_isUndefined3 = __toESM(require_isUndefined(), 1);
|
|
@@ -382750,7 +382827,7 @@ function checkShapeNames(shapes) {
|
|
|
382750
382827
|
}
|
|
382751
382828
|
function checkToolNames(tools) {
|
|
382752
382829
|
return Object.entries(tools).filter(([name, tool]) => name !== tool.name).map(([name, tool]) => ({
|
|
382753
|
-
path: ["ai-experimental", "tools", name, "name"],
|
|
382830
|
+
path: ["ai-experimental", "mcp", "tools", name, "name"],
|
|
382754
382831
|
type: "conflict",
|
|
382755
382832
|
message: `Tool.name "${tool.name}" must match key "${name}".`
|
|
382756
382833
|
}));
|
|
@@ -382854,7 +382931,7 @@ var validateAIToolConfig = (projectSchema, getNamespace2, tool, basePath) => {
|
|
|
382854
382931
|
message: "Tools must be a query or mutation"
|
|
382855
382932
|
};
|
|
382856
382933
|
}
|
|
382857
|
-
const property = (0,
|
|
382934
|
+
const property = (0, import_get14.default)(projectSchema, propertyPath);
|
|
382858
382935
|
if (propertyPath[0] === "mutations" && isValidAgentMutation(projectSchema, propertyPath[1])) {
|
|
382859
382936
|
return;
|
|
382860
382937
|
}
|
|
@@ -382890,7 +382967,7 @@ function validateResolver(projectSchema, basePath, baseResolver) {
|
|
|
382890
382967
|
if (parsed.layerId !== "local") {
|
|
382891
382968
|
return;
|
|
382892
382969
|
}
|
|
382893
|
-
const targetResolver = (0,
|
|
382970
|
+
const targetResolver = (0, import_get14.default)(projectSchema, propertyRefItemToResolverPath(getNamespace2, parsed));
|
|
382894
382971
|
if (!isBasicResolver(targetResolver) && !isComposeResolver(targetResolver)) {
|
|
382895
382972
|
return {
|
|
382896
382973
|
type: "notFound",
|
|
@@ -383029,7 +383106,7 @@ async function validateResolverReferences(context, projectSchema, basePath, base
|
|
|
383029
383106
|
return false;
|
|
383030
383107
|
}
|
|
383031
383108
|
const layerState = await context.resolveLayer(ref.layerId);
|
|
383032
|
-
return layerState.status === "ok" ? !(0,
|
|
383109
|
+
return layerState.status === "ok" ? !(0, import_get14.default)(layerState.schema, propertyRefItemToPath(value(""), ref)) : !allowDisconnected(context, layerState.status);
|
|
383033
383110
|
};
|
|
383034
383111
|
await (0, import_p_map.default)(enumerateBasicResolvers(baseResolver, basePath), async ([resolver, path16]) => {
|
|
383035
383112
|
if (resolver.name === "graphql:query" || resolver.name === "graphql:mutation") {
|
|
@@ -383159,7 +383236,7 @@ function validateShapeLoaders(context, projectSchema, shape) {
|
|
|
383159
383236
|
if (listLoader) {
|
|
383160
383237
|
ensureArray2(listLoader).forEach((config, i2) => {
|
|
383161
383238
|
const ref = parsePropertyRef(config.query);
|
|
383162
|
-
const query = ref && (0,
|
|
383239
|
+
const query = ref && (0, import_get14.default)(projectSchema, propertyRefItemToPath(getNamespace2, ref));
|
|
383163
383240
|
if (!query) {
|
|
383164
383241
|
errors.push({
|
|
383165
383242
|
path: Array.isArray(listLoader) ? ["shapes", shape.name, "loaders", "list", i2, "query"] : ["shapes", shape.name, "loaders", "list", "query"],
|
|
@@ -383172,7 +383249,7 @@ function validateShapeLoaders(context, projectSchema, shape) {
|
|
|
383172
383249
|
const getLoader = shape.loaders.get;
|
|
383173
383250
|
if (getLoader) {
|
|
383174
383251
|
const ref = parsePropertyRef(getLoader.query);
|
|
383175
|
-
const query = ref && (0,
|
|
383252
|
+
const query = ref && (0, import_get14.default)(projectSchema, propertyRefItemToPath(getNamespace2, ref));
|
|
383176
383253
|
if (!query) {
|
|
383177
383254
|
errors.push({
|
|
383178
383255
|
path: ["shapes", shape.name, "loaders", "get", "query"],
|
|
@@ -383255,9 +383332,9 @@ function validateLocalRefs(projectSchema) {
|
|
|
383255
383332
|
}
|
|
383256
383333
|
const shapeName = refItemToNamespacedShapeName(projectSchema, item2);
|
|
383257
383334
|
if (!shapeNames.has(shapeName)) {
|
|
383258
|
-
const invalidRef = (0,
|
|
383335
|
+
const invalidRef = (0, import_get14.default)(projectSchema, item2.path);
|
|
383259
383336
|
const path16 = invalidRef.items ? [...item2.path, "items", "@ref"] : item2.path;
|
|
383260
|
-
const ref = (0,
|
|
383337
|
+
const ref = (0, import_get14.default)(projectSchema, path16);
|
|
383261
383338
|
errors.push({
|
|
383262
383339
|
type: "notFound",
|
|
383263
383340
|
path: path16,
|
|
@@ -383272,7 +383349,7 @@ function validateLocalRefs(projectSchema) {
|
|
|
383272
383349
|
});
|
|
383273
383350
|
}
|
|
383274
383351
|
const parentPath = (0, import_initial.default)(item2.path);
|
|
383275
|
-
const parentSchema = (0,
|
|
383352
|
+
const parentSchema = (0, import_get14.default)(projectSchema, parentPath);
|
|
383276
383353
|
const propName = (0, import_last3.default)(item2.path);
|
|
383277
383354
|
if (propName === "@ref" && parentSchema.$ref) {
|
|
383278
383355
|
errors.push({
|
|
@@ -383319,11 +383396,11 @@ async function validateRefs(context, projectSchema) {
|
|
|
383319
383396
|
errors.push({
|
|
383320
383397
|
type: "notFound",
|
|
383321
383398
|
path: item2.path,
|
|
383322
|
-
message: `Invalid ref "${(0,
|
|
383399
|
+
message: `Invalid ref "${(0, import_get14.default)(projectSchema, item2.path)}"`
|
|
383323
383400
|
});
|
|
383324
383401
|
} else if (mustBeInterface(item2) && (layerId === "local" || layer?.status === "ok")) {
|
|
383325
383402
|
const context2 = layer?.schema ?? projectSchema;
|
|
383326
|
-
const shape = (0,
|
|
383403
|
+
const shape = (0, import_get14.default)(context2, item2.path.slice(0, 2));
|
|
383327
383404
|
const layerWithServices = { ...context2, services: projectSchema.services };
|
|
383328
383405
|
errors.push(...validateShapeImplementsInterface(layerWithServices, shape, item2, item2.path));
|
|
383329
383406
|
}
|
|
@@ -383555,6 +383632,20 @@ function validateAgents(projectSchema) {
|
|
|
383555
383632
|
})));
|
|
383556
383633
|
}
|
|
383557
383634
|
}
|
|
383635
|
+
if (agent.historyStrategies) {
|
|
383636
|
+
const seenStrategyNames = /* @__PURE__ */ new Set();
|
|
383637
|
+
for (const [historyStrategyId, historyStrategy] of Object.entries(agent.historyStrategies)) {
|
|
383638
|
+
if (seenStrategyNames.has(historyStrategy.name)) {
|
|
383639
|
+
errors.push({
|
|
383640
|
+
path: [...agentPath, "historyStrategies", historyStrategyId, "name"],
|
|
383641
|
+
type: "conflict",
|
|
383642
|
+
message: `Duplicate history strategy name "${historyStrategy.name}"`
|
|
383643
|
+
});
|
|
383644
|
+
} else {
|
|
383645
|
+
seenStrategyNames.add(historyStrategy.name);
|
|
383646
|
+
}
|
|
383647
|
+
}
|
|
383648
|
+
}
|
|
383558
383649
|
}
|
|
383559
383650
|
return errors;
|
|
383560
383651
|
}
|
|
@@ -383627,12 +383718,12 @@ function validateGuards(context, schema5) {
|
|
|
383627
383718
|
if (context.ignoreEntitlements) {
|
|
383628
383719
|
return errors;
|
|
383629
383720
|
}
|
|
383630
|
-
const
|
|
383631
|
-
const
|
|
383632
|
-
if (
|
|
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) {
|
|
383633
383724
|
errors.push({
|
|
383634
383725
|
type: "entitlement",
|
|
383635
|
-
message: `Number of guards exceeds your entitled limit of ${
|
|
383726
|
+
message: `Number of enabled guards exceeds your entitled limit of ${entitledGuards}`,
|
|
383636
383727
|
path: ["ai-experimental", "guards"]
|
|
383637
383728
|
});
|
|
383638
383729
|
}
|
|
@@ -383650,8 +383741,9 @@ function formatValidationResult(context, errors, schema5) {
|
|
|
383650
383741
|
function validateSyntax(context, schema5) {
|
|
383651
383742
|
let errors = [];
|
|
383652
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));
|
|
383653
|
-
|
|
383654
|
-
|
|
383744
|
+
const mcpTools = schema5["ai-experimental"]?.mcp?.tools;
|
|
383745
|
+
if (mcpTools) {
|
|
383746
|
+
errors = errors.concat(checkToolNames(mcpTools ?? {}));
|
|
383655
383747
|
}
|
|
383656
383748
|
return formatValidationResult(context, errors, schema5);
|
|
383657
383749
|
}
|
|
@@ -391569,10 +391661,10 @@ var builtinDirectives = [
|
|
|
391569
391661
|
var IMPORT_FROM_REGEX = /^import\s+(\*|(.*))\s+from\s+('|")(.*)('|");?$/;
|
|
391570
391662
|
var IMPORT_DEFAULT_REGEX = /^import\s+('|")(.*)('|");?$/;
|
|
391571
391663
|
function processImport(filePath, cwd4 = (0, import_process2.cwd)(), predefinedImports = {}, visitedFiles = /* @__PURE__ */ new Map()) {
|
|
391572
|
-
const
|
|
391664
|
+
const set12 = visitFile(filePath, (0, import_path.join)(cwd4 + "/root.graphql"), visitedFiles, predefinedImports);
|
|
391573
391665
|
const definitionStrSet = /* @__PURE__ */ new Set();
|
|
391574
391666
|
let definitionsStr = "";
|
|
391575
|
-
for (const defs of
|
|
391667
|
+
for (const defs of set12.values()) {
|
|
391576
391668
|
for (const def of defs) {
|
|
391577
391669
|
const defStr = (0, import_graphql79.print)(def);
|
|
391578
391670
|
if (!definitionStrSet.has(defStr)) {
|
|
@@ -391944,14 +392036,14 @@ function addInterfaceDependencies(node, dependencySet, dependenciesByDefinitionN
|
|
|
391944
392036
|
node.interfaces?.forEach((namedTypeNode) => {
|
|
391945
392037
|
visitNamedTypeNode(namedTypeNode, dependencySet);
|
|
391946
392038
|
const interfaceName = namedTypeNode.name.value;
|
|
391947
|
-
let
|
|
391948
|
-
if (
|
|
391949
|
-
|
|
391950
|
-
dependenciesByDefinitionName.set(interfaceName,
|
|
392039
|
+
let set12 = dependenciesByDefinitionName.get(interfaceName);
|
|
392040
|
+
if (set12 == null) {
|
|
392041
|
+
set12 = /* @__PURE__ */ new Set();
|
|
392042
|
+
dependenciesByDefinitionName.set(interfaceName, set12);
|
|
391951
392043
|
}
|
|
391952
392044
|
allDependencies.forEach((dependency) => {
|
|
391953
392045
|
if (dependency !== interfaceName) {
|
|
391954
|
-
|
|
392046
|
+
set12.add(dependency);
|
|
391955
392047
|
}
|
|
391956
392048
|
});
|
|
391957
392049
|
});
|