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(cli): show dev-tree examples on `dev connected-accounts link --help` (#5327)
This PR: - builds the `link` examples from the help page's path (`Command.withExamples(({ commandPath }) => …)`), so the one definition registered as `composio link` and as `composio dev connected-accounts link` shows each page its own command; the dev page used to show `composio link github` and two more root examples, which link the consumer user - replaces "so tools can act on your behalf" with a description that says which user each tree acts as, without naming the dev group's flags on the root page - adds a check to `command-references.test.ts`: every listed page's rendered `--help`, each `composio …` example under EXAMPLES must resolve to a command on the page's own tree; on the old code it fails with exactly the three dev-page examples - adds argv-level help tests for both `link` pages, and regenerates `COMMANDS.md` ## Context An audit of all 78 registrations and 66 rendered examples found this page to be the only one whose examples cross trees; `execute` / `dev playground-execute` already rewrites its examples. The existing reference test only checks that `composio link github` names a real command, not that it is on the tree of the page that shows it. Found while measuring agent runs for https://github.com/ComposioHQ/composio/pull/5312, where agents on developer tasks reached for root commands.