@topolo/mcp 0.11.1 → 0.11.2

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.
Files changed (3) hide show
  1. package/dist/http.js +220 -667
  2. package/dist/index.js +37 -3
  3. package/package.json +5 -5
package/dist/http.js CHANGED
@@ -28,113 +28,9 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  mod
29
29
  ));
30
30
 
31
- // node_modules/content-type/index.js
32
- var require_content_type = __commonJS({
33
- "node_modules/content-type/index.js"(exports) {
34
- "use strict";
35
- var PARAM_REGEXP = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g;
36
- var TEXT_REGEXP = /^[\u000b\u0020-\u007e\u0080-\u00ff]+$/;
37
- var TOKEN_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
38
- var QESC_REGEXP = /\\([\u000b\u0020-\u00ff])/g;
39
- var QUOTE_REGEXP = /([\\"])/g;
40
- var TYPE_REGEXP = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;
41
- exports.format = format;
42
- exports.parse = parse3;
43
- function format(obj) {
44
- if (!obj || typeof obj !== "object") {
45
- throw new TypeError("argument obj is required");
46
- }
47
- var parameters = obj.parameters;
48
- var type = obj.type;
49
- if (!type || !TYPE_REGEXP.test(type)) {
50
- throw new TypeError("invalid type");
51
- }
52
- var string3 = type;
53
- if (parameters && typeof parameters === "object") {
54
- var param;
55
- var params = Object.keys(parameters).sort();
56
- for (var i = 0; i < params.length; i++) {
57
- param = params[i];
58
- if (!TOKEN_REGEXP.test(param)) {
59
- throw new TypeError("invalid parameter name");
60
- }
61
- string3 += "; " + param + "=" + qstring(parameters[param]);
62
- }
63
- }
64
- return string3;
65
- }
66
- function parse3(string3) {
67
- if (!string3) {
68
- throw new TypeError("argument string is required");
69
- }
70
- var header = typeof string3 === "object" ? getcontenttype(string3) : string3;
71
- if (typeof header !== "string") {
72
- throw new TypeError("argument string is required to be a string");
73
- }
74
- var index = header.indexOf(";");
75
- var type = index !== -1 ? header.slice(0, index).trim() : header.trim();
76
- if (!TYPE_REGEXP.test(type)) {
77
- throw new TypeError("invalid media type");
78
- }
79
- var obj = new ContentType(type.toLowerCase());
80
- if (index !== -1) {
81
- var key;
82
- var match;
83
- var value;
84
- PARAM_REGEXP.lastIndex = index;
85
- while (match = PARAM_REGEXP.exec(header)) {
86
- if (match.index !== index) {
87
- throw new TypeError("invalid parameter format");
88
- }
89
- index += match[0].length;
90
- key = match[1].toLowerCase();
91
- value = match[2];
92
- if (value.charCodeAt(0) === 34) {
93
- value = value.slice(1, -1);
94
- if (value.indexOf("\\") !== -1) {
95
- value = value.replace(QESC_REGEXP, "$1");
96
- }
97
- }
98
- obj.parameters[key] = value;
99
- }
100
- if (index !== header.length) {
101
- throw new TypeError("invalid parameter format");
102
- }
103
- }
104
- return obj;
105
- }
106
- function getcontenttype(obj) {
107
- var header;
108
- if (typeof obj.getHeader === "function") {
109
- header = obj.getHeader("content-type");
110
- } else if (typeof obj.headers === "object") {
111
- header = obj.headers && obj.headers["content-type"];
112
- }
113
- if (typeof header !== "string") {
114
- throw new TypeError("content-type header is missing from object");
115
- }
116
- return header;
117
- }
118
- function qstring(val) {
119
- var str = String(val);
120
- if (TOKEN_REGEXP.test(str)) {
121
- return str;
122
- }
123
- if (str.length > 0 && !TEXT_REGEXP.test(str)) {
124
- throw new TypeError("invalid parameter value");
125
- }
126
- return '"' + str.replace(QUOTE_REGEXP, "\\$1") + '"';
127
- }
128
- function ContentType(type) {
129
- this.parameters = /* @__PURE__ */ Object.create(null);
130
- this.type = type;
131
- }
132
- }
133
- });
134
-
135
- // node_modules/ajv/dist/compile/codegen/code.js
31
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js
136
32
  var require_code = __commonJS({
137
- "node_modules/ajv/dist/compile/codegen/code.js"(exports) {
33
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js"(exports) {
138
34
  "use strict";
139
35
  Object.defineProperty(exports, "__esModule", { value: true });
140
36
  exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
@@ -286,9 +182,9 @@ var require_code = __commonJS({
286
182
  }
287
183
  });
288
184
 
289
- // node_modules/ajv/dist/compile/codegen/scope.js
185
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js
290
186
  var require_scope = __commonJS({
291
- "node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
187
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js"(exports) {
292
188
  "use strict";
293
189
  Object.defineProperty(exports, "__esModule", { value: true });
294
190
  exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
@@ -431,9 +327,9 @@ var require_scope = __commonJS({
431
327
  }
432
328
  });
433
329
 
434
- // node_modules/ajv/dist/compile/codegen/index.js
330
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js
435
331
  var require_codegen = __commonJS({
436
- "node_modules/ajv/dist/compile/codegen/index.js"(exports) {
332
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js"(exports) {
437
333
  "use strict";
438
334
  Object.defineProperty(exports, "__esModule", { value: true });
439
335
  exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
@@ -1151,9 +1047,9 @@ var require_codegen = __commonJS({
1151
1047
  }
1152
1048
  });
1153
1049
 
1154
- // node_modules/ajv/dist/compile/util.js
1050
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js
1155
1051
  var require_util = __commonJS({
1156
- "node_modules/ajv/dist/compile/util.js"(exports) {
1052
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js"(exports) {
1157
1053
  "use strict";
1158
1054
  Object.defineProperty(exports, "__esModule", { value: true });
1159
1055
  exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
@@ -1318,9 +1214,9 @@ var require_util = __commonJS({
1318
1214
  }
1319
1215
  });
1320
1216
 
1321
- // node_modules/ajv/dist/compile/names.js
1217
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js
1322
1218
  var require_names = __commonJS({
1323
- "node_modules/ajv/dist/compile/names.js"(exports) {
1219
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js"(exports) {
1324
1220
  "use strict";
1325
1221
  Object.defineProperty(exports, "__esModule", { value: true });
1326
1222
  var codegen_1 = require_codegen();
@@ -1357,9 +1253,9 @@ var require_names = __commonJS({
1357
1253
  }
1358
1254
  });
1359
1255
 
1360
- // node_modules/ajv/dist/compile/errors.js
1256
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js
1361
1257
  var require_errors = __commonJS({
1362
- "node_modules/ajv/dist/compile/errors.js"(exports) {
1258
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js"(exports) {
1363
1259
  "use strict";
1364
1260
  Object.defineProperty(exports, "__esModule", { value: true });
1365
1261
  exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
@@ -1479,9 +1375,9 @@ var require_errors = __commonJS({
1479
1375
  }
1480
1376
  });
1481
1377
 
1482
- // node_modules/ajv/dist/compile/validate/boolSchema.js
1378
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js
1483
1379
  var require_boolSchema = __commonJS({
1484
- "node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
1380
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js"(exports) {
1485
1381
  "use strict";
1486
1382
  Object.defineProperty(exports, "__esModule", { value: true });
1487
1383
  exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
@@ -1530,9 +1426,9 @@ var require_boolSchema = __commonJS({
1530
1426
  }
1531
1427
  });
1532
1428
 
1533
- // node_modules/ajv/dist/compile/rules.js
1429
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js
1534
1430
  var require_rules = __commonJS({
1535
- "node_modules/ajv/dist/compile/rules.js"(exports) {
1431
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js"(exports) {
1536
1432
  "use strict";
1537
1433
  Object.defineProperty(exports, "__esModule", { value: true });
1538
1434
  exports.getRules = exports.isJSONType = void 0;
@@ -1561,9 +1457,9 @@ var require_rules = __commonJS({
1561
1457
  }
1562
1458
  });
1563
1459
 
1564
- // node_modules/ajv/dist/compile/validate/applicability.js
1460
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js
1565
1461
  var require_applicability = __commonJS({
1566
- "node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
1462
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js"(exports) {
1567
1463
  "use strict";
1568
1464
  Object.defineProperty(exports, "__esModule", { value: true });
1569
1465
  exports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;
@@ -1584,9 +1480,9 @@ var require_applicability = __commonJS({
1584
1480
  }
1585
1481
  });
1586
1482
 
1587
- // node_modules/ajv/dist/compile/validate/dataType.js
1483
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js
1588
1484
  var require_dataType = __commonJS({
1589
- "node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
1485
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js"(exports) {
1590
1486
  "use strict";
1591
1487
  Object.defineProperty(exports, "__esModule", { value: true });
1592
1488
  exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
@@ -1768,9 +1664,9 @@ var require_dataType = __commonJS({
1768
1664
  }
1769
1665
  });
1770
1666
 
1771
- // node_modules/ajv/dist/compile/validate/defaults.js
1667
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js
1772
1668
  var require_defaults = __commonJS({
1773
- "node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
1669
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js"(exports) {
1774
1670
  "use strict";
1775
1671
  Object.defineProperty(exports, "__esModule", { value: true });
1776
1672
  exports.assignDefaults = void 0;
@@ -1805,9 +1701,9 @@ var require_defaults = __commonJS({
1805
1701
  }
1806
1702
  });
1807
1703
 
1808
- // node_modules/ajv/dist/vocabularies/code.js
1704
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js
1809
1705
  var require_code2 = __commonJS({
1810
- "node_modules/ajv/dist/vocabularies/code.js"(exports) {
1706
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js"(exports) {
1811
1707
  "use strict";
1812
1708
  Object.defineProperty(exports, "__esModule", { value: true });
1813
1709
  exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
@@ -1938,9 +1834,9 @@ var require_code2 = __commonJS({
1938
1834
  }
1939
1835
  });
1940
1836
 
1941
- // node_modules/ajv/dist/compile/validate/keyword.js
1837
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js
1942
1838
  var require_keyword = __commonJS({
1943
- "node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
1839
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js"(exports) {
1944
1840
  "use strict";
1945
1841
  Object.defineProperty(exports, "__esModule", { value: true });
1946
1842
  exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
@@ -2056,9 +1952,9 @@ var require_keyword = __commonJS({
2056
1952
  }
2057
1953
  });
2058
1954
 
2059
- // node_modules/ajv/dist/compile/validate/subschema.js
1955
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js
2060
1956
  var require_subschema = __commonJS({
2061
- "node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
1957
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js"(exports) {
2062
1958
  "use strict";
2063
1959
  Object.defineProperty(exports, "__esModule", { value: true });
2064
1960
  exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
@@ -2139,9 +2035,9 @@ var require_subschema = __commonJS({
2139
2035
  }
2140
2036
  });
2141
2037
 
2142
- // node_modules/fast-deep-equal/index.js
2038
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js
2143
2039
  var require_fast_deep_equal = __commonJS({
2144
- "node_modules/fast-deep-equal/index.js"(exports, module) {
2040
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js"(exports, module) {
2145
2041
  "use strict";
2146
2042
  module.exports = function equal(a, b) {
2147
2043
  if (a === b) return true;
@@ -2174,9 +2070,9 @@ var require_fast_deep_equal = __commonJS({
2174
2070
  }
2175
2071
  });
2176
2072
 
2177
- // node_modules/json-schema-traverse/index.js
2073
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js
2178
2074
  var require_json_schema_traverse = __commonJS({
2179
- "node_modules/json-schema-traverse/index.js"(exports, module) {
2075
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js"(exports, module) {
2180
2076
  "use strict";
2181
2077
  var traverse = module.exports = function(schema, opts, cb) {
2182
2078
  if (typeof opts == "function") {
@@ -2262,9 +2158,9 @@ var require_json_schema_traverse = __commonJS({
2262
2158
  }
2263
2159
  });
2264
2160
 
2265
- // node_modules/ajv/dist/compile/resolve.js
2161
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js
2266
2162
  var require_resolve = __commonJS({
2267
- "node_modules/ajv/dist/compile/resolve.js"(exports) {
2163
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js"(exports) {
2268
2164
  "use strict";
2269
2165
  Object.defineProperty(exports, "__esModule", { value: true });
2270
2166
  exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
@@ -2418,9 +2314,9 @@ var require_resolve = __commonJS({
2418
2314
  }
2419
2315
  });
2420
2316
 
2421
- // node_modules/ajv/dist/compile/validate/index.js
2317
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js
2422
2318
  var require_validate = __commonJS({
2423
- "node_modules/ajv/dist/compile/validate/index.js"(exports) {
2319
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js"(exports) {
2424
2320
  "use strict";
2425
2321
  Object.defineProperty(exports, "__esModule", { value: true });
2426
2322
  exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
@@ -2926,9 +2822,9 @@ var require_validate = __commonJS({
2926
2822
  }
2927
2823
  });
2928
2824
 
2929
- // node_modules/ajv/dist/runtime/validation_error.js
2825
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js
2930
2826
  var require_validation_error = __commonJS({
2931
- "node_modules/ajv/dist/runtime/validation_error.js"(exports) {
2827
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js"(exports) {
2932
2828
  "use strict";
2933
2829
  Object.defineProperty(exports, "__esModule", { value: true });
2934
2830
  var ValidationError = class extends Error {
@@ -2942,9 +2838,9 @@ var require_validation_error = __commonJS({
2942
2838
  }
2943
2839
  });
2944
2840
 
2945
- // node_modules/ajv/dist/compile/ref_error.js
2841
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js
2946
2842
  var require_ref_error = __commonJS({
2947
- "node_modules/ajv/dist/compile/ref_error.js"(exports) {
2843
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js"(exports) {
2948
2844
  "use strict";
2949
2845
  Object.defineProperty(exports, "__esModule", { value: true });
2950
2846
  var resolve_1 = require_resolve();
@@ -2959,9 +2855,9 @@ var require_ref_error = __commonJS({
2959
2855
  }
2960
2856
  });
2961
2857
 
2962
- // node_modules/ajv/dist/compile/index.js
2858
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js
2963
2859
  var require_compile = __commonJS({
2964
- "node_modules/ajv/dist/compile/index.js"(exports) {
2860
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js"(exports) {
2965
2861
  "use strict";
2966
2862
  Object.defineProperty(exports, "__esModule", { value: true });
2967
2863
  exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
@@ -3183,9 +3079,9 @@ var require_compile = __commonJS({
3183
3079
  }
3184
3080
  });
3185
3081
 
3186
- // node_modules/ajv/dist/refs/data.json
3082
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.json
3187
3083
  var require_data = __commonJS({
3188
- "node_modules/ajv/dist/refs/data.json"(exports, module) {
3084
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.json"(exports, module) {
3189
3085
  module.exports = {
3190
3086
  $id: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",
3191
3087
  description: "Meta-schema for $data reference (JSON AnySchema extension proposal)",
@@ -3202,9 +3098,9 @@ var require_data = __commonJS({
3202
3098
  }
3203
3099
  });
3204
3100
 
3205
- // node_modules/fast-uri/lib/utils.js
3101
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/fast-uri@3.1.5/node_modules/fast-uri/lib/utils.js
3206
3102
  var require_utils = __commonJS({
3207
- "node_modules/fast-uri/lib/utils.js"(exports, module) {
3103
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/fast-uri@3.1.5/node_modules/fast-uri/lib/utils.js"(exports, module) {
3208
3104
  "use strict";
3209
3105
  var isUUID = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu);
3210
3106
  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);
@@ -3515,9 +3411,9 @@ var require_utils = __commonJS({
3515
3411
  }
3516
3412
  });
3517
3413
 
3518
- // node_modules/fast-uri/lib/schemes.js
3414
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/fast-uri@3.1.5/node_modules/fast-uri/lib/schemes.js
3519
3415
  var require_schemes = __commonJS({
3520
- "node_modules/fast-uri/lib/schemes.js"(exports, module) {
3416
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/fast-uri@3.1.5/node_modules/fast-uri/lib/schemes.js"(exports, module) {
3521
3417
  "use strict";
3522
3418
  var { isUUID } = require_utils();
3523
3419
  var URN_REG = /([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-.:;=@]|%[\da-f]{2})+)/iu;
@@ -3725,9 +3621,9 @@ var require_schemes = __commonJS({
3725
3621
  }
3726
3622
  });
3727
3623
 
3728
- // node_modules/fast-uri/index.js
3624
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/fast-uri@3.1.5/node_modules/fast-uri/index.js
3729
3625
  var require_fast_uri = __commonJS({
3730
- "node_modules/fast-uri/index.js"(exports, module) {
3626
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/fast-uri@3.1.5/node_modules/fast-uri/index.js"(exports, module) {
3731
3627
  "use strict";
3732
3628
  var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
3733
3629
  var { SCHEMES, getSchemeHandler } = require_schemes();
@@ -4037,9 +3933,9 @@ var require_fast_uri = __commonJS({
4037
3933
  }
4038
3934
  });
4039
3935
 
4040
- // node_modules/ajv/dist/runtime/uri.js
3936
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js
4041
3937
  var require_uri = __commonJS({
4042
- "node_modules/ajv/dist/runtime/uri.js"(exports) {
3938
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js"(exports) {
4043
3939
  "use strict";
4044
3940
  Object.defineProperty(exports, "__esModule", { value: true });
4045
3941
  var uri = require_fast_uri();
@@ -4048,9 +3944,9 @@ var require_uri = __commonJS({
4048
3944
  }
4049
3945
  });
4050
3946
 
4051
- // node_modules/ajv/dist/core.js
3947
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js
4052
3948
  var require_core = __commonJS({
4053
- "node_modules/ajv/dist/core.js"(exports) {
3949
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js"(exports) {
4054
3950
  "use strict";
4055
3951
  Object.defineProperty(exports, "__esModule", { value: true });
4056
3952
  exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
@@ -4659,9 +4555,9 @@ var require_core = __commonJS({
4659
4555
  }
4660
4556
  });
4661
4557
 
4662
- // node_modules/ajv/dist/vocabularies/core/id.js
4558
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js
4663
4559
  var require_id = __commonJS({
4664
- "node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
4560
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js"(exports) {
4665
4561
  "use strict";
4666
4562
  Object.defineProperty(exports, "__esModule", { value: true });
4667
4563
  var def = {
@@ -4674,9 +4570,9 @@ var require_id = __commonJS({
4674
4570
  }
4675
4571
  });
4676
4572
 
4677
- // node_modules/ajv/dist/vocabularies/core/ref.js
4573
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js
4678
4574
  var require_ref = __commonJS({
4679
- "node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
4575
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js"(exports) {
4680
4576
  "use strict";
4681
4577
  Object.defineProperty(exports, "__esModule", { value: true });
4682
4578
  exports.callRef = exports.getValidate = void 0;
@@ -4796,9 +4692,9 @@ var require_ref = __commonJS({
4796
4692
  }
4797
4693
  });
4798
4694
 
4799
- // node_modules/ajv/dist/vocabularies/core/index.js
4695
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js
4800
4696
  var require_core2 = __commonJS({
4801
- "node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
4697
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js"(exports) {
4802
4698
  "use strict";
4803
4699
  Object.defineProperty(exports, "__esModule", { value: true });
4804
4700
  var id_1 = require_id();
@@ -4817,9 +4713,9 @@ var require_core2 = __commonJS({
4817
4713
  }
4818
4714
  });
4819
4715
 
4820
- // node_modules/ajv/dist/vocabularies/validation/limitNumber.js
4716
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js
4821
4717
  var require_limitNumber = __commonJS({
4822
- "node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
4718
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js"(exports) {
4823
4719
  "use strict";
4824
4720
  Object.defineProperty(exports, "__esModule", { value: true });
4825
4721
  var codegen_1 = require_codegen();
@@ -4849,9 +4745,9 @@ var require_limitNumber = __commonJS({
4849
4745
  }
4850
4746
  });
4851
4747
 
4852
- // node_modules/ajv/dist/vocabularies/validation/multipleOf.js
4748
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js
4853
4749
  var require_multipleOf = __commonJS({
4854
- "node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
4750
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js"(exports) {
4855
4751
  "use strict";
4856
4752
  Object.defineProperty(exports, "__esModule", { value: true });
4857
4753
  var codegen_1 = require_codegen();
@@ -4877,9 +4773,9 @@ var require_multipleOf = __commonJS({
4877
4773
  }
4878
4774
  });
4879
4775
 
4880
- // node_modules/ajv/dist/runtime/ucs2length.js
4776
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js
4881
4777
  var require_ucs2length = __commonJS({
4882
- "node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
4778
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js"(exports) {
4883
4779
  "use strict";
4884
4780
  Object.defineProperty(exports, "__esModule", { value: true });
4885
4781
  function ucs2length(str) {
@@ -4903,9 +4799,9 @@ var require_ucs2length = __commonJS({
4903
4799
  }
4904
4800
  });
4905
4801
 
4906
- // node_modules/ajv/dist/vocabularies/validation/limitLength.js
4802
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js
4907
4803
  var require_limitLength = __commonJS({
4908
- "node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
4804
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js"(exports) {
4909
4805
  "use strict";
4910
4806
  Object.defineProperty(exports, "__esModule", { value: true });
4911
4807
  var codegen_1 = require_codegen();
@@ -4935,9 +4831,9 @@ var require_limitLength = __commonJS({
4935
4831
  }
4936
4832
  });
4937
4833
 
4938
- // node_modules/ajv/dist/vocabularies/validation/pattern.js
4834
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js
4939
4835
  var require_pattern = __commonJS({
4940
- "node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
4836
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js"(exports) {
4941
4837
  "use strict";
4942
4838
  Object.defineProperty(exports, "__esModule", { value: true });
4943
4839
  var code_1 = require_code2();
@@ -4972,9 +4868,9 @@ var require_pattern = __commonJS({
4972
4868
  }
4973
4869
  });
4974
4870
 
4975
- // node_modules/ajv/dist/vocabularies/validation/limitProperties.js
4871
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js
4976
4872
  var require_limitProperties = __commonJS({
4977
- "node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
4873
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js"(exports) {
4978
4874
  "use strict";
4979
4875
  Object.defineProperty(exports, "__esModule", { value: true });
4980
4876
  var codegen_1 = require_codegen();
@@ -5001,9 +4897,9 @@ var require_limitProperties = __commonJS({
5001
4897
  }
5002
4898
  });
5003
4899
 
5004
- // node_modules/ajv/dist/vocabularies/validation/required.js
4900
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js
5005
4901
  var require_required = __commonJS({
5006
- "node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
4902
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js"(exports) {
5007
4903
  "use strict";
5008
4904
  Object.defineProperty(exports, "__esModule", { value: true });
5009
4905
  var code_1 = require_code2();
@@ -5083,9 +4979,9 @@ var require_required = __commonJS({
5083
4979
  }
5084
4980
  });
5085
4981
 
5086
- // node_modules/ajv/dist/vocabularies/validation/limitItems.js
4982
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js
5087
4983
  var require_limitItems = __commonJS({
5088
- "node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
4984
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js"(exports) {
5089
4985
  "use strict";
5090
4986
  Object.defineProperty(exports, "__esModule", { value: true });
5091
4987
  var codegen_1 = require_codegen();
@@ -5112,9 +5008,9 @@ var require_limitItems = __commonJS({
5112
5008
  }
5113
5009
  });
5114
5010
 
5115
- // node_modules/ajv/dist/runtime/equal.js
5011
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js
5116
5012
  var require_equal = __commonJS({
5117
- "node_modules/ajv/dist/runtime/equal.js"(exports) {
5013
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js"(exports) {
5118
5014
  "use strict";
5119
5015
  Object.defineProperty(exports, "__esModule", { value: true });
5120
5016
  var equal = require_fast_deep_equal();
@@ -5123,9 +5019,9 @@ var require_equal = __commonJS({
5123
5019
  }
5124
5020
  });
5125
5021
 
5126
- // node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
5022
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js
5127
5023
  var require_uniqueItems = __commonJS({
5128
- "node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
5024
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js"(exports) {
5129
5025
  "use strict";
5130
5026
  Object.defineProperty(exports, "__esModule", { value: true });
5131
5027
  var dataType_1 = require_dataType();
@@ -5190,9 +5086,9 @@ var require_uniqueItems = __commonJS({
5190
5086
  }
5191
5087
  });
5192
5088
 
5193
- // node_modules/ajv/dist/vocabularies/validation/const.js
5089
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js
5194
5090
  var require_const = __commonJS({
5195
- "node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
5091
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js"(exports) {
5196
5092
  "use strict";
5197
5093
  Object.defineProperty(exports, "__esModule", { value: true });
5198
5094
  var codegen_1 = require_codegen();
@@ -5219,9 +5115,9 @@ var require_const = __commonJS({
5219
5115
  }
5220
5116
  });
5221
5117
 
5222
- // node_modules/ajv/dist/vocabularies/validation/enum.js
5118
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js
5223
5119
  var require_enum = __commonJS({
5224
- "node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
5120
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js"(exports) {
5225
5121
  "use strict";
5226
5122
  Object.defineProperty(exports, "__esModule", { value: true });
5227
5123
  var codegen_1 = require_codegen();
@@ -5268,9 +5164,9 @@ var require_enum = __commonJS({
5268
5164
  }
5269
5165
  });
5270
5166
 
5271
- // node_modules/ajv/dist/vocabularies/validation/index.js
5167
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js
5272
5168
  var require_validation = __commonJS({
5273
- "node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
5169
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js"(exports) {
5274
5170
  "use strict";
5275
5171
  Object.defineProperty(exports, "__esModule", { value: true });
5276
5172
  var limitNumber_1 = require_limitNumber();
@@ -5306,9 +5202,9 @@ var require_validation = __commonJS({
5306
5202
  }
5307
5203
  });
5308
5204
 
5309
- // node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
5205
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js
5310
5206
  var require_additionalItems = __commonJS({
5311
- "node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
5207
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js"(exports) {
5312
5208
  "use strict";
5313
5209
  Object.defineProperty(exports, "__esModule", { value: true });
5314
5210
  exports.validateAdditionalItems = void 0;
@@ -5359,9 +5255,9 @@ var require_additionalItems = __commonJS({
5359
5255
  }
5360
5256
  });
5361
5257
 
5362
- // node_modules/ajv/dist/vocabularies/applicator/items.js
5258
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js
5363
5259
  var require_items = __commonJS({
5364
- "node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
5260
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js"(exports) {
5365
5261
  "use strict";
5366
5262
  Object.defineProperty(exports, "__esModule", { value: true });
5367
5263
  exports.validateTuple = void 0;
@@ -5416,9 +5312,9 @@ var require_items = __commonJS({
5416
5312
  }
5417
5313
  });
5418
5314
 
5419
- // node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
5315
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js
5420
5316
  var require_prefixItems = __commonJS({
5421
- "node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
5317
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js"(exports) {
5422
5318
  "use strict";
5423
5319
  Object.defineProperty(exports, "__esModule", { value: true });
5424
5320
  var items_1 = require_items();
@@ -5433,9 +5329,9 @@ var require_prefixItems = __commonJS({
5433
5329
  }
5434
5330
  });
5435
5331
 
5436
- // node_modules/ajv/dist/vocabularies/applicator/items2020.js
5332
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js
5437
5333
  var require_items2020 = __commonJS({
5438
- "node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
5334
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js"(exports) {
5439
5335
  "use strict";
5440
5336
  Object.defineProperty(exports, "__esModule", { value: true });
5441
5337
  var codegen_1 = require_codegen();
@@ -5468,9 +5364,9 @@ var require_items2020 = __commonJS({
5468
5364
  }
5469
5365
  });
5470
5366
 
5471
- // node_modules/ajv/dist/vocabularies/applicator/contains.js
5367
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js
5472
5368
  var require_contains = __commonJS({
5473
- "node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
5369
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js"(exports) {
5474
5370
  "use strict";
5475
5371
  Object.defineProperty(exports, "__esModule", { value: true });
5476
5372
  var codegen_1 = require_codegen();
@@ -5562,9 +5458,9 @@ var require_contains = __commonJS({
5562
5458
  }
5563
5459
  });
5564
5460
 
5565
- // node_modules/ajv/dist/vocabularies/applicator/dependencies.js
5461
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js
5566
5462
  var require_dependencies = __commonJS({
5567
- "node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
5463
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js"(exports) {
5568
5464
  "use strict";
5569
5465
  Object.defineProperty(exports, "__esModule", { value: true });
5570
5466
  exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
@@ -5656,9 +5552,9 @@ var require_dependencies = __commonJS({
5656
5552
  }
5657
5553
  });
5658
5554
 
5659
- // node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
5555
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js
5660
5556
  var require_propertyNames = __commonJS({
5661
- "node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
5557
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js"(exports) {
5662
5558
  "use strict";
5663
5559
  Object.defineProperty(exports, "__esModule", { value: true });
5664
5560
  var codegen_1 = require_codegen();
@@ -5699,9 +5595,9 @@ var require_propertyNames = __commonJS({
5699
5595
  }
5700
5596
  });
5701
5597
 
5702
- // node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
5598
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js
5703
5599
  var require_additionalProperties = __commonJS({
5704
- "node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
5600
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js"(exports) {
5705
5601
  "use strict";
5706
5602
  Object.defineProperty(exports, "__esModule", { value: true });
5707
5603
  var code_1 = require_code2();
@@ -5805,9 +5701,9 @@ var require_additionalProperties = __commonJS({
5805
5701
  }
5806
5702
  });
5807
5703
 
5808
- // node_modules/ajv/dist/vocabularies/applicator/properties.js
5704
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js
5809
5705
  var require_properties = __commonJS({
5810
- "node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
5706
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js"(exports) {
5811
5707
  "use strict";
5812
5708
  Object.defineProperty(exports, "__esModule", { value: true });
5813
5709
  var validate_1 = require_validate();
@@ -5863,9 +5759,9 @@ var require_properties = __commonJS({
5863
5759
  }
5864
5760
  });
5865
5761
 
5866
- // node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
5762
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js
5867
5763
  var require_patternProperties = __commonJS({
5868
- "node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
5764
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js"(exports) {
5869
5765
  "use strict";
5870
5766
  Object.defineProperty(exports, "__esModule", { value: true });
5871
5767
  var code_1 = require_code2();
@@ -5937,9 +5833,9 @@ var require_patternProperties = __commonJS({
5937
5833
  }
5938
5834
  });
5939
5835
 
5940
- // node_modules/ajv/dist/vocabularies/applicator/not.js
5836
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js
5941
5837
  var require_not = __commonJS({
5942
- "node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
5838
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js"(exports) {
5943
5839
  "use strict";
5944
5840
  Object.defineProperty(exports, "__esModule", { value: true });
5945
5841
  var util_1 = require_util();
@@ -5968,9 +5864,9 @@ var require_not = __commonJS({
5968
5864
  }
5969
5865
  });
5970
5866
 
5971
- // node_modules/ajv/dist/vocabularies/applicator/anyOf.js
5867
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js
5972
5868
  var require_anyOf = __commonJS({
5973
- "node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
5869
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js"(exports) {
5974
5870
  "use strict";
5975
5871
  Object.defineProperty(exports, "__esModule", { value: true });
5976
5872
  var code_1 = require_code2();
@@ -5985,9 +5881,9 @@ var require_anyOf = __commonJS({
5985
5881
  }
5986
5882
  });
5987
5883
 
5988
- // node_modules/ajv/dist/vocabularies/applicator/oneOf.js
5884
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js
5989
5885
  var require_oneOf = __commonJS({
5990
- "node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
5886
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js"(exports) {
5991
5887
  "use strict";
5992
5888
  Object.defineProperty(exports, "__esModule", { value: true });
5993
5889
  var codegen_1 = require_codegen();
@@ -6043,9 +5939,9 @@ var require_oneOf = __commonJS({
6043
5939
  }
6044
5940
  });
6045
5941
 
6046
- // node_modules/ajv/dist/vocabularies/applicator/allOf.js
5942
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js
6047
5943
  var require_allOf = __commonJS({
6048
- "node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
5944
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js"(exports) {
6049
5945
  "use strict";
6050
5946
  Object.defineProperty(exports, "__esModule", { value: true });
6051
5947
  var util_1 = require_util();
@@ -6070,9 +5966,9 @@ var require_allOf = __commonJS({
6070
5966
  }
6071
5967
  });
6072
5968
 
6073
- // node_modules/ajv/dist/vocabularies/applicator/if.js
5969
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js
6074
5970
  var require_if = __commonJS({
6075
- "node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
5971
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js"(exports) {
6076
5972
  "use strict";
6077
5973
  Object.defineProperty(exports, "__esModule", { value: true });
6078
5974
  var codegen_1 = require_codegen();
@@ -6139,9 +6035,9 @@ var require_if = __commonJS({
6139
6035
  }
6140
6036
  });
6141
6037
 
6142
- // node_modules/ajv/dist/vocabularies/applicator/thenElse.js
6038
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js
6143
6039
  var require_thenElse = __commonJS({
6144
- "node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
6040
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js"(exports) {
6145
6041
  "use strict";
6146
6042
  Object.defineProperty(exports, "__esModule", { value: true });
6147
6043
  var util_1 = require_util();
@@ -6157,9 +6053,9 @@ var require_thenElse = __commonJS({
6157
6053
  }
6158
6054
  });
6159
6055
 
6160
- // node_modules/ajv/dist/vocabularies/applicator/index.js
6056
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js
6161
6057
  var require_applicator = __commonJS({
6162
- "node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
6058
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js"(exports) {
6163
6059
  "use strict";
6164
6060
  Object.defineProperty(exports, "__esModule", { value: true });
6165
6061
  var additionalItems_1 = require_additionalItems();
@@ -6205,9 +6101,9 @@ var require_applicator = __commonJS({
6205
6101
  }
6206
6102
  });
6207
6103
 
6208
- // node_modules/ajv/dist/vocabularies/format/format.js
6104
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js
6209
6105
  var require_format = __commonJS({
6210
- "node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
6106
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js"(exports) {
6211
6107
  "use strict";
6212
6108
  Object.defineProperty(exports, "__esModule", { value: true });
6213
6109
  var codegen_1 = require_codegen();
@@ -6295,9 +6191,9 @@ var require_format = __commonJS({
6295
6191
  }
6296
6192
  });
6297
6193
 
6298
- // node_modules/ajv/dist/vocabularies/format/index.js
6194
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js
6299
6195
  var require_format2 = __commonJS({
6300
- "node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
6196
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js"(exports) {
6301
6197
  "use strict";
6302
6198
  Object.defineProperty(exports, "__esModule", { value: true });
6303
6199
  var format_1 = require_format();
@@ -6306,9 +6202,9 @@ var require_format2 = __commonJS({
6306
6202
  }
6307
6203
  });
6308
6204
 
6309
- // node_modules/ajv/dist/vocabularies/metadata.js
6205
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js
6310
6206
  var require_metadata = __commonJS({
6311
- "node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
6207
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js"(exports) {
6312
6208
  "use strict";
6313
6209
  Object.defineProperty(exports, "__esModule", { value: true });
6314
6210
  exports.contentVocabulary = exports.metadataVocabulary = void 0;
@@ -6329,9 +6225,9 @@ var require_metadata = __commonJS({
6329
6225
  }
6330
6226
  });
6331
6227
 
6332
- // node_modules/ajv/dist/vocabularies/draft7.js
6228
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft7.js
6333
6229
  var require_draft7 = __commonJS({
6334
- "node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
6230
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft7.js"(exports) {
6335
6231
  "use strict";
6336
6232
  Object.defineProperty(exports, "__esModule", { value: true });
6337
6233
  var core_1 = require_core2();
@@ -6351,9 +6247,9 @@ var require_draft7 = __commonJS({
6351
6247
  }
6352
6248
  });
6353
6249
 
6354
- // node_modules/ajv/dist/vocabularies/discriminator/types.js
6250
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js
6355
6251
  var require_types = __commonJS({
6356
- "node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
6252
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js"(exports) {
6357
6253
  "use strict";
6358
6254
  Object.defineProperty(exports, "__esModule", { value: true });
6359
6255
  exports.DiscrError = void 0;
@@ -6365,9 +6261,9 @@ var require_types = __commonJS({
6365
6261
  }
6366
6262
  });
6367
6263
 
6368
- // node_modules/ajv/dist/vocabularies/discriminator/index.js
6264
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js
6369
6265
  var require_discriminator = __commonJS({
6370
- "node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
6266
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js"(exports) {
6371
6267
  "use strict";
6372
6268
  Object.defineProperty(exports, "__esModule", { value: true });
6373
6269
  var codegen_1 = require_codegen();
@@ -6470,9 +6366,9 @@ var require_discriminator = __commonJS({
6470
6366
  }
6471
6367
  });
6472
6368
 
6473
- // node_modules/ajv/dist/refs/json-schema-draft-07.json
6369
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-draft-07.json
6474
6370
  var require_json_schema_draft_07 = __commonJS({
6475
- "node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module) {
6371
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-draft-07.json"(exports, module) {
6476
6372
  module.exports = {
6477
6373
  $schema: "http://json-schema.org/draft-07/schema#",
6478
6374
  $id: "http://json-schema.org/draft-07/schema#",
@@ -6627,9 +6523,9 @@ var require_json_schema_draft_07 = __commonJS({
6627
6523
  }
6628
6524
  });
6629
6525
 
6630
- // node_modules/ajv/dist/ajv.js
6526
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/ajv.js
6631
6527
  var require_ajv = __commonJS({
6632
- "node_modules/ajv/dist/ajv.js"(exports, module) {
6528
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/ajv.js"(exports, module) {
6633
6529
  "use strict";
6634
6530
  Object.defineProperty(exports, "__esModule", { value: true });
6635
6531
  exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
@@ -6697,9 +6593,9 @@ var require_ajv = __commonJS({
6697
6593
  }
6698
6594
  });
6699
6595
 
6700
- // node_modules/ajv-formats/dist/formats.js
6596
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/formats.js
6701
6597
  var require_formats = __commonJS({
6702
- "node_modules/ajv-formats/dist/formats.js"(exports) {
6598
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/formats.js"(exports) {
6703
6599
  "use strict";
6704
6600
  Object.defineProperty(exports, "__esModule", { value: true });
6705
6601
  exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
@@ -6900,9 +6796,9 @@ var require_formats = __commonJS({
6900
6796
  }
6901
6797
  });
6902
6798
 
6903
- // node_modules/ajv-formats/dist/limit.js
6799
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/limit.js
6904
6800
  var require_limit = __commonJS({
6905
- "node_modules/ajv-formats/dist/limit.js"(exports) {
6801
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/limit.js"(exports) {
6906
6802
  "use strict";
6907
6803
  Object.defineProperty(exports, "__esModule", { value: true });
6908
6804
  exports.formatLimitDefinition = void 0;
@@ -6972,9 +6868,9 @@ var require_limit = __commonJS({
6972
6868
  }
6973
6869
  });
6974
6870
 
6975
- // node_modules/ajv-formats/dist/index.js
6871
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/index.js
6976
6872
  var require_dist = __commonJS({
6977
- "node_modules/ajv-formats/dist/index.js"(exports, module) {
6873
+ "../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/index.js"(exports, module) {
6978
6874
  "use strict";
6979
6875
  Object.defineProperty(exports, "__esModule", { value: true });
6980
6876
  var formats_1 = require_formats();
@@ -7014,42 +6910,7 @@ var require_dist = __commonJS({
7014
6910
  }
7015
6911
  });
7016
6912
 
7017
- // node_modules/@modelcontextprotocol/sdk/dist/esm/shared/mediaType.js
7018
- var import_content_type = __toESM(require_content_type(), 1);
7019
- function mediaTypeEssence(header) {
7020
- if (!header) {
7021
- return void 0;
7022
- }
7023
- try {
7024
- return import_content_type.default.parse(header).type;
7025
- } catch {
7026
- const essence = (header.split(";", 1)[0] ?? "").trim().toLowerCase();
7027
- if (essence === "" || header.slice(essence.length).includes(",")) {
7028
- return void 0;
7029
- }
7030
- return essence;
7031
- }
7032
- }
7033
- function isJsonContentType(header) {
7034
- if (header === "application/json") {
7035
- return true;
7036
- }
7037
- return mediaTypeEssence(header) === "application/json";
7038
- }
7039
-
7040
- // node_modules/@modelcontextprotocol/sdk/dist/esm/server/sseKeepAlive.js
7041
- var DEFAULT_SSE_KEEP_ALIVE_MS = 15e3;
7042
- var MAX_TIMER_DELAY_MS = 2 ** 31 - 1;
7043
- function armSseKeepAlive(intervalMs, onTick) {
7044
- if (!Number.isFinite(intervalMs) || intervalMs < 1) {
7045
- return void 0;
7046
- }
7047
- const timer = setInterval(onTick, Math.min(intervalMs, MAX_TIMER_DELAY_MS));
7048
- timer.unref?.();
7049
- return timer;
7050
- }
7051
-
7052
- // node_modules/zod/v4/core/core.js
6913
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
7053
6914
  var _a;
7054
6915
  // @__NO_SIDE_EFFECTS__
7055
6916
  function $constructor(name, initializer3, params) {
@@ -7122,7 +6983,7 @@ function config(newConfig) {
7122
6983
  return globalConfig;
7123
6984
  }
7124
6985
 
7125
- // node_modules/zod/v4/core/util.js
6986
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js
7126
6987
  var util_exports = {};
7127
6988
  __export(util_exports, {
7128
6989
  BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
@@ -7818,7 +7679,7 @@ var Class = class {
7818
7679
  }
7819
7680
  };
7820
7681
 
7821
- // node_modules/zod/v4/core/errors.js
7682
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.js
7822
7683
  var initializer = (inst, def) => {
7823
7684
  inst.name = "$ZodError";
7824
7685
  Object.defineProperty(inst, "_zod", {
@@ -7887,7 +7748,7 @@ function formatError(error2, mapper = (issue2) => issue2.message) {
7887
7748
  return fieldErrors;
7888
7749
  }
7889
7750
 
7890
- // node_modules/zod/v4/core/parse.js
7751
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.js
7891
7752
  var _parse = (_Err) => (schema, value, _ctx, _params) => {
7892
7753
  const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
7893
7754
  const result = schema._zod.run({ value, issues: [] }, ctx);
@@ -7965,7 +7826,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
7965
7826
  return _safeParseAsync(_Err)(schema, value, _ctx);
7966
7827
  };
7967
7828
 
7968
- // node_modules/zod/v4/core/regexes.js
7829
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.js
7969
7830
  var cuid = /^[cC][0-9a-z]{6,}$/;
7970
7831
  var cuid2 = /^[0-9a-z]+$/;
7971
7832
  var ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
@@ -8023,7 +7884,7 @@ var _null = /^null$/i;
8023
7884
  var lowercase = /^[^A-Z]*$/;
8024
7885
  var uppercase = /^[^a-z]*$/;
8025
7886
 
8026
- // node_modules/zod/v4/core/checks.js
7887
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.js
8027
7888
  var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
8028
7889
  var _a3;
8029
7890
  inst._zod ?? (inst._zod = {});
@@ -8413,7 +8274,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
8413
8274
  };
8414
8275
  });
8415
8276
 
8416
- // node_modules/zod/v4/core/doc.js
8277
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.js
8417
8278
  var Doc = class {
8418
8279
  constructor(args = []) {
8419
8280
  this.content = [];
@@ -8449,14 +8310,14 @@ var Doc = class {
8449
8310
  }
8450
8311
  };
8451
8312
 
8452
- // node_modules/zod/v4/core/versions.js
8313
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.js
8453
8314
  var version = {
8454
8315
  major: 4,
8455
8316
  minor: 4,
8456
8317
  patch: 3
8457
8318
  };
8458
8319
 
8459
- // node_modules/zod/v4/core/schemas.js
8320
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.js
8460
8321
  var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
8461
8322
  var _a3;
8462
8323
  inst ?? (inst = {});
@@ -9936,7 +9797,7 @@ function handleRefineResult(result, payload, input, inst) {
9936
9797
  }
9937
9798
  }
9938
9799
 
9939
- // node_modules/zod/v4/locales/en.js
9800
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/en.js
9940
9801
  var error = () => {
9941
9802
  const Sizable = {
9942
9803
  string: { unit: "characters", verb: "to have" },
@@ -10049,7 +9910,7 @@ function en_default() {
10049
9910
  };
10050
9911
  }
10051
9912
 
10052
- // node_modules/zod/v4/core/registries.js
9913
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.js
10053
9914
  var _a2;
10054
9915
  var $ZodRegistry = class {
10055
9916
  constructor() {
@@ -10097,7 +9958,7 @@ function registry() {
10097
9958
  (_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
10098
9959
  var globalRegistry = globalThis.__zod_globalRegistry;
10099
9960
 
10100
- // node_modules/zod/v4/core/api.js
9961
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.js
10101
9962
  // @__NO_SIDE_EFFECTS__
10102
9963
  function _string(Class2, params) {
10103
9964
  return new Class2({
@@ -10625,7 +10486,7 @@ function _check(fn, params) {
10625
10486
  return ch;
10626
10487
  }
10627
10488
 
10628
- // node_modules/zod/v4/core/to-json-schema.js
10489
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.js
10629
10490
  function initializeContext(params) {
10630
10491
  let target = params?.target ?? "draft-2020-12";
10631
10492
  if (target === "draft-4")
@@ -10984,7 +10845,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
10984
10845
  return finalize(ctx, schema);
10985
10846
  };
10986
10847
 
10987
- // node_modules/zod/v4/core/json-schema-processors.js
10848
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.js
10988
10849
  var formatMap = {
10989
10850
  guid: "uuid",
10990
10851
  url: "uri",
@@ -11317,7 +11178,7 @@ var optionalProcessor = (schema, ctx, _json, params) => {
11317
11178
  seen.ref = def.innerType;
11318
11179
  };
11319
11180
 
11320
- // node_modules/zod/v4/classic/iso.js
11181
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
11321
11182
  var iso_exports = {};
11322
11183
  __export(iso_exports, {
11323
11184
  ZodISODate: () => ZodISODate,
@@ -11358,7 +11219,7 @@ function duration2(params) {
11358
11219
  return _isoDuration(ZodISODuration, params);
11359
11220
  }
11360
11221
 
11361
- // node_modules/zod/v4/classic/errors.js
11222
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.js
11362
11223
  var initializer2 = (inst, issues) => {
11363
11224
  $ZodError.init(inst, issues);
11364
11225
  inst.name = "ZodError";
@@ -11397,7 +11258,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
11397
11258
  Parent: Error
11398
11259
  });
11399
11260
 
11400
- // node_modules/zod/v4/classic/parse.js
11261
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.js
11401
11262
  var parse2 = /* @__PURE__ */ _parse(ZodRealError);
11402
11263
  var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
11403
11264
  var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
@@ -11411,7 +11272,7 @@ var safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
11411
11272
  var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
11412
11273
  var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
11413
11274
 
11414
- // node_modules/zod/v4/classic/schemas.js
11275
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
11415
11276
  var _installedGroups = /* @__PURE__ */ new WeakMap();
11416
11277
  function _installLazyMethods(inst, group, methods) {
11417
11278
  const proto = Object.getPrototypeOf(inst);
@@ -12253,10 +12114,10 @@ function preprocess(fn, schema) {
12253
12114
  });
12254
12115
  }
12255
12116
 
12256
- // node_modules/zod/v4/classic/external.js
12117
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
12257
12118
  config(en_default());
12258
12119
 
12259
- // node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
12120
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/@modelcontextprotocol+sdk@1.26.0_@cfworker+json-schema@4.1.1_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
12260
12121
  var LATEST_PROTOCOL_VERSION = "2025-11-25";
12261
12122
  var DEFAULT_NEGOTIATED_PROTOCOL_VERSION = "2025-03-26";
12262
12123
  var SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
@@ -12267,9 +12128,10 @@ var ProgressTokenSchema = union([string2(), number2().int()]);
12267
12128
  var CursorSchema = string2();
12268
12129
  var TaskCreationParamsSchema = looseObject({
12269
12130
  /**
12270
- * Requested duration in milliseconds to retain task from creation.
12131
+ * Time in milliseconds to keep task results available after completion.
12132
+ * If null, the task has unlimited lifetime until manually cleaned up.
12271
12133
  */
12272
- ttl: number2().optional(),
12134
+ ttl: union([number2(), _null3()]).optional(),
12273
12135
  /**
12274
12136
  * Time in milliseconds to wait between task status requests.
12275
12137
  */
@@ -12569,11 +12431,7 @@ var ClientCapabilitiesSchema = object({
12569
12431
  /**
12570
12432
  * Present if the client supports task creation.
12571
12433
  */
12572
- tasks: ClientTasksCapabilitySchema.optional(),
12573
- /**
12574
- * Extensions that the client supports. Keys are extension identifiers (vendor-prefix/extension-name).
12575
- */
12576
- extensions: record(string2(), AssertObjectSchema).optional()
12434
+ tasks: ClientTasksCapabilitySchema.optional()
12577
12435
  });
12578
12436
  var InitializeRequestParamsSchema = BaseRequestParamsSchema.extend({
12579
12437
  /**
@@ -12635,11 +12493,7 @@ var ServerCapabilitiesSchema = object({
12635
12493
  /**
12636
12494
  * Present if the server supports task creation.
12637
12495
  */
12638
- tasks: ServerTasksCapabilitySchema.optional(),
12639
- /**
12640
- * Extensions that the server supports. Keys are extension identifiers (vendor-prefix/extension-name).
12641
- */
12642
- extensions: record(string2(), AssertObjectSchema).optional()
12496
+ tasks: ServerTasksCapabilitySchema.optional()
12643
12497
  });
12644
12498
  var InitializeResultSchema = ResultSchema.extend({
12645
12499
  /**
@@ -12831,12 +12685,6 @@ var ResourceSchema = object({
12831
12685
  * The MIME type of this resource, if known.
12832
12686
  */
12833
12687
  mimeType: optional(string2()),
12834
- /**
12835
- * The size of the raw resource content, in bytes (i.e., before base64 encoding or any tokenization), if known.
12836
- *
12837
- * This can be used by Hosts to display file sizes and estimate context window usage.
12838
- */
12839
- size: optional(number2()),
12840
12688
  /**
12841
12689
  * Optional annotations for the client.
12842
12690
  */
@@ -13777,19 +13625,17 @@ var UrlElicitationRequiredError = class extends McpError {
13777
13625
  }
13778
13626
  };
13779
13627
 
13780
- // node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js
13628
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/@modelcontextprotocol+sdk@1.26.0_@cfworker+json-schema@4.1.1_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/webStandardStreamableHttp.js
13781
13629
  var WebStandardStreamableHTTPServerTransport = class {
13782
13630
  constructor(options = {}) {
13783
13631
  this._started = false;
13784
13632
  this._hasHandledRequest = false;
13785
13633
  this._streamMapping = /* @__PURE__ */ new Map();
13786
13634
  this._requestToStreamMapping = /* @__PURE__ */ new Map();
13787
- this._resumableStreams = /* @__PURE__ */ new Set();
13788
13635
  this._requestResponseMap = /* @__PURE__ */ new Map();
13789
13636
  this._initialized = false;
13790
13637
  this._enableJsonResponse = false;
13791
13638
  this._standaloneSseStreamId = "_GET_stream";
13792
- this._closed = false;
13793
13639
  this.sessionIdGenerator = options.sessionIdGenerator;
13794
13640
  this._enableJsonResponse = options.enableJsonResponse ?? false;
13795
13641
  this._eventStore = options.eventStore;
@@ -13799,27 +13645,6 @@ var WebStandardStreamableHTTPServerTransport = class {
13799
13645
  this._allowedOrigins = options.allowedOrigins;
13800
13646
  this._enableDnsRebindingProtection = options.enableDnsRebindingProtection ?? false;
13801
13647
  this._retryInterval = options.retryInterval;
13802
- this._keepAliveMs = options.keepAliveMs ?? DEFAULT_SSE_KEEP_ALIVE_MS;
13803
- }
13804
- /**
13805
- * Arms a keep-alive interval for an SSE stream that periodically writes an SSE
13806
- * comment frame so intermediaries and idle timeouts don't kill the connection.
13807
- * The returned timer is owned by the stream it was armed for: the stream's
13808
- * cancel/cleanup callbacks must clear it. The interval clears itself if a
13809
- * write fails (stream already closed/cancelled).
13810
- */
13811
- startKeepAlive(controller, encoder) {
13812
- if (this._closed)
13813
- return void 0;
13814
- const timer = armSseKeepAlive(this._keepAliveMs, () => {
13815
- try {
13816
- controller.enqueue(encoder.encode(": keepalive\n\n"));
13817
- } catch {
13818
- if (timer !== void 0)
13819
- clearInterval(timer);
13820
- }
13821
- });
13822
- return timer;
13823
13648
  }
13824
13649
  /**
13825
13650
  * Starts the transport. This is required by the Transport interface but is a no-op
@@ -13882,9 +13707,6 @@ var WebStandardStreamableHTTPServerTransport = class {
13882
13707
  * Returns a Response object (Web Standard)
13883
13708
  */
13884
13709
  async handleRequest(req, options) {
13885
- if (this._closed) {
13886
- return this.createJsonErrorResponse(404, -32001, "Session not found");
13887
- }
13888
13710
  if (!this.sessionIdGenerator && this._hasHandledRequest) {
13889
13711
  throw new Error("Stateless transport cannot be reused across requests. Create a new transport per request.");
13890
13712
  }
@@ -13929,7 +13751,6 @@ data:
13929
13751
  `;
13930
13752
  }
13931
13753
  controller.enqueue(encoder.encode(primingEvent));
13932
- this._resumableStreams.add(streamId);
13933
13754
  }
13934
13755
  /**
13935
13756
  * Handles GET requests for SSE stream
@@ -13937,7 +13758,6 @@ data:
13937
13758
  async handleGetRequest(req) {
13938
13759
  const acceptHeader = req.headers.get("accept");
13939
13760
  if (!acceptHeader?.includes("text/event-stream")) {
13940
- this.onerror?.(new Error("Not Acceptable: Client must accept text/event-stream"));
13941
13761
  return this.createJsonErrorResponse(406, -32e3, "Not Acceptable: Client must accept text/event-stream");
13942
13762
  }
13943
13763
  const sessionError = this.validateSession(req);
@@ -13955,30 +13775,22 @@ data:
13955
13775
  }
13956
13776
  }
13957
13777
  if (this._streamMapping.get(this._standaloneSseStreamId) !== void 0) {
13958
- this.onerror?.(new Error("Conflict: Only one SSE stream is allowed per session"));
13959
13778
  return this.createJsonErrorResponse(409, -32e3, "Conflict: Only one SSE stream is allowed per session");
13960
13779
  }
13961
13780
  const encoder = new TextEncoder();
13962
13781
  let streamController;
13963
- let keepAliveTimer = void 0;
13964
13782
  const readable = new ReadableStream({
13965
13783
  start: (controller) => {
13966
13784
  streamController = controller;
13967
13785
  },
13968
13786
  cancel: () => {
13969
- if (keepAliveTimer !== void 0) {
13970
- clearInterval(keepAliveTimer);
13971
- }
13972
- if (this._streamMapping.get(this._standaloneSseStreamId)?.controller === streamController) {
13973
- this._streamMapping.delete(this._standaloneSseStreamId);
13974
- }
13787
+ this._streamMapping.delete(this._standaloneSseStreamId);
13975
13788
  }
13976
13789
  });
13977
13790
  const headers = {
13978
13791
  "Content-Type": "text/event-stream",
13979
13792
  "Cache-Control": "no-cache, no-transform",
13980
- Connection: "keep-alive",
13981
- "X-Accel-Buffering": "no"
13793
+ Connection: "keep-alive"
13982
13794
  };
13983
13795
  if (this.sessionId !== void 0) {
13984
13796
  headers["mcp-session-id"] = this.sessionId;
@@ -13987,9 +13799,6 @@ data:
13987
13799
  controller: streamController,
13988
13800
  encoder,
13989
13801
  cleanup: () => {
13990
- if (keepAliveTimer !== void 0) {
13991
- clearInterval(keepAliveTimer);
13992
- }
13993
13802
  this._streamMapping.delete(this._standaloneSseStreamId);
13994
13803
  try {
13995
13804
  streamController.close();
@@ -13997,7 +13806,6 @@ data:
13997
13806
  }
13998
13807
  }
13999
13808
  });
14000
- keepAliveTimer = this.startKeepAlive(streamController, encoder);
14001
13809
  return new Response(readable, { headers });
14002
13810
  }
14003
13811
  /**
@@ -14006,7 +13814,6 @@ data:
14006
13814
  */
14007
13815
  async replayEvents(lastEventId) {
14008
13816
  if (!this._eventStore) {
14009
- this.onerror?.(new Error("Event store not configured"));
14010
13817
  return this.createJsonErrorResponse(400, -32e3, "Event store not configured");
14011
13818
  }
14012
13819
  try {
@@ -14014,44 +13821,30 @@ data:
14014
13821
  if (this._eventStore.getStreamIdForEventId) {
14015
13822
  streamId = await this._eventStore.getStreamIdForEventId(lastEventId);
14016
13823
  if (!streamId) {
14017
- this.onerror?.(new Error("Invalid event ID format"));
14018
13824
  return this.createJsonErrorResponse(400, -32e3, "Invalid event ID format");
14019
13825
  }
14020
13826
  if (this._streamMapping.get(streamId) !== void 0) {
14021
- this.onerror?.(new Error("Conflict: Stream already has an active connection"));
14022
13827
  return this.createJsonErrorResponse(409, -32e3, "Conflict: Stream already has an active connection");
14023
13828
  }
14024
13829
  }
14025
13830
  const headers = {
14026
13831
  "Content-Type": "text/event-stream",
14027
13832
  "Cache-Control": "no-cache, no-transform",
14028
- Connection: "keep-alive",
14029
- "X-Accel-Buffering": "no"
13833
+ Connection: "keep-alive"
14030
13834
  };
14031
13835
  if (this.sessionId !== void 0) {
14032
13836
  headers["mcp-session-id"] = this.sessionId;
14033
13837
  }
14034
13838
  const encoder = new TextEncoder();
14035
13839
  let streamController;
14036
- let keepAliveTimer = void 0;
14037
- let replayedStreamId = void 0;
14038
- let cancelled = false;
14039
13840
  const readable = new ReadableStream({
14040
13841
  start: (controller) => {
14041
13842
  streamController = controller;
14042
13843
  },
14043
13844
  cancel: () => {
14044
- cancelled = true;
14045
- if (keepAliveTimer !== void 0) {
14046
- clearInterval(keepAliveTimer);
14047
- }
14048
- if (replayedStreamId !== void 0 && this._streamMapping.get(replayedStreamId)?.controller === streamController) {
14049
- this._streamMapping.delete(replayedStreamId);
14050
- }
14051
13845
  }
14052
13846
  });
14053
- const replayedEventIds = /* @__PURE__ */ new Set();
14054
- replayedStreamId = await this._eventStore.replayEventsAfter(lastEventId, {
13847
+ const replayedStreamId = await this._eventStore.replayEventsAfter(lastEventId, {
14055
13848
  send: async (eventId, message) => {
14056
13849
  const success = this.writeSSEEvent(streamController, encoder, message, eventId);
14057
13850
  if (!success) {
@@ -14060,27 +13853,13 @@ data:
14060
13853
  streamController.close();
14061
13854
  } catch {
14062
13855
  }
14063
- } else {
14064
- replayedEventIds.add(eventId);
14065
13856
  }
14066
13857
  }
14067
13858
  });
14068
- if (this._closed || cancelled) {
14069
- try {
14070
- streamController.close();
14071
- } catch {
14072
- }
14073
- return this.createJsonErrorResponse(404, -32001, "Session not found");
14074
- }
14075
- this._streamMapping.get(replayedStreamId)?.cleanup();
14076
13859
  this._streamMapping.set(replayedStreamId, {
14077
13860
  controller: streamController,
14078
13861
  encoder,
14079
- replayedEventIds,
14080
13862
  cleanup: () => {
14081
- if (keepAliveTimer !== void 0) {
14082
- clearInterval(keepAliveTimer);
14083
- }
14084
13863
  this._streamMapping.delete(replayedStreamId);
14085
13864
  try {
14086
13865
  streamController.close();
@@ -14088,8 +13867,6 @@ data:
14088
13867
  }
14089
13868
  }
14090
13869
  });
14091
- this._resumableStreams.add(replayedStreamId);
14092
- keepAliveTimer = this.startKeepAlive(streamController, encoder);
14093
13870
  return new Response(readable, { headers });
14094
13871
  } catch (error2) {
14095
13872
  this.onerror?.(error2);
@@ -14112,8 +13889,7 @@ data:
14112
13889
  `;
14113
13890
  controller.enqueue(encoder.encode(eventData));
14114
13891
  return true;
14115
- } catch (error2) {
14116
- this.onerror?.(error2);
13892
+ } catch {
14117
13893
  return false;
14118
13894
  }
14119
13895
  }
@@ -14121,7 +13897,6 @@ data:
14121
13897
  * Handles unsupported requests (PUT, PATCH, etc.)
14122
13898
  */
14123
13899
  handleUnsupportedRequest() {
14124
- this.onerror?.(new Error("Method not allowed."));
14125
13900
  return new Response(JSON.stringify({
14126
13901
  jsonrpc: "2.0",
14127
13902
  error: {
@@ -14144,17 +13919,14 @@ data:
14144
13919
  try {
14145
13920
  const acceptHeader = req.headers.get("accept");
14146
13921
  if (!acceptHeader?.includes("application/json") || !acceptHeader.includes("text/event-stream")) {
14147
- this.onerror?.(new Error("Not Acceptable: Client must accept both application/json and text/event-stream"));
14148
13922
  return this.createJsonErrorResponse(406, -32e3, "Not Acceptable: Client must accept both application/json and text/event-stream");
14149
13923
  }
14150
13924
  const ct = req.headers.get("content-type");
14151
- if (!isJsonContentType(ct)) {
14152
- this.onerror?.(new Error("Unsupported Media Type: Content-Type must be application/json"));
13925
+ if (!ct || !ct.includes("application/json")) {
14153
13926
  return this.createJsonErrorResponse(415, -32e3, "Unsupported Media Type: Content-Type must be application/json");
14154
13927
  }
14155
13928
  const requestInfo = {
14156
- headers: Object.fromEntries(req.headers.entries()),
14157
- url: new URL(req.url)
13929
+ headers: Object.fromEntries(req.headers.entries())
14158
13930
  };
14159
13931
  let rawMessage;
14160
13932
  if (options?.parsedBody !== void 0) {
@@ -14163,7 +13935,6 @@ data:
14163
13935
  try {
14164
13936
  rawMessage = await req.json();
14165
13937
  } catch {
14166
- this.onerror?.(new Error("Parse error: Invalid JSON"));
14167
13938
  return this.createJsonErrorResponse(400, -32700, "Parse error: Invalid JSON");
14168
13939
  }
14169
13940
  }
@@ -14175,20 +13946,14 @@ data:
14175
13946
  messages = [JSONRPCMessageSchema.parse(rawMessage)];
14176
13947
  }
14177
13948
  } catch {
14178
- this.onerror?.(new Error("Parse error: Invalid JSON-RPC message"));
14179
13949
  return this.createJsonErrorResponse(400, -32700, "Parse error: Invalid JSON-RPC message");
14180
13950
  }
14181
- if (this._closed) {
14182
- return this.createJsonErrorResponse(404, -32001, "Session not found");
14183
- }
14184
13951
  const isInitializationRequest = messages.some(isInitializeRequest);
14185
13952
  if (isInitializationRequest) {
14186
13953
  if (this._initialized && this.sessionId !== void 0) {
14187
- this.onerror?.(new Error("Invalid Request: Server already initialized"));
14188
13954
  return this.createJsonErrorResponse(400, -32600, "Invalid Request: Server already initialized");
14189
13955
  }
14190
13956
  if (messages.length > 1) {
14191
- this.onerror?.(new Error("Invalid Request: Only one initialization request is allowed"));
14192
13957
  return this.createJsonErrorResponse(400, -32600, "Invalid Request: Only one initialization request is allowed");
14193
13958
  }
14194
13959
  this.sessionId = this.sessionIdGenerator?.();
@@ -14207,9 +13972,6 @@ data:
14207
13972
  return protocolError;
14208
13973
  }
14209
13974
  }
14210
- if (this._closed) {
14211
- return this.createJsonErrorResponse(404, -32001, "Session not found");
14212
- }
14213
13975
  const hasRequests = messages.some(isJSONRPCRequest);
14214
13976
  if (!hasRequests) {
14215
13977
  for (const message of messages) {
@@ -14240,25 +14002,18 @@ data:
14240
14002
  }
14241
14003
  const encoder = new TextEncoder();
14242
14004
  let streamController;
14243
- let keepAliveTimer = void 0;
14244
14005
  const readable = new ReadableStream({
14245
14006
  start: (controller) => {
14246
14007
  streamController = controller;
14247
14008
  },
14248
14009
  cancel: () => {
14249
- if (keepAliveTimer !== void 0) {
14250
- clearInterval(keepAliveTimer);
14251
- }
14252
- if (this._streamMapping.get(streamId)?.controller === streamController) {
14253
- this._streamMapping.delete(streamId);
14254
- }
14010
+ this._streamMapping.delete(streamId);
14255
14011
  }
14256
14012
  });
14257
14013
  const headers = {
14258
14014
  "Content-Type": "text/event-stream",
14259
- "Cache-Control": "no-cache, no-transform",
14260
- Connection: "keep-alive",
14261
- "X-Accel-Buffering": "no"
14015
+ "Cache-Control": "no-cache",
14016
+ Connection: "keep-alive"
14262
14017
  };
14263
14018
  if (this.sessionId !== void 0) {
14264
14019
  headers["mcp-session-id"] = this.sessionId;
@@ -14269,9 +14024,6 @@ data:
14269
14024
  controller: streamController,
14270
14025
  encoder,
14271
14026
  cleanup: () => {
14272
- if (keepAliveTimer !== void 0) {
14273
- clearInterval(keepAliveTimer);
14274
- }
14275
14027
  this._streamMapping.delete(streamId);
14276
14028
  try {
14277
14029
  streamController.close();
@@ -14282,33 +14034,19 @@ data:
14282
14034
  this._requestToStreamMapping.set(message.id, streamId);
14283
14035
  }
14284
14036
  }
14285
- try {
14286
- await this.writePrimingEvent(streamController, encoder, streamId, clientProtocolVersion);
14287
- for (const message of messages) {
14288
- let closeSSEStream;
14289
- let closeStandaloneSSEStream;
14290
- if (isJSONRPCRequest(message) && this._eventStore && clientProtocolVersion >= "2025-11-25") {
14291
- closeSSEStream = () => {
14292
- this.closeSSEStream(message.id);
14293
- };
14294
- closeStandaloneSSEStream = () => {
14295
- this.closeStandaloneSSEStream();
14296
- };
14297
- }
14298
- this.onmessage?.(message, { authInfo: options?.authInfo, requestInfo, closeSSEStream, closeStandaloneSSEStream });
14299
- }
14300
- } catch (error2) {
14301
- this._streamMapping.get(streamId)?.cleanup();
14302
- this._resumableStreams.delete(streamId);
14303
- for (const message of messages) {
14304
- if (isJSONRPCRequest(message)) {
14305
- this._requestToStreamMapping.delete(message.id);
14306
- }
14037
+ await this.writePrimingEvent(streamController, encoder, streamId, clientProtocolVersion);
14038
+ for (const message of messages) {
14039
+ let closeSSEStream;
14040
+ let closeStandaloneSSEStream;
14041
+ if (isJSONRPCRequest(message) && this._eventStore && clientProtocolVersion >= "2025-11-25") {
14042
+ closeSSEStream = () => {
14043
+ this.closeSSEStream(message.id);
14044
+ };
14045
+ closeStandaloneSSEStream = () => {
14046
+ this.closeStandaloneSSEStream();
14047
+ };
14307
14048
  }
14308
- throw error2;
14309
- }
14310
- if (this._streamMapping.get(streamId)?.controller === streamController) {
14311
- keepAliveTimer = this.startKeepAlive(streamController, encoder);
14049
+ this.onmessage?.(message, { authInfo: options?.authInfo, requestInfo, closeSSEStream, closeStandaloneSSEStream });
14312
14050
  }
14313
14051
  return new Response(readable, { status: 200, headers });
14314
14052
  } catch (error2) {
@@ -14328,12 +14066,9 @@ data:
14328
14066
  if (protocolError) {
14329
14067
  return protocolError;
14330
14068
  }
14331
- try {
14332
- await Promise.resolve(this._onsessionclosed?.(this.sessionId));
14333
- return new Response(null, { status: 200 });
14334
- } finally {
14335
- await this.close();
14336
- }
14069
+ await Promise.resolve(this._onsessionclosed?.(this.sessionId));
14070
+ await this.close();
14071
+ return new Response(null, { status: 200 });
14337
14072
  }
14338
14073
  /**
14339
14074
  * Validates session ID for non-initialization requests.
@@ -14344,16 +14079,13 @@ data:
14344
14079
  return void 0;
14345
14080
  }
14346
14081
  if (!this._initialized) {
14347
- this.onerror?.(new Error("Bad Request: Server not initialized"));
14348
14082
  return this.createJsonErrorResponse(400, -32e3, "Bad Request: Server not initialized");
14349
14083
  }
14350
14084
  const sessionId = req.headers.get("mcp-session-id");
14351
14085
  if (!sessionId) {
14352
- this.onerror?.(new Error("Bad Request: Mcp-Session-Id header is required"));
14353
14086
  return this.createJsonErrorResponse(400, -32e3, "Bad Request: Mcp-Session-Id header is required");
14354
14087
  }
14355
14088
  if (sessionId !== this.sessionId) {
14356
- this.onerror?.(new Error("Session not found"));
14357
14089
  return this.createJsonErrorResponse(404, -32001, "Session not found");
14358
14090
  }
14359
14091
  return void 0;
@@ -14374,22 +14106,16 @@ data:
14374
14106
  validateProtocolVersion(req) {
14375
14107
  const protocolVersion = req.headers.get("mcp-protocol-version");
14376
14108
  if (protocolVersion !== null && !SUPPORTED_PROTOCOL_VERSIONS.includes(protocolVersion)) {
14377
- this.onerror?.(new Error(`Bad Request: Unsupported protocol version: ${protocolVersion} (supported versions: ${SUPPORTED_PROTOCOL_VERSIONS.join(", ")})`));
14378
14109
  return this.createJsonErrorResponse(400, -32e3, `Bad Request: Unsupported protocol version: ${protocolVersion} (supported versions: ${SUPPORTED_PROTOCOL_VERSIONS.join(", ")})`);
14379
14110
  }
14380
14111
  return void 0;
14381
14112
  }
14382
14113
  async close() {
14383
- if (this._closed) {
14384
- return;
14385
- }
14386
- this._closed = true;
14387
14114
  this._streamMapping.forEach(({ cleanup }) => {
14388
14115
  cleanup();
14389
14116
  });
14390
14117
  this._streamMapping.clear();
14391
14118
  this._requestResponseMap.clear();
14392
- this._resumableStreams.clear();
14393
14119
  this.onclose?.();
14394
14120
  }
14395
14121
  /**
@@ -14433,7 +14159,7 @@ data:
14433
14159
  if (standaloneSse === void 0) {
14434
14160
  return;
14435
14161
  }
14436
- if (standaloneSse.controller && standaloneSse.encoder && (eventId === void 0 || !standaloneSse.replayedEventIds?.has(eventId))) {
14162
+ if (standaloneSse.controller && standaloneSse.encoder) {
14437
14163
  this.writeSSEEvent(standaloneSse.controller, standaloneSse.encoder, message, eventId);
14438
14164
  }
14439
14165
  return;
@@ -14442,19 +14168,13 @@ data:
14442
14168
  if (!streamId) {
14443
14169
  throw new Error(`No connection established for request ID: ${String(requestId)}`);
14444
14170
  }
14445
- let stream = this._streamMapping.get(streamId);
14446
- if (!this._enableJsonResponse) {
14171
+ const stream = this._streamMapping.get(streamId);
14172
+ if (!this._enableJsonResponse && stream?.controller && stream?.encoder) {
14447
14173
  let eventId;
14448
14174
  if (this._eventStore) {
14449
14175
  eventId = await this._eventStore.storeEvent(streamId, message);
14450
- stream = this._streamMapping.get(streamId);
14451
- }
14452
- if (stream?.controller && stream?.encoder && (eventId === void 0 || !stream.replayedEventIds?.has(eventId))) {
14453
- const written = this.writeSSEEvent(stream.controller, stream.encoder, message, eventId);
14454
- if (written && eventId !== void 0) {
14455
- this._resumableStreams.add(streamId);
14456
- }
14457
14176
  }
14177
+ this.writeSSEEvent(stream.controller, stream.encoder, message, eventId);
14458
14178
  }
14459
14179
  if (isJSONRPCResultResponse(message) || isJSONRPCErrorResponse(message)) {
14460
14180
  this._requestResponseMap.set(requestId, message);
@@ -14462,25 +14182,6 @@ data:
14462
14182
  const allResponsesReady = relatedIds.every((id) => this._requestResponseMap.has(id));
14463
14183
  if (allResponsesReady) {
14464
14184
  if (!stream) {
14465
- if (this._closed) {
14466
- for (const id of relatedIds) {
14467
- this._requestResponseMap.delete(id);
14468
- this._requestToStreamMapping.delete(id);
14469
- }
14470
- return;
14471
- }
14472
- if (!this._enableJsonResponse && this._eventStore && this._resumableStreams.has(streamId)) {
14473
- for (const id of relatedIds) {
14474
- this._requestResponseMap.delete(id);
14475
- this._requestToStreamMapping.delete(id);
14476
- }
14477
- this._resumableStreams.delete(streamId);
14478
- return;
14479
- }
14480
- for (const id of relatedIds) {
14481
- this._requestResponseMap.delete(id);
14482
- this._requestToStreamMapping.delete(id);
14483
- }
14484
14185
  throw new Error(`No connection established for request ID: ${String(requestId)}`);
14485
14186
  }
14486
14187
  if (this._enableJsonResponse && stream.resolveJson) {
@@ -14503,7 +14204,6 @@ data:
14503
14204
  this._requestResponseMap.delete(id);
14504
14205
  this._requestToStreamMapping.delete(id);
14505
14206
  }
14506
- this._resumableStreams.delete(streamId);
14507
14207
  }
14508
14208
  }
14509
14209
  }
@@ -14561,7 +14261,7 @@ function publicMcpErrorMessage(error2, fallback) {
14561
14261
  return error2 instanceof TopoloMcpPublicError ? error2.message : fallback;
14562
14262
  }
14563
14263
 
14564
- // node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
14264
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/@modelcontextprotocol+sdk@1.26.0_@cfworker+json-schema@4.1.1_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
14565
14265
  function isZ4Schema(s) {
14566
14266
  const schema = s;
14567
14267
  return !!schema._zod;
@@ -14624,15 +14324,15 @@ function getLiteralValue(schema) {
14624
14324
  return void 0;
14625
14325
  }
14626
14326
 
14627
- // node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
14327
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/@modelcontextprotocol+sdk@1.26.0_@cfworker+json-schema@4.1.1_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
14628
14328
  function isTerminal(status) {
14629
14329
  return status === "completed" || status === "failed" || status === "cancelled";
14630
14330
  }
14631
14331
 
14632
- // node_modules/zod-to-json-schema/dist/esm/parsers/string.js
14332
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
14633
14333
  var ALPHA_NUMERIC = new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");
14634
14334
 
14635
- // node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
14335
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/@modelcontextprotocol+sdk@1.26.0_@cfworker+json-schema@4.1.1_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
14636
14336
  function getMethodLiteral(schema) {
14637
14337
  const shape = getObjectShape(schema);
14638
14338
  const methodSchema = shape?.method;
@@ -14653,7 +14353,7 @@ function parseWithCompat(schema, data) {
14653
14353
  return result.data;
14654
14354
  }
14655
14355
 
14656
- // node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
14356
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/@modelcontextprotocol+sdk@1.26.0_@cfworker+json-schema@4.1.1_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
14657
14357
  var DEFAULT_REQUEST_TIMEOUT_MSEC = 6e4;
14658
14358
  var Protocol = class {
14659
14359
  constructor(_options) {
@@ -14865,10 +14565,6 @@ var Protocol = class {
14865
14565
  this._progressHandlers.clear();
14866
14566
  this._taskProgressTokens.clear();
14867
14567
  this._pendingDebouncedNotifications.clear();
14868
- for (const info of this._timeoutInfo.values()) {
14869
- clearTimeout(info.timeoutId);
14870
- }
14871
- this._timeoutInfo.clear();
14872
14568
  for (const controller of this._requestHandlerAbortControllers.values()) {
14873
14569
  controller.abort();
14874
14570
  }
@@ -14999,9 +14695,7 @@ var Protocol = class {
14999
14695
  await capturedTransport?.send(errorResponse);
15000
14696
  }
15001
14697
  }).catch((error2) => this._onerror(new Error(`Failed to send response: ${error2}`))).finally(() => {
15002
- if (this._requestHandlerAbortControllers.get(request.id) === abortController) {
15003
- this._requestHandlerAbortControllers.delete(request.id);
15004
- }
14698
+ this._requestHandlerAbortControllers.delete(request.id);
15005
14699
  });
15006
14700
  }
15007
14701
  _onprogress(notification) {
@@ -15607,7 +15301,7 @@ function mergeCapabilities(base, additional) {
15607
15301
  return result;
15608
15302
  }
15609
15303
 
15610
- // node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
15304
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/@modelcontextprotocol+sdk@1.26.0_@cfworker+json-schema@4.1.1_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
15611
15305
  var import_ajv = __toESM(require_ajv(), 1);
15612
15306
  var import_ajv_formats = __toESM(require_dist(), 1);
15613
15307
  function createDefaultAjvInstance() {
@@ -15675,7 +15369,7 @@ var AjvJsonSchemaValidator = class {
15675
15369
  }
15676
15370
  };
15677
15371
 
15678
- // node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
15372
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/@modelcontextprotocol+sdk@1.26.0_@cfworker+json-schema@4.1.1_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
15679
15373
  var ExperimentalServerTasks = class {
15680
15374
  constructor(_server) {
15681
15375
  this._server = _server;
@@ -15697,147 +15391,6 @@ var ExperimentalServerTasks = class {
15697
15391
  requestStream(request, resultSchema, options) {
15698
15392
  return this._server.requestStream(request, resultSchema, options);
15699
15393
  }
15700
- /**
15701
- * Sends a sampling request and returns an AsyncGenerator that yields response messages.
15702
- * The generator is guaranteed to end with either a 'result' or 'error' message.
15703
- *
15704
- * For task-augmented requests, yields 'taskCreated' and 'taskStatus' messages
15705
- * before the final result.
15706
- *
15707
- * @example
15708
- * ```typescript
15709
- * const stream = server.experimental.tasks.createMessageStream({
15710
- * messages: [{ role: 'user', content: { type: 'text', text: 'Hello' } }],
15711
- * maxTokens: 100
15712
- * }, {
15713
- * onprogress: (progress) => {
15714
- * // Handle streaming tokens via progress notifications
15715
- * console.log('Progress:', progress.message);
15716
- * }
15717
- * });
15718
- *
15719
- * for await (const message of stream) {
15720
- * switch (message.type) {
15721
- * case 'taskCreated':
15722
- * console.log('Task created:', message.task.taskId);
15723
- * break;
15724
- * case 'taskStatus':
15725
- * console.log('Task status:', message.task.status);
15726
- * break;
15727
- * case 'result':
15728
- * console.log('Final result:', message.result);
15729
- * break;
15730
- * case 'error':
15731
- * console.error('Error:', message.error);
15732
- * break;
15733
- * }
15734
- * }
15735
- * ```
15736
- *
15737
- * @param params - The sampling request parameters
15738
- * @param options - Optional request options (timeout, signal, task creation params, onprogress, etc.)
15739
- * @returns AsyncGenerator that yields ResponseMessage objects
15740
- *
15741
- * @experimental
15742
- */
15743
- createMessageStream(params, options) {
15744
- const clientCapabilities = this._server.getClientCapabilities();
15745
- if ((params.tools || params.toolChoice) && !clientCapabilities?.sampling?.tools) {
15746
- throw new Error("Client does not support sampling tools capability.");
15747
- }
15748
- if (params.messages.length > 0) {
15749
- const lastMessage = params.messages[params.messages.length - 1];
15750
- const lastContent = Array.isArray(lastMessage.content) ? lastMessage.content : [lastMessage.content];
15751
- const hasToolResults = lastContent.some((c) => c.type === "tool_result");
15752
- const previousMessage = params.messages.length > 1 ? params.messages[params.messages.length - 2] : void 0;
15753
- const previousContent = previousMessage ? Array.isArray(previousMessage.content) ? previousMessage.content : [previousMessage.content] : [];
15754
- const hasPreviousToolUse = previousContent.some((c) => c.type === "tool_use");
15755
- if (hasToolResults) {
15756
- if (lastContent.some((c) => c.type !== "tool_result")) {
15757
- throw new Error("The last message must contain only tool_result content if any is present");
15758
- }
15759
- if (!hasPreviousToolUse) {
15760
- throw new Error("tool_result blocks are not matching any tool_use from the previous message");
15761
- }
15762
- }
15763
- if (hasPreviousToolUse) {
15764
- const toolUseIds = new Set(previousContent.filter((c) => c.type === "tool_use").map((c) => c.id));
15765
- const toolResultIds = new Set(lastContent.filter((c) => c.type === "tool_result").map((c) => c.toolUseId));
15766
- if (toolUseIds.size !== toolResultIds.size || ![...toolUseIds].every((id) => toolResultIds.has(id))) {
15767
- throw new Error("ids of tool_result blocks and tool_use blocks from previous message do not match");
15768
- }
15769
- }
15770
- }
15771
- return this.requestStream({
15772
- method: "sampling/createMessage",
15773
- params
15774
- }, CreateMessageResultSchema, options);
15775
- }
15776
- /**
15777
- * Sends an elicitation request and returns an AsyncGenerator that yields response messages.
15778
- * The generator is guaranteed to end with either a 'result' or 'error' message.
15779
- *
15780
- * For task-augmented requests (especially URL-based elicitation), yields 'taskCreated'
15781
- * and 'taskStatus' messages before the final result.
15782
- *
15783
- * @example
15784
- * ```typescript
15785
- * const stream = server.experimental.tasks.elicitInputStream({
15786
- * mode: 'url',
15787
- * message: 'Please authenticate',
15788
- * elicitationId: 'auth-123',
15789
- * url: 'https://example.com/auth'
15790
- * }, {
15791
- * task: { ttl: 300000 } // Task-augmented for long-running auth flow
15792
- * });
15793
- *
15794
- * for await (const message of stream) {
15795
- * switch (message.type) {
15796
- * case 'taskCreated':
15797
- * console.log('Task created:', message.task.taskId);
15798
- * break;
15799
- * case 'taskStatus':
15800
- * console.log('Task status:', message.task.status);
15801
- * break;
15802
- * case 'result':
15803
- * console.log('User action:', message.result.action);
15804
- * break;
15805
- * case 'error':
15806
- * console.error('Error:', message.error);
15807
- * break;
15808
- * }
15809
- * }
15810
- * ```
15811
- *
15812
- * @param params - The elicitation request parameters
15813
- * @param options - Optional request options (timeout, signal, task creation params, etc.)
15814
- * @returns AsyncGenerator that yields ResponseMessage objects
15815
- *
15816
- * @experimental
15817
- */
15818
- elicitInputStream(params, options) {
15819
- const clientCapabilities = this._server.getClientCapabilities();
15820
- const mode = params.mode ?? "form";
15821
- switch (mode) {
15822
- case "url": {
15823
- if (!clientCapabilities?.elicitation?.url) {
15824
- throw new Error("Client does not support url elicitation.");
15825
- }
15826
- break;
15827
- }
15828
- case "form": {
15829
- if (!clientCapabilities?.elicitation?.form) {
15830
- throw new Error("Client does not support form elicitation.");
15831
- }
15832
- break;
15833
- }
15834
- }
15835
- const normalizedParams = mode === "form" && params.mode === void 0 ? { ...params, mode: "form" } : params;
15836
- return this.requestStream({
15837
- method: "elicitation/create",
15838
- params: normalizedParams
15839
- }, ElicitResultSchema, options);
15840
- }
15841
15394
  /**
15842
15395
  * Gets the current status of a task.
15843
15396
  *
@@ -15888,7 +15441,7 @@ var ExperimentalServerTasks = class {
15888
15441
  }
15889
15442
  };
15890
15443
 
15891
- // node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
15444
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/@modelcontextprotocol+sdk@1.26.0_@cfworker+json-schema@4.1.1_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
15892
15445
  function assertToolsCallTaskCapability(requests, method, entityName) {
15893
15446
  if (!requests) {
15894
15447
  throw new Error(`${entityName} does not support task creation (required for ${method})`);
@@ -15923,7 +15476,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
15923
15476
  }
15924
15477
  }
15925
15478
 
15926
- // node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
15479
+ // ../../../package-topolo-sdk-0.11.2/node_modules/.pnpm/@modelcontextprotocol+sdk@1.26.0_@cfworker+json-schema@4.1.1_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
15927
15480
  var Server = class extends Protocol {
15928
15481
  /**
15929
15482
  * Initializes this server with the given name and version information.
@@ -15989,7 +15542,16 @@ var Server = class extends Protocol {
15989
15542
  if (!methodSchema) {
15990
15543
  throw new Error("Schema is missing a method literal");
15991
15544
  }
15992
- const methodValue = getLiteralValue(methodSchema);
15545
+ let methodValue;
15546
+ if (isZ4Schema(methodSchema)) {
15547
+ const v4Schema = methodSchema;
15548
+ const v4Def = v4Schema._zod?.def;
15549
+ methodValue = v4Def?.value ?? v4Schema.value;
15550
+ } else {
15551
+ const v3Schema = methodSchema;
15552
+ const legacyDef = v3Schema._def;
15553
+ methodValue = legacyDef?.value ?? v3Schema.value;
15554
+ }
15993
15555
  if (typeof methodValue !== "string") {
15994
15556
  throw new Error("Schema method literal must be a string");
15995
15557
  }
@@ -16606,11 +16168,11 @@ var TOOLS = [
16606
16168
  handler: async (topolo, args) => {
16607
16169
  const actionId = typeof args["actionId"] === "string" ? args["actionId"].trim() : "";
16608
16170
  const contentBase64 = typeof args["contentBase64"] === "string" ? args["contentBase64"] : "";
16609
- const contentType2 = typeof args["contentType"] === "string" ? args["contentType"].trim() : "";
16171
+ const contentType = typeof args["contentType"] === "string" ? args["contentType"].trim() : "";
16610
16172
  const fileName = typeof args["fileName"] === "string" ? args["fileName"].trim() : "";
16611
16173
  if (!actionId) throw new TopoloMcpPublicError("actionId is required.");
16612
16174
  if (!isCanonicalBase64(contentBase64)) throw new TopoloMcpPublicError("contentBase64 must be canonical base64.");
16613
- if (!contentType2) throw new TopoloMcpPublicError("contentType is required.");
16175
+ if (!contentType) throw new TopoloMcpPublicError("contentType is required.");
16614
16176
  if (!fileName) throw new TopoloMcpPublicError("fileName is required.");
16615
16177
  const input = coerceObjectParam(args["input"], "input");
16616
16178
  const completionInput = coerceObjectParam(args["completionInput"], "completionInput");
@@ -16621,7 +16183,7 @@ var TOOLS = [
16621
16183
  input,
16622
16184
  {
16623
16185
  fileName,
16624
- contentType: contentType2,
16186
+ contentType,
16625
16187
  completionInput,
16626
16188
  confirm: args["confirm"] === true,
16627
16189
  ...resource ? { resource } : {}
@@ -17272,12 +16834,3 @@ function createTopoloMcpHttpHandler(options = {}) {
17272
16834
  export {
17273
16835
  createTopoloMcpHttpHandler
17274
16836
  };
17275
- /*! Bundled license information:
17276
-
17277
- content-type/index.js:
17278
- (*!
17279
- * content-type
17280
- * Copyright(c) 2015 Douglas Christopher Wilson
17281
- * MIT Licensed
17282
- *)
17283
- */