Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
docs(scripts): clean up stale api-reference index.mdx for orphan tags
generate-api-index.ts iterates every tag in spec.tags but used to `continue` silently when a tag had zero operations in both v3.1 and v3.0 specs. After a tag rename (e.g. Webhooks → Webhook Endpoints + Webhook Subscriptions), the old tag dir still has an index.mdx from a prior run that points at the old operationIds. The auto-update PR never includes a deletion for it, so the phantom category lingers in the docs. Replace the silent skip with an rmSync of any stale index.mdx for that tag in both content/reference/api-reference/ and content/reference/v3/api-reference/. Next auto-update run picks up the orphan and removes it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>