fix: allow user task timeline actor

This commit is contained in:
2026-05-26 12:24:50 +08:00
parent 96562877cc
commit dd9f40b38c
2 changed files with 4 additions and 4 deletions

View File

@ -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: {

View File

@ -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'