ProductsOfficial

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

Anthropic Adds Code Mode to Claude Code: Claude Now Chains Tool Calls in JavaScript

Why we picked it

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

Anthropic 在 Claude Code v2.1.323 中加入了实验性功能 Code Mode。该功能允许 Claude 编写 JavaScript 代码,将 Bash、Read、Edit 等工具调用串联在一次执行中完成,而不是逐个发起多轮调用。

Image · marktechpost
Body

除了链式调用之外,Code Mode 还支持在长时间命令后台运行期间继续与 Claude 对话,减少等待阻塞。这意味着原本需要多步往返的操作可以压缩成单步脚本执行。

对开发者而言,这一改动主要影响 Claude Code 的使用效率:链式调用减少了工具调用的轮次开销,而异步执行让长任务(如构建、批量编辑)不再打断交互流程。

Original · marktechpost

Anthropic Adds Code Mode to Claude Code: Claude Now Chains Tool Calls in JavaScript

Anthropic has added Code Mode to Claude Code v2.1.323. The experimental feature lets Claude write JavaScript that chains Bash, Read and Edit calls in 1 step, and keep talking while long commands run. The post Anthropic Adds Code Mode to Claude Code: Claude Now Chains Tool Calls in JavaScript appeared first on MarkTechPost .

Industry Coordinates & Source Verification

This report is categorized under AITOP's "Products" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Claude Code, Anthropic, coding assistants, MCP and tools.

Primary source verification: published directly by marktechpost with first-party authority. Cross-source corroboration: 11 independent sources have covered this development (including Claude Code: GitHub Releases, claudedevs, Gergely Orosz), confirming industry-wide signal strength.