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.
Background sessions persist unsent prompt drafts to .prompt-stash
An unsent prompt draft in a background session is saved to disk and restored on reconnect, cursor position and all.
You'll noticeTier: how much it should matter to you
4Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
SessionsArea: what it touches
New FeaturesKind: in v2.1.257,
What probably matters to youSection of the release