Repository navigation
Conversation
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://changelog-computer-durable-javascript.previews.developers.cloudflare.com (commit 7fbea76)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
|
Worker Preview URL: https://gh-changelog-computer-durable-javascript.previews.developers.cloudflare.com Files with changes (up to 15) |
AI Review✅ Reviewed Commands
|
Review coverage✅ The ownership area is covered. ✅ 1 area already covered
CODEOWNERS mappings for displayed areas (1)
|
|
|
||
| Once every waiting call in the run has an answer, the run continues, and `ctx.interrupt()` returns the answer. To notify someone when a call starts waiting, give the backend an `onWait` function. | ||
|
|
||
| For setup, current limitations, and how replay works, refer to [Resume runs after a restart](/agents/tools/filesystem/#resume-runs-after-a-restart). |
There was a problem hiding this comment.
Update to point to the docs.
| For setup, current limitations, and how replay works, refer to [Resume runs after a restart](/agents/tools/filesystem/#resume-runs-after-a-restart). |
| @@ -0,0 +1,85 @@ | |||
| --- | |||
| title: "@cloudflare/computer JavaScript runs can now be paused and resumed" | |||
There was a problem hiding this comment.
Is “runs” the word that people will understand here?
| loader: this.env.LOADER, | ||
| onInterrupt: "replay", | ||
| modules: { | ||
| "ws:github": { |
There was a problem hiding this comment.
As the reader at this point I’m not sure in this context I grok immediately what a module is
|
|
||
| import { TypeScriptExample } from "~/components"; | ||
|
|
||
| [`@cloudflare/computer`](https://github.com/cloudflare/computer) v0.7.0 now supports resuming a JavaScript run after a deploy or crash. It also supports pausing a run on an external action, for example to approve a tool call. |
There was a problem hiding this comment.
Something at the start should probably orient you that this is about building agents
irvinebroque
left a comment
There was a problem hiding this comment.
Is there a diagram or visualization you have that could help the reader understand the lifecycle and build a mental model?
Summary
Adds a changelog entry for two experimental features coming in
@cloudflare/computerv0.7.0: isolate JavaScript runs that resume after a deploy or crash, and runs that pause until someone answers, for example to approve an action.The entry links to the "Resume runs after a restart" section added in #34551, which holds the setup details and current limitations, so it should merge together with or after #34551. Hold it until v0.7.0 is released, and update the version and date then if they have changed.
Documentation checklist