Files
gabrielvidalandClaude Opus 5.5 8aabb5e3b8 feat(drafts): composer drafts kept on the server, per profile, and a Drafts page
Every composer's live draft (text, tags, uploaded files) and its Save-as-draft
shelf now live on the hub (backend drafts/, /api/drafts, per user — guests
too), synced over SSE: a prompt started on the phone is waiting at the desk.
The home composer keeps one draft per profile (spawn:<profileId>), each reply
box its own (resume:<sid>). A change made on another device is taken in only
while the composer isn't being typed in (@gabvdl/ui 0.47 draftStore).

/drafts (Files → Drafts with the profile switch; a guest's Me → Drafts) lists
the unsent prompts and saved drafts — Open puts one back in its composer,
Copy, Delete with undo. The old localStorage drafts are imported once.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 16:46:05 +01:00

2 lines
59 B
Python

"""Composer drafts kept on the server (store + routes)."""