This release moves Think to Computer 0.10, and restarting a Think agent no longer creates a new Dynamic Worker for each extension.
Highlights
- Computer 0.10: Think's
@cloudflare/computerpeer is now^0.10.0. Computer's JavaScript backend is nowCodemodeBackend, and host modules such asws:toolsare nowcodemode:tools. See Running code withexec. - Stable extension workers:
ExtensionManagerderives each Dynamic Worker's id from a hash of the extension's code and configuration instead ofDate.now(), so restarting a Think Durable Object no longer creates, and bills, a new Dynamic Worker per extension. Extensions with a host binding can add the agent and context labels with the newworkerIdScopeoption. - Recovery: an interrupted continuation is recovered into the assistant message it continues, instead of as a duplicate message.
- Retired models: examples and messages move off the Workers AI models retired on November 20, 2026.
Upgrading
-
Update
agentsto 0.34.0 and@cloudflare/computerto^0.10.0with Think. Think now requiresagents>=0.34.0. -
Import the JavaScript backend as
CodemodeBackend:- import { WorkerJavaScriptBackend } from "@cloudflare/computer/backends/worker-javascript"; + import { CodemodeBackend } from "@cloudflare/computer/backends/codemode";
-
Rename host modules from
ws:tocodemode:, such asws:toolstocodemode:toolsandws:gittocodemode:git, in your backend'smodulesand in any code or prompts that import them. -
Check backend ids. The backend's default id is now
codemode. If anything refers to an id such asjs, update it, or pass thatidtoCodemodeBackend.
Minor Changes
- #2819
9b54e51Thanks @ben-reitz! - Think's@cloudflare/computerpeer is now^0.10.0, so upgrade Computer to 0.10 alongside Think. Its JavaScript backend is nowCodemodeBackendfrom@cloudflare/computer/backends/codemode, and host modules such asws:toolsare nowcodemode:tools. See Running code withexec.
Patch Changes
-
#2781
366d5b5Thanks @github-actions! - Fix Think recovering an interrupted continuation as a duplicate assistant message; recovery now rebuilds the message it continues. Think now requiresagents>=0.34.0. See Chat Recovery. -
#2899
1a450e7Thanks @ben-reitz! - Move off the Workers AI models retired on November 20, 2026: drop MeloTTS andwhisper-tiny-enhandling, send@cf/google/embeddinggemma-2its{ input }shape, and suggest@cf/deepseek-ai/deepseek-v4.1-flash-1017in examples and messages. See Planned model deprecations. -
#2912
81726f7Thanks @github-actions! -ExtensionManagernow derives the Dynamic Worker id from a hash of the extension's code and configuration (plus the agent and context labels for extensions with a host binding, via the newworkerIdScopeoption) instead ofDate.now(), so restarting a Think Durable Object no longer creates (and bills) a new Dynamic Worker per extension. See #2911.