Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
docs(changeset): drop internal tracker reference
Changesets ship to the public CHANGELOG; internal Linear tracker IDs and URLs should not appear there.
jkomyno committed
Apr 30, 2026 at 02:00 UTC
1d4c03efe615edec0e817c27ce5ddb4c5cf65883
1 file changed
-2
.changeset/fix-mastra-ref-dereference.md
-2
@@ -8,5 +8,3 @@ Resolve internal JSON Schema `$ref` pointers (`#/$defs/...` and `#/definitions/.
8
- 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](https://github.com/mastra-ai/mastra/issues/15341)), and strips `$defs`/`definitions` once everything reachable is inlined. External (`http://`/`https://`) `$ref` pointers are left untouched.
9
- `@composio/mastra` calls the helper inside `wrapTool` for both `inputParameters` and `outputParameters`.
10
- `@mastra/schema-compat` dependency floor raised to `^1.2.9` so users automatically receive [PR #15400](https://github.com/mastra-ai/mastra/pull/15400)'s recursive-`$ref` handling.
11
-
12
-Closes [PLEN-2244](https://linear.app/composio/issue/PLEN-2244/mastra-provider-schema-validation-error-cant-resolve-reference).