From a37259326aa61cbf9c09de57e437caaef58b5675 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Mon, 9 Feb 2026 18:25:34 +0900 Subject: [PATCH] feat(background-agent): add "interrupt" to BackgroundTaskStatus type Add interrupt as a terminal status for background tasks that fail due to promptAsync errors (e.g., prompt exceed, agent not found). Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus --- src/features/background-agent/types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/features/background-agent/types.ts b/src/features/background-agent/types.ts index 553f5bb5..fd5309dc 100644 --- a/src/features/background-agent/types.ts +++ b/src/features/background-agent/types.ts @@ -4,6 +4,7 @@ export type BackgroundTaskStatus = | "completed" | "error" | "cancelled" + | "interrupt" export interface TaskProgress { toolCalls: number