# Cloudflare Think 0.25.0 removes several APIs and adds rerun recovery for tools

published: 2026-12-04T17:05:45.397Z
topic: frameworks
source: https://github.com/cloudflare/agents/releases/tag/%40cloudflare%2Fthink%400.25.0
url: https://aiagentnews.io/stories/cloudflare-think-0-25-0-removes-several-apis-and-adds-rerun-recovery-for-tools

Cloudflare has released @cloudflare/think 0.25.0, a minor version that removes several exports and changes how scheduled tasks and restarts are handled. Developers upgrading agents need to migrate code and storage, and should upgrade agents, @cloudflare/ai-chat and @cloudflare/think together.

Cloudflare released @cloudflare/think 0.25.0 on 4 December. The release removes getScheduledTasksScope(), so a sub-agent now arms its own declared tasks, and stored scheduled tasks migrate at the first start. Messenger reply exports such as messengerReplySnapshot and DeliveryTag are also gone, along with createBridgeProvider, ExtensionContextBridge and ExtensionWritableBridge from the extensions entry point.

Agents last started before 0.20.0 must first start once on a version from 0.20.0 through 0.24.0, or their undelivered workflow notifications are lost. The this.context object is now a Context, so ContextBlocks annotations need to change to Context. The release requires agents 0.35.0 or later, and storage migrates in place at the first start, with rollback not supported.

New in this release, a tool marked recovery: "rerun" runs again if a restart interrupted its call. ctx.messenger.author is set in beforeTurn, and beforeToolCall receives stepNumber. Durable pauses waiting longer than actionPendingApprovalTtlMs, which is 30 days, are dropped when the agent starts.

## Why it matters if you build agents

Teams building on Think should review the removed exports and the scheduled-task change before upgrading, and move agents, ai-chat and think to their new versions together. Tools that must finish after a restart can now opt into rerun recovery. Approvals that stay paused beyond 30 days will be dropped, so long-running workflows need a plan for that.
