@koda-sl/baker-cli 0.432.0-dev.795979397 → 0.434.0-dev.42b55fa66
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
|
@@ -198,7 +198,7 @@ import {
|
|
|
198
198
|
withoutCastName,
|
|
199
199
|
wordCount,
|
|
200
200
|
ytDlpBlockSignal
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-MMTPMFFH.js";
|
|
202
202
|
import {
|
|
203
203
|
NAME_CONTAINS_ARG,
|
|
204
204
|
csvOrJson,
|
|
@@ -66845,6 +66845,10 @@ function projectAdaptCopy(nodes, spec) {
|
|
|
66845
66845
|
}
|
|
66846
66846
|
return changed;
|
|
66847
66847
|
}
|
|
66848
|
+
function variantChecks(nodes, spec) {
|
|
66849
|
+
const checks = staticChecksOf(spec);
|
|
66850
|
+
return checks ? { ...checks, logo: checks.logo && nodes.some((n) => n.tags?.role === BRAND_LOGO_ROLE) } : null;
|
|
66851
|
+
}
|
|
66848
66852
|
function projectJudges(nodes, spec, brief2) {
|
|
66849
66853
|
const criteria = judgeBrief(brief2, {
|
|
66850
66854
|
...spec.brand?.name ? { brand: spec.brand.name } : {},
|
|
@@ -66852,7 +66856,7 @@ function projectJudges(nodes, spec, brief2) {
|
|
|
66852
66856
|
mechanisms: spec.mechanism.map((m) => m.device)
|
|
66853
66857
|
});
|
|
66854
66858
|
let changed = 0;
|
|
66855
|
-
const checks =
|
|
66859
|
+
const checks = variantChecks(nodes, spec);
|
|
66856
66860
|
for (const prefilter of nodes.filter((n) => n.tags?.role === VARIANT_PREFILTER_ROLE)) {
|
|
66857
66861
|
const before = JSON.stringify([prefilter.params, prefilter.inputs]);
|
|
66858
66862
|
const params = { ...prefilter.params, ...checks ? { checks } : {} };
|
|
@@ -74806,7 +74810,7 @@ async function reviewStaticRun(opts) {
|
|
|
74806
74810
|
...allowedSceneWords(spec),
|
|
74807
74811
|
...spec.native ? nativeChrome(spec.native, spec.viewer?.market?.language) : []
|
|
74808
74812
|
];
|
|
74809
|
-
expectLogo = spec.logo && !spec.native;
|
|
74813
|
+
expectLogo = spec.logo && !spec.native && staticRunShape(opts.parsed).logo;
|
|
74810
74814
|
concept = conceptSummary(spec);
|
|
74811
74815
|
uncast = spec.native ? [] : uncastPeople(spec);
|
|
74812
74816
|
} catch {
|
|
@@ -80866,7 +80870,11 @@ function ideasHints(report) {
|
|
|
80866
80870
|
hints2.push("No idea cites an insight: put the insight ids that back each one in its `evidence`.");
|
|
80867
80871
|
}
|
|
80868
80872
|
const next = buildNext(report.ideas);
|
|
80869
|
-
if (next.length
|
|
80873
|
+
if (next.length === 1) hints2.push(`Build: \`baker creatives make ${next[0]}\`.`);
|
|
80874
|
+
if (next.length > 1)
|
|
80875
|
+
hints2.push(
|
|
80876
|
+
`Build ${next.join(", ")} at once: one \`creative-producer\` per idea, all spawned in one message, each given its idea id. Never build them one after another: each render takes about five minutes.`
|
|
80877
|
+
);
|
|
80870
80878
|
return hints2;
|
|
80871
80879
|
}
|
|
80872
80880
|
function buildNext(ideas, count2 = BUILD_NEXT) {
|