@umbraco-cms/mcp-dev 17.2.0 → 17.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -7,10 +7,10 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkUHEUCBCRcjs = require('./chunk-UHEUCBCR.cjs');
10
+ var _chunkJDDQAEQJcjs = require('./chunk-JDDQAEQJ.cjs');
11
11
 
12
12
  // node_modules/ajv/dist/compile/codegen/code.js
13
- var require_code = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
13
+ var require_code = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
14
14
  "node_modules/ajv/dist/compile/codegen/code.js"(exports) {
15
15
  "use strict";
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -164,7 +164,7 @@ var require_code = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
164
164
  });
165
165
 
166
166
  // node_modules/ajv/dist/compile/codegen/scope.js
167
- var require_scope = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
167
+ var require_scope = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
168
168
  "node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
169
169
  "use strict";
170
170
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -309,7 +309,7 @@ var require_scope = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
309
309
  });
310
310
 
311
311
  // node_modules/ajv/dist/compile/codegen/index.js
312
- var require_codegen = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
312
+ var require_codegen = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
313
313
  "node_modules/ajv/dist/compile/codegen/index.js"(exports) {
314
314
  "use strict";
315
315
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1029,7 +1029,7 @@ var require_codegen = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1029
1029
  });
1030
1030
 
1031
1031
  // node_modules/ajv/dist/compile/util.js
1032
- var require_util = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1032
+ var require_util = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
1033
1033
  "node_modules/ajv/dist/compile/util.js"(exports) {
1034
1034
  "use strict";
1035
1035
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1196,7 +1196,7 @@ var require_util = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1196
1196
  });
1197
1197
 
1198
1198
  // node_modules/ajv/dist/compile/names.js
1199
- var require_names = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1199
+ var require_names = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
1200
1200
  "node_modules/ajv/dist/compile/names.js"(exports) {
1201
1201
  "use strict";
1202
1202
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1235,7 +1235,7 @@ var require_names = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1235
1235
  });
1236
1236
 
1237
1237
  // node_modules/ajv/dist/compile/errors.js
1238
- var require_errors = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1238
+ var require_errors = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
1239
1239
  "node_modules/ajv/dist/compile/errors.js"(exports) {
1240
1240
  "use strict";
1241
1241
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1357,7 +1357,7 @@ var require_errors = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1357
1357
  });
1358
1358
 
1359
1359
  // node_modules/ajv/dist/compile/validate/boolSchema.js
1360
- var require_boolSchema = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1360
+ var require_boolSchema = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
1361
1361
  "node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
1362
1362
  "use strict";
1363
1363
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1408,7 +1408,7 @@ var require_boolSchema = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1408
1408
  });
1409
1409
 
1410
1410
  // node_modules/ajv/dist/compile/rules.js
1411
- var require_rules = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1411
+ var require_rules = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
1412
1412
  "node_modules/ajv/dist/compile/rules.js"(exports) {
1413
1413
  "use strict";
1414
1414
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1439,7 +1439,7 @@ var require_rules = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1439
1439
  });
1440
1440
 
1441
1441
  // node_modules/ajv/dist/compile/validate/applicability.js
1442
- var require_applicability = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1442
+ var require_applicability = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
1443
1443
  "node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
1444
1444
  "use strict";
1445
1445
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1462,7 +1462,7 @@ var require_applicability = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1462
1462
  });
1463
1463
 
1464
1464
  // node_modules/ajv/dist/compile/validate/dataType.js
1465
- var require_dataType = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1465
+ var require_dataType = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
1466
1466
  "node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
1467
1467
  "use strict";
1468
1468
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1646,7 +1646,7 @@ var require_dataType = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1646
1646
  });
1647
1647
 
1648
1648
  // node_modules/ajv/dist/compile/validate/defaults.js
1649
- var require_defaults = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1649
+ var require_defaults = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
1650
1650
  "node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
1651
1651
  "use strict";
1652
1652
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1683,7 +1683,7 @@ var require_defaults = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1683
1683
  });
1684
1684
 
1685
1685
  // node_modules/ajv/dist/vocabularies/code.js
1686
- var require_code2 = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1686
+ var require_code2 = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
1687
1687
  "node_modules/ajv/dist/vocabularies/code.js"(exports) {
1688
1688
  "use strict";
1689
1689
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1816,7 +1816,7 @@ var require_code2 = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1816
1816
  });
1817
1817
 
1818
1818
  // node_modules/ajv/dist/compile/validate/keyword.js
1819
- var require_keyword = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1819
+ var require_keyword = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
1820
1820
  "node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
1821
1821
  "use strict";
1822
1822
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1934,7 +1934,7 @@ var require_keyword = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1934
1934
  });
1935
1935
 
1936
1936
  // node_modules/ajv/dist/compile/validate/subschema.js
1937
- var require_subschema = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
1937
+ var require_subschema = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
1938
1938
  "node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
1939
1939
  "use strict";
1940
1940
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -2017,7 +2017,7 @@ var require_subschema = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
2017
2017
  });
2018
2018
 
2019
2019
  // node_modules/fast-deep-equal/index.js
2020
- var require_fast_deep_equal = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
2020
+ var require_fast_deep_equal = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
2021
2021
  "node_modules/fast-deep-equal/index.js"(exports, module) {
2022
2022
  "use strict";
2023
2023
  module.exports = function equal(a, b) {
@@ -2052,7 +2052,7 @@ var require_fast_deep_equal = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
2052
2052
  });
2053
2053
 
2054
2054
  // node_modules/json-schema-traverse/index.js
2055
- var require_json_schema_traverse = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
2055
+ var require_json_schema_traverse = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
2056
2056
  "node_modules/json-schema-traverse/index.js"(exports, module) {
2057
2057
  "use strict";
2058
2058
  var traverse = module.exports = function(schema, opts, cb) {
@@ -2140,7 +2140,7 @@ var require_json_schema_traverse = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
2140
2140
  });
2141
2141
 
2142
2142
  // node_modules/ajv/dist/compile/resolve.js
2143
- var require_resolve = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
2143
+ var require_resolve = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
2144
2144
  "node_modules/ajv/dist/compile/resolve.js"(exports) {
2145
2145
  "use strict";
2146
2146
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -2296,7 +2296,7 @@ var require_resolve = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
2296
2296
  });
2297
2297
 
2298
2298
  // node_modules/ajv/dist/compile/validate/index.js
2299
- var require_validate = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
2299
+ var require_validate = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
2300
2300
  "node_modules/ajv/dist/compile/validate/index.js"(exports) {
2301
2301
  "use strict";
2302
2302
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -2804,7 +2804,7 @@ var require_validate = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
2804
2804
  });
2805
2805
 
2806
2806
  // node_modules/ajv/dist/runtime/validation_error.js
2807
- var require_validation_error = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
2807
+ var require_validation_error = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
2808
2808
  "node_modules/ajv/dist/runtime/validation_error.js"(exports) {
2809
2809
  "use strict";
2810
2810
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -2820,7 +2820,7 @@ var require_validation_error = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
2820
2820
  });
2821
2821
 
2822
2822
  // node_modules/ajv/dist/compile/ref_error.js
2823
- var require_ref_error = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
2823
+ var require_ref_error = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
2824
2824
  "node_modules/ajv/dist/compile/ref_error.js"(exports) {
2825
2825
  "use strict";
2826
2826
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -2837,7 +2837,7 @@ var require_ref_error = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
2837
2837
  });
2838
2838
 
2839
2839
  // node_modules/ajv/dist/compile/index.js
2840
- var require_compile = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
2840
+ var require_compile = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
2841
2841
  "node_modules/ajv/dist/compile/index.js"(exports) {
2842
2842
  "use strict";
2843
2843
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -3061,7 +3061,7 @@ var require_compile = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
3061
3061
  });
3062
3062
 
3063
3063
  // node_modules/ajv/dist/refs/data.json
3064
- var require_data = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
3064
+ var require_data = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
3065
3065
  "node_modules/ajv/dist/refs/data.json"(exports, module) {
3066
3066
  module.exports = {
3067
3067
  $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
@@ -3080,7 +3080,7 @@ var require_data = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
3080
3080
  });
