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, 22:15 UTC
chore: separate changeset for connectedAccounts array type (minor)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Abir Taheer committed
May 6, 2026 at 22:48 UTC
07c9baba9d57d7332f1ab58bafa426b40a95f8c4
2 files changed
+8
-3
.changeset/v31-connected-accounts-array.md
new
+7
@@ -0,0 +1,7 @@
1
+---
2
+'@composio/core': minor
3
+---
4
+
5
+Update `connectedAccounts` from `Record<string, string>` to `Record<string, string[]>`.
6
+
7
+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`.
.changeset/v31-customs-use-attach.md
+1
-3
@@ -2,10 +2,8 @@
2
'@composio/core': minor
3
---
4
5
-Add custom tools support to `composio.use()` and update `connectedAccounts` to array type.
5
+Add custom tools support to `composio.use()`.
6
7
- **`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.
8
- **Inline custom tools payload**: `use()` now correctly passes `inlineCustomToolsPayload` and `preloadedCustomToolSlugs` to the session, enabling custom tool execution and preloading on rehydrated sessions.
9
-- **`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.
9
- **`CustomToolsMap.tools`**: The map now caches the raw `CustomTool[]` array for future inline re-injection on v3.1 search/execute requests.
11
-- **`@composio/client`**: Bumped to `0.1.0-alpha.70`.