mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 19:05:11 +00:00
docs(coding-agent): add context compaction to CHANGELOG
This commit is contained in:
parent
c3f63dd243
commit
79d8d2ef2d
1 changed files with 7 additions and 0 deletions
|
|
@ -4,6 +4,13 @@
|
|||
|
||||
### Added
|
||||
|
||||
- **Context Compaction**: Long sessions can now be compacted to reduce context usage while preserving conversation history. ([#92](https://github.com/badlogic/pi-mono/issues/92))
|
||||
- `/compact [instructions]`: Manually compact context with optional custom instructions for the summary
|
||||
- `/autocompact`: Toggle automatic compaction when context exceeds threshold
|
||||
- Auto-compaction triggers when context reaches `contextWindow - reserveTokens` (default 20k reserve)
|
||||
- Compacted sessions show a collapsible summary in the TUI (toggle with `o` key)
|
||||
- HTML exports include compaction summaries as collapsible sections
|
||||
- RPC mode supports `{"type":"compact"}` command and auto-compaction (emits compaction events)
|
||||
- **Branch Source Tracking**: Branched sessions now store `branchedFrom` in the session header, containing the path to the original session file. Useful for tracing session lineage.
|
||||
|
||||
## [0.12.5] - 2025-12-03
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue