ToolClaudeClaude Code

Anthropic fixes Claude Code startup freezes

Original title: Claude Code 2.1.311

Date
Company
Anthropic
Type
Tool
Illustration: Anthropic fixes Claude Code startup freezes

Plain language

What it is
Anthropic released version 2.1.311 of the Claude Code development tool, which includes various bug fixes and improvements.
How it works
The update automatically shrinks long conversations to prevent work interruptions and fixes issues where the tool would freeze. It also adds syntax coloring to code blocks in VS Code to make them easier to read.
Where it is available
The changes are available in the new version of Claude Code, including its integrations with VS Code and self-hosted setups.
Example
If your conversation with the tool becomes very long and exceeds the memory limit, the system will automatically compress the chat history so you can continue working.

For developers

What it is
Claude Code version 2.1.311 has been released with multiple bug fixes, performance improvements, and new configuration options.
How it works
It introduces new flags for managing idle sessions in self-hosted runners. It also automatically compacts standard-context sessions when they exceed 200K tokens to prevent credit usage errors.
Where it is available
The updates apply to the Claude Code CLI, self-hosted runners, and the VS Code extension.
Example
A developer running a self-hosted runner can use the `--hold-idle-file` flag to keep an idle session alive while the host reports that background processes are still running.

The original post

The headline and explanation on this page are based on Anthropic's post. The full details are in the original.

Claude Code 2.1.311

Read the source (opens in a new tab)
Every morning · in Hebrew

Yesterday's AI, in this morning's inbox

The new models, tools and deals, each with a short note on what it changes for a business.

How often?

A short issue in the morning, on every day there is news. Written in Hebrew.

Unsubscribe in one click. Your email is used only for the brief.

Past issues