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.222 ·

SDK stream shutdown can preserve parked permission requests

Pending permission prompts can survive an SDK stream closing instead of vanishing.

Under the hood Nothing to try yet In Development
JSON All of v2.1.222
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SDKArea: what it touches
In DevelopmentKind: in v2.1.222,
In DevelopmentSection of the release

Parked permission requests can be preserved through shutdown, behind two internal checks with no resolvable flag name.

What

The control client can remember pending can_use_tool requests for a parked tool when the input stream closes, so they survive shutdown instead of being dropped.

Details
  • Preserved ids live in a preservedParkRequestIds set.
  • While any are preserved the session is not flipped back to "running".
  • Ids are cleared as responses arrive or when the park is retracted.
  • Guarded by two internal predicates evaluated at shutdown time that could not be resolved to a flag name.
Evidence

preservedParkRequestIds

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

Feedback