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, 07:15 UTC
fix(core): accept experimental in the session authorize type (#4665)
This PR: - fixes #4286: the Slack setup example passes an `experimental` option supported at runtime but missing from `ToolRouterAuthorizeFn`. - adds `experimental?: ConnectedAccountExperimental` to the public options type and a regression type test; includes a patch changeset for `@composio/core`. - verifies the actual Slack example source and reproduces TS2353 when only the type fix is removed. - passes `mise exec -- pnpm --filter @composio/core typecheck`. - passes `mise exec -- pnpm --filter @composio/core exec vitest run test/core/session.test.ts`: 49 tests. Updated with current `next`; the runtime and example remain unchanged. Co-authored-by: jkomyno <alberto@composio.dev>