feat(background-agent): add sessionState to BackgroundTask type and cache during polling

This commit is contained in:
ismeth
2026-02-26 12:34:41 +01:00
committed by YeonGyu-Kim
parent da6bb91cb2
commit 0c69ab8962
+2
View File
@@ -43,6 +43,8 @@ export interface BackgroundTask {
result?: string
error?: string
progress?: TaskProgress
/** Current session state cached from polling (e.g., 'idle', 'running', 'retry') */
sessionState?: string
parentModel?: { providerID: string; modelID: string }
model?: DelegatedModelConfig
/** Fallback chain for runtime retry on model errors */