agents@0.28.0 @cloudflare/codemode@0.5.4

medium risk

cloudflare/agentsOct 9, 2026 → Oct 13, 20264 days between releases

What's New

codemode now forwards output schemas and enforces .default() fields

Breaking Changes

  • Tools without a `.default()` field will now throw an error.
  • Output types now describe return values instead of inputs.

New Features

  • Forwarding output schemas to `codemode.describe()`
  • Awaiting asynchronous JSON schemas
  • Added `.pipe()` type support

Improvements

  • Improved output schema accuracy in `codemode.describe()`
  • Enforced `.default()` field requirement for consistency

Bug Fixes

  • Fixed `codemode.describe()` to display actual output types instead of `unknown`

Upgrade Notes

Ensure all tool definitions include a `.default()` field to avoid errors. Note that type descriptions now reflect return values rather than inputs.

The Two Releases

agents@0.28.0

agents@0.28.0

Oct 9, 2026· 12 days ago

This release adds persistent browser tools (`browserTool`) and `web_fetch` tools, and stabilizes the lifecycle module along with other core capabilities like Scheduler, State, WebSockets, and MCPClientManager.

Full release notes
@cloudflare/codemode@0.5.4

@cloudflare/codemode@0.5.4

Oct 13, 2026· 8 days ago

Enhances `ToolSetConnector` to properly forward output schemas, ensuring `codemode.describe()` displays accurate return types instead of `unknown`. It also enforces the requirement for `.default()` fields and adds support for `.pipe()` types.

Full release notes