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.242 Home All releases olderv2.1.241 v2.1.243newer
Claude Code v2.1.242

Resume can re-attach to a tool call that was interrupted

Not switched on
Useful3 Signal4
Resume Notable

Resuming can pick up an interrupted tool call, but only with two env vars set.

Re-attaching to an in-flight tool call requires both CLAUDE_CODE_RESUME_TOLERATES_CONTEXT_APPENDS and CLAUDE_CODE_RESUME_INTERRUPTED_TURN.

CLAUDE_CODE_RESUME_TOLERATES_CONTEXT_APPENDSCLAUDE_CODE_RESUME_INTERRUPTED_TURN
What

Resuming a session can pick up a tool call that was still in flight instead of discarding it, when the pending action names a tool use that is still the last real turn. Both CLAUDE_CODE_RESUME_TOLERATES_CONTEXT_APPENDS and CLAUDE_CODE_RESUME_INTERRUPTED_TURN must be set for this path; with either unset the old behaviour stands.

Details
  • When the recorded tool name does not match the pending action, resume reports a name mismatch rather than re-attaching.
  • CLAUDE_CODE_PARKED_PERMISSION_WAIT_MS sets how long a parked permission prompt waits, defaulting to 2000ms.
Evidence

CLAUDE_CODE_RESUME_TOLERATES_CONTEXT_APPENDS

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.242 →