@aws/nx-plugin-mcp 0.114.3 → 0.115.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/aws-nx-mcp.js +109 -85
- package/package.json +1 -1
package/bin/aws-nx-mcp.js
CHANGED
|
@@ -42,7 +42,7 @@ let node_path = require("node:path");
|
|
|
42
42
|
let node_path$1 = __toESM(node_path, 1);
|
|
43
43
|
node_path = __toESM(node_path);
|
|
44
44
|
let node_url = require("node:url");
|
|
45
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
45
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
|
|
46
46
|
var _a$1;
|
|
47
47
|
function $constructor(name, initializer, params) {
|
|
48
48
|
function init(inst, def) {
|
|
@@ -101,7 +101,7 @@ function config(newConfig) {
|
|
|
101
101
|
return globalConfig;
|
|
102
102
|
}
|
|
103
103
|
//#endregion
|
|
104
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
104
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js
|
|
105
105
|
function getEnumValues(entries) {
|
|
106
106
|
const numericValues = Object.values(entries).filter((v) => typeof v === "number");
|
|
107
107
|
return Object.entries(entries).filter(([k, _]) => numericValues.indexOf(+k) === -1).map(([_, v]) => v);
|
|
@@ -413,7 +413,7 @@ function issue(...args) {
|
|
|
413
413
|
return { ...iss };
|
|
414
414
|
}
|
|
415
415
|
//#endregion
|
|
416
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
416
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.js
|
|
417
417
|
const initializer$1 = (inst, def) => {
|
|
418
418
|
inst.name = "$ZodError";
|
|
419
419
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -473,7 +473,7 @@ function formatError$1(error, mapper = (issue) => issue.message) {
|
|
|
473
473
|
return fieldErrors;
|
|
474
474
|
}
|
|
475
475
|
//#endregion
|
|
476
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
476
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.js
|
|
477
477
|
const _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
478
478
|
const ctx = _ctx ? {
|
|
479
479
|
..._ctx,
|
|
@@ -589,7 +589,7 @@ const _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
589
589
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
590
590
|
};
|
|
591
591
|
//#endregion
|
|
592
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
592
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.js
|
|
593
593
|
/**
|
|
594
594
|
* @deprecated CUID v1 is deprecated by its authors due to information leakage
|
|
595
595
|
* (timestamps embedded in the id). Use {@link cuid2} instead.
|
|
@@ -654,7 +654,7 @@ const _null$3 = /^null$/i;
|
|
|
654
654
|
const lowercase = /^[^A-Z]*$/;
|
|
655
655
|
const uppercase = /^[^a-z]*$/;
|
|
656
656
|
//#endregion
|
|
657
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
657
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.js
|
|
658
658
|
const $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
659
659
|
var _a;
|
|
660
660
|
inst._zod ?? (inst._zod = {});
|
|
@@ -1012,7 +1012,7 @@ const $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (i
|
|
|
1012
1012
|
};
|
|
1013
1013
|
});
|
|
1014
1014
|
//#endregion
|
|
1015
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
1015
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.js
|
|
1016
1016
|
var Doc = class {
|
|
1017
1017
|
constructor(args = []) {
|
|
1018
1018
|
this.content = [];
|
|
@@ -1043,14 +1043,14 @@ var Doc = class {
|
|
|
1043
1043
|
}
|
|
1044
1044
|
};
|
|
1045
1045
|
//#endregion
|
|
1046
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
1046
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.js
|
|
1047
1047
|
const version$2 = {
|
|
1048
1048
|
major: 4,
|
|
1049
1049
|
minor: 4,
|
|
1050
|
-
patch:
|
|
1050
|
+
patch: 3
|
|
1051
1051
|
};
|
|
1052
1052
|
//#endregion
|
|
1053
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
1053
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.js
|
|
1054
1054
|
const $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
1055
1055
|
var _a;
|
|
1056
1056
|
inst ?? (inst = {});
|
|
@@ -2125,20 +2125,23 @@ const $ZodLiteral = /* @__PURE__ */ $constructor("$ZodLiteral", (inst, def) => {
|
|
|
2125
2125
|
});
|
|
2126
2126
|
const $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) => {
|
|
2127
2127
|
$ZodType.init(inst, def);
|
|
2128
|
+
inst._zod.optin = "optional";
|
|
2128
2129
|
inst._zod.parse = (payload, ctx) => {
|
|
2129
2130
|
if (ctx.direction === "backward") throw new $ZodEncodeError(inst.constructor.name);
|
|
2130
2131
|
const _out = def.transform(payload.value, payload);
|
|
2131
2132
|
if (ctx.async) return (_out instanceof Promise ? _out : Promise.resolve(_out)).then((output) => {
|
|
2132
2133
|
payload.value = output;
|
|
2134
|
+
payload.fallback = true;
|
|
2133
2135
|
return payload;
|
|
2134
2136
|
});
|
|
2135
2137
|
if (_out instanceof Promise) throw new $ZodAsyncError();
|
|
2136
2138
|
payload.value = _out;
|
|
2139
|
+
payload.fallback = true;
|
|
2137
2140
|
return payload;
|
|
2138
2141
|
};
|
|
2139
2142
|
});
|
|
2140
2143
|
function handleOptionalResult(result, input) {
|
|
2141
|
-
if (result.issues.length
|
|
2144
|
+
if (input === void 0 && (result.issues.length || result.fallback)) return {
|
|
2142
2145
|
issues: [],
|
|
2143
2146
|
value: void 0
|
|
2144
2147
|
};
|
|
@@ -2157,9 +2160,10 @@ const $ZodOptional = /* @__PURE__ */ $constructor("$ZodOptional", (inst, def) =>
|
|
|
2157
2160
|
});
|
|
2158
2161
|
inst._zod.parse = (payload, ctx) => {
|
|
2159
2162
|
if (def.innerType._zod.optin === "optional") {
|
|
2163
|
+
const input = payload.value;
|
|
2160
2164
|
const result = def.innerType._zod.run(payload, ctx);
|
|
2161
|
-
if (result instanceof Promise) return result.then((r) => handleOptionalResult(r,
|
|
2162
|
-
return handleOptionalResult(result,
|
|
2165
|
+
if (result instanceof Promise) return result.then((r) => handleOptionalResult(r, input));
|
|
2166
|
+
return handleOptionalResult(result, input);
|
|
2163
2167
|
}
|
|
2164
2168
|
if (payload.value === void 0) return payload;
|
|
2165
2169
|
return def.innerType._zod.run(payload, ctx);
|
|
@@ -2244,7 +2248,7 @@ function handleNonOptionalResult(payload, inst) {
|
|
|
2244
2248
|
}
|
|
2245
2249
|
const $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
|
|
2246
2250
|
$ZodType.init(inst, def);
|
|
2247
|
-
|
|
2251
|
+
inst._zod.optin = "optional";
|
|
2248
2252
|
defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
|
|
2249
2253
|
defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
2250
2254
|
inst._zod.parse = (payload, ctx) => {
|
|
@@ -2259,6 +2263,7 @@ const $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
|
|
|
2259
2263
|
input: payload.value
|
|
2260
2264
|
});
|
|
2261
2265
|
payload.issues = [];
|
|
2266
|
+
payload.fallback = true;
|
|
2262
2267
|
}
|
|
2263
2268
|
return payload;
|
|
2264
2269
|
});
|
|
@@ -2270,6 +2275,7 @@ const $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
|
|
|
2270
2275
|
input: payload.value
|
|
2271
2276
|
});
|
|
2272
2277
|
payload.issues = [];
|
|
2278
|
+
payload.fallback = true;
|
|
2273
2279
|
}
|
|
2274
2280
|
return payload;
|
|
2275
2281
|
};
|
|
@@ -2298,9 +2304,13 @@ function handlePipeResult(left, next, ctx) {
|
|
|
2298
2304
|
}
|
|
2299
2305
|
return next._zod.run({
|
|
2300
2306
|
value: left.value,
|
|
2301
|
-
issues: left.issues
|
|
2307
|
+
issues: left.issues,
|
|
2308
|
+
fallback: left.fallback
|
|
2302
2309
|
}, ctx);
|
|
2303
2310
|
}
|
|
2311
|
+
const $ZodPreprocess = /* @__PURE__ */ $constructor("$ZodPreprocess", (inst, def) => {
|
|
2312
|
+
$ZodPipe.init(inst, def);
|
|
2313
|
+
});
|
|
2304
2314
|
const $ZodReadonly = /* @__PURE__ */ $constructor("$ZodReadonly", (inst, def) => {
|
|
2305
2315
|
$ZodType.init(inst, def);
|
|
2306
2316
|
defineLazy(inst._zod, "propValues", () => def.innerType._zod.propValues);
|
|
@@ -2345,7 +2355,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
2345
2355
|
}
|
|
2346
2356
|
}
|
|
2347
2357
|
//#endregion
|
|
2348
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
2358
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.js
|
|
2349
2359
|
var _a;
|
|
2350
2360
|
var $ZodRegistry = class {
|
|
2351
2361
|
constructor() {
|
|
@@ -2392,7 +2402,7 @@ function registry() {
|
|
|
2392
2402
|
(_a = globalThis).__zod_globalRegistry ?? (_a.__zod_globalRegistry = registry());
|
|
2393
2403
|
const globalRegistry = globalThis.__zod_globalRegistry;
|
|
2394
2404
|
//#endregion
|
|
2395
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
2405
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.js
|
|
2396
2406
|
/* @__NO_SIDE_EFFECTS__ */
|
|
2397
2407
|
function _string(Class, params) {
|
|
2398
2408
|
return new Class({
|
|
@@ -2915,7 +2925,7 @@ function _check(fn, params) {
|
|
|
2915
2925
|
return ch;
|
|
2916
2926
|
}
|
|
2917
2927
|
//#endregion
|
|
2918
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
2928
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.js
|
|
2919
2929
|
function initializeContext(params) {
|
|
2920
2930
|
let target = params?.target ?? "draft-2020-12";
|
|
2921
2931
|
if (target === "draft-4") target = "draft-04";
|
|
@@ -3163,7 +3173,10 @@ function isTransforming(_schema, _ctx) {
|
|
|
3163
3173
|
if (def.type === "promise" || def.type === "optional" || def.type === "nonoptional" || def.type === "nullable" || def.type === "readonly" || def.type === "default" || def.type === "prefault") return isTransforming(def.innerType, ctx);
|
|
3164
3174
|
if (def.type === "intersection") return isTransforming(def.left, ctx) || isTransforming(def.right, ctx);
|
|
3165
3175
|
if (def.type === "record" || def.type === "map") return isTransforming(def.keyType, ctx) || isTransforming(def.valueType, ctx);
|
|
3166
|
-
if (def.type === "pipe")
|
|
3176
|
+
if (def.type === "pipe") {
|
|
3177
|
+
if (_schema._zod.traits.has("$ZodCodec")) return true;
|
|
3178
|
+
return isTransforming(def.in, ctx) || isTransforming(def.out, ctx);
|
|
3179
|
+
}
|
|
3167
3180
|
if (def.type === "object") {
|
|
3168
3181
|
for (const key in def.shape) if (isTransforming(def.shape[key], ctx)) return true;
|
|
3169
3182
|
return false;
|
|
@@ -3205,7 +3218,7 @@ const createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params)
|
|
|
3205
3218
|
return finalize(ctx, schema);
|
|
3206
3219
|
};
|
|
3207
3220
|
//#endregion
|
|
3208
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
3221
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.js
|
|
3209
3222
|
const formatMap = {
|
|
3210
3223
|
guid: "uuid",
|
|
3211
3224
|
url: "uri",
|
|
@@ -3550,7 +3563,8 @@ const catchProcessor = (schema, ctx, json, params) => {
|
|
|
3550
3563
|
};
|
|
3551
3564
|
const pipeProcessor = (schema, ctx, _json, params) => {
|
|
3552
3565
|
const def = schema._zod.def;
|
|
3553
|
-
const
|
|
3566
|
+
const inIsTransform = def.in._zod.traits.has("$ZodTransform");
|
|
3567
|
+
const innerType = ctx.io === "input" ? inIsTransform ? def.out : def.in : def.out;
|
|
3554
3568
|
process$1(innerType, ctx, params);
|
|
3555
3569
|
const seen = ctx.seen.get(schema);
|
|
3556
3570
|
seen.ref = innerType;
|
|
@@ -3656,7 +3670,7 @@ function toJSONSchema(input, params) {
|
|
|
3656
3670
|
return finalize(ctx, input);
|
|
3657
3671
|
}
|
|
3658
3672
|
//#endregion
|
|
3659
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
3673
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
|
|
3660
3674
|
const ZodISODateTime = /* @__PURE__ */ $constructor("ZodISODateTime", (inst, def) => {
|
|
3661
3675
|
$ZodISODateTime.init(inst, def);
|
|
3662
3676
|
ZodStringFormat.init(inst, def);
|
|
@@ -3686,7 +3700,7 @@ function duration(params) {
|
|
|
3686
3700
|
return /* @__PURE__ */ _isoDuration(ZodISODuration, params);
|
|
3687
3701
|
}
|
|
3688
3702
|
//#endregion
|
|
3689
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
3703
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.js
|
|
3690
3704
|
const initializer = (inst, issues) => {
|
|
3691
3705
|
$ZodError.init(inst, issues);
|
|
3692
3706
|
inst.name = "ZodError";
|
|
@@ -3708,7 +3722,7 @@ const initializer = (inst, issues) => {
|
|
|
3708
3722
|
};
|
|
3709
3723
|
const ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer, { Parent: Error });
|
|
3710
3724
|
//#endregion
|
|
3711
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
3725
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.js
|
|
3712
3726
|
const parse$1 = /* @__PURE__ */ _parse(ZodRealError);
|
|
3713
3727
|
const parseAsync = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
3714
3728
|
const safeParse$1 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -3722,7 +3736,7 @@ const safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
3722
3736
|
const safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
3723
3737
|
const safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
3724
3738
|
//#endregion
|
|
3725
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
3739
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
|
|
3726
3740
|
const _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
3727
3741
|
function _installLazyMethods(inst, group, methods) {
|
|
3728
3742
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -4397,9 +4411,11 @@ const ZodTransform = /* @__PURE__ */ $constructor("ZodTransform", (inst, def) =>
|
|
|
4397
4411
|
const output = def.transform(payload.value, payload);
|
|
4398
4412
|
if (output instanceof Promise) return output.then((output) => {
|
|
4399
4413
|
payload.value = output;
|
|
4414
|
+
payload.fallback = true;
|
|
4400
4415
|
return payload;
|
|
4401
4416
|
});
|
|
4402
4417
|
payload.value = output;
|
|
4418
|
+
payload.fallback = true;
|
|
4403
4419
|
return payload;
|
|
4404
4420
|
};
|
|
4405
4421
|
});
|
|
@@ -4517,6 +4533,10 @@ function pipe(in_, out) {
|
|
|
4517
4533
|
out
|
|
4518
4534
|
});
|
|
4519
4535
|
}
|
|
4536
|
+
const ZodPreprocess = /* @__PURE__ */ $constructor("ZodPreprocess", (inst, def) => {
|
|
4537
|
+
ZodPipe.init(inst, def);
|
|
4538
|
+
$ZodPreprocess.init(inst, def);
|
|
4539
|
+
});
|
|
4520
4540
|
const ZodReadonly$1 = /* @__PURE__ */ $constructor("ZodReadonly", (inst, def) => {
|
|
4521
4541
|
$ZodReadonly.init(inst, def);
|
|
4522
4542
|
ZodType$1.init(inst, def);
|
|
@@ -4544,10 +4564,14 @@ function superRefine(fn, params) {
|
|
|
4544
4564
|
return /* @__PURE__ */ _superRefine(fn, params);
|
|
4545
4565
|
}
|
|
4546
4566
|
function preprocess$1(fn, schema) {
|
|
4547
|
-
return
|
|
4567
|
+
return new ZodPreprocess({
|
|
4568
|
+
type: "pipe",
|
|
4569
|
+
in: transform(fn),
|
|
4570
|
+
out: schema
|
|
4571
|
+
});
|
|
4548
4572
|
}
|
|
4549
4573
|
//#endregion
|
|
4550
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
4574
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
4551
4575
|
const LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
4552
4576
|
const SUPPORTED_PROTOCOL_VERSIONS = [
|
|
4553
4577
|
LATEST_PROTOCOL_VERSION,
|
|
@@ -5744,7 +5768,7 @@ var UrlElicitationRequiredError = class extends McpError {
|
|
|
5744
5768
|
}
|
|
5745
5769
|
};
|
|
5746
5770
|
//#endregion
|
|
5747
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
5771
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
5748
5772
|
/**
|
|
5749
5773
|
* Buffers a continuous stdio stream into discrete JSON-RPC messages.
|
|
5750
5774
|
*/
|
|
@@ -5771,7 +5795,7 @@ function serializeMessage(message) {
|
|
|
5771
5795
|
return JSON.stringify(message) + "\n";
|
|
5772
5796
|
}
|
|
5773
5797
|
//#endregion
|
|
5774
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
5798
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
5775
5799
|
/**
|
|
5776
5800
|
* Server transport for stdio: this communicates with an MCP client by reading from the current process' stdin and writing to stdout.
|
|
5777
5801
|
*
|
|
@@ -5825,7 +5849,7 @@ var StdioServerTransport = class {
|
|
|
5825
5849
|
}
|
|
5826
5850
|
};
|
|
5827
5851
|
//#endregion
|
|
5828
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
5852
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/util.js
|
|
5829
5853
|
var util;
|
|
5830
5854
|
(function(util) {
|
|
5831
5855
|
util.assertEqual = (_) => {};
|
|
@@ -5921,7 +5945,7 @@ const getParsedType = (data) => {
|
|
|
5921
5945
|
}
|
|
5922
5946
|
};
|
|
5923
5947
|
//#endregion
|
|
5924
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
5948
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/ZodError.js
|
|
5925
5949
|
const ZodIssueCode = util.arrayToEnum([
|
|
5926
5950
|
"invalid_type",
|
|
5927
5951
|
"invalid_literal",
|
|
@@ -6020,7 +6044,7 @@ ZodError.create = (issues) => {
|
|
|
6020
6044
|
return new ZodError(issues);
|
|
6021
6045
|
};
|
|
6022
6046
|
//#endregion
|
|
6023
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
6047
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/locales/en.js
|
|
6024
6048
|
const errorMap = (issue, _ctx) => {
|
|
6025
6049
|
let message;
|
|
6026
6050
|
switch (issue.code) {
|
|
@@ -6097,13 +6121,13 @@ const errorMap = (issue, _ctx) => {
|
|
|
6097
6121
|
return { message };
|
|
6098
6122
|
};
|
|
6099
6123
|
//#endregion
|
|
6100
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
6124
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/errors.js
|
|
6101
6125
|
let overrideErrorMap = errorMap;
|
|
6102
6126
|
function getErrorMap() {
|
|
6103
6127
|
return overrideErrorMap;
|
|
6104
6128
|
}
|
|
6105
6129
|
//#endregion
|
|
6106
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
6130
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/parseUtil.js
|
|
6107
6131
|
const makeIssue = (params) => {
|
|
6108
6132
|
const { data, path, errorMaps, issueData } = params;
|
|
6109
6133
|
const fullPath = [...path, ...issueData.path || []];
|
|
@@ -6207,14 +6231,14 @@ const isDirty = (x) => x.status === "dirty";
|
|
|
6207
6231
|
const isValid = (x) => x.status === "valid";
|
|
6208
6232
|
const isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
|
|
6209
6233
|
//#endregion
|
|
6210
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
6234
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/errorUtil.js
|
|
6211
6235
|
var errorUtil;
|
|
6212
6236
|
(function(errorUtil) {
|
|
6213
6237
|
errorUtil.errToObj = (message) => typeof message === "string" ? { message } : message || {};
|
|
6214
6238
|
errorUtil.toString = (message) => typeof message === "string" ? message : message?.message;
|
|
6215
6239
|
})(errorUtil || (errorUtil = {}));
|
|
6216
6240
|
//#endregion
|
|
6217
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
6241
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/types.js
|
|
6218
6242
|
var ParseInputLazyPath = class {
|
|
6219
6243
|
constructor(parent, value, path, key) {
|
|
6220
6244
|
this._cachedPath = [];
|
|
@@ -9364,7 +9388,7 @@ ZodNullable.create;
|
|
|
9364
9388
|
ZodEffects.createWithPreprocess;
|
|
9365
9389
|
ZodPipeline.create;
|
|
9366
9390
|
//#endregion
|
|
9367
|
-
//#region ../../node_modules/.pnpm/zod@4.4.
|
|
9391
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/mini/schemas.js
|
|
9368
9392
|
const ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => {
|
|
9369
9393
|
if (!inst._zod) throw new Error("Uninitialized schema in ZodMiniType.");
|
|
9370
9394
|
$ZodType.init(inst, def);
|
|
@@ -9407,7 +9431,7 @@ function object(shape, params) {
|
|
|
9407
9431
|
});
|
|
9408
9432
|
}
|
|
9409
9433
|
//#endregion
|
|
9410
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
9434
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
9411
9435
|
function isZ4Schema(s) {
|
|
9412
9436
|
return !!s._zod;
|
|
9413
9437
|
}
|
|
@@ -9522,7 +9546,7 @@ function getLiteralValue(schema) {
|
|
|
9522
9546
|
if (directValue !== void 0) return directValue;
|
|
9523
9547
|
}
|
|
9524
9548
|
//#endregion
|
|
9525
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
9549
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
9526
9550
|
/**
|
|
9527
9551
|
* Experimental task interfaces for MCP SDK.
|
|
9528
9552
|
* WARNING: These APIs are experimental and may change without notice.
|
|
@@ -9539,7 +9563,7 @@ function isTerminal(status) {
|
|
|
9539
9563
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
9540
9564
|
}
|
|
9541
9565
|
//#endregion
|
|
9542
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9566
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/Options.js
|
|
9543
9567
|
const ignoreOverride = Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
9544
9568
|
const defaultOptions$1 = {
|
|
9545
9569
|
name: void 0,
|
|
@@ -9573,7 +9597,7 @@ const getDefaultOptions = (options) => typeof options === "string" ? {
|
|
|
9573
9597
|
...options
|
|
9574
9598
|
};
|
|
9575
9599
|
//#endregion
|
|
9576
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9600
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/Refs.js
|
|
9577
9601
|
const getRefs = (options) => {
|
|
9578
9602
|
const _options = getDefaultOptions(options);
|
|
9579
9603
|
const currentPath = _options.name !== void 0 ? [
|
|
@@ -9598,7 +9622,7 @@ const getRefs = (options) => {
|
|
|
9598
9622
|
};
|
|
9599
9623
|
};
|
|
9600
9624
|
//#endregion
|
|
9601
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9625
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/errorMessages.js
|
|
9602
9626
|
function addErrorMessage(res, key, errorMessage, refs) {
|
|
9603
9627
|
if (!refs?.errorMessages) return;
|
|
9604
9628
|
if (errorMessage) res.errorMessage = {
|
|
@@ -9611,14 +9635,14 @@ function setResponseValueAndErrors(res, key, value, errorMessage, refs) {
|
|
|
9611
9635
|
addErrorMessage(res, key, errorMessage, refs);
|
|
9612
9636
|
}
|
|
9613
9637
|
//#endregion
|
|
9614
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9638
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js
|
|
9615
9639
|
const getRelativePath = (pathA, pathB) => {
|
|
9616
9640
|
let i = 0;
|
|
9617
9641
|
for (; i < pathA.length && i < pathB.length; i++) if (pathA[i] !== pathB[i]) break;
|
|
9618
9642
|
return [(pathA.length - i).toString(), ...pathB.slice(i)].join("/");
|
|
9619
9643
|
};
|
|
9620
9644
|
//#endregion
|
|
9621
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9645
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/any.js
|
|
9622
9646
|
function parseAnyDef(refs) {
|
|
9623
9647
|
if (refs.target !== "openAi") return {};
|
|
9624
9648
|
const anyDefinitionPath = [
|
|
@@ -9630,7 +9654,7 @@ function parseAnyDef(refs) {
|
|
|
9630
9654
|
return { $ref: refs.$refStrategy === "relative" ? getRelativePath(anyDefinitionPath, refs.currentPath) : anyDefinitionPath.join("/") };
|
|
9631
9655
|
}
|
|
9632
9656
|
//#endregion
|
|
9633
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9657
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/array.js
|
|
9634
9658
|
function parseArrayDef(def, refs) {
|
|
9635
9659
|
const res = { type: "array" };
|
|
9636
9660
|
if (def.type?._def && def.type?._def?.typeName !== ZodFirstPartyTypeKind.ZodAny) res.items = parseDef(def.type._def, {
|
|
@@ -9646,7 +9670,7 @@ function parseArrayDef(def, refs) {
|
|
|
9646
9670
|
return res;
|
|
9647
9671
|
}
|
|
9648
9672
|
//#endregion
|
|
9649
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9673
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
|
|
9650
9674
|
function parseBigintDef(def, refs) {
|
|
9651
9675
|
const res = {
|
|
9652
9676
|
type: "integer",
|
|
@@ -9677,22 +9701,22 @@ function parseBigintDef(def, refs) {
|
|
|
9677
9701
|
return res;
|
|
9678
9702
|
}
|
|
9679
9703
|
//#endregion
|
|
9680
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9704
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js
|
|
9681
9705
|
function parseBooleanDef() {
|
|
9682
9706
|
return { type: "boolean" };
|
|
9683
9707
|
}
|
|
9684
9708
|
//#endregion
|
|
9685
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9709
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
|
|
9686
9710
|
function parseBrandedDef(_def, refs) {
|
|
9687
9711
|
return parseDef(_def.type._def, refs);
|
|
9688
9712
|
}
|
|
9689
9713
|
//#endregion
|
|
9690
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9714
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
|
|
9691
9715
|
const parseCatchDef = (def, refs) => {
|
|
9692
9716
|
return parseDef(def.innerType._def, refs);
|
|
9693
9717
|
};
|
|
9694
9718
|
//#endregion
|
|
9695
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9719
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/date.js
|
|
9696
9720
|
function parseDateDef(def, refs, overrideDateStrategy) {
|
|
9697
9721
|
const strategy = overrideDateStrategy ?? refs.dateStrategy;
|
|
9698
9722
|
if (Array.isArray(strategy)) return { anyOf: strategy.map((item, i) => parseDateDef(def, refs, item)) };
|
|
@@ -9726,7 +9750,7 @@ const integerDateParser = (def, refs) => {
|
|
|
9726
9750
|
return res;
|
|
9727
9751
|
};
|
|
9728
9752
|
//#endregion
|
|
9729
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9753
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/default.js
|
|
9730
9754
|
function parseDefaultDef(_def, refs) {
|
|
9731
9755
|
return {
|
|
9732
9756
|
...parseDef(_def.innerType._def, refs),
|
|
@@ -9734,12 +9758,12 @@ function parseDefaultDef(_def, refs) {
|
|
|
9734
9758
|
};
|
|
9735
9759
|
}
|
|
9736
9760
|
//#endregion
|
|
9737
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9761
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
|
|
9738
9762
|
function parseEffectsDef(_def, refs) {
|
|
9739
9763
|
return refs.effectStrategy === "input" ? parseDef(_def.schema._def, refs) : parseAnyDef(refs);
|
|
9740
9764
|
}
|
|
9741
9765
|
//#endregion
|
|
9742
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9766
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js
|
|
9743
9767
|
function parseEnumDef(def) {
|
|
9744
9768
|
return {
|
|
9745
9769
|
type: "string",
|
|
@@ -9747,7 +9771,7 @@ function parseEnumDef(def) {
|
|
|
9747
9771
|
};
|
|
9748
9772
|
}
|
|
9749
9773
|
//#endregion
|
|
9750
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9774
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
|
|
9751
9775
|
const isJsonSchema7AllOfType = (type) => {
|
|
9752
9776
|
if ("type" in type && type.type === "string") return false;
|
|
9753
9777
|
return "allOf" in type;
|
|
@@ -9789,7 +9813,7 @@ function parseIntersectionDef(def, refs) {
|
|
|
9789
9813
|
} : void 0;
|
|
9790
9814
|
}
|
|
9791
9815
|
//#endregion
|
|
9792
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9816
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js
|
|
9793
9817
|
function parseLiteralDef(def, refs) {
|
|
9794
9818
|
const parsedType = typeof def.value;
|
|
9795
9819
|
if (parsedType !== "bigint" && parsedType !== "number" && parsedType !== "boolean" && parsedType !== "string") return { type: Array.isArray(def.value) ? "array" : "object" };
|
|
@@ -9803,7 +9827,7 @@ function parseLiteralDef(def, refs) {
|
|
|
9803
9827
|
};
|
|
9804
9828
|
}
|
|
9805
9829
|
//#endregion
|
|
9806
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
9830
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/string.js
|
|
9807
9831
|
let emojiRegex = void 0;
|
|
9808
9832
|
/**
|
|
9809
9833
|
* Generated from the regular expressions found here as of 2024-05-22:
|
|
@@ -10048,7 +10072,7 @@ function stringifyRegExpWithFlags(regex, refs) {
|
|
|
10048
10072
|
return pattern;
|
|
10049
10073
|
}
|
|
10050
10074
|
//#endregion
|
|
10051
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10075
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/record.js
|
|
10052
10076
|
function parseRecordDef(def, refs) {
|
|
10053
10077
|
if (refs.target === "openAi") console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");
|
|
10054
10078
|
if (refs.target === "openApi3" && def.keyType?._def.typeName === ZodFirstPartyTypeKind.ZodEnum) return {
|
|
@@ -10095,7 +10119,7 @@ function parseRecordDef(def, refs) {
|
|
|
10095
10119
|
return schema;
|
|
10096
10120
|
}
|
|
10097
10121
|
//#endregion
|
|
10098
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10122
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/map.js
|
|
10099
10123
|
function parseMapDef(def, refs) {
|
|
10100
10124
|
if (refs.mapStrategy === "record") return parseRecordDef(def, refs);
|
|
10101
10125
|
return {
|
|
@@ -10126,7 +10150,7 @@ function parseMapDef(def, refs) {
|
|
|
10126
10150
|
};
|
|
10127
10151
|
}
|
|
10128
10152
|
//#endregion
|
|
10129
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10153
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js
|
|
10130
10154
|
function parseNativeEnumDef(def) {
|
|
10131
10155
|
const object = def.values;
|
|
10132
10156
|
const actualValues = Object.keys(def.values).filter((key) => {
|
|
@@ -10139,7 +10163,7 @@ function parseNativeEnumDef(def) {
|
|
|
10139
10163
|
};
|
|
10140
10164
|
}
|
|
10141
10165
|
//#endregion
|
|
10142
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10166
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/never.js
|
|
10143
10167
|
function parseNeverDef(refs) {
|
|
10144
10168
|
return refs.target === "openAi" ? void 0 : { not: parseAnyDef({
|
|
10145
10169
|
...refs,
|
|
@@ -10147,7 +10171,7 @@ function parseNeverDef(refs) {
|
|
|
10147
10171
|
}) };
|
|
10148
10172
|
}
|
|
10149
10173
|
//#endregion
|
|
10150
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10174
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/null.js
|
|
10151
10175
|
function parseNullDef(refs) {
|
|
10152
10176
|
return refs.target === "openApi3" ? {
|
|
10153
10177
|
enum: ["null"],
|
|
@@ -10155,7 +10179,7 @@ function parseNullDef(refs) {
|
|
|
10155
10179
|
} : { type: "null" };
|
|
10156
10180
|
}
|
|
10157
10181
|
//#endregion
|
|
10158
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10182
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/union.js
|
|
10159
10183
|
const primitiveMappings = {
|
|
10160
10184
|
ZodString: "string",
|
|
10161
10185
|
ZodNumber: "number",
|
|
@@ -10211,7 +10235,7 @@ const asAnyOf = (def, refs) => {
|
|
|
10211
10235
|
return anyOf.length ? { anyOf } : void 0;
|
|
10212
10236
|
};
|
|
10213
10237
|
//#endregion
|
|
10214
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10238
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
|
|
10215
10239
|
function parseNullableDef(def, refs) {
|
|
10216
10240
|
if ([
|
|
10217
10241
|
"ZodString",
|
|
@@ -10251,7 +10275,7 @@ function parseNullableDef(def, refs) {
|
|
|
10251
10275
|
return base && { anyOf: [base, { type: "null" }] };
|
|
10252
10276
|
}
|
|
10253
10277
|
//#endregion
|
|
10254
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10278
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/number.js
|
|
10255
10279
|
function parseNumberDef(def, refs) {
|
|
10256
10280
|
const res = { type: "number" };
|
|
10257
10281
|
if (!def.checks) return res;
|
|
@@ -10283,7 +10307,7 @@ function parseNumberDef(def, refs) {
|
|
|
10283
10307
|
return res;
|
|
10284
10308
|
}
|
|
10285
10309
|
//#endregion
|
|
10286
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10310
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/object.js
|
|
10287
10311
|
function parseObjectDef(def, refs) {
|
|
10288
10312
|
const forceOptionalIntoNullable = refs.target === "openAi";
|
|
10289
10313
|
const result = {
|
|
@@ -10342,7 +10366,7 @@ function safeIsOptional(schema) {
|
|
|
10342
10366
|
}
|
|
10343
10367
|
}
|
|
10344
10368
|
//#endregion
|
|
10345
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10369
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
|
|
10346
10370
|
const parseOptionalDef = (def, refs) => {
|
|
10347
10371
|
if (refs.currentPath.toString() === refs.propertyPath?.toString()) return parseDef(def.innerType._def, refs);
|
|
10348
10372
|
const innerSchema = parseDef(def.innerType._def, {
|
|
@@ -10356,7 +10380,7 @@ const parseOptionalDef = (def, refs) => {
|
|
|
10356
10380
|
return innerSchema ? { anyOf: [{ not: parseAnyDef(refs) }, innerSchema] } : parseAnyDef(refs);
|
|
10357
10381
|
};
|
|
10358
10382
|
//#endregion
|
|
10359
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10383
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
|
|
10360
10384
|
const parsePipelineDef = (def, refs) => {
|
|
10361
10385
|
if (refs.pipeStrategy === "input") return parseDef(def.in._def, refs);
|
|
10362
10386
|
else if (refs.pipeStrategy === "output") return parseDef(def.out._def, refs);
|
|
@@ -10378,12 +10402,12 @@ const parsePipelineDef = (def, refs) => {
|
|
|
10378
10402
|
})].filter((x) => x !== void 0) };
|
|
10379
10403
|
};
|
|
10380
10404
|
//#endregion
|
|
10381
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10405
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
|
|
10382
10406
|
function parsePromiseDef(def, refs) {
|
|
10383
10407
|
return parseDef(def.type._def, refs);
|
|
10384
10408
|
}
|
|
10385
10409
|
//#endregion
|
|
10386
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10410
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/set.js
|
|
10387
10411
|
function parseSetDef(def, refs) {
|
|
10388
10412
|
const schema = {
|
|
10389
10413
|
type: "array",
|
|
@@ -10398,7 +10422,7 @@ function parseSetDef(def, refs) {
|
|
|
10398
10422
|
return schema;
|
|
10399
10423
|
}
|
|
10400
10424
|
//#endregion
|
|
10401
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10425
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
|
|
10402
10426
|
function parseTupleDef(def, refs) {
|
|
10403
10427
|
if (def.rest) return {
|
|
10404
10428
|
type: "array",
|
|
@@ -10431,22 +10455,22 @@ function parseTupleDef(def, refs) {
|
|
|
10431
10455
|
};
|
|
10432
10456
|
}
|
|
10433
10457
|
//#endregion
|
|
10434
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10458
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
|
|
10435
10459
|
function parseUndefinedDef(refs) {
|
|
10436
10460
|
return { not: parseAnyDef(refs) };
|
|
10437
10461
|
}
|
|
10438
10462
|
//#endregion
|
|
10439
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10463
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
|
|
10440
10464
|
function parseUnknownDef(refs) {
|
|
10441
10465
|
return parseAnyDef(refs);
|
|
10442
10466
|
}
|
|
10443
10467
|
//#endregion
|
|
10444
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10468
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
|
|
10445
10469
|
const parseReadonlyDef = (def, refs) => {
|
|
10446
10470
|
return parseDef(def.innerType._def, refs);
|
|
10447
10471
|
};
|
|
10448
10472
|
//#endregion
|
|
10449
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10473
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/selectParser.js
|
|
10450
10474
|
const selectParser = (def, typeName, refs) => {
|
|
10451
10475
|
switch (typeName) {
|
|
10452
10476
|
case ZodFirstPartyTypeKind.ZodString: return parseStringDef(def, refs);
|
|
@@ -10489,7 +10513,7 @@ const selectParser = (def, typeName, refs) => {
|
|
|
10489
10513
|
}
|
|
10490
10514
|
};
|
|
10491
10515
|
//#endregion
|
|
10492
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10516
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parseDef.js
|
|
10493
10517
|
function parseDef(def, refs, forceResolution = false) {
|
|
10494
10518
|
const seenItem = refs.seen.get(def);
|
|
10495
10519
|
if (refs.override) {
|
|
@@ -10538,7 +10562,7 @@ const addMeta = (def, refs, jsonSchema) => {
|
|
|
10538
10562
|
return jsonSchema;
|
|
10539
10563
|
};
|
|
10540
10564
|
//#endregion
|
|
10541
|
-
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.
|
|
10565
|
+
//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.1_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
|
|
10542
10566
|
const zodToJsonSchema = (schema, options) => {
|
|
10543
10567
|
const refs = getRefs(options);
|
|
10544
10568
|
let definitions = typeof options === "object" && options.definitions ? Object.entries(options.definitions).reduce((acc, [name, schema]) => ({
|
|
@@ -10601,7 +10625,7 @@ const zodToJsonSchema = (schema, options) => {
|
|
|
10601
10625
|
return combined;
|
|
10602
10626
|
};
|
|
10603
10627
|
//#endregion
|
|
10604
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
10628
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
10605
10629
|
function mapMiniTarget(t) {
|
|
10606
10630
|
if (!t) return "draft-7";
|
|
10607
10631
|
if (t === "jsonSchema7" || t === "draft-7") return "draft-7";
|
|
@@ -17547,7 +17571,7 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
17547
17571
|
exports.default = formatsPlugin;
|
|
17548
17572
|
}));
|
|
17549
17573
|
//#endregion
|
|
17550
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
17574
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
17551
17575
|
var import_ajv = /* @__PURE__ */ __toESM(require_ajv(), 1);
|
|
17552
17576
|
var import_dist = /* @__PURE__ */ __toESM(require_dist(), 1);
|
|
17553
17577
|
function createDefaultAjvInstance() {
|
|
@@ -17623,7 +17647,7 @@ var AjvJsonSchemaValidator = class {
|
|
|
17623
17647
|
}
|
|
17624
17648
|
};
|
|
17625
17649
|
//#endregion
|
|
17626
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
17650
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
17627
17651
|
/**
|
|
17628
17652
|
* Experimental server task features for MCP SDK.
|
|
17629
17653
|
* WARNING: These APIs are experimental and may change without notice.
|
|
@@ -17843,7 +17867,7 @@ var ExperimentalServerTasks = class {
|
|
|
17843
17867
|
}
|
|
17844
17868
|
};
|
|
17845
17869
|
//#endregion
|
|
17846
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
17870
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
17847
17871
|
/**
|
|
17848
17872
|
* Experimental task capability assertion helpers.
|
|
17849
17873
|
* WARNING: These APIs are experimental and may change without notice.
|
|
@@ -17894,7 +17918,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
|
|
|
17894
17918
|
}
|
|
17895
17919
|
}
|
|
17896
17920
|
//#endregion
|
|
17897
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
17921
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
17898
17922
|
/**
|
|
17899
17923
|
* An MCP server on top of a pluggable transport.
|
|
17900
17924
|
*
|
|
@@ -18235,7 +18259,7 @@ var Server = class extends Protocol {
|
|
|
18235
18259
|
}
|
|
18236
18260
|
};
|
|
18237
18261
|
//#endregion
|
|
18238
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
18262
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
18239
18263
|
const COMPLETABLE_SYMBOL = Symbol.for("mcp.completable");
|
|
18240
18264
|
/**
|
|
18241
18265
|
* Checks if a schema is completable (has completion metadata).
|
|
@@ -18254,7 +18278,7 @@ var McpZodTypeKind;
|
|
|
18254
18278
|
McpZodTypeKind["Completable"] = "McpCompletable";
|
|
18255
18279
|
})(McpZodTypeKind || (McpZodTypeKind = {}));
|
|
18256
18280
|
//#endregion
|
|
18257
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
18281
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
|
|
18258
18282
|
/**
|
|
18259
18283
|
* Tool name validation utilities according to SEP: Specify Format for Tool Names
|
|
18260
18284
|
*
|
|
@@ -18325,7 +18349,7 @@ function validateAndWarnToolName(name) {
|
|
|
18325
18349
|
return result.isValid;
|
|
18326
18350
|
}
|
|
18327
18351
|
//#endregion
|
|
18328
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
18352
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
|
|
18329
18353
|
/**
|
|
18330
18354
|
* Experimental McpServer task features for MCP SDK.
|
|
18331
18355
|
* WARNING: These APIs are experimental and may change without notice.
|
|
@@ -18356,7 +18380,7 @@ var ExperimentalMcpServerTasks = class {
|
|
|
18356
18380
|
}
|
|
18357
18381
|
};
|
|
18358
18382
|
//#endregion
|
|
18359
|
-
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
18383
|
+
//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
18360
18384
|
/**
|
|
18361
18385
|
* High-level MCP server that provides a simpler API for working with resources, tools, and prompts.
|
|
18362
18386
|
* For advanced usage (like sending notifications or setting custom request handlers), use the underlying
|