Skip to content

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

21.4 KB
Raw Blame

@composio/cloudflare

0.10.2

Patch Changes

  • db7b576: Declare Node.js 22.22.3 as the minimum supported runtime for every published TypeScript package so package managers surface incompatible runtimes before users encounter ESM loading failures.

0.10.1

Patch Changes

  • 7125576: Normalize duplicate JSON Schema required entries before provider tool schemas are emitted.
  • fa933a6: Fix the homepage links in these packages' package.json. They pointed at github.com/ComposioHQ/composio/tree/main/..., but the default branch is next and no main branch exists, so every link 404'd on npm and in editor tooltips. They now point at tree/next/....

0.10.0

Minor Changes

  • 025a657: Drop CommonJS entrypoints and publish the TypeScript SDK packages as ESM-only packages. This is a breaking change within the existing 0.x release line: consumers must use Node.js 22.22.3 or newer. CommonJS callers can only rely on Node's native require(esm) interop, and the SDK no longer ships custom CommonJS compatibility machinery or .cjs artifacts.

0.9.3

Patch Changes

  • ce4b213: fix(providers): normalize string tool-call arguments across all providers

    Models occasionally emit tool-call arguments as a JSON string instead of an object (most visibly with COMPOSIO_MULTI_EXECUTE_TOOL on the Vercel AI SDK), which broke downstream validation with errors like tool_use.input: Input should be a valid dictionary.

    @composio/core now exposes a single normalizeToolArguments helper, and every provider routes model-supplied arguments through it. Object payloads pass through unchanged, JSON strings are parsed, empty/null payloads become {}, and anything that cannot resolve to an object throws a typed ComposioInvalidToolArgumentsError instead of a raw SyntaxError or a silently forwarded malformed string. This replaces the inconsistent per-provider guards that previously existed only in vercel, cloudflare and openai-agents.

0.9.2

Patch Changes

0.9.1

Patch Changes

0.9.0

Minor Changes

  • Bumped to align with @composio/[email protected] for the Tool Router release train. No public-API change in this provider package.

Patch Changes

  • Updated dependencies [c9b6525]
  • Updated dependencies [cc673b6]
  • Updated dependencies [9f14971]
  • Updated dependencies [81f8027]
  • Updated dependencies [711a703]
  • Updated dependencies [bccd32b]
  • Updated dependencies [bccd32b]
  • Updated dependencies [07c9bab]
  • Updated dependencies [3ece424]

0.8.1

Patch Changes

0.8.0

Minor Changes

  • Bumped to align with @composio/[email protected] for the file-upload allowlist release train. No public-API change in this package.

Patch Changes

0.6.11

Patch Changes

0.6.10

Patch Changes

0.6.9

Patch Changes

0.6.8

Patch Changes

0.6.7

Patch Changes

0.6.6

Patch Changes

0.6.5

Patch Changes

0.6.5-alpha.0

Patch Changes

0.6.4

Patch Changes

0.6.3

Patch Changes

0.6.2

Patch Changes

0.6.1

Patch Changes

0.6.0

Minor Changes

  • Breaking: Fixes for cloudflare support, webhook verification and other fixes

Patch Changes

0.5.5

Patch Changes

0.5.4

Patch Changes

0.5.3

Patch Changes

0.5.2

Patch Changes

0.5.1

Patch Changes

0.5.0

Minor Changes

  • d80f3e2: Bump core dependency to 0.5.0

0.4.0

Minor Changes

  • c7e1217: Add support for dedicated tools for tool router

Patch Changes

0.3.4

Patch Changes

0.3.3

Patch Changes

0.3.2

Patch Changes

0.3.1

Patch Changes

0.3.0

Patch Changes

0.2.7

Patch Changes

  • Updated dependencies [07551cd]
  • Updated dependencies [9e002c5]
  • Updated dependencies [f0e67c4]
  • Updated dependencies [31521bd]
  • Updated dependencies [9e002c5]

0.2.7-alpha.4

Patch Changes

0.2.7-alpha.3

Patch Changes

0.2.7-alpha.2

Patch Changes

0.2.7-alpha.1

Patch Changes

0.2.7-alpha.0

Patch Changes

0.2.6

Patch Changes

  • b5cc23f: Fix dangerously skip version check in non agentic providers, Throw error instead of process.exit when api key doesn't exist, bump zod-to-json-schema to 3.25.0, which supports "zod/3"
  • Updated dependencies [b5cc23f]

0.2.5

Patch Changes

0.2.4

Patch Changes

0.2.3

