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

Claude Code v2.1.227 ·

Remote sessions can adopt the host's auto-compact settings

Remote sessions now use the host's auto-compact settings for context and token display.

You'll notice New Features
JSON All of v2.1.227
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
CompactionArea: what it touches
New FeaturesKind: in v2.1.227,
New FeaturesSection of the release
What

A session running over the SDK or bridge can now be told the host's auto-compact configuration (whether it is on, the effective context window, the threshold, and whether it is enforced) and will use it for its own token-usage and context display, instead of guessing from local settings. A seed value can also arrive at session start.

Details
  • Carried as a new control frame type autocompact_state, stored in app state as remoteAutocompactState.
  • Successful adoption is reported as tengu_remote_autocompact_state_adopted, including enabled, enforced, source and via.
  • Frames that do not parse are dropped once, with the log line "[sdkMessageAdapter] Dropping malformed autocompact_state frame" and an invalid_frame error report.
  • The session state object gained onAutocompactInputsChanged and onConversationReset callbacks, which fire when the compaction window, model or settings change.
Evidence

tengu_remote_autocompact_state_adopted, [sdkMessageAdapter] Dropping malformed autocompact_state frame

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

Feedback