Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.191 ·

Prompt Draft Auto-Save [In Development]

Entry
JSON All of v2.1.191
EntryKind: in v2.1.191,
In DevelopmentSection of the release
What

Infrastructure for saving the current input box contents as a draft (.prompt-draft) has been added, which would allow the prompt to persist if the session exits unexpectedly.

Status

Fully implemented — write and read paths are both present. Not yet confirmed as user-visible in all configurations.

Details
  • Draft is written to CLAUDE_JOB_DIR/.prompt-draft, capped at 256 KiB (content is sliced at 262144 bytes before write)
  • On session restore, the draft file is read back (up to 1 MiB), then immediately deleted — one-shot recovery, not a persistent store
  • If the session is not in auto mode, the draft is restored to the composer input box directly (V$t)
  • If the session has no prior prompt set, the draft is restored to in-memory context (Myt)
  • The earlier changelog note that "no write/read paths appear to be wired" is outdated — both paths exist in this version
Evidence

Draft write/read functions (search for ".prompt-draft" or the 262144 byte cap constant)

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.191 →

Feedback