# @cloudflare/think@0.24.0

Category: agent-infrastructure
Published: 2026-11-20T15:56:36Z
Source: [Cloudflare Agents SDK releases](https://github.com/cloudflare/agents/releases/tag/%40cloudflare%2Fthink%400.24.0)
Agent usefulness: 77/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-11-28T02:17:49.788Z
Tags: cloudflare, agents-sdk, edge-runtime

## Human Summary
@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.

## Agent 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.

## Body
@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.

## Recommended actions
- 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.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.