Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
fix(connected-accounts): handle REVOKED in waitForConnection + CLI list filter
Codex review of zen/connection-status-revoked-118z84 flagged two TypeScript paths that did not yet handle the new REVOKED status: - `ConnectionRequest.waitForConnection` only treated FAILED and EXPIRED as terminal error states, so a revoked connection would poll until the full timeout instead of failing immediately. Add REVOKED to `terminalErrorStates`. (This is the TS analog of the Python `wait_for_connection` fix already in this PR.) - The `composio dev connected-accounts list --status` flag's `Options.choice` whitelist did not include 'REVOKED', so users could not filter for revoked accounts. Add it. The Stainless-typed list call underneath needs the same cast workaround used in `services/composio-clients.ts` so REVOKED forwards through until @composio/client is regenerated.