@koda-sl/baker-cli 0.480.0 → 0.481.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.
Files changed (73) hide show
  1. package/README.md +3 -3
  2. package/dist/{canvas-BPACZHNU.js → canvas-4T64K6PQ.js} +12 -12
  3. package/dist/{catalog-RMMECI4Z.js → catalog-UPF4SOBW.js} +3 -3
  4. package/dist/{chunk-65PUXMWE.js → chunk-4VWTIT5C.js} +2 -2
  5. package/dist/{chunk-7HJR5M4R.js → chunk-5RCCESDX.js} +23 -6
  6. package/dist/chunk-5RCCESDX.js.map +1 -0
  7. package/dist/{chunk-D4I3KULJ.js → chunk-ELL2IQMF.js} +3 -3
  8. package/dist/chunk-ELL2IQMF.js.map +1 -0
  9. package/dist/{chunk-7LU7KARN.js → chunk-K2Z3KGOH.js} +2 -2
  10. package/dist/{chunk-KCKC637S.js → chunk-KQDAFZKR.js} +2 -2
  11. package/dist/{chunk-HJQ7N7FC.js → chunk-LJNYZLOH.js} +2 -2
  12. package/dist/{chunk-AIJBZSZV.js → chunk-LULQRFGD.js} +6 -6
  13. package/dist/{chunk-GMSKPGLI.js → chunk-O6OCL3LH.js} +9 -9
  14. package/dist/{chunk-TF4PGUO5.js → chunk-PJSIVGHU.js} +5 -5
  15. package/dist/{chunk-JD4SABZC.js → chunk-U4W4LULB.js} +5 -5
  16. package/dist/{chunk-C3TTE7GS.js → chunk-U6IWRZQF.js} +3 -3
  17. package/dist/{chunk-LS3A753J.js → chunk-V6PXHQSI.js} +2 -2
  18. package/dist/{chunk-QVNSVFSD.js → chunk-WD5BQBVY.js} +2 -2
  19. package/dist/{chunk-V7N666PJ.js → chunk-WMVTIKET.js} +2 -2
  20. package/dist/{chunk-NBNLGJH5.js → chunk-XSGO44OV.js} +2 -2
  21. package/dist/cli.js +2 -2
  22. package/dist/{creatives-F3TMRTIR.js → creatives-U2M4F3D5.js} +5 -5
  23. package/dist/{critique-A2OEMGZS.js → critique-43OVWKN7.js} +3 -3
  24. package/dist/engine/index.js +2 -2
  25. package/dist/{feedback-CCU6ECMQ.js → feedback-3GU3PAEI.js} +6 -6
  26. package/dist/{feedback-record-JCE3JWG6.js → feedback-record-PIJDOJW3.js} +6 -6
  27. package/dist/{make-X6IG6KAZ.js → make-IHJROEKG.js} +20 -15
  28. package/dist/make-IHJROEKG.js.map +1 -0
  29. package/dist/{rerun-NR54OG3M.js → rerun-GFMBT6NJ.js} +10 -10
  30. package/dist/{run-IIU2UVQU.js → run-AIBAPD4R.js} +10 -10
  31. package/dist/{scaffold-ad-3VMAP5BF.js → scaffold-ad-7L6D6PKO.js} +8 -8
  32. package/dist/{scaffold-static-ad-Z7LO7PKI.js → scaffold-static-ad-V2H7TOG6.js} +13 -13
  33. package/dist/{scaffold-video-SBSSR7TZ.js → scaffold-video-A3KAT6QO.js} +7 -7
  34. package/dist/{select-ON3KZEEK.js → select-Q4S4CPKV.js} +5 -5
  35. package/dist/{set-prompt-RHMZ7SFC.js → set-prompt-VLGJG5WO.js} +4 -4
  36. package/dist/{stale-OIOOAP2S.js → stale-NT2JRQHY.js} +4 -4
  37. package/dist/{sync-definition-5JO7QXX3.js → sync-definition-VSR72E7E.js} +7 -7
  38. package/dist/{translate-K4D7KDYV.js → translate-27DIFMBU.js} +7 -7
  39. package/dist/{validate-PEWGXGCR.js → validate-2NRSRRMM.js} +7 -7
  40. package/package.json +1 -1
  41. package/dist/chunk-7HJR5M4R.js.map +0 -1
  42. package/dist/chunk-D4I3KULJ.js.map +0 -1
  43. package/dist/make-X6IG6KAZ.js.map +0 -1
  44. /package/dist/{canvas-BPACZHNU.js.map → canvas-4T64K6PQ.js.map} +0 -0
  45. /package/dist/{catalog-RMMECI4Z.js.map → catalog-UPF4SOBW.js.map} +0 -0
  46. /package/dist/{chunk-65PUXMWE.js.map → chunk-4VWTIT5C.js.map} +0 -0
  47. /package/dist/{chunk-7LU7KARN.js.map → chunk-K2Z3KGOH.js.map} +0 -0
  48. /package/dist/{chunk-KCKC637S.js.map → chunk-KQDAFZKR.js.map} +0 -0
  49. /package/dist/{chunk-HJQ7N7FC.js.map → chunk-LJNYZLOH.js.map} +0 -0
  50. /package/dist/{chunk-AIJBZSZV.js.map → chunk-LULQRFGD.js.map} +0 -0
  51. /package/dist/{chunk-GMSKPGLI.js.map → chunk-O6OCL3LH.js.map} +0 -0
  52. /package/dist/{chunk-TF4PGUO5.js.map → chunk-PJSIVGHU.js.map} +0 -0
  53. /package/dist/{chunk-JD4SABZC.js.map → chunk-U4W4LULB.js.map} +0 -0
  54. /package/dist/{chunk-C3TTE7GS.js.map → chunk-U6IWRZQF.js.map} +0 -0
  55. /package/dist/{chunk-LS3A753J.js.map → chunk-V6PXHQSI.js.map} +0 -0
  56. /package/dist/{chunk-QVNSVFSD.js.map → chunk-WD5BQBVY.js.map} +0 -0
  57. /package/dist/{chunk-V7N666PJ.js.map → chunk-WMVTIKET.js.map} +0 -0
  58. /package/dist/{chunk-NBNLGJH5.js.map → chunk-XSGO44OV.js.map} +0 -0
  59. /package/dist/{creatives-F3TMRTIR.js.map → creatives-U2M4F3D5.js.map} +0 -0
  60. /package/dist/{critique-A2OEMGZS.js.map → critique-43OVWKN7.js.map} +0 -0
  61. /package/dist/{feedback-CCU6ECMQ.js.map → feedback-3GU3PAEI.js.map} +0 -0
  62. /package/dist/{feedback-record-JCE3JWG6.js.map → feedback-record-PIJDOJW3.js.map} +0 -0
  63. /package/dist/{rerun-NR54OG3M.js.map → rerun-GFMBT6NJ.js.map} +0 -0
  64. /package/dist/{run-IIU2UVQU.js.map → run-AIBAPD4R.js.map} +0 -0
  65. /package/dist/{scaffold-ad-3VMAP5BF.js.map → scaffold-ad-7L6D6PKO.js.map} +0 -0
  66. /package/dist/{scaffold-static-ad-Z7LO7PKI.js.map → scaffold-static-ad-V2H7TOG6.js.map} +0 -0
  67. /package/dist/{scaffold-video-SBSSR7TZ.js.map → scaffold-video-A3KAT6QO.js.map} +0 -0
  68. /package/dist/{select-ON3KZEEK.js.map → select-Q4S4CPKV.js.map} +0 -0
  69. /package/dist/{set-prompt-RHMZ7SFC.js.map → set-prompt-VLGJG5WO.js.map} +0 -0
  70. /package/dist/{stale-OIOOAP2S.js.map → stale-NT2JRQHY.js.map} +0 -0
  71. /package/dist/{sync-definition-5JO7QXX3.js.map → sync-definition-VSR72E7E.js.map} +0 -0
  72. /package/dist/{translate-K4D7KDYV.js.map → translate-27DIFMBU.js.map} +0 -0
  73. /package/dist/{validate-PEWGXGCR.js.map → validate-2NRSRRMM.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  REF_PREFIX
3
- } from "./chunk-D4I3KULJ.js";
3
+ } from "./chunk-ELL2IQMF.js";
4
4
 
