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

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
@@ -1495,7 +1507,12 @@ CLI words it the way the run page does. On their own brands they can:
1495
1507
  to watch it on.
1496
1508
  - `video keep <runId> --scene <n>`: keeps a held scene's clip as it is, as
1497
1509
  "Use scene N as-is" on the video's page does, after their yes. It orders
1498
- nothing; keeping the last held scene starts the cut.
1510
+ nothing; keeping the last held scene starts the cut. `status`, `wait` and a
1511
+ refused `approve` name every scene waiting on the member, each with what a
1512
+ check found, even while other scenes still film ("These scenes need you
1513
+ before your video can be finished:", `waitingScenes` in `--json`). Show
1514
+ those lines word for word: keep a scene only on their yes, and a remake is
1515
+ Try again on the video's page, which shows its price first.
1499
1516
  - `video swipe`: all of "Swiping a video ad" except `swipe start --title`,
1500
1517
  which is refused with one sentence naming it. The run it starts answers the
1501
1518
  way start's does.
@@ -1579,7 +1596,7 @@ neither is refused, and nothing is spent. The template flags, as `exodus video
1579
1596
  --help` prints them:
1580
1597
 
1581
1598
  ```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]
1599
+ 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
1600
  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
1601
  With --describe: [--product-context <text>] [--audience <text>] [--offer <text>] [--mechanism <text>]
1585
1602
  exodus video start --input-options [--conceit <template>] [--voice <native|voice-first>] [--voice-path <path>] [--video-model <id>] [--json]
@@ -30,8 +30,16 @@ export interface CustomerRunScene {
30
30
  productNote?: string;
31
31
  clip?: {
32
32
  speech?: SpeechSummary;
33
+ redoEstimateUsd?: number;
34
+ redoEstimateMaxUsd?: number;
33
35
  } | null;
34
36
  }
37
+ export type CustomerHeldScene = {
38
+ sceneIndex: number;
39
+ sentence: string;
40
+ take: boolean;
41
+ unfilmed?: true;
42
+ };
35
43
  export type CustomerStopReason = {
36
44
  kind: "out-of-credits";
37
45
  } | {
@@ -82,11 +90,8 @@ export interface CustomerRun {
82
90
  stopReason: CustomerStopReason | null;
83
91
  detailsPath: string | null;
84
92
  cutHolds?: string[];
85
- cutHeldScenes?: Array<{
86
- sceneIndex: number;
87
- sentence: string;
88
- take: boolean;
89
- }>;
93
+ cutHeldScenes?: CustomerHeldScene[];
94
+ waitingScenes?: CustomerHeldScene[];
90
95
  spend?: {
91
96
  spentUsd: number;
92
97
  estimateUsd: number | null;
@@ -124,8 +129,10 @@ export declare function spendAskLines(run: {
124
129
  sentence?: string;
125
130
  };
126
131
  }, runId: string): string[];
127
- export declare const SPEND_STOPPED_LINE = "You stopped this video at its estimate. Nothing more will be filmed.";
132
+ export declare const SPEND_STOPPED_LINE = "You stopped this video at its estimate. The app films nothing more on its own.";
128
133
  export declare function customerCutHeld(run: CustomerRun): boolean;
134
+ export declare function waitingSceneLines(run: CustomerRun, page: string): string[];
135
+ export declare function approveWaitingLines(run: CustomerRun, page: string): string[];
129
136
  export interface ScriptTidied {
130
137
  setAside: string[];
131
138
  added: {
@@ -24,7 +24,7 @@ export function spendAskLines(run, runId) {
24
24
  return [run.spendWentOn.sentence];
25
25
  return [];
26
26
  }
27
- export const SPEND_STOPPED_LINE = "You stopped this video at its estimate. Nothing more will be filmed.";
27
+ export const SPEND_STOPPED_LINE = "You stopped this video at its estimate. The app films nothing more on its own.";
28
28
  export function customerCutHeld(run) {
29
29
  return (run.cutHolds?.length ?? 0) > 0;
30
30
  }
@@ -36,20 +36,65 @@ function heldLines(run, page) {
36
36
  if (!scenes?.length) {
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
+ return [head, ...heldSceneChoiceLines(run, scenes, page)];
40
+ }
41
+ export function waitingSceneLines(run, page) {
42
+ const scenes = run.waitingScenes;
43
+ if (!scenes?.length || customerCutHeld(run))
44
+ return [];
45
+ return [
46
+ `${scenes.length === 1 ? "This scene needs" : "These scenes need"} you before your video can be finished:`,
47
+ ...heldSceneChoiceLines(run, scenes, page),
48
+ ];
49
+ }
50
+ export function approveWaitingLines(run, page) {
51
+ const scenes = run.cutHeldScenes?.length ? run.cutHeldScenes : run.waitingScenes;
52
+ if (!scenes?.length)
53
+ return [];
54
+ const price = tryAgainPrice(run, scenes.filter((s) => !s.take).map((s) => s.sceneIndex));
55
+ return [
56
+ ...scenes.map((s) => ` Scene ${s.sceneIndex}: ${s.sentence}`),
57
+ price ? `On the video's page, Try again costs ${price}: ${page}` : `The video's page: ${page}`,
58
+ ...scenes
59
+ .filter((s) => !s.unfilmed)
60
+ .map((s) => `Keep scene ${s.sceneIndex} as it is: exodus video keep ${run.runId} --scene ${s.sceneIndex}`),
61
+ ];
62
+ }
63
+ function tryAgainPrice(run, sceneIndexes) {
64
+ const prices = sceneIndexes.map((n) => {
65
+ const clip = run.scenes?.find((s) => s.sceneIndex === n)?.clip;
66
+ return typeof clip?.redoEstimateUsd === "number" && typeof clip.redoEstimateMaxUsd === "number"
67
+ ? `$${clip.redoEstimateUsd.toFixed(2)} to $${clip.redoEstimateMaxUsd.toFixed(2)}`
68
+ : null;
69
+ });
70
+ if (prices.length === 0 || prices.some((p) => p === null))
71
+ return "";
72
+ return prices.length === 1 ? prices[0] : prices.map((p, i) => `${p} for scene ${sceneIndexes[i]}`).join(", ");
73
+ }
74
+ function heldSceneChoiceLines(run, scenes, page) {
39
75
  const takes = scenes.filter((s) => s.take);
40
- const faults = scenes.filter((s) => !s.take);
76
+ const unfilmed = scenes.filter((s) => s.unfilmed);
77
+ const faults = scenes.filter((s) => !s.take && !s.unfilmed);
78
+ const inParens = (price) => (price ? ` (${price})` : "");
79
+ const unfilmedPrice = inParens(tryAgainPrice(run, unfilmed.map((s) => s.sceneIndex)));
80
+ const faultPrice = inParens(tryAgainPrice(run, faults.map((s) => s.sceneIndex)));
41
81
  return [
42
- head,
43
82
  ...scenes.map((s) => ` Scene ${s.sceneIndex}: ${s.sentence}`),
83
+ ...(unfilmed.length > 0
84
+ ? [`${unfilmed.length === 1 ? "Film it" : "Film each one"} with Try again on the video's page, which shows the price first${unfilmedPrice}: ${page}`]
85
+ : []),
44
86
  ...takes.map((s) => takes.length === 1
45
87
  ? `Keep it as it is: exodus video keep ${run.runId} --scene ${s.sceneIndex}`
46
88
  : `Keep scene ${s.sceneIndex} as it is: exodus video keep ${run.runId} --scene ${s.sceneIndex}`),
