@impractical-ai/motion 0.1.5 → 0.1.6

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  openBrowser
4
- } from "./chunk-DMAQPSA4.js";
4
+ } from "./chunk-BUHNO2W2.js";
5
5
  import {
6
6
  ApiError,
7
7
  admitMcpCall,
@@ -11,7 +11,7 @@ import {
11
11
  saveConfig,
12
12
  validateApiResponse,
13
13
  withAdmissionReceipt
14
- } from "./chunk-7724464Z.js";
14
+ } from "./chunk-KITRCE33.js";
15
15
  import {
16
16
  PACKAGE_VERSION,
17
17
  PRODUCTION_APP_URL,
@@ -19,11 +19,11 @@ import {
19
19
  __commonJS,
20
20
  __export,
21
21
  __toESM
22
- } from "./chunk-JDN3QHCX.js";
22
+ } from "./chunk-LJ4YH3YJ.js";
23
23
 
24
- // ../node_modules/ajv/dist/compile/codegen/code.js
24
+ // node_modules/ajv/dist/compile/codegen/code.js
25
25
  var require_code = __commonJS({
26
- "../node_modules/ajv/dist/compile/codegen/code.js"(exports) {
26
+ "node_modules/ajv/dist/compile/codegen/code.js"(exports) {
27
27
  "use strict";
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
@@ -175,9 +175,9 @@ var require_code = __commonJS({
175
175
  }
176
176
  });
177
177
 
178
- // ../node_modules/ajv/dist/compile/codegen/scope.js
178
+ // node_modules/ajv/dist/compile/codegen/scope.js
179
179
  var require_scope = __commonJS({
180
- "../node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
180
+ "node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
181
181
  "use strict";
182
182
  Object.defineProperty(exports, "__esModule", { value: true });
183
183
  exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
@@ -320,9 +320,9 @@ var require_scope = __commonJS({
320
320
  }
321
321
  });
322
322
 
323
- // ../node_modules/ajv/dist/compile/codegen/index.js
323
+ // node_modules/ajv/dist/compile/codegen/index.js
324
324
  var require_codegen = __commonJS({
325
- "../node_modules/ajv/dist/compile/codegen/index.js"(exports) {
325
+ "node_modules/ajv/dist/compile/codegen/index.js"(exports) {
326
326
  "use strict";
327
327
  Object.defineProperty(exports, "__esModule", { value: true });
328
328
  exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
@@ -1040,9 +1040,9 @@ var require_codegen = __commonJS({
1040
1040
  }
1041
1041
  });
1042
1042
 
1043
- // ../node_modules/ajv/dist/compile/util.js
1043
+ // node_modules/ajv/dist/compile/util.js
1044
1044
  var require_util = __commonJS({
1045
- "../node_modules/ajv/dist/compile/util.js"(exports) {
1045
+ "node_modules/ajv/dist/compile/util.js"(exports) {
1046
1046
  "use strict";
1047
1047
  Object.defineProperty(exports, "__esModule", { value: true });
1048
1048
  exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
@@ -1207,9 +1207,9 @@ var require_util = __commonJS({
1207
1207
  }
1208
1208
  });
1209
1209
 
1210
- // ../node_modules/ajv/dist/compile/names.js
1210
+ // node_modules/ajv/dist/compile/names.js
1211
1211
  var require_names = __commonJS({
1212
- "../node_modules/ajv/dist/compile/names.js"(exports) {
1212
+ "node_modules/ajv/dist/compile/names.js"(exports) {
1213
1213
  "use strict";
1214
1214
  Object.defineProperty(exports, "__esModule", { value: true });
1215
1215
  var codegen_1 = require_codegen();
@@ -1246,9 +1246,9 @@ var require_names = __commonJS({
1246
1246
  }
1247
1247
  });
1248
1248
 
1249
- // ../node_modules/ajv/dist/compile/errors.js
1249
+ // node_modules/ajv/dist/compile/errors.js
1250
1250
  var require_errors = __commonJS({
1251
- "../node_modules/ajv/dist/compile/errors.js"(exports) {
1251
+ "node_modules/ajv/dist/compile/errors.js"(exports) {
1252
1252
  "use strict";
1253
1253
  Object.defineProperty(exports, "__esModule", { value: true });
1254
1254
  exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
@@ -1368,9 +1368,9 @@ var require_errors = __commonJS({
1368
1368
  }
1369
1369
  });
1370
1370
 
1371
- // ../node_modules/ajv/dist/compile/validate/boolSchema.js
1371
+ // node_modules/ajv/dist/compile/validate/boolSchema.js
1372
1372
  var require_boolSchema = __commonJS({
1373
- "../node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
1373
+ "node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
1374
1374
  "use strict";
1375
1375
  Object.defineProperty(exports, "__esModule", { value: true });
1376
1376
  exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
@@ -1419,9 +1419,9 @@ var require_boolSchema = __commonJS({
1419
1419
  }
1420
1420
  });
1421
1421
 
1422
- // ../node_modules/ajv/dist/compile/rules.js
1422
+ // node_modules/ajv/dist/compile/rules.js
1423
1423
  var require_rules = __commonJS({
1424
- "../node_modules/ajv/dist/compile/rules.js"(exports) {
1424
+ "node_modules/ajv/dist/compile/rules.js"(exports) {
1425
1425
  "use strict";
1426
1426
  Object.defineProperty(exports, "__esModule", { value: true });
1427
1427
  exports.getRules = exports.isJSONType = void 0;
@@ -1450,9 +1450,9 @@ var require_rules = __commonJS({
1450
1450
  }
1451
1451
  });
1452
1452
 
1453
- // ../node_modules/ajv/dist/compile/validate/applicability.js
1453
+ // node_modules/ajv/dist/compile/validate/applicability.js
1454
1454
  var require_applicability = __commonJS({
1455
- "../node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
1455
+ "node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
1456
1456
  "use strict";
1457
1457
  Object.defineProperty(exports, "__esModule", { value: true });
1458
1458
  exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
@@ -1473,9 +1473,9 @@ var require_applicability = __commonJS({
1473
1473
  }
1474
1474
  });
1475
1475
 
1476
- // ../node_modules/ajv/dist/compile/validate/dataType.js
1476
+ // node_modules/ajv/dist/compile/validate/dataType.js
1477
1477
  var require_dataType = __commonJS({
1478
- "../node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
1478
+ "node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
1479
1479
  "use strict";
1480
1480
  Object.defineProperty(exports, "__esModule", { value: true });
1481
1481
  exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
@@ -1657,9 +1657,9 @@ var require_dataType = __commonJS({
1657
1657
  }
1658
1658
  });
1659
1659
 
1660
- // ../node_modules/ajv/dist/compile/validate/defaults.js
1660
+ // node_modules/ajv/dist/compile/validate/defaults.js
1661
1661
  var require_defaults = __commonJS({
1662
- "../node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
1662
+ "node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
1663
1663
  "use strict";
1664
1664
  Object.defineProperty(exports, "__esModule", { value: true });
1665
1665
  exports.assignDefaults = void 0;
@@ -1694,9 +1694,9 @@ var require_defaults = __commonJS({
1694
1694
  }
1695
1695
  });
1696
1696
 
1697
- // ../node_modules/ajv/dist/vocabularies/code.js
1697
+ // node_modules/ajv/dist/vocabularies/code.js
1698
1698
  var require_code2 = __commonJS({
1699
- "../node_modules/ajv/dist/vocabularies/code.js"(exports) {
1699
+ "node_modules/ajv/dist/vocabularies/code.js"(exports) {
1700
1700
  "use strict";
1701
1701
  Object.defineProperty(exports, "__esModule", { value: true });
1702
1702
  exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
@@ -1827,9 +1827,9 @@ var require_code2 = __commonJS({
1827
1827
  }
1828
1828
  });
1829
1829
 
1830
- // ../node_modules/ajv/dist/compile/validate/keyword.js
1830
+ // node_modules/ajv/dist/compile/validate/keyword.js
1831
1831
  var require_keyword = __commonJS({
1832
- "../node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
1832
+ "node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
1833
1833
  "use strict";
1834
1834
  Object.defineProperty(exports, "__esModule", { value: true });
1835
1835
  exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
@@ -1945,9 +1945,9 @@ var require_keyword = __commonJS({
1945
1945
  }
1946
1946
  });
1947
1947
 
1948
- // ../node_modules/ajv/dist/compile/validate/subschema.js
1948
+ // node_modules/ajv/dist/compile/validate/subschema.js
1949
1949
  var require_subschema = __commonJS({
1950
- "../node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
1950
+ "node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
1951
1951
  "use strict";
1952
1952
  Object.defineProperty(exports, "__esModule", { value: true });
1953
1953
  exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
@@ -2028,9 +2028,9 @@ var require_subschema = __commonJS({
2028
2028
  }
2029
2029
  });
2030
2030
 
2031
- // ../node_modules/fast-deep-equal/index.js
2031
+ // node_modules/fast-deep-equal/index.js
2032
2032
  var require_fast_deep_equal = __commonJS({
2033
- "../node_modules/fast-deep-equal/index.js"(exports, module) {
2033
+ "node_modules/fast-deep-equal/index.js"(exports, module) {
2034
2034
  "use strict";
2035
2035
  module.exports = function equal(a, b) {
2036
2036
  if (a === b) return true;
@@ -2063,9 +2063,9 @@ var require_fast_deep_equal = __commonJS({
2063
2063
  }
2064
2064
  });
2065
2065
 
2066
- // ../node_modules/json-schema-traverse/index.js
2066
+ // node_modules/json-schema-traverse/index.js
2067
2067
  var require_json_schema_traverse = __commonJS({
2068
- "../node_modules/json-schema-traverse/index.js"(exports, module) {
2068
+ "node_modules/json-schema-traverse/index.js"(exports, module) {
2069
2069
  "use strict";
2070
2070
  var traverse = module.exports = function(schema, opts, cb) {
2071
2071
  if (typeof opts == "function") {
@@ -2151,9 +2151,9 @@ var require_json_schema_traverse = __commonJS({
2151
2151
  }
2152
2152
  });
2153
2153
 
2154
- // ../node_modules/ajv/dist/compile/resolve.js
2154
+ // node_modules/ajv/dist/compile/resolve.js
2155
2155
  var require_resolve = __commonJS({
2156
- "../node_modules/ajv/dist/compile/resolve.js"(exports) {
2156
+ "node_modules/ajv/dist/compile/resolve.js"(exports) {
2157
2157
  "use strict";
2158
2158
  Object.defineProperty(exports, "__esModule", { value: true });
2159
2159
  exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
@@ -2307,9 +2307,9 @@ var require_resolve = __commonJS({
2307
2307
  }
2308
2308
  });
2309
2309
 
2310
- // ../node_modules/ajv/dist/compile/validate/index.js
2310
+ // node_modules/ajv/dist/compile/validate/index.js
2311
2311
  var require_validate = __commonJS({
2312
- "../node_modules/ajv/dist/compile/validate/index.js"(exports) {
2312
+ "node_modules/ajv/dist/compile/validate/index.js"(exports) {
2313
2313
  "use strict";
2314
2314
  Object.defineProperty(exports, "__esModule", { value: true });
2315
2315
  exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
@@ -2815,9 +2815,9 @@ var require_validate = __commonJS({
2815
2815
  }
2816
2816
  });
2817
2817
 
2818
- // ../node_modules/ajv/dist/runtime/validation_error.js
2818
+ // node_modules/ajv/dist/runtime/validation_error.js
2819
2819
  var require_validation_error = __commonJS({
2820
- "../node_modules/ajv/dist/runtime/validation_error.js"(exports) {
2820
+ "node_modules/ajv/dist/runtime/validation_error.js"(exports) {
2821
2821
  "use strict";
2822
2822
  Object.defineProperty(exports, "__esModule", { value: true });
2823
2823
  var ValidationError = class extends Error {
@@ -2831,9 +2831,9 @@ var require_validation_error = __commonJS({
2831
2831
  }
2832
2832
  });
2833
2833
 
2834
- // ../node_modules/ajv/dist/compile/ref_error.js
2834
+ // node_modules/ajv/dist/compile/ref_error.js
2835
2835
  var require_ref_error = __commonJS({
2836
- "../node_modules/ajv/dist/compile/ref_error.js"(exports) {
2836
+ "node_modules/ajv/dist/compile/ref_error.js"(exports) {
2837
2837
  "use strict";
2838
2838
  Object.defineProperty(exports, "__esModule", { value: true });
2839
2839
  var resolve_1 = require_resolve();
@@ -2848,9 +2848,9 @@ var require_ref_error = __commonJS({
2848
2848
  }
2849
2849
  });
2850
2850
 
2851
- // ../node_modules/ajv/dist/compile/index.js
2851
+ // node_modules/ajv/dist/compile/index.js
2852
2852
  var require_compile = __commonJS({
2853
- "../node_modules/ajv/dist/compile/index.js"(exports) {
2853
+ "node_modules/ajv/dist/compile/index.js"(exports) {
2854
2854
  "use strict";
2855
2855
  Object.defineProperty(exports, "__esModule", { value: true });
2856
2856
  exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
@@ -3072,9 +3072,9 @@ var require_compile = __commonJS({
3072
3072
  }
3073
3073
  });
3074
3074
 
3075
- // ../node_modules/ajv/dist/refs/data.json
3075
+ // node_modules/ajv/dist/refs/data.json
3076
3076
  var require_data = __commonJS({
3077
- "../node_modules/ajv/dist/refs/data.json"(exports, module) {
3077
+ "node_modules/ajv/dist/refs/data.json"(exports, module) {
3078
3078
  module.exports = {
3079
3079
  $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
3080
3080
  description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
@@ -3091,9 +3091,9 @@ var require_data = __commonJS({
3091
3091
  }
3092
3092
  });
3093
3093
 
3094
- // ../node_modules/fast-uri/lib/utils.js
3094
+ // node_modules/fast-uri/lib/utils.js
3095
3095
  var require_utils = __commonJS({
3096
- "../node_modules/fast-uri/lib/utils.js"(exports, module) {
3096
+ "node_modules/fast-uri/lib/utils.js"(exports, module) {
3097
3097
  "use strict";
3098
3098
  var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
3099
3099
  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);
@@ -3404,9 +3404,9 @@ var require_utils = __commonJS({
3404
3404
  }
3405
3405
  });
3406
3406
 
3407
- // ../node_modules/fast-uri/lib/schemes.js
3407
+ // node_modules/fast-uri/lib/schemes.js
3408
3408
  var require_schemes = __commonJS({
3409
- "../node_modules/fast-uri/lib/schemes.js"(exports, module) {
3409
+ "node_modules/fast-uri/lib/schemes.js"(exports, module) {
3410
3410
  "use strict";
3411
3411
  var { isUUID } = require_utils();
3412
3412
  var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
@@ -3614,9 +3614,9 @@ var require_schemes = __commonJS({
3614
3614
  }
3615
3615
  });
3616
3616
 
3617
- // ../node_modules/fast-uri/index.js
3617
+ // node_modules/fast-uri/index.js
3618
3618
  var require_fast_uri = __commonJS({
3619
- "../node_modules/fast-uri/index.js"(exports, module) {
3619
+ "node_modules/fast-uri/index.js"(exports, module) {
3620
3620
  "use strict";
3621
3621
  var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
3622
3622
  var { SCHEMES, getSchemeHandler } = require_schemes();
@@ -3632,7 +3632,12 @@ var require_fast_uri = __commonJS({
3632
3632
  }
3633
3633
  function resolve(baseURI, relativeURI, options) {
3634
3634
  const schemelessOptions = options ? Object.assign({ scheme: "null" }, options) : { scheme: "null" };
3635
- const resolved = resolveComponent(parse3(baseURI, schemelessOptions), parse3(relativeURI, schemelessOptions), schemelessOptions, true);
3635
+ const { parsed: baseParsed, malformedAuthorityOrPort: baseMalformed } = parseWithStatus(baseURI, schemelessOptions);
3636
+ const { parsed: relativeParsed, malformedAuthorityOrPort: relativeMalformed } = parseWithStatus(relativeURI, schemelessOptions);
3637
+ if (baseMalformed || relativeMalformed) {
3638
+ throw new Error(baseParsed.error || relativeParsed.error || "URI is malformed.");
3639
+ }
3640
+ const resolved = resolveComponent(baseParsed, relativeParsed, schemelessOptions, true);
3636
3641
  schemelessOptions.skipEscape = true;
3637
3642
  return serialize(resolved, schemelessOptions);
3638
3643
  }
@@ -3757,6 +3762,8 @@ var require_fast_uri = __commonJS({
3757
3762
  return uriTokens.join("");
3758
3763
  }
3759
3764
  var URI_PARSE = /^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;
3765
+ var AUTHORITY_PREFIX = /^(?:[^#/:?]+:)?\/\/([^/?#]*)/;
3766
+ var AUTHORITY_INTRODUCER_REGION = /^(?:[^#/:?]+:)?([/\\\t\n\r]*)/;
3760
3767
  function getParseError(parsed, matches) {
3761
3768
  if (matches[2] !== void 0 && parsed.path && parsed.path[0] !== "/") {
3762
3769
  return 'URI path must start with "/" when authority is present.';
@@ -3786,6 +3793,25 @@ var require_fast_uri = __commonJS({
3786
3793
  uri = "//" + uri;
3787
3794
  }
3788
3795
  }
3796
+ const authorityMatch = uri.match(AUTHORITY_PREFIX);
3797
+ if (authorityMatch !== null && authorityMatch[1].indexOf("\\") !== -1) {
3798
+ parsed.error = "URI authority must not contain a literal backslash.";
3799
+ malformedAuthorityOrPort = true;
3800
+ }
3801
+ const introducerMatch = uri.match(AUTHORITY_INTRODUCER_REGION);
3802
+ if (introducerMatch !== null) {
3803
+ const region = introducerMatch[1];
3804
+ const normalizedRegion = region.replace(/[\t\n\r]/g, "");
3805
+ if (normalizedRegion.length >= 2) {
3806
+ if (normalizedRegion.slice(0, 2) !== "//") {
3807
+ parsed.error = parsed.error || "URI authority must not contain a literal backslash.";
3808
+ malformedAuthorityOrPort = true;
3809
+ } else if (region.length !== normalizedRegion.length) {
3810
+ parsed.error = parsed.error || "URI authority introducer must not contain whitespace.";
3811
+ malformedAuthorityOrPort = true;
3812
+ }
3813
+ }
3814
+ }
3789
3815
  const matches = uri.match(URI_PARSE);
3790
3816
  if (matches) {
3791
3817
  parsed.scheme = matches[1];
@@ -3900,9 +3926,9 @@ var require_fast_uri = __commonJS({
3900
3926
  }
3901
3927
  });
3902
3928
 
3903
- // ../node_modules/ajv/dist/runtime/uri.js
3929
+ // node_modules/ajv/dist/runtime/uri.js
3904
3930
  var require_uri = __commonJS({
3905
- "../node_modules/ajv/dist/runtime/uri.js"(exports) {
3931
+ "node_modules/ajv/dist/runtime/uri.js"(exports) {
3906
3932
  "use strict";
3907
3933
  Object.defineProperty(exports, "__esModule", { value: true });
3908
3934
  var uri = require_fast_uri();
@@ -3911,9 +3937,9 @@ var require_uri = __commonJS({
3911
3937
  }
3912
3938
  });
3913
3939
 
3914
- // ../node_modules/ajv/dist/core.js
3940
+ // node_modules/ajv/dist/core.js
3915
3941
  var require_core = __commonJS({
3916
- "../node_modules/ajv/dist/core.js"(exports) {
3942
+ "node_modules/ajv/dist/core.js"(exports) {
3917
3943
  "use strict";
3918
3944
  Object.defineProperty(exports, "__esModule", { value: true });
3919
3945
  exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
@@ -4522,9 +4548,9 @@ var require_core = __commonJS({
4522
4548
  }
4523
4549
  });
4524
4550
 
4525
- // ../node_modules/ajv/dist/vocabularies/core/id.js
4551
+ // node_modules/ajv/dist/vocabularies/core/id.js
4526
4552
  var require_id = __commonJS({
4527
- "../node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
4553
+ "node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
4528
4554
  "use strict";
4529
4555
  Object.defineProperty(exports, "__esModule", { value: true });
4530
4556
  var def = {
@@ -4537,9 +4563,9 @@ var require_id = __commonJS({
4537
4563
  }
4538
4564
  });
4539
4565
 
4540
- // ../node_modules/ajv/dist/vocabularies/core/ref.js
4566
+ // node_modules/ajv/dist/vocabularies/core/ref.js
4541
4567
  var require_ref = __commonJS({
4542
- "../node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
4568
+ "node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
4543
4569
  "use strict";
4544
4570
  Object.defineProperty(exports, "__esModule", { value: true });
4545
4571
  exports.callRef = exports.getValidate = void 0;
@@ -4659,9 +4685,9 @@ var require_ref = __commonJS({
4659
4685
  }
4660
4686
  });
4661
4687
 
4662
- // ../node_modules/ajv/dist/vocabularies/core/index.js
4688
+ // node_modules/ajv/dist/vocabularies/core/index.js
4663
4689
  var require_core2 = __commonJS({
4664
- "../node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
4690
+ "node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
4665
4691
  "use strict";
4666
4692
  Object.defineProperty(exports, "__esModule", { value: true });
4667
4693
  var id_1 = require_id();
@@ -4680,9 +4706,9 @@ var require_core2 = __commonJS({
4680
4706
  }
4681
4707
  });
4682
4708
 
4683
- // ../node_modules/ajv/dist/vocabularies/validation/limitNumber.js
4709
+ // node_modules/ajv/dist/vocabularies/validation/limitNumber.js
4684
4710
  var require_limitNumber = __commonJS({
4685
- "../node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
4711
+ "node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
4686
4712
  "use strict";
4687
4713
  Object.defineProperty(exports, "__esModule", { value: true });
4688
4714
  var codegen_1 = require_codegen();
@@ -4712,9 +4738,9 @@ var require_limitNumber = __commonJS({
4712
4738
  }
4713
4739
  });
4714
4740
 
4715
- // ../node_modules/ajv/dist/vocabularies/validation/multipleOf.js
4741
+ // node_modules/ajv/dist/vocabularies/validation/multipleOf.js
4716
4742
  var require_multipleOf = __commonJS({
4717
- "../node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
4743
+ "node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
4718
4744
  "use strict";
4719
4745
  Object.defineProperty(exports, "__esModule", { value: true });
4720
4746
  var codegen_1 = require_codegen();
@@ -4740,9 +4766,9 @@ var require_multipleOf = __commonJS({
4740
4766
  }
4741
4767
  });
4742
4768
 
4743
- // ../node_modules/ajv/dist/runtime/ucs2length.js
4769
+ // node_modules/ajv/dist/runtime/ucs2length.js
4744
4770
  var require_ucs2length = __commonJS({
4745
- "../node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
4771
+ "node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
4746
4772
  "use strict";
4747
4773
  Object.defineProperty(exports, "__esModule", { value: true });
4748
4774
  function ucs2length(str) {
@@ -4766,9 +4792,9 @@ var require_ucs2length = __commonJS({
4766
4792
  }
4767
4793
  });
4768
4794
 
4769
- // ../node_modules/ajv/dist/vocabularies/validation/limitLength.js
4795
+ // node_modules/ajv/dist/vocabularies/validation/limitLength.js
4770
4796
  var require_limitLength = __commonJS({
4771
- "../node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
4797
+ "node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
4772
4798
  "use strict";
4773
4799
  Object.defineProperty(exports, "__esModule", { value: true });
4774
4800
  var codegen_1 = require_codegen();
@@ -4798,9 +4824,9 @@ var require_limitLength = __commonJS({
4798
4824
  }
4799
4825
  });
4800
4826
 
4801
- // ../node_modules/ajv/dist/vocabularies/validation/pattern.js
4827
+ // node_modules/ajv/dist/vocabularies/validation/pattern.js
4802
4828
  var require_pattern = __commonJS({
4803
- "../node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
4829
+ "node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
4804
4830
  "use strict";
4805
4831
  Object.defineProperty(exports, "__esModule", { value: true });
4806
4832
  var code_1 = require_code2();
@@ -4835,9 +4861,9 @@ var require_pattern = __commonJS({
4835
4861
  }
4836
4862
  });
4837
4863
 
4838
- // ../node_modules/ajv/dist/vocabularies/validation/limitProperties.js
4864
+ // node_modules/ajv/dist/vocabularies/validation/limitProperties.js
4839
4865
  var require_limitProperties = __commonJS({
4840
- "../node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
4866
+ "node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
4841
4867
  "use strict";
4842
4868
  Object.defineProperty(exports, "__esModule", { value: true });
4843
4869
  var codegen_1 = require_codegen();
@@ -4864,9 +4890,9 @@ var require_limitProperties = __commonJS({
4864
4890
  }
4865
4891
  });
4866
4892
 
4867
- // ../node_modules/ajv/dist/vocabularies/validation/required.js
4893
+ // node_modules/ajv/dist/vocabularies/validation/required.js
4868
4894
  var require_required = __commonJS({
4869
- "../node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
4895
+ "node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
4870
4896
  "use strict";
4871
4897
  Object.defineProperty(exports, "__esModule", { value: true });
4872
4898
  var code_1 = require_code2();
@@ -4946,9 +4972,9 @@ var require_required = __commonJS({
4946
4972
  }
4947
4973
  });
4948
4974
 
4949
- // ../node_modules/ajv/dist/vocabularies/validation/limitItems.js
4975
+ // node_modules/ajv/dist/vocabularies/validation/limitItems.js
4950
4976
  var require_limitItems = __commonJS({
4951
- "../node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
4977
+ "node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
4952
4978
  "use strict";
4953
4979
  Object.defineProperty(exports, "__esModule", { value: true });
4954
4980
  var codegen_1 = require_codegen();
@@ -4975,9 +5001,9 @@ var require_limitItems = __commonJS({
4975
5001
  }
4976
5002
  });
4977
5003
 
4978
- // ../node_modules/ajv/dist/runtime/equal.js
5004
+ // node_modules/ajv/dist/runtime/equal.js
4979
5005
  var require_equal = __commonJS({
4980
- "../node_modules/ajv/dist/runtime/equal.js"(exports) {
5006
+ "node_modules/ajv/dist/runtime/equal.js"(exports) {
4981
5007
  "use strict";
4982
5008
  Object.defineProperty(exports, "__esModule", { value: true });
4983
5009
  var equal = require_fast_deep_equal();
@@ -4986,9 +5012,9 @@ var require_equal = __commonJS({
4986
5012
  }
4987
5013
  });
4988
5014
 
4989
- // ../node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
5015
+ // node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
4990
5016
  var require_uniqueItems = __commonJS({
4991
- "../node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
5017
+ "node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
4992
5018
  "use strict";
4993
5019
  Object.defineProperty(exports, "__esModule", { value: true });
4994
5020
  var dataType_1 = require_dataType();
@@ -5053,9 +5079,9 @@ var require_uniqueItems = __commonJS({
5053
5079
  }
5054
5080
  });
5055
5081
 
5056
- // ../node_modules/ajv/dist/vocabularies/validation/const.js
5082
+ // node_modules/ajv/dist/vocabularies/validation/const.js
5057
5083
  var require_const = __commonJS({
5058
- "../node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
5084
+ "node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
5059
5085
  "use strict";
5060
5086
  Object.defineProperty(exports, "__esModule", { value: true });
5061
5087
  var codegen_1 = require_codegen();
@@ -5082,9 +5108,9 @@ var require_const = __commonJS({
5082
5108
  }
5083
5109
  });
5084
5110
 
5085
- // ../node_modules/ajv/dist/vocabularies/validation/enum.js
5111
+ // node_modules/ajv/dist/vocabularies/validation/enum.js
5086
5112
  var require_enum = __commonJS({
5087
- "../node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
5113
+ "node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
5088
5114
  "use strict";
5089
5115
  Object.defineProperty(exports, "__esModule", { value: true });
5090
5116
  var codegen_1 = require_codegen();
@@ -5131,9 +5157,9 @@ var require_enum = __commonJS({
5131
5157
  }
5132
5158
  });
5133
5159
 
5134
- // ../node_modules/ajv/dist/vocabularies/validation/index.js
5160
+ // node_modules/ajv/dist/vocabularies/validation/index.js
5135
5161
  var require_validation = __commonJS({
5136
- "../node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
5162
+ "node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
5137
5163
  "use strict";
5138
5164
  Object.defineProperty(exports, "__esModule", { value: true });
5139
5165
  var limitNumber_1 = require_limitNumber();
@@ -5169,9 +5195,9 @@ var require_validation = __commonJS({
5169
5195
  }
5170
5196
  });
5171
5197
 
5172
- // ../node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
5198
+ // node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
5173
5199
  var require_additionalItems = __commonJS({
5174
- "../node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
5200
+ "node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
5175
5201
  "use strict";
5176
5202
  Object.defineProperty(exports, "__esModule", { value: true });
5177
5203
  exports.validateAdditionalItems = void 0;
@@ -5222,9 +5248,9 @@ var require_additionalItems = __commonJS({
5222
5248
  }
5223
5249
  });
5224
5250
 
5225
- // ../node_modules/ajv/dist/vocabularies/applicator/items.js
5251
+ // node_modules/ajv/dist/vocabularies/applicator/items.js
5226
5252
  var require_items = __commonJS({
5227
- "../node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
5253
+ "node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
5228
5254
  "use strict";
5229
5255
  Object.defineProperty(exports, "__esModule", { value: true });
5230
5256
  exports.validateTuple = void 0;
@@ -5279,9 +5305,9 @@ var require_items = __commonJS({
5279
5305
  }
5280
5306
  });
5281
5307
 
5282
- // ../node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
5308
+ // node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
5283
5309
  var require_prefixItems = __commonJS({
5284
- "../node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
5310
+ "node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
5285
5311
  "use strict";
5286
5312
  Object.defineProperty(exports, "__esModule", { value: true });
5287
5313
  var items_1 = require_items();
@@ -5296,9 +5322,9 @@ var require_prefixItems = __commonJS({
5296
5322
  }
5297
5323
  });
5298
5324
 
5299
- // ../node_modules/ajv/dist/vocabularies/applicator/items2020.js
5325
+ // node_modules/ajv/dist/vocabularies/applicator/items2020.js
5300
5326
  var require_items2020 = __commonJS({
5301
- "../node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
5327
+ "node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
5302
5328
  "use strict";
5303
5329
  Object.defineProperty(exports, "__esModule", { value: true });
5304
5330
  var codegen_1 = require_codegen();
@@ -5331,9 +5357,9 @@ var require_items2020 = __commonJS({
5331
5357
  }
5332
5358
  });
5333
5359
 
5334
- // ../node_modules/ajv/dist/vocabularies/applicator/contains.js
5360
+ // node_modules/ajv/dist/vocabularies/applicator/contains.js
5335
5361
  var require_contains = __commonJS({
5336
- "../node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
5362
+ "node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
5337
5363
  "use strict";
5338
5364
  Object.defineProperty(exports, "__esModule", { value: true });
5339
5365
  var codegen_1 = require_codegen();
@@ -5425,9 +5451,9 @@ var require_contains = __commonJS({
5425
5451
  }
5426
5452
  });
5427
5453
 
5428
- // ../node_modules/ajv/dist/vocabularies/applicator/dependencies.js
5454
+ // node_modules/ajv/dist/vocabularies/applicator/dependencies.js
5429
5455
  var require_dependencies = __commonJS({
5430
- "../node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
5456
+ "node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
5431
5457
  "use strict";
5432
5458
  Object.defineProperty(exports, "__esModule", { value: true });
5433
5459
  exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
@@ -5519,9 +5545,9 @@ var require_dependencies = __commonJS({
5519
5545
  }
5520
5546
  });
5521
5547
 
5522
- // ../node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
5548
+ // node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
5523
5549
  var require_propertyNames = __commonJS({
5524
- "../node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
5550
+ "node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
5525
5551
  "use strict";
5526
5552
  Object.defineProperty(exports, "__esModule", { value: true });
5527
5553
  var codegen_1 = require_codegen();
@@ -5562,9 +5588,9 @@ var require_propertyNames = __commonJS({
5562
5588
  }
5563
5589
  });
5564
5590
 
5565
- // ../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
5591
+ // node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
5566
5592
  var require_additionalProperties = __commonJS({
5567
- "../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
5593
+ "node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
5568
5594
  "use strict";
5569
5595
  Object.defineProperty(exports, "__esModule", { value: true });
5570
5596
  var code_1 = require_code2();
@@ -5668,9 +5694,9 @@ var require_additionalProperties = __commonJS({
5668
5694
  }
5669
5695
  });
5670
5696
 
5671
- // ../node_modules/ajv/dist/vocabularies/applicator/properties.js
5697
+ // node_modules/ajv/dist/vocabularies/applicator/properties.js
5672
5698
  var require_properties = __commonJS({
5673
- "../node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
5699
+ "node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
5674
5700
  "use strict";
5675
5701
  Object.defineProperty(exports, "__esModule", { value: true });
5676
5702
  var validate_1 = require_validate();
@@ -5726,9 +5752,9 @@ var require_properties = __commonJS({
5726
5752
  }
5727
5753
  });
5728
5754
 
5729
- // ../node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
5755
+ // node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
5730
5756
  var require_patternProperties = __commonJS({
5731
- "../node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
5757
+ "node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
5732
5758
  "use strict";
5733
5759
  Object.defineProperty(exports, "__esModule", { value: true });
5734
5760
  var code_1 = require_code2();
@@ -5800,9 +5826,9 @@ var require_patternProperties = __commonJS({
5800
5826
  }
5801
5827
  });
5802
5828
 
5803
- // ../node_modules/ajv/dist/vocabularies/applicator/not.js
5829
+ // node_modules/ajv/dist/vocabularies/applicator/not.js
5804
5830
  var require_not = __commonJS({
5805
- "../node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
5831
+ "node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
5806
5832
  "use strict";
5807
5833
  Object.defineProperty(exports, "__esModule", { value: true });
5808
5834
  var util_1 = require_util();
@@ -5831,9 +5857,9 @@ var require_not = __commonJS({
5831
5857
  }
5832
5858
  });
5833
5859
 
5834
- // ../node_modules/ajv/dist/vocabularies/applicator/anyOf.js
5860
+ // node_modules/ajv/dist/vocabularies/applicator/anyOf.js
5835
5861
  var require_anyOf = __commonJS({
5836
- "../node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
5862
+ "node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
5837
5863
  "use strict";
5838
5864
  Object.defineProperty(exports, "__esModule", { value: true });
5839
5865
  var code_1 = require_code2();
@@ -5848,9 +5874,9 @@ var require_anyOf = __commonJS({
5848
5874
  }
5849
5875
  });
5850
5876
 
5851
- // ../node_modules/ajv/dist/vocabularies/applicator/oneOf.js
5877
+ // node_modules/ajv/dist/vocabularies/applicator/oneOf.js
5852
5878
  var require_oneOf = __commonJS({
5853
- "../node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
5879
+ "node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
5854
5880
  "use strict";
5855
5881
  Object.defineProperty(exports, "__esModule", { value: true });
5856
5882
  var codegen_1 = require_codegen();
@@ -5906,9 +5932,9 @@ var require_oneOf = __commonJS({
5906
5932
  }
5907
5933
  });
5908
5934
 
5909
- // ../node_modules/ajv/dist/vocabularies/applicator/allOf.js
5935
+ // node_modules/ajv/dist/vocabularies/applicator/allOf.js
5910
5936
  var require_allOf = __commonJS({
5911
- "../node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
5937
+ "node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
5912
5938
  "use strict";
5913
5939
  Object.defineProperty(exports, "__esModule", { value: true });
5914
5940
  var util_1 = require_util();
@@ -5933,9 +5959,9 @@ var require_allOf = __commonJS({
5933
5959
  }
5934
5960
  });
5935
5961
 
5936
- // ../node_modules/ajv/dist/vocabularies/applicator/if.js
5962
+ // node_modules/ajv/dist/vocabularies/applicator/if.js
5937
5963
  var require_if = __commonJS({
5938
- "../node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
5964
+ "node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
5939
5965
  "use strict";
5940
5966
  Object.defineProperty(exports, "__esModule", { value: true });
5941
5967
  var codegen_1 = require_codegen();
@@ -6002,9 +6028,9 @@ var require_if = __commonJS({
6002
6028
  }
6003
6029
  });
6004
6030
 
6005
- // ../node_modules/ajv/dist/vocabularies/applicator/thenElse.js
6031
+ // node_modules/ajv/dist/vocabularies/applicator/thenElse.js
6006
6032
  var require_thenElse = __commonJS({
6007
- "../node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
6033
+ "node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
6008
6034
  "use strict";
6009
6035
  Object.defineProperty(exports, "__esModule", { value: true });
6010
6036
  var util_1 = require_util();
@@ -6020,9 +6046,9 @@ var require_thenElse = __commonJS({
6020
6046
  }
6021
6047
  });
6022
6048
 
6023
- // ../node_modules/ajv/dist/vocabularies/applicator/index.js
6049
+ // node_modules/ajv/dist/vocabularies/applicator/index.js
6024
6050
  var require_applicator = __commonJS({
6025
- "../node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
6051
+ "node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
6026
6052
  "use strict";
6027
6053
  Object.defineProperty(exports, "__esModule", { value: true });
6028
6054
  var additionalItems_1 = require_additionalItems();
@@ -6068,9 +6094,9 @@ var require_applicator = __commonJS({
6068
6094
  }
6069
6095
  });
6070
6096
 
6071
- // ../node_modules/ajv/dist/vocabularies/format/format.js
6097
+ // node_modules/ajv/dist/vocabularies/format/format.js
6072
6098
  var require_format = __commonJS({
6073
- "../node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
6099
+ "node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
6074
6100
  "use strict";
6075
6101
  Object.defineProperty(exports, "__esModule", { value: true });
6076
6102
  var codegen_1 = require_codegen();
@@ -6158,9 +6184,9 @@ var require_format = __commonJS({
6158
6184
  }
6159
6185
  });
6160
6186
 
6161
- // ../node_modules/ajv/dist/vocabularies/format/index.js
6187
+ // node_modules/ajv/dist/vocabularies/format/index.js
6162
6188
  var require_format2 = __commonJS({
6163
- "../node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
6189
+ "node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
6164
6190
  "use strict";
6165
6191
  Object.defineProperty(exports, "__esModule", { value: true });
6166
6192
  var format_1 = require_format();
@@ -6169,9 +6195,9 @@ var require_format2 = __commonJS({
6169
6195
  }
6170
6196
  });
6171
6197
 
6172
- // ../node_modules/ajv/dist/vocabularies/metadata.js
6198
+ // node_modules/ajv/dist/vocabularies/metadata.js
6173
6199
  var require_metadata = __commonJS({
6174
- "../node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
6200
+ "node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
6175
6201
  "use strict";
6176
6202
  Object.defineProperty(exports, "__esModule", { value: true });
6177
6203
  exports.contentVocabulary = exports.metadataVocabulary = void 0;
@@ -6192,9 +6218,9 @@ var require_metadata = __commonJS({
6192
6218
  }
6193
6219
  });
6194
6220
 
6195
- // ../node_modules/ajv/dist/vocabularies/draft7.js
6221
+ // node_modules/ajv/dist/vocabularies/draft7.js
6196
6222
  var require_draft7 = __commonJS({
6197
- "../node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
6223
+ "node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
6198
6224
  "use strict";
6199
6225
  Object.defineProperty(exports, "__esModule", { value: true });
6200
6226
  var core_1 = require_core2();
@@ -6214,9 +6240,9 @@ var require_draft7 = __commonJS({
6214
6240
  }
6215
6241
  });
6216
6242
 
6217
- // ../node_modules/ajv/dist/vocabularies/discriminator/types.js
6243
+ // node_modules/ajv/dist/vocabularies/discriminator/types.js
6218
6244
  var require_types = __commonJS({
6219
- "../node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
6245
+ "node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
6220
6246
  "use strict";
6221
6247
  Object.defineProperty(exports, "__esModule", { value: true });
6222
6248
  exports.DiscrError = void 0;
@@ -6228,9 +6254,9 @@ var require_types = __commonJS({
6228
6254
  }
6229
6255
  });
6230
6256
 
6231
- // ../node_modules/ajv/dist/vocabularies/discriminator/index.js
6257
+ // node_modules/ajv/dist/vocabularies/discriminator/index.js
6232
6258
  var require_discriminator = __commonJS({
6233
- "../node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
6259
+ "node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
6234
6260
  "use strict";
6235
6261
  Object.defineProperty(exports, "__esModule", { value: true });
6236
6262
  var codegen_1 = require_codegen();
@@ -6333,9 +6359,9 @@ var require_discriminator = __commonJS({
6333
6359
  }
6334
6360
  });
6335
6361
 
6336
- // ../node_modules/ajv/dist/refs/json-schema-draft-07.json
6362
+ // node_modules/ajv/dist/refs/json-schema-draft-07.json
6337
6363
  var require_json_schema_draft_07 = __commonJS({
6338
- "../node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module) {
6364
+ "node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module) {
6339
6365
  module.exports = {
6340
6366
  $schema: "http://json-schema.org/draft-07/schema#",
6341
6367
  $id: "http://json-schema.org/draft-07/schema#",
@@ -6490,9 +6516,9 @@ var require_json_schema_draft_07 = __commonJS({
6490
6516
  }
6491
6517
  });
6492
6518
 
6493
- // ../node_modules/ajv/dist/ajv.js
6519
+ // node_modules/ajv/dist/ajv.js
6494
6520
  var require_ajv = __commonJS({
6495
- "../node_modules/ajv/dist/ajv.js"(exports, module) {
6521
+ "node_modules/ajv/dist/ajv.js"(exports, module) {
6496
6522
  "use strict";
6497
6523
  Object.defineProperty(exports, "__esModule", { value: true });
6498
6524
  exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
@@ -6560,9 +6586,9 @@ var require_ajv = __commonJS({
6560
6586
  }
6561
6587
  });
6562
6588
 
6563
- // ../node_modules/ajv-formats/dist/formats.js
6589
+ // node_modules/ajv-formats/dist/formats.js
6564
6590
  var require_formats = __commonJS({
6565
- "../node_modules/ajv-formats/dist/formats.js"(exports) {
6591
+ "node_modules/ajv-formats/dist/formats.js"(exports) {
6566
6592
  "use strict";
6567
6593
  Object.defineProperty(exports, "__esModule", { value: true });
6568
6594
  exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
@@ -6763,9 +6789,9 @@ var require_formats = __commonJS({
6763
6789
  }
6764
6790
  });
6765
6791
 
6766
- // ../node_modules/ajv-formats/dist/limit.js
6792
+ // node_modules/ajv-formats/dist/limit.js
6767
6793
  var require_limit = __commonJS({
6768
- "../node_modules/ajv-formats/dist/limit.js"(exports) {
6794
+ "node_modules/ajv-formats/dist/limit.js"(exports) {
6769
6795
  "use strict";
6770
6796
  Object.defineProperty(exports, "__esModule", { value: true });
6771
6797
  exports.formatLimitDefinition = void 0;
@@ -6835,9 +6861,9 @@ var require_limit = __commonJS({
6835
6861
  }
6836
6862
  });
6837
6863
 
6838
- // ../node_modules/ajv-formats/dist/index.js
6864
+ // node_modules/ajv-formats/dist/index.js
6839
6865
  var require_dist = __commonJS({
6840
- "../node_modules/ajv-formats/dist/index.js"(exports, module) {
6866
+ "node_modules/ajv-formats/dist/index.js"(exports, module) {
6841
6867
  "use strict";
6842
6868
  Object.defineProperty(exports, "__esModule", { value: true });
6843
6869
  var formats_1 = require_formats();
@@ -6881,7 +6907,7 @@ var require_dist = __commonJS({
6881
6907
  import { readFileSync } from "node:fs";
6882
6908
  import { fileURLToPath } from "node:url";
6883
6909
 
6884
- // ../node_modules/zod/v3/helpers/util.js
6910
+ // node_modules/zod/v3/helpers/util.js
6885
6911
  var util;
6886
6912
  (function(util2) {
6887
6913
  util2.assertEqual = (_) => {
@@ -7015,7 +7041,7 @@ var getParsedType = (data) => {
7015
7041
  }
7016
7042
  };
7017
7043
 
7018
- // ../node_modules/zod/v3/ZodError.js
7044
+ // node_modules/zod/v3/ZodError.js
7019
7045
  var ZodIssueCode = util.arrayToEnum([
7020
7046
  "invalid_type",
7021
7047
  "invalid_literal",
@@ -7129,7 +7155,7 @@ ZodError.create = (issues) => {
7129
7155
  return error51;
7130
7156
  };
7131
7157
 
7132
- // ../node_modules/zod/v3/locales/en.js
7158
+ // node_modules/zod/v3/locales/en.js
7133
7159
  var errorMap = (issue2, _ctx) => {
7134
7160
  let message;
7135
7161
  switch (issue2.code) {
@@ -7232,13 +7258,13 @@ var errorMap = (issue2, _ctx) => {
7232
7258
  };
7233
7259
  var en_default = errorMap;
7234
7260
 
7235
- // ../node_modules/zod/v3/errors.js
7261
+ // node_modules/zod/v3/errors.js
7236
7262
  var overrideErrorMap = en_default;
7237
7263
  function getErrorMap() {
7238
7264
  return overrideErrorMap;
7239
7265
  }
7240
7266
 
7241
- // ../node_modules/zod/v3/helpers/parseUtil.js
7267
+ // node_modules/zod/v3/helpers/parseUtil.js
7242
7268
  var makeIssue = (params) => {
7243
7269
  const { data, path, errorMaps, issueData } = params;
7244
7270
  const fullPath = [...path, ...issueData.path || []];
@@ -7347,14 +7373,14 @@ var isDirty = (x) => x.status === "dirty";
7347
7373
  var isValid = (x) => x.status === "valid";
7348
7374
  var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
7349
7375
 
7350
- // ../node_modules/zod/v3/helpers/errorUtil.js
7376
+ // node_modules/zod/v3/helpers/errorUtil.js
7351
7377
  var errorUtil;
7352
7378
  (function(errorUtil2) {
7353
7379
  errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
7354
7380
  errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
7355
7381
  })(errorUtil || (errorUtil = {}));
7356
7382
 
7357
- // ../node_modules/zod/v3/types.js
7383
+ // node_modules/zod/v3/types.js
7358
7384
  var ParseInputLazyPath = class {
7359
7385
  constructor(parent, value, path, key) {
7360
7386
  this._cachedPath = [];
@@ -10758,7 +10784,7 @@ var nullableType = ZodNullable.create;
10758
10784
  var preprocessType = ZodEffects.createWithPreprocess;
10759
10785
  var pipelineType = ZodPipeline.create;
10760
10786
 
10761
- // ../node_modules/zod/v4/core/index.js
10787
+ // node_modules/zod/v4/core/index.js
10762
10788
  var core_exports2 = {};
10763
10789
  __export(core_exports2, {
10764
10790
  $ZodAny: () => $ZodAny,
@@ -11037,7 +11063,7 @@ __export(core_exports2, {
11037
11063
  version: () => version
11038
11064
  });
11039
11065
 
11040
- // ../node_modules/zod/v4/core/core.js
11066
+ // node_modules/zod/v4/core/core.js
11041
11067
  var _a;
11042
11068
  var NEVER = /* @__PURE__ */ Object.freeze({
11043
11069
  status: "aborted"
@@ -11114,7 +11140,7 @@ function config(newConfig) {
11114
11140
  return globalConfig;
11115
11141
  }
11116
11142
 
11117
- // ../node_modules/zod/v4/core/util.js
11143
+ // node_modules/zod/v4/core/util.js
11118
11144
  var util_exports = {};
11119
11145
  __export(util_exports, {
11120
11146
  BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
@@ -11810,7 +11836,7 @@ var Class = class {
11810
11836
  }
11811
11837
  };
11812
11838
 
11813
- // ../node_modules/zod/v4/core/errors.js
11839
+ // node_modules/zod/v4/core/errors.js
11814
11840
  var initializer = (inst, def) => {
11815
11841
  inst.name = "$ZodError";
11816
11842
  Object.defineProperty(inst, "_zod", {
@@ -11949,7 +11975,7 @@ function prettifyError(error51) {
11949
11975
  return lines.join("\n");
11950
11976
  }
11951
11977
 
11952
- // ../node_modules/zod/v4/core/parse.js
11978
+ // node_modules/zod/v4/core/parse.js
11953
11979
  var _parse = (_Err) => (schema, value, _ctx, _params) => {
11954
11980
  const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
11955
11981
  const result = schema._zod.run({ value, issues: [] }, ctx);
@@ -12037,7 +12063,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
12037
12063
  };
12038
12064
  var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync($ZodRealError);
12039
12065
 
12040
- // ../node_modules/zod/v4/core/regexes.js
12066
+ // node_modules/zod/v4/core/regexes.js
12041
12067
  var regexes_exports = {};
12042
12068
  __export(regexes_exports, {
12043
12069
  base64: () => base64,
@@ -12196,7 +12222,7 @@ var sha512_hex = /^[0-9a-fA-F]{128}$/;
12196
12222
  var sha512_base64 = /* @__PURE__ */ fixedBase64(86, "==");
12197
12223
  var sha512_base64url = /* @__PURE__ */ fixedBase64url(86);
12198
12224
 
12199
- // ../node_modules/zod/v4/core/checks.js
12225
+ // node_modules/zod/v4/core/checks.js
12200
12226
  var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
12201
12227
  var _a3;
12202
12228
  inst._zod ?? (inst._zod = {});
@@ -12744,7 +12770,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
12744
12770
  };
12745
12771
  });
12746
12772
 
12747
- // ../node_modules/zod/v4/core/doc.js
12773
+ // node_modules/zod/v4/core/doc.js
12748
12774
  var Doc = class {
12749
12775
  constructor(args = []) {
12750
12776
  this.content = [];
@@ -12780,14 +12806,14 @@ var Doc = class {
12780
12806
  }
12781
12807
  };
12782
12808
 
12783
- // ../node_modules/zod/v4/core/versions.js
12809
+ // node_modules/zod/v4/core/versions.js
12784
12810
  var version = {
12785
12811
  major: 4,
12786
12812
  minor: 4,
12787
12813
  patch: 3
12788
12814
  };
12789
12815
 
12790
- // ../node_modules/zod/v4/core/schemas.js
12816
+ // node_modules/zod/v4/core/schemas.js
12791
12817
  var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
12792
12818
  var _a3;
12793
12819
  inst ?? (inst = {});
@@ -14880,7 +14906,7 @@ function handleRefineResult(result, payload, input, inst) {
14880
14906
  }
14881
14907
  }
14882
14908
 
14883
- // ../node_modules/zod/v4/locales/index.js
14909
+ // node_modules/zod/v4/locales/index.js
14884
14910
  var locales_exports = {};
14885
14911
  __export(locales_exports, {
14886
14912
  ar: () => ar_default,
@@ -14937,7 +14963,7 @@ __export(locales_exports, {
14937
14963
  zhTW: () => zh_TW_default
14938
14964
  });
14939
14965
 
14940
- // ../node_modules/zod/v4/locales/ar.js
14966
+ // node_modules/zod/v4/locales/ar.js
14941
14967
  var error = () => {
14942
14968
  const Sizable = {
14943
14969
  string: { unit: "\u062D\u0631\u0641", verb: "\u0623\u0646 \u064A\u062D\u0648\u064A" },
@@ -15044,7 +15070,7 @@ function ar_default() {
15044
15070
  };
15045
15071
  }
15046
15072
 
15047
- // ../node_modules/zod/v4/locales/az.js
15073
+ // node_modules/zod/v4/locales/az.js
15048
15074
  var error2 = () => {
15049
15075
  const Sizable = {
15050
15076
  string: { unit: "simvol", verb: "olmal\u0131d\u0131r" },
@@ -15150,7 +15176,7 @@ function az_default() {
15150
15176
  };
15151
15177
  }
15152
15178
 
15153
- // ../node_modules/zod/v4/locales/be.js
15179
+ // node_modules/zod/v4/locales/be.js
15154
15180
  function getBelarusianPlural(count, one, few, many) {
15155
15181
  const absCount = Math.abs(count);
15156
15182
  const lastDigit = absCount % 10;
@@ -15307,7 +15333,7 @@ function be_default() {
15307
15333
  };
15308
15334
  }
15309
15335
 
15310
- // ../node_modules/zod/v4/locales/bg.js
15336
+ // node_modules/zod/v4/locales/bg.js
15311
15337
  var error4 = () => {
15312
15338
  const Sizable = {
15313
15339
  string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0430", verb: "\u0434\u0430 \u0441\u044A\u0434\u044A\u0440\u0436\u0430" },
@@ -15428,7 +15454,7 @@ function bg_default() {
15428
15454
  };
15429
15455
  }
15430
15456
 
15431
- // ../node_modules/zod/v4/locales/ca.js
15457
+ // node_modules/zod/v4/locales/ca.js
15432
15458
  var error5 = () => {
15433
15459
  const Sizable = {
15434
15460
  string: { unit: "car\xE0cters", verb: "contenir" },
@@ -15537,7 +15563,7 @@ function ca_default() {
15537
15563
  };
15538
15564
  }
15539
15565
 
15540
- // ../node_modules/zod/v4/locales/cs.js
15566
+ // node_modules/zod/v4/locales/cs.js
15541
15567
  var error6 = () => {
15542
15568
  const Sizable = {
15543
15569
  string: { unit: "znak\u016F", verb: "m\xEDt" },
@@ -15649,7 +15675,7 @@ function cs_default() {
15649
15675
  };
15650
15676
  }
15651
15677
 
15652
- // ../node_modules/zod/v4/locales/da.js
15678
+ // node_modules/zod/v4/locales/da.js
15653
15679
  var error7 = () => {
15654
15680
  const Sizable = {
15655
15681
  string: { unit: "tegn", verb: "havde" },
@@ -15765,7 +15791,7 @@ function da_default() {
15765
15791
  };
15766
15792
  }
15767
15793
 
15768
- // ../node_modules/zod/v4/locales/de.js
15794
+ // node_modules/zod/v4/locales/de.js
15769
15795
  var error8 = () => {
15770
15796
  const Sizable = {
15771
15797
  string: { unit: "Zeichen", verb: "zu haben" },
@@ -15874,7 +15900,7 @@ function de_default() {
15874
15900
  };
15875
15901
  }
15876
15902
 
15877
- // ../node_modules/zod/v4/locales/el.js
15903
+ // node_modules/zod/v4/locales/el.js
15878
15904
  var error9 = () => {
15879
15905
  const Sizable = {
15880
15906
  string: { unit: "\u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2", verb: "\u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9" },
@@ -15984,7 +16010,7 @@ function el_default() {
15984
16010
  };
15985
16011
  }
15986
16012
 
15987
- // ../node_modules/zod/v4/locales/en.js
16013
+ // node_modules/zod/v4/locales/en.js
15988
16014
  var error10 = () => {
15989
16015
  const Sizable = {
15990
16016
  string: { unit: "characters", verb: "to have" },
@@ -16097,7 +16123,7 @@ function en_default2() {
16097
16123
  };
16098
16124
  }
16099
16125
 
16100
- // ../node_modules/zod/v4/locales/eo.js
16126
+ // node_modules/zod/v4/locales/eo.js
16101
16127
  var error11 = () => {
16102
16128
  const Sizable = {
16103
16129
  string: { unit: "karaktrojn", verb: "havi" },
@@ -16207,7 +16233,7 @@ function eo_default() {
16207
16233
  };
16208
16234
  }
16209
16235
 
16210
- // ../node_modules/zod/v4/locales/es.js
16236
+ // node_modules/zod/v4/locales/es.js
16211
16237
  var error12 = () => {
16212
16238
  const Sizable = {
16213
16239
  string: { unit: "caracteres", verb: "tener" },
@@ -16340,7 +16366,7 @@ function es_default() {
16340
16366
  };
16341
16367
  }
16342
16368
 
16343
- // ../node_modules/zod/v4/locales/fa.js
16369
+ // node_modules/zod/v4/locales/fa.js
16344
16370
  var error13 = () => {
16345
16371
  const Sizable = {
16346
16372
  string: { unit: "\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631", verb: "\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F" },
@@ -16455,7 +16481,7 @@ function fa_default() {
16455
16481
  };
16456
16482
  }
16457
16483
 
16458
- // ../node_modules/zod/v4/locales/fi.js
16484
+ // node_modules/zod/v4/locales/fi.js
16459
16485
  var error14 = () => {
16460
16486
  const Sizable = {
16461
16487
  string: { unit: "merkki\xE4", subject: "merkkijonon" },
@@ -16568,7 +16594,7 @@ function fi_default() {
16568
16594
  };
16569
16595
  }
16570
16596
 
16571
- // ../node_modules/zod/v4/locales/fr.js
16597
+ // node_modules/zod/v4/locales/fr.js
16572
16598
  var error15 = () => {
16573
16599
  const Sizable = {
16574
16600
  string: { unit: "caract\xE8res", verb: "avoir" },
@@ -16694,7 +16720,7 @@ function fr_default() {
16694
16720
  };
16695
16721
  }
16696
16722
 
16697
- // ../node_modules/zod/v4/locales/fr-CA.js
16723
+ // node_modules/zod/v4/locales/fr-CA.js
16698
16724
  var error16 = () => {
16699
16725
  const Sizable = {
16700
16726
  string: { unit: "caract\xE8res", verb: "avoir" },
@@ -16802,7 +16828,7 @@ function fr_CA_default() {
16802
16828
  };
16803
16829
  }
16804
16830
 
16805
- // ../node_modules/zod/v4/locales/he.js
16831
+ // node_modules/zod/v4/locales/he.js
16806
16832
  var error17 = () => {
16807
16833
  const TypeNames = {
16808
16834
  string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA", gender: "f" },
@@ -16997,7 +17023,7 @@ function he_default() {
16997
17023
  };
16998
17024
  }
16999
17025
 
17000
- // ../node_modules/zod/v4/locales/hr.js
17026
+ // node_modules/zod/v4/locales/hr.js
17001
17027
  var error18 = () => {
17002
17028
  const Sizable = {
17003
17029
  string: { unit: "znakova", verb: "imati" },
@@ -17120,7 +17146,7 @@ function hr_default() {
17120
17146
  };
17121
17147
  }
17122
17148
 
17123
- // ../node_modules/zod/v4/locales/hu.js
17149
+ // node_modules/zod/v4/locales/hu.js
17124
17150
  var error19 = () => {
17125
17151
  const Sizable = {
17126
17152
  string: { unit: "karakter", verb: "legyen" },
@@ -17229,7 +17255,7 @@ function hu_default() {
17229
17255
  };
17230
17256
  }
17231
17257
 
17232
- // ../node_modules/zod/v4/locales/hy.js
17258
+ // node_modules/zod/v4/locales/hy.js
17233
17259
  function getArmenianPlural(count, one, many) {
17234
17260
  return Math.abs(count) === 1 ? one : many;
17235
17261
  }
@@ -17377,7 +17403,7 @@ function hy_default() {
17377
17403
  };
17378
17404
  }
17379
17405
 
17380
- // ../node_modules/zod/v4/locales/id.js
17406
+ // node_modules/zod/v4/locales/id.js
17381
17407
  var error21 = () => {
17382
17408
  const Sizable = {
17383
17409
  string: { unit: "karakter", verb: "memiliki" },
@@ -17484,7 +17510,7 @@ function id_default() {
17484
17510
  };
17485
17511
  }
17486
17512
 
17487
- // ../node_modules/zod/v4/locales/is.js
17513
+ // node_modules/zod/v4/locales/is.js
17488
17514
  var error22 = () => {
17489
17515
  const Sizable = {
17490
17516
  string: { unit: "stafi", verb: "a\xF0 hafa" },
@@ -17594,7 +17620,7 @@ function is_default() {
17594
17620
  };
17595
17621
  }
17596
17622
 
17597
- // ../node_modules/zod/v4/locales/it.js
17623
+ // node_modules/zod/v4/locales/it.js
17598
17624
  var error23 = () => {
17599
17625
  const Sizable = {
17600
17626
  string: { unit: "caratteri", verb: "avere" },
@@ -17703,7 +17729,7 @@ function it_default() {
17703
17729
  };
17704
17730
  }
17705
17731
 
17706
- // ../node_modules/zod/v4/locales/ja.js
17732
+ // node_modules/zod/v4/locales/ja.js
17707
17733
  var error24 = () => {
17708
17734
  const Sizable = {
17709
17735
  string: { unit: "\u6587\u5B57", verb: "\u3067\u3042\u308B" },
@@ -17811,7 +17837,7 @@ function ja_default() {
17811
17837
  };
17812
17838
  }
17813
17839
 
17814
- // ../node_modules/zod/v4/locales/ka.js
17840
+ // node_modules/zod/v4/locales/ka.js
17815
17841
  var error25 = () => {
17816
17842
  const Sizable = {
17817
17843
  string: { unit: "\u10E1\u10D8\u10DB\u10D1\u10DD\u10DA\u10DD", verb: "\u10E3\u10DC\u10D3\u10D0 \u10E8\u10D4\u10D8\u10EA\u10D0\u10D5\u10D3\u10D4\u10E1" },
@@ -17924,7 +17950,7 @@ function ka_default() {
17924
17950
  };
17925
17951
  }
17926
17952
 
17927
- // ../node_modules/zod/v4/locales/km.js
17953
+ // node_modules/zod/v4/locales/km.js
17928
17954
  var error26 = () => {
17929
17955
  const Sizable = {
17930
17956
  string: { unit: "\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A", verb: "\u1782\u17BD\u179A\u1798\u17B6\u1793" },
@@ -18035,12 +18061,12 @@ function km_default() {
18035
18061
  };
18036
18062
  }
18037
18063
 
18038
- // ../node_modules/zod/v4/locales/kh.js
18064
+ // node_modules/zod/v4/locales/kh.js
18039
18065
  function kh_default() {
18040
18066
  return km_default();
18041
18067
  }
18042
18068
 
18043
- // ../node_modules/zod/v4/locales/ko.js
18069
+ // node_modules/zod/v4/locales/ko.js
18044
18070
  var error27 = () => {
18045
18071
  const Sizable = {
18046
18072
  string: { unit: "\uBB38\uC790", verb: "to have" },
@@ -18152,7 +18178,7 @@ function ko_default() {
18152
18178
  };
18153
18179
  }
18154
18180
 
18155
- // ../node_modules/zod/v4/locales/lt.js
18181
+ // node_modules/zod/v4/locales/lt.js
18156
18182
  var capitalizeFirstCharacter = (text) => {
18157
18183
  return text.charAt(0).toUpperCase() + text.slice(1);
18158
18184
  };
@@ -18356,7 +18382,7 @@ function lt_default() {
18356
18382
  };
18357
18383
  }
18358
18384
 
18359
- // ../node_modules/zod/v4/locales/mk.js
18385
+ // node_modules/zod/v4/locales/mk.js
18360
18386
  var error29 = () => {
18361
18387
  const Sizable = {
18362
18388
  string: { unit: "\u0437\u043D\u0430\u0446\u0438", verb: "\u0434\u0430 \u0438\u043C\u0430\u0430\u0442" },
@@ -18466,7 +18492,7 @@ function mk_default() {
18466
18492
  };
18467
18493
  }
18468
18494
 
18469
- // ../node_modules/zod/v4/locales/ms.js
18495
+ // node_modules/zod/v4/locales/ms.js
18470
18496
  var error30 = () => {
18471
18497
  const Sizable = {
18472
18498
  string: { unit: "aksara", verb: "mempunyai" },
@@ -18574,7 +18600,7 @@ function ms_default() {
18574
18600
  };
18575
18601
  }
18576
18602
 
18577
- // ../node_modules/zod/v4/locales/nl.js
18603
+ // node_modules/zod/v4/locales/nl.js
18578
18604
  var error31 = () => {
18579
18605
  const Sizable = {
18580
18606
  string: { unit: "tekens", verb: "heeft" },
@@ -18685,7 +18711,7 @@ function nl_default() {
18685
18711
  };
18686
18712
  }
18687
18713
 
18688
- // ../node_modules/zod/v4/locales/no.js
18714
+ // node_modules/zod/v4/locales/no.js
18689
18715
  var error32 = () => {
18690
18716
  const Sizable = {
18691
18717
  string: { unit: "tegn", verb: "\xE5 ha" },
@@ -18794,7 +18820,7 @@ function no_default() {
18794
18820
  };
18795
18821
  }
18796
18822
 
18797
- // ../node_modules/zod/v4/locales/ota.js
18823
+ // node_modules/zod/v4/locales/ota.js
18798
18824
  var error33 = () => {
18799
18825
  const Sizable = {
18800
18826
  string: { unit: "harf", verb: "olmal\u0131d\u0131r" },
@@ -18904,7 +18930,7 @@ function ota_default() {
18904
18930
  };
18905
18931
  }
18906
18932
 
18907
- // ../node_modules/zod/v4/locales/ps.js
18933
+ // node_modules/zod/v4/locales/ps.js
18908
18934
  var error34 = () => {
18909
18935
  const Sizable = {
18910
18936
  string: { unit: "\u062A\u0648\u06A9\u064A", verb: "\u0648\u0644\u0631\u064A" },
@@ -19019,7 +19045,7 @@ function ps_default() {
19019
19045
  };
19020
19046
  }
19021
19047
 
19022
- // ../node_modules/zod/v4/locales/pl.js
19048
+ // node_modules/zod/v4/locales/pl.js
19023
19049
  var error35 = () => {
19024
19050
  const Sizable = {
19025
19051
  string: { unit: "znak\xF3w", verb: "mie\u0107" },
@@ -19129,7 +19155,7 @@ function pl_default() {
19129
19155
  };
19130
19156
  }
19131
19157
 
19132
- // ../node_modules/zod/v4/locales/pt.js
19158
+ // node_modules/zod/v4/locales/pt.js
19133
19159
  var error36 = () => {
19134
19160
  const Sizable = {
19135
19161
  string: { unit: "caracteres", verb: "ter" },
@@ -19238,7 +19264,7 @@ function pt_default() {
19238
19264
  };
19239
19265
  }
19240
19266
 
19241
- // ../node_modules/zod/v4/locales/ro.js
19267
+ // node_modules/zod/v4/locales/ro.js
19242
19268
  var error37 = () => {
19243
19269
  const Sizable = {
19244
19270
  string: { unit: "caractere", verb: "s\u0103 aib\u0103" },
@@ -19358,7 +19384,7 @@ function ro_default() {
19358
19384
  };
19359
19385
  }
19360
19386
 
19361
- // ../node_modules/zod/v4/locales/ru.js
19387
+ // node_modules/zod/v4/locales/ru.js
19362
19388
  function getRussianPlural(count, one, few, many) {
19363
19389
  const absCount = Math.abs(count);
19364
19390
  const lastDigit = absCount % 10;
@@ -19515,7 +19541,7 @@ function ru_default() {
19515
19541
  };
19516
19542
  }
19517
19543
 
19518
- // ../node_modules/zod/v4/locales/sl.js
19544
+ // node_modules/zod/v4/locales/sl.js
19519
19545
  var error39 = () => {
19520
19546
  const Sizable = {
19521
19547
  string: { unit: "znakov", verb: "imeti" },
@@ -19625,7 +19651,7 @@ function sl_default() {
19625
19651
  };
19626
19652
  }
19627
19653
 
19628
- // ../node_modules/zod/v4/locales/sv.js
19654
+ // node_modules/zod/v4/locales/sv.js
19629
19655
  var error40 = () => {
19630
19656
  const Sizable = {
19631
19657
  string: { unit: "tecken", verb: "att ha" },
@@ -19736,7 +19762,7 @@ function sv_default() {
19736
19762
  };
19737
19763
  }
19738
19764
 
19739
- // ../node_modules/zod/v4/locales/ta.js
19765
+ // node_modules/zod/v4/locales/ta.js
19740
19766
  var error41 = () => {
19741
19767
  const Sizable = {
19742
19768
  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" },
@@ -19847,7 +19873,7 @@ function ta_default() {
19847
19873
  };
19848
19874
  }
19849
19875
 
19850
- // ../node_modules/zod/v4/locales/th.js
19876
+ // node_modules/zod/v4/locales/th.js
19851
19877
  var error42 = () => {
19852
19878
  const Sizable = {
19853
19879
  string: { unit: "\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23", verb: "\u0E04\u0E27\u0E23\u0E21\u0E35" },
@@ -19958,7 +19984,7 @@ function th_default() {
19958
19984
  };
19959
19985
  }
19960
19986
 
19961
- // ../node_modules/zod/v4/locales/tr.js
19987
+ // node_modules/zod/v4/locales/tr.js
19962
19988
  var error43 = () => {
19963
19989
  const Sizable = {
19964
19990
  string: { unit: "karakter", verb: "olmal\u0131" },
@@ -20064,7 +20090,7 @@ function tr_default() {
20064
20090
  };
20065
20091
  }
20066
20092
 
20067
- // ../node_modules/zod/v4/locales/uk.js
20093
+ // node_modules/zod/v4/locales/uk.js
20068
20094
  var error44 = () => {
20069
20095
  const Sizable = {
20070
20096
  string: { unit: "\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432", verb: "\u043C\u0430\u0442\u0438\u043C\u0435" },
@@ -20173,12 +20199,12 @@ function uk_default() {
20173
20199
  };
20174
20200
  }
20175
20201
 
20176
- // ../node_modules/zod/v4/locales/ua.js
20202
+ // node_modules/zod/v4/locales/ua.js
20177
20203
  function ua_default() {
20178
20204
  return uk_default();
20179
20205
  }
20180
20206
 
20181
- // ../node_modules/zod/v4/locales/ur.js
20207
+ // node_modules/zod/v4/locales/ur.js
20182
20208
  var error45 = () => {
20183
20209
  const Sizable = {
20184
20210
  string: { unit: "\u062D\u0631\u0648\u0641", verb: "\u06C1\u0648\u0646\u0627" },
@@ -20289,7 +20315,7 @@ function ur_default() {
20289
20315
  };
20290
20316
  }
20291
20317
 
20292
- // ../node_modules/zod/v4/locales/uz.js
20318
+ // node_modules/zod/v4/locales/uz.js
20293
20319
  var error46 = () => {
20294
20320
  const Sizable = {
20295
20321
  string: { unit: "belgi", verb: "bo\u2018lishi kerak" },
@@ -20400,7 +20426,7 @@ function uz_default() {
20400
20426
  };
20401
20427
  }
20402
20428
 
20403
- // ../node_modules/zod/v4/locales/vi.js
20429
+ // node_modules/zod/v4/locales/vi.js
20404
20430
  var error47 = () => {
20405
20431
  const Sizable = {
20406
20432
  string: { unit: "k\xFD t\u1EF1", verb: "c\xF3" },
@@ -20509,7 +20535,7 @@ function vi_default() {
20509
20535
  };
20510
20536
  }
20511
20537
 
20512
- // ../node_modules/zod/v4/locales/zh-CN.js
20538
+ // node_modules/zod/v4/locales/zh-CN.js
20513
20539
  var error48 = () => {
20514
20540
  const Sizable = {
20515
20541
  string: { unit: "\u5B57\u7B26", verb: "\u5305\u542B" },
@@ -20619,7 +20645,7 @@ function zh_CN_default() {
20619
20645
  };
20620
20646
  }
20621
20647
 
20622
- // ../node_modules/zod/v4/locales/zh-TW.js
20648
+ // node_modules/zod/v4/locales/zh-TW.js
20623
20649
  var error49 = () => {
20624
20650
  const Sizable = {
20625
20651
  string: { unit: "\u5B57\u5143", verb: "\u64C1\u6709" },
@@ -20727,7 +20753,7 @@ function zh_TW_default() {
20727
20753
  };
20728
20754
  }
20729
20755
 
20730
- // ../node_modules/zod/v4/locales/yo.js
20756
+ // node_modules/zod/v4/locales/yo.js
20731
20757
  var error50 = () => {
20732
20758
  const Sizable = {
20733
20759
  string: { unit: "\xE0mi", verb: "n\xED" },
@@ -20835,7 +20861,7 @@ function yo_default() {
20835
20861
  };
20836
20862
  }
20837
20863
 
20838
- // ../node_modules/zod/v4/core/registries.js
20864
+ // node_modules/zod/v4/core/registries.js
20839
20865
  var _a2;
20840
20866
  var $output = Symbol("ZodOutput");
20841
20867
  var $input = Symbol("ZodInput");
@@ -20885,7 +20911,7 @@ function registry() {
20885
20911
  (_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
20886
20912
  var globalRegistry = globalThis.__zod_globalRegistry;
20887
20913
 
20888
- // ../node_modules/zod/v4/core/api.js
20914
+ // node_modules/zod/v4/core/api.js
20889
20915
  // @__NO_SIDE_EFFECTS__
20890
20916
  function _string(Class2, params) {
20891
20917
  return new Class2({
@@ -21924,7 +21950,7 @@ function _stringFormat(Class2, format, fnOrRegex, _params = {}) {
21924
21950
  return inst;
21925
21951
  }
21926
21952
 
21927
- // ../node_modules/zod/v4/core/to-json-schema.js
21953
+ // node_modules/zod/v4/core/to-json-schema.js
21928
21954
  function initializeContext(params) {
21929
21955
  let target = params?.target ?? "draft-2020-12";
21930
21956
  if (target === "draft-4")
@@ -22283,7 +22309,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
22283
22309
  return finalize(ctx, schema);
22284
22310
  };
22285
22311
 
22286
- // ../node_modules/zod/v4/core/json-schema-processors.js
22312
+ // node_modules/zod/v4/core/json-schema-processors.js
22287
22313
  var formatMap = {
22288
22314
  guid: "uuid",
22289
22315
  url: "uri",
@@ -22827,7 +22853,7 @@ function toJSONSchema(input, params) {
22827
22853
  return finalize(ctx, input);
22828
22854
  }
22829
22855
 
22830
- // ../node_modules/zod/v4/core/json-schema-generator.js
22856
+ // node_modules/zod/v4/core/json-schema-generator.js
22831
22857
  var JSONSchemaGenerator = class {
22832
22858
  /** @deprecated Access via ctx instead */
22833
22859
  get metadataRegistry() {
@@ -22902,10 +22928,10 @@ var JSONSchemaGenerator = class {
22902
22928
  }
22903
22929
  };
22904
22930
 
22905
- // ../node_modules/zod/v4/core/json-schema.js
22931
+ // node_modules/zod/v4/core/json-schema.js
22906
22932
  var json_schema_exports = {};
22907
22933
 
22908
- // ../node_modules/zod/v4/mini/schemas.js
22934
+ // node_modules/zod/v4/mini/schemas.js
22909
22935
  var ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => {
22910
22936
  if (!inst._zod)
22911
22937
  throw new Error("Uninitialized schema in ZodMiniType.");
@@ -22951,7 +22977,7 @@ function object(shape, params) {
22951
22977
  return new ZodMiniObject(def);
22952
22978
  }
22953
22979
 
22954
- // ../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
22980
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
22955
22981
  function isZ4Schema(s) {
22956
22982
  const schema = s;
22957
22983
  return !!schema._zod;
@@ -23035,17 +23061,33 @@ function normalizeObjectSchema(schema) {
23035
23061
  }
23036
23062
  return void 0;
23037
23063
  }
23064
+ function getDotPath(path) {
23065
+ if (path.length === 0) {
23066
+ return "object root";
23067
+ }
23068
+ return path.reduce((acc, seg, index) => {
23069
+ if (index === 0) {
23070
+ return String(seg);
23071
+ }
23072
+ if (typeof seg === "number") {
23073
+ return `${acc}[${seg}]`;
23074
+ }
23075
+ return `${acc}.${seg}`;
23076
+ }, "");
23077
+ }
23038
23078
  function getParseErrorMessage(error51) {
23039
23079
  if (error51 && typeof error51 === "object") {
23080
+ if ("issues" in error51 && Array.isArray(error51.issues) && error51.issues.length > 0) {
23081
+ return error51.issues.map((i) => {
23082
+ if (!i.path?.length) {
23083
+ return i.message;
23084
+ }
23085
+ return `${i.message} at ${getDotPath(i.path)}`;
23086
+ }).join("\n");
23087
+ }
23040
23088
  if ("message" in error51 && typeof error51.message === "string") {
23041
23089
  return error51.message;
23042
23090
  }
23043
- if ("issues" in error51 && Array.isArray(error51.issues) && error51.issues.length > 0) {
23044
- const firstIssue = error51.issues[0];
23045
- if (firstIssue && typeof firstIssue === "object" && "message" in firstIssue) {
23046
- return String(firstIssue.message);
23047
- }
23048
- }
23049
23091
  try {
23050
23092
  return JSON.stringify(error51);
23051
23093
  } catch {
@@ -23095,7 +23137,7 @@ function getLiteralValue(schema) {
23095
23137
  return void 0;
23096
23138
  }
23097
23139
 
23098
- // ../node_modules/zod/v4/classic/external.js
23140
+ // node_modules/zod/v4/classic/external.js
23099
23141
  var external_exports = {};
23100
23142
  __export(external_exports, {
23101
23143
  $brand: () => $brand,
@@ -23338,7 +23380,7 @@ __export(external_exports, {
23338
23380
  xor: () => xor
23339
23381
  });
23340
23382
 
23341
- // ../node_modules/zod/v4/classic/schemas.js
23383
+ // node_modules/zod/v4/classic/schemas.js
23342
23384
  var schemas_exports2 = {};
23343
23385
  __export(schemas_exports2, {
23344
23386
  ZodAny: () => ZodAny2,
@@ -23509,7 +23551,7 @@ __export(schemas_exports2, {
23509
23551
  xor: () => xor
23510
23552
  });
23511
23553
 
23512
- // ../node_modules/zod/v4/classic/checks.js
23554
+ // node_modules/zod/v4/classic/checks.js
23513
23555
  var checks_exports2 = {};
23514
23556
  __export(checks_exports2, {
23515
23557
  endsWith: () => _endsWith,
@@ -23543,7 +23585,7 @@ __export(checks_exports2, {
23543
23585
  uppercase: () => _uppercase
23544
23586
  });
23545
23587
 
23546
- // ../node_modules/zod/v4/classic/iso.js
23588
+ // node_modules/zod/v4/classic/iso.js
23547
23589
  var iso_exports2 = {};
23548
23590
  __export(iso_exports2, {
23549
23591
  ZodISODate: () => ZodISODate,
@@ -23584,7 +23626,7 @@ function duration2(params) {
23584
23626
  return _isoDuration(ZodISODuration, params);
23585
23627
  }
23586
23628
 
23587
- // ../node_modules/zod/v4/classic/errors.js
23629
+ // node_modules/zod/v4/classic/errors.js
23588
23630
  var initializer2 = (inst, issues) => {
23589
23631
  $ZodError.init(inst, issues);
23590
23632
  inst.name = "ZodError";
@@ -23624,7 +23666,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
23624
23666
  Parent: Error
23625
23667
  });
23626
23668
 
23627
- // ../node_modules/zod/v4/classic/parse.js
23669
+ // node_modules/zod/v4/classic/parse.js
23628
23670
  var parse2 = /* @__PURE__ */ _parse(ZodRealError);
23629
23671
  var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
23630
23672
  var safeParse3 = /* @__PURE__ */ _safeParse(ZodRealError);
@@ -23638,7 +23680,7 @@ var safeDecode2 = /* @__PURE__ */ _safeDecode(ZodRealError);
23638
23680
  var safeEncodeAsync2 = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
23639
23681
  var safeDecodeAsync2 = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
23640
23682
 
23641
- // ../node_modules/zod/v4/classic/schemas.js
23683
+ // node_modules/zod/v4/classic/schemas.js
23642
23684
  var _installedGroups = /* @__PURE__ */ new WeakMap();
23643
23685
  function _installLazyMethods(inst, group, methods) {
23644
23686
  const proto = Object.getPrototypeOf(inst);
@@ -24928,7 +24970,7 @@ function preprocess(fn, schema) {
24928
24970
  });
24929
24971
  }
24930
24972
 
24931
- // ../node_modules/zod/v4/classic/compat.js
24973
+ // node_modules/zod/v4/classic/compat.js
24932
24974
  var ZodIssueCode2 = {
24933
24975
  invalid_type: "invalid_type",
24934
24976
  too_big: "too_big",
@@ -24954,7 +24996,7 @@ var ZodFirstPartyTypeKind2;
24954
24996
  /* @__PURE__ */ (function(ZodFirstPartyTypeKind3) {
24955
24997
  })(ZodFirstPartyTypeKind2 || (ZodFirstPartyTypeKind2 = {}));
24956
24998
 
24957
- // ../node_modules/zod/v4/classic/from-json-schema.js
24999
+ // node_modules/zod/v4/classic/from-json-schema.js
24958
25000
  var z = {
24959
25001
  ...schemas_exports2,
24960
25002
  ...checks_exports2,
@@ -25434,7 +25476,7 @@ function fromJSONSchema(schema, params) {
25434
25476
  return convertSchema(normalized, ctx);
25435
25477
  }
25436
25478
 
25437
- // ../node_modules/zod/v4/classic/coerce.js
25479
+ // node_modules/zod/v4/classic/coerce.js
25438
25480
  var coerce_exports2 = {};
25439
25481
  __export(coerce_exports2, {
25440
25482
  bigint: () => bigint3,
@@ -25459,10 +25501,10 @@ function date4(params) {
25459
25501
  return _coercedDate(ZodDate2, params);
25460
25502
  }
25461
25503
 
25462
- // ../node_modules/zod/v4/classic/external.js
25504
+ // node_modules/zod/v4/classic/external.js
25463
25505
  config(en_default2());
25464
25506
 
25465
- // ../node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
25507
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
25466
25508
  var LATEST_PROTOCOL_VERSION = "2025-11-25";
25467
25509
  var SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
25468
25510
  var RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task";
@@ -26993,12 +27035,12 @@ var UrlElicitationRequiredError = class extends McpError {
26993
27035
  }
26994
27036
  };
26995
27037
 
26996
- // ../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
27038
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
26997
27039
  function isTerminal(status) {
26998
27040
  return status === "completed" || status === "failed" || status === "cancelled";
26999
27041
  }
27000
27042
 
27001
- // ../node_modules/zod-to-json-schema/dist/esm/Options.js
27043
+ // node_modules/zod-to-json-schema/dist/esm/Options.js
27002
27044
  var ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
27003
27045
  var defaultOptions = {
27004
27046
  name: void 0,
@@ -27032,7 +27074,7 @@ var getDefaultOptions = (options) => typeof options === "string" ? {
27032
27074
  ...options
27033
27075
  };
27034
27076
 
27035
- // ../node_modules/zod-to-json-schema/dist/esm/Refs.js
27077
+ // node_modules/zod-to-json-schema/dist/esm/Refs.js
27036
27078
  var getRefs = (options) => {
27037
27079
  const _options = getDefaultOptions(options);
27038
27080
  const currentPath = _options.name !== void 0 ? [..._options.basePath, _options.definitionPath, _options.name] : _options.basePath;
@@ -27053,7 +27095,7 @@ var getRefs = (options) => {
27053
27095
  };
27054
27096
  };
27055
27097
 
27056
- // ../node_modules/zod-to-json-schema/dist/esm/errorMessages.js
27098
+ // node_modules/zod-to-json-schema/dist/esm/errorMessages.js
27057
27099
  function addErrorMessage(res, key, errorMessage, refs) {
27058
27100
  if (!refs?.errorMessages)
27059
27101
  return;
@@ -27069,7 +27111,7 @@ function setResponseValueAndErrors(res, key, value, errorMessage, refs) {
27069
27111
  addErrorMessage(res, key, errorMessage, refs);
27070
27112
  }
27071
27113
 
27072
- // ../node_modules/zod-to-json-schema/dist/esm/getRelativePath.js
27114
+ // node_modules/zod-to-json-schema/dist/esm/getRelativePath.js
27073
27115
  var getRelativePath = (pathA, pathB) => {
27074
27116
  let i = 0;
27075
27117
  for (; i < pathA.length && i < pathB.length; i++) {
@@ -27079,7 +27121,7 @@ var getRelativePath = (pathA, pathB) => {
27079
27121
  return [(pathA.length - i).toString(), ...pathB.slice(i)].join("/");
27080
27122
  };
27081
27123
 
27082
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/any.js
27124
+ // node_modules/zod-to-json-schema/dist/esm/parsers/any.js
27083
27125
  function parseAnyDef(refs) {
27084
27126
  if (refs.target !== "openAi") {
27085
27127
  return {};
@@ -27095,7 +27137,7 @@ function parseAnyDef(refs) {
27095
27137
  };
27096
27138
  }
27097
27139
 
27098
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/array.js
27140
+ // node_modules/zod-to-json-schema/dist/esm/parsers/array.js
27099
27141
  function parseArrayDef(def, refs) {
27100
27142
  const res = {
27101
27143
  type: "array"
@@ -27119,7 +27161,7 @@ function parseArrayDef(def, refs) {
27119
27161
  return res;
27120
27162
  }
27121
27163
 
27122
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
27164
+ // node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
27123
27165
  function parseBigintDef(def, refs) {
27124
27166
  const res = {
27125
27167
  type: "integer",
@@ -27165,24 +27207,24 @@ function parseBigintDef(def, refs) {
27165
27207
  return res;
27166
27208
  }
27167
27209
 
27168
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js
27210
+ // node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js
27169
27211
  function parseBooleanDef() {
27170
27212
  return {
27171
27213
  type: "boolean"
27172
27214
  };
27173
27215
  }
27174
27216
 
27175
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
27217
+ // node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
27176
27218
  function parseBrandedDef(_def, refs) {
27177
27219
  return parseDef(_def.type._def, refs);
27178
27220
  }
27179
27221
 
27180
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
27222
+ // node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
27181
27223
  var parseCatchDef = (def, refs) => {
27182
27224
  return parseDef(def.innerType._def, refs);
27183
27225
  };
27184
27226
 
27185
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/date.js
27227
+ // node_modules/zod-to-json-schema/dist/esm/parsers/date.js
27186
27228
  function parseDateDef(def, refs, overrideDateStrategy) {
27187
27229
  const strategy = overrideDateStrategy ?? refs.dateStrategy;
27188
27230
  if (Array.isArray(strategy)) {
@@ -27241,7 +27283,7 @@ var integerDateParser = (def, refs) => {
27241
27283
  return res;
27242
27284
  };
27243
27285
 
27244
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/default.js
27286
+ // node_modules/zod-to-json-schema/dist/esm/parsers/default.js
27245
27287
  function parseDefaultDef(_def, refs) {
27246
27288
  return {
27247
27289
  ...parseDef(_def.innerType._def, refs),
@@ -27249,12 +27291,12 @@ function parseDefaultDef(_def, refs) {
27249
27291
  };
27250
27292
  }
27251
27293
 
27252
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
27294
+ // node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
27253
27295
  function parseEffectsDef(_def, refs) {
27254
27296
  return refs.effectStrategy === "input" ? parseDef(_def.schema._def, refs) : parseAnyDef(refs);
27255
27297
  }
27256
27298
 
27257
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/enum.js
27299
+ // node_modules/zod-to-json-schema/dist/esm/parsers/enum.js
27258
27300
  function parseEnumDef(def) {
27259
27301
  return {
27260
27302
  type: "string",
@@ -27262,7 +27304,7 @@ function parseEnumDef(def) {
27262
27304
  };
27263
27305
  }
27264
27306
 
27265
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
27307
+ // node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
27266
27308
  var isJsonSchema7AllOfType = (type) => {
27267
27309
  if ("type" in type && type.type === "string")
27268
27310
  return false;
@@ -27304,7 +27346,7 @@ function parseIntersectionDef(def, refs) {
27304
27346
  } : void 0;
27305
27347
  }
27306
27348
 
27307
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/literal.js
27349
+ // node_modules/zod-to-json-schema/dist/esm/parsers/literal.js
27308
27350
  function parseLiteralDef(def, refs) {
27309
27351
  const parsedType2 = typeof def.value;
27310
27352
  if (parsedType2 !== "bigint" && parsedType2 !== "number" && parsedType2 !== "boolean" && parsedType2 !== "string") {
@@ -27324,7 +27366,7 @@ function parseLiteralDef(def, refs) {
27324
27366
  };
27325
27367
  }
27326
27368
 
27327
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/string.js
27369
+ // node_modules/zod-to-json-schema/dist/esm/parsers/string.js
27328
27370
  var emojiRegex2 = void 0;
27329
27371
  var zodPatterns = {
27330
27372
  /**
@@ -27649,7 +27691,7 @@ function stringifyRegExpWithFlags(regex, refs) {
27649
27691
  return pattern;
27650
27692
  }
27651
27693
 
27652
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/record.js
27694
+ // node_modules/zod-to-json-schema/dist/esm/parsers/record.js
27653
27695
  function parseRecordDef(def, refs) {
27654
27696
  if (refs.target === "openAi") {
27655
27697
  console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");
@@ -27701,7 +27743,7 @@ function parseRecordDef(def, refs) {
27701
27743
  return schema;
27702
27744
  }
27703
27745
 
27704
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/map.js
27746
+ // node_modules/zod-to-json-schema/dist/esm/parsers/map.js
27705
27747
  function parseMapDef(def, refs) {
27706
27748
  if (refs.mapStrategy === "record") {
27707
27749
  return parseRecordDef(def, refs);
@@ -27726,7 +27768,7 @@ function parseMapDef(def, refs) {
27726
27768
  };
27727
27769
  }
27728
27770
 
27729
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js
27771
+ // node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js
27730
27772
  function parseNativeEnumDef(def) {
27731
27773
  const object3 = def.values;
27732
27774
  const actualKeys = Object.keys(def.values).filter((key) => {
@@ -27740,7 +27782,7 @@ function parseNativeEnumDef(def) {
27740
27782
  };
27741
27783
  }
27742
27784
 
27743
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/never.js
27785
+ // node_modules/zod-to-json-schema/dist/esm/parsers/never.js
27744
27786
  function parseNeverDef(refs) {
27745
27787
  return refs.target === "openAi" ? void 0 : {
27746
27788
  not: parseAnyDef({
@@ -27750,7 +27792,7 @@ function parseNeverDef(refs) {
27750
27792
  };
27751
27793
  }
27752
27794
 
27753
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/null.js
27795
+ // node_modules/zod-to-json-schema/dist/esm/parsers/null.js
27754
27796
  function parseNullDef(refs) {
27755
27797
  return refs.target === "openApi3" ? {
27756
27798
  enum: ["null"],
@@ -27760,7 +27802,7 @@ function parseNullDef(refs) {
27760
27802
  };
27761
27803
  }
27762
27804
 
27763
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/union.js
27805
+ // node_modules/zod-to-json-schema/dist/esm/parsers/union.js
27764
27806
  var primitiveMappings = {
27765
27807
  ZodString: "string",
27766
27808
  ZodNumber: "number",
@@ -27828,7 +27870,7 @@ var asAnyOf = (def, refs) => {
27828
27870
  return anyOf.length ? { anyOf } : void 0;
27829
27871
  };
27830
27872
 
27831
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
27873
+ // node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
27832
27874
  function parseNullableDef(def, refs) {
27833
27875
  if (["ZodString", "ZodNumber", "ZodBigInt", "ZodBoolean", "ZodNull"].includes(def.innerType._def.typeName) && (!def.innerType._def.checks || !def.innerType._def.checks.length)) {
27834
27876
  if (refs.target === "openApi3") {
@@ -27860,7 +27902,7 @@ function parseNullableDef(def, refs) {
27860
27902
  return base && { anyOf: [base, { type: "null" }] };
27861
27903
  }
27862
27904
 
27863
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/number.js
27905
+ // node_modules/zod-to-json-schema/dist/esm/parsers/number.js
27864
27906
  function parseNumberDef(def, refs) {
27865
27907
  const res = {
27866
27908
  type: "number"
@@ -27909,7 +27951,7 @@ function parseNumberDef(def, refs) {
27909
27951
  return res;
27910
27952
  }
27911
27953
 
27912
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/object.js
27954
+ // node_modules/zod-to-json-schema/dist/esm/parsers/object.js
27913
27955
  function parseObjectDef(def, refs) {
27914
27956
  const forceOptionalIntoNullable = refs.target === "openAi";
27915
27957
  const result = {
@@ -27979,7 +28021,7 @@ function safeIsOptional(schema) {
27979
28021
  }
27980
28022
  }
27981
28023
 
27982
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
28024
+ // node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
27983
28025
  var parseOptionalDef = (def, refs) => {
27984
28026
  if (refs.currentPath.toString() === refs.propertyPath?.toString()) {
27985
28027
  return parseDef(def.innerType._def, refs);
@@ -27998,7 +28040,7 @@ var parseOptionalDef = (def, refs) => {
27998
28040
  } : parseAnyDef(refs);
27999
28041
  };
28000
28042
 
28001
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
28043
+ // node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
28002
28044
  var parsePipelineDef = (def, refs) => {
28003
28045
  if (refs.pipeStrategy === "input") {
28004
28046
  return parseDef(def.in._def, refs);
@@ -28018,12 +28060,12 @@ var parsePipelineDef = (def, refs) => {
28018
28060
  };
28019
28061
  };
28020
28062
 
28021
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
28063
+ // node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
28022
28064
  function parsePromiseDef(def, refs) {
28023
28065
  return parseDef(def.type._def, refs);
28024
28066
  }
28025
28067
 
28026
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/set.js
28068
+ // node_modules/zod-to-json-schema/dist/esm/parsers/set.js
28027
28069
  function parseSetDef(def, refs) {
28028
28070
  const items = parseDef(def.valueType._def, {
28029
28071
  ...refs,
@@ -28043,7 +28085,7 @@ function parseSetDef(def, refs) {
28043
28085
  return schema;
28044
28086
  }
28045
28087
 
28046
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
28088
+ // node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
28047
28089
  function parseTupleDef(def, refs) {
28048
28090
  if (def.rest) {
28049
28091
  return {
@@ -28071,24 +28113,24 @@ function parseTupleDef(def, refs) {
28071
28113
  }
28072
28114
  }
28073
28115
 
28074
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
28116
+ // node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
28075
28117
  function parseUndefinedDef(refs) {
28076
28118
  return {
28077
28119
  not: parseAnyDef(refs)
28078
28120
  };
28079
28121
  }
28080
28122
 
28081
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
28123
+ // node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
28082
28124
  function parseUnknownDef(refs) {
28083
28125
  return parseAnyDef(refs);
28084
28126
  }
28085
28127
 
28086
- // ../node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
28128
+ // node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
28087
28129
  var parseReadonlyDef = (def, refs) => {
28088
28130
  return parseDef(def.innerType._def, refs);
28089
28131
  };
28090
28132
 
28091
- // ../node_modules/zod-to-json-schema/dist/esm/selectParser.js
28133
+ // node_modules/zod-to-json-schema/dist/esm/selectParser.js
28092
28134
  var selectParser = (def, typeName, refs) => {
28093
28135
  switch (typeName) {
28094
28136
  case ZodFirstPartyTypeKind.ZodString:
@@ -28164,7 +28206,7 @@ var selectParser = (def, typeName, refs) => {
28164
28206
  }
28165
28207
  };
28166
28208
 
28167
- // ../node_modules/zod-to-json-schema/dist/esm/parseDef.js
28209
+ // node_modules/zod-to-json-schema/dist/esm/parseDef.js
28168
28210
  function parseDef(def, refs, forceResolution = false) {
28169
28211
  const seenItem = refs.seen.get(def);
28170
28212
  if (refs.override) {
@@ -28220,7 +28262,7 @@ var addMeta = (def, refs, jsonSchema) => {
28220
28262
  return jsonSchema;
28221
28263
  };
28222
28264
 
28223
- // ../node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
28265
+ // node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
28224
28266
  var zodToJsonSchema = (schema, options) => {
28225
28267
  const refs = getRefs(options);
28226
28268
  let definitions = typeof options === "object" && options.definitions ? Object.entries(options.definitions).reduce((acc, [name2, schema2]) => ({
@@ -28282,7 +28324,7 @@ var zodToJsonSchema = (schema, options) => {
28282
28324
  return combined;
28283
28325
  };
28284
28326
 
28285
- // ../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
28327
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
28286
28328
  function mapMiniTarget(t) {
28287
28329
  if (!t)
28288
28330
  return "draft-7";
@@ -28324,7 +28366,7 @@ function parseWithCompat(schema, data) {
28324
28366
  return result.data;
28325
28367
  }
28326
28368
 
28327
- // ../node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
28369
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
28328
28370
  var DEFAULT_REQUEST_TIMEOUT_MSEC = 6e4;
28329
28371
  var Protocol = class {
28330
28372
  constructor(_options) {
@@ -29278,7 +29320,7 @@ function mergeCapabilities(base, additional) {
29278
29320
  return result;
29279
29321
  }
29280
29322
 
29281
- // ../node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
29323
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
29282
29324
  var import_ajv = __toESM(require_ajv(), 1);
29283
29325
  var import_ajv_formats = __toESM(require_dist(), 1);
29284
29326
  function createDefaultAjvInstance() {
@@ -29346,7 +29388,7 @@ var AjvJsonSchemaValidator = class {
29346
29388
  }
29347
29389
  };
29348
29390
 
29349
- // ../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
29391
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
29350
29392
  var ExperimentalServerTasks = class {
29351
29393
  constructor(_server) {
29352
29394
  this._server = _server;
@@ -29559,7 +29601,7 @@ var ExperimentalServerTasks = class {
29559
29601
  }
29560
29602
  };
29561
29603
 
29562
- // ../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
29604
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
29563
29605
  function assertToolsCallTaskCapability(requests, method, entityName) {
29564
29606
  if (!requests) {
29565
29607
  throw new Error(`${entityName} does not support task creation (required for ${method})`);
@@ -29594,7 +29636,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
29594
29636
  }
29595
29637
  }
29596
29638
 
29597
- // ../node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
29639
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
29598
29640
  var Server = class extends Protocol {
29599
29641
  /**
29600
29642
  * Initializes this server with the given name and version information.
@@ -29660,16 +29702,7 @@ var Server = class extends Protocol {
29660
29702
  if (!methodSchema) {
29661
29703
  throw new Error("Schema is missing a method literal");
29662
29704
  }
29663
- let methodValue;
29664
- if (isZ4Schema(methodSchema)) {
29665
- const v4Schema = methodSchema;
29666
- const v4Def = v4Schema._zod?.def;
29667
- methodValue = v4Def?.value ?? v4Schema.value;
29668
- } else {
29669
- const v3Schema = methodSchema;
29670
- const legacyDef = v3Schema._def;
29671
- methodValue = legacyDef?.value ?? v3Schema.value;
29672
- }
29705
+ const methodValue = getLiteralValue(methodSchema);
29673
29706
  if (typeof methodValue !== "string") {
29674
29707
  throw new Error("Schema method literal must be a string");
29675
29708
  }
@@ -29974,7 +30007,7 @@ var Server = class extends Protocol {
29974
30007
  }
29975
30008
  };
29976
30009
 
29977
- // ../node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
30010
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
29978
30011
  var COMPLETABLE_SYMBOL = Symbol.for("mcp.completable");
29979
30012
  function isCompletable(schema) {
29980
30013
  return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
@@ -29988,7 +30021,7 @@ var McpZodTypeKind;
29988
30021
  McpZodTypeKind2["Completable"] = "McpCompletable";
29989
30022
  })(McpZodTypeKind || (McpZodTypeKind = {}));
29990
30023
 
29991
- // ../node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
30024
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
29992
30025
  var TOOL_NAME_REGEX = /^[A-Za-z0-9._-]{1,128}$/;
29993
30026
  function validateToolName(name) {
29994
30027
  const warnings = [];
@@ -30046,7 +30079,7 @@ function validateAndWarnToolName(name) {
30046
30079
  return result.isValid;
30047
30080
  }
30048
30081
 
30049
- // ../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
30082
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
30050
30083
  var ExperimentalMcpServerTasks = class {
30051
30084
  constructor(_mcpServer) {
30052
30085
  this._mcpServer = _mcpServer;
@@ -30061,7 +30094,7 @@ var ExperimentalMcpServerTasks = class {
30061
30094
  }
30062
30095
  };
30063
30096
 
30064
- // ../node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
30097
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
30065
30098
  var McpServer = class {
30066
30099
  constructor(serverInfo, options) {
30067
30100
  this._registeredResources = {};
@@ -30853,12 +30886,21 @@ var EMPTY_COMPLETION_RESULT = {
30853
30886
  }
30854
30887
  };
30855
30888
 
30856
- // ../node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
30889
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
30857
30890
  import process3 from "node:process";
30858
30891
 
30859
- // ../node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
30892
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
30893
+ var STDIO_DEFAULT_MAX_BUFFER_SIZE = 10 * 1024 * 1024;
30860
30894
  var ReadBuffer = class {
30895
+ constructor(options) {
30896
+ this._maxBufferSize = options?.maxBufferSize ?? STDIO_DEFAULT_MAX_BUFFER_SIZE;
30897
+ }
30861
30898
  append(chunk) {
30899
+ const newSize = (this._buffer?.length ?? 0) + chunk.length;
30900
+ if (newSize > this._maxBufferSize) {
30901
+ this.clear();
30902
+ throw new Error(`ReadBuffer exceeded maximum size of ${this._maxBufferSize} bytes`);
30903
+ }
30862
30904
  this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk;
30863
30905
  }
30864
30906
  readMessage() {
@@ -30884,20 +30926,26 @@ function serializeMessage(message) {
30884
30926
  return JSON.stringify(message) + "\n";
30885
30927
  }
30886
30928
 
30887
- // ../node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
30929
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
30888
30930
  var StdioServerTransport = class {
30889
- constructor(_stdin = process3.stdin, _stdout = process3.stdout) {
30931
+ constructor(_stdin = process3.stdin, _stdout = process3.stdout, options) {
30890
30932
  this._stdin = _stdin;
30891
30933
  this._stdout = _stdout;
30892
- this._readBuffer = new ReadBuffer();
30893
30934
  this._started = false;
30894
30935
  this._ondata = (chunk) => {
30895
- this._readBuffer.append(chunk);
30896
- this.processReadBuffer();
30936
+ try {
30937
+ this._readBuffer.append(chunk);
30938
+ this.processReadBuffer();
30939
+ } catch (error51) {
30940
+ this.onerror?.(error51);
30941
+ this.close().catch(() => {
30942
+ });
30943
+ }
30897
30944
  };
30898
30945
  this._onerror = (error51) => {
30899
30946
  this.onerror?.(error51);
30900
30947
  };
30948
+ this._readBuffer = new ReadBuffer({ maxBufferSize: options?.maxBufferSize });
30901
30949
  }
30902
30950
  /**
30903
30951
  * Starts listening for messages on stdin.
@@ -31119,9 +31167,35 @@ var upgradeTool = {
31119
31167
  var listProjects = {
31120
31168
  name: "list_projects",
31121
31169
  title: "List video projects",
31122
- description: "List every video project in the connected workspace, newest first.",
31123
- inputSchema: {},
31124
- handler: async (_args, ctx) => json2(await ctx.invoke("list-projects", {}))
31170
+ description: "List video projects in the connected workspace, newest first. Large workspaces: pass limit/offset to page instead of relying on a truncated dump, and nameFilter to search.",
31171
+ inputSchema: {
31172
+ limit: external_exports.number().int().min(1).max(200).optional().describe("Return at most this many projects (default: all)."),
31173
+ offset: external_exports.number().int().min(0).optional().describe("Skip this many projects, for paging."),
31174
+ nameFilter: external_exports.string().optional().describe("Case-insensitive substring match on the project name/slug.")
31175
+ },
31176
+ handler: async (args, ctx) => {
31177
+ const result = await ctx.invoke("list-projects", {});
31178
+ let projects = result.projects ?? [];
31179
+ const total = projects.length;
31180
+ const filter = typeof args.nameFilter === "string" ? args.nameFilter.trim().toLowerCase() : "";
31181
+ if (filter) {
31182
+ projects = projects.filter(
31183
+ (project) => `${project.name ?? ""} ${project.slug ?? ""}`.toLowerCase().includes(filter)
31184
+ );
31185
+ }
31186
+ const matched = projects.length;
31187
+ const offset = typeof args.offset === "number" ? args.offset : 0;
31188
+ const limit = typeof args.limit === "number" ? args.limit : projects.length;
31189
+ projects = projects.slice(offset, offset + limit);
31190
+ return json2({
31191
+ total,
31192
+ matched,
31193
+ offset,
31194
+ returned: projects.length,
31195
+ hasMore: offset + projects.length < matched,
31196
+ projects
31197
+ });
31198
+ }
31125
31199
  };
31126
31200
  var getProject = {
31127
31201
  name: "get_project",
@@ -31187,7 +31261,7 @@ var createVideo = {
31187
31261
  var listDraftFiles = {
31188
31262
  name: "list_draft_files",
31189
31263
  title: "List a draft's files",
31190
- description: "List the source files of a draft with their sizes and the current revision. Cheap orientation \u2014 prefer this over reading every file.",
31264
+ description: "List the source files of a draft with their sizes and the current revision. Cheap orientation \u2014 prefer this over reading every file. If notes.json is present, it holds the user's queued timecoded edit requests \u2014 read it before directing.",
31191
31265
  inputSchema: { draftId: external_exports.string().describe("The draft id.") },
31192
31266
  handler: async (args, ctx) => {
31193
31267
  const draft = await getDraft(ctx, String(args.draftId));
@@ -31205,10 +31279,12 @@ var listDraftFiles = {
31205
31279
  var readDraftFile = {
31206
31280
  name: "read_draft_file",
31207
31281
  title: "Read one draft file",
31208
- description: "Read the contents of a single file in a draft.",
31282
+ description: "Read the contents of a single file in a draft. notes.json, when present, is the user's edit queue: [{ id, at, text, done, mentions? }] \u2014 timecoded requests written while watching. Address open items and set done: true on each one you handle.",
31209
31283
  inputSchema: {
31210
31284
  draftId: external_exports.string().describe("The draft id."),
31211
- path: external_exports.string().describe("File path within the draft, e.g. 'direction.ts'.")
31285
+ path: external_exports.string().describe("File path within the draft, e.g. 'direction.ts'."),
31286
+ startLine: external_exports.number().int().min(1).optional().describe("1-based first line to return \u2014 page large files instead of truncating."),
31287
+ lineCount: external_exports.number().int().min(1).optional().describe("Number of lines to return from startLine.")
31212
31288
  },
31213
31289
  handler: async (args, ctx) => {
31214
31290
  const draft = await getDraft(ctx, String(args.draftId));
@@ -31219,7 +31295,20 @@ var readDraftFile = {
31219
31295
  `No file "${path}" in draft ${args.draftId}. Available: ${Object.keys(draft.files).sort().join(", ")}`
31220
31296
  );
31221
31297
  }
31222
- return { text: content };
31298
+ const lines = content.split("\n");
31299
+ const startLine = typeof args.startLine === "number" ? Math.max(1, args.startLine) : 1;
31300
+ const lineCount = typeof args.lineCount === "number" ? Math.max(1, args.lineCount) : lines.length;
31301
+ if (startLine === 1 && lineCount >= lines.length) return { text: content };
31302
+ const slice = lines.slice(startLine - 1, startLine - 1 + lineCount);
31303
+ if (slice.length === 0) {
31304
+ return {
31305
+ text: `[no lines returned: startLine ${startLine} is beyond ${lines.length} lines \u2014 page with startLine/lineCount]`
31306
+ };
31307
+ }
31308
+ return {
31309
+ text: `[lines ${startLine}-${startLine - 1 + slice.length} of ${lines.length} \u2014 page with startLine/lineCount]
31310
+ ` + slice.join("\n")
31311
+ };
31223
31312
  }
31224
31313
  };
31225
31314
  var writeDraftFiles = {
@@ -31291,12 +31380,13 @@ var jobStatus = {
31291
31380
  const jobIds = args.jobIds;
31292
31381
  if (!args.wait) return json2(await ctx.invoke("job-status", { jobIds }));
31293
31382
  const budgetMs = waitBudgetMs(args.waitSeconds, JOB_WAIT_SECONDS);
31294
- const started = Date.now();
31383
+ const now = ctx.now ?? Date.now;
31384
+ const started = now();
31295
31385
  const deadline = started + budgetMs;
31296
31386
  let rows = [];
31297
31387
  let consecutiveErrors = 0;
31298
31388
  let lastError = "";
31299
- while (Date.now() < deadline) {
31389
+ while (now() < deadline) {
31300
31390
  if (progress?.signal?.aborted) break;
31301
31391
  try {
31302
31392
  const result = await ctx.invoke("job-status", { jobIds });
@@ -31310,11 +31400,12 @@ var jobStatus = {
31310
31400
  }
31311
31401
  }
31312
31402
  progress?.report?.({
31313
- progress: Math.min(Date.now() - started, budgetMs),
31403
+ progress: Math.min(now() - started, budgetMs),
31314
31404
  total: budgetMs,
31315
31405
  message: rows.length ? rows.map((row) => describeJob(row.id, row, consecutiveErrors, lastError)).join("; ") : jobIds.join(", ")
31316
31406
  });
31317
- await nap(ctx, 2e3);
31407
+ const remainingMs = deadline - now();
31408
+ if (remainingMs > 0) await nap(ctx, Math.min(2e3, remainingMs));
31318
31409
  }
31319
31410
  return json2({
31320
31411
  timedOut: true,
@@ -31496,15 +31587,25 @@ var PREVIEW_URL = `${PREVIEW_ORIGIN}/stage.html`;
31496
31587
  var FRAME_TYPE = "jpeg";
31497
31588
  var FRAME_QUALITY = 80;
31498
31589
  var FRAME_MIME = "image/jpeg";
31499
- async function launchChromium() {
31590
+ async function launchChromium(launcher = chromium) {
31591
+ if (process.env.CI) {
31592
+ try {
31593
+ return await launcher.launch({ headless: true });
31594
+ } catch (error51) {
31595
+ throw new Error(
31596
+ "CI requires the Playwright-managed Chromium pinned by cli/package-lock.json. Run `npx playwright-core install chromium`; system Chrome fallback is disabled in CI.",
31597
+ { cause: error51 }
31598
+ );
31599
+ }
31600
+ }
31500
31601
  if (process.env.PLAYWRIGHT_CHANNEL === "chrome") {
31501
- return chromium.launch({ channel: "chrome", headless: true });
31602
+ return launcher.launch({ channel: "chrome", headless: true });
31502
31603
  }
31503
31604
  try {
31504
- return await chromium.launch({ headless: true });
31605
+ return await launcher.launch({ headless: true });
31505
31606
  } catch {
31506
31607
  try {
31507
- return await chromium.launch({ channel: "chrome", headless: true });
31608
+ return await launcher.launch({ channel: "chrome", headless: true });
31508
31609
  } catch (error51) {
31509
31610
  throw new Error(
31510
31611
  `No usable Chromium found for frame capture. Install Google Chrome, or run \`npx playwright install chromium\`. If Chrome is installed but blocked by Gatekeeper, set PLAYWRIGHT_CHANNEL=chrome.
@@ -31894,6 +31995,76 @@ function formatUsageNotice(notice) {
31894
31995
  if (!value?.message) return "";
31895
31996
  return value.level === "nearly_spent" || value.level === "spent" ? `${value.message} Mention \`upgrade\` only if it is relevant to what they are doing right now.` : `${value.message}`;
31896
31997
  }
31998
+ function sanitizeResetTime(value) {
31999
+ if (typeof value !== "string" || value.length > 64) return null;
32000
+ const match = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.\d{1,3})?(?:Z|[+-]\d{2}:\d{2})$/.exec(value);
32001
+ if (!match) return null;
32002
+ const [, yearText, monthText, dayText, hourText, minuteText, secondText] = match;
32003
+ const [year, month, day, hour, minute, second] = [yearText, monthText, dayText, hourText, minuteText, secondText].map(Number);
32004
+ const daysInMonth = new Date(Date.UTC(year, month, 0)).getUTCDate();
32005
+ if (month < 1 || month > 12 || day < 1 || day > daysInMonth || hour > 23 || minute > 59 || second > 59) return null;
32006
+ const timestamp = new Date(value);
32007
+ return Number.isNaN(timestamp.getTime()) ? null : timestamp.toISOString();
32008
+ }
32009
+ function sanitizeUpgradeUrl(value, appUrl) {
32010
+ if (typeof value !== "string" || typeof appUrl !== "string" || value.length > 2048 || /[\u0000-\u001f\u007f]/.test(value)) {
32011
+ return null;
32012
+ }
32013
+ try {
32014
+ const url2 = new URL(value);
32015
+ const billingUrl = new URL("/account/billing", appUrl);
32016
+ if (url2.protocol !== "https:" || url2.origin !== billingUrl.origin || url2.pathname !== billingUrl.pathname || url2.username || url2.password || !url2.hostname) return null;
32017
+ url2.search = "";
32018
+ url2.hash = "";
32019
+ return url2.toString();
32020
+ } catch {
32021
+ return null;
32022
+ }
32023
+ }
32024
+ function formatWeeklyQuota(appUrl, details) {
32025
+ const resetTime = sanitizeResetTime(details.resetTime);
32026
+ const upgradeUrl = sanitizeUpgradeUrl(details.upgradeUrl, appUrl);
32027
+ const spent = details.spent;
32028
+ const spentCalls = Number.isSafeInteger(spent?.calls) && Number(spent?.calls) >= 0 ? Number(spent?.calls) : null;
32029
+ const options = [
32030
+ {
32031
+ id: "upgrade",
32032
+ label: "Review upgrade options",
32033
+ tool: "upgrade",
32034
+ ...upgradeUrl ? { url: upgradeUrl } : {}
32035
+ },
32036
+ {
32037
+ id: "wait",
32038
+ label: "Wait for the weekly reset"
32039
+ }
32040
+ ];
32041
+ const response = {
32042
+ error: "weekly_mcp_quota_exceeded",
32043
+ headline: "The free weekly MCP allowance has been used.",
32044
+ message: "No work was started for this call.",
32045
+ ...spentCalls === null ? {} : { spent: { calls: spentCalls } },
32046
+ ...resetTime ? { resetTime } : {},
32047
+ scopeNote: "Free calls are shared across every Free workspace you belong to.",
32048
+ options,
32049
+ ...upgradeUrl ? { upgradeUrl } : {}
32050
+ };
32051
+ return JSON.stringify(response, null, 2);
32052
+ }
32053
+ function formatGenericRateLimit(toolName, appUrl, details) {
32054
+ const resetTime = sanitizeResetTime(details?.resetTime);
32055
+ const upgradeUrl = sanitizeUpgradeUrl(details?.upgradeUrl, appUrl);
32056
+ const metadata = [
32057
+ resetTime ? `Reset time: ${resetTime}` : null,
32058
+ upgradeUrl ? `Upgrade: ${upgradeUrl}` : null
32059
+ ].filter((line) => line !== null);
32060
+ return [
32061
+ `${toolName} failed: Rate limit exceeded.`,
32062
+ "",
32063
+ "No work was started for this call because the service returned a rate limit.",
32064
+ ...metadata,
32065
+ "Call `upgrade` for plan options, or retry after the limit resets. `account_status` remains available without using quota."
32066
+ ].join("\n");
32067
+ }
31897
32068
  function register(server, tool, ctx) {
31898
32069
  server.registerTool(
31899
32070
  tool.name,
@@ -31916,9 +32087,18 @@ ${formatUsageNotice(admission.warning)}`;
31916
32087
  const message = error51 instanceof Error ? error51.message : String(error51);
31917
32088
  const details = error51 instanceof ApiError ? error51.details : void 0;
31918
32089
  if (status === 429 && details?.error === "weekly_mcp_quota_exceeded") {
31919
- return toContent({ text: JSON.stringify(details, null, 2), isError: true });
32090
+ return toContent({
32091
+ text: formatWeeklyQuota(ctx.appUrl, details),
32092
+ isError: true
32093
+ });
32094
+ }
32095
+ if (status === 429) {
32096
+ return toContent({
32097
+ text: formatGenericRateLimit(tool.name, ctx.appUrl, details),
32098
+ isError: true
32099
+ });
31920
32100
  }
31921
- const hint = status === 401 || isNotConnected(message) ? "\n\nCall the `connect` tool to authenticate this workspace." : status === 402 ? "\n\nThe workspace needs an active subscription or trial." : status === 429 ? "\n\nNo work was started for this call \u2014 the free weekly allowance is spent. Call `upgrade` for the plan, or wait for the Monday UTC reset. `account_status` remains available without using quota." : "";
32101
+ const hint = status === 401 || isNotConnected(message) ? "\n\nCall the `connect` tool to authenticate this workspace." : status === 402 ? "\n\nThe workspace needs an active subscription or trial." : "";
31922
32102
  return toContent({ text: `${tool.name} failed: ${message}${hint}`, isError: true });
31923
32103
  }
31924
32104
  }
@@ -31956,7 +32136,7 @@ function createServer(ctx) {
31956
32136
  // agent that skips motion_context still cannot produce slop by default.
31957
32137
  // The full language (ease table, blur doctrine, camera grammar, beat
31958
32138
  // sheets) ships live in motion_context's `guidance.motionDirection`.
31959
- instructions: "Impractical Motion makes studio-quality motion-graphics videos. Draft source lives in the cloud \u2014 there is no working copy on disk, so edit through these tools rather than writing files.\n\nYou are the director. Call engine_types first to learn the API, then motion_context to study the current house library and production references, then create_video, then write App.tsx (the stage markup) and direction.ts (the GSAP choreography) with edit_draft_file / write_draft_files. Every save returns its committed revision and preview-build job id immediately. Follow that id with job_status and fix any build error it returns. Call get_frames to SEE the result before telling the user it is done, then call export_video, follow its returned job id with job_status, and hand the user the studio_link.\n\nJOBS OUTLIVE TOOL CALLS. Job-producing mutations return their durable job id BEFORE any wait; resume that exact id with job_status({ jobIds: [...], wait: true }). Never start a second export or re-apply an edit after a committed revision. If the MCP client kills a call and shows only a timeout, assume the acknowledgment may have been lost: DO NOT blindly retry a mutating or metered tool. Verify state first. For a write/edit, use list_draft_files and read_draft_file to confirm the intended source and revision. For an export or other project mutation, use get_project/list_projects to check whether it already started or completed. brand_extract returns a durable run handle; continue that exact jobId in status mode and never re-extract blindly. If its start acknowledgement is lost, check brand_list/brand_get before starting again. Retry only when those reads prove the mutation did not commit; otherwise continue from the observed state.\n\nTHE MOTION FLOOR \u2014 these hold even if you read nothing else:\n1. Beat out the story before writing code: every beat needs a time, a thing on screen, and a move. A beat with no move is not a beat.\n2. Text enters on RISE \u2014 text.reveal(el, 'rise') on promo-out, lines ~0.2s apart. Do NOT default type to 'blur': word-by-word de-blur reads as out-of-focus and a staggered blur turns to mush. Blur is for whole-frame moves \u2014 fx.spike(el, 'blur') alongside a whip or dive, where it hides the cut. Never animate blur above 20px.\n3. Every ease is a named house curve \u2014 ease-out-* for entrances, ease-in-out-* for travel and ALL camera moves, ease-in-* for exits and dives only. Never leave an ease unspecified, and never put an ease-in-* on an entrance.\n4. Motion is fast: entrances 0.4-0.6s, exits shorter, line staggers ~0.2s apart, nothing over 1s except a deliberate hold drift or slow push.\n5. Nothing is ever static \u2014 every hold carries a slow drift or camera push. Cuts are HARD (tl.set), never crossfades.\n6. Determinism: no Date.now, Math.random, setTimeout, or CSS transitions. The exporter renders by seeking, so wall-clock motion shimmers or vanishes.\n7. Never claim a video is done without calling get_frames and looking at the frames."
32139
+ instructions: "Impractical Motion makes studio-quality motion-graphics videos. Draft source lives in the cloud \u2014 there is no working copy on disk, so edit through these tools rather than writing files.\n\nTHE USER'S EDITS COME FIRST. While watching a draft in the Studio the user queues timecoded edit requests into its notes.json (\"Edits for agent\"). Before directing an existing draft, read_draft_file notes.json (it may not exist \u2014 that is fine); address the open items, and mark each one you have handled by setting its `done` to true with edit_draft_file, leaving the rest of the entry intact. The Studio shows the user what you resolved.\n\nYou are the director. Call engine_types first to learn the API, then motion_context to study the current house library and production references, then create_video, then write App.tsx (the stage markup) and direction.ts (the GSAP choreography) with edit_draft_file / write_draft_files. Every save returns its committed revision and preview-build job id immediately. Follow that id with job_status and fix any build error it returns. Call get_frames to SEE the result before telling the user it is done, then call export_video, follow its returned job id with job_status, and hand the user the studio_link.\n\nJOBS OUTLIVE TOOL CALLS. Job-producing mutations return their durable job id BEFORE any wait; resume that exact id with job_status({ jobIds: [...], wait: true }). Never start a second export or re-apply an edit after a committed revision. If the MCP client kills a call and shows only a timeout, assume the acknowledgment may have been lost: DO NOT blindly retry a mutating or metered tool. Verify state first. For a write/edit, use list_draft_files and read_draft_file to confirm the intended source and revision. For an export or other project mutation, use get_project/list_projects to check whether it already started or completed. brand_extract returns a durable run handle; continue that exact jobId in status mode and never re-extract blindly. If its start acknowledgement is lost, check brand_list/brand_get before starting again. Retry only when those reads prove the mutation did not commit; otherwise continue from the observed state.\n\nTHE MOTION FLOOR \u2014 these hold even if you read nothing else:\n1. Beat out the story before writing code: every beat needs a time, a thing on screen, and a move. A beat with no move is not a beat.\n2. Text enters on RISE \u2014 text.reveal(el, 'rise') on promo-out, lines ~0.2s apart. Do NOT default type to 'blur': word-by-word de-blur reads as out-of-focus and a staggered blur turns to mush. Blur is for whole-frame moves \u2014 fx.spike(el, 'blur') alongside a whip or dive, where it hides the cut. Never animate blur above 20px.\n3. Every ease is a named house curve \u2014 ease-out-* for entrances, ease-in-out-* for travel and ALL camera moves, ease-in-* for exits and dives only. Never leave an ease unspecified, and never put an ease-in-* on an entrance.\n4. Motion is fast: entrances 0.4-0.6s, exits shorter, line staggers ~0.2s apart, nothing over 1s except a deliberate hold drift or slow push.\n5. Nothing is ever static \u2014 every hold carries a slow drift or camera push. Cuts are HARD (tl.set), never crossfades.\n6. Determinism: no Date.now, Math.random, setTimeout, or CSS transitions. The exporter renders by seeking, so wall-clock motion shimmers or vanishes.\n7. Never claim a video is done without calling get_frames and looking at the frames."
31960
32140
  }
31961
32141
  );
31962
32142
  for (const tool of TOOLS) register(server, tool, validatedCtx);