@vibeframe/mcp-server 0.87.0 → 0.88.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/index.js +44 -36
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -25696,6 +25696,42 @@ var init_tts_resolve = __esm({
|
|
|
25696
25696
|
}
|
|
25697
25697
|
});
|
|
25698
25698
|
|
|
25699
|
+
// ../cli/src/commands/_shared/cost-tier.ts
|
|
25700
|
+
function applyTier(cmd, tier) {
|
|
25701
|
+
cmd[COST_TIER_KEY] = tier;
|
|
25702
|
+
const colored = TIER_COLOR[tier](`Cost: ${tier} (${TIER_DESCRIPTION[tier]})`);
|
|
25703
|
+
cmd.addHelpText("after", `
|
|
25704
|
+
${colored}
|
|
25705
|
+
`);
|
|
25706
|
+
return cmd;
|
|
25707
|
+
}
|
|
25708
|
+
function applyTiers(parent, tiers) {
|
|
25709
|
+
for (const cmd of parent.commands) {
|
|
25710
|
+
const tier = tiers[cmd.name()];
|
|
25711
|
+
if (tier) applyTier(cmd, tier);
|
|
25712
|
+
}
|
|
25713
|
+
}
|
|
25714
|
+
var TIER_DESCRIPTION, TIER_COLOR, COST_TIER_KEY;
|
|
25715
|
+
var init_cost_tier = __esm({
|
|
25716
|
+
"../cli/src/commands/_shared/cost-tier.ts"() {
|
|
25717
|
+
"use strict";
|
|
25718
|
+
init_source();
|
|
25719
|
+
TIER_DESCRIPTION = {
|
|
25720
|
+
"free": "FFmpeg only, no API call",
|
|
25721
|
+
"low": "$0.01\u2013$0.10 per call",
|
|
25722
|
+
"high": "$1\u2013$5 per call",
|
|
25723
|
+
"very-high": "$5\u2013$50+ per call"
|
|
25724
|
+
};
|
|
25725
|
+
TIER_COLOR = {
|
|
25726
|
+
"free": source_default.green,
|
|
25727
|
+
"low": source_default.cyan,
|
|
25728
|
+
"high": source_default.yellow,
|
|
25729
|
+
"very-high": source_default.red
|
|
25730
|
+
};
|
|
25731
|
+
COST_TIER_KEY = /* @__PURE__ */ Symbol.for("@vibeframe/cli.costTier");
|
|
25732
|
+
}
|
|
25733
|
+
});
|
|
25734
|
+
|
|
25699
25735
|
// ../../node_modules/.pnpm/esbuild@0.24.2/node_modules/esbuild/lib/main.js
|
|
25700
25736
|
var require_main2 = __commonJS({
|
|
25701
25737
|
"../../node_modules/.pnpm/esbuild@0.24.2/node_modules/esbuild/lib/main.js"(exports, module) {
|
|
@@ -453870,42 +453906,6 @@ var init_ai_fill_gaps = __esm({
|
|
|
453870
453906
|
}
|
|
453871
453907
|
});
|
|
453872
453908
|
|
|
453873
|
-
// ../cli/src/commands/_shared/cost-tier.ts
|
|
453874
|
-
function applyTier(cmd, tier) {
|
|
453875
|
-
cmd[COST_TIER_KEY] = tier;
|
|
453876
|
-
const colored = TIER_COLOR[tier](`Cost: ${tier} (${TIER_DESCRIPTION[tier]})`);
|
|
453877
|
-
cmd.addHelpText("after", `
|
|
453878
|
-
${colored}
|
|
453879
|
-
`);
|
|
453880
|
-
return cmd;
|
|
453881
|
-
}
|
|
453882
|
-
function applyTiers(parent, tiers) {
|
|
453883
|
-
for (const cmd of parent.commands) {
|
|
453884
|
-
const tier = tiers[cmd.name()];
|
|
453885
|
-
if (tier) applyTier(cmd, tier);
|
|
453886
|
-
}
|
|
453887
|
-
}
|
|
453888
|
-
var TIER_DESCRIPTION, TIER_COLOR, COST_TIER_KEY;
|
|
453889
|
-
var init_cost_tier = __esm({
|
|
453890
|
-
"../cli/src/commands/_shared/cost-tier.ts"() {
|
|
453891
|
-
"use strict";
|
|
453892
|
-
init_source();
|
|
453893
|
-
TIER_DESCRIPTION = {
|
|
453894
|
-
"free": "FFmpeg only, no API call",
|
|
453895
|
-
"low": "$0.01\u2013$0.10 per call",
|
|
453896
|
-
"high": "$1\u2013$5 per call",
|
|
453897
|
-
"very-high": "$5\u2013$50+ per call"
|
|
453898
|
-
};
|
|
453899
|
-
TIER_COLOR = {
|
|
453900
|
-
"free": source_default.green,
|
|
453901
|
-
"low": source_default.cyan,
|
|
453902
|
-
"high": source_default.yellow,
|
|
453903
|
-
"very-high": source_default.red
|
|
453904
|
-
};
|
|
453905
|
-
COST_TIER_KEY = /* @__PURE__ */ Symbol.for("@vibeframe/cli.costTier");
|
|
453906
|
-
}
|
|
453907
|
-
});
|
|
453908
|
-
|
|
453909
453909
|
// ../cli/src/commands/edit-cmd.ts
|
|
453910
453910
|
var edit_cmd_exports = {};
|
|
453911
453911
|
__export(edit_cmd_exports, {
|
|
@@ -461728,6 +461728,7 @@ var import_yaml4 = __toESM(require_dist(), 1);
|
|
|
461728
461728
|
init_dist();
|
|
461729
461729
|
init_tts_resolve();
|
|
461730
461730
|
init_scene_project();
|
|
461731
|
+
init_cost_tier();
|
|
461731
461732
|
import { resolve as resolve17, relative as relative6, dirname as dirname14 } from "node:path";
|
|
461732
461733
|
import { mkdir as mkdir8, readFile as readFile7, writeFile as writeFile9, access as access4, copyFile as copyFile2 } from "node:fs/promises";
|
|
461733
461734
|
import { existsSync as existsSync25 } from "node:fs";
|
|
@@ -462854,6 +462855,13 @@ function severityTag(severity) {
|
|
|
462854
462855
|
if (severity === "warning") return source_default.yellow("\u26A0 warn ");
|
|
462855
462856
|
return source_default.blue("\u2139 info ");
|
|
462856
462857
|
}
|
|
462858
|
+
applyTiers(sceneCommand, {
|
|
462859
|
+
"add": "free",
|
|
462860
|
+
"compose-prompts": "free",
|
|
462861
|
+
"install-skill": "free",
|
|
462862
|
+
"lint": "free",
|
|
462863
|
+
"list-styles": "free"
|
|
462864
|
+
});
|
|
462857
462865
|
|
|
462858
462866
|
// ../cli/src/tools/manifest/scene.ts
|
|
462859
462867
|
init_scene_lint();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibeframe/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.88.0",
|
|
4
4
|
"description": "VibeFrame MCP Server - AI-native video editing via Model Context Protocol",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"tsx": "^4.21.0",
|
|
58
58
|
"typescript": "^5.3.3",
|
|
59
59
|
"vitest": "^1.2.2",
|
|
60
|
-
"@vibeframe/
|
|
61
|
-
"@vibeframe/
|
|
60
|
+
"@vibeframe/core": "0.88.0",
|
|
61
|
+
"@vibeframe/cli": "0.88.0"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=20"
|