@devries-cameron20 / composio-1 / commits / 5eefadf57
Fork 0

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): resolve multi-word toolkits from tool slugs (#4053)

This PR: - closes https://github.com/ComposioHQ/composio/issues/4049 - resolves a tool's toolkit by matching the tool slug against the known toolkit list, longest underscore-bounded prefix first, instead of splitting on the first underscore — `GOOGLE_ANALYTICS_RUN_REPORT` belongs to `google_analytics`, not `google`, and the old split picked the wrong connected account - routes every call site (execute, listen, tools-executor, file uploads, error overrides, telemetry) through one Effect resolver, `toolkitFromToolSlug`, so they cannot disagree - keeps the first-underscore split as `guessToolkitFromToolSlug`, used only when the toolkit list cannot be loaded - fixes a second miss that the old split hid: `COMPOSIO_SEARCH_TOOLS` is a session meta tool, but `composio_search` is a real linkable toolkit, so matching against the real catalog made a failed meta call tell users to link an app that had nothing to do with it. The meta tool slugs move out of `tools-executor.ts` into `src/utils/meta-tool-slugs.ts`, and resolution answers "no toolkit" for them before any prefix matching - no visible command surface changed, so no VHS recording ## Context This is correct but not yet fast: resolution still reads the toolkit catalog, which is ~800 KB over two pages. Three stacked PRs follow that make the common case cost no network at all.

Alberto Schiabel committed Aug 10, 2026 at 17:36 UTC 5eefadf57b474918b32830a0bfb3255072b8134b

No changes.