feat(tui): surface session activity states

This commit is contained in:
Xubin Ren
2026-08-24 00:58:04 +08:00
parent 7e66375f59
commit 2850114eab
6 changed files with 255 additions and 24 deletions
+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 cant 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)])