@aicopycoders/exodus 2026.11.1100 → 2026.11.1200-beta.10

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.
@@ -24,6 +24,7 @@ export declare const helpText: string;
24
24
  export declare const RUN_PATH = "/api/v2/workflow";
25
25
  export declare const ITEMS_PATH = "/api/v2/workflow/items";
26
26
  export declare const FINAL_PATH = "/api/v2/video/final";
27
+ export declare const KEEP_SCENE_PATH = "/api/v2/video/keep-scene";
27
28
  export declare const VOICES_PATH = "/api/v2/video/voices";
28
29
  export declare const PICKS_PATH = "/api/v2/video/picks";
29
30
  export declare const MAP_PATH = "/api/v2/video/map";
@@ -154,12 +155,17 @@ export interface VideoRunNode {
154
155
  error?: string;
155
156
  warning?: string;
156
157
  planFailure?: PlanFailureRecord;
158
+ memberStop?: MemberStopMark;
157
159
  hasRejectedDraft?: boolean;
158
160
  outputs?: ArtifactSubset[];
159
161
  missingScenes?: MissingScene[];
160
162
  autoRedoScenes?: number[];
161
163
  autoRedoReasons?: AutoRedoReason[];
162
164
  }
165
+ export interface MemberStopMark {
166
+ sentence: string;
167
+ retry: boolean;
168
+ }
163
169
  export interface AutoRedoReason {
164
170
  sceneIndex: number;
165
171
  reason: string;
@@ -320,6 +326,7 @@ export type RunStop = {
320
326
  missingScenes?: MissingScene[];
321
327
  framesNodeId?: string;
322
328
  heldScenes?: number[];
329
+ heldTakes?: HeldTake[];
323
330
  } | {
324
331
  at: "pilot";
325
332
  nodeId?: string;
@@ -345,6 +352,7 @@ export type RunStop = {
345
352
  nodeId?: string;
346
353
  step?: string;
347
354
  workerStopped?: true;
355
+ memberStop?: MemberStopMark;
348
356
  } | {
349
357
  at: "finished";
350
358
  status: string;
@@ -368,6 +376,11 @@ export declare function pilotCheck(sceneIndex: number, row: NodeItem | undefined
368
376
  export declare function classifyRun(run: VideoRun): RunStop;
369
377
  export declare function hasAttachedCut(items: NodeItem[]): boolean;
370
378
  export declare function scenesBeingRedone(run: VideoRun, items: NodeItem[]): number[];
379
+ export interface HeldTake {
380
+ sceneIndex: number;
381
+ sentence: string;
382
+ }
383
+ export declare function heldTakesOf(scenes: readonly number[] | undefined, items: readonly NodeItem[] | null | undefined): HeldTake[];
371
384
  export declare function resolveStop(stop: RunStop, cutAttached: boolean | null, items?: NodeItem[] | null): ResolvedStop;
372
385
  export declare function resolveStopAtPark(stop: RunStop, runId: string, deps: Pick<VideoDeps, "get">): Promise<ResolvedStop>;
373
386
  export declare function stageWord(stage: string): string;
@@ -593,6 +606,9 @@ export declare function waitFlow(runId: string, opts: {
593
606
  onProgressLine?: (line: string) => void;
594
607
  }, deps: VideoDeps): Promise<FlowResult>;
595
608
  export declare function statusFlow(runId: string, json: boolean, deps: VideoDeps): Promise<FlowResult>;
609
+ export declare const ONE_TAKE_HEARD_AS_CODE = "one-take-words-heard-as";
610
+ export declare const ONE_TAKE_LABEL_CODES: readonly ["one-take-label-flipped", "one-take-label-unsure", "one-take-label-held"];
611
+ export declare const ONE_TAKE_SAID_WRONG_CODES: readonly ["one-take-said-wrong", "one-take-second-listen-failed"];
596
612
  export declare function directorLines(director: RunDirector): string[];
597
613
  export type DirectorSwitch = boolean | null;
598
614
  export declare function parseDirectorSwitch(word: string | undefined): {
@@ -857,6 +873,7 @@ export declare function planClipRevoice(run: VideoRun, items: NodeItem[], target
857
873
  export type RevoiceTarget = ClipRedoTarget | {
858
874
  all: true;
859
875
  };
876
+ export declare function keepFlow(runId: string, sceneIndex: number, json: boolean, deps: VideoDeps): Promise<FlowResult>;
860
877
  export declare function revoiceFlow(runId: string, target: RevoiceTarget, json: boolean, deps: VideoDeps): Promise<FlowResult>;
861
878
  export interface CastVoiceRow {
862
879
  characterId: string;
@@ -11,6 +11,7 @@ import { composeTemplateBrief } from "../lib/templateBrief.js";
11
11
  import { scriptApprovalExpiresAt, scriptApprovalNeedsReview } from "../lib/script-approval.js";
12
12
  import { ASSET_UPLOAD_POLICY, pauseAheadLine, parseVoicesFlag, } from "./workflow.js";
13
13
  import { HELPER_LEDGER_BASE, SET_OPTION_LEDGER_BASE } from "../lib/helperLedgerBase.js";
14
+ import { ONE_TAKE_HOLD_CODES } from "../lib/oneTakeHolds.js";
14
15
  import { customerAnswer, customerRunPage, customerStageIsWorking, customerCutHeld, customerStageLines, customerStatusLines, customerStoryboardLines, customerVoicesLines, speechSummaryLines, } from "./video-customer.js";
15
16
  import { planSwipeCommand, runSwipePlan } from "./video-swipe.js";
16
17
  const VOICE_MODES = ["native", "voice-first"];
@@ -158,6 +159,11 @@ The whole loop, in order:
158
159
  picture stays, no new video is made, and a clip whose voice pass
159
160
  cannot finish is kept as it was. Use --scene <n> for one clip.
160
161
 
162
+ exodus video keep <runId> --scene <n>
163
+ Keep a held scene's clip as it is, as "Use scene N as-is" on the
164
+ video's page does. It orders nothing. Once no scene is held, the app's
165
+ own cut goes on and makes the final video.
166
+
161
167
  9. Make your cut from those files.
162
168
 
163
169
  10. exodus video upload <runId> --file cut.mp4
@@ -188,6 +194,7 @@ Usage:
188
194
  exodus video broll remove <runId> --scene <n> [--json]
189
195
  exodus video retry-clip <runId> --scene <n> [--node <nodeId>] [--note "..."] [--voice-first] [--json]
190
196
  exodus video revoice <runId> (--scene <n> | --all) [--node <nodeId>] [--json]
197
+ exodus video keep <runId> --scene <n> [--json]
191
198
  exodus video voices <runId> [--set <character>=<voice>] [--clear <character>] [--from <file.json>] [--json]
192
199
  exodus video voices [<runId>] --catalog [--json]
193
200
  exodus video pull <runId> --out <dir> [--json]
@@ -201,12 +208,17 @@ Usage:
201
208
  exodus video swipe status <breakdownId> [--wait] [--full] [--json]
202
209
  exodus video swipe template <breakdownId> [--yes] [--json]
203
210
  exodus video swipe products [--json]
204
- exodus video swipe write <breakdownId> --product <id> [--mode whole-ad|hook-only|their-format|new-look] [--closeness <1-5|mirror|close|same-beats|same-arc|pattern-only>] [--look <slug>] [--script <file>] [--kind <kind>] [--yes] [--json]
211
+ exodus video swipe write <breakdownId> --product <id> [--mode whole-ad|hook-only|their-format|new-look] [--closeness <1-5|mirror|close|same-beats|same-arc|pattern-only>] [--look <slug>] [--script <file>] [--kind <kind>] [--yes [--people-max-usd <n>]] [--no-people] [--json]
205
212
  exodus video swipe show <swipeId> [--json]
206
213
  exodus video swipe list [--json]
207
214
  exodus video swipe find [--brand "<name>"] [--limit <n>] [--json]
208
- exodus video swipe start <swipeId> [--style <look>] [--title "<name>"] [--music] [--one-shot] [--again] [--yes] [--wait] [--json]
215
+ exodus video swipe start <swipeId> [--style <look>] [--title "<name>"] [--music] [--one-shot] [--again] [--max-usd <n>] [--yes] [--wait] [--json]
209
216
  exodus video swipe run --sheet <file> [--status] [--persona <name>] [--yes] [--retry-refused] [--wait] [--json]
217
+ exodus video swipe sheet <swipeId> [--json]
218
+ exodus video swipe sheet set <swipeId> <row>=<value> [<row>=<value> ...] [--json]
219
+ exodus video swipe sheet price <swipeId> [--json]
220
+ exodus video swipe sheet people <swipeId> [--count <n>] [--yes --max-usd <n>] [--wait] [--json]
221
+ exodus video swipe sheet voices <swipeId> [--json]
210
222
 
211
223
  Options:
212
224
  --out <dir> Folder to write the pulled pieces into (pull)
@@ -223,7 +235,8 @@ Options:
223
235
  Which video step holds the clip, when a scene has one on
224
236
  more than one step (retry-clip, revoice)
225
237
  --scene <n> Which scene to redo. One scene only, a whole number
226
- (retry-frame, retry-clip, revoice). Which B-roll shot
238
+ (retry-frame, retry-clip, revoice), or to keep as it is
239
+ (keep). Which B-roll shot
227
240
  to move or remove (broll move, broll remove)
228
241
  --all Every finished clip that kept the video model's voice
229
242
  (revoice)
@@ -443,7 +456,8 @@ the brand's version, then start the video on the kind the swipe wrote. Four
443
456
  steps cost money: swipe (the breakdown, on the team's keys), swipe template
444
457
  and swipe write (on your own Anthropic or OpenRouter key) and swipe start (the
445
458
  run's storyboard and pictures). Without --yes each one sends nothing and says
446
- what it buys and who pays. The CLI prints no price for any of them.
459
+ what it buys and who pays. The CLI prints no price for any of them, but for
460
+ swipe start of a kind whose saved sheet has one.
447
461
  --file <ad.mp4> The ad as a video file: MP4, MOV, M4V or WebM, up to
448
462
  300 MB (swipe)
449
463
  --url <link> A link to the ad: Meta Ad Library, TikTok, Instagram or
@@ -482,7 +496,7 @@ what it buys and who pays. The CLI prints no price for any of them.
482
496
  --full What the breakdown read from the ad (swipe status): each
483
497
  shot with its cut times, a-roll or cutaway, framing,
484
498
  camera and description; the script with who says each
485
- line; and the cast. No pictures
499
+ line; the cast; and how it is filmed. No pictures
486
500
  --look <slug> The new look (swipe write --mode new-look)
487
501
  --script <file> Your own script (swipe write --mode their-format)
488
502
  --kind <kind> A kind of ad in place of the one the template picked
@@ -521,6 +535,32 @@ library when it holds fewer), keeping the video ads with a file, newest
521
535
  collected first. Its counts are of the ads it looked through. It holds no
522
536
  results and no kind, so it ranks by neither; the kind of an ad is known only
523
537
  after it is read. It takes no other verb's flags.
538
+ swipe sheet is free too: the saved sheet, the choices the server keeps for a
539
+ written swipe, and the swipe's page on the dashboard, which does not show the
540
+ saved sheet yet. Each row says its value, where it comes from and why, and
541
+ which step reads it. swipe sheet set <swipeId> <row>=<value> changes rows, all
542
+ or none; <row>= clears one. The start copies the saved sheet into the video; a
543
+ change after it is for the next video. A kind of ad with no sheet has nothing
544
+ to set. swipe sheet price <swipeId> is free: the price of the video at the
545
+ sheet's rows and at each size and takes, with the most it can cost. swipe
546
+ start --max-usd <n> holds the start to the most a price showed: a start that
547
+ can now cost more is refused, and nothing is started.
548
+ swipe sheet people is paid, on the member's own keys: new people to pick from
549
+ for the person row, each one or two short text calls on their model key and one
550
+ face picture on their Kie key. Without --yes it says the price and what it buys
551
+ and makes nothing; --yes --max-usd <the price's most> makes them (--count 1 to
552
+ 8, 4 by default), --wait waits for them. Each is shown with their picture's
553
+ address; who=<n> picks one, and the video is then filmed with that person and
554
+ that face. swipe sheet voices is free: the catalog voices on the member's
555
+ ElevenLabs account that fit the person, then their own voices, each with its
556
+ sample's address; voice=<n> picks one, and the video is filmed in it.
557
+ swipe write also makes people to pick from for a kind whose sheet has a person,
558
+ when the server offers them: without --yes it says their price too, and the
559
+ yes line carries their most (--people-max-usd <n>). The write then makes 4 on
560
+ the member's own keys once the script is stored, waits a few minutes for them
561
+ and shows each, with the one a check of the faces recommends. --yes alone, or
562
+ --no-people, writes without them. swipe start waits while people are being
563
+ made, until 5 minutes after they were asked for.
524
564
  The template picks the kind of ad: swipe template prints it and its look, so
525
565
  ask the member before the write. A swipe run has no picks stop and no pilot
526
566
  clip; it stops at the storyboard unless --one-shot. --wait on swipe and swipe
@@ -533,11 +573,13 @@ switched on get these, on their own brands: start (--script, --conceit,
533
573
  --review-storyboard, --stop-at-script, --rewrite-to-fit), swipe (all of it
534
574
  but swipe start --title), status, storyboard, approve (the storyboard), voices,
535
575
  retry-frame --scene <n> (redo one scene's picture while the storyboard waits),
536
- pull (the finished video, each scene's clip and voice, and the music) and
537
- upload. These stay admin-only: start --video-model / --voice / --voice-path /
576
+ pull (the finished video, each scene's clip and voice, and the music),
577
+ upload and keep (a held scene as it is). These stay admin-only: start --video-model / --voice / --voice-path /
538
578
  --director, swipe start --title, director,
539
579
  status --rejected-draft, retry-clip, revoice, broll, map and move. start --broll
540
- works for whoever B-roll is switched on for.
580
+ works for whoever B-roll is switched on for. A stopped step's retry,
581
+ exodus workflow repair <runId> retry, needs an admin key today: a beta tester
582
+ uses Try again on the video's page.
541
583
  If a command answers "video isn't enabled for this key", the run id is wrong,
542
584
  the command is admin-only, or video isn't switched on for your dashboard user.
543
585
 
@@ -553,6 +595,7 @@ Examples:
553
595
  exodus video retry-clip run_123 --scene 3 --note "keep the handshake in frame"
554
596
  exodus video retry-clip run_123 --scene 3 --voice-first
555
597
  exodus video revoice run_123 --all
598
+ exodus video keep run_123 --scene 2
556
599
  exodus video picks run_123
557
600
  exodus video pick run_123 --face STRATEGIST=2 --voice STRATEGIST=3 --room OFFICE=4
558
601
  exodus video picks run_123 --redo face:STRATEGIST --note "older, greyer"
@@ -599,6 +642,7 @@ const VOICE_FIRST_NOT_ON_THIS_SERVER = "This Exodus server cannot redo a clip vo
599
642
  const REVOICE_NOT_ON_THIS_SERVER = "This Exodus server does not have the voice redo yet, so nothing was started and nothing " +
600
643
  "was spent. It arrives with the next server update.";
601
644
  export const FINAL_PATH = "/api/v2/video/final";
645
+ export const KEEP_SCENE_PATH = "/api/v2/video/keep-scene";
602
646
  export const VOICES_PATH = "/api/v2/video/voices";
603
647
  export const PICKS_PATH = "/api/v2/video/picks";
604
648
  export const MAP_PATH = "/api/v2/video/map";
@@ -806,7 +850,7 @@ export function classifyRun(run) {
806
850
  if (isWorkerStoppedPark(run))
807
851
  return { at: "failed", repair: true, workerStopped: true };
808
852
  if (run.pauseReason === "repair") {
809
- const deadNode = run.nodes.find((n) => n.status === "failed");
853
+ const deadNode = run.nodes.find((n) => n.status === "failed" && n.memberStop?.retry === false) ?? run.nodes.find((n) => n.status === "failed");
810
854
  const why = deadNode?.error ?? run.error;
811
855
  return {
812
856
  at: "failed",
@@ -814,6 +858,7 @@ export function classifyRun(run) {
814
858
  nodeId: deadNode?.nodeId ?? run.pausedNodeId,
815
859
  ...(deadNode?.kind ? { step: deadNode.kind } : {}),
816
860
  ...(why ? { error: why } : {}),
861
+ ...(deadNode?.memberStop ? { memberStop: deadNode.memberStop } : {}),
817
862
  };
818
863
  }
819
864
  if (run.pauseReason === "pilot") {
@@ -890,6 +935,19 @@ export function scenesBeingRedone(run, items) {
890
935
  }
891
936
  return [...scenes].sort((a, b) => a - b);
892
937
  }
938
+ export function heldTakesOf(scenes, items) {
939
+ if (!scenes?.length || !items)
940
+ return [];
941
+ return scenes.flatMap((sceneIndex) => {
942
+ const latest = items
943
+ .filter((i) => i.itemKind === "clip" && i.sceneIndex === sceneIndex)
944
+ .reduce((best, i) => (!best || (i.attempt ?? 0) >= (best.attempt ?? 0) ? i : best), undefined);
945
+ const said = (latest?.findings ?? [])
946
+ .filter((f) => ONE_TAKE_HOLD_CODES.includes(f.code) && f.detail.trim())
947
+ .map((f) => f.detail.trim());
948
+ return said.length > 0 ? [{ sceneIndex, sentence: said.join(" ") }] : [];
949
+ });
950
+ }
893
951
  export function resolveStop(stop, cutAttached, items) {
894
952
  if (stop.at === "pilot") {
895
953
  if (!items)
@@ -900,7 +958,8 @@ export function resolveStop(stop, cutAttached, items) {
900
958
  }
901
959
  if (stop.at !== "final-watch")
902
960
  return stop;
903
- return { ...stop, cutAttached };
961
+ const heldTakes = heldTakesOf(stop.heldScenes, items);
962
+ return { ...stop, cutAttached, ...(heldTakes.length > 0 ? { heldTakes } : {}) };
904
963
  }
905
964
  export async function resolveStopAtPark(stop, runId, deps) {
906
965
  if (stop.at !== "final-watch" && stop.at !== "pilot")
@@ -968,14 +1027,34 @@ function missingSceneLines(missing, framesNodeId, runId, runUrl) {
968
1027
  lines.push("The ad can't be approved until every scene has a clip.", `Watch it here: ${runUrl}`);
969
1028
  return lines;
970
1029
  }
971
- function heldSceneLines(scenes, runId, videoPage) {
1030
+ function heldSceneLines(scenes, runId, videoPage, heldTakes = []) {
1031
+ const takes = scenes.filter((scene) => heldTakes.some((t) => t.sceneIndex === scene));
1032
+ const faults = scenes.filter((scene) => !takes.includes(scene));
1033
+ return [...heldTakeLines(takes, heldTakes, runId, videoPage), ...(faults.length > 0 ? drawingFaultLines(faults, runId, videoPage) : [])];
1034
+ }
1035
+ function heldTakeLines(takes, heldTakes, runId, videoPage) {
1036
+ if (takes.length === 0)
1037
+ return [];
1038
+ const one = takes.length === 1;
1039
+ const phrase = scenesPhrase(takes).replace(/^scenes?/, (word) => (word === "scene" ? "take" : "takes"));
1040
+ return [
1041
+ `Held: ${phrase} ${one ? "was" : "were"} kept for you to watch, so the final video wasn't made.`,
1042
+ ...takes.map((scene) => heldTakes.find((t) => t.sceneIndex === scene).sentence),
1043
+ ...takes.map((scene) => one
1044
+ ? `Keep it as it is: exodus video keep ${runId} --scene ${scene}`
1045
+ : `Keep take ${scene} as it is: exodus video keep ${runId} --scene ${scene}`),
1046
+ `${one ? "Watch it first: " : "Watch them first:"} ${videoPage}`,
1047
+ ];
1048
+ }
1049
+ function drawingFaultLines(scenes, runId, videoPage) {
972
1050
  const one = scenes.length === 1;
973
1051
  return [
974
1052
  `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.`,
975
1053
  ...scenes.map((scene) => one
976
1054
  ? `Remake it: exodus video retry-clip ${runId} --scene ${scene}`
977
1055
  : `Remake scene ${scene}: exodus video retry-clip ${runId} --scene ${scene}`),
978
- `${one ? "Keep it as it is" : "Keep them as they are"}: on the video's page, ${videoPage}`,
1056
+ ...scenes.map((scene) => one ? `Keep it as it is: exodus video keep ${runId} --scene ${scene}` : `Keep scene ${scene} as it is: exodus video keep ${runId} --scene ${scene}`),
1057
+ `Or on the video's page: ${videoPage}`,
979
1058
  ];
980
1059
  }
981
1060
  function pilotLines(stop, runId, runUrl) {
@@ -1058,7 +1137,7 @@ export function stopLines(stop, runId, runUrl, videoPage) {
1058
1137
  return missingSceneLines(stop.missingScenes, stop.framesNodeId, runId, runUrl);
1059
1138
  }
1060
1139
  if (stop.heldScenes?.length)
1061
- return heldSceneLines(stop.heldScenes, runId, videoPage);
1140
+ return heldSceneLines(stop.heldScenes, runId, videoPage, stop.heldTakes);
1062
1141
  if (stop.cutAttached === null) {
1063
1142
  return [
1064
1143
  "Parked: every piece is made.",
@@ -1098,6 +1177,14 @@ export function stopLines(stop, runId, runUrl, videoPage) {
1098
1177
  `Open the run: ${runUrl}`,
1099
1178
  ];
1100
1179
  }
1180
+ if (stop.memberStop) {
1181
+ const lines = [`${stepName(stop.step)} stopped: ${stop.memberStop.sentence}`];
1182
+ if (stop.error && stop.error !== stop.memberStop.sentence)
1183
+ lines.push(`What the step said: ${stop.error}`);
1184
+ return stop.memberStop.retry
1185
+ ? [...lines, `Try that step again: exodus workflow repair ${runId} retry`, `Or open the run: ${runUrl}`]
1186
+ : [...lines, `Open the run: ${runUrl}`];
1187
+ }
1101
1188
  return [
1102
1189
  `${stepName(stop.step)} failed${stop.error ? `: ${stop.error}` : "."}`,
1103
1190
  `Try that step again: exodus workflow repair ${runId} retry`,
@@ -3869,6 +3956,10 @@ export async function statusFlow(runId, json, deps) {
3869
3956
  if (row.frame?.lastRedo)
3870
3957
  lines.push(` picture: ${row.frame.lastRedo.label}`);
3871
3958
  for (const finding of row.clip?.findings ?? []) {
3959
+ if (ONE_TAKE_PLAIN_FINDING_CODES.includes(finding.code)) {
3960
+ lines.push(` ${finding.detail}`);
3961
+ continue;
3962
+ }
3872
3963
  lines.push(` ${finding.code} (${finding.severity}): ${finding.detail}`);
3873
3964
  const judgeSeverity = finding.judgeSeverity ?? finding.severity;
3874
3965
  if (finding.judgeDetail) {
@@ -3919,6 +4010,10 @@ export async function statusFlow(runId, json, deps) {
3919
4010
  lines.push("Final speech:", ...speechSummaryLines(finalSpeech));
3920
4011
  return { code: 0, lines };
3921
4012
  }
4013
+ export const ONE_TAKE_HEARD_AS_CODE = "one-take-words-heard-as";
4014
+ export const ONE_TAKE_LABEL_CODES = ["one-take-label-flipped", "one-take-label-unsure", "one-take-label-held"];
4015
+ export const ONE_TAKE_SAID_WRONG_CODES = ["one-take-said-wrong", "one-take-second-listen-failed"];
4016
+ const ONE_TAKE_PLAIN_FINDING_CODES = [ONE_TAKE_HEARD_AS_CODE, ...ONE_TAKE_LABEL_CODES, ...ONE_TAKE_SAID_WRONG_CODES];
3922
4017
  const DIRECTOR_STATUS_WORDS = {
3923
4018
  reviewing: "Watching this run",
3924
4019
  waiting: "Waiting for redos to finish",
@@ -4960,6 +5055,26 @@ function sceneListWords(sceneIndexes) {
4960
5055
  return `Scene ${sceneIndexes[0]}`;
4961
5056
  return `Scenes ${sceneIndexes.slice(0, -1).join(", ")} and ${sceneIndexes[sceneIndexes.length - 1]}`;
4962
5057
  }
5058
+ const KEEP_NOT_ON_THIS_SERVER = "This Exodus server cannot keep a scene from the command line yet, so nothing changed. Keep it on the video's page:";
5059
+ export async function keepFlow(runId, sceneIndex, json, deps) {
5060
+ const res = await deps.post(KEEP_SCENE_PATH, { runId, sceneIndex });
5061
+ if (missingRouteLine(res, "exodus video keep")) {
5062
+ const line = `${KEEP_NOT_ON_THIS_SERVER} ${customerRunPage(deps.dashboardUrl, runId)}`;
5063
+ return { code: 1, lines: json ? [JSON.stringify({ ok: false, status: 404, error: line })] : [line] };
5064
+ }
5065
+ if (!res.ok)
5066
+ return errorResult(res, json);
5067
+ if (json)
5068
+ return { code: 0, lines: [JSON.stringify({ ok: true, runId, sceneIndex })] };
5069
+ return {
5070
+ code: 0,
5071
+ lines: [
5072
+ `Kept scene ${sceneIndex} as it is. Nothing was ordered.`,
5073
+ "If the final video was waiting on this scene alone, the app makes it now.",
5074
+ `See where it stands: exodus video status ${runId}`,
5075
+ ],
5076
+ };
5077
+ }
4963
5078
  export async function revoiceFlow(runId, target, json, deps) {
4964
5079
  const runRes = await deps.get(`${RUN_PATH}?runId=${encodeURIComponent(runId)}`);
4965
5080
  if (!runRes.ok)
@@ -6092,7 +6207,9 @@ const VALUE_FLAGS = new Set([
6092
6207
  "persona",
6093
6208
  ]);
6094
6209
  const FIND_VALUE_FLAGS = new Set(["brand", "limit"]);
6095
- const WRITE_VALUE_FLAGS = new Set(["kind"]);
6210
+ const WRITE_VALUE_FLAGS = new Set(["kind", "people-max-usd"]);
6211
+ const START_VALUE_FLAGS = new Set(["max-usd"]);
6212
+ const SHEET_PEOPLE_VALUE_FLAGS = new Set(["count", "max-usd"]);
6096
6213
  export function parsePositional(args = process.argv.slice(3)) {
6097
6214
  const read = (valueFlags) => {
6098
6215
  const out = [];
@@ -6118,6 +6235,12 @@ export function parsePositional(args = process.argv.slice(3)) {
6118
6235
  const asWrite = read(WRITE_VALUE_FLAGS);
6119
6236
  if (asWrite[0] === "swipe" && asWrite[1] === "write")
6120
6237
  return asWrite;
6238
+ const asStart = read(START_VALUE_FLAGS);
6239
+ if (asStart[0] === "swipe" && asStart[1] === "start")
6240
+ return asStart;
6241
+ const asPeople = read(SHEET_PEOPLE_VALUE_FLAGS);
6242
+ if (asPeople[0] === "swipe" && asPeople[1] === "sheet" && asPeople[2] === "people")
6243
+ return asPeople;
6121
6244
  return read(new Set());
6122
6245
  }
6123
6246
  function flagString(flags, name) {
@@ -6185,6 +6308,7 @@ export async function run(flags, occurrences) {
6185
6308
  "retry-frame",
6186
6309
  "retry-clip",
6187
6310
  "revoice",
6311
+ "keep",
6188
6312
  "voices",
6189
6313
  "pull",
6190
6314
  "upload",
@@ -6322,6 +6446,15 @@ export async function run(flags, occurrences) {
6322
6446
  }
6323
6447
  return printResult(await retryClipFlow(runId, { sceneIndex, nodeId: flagString(flags, "node") }, { note: flagString(flags, "note"), voiceFirst: flags["voice-first"] === true }, json, defaultDeps));
6324
6448
  }
6449
+ if (sub === "keep") {
6450
+ const sceneRaw = flagString(flags, "scene");
6451
+ if (sceneRaw === undefined)
6452
+ usage("video keep needs --scene <n>, the scene to keep as it is.");
6453
+ const sceneIndex = Number(sceneRaw);
6454
+ if (!Number.isInteger(sceneIndex))
6455
+ usage(`video keep --scene must be a whole scene number, not "${sceneRaw}".`);
6456
+ return printResult(await keepFlow(runId, sceneIndex, json, defaultDeps));
6457
+ }
6325
6458
  if (sub === "revoice") {
6326
6459
  const sceneRaw = flagString(flags, "scene");
6327
6460
  const all = flags["all"] === true;
@@ -0,0 +1 @@
1
+ export declare const ONE_TAKE_HOLD_CODES: readonly string[];
@@ -0,0 +1,8 @@
1
+ export const ONE_TAKE_HOLD_CODES = [
2
+ "one-take-words-missing",
3
+ "one-take-number-word-missing",
4
+ "one-take-kept-paid-take",
5
+ "one-take-words-unchecked",
6
+ "one-take-label-held",
7
+ "one-take-said-wrong",
8
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aicopycoders/exodus",
3
- "version": "2026.11.1100",
3
+ "version": "2026.11.1200-beta.10",
4
4
  "description": "CLI + Claude Code skills for the Copycoders Exodus ad pipeline",
5
5
  "repository": {
6
6
  "type": "git",