Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.318 ·

Context clearing reports more detail about cleared tool results and token counts

After old tool results are cleared, Claude Code now records how many tool uses went, the token count, and whether that count was measured

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

Context is the conversation Claude can see at once, measured in tokens (small pieces of text). When old tool results are cleared to free room, Claude Code now reads three things from the report instead of one number:

  • the input tokens involved
  • how many tool uses were cleared
  • whether the token count was actually measured

Previously it used a single number, the smaller of the server's and its own estimate. Now, when its own estimate was measured from the prompts, it trusts that estimate. The record kept when results are cleared after a period of inactivity now also notes the token count used and whether it was measured, and the condition that decides when that record is sent no longer looks at an out-of-date value.

Why

Claude Code's idea of how full the context is after tool results are cleared is more accurate.

See this entry in the whole of v2.1.318 →

Feedback