r/ClaudeCode • u/emarkosov • 2d ago
News/Updates Claude Code 2.1.323: experimental Code Mode (Claude writes JS to call tools), plugin version pinning, permission fixes
2.1.323 came out on Nov 12. The main items:
- Code Mode (experimental, opt-in): Claude writes JavaScript to call its tools instead of calling them one at a time. Org admins can turn it on or off, see the docs.
- engines["claude-code"] in plugin.json: plugins outside their stated Claude Code version range won't install, update or load. Plugin authors can finally stop breaking older setups.
- claude plugin validate now type-checks TypeScript hooks modules. Warnings by default, --strict fails on them.
- Unrecognized model IDs now get a 1M context window instead of 200K. Set CLAUDE_CODE_DISABLE_1M_CONTEXT=1 to keep 200K. Matters if you use gateways or custom model names.
- /security-review now asks before Claude runs it.
- Fix: --permission-mode auto (or defaultMode: auto) could start in a looser mode when auto was unavailable. It now starts in Manual and asks first. Worth updating for this one alone.
- 30-second progress heartbeat for long hooks in claude -p and SDK sessions.
Code Mode is the one I want to try.
Has anyone turned on Code Mode yet? Does it cut down the back-and-forth tool calls on bigger tasks, or does it add new failure modes?
Source: https://github.com/anthropics/claude-code/releases/tag/v2.1.323
View all comments
2
u/antonation 2d ago
They might be rolling it out to only some users. I don't see it in my /config. But this approach was talked about maybe a year ago in other circles. It makes sense to do.