Files
pipelines/internal/server
alan 686690f7b4 Server: serve a Claude chat's history page from a per-file line index
Reading a history page parsed the whole session file (tens of MB) on every
chat_messages. A per-file index now records which lines build each shown
message; a page re-reads and replays only its own messages' lines, and the
index follows appends by reading only the new bytes. Results match the
whole-file read (compared page by page on synthetic transcripts); shapes the
index cannot replay exactly fall back to the whole-file read.

chat_subscribe may ask (history: true) for the newest page in its reply,
read once the subscription is attached, saving the client a round trip.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 14:58:57 +00:00
..
2026-11-07 01:35:39 +00:00
2026-10-20 12:10:39 +01:00
2026-11-07 00:53:15 +00:00
2026-12-02 12:29:46 +00:00
2026-12-02 12:29:46 +00:00
2026-12-02 12:29:46 +00:00
2026-12-02 12:29:46 +00:00