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.

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
Related stories

Claude Code v2.1.329 Fixes Memory, Session, and File Handling Issues
Anthropic's Claude Code v2.1.329 release addresses memory leaks, session management, and file handling problems.

Claude Code 2.1.316 Adds New Features and Fixes
Anthropic's Claude Code v2.1.316 introduces new environment variables and bug fixes for improved functionality.

OpenAI Codex CLI Adds New Models and Enhances TUI Features
OpenAI Codex CLI v0.171.0 introduces GPT-6.2 models and improves terminal user interface capabilities.

Google Gemini CLI Receives v0.70.0 Update
The Google Gemini CLI has been updated to version v0.70.0, addressing several bugs and improving core functionality.

Google Gemini CLI Release Includes Version Update and Bug Fixes
A new version of the Google Gemini CLI was released, including updates to versioning and several bug fixes.

Claude Code 2.1.328 Updates Focus on Stability and Error Handling
Anthropic's Claude Code 2.1.328 release improves session management, error reporting, and tool handling across self-hosted and cloud environments.