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.274 ·

Draft restoration now preserves pasted-content mode correctly

Restoring a saved draft now correctly preserves pasted content only for prompt-mode drafts

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindBug Fixesin v2.1.274,
You'll notice

Restoring a saved draft now correctly preserves pasted content only for prompt-mode drafts

What

When Claude Code restores a previously saved draft of your input (for example after using summarize or undo), it now checks what kind of draft it is:

  • prompt drafts are re-parsed so any pasted-content placeholders are correctly restored
  • other kinds of drafts, such as bash input, keep their raw text and are treated as having no pasted content
  • the function that restores pasted content is only called when there is actually pasted content to restore
Why

Previously, restoring a draft could mishandle pasted content depending on the draft's mode. This fix makes sure pasted text (like a block of code or file contents you pasted in) comes back correctly when you return to a prompt draft, without incorrectly applying pasted-content logic to non-prompt drafts like bash commands.

See this entry in the whole of v2.1.274 →