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): add account_type to SessionLinkResponse test mocks
@composio/client@0.1.0-alpha.71 (just bumped in 483af3607) tightened SessionLinkResponse to require `account_type: 'PRIVATE' | 'SHARED'` — the four test mocks of `client.toolRouter.session.link` no longer satisfy the typed surface. CI was failing Build + Typecheck + every E2E job with the same 3 errors at connected-accounts.link.cmd.test.ts:287, 341, 373 (cascade — Typecheck fails first, Build/E2E inherit). All fixed by adding `account_type: 'PRIVATE' as const` at the four mock sites (3 in connected-accounts.link.cmd.test.ts, 1 in test-layer.ts default). PRIVATE chosen as the default because that matches what the backend now returns when account_type isn't supplied on input. Lesson: when bumping @composio/client, run `pnpm -r typecheck` at the workspace root, not just `pnpm --filter @composio/core typecheck`. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>