@creature-ai/sdk 0.1.15 → 0.1.17

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.
@@ -24,9 +24,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
24
24
  mod
25
25
  ));
26
26
 
27
- // ../../../node_modules/ajv/dist/compile/codegen/code.js
27
+ // node_modules/ajv/dist/compile/codegen/code.js
28
28
  var require_code = __commonJS({
29
- "../../../node_modules/ajv/dist/compile/codegen/code.js"(exports) {
29
+ "node_modules/ajv/dist/compile/codegen/code.js"(exports) {
30
30
  "use strict";
31
31
  Object.defineProperty(exports, "__esModule", { value: true });
32
32
  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;
@@ -178,9 +178,9 @@ var require_code = __commonJS({
178
178
  }
179
179
  });
180
180
 
181
- // ../../../node_modules/ajv/dist/compile/codegen/scope.js
181
+ // node_modules/ajv/dist/compile/codegen/scope.js
182
182
  var require_scope = __commonJS({
183
- "../../../node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
183
+ "node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
184
184
  "use strict";
185
185
  Object.defineProperty(exports, "__esModule", { value: true });
186
186
  exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
@@ -323,9 +323,9 @@ var require_scope = __commonJS({
323
323
  }
324
324
  });
325
325
 
326
- // ../../../node_modules/ajv/dist/compile/codegen/index.js
326
+ // node_modules/ajv/dist/compile/codegen/index.js
327
327
  var require_codegen = __commonJS({
328
- "../../../node_modules/ajv/dist/compile/codegen/index.js"(exports) {
328
+ "node_modules/ajv/dist/compile/codegen/index.js"(exports) {
329
329
  "use strict";
330
330
  Object.defineProperty(exports, "__esModule", { value: true });
331
331
  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;
@@ -1043,9 +1043,9 @@ var require_codegen = __commonJS({
1043
1043
  }
1044
1044
  });
1045
1045
 
1046
- // ../../../node_modules/ajv/dist/compile/util.js
1046
+ // node_modules/ajv/dist/compile/util.js
1047
1047
  var require_util = __commonJS({
1048
- "../../../node_modules/ajv/dist/compile/util.js"(exports) {
1048
+ "node_modules/ajv/dist/compile/util.js"(exports) {
1049
1049
  "use strict";
1050
1050
  Object.defineProperty(exports, "__esModule", { value: true });
1051
1051
  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;
@@ -1210,9 +1210,9 @@ var require_util = __commonJS({
1210
1210
  }
1211
1211
  });
1212
1212
 
1213
- // ../../../node_modules/ajv/dist/compile/names.js
1213
+ // node_modules/ajv/dist/compile/names.js
1214
1214
  var require_names = __commonJS({
1215
- "../../../node_modules/ajv/dist/compile/names.js"(exports) {
1215
+ "node_modules/ajv/dist/compile/names.js"(exports) {
1216
1216
  "use strict";
1217
1217
  Object.defineProperty(exports, "__esModule", { value: true });
1218
1218
  var codegen_1 = require_codegen();
@@ -1249,9 +1249,9 @@ var require_names = __commonJS({
1249
1249
  }
1250
1250
  });
1251
1251
 
1252
- // ../../../node_modules/ajv/dist/compile/errors.js
1252
+ // node_modules/ajv/dist/compile/errors.js
1253
1253
  var require_errors = __commonJS({
1254
- "../../../node_modules/ajv/dist/compile/errors.js"(exports) {
1254
+ "node_modules/ajv/dist/compile/errors.js"(exports) {
1255
1255
  "use strict";
1256
1256
  Object.defineProperty(exports, "__esModule", { value: true });
1257
1257
  exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
@@ -1371,9 +1371,9 @@ var require_errors = __commonJS({
1371
1371
  }
1372
1372
  });
1373
1373
 
1374
- // ../../../node_modules/ajv/dist/compile/validate/boolSchema.js
1374
+ // node_modules/ajv/dist/compile/validate/boolSchema.js
1375
1375
  var require_boolSchema = __commonJS({
1376
- "../../../node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
1376
+ "node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
1377
1377
  "use strict";
1378
1378
  Object.defineProperty(exports, "__esModule", { value: true });
1379
1379
  exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
@@ -1422,9 +1422,9 @@ var require_boolSchema = __commonJS({
1422
1422
  }
1423
1423
  });
1424
1424
 
1425
- // ../../../node_modules/ajv/dist/compile/rules.js
1425
+ // node_modules/ajv/dist/compile/rules.js
1426
1426
  var require_rules = __commonJS({
1427
- "../../../node_modules/ajv/dist/compile/rules.js"(exports) {
1427
+ "node_modules/ajv/dist/compile/rules.js"(exports) {
1428
1428
  "use strict";
1429
1429
  Object.defineProperty(exports, "__esModule", { value: true });
1430
1430
  exports.getRules = exports.isJSONType = void 0;
@@ -1453,9 +1453,9 @@ var require_rules = __commonJS({
1453
1453
  }
1454
1454
  });
1455
1455
 
1456
- // ../../../node_modules/ajv/dist/compile/validate/applicability.js
1456
+ // node_modules/ajv/dist/compile/validate/applicability.js
1457
1457
  var require_applicability = __commonJS({
1458
- "../../../node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
1458
+ "node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
1459
1459
  "use strict";
1460
1460
  Object.defineProperty(exports, "__esModule", { value: true });
1461
1461
  exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
@@ -1476,9 +1476,9 @@ var require_applicability = __commonJS({
1476
1476
  }
1477
1477
  });
1478
1478
 
1479
- // ../../../node_modules/ajv/dist/compile/validate/dataType.js
1479
+ // node_modules/ajv/dist/compile/validate/dataType.js
1480
1480
  var require_dataType = __commonJS({
1481
- "../../../node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
1481
+ "node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
1482
1482
  "use strict";
1483
1483
  Object.defineProperty(exports, "__esModule", { value: true });
1484
1484
  exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
@@ -1660,9 +1660,9 @@ var require_dataType = __commonJS({
1660
1660
  }
1661
1661
  });
1662
1662
 
1663
- // ../../../node_modules/ajv/dist/compile/validate/defaults.js
1663
+ // node_modules/ajv/dist/compile/validate/defaults.js
1664
1664
  var require_defaults = __commonJS({
1665
- "../../../node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
1665
+ "node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
1666
1666
  "use strict";
1667
1667
  Object.defineProperty(exports, "__esModule", { value: true });
1668
1668
  exports.assignDefaults = void 0;
@@ -1697,9 +1697,9 @@ var require_defaults = __commonJS({
1697
1697
  }
1698
1698
  });
1699
1699
 
1700
- // ../../../node_modules/ajv/dist/vocabularies/code.js
1700
+ // node_modules/ajv/dist/vocabularies/code.js
1701
1701
  var require_code2 = __commonJS({
1702
- "../../../node_modules/ajv/dist/vocabularies/code.js"(exports) {
1702
+ "node_modules/ajv/dist/vocabularies/code.js"(exports) {
1703
1703
  "use strict";
1704
1704
  Object.defineProperty(exports, "__esModule", { value: true });
1705
1705
  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;
@@ -1830,9 +1830,9 @@ var require_code2 = __commonJS({
1830
1830
  }
1831
1831
  });
1832
1832
 
1833
- // ../../../node_modules/ajv/dist/compile/validate/keyword.js
1833
+ // node_modules/ajv/dist/compile/validate/keyword.js
1834
1834
  var require_keyword = __commonJS({
1835
- "../../../node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
1835
+ "node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
1836
1836
  "use strict";
1837
1837
  Object.defineProperty(exports, "__esModule", { value: true });
1838
1838
  exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
@@ -1948,9 +1948,9 @@ var require_keyword = __commonJS({
1948
1948
  }
1949
1949
  });
1950
1950
 
1951
- // ../../../node_modules/ajv/dist/compile/validate/subschema.js
1951
+ // node_modules/ajv/dist/compile/validate/subschema.js
1952
1952
  var require_subschema = __commonJS({
1953
- "../../../node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
1953
+ "node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
1954
1954
  "use strict";
1955
1955
  Object.defineProperty(exports, "__esModule", { value: true });
1956
1956
  exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
@@ -2031,9 +2031,9 @@ var require_subschema = __commonJS({
2031
2031
  }
2032
2032
  });
2033
2033
 
2034
- // ../../../node_modules/fast-deep-equal/index.js
2034
+ // node_modules/fast-deep-equal/index.js
2035
2035
  var require_fast_deep_equal = __commonJS({
2036
- "../../../node_modules/fast-deep-equal/index.js"(exports, module) {
2036
+ "node_modules/fast-deep-equal/index.js"(exports, module) {
2037
2037
  "use strict";
2038
2038
  module.exports = function equal(a, b) {
2039
2039
  if (a === b) return true;
@@ -2066,9 +2066,9 @@ var require_fast_deep_equal = __commonJS({
2066
2066
  }
2067
2067
  });
2068
2068
 
2069
- // ../../../node_modules/json-schema-traverse/index.js
2069
+ // node_modules/json-schema-traverse/index.js
2070
2070
  var require_json_schema_traverse = __commonJS({
2071
- "../../../node_modules/json-schema-traverse/index.js"(exports, module) {
2071
+ "node_modules/json-schema-traverse/index.js"(exports, module) {
2072
2072
  "use strict";
2073
2073
  var traverse = module.exports = function(schema, opts, cb) {
2074
2074
  if (typeof opts == "function") {
@@ -2154,9 +2154,9 @@ var require_json_schema_traverse = __commonJS({
2154
2154
  }
2155
2155
  });
2156
2156
 
2157
- // ../../../node_modules/ajv/dist/compile/resolve.js
2157
+ // node_modules/ajv/dist/compile/resolve.js
2158
2158
  var require_resolve = __commonJS({
2159
- "../../../node_modules/ajv/dist/compile/resolve.js"(exports) {
2159
+ "node_modules/ajv/dist/compile/resolve.js"(exports) {
2160
2160
  "use strict";
2161
2161
  Object.defineProperty(exports, "__esModule", { value: true });
2162
2162
  exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
@@ -2310,9 +2310,9 @@ var require_resolve = __commonJS({
2310
2310
  }
2311
2311
  });
2312
2312
 
2313
- // ../../../node_modules/ajv/dist/compile/validate/index.js
2313
+ // node_modules/ajv/dist/compile/validate/index.js
2314
2314
  var require_validate = __commonJS({
2315
- "../../../node_modules/ajv/dist/compile/validate/index.js"(exports) {
2315
+ "node_modules/ajv/dist/compile/validate/index.js"(exports) {
2316
2316
  "use strict";
2317
2317
  Object.defineProperty(exports, "__esModule", { value: true });
2318
2318
  exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
@@ -2818,9 +2818,9 @@ var require_validate = __commonJS({
2818
2818
  }
2819
2819
  });
2820
2820
 
2821
- // ../../../node_modules/ajv/dist/runtime/validation_error.js
2821
+ // node_modules/ajv/dist/runtime/validation_error.js
2822
2822
  var require_validation_error = __commonJS({
2823
- "../../../node_modules/ajv/dist/runtime/validation_error.js"(exports) {
2823
+ "node_modules/ajv/dist/runtime/validation_error.js"(exports) {
2824
2824
  "use strict";
2825
2825
  Object.defineProperty(exports, "__esModule", { value: true });
2826
2826
  var ValidationError = class extends Error {
@@ -2834,9 +2834,9 @@ var require_validation_error = __commonJS({
2834
2834
  }
2835
2835
  });
2836
2836
 
2837
- // ../../../node_modules/ajv/dist/compile/ref_error.js
2837
+ // node_modules/ajv/dist/compile/ref_error.js
2838
2838
  var require_ref_error = __commonJS({
2839
- "../../../node_modules/ajv/dist/compile/ref_error.js"(exports) {
2839
+ "node_modules/ajv/dist/compile/ref_error.js"(exports) {
2840
2840
  "use strict";
2841
2841
  Object.defineProperty(exports, "__esModule", { value: true });
2842
2842
  var resolve_1 = require_resolve();
@@ -2851,9 +2851,9 @@ var require_ref_error = __commonJS({
2851
2851
  }
2852
2852
  });
2853
2853
 
2854
- // ../../../node_modules/ajv/dist/compile/index.js
2854
+ // node_modules/ajv/dist/compile/index.js
2855
2855
  var require_compile = __commonJS({
2856
- "../../../node_modules/ajv/dist/compile/index.js"(exports) {
2856
+ "node_modules/ajv/dist/compile/index.js"(exports) {
2857
2857
  "use strict";
2858
2858
  Object.defineProperty(exports, "__esModule", { value: true });
2859
2859
  exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
@@ -3075,9 +3075,9 @@ var require_compile = __commonJS({
3075
3075
  }
3076
3076
  });
3077
3077
 
3078
- // ../../../node_modules/ajv/dist/refs/data.json
3078
+ // node_modules/ajv/dist/refs/data.json
3079
3079
  var require_data = __commonJS({
3080
- "../../../node_modules/ajv/dist/refs/data.json"(exports, module) {
3080
+ "node_modules/ajv/dist/refs/data.json"(exports, module) {
3081
3081
  module.exports = {
3082
3082
  $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
3083
3083
  description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
@@ -3094,9 +3094,9 @@ var require_data = __commonJS({
3094
3094
  }
3095
3095
  });
3096
3096
 
3097
- // ../../../node_modules/fast-uri/lib/utils.js
3097
+ // node_modules/fast-uri/lib/utils.js
3098
3098
  var require_utils = __commonJS({
3099
- "../../../node_modules/fast-uri/lib/utils.js"(exports, module) {
3099
+ "node_modules/fast-uri/lib/utils.js"(exports, module) {
3100
3100
  "use strict";
3101
3101
  var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
3102
3102
  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);
@@ -3351,9 +3351,9 @@ var require_utils = __commonJS({
3351
3351
  }
3352
3352
  });
3353
3353
 
3354
- // ../../../node_modules/fast-uri/lib/schemes.js
3354
+ // node_modules/fast-uri/lib/schemes.js
3355
3355
  var require_schemes = __commonJS({
3356
- "../../../node_modules/fast-uri/lib/schemes.js"(exports, module) {
3356
+ "node_modules/fast-uri/lib/schemes.js"(exports, module) {
3357
3357
  "use strict";
3358
3358
  var { isUUID } = require_utils();
3359
3359
  var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
@@ -3561,9 +3561,9 @@ var require_schemes = __commonJS({
3561
3561
  }
3562
3562
  });
3563
3563
 
3564
- // ../../../node_modules/fast-uri/index.js
3564
+ // node_modules/fast-uri/index.js
3565
3565
  var require_fast_uri = __commonJS({
3566
- "../../../node_modules/fast-uri/index.js"(exports, module) {
3566
+ "node_modules/fast-uri/index.js"(exports, module) {
3567
3567
  "use strict";
3568
3568
  var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizeComponentEncoding, isIPv4, nonSimpleDomain } = require_utils();
3569
3569
  var { SCHEMES, getSchemeHandler } = require_schemes();
@@ -3816,9 +3816,9 @@ var require_fast_uri = __commonJS({
3816
3816
  }
3817
3817
  });
3818
3818
 
3819
- // ../../../node_modules/ajv/dist/runtime/uri.js
3819
+ // node_modules/ajv/dist/runtime/uri.js
3820
3820
  var require_uri = __commonJS({
3821
- "../../../node_modules/ajv/dist/runtime/uri.js"(exports) {
3821
+ "node_modules/ajv/dist/runtime/uri.js"(exports) {
3822
3822
  "use strict";
3823
3823
  Object.defineProperty(exports, "__esModule", { value: true });
3824
3824
  var uri = require_fast_uri();
@@ -3827,9 +3827,9 @@ var require_uri = __commonJS({
3827
3827
  }
3828
3828
  });
3829
3829
 
3830
- // ../../../node_modules/ajv/dist/core.js
3830
+ // node_modules/ajv/dist/core.js
3831
3831
  var require_core = __commonJS({
3832
- "../../../node_modules/ajv/dist/core.js"(exports) {
3832
+ "node_modules/ajv/dist/core.js"(exports) {
3833
3833
  "use strict";
3834
3834
  Object.defineProperty(exports, "__esModule", { value: true });
3835
3835
  exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
@@ -4438,9 +4438,9 @@ var require_core = __commonJS({
4438
4438
  }
4439
4439
  });
4440
4440
 
4441
- // ../../../node_modules/ajv/dist/vocabularies/core/id.js
4441
+ // node_modules/ajv/dist/vocabularies/core/id.js
4442
4442
  var require_id = __commonJS({
4443
- "../../../node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
4443
+ "node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
4444
4444
  "use strict";
4445
4445
  Object.defineProperty(exports, "__esModule", { value: true });
4446
4446
  var def = {
@@ -4453,9 +4453,9 @@ var require_id = __commonJS({
4453
4453
  }
4454
4454
  });
4455
4455
 
4456
- // ../../../node_modules/ajv/dist/vocabularies/core/ref.js
4456
+ // node_modules/ajv/dist/vocabularies/core/ref.js
4457
4457
  var require_ref = __commonJS({
4458
- "../../../node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
4458
+ "node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
4459
4459
  "use strict";
4460
4460
  Object.defineProperty(exports, "__esModule", { value: true });
4461
4461
  exports.callRef = exports.getValidate = void 0;
@@ -4575,9 +4575,9 @@ var require_ref = __commonJS({
4575
4575
  }
4576
4576
  });
4577
4577
 
4578
- // ../../../node_modules/ajv/dist/vocabularies/core/index.js
4578
+ // node_modules/ajv/dist/vocabularies/core/index.js
4579
4579
  var require_core2 = __commonJS({
4580
- "../../../node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
4580
+ "node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
4581
4581
  "use strict";
4582
4582
  Object.defineProperty(exports, "__esModule", { value: true });
4583
4583
  var id_1 = require_id();
@@ -4596,9 +4596,9 @@ var require_core2 = __commonJS({
4596
4596
  }
4597
4597
  });
4598
4598
 
4599
- // ../../../node_modules/ajv/dist/vocabularies/validation/limitNumber.js
4599
+ // node_modules/ajv/dist/vocabularies/validation/limitNumber.js
4600
4600
  var require_limitNumber = __commonJS({
4601
- "../../../node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
4601
+ "node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
4602
4602
  "use strict";
4603
4603
  Object.defineProperty(exports, "__esModule", { value: true });
4604
4604
  var codegen_1 = require_codegen();
@@ -4628,9 +4628,9 @@ var require_limitNumber = __commonJS({
4628
4628
  }
4629
4629
  });
4630
4630
 
4631
- // ../../../node_modules/ajv/dist/vocabularies/validation/multipleOf.js
4631
+ // node_modules/ajv/dist/vocabularies/validation/multipleOf.js
4632
4632
  var require_multipleOf = __commonJS({
4633
- "../../../node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
4633
+ "node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
4634
4634
  "use strict";
4635
4635
  Object.defineProperty(exports, "__esModule", { value: true });
4636
4636
  var codegen_1 = require_codegen();
@@ -4656,9 +4656,9 @@ var require_multipleOf = __commonJS({
4656
4656
  }
4657
4657
  });
4658
4658
 
4659
- // ../../../node_modules/ajv/dist/runtime/ucs2length.js
4659
+ // node_modules/ajv/dist/runtime/ucs2length.js
4660
4660
  var require_ucs2length = __commonJS({
4661
- "../../../node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
4661
+ "node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
4662
4662
  "use strict";
4663
4663
  Object.defineProperty(exports, "__esModule", { value: true });
4664
4664
  function ucs2length(str) {
@@ -4682,9 +4682,9 @@ var require_ucs2length = __commonJS({
4682
4682
  }
4683
4683
  });
4684
4684
 
4685
- // ../../../node_modules/ajv/dist/vocabularies/validation/limitLength.js
4685
+ // node_modules/ajv/dist/vocabularies/validation/limitLength.js
4686
4686
  var require_limitLength = __commonJS({
4687
- "../../../node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
4687
+ "node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
4688
4688
  "use strict";
4689
4689
  Object.defineProperty(exports, "__esModule", { value: true });
4690
4690
  var codegen_1 = require_codegen();
@@ -4714,9 +4714,9 @@ var require_limitLength = __commonJS({
4714
4714
  }
4715
4715
  });
4716
4716
 
4717
- // ../../../node_modules/ajv/dist/vocabularies/validation/pattern.js
4717
+ // node_modules/ajv/dist/vocabularies/validation/pattern.js
4718
4718
  var require_pattern = __commonJS({
4719
- "../../../node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
4719
+ "node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
4720
4720
  "use strict";
4721
4721
  Object.defineProperty(exports, "__esModule", { value: true });
4722
4722
  var code_1 = require_code2();
@@ -4742,9 +4742,9 @@ var require_pattern = __commonJS({
4742
4742
  }
4743
4743
  });
4744
4744
 
4745
- // ../../../node_modules/ajv/dist/vocabularies/validation/limitProperties.js
4745
+ // node_modules/ajv/dist/vocabularies/validation/limitProperties.js
4746
4746
  var require_limitProperties = __commonJS({
4747
- "../../../node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
4747
+ "node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
4748
4748
  "use strict";
4749
4749
  Object.defineProperty(exports, "__esModule", { value: true });
4750
4750
  var codegen_1 = require_codegen();
@@ -4771,9 +4771,9 @@ var require_limitProperties = __commonJS({
4771
4771
  }
4772
4772
  });
4773
4773
 
4774
- // ../../../node_modules/ajv/dist/vocabularies/validation/required.js
4774
+ // node_modules/ajv/dist/vocabularies/validation/required.js
4775
4775
  var require_required = __commonJS({
4776
- "../../../node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
4776
+ "node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
4777
4777
  "use strict";
4778
4778
  Object.defineProperty(exports, "__esModule", { value: true });
4779
4779
  var code_1 = require_code2();
@@ -4853,9 +4853,9 @@ var require_required = __commonJS({
4853
4853
  }
4854
4854
  });
4855
4855
 
4856
- // ../../../node_modules/ajv/dist/vocabularies/validation/limitItems.js
4856
+ // node_modules/ajv/dist/vocabularies/validation/limitItems.js
4857
4857
  var require_limitItems = __commonJS({
4858
- "../../../node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
4858
+ "node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
4859
4859
  "use strict";
4860
4860
  Object.defineProperty(exports, "__esModule", { value: true });
4861
4861
  var codegen_1 = require_codegen();
@@ -4882,9 +4882,9 @@ var require_limitItems = __commonJS({
4882
4882
  }
4883
4883
  });
4884
4884
 
4885
- // ../../../node_modules/ajv/dist/runtime/equal.js
4885
+ // node_modules/ajv/dist/runtime/equal.js
4886
4886
  var require_equal = __commonJS({
4887
- "../../../node_modules/ajv/dist/runtime/equal.js"(exports) {
4887
+ "node_modules/ajv/dist/runtime/equal.js"(exports) {
4888
4888
  "use strict";
4889
4889
  Object.defineProperty(exports, "__esModule", { value: true });
4890
4890
  var equal = require_fast_deep_equal();
@@ -4893,9 +4893,9 @@ var require_equal = __commonJS({
4893
4893
  }
4894
4894
  });
4895
4895
 
4896
- // ../../../node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
4896
+ // node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
4897
4897
  var require_uniqueItems = __commonJS({
4898
- "../../../node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
4898
+ "node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
4899
4899
  "use strict";
4900
4900
  Object.defineProperty(exports, "__esModule", { value: true });
4901
4901
  var dataType_1 = require_dataType();
@@ -4960,9 +4960,9 @@ var require_uniqueItems = __commonJS({
4960
4960
  }
4961
4961
  });
4962
4962
 
4963
- // ../../../node_modules/ajv/dist/vocabularies/validation/const.js
4963
+ // node_modules/ajv/dist/vocabularies/validation/const.js
4964
4964
  var require_const = __commonJS({
4965
- "../../../node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
4965
+ "node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
4966
4966
  "use strict";
4967
4967
  Object.defineProperty(exports, "__esModule", { value: true });
4968
4968
  var codegen_1 = require_codegen();
@@ -4989,9 +4989,9 @@ var require_const = __commonJS({
4989
4989
  }
4990
4990
  });
4991
4991
 
4992
- // ../../../node_modules/ajv/dist/vocabularies/validation/enum.js
4992
+ // node_modules/ajv/dist/vocabularies/validation/enum.js
4993
4993
  var require_enum = __commonJS({
4994
- "../../../node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
4994
+ "node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
4995
4995
  "use strict";
4996
4996
  Object.defineProperty(exports, "__esModule", { value: true });
4997
4997
  var codegen_1 = require_codegen();
@@ -5038,9 +5038,9 @@ var require_enum = __commonJS({
5038
5038
  }
5039
5039
  });
5040
5040
 
5041
- // ../../../node_modules/ajv/dist/vocabularies/validation/index.js
5041
+ // node_modules/ajv/dist/vocabularies/validation/index.js
5042
5042
  var require_validation = __commonJS({
5043
- "../../../node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
5043
+ "node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
5044
5044
  "use strict";
5045
5045
  Object.defineProperty(exports, "__esModule", { value: true });
5046
5046
  var limitNumber_1 = require_limitNumber();
@@ -5076,9 +5076,9 @@ var require_validation = __commonJS({
5076
5076
  }
5077
5077
  });
5078
5078
 
5079
- // ../../../node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
5079
+ // node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
5080
5080
  var require_additionalItems = __commonJS({
5081
- "../../../node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
5081
+ "node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
5082
5082
  "use strict";
5083
5083
  Object.defineProperty(exports, "__esModule", { value: true });
5084
5084
  exports.validateAdditionalItems = void 0;
@@ -5129,9 +5129,9 @@ var require_additionalItems = __commonJS({
5129
5129
  }
5130
5130
  });
5131
5131
 
5132
- // ../../../node_modules/ajv/dist/vocabularies/applicator/items.js
5132
+ // node_modules/ajv/dist/vocabularies/applicator/items.js
5133
5133
  var require_items = __commonJS({
5134
- "../../../node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
5134
+ "node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
5135
5135
  "use strict";
5136
5136
  Object.defineProperty(exports, "__esModule", { value: true });
5137
5137
  exports.validateTuple = void 0;
@@ -5186,9 +5186,9 @@ var require_items = __commonJS({
5186
5186
  }
5187
5187
  });
5188
5188
 
5189
- // ../../../node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
5189
+ // node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
5190
5190
  var require_prefixItems = __commonJS({
5191
- "../../../node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
5191
+ "node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
5192
5192
  "use strict";
5193
5193
  Object.defineProperty(exports, "__esModule", { value: true });
5194
5194
  var items_1 = require_items();
@@ -5203,9 +5203,9 @@ var require_prefixItems = __commonJS({
5203
5203
  }
5204
5204
  });
5205
5205
 
5206
- // ../../../node_modules/ajv/dist/vocabularies/applicator/items2020.js
5206
+ // node_modules/ajv/dist/vocabularies/applicator/items2020.js
5207
5207
  var require_items2020 = __commonJS({
5208
- "../../../node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
5208
+ "node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
5209
5209
  "use strict";
5210
5210
  Object.defineProperty(exports, "__esModule", { value: true });
5211
5211
  var codegen_1 = require_codegen();
@@ -5238,9 +5238,9 @@ var require_items2020 = __commonJS({
5238
5238
  }
5239
5239
  });
5240
5240
 
5241
- // ../../../node_modules/ajv/dist/vocabularies/applicator/contains.js
5241
+ // node_modules/ajv/dist/vocabularies/applicator/contains.js
5242
5242
  var require_contains = __commonJS({
5243
- "../../../node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
5243
+ "node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
5244
5244
  "use strict";
5245
5245
  Object.defineProperty(exports, "__esModule", { value: true });
5246
5246
  var codegen_1 = require_codegen();
@@ -5332,9 +5332,9 @@ var require_contains = __commonJS({
5332
5332
  }
5333
5333
  });
5334
5334
 
5335
- // ../../../node_modules/ajv/dist/vocabularies/applicator/dependencies.js
5335
+ // node_modules/ajv/dist/vocabularies/applicator/dependencies.js
5336
5336
  var require_dependencies = __commonJS({
5337
- "../../../node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
5337
+ "node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
5338
5338
  "use strict";
5339
5339
  Object.defineProperty(exports, "__esModule", { value: true });
5340
5340
  exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
@@ -5426,9 +5426,9 @@ var require_dependencies = __commonJS({
5426
5426
  }
5427
5427
  });
5428
5428
 
5429
- // ../../../node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
5429
+ // node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
5430
5430
  var require_propertyNames = __commonJS({
5431
- "../../../node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
5431
+ "node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
5432
5432
  "use strict";
5433
5433
  Object.defineProperty(exports, "__esModule", { value: true });
5434
5434
  var codegen_1 = require_codegen();
@@ -5469,9 +5469,9 @@ var require_propertyNames = __commonJS({
5469
5469
  }
5470
5470
  });
5471
5471
 
5472
- // ../../../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
5472
+ // node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
5473
5473
  var require_additionalProperties = __commonJS({
5474
- "../../../node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
5474
+ "node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
5475
5475
  "use strict";
5476
5476
  Object.defineProperty(exports, "__esModule", { value: true });
5477
5477
  var code_1 = require_code2();
@@ -5575,9 +5575,9 @@ var require_additionalProperties = __commonJS({
5575
5575
  }
5576
5576
  });
5577
5577
 
5578
- // ../../../node_modules/ajv/dist/vocabularies/applicator/properties.js
5578
+ // node_modules/ajv/dist/vocabularies/applicator/properties.js
5579
5579
  var require_properties = __commonJS({
5580
- "../../../node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
5580
+ "node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
5581
5581
  "use strict";
5582
5582
  Object.defineProperty(exports, "__esModule", { value: true });
5583
5583
  var validate_1 = require_validate();
@@ -5633,9 +5633,9 @@ var require_properties = __commonJS({
5633
5633
  }
5634
5634
  });
5635
5635
 
5636
- // ../../../node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
5636
+ // node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
5637
5637
  var require_patternProperties = __commonJS({
5638
- "../../../node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
5638
+ "node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
5639
5639
  "use strict";
5640
5640
  Object.defineProperty(exports, "__esModule", { value: true });
5641
5641
  var code_1 = require_code2();
@@ -5707,9 +5707,9 @@ var require_patternProperties = __commonJS({
5707
5707
  }
5708
5708
  });
5709
5709
 
5710
- // ../../../node_modules/ajv/dist/vocabularies/applicator/not.js
5710
+ // node_modules/ajv/dist/vocabularies/applicator/not.js
5711
5711
  var require_not = __commonJS({
5712
- "../../../node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
5712
+ "node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
5713
5713
  "use strict";
5714
5714
  Object.defineProperty(exports, "__esModule", { value: true });
5715
5715
  var util_1 = require_util();
@@ -5738,9 +5738,9 @@ var require_not = __commonJS({
5738
5738
  }
5739
5739
  });
5740
5740
 
5741
- // ../../../node_modules/ajv/dist/vocabularies/applicator/anyOf.js
5741
+ // node_modules/ajv/dist/vocabularies/applicator/anyOf.js
5742
5742
  var require_anyOf = __commonJS({
5743
- "../../../node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
5743
+ "node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
5744
5744
  "use strict";
5745
5745
  Object.defineProperty(exports, "__esModule", { value: true });
5746
5746
  var code_1 = require_code2();
@@ -5755,9 +5755,9 @@ var require_anyOf = __commonJS({
5755
5755
  }
5756
5756
  });
5757
5757
 
5758
- // ../../../node_modules/ajv/dist/vocabularies/applicator/oneOf.js
5758
+ // node_modules/ajv/dist/vocabularies/applicator/oneOf.js
5759
5759
  var require_oneOf = __commonJS({
5760
- "../../../node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
5760
+ "node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
5761
5761
  "use strict";
5762
5762
  Object.defineProperty(exports, "__esModule", { value: true });
5763
5763
  var codegen_1 = require_codegen();
@@ -5813,9 +5813,9 @@ var require_oneOf = __commonJS({
5813
5813
  }
5814
5814
  });
5815
5815
 
5816
- // ../../../node_modules/ajv/dist/vocabularies/applicator/allOf.js
5816
+ // node_modules/ajv/dist/vocabularies/applicator/allOf.js
5817
5817
  var require_allOf = __commonJS({
5818
- "../../../node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
5818
+ "node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
5819
5819
  "use strict";
5820
5820
  Object.defineProperty(exports, "__esModule", { value: true });
5821
5821
  var util_1 = require_util();
@@ -5840,9 +5840,9 @@ var require_allOf = __commonJS({
5840
5840
  }
5841
5841
  });
5842
5842
 
5843
- // ../../../node_modules/ajv/dist/vocabularies/applicator/if.js
5843
+ // node_modules/ajv/dist/vocabularies/applicator/if.js
5844
5844
  var require_if = __commonJS({
5845
- "../../../node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
5845
+ "node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
5846
5846
  "use strict";
5847
5847
  Object.defineProperty(exports, "__esModule", { value: true });
5848
5848
  var codegen_1 = require_codegen();
@@ -5909,9 +5909,9 @@ var require_if = __commonJS({
5909
5909
  }
5910
5910
  });
5911
5911
 
5912
- // ../../../node_modules/ajv/dist/vocabularies/applicator/thenElse.js
5912
+ // node_modules/ajv/dist/vocabularies/applicator/thenElse.js
5913
5913
  var require_thenElse = __commonJS({
5914
- "../../../node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
5914
+ "node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
5915
5915
  "use strict";
5916
5916
  Object.defineProperty(exports, "__esModule", { value: true });
5917
5917
  var util_1 = require_util();
@@ -5927,9 +5927,9 @@ var require_thenElse = __commonJS({
5927
5927
  }
5928
5928
  });
5929
5929
 
5930
- // ../../../node_modules/ajv/dist/vocabularies/applicator/index.js
5930
+ // node_modules/ajv/dist/vocabularies/applicator/index.js
5931
5931
  var require_applicator = __commonJS({
5932
- "../../../node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
5932
+ "node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
5933
5933
  "use strict";
5934
5934
  Object.defineProperty(exports, "__esModule", { value: true });
5935
5935
  var additionalItems_1 = require_additionalItems();
@@ -5975,9 +5975,9 @@ var require_applicator = __commonJS({
5975
5975
  }
5976
5976
  });
5977
5977
 
5978
- // ../../../node_modules/ajv/dist/vocabularies/format/format.js
5978
+ // node_modules/ajv/dist/vocabularies/format/format.js
5979
5979
  var require_format = __commonJS({
5980
- "../../../node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
5980
+ "node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
5981
5981
  "use strict";
5982
5982
  Object.defineProperty(exports, "__esModule", { value: true });
5983
5983
  var codegen_1 = require_codegen();
@@ -6065,9 +6065,9 @@ var require_format = __commonJS({
6065
6065
  }
6066
6066
  });
6067
6067
 
6068
- // ../../../node_modules/ajv/dist/vocabularies/format/index.js
6068
+ // node_modules/ajv/dist/vocabularies/format/index.js
6069
6069
  var require_format2 = __commonJS({
6070
- "../../../node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
6070
+ "node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
6071
6071
  "use strict";
6072
6072
  Object.defineProperty(exports, "__esModule", { value: true });
6073
6073
  var format_1 = require_format();
@@ -6076,9 +6076,9 @@ var require_format2 = __commonJS({
6076
6076
  }
6077
6077
  });
6078
6078
 
6079
- // ../../../node_modules/ajv/dist/vocabularies/metadata.js
6079
+ // node_modules/ajv/dist/vocabularies/metadata.js
6080
6080
  var require_metadata = __commonJS({
6081
- "../../../node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
6081
+ "node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
6082
6082
  "use strict";
6083
6083
  Object.defineProperty(exports, "__esModule", { value: true });
6084
6084
  exports.contentVocabulary = exports.metadataVocabulary = void 0;
@@ -6099,9 +6099,9 @@ var require_metadata = __commonJS({
6099
6099
  }
6100
6100
  });
6101
6101
 
6102
- // ../../../node_modules/ajv/dist/vocabularies/draft7.js
6102
+ // node_modules/ajv/dist/vocabularies/draft7.js
6103
6103
  var require_draft7 = __commonJS({
6104
- "../../../node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
6104
+ "node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
6105
6105
  "use strict";
6106
6106
  Object.defineProperty(exports, "__esModule", { value: true });
6107
6107
  var core_1 = require_core2();
@@ -6121,9 +6121,9 @@ var require_draft7 = __commonJS({
6121
6121
  }
6122
6122
  });
6123
6123
 
6124
- // ../../../node_modules/ajv/dist/vocabularies/discriminator/types.js
6124
+ // node_modules/ajv/dist/vocabularies/discriminator/types.js
6125
6125
  var require_types = __commonJS({
6126
- "../../../node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
6126
+ "node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
6127
6127
  "use strict";
6128
6128
  Object.defineProperty(exports, "__esModule", { value: true });
6129
6129
  exports.DiscrError = void 0;
@@ -6135,9 +6135,9 @@ var require_types = __commonJS({
6135
6135
  }
6136
6136
  });
6137
6137
 
6138
- // ../../../node_modules/ajv/dist/vocabularies/discriminator/index.js
6138
+ // node_modules/ajv/dist/vocabularies/discriminator/index.js
6139
6139
  var require_discriminator = __commonJS({
6140
- "../../../node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
6140
+ "node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
6141
6141
  "use strict";
6142
6142
  Object.defineProperty(exports, "__esModule", { value: true });
6143
6143
  var codegen_1 = require_codegen();
@@ -6240,9 +6240,9 @@ var require_discriminator = __commonJS({
6240
6240
  }
6241
6241
  });
6242
6242
 
6243
- // ../../../node_modules/ajv/dist/refs/json-schema-draft-07.json
6243
+ // node_modules/ajv/dist/refs/json-schema-draft-07.json
6244
6244
  var require_json_schema_draft_07 = __commonJS({
6245
- "../../../node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module) {
6245
+ "node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module) {
6246
6246
  module.exports = {
6247
6247
  $schema: "http://json-schema.org/draft-07/schema#",
6248
6248
  $id: "http://json-schema.org/draft-07/schema#",
@@ -6397,9 +6397,9 @@ var require_json_schema_draft_07 = __commonJS({
6397
6397
  }
6398
6398
  });
6399
6399
 
6400
- // ../../../node_modules/ajv/dist/ajv.js
6400
+ // node_modules/ajv/dist/ajv.js
6401
6401
  var require_ajv = __commonJS({
6402
- "../../../node_modules/ajv/dist/ajv.js"(exports, module) {
6402
+ "node_modules/ajv/dist/ajv.js"(exports, module) {
6403
6403
  "use strict";
6404
6404
  Object.defineProperty(exports, "__esModule", { value: true });
6405
6405
  exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
@@ -6467,9 +6467,9 @@ var require_ajv = __commonJS({
6467
6467
  }
6468
6468
  });
6469
6469
 
6470
- // ../../../node_modules/ajv-formats/dist/formats.js
6470
+ // node_modules/ajv-formats/dist/formats.js
6471
6471
  var require_formats = __commonJS({
6472
- "../../../node_modules/ajv-formats/dist/formats.js"(exports) {
6472
+ "node_modules/ajv-formats/dist/formats.js"(exports) {
6473
6473
  "use strict";
6474
6474
  Object.defineProperty(exports, "__esModule", { value: true });
6475
6475
  exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
@@ -6670,9 +6670,9 @@ var require_formats = __commonJS({
6670
6670
  }
6671
6671
  });
6672
6672
 
6673
- // ../../../node_modules/ajv-formats/dist/limit.js
6673
+ // node_modules/ajv-formats/dist/limit.js
6674
6674
  var require_limit = __commonJS({
6675
- "../../../node_modules/ajv-formats/dist/limit.js"(exports) {
6675
+ "node_modules/ajv-formats/dist/limit.js"(exports) {
6676
6676
  "use strict";
6677
6677
  Object.defineProperty(exports, "__esModule", { value: true });
6678
6678
  exports.formatLimitDefinition = void 0;
@@ -6742,9 +6742,9 @@ var require_limit = __commonJS({
6742
6742
  }
6743
6743
  });
6744
6744
 
6745
- // ../../../node_modules/ajv-formats/dist/index.js
6745
+ // node_modules/ajv-formats/dist/index.js
6746
6746
  var require_dist = __commonJS({
6747
- "../../../node_modules/ajv-formats/dist/index.js"(exports, module) {
6747
+ "node_modules/ajv-formats/dist/index.js"(exports, module) {
6748
6748
  "use strict";
6749
6749
  Object.defineProperty(exports, "__esModule", { value: true });
6750
6750
  var formats_1 = require_formats();
@@ -6786,10 +6786,11 @@ var require_dist = __commonJS({
6786
6786
 
6787
6787
  // src/server/app.ts
6788
6788
  import { randomUUID } from "crypto";
6789
+ import { AsyncLocalStorage } from "async_hooks";
6789
6790
  import path2 from "path";
6790
6791
  import { fileURLToPath } from "url";
6791
6792
 
6792
- // ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
6793
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
6793
6794
  import * as z3rt from "zod/v3";
6794
6795
  import * as z4mini from "zod/v4-mini";
6795
6796
  function isZ4Schema(s) {
@@ -6935,7 +6936,7 @@ function getLiteralValue(schema) {
6935
6936
  return void 0;
6936
6937
  }
6937
6938
 
6938
- // ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
6939
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
6939
6940
  import * as z from "zod/v4";
6940
6941
  var LATEST_PROTOCOL_VERSION = "2025-11-25";
6941
6942
  var DEFAULT_NEGOTIATED_PROTOCOL_VERSION = "2025-03-26";
@@ -8456,15 +8457,15 @@ var UrlElicitationRequiredError = class extends McpError {
8456
8457
  }
8457
8458
  };
8458
8459
 
8459
- // ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
8460
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
8460
8461
  function isTerminal(status) {
8461
8462
  return status === "completed" || status === "failed" || status === "cancelled";
8462
8463
  }
8463
8464
 
8464
- // ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
8465
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
8465
8466
  import * as z4mini2 from "zod/v4-mini";
8466
8467
 
8467
- // ../../../node_modules/zod-to-json-schema/dist/esm/Options.js
8468
+ // node_modules/zod-to-json-schema/dist/esm/Options.js
8468
8469
  var ignoreOverride = /* @__PURE__ */ Symbol("Let zodToJsonSchema decide on which parser to use");
8469
8470
  var defaultOptions = {
8470
8471
  name: void 0,
@@ -8498,7 +8499,7 @@ var getDefaultOptions = (options) => typeof options === "string" ? {
8498
8499
  ...options
8499
8500
  };
8500
8501
 
8501
- // ../../../node_modules/zod-to-json-schema/dist/esm/Refs.js
8502
+ // node_modules/zod-to-json-schema/dist/esm/Refs.js
8502
8503
  var getRefs = (options) => {
8503
8504
  const _options = getDefaultOptions(options);
8504
8505
  const currentPath = _options.name !== void 0 ? [..._options.basePath, _options.definitionPath, _options.name] : _options.basePath;
@@ -8519,7 +8520,7 @@ var getRefs = (options) => {
8519
8520
  };
8520
8521
  };
8521
8522
 
8522
- // ../../../node_modules/zod-to-json-schema/dist/esm/errorMessages.js
8523
+ // node_modules/zod-to-json-schema/dist/esm/errorMessages.js
8523
8524
  function addErrorMessage(res, key, errorMessage, refs) {
8524
8525
  if (!refs?.errorMessages)
8525
8526
  return;
@@ -8535,7 +8536,7 @@ function setResponseValueAndErrors(res, key, value, errorMessage, refs) {
8535
8536
  addErrorMessage(res, key, errorMessage, refs);
8536
8537
  }
8537
8538
 
8538
- // ../../../node_modules/zod-to-json-schema/dist/esm/getRelativePath.js
8539
+ // node_modules/zod-to-json-schema/dist/esm/getRelativePath.js
8539
8540
  var getRelativePath = (pathA, pathB) => {
8540
8541
  let i = 0;
8541
8542
  for (; i < pathA.length && i < pathB.length; i++) {
@@ -8545,10 +8546,10 @@ var getRelativePath = (pathA, pathB) => {
8545
8546
  return [(pathA.length - i).toString(), ...pathB.slice(i)].join("/");
8546
8547
  };
8547
8548
 
8548
- // ../../../node_modules/zod-to-json-schema/dist/esm/selectParser.js
8549
+ // node_modules/zod-to-json-schema/dist/esm/selectParser.js
8549
8550
  import { ZodFirstPartyTypeKind as ZodFirstPartyTypeKind3 } from "zod/v3";
8550
8551
 
8551
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/any.js
8552
+ // node_modules/zod-to-json-schema/dist/esm/parsers/any.js
8552
8553
  function parseAnyDef(refs) {
8553
8554
  if (refs.target !== "openAi") {
8554
8555
  return {};
@@ -8564,7 +8565,7 @@ function parseAnyDef(refs) {
8564
8565
  };
8565
8566
  }
8566
8567
 
8567
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/array.js
8568
+ // node_modules/zod-to-json-schema/dist/esm/parsers/array.js
8568
8569
  import { ZodFirstPartyTypeKind } from "zod/v3";
8569
8570
  function parseArrayDef(def, refs) {
8570
8571
  const res = {
@@ -8589,7 +8590,7 @@ function parseArrayDef(def, refs) {
8589
8590
  return res;
8590
8591
  }
8591
8592
 
8592
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
8593
+ // node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
8593
8594
  function parseBigintDef(def, refs) {
8594
8595
  const res = {
8595
8596
  type: "integer",
@@ -8635,24 +8636,24 @@ function parseBigintDef(def, refs) {
8635
8636
  return res;
8636
8637
  }
8637
8638
 
8638
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js
8639
+ // node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js
8639
8640
  function parseBooleanDef() {
8640
8641
  return {
8641
8642
  type: "boolean"
8642
8643
  };
8643
8644
  }
8644
8645
 
8645
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
8646
+ // node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
8646
8647
  function parseBrandedDef(_def, refs) {
8647
8648
  return parseDef(_def.type._def, refs);
8648
8649
  }
8649
8650
 
8650
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
8651
+ // node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
8651
8652
  var parseCatchDef = (def, refs) => {
8652
8653
  return parseDef(def.innerType._def, refs);
8653
8654
  };
8654
8655
 
8655
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/date.js
8656
+ // node_modules/zod-to-json-schema/dist/esm/parsers/date.js
8656
8657
  function parseDateDef(def, refs, overrideDateStrategy) {
8657
8658
  const strategy = overrideDateStrategy ?? refs.dateStrategy;
8658
8659
  if (Array.isArray(strategy)) {
@@ -8711,7 +8712,7 @@ var integerDateParser = (def, refs) => {
8711
8712
  return res;
8712
8713
  };
8713
8714
 
8714
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/default.js
8715
+ // node_modules/zod-to-json-schema/dist/esm/parsers/default.js
8715
8716
  function parseDefaultDef(_def, refs) {
8716
8717
  return {
8717
8718
  ...parseDef(_def.innerType._def, refs),
@@ -8719,12 +8720,12 @@ function parseDefaultDef(_def, refs) {
8719
8720
  };
8720
8721
  }
8721
8722
 
8722
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
8723
+ // node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
8723
8724
  function parseEffectsDef(_def, refs) {
8724
8725
  return refs.effectStrategy === "input" ? parseDef(_def.schema._def, refs) : parseAnyDef(refs);
8725
8726
  }
8726
8727
 
8727
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/enum.js
8728
+ // node_modules/zod-to-json-schema/dist/esm/parsers/enum.js
8728
8729
  function parseEnumDef(def) {
8729
8730
  return {
8730
8731
  type: "string",
@@ -8732,7 +8733,7 @@ function parseEnumDef(def) {
8732
8733
  };
8733
8734
  }
8734
8735
 
8735
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
8736
+ // node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
8736
8737
  var isJsonSchema7AllOfType = (type) => {
8737
8738
  if ("type" in type && type.type === "string")
8738
8739
  return false;
@@ -8774,7 +8775,7 @@ function parseIntersectionDef(def, refs) {
8774
8775
  } : void 0;
8775
8776
  }
8776
8777
 
8777
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/literal.js
8778
+ // node_modules/zod-to-json-schema/dist/esm/parsers/literal.js
8778
8779
  function parseLiteralDef(def, refs) {
8779
8780
  const parsedType = typeof def.value;
8780
8781
  if (parsedType !== "bigint" && parsedType !== "number" && parsedType !== "boolean" && parsedType !== "string") {
@@ -8794,10 +8795,10 @@ function parseLiteralDef(def, refs) {
8794
8795
  };
8795
8796
  }
8796
8797
 
8797
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/record.js
8798
+ // node_modules/zod-to-json-schema/dist/esm/parsers/record.js
8798
8799
  import { ZodFirstPartyTypeKind as ZodFirstPartyTypeKind2 } from "zod/v3";
8799
8800
 
8800
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/string.js
8801
+ // node_modules/zod-to-json-schema/dist/esm/parsers/string.js
8801
8802
  var emojiRegex = void 0;
8802
8803
  var zodPatterns = {
8803
8804
  /**
@@ -9122,7 +9123,7 @@ function stringifyRegExpWithFlags(regex, refs) {
9122
9123
  return pattern;
9123
9124
  }
9124
9125
 
9125
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/record.js
9126
+ // node_modules/zod-to-json-schema/dist/esm/parsers/record.js
9126
9127
  function parseRecordDef(def, refs) {
9127
9128
  if (refs.target === "openAi") {
9128
9129
  console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");
@@ -9174,7 +9175,7 @@ function parseRecordDef(def, refs) {
9174
9175
  return schema;
9175
9176
  }
9176
9177
 
9177
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/map.js
9178
+ // node_modules/zod-to-json-schema/dist/esm/parsers/map.js
9178
9179
  function parseMapDef(def, refs) {
9179
9180
  if (refs.mapStrategy === "record") {
9180
9181
  return parseRecordDef(def, refs);
@@ -9199,7 +9200,7 @@ function parseMapDef(def, refs) {
9199
9200
  };
9200
9201
  }
9201
9202
 
9202
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js
9203
+ // node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js
9203
9204
  function parseNativeEnumDef(def) {
9204
9205
  const object4 = def.values;
9205
9206
  const actualKeys = Object.keys(def.values).filter((key) => {
@@ -9213,7 +9214,7 @@ function parseNativeEnumDef(def) {
9213
9214
  };
9214
9215
  }
9215
9216
 
9216
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/never.js
9217
+ // node_modules/zod-to-json-schema/dist/esm/parsers/never.js
9217
9218
  function parseNeverDef(refs) {
9218
9219
  return refs.target === "openAi" ? void 0 : {
9219
9220
  not: parseAnyDef({
@@ -9223,7 +9224,7 @@ function parseNeverDef(refs) {
9223
9224
  };
9224
9225
  }
9225
9226
 
9226
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/null.js
9227
+ // node_modules/zod-to-json-schema/dist/esm/parsers/null.js
9227
9228
  function parseNullDef(refs) {
9228
9229
  return refs.target === "openApi3" ? {
9229
9230
  enum: ["null"],
@@ -9233,7 +9234,7 @@ function parseNullDef(refs) {
9233
9234
  };
9234
9235
  }
9235
9236
 
9236
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/union.js
9237
+ // node_modules/zod-to-json-schema/dist/esm/parsers/union.js
9237
9238
  var primitiveMappings = {
9238
9239
  ZodString: "string",
9239
9240
  ZodNumber: "number",
@@ -9301,7 +9302,7 @@ var asAnyOf = (def, refs) => {
9301
9302
  return anyOf.length ? { anyOf } : void 0;
9302
9303
  };
9303
9304
 
9304
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
9305
+ // node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
9305
9306
  function parseNullableDef(def, refs) {
9306
9307
  if (["ZodString", "ZodNumber", "ZodBigInt", "ZodBoolean", "ZodNull"].includes(def.innerType._def.typeName) && (!def.innerType._def.checks || !def.innerType._def.checks.length)) {
9307
9308
  if (refs.target === "openApi3") {
@@ -9333,7 +9334,7 @@ function parseNullableDef(def, refs) {
9333
9334
  return base && { anyOf: [base, { type: "null" }] };
9334
9335
  }
9335
9336
 
9336
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/number.js
9337
+ // node_modules/zod-to-json-schema/dist/esm/parsers/number.js
9337
9338
  function parseNumberDef(def, refs) {
9338
9339
  const res = {
9339
9340
  type: "number"
@@ -9382,7 +9383,7 @@ function parseNumberDef(def, refs) {
9382
9383
  return res;
9383
9384
  }
9384
9385
 
9385
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/object.js
9386
+ // node_modules/zod-to-json-schema/dist/esm/parsers/object.js
9386
9387
  function parseObjectDef(def, refs) {
9387
9388
  const forceOptionalIntoNullable = refs.target === "openAi";
9388
9389
  const result = {
@@ -9452,7 +9453,7 @@ function safeIsOptional(schema) {
9452
9453
  }
9453
9454
  }
9454
9455
 
9455
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
9456
+ // node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
9456
9457
  var parseOptionalDef = (def, refs) => {
9457
9458
  if (refs.currentPath.toString() === refs.propertyPath?.toString()) {
9458
9459
  return parseDef(def.innerType._def, refs);
@@ -9471,7 +9472,7 @@ var parseOptionalDef = (def, refs) => {
9471
9472
  } : parseAnyDef(refs);
9472
9473
  };
9473
9474
 
9474
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
9475
+ // node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
9475
9476
  var parsePipelineDef = (def, refs) => {
9476
9477
  if (refs.pipeStrategy === "input") {
9477
9478
  return parseDef(def.in._def, refs);
@@ -9491,12 +9492,12 @@ var parsePipelineDef = (def, refs) => {
9491
9492
  };
9492
9493
  };
9493
9494
 
9494
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
9495
+ // node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
9495
9496
  function parsePromiseDef(def, refs) {
9496
9497
  return parseDef(def.type._def, refs);
9497
9498
  }
9498
9499
 
9499
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/set.js
9500
+ // node_modules/zod-to-json-schema/dist/esm/parsers/set.js
9500
9501
  function parseSetDef(def, refs) {
9501
9502
  const items = parseDef(def.valueType._def, {
9502
9503
  ...refs,
@@ -9516,7 +9517,7 @@ function parseSetDef(def, refs) {
9516
9517
  return schema;
9517
9518
  }
9518
9519
 
9519
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
9520
+ // node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
9520
9521
  function parseTupleDef(def, refs) {
9521
9522
  if (def.rest) {
9522
9523
  return {
@@ -9544,24 +9545,24 @@ function parseTupleDef(def, refs) {
9544
9545
  }
9545
9546
  }
9546
9547
 
9547
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
9548
+ // node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
9548
9549
  function parseUndefinedDef(refs) {
9549
9550
  return {
9550
9551
  not: parseAnyDef(refs)
9551
9552
  };
9552
9553
  }
9553
9554
 
9554
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
9555
+ // node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
9555
9556
  function parseUnknownDef(refs) {
9556
9557
  return parseAnyDef(refs);
9557
9558
  }
9558
9559
 
9559
- // ../../../node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
9560
+ // node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
9560
9561
  var parseReadonlyDef = (def, refs) => {
9561
9562
  return parseDef(def.innerType._def, refs);
9562
9563
  };
9563
9564
 
9564
- // ../../../node_modules/zod-to-json-schema/dist/esm/selectParser.js
9565
+ // node_modules/zod-to-json-schema/dist/esm/selectParser.js
9565
9566
  var selectParser = (def, typeName, refs) => {
9566
9567
  switch (typeName) {
9567
9568
  case ZodFirstPartyTypeKind3.ZodString:
@@ -9637,7 +9638,7 @@ var selectParser = (def, typeName, refs) => {
9637
9638
  }
9638
9639
  };
9639
9640
 
9640
- // ../../../node_modules/zod-to-json-schema/dist/esm/parseDef.js
9641
+ // node_modules/zod-to-json-schema/dist/esm/parseDef.js
9641
9642
  function parseDef(def, refs, forceResolution = false) {
9642
9643
  const seenItem = refs.seen.get(def);
9643
9644
  if (refs.override) {
@@ -9693,7 +9694,7 @@ var addMeta = (def, refs, jsonSchema) => {
9693
9694
  return jsonSchema;
9694
9695
  };
9695
9696
 
9696
- // ../../../node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
9697
+ // node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
9697
9698
  var zodToJsonSchema = (schema, options) => {
9698
9699
  const refs = getRefs(options);
9699
9700
  let definitions = typeof options === "object" && options.definitions ? Object.entries(options.definitions).reduce((acc, [name2, schema2]) => ({
@@ -9755,7 +9756,7 @@ var zodToJsonSchema = (schema, options) => {
9755
9756
  return combined;
9756
9757
  };
9757
9758
 
9758
- // ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
9759
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
9759
9760
  function mapMiniTarget(t) {
9760
9761
  if (!t)
9761
9762
  return "draft-7";
@@ -9797,7 +9798,7 @@ function parseWithCompat(schema, data) {
9797
9798
  return result.data;
9798
9799
  }
9799
9800
 
9800
- // ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
9801
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
9801
9802
  var DEFAULT_REQUEST_TIMEOUT_MSEC = 6e4;
9802
9803
  var Protocol = class {
9803
9804
  constructor(_options) {
@@ -10733,7 +10734,7 @@ function mergeCapabilities(base, additional) {
10733
10734
  return result;
10734
10735
  }
10735
10736
 
10736
- // ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
10737
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
10737
10738
  var import_ajv = __toESM(require_ajv(), 1);
10738
10739
  var import_ajv_formats = __toESM(require_dist(), 1);
10739
10740
  function createDefaultAjvInstance() {
@@ -10801,7 +10802,7 @@ var AjvJsonSchemaValidator = class {
10801
10802
  }
10802
10803
  };
10803
10804
 
10804
- // ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
10805
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
10805
10806
  var ExperimentalServerTasks = class {
10806
10807
  constructor(_server) {
10807
10808
  this._server = _server;
@@ -10873,7 +10874,7 @@ var ExperimentalServerTasks = class {
10873
10874
  }
10874
10875
  };
10875
10876
 
10876
- // ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
10877
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
10877
10878
  function assertToolsCallTaskCapability(requests, method, entityName) {
10878
10879
  if (!requests) {
10879
10880
  throw new Error(`${entityName} does not support task creation (required for ${method})`);
@@ -10908,7 +10909,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
10908
10909
  }
10909
10910
  }
10910
10911
 
10911
- // ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
10912
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
10912
10913
  var Server = class extends Protocol {
10913
10914
  /**
10914
10915
  * Initializes this server with the given name and version information.
@@ -11288,7 +11289,7 @@ var Server = class extends Protocol {
11288
11289
  }
11289
11290
  };
11290
11291
 
11291
- // ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
11292
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
11292
11293
  var COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
11293
11294
  function isCompletable(schema) {
11294
11295
  return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
@@ -11302,7 +11303,7 @@ var McpZodTypeKind;
11302
11303
  McpZodTypeKind2["Completable"] = "McpCompletable";
11303
11304
  })(McpZodTypeKind || (McpZodTypeKind = {}));
11304
11305
 
11305
- // ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
11306
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
11306
11307
  var TOOL_NAME_REGEX = /^[A-Za-z0-9._-]{1,128}$/;
11307
11308
  function validateToolName(name) {
11308
11309
  const warnings = [];
@@ -11360,7 +11361,7 @@ function validateAndWarnToolName(name) {
11360
11361
  return result.isValid;
11361
11362
  }
11362
11363
 
11363
- // ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
11364
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
11364
11365
  var ExperimentalMcpServerTasks = class {
11365
11366
  constructor(_mcpServer) {
11366
11367
  this._mcpServer = _mcpServer;
@@ -11375,7 +11376,7 @@ var ExperimentalMcpServerTasks = class {
11375
11376
  }
11376
11377
  };
11377
11378
 
11378
- // ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
11379
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
11379
11380
  import { ZodOptional } from "zod";
11380
11381
  var McpServer = class {
11381
11382
  constructor(serverInfo, options) {
@@ -12162,7 +12163,7 @@ var EMPTY_COMPLETION_RESULT = {
12162
12163
  }
12163
12164
  };
12164
12165
 
12165
- // ../../../node_modules/@hono/node-server/dist/index.mjs
12166
+ // node_modules/@hono/node-server/dist/index.mjs
12166
12167
  import { Http2ServerRequest as Http2ServerRequest2 } from "http2";
12167
12168
  import { Http2ServerRequest } from "http2";
12168
12169
  import { Readable } from "stream";
@@ -12480,19 +12481,9 @@ var buildOutgoingHttpHeaders = (headers) => {
12480
12481
  return res;
12481
12482
  };
12482
12483
  var X_ALREADY_SENT = "x-hono-already-sent";
12483
- var webFetch = global.fetch;
12484
12484
  if (typeof global.crypto === "undefined") {
12485
12485
  global.crypto = crypto2;
12486
12486
  }
12487
- global.fetch = (info, init) => {
12488
- init = {
12489
- // Disable compression handling so people can return the result of a fetch
12490
- // directly in the loader without messing with the Content-Encoding header.
12491
- compress: false,
12492
- ...init
12493
- };
12494
- return webFetch(info, init);
12495
- };
12496
12487
  var outgoingEnded = /* @__PURE__ */ Symbol("outgoingEnded");
12497
12488
  var handleRequestError = () => new Response(null, {
12498
12489
  status: 400
@@ -12704,7 +12695,7 @@ var getRequestListener = (fetchCallback, options = {}) => {
12704
12695
  };
12705
12696
  };
12706
12697
 
12707
- // ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js
12698
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js
12708
12699
  var WebStandardStreamableHTTPServerTransport = class {
12709
12700
  constructor(options = {}) {
12710
12701
  this._started = false;
@@ -13283,7 +13274,7 @@ data:
13283
13274
  }
13284
13275
  };
13285
13276
 
13286
- // ../../../node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.js
13277
+ // node_modules/@modelcontextprotocol/sdk/dist/esm/server/streamableHttp.js
13287
13278
  var StreamableHTTPServerTransport = class {
13288
13279
  constructor(options = {}) {
13289
13280
  this._requestContext = /* @__PURE__ */ new WeakMap();
@@ -13748,6 +13739,15 @@ var WebSocketManager = class {
13748
13739
  };
13749
13740
 
13750
13741
  // src/server/app.ts
13742
+ var requestContextStorage = new AsyncLocalStorage();
13743
+ var extractBearerToken = (authHeader) => {
13744
+ if (!authHeader) return void 0;
13745
+ const trimmed = authHeader.trim();
13746
+ if (trimmed.toLowerCase().startsWith("bearer ")) {
13747
+ return trimmed.slice(7).trim();
13748
+ }
13749
+ return void 0;
13750
+ };
13751
13751
  var App = class {
13752
13752
  // ==========================================================================
13753
13753
  // Private Properties
@@ -13773,6 +13773,8 @@ var App = class {
13773
13773
  singletonInstances = /* @__PURE__ */ new Map();
13774
13774
  /** Whether the connected host supports multiInstance. ChatGPT doesn't, Creature does. */
13775
13775
  hostSupportsMultiInstance = false;
13776
+ /** OAuth discovery endpoint configuration. */
13777
+ oauthDiscoveryConfig = null;
13776
13778
  // ==========================================================================
13777
13779
  // Constructor
13778
13780
  // ==========================================================================
@@ -13811,6 +13813,29 @@ var App = class {
13811
13813
  });
13812
13814
  return this;
13813
13815
  }
13816
+ /**
13817
+ * Serve an OAuth discovery endpoint.
13818
+ * Used by OAuth clients (like ChatGPT) to discover authorization server metadata.
13819
+ *
13820
+ * @param config.path - The endpoint path (e.g., "/.well-known/oauth-authorization-server")
13821
+ * @param config.[rest] - All other properties become the JSON response body
13822
+ *
13823
+ * @example
13824
+ * app.serveOAuthDiscovery({
13825
+ * path: "/.well-known/oauth-authorization-server",
13826
+ * issuer: "https://creature.run",
13827
+ * authorization_endpoint: "https://creature.run/oauth/authorize",
13828
+ * token_endpoint: "https://api.creature.run/apps/v1/oauth/token",
13829
+ * response_types_supported: ["code"],
13830
+ * grant_types_supported: ["authorization_code", "refresh_token"],
13831
+ * code_challenge_methods_supported: ["S256"],
13832
+ * });
13833
+ */
13834
+ serveOAuthDiscovery(config) {
13835
+ const { path: path3, ...body } = config;
13836
+ this.oauthDiscoveryConfig = { path: path3, body };
13837
+ return this;
13838
+ }
13814
13839
  // ==========================================================================
13815
13840
  // Public API: Server Lifecycle
13816
13841
  // ==========================================================================
@@ -14167,6 +14192,19 @@ var App = class {
14167
14192
  res.status(204).end();
14168
14193
  return;
14169
14194
  }
14195
+ if (app.oauthDiscoveryConfig) {
14196
+ const requestPath = isEdge ? new URL(reqOrRequest.url).pathname : reqOrRequest.url?.split("?")[0];
14197
+ if (requestPath === app.oauthDiscoveryConfig.path) {
14198
+ if (isEdge) {
14199
+ return new Response(JSON.stringify(app.oauthDiscoveryConfig.body), {
14200
+ status: 200,
14201
+ headers: corsHeaders
14202
+ });
14203
+ }
14204
+ res.status(200).json(app.oauthDiscoveryConfig.body);
14205
+ return;
14206
+ }
14207
+ }
14170
14208
  let body = {};
14171
14209
  try {
14172
14210
  if (isEdge) {
@@ -14480,6 +14518,11 @@ var App = class {
14480
14518
  websockets: this.instanceWebSockets.size
14481
14519
  });
14482
14520
  });
14521
+ if (this.oauthDiscoveryConfig) {
14522
+ app.get(this.oauthDiscoveryConfig.path, (_req, res) => {
14523
+ res.json(this.oauthDiscoveryConfig.body);
14524
+ });
14525
+ }
14483
14526
  app.post("/mcp", (req, res) => this.handleMcpPost(req, res));
14484
14527
  app.get("/mcp", (req, res) => this.handleMcpGet(req, res));
14485
14528
  app.delete("/mcp", (req, res) => this.handleMcpDelete(req, res));
@@ -14487,38 +14530,42 @@ var App = class {
14487
14530
  }
14488
14531
  async handleMcpPost(req, res) {
14489
14532
  const transportSessionId = req.headers["mcp-session-id"];
14490
- try {
14491
- let transport;
14492
- if (transportSessionId && this.transports.has(transportSessionId)) {
14493
- transport = this.transports.get(transportSessionId);
14494
- } else if (!transportSessionId && isInitializeRequest2(req.body)) {
14495
- const clientName = req.body?.params?.clientInfo?.name;
14496
- this.hostSupportsMultiInstance = clientName === "creature";
14497
- console.log(`[MCP] Client: ${clientName}, multiInstance support: ${this.hostSupportsMultiInstance}`);
14498
- transport = this.createTransport();
14499
- const server = this.createMcpServer();
14500
- await server.connect(transport);
14533
+ const authorizationHeader = req.headers["authorization"];
14534
+ const context = { authorizationHeader };
14535
+ await requestContextStorage.run(context, async () => {
14536
+ try {
14537
+ let transport;
14538
+ if (transportSessionId && this.transports.has(transportSessionId)) {
14539
+ transport = this.transports.get(transportSessionId);
14540
+ } else if (!transportSessionId && isInitializeRequest2(req.body)) {
14541
+ const clientName = req.body?.params?.clientInfo?.name;
14542
+ this.hostSupportsMultiInstance = clientName === "creature";
14543
+ console.log(`[MCP] Client: ${clientName}, multiInstance support: ${this.hostSupportsMultiInstance}`);
14544
+ transport = this.createTransport();
14545
+ const server = this.createMcpServer();
14546
+ await server.connect(transport);
14547
+ await transport.handleRequest(req, res, req.body);
14548
+ return;
14549
+ } else {
14550
+ res.status(400).json({
14551
+ jsonrpc: "2.0",
14552
+ error: { code: -32e3, message: "Bad Request: No valid transport session ID" },
14553
+ id: null
14554
+ });
14555
+ return;
14556
+ }
14501
14557
  await transport.handleRequest(req, res, req.body);
14502
- return;
14503
- } else {
14504
- res.status(400).json({
14505
- jsonrpc: "2.0",
14506
- error: { code: -32e3, message: "Bad Request: No valid transport session ID" },
14507
- id: null
14508
- });
14509
- return;
14510
- }
14511
- await transport.handleRequest(req, res, req.body);
14512
- } catch (error) {
14513
- console.error("Error:", error);
14514
- if (!res.headersSent) {
14515
- res.status(500).json({
14516
- jsonrpc: "2.0",
14517
- error: { code: -32603, message: "Internal server error" },
14518
- id: null
14519
- });
14558
+ } catch (error) {
14559
+ console.error("Error:", error);
14560
+ if (!res.headersSent) {
14561
+ res.status(500).json({
14562
+ jsonrpc: "2.0",
14563
+ error: { code: -32603, message: "Internal server error" },
14564
+ id: null
14565
+ });
14566
+ }
14520
14567
  }
14521
- }
14568
+ });
14522
14569
  }
14523
14570
  async handleMcpGet(req, res) {
14524
14571
  const transportSessionId = req.headers["mcp-session-id"];
@@ -14654,7 +14701,11 @@ var App = class {
14654
14701
  },
14655
14702
  async (args) => {
14656
14703
  try {
14657
- const creatureToken = args._creatureToken;
14704
+ let creatureToken = args._creatureToken;
14705
+ if (!creatureToken) {
14706
+ const reqContext = requestContextStorage.getStore();
14707
+ creatureToken = extractBearerToken(reqContext?.authorizationHeader);
14708
+ }
14658
14709
  const { _creatureToken: _, ...cleanArgs } = args;
14659
14710
  const input = config.input ? config.input.parse(cleanArgs) : cleanArgs;
14660
14711
  let instanceId;