@vibeframe/cli 0.93.0 → 0.94.1
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/index.js +5 -12
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -14381,7 +14381,6 @@ var init_api_keys = __esm({
|
|
|
14381
14381
|
defineApiKey({
|
|
14382
14382
|
configKey: "fal",
|
|
14383
14383
|
envVar: "FAL_API_KEY",
|
|
14384
|
-
envAliases: ["FAL_KEY"],
|
|
14385
14384
|
label: "fal.ai",
|
|
14386
14385
|
showInSetup: true,
|
|
14387
14386
|
setupDescription: "Seedance 2.0 video gen ($$, default since v0.57)",
|
|
@@ -26017,7 +26016,6 @@ var init_api_key = __esm({
|
|
|
26017
26016
|
XAI_API_KEY: "xai",
|
|
26018
26017
|
ELEVENLABS_API_KEY: "elevenlabs",
|
|
26019
26018
|
FAL_API_KEY: "fal",
|
|
26020
|
-
FAL_KEY: "fal",
|
|
26021
26019
|
RUNWAY_API_SECRET: "runway",
|
|
26022
26020
|
KLING_API_KEY: "kling",
|
|
26023
26021
|
OPENROUTER_API_KEY: "openrouter",
|
|
@@ -26031,7 +26029,6 @@ var init_api_key = __esm({
|
|
|
26031
26029
|
XAI_API_KEY: "https://console.x.ai",
|
|
26032
26030
|
ELEVENLABS_API_KEY: "https://elevenlabs.io/app/settings/api-keys",
|
|
26033
26031
|
FAL_API_KEY: "https://fal.ai/dashboard/keys",
|
|
26034
|
-
FAL_KEY: "https://fal.ai/dashboard/keys",
|
|
26035
26032
|
RUNWAY_API_SECRET: "https://app.runwayml.com/settings/api-keys",
|
|
26036
26033
|
KLING_API_KEY: "https://klingai.com/dev",
|
|
26037
26034
|
REPLICATE_API_TOKEN: "https://replicate.com/account/api-tokens",
|
|
@@ -52830,7 +52827,7 @@ async function executeVideoGenerate(options) {
|
|
|
52830
52827
|
fal: "FAL_API_KEY"
|
|
52831
52828
|
};
|
|
52832
52829
|
const envKey = envKeyMap[provider] || "";
|
|
52833
|
-
const key = apiKey || (hasApiKey(envKey) ? process.env[envKey]
|
|
52830
|
+
const key = apiKey || (hasApiKey(envKey) ? process.env[envKey] : void 0);
|
|
52834
52831
|
if (!key) return { success: false, error: `${envKeyMap[provider]} required for ${provider}` };
|
|
52835
52832
|
let referenceImage;
|
|
52836
52833
|
let referenceImageBuffer;
|
|
@@ -63447,7 +63444,7 @@ init_source();
|
|
|
63447
63444
|
// package.json
|
|
63448
63445
|
var package_default = {
|
|
63449
63446
|
name: "@vibeframe/cli",
|
|
63450
|
-
version: "0.
|
|
63447
|
+
version: "0.94.1",
|
|
63451
63448
|
description: "VibeFrame CLI - natural language video editing from the terminal",
|
|
63452
63449
|
private: false,
|
|
63453
63450
|
license: "MIT",
|
|
@@ -70449,7 +70446,6 @@ function envValueFor(meta) {
|
|
|
70449
70446
|
return process.env[meta.envVar] || meta.envAliases?.map((alias) => process.env[alias]).find(Boolean);
|
|
70450
70447
|
}
|
|
70451
70448
|
function envValueForName(envVar) {
|
|
70452
|
-
if (envVar === "FAL_API_KEY") return process.env.FAL_API_KEY || process.env.FAL_KEY;
|
|
70453
70449
|
return process.env[envVar];
|
|
70454
70450
|
}
|
|
70455
70451
|
function parseScope(raw) {
|
|
@@ -70771,11 +70767,8 @@ function applyProviderDefault(config2, choice) {
|
|
|
70771
70767
|
}
|
|
70772
70768
|
}
|
|
70773
70769
|
function isProviderChoiceConfigured(config2, choice) {
|
|
70774
|
-
|
|
70775
|
-
|
|
70776
|
-
);
|
|
70777
|
-
for (const keyDef of keys) {
|
|
70778
|
-
const value = config2.providers[keyDef.configKey];
|
|
70770
|
+
if (choice.key) {
|
|
70771
|
+
const value = config2.providers[choice.key.configKey];
|
|
70779
70772
|
if (value) return true;
|
|
70780
70773
|
}
|
|
70781
70774
|
if (choice.defaultFor?.kind === "image") {
|
|
@@ -71580,7 +71573,7 @@ async function showConfig(opts = { verbose: false }) {
|
|
|
71580
71573
|
let unsetCount = 0;
|
|
71581
71574
|
for (const p of providerKeys) {
|
|
71582
71575
|
const configValue = config2?.providers[p.key];
|
|
71583
|
-
const dotenvValue = dotenvKeys[p.env]
|
|
71576
|
+
const dotenvValue = dotenvKeys[p.env];
|
|
71584
71577
|
if (configValue || dotenvValue) {
|
|
71585
71578
|
const sources = [];
|
|
71586
71579
|
if (configValue) sources.push("config");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibeframe/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.94.1",
|
|
4
4
|
"description": "VibeFrame CLI - natural language video editing from the terminal",
|
|
5
5
|
"private": false,
|
|
6
6
|
"license": "MIT",
|
|
@@ -183,8 +183,8 @@
|
|
|
183
183
|
"tsx": "^4.21.0",
|
|
184
184
|
"typescript": "^5.3.3",
|
|
185
185
|
"vitest": "^1.2.2",
|
|
186
|
-
"@vibeframe/ai-providers": "0.
|
|
187
|
-
"@vibeframe/core": "0.
|
|
186
|
+
"@vibeframe/ai-providers": "0.94.1",
|
|
187
|
+
"@vibeframe/core": "0.94.1"
|
|
188
188
|
},
|
|
189
189
|
"engines": {
|
|
190
190
|
"node": ">=20"
|