The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.
TypeScript agent-skillsagentic-aiai-agentsai-videobyokclaude-codecodexdeepseek-harnessdsh-plugingenerative-ailocal-firstmcpmotionmotion-graphicsmultimodalopenmotionreverse-engineeringvideo-editingvideo-generationworkbuddy
Show video preparation status inside the export panel
罗高276e10f365d8
diff --git a/docs/product/architecture.md b/docs/product/architecture.mdindex b5ac227d..10ab3248 100644--- a/docs/product/architecture.md+++ b/docs/product/architecture.md@@ -188,7 +188,7 @@ The following product measures still require agreed observation windows and vali## Application npm distribution-The `@openmotion/app` npm tgz contains installer scripts, the prebuilt application archive and its pinned default manifest. Setup needs only that tgz, stages the checked application into a managed writable directory, installs production npm dependencies from its lock and registers the selected host's eleven MCP Tools and five Skills. The application server and projects never run in the npx cache. Node/Agent remain user-provided. After successful setup, a detached worker prepares pinned FFmpeg, ffprobe and browser assets concurrently. MCP and the local editor backend start without waiting for native downloads. Installers and running apps share platform/hash cache locks and atomic component status; Studio polls readiness, shows progress and failure retry, and updates export availability without reloading. Media import checks the media components before applying work; automated capture and export require the full local runtime because captured compositions may contain media. Selected Studio imports are retained in memory for explicit retry in the same project; preparation does not create or replay exports. Explicit prepare remains a blocking wait/retry, completed assets are reused across app versions sharing the cache, and interrupted transfers restart only the incomplete asset. Existing plugin and complete platform ZIP channels remain available.+The `@openmotion/app` npm tgz contains installer scripts, the prebuilt application archive and its pinned default manifest. Setup needs only that tgz, stages the checked application into a managed writable directory, installs production npm dependencies from its lock and registers the selected host's eleven MCP Tools and five Skills. The application server and projects never run in the npx cache. Node/Agent remain user-provided. After successful setup, a detached worker prepares pinned FFmpeg, ffprobe and browser assets concurrently. MCP and the local editor backend start without waiting for native downloads. Installers and running apps share platform/hash cache locks and atomic component status; Studio polls readiness and displays preparation progress and failure retry inside the Export panel. The header Export action opens that panel while dependencies are unavailable; readiness updates without reloading. Media import checks the media components before applying work; automated capture and export require the full local runtime because captured compositions may contain media. Selected Studio imports are retained in memory for explicit retry in the same project; preparation does not create or replay exports. Explicit prepare remains a blocking wait/retry, completed assets are reused across app versions sharing the cache, and interrupted transfers restart only the incomplete asset. Existing plugin and complete platform ZIP channels remain available.Explicit test/stable prod builds produce publishable artifact metadata with test/stage defaults; the source manifests and local/DEV artifacts stay private. Packaging does not publish, update users, move main or rename the repository. DEV packages embed their template source, default to a separate installation home and refuse cross-environment reuse. Application, project data, host configuration and dependency cache retain distinct ownership. See [installation](../npm-installation.md) and [test/stable acceptance](../release-guide.md).diff --git a/studio/src/App.tsx b/studio/src/App.tsxindex 8d7358fe..5d487740 100644--- a/studio/src/App.tsx+++ b/studio/src/App.tsx@@ -7,7 +7,6 @@ import { useDismissingTabSetter, useRightPanelIntent } from "./hooks/useRightPanimport { useRenderQueue } from "./components/renders/useRenderQueue";import { usePlayerStore } from "./player";import { StudioOverlays } from "./components/StudioOverlays";-import { NativeRuntimeNotice } from "./components/NativeRuntimeNotice";import { SaveQueuePausedBanner } from "./components/SaveQueuePausedBanner";import { ExternalFileConflictBanner } from "./components/ExternalFileConflictBanner";import { ProjectUnreachableBanner } from "./components/ProjectUnreachableBanner";@@ -523,7 +522,6 @@ export function StudioApp({ readOnlyPreview = false, readOnlyPreviewReason }: StinspectorPanelActive={inspectorPanelActive}onExport={handleExport}/>- <NativeRuntimeNotice status={renderQueue.ffmpeg} checking={renderQueue.ffmpegChecking} onRetry={renderQueue.recheckFfmpeg} pendingImport={fileManager.pendingImport ? { count: fileManager.pendingImport.files.length, retry: () => { void fileManager.retryPendingImport(); } } : undefined} />{previewPersistence.domEditSaveQueuePaused && !externalFileChanges.blocked && (<SaveQueuePausedBannermessage={previewPersistence.domEditSaveQueuePaused}diff --git a/studio/src/components/NativeRuntimeNotice.tsx b/studio/src/components/NativeRuntimeNotice.tsxindex 5aeaaa08..e065934f 100644--- a/studio/src/components/NativeRuntimeNotice.tsx+++ b/studio/src/components/NativeRuntimeNotice.tsx@@ -20,7 +20,7 @@ export function NativeRuntimeNotice({ status, checking, onRetry, pendingImport }const retryable = failed || runtime.components.some(component => component.stage === 'idle') || status.runtimeUnavailable;const headline = status.runtimeUnavailable ? 'Preparation progress unavailable' : status.ok ? 'Your files are ready to import' : failed ? 'Video features are not ready' : 'Preparing video features';return (- <div data-testid="native-runtime-notice" className="flex min-h-9 shrink-0 items-center justify-between gap-2 border-b border-border-strong bg-surface px-3 py-1 text-step-11 text-text-2">+ <div data-testid="native-runtime-notice" className="flex min-h-9 shrink-0 flex-wrap items-center justify-between gap-2 border-b border-border-strong bg-surface px-3 py-1 text-step-11 text-text-2"><div className="flex min-w-0 items-center gap-2" role="status" aria-live="polite">{failed || status.runtimeUnavailable ? <span aria-hidden="true" className="size-1.5 shrink-0 rounded-full bg-warning" /> : status.ok ? null : <RemixIcon name="loader-4-line" size={12} className="shrink-0 animate-spin motion-reduce:animate-none" />}<span className="truncate">{t(headline)}</span>diff --git a/studio/src/components/renders/RenderQueuePanel.tsx b/studio/src/components/renders/RenderQueuePanel.tsxindex e7a91174..6e9c1b6a 100644--- a/studio/src/components/renders/RenderQueuePanel.tsx+++ b/studio/src/components/renders/RenderQueuePanel.tsx@@ -1,4 +1,6 @@import { memo } from "react";+import { NativeRuntimeNotice } from "../NativeRuntimeNotice";+import { useFileManagerContextOptional } from "../../contexts/FileManagerContext";import { RenderQueue } from "./RenderQueue";import type { RenderJob } from "./useRenderQueue";import { useStudioShellContext } from "../../contexts/StudioContext";@@ -14,38 +16,49 @@ import { usePreviewVariablesStore } from "../../hooks/previewVariablesStore";export const RenderQueuePanel = memo(function RenderQueuePanel() {const { projectId, compositionDimensions, waitForPendingDomEditSaves, renderQueue } =useStudioShellContext();+ const fileManager = useFileManagerContextOptional();return (- <RenderQueue- jobs={renderQueue.jobs as RenderJob[]}- projectId={projectId}- onDelete={renderQueue.deleteRender}- onCancel={renderQueue.cancelRender}- loadError={renderQueue.loadError}- onRetryLoad={renderQueue.reloadRenders}- actionError={renderQueue.actionError}- onDismissActionError={renderQueue.dismissActionError}- onClearCompleted={renderQueue.clearCompleted}- ffmpeg={renderQueue.ffmpeg}- ffmpegChecking={renderQueue.ffmpegChecking}- onRecheckFfmpeg={renderQueue.recheckFfmpeg}- onStartRender={async (format, quality, resolution, fps, gpu, gifLoop) => {- await waitForPendingDomEditSaves();- // No `composition`: startRender targets the active one by default.- await renderQueue.startRender({- fps,- quality,- format,- resolution,- gpu,- gifLoop,- // Render what the user is previewing: active variable overrides- // from the Variables panel ride along (undefined = defaults).- variables: usePreviewVariablesStore.getState().values ?? undefined,- });- }}- compositionDimensions={compositionDimensions}- isRendering={renderQueue.isRendering}- />+ <div data-testid="export-panel" className="flex h-full min-h-0 flex-col">+ <NativeRuntimeNotice+ status={renderQueue.ffmpeg}+ checking={renderQueue.ffmpegChecking}+ onRetry={renderQueue.recheckFfmpeg}+ pendingImport={fileManager?.pendingImport ? { count: fileManager.pendingImport.files.length, retry: () => { void fileManager.retryPendingImport(); } } : undefined}+ />+ <div className="min-h-0 flex-1">+ <RenderQueue+ jobs={renderQueue.jobs as RenderJob[]}+ projectId={projectId}+ onDelete={renderQueue.deleteRender}+ onCancel={renderQueue.cancelRender}+ loadError={renderQueue.loadError}+ onRetryLoad={renderQueue.reloadRenders}+ actionError={renderQueue.actionError}+ onDismissActionError={renderQueue.dismissActionError}+ onClearCompleted={renderQueue.clearCompleted}+ ffmpeg={renderQueue.ffmpeg}+ ffmpegChecking={renderQueue.ffmpegChecking}+ onRecheckFfmpeg={renderQueue.recheckFfmpeg}+ onStartRender={async (format, quality, resolution, fps, gpu, gifLoop) => {+ await waitForPendingDomEditSaves();+ // No `composition`: startRender targets the active one by default.+ await renderQueue.startRender({+ fps,+ quality,+ format,+ resolution,+ gpu,+ gifLoop,+ // Render what the user is previewing: active variable overrides+ // from the Variables panel ride along (undefined = defaults).+ variables: usePreviewVariablesStore.getState().values ?? undefined,+ });+ }}+ compositionDimensions={compositionDimensions}+ isRendering={renderQueue.isRendering}+ />+ </div>+ </div>);});