@vibeframe/cli 0.111.3 → 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.
|
@@ -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 {};
|