@composio/mastra 0.10.6 → 0.10.8

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 CHANGED
@@ -1,6 +1,13 @@
1
+ /**
2
+ * Mastra Provider
3
+ *
4
+ * This provider provides a set of tools for interacting with Mastra.ai
5
+ *
6
+ * @packageDocumentation
7
+ * @module providers/mastra
8
+ */
1
9
  import { BaseAgenticProvider, ExecuteToolFn, McpUrlResponse, Tool } from "@composio/core";
2
10
  import { createTool } from "@mastra/core/tools";
3
- //#region src/index.d.ts
4
11
  export type MastraTool = ReturnType<typeof createTool>;
5
12
  export interface MastraToolCollection {
6
13
  [key: string]: MastraTool;
@@ -50,5 +57,4 @@ export declare class MastraProvider extends BaseAgenticProvider<MastraToolCollec
50
57
  wrapTool(tool: Tool, executeTool: ExecuteToolFn): MastraTool;
51
58
  wrapTools(tools: Tool[], executeTool: ExecuteToolFn): MastraToolCollection;
52
59
  private warnDanglingRefOnce;
53
- }
54
- //#endregion
60
+ }
package/dist/index.mjs CHANGED
@@ -2,7 +2,7 @@ import { BaseAgenticProvider, dereferenceJsonSchema, logger, normalizeToolArgume
2
2
  import { applyCompatLayer } from "@mastra/schema-compat";
3
3
  import { createTool } from "@mastra/core/tools";
4
4
 
5
- //#region src/relax-output-schema.ts
5
+ // src/relax-output-schema.ts
6
6
  /**
7
7
  * Output-schema leniency for the Mastra provider.
8
8
  *
@@ -85,8 +85,7 @@ function relaxOutputSchema(schema) {
85
85
  return result;
86
86
  }
87
87
 
88
- //#endregion
89
- //#region src/index.ts
88
+ // src/index.ts
90
89
  /**
91
90
  * Mastra Provider
92
91
  *
@@ -206,5 +205,4 @@ var MastraProvider = class extends BaseAgenticProvider {
206
205
  }
207
206
  };
208
207
 
209
- //#endregion
210
208
  export { MastraProvider };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@composio/mastra",
3
- "version": "0.10.6",
3
+ "version": "0.10.8",
4
4
  "description": "Agentic Provider for mastra in Composio SDK",
5
5
  "main": "dist/index.mjs",
6
6
  "type": "module",
@@ -43,15 +43,15 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@mastra/core": "1.53.0",
46
- "ai": "^6.0.302",
47
- "tsdown": "^0.23.0",
46
+ "ai": "7.0.187",
47
+ "tsdown": "^0.23.7",
48
48
  "typescript": "^7.0.2",
49
- "vitest": "^5.0.3",
50
- "zod": "^4.5.4",
51
- "@composio/core": "0.24.0"
49
+ "vitest": "^5.1.0",
50
+ "zod": "^4.6.7",
51
+ "@composio/core": "0.33.0"
52
52
  },
53
53
  "dependencies": {
54
- "@mastra/schema-compat": "^1.3.13"
54
+ "@mastra/schema-compat": "^1.4.1"
55
55
  },
56
56
  "scripts": {
57
57
  "clean": "git clean -xdf node_modules",