- Remove compactMessagesWithSummary (~100 lines, never called; only the Chunked variant was used) - Remove compactMessagesByCount, findSafeCompactionPoint, and all count-mode references (~90 lines) - Narrow CompactionResult.reason to "tokens" | "summary" | "pruning" - Narrow compactionMode to "tokens" | "summary" (was "count" | ...) - Simplify session-manager: remove maxMessages/keepLast params, enable tool result pruning by default Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||
| tsup.config.ts | ||