From dd9f40b38ccb73e5305db278cda0d1dbbd8c677b Mon Sep 17 00:00:00 2001 From: steven_li Date: Tue, 26 May 2026 12:24:50 +0800 Subject: [PATCH] fix: allow user task timeline actor --- app-instance/frontend/lib/task-timeline.test.ts | 6 +++--- app-instance/frontend/types/index.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app-instance/frontend/lib/task-timeline.test.ts b/app-instance/frontend/lib/task-timeline.test.ts index e4c7cfe..ef3387b 100644 --- a/app-instance/frontend/lib/task-timeline.test.ts +++ b/app-instance/frontend/lib/task-timeline.test.ts @@ -276,9 +276,9 @@ describe('buildTaskTimelineCards', () => { run_id: 'run-main', parent_run_id: null, kind: 'task_acceptance_recorded', - actor_type: 'system', - actor_id: 'task-system', - actor_name: 'Task System', + actor_type: 'user', + actor_id: 'user-acceptance', + actor_name: 'User Acceptance', text: '可以', created_at: '2026-05-26T10:05:02.000Z', metadata: { diff --git a/app-instance/frontend/types/index.ts b/app-instance/frontend/types/index.ts index fcec5f3..a89fa0a 100644 --- a/app-instance/frontend/types/index.ts +++ b/app-instance/frontend/types/index.ts @@ -434,7 +434,7 @@ export interface SkillHubInstallResponse { already_installed?: boolean; } -export type ProcessActorType = 'agent' | 'mcp' | 'system'; +export type ProcessActorType = 'agent' | 'mcp' | 'system' | 'user'; export type ProcessRunStatus = | 'queued' | 'running'