Follow Discord
Sweep 30 Oct 2026 · 01:02Z Build v2.1.314 532 read Stable v2.1.308 Latest v2.1.314 Next v2.1.314 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.314 ·

Attribution header gains previous-message fields after compaction

After compaction, the attribution header can now carry cc_prev_msg, cc_prev_prompt_index and cc_prev_turn_index for first-party providers

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

What

Compaction is when Claude Code shortens a long conversation by summarising it. With each request, Claude Code sends an attribution header, extra information attached to the request about where it came from. With first-party providers, that header can now include three new fields taken from the response before compaction:

  • cc_prev_msg
  • cc_prev_prompt_index
  • cc_prev_turn_index

The pattern Claude Code uses to strip these attribution fields out of headers now also matches the three new fields. Before, it matched only prev_req, prompt_id, turn_origin, prompt_index, turn_index and workload.

Why

Requests sent after compaction can now be linked back to the conversation before it. If you inspect request headers, expect these extra fields.

See this entry in the whole of v2.1.314 →

Feedback