feat: 接入分镜单集重生成接口

接入后端正式单集 Storyboard Shot 重生成能力,补齐校验回执、旧 Shot 缓存失效与页面刷新逻辑。
This commit is contained in:
GouJ authored and GitHub committed 2026-09-08 20:09:37 +08:00
1 parent b4e1e6873c
commit 6dc3a93348
8 files changed
+159 -10

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@ const sessions = reactive<Record<string, StoryboardSession>>({})
/** 获取指定项目的独立回执容器。 */
export function getStoryboardSession(id: string): StoryboardSession {
return (sessions[id] ??= { receipt: null, prompts: {} })
return (sessions[id] ??= { receipt: null, prompts: {}, regeneratedEpisodes: {} })
}
/** 后端生成服务只读取最新 Breakdown;不能用历史可恢复快照冒充当前生成前置条件。 */