@topolo/mcp 0.11.12 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/http.js +893 -695
- package/dist/index.js +806 -36
- package/package.json +10 -5
package/dist/http.js
CHANGED
|
@@ -28,9 +28,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
28
28
|
mod
|
|
29
29
|
));
|
|
30
30
|
|
|
31
|
-
// node_modules/content-type/index.js
|
|
31
|
+
// node_modules/.pnpm/content-type@1.0.5/node_modules/content-type/index.js
|
|
32
32
|
var require_content_type = __commonJS({
|
|
33
|
-
"node_modules/content-type/index.js"(exports) {
|
|
33
|
+
"node_modules/.pnpm/content-type@1.0.5/node_modules/content-type/index.js"(exports) {
|
|
34
34
|
"use strict";
|
|
35
35
|
var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g;
|
|
36
36
|
var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/;
|
|
@@ -132,9 +132,9 @@ var require_content_type = __commonJS({
|
|
|
132
132
|
}
|
|
133
133
|
});
|
|
134
134
|
|
|
135
|
-
// node_modules/ajv/dist/compile/codegen/code.js
|
|
135
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js
|
|
136
136
|
var require_code = __commonJS({
|
|
137
|
-
"node_modules/ajv/dist/compile/codegen/code.js"(exports) {
|
|
137
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js"(exports) {
|
|
138
138
|
"use strict";
|
|
139
139
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
140
140
|
exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
|
|
@@ -286,9 +286,9 @@ var require_code = __commonJS({
|
|
|
286
286
|
}
|
|
287
287
|
});
|
|
288
288
|
|
|
289
|
-
// node_modules/ajv/dist/compile/codegen/scope.js
|
|
289
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js
|
|
290
290
|
var require_scope = __commonJS({
|
|
291
|
-
"node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
|
|
291
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
|
|
292
292
|
"use strict";
|
|
293
293
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
294
294
|
exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
|
|
@@ -431,9 +431,9 @@ var require_scope = __commonJS({
|
|
|
431
431
|
}
|
|
432
432
|
});
|
|
433
433
|
|
|
434
|
-
// node_modules/ajv/dist/compile/codegen/index.js
|
|
434
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js
|
|
435
435
|
var require_codegen = __commonJS({
|
|
436
|
-
"node_modules/ajv/dist/compile/codegen/index.js"(exports) {
|
|
436
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js"(exports) {
|
|
437
437
|
"use strict";
|
|
438
438
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
439
439
|
exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
|
|
@@ -1151,9 +1151,9 @@ var require_codegen = __commonJS({
|
|
|
1151
1151
|
}
|
|
1152
1152
|
});
|
|
1153
1153
|
|
|
1154
|
-
// node_modules/ajv/dist/compile/util.js
|
|
1154
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js
|
|
1155
1155
|
var require_util = __commonJS({
|
|
1156
|
-
"node_modules/ajv/dist/compile/util.js"(exports) {
|
|
1156
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js"(exports) {
|
|
1157
1157
|
"use strict";
|
|
1158
1158
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1159
1159
|
exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
|
|
@@ -1318,9 +1318,9 @@ var require_util = __commonJS({
|
|
|
1318
1318
|
}
|
|
1319
1319
|
});
|
|
1320
1320
|
|
|
1321
|
-
// node_modules/ajv/dist/compile/names.js
|
|
1321
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js
|
|
1322
1322
|
var require_names = __commonJS({
|
|
1323
|
-
"node_modules/ajv/dist/compile/names.js"(exports) {
|
|
1323
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js"(exports) {
|
|
1324
1324
|
"use strict";
|
|
1325
1325
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1326
1326
|
var codegen_1 = require_codegen();
|
|
@@ -1357,9 +1357,9 @@ var require_names = __commonJS({
|
|
|
1357
1357
|
}
|
|
1358
1358
|
});
|
|
1359
1359
|
|
|
1360
|
-
// node_modules/ajv/dist/compile/errors.js
|
|
1360
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js
|
|
1361
1361
|
var require_errors = __commonJS({
|
|
1362
|
-
"node_modules/ajv/dist/compile/errors.js"(exports) {
|
|
1362
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js"(exports) {
|
|
1363
1363
|
"use strict";
|
|
1364
1364
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1365
1365
|
exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
|
|
@@ -1479,9 +1479,9 @@ var require_errors = __commonJS({
|
|
|
1479
1479
|
}
|
|
1480
1480
|
});
|
|
1481
1481
|
|
|
1482
|
-
// node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
1482
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
1483
1483
|
var require_boolSchema = __commonJS({
|
|
1484
|
-
"node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
|
|
1484
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
|
|
1485
1485
|
"use strict";
|
|
1486
1486
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1487
1487
|
exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
|
|
@@ -1530,9 +1530,9 @@ var require_boolSchema = __commonJS({
|
|
|
1530
1530
|
}
|
|
1531
1531
|
});
|
|
1532
1532
|
|
|
1533
|
-
// node_modules/ajv/dist/compile/rules.js
|
|
1533
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js
|
|
1534
1534
|
var require_rules = __commonJS({
|
|
1535
|
-
"node_modules/ajv/dist/compile/rules.js"(exports) {
|
|
1535
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js"(exports) {
|
|
1536
1536
|
"use strict";
|
|
1537
1537
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1538
1538
|
exports.getRules = exports.isJSONType = void 0;
|
|
@@ -1561,9 +1561,9 @@ var require_rules = __commonJS({
|
|
|
1561
1561
|
}
|
|
1562
1562
|
});
|
|
1563
1563
|
|
|
1564
|
-
// node_modules/ajv/dist/compile/validate/applicability.js
|
|
1564
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js
|
|
1565
1565
|
var require_applicability = __commonJS({
|
|
1566
|
-
"node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
|
|
1566
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
|
|
1567
1567
|
"use strict";
|
|
1568
1568
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1569
1569
|
exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
|
|
@@ -1584,9 +1584,9 @@ var require_applicability = __commonJS({
|
|
|
1584
1584
|
}
|
|
1585
1585
|
});
|
|
1586
1586
|
|
|
1587
|
-
// node_modules/ajv/dist/compile/validate/dataType.js
|
|
1587
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js
|
|
1588
1588
|
var require_dataType = __commonJS({
|
|
1589
|
-
"node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
|
|
1589
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
|
|
1590
1590
|
"use strict";
|
|
1591
1591
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1592
1592
|
exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
|
|
@@ -1768,9 +1768,9 @@ var require_dataType = __commonJS({
|
|
|
1768
1768
|
}
|
|
1769
1769
|
});
|
|
1770
1770
|
|
|
1771
|
-
// node_modules/ajv/dist/compile/validate/defaults.js
|
|
1771
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js
|
|
1772
1772
|
var require_defaults = __commonJS({
|
|
1773
|
-
"node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
|
|
1773
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
|
|
1774
1774
|
"use strict";
|
|
1775
1775
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1776
1776
|
exports.assignDefaults = void 0;
|
|
@@ -1805,9 +1805,9 @@ var require_defaults = __commonJS({
|
|
|
1805
1805
|
}
|
|
1806
1806
|
});
|
|
1807
1807
|
|
|
1808
|
-
// node_modules/ajv/dist/vocabularies/code.js
|
|
1808
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js
|
|
1809
1809
|
var require_code2 = __commonJS({
|
|
1810
|
-
"node_modules/ajv/dist/vocabularies/code.js"(exports) {
|
|
1810
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js"(exports) {
|
|
1811
1811
|
"use strict";
|
|
1812
1812
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1813
1813
|
exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
|
|
@@ -1938,9 +1938,9 @@ var require_code2 = __commonJS({
|
|
|
1938
1938
|
}
|
|
1939
1939
|
});
|
|
1940
1940
|
|
|
1941
|
-
// node_modules/ajv/dist/compile/validate/keyword.js
|
|
1941
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js
|
|
1942
1942
|
var require_keyword = __commonJS({
|
|
1943
|
-
"node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
|
|
1943
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
|
|
1944
1944
|
"use strict";
|
|
1945
1945
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1946
1946
|
exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
|
|
@@ -1981,13 +1981,13 @@ var require_keyword = __commonJS({
|
|
|
1981
1981
|
modifyData(cxt);
|
|
1982
1982
|
reportErrs(() => cxt.error());
|
|
1983
1983
|
} else {
|
|
1984
|
-
const ruleErrs = def.async ?
|
|
1984
|
+
const ruleErrs = def.async ? validateAsync3() : validateSync();
|
|
1985
1985
|
if (def.modifying)
|
|
1986
1986
|
modifyData(cxt);
|
|
1987
1987
|
reportErrs(() => addErrs(cxt, ruleErrs));
|
|
1988
1988
|
}
|
|
1989
1989
|
}
|
|
1990
|
-
function
|
|
1990
|
+
function validateAsync3() {
|
|
1991
1991
|
const ruleErrs = gen.let("ruleErrs", null);
|
|
1992
1992
|
gen.try(() => assignValid((0, codegen_1._)`await `), (e) => gen.assign(valid, false).if((0, codegen_1._)`${e} instanceof ${it.ValidationError}`, () => gen.assign(ruleErrs, (0, codegen_1._)`${e}.errors`), () => gen.throw(e)));
|
|
1993
1993
|
return ruleErrs;
|
|
@@ -2056,9 +2056,9 @@ var require_keyword = __commonJS({
|
|
|
2056
2056
|
}
|
|
2057
2057
|
});
|
|
2058
2058
|
|
|
2059
|
-
// node_modules/ajv/dist/compile/validate/subschema.js
|
|
2059
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js
|
|
2060
2060
|
var require_subschema = __commonJS({
|
|
2061
|
-
"node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
|
|
2061
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
|
|
2062
2062
|
"use strict";
|
|
2063
2063
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2064
2064
|
exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
|
|
@@ -2139,9 +2139,9 @@ var require_subschema = __commonJS({
|
|
|
2139
2139
|
}
|
|
2140
2140
|
});
|
|
2141
2141
|
|
|
2142
|
-
// node_modules/fast-deep-equal/index.js
|
|
2142
|
+
// node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
|
|
2143
2143
|
var require_fast_deep_equal = __commonJS({
|
|
2144
|
-
"node_modules/fast-deep-equal/index.js"(exports, module) {
|
|
2144
|
+
"node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js"(exports, module) {
|
|
2145
2145
|
"use strict";
|
|
2146
2146
|
module.exports = function equal(a, b) {
|
|
2147
2147
|
if (a === b) return true;
|
|
@@ -2174,9 +2174,9 @@ var require_fast_deep_equal = __commonJS({
|
|
|
2174
2174
|
}
|
|
2175
2175
|
});
|
|
2176
2176
|
|
|
2177
|
-
// node_modules/json-schema-traverse/index.js
|
|
2177
|
+
// node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
|
|
2178
2178
|
var require_json_schema_traverse = __commonJS({
|
|
2179
|
-
"node_modules/json-schema-traverse/index.js"(exports, module) {
|
|
2179
|
+
"node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js"(exports, module) {
|
|
2180
2180
|
"use strict";
|
|
2181
2181
|
var traverse = module.exports = function(schema, opts, cb) {
|
|
2182
2182
|
if (typeof opts == "function") {
|
|
@@ -2262,9 +2262,9 @@ var require_json_schema_traverse = __commonJS({
|
|
|
2262
2262
|
}
|
|
2263
2263
|
});
|
|
2264
2264
|
|
|
2265
|
-
// node_modules/ajv/dist/compile/resolve.js
|
|
2265
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js
|
|
2266
2266
|
var require_resolve = __commonJS({
|
|
2267
|
-
"node_modules/ajv/dist/compile/resolve.js"(exports) {
|
|
2267
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js"(exports) {
|
|
2268
2268
|
"use strict";
|
|
2269
2269
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2270
2270
|
exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
|
|
@@ -2418,9 +2418,9 @@ var require_resolve = __commonJS({
|
|
|
2418
2418
|
}
|
|
2419
2419
|
});
|
|
2420
2420
|
|
|
2421
|
-
// node_modules/ajv/dist/compile/validate/index.js
|
|
2421
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js
|
|
2422
2422
|
var require_validate = __commonJS({
|
|
2423
|
-
"node_modules/ajv/dist/compile/validate/index.js"(exports) {
|
|
2423
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js"(exports) {
|
|
2424
2424
|
"use strict";
|
|
2425
2425
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2426
2426
|
exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
|
|
@@ -2926,9 +2926,9 @@ var require_validate = __commonJS({
|
|
|
2926
2926
|
}
|
|
2927
2927
|
});
|
|
2928
2928
|
|
|
2929
|
-
// node_modules/ajv/dist/runtime/validation_error.js
|
|
2929
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js
|
|
2930
2930
|
var require_validation_error = __commonJS({
|
|
2931
|
-
"node_modules/ajv/dist/runtime/validation_error.js"(exports) {
|
|
2931
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js"(exports) {
|
|
2932
2932
|
"use strict";
|
|
2933
2933
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2934
2934
|
var ValidationError = class extends Error {
|
|
@@ -2942,9 +2942,9 @@ var require_validation_error = __commonJS({
|
|
|
2942
2942
|
}
|
|
2943
2943
|
});
|
|
2944
2944
|
|
|
2945
|
-
// node_modules/ajv/dist/compile/ref_error.js
|
|
2945
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js
|
|
2946
2946
|
var require_ref_error = __commonJS({
|
|
2947
|
-
"node_modules/ajv/dist/compile/ref_error.js"(exports) {
|
|
2947
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js"(exports) {
|
|
2948
2948
|
"use strict";
|
|
2949
2949
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2950
2950
|
var resolve_1 = require_resolve();
|
|
@@ -2959,9 +2959,9 @@ var require_ref_error = __commonJS({
|
|
|
2959
2959
|
}
|
|
2960
2960
|
});
|
|
2961
2961
|
|
|
2962
|
-
// node_modules/ajv/dist/compile/index.js
|
|
2962
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js
|
|
2963
2963
|
var require_compile = __commonJS({
|
|
2964
|
-
"node_modules/ajv/dist/compile/index.js"(exports) {
|
|
2964
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js"(exports) {
|
|
2965
2965
|
"use strict";
|
|
2966
2966
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2967
2967
|
exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
|
|
@@ -3183,9 +3183,9 @@ var require_compile = __commonJS({
|
|
|
3183
3183
|
}
|
|
3184
3184
|
});
|
|
3185
3185
|
|
|
3186
|
-
// node_modules/ajv/dist/refs/data.json
|
|
3186
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.json
|
|
3187
3187
|
var require_data = __commonJS({
|
|
3188
|
-
"node_modules/ajv/dist/refs/data.json"(exports, module) {
|
|
3188
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.json"(exports, module) {
|
|
3189
3189
|
module.exports = {
|
|
3190
3190
|
$id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
|
3191
3191
|
description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
|
|
@@ -3202,12 +3202,13 @@ var require_data = __commonJS({
|
|
|
3202
3202
|
}
|
|
3203
3203
|
});
|
|
3204
3204
|
|
|
3205
|
-
// node_modules/fast-uri/lib/utils.js
|
|
3205
|
+
// node_modules/.pnpm/fast-uri@3.1.8/node_modules/fast-uri/lib/utils.js
|
|
3206
3206
|
var require_utils = __commonJS({
|
|
3207
|
-
"node_modules/fast-uri/lib/utils.js"(exports, module) {
|
|
3207
|
+
"node_modules/.pnpm/fast-uri@3.1.8/node_modules/fast-uri/lib/utils.js"(exports, module) {
|
|
3208
3208
|
"use strict";
|
|
3209
3209
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
3210
3210
|
var isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u);
|
|
3211
|
+
var isPort = RegExp.prototype.test.bind(/^\d*$/u);
|
|
3211
3212
|
var isHexPair = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu);
|
|
3212
3213
|
var isUnreserved = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu);
|
|
3213
3214
|
var isPathCharacter = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u);
|
|
@@ -3673,8 +3674,12 @@ var require_utils = __commonJS({
|
|
|
3673
3674
|
uriTokens.push(host);
|
|
3674
3675
|
}
|
|
3675
3676
|
if (typeof component.port === "number" || typeof component.port === "string") {
|
|
3677
|
+
const port = String(component.port);
|
|
3678
|
+
if (!isPort(port)) {
|
|
3679
|
+
throw new TypeError("URI port is malformed.");
|
|
3680
|
+
}
|
|
3676
3681
|
uriTokens.push(":");
|
|
3677
|
-
uriTokens.push(
|
|
3682
|
+
uriTokens.push(port);
|
|
3678
3683
|
}
|
|
3679
3684
|
return uriTokens.length ? uriTokens.join("") : void 0;
|
|
3680
3685
|
}
|
|
@@ -3699,9 +3704,9 @@ var require_utils = __commonJS({
|
|
|
3699
3704
|
}
|
|
3700
3705
|
});
|
|
3701
3706
|
|
|
3702
|
-
// node_modules/fast-uri/lib/schemes.js
|
|
3707
|
+
// node_modules/.pnpm/fast-uri@3.1.8/node_modules/fast-uri/lib/schemes.js
|
|
3703
3708
|
var require_schemes = __commonJS({
|
|
3704
|
-
"node_modules/fast-uri/lib/schemes.js"(exports, module) {
|
|
3709
|
+
"node_modules/.pnpm/fast-uri@3.1.8/node_modules/fast-uri/lib/schemes.js"(exports, module) {
|
|
3705
3710
|
"use strict";
|
|
3706
3711
|
var { isUUID } = require_utils();
|
|
3707
3712
|
var URN_REG = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu;
|
|
@@ -3910,9 +3915,9 @@ var require_schemes = __commonJS({
|
|
|
3910
3915
|
}
|
|
3911
3916
|
});
|
|
3912
3917
|
|
|
3913
|
-
// node_modules/fast-uri/index.js
|
|
3918
|
+
// node_modules/.pnpm/fast-uri@3.1.8/node_modules/fast-uri/index.js
|
|
3914
3919
|
var require_fast_uri = __commonJS({
|
|
3915
|
-
"node_modules/fast-uri/index.js"(exports, module) {
|
|
3920
|
+
"node_modules/.pnpm/fast-uri@3.1.8/node_modules/fast-uri/index.js"(exports, module) {
|
|
3916
3921
|
"use strict";
|
|
3917
3922
|
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
|
|
3918
3923
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
@@ -4117,12 +4122,15 @@ var require_fast_uri = __commonJS({
|
|
|
4117
4122
|
}
|
|
4118
4123
|
return false;
|
|
4119
4124
|
}
|
|
4125
|
+
function isIPLiteral(host) {
|
|
4126
|
+
return host[0] === "[" && host[host.length - 1] === "]";
|
|
4127
|
+
}
|
|
4120
4128
|
function hasMalformedComponentPercentEncoding(matches) {
|
|
4121
4129
|
const host = matches[4];
|
|
4122
|
-
return hasMalformedPercentEncoding(matches[3]) || host !== void 0 && !(host
|
|
4130
|
+
return hasMalformedPercentEncoding(matches[3]) || host !== void 0 && !isIPLiteral(host) && hasMalformedPercentEncoding(host) || hasMalformedPercentEncoding(matches[6]) || hasMalformedPercentEncoding(matches[7]) || hasMalformedPercentEncoding(matches[8]);
|
|
4123
4131
|
}
|
|
4124
4132
|
function canonicalizeHost(parsed, options, schemeHandler, isIP) {
|
|
4125
|
-
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && parsed.host
|
|
4133
|
+
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
|
|
4126
4134
|
try {
|
|
4127
4135
|
parsed.host = new URL("http://" + parsed.host).hostname;
|
|
4128
4136
|
} catch (e) {
|
|
@@ -4209,10 +4217,11 @@ var require_fast_uri = __commonJS({
|
|
|
4209
4217
|
if (parsed.host) {
|
|
4210
4218
|
const ipv4result = isIPv4(parsed.host);
|
|
4211
4219
|
if (ipv4result === false) {
|
|
4212
|
-
const bracketedIPLiteral = parsed.host
|
|
4220
|
+
const bracketedIPLiteral = isIPLiteral(parsed.host);
|
|
4221
|
+
const hasIPLiteralBracket = parsed.host.indexOf("[") !== -1 || parsed.host.indexOf("]") !== -1;
|
|
4213
4222
|
const ipv6result = normalizeIPv6(parsed.host);
|
|
4214
4223
|
isIP = ipv6result.isIPV6 || ipv6result.isIPVFuture === true;
|
|
4215
|
-
malformedIPLiteral =
|
|
4224
|
+
malformedIPLiteral = hasIPLiteralBracket && (!bracketedIPLiteral || ipv6result.error === true);
|
|
4216
4225
|
parsed.host = isIP ? ipv6result.host : ipv6result.host.toLowerCase();
|
|
4217
4226
|
if (malformedIPLiteral) {
|
|
4218
4227
|
parsed.error = parsed.error || "URI host is malformed.";
|
|
@@ -4235,14 +4244,17 @@ var require_fast_uri = __commonJS({
|
|
|
4235
4244
|
parsed.error = parsed.error || "URI is not a " + options.reference + " reference.";
|
|
4236
4245
|
}
|
|
4237
4246
|
const schemeHandler = getSchemeHandler(options.scheme || parsed.scheme);
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4247
|
+
if (!malformedIPLiteral) {
|
|
4248
|
+
malformedHost = canonicalizeHost(parsed, options, schemeHandler, isIP);
|
|
4249
|
+
}
|
|
4250
|
+
if (uri.indexOf("%") !== -1 && parsed.host !== void 0 && !malformedIPLiteral) {
|
|
4251
|
+
let host = isIP ? parsed.host : normalizePercentEncoding(parsed.host, true);
|
|
4252
|
+
if (!isIP) {
|
|
4253
|
+
host = normalizePercentEncoding(host.toLowerCase());
|
|
4245
4254
|
}
|
|
4255
|
+
parsed.host = reescapeHostDelimiters(host, isIP);
|
|
4256
|
+
}
|
|
4257
|
+
if (!schemeHandler || schemeHandler && !schemeHandler.skipNormalize) {
|
|
4246
4258
|
if (parsed.path) {
|
|
4247
4259
|
parsed.path = normalizePathEncoding(parsed.path);
|
|
4248
4260
|
}
|
|
@@ -4309,9 +4321,9 @@ var require_fast_uri = __commonJS({
|
|
|
4309
4321
|
}
|
|
4310
4322
|
});
|
|
4311
4323
|
|
|
4312
|
-
// node_modules/ajv/dist/runtime/uri.js
|
|
4324
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js
|
|
4313
4325
|
var require_uri = __commonJS({
|
|
4314
|
-
"node_modules/ajv/dist/runtime/uri.js"(exports) {
|
|
4326
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js"(exports) {
|
|
4315
4327
|
"use strict";
|
|
4316
4328
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4317
4329
|
var uri = require_fast_uri();
|
|
@@ -4320,9 +4332,9 @@ var require_uri = __commonJS({
|
|
|
4320
4332
|
}
|
|
4321
4333
|
});
|
|
4322
4334
|
|
|
4323
|
-
// node_modules/ajv/dist/core.js
|
|
4335
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js
|
|
4324
4336
|
var require_core = __commonJS({
|
|
4325
|
-
"node_modules/ajv/dist/core.js"(exports) {
|
|
4337
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js"(exports) {
|
|
4326
4338
|
"use strict";
|
|
4327
4339
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4328
4340
|
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
|
|
@@ -4931,9 +4943,9 @@ var require_core = __commonJS({
|
|
|
4931
4943
|
}
|
|
4932
4944
|
});
|
|
4933
4945
|
|
|
4934
|
-
// node_modules/ajv/dist/vocabularies/core/id.js
|
|
4946
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js
|
|
4935
4947
|
var require_id = __commonJS({
|
|
4936
|
-
"node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
|
|
4948
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
|
|
4937
4949
|
"use strict";
|
|
4938
4950
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4939
4951
|
var def = {
|
|
@@ -4946,9 +4958,9 @@ var require_id = __commonJS({
|
|
|
4946
4958
|
}
|
|
4947
4959
|
});
|
|
4948
4960
|
|
|
4949
|
-
// node_modules/ajv/dist/vocabularies/core/ref.js
|
|
4961
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js
|
|
4950
4962
|
var require_ref = __commonJS({
|
|
4951
|
-
"node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
|
|
4963
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
|
|
4952
4964
|
"use strict";
|
|
4953
4965
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4954
4966
|
exports.callRef = exports.getValidate = void 0;
|
|
@@ -5068,9 +5080,9 @@ var require_ref = __commonJS({
|
|
|
5068
5080
|
}
|
|
5069
5081
|
});
|
|
5070
5082
|
|
|
5071
|
-
// node_modules/ajv/dist/vocabularies/core/index.js
|
|
5083
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js
|
|
5072
5084
|
var require_core2 = __commonJS({
|
|
5073
|
-
"node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
|
|
5085
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
|
|
5074
5086
|
"use strict";
|
|
5075
5087
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5076
5088
|
var id_1 = require_id();
|
|
@@ -5089,9 +5101,9 @@ var require_core2 = __commonJS({
|
|
|
5089
5101
|
}
|
|
5090
5102
|
});
|
|
5091
5103
|
|
|
5092
|
-
// node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
5104
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
5093
5105
|
var require_limitNumber = __commonJS({
|
|
5094
|
-
"node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
|
|
5106
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
|
|
5095
5107
|
"use strict";
|
|
5096
5108
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5097
5109
|
var codegen_1 = require_codegen();
|
|
@@ -5121,9 +5133,9 @@ var require_limitNumber = __commonJS({
|
|
|
5121
5133
|
}
|
|
5122
5134
|
});
|
|
5123
5135
|
|
|
5124
|
-
// node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
5136
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
5125
5137
|
var require_multipleOf = __commonJS({
|
|
5126
|
-
"node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
|
|
5138
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
|
|
5127
5139
|
"use strict";
|
|
5128
5140
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5129
5141
|
var codegen_1 = require_codegen();
|
|
@@ -5149,9 +5161,9 @@ var require_multipleOf = __commonJS({
|
|
|
5149
5161
|
}
|
|
5150
5162
|
});
|
|
5151
5163
|
|
|
5152
|
-
// node_modules/ajv/dist/runtime/ucs2length.js
|
|
5164
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js
|
|
5153
5165
|
var require_ucs2length = __commonJS({
|
|
5154
|
-
"node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
|
|
5166
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
|
|
5155
5167
|
"use strict";
|
|
5156
5168
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5157
5169
|
function ucs2length(str) {
|
|
@@ -5175,9 +5187,9 @@ var require_ucs2length = __commonJS({
|
|
|
5175
5187
|
}
|
|
5176
5188
|
});
|
|
5177
5189
|
|
|
5178
|
-
// node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
5190
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
5179
5191
|
var require_limitLength = __commonJS({
|
|
5180
|
-
"node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
|
|
5192
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
|
|
5181
5193
|
"use strict";
|
|
5182
5194
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5183
5195
|
var codegen_1 = require_codegen();
|
|
@@ -5207,9 +5219,9 @@ var require_limitLength = __commonJS({
|
|
|
5207
5219
|
}
|
|
5208
5220
|
});
|
|
5209
5221
|
|
|
5210
|
-
// node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
5222
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
5211
5223
|
var require_pattern = __commonJS({
|
|
5212
|
-
"node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
|
|
5224
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
|
|
5213
5225
|
"use strict";
|
|
5214
5226
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5215
5227
|
var code_1 = require_code2();
|
|
@@ -5244,9 +5256,9 @@ var require_pattern = __commonJS({
|
|
|
5244
5256
|
}
|
|
5245
5257
|
});
|
|
5246
5258
|
|
|
5247
|
-
// node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
5259
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
5248
5260
|
var require_limitProperties = __commonJS({
|
|
5249
|
-
"node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
|
|
5261
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
|
|
5250
5262
|
"use strict";
|
|
5251
5263
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5252
5264
|
var codegen_1 = require_codegen();
|
|
@@ -5273,9 +5285,9 @@ var require_limitProperties = __commonJS({
|
|
|
5273
5285
|
}
|
|
5274
5286
|
});
|
|
5275
5287
|
|
|
5276
|
-
// node_modules/ajv/dist/vocabularies/validation/required.js
|
|
5288
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js
|
|
5277
5289
|
var require_required = __commonJS({
|
|
5278
|
-
"node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
|
|
5290
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
|
|
5279
5291
|
"use strict";
|
|
5280
5292
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5281
5293
|
var code_1 = require_code2();
|
|
@@ -5355,9 +5367,9 @@ var require_required = __commonJS({
|
|
|
5355
5367
|
}
|
|
5356
5368
|
});
|
|
5357
5369
|
|
|
5358
|
-
// node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
5370
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
5359
5371
|
var require_limitItems = __commonJS({
|
|
5360
|
-
"node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
|
|
5372
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
|
|
5361
5373
|
"use strict";
|
|
5362
5374
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5363
5375
|
var codegen_1 = require_codegen();
|
|
@@ -5384,9 +5396,9 @@ var require_limitItems = __commonJS({
|
|
|
5384
5396
|
}
|
|
5385
5397
|
});
|
|
5386
5398
|
|
|
5387
|
-
// node_modules/ajv/dist/runtime/equal.js
|
|
5399
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js
|
|
5388
5400
|
var require_equal = __commonJS({
|
|
5389
|
-
"node_modules/ajv/dist/runtime/equal.js"(exports) {
|
|
5401
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js"(exports) {
|
|
5390
5402
|
"use strict";
|
|
5391
5403
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5392
5404
|
var equal = require_fast_deep_equal();
|
|
@@ -5395,9 +5407,9 @@ var require_equal = __commonJS({
|
|
|
5395
5407
|
}
|
|
5396
5408
|
});
|
|
5397
5409
|
|
|
5398
|
-
// node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
5410
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
5399
5411
|
var require_uniqueItems = __commonJS({
|
|
5400
|
-
"node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
|
|
5412
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
|
|
5401
5413
|
"use strict";
|
|
5402
5414
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5403
5415
|
var dataType_1 = require_dataType();
|
|
@@ -5462,9 +5474,9 @@ var require_uniqueItems = __commonJS({
|
|
|
5462
5474
|
}
|
|
5463
5475
|
});
|
|
5464
5476
|
|
|
5465
|
-
// node_modules/ajv/dist/vocabularies/validation/const.js
|
|
5477
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js
|
|
5466
5478
|
var require_const = __commonJS({
|
|
5467
|
-
"node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
|
|
5479
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
|
|
5468
5480
|
"use strict";
|
|
5469
5481
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5470
5482
|
var codegen_1 = require_codegen();
|
|
@@ -5491,9 +5503,9 @@ var require_const = __commonJS({
|
|
|
5491
5503
|
}
|
|
5492
5504
|
});
|
|
5493
5505
|
|
|
5494
|
-
// node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
5506
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
5495
5507
|
var require_enum = __commonJS({
|
|
5496
|
-
"node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
|
|
5508
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
|
|
5497
5509
|
"use strict";
|
|
5498
5510
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5499
5511
|
var codegen_1 = require_codegen();
|
|
@@ -5540,9 +5552,9 @@ var require_enum = __commonJS({
|
|
|
5540
5552
|
}
|
|
5541
5553
|
});
|
|
5542
5554
|
|
|
5543
|
-
// node_modules/ajv/dist/vocabularies/validation/index.js
|
|
5555
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js
|
|
5544
5556
|
var require_validation = __commonJS({
|
|
5545
|
-
"node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
|
|
5557
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
|
|
5546
5558
|
"use strict";
|
|
5547
5559
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5548
5560
|
var limitNumber_1 = require_limitNumber();
|
|
@@ -5578,9 +5590,9 @@ var require_validation = __commonJS({
|
|
|
5578
5590
|
}
|
|
5579
5591
|
});
|
|
5580
5592
|
|
|
5581
|
-
// node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
5593
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
5582
5594
|
var require_additionalItems = __commonJS({
|
|
5583
|
-
"node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
|
|
5595
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
|
|
5584
5596
|
"use strict";
|
|
5585
5597
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5586
5598
|
exports.validateAdditionalItems = void 0;
|
|
@@ -5631,9 +5643,9 @@ var require_additionalItems = __commonJS({
|
|
|
5631
5643
|
}
|
|
5632
5644
|
});
|
|
5633
5645
|
|
|
5634
|
-
// node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
5646
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
5635
5647
|
var require_items = __commonJS({
|
|
5636
|
-
"node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
|
|
5648
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
|
|
5637
5649
|
"use strict";
|
|
5638
5650
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5639
5651
|
exports.validateTuple = void 0;
|
|
@@ -5688,9 +5700,9 @@ var require_items = __commonJS({
|
|
|
5688
5700
|
}
|
|
5689
5701
|
});
|
|
5690
5702
|
|
|
5691
|
-
// node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
5703
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
5692
5704
|
var require_prefixItems = __commonJS({
|
|
5693
|
-
"node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
|
|
5705
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
|
|
5694
5706
|
"use strict";
|
|
5695
5707
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5696
5708
|
var items_1 = require_items();
|
|
@@ -5705,9 +5717,9 @@ var require_prefixItems = __commonJS({
|
|
|
5705
5717
|
}
|
|
5706
5718
|
});
|
|
5707
5719
|
|
|
5708
|
-
// node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
5720
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
5709
5721
|
var require_items2020 = __commonJS({
|
|
5710
|
-
"node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
|
|
5722
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
|
|
5711
5723
|
"use strict";
|
|
5712
5724
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5713
5725
|
var codegen_1 = require_codegen();
|
|
@@ -5740,9 +5752,9 @@ var require_items2020 = __commonJS({
|
|
|
5740
5752
|
}
|
|
5741
5753
|
});
|
|
5742
5754
|
|
|
5743
|
-
// node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
5755
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
5744
5756
|
var require_contains = __commonJS({
|
|
5745
|
-
"node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
|
|
5757
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
|
|
5746
5758
|
"use strict";
|
|
5747
5759
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5748
5760
|
var codegen_1 = require_codegen();
|
|
@@ -5834,9 +5846,9 @@ var require_contains = __commonJS({
|
|
|
5834
5846
|
}
|
|
5835
5847
|
});
|
|
5836
5848
|
|
|
5837
|
-
// node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
5849
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
5838
5850
|
var require_dependencies = __commonJS({
|
|
5839
|
-
"node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
|
|
5851
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
|
|
5840
5852
|
"use strict";
|
|
5841
5853
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5842
5854
|
exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
|
|
@@ -5928,9 +5940,9 @@ var require_dependencies = __commonJS({
|
|
|
5928
5940
|
}
|
|
5929
5941
|
});
|
|
5930
5942
|
|
|
5931
|
-
// node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
5943
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
5932
5944
|
var require_propertyNames = __commonJS({
|
|
5933
|
-
"node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
|
|
5945
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
|
|
5934
5946
|
"use strict";
|
|
5935
5947
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5936
5948
|
var codegen_1 = require_codegen();
|
|
@@ -5971,9 +5983,9 @@ var require_propertyNames = __commonJS({
|
|
|
5971
5983
|
}
|
|
5972
5984
|
});
|
|
5973
5985
|
|
|
5974
|
-
// node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
5986
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
5975
5987
|
var require_additionalProperties = __commonJS({
|
|
5976
|
-
"node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
|
|
5988
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
|
|
5977
5989
|
"use strict";
|
|
5978
5990
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5979
5991
|
var code_1 = require_code2();
|
|
@@ -6077,9 +6089,9 @@ var require_additionalProperties = __commonJS({
|
|
|
6077
6089
|
}
|
|
6078
6090
|
});
|
|
6079
6091
|
|
|
6080
|
-
// node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
6092
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
6081
6093
|
var require_properties = __commonJS({
|
|
6082
|
-
"node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
|
|
6094
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
|
|
6083
6095
|
"use strict";
|
|
6084
6096
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6085
6097
|
var validate_1 = require_validate();
|
|
@@ -6135,9 +6147,9 @@ var require_properties = __commonJS({
|
|
|
6135
6147
|
}
|
|
6136
6148
|
});
|
|
6137
6149
|
|
|
6138
|
-
// node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
6150
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
6139
6151
|
var require_patternProperties = __commonJS({
|
|
6140
|
-
"node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
|
|
6152
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
|
|
6141
6153
|
"use strict";
|
|
6142
6154
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6143
6155
|
var code_1 = require_code2();
|
|
@@ -6209,9 +6221,9 @@ var require_patternProperties = __commonJS({
|
|
|
6209
6221
|
}
|
|
6210
6222
|
});
|
|
6211
6223
|
|
|
6212
|
-
// node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
6224
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
6213
6225
|
var require_not = __commonJS({
|
|
6214
|
-
"node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
|
|
6226
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
|
|
6215
6227
|
"use strict";
|
|
6216
6228
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6217
6229
|
var util_1 = require_util();
|
|
@@ -6240,9 +6252,9 @@ var require_not = __commonJS({
|
|
|
6240
6252
|
}
|
|
6241
6253
|
});
|
|
6242
6254
|
|
|
6243
|
-
// node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
6255
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
6244
6256
|
var require_anyOf = __commonJS({
|
|
6245
|
-
"node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
|
|
6257
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
|
|
6246
6258
|
"use strict";
|
|
6247
6259
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6248
6260
|
var code_1 = require_code2();
|
|
@@ -6257,9 +6269,9 @@ var require_anyOf = __commonJS({
|
|
|
6257
6269
|
}
|
|
6258
6270
|
});
|
|
6259
6271
|
|
|
6260
|
-
// node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
6272
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
6261
6273
|
var require_oneOf = __commonJS({
|
|
6262
|
-
"node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
|
|
6274
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
|
|
6263
6275
|
"use strict";
|
|
6264
6276
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6265
6277
|
var codegen_1 = require_codegen();
|
|
@@ -6315,9 +6327,9 @@ var require_oneOf = __commonJS({
|
|
|
6315
6327
|
}
|
|
6316
6328
|
});
|
|
6317
6329
|
|
|
6318
|
-
// node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
6330
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
6319
6331
|
var require_allOf = __commonJS({
|
|
6320
|
-
"node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
|
|
6332
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
|
|
6321
6333
|
"use strict";
|
|
6322
6334
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6323
6335
|
var util_1 = require_util();
|
|
@@ -6342,9 +6354,9 @@ var require_allOf = __commonJS({
|
|
|
6342
6354
|
}
|
|
6343
6355
|
});
|
|
6344
6356
|
|
|
6345
|
-
// node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
6357
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
6346
6358
|
var require_if = __commonJS({
|
|
6347
|
-
"node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
|
|
6359
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
|
|
6348
6360
|
"use strict";
|
|
6349
6361
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6350
6362
|
var codegen_1 = require_codegen();
|
|
@@ -6411,9 +6423,9 @@ var require_if = __commonJS({
|
|
|
6411
6423
|
}
|
|
6412
6424
|
});
|
|
6413
6425
|
|
|
6414
|
-
// node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
6426
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
6415
6427
|
var require_thenElse = __commonJS({
|
|
6416
|
-
"node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
|
|
6428
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
|
|
6417
6429
|
"use strict";
|
|
6418
6430
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6419
6431
|
var util_1 = require_util();
|
|
@@ -6429,9 +6441,9 @@ var require_thenElse = __commonJS({
|
|
|
6429
6441
|
}
|
|
6430
6442
|
});
|
|
6431
6443
|
|
|
6432
|
-
// node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
6444
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
6433
6445
|
var require_applicator = __commonJS({
|
|
6434
|
-
"node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
|
|
6446
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
|
|
6435
6447
|
"use strict";
|
|
6436
6448
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6437
6449
|
var additionalItems_1 = require_additionalItems();
|
|
@@ -6477,9 +6489,9 @@ var require_applicator = __commonJS({
|
|
|
6477
6489
|
}
|
|
6478
6490
|
});
|
|
6479
6491
|
|
|
6480
|
-
// node_modules/ajv/dist/vocabularies/format/format.js
|
|
6492
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js
|
|
6481
6493
|
var require_format = __commonJS({
|
|
6482
|
-
"node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
|
|
6494
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
|
|
6483
6495
|
"use strict";
|
|
6484
6496
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6485
6497
|
var codegen_1 = require_codegen();
|
|
@@ -6567,9 +6579,9 @@ var require_format = __commonJS({
|
|
|
6567
6579
|
}
|
|
6568
6580
|
});
|
|
6569
6581
|
|
|
6570
|
-
// node_modules/ajv/dist/vocabularies/format/index.js
|
|
6582
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js
|
|
6571
6583
|
var require_format2 = __commonJS({
|
|
6572
|
-
"node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
|
|
6584
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
|
|
6573
6585
|
"use strict";
|
|
6574
6586
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6575
6587
|
var format_1 = require_format();
|
|
@@ -6578,9 +6590,9 @@ var require_format2 = __commonJS({
|
|
|
6578
6590
|
}
|
|
6579
6591
|
});
|
|
6580
6592
|
|
|
6581
|
-
// node_modules/ajv/dist/vocabularies/metadata.js
|
|
6593
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js
|
|
6582
6594
|
var require_metadata = __commonJS({
|
|
6583
|
-
"node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
|
|
6595
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
|
|
6584
6596
|
"use strict";
|
|
6585
6597
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6586
6598
|
exports.contentVocabulary = exports.metadataVocabulary = void 0;
|
|
@@ -6601,9 +6613,9 @@ var require_metadata = __commonJS({
|
|
|
6601
6613
|
}
|
|
6602
6614
|
});
|
|
6603
6615
|
|
|
6604
|
-
// node_modules/ajv/dist/vocabularies/draft7.js
|
|
6616
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft7.js
|
|
6605
6617
|
var require_draft7 = __commonJS({
|
|
6606
|
-
"node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
|
|
6618
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
|
|
6607
6619
|
"use strict";
|
|
6608
6620
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6609
6621
|
var core_1 = require_core2();
|
|
@@ -6623,9 +6635,9 @@ var require_draft7 = __commonJS({
|
|
|
6623
6635
|
}
|
|
6624
6636
|
});
|
|
6625
6637
|
|
|
6626
|
-
// node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
6638
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
6627
6639
|
var require_types = __commonJS({
|
|
6628
|
-
"node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
|
|
6640
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
|
|
6629
6641
|
"use strict";
|
|
6630
6642
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6631
6643
|
exports.DiscrError = void 0;
|
|
@@ -6637,9 +6649,9 @@ var require_types = __commonJS({
|
|
|
6637
6649
|
}
|
|
6638
6650
|
});
|
|
6639
6651
|
|
|
6640
|
-
// node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
6652
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
6641
6653
|
var require_discriminator = __commonJS({
|
|
6642
|
-
"node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
|
|
6654
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
|
|
6643
6655
|
"use strict";
|
|
6644
6656
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6645
6657
|
var codegen_1 = require_codegen();
|
|
@@ -6742,9 +6754,9 @@ var require_discriminator = __commonJS({
|
|
|
6742
6754
|
}
|
|
6743
6755
|
});
|
|
6744
6756
|
|
|
6745
|
-
// node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
6757
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
6746
6758
|
var require_json_schema_draft_07 = __commonJS({
|
|
6747
|
-
"node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module) {
|
|
6759
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module) {
|
|
6748
6760
|
module.exports = {
|
|
6749
6761
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
6750
6762
|
$id: "http://json-schema.org/draft-07/schema#",
|
|
@@ -6899,9 +6911,9 @@ var require_json_schema_draft_07 = __commonJS({
|
|
|
6899
6911
|
}
|
|
6900
6912
|
});
|
|
6901
6913
|
|
|
6902
|
-
// node_modules/ajv/dist/ajv.js
|
|
6914
|
+
// node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/ajv.js
|
|
6903
6915
|
var require_ajv = __commonJS({
|
|
6904
|
-
"node_modules/ajv/dist/ajv.js"(exports, module) {
|
|
6916
|
+
"node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/ajv.js"(exports, module) {
|
|
6905
6917
|
"use strict";
|
|
6906
6918
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6907
6919
|
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
|
|
@@ -6969,9 +6981,9 @@ var require_ajv = __commonJS({
|
|
|
6969
6981
|
}
|
|
6970
6982
|
});
|
|
6971
6983
|
|
|
6972
|
-
// node_modules/ajv-formats/dist/formats.js
|
|
6984
|
+
// node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/formats.js
|
|
6973
6985
|
var require_formats = __commonJS({
|
|
6974
|
-
"node_modules/ajv-formats/dist/formats.js"(exports) {
|
|
6986
|
+
"node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/formats.js"(exports) {
|
|
6975
6987
|
"use strict";
|
|
6976
6988
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6977
6989
|
exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
|
|
@@ -7172,9 +7184,9 @@ var require_formats = __commonJS({
|
|
|
7172
7184
|
}
|
|
7173
7185
|
});
|
|
7174
7186
|
|
|
7175
|
-
// node_modules/ajv-formats/dist/limit.js
|
|
7187
|
+
// node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/limit.js
|
|
7176
7188
|
var require_limit = __commonJS({
|
|
7177
|
-
"node_modules/ajv-formats/dist/limit.js"(exports) {
|
|
7189
|
+
"node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/limit.js"(exports) {
|
|
7178
7190
|
"use strict";
|
|
7179
7191
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7180
7192
|
exports.formatLimitDefinition = void 0;
|
|
@@ -7244,9 +7256,9 @@ var require_limit = __commonJS({
|
|
|
7244
7256
|
}
|
|
7245
7257
|
});
|
|
7246
7258
|
|
|
7247
|
-
// node_modules/ajv-formats/dist/index.js
|
|
7259
|
+
// node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/index.js
|
|
7248
7260
|
var require_dist = __commonJS({
|
|
7249
|
-
"node_modules/ajv-formats/dist/index.js"(exports, module) {
|
|
7261
|
+
"node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/index.js"(exports, module) {
|
|
7250
7262
|
"use strict";
|
|
7251
7263
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7252
7264
|
var formats_1 = require_formats();
|
|
@@ -7286,7 +7298,7 @@ var require_dist = __commonJS({
|
|
|
7286
7298
|
}
|
|
7287
7299
|
});
|
|
7288
7300
|
|
|
7289
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/shared/mediaType.js
|
|
7301
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.30.0_zod@4.6.5/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/mediaType.js
|
|
7290
7302
|
var import_content_type = __toESM(require_content_type(), 1);
|
|
7291
7303
|
function mediaTypeEssence(header) {
|
|
7292
7304
|
if (!header) {
|
|
@@ -7309,7 +7321,7 @@ function isJsonContentType(header) {
|
|
|
7309
7321
|
return mediaTypeEssence(header) === "application/json";
|
|
7310
7322
|
}
|
|
7311
7323
|
|
|
7312
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/sseKeepAlive.js
|
|
7324
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.30.0_zod@4.6.5/node_modules/@modelcontextprotocol/sdk/dist/esm/server/sseKeepAlive.js
|
|
7313
7325
|
var DEFAULT_SSE_KEEP_ALIVE_MS = 15e3;
|
|
7314
7326
|
var MAX_TIMER_DELAY_MS = 2 ** 31 - 1;
|
|
7315
7327
|
function armSseKeepAlive(intervalMs, onTick) {
|
|
@@ -7321,7 +7333,7 @@ function armSseKeepAlive(intervalMs, onTick) {
|
|
|
7321
7333
|
return timer;
|
|
7322
7334
|
}
|
|
7323
7335
|
|
|
7324
|
-
// node_modules/zod/v4/core/util.js
|
|
7336
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/util.js
|
|
7325
7337
|
var util_exports = {};
|
|
7326
7338
|
__export(util_exports, {
|
|
7327
7339
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -7350,6 +7362,7 @@ __export(util_exports, {
|
|
|
7350
7362
|
createTransparentProxy: () => createTransparentProxy,
|
|
7351
7363
|
defineLazy: () => defineLazy,
|
|
7352
7364
|
defineLazyInternal: () => defineLazyInternal,
|
|
7365
|
+
derived: () => derived,
|
|
7353
7366
|
esc: () => esc,
|
|
7354
7367
|
escapeRegex: () => escapeRegex,
|
|
7355
7368
|
explicitlyAborted: () => explicitlyAborted,
|
|
@@ -7387,6 +7400,7 @@ __export(util_exports, {
|
|
|
7387
7400
|
promiseAllObject: () => promiseAllObject,
|
|
7388
7401
|
propertyKeyTypes: () => propertyKeyTypes,
|
|
7389
7402
|
randomString: () => randomString,
|
|
7403
|
+
rawShape: () => rawShape,
|
|
7390
7404
|
required: () => required,
|
|
7391
7405
|
safeExtend: () => safeExtend,
|
|
7392
7406
|
shallowClone: () => shallowClone,
|
|
@@ -7427,18 +7441,22 @@ function jsonStringifyReplacer(_, value) {
|
|
|
7427
7441
|
return value.toString();
|
|
7428
7442
|
return value;
|
|
7429
7443
|
}
|
|
7430
|
-
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
-
|
|
7434
|
-
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
|
|
7444
|
+
var Cached = class {
|
|
7445
|
+
constructor(getter) {
|
|
7446
|
+
this._getter = getter;
|
|
7447
|
+
this._value = void 0;
|
|
7448
|
+
}
|
|
7449
|
+
get value() {
|
|
7450
|
+
const getter = this._getter;
|
|
7451
|
+
if (getter !== void 0) {
|
|
7452
|
+
this._value = getter();
|
|
7453
|
+
this._getter = void 0;
|
|
7440
7454
|
}
|
|
7441
|
-
|
|
7455
|
+
return this._value;
|
|
7456
|
+
}
|
|
7457
|
+
};
|
|
7458
|
+
function cached(getter) {
|
|
7459
|
+
return new Cached(getter);
|
|
7442
7460
|
}
|
|
7443
7461
|
function nullish(input) {
|
|
7444
7462
|
return input === null || input === void 0;
|
|
@@ -7490,6 +7508,56 @@ function assignProp(target, prop, value) {
|
|
|
7490
7508
|
configurable: true
|
|
7491
7509
|
});
|
|
7492
7510
|
}
|
|
7511
|
+
function rawShape(def) {
|
|
7512
|
+
const desc = Object.getOwnPropertyDescriptor(def, "shape");
|
|
7513
|
+
return desc?.get ? desc.get.raw : desc?.value;
|
|
7514
|
+
}
|
|
7515
|
+
function sourceShape(schema) {
|
|
7516
|
+
return rawShape(schema._zod.def) ?? schema._zod.def.shape;
|
|
7517
|
+
}
|
|
7518
|
+
function deferProp(target, key, getter) {
|
|
7519
|
+
Object.defineProperty(target, key, {
|
|
7520
|
+
get() {
|
|
7521
|
+
const value = getter();
|
|
7522
|
+
assignProp(this, key, value);
|
|
7523
|
+
return value;
|
|
7524
|
+
},
|
|
7525
|
+
enumerable: true,
|
|
7526
|
+
configurable: true
|
|
7527
|
+
});
|
|
7528
|
+
}
|
|
7529
|
+
function putProp(target, key, value) {
|
|
7530
|
+
if (key in target)
|
|
7531
|
+
assignProp(target, key, value);
|
|
7532
|
+
else
|
|
7533
|
+
target[key] = value;
|
|
7534
|
+
}
|
|
7535
|
+
function mirrorShape(target, source, keys, wrap) {
|
|
7536
|
+
const raw = sourceShape(source);
|
|
7537
|
+
for (const key of keys) {
|
|
7538
|
+
const desc = Object.getOwnPropertyDescriptor(raw, key);
|
|
7539
|
+
if (!desc.enumerable)
|
|
7540
|
+
continue;
|
|
7541
|
+
if (desc.get) {
|
|
7542
|
+
deferProp(target, key, () => {
|
|
7543
|
+
const value = source._zod.def.shape[key];
|
|
7544
|
+
return wrap ? wrap(value, key) : value;
|
|
7545
|
+
});
|
|
7546
|
+
} else
|
|
7547
|
+
putProp(target, key, wrap ? wrap(desc.value, key) : desc.value);
|
|
7548
|
+
}
|
|
7549
|
+
}
|
|
7550
|
+
function mirrorProps(target, source) {
|
|
7551
|
+
for (const key of Reflect.ownKeys(source)) {
|
|
7552
|
+
const desc = Object.getOwnPropertyDescriptor(source, key);
|
|
7553
|
+
if (!desc.enumerable)
|
|
7554
|
+
continue;
|
|
7555
|
+
if (desc.get)
|
|
7556
|
+
deferProp(target, key, () => source[key]);
|
|
7557
|
+
else
|
|
7558
|
+
putProp(target, key, desc.value);
|
|
7559
|
+
}
|
|
7560
|
+
}
|
|
7493
7561
|
function mergeDefs(...defs) {
|
|
7494
7562
|
const mergedDescriptors = {};
|
|
7495
7563
|
for (const def of defs) {
|
|
@@ -7728,23 +7796,21 @@ function pick(schema, mask) {
|
|
|
7728
7796
|
if (hasChecks) {
|
|
7729
7797
|
throw new Error(".pick() cannot be used on object schemas containing refinements");
|
|
7730
7798
|
}
|
|
7731
|
-
const
|
|
7732
|
-
|
|
7733
|
-
|
|
7734
|
-
|
|
7735
|
-
|
|
7736
|
-
|
|
7737
|
-
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
});
|
|
7747
|
-
return clone(schema, def);
|
|
7799
|
+
const newShape = {};
|
|
7800
|
+
mirrorShape(newShape, schema, maskedKeys(schema, mask));
|
|
7801
|
+
return clone(schema, mergeDefs(currDef, { shape: newShape, checks: [] }));
|
|
7802
|
+
}
|
|
7803
|
+
function maskedKeys(schema, mask) {
|
|
7804
|
+
const raw = sourceShape(schema);
|
|
7805
|
+
const keys = [];
|
|
7806
|
+
for (const key of Reflect.ownKeys(mask)) {
|
|
7807
|
+
if (!Object.getOwnPropertyDescriptor(raw, key)?.enumerable) {
|
|
7808
|
+
throw new Error(`Unrecognized key: "${String(key)}"`);
|
|
7809
|
+
}
|
|
7810
|
+
if (mask[key])
|
|
7811
|
+
keys.push(key);
|
|
7812
|
+
}
|
|
7813
|
+
return keys;
|
|
7748
7814
|
}
|
|
7749
7815
|
function omit(schema, mask) {
|
|
7750
7816
|
const currDef = schema._zod.def;
|
|
@@ -7753,23 +7819,10 @@ function omit(schema, mask) {
|
|
|
7753
7819
|
if (hasChecks) {
|
|
7754
7820
|
throw new Error(".omit() cannot be used on object schemas containing refinements");
|
|
7755
7821
|
}
|
|
7756
|
-
const
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
|
|
7760
|
-
if (!Object.prototype.hasOwnProperty.call(currDef.shape, key)) {
|
|
7761
|
-
throw new Error(`Unrecognized key: "${String(key)}"`);
|
|
7762
|
-
}
|
|
7763
|
-
if (!mask[key])
|
|
7764
|
-
continue;
|
|
7765
|
-
delete newShape[key];
|
|
7766
|
-
}
|
|
7767
|
-
assignProp(this, "shape", newShape);
|
|
7768
|
-
return newShape;
|
|
7769
|
-
},
|
|
7770
|
-
checks: []
|
|
7771
|
-
});
|
|
7772
|
-
return clone(schema, def);
|
|
7822
|
+
const omitted = new Set(maskedKeys(schema, mask));
|
|
7823
|
+
const newShape = {};
|
|
7824
|
+
mirrorShape(newShape, schema, Reflect.ownKeys(sourceShape(schema)).filter((key) => !omitted.has(key)));
|
|
7825
|
+
return clone(schema, mergeDefs(currDef, { shape: newShape, checks: [] }));
|
|
7773
7826
|
}
|
|
7774
7827
|
function extend(schema, shape) {
|
|
7775
7828
|
if (!isPlainObject(shape)) {
|
|
@@ -7778,34 +7831,26 @@ function extend(schema, shape) {
|
|
|
7778
7831
|
const checks = schema._zod.def.checks;
|
|
7779
7832
|
const hasChecks = checks && checks.length > 0;
|
|
7780
7833
|
if (hasChecks) {
|
|
7781
|
-
const existingShape = schema
|
|
7834
|
+
const existingShape = sourceShape(schema);
|
|
7782
7835
|
for (const key of Reflect.ownKeys(shape)) {
|
|
7783
7836
|
if (Object.getOwnPropertyDescriptor(existingShape, key) !== void 0) {
|
|
7784
7837
|
throw new Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.");
|
|
7785
7838
|
}
|
|
7786
7839
|
}
|
|
7787
7840
|
}
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
|
|
7791
|
-
|
|
7792
|
-
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
return clone(schema, def);
|
|
7841
|
+
return clone(schema, mergeDefs(schema._zod.def, { shape: extended(schema, shape) }));
|
|
7842
|
+
}
|
|
7843
|
+
function extended(schema, shape) {
|
|
7844
|
+
const newShape = {};
|
|
7845
|
+
mirrorShape(newShape, schema, Reflect.ownKeys(sourceShape(schema)));
|
|
7846
|
+
mirrorProps(newShape, shape);
|
|
7847
|
+
return newShape;
|
|
7796
7848
|
}
|
|
7797
7849
|
function safeExtend(schema, shape) {
|
|
7798
7850
|
if (!isPlainObject(shape)) {
|
|
7799
7851
|
throw new Error("Invalid input to safeExtend: expected a plain object");
|
|
7800
7852
|
}
|
|
7801
|
-
|
|
7802
|
-
get shape() {
|
|
7803
|
-
const _shape = { ...schema._zod.def.shape, ...shape };
|
|
7804
|
-
assignProp(this, "shape", _shape);
|
|
7805
|
-
return _shape;
|
|
7806
|
-
}
|
|
7807
|
-
});
|
|
7808
|
-
return clone(schema, def);
|
|
7853
|
+
return clone(schema, mergeDefs(schema._zod.def, { shape: extended(schema, shape) }));
|
|
7809
7854
|
}
|
|
7810
7855
|
function merge(a, b) {
|
|
7811
7856
|
if (!b?._zod?.def) {
|
|
@@ -7814,12 +7859,11 @@ function merge(a, b) {
|
|
|
7814
7859
|
if (a._zod.def.checks?.length) {
|
|
7815
7860
|
throw new Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
|
|
7816
7861
|
}
|
|
7862
|
+
const newShape = {};
|
|
7863
|
+
mirrorShape(newShape, a, Reflect.ownKeys(sourceShape(a)));
|
|
7864
|
+
mirrorShape(newShape, b, Reflect.ownKeys(sourceShape(b)));
|
|
7817
7865
|
const def = mergeDefs(a._zod.def, {
|
|
7818
|
-
|
|
7819
|
-
const _shape = { ...a._zod.def.shape, ...b._zod.def.shape };
|
|
7820
|
-
assignProp(this, "shape", _shape);
|
|
7821
|
-
return _shape;
|
|
7822
|
-
},
|
|
7866
|
+
shape: newShape,
|
|
7823
7867
|
get catchall() {
|
|
7824
7868
|
return b._zod.def.catchall;
|
|
7825
7869
|
},
|
|
@@ -7834,67 +7878,19 @@ function partial(Class2, schema, mask, name = "partial") {
|
|
|
7834
7878
|
if (hasChecks) {
|
|
7835
7879
|
throw new Error(`.${name}() cannot be used on object schemas containing refinements`);
|
|
7836
7880
|
}
|
|
7837
|
-
const
|
|
7838
|
-
|
|
7839
|
-
|
|
7840
|
-
|
|
7841
|
-
if (mask) {
|
|
7842
|
-
for (const key of Reflect.ownKeys(mask)) {
|
|
7843
|
-
if (!Object.prototype.hasOwnProperty.call(oldShape, key)) {
|
|
7844
|
-
throw new Error(`Unrecognized key: "${String(key)}"`);
|
|
7845
|
-
}
|
|
7846
|
-
if (!mask[key])
|
|
7847
|
-
continue;
|
|
7848
|
-
shape[key] = Class2 ? new Class2({
|
|
7849
|
-
type: "optional",
|
|
7850
|
-
innerType: oldShape[key]
|
|
7851
|
-
}) : oldShape[key];
|
|
7852
|
-
}
|
|
7853
|
-
} else {
|
|
7854
|
-
for (const key of Reflect.ownKeys(oldShape)) {
|
|
7855
|
-
shape[key] = Class2 ? new Class2({
|
|
7856
|
-
type: "optional",
|
|
7857
|
-
innerType: oldShape[key]
|
|
7858
|
-
}) : oldShape[key];
|
|
7859
|
-
}
|
|
7860
|
-
}
|
|
7861
|
-
assignProp(this, "shape", shape);
|
|
7862
|
-
return shape;
|
|
7863
|
-
},
|
|
7864
|
-
checks: []
|
|
7865
|
-
});
|
|
7866
|
-
return clone(schema, def);
|
|
7881
|
+
const selected = mask ? new Set(maskedKeys(schema, mask)) : void 0;
|
|
7882
|
+
const newShape = {};
|
|
7883
|
+
mirrorShape(newShape, schema, Reflect.ownKeys(sourceShape(schema)), Class2 && ((value, key) => selected && !selected.has(key) ? value : new Class2({ type: "optional", innerType: value })));
|
|
7884
|
+
return clone(schema, mergeDefs(schema._zod.def, { shape: newShape, checks: [] }));
|
|
7867
7885
|
}
|
|
7868
7886
|
function required(Class2, schema, mask) {
|
|
7869
|
-
const
|
|
7870
|
-
|
|
7871
|
-
|
|
7872
|
-
|
|
7873
|
-
|
|
7874
|
-
|
|
7875
|
-
|
|
7876
|
-
throw new Error(`Unrecognized key: "${String(key)}"`);
|
|
7877
|
-
}
|
|
7878
|
-
if (!mask[key])
|
|
7879
|
-
continue;
|
|
7880
|
-
shape[key] = new Class2({
|
|
7881
|
-
type: "nonoptional",
|
|
7882
|
-
innerType: oldShape[key]
|
|
7883
|
-
});
|
|
7884
|
-
}
|
|
7885
|
-
} else {
|
|
7886
|
-
for (const key of Reflect.ownKeys(oldShape)) {
|
|
7887
|
-
shape[key] = new Class2({
|
|
7888
|
-
type: "nonoptional",
|
|
7889
|
-
innerType: oldShape[key]
|
|
7890
|
-
});
|
|
7891
|
-
}
|
|
7892
|
-
}
|
|
7893
|
-
assignProp(this, "shape", shape);
|
|
7894
|
-
return shape;
|
|
7895
|
-
}
|
|
7896
|
-
});
|
|
7897
|
-
return clone(schema, def);
|
|
7887
|
+
const selected = mask ? new Set(maskedKeys(schema, mask)) : void 0;
|
|
7888
|
+
const newShape = {};
|
|
7889
|
+
mirrorShape(newShape, schema, Reflect.ownKeys(sourceShape(schema)), (value, key) => (
|
|
7890
|
+
// overwrite with non-optional
|
|
7891
|
+
selected && !selected.has(key) ? value : new Class2({ type: "nonoptional", innerType: value })
|
|
7892
|
+
));
|
|
7893
|
+
return clone(schema, mergeDefs(schema._zod.def, { shape: newShape }));
|
|
7898
7894
|
}
|
|
7899
7895
|
function aborted(x, startIndex = 0) {
|
|
7900
7896
|
if (x.aborted === true)
|
|
@@ -7944,13 +7940,18 @@ function finalizeIssue(iss, ctx, config2) {
|
|
|
7944
7940
|
}
|
|
7945
7941
|
const schemaError = iss.schema !== iss.inst ? iss.schema?._zod.def?.error : void 0;
|
|
7946
7942
|
const message = iss.message ? iss.message : unwrapMessage(iss.inst?._zod.def?.error?.(iss)) ?? unwrapMessage(schemaError?.(iss)) ?? unwrapMessage(ctx?.error?.(iss)) ?? unwrapMessage(config2.customError?.(iss)) ?? unwrapMessage(config2.localeError?.(iss)) ?? "Invalid input";
|
|
7947
|
-
const
|
|
7948
|
-
|
|
7949
|
-
|
|
7943
|
+
const full = {};
|
|
7944
|
+
for (const k of Object.keys(iss)) {
|
|
7945
|
+
if (k === "inst" || k === "schema" || k === "continue" || k === "input" || k === "__proto__")
|
|
7946
|
+
continue;
|
|
7947
|
+
full[k] = iss[k];
|
|
7948
|
+
}
|
|
7949
|
+
full.path ?? (full.path = []);
|
|
7950
|
+
full.message = message;
|
|
7950
7951
|
if (ctx?.reportInput) {
|
|
7951
|
-
|
|
7952
|
+
full.input = iss.input;
|
|
7952
7953
|
}
|
|
7953
|
-
return
|
|
7954
|
+
return full;
|
|
7954
7955
|
}
|
|
7955
7956
|
function getSizableOrigin(input) {
|
|
7956
7957
|
if (input instanceof Set)
|
|
@@ -8077,6 +8078,23 @@ function own(inst, key, value, enumerable = true) {
|
|
|
8077
8078
|
function hide(inst, key, value) {
|
|
8078
8079
|
return own(inst, key, value, false);
|
|
8079
8080
|
}
|
|
8081
|
+
// @__NO_SIDE_EFFECTS__
|
|
8082
|
+
function derived(computes, table) {
|
|
8083
|
+
for (const key in computes) {
|
|
8084
|
+
const compute = computes[key];
|
|
8085
|
+
Object.defineProperty(table, key, {
|
|
8086
|
+
configurable: true,
|
|
8087
|
+
enumerable: true,
|
|
8088
|
+
get() {
|
|
8089
|
+
return own(this, key, compute(this));
|
|
8090
|
+
},
|
|
8091
|
+
set(value) {
|
|
8092
|
+
own(this, key, value);
|
|
8093
|
+
}
|
|
8094
|
+
});
|
|
8095
|
+
}
|
|
8096
|
+
return table;
|
|
8097
|
+
}
|
|
8080
8098
|
function defineBound(proto, key, fn) {
|
|
8081
8099
|
Object.defineProperty(proto, key, {
|
|
8082
8100
|
configurable: true,
|
|
@@ -8158,7 +8176,7 @@ function constantCatch(value) {
|
|
|
8158
8176
|
return fn;
|
|
8159
8177
|
}
|
|
8160
8178
|
|
|
8161
|
-
// node_modules/zod/v4/core/core.js
|
|
8179
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/core.js
|
|
8162
8180
|
var _a;
|
|
8163
8181
|
var _zodDesc = { value: void 0, enumerable: false };
|
|
8164
8182
|
var _E = "captureStackTrace" in Error ? Error : null;
|
|
@@ -8201,8 +8219,7 @@ function $constructor(name, initializer3, proto, params) {
|
|
|
8201
8219
|
} finally {
|
|
8202
8220
|
_zodDesc.value = void 0;
|
|
8203
8221
|
}
|
|
8204
|
-
}
|
|
8205
|
-
if (inst._zod.traits.has(name)) {
|
|
8222
|
+
} else if (inst._zod.traits.has(name)) {
|
|
8206
8223
|
return;
|
|
8207
8224
|
}
|
|
8208
8225
|
inst._zod.traits.add(name);
|
|
@@ -8277,7 +8294,7 @@ function config(newConfig) {
|
|
|
8277
8294
|
return globalConfig;
|
|
8278
8295
|
}
|
|
8279
8296
|
|
|
8280
|
-
// node_modules/zod/v4/core/errors.js
|
|
8297
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/errors.js
|
|
8281
8298
|
function _getMessage() {
|
|
8282
8299
|
const internals = this._zod;
|
|
8283
8300
|
internals.message ?? (internals.message = JSON.stringify(internals.def, jsonStringifyReplacer, 2));
|
|
@@ -8292,16 +8309,12 @@ var _messageDesc = {
|
|
|
8292
8309
|
enumerable: true,
|
|
8293
8310
|
configurable: true
|
|
8294
8311
|
};
|
|
8295
|
-
var _zodDesc2 = { value: void 0, enumerable: false };
|
|
8296
8312
|
var _issuesDesc = { value: void 0, enumerable: false };
|
|
8297
8313
|
var _installedToString = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
8298
8314
|
var initializer = (inst, def) => {
|
|
8299
8315
|
inst.name = "$ZodError";
|
|
8300
|
-
_zodDesc2.value = inst._zod;
|
|
8301
|
-
Object.defineProperty(inst, "_zod", _zodDesc2);
|
|
8302
8316
|
_issuesDesc.value = def;
|
|
8303
8317
|
Object.defineProperty(inst, "issues", _issuesDesc);
|
|
8304
|
-
_zodDesc2.value = void 0;
|
|
8305
8318
|
_issuesDesc.value = void 0;
|
|
8306
8319
|
Object.defineProperty(inst, "message", _messageDesc);
|
|
8307
8320
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -8396,7 +8409,7 @@ function formatError(error2, mapper = (issue2) => issue2.message) {
|
|
|
8396
8409
|
return fieldErrors;
|
|
8397
8410
|
}
|
|
8398
8411
|
|
|
8399
|
-
// node_modules/zod/v4/core/parse.js
|
|
8412
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/parse.js
|
|
8400
8413
|
function finalizeParams(callee, params) {
|
|
8401
8414
|
return { callee: params?.callee ?? callee, Err: params?.Err };
|
|
8402
8415
|
}
|
|
@@ -8437,23 +8450,69 @@ var _safeParse = (_Err) => (schema, value, _ctx) => {
|
|
|
8437
8450
|
if (result instanceof Promise) {
|
|
8438
8451
|
throw new $ZodAsyncError();
|
|
8439
8452
|
}
|
|
8440
|
-
return result.issues.length ? {
|
|
8441
|
-
success: false,
|
|
8442
|
-
error: new (_Err ?? $ZodError)(result.issues.map((iss) => finalizeIssue(iss, ctx, config())))
|
|
8443
|
-
} : { success: true, data: result.value };
|
|
8453
|
+
return result.issues.length ? failure(_Err, result.issues, ctx) : { success: true, data: result.value };
|
|
8444
8454
|
};
|
|
8445
8455
|
var safeParse = /* @__PURE__ */ _safeParse($ZodRealError);
|
|
8456
|
+
function failure(Err, issues, ctx) {
|
|
8457
|
+
let error2;
|
|
8458
|
+
return {
|
|
8459
|
+
success: false,
|
|
8460
|
+
get error() {
|
|
8461
|
+
if (!error2) {
|
|
8462
|
+
error2 = new Err(issues.map((iss) => finalizeIssue(iss, ctx, config())));
|
|
8463
|
+
issues = void 0;
|
|
8464
|
+
ctx = void 0;
|
|
8465
|
+
}
|
|
8466
|
+
return error2;
|
|
8467
|
+
},
|
|
8468
|
+
set error(e) {
|
|
8469
|
+
error2 = e;
|
|
8470
|
+
issues = void 0;
|
|
8471
|
+
ctx = void 0;
|
|
8472
|
+
}
|
|
8473
|
+
};
|
|
8474
|
+
}
|
|
8446
8475
|
var _safeParseAsync = (_Err) => async (schema, value, _ctx) => {
|
|
8447
8476
|
const ctx = _ctx ? { ..._ctx, async: true } : { async: true };
|
|
8448
8477
|
let result = schema._zod.run({ value, issues: [] }, ctx);
|
|
8449
8478
|
if (result instanceof Promise)
|
|
8450
8479
|
result = await result;
|
|
8451
|
-
return result.issues.length ? {
|
|
8452
|
-
|
|
8453
|
-
|
|
8454
|
-
|
|
8480
|
+
return result.issues.length ? failure(_Err, result.issues, ctx) : { success: true, data: result.value };
|
|
8481
|
+
};
|
|
8482
|
+
var COMPILE_INVALID = /* @__PURE__ */ Symbol.for("zod.compile.invalid");
|
|
8483
|
+
var COMPILE_FALLBACK = /* @__PURE__ */ Symbol.for("zod.compile.fallback");
|
|
8484
|
+
var validate = ((schema, value, _ctx) => {
|
|
8485
|
+
const validator = schema._zod.bag.validator;
|
|
8486
|
+
if (validator !== void 0) {
|
|
8487
|
+
if (validator(value) !== COMPILE_INVALID)
|
|
8488
|
+
return true;
|
|
8489
|
+
if (validator.definite === true && _ctx === void 0)
|
|
8490
|
+
return false;
|
|
8491
|
+
}
|
|
8492
|
+
return validateFallback(schema, value, _ctx);
|
|
8493
|
+
});
|
|
8494
|
+
function validateFallback(schema, value, _ctx) {
|
|
8495
|
+
const ctx = _ctx ? { ..._ctx, async: false, abortEarly: true } : { async: false, abortEarly: true };
|
|
8496
|
+
const fallbackRun = schema._zod.bag.fallbackRun;
|
|
8497
|
+
let result;
|
|
8498
|
+
if (fallbackRun) {
|
|
8499
|
+
ctx[COMPILE_FALLBACK] = true;
|
|
8500
|
+
result = fallbackRun({ value, issues: [] }, ctx);
|
|
8501
|
+
} else {
|
|
8502
|
+
result = schema._zod.run({ value, issues: [] }, ctx);
|
|
8503
|
+
}
|
|
8504
|
+
if (result instanceof Promise) {
|
|
8505
|
+
throw new $ZodAsyncError();
|
|
8506
|
+
}
|
|
8507
|
+
return result.issues.length === 0;
|
|
8508
|
+
}
|
|
8509
|
+
var validateAsync = async (schema, value, _ctx) => {
|
|
8510
|
+
const ctx = _ctx ? { ..._ctx, async: true, abortEarly: true } : { async: true, abortEarly: true };
|
|
8511
|
+
let result = schema._zod.run({ value, issues: [] }, ctx);
|
|
8512
|
+
if (result instanceof Promise)
|
|
8513
|
+
result = await result;
|
|
8514
|
+
return result.issues.length === 0;
|
|
8455
8515
|
};
|
|
8456
|
-
var safeParseAsync = /* @__PURE__ */ _safeParseAsync($ZodRealError);
|
|
8457
8516
|
var _encode = (_Err) => {
|
|
8458
8517
|
const parse3 = _parse(_Err);
|
|
8459
8518
|
const fn = (schema, value, _ctx, _params) => {
|
|
@@ -8499,7 +8558,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
8499
8558
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
8500
8559
|
};
|
|
8501
8560
|
|
|
8502
|
-
// node_modules/zod/v4/core/regexes.js
|
|
8561
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/regexes.js
|
|
8503
8562
|
var cuid = /^[cC][0-9a-z]{6,}$/;
|
|
8504
8563
|
var cuid2 = /^[0-9a-z]+$/;
|
|
8505
8564
|
var ulid = /^[0-7][0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{25}$/;
|
|
@@ -8516,8 +8575,8 @@ var uuid = (version2) => {
|
|
|
8516
8575
|
return /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/;
|
|
8517
8576
|
return new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${version2}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`);
|
|
8518
8577
|
};
|
|
8519
|
-
var email = /^(
|
|
8520
|
-
var _emoji = `^[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$`;
|
|
8578
|
+
var email = /^(?:[A-Za-z0-9_'+\-]+\.)*[A-Za-z0-9_'+\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;
|
|
8579
|
+
var _emoji = `^(?=[\\s\\S]*[\\p{Extended_Pictographic}\\p{Regional_Indicator}\\u20E3])[\\p{Extended_Pictographic}\\p{Emoji_Component}]+$`;
|
|
8521
8580
|
function emoji() {
|
|
8522
8581
|
return new RegExp(_emoji, "u");
|
|
8523
8582
|
}
|
|
@@ -8526,7 +8585,7 @@ var ipv6 = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|(
|
|
|
8526
8585
|
var cidrv4 = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/;
|
|
8527
8586
|
var cidrv6 = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/;
|
|
8528
8587
|
var base64 = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/;
|
|
8529
|
-
var base64url = /^[A-Za-z0-9_-]
|
|
8588
|
+
var base64url = /^(?:[A-Za-z0-9_-]{4})*(?:[A-Za-z0-9_-]{2,3})?$/;
|
|
8530
8589
|
var httpProtocol = /^https?$/;
|
|
8531
8590
|
var e164 = /^\+[1-9]\d{6,14}$/;
|
|
8532
8591
|
var dateSource = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;
|
|
@@ -8550,10 +8609,7 @@ function datetime(args) {
|
|
|
8550
8609
|
const timeRegex = args.local ? `${qualified}|${timeSource({ precision: args.precision })}` : qualified;
|
|
8551
8610
|
return new RegExp(`^${dateSource}T(?:${timeRegex})$`);
|
|
8552
8611
|
}
|
|
8553
|
-
var
|
|
8554
|
-
const regex = params ? `[\\s\\S]{${params?.minimum ?? 0},${params?.maximum ?? ""}}` : `[\\s\\S]*`;
|
|
8555
|
-
return new RegExp(`^${regex}$`);
|
|
8556
|
-
};
|
|
8612
|
+
var anyString = /^[\s\S]{0,}$/;
|
|
8557
8613
|
var integer = /^-?\d+$/;
|
|
8558
8614
|
var number = /^-?\d+(?:\.\d+)?$/;
|
|
8559
8615
|
var boolean = /^(?:true|false)$/i;
|
|
@@ -8561,7 +8617,7 @@ var _null = /^null$/i;
|
|
|
8561
8617
|
var lowercase = /^[^A-Z]*$/;
|
|
8562
8618
|
var uppercase = /^[^a-z]*$/;
|
|
8563
8619
|
|
|
8564
|
-
// node_modules/zod/v4/core/checks.js
|
|
8620
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/checks.js
|
|
8565
8621
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
8566
8622
|
var _a3;
|
|
8567
8623
|
inst._zod ?? (inst._zod = {});
|
|
@@ -8580,16 +8636,6 @@ var numericOriginMap = {
|
|
|
8580
8636
|
var $ZodCheckLessThan = /* @__PURE__ */ $constructor("$ZodCheckLessThan", (inst, def) => {
|
|
8581
8637
|
$ZodCheck.init(inst, def);
|
|
8582
8638
|
const origin = numericOriginMap[typeof def.value];
|
|
8583
|
-
inst._zod.onattach.push((inst2) => {
|
|
8584
|
-
const bag = inst2._zod.bag;
|
|
8585
|
-
const curr = (def.inclusive ? bag.maximum : bag.exclusiveMaximum) ?? Number.POSITIVE_INFINITY;
|
|
8586
|
-
if (def.value < curr) {
|
|
8587
|
-
if (def.inclusive)
|
|
8588
|
-
bag.maximum = def.value;
|
|
8589
|
-
else
|
|
8590
|
-
bag.exclusiveMaximum = def.value;
|
|
8591
|
-
}
|
|
8592
|
-
});
|
|
8593
8639
|
inst._zod.check = (payload) => {
|
|
8594
8640
|
if (def.inclusive ? payload.value <= def.value : payload.value < def.value) {
|
|
8595
8641
|
return;
|
|
@@ -8608,16 +8654,6 @@ var $ZodCheckLessThan = /* @__PURE__ */ $constructor("$ZodCheckLessThan", (inst,
|
|
|
8608
8654
|
var $ZodCheckGreaterThan = /* @__PURE__ */ $constructor("$ZodCheckGreaterThan", (inst, def) => {
|
|
8609
8655
|
$ZodCheck.init(inst, def);
|
|
8610
8656
|
const origin = numericOriginMap[typeof def.value];
|
|
8611
|
-
inst._zod.onattach.push((inst2) => {
|
|
8612
|
-
const bag = inst2._zod.bag;
|
|
8613
|
-
const curr = (def.inclusive ? bag.minimum : bag.exclusiveMinimum) ?? Number.NEGATIVE_INFINITY;
|
|
8614
|
-
if (def.value > curr) {
|
|
8615
|
-
if (def.inclusive)
|
|
8616
|
-
bag.minimum = def.value;
|
|
8617
|
-
else
|
|
8618
|
-
bag.exclusiveMinimum = def.value;
|
|
8619
|
-
}
|
|
8620
|
-
});
|
|
8621
8657
|
inst._zod.check = (payload) => {
|
|
8622
8658
|
if (def.inclusive ? payload.value >= def.value : payload.value > def.value) {
|
|
8623
8659
|
return;
|
|
@@ -8635,10 +8671,6 @@ var $ZodCheckGreaterThan = /* @__PURE__ */ $constructor("$ZodCheckGreaterThan",
|
|
|
8635
8671
|
});
|
|
8636
8672
|
var $ZodCheckMultipleOf = /* @__PURE__ */ $constructor("$ZodCheckMultipleOf", (inst, def) => {
|
|
8637
8673
|
$ZodCheck.init(inst, def);
|
|
8638
|
-
inst._zod.onattach.push((inst2) => {
|
|
8639
|
-
var _a3;
|
|
8640
|
-
(_a3 = inst2._zod.bag).multipleOf ?? (_a3.multipleOf = def.value);
|
|
8641
|
-
});
|
|
8642
8674
|
inst._zod.check = (payload) => {
|
|
8643
8675
|
if (typeof payload.value !== typeof def.value)
|
|
8644
8676
|
throw new Error("Cannot mix number and bigint in multiple_of check.");
|
|
@@ -8664,14 +8696,6 @@ var $ZodCheckNumberFormat = /* @__PURE__ */ $constructor("$ZodCheckNumberFormat"
|
|
|
8664
8696
|
const isInt = def.format?.includes("int");
|
|
8665
8697
|
const origin = isInt ? "int" : "number";
|
|
8666
8698
|
const [minimum, maximum] = NUMBER_FORMAT_RANGES[def.format];
|
|
8667
|
-
inst._zod.onattach.push((inst2) => {
|
|
8668
|
-
const bag = inst2._zod.bag;
|
|
8669
|
-
bag.format = def.format;
|
|
8670
|
-
bag.minimum = minimum;
|
|
8671
|
-
bag.maximum = maximum;
|
|
8672
|
-
if (isInt)
|
|
8673
|
-
bag.pattern = integer;
|
|
8674
|
-
});
|
|
8675
8699
|
inst._zod.check = (payload) => {
|
|
8676
8700
|
const input = payload.value;
|
|
8677
8701
|
if (isInt) {
|
|
@@ -8741,11 +8765,6 @@ var $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (ins
|
|
|
8741
8765
|
var _a3;
|
|
8742
8766
|
$ZodCheck.init(inst, def);
|
|
8743
8767
|
(_a3 = inst._zod.def).when ?? (_a3.when = _whenHasLength);
|
|
8744
|
-
inst._zod.onattach.push((inst2) => {
|
|
8745
|
-
const curr = inst2._zod.bag.maximum ?? Number.POSITIVE_INFINITY;
|
|
8746
|
-
if (def.maximum < curr)
|
|
8747
|
-
inst2._zod.bag.maximum = def.maximum;
|
|
8748
|
-
});
|
|
8749
8768
|
inst._zod.check = (payload) => {
|
|
8750
8769
|
const input = payload.value;
|
|
8751
8770
|
const units = input.length;
|
|
@@ -8768,11 +8787,6 @@ var $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (ins
|
|
|
8768
8787
|
var _a3;
|
|
8769
8788
|
$ZodCheck.init(inst, def);
|
|
8770
8789
|
(_a3 = inst._zod.def).when ?? (_a3.when = _whenHasLength);
|
|
8771
|
-
inst._zod.onattach.push((inst2) => {
|
|
8772
|
-
const curr = inst2._zod.bag.minimum ?? Number.NEGATIVE_INFINITY;
|
|
8773
|
-
if (def.minimum > curr)
|
|
8774
|
-
inst2._zod.bag.minimum = def.minimum;
|
|
8775
|
-
});
|
|
8776
8790
|
inst._zod.check = (payload) => {
|
|
8777
8791
|
const input = payload.value;
|
|
8778
8792
|
const units = input.length;
|
|
@@ -8795,12 +8809,6 @@ var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals"
|
|
|
8795
8809
|
var _a3;
|
|
8796
8810
|
$ZodCheck.init(inst, def);
|
|
8797
8811
|
(_a3 = inst._zod.def).when ?? (_a3.when = _whenHasLength);
|
|
8798
|
-
inst._zod.onattach.push((inst2) => {
|
|
8799
|
-
const bag = inst2._zod.bag;
|
|
8800
|
-
bag.minimum = def.length;
|
|
8801
|
-
bag.maximum = def.length;
|
|
8802
|
-
bag.length = def.length;
|
|
8803
|
-
});
|
|
8804
8812
|
inst._zod.check = (payload) => {
|
|
8805
8813
|
const input = payload.value;
|
|
8806
8814
|
const units = input.length;
|
|
@@ -8823,14 +8831,6 @@ var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals"
|
|
|
8823
8831
|
var $ZodCheckStringFormat = /* @__PURE__ */ $constructor("$ZodCheckStringFormat", (inst, def) => {
|
|
8824
8832
|
var _a3, _b;
|
|
8825
8833
|
$ZodCheck.init(inst, def);
|
|
8826
|
-
inst._zod.onattach.push((inst2) => {
|
|
8827
|
-
const bag = inst2._zod.bag;
|
|
8828
|
-
bag.format = def.format;
|
|
8829
|
-
if (def.pattern) {
|
|
8830
|
-
bag.patterns ?? (bag.patterns = /* @__PURE__ */ new Set());
|
|
8831
|
-
bag.patterns.add(def.pattern);
|
|
8832
|
-
}
|
|
8833
|
-
});
|
|
8834
8834
|
if (def.pattern)
|
|
8835
8835
|
(_a3 = inst._zod).check ?? (_a3.check = (payload) => {
|
|
8836
8836
|
def.pattern.lastIndex = 0;
|
|
@@ -8880,11 +8880,6 @@ var $ZodCheckIncludes = /* @__PURE__ */ $constructor("$ZodCheckIncludes", (inst,
|
|
|
8880
8880
|
const escapedRegex = escapeRegex(def.includes);
|
|
8881
8881
|
const pattern = new RegExp(typeof def.position === "number" ? `^.{${def.position},}${escapedRegex}` : escapedRegex);
|
|
8882
8882
|
def.pattern = pattern;
|
|
8883
|
-
inst._zod.onattach.push((inst2) => {
|
|
8884
|
-
const bag = inst2._zod.bag;
|
|
8885
|
-
bag.patterns ?? (bag.patterns = /* @__PURE__ */ new Set());
|
|
8886
|
-
bag.patterns.add(pattern);
|
|
8887
|
-
});
|
|
8888
8883
|
inst._zod.check = (payload) => {
|
|
8889
8884
|
if (payload.value.includes(def.includes, def.position))
|
|
8890
8885
|
return;
|
|
@@ -8903,11 +8898,6 @@ var $ZodCheckStartsWith = /* @__PURE__ */ $constructor("$ZodCheckStartsWith", (i
|
|
|
8903
8898
|
$ZodCheck.init(inst, def);
|
|
8904
8899
|
const pattern = new RegExp(`^${escapeRegex(def.prefix)}.*`);
|
|
8905
8900
|
def.pattern ?? (def.pattern = pattern);
|
|
8906
|
-
inst._zod.onattach.push((inst2) => {
|
|
8907
|
-
const bag = inst2._zod.bag;
|
|
8908
|
-
bag.patterns ?? (bag.patterns = /* @__PURE__ */ new Set());
|
|
8909
|
-
bag.patterns.add(pattern);
|
|
8910
|
-
});
|
|
8911
8901
|
inst._zod.check = (payload) => {
|
|
8912
8902
|
if (payload.value.startsWith(def.prefix))
|
|
8913
8903
|
return;
|
|
@@ -8926,11 +8916,6 @@ var $ZodCheckEndsWith = /* @__PURE__ */ $constructor("$ZodCheckEndsWith", (inst,
|
|
|
8926
8916
|
$ZodCheck.init(inst, def);
|
|
8927
8917
|
const pattern = new RegExp(`.*${escapeRegex(def.suffix)}$`);
|
|
8928
8918
|
def.pattern ?? (def.pattern = pattern);
|
|
8929
|
-
inst._zod.onattach.push((inst2) => {
|
|
8930
|
-
const bag = inst2._zod.bag;
|
|
8931
|
-
bag.patterns ?? (bag.patterns = /* @__PURE__ */ new Set());
|
|
8932
|
-
bag.patterns.add(pattern);
|
|
8933
|
-
});
|
|
8934
8919
|
inst._zod.check = (payload) => {
|
|
8935
8920
|
if (payload.value.endsWith(def.suffix))
|
|
8936
8921
|
return;
|
|
@@ -8952,7 +8937,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
8952
8937
|
};
|
|
8953
8938
|
});
|
|
8954
8939
|
|
|
8955
|
-
// node_modules/zod/v4/core/doc.js
|
|
8940
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/doc.js
|
|
8956
8941
|
var Doc = class {
|
|
8957
8942
|
constructor(args = [], closed = {}) {
|
|
8958
8943
|
this.content = [];
|
|
@@ -8960,10 +8945,14 @@ var Doc = class {
|
|
|
8960
8945
|
this.args = args;
|
|
8961
8946
|
this.closed = closed;
|
|
8962
8947
|
}
|
|
8948
|
+
// the compiler catches a child's throw and keeps writing into this doc, so the indent has to unwind with it
|
|
8963
8949
|
indented(fn) {
|
|
8964
8950
|
this.indent += 1;
|
|
8965
|
-
|
|
8966
|
-
|
|
8951
|
+
try {
|
|
8952
|
+
fn(this);
|
|
8953
|
+
} finally {
|
|
8954
|
+
this.indent -= 1;
|
|
8955
|
+
}
|
|
8967
8956
|
}
|
|
8968
8957
|
write(arg) {
|
|
8969
8958
|
if (typeof arg === "function") {
|
|
@@ -8989,14 +8978,14 @@ ${content.join("\n")}
|
|
|
8989
8978
|
}
|
|
8990
8979
|
};
|
|
8991
8980
|
|
|
8992
|
-
// node_modules/zod/v4/core/versions.js
|
|
8981
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/versions.js
|
|
8993
8982
|
var version = {
|
|
8994
8983
|
major: 4,
|
|
8995
|
-
minor:
|
|
8996
|
-
patch:
|
|
8984
|
+
minor: 6,
|
|
8985
|
+
patch: 5
|
|
8997
8986
|
};
|
|
8998
8987
|
|
|
8999
|
-
// node_modules/zod/v4/core/schemas.js
|
|
8988
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/schemas.js
|
|
9000
8989
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
9001
8990
|
var _a3;
|
|
9002
8991
|
inst ?? (inst = {});
|
|
@@ -9106,15 +9095,22 @@ var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
|
9106
9095
|
own(this, "~standard", value);
|
|
9107
9096
|
}
|
|
9108
9097
|
});
|
|
9109
|
-
var toStandardResult = (r) => r.
|
|
9098
|
+
var toStandardResult = (r, ctx) => r.issues.length ? { issues: r.issues.map((iss) => finalizeIssue(iss, ctx, config())) } : { value: r.value };
|
|
9099
|
+
async function validateAsync2(inst, value) {
|
|
9100
|
+
const ctx = { async: true };
|
|
9101
|
+
return toStandardResult(await inst._zod.run({ value, issues: [] }, ctx), ctx);
|
|
9102
|
+
}
|
|
9110
9103
|
function standardProps(inst) {
|
|
9111
9104
|
return {
|
|
9112
9105
|
validate: (value) => {
|
|
9106
|
+
const ctx = { async: false };
|
|
9113
9107
|
try {
|
|
9114
|
-
|
|
9108
|
+
const r = inst._zod.run({ value, issues: [] }, ctx);
|
|
9109
|
+
if (!(r instanceof Promise))
|
|
9110
|
+
return toStandardResult(r, ctx);
|
|
9115
9111
|
} catch (_) {
|
|
9116
|
-
return safeParseAsync(inst, value).then(toStandardResult);
|
|
9117
9112
|
}
|
|
9113
|
+
return validateAsync2(inst, value);
|
|
9118
9114
|
},
|
|
9119
9115
|
vendor: "zod",
|
|
9120
9116
|
version: 1
|
|
@@ -9122,7 +9118,7 @@ function standardProps(inst) {
|
|
|
9122
9118
|
}
|
|
9123
9119
|
var $ZodString = /* @__PURE__ */ $constructor("$ZodString", (inst, def) => {
|
|
9124
9120
|
$ZodType.init(inst, def);
|
|
9125
|
-
inst._zod.pattern =
|
|
9121
|
+
inst._zod.pattern = def.pattern ?? anyString;
|
|
9126
9122
|
inst._zod.parse = (payload, _) => {
|
|
9127
9123
|
if (def.coerce)
|
|
9128
9124
|
try {
|
|
@@ -9174,11 +9170,32 @@ var $ZodEmail = /* @__PURE__ */ $constructor("$ZodEmail", (inst, def) => {
|
|
|
9174
9170
|
});
|
|
9175
9171
|
var URL_BAD_FORMAT = 1;
|
|
9176
9172
|
var URL_UNPARSEABLE = 2;
|
|
9173
|
+
function canParseURL(input) {
|
|
9174
|
+
try {
|
|
9175
|
+
if (typeof URL !== "undefined" && typeof URL.canParse === "function")
|
|
9176
|
+
return URL.canParse(input);
|
|
9177
|
+
new URL(input);
|
|
9178
|
+
return true;
|
|
9179
|
+
} catch {
|
|
9180
|
+
return false;
|
|
9181
|
+
}
|
|
9182
|
+
}
|
|
9183
|
+
function validateURL(trimmed, def) {
|
|
9184
|
+
if (!("normalize" in def) && !("hostname" in def) && !("protocol" in def)) {
|
|
9185
|
+
return canParseURL(trimmed) || URL_UNPARSEABLE;
|
|
9186
|
+
}
|
|
9187
|
+
return parseURLObject(trimmed, def);
|
|
9188
|
+
}
|
|
9177
9189
|
function parseURLObject(trimmed, def) {
|
|
9178
9190
|
if (!def.normalize && def.protocol?.source === httpProtocol.source && !/^https?:\/\//i.test(trimmed)) {
|
|
9179
9191
|
return URL_BAD_FORMAT;
|
|
9180
9192
|
}
|
|
9181
9193
|
try {
|
|
9194
|
+
if (typeof URL !== "undefined") {
|
|
9195
|
+
const URLStatic = URL;
|
|
9196
|
+
if (typeof URLStatic.parse === "function")
|
|
9197
|
+
return URLStatic.parse(trimmed) ?? URL_UNPARSEABLE;
|
|
9198
|
+
}
|
|
9182
9199
|
return new URL(trimmed);
|
|
9183
9200
|
} catch {
|
|
9184
9201
|
return URL_UNPARSEABLE;
|
|
@@ -9201,7 +9218,7 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
9201
9218
|
inst._zod.check = (payload) => {
|
|
9202
9219
|
try {
|
|
9203
9220
|
const trimmed = payload.value.trim();
|
|
9204
|
-
const url =
|
|
9221
|
+
const url = validateURL(trimmed, def);
|
|
9205
9222
|
if (url === URL_BAD_FORMAT) {
|
|
9206
9223
|
payload.issues.push({
|
|
9207
9224
|
code: "invalid_format",
|
|
@@ -9223,6 +9240,10 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
|
|
|
9223
9240
|
});
|
|
9224
9241
|
return;
|
|
9225
9242
|
}
|
|
9243
|
+
if (url === true) {
|
|
9244
|
+
payload.value = stripTabAndNewline(trimmed);
|
|
9245
|
+
return;
|
|
9246
|
+
}
|
|
9226
9247
|
if (def.hostname && !urlHostnameOk(url, def.hostname)) {
|
|
9227
9248
|
payload.issues.push({
|
|
9228
9249
|
code: "invalid_format",
|
|
@@ -9291,12 +9312,6 @@ var $ZodKSUID = /* @__PURE__ */ $constructor("$ZodKSUID", (inst, def) => {
|
|
|
9291
9312
|
var $ZodISODateTime = /* @__PURE__ */ $constructor("$ZodISODateTime", (inst, def) => {
|
|
9292
9313
|
def.pattern ?? (def.pattern = datetime(def));
|
|
9293
9314
|
$ZodStringFormat.init(inst, def);
|
|
9294
|
-
if (def.local || def.precision === -1) {
|
|
9295
|
-
inst._zod.bag.laxFormat = true;
|
|
9296
|
-
inst._zod.onattach.push((s) => {
|
|
9297
|
-
s._zod.bag.laxFormat = true;
|
|
9298
|
-
});
|
|
9299
|
-
}
|
|
9300
9315
|
});
|
|
9301
9316
|
var $ZodISODate = /* @__PURE__ */ $constructor("$ZodISODate", (inst, def) => {
|
|
9302
9317
|
def.pattern ?? (def.pattern = date);
|
|
@@ -9313,23 +9328,16 @@ var $ZodISODuration = /* @__PURE__ */ $constructor("$ZodISODuration", (inst, def
|
|
|
9313
9328
|
var $ZodIPv4 = /* @__PURE__ */ $constructor("$ZodIPv4", (inst, def) => {
|
|
9314
9329
|
def.pattern ?? (def.pattern = ipv4);
|
|
9315
9330
|
$ZodStringFormat.init(inst, def);
|
|
9316
|
-
inst._zod.bag.format = `ipv4`;
|
|
9317
9331
|
});
|
|
9318
9332
|
var ipv6Alphabet = /^[0-9a-fA-F:.]+$/;
|
|
9319
9333
|
function isValidIPv6(value) {
|
|
9320
9334
|
if (!ipv6Alphabet.test(value))
|
|
9321
9335
|
return false;
|
|
9322
|
-
|
|
9323
|
-
new URL(`http://[${value}]`);
|
|
9324
|
-
return true;
|
|
9325
|
-
} catch {
|
|
9326
|
-
return false;
|
|
9327
|
-
}
|
|
9336
|
+
return canParseURL(`http://[${value}]`);
|
|
9328
9337
|
}
|
|
9329
9338
|
var $ZodIPv6 = /* @__PURE__ */ $constructor("$ZodIPv6", (inst, def) => {
|
|
9330
9339
|
def.pattern ?? (def.pattern = ipv6);
|
|
9331
9340
|
$ZodStringFormat.init(inst, def);
|
|
9332
|
-
inst._zod.bag.format = `ipv6`;
|
|
9333
9341
|
inst._zod.check = (payload) => {
|
|
9334
9342
|
if (!isValidIPv6(payload.value)) {
|
|
9335
9343
|
payload.issues.push({
|
|
@@ -9389,10 +9397,10 @@ function isValidBase64(data) {
|
|
|
9389
9397
|
return false;
|
|
9390
9398
|
}
|
|
9391
9399
|
}
|
|
9400
|
+
var base64Charset = /^[0-9a-zA-Z+/]*={0,2}$/;
|
|
9392
9401
|
var $ZodBase64 = /* @__PURE__ */ $constructor("$ZodBase64", (inst, def) => {
|
|
9393
|
-
def.pattern ?? (def.pattern =
|
|
9402
|
+
def.pattern ?? (def.pattern = base64Charset);
|
|
9394
9403
|
$ZodStringFormat.init(inst, def);
|
|
9395
|
-
inst._zod.bag.contentEncoding = "base64";
|
|
9396
9404
|
inst._zod.check = (payload) => {
|
|
9397
9405
|
if (isValidBase64(payload.value))
|
|
9398
9406
|
return;
|
|
@@ -9405,17 +9413,17 @@ var $ZodBase64 = /* @__PURE__ */ $constructor("$ZodBase64", (inst, def) => {
|
|
|
9405
9413
|
});
|
|
9406
9414
|
};
|
|
9407
9415
|
});
|
|
9416
|
+
var base64urlCharset = /^[A-Za-z0-9_-]*$/;
|
|
9408
9417
|
function isValidBase64URL(data) {
|
|
9409
|
-
if (!
|
|
9418
|
+
if (!base64urlCharset.test(data))
|
|
9410
9419
|
return false;
|
|
9411
9420
|
const base642 = data.replace(/[-_]/g, (c) => c === "-" ? "+" : "/");
|
|
9412
9421
|
const padded = base642.padEnd(Math.ceil(base642.length / 4) * 4, "=");
|
|
9413
9422
|
return isValidBase64(padded);
|
|
9414
9423
|
}
|
|
9415
9424
|
var $ZodBase64URL = /* @__PURE__ */ $constructor("$ZodBase64URL", (inst, def) => {
|
|
9416
|
-
def.pattern ?? (def.pattern =
|
|
9425
|
+
def.pattern ?? (def.pattern = base64urlCharset);
|
|
9417
9426
|
$ZodStringFormat.init(inst, def);
|
|
9418
|
-
inst._zod.bag.contentEncoding = "base64url";
|
|
9419
9427
|
inst._zod.check = (payload) => {
|
|
9420
9428
|
if (isValidBase64URL(payload.value))
|
|
9421
9429
|
return;
|
|
@@ -9468,7 +9476,7 @@ var $ZodJWT = /* @__PURE__ */ $constructor("$ZodJWT", (inst, def) => {
|
|
|
9468
9476
|
});
|
|
9469
9477
|
var $ZodNumber = /* @__PURE__ */ $constructor("$ZodNumber", (inst, def) => {
|
|
9470
9478
|
$ZodType.init(inst, def);
|
|
9471
|
-
inst._zod.pattern =
|
|
9479
|
+
inst._zod.pattern = number;
|
|
9472
9480
|
inst._zod.parse = (payload, _ctx) => {
|
|
9473
9481
|
if (def.coerce)
|
|
9474
9482
|
try {
|
|
@@ -9571,6 +9579,7 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
|
|
|
9571
9579
|
}
|
|
9572
9580
|
payload.value = memo2 ? memo2.alloc(inst, payload, Array(input.length), ctx) : Array(input.length);
|
|
9573
9581
|
const proms = [];
|
|
9582
|
+
const abortEarly = ctx?.abortEarly;
|
|
9574
9583
|
for (let i = 0; i < input.length; i++) {
|
|
9575
9584
|
const item = input[i];
|
|
9576
9585
|
const result = def.element._zod.run({
|
|
@@ -9581,6 +9590,8 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
|
|
|
9581
9590
|
proms.push(result.then((result2) => handleArrayResult(result2, payload, i)));
|
|
9582
9591
|
} else {
|
|
9583
9592
|
handleArrayResult(result, payload, i);
|
|
9593
|
+
if (abortEarly && result.issues.length !== 0 && aborted(result))
|
|
9594
|
+
break;
|
|
9584
9595
|
}
|
|
9585
9596
|
}
|
|
9586
9597
|
if (proms.length) {
|
|
@@ -9613,7 +9624,7 @@ function handlePropertyResult(result, final, key, input, optin, optout) {
|
|
|
9613
9624
|
return;
|
|
9614
9625
|
}
|
|
9615
9626
|
if (result.value === void 0) {
|
|
9616
|
-
if (isPresent) {
|
|
9627
|
+
if (isPresent || optin === "defaulted" && !isOptionalOut) {
|
|
9617
9628
|
final.value[key] = void 0;
|
|
9618
9629
|
}
|
|
9619
9630
|
} else {
|
|
@@ -9642,14 +9653,20 @@ function normalizeDef(def) {
|
|
|
9642
9653
|
optionalKeys: new Set(okeys)
|
|
9643
9654
|
};
|
|
9644
9655
|
}
|
|
9645
|
-
function handleCatchall(proms, input, payload, ctx, def, inst) {
|
|
9656
|
+
function handleCatchall(proms, input, payload, ctx, def, inst, abortEarly) {
|
|
9646
9657
|
const unrecognized = [];
|
|
9647
9658
|
const keySet = def.keySet;
|
|
9648
9659
|
const _catchall = def.catchall._zod;
|
|
9649
9660
|
const t = _catchall.def.type;
|
|
9650
9661
|
const optin = _catchall.optin;
|
|
9651
9662
|
const optout = _catchall.optout;
|
|
9663
|
+
let seen = 0;
|
|
9652
9664
|
for (const key in input) {
|
|
9665
|
+
if (abortEarly && payload.issues.length !== seen) {
|
|
9666
|
+
if (aborted(payload, seen))
|
|
9667
|
+
break;
|
|
9668
|
+
seen = payload.issues.length;
|
|
9669
|
+
}
|
|
9653
9670
|
if (keySet.has(key))
|
|
9654
9671
|
continue;
|
|
9655
9672
|
if (key === "__proto__") {
|
|
@@ -9684,23 +9701,19 @@ function handleCatchall(proms, input, payload, ctx, def, inst) {
|
|
|
9684
9701
|
return payload;
|
|
9685
9702
|
});
|
|
9686
9703
|
}
|
|
9687
|
-
var propShapes = /* @__PURE__ */ new WeakMap();
|
|
9688
9704
|
var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
9689
9705
|
$ZodType.init(inst, def);
|
|
9690
9706
|
const desc = Object.getOwnPropertyDescriptor(def, "shape");
|
|
9691
|
-
|
|
9692
|
-
|
|
9693
|
-
|
|
9694
|
-
|
|
9695
|
-
|
|
9696
|
-
|
|
9697
|
-
|
|
9698
|
-
|
|
9699
|
-
|
|
9700
|
-
|
|
9701
|
-
return newSh;
|
|
9702
|
-
}
|
|
9703
|
-
});
|
|
9707
|
+
const sh = desc?.get ? desc.get.raw : def.shape ?? {};
|
|
9708
|
+
if (sh) {
|
|
9709
|
+
const get = () => {
|
|
9710
|
+
const newSh = { ...sh };
|
|
9711
|
+
Object.defineProperty(def, "shape", { value: newSh });
|
|
9712
|
+
get.raw = newSh;
|
|
9713
|
+
return newSh;
|
|
9714
|
+
};
|
|
9715
|
+
get.raw = sh;
|
|
9716
|
+
Object.defineProperty(def, "shape", { get });
|
|
9704
9717
|
}
|
|
9705
9718
|
const _normalized = cached(() => normalizeDef(def));
|
|
9706
9719
|
defineLazyInternal(inst, "propValues", (zod) => {
|
|
@@ -9740,7 +9753,14 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
|
9740
9753
|
payload.value = memo2 ? memo2.alloc(inst, payload, {}, ctx) : {};
|
|
9741
9754
|
const proms = [];
|
|
9742
9755
|
const shape = value.shape;
|
|
9756
|
+
const abortEarly = ctx?.abortEarly;
|
|
9757
|
+
let seen = payload.issues.length;
|
|
9743
9758
|
for (const key of value.allKeys) {
|
|
9759
|
+
if (abortEarly && payload.issues.length !== seen) {
|
|
9760
|
+
if (aborted(payload, seen))
|
|
9761
|
+
break;
|
|
9762
|
+
seen = payload.issues.length;
|
|
9763
|
+
}
|
|
9744
9764
|
if (key === "__proto__")
|
|
9745
9765
|
continue;
|
|
9746
9766
|
const el = shape[key];
|
|
@@ -9756,7 +9776,7 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
|
9756
9776
|
if (!catchall) {
|
|
9757
9777
|
return proms.length ? Promise.all(proms).then(() => payload) : payload;
|
|
9758
9778
|
}
|
|
9759
|
-
return handleCatchall(proms, input, payload, ctx, _normalized.value, inst);
|
|
9779
|
+
return handleCatchall(proms, input, payload, ctx, _normalized.value, inst, abortEarly === true);
|
|
9760
9780
|
};
|
|
9761
9781
|
});
|
|
9762
9782
|
var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) => {
|
|
@@ -9770,10 +9790,16 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
9770
9790
|
const doc = new Doc(["payload", "ctx"], { shape, inst, memo: memo2, syms });
|
|
9771
9791
|
const parseStr = (k) => `shape[${k}]._zod.run({ value: input[${k}], issues: [] }, ctx)`;
|
|
9772
9792
|
const prefixStr = (id, k) => `
|
|
9793
|
+
let ${id}_ab = false;
|
|
9773
9794
|
for (let i = 0; i < ${id}.issues.length; i++) {
|
|
9774
9795
|
const iss = ${id}.issues[i];
|
|
9775
9796
|
iss.path = iss.path ? [${k}, ...iss.path] : [${k}];
|
|
9776
9797
|
payload.issues.push(iss);
|
|
9798
|
+
if (iss.continue !== true) ${id}_ab = true;
|
|
9799
|
+
}
|
|
9800
|
+
if (${id}_ab && ctx && ctx.abortEarly) {
|
|
9801
|
+
payload.value = newResult;
|
|
9802
|
+
return payload;
|
|
9777
9803
|
}`;
|
|
9778
9804
|
doc.write(`const input = payload.value;`);
|
|
9779
9805
|
const ids = /* @__PURE__ */ Object.create(null);
|
|
@@ -9819,6 +9845,10 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
9819
9845
|
input: undefined,
|
|
9820
9846
|
path: [${k}]
|
|
9821
9847
|
});
|
|
9848
|
+
if (ctx && ctx.abortEarly) {
|
|
9849
|
+
payload.value = newResult;
|
|
9850
|
+
return payload;
|
|
9851
|
+
}
|
|
9822
9852
|
}
|
|
9823
9853
|
|
|
9824
9854
|
if (${id}_present) {
|
|
@@ -9830,16 +9860,16 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
9830
9860
|
doc.write(`
|
|
9831
9861
|
if (${id}.issues.length) {${prefixStr(id, k)}
|
|
9832
9862
|
}
|
|
9833
|
-
|
|
9834
|
-
if (
|
|
9835
|
-
|
|
9836
|
-
newResult[${k}] = undefined;
|
|
9837
|
-
}
|
|
9863
|
+
`);
|
|
9864
|
+
if (optin === "defaulted") {
|
|
9865
|
+
doc.write(`newResult[${k}] = ${id}.value;`);
|
|
9838
9866
|
} else {
|
|
9867
|
+
doc.write(`
|
|
9868
|
+
if (${id}.value !== undefined || ${isPresent}) {
|
|
9839
9869
|
newResult[${k}] = ${id}.value;
|
|
9840
9870
|
}
|
|
9841
|
-
|
|
9842
9871
|
`);
|
|
9872
|
+
}
|
|
9843
9873
|
}
|
|
9844
9874
|
}
|
|
9845
9875
|
doc.write(`payload.value = newResult;`);
|
|
@@ -9871,7 +9901,7 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
9871
9901
|
payload = fastpass(payload, ctx);
|
|
9872
9902
|
if (!catchall)
|
|
9873
9903
|
return payload;
|
|
9874
|
-
return handleCatchall([], input, payload, ctx, value, inst);
|
|
9904
|
+
return handleCatchall([], input, payload, ctx, value, inst, ctx?.abortEarly === true);
|
|
9875
9905
|
}
|
|
9876
9906
|
return superParse(payload, ctx);
|
|
9877
9907
|
};
|
|
@@ -9941,16 +9971,37 @@ var $ZodUnion = /* @__PURE__ */ $constructor("$ZodUnion", (inst, def) => {
|
|
|
9941
9971
|
});
|
|
9942
9972
|
};
|
|
9943
9973
|
});
|
|
9974
|
+
function discriminatorMap(def) {
|
|
9975
|
+
const map = /* @__PURE__ */ new Map();
|
|
9976
|
+
for (const option of def.options) {
|
|
9977
|
+
const values = option._zod.propValues?.[def.discriminator];
|
|
9978
|
+
if (!values || values.size === 0)
|
|
9979
|
+
throw new Error(`Invalid discriminated union option at index "${def.options.indexOf(option)}"`);
|
|
9980
|
+
for (const value of values) {
|
|
9981
|
+
if (map.has(value)) {
|
|
9982
|
+
if (value !== void 0)
|
|
9983
|
+
throw new Error(`Duplicate discriminator value "${String(value)}"`);
|
|
9984
|
+
map.set(value, null);
|
|
9985
|
+
} else {
|
|
9986
|
+
map.set(value, option);
|
|
9987
|
+
}
|
|
9988
|
+
}
|
|
9989
|
+
}
|
|
9990
|
+
return map;
|
|
9991
|
+
}
|
|
9944
9992
|
var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnion", (inst, def) => {
|
|
9945
9993
|
def.inclusive = false;
|
|
9946
9994
|
$ZodUnion.init(inst, def);
|
|
9947
9995
|
const _super = inst._zod.parse;
|
|
9948
9996
|
defineLazyInternal(inst, "propValues", (zod) => {
|
|
9949
9997
|
const propValues = {};
|
|
9998
|
+
let undefinedCount = 0;
|
|
9950
9999
|
for (const option of zod.def.options) {
|
|
9951
10000
|
const pv = option._zod.propValues;
|
|
9952
10001
|
if (!pv || Object.keys(pv).length === 0)
|
|
9953
10002
|
throw new Error(`Invalid discriminated union option at index "${zod.def.options.indexOf(option)}"`);
|
|
10003
|
+
if (pv[zod.def.discriminator]?.has(void 0))
|
|
10004
|
+
undefinedCount++;
|
|
9954
10005
|
for (const [k, v] of Object.entries(pv)) {
|
|
9955
10006
|
if (!Object.prototype.hasOwnProperty.call(propValues, k)) {
|
|
9956
10007
|
assignProp(propValues, k, /* @__PURE__ */ new Set());
|
|
@@ -9960,30 +10011,17 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
|
|
|
9960
10011
|
}
|
|
9961
10012
|
}
|
|
9962
10013
|
}
|
|
10014
|
+
if (!zod.def.unionFallback && undefinedCount > 1)
|
|
10015
|
+
propValues[zod.def.discriminator]?.delete(void 0);
|
|
9963
10016
|
return propValues;
|
|
9964
10017
|
});
|
|
9965
10018
|
def.options.forEach((option, i) => {
|
|
9966
|
-
const propShape =
|
|
10019
|
+
const propShape = rawShape(option._zod.def);
|
|
9967
10020
|
if (propShape && !Object.prototype.hasOwnProperty.call(propShape, def.discriminator)) {
|
|
9968
10021
|
throw new Error(`Invalid discriminated union option at index "${i}"`);
|
|
9969
10022
|
}
|
|
9970
10023
|
});
|
|
9971
|
-
const disc = cached(() =>
|
|
9972
|
-
const opts = def.options;
|
|
9973
|
-
const map = /* @__PURE__ */ new Map();
|
|
9974
|
-
for (const o of opts) {
|
|
9975
|
-
const values = o._zod.propValues?.[def.discriminator];
|
|
9976
|
-
if (!values || values.size === 0)
|
|
9977
|
-
throw new Error(`Invalid discriminated union option at index "${def.options.indexOf(o)}"`);
|
|
9978
|
-
for (const v of values) {
|
|
9979
|
-
if (map.has(v)) {
|
|
9980
|
-
throw new Error(`Duplicate discriminator value "${String(v)}"`);
|
|
9981
|
-
}
|
|
9982
|
-
map.set(v, o);
|
|
9983
|
-
}
|
|
9984
|
-
}
|
|
9985
|
-
return map;
|
|
9986
|
-
});
|
|
10024
|
+
const disc = cached(() => discriminatorMap(def));
|
|
9987
10025
|
inst._zod.parse = (payload, ctx) => {
|
|
9988
10026
|
const input = payload.value;
|
|
9989
10027
|
if (!isObject(input)) {
|
|
@@ -9995,8 +10033,9 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
|
|
|
9995
10033
|
});
|
|
9996
10034
|
return payload;
|
|
9997
10035
|
}
|
|
9998
|
-
const
|
|
9999
|
-
|
|
10036
|
+
const value = input?.[def.discriminator];
|
|
10037
|
+
const opt = disc.value.get(value);
|
|
10038
|
+
if (opt && (value !== void 0 || ctx.direction !== "backward")) {
|
|
10000
10039
|
return opt._zod.run(payload, ctx);
|
|
10001
10040
|
}
|
|
10002
10041
|
if (def.unionFallback || ctx.direction === "backward") {
|
|
@@ -10007,7 +10046,7 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
|
|
|
10007
10046
|
errors: [],
|
|
10008
10047
|
note: "No matching discriminator",
|
|
10009
10048
|
discriminator: def.discriminator,
|
|
10010
|
-
options: Array.from(disc.value.keys()),
|
|
10049
|
+
options: Array.from(disc.value.keys()).filter((value2) => disc.value.get(value2) !== null),
|
|
10011
10050
|
input,
|
|
10012
10051
|
path: [def.discriminator],
|
|
10013
10052
|
inst
|
|
@@ -10289,8 +10328,10 @@ var $ZodEnum = /* @__PURE__ */ $constructor("$ZodEnum", (inst, def) => {
|
|
|
10289
10328
|
const values = getEnumValues(def.entries);
|
|
10290
10329
|
const valuesSet = new Set(values);
|
|
10291
10330
|
inst._zod.values = valuesSet;
|
|
10292
|
-
|
|
10293
|
-
|
|
10331
|
+
defineLazyInternal(inst, "pattern", (zod) => {
|
|
10332
|
+
const patternValues = getEnumValues(zod.def.entries).filter((k) => propertyKeyTypes.has(typeof k));
|
|
10333
|
+
return new RegExp(patternValues.length ? `^(${patternValues.map((o) => escapeRegex(o.toString())).join("|")})$` : "^[^\\s\\S]$");
|
|
10334
|
+
});
|
|
10294
10335
|
inst._zod.parse = (payload, _ctx) => {
|
|
10295
10336
|
const input = payload.value;
|
|
10296
10337
|
if (valuesSet.has(input)) {
|
|
@@ -10309,7 +10350,10 @@ var $ZodLiteral = /* @__PURE__ */ $constructor("$ZodLiteral", (inst, def) => {
|
|
|
10309
10350
|
$ZodType.init(inst, def);
|
|
10310
10351
|
const values = new Set(def.values);
|
|
10311
10352
|
inst._zod.values = values;
|
|
10312
|
-
inst
|
|
10353
|
+
defineLazyInternal(inst, "pattern", (zod) => {
|
|
10354
|
+
const vals = zod.def.values;
|
|
10355
|
+
return new RegExp(vals.length ? `^(${vals.map((o) => typeof o === "string" ? escapeRegex(o) : o ? escapeRegex(o.toString()) : String(o)).join("|")})$` : "^[^\\s\\S]$");
|
|
10356
|
+
});
|
|
10313
10357
|
inst._zod.parse = (payload, _ctx) => {
|
|
10314
10358
|
const input = payload.value;
|
|
10315
10359
|
if (values.has(input)) {
|
|
@@ -10584,7 +10628,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
10584
10628
|
}
|
|
10585
10629
|
}
|
|
10586
10630
|
|
|
10587
|
-
// node_modules/zod/v4/core/memoizer.js
|
|
10631
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/memoizer.js
|
|
10588
10632
|
var $ZodCyclicError = class extends Error {
|
|
10589
10633
|
constructor() {
|
|
10590
10634
|
super(`Cannot parse a reference cycle that closes through a transform`);
|
|
@@ -10593,28 +10637,53 @@ var $ZodCyclicError = class extends Error {
|
|
|
10593
10637
|
};
|
|
10594
10638
|
var STATE = "~memo";
|
|
10595
10639
|
var NO_ISSUES = [];
|
|
10640
|
+
function isRef(value) {
|
|
10641
|
+
return value !== null && typeof value === "object";
|
|
10642
|
+
}
|
|
10596
10643
|
function cloneIssues(issues) {
|
|
10597
10644
|
return issues.map((iss) => iss.path ? { ...iss, path: iss.path.slice() } : { ...iss });
|
|
10598
10645
|
}
|
|
10599
10646
|
var recursive = /* @__PURE__ */ new WeakMap();
|
|
10600
|
-
|
|
10647
|
+
var NONE = 0;
|
|
10648
|
+
var ASSUMED = 1;
|
|
10649
|
+
var PROVEN = 2;
|
|
10650
|
+
function isRecursive(inst, stack, resolve) {
|
|
10601
10651
|
const cached2 = recursive.get(inst);
|
|
10602
10652
|
if (cached2 !== void 0)
|
|
10603
|
-
return cached2;
|
|
10653
|
+
return cached2 ? PROVEN : NONE;
|
|
10604
10654
|
if (stack.has(inst))
|
|
10605
|
-
return
|
|
10655
|
+
return PROVEN;
|
|
10606
10656
|
stack.add(inst);
|
|
10607
|
-
let result =
|
|
10657
|
+
let result = NONE;
|
|
10608
10658
|
const check = (child) => {
|
|
10609
|
-
if (
|
|
10610
|
-
|
|
10659
|
+
if (result !== PROVEN && child?._zod) {
|
|
10660
|
+
const answer = isRecursive(child, stack, resolve);
|
|
10661
|
+
if (answer > result)
|
|
10662
|
+
result = answer;
|
|
10663
|
+
}
|
|
10664
|
+
};
|
|
10665
|
+
const shape = (sh, spread) => {
|
|
10666
|
+
let answer = NONE;
|
|
10667
|
+
for (const key of Reflect.ownKeys(sh)) {
|
|
10668
|
+
const desc = Object.getOwnPropertyDescriptor(sh, key);
|
|
10669
|
+
if (spread && !desc.enumerable)
|
|
10670
|
+
continue;
|
|
10671
|
+
const child = desc.get ? ASSUMED : desc.value?._zod ? isRecursive(desc.value, stack, resolve) : NONE;
|
|
10672
|
+
if (child > answer)
|
|
10673
|
+
answer = child;
|
|
10674
|
+
}
|
|
10675
|
+
return answer;
|
|
10676
|
+
};
|
|
10677
|
+
const merge2 = (answer) => {
|
|
10678
|
+
if (answer > result)
|
|
10679
|
+
result = answer;
|
|
10611
10680
|
};
|
|
10612
10681
|
const def = inst._zod.def;
|
|
10613
10682
|
const kind = def.type;
|
|
10614
10683
|
switch (kind) {
|
|
10615
10684
|
case "object": {
|
|
10616
|
-
|
|
10617
|
-
|
|
10685
|
+
const raw = rawShape(def);
|
|
10686
|
+
merge2(raw ? shape(raw, true) : ASSUMED);
|
|
10618
10687
|
check(def.catchall);
|
|
10619
10688
|
break;
|
|
10620
10689
|
}
|
|
@@ -10661,10 +10730,12 @@ function isRecursive(inst, stack) {
|
|
|
10661
10730
|
check(def.input);
|
|
10662
10731
|
check(def.output);
|
|
10663
10732
|
break;
|
|
10664
|
-
//
|
|
10665
|
-
case "lazy":
|
|
10666
|
-
|
|
10733
|
+
// `$ZodLazy` caches its inner on the def, so a resolved edge is followed exactly
|
|
10734
|
+
case "lazy": {
|
|
10735
|
+
const inner = def._cachedInner ?? (resolve ? inst._zod.innerType : void 0);
|
|
10736
|
+
merge2(inner ? isRecursive(inner, stack, false) : ASSUMED);
|
|
10667
10737
|
break;
|
|
10738
|
+
}
|
|
10668
10739
|
// a leaf by choice: `parts` are regex fragments, not data positions
|
|
10669
10740
|
case "template_literal":
|
|
10670
10741
|
// leaves
|
|
@@ -10706,13 +10777,17 @@ function isRecursive(inst, stack) {
|
|
|
10706
10777
|
}
|
|
10707
10778
|
}
|
|
10708
10779
|
stack.delete(inst);
|
|
10709
|
-
|
|
10710
|
-
|
|
10780
|
+
return settle(inst, result);
|
|
10781
|
+
}
|
|
10782
|
+
function settle(inst, answer) {
|
|
10783
|
+
if (answer !== ASSUMED)
|
|
10784
|
+
recursive.set(inst, answer === PROVEN);
|
|
10785
|
+
return answer;
|
|
10711
10786
|
}
|
|
10712
10787
|
function bucketFor(state, inst) {
|
|
10713
10788
|
let bucket = state.buckets.get(inst);
|
|
10714
10789
|
if (!bucket) {
|
|
10715
|
-
bucket = /* @__PURE__ */ new
|
|
10790
|
+
bucket = /* @__PURE__ */ new WeakMap();
|
|
10716
10791
|
state.buckets.set(inst, bucket);
|
|
10717
10792
|
}
|
|
10718
10793
|
return bucket;
|
|
@@ -10748,6 +10823,7 @@ var memo = {
|
|
|
10748
10823
|
attach(inst) {
|
|
10749
10824
|
var _a3;
|
|
10750
10825
|
let isRecursiveInst;
|
|
10826
|
+
let rechecked = false;
|
|
10751
10827
|
let lastCtx;
|
|
10752
10828
|
let lastBucket;
|
|
10753
10829
|
(_a3 = inst._zod).deferred ?? (_a3.deferred = []);
|
|
@@ -10755,20 +10831,24 @@ var memo = {
|
|
|
10755
10831
|
const base = inst._zod.parse;
|
|
10756
10832
|
const wrapped = (payload, ctx) => {
|
|
10757
10833
|
if (isRecursiveInst === void 0) {
|
|
10758
|
-
|
|
10759
|
-
if (
|
|
10834
|
+
const walked = isRecursive(inst, /* @__PURE__ */ new Set(), false);
|
|
10835
|
+
if (walked === NONE) {
|
|
10760
10836
|
inst._zod.parse = base;
|
|
10761
10837
|
if (inst._zod.run === wrapped)
|
|
10762
10838
|
inst._zod.run = base;
|
|
10763
10839
|
return base(payload, ctx);
|
|
10764
10840
|
}
|
|
10841
|
+
if (walked === PROVEN || rechecked)
|
|
10842
|
+
isRecursiveInst = true;
|
|
10843
|
+
else
|
|
10844
|
+
rechecked = true;
|
|
10765
10845
|
}
|
|
10766
10846
|
const input = payload.value;
|
|
10767
|
-
if (input
|
|
10847
|
+
if (!isRef(input))
|
|
10768
10848
|
return base(payload, ctx);
|
|
10769
10849
|
let state = ctx[STATE];
|
|
10770
10850
|
if (!state) {
|
|
10771
|
-
state = { buckets: /* @__PURE__ */ new
|
|
10851
|
+
state = { buckets: /* @__PURE__ */ new WeakMap(), backEdges: void 0 };
|
|
10772
10852
|
ctx[STATE] = state;
|
|
10773
10853
|
}
|
|
10774
10854
|
let bucket;
|
|
@@ -10787,7 +10867,7 @@ var memo = {
|
|
|
10787
10867
|
payload.issues.push(...cloneIssues(hit.issues));
|
|
10788
10868
|
} else {
|
|
10789
10869
|
payload.memo = true;
|
|
10790
|
-
state.backEdges ?? (state.backEdges = /* @__PURE__ */ new
|
|
10870
|
+
state.backEdges ?? (state.backEdges = /* @__PURE__ */ new WeakSet());
|
|
10791
10871
|
state.backEdges.add(hit.value);
|
|
10792
10872
|
}
|
|
10793
10873
|
return payload;
|
|
@@ -10819,10 +10899,10 @@ function memoizer() {
|
|
|
10819
10899
|
}
|
|
10820
10900
|
function isBackEdge(ctx, value) {
|
|
10821
10901
|
const backEdges = ctx[STATE]?.backEdges;
|
|
10822
|
-
return backEdges !== void 0 && value
|
|
10902
|
+
return backEdges !== void 0 && isRef(value) && backEdges.has(value);
|
|
10823
10903
|
}
|
|
10824
10904
|
|
|
10825
|
-
// node_modules/zod/v4/locales/en.js
|
|
10905
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/en.js
|
|
10826
10906
|
var error = () => {
|
|
10827
10907
|
const Sizable = {
|
|
10828
10908
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -10862,7 +10942,9 @@ var error = () => {
|
|
|
10862
10942
|
base64url: "base64url-encoded string",
|
|
10863
10943
|
json_string: "JSON string",
|
|
10864
10944
|
e164: "E.164 number",
|
|
10945
|
+
currency_code: "currency code",
|
|
10865
10946
|
credit_card: "credit card number",
|
|
10947
|
+
iban: "IBAN",
|
|
10866
10948
|
jwt: "JWT",
|
|
10867
10949
|
template_literal: "input"
|
|
10868
10950
|
};
|
|
@@ -10945,7 +11027,7 @@ function en_default() {
|
|
|
10945
11027
|
};
|
|
10946
11028
|
}
|
|
10947
11029
|
|
|
10948
|
-
// node_modules/zod/v4/core/registries.js
|
|
11030
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/registries.js
|
|
10949
11031
|
var _a2;
|
|
10950
11032
|
var $ZodRegistry = class {
|
|
10951
11033
|
constructor() {
|
|
@@ -10993,13 +11075,15 @@ function registry() {
|
|
|
10993
11075
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
10994
11076
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
10995
11077
|
|
|
10996
|
-
// node_modules/zod/v4/core/api.js
|
|
11078
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/api.js
|
|
11079
|
+
function snapshotChecks(def) {
|
|
11080
|
+
if (def.checks)
|
|
11081
|
+
def.checks = [...def.checks];
|
|
11082
|
+
return def;
|
|
11083
|
+
}
|
|
10997
11084
|
// @__NO_SIDE_EFFECTS__
|
|
10998
11085
|
function _string(Class2, params) {
|
|
10999
|
-
return new Class2({
|
|
11000
|
-
type: "string",
|
|
11001
|
-
...normalizeParams(params)
|
|
11002
|
-
});
|
|
11086
|
+
return new Class2(snapshotChecks({ type: "string", ...normalizeParams(params) }));
|
|
11003
11087
|
}
|
|
11004
11088
|
// @__NO_SIDE_EFFECTS__
|
|
11005
11089
|
function _email(Class2, params) {
|
|
@@ -11266,11 +11350,7 @@ function _isoDuration(Class2, params) {
|
|
|
11266
11350
|
}
|
|
11267
11351
|
// @__NO_SIDE_EFFECTS__
|
|
11268
11352
|
function _number(Class2, params) {
|
|
11269
|
-
return new Class2({
|
|
11270
|
-
type: "number",
|
|
11271
|
-
checks: [],
|
|
11272
|
-
...normalizeParams(params)
|
|
11273
|
-
});
|
|
11353
|
+
return new Class2(snapshotChecks({ type: "number", checks: [], ...normalizeParams(params) }));
|
|
11274
11354
|
}
|
|
11275
11355
|
// @__NO_SIDE_EFFECTS__
|
|
11276
11356
|
function _int(Class2, params) {
|
|
@@ -11522,7 +11602,7 @@ function _check(fn, params) {
|
|
|
11522
11602
|
return ch;
|
|
11523
11603
|
}
|
|
11524
11604
|
|
|
11525
|
-
// node_modules/zod/v4/core/to-json-schema.js
|
|
11605
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/to-json-schema.js
|
|
11526
11606
|
function assignProps(target, ...sources) {
|
|
11527
11607
|
for (const source of sources) {
|
|
11528
11608
|
for (const key of Reflect.ownKeys(source)) {
|
|
@@ -11567,7 +11647,7 @@ function handleUnrepresentable(schema, ctx, json, params, message) {
|
|
|
11567
11647
|
Object.assign(json, result);
|
|
11568
11648
|
return true;
|
|
11569
11649
|
}
|
|
11570
|
-
function
|
|
11650
|
+
function processSchema(schema, ctx, _params = { path: [], schemaPath: [] }) {
|
|
11571
11651
|
var _a3;
|
|
11572
11652
|
const def = schema._zod.def;
|
|
11573
11653
|
const seen = ctx.seen.get(schema);
|
|
@@ -11606,7 +11686,7 @@ function process2(schema, ctx, _params = { path: [], schemaPath: [] }) {
|
|
|
11606
11686
|
if (parent) {
|
|
11607
11687
|
if (!result.ref)
|
|
11608
11688
|
result.ref = parent;
|
|
11609
|
-
|
|
11689
|
+
processSchema(parent, ctx, params);
|
|
11610
11690
|
ctx.seen.get(parent).isParent = true;
|
|
11611
11691
|
}
|
|
11612
11692
|
}
|
|
@@ -11713,7 +11793,6 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
11713
11793
|
if (seen.count > 1) {
|
|
11714
11794
|
if (ctx.reused === "ref") {
|
|
11715
11795
|
extractToDef(entry);
|
|
11716
|
-
continue;
|
|
11717
11796
|
}
|
|
11718
11797
|
}
|
|
11719
11798
|
}
|
|
@@ -12041,19 +12120,107 @@ function isTransforming(_schema, _ctx) {
|
|
|
12041
12120
|
}
|
|
12042
12121
|
var createToJSONSchemaMethod = (schema, processors = {}) => (params) => {
|
|
12043
12122
|
const ctx = initializeContext({ ...params, processors });
|
|
12044
|
-
|
|
12123
|
+
processSchema(schema, ctx);
|
|
12045
12124
|
extractDefs(ctx, schema);
|
|
12046
12125
|
return finalize(ctx, schema);
|
|
12047
12126
|
};
|
|
12048
12127
|
var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) => {
|
|
12049
12128
|
const { libraryOptions, target } = params ?? {};
|
|
12050
12129
|
const ctx = initializeContext({ ...libraryOptions ?? {}, target, io, processors });
|
|
12051
|
-
|
|
12130
|
+
processSchema(schema, ctx);
|
|
12052
12131
|
extractDefs(ctx, schema);
|
|
12053
12132
|
return finalize(ctx, schema);
|
|
12054
12133
|
};
|
|
12055
12134
|
|
|
12056
|
-
// node_modules/zod/v4/core/json-schema-processors.js
|
|
12135
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/core/json-schema-processors.js
|
|
12136
|
+
var narrowMin = (agg, key, value) => {
|
|
12137
|
+
if (agg[key] === void 0 || value > agg[key])
|
|
12138
|
+
agg[key] = value;
|
|
12139
|
+
};
|
|
12140
|
+
var narrowMax = (agg, key, value) => {
|
|
12141
|
+
if (agg[key] === void 0 || value < agg[key])
|
|
12142
|
+
agg[key] = value;
|
|
12143
|
+
};
|
|
12144
|
+
var narrowBoth = (agg, value) => {
|
|
12145
|
+
narrowMin(agg, "minimum", value);
|
|
12146
|
+
narrowMax(agg, "maximum", value);
|
|
12147
|
+
};
|
|
12148
|
+
var addDivisor = (agg, value) => {
|
|
12149
|
+
agg.multipleOf ?? (agg.multipleOf = []);
|
|
12150
|
+
if (!agg.multipleOf.includes(value))
|
|
12151
|
+
agg.multipleOf.push(value);
|
|
12152
|
+
};
|
|
12153
|
+
var addPattern = (agg, pattern) => {
|
|
12154
|
+
agg.patterns ?? (agg.patterns = /* @__PURE__ */ new Set());
|
|
12155
|
+
agg.patterns.add(pattern);
|
|
12156
|
+
};
|
|
12157
|
+
var intersectMime = (agg, mime) => {
|
|
12158
|
+
agg.mime = agg.mime ? agg.mime.filter((m) => mime.includes(m)) : [...mime];
|
|
12159
|
+
};
|
|
12160
|
+
var setFormat = (agg, format) => {
|
|
12161
|
+
agg.format = format;
|
|
12162
|
+
if (format.includes("int"))
|
|
12163
|
+
agg.isInt = true;
|
|
12164
|
+
};
|
|
12165
|
+
var minContributor = (agg, def) => narrowMin(agg, "minimum", def.minimum);
|
|
12166
|
+
var maxContributor = (agg, def) => narrowMax(agg, "maximum", def.maximum);
|
|
12167
|
+
var formatContributor = (ranges) => (agg, def) => {
|
|
12168
|
+
setFormat(agg, def.format);
|
|
12169
|
+
const [minimum, maximum] = ranges[def.format];
|
|
12170
|
+
narrowMin(agg, "minimum", minimum);
|
|
12171
|
+
narrowMax(agg, "maximum", maximum);
|
|
12172
|
+
};
|
|
12173
|
+
var contributors = {
|
|
12174
|
+
greater_than: (agg, def) => narrowMin(agg, def.inclusive ? "minimum" : "exclusiveMinimum", def.value),
|
|
12175
|
+
less_than: (agg, def) => narrowMax(agg, def.inclusive ? "maximum" : "exclusiveMaximum", def.value),
|
|
12176
|
+
multiple_of: (agg, def) => addDivisor(agg, def.value),
|
|
12177
|
+
number_format: formatContributor(NUMBER_FORMAT_RANGES),
|
|
12178
|
+
bigint_format: formatContributor(BIGINT_FORMAT_RANGES),
|
|
12179
|
+
min_length: minContributor,
|
|
12180
|
+
max_length: maxContributor,
|
|
12181
|
+
length_equals: (agg, def) => narrowBoth(agg, def.length),
|
|
12182
|
+
min_size: minContributor,
|
|
12183
|
+
max_size: maxContributor,
|
|
12184
|
+
size_equals: (agg, def) => narrowBoth(agg, def.size),
|
|
12185
|
+
string_format: (agg, def) => {
|
|
12186
|
+
setFormat(agg, def.format);
|
|
12187
|
+
if (def.pattern)
|
|
12188
|
+
addPattern(agg, def.pattern);
|
|
12189
|
+
if (def.format === "base64" || def.format === "base64url")
|
|
12190
|
+
agg.contentEncoding = def.format;
|
|
12191
|
+
if (def.local || def.precision === -1)
|
|
12192
|
+
agg.laxFormat = true;
|
|
12193
|
+
},
|
|
12194
|
+
mime_type: (agg, def) => intersectMime(agg, def.mime)
|
|
12195
|
+
};
|
|
12196
|
+
function aggregateChecks(schema) {
|
|
12197
|
+
const agg = {};
|
|
12198
|
+
const def = schema._zod.def;
|
|
12199
|
+
const list = schema._zod.traits.has("$ZodCheck") ? [schema, ...def.checks ?? []] : def.checks ?? [];
|
|
12200
|
+
for (const ch of list)
|
|
12201
|
+
contributors[ch._zod.def.check]?.(agg, ch._zod.def);
|
|
12202
|
+
const bag = schema._zod.bag;
|
|
12203
|
+
if (bag.minimum !== void 0)
|
|
12204
|
+
narrowMin(agg, "minimum", bag.minimum);
|
|
12205
|
+
if (bag.exclusiveMinimum !== void 0)
|
|
12206
|
+
narrowMin(agg, "exclusiveMinimum", bag.exclusiveMinimum);
|
|
12207
|
+
if (bag.maximum !== void 0)
|
|
12208
|
+
narrowMax(agg, "maximum", bag.maximum);
|
|
12209
|
+
if (bag.exclusiveMaximum !== void 0)
|
|
12210
|
+
narrowMax(agg, "exclusiveMaximum", bag.exclusiveMaximum);
|
|
12211
|
+
if (bag.multipleOf !== void 0)
|
|
12212
|
+
addDivisor(agg, bag.multipleOf);
|
|
12213
|
+
if (bag.format !== void 0) {
|
|
12214
|
+
agg.format ?? (agg.format = bag.format);
|
|
12215
|
+
if (bag.format.includes("int"))
|
|
12216
|
+
agg.isInt = true;
|
|
12217
|
+
}
|
|
12218
|
+
if (bag.mime)
|
|
12219
|
+
intersectMime(agg, bag.mime);
|
|
12220
|
+
for (const pattern of bag.patterns ?? [])
|
|
12221
|
+
addPattern(agg, pattern);
|
|
12222
|
+
return agg;
|
|
12223
|
+
}
|
|
12057
12224
|
var formatMap = {
|
|
12058
12225
|
guid: "uuid",
|
|
12059
12226
|
url: "uri",
|
|
@@ -12062,10 +12229,15 @@ var formatMap = {
|
|
|
12062
12229
|
regex: ""
|
|
12063
12230
|
// do not set
|
|
12064
12231
|
};
|
|
12232
|
+
var exactPatterns = /* @__PURE__ */ new Map([
|
|
12233
|
+
[base64Charset, base64],
|
|
12234
|
+
[base64urlCharset, base64url]
|
|
12235
|
+
]);
|
|
12236
|
+
var exactPattern = (p) => exactPatterns.get(p) ?? p;
|
|
12065
12237
|
var stringProcessor = (schema, ctx, _json, _params) => {
|
|
12066
12238
|
const json = _json;
|
|
12067
12239
|
json.type = "string";
|
|
12068
|
-
const { minimum, maximum, format, patterns, contentEncoding, laxFormat } = schema
|
|
12240
|
+
const { minimum, maximum, format, patterns, contentEncoding, laxFormat } = aggregateChecks(schema);
|
|
12069
12241
|
if (typeof minimum === "number")
|
|
12070
12242
|
json.minLength = minimum;
|
|
12071
12243
|
if (typeof maximum === "number")
|
|
@@ -12081,7 +12253,7 @@ var stringProcessor = (schema, ctx, _json, _params) => {
|
|
|
12081
12253
|
if (contentEncoding)
|
|
12082
12254
|
json.contentEncoding = contentEncoding;
|
|
12083
12255
|
if (patterns && patterns.size > 0) {
|
|
12084
|
-
const patternList = [...patterns];
|
|
12256
|
+
const patternList = [...patterns].map(exactPattern);
|
|
12085
12257
|
if (patternList.length === 1)
|
|
12086
12258
|
json.pattern = patternList[0].source;
|
|
12087
12259
|
else if (patternList.length > 1) {
|
|
@@ -12096,11 +12268,8 @@ var stringProcessor = (schema, ctx, _json, _params) => {
|
|
|
12096
12268
|
};
|
|
12097
12269
|
var numberProcessor = (schema, ctx, _json, params) => {
|
|
12098
12270
|
const json = _json;
|
|
12099
|
-
const { minimum, maximum,
|
|
12100
|
-
|
|
12101
|
-
json.type = "integer";
|
|
12102
|
-
else
|
|
12103
|
-
json.type = "number";
|
|
12271
|
+
const { minimum, maximum, multipleOf, exclusiveMaximum, exclusiveMinimum, isInt } = aggregateChecks(schema);
|
|
12272
|
+
json.type = isInt ? "integer" : "number";
|
|
12104
12273
|
const exMin = typeof exclusiveMinimum === "number" && exclusiveMinimum >= (minimum ?? Number.NEGATIVE_INFINITY);
|
|
12105
12274
|
const exMax = typeof exclusiveMaximum === "number" && exclusiveMaximum <= (maximum ?? Number.POSITIVE_INFINITY);
|
|
12106
12275
|
const legacy = ctx.target === "draft-04" || ctx.target === "openapi-3.0";
|
|
@@ -12124,11 +12293,19 @@ var numberProcessor = (schema, ctx, _json, params) => {
|
|
|
12124
12293
|
} else if (typeof maximum === "number") {
|
|
12125
12294
|
json.maximum = maximum;
|
|
12126
12295
|
}
|
|
12127
|
-
if (
|
|
12128
|
-
|
|
12129
|
-
|
|
12130
|
-
|
|
12131
|
-
|
|
12296
|
+
if (multipleOf) {
|
|
12297
|
+
const divisors = /* @__PURE__ */ new Set();
|
|
12298
|
+
for (const divisor of multipleOf) {
|
|
12299
|
+
if (Number.isFinite(divisor) && divisor !== 0)
|
|
12300
|
+
divisors.add(Math.abs(divisor));
|
|
12301
|
+
else
|
|
12302
|
+
handleUnrepresentable(schema, ctx, json, params, `A multipleOf divisor of ${divisor} cannot be represented in JSON Schema`);
|
|
12303
|
+
}
|
|
12304
|
+
const [first, ...rest] = divisors;
|
|
12305
|
+
if (first !== void 0)
|
|
12306
|
+
json.multipleOf = first;
|
|
12307
|
+
if (rest.length)
|
|
12308
|
+
json.allOf = [...json.allOf ?? [], ...rest.map((m) => ({ multipleOf: m }))];
|
|
12132
12309
|
}
|
|
12133
12310
|
};
|
|
12134
12311
|
var booleanProcessor = (_schema, _ctx, json, _params) => {
|
|
@@ -12210,13 +12387,13 @@ var transformProcessor = (schema, ctx, json, params) => {
|
|
|
12210
12387
|
var arrayProcessor = (schema, ctx, _json, params) => {
|
|
12211
12388
|
const json = _json;
|
|
12212
12389
|
const def = schema._zod.def;
|
|
12213
|
-
const { minimum, maximum } = schema
|
|
12390
|
+
const { minimum, maximum } = aggregateChecks(schema);
|
|
12214
12391
|
if (typeof minimum === "number")
|
|
12215
12392
|
json.minItems = minimum;
|
|
12216
12393
|
if (typeof maximum === "number")
|
|
12217
12394
|
json.maxItems = maximum;
|
|
12218
12395
|
json.type = "array";
|
|
12219
|
-
json.items =
|
|
12396
|
+
json.items = processSchema(def.element, ctx, {
|
|
12220
12397
|
...params,
|
|
12221
12398
|
path: [...params.path, "items"]
|
|
12222
12399
|
});
|
|
@@ -12242,22 +12419,20 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
12242
12419
|
json.type = "object";
|
|
12243
12420
|
json.properties = {};
|
|
12244
12421
|
for (const key in shape) {
|
|
12245
|
-
assignProp(json.properties, key,
|
|
12422
|
+
assignProp(json.properties, key, processSchema(shape[key], ctx, {
|
|
12246
12423
|
...params,
|
|
12247
12424
|
path: [...params.path, "properties", key]
|
|
12248
12425
|
}));
|
|
12249
12426
|
}
|
|
12250
|
-
const
|
|
12251
|
-
const
|
|
12427
|
+
const requiredKeys = [];
|
|
12428
|
+
for (const key of Object.keys(shape)) {
|
|
12252
12429
|
const field = def.shape[key];
|
|
12253
|
-
if (ctx.io === "input") {
|
|
12254
|
-
|
|
12255
|
-
} else {
|
|
12256
|
-
return field._zod.optout === void 0;
|
|
12430
|
+
if (ctx.io === "input" ? inputOptin(field) === void 0 : field._zod.optout === void 0) {
|
|
12431
|
+
requiredKeys.push(key);
|
|
12257
12432
|
}
|
|
12258
|
-
}
|
|
12259
|
-
if (requiredKeys.
|
|
12260
|
-
json.required =
|
|
12433
|
+
}
|
|
12434
|
+
if (requiredKeys.length > 0) {
|
|
12435
|
+
json.required = requiredKeys;
|
|
12261
12436
|
}
|
|
12262
12437
|
if (def.catchall?._zod.def.type === "never") {
|
|
12263
12438
|
json.additionalProperties = false;
|
|
@@ -12265,7 +12440,7 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
12265
12440
|
if (ctx.io === "output")
|
|
12266
12441
|
json.additionalProperties = false;
|
|
12267
12442
|
} else if (def.catchall) {
|
|
12268
|
-
json.additionalProperties =
|
|
12443
|
+
json.additionalProperties = processSchema(def.catchall, ctx, {
|
|
12269
12444
|
...params,
|
|
12270
12445
|
path: [...params.path, "additionalProperties"]
|
|
12271
12446
|
});
|
|
@@ -12274,7 +12449,7 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
12274
12449
|
var unionProcessor = (schema, ctx, json, params) => {
|
|
12275
12450
|
const def = schema._zod.def;
|
|
12276
12451
|
const isExclusive = def.inclusive === false;
|
|
12277
|
-
const options = def.options.map((x, i) =>
|
|
12452
|
+
const options = def.options.map((x, i) => processSchema(x, ctx, {
|
|
12278
12453
|
...params,
|
|
12279
12454
|
path: [...params.path, isExclusive ? "oneOf" : "anyOf", i]
|
|
12280
12455
|
}));
|
|
@@ -12286,11 +12461,11 @@ var unionProcessor = (schema, ctx, json, params) => {
|
|
|
12286
12461
|
};
|
|
12287
12462
|
var intersectionProcessor = (schema, ctx, json, params) => {
|
|
12288
12463
|
const def = schema._zod.def;
|
|
12289
|
-
const a =
|
|
12464
|
+
const a = processSchema(def.left, ctx, {
|
|
12290
12465
|
...params,
|
|
12291
12466
|
path: [...params.path, "allOf", 0]
|
|
12292
12467
|
});
|
|
12293
|
-
const b =
|
|
12468
|
+
const b = processSchema(def.right, ctx, {
|
|
12294
12469
|
...params,
|
|
12295
12470
|
path: [...params.path, "allOf", 1]
|
|
12296
12471
|
});
|
|
@@ -12370,20 +12545,19 @@ var recordProcessor = (schema, ctx, _json, params) => {
|
|
|
12370
12545
|
const def = schema._zod.def;
|
|
12371
12546
|
json.type = "object";
|
|
12372
12547
|
const keyType = def.keyType;
|
|
12373
|
-
const
|
|
12374
|
-
const patterns = keyBag?.patterns;
|
|
12548
|
+
const patterns = aggregateChecks(keyType).patterns;
|
|
12375
12549
|
if (def.mode === "loose" && patterns && patterns.size > 0) {
|
|
12376
|
-
const valueSchema =
|
|
12550
|
+
const valueSchema = processSchema(def.valueType, ctx, {
|
|
12377
12551
|
...params,
|
|
12378
12552
|
path: [...params.path, "patternProperties", "*"]
|
|
12379
12553
|
});
|
|
12380
12554
|
json.patternProperties = {};
|
|
12381
12555
|
for (const pattern of patterns) {
|
|
12382
|
-
assignProp(json.patternProperties, pattern.source, valueSchema);
|
|
12556
|
+
assignProp(json.patternProperties, exactPattern(pattern).source, valueSchema);
|
|
12383
12557
|
}
|
|
12384
12558
|
} else {
|
|
12385
12559
|
if (ctx.target === "draft-07" || ctx.target === "draft-2020-12") {
|
|
12386
|
-
json.propertyNames =
|
|
12560
|
+
json.propertyNames = processSchema(def.keyType, ctx, {
|
|
12387
12561
|
...params,
|
|
12388
12562
|
path: [...params.path, "propertyNames"]
|
|
12389
12563
|
});
|
|
@@ -12395,7 +12569,7 @@ var recordProcessor = (schema, ctx, _json, params) => {
|
|
|
12395
12569
|
}
|
|
12396
12570
|
pending.push(schema);
|
|
12397
12571
|
}
|
|
12398
|
-
json.additionalProperties =
|
|
12572
|
+
json.additionalProperties = processSchema(def.valueType, ctx, {
|
|
12399
12573
|
...params,
|
|
12400
12574
|
path: [...params.path, "additionalProperties"]
|
|
12401
12575
|
});
|
|
@@ -12411,7 +12585,7 @@ var recordProcessor = (schema, ctx, _json, params) => {
|
|
|
12411
12585
|
};
|
|
12412
12586
|
var nullableProcessor = (schema, ctx, json, params) => {
|
|
12413
12587
|
const def = schema._zod.def;
|
|
12414
|
-
const inner =
|
|
12588
|
+
const inner = processSchema(def.innerType, ctx, params);
|
|
12415
12589
|
const seen = ctx.seen.get(schema);
|
|
12416
12590
|
if (ctx.target === "openapi-3.0") {
|
|
12417
12591
|
seen.ref = def.innerType;
|
|
@@ -12422,7 +12596,7 @@ var nullableProcessor = (schema, ctx, json, params) => {
|
|
|
12422
12596
|
};
|
|
12423
12597
|
var nonoptionalProcessor = (schema, ctx, _json, params) => {
|
|
12424
12598
|
const def = schema._zod.def;
|
|
12425
|
-
|
|
12599
|
+
processSchema(def.innerType, ctx, params);
|
|
12426
12600
|
const seen = ctx.seen.get(schema);
|
|
12427
12601
|
seen.ref = def.innerType;
|
|
12428
12602
|
};
|
|
@@ -12442,7 +12616,7 @@ function serializeDefaultValue(value, schema, ctx, json, params) {
|
|
|
12442
12616
|
}
|
|
12443
12617
|
var defaultProcessor = (schema, ctx, json, params) => {
|
|
12444
12618
|
const def = schema._zod.def;
|
|
12445
|
-
|
|
12619
|
+
processSchema(def.innerType, ctx, params);
|
|
12446
12620
|
const seen = ctx.seen.get(schema);
|
|
12447
12621
|
seen.ref = def.innerType;
|
|
12448
12622
|
const value = serializeDefaultValue(def.defaultValue, schema, ctx, json, params);
|
|
@@ -12451,7 +12625,7 @@ var defaultProcessor = (schema, ctx, json, params) => {
|
|
|
12451
12625
|
};
|
|
12452
12626
|
var prefaultProcessor = (schema, ctx, json, params) => {
|
|
12453
12627
|
const def = schema._zod.def;
|
|
12454
|
-
|
|
12628
|
+
processSchema(def.innerType, ctx, params);
|
|
12455
12629
|
const seen = ctx.seen.get(schema);
|
|
12456
12630
|
seen.ref = def.innerType;
|
|
12457
12631
|
if (ctx.io !== "input")
|
|
@@ -12462,7 +12636,7 @@ var prefaultProcessor = (schema, ctx, json, params) => {
|
|
|
12462
12636
|
};
|
|
12463
12637
|
var catchProcessor = (schema, ctx, json, params) => {
|
|
12464
12638
|
const def = schema._zod.def;
|
|
12465
|
-
|
|
12639
|
+
processSchema(def.innerType, ctx, params);
|
|
12466
12640
|
const seen = ctx.seen.get(schema);
|
|
12467
12641
|
seen.ref = def.innerType;
|
|
12468
12642
|
let catchValue;
|
|
@@ -12478,25 +12652,25 @@ var pipeProcessor = (schema, ctx, _json, params) => {
|
|
|
12478
12652
|
const def = schema._zod.def;
|
|
12479
12653
|
const inIsTransform = def.in._zod.traits.has("$ZodTransform");
|
|
12480
12654
|
const innerType = ctx.io === "input" ? inIsTransform ? def.out : def.in : def.out;
|
|
12481
|
-
|
|
12655
|
+
processSchema(innerType, ctx, params);
|
|
12482
12656
|
const seen = ctx.seen.get(schema);
|
|
12483
12657
|
seen.ref = innerType;
|
|
12484
12658
|
};
|
|
12485
12659
|
var readonlyProcessor = (schema, ctx, json, params) => {
|
|
12486
12660
|
const def = schema._zod.def;
|
|
12487
|
-
|
|
12661
|
+
processSchema(def.innerType, ctx, params);
|
|
12488
12662
|
const seen = ctx.seen.get(schema);
|
|
12489
12663
|
seen.ref = def.innerType;
|
|
12490
12664
|
json.readOnly = true;
|
|
12491
12665
|
};
|
|
12492
12666
|
var optionalProcessor = (schema, ctx, _json, params) => {
|
|
12493
12667
|
const def = schema._zod.def;
|
|
12494
|
-
|
|
12668
|
+
processSchema(def.innerType, ctx, params);
|
|
12495
12669
|
const seen = ctx.seen.get(schema);
|
|
12496
12670
|
seen.ref = def.innerType;
|
|
12497
12671
|
};
|
|
12498
12672
|
|
|
12499
|
-
// node_modules/zod/v4/classic/errors.js
|
|
12673
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/errors.js
|
|
12500
12674
|
var _installedErrorProtos = /* @__PURE__ */ new WeakSet([Object.prototype, Error.prototype]);
|
|
12501
12675
|
function _lazyMethod(proto, key, make) {
|
|
12502
12676
|
Object.defineProperty(proto, key, {
|
|
@@ -12541,11 +12715,11 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, void 0
|
|
|
12541
12715
|
Parent: Error
|
|
12542
12716
|
});
|
|
12543
12717
|
|
|
12544
|
-
// node_modules/zod/v4/classic/parse.js
|
|
12545
|
-
var
|
|
12546
|
-
var
|
|
12718
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/parse.js
|
|
12719
|
+
var parse = /* @__PURE__ */ _parse(ZodRealError);
|
|
12720
|
+
var parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
12547
12721
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
12548
|
-
var
|
|
12722
|
+
var safeParseAsync = /* @__PURE__ */ _safeParseAsync(ZodRealError);
|
|
12549
12723
|
var encode = /* @__PURE__ */ _encode(ZodRealError);
|
|
12550
12724
|
var decode = /* @__PURE__ */ _decode(ZodRealError);
|
|
12551
12725
|
var encodeAsync = /* @__PURE__ */ _encodeAsync(ZodRealError);
|
|
@@ -12555,7 +12729,7 @@ var safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
12555
12729
|
var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
12556
12730
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
12557
12731
|
|
|
12558
|
-
// node_modules/zod/v4/classic/schemas.js
|
|
12732
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/schemas.js
|
|
12559
12733
|
function _ensureDefaultLocale() {
|
|
12560
12734
|
if (!globalConfig.localeError)
|
|
12561
12735
|
config(en_default());
|
|
@@ -12679,16 +12853,16 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
12679
12853
|
util_exports.own(this, "~standard", value);
|
|
12680
12854
|
},
|
|
12681
12855
|
parse: function _parse2(data, params) {
|
|
12682
|
-
return
|
|
12856
|
+
return parse(this, data, params, { callee: _parse2 });
|
|
12683
12857
|
},
|
|
12684
12858
|
parseAsync: async function _parseAsync2(data, params) {
|
|
12685
|
-
return await
|
|
12859
|
+
return await parseAsync(this, data, params, { callee: _parseAsync2 });
|
|
12686
12860
|
},
|
|
12687
12861
|
safeParse(data, params) {
|
|
12688
12862
|
return safeParse2(this, data, params);
|
|
12689
12863
|
},
|
|
12690
12864
|
async safeParseAsync(data, params) {
|
|
12691
|
-
return
|
|
12865
|
+
return safeParseAsync(this, data, params);
|
|
12692
12866
|
},
|
|
12693
12867
|
// `spa` is an alias: same function object as `safeParseAsync`, as before.
|
|
12694
12868
|
get spa() {
|
|
@@ -12697,6 +12871,12 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
12697
12871
|
set spa(value) {
|
|
12698
12872
|
util_exports.own(this, "spa", value);
|
|
12699
12873
|
},
|
|
12874
|
+
validate(data, params) {
|
|
12875
|
+
return validate(this, data, params);
|
|
12876
|
+
},
|
|
12877
|
+
validateAsync(data, params) {
|
|
12878
|
+
return validateAsync(this, data, params);
|
|
12879
|
+
},
|
|
12700
12880
|
encode: function _encode2(data, params) {
|
|
12701
12881
|
return encode(this, data, params, { callee: _encode2 });
|
|
12702
12882
|
},
|
|
@@ -12733,61 +12913,65 @@ var ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
12733
12913
|
return this._zod.def;
|
|
12734
12914
|
}
|
|
12735
12915
|
});
|
|
12736
|
-
var _ZodString = /* @__PURE__ */ $constructor(
|
|
12737
|
-
|
|
12738
|
-
|
|
12739
|
-
|
|
12740
|
-
|
|
12741
|
-
|
|
12742
|
-
inst.minLength = bag.minimum ?? null;
|
|
12743
|
-
inst.maxLength = bag.maximum ?? null;
|
|
12744
|
-
}, {
|
|
12745
|
-
regex(...args) {
|
|
12746
|
-
return this.check(_regex(...args));
|
|
12747
|
-
},
|
|
12748
|
-
includes(...args) {
|
|
12749
|
-
return this.check(_includes(...args));
|
|
12750
|
-
},
|
|
12751
|
-
startsWith(...args) {
|
|
12752
|
-
return this.check(_startsWith(...args));
|
|
12753
|
-
},
|
|
12754
|
-
endsWith(...args) {
|
|
12755
|
-
return this.check(_endsWith(...args));
|
|
12756
|
-
},
|
|
12757
|
-
min(...args) {
|
|
12758
|
-
return this.check(_minLength(...args));
|
|
12759
|
-
},
|
|
12760
|
-
max(...args) {
|
|
12761
|
-
return this.check(_maxLength(...args));
|
|
12916
|
+
var _ZodString = /* @__PURE__ */ $constructor(
|
|
12917
|
+
"_ZodString",
|
|
12918
|
+
(inst, def) => {
|
|
12919
|
+
$ZodString.init(inst, def);
|
|
12920
|
+
ZodType.init(inst, def);
|
|
12921
|
+
inst._zod.processJSONSchema = (ctx, json, params) => stringProcessor(inst, ctx, json, params);
|
|
12762
12922
|
},
|
|
12763
|
-
|
|
12764
|
-
|
|
12765
|
-
|
|
12766
|
-
|
|
12767
|
-
|
|
12768
|
-
|
|
12769
|
-
|
|
12770
|
-
|
|
12771
|
-
|
|
12772
|
-
|
|
12773
|
-
|
|
12774
|
-
|
|
12775
|
-
|
|
12776
|
-
|
|
12777
|
-
|
|
12778
|
-
|
|
12779
|
-
|
|
12780
|
-
|
|
12781
|
-
|
|
12782
|
-
|
|
12783
|
-
|
|
12784
|
-
|
|
12785
|
-
|
|
12786
|
-
|
|
12787
|
-
|
|
12788
|
-
|
|
12789
|
-
|
|
12790
|
-
|
|
12923
|
+
/* @__PURE__ */ util_exports.derived({
|
|
12924
|
+
format: (inst) => aggregateChecks(inst).format ?? null,
|
|
12925
|
+
minLength: (inst) => aggregateChecks(inst).minimum ?? null,
|
|
12926
|
+
maxLength: (inst) => aggregateChecks(inst).maximum ?? null
|
|
12927
|
+
}, {
|
|
12928
|
+
regex(...args) {
|
|
12929
|
+
return this.check(_regex(...args));
|
|
12930
|
+
},
|
|
12931
|
+
includes(...args) {
|
|
12932
|
+
return this.check(_includes(...args));
|
|
12933
|
+
},
|
|
12934
|
+
startsWith(...args) {
|
|
12935
|
+
return this.check(_startsWith(...args));
|
|
12936
|
+
},
|
|
12937
|
+
endsWith(...args) {
|
|
12938
|
+
return this.check(_endsWith(...args));
|
|
12939
|
+
},
|
|
12940
|
+
min(...args) {
|
|
12941
|
+
return this.check(_minLength(...args));
|
|
12942
|
+
},
|
|
12943
|
+
max(...args) {
|
|
12944
|
+
return this.check(_maxLength(...args));
|
|
12945
|
+
},
|
|
12946
|
+
length(...args) {
|
|
12947
|
+
return this.check(_length(...args));
|
|
12948
|
+
},
|
|
12949
|
+
nonempty(...args) {
|
|
12950
|
+
return this.check(_minLength(1, ...args));
|
|
12951
|
+
},
|
|
12952
|
+
lowercase(params) {
|
|
12953
|
+
return this.check(_lowercase(params));
|
|
12954
|
+
},
|
|
12955
|
+
uppercase(params) {
|
|
12956
|
+
return this.check(_uppercase(params));
|
|
12957
|
+
},
|
|
12958
|
+
trim() {
|
|
12959
|
+
return this.check(_trim());
|
|
12960
|
+
},
|
|
12961
|
+
normalize(...args) {
|
|
12962
|
+
return this.check(_normalize(...args));
|
|
12963
|
+
},
|
|
12964
|
+
toLowerCase() {
|
|
12965
|
+
return this.check(_toLowerCase());
|
|
12966
|
+
},
|
|
12967
|
+
toUpperCase() {
|
|
12968
|
+
return this.check(_toUpperCase());
|
|
12969
|
+
},
|
|
12970
|
+
slugify() {
|
|
12971
|
+
return this.check(_slugify());
|
|
12972
|
+
}
|
|
12973
|
+
})
|
|
12974
|
+
);
|
|
12791
12975
|
var ZodString = /* @__PURE__ */ $constructor("ZodString", (inst, def) => {
|
|
12792
12976
|
$ZodString.init(inst, def);
|
|
12793
12977
|
_ZodString.init(inst, def);
|
|
@@ -12970,63 +13154,76 @@ var ZodJWT = /* @__PURE__ */ $constructor("ZodJWT", (inst, def) => {
|
|
|
12970
13154
|
$ZodJWT.init(inst, def);
|
|
12971
13155
|
ZodStringFormat.init(inst, def);
|
|
12972
13156
|
});
|
|
12973
|
-
var ZodNumber = /* @__PURE__ */ $constructor(
|
|
12974
|
-
|
|
12975
|
-
|
|
12976
|
-
|
|
12977
|
-
|
|
12978
|
-
|
|
12979
|
-
|
|
12980
|
-
inst.isInt = (bag.format ?? "").includes("int") || Number.isSafeInteger(bag.multipleOf ?? 0.5);
|
|
12981
|
-
inst.isFinite = true;
|
|
12982
|
-
inst.format = bag.format ?? null;
|
|
12983
|
-
}, {
|
|
12984
|
-
gt(value, params) {
|
|
12985
|
-
return this.check(_gt(value, params));
|
|
12986
|
-
},
|
|
12987
|
-
gte(value, params) {
|
|
12988
|
-
return this.check(_gte(value, params));
|
|
12989
|
-
},
|
|
12990
|
-
min(value, params) {
|
|
12991
|
-
return this.check(_gte(value, params));
|
|
12992
|
-
},
|
|
12993
|
-
lt(value, params) {
|
|
12994
|
-
return this.check(_lt(value, params));
|
|
12995
|
-
},
|
|
12996
|
-
lte(value, params) {
|
|
12997
|
-
return this.check(_lte(value, params));
|
|
12998
|
-
},
|
|
12999
|
-
max(value, params) {
|
|
13000
|
-
return this.check(_lte(value, params));
|
|
13001
|
-
},
|
|
13002
|
-
int(params) {
|
|
13003
|
-
return this.check(int(params));
|
|
13004
|
-
},
|
|
13005
|
-
safe(params) {
|
|
13006
|
-
return this.check(int(params));
|
|
13007
|
-
},
|
|
13008
|
-
positive(params) {
|
|
13009
|
-
return this.check(_gt(0, params));
|
|
13157
|
+
var ZodNumber = /* @__PURE__ */ $constructor(
|
|
13158
|
+
"ZodNumber",
|
|
13159
|
+
(inst, def) => {
|
|
13160
|
+
$ZodNumber.init(inst, def);
|
|
13161
|
+
ZodType.init(inst, def);
|
|
13162
|
+
inst._zod.processJSONSchema = (ctx, json, params) => numberProcessor(inst, ctx, json, params);
|
|
13163
|
+
inst.isFinite = true;
|
|
13010
13164
|
},
|
|
13011
|
-
|
|
13012
|
-
|
|
13013
|
-
|
|
13014
|
-
|
|
13015
|
-
|
|
13016
|
-
|
|
13017
|
-
|
|
13018
|
-
|
|
13019
|
-
|
|
13020
|
-
|
|
13021
|
-
|
|
13022
|
-
|
|
13023
|
-
|
|
13024
|
-
|
|
13025
|
-
},
|
|
13026
|
-
|
|
13027
|
-
|
|
13028
|
-
|
|
13029
|
-
|
|
13165
|
+
/* @__PURE__ */ util_exports.derived({
|
|
13166
|
+
minValue: (inst) => {
|
|
13167
|
+
const { minimum, exclusiveMinimum } = aggregateChecks(inst);
|
|
13168
|
+
return Math.max(minimum ?? Number.NEGATIVE_INFINITY, exclusiveMinimum ?? Number.NEGATIVE_INFINITY);
|
|
13169
|
+
},
|
|
13170
|
+
maxValue: (inst) => {
|
|
13171
|
+
const { maximum, exclusiveMaximum } = aggregateChecks(inst);
|
|
13172
|
+
return Math.min(maximum ?? Number.POSITIVE_INFINITY, exclusiveMaximum ?? Number.POSITIVE_INFINITY);
|
|
13173
|
+
},
|
|
13174
|
+
isInt: (inst) => {
|
|
13175
|
+
const { isInt, multipleOf } = aggregateChecks(inst);
|
|
13176
|
+
return !!isInt || !!multipleOf?.some(Number.isSafeInteger);
|
|
13177
|
+
},
|
|
13178
|
+
format: (inst) => aggregateChecks(inst).format ?? null
|
|
13179
|
+
}, {
|
|
13180
|
+
gt(value, params) {
|
|
13181
|
+
return this.check(_gt(value, params));
|
|
13182
|
+
},
|
|
13183
|
+
gte(value, params) {
|
|
13184
|
+
return this.check(_gte(value, params));
|
|
13185
|
+
},
|
|
13186
|
+
min(value, params) {
|
|
13187
|
+
return this.check(_gte(value, params));
|
|
13188
|
+
},
|
|
13189
|
+
lt(value, params) {
|
|
13190
|
+
return this.check(_lt(value, params));
|
|
13191
|
+
},
|
|
13192
|
+
lte(value, params) {
|
|
13193
|
+
return this.check(_lte(value, params));
|
|
13194
|
+
},
|
|
13195
|
+
max(value, params) {
|
|
13196
|
+
return this.check(_lte(value, params));
|
|
13197
|
+
},
|
|
13198
|
+
int(params) {
|
|
13199
|
+
return this.check(int(params));
|
|
13200
|
+
},
|
|
13201
|
+
safe(params) {
|
|
13202
|
+
return this.check(int(params));
|
|
13203
|
+
},
|
|
13204
|
+
positive(params) {
|
|
13205
|
+
return this.check(_gt(0, params));
|
|
13206
|
+
},
|
|
13207
|
+
nonnegative(params) {
|
|
13208
|
+
return this.check(_gte(0, params));
|
|
13209
|
+
},
|
|
13210
|
+
negative(params) {
|
|
13211
|
+
return this.check(_lt(0, params));
|
|
13212
|
+
},
|
|
13213
|
+
nonpositive(params) {
|
|
13214
|
+
return this.check(_lte(0, params));
|
|
13215
|
+
},
|
|
13216
|
+
multipleOf(value, params) {
|
|
13217
|
+
return this.check(_multipleOf(value, params));
|
|
13218
|
+
},
|
|
13219
|
+
step(value, params) {
|
|
13220
|
+
return this.check(_multipleOf(value, params));
|
|
13221
|
+
},
|
|
13222
|
+
finite() {
|
|
13223
|
+
return this;
|
|
13224
|
+
}
|
|
13225
|
+
})
|
|
13226
|
+
);
|
|
13030
13227
|
function number2(params) {
|
|
13031
13228
|
return _number(ZodNumber, params);
|
|
13032
13229
|
}
|
|
@@ -13106,19 +13303,19 @@ var ZodObject = /* @__PURE__ */ $constructor("ZodObject", (inst, def) => {
|
|
|
13106
13303
|
return _enum(Object.keys(this._zod.def.shape));
|
|
13107
13304
|
},
|
|
13108
13305
|
catchall(catchall) {
|
|
13109
|
-
return this.clone(
|
|
13306
|
+
return this.clone(util_exports.mergeDefs(this._zod.def, { catchall }));
|
|
13110
13307
|
},
|
|
13111
13308
|
passthrough() {
|
|
13112
|
-
return this.clone(
|
|
13309
|
+
return this.clone(util_exports.mergeDefs(this._zod.def, { catchall: unknown() }));
|
|
13113
13310
|
},
|
|
13114
13311
|
loose() {
|
|
13115
|
-
return this.clone(
|
|
13312
|
+
return this.clone(util_exports.mergeDefs(this._zod.def, { catchall: unknown() }));
|
|
13116
13313
|
},
|
|
13117
13314
|
strict() {
|
|
13118
|
-
return this.clone(
|
|
13315
|
+
return this.clone(util_exports.mergeDefs(this._zod.def, { catchall: never() }));
|
|
13119
13316
|
},
|
|
13120
13317
|
strip() {
|
|
13121
|
-
return this.clone(
|
|
13318
|
+
return this.clone(util_exports.mergeDefs(this._zod.def, { catchall: void 0 }));
|
|
13122
13319
|
},
|
|
13123
13320
|
extend(incoming) {
|
|
13124
13321
|
return util_exports.extend(this, incoming);
|
|
@@ -13227,7 +13424,7 @@ var ZodEnum = /* @__PURE__ */ $constructor("ZodEnum", (inst, def) => {
|
|
|
13227
13424
|
ZodType.init(inst, def);
|
|
13228
13425
|
inst._zod.processJSONSchema = (ctx, json, params) => enumProcessor(inst, ctx, json, params);
|
|
13229
13426
|
inst.enum = def.entries;
|
|
13230
|
-
inst.options =
|
|
13427
|
+
inst.options = [...inst._zod.values];
|
|
13231
13428
|
const keys = new Set(Object.keys(def.entries));
|
|
13232
13429
|
inst.extract = (values, params) => {
|
|
13233
13430
|
const newEntries = {};
|
|
@@ -13476,7 +13673,7 @@ function preprocess(fn, schema) {
|
|
|
13476
13673
|
});
|
|
13477
13674
|
}
|
|
13478
13675
|
|
|
13479
|
-
// node_modules/zod/v4/classic/iso.js
|
|
13676
|
+
// node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/classic/iso.js
|
|
13480
13677
|
var iso_exports = {};
|
|
13481
13678
|
__export(iso_exports, {
|
|
13482
13679
|
ZodISODate: () => ZodISODate,
|
|
@@ -13501,7 +13698,7 @@ function duration2(params) {
|
|
|
13501
13698
|
return _isoDuration(ZodISODuration, params);
|
|
13502
13699
|
}
|
|
13503
13700
|
|
|
13504
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
13701
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.30.0_zod@4.6.5/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
13505
13702
|
var LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
13506
13703
|
var DEFAULT_NEGOTIATED_PROTOCOL_VERSION = "2025-03-26";
|
|
13507
13704
|
var SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
|
|
@@ -15022,7 +15219,7 @@ var UrlElicitationRequiredError = class extends McpError {
|
|
|
15022
15219
|
}
|
|
15023
15220
|
};
|
|
15024
15221
|
|
|
15025
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js
|
|
15222
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.30.0_zod@4.6.5/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js
|
|
15026
15223
|
var WebStandardStreamableHTTPServerTransport = class {
|
|
15027
15224
|
constructor(options = {}) {
|
|
15028
15225
|
this._started = false;
|
|
@@ -15806,7 +16003,7 @@ function publicMcpErrorMessage(error2, fallback) {
|
|
|
15806
16003
|
return error2 instanceof TopoloMcpPublicError ? error2.message : fallback;
|
|
15807
16004
|
}
|
|
15808
16005
|
|
|
15809
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
16006
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.30.0_zod@4.6.5/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
15810
16007
|
function isZ4Schema(s) {
|
|
15811
16008
|
const schema = s;
|
|
15812
16009
|
return !!schema._zod;
|
|
@@ -15823,24 +16020,24 @@ function safeParse3(schema, data) {
|
|
|
15823
16020
|
function getObjectShape(schema) {
|
|
15824
16021
|
if (!schema)
|
|
15825
16022
|
return void 0;
|
|
15826
|
-
let
|
|
16023
|
+
let rawShape2;
|
|
15827
16024
|
if (isZ4Schema(schema)) {
|
|
15828
16025
|
const v4Schema = schema;
|
|
15829
|
-
|
|
16026
|
+
rawShape2 = v4Schema._zod?.def?.shape;
|
|
15830
16027
|
} else {
|
|
15831
16028
|
const v3Schema = schema;
|
|
15832
|
-
|
|
16029
|
+
rawShape2 = v3Schema.shape;
|
|
15833
16030
|
}
|
|
15834
|
-
if (!
|
|
16031
|
+
if (!rawShape2)
|
|
15835
16032
|
return void 0;
|
|
15836
|
-
if (typeof
|
|
16033
|
+
if (typeof rawShape2 === "function") {
|
|
15837
16034
|
try {
|
|
15838
|
-
return
|
|
16035
|
+
return rawShape2();
|
|
15839
16036
|
} catch {
|
|
15840
16037
|
return void 0;
|
|
15841
16038
|
}
|
|
15842
16039
|
}
|
|
15843
|
-
return
|
|
16040
|
+
return rawShape2;
|
|
15844
16041
|
}
|
|
15845
16042
|
function getLiteralValue(schema) {
|
|
15846
16043
|
if (isZ4Schema(schema)) {
|
|
@@ -15869,15 +16066,15 @@ function getLiteralValue(schema) {
|
|
|
15869
16066
|
return void 0;
|
|
15870
16067
|
}
|
|
15871
16068
|
|
|
15872
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
16069
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.30.0_zod@4.6.5/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
15873
16070
|
function isTerminal(status) {
|
|
15874
16071
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
15875
16072
|
}
|
|
15876
16073
|
|
|
15877
|
-
// node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
16074
|
+
// node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.6.5/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
15878
16075
|
var ALPHA_NUMERIC = new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");
|
|
15879
16076
|
|
|
15880
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
16077
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.30.0_zod@4.6.5/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
15881
16078
|
function getMethodLiteral(schema) {
|
|
15882
16079
|
const shape = getObjectShape(schema);
|
|
15883
16080
|
const methodSchema = shape?.method;
|
|
@@ -15898,7 +16095,7 @@ function parseWithCompat(schema, data) {
|
|
|
15898
16095
|
return result.data;
|
|
15899
16096
|
}
|
|
15900
16097
|
|
|
15901
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
16098
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.30.0_zod@4.6.5/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
15902
16099
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 6e4;
|
|
15903
16100
|
var Protocol = class {
|
|
15904
16101
|
constructor(_options) {
|
|
@@ -16852,7 +17049,7 @@ function mergeCapabilities(base, additional) {
|
|
|
16852
17049
|
return result;
|
|
16853
17050
|
}
|
|
16854
17051
|
|
|
16855
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
17052
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.30.0_zod@4.6.5/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
16856
17053
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
16857
17054
|
var import_ajv_formats = __toESM(require_dist(), 1);
|
|
16858
17055
|
function createDefaultAjvInstance() {
|
|
@@ -16920,7 +17117,7 @@ var AjvJsonSchemaValidator = class {
|
|
|
16920
17117
|
}
|
|
16921
17118
|
};
|
|
16922
17119
|
|
|
16923
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
17120
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.30.0_zod@4.6.5/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
16924
17121
|
var ExperimentalServerTasks = class {
|
|
16925
17122
|
constructor(_server) {
|
|
16926
17123
|
this._server = _server;
|
|
@@ -17133,7 +17330,7 @@ var ExperimentalServerTasks = class {
|
|
|
17133
17330
|
}
|
|
17134
17331
|
};
|
|
17135
17332
|
|
|
17136
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
17333
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.30.0_zod@4.6.5/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
17137
17334
|
function assertToolsCallTaskCapability(requests, method, entityName) {
|
|
17138
17335
|
if (!requests) {
|
|
17139
17336
|
throw new Error(`${entityName} does not support task creation (required for ${method})`);
|
|
@@ -17168,7 +17365,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
|
|
|
17168
17365
|
}
|
|
17169
17366
|
}
|
|
17170
17367
|
|
|
17171
|
-
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
17368
|
+
// node_modules/.pnpm/@modelcontextprotocol+sdk@1.30.0_zod@4.6.5/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
17172
17369
|
var Server = class extends Protocol {
|
|
17173
17370
|
/**
|
|
17174
17371
|
* Initializes this server with the given name and version information.
|
|
@@ -18421,6 +18618,7 @@ function createTopoloMcpHttpHandlerInternal(options = {}) {
|
|
|
18421
18618
|
const createClient = options.createClient ?? ((credential) => createTopolo({
|
|
18422
18619
|
credential,
|
|
18423
18620
|
environment,
|
|
18621
|
+
actorContext: { channel: "mcp" },
|
|
18424
18622
|
agent: {
|
|
18425
18623
|
clientName: "topolo-mcp-http",
|
|
18426
18624
|
clientVersion: MCP_VERSION,
|