@mastra/mcp 0.3.11-alpha.1 → 0.4.0-alpha.2
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/.turbo/turbo-build.log +7 -7
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/configuration.ts +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
> @mastra/mcp@0.
|
|
2
|
+
> @mastra/mcp@0.4.0-alpha.2 build /home/runner/work/mastra/mastra/packages/mcp
|
|
3
3
|
> tsup src/index.ts --format esm,cjs --experimental-dts --clean --treeshake=smallest --splitting
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
6
6
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
7
|
[34mCLI[39m tsup v8.4.0
|
|
8
8
|
[34mTSC[39m Build start
|
|
9
|
-
[32mTSC[39m ⚡️ Build success in
|
|
9
|
+
[32mTSC[39m ⚡️ Build success in 15436ms
|
|
10
10
|
[34mDTS[39m Build start
|
|
11
11
|
[34mCLI[39m Target: es2022
|
|
12
12
|
Analysis will use the bundled TypeScript version 5.8.2
|
|
13
13
|
[36mWriting package typings: /home/runner/work/mastra/mastra/packages/mcp/dist/_tsup-dts-rollup.d.ts[39m
|
|
14
14
|
Analysis will use the bundled TypeScript version 5.8.2
|
|
15
15
|
[36mWriting package typings: /home/runner/work/mastra/mastra/packages/mcp/dist/_tsup-dts-rollup.d.cts[39m
|
|
16
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
+
[32mDTS[39m ⚡️ Build success in 12299ms
|
|
17
17
|
[34mCLI[39m Cleaning output folder
|
|
18
18
|
[34mESM[39m Build start
|
|
19
19
|
[34mCJS[39m Build start
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
20
|
+
[32mESM[39m [1mdist/index.js [22m[32m129.07 KB[39m
|
|
21
|
+
[32mESM[39m ⚡️ Build success in 3839ms
|
|
22
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m129.12 KB[39m
|
|
23
|
+
[32mCJS[39m ⚡️ Build success in 3839ms
|
package/CHANGELOG.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -4338,7 +4338,7 @@ To fix this you have three different options:
|
|
|
4338
4338
|
this.logger.error(`MCPConfiguration errored connecting to MCP server ${name}`, {
|
|
4339
4339
|
error: e instanceof Error ? e.message : String(e)
|
|
4340
4340
|
});
|
|
4341
|
-
throw e;
|
|
4341
|
+
throw new Error(`Failed to connect to MCP server ${name}: ${e instanceof Error ? e.message : String(e)}`);
|
|
4342
4342
|
}
|
|
4343
4343
|
this.logger.debug(`Connected to ${name} MCP server`);
|
|
4344
4344
|
return mcpClient;
|
package/dist/index.js
CHANGED
|
@@ -4336,7 +4336,7 @@ To fix this you have three different options:
|
|
|
4336
4336
|
this.logger.error(`MCPConfiguration errored connecting to MCP server ${name}`, {
|
|
4337
4337
|
error: e instanceof Error ? e.message : String(e)
|
|
4338
4338
|
});
|
|
4339
|
-
throw e;
|
|
4339
|
+
throw new Error(`Failed to connect to MCP server ${name}: ${e instanceof Error ? e.message : String(e)}`);
|
|
4340
4340
|
}
|
|
4341
4341
|
this.logger.debug(`Connected to ${name} MCP server`);
|
|
4342
4342
|
return mcpClient;
|
package/package.json
CHANGED
package/src/configuration.ts
CHANGED
|
@@ -117,7 +117,7 @@ To fix this you have three different options:
|
|
|
117
117
|
this.logger.error(`MCPConfiguration errored connecting to MCP server ${name}`, {
|
|
118
118
|
error: e instanceof Error ? e.message : String(e),
|
|
119
119
|
});
|
|
120
|
-
throw e;
|
|
120
|
+
throw new Error(`Failed to connect to MCP server ${name}: ${e instanceof Error ? e.message : String(e)}`);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
this.logger.debug(`Connected to ${name} MCP server`);
|