@devries-cameron20 / composio Mirror · read-only / commits / dad230be8
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 21, 08:30 UTC

Release: update version (#4895)

This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to next, this PR will be updated. # Releases ## @composio/core@0.25.0 ### Minor Changes - 79c2d1d: Requires `@composio/client` `2.0.0-rc.17`. The SDK now reports itself to the API client through the client's `identity` option instead of default headers. The headers sent with each request are unchanged, with one exception: on Cloudflare Workers and Vercel Edge with Node.js compatibility enabled, `x-client-runtime` now names that runtime instead of `nodejs`, and the polyfilled Node.js version is no longer sent as `x-runtime-version`. A `createSession()` clone no longer copies these headers into its `defaultHeaders`. The API client owns these headers, so `defaultHeaders` and `createSession({ headers })` now reject `x-client-provenance`, `x-client-version`, `x-client-library`, `x-client-library-version`, `x-client-language`, `x-client-runtime`, `x-sdk-version`, `x-source`, `x-framework`, `x-runtime` and `x-runtime-version` with a `ComposioError` from `@composio/client`. The SDK used to overwrite such entries silently. A custom provider whose `name` cannot be sent as a header value (anything other than printable ASCII with no leading or trailing whitespace) is reported as `unknown` in `x-framework`. - 40546c3: Add experimental support for tool calls that need the user's approval. Sessions accept a `requireApproval` list next to the `toolkits`, `tools` and `tags` filters on `create()` and `update()`. A call to a matching tool doesn't run: `session.execute()` and `session.executeMeta()` throw `ComposioToolInputRequiredError` with the questions on `inputRequests`. To answer, repeat the same call with the user's answers in `inputResponses` and the error's `requestState`: ```ts const session = await composio.create('user_123', { tools: { gmail: { requireApproval: ['GMAIL_SEND_EMAIL'] } }, }); try { await session.execute('GMAIL_SEND_EMAIL', args); } catch (error) { if (!(error instanceof ComposioToolInputRequiredError)) throw error; const inputResponses = await promptUser(error.inputRequests); await session.execute('GMAIL_SEND_EMAIL', args, { inputResponses, requestState: error.requestState, }); } ``` `promptUser` is a placeholder for your application's consent UI. Display each request, wait for the user's response, and return the answers keyed by request ID. Forward `decline` and `cancel` responses unchanged. `experimental.noElicitationSupportFallback` (`'deny'` or `'allow'`) sets what happens to such a call when the session's MCP client can't ask the user. `session.executeMeta()` now takes these answers as its third argument, so its request options move to the fourth. The Python SDK gains the same `require_approval` lists, `experimental.no_elicitation_support_fallback`, and `input_responses` and `request_state` on `session.execute()` and `session.execute_meta()`. ### Patch Changes - f9a972b: Update the owned API client to `@composio/client@2.0.0-rc.16`. The SDK's public API and runtime behavior are unchanged. - 04cd5c4: Fix the trigger subscription lifecycle and contain errors from trigger handlers. - `triggers.unsubscribe()` now closes the realtime connection, so a Node process can exit once it has unsubscribed. A later `triggers.subscribe()` opens a new connection. - `triggers.unsubscribe()` before any `subscribe()` no longer fetches realtime credentials or creates a client. - Concurrent `subscribe()` calls share one connection, and `unsubscribe()` cancels a subscription that is still connecting, so it never opens a connection or delivers events afterwards. - A rejected promise from an `async` trigger handler is logged like a synchronous throw instead of escaping as an unhandled rejection that ends the process. Handler failures log the error's message rather than `{}`. ## @composio/slim@0.25.0 ### Minor Changes - 79c2d1d: Requires `@composio/client` `2.0.0-rc.17`. The SDK now reports itself to the API client through the client's `identity` option instead of default headers. The headers sent with each request are unchanged, with one exception: on Cloudflare Workers and Vercel Edge with Node.js compatibility enabled, `x-client-runtime` now names that runtime instead of `nodejs`, and the polyfilled Node.js version is no longer sent as `x-runtime-version`. A `createSession()` clone no longer copies these headers into its `defaultHeaders`. The API client owns these headers, so `defaultHeaders` and `createSession({ headers })` now reject `x-client-provenance`, `x-client-version`, `x-client-library`, `x-client-library-version`, `x-client-language`, `x-client-runtime`, `x-sdk-version`, `x-source`, `x-framework`, `x-runtime` and `x-runtime-version` with a `ComposioError` from `@composio/client`. The SDK used to overwrite such entries silently. A custom provider whose `name` cannot be sent as a header value (anything other than printable ASCII with no leading or trailing whitespace) is reported as `unknown` in `x-framework`. - 40546c3: Add experimental support for tool calls that need the user's approval. Sessions accept a `requireApproval` list next to the `toolkits`, `tools` and `tags` filters on `create()` and `update()`. A call to a matching tool doesn't run: `session.execute()` and `session.executeMeta()` throw `ComposioToolInputRequiredError` with the questions on `inputRequests`. To answer, repeat the same call with the user's answers in `inputResponses` and the error's `requestState`: ```ts const session = await composio.create('user_123', { tools: { gmail: { requireApproval: ['GMAIL_SEND_EMAIL'] } }, }); try { await session.execute('GMAIL_SEND_EMAIL', args); } catch (error) { if (!(error instanceof ComposioToolInputRequiredError)) throw error; const inputResponses = await promptUser(error.inputRequests); await session.execute('GMAIL_SEND_EMAIL', args, { inputResponses, requestState: error.requestState, }); } ``` `promptUser` is a placeholder for your application's consent UI. Display each request, wait for the user's response, and return the answers keyed by request ID. Forward `decline` and `cancel` responses unchanged. `experimental.noElicitationSupportFallback` (`'deny'` or `'allow'`) sets what happens to such a call when the session's MCP client can't ask the user. `session.executeMeta()` now takes these answers as its third argument, so its request options move to the fourth. The Python SDK gains the same `require_approval` lists, `experimental.no_elicitation_support_fallback`, and `input_responses` and `request_state` on `session.execute()` and `session.execute_meta()`. ### Patch Changes - f9a972b: Update the owned API client to `@composio/client@2.0.0-rc.16`. The SDK's public API and runtime behavior are unchanged. - 04cd5c4: Fix the trigger subscription lifecycle and contain errors from trigger handlers. - `triggers.unsubscribe()` now closes the realtime connection, so a Node process can exit once it has unsubscribed. A later `triggers.subscribe()` opens a new connection. - `triggers.unsubscribe()` before any `subscribe()` no longer fetches realtime credentials or creates a client. - Concurrent `subscribe()` calls share one connection, and `unsubscribe()` cancels a subscription that is still connecting, so it never opens a connection or delivers events afterwards. - A rejected promise from an `async` trigger handler is logged like a synchronous throw instead of escaping as an unhandled rejection that ends the process. Handler failures log the error's message rather than `{}`. ## @e2e-tests/cf-workers-basic@0.0.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 ## @e2e-tests/cf-workers-files@0.0.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 ## @e2e-tests/cf-workers-tool-router-ai@0.0.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/vercel@0.12.1 ## @e2e-tests/node-claude-agent-sdk@0.0.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/claude-agent-sdk@0.12.2 ## @e2e-tests/node-custom-tools@0.0.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 ## @e2e-tests/node-mastra-tool-router-zod-v3@0.0.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/mastra@0.10.6 ## @e2e-tests/node-mastra-tool-router-zod-v4@0.0.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/mastra@0.10.6 ## @e2e-tests/node-tool-router-files@0.0.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 ## @e2e-tests/node-tool-router-pagination@0.0.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 ## @e2e-tests/node-tool-router-proxy-execute@0.0.2 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 ## @e2e-tests/node-tool-router-session-update@0.0.5 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 ## anthropic-example@0.1.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/anthropic@0.11.5 - @composio/claude-agent-sdk@0.12.2 ## cloudflare-wrangler-example@0.0.8 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 ## connected-accounts-example@0.1.18 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 ## error-handling-example@0.1.18 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 ## file-handling-example@0.1.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 ## google-example@0.1.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/google@0.12.0 ## json-schema-to-zod-example@0.1.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 ## langchain-example@0.1.18 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/langchain@0.11.2 ## llamaindex-example@0.1.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/llamaindex@0.11.1 ## mastra-example@0.1.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/mastra@0.10.6 ## mcp-example@0.1.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/vercel@0.12.1 ## modifiers-example@0.1.18 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/vercel@0.12.1 ## openai-example@0.1.18 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/openai@0.13.0 - @composio/openai-agents@0.11.2 ## session-management-example@0.1.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 ## tool-router-example@1.0.19 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/claude-agent-sdk@0.12.2 - @composio/openai-agents@0.11.2 - @composio/vercel@0.12.1 ## toolkits-example@0.1.18 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/vercel@0.12.1 ## tools-example@0.1.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/vercel@0.12.1 ## triggers-example@0.1.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 ## typesafe-example@0.0.7 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/openai@0.13.0 - @composio/typesafe@0.1.1 ## vercel-example@0.1.18 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 - @composio/vercel@0.12.1 ## versioning-example@0.1.9 ### Patch Changes - Updated dependencies [79c2d1d] - Updated dependencies [f9a972b] - Updated dependencies [40546c3] - Updated dependencies [04cd5c4] - @composio/core@0.25.0 Co-authored-by: sdkrelease[bot] <294075132+sdkrelease[bot]@users.noreply.github.com>

sdkrelease[bot] committed Oct 16, 2026 at 03:12 UTC dad230be8481bc8d5845c31a922c36a006a6db21
72 files changed +474 -94
.changeset/client-identity-headers.md deleted
-10
@@ -1,10 +0,0 @@
1 ----
2 -'@composio/core': minor
3 -'@composio/slim': minor
4 ----
5 -
6 -Requires `@composio/client` `2.0.0-rc.17`. The SDK now reports itself to the API client through the client's `identity` option instead of default headers. The headers sent with each request are unchanged, with one exception: on Cloudflare Workers and Vercel Edge with Node.js compatibility enabled, `x-client-runtime` now names that runtime instead of `nodejs`, and the polyfilled Node.js version is no longer sent as `x-runtime-version`. A `createSession()` clone no longer copies these headers into its `defaultHeaders`.
7 -
8 -The API client owns these headers, so `defaultHeaders` and `createSession({ headers })` now reject `x-client-provenance`, `x-client-version`, `x-client-library`, `x-client-library-version`, `x-client-language`, `x-client-runtime`, `x-sdk-version`, `x-source`, `x-framework`, `x-runtime` and `x-runtime-version` with a `ComposioError` from `@composio/client`. The SDK used to overwrite such entries silently.
9 -
10 -A custom provider whose `name` cannot be sent as a header value (anything other than printable ASCII with no leading or trailing whitespace) is reported as `unknown` in `x-framework`.
.changeset/owned-client-rc16.md deleted
-6
@@ -1,6 +0,0 @@
1 ----
2 -'@composio/core': patch
3 -'@composio/slim': patch
4 ----
5 -
6 -Update the owned API client to `@composio/client@2.0.0-rc.16`. The SDK's public API and runtime behavior are unchanged.
.changeset/session-tool-approvals.md deleted
-33
@@ -1,33 +0,0 @@
1 ----
2 -'@composio/core': minor
3 -'@composio/slim': minor
4 ----
5 -
6 -Add experimental support for tool calls that need the user's approval.
7 -
8 -Sessions accept a `requireApproval` list next to the `toolkits`, `tools` and `tags` filters on `create()` and `update()`. A call to a matching tool doesn't run: `session.execute()` and `session.executeMeta()` throw `ComposioToolInputRequiredError` with the questions on `inputRequests`. To answer, repeat the same call with the user's answers in `inputResponses` and the error's `requestState`:
9 -
10 -```ts
11 -const session = await composio.create('user_123', {
12 - tools: { gmail: { requireApproval: ['GMAIL_SEND_EMAIL'] } },
13 -});
14 -
15 -try {
16 - await session.execute('GMAIL_SEND_EMAIL', args);
17 -} catch (error) {
18 - if (!(error instanceof ComposioToolInputRequiredError)) throw error;
19 - const inputResponses = await promptUser(error.inputRequests);
20 - await session.execute('GMAIL_SEND_EMAIL', args, {
21 - inputResponses,
22 - requestState: error.requestState,
23 - });
24 -}
25 -```
26 -
27 -`promptUser` is a placeholder for your application's consent UI. Display each request, wait for the user's response, and return the answers keyed by request ID. Forward `decline` and `cancel` responses unchanged.
28 -
29 -`experimental.noElicitationSupportFallback` (`'deny'` or `'allow'`) sets what happens to such a call when the session's MCP client can't ask the user.
30 -
31 -`session.executeMeta()` now takes these answers as its third argument, so its request options move to the fourth.
32 -
33 -The Python SDK gains the same `require_approval` lists, `experimental.no_elicitation_support_fallback`, and `input_responses` and `request_state` on `session.execute()` and `session.execute_meta()`.
.changeset/trigger-subscription-lifecycle.md deleted
-11
@@ -1,11 +0,0 @@
1 ----
2 -'@composio/core': patch
3 -'@composio/slim': patch
4 ----
5 -
6 -Fix the trigger subscription lifecycle and contain errors from trigger handlers.
7 -
8 -- `triggers.unsubscribe()` now closes the realtime connection, so a Node process can exit once it has unsubscribed. A later `triggers.subscribe()` opens a new connection.
9 -- `triggers.unsubscribe()` before any `subscribe()` no longer fetches realtime credentials or creates a client.
10 -- Concurrent `subscribe()` calls share one connection, and `unsubscribe()` cancels a subscription that is still connecting, so it never opens a connection or delivers events afterwards.
11 -- A rejected promise from an `async` trigger handler is logged like a synchronous throw instead of escaping as an unhandled rejection that ends the process. Handler failures log the error's message rather than `{}`.
ts/e2e-tests/runtimes/cloudflare/cf-workers-basic/CHANGELOG.md
+10
@@ -1,5 +1,15 @@
1 # @e2e-tests/cf-workers-basic
2
3 +## 0.0.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 +
13 ## 0.0.8
14
15 ### Patch Changes
ts/e2e-tests/runtimes/cloudflare/cf-workers-basic/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/cf-workers-basic",
3 - "version": "0.0.8",
3 + "version": "0.0.9",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/cloudflare/cf-workers-files/CHANGELOG.md
+10
@@ -1,5 +1,15 @@
1 # @e2e-tests/cf-workers-files
2
3 +## 0.0.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 +
13 ## 0.0.8
14
15 ### Patch Changes
ts/e2e-tests/runtimes/cloudflare/cf-workers-files/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/cf-workers-files",
3 - "version": "0.0.8",
3 + "version": "0.0.9",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/cloudflare/cf-workers-tool-router-ai/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # @e2e-tests/cf-workers-tool-router-ai
2
3 +## 0.0.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/vercel@0.12.1
13 +
14 ## 0.0.8
15
16 ### Patch Changes
ts/e2e-tests/runtimes/cloudflare/cf-workers-tool-router-ai/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/cf-workers-tool-router-ai",
3 - "version": "0.0.8",
3 + "version": "0.0.9",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/claude-agent-sdk/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # @e2e-tests/node-claude-agent-sdk
2
3 +## 0.0.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/claude-agent-sdk@0.12.2
13 +
14 ## 0.0.8
15
16 ### Patch Changes
ts/e2e-tests/runtimes/node/claude-agent-sdk/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-claude-agent-sdk",
3 - "version": "0.0.8",
3 + "version": "0.0.9",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/custom-tools/CHANGELOG.md
+10
@@ -1,5 +1,15 @@
1 # @e2e-tests/node-custom-tools
2
3 +## 0.0.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 +
13 ## 0.0.8
14
15 ### Patch Changes
ts/e2e-tests/runtimes/node/custom-tools/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-custom-tools",
3 - "version": "0.0.8",
3 + "version": "0.0.9",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/mastra-tool-router-zod-v3/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # @e2e-tests/node-mastra-tool-router-zod-v3
2
3 +## 0.0.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/mastra@0.10.6
13 +
14 ## 0.0.8
15
16 ### Patch Changes
ts/e2e-tests/runtimes/node/mastra-tool-router-zod-v3/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-mastra-tool-router-zod-v3",
3 - "version": "0.0.8",
3 + "version": "0.0.9",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/mastra-tool-router-zod-v4/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # @e2e-tests/node-mastra-tool-router-zod-v4
2
3 +## 0.0.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/mastra@0.10.6
13 +
14 ## 0.0.8
15
16 ### Patch Changes
ts/e2e-tests/runtimes/node/mastra-tool-router-zod-v4/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-mastra-tool-router-zod-v4",
3 - "version": "0.0.8",
3 + "version": "0.0.9",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/tool-router-files/CHANGELOG.md
+10
@@ -1,5 +1,15 @@
1 # @e2e-tests/node-tool-router-files
2
3 +## 0.0.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 +
13 ## 0.0.8
14
15 ### Patch Changes
ts/e2e-tests/runtimes/node/tool-router-files/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-tool-router-files",
3 - "version": "0.0.8",
3 + "version": "0.0.9",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/tool-router-pagination/CHANGELOG.md
+10
@@ -1,5 +1,15 @@
1 # @e2e-tests/node-tool-router-pagination
2
3 +## 0.0.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 +
13 ## 0.0.8
14
15 ### Patch Changes
ts/e2e-tests/runtimes/node/tool-router-pagination/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-tool-router-pagination",
3 - "version": "0.0.8",
3 + "version": "0.0.9",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/tool-router-proxy-execute/CHANGELOG.md
+10
@@ -1,5 +1,15 @@
1 # @e2e-tests/node-tool-router-proxy-execute
2
3 +## 0.0.2
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 +
13 ## 0.0.1
14
15 ### Patch Changes
ts/e2e-tests/runtimes/node/tool-router-proxy-execute/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-tool-router-proxy-execute",
3 - "version": "0.0.1",
3 + "version": "0.0.2",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/tool-router-session-update/CHANGELOG.md
+10
@@ -1,5 +1,15 @@
1 # @e2e-tests/node-tool-router-session-update
2
3 +## 0.0.5
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 +
13 ## 0.0.4
14
15 ### Patch Changes
ts/e2e-tests/runtimes/node/tool-router-session-update/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-tool-router-session-update",
3 - "version": "0.0.4",
3 + "version": "0.0.5",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/examples/anthropic/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # anthropic-example
2
3 +## 0.1.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/anthropic@0.11.5
13 + - @composio/claude-agent-sdk@0.12.2
14 +
15 ## 0.1.8
16
17 ### Patch Changes
ts/examples/anthropic/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "anthropic-example",
3 "private": true,
4 - "version": "0.1.8",
4 + "version": "0.1.9",
5 "description": "Example for using Anthropic Agent SDK provider with Composio SDK",
6 "main": "index.js",
7 "scripts": {
ts/examples/cloudflare-wrangler/CHANGELOG.md
+10
@@ -1,5 +1,15 @@
1 # cloudflare-wrangler-example
2
3 +## 0.0.8
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 +
13 ## 0.0.7
14
15 ### Patch Changes
ts/examples/cloudflare-wrangler/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "cloudflare-wrangler-example",
3 - "version": "0.0.7",
3 + "version": "0.0.8",
4 "private": true,
5 "scripts": {
6 "deploy": "wrangler deploy",
ts/examples/connected-accounts/CHANGELOG.md
+10
@@ -1,5 +1,15 @@
1 # connected-accounts-example
2
3 +## 0.1.18
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 +
13 ## 0.1.17
14
15 ### Patch Changes
ts/examples/connected-accounts/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "connected-accounts-example",
3 "private": true,
4 - "version": "0.1.17",
4 + "version": "0.1.18",
5 "description": "",
6 "main": "index.js",
7 "scripts": {
ts/examples/error-handling-demo/CHANGELOG.md
+10
@@ -1,5 +1,15 @@
1 # error-handling-example
2
3 +## 0.1.18
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 +
13 ## 0.1.17
14
15 ### Patch Changes
ts/examples/error-handling-demo/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "error-handling-example",
3 "private": true,
4 - "version": "0.1.17",
4 + "version": "0.1.18",
5 "description": "",
6 "main": "index.js",
7 "scripts": {
ts/examples/file-handling/CHANGELOG.md
+10
@@ -1,5 +1,15 @@
1 # file-handling-example
2
3 +## 0.1.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 +
13 ## 0.1.8
14
15 ### Patch Changes
ts/examples/file-handling/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "file-handling-example",
3 "private": true,
4 - "version": "0.1.8",
4 + "version": "0.1.9",
5 "description": "Example project for File-handling",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/google/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # google-example
2
3 +## 0.1.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/google@0.12.0
13 +
14 ## 0.1.8
15
16 ### Patch Changes
ts/examples/google/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "google-example",
3 "private": true,
4 - "version": "0.1.8",
4 + "version": "0.1.9",
5 "description": "Example project for Google GenAI",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/json-schema-to-zod/CHANGELOG.md
+10
@@ -1,5 +1,15 @@
1 # json-schema-to-zod-example
2
3 +## 0.1.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 +
13 ## 0.1.8
14
15 ### Patch Changes
ts/examples/json-schema-to-zod/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "json-schema-to-zod-example",
3 "private": true,
4 - "version": "0.1.8",
4 + "version": "0.1.9",
5 "description": "Example project for Json-schema-to-zod",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/langchain/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # langchain-example
2
3 +## 0.1.18
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/langchain@0.11.2
13 +
14 ## 0.1.17
15
16 ### Patch Changes
ts/examples/langchain/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "langchain-example",
3 "private": true,
4 - "version": "0.1.17",
4 + "version": "0.1.18",
5 "description": "",
6 "main": "index.js",
7 "scripts": {
ts/examples/llamaindex/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # llamaindex-example
2
3 +## 0.1.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/llamaindex@0.11.1
13 +
14 ## 0.1.8
15
16 ### Patch Changes
ts/examples/llamaindex/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "llamaindex-example",
3 "private": true,
4 - "version": "0.1.8",
4 + "version": "0.1.9",
5 "description": "Example project for Llamaindex",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/mastra/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # mastra-example
2
3 +## 0.1.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/mastra@0.10.6
13 +
14 ## 0.1.8
15
16 ### Patch Changes
ts/examples/mastra/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "mastra-example",
3 "private": true,
4 - "version": "0.1.8",
4 + "version": "0.1.9",
5 "type": "module",
6 "description": "Example project for Mastra",
7 "main": "src/index.ts",
ts/examples/mcp/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # mcp-example
2
3 +## 0.1.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/vercel@0.12.1
13 +
14 ## 0.1.8
15
16 ### Patch Changes
ts/examples/mcp/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "mcp-example",
3 "private": true,
4 - "version": "0.1.8",
4 + "version": "0.1.9",
5 "description": "Example project for Mcp",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/modifiers/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # modifiers-example
2
3 +## 0.1.18
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/vercel@0.12.1
13 +
14 ## 0.1.17
15
16 ### Patch Changes
ts/examples/modifiers/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "modifiers-example",
3 "private": true,
4 - "version": "0.1.17",
4 + "version": "0.1.18",
5 "description": "",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/openai/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # openai-example
2
3 +## 0.1.18
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/openai@0.13.0
13 + - @composio/openai-agents@0.11.2
14 +
15 ## 0.1.17
16
17 ### Patch Changes
ts/examples/openai/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "openai-example",
3 "private": true,
4 - "version": "0.1.17",
4 + "version": "0.1.18",
5 "type": "module",
6 "description": "Runnable OpenAI examples for Composio tools and Tool Router",
7 "main": "src/index.ts",
ts/examples/session-management/CHANGELOG.md
+10
@@ -1,5 +1,15 @@
1 # session-management-example
2
3 +## 0.1.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 +
13 ## 0.1.8
14
15 ### Patch Changes
ts/examples/session-management/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "session-management-example",
3 "private": true,
4 - "version": "0.1.8",
4 + "version": "0.1.9",
5 "description": "Example project for Session-management",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/tool-router/CHANGELOG.md
+13
@@ -1,5 +1,18 @@
1 # tool-router-example
2
3 +## 1.0.19
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/claude-agent-sdk@0.12.2
13 + - @composio/openai-agents@0.11.2
14 + - @composio/vercel@0.12.1
15 +
16 ## 1.0.18
17
18 ### Patch Changes
ts/examples/tool-router/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "tool-router-example",
3 "private": true,
4 - "version": "1.0.18",
4 + "version": "1.0.19",
5 "description": "Example project for Tool-router",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/toolkits/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # toolkits-example
2
3 +## 0.1.18
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/vercel@0.12.1
13 +
14 ## 0.1.17
15
16 ### Patch Changes
ts/examples/toolkits/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "toolkits-example",
3 "private": true,
4 - "version": "0.1.17",
4 + "version": "0.1.18",
5 "description": "",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/tools/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # tools-example
2
3 +## 0.1.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/vercel@0.12.1
13 +
14 ## 0.1.8
15
16 ### Patch Changes
ts/examples/tools/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "tools-example",
3 "private": true,
4 - "version": "0.1.8",
4 + "version": "0.1.9",
5 "description": "Example project for Tools",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/triggers/CHANGELOG.md
+10
@@ -1,5 +1,15 @@
1 # triggers-example
2
3 +## 0.1.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 +
13 ## 0.1.8
14
15 ### Patch Changes
ts/examples/triggers/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "triggers-example",
3 "private": true,
4 - "version": "0.1.8",
4 + "version": "0.1.9",
5 "description": "Example project for Triggers",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/typesafe/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # typesafe-example
2
3 +## 0.0.7
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/openai@0.13.0
13 + - @composio/typesafe@0.1.1
14 +
15 ## 0.0.6
16
17 ### Patch Changes
ts/examples/typesafe/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "typesafe-example",
3 "private": true,
4 - "version": "0.0.6",
4 + "version": "0.0.7",
5 "description": "Example project for TypeSafe (Jev)",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/vercel/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # vercel-example
2
3 +## 0.1.18
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 + - @composio/vercel@0.12.1
13 +
14 ## 0.1.17
15
16 ### Patch Changes
ts/examples/vercel/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "vercel-example",
3 "private": true,
4 - "version": "0.1.17",
4 + "version": "0.1.18",
5 "description": "",
6 "main": "src/ai.ts",
7 "scripts": {
ts/examples/versioning/CHANGELOG.md
+10
@@ -1,5 +1,15 @@
1 # versioning-example
2
3 +## 0.1.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [79c2d1d]
8 +- Updated dependencies [f9a972b]
9 +- Updated dependencies [40546c3]
10 +- Updated dependencies [04cd5c4]
11 + - @composio/core@0.25.0
12 +
13 ## 0.1.8
14
15 ### Patch Changes
ts/examples/versioning/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "versioning-example",
3 "private": true,
4 - "version": "0.1.8",
4 + "version": "0.1.9",
5 "description": "Example project for Versioning",
6 "main": "src/index.ts",
7 "scripts": {
ts/packages/core/CHANGELOG.md
+49
@@ -1,5 +1,54 @@
1 # @composio/core
2
3 +## 0.25.0
4 +
5 +### Minor Changes
6 +
7 +- 79c2d1d: Requires `@composio/client` `2.0.0-rc.17`. The SDK now reports itself to the API client through the client's `identity` option instead of default headers. The headers sent with each request are unchanged, with one exception: on Cloudflare Workers and Vercel Edge with Node.js compatibility enabled, `x-client-runtime` now names that runtime instead of `nodejs`, and the polyfilled Node.js version is no longer sent as `x-runtime-version`. A `createSession()` clone no longer copies these headers into its `defaultHeaders`.
8 +
9 + The API client owns these headers, so `defaultHeaders` and `createSession({ headers })` now reject `x-client-provenance`, `x-client-version`, `x-client-library`, `x-client-library-version`, `x-client-language`, `x-client-runtime`, `x-sdk-version`, `x-source`, `x-framework`, `x-runtime` and `x-runtime-version` with a `ComposioError` from `@composio/client`. The SDK used to overwrite such entries silently.
10 +
11 + A custom provider whose `name` cannot be sent as a header value (anything other than printable ASCII with no leading or trailing whitespace) is reported as `unknown` in `x-framework`.
12 +
13 +- 40546c3: Add experimental support for tool calls that need the user's approval.
14 +
15 + Sessions accept a `requireApproval` list next to the `toolkits`, `tools` and `tags` filters on `create()` and `update()`. A call to a matching tool doesn't run: `session.execute()` and `session.executeMeta()` throw `ComposioToolInputRequiredError` with the questions on `inputRequests`. To answer, repeat the same call with the user's answers in `inputResponses` and the error's `requestState`:
16 +
17 + ```ts
18 + const session = await composio.create('user_123', {
19 + tools: { gmail: { requireApproval: ['GMAIL_SEND_EMAIL'] } },
20 + });
21 +
22 + try {
23 + await session.execute('GMAIL_SEND_EMAIL', args);
24 + } catch (error) {
25 + if (!(error instanceof ComposioToolInputRequiredError)) throw error;
26 + const inputResponses = await promptUser(error.inputRequests);
27 + await session.execute('GMAIL_SEND_EMAIL', args, {
28 + inputResponses,
29 + requestState: error.requestState,
30 + });
31 + }
32 + ```
33 +
34 + `promptUser` is a placeholder for your application's consent UI. Display each request, wait for the user's response, and return the answers keyed by request ID. Forward `decline` and `cancel` responses unchanged.
35 +
36 + `experimental.noElicitationSupportFallback` (`'deny'` or `'allow'`) sets what happens to such a call when the session's MCP client can't ask the user.
37 +
38 + `session.executeMeta()` now takes these answers as its third argument, so its request options move to the fourth.
39 +
40 + The Python SDK gains the same `require_approval` lists, `experimental.no_elicitation_support_fallback`, and `input_responses` and `request_state` on `session.execute()` and `session.execute_meta()`.
41 +
42 +### Patch Changes
43 +
44 +- f9a972b: Update the owned API client to `@composio/client@2.0.0-rc.16`. The SDK's public API and runtime behavior are unchanged.
45 +- 04cd5c4: Fix the trigger subscription lifecycle and contain errors from trigger handlers.
46 +
47 + - `triggers.unsubscribe()` now closes the realtime connection, so a Node process can exit once it has unsubscribed. A later `triggers.subscribe()` opens a new connection.
48 + - `triggers.unsubscribe()` before any `subscribe()` no longer fetches realtime credentials or creates a client.
49 + - Concurrent `subscribe()` calls share one connection, and `unsubscribe()` cancels a subscription that is still connecting, so it never opens a connection or delivers events afterwards.
50 + - A rejected promise from an `async` trigger handler is logged like a synchronous throw instead of escaping as an unhandled rejection that ends the process. Handler failures log the error's message rather than `{}`.
51 +
52 ## 0.24.0
53
54 ### Minor Changes
ts/packages/core/package.json
+1 -1
@@ -4,7 +4,7 @@
4 "engines": {
5 "node": ">=22.22.3"
6 },
7 - "version": "0.24.0",
7 + "version": "0.25.0",
8 "description": "",
9 "main": "src/index.ts",
10 "publishConfig": {
ts/packages/slim/CHANGELOG.md
+49
@@ -1,5 +1,54 @@
1 # @composio/slim
2
3 +## 0.25.0
4 +
5 +### Minor Changes
6 +
7 +- 79c2d1d: Requires `@composio/client` `2.0.0-rc.17`. The SDK now reports itself to the API client through the client's `identity` option instead of default headers. The headers sent with each request are unchanged, with one exception: on Cloudflare Workers and Vercel Edge with Node.js compatibility enabled, `x-client-runtime` now names that runtime instead of `nodejs`, and the polyfilled Node.js version is no longer sent as `x-runtime-version`. A `createSession()` clone no longer copies these headers into its `defaultHeaders`.
8 +
9 + The API client owns these headers, so `defaultHeaders` and `createSession({ headers })` now reject `x-client-provenance`, `x-client-version`, `x-client-library`, `x-client-library-version`, `x-client-language`, `x-client-runtime`, `x-sdk-version`, `x-source`, `x-framework`, `x-runtime` and `x-runtime-version` with a `ComposioError` from `@composio/client`. The SDK used to overwrite such entries silently.
10 +
11 + A custom provider whose `name` cannot be sent as a header value (anything other than printable ASCII with no leading or trailing whitespace) is reported as `unknown` in `x-framework`.
12 +
13 +- 40546c3: Add experimental support for tool calls that need the user's approval.
14 +
15 + Sessions accept a `requireApproval` list next to the `toolkits`, `tools` and `tags` filters on `create()` and `update()`. A call to a matching tool doesn't run: `session.execute()` and `session.executeMeta()` throw `ComposioToolInputRequiredError` with the questions on `inputRequests`. To answer, repeat the same call with the user's answers in `inputResponses` and the error's `requestState`:
16 +
17 + ```ts
18 + const session = await composio.create('user_123', {
19 + tools: { gmail: { requireApproval: ['GMAIL_SEND_EMAIL'] } },
20 + });
21 +
22 + try {
23 + await session.execute('GMAIL_SEND_EMAIL', args);
24 + } catch (error) {
25 + if (!(error instanceof ComposioToolInputRequiredError)) throw error;
26 + const inputResponses = await promptUser(error.inputRequests);
27 + await session.execute('GMAIL_SEND_EMAIL', args, {
28 + inputResponses,
29 + requestState: error.requestState,
30 + });
31 + }
32 + ```
33 +
34 + `promptUser` is a placeholder for your application's consent UI. Display each request, wait for the user's response, and return the answers keyed by request ID. Forward `decline` and `cancel` responses unchanged.
35 +
36 + `experimental.noElicitationSupportFallback` (`'deny'` or `'allow'`) sets what happens to such a call when the session's MCP client can't ask the user.
37 +
38 + `session.executeMeta()` now takes these answers as its third argument, so its request options move to the fourth.
39 +
40 + The Python SDK gains the same `require_approval` lists, `experimental.no_elicitation_support_fallback`, and `input_responses` and `request_state` on `session.execute()` and `session.execute_meta()`.
41 +
42 +### Patch Changes
43 +
44 +- f9a972b: Update the owned API client to `@composio/client@2.0.0-rc.16`. The SDK's public API and runtime behavior are unchanged.
45 +- 04cd5c4: Fix the trigger subscription lifecycle and contain errors from trigger handlers.
46 +
47 + - `triggers.unsubscribe()` now closes the realtime connection, so a Node process can exit once it has unsubscribed. A later `triggers.subscribe()` opens a new connection.
48 + - `triggers.unsubscribe()` before any `subscribe()` no longer fetches realtime credentials or creates a client.
49 + - Concurrent `subscribe()` calls share one connection, and `unsubscribe()` cancels a subscription that is still connecting, so it never opens a connection or delivers events afterwards.
50 + - A rejected promise from an `async` trigger handler is logged like a synchronous throw instead of escaping as an unhandled rejection that ends the process. Handler failures log the error's message rather than `{}`.
51 +
52 ## 0.24.0
53
54 ### Minor Changes
ts/packages/slim/package.json
+1 -1
@@ -4,7 +4,7 @@
4 "engines": {
5 "node": ">=22.22.3"
6 },
7 - "version": "0.24.0",
7 + "version": "0.25.0",
8 "description": "Slim Composio core package without packaged source or docs",
9 "main": "dist/index.mjs",
10 "publishConfig": {