feat(tui): surface session activity states

This commit is contained in:
Xubin Ren committed 2026-08-24 00:58:04 +08:00
1 parent 7e66375f59
commit 2850114eab
6 files changed
+255 -24

No files matched your search

+2 -1
View File
@@ -14,6 +14,7 @@ export interface RecoveryNoticeTheme {
text: string
muted: string
accent: string
warning: string
error: string
}
@@ -149,7 +150,7 @@ export class RecoveryNotice {
? "This task can’t be resumed safely. Dismiss to start a new message."
: "Review the saved context. Tools will not replay automatically."
this.title.content = new StyledText([
chunk("△ ", failed ? this.theme.error : this.theme.accent),
chunk("⚠ ", failed ? this.theme.error : this.theme.warning),
chunk(title, this.theme.text, true),
])
this.detail.content = new StyledText([chunk(` ${detail}`, this.theme.muted)])