5
5
  // src/commands/canvas/node-preview.ts
6
6
  var MAX_PARAMS_PREVIEW_LENGTH = 4e3;
@@ -61,4 +61,4 @@ ${body}` : header || body || compactJson(record);
61
61
  export {
62
62
  nodeParamsPreview
63
63
  };
64
- //# sourceMappingURL=chunk-7LU7KARN.js.map
64
+ //# sourceMappingURL=chunk-K2Z3KGOH.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  prepareCanvas,
3
3
  unsuppliedPlaceholderAssets
4
- } from "./chunk-7HJR5M4R.js";
4
+ } from "./chunk-5RCCESDX.js";
5
5
  import {
6
6
  isSourceStale
7
7
  } from "./chunk-FRK7SSEH.js";
@@ -119,4 +119,4 @@ export {
119
119
  staleCreatives,
120
120
  clearLegacyDirtyMarker
121
121
  };
122
- //# sourceMappingURL=chunk-KCKC637S.js.map
122
+ //# sourceMappingURL=chunk-KQDAFZKR.js.map
@@ -47,7 +47,7 @@ import {
47
47
  usesTextColour,
48
48
  validateCanvas,
49
49
  validateCanvasDeep
50
- } from "./chunk-D4I3KULJ.js";
50
+ } from "./chunk-ELL2IQMF.js";
51
51
  import {
52
52
  FRAME_CUT,
53
53
  bandViolations,
@@ -8658,4 +8658,4 @@ export {
8658
8658
  defaultRegistry,
8659
8659
  createEngineFromEnv
8660
8660
  };
8661
- //# sourceMappingURL=chunk-HJQ7N7FC.js.map
8661
+ //# sourceMappingURL=chunk-LJNYZLOH.js.map
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  nodeParamsPreview
3
- } from "./chunk-7LU7KARN.js";
3
+ } from "./chunk-K2Z3KGOH.js";
4
4
  import {
5
5
  creativeSlugFromCanvasPath
6
- } from "./chunk-65PUXMWE.js";
6
+ } from "./chunk-4VWTIT5C.js";
7
7
  import {
8
8
  parseDefinitionDelivery,
9
9
  parseDefinitionSeriesPlace,
10
10
  parseDefinitionSourceFields,
11
11
  parseDefinitionStrategyFields,
12
12
  prepareCanvas
13
- } from "./chunk-7HJR5M4R.js";
13
+ } from "./chunk-5RCCESDX.js";
14
14
  import {
15
15
  BackendClient
16
- } from "./chunk-HJQ7N7FC.js";
16
+ } from "./chunk-LJNYZLOH.js";
17
17
  import {
18
18
  nodeDependencies
19
- } from "./chunk-D4I3KULJ.js";
19
+ } from "./chunk-ELL2IQMF.js";
20
20
  import {
21
21
  requireCredentialsFromEnv
22
22
  } from "./chunk-2FSEESJU.js";
@@ -221,4 +221,4 @@ export {
221
221
  resolveCanvasPath,
222
222
  syncDefinitionCommand
223
223
  };
224
- //# sourceMappingURL=chunk-AIJBZSZV.js.map
224
+ //# sourceMappingURL=chunk-LULQRFGD.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  nodeParamsPreview
3
- } from "./chunk-7LU7KARN.js";
3
+ } from "./chunk-K2Z3KGOH.js";
4
4
  import {
5
5
  outputRatioWarningsFor,
6
6
  shownBaseline,
7
7
  shownVersion
8
- } from "./chunk-TF4PGUO5.js";
8
+ } from "./chunk-PJSIVGHU.js";
9
9
  import {
10
10
  waitForSheet
11
11
  } from "./chunk-WN4KX7GE.js";
@@ -36,7 +36,7 @@ import {
36
36
  variantImage,
37
37
  versionRun,
38
38
  writeSeriesMemberCanvas
39
- } from "./chunk-JD4SABZC.js";
39
+ } from "./chunk-U4W4LULB.js";
40
40
  import {
41
41
  buildFailedRunRecord,
42
42
  buildInitialRunRecord,
@@ -46,7 +46,7 @@ import {
46
46
  finalOutputLabelsFromCanvas,
47
47
  nodeOutputsToRecord,
48
48
  withFacts
49
- } from "./chunk-65PUXMWE.js";
49
+ } from "./chunk-4VWTIT5C.js";
50
50
  import {
51
51
  clearLegacyDirtyMarker,
52
52
  readRenderState,
@@ -55,7 +55,7 @@ import {
55
55
  recordReviewOutcome,
56
56
  recordSeriesLeadRun,
57
57
  recordSnapshot
58
- } from "./chunk-KCKC637S.js";
58
+ } from "./chunk-KQDAFZKR.js";
59
59
  import {
60
60
  BRAND_LOGO_ROLE,
61
61
  CLAIMS_MODEL,
@@ -85,7 +85,7 @@ import {
85
85
  uncastPeople,
86
86
  wireNamedPeople,
87
87
  wireProofBadges
88
- } from "./chunk-7HJR5M4R.js";
88
+ } from "./chunk-5RCCESDX.js";
89
89
  import {
90
90
  ViewerAnswerSchema,
91
91
  describeViewer,
@@ -142,7 +142,7 @@ import {
142
142
  resolveConcurrency,
143
143
  sizeDifferenceFinding,
144
144
  ulid
145
- } from "./chunk-HJQ7N7FC.js";
145
+ } from "./chunk-LJNYZLOH.js";
146
146
  import {
147
147
  BackendClient,
148
148
  LOGO_COMPOSITE_ROLE,
@@ -177,7 +177,7 @@ import {
177
177
  staticMasterFormat,
178
178
  textColourSource,
179
179
  usesTextColour
180
- } from "./chunk-D4I3KULJ.js";
180
+ } from "./chunk-ELL2IQMF.js";
181
181
  import {
182
182
  bytesOf,
183
183
  judgeWinner,
@@ -3843,4 +3843,4 @@ export {
3843
3843
  executeCanvasRun,
3844
3844
  buildBackendClient
3845
3845
  };
3846
- //# sourceMappingURL=chunk-GMSKPGLI.js.map
3846
+ //# sourceMappingURL=chunk-O6OCL3LH.js.map
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  readRenderState,
3
3
  recordSeen
4
- } from "./chunk-KCKC637S.js";
4
+ } from "./chunk-KQDAFZKR.js";
5
5
  import {
6
6
  GLOBAL_PROMPT_FILE,
7
7
  ideaBaseline,
8
8
  isVideoBlueprint,
9
9
  readIdeaAnchor,
10
10
  recordedChanges
11
- } from "./chunk-7HJR5M4R.js";
11
+ } from "./chunk-5RCCESDX.js";
12
12
  import {
13
13
  loadCompositionMeta
14
- } from "./chunk-HJQ7N7FC.js";
14
+ } from "./chunk-LJNYZLOH.js";
15
15
  import {
16
16
  parseRefExpr
17
- } from "./chunk-D4I3KULJ.js";
17
+ } from "./chunk-ELL2IQMF.js";
18
18
  import {
19
19
  resolveAdaptFormats
20
20
  } from "./chunk-T6ATGN7Y.js";
@@ -188,4 +188,4 @@ export {
188
188
  shownVersion,
189
189
  shownBaseline
190
190
  };
191
- //# sourceMappingURL=chunk-TF4PGUO5.js.map
191
+ //# sourceMappingURL=chunk-PJSIVGHU.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  finalOutputLabelsFromCanvas
3
- } from "./chunk-65PUXMWE.js";
3
+ } from "./chunk-4VWTIT5C.js";
4
4
  import {
5
5
  readRenderState
6
- } from "./chunk-KCKC637S.js";
6
+ } from "./chunk-KQDAFZKR.js";
7
7
  import {
8
8
  STATIC_AD_ROLE,
9
9
  fixBriefNode,
@@ -14,7 +14,7 @@ import {
14
14
  plateFixPrompt,
15
15
  sameTag,
16
16
  seriesMemberAd
17
- } from "./chunk-7HJR5M4R.js";
17
+ } from "./chunk-5RCCESDX.js";
18
18
  import {
19
19
  fetchRunRecord
20
20
  } from "./chunk-ABXTGAG7.js";
@@ -42,7 +42,7 @@ import {
42
42
  relaidPictureRole,
43
43
  rolesById,
44
44
  staticMasterFormat
45
- } from "./chunk-D4I3KULJ.js";
45
+ } from "./chunk-ELL2IQMF.js";
46
46
  import {
47
47
  isAdSpec,
48
48
  readAdSpec
@@ -939,4 +939,4 @@ export {
939
939
  writeSeriesMemberCanvas,
940
940
  seriesRunHints
941
941
  };
942
- //# sourceMappingURL=chunk-JD4SABZC.js.map
942
+ //# sourceMappingURL=chunk-U4W4LULB.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  recordIdeaLines
3
- } from "./chunk-KCKC637S.js";
3
+ } from "./chunk-KQDAFZKR.js";
4
4
  import {
5
5
  anchorLines,
6
6
  readIdeaAnchor
7
- } from "./chunk-7HJR5M4R.js";
7
+ } from "./chunk-5RCCESDX.js";
8
8
  import {
9
9
  findWorkspaceRoot
10
10
  } from "./chunk-23H4ZJRP.js";
@@ -63,4 +63,4 @@ export {
63
63
  withAnchor,
64
64
  readCreativeIdea
65
65
  };
66
- //# sourceMappingURL=chunk-C3TTE7GS.js.map
66
+ //# sourceMappingURL=chunk-U6IWRZQF.js.map
@@ -2,7 +2,7 @@ import {
2
2
  BRAND_DIR,
3
3
  inkLuma,
4
4
  logoArtwork
5
- } from "./chunk-D4I3KULJ.js";
5
+ } from "./chunk-ELL2IQMF.js";
6
6
  import {
7
7
  fetchExternalBytes
8
8
  } from "./chunk-BLAHHMPF.js";
@@ -222,4 +222,4 @@ export {
222
222
  fetchClientLogo,
223
223
  withClientLogo
224
224
  };
225
- //# sourceMappingURL=chunk-LS3A753J.js.map
225
+ //# sourceMappingURL=chunk-V6PXHQSI.js.map
@@ -3,7 +3,7 @@ import {
3
3
  parseDefinitionDelivery,
4
4
  resolveDelivery,
5
5
  resolveFormatList
6
- } from "./chunk-7HJR5M4R.js";
6
+ } from "./chunk-5RCCESDX.js";
7
7
  import {
8
8
  AD_PLACEMENTS
9
9
  } from "./chunk-T6ATGN7Y.js";
@@ -88,4 +88,4 @@ export {
88
88
  deliveryDefinitionFields,
89
89
  deliveryNote
90
90
  };
91
- //# sourceMappingURL=chunk-QVNSVFSD.js.map
91
+ //# sourceMappingURL=chunk-WD5BQBVY.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  latestVersion
3
- } from "./chunk-KCKC637S.js";
3
+ } from "./chunk-KQDAFZKR.js";
4
4
  import {
5
5
  canvasOutputsRoot
6
6
  } from "./chunk-23H4ZJRP.js";
@@ -16,4 +16,4 @@ async function versionOf(slug, run) {
16
16
  export {
17
17
  versionOf
18
18
  };
19
- //# sourceMappingURL=chunk-V7N666PJ.js.map
19
+ //# sourceMappingURL=chunk-WMVTIKET.js.map
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  leadVersion,
7
7
  writeSeriesMemberCanvas
8
- } from "./chunk-JD4SABZC.js";
8
+ } from "./chunk-U4W4LULB.js";
9
9
  import {
10
10
  definitionFieldsOf,
11
11
  setDefinitionFields,
@@ -94,4 +94,4 @@ export {
94
94
  makeSeriesAd,
95
95
  seriesMadeEnvelope
96
96
  };
97
- //# sourceMappingURL=chunk-NBNLGJH5.js.map
97
+ //# sourceMappingURL=chunk-XSGO44OV.js.map
package/dist/cli.js CHANGED
@@ -123,7 +123,7 @@ Introspection: Run 'baker schema <command>' to inspect argument schemas.`
123
123
  gsc: () => import("./gsc-UU3T2C6B.js").then((m) => m.gscCommand),
