Cloudflare Computer v0.7.0 adds durable JavaScript execution for agent recovery and approval workflows

·2026.10.26 09:00

Key point

The update introduces onInterrupt: "replay" to recover interrupted runs and ctx.interrupt() to pause execution until external approval is granted.

Details

  • Cloudflare Computer v0.7.0 enables agent code to resume after a deploy or crash and pause on external actions like tool call approvals.
  • Setting onInterrupt: "replay" on WorkerJavaScriptBackend allows runs to restart from the beginning, reusing recorded results for completed calls to avoid duplicate output.
  • Developers can expose application functions via custom modules that call ctx.interrupt() to pause the run until an approval decision is supplied.
  • The time spent waiting for approval does not count toward the run's timeout and survives deploys; pending calls are fetched with workspace.runtime.pending() and resolved with respond().

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.