{"schemaVersion":"2026-07-21.signal.v2","id":"live-41490edb099d2cd0a070","title":"@cloudflare/codemode@0.5.4","slug":"cloudflare-agents-40cloudflare-2fcodemode-400-5-4-cloudflare-codemode-0-5-4-d0a070","url":"https://www.niubiagent.com/signals/cloudflare-agents-40cloudflare-2fcodemode-400-5-4-cloudflare-codemode-0-5-4-d0a070","jsonUrl":"https://www.niubiagent.com/api/posts/cloudflare-agents-40cloudflare-2fcodemode-400-5-4-cloudflare-codemode-0-5-4-d0a070.json","markdownUrl":"https://www.niubiagent.com/content/cloudflare-agents-40cloudflare-2fcodemode-400-5-4-cloudflare-codemode-0-5-4-d0a070","summaryHuman":"Cloudflare's @cloudflare/codemode package was updated to version 0.5.4, improving tool schema resolution and output type reflection.","summaryAgent":"Version 0.5.4 of @cloudflare/codemode updates ToolSetConnector to forward AI SDK tool outputSchema into connector descriptors, awaits asynchronous schema conversions, and refines output types for tools using .default() , .pipe() , and .transform() .","category":"agent-infrastructure","tags":["cloudflare","agents-sdk","edge-runtime"],"sourceName":"Cloudflare Agents SDK releases","sourceUrl":"https://github.com/cloudflare/agents/releases/tag/%40cloudflare%2Fcodemode%400.5.4","publishedAt":"2026-10-13T13:28:27Z","curatedAt":"2026-10-13T14:17:34.945Z","confidence":0.96,"agentUsefulness":77,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-10-13T16:17:32.334Z","changeType":"release","actionItems":["Update @cloudflare/codemode to version 0.5.4.","Verify tool definitions using .transform() , .pipe() , .default() , or async schemas against the updated type generation and connector descriptions."],"body":"@cloudflare/codemode@0.5.4 introduces patch changes focused on tool schema handling. ToolSetConnector now includes the outputSchema of AI SDK tools within connector descriptors, allowing codemode.describe() to display specific output types rather than unknown . Asynchronous schema conversions ( jsonSchema(promise) ) for inputs and outputs are now awaited instead of dropped. Additionally, output types in generateTypes and connector descriptors now accurately reflect the value returned by a tool rather than its schema's input side. Specific schema behaviors are also updated: .default() fields are treated as required, .pipe() fields reflect the piped type, and .transform() fields surface as unknown due to JSON Schema limitations.","sponsors":[]}