@aicopycoders/exodus 2026.11.500-beta.1 → 2026.11.700-beta.1

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.
@@ -12,6 +12,8 @@ export type CustomerStopReason = {
12
12
  kind: "openrouter-out-of-credits";
13
13
  } | {
14
14
  kind: "plan-too-big";
15
+ } | {
16
+ kind: "plan-rejected";
15
17
  } | {
16
18
  kind: "keys-missing";
17
19
  keys: string[];
@@ -45,6 +45,12 @@ function stoppedLines(run, page) {
45
45
  `Try again from the video's page and it will be planned fresh: ${page} If it stops here again, try a shorter script.`,
46
46
  ];
47
47
  }
48
+ if (reason?.kind === "plan-rejected") {
49
+ return [
50
+ "This video's plan didn't pass our checks.",
51
+ `Try again from the video's page: ${page} If it stops here again, try a shorter script or another kind of ad.`,
52
+ ];
53
+ }
48
54
  if (reason?.kind === "keys-missing") {
49
55
  return [
50
56
  `This video stopped because ${reason.keys.length === 1 ? "a key is" : "some keys are"} missing (${reason.keys.join(", ")}).`,
@@ -181,6 +181,8 @@ export interface VideoRun {
181
181
  error?: string;
182
182
  pauseReason?: BuilderPauseReason;
183
183
  pausedNodeId?: string;
184
+ requestQuotePending?: boolean;
185
+ sourceEditMap?: true;
184
186
  nodes: VideoRunNode[];
185
187
  pauseAhead?: WorkflowRun["pauseAhead"];
186
188
  castLock?: PullCastLock | null;
@@ -294,6 +296,8 @@ export type RunStop = {
294
296
  at: "final-watch";
295
297
  missingScenes?: MissingScene[];
296
298
  framesNodeId?: string;
299
+ } | {
300
+ at: "request-quote";
297
301
  } | {
298
302
  at: "paused";
299
303
  nodeId?: string;
@@ -420,6 +424,10 @@ export interface VideoManifest {
420
424
  voiceMode: string;
421
425
  };
422
426
  shots?: RunShots;
427
+ lineage?: {
428
+ file: string | null;
429
+ reason?: string;
430
+ };
423
431
  }
424
432
  export interface RunShots {
425
433
  frame?: string;
@@ -467,6 +475,7 @@ export interface ScriptStartOptions {
467
475
  stopAtScript?: true;
468
476
  rewriteToFit?: true;
469
477
  sourceRecordFile?: string;
478
+ adaptationPlanFile?: string;
470
479
  wait: boolean;
471
480
  json: boolean;
472
481
  onProgressLine?: (line: string) => void;
@@ -508,10 +517,12 @@ export declare function parseDirectorSwitch(word: string | undefined): {
508
517
  export declare function directorFlow(runId: string, on: DirectorSwitch, json: boolean, deps: VideoDeps): Promise<FlowResult>;
509
518
  export declare function rejectedDraftFlow(runId: string, json: boolean, deps: VideoDeps): Promise<FlowResult>;
510
519
  export declare function storyboardFlow(runId: string, json: boolean, deps: VideoDeps): Promise<FlowResult>;
520
+ export declare function quoteFlow(runId: string, json: boolean, deps: VideoDeps, privateExport?: boolean): Promise<FlowResult>;
511
521
  export declare function approveFlow(runId: string, opts: {
512
522
  json: boolean;
513
523
  approveStaleCut: boolean;
514
524
  acceptFindings?: boolean;
525
+ requestQuoteHash?: string;
515
526
  }, deps: VideoDeps): Promise<FlowResult>;
516
527
  export declare function flagFlow(runId: string, note: string, json: boolean, deps: VideoDeps): Promise<FlowResult>;
517
528
  export declare function retryFrameFlow(runId: string, nodeId: string | undefined, sceneIndex: number, note: string | undefined, json: boolean, deps: VideoDeps): Promise<FlowResult>;
@@ -683,8 +694,56 @@ export interface CutWord {
683
694
  export declare function cutSidecars(filePath: string, deps: VideoDeps): {
684
695
  cutScenes?: CutScene[];
685
696
  cutWords?: CutWord[];
697
+ finalSourceMap?: unknown;
698
+ };
699
+ export declare function uploadFlow(runId: string, filePath: string, durationFlag: string | undefined, json: boolean, deps: VideoDeps, options?: {
700
+ bindFinalBytes?: boolean;
701
+ }): Promise<FlowResult>;
702
+ export interface ReviewOptions {
703
+ verdict: "accept" | "reject";
704
+ file: string;
705
+ resolutions: Array<{
706
+ findingKey: string;
707
+ resolution: "accepted-as-is" | "waived" | "fixed";
708
+ note: string;
709
+ }>;
710
+ disagreements: Array<{
711
+ findingKey: string;
712
+ note: string;
713
+ }>;
714
+ humanListens?: Array<{
715
+ scope?: "selected-take" | "final-file";
716
+ sceneIndex?: number;
717
+ term: string;
718
+ speaker: string;
719
+ heard: string;
720
+ accepted: boolean;
721
+ }>;
722
+ gradeVersion?: string;
723
+ mediaVersion?: string;
724
+ }
725
+ export declare function parseReviewFlags(flags: Record<string, string | boolean>, occurrences: FlagOccurrence[]): {
726
+ ok: true;
727
+ opts: ReviewOptions;
728
+ } | {
729
+ ok: false;
730
+ line: string;
686
731
  };
687
- export declare function uploadFlow(runId: string, filePath: string, durationFlag: string | undefined, json: boolean, deps: VideoDeps): Promise<FlowResult>;
732
+ export declare function reviewFlow(runId: string, opts: ReviewOptions & {
733
+ json: boolean;
734
+ }, deps: VideoDeps): Promise<FlowResult>;
735
+ export declare function songListenFlow(runId: string, json: boolean, deps: VideoDeps): Promise<FlowResult>;
736
+ export declare function songApproveFlow(runId: string, masterSha256: string, json: boolean, deps: VideoDeps): Promise<FlowResult>;
737
+ export interface SongImportOptions {
738
+ file: string;
739
+ lyric: string;
740
+ rights: string;
741
+ trim?: {
742
+ from: number;
743
+ to: number;
744
+ };
745
+ }
746
+ export declare function songImportFlow(runId: string, opts: SongImportOptions, json: boolean, deps: VideoDeps): Promise<FlowResult>;
688
747
  export declare function parsePositional(args?: string[]): string[];
689
748
  export declare function run(flags: Record<string, string | boolean>, occurrences: FlagOccurrence[]): Promise<void>;
690
749
  export {};