@cloudflare/codemode@0.3.8
cloudflare/agents@cloudflare/codemode@0.3.8May 26, 2026by github-actions[bot]
AI Summary
This patch release (0.3.8) updates the default `openApiMcpServer` configuration to use the MCP SDK's Workers-safe JSON schema validator for elicitation response validation, eliminating the dependency on runtime code generation.
Key Highlights
- Defaults openApiMcpServer to use Workers-safe JSON schema validator
- Removes reliance on runtime code generation for validation
- Improves compatibility with Cloudflare Workers environment
- Change introduced via PR #1555
New Features
- Improved elicitation response validation using Workers-safe JSON schema validator instead of runtime code generation
Full Release Notes
### Patch Changes - [#1555](https://github.com/cloudflare/agents/pull/1555) [`2d45abd`](https://github.com/cloudflare/agents/commit/2d45abdcb6bb0bbe71c135a4b12071a118cd776e) Thanks [@mattzcarey](https://github.com/mattzcarey)! - Default `openApiMcpServer` to the MCP SDK's Workers-safe JSON schema validator so elicitation response validation does not rely on runtime code generation.