@composio/mastra 0.10.4 → 0.10.6
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 +5 -6
- package/package.json +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { BaseAgenticProvider, ExecuteToolFn, McpUrlResponse, Tool } from "@composio/core";
|
|
2
2
|
import { createTool } from "@mastra/core/tools";
|
|
3
3
|
//#region src/index.d.ts
|
|
4
|
-
type MastraTool = ReturnType<typeof createTool>;
|
|
5
|
-
interface MastraToolCollection {
|
|
4
|
+
export type MastraTool = ReturnType<typeof createTool>;
|
|
5
|
+
export interface MastraToolCollection {
|
|
6
6
|
[key: string]: MastraTool;
|
|
7
7
|
}
|
|
8
|
-
interface MastraUrlMap {
|
|
8
|
+
export interface MastraUrlMap {
|
|
9
9
|
[name: string]: {
|
|
10
10
|
url: string;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
|
-
declare class MastraProvider extends BaseAgenticProvider<MastraToolCollection, MastraTool, MastraUrlMap> {
|
|
13
|
+
export declare class MastraProvider extends BaseAgenticProvider<MastraToolCollection, MastraTool, MastraUrlMap> {
|
|
14
14
|
readonly name = "mastra";
|
|
15
15
|
private strict;
|
|
16
16
|
private warnedDanglingRefs;
|
|
@@ -51,5 +51,4 @@ declare class MastraProvider extends BaseAgenticProvider<MastraToolCollection, M
|
|
|
51
51
|
wrapTools(tools: Tool[], executeTool: ExecuteToolFn): MastraToolCollection;
|
|
52
52
|
private warnDanglingRefOnce;
|
|
53
53
|
}
|
|
54
|
-
//#endregion
|
|
55
|
-
export { MastraProvider, MastraTool, MastraToolCollection, MastraUrlMap };
|
|
54
|
+
//#endregion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@composio/mastra",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.6",
|
|
4
4
|
"description": "Agentic Provider for mastra in Composio SDK",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -37,21 +37,21 @@
|
|
|
37
37
|
"author": "",
|
|
38
38
|
"license": "ISC",
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@composio/core": ">=0.10.0 <1.0.0",
|
|
40
|
+
"@composio/core": ">=0.10.0 <1.0.0 || >=1.0.0-beta.0 <1.0.0",
|
|
41
41
|
"@mastra/core": "^1.46.0",
|
|
42
42
|
"zod": "^3.25 || ^4"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@mastra/core": "1.
|
|
46
|
-
"ai": "^6.0.
|
|
47
|
-
"tsdown": "^0.
|
|
45
|
+
"@mastra/core": "1.53.0",
|
|
46
|
+
"ai": "^6.0.302",
|
|
47
|
+
"tsdown": "^0.23.0",
|
|
48
48
|
"typescript": "^7.0.2",
|
|
49
|
-
"vitest": "^
|
|
50
|
-
"zod": "^4.4
|
|
51
|
-
"@composio/core": "0.
|
|
49
|
+
"vitest": "^5.0.3",
|
|
50
|
+
"zod": "^4.5.4",
|
|
51
|
+
"@composio/core": "0.24.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@mastra/schema-compat": "^1.3.
|
|
54
|
+
"@mastra/schema-compat": "^1.3.13"
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|
|
57
57
|
"clean": "git clean -xdf node_modules",
|