@aicopycoders/exodus 2026.11.1200-beta.20 → 2026.11.1200-beta.21

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.
@@ -1024,6 +1024,14 @@ you may name it as a smaller thing they can choose, never as the whole video.
1024
1024
  The `--max-usd` you start with is the "at most" the price shows, so it is
1025
1025
  never above what is left of the member's limit.
1026
1026
 
1027
+ **The price before a beta tester's start.** A beta tester's `exodus video
1028
+ start` without `--yes` starts nothing: it prints what the video will cost (the
1029
+ server's estimate) and the line that starts it (`--yes --max-usd <that
1030
+ price>`). Show the member that line word for word, and run it only after they
1031
+ say yes. If the price changed by then, the start refuses and says the new
1032
+ price: show that and ask again. An older CLI is told to update first. An
1033
+ admin's start begins at once, as before.
1034
+
1027
1035
  **A video that reached its estimate.** A regular video (not One-take) keeps
1028
1036
  the estimate it showed before the start. When its next take would cost more
1029
1037
  than that, it stops before ordering it and waits for the member. `exodus
@@ -1035,8 +1043,12 @@ never yours: show them that line word for word, and run the command they
1035
1043
  pick only after they answer. A money limit they gave you, or a `--max-usd`,
1036
1044
  does not answer it for them. Nothing is paid while it waits, and it waits
1037
1045
  until they answer. Keep going films on and asks again if it passes the next
1038
- whole estimate. Stop here orders nothing more: each scene keeps the clip it
1039
- has, and a scene with none is named; status says what was kept.
1046
+ whole estimate; a yes films every scene the line named before any other
1047
+ scene spends it. Keeping a named scene as it is takes it off the line, which
1048
+ then names the next scene waiting. Stop here orders nothing more: each scene
1049
+ keeps the clip it has, and a scene with none is named; status says what was
1050
+ kept, and such a scene is filmed with Try again on the video's page, which
1051
+ shows its price first.
1040
1052
 
1041
1053
  A write that carried the people's most makes the first people to pick from
1042
1054
  (People, step 3). Offer more people, or voices to pick from, only when the
@@ -1579,7 +1591,7 @@ neither is refused, and nothing is spent. The template flags, as `exodus video
1579
1591
  --help` prints them:
1580
1592
 
1581
1593
  ```operator-guide
1582
- exodus video start --script <file> --conceit <kind> --style <look> [--direction "<note>"] [--frame pov] [--pacing <jump-cuts|long-take|montage>] [--voice-path <path>] [--video-model <id>] [--voice <native|voice-first>] [--source-record <file.json>] [--adaptation-plan <file|original>] [--music] [--broll] [--one-shot] [--director] [--wait] [--json]
1594
+ exodus video start --script <file> --conceit <kind> --style <look> [--direction "<note>"] [--frame pov] [--pacing <jump-cuts|long-take|montage>] [--voice-path <path>] [--video-model <id>] [--voice <native|voice-first>] [--source-record <file.json>] [--adaptation-plan <file|original>] [--music] [--broll] [--one-shot] [--director] [--yes --max-usd <n>] [--wait] [--json]
1583
1595
  Template starts also accept: [--requested-seconds <seconds>] [--pictures-per-scene <1|3>] [--product <brandProductId>] [--elements <json|@file>] [--voices <json|@file>] [--resume-script <saved-stop-response.json>]
1584
1596
  With --describe: [--product-context <text>] [--audience <text>] [--offer <text>] [--mechanism <text>]
1585
1597
  exodus video start --input-options [--conceit <template>] [--voice <native|voice-first>] [--voice-path <path>] [--video-model <id>] [--json]
@@ -86,6 +86,7 @@ export interface CustomerRun {
86
86
  sceneIndex: number;
87
87
  sentence: string;
88
88
  take: boolean;
89
+ unfilmed?: true;
89
90
  }>;
90
91
  spend?: {
91
92
  spentUsd: number;
@@ -37,10 +37,14 @@ function heldLines(run, page) {
37
37
  return [head, ...holds.map((hold) => ` ${hold}`), `${one ? "Make it again" : "Make each one again"}, or keep it as it is, on the video's page: ${page}`];
38
38
  }
39
39
  const takes = scenes.filter((s) => s.take);
