v0.22.13 @cloudflare/codemode@0.5.2
medium risk
NodePassProject/AnywhereSep 11, 2026 → Sep 11, 20260 days between releases
What's New
Structural truncation of oversized tool results ensures valid JSON output.
New Features
- Structural truncation for strings, arrays, and objects.
- Projection of tool calls in Code Mode output.
- Bounded tool logs for better context management.
Improvements
- Improved handling of large tool results via structural truncation instead of slicing.
- MCP servers now apply response budgets to text output.
- Code Mode tool now projects calls and bounds sandbox logs.
Bug Fixes
- Fixes invalid JSON output caused by character-slicing oversized objects.
- Fixes failures when rendering BigInt or cyclic values.
Upgrade Notes
Output for large tool results changes from sliced JSON to structural truncation. Code Mode output now projects `calls` and bounds `logs`. Ensure consumers handle truncated objects correctly.
The Two Releases
v0.22.13
Release v0.22.13
Sep 11, 2026· 1 month ago
Minimal release notes: "# v0.22.13 - 2026-09-10 ## 🐛 Bugfixes - Resolve playStream only when playback has actually finished 0b82f4e"
Full release notes@cloudflare/codemode@0.5.2
@cloudflare/codemode@0.5.2
Sep 11, 2026· 1 month ago
A patch release improving how large tool results are handled by truncating them structurally instead of slicing JSON, ensuring valid output.
Full release notes