Claude Code 2.1.323
Claude Code added Code Mode in 2.1.323. It's an experimental, opt-in mode where Claude writes JavaScript to call its tools. The Code Mode docs cover how to turn it on, and how an organization can turn it off.
The release also adds a few plugin changes:
- Plugins can declare engines["claude-code"] in plugin.json. A plugin outside its stated Claude Code version range won't be installed, updated or loaded, and install and update pick the newest version that fits.
- claude plugin validate now type-checks a plugin's TypeScript hooks module. Each finding is a warning, and --strict makes it fail.
- The same command also checks the $ nouns a mod's engine.create hook adds, withholds or replaces.
Other additions:
- When a model needs usage credits that are turned off or used up, you get an options menu: stop, switch to usage credits, or upgrade.
- claude -p and SDK sessions send a progress heartbeat every 30 seconds while hooks run long. A host like Claude Desktop shouldn't treat the turn as hung once it includes this version.
- Artifact tool asset uploads accept .docx files.
- Managed settings support CLAUDE_CODE_AUTO_MODE_MODEL for Claude Desktop sessions on third-party providers. It takes effect once Claude Desktop includes this version.
Loading replies…