@composio/mastra 0.10.0 → 0.10.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.d.mts +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -42,12 +42,12 @@ declare class MastraProvider extends BaseAgenticProvider<MastraToolCollection, M
|
|
|
42
42
|
strict?: boolean;
|
|
43
43
|
});
|
|
44
44
|
/**
|
|
45
|
-
* Transform MCP URL response into
|
|
46
|
-
*
|
|
47
|
-
*
|
|
45
|
+
* Transform an MCP URL response into the Mastra provider's format.
|
|
46
|
+
* Mastra expects a URL map keyed by server name, so each entry is
|
|
47
|
+
* reduced into an object of `{ [name]: { url } }`.
|
|
48
48
|
*
|
|
49
49
|
* @param data - The MCP URL response data
|
|
50
|
-
* @returns
|
|
50
|
+
* @returns The MCP servers as a Mastra URL map
|
|
51
51
|
*/
|
|
52
52
|
wrapMcpServerResponse(data: McpUrlResponse): MastraUrlMap;
|
|
53
53
|
wrapTool(tool: Tool, executeTool: ExecuteToolFn): MastraTool;
|
package/dist/index.mjs
CHANGED
|
@@ -125,12 +125,12 @@ var MastraProvider = class extends BaseAgenticProvider {
|
|
|
125
125
|
this.strict = strict;
|
|
126
126
|
}
|
|
127
127
|
/**
|
|
128
|
-
* Transform MCP URL response into
|
|
129
|
-
*
|
|
130
|
-
*
|
|
128
|
+
* Transform an MCP URL response into the Mastra provider's format.
|
|
129
|
+
* Mastra expects a URL map keyed by server name, so each entry is
|
|
130
|
+
* reduced into an object of `{ [name]: { url } }`.
|
|
131
131
|
*
|
|
132
132
|
* @param data - The MCP URL response data
|
|
133
|
-
* @returns
|
|
133
|
+
* @returns The MCP servers as a Mastra URL map
|
|
134
134
|
*/
|
|
135
135
|
wrapMcpServerResponse(data) {
|
|
136
136
|
return data.reduce((acc, item) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@composio/mastra",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.1",
|
|
4
4
|
"description": "Agentic Provider for mastra in Composio SDK",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
"license": "ISC",
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@composio/core": ">=0.10.0 <1.0.0",
|
|
38
|
-
"@mastra/core": "^1.0
|
|
38
|
+
"@mastra/core": "^1.46.0",
|
|
39
39
|
"zod": "^3.25 || ^4"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@mastra/core": "^1.
|
|
42
|
+
"@mastra/core": "^1.46.0",
|
|
43
43
|
"tsdown": "^0.22.3",
|
|
44
44
|
"typescript": "^6.0.3",
|
|
45
45
|
"vitest": "^4.1.9",
|
|
46
46
|
"zod": "^4.4.3",
|
|
47
|
-
"@composio/core": "0.
|
|
47
|
+
"@composio/core": "0.13.1"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@mastra/schema-compat": "^1.2.9"
|