@koda-sl/baker-cli 0.348.0-dev.78a35388f → 0.348.0-dev.b9f092160
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/cli.js
CHANGED
|
@@ -23,7 +23,6 @@ import {
|
|
|
23
23
|
YtDlpError,
|
|
24
24
|
bestSupportedQuality,
|
|
25
25
|
canonicalUrl,
|
|
26
|
-
catalogView,
|
|
27
26
|
clipAudioMode,
|
|
28
27
|
clipDurationsFor,
|
|
29
28
|
clipParamRecipe,
|
|
@@ -68,7 +67,7 @@ import {
|
|
|
68
67
|
validateCanvasDeep,
|
|
69
68
|
withoutCastName,
|
|
70
69
|
ytDlpBlockSignal
|
|
71
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-CEFJ5YSG.js";
|
|
72
71
|
import {
|
|
73
72
|
csvOrJson,
|
|
74
73
|
daysAgoIso,
|
|
@@ -35518,38 +35517,15 @@ import { defineCommand as defineCommand119 } from "citty";
|
|
|
35518
35517
|
|
|
35519
35518
|
// src/commands/canvas/catalog.ts
|
|
35520
35519
|
import { defineCommand as defineCommand108 } from "citty";
|
|
35521
|
-
var DESCRIPTION = "The canvas node catalog. Start here: `baker canvas catalog` lists every node by category with one line each (a few KB). Then `--node video_generate` prints that node's full JSON Schema \u2014 params, inputs, outputs, models, when to use it. `--category image` narrows the list; add `--full` for that category's schemas. `--full` alone prints every schema (~160 KB) \u2014 prefer `--node`.";
|
|
35522
|
-
var ARGS = {
|
|
35523
|
-
node: {
|
|
35524
|
-
type: "string",
|
|
35525
|
-
required: false,
|
|
35526
|
-
description: "Node id(s) whose full schema to print, comma-separated. Example: --node video_generate,tts"
|
|
35527
|
-
},
|
|
35528
|
-
category: {
|
|
35529
|
-
type: "string",
|
|
35530
|
-
required: false,
|
|
35531
|
-
description: "Only this category (audio, video, image, \u2026). Listed with one line per node unless --full."
|
|
35532
|
-
},
|
|
35533
|
-
full: {
|
|
35534
|
-
type: "boolean",
|
|
35535
|
-
required: false,
|
|
35536
|
-
default: false,
|
|
35537
|
-
description: "Print full JSON Schemas instead of the one-line index (every node, or the --category)."
|
|
35538
|
-
}
|
|
35539
|
-
};
|
|
35540
|
-
registerSchema({ command: "canvas.catalog", description: DESCRIPTION, args: ARGS });
|
|
35541
35520
|
var catalogCommand = defineCommand108({
|
|
35542
|
-
meta: {
|
|
35543
|
-
|
|
35544
|
-
|
|
35545
|
-
|
|
35546
|
-
|
|
35547
|
-
|
|
35548
|
-
|
|
35549
|
-
});
|
|
35550
|
-
process.stdout.write(`${JSON.stringify(view, null, 2)}
|
|
35521
|
+
meta: {
|
|
35522
|
+
name: "catalog",
|
|
35523
|
+
description: "Print the agent-facing node catalog (JSON Schema). Includes every registered node grouped by category."
|
|
35524
|
+
},
|
|
35525
|
+
async run() {
|
|
35526
|
+
const cat = await generateCatalog(defaultRegistry());
|
|
35527
|
+
process.stdout.write(`${JSON.stringify(cat, null, 2)}
|
|
35551
35528
|
`);
|
|
35552
|
-
if (!view.ok) process.exit(1);
|
|
35553
35529
|
}
|
|
35554
35530
|
});
|
|
35555
35531
|
|
|
@@ -44517,7 +44493,7 @@ Subcommands:
|
|
|
44517
44493
|
baker canvas run <file.json> \u2014 execute the canvas, write outputs to ./canvas/<run_id>/
|
|
44518
44494
|
baker canvas rerun <slug> \u2014 restore a creative's latest recorded canvas from run history and run it (works in a fresh workspace)
|
|
44519
44495
|
baker canvas sync-definition <path> \u2014 push a creative's current node-graph + input thumbnails to the dashboard without rendering (runs automatically on canvas/prompt edits)
|
|
44520
|
-
baker canvas catalog \u2014
|
|
44496
|
+
baker canvas catalog \u2014 print the agent-facing node + composition catalog (JSON Schema)
|
|
44521
44497
|
baker canvas inspect <run_id> \u2014 one-page summary of a completed run
|
|
44522
44498
|
baker canvas scaffold-ad --spec <spec.json> \u2014 DEFAULT for a new ad: write beats (one spoken line + one shot each), get the whole runnable canvas
|
|
44523
44499
|
baker canvas scaffold-video <video> \u2014 reproduce a video the USER gave you (an ad you found is inspiration, not a copy target)
|
|
@@ -63853,10 +63829,10 @@ var getCommand5 = defineCommand208({
|
|
|
63853
63829
|
|
|
63854
63830
|
// src/commands/studio/improve.ts
|
|
63855
63831
|
import { defineCommand as defineCommand209 } from "citty";
|
|
63856
|
-
var
|
|
63832
|
+
var DESCRIPTION = "Sharpen a rough brief into directed art direction \u2014 the same rewrite the client gets from the wand in the Studio prompt bar. Reach for it when you are relaying the CLIENT's own words and want them shaped without substituting your voice; when you are writing the art direction yourself, just write it, because you will do a better job than this does.";
|
|
63857
63833
|
registerSchema({
|
|
63858
63834
|
command: "studio.improve",
|
|
63859
|
-
description:
|
|
63835
|
+
description: DESCRIPTION,
|
|
63860
63836
|
args: {
|
|
63861
63837
|
prompt: { type: "string", description: "The rough brief to sharpen", required: true },
|
|
63862
63838
|
kind: {
|
|
@@ -63880,7 +63856,7 @@ registerSchema({
|
|
|
63880
63856
|
var improveCommand = defineCommand209({
|
|
63881
63857
|
meta: {
|
|
63882
63858
|
name: "improve",
|
|
63883
|
-
description: `${
|
|
63859
|
+
description: `${DESCRIPTION}
|
|
63884
63860
|
|
|
63885
63861
|
Both the rewrite and the original come back, so you can show the client what changed rather than silently replacing their words. Nothing is generated \u2014 feed the result to \`baker studio generate\` yourself.
|
|
63886
63862
|
|
|
@@ -64028,10 +64004,10 @@ var listCommand18 = defineCommand211({
|
|
|
64028
64004
|
|
|
64029
64005
|
// src/commands/studio/models.ts
|
|
64030
64006
|
import { defineCommand as defineCommand212 } from "citty";
|
|
64031
|
-
var
|
|
64007
|
+
var DESCRIPTION2 = "What each Studio model actually accepts: its shapes, resolutions, clip lengths, prompt character cap, how many reference images it takes, and which knobs it has. Read this before a batch you care about \u2014 the models disagree far more than they look like they do, and a setting the chosen model does not have is REFUSED, not ignored.";
|
|
64032
64008
|
registerSchema({
|
|
64033
64009
|
command: "studio.models",
|
|
64034
|
-
description:
|
|
64010
|
+
description: DESCRIPTION2,
|
|
64035
64011
|
args: {
|
|
64036
64012
|
kind: {
|
|
64037
64013
|
type: "string",
|
|
@@ -64117,7 +64093,7 @@ function buildModelCards(kind, model) {
|
|
|
64117
64093
|
var modelsCommand = defineCommand212({
|
|
64118
64094
|
meta: {
|
|
64119
64095
|
name: "models",
|
|
64120
|
-
description: `${
|
|
64096
|
+
description: `${DESCRIPTION2}
|
|
64121
64097
|
|
|
64122
64098
|
Everything here is read from the same table the backend validates against, so it cannot drift from what a request will actually be allowed to do.
|
|
64123
64099
|
|