@mcp-use/cli 2.21.2 → 2.21.3-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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -5328,7 +5328,7 @@ async function generateToolRegistryTypesForServer(projectPath, serverFileRelativ
|
|
|
5328
5328
|
);
|
|
5329
5329
|
}
|
|
5330
5330
|
const mcpUsePath = path7.join(projectPath, "node_modules", "mcp-use");
|
|
5331
|
-
const { generateToolRegistryTypes } = await import(path7.join(mcpUsePath, "dist", "src", "server", "index.js")).then((mod) => mod);
|
|
5331
|
+
const { generateToolRegistryTypes } = await import(pathToFileURL(path7.join(mcpUsePath, "dist", "src", "server", "index.js")).href).then((mod) => mod);
|
|
5332
5332
|
if (!generateToolRegistryTypes) {
|
|
5333
5333
|
throw new Error("generateToolRegistryTypes not found in mcp-use package");
|
|
5334
5334
|
}
|