@vibeframe/cli 0.115.3 → 0.115.5
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/CONTEXT.md +1 -1
- package/dist/commands/_shared/execute-fill-gaps.d.ts +0 -2
- package/dist/commands/_shared/image-cost.d.ts +15 -0
- package/dist/commands/_shared/image-cost.test.d.ts +1 -0
- package/dist/commands/_shared/init-templates.d.ts +1 -1
- package/dist/commands/_shared/openai-image.d.ts +4 -3
- package/dist/commands/_shared/scene-build.network.test.d.ts +1 -0
- package/dist/commands/_shared/video-utils.d.ts +3 -1
- package/dist/commands/agent.d.ts +6 -0
- package/dist/commands/generate/video.d.ts +9 -0
- package/dist/commands/generate.d.ts +1 -1
- package/dist/commands/output.d.ts +9 -1
- package/dist/index.js +455 -235
- package/dist/testing/fake-provider-network.d.ts +45 -0
- package/dist/tools/define-tool.js +3 -2
- package/dist/tools/manifest/edit.d.ts +2 -2
- package/dist/tools/manifest/generate.d.ts +4 -4
- package/dist/tools/manifest/index.js +421 -221
- package/dist/tools/manifest/storyboard.d.ts +2 -2
- package/dist/utils/model-lifecycle.d.ts +25 -0
- package/dist/utils/model-lifecycle.test.d.ts +1 -0
- package/dist/utils/remotion-precheck.test.d.ts +1 -0
- package/dist/utils/remotion.d.ts +7 -1
- package/package.json +4 -3
|
@@ -32,15 +32,15 @@ export declare const storyboardSetTool: import("../define-tool.js").ToolDefiniti
|
|
|
32
32
|
jsonValue: z.ZodOptional<z.ZodBoolean>;
|
|
33
33
|
unset: z.ZodOptional<z.ZodBoolean>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
|
-
beat: string;
|
|
36
35
|
key: string;
|
|
36
|
+
beat: string;
|
|
37
37
|
value?: string | undefined;
|
|
38
38
|
projectDir?: string | undefined;
|
|
39
39
|
unset?: boolean | undefined;
|
|
40
40
|
jsonValue?: boolean | undefined;
|
|
41
41
|
}, {
|
|
42
|
-
beat: string;
|
|
43
42
|
key: string;
|
|
43
|
+
beat: string;
|
|
44
44
|
value?: string | undefined;
|
|
45
45
|
projectDir?: string | undefined;
|
|
46
46
|
unset?: boolean | undefined;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Model shutdown checks for commands that call a dated model.
|
|
3
|
+
*
|
|
4
|
+
* The catalog records each model's announced shutdown date. Commands check
|
|
5
|
+
* it before any dry run or paid request: a retiring model adds a warning to
|
|
6
|
+
* the dry run, the result, and stderr; a retired model is a usage error that
|
|
7
|
+
* names the replacement. Providers enforce the same rule on their own, so
|
|
8
|
+
* executors that skip this check still never call a retired model.
|
|
9
|
+
*/
|
|
10
|
+
import { type ModelSpec } from "@vibeframe/ai-providers";
|
|
11
|
+
/** Model flags `generate video` reads, keyed by provider. */
|
|
12
|
+
export interface VideoModelFlags {
|
|
13
|
+
seedanceModel?: string;
|
|
14
|
+
grokModel?: string;
|
|
15
|
+
klingModel?: string;
|
|
16
|
+
veoModel?: string;
|
|
17
|
+
runwayModel?: string;
|
|
18
|
+
}
|
|
19
|
+
/** The catalog model a video provider will call, given the command's model flags. */
|
|
20
|
+
export declare function videoModelSpec(provider: string, flags: VideoModelFlags): ModelSpec | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* Exit with a usage error for a retired model; return the shutdown warning
|
|
23
|
+
* for a retiring one, for the caller's envelope and `printWarnings()`.
|
|
24
|
+
*/
|
|
25
|
+
export declare function checkModelLifecycle(spec: ModelSpec | undefined, now?: Date): string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/utils/remotion.d.ts
CHANGED
|
@@ -30,7 +30,13 @@ export interface RenderResult {
|
|
|
30
30
|
error?: string;
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
* Check that
|
|
33
|
+
* Check that renders can run. Each render scaffolds a temp project that
|
|
34
|
+
* installs `remotion` and `@remotion/cli` with npm, then runs the
|
|
35
|
+
* project-local CLI through `npx remotion`, so what must exist up front is
|
|
36
|
+
* npm itself. (Probing `npx remotion` from the caller's directory resolved
|
|
37
|
+
* the `remotion` library package, which has no executable, and failed on
|
|
38
|
+
* every machine without a global @remotion/cli.)
|
|
39
|
+
* Returns an error message if npm is missing.
|
|
34
40
|
*/
|
|
35
41
|
export declare function ensureRemotionInstalled(): Promise<string | null>;
|
|
36
42
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibeframe/cli",
|
|
3
|
-
"version": "0.115.
|
|
3
|
+
"version": "0.115.5",
|
|
4
4
|
"description": "Frontier AI video generation for coding agents - Seedance, Runway, Veo, and Kling on your own keys, behind a hard cost cap",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
@@ -91,8 +91,8 @@
|
|
|
91
91
|
"tsx": "^4.21.0",
|
|
92
92
|
"typescript": "^5.3.3",
|
|
93
93
|
"vitest": "^1.2.2",
|
|
94
|
-
"@vibeframe/ai-providers": "0.115.
|
|
95
|
-
"@vibeframe/core": "0.115.
|
|
94
|
+
"@vibeframe/ai-providers": "0.115.5",
|
|
95
|
+
"@vibeframe/core": "0.115.5"
|
|
96
96
|
},
|
|
97
97
|
"engines": {
|
|
98
98
|
"node": ">=20"
|
|
@@ -104,6 +104,7 @@
|
|
|
104
104
|
"start": "tsx src/index.ts",
|
|
105
105
|
"lint": "eslint --ext .ts,.tsx src/",
|
|
106
106
|
"test": "vitest run",
|
|
107
|
+
"test:integration": "VIBE_TEST_INTEGRATION=1 vitest run",
|
|
107
108
|
"test:watch": "vitest",
|
|
108
109
|
"pretest": "pnpm --dir ../core build && pnpm --dir ../ai-providers build && node build.js"
|
|
109
110
|
}
|