Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.222 Home All releases olderv2.1.221 v2.1.223newer

SDK stream shutdown can preserve parked permission requests

Under the hood
Useful2 Signal3
SDK

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

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 →