@devries-cameron20 / composio-1 / commits / fc2c82cb1
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.

docs: update TypeScript SDK reference from source (#4777)

## Summary Auto-generated TypeScript SDK reference docs from `ts/packages/core/src/`. Regenerates pages at `docs/content/reference/sdk-reference/typescript/` to reflect changes in the core package's public API (new methods, updated signatures, changed types). Co-authored-by: jkomyno <12381818+jkomyno@users.noreply.github.com>

sdkrelease[bot] committed Oct 8, 2026 at 16:20 UTC fc2c82cb153dca225960ed9f831d1093534a97e9
1 file changed +3 -3
docs/content/reference/sdk-reference/typescript/session.mdx
+3 -3
@@ -7,7 +7,7 @@ description: "A Composio session — the object returned by `composio.sessions.c
7
8 | Name | Type | Description |
9 |------|------|-------------|
10 -| `config` | `ToolRouterSessionConfig` | The session's current configuration (policy snapshot and runtime settings). Refreshed in place by `update()`. For saved, reusable Session configs, see `composio.sessionConfigs`. |
10 +| `config` | `Config` | The session's current configuration (policy snapshot and runtime settings). Refreshed in place by `update()`. For saved, reusable Session configs, see `composio.sessionConfigs`. |
11 | `configVersion` | `number` | Version of the server-side configuration this object last observed. Refreshed in place by `update()`. Pass it as `expectedConfigVersion` to make an update conditional. |
12 | `experimental` | `SessionExperimental` | |
13 | `mcp` | `\{ headers?: Record<string, string>; type: 'http' \| 'sse'; url: string \}` | Hosted MCP endpoint (`session.mcp.url` / `session.mcp.headers`). Exists on every session at runtime, but only surfaced in the type when the session is created with `\{ mcp: true \}` (which returns `Session`); the default `SessionWithoutMcp` omits `mcp`, so MCP is an explicit opt-in. See https://docs.composio.dev/docs/sessions-via-mcp |
@@ -338,7 +338,7 @@ for example for an archived or missing config, surface unchanged.
338 successful response, and the updated `config` is returned.
339
340 ```typescript
341 -async update(config: ToolRouterUpdateSessionConfig, requestOptions?: ComposioRequestOptions): Promise<ToolRouterSessionConfig>
341 +async update(config: ToolRouterUpdateSessionConfig, requestOptions?: ComposioRequestOptions): Promise<Config>
342 ```
343
344 **Parameters**
@@ -350,6 +350,6 @@ async update(config: ToolRouterUpdateSessionConfig, requestOptions?: ComposioReq
350
351 **Returns**
352
353 -`Promise<ToolRouterSessionConfig>`
353 +`Promise<Config>`
354
355 ---