@mcp-use/cli 2.3.0 → 2.3.1-canary.0

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 CHANGED
@@ -1560,11 +1560,15 @@ program.command("build").description("Build TypeScript and MCP UI widgets").opti
1560
1560
  widgetsData[widget.name] = widget.metadata;
1561
1561
  }
1562
1562
  const includeInspector = !!options.withInspector;
1563
+ const buildTime = (/* @__PURE__ */ new Date()).toISOString();
1564
+ const { createHash } = await import("crypto");
1565
+ const buildId = createHash("sha256").update(buildTime + Math.random().toString()).digest("hex").substring(0, 16);
1563
1566
  const manifest = {
1564
1567
  ...existingManifest,
1565
1568
  // Preserve existing fields like tunnel
1566
1569
  includeInspector,
1567
- buildTime: (/* @__PURE__ */ new Date()).toISOString(),
1570
+ buildTime,
1571
+ buildId,
1568
1572
  widgets: widgetsData
1569
1573
  };
1570
1574
  await fs3.mkdir(import_node_path3.default.dirname(manifestPath), { recursive: true });
package/dist/index.mjs CHANGED
@@ -1539,11 +1539,15 @@ program.command("build").description("Build TypeScript and MCP UI widgets").opti
1539
1539
  widgetsData[widget.name] = widget.metadata;
1540
1540
  }
1541
1541
  const includeInspector = !!options.withInspector;
1542
+ const buildTime = (/* @__PURE__ */ new Date()).toISOString();
1543
+ const { createHash } = await import("crypto");
1544
+ const buildId = createHash("sha256").update(buildTime + Math.random().toString()).digest("hex").substring(0, 16);
1542
1545
  const manifest = {
1543
1546
  ...existingManifest,
1544
1547
  // Preserve existing fields like tunnel
1545
1548
  includeInspector,
1546
- buildTime: (/* @__PURE__ */ new Date()).toISOString(),
1549
+ buildTime,
1550
+ buildId,
1547
1551
  widgets: widgetsData
1548
1552
  };
1549
1553
  await fs3.mkdir(path3.dirname(manifestPath), { recursive: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-use/cli",
3
- "version": "2.3.0",
3
+ "version": "2.3.1-canary.0",
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.7.0",
48
- "mcp-use": "1.5.0"
47
+ "@mcp-use/inspector": "0.7.1-canary.0",
48
+ "mcp-use": "1.5.1-canary.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@types/node": "^20.0.0",