ToolClaudeClaude Code

Anthropic updates Claude Code and adds cost tracking

Original title: Claude Code 2.1.319

Date
Company
Anthropic
Type
Tool
Illustration: Anthropic updates Claude Code and adds cost tracking

Plain language

What it is
Anthropic released Claude Code version 2.1.319. This update changes how the tool's automatic mode behaves when telemetry is turned off or when it is used behind certain gateways. It also adds new settings for managing permissions and tracking usage costs.
How it works
When the server cannot verify a call in automatic mode, the system will now ask the user for permission or deny the call. Users can change this behavior by adjusting environment variables or settings in their configuration.
Where it is available
These changes apply to the Claude Code command line tool and the Claude apps gateway. The automatic mode changes do not affect Bedrock, Vertex, or Foundry.
Example
A developer can use the new /usage command to view their spending for today, this week, and this month.

For developers

What it is
Claude Code version 2.1.319 introduces changes to auto mode when telemetry or feature flags are disabled, requiring server checks or explicit configuration. It also adds support for background MCP tasks, new environment variables, and gateway administration settings.
How it works
If the server cannot verify a call in auto mode, it is denied or prompted unless CLAUDE_CODE_AUTO_MODE_SERVER=0 is set. MCP tasks are automatically moved to the background, and the tool reports the result to Claude when finished.
Where it is available
The update applies to the Claude Code CLI, terminal sessions, and the Claude apps gateway.
Example
A developer can run the /claude-api latency-optimize command to identify latency bottlenecks in their Claude API code and test faster settings against their evaluations.

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.319

Read the source (opens in a new tab)

Featured in the morning brief

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