fix(activity): reconcile stopped agents and task updates

This commit is contained in:
程序员阿江(Relakkes)
2026-08-01 12:16:46 +08:00
parent 124f876d1f
commit 888a5241f4
29 changed files with 7090 additions and 218 deletions
+2
View File
@@ -108,6 +108,8 @@ export function registerTask(task: TaskState, setAppState: SetAppState): void {
tool_use_id: task.toolUseId,
description: task.description,
task_type: task.type,
remote_session_id:
task.type === 'remote_agent' ? task.sessionId : undefined,
workflow_name:
'workflowName' in task
? (task.workflowName as string | undefined)