3081
3081
 
3082
3082
  // node_modules/fast-uri/lib/utils.js
3083
- var require_utils = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
3083
+ var require_utils = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
3084
3084
  "node_modules/fast-uri/lib/utils.js"(exports, module) {
3085
3085
  "use strict";
3086
3086
  var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
@@ -3337,7 +3337,7 @@ var require_utils = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
3337
3337
  });
3338
3338
 
3339
3339
  // node_modules/fast-uri/lib/schemes.js
3340
- var require_schemes = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
3340
+ var require_schemes = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
3341
3341
  "node_modules/fast-uri/lib/schemes.js"(exports, module) {
3342
3342
  "use strict";
3343
3343
  var { isUUID } = require_utils();
@@ -3547,7 +3547,7 @@ var require_schemes = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
3547
3547
  });
3548
3548
 
3549
3549
  // node_modules/fast-uri/index.js
3550
- var require_fast_uri = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
3550
+ var require_fast_uri = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
3551
3551
  "node_modules/fast-uri/index.js"(exports, module) {
3552
3552
  "use strict";
3553
3553
  var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizeComponentEncoding, isIPv4, nonSimpleDomain } = require_utils();
@@ -3802,7 +3802,7 @@ var require_fast_uri = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
3802
3802
  });
3803
3803
 
3804
3804
  // node_modules/ajv/dist/runtime/uri.js
3805
- var require_uri = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
3805
+ var require_uri = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
3806
3806
  "node_modules/ajv/dist/runtime/uri.js"(exports) {
3807
3807
  "use strict";
3808
3808
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -3813,7 +3813,7 @@ var require_uri = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
3813
3813
  });
3814
3814
 
3815
3815
  // node_modules/ajv/dist/core.js
3816
- var require_core = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
3816
+ var require_core = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
3817
3817
  "node_modules/ajv/dist/core.js"(exports) {
3818
3818
  "use strict";
3819
3819
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4424,7 +4424,7 @@ var require_core = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4424
4424
  });
4425
4425
 
4426
4426
  // node_modules/ajv/dist/vocabularies/core/id.js
4427
- var require_id = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4427
+ var require_id = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
4428
4428
  "node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
4429
4429
  "use strict";
4430
4430
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4439,7 +4439,7 @@ var require_id = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4439
4439
  });
4440
4440
 
4441
4441
  // node_modules/ajv/dist/vocabularies/core/ref.js
4442
- var require_ref = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4442
+ var require_ref = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
4443
4443
  "node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
4444
4444
  "use strict";
4445
4445
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4561,7 +4561,7 @@ var require_ref = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4561
4561
  });
4562
4562
 
4563
4563
  // node_modules/ajv/dist/vocabularies/core/index.js
4564
- var require_core2 = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4564
+ var require_core2 = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
4565
4565
  "node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
4566
4566
  "use strict";
4567
4567
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4582,7 +4582,7 @@ var require_core2 = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4582
4582
  });
4583
4583
 
4584
4584
  // node_modules/ajv/dist/vocabularies/validation/limitNumber.js
4585
- var require_limitNumber = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4585
+ var require_limitNumber = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
4586
4586
  "node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
4587
4587
  "use strict";
4588
4588
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4614,7 +4614,7 @@ var require_limitNumber = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4614
4614
  });
4615
4615
 
4616
4616
  // node_modules/ajv/dist/vocabularies/validation/multipleOf.js
4617
- var require_multipleOf = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4617
+ var require_multipleOf = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
4618
4618
  "node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
4619
4619
  "use strict";
4620
4620
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4642,7 +4642,7 @@ var require_multipleOf = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4642
4642
  });
4643
4643
 
4644
4644
  // node_modules/ajv/dist/runtime/ucs2length.js
4645
- var require_ucs2length = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4645
+ var require_ucs2length = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
4646
4646
  "node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
4647
4647
  "use strict";
4648
4648
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4668,7 +4668,7 @@ var require_ucs2length = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4668
4668
  });
4669
4669
 
4670
4670
  // node_modules/ajv/dist/vocabularies/validation/limitLength.js
4671
- var require_limitLength = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4671
+ var require_limitLength = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
4672
4672
  "node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
4673
4673
  "use strict";
4674
4674
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4700,7 +4700,7 @@ var require_limitLength = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4700
4700
  });
4701
4701
 
4702
4702
  // node_modules/ajv/dist/vocabularies/validation/pattern.js
4703
- var require_pattern = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4703
+ var require_pattern = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
4704
4704
  "node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
4705
4705
  "use strict";
4706
4706
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4737,7 +4737,7 @@ var require_pattern = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4737
4737
  });
4738
4738
 
4739
4739
  // node_modules/ajv/dist/vocabularies/validation/limitProperties.js
4740
- var require_limitProperties = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4740
+ var require_limitProperties = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
4741
4741
  "node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
4742
4742
  "use strict";
4743
4743
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4766,7 +4766,7 @@ var require_limitProperties = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4766
4766
  });
4767
4767
 
4768
4768
  // node_modules/ajv/dist/vocabularies/validation/required.js
4769
- var require_required = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4769
+ var require_required = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
4770
4770
  "node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
4771
4771
  "use strict";
4772
4772
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4848,7 +4848,7 @@ var require_required = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4848
4848
  });
4849
4849
 
4850
4850
  // node_modules/ajv/dist/vocabularies/validation/limitItems.js
4851
- var require_limitItems = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4851
+ var require_limitItems = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
4852
4852
  "node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
4853
4853
  "use strict";
4854
4854
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4877,7 +4877,7 @@ var require_limitItems = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4877
4877
  });
4878
4878
 
4879
4879
  // node_modules/ajv/dist/runtime/equal.js
4880
- var require_equal = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4880
+ var require_equal = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
4881
4881
  "node_modules/ajv/dist/runtime/equal.js"(exports) {
4882
4882
  "use strict";
4883
4883
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4888,7 +4888,7 @@ var require_equal = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4888
4888
  });
4889
4889
 
4890
4890
  // node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
4891
- var require_uniqueItems = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4891
+ var require_uniqueItems = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
4892
4892
  "node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
4893
4893
  "use strict";
4894
4894
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4955,7 +4955,7 @@ var require_uniqueItems = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4955
4955
  });
4956
4956
 
4957
4957
  // node_modules/ajv/dist/vocabularies/validation/const.js
4958
- var require_const = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4958
+ var require_const = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
4959
4959
  "node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
4960
4960
  "use strict";
4961
4961
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -4984,7 +4984,7 @@ var require_const = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4984
4984
  });
4985
4985
 
4986
4986
  // node_modules/ajv/dist/vocabularies/validation/enum.js
4987
- var require_enum = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
4987
+ var require_enum = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
4988
4988
  "node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
4989
4989
  "use strict";
4990
4990
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5033,7 +5033,7 @@ var require_enum = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5033
5033
  });
5034
5034
 
5035
5035
  // node_modules/ajv/dist/vocabularies/validation/index.js
5036
- var require_validation = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5036
+ var require_validation = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5037
5037
  "node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
5038
5038
  "use strict";
5039
5039
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5071,7 +5071,7 @@ var require_validation = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5071
5071
  });
5072
5072
 
5073
5073
  // node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
5074
- var require_additionalItems = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5074
+ var require_additionalItems = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5075
5075
  "node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
5076
5076
  "use strict";
5077
5077
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5124,7 +5124,7 @@ var require_additionalItems = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5124
5124
  });
5125
5125
 
5126
5126
  // node_modules/ajv/dist/vocabularies/applicator/items.js
5127
- var require_items = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5127
+ var require_items = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5128
5128
  "node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
5129
5129
  "use strict";
5130
5130
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5181,7 +5181,7 @@ var require_items = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5181
5181
  });
5182
5182
 
5183
5183
  // node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
5184
- var require_prefixItems = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5184
+ var require_prefixItems = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5185
5185
  "node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
5186
5186
  "use strict";
5187
5187
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5198,7 +5198,7 @@ var require_prefixItems = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5198
5198
  });
