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, 03:37 UTC
| 1 | --- |
| 2 | title: 'Python SDK 0.25.0 and TypeScript SDK 0.22.0 align Instant Sessions' |
| 3 | description: 'Use Instant account selection and charge details in both SDKs, with Session-aware provider helpers and connection fixes.' |
| 4 | date: '2026-09-29' |
| 5 | --- |
| 6 | |
| 7 | Both SDKs now use the Instant Session and account contracts. Tool execution and usage responses expose exact Instant charges, and provider helpers can execute tools through a supplied Tool Router Session. |
| 8 | |
| 9 | ### Release versions |
| 10 | |
| 11 | | SDK | Version | |
| 12 | | --------------------------- | -------- | |
| 13 | | Python `composio` | `0.25.0` | |
| 14 | | TypeScript `@composio/core` | `0.22.0` | |
| 15 | | TypeScript `@composio/slim` | `0.22.0` | |
| 16 | |
| 17 | ### Instant Sessions and charges |
| 18 | |
| 19 | - Configure Instant access with `instant` and request execution charge details with `instant.returnInstantCharge` in TypeScript or `instant.return_instant_charge` in Python. The former `premium_usage` and `return_premium_charge` names are replaced by the Instant contract. |
| 20 | - Read `instantCharge` in TypeScript or `instant_charge` in Python from Session execution results. Project usage summaries expose the exact USD amount as a string; charged tool logs include `metadata.instant_charge`. |
| 21 | - Select an Instant account with `instant_account` in the Session API contract. Session search results describe available Instant tools through `instantAccount` in TypeScript or `instant_account` in Python. |
| 22 | |
| 23 | ### Provider helpers and fixes |
| 24 | |
| 25 | - Google, Cloudflare, and OpenAI Responses helpers in TypeScript, and the Google Gemini helper in Python, accept a Tool Router Session for execution. Existing user ID calls continue to use direct execution. |
| 26 | - TypeScript `ConnectionRequest.status` now follows the result of `waitForConnection()`, and telemetry records calls to `waitForConnection()`. |
| 27 | - The OpenAI provider no longer includes Assistants API helpers. Move Assistants integrations to the Responses API and `OpenAIResponsesProvider` from `@composio/openai`. |