feat: 扩展 DocumentConfig 增加 depend 字段,新增 DocumentStatus 类型,扩展 ChangeStatus

This commit is contained in:
2026-06-09 10:36:43 +08:00
parent 03b0c60fb6
commit 566a9d7255

View File

@@ -2,6 +2,13 @@ export interface DocumentConfig {
name: string;
prompt: string;
template?: string;
depend?: string[];
}
export interface DocumentStatus {
name: string;
completed: boolean;
dependMet: boolean;
}
export interface DiscussStage {
@@ -38,7 +45,9 @@ export interface TaskItem {
export interface ChangeStatus {
name: string;
documents: string[];
documents: DocumentStatus[];
planCompleted: boolean;
buildUnlocked: boolean;
taskProgress: { completed: number; total: number } | null;
}