40
- const faults = scenes.filter((s) => !s.take);
40
+ const unfilmed = scenes.filter((s) => s.unfilmed);
41
+ const faults = scenes.filter((s) => !s.take && !s.unfilmed);
41
42
  return [
42
43
  head,
43
44
  ...scenes.map((s) => ` Scene ${s.sceneIndex}: ${s.sentence}`),
45
+ ...(unfilmed.length > 0
46
+ ? [`${unfilmed.length === 1 ? "Film it" : "Film each one"} with Try again on the video's page, which shows the price first: ${page}`]
47
+ : []),
44
48
  ...takes.map((s) => takes.length === 1
45
49
  ? `Keep it as it is: exodus video keep ${run.runId} --scene ${s.sceneIndex}`
46
50
  : `Keep scene ${s.sceneIndex} as it is: exodus video keep ${run.runId} --scene ${s.sceneIndex}`),
@@ -49,7 +53,10 @@ function heldLines(run, page) {
49
53
  `${faults.length === 1 ? "Make it again" : "Make each one again"}, or keep it as it is, on the video's page: ${page}`,
50
54
  ...faults.map((s) => `Or keep ${faults.length === 1 ? "it" : `scene ${s.sceneIndex}`} as it is from here: exodus video keep ${run.runId} --scene ${s.sceneIndex}`),
51
55
  ]
52
- : [`${takes.length === 1 ? "Watch it first: " : "Watch them first:"} ${page}`]),
56
+ : []),
57
+ ...(takes.length > 0 && faults.length === 0 && unfilmed.length === 0
58
+ ? [`${takes.length === 1 ? "Watch it first: " : "Watch them first:"} ${page}`]
59
+ : []),
53
60
  ];
54
61
  }
55
62
  export function customerAnswer(data) {
@@ -358,6 +358,7 @@ export type RunStop = {
358
358
  framesNodeId?: string;
359
359
  heldScenes?: number[];
360
360
  heldTakes?: HeldTake[];
361
+ redoFaultScenes?: number[];
361
362
  cutFailure?: string;
362
363
  appMakesCut?: true;
363
364
  appCutOnRun?: true;
@@ -570,6 +571,8 @@ export interface StartOptions {
570
571
  }
571
572
  export interface ScriptStartOptions {
572
573
  scriptFile: string;
574
+ yes?: boolean;
575
+ maxUsd?: number;
573
576
  conceit: string;
574
577
  style: string;
575
578
  direction?: string;
@@ -209,7 +209,7 @@ Usage:
209
209
  exodus video voices [<runId>] --catalog [--json]
210
210
  exodus video pull <runId> --out <dir> [--json]
211
211
  exodus video upload <runId> --file <cut.mp4> [--duration <sec>] [--json]
212
- exodus video start --script <file> --conceit <kind> --style <look> [--direction "<note>"] [--frame pov] [--pacing <jump-cuts|long-take|montage>] [--voice-path <path>] [--video-model <id>] [--voice <native|voice-first>] [--source-record <file.json>] [--adaptation-plan <file|original>] [--music] [--broll] [--one-shot] [--director] [--wait] [--json]
212
+ exodus video start --script <file> --conceit <kind> --style <look> [--direction "<note>"] [--frame pov] [--pacing <jump-cuts|long-take|montage>] [--voice-path <path>] [--video-model <id>] [--voice <native|voice-first>] [--source-record <file.json>] [--adaptation-plan <file|original>] [--music] [--broll] [--one-shot] [--director] [--yes --max-usd <n>] [--wait] [--json]
213
213
  Template starts also accept: [--requested-seconds <seconds>] [--pictures-per-scene <1|3>] [--product <brandProductId>] [--elements <json|@file>] [--voices <json|@file>] [--resume-script <saved-stop-response.json>]
214
214
  With --describe: [--product-context <text>] [--audience <text>] [--offer <text>] [--mechanism <text>]
215
215
  exodus video start --input-options [--conceit <template>] [--voice <native|voice-first>] [--voice-path <path>] [--video-model <id>] [--json]
@@ -479,8 +479,10 @@ one.
479
479
  broken down before costs nothing. swipe find lists
480
480
  the library's video ads and their ids
481
481
  --yes The member said yes to this paid step (swipe, swipe
482
- template, swipe write, swipe start), or to every paid
483
- step of the sheet (swipe run)
482
+ template, swipe write, swipe start, and a beta tester's
483
+ start: without it the start says the price and starts
484
+ nothing; with it, --max-usd <the price it said>), or to
485
+ every paid step of the sheet (swipe run)
484
486
  --product <id> The product the swipe is for (swipe write). exodus
485
487
  video swipe products lists them
486
488
  --mode <mode> What to swipe (swipe write). whole-ad if left off:
@@ -1003,6 +1005,7 @@ export function heldTakesOf(scenes, items) {
1003
1005
  return said !== null ? [{ sceneIndex, sentence: said }] : [];
1004
1006
  });
1005
1007
  }
