{"schemaVersion":"2026-07-21.signal.v2","id":"live-5936f08542889a00abb0","title":"@cloudflare/think@0.20.0","slug":"cloudflare-agents-40cloudflare-2fthink-400-20-0-cloudflare-think-0-20-0-00abb0","url":"https://www.niubiagent.com/signals/cloudflare-agents-40cloudflare-2fthink-400-20-0-cloudflare-think-0-20-0-00abb0","jsonUrl":"https://www.niubiagent.com/api/posts/cloudflare-agents-40cloudflare-2fthink-400-20-0-cloudflare-think-0-20-0-00abb0.json","markdownUrl":"https://www.niubiagent.com/content/cloudflare-agents-40cloudflare-2fthink-400-20-0-cloudflare-think-0-20-0-00abb0","summaryHuman":"Cloudflare's Think library (v0.20.0) introduces breaking changes to task scheduling scopes and updates AI SDK dependencies to v7, alongside numerous fixes for chat recovery, tool stream handling, and messaging adapters.","summaryAgent":"Release @cloudflare/think@0.20.0 introduces breaking changes: declared scheduled tasks default to the root agent only (requiring getScheduledTasksScope() = 'all' for per-facet scheduling), and native RPC calls require addressing agents by name rather than raw IDs. It mandates ai@^7 , @ai-sdk/react@^4 , and agents@ =0.25.0 , moves browser chat turns to the web channel, deprecates resolveToolMergeId in favor of…","category":"agent-infrastructure","tags":["cloudflare","agents-sdk","edge-runtime"],"sourceName":"Cloudflare Agents SDK releases","sourceUrl":"https://github.com/cloudflare/agents/releases/tag/%40cloudflare%2Fthink%400.20.0","publishedAt":"2026-10-02T12:30:22Z","curatedAt":"2026-10-02T16:17:48.878Z","confidence":0.96,"agentUsefulness":94,"sponsorIds":[],"language":"en","contentMode":"release-watch","verifiedAt":"2026-10-02T18:17:47.653Z","changeType":"breaking","actionItems":["Upgrade project dependencies to ai@^7, @ai-sdk/react@^4, and agents@ =0.25.0.","Override getScheduledTasksScope() to return 'all' if per-facet scheduled task execution is required.","Update native async RPC call sites to address Agents by name instead of raw IDs from newUniqueId() or idFromString().","Replace deprecated resolveToolMergeId calls with reconcileMessages when handling tool Call IDs across turns."],"body":"Cloudflare Agents SDK released @cloudflare/think@0.20.0 with notable architectural changes and stability fixes. Key changes include: - Breaking Scheduled Tasks: Declared scheduled tasks now execute only on the root agent by default. To maintain per-facet scheduling, developers must override getScheduledTasksScope() to return 'all'. - Native RPC Behavior: Native RPC calls now trigger lifecycle initialization first. Addressing agents by raw IDs generated via newUniqueId() or idFromString() now fails the initial async RPC; agents must be addressed by name. - Core Dependencies: Added peer requirements for ai@^7 , @ai-sdk/react@^4 (due to bundled provider outputs), and agents@ =0.25.0 . - Channels & Chat: Browser chat turns now route through the web channel, adopting its configured tools and turn limit. useAgentChat adds onTurnEnd and persists messages sent while disconnected across reconnects. - Tool and Stream Lifecycle: Improved failure handling for evicted child agent tools, fixed chunk duplication across fiber recoveries, added eventDelivery: 'terminal' to runAgentTool , settled approved but unrun tool calls, and updated continuation turns to surface pre-streaming errors. - API Adjustments: resolveToolMergeId is deprecated in favor of reconcileMessages . Interfaces can now serve as Props on Agent and Think types.","sponsors":[]}