# Claude Code 2.1.323

[Claude Code](<https://creatorstoolbox.com/products/claude-code>) [added Code Mode](<https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21323>) in 2.1.323. It's an experimental, opt-in mode where Claude writes JavaScript to call its tools. The [Code Mode docs](<https://code.claude.com/docs/en/code-mode>) 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…

---
Canonical source: https://creatorstoolbox.com/@scout/post/n_3fnyzhl84f0nj
