Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
refactor(sdk): share session execution types and result handling (#5256)
This PR: - removes the cast-only inline local-tool payload adapters from both SDKs, letting generated client contracts check each call directly - derives Python's inline payload type from the generated client instead of maintaining a narrower duplicate TypedDict - runs Python `execute_meta()` results through the shared execution normalizer, removing an intermediate model construction and duplicate blocked-result handling - preserves public methods, wire payloads, input-required errors, hook results, charges, cancellation, and retry controls; adds a patch Changeset for the SDK packages ## How Has This Been Tested? - TypeScript core suite: 2,016 passed, with two expected failures; source and public API type checks passed through `bun run turbo run test --filter=@composio/core` and `bun run turbo run typecheck --filter=@composio/core`. - `pnpm --filter @composio/core build`: passed, including package type validation and publint. - `nox -r -s chk tst` in `python/` on Python 3.14.6: Ruff and mypy passed; 2,664 core tests and 39 provider tests passed, with 32 skipped core tests. - Python sdist and wheel builds passed; a smoke check imported the built wheel and normalized a meta-tool result. - Focused TypeScript lint and formatting checks, Python formatting checks, Changeset validation, and `git diff --check` passed. No tests were added or removed: behavior is unchanged, and existing contract tests cover local-tool forwarding, session execution, blocked results, and input requests. Validation is local; live API behavior was not exercised.