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(connected-accounts): support REVOKED status added in Apollo PR #9550
Apollo (hermes#9550) added REVOKED to the connected-account status enum. The SDK had several places that hard-coded the prior 6 values and would either fail-fast against the new value (BREAKING) or silently misclassify it (DEGRADED). TypeScript SDK (BREAKING fixes): - Add REVOKED to `ConnectedAccountStatusSchema` / `ConnectedAccountStatuses` so `z.enum().parse(...)` no longer throws on responses that include the new status. - Add REVOKED to the CLI's Effect `Schema.Literal(...)` for `ConnectedAccountItem.status`. - Add REVOKED to the `normalizeConnectedAccountStatus` switch so a REVOKED account is no longer silently coerced to INACTIVE. - Fix the connected-account-list raw-cast to forward REVOKED into the Stainless-generated client (the cast widens to whatever `client.connectedAccounts.list` accepts so it auto-tracks regenerations). Python SDK (DEGRADED fixes): - Add REVOKED to `ConnectionStatusEnum` so consumers checking `event.data.status in ConnectionStatusEnum` recognise the value. - Update `ConnectionRequest.wait_for_connection()` to fail fast on terminal non-ACTIVE statuses (FAILED / EXPIRED / INACTIVE / REVOKED) instead of polling until the 60s timeout. The Stainless-generated `@composio/client` and `composio_client` packages will pick up the new enum value automatically when regenerated; this PR covers the hand-written SDK code only.