pi-mono/packages/coding-agent/src/core/compaction
Mario Zechner 09d6131bef Add file tracking and iterative summary merging to compaction
- CompactionDetails type with readFiles/modifiedFiles
- extractFileOperations collects from tool calls and previous compaction details
- UPDATE_SUMMARIZATION_PROMPT for merging with previous summary
- generateSummary now accepts previousSummary for iterative updates
- compact() extracts files, passes previousSummary, returns details
- Only merges from !fromHook compaction entries (backward compatible)
2025-12-30 22:42:24 +01:00
..
branch-summarization.ts Add fromHook field to CompactionEntry and BranchSummaryEntry 2025-12-30 22:42:24 +01:00
compaction.ts Add file tracking and iterative summary merging to compaction 2025-12-30 22:42:24 +01:00
index.ts Refactor: move compaction code to src/core/compaction/ 2025-12-30 22:42:23 +01:00