feat(tui): render stage lifecycle frames as dim lines in the router feed

Stage started/completed/failed events are now injected into the router
transcript (role "stage") and rendered in Faint colour, giving the
operator a chronological in-feed view of workflow progress alongside
user/router/tool turns.
This commit is contained in:
2026-06-03 14:54:21 +04:00
parent 622b331de3
commit 46c567c835
3 changed files with 108 additions and 0 deletions
+2
View File
@@ -354,6 +354,8 @@ func (m Model) routerRows(w, h int) []string {
}
case "tool":
rows = append(rows, t.span("· tool output ("+itoaLen(e.Content)+" chars) — ^x to view", t.P.Dim))
case "stage":
rows = append(rows, t.span(e.Content, t.P.Faint))
}
}
// keep last h rows