@devries-cameron20 / composio Mirror · read-only / commits / 93b3ce09d
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 23, 00:30 UTC

Fix authconfig field fetching signature and response (#1661)

Musthaq Ahamad committed Jun 18, 2025 at 18:33 UTC 93b3ce09de080dcbfbd98f30f1b3bbf43b853b84
25 files changed +201 -149
fern/docs/authentication/custom-auth-configs.mdx
+6 -6
@@ -106,7 +106,7 @@ connReq.id
106
107 console.log(connection);
108
109 -```
109 +````
110 ```python Python maxLines=60
111 # Create a new connected account
112 connection_request = composio.connected_accounts.initiate(
@@ -118,7 +118,7 @@ print(connection_request)
118 # Wait for the connection to be established
119 connected_account = connection_request.wait_for_connection()
120 print(connected_account)
121 -```
121 +````
122
123 </CodeGroup>
124
@@ -169,7 +169,7 @@ const redirectUrl = `${composioEndpoint}?${queryParams.toString()}`;
169 res.redirect(302, redirectUrl);
170 }
171
172 -```
172 +````
173
174 ```python FastAPI (app.py)
175 from fastapi import FastAPI
@@ -187,10 +187,10 @@ composio = Composio()
187 @app.get("/authorize/{toolkit}")
188 def authorize_app(toolkit: str):
189 # retrieve the user id from your app
190 - user_id = ""
190 + user_id = "<user_id>"
191
192 # retrieve the auth config id from your app
193 - auth_config_id = ""
193 + auth_config_id = "<auth_config_id>"
194
195 # initiate the connection request
196 connection_request = composio.connected_accounts.initiate(
@@ -198,7 +198,7 @@ def authorize_app(toolkit: str):
198 auth_config_id=auth_config_id,
199 )
200 return RedirectResponse(url=connection_request.redirect_url)
201 -```
201 +````
202
203 </CodeGroup>
204 </Step>
fern/docs/authentication/programmatic-auth-configs.mdx
+9 -16
@@ -102,12 +102,9 @@ For more complex cases where you need to dynamically discover the exact field na
102 const toolkits = await composio.toolkits.get("NOTION");
103
104 // Extract field names from authConfigDetails
105 -const authFields = toolkits.authConfigDetails?.flatMap(
106 - detail => [
107 - ...detail.fields.authConfigCreation.required.map(field => field.name),
108 - ...detail.fields.authConfigCreation.optional.map(field => field.name)
109 - ]
110 -) || [];
105 +const authFields = await composio.toolkits.getAuthConfigCreationFields('NOTION', 'OAUTH2', {
106 + requiredOnly: true,
107 +});
108
109 console.log("Required auth config fields:", authFields);
110 ```
@@ -139,13 +136,9 @@ const composio = new Composio({
136 apiKey: process.env.COMPOSIO_API_KEY,
137 });
138
142 -const toolkits = await composio.toolkits.get("NOTION");
143 -
144 -// Extract field names from authConfigDetails
145 -const requiredAuthFields =
146 - toolkits.authConfigDetails?.flatMap((detail) =>
147 - detail.fields.authConfigCreation.required.map((field) => field.name)
148 - ) || [];
139 +const authConfigCreationFields = await composio.toolkits.getAuthConfigCreationFields('NOTION', 'OAUTH2', {
140 + requiredOnly: true,
141 +});
142
143 console.log("Required auth config fields:", requiredAuthFields);
144
@@ -154,9 +147,9 @@ const authConfig = await composio.authConfigs.create("NOTION", {
147 type: "use_custom_auth",
148 authScheme: "OAUTH2", // Replace with the correct scheme for your toolkit if different
149 credentials: Object.fromEntries(
157 - requiredAuthFields.map((fieldName) => [
158 - fieldName,
159 - process.env[`NOTION_${fieldName.toUpperCase()}`] || "",
150 + requiredAuthFields.map(({ name }) => [
151 + name,
152 + process.env[`NOTION_${name.toUpperCase()}`] || "",
153 ])
154 ),
155 });
ts/docs/api/toolkits.md
+19 -23
@@ -85,11 +85,10 @@ Retrieves the fields required for creating an auth config for a toolkit.
85
86 ```typescript
87 // Get all fields for creating an auth config
88 -const fields = await composio.toolkits.getAuthConfigCreationFields('github');
88 +const fields = await composio.toolkits.getAuthConfigCreationFields('github', 'OAUTH2');
89
90 // Get only required fields for a specific auth scheme
91 -const requiredFields = await composio.toolkits.getAuthConfigCreationFields('github', {
92 - authScheme: 'OAUTH2',
91 +const requiredFields = await composio.toolkits.getAuthConfigCreationFields('github', 'OAUTH2', {
92 requiredOnly: true,
93 });
94 ```
@@ -97,9 +96,7 @@ const requiredFields = await composio.toolkits.getAuthConfigCreationFields('gith
96 Example Response:
97
98 ```json
100 -{
101 - "authScheme": "OAUTH2",
102 - "fields": [
99 +[
100 {
101 "name": "client_id",
102 "displayName": "Client id",
@@ -126,42 +123,42 @@ Example Response:
123 "default": "read_products,write_products,read_orders,write_orders",
124 "required": false
125 }
129 - ]
130 -}
126 +]
127 ```
128
129 **Parameters:**
130
131 - `toolkitSlug` (string): The slug of the toolkit to retrieve the fields for
132 +- `authScheme` (string): The auth scheme to retrieve the fields for (e.g., 'OAUTH2', 'API_KEY')
133 - `options` (object, optional):
137 - - `authScheme` (string, optional): The auth scheme to retrieve the fields for (e.g., 'OAUTH2', 'API_KEY')
134 - `requiredOnly` (boolean, optional): Whether to only return the required fields (default: false)
135
140 -**Returns:** Promise<ToolkitAuthFieldsResponse> - The authschem and fields required for creating an auth config
136 +**Returns:** Promise<ToolkitAuthFieldsResponse> - The fields required for creating an auth config
137
138 **Throws:** ComposioAuthConfigNotFoundError if no auth config is found for the toolkit or the specified auth scheme
139
144 -### getConnectedAccountInitiationFields(toolkitSlug, options)
140 +### getConnectedAccountInitiationFields(toolkitSlug, authScheme, options)
141
142 Retrieves the fields required for initiating a connected account for a toolkit.
143
144 ```typescript
145 // Get all fields for initiating a connected account
150 -const fields = await composio.toolkits.getConnectedAccountInitiationFields('github');
146 +const fields = await composio.toolkits.getConnectedAccountInitiationFields('github', 'OAUTH2');
147
148 // Get only required fields for a specific auth scheme
153 -const requiredFields = await composio.toolkits.getConnectedAccountInitiationFields('github', {
154 - authScheme: 'OAUTH2',
155 - requiredOnly: true,
156 -});
149 +const requiredFields = await composio.toolkits.getConnectedAccountInitiationFields(
150 + 'github',
151 + 'OAUTH2',
152 + {
153 + requiredOnly: true,
154 + }
155 +);
156 ```
157
158 Example Response:
159
160 ```json
162 -{
163 - "authScheme": "OAUTH2",
164 - "fields": [
161 +[
162 {
163 "name": "shop",
164 "displayName": "Store Subdomain",
@@ -169,18 +166,17 @@ Example Response:
166 "default": null,
167 "required": true
168 }
172 - ]
173 -}
169 +]
170 ```
171
172 **Parameters:**
173
174 - `toolkitSlug` (string): The slug of the toolkit to retrieve the fields for
175 +- `authScheme` (string): The auth scheme to retrieve the fields for (e.g., 'OAUTH2', 'API_KEY')
176 - `options` (object, optional):
180 - - `authScheme` (string, optional): The auth scheme to retrieve the fields for (e.g., 'OAUTH2', 'API_KEY')
177 - `requiredOnly` (boolean, optional): Whether to only return the required fields (default: false)
178
183 -**Returns:** Promise<ToolkitAuthFieldsResponse> - The auth schemes and fields required for initiating a connected account
179 +**Returns:** Promise<ToolkitAuthFieldsResponse> - The fields required for initiating a connected account
180
181 **Throws:** ComposioAuthConfigNotFoundError if no auth config is found for the toolkit or the specified auth scheme
182
ts/examples/toolkits/src/auth-fields.ts
+6 -3
@@ -1,4 +1,4 @@
1 -import { Composio } from '@composio/core';
1 +import { AuthSchemeTypes, Composio } from '@composio/core';
2
3 const composio = new Composio({
4 apiKey: process.env.COMPOSIO_API_KEY,
@@ -7,14 +7,17 @@ const composio = new Composio({
7 const toolkitSlug = 'shopify';
8
9 console.log('🔄 Getting auth config creation fields for toolkit: ', toolkitSlug);
10 -const authConfigCreationFields = await composio.toolkits.getAuthConfigCreationFields(toolkitSlug);
10 +const authConfigCreationFields = await composio.toolkits.getAuthConfigCreationFields(
11 + toolkitSlug,
12 + AuthSchemeTypes.OAUTH2
13 +);
14
15 console.log('✅ Auth config creation fields:');
16 console.log(authConfigCreationFields);
17
18 console.log('🔄 Getting connected account initiation fields for toolkit: ', toolkitSlug);
19 const connectedAccountInitiationFields =
17 - await composio.toolkits.getConnectedAccountInitiationFields(toolkitSlug);
20 + await composio.toolkits.getConnectedAccountInitiationFields(toolkitSlug, AuthSchemeTypes.OAUTH2);
21
22 console.log('✅ Connected account initiation fields:');
23 console.log(connectedAccountInitiationFields);
ts/packages/core/CHANGELOG.md
+6
@@ -1,5 +1,11 @@
1 # @composio/core
2
3 +## 0.1.25
4 +
5 +### Patch Changes
6 +
7 +- Add MCP server to composio SDk
8 +
9 ## 0.1.24
10
11 ### Patch Changes
ts/packages/core/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@composio/core",
3 - "version": "0.1.24",
3 + "version": "0.1.25",
4 "description": "",
5 "main": "src/index.ts",
6 "type": "module",
ts/packages/core/src/models/Toolkits.ts
+17 -24
@@ -258,12 +258,15 @@ export class Toolkits {
258 : toolkit.authConfigDetails[0];
259
260 if (!authConfig) {
261 - throw new ComposioAuthConfigNotFoundError('No auth config found for toolkit', {
262 - meta: {
263 - toolkitSlug,
264 - authScheme,
265 - },
266 - });
261 + throw new ComposioAuthConfigNotFoundError(
262 + `Auth schema ${authScheme} not found for toolkit ${toolkitSlug} with auth scheme ${authScheme}`,
263 + {
264 + meta: {
265 + toolkitSlug,
266 + authScheme,
267 + },
268 + }
269 + );
270 }
271
272 const requiredFields = authConfig.fields[authConfigType].required.map(field => ({
@@ -271,10 +274,7 @@ export class Toolkits {
274 required: true,
275 }));
276 if (requiredOnly) {
274 - return {
275 - authScheme: AuthSchemeEnum.parse(authConfig.mode),
276 - fields: requiredFields,
277 - };
277 + return requiredFields;
278 }
279
280 const optionalFields = authConfig.fields[authConfigType].optional.map(field => ({
@@ -282,25 +282,20 @@ export class Toolkits {
282 required: false,
283 }));
284
285 - return {
286 - authScheme: AuthSchemeEnum.parse(authConfig.mode),
287 - fields: [...requiredFields, ...optionalFields],
288 - };
285 + return [...requiredFields, ...optionalFields];
286 }
287
288 /**
289 * Retrieves the fields required for creating an auth config for a toolkit.
290 * @param toolkitSlug - The slug of the toolkit to retrieve the fields for
291 * @param authScheme - The auth scheme to retrieve the fields for
295 - * @param requiredOnly - Whether to only return the required fields
292 + * @param options.requiredOnly - Whether to only return the required fields
293 * @returns {Promise<ToolkitAuthFieldsResponse>} The fields required for creating an auth config
294 */
295 async getAuthConfigCreationFields(
296 toolkitSlug: string,
300 - {
301 - authScheme,
302 - requiredOnly = false,
303 - }: { authScheme?: AuthSchemeType; requiredOnly?: boolean } = {}
297 + authScheme: AuthSchemeType,
298 + { requiredOnly = false }: { requiredOnly?: boolean } = {}
299 ): Promise<ToolkitAuthFieldsResponse> {
300 return this.getAuthConfigFields(
301 toolkitSlug,
@@ -314,15 +309,13 @@ export class Toolkits {
309 * Retrieves the fields required for initiating a connected account for a toolkit.
310 * @param toolkitSlug - The slug of the toolkit to retrieve the fields for
311 * @param authScheme - The auth scheme to retrieve the fields for
317 - * @param requiredOnly - Whether to only return the required fields
312 + * @param options.requiredOnly - Whether to only return the required fields
313 * @returns {Promise<ToolkitAuthFieldsResponse>} The fields required for initiating a connected account
314 */
315 async getConnectedAccountInitiationFields(
316 toolkitSlug: string,
322 - {
323 - authScheme,
324 - requiredOnly = false,
325 - }: { authScheme?: AuthSchemeType; requiredOnly?: boolean } = {}
317 + authScheme: AuthSchemeType,
318 + { requiredOnly = false }: { requiredOnly?: boolean } = {}
319 ): Promise<ToolkitAuthFieldsResponse> {
320 return this.getAuthConfigFields(
321 toolkitSlug,
ts/packages/core/src/types/toolkit.types.ts
+5 -8
@@ -114,13 +114,10 @@ export type ToolkitRetrieveCategoriesResponse = z.infer<
114 typeof ToolkitRetrieveCategoriesResponseSchema
115 >;
116
117 -export const ToolkitAuthFieldsResponseSchema = z.object({
118 - authScheme: AuthSchemeEnum,
119 - fields: z.array(
120 - ToolkitAuthFieldSchema.extend({
121 - required: z.boolean().optional(),
122 - })
123 - ),
124 -});
117 +export const ToolkitAuthFieldsResponseSchema = z.array(
118 + ToolkitAuthFieldSchema.extend({
119 + required: z.boolean().optional(),
120 + })
121 +);
122
123 export type ToolkitAuthFieldsResponse = z.infer<typeof ToolkitAuthFieldsResponseSchema>;
ts/packages/core/test/models/toolkits.test.ts
+52 -52
@@ -477,30 +477,32 @@ describe('Toolkits', () => {
477 });
478
479 it('returns all fields when requiredOnly is false', async () => {
480 - const result = await toolkits.getAuthConfigCreationFields(toolkitSlug, {
481 - requiredOnly: false,
482 - });
483 - expect(result).toEqual({
484 - authScheme: 'OAUTH2',
485 - fields: [
486 - { name: 'client_id', required: true },
487 - { name: 'client_secret', required: true },
488 - { name: 'redirect_uri', required: false },
489 - ],
490 - });
480 + const result = await toolkits.getAuthConfigCreationFields(
481 + toolkitSlug,
482 + AuthSchemeTypes.OAUTH2,
483 + {
484 + requiredOnly: false,
485 + }
486 + );
487 + expect(result).toEqual([
488 + { name: 'client_id', required: true },
489 + { name: 'client_secret', required: true },
490 + { name: 'redirect_uri', required: false },
491 + ]);
492 });
493
494 it('returns only required fields when requiredOnly is true', async () => {
494 - const result = await toolkits.getAuthConfigCreationFields(toolkitSlug, {
495 - requiredOnly: true,
496 - });
497 - expect(result).toEqual({
498 - authScheme: 'OAUTH2',
499 - fields: [
500 - { name: 'client_id', required: true },
501 - { name: 'client_secret', required: true },
502 - ],
503 - });
495 + const result = await toolkits.getAuthConfigCreationFields(
496 + toolkitSlug,
497 + AuthSchemeTypes.OAUTH2,
498 + {
499 + requiredOnly: true,
500 + }
501 + );
502 + expect(result).toEqual([
503 + { name: 'client_id', required: true },
504 + { name: 'client_secret', required: true },
505 + ]);
506 });
507
508 it('selects the correct auth config by authScheme', async () => {
@@ -537,20 +539,22 @@ describe('Toolkits', () => {
539 ],
540 };
541 (Toolkits.prototype as any).getToolkitBySlug = vi.fn().mockResolvedValueOnce(multiToolkit);
540 - const result = await toolkits.getAuthConfigCreationFields(toolkitSlug, {
541 - authScheme: AuthSchemeTypes.API_KEY,
542 - requiredOnly: true,
543 - });
544 - expect(result).toEqual({
545 - authScheme: 'API_KEY',
546 - fields: [{ name: 'api_key', required: true }],
547 - });
542 + const result = await toolkits.getAuthConfigCreationFields(
543 + toolkitSlug,
544 + AuthSchemeTypes.API_KEY,
545 + {
546 + requiredOnly: true,
547 + }
548 + );
549 + expect(result).toEqual([{ name: 'api_key', required: true }]);
550 });
551
552 it('throws if no authConfigDetails', async () => {
553 (Toolkits.prototype as any).getToolkitBySlug = vi.fn().mockResolvedValueOnce({});
554 await expect(
553 - toolkits.getAuthConfigCreationFields(toolkitSlug, { requiredOnly: true })
555 + toolkits.getAuthConfigCreationFields(toolkitSlug, AuthSchemeTypes.API_KEY, {
556 + requiredOnly: true,
557 + })
558 ).rejects.toThrow(ComposioAuthConfigNotFoundError);
559 });
560 });
@@ -581,26 +585,20 @@ describe('Toolkits', () => {
585 });
586
587 it('returns all fields when requiredOnly is false', async () => {
584 - const result = await toolkits.getConnectedAccountInitiationFields(toolkitSlug, {
588 + const result = await toolkits.getConnectedAccountInitiationFields(toolkitSlug, 'OAUTH2', {
589 requiredOnly: false,
590 });
587 - expect(result).toEqual({
588 - authScheme: 'OAUTH2',
589 - fields: [
590 - { name: 'code', required: true },
591 - { name: 'state', required: false },
592 - ],
593 - });
591 + expect(result).toEqual([
592 + { name: 'code', required: true },
593 + { name: 'state', required: false },
594 + ]);
595 });
596
597 it('returns only required fields when requiredOnly is true', async () => {
597 - const result = await toolkits.getConnectedAccountInitiationFields(toolkitSlug, {
598 + const result = await toolkits.getConnectedAccountInitiationFields(toolkitSlug, 'OAUTH2', {
599 requiredOnly: true,
600 });
600 - expect(result).toEqual({
601 - authScheme: 'OAUTH2',
602 - fields: [{ name: 'code', required: true }],
603 - });
601 + expect(result).toEqual([{ name: 'code', required: true }]);
602 });
603
604 it('selects the correct auth config by authScheme', async () => {
@@ -637,20 +635,22 @@ describe('Toolkits', () => {
635 ],
636 };
637 (Toolkits.prototype as any).getToolkitBySlug = vi.fn().mockResolvedValueOnce(multiToolkit);
640 - const result = await toolkits.getConnectedAccountInitiationFields(toolkitSlug, {
641 - authScheme: AuthSchemeTypes.API_KEY,
642 - requiredOnly: true,
643 - });
644 - expect(result).toEqual({
645 - authScheme: 'API_KEY',
646 - fields: [{ name: 'api_key_code', required: true }],
647 - });
638 + const result = await toolkits.getConnectedAccountInitiationFields(
639 + toolkitSlug,
640 + AuthSchemeTypes.API_KEY,
641 + {
642 + requiredOnly: true,
643 + }
644 + );
645 + expect(result).toEqual([{ name: 'api_key_code', required: true }]);
646 });
647
648 it('throws if no authConfigDetails', async () => {
649 (Toolkits.prototype as any).getToolkitBySlug = vi.fn().mockResolvedValueOnce({});
650 await expect(
653 - toolkits.getConnectedAccountInitiationFields(toolkitSlug, { requiredOnly: true })
651 + toolkits.getConnectedAccountInitiationFields(toolkitSlug, AuthSchemeTypes.API_KEY, {
652 + requiredOnly: true,
653 + })
654 ).rejects.toThrow(ComposioAuthConfigNotFoundError);
655 });
656 });
ts/packages/providers/anthropic/CHANGELOG.md
+8
@@ -1,5 +1,13 @@
1 # @composio/anthropic
2
3 +## 0.1.25
4 +
5 +### Patch Changes
6 +
7 +- Add MCP server to composio SDk
8 +- Updated dependencies
9 + - @composio/core@0.1.25
10 +
11 ## 0.1.24
12
13 ### Patch Changes
ts/packages/providers/anthropic/package.json
+2 -2
@@ -1,6 +1,6 @@
1 {
2 "name": "@composio/anthropic",
3 - "version": "0.1.24",
3 + "version": "0.1.25",
4 "description": "Non-Agentic Provider for Anthropic in Composio SDK",
5 "main": "src/index.ts",
6 "type": "module",
@@ -34,7 +34,7 @@
34 "packageManager": "pnpm@10.8.0",
35 "peerDependencies": {
36 "@anthropic-ai/sdk": "^0.52.0",
37 - "@composio/core": "0.1.24"
37 + "@composio/core": "0.1.25"
38 },
39 "devDependencies": {
40 "@composio/core": "workspace:*",
ts/packages/providers/cloudflare/CHANGELOG.md
+8
@@ -1,5 +1,13 @@
1 # @composio/cloudflare
2
3 +## 0.1.25
4 +
5 +### Patch Changes
6 +
7 +- Add MCP server to composio SDk
8 +- Updated dependencies
9 + - @composio/core@0.1.25
10 +
11 ## 0.1.24
12
13 ### Patch Changes
ts/packages/providers/cloudflare/package.json
+2 -2
@@ -1,6 +1,6 @@
1 {
2 "name": "@composio/cloudflare",
3 - "version": "0.1.24",
3 + "version": "0.1.25",
4 "description": "",
5 "main": "src/index.ts",
6 "type": "module",
@@ -30,7 +30,7 @@
30 "packageManager": "pnpm@10.8.0",
31 "peerDependencies": {
32 "@cloudflare/workers-types": "^4.20250416.0",
33 - "@composio/core": "0.1.24"
33 + "@composio/core": "0.1.25"
34 },
35 "devDependencies": {
36 "@composio/core": "workspace:*",
ts/packages/providers/google/CHANGELOG.md
+8
@@ -1,5 +1,13 @@
1 # @composio/google
2
3 +## 0.1.25
4 +
5 +### Patch Changes
6 +
7 +- Add MCP server to composio SDk
8 +- Updated dependencies
9 + - @composio/core@0.1.25
10 +
11 ## 0.1.24
12
13 ### Patch Changes
ts/packages/providers/google/package.json
+2 -2
@@ -1,6 +1,6 @@
1 {
2 "name": "@composio/google",
3 - "version": "0.1.24",
3 + "version": "0.1.25",
4 "description": "Google GenAI Provider for Composio SDK",
5 "main": "src/index.ts",
6 "type": "module",
@@ -35,7 +35,7 @@
35 "license": "ISC",
36 "packageManager": "pnpm@10.8.0",
37 "peerDependencies": {
38 - "@composio/core": "0.1.24",
38 + "@composio/core": "0.1.25",
39 "@google/genai": "^1.1.0"
40 },
41 "devDependencies": {
ts/packages/providers/langchain/CHANGELOG.md
+8
@@ -1,5 +1,13 @@
1 # @composio/langchain
2
3 +## 0.1.25
4 +
5 +### Patch Changes
6 +
7 +- Add MCP server to composio SDk
8 +- Updated dependencies
9 + - @composio/core@0.1.25
10 +
11 ## 0.1.24
12
13 ### Patch Changes
ts/packages/providers/langchain/package.json
+2 -2
@@ -1,6 +1,6 @@
1 {
2 "name": "@composio/langchain",
3 - "version": "0.1.24",
3 + "version": "0.1.25",
4 "description": "",
5 "main": "dist/index.js",
6 "type": "module",
@@ -29,7 +29,7 @@
29 "license": "ISC",
30 "packageManager": "pnpm@10.8.0",
31 "peerDependencies": {
32 - "@composio/core": "0.1.24",
32 + "@composio/core": "0.1.25",
33 "@langchain/core": "^0.3.44"
34 },
35 "devDependencies": {
ts/packages/providers/mastra/CHANGELOG.md
+8
@@ -1,5 +1,13 @@
1 # @composio/mastra
2
3 +## 0.1.25
4 +
5 +### Patch Changes
6 +
7 +- Add MCP server to composio SDk
8 +- Updated dependencies
9 + - @composio/core@0.1.25
10 +
11 ## 0.1.24
12
13 ### Patch Changes
ts/packages/providers/mastra/package.json
+2 -2
@@ -1,6 +1,6 @@
1 {
2 "name": "@composio/mastra",
3 - "version": "0.1.24",
3 + "version": "0.1.25",
4 "description": "Agentic Provider for mastra in Composio SDK",
5 "main": "src/index.ts",
6 "type": "module",
@@ -33,7 +33,7 @@
33 "license": "ISC",
34 "packageManager": "pnpm@10.8.0",
35 "peerDependencies": {
36 - "@composio/core": "0.1.24",
36 + "@composio/core": "0.1.25",
37 "@mastra/core": "^0.10.0"
38 },
39 "devDependencies": {
ts/packages/providers/openai-agents/CHANGELOG.md
+8
@@ -1,5 +1,13 @@
1 # @composio/vercel
2
3 +## 0.1.25
4 +
5 +### Patch Changes
6 +
7 +- Add MCP server to composio SDk
8 +- Updated dependencies
9 + - @composio/core@0.1.25
10 +
11 ## 0.1.24
12
13 ### Patch Changes
ts/packages/providers/openai-agents/package.json
+2 -2
@@ -1,6 +1,6 @@
1 {
2 "name": "@composio/openai-agents",
3 - "version": "0.1.24",
3 + "version": "0.1.25",
4 "description": "",
5 "main": "src/index.ts",
6 "type": "module",
@@ -29,7 +29,7 @@
29 "license": "ISC",
30 "packageManager": "pnpm@10.8.0",
31 "peerDependencies": {
32 - "@composio/core": "0.1.24",
32 + "@composio/core": "0.1.25",
33 "@openai/agents": "^0.0.7"
34 },
35 "devDependencies": {
ts/packages/providers/openai/CHANGELOG.md
+8
@@ -1,5 +1,13 @@
1 # @composio/openai
2
3 +## 0.1.25
4 +
5 +### Patch Changes
6 +
7 +- Add MCP server to composio SDk
8 +- Updated dependencies
9 + - @composio/core@0.1.25
10 +
11 ## 0.1.24
12
13 ### Patch Changes
ts/packages/providers/openai/package.json
+2 -2
@@ -1,6 +1,6 @@
1 {
2 "name": "@composio/openai",
3 - "version": "0.1.24",
3 + "version": "0.1.25",
4 "description": "",
5 "main": "src/index.ts",
6 "type": "module",
@@ -29,7 +29,7 @@
29 "license": "ISC",
30 "packageManager": "pnpm@10.8.0",
31 "peerDependencies": {
32 - "@composio/core": "0.1.24",
32 + "@composio/core": "0.1.25",
33 "openai": "^4.3.8"
34 },
35 "devDependencies": {
ts/packages/providers/vercel/CHANGELOG.md
+8
@@ -1,5 +1,13 @@
1 # @composio/vercel
2
3 +## 0.1.25
4 +
5 +### Patch Changes
6 +
7 +- Add MCP server to composio SDk
8 +- Updated dependencies
9 + - @composio/core@0.1.25
10 +
11 ## 0.1.24
12
13 ### Patch Changes
ts/packages/providers/vercel/package.json
+2 -2
@@ -1,6 +1,6 @@
1 {
2 "name": "@composio/vercel",
3 - "version": "0.1.24",
3 + "version": "0.1.25",
4 "description": "",
5 "main": "src/index.ts",
6 "type": "module",
@@ -29,7 +29,7 @@
29 "license": "ISC",
30 "packageManager": "pnpm@10.8.0",
31 "peerDependencies": {
32 - "@composio/core": "0.1.24",
32 + "@composio/core": "0.1.25",
33 "ai": "^4.3.8"
34 },
35 "devDependencies": {