feat: 补充手部修复候选预览及历史类型

This commit is contained in:
GouJ committed 2026-10-16 11:03:33 +08:00
1 parent cde5322cab
commit 17956316ef
1 file changed
+37
+37
View File
@@ -179,3 +179,40 @@ export interface StoryboardHandOccupancyDiagnostics {
willCallModel: false
willModifyAssets: false
}
/** 人工修复候选只读预览,写入必须经过单独的确认和版本校验。 */
export interface StoryboardHandRepairPreview {
projectId: string
assessment: StoryboardHandOccupancyDiagnostics['assessment']
evidenceCoverage: number | null
candidateCount: number
candidates: Array<{
episodeNo: number
beatNo: number
shotNo: number
phaseNo: number
characterRef: string
actionIds: [string, string]
suggestion: string
canApplyDirectly: false
blockingReasons: string[]
expectedFingerprint: string | null
}>
requiresManualConfirmation: true
willCallModel: false
willModifyAssets: false
}
/** 单镜头修订历史只返回元数据,不包含完整快照。 */
export interface StoryboardHandRepairHistory {
projectId: string
shotId: string
count: number
revisions: Array<{
id: string
sourceFingerprint: string
resultFingerprint: string
reason: string
createdAt: string
}>
}