pi-mono/packages/coding-agent/src
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
..
cli WIP: Major cleanup - move Attachment to consumers, simplify agent API 2025-12-30 22:42:20 +01:00
core Add file tracking and iterative summary merging to compaction 2025-12-30 22:42:24 +01:00
modes Fix compaction message rendering to go through addMessageToChat 2025-12-30 22:42:24 +01:00
utils refactor(hooks): split session events into individual typed events 2025-12-30 22:42:22 +01:00
cli.ts Remove old implementation files (main.ts, cli.ts, tui-renderer.ts), rename new files 2025-12-09 01:21:28 +01:00
config.ts Refactor OAuth/API key handling: AuthStorage and ModelRegistry 2025-12-25 03:48:36 +01:00
index.ts Add ReadonlySessionManager and refactor branch summarization 2025-12-30 22:42:23 +01:00
main.ts refactor(hooks): split session events into individual typed events 2025-12-30 22:42:22 +01:00
migrations.ts Add automatic session migration for v0.30.0 bug 2025-12-26 03:24:49 +01:00