Claude Code v2.1.296: Claude can read a large file in one call

2 days ago

Claude Code 2.1.296 lets Claude read a large text file in one call. It also closes two permission-check gaps, lets subagents compact on their own window, doubles the MCP tool description limit, halves Sonnet 5.5 cache-read cost figures, and adds a HIPAA managed-settings example. https://github.com/anthropics/claude-code/releases/tag/v2.1.296 https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md https://github.com/anthropics/claude-code/blob/main/examples/settings/README-hipaa.md

Ask

Ask about this presentation

Answers are generated from this presentation.

Chapters

  1. 0:00Large files in one read
  2. 0:11Permission prompts
  3. 0:25Subagents and workflows
  4. 0:38Longer MCP descriptions
  5. 0:52Sonnet 5.5 cache reads
  6. 1:05HIPAA settings example
  7. 1:20Three fixes
  8. 1:34The full changelog
Show transcript

Large files in one read

Claude Code

Claude Code v2.1.296: Claude can read a large file in one call

allow_large on the Read tool

Reads past
the usual size limits for a text file
When
Claude needs the whole file and the context has room
CHANGELOG.md, v2.1.296 · anthropics/claude-code

Claude can now read a text file past the usual size limits in one call. The Read tool's new allow large option is for when Claude needs the whole file and the context has room.

Permission prompts

Claude Code

>Two commands that skipped the permission prompt now ask

Bash
commands that assign BASH_ARGV0 and then use it
Git Bash on Windows
rm -rf /c/Users/<name> in bypass permissions mode
CHANGELOG.md, v2.1.296 · anthropics/claude-code

Two commands that got past permission checks now ask first. Bash commands that set the BASH_ARGV0 variable and then use it, and on Windows, deleting a user's home folder from Git Bash in bypass permissions mode.

Subagents and workflows

Claude Code

>Subagents can compact sooner, and workflow agents can share one model

Subagents
autoCompactWindow compacts earlier than the main conversation
Workflow agents
CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL runs them all on one model
CHANGELOG.md, v2.1.296 · anthropics/claude-code

A subagent can now have its own auto compact window, so it compacts earlier than the main conversation. And a new environment variable runs every workflow agent on one model, while other subagents keep theirs.

Longer MCP descriptions

Claude Code

>MCP tool descriptions get twice the room

Tool descriptions
2,048 → 4,096 characters
Server instructions
2,048 → 4,096 characters
CHANGELOG.md, v2.1.296 · anthropics/claude-code

MCP servers get twice the room to describe themselves. The default limit on tool descriptions sent up front, and on server instructions, doubles from about two thousand to about four thousand characters.

Sonnet 5.5 cache reads

Claude Code

>Sonnet 5.5 cache reads now cost half as much in Claude Code's figures

Was
$0.20 per million tokens
Now
$0.10 per million tokens
Where
/cost, the status line, --max-budget-usd and the SDK
CHANGELOG.md, v2.1.296 · anthropics/claude-code

On Sonnet 5.5, Claude Code's cost figures for cache reads drop by half. The cost command, the status line, the max budget flag and the SDK price them at ten cents per million tokens.

HIPAA settings example

Claude Code

>A HIPAA settings example for managed Claude Code

settings-hipaa.json
sandboxed commands reach only hosts you list; local session data kept 30 days
managed-mcp-hipaa.json
turns MCP off
Starting point
your organization decides what its own environment needs
Requires
Claude Code 2.1.285 or later
examples/settings/README-hipaa.md · anthropics/claude-code

Organizations with the HIPAA configuration get a sample managed settings file to start from. Sandboxed commands reach only listed hosts, local session data is kept thirty days, and a second file turns MCP off.

Three fixes

Claude Code

>Fixed: file encodings, long PowerShell commands, code review output

Edit and NotebookEdit
refuse files that aren't valid UTF-8 instead of replacing every non-ASCII character
PowerShell on Windows
allow rules apply to commands up to 32 KB, up from about 1 KB
/code-review
findings print as a numbered list, not a raw JSON array
CHANGELOG.md, v2.1.296 · anthropics/claude-code

Three fixes. The Edit tool now refuses files in encodings like Shift JIS instead of mangling them. PowerShell allow rules cover commands up to thirty-two kilobytes. And /code-review prints a numbered list, not raw JSON.

The full changelog

Claude Code

Every change is in the Claude Code changelog

https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md

CHANGELOG.md in anthropics/claude-code
CHANGELOG.md, v2.1.296 · anthropics/claude-code

Nearly eighty changes shipped in this build, with fixes for hooks, plugins, Windows, the VS Code extension and Claude in Slack. Every one is in the Claude Code changelog on GitHub.

Up next

1:36

Claude Code: hooks can now block an action when they fail

@claude-code · 3 days ago

1:39

Claude Code v2.1.293: Claude Haiku 5.5 becomes the default Haiku model, and finished work stays finished after a compaction

@claude-code · 4 days ago

1:32

Claude Code: subagents run at the effort you ask for, plugins install from a marketplace in one command, and network-path reads ask first

@claude-code · 5 days ago

1:23

Claude Code v2.1.290: WebSearch refills by the hour, WebFetch says what it left unread, and scheduled tasks stop going missing

@claude-code · 6 days ago

1:25

Claude Code v2.1.289: Bash deny rules hold under sandbox auto-allow, and a failing plugin no longer ends your session

@claude-code · 1 week ago

1:40

Claude Code v2.1.288: Up restores a prompt cleared with Ctrl+C, and mid-response timeouts no longer fail the turn

@claude-code · 1 week ago

1:46

Claude Code v2.1.287: Claude Mods let plugins change deeper behavior, and 1M context is the default on Bedrock and Vertex

@claude-code · 1 week ago

3:04

Claude Code v2.1.286: resumed sessions keep every turn, refused models fall back, and secrets stay masked

@claude-code · 1 week ago

3:06

Claude Code v2.1.285: claude --desktop, a provider allowlist, and time limits on background commands

@claude-code · 1 week ago

3:08

Claude Code v2.1.284: Sonnet 5.5 by default, auto mode on every plan, and an Ultracode toggle

@claude-code · 1 week ago

2:49

Claude Code v2.1.283: prompt audit, exact model pinning, MCP and plugin fixes

@claude-code · 1 week ago

3:03

Claude Code v2.1.261

@claude-code · 1 month ago