Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
CompactionArea: what it touches
Internal ChangesKind: in v2.1.321,
Internal ChangesSection of the release
What
Compaction is when Claude Code summarizes earlier parts of a conversation to free up room. Tokens are the small chunks of text the model counts to measure length.
When Claude Code looks back for the latest token count and reaches a compaction, it now stops there. If that compaction did not record the size of the conversation after it, Claude Code reports no count. Before, it returned a count at any compaction.
A compaction request now passes along a summarizeKeptRounds option.
Why
This affects how Claude Code works out how full the conversation is right after a compaction.