Vibeleaderboard
← All Intel
Intel / repo

claude-code v2.1.323

Source
github.com
Author
claude-code-publisher[bot]Top Viber
Date

Context

Version 2.1.323 of Claude Code, Anthropic's coding , adds Code Mode, an experimental setting in which Claude writes JavaScript to call its tools. It stays off unless a user turns it on, and the release notes say an organization can also switch it off for everyone. Most of the rest of this long release is fixes, many of them to permission checks and sign-in handling, so Code Mode is the entry that changes how the agent goes about its work.

In ordinary , each call is a separate step: Claude requests one action, such as reading a file or querying a connected service, the whole result comes back into its working , and Claude reads it before choosing the next call. Anthropic set out the case for replacing that loop with code in an earlier engineering post about agents connected to many outside tools (our coverage of that post). A single script can make several calls, loop over their results, and keep only what matters, so the model sees what the code prints rather than every intermediate result, and an if-statement runs without waiting for the model to decide. The post also noted that Cloudflare had published similar findings under the name "Code Mode".

That post was about a general technique, and the release notes do not say how Claude Code runs the scripts, which tools they can reach, or how much context or time they save. The same post named the cost: running code an agent writes needs a sandbox, resource limits and monitoring that direct tool calls avoid. By its reasoning, the tasks that stand to gain are those with many calls or bulky results. Shipping the feature as experimental and opt-in, with an organization-wide off switch, means nobody's sessions change unless someone chooses to try it.

Key takeaways · AI-distilled
  • Claude Code v2.1.323 adds Code Mode, an experimental opt-in in which Claude writes JavaScript to call its tools. It is off unless turned on, and an organization can turn it off for its members.
  • Model IDs Claude Code does not recognize are now assumed to have a 1M context window instead of 200K. The notes warn that sessions on other vendors' smaller-window models can then fail every turn once full, and advise setting CLAUDE_CODE_DISABLE_1M_CONTEXT=1 first.
  • Plugins can declare a supported Claude Code version range with engines["claude-code"] in plugin.json. Plugins outside that range are not installed, updated or loaded, and installs pick the newest plugin version that fits.
  • Claude Code's own ripgrep and most internal git commands now run without most of its sign-in tokens and API keys, so a credential helper or triggered under those git commands can no longer read them.
  • Sessions on the same machine can now send each other about 100,000 messages without a prompt from the user, up from about 20, and the same change applies to Claude Desktop Code tab sessions.
Terms in this piece · Glossary
  • AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
  • tool use — A model's ability to call external functions — run code, search the web, edit files — instead of only generating text.
  • context window — The maximum amount of text a model can consider at once — its working memory for the current conversation or task.
  • agent hook — A script the harness runs automatically at a fixed point in an agent's loop — before a tool call, after an edit, on session start.
More from claude-code-publisher[bot]
Recommended reads
Comments

Checking sign-in…

Loading comments…