multica/packages
yushen d7e85d0c25 fix(compaction): prevent double-counting in split-turn detection
- detectSplitTurn now returns adjustedToSummarize (truncated at
  assistantIndex) so split prefix messages are not summarized twice
  and removedCount is not inflated
- Remove unused contextWindow parameter from computeAdaptiveChunkRatio
- Remove duplicated single-chunk fast path in compactMessagesWithChunkedSummary
  (the multi-chunk loop handles 1 chunk naturally)
- Fix triple-newline formatting in buildPlainTextFallback by concatenating
  metadata sections directly instead of joining through parts array

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 13:33:31 +08:00
..
core fix(compaction): prevent double-counting in split-turn detection 2026-02-13 13:33:31 +08:00
hooks feat(core): add message source tracking and persistence 2026-02-12 18:45:15 +08:00
sdk feat(core): add message source tracking and persistence 2026-02-12 18:45:15 +08:00
store feat(core): add message source tracking and persistence 2026-02-12 18:45:15 +08:00
types docs: add monorepo development workflow documentation 2026-02-13 09:21:47 +08:00
ui fix(ui): remove math plugins and disable single-tilde strikethrough 2026-02-13 08:33:56 +08:00
utils docs: add monorepo development workflow documentation 2026-02-13 09:21:47 +08:00