@min98/ui 1.3.58 → 1.3.59
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/lib/index.cjs +8 -8
- package/lib/index.d.cts +2 -2
- package/lib/index.d.ts +2 -2
- package/lib/index.js +8 -8
- package/lib/min98-ui-catalog.json +34 -56
- package/lib/min98-ui-mcp.mjs +3 -3
- package/package.json +1 -1
package/lib/min98-ui-mcp.mjs
CHANGED
|
@@ -17,7 +17,7 @@ const MAX_HTTP_BODY_BYTES = 1024 * 1024;
|
|
|
17
17
|
function loadCatalog() {
|
|
18
18
|
if (!fs.existsSync(CATALOG_PATH)) {
|
|
19
19
|
return {
|
|
20
|
-
serverInfo: { name: "min98-ui-docs-mcp", version: "1.3.
|
|
20
|
+
serverInfo: { name: "min98-ui-docs-mcp", version: "1.3.59" },
|
|
21
21
|
tools: [],
|
|
22
22
|
resources: [],
|
|
23
23
|
components: [],
|
|
@@ -231,7 +231,7 @@ export function handleMessage(msg) {
|
|
|
231
231
|
},
|
|
232
232
|
serverInfo: catalog.serverInfo || {
|
|
233
233
|
name: "min98-ui-docs-mcp",
|
|
234
|
-
version: "1.3.
|
|
234
|
+
version: "1.3.59",
|
|
235
235
|
},
|
|
236
236
|
},
|
|
237
237
|
};
|
|
@@ -414,7 +414,7 @@ export function startHttpServer({ port = 3333, host = "127.0.0.1" } = {}) {
|
|
|
414
414
|
|
|
415
415
|
if (req.method === "GET") {
|
|
416
416
|
sendJson(res, 200, {
|
|
417
|
-
serverInfo: catalog.serverInfo || { name: "min98-ui-docs-mcp", version: "1.3.
|
|
417
|
+
serverInfo: catalog.serverInfo || { name: "min98-ui-docs-mcp", version: "1.3.59" },
|
|
418
418
|
protocolVersion: "2024-11-05",
|
|
419
419
|
transport: "streamable-http",
|
|
420
420
|
capabilities: {
|