feat: make context compaction visible in channels (#5656)

* feat: surface context compaction lifecycle

* fix: complete and simplify context compaction notifications
This commit is contained in:
chengyongru authored and GitHub committed 2026-09-05 20:21:54 +08:00
1 parent 455533169d
commit 5229989f28
52 files changed
+1849 -140

No files matched your search

+3
View File
@@ -1063,6 +1063,9 @@ export class NanobotTui {
}
switch (event.event) {
case "context_compaction":
this.transcript.compaction({ id: event.compaction_id, phase: event.phase })
return
case "message_accepted":
this.reconcileTurnOwnership(event)
return