Claude Code 2.1.260 Adds a Live Diff Panel and Prompt-Cache Miss Reasons
Claude Code 2.1.260 adds a toggleable diff panel showing uncommitted changes beside the conversation and surfaces the likely cause of prompt-cache misses in /cost and the status line.
What it is
A release of Anthropic's Claude Code CLI, version 2.1.260.
What it does
Adds a `/diff` toggle that opens a panel beside the conversation in fullscreen mode showing your uncommitted changes as Claude edits, so you no longer need a separate terminal or editor tab to watch the diff live. It also adds a likely-cause explanation (tool definitions changed, system prompt changed, idle past the TTL) to prompt-cache misses in `/cost` and the status line, plus `/reload-plugins` for headless sessions and a text form of `/advisor` for the desktop app and Remote Control.
Why it matters
Instead of tailing `git diff` in another pane, you get the same visibility inline, and knowing why a cache miss happened (versus just that one happened) turns a mystery cost spike into an actionable fix.
How to use it
Update Claude Code and run `/diff` in fullscreen mode to toggle the panel; check `/cost` for the new cache-miss reason field.