Anthropic released Claude Code v2.1.260, introducing a fullscreen diff panel for uncommitted changes and adding the /advisor command to headless sessions. The update also resolves several critical issues with prompt caching on Claude Fable 5.1 and fixes permission rule handling in the Bash sandbox.

  • Added a diff panel that opens beside the conversation in fullscreen mode to show uncommitted changes as Claude edits, toggleable via /diff.
  • Added a likely cause for prompt-cache misses to /cost and the status line's prompt_cache field.
  • Added /advisor text command support for desktop app, Remote Control, and headless sessions.
  • Fixed prompt caching on Claude Fable 5.1 not covering context attached after tool results.
  • Fixed Edit/Write/Read permission rules with parentheses in paths being dropped by the Bash sandbox.
  • Improved auto-compact for 1M-context models so Opus and Fable sessions compact shortly before the limit.

These changes improve visibility into code modifications, enhance reliability of prompt caching for specific model versions, and ensure permission rules are applied correctly.