Agent InfrastructureAutomated release watch

agents@0.34.0

Cloudflare Agents SDK 0.34.0 adds support for Pi 1.6 with park/sleep tooling and subagent signaling, introduces explicit MCP client re-authorization handling, and prevents error leaks on failed requests.

Human read

Why this signal matters

Cloudflare Agents SDK release 0.34.0 brings significant updates to its Pi harness, MCP client handling, and error response defaults: - Pi 1.6 Integration : Updates agents/harness/pi , agents/models/pi-ai , and Pi tools to Pi 1.6 (~1.6.0). Tools can now 'park' to wait for signals or deadlines while the agent sleeps, with signals delivered via harness.signal() . Subagent waiting is supported via notify parameters on submit() and continue() . Input can be preserved across aborts using { onAbort: 'keep' } . Sessions can be seeded from history using init in harness.root() , sessions.create() , and sessions.fork() . In addition, expired Anthropic threads are recovered automatically by re-sending conversation history. - Deployment Incompatibility : Upgrading to Pi 1.6 prevents rolling back past this version once conversations run, as Pi 1.5 cannot execute Pi 1.6 tool calls or model requests. - MCP Client Changes : Re-authorization prompts now throw MCPAuthorizationRequiredError containing an authUrl . Failed MCP servers remain failed rather than retrying on every wake; reconnects must be explicitly handled via this.reconnectMcpServer(id) . - Security/Error Privacy : Failed requests and WebSocket upgrade errors now return a generic 500 status or 1011 close frame instead of exposing raw error details. Developers can intercept and customize responses using onFetchError(request, error) . - General Improvements : Added FLUX.2 image models, set default claudeCode() model to claude-sonnet-5-5 , eliminated re-runs for cancelled schedules/tasks, and resolved multi-tab chat turn race…

Agent parse

Actionable summary

Upgrade to agents@0.34.0 adds Pi 1.6 support (Pi 1.5 dropped; conversations cannot roll back). It introduces parking tools ( harness.signal() ), subagent notifications on submit() / continue() , MCP MCPAuthorizationRequiredError handling with reconnectMcpServer() , and generic 500/1011 responses for failed client requests via new onFetchError() lifecycle hook.

Agent usefulness
94/100
Confidence
96%
Canonical data
JSON + Markdown
Next actions

What builders should check

  • Update Pi packages (@earendil-works/pi-durable, pi-ai, pi-schema, chord) to ~1.6.0; note that rollbacks to Pi 1.5 are not supported after conversations run on 1.6.
  • Deliver Pi tool wake signals using harness.signal() instead of (await harness.pi()).signal().
  • Catch MCPAuthorizationRequiredError and redirect users to error.authUrl; implement UI/logic to trigger reconnectMcpServer(id) when an MCP server fails.
  • Implement onFetchError(request, error) if downstream clients rely on detailed server error messages or custom error payloads.
Classification

Tags and routing

cloudflareagents-sdkedge-runtime
Related signals

Continue the thread