Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

Merge remote-tracking branch 'origin/main' into claude/fal-audio-image-to-video-b6ozol

Claudefa1544bf0e92
diff --cc client/src/components/musicVideo/SceneCard.jsx
index 35debef506,d78de19050..bc01169852
--- a/client/src/components/musicVideo/SceneCard.jsx
+++ b/client/src/components/musicVideo/SceneCard.jsx
@@@ -32,8 -32,8 +32,9 @@@ import { COVERAGE_TOLERANCE_SEC, SCENE_
import { ShotLockButton, useShotLock } from './ShotLock.jsx';
import ScenePoster from './ScenePoster.jsx';
import SceneRenderTarget, { lastRenderTarget, renderTargetOverrides } from './SceneRenderTarget.jsx';
+import SceneRenderInputs, { shotCardRenderRequest, shotCardRequestProblem } from './SceneRenderInputs.jsx';
import SceneFrameFit, { sceneFrameFit } from './SceneFrameFit.jsx';
+ import SceneTransitions from './SceneTransitions.jsx';
// The two timeline-bound scene fields rendered as identical number inputs.
const SCENE_TIME_FIELDS = [['Start', 'startSec'], ['End', 'endSec']];
diff --cc client/src/components/musicVideo/SceneCard.test.jsx
index 588a87ae2f,877f23b723..a37ad7cc01
--- a/client/src/components/musicVideo/SceneCard.test.jsx
+++ b/client/src/components/musicVideo/SceneCard.test.jsx
@@@ -431,19 -431,21 +431,38 @@@ describe('frame fit for an off-shape cl
});
});
+describe('Sent to the model', () => {
+ // Uniquely catches the card's Render sending anything other than what the card shows, or dropping the Song audio toggle.
+ it('shows the prompt Render sends and hands it, with the song audio pick, to the render', () => {
+ const scene = { sceneId: 's1', prompt: 'She shakes her head', referenceImageId: 'start.png', startSec: 0, endSec: 4,
+ takes: [{ takeId: 't1', kind: 'image', assetId: 'start.png', status: 'selected' }] };
+ const onGenerateVideo = vi.fn();
+ const models = [{ id: 'ltx25_example', name: 'LTX-2.5 Example', runtime: 'ltx25', supportedModes: ['image', 'a2v'] }];
+ render(<SceneCard scene={scene} index={0} expanded onEditLocal={() => {}} onSave={() => {}} onGenerateVideo={onGenerateVideo}
+ videoModels={models} falVideoSettings={{ backend: 'local', modelId: 'ltx25_example' }} />);
+ const inputs = screen.getByTestId('render-inputs');
+ expect(within(inputs).getByText('She shakes her head')).toBeTruthy();
+ fireEvent.click(within(inputs).getByLabelText('Song audio'));
+ fireEvent.click(screen.getByRole('button', { name: 'Render' }));
+ expect(onGenerateVideo).toHaveBeenCalledWith(scene, expect.objectContaining({ card: { prompt: 'She shakes her head', songAudio: true } }));
+ });
+});
++
+ // Uniquely catches the glitch picker saving the wrong field or failing to clear it.
+ describe('VHS glitch transitions', () => {
+ it('sets a glitch on the cut out of a shot and clears it with Off', () => {
+ const onSave = vi.fn();
+ function Harness() {
+ const [scene, setScene] = useState({ sceneId: 's1', startSec: 0, endSec: 4, takes: [] });
+ return <SceneCard scene={scene} index={0} onEditLocal={(_id, patch) => setScene((current) => ({ ...current, ...patch }))} onSave={onSave} />;
+ }
+ render(<Harness />);
+ const out = screen.getByLabelText('Glitch out');
+ fireEvent.change(out, { target: { value: 'vhs-glitch' } });
+ expect(onSave).toHaveBeenLastCalledWith('s1', { transitionOut: 'vhs-glitch' });
+ expect(out.value).toBe('vhs-glitch');
+ fireEvent.change(out, { target: { value: '' } });
+ expect(onSave).toHaveBeenLastCalledWith('s1', { transitionOut: null });
+ expect(screen.getByLabelText('Glitch in').value).toBe('');
+ });
+ });