@koda-sl/baker-cli 0.353.0-dev.0a55fe912 → 0.353.0-dev.56f955de4
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/README.md +2 -3
- package/dist/{chunk-Q2VR3FVM.js → chunk-B7MLH3K6.js} +4 -17
- package/dist/{chunk-Q2VR3FVM.js.map → chunk-B7MLH3K6.js.map} +1 -1
- package/dist/cli.js +188 -211
- package/dist/cli.js.map +1 -1
- package/dist/engine/index.d.ts +0 -8
- package/dist/engine/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -615,7 +615,7 @@ baker ads google keywords update <criterion-id> --customer-id 1234567890 --clear
|
|
|
615
615
|
baker ads google ads create --customer-id 1234567890 --ad-group-ref g_temp_<adgroup> \
|
|
616
616
|
--headlines "Fast Widgets,Buy Online,Free Shipping" --descriptions "Best widgets around.,Ships tomorrow." \
|
|
617
617
|
--final-url https://example.com
|
|
618
|
-
# Copy with commas in it — repeat the flag once per item (or quote the item: '"Fast, free quotes",Book today')
|
|
618
|
+
# Copy with commas in it — repeat the flag once per item (or quote the item: '"Fast, free quotes",Book today', or escape its comma: 'Fast\, free quotes,Book today')
|
|
619
619
|
baker ads google ads create --customer-id 1234567890 --ad-group-ref g_temp_<adgroup> \
|
|
620
620
|
--headlines "Fast Widgets,Buy Online,Free Shipping" \
|
|
621
621
|
--descriptions "Calls, messages and bookings in one place." --descriptions "Ships tomorrow, free." \
|
|
@@ -5553,7 +5553,7 @@ Resolves the run dir against `--outputs-dir` (default `./canvas`) or accepts an
|
|
|
5553
5553
|
|
|
5554
5554
|
#### `baker canvas catalog`
|
|
5555
5555
|
|
|
5556
|
-
Prints the agent-facing node catalog. By default it is a compact index (a few KB): `categories` (category → node ids)
|
|
5556
|
+
Prints the agent-facing node catalog. By default it is a compact index (a few KB): `categories` (category → node ids) and `nodes` (node id → one line), plus `hints`. Ask for full JSON Schemas by name:
|
|
5557
5557
|
|
|
5558
5558
|
- `--node <id>[,<id>…]` — those nodes' full entries: `id`, `version`, `location`, `category`, `summary`, `when_to_use`, `inputs`/`params`/`outputs` schemas, `cost_estimate_credits`, `runtime_estimate_seconds`.
|
|
5559
5559
|
- `--category <name>` — narrow the index to one category; add `--full` for that category's full entries.
|
|
@@ -5565,7 +5565,6 @@ An unknown node or category exits 1 with `{ ok: false, error: { code: "NOT_FOUND
|
|
|
5565
5565
|
baker canvas catalog
|
|
5566
5566
|
baker canvas catalog --node video_generate
|
|
5567
5567
|
baker canvas catalog --category audio --full
|
|
5568
|
-
baker canvas catalog | jq '.compositions[].id'
|
|
5569
5568
|
```
|
|
5570
5569
|
|
|
5571
5570
|
---
|
|
@@ -9609,8 +9609,7 @@ function generateCatalog(registry, opts = {}) {
|
|
|
9609
9609
|
schema: "baker-canvas-catalog/2",
|
|
9610
9610
|
generated_at: opts.generatedAt ?? (/* @__PURE__ */ new Date()).toISOString(),
|
|
9611
9611
|
categories: groupIds(entries),
|
|
9612
|
-
entries
|
|
9613
|
-
compositions: opts.compositions ?? []
|
|
9612
|
+
entries
|
|
9614
9613
|
};
|
|
9615
9614
|
}
|
|
9616
9615
|
var INDEX_SUMMARY_MAX = 160;
|
|
@@ -9666,15 +9665,8 @@ function catalogView(catalog, opts) {
|
|
|
9666
9665
|
const entries = catalog.entries.filter((e) => requestedIds.includes(e.id));
|
|
9667
9666
|
return { ok: true, schema: catalog.schema, categories: groupIds(entries), entries };
|
|
9668
9667
|
}
|
|
9669
|
-
const compositions = opts.category === void 0 ? { compositions: catalog.compositions } : {};
|
|
9670
9668
|
if (opts.full) {
|
|
9671
|
-
return {
|
|
9672
|
-
ok: true,
|
|
9673
|
-
schema: catalog.schema,
|
|
9674
|
-
categories,
|
|
9675
|
-
entries: catalog.entries.filter(inCategory),
|
|
9676
|
-
...compositions
|
|
9677
|
-
};
|
|
9669
|
+
return { ok: true, schema: catalog.schema, categories, entries: catalog.entries.filter(inCategory) };
|
|
9678
9670
|
}
|
|
9679
9671
|
const nodes = {};
|
|
9680
9672
|
for (const e of catalog.entries.filter(inCategory)) nodes[e.id] = oneLine(e.summary);
|
|
@@ -9683,13 +9675,9 @@ function catalogView(catalog, opts) {
|
|
|
9683
9675
|
schema: catalog.schema,
|
|
9684
9676
|
categories,
|
|
9685
9677
|
nodes,
|
|
9686
|
-
...compositions,
|
|
9687
9678
|
hints: [
|
|
9688
9679
|
"One node's params, inputs, outputs, models and when to use it: baker canvas catalog --node <id> (comma-separate several).",
|
|
9689
|
-
"Every schema in a category: --category <name> --full. Every node: --full (large; prefer --node)."
|
|
9690
|
-
...opts.category === void 0 ? [
|
|
9691
|
-
"compositions: ready-made motion graphics. Copy one's `dir` next to your canvas, then point a hyperframe_render or hyperframe_snapshot `params.composition` at the copy; its meta.json lists the params."
|
|
9692
|
-
] : []
|
|
9680
|
+
"Every schema in a category: --category <name> --full. Every node: --full (large; prefer --node)."
|
|
9693
9681
|
]
|
|
9694
9682
|
};
|
|
9695
9683
|
}
|
|
@@ -9879,7 +9867,6 @@ export {
|
|
|
9879
9867
|
durationSeconds,
|
|
9880
9868
|
canonicalUrl,
|
|
9881
9869
|
toModelSafeImage,
|
|
9882
|
-
loadCompositionMeta,
|
|
9883
9870
|
catalogView,
|
|
9884
9871
|
BackendClient2,
|
|
9885
9872
|
Engine2 as Engine,
|
|
@@ -9891,4 +9878,4 @@ export {
|
|
|
9891
9878
|
defaultRegistry,
|
|
9892
9879
|
createEngineFromEnv
|
|
9893
9880
|
};
|
|
9894
|
-
//# sourceMappingURL=chunk-
|
|
9881
|
+
//# sourceMappingURL=chunk-B7MLH3K6.js.map
|