export type WorkflowStatus = 'thinking' | 'executing' | 'success' | 'failed' | 'retrying';

export interface AgentStep {
    id: string;
    agentName: string;
    status: WorkflowStatus;
    startTime: string;
    endTime?: string;
    logs: string;
}

export interface WorkflowTask {
    id: string;
    name: string;
    status: WorkflowStatus;
    progress: number;
    currentStepId: string;
    steps: AgentStep[];
    createTime: string;
}
