multica/packages/core
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
..
src fix(compaction): prevent double-counting in split-turn detection 2026-02-13 13:33:31 +08:00
package.json docs: add monorepo development workflow documentation 2026-02-13 09:21:47 +08:00
tsconfig.json refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00
tsup.config.ts refactor: restructure to monorepo architecture 2026-02-10 18:00:23 +08:00