github cloudflare/agents agents@0.2.0

3 months ago

Minor Changes

  • #495 ff9329f Thanks @ghostwriternr! - Fix OAuth callback handling and add HOST auto-detection
    • Fix OAuth callback "Not found" errors by removing MCPClientManager
      override
    • Add OAuth callback URL persistence across Durable Object hibernation
    • Fix OAuth connection reuse during reconnect to prevent state loss
    • Add OAuth transport tracking to prevent authorization code consumption
      during auto-fallback
    • Preserve PKCE verifier across transport attempts
    • Make callbackHost parameter optional with automatic request-based
      detection
    • Add URL normalization for consistent transport endpoint handling

Patch Changes

  • #465 6db2cd6 Thanks @BeiXiao! - fix(ai-react): prevent stale agent capture in aiFetch; ensure active connection is used

  • #440 9ef35e2 Thanks @axuj! - fix: pass agent._pk as id to useChat to prevent stale WebSocket instances

Don't miss a new agents release

NewReleases is sending notifications on new releases.