Skip to content

@composio/mastra@0.9.0

Choose a tag to compare

@dhawal1 dhawal1 released this 07 May 15:33
· 2285 commits to next since this release
1855f89

Minor Changes

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

Patch Changes

  • cc673b6: Resolve internal JSON Schema $ref pointers (#/$defs/... and #/definitions/...) before handing tool parameters to @mastra/schema-compat. Composio tools whose schemas use $defs/definitions — legal under Draft 7 and 2020-12 — no longer trigger the AJV can't resolve reference … error, and the resolved type information from $defs survives the JSON-Schema → Zod → JSON-Schema round-trip instead of being silently degraded to a permissive anyOf.

    • New dereferenceJsonSchema helper exported from @composio/core performs the inline expansion. It deep-clones the input, walks every applicator reflectively (so future JSON Schema keywords are covered), shallow-merges sibling keywords next to $ref per Draft 2020-12 semantics, breaks cycles with { type: 'object', additionalProperties: true } (matching the upstream guidance in mastra-ai/mastra#15341), and strips $defs/definitions once everything reachable is inlined. External (http:///https://) $ref pointers are left untouched.
    • @composio/mastra calls the helper inside wrapTool for both inputParameters and outputParameters.
    • @mastra/schema-compat dependency floor raised to ^1.2.9 so users automatically receive PR #15400's recursive-$ref handling.
  • 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]

    • @composio/core@0.9.0