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
fix(cli): apply unknown-status guard to connections list/remove commands
`connections.list.cmd.ts` and `connections.remove.cmd.ts` decode the same `ConnectedAccountListResponse` schema as `connected-accounts.list.cmd.ts` but were yielding the decode without a `catchTag` — a future server-side status addition would brick those commands for every user, including users not filtering by status. Mirror the forward-compat guard from `connected-accounts.list.cmd.ts`: catch `ParseError`, warn pointing at `composio upgrade`, fall back to the raw response. Surfaced by pattern-recognition review of PR #3344 (P2#4) — keeping the guard scoped to one command of three would reproduce the same bug Apollo's next enum addition (queued S2S_OAUTH2 revocation) is about to cause.