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

Release: update version (#4928)

This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to next, this PR will be updated. # Releases ## @composio/core@0.26.0 ### Minor Changes - e08c84f: Requires `@composio/client` `2.0.0-rc.18`. The SDK now hands the API client its credential as the client's `auth` option and its organization and project as `scope`, instead of placing them in default headers. The `apiKey`, `userApiKey`, `orgApiKey`, `orgId` and `projectId` options, their environment fallbacks and the credentials sent on each request are unchanged, with one exception: with `apiKey: null` and only an organization API key (the `orgApiKey` option, `COMPOSIO_ORG_API_KEY`, or an `x-org-api-key` default header), every request now carries `x-org-api-key`, and so do trigger channel authorization and `session.mcp.headers`. Before, only the organization-owner operations did, and every other request went out without a credential. Credential and scope headers in `defaultHeaders` or `createSession({ headers })` keep working, but the SDK folds them into its own options instead of forwarding them: an `x-user-api-key` or `x-org-api-key` entry becomes the credential every request carries, an `x-api-key` entry becomes the project key, and `x-org-id` / `x-project-id` entries become `orgId` / `projectId`. `getConfig()` reports the folded values (for example `apiKey: null` and `userApiKey` for an `x-user-api-key` entry) and no longer lists those entries under `defaultHeaders`. Setting more than one of `x-api-key`, `x-user-api-key` and `x-org-api-key` now throws a `ComposioError`; the API rejected every such request. On the client returned by `getClient()`, `apiKey`, `userApiKey` and `orgApiKey` are read-only and deprecated (read the keys from `getConfig()`, or `authMode` and `scope` from the client), and a per-call `headers` option can no longer name a credential or scope header. The API client no longer reads the environment itself: the SDK still honours `COMPOSIO_ALLOW_INSECURE_HTTP=1`, and no longer applies `COMPOSIO_CUSTOM_HEADERS`; pass `defaultHeaders` instead. The deprecated `customConnectionData` now requires `val.access_token` for `S2S_OAUTH2`, as the API does. - 57de614: Requires `@composio/client` `2.0.0-rc.19`. The SDK forwards the API client's log lines through a `Console`-shaped object instead of the client's removed `Logger` interface; what is logged, and at which SDK level, is unchanged. With rc.19, the client returned by `getClient()` no longer has `apiKey`, `userApiKey`, `orgApiKey` or `logger`, and its `baseURL`, `maxRetries`, `timeout` and `logLevel` are read-only: read the keys from `getConfig()`, and derive a client with `withOptions()` to change the others. ### Patch Changes - 9d26fb8: Fold OpenAPI `nullable` into the type in strict tool schemas `toStrictJsonSchema` no longer passes OpenAPI `nullable` through. Anthropic strict tool use rejects it on an object schema with a 400 for the whole request. A node with `nullable: true` now accepts `null` through its `type` (`["object", "null"]`) or a null branch, matching how the tool's arguments are validated, and the rewrite is reported as a `nullable-converted` change. `nullable: false` is removed as an `unsupported-keyword-stripped` change. `omitNullToolArguments` now keeps a `null` for a property marked `nullable: true`, as it already does for one whose `type` includes `null`. - 3dd9a2c: Strip string `format` values that OpenAI structured outputs rejects from strict tool schemas `toStrictJsonSchema` now removes a `format` on a string schema unless it is one of `date-time`, `time`, `date`, `duration`, `email`, `hostname`, `ipv4`, `ipv6`, or `uuid`. OpenAI rejects any other string format in strict mode with a 400 for the whole request, so a single tool with `format: "uri"`, a custom format such as `repo.nwo`, or the `format: "path"` that file uploads add made every strict request fail. The removal is reported as an `unsupported-keyword-stripped` change. Formats on number and integer schemas are kept, since the API does not check them. - 04fdb41: Check a string tool parameter as base64 only when its `contentEncoding` is `base64`. `format: "binary"` (raw octets in OpenAPI) and other encodings such as `base16` were validated as base64, so the Vercel, LangChain, LlamaIndex, and Claude Agent SDK providers rejected tool calls with plain text or hex in those fields, and the schema sent to the model described them as `contentEncoding: "base64"`. Those fields are now plain strings. `contentEncoding: "base64"` keeps its check, and `format: "byte"` stays unchecked. - be12ce1: Warn once per toolkit version when the API reports it as deprecated through the `Composio-Deprecated-Toolkits` response header. The warning names the version, the sunset date and how to pin a newer version. Silence it with `logLevel: 'error'` or `COMPOSIO_LOG_LEVEL=error`. - Updated dependencies [f119f05] - Updated dependencies [04fdb41] - @composio/json-schema-to-zod@0.4.0 ## @composio/json-schema-to-zod@0.4.0 ### Minor Changes - f119f05: Add a `@composio/json-schema-to-zod/v4` entry that builds classic Zod v4 schemas with the same `jsonSchemaToZod` and `jsonSchemaToZodShape` functions as the root entry, which keeps building Zod v3 schemas. The v4 builder forwards `format`, `contentEncoding`, `contentMediaType`, and `type: "integer"` into the schema's metadata so `z.toJSONSchema()` and the frameworks built on it render them again; `withoutAnnotations: true` turns that off. `/v4` requires zod `>= 4.1.13`, the first release whose `zod/v4` shares its metadata registry across copies, and throws at load time below it. The root builder now reports an issue inside a nested object once, at its own path. Issues raised by `patternProperties`, `additionalProperties`, unrecognized keys, and `oneOf` under a property previously carried that property's name twice (`['x', 'x', 'key']`). ### Patch Changes - 04fdb41: Check a string tool parameter as base64 only when its `contentEncoding` is `base64`. `format: "binary"` (raw octets in OpenAPI) and other encodings such as `base16` were validated as base64, so the Vercel, LangChain, LlamaIndex, and Claude Agent SDK providers rejected tool calls with plain text or hex in those fields, and the schema sent to the model described them as `contentEncoding: "base64"`. Those fields are now plain strings. `contentEncoding: "base64"` keeps its check, and `format: "byte"` stays unchecked. ## @composio/claude-agent-sdk@0.13.0 ### Minor Changes - adf6b02: Build tool input schemas with the Zod v4 builder from `@composio/json-schema-to-zod/v4`, so `format`, `contentEncoding`, `contentMediaType`, and `type: "integer"` survive the SDK's conversion to the JSON Schema the model sees. Before, a field such as `{ type: "string", format: "binary" }` reached the model as `{ type: "string" }`. The values a tool accepts and rejects are unchanged. The `zod` peer dependency is now `^4.1.13` (was `^4.0.0`): the v4 builder needs the metadata registry zod shares across copies from 4.1.13 on, and throws at load time on an older zod. Upgrade zod to 4.1.13 or newer before upgrading this package. ### Patch Changes - Updated dependencies [f119f05] - Updated dependencies [04fdb41] - @composio/json-schema-to-zod@0.4.0 ## @composio/vercel@0.13.0 ### Minor Changes - adf6b02: Show the model each tool's JSON Schema as is. The provider now passes the schema to the AI SDK with `jsonSchema()`, so keywords a Zod schema cannot carry, such as `format: "binary"`, `contentEncoding`, `contentMediaType`, `title`, `default`, and `examples`, reach the model. Internal `$ref`s are still inlined first. Tool-call arguments are validated with the same Zod schema as before, so the values a tool accepts and rejects are unchanged. In strict mode the model now sees the output of the strict rewrite itself rather than a Zod rendering of it. Zod adds a `pattern` next to formats such as `email`, and strict structured outputs reject the one it adds for `email`, so a strict request with an email parameter would have failed once Zod forwarded more of the schema. `tool.inputSchema` is now an AI SDK `Schema` instead of a Zod schema. Code that called `inputSchema.safeParse()` directly can validate with `asSchema(tool.inputSchema).validate(value)` from `ai`. ## @composio/slim@0.26.0 ### Minor Changes - e08c84f: Requires `@composio/client` `2.0.0-rc.18`. The SDK now hands the API client its credential as the client's `auth` option and its organization and project as `scope`, instead of placing them in default headers. The `apiKey`, `userApiKey`, `orgApiKey`, `orgId` and `projectId` options, their environment fallbacks and the credentials sent on each request are unchanged, with one exception: with `apiKey: null` and only an organization API key (the `orgApiKey` option, `COMPOSIO_ORG_API_KEY`, or an `x-org-api-key` default header), every request now carries `x-org-api-key`, and so do trigger channel authorization and `session.mcp.headers`. Before, only the organization-owner operations did, and every other request went out without a credential. Credential and scope headers in `defaultHeaders` or `createSession({ headers })` keep working, but the SDK folds them into its own options instead of forwarding them: an `x-user-api-key` or `x-org-api-key` entry becomes the credential every request carries, an `x-api-key` entry becomes the project key, and `x-org-id` / `x-project-id` entries become `orgId` / `projectId`. `getConfig()` reports the folded values (for example `apiKey: null` and `userApiKey` for an `x-user-api-key` entry) and no longer lists those entries under `defaultHeaders`. Setting more than one of `x-api-key`, `x-user-api-key` and `x-org-api-key` now throws a `ComposioError`; the API rejected every such request. On the client returned by `getClient()`, `apiKey`, `userApiKey` and `orgApiKey` are read-only and deprecated (read the keys from `getConfig()`, or `authMode` and `scope` from the client), and a per-call `headers` option can no longer name a credential or scope header. The API client no longer reads the environment itself: the SDK still honours `COMPOSIO_ALLOW_INSECURE_HTTP=1`, and no longer applies `COMPOSIO_CUSTOM_HEADERS`; pass `defaultHeaders` instead. The deprecated `customConnectionData` now requires `val.access_token` for `S2S_OAUTH2`, as the API does. - 57de614: Requires `@composio/client` `2.0.0-rc.19`. The SDK forwards the API client's log lines through a `Console`-shaped object instead of the client's removed `Logger` interface; what is logged, and at which SDK level, is unchanged. With rc.19, the client returned by `getClient()` no longer has `apiKey`, `userApiKey`, `orgApiKey` or `logger`, and its `baseURL`, `maxRetries`, `timeout` and `logLevel` are read-only: read the keys from `getConfig()`, and derive a client with `withOptions()` to change the others. ### Patch Changes - 04fdb41: Check a string tool parameter as base64 only when its `contentEncoding` is `base64`. `format: "binary"` (raw octets in OpenAPI) and other encodings such as `base16` were validated as base64, so the Vercel, LangChain, LlamaIndex, and Claude Agent SDK providers rejected tool calls with plain text or hex in those fields, and the schema sent to the model described them as `contentEncoding: "base64"`. Those fields are now plain strings. `contentEncoding: "base64"` keeps its check, and `format: "byte"` stays unchecked. - be12ce1: Warn once per toolkit version when the API reports it as deprecated through the `Composio-Deprecated-Toolkits` response header. The warning names the version, the sunset date and how to pin a newer version. Silence it with `logLevel: 'error'` or `COMPOSIO_LOG_LEVEL=error`. - Updated dependencies [f119f05] - Updated dependencies [04fdb41] - @composio/json-schema-to-zod@0.4.0 ## @composio/llamaindex@0.11.2 ### Patch Changes - adf6b02: Show the model each tool's JSON Schema as is. The provider now builds the `FunctionTool` with the JSON Schema as its parameters and the Zod schema as its validator, instead of letting LlamaIndex render the Zod schema back to JSON Schema. Keywords such as `format: "binary"`, `contentEncoding`, `contentMediaType`, and `title` reach the model. Internal `$ref`s are still inlined first, and the values a tool accepts and rejects are unchanged. ## @e2e-tests/cf-workers-basic@0.0.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 ## @e2e-tests/cf-workers-files@0.0.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 ## @e2e-tests/cf-workers-tool-router-ai@0.0.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - Updated dependencies [adf6b02] - @composio/core@0.26.0 - @composio/vercel@0.13.0 ## @e2e-tests/node-claude-agent-sdk@0.0.10 ### Patch Changes - Updated dependencies [adf6b02] - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/claude-agent-sdk@0.13.0 - @composio/core@0.26.0 ## @e2e-tests/node-custom-tools@0.0.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 ## @e2e-tests/node-json-schema-to-zod-v3@0.0.5 ### Patch Changes - Updated dependencies [f119f05] - Updated dependencies [04fdb41] - @composio/json-schema-to-zod@0.4.0 ## @e2e-tests/node-json-schema-to-zod-v4@0.0.5 ### Patch Changes - Updated dependencies [f119f05] - Updated dependencies [04fdb41] - @composio/json-schema-to-zod@0.4.0 ## @e2e-tests/node-mastra-tool-router-zod-v3@0.0.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 - @composio/mastra@0.10.6 ## @e2e-tests/node-mastra-tool-router-zod-v4@0.0.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 - @composio/mastra@0.10.6 ## @e2e-tests/node-tool-router-files@0.0.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 ## @e2e-tests/node-tool-router-pagination@0.0.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 ## @e2e-tests/node-tool-router-proxy-execute@0.0.3 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 ## @e2e-tests/node-tool-router-session-update@0.0.6 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 ## anthropic-example@0.1.10 ### Patch Changes - Updated dependencies [adf6b02] - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/claude-agent-sdk@0.13.0 - @composio/core@0.26.0 - @composio/anthropic@0.11.5 ## approvals-example@0.0.1 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 ## cloudflare-wrangler-example@0.0.9 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 ## connected-accounts-example@0.1.19 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 ## error-handling-example@0.1.19 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 ## file-handling-example@0.1.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 ## google-example@0.1.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 - @composio/google@0.12.0 ## json-schema-to-zod-example@0.1.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - Updated dependencies [adf6b02] - @composio/core@0.26.0 - @composio/vercel@0.13.0 ## langchain-example@0.1.19 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 - @composio/langchain@0.11.2 ## llamaindex-example@0.1.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [adf6b02] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 - @composio/llamaindex@0.11.2 ## mastra-example@0.1.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 - @composio/mastra@0.10.6 ## mcp-example@0.1.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - Updated dependencies [adf6b02] - @composio/core@0.26.0 - @composio/vercel@0.13.0 ## modifiers-example@0.1.19 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - Updated dependencies [adf6b02] - @composio/core@0.26.0 - @composio/vercel@0.13.0 ## openai-example@0.1.19 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 - @composio/openai@0.13.0 - @composio/openai-agents@0.11.2 ## session-management-example@0.1.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 ## tool-router-example@1.0.20 ### Patch Changes - Updated dependencies [adf6b02] - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - Updated dependencies [adf6b02] - @composio/claude-agent-sdk@0.13.0 - @composio/core@0.26.0 - @composio/vercel@0.13.0 - @composio/openai-agents@0.11.2 ## toolkits-example@0.1.19 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - Updated dependencies [adf6b02] - @composio/core@0.26.0 - @composio/vercel@0.13.0 ## tools-example@0.1.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - Updated dependencies [adf6b02] - @composio/core@0.26.0 - @composio/vercel@0.13.0 ## triggers-example@0.1.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 ## typesafe-example@0.0.8 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 - @composio/openai@0.13.0 - @composio/typesafe@0.1.1 ## vercel-example@0.1.19 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - Updated dependencies [adf6b02] - @composio/core@0.26.0 - @composio/vercel@0.13.0 ## versioning-example@0.1.10 ### Patch Changes - Updated dependencies [e08c84f] - Updated dependencies [57de614] - Updated dependencies [9d26fb8] - Updated dependencies [3dd9a2c] - Updated dependencies [04fdb41] - Updated dependencies [be12ce1] - @composio/core@0.26.0 ## @composio/json-schema-to-effect-schema@0.1.2 ### Patch Changes - 04fdb41: Check a string tool parameter as base64 only when its `contentEncoding` is `base64`. `format: "binary"` (raw octets in OpenAPI) and other encodings such as `base16` were validated as base64, so the Vercel, LangChain, LlamaIndex, and Claude Agent SDK providers rejected tool calls with plain text or hex in those fields, and the schema sent to the model described them as `contentEncoding: "base64"`. Those fields are now plain strings. `contentEncoding: "base64"` keeps its check, and `format: "byte"` stays unchecked. Co-authored-by: sdkrelease[bot] <294075132+sdkrelease[bot]@users.noreply.github.com>

sdkrelease[bot] committed Oct 22, 2026 at 01:39 UTC a15956a4e0c740f35a790499b8475b0e7baa4e34
94 files changed +590 -116
.changeset/claude-agent-sdk-zod-v4-schemas.md deleted
-7
@@ -1,7 +0,0 @@
1 ----
2 -'@composio/claude-agent-sdk': minor
3 ----
4 -
5 -Build tool input schemas with the Zod v4 builder from `@composio/json-schema-to-zod/v4`, so `format`, `contentEncoding`, `contentMediaType`, and `type: "integer"` survive the SDK's conversion to the JSON Schema the model sees. Before, a field such as `{ type: "string", format: "binary" }` reached the model as `{ type: "string" }`. The values a tool accepts and rejects are unchanged.
6 -
7 -The `zod` peer dependency is now `^4.1.13` (was `^4.0.0`): the v4 builder needs the metadata registry zod shares across copies from 4.1.13 on, and throws at load time on an older zod. Upgrade zod to 4.1.13 or newer before upgrading this package.
.changeset/client-auth-scope.md deleted
-12
@@ -1,12 +0,0 @@
1 ----
2 -'@composio/core': minor
3 -'@composio/slim': minor
4 ----
5 -
6 -Requires `@composio/client` `2.0.0-rc.18`. The SDK now hands the API client its credential as the client's `auth` option and its organization and project as `scope`, instead of placing them in default headers. The `apiKey`, `userApiKey`, `orgApiKey`, `orgId` and `projectId` options, their environment fallbacks and the credentials sent on each request are unchanged, with one exception: with `apiKey: null` and only an organization API key (the `orgApiKey` option, `COMPOSIO_ORG_API_KEY`, or an `x-org-api-key` default header), every request now carries `x-org-api-key`, and so do trigger channel authorization and `session.mcp.headers`. Before, only the organization-owner operations did, and every other request went out without a credential.
7 -
8 -Credential and scope headers in `defaultHeaders` or `createSession({ headers })` keep working, but the SDK folds them into its own options instead of forwarding them: an `x-user-api-key` or `x-org-api-key` entry becomes the credential every request carries, an `x-api-key` entry becomes the project key, and `x-org-id` / `x-project-id` entries become `orgId` / `projectId`. `getConfig()` reports the folded values (for example `apiKey: null` and `userApiKey` for an `x-user-api-key` entry) and no longer lists those entries under `defaultHeaders`. Setting more than one of `x-api-key`, `x-user-api-key` and `x-org-api-key` now throws a `ComposioError`; the API rejected every such request.
9 -
10 -On the client returned by `getClient()`, `apiKey`, `userApiKey` and `orgApiKey` are read-only and deprecated (read the keys from `getConfig()`, or `authMode` and `scope` from the client), and a per-call `headers` option can no longer name a credential or scope header. The API client no longer reads the environment itself: the SDK still honours `COMPOSIO_ALLOW_INSECURE_HTTP=1`, and no longer applies `COMPOSIO_CUSTOM_HEADERS`; pass `defaultHeaders` instead.
11 -
12 -The deprecated `customConnectionData` now requires `val.access_token` for `S2S_OAUTH2`, as the API does.
.changeset/client-rc19-logging.md deleted
-6
@@ -1,6 +0,0 @@
1 ----
2 -'@composio/core': minor
3 -'@composio/slim': minor
4 ----
5 -
6 -Requires `@composio/client` `2.0.0-rc.19`. The SDK forwards the API client's log lines through a `Console`-shaped object instead of the client's removed `Logger` interface; what is logged, and at which SDK level, is unchanged. With rc.19, the client returned by `getClient()` no longer has `apiKey`, `userApiKey`, `orgApiKey` or `logger`, and its `baseURL`, `maxRetries`, `timeout` and `logLevel` are read-only: read the keys from `getConfig()`, and derive a client with `withOptions()` to change the others.
.changeset/json-schema-to-zod-v4.md deleted
-7
@@ -1,7 +0,0 @@
1 ----
2 -'@composio/json-schema-to-zod': minor
3 ----
4 -
5 -Add a `@composio/json-schema-to-zod/v4` entry that builds classic Zod v4 schemas with the same `jsonSchemaToZod` and `jsonSchemaToZodShape` functions as the root entry, which keeps building Zod v3 schemas. The v4 builder forwards `format`, `contentEncoding`, `contentMediaType`, and `type: "integer"` into the schema's metadata so `z.toJSONSchema()` and the frameworks built on it render them again; `withoutAnnotations: true` turns that off. `/v4` requires zod `>= 4.1.13`, the first release whose `zod/v4` shares its metadata registry across copies, and throws at load time below it.
6 -
7 -The root builder now reports an issue inside a nested object once, at its own path. Issues raised by `patternProperties`, `additionalProperties`, unrecognized keys, and `oneOf` under a property previously carried that property's name twice (`['x', 'x', 'key']`).
.changeset/llamaindex-source-tool-schemas.md deleted
-5
@@ -1,5 +0,0 @@
1 ----
2 -'@composio/llamaindex': patch
3 ----
4 -
5 -Show the model each tool's JSON Schema as is. The provider now builds the `FunctionTool` with the JSON Schema as its parameters and the Zod schema as its validator, instead of letting LlamaIndex render the Zod schema back to JSON Schema. Keywords such as `format: "binary"`, `contentEncoding`, `contentMediaType`, and `title` reach the model. Internal `$ref`s are still inlined first, and the values a tool accepts and rejects are unchanged.
.changeset/strict-openapi-nullable.md deleted
-7
@@ -1,7 +0,0 @@
1 ----
2 -'@composio/core': patch
3 ----
4 -
5 -Fold OpenAPI `nullable` into the type in strict tool schemas
6 -
7 -`toStrictJsonSchema` no longer passes OpenAPI `nullable` through. Anthropic strict tool use rejects it on an object schema with a 400 for the whole request. A node with `nullable: true` now accepts `null` through its `type` (`["object", "null"]`) or a null branch, matching how the tool's arguments are validated, and the rewrite is reported as a `nullable-converted` change. `nullable: false` is removed as an `unsupported-keyword-stripped` change. `omitNullToolArguments` now keeps a `null` for a property marked `nullable: true`, as it already does for one whose `type` includes `null`.
.changeset/strict-string-formats.md deleted
-7
@@ -1,7 +0,0 @@
1 ----
2 -'@composio/core': patch
3 ----
4 -
5 -Strip string `format` values that OpenAI structured outputs rejects from strict tool schemas
6 -
7 -`toStrictJsonSchema` now removes a `format` on a string schema unless it is one of `date-time`, `time`, `date`, `duration`, `email`, `hostname`, `ipv4`, `ipv6`, or `uuid`. OpenAI rejects any other string format in strict mode with a 400 for the whole request, so a single tool with `format: "uri"`, a custom format such as `repo.nwo`, or the `format: "path"` that file uploads add made every strict request fail. The removal is reported as an `unsupported-keyword-stripped` change. Formats on number and integer schemas are kept, since the API does not check them.
.changeset/string-content-encoding.md deleted
-8
@@ -1,8 +0,0 @@
1 ----
2 -'@composio/json-schema-to-zod': patch
3 -'@composio/json-schema-to-effect-schema': patch
4 -'@composio/core': patch
5 -'@composio/slim': patch
6 ----
7 -
8 -Check a string tool parameter as base64 only when its `contentEncoding` is `base64`. `format: "binary"` (raw octets in OpenAPI) and other encodings such as `base16` were validated as base64, so the Vercel, LangChain, LlamaIndex, and Claude Agent SDK providers rejected tool calls with plain text or hex in those fields, and the schema sent to the model described them as `contentEncoding: "base64"`. Those fields are now plain strings. `contentEncoding: "base64"` keeps its check, and `format: "byte"` stays unchecked.
.changeset/toolkit-deprecation-warning.md deleted
-6
@@ -1,6 +0,0 @@
1 ----
2 -'@composio/core': patch
3 -'@composio/slim': patch
4 ----
5 -
6 -Warn once per toolkit version when the API reports it as deprecated through the `Composio-Deprecated-Toolkits` response header. The warning names the version, the sunset date and how to pin a newer version. Silence it with `logLevel: 'error'` or `COMPOSIO_LOG_LEVEL=error`.
.changeset/vercel-source-tool-schemas.md deleted
-9
@@ -1,9 +0,0 @@
1 ----
2 -'@composio/vercel': minor
3 ----
4 -
5 -Show the model each tool's JSON Schema as is. The provider now passes the schema to the AI SDK with `jsonSchema()`, so keywords a Zod schema cannot carry, such as `format: "binary"`, `contentEncoding`, `contentMediaType`, `title`, `default`, and `examples`, reach the model. Internal `$ref`s are still inlined first. Tool-call arguments are validated with the same Zod schema as before, so the values a tool accepts and rejects are unchanged.
6 -
7 -In strict mode the model now sees the output of the strict rewrite itself rather than a Zod rendering of it. Zod adds a `pattern` next to formats such as `email`, and strict structured outputs reject the one it adds for `email`, so a strict request with an email parameter would have failed once Zod forwarded more of the schema.
8 -
9 -`tool.inputSchema` is now an AI SDK `Schema` instead of a Zod schema. Code that called `inputSchema.safeParse()` directly can validate with `asSchema(tool.inputSchema).validate(value)` from `ai`.
ts/e2e-tests/runtimes/cloudflare/cf-workers-basic/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # @e2e-tests/cf-workers-basic
2
3 +## 0.0.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 +
15 ## 0.0.9
16
17 ### Patch Changes
ts/e2e-tests/runtimes/cloudflare/cf-workers-basic/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/cf-workers-basic",
3 - "version": "0.0.9",
3 + "version": "0.0.10",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/cloudflare/cf-workers-files/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # @e2e-tests/cf-workers-files
2
3 +## 0.0.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 +
15 ## 0.0.9
16
17 ### Patch Changes
ts/e2e-tests/runtimes/cloudflare/cf-workers-files/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/cf-workers-files",
3 - "version": "0.0.9",
3 + "version": "0.0.10",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/cloudflare/cf-workers-tool-router-ai/CHANGELOG.md
+14
@@ -1,5 +1,19 @@
1 # @e2e-tests/cf-workers-tool-router-ai
2
3 +## 0.0.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 +- Updated dependencies [adf6b02]
14 + - @composio/core@0.26.0
15 + - @composio/vercel@0.13.0
16 +
17 ## 0.0.9
18
19 ### Patch Changes
ts/e2e-tests/runtimes/cloudflare/cf-workers-tool-router-ai/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/cf-workers-tool-router-ai",
3 - "version": "0.0.9",
3 + "version": "0.0.10",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/claude-agent-sdk/CHANGELOG.md
+14
@@ -1,5 +1,19 @@
1 # @e2e-tests/node-claude-agent-sdk
2
3 +## 0.0.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [adf6b02]
8 +- Updated dependencies [e08c84f]
9 +- Updated dependencies [57de614]
10 +- Updated dependencies [9d26fb8]
11 +- Updated dependencies [3dd9a2c]
12 +- Updated dependencies [04fdb41]
13 +- Updated dependencies [be12ce1]
14 + - @composio/claude-agent-sdk@0.13.0
15 + - @composio/core@0.26.0
16 +
17 ## 0.0.9
18
19 ### Patch Changes
ts/e2e-tests/runtimes/node/claude-agent-sdk/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-claude-agent-sdk",
3 - "version": "0.0.9",
3 + "version": "0.0.10",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/custom-tools/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # @e2e-tests/node-custom-tools
2
3 +## 0.0.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 +
15 ## 0.0.9
16
17 ### Patch Changes
ts/e2e-tests/runtimes/node/custom-tools/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-custom-tools",
3 - "version": "0.0.9",
3 + "version": "0.0.10",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/json-schema-to-zod-v3/CHANGELOG.md
+8
@@ -1,5 +1,13 @@
1 # @e2e-tests/node-json-schema-to-zod-v3
2
3 +## 0.0.5
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [f119f05]
8 +- Updated dependencies [04fdb41]
9 + - @composio/json-schema-to-zod@0.4.0
10 +
11 ## 0.0.4
12
13 ### Patch Changes
ts/e2e-tests/runtimes/node/json-schema-to-zod-v3/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-json-schema-to-zod-v3",
3 - "version": "0.0.4",
3 + "version": "0.0.5",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/json-schema-to-zod-v4/CHANGELOG.md
+8
@@ -1,5 +1,13 @@
1 # @e2e-tests/node-json-schema-to-zod-v4
2
3 +## 0.0.5
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [f119f05]
8 +- Updated dependencies [04fdb41]
9 + - @composio/json-schema-to-zod@0.4.0
10 +
11 ## 0.0.4
12
13 ### Patch Changes
ts/e2e-tests/runtimes/node/json-schema-to-zod-v4/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-json-schema-to-zod-v4",
3 - "version": "0.0.4",
3 + "version": "0.0.5",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/mastra-tool-router-zod-v3/CHANGELOG.md
+13
@@ -1,5 +1,18 @@
1 # @e2e-tests/node-mastra-tool-router-zod-v3
2
3 +## 0.0.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 + - @composio/mastra@0.10.6
15 +
16 ## 0.0.9
17
18 ### Patch Changes
ts/e2e-tests/runtimes/node/mastra-tool-router-zod-v3/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-mastra-tool-router-zod-v3",
3 - "version": "0.0.9",
3 + "version": "0.0.10",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/mastra-tool-router-zod-v4/CHANGELOG.md
+13
@@ -1,5 +1,18 @@
1 # @e2e-tests/node-mastra-tool-router-zod-v4
2
3 +## 0.0.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 + - @composio/mastra@0.10.6
15 +
16 ## 0.0.9
17
18 ### Patch Changes
ts/e2e-tests/runtimes/node/mastra-tool-router-zod-v4/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-mastra-tool-router-zod-v4",
3 - "version": "0.0.9",
3 + "version": "0.0.10",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/tool-router-files/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # @e2e-tests/node-tool-router-files
2
3 +## 0.0.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 +
15 ## 0.0.9
16
17 ### Patch Changes
ts/e2e-tests/runtimes/node/tool-router-files/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-tool-router-files",
3 - "version": "0.0.9",
3 + "version": "0.0.10",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/tool-router-pagination/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # @e2e-tests/node-tool-router-pagination
2
3 +## 0.0.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 +
15 ## 0.0.9
16
17 ### Patch Changes
ts/e2e-tests/runtimes/node/tool-router-pagination/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-tool-router-pagination",
3 - "version": "0.0.9",
3 + "version": "0.0.10",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/tool-router-proxy-execute/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # @e2e-tests/node-tool-router-proxy-execute
2
3 +## 0.0.3
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 +
15 ## 0.0.2
16
17 ### Patch Changes
ts/e2e-tests/runtimes/node/tool-router-proxy-execute/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-tool-router-proxy-execute",
3 - "version": "0.0.2",
3 + "version": "0.0.3",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/tool-router-session-update/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # @e2e-tests/node-tool-router-session-update
2
3 +## 0.0.6
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 +
15 ## 0.0.5
16
17 ### Patch Changes
ts/e2e-tests/runtimes/node/tool-router-session-update/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/node-tool-router-session-update",
3 - "version": "0.0.5",
3 + "version": "0.0.6",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/examples/anthropic/CHANGELOG.md
+15
@@ -1,5 +1,20 @@
1 # anthropic-example
2
3 +## 0.1.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [adf6b02]
8 +- Updated dependencies [e08c84f]
9 +- Updated dependencies [57de614]
10 +- Updated dependencies [9d26fb8]
11 +- Updated dependencies [3dd9a2c]
12 +- Updated dependencies [04fdb41]
13 +- Updated dependencies [be12ce1]
14 + - @composio/claude-agent-sdk@0.13.0
15 + - @composio/core@0.26.0
16 + - @composio/anthropic@0.11.5
17 +
18 ## 0.1.9
19
20 ### Patch Changes
ts/examples/anthropic/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "anthropic-example",
3 "private": true,
4 - "version": "0.1.9",
4 + "version": "0.1.10",
5 "description": "Example for using Anthropic Agent SDK provider with Composio SDK",
6 "main": "index.js",
7 "scripts": {
ts/examples/approvals/CHANGELOG.md new
+13
@@ -0,0 +1,13 @@
1 +# approvals-example
2 +
3 +## 0.0.1
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
ts/examples/approvals/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "approvals-example",
3 "private": true,
4 - "version": "0.0.0",
4 + "version": "0.0.1",
5 "type": "module",
6 "scripts": {
7 "start": "bun src/index.ts",
ts/examples/cloudflare-wrangler/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # cloudflare-wrangler-example
2
3 +## 0.0.9
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 +
15 ## 0.0.8
16
17 ### Patch Changes
ts/examples/cloudflare-wrangler/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "cloudflare-wrangler-example",
3 - "version": "0.0.8",
3 + "version": "0.0.9",
4 "private": true,
5 "scripts": {
6 "deploy": "wrangler deploy",
ts/examples/connected-accounts/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # connected-accounts-example
2
3 +## 0.1.19
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 +
15 ## 0.1.18
16
17 ### Patch Changes
ts/examples/connected-accounts/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "connected-accounts-example",
3 "private": true,
4 - "version": "0.1.18",
4 + "version": "0.1.19",
5 "description": "",
6 "main": "index.js",
7 "scripts": {
ts/examples/error-handling-demo/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # error-handling-example
2
3 +## 0.1.19
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 +
15 ## 0.1.18
16
17 ### Patch Changes
ts/examples/error-handling-demo/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "error-handling-example",
3 "private": true,
4 - "version": "0.1.18",
4 + "version": "0.1.19",
5 "description": "",
6 "main": "index.js",
7 "scripts": {
ts/examples/file-handling/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # file-handling-example
2
3 +## 0.1.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 +
15 ## 0.1.9
16
17 ### Patch Changes
ts/examples/file-handling/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "file-handling-example",
3 "private": true,
4 - "version": "0.1.9",
4 + "version": "0.1.10",
5 "description": "Example project for File-handling",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/google/CHANGELOG.md
+13
@@ -1,5 +1,18 @@
1 # google-example
2
3 +## 0.1.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 + - @composio/google@0.12.0
15 +
16 ## 0.1.9
17
18 ### Patch Changes
ts/examples/google/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "google-example",
3 "private": true,
4 - "version": "0.1.9",
4 + "version": "0.1.10",
5 "description": "Example project for Google GenAI",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/json-schema-to-zod/CHANGELOG.md
+14
@@ -1,5 +1,19 @@
1 # json-schema-to-zod-example
2
3 +## 0.1.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 +- Updated dependencies [adf6b02]
14 + - @composio/core@0.26.0
15 + - @composio/vercel@0.13.0
16 +
17 ## 0.1.9
18
19 ### Patch Changes
ts/examples/json-schema-to-zod/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "json-schema-to-zod-example",
3 "private": true,
4 - "version": "0.1.9",
4 + "version": "0.1.10",
5 "description": "Example project for Json-schema-to-zod",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/langchain/CHANGELOG.md
+13
@@ -1,5 +1,18 @@
1 # langchain-example
2
3 +## 0.1.19
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 + - @composio/langchain@0.11.2
15 +
16 ## 0.1.18
17
18 ### Patch Changes
ts/examples/langchain/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "langchain-example",
3 "private": true,
4 - "version": "0.1.18",
4 + "version": "0.1.19",
5 "description": "",
6 "main": "index.js",
7 "scripts": {
ts/examples/llamaindex/CHANGELOG.md
+14
@@ -1,5 +1,19 @@
1 # llamaindex-example
2
3 +## 0.1.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [adf6b02]
10 +- Updated dependencies [9d26fb8]
11 +- Updated dependencies [3dd9a2c]
12 +- Updated dependencies [04fdb41]
13 +- Updated dependencies [be12ce1]
14 + - @composio/core@0.26.0
15 + - @composio/llamaindex@0.11.2
16 +
17 ## 0.1.9
18
19 ### Patch Changes
ts/examples/llamaindex/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "llamaindex-example",
3 "private": true,
4 - "version": "0.1.9",
4 + "version": "0.1.10",
5 "description": "Example project for Llamaindex",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/mastra/CHANGELOG.md
+13
@@ -1,5 +1,18 @@
1 # mastra-example
2
3 +## 0.1.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 + - @composio/mastra@0.10.6
15 +
16 ## 0.1.9
17
18 ### Patch Changes
ts/examples/mastra/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "mastra-example",
3 "private": true,
4 - "version": "0.1.9",
4 + "version": "0.1.10",
5 "type": "module",
6 "description": "Example project for Mastra",
7 "main": "src/index.ts",
ts/examples/mcp/CHANGELOG.md
+14
@@ -1,5 +1,19 @@
1 # mcp-example
2
3 +## 0.1.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 +- Updated dependencies [adf6b02]
14 + - @composio/core@0.26.0
15 + - @composio/vercel@0.13.0
16 +
17 ## 0.1.9
18
19 ### Patch Changes
ts/examples/mcp/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "mcp-example",
3 "private": true,
4 - "version": "0.1.9",
4 + "version": "0.1.10",
5 "description": "Example project for Mcp",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/modifiers/CHANGELOG.md
+14
@@ -1,5 +1,19 @@
1 # modifiers-example
2
3 +## 0.1.19
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 +- Updated dependencies [adf6b02]
14 + - @composio/core@0.26.0
15 + - @composio/vercel@0.13.0
16 +
17 ## 0.1.18
18
19 ### Patch Changes
ts/examples/modifiers/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "modifiers-example",
3 "private": true,
4 - "version": "0.1.18",
4 + "version": "0.1.19",
5 "description": "",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/openai/CHANGELOG.md
+14
@@ -1,5 +1,19 @@
1 # openai-example
2
3 +## 0.1.19
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 + - @composio/openai@0.13.0
15 + - @composio/openai-agents@0.11.2
16 +
17 ## 0.1.18
18
19 ### Patch Changes
ts/examples/openai/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "openai-example",
3 "private": true,
4 - "version": "0.1.18",
4 + "version": "0.1.19",
5 "type": "module",
6 "description": "Runnable OpenAI examples for Composio tools and Tool Router",
7 "main": "src/index.ts",
ts/examples/session-management/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # session-management-example
2
3 +## 0.1.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 +
15 ## 0.1.9
16
17 ### Patch Changes
ts/examples/session-management/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "session-management-example",
3 "private": true,
4 - "version": "0.1.9",
4 + "version": "0.1.10",
5 "description": "Example project for Session-management",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/tool-router/CHANGELOG.md
+17
@@ -1,5 +1,22 @@
1 # tool-router-example
2
3 +## 1.0.20
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [adf6b02]
8 +- Updated dependencies [e08c84f]
9 +- Updated dependencies [57de614]
10 +- Updated dependencies [9d26fb8]
11 +- Updated dependencies [3dd9a2c]
12 +- Updated dependencies [04fdb41]
13 +- Updated dependencies [be12ce1]
14 +- Updated dependencies [adf6b02]
15 + - @composio/claude-agent-sdk@0.13.0
16 + - @composio/core@0.26.0
17 + - @composio/vercel@0.13.0
18 + - @composio/openai-agents@0.11.2
19 +
20 ## 1.0.19
21
22 ### Patch Changes
ts/examples/tool-router/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "tool-router-example",
3 "private": true,
4 - "version": "1.0.19",
4 + "version": "1.0.20",
5 "description": "Example project for Tool-router",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/toolkits/CHANGELOG.md
+14
@@ -1,5 +1,19 @@
1 # toolkits-example
2
3 +## 0.1.19
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 +- Updated dependencies [adf6b02]
14 + - @composio/core@0.26.0
15 + - @composio/vercel@0.13.0
16 +
17 ## 0.1.18
18
19 ### Patch Changes
ts/examples/toolkits/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "toolkits-example",
3 "private": true,
4 - "version": "0.1.18",
4 + "version": "0.1.19",
5 "description": "",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/tools/CHANGELOG.md
+14
@@ -1,5 +1,19 @@
1 # tools-example
2
3 +## 0.1.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 +- Updated dependencies [adf6b02]
14 + - @composio/core@0.26.0
15 + - @composio/vercel@0.13.0
16 +
17 ## 0.1.9
18
19 ### Patch Changes
ts/examples/tools/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "tools-example",
3 "private": true,
4 - "version": "0.1.9",
4 + "version": "0.1.10",
5 "description": "Example project for Tools",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/triggers/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # triggers-example
2
3 +## 0.1.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 +
15 ## 0.1.9
16
17 ### Patch Changes
ts/examples/triggers/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "triggers-example",
3 "private": true,
4 - "version": "0.1.9",
4 + "version": "0.1.10",
5 "description": "Example project for Triggers",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/typesafe/CHANGELOG.md
+14
@@ -1,5 +1,19 @@
1 # typesafe-example
2
3 +## 0.0.8
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 + - @composio/openai@0.13.0
15 + - @composio/typesafe@0.1.1
16 +
17 ## 0.0.7
18
19 ### Patch Changes
ts/examples/typesafe/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "typesafe-example",
3 "private": true,
4 - "version": "0.0.7",
4 + "version": "0.0.8",
5 "description": "Example project for TypeSafe (Jev)",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/vercel/CHANGELOG.md
+14
@@ -1,5 +1,19 @@
1 # vercel-example
2
3 +## 0.1.19
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 +- Updated dependencies [adf6b02]
14 + - @composio/core@0.26.0
15 + - @composio/vercel@0.13.0
16 +
17 ## 0.1.18
18
19 ### Patch Changes
ts/examples/vercel/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "vercel-example",
3 "private": true,
4 - "version": "0.1.18",
4 + "version": "0.1.19",
5 "description": "",
6 "main": "src/ai.ts",
7 "scripts": {
ts/examples/versioning/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # versioning-example
2
3 +## 0.1.10
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [e08c84f]
8 +- Updated dependencies [57de614]
9 +- Updated dependencies [9d26fb8]
10 +- Updated dependencies [3dd9a2c]
11 +- Updated dependencies [04fdb41]
12 +- Updated dependencies [be12ce1]
13 + - @composio/core@0.26.0
14 +
15 ## 0.1.9
16
17 ### Patch Changes
ts/examples/versioning/package.json
+1 -1
@@ -1,7 +1,7 @@
1 {
2 "name": "versioning-example",
3 "private": true,
4 - "version": "0.1.9",
4 + "version": "0.1.10",
5 "description": "Example project for Versioning",
6 "main": "src/index.ts",
7 "scripts": {
ts/packages/core/CHANGELOG.md
+30
@@ -1,5 +1,35 @@
1 # @composio/core
2
3 +## 0.26.0
4 +
5 +### Minor Changes
6 +
7 +- e08c84f: Requires `@composio/client` `2.0.0-rc.18`. The SDK now hands the API client its credential as the client's `auth` option and its organization and project as `scope`, instead of placing them in default headers. The `apiKey`, `userApiKey`, `orgApiKey`, `orgId` and `projectId` options, their environment fallbacks and the credentials sent on each request are unchanged, with one exception: with `apiKey: null` and only an organization API key (the `orgApiKey` option, `COMPOSIO_ORG_API_KEY`, or an `x-org-api-key` default header), every request now carries `x-org-api-key`, and so do trigger channel authorization and `session.mcp.headers`. Before, only the organization-owner operations did, and every other request went out without a credential.
8 +
9 + Credential and scope headers in `defaultHeaders` or `createSession({ headers })` keep working, but the SDK folds them into its own options instead of forwarding them: an `x-user-api-key` or `x-org-api-key` entry becomes the credential every request carries, an `x-api-key` entry becomes the project key, and `x-org-id` / `x-project-id` entries become `orgId` / `projectId`. `getConfig()` reports the folded values (for example `apiKey: null` and `userApiKey` for an `x-user-api-key` entry) and no longer lists those entries under `defaultHeaders`. Setting more than one of `x-api-key`, `x-user-api-key` and `x-org-api-key` now throws a `ComposioError`; the API rejected every such request.
10 +
11 + On the client returned by `getClient()`, `apiKey`, `userApiKey` and `orgApiKey` are read-only and deprecated (read the keys from `getConfig()`, or `authMode` and `scope` from the client), and a per-call `headers` option can no longer name a credential or scope header. The API client no longer reads the environment itself: the SDK still honours `COMPOSIO_ALLOW_INSECURE_HTTP=1`, and no longer applies `COMPOSIO_CUSTOM_HEADERS`; pass `defaultHeaders` instead.
12 +
13 + The deprecated `customConnectionData` now requires `val.access_token` for `S2S_OAUTH2`, as the API does.
14 +
15 +- 57de614: Requires `@composio/client` `2.0.0-rc.19`. The SDK forwards the API client's log lines through a `Console`-shaped object instead of the client's removed `Logger` interface; what is logged, and at which SDK level, is unchanged. With rc.19, the client returned by `getClient()` no longer has `apiKey`, `userApiKey`, `orgApiKey` or `logger`, and its `baseURL`, `maxRetries`, `timeout` and `logLevel` are read-only: read the keys from `getConfig()`, and derive a client with `withOptions()` to change the others.
16 +
17 +### Patch Changes
18 +
19 +- 9d26fb8: Fold OpenAPI `nullable` into the type in strict tool schemas
20 +
21 + `toStrictJsonSchema` no longer passes OpenAPI `nullable` through. Anthropic strict tool use rejects it on an object schema with a 400 for the whole request. A node with `nullable: true` now accepts `null` through its `type` (`["object", "null"]`) or a null branch, matching how the tool's arguments are validated, and the rewrite is reported as a `nullable-converted` change. `nullable: false` is removed as an `unsupported-keyword-stripped` change. `omitNullToolArguments` now keeps a `null` for a property marked `nullable: true`, as it already does for one whose `type` includes `null`.
22 +
23 +- 3dd9a2c: Strip string `format` values that OpenAI structured outputs rejects from strict tool schemas
24 +
25 + `toStrictJsonSchema` now removes a `format` on a string schema unless it is one of `date-time`, `time`, `date`, `duration`, `email`, `hostname`, `ipv4`, `ipv6`, or `uuid`. OpenAI rejects any other string format in strict mode with a 400 for the whole request, so a single tool with `format: "uri"`, a custom format such as `repo.nwo`, or the `format: "path"` that file uploads add made every strict request fail. The removal is reported as an `unsupported-keyword-stripped` change. Formats on number and integer schemas are kept, since the API does not check them.
26 +
27 +- 04fdb41: Check a string tool parameter as base64 only when its `contentEncoding` is `base64`. `format: "binary"` (raw octets in OpenAPI) and other encodings such as `base16` were validated as base64, so the Vercel, LangChain, LlamaIndex, and Claude Agent SDK providers rejected tool calls with plain text or hex in those fields, and the schema sent to the model described them as `contentEncoding: "base64"`. Those fields are now plain strings. `contentEncoding: "base64"` keeps its check, and `format: "byte"` stays unchecked.
28 +- be12ce1: Warn once per toolkit version when the API reports it as deprecated through the `Composio-Deprecated-Toolkits` response header. The warning names the version, the sunset date and how to pin a newer version. Silence it with `logLevel: 'error'` or `COMPOSIO_LOG_LEVEL=error`.
29 +- Updated dependencies [f119f05]
30 +- Updated dependencies [04fdb41]
31 + - @composio/json-schema-to-zod@0.4.0
32 +
33 ## 0.25.0
34
35 ### Minor Changes
ts/packages/core/package.json
+1 -1
@@ -4,7 +4,7 @@
4 "engines": {
5 "node": ">=22.22.3"
6 },
7 - "version": "0.25.0",
7 + "version": "0.26.0",
8 "description": "",
9 "main": "src/index.ts",
10 "publishConfig": {
ts/packages/json-schema-to-effect-schema/CHANGELOG.md
+6
@@ -1,5 +1,11 @@
1 # @composio/json-schema-to-effect-schema
2
3 +## 0.1.2
4 +
5 +### Patch Changes
6 +
7 +- 04fdb41: Check a string tool parameter as base64 only when its `contentEncoding` is `base64`. `format: "binary"` (raw octets in OpenAPI) and other encodings such as `base16` were validated as base64, so the Vercel, LangChain, LlamaIndex, and Claude Agent SDK providers rejected tool calls with plain text or hex in those fields, and the schema sent to the model described them as `contentEncoding: "base64"`. Those fields are now plain strings. `contentEncoding: "base64"` keeps its check, and `format: "byte"` stays unchecked.
8 +
9 ## 0.1.1
10
11 ### Patch Changes
ts/packages/json-schema-to-effect-schema/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@composio/json-schema-to-effect-schema",
3 - "version": "0.1.1",
3 + "version": "0.1.2",
4 "description": "Eval-free JSON Schema validation exposed as Effect Schema.",
5 "main": "src/index.ts",
6 "private": true,
ts/packages/json-schema-to-zod/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # @composio/json-schema-to-zod
2
3 +## 0.4.0
4 +
5 +### Minor Changes
6 +
7 +- f119f05: Add a `@composio/json-schema-to-zod/v4` entry that builds classic Zod v4 schemas with the same `jsonSchemaToZod` and `jsonSchemaToZodShape` functions as the root entry, which keeps building Zod v3 schemas. The v4 builder forwards `format`, `contentEncoding`, `contentMediaType`, and `type: "integer"` into the schema's metadata so `z.toJSONSchema()` and the frameworks built on it render them again; `withoutAnnotations: true` turns that off. `/v4` requires zod `>= 4.1.13`, the first release whose `zod/v4` shares its metadata registry across copies, and throws at load time below it.
8 +
9 + The root builder now reports an issue inside a nested object once, at its own path. Issues raised by `patternProperties`, `additionalProperties`, unrecognized keys, and `oneOf` under a property previously carried that property's name twice (`['x', 'x', 'key']`).
10 +
11 +### Patch Changes
12 +
13 +- 04fdb41: Check a string tool parameter as base64 only when its `contentEncoding` is `base64`. `format: "binary"` (raw octets in OpenAPI) and other encodings such as `base16` were validated as base64, so the Vercel, LangChain, LlamaIndex, and Claude Agent SDK providers rejected tool calls with plain text or hex in those fields, and the schema sent to the model described them as `contentEncoding: "base64"`. Those fields are now plain strings. `contentEncoding: "base64"` keeps its check, and `format: "byte"` stays unchecked.
14 +
15 ## 0.3.4
16
17 ### Patch Changes
ts/packages/json-schema-to-zod/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@composio/json-schema-to-zod",
3 - "version": "0.3.4",
3 + "version": "0.4.0",
4 "description": "",
5 "main": "src/index.ts",
6 "type": "module",
ts/packages/providers/claude-agent-sdk/CHANGELOG.md
+14
@@ -1,5 +1,19 @@
1 # @composio/claude-code-agents
2
3 +## 0.13.0
4 +
5 +### Minor Changes
6 +
7 +- adf6b02: Build tool input schemas with the Zod v4 builder from `@composio/json-schema-to-zod/v4`, so `format`, `contentEncoding`, `contentMediaType`, and `type: "integer"` survive the SDK's conversion to the JSON Schema the model sees. Before, a field such as `{ type: "string", format: "binary" }` reached the model as `{ type: "string" }`. The values a tool accepts and rejects are unchanged.
8 +
9 + The `zod` peer dependency is now `^4.1.13` (was `^4.0.0`): the v4 builder needs the metadata registry zod shares across copies from 4.1.13 on, and throws at load time on an older zod. Upgrade zod to 4.1.13 or newer before upgrading this package.
10 +
11 +### Patch Changes
12 +
13 +- Updated dependencies [f119f05]
14 +- Updated dependencies [04fdb41]
15 + - @composio/json-schema-to-zod@0.4.0
16 +
17 ## 0.12.2
18
19 ### Patch Changes
ts/packages/providers/claude-agent-sdk/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@composio/claude-agent-sdk",
3 - "version": "0.12.2",
3 + "version": "0.13.0",
4 "description": "Composio provider for Claude Agent SDK",
5 "main": "src/index.ts",
6 "type": "module",
ts/packages/providers/llamaindex/CHANGELOG.md
+6
@@ -1,5 +1,11 @@
1 # @composio/llamaindex
2
3 +## 0.11.2
4 +
5 +### Patch Changes
6 +
7 +- adf6b02: Show the model each tool's JSON Schema as is. The provider now builds the `FunctionTool` with the JSON Schema as its parameters and the Zod schema as its validator, instead of letting LlamaIndex render the Zod schema back to JSON Schema. Keywords such as `format: "binary"`, `contentEncoding`, `contentMediaType`, and `title` reach the model. Internal `$ref`s are still inlined first, and the values a tool accepts and rejects are unchanged.
8 +
9 ## 0.11.1
10
11 ### Patch Changes
ts/packages/providers/llamaindex/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@composio/llamaindex",
3 - "version": "0.11.1",
3 + "version": "0.11.2",
4 "description": "Agentic Provider for llamaindex in Composio SDK",
5 "main": "src/index.ts",
6 "type": "module",
ts/packages/providers/vercel/CHANGELOG.md
+10
@@ -1,5 +1,15 @@
1 # @composio/vercel
2
3 +## 0.13.0
4 +
5 +### Minor Changes
6 +
7 +- adf6b02: Show the model each tool's JSON Schema as is. The provider now passes the schema to the AI SDK with `jsonSchema()`, so keywords a Zod schema cannot carry, such as `format: "binary"`, `contentEncoding`, `contentMediaType`, `title`, `default`, and `examples`, reach the model. Internal `$ref`s are still inlined first. Tool-call arguments are validated with the same Zod schema as before, so the values a tool accepts and rejects are unchanged.
8 +
9 + In strict mode the model now sees the output of the strict rewrite itself rather than a Zod rendering of it. Zod adds a `pattern` next to formats such as `email`, and strict structured outputs reject the one it adds for `email`, so a strict request with an email parameter would have failed once Zod forwarded more of the schema.
10 +
11 + `tool.inputSchema` is now an AI SDK `Schema` instead of a Zod schema. Code that called `inputSchema.safeParse()` directly can validate with `asSchema(tool.inputSchema).validate(value)` from `ai`.
12 +
13 ## 0.12.1
14
15 ### Patch Changes
ts/packages/providers/vercel/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@composio/vercel",
3 - "version": "0.12.1",
3 + "version": "0.13.0",
4 "description": "",
5 "main": "src/index.ts",
6 "type": "module",
ts/packages/slim/CHANGELOG.md
+22
@@ -1,5 +1,27 @@
1 # @composio/slim
2
3 +## 0.26.0
4 +
5 +### Minor Changes
6 +
7 +- e08c84f: Requires `@composio/client` `2.0.0-rc.18`. The SDK now hands the API client its credential as the client's `auth` option and its organization and project as `scope`, instead of placing them in default headers. The `apiKey`, `userApiKey`, `orgApiKey`, `orgId` and `projectId` options, their environment fallbacks and the credentials sent on each request are unchanged, with one exception: with `apiKey: null` and only an organization API key (the `orgApiKey` option, `COMPOSIO_ORG_API_KEY`, or an `x-org-api-key` default header), every request now carries `x-org-api-key`, and so do trigger channel authorization and `session.mcp.headers`. Before, only the organization-owner operations did, and every other request went out without a credential.
8 +
9 + Credential and scope headers in `defaultHeaders` or `createSession({ headers })` keep working, but the SDK folds them into its own options instead of forwarding them: an `x-user-api-key` or `x-org-api-key` entry becomes the credential every request carries, an `x-api-key` entry becomes the project key, and `x-org-id` / `x-project-id` entries become `orgId` / `projectId`. `getConfig()` reports the folded values (for example `apiKey: null` and `userApiKey` for an `x-user-api-key` entry) and no longer lists those entries under `defaultHeaders`. Setting more than one of `x-api-key`, `x-user-api-key` and `x-org-api-key` now throws a `ComposioError`; the API rejected every such request.
10 +
11 + On the client returned by `getClient()`, `apiKey`, `userApiKey` and `orgApiKey` are read-only and deprecated (read the keys from `getConfig()`, or `authMode` and `scope` from the client), and a per-call `headers` option can no longer name a credential or scope header. The API client no longer reads the environment itself: the SDK still honours `COMPOSIO_ALLOW_INSECURE_HTTP=1`, and no longer applies `COMPOSIO_CUSTOM_HEADERS`; pass `defaultHeaders` instead.
12 +
13 + The deprecated `customConnectionData` now requires `val.access_token` for `S2S_OAUTH2`, as the API does.
14 +
15 +- 57de614: Requires `@composio/client` `2.0.0-rc.19`. The SDK forwards the API client's log lines through a `Console`-shaped object instead of the client's removed `Logger` interface; what is logged, and at which SDK level, is unchanged. With rc.19, the client returned by `getClient()` no longer has `apiKey`, `userApiKey`, `orgApiKey` or `logger`, and its `baseURL`, `maxRetries`, `timeout` and `logLevel` are read-only: read the keys from `getConfig()`, and derive a client with `withOptions()` to change the others.
16 +
17 +### Patch Changes
18 +
19 +- 04fdb41: Check a string tool parameter as base64 only when its `contentEncoding` is `base64`. `format: "binary"` (raw octets in OpenAPI) and other encodings such as `base16` were validated as base64, so the Vercel, LangChain, LlamaIndex, and Claude Agent SDK providers rejected tool calls with plain text or hex in those fields, and the schema sent to the model described them as `contentEncoding: "base64"`. Those fields are now plain strings. `contentEncoding: "base64"` keeps its check, and `format: "byte"` stays unchecked.
20 +- be12ce1: Warn once per toolkit version when the API reports it as deprecated through the `Composio-Deprecated-Toolkits` response header. The warning names the version, the sunset date and how to pin a newer version. Silence it with `logLevel: 'error'` or `COMPOSIO_LOG_LEVEL=error`.
21 +- Updated dependencies [f119f05]
22 +- Updated dependencies [04fdb41]
23 + - @composio/json-schema-to-zod@0.4.0
24 +
25 ## 0.25.0
26
27 ### Minor Changes
ts/packages/slim/package.json
+1 -1
@@ -4,7 +4,7 @@
4 "engines": {
5 "node": ">=22.22.3"
6 },
7 - "version": "0.25.0",
7 + "version": "0.26.0",
8 "description": "Slim Composio core package without packaged source or docs",
9 "main": "dist/index.mjs",
10 "publishConfig": {