Files
pi/packages/coding-agent/test
T
Mario Zechner 6c2360af28 WIP: Context compaction core logic (#92)
- Add CompactionEntry type with firstKeptEntryIndex
- Add loadSessionFromEntries() for compaction-aware loading
- Add compact() function that returns CompactionEntry
- Add token calculation and cut point detection
- Add tests with real session fixture and LLM integration

Still TODO: settings, /compact and /autocompact commands, auto-trigger in TUI, /branch rework
6c2360af28 ยท 2025-12-04 00:07:53 +01:00
History
..
2025-11-21 03:12:42 +01:00