Claude Code v2.1.323 adds experimental Code Mode and many permission fixes
Claude Code v2.1.323 adds Code Mode, an experimental opt-in in which Claude writes JavaScript to call its tools. Plugins can now declare a compatible Claude Code version range, and `claude plugin validate` type-checks TypeScript hooks. The release also fixes…
Why it matters
Claude Code users should update, since several fixes close cases where Bash permission prompts could be skipped.
What happened
1 min readClaude Code v2.1.323 adds Code Mode, an experimental opt-in in which Claude writes JavaScript to call its tools. Plugins can now declare a compatible Claude Code version range, and `claude plugin validate` type-checks TypeScript hooks. The release also fixes several issues in Bash permission checks, the sandbox, auto mode and sign-in and profile handling.
Our analysis
Code Mode resembles the code-as-tool-call approach other agent frameworks have tried and could cut round trips, but it is experimental for now. The more important part for teams is the security fixes: wildcard allow rules, an `rm` check judged from the wrong folder, and the sandbox switching off mid-session. The plugin engines field is useful for plugin authors. The notes do not give severity details.