Skip to content

The agent that grows with you

fix(desktop): surface terminal error frames as failed bubbles

Brooklyn Nicholsonb8675a189902
diff --git a/apps/desktop/src/lib/chat-messages.ts b/apps/desktop/src/lib/chat-messages.ts
index f0d8e2b7c64..b94f512e38d 100644
--- a/apps/desktop/src/lib/chat-messages.ts
+++ b/apps/desktop/src/lib/chat-messages.ts
@@ -345,10 +345,6 @@ function timelineDisplayContent(message: SessionMessage, content: string): strin
return 'model changed'
}
- if (message.display_kind === 'auto_continue') {
- return 'resumed interrupted turn'
- }
-
if (message.display_kind === 'async_delegation_complete') {
const count = timelineTaskCount(message.display_metadata)
@@ -948,9 +944,7 @@ export function toChatMessages(messages: SessionMessage[]): ChatMessage[] {
)
const displayRole =
- message.display_kind === 'model_switch' ||
- message.display_kind === 'async_delegation_complete' ||
- message.display_kind === 'auto_continue'
+ message.display_kind === 'model_switch' || message.display_kind === 'async_delegation_complete'
? 'system'
: message.role
diff --git a/apps/desktop/src/types/hermes.ts b/apps/desktop/src/types/hermes.ts
index 669813b0ab2..9ca50a5bfb6 100644
--- a/apps/desktop/src/types/hermes.ts
+++ b/apps/desktop/src/types/hermes.ts
@@ -514,13 +514,6 @@ export interface SessionMessagesResponse {
}
export interface SessionResumeResponse {
- /** Present when the backend found a fresh crash-interrupted turn and
- * scheduled its automatic continuation; the turn arrives as a normal
- * message.start stream right after this resume. */
- auto_continue?: {
- attempt: number
- interrupted_at: number
- }
inflight?: null | {
assistant?: string
/** Retained failed turn: the error the terminal frame carried (the frame