@devries-cameron20 / composio Mirror · read-only / commits / 45501d391
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.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 00:45 UTC

fix: suppress twoslash errors for unpublished multi-account SDK types

The multiAccount session config and connectedAccounts.update() methods are new SDK features not yet published to npm. Add @errors annotations to prevent twoslash type-checking from failing the docs build. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Zen Agent committed Apr 9, 2026 at 00:26 UTC 45501d391b6e5280a9b0a8f7565d50705d9646f9
1 file changed +2
docs/content/docs/configuring-sessions.mdx
+2
@@ -184,6 +184,7 @@ session = composio.create(
184 </Tab>
185 <Tab value="TypeScript">
186 ```typescript
187 +// @errors: 2353
188 import { Composio } from '@composio/core';
189 const composio = new Composio({ apiKey: 'your_api_key' });
190 // ---cut---
@@ -220,6 +221,7 @@ composio.connected_accounts.update("ca_abc123", alias="")
221 </Tab>
222 <Tab value="TypeScript">
223 ```typescript
224 +// @errors: 2339
225 import { Composio } from '@composio/core';
226 const composio = new Composio({ apiKey: 'your_api_key' });
227 // ---cut---