Commit 89d8d0f
committed
fix(core): resolve dirty clusters before render, preserve tool output, async strategy flag
Bug fixes found via codex review:
- Resolve dirty clusters before render() so merged cold messages aren't
lost (P1: non-root members dropped when summary not yet cached)
- Include 500-char tool response preview instead of name-only placeholder
so error messages and file paths survive clustering (P1)
- Make getCompressionStrategy() async with ensureExperimentsLoaded() so
the union-find flag isn't ignored on first compression (P2)
- Thread abortSignal into ClusterSummarizer; rethrow on abort instead of
swallowing to fallback text (P2)1 parent e74be4f commit 89d8d0f
3 files changed
Lines changed: 30 additions & 17 deletions
File tree
- packages/core/src
- config
- context
- services
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2350 | 2350 | | |
2351 | 2351 | | |
2352 | 2352 | | |
2353 | | - | |
2354 | | - | |
2355 | | - | |
| 2353 | + | |
| 2354 | + | |
2356 | 2355 | | |
2357 | 2356 | | |
2358 | 2357 | | |
| |||
3025 | 3024 | | |
3026 | 3025 | | |
3027 | 3026 | | |
3028 | | - | |
| 3027 | + | |
| 3028 | + | |
3029 | 3029 | | |
3030 | 3030 | | |
3031 | 3031 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| |||
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
540 | | - | |
| 540 | + | |
541 | 541 | | |
542 | 542 | | |
543 | 543 | | |
| |||
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
| 612 | + | |
612 | 613 | | |
613 | 614 | | |
614 | 615 | | |
| |||
623 | 624 | | |
624 | 625 | | |
625 | 626 | | |
626 | | - | |
627 | | - | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
628 | 637 | | |
629 | 638 | | |
630 | 639 | | |
| |||
634 | 643 | | |
635 | 644 | | |
636 | 645 | | |
637 | | - | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
638 | 649 | | |
639 | 650 | | |
640 | 651 | | |
641 | 652 | | |
642 | 653 | | |
643 | 654 | | |
644 | | - | |
645 | | - | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | 655 | | |
650 | 656 | | |
651 | 657 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
| 38 | + | |
33 | 39 | | |
34 | 40 | | |
35 | 41 | | |
| |||
50 | 56 | | |
51 | 57 | | |
52 | 58 | | |
53 | | - | |
| 59 | + | |
54 | 60 | | |
55 | 61 | | |
56 | 62 | | |
57 | 63 | | |
58 | 64 | | |
59 | | - | |
| 65 | + | |
| 66 | + | |
60 | 67 | | |
61 | 68 | | |
62 | 69 | | |
| |||
0 commit comments