@devries-cameron20 / composio-1 / commits / 5f004ffbf
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): drop recipe meta-tool slugs removed from @composio/client (#3615)

This PR: - cherry-picks the CLI fix from https://github.com/ComposioHQ/composio/pull/3494 so `next` is unblocked independently of that larger ESM-only PR - fixes the `@composio/cli#build` typecheck failure on `next` (`TS2322` in `ts/packages/cli/src/services/tools-executor.ts`) that is currently breaking the **TS SDK Release** workflow - `@composio/client` alpha.74 (https://github.com/ComposioHQ/composio/pull/3609) removed `COMPOSIO_UPSERT_RECIPE` and `COMPOSIO_GET_RECIPE` from `SessionExecuteMetaParams['slug']`, but `META_TOOL_SLUG_LIST` (declared `satisfies ReadonlyArray<SessionExecuteMetaParams['slug']>`) still listed them, so the build no longer type-checked - adds a `@composio/cli` patch changeset Verified locally: `pnpm --filter @composio/cli typecheck` passes.

Alberto Schiabel committed Jun 19, 2026 at 22:11 UTC 5f004ffbfe9a01ac92205f6f9d51efae156ede2b
2 files changed +5 -2
.changeset/cli-drop-recipe-meta-tool-slugs.md new
+5
@@ -0,0 +1,5 @@
1 +---
2 +'@composio/cli': patch
3 +---
4 +
5 +Drop `COMPOSIO_UPSERT_RECIPE` and `COMPOSIO_GET_RECIPE` from the CLI meta-tool list. These slugs were removed from `@composio/client` (alpha.74), so listing them broke the type-checked CLI build.
ts/packages/cli/src/services/tools-executor.ts
-2
@@ -82,8 +82,6 @@ const META_TOOL_SLUG_LIST = [
82 'COMPOSIO_REMOTE_WORKBENCH',
83 'COMPOSIO_REMOTE_BASH_TOOL',
84 'COMPOSIO_GET_TOOL_SCHEMAS',
85 - 'COMPOSIO_UPSERT_RECIPE',
86 - 'COMPOSIO_GET_RECIPE',
85 ] as const satisfies ReadonlyArray<SessionExecuteMetaParams['slug']>;
86
87 const META_TOOL_SLUGS: ReadonlySet<string> = new Set(META_TOOL_SLUG_LIST);