mirror of
https://github.com/nexu-io/openmotion.git
synced 2026-12-02 13:39:35 +08:00
Share checksummed downloads and component status across installers and running apps. Keep editing available during preparation, show compact Studio progress and retry, and guard media operations before applying work.
9 lines
502 B
TypeScript
9 lines
502 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): Promise<ExportExpectation> {
|
|
return snapshotExportExpectation(await ensureRuntime(dataDirectory, false), snapshot);
|
|
}
|