@aicopycoders/exodus 2026.11.1200-beta.2 → 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.
@@ -24,6 +24,8 @@ 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";
28
+ export declare const SPEND_ANSWER_PATH = "/api/v2/video/spend-answer";
27
29
  export declare const VOICES_PATH = "/api/v2/video/voices";
28
30
  export declare const PICKS_PATH = "/api/v2/video/picks";
29
31
  export declare const MAP_PATH = "/api/v2/video/map";
@@ -93,7 +95,7 @@ export type ArtifactSubset = {
93
95
  type: "image";
94
96
  imageUrl?: string;
95
97
  storageId?: string;
96
- anchor?: "set-plate" | "product-sheet" | "filled-plate" | "product-plate" | "layout-plate";
98
+ anchor?: "set-plate" | "product-sheet" | "filled-plate" | "product-plate" | "layout-plate" | "animal-plate";
97
99
  holds?: string[];
98
100
  lid?: "closed";
99
101
  camera?: string;
@@ -106,6 +108,7 @@ export type ArtifactSubset = {
106
108
  words?: ClipWord[];
107
109
  qc?: ClipQc;
108
110
  final?: boolean;
111
+ autoCut?: boolean;
109
112
  revoiced?: boolean;
110
113
  speechTrimmed?: boolean;
111
114
  tailTrimmed?: boolean;
@@ -154,12 +157,17 @@ export interface VideoRunNode {
154
157
  error?: string;
155
158
  warning?: string;
156
159
  planFailure?: PlanFailureRecord;
160
+ memberStop?: MemberStopMark;
157
161
  hasRejectedDraft?: boolean;
158
162
  outputs?: ArtifactSubset[];
159
163
  missingScenes?: MissingScene[];
160
164
  autoRedoScenes?: number[];
161
165
  autoRedoReasons?: AutoRedoReason[];
162
166
  }
167
+ export interface MemberStopMark {
168
+ sentence: string;
169
+ retry: boolean;
170
+ }
163
171
  export interface AutoRedoReason {
164
172
  sceneIndex: number;
165
173
  reason: string;
@@ -190,6 +198,19 @@ export interface VideoRun {
190
198
  status: string;
191
199
  isTerminal: boolean;
192
200
  error?: string;
201
+ costUsd?: number;
202
+ costScope?: "soFar" | "final";
203
+ estimateUsd?: number;
204
+ spendAsk?: {
205
+ sentence: string;
206
+ };
207
+ spendWentOn?: {
208
+ sentence: string;
209
+ };
210
+ spendStopped?: {
211
+ at: number;
212
+ sentence?: string;
213
+ };
193
214
  pauseReason?: BuilderPauseReason | "pilot";
194
215
  pausedNodeId?: string;
195
216
  pilot?: {
@@ -217,6 +238,13 @@ export interface VideoRun {
217
238
  };
218
239
  workflowId?: string;
219
240
  cutHeldScenes?: number[];
241
+ appCut?: "making" | "needs-person";
242
+ storyboardAutoApprove?: boolean;
243
+ moduleKey?: string;
244
+ cutFailure?: {
245
+ sentence: string;
246
+ };
247
+ cutCheck?: string[];
220
248
  moduleOwned?: boolean;
221
249
  director?: RunDirector;
222
250
  }
@@ -244,6 +272,9 @@ export interface NodeItem {
244
272
  error?: string;
245
273
  attempt?: number;
246
274
  flagged?: boolean;
275
+ acceptedAsIs?: {
276
+ at: number;
277
+ };
247
278
  findings?: ClipFinding[];
248
279
  speech?: SpeechSummary;
249
280
  staleClaim?: boolean;
@@ -278,12 +309,14 @@ export interface FlowResult {
278
309
  lines: string[];
279
310
  usage?: true;
280
311
  }
312
+ export declare function checkDownloadSize(received: number, headers: Pick<Headers, "get">): void;
281
313
  export interface VideoDeps {
282
314
  get: (path: string) => Promise<ApiResponse<unknown>>;
283
315
  post: (path: string, body: unknown) => Promise<ApiResponse<unknown>>;
284
316
  mkdirp: (dir: string) => void;
285
317
  writeFile: (filePath: string, text: string) => void;
286
318
  downloadToFile: (url: string, filePath: string) => Promise<void>;
319
+ piecesOnly?: true;
287
320
  readFile: (filePath: string) => string;
288
321
  readFileBytes: (filePath: string) => Uint8Array;
289
322
  statFile: (filePath: string) => {
@@ -315,11 +348,23 @@ export type RunStop = {
315
348
  showAd?: true;
316
349
  heldReason?: string;
317
350
  blockingMap?: true;
351
+ noPictureBeforeApproval?: true;
352
+ place?: {
353
+ imageUrl: string | null;
354
+ };
318
355
  } | {
319
356
  at: "final-watch";
320
357
  missingScenes?: MissingScene[];
321
358
  framesNodeId?: string;
322
359
  heldScenes?: number[];
360
+ heldTakes?: HeldTake[];
361
+ redoFaultScenes?: number[];
362
+ cutFailure?: string;
363
+ appMakesCut?: true;
364
+ appCutOnRun?: true;
365
+ appOutdatesCut?: true;
366
+ redoingScenes?: number[];
367
+ fromTemplate?: true;
323
368
  } | {
324
369
  at: "pilot";
325
370
  nodeId?: string;
@@ -345,6 +390,7 @@ export type RunStop = {
345
390
  nodeId?: string;
346
391
  step?: string;
347
392
  workerStopped?: true;
393
+ memberStop?: MemberStopMark;
348
394
  } | {
349
395
  at: "finished";
350
396
  status: string;
@@ -368,7 +414,15 @@ export declare function pilotCheck(sceneIndex: number, row: NodeItem | undefined
368
414
  export declare function classifyRun(run: VideoRun): RunStop;
369
415
  export declare function hasAttachedCut(items: NodeItem[]): boolean;
370
416
  export declare function scenesBeingRedone(run: VideoRun, items: NodeItem[]): number[];
417
+ export interface HeldTake {
418
+ sceneIndex: number;
419
+ sentence: string;
420
+ }
421
+ export declare function heldTakesOf(scenes: readonly number[] | undefined, items: readonly NodeItem[] | null | undefined): HeldTake[];
422
+ export declare function flaggedHeldTakesOf(items: readonly NodeItem[] | null | undefined): HeldTake[];
371
423
  export declare function resolveStop(stop: RunStop, cutAttached: boolean | null, items?: NodeItem[] | null): ResolvedStop;
424
+ export declare function appCutOutdates(run: Pick<VideoRun, "appCut" | "moduleKey">): boolean;
425
+ export declare function appIsCutting(stop: ResolvedStop): boolean;
372
426
  export declare function resolveStopAtPark(stop: RunStop, runId: string, deps: Pick<VideoDeps, "get">): Promise<ResolvedStop>;
373
427
  export declare function stageWord(stage: string): string;
374
428
  export declare function stepName(kind: string | undefined): string;
@@ -482,6 +536,7 @@ export interface VideoManifest {
482
536
  file: string | null;
483
537
  reason?: string;
484
538
  };
539
+ video?: string | null;
485
540
  }
486
541
  export interface RunShots {
487
542
  frame?: string;
@@ -500,6 +555,7 @@ export declare function scenePrefix(sceneIndex: number): string;
500
555
  export declare function planPull(run: VideoRun, items: NodeItem[], opts: {
501
556
  pulledAt: string;
502
557
  dashboardUrl: string;
558
+ piecesOnly?: true;
503
559
  }): PullPlan;
504
560
  export declare function markPullFailure(manifest: VideoManifest, failure: PullFailure): void;
505
561
  export declare function missingSetupLabels(progress: ShowRow["setupProgress"]): string[];
@@ -515,6 +571,8 @@ export interface StartOptions {
515
571
  }
516
572
  export interface ScriptStartOptions {
517
573
  scriptFile: string;
574
+ yes?: boolean;
575
+ maxUsd?: number;
518
576
  conceit: string;
519
577
  style: string;
520
578
  direction?: string;
@@ -585,6 +643,7 @@ export type MusicChoice = {
585
643
  export declare function planMusicChoice(occurrences: FlagOccurrence[]): MusicChoice;
586
644
  export declare function planVideoStart(flags: Record<string, string | boolean>, occurrences: FlagOccurrence[]): VideoStartPlan;
587
645
  export declare function startScriptFlow(opts: ScriptStartOptions, deps: VideoDeps): Promise<FlowResult>;
646
+ export declare const WAIT_LOST_CODE = 2;
588
647
  export declare function waitFlow(runId: string, opts: {
589
648
  json: boolean;
590
649
  url?: string;
@@ -593,6 +652,12 @@ export declare function waitFlow(runId: string, opts: {
593
652
  onProgressLine?: (line: string) => void;
594
653
  }, deps: VideoDeps): Promise<FlowResult>;
595
654
  export declare function statusFlow(runId: string, json: boolean, deps: VideoDeps): Promise<FlowResult>;
655
+ export declare const ONE_TAKE_FILMED_AGAIN_CODE = "one-take-filmed-again";
656
+ export declare const COST_LEAVES_OUT = "Not in it: what was made before the run, such as a swipe's script and people.";
657
+ export declare function runCostLine(run: Pick<VideoRun, "costUsd" | "costScope" | "isTerminal">, items: readonly NodeItem[]): string | null;
658
+ export declare const ONE_TAKE_HEARD_AS_CODE = "one-take-words-heard-as";
659
+ export declare const ONE_TAKE_LABEL_CODES: readonly ["one-take-label-flipped", "one-take-label-unsure", "one-take-label-held", "one-take-label-flipped-all"];
660
+ export declare const ONE_TAKE_SAID_WRONG_CODES: readonly ["one-take-said-wrong", "one-take-second-listen-failed"];
596
661
  export declare function directorLines(director: RunDirector): string[];
597
662
  export type DirectorSwitch = boolean | null;
598
663
  export declare function parseDirectorSwitch(word: string | undefined): {
@@ -857,6 +922,8 @@ export declare function planClipRevoice(run: VideoRun, items: NodeItem[], target
857
922
  export type RevoiceTarget = ClipRedoTarget | {
858
923
  all: true;
859
924
  };
925
+ export declare function keepFlow(runId: string, sceneIndex: number, json: boolean, deps: VideoDeps): Promise<FlowResult>;
926
+ export declare function spendAnswerFlow(runId: string, answer: "go" | "stop", json: boolean, deps: VideoDeps): Promise<FlowResult>;
860
927
  export declare function revoiceFlow(runId: string, target: RevoiceTarget, json: boolean, deps: VideoDeps): Promise<FlowResult>;
861
928
  export interface CastVoiceRow {
862
929
  characterId: string;
@@ -1023,5 +1090,6 @@ export interface SongImportOptions {
1023
1090
  }
1024
1091
  export declare function songImportFlow(runId: string, opts: SongImportOptions, json: boolean, deps: VideoDeps): Promise<FlowResult>;
1025
1092
  export declare function parsePositional(args?: string[]): string[];
1093
+ export declare function subcommandHelp(words?: readonly string[]): string | null;
1026
1094
  export declare function run(flags: Record<string, string | boolean>, occurrences: FlagOccurrence[]): Promise<void>;
1027
1095
  export {};