Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.257 ·

Tool-definition prompt cache key gains new bits for query source and prompt trimming

The tool-definition cache key now also reflects the query source and whether prompt trimming was applied.

Under the hood Internal Changes
JSON All of v2.1.257
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Prompt CachingArea: what it touches
Internal ChangesKind: in v2.1.257,
Internal ChangesSection of the release

The cache key used to reuse compiled tool definitions across turns now also factors in whether the query came from a particular source, adding a new "K:" prefix, and whether first-line pre-read or bash-first prompt trimming was applied. This joins the existing lean-prompt ("L:") and grep ("G:") bits already in the key.

See this entry in the whole of v2.1.257 →

Feedback