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

feat: prepare core, CLI and Python SDK for `@composio/client` rc.20 (#4950)

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.19` to `2.0.0-rc.20` ([release](https://github.com/ComposioHQ/composio-client/releases/tag/client-v2.0.0-rc.20)). rc.20 drops the Stainless resource structure (https://github.com/ComposioHQ/composio-client/pull/99, https://github.com/ComposioHQ/composio-client/pull/100) - core: imports each client type from its extensionless `@composio/client/resources/*` subpath (the `.mjs` deep paths, `@composio/client/resources` and `resources/index` are gone) and reaches nested types by indexed access, such as `NonNullable<SessionCreateParams['experimental']>` for `SessionCreateParams.Experimental`. 33 namespace-member uses; every exported SDK type keeps its shape - CLI: the same for nine sites, including `AuthConfigCreateParams.UnionMember1` and `Logs.ToolListResponse.Data`; the CLI `CHANGELOG.md` and `ts/packages/cli/AGENTS.md` name rc.20 - Python SDK: `HttpClient` overrides `with_options`, which replaces the client's `copy`; the contract tests pin the base `with_options` instead - breaking (core and slim, minor changeset `client-rc20-structure`): with rc.20, `getClient()` resources are plain objects typed by interfaces, without resource classes, class statics or namespace-member types Verified locally on the published `2.0.0-rc.20` after merging `next` @ 19a840458: - `pnpm typecheck` (workspace) passes; core `test`: 76 files, 1941 passed, 2 expected fail; CLI `test`: 205 files, 2313 passed, 1 skipped - Python: `pytest tests` 2417 passed, 205 skipped; `nox -s chk` passes; `uv lock --check` passes - composio-client release acceptance against this branch (`downstream-compile`, `downstream-python`, `effect-subpath`) passed on the release ref: run 39779972587

Alberto Schiabel committed Oct 22, 2026 at 18:06 UTC e87ed85138a3b9cfe13839cba522acc04ce2dac0
38 files changed +161 -143
.changeset/client-rc20-structure.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.20`. The SDK imports the client's types from the one `@composio/client/resources/*` spelling rc.20 publishes and reaches nested types by indexed access; every type the SDK exports keeps its shape. With rc.20, the resources of the client returned by `getClient()` are plain objects typed by interfaces: the resource classes, `Composio.Tools`-style statics and namespace-member types such as `SessionCreateParams.Experimental` are gone, and the `.js`/`.mjs` subpath spellings no longer resolve.
.github/workflows/py.audit.yml
+10 -1
@@ -85,7 +85,16 @@ jobs:
85 # Remove this exception once CrewAI permits a patched MCP, or
86 # reassess it before adding a stateful MCP HTTP server here.
87 # https://github.com/modelcontextprotocol/python-sdk/security/advisories/GHSA-84m7-p3x7-pcfv
88 - ignored-vulns: 'CVE-2026-59951'
88 + #
89 + # PYSEC-2026-4321 / GHSA-hq85-5cpj-mr62: uv's vendored CA bundle
90 + # trusts a root whose intermediates are compromised, so uv's own
91 + # network requests can be intercepted. `uv` is in this lock only
92 + # as a dependency of crewai-cli (through crewai); Composio never
93 + # runs it. crewai-cli pins uv~=0.11.6, excluding the 0.13.4 fix
94 + # (the latest published crewai-cli 1.15.28 has the same
95 + # constraint). Remove this exception once crewai-cli permits it.
96 + # https://github.com/astral-sh/uv/security/advisories/GHSA-hq85-5cpj-mr62
97 + ignored-vulns: 'CVE-2026-59951 PYSEC-2026-4321'
98 # Provider projects with their own lockfiles, which pin the published
99 # `composio` from PyPI rather than the workspace checkout. uv resolves
100 # them on their own even though python/providers/openai is listed as
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.19
32 - version: 2.0.0-rc.19
31 + specifier: 2.0.0-rc.20
32 + version: 2.0.0-rc.20
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.19(effect@4.0.3)
993 + version: 2.0.0-rc.20(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.19(effect@4.0.3)
1241 + version: 2.0.0-rc.20(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.19(effect@4.0.3)
1347 + version: 2.0.0-rc.20(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.19(effect@4.0.3)
1761 + version: 2.0.0-rc.20(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.19':
2326 - resolution: {integrity: sha512-EdBq7KXefbLXwK4F4wUtlG/e37pSxBQCAjJLRAgb0tHhiifDVqsmB/9AzLzpDsDfDKL/3UMUtYUiVUYaD87BVA==}
2325 + '@composio/client@2.0.0-rc.20':
2326 + resolution: {integrity: sha512-+S7+74ngxe0keH1ivCQMlYaxL2kcUTx6RAqoROxFVyvEuOrlx9XEAKky4h8qtiVw+Pyf60etr0TNAQ1rqcmVJA==}
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.19(effect@4.0.3)':
7587 + '@composio/client@2.0.0-rc.20(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.19
36 + '@composio/client': 2.0.0-rc.20
37 '@effect/language-service': ^0.87.4
38 '@effect/platform-bun': 4.0.3
39 '@effect/vitest': 4.0.3
python/composio/client/__init__.py
+6 -11
@@ -423,7 +423,7 @@ class HttpClient(BaseComposio, WithLogger):
423 # Lazily-built sibling client with retries disabled; see `without_retries`.
424 self._without_retries: t.Optional[te.Self] = None
425
426 - def copy( # type: ignore[override]
426 + def with_options( # type: ignore[override]
427 self,
428 *,
429 _extra_kwargs: t.Mapping[str, t.Any] = {},
@@ -432,13 +432,13 @@ class HttpClient(BaseComposio, WithLogger):
432 """
433 Clone the client, re-injecting the SDK-only constructor keywords.
434
435 - The generated ``copy`` rebuilds the client via ``type(self)(...)`` with
436 - the parent's ``auth``, ``scope``, ``identity`` and options, but cannot
437 - know ``provider``, which this subclass requires, or the SDK logger.
438 - Threading them through ``_extra_kwargs`` makes ``copy`` /
435 + The generated ``with_options`` rebuilds the client via ``type(self)(...)``
436 + with the parent's ``auth``, ``scope``, ``identity`` and options, but
437 + cannot know ``provider``, which this subclass requires, or the SDK
438 + logger. Threading them through ``_extra_kwargs`` makes
439 ``with_options`` work (e.g. ``with_options(max_retries=0)``).
440 """
441 - return super().copy( # type: ignore[misc]
441 + return super().with_options( # type: ignore[misc]
442 _extra_kwargs={
443 "provider": self.provider,
444 # Share the parent's logger; otherwise constructing the clone
@@ -450,11 +450,6 @@ class HttpClient(BaseComposio, WithLogger):
450 **kwargs,
451 )
452
453 - # Re-alias `with_options` to this override. The base class binds
454 - # `with_options = copy` at class-definition time, so without this it would
455 - # still resolve to the base `copy` and miss the `provider` re-injection.
456 - with_options = copy
457 -
453 @property
454 def without_retries(self) -> te.Self:
455 """
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.0rc19",
17 + "composio-client==2.0.0rc20",
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.0rc19",
31 + "composio-client==2.0.0rc20",
32 "typing-extensions>=4.16.0,<5",
33 "openai>=2.48.0,<4",
34 "json-schema-to-pydantic>=0.4.11,<1",
python/tests/test_no_retry_writes.py
+13 -15
@@ -60,7 +60,7 @@ def _client_with_transport(
60
61
62 class TestCopyOverride:
63 - """Guards the ``HttpClient.copy()`` override that makes ``with_options`` work."""
63 + """Guards the ``HttpClient.with_options()`` override."""
64
65 def test_with_options_does_not_raise_and_overrides_max_retries(self) -> None:
66 client = HttpClient(
@@ -69,7 +69,7 @@ class TestCopyOverride:
69 base_url="https://backend.invalid",
70 )
71
72 - # Without the copy() override this raises:
72 + # Without the with_options() override this raises:
73 # TypeError: missing required keyword-only argument 'provider'.
74 clone = client.with_options(max_retries=0)
75
@@ -106,26 +106,24 @@ class TestCopyOverride:
106 assert client.without_retries._strict_response_validation is True
107
108
109 -class TestStainlessCopyContract:
110 - """Pin the generated-client internals the ``copy()`` override depends on.
109 +class TestBaseWithOptionsContract:
110 + """Pin the generated-client internals the ``with_options()`` override depends on.
111
112 These guard the contract so a ``composio_client`` regen that breaks it fails
113 as an obvious assertion here rather than a cryptic ``TypeError`` raised deep
114 inside ``with_options`` at runtime.
115 """
116
117 - def test_base_copy_accepts_extra_kwargs(self) -> None:
117 + def test_base_with_options_accepts_extra_kwargs(self) -> None:
118 # The override threads `provider` (and the SDK logger) through
119 - # `_extra_kwargs`; the base `copy` must still accept it.
120 - assert "_extra_kwargs" in inspect.signature(BaseComposio.copy).parameters
121 -
122 - def test_with_options_is_aliased_to_our_copy_override(self) -> None:
123 - # The base binds `with_options = copy` at class-definition time, so the
124 - # subclass must re-alias it to the override that re-injects `provider`.
125 - # (Accessing these bound methods via the generic class trips mypy's
126 - # "generic instance variable via class" check; the identity assert is
127 - # intentional.)
128 - assert HttpClient.__dict__["with_options"] is HttpClient.__dict__["copy"] # type: ignore[misc]
119 + # `_extra_kwargs`; the base `with_options` must still accept it.
120 + # Read through `__dict__`: up to rc.19 `with_options` is a class-level
121 + # alias of `copy`, which mypy will not let a generic class expose.
122 + base_with_options = BaseComposio.__dict__["with_options"]
123 + assert "_extra_kwargs" in inspect.signature(base_with_options).parameters
124 +
125 + def test_with_options_is_overridden(self) -> None:
126 + assert "with_options" in HttpClient.__dict__
127
128
129 class TestWritePathDoesNotRetry:
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.19` 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.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`.
158
159 ## Output Conventions: Composable CLI Output
160
ts/packages/cli/CHANGELOG.md
+5 -2
@@ -116,8 +116,11 @@
116 Composio does not manage, and the waiting and timeout lines shown while a
117 link is pending. Exit codes and the JSON printed on stdout are unchanged.
118
119 -- The CLI now uses `@composio/client@2.0.0-rc.19` (up from `2.0.0-rc.17`). No
120 - command changes.
119 +- The CLI now uses `@composio/client@2.0.0-rc.20` (up from `2.0.0-rc.17`),
120 + which drops the Stainless resource structure: resource classes, class
121 + statics, namespace-member types and the `.js`/`.mjs` subpath spellings are
122 + gone. The CLI's type imports move to the one `@composio/client/resources/*`
123 + spelling; no command changes.
124
125 - API requests now authenticate through the API client's `auth` option (the
126 logged-in user's API key, or no credential before login) and name the org and
ts/packages/cli/src/commands/auth-configs/create/auth-configs.create.handler.ts
+4 -1
@@ -61,7 +61,10 @@ export const buildAuthConfigCreateRequest = (input: {
61 auth_config: {
62 type: 'use_custom_auth' as const,
63 // The API validates the scheme and answers an unknown one with its own error and hint.
64 - authScheme: authScheme as AuthConfigCreateRequest.UnionMember1['authScheme'],
64 + authScheme: authScheme as Extract<
65 + NonNullable<AuthConfigCreateRequest['auth_config']>,
66 + { authScheme: unknown }
67 + >['authScheme'],
68 name: input.name,
69 credentials:
70 input.customCredentials || input.scopes
ts/packages/cli/src/commands/logs/format.ts
+3 -3
@@ -1,10 +1,10 @@
1 -import type { Logs } from '@composio/client/resources/logs/logs';
1 +import type { ToolListResponse, ToolRetrieveResponse } from '@composio/client/resources/logs';
2 import type { TriggerLogRecord } from 'src/commands/logs/trigger-log-record';
3 import { bold, gray, green, red } from 'src/ui/colors';
4 import { truncate } from 'src/ui/truncate';
5
6 -type ToolLog = Logs.ToolListResponse.Data;
7 -type ToolLogDetailed = Logs.ToolRetrieveResponse;
6 +type ToolLog = ToolListResponse['data'][number];
7 +type ToolLogDetailed = ToolRetrieveResponse;
8
9 const TRIGGER_LOG_TABLE = {
10 createdAt: 24,
ts/packages/cli/src/commands/toolkits/format.ts
+1 -1
@@ -3,7 +3,7 @@ import type { SessionToolkitsResponse } from '@composio/client/resources/tool-ro
3 import { bold, gray, green, dim } from 'src/ui/colors';
4 import { truncate } from 'src/ui/truncate';
5
6 -type SessionToolkitItem = SessionToolkitsResponse.Item;
6 +type SessionToolkitItem = SessionToolkitsResponse['items'][number];
7
8 const formatAuthConfigField = (field: {
9 name: string;
ts/packages/cli/src/commands/toolkits/list/toolkits.list.handler.ts
+1 -1
@@ -23,7 +23,7 @@ export type ToolkitsListParams = {
23 readonly connected: Option.Option<boolean>;
24 };
25
26 -type SessionToolkitItem = SessionToolkitsResponse.Item;
26 +type SessionToolkitItem = SessionToolkitsResponse['items'][number];
27
28 /** The user whose connection status the list shows, and the notice printed when it is a fallback. */
29 export type ToolkitsListUser = {
ts/packages/cli/src/commands/tools/search/tools.search.format.ts
+2 -2
@@ -6,8 +6,8 @@ import type { CommandTree } from 'src/commands/surface';
6 import { commandHintExample, commandHintStep } from 'src/services/command-hints';
7 import { formatToolsTable } from '../format';
8
9 -export type SearchToolSchema = SessionSearchResponse.ToolSchemas;
10 -export type SearchResultRecord = SessionSearchResponse.Result;
9 +export type SearchToolSchema = NonNullable<SessionSearchResponse['tool_schemas'][string]>;
10 +export type SearchResultRecord = SessionSearchResponse['results'][number];
11 export type SearchResponseRecord = Pick<
12 SessionSearchResponse,
13 'results' | 'toolkit_connection_statuses' | 'tool_schemas' | 'next_steps_guidance' | 'error'
ts/packages/cli/src/services/composio-account.ts
+2 -2
@@ -69,7 +69,7 @@ export const sessionProjectApiKeyOf = (info: SessionInfoResponse): string | null
69 /**
70 * A single project entry returned by GET /api/v3.1/org/project/list.
71 */
72 -export type OrgProject = ProjectListResponse.Data;
72 +export type OrgProject = ProjectListResponse['data'][number];
73
74 export interface OrganizationSummary {
75 readonly id: string;
@@ -99,7 +99,7 @@ export const listOrganizations = (params: {
99 { ...idempotent, ...validated }
100 );
101 const organizations = response.organizations.map(
102 - (organization: OrgListResponse.Organization) =>
102 + (organization: OrgListResponse['organizations'][number]) =>
103 ({ id: organization.id, name: organization.name }) satisfies OrganizationSummary
104 );
105
ts/packages/cli/test/src/commands/logs/format.test.ts
+3 -3
@@ -1,4 +1,4 @@
1 -import type { Logs } from '@composio/client/resources/logs/logs';
1 +import type { ToolListResponse, ToolRetrieveResponse } from '@composio/client/resources/logs';
2 import { describe, expect, it } from 'vitest';
3 import {
4 formatTriggerLogInfo,
@@ -12,8 +12,8 @@ import {
12 } from 'src/commands/logs/trigger-log-record';
13 import { green, red } from 'src/ui/colors';
14
15 -type ToolLog = Logs.ToolListResponse.Data;
16 -type ToolLogDetailed = Logs.ToolRetrieveResponse;
15 +type ToolLog = ToolListResponse['data'][number];
16 +type ToolLogDetailed = ToolRetrieveResponse;
17
18 const makeTriggerLog = (createdAt: string | number): TriggerLogRecord =>
19 decodeTriggerLogRecord({
ts/packages/core/src/lib/toolRouterParams.ts
+12 -10
@@ -1,7 +1,7 @@
1 import {
2 SessionCreateParams,
3 SessionPatchParams,
4 -} from '@composio/client/resources/tool-router/session/session.mjs';
4 +} from '@composio/client/resources/tool-router/session';
5 import {
6 ToolRouterConfigTags,
7 ToolRouterConfigTools,
@@ -85,7 +85,9 @@ export const transformToolRouterToolsParams = (
85
86 export const transformToolRouterTagsParams = (
87 params?: ToolRouterConfigTags
88 -): SessionCreateParams.Tags['tags'] | undefined => {
88 +):
89 + | Extract<NonNullable<SessionCreateParams['tools']>[string], { tags: unknown }>['tags']
90 + | undefined => {
91 if (!params) {
92 return undefined;
93 }
@@ -102,7 +104,7 @@ export const transformToolRouterTagsParams = (
104
105 export const transformToolRouterManageConnectionsParams = (
106 params?: boolean | z.infer<typeof ToolRouterConfigManageConnectionsSchema>
105 -): SessionCreateParams.ManageConnections => {
107 +): NonNullable<SessionCreateParams['manage_connections']> => {
108 if (params === undefined) {
109 // Default case when params is undefined
110 return {
@@ -145,7 +147,7 @@ export const resolveToolRouterSandboxConfig = (
147
148 export const transformToolRouterSandboxParams = (
149 params?: ParsedCreateSessionConfig['sandbox'] | ParsedCreateSessionConfig['workbench']
148 -): SessionCreateParams.Workbench | undefined => {
150 +): NonNullable<SessionCreateParams['workbench']> | undefined => {
151 if (!params) {
152 return undefined;
153 }
@@ -174,19 +176,19 @@ type WithNull<T, K extends keyof T> = Omit<T, K> & { [P in K]?: NonNullable<T[P]
176 * the generated client types as string-only.
177 */
178 export type SessionPatchManageConnectionsBody = WithNull<
177 - SessionPatchParams.ManageConnections,
179 + NonNullable<SessionPatchParams['manage_connections']>,
180 'callback_url'
181 >;
182
183 /** `multi_account` as sent by `session.update()`; `null` removes the stored maximum. */
184 export type SessionPatchMultiAccountBody = WithNull<
183 - SessionPatchParams.MultiAccount,
185 + NonNullable<SessionPatchParams['multi_account']>,
186 'max_accounts_per_toolkit'
187 >;
188
189 /** `experimental` as sent by `session.update()`; `null` removes a stored leaf. */
190 export type SessionPatchExperimentalBody = WithNull<
189 - SessionPatchParams.Experimental,
191 + NonNullable<SessionPatchParams['experimental']>,
192 'permissions' | 'link_url_overwrite' | 'fast_mode' | 'submit_feedback'
193 >;
194
@@ -312,7 +314,7 @@ const transformToolRouterUpdateExperimentalParams = (
314 */
315 export const transformToolRouterUpdateSandboxParams = (
316 params: Partial<ToolRouterSandboxConfig>
315 -): SessionPatchParams.Workbench => {
317 +): NonNullable<SessionPatchParams['workbench']> => {
318 const result: Record<string, unknown> = {};
319 if (params.enable !== undefined) {
320 result.enable = params.enable;
@@ -326,7 +328,7 @@ export const transformToolRouterUpdateSandboxParams = (
328 if (params.sandboxSize !== undefined) {
329 result.sandbox_size = params.sandboxSize;
330 }
329 - return result as SessionPatchParams.Workbench;
331 + return result as NonNullable<SessionPatchParams['workbench']>;
332 };
333
334 /** @deprecated Renamed — use `transformToolRouterUpdateSandboxParams` instead. `workbench` is a backwards-compatible alias for `sandbox`. */
@@ -334,7 +336,7 @@ export const transformToolRouterUpdateWorkbenchParams = transformToolRouterUpdat
336
337 export const transformToolRouterMultiAccountParams = (
338 params?: ParsedCreateSessionConfig['multiAccount']
337 -): SessionCreateParams.MultiAccount | undefined => {
339 +): NonNullable<SessionCreateParams['multi_account']> | undefined => {
340 if (!params) {
341 return undefined;
342 }
ts/packages/core/src/models/ConnectedAccounts.ts
+1 -1
@@ -253,7 +253,7 @@ export class ConnectedAccounts {
253 connection: {
254 callback_url: options?.callbackUrl,
255 user_id: userId,
256 - state: state as ConnectedAccountCreateParamsRaw.Connection['state'],
256 + state: state as NonNullable<ConnectedAccountCreateParamsRaw['connection']>['state'],
257 ...(options?.alias != null && { alias: options.alias }),
258 },
259 };
ts/packages/core/src/models/CustomTool.ts
+1 -1
@@ -37,7 +37,7 @@ import {
37 import type {
38 SessionCreateResponse,
39 SessionRetrieveResponse,
40 -} from '@composio/client/resources/tool-router/session/session.mjs';
40 +} from '@composio/client/resources/tool-router/session';
41 import { ValidationError } from '../errors';
42 import { PRELOAD_TOOLS_ALL } from '../lib/toolRouterConstants';
43 import {
ts/packages/core/src/models/MCP.ts
+1 -2
@@ -20,8 +20,7 @@ import {
20 import { MCPServerInstanceSchema } from '../types/mcp.experimental.types';
21 import { ValidationError } from '../errors/ValidationErrors';
22 import { transform } from '../utils/transform';
23 -import { McpUpdateResponse } from '@composio/client/resources.js';
24 -import { McpRetrieveResponse } from '@composio/client/resources';
23 +import type { McpRetrieveResponse, McpUpdateResponse } from '@composio/client/resources/mcp';
24 import { ComposioRequestOptions } from '../types/requestOptions.types';
25 import { withCancellation } from '../utils/cancellation';
26 import logger from '../utils/logger';
ts/packages/core/src/models/SessionContext.ts
+4 -4
@@ -27,7 +27,7 @@ import {
27 transformExecuteResponse,
28 transformProxyExecuteResponse,
29 } from '../utils/transformers/toolRouterResponseTransform';
30 -import type { SessionExecuteParams } from '@composio/client/resources/tool-router/session/session.mjs';
30 +import type { SessionExecuteParams } from '@composio/client/resources/tool-router/session';
31 import { inlineCustomToolsExperimental } from './inlineCustomToolsPayload';
32 import { withCancellation } from '../utils/cancellation';
33 import { withoutRetries } from '../utils/retries';
@@ -97,9 +97,9 @@ export class SessionContextImpl implements SessionContext {
97 tool_slug: toolSlug,
98 arguments: arguments_,
99 };
100 - const experimental = inlineCustomToolsExperimental<SessionExecuteParams.Experimental>(
101 - this.inlineCustomToolsPayload
102 - );
100 + const experimental = inlineCustomToolsExperimental<
101 + NonNullable<SessionExecuteParams['experimental']>
102 + >(this.inlineCustomToolsPayload);
103 if (experimental) {
104 executeParams.experimental = experimental;
105 }
ts/packages/core/src/models/ToolRouter.ts
+1 -1
@@ -37,7 +37,7 @@ import {
37 SessionCreateParams,
38 SessionCreateResponse,
39 SessionRetrieveResponse,
40 -} from '@composio/client/resources/tool-router/session/session.mjs';
40 +} from '@composio/client/resources/tool-router/session';
41 import type {
42 CustomTool,
43 CustomToolkit,
ts/packages/core/src/models/ToolRouterSession.ts
+14 -14
@@ -79,7 +79,7 @@ import type {
79 SessionPatchParams,
80 SessionPatchResponse,
81 SessionSearchParams,
82 -} from '@composio/client/resources/tool-router/session/session.mjs';
82 +} from '@composio/client/resources/tool-router/session';
83 import { SessionProxyExecuteParamsSchema } from '../types/toolRouter.types';
84 import { SessionContextImpl } from './SessionContext';
85 import {
@@ -484,7 +484,7 @@ export class ToolRouterSession<
484 ...(opts.callbackUrl !== undefined && { callback_url: opts.callbackUrl }),
485 ...(opts.alias !== undefined && { alias: opts.alias }),
486 ...(experimentalWire !== undefined && {
487 - experimental: experimentalWire as SessionLinkParams.Experimental,
487 + experimental: experimentalWire as NonNullable<SessionLinkParams['experimental']>,
488 }),
489 };
490
@@ -667,9 +667,9 @@ export class ToolRouterSession<
667 },
668 requestOptions?: ComposioRequestOptions
669 ): Promise<ToolRouterSessionSearchResponse> {
670 - const experimental = inlineCustomToolsExperimental<SessionSearchParams.Experimental>(
671 - this.inlineCustomToolsPayload
672 - );
670 + const experimental = inlineCustomToolsExperimental<
671 + NonNullable<SessionSearchParams['experimental']>
672 + >(this.inlineCustomToolsPayload);
673 const searchParams = {
674 queries: [{ use_case: params.query }],
675 ...(params.toolkits?.length ? { toolkits: params.toolkits } : {}),
@@ -738,9 +738,9 @@ export class ToolRouterSession<
738 if (options?.account) {
739 executeParams.account = options.account;
740 }
741 - const experimental = inlineCustomToolsExperimental<SessionExecuteParams.Experimental>(
742 - this.inlineCustomToolsPayload
743 - );
741 + const experimental = inlineCustomToolsExperimental<
742 + NonNullable<SessionExecuteParams['experimental']>
743 + >(this.inlineCustomToolsPayload);
744 if (experimental) {
745 executeParams.experimental = experimental;
746 }
@@ -790,9 +790,9 @@ export class ToolRouterSession<
790 arguments: arguments_ ?? {},
791 ...inputResponseParams(options),
792 };
793 - const experimental = inlineCustomToolsExperimental<SessionExecuteMetaParams.Experimental>(
794 - this.inlineCustomToolsPayload
795 - );
793 + const experimental = inlineCustomToolsExperimental<
794 + NonNullable<SessionExecuteMetaParams['experimental']>
795 + >(this.inlineCustomToolsPayload);
796 if (experimental) {
797 executeMetaParams.experimental = experimental;
798 }
@@ -1010,9 +1010,9 @@ export class ToolRouterSession<
1010 tool?: Tool
1011 ): Promise<ToolExecuteResponse> {
1012 const body = { sessionId: this.sessionId, arguments: input };
1013 - const experimental = inlineCustomToolsExperimental<SessionExecuteParams.Experimental>(
1014 - this.inlineCustomToolsPayload
1015 - );
1013 + const experimental = inlineCustomToolsExperimental<
1014 + NonNullable<SessionExecuteParams['experimental']>
1015 + >(this.inlineCustomToolsPayload);
1016 if (experimental) {
1017 return ToolsModel.executeSessionTool(toolSlug, body, modifiers, tool, { experimental });
1018 }
ts/packages/core/src/models/Tools.ts
+3 -3
@@ -52,7 +52,7 @@ import { telemetry } from '../telemetry/Telemetry';
52 import type { ComposioConfig } from '../composio';
53 import { getToolkitVersion } from '../utils/toolkitVersion';
54 import { handleToolExecutionError } from '../errors/ToolErrors';
55 -import type { SessionExecuteParams } from '@composio/client/resources/tool-router/session/session.mjs';
55 +import type { SessionExecuteParams } from '@composio/client/resources/tool-router/session';
56 import { CONFIG_DEFAULTS } from '../utils/config-defaults';
57 import { resolveEffectiveUploadAllowlist } from '../utils/fileDirs';
58 import {
@@ -72,7 +72,7 @@ import { ComposioRequestCancelledError } from '../errors/SDKErrors';
72 const TOOL_ROUTER_SESSION_TOOLS_PAGE_LIMIT = 500;
73
74 type ToolRouterSessionExecuteOptions = {
75 - experimental?: SessionExecuteParams.Experimental;
75 + experimental?: NonNullable<SessionExecuteParams['experimental']>;
76 };
77
78 type RawToolParameters =
@@ -1362,7 +1362,7 @@ export class Tools<
1362 }
1363 // convert the headers and query to the composio format
1364 // { name: string, type: 'header' | 'query', value: string }
1365 - const parameters: ComposioToolProxyParams.Parameter[] = [];
1365 + const parameters: NonNullable<ComposioToolProxyParams['parameters']>[number][] = [];
1366 const parameterTypes = {
1367 header: 'header',
1368 query: 'query',
ts/packages/core/src/models/Triggers.ts
+2 -4
@@ -1,8 +1,6 @@
1 import ComposioClient, { APIError } from '@composio/client';
2 -import {
3 - TriggersTypeRetrieveEnumResponse,
4 - type TriggerInstanceUpsertParams as ClientTriggerInstanceUpsertParams,
5 -} from '@composio/client/resources/index';
2 +import type { TriggerInstanceUpsertParams as ClientTriggerInstanceUpsertParams } from '@composio/client/resources/trigger-instances';
3 +import { TriggersTypeRetrieveEnumResponse } from '@composio/client/resources/triggers-types';
4 import {
5 TriggerInstanceUpsertResponse,
6 TriggerInstanceUpsertParamsSchema,
ts/packages/core/src/models/inlineCustomToolsPayload.ts
+3 -3
@@ -1,12 +1,12 @@
1 import type {
2 SessionExecuteParams,
3 SessionSearchParams,
4 -} from '@composio/client/resources/tool-router/session/session.mjs';
4 +} from '@composio/client/resources/tool-router/session';
5 import type { InlineCustomToolsWirePayload } from '../types/customTool.types';
6
7 type InlineCustomToolsExperimental =
8 - | SessionExecuteParams.Experimental
9 - | SessionSearchParams.Experimental;
8 + | NonNullable<SessionExecuteParams['experimental']>
9 + | NonNullable<SessionSearchParams['experimental']>;
10
11 export function inlineCustomToolsExperimental<TExperimental extends InlineCustomToolsExperimental>(
12 payload?: InlineCustomToolsWirePayload
ts/packages/core/src/models/proxyParamsTransform.ts
+1 -1
@@ -3,7 +3,7 @@
3 * to the official @composio/client proxy execute params.
4 */
5 import type { SessionProxyExecuteParams } from '../types/toolRouter.types';
6 -import type { SessionProxyExecuteParams as ClientProxyExecuteParams } from '@composio/client/resources/tool-router/session/session.mjs';
6 +import type { SessionProxyExecuteParams as ClientProxyExecuteParams } from '@composio/client/resources/tool-router/session';
7
8 /**
9 * Transform SDK session proxy params to the official client request format.
ts/packages/core/src/types/customTool.types.ts
+13 -5
@@ -8,7 +8,7 @@ import type {
8 import type {
9 SessionCreateParams,
10 SessionCreateResponse,
11 -} from '@composio/client/resources/tool-router/session/session.mjs';
11 +} from '@composio/client/resources/tool-router/session';
12
13 export type AnyZodSchema = z.ZodType | z4.ZodType;
14 export type InferZodSchema<T extends AnyZodSchema> = T extends z.ZodType
@@ -142,7 +142,9 @@ export interface CustomTool {
142 }
143
144 /** Serialized tool definition sent to backend for search indexing. Uses official client type. */
145 -export type CustomToolDefinition = SessionCreateParams.Experimental.CustomTool;
145 +export type CustomToolDefinition = NonNullable<
146 + NonNullable<SessionCreateParams['experimental']>['custom_tools']
147 +>[number];
148
149 export type CustomToolWireDefinition = CustomToolDefinition;
150
@@ -188,7 +190,9 @@ export interface CustomToolkit {
190 }
191
192 /** Serialized toolkit definition sent to backend. Uses official client type. */
191 -export type CustomToolkitDefinition = SessionCreateParams.Experimental.CustomToolkit;
193 +export type CustomToolkitDefinition = NonNullable<
194 + NonNullable<NonNullable<SessionCreateParams['experimental']>['custom_toolkits']>[number]
195 +>;
196
197 export type CustomToolkitWireDefinition = CustomToolkitDefinition;
198
@@ -255,7 +259,11 @@ export interface RegisteredCustomToolkit {
259 // ────────────────────────────────────────────────────────────────
260
261 /** Custom tool as returned in the session create response (has prefixed slug + original_slug). */
258 -export type CustomToolResponse = SessionCreateResponse.Experimental.CustomTool;
262 +export type CustomToolResponse = NonNullable<
263 + NonNullable<SessionCreateResponse['experimental']>['custom_tools']
264 +>[number];
265
266 /** Custom toolkit as returned in the session create response (has prefixed slugs + original_slugs). */
261 -export type CustomToolkitResponse = SessionCreateResponse.Experimental.CustomToolkit;
267 +export type CustomToolkitResponse = NonNullable<
268 + NonNullable<NonNullable<SessionCreateResponse['experimental']>['custom_toolkits']>[number]
269 +>;
ts/packages/core/src/types/toolRouter.types.ts
+12 -6
@@ -10,7 +10,7 @@ import type {
10 SessionCreateResponse,
11 SessionExecuteMetaParams,
12 SessionExecuteParams,
13 -} from '@composio/client/resources/tool-router/session/session.mjs';
13 +} from '@composio/client/resources/tool-router/session';
14 import type {
15 CustomTool,
16 CustomToolkit,
@@ -1011,11 +1011,15 @@ export type ToolRouterSessionExecuteMetaFn = (
1011 requestOptions?: ComposioRequestOptions
1012 ) => Promise<ToolRouterSessionExecuteResponse>;
1013
1014 -export type ToolRouterSessionPreloadConfig = SessionCreateResponse.Config.Preload;
1014 +export type ToolRouterSessionPreloadConfig = NonNullable<
1015 + SessionCreateResponse['config']
1016 +>['preload'];
1017
1016 -export type ToolRouterSessionWorkbenchConfig = SessionCreateResponse.Config.Workbench;
1018 +export type ToolRouterSessionWorkbenchConfig = NonNullable<
1019 + NonNullable<SessionCreateResponse['config']>['workbench']
1020 +>;
1021
1018 -export type ToolRouterSessionWarning = SessionCreateResponse.Warning;
1022 +export type ToolRouterSessionWarning = NonNullable<SessionCreateResponse['warnings']>[number];
1023
1024 /**
1025 * Server-side session configuration as returned by the API: toolkit/tool
@@ -1023,7 +1027,7 @@ export type ToolRouterSessionWarning = SessionCreateResponse.Warning;
1027 * preload, sandbox (`workbench`), search, execute, proxy execute and Instant
1028 * settings.
1029 */
1026 -export type ToolRouterSessionConfig = SessionCreateResponse.Config;
1030 +export type ToolRouterSessionConfig = NonNullable<SessionCreateResponse['config']>;
1031
1032 export interface ToolRouterSessionMetadata {
1033 /** Present on every session built from an API response; the constructor synthesises a minimal config when absent. */
@@ -1351,7 +1355,9 @@ export type ToolRouterSessionListConfigHistoryOptions = z.infer<
1355 * The session configuration at one version, as stored by the API. This is
1356 * the wire shape (snake_case), with the Instant policy under `instant`.
1357 */
1354 -export type ToolRouterSessionConfigHistoryConfig = SessionConfigHistoryResponse.Item.Config;
1358 +export type ToolRouterSessionConfigHistoryConfig = NonNullable<
1359 + SessionConfigHistoryResponse['items'][number]['config']
1360 +>;
1361
1362 export type ToolRouterSessionConfigHistoryItem = {
1363 /** The config version this entry represents. */
ts/packages/core/src/utils/transformers/connectedAccounts.ts
+2 -7
@@ -1,7 +1,8 @@
1 import {
2 ConnectedAccountListResponse as RawConnectedAccountListResponse,
3 ConnectedAccountRetrieveResponse as RawConnectedAccountRetrieveResponse,
4 - type ConnectedAccounts as ClientConnectedAccounts,
4 + type ConnectedAccountCompleteAuthResponse as RawConnectedAccountCompleteAuthResponse,
5 + type ConnectedAccountRevokeResponse as RawConnectedAccountRevokeResponse,
6 } from '@composio/client/resources/connected-accounts';
7 import {
8 ConnectedAccountListResponse,
@@ -13,12 +14,6 @@ import {
14 ConnectedAccountCompleteAuthResponse,
15 ConnectedAccountCompleteAuthResponseSchema,
16 } from '../../types/connectedAccounts.types';
16 -
17 -// The revoke and complete-auth response types are only reachable through the
18 -// resource class namespace on the published subpath.
19 -type RawConnectedAccountRevokeResponse = ClientConnectedAccounts.ConnectedAccountRevokeResponse;
20 -type RawConnectedAccountCompleteAuthResponse =
21 - ClientConnectedAccounts.ConnectedAccountCompleteAuthResponse;
17 import { ConnectionDataSchema } from '../../types/connectedAccountAuthStates.types';
18 import logger from '../logger';
19 import { transform } from '../transform';
ts/packages/core/src/utils/transformers/sessionConfigs.ts
+1 -1
@@ -13,7 +13,7 @@ import {
13 import { transform } from '../transform';
14
15 export const transformSessionConfigSummary = (
16 - response: RawSessionConfigListResponse.Item
16 + response: RawSessionConfigListResponse['items'][number]
17 ): SessionConfigSummary => {
18 return transform(response)
19 .with(SessionConfigSummarySchema)
ts/packages/core/src/utils/transformers/toolRouterResponseTransform.ts
+1 -1
@@ -4,7 +4,7 @@
4 import type {
5 SessionExecuteResponse,
6 SessionProxyExecuteResponse,
7 -} from '@composio/client/resources/tool-router/session/session.mjs';
7 +} from '@composio/client/resources/tool-router/session';
8 import z from 'zod/v3';
9 import { ComposioToolInputRequiredError } from '../../errors/ToolRouterErrors';
10 import { ValidationError } from '../../errors/ValidationErrors';
ts/packages/core/src/utils/transformers/toolkits.ts
+6 -12
@@ -2,19 +2,13 @@ import {
2 ToolkitRetrieveResponse as RawToolkitRetrieveResponse,
3 ToolkitListResponse as RawToolkitListResponse,
4 ToolkitRetrieveCategoriesResponse as RawToolkitRetrieveCategoriesResponse,
5 - type Toolkits as ClientToolkits,
5 + type ToolkitRetrieveChangelogResponse as RawToolkitRetrieveChangelogResponse,
6 + type ToolkitRetrieveMultiResponse as RawToolkitRetrieveMultiResponse,
7 + type ToolkitRecommendScopesParams as RawToolkitRecommendScopesParams,
8 + type ToolkitRecommendScopesResponse as RawToolkitRecommendScopesResponse,
9 + type ToolkitRetrieveScopesGrantContextParams as RawToolkitRetrieveScopesGrantContextParams,
10 + type ToolkitRetrieveScopesGrantContextResponse as RawToolkitRetrieveScopesGrantContextResponse,
11 } from '@composio/client/resources/toolkits';
7 -
8 -// The `/toolkits/multi` and `/toolkits/changelog` response types are only
9 -// reachable through the resource class namespace on the published subpath.
10 -type RawToolkitRetrieveChangelogResponse = ClientToolkits.ToolkitRetrieveChangelogResponse;
11 -type RawToolkitRetrieveMultiResponse = ClientToolkits.ToolkitRetrieveMultiResponse;
12 -type RawToolkitRecommendScopesParams = ClientToolkits.ToolkitRecommendScopesParams;
13 -type RawToolkitRecommendScopesResponse = ClientToolkits.ToolkitRecommendScopesResponse;
14 -type RawToolkitRetrieveScopesGrantContextParams =
15 - ClientToolkits.ToolkitRetrieveScopesGrantContextParams;
16 -type RawToolkitRetrieveScopesGrantContextResponse =
17 - ClientToolkits.ToolkitRetrieveScopesGrantContextResponse;
12 import {
13 ToolKitListResponse,
14 ToolKitListResponseSchema,
ts/packages/core/src/utils/transformers/triggers.ts
+1 -1
@@ -2,7 +2,7 @@ import {
2 TriggersTypeRetrieveResponse as RawTriggersTypeRetrieveResponse,
3 TriggersTypeListResponse as RawTriggersTypeListResponse,
4 } from '@composio/client/resources/triggers-types';
5 -import { TriggerInstanceListActiveResponse as RawTriggerInstanceListActiveResponse } from '@composio/client/resources/index';
5 +import { TriggerInstanceListActiveResponse as RawTriggerInstanceListActiveResponse } from '@composio/client/resources/trigger-instances';
6 import {
7 IncomingTriggerPayload,
8 IncomingTriggerPayloadSchema,
ts/packages/core/test/connectedAccounts/connectedAccounts.test.ts
+1 -1
@@ -3,7 +3,7 @@ import { mockClient } from '../utils/mocks/client.mock';
3 import { ConnectedAccounts } from '../../src/models/ConnectedAccounts';
4 import { Experimental } from '../../src/models/Experimental';
5 import ComposioClient from '@composio/client';
6 -import { ConnectedAccountRetrieveResponse } from '@composio/client/resources/connected-accounts.mjs';
6 +import { ConnectedAccountRetrieveResponse } from '@composio/client/resources/connected-accounts';
7 import {
8 ComposioAclOnlyForSharedError,
9 ComposioConnectedAccountNotFoundError,
ts/packages/core/type-tests/session-configs.test-d.ts
+3 -1
@@ -48,7 +48,9 @@ function policyMatchesClient(
48 }
49
50 // Every client list item field has a camelCased SDK counterpart.
51 -function summaryMatchesClient(item: SessionConfigsListResponse.Item): SessionConfigSummary {
51 +function summaryMatchesClient(
52 + item: SessionConfigsListResponse['items'][number]
53 +): SessionConfigSummary {
54 return {
55 id: item.id,
56 name: item.name,
uv.lock
+9 -9
@@ -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.0rc19" },
809 + { name = "composio-client", specifier = "==2.0.0rc20" },
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.0rc19"
860 +version = "2.0.0rc20"
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/3c/b0/892c075f29639ae235aed971654ace1295363700f6e722795909bd3a9b43/composio_client-2.0.0rc19.tar.gz", hash = "sha256:565f76236c0fcaece194935fd3e88c73a9fb0250e2d93630fda2abddc0ac807c", size = 632179, upload-time = "2026-10-16T00:41:29.118Z" }
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" }
868 wheels = [
869 - { url = "https://files.pythonhosted.org/packages/07/7c/85936107e4353b069a150c830b124df7f092a9af4e5da718ea659ca61581/composio_client-2.0.0rc19-py3-none-any.whl", hash = "sha256:5e93220fd5188b46d05f0e2685d16b59a951ed281754fa3e3338661f22ac3113", size = 452798, upload-time = "2026-10-16T00:41:27.202Z" },
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" },
870 ]
871
872 [[package]]
@@ -1803,8 +1803,8 @@ name = "httpcore2"
1803 version = "2.13.0"
1804 source = { registry = "https://pypi.org/simple" }
1805 dependencies = [
1806 - { name = "h11", marker = "python_full_version != '3.12.*' or sys_platform != 'emscripten'" },
1807 - { name = "truststore", marker = "python_full_version != '3.12.*' or sys_platform != 'emscripten'" },
1806 + { name = "h11" },
1807 + { name = "truststore" },
1808 ]
1809 sdist = { url = "https://files.pythonhosted.org/packages/15/8c/e925b1c92018abb3a1863ce1549d76d2381e334d21d65d4ac8f65dabd78a/httpcore2-2.13.0.tar.gz", hash = "sha256:2adc8be4fb285fbcd6d894298db3b52c177e74b6674eda3a76bd36be3292a3db", size = 67740, upload-time = "2026-09-14T14:18:04.717Z" }
1810 wheels = [
@@ -2043,7 +2043,7 @@ name = "importlib-metadata"
2043 version = "9.0.1"
2044 source = { registry = "https://pypi.org/simple" }
2045 dependencies = [
2046 - { name = "zipp", marker = "python_full_version < '3.12'" },
2046 + { name = "zipp" },
2047 ]
2048 sdist = { url = "https://files.pythonhosted.org/packages/6f/7e/1e7e8dc30634b93ebb3d58a3dea569ad146e656218d3960ab04f62047b29/importlib_metadata-9.0.1.tar.gz", hash = "sha256:ab830580bc0ef3db61ce8fae716389e5462b67e033018bab6d8f80ef17172f99", size = 59124, upload-time = "2026-08-28T15:30:34.646Z" }
2049 wheels = [
@@ -4924,8 +4924,8 @@ name = "secretstorage"
4924 version = "3.5.0"
4925 source = { registry = "https://pypi.org/simple" }
4926 dependencies = [
4927 - { name = "cryptography", marker = "python_full_version != '3.12.*' or sys_platform != 'emscripten'" },
4928 - { name = "jeepney", marker = "python_full_version != '3.12.*' or sys_platform != 'emscripten'" },
4927 + { name = "cryptography" },
4928 + { name = "jeepney" },
4929 ]
4930 sdist = { url = "https://files.pythonhosted.org/packages/1c/03/e834bcd866f2f8a49a85eaff47340affa3bfa391ee9912a952a1faa68c7b/secretstorage-3.5.0.tar.gz", hash = "sha256:f04b8e4689cbce351744d5537bf6b1329c6fc68f91fa666f60a380edddcd11be", size = 19884, upload-time = "2025-11-23T19:02:53.191Z" }
4931 wheels = [