Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 21, 22:15 UTC
fix(cli): align test mocks with @composio/client alpha.67 SessionCreateResponse
The stainless client bump from alpha.66 to alpha.67 (pulled in by the sandbox-size commit on this branch) added two newly-required fields on SessionCreateResponse that the CLI tool-router test mocks do not return: - `config_version: number` at the top level - `preload: { tools: string[] }` inside `config` Add both to every `toolRouter.create` mock so `pnpm typecheck:test` passes again. The values are arbitrary fixtures (`config_version: 1`, empty `preload.tools`) — none of these tests assert on those fields. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>