Unclear What sets heldDenyResume, and what a host program sees differently, is not shown.
What
A turn is one exchange where you send something and Claude answers. Messages Claude Code sends to Claude can now carry an outsideTextTurn marker. Several parts of Claude Code act on it:
- The message queue: sent messages can carry
outsideTextTurn, and delivering a message now also tells the queue to stop waiting (settleWaiting()). - Headless sessions, which run Claude Code with no interactive screen, for example from the SDK: turns marked
outsideTextTurn,pollEventDeliveryorpollEmptyDispatchare handled specially. Rows now carryrowSource. The session acceptsheldDenyResume, and a denied permission whose request has lost its owner now triggers a new cleanup. - Skill permissions: a skill can let some tools run without asking, and Claude Code resets that list each turn unless
skipSkillPermissionResetis set. The reset now also runs whenoutsideTextTurnis true, even ifskipSkillPermissionResetis set. Before,skipSkillPermissionResetalone decided it.
Why
Tools a skill allowed may now be reset in turns that do not come from your typed text, even where the reset used to be skipped. Programs that host Claude Code through the SDK may see denied permissions resumed and cleaned up differently.
Names in the bundleheldDenyResume
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
What sets `heldDenyResume`, and what a host program sees differently, is not shown.