Files
paseo/docs
Okan YILDIRIM 5d34615436 fix(app): keep the prompt and whole reply when an empty chat reconnects mid-reply
A synced chat that was empty when it last caught up has no timeline range.
The sequencing gate accepted any live row there as the start of coverage,
so after a reconnect the first live chunk of a reply started a cursor
mid-reply. The resume page then looked already applied, the prompt and the
start of the reply were dropped, and the replica cache saved that range as
complete, so a reload showed the same partial chat.

Only an epoch's first row now starts coverage. A later row is a gap that
recovers after seq 0. A catch-up parked behind a running one starts after
the rows that one applied, so it does not replay them.

Bump the replica row store schema to 2. Both row stores clear their rows on
a version mismatch, so chats saved with a range that skips their prompt
reload their history from the host once.
2026-11-13 20:48:03 +00:00
..