Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
feat(sdk): choose the Composio-managed app on auth config create (#5443)
<!-- claude-projects-attribution: {"github_login":"singhbharath03"} --> _Requested by **Bharath** · [project thread](https://claude.ai/code/project/chan_01D1BYJwu19miEBwrY92KKSU?thread=cmsg_01D1BYJwu19miEBwrY92KKSUG1RR49u43qbfrmEGhcp748)_ ## Summary Re-lands #5430 on `next`. It merged into the client-bump branch, which was rewritten before #5408 merged, so the change never reached `next`. Includes jkomyno's SDK reference regeneration (a2e6d60). [PLEN-4983](https://linear.app/composio/issue/PLEN-4983) ## Changes - TS: `authConfigs.create(slug, { type: 'use_composio_managed_auth', managedAppId })`; omitted = toolkit default. - TS: `toolkits.get(slug).composioManagedAuth[]` with `managedAppId`, `isDefault`, `mode`, `scopes`, `userScopes`. - TS: auth config create, get and list responses return `managedAppId` (`string | null`), mapped from `@composio/client` 2.1.35 types. - Python: `ComposioManagedAuthConfigOptions` adds `managed_app_id` to create options; the generated `AuthConfigUnionMember0` overload stays. Responses carry `managed_app_id` from `composio-client` 2.1.35. - Docs: regenerated SDK reference for auth configs. ## Type of change - [x] New feature ## How Has This Been Tested? `@composio/core` typecheck and vitest; Python `test_auth_configs.py` (incl. a create through the real client); mypy on `test_type_inference.py` covering both create option shapes. ## Additional context Not in scope: `toolkits.authorize` and Tool Router sessions still use the default app. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01H6YzWoF7M9fhunCQvA5wxY --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: jkomyno <alberto@composio.dev>