mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 19:05:11 +00:00
docs(coding-agent): add /compact, /autocompact commands and Context Compaction section
- Add /compact and /autocompact slash command documentation - Add Context Compaction section explaining how it works, manual/auto modes, configuration - Update /autocompact output to match thinking level toggle style (dimmed text) - Remove Planned Features section (auto-compaction now implemented)
This commit is contained in:
parent
233917c6d1
commit
a57768b91b
2 changed files with 81 additions and 14 deletions
|
|
@ -1867,10 +1867,10 @@ export class TuiRenderer {
|
|||
this.settingsManager.setCompactionEnabled(newState);
|
||||
this.footer.setAutoCompactEnabled(newState);
|
||||
|
||||
this.showSuccess(
|
||||
`✓ Auto-compact ${newState ? "enabled" : "disabled"}`,
|
||||
newState ? "Context will be compacted automatically when nearing limits" : "Use /compact to manually compact",
|
||||
);
|
||||
// Show brief notification (same style as thinking level toggle)
|
||||
this.chatContainer.addChild(new Spacer(1));
|
||||
this.chatContainer.addChild(new Text(theme.fg("dim", `Auto-compaction: ${newState ? "on" : "off"}`), 1, 0));
|
||||
this.ui.requestRender();
|
||||
}
|
||||
|
||||
private updatePendingMessagesDisplay(): void {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue