mcp-use 1.2.5-canary.2 → 1.2.5-canary.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.
@@ -1054,7 +1054,7 @@ var McpServer = class {
1054
1054
  async readBuildManifest() {
1055
1055
  try {
1056
1056
  const manifestPath = pathHelpers.join(
1057
- getCwd(),
1057
+ isDeno ? "." : getCwd(),
1058
1058
  "dist",
1059
1059
  "mcp-use.json"
1060
1060
  );
@@ -1396,7 +1396,7 @@ if (container && Component) {
1396
1396
  async mountWidgetsProduction(options) {
1397
1397
  const baseRoute = options?.baseRoute || "/mcp-use/widgets";
1398
1398
  const widgetsDir = pathHelpers.join(
1399
- getCwd(),
1399
+ isDeno ? "." : getCwd(),
1400
1400
  "dist",
1401
1401
  "resources",
1402
1402
  "widgets"
@@ -1016,7 +1016,7 @@ var McpServer = class {
1016
1016
  async readBuildManifest() {
1017
1017
  try {
1018
1018
  const manifestPath = pathHelpers.join(
1019
- getCwd(),
1019
+ isDeno ? "." : getCwd(),
1020
1020
  "dist",
1021
1021
  "mcp-use.json"
1022
1022
  );
@@ -1358,7 +1358,7 @@ if (container && Component) {
1358
1358
  async mountWidgetsProduction(options) {
1359
1359
  const baseRoute = options?.baseRoute || "/mcp-use/widgets";
1360
1360
  const widgetsDir = pathHelpers.join(
1361
- getCwd(),
1361
+ isDeno ? "." : getCwd(),
1362
1362
  "dist",
1363
1363
  "resources",
1364
1364
  "widgets"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mcp-use",
3
3
  "type": "module",
4
- "version": "1.2.5-canary.2",
4
+ "version": "1.2.5-canary.3",
5
5
  "packageManager": "pnpm@10.6.1",
6
6
  "description": "Opinionated MCP Framework for TypeScript (@modelcontextprotocol/sdk compatible) - Build MCP Agents and Clients + MCP Servers with support for MCP-UI.",
7
7
  "author": "mcp-use, Inc.",