feat(background-agent): add sessionState to BackgroundTask type and cache during polling
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user