Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
Release: update version (#3402)
Abir Taheer02723698b06f
diff --git a/.changeset/connected-accounts-acl.md b/.changeset/connected-accounts-acl.mddeleted file mode 100644index 64531f557..000000000--- a/.changeset/connected-accounts-acl.md+++ /dev/null@@ -1,30 +0,0 @@-----'@composio/core': patch------Add `accountType` and per-user ACL support for SHARED connected accounts.--- **`accountType` on create**: `composio.connectedAccounts.link(userId, authConfigId, { accountType: 'SHARED' })` creates a SHARED connection. Default remains `PRIVATE`. A SHARED connection can be used by other `userId`s, but only when the connection is explicitly pinned in a tool-router session's config and only when the requesting `userId` passes the connection's ACL.-- **`accountType` on retrieve**: `get()` and `list()` responses now include `accountType` (`'PRIVATE' | 'SHARED'`).-- **`aclConfigForShared` on create + retrieve**: per-user ACL block — `{ allowAllUsers, allowedUserIds, notAllowedUserIds }`. On responses the field is `undefined` when the caller isn't authorised to see the ACL, so callers can distinguish *"I can't see the ACL"* from *"ACL is the default deny-by-default state"*.-- **`updateAcl()` method** (new): `composio.connectedAccounts.updateAcl(nanoid, { allowAllUsers, allowedUserIds, notAllowedUserIds })` writes the ACL via `PATCH`. PATCH semantics — omit a field to leave it unchanged; pass an empty array to clear an allow/deny list. At least one field required. Calling on a PRIVATE connection raises `ComposioAclOnlyForSharedError` (400).-- **`ToolRouterSession.authorize()` options gain `accountType` + `aclConfigForShared`**, so a SHARED connection with an ACL can be created in one call from inside a tool-router session.--ACL resolution rule (deny wins):--1. requesting `userId` ∈ `notAllowedUserIds` → DENY-2. `allowAllUsers === true` → ALLOW-3. requesting `userId` ∈ `allowedUserIds` → ALLOW-4. otherwise → DENY (deny-by-default)--Limits: each ACL list accepts up to 1000 entries; each `userId` is 1..256 characters. The SDK enforces these caps at the input boundary.--New error classes:--- `ComposioSharedAccessDeniedError` (403) — surfaces from direct `connectedAccountId` execution paths when the requesting user fails the ACL.-- `ComposioAclOnlyForSharedError` (400) — ACL fields sent on a PRIVATE connection.-- `ComposioSharedConnectionNotAccessibleError` (400) — tool-router session create / PATCH with a pinned SHARED connection the session user cannot use.--No breaking changes. Existing `link()` callers without the new options get a `PRIVATE` connection exactly as today; existing `get()` / `list()` callers see new optional fields.--The Python SDK mirror ships in a separate PR.diff --git a/.changeset/sec-339-deprecation-header-gate.md b/.changeset/sec-339-deprecation-header-gate.mddeleted file mode 100644index a7ade9793..000000000--- a/.changeset/sec-339-deprecation-header-gate.md+++ /dev/null@@ -1,15 +0,0 @@-----'@composio/core': patch------Fix false-positive `initiate()` deprecation warning for custom auth configs (SEC-339 follow-up).--`composio.connectedAccounts.initiate()` previously emitted a one-time `console.warn` on every redirectable-OAuth response, regardless of whether the auth config was Composio-managed (subject to the 2026-07-03 cutover) or custom (unaffected). The wording was conditional ("If this auth config is Composio-managed…") so callers using their own OAuth apps could ignore it, but the warning still printed and caused noise in logs.--Apollo already emits the SEC-339 `Deprecation` / `Sunset` / `Link rel="deprecation"` headers (RFC 9745 / RFC 8594) **only** on the retiring branch — managed + redirectable OAuth. The SDK now reads the `Deprecation` header from the response (via `APIPromise.withResponse()`) and gates the warning on its presence. Custom auth configs and non-OAuth schemes get a clean response from the server and now stay silent in the SDK as well.--- **Behavior change:** No warning is emitted for `initiate()` calls against custom OAuth auth configs or non-OAuth schemes (API key, bearer, basic). Managed-OAuth callers continue to get exactly one warning per process, now with revised wording that points at the response's `Sunset` header for the precise cutover date.-- **No public API change:** `initiate()` returns the same `ConnectionRequest` shape and respects the same `allowMultiple` guard. `ComposioLegacyConnectedAccountsEndpointRetiredError` continues to surface from the 400 retired-path response.-- **Test scaffolding:** new mock helper `mockApiPromiseWithHeaders()` in `connectedAccounts.test.ts` wraps a value as an `APIPromise`-shaped thenable so the new tests can simulate apollo's header behavior. Pre-existing initiate tests using `mockResolvedValueOnce` continue to pass via the SDK's defensive fallback when `withResponse` is absent on the mock.--Python SDK gets the matching change in the same release train.diff --git a/ts/packages/cli-local-tools/CHANGELOG.md b/ts/packages/cli-local-tools/CHANGELOG.mdindex fdd2d85ce..3042fbf36 100644--- a/ts/packages/cli-local-tools/CHANGELOG.md+++ b/ts/packages/cli-local-tools/CHANGELOG.md@@ -1,5 +1,13 @@# @composio/cli-local-tools+## 0.0.3++### Patch Changes++- Updated dependencies [84a3a07]+- Updated dependencies [c358ffa]+ - @composio/[email protected]+## 0.0.2### Patch Changesdiff --git a/ts/packages/cli-local-tools/package.json b/ts/packages/cli-local-tools/package.jsonindex 805088803..485411b96 100644--- a/ts/packages/cli-local-tools/package.json+++ b/ts/packages/cli-local-tools/package.json@@ -1,6 +1,6 @@{"name": "@composio/cli-local-tools",- "version": "0.0.2",+ "version": "0.0.3","description": "Local tool and toolkit declarations for the Composio CLI.","type": "module","main": "dist/index.mjs",diff --git a/ts/packages/cli/CHANGELOG.md b/ts/packages/cli/CHANGELOG.mdindex f3ddd5914..d379c4d42 100644--- a/ts/packages/cli/CHANGELOG.md+++ b/ts/packages/cli/CHANGELOG.md@@ -1,5 +1,14 @@# @composio/cli+## 0.2.29++### Patch Changes++- Updated dependencies [84a3a07]+- Updated dependencies [c358ffa]+ - @composio/[email protected]+ - @composio/[email protected]+## 0.2.28### Patch Changesdiff --git a/ts/packages/cli/package.json b/ts/packages/cli/package.jsonindex f5453102d..485999004 100644--- a/ts/packages/cli/package.json+++ b/ts/packages/cli/package.json@@ -1,6 +1,6 @@{"name": "@composio/cli",- "version": "0.2.28",+ "version": "0.2.29","description": "Composio CLI","main": "./dist/bin.mjs","private": true,diff --git a/ts/packages/core/CHANGELOG.md b/ts/packages/core/CHANGELOG.mdindex b8517f026..ce8b410e5 100644--- a/ts/packages/core/CHANGELOG.md+++ b/ts/packages/core/CHANGELOG.md@@ -1,5 +1,44 @@# @composio/core+## 0.9.1++### Patch Changes++- 84a3a07: Add `accountType` and per-user ACL support for SHARED connected accounts.+ - **`accountType` on create**: `composio.connectedAccounts.link(userId, authConfigId, { accountType: 'SHARED' })` creates a SHARED connection. Default remains `PRIVATE`. A SHARED connection can be used by other `userId`s, but only when the connection is explicitly pinned in a tool-router session's config and only when the requesting `userId` passes the connection's ACL.+ - **`accountType` on retrieve**: `get()` and `list()` responses now include `accountType` (`'PRIVATE' | 'SHARED'`).+ - **`aclConfigForShared` on create + retrieve**: per-user ACL block — `{ allowAllUsers, allowedUserIds, notAllowedUserIds }`. On responses the field is `undefined` when the caller isn't authorised to see the ACL, so callers can distinguish _"I can't see the ACL"_ from _"ACL is the default deny-by-default state"_.+ - **`updateAcl()` method** (new): `composio.connectedAccounts.updateAcl(nanoid, { allowAllUsers, allowedUserIds, notAllowedUserIds })` writes the ACL via `PATCH`. PATCH semantics — omit a field to leave it unchanged; pass an empty array to clear an allow/deny list. At least one field required. Calling on a PRIVATE connection raises `ComposioAclOnlyForSharedError` (400).+ - **`ToolRouterSession.authorize()` options gain `accountType` + `aclConfigForShared`**, so a SHARED connection with an ACL can be created in one call from inside a tool-router session.++ ACL resolution rule (deny wins):+ 1. requesting `userId` ∈ `notAllowedUserIds` → DENY+ 2. `allowAllUsers === true` → ALLOW+ 3. requesting `userId` ∈ `allowedUserIds` → ALLOW+ 4. otherwise → DENY (deny-by-default)++ Limits: each ACL list accepts up to 1000 entries; each `userId` is 1..256 characters. The SDK enforces these caps at the input boundary.++ New error classes:+ - `ComposioSharedAccessDeniedError` (403) — surfaces from direct `connectedAccountId` execution paths when the requesting user fails the ACL.+ - `ComposioAclOnlyForSharedError` (400) — ACL fields sent on a PRIVATE connection.+ - `ComposioSharedConnectionNotAccessibleError` (400) — tool-router session create / PATCH with a pinned SHARED connection the session user cannot use.++ No breaking changes. Existing `link()` callers without the new options get a `PRIVATE` connection exactly as today; existing `get()` / `list()` callers see new optional fields.++ The Python SDK mirror ships in a separate PR.++- c358ffa: Fix false-positive `initiate()` deprecation warning for custom auth configs (SEC-339 follow-up).++ `composio.connectedAccounts.initiate()` previously emitted a one-time `console.warn` on every redirectable-OAuth response, regardless of whether the auth config was Composio-managed (subject to the 2026-07-03 cutover) or custom (unaffected). The wording was conditional ("If this auth config is Composio-managed…") so callers using their own OAuth apps could ignore it, but the warning still printed and caused noise in logs.++ Apollo already emits the SEC-339 `Deprecation` / `Sunset` / `Link rel="deprecation"` headers (RFC 9745 / RFC 8594) **only** on the retiring branch — managed + redirectable OAuth. The SDK now reads the `Deprecation` header from the response (via `APIPromise.withResponse()`) and gates the warning on its presence. Custom auth configs and non-OAuth schemes get a clean response from the server and now stay silent in the SDK as well.+ - **Behavior change:** No warning is emitted for `initiate()` calls against custom OAuth auth configs or non-OAuth schemes (API key, bearer, basic). Managed-OAuth callers continue to get exactly one warning per process, now with revised wording that points at the response's `Sunset` header for the precise cutover date.+ - **No public API change:** `initiate()` returns the same `ConnectionRequest` shape and respects the same `allowMultiple` guard. `ComposioLegacyConnectedAccountsEndpointRetiredError` continues to surface from the 400 retired-path response.+ - **Test scaffolding:** new mock helper `mockApiPromiseWithHeaders()` in `connectedAccounts.test.ts` wraps a value as an `APIPromise`-shaped thenable so the new tests can simulate apollo's header behavior. Pre-existing initiate tests using `mockResolvedValueOnce` continue to pass via the SDK's defensive fallback when `withResponse` is absent on the mock.++ Python SDK gets the matching change in the same release train.+## 0.9.0### Minor Changesdiff --git a/ts/packages/core/package.json b/ts/packages/core/package.jsonindex cbe2dc690..6fbf3fa03 100644--- a/ts/packages/core/package.json+++ b/ts/packages/core/package.json@@ -1,7 +1,7 @@{"name": "@composio/core","type": "module",- "version": "0.9.0",+ "version": "0.9.1","description": "","main": "src/index.ts","publishConfig": {diff --git a/ts/packages/providers/anthropic/CHANGELOG.md b/ts/packages/providers/anthropic/CHANGELOG.mdindex 1629758d0..a69e0faf2 100644--- a/ts/packages/providers/anthropic/CHANGELOG.md+++ b/ts/packages/providers/anthropic/CHANGELOG.md@@ -1,5 +1,13 @@# @composio/anthropic+## 0.9.1++### Patch Changes++- Updated dependencies [84a3a07]+- Updated dependencies [c358ffa]+ - @composio/[email protected]+## 0.9.0### Minor Changesdiff --git a/ts/packages/providers/anthropic/package.json b/ts/packages/providers/anthropic/package.jsonindex 29c840645..045cb9656 100644--- a/ts/packages/providers/anthropic/package.json+++ b/ts/packages/providers/anthropic/package.json@@ -1,6 +1,6 @@{"name": "@composio/anthropic",- "version": "0.9.0",+ "version": "0.9.1","description": "Non-Agentic Provider for Anthropic in Composio SDK","main": "src/index.ts","publishConfig": {@@ -43,7 +43,7 @@"packageManager": "[email protected]","peerDependencies": {"@anthropic-ai/sdk": "^0.52.0",- "@composio/core": "0.9.0",+ "@composio/core": "0.9.1","@mastra/mcp": "^0.12.0"},"devDependencies": {diff --git a/ts/packages/providers/claude-agent-sdk/CHANGELOG.md b/ts/packages/providers/claude-agent-sdk/CHANGELOG.mdindex e6428abe1..6d67eb8b1 100644--- a/ts/packages/providers/claude-agent-sdk/CHANGELOG.md+++ b/ts/packages/providers/claude-agent-sdk/CHANGELOG.md@@ -1,5 +1,13 @@# @composio/claude-code-agents+## 0.9.1++### Patch Changes++- Updated dependencies [84a3a07]+- Updated dependencies [c358ffa]+ - @composio/[email protected]+## 0.9.0### Minor Changesdiff --git a/ts/packages/providers/claude-agent-sdk/package.json b/ts/packages/providers/claude-agent-sdk/package.jsonindex 7ee39dd6b..b6babd6c4 100644--- a/ts/packages/providers/claude-agent-sdk/package.json+++ b/ts/packages/providers/claude-agent-sdk/package.json@@ -1,6 +1,6 @@{"name": "@composio/claude-agent-sdk",- "version": "0.9.0",+ "version": "0.9.1","description": "Composio provider for Claude Agent SDK","main": "src/index.ts","publishConfig": {@@ -48,7 +48,7 @@"zod": "^3.25.76"},"peerDependencies": {- "@composio/core": "0.9.0",+ "@composio/core": "0.9.1","@anthropic-ai/claude-agent-sdk": ">=0.1.0"},"devDependencies": {diff --git a/ts/packages/providers/cloudflare/CHANGELOG.md b/ts/packages/providers/cloudflare/CHANGELOG.mdindex cbf243726..109d5a932 100644--- a/ts/packages/providers/cloudflare/CHANGELOG.md+++ b/ts/packages/providers/cloudflare/CHANGELOG.md@@ -1,5 +1,13 @@# @composio/cloudflare+## 0.9.1++### Patch Changes++- Updated dependencies [84a3a07]+- Updated dependencies [c358ffa]+ - @composio/[email protected]+## 0.9.0### Minor Changesdiff --git a/ts/packages/providers/cloudflare/package.json b/ts/packages/providers/cloudflare/package.jsonindex d27fed2c1..0464a21b9 100644--- a/ts/packages/providers/cloudflare/package.json+++ b/ts/packages/providers/cloudflare/package.json@@ -1,6 +1,6 @@{"name": "@composio/cloudflare",- "version": "0.9.0",+ "version": "0.9.1","description": "","main": "src/index.ts","publishConfig": {@@ -39,7 +39,7 @@"packageManager": "[email protected]","peerDependencies": {"@cloudflare/workers-types": "catalog:",- "@composio/core": "0.9.0"+ "@composio/core": "0.9.1"},"devDependencies": {"@composio/core": "workspace:*",diff --git a/ts/packages/providers/google/CHANGELOG.md b/ts/packages/providers/google/CHANGELOG.mdindex d045b5519..3326b4e86 100644--- a/ts/packages/providers/google/CHANGELOG.md+++ b/ts/packages/providers/google/CHANGELOG.md@@ -1,5 +1,13 @@# @composio/google+## 0.9.1++### Patch Changes++- Updated dependencies [84a3a07]+- Updated dependencies [c358ffa]+ - @composio/[email protected]+## 0.9.0### Minor Changesdiff --git a/ts/packages/providers/google/package.json b/ts/packages/providers/google/package.jsonindex b7092a1a7..33be94aa9 100644--- a/ts/packages/providers/google/package.json+++ b/ts/packages/providers/google/package.json@@ -1,6 +1,6 @@{"name": "@composio/google",- "version": "0.9.0",+ "version": "0.9.1","description": "Google GenAI Provider for Composio SDK","main": "src/index.ts","publishConfig": {@@ -44,7 +44,7 @@"license": "ISC","packageManager": "[email protected]","peerDependencies": {- "@composio/core": "0.9.0",+ "@composio/core": "0.9.1","@google/genai": "^1.1.0"},"devDependencies": {diff --git a/ts/packages/providers/langchain/CHANGELOG.md b/ts/packages/providers/langchain/CHANGELOG.mdindex 9a31c8cfa..1aa107b84 100644--- a/ts/packages/providers/langchain/CHANGELOG.md+++ b/ts/packages/providers/langchain/CHANGELOG.md@@ -1,5 +1,13 @@# @composio/langchain+## 0.9.1++### Patch Changes++- Updated dependencies [84a3a07]+- Updated dependencies [c358ffa]+ - @composio/[email protected]+## 0.9.0### Minor Changesdiff --git a/ts/packages/providers/langchain/package.json b/ts/packages/providers/langchain/package.jsonindex 768748f48..7217cef40 100644--- a/ts/packages/providers/langchain/package.json+++ b/ts/packages/providers/langchain/package.json@@ -1,6 +1,6 @@{"name": "@composio/langchain",- "version": "0.9.0",+ "version": "0.9.1","description": "","main": "dist/index.js","publishConfig": {@@ -38,7 +38,7 @@"license": "ISC","packageManager": "[email protected]","peerDependencies": {- "@composio/core": "0.9.0",+ "@composio/core": "0.9.1","@langchain/core": "^1.1.4"},"devDependencies": {diff --git a/ts/packages/providers/llamaindex/CHANGELOG.md b/ts/packages/providers/llamaindex/CHANGELOG.mdindex 56d6091a0..756fadfa9 100644--- a/ts/packages/providers/llamaindex/CHANGELOG.md+++ b/ts/packages/providers/llamaindex/CHANGELOG.md@@ -1,5 +1,13 @@# @composio/llamaindex+## 0.9.1++### Patch Changes++- Updated dependencies [84a3a07]+- Updated dependencies [c358ffa]+ - @composio/[email protected]+## 0.9.0### Minor Changesdiff --git a/ts/packages/providers/llamaindex/package.json b/ts/packages/providers/llamaindex/package.jsonindex 8eb9b22b1..04144267f 100644--- a/ts/packages/providers/llamaindex/package.json+++ b/ts/packages/providers/llamaindex/package.json@@ -1,6 +1,6 @@{"name": "@composio/llamaindex",- "version": "0.9.0",+ "version": "0.9.1","description": "Agentic Provider for llamaindex in Composio SDK","main": "src/index.ts","publishConfig": {@@ -41,7 +41,7 @@"license": "ISC","packageManager": "[email protected]","peerDependencies": {- "@composio/core": "0.9.0",+ "@composio/core": "0.9.1","llamaindex": "^0.12.0"},"devDependencies": {diff --git a/ts/packages/providers/mastra/CHANGELOG.md b/ts/packages/providers/mastra/CHANGELOG.mdindex 583b32d4e..4e33ffd39 100644--- a/ts/packages/providers/mastra/CHANGELOG.md+++ b/ts/packages/providers/mastra/CHANGELOG.md@@ -1,5 +1,13 @@# @composio/mastra+## 0.9.1++### Patch Changes++- Updated dependencies [84a3a07]+- Updated dependencies [c358ffa]+ - @composio/[email protected]+## 0.9.0### Minor Changesdiff --git a/ts/packages/providers/mastra/package.json b/ts/packages/providers/mastra/package.jsonindex 9fa17dc80..79cb5ff53 100644--- a/ts/packages/providers/mastra/package.json+++ b/ts/packages/providers/mastra/package.json@@ -1,6 +1,6 @@{"name": "@composio/mastra",- "version": "0.9.0",+ "version": "0.9.1","description": "Agentic Provider for mastra in Composio SDK","main": "src/index.ts","publishConfig": {@@ -44,7 +44,7 @@"license": "ISC","packageManager": "[email protected]","peerDependencies": {- "@composio/core": "0.9.0",+ "@composio/core": "0.9.1","@mastra/core": "^1.0.4","zod": "^3.25 || ^4"},diff --git a/ts/packages/providers/openai-agents/CHANGELOG.md b/ts/packages/providers/openai-agents/CHANGELOG.mdindex e77e13d2c..7556292ea 100644--- a/ts/packages/providers/openai-agents/CHANGELOG.md+++ b/ts/packages/providers/openai-agents/CHANGELOG.md@@ -1,5 +1,13 @@# @composio/openai-agents+## 0.9.1++### Patch Changes++- Updated dependencies [84a3a07]+- Updated dependencies [c358ffa]+ - @composio/[email protected]+## 0.9.0### Minor Changesdiff --git a/ts/packages/providers/openai-agents/package.json b/ts/packages/providers/openai-agents/package.jsonindex 41f6d0609..4231cd465 100644--- a/ts/packages/providers/openai-agents/package.json+++ b/ts/packages/providers/openai-agents/package.json@@ -1,6 +1,6 @@{"name": "@composio/openai-agents",- "version": "0.9.0",+ "version": "0.9.1","description": "","main": "src/index.ts","publishConfig": {@@ -38,7 +38,7 @@"license": "ISC","packageManager": "[email protected]","peerDependencies": {- "@composio/core": "0.9.0",+ "@composio/core": "0.9.1","@openai/agents": "^0.1.3","zod": "catalog:"},diff --git a/ts/packages/providers/openai/CHANGELOG.md b/ts/packages/providers/openai/CHANGELOG.mdindex adbe5a56f..8dab4785f 100644--- a/ts/packages/providers/openai/CHANGELOG.md+++ b/ts/packages/providers/openai/CHANGELOG.md@@ -1,5 +1,13 @@# @composio/openai+## 0.9.1++### Patch Changes++- Updated dependencies [84a3a07]+- Updated dependencies [c358ffa]+ - @composio/[email protected]+## 0.9.0### Minor Changesdiff --git a/ts/packages/providers/openai/package.json b/ts/packages/providers/openai/package.jsonindex 571b0416e..662246392 100644--- a/ts/packages/providers/openai/package.json+++ b/ts/packages/providers/openai/package.json@@ -1,6 +1,6 @@{"name": "@composio/openai",- "version": "0.9.0",+ "version": "0.9.1","description": "","main": "src/index.ts","publishConfig": {@@ -38,7 +38,7 @@"license": "ISC","packageManager": "[email protected]","peerDependencies": {- "@composio/core": "0.9.0",+ "@composio/core": "0.9.1","openai": "catalog:"},"devDependencies": {diff --git a/ts/packages/providers/vercel/CHANGELOG.md b/ts/packages/providers/vercel/CHANGELOG.mdindex 5a307a975..583ef796b 100644--- a/ts/packages/providers/vercel/CHANGELOG.md+++ b/ts/packages/providers/vercel/CHANGELOG.md@@ -1,5 +1,13 @@# @composio/vercel+## 0.9.1++### Patch Changes++- Updated dependencies [84a3a07]+- Updated dependencies [c358ffa]+ - @composio/[email protected]+## 0.9.0### Minor Changesdiff --git a/ts/packages/providers/vercel/package.json b/ts/packages/providers/vercel/package.jsonindex f8f29933b..3bf446be9 100644--- a/ts/packages/providers/vercel/package.json+++ b/ts/packages/providers/vercel/package.json@@ -1,6 +1,6 @@{"name": "@composio/vercel",- "version": "0.9.0",+ "version": "0.9.1","description": "","main": "src/index.ts","publishConfig": {@@ -38,7 +38,7 @@"license": "ISC","packageManager": "[email protected]","peerDependencies": {- "@composio/core": "0.9.0",+ "@composio/core": "0.9.1","ai": "^5.0.0 || ^6.0.0"},"devDependencies": {