@vibeframe/cli 0.111.1 → 0.112.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/_shared/ffmpeg-gate.d.ts +3 -0
- package/dist/commands/_shared/project-list.d.ts +39 -0
- package/dist/commands/_shared/project-list.test.d.ts +1 -0
- package/dist/commands/_shared/root-sync.d.ts +2 -0
- package/dist/commands/_shared/root-sync.test.d.ts +1 -0
- package/dist/commands/_shared/scene-render.d.ts +7 -0
- package/dist/index.js +372 -154
- package/dist/tools/manifest/index.js +343 -129
- package/dist/tools/manifest/project.d.ts +9 -1
- package/package.json +3 -3
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module _shared/project-list
|
|
3
|
+
*
|
|
4
|
+
* Workspace overview: every VibeFrame scene project (a directory with a
|
|
5
|
+
* STORYBOARD.md) directly under the workspace root, with enough status to
|
|
6
|
+
* answer "what projects do I have and where did I leave off?" in one call.
|
|
7
|
+
* Directories whose names start with `_` (e.g. `_archive`) or `.` and
|
|
8
|
+
* `node_modules` are skipped, so archiving a project is just `mv` into
|
|
9
|
+
* `_archive/`.
|
|
10
|
+
*/
|
|
11
|
+
export interface ProjectListEntry {
|
|
12
|
+
/** Directory name — what build/render/storyboard tools take as projectDir. */
|
|
13
|
+
name: string;
|
|
14
|
+
path: string;
|
|
15
|
+
beats: number;
|
|
16
|
+
/** Sum of storyboard beat durations (narration sync may stretch renders). */
|
|
17
|
+
storyboardDurationSec: number;
|
|
18
|
+
/** build-report.json status/phase, when a build has run. */
|
|
19
|
+
buildStatus?: string;
|
|
20
|
+
buildUpdatedAt?: string;
|
|
21
|
+
/** Newest video in renders/, when any render exists. */
|
|
22
|
+
latestRender?: {
|
|
23
|
+
file: string;
|
|
24
|
+
modifiedAt: string;
|
|
25
|
+
};
|
|
26
|
+
/** Most recent activity across storyboard, build report, and renders. */
|
|
27
|
+
updatedAt: string;
|
|
28
|
+
}
|
|
29
|
+
export interface ProjectListResult {
|
|
30
|
+
success: boolean;
|
|
31
|
+
workspaceDir: string;
|
|
32
|
+
projects: ProjectListEntry[];
|
|
33
|
+
/** Count of projects parked under _-prefixed dirs (e.g. _archive). */
|
|
34
|
+
archivedCount: number;
|
|
35
|
+
error?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function executeProjectList(opts?: {
|
|
38
|
+
workspaceDir?: string;
|
|
39
|
+
}): Promise<ProjectListResult>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -49,6 +49,8 @@ export declare function resolveSyncedBeatDuration(opts: {
|
|
|
49
49
|
beatDuration?: number;
|
|
50
50
|
narrationPath?: string;
|
|
51
51
|
sceneDurationSec?: number;
|
|
52
|
+
/** Injectable for tests — defaults to the ffprobe-backed audio probe. */
|
|
53
|
+
probeAudioDuration?: (absPath: string) => Promise<number>;
|
|
52
54
|
}): Promise<number>;
|
|
53
55
|
/**
|
|
54
56
|
* Final narration-synced duration per beat for a project on disk. Reads
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -67,6 +67,13 @@ export interface SceneRenderResult {
|
|
|
67
67
|
/** Non-fatal warning from the audio mux pass — caller may surface to the user. */
|
|
68
68
|
audioMuxWarning?: string;
|
|
69
69
|
reportPath?: string;
|
|
70
|
+
/**
|
|
71
|
+
* True when the pre-render drift guard found narration-synced durations
|
|
72
|
+
* out of step with the composed timeline (e.g. sync stage skipped or run
|
|
73
|
+
* with stale durations) and re-synced root + scene durations first.
|
|
74
|
+
*/
|
|
75
|
+
autoSyncApplied?: boolean;
|
|
76
|
+
autoSyncWarning?: string;
|
|
70
77
|
code?: string;
|
|
71
78
|
error?: string;
|
|
72
79
|
retryWith?: string[];
|