feat(ai): 优化拆解重跑与结果展示

This commit is contained in:
Script Generator
2026-06-26 11:01:11 +08:00
parent 55e24442ab
commit 56e0fe562d
36 changed files with 1342 additions and 186 deletions

View File

@@ -1,5 +1,7 @@
export type AgentRole = 'frontend' | 'backend' | 'ui' | 'testing';
export type AgentDecomposeTarget = 'all' | 'dev_tasks' | 'test_cases';
export type AgentTaskCategoryCode =
| 'frontend_development'
| 'frontend_interaction'
@@ -28,7 +30,7 @@ export interface AgentDevTaskDraft {
description?: string;
categoryCode: AgentTaskCategoryCode;
priority: 'P0' | 'P1' | 'P2' | 'P3';
estimateHours: number;
aiEstimateHours: number;
references: AgentReference[];
}
@@ -37,7 +39,7 @@ export interface AgentTestCaseDraft {
description: string;
categoryCode: AgentTaskCategoryCode;
priority: 'P0' | 'P1' | 'P2' | 'P3';
estimateHours: number;
aiEstimateHours: number;
references: AgentReference[];
}
@@ -75,6 +77,7 @@ export interface AgentDecomposeRequest {
members: AgentDecomposeMember[];
versionId: string;
planId: string;
target?: AgentDecomposeTarget;
}
/**