From f28d0cddde3ff1955b675a76755e39803b823c03 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Sun, 8 Mar 2026 02:22:21 +0900 Subject: [PATCH] feat(background-agent): track spawn depth on tasks Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus --- src/features/background-agent/types.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/features/background-agent/types.ts b/src/features/background-agent/types.ts index 6973dd783..10269f29b 100644 --- a/src/features/background-agent/types.ts +++ b/src/features/background-agent/types.ts @@ -19,11 +19,13 @@ export interface TaskProgress { export interface BackgroundTask { id: string sessionID?: string + rootSessionID?: string parentSessionID: string parentMessageID: string description: string prompt: string agent: string + spawnDepth?: number status: BackgroundTaskStatus queuedAt?: Date startedAt?: Date