Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.258 ·

New hasPrompt signal added to headless/SDK turn processing

Resuming a turn with no new prompt now skips an unnecessary model call in headless and SDK use.

TierUnder the hoodhow much it should matter to you
Useful3my rating, 1 to 5
Signal3worth watching, 1 to 5
AreaHeadless SDKwhat it touches
KindInternal Changesin v2.1.258,
Under the hood

Resuming a turn with no new prompt now skips an unnecessary model call in headless and SDK use.

Headless/SDK turn processing now computes a hasPrompt flag, false when the turn's prompt argument is an array with no elements. When an orphaned permission can't be applied and there is no prompt and no deferred tool use, the turn now ends without a model call, logging "Orphaned permission could not be applied and the turn has no prompt: ending the turn without a model call" and firing a telemetry event. This treats a "resume the turn, no new prompt" request as an empty prompt rather than a real one.

See this entry in the whole of v2.1.258 →