Skip to main content
Products & Tools

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.

By Precis Daily Newsroom1 min read266 words
AI-summarized from the linked source and published automatically — not human-edited.How this works →
Illustration for: Claude Code 2.1.328 Updates Focus on Stability and Error Handling
Illustration

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

Summarized from the linked originals.

Related stories