@modelcontextprotocol/server-map 0.4.2 → 1.0.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/README.md +18 -0
- package/dist/index.js +9 -9
- package/dist/mcp-app.html +8 -8
- package/dist/server.js +5 -5
- package/package.json +2 -2
package/dist/server.js
CHANGED
|
@@ -12297,7 +12297,7 @@ class Doc {
|
|
|
12297
12297
|
var version = {
|
|
12298
12298
|
major: 4,
|
|
12299
12299
|
minor: 3,
|
|
12300
|
-
patch:
|
|
12300
|
+
patch: 5
|
|
12301
12301
|
};
|
|
12302
12302
|
|
|
12303
12303
|
// ../../node_modules/zod/v4/core/schemas.js
|
|
@@ -13583,7 +13583,7 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
13583
13583
|
if (keyResult instanceof Promise) {
|
|
13584
13584
|
throw new Error("Async schemas not supported in object keys currently");
|
|
13585
13585
|
}
|
|
13586
|
-
const checkNumericKey = typeof key === "string" && number.test(key) && keyResult.issues.length;
|
|
13586
|
+
const checkNumericKey = typeof key === "string" && number.test(key) && keyResult.issues.length && keyResult.issues.some((iss) => iss.code === "invalid_type" && iss.expected === "number");
|
|
13587
13587
|
if (checkNumericKey) {
|
|
13588
13588
|
const retryResult = def.keyType._zod.run({ value: Number(key), issues: [] }, ctx);
|
|
13589
13589
|
if (retryResult instanceof Promise) {
|
|
@@ -20954,7 +20954,7 @@ function finalize(ctx, schema) {
|
|
|
20954
20954
|
}
|
|
20955
20955
|
}
|
|
20956
20956
|
}
|
|
20957
|
-
if (refSchema.$ref
|
|
20957
|
+
if (refSchema.$ref) {
|
|
20958
20958
|
for (const key in schema2) {
|
|
20959
20959
|
if (key === "$ref" || key === "allOf")
|
|
20960
20960
|
continue;
|
|
@@ -28206,7 +28206,7 @@ var EMPTY_COMPLETION_RESULT = {
|
|
|
28206
28206
|
import fs from "node:fs/promises";
|
|
28207
28207
|
import path from "node:path";
|
|
28208
28208
|
|
|
28209
|
-
// ../../dist/src/server/index.js
|
|
28209
|
+
// ../../node_modules/@modelcontextprotocol/ext-apps/dist/src/server/index.js
|
|
28210
28210
|
var QI = Object.defineProperty;
|
|
28211
28211
|
var s = (r, i) => {
|
|
28212
28212
|
for (var o in i)
|
|
@@ -28247,7 +28247,7 @@ class Qn {
|
|
|
28247
28247
|
sessionId;
|
|
28248
28248
|
setProtocolVersion;
|
|
28249
28249
|
}
|
|
28250
|
-
var wv = "
|
|
28250
|
+
var wv = "2026-01-26";
|
|
28251
28251
|
var g = {};
|
|
28252
28252
|
s(g, { xor: () => al, xid: () => Ol, void: () => Zl, uuidv7: () => cl, uuidv6: () => Il, uuidv4: () => ll, uuid: () => el, util: () => D, url: () => bl, uppercase: () => Kr, unknown: () => Nr, union: () => ev, undefined: () => Rl, ulid: () => Nl, uint64: () => Tl, uint32: () => Bl, tuple: () => Yg, trim: () => mr, treeifyError: () => Xv, transform: () => Iv, toUpperCase: () => Tr, toLowerCase: () => Hr, toJSONSchema: () => Yi, templateLiteral: () => lI, symbol: () => Ml, superRefine: () => ee, success: () => uI, stringbool: () => wI, stringFormat: () => El, string: () => Mi, strictObject: () => yl, startsWith: () => Qr, slugify: () => Mr, size: () => kr, setErrorMap: () => b6, set: () => iI, safeParseAsync: () => lg, safeParse: () => eg, safeEncodeAsync: () => Dg, safeEncode: () => Ug, safeDecodeAsync: () => wg, safeDecode: () => kg, registry: () => ui, regexes: () => x, regex: () => Er, refine: () => ge, record: () => Fg, readonly: () => ie, property: () => Ai, promise: () => II, prettifyError: () => Ev, preprocess: () => OI, prefault: () => yg, positive: () => Wi, pipe: () => Gn, partialRecord: () => sl, parseAsync: () => gg, parse: () => ug, overwrite: () => d, optional: () => Jn, object: () => fl, number: () => Og, nullish: () => $I, nullable: () => Ln, null: () => Jg, normalize: () => Br, nonpositive: () => Xi, nonoptional: () => hg, nonnegative: () => Ei, never: () => gv, negative: () => Vi, nativeEnum: () => vI, nanoid: () => kl, nan: () => gI, multipleOf: () => ur, minSize: () => a, minLength: () => nr, mime: () => Fr, meta: () => kI, maxSize: () => gr, maxLength: () => Dr, map: () => nI, mac: () => Pl, lte: () => M, lt: () => y, lowercase: () => Ar, looseRecord: () => rI, looseObject: () => hl, locales: () => On, literal: () => oI, length: () => wr, lazy: () => te, ksuid: () => zl, keyof: () => Cl, jwt: () => Xl, json: () => NI, iso: () => Zr, ipv6: () => jl, ipv4: () => Sl, intersection: () => qg, int64: () => Hl, int32: () => Fl, int: () => Ri, instanceof: () => DI, includes: () => qr, httpUrl: () => _l, hostname: () => Al, hex: () => Kl, hash: () => ql, guid: () => gl, gte: () => Q, gt: () => h, globalRegistry: () => A, getErrorMap: () => _6, function: () => cI, fromJSONSchema: () => SI, formatError: () => en, float64: () => Yl, float32: () => Ql, flattenError: () => gn, file: () => tI, exactOptional: () => xg, enum: () => lv, endsWith: () => Yr, encodeAsync: () => bg, encode: () => Ig, emoji: () => Ul, email: () => ul, e164: () => Vl, discriminatedUnion: () => pl, describe: () => UI, decodeAsync: () => _g, decode: () => cg, date: () => dl, custom: () => _I, cuid2: () => wl, cuid: () => Dl, core: () => ir, config: () => E, coerce: () => Ie, codec: () => eI, clone: () => q, cidrv6: () => Ll, cidrv4: () => Jl, check: () => bI, catch: () => sg, boolean: () => zg, bigint: () => ml, base64url: () => Wl, base64: () => Gl, array: () => Xn, any: () => xl, _function: () => cI, _default: () => Cg, _ZodString: () => xi, ZodXor: () => Eg, ZodXID: () => ai, ZodVoid: () => Vg, ZodUnknown: () => Gg, ZodUnion: () => An, ZodUndefined: () => Pg, ZodUUID: () => p, ZodURL: () => Wn, ZodULID: () => hi, ZodType: () => P, ZodTuple: () => Qg, ZodTransform: () => Mg, ZodTemplateLiteral: () => ve, ZodSymbol: () => Sg, ZodSuccess: () => ag, ZodStringFormat: () => W, ZodString: () => Cr, ZodSet: () => mg, ZodRecord: () => Kn, ZodRealError: () => H, ZodReadonly: () => ne, ZodPromise: () => $e, ZodPrefault: () => fg, ZodPipe: () => _v, ZodOptional: () => cv, ZodObject: () => En, ZodNumberFormat: () => Or, ZodNumber: () => yr, ZodNullable: () => Zg, ZodNull: () => jg, ZodNonOptional: () => bv, ZodNever: () => Wg, ZodNanoID: () => Ci, ZodNaN: () => re, ZodMap: () => Bg, ZodMAC: () => Ng, ZodLiteral: () => Hg, ZodLazy: () => oe, ZodKSUID: () => pi, ZodJWT: () => $v, ZodIssueCode: () => c6, ZodIntersection: () => Kg, ZodISOTime: () => Hi, ZodISODuration: () => Ti, ZodISODateTime: () => Bi, ZodISODate: () => mi, ZodIPv6: () => rv, ZodIPv4: () => si, ZodGUID: () => jn, ZodFunction: () => ue, ZodFirstPartyTypeKind: () => le, ZodFile: () => Tg, ZodExactOptional: () => Rg, ZodError: () => l6, ZodEnum: () => dr, ZodEmoji: () => di, ZodEmail: () => Zi, ZodE164: () => tv, ZodDiscriminatedUnion: () => Ag, ZodDefault: () => dg, ZodDate: () => Vn, ZodCustomStringFormat: () => fr, ZodCustom: () => qn, ZodCodec: () => Uv, ZodCatch: () => pg, ZodCUID2: () => yi, ZodCUID: () => fi, ZodCIDRv6: () => iv, ZodCIDRv4: () => nv, ZodBoolean: () => hr, ZodBigIntFormat: () => uv, ZodBigInt: () => ar, ZodBase64URL: () => ov, ZodBase64: () => vv, ZodArray: () => Xg, ZodAny: () => Lg, TimePrecision: () => Y$, NEVER: () => Nv, $output: () => X$, $input: () => E$, $brand: () => Ov });
|
|
28253
28253
|
var ir = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@modelcontextprotocol/server-map",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "MCP App Server example with CesiumJS 3D globe and geocoding",
|
|
6
6
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"serve": "bun --watch main.ts"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@modelcontextprotocol/ext-apps": "
|
|
29
|
+
"@modelcontextprotocol/ext-apps": "^1.0.0",
|
|
30
30
|
"@modelcontextprotocol/sdk": "^1.24.0",
|
|
31
31
|
"cors": "^2.8.5",
|
|
32
32
|
"express": "^5.1.0",
|