Patch Changes

0.2.2

Patch Changes

0.2.1

Patch Changes

0.2.0

Minor Changes

  • 157bf7b: ### Added

    • Version validation for manual tool execution: Tools now require explicit toolkit version specification when executing manually to prevent unexpected behavior from latest version changes
    • New dangerously_skip_version_check parameter (Python) / dangerouslySkipVersionCheck (TypeScript): Optional flag to bypass version validation (use with caution)
    • ToolVersionRequiredError exception (Python): Raised when attempting to execute tools with latest version without skip flag, includes helpful error messages with 4 possible fixes
    • ComposioToolVersionRequiredError error (TypeScript): Parallel implementation for TypeScript SDK with detailed error context and resolution suggestions
    • Comprehensive test coverage: Added 19 new test methods in Python covering all tool execution scenarios including version resolution, error handling, modifiers, and environment variables

    Changed

    • Tool execution behavior: Manual execution via tools.execute() now validates toolkit versions before API calls
    • Agentic provider flows: Automatically set dangerously_skip_version_check=True internally to maintain backward compatibility for framework integrations
    • Instance-level version resolution: Both execute() and _execute_tool() methods now consistently resolve versions from instance-level toolkit_versions configuration
    • Modifier support: Added dangerously_skip_version_check to modifier parameter types for complete flow coverage
    • Test version format: Updated all test files to use production date-based version format (20251201_XX) instead of semantic versioning

    Fixed

    • Consistent version handling: Removed toolkit_versions parameter from _execute_tool() in favor of instance-level configuration, ensuring consistent version resolution across the SDK
    • Code formatting: Applied ruff formatting to all modified Python files
    • Array parsing to ZodSchema: Fixes in json-schema-to-zod to parse array without properties and with properties

    Migration Guide

    When manually executing tools, you must now specify toolkit versions:

    Option 1: Pass explicit version parameter

    tools.execute("GITHUB_CREATE_ISSUE",
        arguments={...},
        version="20251201_01"
    )
    

    Option 2: Configure at SDK initialization

    tools = Tools(client, provider,
        toolkit_versions={"github": "20251201_01"}
    )
    

    Option 3: Use environment variables

    export COMPOSIO_TOOLKIT_VERSION_GITHUB=20251201_01
    

    Option 4: Skip validation (not recommended)

    tools.execute("GITHUB_CREATE_ISSUE",
        arguments={...},
        dangerously_skip_version_check=True
    )
    

    Developer Notes

    • Agentic framework integrations (LangChain, CrewAI, etc.) are not affected as they automatically use the skip flag
    • The latest version can still be used with the skip flag, but specific versions are strongly recommended
    • Error messages include all available resolution options for better developer experience

Patch Changes

0.1.55

Patch Changes

0.1.54

Patch Changes

0.1.53

Patch Changes

  • 9a1b0e9: - Adds the new experiemntal ToolRouter, Deprecates the existing MCP experience and adds the new MCP components.
    • The old MCP components can be accessed via deprecated.mcp until the next release, where it will get removed.
    • Fixes toolkits.list and toolkits.get methods to add description to connection fields
  • Updated dependencies [9a1b0e9]

0.1.52

Patch Changes

0.1.51

Patch Changes

0.1.50

Patch Changes

0.1.49

Patch Changes

0.1.48

Patch Changes

0.1.47

Patch Changes

0.1.46

Patch Changes

0.1.45

Patch Changes

0.1.44

Patch Changes

0.1.43

Patch Changes

0.1.42

Patch Changes

0.1.41

Patch Changes

0.1.40

Patch Changes

  • 1664c34: Fix auth config creation/updation methods to accept tool access configs
  • Updated dependencies [1664c34]

0.1.39

Patch Changes

  • Fix jsonSchema to zod parsing which used to eliminate min/max and examples proeperties
  • Updated dependencies

0.1.38

Patch Changes

0.1.37

Patch Changes

0.1.36