124
124
  research: () => import("./research-MBAPL35Y.js").then((m) => m.researchCommand),
125
125
  decide: () => import("./decide-TWKH5QQU.js").then((m) => m.decideCommand),
126
- creatives: () => import("./creatives-F3TMRTIR.js").then((m) => m.creativesCommand),
126
+ creatives: () => import("./creatives-U2M4F3D5.js").then((m) => m.creativesCommand),
127
127
  flows: () => import("./flows-274YPU6I.js").then((m) => m.flowsCommand),
128
128
  funnel: () => import("./funnel-LEUXICXU.js").then((m) => m.funnelCommand),
129
129
  images: () => import("./images-ZMZ4WLYH.js").then((m) => m.imagesCommand),
@@ -132,7 +132,7 @@ Introspection: Run 'baker schema <command>' to inspect argument schemas.`
132
132
  landing: () => import("./landing-AJO2BPC2.js").then((m) => m.landingCommand),
133
133
  videos: () => import("./videos-KEDR4GG3.js").then((m) => m.videosCommand),
134
134
  testimonials: () => import("./testimonials-G7CCH7VN.js").then((m) => m.testimonialsCommand),
135
- canvas: () => import("./canvas-BPACZHNU.js").then((m) => m.canvasCommand),
135
+ canvas: () => import("./canvas-4T64K6PQ.js").then((m) => m.canvasCommand),
136
136
  tags: () => import("./tags-6RQVXS47.js").then((m) => m.tagsCommand),
137
137
  "tag-manager": () => import("./tag-manager-G3LBQZUL.js").then((m) => m.tagManagerCommand),
138
138
  chats: () => import("./chats-S5FCV7YO.js").then((m) => m.chatsCommand),
@@ -41,13 +41,13 @@ Full guide: __tooling__/docs/tools/baker/creatives.md`
41
41
  subCommands: {
42
42
  brief: () => import("./brief-WAQ2V6Q4.js").then((m) => m.briefCommand),
43
43
  ideas: () => import("./ideas-UTSCGCT6.js").then((m) => m.ideasCommand),
44
- make: () => import("./make-X6IG6KAZ.js").then((m) => m.makeCommand),
45
- translate: () => import("./translate-K4D7KDYV.js").then((m) => m.translateCommand),
44
+ make: () => import("./make-IHJROEKG.js").then((m) => m.makeCommand),
45
+ translate: () => import("./translate-27DIFMBU.js").then((m) => m.translateCommand),
46
46
  learn: () => import("./learn-RGO5KDHS.js").then((m) => m.learnCommand),
47
- feedback: () => import("./feedback-CCU6ECMQ.js").then((m) => m.feedbackCommand),
47
+ feedback: () => import("./feedback-3GU3PAEI.js").then((m) => m.feedbackCommand),
48
48
  rules: () => import("./rules-SZIY67QF.js").then((m) => m.rulesCommand),
49
49
  check: () => import("./check-GCZ2ZBKH.js").then((m) => m.checkCommand),
50
- select: () => import("./select-ON3KZEEK.js").then((m) => m.selectCommand),
50
+ select: () => import("./select-Q4S4CPKV.js").then((m) => m.selectCommand),
51
51
  publish: () => import("./publish-V5YGMK53.js").then((m) => m.publishCommand),
52
52
  performance: () => import("./performance-SPGPGXE5.js").then((m) => m.performanceCommand)
53
53
  }
