@devries-cameron20 / composio-1 / commits / 75f3c7574
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 (#4576)

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.20.0 ### Minor Changes - a4a40a1: Fix project API key resolution so the SDK never sends a Composio user API key (`uak_...`, as stored by `composio login`) as the `x-api-key` project credential. When that stored key is the only candidate, the constructor now throws a redacted `ComposioAPIKeyKindError` that explains the mismatch instead of making requests that fail with 401. `apiKey: null` now disables project-key authentication entirely, including the `COMPOSIO_API_KEY` and `~/.composio/user_data.json` fallbacks, and is accepted when the instance holds another credential: `userApiKey` or `orgApiKey` (explicit or from their environment variables), or an `x-user-api-key` entry in `defaultHeaders`. Requests then carry only that credential. Malformed or unexpectedly shaped user config files produce a diagnostic that names the file without echoing its contents, and cloned instances keep the credential they were resolved with instead of re-reading the environment. Code that resolves the key with `apiKey: process.env.COMPOSIO_API_KEY ?? null` (or any expression that yields `null` when the variable is unset) is affected: it used to fall back to the environment and the CLI config file and now throws unless another credential is configured; omit `apiKey` (or pass `undefined`) to keep the fallbacks. With `apiKey: null`, an `x-api-key` entry in `defaultHeaders` is rejected as well, including on `createSession()` clones: pass the project key as `apiKey` instead of a raw header. - 6c56b73: Add `userApiKey` and `orgApiKey` to `ComposioConfig`. Both are forwarded to the underlying API client, which sends each one only on operations whose security scheme requires it (organization, consumer, and user-scoped endpoints reached through `getClient()`), never alongside the project key. They fall back to `COMPOSIO_USER_API_KEY` and `COMPOSIO_ORG_API_KEY`. A project `apiKey` is still required unless it is set to `null`, which opts into user-only authentication. - 6c56b73: Expose the rest of the owned client surface on the `Composio` class: - `composio.webhooks.subscriptions` (`list`, `get`, `set`, `update`, `delete`, `rotateSecret`, `listEventTypes`) and `composio.webhooks.endpoints` (`list`, `get`, `create`, `replace`, `update`). `composio.triggers.setWebhookSubscription()` now delegates to the same upsert as `webhooks.subscriptions.set()`. Its behaviour for well-formed API responses is unchanged; malformed responses are now rejected with a `ValidationError` instead of being read leniently. - `composio.logs.search()` and `composio.logs.get()` for tool-execution logs. - `composio.connectedAccounts.revoke()`, which surfaces the API's 400/409 as `ComposioConnectedAccountRevocationNotSupportedError` / `ComposioConnectedAccountNotRevokableError`. `connectedAccounts.refresh()` is marked `@deprecated` (the endpoint is deprecated upstream). - `composio.toolkits.getMany(slugs)` and `composio.toolkits.changelog()`. - `session.listConfigHistory()` on sessions. - `composio.experimental.usage.summary()` and `composio.experimental.usage.breakdown()` (experimental, shape may change). - `composio.toolkits.recommendScopes(toolkitSlug, { tools, ... })` and `composio.toolkits.listGrantContexts(toolkitSlug)` for OAuth scope recommendations (the API marks both beta). - `composio.connectedAccounts.completeAuth({ userId, sessionUri })`, which completes a deferred OAuth connection after your OAuth callback verifier has confirmed the user's identity. - `composio.keyring.listTransferKeys()`, which returns the public JWKs of the organization's customer-managed keyring. - `composio.experimental.customToolkits` (`upsert`, `sync`, `delete`) for project-owned custom toolkits (in pilot, shape may change). - `CIMD_OAUTH` joins `AuthSchemeTypes`. - `triggers.listActive()` returns `{}` for `state` and `triggerConfig` when the API sends `null`. - `ToolkitAuthField` gains `userVisible` (from `user_visible`) and `ToolkitAuthConfigDetails` gains `requiredScopes` (from `required_scopes`), both omitted when the API does not send them. - `@composio/client` moves from the old autogenerated client to the new handrolled client. The API removed `validate_credentials` from the connected-account refresh, so `connectedAccounts.refresh()` now ignores `validateCredentials` and logs a warning when it is set. - `logger` and `logLevel` options on `new Composio({...})`. `logger` accepts any `{ error, warn, info, debug }` sink (`console`, pino, winston, ...) and receives the SDK's formatted, credential-redacted output; `logLevel` (`'silent' | 'error' | 'warn' | 'info' | 'debug'`) overrides `COMPOSIO_LOG_LEVEL`. The owned client's runtime deprecation warnings (response `Deprecation`/`Sunset` headers and deprecated request inputs) are now routed through that SDK logger instead of `console`. The client's per-request lifecycle logs are emitted only at `'debug'`. `tools.get`/`getRawComposioTools` send the API's `query` parameter in place of the deprecated `search` wire parameter; the SDK's public `search` option is unchanged. - a4a40a1: Sessions now export their MCP config from the auth context the session request was actually made with: the project key as `x-api-key` when one is configured, otherwise the user API key (`userApiKey` or the `x-user-api-key` default header) as `x-user-api-key`, plus `x-org-id` / `x-project-id` when the instance is scoped. No other default header and no ambient `COMPOSIO_API_KEY` is ever copied. The headers are only attached when the MCP URL shares the origin of the configured API base URL (whatever its scheme). Any other destination (a different origin, an opaque origin such as a `data:` URL, or a URL that does not parse) never receives them: with `mcp: true`, `create()` / `use()` throw `ComposioMCPDestinationError`, which names both origins and never includes a key; without `mcp: true` the session is returned with `session.mcp.headers` empty and a warning naming both origins is logged, so native tools keep working. The SDK never connects to the MCP URL itself and does not follow redirects for it. Trigger subscriptions (Pusher channel auth) follow the same rule instead of falling back to the environment when the project key is disabled. `ComposioConfig` gains `orgId` and `projectId`: the organization and consumer project nano IDs, sent together as the `x-org-id` / `x-project-id` headers on every request and with the session MCP config. They may also be supplied through `defaultHeaders`; a half-configured or disagreeing scope throws `ComposioScopeConfigError`. Without a scope, a user API key keeps addressing the API default project. `session.update()` now sends the session's last observed `configVersion` as the `expected_config_version` precondition by default and never retries that request, so a concurrent change surfaces as `ComposioSessionConfigConflictError` (HTTP 409; re-fetch the session, then retry) while the local session object stays unchanged. Pass `expectedConfigVersion` to send another version or `expectedConfigVersion: false` to opt out (last writer wins). Every policy block (`toolkits`, `tools`, `tags`, `authConfigs`, `connectedAccounts`, `preload`, `manageConnections`, `multiAccount`, `search`, `execute`, `experimental`) accepts `null` to remove the stored override, `manageConnections.callbackUrl: null` removes only the stored callback URL, `multiAccount.maxAccountsPerToolkit: null` removes the stored maximum, and an empty toolkit allowlist (`toolkits: []`) is sent as-is so it denies every app toolkit. - 6c56b73: Replace the old autogenerated `@composio/client` with the new handrolled client. ## @composio/slim@0.20.0 No changes in this release. ## @e2e-tests/cf-workers-basic@0.0.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 ## @e2e-tests/cf-workers-files@0.0.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 ## @e2e-tests/cf-workers-tool-router-ai@0.0.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/vercel@0.12.1 ## @e2e-tests/deno-tool-execution@0.0.2 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 ## @e2e-tests/node-claude-agent-sdk@0.0.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/claude-agent-sdk@0.12.1 ## @e2e-tests/node-custom-tools@0.0.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 ## @e2e-tests/node-mastra-tool-router-zod-v3@0.0.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/mastra@0.10.5 ## @e2e-tests/node-mastra-tool-router-zod-v4@0.0.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/mastra@0.10.5 ## @e2e-tests/node-tool-router-files@0.0.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 ## @e2e-tests/node-tool-router-pagination@0.0.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 ## anthropic-example@0.1.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/anthropic@0.11.2 - @composio/claude-agent-sdk@0.12.1 ## cloudflare-wrangler-example@0.0.3 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 ## connected-accounts-example@0.1.13 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 ## error-handling-example@0.1.13 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 ## file-handling-example@0.1.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 ## google-example@0.1.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/google@0.11.1 ## json-schema-to-zod-example@0.1.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 ## langchain-example@0.1.13 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/langchain@0.11.1 ## llamaindex-example@0.1.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/llamaindex@0.11.1 ## mastra-example@0.1.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/mastra@0.10.5 ## mcp-example@0.1.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/vercel@0.12.1 ## modifiers-example@0.1.13 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/vercel@0.12.1 ## openai-example@0.1.13 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/openai@0.12.3 - @composio/openai-agents@0.11.1 ## session-management-example@0.1.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 ## tool-router-example@1.0.14 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/claude-agent-sdk@0.12.1 - @composio/openai-agents@0.11.1 - @composio/vercel@0.12.1 ## toolkits-example@0.1.13 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/vercel@0.12.1 ## tools-example@0.1.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/vercel@0.12.1 ## triggers-example@0.1.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 ## typesafe-example@0.0.2 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/openai@0.12.3 - @composio/typesafe@0.1.1 ## vercel-example@0.1.13 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 - @composio/vercel@0.12.1 ## versioning-example@0.1.4 ### Patch Changes - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - Updated dependencies [6c56b73] - Updated dependencies [a4a40a1] - Updated dependencies [6c56b73] - @composio/core@0.20.0 Co-authored-by: sdkrelease[bot] <294075132+sdkrelease[bot]@users.noreply.github.com>

sdkrelease[bot] committed Sep 23, 2026 at 14:11 UTC 75f3c7574ecb0757af488e9e8ad19d1a51906e3d
71 files changed +432 -78
.changeset/core-credential-resolution.md deleted
-5
@@ -1,5 +0,0 @@
1 ----
2 -'@composio/core': minor
3 ----
4 -
5 -Fix project API key resolution so the SDK never sends a Composio user API key (`uak_...`, as stored by `composio login`) as the `x-api-key` project credential. When that stored key is the only candidate, the constructor now throws a redacted `ComposioAPIKeyKindError` that explains the mismatch instead of making requests that fail with 401. `apiKey: null` now disables project-key authentication entirely, including the `COMPOSIO_API_KEY` and `~/.composio/user_data.json` fallbacks, and is accepted when the instance holds another credential: `userApiKey` or `orgApiKey` (explicit or from their environment variables), or an `x-user-api-key` entry in `defaultHeaders`. Requests then carry only that credential. Malformed or unexpectedly shaped user config files produce a diagnostic that names the file without echoing its contents, and cloned instances keep the credential they were resolved with instead of re-reading the environment. Code that resolves the key with `apiKey: process.env.COMPOSIO_API_KEY ?? null` (or any expression that yields `null` when the variable is unset) is affected: it used to fall back to the environment and the CLI config file and now throws unless another credential is configured; omit `apiKey` (or pass `undefined`) to keep the fallbacks. With `apiKey: null`, an `x-api-key` entry in `defaultHeaders` is rejected as well, including on `createSession()` clones: pass the project key as `apiKey` instead of a raw header.
.changeset/core-user-org-api-keys.md deleted
-5
@@ -1,5 +0,0 @@
1 ----
2 -'@composio/core': minor
3 ----
4 -
5 -Add `userApiKey` and `orgApiKey` to `ComposioConfig`. Both are forwarded to the underlying API client, which sends each one only on operations whose security scheme requires it (organization, consumer, and user-scoped endpoints reached through `getClient()`), never alongside the project key. They fall back to `COMPOSIO_USER_API_KEY` and `COMPOSIO_ORG_API_KEY`. A project `apiKey` is still required unless it is set to `null`, which opts into user-only authentication.
.changeset/owned-client-surface.md deleted
-21
@@ -1,21 +0,0 @@
1 ----
2 -'@composio/core': minor
3 ----
4 -
5 -Expose the rest of the owned client surface on the `Composio` class:
6 -
7 -- `composio.webhooks.subscriptions` (`list`, `get`, `set`, `update`, `delete`, `rotateSecret`, `listEventTypes`) and `composio.webhooks.endpoints` (`list`, `get`, `create`, `replace`, `update`). `composio.triggers.setWebhookSubscription()` now delegates to the same upsert as `webhooks.subscriptions.set()`. Its behaviour for well-formed API responses is unchanged; malformed responses are now rejected with a `ValidationError` instead of being read leniently.
8 -- `composio.logs.search()` and `composio.logs.get()` for tool-execution logs.
9 -- `composio.connectedAccounts.revoke()`, which surfaces the API's 400/409 as `ComposioConnectedAccountRevocationNotSupportedError` / `ComposioConnectedAccountNotRevokableError`. `connectedAccounts.refresh()` is marked `@deprecated` (the endpoint is deprecated upstream).
10 -- `composio.toolkits.getMany(slugs)` and `composio.toolkits.changelog()`.
11 -- `session.listConfigHistory()` on sessions.
12 -- `composio.experimental.usage.summary()` and `composio.experimental.usage.breakdown()` (experimental, shape may change).
13 -- `composio.toolkits.recommendScopes(toolkitSlug, { tools, ... })` and `composio.toolkits.listGrantContexts(toolkitSlug)` for OAuth scope recommendations (the API marks both beta).
14 -- `composio.connectedAccounts.completeAuth({ userId, sessionUri })`, which completes a deferred OAuth connection after your OAuth callback verifier has confirmed the user's identity.
15 -- `composio.keyring.listTransferKeys()`, which returns the public JWKs of the organization's customer-managed keyring.
16 -- `composio.experimental.customToolkits` (`upsert`, `sync`, `delete`) for project-owned custom toolkits (in pilot, shape may change).
17 -- `CIMD_OAUTH` joins `AuthSchemeTypes`.
18 -- `triggers.listActive()` returns `{}` for `state` and `triggerConfig` when the API sends `null`.
19 -- `ToolkitAuthField` gains `userVisible` (from `user_visible`) and `ToolkitAuthConfigDetails` gains `requiredScopes` (from `required_scopes`), both omitted when the API does not send them.
20 -- `@composio/client` moves from the old autogenerated client to the new handrolled client. The API removed `validate_credentials` from the connected-account refresh, so `connectedAccounts.refresh()` now ignores `validateCredentials` and logs a warning when it is set.
21 -- `logger` and `logLevel` options on `new Composio({...})`. `logger` accepts any `{ error, warn, info, debug }` sink (`console`, pino, winston, ...) and receives the SDK's formatted, credential-redacted output; `logLevel` (`'silent' | 'error' | 'warn' | 'info' | 'debug'`) overrides `COMPOSIO_LOG_LEVEL`. The owned client's runtime deprecation warnings (response `Deprecation`/`Sunset` headers and deprecated request inputs) are now routed through that SDK logger instead of `console`. The client's per-request lifecycle logs are emitted only at `'debug'`. `tools.get`/`getRawComposioTools` send the API's `query` parameter in place of the deprecated `search` wire parameter; the SDK's public `search` option is unchanged.
.changeset/session-auth-context-and-update-preconditions.md deleted
-9
@@ -1,9 +0,0 @@
1 ----
2 -'@composio/core': minor
3 ----
4 -
5 -Sessions now export their MCP config from the auth context the session request was actually made with: the project key as `x-api-key` when one is configured, otherwise the user API key (`userApiKey` or the `x-user-api-key` default header) as `x-user-api-key`, plus `x-org-id` / `x-project-id` when the instance is scoped. No other default header and no ambient `COMPOSIO_API_KEY` is ever copied. The headers are only attached when the MCP URL shares the origin of the configured API base URL (whatever its scheme). Any other destination (a different origin, an opaque origin such as a `data:` URL, or a URL that does not parse) never receives them: with `mcp: true`, `create()` / `use()` throw `ComposioMCPDestinationError`, which names both origins and never includes a key; without `mcp: true` the session is returned with `session.mcp.headers` empty and a warning naming both origins is logged, so native tools keep working. The SDK never connects to the MCP URL itself and does not follow redirects for it. Trigger subscriptions (Pusher channel auth) follow the same rule instead of falling back to the environment when the project key is disabled.
6 -
7 -`ComposioConfig` gains `orgId` and `projectId`: the organization and consumer project nano IDs, sent together as the `x-org-id` / `x-project-id` headers on every request and with the session MCP config. They may also be supplied through `defaultHeaders`; a half-configured or disagreeing scope throws `ComposioScopeConfigError`. Without a scope, a user API key keeps addressing the API default project.
8 -
9 -`session.update()` now sends the session's last observed `configVersion` as the `expected_config_version` precondition by default and never retries that request, so a concurrent change surfaces as `ComposioSessionConfigConflictError` (HTTP 409; re-fetch the session, then retry) while the local session object stays unchanged. Pass `expectedConfigVersion` to send another version or `expectedConfigVersion: false` to opt out (last writer wins). Every policy block (`toolkits`, `tools`, `tags`, `authConfigs`, `connectedAccounts`, `preload`, `manageConnections`, `multiAccount`, `search`, `execute`, `experimental`) accepts `null` to remove the stored override, `manageConnections.callbackUrl: null` removes only the stored callback URL, `multiAccount.maxAccountsPerToolkit: null` removes the stored maximum, and an empty toolkit allowlist (`toolkits: []`) is sent as-is so it denies every app toolkit.
.changeset/use-owned-composio-client.md deleted
-5
@@ -1,5 +0,0 @@
1 ----
2 -'@composio/core': minor
3 ----
4 -
5 -Replace the old autogenerated `@composio/client` with the new handrolled client.
ts/e2e-tests/runtimes/cloudflare/cf-workers-basic/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # @e2e-tests/cf-workers-basic
2
3 +## 0.0.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 +
14 ## 0.0.3
15
16 ### 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.3",
3 + "version": "0.0.4",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/cloudflare/cf-workers-files/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # @e2e-tests/cf-workers-files
2
3 +## 0.0.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 +
14 ## 0.0.3
15
16 ### 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.3",
3 + "version": "0.0.4",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/cloudflare/cf-workers-tool-router-ai/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # @e2e-tests/cf-workers-tool-router-ai
2
3 +## 0.0.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/vercel@0.12.1
14 +
15 ## 0.0.3
16
17 ### 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.3",
3 + "version": "0.0.4",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/deno/tool-execution/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # @e2e-tests/deno-tool-execution
2
3 +## 0.0.2
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 +
14 ## 0.0.1
15
16 ### Patch Changes
ts/e2e-tests/runtimes/deno/tool-execution/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "@e2e-tests/deno-tool-execution",
3 - "version": "0.0.1",
3 + "version": "0.0.2",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/claude-agent-sdk/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # @e2e-tests/node-claude-agent-sdk
2
3 +## 0.0.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/claude-agent-sdk@0.12.1
14 +
15 ## 0.0.3
16
17 ### 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.3",
3 + "version": "0.0.4",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/custom-tools/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # @e2e-tests/node-custom-tools
2
3 +## 0.0.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 +
14 ## 0.0.3
15
16 ### 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.3",
3 + "version": "0.0.4",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/mastra-tool-router-zod-v3/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # @e2e-tests/node-mastra-tool-router-zod-v3
2
3 +## 0.0.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/mastra@0.10.5
14 +
15 ## 0.0.3
16
17 ### 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.3",
3 + "version": "0.0.4",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/mastra-tool-router-zod-v4/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # @e2e-tests/node-mastra-tool-router-zod-v4
2
3 +## 0.0.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/mastra@0.10.5
14 +
15 ## 0.0.3
16
17 ### 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.3",
3 + "version": "0.0.4",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/tool-router-files/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # @e2e-tests/node-tool-router-files
2
3 +## 0.0.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 +
14 ## 0.0.3
15
16 ### 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.3",
3 + "version": "0.0.4",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/e2e-tests/runtimes/node/tool-router-pagination/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # @e2e-tests/node-tool-router-pagination
2
3 +## 0.0.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 +
14 ## 0.0.3
15
16 ### 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.3",
3 + "version": "0.0.4",
4 "private": true,
5 "type": "module",
6 "scripts": {
ts/examples/anthropic/CHANGELOG.md
+13
@@ -1,5 +1,18 @@
1 # anthropic-example
2
3 +## 0.1.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/anthropic@0.11.2
14 + - @composio/claude-agent-sdk@0.12.1
15 +
16 ## 0.1.3
17
18 ### 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.3",
4 + "version": "0.1.4",
5 "description": "Example for using Anthropic Agent SDK provider with Composio SDK",
6 "main": "index.js",
7 "scripts": {
ts/examples/cloudflare-wrangler/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # cloudflare-wrangler-example
2
3 +## 0.0.3
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 +
14 ## 0.0.2
15
16 ### Patch Changes
ts/examples/cloudflare-wrangler/package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "cloudflare-wrangler-example",
3 - "version": "0.0.2",
3 + "version": "0.0.3",
4 "private": true,
5 "scripts": {
6 "deploy": "wrangler deploy",
ts/examples/connected-accounts/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # connected-accounts-example
2
3 +## 0.1.13
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 +
14 ## 0.1.12
15
16 ### 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.12",
4 + "version": "0.1.13",
5 "description": "",
6 "main": "index.js",
7 "scripts": {
ts/examples/error-handling-demo/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # error-handling-example
2
3 +## 0.1.13
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 +
14 ## 0.1.12
15
16 ### 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.12",
4 + "version": "0.1.13",
5 "description": "",
6 "main": "index.js",
7 "scripts": {
ts/examples/file-handling/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # file-handling-example
2
3 +## 0.1.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 +
14 ## 0.1.3
15
16 ### 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.3",
4 + "version": "0.1.4",
5 "description": "Example project for File-handling",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/google/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # google-example
2
3 +## 0.1.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/google@0.11.1
14 +
15 ## 0.1.3
16
17 ### 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.3",
4 + "version": "0.1.4",
5 "description": "Example project for Google GenAI",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/json-schema-to-zod/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # json-schema-to-zod-example
2
3 +## 0.1.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 +
14 ## 0.1.3
15
16 ### 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.3",
4 + "version": "0.1.4",
5 "description": "Example project for Json-schema-to-zod",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/langchain/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # langchain-example
2
3 +## 0.1.13
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/langchain@0.11.1
14 +
15 ## 0.1.12
16
17 ### 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.12",
4 + "version": "0.1.13",
5 "description": "",
6 "main": "index.js",
7 "scripts": {
ts/examples/llamaindex/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # llamaindex-example
2
3 +## 0.1.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/llamaindex@0.11.1
14 +
15 ## 0.1.3
16
17 ### 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.3",
4 + "version": "0.1.4",
5 "description": "Example project for Llamaindex",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/mastra/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # mastra-example
2
3 +## 0.1.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/mastra@0.10.5
14 +
15 ## 0.1.3
16
17 ### 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.3",
4 + "version": "0.1.4",
5 "type": "module",
6 "description": "Example project for Mastra",
7 "main": "src/index.ts",
ts/examples/mcp/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # mcp-example
2
3 +## 0.1.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/vercel@0.12.1
14 +
15 ## 0.1.3
16
17 ### 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.3",
4 + "version": "0.1.4",
5 "description": "Example project for Mcp",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/modifiers/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # modifiers-example
2
3 +## 0.1.13
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/vercel@0.12.1
14 +
15 ## 0.1.12
16
17 ### 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.12",
4 + "version": "0.1.13",
5 "description": "",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/openai/CHANGELOG.md
+13
@@ -1,5 +1,18 @@
1 # openai-example
2
3 +## 0.1.13
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/openai@0.12.3
14 + - @composio/openai-agents@0.11.1
15 +
16 ## 0.1.12
17
18 ### 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.12",
4 + "version": "0.1.13",
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
+11
@@ -1,5 +1,16 @@
1 # session-management-example
2
3 +## 0.1.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 +
14 ## 0.1.3
15
16 ### 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.3",
4 + "version": "0.1.4",
5 "description": "Example project for Session-management",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/tool-router/CHANGELOG.md
+14
@@ -1,5 +1,19 @@
1 # tool-router-example
2
3 +## 1.0.14
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/claude-agent-sdk@0.12.1
14 + - @composio/openai-agents@0.11.1
15 + - @composio/vercel@0.12.1
16 +
17 ## 1.0.13
18
19 ### 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.13",
4 + "version": "1.0.14",
5 "description": "Example project for Tool-router",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/toolkits/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # toolkits-example
2
3 +## 0.1.13
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/vercel@0.12.1
14 +
15 ## 0.1.12
16
17 ### 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.12",
4 + "version": "0.1.13",
5 "description": "",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/tools/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # tools-example
2
3 +## 0.1.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/vercel@0.12.1
14 +
15 ## 0.1.3
16
17 ### 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.3",
4 + "version": "0.1.4",
5 "description": "Example project for Tools",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/triggers/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # triggers-example
2
3 +## 0.1.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 +
14 ## 0.1.3
15
16 ### 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.3",
4 + "version": "0.1.4",
5 "description": "Example project for Triggers",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/typesafe/CHANGELOG.md
+13
@@ -1,5 +1,18 @@
1 # typesafe-example
2
3 +## 0.0.2
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/openai@0.12.3
14 + - @composio/typesafe@0.1.1
15 +
16 ## 0.0.1
17
18 ### 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.1",
4 + "version": "0.0.2",
5 "description": "Example project for TypeSafe (Jev)",
6 "main": "src/index.ts",
7 "scripts": {
ts/examples/vercel/CHANGELOG.md
+12
@@ -1,5 +1,17 @@
1 # vercel-example
2
3 +## 0.1.13
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 + - @composio/vercel@0.12.1
14 +
15 ## 0.1.12
16
17 ### 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.12",
4 + "version": "0.1.13",
5 "description": "",
6 "main": "src/ai.ts",
7 "scripts": {
ts/examples/versioning/CHANGELOG.md
+11
@@ -1,5 +1,16 @@
1 # versioning-example
2
3 +## 0.1.4
4 +
5 +### Patch Changes
6 +
7 +- Updated dependencies [a4a40a1]
8 +- Updated dependencies [6c56b73]
9 +- Updated dependencies [6c56b73]
10 +- Updated dependencies [a4a40a1]
11 +- Updated dependencies [6c56b73]
12 + - @composio/core@0.20.0
13 +
14 ## 0.1.3
15
16 ### 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.3",
4 + "version": "0.1.4",
5 "description": "Example project for Versioning",
6 "main": "src/index.ts",
7 "scripts": {
ts/packages/core/CHANGELOG.md
+32
@@ -1,5 +1,37 @@
1 # @composio/core
2
3 +## 0.20.0
4 +
5 +### Minor Changes
6 +
7 +- a4a40a1: Fix project API key resolution so the SDK never sends a Composio user API key (`uak_...`, as stored by `composio login`) as the `x-api-key` project credential. When that stored key is the only candidate, the constructor now throws a redacted `ComposioAPIKeyKindError` that explains the mismatch instead of making requests that fail with 401. `apiKey: null` now disables project-key authentication entirely, including the `COMPOSIO_API_KEY` and `~/.composio/user_data.json` fallbacks, and is accepted when the instance holds another credential: `userApiKey` or `orgApiKey` (explicit or from their environment variables), or an `x-user-api-key` entry in `defaultHeaders`. Requests then carry only that credential. Malformed or unexpectedly shaped user config files produce a diagnostic that names the file without echoing its contents, and cloned instances keep the credential they were resolved with instead of re-reading the environment. Code that resolves the key with `apiKey: process.env.COMPOSIO_API_KEY ?? null` (or any expression that yields `null` when the variable is unset) is affected: it used to fall back to the environment and the CLI config file and now throws unless another credential is configured; omit `apiKey` (or pass `undefined`) to keep the fallbacks. With `apiKey: null`, an `x-api-key` entry in `defaultHeaders` is rejected as well, including on `createSession()` clones: pass the project key as `apiKey` instead of a raw header.
8 +- 6c56b73: Add `userApiKey` and `orgApiKey` to `ComposioConfig`. Both are forwarded to the underlying API client, which sends each one only on operations whose security scheme requires it (organization, consumer, and user-scoped endpoints reached through `getClient()`), never alongside the project key. They fall back to `COMPOSIO_USER_API_KEY` and `COMPOSIO_ORG_API_KEY`. A project `apiKey` is still required unless it is set to `null`, which opts into user-only authentication.
9 +- 6c56b73: Expose the rest of the owned client surface on the `Composio` class:
10 +
11 + - `composio.webhooks.subscriptions` (`list`, `get`, `set`, `update`, `delete`, `rotateSecret`, `listEventTypes`) and `composio.webhooks.endpoints` (`list`, `get`, `create`, `replace`, `update`). `composio.triggers.setWebhookSubscription()` now delegates to the same upsert as `webhooks.subscriptions.set()`. Its behaviour for well-formed API responses is unchanged; malformed responses are now rejected with a `ValidationError` instead of being read leniently.
12 + - `composio.logs.search()` and `composio.logs.get()` for tool-execution logs.
13 + - `composio.connectedAccounts.revoke()`, which surfaces the API's 400/409 as `ComposioConnectedAccountRevocationNotSupportedError` / `ComposioConnectedAccountNotRevokableError`. `connectedAccounts.refresh()` is marked `@deprecated` (the endpoint is deprecated upstream).
14 + - `composio.toolkits.getMany(slugs)` and `composio.toolkits.changelog()`.
15 + - `session.listConfigHistory()` on sessions.
16 + - `composio.experimental.usage.summary()` and `composio.experimental.usage.breakdown()` (experimental, shape may change).
17 + - `composio.toolkits.recommendScopes(toolkitSlug, { tools, ... })` and `composio.toolkits.listGrantContexts(toolkitSlug)` for OAuth scope recommendations (the API marks both beta).
18 + - `composio.connectedAccounts.completeAuth({ userId, sessionUri })`, which completes a deferred OAuth connection after your OAuth callback verifier has confirmed the user's identity.
19 + - `composio.keyring.listTransferKeys()`, which returns the public JWKs of the organization's customer-managed keyring.
20 + - `composio.experimental.customToolkits` (`upsert`, `sync`, `delete`) for project-owned custom toolkits (in pilot, shape may change).
21 + - `CIMD_OAUTH` joins `AuthSchemeTypes`.
22 + - `triggers.listActive()` returns `{}` for `state` and `triggerConfig` when the API sends `null`.
23 + - `ToolkitAuthField` gains `userVisible` (from `user_visible`) and `ToolkitAuthConfigDetails` gains `requiredScopes` (from `required_scopes`), both omitted when the API does not send them.
24 + - `@composio/client` moves from the old autogenerated client to the new handrolled client. The API removed `validate_credentials` from the connected-account refresh, so `connectedAccounts.refresh()` now ignores `validateCredentials` and logs a warning when it is set.
25 + - `logger` and `logLevel` options on `new Composio({...})`. `logger` accepts any `{ error, warn, info, debug }` sink (`console`, pino, winston, ...) and receives the SDK's formatted, credential-redacted output; `logLevel` (`'silent' | 'error' | 'warn' | 'info' | 'debug'`) overrides `COMPOSIO_LOG_LEVEL`. The owned client's runtime deprecation warnings (response `Deprecation`/`Sunset` headers and deprecated request inputs) are now routed through that SDK logger instead of `console`. The client's per-request lifecycle logs are emitted only at `'debug'`. `tools.get`/`getRawComposioTools` send the API's `query` parameter in place of the deprecated `search` wire parameter; the SDK's public `search` option is unchanged.
26 +
27 +- a4a40a1: Sessions now export their MCP config from the auth context the session request was actually made with: the project key as `x-api-key` when one is configured, otherwise the user API key (`userApiKey` or the `x-user-api-key` default header) as `x-user-api-key`, plus `x-org-id` / `x-project-id` when the instance is scoped. No other default header and no ambient `COMPOSIO_API_KEY` is ever copied. The headers are only attached when the MCP URL shares the origin of the configured API base URL (whatever its scheme). Any other destination (a different origin, an opaque origin such as a `data:` URL, or a URL that does not parse) never receives them: with `mcp: true`, `create()` / `use()` throw `ComposioMCPDestinationError`, which names both origins and never includes a key; without `mcp: true` the session is returned with `session.mcp.headers` empty and a warning naming both origins is logged, so native tools keep working. The SDK never connects to the MCP URL itself and does not follow redirects for it. Trigger subscriptions (Pusher channel auth) follow the same rule instead of falling back to the environment when the project key is disabled.
28 +
29 + `ComposioConfig` gains `orgId` and `projectId`: the organization and consumer project nano IDs, sent together as the `x-org-id` / `x-project-id` headers on every request and with the session MCP config. They may also be supplied through `defaultHeaders`; a half-configured or disagreeing scope throws `ComposioScopeConfigError`. Without a scope, a user API key keeps addressing the API default project.
30 +
31 + `session.update()` now sends the session's last observed `configVersion` as the `expected_config_version` precondition by default and never retries that request, so a concurrent change surfaces as `ComposioSessionConfigConflictError` (HTTP 409; re-fetch the session, then retry) while the local session object stays unchanged. Pass `expectedConfigVersion` to send another version or `expectedConfigVersion: false` to opt out (last writer wins). Every policy block (`toolkits`, `tools`, `tags`, `authConfigs`, `connectedAccounts`, `preload`, `manageConnections`, `multiAccount`, `search`, `execute`, `experimental`) accepts `null` to remove the stored override, `manageConnections.callbackUrl: null` removes only the stored callback URL, `multiAccount.maxAccountsPerToolkit: null` removes the stored maximum, and an empty toolkit allowlist (`toolkits: []`) is sent as-is so it denies every app toolkit.
32 +
33 +- 6c56b73: Replace the old autogenerated `@composio/client` with the new handrolled client.
34 +
35 ## 0.19.0
36
37 ### Minor Changes
ts/packages/core/package.json
+1 -1
@@ -4,7 +4,7 @@
4 "engines": {
5 "node": ">=22.22.3"
6 },
7 - "version": "0.19.0",
7 + "version": "0.20.0",
8 "description": "",
9 "main": "src/index.ts",
10 "publishConfig": {
ts/packages/slim/CHANGELOG.md
+4
@@ -1,5 +1,9 @@
1 # @composio/slim
2
3 +## 0.20.0
4 +
5 +No changes in this release.
6 +
7 ## 0.19.0
8
9 ### Minor Changes
ts/packages/slim/package.json
+1 -1
@@ -4,7 +4,7 @@
4 "engines": {
5 "node": ">=22.22.3"
6 },
7 - "version": "0.19.0",
7 + "version": "0.20.0",
8 "description": "Slim Composio core package without packaged source or docs",
9 "main": "dist/index.mjs",
10 "publishConfig": {