Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(conversations): handle missing background process state gracefully

Steven Enamakel479d66f79ff0
diff --git a/app/src/features/conversations/selectors/backgroundProcesses.ts b/app/src/features/conversations/selectors/backgroundProcesses.ts
index 414fe0d9af..66e4229d44 100644
--- a/app/src/features/conversations/selectors/backgroundProcesses.ts
+++ b/app/src/features/conversations/selectors/backgroundProcesses.ts
@@ -20,6 +20,8 @@ export interface BackgroundProcess {
status: ToolTimelineEntryStatus;
toolCount: number;
iterations?: number;
+ /** Live/settled elapsed time, when the core reports one, for the inbox's elapsed column. */
+ elapsedMs?: number;
}
const subagentName = (s: SubagentActivity): string =>