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
chore: separate changeset for connectedAccounts array type (minor)
Abir Taheer07c9baba9d57
diff --git a/.changeset/v31-connected-accounts-array.md b/.changeset/v31-connected-accounts-array.mdnew file mode 100644index 000000000..27c1446e9--- /dev/null+++ b/.changeset/v31-connected-accounts-array.md@@ -0,0 +1,7 @@+---+'@composio/core': minor+---++Update `connectedAccounts` from `Record<string, string>` to `Record<string, string[]>`.++Matches the v3.1 API where each toolkit maps to an array of connected account IDs. Only one account per toolkit is allowed when multi-account mode is disabled. Bumps `@composio/client` to `0.1.0-alpha.70`.diff --git a/.changeset/v31-customs-use-attach.md b/.changeset/v31-customs-use-attach.mdindex a589ad5c9..1f1c1f978 100644--- a/.changeset/v31-customs-use-attach.md+++ b/.changeset/v31-customs-use-attach.md@@ -2,10 +2,8 @@'@composio/core': minor----Add custom tools support to `composio.use()` and update `connectedAccounts` to array type.+Add custom tools support to `composio.use()`.- **`composio.use(id, { customTools, customToolkits })`**: Attach custom tools to an existing session. Calls the v3.1 `/attach` endpoint to bind local tools for search and execution. Without customs, falls back to the standard session retrieve.- **Inline custom tools payload**: `use()` now correctly passes `inlineCustomToolsPayload` and `preloadedCustomToolSlugs` to the session, enabling custom tool execution and preloading on rehydrated sessions.-- **`connectedAccounts` type change**: Updated from `Record<string, string>` to `Record<string, string[]>` to match the v3.1 API. Only one account per toolkit is allowed when multi-account mode is disabled.- **`CustomToolsMap.tools`**: The map now caches the raw `CustomTool[]` array for future inline re-injection on v3.1 search/execute requests.-- **`@composio/client`**: Bumped to `0.1.0-alpha.70`.