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

Claude Code v2.1.246 ·

Session state reports idle instead of running when the main loop is not working

Session state now reports idle rather than running when the main loop isn't actually working.

You'll notice Improvements
JSON All of v2.1.246
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
ImprovementsKind: in v2.1.246,
ImprovementsSection of the release
What

After the last pending permission or dialog request clears, the session used to always report running to anything watching session state, including SDK and remote clients. It now asks an optional liveness callback first and reports idle when the main loop says it is not live.

Details
  • The callback is optional; when it is absent, behaviour is exactly as before.
  • Affects consumers subscribed to session state change notifications, which previously saw a spurious busy state after a prompt was answered.
Evidence

mainLoopLiveness

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

Feedback