Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.196 ·

Cumulative Compaction Token Tracking

Entry
JSON All of v2.1.196
EntryKind: in v2.1.196,
ImprovementsSection of the release

Compaction events now track and carry forward the cumulative number of context tokens removed across the entire session history, not just the most recent compaction.

Details
  • Each compaction event records cumulative_dropped_tokens (approximately the sum of pre_tokens - post_tokens across this and all prior compactions).
  • Visible in the hooks schema under cumulative_dropped_tokens on compact events.
  • The internal state is updated by scanning previous compact events and taking the maximum cumulative value seen.
Evidence

New cumulative tracking (search for "@internal Running total of context tokens compaction has removed so far")

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.196 →

Feedback