Patch Changes
-
#962
ef46d68Thanks @tumberger! - Validate tool arguments against Zod schema before execution in codemode sandbox -
#973
969fbffThanks @threepointone! - Update dependencies -
#960
179b8cbThanks @mattzcarey! - Harden JSON Schema to TypeScript converter for production use- Add depth and circular reference guards to prevent stack overflows on recursive or deeply nested schemas
- Add
$refresolution for internal JSON Pointers (#/definitions/...,#/$defs/...,#) - Add tuple support (
prefixItemsfor JSON Schema 2020-12, arrayitemsfor draft-07) - Add OpenAPI 3.0
nullable: truesupport across all schema branches - Fix string escaping in enum/const values, property names (control chars, U+2028/U+2029), and JSDoc comments (
*/) - Add per-tool error isolation in
generateTypes()so one malformed schema cannot crash the pipeline - Guard missing
inputSchemaingetAITools()with a fallback to{ type: "object" } - Add per-tool error isolation in
getAITools()so one bad MCP tool does not break the entire tool set
-
#961
f6aa79fThanks @mattzcarey! - Updated default tool prompt to explicitly request JavaScript code from LLMs, preventing TypeScript syntax errors in the Dynamic Worker executor.