TypeScript SDK 0.13.0 adds sessions and 0.13.1 adds deletion
TypeScript SDK@composio/core 0.13.0 makes the sessions API the primary way to work with Tool Router. Version 0.13.1 completes the lifecycle with session deletion.
SDK versions
Sessions are first-class
Usecomposio.sessions.create() as the canonical entry point. composio.create() remains an alias. The shared-connection ACL helper also graduates to connectedAccounts.updateAcl(), while experimental.updateAcl() remains as a compatibility alias.
MCP is now opt-in at the type level. Sessions return native tools by default. Create a session with { mcp: true } before reading session.mcp in TypeScript.
Other session and trigger updates
- Session responses expose the resolved workbench configuration. Prefer
sandboxfor code-execution configuration;workbenchremains an accepted alias. triggers.parse()parses incoming webhook requests and can verify their signatures.triggers.setWebhookSubscription()creates or updates a project webhook subscription.composio.sessions.delete(sessionId)andsession.delete()remove a Tool Router session in0.13.1.