@koda-sl/baker-cli 0.270.2-dev.f69bf4bac → 0.270.3-dev.e350bbc93

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
@@ -30,6 +30,7 @@ import {
30
30
  elementMentionKeywords,
31
31
  estimateVideoCredits,
32
32
  fetchExternalBytes,
33
+ frameRealismDirection,
33
34
  generateCatalog,
34
35
  imageProfileFor,
35
36
  isAudioOnly,
@@ -58,7 +59,7 @@ import {
58
59
  ulid,
59
60
  validateCanvasDeep,
60
61
  ytDlpBlockSignal
61
- } from "./chunk-LDDTPUYV.js";
62
+ } from "./chunk-LJ5DIC4F.js";
62
63
  import {
63
64
  csvOrJson,
64
65
  daysAgoIso,
@@ -34836,12 +34837,17 @@ function voiceoverMode(spec, nativeSpeech) {
34836
34837
  if (spec.voiceover === false) return "none";
34837
34838
  return nativeSpeech ? "on_camera" : "voiceover";
34838
34839
  }
34840
+ function castRole(spec) {
34841
+ if (!spec.cast) return void 0;
34842
+ const described = spec.cast.description?.trim();
34843
+ return described ? `${described} \u2014 a customer telling their own story, not a worker` : "a customer telling their own story, not a worker";
34844
+ }
34839
34845
  function adSpecToBlueprint(spec, avatarAccent) {
34840
34846
  const total = spec.beats.length;
34841
34847
  const market = marketFor(spec);
34842
34848
  const place = market ? ` Set in ${market}: the architecture, streets and styling are ${market}'s.` : "";
34843
34849
  const currency = market ? CURRENCY_BY_MARKET[market.toLowerCase()] : void 0;
34844
- const physics = " Everything obeys real-world physics: paper, card and screens are OPAQUE with nothing showing through from behind, every object is at believable real-world scale next to the people handling it, and every object has its real-world form and construction \u2014 a phone has ONE screen and it is on the front. NO readable text or numbers anywhere in frame \u2014 phone screens, documents and signage stay illegible or out of focus, because any figure the model invents will contradict the script. Hands are kept simple: no close-up of fingers manipulating small parts, no hand gripping the edge of an object, and each person has exactly TWO arms and TWO legs, all attached and all visible or all out of frame. Anyone working does so the way the trade actually does it: nobody stands or kneels on the equipment being installed, nothing is fitted overhanging an edge or floating unsupported, and every part rests on the structure that would really carry it." + (currency ? ` If a currency is unavoidably visible it is ${currency}.` : "");
34850
+ const physics = frameRealismDirection({ currency, role: castRole(spec) });
34845
34851
  const closesOnCard = endCardWanted(spec);
34846
34852
  const nativeSpeech = wantsNativeSpeech(spec, closesOnCard);
34847
34853
  let clock = 0;