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.

What happened
The latest update to Anthropic's Claude Code platform introduces several stability and usability improvements. Notable changes include the addition of the 'onFailure': 'block' option for mcp_tool hooks, which now blocks actions if a hook call fails. A warning has also been added for sessions that skip permission prompts, noting that messages may be held or dropped by cloud sessions.
Other updates include a notice in the /status and claude doctor commands when an OpenTelemetry exporter lacks an endpoint, potentially leading to data loss. The CLAUDE_CODE_DISABLE_DEFERRED_TOOL_RESUME environment variable was introduced to prevent deferred tool calls from executing. Support for the policy plugin's allowManagedModsOnly option was also added for apps embedding Claude Code.
Why it matters
These updates enhance the reliability and transparency of the Claude Code platform, particularly in cloud and self-hosted environments. By improving error handling and session management, the release addresses common pain points such as data loss, unexpected behavior, and compatibility issues with third-party providers.
Key details
The release includes fixes for rare screen freezes, markdown rendering issues, and the Esc key behavior in permission prompts. A startup warning was added for the self-hosted runner when a policy's maxEffortLevel is invalid. The self-hosted runner now supports the --repository-folder option to name the repository folder at --capacity 1.
The release also includes changes to Code Mode, such as preventing the loss of loaded skills and hooks during session resumption and ensuring scripts are notified when long outputs are cut off. A typo in a scheduled task's project file no longer causes the task to be deleted upon the next save.
Sources
Related stories

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.

Anthropic Fixes Security and UX Issues in Claude Code v2.1.325
Anthropic released Claude Code v2.1.325, addressing security, interface, and integration issues.

Ollama Releases v0.40.17-rc0 with Module Enhancements
Ollama's v0.40.17-rc0 update includes improvements to CLI restore, Vulkan GPU support, and module updates.
Google Gemini CLI Updates Token Usage Tracking and Fixes
Google Gemini CLI v0.69.0-preview.0 adds a /stats heatmap and resolves several bugs.

Claude Code Update Enhances Security and Stability
Anthropic's Claude Code v2.1.317 introduces security improvements, bug fixes, and new features for better user experience.

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.