mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-13 02:41:50 +08:00
feat: 添加多CLI计划支持,更新数据聚合和导航组件以处理新任务类型
This commit is contained in:
@@ -77,6 +77,7 @@ interface DashboardData {
|
||||
liteTasks: {
|
||||
litePlan: unknown[];
|
||||
liteFix: unknown[];
|
||||
multiCliPlan: unknown[];
|
||||
};
|
||||
reviewData: ReviewData | null;
|
||||
projectOverview: ProjectOverview | null;
|
||||
@@ -88,6 +89,7 @@ interface DashboardData {
|
||||
reviewFindings: number;
|
||||
litePlanCount: number;
|
||||
liteFixCount: number;
|
||||
multiCliPlanCount: number;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -211,7 +213,8 @@ export async function aggregateData(sessions: ScanSessionsResult, workflowDir: s
|
||||
archivedSessions: [],
|
||||
liteTasks: {
|
||||
litePlan: [],
|
||||
liteFix: []
|
||||
liteFix: [],
|
||||
multiCliPlan: []
|
||||
},
|
||||
reviewData: null,
|
||||
projectOverview: null,
|
||||
@@ -222,7 +225,8 @@ export async function aggregateData(sessions: ScanSessionsResult, workflowDir: s
|
||||
completedTasks: 0,
|
||||
reviewFindings: 0,
|
||||
litePlanCount: 0,
|
||||
liteFixCount: 0
|
||||
liteFixCount: 0,
|
||||
multiCliPlanCount: 0
|
||||
}
|
||||
};
|
||||
|
||||
@@ -257,6 +261,7 @@ export async function aggregateData(sessions: ScanSessionsResult, workflowDir: s
|
||||
data.liteTasks = liteTasks;
|
||||
data.statistics.litePlanCount = liteTasks.litePlan.length;
|
||||
data.statistics.liteFixCount = liteTasks.liteFix.length;
|
||||
data.statistics.multiCliPlanCount = liteTasks.multiCliPlan.length;
|
||||
} catch (err) {
|
||||
console.error('Error scanning lite tasks:', (err as Error).message);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user