Skip to content

Conversation

voltagent-bot
Copy link
Member

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@voltagent/[email protected]

Patch Changes

  • #590 4292460 Thanks @omeraplak! - fix: resolve Zod v4 compatibility issue in delegate_task tool schema

    Fixed a compatibility issue where z.record(z.unknown()) in the delegate_task tool's context parameter was causing JSON schema generation errors with Zod v4. Changed to z.record(z.string(), z.any()) which works correctly with both Zod v3 and v4.

    The error occurred when using the MCP server or other components that convert Zod schemas to JSON schemas:

    TypeError: Cannot read properties of undefined (reading '_zod')
    

    This fix ensures the delegate_task tool works seamlessly across all Zod versions supported by the framework (^3.25.0 || ^4.0.0).

This comment has been minimized.

@omeraplak omeraplak merged commit e089821 into main Sep 18, 2025
21 checks passed
@omeraplak omeraplak deleted the changeset-release/main branch September 18, 2025 23:42
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.

2 participants