1008
+ const FAULT_AFTER_REDO_CODE = "fault-after-redo";
1006
1009
  function latestClipRow(items, sceneIndex) {
1007
1010
  return items
1008
1011
  .filter((i) => i.itemKind === "clip" && i.sceneIndex === sceneIndex)
@@ -1050,11 +1053,18 @@ export function resolveStop(stop, cutAttached, items) {
1050
1053
  const heldScenes = fromRows.length > 0
1051
1054
  ? [...(stop.heldScenes ?? []), ...fromRows.map((t) => t.sceneIndex)].sort((a, b) => a - b)
1052
1055
  : stop.heldScenes;
1056
+ const redoFaultScenes = items && heldScenes?.length
1057
+ ? heldScenes.filter((scene) => {
1058
+ const row = latestClipRow(items, scene);
1059
+ return !row || row.findings?.some((f) => f.code === FAULT_AFTER_REDO_CODE) === true;
1060
+ })
1061
+ : undefined;
1053
1062
  return {
1054
1063
  ...stop,
1055
1064
  cutAttached,
1056
1065
  ...(heldScenes?.length ? { heldScenes } : {}),
1057
1066
  ...(heldTakes.length > 0 ? { heldTakes } : {}),
1067
+ ...(redoFaultScenes !== undefined ? { redoFaultScenes } : {}),
1058
1068
  ...(items && hasAppCut(items) ? { appCutOnRun: true } : {}),
1059
1069
  };
1060
1070
  }
@@ -1147,10 +1157,10 @@ function missingSceneLines(missing, framesNodeId, runId, runUrl) {
1147
1157
  lines.push("The ad can't be approved until every scene has a clip.", `Watch it here: ${runUrl}`);
1148
1158
  return lines;
1149
1159
  }
1150
- function heldSceneLines(scenes, runId, videoPage, heldTakes = []) {
1160
+ function heldSceneLines(scenes, runId, videoPage, heldTakes = [], redoFaultScenes) {
1151
1161
  const takes = scenes.filter((scene) => heldTakes.some((t) => t.sceneIndex === scene));
1152
1162
  const faults = scenes.filter((scene) => !takes.includes(scene));
1153
- return [...heldTakeLines(takes, heldTakes, runId, videoPage), ...(faults.length > 0 ? drawingFaultLines(faults, runId, videoPage) : [])];
1163
+ return [...heldTakeLines(takes, heldTakes, runId, videoPage), ...(faults.length > 0 ? drawingFaultLines(faults, runId, videoPage, redoFaultScenes) : [])];
1154
1164
  }
1155
1165
  function heldTakeLines(takes, heldTakes, runId, videoPage) {
1156
1166
  if (takes.length === 0)
@@ -1166,10 +1176,18 @@ function heldTakeLines(takes, heldTakes, runId, videoPage) {
1166
1176
  `${one ? "Watch it first: " : "Watch them first:"} ${videoPage}`,
1167
1177
  ];
1168
1178
  }
1169
- function drawingFaultLines(scenes, runId, videoPage) {
1179
+ function drawingFaultLines(scenes, runId, videoPage, redoFaultScenes) {
1170
1180
  const one = scenes.length === 1;
1181
+ const redone = redoFaultScenes === undefined ? scenes : scenes.filter((scene) => redoFaultScenes.includes(scene));
1182
+ const checked = scenes.filter((scene) => !redone.includes(scene));
1183
+ const heldWhy = [
1184
+ ...(redone.length > 0
1185
+ ? [`${scenesPhrase(redone)} still ${redone.length === 1 ? "has" : "have"} a drawing fault after ${redone.length === 1 ? "it was" : "they were"} made again`]
1186
+ : []),
1187
+ ...(checked.length > 0 ? [`${scenesPhrase(checked)} failed a check`] : []),
1188
+ ].join(", and ");
1171
1189
  return [
1172
- `Held: ${scenesPhrase(scenes)} still ${one ? "has" : "have"} a drawing fault after ${one ? "it was" : "they were"} made again, so the final video wasn't made.`,
1190
+ `Held: ${heldWhy}, so the final video wasn't made.`,
1173
1191
  ...scenes.map((scene) => one
1174
1192
  ? `Remake it: exodus video retry-clip ${runId} --scene ${scene}`
1175
1193
  : `Remake scene ${scene}: exodus video retry-clip ${runId} --scene ${scene}`),
@@ -1274,7 +1292,7 @@ export function stopLines(stop, runId, runUrl, videoPage) {
1274
1292
  return missingSceneLines(stop.missingScenes, stop.framesNodeId, runId, runUrl);
1275
1293
  }
1276
1294
  if (stop.heldScenes?.length)
1277
- return heldSceneLines(stop.heldScenes, runId, videoPage, stop.heldTakes);
1295
+ return heldSceneLines(stop.heldScenes, runId, videoPage, stop.heldTakes, stop.redoFaultScenes);
1278
1296
  if (stop.cutFailure) {
1279
1297
  return [
1280
1298
  "Parked: every piece is made, but the app's cut of them didn't work.",
@@ -2262,6 +2280,12 @@ export function planVideoStart(flags, occurrences) {
2262
2280
  const planFlag = planValueFlag(occurrences, "adaptation-plan");
2263
2281
  if (!planFlag.ok)
2264
2282
  return { kind: "usage", line: planFlag.line };
2283
+ const maxUsdFlag = planValueFlag(occurrences, "max-usd");
2284
+ if (!maxUsdFlag.ok)
2285
+ return { kind: "usage", line: maxUsdFlag.line };
2286
+ if (maxUsdFlag.value !== undefined && !(Number(maxUsdFlag.value) > 0)) {
2287
+ return { kind: "usage", line: "video start --max-usd must be the price the start showed, in dollars (e.g. 15.56)." };
2288
+ }
2265
2289
  const resumeFlag = planTemplateValue(occurrences, "resume-script");
2266
2290
  if (!resumeFlag.ok)
2267
2291
  return { kind: "usage", line: resumeFlag.line };
@@ -2542,6 +2566,10 @@ export function planVideoStart(flags, occurrences) {
2542
2566
  opts.music = musicChoice.music;
2543
2567
  if (!oneShot)
2544
2568
  opts.reviewStoryboard = true;
2569
+ if (occurrences.some((o) => o.flag === "yes"))
2570
+ opts.yes = true;
2571
+ if (maxUsdFlag.value !== undefined)
2572
+ opts.maxUsd = Number(maxUsdFlag.value);
2545
2573
  if (director)
2546
2574
  opts.director = true;
2547
2575
  if (broll)
@@ -3786,6 +3814,8 @@ export async function startScriptFlow(opts, deps) {
3786
3814
  ...(voices.voiceMode !== undefined ? { voiceMode: voices.voiceMode } : {}),
3787
3815
  ...(templateIntent ? (music !== undefined ? { music } : {}) : music === true ? { music: true } : {}),
3788
3816
  ...(opts.reviewStoryboard ? { reviewStoryboard: true } : {}),
3817
+ ...(opts.yes ? { yes: true } : {}),
3818
+ ...(opts.maxUsd !== undefined ? { maxUsd: opts.maxUsd } : {}),
3789
3819
  ...(opts.director ? { director: true } : {}),
3790
3820
  ...(opts.broll ? { broll: true } : {}),
3791
3821
  ...(shots ? { shots } : {}),
@@ -67,6 +67,7 @@ export function getApiUrl() {
67
67
  function buildHeaders(apiKey, ccCommand, opts) {
68
68
  const headers = {
69
69
  "Content-Type": "application/json",
70
+ "X-Exodus-Cli-Features": "price-first",
70
71
  };
71
72
  if (apiKey) {
72
73
  headers["Authorization"] = `Bearer ${apiKey}`;
@@ -6,4 +6,5 @@ export const ONE_TAKE_HOLD_CODES = [
6
6
  "one-take-label-held",
7
7
  "one-take-said-wrong",
8
8
  "one-take-sideways",
9
+ "one-take-said-twice",
9
10
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aicopycoders/exodus",
3
- "version": "2026.11.1200-beta.20",
3
+ "version": "2026.11.1200-beta.21",
4
4
  "description": "CLI + Claude Code skills for the Copycoders Exodus ad pipeline",
5
5
  "repository": {
6
6
  "type": "git",