Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
chore(py): prepare 0.18.0 release (#3825)
Alberto Schiabelfacd40258cf0
diff --git a/docs/content/changelog/07-16-26-python-sdk-018.mdx b/docs/content/changelog/07-16-26-python-sdk-018.mdxnew file mode 100644index 000000000..a34cf759d--- /dev/null+++ b/docs/content/changelog/07-16-26-python-sdk-018.mdx@@ -0,0 +1,41 @@+---+title: 'Python SDK 0.18.0 hardens file uploads and provider schemas'+description: 'Python SDK 0.18.0 blocks unsafe URL file inputs, redacts secrets from telemetry, aligns trigger connection resolution, and improves provider schema compatibility.'+date: '2026-07-16'+---++Python SDK `composio` `0.18.0` closes URL-upload and telemetry exposure paths, aligns trigger creation with the current backend contract, and improves provider compatibility with modern tool schemas. All Python provider packages are also aligned at `0.18.0`.++### SDK versions++| SDK | Version |+| ----------------- | -------- |+| Python `composio` | `0.18.0` |++### File and telemetry security++- `FileUploadable.from_url()` and Tool Router session-file imports now accept only HTTP(S) hosts whose resolved addresses are public. Redirects are rejected, and blocked inputs raise `BlockedInternalUrlError`.+- Error telemetry now applies best-effort redaction to error messages and stack traces before transport, covering URL queries, bearer and basic credentials, and recognized secret-like key-value pairs.++### Trigger creation++`triggers.create()` now sends `user_id` to the backend rather than listing connected accounts in the SDK. When no `connected_account_id` is supplied, the backend selects the most recently created active connection for the user and toolkit. Self-hosted deployments need the backend version that supports this resolution.++Invalid trigger slugs now raise `TriggerTypeNotFound`. Omitting both `user_id` and `connected_account_id`, or passing blank values for both, raises `InvalidParams`. When the supplied user has no matching active connection, the backend upsert error now surfaces instead of the SDK raising `NoItemsFound` locally.++### Provider and schema compatibility++- OpenAI provider tool-call handling now executes every call from the first assistant choice, including multiple calls returned in one response.+- Tool signature generation accepts list-valued JSON Schema types, unbounded `anyOf` and `oneOf` options, and title-less top-level schemas.+- LangChain, LangGraph, and AutoGen provider signatures now honor the configured `skip_default` value.+- The OpenAI Agents provider preserves valid array-item schemas instead of coercing type-less items to strings.+- Toolkit version pins are case-insensitive in both environment variables and user-provided mappings.++### AutoGen dependency++<Callout type="warn">+**Compatibility change**++`composio-autogen` now depends on `ag2` instead of the abandoned `pyautogen` package. Update dependency constraints or lockfiles that explicitly require `pyautogen` before upgrading.++</Callout>diff --git a/python/Makefile b/python/Makefileindex 91c4b12ab..6734fba07 100644--- a/python/Makefile+++ b/python/Makefile@@ -1,8 +1,10 @@.PHONY: clean-build sync provider create-provider env fmt chk snt tst type_inference dead-code bump build format check sanity test+PROVIDER_DIRS := $(patsubst %/,%,$(sort $(dir $(wildcard providers/*/pyproject.toml))))+clean-build:@rm -rf dist/ build/- @for provider in $(shell ls -d providers/*); do\+ @set -e; for provider in $(PROVIDER_DIRS); do\rm -rf build $$provider/dist $$provider/build;\done@@ -11,7 +13,7 @@ sync:@uv pip install -e .provider:- @for provider in $(shell ls -d providers/*); do\+ @set -e; for provider in $(PROVIDER_DIRS); do\uv pip install $$provider;\done@@ -76,7 +78,7 @@ bump: clean-buildbuild: clean-build@./.venv/bin/python -m build- @for provider in $(shell ls -d providers/*); do\+ @set -e; for provider in $(PROVIDER_DIRS); do\./.venv/bin/python -m build $$provider;\cp $$provider/dist/* dist/;\donediff --git a/python/composio/__version__.py b/python/composio/__version__.pyindex c6eae9f8a..1317d7554 100644--- a/python/composio/__version__.py+++ b/python/composio/__version__.py@@ -1 +1 @@-__version__ = "0.17.1"+__version__ = "0.18.0"diff --git a/python/providers/anthropic/pyproject.toml b/python/providers/anthropic/pyproject.tomlindex af384e3c0..6aca99b33 100644--- a/python/providers/anthropic/pyproject.toml+++ b/python/providers/anthropic/pyproject.toml@@ -1,6 +1,6 @@[project]name = "composio-anthropic"-version = "0.17.1"+version = "0.18.0"description = "Use Composio to get an array of tools with your Anthropic LLMs."readme = "README.md"requires-python = ">=3.10,<4"diff --git a/python/providers/anthropic/setup.py b/python/providers/anthropic/setup.pyindex 8d85975da..44411c9e7 100644--- a/python/providers/anthropic/setup.py+++ b/python/providers/anthropic/setup.py@@ -8,7 +8,7 @@ from setuptools import setupsetup(name="composio_anthropic",- version="0.17.1",+ version="0.18.0",author="Composio",author_email="[email protected]",description="Use Composio to get an array of tools with your Anthropic LLMs.",diff --git a/python/providers/autogen/pyproject.toml b/python/providers/autogen/pyproject.tomlindex 80a8d455f..1fb067fac 100644--- a/python/providers/autogen/pyproject.toml+++ b/python/providers/autogen/pyproject.toml@@ -1,6 +1,6 @@[project]name = "composio-autogen"-version = "0.17.1"+version = "0.18.0"description = "Use Composio to get an array of tools with your autogen agent."readme = "README.md"requires-python = ">=3.10,<4"diff --git a/python/providers/autogen/setup.py b/python/providers/autogen/setup.pyindex 10d802c2e..c8b7f4894 100644--- a/python/providers/autogen/setup.py+++ b/python/providers/autogen/setup.py@@ -8,7 +8,7 @@ from setuptools import setupsetup(name="composio_autogen",- version="0.17.1",+ version="0.18.0",author="Composio",author_email="[email protected]",description="Use Composio to get an array of tools with your Autogen agent.",diff --git a/python/providers/claude_agent_sdk/pyproject.toml b/python/providers/claude_agent_sdk/pyproject.tomlindex 4e9dcf39b..a207a6f38 100644--- a/python/providers/claude_agent_sdk/pyproject.toml+++ b/python/providers/claude_agent_sdk/pyproject.toml@@ -1,6 +1,6 @@[project]name = "composio-claude-agent-sdk"-version = "0.17.1"+version = "0.18.0"description = "Use Composio to get an array of tools with Claude Code Agents SDK."readme = "README.md"requires-python = ">=3.10,<4"diff --git a/python/providers/claude_agent_sdk/setup.py b/python/providers/claude_agent_sdk/setup.pyindex a6fa9b24b..2f3f1aacd 100644--- a/python/providers/claude_agent_sdk/setup.py+++ b/python/providers/claude_agent_sdk/setup.py@@ -8,7 +8,7 @@ from setuptools import find_packages, setupsetup(name="composio_claude_agent_sdk",- version="0.17.1",+ version="0.18.0",author="Composio",author_email="[email protected]",description="Use Composio to get array of tools for Claude Agent SDK",diff --git a/python/providers/crewai/pyproject.toml b/python/providers/crewai/pyproject.tomlindex 77e001014..f42f6aaa1 100644--- a/python/providers/crewai/pyproject.toml+++ b/python/providers/crewai/pyproject.toml@@ -1,6 +1,6 @@[project]name = "composio-crewai"-version = "0.17.1"+version = "0.18.0"description = "Use Composio to get an array of tools with your CrewAI agent."readme = "README.md"requires-python = ">=3.10,<4"diff --git a/python/providers/crewai/setup.py b/python/providers/crewai/setup.pyindex cd2a937f9..4e8ce0584 100644--- a/python/providers/crewai/setup.py+++ b/python/providers/crewai/setup.py@@ -6,7 +6,7 @@ from setuptools import setupsetup(name="composio_crewai",- version="0.17.1",+ version="0.18.0",author="Composio",author_email="[email protected]",description="Use Composio to get an array of tools with your CrewAI agent.",diff --git a/python/providers/gemini/pyproject.toml b/python/providers/gemini/pyproject.tomlindex d7d5cba62..0854fe1be 100644--- a/python/providers/gemini/pyproject.toml+++ b/python/providers/gemini/pyproject.toml@@ -1,6 +1,6 @@[project]name = "composio-gemini"-version = "0.17.1"+version = "0.18.0"description = "Use Composio to get an array of tools with your Gemini agent."readme = "README.md"requires-python = ">=3.10,<4"diff --git a/python/providers/gemini/setup.py b/python/providers/gemini/setup.pyindex e2370fe2c..a7241ccee 100644--- a/python/providers/gemini/setup.py+++ b/python/providers/gemini/setup.py@@ -8,7 +8,7 @@ from setuptools import setupsetup(name="composio_gemini",- version="0.17.1",+ version="0.18.0",author="Composio",author_email="[email protected]",description="Use Composio to get an array of tools with your Gemini agent.",diff --git a/python/providers/google/pyproject.toml b/python/providers/google/pyproject.tomlindex 12bdcdc5a..641c37512 100644--- a/python/providers/google/pyproject.toml+++ b/python/providers/google/pyproject.toml@@ -1,6 +1,6 @@[project]name = "composio-google"-version = "0.17.1"+version = "0.18.0"description = "Use Composio to get an array of tools with your Google AI Python Gemini model."readme = "README.md"requires-python = ">=3.10,<4"diff --git a/python/providers/google/setup.py b/python/providers/google/setup.pyindex 095ec3595..28fe40989 100644--- a/python/providers/google/setup.py+++ b/python/providers/google/setup.py@@ -8,7 +8,7 @@ from setuptools import setupsetup(name="composio_google",- version="0.17.1",+ version="0.18.0",author="Composio",author_email="[email protected]",description="Use Composio to get an array of tools with your Google AI Python Gemini model.",diff --git a/python/providers/google_adk/pyproject.toml b/python/providers/google_adk/pyproject.tomlindex 5a5b6d94b..53572b778 100644--- a/python/providers/google_adk/pyproject.toml+++ b/python/providers/google_adk/pyproject.toml@@ -1,6 +1,6 @@[project]name = "composio-google-adk"-version = "0.17.1"+version = "0.18.0"description = "Use Composio to get an array of tools with your Google AI Python Gemini model."readme = "README.md"requires-python = ">=3.10,<4"diff --git a/python/providers/google_adk/setup.py b/python/providers/google_adk/setup.pyindex 7fb9915e2..a13607903 100644--- a/python/providers/google_adk/setup.py+++ b/python/providers/google_adk/setup.py@@ -8,7 +8,7 @@ from setuptools import setupsetup(name="composio_google_adk",- version="0.17.1",+ version="0.18.0",author="Composio",author_email="[email protected]",description="Use Composio to get an array of tools with your Google AI Python Gemini model.",diff --git a/python/providers/langchain/pyproject.toml b/python/providers/langchain/pyproject.tomlindex 9ee6f4084..cbe128c0d 100644--- a/python/providers/langchain/pyproject.toml+++ b/python/providers/langchain/pyproject.toml@@ -1,6 +1,6 @@[project]name = "composio-langchain"-version = "0.17.1"+version = "0.18.0"description = "Use Composio to get an array of tools with your Langchain agent."readme = "README.md"requires-python = ">=3.10,<4"diff --git a/python/providers/langchain/setup.py b/python/providers/langchain/setup.pyindex 1c8ab88b7..2309abfec 100644--- a/python/providers/langchain/setup.py+++ b/python/providers/langchain/setup.py@@ -8,7 +8,7 @@ from setuptools import setupsetup(name="composio_langchain",- version="0.17.1",+ version="0.18.0",author="composio",author_email="[email protected]",description="Use Composio to get an array of tools with your Langchain agent.",diff --git a/python/providers/langgraph/pyproject.toml b/python/providers/langgraph/pyproject.tomlindex 2f2dc2786..adfd868ec 100644--- a/python/providers/langgraph/pyproject.toml+++ b/python/providers/langgraph/pyproject.toml@@ -1,6 +1,6 @@[project]name = "composio-langgraph"-version = "0.17.1"+version = "0.18.0"description = "Use Composio to get array of tools with LangGraph Agent Workflows."readme = "README.md"requires-python = ">=3.10,<4"diff --git a/python/providers/langgraph/setup.py b/python/providers/langgraph/setup.pyindex a91191187..d12ef3b2a 100644--- a/python/providers/langgraph/setup.py+++ b/python/providers/langgraph/setup.py@@ -8,7 +8,7 @@ from setuptools import setupsetup(name="composio_langgraph",- version="0.17.1",+ version="0.18.0",author="composio",author_email="[email protected]",description="Use Composio to get array of tools with LangGraph Agent Workflows",diff --git a/python/providers/llamaindex/pyproject.toml b/python/providers/llamaindex/pyproject.tomlindex a6e7b2120..8224d3418 100644--- a/python/providers/llamaindex/pyproject.toml+++ b/python/providers/llamaindex/pyproject.toml@@ -1,6 +1,6 @@[project]name = "composio-llamaindex"-version = "0.17.1"+version = "0.18.0"description = "Use Composio to get array of tools with LlamaIndex Agent Workflows."readme = "README.md"requires-python = ">=3.10,<4"diff --git a/python/providers/llamaindex/setup.py b/python/providers/llamaindex/setup.pyindex 6cdaa8d32..2500809b7 100644--- a/python/providers/llamaindex/setup.py+++ b/python/providers/llamaindex/setup.py@@ -8,7 +8,7 @@ from setuptools import setupsetup(name="composio_llamaindex",- version="0.17.1",+ version="0.18.0",author="composio",author_email="[email protected]",description="Use Composio to get array of tools with LlamaIndex Agent Workflows",diff --git a/python/providers/openai/pyproject.toml b/python/providers/openai/pyproject.tomlindex a3c4f9385..8890943aa 100644--- a/python/providers/openai/pyproject.toml+++ b/python/providers/openai/pyproject.toml@@ -1,6 +1,6 @@[project]name = "composio-openai"-version = "0.17.1"+version = "0.18.0"description = "Use Composio to get an array of tools with your OpenAI Function Call."readme = "README.md"requires-python = ">=3.10,<4"diff --git a/python/providers/openai/setup.py b/python/providers/openai/setup.pyindex fa6770b20..1cfcf3316 100644--- a/python/providers/openai/setup.py+++ b/python/providers/openai/setup.py@@ -8,7 +8,7 @@ from setuptools import setupsetup(name="composio_openai",- version="0.17.1",+ version="0.18.0",author="Composio",author_email="[email protected]",description="Use Composio to get an array of tools with your OpenAI Function Call.",diff --git a/python/providers/openai_agents/pyproject.toml b/python/providers/openai_agents/pyproject.tomlindex 97d05359f..7627242e2 100644--- a/python/providers/openai_agents/pyproject.toml+++ b/python/providers/openai_agents/pyproject.toml@@ -1,6 +1,6 @@[project]name = "composio-openai-agents"-version = "0.17.1"+version = "0.18.0"description = "Use Composio to get array of strongly typed tools for OpenAI Agents"readme = "README.md"requires-python = ">=3.10,<4"diff --git a/python/providers/openai_agents/setup.py b/python/providers/openai_agents/setup.pyindex 29842897b..a815bb206 100644--- a/python/providers/openai_agents/setup.py+++ b/python/providers/openai_agents/setup.py@@ -8,7 +8,7 @@ from setuptools import find_packages, setupsetup(name="composio_openai_agents",- version="0.17.1",+ version="0.18.0",author="Composio",author_email="[email protected]",description="Use Composio to get array of strongly typed tools for OpenAI Agents",diff --git a/python/pyproject.toml b/python/pyproject.tomlindex dce4e229a..72994cc40 100644--- a/python/pyproject.toml+++ b/python/pyproject.toml@@ -1,6 +1,6 @@[project]name = "composio"-version = "0.17.1"+version = "0.18.0"description = "SDK for integrating Composio with your applications."readme = "README.md"requires-python = ">=3.10,<4"diff --git a/test/release-workflow.test.ts b/test/release-workflow.test.tsindex eb62ce5c6..3189fcc12 100644--- a/test/release-workflow.test.ts+++ b/test/release-workflow.test.ts@@ -14,6 +14,9 @@ import { join } from 'node:path';import { spawnSync } from 'node:child_process';const packageJson = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8'));+const tsCorePackageJson = JSON.parse(+ readFileSync(new URL('../ts/packages/core/package.json', import.meta.url), 'utf8')+);const changesetConfig = JSON.parse(readFileSync(new URL('../.changeset/config.json', import.meta.url), 'utf8'));@@ -26,6 +29,11 @@ const pythonRuntimeVersionModule = readFileSync(new URL('../python/composio/__version__.py', import.meta.url),'utf8');+const pythonReleaseWorkflow = readFileSync(+ new URL('../.github/workflows/py.release.yml', import.meta.url),+ 'utf8'+);+const pythonMakefilePath = new URL('../python/Makefile', import.meta.url).pathname;const changesetBinPath = new URL('../node_modules/.bin/changeset', import.meta.url).pathname;const releaseScriptUrl = new URL('../ts/scripts/changeset-release.sh', import.meta.url);const releaseScriptPath = releaseScriptUrl.pathname;@@ -65,7 +73,7 @@ function readPyprojectVersion(text, label) {return requireMatch(text, /^\s*version\s*=\s*"([^"]+)"\s*$/m, label);}-function readPythonSdkVersions(rows) {+function readSdkVersions(rows) {const versions = new Set();const pythonVersionPattern =/\bv?(\d+(?:\.\d+)+(?:[._-]?(?:a|b|c|rc|alpha|beta|pre|preview)\d*)?(?:[._-]?(?:post|rev|r)\d*)?(?:[._-]?dev\d*)?(?:\+[a-z0-9]+(?:[._-][a-z0-9]+)*)?)\b/gi;@@ -83,29 +91,135 @@ function readPythonSdkVersions(rows) {return versions;}-function readDocumentedPythonSdkVersions() {+function escapeRegExp(value) {+ return value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');+}++function readDocumentedSdkVersions(sdkLabel) {const changelogDir = new URL('../docs/content/changelog/', import.meta.url);+ const rowPattern = new RegExp(`^\\|\\s*${escapeRegExp(sdkLabel)}\\s*\\|.*$`, 'gm');const rows = [];for (const entry of readdirSync(changelogDir, { withFileTypes: true })) {if (!entry.isFile() || !entry.name.endsWith('.mdx')) continue;- const source = readFileSync(new URL(`../docs/content/changelog/${entry.name}`, import.meta.url), 'utf8');- rows.push(...(source.match(/^\|\s*Python `composio`\s*\|.*$/gm) ?? []));+ const source = readFileSync(+ new URL(`../docs/content/changelog/${entry.name}`, import.meta.url),+ 'utf8'+ );+ rows.push(...(source.match(rowPattern) ?? []));}- return readPythonSdkVersions(rows);+ return readSdkVersions(rows);+}++function runPythonBuildFixture({ providers, providerFiles = [], failingProvider = '' }) {+ const fixtureDir = mkdtempSync(join(tmpdir(), 'composio-python-build-'));+ const buildLogPath = join(fixtureDir, 'build.log');++ try {+ mkdirSync(join(fixtureDir, '.venv/bin'), { recursive: true });+ mkdirSync(join(fixtureDir, 'providers'), { recursive: true });+ writeFileSync(buildLogPath, '');++ const fakePythonPath = join(fixtureDir, '.venv/bin/python');+ writeFileSync(+ fakePythonPath,+ `#!/usr/bin/env bash+set -euo pipefail+target="\${3:-}"+printf '%s\n' "\${target:-<root>}" >> "$BUILD_LOG"++if [[ -z "$target" ]]; then+ mkdir -p dist+ touch dist/root.whl+ exit 0+fi++target="\${target%/}"+if [[ "$target" == "$FAILING_PROVIDER" ]]; then+ exit 23+fi++mkdir -p "$target/dist"+touch "$target/dist/provider.whl"+`+ );+ chmodSync(fakePythonPath, 0o755);++ for (const provider of providers) {+ const providerDir = join(fixtureDir, 'providers', provider);+ mkdirSync(providerDir, { recursive: true });+ writeFileSync(join(providerDir, 'pyproject.toml'), '[build-system]\n');+ }+ for (const providerFile of providerFiles) {+ writeFileSync(join(fixtureDir, 'providers', providerFile), 'not a provider package\n');+ }++ const result = spawnSync('make', ['-f', pythonMakefilePath, 'build'], {+ cwd: fixtureDir,+ encoding: 'utf8',+ env: {+ ...process.env,+ BUILD_LOG: buildLogPath,+ FAILING_PROVIDER: failingProvider ? `providers/${failingProvider}` : '',+ },+ });++ return {+ ...result,+ invocations: readFileSync(buildLogPath, 'utf8').trim().split('\n'),+ };+ } finally {+ rmSync(fixtureDir, { recursive: true, force: true });+ }}{- const directVersion = readPythonSdkVersions(['| Python `composio` | `9.9.9` |']);- const versionWithPrevious = readPythonSdkVersions([+ const result = runPythonBuildFixture({+ providers: ['valid'],+ providerFiles: ['AGENTS.md'],+ });++ if (result.status !== 0) {+ throw new Error(+ `Python package build fixture failed unexpectedly\nstdout:\n${result.stdout}\nstderr:\n${result.stderr}`+ );+ }+ if (result.invocations.includes('providers/AGENTS.md')) {+ throw new Error('Python package build must skip non-provider files under python/providers');+ }+ if (!result.invocations.includes('providers/valid')) {+ throw new Error('Python package build must include provider directories with pyproject.toml');+ }+}++{+ const result = runPythonBuildFixture({+ providers: ['a-failing', 'z-valid'],+ failingProvider: 'a-failing',+ });++ if (result.status === 0) {+ throw new Error('Python package build must fail when a provider build fails');+ }+ if (!result.invocations.includes('providers/a-failing')) {+ throw new Error('Python package build fixture did not exercise the failing provider');+ }+ if (result.invocations.includes('providers/z-valid')) {+ throw new Error('Python package build must stop after the first provider failure');+ }+}++{+ const directVersion = readSdkVersions(['| Python `composio` | `9.9.9` |']);+ const versionWithPrevious = readSdkVersions(['| Python `composio` | v9.9.8 | **v9.9.9** |',]);- const previousVersionOnly = readPythonSdkVersions([+ const previousVersionOnly = readSdkVersions(['| Python `composio` | v9.9.9 | **v9.9.10** |',]);- const pep440Versions = readPythonSdkVersions([+ const pep440Versions = readSdkVersions(['| Python `composio` | `9.9.9rc1` |','| Python `composio` | `9.9.9.post1` |','| Python `composio` | `9.9.9.dev1` |',@@ -147,6 +261,10 @@ if (// --- Python release metadata: package version, runtime version, and docs changelog must agree ---+if (!pythonReleaseWorkflow.includes('run: pnpm test:release-workflow')) {+ throw new Error('py.release.yml must validate release metadata before publishing');+}+{const pythonVersion = readPyprojectVersion(pythonPyproject, 'python/pyproject.toml version');const runtimeVersion = requireMatch(@@ -161,7 +279,7 @@ if ();}- const documentedPythonVersions = readDocumentedPythonSdkVersions();+ const documentedPythonVersions = readDocumentedSdkVersions('Python `composio`');if (!documentedPythonVersions.has(pythonVersion)) {throw new Error(`docs/content/changelog must document the current Python package version (${pythonVersion})`@@ -177,23 +295,25 @@ if (import.meta.url);const setupPath = new URL(`../python/providers/${entry.name}/setup.py`, import.meta.url);- if (!existsSync(pyprojectPath) || !existsSync(setupPath)) continue;+ if (!existsSync(pyprojectPath)) continue;const providerPyprojectVersion = readPyprojectVersion(readFileSync(pyprojectPath, 'utf8'),`python/providers/${entry.name}/pyproject.toml version`);- const providerSetupVersion = requireMatch(- readFileSync(setupPath, 'utf8'),- /version\s*=\s*"([^"]+)"/,- `python/providers/${entry.name}/setup.py version`- );-if (providerPyprojectVersion !== pythonVersion) {throw new Error(`python/providers/${entry.name}/pyproject.toml must match python/pyproject.toml (${providerPyprojectVersion} !== ${pythonVersion})`);}++ if (!existsSync(setupPath)) continue;++ const providerSetupVersion = requireMatch(+ readFileSync(setupPath, 'utf8'),+ /version\s*=\s*"([^"]+)"/,+ `python/providers/${entry.name}/setup.py version`+ );if (providerSetupVersion !== pythonVersion) {throw new Error(`python/providers/${entry.name}/setup.py must match python/pyproject.toml (${providerSetupVersion} !== ${pythonVersion})`@@ -202,6 +322,15 @@ if (}}+{+ const documentedTsCoreVersions = readDocumentedSdkVersions('TypeScript `@composio/core`');+ if (!documentedTsCoreVersions.has(tsCorePackageJson.version)) {+ throw new Error(+ `docs/content/changelog must document the current TypeScript core package version (${tsCorePackageJson.version})`+ );+ }+}+if (!releaseScript.includes('pnpm changeset publish')) {throw new Error('release script must still publish non-CLI changeset packages');}diff --git a/uv.lock b/uv.lockindex d2c715844..1becd362a 100644--- a/uv.lock+++ b/uv.lock@@ -711,7 +711,7 @@ wheels = [[[package]]name = "composio"-version = "0.17.1"+version = "0.18.0"source = { editable = "python" }dependencies = [{ name = "composio-client" },@@ -768,7 +768,7 @@ dev = [[[package]]name = "composio-anthropic"-version = "0.17.1"+version = "0.18.0"source = { editable = "python/providers/anthropic" }dependencies = [{ name = "anthropic" },@@ -800,7 +800,7 @@ wheels = [[[package]]name = "composio-crewai"-version = "0.17.1"+version = "0.18.0"source = { editable = "python/providers/crewai" }dependencies = [{ name = "composio" },@@ -815,7 +815,7 @@ requires-dist = [[[package]]name = "composio-gemini"-version = "0.17.1"+version = "0.18.0"source = { virtual = "python/providers/gemini" }dependencies = [{ name = "composio" },@@ -830,7 +830,7 @@ requires-dist = [[[package]]name = "composio-google"-version = "0.17.1"+version = "0.18.0"source = { editable = "python/providers/google" }dependencies = [{ name = "composio" },@@ -845,7 +845,7 @@ requires-dist = [[[package]]name = "composio-google-adk"-version = "0.17.1"+version = "0.18.0"source = { editable = "python/providers/google_adk" }dependencies = [{ name = "composio" },@@ -860,7 +860,7 @@ requires-dist = [[[package]]name = "composio-langchain"-version = "0.17.1"+version = "0.18.0"source = { editable = "python/providers/langchain" }dependencies = [{ name = "composio" },@@ -875,7 +875,7 @@ requires-dist = [[[package]]name = "composio-openai"-version = "0.17.1"+version = "0.18.0"source = { editable = "python/providers/openai" }dependencies = [{ name = "composio" },@@ -890,7 +890,7 @@ requires-dist = [[[package]]name = "composio-openai-agents"-version = "0.17.1"+version = "0.18.0"source = { editable = "python/providers/openai_agents" }dependencies = [{ name = "composio" },