mcp-use 1.4.1-canary.0 → 1.4.1-canary.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/dist/index.cjs CHANGED
@@ -4352,6 +4352,10 @@ ${shim}
4352
4352
  init_logging();
4353
4353
  var vm = null;
4354
4354
  var vmCheckAttempted = false;
4355
+ function getVMModuleName() {
4356
+ return ["node", "vm"].join(":");
4357
+ }
4358
+ __name(getVMModuleName, "getVMModuleName");
4355
4359
  function tryLoadVM() {
4356
4360
  if (vmCheckAttempted) {
4357
4361
  return vm !== null;
@@ -4360,7 +4364,7 @@ function tryLoadVM() {
4360
4364
  try {
4361
4365
  const nodeRequire = typeof require !== "undefined" ? require : null;
4362
4366
  if (nodeRequire) {
4363
- vm = nodeRequire("node:vm");
4367
+ vm = nodeRequire(getVMModuleName());
4364
4368
  return true;
4365
4369
  }
4366
4370
  } catch (error) {
@@ -4379,7 +4383,10 @@ async function tryLoadVMAsync() {
4379
4383
  }
4380
4384
  }
4381
4385
  try {
4382
- vm = await import("vm");
4386
+ vm = await import(
4387
+ /* @vite-ignore */
4388
+ getVMModuleName()
4389
+ );
4383
4390
  return true;
4384
4391
  } catch (error) {
4385
4392
  logger.debug(
package/dist/index.js CHANGED
@@ -463,6 +463,10 @@ ${shim}
463
463
  // src/client/executors/vm.ts
464
464
  var vm = null;
465
465
  var vmCheckAttempted = false;
466
+ function getVMModuleName() {
467
+ return ["node", "vm"].join(":");
468
+ }
469
+ __name(getVMModuleName, "getVMModuleName");
466
470
  function tryLoadVM() {
467
471
  if (vmCheckAttempted) {
468
472
  return vm !== null;
@@ -471,7 +475,7 @@ function tryLoadVM() {
471
475
  try {
472
476
  const nodeRequire = typeof __require !== "undefined" ? __require : null;
473
477
  if (nodeRequire) {
474
- vm = nodeRequire("node:vm");
478
+ vm = nodeRequire(getVMModuleName());
475
479
  return true;
476
480
  }
477
481
  } catch (error) {
@@ -490,7 +494,10 @@ async function tryLoadVMAsync() {
490
494
  }
491
495
  }
492
496
  try {
493
- vm = await import("vm");
497
+ vm = await import(
498
+ /* @vite-ignore */
499
+ getVMModuleName()
500
+ );
494
501
  return true;
495
502
  } catch (error) {
496
503
  logger.debug(
@@ -1 +1 @@
1
- {"version":3,"file":"vm.d.ts","sourceRoot":"","sources":["../../../../src/client/executors/vm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpE,OAAO,EAAE,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,WAAW,CAAC;AA4DnE;;;GAGG;AACH,wBAAgB,aAAa,IAAI,OAAO,CAGvC;AAED;;;GAGG;AACH,qBAAa,cAAe,SAAQ,gBAAgB;IAClD,OAAO,CAAC,cAAc,CAAS;IAC/B,OAAO,CAAC,aAAa,CAAC,CAAS;gBAEnB,MAAM,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,iBAAiB;IAS1D;;OAEG;YACW,cAAc;IAc5B;;;;;OAKG;IACG,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC;IAsEvE;;;;OAIG;YACW,aAAa;IA6F3B;;;OAGG;IACG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAG/B"}
1
+ {"version":3,"file":"vm.d.ts","sourceRoot":"","sources":["../../../../src/client/executors/vm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEpE,OAAO,EAAE,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,WAAW,CAAC;AAsEnE;;;GAGG;AACH,wBAAgB,aAAa,IAAI,OAAO,CAGvC;AAED;;;GAGG;AACH,qBAAa,cAAe,SAAQ,gBAAgB;IAClD,OAAO,CAAC,cAAc,CAAS;IAC/B,OAAO,CAAC,aAAa,CAAC,CAAS;gBAEnB,MAAM,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,iBAAiB;IAS1D;;OAEG;YACW,cAAc;IAc5B;;;;;OAKG;IACG,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC;IAsEvE;;;;OAIG;YACW,aAAa;IA6F3B;;;OAGG;IACG,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAG/B"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mcp-use",
3
3
  "type": "module",
4
- "version": "1.4.1-canary.0",
4
+ "version": "1.4.1-canary.1",
5
5
  "description": "Opinionated MCP Framework for TypeScript (@modelcontextprotocol/sdk compatible) - Build MCP Agents and Clients + MCP Servers with support for MCP-UI.",
6
6
  "author": "mcp-use, Inc.",
7
7
  "license": "MIT",
@@ -114,8 +114,8 @@
114
114
  "ws": "^8.18.2",
115
115
  "zod": "^3.25.48",
116
116
  "zod-to-json-schema": "^3.24.6",
117
- "@mcp-use/cli": "2.2.5-canary.0",
118
- "@mcp-use/inspector": "0.6.1-canary.0"
117
+ "@mcp-use/inspector": "0.6.1-canary.1",
118
+ "@mcp-use/cli": "2.2.5-canary.1"
119
119
  },
120
120
  "optionalDependencies": {
121
121
  "@tailwindcss/vite": "^4.1.15",