fix(chat): preserve fresh compaction state across reconnect history
This commit is contained in:
@@ -338,6 +338,8 @@ must not clear a newer turn's Stop control or release its queue slot.
|
||||
|
||||
Native context compaction is reported as `chat_event.kind="compaction"`, with
|
||||
`compaction: {status: "running" | "completed" | "failed", id?: string}`.
|
||||
Optional `native_turn_id` scopes the activity to its real harness turn; ignore
|
||||
activity for an older turn when a newer native turn is known.
|
||||
This is session activity and may have no `message_id`: clients must not invent
|
||||
an assistant message or tool call for it. Show **Compacting context…** while
|
||||
running; completion clears that phase but does not itself end the model turn.
|
||||
|
||||
Reference in New Issue
Block a user