github cloudflare/agents agents@0.5.1

7 hours ago

Patch Changes

  • #954 943c407 Thanks @threepointone! - update dependencies

  • #944 e729b5d Thanks @threepointone! - Export DurableObjectOAuthClientProvider from top-level agents package and fix restoreConnectionsFromStorage() to use the Agent's createMcpOAuthProvider() override instead of hardcoding the default provider

  • #850 2cb12df Thanks @Muhammad-Bin-Ali! - Fix: MCP OAuth callback errors are now returned as structured results instead of throwing unhandled exceptions. Errors with an active connection properly transition to "failed" state and are surfaced to clients via WebSocket broadcast.

Don't miss a new agents release

NewReleases is sending notifications on new releases.