@db-ux/mcp-server 4.7.2-pnpm-1cacdb5 → 4.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +97 -91
- package/package.json +2 -2
- package/LICENSE +0 -253
package/dist/index.js
CHANGED
|
@@ -6885,10 +6885,10 @@ var require_dist = __commonJS({
|
|
|
6885
6885
|
}
|
|
6886
6886
|
});
|
|
6887
6887
|
|
|
6888
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
6888
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
6889
6889
|
import process3 from "node:process";
|
|
6890
6890
|
|
|
6891
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
6891
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/core.js
|
|
6892
6892
|
var _a;
|
|
6893
6893
|
// @__NO_SIDE_EFFECTS__
|
|
6894
6894
|
function $constructor(name, initializer3, params) {
|
|
@@ -6961,7 +6961,7 @@ function config(newConfig) {
|
|
|
6961
6961
|
return globalConfig;
|
|
6962
6962
|
}
|
|
6963
6963
|
|
|
6964
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
6964
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/util.js
|
|
6965
6965
|
var util_exports = {};
|
|
6966
6966
|
__export(util_exports, {
|
|
6967
6967
|
BIGINT_FORMAT_RANGES: () => BIGINT_FORMAT_RANGES,
|
|
@@ -7657,7 +7657,7 @@ var Class = class {
|
|
|
7657
7657
|
}
|
|
7658
7658
|
};
|
|
7659
7659
|
|
|
7660
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
7660
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/errors.js
|
|
7661
7661
|
var initializer = (inst, def) => {
|
|
7662
7662
|
inst.name = "$ZodError";
|
|
7663
7663
|
Object.defineProperty(inst, "_zod", {
|
|
@@ -7726,7 +7726,7 @@ function formatError(error2, mapper = (issue2) => issue2.message) {
|
|
|
7726
7726
|
return fieldErrors;
|
|
7727
7727
|
}
|
|
7728
7728
|
|
|
7729
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
7729
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/parse.js
|
|
7730
7730
|
var _parse = (_Err) => (schema, value, _ctx, _params) => {
|
|
7731
7731
|
const ctx = _ctx ? { ..._ctx, async: false } : { async: false };
|
|
7732
7732
|
const result = schema._zod.run({ value, issues: [] }, ctx);
|
|
@@ -7806,7 +7806,7 @@ var _safeDecodeAsync = (_Err) => async (schema, value, _ctx) => {
|
|
|
7806
7806
|
return _safeParseAsync(_Err)(schema, value, _ctx);
|
|
7807
7807
|
};
|
|
7808
7808
|
|
|
7809
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
7809
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/regexes.js
|
|
7810
7810
|
var cuid = /^[cC][0-9a-z]{6,}$/;
|
|
7811
7811
|
var cuid2 = /^[0-9a-z]+$/;
|
|
7812
7812
|
var ulid = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/;
|
|
@@ -7864,7 +7864,7 @@ var _null = /^null$/i;
|
|
|
7864
7864
|
var lowercase = /^[^A-Z]*$/;
|
|
7865
7865
|
var uppercase = /^[^a-z]*$/;
|
|
7866
7866
|
|
|
7867
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
7867
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/checks.js
|
|
7868
7868
|
var $ZodCheck = /* @__PURE__ */ $constructor("$ZodCheck", (inst, def) => {
|
|
7869
7869
|
var _a3;
|
|
7870
7870
|
inst._zod ?? (inst._zod = {});
|
|
@@ -8254,7 +8254,7 @@ var $ZodCheckOverwrite = /* @__PURE__ */ $constructor("$ZodCheckOverwrite", (ins
|
|
|
8254
8254
|
};
|
|
8255
8255
|
});
|
|
8256
8256
|
|
|
8257
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
8257
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/doc.js
|
|
8258
8258
|
var Doc = class {
|
|
8259
8259
|
constructor(args = []) {
|
|
8260
8260
|
this.content = [];
|
|
@@ -8290,14 +8290,14 @@ var Doc = class {
|
|
|
8290
8290
|
}
|
|
8291
8291
|
};
|
|
8292
8292
|
|
|
8293
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
8293
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/versions.js
|
|
8294
8294
|
var version = {
|
|
8295
8295
|
major: 4,
|
|
8296
8296
|
minor: 4,
|
|
8297
|
-
patch:
|
|
8297
|
+
patch: 3
|
|
8298
8298
|
};
|
|
8299
8299
|
|
|
8300
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
8300
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/schemas.js
|
|
8301
8301
|
var $ZodType = /* @__PURE__ */ $constructor("$ZodType", (inst, def) => {
|
|
8302
8302
|
var _a3;
|
|
8303
8303
|
inst ?? (inst = {});
|
|
@@ -9507,6 +9507,7 @@ var $ZodLiteral = /* @__PURE__ */ $constructor("$ZodLiteral", (inst, def) => {
|
|
|
9507
9507
|
});
|
|
9508
9508
|
var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) => {
|
|
9509
9509
|
$ZodType.init(inst, def);
|
|
9510
|
+
inst._zod.optin = "optional";
|
|
9510
9511
|
inst._zod.parse = (payload, ctx) => {
|
|
9511
9512
|
if (ctx.direction === "backward") {
|
|
9512
9513
|
throw new $ZodEncodeError(inst.constructor.name);
|
|
@@ -9516,6 +9517,7 @@ var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) =>
|
|
|
9516
9517
|
const output = _out instanceof Promise ? _out : Promise.resolve(_out);
|
|
9517
9518
|
return output.then((output2) => {
|
|
9518
9519
|
payload.value = output2;
|
|
9520
|
+
payload.fallback = true;
|
|
9519
9521
|
return payload;
|
|
9520
9522
|
});
|
|
9521
9523
|
}
|
|
@@ -9523,11 +9525,12 @@ var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) =>
|
|
|
9523
9525
|
throw new $ZodAsyncError();
|
|
9524
9526
|
}
|
|
9525
9527
|
payload.value = _out;
|
|
9528
|
+
payload.fallback = true;
|
|
9526
9529
|
return payload;
|
|
9527
9530
|
};
|
|
9528
9531
|
});
|
|
9529
9532
|
function handleOptionalResult(result, input) {
|
|
9530
|
-
if (result.issues.length
|
|
9533
|
+
if (input === void 0 && (result.issues.length || result.fallback)) {
|
|
9531
9534
|
return { issues: [], value: void 0 };
|
|
9532
9535
|
}
|
|
9533
9536
|
return result;
|
|
@@ -9545,10 +9548,11 @@ var $ZodOptional = /* @__PURE__ */ $constructor("$ZodOptional", (inst, def) => {
|
|
|
9545
9548
|
});
|
|
9546
9549
|
inst._zod.parse = (payload, ctx) => {
|
|
9547
9550
|
if (def.innerType._zod.optin === "optional") {
|
|
9551
|
+
const input = payload.value;
|
|
9548
9552
|
const result = def.innerType._zod.run(payload, ctx);
|
|
9549
9553
|
if (result instanceof Promise)
|
|
9550
|
-
return result.then((r) => handleOptionalResult(r,
|
|
9551
|
-
return handleOptionalResult(result,
|
|
9554
|
+
return result.then((r) => handleOptionalResult(r, input));
|
|
9555
|
+
return handleOptionalResult(result, input);
|
|
9552
9556
|
}
|
|
9553
9557
|
if (payload.value === void 0) {
|
|
9554
9558
|
return payload;
|
|
@@ -9647,7 +9651,7 @@ function handleNonOptionalResult(payload, inst) {
|
|
|
9647
9651
|
}
|
|
9648
9652
|
var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
|
|
9649
9653
|
$ZodType.init(inst, def);
|
|
9650
|
-
|
|
9654
|
+
inst._zod.optin = "optional";
|
|
9651
9655
|
defineLazy(inst._zod, "optout", () => def.innerType._zod.optout);
|
|
9652
9656
|
defineLazy(inst._zod, "values", () => def.innerType._zod.values);
|
|
9653
9657
|
inst._zod.parse = (payload, ctx) => {
|
|
@@ -9667,6 +9671,7 @@ var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
|
|
|
9667
9671
|
input: payload.value
|
|
9668
9672
|
});
|
|
9669
9673
|
payload.issues = [];
|
|
9674
|
+
payload.fallback = true;
|
|
9670
9675
|
}
|
|
9671
9676
|
return payload;
|
|
9672
9677
|
});
|
|
@@ -9681,6 +9686,7 @@ var $ZodCatch = /* @__PURE__ */ $constructor("$ZodCatch", (inst, def) => {
|
|
|
9681
9686
|
input: payload.value
|
|
9682
9687
|
});
|
|
9683
9688
|
payload.issues = [];
|
|
9689
|
+
payload.fallback = true;
|
|
9684
9690
|
}
|
|
9685
9691
|
return payload;
|
|
9686
9692
|
};
|
|
@@ -9711,12 +9717,10 @@ function handlePipeResult(left, next, ctx) {
|
|
|
9711
9717
|
left.aborted = true;
|
|
9712
9718
|
return left;
|
|
9713
9719
|
}
|
|
9714
|
-
return next._zod.run({ value: left.value, issues: left.issues }, ctx);
|
|
9720
|
+
return next._zod.run({ value: left.value, issues: left.issues, fallback: left.fallback }, ctx);
|
|
9715
9721
|
}
|
|
9716
9722
|
var $ZodPreprocess = /* @__PURE__ */ $constructor("$ZodPreprocess", (inst, def) => {
|
|
9717
9723
|
$ZodPipe.init(inst, def);
|
|
9718
|
-
defineLazy(inst._zod, "optin", () => def.out._zod.optin);
|
|
9719
|
-
defineLazy(inst._zod, "optout", () => def.out._zod.optout);
|
|
9720
9724
|
});
|
|
9721
9725
|
var $ZodReadonly = /* @__PURE__ */ $constructor("$ZodReadonly", (inst, def) => {
|
|
9722
9726
|
$ZodType.init(inst, def);
|
|
@@ -9773,7 +9777,7 @@ function handleRefineResult(result, payload, input, inst) {
|
|
|
9773
9777
|
}
|
|
9774
9778
|
}
|
|
9775
9779
|
|
|
9776
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
9780
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/locales/en.js
|
|
9777
9781
|
var error = () => {
|
|
9778
9782
|
const Sizable = {
|
|
9779
9783
|
string: { unit: "characters", verb: "to have" },
|
|
@@ -9886,7 +9890,7 @@ function en_default() {
|
|
|
9886
9890
|
};
|
|
9887
9891
|
}
|
|
9888
9892
|
|
|
9889
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
9893
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/registries.js
|
|
9890
9894
|
var _a2;
|
|
9891
9895
|
var $ZodRegistry = class {
|
|
9892
9896
|
constructor() {
|
|
@@ -9934,7 +9938,7 @@ function registry() {
|
|
|
9934
9938
|
(_a2 = globalThis).__zod_globalRegistry ?? (_a2.__zod_globalRegistry = registry());
|
|
9935
9939
|
var globalRegistry = globalThis.__zod_globalRegistry;
|
|
9936
9940
|
|
|
9937
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
9941
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/api.js
|
|
9938
9942
|
// @__NO_SIDE_EFFECTS__
|
|
9939
9943
|
function _string(Class2, params) {
|
|
9940
9944
|
return new Class2({
|
|
@@ -10462,7 +10466,7 @@ function _check(fn, params) {
|
|
|
10462
10466
|
return ch;
|
|
10463
10467
|
}
|
|
10464
10468
|
|
|
10465
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
10469
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/to-json-schema.js
|
|
10466
10470
|
function initializeContext(params) {
|
|
10467
10471
|
let target = params?.target ?? "draft-2020-12";
|
|
10468
10472
|
if (target === "draft-4")
|
|
@@ -10821,7 +10825,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
10821
10825
|
return finalize(ctx, schema);
|
|
10822
10826
|
};
|
|
10823
10827
|
|
|
10824
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
10828
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/core/json-schema-processors.js
|
|
10825
10829
|
var formatMap = {
|
|
10826
10830
|
guid: "uuid",
|
|
10827
10831
|
url: "uri",
|
|
@@ -11365,7 +11369,7 @@ function toJSONSchema(input, params) {
|
|
|
11365
11369
|
return finalize(ctx, input);
|
|
11366
11370
|
}
|
|
11367
11371
|
|
|
11368
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
11372
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/iso.js
|
|
11369
11373
|
var iso_exports = {};
|
|
11370
11374
|
__export(iso_exports, {
|
|
11371
11375
|
ZodISODate: () => ZodISODate,
|
|
@@ -11406,7 +11410,7 @@ function duration2(params) {
|
|
|
11406
11410
|
return _isoDuration(ZodISODuration, params);
|
|
11407
11411
|
}
|
|
11408
11412
|
|
|
11409
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
11413
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/errors.js
|
|
11410
11414
|
var initializer2 = (inst, issues) => {
|
|
11411
11415
|
$ZodError.init(inst, issues);
|
|
11412
11416
|
inst.name = "ZodError";
|
|
@@ -11445,7 +11449,7 @@ var ZodRealError = /* @__PURE__ */ $constructor("ZodError", initializer2, {
|
|
|
11445
11449
|
Parent: Error
|
|
11446
11450
|
});
|
|
11447
11451
|
|
|
11448
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
11452
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/parse.js
|
|
11449
11453
|
var parse2 = /* @__PURE__ */ _parse(ZodRealError);
|
|
11450
11454
|
var parseAsync2 = /* @__PURE__ */ _parseAsync(ZodRealError);
|
|
11451
11455
|
var safeParse2 = /* @__PURE__ */ _safeParse(ZodRealError);
|
|
@@ -11459,7 +11463,7 @@ var safeDecode = /* @__PURE__ */ _safeDecode(ZodRealError);
|
|
|
11459
11463
|
var safeEncodeAsync = /* @__PURE__ */ _safeEncodeAsync(ZodRealError);
|
|
11460
11464
|
var safeDecodeAsync = /* @__PURE__ */ _safeDecodeAsync(ZodRealError);
|
|
11461
11465
|
|
|
11462
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
11466
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/schemas.js
|
|
11463
11467
|
var _installedGroups = /* @__PURE__ */ new WeakMap();
|
|
11464
11468
|
function _installLazyMethods(inst, group, methods) {
|
|
11465
11469
|
const proto = Object.getPrototypeOf(inst);
|
|
@@ -12139,10 +12143,12 @@ var ZodTransform = /* @__PURE__ */ $constructor("ZodTransform", (inst, def) => {
|
|
|
12139
12143
|
if (output instanceof Promise) {
|
|
12140
12144
|
return output.then((output2) => {
|
|
12141
12145
|
payload.value = output2;
|
|
12146
|
+
payload.fallback = true;
|
|
12142
12147
|
return payload;
|
|
12143
12148
|
});
|
|
12144
12149
|
}
|
|
12145
12150
|
payload.value = output;
|
|
12151
|
+
payload.fallback = true;
|
|
12146
12152
|
return payload;
|
|
12147
12153
|
};
|
|
12148
12154
|
});
|
|
@@ -12299,10 +12305,10 @@ function preprocess(fn, schema) {
|
|
|
12299
12305
|
});
|
|
12300
12306
|
}
|
|
12301
12307
|
|
|
12302
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
12308
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/external.js
|
|
12303
12309
|
config(en_default());
|
|
12304
12310
|
|
|
12305
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
12311
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
12306
12312
|
var LATEST_PROTOCOL_VERSION = "2025-11-25";
|
|
12307
12313
|
var SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
|
|
12308
12314
|
var RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task";
|
|
@@ -13833,7 +13839,7 @@ var UrlElicitationRequiredError = class extends McpError {
|
|
|
13833
13839
|
}
|
|
13834
13840
|
};
|
|
13835
13841
|
|
|
13836
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
13842
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
13837
13843
|
var ReadBuffer = class {
|
|
13838
13844
|
append(chunk) {
|
|
13839
13845
|
this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk;
|
|
@@ -13861,7 +13867,7 @@ function serializeMessage(message) {
|
|
|
13861
13867
|
return JSON.stringify(message) + "\n";
|
|
13862
13868
|
}
|
|
13863
13869
|
|
|
13864
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
13870
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
13865
13871
|
var StdioServerTransport = class {
|
|
13866
13872
|
constructor(_stdin = process3.stdin, _stdout = process3.stdout) {
|
|
13867
13873
|
this._stdin = _stdin;
|
|
@@ -14086,7 +14092,7 @@ Do not output code until all four phases are complete. Then structure your respo
|
|
|
14086
14092
|
};
|
|
14087
14093
|
}
|
|
14088
14094
|
|
|
14089
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
14095
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/external.js
|
|
14090
14096
|
var external_exports = {};
|
|
14091
14097
|
__export(external_exports, {
|
|
14092
14098
|
BRAND: () => BRAND,
|
|
@@ -14198,7 +14204,7 @@ __export(external_exports, {
|
|
|
14198
14204
|
void: () => voidType
|
|
14199
14205
|
});
|
|
14200
14206
|
|
|
14201
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
14207
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/util.js
|
|
14202
14208
|
var util;
|
|
14203
14209
|
(function(util2) {
|
|
14204
14210
|
util2.assertEqual = (_) => {
|
|
@@ -14332,7 +14338,7 @@ var getParsedType2 = (data) => {
|
|
|
14332
14338
|
}
|
|
14333
14339
|
};
|
|
14334
14340
|
|
|
14335
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
14341
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/ZodError.js
|
|
14336
14342
|
var ZodIssueCode = util.arrayToEnum([
|
|
14337
14343
|
"invalid_type",
|
|
14338
14344
|
"invalid_literal",
|
|
@@ -14450,7 +14456,7 @@ ZodError.create = (issues) => {
|
|
|
14450
14456
|
return error2;
|
|
14451
14457
|
};
|
|
14452
14458
|
|
|
14453
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
14459
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/locales/en.js
|
|
14454
14460
|
var errorMap = (issue2, _ctx) => {
|
|
14455
14461
|
let message;
|
|
14456
14462
|
switch (issue2.code) {
|
|
@@ -14553,7 +14559,7 @@ var errorMap = (issue2, _ctx) => {
|
|
|
14553
14559
|
};
|
|
14554
14560
|
var en_default2 = errorMap;
|
|
14555
14561
|
|
|
14556
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
14562
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/errors.js
|
|
14557
14563
|
var overrideErrorMap = en_default2;
|
|
14558
14564
|
function setErrorMap(map) {
|
|
14559
14565
|
overrideErrorMap = map;
|
|
@@ -14562,7 +14568,7 @@ function getErrorMap() {
|
|
|
14562
14568
|
return overrideErrorMap;
|
|
14563
14569
|
}
|
|
14564
14570
|
|
|
14565
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
14571
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/parseUtil.js
|
|
14566
14572
|
var makeIssue = (params) => {
|
|
14567
14573
|
const { data, path, errorMaps, issueData } = params;
|
|
14568
14574
|
const fullPath = [...path, ...issueData.path || []];
|
|
@@ -14672,14 +14678,14 @@ var isDirty = (x) => x.status === "dirty";
|
|
|
14672
14678
|
var isValid = (x) => x.status === "valid";
|
|
14673
14679
|
var isAsync = (x) => typeof Promise !== "undefined" && x instanceof Promise;
|
|
14674
14680
|
|
|
14675
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
14681
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/helpers/errorUtil.js
|
|
14676
14682
|
var errorUtil;
|
|
14677
14683
|
(function(errorUtil2) {
|
|
14678
14684
|
errorUtil2.errToObj = (message) => typeof message === "string" ? { message } : message || {};
|
|
14679
14685
|
errorUtil2.toString = (message) => typeof message === "string" ? message : message?.message;
|
|
14680
14686
|
})(errorUtil || (errorUtil = {}));
|
|
14681
14687
|
|
|
14682
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
14688
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v3/types.js
|
|
14683
14689
|
var ParseInputLazyPath = class {
|
|
14684
14690
|
constructor(parent, value, path, key) {
|
|
14685
14691
|
this._cachedPath = [];
|
|
@@ -18172,7 +18178,7 @@ var auditAccessibilitySchema = {
|
|
|
18172
18178
|
}
|
|
18173
18179
|
};
|
|
18174
18180
|
|
|
18175
|
-
// ../../node_modules/.pnpm/zod@4.4.
|
|
18181
|
+
// ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/mini/schemas.js
|
|
18176
18182
|
var ZodMiniType = /* @__PURE__ */ $constructor("ZodMiniType", (inst, def) => {
|
|
18177
18183
|
if (!inst._zod)
|
|
18178
18184
|
throw new Error("Uninitialized schema in ZodMiniType.");
|
|
@@ -18218,7 +18224,7 @@ function object2(shape, params) {
|
|
|
18218
18224
|
return new ZodMiniObject(def);
|
|
18219
18225
|
}
|
|
18220
18226
|
|
|
18221
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
18227
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js
|
|
18222
18228
|
function isZ4Schema(s) {
|
|
18223
18229
|
const schema = s;
|
|
18224
18230
|
return !!schema._zod;
|
|
@@ -18362,12 +18368,12 @@ function getLiteralValue(schema) {
|
|
|
18362
18368
|
return void 0;
|
|
18363
18369
|
}
|
|
18364
18370
|
|
|
18365
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
18371
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js
|
|
18366
18372
|
function isTerminal(status) {
|
|
18367
18373
|
return status === "completed" || status === "failed" || status === "cancelled";
|
|
18368
18374
|
}
|
|
18369
18375
|
|
|
18370
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18376
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/Options.js
|
|
18371
18377
|
var ignoreOverride = /* @__PURE__ */ Symbol("Let zodToJsonSchema decide on which parser to use");
|
|
18372
18378
|
var defaultOptions = {
|
|
18373
18379
|
name: void 0,
|
|
@@ -18401,7 +18407,7 @@ var getDefaultOptions = (options) => typeof options === "string" ? {
|
|
|
18401
18407
|
...options
|
|
18402
18408
|
};
|
|
18403
18409
|
|
|
18404
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18410
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/Refs.js
|
|
18405
18411
|
var getRefs = (options) => {
|
|
18406
18412
|
const _options = getDefaultOptions(options);
|
|
18407
18413
|
const currentPath = _options.name !== void 0 ? [..._options.basePath, _options.definitionPath, _options.name] : _options.basePath;
|
|
@@ -18422,7 +18428,7 @@ var getRefs = (options) => {
|
|
|
18422
18428
|
};
|
|
18423
18429
|
};
|
|
18424
18430
|
|
|
18425
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18431
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/errorMessages.js
|
|
18426
18432
|
function addErrorMessage(res, key, errorMessage, refs) {
|
|
18427
18433
|
if (!refs?.errorMessages)
|
|
18428
18434
|
return;
|
|
@@ -18438,7 +18444,7 @@ function setResponseValueAndErrors(res, key, value, errorMessage, refs) {
|
|
|
18438
18444
|
addErrorMessage(res, key, errorMessage, refs);
|
|
18439
18445
|
}
|
|
18440
18446
|
|
|
18441
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18447
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js
|
|
18442
18448
|
var getRelativePath = (pathA, pathB) => {
|
|
18443
18449
|
let i = 0;
|
|
18444
18450
|
for (; i < pathA.length && i < pathB.length; i++) {
|
|
@@ -18448,7 +18454,7 @@ var getRelativePath = (pathA, pathB) => {
|
|
|
18448
18454
|
return [(pathA.length - i).toString(), ...pathB.slice(i)].join("/");
|
|
18449
18455
|
};
|
|
18450
18456
|
|
|
18451
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18457
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/any.js
|
|
18452
18458
|
function parseAnyDef(refs) {
|
|
18453
18459
|
if (refs.target !== "openAi") {
|
|
18454
18460
|
return {};
|
|
@@ -18464,7 +18470,7 @@ function parseAnyDef(refs) {
|
|
|
18464
18470
|
};
|
|
18465
18471
|
}
|
|
18466
18472
|
|
|
18467
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18473
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/array.js
|
|
18468
18474
|
function parseArrayDef(def, refs) {
|
|
18469
18475
|
const res = {
|
|
18470
18476
|
type: "array"
|
|
@@ -18488,7 +18494,7 @@ function parseArrayDef(def, refs) {
|
|
|
18488
18494
|
return res;
|
|
18489
18495
|
}
|
|
18490
18496
|
|
|
18491
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18497
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js
|
|
18492
18498
|
function parseBigintDef(def, refs) {
|
|
18493
18499
|
const res = {
|
|
18494
18500
|
type: "integer",
|
|
@@ -18534,24 +18540,24 @@ function parseBigintDef(def, refs) {
|
|
|
18534
18540
|
return res;
|
|
18535
18541
|
}
|
|
18536
18542
|
|
|
18537
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18543
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js
|
|
18538
18544
|
function parseBooleanDef() {
|
|
18539
18545
|
return {
|
|
18540
18546
|
type: "boolean"
|
|
18541
18547
|
};
|
|
18542
18548
|
}
|
|
18543
18549
|
|
|
18544
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18550
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js
|
|
18545
18551
|
function parseBrandedDef(_def, refs) {
|
|
18546
18552
|
return parseDef(_def.type._def, refs);
|
|
18547
18553
|
}
|
|
18548
18554
|
|
|
18549
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18555
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js
|
|
18550
18556
|
var parseCatchDef = (def, refs) => {
|
|
18551
18557
|
return parseDef(def.innerType._def, refs);
|
|
18552
18558
|
};
|
|
18553
18559
|
|
|
18554
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18560
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/date.js
|
|
18555
18561
|
function parseDateDef(def, refs, overrideDateStrategy) {
|
|
18556
18562
|
const strategy = overrideDateStrategy ?? refs.dateStrategy;
|
|
18557
18563
|
if (Array.isArray(strategy)) {
|
|
@@ -18610,7 +18616,7 @@ var integerDateParser = (def, refs) => {
|
|
|
18610
18616
|
return res;
|
|
18611
18617
|
};
|
|
18612
18618
|
|
|
18613
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18619
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/default.js
|
|
18614
18620
|
function parseDefaultDef(_def, refs) {
|
|
18615
18621
|
return {
|
|
18616
18622
|
...parseDef(_def.innerType._def, refs),
|
|
@@ -18618,12 +18624,12 @@ function parseDefaultDef(_def, refs) {
|
|
|
18618
18624
|
};
|
|
18619
18625
|
}
|
|
18620
18626
|
|
|
18621
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18627
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js
|
|
18622
18628
|
function parseEffectsDef(_def, refs) {
|
|
18623
18629
|
return refs.effectStrategy === "input" ? parseDef(_def.schema._def, refs) : parseAnyDef(refs);
|
|
18624
18630
|
}
|
|
18625
18631
|
|
|
18626
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18632
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js
|
|
18627
18633
|
function parseEnumDef(def) {
|
|
18628
18634
|
return {
|
|
18629
18635
|
type: "string",
|
|
@@ -18631,7 +18637,7 @@ function parseEnumDef(def) {
|
|
|
18631
18637
|
};
|
|
18632
18638
|
}
|
|
18633
18639
|
|
|
18634
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18640
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js
|
|
18635
18641
|
var isJsonSchema7AllOfType = (type) => {
|
|
18636
18642
|
if ("type" in type && type.type === "string")
|
|
18637
18643
|
return false;
|
|
@@ -18673,7 +18679,7 @@ function parseIntersectionDef(def, refs) {
|
|
|
18673
18679
|
} : void 0;
|
|
18674
18680
|
}
|
|
18675
18681
|
|
|
18676
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18682
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js
|
|
18677
18683
|
function parseLiteralDef(def, refs) {
|
|
18678
18684
|
const parsedType2 = typeof def.value;
|
|
18679
18685
|
if (parsedType2 !== "bigint" && parsedType2 !== "number" && parsedType2 !== "boolean" && parsedType2 !== "string") {
|
|
@@ -18693,7 +18699,7 @@ function parseLiteralDef(def, refs) {
|
|
|
18693
18699
|
};
|
|
18694
18700
|
}
|
|
18695
18701
|
|
|
18696
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
18702
|
+
// ../../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
|
|
18697
18703
|
var emojiRegex2 = void 0;
|
|
18698
18704
|
var zodPatterns = {
|
|
18699
18705
|
/**
|
|
@@ -19018,7 +19024,7 @@ function stringifyRegExpWithFlags(regex, refs) {
|
|
|
19018
19024
|
return pattern;
|
|
19019
19025
|
}
|
|
19020
19026
|
|
|
19021
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19027
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/record.js
|
|
19022
19028
|
function parseRecordDef(def, refs) {
|
|
19023
19029
|
if (refs.target === "openAi") {
|
|
19024
19030
|
console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");
|
|
@@ -19070,7 +19076,7 @@ function parseRecordDef(def, refs) {
|
|
|
19070
19076
|
return schema;
|
|
19071
19077
|
}
|
|
19072
19078
|
|
|
19073
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19079
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/map.js
|
|
19074
19080
|
function parseMapDef(def, refs) {
|
|
19075
19081
|
if (refs.mapStrategy === "record") {
|
|
19076
19082
|
return parseRecordDef(def, refs);
|
|
@@ -19095,7 +19101,7 @@ function parseMapDef(def, refs) {
|
|
|
19095
19101
|
};
|
|
19096
19102
|
}
|
|
19097
19103
|
|
|
19098
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19104
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js
|
|
19099
19105
|
function parseNativeEnumDef(def) {
|
|
19100
19106
|
const object3 = def.values;
|
|
19101
19107
|
const actualKeys = Object.keys(def.values).filter((key) => {
|
|
@@ -19109,7 +19115,7 @@ function parseNativeEnumDef(def) {
|
|
|
19109
19115
|
};
|
|
19110
19116
|
}
|
|
19111
19117
|
|
|
19112
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19118
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/never.js
|
|
19113
19119
|
function parseNeverDef(refs) {
|
|
19114
19120
|
return refs.target === "openAi" ? void 0 : {
|
|
19115
19121
|
not: parseAnyDef({
|
|
@@ -19119,7 +19125,7 @@ function parseNeverDef(refs) {
|
|
|
19119
19125
|
};
|
|
19120
19126
|
}
|
|
19121
19127
|
|
|
19122
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19128
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/null.js
|
|
19123
19129
|
function parseNullDef(refs) {
|
|
19124
19130
|
return refs.target === "openApi3" ? {
|
|
19125
19131
|
enum: ["null"],
|
|
@@ -19129,7 +19135,7 @@ function parseNullDef(refs) {
|
|
|
19129
19135
|
};
|
|
19130
19136
|
}
|
|
19131
19137
|
|
|
19132
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19138
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/union.js
|
|
19133
19139
|
var primitiveMappings = {
|
|
19134
19140
|
ZodString: "string",
|
|
19135
19141
|
ZodNumber: "number",
|
|
@@ -19197,7 +19203,7 @@ var asAnyOf = (def, refs) => {
|
|
|
19197
19203
|
return anyOf.length ? { anyOf } : void 0;
|
|
19198
19204
|
};
|
|
19199
19205
|
|
|
19200
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19206
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js
|
|
19201
19207
|
function parseNullableDef(def, refs) {
|
|
19202
19208
|
if (["ZodString", "ZodNumber", "ZodBigInt", "ZodBoolean", "ZodNull"].includes(def.innerType._def.typeName) && (!def.innerType._def.checks || !def.innerType._def.checks.length)) {
|
|
19203
19209
|
if (refs.target === "openApi3") {
|
|
@@ -19229,7 +19235,7 @@ function parseNullableDef(def, refs) {
|
|
|
19229
19235
|
return base && { anyOf: [base, { type: "null" }] };
|
|
19230
19236
|
}
|
|
19231
19237
|
|
|
19232
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19238
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/number.js
|
|
19233
19239
|
function parseNumberDef(def, refs) {
|
|
19234
19240
|
const res = {
|
|
19235
19241
|
type: "number"
|
|
@@ -19278,7 +19284,7 @@ function parseNumberDef(def, refs) {
|
|
|
19278
19284
|
return res;
|
|
19279
19285
|
}
|
|
19280
19286
|
|
|
19281
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19287
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/object.js
|
|
19282
19288
|
function parseObjectDef(def, refs) {
|
|
19283
19289
|
const forceOptionalIntoNullable = refs.target === "openAi";
|
|
19284
19290
|
const result = {
|
|
@@ -19348,7 +19354,7 @@ function safeIsOptional(schema) {
|
|
|
19348
19354
|
}
|
|
19349
19355
|
}
|
|
19350
19356
|
|
|
19351
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19357
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js
|
|
19352
19358
|
var parseOptionalDef = (def, refs) => {
|
|
19353
19359
|
if (refs.currentPath.toString() === refs.propertyPath?.toString()) {
|
|
19354
19360
|
return parseDef(def.innerType._def, refs);
|
|
@@ -19367,7 +19373,7 @@ var parseOptionalDef = (def, refs) => {
|
|
|
19367
19373
|
} : parseAnyDef(refs);
|
|
19368
19374
|
};
|
|
19369
19375
|
|
|
19370
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19376
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js
|
|
19371
19377
|
var parsePipelineDef = (def, refs) => {
|
|
19372
19378
|
if (refs.pipeStrategy === "input") {
|
|
19373
19379
|
return parseDef(def.in._def, refs);
|
|
@@ -19387,12 +19393,12 @@ var parsePipelineDef = (def, refs) => {
|
|
|
19387
19393
|
};
|
|
19388
19394
|
};
|
|
19389
19395
|
|
|
19390
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19396
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js
|
|
19391
19397
|
function parsePromiseDef(def, refs) {
|
|
19392
19398
|
return parseDef(def.type._def, refs);
|
|
19393
19399
|
}
|
|
19394
19400
|
|
|
19395
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19401
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/set.js
|
|
19396
19402
|
function parseSetDef(def, refs) {
|
|
19397
19403
|
const items = parseDef(def.valueType._def, {
|
|
19398
19404
|
...refs,
|
|
@@ -19412,7 +19418,7 @@ function parseSetDef(def, refs) {
|
|
|
19412
19418
|
return schema;
|
|
19413
19419
|
}
|
|
19414
19420
|
|
|
19415
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19421
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js
|
|
19416
19422
|
function parseTupleDef(def, refs) {
|
|
19417
19423
|
if (def.rest) {
|
|
19418
19424
|
return {
|
|
@@ -19440,24 +19446,24 @@ function parseTupleDef(def, refs) {
|
|
|
19440
19446
|
}
|
|
19441
19447
|
}
|
|
19442
19448
|
|
|
19443
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19449
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js
|
|
19444
19450
|
function parseUndefinedDef(refs) {
|
|
19445
19451
|
return {
|
|
19446
19452
|
not: parseAnyDef(refs)
|
|
19447
19453
|
};
|
|
19448
19454
|
}
|
|
19449
19455
|
|
|
19450
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19456
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js
|
|
19451
19457
|
function parseUnknownDef(refs) {
|
|
19452
19458
|
return parseAnyDef(refs);
|
|
19453
19459
|
}
|
|
19454
19460
|
|
|
19455
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19461
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js
|
|
19456
19462
|
var parseReadonlyDef = (def, refs) => {
|
|
19457
19463
|
return parseDef(def.innerType._def, refs);
|
|
19458
19464
|
};
|
|
19459
19465
|
|
|
19460
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19466
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/selectParser.js
|
|
19461
19467
|
var selectParser = (def, typeName, refs) => {
|
|
19462
19468
|
switch (typeName) {
|
|
19463
19469
|
case ZodFirstPartyTypeKind.ZodString:
|
|
@@ -19533,7 +19539,7 @@ var selectParser = (def, typeName, refs) => {
|
|
|
19533
19539
|
}
|
|
19534
19540
|
};
|
|
19535
19541
|
|
|
19536
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19542
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parseDef.js
|
|
19537
19543
|
function parseDef(def, refs, forceResolution = false) {
|
|
19538
19544
|
const seenItem = refs.seen.get(def);
|
|
19539
19545
|
if (refs.override) {
|
|
@@ -19589,7 +19595,7 @@ var addMeta = (def, refs, jsonSchema) => {
|
|
|
19589
19595
|
return jsonSchema;
|
|
19590
19596
|
};
|
|
19591
19597
|
|
|
19592
|
-
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.
|
|
19598
|
+
// ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js
|
|
19593
19599
|
var zodToJsonSchema = (schema, options) => {
|
|
19594
19600
|
const refs = getRefs(options);
|
|
19595
19601
|
let definitions = typeof options === "object" && options.definitions ? Object.entries(options.definitions).reduce((acc, [name2, schema2]) => ({
|
|
@@ -19651,7 +19657,7 @@ var zodToJsonSchema = (schema, options) => {
|
|
|
19651
19657
|
return combined;
|
|
19652
19658
|
};
|
|
19653
19659
|
|
|
19654
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
19660
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js
|
|
19655
19661
|
function mapMiniTarget(t) {
|
|
19656
19662
|
if (!t)
|
|
19657
19663
|
return "draft-7";
|
|
@@ -19693,7 +19699,7 @@ function parseWithCompat(schema, data) {
|
|
|
19693
19699
|
return result.data;
|
|
19694
19700
|
}
|
|
19695
19701
|
|
|
19696
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
19702
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js
|
|
19697
19703
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 6e4;
|
|
19698
19704
|
var Protocol = class {
|
|
19699
19705
|
constructor(_options) {
|
|
@@ -20647,7 +20653,7 @@ function mergeCapabilities(base, additional) {
|
|
|
20647
20653
|
return result;
|
|
20648
20654
|
}
|
|
20649
20655
|
|
|
20650
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
20656
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js
|
|
20651
20657
|
var import_ajv = __toESM(require_ajv(), 1);
|
|
20652
20658
|
var import_ajv_formats = __toESM(require_dist(), 1);
|
|
20653
20659
|
function createDefaultAjvInstance() {
|
|
@@ -20715,7 +20721,7 @@ var AjvJsonSchemaValidator = class {
|
|
|
20715
20721
|
}
|
|
20716
20722
|
};
|
|
20717
20723
|
|
|
20718
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
20724
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/server.js
|
|
20719
20725
|
var ExperimentalServerTasks = class {
|
|
20720
20726
|
constructor(_server) {
|
|
20721
20727
|
this._server = _server;
|
|
@@ -20928,7 +20934,7 @@ var ExperimentalServerTasks = class {
|
|
|
20928
20934
|
}
|
|
20929
20935
|
};
|
|
20930
20936
|
|
|
20931
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
20937
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
20932
20938
|
function assertToolsCallTaskCapability(requests, method, entityName) {
|
|
20933
20939
|
if (!requests) {
|
|
20934
20940
|
throw new Error(`${entityName} does not support task creation (required for ${method})`);
|
|
@@ -20963,7 +20969,7 @@ function assertClientRequestTaskCapability(requests, method, entityName) {
|
|
|
20963
20969
|
}
|
|
20964
20970
|
}
|
|
20965
20971
|
|
|
20966
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
20972
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/index.js
|
|
20967
20973
|
var Server = class extends Protocol {
|
|
20968
20974
|
/**
|
|
20969
20975
|
* Initializes this server with the given name and version information.
|
|
@@ -21343,7 +21349,7 @@ var Server = class extends Protocol {
|
|
|
21343
21349
|
}
|
|
21344
21350
|
};
|
|
21345
21351
|
|
|
21346
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
21352
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/completable.js
|
|
21347
21353
|
var COMPLETABLE_SYMBOL = /* @__PURE__ */ Symbol.for("mcp.completable");
|
|
21348
21354
|
function isCompletable(schema) {
|
|
21349
21355
|
return !!schema && typeof schema === "object" && COMPLETABLE_SYMBOL in schema;
|
|
@@ -21357,7 +21363,7 @@ var McpZodTypeKind;
|
|
|
21357
21363
|
McpZodTypeKind2["Completable"] = "McpCompletable";
|
|
21358
21364
|
})(McpZodTypeKind || (McpZodTypeKind = {}));
|
|
21359
21365
|
|
|
21360
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
21366
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/toolNameValidation.js
|
|
21361
21367
|
var TOOL_NAME_REGEX = /^[A-Za-z0-9._-]{1,128}$/;
|
|
21362
21368
|
function validateToolName(name) {
|
|
21363
21369
|
const warnings = [];
|
|
@@ -21415,7 +21421,7 @@ function validateAndWarnToolName(name) {
|
|
|
21415
21421
|
return result.isValid;
|
|
21416
21422
|
}
|
|
21417
21423
|
|
|
21418
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
21424
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/mcp-server.js
|
|
21419
21425
|
var ExperimentalMcpServerTasks = class {
|
|
21420
21426
|
constructor(_mcpServer) {
|
|
21421
21427
|
this._mcpServer = _mcpServer;
|
|
@@ -21430,7 +21436,7 @@ var ExperimentalMcpServerTasks = class {
|
|
|
21430
21436
|
}
|
|
21431
21437
|
};
|
|
21432
21438
|
|
|
21433
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.
|
|
21439
|
+
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/mcp.js
|
|
21434
21440
|
var McpServer = class {
|
|
21435
21441
|
constructor(serverInfo, options) {
|
|
21436
21442
|
this._registeredResources = {};
|
|
@@ -22225,7 +22231,7 @@ var EMPTY_COMPLETION_RESULT = {
|
|
|
22225
22231
|
// package.json
|
|
22226
22232
|
var package_default = {
|
|
22227
22233
|
name: "@db-ux/mcp-server",
|
|
22228
|
-
version: "4.7.
|
|
22234
|
+
version: "4.7.3",
|
|
22229
22235
|
type: "module",
|
|
22230
22236
|
description: "MCP server for DB UX Design System \u2013 gives LLMs access to UI components and code examples",
|
|
22231
22237
|
repository: {
|
|
@@ -22264,7 +22270,7 @@ var package_default = {
|
|
|
22264
22270
|
},
|
|
22265
22271
|
dependencies: {
|
|
22266
22272
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
22267
|
-
zod: "4.4.
|
|
22273
|
+
zod: "4.4.3"
|
|
22268
22274
|
},
|
|
22269
22275
|
devDependencies: {
|
|
22270
22276
|
"@db-ux/db-theme-icons": "3.9.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/mcp-server",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "MCP server for DB UX Design System – gives LLMs access to UI components and code examples",
|
|
6
6
|
"repository": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@modelcontextprotocol/sdk": "1.29.0",
|
|
27
|
-
"zod": "4.4.
|
|
27
|
+
"zod": "4.4.3"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@db-ux/db-theme-icons": "3.9.0",
|
package/LICENSE
DELETED
|
@@ -1,253 +0,0 @@
|
|
|
1
|
-
The DB source code is licensed under the Apache License, Version 2.0, January 2004;
|
|
2
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
|
3
|
-
of the Apache License at https://apache.org/licenses/LICENSE-2.0. The DB source code
|
|
4
|
-
does not include any DB specific design assets like fonts, icons, trademarks, brandings, etc.
|
|
5
|
-
|
|
6
|
-
All Deutsche Bahn AG (hereinafter “DB”) specific design assets like fonts, icons,
|
|
7
|
-
trademarks, brandings, etc. (hereinafter “DB Designs”) are licensed under the following
|
|
8
|
-
license agreement (the “DB Designs License”):
|
|
9
|
-
|
|
10
|
-
- The DB Designs may only be used by external users who are acting as contractors or
|
|
11
|
-
service providers for DB or a group company by virtue of a contractual relationship and
|
|
12
|
-
use the DB Designs in this context ("User"). A license agreement with third parties who
|
|
13
|
-
are not in a contractual relationship with DB or a group company is not possible.
|
|
14
|
-
- DB is and remains the owner or holds the exclusive usage rights to the DB Designs.
|
|
15
|
-
DB grants the User a royalty-free, non-exclusive, non-transferable, and non-sublicensable
|
|
16
|
-
right, limited geographically, temporally, and in content to the duration and purposes
|
|
17
|
-
of the contractual relationship with DB or a group company, to use the DB Designs in
|
|
18
|
-
accordance with this license agreement.
|
|
19
|
-
- The User may use the DB Designs only in connection with or for the fulfillment of
|
|
20
|
-
orders and/or services that they provide for DB or a group company. Any other use,
|
|
21
|
-
particularly for private personal purposes or for unauthorized third parties, is
|
|
22
|
-
prohibited. The User may not sublicense, distribute, or otherwise make the DB Designs
|
|
23
|
-
accessible to third parties who are not part of DB AG or a group company, unless this
|
|
24
|
-
is expressly permitted by the underlying contractual relationship between the User and
|
|
25
|
-
DB or the group company. The User may not modify, alter, convert, edit, reverse engineer,
|
|
26
|
-
or decompile the DB Designs; in particular, they may not make any graphical changes
|
|
27
|
-
and/or alter, remove, or add technical functions. Editing or using the DB Designs in
|
|
28
|
-
an altered form is only permitted with the express prior written consent of DB.
|
|
29
|
-
- Unless required by applicable law or agreed to in writing, DB provides the DB Designs
|
|
30
|
-
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
31
|
-
implied, including, without limitation, any warranties or conditions of title,
|
|
32
|
-
non-infringement, merchantability, or fitness for a particular purpose. DB is only liable
|
|
33
|
-
in cases of intent or gross negligence, within the framework of mandatory statutory
|
|
34
|
-
liability provisions, particularly the Product Liability Act, as well as for damages
|
|
35
|
-
arising from injury to life, body, or health of individuals. In cases of gross negligence,
|
|
36
|
-
liability is limited to typical and foreseeable damages. This limitation of liability also
|
|
37
|
-
applies in favor of group companies as well as in favor of vicarious agents of DB and
|
|
38
|
-
its group companies.
|
|
39
|
-
- This DB Designs License automatically ends at the time when the underlying contractual
|
|
40
|
-
relationship between the user and DB or a group company ends. DB may terminate this
|
|
41
|
-
DB Designs License at any time without notice for good cause, in particular, if the User
|
|
42
|
-
violates this DB Designs License and does not cease the violation within a reasonable
|
|
43
|
-
period after a warning. The User is obligated to cease using the DB Designs immediately
|
|
44
|
-
upon termination of this DB Designs License and to delete all DB Designs and related files
|
|
45
|
-
in their possession or installed on their systems, as well as any backup copies, without delay.
|
|
46
|
-
- If any provision of this agreement is or becomes invalid or unenforceable, the remaining
|
|
47
|
-
provisions of this agreement shall remain unaffected. In place of the invalid or unenforceable
|
|
48
|
-
provision, a provision shall be deemed agreed upon that comes closest to the economic purpose
|
|
49
|
-
of the invalid or unenforceable provision in a legally permissible manner. The same applies in
|
|
50
|
-
the event of a gap in the agreement. This DB Designs License is governed by and construed in
|
|
51
|
-
accordance with the laws of Germany, excluding conflicts of law rules and principles.
|
|
52
|
-
|
|
53
|
-
Apache License
|
|
54
|
-
Version 2.0, January 2004
|
|
55
|
-
http://www.apache.org/licenses/
|
|
56
|
-
|
|
57
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
58
|
-
|
|
59
|
-
1. Definitions.
|
|
60
|
-
|
|
61
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
62
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
63
|
-
|
|
64
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
65
|
-
the copyright owner that is granting the License.
|
|
66
|
-
|
|
67
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
68
|
-
other entities that control, are controlled by, or are under common
|
|
69
|
-
control with that entity. For the purposes of this definition,
|
|
70
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
71
|
-
direction or management of such entity, whether by contract or
|
|
72
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
73
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
74
|
-
|
|
75
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
76
|
-
exercising permissions granted by this License.
|
|
77
|
-
|
|
78
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
79
|
-
including but not limited to software source code, documentation
|
|
80
|
-
source, and configuration files.
|
|
81
|
-
|
|
82
|
-
"Object" form shall mean any form resulting from mechanical
|
|
83
|
-
transformation or translation of a Source form, including but
|
|
84
|
-
not limited to compiled object code, generated documentation,
|
|
85
|
-
and conversions to other media types.
|
|
86
|
-
|
|
87
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
88
|
-
Object form, made available under the License, as indicated by a
|
|
89
|
-
copyright notice that is included in or attached to the work
|
|
90
|
-
(an example is provided in the Appendix below).
|
|
91
|
-
|
|
92
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
93
|
-
form, that is based on (or derived from) the Work and for which the
|
|
94
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
95
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
96
|
-
of this License, Derivative Works shall not include works that remain
|
|
97
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
98
|
-
the Work and Derivative Works thereof.
|
|
99
|
-
|
|
100
|
-
"Contribution" shall mean any work of authorship, including
|
|
101
|
-
the original version of the Work and any modifications or additions
|
|
102
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
103
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
104
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
105
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
106
|
-
means any form of electronic, verbal, or written communication sent
|
|
107
|
-
to the Licensor or its representatives, including but not limited to
|
|
108
|
-
communication on electronic mailing lists, source code control systems,
|
|
109
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
110
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
111
|
-
excluding communication that is conspicuously marked or otherwise
|
|
112
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
113
|
-
|
|
114
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
115
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
116
|
-
subsequently incorporated within the Work.
|
|
117
|
-
|
|
118
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
119
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
120
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
121
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
122
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
123
|
-
Work and such Derivative Works in Source or Object form.
|
|
124
|
-
|
|
125
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
126
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
127
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
128
|
-
(except as stated in this section) patent license to make, have made,
|
|
129
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
130
|
-
where such license applies only to those patent claims licensable
|
|
131
|
-
by such Contributor that are necessarily infringed by their
|
|
132
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
133
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
134
|
-
institute patent litigation against any entity (including a
|
|
135
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
136
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
137
|
-
or contributory patent infringement, then any patent licenses
|
|
138
|
-
granted to You under this License for that Work shall terminate
|
|
139
|
-
as of the date such litigation is filed.
|
|
140
|
-
|
|
141
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
142
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
143
|
-
modifications, and in Source or Object form, provided that You
|
|
144
|
-
meet the following conditions:
|
|
145
|
-
|
|
146
|
-
(a) You must give any other recipients of the Work or
|
|
147
|
-
Derivative Works a copy of this License; and
|
|
148
|
-
|
|
149
|
-
(b) You must cause any modified files to carry prominent notices
|
|
150
|
-
stating that You changed the files; and
|
|
151
|
-
|
|
152
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
153
|
-
that You distribute, all copyright, patent, trademark, and
|
|
154
|
-
attribution notices from the Source form of the Work,
|
|
155
|
-
excluding those notices that do not pertain to any part of
|
|
156
|
-
the Derivative Works; and
|
|
157
|
-
|
|
158
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
159
|
-
distribution, then any Derivative Works that You distribute must
|
|
160
|
-
include a readable copy of the attribution notices contained
|
|
161
|
-
within such NOTICE file, excluding those notices that do not
|
|
162
|
-
pertain to any part of the Derivative Works, in at least one
|
|
163
|
-
of the following places: within a NOTICE text file distributed
|
|
164
|
-
as part of the Derivative Works; within the Source form or
|
|
165
|
-
documentation, if provided along with the Derivative Works; or,
|
|
166
|
-
within a display generated by the Derivative Works, if and
|
|
167
|
-
wherever such third-party notices normally appear. The contents
|
|
168
|
-
of the NOTICE file are for informational purposes only and
|
|
169
|
-
do not modify the License. You may add Your own attribution
|
|
170
|
-
notices within Derivative Works that You distribute, alongside
|
|
171
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
172
|
-
that such additional attribution notices cannot be construed
|
|
173
|
-
as modifying the License.
|
|
174
|
-
|
|
175
|
-
You may add Your own copyright statement to Your modifications and
|
|
176
|
-
may provide additional or different license terms and conditions
|
|
177
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
178
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
179
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
180
|
-
the conditions stated in this License.
|
|
181
|
-
|
|
182
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
183
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
184
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
185
|
-
this License, without any additional terms or conditions.
|
|
186
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
187
|
-
the terms of any separate license agreement you may have executed
|
|
188
|
-
with Licensor regarding such Contributions.
|
|
189
|
-
|
|
190
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
191
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
192
|
-
except as required for reasonable and customary use in describing the
|
|
193
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
194
|
-
|
|
195
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
196
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
197
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
198
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
199
|
-
implied, including, without limitation, any warranties or conditions
|
|
200
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
201
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
202
|
-
appropriateness of using or redistributing the Work and assume any
|
|
203
|
-
risks associated with Your exercise of permissions under this License.
|
|
204
|
-
|
|
205
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
206
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
207
|
-
unless required by applicable law (such as deliberate and grossly
|
|
208
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
209
|
-
liable to You for damages, including any direct, indirect, special,
|
|
210
|
-
incidental, or consequential damages of any character arising as a
|
|
211
|
-
result of this License or out of the use or inability to use the
|
|
212
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
213
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
214
|
-
other commercial damages or losses), even if such Contributor
|
|
215
|
-
has been advised of the possibility of such damages.
|
|
216
|
-
|
|
217
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
218
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
219
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
220
|
-
or other liability obligations and/or rights consistent with this
|
|
221
|
-
License. However, in accepting such obligations, You may act only
|
|
222
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
223
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
224
|
-
defend, and hold each Contributor harmless for any liability
|
|
225
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
226
|
-
of your accepting any such warranty or additional liability.
|
|
227
|
-
|
|
228
|
-
END OF TERMS AND CONDITIONS
|
|
229
|
-
|
|
230
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
231
|
-
|
|
232
|
-
To apply the Apache License to your work, attach the following
|
|
233
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
234
|
-
replaced with your own identifying information. (Don't include
|
|
235
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
236
|
-
comment syntax for the file format. We also recommend that a
|
|
237
|
-
file or class name and description of purpose be included on the
|
|
238
|
-
same "printed page" as the copyright notice for easier
|
|
239
|
-
identification within third-party archives.
|
|
240
|
-
|
|
241
|
-
Copyright [yyyy] [name of copyright owner]
|
|
242
|
-
|
|
243
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
244
|
-
you may not use this file except in compliance with the License.
|
|
245
|
-
You may obtain a copy of the License at
|
|
246
|
-
|
|
247
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
248
|
-
|
|
249
|
-
Unless required by applicable law or agreed to in writing, software
|
|
250
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
251
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
252
|
-
See the License for the specific language governing permissions and
|
|
253
|
-
limitations under the License.
|