Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.105 Home All releases olderv2.1.104 v2.1.107newer
Claude Code v2.1.105

Prompt Cache Break Detection [In Development]

What

Internal diagnostic that detects when the prompt cache is invalidated between API calls, identifying the cause (system prompt change, tool schema change, model change, TTL expiry).

Status

Active internally for telemetry only (tengu_prompt_cache_break event). Not user-visible.

Details
  • Snapshots system prompt, tools, and model between requests
  • When a cache break is detected, classifies the cause: system prompt changed, tools changed, model changed, betas changed, possible 5min or 1h TTL expiry, or unknown
  • Logs [PROMPT CACHE BREAK] with cause details
  • Helps Anthropic optimize prompt caching behavior
Evidence

Cache break detection (search for "PROMPT CACHE BREAK" and "tengu_prompt_cache_break")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.105 →