Commit 35e0712
- chat-message-list: `track message.id` (was `track $index`) so the @for
doesn't tear down DOM when the messages array briefly shrinks/refills
during streaming. Loses streaming-md renderer state on every teardown
→ visible flash + missed tokens.
- stream-manager: skip publishing an empty `messages` array during
streaming (both messages-event and values-event paths). An empty
payload mid-stream shouldn't wipe the UI; this was the upstream cause
of the transient empty-array we saw via MutationObserver instrumentation.
- Bumps: @ngaf/chat 0.0.8 → 0.0.9, @ngaf/langgraph 0.0.2 → 0.0.3.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent ccd2790 commit 35e0712
4 files changed
Lines changed: 10 additions & 4 deletions
File tree
- libs
- chat
- src/lib/primitives/chat-message-list
- langgraph
- src/lib/internals
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
325 | 329 | | |
326 | 330 | | |
327 | 331 | | |
| |||
346 | 350 | | |
347 | 351 | | |
348 | 352 | | |
349 | | - | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
350 | 356 | | |
351 | 357 | | |
352 | 358 | | |
| |||
0 commit comments