threadnote 0.2.2 → 0.3.1
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/README.md +19 -11
- package/dist/mcp_server.cjs +594 -407
- package/dist/threadnote.cjs +4286 -4105
- package/docs/agent-instructions.md +7 -2
- package/docs/migration.md +13 -5
- package/docs/rollout.md +1 -1
- package/docs/security.md +4 -4
- package/docs/troubleshooting.md +22 -1
- package/package.json +16 -4
- package/scripts/install.sh +1 -0
- package/docs/demo.md +0 -279
package/dist/mcp_server.cjs
CHANGED
|
@@ -30,9 +30,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
mod
|
|
31
31
|
));
|
|
32
32
|
|
|
33
|
-
// node_modules
|
|
33
|
+
// node_modules/ajv/dist/compile/codegen/code.js
|
|
34
34
|
var require_code = __commonJS({
|
|
35
|
-
"node_modules
|
|
35
|
+
"node_modules/ajv/dist/compile/codegen/code.js"(exports2) {
|
|
36
36
|
"use strict";
|
|
37
37
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
38
38
|
exports2.regexpCode = exports2.getEsmExportName = exports2.getProperty = exports2.safeStringify = exports2.stringify = exports2.strConcat = exports2.addCodeArg = exports2.str = exports2._ = exports2.nil = exports2._Code = exports2.Name = exports2.IDENTIFIER = exports2._CodeOrName = void 0;
|
|
@@ -184,9 +184,9 @@ var require_code = __commonJS({
|
|
|
184
184
|
}
|
|
185
185
|
});
|
|
186
186
|
|
|
187
|
-
// node_modules
|
|
187
|
+
// node_modules/ajv/dist/compile/codegen/scope.js
|
|
188
188
|
var require_scope = __commonJS({
|
|
189
|
-
"node_modules
|
|
189
|
+
"node_modules/ajv/dist/compile/codegen/scope.js"(exports2) {
|
|
190
190
|
"use strict";
|
|
191
191
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
192
192
|
exports2.ValueScope = exports2.ValueScopeName = exports2.Scope = exports2.varKinds = exports2.UsedValueState = void 0;
|
|
@@ -329,9 +329,9 @@ var require_scope = __commonJS({
|
|
|
329
329
|
}
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
// node_modules
|
|
332
|
+
// node_modules/ajv/dist/compile/codegen/index.js
|
|
333
333
|
var require_codegen = __commonJS({
|
|
334
|
-
"node_modules
|
|
334
|
+
"node_modules/ajv/dist/compile/codegen/index.js"(exports2) {
|
|
335
335
|
"use strict";
|
|
336
336
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
337
337
|
exports2.or = exports2.and = exports2.not = exports2.CodeGen = exports2.operators = exports2.varKinds = exports2.ValueScopeName = exports2.ValueScope = exports2.Scope = exports2.Name = exports2.regexpCode = exports2.stringify = exports2.getProperty = exports2.nil = exports2.strConcat = exports2.str = exports2._ = void 0;
|
|
@@ -1049,9 +1049,9 @@ var require_codegen = __commonJS({
|
|
|
1049
1049
|
}
|
|
1050
1050
|
});
|
|
1051
1051
|
|
|
1052
|
-
// node_modules
|
|
1052
|
+
// node_modules/ajv/dist/compile/util.js
|
|
1053
1053
|
var require_util = __commonJS({
|
|
1054
|
-
"node_modules
|
|
1054
|
+
"node_modules/ajv/dist/compile/util.js"(exports2) {
|
|
1055
1055
|
"use strict";
|
|
1056
1056
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1057
1057
|
exports2.checkStrictMode = exports2.getErrorPath = exports2.Type = exports2.useFunc = exports2.setEvaluated = exports2.evaluatedPropsToName = exports2.mergeEvaluated = exports2.eachItem = exports2.unescapeJsonPointer = exports2.escapeJsonPointer = exports2.escapeFragment = exports2.unescapeFragment = exports2.schemaRefOrVal = exports2.schemaHasRulesButRef = exports2.schemaHasRules = exports2.checkUnknownRules = exports2.alwaysValidSchema = exports2.toHash = void 0;
|
|
@@ -1216,9 +1216,9 @@ var require_util = __commonJS({
|
|
|
1216
1216
|
}
|
|
1217
1217
|
});
|
|
1218
1218
|
|
|
1219
|
-
// node_modules
|
|
1219
|
+
// node_modules/ajv/dist/compile/names.js
|
|
1220
1220
|
var require_names = __commonJS({
|
|
1221
|
-
"node_modules
|
|
1221
|
+
"node_modules/ajv/dist/compile/names.js"(exports2) {
|
|
1222
1222
|
"use strict";
|
|
1223
1223
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1224
1224
|
var codegen_1 = require_codegen();
|
|
@@ -1255,9 +1255,9 @@ var require_names = __commonJS({
|
|
|
1255
1255
|
}
|
|
1256
1256
|
});
|
|
1257
1257
|
|
|
1258
|
-
// node_modules
|
|
1258
|
+
// node_modules/ajv/dist/compile/errors.js
|
|
1259
1259
|
var require_errors = __commonJS({
|
|
1260
|
-
"node_modules
|
|
1260
|
+
"node_modules/ajv/dist/compile/errors.js"(exports2) {
|
|
1261
1261
|
"use strict";
|
|
1262
1262
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1263
1263
|
exports2.extendErrors = exports2.resetErrorsCount = exports2.reportExtraError = exports2.reportError = exports2.keyword$DataError = exports2.keywordError = void 0;
|
|
@@ -1377,9 +1377,9 @@ var require_errors = __commonJS({
|
|
|
1377
1377
|
}
|
|
1378
1378
|
});
|
|
1379
1379
|
|
|
1380
|
-
// node_modules
|
|
1380
|
+
// node_modules/ajv/dist/compile/validate/boolSchema.js
|
|
1381
1381
|
var require_boolSchema = __commonJS({
|
|
1382
|
-
"node_modules
|
|
1382
|
+
"node_modules/ajv/dist/compile/validate/boolSchema.js"(exports2) {
|
|
1383
1383
|
"use strict";
|
|
1384
1384
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1385
1385
|
exports2.boolOrEmptySchema = exports2.topBoolOrEmptySchema = void 0;
|
|
@@ -1428,9 +1428,9 @@ var require_boolSchema = __commonJS({
|
|
|
1428
1428
|
}
|
|
1429
1429
|
});
|
|
1430
1430
|
|
|
1431
|
-
// node_modules
|
|
1431
|
+
// node_modules/ajv/dist/compile/rules.js
|
|
1432
1432
|
var require_rules = __commonJS({
|
|
1433
|
-
"node_modules
|
|
1433
|
+
"node_modules/ajv/dist/compile/rules.js"(exports2) {
|
|
1434
1434
|
"use strict";
|
|
1435
1435
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1436
1436
|
exports2.getRules = exports2.isJSONType = void 0;
|
|
@@ -1459,9 +1459,9 @@ var require_rules = __commonJS({
|
|
|
1459
1459
|
}
|
|
1460
1460
|
});
|
|
1461
1461
|
|
|
1462
|
-
// node_modules
|
|
1462
|
+
// node_modules/ajv/dist/compile/validate/applicability.js
|
|
1463
1463
|
var require_applicability = __commonJS({
|
|
1464
|
-
"node_modules
|
|
1464
|
+
"node_modules/ajv/dist/compile/validate/applicability.js"(exports2) {
|
|
1465
1465
|
"use strict";
|
|
1466
1466
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1467
1467
|
exports2.shouldUseRule = exports2.shouldUseGroup = exports2.schemaHasRulesForType = void 0;
|
|
@@ -1482,9 +1482,9 @@ var require_applicability = __commonJS({
|
|
|
1482
1482
|
}
|
|
1483
1483
|
});
|
|
1484
1484
|
|
|
1485
|
-
// node_modules
|
|
1485
|
+
// node_modules/ajv/dist/compile/validate/dataType.js
|
|
1486
1486
|
var require_dataType = __commonJS({
|
|
1487
|
-
"node_modules
|
|
1487
|
+
"node_modules/ajv/dist/compile/validate/dataType.js"(exports2) {
|
|
1488
1488
|
"use strict";
|
|
1489
1489
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1490
1490
|
exports2.reportTypeError = exports2.checkDataTypes = exports2.checkDataType = exports2.coerceAndCheckDataType = exports2.getJSONTypes = exports2.getSchemaTypes = exports2.DataType = void 0;
|
|
@@ -1666,9 +1666,9 @@ var require_dataType = __commonJS({
|
|
|
1666
1666
|
}
|
|
1667
1667
|
});
|
|
1668
1668
|
|
|
1669
|
-
// node_modules
|
|
1669
|
+
// node_modules/ajv/dist/compile/validate/defaults.js
|
|
1670
1670
|
var require_defaults = __commonJS({
|
|
1671
|
-
"node_modules
|
|
1671
|
+
"node_modules/ajv/dist/compile/validate/defaults.js"(exports2) {
|
|
1672
1672
|
"use strict";
|
|
1673
1673
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1674
1674
|
exports2.assignDefaults = void 0;
|
|
@@ -1703,9 +1703,9 @@ var require_defaults = __commonJS({
|
|
|
1703
1703
|
}
|
|
1704
1704
|
});
|
|
1705
1705
|
|
|
1706
|
-
// node_modules
|
|
1706
|
+
// node_modules/ajv/dist/vocabularies/code.js
|
|
1707
1707
|
var require_code2 = __commonJS({
|
|
1708
|
-
"node_modules
|
|
1708
|
+
"node_modules/ajv/dist/vocabularies/code.js"(exports2) {
|
|
1709
1709
|
"use strict";
|
|
1710
1710
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1711
1711
|
exports2.validateUnion = exports2.validateArray = exports2.usePattern = exports2.callValidateCode = exports2.schemaProperties = exports2.allSchemaProperties = exports2.noPropertyInData = exports2.propertyInData = exports2.isOwnProperty = exports2.hasPropFunc = exports2.reportMissingProp = exports2.checkMissingProp = exports2.checkReportMissingProp = void 0;
|
|
@@ -1836,9 +1836,9 @@ var require_code2 = __commonJS({
|
|
|
1836
1836
|
}
|
|
1837
1837
|
});
|
|
1838
1838
|
|
|
1839
|
-
// node_modules
|
|
1839
|
+
// node_modules/ajv/dist/compile/validate/keyword.js
|
|
1840
1840
|
var require_keyword = __commonJS({
|
|
1841
|
-
"node_modules
|
|
1841
|
+
"node_modules/ajv/dist/compile/validate/keyword.js"(exports2) {
|
|
1842
1842
|
"use strict";
|
|
1843
1843
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1844
1844
|
exports2.validateKeywordUsage = exports2.validSchemaType = exports2.funcKeywordCode = exports2.macroKeywordCode = void 0;
|
|
@@ -1954,9 +1954,9 @@ var require_keyword = __commonJS({
|
|
|
1954
1954
|
}
|
|
1955
1955
|
});
|
|
1956
1956
|
|
|
1957
|
-
// node_modules
|
|
1957
|
+
// node_modules/ajv/dist/compile/validate/subschema.js
|
|
1958
1958
|
var require_subschema = __commonJS({
|
|
1959
|
-
"node_modules
|
|
1959
|
+
"node_modules/ajv/dist/compile/validate/subschema.js"(exports2) {
|
|
1960
1960
|
"use strict";
|
|
1961
1961
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
1962
1962
|
exports2.extendSubschemaMode = exports2.extendSubschemaData = exports2.getSubschema = void 0;
|
|
@@ -2037,9 +2037,9 @@ var require_subschema = __commonJS({
|
|
|
2037
2037
|
}
|
|
2038
2038
|
});
|
|
2039
2039
|
|
|
2040
|
-
// node_modules
|
|
2040
|
+
// node_modules/fast-deep-equal/index.js
|
|
2041
2041
|
var require_fast_deep_equal = __commonJS({
|
|
2042
|
-
"node_modules
|
|
2042
|
+
"node_modules/fast-deep-equal/index.js"(exports2, module2) {
|
|
2043
2043
|
"use strict";
|
|
2044
2044
|
module2.exports = function equal(a, b) {
|
|
2045
2045
|
if (a === b) return true;
|
|
@@ -2072,9 +2072,9 @@ var require_fast_deep_equal = __commonJS({
|
|
|
2072
2072
|
}
|
|
2073
2073
|
});
|
|
2074
2074
|
|
|
2075
|
-
// node_modules
|
|
2075
|
+
// node_modules/json-schema-traverse/index.js
|
|
2076
2076
|
var require_json_schema_traverse = __commonJS({
|
|
2077
|
-
"node_modules
|
|
2077
|
+
"node_modules/json-schema-traverse/index.js"(exports2, module2) {
|
|
2078
2078
|
"use strict";
|
|
2079
2079
|
var traverse = module2.exports = function(schema, opts, cb) {
|
|
2080
2080
|
if (typeof opts == "function") {
|
|
@@ -2160,9 +2160,9 @@ var require_json_schema_traverse = __commonJS({
|
|
|
2160
2160
|
}
|
|
2161
2161
|
});
|
|
2162
2162
|
|
|
2163
|
-
// node_modules
|
|
2163
|
+
// node_modules/ajv/dist/compile/resolve.js
|
|
2164
2164
|
var require_resolve = __commonJS({
|
|
2165
|
-
"node_modules
|
|
2165
|
+
"node_modules/ajv/dist/compile/resolve.js"(exports2) {
|
|
2166
2166
|
"use strict";
|
|
2167
2167
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2168
2168
|
exports2.getSchemaRefs = exports2.resolveUrl = exports2.normalizeId = exports2._getFullPath = exports2.getFullPath = exports2.inlineRef = void 0;
|
|
@@ -2316,9 +2316,9 @@ var require_resolve = __commonJS({
|
|
|
2316
2316
|
}
|
|
2317
2317
|
});
|
|
2318
2318
|
|
|
2319
|
-
// node_modules
|
|
2319
|
+
// node_modules/ajv/dist/compile/validate/index.js
|
|
2320
2320
|
var require_validate = __commonJS({
|
|
2321
|
-
"node_modules
|
|
2321
|
+
"node_modules/ajv/dist/compile/validate/index.js"(exports2) {
|
|
2322
2322
|
"use strict";
|
|
2323
2323
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2324
2324
|
exports2.getData = exports2.KeywordCxt = exports2.validateFunctionCode = void 0;
|
|
@@ -2824,9 +2824,9 @@ var require_validate = __commonJS({
|
|
|
2824
2824
|
}
|
|
2825
2825
|
});
|
|
2826
2826
|
|
|
2827
|
-
// node_modules
|
|
2827
|
+
// node_modules/ajv/dist/runtime/validation_error.js
|
|
2828
2828
|
var require_validation_error = __commonJS({
|
|
2829
|
-
"node_modules
|
|
2829
|
+
"node_modules/ajv/dist/runtime/validation_error.js"(exports2) {
|
|
2830
2830
|
"use strict";
|
|
2831
2831
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2832
2832
|
var ValidationError = class extends Error {
|
|
@@ -2840,9 +2840,9 @@ var require_validation_error = __commonJS({
|
|
|
2840
2840
|
}
|
|
2841
2841
|
});
|
|
2842
2842
|
|
|
2843
|
-
// node_modules
|
|
2843
|
+
// node_modules/ajv/dist/compile/ref_error.js
|
|
2844
2844
|
var require_ref_error = __commonJS({
|
|
2845
|
-
"node_modules
|
|
2845
|
+
"node_modules/ajv/dist/compile/ref_error.js"(exports2) {
|
|
2846
2846
|
"use strict";
|
|
2847
2847
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2848
2848
|
var resolve_1 = require_resolve();
|
|
@@ -2857,9 +2857,9 @@ var require_ref_error = __commonJS({
|
|
|
2857
2857
|
}
|
|
2858
2858
|
});
|
|
2859
2859
|
|
|
2860
|
-
// node_modules
|
|
2860
|
+
// node_modules/ajv/dist/compile/index.js
|
|
2861
2861
|
var require_compile = __commonJS({
|
|
2862
|
-
"node_modules
|
|
2862
|
+
"node_modules/ajv/dist/compile/index.js"(exports2) {
|
|
2863
2863
|
"use strict";
|
|
2864
2864
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2865
2865
|
exports2.resolveSchema = exports2.getCompilingSchema = exports2.resolveRef = exports2.compileSchema = exports2.SchemaEnv = void 0;
|
|
@@ -3081,9 +3081,9 @@ var require_compile = __commonJS({
|
|
|
3081
3081
|
}
|
|
3082
3082
|
});
|
|
3083
3083
|
|
|
3084
|
-
// node_modules
|
|
3084
|
+
// node_modules/ajv/dist/refs/data.json
|
|
3085
3085
|
var require_data = __commonJS({
|
|
3086
|
-
"node_modules
|
|
3086
|
+
"node_modules/ajv/dist/refs/data.json"(exports2, module2) {
|
|
3087
3087
|
module2.exports = {
|
|
3088
3088
|
$id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
|
|
3089
3089
|
description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
|
|
@@ -3100,9 +3100,9 @@ var require_data = __commonJS({
|
|
|
3100
3100
|
}
|
|
3101
3101
|
});
|
|
3102
3102
|
|
|
3103
|
-
// node_modules
|
|
3103
|
+
// node_modules/fast-uri/lib/utils.js
|
|
3104
3104
|
var require_utils = __commonJS({
|
|
3105
|
-
"node_modules
|
|
3105
|
+
"node_modules/fast-uri/lib/utils.js"(exports2, module2) {
|
|
3106
3106
|
"use strict";
|
|
3107
3107
|
var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
|
|
3108
3108
|
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);
|
|
@@ -3413,9 +3413,9 @@ var require_utils = __commonJS({
|
|
|
3413
3413
|
}
|
|
3414
3414
|
});
|
|
3415
3415
|
|
|
3416
|
-
// node_modules
|
|
3416
|
+
// node_modules/fast-uri/lib/schemes.js
|
|
3417
3417
|
var require_schemes = __commonJS({
|
|
3418
|
-
"node_modules
|
|
3418
|
+
"node_modules/fast-uri/lib/schemes.js"(exports2, module2) {
|
|
3419
3419
|
"use strict";
|
|
3420
3420
|
var { isUUID } = require_utils();
|
|
3421
3421
|
var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
|
|
@@ -3623,9 +3623,9 @@ var require_schemes = __commonJS({
|
|
|
3623
3623
|
}
|
|
3624
3624
|
});
|
|
3625
3625
|
|
|
3626
|
-
// node_modules
|
|
3626
|
+
// node_modules/fast-uri/index.js
|
|
3627
3627
|
var require_fast_uri = __commonJS({
|
|
3628
|
-
"node_modules
|
|
3628
|
+
"node_modules/fast-uri/index.js"(exports2, module2) {
|
|
3629
3629
|
"use strict";
|
|
3630
3630
|
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
|
|
3631
3631
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
@@ -3909,9 +3909,9 @@ var require_fast_uri = __commonJS({
|
|
|
3909
3909
|
}
|
|
3910
3910
|
});
|
|
3911
3911
|
|
|
3912
|
-
// node_modules
|
|
3912
|
+
// node_modules/ajv/dist/runtime/uri.js
|
|
3913
3913
|
var require_uri = __commonJS({
|
|
3914
|
-
"node_modules
|
|
3914
|
+
"node_modules/ajv/dist/runtime/uri.js"(exports2) {
|
|
3915
3915
|
"use strict";
|
|
3916
3916
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3917
3917
|
var uri = require_fast_uri();
|
|
@@ -3920,9 +3920,9 @@ var require_uri = __commonJS({
|
|
|
3920
3920
|
}
|
|
3921
3921
|
});
|
|
3922
3922
|
|
|
3923
|
-
// node_modules
|
|
3923
|
+
// node_modules/ajv/dist/core.js
|
|
3924
3924
|
var require_core = __commonJS({
|
|
3925
|
-
"node_modules
|
|
3925
|
+
"node_modules/ajv/dist/core.js"(exports2) {
|
|
3926
3926
|
"use strict";
|
|
3927
3927
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3928
3928
|
exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = void 0;
|
|
@@ -4531,9 +4531,9 @@ var require_core = __commonJS({
|
|
|
4531
4531
|
}
|
|
4532
4532
|
});
|
|
4533
4533
|
|
|
4534
|
-
// node_modules
|
|
4534
|
+
// node_modules/ajv/dist/vocabularies/core/id.js
|
|
4535
4535
|
var require_id = __commonJS({
|
|
4536
|
-
"node_modules
|
|
4536
|
+
"node_modules/ajv/dist/vocabularies/core/id.js"(exports2) {
|
|
4537
4537
|
"use strict";
|
|
4538
4538
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4539
4539
|
var def = {
|
|
@@ -4546,9 +4546,9 @@ var require_id = __commonJS({
|
|
|
4546
4546
|
}
|
|
4547
4547
|
});
|
|
4548
4548
|
|
|
4549
|
-
// node_modules
|
|
4549
|
+
// node_modules/ajv/dist/vocabularies/core/ref.js
|
|
4550
4550
|
var require_ref = __commonJS({
|
|
4551
|
-
"node_modules
|
|
4551
|
+
"node_modules/ajv/dist/vocabularies/core/ref.js"(exports2) {
|
|
4552
4552
|
"use strict";
|
|
4553
4553
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4554
4554
|
exports2.callRef = exports2.getValidate = void 0;
|
|
@@ -4668,9 +4668,9 @@ var require_ref = __commonJS({
|
|
|
4668
4668
|
}
|
|
4669
4669
|
});
|
|
4670
4670
|
|
|
4671
|
-
// node_modules
|
|
4671
|
+
// node_modules/ajv/dist/vocabularies/core/index.js
|
|
4672
4672
|
var require_core2 = __commonJS({
|
|
4673
|
-
"node_modules
|
|
4673
|
+
"node_modules/ajv/dist/vocabularies/core/index.js"(exports2) {
|
|
4674
4674
|
"use strict";
|
|
4675
4675
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4676
4676
|
var id_1 = require_id();
|
|
@@ -4689,9 +4689,9 @@ var require_core2 = __commonJS({
|
|
|
4689
4689
|
}
|
|
4690
4690
|
});
|
|
4691
4691
|
|
|
4692
|
-
// node_modules
|
|
4692
|
+
// node_modules/ajv/dist/vocabularies/validation/limitNumber.js
|
|
4693
4693
|
var require_limitNumber = __commonJS({
|
|
4694
|
-
"node_modules
|
|
4694
|
+
"node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports2) {
|
|
4695
4695
|
"use strict";
|
|
4696
4696
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4697
4697
|
var codegen_1 = require_codegen();
|
|
@@ -4721,9 +4721,9 @@ var require_limitNumber = __commonJS({
|
|
|
4721
4721
|
}
|
|
4722
4722
|
});
|
|
4723
4723
|
|
|
4724
|
-
// node_modules
|
|
4724
|
+
// node_modules/ajv/dist/vocabularies/validation/multipleOf.js
|
|
4725
4725
|
var require_multipleOf = __commonJS({
|
|
4726
|
-
"node_modules
|
|
4726
|
+
"node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports2) {
|
|
4727
4727
|
"use strict";
|
|
4728
4728
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4729
4729
|
var codegen_1 = require_codegen();
|
|
@@ -4749,9 +4749,9 @@ var require_multipleOf = __commonJS({
|
|
|
4749
4749
|
}
|
|
4750
4750
|
});
|
|
4751
4751
|
|
|
4752
|
-
// node_modules
|
|
4752
|
+
// node_modules/ajv/dist/runtime/ucs2length.js
|
|
4753
4753
|
var require_ucs2length = __commonJS({
|
|
4754
|
-
"node_modules
|
|
4754
|
+
"node_modules/ajv/dist/runtime/ucs2length.js"(exports2) {
|
|
4755
4755
|
"use strict";
|
|
4756
4756
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4757
4757
|
function ucs2length(str) {
|
|
@@ -4775,9 +4775,9 @@ var require_ucs2length = __commonJS({
|
|
|
4775
4775
|
}
|
|
4776
4776
|
});
|
|
4777
4777
|
|
|
4778
|
-
// node_modules
|
|
4778
|
+
// node_modules/ajv/dist/vocabularies/validation/limitLength.js
|
|
4779
4779
|
var require_limitLength = __commonJS({
|
|
4780
|
-
"node_modules
|
|
4780
|
+
"node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports2) {
|
|
4781
4781
|
"use strict";
|
|
4782
4782
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4783
4783
|
var codegen_1 = require_codegen();
|
|
@@ -4807,9 +4807,9 @@ var require_limitLength = __commonJS({
|
|
|
4807
4807
|
}
|
|
4808
4808
|
});
|
|
4809
4809
|
|
|
4810
|
-
// node_modules
|
|
4810
|
+
// node_modules/ajv/dist/vocabularies/validation/pattern.js
|
|
4811
4811
|
var require_pattern = __commonJS({
|
|
4812
|
-
"node_modules
|
|
4812
|
+
"node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports2) {
|
|
4813
4813
|
"use strict";
|
|
4814
4814
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4815
4815
|
var code_1 = require_code2();
|
|
@@ -4844,9 +4844,9 @@ var require_pattern = __commonJS({
|
|
|
4844
4844
|
}
|
|
4845
4845
|
});
|
|
4846
4846
|
|
|
4847
|
-
// node_modules
|
|
4847
|
+
// node_modules/ajv/dist/vocabularies/validation/limitProperties.js
|
|
4848
4848
|
var require_limitProperties = __commonJS({
|
|
4849
|
-
"node_modules
|
|
4849
|
+
"node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports2) {
|
|
4850
4850
|
"use strict";
|
|
4851
4851
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4852
4852
|
var codegen_1 = require_codegen();
|
|
@@ -4873,9 +4873,9 @@ var require_limitProperties = __commonJS({
|
|
|
4873
4873
|
}
|
|
4874
4874
|
});
|
|
4875
4875
|
|
|
4876
|
-
// node_modules
|
|
4876
|
+
// node_modules/ajv/dist/vocabularies/validation/required.js
|
|
4877
4877
|
var require_required = __commonJS({
|
|
4878
|
-
"node_modules
|
|
4878
|
+
"node_modules/ajv/dist/vocabularies/validation/required.js"(exports2) {
|
|
4879
4879
|
"use strict";
|
|
4880
4880
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4881
4881
|
var code_1 = require_code2();
|
|
@@ -4955,9 +4955,9 @@ var require_required = __commonJS({
|
|
|
4955
4955
|
}
|
|
4956
4956
|
});
|
|
4957
4957
|
|
|
4958
|
-
// node_modules
|
|
4958
|
+
// node_modules/ajv/dist/vocabularies/validation/limitItems.js
|
|
4959
4959
|
var require_limitItems = __commonJS({
|
|
4960
|
-
"node_modules
|
|
4960
|
+
"node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports2) {
|
|
4961
4961
|
"use strict";
|
|
4962
4962
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4963
4963
|
var codegen_1 = require_codegen();
|
|
@@ -4984,9 +4984,9 @@ var require_limitItems = __commonJS({
|
|
|
4984
4984
|
}
|
|
4985
4985
|
});
|
|
4986
4986
|
|
|
4987
|
-
// node_modules
|
|
4987
|
+
// node_modules/ajv/dist/runtime/equal.js
|
|
4988
4988
|
var require_equal = __commonJS({
|
|
4989
|
-
"node_modules
|
|
4989
|
+
"node_modules/ajv/dist/runtime/equal.js"(exports2) {
|
|
4990
4990
|
"use strict";
|
|
4991
4991
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4992
4992
|
var equal = require_fast_deep_equal();
|
|
@@ -4995,9 +4995,9 @@ var require_equal = __commonJS({
|
|
|
4995
4995
|
}
|
|
4996
4996
|
});
|
|
4997
4997
|
|
|
4998
|
-
// node_modules
|
|
4998
|
+
// node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
|
|
4999
4999
|
var require_uniqueItems = __commonJS({
|
|
5000
|
-
"node_modules
|
|
5000
|
+
"node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports2) {
|
|
5001
5001
|
"use strict";
|
|
5002
5002
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5003
5003
|
var dataType_1 = require_dataType();
|
|
@@ -5062,9 +5062,9 @@ var require_uniqueItems = __commonJS({
|
|
|
5062
5062
|
}
|
|
5063
5063
|
});
|
|
5064
5064
|
|
|
5065
|
-
// node_modules
|
|
5065
|
+
// node_modules/ajv/dist/vocabularies/validation/const.js
|
|
5066
5066
|
var require_const = __commonJS({
|
|
5067
|
-
"node_modules
|
|
5067
|
+
"node_modules/ajv/dist/vocabularies/validation/const.js"(exports2) {
|
|
5068
5068
|
"use strict";
|
|
5069
5069
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5070
5070
|
var codegen_1 = require_codegen();
|
|
@@ -5091,9 +5091,9 @@ var require_const = __commonJS({
|
|
|
5091
5091
|
}
|
|
5092
5092
|
});
|
|
5093
5093
|
|
|
5094
|
-
// node_modules
|
|
5094
|
+
// node_modules/ajv/dist/vocabularies/validation/enum.js
|
|
5095
5095
|
var require_enum = __commonJS({
|
|
5096
|
-
"node_modules
|
|
5096
|
+
"node_modules/ajv/dist/vocabularies/validation/enum.js"(exports2) {
|
|
5097
5097
|
"use strict";
|
|
5098
5098
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5099
5099
|
var codegen_1 = require_codegen();
|
|
@@ -5140,9 +5140,9 @@ var require_enum = __commonJS({
|
|
|
5140
5140
|
}
|
|
5141
5141
|
});
|
|
5142
5142
|
|
|
5143
|
-
// node_modules
|
|
5143
|
+
// node_modules/ajv/dist/vocabularies/validation/index.js
|
|
5144
5144
|
var require_validation = __commonJS({
|
|
5145
|
-
"node_modules
|
|
5145
|
+
"node_modules/ajv/dist/vocabularies/validation/index.js"(exports2) {
|
|
5146
5146
|
"use strict";
|
|
5147
5147
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5148
5148
|
var limitNumber_1 = require_limitNumber();
|
|
@@ -5178,9 +5178,9 @@ var require_validation = __commonJS({
|
|
|
5178
5178
|
}
|
|
5179
5179
|
});
|
|
5180
5180
|
|
|
5181
|
-
// node_modules
|
|
5181
|
+
// node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
|
|
5182
5182
|
var require_additionalItems = __commonJS({
|
|
5183
|
-
"node_modules
|
|
5183
|
+
"node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports2) {
|
|
5184
5184
|
"use strict";
|
|
5185
5185
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5186
5186
|
exports2.validateAdditionalItems = void 0;
|
|
@@ -5231,9 +5231,9 @@ var require_additionalItems = __commonJS({
|
|
|
5231
5231
|
}
|
|
5232
5232
|
});
|
|
5233
5233
|
|
|
5234
|
-
// node_modules
|
|
5234
|
+
// node_modules/ajv/dist/vocabularies/applicator/items.js
|
|
5235
5235
|
var require_items = __commonJS({
|
|
5236
|
-
"node_modules
|
|
5236
|
+
"node_modules/ajv/dist/vocabularies/applicator/items.js"(exports2) {
|
|
5237
5237
|
"use strict";
|
|
5238
5238
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5239
5239
|
exports2.validateTuple = void 0;
|
|
@@ -5288,9 +5288,9 @@ var require_items = __commonJS({
|
|
|
5288
5288
|
}
|
|
5289
5289
|
});
|
|
5290
5290
|
|
|
5291
|
-
// node_modules
|
|
5291
|
+
// node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
|
|
5292
5292
|
var require_prefixItems = __commonJS({
|
|
5293
|
-
"node_modules
|
|
5293
|
+
"node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports2) {
|
|
5294
5294
|
"use strict";
|
|
5295
5295
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5296
5296
|
var items_1 = require_items();
|
|
@@ -5305,9 +5305,9 @@ var require_prefixItems = __commonJS({
|
|
|
5305
5305
|
}
|
|
5306
5306
|
});
|
|
5307
5307
|
|
|
5308
|
-
// node_modules
|
|
5308
|
+
// node_modules/ajv/dist/vocabularies/applicator/items2020.js
|
|
5309
5309
|
var require_items2020 = __commonJS({
|
|
5310
|
-
"node_modules
|
|
5310
|
+
"node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports2) {
|
|
5311
5311
|
"use strict";
|
|
5312
5312
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5313
5313
|
var codegen_1 = require_codegen();
|
|
@@ -5340,9 +5340,9 @@ var require_items2020 = __commonJS({
|
|
|
5340
5340
|
}
|
|
5341
5341
|
});
|
|
5342
5342
|
|
|
5343
|
-
// node_modules
|
|
5343
|
+
// node_modules/ajv/dist/vocabularies/applicator/contains.js
|
|
5344
5344
|
var require_contains = __commonJS({
|
|
5345
|
-
"node_modules
|
|
5345
|
+
"node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports2) {
|
|
5346
5346
|
"use strict";
|
|
5347
5347
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5348
5348
|
var codegen_1 = require_codegen();
|
|
@@ -5434,9 +5434,9 @@ var require_contains = __commonJS({
|
|
|
5434
5434
|
}
|
|
5435
5435
|
});
|
|
5436
5436
|
|
|
5437
|
-
// node_modules
|
|
5437
|
+
// node_modules/ajv/dist/vocabularies/applicator/dependencies.js
|
|
5438
5438
|
var require_dependencies = __commonJS({
|
|
5439
|
-
"node_modules
|
|
5439
|
+
"node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports2) {
|
|
5440
5440
|
"use strict";
|
|
5441
5441
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5442
5442
|
exports2.validateSchemaDeps = exports2.validatePropertyDeps = exports2.error = void 0;
|
|
@@ -5528,9 +5528,9 @@ var require_dependencies = __commonJS({
|
|
|
5528
5528
|
}
|
|
5529
5529
|
});
|
|
5530
5530
|
|
|
5531
|
-
// node_modules
|
|
5531
|
+
// node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
|
|
5532
5532
|
var require_propertyNames = __commonJS({
|
|
5533
|
-
"node_modules
|
|
5533
|
+
"node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports2) {
|
|
5534
5534
|
"use strict";
|
|
5535
5535
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5536
5536
|
var codegen_1 = require_codegen();
|
|
@@ -5571,9 +5571,9 @@ var require_propertyNames = __commonJS({
|
|
|
5571
5571
|
}
|
|
5572
5572
|
});
|
|
5573
5573
|
|
|
5574
|
-
// node_modules
|
|
5574
|
+
// node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
|
|
5575
5575
|
var require_additionalProperties = __commonJS({
|
|
5576
|
-
"node_modules
|
|
5576
|
+
"node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports2) {
|
|
5577
5577
|
"use strict";
|
|
5578
5578
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5579
5579
|
var code_1 = require_code2();
|
|
@@ -5677,9 +5677,9 @@ var require_additionalProperties = __commonJS({
|
|
|
5677
5677
|
}
|
|
5678
5678
|
});
|
|
5679
5679
|
|
|
5680
|
-
// node_modules
|
|
5680
|
+
// node_modules/ajv/dist/vocabularies/applicator/properties.js
|
|
5681
5681
|
var require_properties = __commonJS({
|
|
5682
|
-
"node_modules
|
|
5682
|
+
"node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports2) {
|
|
5683
5683
|
"use strict";
|
|
5684
5684
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5685
5685
|
var validate_1 = require_validate();
|
|
@@ -5735,9 +5735,9 @@ var require_properties = __commonJS({
|
|
|
5735
5735
|
}
|
|
5736
5736
|
});
|
|
5737
5737
|
|
|
5738
|
-
// node_modules
|
|
5738
|
+
// node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
|
|
5739
5739
|
var require_patternProperties = __commonJS({
|
|
5740
|
-
"node_modules
|
|
5740
|
+
"node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports2) {
|
|
5741
5741
|
"use strict";
|
|
5742
5742
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5743
5743
|
var code_1 = require_code2();
|
|
@@ -5809,9 +5809,9 @@ var require_patternProperties = __commonJS({
|
|
|
5809
5809
|
}
|
|
5810
5810
|
});
|
|
5811
5811
|
|
|
5812
|
-
// node_modules
|
|
5812
|
+
// node_modules/ajv/dist/vocabularies/applicator/not.js
|
|
5813
5813
|
var require_not = __commonJS({
|
|
5814
|
-
"node_modules
|
|
5814
|
+
"node_modules/ajv/dist/vocabularies/applicator/not.js"(exports2) {
|
|
5815
5815
|
"use strict";
|
|
5816
5816
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5817
5817
|
var util_1 = require_util();
|
|
@@ -5840,9 +5840,9 @@ var require_not = __commonJS({
|
|
|
5840
5840
|
}
|
|
5841
5841
|
});
|
|
5842
5842
|
|
|
5843
|
-
// node_modules
|
|
5843
|
+
// node_modules/ajv/dist/vocabularies/applicator/anyOf.js
|
|
5844
5844
|
var require_anyOf = __commonJS({
|
|
5845
|
-
"node_modules
|
|
5845
|
+
"node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports2) {
|
|
5846
5846
|
"use strict";
|
|
5847
5847
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5848
5848
|
var code_1 = require_code2();
|
|
@@ -5857,9 +5857,9 @@ var require_anyOf = __commonJS({
|
|
|
5857
5857
|
}
|
|
5858
5858
|
});
|
|
5859
5859
|
|
|
5860
|
-
// node_modules
|
|
5860
|
+
// node_modules/ajv/dist/vocabularies/applicator/oneOf.js
|
|
5861
5861
|
var require_oneOf = __commonJS({
|
|
5862
|
-
"node_modules
|
|
5862
|
+
"node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports2) {
|
|
5863
5863
|
"use strict";
|
|
5864
5864
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5865
5865
|
var codegen_1 = require_codegen();
|
|
@@ -5915,9 +5915,9 @@ var require_oneOf = __commonJS({
|
|
|
5915
5915
|
}
|
|
5916
5916
|
});
|
|
5917
5917
|
|
|
5918
|
-
// node_modules
|
|
5918
|
+
// node_modules/ajv/dist/vocabularies/applicator/allOf.js
|
|
5919
5919
|
var require_allOf = __commonJS({
|
|
5920
|
-
"node_modules
|
|
5920
|
+
"node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports2) {
|
|
5921
5921
|
"use strict";
|
|
5922
5922
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5923
5923
|
var util_1 = require_util();
|
|
@@ -5942,9 +5942,9 @@ var require_allOf = __commonJS({
|
|
|
5942
5942
|
}
|
|
5943
5943
|
});
|
|
5944
5944
|
|
|
5945
|
-
// node_modules
|
|
5945
|
+
// node_modules/ajv/dist/vocabularies/applicator/if.js
|
|
5946
5946
|
var require_if = __commonJS({
|
|
5947
|
-
"node_modules
|
|
5947
|
+
"node_modules/ajv/dist/vocabularies/applicator/if.js"(exports2) {
|
|
5948
5948
|
"use strict";
|
|
5949
5949
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
5950
5950
|
var codegen_1 = require_codegen();
|
|
@@ -6011,9 +6011,9 @@ var require_if = __commonJS({
|
|
|
6011
6011
|
}
|
|
6012
6012
|
});
|
|
6013
6013
|
|
|
6014
|
-
// node_modules
|
|
6014
|
+
// node_modules/ajv/dist/vocabularies/applicator/thenElse.js
|
|
6015
6015
|
var require_thenElse = __commonJS({
|
|
6016
|
-
"node_modules
|
|
6016
|
+
"node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports2) {
|
|
6017
6017
|
"use strict";
|
|
6018
6018
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6019
6019
|
var util_1 = require_util();
|
|
@@ -6029,9 +6029,9 @@ var require_thenElse = __commonJS({
|
|
|
6029
6029
|
}
|
|
6030
6030
|
});
|
|
6031
6031
|
|
|
6032
|
-
// node_modules
|
|
6032
|
+
// node_modules/ajv/dist/vocabularies/applicator/index.js
|
|
6033
6033
|
var require_applicator = __commonJS({
|
|
6034
|
-
"node_modules
|
|
6034
|
+
"node_modules/ajv/dist/vocabularies/applicator/index.js"(exports2) {
|
|
6035
6035
|
"use strict";
|
|
6036
6036
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6037
6037
|
var additionalItems_1 = require_additionalItems();
|
|
@@ -6077,9 +6077,9 @@ var require_applicator = __commonJS({
|
|
|
6077
6077
|
}
|
|
6078
6078
|
});
|
|
6079
6079
|
|
|
6080
|
-
// node_modules
|
|
6080
|
+
// node_modules/ajv/dist/vocabularies/format/format.js
|
|
6081
6081
|
var require_format = __commonJS({
|
|
6082
|
-
"node_modules
|
|
6082
|
+
"node_modules/ajv/dist/vocabularies/format/format.js"(exports2) {
|
|
6083
6083
|
"use strict";
|
|
6084
6084
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6085
6085
|
var codegen_1 = require_codegen();
|
|
@@ -6167,9 +6167,9 @@ var require_format = __commonJS({
|
|
|
6167
6167
|
}
|
|
6168
6168
|
});
|
|
6169
6169
|
|
|
6170
|
-
// node_modules
|
|
6170
|
+
// node_modules/ajv/dist/vocabularies/format/index.js
|
|
6171
6171
|
var require_format2 = __commonJS({
|
|
6172
|
-
"node_modules
|
|
6172
|
+
"node_modules/ajv/dist/vocabularies/format/index.js"(exports2) {
|
|
6173
6173
|
"use strict";
|
|
6174
6174
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6175
6175
|
var format_1 = require_format();
|
|
@@ -6178,9 +6178,9 @@ var require_format2 = __commonJS({
|
|
|
6178
6178
|
}
|
|
6179
6179
|
});
|
|
6180
6180
|
|
|
6181
|
-
// node_modules
|
|
6181
|
+
// node_modules/ajv/dist/vocabularies/metadata.js
|
|
6182
6182
|
var require_metadata = __commonJS({
|
|
6183
|
-
"node_modules
|
|
6183
|
+
"node_modules/ajv/dist/vocabularies/metadata.js"(exports2) {
|
|
6184
6184
|
"use strict";
|
|
6185
6185
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6186
6186
|
exports2.contentVocabulary = exports2.metadataVocabulary = void 0;
|
|
@@ -6201,9 +6201,9 @@ var require_metadata = __commonJS({
|
|
|
6201
6201
|
}
|
|
6202
6202
|
});
|
|
6203
6203
|
|
|
6204
|
-
// node_modules
|
|
6204
|
+
// node_modules/ajv/dist/vocabularies/draft7.js
|
|
6205
6205
|
var require_draft7 = __commonJS({
|
|
6206
|
-
"node_modules
|
|
6206
|
+
"node_modules/ajv/dist/vocabularies/draft7.js"(exports2) {
|
|
6207
6207
|
"use strict";
|
|
6208
6208
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6209
6209
|
var core_1 = require_core2();
|
|
@@ -6223,9 +6223,9 @@ var require_draft7 = __commonJS({
|
|
|
6223
6223
|
}
|
|
6224
6224
|
});
|
|
6225
6225
|
|
|
6226
|
-
// node_modules
|
|
6226
|
+
// node_modules/ajv/dist/vocabularies/discriminator/types.js
|
|
6227
6227
|
var require_types = __commonJS({
|
|
6228
|
-
"node_modules
|
|
6228
|
+
"node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports2) {
|
|
6229
6229
|
"use strict";
|
|
6230
6230
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6231
6231
|
exports2.DiscrError = void 0;
|
|
@@ -6237,9 +6237,9 @@ var require_types = __commonJS({
|
|
|
6237
6237
|
}
|
|
6238
6238
|
});
|
|
6239
6239
|
|
|
6240
|
-
// node_modules
|
|
6240
|
+
// node_modules/ajv/dist/vocabularies/discriminator/index.js
|
|
6241
6241
|
var require_discriminator = __commonJS({
|
|
6242
|
-
"node_modules
|
|
6242
|
+
"node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports2) {
|
|
6243
6243
|
"use strict";
|
|
6244
6244
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6245
6245
|
var codegen_1 = require_codegen();
|
|
@@ -6342,9 +6342,9 @@ var require_discriminator = __commonJS({
|
|
|
6342
6342
|
}
|
|
6343
6343
|
});
|
|
6344
6344
|
|
|
6345
|
-
// node_modules
|
|
6345
|
+
// node_modules/ajv/dist/refs/json-schema-draft-07.json
|
|
6346
6346
|
var require_json_schema_draft_07 = __commonJS({
|
|
6347
|
-
"node_modules
|
|
6347
|
+
"node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports2, module2) {
|
|
6348
6348
|
module2.exports = {
|
|
6349
6349
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
6350
6350
|
$id: "http://json-schema.org/draft-07/schema#",
|
|
@@ -6499,9 +6499,9 @@ var require_json_schema_draft_07 = __commonJS({
|
|
|
6499
6499
|
}
|
|
6500
6500
|
});
|
|
6501
6501
|
|
|
6502
|
-
// node_modules
|
|
6502
|
+
// node_modules/ajv/dist/ajv.js
|
|
6503
6503
|
var require_ajv = __commonJS({
|
|
6504
|
-
"node_modules
|
|
6504
|
+
"node_modules/ajv/dist/ajv.js"(exports2, module2) {
|
|
6505
6505
|
"use strict";
|
|
6506
6506
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6507
6507
|
exports2.MissingRefError = exports2.ValidationError = exports2.CodeGen = exports2.Name = exports2.nil = exports2.stringify = exports2.str = exports2._ = exports2.KeywordCxt = exports2.Ajv = void 0;
|
|
@@ -6569,9 +6569,9 @@ var require_ajv = __commonJS({
|
|
|
6569
6569
|
}
|
|
6570
6570
|
});
|
|
6571
6571
|
|
|
6572
|
-
// node_modules
|
|
6572
|
+
// node_modules/ajv-formats/dist/formats.js
|
|
6573
6573
|
var require_formats = __commonJS({
|
|
6574
|
-
"node_modules
|
|
6574
|
+
"node_modules/ajv-formats/dist/formats.js"(exports2) {
|
|
6575
6575
|
"use strict";
|
|
6576
6576
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6577
6577
|
exports2.formatNames = exports2.fastFormats = exports2.fullFormats = void 0;
|
|
@@ -6772,9 +6772,9 @@ var require_formats = __commonJS({
|
|
|
6772
6772
|
}
|
|
6773
6773
|
});
|
|
6774
6774
|
|
|
6775
|
-
// node_modules
|
|
6775
|
+
// node_modules/ajv-formats/dist/limit.js
|
|
6776
6776
|
var require_limit = __commonJS({
|
|
6777
|
-
"node_modules
|
|
6777
|
+
"node_modules/ajv-formats/dist/limit.js"(exports2) {
|
|
6778
6778
|
"use strict";
|
|
6779
6779
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6780
6780
|
exports2.formatLimitDefinition = void 0;
|
|
@@ -6844,9 +6844,9 @@ var require_limit = __commonJS({
|
|
|
6844
6844
|
}
|
|
6845
6845
|
});
|
|
6846
6846
|
|
|
6847
|
-
// node_modules
|
|
6847
|
+
// node_modules/ajv-formats/dist/index.js
|
|
6848
6848
|
var require_dist = __commonJS({
|
|
6849
|
-
"node_modules
|
|
6849
|
+
"node_modules/ajv-formats/dist/index.js"(exports2, module2) {
|
|
6850
6850
|
"use strict";
|
|
6851
6851
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
6852
6852
|
var formats_1 = require_formats();
|
|
@@ -6886,7 +6886,7 @@ var require_dist = __commonJS({
|
|
|
6886
6886
|
}
|
|
6887
6887
|
});
|
|
6888
6888
|
|
|
6889
|
-
// node_modules
|
|
6889
|
+
// node_modules/zod/v3/helpers/util.js
|
|
6890
6890
|
var util;
|
|
6891
6891
|
(function(util2) {
|
|
6892
6892
|
util2.assertEqual = (_) => {
|
|
@@ -7020,7 +7020,7 @@ var getParsedType = (data) => {
|
|
|
7020
7020
|
}
|
|
7021
7021
|
};
|
|
7022
7022
|
|
|
7023
|
-
// node_modules
|
|
7023
|
+
// node_modules/zod/v3/ZodError.js
|
|
7024
7024
|
var ZodIssueCode = util.arrayToEnum([
|
|
7025
7025
|
"invalid_type",
|
|
7026
7026
|
"invalid_literal",
|
|
@@ -7134,7 +7134,7 @@ ZodError.create = (issues) => {
|
|
|
7134
7134
|
return error51;
|
|
7135
7135
|
};
|
|
7136
7136
|
|
|
7137
|
-
// node_modules
|
|
7137
|
+
// node_modules/zod/v3/locales/en.js
|
|
7138
7138
|
var errorMap = (issue2, _ctx) => {
|
|
7139
7139
|
let message;
|
|
7140
7140
|
switch (issue2.code) {
|
|
@@ -7237,13 +7237,13 @@ var errorMap = (issue2, _ctx) => {
|
|
|
7237
7237
|
};
|
|
7238
7238
|
var en_default = errorMap;
|
|
7239
7239
|
|
|
7240
|
-
// node_modules
|
|
7240
|
+
// node_modules/zod/v3/errors.js
|
|
7241
7241
|
var overrideErrorMap = en_default;
|
|
7242
7242
|
function getErrorMap() {
|
|
7243
7243
|
return overrideErrorMap;
|
|
7244
7244
|
}
|
|
7245
7245
|
|
|
7246
|
-
// node_modules
|
|
7246
|
+
// node_modules/zod/v3/helpers/parseUtil.js
|
|
7247
7247
|
var makeIssue = (params) => {
|
|
7248
7248
|
const { data, path, errorMaps, issueData } = params;
|
|
7249
7249
|
const fullPath = [...path, ...issueData.path || []];
|
|
@@ -7352,14 +7352,14 @@ var isDirty = (x) => x.status === "dirty";
|
|
|
7352
7352
|
var isValid = (x) => x.status === "valid";
|
|
7353
7353
|
var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
|
|
7354
7354
|
|
|
7355
|
-
// node_modules
|
|
7355
|
+
// node_modules/zod/v3/helpers/errorUtil.js
|
|
7356
7356
|
var errorUtil;
|
|
7357
7357
|
(function(errorUtil2) {
|
|
7358
7358
|
errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
|
|
7359
7359
|
errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
|
|
7360
7360
|
})(errorUtil || (errorUtil = {}));
|
|
7361
7361
|
|
|
7362
|
-
// node_modules
|
|
7362
|
+
// node_modules/zod/v3/types.js
|
|
7363
7363
|
var ParseInputLazyPath = class {
|
|
7364
7364
|
constructor(parent, value, path, key) {
|
|
7365
7365
|
this._cachedPath = [];
|
|
@@ -10762,7 +10762,7 @@ var nullableType = ZodNullable.create;
|
|
|
10762
10762
|
var preprocessType = ZodEffects.createWithPreprocess;
|
|
10763
10763
|
var pipelineType = ZodPipeline.create;
|
|
10764
10764
|
|
|
10765
|
-
// node_modules
|
|
10765
|
+
// node_modules/zod/v4/core/index.js
|
|
10766
10766
|
var core_exports2 = {};
|
|
10767
10767
|
__export(core_exports2, {
|
|
10768
10768
|
$ZodAny: () => $ZodAny,
|
|
@@ -11041,7 +11041,7 @@ __export(core_exports2, {
|
|
|
11041
11041
|
version: () => version
|
|
11042
11042
|
});
|
|
11043
11043
|
|
|
11044
|
-
// node_modules
|
|
11044
|
+
// node_modules/zod/v4/core/core.js
|
|
11045
11045
|
var _a;
|
|
11046
11046
|
var NEVER = /* @__PURE__ */ Object.freeze({
|
|
11047
11047
|
status: "aborted"
|
|
@@ -11118,7 +11118,7 @@ function config(newConfig) {
|
|
|
11118
11118
|
return globalConfig;
|
|
11119
11119
|
}
|
|
11120
11120
|
|
|
11121
|
-
// node_modules
|
|
11121
|
+
// node_modules/zod/v4/core/util.js
|
|
11122
11122
|
var util_exports = {};
|
|
11123
11123
|
__export(util_exports, {
|
|
11124
11124
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -11814,7 +11814,7 @@ var Class = class {
|
|
|
11814
11814
|
}
|
|
11815
11815
|
};
|
|
11816
11816
|
|
|
11817
|
-
// node_modules
|
|
11817
|
+
// node_modules/zod/v4/core/errors.js
|
|
11818
11818
|
var initializer = (inst, def) => {
|
|
11819
11819
|
inst.name = "$ZodError";
|
|
11820
11820
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -11953,7 +11953,7 @@ function prettifyError(error51) {
|
|
|
11953
11953
|
return lines.join("\n");
|
|
11954
11954
|
}
|
|
11955
11955
|
|
|
11956
|
-
// node_modules
|
|
11956
|
+
// node_modules/zod/v4/core/parse.js
|
|
11957
11957
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
11958
11958
|
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
11959
11959
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -12041,7 +12041,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
12041
12041
|
};
|
|
12042
12042
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
|
|
12043
12043
|
|
|
12044
|
-
// node_modules
|
|
12044
|
+
// node_modules/zod/v4/core/regexes.js
|
|
12045
12045
|
var regexes_exports = {};
|
|
12046
12046
|
__export(regexes_exports, {
|
|
12047
12047
|
base64: () => base64,
|
|
@@ -12200,7 +12200,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
|
|
|
12200
12200
|
var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
|
|
12201
12201
|
var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
|
|
12202
12202
|
|
|
12203
|
-
// node_modules
|
|
12203
|
+
// node_modules/zod/v4/core/checks.js
|
|
12204
12204
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
12205
12205
|
var _a3;
|
|
12206
12206
|
inst._zod ?? (inst._zod = {});
|
|
@@ -12748,7 +12748,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
12748
12748
|
};
|
|
12749
12749
|
});
|
|
12750
12750
|
|
|
12751
|
-
// node_modules
|
|
12751
|
+
// node_modules/zod/v4/core/doc.js
|
|
12752
12752
|
var Doc = class {
|
|
12753
12753
|
constructor(args = []) {
|
|
12754
12754
|
this.content = [];
|
|
@@ -12784,14 +12784,14 @@ var Doc = class {
|
|
|
12784
12784
|
}
|
|
12785
12785
|
};
|
|
12786
12786
|
|
|
12787
|
-
// node_modules
|
|
12787
|
+
// node_modules/zod/v4/core/versions.js
|
|
12788
12788
|
var version = {
|
|
12789
12789
|
major: 4,
|
|
12790
12790
|
minor: 4,
|
|
12791
12791
|
patch: 3
|
|
12792
12792
|
};
|
|
12793
12793
|
|
|
12794
|
-
// node_modules
|
|
12794
|
+
// node_modules/zod/v4/core/schemas.js
|
|
12795
12795
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
12796
12796
|
var _a3;
|
|
12797
12797
|
inst ?? (inst = {});
|
|
@@ -14884,7 +14884,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
14884
14884
|
}
|
|
14885
14885
|
}
|
|
14886
14886
|
|
|
14887
|
-
// node_modules
|
|
14887
|
+
// node_modules/zod/v4/locales/index.js
|
|
14888
14888
|
var locales_exports = {};
|
|
14889
14889
|
__export(locales_exports, {
|
|
14890
14890
|
ar: () => ar_default,
|
|
@@ -14941,7 +14941,7 @@ __export(locales_exports, {
|
|
|
14941
14941
|
zhTW: () => zh_TW_default
|
|
14942
14942
|
});
|
|
14943
14943
|
|
|
14944
|
-
// node_modules
|
|
14944
|
+
// node_modules/zod/v4/locales/ar.js
|
|
14945
14945
|
var error = () => {
|
|
14946
14946
|
const Sizable = {
|
|
14947
14947
|
string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
|
|
@@ -15048,7 +15048,7 @@ function ar_default() {
|
|
|
15048
15048
|
};
|
|
15049
15049
|
}
|
|
15050
15050
|
|
|
15051
|
-
// node_modules
|
|
15051
|
+
// node_modules/zod/v4/locales/az.js
|
|
15052
15052
|
var error2 = () => {
|
|
15053
15053
|
const Sizable = {
|
|
15054
15054
|
string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
|
|
@@ -15154,7 +15154,7 @@ function az_default() {
|
|
|
15154
15154
|
};
|
|
15155
15155
|
}
|
|
15156
15156
|
|
|
15157
|
-
// node_modules
|
|
15157
|
+
// node_modules/zod/v4/locales/be.js
|
|
15158
15158
|
function getBelarusianPlural(count, one, few, many) {
|
|
15159
15159
|
const absCount = Math.abs(count);
|
|
15160
15160
|
const lastDigit = absCount % 10;
|
|
@@ -15311,7 +15311,7 @@ function be_default() {
|
|
|
15311
15311
|
};
|
|
15312
15312
|
}
|
|
15313
15313
|
|
|
15314
|
-
// node_modules
|
|
15314
|
+
// node_modules/zod/v4/locales/bg.js
|
|
15315
15315
|
var error4 = () => {
|
|
15316
15316
|
const Sizable = {
|
|
15317
15317
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
|
|
@@ -15432,7 +15432,7 @@ function bg_default() {
|
|
|
15432
15432
|
};
|
|
15433
15433
|
}
|
|
15434
15434
|
|
|
15435
|
-
// node_modules
|
|
15435
|
+
// node_modules/zod/v4/locales/ca.js
|
|
15436
15436
|
var error5 = () => {
|
|
15437
15437
|
const Sizable = {
|
|
15438
15438
|
string: { unit: "car\xE0cters", verb: "contenir" },
|
|
@@ -15541,7 +15541,7 @@ function ca_default() {
|
|
|
15541
15541
|
};
|
|
15542
15542
|
}
|
|
15543
15543
|
|
|
15544
|
-
// node_modules
|
|
15544
|
+
// node_modules/zod/v4/locales/cs.js
|
|
15545
15545
|
var error6 = () => {
|
|
15546
15546
|
const Sizable = {
|
|
15547
15547
|
string: { unit: "znak\u016F", verb: "m\xEDt" },
|
|
@@ -15653,7 +15653,7 @@ function cs_default() {
|
|
|
15653
15653
|
};
|
|
15654
15654
|
}
|
|
15655
15655
|
|
|
15656
|
-
// node_modules
|
|
15656
|
+
// node_modules/zod/v4/locales/da.js
|
|
15657
15657
|
var error7 = () => {
|
|
15658
15658
|
const Sizable = {
|
|
15659
15659
|
string: { unit: "tegn", verb: "havde" },
|
|
@@ -15769,7 +15769,7 @@ function da_default() {
|
|
|
15769
15769
|
};
|
|
15770
15770
|
}
|
|
15771
15771
|
|
|
15772
|
-
// node_modules
|
|
15772
|
+
// node_modules/zod/v4/locales/de.js
|
|
15773
15773
|
var error8 = () => {
|
|
15774
15774
|
const Sizable = {
|
|
15775
15775
|
string: { unit: "Zeichen", verb: "zu haben" },
|
|
@@ -15878,7 +15878,7 @@ function de_default() {
|
|
|
15878
15878
|
};
|
|
15879
15879
|
}
|
|
15880
15880
|
|
|
15881
|
-
// node_modules
|
|
15881
|
+
// node_modules/zod/v4/locales/el.js
|
|
15882
15882
|
var error9 = () => {
|
|
15883
15883
|
const Sizable = {
|
|
15884
15884
|
string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
|
|
@@ -15988,7 +15988,7 @@ function el_default() {
|
|
|
15988
15988
|
};
|
|
15989
15989
|
}
|
|
15990
15990
|
|
|
15991
|
-
// node_modules
|
|
15991
|
+
// node_modules/zod/v4/locales/en.js
|
|
15992
15992
|
var error10 = () => {
|
|
15993
15993
|
const Sizable = {
|
|
15994
15994
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -16101,7 +16101,7 @@ function en_default2() {
|
|
|
16101
16101
|
};
|
|
16102
16102
|
}
|
|
16103
16103
|
|
|
16104
|
-
// node_modules
|
|
16104
|
+
// node_modules/zod/v4/locales/eo.js
|
|
16105
16105
|
var error11 = () => {
|
|
16106
16106
|
const Sizable = {
|
|
16107
16107
|
string: { unit: "karaktrojn", verb: "havi" },
|
|
@@ -16211,7 +16211,7 @@ function eo_default() {
|
|
|
16211
16211
|
};
|
|
16212
16212
|
}
|
|
16213
16213
|
|
|
16214
|
-
// node_modules
|
|
16214
|
+
// node_modules/zod/v4/locales/es.js
|
|
16215
16215
|
var error12 = () => {
|
|
16216
16216
|
const Sizable = {
|
|
16217
16217
|
string: { unit: "caracteres", verb: "tener" },
|
|
@@ -16344,7 +16344,7 @@ function es_default() {
|
|
|
16344
16344
|
};
|
|
16345
16345
|
}
|
|
16346
16346
|
|
|
16347
|
-
// node_modules
|
|
16347
|
+
// node_modules/zod/v4/locales/fa.js
|
|
16348
16348
|
var error13 = () => {
|
|
16349
16349
|
const Sizable = {
|
|
16350
16350
|
string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
|
|
@@ -16459,7 +16459,7 @@ function fa_default() {
|
|
|
16459
16459
|
};
|
|
16460
16460
|
}
|
|
16461
16461
|
|
|
16462
|
-
// node_modules
|
|
16462
|
+
// node_modules/zod/v4/locales/fi.js
|
|
16463
16463
|
var error14 = () => {
|
|
16464
16464
|
const Sizable = {
|
|
16465
16465
|
string: { unit: "merkki\xE4", subject: "merkkijonon" },
|
|
@@ -16572,7 +16572,7 @@ function fi_default() {
|
|
|
16572
16572
|
};
|
|
16573
16573
|
}
|
|
16574
16574
|
|
|
16575
|
-
// node_modules
|
|
16575
|
+
// node_modules/zod/v4/locales/fr.js
|
|
16576
16576
|
var error15 = () => {
|
|
16577
16577
|
const Sizable = {
|
|
16578
16578
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -16698,7 +16698,7 @@ function fr_default() {
|
|
|
16698
16698
|
};
|
|
16699
16699
|
}
|
|
16700
16700
|
|
|
16701
|
-
// node_modules
|
|
16701
|
+
// node_modules/zod/v4/locales/fr-CA.js
|
|
16702
16702
|
var error16 = () => {
|
|
16703
16703
|
const Sizable = {
|
|
16704
16704
|
string: { unit: "caract\xE8res", verb: "avoir" },
|
|
@@ -16806,7 +16806,7 @@ function fr_CA_default() {
|
|
|
16806
16806
|
};
|
|
16807
16807
|
}
|
|
16808
16808
|
|
|
16809
|
-
// node_modules
|
|
16809
|
+
// node_modules/zod/v4/locales/he.js
|
|
16810
16810
|
var error17 = () => {
|
|
16811
16811
|
const TypeNames = {
|
|
16812
16812
|
string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
|
|
@@ -17001,7 +17001,7 @@ function he_default() {
|
|
|
17001
17001
|
};
|
|
17002
17002
|
}
|
|
17003
17003
|
|
|
17004
|
-
// node_modules
|
|
17004
|
+
// node_modules/zod/v4/locales/hr.js
|
|
17005
17005
|
var error18 = () => {
|
|
17006
17006
|
const Sizable = {
|
|
17007
17007
|
string: { unit: "znakova", verb: "imati" },
|
|
@@ -17124,7 +17124,7 @@ function hr_default() {
|
|
|
17124
17124
|
};
|
|
17125
17125
|
}
|
|
17126
17126
|
|
|
17127
|
-
// node_modules
|
|
17127
|
+
// node_modules/zod/v4/locales/hu.js
|
|
17128
17128
|
var error19 = () => {
|
|
17129
17129
|
const Sizable = {
|
|
17130
17130
|
string: { unit: "karakter", verb: "legyen" },
|
|
@@ -17233,7 +17233,7 @@ function hu_default() {
|
|
|
17233
17233
|
};
|
|
17234
17234
|
}
|
|
17235
17235
|
|
|
17236
|
-
// node_modules
|
|
17236
|
+
// node_modules/zod/v4/locales/hy.js
|
|
17237
17237
|
function getArmenianPlural(count, one, many) {
|
|
17238
17238
|
return Math.abs(count) === 1 ? one : many;
|
|
17239
17239
|
}
|
|
@@ -17381,7 +17381,7 @@ function hy_default() {
|
|
|
17381
17381
|
};
|
|
17382
17382
|
}
|
|
17383
17383
|
|
|
17384
|
-
// node_modules
|
|
17384
|
+
// node_modules/zod/v4/locales/id.js
|
|
17385
17385
|
var error21 = () => {
|
|
17386
17386
|
const Sizable = {
|
|
17387
17387
|
string: { unit: "karakter", verb: "memiliki" },
|
|
@@ -17488,7 +17488,7 @@ function id_default() {
|
|
|
17488
17488
|
};
|
|
17489
17489
|
}
|
|
17490
17490
|
|
|
17491
|
-
// node_modules
|
|
17491
|
+
// node_modules/zod/v4/locales/is.js
|
|
17492
17492
|
var error22 = () => {
|
|
17493
17493
|
const Sizable = {
|
|
17494
17494
|
string: { unit: "stafi", verb: "a\xF0 hafa" },
|
|
@@ -17598,7 +17598,7 @@ function is_default() {
|
|
|
17598
17598
|
};
|
|
17599
17599
|
}
|
|
17600
17600
|
|
|
17601
|
-
// node_modules
|
|
17601
|
+
// node_modules/zod/v4/locales/it.js
|
|
17602
17602
|
var error23 = () => {
|
|
17603
17603
|
const Sizable = {
|
|
17604
17604
|
string: { unit: "caratteri", verb: "avere" },
|
|
@@ -17707,7 +17707,7 @@ function it_default() {
|
|
|
17707
17707
|
};
|
|
17708
17708
|
}
|
|
17709
17709
|
|
|
17710
|
-
// node_modules
|
|
17710
|
+
// node_modules/zod/v4/locales/ja.js
|
|
17711
17711
|
var error24 = () => {
|
|
17712
17712
|
const Sizable = {
|
|
17713
17713
|
string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
|
|
@@ -17815,7 +17815,7 @@ function ja_default() {
|
|
|
17815
17815
|
};
|
|
17816
17816
|
}
|
|
17817
17817
|
|
|
17818
|
-
// node_modules
|
|
17818
|
+
// node_modules/zod/v4/locales/ka.js
|
|
17819
17819
|
var error25 = () => {
|
|
17820
17820
|
const Sizable = {
|
|
17821
17821
|
string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
|
|
@@ -17928,7 +17928,7 @@ function ka_default() {
|
|
|
17928
17928
|
};
|
|
17929
17929
|
}
|
|
17930
17930
|
|
|
17931
|
-
// node_modules
|
|
17931
|
+
// node_modules/zod/v4/locales/km.js
|
|
17932
17932
|
var error26 = () => {
|
|
17933
17933
|
const Sizable = {
|
|
17934
17934
|
string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
|
|
@@ -18039,12 +18039,12 @@ function km_default() {
|
|
|
18039
18039
|
};
|
|
18040
18040
|
}
|
|
18041
18041
|
|
|
18042
|
-
// node_modules
|
|
18042
|
+
// node_modules/zod/v4/locales/kh.js
|
|
18043
18043
|
function kh_default() {
|
|
18044
18044
|
return km_default();
|
|
18045
18045
|
}
|
|
18046
18046
|
|
|
18047
|
-
// node_modules
|
|
18047
|
+
// node_modules/zod/v4/locales/ko.js
|
|
18048
18048
|
var error27 = () => {
|
|
18049
18049
|
const Sizable = {
|
|
18050
18050
|
string: { unit: "\uBB38\uC790", verb: "to have" },
|
|
@@ -18156,7 +18156,7 @@ function ko_default() {
|
|
|
18156
18156
|
};
|
|
18157
18157
|
}
|
|
18158
18158
|
|
|
18159
|
-
// node_modules
|
|
18159
|
+
// node_modules/zod/v4/locales/lt.js
|
|
18160
18160
|
var capitalizeFirstCharacter = (text) => {
|
|
18161
18161
|
return text.charAt(0).toUpperCase() + text.slice(1);
|
|
18162
18162
|
};
|
|
@@ -18360,7 +18360,7 @@ function lt_default() {
|
|
|
18360
18360
|
};
|
|
18361
18361
|
}
|
|
18362
18362
|
|
|
18363
|
-
// node_modules
|
|
18363
|
+
// node_modules/zod/v4/locales/mk.js
|
|
18364
18364
|
var error29 = () => {
|
|
18365
18365
|
const Sizable = {
|
|
18366
18366
|
string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
|
|
@@ -18470,7 +18470,7 @@ function mk_default() {
|
|
|
18470
18470
|
};
|
|
18471
18471
|
}
|
|
18472
18472
|
|
|
18473
|
-
// node_modules
|
|
18473
|
+
// node_modules/zod/v4/locales/ms.js
|
|
18474
18474
|
var error30 = () => {
|
|
18475
18475
|
const Sizable = {
|
|
18476
18476
|
string: { unit: "aksara", verb: "mempunyai" },
|
|
@@ -18578,7 +18578,7 @@ function ms_default() {
|
|
|
18578
18578
|
};
|
|
18579
18579
|
}
|
|
18580
18580
|
|
|
18581
|
-
// node_modules
|
|
18581
|
+
// node_modules/zod/v4/locales/nl.js
|
|
18582
18582
|
var error31 = () => {
|
|
18583
18583
|
const Sizable = {
|
|
18584
18584
|
string: { unit: "tekens", verb: "heeft" },
|
|
@@ -18689,7 +18689,7 @@ function nl_default() {
|
|
|
18689
18689
|
};
|
|
18690
18690
|
}
|
|
18691
18691
|
|
|
18692
|
-
// node_modules
|
|
18692
|
+
// node_modules/zod/v4/locales/no.js
|
|
18693
18693
|
var error32 = () => {
|
|
18694
18694
|
const Sizable = {
|
|
18695
18695
|
string: { unit: "tegn", verb: "\xE5 ha" },
|
|
@@ -18798,7 +18798,7 @@ function no_default() {
|
|
|
18798
18798
|
};
|
|
18799
18799
|
}
|
|
18800
18800
|
|
|
18801
|
-
// node_modules
|
|
18801
|
+
// node_modules/zod/v4/locales/ota.js
|
|
18802
18802
|
var error33 = () => {
|
|
18803
18803
|
const Sizable = {
|
|
18804
18804
|
string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
|
|
@@ -18908,7 +18908,7 @@ function ota_default() {
|
|
|
18908
18908
|
};
|
|
18909
18909
|
}
|
|
18910
18910
|
|
|
18911
|
-
// node_modules
|
|
18911
|
+
// node_modules/zod/v4/locales/ps.js
|
|
18912
18912
|
var error34 = () => {
|
|
18913
18913
|
const Sizable = {
|
|
18914
18914
|
string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
|
|
@@ -19023,7 +19023,7 @@ function ps_default() {
|
|
|
19023
19023
|
};
|
|
19024
19024
|
}
|
|
19025
19025
|
|
|
19026
|
-
// node_modules
|
|
19026
|
+
// node_modules/zod/v4/locales/pl.js
|
|
19027
19027
|
var error35 = () => {
|
|
19028
19028
|
const Sizable = {
|
|
19029
19029
|
string: { unit: "znak\xF3w", verb: "mie\u0107" },
|
|
@@ -19133,7 +19133,7 @@ function pl_default() {
|
|
|
19133
19133
|
};
|
|
19134
19134
|
}
|
|
19135
19135
|
|
|
19136
|
-
// node_modules
|
|
19136
|
+
// node_modules/zod/v4/locales/pt.js
|
|
19137
19137
|
var error36 = () => {
|
|
19138
19138
|
const Sizable = {
|
|
19139
19139
|
string: { unit: "caracteres", verb: "ter" },
|
|
@@ -19242,7 +19242,7 @@ function pt_default() {
|
|
|
19242
19242
|
};
|
|
19243
19243
|
}
|
|
19244
19244
|
|
|
19245
|
-
// node_modules
|
|
19245
|
+
// node_modules/zod/v4/locales/ro.js
|
|
19246
19246
|
var error37 = () => {
|
|
19247
19247
|
const Sizable = {
|
|
19248
19248
|
string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
|
|
@@ -19362,7 +19362,7 @@ function ro_default() {
|
|
|
19362
19362
|
};
|
|
19363
19363
|
}
|
|
19364
19364
|
|
|
19365
|
-
// node_modules
|
|
19365
|
+
// node_modules/zod/v4/locales/ru.js
|
|
19366
19366
|
function getRussianPlural(count, one, few, many) {
|
|
19367
19367
|
const absCount = Math.abs(count);
|
|
19368
19368
|
const lastDigit = absCount % 10;
|
|
@@ -19519,7 +19519,7 @@ function ru_default() {
|
|
|
19519
19519
|
};
|
|
19520
19520
|
}
|
|
19521
19521
|
|
|
19522
|
-
// node_modules
|
|
19522
|
+
// node_modules/zod/v4/locales/sl.js
|
|
19523
19523
|
var error39 = () => {
|
|
19524
19524
|
const Sizable = {
|
|
19525
19525
|
string: { unit: "znakov", verb: "imeti" },
|
|
@@ -19629,7 +19629,7 @@ function sl_default() {
|
|
|
19629
19629
|
};
|
|
19630
19630
|
}
|
|
19631
19631
|
|
|
19632
|
-
// node_modules
|
|
19632
|
+
// node_modules/zod/v4/locales/sv.js
|
|
19633
19633
|
var error40 = () => {
|
|
19634
19634
|
const Sizable = {
|
|
19635
19635
|
string: { unit: "tecken", verb: "att ha" },
|
|
@@ -19740,7 +19740,7 @@ function sv_default() {
|
|
|
19740
19740
|
};
|
|
19741
19741
|
}
|
|
19742
19742
|
|
|
19743
|
-
// node_modules
|
|
19743
|
+
// node_modules/zod/v4/locales/ta.js
|
|
19744
19744
|
var error41 = () => {
|
|
19745
19745
|
const Sizable = {
|
|
19746
19746
|
string: { unit: "\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD", verb: "\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD" },
|
|
@@ -19851,7 +19851,7 @@ function ta_default() {
|
|
|
19851
19851
|
};
|
|
19852
19852
|
}
|
|
19853
19853
|
|
|
19854
|
-
// node_modules
|
|
19854
|
+
// node_modules/zod/v4/locales/th.js
|
|
19855
19855
|
var error42 = () => {
|
|
19856
19856
|
const Sizable = {
|
|
19857
19857
|
string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
|
|
@@ -19962,7 +19962,7 @@ function th_default() {
|
|
|
19962
19962
|
};
|
|
19963
19963
|
}
|
|
19964
19964
|
|
|
19965
|
-
// node_modules
|
|
19965
|
+
// node_modules/zod/v4/locales/tr.js
|
|
19966
19966
|
var error43 = () => {
|
|
19967
19967
|
const Sizable = {
|
|
19968
19968
|
string: { unit: "karakter", verb: "olmal\u0131" },
|
|
@@ -20068,7 +20068,7 @@ function tr_default() {
|
|
|
20068
20068
|
};
|
|
20069
20069
|
}
|
|
20070
20070
|
|
|
20071
|
-
// node_modules
|
|
20071
|
+
// node_modules/zod/v4/locales/uk.js
|
|
20072
20072
|
var error44 = () => {
|
|
20073
20073
|
const Sizable = {
|
|
20074
20074
|
string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
|
|
@@ -20177,12 +20177,12 @@ function uk_default() {
|
|
|
20177
20177
|
};
|
|
20178
20178
|
}
|
|
20179
20179
|
|
|
20180
|
-
// node_modules
|
|
20180
|
+
// node_modules/zod/v4/locales/ua.js
|
|
20181
20181
|
function ua_default() {
|
|
20182
20182
|
return uk_default();
|
|
20183
20183
|
}
|
|
20184
20184
|
|
|
20185
|
-
// node_modules
|
|
20185
|
+
// node_modules/zod/v4/locales/ur.js
|
|
20186
20186
|
var error45 = () => {
|
|
20187
20187
|
const Sizable = {
|
|
20188
20188
|
string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
|
|
@@ -20293,7 +20293,7 @@ function ur_default() {
|
|
|
20293
20293
|
};
|
|
20294
20294
|
}
|
|
20295
20295
|
|
|
20296
|
-
// node_modules
|
|
20296
|
+
// node_modules/zod/v4/locales/uz.js
|
|
20297
20297
|
var error46 = () => {
|
|
20298
20298
|
const Sizable = {
|
|
20299
20299
|
string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
|
|
@@ -20404,7 +20404,7 @@ function uz_default() {
|
|
|
20404
20404
|
};
|
|
20405
20405
|
}
|
|
20406
20406
|
|
|
20407
|
-
// node_modules
|
|
20407
|
+
// node_modules/zod/v4/locales/vi.js
|
|
20408
20408
|
var error47 = () => {
|
|
20409
20409
|
const Sizable = {
|
|
20410
20410
|
string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
|
|
@@ -20513,7 +20513,7 @@ function vi_default() {
|
|
|
20513
20513
|
};
|
|
20514
20514
|
}
|
|
20515
20515
|
|
|
20516
|
-
// node_modules
|
|
20516
|
+
// node_modules/zod/v4/locales/zh-CN.js
|
|
20517
20517
|
var error48 = () => {
|
|
20518
20518
|
const Sizable = {
|
|
20519
20519
|
string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
|
|
@@ -20623,7 +20623,7 @@ function zh_CN_default() {
|
|
|
20623
20623
|
};
|
|
20624
20624
|
}
|
|
20625
20625
|
|
|
20626
|
-
// node_modules
|
|
20626
|
+
// node_modules/zod/v4/locales/zh-TW.js
|
|
20627
20627
|
var error49 = () => {
|
|
20628
20628
|
const Sizable = {
|
|
20629
20629
|
string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
|
|
@@ -20731,7 +20731,7 @@ function zh_TW_default() {
|
|
|
20731
20731
|
};
|
|
20732
20732
|
}
|
|
20733
20733
|
|
|
20734
|
-
// node_modules
|
|
20734
|
+
// node_modules/zod/v4/locales/yo.js
|
|
20735
20735
|
var error50 = () => {
|
|
20736
20736
|
const Sizable = {
|
|
20737
20737
|
string: { unit: "\xE0mi", verb: "n\xED" },
|
|
@@ -20839,7 +20839,7 @@ function yo_default() {
|
|
|
20839
20839
|
};
|
|
20840
20840
|
}
|
|
20841
20841
|
|
|
20842
|
-
// node_modules
|
|
20842
|
+
// node_modules/zod/v4/core/registries.js
|
|
20843
20843
|
var _a2;
|
|
20844
20844
|
var $output = /* @__PURE__ */ Symbol("ZodOutput");
|
|
20845
20845
|
var $input = /* @__PURE__ */ Symbol("ZodInput");
|
|
@@ -20889,7 +20889,7 @@ function registry() {
|
|
|
20889
20889
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
20890
20890
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
20891
20891
|
|
|
20892
|
-
// node_modules
|
|
20892
|
+
// node_modules/zod/v4/core/api.js
|
|
20893
20893
|
// @__NO_SIDE_EFFECTS__
|
|
20894
20894
|
function _string(Class2, params) {
|
|
20895
20895
|
return new Class2({
|
|
@@ -21928,7 +21928,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
|
|
|
21928
21928
|
return inst;
|
|
21929
21929
|
}
|
|
21930
21930
|
|
|
21931
|
-
// node_modules
|
|
21931
|
+
// node_modules/zod/v4/core/to-json-schema.js
|
|
21932
21932
|
function initializeContext(params) {
|
|
21933
21933
|
let target = params?.target ?? "draft-2020-12";
|
|
21934
21934
|
if (target === "draft-4")
|
|
@@ -22287,7 +22287,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
22287
22287
|
return finalize(ctx, schema);
|
|
22288
22288
|
};
|
|
22289
22289
|
|
|
22290
|
-
// node_modules
|
|
22290
|
+
// node_modules/zod/v4/core/json-schema-processors.js
|
|
22291
22291
|
var formatMap = {
|
|
22292
22292
|
guid: "uuid",
|
|
22293
22293
|
url: "uri",
|
|
@@ -22831,7 +22831,7 @@ function toJSONSchema(input, params) {
|
|
|
22831
22831
|
return finalize(ctx, input);
|
|
22832
22832
|
}
|
|
22833
22833
|
|
|
22834
|
-
// node_modules
|
|
22834
|
+
// node_modules/zod/v4/core/json-schema-generator.js
|
|
22835
22835
|
var JSONSchemaGenerator = class {
|
|
22836
22836
|
/** @deprecated Access via ctx instead */
|
|
22837
22837
|
get metadataRegistry() {
|
|
@@ -22906,10 +22906,10 @@ var JSONSchemaGenerator = class {
|
|
|
22906
22906
|
}
|
|
22907
22907
|
};
|
|
22908
22908
|
|
|
22909
|
-
// node_modules
|
|
22909
|
+
// node_modules/zod/v4/core/json-schema.js
|
|
22910
22910
|
var json_schema_exports = {};
|
|
22911
22911
|
|
|
22912
|
-
// node_modules
|
|
22912
|
+
// node_modules/zod/v4/mini/schemas.js
|
|
22913
22913
|
var ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => {
|
|
22914
22914
|
if (!inst._zod)
|
|
22915
22915
|
throw new Error("Uninitialized schema in ZodMiniType.");
|
|
@@ -22955,7 +22955,7 @@ function object(shape, params) {
|
|
|
22955
22955
|
return new ZodMiniObject(def);
|
|
22956
22956
|
}
|
|
22957
22957
|
|
|
22958
|
-
// node_modules
|
|
22958
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
22959
22959
|
function isZ4Schema(s) {
|
|
22960
22960
|
const schema = s;
|
|
22961
22961
|
return !!schema._zod;
|
|
@@ -23099,7 +23099,7 @@ function getLiteralValue(schema) {
|
|
|
23099
23099
|
return void 0;
|
|
23100
23100
|
}
|
|
23101
23101
|
|
|
23102
|
-
// node_modules
|
|
23102
|
+
// node_modules/zod/v4/classic/external.js
|
|
23103
23103
|
var external_exports = {};
|
|
23104
23104
|
__export(external_exports, {
|
|
23105
23105
|
$brand: () => $brand,
|
|
@@ -23342,7 +23342,7 @@ __export(external_exports, {
|
|
|
23342
23342
|
xor: () => xor
|
|
23343
23343
|
});
|
|
23344
23344
|
|
|
23345
|
-
// node_modules
|
|
23345
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
23346
23346
|
var schemas_exports2 = {};
|
|
23347
23347
|
__export(schemas_exports2, {
|
|
23348
23348
|
ZodAny: () => ZodAny2,
|
|
@@ -23513,7 +23513,7 @@ __export(schemas_exports2, {
|
|
|
23513
23513
|
xor: () => xor
|
|
23514
23514
|
});
|
|
23515
23515
|
|
|
23516
|
-
// node_modules
|
|
23516
|
+
// node_modules/zod/v4/classic/checks.js
|
|
23517
23517
|
var checks_exports2 = {};
|
|
23518
23518
|
__export(checks_exports2, {
|
|
23519
23519
|
endsWith: () => _endsWith,
|
|
@@ -23547,7 +23547,7 @@ __export(checks_exports2, {
|
|
|
23547
23547
|
uppercase: () => _uppercase
|
|
23548
23548
|
});
|
|
23549
23549
|
|
|
23550
|
-
// node_modules
|
|
23550
|
+
// node_modules/zod/v4/classic/iso.js
|
|
23551
23551
|
var iso_exports2 = {};
|
|
23552
23552
|
__export(iso_exports2, {
|
|
23553
23553
|
ZodISODate: () => ZodISODate,
|
|
@@ -23588,7 +23588,7 @@ function duration2(params) {
|
|
|
23588
23588
|
return _isoDuration(ZodISODuration, params);
|
|
23589
23589
|
}
|
|
23590
23590
|
|
|
23591
|
-
// node_modules
|
|
23591
|
+
// node_modules/zod/v4/classic/errors.js
|
|
23592
23592
|
var initializer2 = (inst, issues) => {
|
|
23593
23593
|
$ZodError.init(inst, issues);
|
|
23594
23594
|
inst.name = "ZodError";
|
|
@@ -23628,7 +23628,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
|
|
|
23628
23628
|
Parent: Error
|
|
23629
23629
|
});
|
|
23630
23630
|
|
|
23631
|
-
// node_modules
|
|
23631
|
+
// node_modules/zod/v4/classic/parse.js
|
|
23632
23632
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
23633
23633
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
23634
23634
|
var safeParse3 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -23642,7 +23642,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
23642
23642
|
var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
23643
23643
|
var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
23644
23644
|
|
|
23645
|
-
// node_modules
|
|
23645
|
+
// node_modules/zod/v4/classic/schemas.js
|
|
23646
23646
|
var _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
23647
23647
|
function _installLazyMethods(inst, group, methods) {
|
|
23648
23648
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -24932,7 +24932,7 @@ function preprocess(fn, schema) {
|
|
|
24932
24932
|
});
|
|
24933
24933
|
}
|
|
24934
24934
|
|
|
24935
|
-
// node_modules
|
|
24935
|
+
// node_modules/zod/v4/classic/compat.js
|
|
24936
24936
|
var ZodIssueCode2 = {
|
|
24937
24937
|
invalid_type: "invalid_type",
|
|
24938
24938
|
too_big: "too_big",
|
|
@@ -24958,7 +24958,7 @@ var ZodFirstPartyTypeKind2;
|
|
|
24958
24958
|
/* @__PURE__ */ (function(ZodFirstPartyTypeKind3) {
|
|
24959
24959
|
})(ZodFirstPartyTypeKind2 || (ZodFirstPartyTypeKind2 = {}));
|
|
24960
24960
|
|
|
24961
|
-
// node_modules
|
|
24961
|
+
// node_modules/zod/v4/classic/from-json-schema.js
|
|
24962
24962
|
var z = {
|
|
24963
24963
|
...schemas_exports2,
|
|
24964
24964
|
...checks_exports2,
|
|
@@ -25438,7 +25438,7 @@ function fromJSONSchema(schema, params) {
|
|
|
25438
25438
|
return convertSchema(normalized, ctx);
|
|
25439
25439
|
}
|
|
25440
25440
|
|
|
25441
|
-
// node_modules
|
|
25441
|
+
// node_modules/zod/v4/classic/coerce.js
|
|
25442
25442
|
var coerce_exports2 = {};
|
|
25443
25443
|
__export(coerce_exports2, {
|
|
25444
25444
|
bigint: () => bigint3,
|
|
@@ -25463,10 +25463,10 @@ function date4(params) {
|
|
|
25463
25463
|
return _coercedDate(ZodDate2, params);
|
|
25464
25464
|
}
|
|
25465
25465
|
|
|
25466
|
-
// node_modules
|
|
25466
|
+
// node_modules/zod/v4/classic/external.js
|
|
25467
25467
|
config(en_default2());
|
|
25468
25468
|
|
|
25469
|
-
// node_modules
|
|
25469
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
25470
25470
|
var LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
25471
25471
|
var SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
|
|
25472
25472
|
var RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task";
|
|
@@ -26997,12 +26997,12 @@ var UrlElicitationRequiredError = class extends McpError {
|
|
|
26997
26997
|
}
|
|
26998
26998
|
};
|
|
26999
26999
|
|
|
27000
|
-
// node_modules
|
|
27000
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
27001
27001
|
function isTerminal(status) {
|
|
27002
27002
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
27003
27003
|
}
|
|
27004
27004
|
|
|
27005
|
-
// node_modules
|
|
27005
|
+
// node_modules/zod-to-json-schema/dist/esm/Options.js
|
|
27006
27006
|
var ignoreOverride = /* @__PURE__ */ Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
27007
27007
|
var defaultOptions = {
|
|
27008
27008
|
name: void 0,
|
|
@@ -27036,7 +27036,7 @@ var getDefaultOptions = (options) => typeof options === "string" ? {
|
|
|
27036
27036
|
...options
|
|
27037
27037
|
};
|
|
27038
27038
|
|
|
27039
|
-
// node_modules
|
|
27039
|
+
// node_modules/zod-to-json-schema/dist/esm/Refs.js
|
|
27040
27040
|
var getRefs = (options) => {
|
|
27041
27041
|
const _options = getDefaultOptions(options);
|
|
27042
27042
|
const currentPath = _options.name !== void 0 ? [..._options.basePath, _options.definitionPath, _options.name] : _options.basePath;
|
|
@@ -27057,7 +27057,7 @@ var getRefs = (options) => {
|
|
|
27057
27057
|
};
|
|
27058
27058
|
};
|
|
27059
27059
|
|
|
27060
|
-
// node_modules
|
|
27060
|
+
// node_modules/zod-to-json-schema/dist/esm/errorMessages.js
|
|
27061
27061
|
function addErrorMessage(res, key, errorMessage2, refs) {
|
|
27062
27062
|
if (!refs?.errorMessages)
|
|
27063
27063
|
return;
|
|
@@ -27073,7 +27073,7 @@ function setResponseValueAndErrors(res, key, value, errorMessage2, refs) {
|
|
|
27073
27073
|
addErrorMessage(res, key, errorMessage2, refs);
|
|
27074
27074
|
}
|
|
27075
27075
|
|
|
27076
|
-
// node_modules
|
|
27076
|
+
// node_modules/zod-to-json-schema/dist/esm/getRelativePath.js
|
|
27077
27077
|
var getRelativePath = (pathA, pathB) => {
|
|
27078
27078
|
let i = 0;
|
|
27079
27079
|
for (; i < pathA.length && i < pathB.length; i++) {
|
|
@@ -27083,7 +27083,7 @@ var getRelativePath = (pathA, pathB) => {
|
|
|
27083
27083
|
return [(pathA.length - i).toString(), ...pathB.slice(i)].join("/");
|
|
27084
27084
|
};
|
|
27085
27085
|
|
|
27086
|
-
// node_modules
|
|
27086
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/any.js
|
|
27087
27087
|
function parseAnyDef(refs) {
|
|
27088
27088
|
if (refs.target !== "openAi") {
|
|
27089
27089
|
return {};
|
|
@@ -27099,7 +27099,7 @@ function parseAnyDef(refs) {
|
|
|
27099
27099
|
};
|
|
27100
27100
|
}
|
|
27101
27101
|
|
|
27102
|
-
// node_modules
|
|
27102
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/array.js
|
|
27103
27103
|
function parseArrayDef(def, refs) {
|
|
27104
27104
|
const res = {
|
|
27105
27105
|
type: "array"
|
|
@@ -27123,7 +27123,7 @@ function parseArrayDef(def, refs) {
|
|
|
27123
27123
|
return res;
|
|
27124
27124
|
}
|
|
27125
27125
|
|
|
27126
|
-
// node_modules
|
|
27126
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
|
|
27127
27127
|
function parseBigintDef(def, refs) {
|
|
27128
27128
|
const res = {
|
|
27129
27129
|
type: "integer",
|
|
@@ -27169,24 +27169,24 @@ function parseBigintDef(def, refs) {
|
|
|
27169
27169
|
return res;
|
|
27170
27170
|
}
|
|
27171
27171
|
|
|
27172
|
-
// node_modules
|
|
27172
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js
|
|
27173
27173
|
function parseBooleanDef() {
|
|
27174
27174
|
return {
|
|
27175
27175
|
type: "boolean"
|
|
27176
27176
|
};
|
|
27177
27177
|
}
|
|
27178
27178
|
|
|
27179
|
-
// node_modules
|
|
27179
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
|
|
27180
27180
|
function parseBrandedDef(_def, refs) {
|
|
27181
27181
|
return parseDef(_def.type._def, refs);
|
|
27182
27182
|
}
|
|
27183
27183
|
|
|
27184
|
-
// node_modules
|
|
27184
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
|
|
27185
27185
|
var parseCatchDef = (def, refs) => {
|
|
27186
27186
|
return parseDef(def.innerType._def, refs);
|
|
27187
27187
|
};
|
|
27188
27188
|
|
|
27189
|
-
// node_modules
|
|
27189
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/date.js
|
|
27190
27190
|
function parseDateDef(def, refs, overrideDateStrategy) {
|
|
27191
27191
|
const strategy = overrideDateStrategy ?? refs.dateStrategy;
|
|
27192
27192
|
if (Array.isArray(strategy)) {
|
|
@@ -27245,7 +27245,7 @@ var integerDateParser = (def, refs) => {
|
|
|
27245
27245
|
return res;
|
|
27246
27246
|
};
|
|
27247
27247
|
|
|
27248
|
-
// node_modules
|
|
27248
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/default.js
|
|
27249
27249
|
function parseDefaultDef(_def, refs) {
|
|
27250
27250
|
return {
|
|
27251
27251
|
...parseDef(_def.innerType._def, refs),
|
|
@@ -27253,12 +27253,12 @@ function parseDefaultDef(_def, refs) {
|
|
|
27253
27253
|
};
|
|
27254
27254
|
}
|
|
27255
27255
|
|
|
27256
|
-
// node_modules
|
|
27256
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
|
|
27257
27257
|
function parseEffectsDef(_def, refs) {
|
|
27258
27258
|
return refs.effectStrategy === "input" ? parseDef(_def.schema._def, refs) : parseAnyDef(refs);
|
|
27259
27259
|
}
|
|
27260
27260
|
|
|
27261
|
-
// node_modules
|
|
27261
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/enum.js
|
|
27262
27262
|
function parseEnumDef(def) {
|
|
27263
27263
|
return {
|
|
27264
27264
|
type: "string",
|
|
@@ -27266,7 +27266,7 @@ function parseEnumDef(def) {
|
|
|
27266
27266
|
};
|
|
27267
27267
|
}
|
|
27268
27268
|
|
|
27269
|
-
// node_modules
|
|
27269
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
|
|
27270
27270
|
var isJsonSchema7AllOfType = (type) => {
|
|
27271
27271
|
if ("type" in type && type.type === "string")
|
|
27272
27272
|
return false;
|
|
@@ -27308,7 +27308,7 @@ function parseIntersectionDef(def, refs) {
|
|
|
27308
27308
|
} : void 0;
|
|
27309
27309
|
}
|
|
27310
27310
|
|
|
27311
|
-
// node_modules
|
|
27311
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/literal.js
|
|
27312
27312
|
function parseLiteralDef(def, refs) {
|
|
27313
27313
|
const parsedType2 = typeof def.value;
|
|
27314
27314
|
if (parsedType2 !== "bigint" && parsedType2 !== "number" && parsedType2 !== "boolean" && parsedType2 !== "string") {
|
|
@@ -27328,7 +27328,7 @@ function parseLiteralDef(def, refs) {
|
|
|
27328
27328
|
};
|
|
27329
27329
|
}
|
|
27330
27330
|
|
|
27331
|
-
// node_modules
|
|
27331
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
27332
27332
|
var emojiRegex2 = void 0;
|
|
27333
27333
|
var zodPatterns = {
|
|
27334
27334
|
/**
|
|
@@ -27653,7 +27653,7 @@ function stringifyRegExpWithFlags(regex, refs) {
|
|
|
27653
27653
|
return pattern;
|
|
27654
27654
|
}
|
|
27655
27655
|
|
|
27656
|
-
// node_modules
|
|
27656
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/record.js
|
|
27657
27657
|
function parseRecordDef(def, refs) {
|
|
27658
27658
|
if (refs.target === "openAi") {
|
|
27659
27659
|
console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");
|
|
@@ -27705,7 +27705,7 @@ function parseRecordDef(def, refs) {
|
|
|
27705
27705
|
return schema;
|
|
27706
27706
|
}
|
|
27707
27707
|
|
|
27708
|
-
// node_modules
|
|
27708
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/map.js
|
|
27709
27709
|
function parseMapDef(def, refs) {
|
|
27710
27710
|
if (refs.mapStrategy === "record") {
|
|
27711
27711
|
return parseRecordDef(def, refs);
|
|
@@ -27730,7 +27730,7 @@ function parseMapDef(def, refs) {
|
|
|
27730
27730
|
};
|
|
27731
27731
|
}
|
|
27732
27732
|
|
|
27733
|
-
// node_modules
|
|
27733
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js
|
|
27734
27734
|
function parseNativeEnumDef(def) {
|
|
27735
27735
|
const object3 = def.values;
|
|
27736
27736
|
const actualKeys = Object.keys(def.values).filter((key) => {
|
|
@@ -27744,7 +27744,7 @@ function parseNativeEnumDef(def) {
|
|
|
27744
27744
|
};
|
|
27745
27745
|
}
|
|
27746
27746
|
|
|
27747
|
-
// node_modules
|
|
27747
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/never.js
|
|
27748
27748
|
function parseNeverDef(refs) {
|
|
27749
27749
|
return refs.target === "openAi" ? void 0 : {
|
|
27750
27750
|
not: parseAnyDef({
|
|
@@ -27754,7 +27754,7 @@ function parseNeverDef(refs) {
|
|
|
27754
27754
|
};
|
|
27755
27755
|
}
|
|
27756
27756
|
|
|
27757
|
-
// node_modules
|
|
27757
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/null.js
|
|
27758
27758
|
function parseNullDef(refs) {
|
|
27759
27759
|
return refs.target === "openApi3" ? {
|
|
27760
27760
|
enum: ["null"],
|
|
@@ -27764,7 +27764,7 @@ function parseNullDef(refs) {
|
|
|
27764
27764
|
};
|
|
27765
27765
|
}
|
|
27766
27766
|
|
|
27767
|
-
// node_modules
|
|
27767
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/union.js
|
|
27768
27768
|
var primitiveMappings = {
|
|
27769
27769
|
ZodString: "string",
|
|
27770
27770
|
ZodNumber: "number",
|
|
@@ -27832,7 +27832,7 @@ var asAnyOf = (def, refs) => {
|
|
|
27832
27832
|
return anyOf.length ? { anyOf } : void 0;
|
|
27833
27833
|
};
|
|
27834
27834
|
|
|
27835
|
-
// node_modules
|
|
27835
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
|
|
27836
27836
|
function parseNullableDef(def, refs) {
|
|
27837
27837
|
if (["ZodString", "ZodNumber", "ZodBigInt", "ZodBoolean", "ZodNull"].includes(def.innerType._def.typeName) && (!def.innerType._def.checks || !def.innerType._def.checks.length)) {
|
|
27838
27838
|
if (refs.target === "openApi3") {
|
|
@@ -27864,7 +27864,7 @@ function parseNullableDef(def, refs) {
|
|
|
27864
27864
|
return base && { anyOf: [base, { type: "null" }] };
|
|
27865
27865
|
}
|
|
27866
27866
|
|
|
27867
|
-
// node_modules
|
|
27867
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/number.js
|
|
27868
27868
|
function parseNumberDef(def, refs) {
|
|
27869
27869
|
const res = {
|
|
27870
27870
|
type: "number"
|
|
@@ -27913,7 +27913,7 @@ function parseNumberDef(def, refs) {
|
|
|
27913
27913
|
return res;
|
|
27914
27914
|
}
|
|
27915
27915
|
|
|
27916
|
-
// node_modules
|
|
27916
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/object.js
|
|
27917
27917
|
function parseObjectDef(def, refs) {
|
|
27918
27918
|
const forceOptionalIntoNullable = refs.target === "openAi";
|
|
27919
27919
|
const result = {
|
|
@@ -27983,7 +27983,7 @@ function safeIsOptional(schema) {
|
|
|
27983
27983
|
}
|
|
27984
27984
|
}
|
|
27985
27985
|
|
|
27986
|
-
// node_modules
|
|
27986
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
|
|
27987
27987
|
var parseOptionalDef = (def, refs) => {
|
|
27988
27988
|
if (refs.currentPath.toString() === refs.propertyPath?.toString()) {
|
|
27989
27989
|
return parseDef(def.innerType._def, refs);
|
|
@@ -28002,7 +28002,7 @@ var parseOptionalDef = (def, refs) => {
|
|
|
28002
28002
|
} : parseAnyDef(refs);
|
|
28003
28003
|
};
|
|
28004
28004
|
|
|
28005
|
-
// node_modules
|
|
28005
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
|
|
28006
28006
|
var parsePipelineDef = (def, refs) => {
|
|
28007
28007
|
if (refs.pipeStrategy === "input") {
|
|
28008
28008
|
return parseDef(def.in._def, refs);
|
|
@@ -28022,12 +28022,12 @@ var parsePipelineDef = (def, refs) => {
|
|
|
28022
28022
|
};
|
|
28023
28023
|
};
|
|
28024
28024
|
|
|
28025
|
-
// node_modules
|
|
28025
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
|
|
28026
28026
|
function parsePromiseDef(def, refs) {
|
|
28027
28027
|
return parseDef(def.type._def, refs);
|
|
28028
28028
|
}
|
|
28029
28029
|
|
|
28030
|
-
// node_modules
|
|
28030
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/set.js
|
|
28031
28031
|
function parseSetDef(def, refs) {
|
|
28032
28032
|
const items = parseDef(def.valueType._def, {
|
|
28033
28033
|
...refs,
|
|
@@ -28047,7 +28047,7 @@ function parseSetDef(def, refs) {
|
|
|
28047
28047
|
return schema;
|
|
28048
28048
|
}
|
|
28049
28049
|
|
|
28050
|
-
// node_modules
|
|
28050
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
|
|
28051
28051
|
function parseTupleDef(def, refs) {
|
|
28052
28052
|
if (def.rest) {
|
|
28053
28053
|
return {
|
|
@@ -28075,24 +28075,24 @@ function parseTupleDef(def, refs) {
|
|
|
28075
28075
|
}
|
|
28076
28076
|
}
|
|
28077
28077
|
|
|
28078
|
-
// node_modules
|
|
28078
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
|
|
28079
28079
|
function parseUndefinedDef(refs) {
|
|
28080
28080
|
return {
|
|
28081
28081
|
not: parseAnyDef(refs)
|
|
28082
28082
|
};
|
|
28083
28083
|
}
|
|
28084
28084
|
|
|
28085
|
-
// node_modules
|
|
28085
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
|
|
28086
28086
|
function parseUnknownDef(refs) {
|
|
28087
28087
|
return parseAnyDef(refs);
|
|
28088
28088
|
}
|
|
28089
28089
|
|
|
28090
|
-
// node_modules
|
|
28090
|
+
// node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
|
|
28091
28091
|
var parseReadonlyDef = (def, refs) => {
|
|
28092
28092
|
return parseDef(def.innerType._def, refs);
|
|
28093
28093
|
};
|
|
28094
28094
|
|
|
28095
|
-
// node_modules
|
|
28095
|
+
// node_modules/zod-to-json-schema/dist/esm/selectParser.js
|
|
28096
28096
|
var selectParser = (def, typeName, refs) => {
|
|
28097
28097
|
switch (typeName) {
|
|
28098
28098
|
case ZodFirstPartyTypeKind.ZodString:
|
|
@@ -28168,7 +28168,7 @@ var selectParser = (def, typeName, refs) => {
|
|
|
28168
28168
|
}
|
|
28169
28169
|
};
|
|
28170
28170
|
|
|
28171
|
-
// node_modules
|
|
28171
|
+
// node_modules/zod-to-json-schema/dist/esm/parseDef.js
|
|
28172
28172
|
function parseDef(def, refs, forceResolution = false) {
|
|
28173
28173
|
const seenItem = refs.seen.get(def);
|
|
28174
28174
|
if (refs.override) {
|
|
@@ -28224,7 +28224,7 @@ var addMeta = (def, refs, jsonSchema) => {
|
|
|
28224
28224
|
return jsonSchema;
|
|
28225
28225
|
};
|
|
28226
28226
|
|
|
28227
|
-
// node_modules
|
|
28227
|
+
// node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
|
|
28228
28228
|
var zodToJsonSchema = (schema, options) => {
|
|
28229
28229
|
const refs = getRefs(options);
|
|
28230
28230
|
let definitions = typeof options === "object" && options.definitions ? Object.entries(options.definitions).reduce((acc, [name2, schema2]) => ({
|
|
@@ -28286,7 +28286,7 @@ var zodToJsonSchema = (schema, options) => {
|
|
|
28286
28286
|
return combined;
|
|
28287
28287
|
};
|
|
28288
28288
|
|
|
28289
|
-
// node_modules
|
|
28289
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
28290
28290
|
function mapMiniTarget(t) {
|
|
28291
28291
|
if (!t)
|
|
28292
28292
|
return "draft-7";
|
|
@@ -28328,7 +28328,7 @@ function parseWithCompat(schema, data) {
|
|
|
28328
28328
|
return result.data;
|
|
28329
28329
|
}
|
|
28330
28330
|
|
|
28331
|
-
// node_modules
|
|
28331
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
28332
28332
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 6e4;
|
|
28333
28333
|
var Protocol = class {
|
|
28334
28334
|
constructor(_options) {
|
|
@@ -29282,7 +29282,7 @@ function mergeCapabilities(base, additional) {
|
|
|
29282
29282
|
return result;
|
|
29283
29283
|
}
|
|
29284
29284
|
|
|
29285
|
-
// node_modules
|
|
29285
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
29286
29286
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
29287
29287
|
var import_ajv_formats = __toESM(require_dist(), 1);
|
|
29288
29288
|
function createDefaultAjvInstance() {
|
|
@@ -29350,7 +29350,7 @@ var AjvJsonSchemaValidator = class {
|
|
|
29350
29350
|
}
|
|
29351
29351
|
};
|
|
29352
29352
|
|
|
29353
|
-
// node_modules
|
|
29353
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
29354
29354
|
var ExperimentalServerTasks = class {
|
|
29355
29355
|
constructor(_server) {
|
|
29356
29356
|
this._server = _server;
|
|
@@ -29563,7 +29563,7 @@ var ExperimentalServerTasks = class {
|
|
|
29563
29563
|
}
|
|
29564
29564
|
};
|
|
29565
29565
|
|
|
29566
|
-
// node_modules
|
|
29566
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
29567
29567
|
function assertToolsCallTaskCapability(requests, method, entityName) {
|
|
29568
29568
|
if (!requests) {
|
|
29569
29569
|
throw new Error(`${entityName} does not support task creation (required for ${method})`);
|
|
@@ -29598,7 +29598,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
|
|
|
29598
29598
|
}
|
|
29599
29599
|
}
|
|
29600
29600
|
|
|
29601
|
-
// node_modules
|
|
29601
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
29602
29602
|
var Server = class extends Protocol {
|
|
29603
29603
|
/**
|
|
29604
29604
|
* Initializes this server with the given name and version information.
|
|
@@ -29978,7 +29978,7 @@ var Server = class extends Protocol {
|
|
|
29978
29978
|
}
|
|
29979
29979
|
};
|
|
29980
29980
|
|
|
29981
|
-
// node_modules
|
|
29981
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
29982
29982
|
var COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
|
|
29983
29983
|
function isCompletable(schema) {
|
|
29984
29984
|
return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
|
|
@@ -29992,7 +29992,7 @@ var McpZodTypeKind;
|
|
|
29992
29992
|
McpZodTypeKind2["Completable"] = "McpCompletable";
|
|
29993
29993
|
})(McpZodTypeKind || (McpZodTypeKind = {}));
|
|
29994
29994
|
|
|
29995
|
-
// node_modules
|
|
29995
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
|
|
29996
29996
|
var TOOL_NAME_REGEX = /^[A-Za-z0-9._-]{1,128}$/;
|
|
29997
29997
|
function validateToolName(name) {
|
|
29998
29998
|
const warnings = [];
|
|
@@ -30050,7 +30050,7 @@ function validateAndWarnToolName(name) {
|
|
|
30050
30050
|
return result.isValid;
|
|
30051
30051
|
}
|
|
30052
30052
|
|
|
30053
|
-
// node_modules
|
|
30053
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
|
|
30054
30054
|
var ExperimentalMcpServerTasks = class {
|
|
30055
30055
|
constructor(_mcpServer) {
|
|
30056
30056
|
this._mcpServer = _mcpServer;
|
|
@@ -30065,7 +30065,7 @@ var ExperimentalMcpServerTasks = class {
|
|
|
30065
30065
|
}
|
|
30066
30066
|
};
|
|
30067
30067
|
|
|
30068
|
-
// node_modules
|
|
30068
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
30069
30069
|
var McpServer = class {
|
|
30070
30070
|
constructor(serverInfo, options) {
|
|
30071
30071
|
this._registeredResources = {};
|
|
@@ -30857,10 +30857,10 @@ var EMPTY_COMPLETION_RESULT = {
|
|
|
30857
30857
|
}
|
|
30858
30858
|
};
|
|
30859
30859
|
|
|
30860
|
-
// node_modules
|
|
30860
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
30861
30861
|
var import_node_process = __toESM(require("node:process"), 1);
|
|
30862
30862
|
|
|
30863
|
-
// node_modules
|
|
30863
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
30864
30864
|
var ReadBuffer = class {
|
|
30865
30865
|
append(chunk) {
|
|
30866
30866
|
this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk;
|
|
@@ -30888,7 +30888,7 @@ function serializeMessage(message) {
|
|
|
30888
30888
|
return JSON.stringify(message) + "\n";
|
|
30889
30889
|
}
|
|
30890
30890
|
|
|
30891
|
-
// node_modules
|
|
30891
|
+
// node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
30892
30892
|
var StdioServerTransport = class {
|
|
30893
30893
|
constructor(_stdin = import_node_process.default.stdin, _stdout = import_node_process.default.stdout) {
|
|
30894
30894
|
this._stdin = _stdin;
|
|
@@ -30949,24 +30949,91 @@ var StdioServerTransport = class {
|
|
|
30949
30949
|
}
|
|
30950
30950
|
};
|
|
30951
30951
|
|
|
30952
|
-
// mcp_server.ts
|
|
30952
|
+
// src/mcp_server.ts
|
|
30953
30953
|
var import_promises = require("node:fs/promises");
|
|
30954
30954
|
var import_node_os = require("node:os");
|
|
30955
30955
|
var import_node_path = require("node:path");
|
|
30956
30956
|
var import_promises2 = require("node:fs/promises");
|
|
30957
|
-
|
|
30957
|
+
|
|
30958
|
+
// src/constants.ts
|
|
30958
30959
|
var DEFAULT_ACCOUNT = "local";
|
|
30959
30960
|
var DEFAULT_AGENT_ID = "threadnote";
|
|
30961
|
+
|
|
30962
|
+
// src/utils.ts
|
|
30963
|
+
var import_node_child_process = require("node:child_process");
|
|
30964
|
+
function redactText(content) {
|
|
30965
|
+
return content.replace(
|
|
30966
|
+
/([A-Za-z0-9_.-]*(?:token|secret|password|api[_-]?key|authorization)[A-Za-z0-9_.-]*\s*[:=]\s*)("[^"]+"|'[^']+'|Bearer\s+[^'"\s]+|\S+)/gi,
|
|
30967
|
+
"$1[REDACTED]"
|
|
30968
|
+
).replace(/Bearer\s+[A-Za-z0-9._~+/=-]+/gi, "Bearer [REDACTED]").replace(/sk-[A-Za-z0-9_-]{16,}/g, "sk-[REDACTED]").replace(/gh[pousr]_[A-Za-z0-9_]{16,}/g, "gh_[REDACTED]");
|
|
30969
|
+
}
|
|
30970
|
+
async function findExecutable(commands) {
|
|
30971
|
+
for (const command of commands) {
|
|
30972
|
+
const result = await runCommand("which", [command], { allowFailure: true });
|
|
30973
|
+
if (result.exitCode === 0 && result.stdout.trim()) {
|
|
30974
|
+
return result.stdout.trim();
|
|
30975
|
+
}
|
|
30976
|
+
}
|
|
30977
|
+
return void 0;
|
|
30978
|
+
}
|
|
30979
|
+
async function runCommand(executable, args, options = {}) {
|
|
30980
|
+
return new Promise((resolvePromise, rejectPromise) => {
|
|
30981
|
+
const child = (0, import_node_child_process.spawn)(executable, args, { cwd: options.cwd });
|
|
30982
|
+
const stdoutChunks = [];
|
|
30983
|
+
const stderrChunks = [];
|
|
30984
|
+
child.stdout.on("data", (chunk) => {
|
|
30985
|
+
stdoutChunks.push(String(chunk));
|
|
30986
|
+
});
|
|
30987
|
+
child.stderr.on("data", (chunk) => {
|
|
30988
|
+
stderrChunks.push(String(chunk));
|
|
30989
|
+
});
|
|
30990
|
+
child.on("error", (err) => {
|
|
30991
|
+
if (options.allowFailure === true) {
|
|
30992
|
+
resolvePromise({ exitCode: 127, stderr: errorMessage(err), stdout: "" });
|
|
30993
|
+
} else {
|
|
30994
|
+
rejectPromise(err);
|
|
30995
|
+
}
|
|
30996
|
+
});
|
|
30997
|
+
child.on("close", (code) => {
|
|
30998
|
+
const result = {
|
|
30999
|
+
exitCode: code ?? 1,
|
|
31000
|
+
stderr: stderrChunks.join(""),
|
|
31001
|
+
stdout: stdoutChunks.join("")
|
|
31002
|
+
};
|
|
31003
|
+
if (result.exitCode !== 0 && options.allowFailure !== true) {
|
|
31004
|
+
rejectPromise(new Error(`${formatShellCommand(executable, args)} failed: ${result.stderr || result.stdout}`));
|
|
31005
|
+
return;
|
|
31006
|
+
}
|
|
31007
|
+
resolvePromise(result);
|
|
31008
|
+
});
|
|
31009
|
+
});
|
|
31010
|
+
}
|
|
31011
|
+
function formatShellCommand(executable, args) {
|
|
31012
|
+
return redactText([executable, ...args].map(shellQuote).join(" "));
|
|
31013
|
+
}
|
|
31014
|
+
function shellQuote(value) {
|
|
31015
|
+
if (/^[A-Za-z0-9_./:@=-]+$/.test(value)) {
|
|
31016
|
+
return value;
|
|
31017
|
+
}
|
|
31018
|
+
return `'${value.replaceAll("'", `'"'"'`)}'`;
|
|
31019
|
+
}
|
|
31020
|
+
function errorMessage(err) {
|
|
31021
|
+
return err instanceof Error ? err.message : String(err);
|
|
31022
|
+
}
|
|
31023
|
+
|
|
31024
|
+
// src/mcp_server.ts
|
|
30960
31025
|
async function main() {
|
|
30961
31026
|
const config2 = getRuntimeConfig();
|
|
30962
31027
|
const server = new McpServer(
|
|
30963
|
-
{ name: "threadnote-local-adapter", version: "0.
|
|
31028
|
+
{ name: "threadnote-local-adapter", version: "0.2.0" },
|
|
30964
31029
|
{
|
|
30965
31030
|
instructions: [
|
|
30966
31031
|
"# Threadnote Local Adapter",
|
|
30967
31032
|
"",
|
|
30968
31033
|
"Stdio MCP adapter for Threadnote shared local context.",
|
|
30969
|
-
"
|
|
31034
|
+
"Prefer `recall_context` to find candidate viking:// URIs, then `read_context` files or `list_context` directories.",
|
|
31035
|
+
'Always pass JSON arguments. Example: recall_context({"query":"current repo latest handoff"}).',
|
|
31036
|
+
"Older clients may use the compatibility aliases `search`, `read`, and `list`.",
|
|
30970
31037
|
"Do not store secrets, customer data, raw production logs, or credentials."
|
|
30971
31038
|
].join("\n")
|
|
30972
31039
|
}
|
|
@@ -30983,136 +31050,300 @@ function getRuntimeConfig() {
|
|
|
30983
31050
|
};
|
|
30984
31051
|
}
|
|
30985
31052
|
function registerTools(server, config2) {
|
|
30986
|
-
|
|
31053
|
+
registerSearchTool(
|
|
31054
|
+
server,
|
|
31055
|
+
config2,
|
|
31056
|
+
"recall_context",
|
|
31057
|
+
'Search Threadnote context. Required: pass JSON arguments with a non-empty query, for example {"query":"unity-ui-ccc latest handoff"}.'
|
|
31058
|
+
);
|
|
31059
|
+
registerSearchTool(
|
|
31060
|
+
server,
|
|
31061
|
+
config2,
|
|
30987
31062
|
"search",
|
|
31063
|
+
"Compatibility alias for recall_context. Required: pass JSON arguments with a non-empty query."
|
|
31064
|
+
);
|
|
31065
|
+
registerReadTool(
|
|
31066
|
+
server,
|
|
31067
|
+
config2,
|
|
31068
|
+
"read_context",
|
|
31069
|
+
"Read a viking:// file URI returned by recall_context or list_context."
|
|
31070
|
+
);
|
|
31071
|
+
registerReadTool(server, config2, "read", "Compatibility alias for read_context.");
|
|
31072
|
+
registerListTool(server, config2, "list_context", "List a viking:// directory returned by recall_context.");
|
|
31073
|
+
registerListTool(server, config2, "list", "Compatibility alias for list_context.");
|
|
31074
|
+
registerStoreTool(
|
|
31075
|
+
server,
|
|
31076
|
+
config2,
|
|
31077
|
+
"remember_context",
|
|
31078
|
+
"Store a durable Threadnote memory. Required: pass JSON arguments with text."
|
|
31079
|
+
);
|
|
31080
|
+
registerStoreTool(server, config2, "store", "Compatibility alias for remember_context.");
|
|
31081
|
+
server.registerTool(
|
|
31082
|
+
"forget",
|
|
30988
31083
|
{
|
|
30989
|
-
annotations: { readOnlyHint:
|
|
30990
|
-
description: "
|
|
31084
|
+
annotations: { readOnlyHint: false, destructiveHint: true },
|
|
31085
|
+
description: "Remove a viking:// URI from OpenViking.",
|
|
30991
31086
|
inputSchema: {
|
|
30992
|
-
|
|
30993
|
-
uri: external_exports.string().optional().describe("Optional viking:// subtree to search"),
|
|
30994
|
-
nodeLimit: external_exports.number().int().positive().max(100).optional().describe("Maximum result count")
|
|
31087
|
+
uri: external_exports.string().optional().describe("Required viking:// URI to remove")
|
|
30995
31088
|
}
|
|
30996
31089
|
},
|
|
30997
|
-
async ({
|
|
30998
|
-
"
|
|
30999
|
-
|
|
31000
|
-
|
|
31001
|
-
|
|
31002
|
-
|
|
31090
|
+
async ({ uri }) => {
|
|
31091
|
+
const checkedUri = requiredVikingUri(uri, "forget", "viking://agent/threadnote/memories/example.md");
|
|
31092
|
+
if (!checkedUri.ok) {
|
|
31093
|
+
return checkedUri.error;
|
|
31094
|
+
}
|
|
31095
|
+
return runOpenVikingTool(config2, ["rm", checkedUri.value]);
|
|
31096
|
+
}
|
|
31003
31097
|
);
|
|
31004
31098
|
server.registerTool(
|
|
31005
|
-
"
|
|
31099
|
+
"add_resource",
|
|
31006
31100
|
{
|
|
31007
|
-
annotations: { readOnlyHint:
|
|
31008
|
-
description: "
|
|
31101
|
+
annotations: { readOnlyHint: false, destructiveHint: false },
|
|
31102
|
+
description: "Add a local file or directory to OpenViking as a resource.",
|
|
31009
31103
|
inputSchema: {
|
|
31010
|
-
|
|
31104
|
+
sourcePath: external_exports.string().optional().describe("Required local source file or directory"),
|
|
31105
|
+
to: external_exports.string().optional().describe("Required destination viking:// URI"),
|
|
31106
|
+
wait: external_exports.boolean().optional().describe("Wait for processing to finish")
|
|
31011
31107
|
}
|
|
31012
31108
|
},
|
|
31013
|
-
async ({
|
|
31109
|
+
async ({ sourcePath, to, wait }) => {
|
|
31110
|
+
const checkedSourcePath = requiredText(sourcePath, "add_resource", "sourcePath", {
|
|
31111
|
+
sourcePath: "/path/to/README.md",
|
|
31112
|
+
to: "viking://resource/my-repo/README.md"
|
|
31113
|
+
});
|
|
31114
|
+
if (!checkedSourcePath.ok) {
|
|
31115
|
+
return checkedSourcePath.error;
|
|
31116
|
+
}
|
|
31117
|
+
const checkedTo = requiredVikingUri(to, "add_resource", "viking://resource/my-repo/README.md");
|
|
31118
|
+
if (!checkedTo.ok) {
|
|
31119
|
+
return checkedTo.error;
|
|
31120
|
+
}
|
|
31121
|
+
return runOpenVikingTool(config2, [
|
|
31122
|
+
"add-resource",
|
|
31123
|
+
checkedSourcePath.value,
|
|
31124
|
+
"--to",
|
|
31125
|
+
checkedTo.value,
|
|
31126
|
+
...wait === false ? [] : ["--wait"]
|
|
31127
|
+
]);
|
|
31128
|
+
}
|
|
31014
31129
|
);
|
|
31015
31130
|
server.registerTool(
|
|
31016
|
-
"
|
|
31131
|
+
"grep",
|
|
31017
31132
|
{
|
|
31018
31133
|
annotations: { readOnlyHint: true, destructiveHint: false },
|
|
31019
|
-
description: "
|
|
31134
|
+
description: "Run exact text search in OpenViking.",
|
|
31020
31135
|
inputSchema: {
|
|
31021
|
-
|
|
31022
|
-
|
|
31023
|
-
recursive: external_exports.boolean().optional().describe("List recursively"),
|
|
31024
|
-
simple: external_exports.boolean().optional().describe("Only return paths"),
|
|
31025
|
-
nodeLimit: external_exports.number().int().positive().max(1e3).optional().describe("Maximum node count")
|
|
31136
|
+
pattern: external_exports.string().optional().describe("Required text or regex pattern"),
|
|
31137
|
+
uri: external_exports.string().optional().describe("Optional viking:// subtree")
|
|
31026
31138
|
}
|
|
31027
31139
|
},
|
|
31028
|
-
async ({
|
|
31029
|
-
"
|
|
31030
|
-
|
|
31031
|
-
|
|
31032
|
-
|
|
31033
|
-
|
|
31034
|
-
|
|
31035
|
-
|
|
31140
|
+
async ({ pattern, uri }) => {
|
|
31141
|
+
const checkedPattern = requiredText(pattern, "grep", "pattern", { pattern: "unity-ui-ccc" });
|
|
31142
|
+
if (!checkedPattern.ok) {
|
|
31143
|
+
return checkedPattern.error;
|
|
31144
|
+
}
|
|
31145
|
+
const checkedUri = optionalVikingUri(uri, "grep");
|
|
31146
|
+
if (!checkedUri.ok) {
|
|
31147
|
+
return checkedUri.error;
|
|
31148
|
+
}
|
|
31149
|
+
return runOpenVikingTool(config2, [
|
|
31150
|
+
"grep",
|
|
31151
|
+
checkedPattern.value,
|
|
31152
|
+
...checkedUri.value ? ["--uri", checkedUri.value] : []
|
|
31153
|
+
]);
|
|
31154
|
+
}
|
|
31036
31155
|
);
|
|
31037
31156
|
server.registerTool(
|
|
31038
|
-
"
|
|
31157
|
+
"glob",
|
|
31039
31158
|
{
|
|
31040
|
-
annotations: { readOnlyHint:
|
|
31041
|
-
description: "
|
|
31159
|
+
annotations: { readOnlyHint: true, destructiveHint: false },
|
|
31160
|
+
description: "Run glob file search in OpenViking.",
|
|
31042
31161
|
inputSchema: {
|
|
31043
|
-
|
|
31044
|
-
|
|
31162
|
+
pattern: external_exports.string().optional().describe("Required glob pattern"),
|
|
31163
|
+
uri: external_exports.string().optional().describe("Optional viking:// subtree")
|
|
31045
31164
|
}
|
|
31046
31165
|
},
|
|
31047
|
-
async ({
|
|
31048
|
-
"
|
|
31049
|
-
|
|
31050
|
-
|
|
31051
|
-
|
|
31052
|
-
|
|
31053
|
-
|
|
31054
|
-
|
|
31055
|
-
|
|
31056
|
-
|
|
31166
|
+
async ({ pattern, uri }) => {
|
|
31167
|
+
const checkedPattern = requiredText(pattern, "glob", "pattern", { pattern: "**/AGENTS.md" });
|
|
31168
|
+
if (!checkedPattern.ok) {
|
|
31169
|
+
return checkedPattern.error;
|
|
31170
|
+
}
|
|
31171
|
+
const checkedUri = optionalVikingUri(uri, "glob");
|
|
31172
|
+
if (!checkedUri.ok) {
|
|
31173
|
+
return checkedUri.error;
|
|
31174
|
+
}
|
|
31175
|
+
return runOpenVikingTool(config2, [
|
|
31176
|
+
"glob",
|
|
31177
|
+
checkedPattern.value,
|
|
31178
|
+
...checkedUri.value ? ["--uri", checkedUri.value] : []
|
|
31179
|
+
]);
|
|
31180
|
+
}
|
|
31057
31181
|
);
|
|
31058
31182
|
server.registerTool(
|
|
31059
|
-
"
|
|
31183
|
+
"health",
|
|
31060
31184
|
{
|
|
31061
|
-
annotations: { readOnlyHint:
|
|
31062
|
-
description: "
|
|
31063
|
-
inputSchema: {
|
|
31064
|
-
uri: external_exports.string().startsWith("viking://").describe("viking:// URI to remove")
|
|
31065
|
-
}
|
|
31185
|
+
annotations: { readOnlyHint: true, destructiveHint: false },
|
|
31186
|
+
description: "Check OpenViking server health through the CLI.",
|
|
31187
|
+
inputSchema: {}
|
|
31066
31188
|
},
|
|
31067
|
-
async (
|
|
31189
|
+
async () => runOpenVikingTool(config2, ["health"])
|
|
31068
31190
|
);
|
|
31191
|
+
}
|
|
31192
|
+
function registerSearchTool(server, config2, name, description) {
|
|
31069
31193
|
server.registerTool(
|
|
31070
|
-
|
|
31194
|
+
name,
|
|
31071
31195
|
{
|
|
31072
|
-
annotations: { readOnlyHint:
|
|
31073
|
-
description
|
|
31196
|
+
annotations: { readOnlyHint: true, destructiveHint: false },
|
|
31197
|
+
description,
|
|
31074
31198
|
inputSchema: {
|
|
31075
|
-
|
|
31076
|
-
|
|
31077
|
-
|
|
31199
|
+
query: external_exports.string().optional().describe('Required search query, for example "unity-ui-ccc latest handoff"'),
|
|
31200
|
+
uri: external_exports.string().optional().describe("Optional viking:// subtree to search"),
|
|
31201
|
+
nodeLimit: external_exports.number().int().positive().max(100).optional().describe("Maximum result count")
|
|
31078
31202
|
}
|
|
31079
31203
|
},
|
|
31080
|
-
async ({
|
|
31204
|
+
async ({ nodeLimit, query, uri }) => {
|
|
31205
|
+
const checkedQuery = requiredText(query, name, "query", { query: "unity-ui-ccc latest handoff" });
|
|
31206
|
+
if (!checkedQuery.ok) {
|
|
31207
|
+
return checkedQuery.error;
|
|
31208
|
+
}
|
|
31209
|
+
const checkedUri = optionalVikingUri(uri, name);
|
|
31210
|
+
if (!checkedUri.ok) {
|
|
31211
|
+
return checkedUri.error;
|
|
31212
|
+
}
|
|
31213
|
+
return runOpenVikingTool(config2, [
|
|
31214
|
+
"search",
|
|
31215
|
+
checkedQuery.value,
|
|
31216
|
+
...checkedUri.value ? ["--uri", checkedUri.value] : [],
|
|
31217
|
+
...nodeLimit ? ["--node-limit", String(nodeLimit)] : []
|
|
31218
|
+
]);
|
|
31219
|
+
}
|
|
31081
31220
|
);
|
|
31221
|
+
}
|
|
31222
|
+
function registerReadTool(server, config2, name, description) {
|
|
31082
31223
|
server.registerTool(
|
|
31083
|
-
|
|
31224
|
+
name,
|
|
31084
31225
|
{
|
|
31085
31226
|
annotations: { readOnlyHint: true, destructiveHint: false },
|
|
31086
|
-
description:
|
|
31227
|
+
description: `${description} Required: pass JSON arguments with uri.`,
|
|
31087
31228
|
inputSchema: {
|
|
31088
|
-
|
|
31089
|
-
uri: external_exports.string().startsWith("viking://").optional().describe("Optional viking:// subtree")
|
|
31229
|
+
uri: external_exports.string().optional().describe("Required viking:// file URI")
|
|
31090
31230
|
}
|
|
31091
31231
|
},
|
|
31092
|
-
async ({
|
|
31232
|
+
async ({ uri }) => {
|
|
31233
|
+
const checkedUri = requiredVikingUri(uri, name, "viking://agent/threadnote/memories/.abstract.md");
|
|
31234
|
+
if (!checkedUri.ok) {
|
|
31235
|
+
return checkedUri.error;
|
|
31236
|
+
}
|
|
31237
|
+
return runOpenVikingTool(config2, ["read", checkedUri.value]);
|
|
31238
|
+
}
|
|
31093
31239
|
);
|
|
31240
|
+
}
|
|
31241
|
+
function registerListTool(server, config2, name, description) {
|
|
31094
31242
|
server.registerTool(
|
|
31095
|
-
|
|
31243
|
+
name,
|
|
31096
31244
|
{
|
|
31097
31245
|
annotations: { readOnlyHint: true, destructiveHint: false },
|
|
31098
|
-
description
|
|
31246
|
+
description,
|
|
31099
31247
|
inputSchema: {
|
|
31100
|
-
|
|
31101
|
-
|
|
31248
|
+
uri: external_exports.string().optional().describe("Optional viking:// directory URI; defaults to viking://"),
|
|
31249
|
+
all: external_exports.boolean().optional().describe("Show hidden files like .abstract.md and .overview.md"),
|
|
31250
|
+
recursive: external_exports.boolean().optional().describe("List recursively"),
|
|
31251
|
+
simple: external_exports.boolean().optional().describe("Only return paths"),
|
|
31252
|
+
nodeLimit: external_exports.number().int().positive().max(1e3).optional().describe("Maximum node count")
|
|
31102
31253
|
}
|
|
31103
31254
|
},
|
|
31104
|
-
async ({
|
|
31255
|
+
async ({ all, nodeLimit, recursive, simple, uri }) => {
|
|
31256
|
+
const checkedUri = optionalVikingUri(uri, name);
|
|
31257
|
+
if (!checkedUri.ok) {
|
|
31258
|
+
return checkedUri.error;
|
|
31259
|
+
}
|
|
31260
|
+
return runOpenVikingTool(config2, [
|
|
31261
|
+
"ls",
|
|
31262
|
+
checkedUri.value ?? "viking://",
|
|
31263
|
+
...all === true ? ["--all"] : [],
|
|
31264
|
+
...recursive === true ? ["--recursive"] : [],
|
|
31265
|
+
...simple === true ? ["--simple"] : [],
|
|
31266
|
+
...nodeLimit ? ["--node-limit", String(nodeLimit)] : []
|
|
31267
|
+
]);
|
|
31268
|
+
}
|
|
31105
31269
|
);
|
|
31270
|
+
}
|
|
31271
|
+
function registerStoreTool(server, config2, name, description) {
|
|
31106
31272
|
server.registerTool(
|
|
31107
|
-
|
|
31273
|
+
name,
|
|
31108
31274
|
{
|
|
31109
|
-
annotations: { readOnlyHint:
|
|
31110
|
-
description:
|
|
31111
|
-
inputSchema: {
|
|
31275
|
+
annotations: { readOnlyHint: false, destructiveHint: false },
|
|
31276
|
+
description: `${description} Never store secrets, credentials, customer data, or raw logs.`,
|
|
31277
|
+
inputSchema: {
|
|
31278
|
+
text: external_exports.string().optional().describe("Required memory text to store"),
|
|
31279
|
+
sourceAgentClient: external_exports.string().optional().describe("Originating client, for example cursor, codex, or claude")
|
|
31280
|
+
}
|
|
31112
31281
|
},
|
|
31113
|
-
async () =>
|
|
31282
|
+
async ({ sourceAgentClient, text }) => {
|
|
31283
|
+
const checkedText = requiredText(text, name, "text", { text: "Durable engineering note..." });
|
|
31284
|
+
if (!checkedText.ok) {
|
|
31285
|
+
return checkedText.error;
|
|
31286
|
+
}
|
|
31287
|
+
return runOpenVikingTool(config2, [
|
|
31288
|
+
"add-memory",
|
|
31289
|
+
[
|
|
31290
|
+
"MEMORY",
|
|
31291
|
+
`source_agent_client: ${sourceAgentClient ?? "mcp"}`,
|
|
31292
|
+
`timestamp: ${(/* @__PURE__ */ new Date()).toISOString()}`,
|
|
31293
|
+
"",
|
|
31294
|
+
checkedText.value
|
|
31295
|
+
].join("\n")
|
|
31296
|
+
]);
|
|
31297
|
+
}
|
|
31114
31298
|
);
|
|
31115
31299
|
}
|
|
31300
|
+
function requiredText(value, toolName, fieldName, example) {
|
|
31301
|
+
const normalized = value?.trim();
|
|
31302
|
+
if (normalized) {
|
|
31303
|
+
return { ok: true, value: normalized };
|
|
31304
|
+
}
|
|
31305
|
+
return {
|
|
31306
|
+
error: argumentError(
|
|
31307
|
+
[
|
|
31308
|
+
`Threadnote MCP tool "${toolName}" needs a non-empty "${fieldName}" argument.`,
|
|
31309
|
+
"Pass JSON arguments to the tool call.",
|
|
31310
|
+
`Example: ${toolName}(${JSON.stringify(example)})`
|
|
31311
|
+
].join("\n")
|
|
31312
|
+
),
|
|
31313
|
+
ok: false
|
|
31314
|
+
};
|
|
31315
|
+
}
|
|
31316
|
+
function requiredVikingUri(value, toolName, exampleUri) {
|
|
31317
|
+
const checked = requiredText(value, toolName, "uri", { uri: exampleUri });
|
|
31318
|
+
if (!checked.ok) {
|
|
31319
|
+
return checked;
|
|
31320
|
+
}
|
|
31321
|
+
if (checked.value.startsWith("viking://")) {
|
|
31322
|
+
return checked;
|
|
31323
|
+
}
|
|
31324
|
+
return {
|
|
31325
|
+
error: argumentError(`Threadnote MCP tool "${toolName}" needs a viking:// URI. Received: ${checked.value}`),
|
|
31326
|
+
ok: false
|
|
31327
|
+
};
|
|
31328
|
+
}
|
|
31329
|
+
function optionalVikingUri(value, toolName) {
|
|
31330
|
+
const normalized = value?.trim();
|
|
31331
|
+
if (!normalized) {
|
|
31332
|
+
return { ok: true, value: void 0 };
|
|
31333
|
+
}
|
|
31334
|
+
if (normalized.startsWith("viking://")) {
|
|
31335
|
+
return { ok: true, value: normalized };
|
|
31336
|
+
}
|
|
31337
|
+
return {
|
|
31338
|
+
error: argumentError(
|
|
31339
|
+
`Threadnote MCP tool "${toolName}" optional "uri" must start with viking://. Received: ${normalized}`
|
|
31340
|
+
),
|
|
31341
|
+
ok: false
|
|
31342
|
+
};
|
|
31343
|
+
}
|
|
31344
|
+
function argumentError(text) {
|
|
31345
|
+
return { content: [{ type: "text", text }], isError: true };
|
|
31346
|
+
}
|
|
31116
31347
|
async function runOpenVikingTool(config2, args) {
|
|
31117
31348
|
try {
|
|
31118
31349
|
const ov = await requiredOpenVikingCli();
|
|
@@ -31133,15 +31364,6 @@ async function requiredOpenVikingCli() {
|
|
|
31133
31364
|
}
|
|
31134
31365
|
return command;
|
|
31135
31366
|
}
|
|
31136
|
-
async function findExecutable(commands) {
|
|
31137
|
-
for (const command of commands) {
|
|
31138
|
-
const result = await runCommand("which", [command], { allowFailure: true });
|
|
31139
|
-
if (result.exitCode === 0 && result.stdout.trim()) {
|
|
31140
|
-
return result.stdout.trim();
|
|
31141
|
-
}
|
|
31142
|
-
}
|
|
31143
|
-
return void 0;
|
|
31144
|
-
}
|
|
31145
31367
|
async function firstExistingPath(paths) {
|
|
31146
31368
|
for (const path of paths) {
|
|
31147
31369
|
try {
|
|
@@ -31153,41 +31375,6 @@ async function firstExistingPath(paths) {
|
|
|
31153
31375
|
}
|
|
31154
31376
|
return void 0;
|
|
31155
31377
|
}
|
|
31156
|
-
async function runCommand(executable, args, options = {}) {
|
|
31157
|
-
return new Promise((resolvePromise, rejectPromise) => {
|
|
31158
|
-
const child = (0, import_node_child_process.spawn)(executable, args);
|
|
31159
|
-
const stdoutChunks = [];
|
|
31160
|
-
const stderrChunks = [];
|
|
31161
|
-
child.stdout.on("data", (chunk) => {
|
|
31162
|
-
stdoutChunks.push(String(chunk));
|
|
31163
|
-
});
|
|
31164
|
-
child.stderr.on("data", (chunk) => {
|
|
31165
|
-
stderrChunks.push(String(chunk));
|
|
31166
|
-
});
|
|
31167
|
-
child.on("error", (err) => {
|
|
31168
|
-
if (options.allowFailure === true) {
|
|
31169
|
-
resolvePromise({ exitCode: 127, stderr: errorMessage(err), stdout: "" });
|
|
31170
|
-
} else {
|
|
31171
|
-
rejectPromise(err);
|
|
31172
|
-
}
|
|
31173
|
-
});
|
|
31174
|
-
child.on("close", (code) => {
|
|
31175
|
-
const result = {
|
|
31176
|
-
exitCode: code ?? 1,
|
|
31177
|
-
stderr: stderrChunks.join(""),
|
|
31178
|
-
stdout: stdoutChunks.join("")
|
|
31179
|
-
};
|
|
31180
|
-
if (result.exitCode !== 0 && options.allowFailure !== true) {
|
|
31181
|
-
rejectPromise(new Error(`${executable} ${args.join(" ")} failed: ${result.stderr || result.stdout}`));
|
|
31182
|
-
return;
|
|
31183
|
-
}
|
|
31184
|
-
resolvePromise(result);
|
|
31185
|
-
});
|
|
31186
|
-
});
|
|
31187
|
-
}
|
|
31188
|
-
function errorMessage(err) {
|
|
31189
|
-
return err instanceof Error ? err.message : String(err);
|
|
31190
|
-
}
|
|
31191
31378
|
main().catch((err) => {
|
|
31192
31379
|
process.stderr.write(`${errorMessage(err)}
|
|
31193
31380
|
`);
|