5199
5199
 
5200
5200
  // node_modules/ajv/dist/vocabularies/applicator/items2020.js
5201
- var require_items2020 = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5201
+ var require_items2020 = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5202
5202
  "node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
5203
5203
  "use strict";
5204
5204
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5233,7 +5233,7 @@ var require_items2020 = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5233
5233
  });
5234
5234
 
5235
5235
  // node_modules/ajv/dist/vocabularies/applicator/contains.js
5236
- var require_contains = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5236
+ var require_contains = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5237
5237
  "node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
5238
5238
  "use strict";
5239
5239
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5327,7 +5327,7 @@ var require_contains = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5327
5327
  });
5328
5328
 
5329
5329
  // node_modules/ajv/dist/vocabularies/applicator/dependencies.js
5330
- var require_dependencies = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5330
+ var require_dependencies = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5331
5331
  "node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
5332
5332
  "use strict";
5333
5333
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5421,7 +5421,7 @@ var require_dependencies = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5421
5421
  });
5422
5422
 
5423
5423
  // node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
5424
- var require_propertyNames = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5424
+ var require_propertyNames = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5425
5425
  "node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
5426
5426
  "use strict";
5427
5427
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5464,7 +5464,7 @@ var require_propertyNames = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5464
5464
  });
5465
5465
 
5466
5466
  // node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
5467
- var require_additionalProperties = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5467
+ var require_additionalProperties = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5468
5468
  "node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
5469
5469
  "use strict";
5470
5470
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5570,7 +5570,7 @@ var require_additionalProperties = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5570
5570
  });
5571
5571
 
5572
5572
  // node_modules/ajv/dist/vocabularies/applicator/properties.js
5573
- var require_properties = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5573
+ var require_properties = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5574
5574
  "node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
5575
5575
  "use strict";
5576
5576
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5628,7 +5628,7 @@ var require_properties = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5628
5628
  });
5629
5629
 
5630
5630
  // node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
5631
- var require_patternProperties = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5631
+ var require_patternProperties = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5632
5632
  "node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
5633
5633
  "use strict";
5634
5634
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5702,7 +5702,7 @@ var require_patternProperties = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5702
5702
  });
5703
5703
 
5704
5704
  // node_modules/ajv/dist/vocabularies/applicator/not.js
5705
- var require_not = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5705
+ var require_not = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5706
5706
  "node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
5707
5707
  "use strict";
5708
5708
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5733,7 +5733,7 @@ var require_not = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5733
5733
  });
5734
5734
 
5735
5735
  // node_modules/ajv/dist/vocabularies/applicator/anyOf.js
5736
- var require_anyOf = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5736
+ var require_anyOf = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5737
5737
  "node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
5738
5738
  "use strict";
5739
5739
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5750,7 +5750,7 @@ var require_anyOf = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5750
5750
  });
5751
5751
 
5752
5752
  // node_modules/ajv/dist/vocabularies/applicator/oneOf.js
5753
- var require_oneOf = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5753
+ var require_oneOf = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5754
5754
  "node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
5755
5755
  "use strict";
5756
5756
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5808,7 +5808,7 @@ var require_oneOf = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5808
5808
  });
5809
5809
 
5810
5810
  // node_modules/ajv/dist/vocabularies/applicator/allOf.js
5811
- var require_allOf = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5811
+ var require_allOf = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5812
5812
  "node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
5813
5813
  "use strict";
5814
5814
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5835,7 +5835,7 @@ var require_allOf = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5835
5835
  });
5836
5836
 
5837
5837
  // node_modules/ajv/dist/vocabularies/applicator/if.js
5838
- var require_if = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5838
+ var require_if = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5839
5839
  "node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
5840
5840
  "use strict";
5841
5841
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5904,7 +5904,7 @@ var require_if = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5904
5904
  });
5905
5905
 
5906
5906
  // node_modules/ajv/dist/vocabularies/applicator/thenElse.js
5907
- var require_thenElse = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5907
+ var require_thenElse = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5908
5908
  "node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
5909
5909
  "use strict";
5910
5910
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5922,7 +5922,7 @@ var require_thenElse = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5922
5922
  });
5923
5923
 
5924
5924
  // node_modules/ajv/dist/vocabularies/applicator/index.js
5925
- var require_applicator = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5925
+ var require_applicator = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5926
5926
  "node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
5927
5927
  "use strict";
5928
5928
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -5970,7 +5970,7 @@ var require_applicator = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5970
5970
  });
5971
5971
 
5972
5972
  // node_modules/ajv/dist/vocabularies/format/format.js
5973
- var require_format = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
5973
+ var require_format = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
5974
5974
  "node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
5975
5975
  "use strict";
5976
5976
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6060,7 +6060,7 @@ var require_format = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6060
6060
  });
6061
6061
 
6062
6062
  // node_modules/ajv/dist/vocabularies/format/index.js
6063
- var require_format2 = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6063
+ var require_format2 = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
6064
6064
  "node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
6065
6065
  "use strict";
6066
6066
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6071,7 +6071,7 @@ var require_format2 = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6071
6071
  });
6072
6072
 
6073
6073
  // node_modules/ajv/dist/vocabularies/metadata.js
6074
- var require_metadata = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6074
+ var require_metadata = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
6075
6075
  "node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
6076
6076
  "use strict";
6077
6077
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6094,7 +6094,7 @@ var require_metadata = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6094
6094
  });
6095
6095
 
6096
6096
  // node_modules/ajv/dist/vocabularies/draft7.js
6097
- var require_draft7 = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6097
+ var require_draft7 = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
6098
6098
  "node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
6099
6099
  "use strict";
6100
6100
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6116,7 +6116,7 @@ var require_draft7 = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6116
6116
  });
6117
6117
 
6118
6118
  // node_modules/ajv/dist/vocabularies/discriminator/types.js
6119
- var require_types = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6119
+ var require_types = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
6120
6120
  "node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
6121
6121
  "use strict";
6122
6122
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6130,7 +6130,7 @@ var require_types = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6130
6130
  });
6131
6131
 
6132
6132
  // node_modules/ajv/dist/vocabularies/discriminator/index.js
6133
- var require_discriminator = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6133
+ var require_discriminator = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
6134
6134
  "node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
6135
6135
  "use strict";
6136
6136
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6235,7 +6235,7 @@ var require_discriminator = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6235
6235
  });
6236
6236
 
6237
6237
  // node_modules/ajv/dist/refs/json-schema-draft-07.json
6238
- var require_json_schema_draft_07 = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6238
+ var require_json_schema_draft_07 = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
6239
6239
  "node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module) {
6240
6240
  module.exports = {
6241
6241
  $schema: "http://json-schema.org/draft-07/schema#",
@@ -6392,7 +6392,7 @@ var require_json_schema_draft_07 = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6392
6392
  });
6393
6393
 
6394
6394
  // node_modules/ajv/dist/ajv.js
6395
- var require_ajv = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6395
+ var require_ajv = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
6396
6396
  "node_modules/ajv/dist/ajv.js"(exports, module) {
6397
6397
  "use strict";
6398
6398
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6462,7 +6462,7 @@ var require_ajv = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6462
6462
  });
6463
6463
 
6464
6464
  // node_modules/ajv-formats/dist/formats.js
6465
- var require_formats = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6465
+ var require_formats = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
6466
6466
  "node_modules/ajv-formats/dist/formats.js"(exports) {
6467
6467
  "use strict";
6468
6468
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6665,7 +6665,7 @@ var require_formats = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6665
6665
  });
6666
6666
 
6667
6667
  // node_modules/ajv-formats/dist/limit.js
6668
- var require_limit = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6668
+ var require_limit = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
6669
6669
  "node_modules/ajv-formats/dist/limit.js"(exports) {
6670
6670
  "use strict";
6671
6671
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6737,7 +6737,7 @@ var require_limit = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6737
6737
  });
6738
6738
 
6739
6739
  // node_modules/ajv-formats/dist/index.js
