Agent 基础设施官方发布自动监测

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

原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。

人类阅读

为什么值得关注

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

Agent 解析

可执行摘要

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 实用度
77/100
可信度
96%
机器格式
JSON + Markdown
下一步

开发者应核对什么

  • 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.
分类

标签与路由

cloudflareagents-sdkedge-runtime
相关信号

继续阅读