---
canonical_url: "https://docs.composio.dev/docs/changelog/2026/11/25"
markdown_url: "https://docs.composio.dev/docs/changelog/2026/11/25.md"
product: "platform"
version: null
last_updated: null
---

# Changelog - Nov 25, 2026

**Documentation:** https://docs.composio.dev/docs/changelog/2026/11/25

## CLI 0.6.4 keeps local uploads in the working directory and protects `.env.local`

Local file inputs must sit under the working directory, `composio dev init` writes `.env.local` with owner-only permissions, and requests from Claude Code or Codex carry an agent session.

CLI 0.6.4 is a security patch. Local files you pass to `composio execute`, `composio proxy`, and `composio listen` must now sit under the working directory, and `composio dev init` writes credentials to `.env.local` with owner-only permissions. It also groups the commands one Claude Code or Codex chat runs, in telemetry and on requests to Composio.

### Release versions [#release-versions]

| SDK            | Version |
| -------------- | ------- |
| CLI `composio` | `0.6.4` |

### Migration notes [#migration-notes]

> Local files outside the working directory are now rejected. If a script uploads a file or reads
arguments from `@file` in another directory, copy the file into the working directory or run the
command from a directory that contains it.

### Bug fixes [#bug-fixes]

* **Local uploads stay in the working directory.** `composio execute` and `composio dev playground-execute` accept local file uploads and `-d @file` arguments only under the current working directory. The same rule applies to `composio proxy -d @file` and `composio listen --params @file`. Symlinks must resolve inside that directory, and sensitive paths stay blocked. A rejected file fails the command before the tool runs.
* **`composio run` stages files privately.** For each `execute()` call, `composio run` writes the script's Files, Blobs, and generated argument JSON to a private temporary directory and removes it when the call finishes.
* **`.env.local` is owner-only.** `composio dev init` creates and updates `.env.local` with mode `0600`, and tightens an existing file even when its contents stay the same. It stops with instructions if the path is a symbolic link or another non-regular entry, or if its permissions cannot be tightened.

### Improvements [#improvements]

* **Agent session in telemetry.** Inside a Claude Code or Codex chat, CLI telemetry events carry `agent_session_host` (`claude` or `codex`) and `agent_session_id`, so the commands one chat ran can be grouped. The ID is derived from the host's session ID, which is never sent.
* **Agent session on requests.** The same chat is sent as the `x-cli-agent-session-host` and `x-cli-agent-session-id` headers on backend API requests, on `composio execute` calls to the Dashboard, and on `proxy()` calls from a `composio run` script. No request to any other service carries them.
* **Compaction count.** When the Composio agent plugin records how often the chat was compacted, the CLI sends that count as `agent_compaction_count` on telemetry events and `x-cli-agent-compaction-count` on the same requests. No plugin records it yet, so the count is absent for now.

Setting `COMPOSIO_CLI_TELEMETRY_DISABLED`, `COMPOSIO_DISABLE_TELEMETRY`, `TELEMETRY_DISABLED`, or `CI` turns off the agent session and compaction count, both in telemetry and on requests.

---

## SDK release 45520260753

See the [release request](https://github.com/ComposioHQ/composio/issues/5557) for publication status.

### SDK Versions [#sdk-versions]

| SDK                                       | Version  |
| ----------------------------------------- | -------- |
| TypeScript `@composio/anthropic`          | `0.11.9` |
| TypeScript `@composio/claude-agent-sdk`   | `0.13.2` |
| TypeScript `@composio/core`               | `0.32.0` |
| TypeScript `@composio/experimental`       | `0.2.10` |
| TypeScript `@composio/json-schema-to-zod` | `0.4.2`  |
| Python `composio`                         | `0.35.0` |
| TypeScript `@composio/slim`               | `0.32.0` |

### Changes [#changes]

Limit trigger webhook request bodies to 10 MiB by default in `triggers.parse()`. Set `maxBodyBytes` to customize the limit or to check an already-buffered payload in `triggers.verifyWebhook()`.

Fix Python SDK reference examples for MCP server management and schema modifiers. Pin a tool version in the Quick Start so direct execution reaches the API.

Correct the code examples in the TypeScript SDK reference, which also ships in the package under `dist/docs`. Each class's Usage block now shows its real accessor, such as `composio.webhooks.endpoints` instead of the nonexistent `composio.webhookEndpoints`, and runnable examples are checked against the SDK. Examples now import what they use, declare their own inputs, call methods that exist with their current parameters (for example `composio.mcp` instead of `composio.experimental.mcp`, `AuthScheme.APIKey`, and the `id` and `timestamp` fields of `triggers.verifyWebhook`), and split alternatives into separate examples.

The Quick Start passes a toolkit version when it executes a tool.

Session hooks accept a `webhook` handler. `composio.sessions.create()` and `session.update()` take `handler: { type: 'webhook', fallbackAction, timeoutMs }` (TypeScript) or `{"type": "webhook", "fallback_action": ..., "timeout_ms": ...}` (Python) on a `before_execute` or `after_execute` hook. Composio sends each call the hook applies to, before or after it runs, to the project's session webhook URL and waits for your endpoint to let it run, block it, or change it; read the request there with `composio.sessions.webhooks.parse()`. `fallbackAction` is what happens when the endpoint can't answer. A hook result with `status: 'unavailable'` now carries `detail`, the reason the hook could not be evaluated. The event `composio.sessions.webhooks.parse()` returns types the optional `metadata.tool_call_id`, which pairs a call's `before_execute` event with its `after_execute`.

Read session webhook events with `composio.sessions.webhooks.parse()`. A session hook with a `webhook` handler sends each tool or proxy call it applies to, before or after it runs, to the project's session webhook URL and waits for the endpoint's answer. `parse({ body, headers, verifySecret })` (TypeScript) / `parse(body=..., headers=..., verify_secret=...)` (Python) verifies the signature with the project's session webhook secret, which is required, and returns the typed event with the field names of the webhook reference. `SessionWebhookBeforeExecuteResponse` and `SessionWebhookAfterExecuteResponse` type the answer.

Proxy webhook events and request overrides support file uploads through `binary_body`.

Validate the HTTPS host when extracting Composio auth links in Pi and Eve.

Format structured error details in SDK diagnostics and fall back when a trigger payload contains a malformed identifier.

Simplify the Anthropic tool schema and experimental Pi hook type declarations. Use explicit code-point iteration in JSON Schema to Zod string validation.

---

## Tool execution webhooks for sessions

Send each tool call in a session to an endpoint you host, before or after it runs, and allow, block, or modify it.

Sessions now support tool execution webhooks. A webhook sends each tool call to an endpoint you host, either before the tool runs or after it returns. Your endpoint responds to let the tool call go ahead, block it, or override it.

### What's new [#whats-new]

* **Before or after a tool runs.** Add a `before_execute` webhook to act on a tool call's arguments before it runs, or an `after_execute` webhook to act on the result before your agent reads it.
* **Block a tool call.** Your agent sees the tool call fail, with your message as the error.
* **Override a tool call.** Continue with changed arguments before the tool runs, or with a changed result after it returns.
* **Signed requests.** Every request is signed with a secret from your project settings, so your endpoint can verify it came from Composio.
* **Fallback behavior.** Set `fallback_action` to `block` or `continue` to choose what happens when your endpoint times out, can't be reached, or returns an invalid response.

You add a webhook to a session as a hook with a handler `type` of `webhook`. See [Webhooks](/docs/hooks/webhooks) for setup, request and response payloads, and timeouts.

### Availability [#availability]

Tool execution webhooks are available only to organizations on the Enterprise plan.

---