@devries-cameron20 / composio Mirror · read-only / commits / 3f3df9a89
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

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

Synced Nov 21, 07:15 UTC

chore: move core, CLI and Python SDK to `@composio/client` rc.21 (#5074)

This PR: - no Linear issue - moves `@composio/client` (pnpm catalog and lockfile) and `composio-client` (`python/pyproject.toml`, `python/setup.py`, `uv.lock`) from `2.0.0-rc.20` to `2.0.0-rc.21` ([release](https://github.com/ComposioHQ/composio-client/releases/tag/client-v2.0.0-rc.21), https://github.com/ComposioHQ/composio-client/pull/105) - rc.21 drops the Promise client's `request()`, `Composio.Composio` and `Composio.DEFAULT_TIMEOUT`, which nothing here uses, so no code changes; the Python client changes only its version - breaking (core and slim, minor changeset `client-rc21`): the client returned by `getClient()` no longer has those three members - the CLI `CHANGELOG.md` gains the bump under *Unreleased*; `ts/packages/cli/AGENTS.md` names rc.21 Verified locally on the published `2.0.0-rc.21`: - `pnpm typecheck` (workspace) passes; core `test`: 1941 passed, 2 expected fail; CLI `test`: 2350 passed, 1 skipped - Python: `pytest tests` 2417 passed, 205 skipped; `nox -s chk` and `uv lock --check` pass - live, from source: the CLI executes `HACKERNEWS_GET_USER`; the OpenAI smoke example passes; the Python SDK executes a tool, creates a session and derives a client with `with_options` - the composio-client release PR's acceptance (`downstream-compile`, `downstream-python`, `effect-subpath`) passed against `next`

Alberto Schiabel committed Oct 22, 2026 at 19:51 UTC 3f3df9a89eb309c4bf219a494ce52b6fdde7151a
8 files changed +26 -17
.changeset/client-rc21.md new
+6
@@ -0,0 +1,6 @@
1 +---
2 +'@composio/core': minor
3 +'@composio/slim': minor
4 +---
5 +
6 +Requires `@composio/client` `2.0.0-rc.21`. The SDK's behaviour is unchanged. With rc.21, the client returned by `getClient()` no longer has `request()`, `Composio.Composio` or `Composio.DEFAULT_TIMEOUT`: call the raw verb for the method (`get`, `post`, `patch`, `put`, `delete`), which takes the same `query`, `body` and request options.
pnpm-lock.yaml
+9 -9
@@ -28,8 +28,8 @@ catalogs:
28 specifier: ^5.20261012.1
29 version: 5.20261012.1
30 '@composio/client':
31 - specifier: 2.0.0-rc.20
32 - version: 2.0.0-rc.20
31 + specifier: 2.0.0-rc.21
32 + version: 2.0.0-rc.21
33 '@effect/language-service':
34 specifier: ^0.87.4
35 version: 0.87.4
@@ -990,7 +990,7 @@ importers:
990 dependencies:
991 '@composio/client':
992 specifier: 'catalog:'
993 - version: 2.0.0-rc.20(effect@4.0.3)
993 + version: 2.0.0-rc.21(effect@4.0.3)
994 '@composio/core':
995 specifier: workspace:*
996 version: link:../../packages/core
@@ -1238,7 +1238,7 @@ importers:
1238 version: link:../cli-keyring
1239 '@composio/client':
1240 specifier: 'catalog:'
1241 - version: 2.0.0-rc.20(effect@4.0.3)
1241 + version: 2.0.0-rc.21(effect@4.0.3)
1242 '@composio/core':
1243 specifier: workspace:*
1244 version: link:../core
@@ -1344,7 +1344,7 @@ importers:
1344 dependencies:
1345 '@composio/client':
1346 specifier: 'catalog:'
1347 - version: 2.0.0-rc.20(effect@4.0.3)
1347 + version: 2.0.0-rc.21(effect@4.0.3)
1348 '@composio/json-schema-to-zod':
1349 specifier: workspace:*
1350 version: link:../json-schema-to-zod
@@ -1758,7 +1758,7 @@ importers:
1758 dependencies:
1759 '@composio/client':
1760 specifier: 'catalog:'
1761 - version: 2.0.0-rc.20(effect@4.0.3)
1761 + version: 2.0.0-rc.21(effect@4.0.3)
1762 '@composio/json-schema-to-zod':
1763 specifier: workspace:*
1764 version: link:../json-schema-to-zod
@@ -2322,8 +2322,8 @@ packages:
2322 resolution: {integrity: sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ==}
2323 engines: {node: '>=0.1.90'}
2324
2325 - '@composio/client@2.0.0-rc.20':
2326 - resolution: {integrity: sha512-+S7+74ngxe0keH1ivCQMlYaxL2kcUTx6RAqoROxFVyvEuOrlx9XEAKky4h8qtiVw+Pyf60etr0TNAQ1rqcmVJA==}
2325 + '@composio/client@2.0.0-rc.21':
2326 + resolution: {integrity: sha512-dmFyDbbJMTmQ/Q08GYf6YOpH9/h04+Y2YSKZcJAG3TP15OpeTspHaLhU9G++7C6GdgC3K5a144cjnCLidMu5Mw==}
2327 engines: {node: '>=22'}
2328 peerDependencies:
2329 effect: '*'
@@ -7584,7 +7584,7 @@ snapshots:
7584 '@colors/colors@1.5.0':
7585 optional: true
7586
7587 - '@composio/client@2.0.0-rc.20(effect@4.0.3)':
7587 + '@composio/client@2.0.0-rc.21(effect@4.0.3)':
7588 optionalDependencies:
7589 effect: 4.0.3
7590
pnpm-workspace.yaml
+1 -1
@@ -33,7 +33,7 @@ catalog:
33 '@clack/prompts': '^1.8.1'
34 '@cloudflare/vitest-pool-workers': 0.23.0
35 '@cloudflare/workers-types': ^5.20261012.1
36 - '@composio/client': 2.0.0-rc.20
36 + '@composio/client': 2.0.0-rc.21
37 '@effect/language-service': ^0.87.4
38 '@effect/platform-bun': 4.0.3
39 '@effect/vitest': 4.0.3
python/pyproject.toml
+1 -1
@@ -14,7 +14,7 @@ dependencies = [
14 "pysher==1.0.8",
15 "websocket-client<2",
16 "pydantic>=2.11.9,<3",
17 - "composio-client==2.0.0rc20",
17 + "composio-client==2.0.0rc21",
18 "typing-extensions>=4.16.0,<5",
19 "openai>=2.48.0,<4",
20 "json-schema-to-pydantic>=0.4.11,<1",
python/setup.py
+1 -1
@@ -28,7 +28,7 @@ setup(
28 "pysher==1.0.8",
29 "websocket-client<2",
30 "pydantic>=2.11.9,<3",
31 - "composio-client==2.0.0rc20",
31 + "composio-client==2.0.0rc21",
32 "typing-extensions>=4.16.0,<5",
33 "openai>=2.48.0,<4",
34 "json-schema-to-pydantic>=0.4.11,<1",
ts/packages/cli/AGENTS.md
+1 -1
@@ -154,7 +154,7 @@ Steps 3–4 (and the TypeScript compiler they need) ship as the `generation-runt
154
155 ### Key Dependencies
156
157 -`effect` (pinned `4.0.3`; `@effect/cli` and `@effect/platform` no longer exist as separate packages — folded into `effect`'s barrel and `effect/{cli,http,process}`), `@effect/platform-bun`, `@effect/vitest` (same exact pin), `@clack/prompts` (terminal UI — stderr by default), `picocolors`, `@composio/client` (owned Composio API client, `2.0.0-rc.20` via the workspace catalog; the CLI calls it through the `@composio/client/effect` entry point and imports only types from the rest of the package), `@composio/core` (types), `@composio/ts-builders` (AST gen), `@composio/cli-keyring` (OS credential store), `@composio/json-schema-to-effect-schema`, `semver`, `open`, `extract-zip`.
157 +`effect` (pinned `4.0.3`; `@effect/cli` and `@effect/platform` no longer exist as separate packages — folded into `effect`'s barrel and `effect/{cli,http,process}`), `@effect/platform-bun`, `@effect/vitest` (same exact pin), `@clack/prompts` (terminal UI — stderr by default), `picocolors`, `@composio/client` (owned Composio API client, `2.0.0-rc.21` via the workspace catalog; the CLI calls it through the `@composio/client/effect` entry point and imports only types from the rest of the package), `@composio/core` (types), `@composio/ts-builders` (AST gen), `@composio/cli-keyring` (OS credential store), `@composio/json-schema-to-effect-schema`, `semver`, `open`, `extract-zip`.
158
159 ## Output Conventions: Composable CLI Output
160
ts/packages/cli/CHANGELOG.md
+3
@@ -15,6 +15,9 @@
15 response does not match the shape this CLI expects, naming the mismatched
16 fields. They used to warn and continue with the unchecked response.
17
18 +- The CLI now uses `@composio/client@2.0.0-rc.21` (up from `2.0.0-rc.20`). No
19 + command changes.
20 +
21 - `composio dev triggers create` now accepts `--user-id` and sends it with the
22 request, so it works on projects with 2FA enabled, which require the user who
23 owns the connected account. It used to reject `--user-id` and send no user,
uv.lock
+4 -4
@@ -806,7 +806,7 @@ release = [
806 [package.metadata]
807 requires-dist = [
808 { name = "certifi", specifier = ">=2026.10.19" },
809 - { name = "composio-client", specifier = "==2.0.0rc20" },
809 + { name = "composio-client", specifier = "==2.0.0rc21" },
810 { name = "json-schema-to-pydantic", specifier = ">=0.4.11,<1" },
811 { name = "jsonschema", specifier = ">=4.23.0,<5" },
812 { name = "openai", specifier = ">=2.48.0,<4" },
@@ -857,16 +857,16 @@ requires-dist = [
857
858 [[package]]
859 name = "composio-client"
860 -version = "2.0.0rc20"
860 +version = "2.0.0rc21"
861 source = { registry = "https://pypi.org/simple" }
862 dependencies = [
863 { name = "httpx" },
864 { name = "pydantic" },
865 { name = "typing-extensions" },
866 ]
867 -sdist = { url = "https://files.pythonhosted.org/packages/59/99/fb4ebe2c763d2796db8cdf90c60e4b7b649e05d717ec228511f0077fd9cc/composio_client-2.0.0rc20.tar.gz", hash = "sha256:43462291c1e5a7e119bbeaebf8bcaec8ee01d51d7e3d3af146de4812ed28cb07", size = 566870, upload-time = "2026-10-22T12:49:08.046Z" }
867 +sdist = { url = "https://files.pythonhosted.org/packages/27/ff/5b7d50aacf90bb0055af14898045322ef0d219cc280b0faae0146d7bdb66/composio_client-2.0.0rc21.tar.gz", hash = "sha256:b435e256462d0bfc8928ec45c85a456b2aa2fbef98d3801a3408140314777fc5", size = 566876, upload-time = "2026-10-22T15:16:21.759Z" }
868 wheels = [
869 - { url = "https://files.pythonhosted.org/packages/43/8d/6c60f79e9ca26bdfd91b456651a9a2aa36c17b0729187763ccff1f5ba743/composio_client-2.0.0rc20-py3-none-any.whl", hash = "sha256:cb6f73425b3c74bf1fe71fc7a92597297ab4da51a33b073972e37923b4443783", size = 452216, upload-time = "2026-10-22T12:49:06.312Z" },
869 + { url = "https://files.pythonhosted.org/packages/73/61/12a65736ee060bc333efea9ac242d1276380022fbdf3ee630ab336a28a2b/composio_client-2.0.0rc21-py3-none-any.whl", hash = "sha256:c9dabca054205e27dfc34150a829a771ea6d1d244e0988cd74318a07871c8eab", size = 452217, upload-time = "2026-10-22T15:16:19.622Z" },
870 ]
871
872 [[package]]