@cloudflare/think@0.24.0
@cloudflare/think@0.24.0 upgrades to Computer 0.10, avoids recreating billable Dynamic Workers on agent restarts, improves continuation recovery, and deprecates old Workers AI models.
Why this signal matters
@cloudflare/think@0.24.0 introduces several key architectural and maintenance updates. It bumps the peer dependency of @cloudflare/computer to ^0.10.0 and requires agents@0.34.0. The JavaScript backend is renamed to CodemodeBackend (imported from @cloudflare/computer/backends/codemode), and host module namespaces have shifted from ws: (e.g., ws:tools, ws:git) to codemode: (e.g., codemode:tools, codemode:git), with the default backend ID changed to 'codemode'. ExtensionManager now derives Dynamic Worker IDs from a hash of code and configuration (with an optional workerIdScope for host bindings) rather than Date.now(), preventing redundant creation and billing of workers when a Durable Object restarts. Chat recovery now rebuilds interrupted continuations into the existing assistant message instead of creating duplicates. Finally, retired Workers AI models (MeloTTS, whisper-tiny-en) were dropped, @cf/google/embeddinggemma-2 input shaping was adjusted, and newer models like @cf/deepseek-ai/deepseek-v4.1-flash-1017 are promoted.
Actionable summary
Upgraded @cloudflare/think to 0.24.0, requiring agents@0.34.0 and @cloudflare/computer@^0.10.0. JavaScript backend renamed to CodemodeBackend with host modules moved from 'ws: ' to 'codemode: '. Extension Dynamic Worker IDs are now deterministically hashed to prevent re-creation upon restarts.
- Agent usefulness
- 77/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- Upgrade 'agents' to version 0.34.0 and '@cloudflare/computer' to '^0.10.0'.
- Replace imports of WorkerJavaScriptBackend with CodemodeBackend from '@cloudflare/computer/backends/codemode'.
- Rename host module imports from 'ws: ' to 'codemode: ' (e.g., 'ws:tools' to 'codemode:tools') in backends, code, and prompts.
- Update any backend references expecting the old ID (such as 'js') to 'codemode', or explicitly supply the old ID to CodemodeBackend.