What
A permission prompt is when Claude Code asks before doing something. In sessions with no one watching the screen, an answer to such a prompt can be parked, meaning held to be dealt with later. This release adds record-keeping around that.
- A new
notePromptEnded(e)records who ended a prompt and when, as{by, atMs}. onUnexpectedResponsenow callsnoteParkAnswerCameIn(e)first, noting that a parked answer came in.- When the session shuts down while a parked permission is still waiting to be dealt with, it now calls
notePromptEnded("shutdown"). - The report sent when a strict answer is dropped now includes
parkAnswerContextdetails, where before it carried only the reason.
Why
This is diagnostic record-keeping. It gives more detail for tracking down permission prompts that get stuck in sessions with no one at the screen, and does not change how you answer prompts.