█

AI/TLDR

Anthropic · 2026-11-12 · notable

Claude Code 2.1.323 — Code Mode lets Claude call its tools from JavaScript

In short

Claude Code 2.1.323 adds Code Mode, an experimental opt-in where Claude writes JavaScript to call its tools. Unknown model IDs now get a 1M-token context window by default instead of 200K.

Anthropic · 2026-11-12 · 1 source checked

Claude Code repository card on GitHub

Claude Code 2.1.323 adds an experimental Code Mode in which Claude writes JavaScript to call its own tools.

What is it?

Code Mode is the headline of Claude Code 2.1.323: an experimental, opt-in mode in which Claude writes JavaScript to call its tools. Organizations can also turn it off for all their users.

How does it work?

In Code Mode, Claude writes JavaScript code, and that code calls Claude Code's tools. Outside Code Mode, the release also lets a plugin state the Claude Code versions it supports in plugin.json, and the CLI will not install, update or load a plugin outside that range.

Why does it matter?

Teams should check one default change: Claude Code now assumes a 1M-token context window for model IDs it does not recognize, up from 200K. Setting CLAUDE_CODE_DISABLE_1M_CONTEXT=1 keeps the old 200K limit. The VS Code extension also now asks for trust before the first session in a new folder.

Who is it for?

Claude Code users and plugin authors

Try it

npm i -g @anthropic-ai/claude-code@2.1.323

Sources

Tags

  • claude-code
  • anthropic
  • coding-agent
  • cli
  • code-mode
  • plugins
  • vscode
  • developer-tools
  • release

← All releases · Learn AI