auto-sync: 2026-05-18 11:52:08

This commit is contained in:
cfdaily
2026-05-18 11:52:08 +08:00
parent b8bfc5f2f2
commit a3bbb575e8
+13
View File
@@ -276,6 +276,15 @@ export interface FlowEntry { at: string; from: string; to: string; remark: strin
export interface TodoItem { id: string | number; title: string; status: 'not-started' | 'in-progress' | 'completed'; detail?: string; }
export interface Heartbeat { status: 'active' | 'warn' | 'stalled' | 'unknown' | 'idle'; label: string; }
export interface StageInfo { id: string; label: string; order: number; total: number; done: number; active: number; }
export interface TaskProgress {
task_id: string; title: string;
total_subtasks: number; done_subtasks: number;
active_stage: string | null;
stages: StageInfo[];
}
export interface Task {
id: string; title: string; state: string; org: string; now: string;
eta: string; block: string; ac: string; output: string;
@@ -285,6 +294,10 @@ export interface Task {
status?: string; plan_status?: string; nodes?: TaskNode[];
latest_event?: TaskEvent; sourceMeta?: Record<string, unknown>;
activity?: ActivityEntry[]; _prev_state?: string;
parent_task?: string | null;
stage?: string | null;
stages_json?: string;
progress?: TaskProgress;
}
export interface TaskNode {