Patch Changes
-
6b986cd: Bring
connectedAccounts.link()to parity withconnectedAccounts.initiate()by adding theallowMultipleoption and the matching active-connection guard. With customers being migrated offconnected_accounts/create(initiate) ontoconnected_accounts/link(SEC-339), the guard moves with them.- Added:
link(userId, authConfigId, { allowMultiple }). WhenallowMultipleisfalse(default) and the user already has anACTIVEconnection on the auth config,link()throwsComposioMultipleConnectedAccountsError— same behavior asinitiate(). Pair withaliasand a session-levelmultiAccountconfig to disambiguate at execution time. - Behavior change:
link()now performs aconnectedAccounts.list({ userIds, authConfigIds, statuses: ['ACTIVE'] })pre-flight before callingclient.link.create. Callers that intentionally create multiple connections per auth config must passallowMultiple: true.
Python parity: same option (
allow_multiple: bool = False) and same guard added tocomposio.connected_accounts.link(). - Added:
-
1c3276b: Add
workbench.sandboxSizeto the Tool Router session config so callers can pick the workbench sandbox compute tier.- Added:
workbench.sandboxSize?: 'standard' | 'medium' | 'large' | 'xlarge'onToolRouterCreateSessionConfig. Forwarded to the API as snake_caseworkbench.sandbox_size. Optional; the server defaults it to'standard'(1 vCPU / 1 GB) when omitted, so existing callers keep current behavior. - Added:
SandboxSizeliteral union andSandboxSizeSchemazod enum, exported from@composio/coreso callers can pass tier values without stringly-typing them. - Bumped:
@composio/clientpeer to0.1.0-alpha.67to pick up the matchingsandbox_sizefield on the Tool Router session params.
Tiers:
standard(1 vCPU / 1 GB),medium(2 / 2),large(4 / 4),xlarge(8 / 8). Sandboxes are not billed today; usage-based pricing is planned. See the changelog entry atdocs/content/changelog/04-28-26-sdk-sandbox-size.mdxfor usage and the full tier table.Provider packages that depend on
@composio/corereceive automatic patch bumps in the same release train via the changesetsupdateInternalDependencies: "patch"setting — no public-API change in those packages. - Added: