Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.275 ·

Compact/session-clear now resets a 'host declared tools' flag explicitly

Clearing or compacting a session now explicitly resets a per-host 'declared tools' flag

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaSessionswhat it touches
KindInternal Changesin v2.1.275,
Under the hood

Clearing or compacting a session now explicitly resets a per-host 'declared tools' flag

What

When a session is cleared or compacted (compaction summarizes and trims history to save space), Claude Code now explicitly resets a piece of state that tracks whether a host has 'declared' its tools, using a new per-host state store. This store can be subscribed to for change notifications, and at least one place in the code uses that subscription to trigger a refresh shortly afterward.

Why

This makes sure that after a session is cleared or compacted, Claude Code doesn't hold onto a stale record of which tools a host previously declared, so that state gets recomputed cleanly.

See this entry in the whole of v2.1.275 →