gsxdsm
3d28b3b212
FN-6632: preserve reattached chat stream chunks
Seed streaming accumulators from durable in-flight snapshots so reattached chat bubbles keep prior chunks.
- Add initial text, thinking, and tool-call snapshots to chat stream handlers.
- Wire main chat and QuickChat reattach flows to seed handler accumulators before replayed deltas arrive.
- Cover text, thinking, and tool-call continuation across shared handler, main chat, and QuickChat tests.
- Document the reattach accumulator invariant and add a published package changeset.
Files changed:
.changeset/fn-6632-chat-stream-reattach.md | 5 +
docs/architecture.md | 2 +-
docs/dashboard-guide.md | 2 +-
.../__tests__/createChatStreamHandlers.test.ts | 63 +++++++
.../dashboard/app/hooks/__tests__/useChat.test.ts | 182 +++++++++++++++++++++
.../app/hooks/__tests__/useQuickChat.test.ts | 147 +++++++++++++++++
.../app/hooks/createChatStreamHandlers.ts | 19 ++-
packages/dashboard/app/hooks/useChat.ts | 7 +
packages/dashboard/app/hooks/useQuickChat.ts | 7 +
9 files changed, 429 insertions(+), 5 deletions(-)
Fusion-Task-Id: FN-6632
Fusion-Task-Lineage: e2f2eb42-08aa-4bae-a79f-60cfc9fb03d4
2026-06-18 06:36:03 -07:00
..
2026-06-17 18:48:53 -07:00
2026-06-16 22:44:16 -07:00
2026-06-18 06:25:08 -07:00
2026-06-18 06:36:03 -07:00
2026-06-04 08:00:33 -07:00
2026-06-09 13:54:59 -07:00
2026-06-16 22:29:07 -07:00
2026-06-16 15:08:24 -07:00
2026-05-17 22:16:27 -07:00
2026-06-17 18:48:53 -07:00
2026-06-11 09:21:23 -07:00
2026-06-17 11:46:31 -07:00
2026-05-29 11:25:11 -07:00
2026-05-29 20:05:14 -07:00
2026-06-03 08:16:08 -07:00
2026-05-20 19:58:49 -07:00
2026-06-16 15:08:24 -07:00
2026-06-10 00:20:35 -07:00