Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.257 ·

Background sessions persist unsent prompt drafts to .prompt-stash

An unsent prompt draft in a background session is stashed to disk and restored when the session comes back.

TierYou'll noticehow much it should matter to you
Useful4my rating, 1 to 5
Signal4worth watching, 1 to 5
AreaSessionswhat it touches
KindNew Featuresin v2.1.257,
Group of 2 You'll notice Notable No documentation found

An unsent prompt draft in a background session is stashed to disk and restored when the session comes back.

Background sessions now write the in-progress, unsent prompt text (composer text, cursor offset, pasted-content ids, launch-warning state) to a .prompt-stash file under the job directory, validated against a schema and written atomically. A new class subscribes to the prompt-input store's stash field and persists it, and on connection the reverse-proxy server's onConnection now calls promptStash.restore() unconditionally, in addition to the existing restorePromptDraft, so a background session recovers an in-progress but unsent prompt after a restart or reattach. Stash size is capped, falling back to memory-only with a warning if the draft is too large to persist.

See this entry in the whole of v2.1.257 →

Feedback