feat: 定义 Breakdown 手部动作质量诊断类型

This commit is contained in:
GouJ committed 2026-10-15 19:38:15 +08:00
1 parent 496cdbfd35
commit 0b789dbb85
1 file changed
+27
+27
View File
@@ -152,3 +152,30 @@ export interface BreakdownState extends BreakdownResult {
/** 不同失败阶段的恢复端点,不能用 retry 替代所有恢复。 */
export type BreakdownAction = 'start' | 'retry' | 'resume-shots' | 'resume-storyboard'
/** 已持久化分镜的手部动作诊断;无证据不代表无冲突。 */
export interface StoryboardHandOccupancyDiagnostics {
projectId: string
episodeCount: number
shotCount: number
validSnapshotCount: number
evidenceShotCount: number
invalidEvidenceShotCount: number
missingEvidenceShotCount: number
evidenceCoverage: number | null
assessment: 'no_shots' | 'insufficient_evidence' | 'partial_evidence' | 'complete_evidence'
warningCount: number
diagnostics: Array<{
episodeNo: number
beatNo: number
shotNo: number
phaseNo: number
characterRef: string
actionIds: [string, string]
code: 'hand_occupancy_conflict'
severity: 'warning'
suggestion: string
}>
willCallModel: false
willModifyAssets: false
}