AI

Claude Code v2.1.321 adds Claude Fable 5.2 and fixes 50+ bugs

Anthropic released Claude Code v2.1.321 with Claude Fable 5.2 as the default model and approximately 50 bug fixes addressing security, permissions, and file handling.

3 min readSource: Claude Code Releases

Curated by Kandala Guruprasad. Drafted with AI and checked against the source.

Claude Code v2.1.321 adds Claude Fable 5.2 and fixes 50+ bugs

TL;DR

  • Claude Fable 5.2 is now the default Fable model with 1M context window at $8/$40 per Mtok and $0.20/Mtok cache reads
  • Added --settings flag to claude remote-control to apply persistent settings files across sessions
  • Fixed critical security issues including MCP OAuth secrets being sent to redirected hosts and bash commands running outside sandbox without prompts
  • Resolved approximately 50 bugs affecting file editing on network paths, permission checks, and session stability
Default Fable model
Claude Fable 5.2
Context window
1 million tokens
Cache read price
$0.20 per Mtok

What changed in v2.1.321

Claude Code v2.1.321 introduced Claude Fable 5.2 as the new default Fable model, featuring a 1-million-token context window with pricing of $8 per million input tokens and $40 per million output tokens, plus $0.20 per million tokens for cache reads.

The release added a --settings flag to the claude remote-control command, enabling users to apply a settings file that carries over to every session it starts. When the settings file changes, new sessions will not start until you restart claude remote-control itself.

Security and permission fixes

The release addressed multiple security concerns related to sandbox escaping and permission handling. MCP OAuth requests were fixed to prevent sending sensitive data such as refresh tokens to another host when a server redirected them. A case where read-only Bash commands executed outside the sandbox without prompting was corrected, and Bash permission checks were fixed to evaluate file writes from the correct folder before prompting.

Additional permission-related improvements included fixing deny rules and protected-file prompts that were not applying to files written by cp or mv commands into directories. The fallback model behavior was corrected when the first model was blocked before replying, and the SEP-2352 issuer warning that appeared during repeated MCP server sign-ins was eliminated.

File handling and network path repairs

NotebookEdit and Edit operations on network paths such as UNC shares, WSL folders, and /net mounts were fixed to prevent deleting, overwriting, or replacing entire files unexpectedly. NotebookEdit no longer deletes or overwrites a notebook's first cell when the call does not name a specific cell. Edit was corrected to avoid changing the first of several matches or replacing a whole file on an empty old_string value.

Other file-related fixes include correcting context usage estimates that were overcounting tool definitions when exact token counts were unavailable, and addressing issues where large hook outputs pointed Claude to files holding another hook's output from the same tool call.

Session and configuration improvements

The /config display was corrected to show Auto as the default permission mode when new sessions start in auto mode, with pressing Space on "Auto (default)" now saving "Don't Ask" instead of "Plan". Project skills, commands, and agents no longer disappear after their folder is removed and restored mid-session, such as during git stash operations or after entering a worktree.

Background agent handling was improved to prevent losing their reports when conversations were compacted before Claude answered. Remote Control session messages sent with "Queue for later" are now properly processed during the running turn, and messages from Claude Desktop Code tab sessions no longer stay paused after you type while Claude is still working.

Performance and stability enhancements

Fast mode behavior was improved to handle rate-limiting, overload, and serving failures more gracefully by attempting standard speed on the same model first before giving up. High memory use in long sessions that repeatedly read single lines from large files was resolved.

Various edge cases were fixed including hang or out-of-memory crashes when cloud session connectors list resources with very long names, and blank screens or missing answers at startup when stored MCP sign-in records were null. The install command and install scripts now finish 2 to 4 seconds faster, and Remote Control sessions whose process crashed can pick up new messages sooner.

Source

Claude Code Releaseshttps://github.com/anthropics/claude-code/releases/tag/v2.1.321

AI-assisted, verified against the source. This post was drafted with AI from the primary source linked above and checked automatically against it. For anything you depend on, read the original.

  • #claudecode
  • #release
  • #bugfixes
  • #security
  • #modelupdates

More in AI