@@ -55,4 +55,4 @@ Full guide: __tooling__/docs/tools/baker/creatives.md`
55
55
  export {
56
56
  creativesCommand
57
57
  };
58
- //# sourceMappingURL=creatives-F3TMRTIR.js.map
58
+ //# sourceMappingURL=creatives-U2M4F3D5.js.map
@@ -2,7 +2,7 @@ import {
2
2
  FRAME_PLACEHOLDER_NOTE,
3
3
  exitOnPrepareError,
4
4
  prepareCanvas
5
- } from "./chunk-7HJR5M4R.js";
5
+ } from "./chunk-5RCCESDX.js";
6
6
  import "./chunk-BSEB55E6.js";
7
7
  import "./chunk-RCSOG2DV.js";
8
8
  import "./chunk-LD4CHA7U.js";
@@ -19,7 +19,7 @@ import {
19
19
  briefCopyLines,
20
20
  frameDescriptionOf,
21
21
  nativeDialogueOf
22
- } from "./chunk-D4I3KULJ.js";
22
+ } from "./chunk-ELL2IQMF.js";
23
23
  import "./chunk-5NS4CNF6.js";
24
24
  import "./chunk-DGCUPJZD.js";
25
25
  import "./chunk-6KK26F2T.js";
@@ -224,4 +224,4 @@ var critiqueCommand = defineCommand({
224
224
  export {
225
225
  critiqueCommand
226
226
  };
227
- //# sourceMappingURL=critique-A2OEMGZS.js.map
227
+ //# sourceMappingURL=critique-43OVWKN7.js.map
@@ -8,8 +8,8 @@ import {
8
8
  defaultRegistry,
9
9
  generateCatalog,
10
10
  validateCanvasDeep
11
- } from "../chunk-HJQ7N7FC.js";
12
- import "../chunk-D4I3KULJ.js";
11
+ } from "../chunk-LJNYZLOH.js";
12
+ import "../chunk-ELL2IQMF.js";
13
13
  import "../chunk-5NS4CNF6.js";
14
14
  import "../chunk-DGCUPJZD.js";
15
15
  import "../chunk-6KK26F2T.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  readCreativeIdea,
3
3
  withAnchor
4
- } from "./chunk-C3TTE7GS.js";
5
- import "./chunk-KCKC637S.js";
6
- import "./chunk-7HJR5M4R.js";
4
+ } from "./chunk-U6IWRZQF.js";
5
+ import "./chunk-KQDAFZKR.js";
6
+ import "./chunk-5RCCESDX.js";
7
7
  import "./chunk-BSEB55E6.js";
8
8
  import "./chunk-RCSOG2DV.js";
9
9
  import "./chunk-LD4CHA7U.js";
@@ -16,7 +16,7 @@ import "./chunk-AS5VL32C.js";
16
16
  import "./chunk-FNA277HP.js";
17
17
  import "./chunk-5WMTPYKT.js";
18
18
  import "./chunk-23H4ZJRP.js";
19
- import "./chunk-D4I3KULJ.js";
19
+ import "./chunk-ELL2IQMF.js";
20
20
  import "./chunk-5NS4CNF6.js";
21
21
  import "./chunk-DGCUPJZD.js";
22
22
  import "./chunk-6KK26F2T.js";
@@ -91,7 +91,7 @@ var feedbackCommand = defineCommand({
91
91
  meta: { name: "feedback", description: DESCRIPTION },
92
92
  subCommands: {
93
93
  read: feedbackReadCommand,
94
- record: () => import("./feedback-record-JCE3JWG6.js").then((m) => m.feedbackRecordCommand)
94
+ record: () => import("./feedback-record-PIJDOJW3.js").then((m) => m.feedbackRecordCommand)
95
95
  },
96
96
  // `args` stays although the parent has no `run`: citty finds the subcommand
97
97
  // name with THIS command's arg defs, so without them `--slug spring-offer`
@@ -103,4 +103,4 @@ var feedbackCommand = defineCommand({
103
103
  export {
104
104
  feedbackCommand
105
105
  };
106
- //# sourceMappingURL=feedback-CCU6ECMQ.js.map
106
+ //# sourceMappingURL=feedback-3GU3PAEI.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  readCreativeIdea,
3
3
  withAnchor
4
- } from "./chunk-C3TTE7GS.js";
4
+ } from "./chunk-U6IWRZQF.js";
5
5
  import {
6
6
  modelRuleDrafter,
7
7
  repeatedReasons,
@@ -11,9 +11,9 @@ import {
11
11
  } from "./chunk-2DHHL4PU.js";
12
12
  import {
13
13
  versionOf
14
- } from "./chunk-V7N666PJ.js";
15
- import "./chunk-KCKC637S.js";
16
- import "./chunk-7HJR5M4R.js";
14
+ } from "./chunk-WMVTIKET.js";
15
+ import "./chunk-KQDAFZKR.js";
16
+ import "./chunk-5RCCESDX.js";
17
17
  import "./chunk-BSEB55E6.js";
18
18
  import "./chunk-RCSOG2DV.js";
19
19
  import "./chunk-LD4CHA7U.js";
@@ -32,7 +32,7 @@ import {
32
32
  import {
33
33
  findWorkspaceRoot
34
34
  } from "./chunk-23H4ZJRP.js";
35
- import "./chunk-D4I3KULJ.js";
35
+ import "./chunk-ELL2IQMF.js";
36
36
  import "./chunk-5NS4CNF6.js";
37
37
  import "./chunk-DGCUPJZD.js";
38
38
  import "./chunk-6KK26F2T.js";
@@ -257,4 +257,4 @@ var feedbackRecordCommand = defineCommand({
257
257
  export {
258
258
  feedbackRecordCommand
259
259
  };
260
- //# sourceMappingURL=feedback-record-JCE3JWG6.js.map
260
+ //# sourceMappingURL=feedback-record-PIJDOJW3.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  scaffoldDelivery
3
- } from "./chunk-QVNSVFSD.js";
3
+ } from "./chunk-WD5BQBVY.js";
4
4
  import {
5
5
  buildSearchBody
6
6
  } from "./chunk-MXWOYFI2.js";
@@ -17,13 +17,13 @@ import {
17
17
  import {
18
18
  makeSeriesAd,
19
19
  seriesMadeEnvelope
20
- } from "./chunk-NBNLGJH5.js";
20
+ } from "./chunk-XSGO44OV.js";
21
21
  import "./chunk-XZ4YMCZK.js";
22
22
  import {
23
23
  runBaker
24
- } from "./chunk-JD4SABZC.js";
25
- import "./chunk-65PUXMWE.js";
26
- import "./chunk-KCKC637S.js";
24
+ } from "./chunk-U4W4LULB.js";
25
+ import "./chunk-4VWTIT5C.js";
26
+ import "./chunk-KQDAFZKR.js";
27
27
  import {
28
28
  parseDefinitionDelivery,
29
29
  parseDefinitionSourceFields,
@@ -35,7 +35,7 @@ import {
35
35
  reroutedOnSpec,
36
36
  thinkingOutline,
37
37
  withThinking
38
- } from "./chunk-7HJR5M4R.js";
38
+ } from "./chunk-5RCCESDX.js";
39
39
  import "./chunk-ABXTGAG7.js";
40
40
  import {
41
41
  audienceQuery,
@@ -100,7 +100,7 @@ import {
100
100
  import {
101
101
  findWorkspaceRoot
102
102
  } from "./chunk-23H4ZJRP.js";
103
- import "./chunk-D4I3KULJ.js";
103
+ import "./chunk-ELL2IQMF.js";
104
104
  import "./chunk-5NS4CNF6.js";
105
105
  import "./chunk-DGCUPJZD.js";
106
106
  import "./chunk-6KK26F2T.js";
@@ -694,13 +694,16 @@ var lackingText = (lacking) => {
694
694
  var searchUnavailable = () => ({
695
695
  code: "REFERENCE_SEARCH_UNAVAILABLE",
696
696
  message: "The ads library could not search for this ad's category just now.",
697
- fix: "Nothing to do to go on: the ad starts from the idea rather than from another category's winners. To build on a proven ad, run make again in a few minutes."
697
+ fix: "Run make again in a minute: every ad is built on a proven one. Only when the person asks for an ad without one, pass --from-idea."
698
698
  });
699
699
  var slowReference = () => ({
700
700
  code: "REFERENCE_SLOW",
701
701
  message: `Finding and checking a proven ad took longer than ${REFERENCE_MS / 1e3} s.`,
702
- fix: "Nothing to do: the ad starts from the idea. To build on a proven ad anyway, run make again (the checks already made are kept) or pass --reference <adId>."
702
+ fix: "Run make again: the searches and checks already made are kept, so it goes further each time. Or pass --reference <adId> for one you looked at (`baker winning-ads search`). Never start the ad from the idea for this."
703
703
  });
704
+ function startsFromIdea(failure) {
705
+ return failure.code === "FROM_IDEA" || failure.code === "NO_REFERENCE_FITS";
706
+ }
704
707
  function noReference(found, checked, unchecked, lacking = []) {
705
708
  if (found > 0 && checked === 0 && unchecked) {
706
709
  return {
@@ -916,14 +919,11 @@ async function scaffoldStatic(root, idea, args, slug, temperature, viewerFlags)
916
919
  await reference.discarded.catch(() => void 0);
917
920
  await rm(dir, { recursive: true, force: true });
918
921
  }
919
- if ("code" in reference) {
920
- return { scaffold: await scaffoldFromIdea(idea, slug, viewerFlags), reference: null, fromIdea: reference.message };
921
- }
922
+ if ("code" in reference) return await fromIdeaWhenNoneFits(reference, idea, slug, viewerFlags);
922
923
  const prepared = "prepared" in reference ? await reference.prepared?.catch(() => null) : null;
923
924
  if (prepared?.ok !== true && budget.aborted && !args.reference) {
924
925
  await rm(dir, { recursive: true, force: true });
925
- const slow = slowReference().message;
926
- return { scaffold: await scaffoldFromIdea(idea, slug, viewerFlags), reference: null, fromIdea: slow };
926
+ fail(slowReference());
927
927
  }
928
928
  const scaffold = prepared?.ok === true ? prepared : await onReference(reference);
929
929
  if (scaffold.ok !== true && scaffold.error?.code === "avatar") {
@@ -934,6 +934,10 @@ async function scaffoldStatic(root, idea, args, slug, temperature, viewerFlags)
934
934
  if (fresh) await rm(dir, { recursive: true, force: true });
935
935
  return { scaffold: await scaffoldFromIdea(idea, slug, viewerFlags), reference: null, fromIdea: unbuilt };
936
936
  }
937
+ async function fromIdeaWhenNoneFits(failure, idea, slug, viewerFlags) {
938
+ if (!startsFromIdea(failure)) fail(failure);
939
+ return { scaffold: await scaffoldFromIdea(idea, slug, viewerFlags), reference: null, fromIdea: failure.message };
940
+ }
937
941
  function handPickedReference(adId, platform) {
938
942
  const resolved = resolveSourcePlatform(platform);
939
943
  if (!resolved.ok) {
@@ -1329,6 +1333,7 @@ export {
1329
1333
  pickReference,
1330
1334
  referencePictureUrl,
1331
1335
  seedConcept,
1336
+ startsFromIdea,
1332
1337
  unbuiltReference
1333
1338
  };
1334
- //# sourceMappingURL=make-X6IG6KAZ.js.map
1339
+ //# sourceMappingURL=make-IHJROEKG.js.map