Patch Changes

  • 7276d1e: Fix issues with json schema to zod parsing causing nested objects to be marked as required
  • c223e54: Fix file upload handlers
  • 7276d1e: Fix issues with objects with default values being marked as required
  • 9a10986: Fix: Relax strict type/schema validations on API responses
  • 06612f5: Downgrade chalk to v4 to allow CJS as well
  • cb1b401: Update composio api client to latest version
  • da57771: dont't validate if authConfigIds is provided
  • 91c3647: Update deps
  • b001330: Fix package bumps
  • 77e96e4: Fix JSON Schema to Zod Parsing
  • ea79c18: Bump packages
  • cb1b401: Bump packages for authconfig fixes
  • ea79c18: Update packages
  • a79dfac: Relax connected account schema parsing
  • Create stable release
  • ea79c18: Fix: Gracefully handle connected account responses for missing fields
  • 91c3647: Fix proxy execute params and bump langchain packages
  • ea79c18: Bump packages
  • Updated dependencies [7276d1e]
  • Updated dependencies [c223e54]
  • Updated dependencies [7276d1e]
  • Updated dependencies [9a10986]
  • Updated dependencies [06612f5]
  • Updated dependencies [cb1b401]
  • Updated dependencies [da57771]
  • Updated dependencies [91c3647]
  • Updated dependencies [b001330]
  • Updated dependencies [77e96e4]
  • Updated dependencies [ea79c18]
  • Updated dependencies [cb1b401]
  • Updated dependencies [ea79c18]
  • Updated dependencies [a79dfac]
  • Updated dependencies
  • Updated dependencies [ea79c18]
  • Updated dependencies [91c3647]
  • Updated dependencies [ea79c18]

0.1.36-next.13

Patch Changes

0.1.36-next.12

Patch Changes

0.1.36-next.11

Patch Changes

0.1.36-next.10

Patch Changes

0.1.36-next.9

Patch Changes

  • 9fa49ec: Update composio api client to latest version
  • Bump packages for authconfig fixes
  • Updated dependencies [9fa49ec]
  • Updated dependencies

0.1.36-next.8

Patch Changes

0.1.36-next.7

Patch Changes

0.1.36-next.6

Patch Changes

  • 06612f5: Downgrade chalk to v4 to allow CJS as well
  • Relax connected account schema parsing
  • Updated dependencies [06612f5]
  • Updated dependencies

0.1.36-next.5

Patch Changes

0.1.36-next.4

Patch Changes

0.1.36-next.3

Patch Changes

0.1.36-next.2

Patch Changes

0.1.36-next.1

Patch Changes

  • Fix issues with json schema to zod parsing causing nested objects to be marked as required
  • Updated dependencies

0.1.36-next.0

Patch Changes

0.1.35

Patch Changes

0.1.34

Patch Changes

0.1.33

Patch Changes

0.1.32

Patch Changes

0.1.31

Patch Changes

0.1.30

Patch Changes

0.1.29

Patch Changes

0.1.28

Patch Changes

0.1.27

Patch Changes

0.1.26

Patch Changes

0.1.25

Patch Changes

0.1.24

Patch Changes

0.1.23

Patch Changes

0.1.22

Patch Changes

0.1.21

Patch Changes

0.1.20

Patch Changes

0.1.19

Patch Changes

0.1.18

Patch Changes

0.1.17

Patch Changes

0.1.16

Patch Changes

0.1.15

Patch Changes

  • 208e320: Update json schema transformations issues related to strict mode
  • Updated dependencies [208e320]

0.1.14

Patch Changes

0.1.13

Patch Changes

0.1.12

Patch Changes

  • c1443db: Improved error handling and telemetry
  • b121e73: Update packages to stable version
  • f144202: Update tsdocs across all the functions
  • ba8d991: Fix initiate connection flows and api issues
  • ca59bcd: Update documentations and fix API discrepencies
  • e51680c: Fix versioning with changesets
  • 0b15376: Add custom toolkit examples
  • de3f522: Stable version with test coverage and other stuff
  • a2f9537: Update tools.get to accept discriminated unions
  • 83a0d15: Test github ci publish
  • eeec413: Rename modifiers, add docs and other miscellanious improvements
  • Updated dependencies [c1443db]
  • Updated dependencies [b121e73]
  • Updated dependencies [f144202]
  • Updated dependencies [ba8d991]
  • Updated dependencies [ca59bcd]
  • Updated dependencies [e51680c]
  • Updated dependencies [0b15376]
  • Updated dependencies [de3f522]
  • Updated dependencies [a2f9537]
  • Updated dependencies [83a0d15]
  • Updated dependencies [eeec413]

0.1.12-alpha.16

Patch Changes

0.1.12-alpha.15

Patch Changes

0.1.12-alpha.14

Patch Changes

0.1.12-alpha.13

Patch Changes

0.1.12-alpha.12

Patch Changes

0.1.12-alpha.11

Patch Changes

0.1.12-alpha.10

Patch Changes

0.1.12-alpha.9

Patch Changes

0.1.12-alpha.8

Patch Changes

0.1.12-alpha.7

Patch Changes