Event ·Official first-hand

Anthropic 为 Claude Code 推出 Code Mode:用 JavaScript 串联工具调用

Anthropic 在 Claude Code v2.1.323 中加入了实验性功能 Code Mode。该功能允许 Claude 编写 JavaScript 代码,将 Bash、Read、Edit 等工具调用串联在一次执行中完成,而不是逐个发起多轮调用。 除了链式调用之外,Code Mode 还支持在长时间命令后台运行期间继续与 Claude 对话,减少等待阻塞。这意味着原本需要多步往返的操作可以压缩成单步脚本执行。 对开发者而言,这一改动主要影响 Claude Code 的使用效率:链式调用减少了工具调用的轮次开销,而异步执行让长任务(如构建、批量编辑)不再打断交互流程。

Current read

Anthropic 给 Claude Code 加了个实验模式,让模型写 JavaScript 一次跑完 Bash、Read、Edit 这串调用,长命令跑着的时候还能继续聊天。平时用 Claude Code 干批量修改或长构建的人可以直接升到 v2.1.323 试试,调用手动串工具的轮次明显少了。

11 sources63° AI heatLast updated 2026/11/18 06:53:28

Evidence

11 sources
Primary sourcemarktechpost
View source
Related source 1Claude Code: GitHub Releases
View source
Related source 2claudedevs
View source
Related source 3Gergely Orosz
View source
Related source 7lmarena.ai
View source
Related source 8Tech in Asia
View source
Related source 9TestingCatalog
View source

Conflict check

Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.