6740
- var require_dist = _chunkUHEUCBCRcjs.__commonJS.call(void 0, {
6740
+ var require_dist = _chunkJDDQAEQJcjs.__commonJS.call(void 0, {
6741
6741
  "node_modules/ajv-formats/dist/index.js"(exports, module) {
6742
6742
  "use strict";
6743
6743
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -6935,10 +6935,9 @@ var ProgressTokenSchema = z.union([z.string(), z.number().int()]);
6935
6935
  var CursorSchema = z.string();
6936
6936
  var TaskCreationParamsSchema = z.looseObject({
6937
6937
  /**
6938
- * Time in milliseconds to keep task results available after completion.
6939
- * If null, the task has unlimited lifetime until manually cleaned up.
6938
+ * Requested duration in milliseconds to retain task from creation.
6940
6939
  */
6941
- ttl: z.union([z.number(), z.null()]).optional(),
6940
+ ttl: z.number().optional(),
6942
6941
  /**
6943
6942
  * Time in milliseconds to wait between task status requests.
6944
6943
  */
@@ -7238,7 +7237,11 @@ var ClientCapabilitiesSchema = z.object({
7238
7237
  /**
7239
7238
  * Present if the client supports task creation.
7240
7239
  */
7241
- tasks: ClientTasksCapabilitySchema.optional()
7240
+ tasks: ClientTasksCapabilitySchema.optional(),
7241
+ /**
7242
+ * Extensions that the client supports. Keys are extension identifiers (vendor-prefix/extension-name).
7243
+ */
7244
+ extensions: z.record(z.string(), AssertObjectSchema).optional()
7242
7245
  });
7243
7246
  var InitializeRequestParamsSchema = BaseRequestParamsSchema.extend({
7244
7247
  /**
@@ -7299,7 +7302,11 @@ var ServerCapabilitiesSchema = z.object({
7299
7302
  /**
7300
7303
  * Present if the server supports task creation.
7301
7304
  */
7302
- tasks: ServerTasksCapabilitySchema.optional()
7305
+ tasks: ServerTasksCapabilitySchema.optional(),
7306
+ /**
7307
+ * Extensions that the server supports. Keys are extension identifiers (vendor-prefix/extension-name).
7308
+ */
7309
+ extensions: z.record(z.string(), AssertObjectSchema).optional()
7303
7310
  });
7304
7311
  var InitializeResultSchema = ResultSchema.extend({
7305
7312
  /**
@@ -7491,6 +7498,12 @@ var ResourceSchema = z.object({
7491
7498
  * The MIME type of this resource, if known.
7492
7499
  */
7493
7500
  mimeType: z.optional(z.string()),
7501
+ /**
7502
+ * The size of the raw resource content, in bytes (i.e., before base64 encoding or any tokenization), if known.
7503
+ *
7504
+ * This can be used by Hosts to display file sizes and estimate context window usage.
7505
+ */
7506
+ size: z.optional(z.number()),
7494
7507
  /**
7495
7508
  * Optional annotations for the client.
7496
7509
  */
@@ -9996,6 +10009,10 @@ var Protocol = class {
9996
10009
  this._progressHandlers.clear();
9997
10010
  this._taskProgressTokens.clear();
9998
10011
  this._pendingDebouncedNotifications.clear();
10012
+ for (const info of this._timeoutInfo.values()) {
10013
+ clearTimeout(info.timeoutId);
10014
+ }
10015
+ this._timeoutInfo.clear();
9999
10016
  for (const controller of this._requestHandlerAbortControllers.values()) {
10000
10017
  controller.abort();
10001
10018
  }
@@ -10126,7 +10143,9 @@ var Protocol = class {
10126
10143
  await _optionalChain([capturedTransport, 'optionalAccess', _111 => _111.send, 'call', _112 => _112(errorResponse)]);
10127
10144
  }
10128
10145
  }).catch((error) => this._onerror(new Error(`Failed to send response: ${error}`))).finally(() => {
10129
- this._requestHandlerAbortControllers.delete(request.id);
10146
+ if (this._requestHandlerAbortControllers.get(request.id) === abortController) {
10147
+ this._requestHandlerAbortControllers.delete(request.id);
10148
+ }
10130
10149
  });
10131
10150
  }
10132
10151
  _onprogress(notification) {
@@ -10733,8 +10752,8 @@ function mergeCapabilities(base, additional) {
10733
10752
  }
10734
10753
 
10735
10754
  // node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
10736
- var import_ajv = _chunkUHEUCBCRcjs.__toESM.call(void 0, require_ajv(), 1);
10737
- var import_ajv_formats = _chunkUHEUCBCRcjs.__toESM.call(void 0, require_dist(), 1);
10755
+ var import_ajv = _chunkJDDQAEQJcjs.__toESM.call(void 0, require_ajv(), 1);
10756
+ var import_ajv_formats = _chunkJDDQAEQJcjs.__toESM.call(void 0, require_dist(), 1);
10738
10757
  function createDefaultAjvInstance() {
10739
10758
  const ajv = new import_ajv.default({
10740
10759
  strict: false,
@@ -10822,6 +10841,147 @@ var ExperimentalServerTasks = class {
10822
10841
  requestStream(request, resultSchema, options) {
10823
10842
  return this._server.requestStream(request, resultSchema, options);
10824
10843
  }
10844
+ /**
10845
+ * Sends a sampling request and returns an AsyncGenerator that yields response messages.
10846
+ * The generator is guaranteed to end with either a 'result' or 'error' message.
10847
+ *
10848
+ * For task-augmented requests, yields 'taskCreated' and 'taskStatus' messages
10849
+ * before the final result.
10850
+ *
10851
+ * @example
10852
+ * ```typescript
10853
+ * const stream = server.experimental.tasks.createMessageStream({
10854
+ * messages: [{ role: 'user', content: { type: 'text', text: 'Hello' } }],
10855
+ * maxTokens: 100
10856
+ * }, {
10857
+ * onprogress: (progress) => {
10858
+ * // Handle streaming tokens via progress notifications
10859
+ * console.log('Progress:', progress.message);
10860
+ * }
10861
+ * });
10862
+ *
10863
+ * for await (const message of stream) {
10864
+ * switch (message.type) {
10865
+ * case 'taskCreated':
10866
+ * console.log('Task created:', message.task.taskId);
10867
+ * break;
10868
+ * case 'taskStatus':
10869
+ * console.log('Task status:', message.task.status);
10870
+ * break;
10871
+ * case 'result':
10872
+ * console.log('Final result:', message.result);
10873
+ * break;
10874
+ * case 'error':
10875
+ * console.error('Error:', message.error);
10876
+ * break;
10877
+ * }
10878
+ * }
10879
+ * ```
10880
+ *
10881
+ * @param params - The sampling request parameters
10882
+ * @param options - Optional request options (timeout, signal, task creation params, onprogress, etc.)
10883
+ * @returns AsyncGenerator that yields ResponseMessage objects
10884
+ *
10885
+ * @experimental
10886
+ */
10887
+ createMessageStream(params, options) {
10888
+ const clientCapabilities = this._server.getClientCapabilities();
10889
+ if ((params.tools || params.toolChoice) && !_optionalChain([clientCapabilities, 'optionalAccess', _174 => _174.sampling, 'optionalAccess', _175 => _175.tools])) {
10890
+ throw new Error("Client does not support sampling tools capability.");
10891
+ }
10892
+ if (params.messages.length > 0) {
10893
+ const lastMessage = params.messages[params.messages.length - 1];
10894
+ const lastContent = Array.isArray(lastMessage.content) ? lastMessage.content : [lastMessage.content];
10895
+ const hasToolResults = lastContent.some((c) => c.type === "tool_result");
10896
+ const previousMessage = params.messages.length > 1 ? params.messages[params.messages.length - 2] : void 0;
10897
+ const previousContent = previousMessage ? Array.isArray(previousMessage.content) ? previousMessage.content : [previousMessage.content] : [];
10898
+ const hasPreviousToolUse = previousContent.some((c) => c.type === "tool_use");
10899
+ if (hasToolResults) {
10900
+ if (lastContent.some((c) => c.type !== "tool_result")) {
10901
+ throw new Error("The last message must contain only tool_result content if any is present");
10902
+ }
10903
+ if (!hasPreviousToolUse) {
10904
+ throw new Error("tool_result blocks are not matching any tool_use from the previous message");
10905
+ }
10906
+ }
10907
+ if (hasPreviousToolUse) {
10908
+ const toolUseIds = new Set(previousContent.filter((c) => c.type === "tool_use").map((c) => c.id));
10909
+ const toolResultIds = new Set(lastContent.filter((c) => c.type === "tool_result").map((c) => c.toolUseId));
10910
+ if (toolUseIds.size !== toolResultIds.size || ![...toolUseIds].every((id) => toolResultIds.has(id))) {
10911
+ throw new Error("ids of tool_result blocks and tool_use blocks from previous message do not match");
10912
+ }
10913
+ }
10914
+ }
10915
+ return this.requestStream({
10916
+ method: "sampling/createMessage",
10917
+ params
10918
+ }, CreateMessageResultSchema, options);
10919
+ }
10920
+ /**
10921
+ * Sends an elicitation request and returns an AsyncGenerator that yields response messages.
10922
+ * The generator is guaranteed to end with either a 'result' or 'error' message.
10923
+ *
10924
+ * For task-augmented requests (especially URL-based elicitation), yields 'taskCreated'
10925
+ * and 'taskStatus' messages before the final result.
10926
+ *
10927
+ * @example
10928
+ * ```typescript
10929
+ * const stream = server.experimental.tasks.elicitInputStream({
10930
+ * mode: 'url',
10931
+ * message: 'Please authenticate',
10932
+ * elicitationId: 'auth-123',
10933
+ * url: 'https://example.com/auth'
10934
+ * }, {
10935
+ * task: { ttl: 300000 } // Task-augmented for long-running auth flow
10936
+ * });
10937
+ *
10938
+ * for await (const message of stream) {
10939
+ * switch (message.type) {
10940
+ * case 'taskCreated':
10941
+ * console.log('Task created:', message.task.taskId);
10942
+ * break;
10943
+ * case 'taskStatus':
10944
+ * console.log('Task status:', message.task.status);
10945
+ * break;
10946
+ * case 'result':
10947
+ * console.log('User action:', message.result.action);
10948
+ * break;
10949
+ * case 'error':
10950
+ * console.error('Error:', message.error);
10951
+ * break;
10952
+ * }
10953
+ * }
10954
+ * ```
10955
+ *
10956
+ * @param params - The elicitation request parameters
10957
+ * @param options - Optional request options (timeout, signal, task creation params, etc.)
10958
+ * @returns AsyncGenerator that yields ResponseMessage objects
10959
+ *
10960
+ * @experimental
10961
+ */
10962
+ elicitInputStream(params, options) {
10963
+ const clientCapabilities = this._server.getClientCapabilities();
10964
+ const mode = _nullishCoalesce(params.mode, () => ( "form"));
10965
+ switch (mode) {
10966
+ case "url": {
10967
+ if (!_optionalChain([clientCapabilities, 'optionalAccess', _176 => _176.elicitation, 'optionalAccess', _177 => _177.url])) {
10968
+ throw new Error("Client does not support url elicitation.");
10969
+ }
10970
+ break;
10971
+ }
10972
+ case "form": {
10973
+ if (!_optionalChain([clientCapabilities, 'optionalAccess', _178 => _178.elicitation, 'optionalAccess', _179 => _179.form])) {
10974
+ throw new Error("Client does not support form elicitation.");
10975
+ }
10976
+ break;
10977
+ }
10978
+ }
10979
+ const normalizedParams = mode === "form" && params.mode === void 0 ? { ...params, mode: "form" } : params;
10980
+ return this.requestStream({
10981
+ method: "elicitation/create",
10982
+ params: normalizedParams
10983
+ }, ElicitResultSchema, options);
10984
+ }
10825
10985
  /**
10826
10986
  * Gets the current status of a task.
10827
10987
  *
@@ -10879,7 +11039,7 @@ function assertToolsCallTaskCapability(requests, method, entityName) {
10879
11039
  }
10880
11040
  switch (method) {
10881
11041
  case "tools/call":
10882
- if (!_optionalChain([requests, 'access', _174 => _174.tools, 'optionalAccess', _175 => _175.call])) {
11042
+ if (!_optionalChain([requests, 'access', _180 => _180.tools, 'optionalAccess', _181 => _181.call])) {
10883
11043
  throw new Error(`${entityName} does not support task creation for tools/call (required for ${method})`);
10884
11044
  }
10885
11045
  break;
@@ -10893,12 +11053,12 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
10893
11053
  }
10894
11054
  switch (method) {
10895
11055
  case "sampling/createMessage":
10896
- if (!_optionalChain([requests, 'access', _176 => _176.sampling, 'optionalAccess', _177 => _177.createMessage])) {
11056
+ if (!_optionalChain([requests, 'access', _182 => _182.sampling, 'optionalAccess', _183 => _183.createMessage])) {
10897
11057
  throw new Error(`${entityName} does not support task creation for sampling/createMessage (required for ${method})`);
10898
11058
  }
10899
11059
  break;
10900
11060
  case "elicitation/create":
10901
- if (!_optionalChain([requests, 'access', _178 => _178.elicitation, 'optionalAccess', _179 => _179.create])) {
11061
+ if (!_optionalChain([requests, 'access', _184 => _184.elicitation, 'optionalAccess', _185 => _185.create])) {
10902
11062
  throw new Error(`${entityName} does not support task creation for elicitation/create (required for ${method})`);
10903
11063
  }
10904
11064
  break;
@@ -10921,14 +11081,14 @@ var Server = class extends Protocol {
10921
11081
  const currentLevel = this._loggingLevels.get(sessionId);
10922
11082
  return currentLevel ? this.LOG_LEVEL_SEVERITY.get(level) < this.LOG_LEVEL_SEVERITY.get(currentLevel) : false;
10923
11083
  };
10924
- this._capabilities = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _180 => _180.capabilities]), () => ( {}));
10925
- this._instructions = _optionalChain([options, 'optionalAccess', _181 => _181.instructions]);
10926
- this._jsonSchemaValidator = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _182 => _182.jsonSchemaValidator]), () => ( new AjvJsonSchemaValidator()));
11084
+ this._capabilities = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _186 => _186.capabilities]), () => ( {}));
11085
+ this._instructions = _optionalChain([options, 'optionalAccess', _187 => _187.instructions]);
11086
+ this._jsonSchemaValidator = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _188 => _188.jsonSchemaValidator]), () => ( new AjvJsonSchemaValidator()));
10927
11087
  this.setRequestHandler(InitializeRequestSchema, (request) => this._oninitialize(request));
10928
- this.setNotificationHandler(InitializedNotificationSchema, () => _optionalChain([this, 'access', _183 => _183.oninitialized, 'optionalCall', _184 => _184()]));
11088
+ this.setNotificationHandler(InitializedNotificationSchema, () => _optionalChain([this, 'access', _189 => _189.oninitialized, 'optionalCall', _190 => _190()]));
10929
11089
  if (this._capabilities.logging) {
10930
11090
  this.setRequestHandler(SetLevelRequestSchema, async (request, extra) => {
10931
- const transportSessionId = extra.sessionId || _optionalChain([extra, 'access', _185 => _185.requestInfo, 'optionalAccess', _186 => _186.headers, 'access', _187 => _187["mcp-session-id"]]) || void 0;
11091
+ const transportSessionId = extra.sessionId || _optionalChain([extra, 'access', _191 => _191.requestInfo, 'optionalAccess', _192 => _192.headers, 'access', _193 => _193["mcp-session-id"]]) || void 0;
10932
11092
  const { level } = request.params;
10933
11093
  const parseResult = LoggingLevelSchema.safeParse(level);
10934
11094
  if (parseResult.success) {
@@ -10969,19 +11129,19 @@ var Server = class extends Protocol {
10969
11129
  */
10970
11130
  setRequestHandler(requestSchema, handler) {
10971
11131
  const shape = getObjectShape(requestSchema);
10972
- const methodSchema = _optionalChain([shape, 'optionalAccess', _188 => _188.method]);
11132
+ const methodSchema = _optionalChain([shape, 'optionalAccess', _194 => _194.method]);
10973
11133
  if (!methodSchema) {
10974
11134
  throw new Error("Schema is missing a method literal");
10975
11135
  }
10976
11136
  let methodValue;
10977
11137
  if (isZ4Schema(methodSchema)) {
10978
11138
  const v4Schema = methodSchema;
10979
- const v4Def = _optionalChain([v4Schema, 'access', _189 => _189._zod, 'optionalAccess', _190 => _190.def]);
10980
- methodValue = _nullishCoalesce(_optionalChain([v4Def, 'optionalAccess', _191 => _191.value]), () => ( v4Schema.value));
11139
+ const v4Def = _optionalChain([v4Schema, 'access', _195 => _195._zod, 'optionalAccess', _196 => _196.def]);
11140
+ methodValue = _nullishCoalesce(_optionalChain([v4Def, 'optionalAccess', _197 => _197.value]), () => ( v4Schema.value));
10981
11141
  } else {
10982
11142
  const v3Schema = methodSchema;
10983
11143
  const legacyDef = v3Schema._def;
10984
- methodValue = _nullishCoalesce(_optionalChain([legacyDef, 'optionalAccess', _192 => _192.value]), () => ( v3Schema.value));
11144
+ methodValue = _nullishCoalesce(_optionalChain([legacyDef, 'optionalAccess', _198 => _198.value]), () => ( v3Schema.value));
10985
11145
  }
10986
11146
  if (typeof methodValue !== "string") {
10987
11147
  throw new Error("Schema method literal must be a string");
@@ -11018,17 +11178,17 @@ var Server = class extends Protocol {
11018
11178
  assertCapabilityForMethod(method) {
11019
11179
  switch (method) {
11020
11180
  case "sampling/createMessage":
11021
- if (!_optionalChain([this, 'access', _193 => _193._clientCapabilities, 'optionalAccess', _194 => _194.sampling])) {
11181
+ if (!_optionalChain([this, 'access', _199 => _199._clientCapabilities, 'optionalAccess', _200 => _200.sampling])) {
11022
11182
  throw new Error(`Client does not support sampling (required for ${method})`);
11023
11183
  }
11024
11184
  break;
11025
11185
  case "elicitation/create":
11026
- if (!_optionalChain([this, 'access', _195 => _195._clientCapabilities, 'optionalAccess', _196 => _196.elicitation])) {
11186
+ if (!_optionalChain([this, 'access', _201 => _201._clientCapabilities, 'optionalAccess', _202 => _202.elicitation])) {
11027
11187
  throw new Error(`Client does not support elicitation (required for ${method})`);
11028
11188
  }
11029
11189
  break;
11030
11190
  case "roots/list":
11031
- if (!_optionalChain([this, 'access', _197 => _197._clientCapabilities, 'optionalAccess', _198 => _198.roots])) {
11191
+ if (!_optionalChain([this, 'access', _203 => _203._clientCapabilities, 'optionalAccess', _204 => _204.roots])) {
11032
11192
  throw new Error(`Client does not support listing roots (required for ${method})`);
11033
11193
  }
11034
11194
  break;
@@ -11060,7 +11220,7 @@ var Server = class extends Protocol {
11060
11220
  }
11061
11221
  break;
11062
11222
  case "notifications/elicitation/complete":
11063
- if (!_optionalChain([this, 'access', _199 => _199._clientCapabilities, 'optionalAccess', _200 => _200.elicitation, 'optionalAccess', _201 => _201.url])) {
11223
+ if (!_optionalChain([this, 'access', _205 => _205._clientCapabilities, 'optionalAccess', _206 => _206.elicitation, 'optionalAccess', _207 => _207.url])) {
11064
11224
  throw new Error(`Client does not support URL elicitation (required for ${method})`);
11065
11225
  }
11066
11226
  break;
@@ -11118,13 +11278,13 @@ var Server = class extends Protocol {
11118
11278
  }
11119
11279
  }
11120
11280
  assertTaskCapability(method) {
11121
- assertClientRequestTaskCapability(_optionalChain([this, 'access', _202 => _202._clientCapabilities, 'optionalAccess', _203 => _203.tasks, 'optionalAccess', _204 => _204.requests]), method, "Client");
11281
+ assertClientRequestTaskCapability(_optionalChain([this, 'access', _208 => _208._clientCapabilities, 'optionalAccess', _209 => _209.tasks, 'optionalAccess', _210 => _210.requests]), method, "Client");
11122
11282
  }
11123
11283
  assertTaskHandlerCapability(method) {
11124
11284
  if (!this._capabilities) {
11125
11285
  return;
11126
11286
  }
11127
- assertToolsCallTaskCapability(_optionalChain([this, 'access', _205 => _205._capabilities, 'access', _206 => _206.tasks, 'optionalAccess', _207 => _207.requests]), method, "Server");
11287
+ assertToolsCallTaskCapability(_optionalChain([this, 'access', _211 => _211._capabilities, 'access', _212 => _212.tasks, 'optionalAccess', _213 => _213.requests]), method, "Server");
11128
11288
  }
11129
11289
  async _oninitialize(request) {
11130
11290
  const requestedVersion = request.params.protocolVersion;
@@ -11159,7 +11319,7 @@ var Server = class extends Protocol {
11159
11319
  // Implementation
11160
11320
  async createMessage(params, options) {
11161
11321
  if (params.tools || params.toolChoice) {
11162
- if (!_optionalChain([this, 'access', _208 => _208._clientCapabilities, 'optionalAccess', _209 => _209.sampling, 'optionalAccess', _210 => _210.tools])) {
11322
+ if (!_optionalChain([this, 'access', _214 => _214._clientCapabilities, 'optionalAccess', _215 => _215.sampling, 'optionalAccess', _216 => _216.tools])) {
11163
11323
  throw new Error("Client does not support sampling tools capability.");
11164
11324
  }
11165
11325
  }
@@ -11202,14 +11362,14 @@ var Server = class extends Protocol {
11202
11362
  const mode = _nullishCoalesce(params.mode, () => ( "form"));
11203
11363
  switch (mode) {
11204
11364
  case "url": {
11205
- if (!_optionalChain([this, 'access', _211 => _211._clientCapabilities, 'optionalAccess', _212 => _212.elicitation, 'optionalAccess', _213 => _213.url])) {
11365
+ if (!_optionalChain([this, 'access', _217 => _217._clientCapabilities, 'optionalAccess', _218 => _218.elicitation, 'optionalAccess', _219 => _219.url])) {
11206
11366
  throw new Error("Client does not support url elicitation.");
11207
11367
  }
11208
11368
  const urlParams = params;
11209
11369
  return this.request({ method: "elicitation/create", params: urlParams }, ElicitResultSchema, options);
11210
11370
  }
11211
11371
  case "form": {
11212
- if (!_optionalChain([this, 'access', _214 => _214._clientCapabilities, 'optionalAccess', _215 => _215.elicitation, 'optionalAccess', _216 => _216.form])) {
11372
+ if (!_optionalChain([this, 'access', _220 => _220._clientCapabilities, 'optionalAccess', _221 => _221.elicitation, 'optionalAccess', _222 => _222.form])) {
11213
11373
  throw new Error("Client does not support form elicitation.");
11214
11374
  }
11215
11375
  const formParams = params.mode === "form" ? params : { ...params, mode: "form" };
@@ -11241,7 +11401,7 @@ var Server = class extends Protocol {
11241
11401
  * @returns A function that emits the completion notification when awaited.
11242
11402
  */
11243
11403
  createElicitationCompletionNotifier(elicitationId, options) {
11244
- if (!_optionalChain([this, 'access', _217 => _217._clientCapabilities, 'optionalAccess', _218 => _218.elicitation, 'optionalAccess', _219 => _219.url])) {
11404
+ if (!_optionalChain([this, 'access', _223 => _223._clientCapabilities, 'optionalAccess', _224 => _224.elicitation, 'optionalAccess', _225 => _225.url])) {
11245
11405
  throw new Error("Client does not support URL elicitation (required for notifications/elicitation/complete)");
11246
11406
  }
11247
11407
  return () => this.notification({
@@ -11294,7 +11454,7 @@ function isCompletable(schema) {
11294
11454
  }
11295
11455
  function getCompleter(schema) {
11296
11456
  const meta = schema[COMPLETABLE_SYMBOL];
11297
- return _optionalChain([meta, 'optionalAccess', _220 => _220.complete]);
11457
+ return _optionalChain([meta, 'optionalAccess', _226 => _226.complete]);
11298
11458
  }
11299
11459
  var McpZodTypeKind;
11300
11460
  (function(McpZodTypeKind2) {
@@ -11467,7 +11627,7 @@ var McpServer = class {
11467
11627
  throw new McpError(ErrorCode.InvalidParams, `Tool ${request.params.name} disabled`);
11468
11628
  }
11469
11629
  const isTaskRequest = !!request.params.task;
11470
- const taskSupport = _optionalChain([tool, 'access', _221 => _221.execution, 'optionalAccess', _222 => _222.taskSupport]);
11630
+ const taskSupport = _optionalChain([tool, 'access', _227 => _227.execution, 'optionalAccess', _228 => _228.taskSupport]);
11471
11631
  const isTaskHandler = "createTask" in tool.handler;
11472
11632
  if ((taskSupport === "required" || taskSupport === "optional") && !isTaskHandler) {
11473
11633
  throw new McpError(ErrorCode.InternalError, `Tool ${request.params.name} has taskSupport '${taskSupport}' but was not registered with registerToolTask`);
@@ -11642,7 +11802,7 @@ var McpServer = class {
11642
11802
  return EMPTY_COMPLETION_RESULT;
11643
11803
  }
11644
11804
  const promptShape = getObjectShape(prompt.argsSchema);
11645
- const field = _optionalChain([promptShape, 'optionalAccess', _223 => _223[request.params.argument.name]]);
11805
+ const field = _optionalChain([promptShape, 'optionalAccess', _229 => _229[request.params.argument.name]]);
11646
11806
  if (!isCompletable(field)) {
11647
11807
  return EMPTY_COMPLETION_RESULT;
11648
11808
  }
@@ -11920,7 +12080,7 @@ var McpServer = class {
11920
12080
  this._registeredPrompts[name] = registeredPrompt;
11921
12081
  if (argsSchema) {
11922
12082
  const hasCompletable = Object.values(argsSchema).some((field) => {
11923
- const inner = field instanceof _zod2.ZodOptional ? _optionalChain([field, 'access', _224 => _224._def, 'optionalAccess', _225 => _225.innerType]) : field;
12083
+ const inner = field instanceof _zod2.ZodOptional ? _optionalChain([field, 'access', _230 => _230._def, 'optionalAccess', _231 => _231.innerType]) : field;
11924
12084
  return isCompletable(inner);
11925
12085
  });
11926
12086
  if (hasCompletable) {
@@ -11999,6 +12159,9 @@ var McpServer = class {
11999
12159
  annotations = rest.shift();
12000
12160
  }
12001
12161
  } else if (typeof firstArg === "object" && firstArg !== null) {
12162
+ if (Object.values(firstArg).some((v) => typeof v === "object" && v !== null)) {
12163
+ throw new Error(`Tool ${name} expected a Zod schema or ToolAnnotations, but received an unrecognized object`);
12164
+ }
12002
12165
  annotations = rest.shift();
12003
12166
  }
12004
12167
  }
@@ -12117,6 +12280,9 @@ function getZodSchemaObject(schema) {
12117
12280
  if (isZodRawShapeCompat(schema)) {
12118
12281
  return objectFromShape(schema);
12119
12282
  }
12283
+ if (!isZodSchemaInstance(schema)) {
12284
+ throw new Error("inputSchema must be a Zod schema or raw shape, received an unrecognized object");
12285
+ }
12120
12286
  return schema;
12121
12287
  }
12122
12288
  function promptArgumentsFromSchema(schema) {
@@ -12135,7 +12301,7 @@ function promptArgumentsFromSchema(schema) {
12135
12301
  }
12136
12302
  function getMethodValue(schema) {
12137
12303
  const shape = getObjectShape(schema);
12138
- const methodSchema = _optionalChain([shape, 'optionalAccess', _226 => _226.method]);
12304
+ const methodSchema = _optionalChain([shape, 'optionalAccess', _232 => _232.method]);
12139
12305
  if (!methodSchema) {
12140
12306
  throw new Error("Schema is missing a method literal");
12141
12307
  }
@@ -12204,7 +12370,7 @@ var StdioServerTransport = class {
12204
12370
  this.processReadBuffer();
12205
12371
  };
12206
12372
  this._onerror = (error) => {
12207
- _optionalChain([this, 'access', _227 => _227.onerror, 'optionalCall', _228 => _228(error)]);
12373
+ _optionalChain([this, 'access', _233 => _233.onerror, 'optionalCall', _234 => _234(error)]);
12208
12374
  };
12209
12375
  }
12210
12376
  /**
@@ -12225,9 +12391,9 @@ var StdioServerTransport = class {
12225
12391
  if (message === null) {
12226
12392
  break;
12227
12393
  }
12228
- _optionalChain([this, 'access', _229 => _229.onmessage, 'optionalCall', _230 => _230(message)]);
12394
+ _optionalChain([this, 'access', _235 => _235.onmessage, 'optionalCall', _236 => _236(message)]);
12229
12395
  } catch (error) {
12230
- _optionalChain([this, 'access', _231 => _231.onerror, 'optionalCall', _232 => _232(error)]);
12396
+ _optionalChain([this, 'access', _237 => _237.onerror, 'optionalCall', _238 => _238(error)]);
12231
12397
  }
12232
12398
  }
12233
12399
  }
@@ -12239,7 +12405,7 @@ var StdioServerTransport = class {
12239
12405
  this._stdin.pause();
12240
12406
  }
12241
12407
  this._readBuffer.clear();
12242
- _optionalChain([this, 'access', _233 => _233.onclose, 'optionalCall', _234 => _234()]);
12408
+ _optionalChain([this, 'access', _239 => _239.onclose, 'optionalCall', _240 => _240()]);
12243
12409
  }
12244
12410
  send(message) {
12245
12411
  return new Promise((resolve) => {
@@ -12256,7 +12422,7 @@ var StdioServerTransport = class {
12256
12422
  // package.json
12257
12423
  var package_default = {
12258
12424
  name: "@umbraco-cms/mcp-dev",
12259
- version: "17.2.0",
12425
+ version: "17.2.1",
12260
12426
  type: "module",
12261
12427
  description: "A model context protocol (MCP) server for Umbraco CMS",
12262
12428
  main: "dist/index.js",
@@ -12279,6 +12445,8 @@ var package_default = {
12279
12445
  generate: "orval --config orval.config.ts",
12280
12446
  inspect: "npx @modelcontextprotocol/inspector node dist/index.js",
12281
12447
  test: "node --experimental-vm-modules node_modules/jest/bin/jest.js",
12448
+ "test:rerun-failures": "grep '^FAIL ' test-failures.log 2>/dev/null | sed 's/^FAIL //' | tr '\\n' ' ' | xargs -r node --experimental-vm-modules node_modules/jest/bin/jest.js --no-coverage || echo 'No failures to rerun (test-failures.log not found or empty)'",
12449
+ "test:evals": "node --experimental-vm-modules node_modules/jest/bin/jest.js --no-coverage --config tests/evals/jest.config.ts",
12282
12450
  "patch-publish-alpha": "npm version prerelease --preid=alpha && npm publish --tag alpha --access public",
12283
12451
  "test:e2e-sdk": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config tests/e2e-sdk/jest.config.ts --runInBand --silent --forceExit 2>/dev/null",
12284
12452
  "test:e2e-sdk:verbose": "E2E_VERBOSITY=verbose node --experimental-vm-modules node_modules/jest/bin/jest.js tests/e2e-sdk --runInBand --testTimeout=120000 --forceExit",
@@ -12314,10 +12482,11 @@ var package_default = {
12314
12482
  },
12315
12483
  homepage: "https://github.com/umbraco/Umbraco-CMS-MCP-Dev#readme",
12316
12484
  dependencies: {
12317
- "@modelcontextprotocol/sdk": "^1.25.1",
12485
+ "@modelcontextprotocol/sdk": "^1.28.0",
12318
12486
  "@types/uuid": "^10.0.0",
12319
12487
  "@types/yargs": "^17.0.33",
12320
- "@umbraco-cms/mcp-server-sdk": "^17.0.0-beta.5",
12488
+ "@umbraco-cms/mcp-hosted": "^17.0.0-beta.8",
12489
+ "@umbraco-cms/mcp-server-sdk": "^17.0.0-beta.8",
12321
12490
  axios: "^1.8.4",
12322
12491
  dotenv: "^16.5.0",
12323
12492
  "form-data": "^4.0.4",
@@ -12337,7 +12506,6 @@ var package_default = {
12337
12506
  "@types/mime-types": "^3.0.1",
12338
12507
  "@types/node": "^22.14.1",
12339
12508
  "@types/qs": "^6.9.18",
12340
- "@umbraco-cms/mcp-hosted": "^17.0.0-beta.5",
12341
12509
  agents: "^0.6.0",
12342
12510
  copyfiles: "^2.4.1",
12343
12511
  glob: "^11.0.2",
@@ -12412,7 +12580,7 @@ var CollectionResolver = {
12412
12580
  const collectionMap = new Map(collections.map((c) => [c.metadata.name, c]));
12413
12581
  function addDependencies(collectionName) {
12414
12582
  const collection = collectionMap.get(collectionName);
12415
- if (_optionalChain([collection, 'optionalAccess', _235 => _235.metadata, 'access', _236 => _236.dependencies])) {
12583
+ if (_optionalChain([collection, 'optionalAccess', _241 => _241.metadata, 'access', _242 => _242.dependencies])) {
12416
12584
  collection.metadata.dependencies.forEach((dep) => {
12417
12585
  if (!result.has(dep)) {
12418
12586
  result.add(dep);
@@ -12473,7 +12641,7 @@ var ToolRegistrar = {
12473
12641
  tools.forEach((tool) => {
12474
12642
  const userHasPermission = tool.enabled === void 0 || tool.enabled(user);
12475
12643
  if (!userHasPermission) return;
12476
- const readOnlyHint = _nullishCoalesce(_optionalChain([tool, 'access', _237 => _237.annotations, 'optionalAccess', _238 => _238.readOnlyHint]), () => ( false));
12644
+ const readOnlyHint = _nullishCoalesce(_optionalChain([tool, 'access', _243 => _243.annotations, 'optionalAccess', _244 => _244.readOnlyHint]), () => ( false));
12477
12645
  if (readonlyMode && !readOnlyHint) {
12478
12646
  filteredTools.push(tool.name);
12479
12647
  return;
@@ -12481,8 +12649,8 @@ var ToolRegistrar = {
12481
12649
  if (!ToolRegistrar.isToolAllowedBySlices(tool.slices, config.enabledSlices, config.disabledSlices)) {
12482
12650
  return;
12483
12651
  }
12484
- if (_optionalChain([config, 'access', _239 => _239.disabledTools, 'optionalAccess', _240 => _240.includes, 'call', _241 => _241(tool.name)])) return;
12485
- if (_optionalChain([config, 'access', _242 => _242.enabledTools, 'optionalAccess', _243 => _243.length]) && !config.enabledTools.includes(tool.name)) return;
12652
+ if (_optionalChain([config, 'access', _245 => _245.disabledTools, 'optionalAccess', _246 => _246.includes, 'call', _247 => _247(tool.name)])) return;
12653
+ if (_optionalChain([config, 'access', _248 => _248.enabledTools, 'optionalAccess', _249 => _249.length]) && !config.enabledTools.includes(tool.name)) return;
12486
12654
  const annotations = _mcpserversdk.createToolAnnotations.call(void 0, tool);
12487
12655
  server.registerTool(tool.name, {
12488
12656
  description: tool.description,
@@ -12496,16 +12664,16 @@ var ToolRegistrar = {
12496
12664
 
12497
12665
  // src/umb-management-api/tools/tool-factory.ts
12498
12666
  var configLoader = _mcpserversdk.createCollectionConfigLoader.call(void 0, {
12499
- modeRegistry: _chunkUHEUCBCRcjs.allModes,
12500
- allModeNames: _chunkUHEUCBCRcjs.allModeNames,
12501
- allSliceNames: _chunkUHEUCBCRcjs.allSliceNames
12667
+ modeRegistry: _chunkJDDQAEQJcjs.allModes,
12668
+ allModeNames: _chunkJDDQAEQJcjs.allModeNames,
12669
+ allSliceNames: _chunkJDDQAEQJcjs.allSliceNames
12502
12670
  });
12503
12671
  function UmbracoToolFactory(server, user, serverConfig) {
12504
12672
  const config = configLoader.loadFromConfig(serverConfig);
12505
12673
  const readonlyMode = _nullishCoalesce(serverConfig.readonly, () => ( false));
12506
12674
  const filteredTools = [];
12507
- CollectionResolver.validateConfiguration(config, _chunkUHEUCBCRcjs.availableCollections);
12508
- const enabledCollections = CollectionResolver.getEnabledCollections(config, _chunkUHEUCBCRcjs.availableCollections);
12675
+ CollectionResolver.validateConfiguration(config, _chunkJDDQAEQJcjs.availableCollections);
12676
+ const enabledCollections = CollectionResolver.getEnabledCollections(config, _chunkJDDQAEQJcjs.availableCollections);
12509
12677
  enabledCollections.forEach((collection) => {
12510
12678
  const tools = collection.tools(user);
12511
12679
  ToolRegistrar.registerTools(server, user, tools, config, readonlyMode, filteredTools);
@@ -12524,13 +12692,28 @@ var main = async () => {
12524
12692
  const serverConfig = await loadServerConfig(true);
12525
12693
  const config = serverConfig.umbraco;
12526
12694
  _mcpserversdk.initializeUmbracoFetch.call(void 0, config.auth);
12527
- _mcpserversdk.configureApiClient.call(void 0, () => _chunkUHEUCBCRcjs.UmbracoManagementClient.getClient());
12695
+ _mcpserversdk.configureApiClient.call(void 0, () => _chunkJDDQAEQJcjs.UmbracoManagementClient.getClient());
12528
12696
  const server = new McpServer({
12529
12697
  name: "Umbraco CMS Developer MCP Server",
12530
12698
  version: package_default.version
12531
12699
  });
12532
- const client = _chunkUHEUCBCRcjs.UmbracoManagementClient.getClient();
12700
+ const client = _chunkJDDQAEQJcjs.UmbracoManagementClient.getClient();
12533
12701
  const user = await client.getUserCurrent();
12702
+ const rawConfig = await _mcpserversdk.getServerConfig.call(void 0, true);
12703
+ const configLoader2 = _mcpserversdk.createCollectionConfigLoader.call(void 0, {
12704
+ modeRegistry: _chunkJDDQAEQJcjs.allModes,
12705
+ allModeNames: _chunkJDDQAEQJcjs.allModeNames,
12706
+ allSliceNames: _chunkJDDQAEQJcjs.allSliceNames
12707
+ });
12708
+ const filterConfig = configLoader2.loadFromConfig(config);
12709
+ _mcpserversdk.handleCliCommands.call(void 0, _chunkJDDQAEQJcjs.availableCollections, {
12710
+ cliFlags: rawConfig.cliFlags,
12711
+ serverName: "Umbraco CMS Developer MCP Server",
12712
+ serverVersion: package_default.version,
12713
+ user,
12714
+ filterConfig,
12715
+ serverConfig: config
12716
+ });
12534
12717
  await _mcpserversdk.checkUmbracoVersion.call(void 0, {
12535
12718
  mcpVersion: package_default.version,
12536
12719
  client: { getServerInformation: () => client.getServerInformation() }