feat: show schema approval in demo interrupt

This commit is contained in:
lda
2026-07-09 05:43:37 +07:00 Verified
parent a65da60a5c
commit 22386f7e2d
4 changed files with 53 additions and 6 deletions
@@ -54,9 +54,10 @@ export const DemoWorkflowScene = ({
openEvidence,
}: DemoWorkflowSceneProps) => {
const runStart = findEvent(demo, "run_start");
const runResume = findEvent(demo, "run_resume");
const currentStage = operationStageByBeat[beat.id];
const currentEvent = currentStage ? findEvent(demo, currentStage) : null;
const contract = runStart ? projectInterruptContract(runStart) : null;
const contract = runStart ? projectInterruptContract(runStart, runResume) : null;
const execution = graphExecutionForBeat(beat.id);
const layout = layoutForBeat(beat.id);