AI media harness for planning, generating, and editing locally
TypeScript
Rename previous scene option
Bittibc0c24c8fa79
diff --git a/docs/architecture.md b/docs/architecture.mdindex 3647068..b5d457b 100644--- a/docs/architecture.md+++ b/docs/architecture.md@@ -57,7 +57,7 @@ The slopfab C API is loaded dynamically by the Rust backend. It resolves requestThe application must fail gracefully when the DLL, model files, WebCodecs, or WebGPU are unavailable. A missing runtime disables generation, never project editing.-Every queued generation saves a unique `latents/<generation-id>.safetensors` archive inside its project using SlopFab C API 1.9's automatic save before VAE decoding. Completed scenes record `latentRelativePath` in `slopus.json`. Archives from earlier runs are retained. The “Previous scene's last frame” option continues the previous scene's saved audio/video latents with 22 overlapping frames; it no longer extracts an image. Generate All waits for the preceding scene and uses its newly saved archive. Older scenes without latents must be regenerated.+Every queued generation saves a unique `latents/<generation-id>.safetensors` archive inside its project using SlopFab C API 1.9's automatic save before VAE decoding. Completed scenes record `latentRelativePath` in `slopus.json`. Archives from earlier runs are retained. The “Previous scene” option continues the previous scene's saved audio/video latents with 22 overlapping frames; it no longer extracts an image. Generate All waits for the preceding scene and uses its newly saved archive. Older scenes without latents must be regenerated.Continuation archives contain the full cumulative sequence. Slopus streams only the newly added video frames and the corresponding audio suffix to WebCodecs, so separate scenes do not repeat their predecessors on the timeline. The requested scene length denotes new frames, rounded up to a multiple of 17 by SlopFab. Continuations must use the source canvas size and compatible H3 weights/VAEs; SlopFab validates the archive and canvas during planning.diff --git a/src/components/workspace/GeneratorView.test.tsx b/src/components/workspace/GeneratorView.test.tsxindex 3ee8893..2038577 100644--- a/src/components/workspace/GeneratorView.test.tsx+++ b/src/components/workspace/GeneratorView.test.tsx@@ -273,7 +273,7 @@ describe("Generator scene controls", () => {const initial = project();initial.generationJobs[0] = { ...initial.generationJobs[0], status: "completed", outputRelativePath: "media/generated/work-original.mp4", latentRelativePath: "latents/work-original.safetensors" };const state = setup(initial);- expect(screen.getByRole("option", { name: "Previous scene's last frame" })).toBeDisabled();+ expect(screen.getByRole("option", { name: "Previous scene" })).toBeDisabled();fireEvent.click(screen.getByRole("button", { name: "Select scene Second scene" }));fireEvent.change(screen.getByRole("combobox", { name: "Start frame for this scene" }), { target: { value: "previous-scene" } });expect(state.latest().generationJobs[1].usePreviousSceneLastFrame).toBe(true);diff --git a/src/components/workspace/SceneEditor.tsx b/src/components/workspace/SceneEditor.tsxindex 1fb1668..b14c823 100644--- a/src/components/workspace/SceneEditor.tsx+++ b/src/components/workspace/SceneEditor.tsx@@ -348,7 +348,7 @@ export function SceneInspector({ job, shots, references, previousScene, defaultS})}><option value="">None</option>- {!animate && <option value="previous-scene" disabled={!previousScene}>Previous scene's last frame</option>}+ {!animate && <option value="previous-scene" disabled={!previousScene}>Previous scene</option>}{imageReferences.map((reference) => <option key={reference.id} value={reference.id}>{reference.name}</option>)}</select><button