mirror of
https://github.com/nexu-io/openmotion.git
synced 2026-12-01 23:59:50 +08:00
* feat: add transcription and unified caption editing workflows * Fix caption integration regressions and align explicit timeline modes * Update bundled adapter and render fixtures for caption preview integration * Resolve caption parsing from the isolated native runtime Avoid importing native dependencies from the dependency-free ZIP at server startup. Load the HTML parser from the installed runtime for caption operations and cover isolated server import plus caption authoring. * fix: preserve caption panel widths and manual editing intent * fix: retain new caption selection during preview refresh Keep newly created captions selected while the preview replaces its old clip list. Cover the stale-preview ordering with a failing-before/passing-after regression and verify pacing draft cancellation and recreation in Chromium.
9 lines
545 B
TypeScript
9 lines
545 B
TypeScript
import { ensureRuntime, snapshotExportExpectation } from '../hyperframes.ts';
|
|
import type { ExportExpectation } from './export-spec.ts';
|
|
|
|
// Resolve the runtime only when an export is requested. Packaged MCP discovery
|
|
// must still work before dependencies have been installed in the data directory.
|
|
export async function exportExpectation(dataDirectory: string, snapshot: string, compositionPath?: string): Promise<ExportExpectation> {
|
|
return snapshotExportExpectation(await ensureRuntime(dataDirectory, false), snapshot, compositionPath);
|
|
}
|