47
89
  ...(faults.length > 0
48
90
  ? [
49
- `${faults.length === 1 ? "Make it again" : "Make each one again"}, or keep it as it is, on the video's page: ${page}`,
91
+ `${faults.length === 1 ? "Make it again" : "Make each one again"} with Try again, or keep it as it is, on the video's page. Try again shows the price first${faultPrice}: ${page}`,
50
92
  ...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
93
  ]
52
- : [`${takes.length === 1 ? "Watch it first: " : "Watch them first:"} ${page}`]),
94
+ : []),
95
+ ...(takes.length > 0 && faults.length === 0 && unfilmed.length === 0
96
+ ? [`${takes.length === 1 ? "Watch it first: " : "Watch them first:"} ${page}`]
97
+ : []),
53
98
  ];
54
99
  }
55
100
  export function customerAnswer(data) {
@@ -169,12 +214,12 @@ export function customerStageLines(run, page) {
169
214
  ];
170
215
  switch (run.stage) {
171
216
  case "waiting":
172
- return [waitingSentence(run.waiting)];
217
+ return [waitingSentence(run.waiting), ...waitingSceneLines(run, page)];
173
218
  case "planning":
174
219
  case "drawing":
175
220
  case "filming":
176
221
  case "editing":
177
- return [WORKING_SENTENCE[run.stage]];
222
+ return [WORKING_SENTENCE[run.stage], ...waitingSceneLines(run, page)];
178
223
  case "picking":
179
224
  return ["This video is waiting for its picks: a face, a voice and a room for each part. The team makes them for now."];
180
225
  case "pilot":
@@ -210,7 +255,10 @@ export function customerStageLines(run, page) {
210
255
  ...(run.awaitingSignOff
211
256
  ? [
212
257
  `Your video is ready to watch: ${run.video?.url ?? page}`,
213
- `When you're happy with it, finish it: exodus video approve ${id}`,
258
+ ...waitingSceneLines(run, page),
259
+ waitingSceneLines(run, page).length > 0
260
+ ? `Once each one is answered and you're happy with the video, finish it: exodus video approve ${id}`
261
+ : `When you're happy with it, finish it: exodus video approve ${id}`,
214
262
  ]
215
263
  : [`Your video is ready: ${run.video?.url ?? page}`]),
216
264
  ...speechSummaryLines(run.video?.speech),
@@ -218,7 +266,7 @@ export function customerStageLines(run, page) {
218
266
  ...(run.video?.wordsOff
219
267
  ? ["Some words may not match your script exactly. Watch it through before you post it."]
220
268
  : []),
221
- ...(run.awaitingSignOff ? finalApproveLines(run.template === true) : []),
269
+ ...(run.awaitingSignOff && waitingSceneLines(run, page).length === 0 ? finalApproveLines(run.template === true) : []),
222
270
  `Download the pieces for your own cut: exodus video pull ${id} --out ./video-${id}`,
223
271
  ];
224
272
  case "failed":
@@ -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;
@@ -12,7 +12,7 @@ import { scriptApprovalExpiresAt, scriptApprovalNeedsReview } from "../lib/scrip
12
12
  import { ASSET_UPLOAD_POLICY, boardDrawsThePlaceFirst, pauseAheadLine, parseVoicesFlag, } from "./workflow.js";
13
13
  import { HELPER_LEDGER_BASE, ONE_TAKE_BOARD_PLACE_LEDGER_INDEX, SET_OPTION_LEDGER_BASE } from "../lib/helperLedgerBase.js";
14
14
  import { ONE_TAKE_HOLD_CODES } from "../lib/oneTakeHolds.js";
15
- import { customerAnswer, customerRunPage, customerStageIsWorking, finalApproveLines, finalApprovedLines, customerCutHeld, customerStageLines, customerStatusLines, customerStoryboardLines, customerVoicesLines, speechSummaryLines, spendAskLines, onOwnDashboard, } from "./video-customer.js";
15
+ import { customerAnswer, customerRunPage, customerStageIsWorking, finalApproveLines, finalApprovedLines, customerCutHeld, approveWaitingLines, waitingSceneLines, customerStageLines, customerStatusLines, customerStoryboardLines, customerVoicesLines, speechSummaryLines, spendAskLines, onOwnDashboard, } from "./video-customer.js";
16
16
  import { planSwipeCommand, runSwipePlan } from "./video-swipe.js";
17
17
  const VOICE_MODES = ["native", "voice-first"];
18
18
  function joinedOr(items) {
@@ -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 } : {}),
@@ -3935,11 +3965,9 @@ export async function waitFlow(runId, opts, deps) {
3935
3965
  const maxPolls = opts.maxPolls ?? MAX_POLLS;
3936
3966
  const lines = [];
3937
3967
  let lastProgress = null;
3968
+ let shownWaiting = "";
3938
3969
  let redoSeen = false;
3939
- const progress = (line) => {
3940
- if (line === lastProgress)
3941
- return;
3942
- lastProgress = line;
3970
+ const say = (line) => {
3943
3971
  if (opts.json)
3944
3972
  return;
3945
3973
  if (opts.onProgressLine)
@@ -3947,6 +3975,12 @@ export async function waitFlow(runId, opts, deps) {
3947
3975
  else
3948
3976
  lines.push(line);
3949
3977
  };
3978
+ const progress = (line) => {
3979
+ if (line === lastProgress)
3980
+ return;
3981
+ lastProgress = line;
3982
+ say(line);
3983
+ };
3950
3984
  let misses = 0;
3951
3985
  for (let poll = 0; poll < maxPolls; poll++) {
3952
3986
  if (poll > 0 || misses > 0)
@@ -3972,15 +4006,22 @@ export async function waitFlow(runId, opts, deps) {
3972
4006
  if (customer) {
3973
4007
  const page = customerRunPage(deps.dashboardUrl, runId);
3974
4008
  if (customer.spendAsk) {
4009
+ const listed = customerCutHeld(customer) ? customerStageLines(customer, page) : waitingSceneLines(customer, page);
4010
+ const waiting = !customerCutHeld(customer) && listed.join("\n") === shownWaiting ? [] : listed;
3975
4011
  return {
3976
4012
  code: 0,
3977
4013
  lines: opts.json
3978
4014
  ? [JSON.stringify(customer)]
3979
- : [...lines, ...spendAskLines(customer, runId), `Watch it on the dashboard: ${page}`],
4015
+ : [...lines, ...waiting, ...spendAskLines(customer, runId), `Watch it on the dashboard: ${page}`],
3980
4016
  };
3981
4017
  }
3982
4018
  if (customerStageIsWorking(customer.stage) && !customer.templateApproval?.audition) {
3983
4019
  progress(customerStageLines(customer, page)[0]);
4020
+ const waiting = waitingSceneLines(customer, page);
4021
+ if (waiting.join("\n") !== shownWaiting) {
4022
+ shownWaiting = waiting.join("\n");
4023
+ waiting.forEach(say);
4024
+ }
3984
4025
  continue;
3985
4026
  }
3986
4027
  return {
@@ -4602,6 +4643,17 @@ export async function quoteFlow(runId, json, deps, privateExport = false) {
4602
4643
  : `AUTHORIZED RAW REQUEST REVIEW: ${JSON.stringify(privateView)}`] : []),
4603
4644
  ] };
4604
4645
  }
4646
+ const FINISH_STILL_CUTTING = "Your video is still being put together. You can finish it once it's ready.";
4647
+ async function waitingLinesAfterRefusal(runId, deps) {
4648
+ try {
4649
+ const read = await deps.get(`${RUN_PATH}?runId=${encodeURIComponent(runId)}`);
4650
+ const customer = read?.ok ? customerAnswer(read.data) : null;
4651
+ return customer ? approveWaitingLines(customer, customerRunPage(deps.dashboardUrl, runId)) : [];
4652
+ }
4653
+ catch {
4654
+ return [];
4655
+ }
4656
+ }
4605
4657
  async function waitsForFinalApprove(runId, deps) {
4606
4658
  try {
4607
4659
  const read = await deps.get(`${RUN_PATH}?runId=${encodeURIComponent(runId)}`);
@@ -4645,6 +4697,9 @@ export async function approveFlow(runId, opts, deps) {
4645
4697
  if (!opts.json && videoApiError(res).includes("accept the findings")) {
4646
4698
  return { ...refusal, lines: [...refusal.lines, `To go on anyway: exodus video approve ${runId} --accept-findings`] };
4647
4699
  }
4700
+ const waiting = opts.json || staleCut || videoApiError(res) === FINISH_STILL_CUTTING ? [] : await waitingLinesAfterRefusal(runId, deps);
4701
+ if (waiting.length > 0)
4702
+ return { ...refusal, lines: [...refusal.lines, ...waiting] };
4648
4703
  return staleCut
4649
4704
  ? {
4650
4705
  ...refusal,
@@ -5253,8 +5308,9 @@ export async function retryClipFlow(runId, target, { note, voiceFirst = false },
5253
5308
  if (!runRes.ok)
5254
5309
  return errorResult(runRes, json);
5255
5310
  if (customerAnswer(runRes.data)) {
5256
- return adminOnlyResult("Redoing a finished clip is for admins. To redo a scene's picture while your storyboard " +
5257
- `waits for you: exodus video retry-frame ${runId} --scene <n>`, json);
5311
+ return adminOnlyResult("Redoing a finished clip from here is for admins. To redo a scene's picture while your storyboard waits for " +
5312
+ `you, run exodus video retry-frame ${runId} --scene <n>. Where the video's page offers Try again on a scene, ` +
5313
+ `it films that clip again and shows the price first: ${customerRunPage(deps.dashboardUrl, runId)}`, json);
5258
5314
  }
5259
5315
  const run = asVideoRun(runRes.data);
5260
5316
  const itemsRes = await deps.get(`${ITEMS_PATH}?runId=${encodeURIComponent(runId)}`);
@@ -5424,7 +5480,7 @@ export async function spendAnswerFlow(runId, answer, json, deps) {
5424
5480
  ? typeof clearedToUsd === "number"
5425
5481
  ? `Keeping going. It will ask again before it spends past $${clearedToUsd.toFixed(2)}.`
5426
5482
  : "Keeping going."
5427
- : "Stopped at the estimate. Nothing more will be filmed. Every scene with a clip is kept.",
5483
+ : "Stopped at the estimate. The app films nothing more on its own. Every scene with a clip is kept.",
5428
5484
  `See where it stands: exodus video status ${runId}`,
5429
5485
  ],
5430
5486
  };
@@ -5856,6 +5912,7 @@ async function customerPullFlow(run, dir, json, deps) {
5856
5912
  `Every piece is listed in ${manifestPath}.`,
5857
5913
  ...replacedVideoLines(dir, manifest.video, videoBefore, deps),
5858
5914
  ...(manifest.video ? [] : ["The finished video isn't ready yet, so only the scene pieces came down."]),
5915
+ ...customerWaitingNote(run),
5859
5916
  ...(failures.length > 0
5860
5917
  ? [
5861
5918
  "",
@@ -5868,6 +5925,14 @@ async function customerPullFlow(run, dir, json, deps) {
5868
5925
  ],
5869
5926
  };
5870
5927
  }
5928
+ function customerWaitingNote(run) {
5929
+ const scenes = run.cutHeldScenes?.length ? run.cutHeldScenes : run.waitingScenes;
5930
+ if (!scenes?.length)
5931
+ return [];
5932
+ const names = scenes.map((s) => `scene ${s.sceneIndex}`);
5933
+ const list = names.length > 1 ? `${names.slice(0, -1).join(", ")} and ${names[names.length - 1]}` : names[0];
5934
+ return [`Your video waits on you for ${list} first. What each needs: exodus video status ${run.runId}`];
5935
+ }
5871
5936
  function customerDelivered(run) {
5872
5937
  return run.stage === "ready" && run.awaitingSignOff !== true;
5873
5938
  }
@@ -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.22",
4
4
  "description": "CLI + Claude Code skills for the Copycoders Exodus ad pipeline",
5
5
  "repository": {
6
6
  "type": "git",