Skip to content

fix: resolve Zod schema mismatch (v1.4.3)#29

Merged
matty-drexler merged 2 commits into
mainfrom
release-1.4.3
May 29, 2026
Merged

fix: resolve Zod schema mismatch (v1.4.3)#29
matty-drexler merged 2 commits into
mainfrom
release-1.4.3

Conversation

@matty-drexler
Copy link
Copy Markdown
Contributor

This PR resolves the Zod schema mismatch reported where non-object tool outputs (Arrays, Numbers) caused client-side validation failures.

  • Implemented ResponsePruner.pack() to wrap non-object results.
  • Updated CallToolRequestSchema handler to include structuredContent.
  • Added formal unit and integration tests.
  • Bumped version to 1.4.3.

@matty-drexler matty-drexler merged commit 3c0239f into main May 29, 2026
3 checks passed
@matty-drexler matty-drexler deleted the release-1.4.3 branch May 29, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant