Skip to main content
Products & Tools

Claude Code 2.1.323 Adds Code Mode and Plugin Enhancements

Anthropic's Claude Code release adds experimental JavaScript writing, plugin version checks, and improved session management.

By Precis Daily Newsroom1 min read264 words
AI-summarized from the linked source and published automatically — not human-edited.How this works →
Illustration for: Claude Code 2.1.323 Adds Code Mode and Plugin Enhancements
Illustration

What happened

Anthropic has released an update to its Claude Code tool, introducing an experimental Code Mode that enables the tool to write JavaScript to call its functions. This update also adds a new entry to plugin.json for version-specific plugin installation and introduces type checking for TypeScript hooks in the validate command.

The release includes a variety of bug fixes and feature additions, including progress heartbeat updates during long-running hooks, support for.docx file uploads, and improved handling of memory-intensive tasks. Additional changes include new environment variables for customization and session management improvements to prevent unintended sign-outs during token renewals.

Why it matters

These updates aim to improve the reliability and usability of Claude Code for developers, particularly in managing plugins and ensuring stable session behavior. The addition of JavaScript writing capabilities in Code Mode expands the tool's utility for coding tasks, while the plugin version checks help ensure compatibility and reduce errors.

Key details

The new Code Mode allows users to write JavaScript to call tools, and a new entry, engines["claude-code"], has been added to plugin.json. The claude plugin validate command now includes type checking for TypeScript hooks with warnings and strict mode for errors. The release also supports.docx file uploads and includes a progress heartbeat every 30 seconds during extended hook operations.

A start-up warning has been added for Bash allow rules with a * in a variable's value, and a warning is now provided when a plugin's language server fails to start. The release also includes several bug fixes related to memory usage, session management, and user interface elements.

Sources

Summarized from the linked originals.

Related stories