@mcp-use/cli 2.1.21-canary.6 → 2.1.21
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 +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -258,6 +258,8 @@ if (container && Component) {
|
|
|
258
258
|
const mod = await metadataServer.ssrLoadModule(entry);
|
|
259
259
|
if (mod.widgetMetadata) {
|
|
260
260
|
widgetMetadata = {
|
|
261
|
+
...mod.widgetMetadata,
|
|
262
|
+
title: mod.widgetMetadata.title || widgetName,
|
|
261
263
|
description: mod.widgetMetadata.description,
|
|
262
264
|
inputs: mod.widgetMetadata.inputs?.shape || {}
|
|
263
265
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -235,6 +235,8 @@ if (container && Component) {
|
|
|
235
235
|
const mod = await metadataServer.ssrLoadModule(entry);
|
|
236
236
|
if (mod.widgetMetadata) {
|
|
237
237
|
widgetMetadata = {
|
|
238
|
+
...mod.widgetMetadata,
|
|
239
|
+
title: mod.widgetMetadata.title || widgetName,
|
|
238
240
|
description: mod.widgetMetadata.description,
|
|
239
241
|
inputs: mod.widgetMetadata.inputs?.shape || {}
|
|
240
242
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-use/cli",
|
|
3
|
-
"version": "2.1.21
|
|
3
|
+
"version": "2.1.21",
|
|
4
4
|
"description": "Build tool for MCP UI widgets - bundles React components into standalone HTML pages for Model Context Protocol servers",
|
|
5
5
|
"author": "mcp-use, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"tsx": "^4.0.0",
|
|
45
45
|
"vite": "^6.0.0",
|
|
46
46
|
"ws": "^8.18.0",
|
|
47
|
-
"@mcp-use/inspector": "0.4.9
|
|
48
|
-
"mcp-use": "1.2.0
|
|
47
|
+
"@mcp-use/inspector": "0.4.9",
|
|
48
|
+
"mcp-use": "1.2.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@types/node": "^20.0.0",
|