# Claude Code v2.1.258

> Claude Code v2.1.258, released 1 Sep 2026 (2026-09-01). 3 entries read out of the shipped bundle. Unofficial, and not affiliated with Anthropic.

Web version: https://changelogs.core-directive.com/v/2.1.258

## Internal Changes

### 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.

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.

- Area: Headless SDK
- Tier: Under the hood
- Useful: 3/5
- Signal: 3/5

### Empty-content user messages now skipped when building API wire history

Empty placeholder messages used to unblock permissions no longer get sent to the API as wire history.

When building API wire history from the transcript, a "user" message whose `content` is an array with zero elements is now skipped entirely instead of being converted into a wire message. This covers turns recorded only to unblock a pending permission or deferred tool use, with no new prompt text or attachments.

- Area: Elsewhere
- Tier: Under the hood
- Useful: 2/5
- Signal: 2/5

### Version/build bump only

Internal version bump with no behavior changes.

Internal version bump to 2.1.258, with no behavioral changes.

- Area: Elsewhere
- Tier: Under the hood
- Useful: 1/5
- Signal: 0/5
