subagentic.ai RSS X YouTube GitHub
AI-generated illustration

News

Claude Code 2.1.323 lets Claude call tools from experimental Code Mode

Claude Code 2.1.323 adds experimental Code Mode, where Claude writes JavaScript to call tools, plus plugin version constraints.

claude-codeanthropictoolsplugins

Claude Code 2.1.323, published November 12, 2026, adds Code Mode. It is an experimental opt-in in which Claude writes JavaScript to call its tools.

That line leads the v2.1.323 release notes. The notes say to see documentation to turn Code Mode on, or to turn it off for an organization. They do not name the setting, and they do not list the steps. Those details are not in the release text, so this article does not supply them.

What the notes do confirm is narrow. Claude writes JavaScript, and that JavaScript calls its tools. The feature is marked experimental, and the path in is opt-in. Treat the release line as the announcement, not as an enablement guide.

Plugin authors get a version gate in the same release. plugin.json can declare engines["claude-code"]. Plugins outside their stated Claude Code version range are not installed, updated, or loaded. 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 fails on it. The command also reports the $ nouns a mod's engine.create hook adds, withholds, or replaces. Validate fails a mod whose engine.create hook is not written in the one accepted form; installed mods keep loading. A *, namespace, or negated hook on engine.create now only observes. To add or withhold a $ noun, hook engine.create by name.

Start-up also warns about Bash allow rules with a * in a variable's value, such as Bash(PORT=* npm run dev). A related fix in the same release: Bash allow rules with an attached wildcard, such as Bash(ls*), had been skipping the permission prompt in some cases. A rule that names a variable, such as Bash(NODE_ENV*), now asks.

Before the next plugin install or update, read the v2.1.323 release notes and check whether plugin.json should state a Claude Code version range. If you want Code Mode, use the documented on and off steps once you have them. Do not guess a setting name from the changelog line.

Sources