@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.
@@ -0,0 +1,17 @@
1
+ # The swipe's sheet, every row
2
+
3
+ When the member says "show sheet", print every row below, your picks marked,
4
+ then ask the sheet's question again. Each row's rules: SKILL.md, steps 3 and 5.
5
+
6
+ > 0. **Let it run** (I pick every row) or **I choose**.
7
+ > 1. **Persona** (noted; the video writer does not read it yet): <your three best fits, each with a short reason>, show all <N>, or none. Pick several for one video each.
8
+ > 2. **Mechanism** (noted; the video writer does not read it yet): <the primer's mechanisms>, your own words, or none.
9
+ > 3. **How close:** 1 Mirror, 2 Close, 3 Same beats, 4 Same arc, 5 Pattern only.
10
+ > 4. **Characters:** the tool picks them (your saved characters: not yet).
11
+ > 5. **Run:** one shot, or stop at the storyboard.
12
+ > 6. **Finish:** music on or off (captions, speed, cuts: not yet).
13
+ > **How many:** <n> videos = <a> ads × <p> personas:
14
+ > - Video 1: <ad> × <persona>
15
+ > - Video 2: <ad> × <persona>
16
+ > **Cost:** no price before the write, but for the people a write makes (in It buys); a kind with a saved sheet gets its price after it.
17
+ > **My picks:** <one line, with the reason>. **It buys:** <n> scripts and <n> whole videos, on your keys. (Stop at the storyboard: <n> scripts, and <n> storyboards with their pictures; the voices and clips wait for your yes at each storyboard. A kind with a saved sheet: <n> scripts now, each with <k> people to pick from (at most $<the most the dry write printed> for each script's people, only when it printed one); each video after your yes on its saved sheet.)
@@ -1,12 +1,14 @@
1
1
  ---
2
2
  name: swipe
3
- description: Swipe a winning ad (spoken or sung: micro-dramas, Suno song ads, jingles) for the active brand at a chosen closeness. Trigger on "swipe", "swipe this", "swipe this song ad", "swipe this Suno ad", "swipe this jingle", "rip this ad", "make this ours", "same scene, our product", "/swipe", a level ("L1", "level 2"), or the user pasting an ad, a transcript, or a video link (Atria, Facebook Ad Library, TikTok, YouTube) and naming a product. Two doors for the source: an ad already in Exodus (mined or in the swipe library) or a link / paste. Asks five quick questions with a recommendation, then calls the swipe bot on Genesis. Not for writing from scratch (exodus-write), not for why an ad works (anatomy-of-ads), not for the competitor watch list (`exodus swipe brands|run|mine`), not for a swipe straight into a video ("swipe this ad as a microdrama": exodus-video), not for a UGC talking-to-camera script ("swipe this UGC ad"): ugc-ads, not for anything that asks how the swipe bot works.
3
+ description: Swipe a winning ad (spoken or sung: micro-dramas, Suno song ads, jingles) for the active brand at a chosen closeness. Trigger on "swipe", "swipe this", "swipe this song ad", "swipe this Suno ad", "swipe this jingle", "rip this ad", "make this ours", "same scene, our product", "/swipe", a level ("L1", "level 2"), or the user pasting an ad, a transcript, or a link for copy (Atria, Facebook Ad Library, TikTok, YouTube) and naming a product; a video ad's file or link with a video wanted is exodus-video. Two doors for the source: an ad already in Exodus (mined or in the swipe library) or a link / paste. Asks five quick questions with a recommendation, then calls the swipe bot on Genesis. Not for writing from scratch (exodus-write), not for why an ad works (anatomy-of-ads), not for the competitor watch list (`exodus swipe brands|run|mine`), not for a swipe straight into a video ("swipe this ad as a microdrama", "swipe this ad as a UGC video like theirs", their ad as a video file with "make it at 720p": exodus-video, which runs `exodus video swipe`), not for a UGC talking-to-camera script with no video ("write me a UGC script", "swipe this UGC ad's script"): ugc-ads, not for anything that asks how the swipe bot works.
4
4
  ---
5
5
 
6
6
  # Swipe
7
7
 
8
8
  The bot on Genesis does the swiping. This skill picks the ad, asks five questions, calls the bot once per swipe, and counts what comes back.
9
9
 
10
+ A video ad to swipe as it is made, from its file, its link or its id in Exodus, skips this skill: it goes to the `exodus-video` skill's "Swiping a video ad": it reads the ad, shows a short plan with one question (every row on "show sheet"), and makes the videos on the member's yes. With a persona or a mechanism, and the keys this skill needs, it calls this skill's bot as sections 3 and 4 say, then makes the video from those lines.
11
+
10
12
  ## 1. Get the ad (two doors)
11
13
 
12
14
  **Door A, it's in Exodus.** The user names a brand, a card, or says "the one with the kid". List the brand's swipe library and let them pick:
@@ -118,8 +120,6 @@ On "make this a video", hand over to the `exodus-video` skill's "From one senten
118
120
 
119
121
  From there the walkthrough runs as written: a yes before each paid step, with its price where the CLI prints one, and the user's own picks at each stop.
120
122
 
121
- A video ad to swipe as it is made, from its file, its link or its id in Exodus, skips this skill: it goes to the `exodus-video` skill's "Swiping a video ad": it reads the ad, asks one sheet (persona, mechanism, how close, characters, run, finish, and how many videos), and makes the videos on one yes. With a persona or a mechanism, and the keys this skill needs, it calls this skill's bot as sections 3 and 4 say, then makes the video from those lines.
122
-
123
123
  ## Security
124
124
 
125
125
  The message to the bot carries only: LEVEL, MODE, COUNT, PICK, SCENE, AD, PRODUCT, FIX. Nothing else, ever.
@@ -1,13 +1,15 @@
1
1
  ---
2
2
  name: ugc-ads
3
- description: Front door for UGC talking-head ad scripts (one real person talking to their phone camera, a peer, ultra realistic). Trigger on "UGC script", "UGC ad", "yapper ad", "talking head script", "write me a UGC", "selfie ad script", "creator script". Routes to one of three doors: swipe (rewrite a UGC ad that already ran for this product), template (pick one of the 19 proven script types and a hook), write (from scratch: product, buyer, mechanism, then angles). Holds the shared runner (scripts/run.py). Not for song ads, micro-drama scenes or static ads.
3
+ description: Front door for UGC talking-head ad SCRIPTS, text with no video (one real person talking to their phone camera, a peer, ultra realistic). Trigger on "UGC script", "write me a UGC script", "write me a UGC ad", "write me a yapper ad", "UGC ad script", "yapper script", "talking head script", "selfie ad script", "creator script". Routes to one of three doors: swipe (rewrite the script of a UGC ad that already ran), template (pick one of the 19 proven script types and a hook), write (from scratch: product, buyer, mechanism, then angles). Holds the shared runner (scripts/run.py). Not for a video: their ad given as a video file or a video link, or a video asked for ("a UGC video like theirs", "make it at 720p"), is `exodus-video` (`exodus video swipe`), unless the member asks for the script only. Not for song ads, micro-drama scenes or static ads.
4
4
  ---
5
5
 
6
6
  # UGC ads: the front door
7
7
 
8
+ **Scripts only.** These doors write text; nothing here films. When the member gave their ad as a video (a file like `their-ad.mp4`, or a video link) or asked for a video ("a UGC video", "make it at 720p"), this is the wrong skill: use `exodus-video`, which swipes it with `npx @aicopycoders/exodus video swipe` (given the file's full path or the link), as Swipe a video does on the dashboard. Stay here only when they asked for the script alone, or when Video is not switched on for them (`exodus video swipe` answers "Not found" then): offer the script here instead of stopping.
9
+
8
10
  Three doors. Each is a Genesis agent bot; the skills ask once, run one command, show the scripts.
9
11
 
10
- 1. **Swipe**: they have a UGC ad that ran (a transcript, a link, or a swipe number) and want it for their product. Skill: ugc-swipe.
12
+ 1. **Swipe**: they have a UGC ad that ran (a transcript, a link, or a swipe number) and want its script for their product. Skill: ugc-swipe.
11
13
  2. **Template**: they want a proven script type (Live Demo, Failed-Fixes Story, Fakes warning...) with a hook built for it. Skill: ugc-template.
12
14
  3. **Write**: they want fresh scripts from the product and the buyer, with angles to pick from. Skill: ugc-write.
13
15
 
@@ -23,7 +25,7 @@ Ask in one plain message, with your pick:
23
25
  If their first message already says which (they pasted an ad: swipe; they named a type: template), skip the ask and go to that skill. "Go" or "you pick" runs your pick. Never a widget; they type.
24
26
 
25
27
  ## Product first, always
26
- Every door needs the product. Look in this order and use the first that has it: `swipes/<brand>/product.md`, `songs/<brand>/pack.json` (product, buyer, mechanisms, offers), `npx @aicopycoders/exodus primer show`. Save what you assemble to `ugc/<brand>/product.md` so the next run reads it. Ask for a paste once, only if none of these exist.
28
+ Every door needs the product. Read `npx @aicopycoders/exodus video swipe products` first (the brand's products in Exodus, each with its name and description; it needs Video switched on for the member and answers "Not found" without it), then add what the brand's files and the primer have: `swipes/<brand>/product.md`, `songs/<brand>/pack.json` (product, buyer, mechanisms, offers), `npx @aicopycoders/exodus primer show`. A fuller `swipes/<brand>/product.md` stays the base; the products list adds to it. "No primer saved" is not the same as no product: the products list can still have it. Save what you assemble to `ugc/<brand>/product.md` so the next run reads it. Ask for a paste once, only if none of these exist.
27
29
 
28
30
  ## The runner
29
31
  `python3 -I .claude/skills/ugc-ads/scripts/run.py <swipe|template|write> --brand <slug> --product ugc/<brand>/product.md ...` builds the request, calls the agent, retries through OpenRouter if the Anthropic key is capped, checks each script (spoken words against the length at 3.3 words a second, product named, no dashes, no expert speaker) and saves `ugc/<brand>/<kind>-<time>/`. Exit 0 ok, 3 a check failed (show the script anyway with what failed), 4 capped and fallback off (ask once, rerun with `--fallback yes`), 1 bot error (say so and stop).
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: ugc-preproduction
3
- description: Turn a UGC script into a realistic phone-filmed video with the UGC video kit's preproduction sheet. Use when someone pastes a talking-to-camera script and wants it made into a video, or says "run the preproduction sheet", "start the sheet" or "make this UGC script into a video".
3
+ description: Turn a UGC script into a realistic phone-filmed video with the UGC video kit's preproduction sheet. Use when someone pastes a talking-to-camera script and wants it made into a video, or says "run the preproduction sheet", "start the sheet" or "make this UGC script into a video". Not for swiping their ad: their ad as a video file or a video link, made into a video for the member's product ("as a UGC video like theirs", "make it at 720p"), is `exodus-video` (`exodus video swipe`).
4
4
  ---
5
5
 
6
6
  # UGC preproduction
@@ -1,10 +1,12 @@
1
1
  ---
2
2
  name: ugc-swipe
3
- description: Swipe a UGC talking-head ad that already ran into a version for the user's product, at a closeness they pick (1 same script, 2 same beats with a new person, 3 same point with a fresh script). Trigger on "swipe this UGC", "swipe this yapper ad", "rewrite this creator ad for my product", "make this ad ours", a pasted UGC transcript with a product, or the ugc-ads front door routing here. The swiping happens in the ugc-swipe-agent bot on Genesis. Not for writing from scratch (ugc-write) or from a type (ugc-template).
3
+ description: Swipe the SCRIPT of a UGC talking-head ad that already ran into a version for the user's product, text with no video, at a closeness they pick (1 same script, 2 same beats with a new person, 3 same point with a fresh script). Trigger on "swipe this UGC script", "swipe this yapper ad's script", "rewrite this creator ad's script for my product", a pasted UGC transcript with a product, or the ugc-ads front door routing here. The swiping happens in the ugc-swipe-agent bot on Genesis. Not for a video: their ad given as a video file or a video link, or a video asked for ("as a UGC video like theirs", "make it at 720p"), is `exodus-video` (`exodus video swipe`), unless the member asks for the script only. Not for writing from scratch (ugc-write) or from a type (ugc-template).
4
4
  ---
5
5
 
6
6
  # UGC swipe
7
7
 
8
+ This writes a script; it films nothing. A member who gave their ad as a video file or a video link, or asked for a video ("make it at 720p"), wants `exodus-video`: `npx @aicopycoders/exodus video swipe`, given the file's full path or the link. Go there unless they asked for the script only, or Video is not switched on for them (`exodus video swipe` answers "Not found" then): swipe the script here instead of stopping.
9
+
8
10
  ## 1. Get the ad
9
11
  A pasted transcript is best. A link: get the transcript with `python3 -I .claude/skills/swipe/scripts/getad.py <link>` if that skill is installed (it needs ElevenLabs credit). A swipe number from the UGC swipe page: read its transcript from `research/ai-video-ads/ugc/1-swipe/ads-full.json` (field `n`) when that file is present. Save it to `ugc/<brand>/ad-<id>.txt`.
10
12
 
@@ -118,11 +118,11 @@ async function main() {
118
118
  const { command, flags, occurrences } = parseArgs(process.argv);
119
119
  if (["--version", "-v", "-V", "version"].includes(command)) {
120
120
  console.log(getVersion());
121
- process.exit(0);
121
+ return;
122
122
  }
123
123
  if (!command || command === "help") {
124
124
  console.log(await buildHelp());
125
- process.exit(0);
125
+ return;
126
126
  }
127
127
  let commandModule;
128
128
  try {
@@ -131,17 +131,18 @@ async function main() {
131
131
  catch {
132
132
  console.error(`Unknown command: "${command}"\n`);
133
133
  console.log(await buildHelp());
134
- process.exit(1);
134
+ process.exitCode = 1;
135
+ return;
135
136
  }
136
137
  if (flags["help"] === true) {
137
138
  if (commandModule.helpText) {
138
- console.log(commandModule.helpText);
139
+ console.log(commandModule.subcommandHelp?.() ?? commandModule.helpText);
139
140
  }
140
141
  else {
141
142
  console.log(`No detailed help is available for "${command}" yet.\n`);
142
143
  console.log(await buildHelp());
143
144
  }
144
- process.exit(0);
145
+ return;
145
146
  }
146
147
  if (typeof commandModule.run !== "function") {
147
148
  console.error(`Command "${command}" does not export a run() function.`);
@@ -43,6 +43,9 @@ export type CustomerStopReason = {
43
43
  } | {
44
44
  kind: "keys-missing";
45
45
  keys: string[];
46
+ } | {
47
+ kind: "stop-sentence";
48
+ sentence: string;
46
49
  };
47
50
  export interface CustomerRun {
48
51
  view: "customer";
@@ -58,6 +61,7 @@ export interface CustomerRun {
58
61
  templateApproval?: {
59
62
  audition?: AuditionReview;
60
63
  };
64
+ template?: true;
61
65
  awaitingSignOff?: boolean;
62
66
  waiting: {
63
67
  ahead: number;
@@ -68,12 +72,60 @@ export interface CustomerRun {
68
72
  url: string;
69
73
  wordsOff: boolean;
70
74
  speech?: SpeechSummary;
75
+ notes?: string[];
71
76
  } | null;
72
77
  canRetry: boolean;
78
+ canCutAgain?: boolean;
79
+ cutFailure?: {
80
+ sentence: string;
81
+ };
73
82
  stopReason: CustomerStopReason | null;
74
83
  detailsPath: string | null;
75
84
  cutHolds?: string[];
85
+ cutHeldScenes?: Array<{
86
+ sceneIndex: number;
87
+ sentence: string;
88
+ take: boolean;
89
+ unfilmed?: true;
90
+ }>;
91
+ spend?: {
92
+ spentUsd: number;
93
+ estimateUsd: number | null;
94
+ final: boolean;
95
+ line: string;
96
+ };
97
+ spendAsk?: {
98
+ sentence: string;
99
+ };
100
+ spendWentOn?: {
101
+ sentence: string;
102
+ };
103
+ spendStopped?: {
104
+ sentence?: string;
105
+ };
106
+ planHold?: {
107
+ atBoard?: boolean;
108
+ beforePictures: boolean;
109
+ };
110
+ place?: {
111
+ name: string;
112
+ look: string;
113
+ imageUrl: string | null;
114
+ };
76
115
  }
116
+ export declare function spendAskLines(run: {
117
+ spendAsk?: {
118
+ sentence: string;
119
+ };
120
+ spendWentOn?: {
121
+ sentence: string;
122
+ };
123
+ spendStopped?: {
124
+ at?: number;
125
+ sentence?: string;
126
+ };
127
+ }, runId: string): string[];
128
+ export declare const SPEND_STOPPED_LINE = "You stopped this video at its estimate. Nothing more will be filmed.";
77
129
  export declare function customerCutHeld(run: CustomerRun): boolean;
78
130
  export interface ScriptTidied {
79
131
  setAside: string[];
@@ -98,6 +150,7 @@ export interface CustomerStoryboard {
98
150
  runId: string;
99
151
  stage: CustomerRunStage;
100
152
  scenes: CustomerRunScene[] | null;
153
+ noPictureBeforeApproval?: true;
101
154
  }
102
155
  export interface CustomerItem {
103
156
  sceneIndex: number;
@@ -142,7 +195,10 @@ export declare function customerAnswer<T extends {
142
195
  view: "customer";
143
196
  }>(data: unknown): T | null;
144
197
  export declare function customerRunPage(dashboardUrl: string, runId: string): string;
198
+ export declare function onOwnDashboard(serverUrl: string, dashboardUrl: string): string;
145
199
  export declare function customerStageIsWorking(stage: CustomerRunStage): boolean;
200
+ export declare function finalApproveLines(template: boolean): string[];
201
+ export declare function finalApprovedLines(template: boolean): string[];
146
202
  export declare function customerStageLines(run: CustomerRun, page: string): string[];
147
203
  export declare function customerStatusLines(run: CustomerRun, dashboardUrl: string): string[];
148
204
  export declare function customerStoryboardLines(board: CustomerStoryboard): string[];
@@ -7,15 +7,56 @@ export function speechSummaryLines(speech) {
7
7
  "speech-issue": "Speech issue — review required", unverified: "Speech not verified" };
8
8
  return [labels[speech.status], ...speech.issues.map(speechIssueText)];
9
9
  }
10
+ function noPictureBeforeApproval(run) {
11
+ return run.stage === "review" && run.planHold?.atBoard === true && run.planHold.beforePictures !== true;
12
+ }
13
+ export function spendAskLines(run, runId) {
14
+ if (run.spendAsk) {
15
+ return [
16
+ `Waiting for you: ${run.spendAsk.sentence}`,
17
+ `Keep going: exodus video keep-going ${runId}`,
18
+ `Stop here: exodus video stop-here ${runId}`,
19
+ ];
20
+ }
21
+ if (run.spendStopped)
22
+ return [run.spendStopped.sentence ?? SPEND_STOPPED_LINE];
23
+ if (run.spendWentOn)
24
+ return [run.spendWentOn.sentence];
25
+ return [];
26
+ }
27
+ export const SPEND_STOPPED_LINE = "You stopped this video at its estimate. Nothing more will be filmed.";
10
28
  export function customerCutHeld(run) {
11
29
  return (run.cutHolds?.length ?? 0) > 0;
12
30
  }
13
- function heldLines(holds, page) {
14
- const one = holds.length === 1;
31
+ function heldLines(run, page) {
32
+ const holds = run.cutHolds ?? [];
33
+ const scenes = run.cutHeldScenes;
34
+ const one = (scenes?.length ?? holds.length) === 1;
35
+ const head = `Held: the final video wasn't made yet. ${one ? "This scene needs" : "These scenes need"} you first:`;
36
+ if (!scenes?.length) {
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
+ }
39
+ const takes = scenes.filter((s) => s.take);
40
+ const unfilmed = scenes.filter((s) => s.unfilmed);
41
+ const faults = scenes.filter((s) => !s.take && !s.unfilmed);
15
42
  return [
16
- `Held: the final video wasn't made yet. ${one ? "This scene needs" : "These scenes need"} you first:`,
17
- ...holds.map((hold) => ` ${hold}`),
18
- `${one ? "Make it again" : "Make each one again"}, or keep it as it is, on the video's page: ${page}`,
43
+ head,
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
+ : []),
48
+ ...takes.map((s) => takes.length === 1
49
+ ? `Keep it as it is: exodus video keep ${run.runId} --scene ${s.sceneIndex}`
50
+ : `Keep scene ${s.sceneIndex} as it is: exodus video keep ${run.runId} --scene ${s.sceneIndex}`),
51
+ ...(faults.length > 0
52
+ ? [
53
+ `${faults.length === 1 ? "Make it again" : "Make each one again"}, or keep it as it is, on the video's page: ${page}`,
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}`),
55
+ ]
56
+ : []),
57
+ ...(takes.length > 0 && faults.length === 0 && unfilmed.length === 0
58
+ ? [`${takes.length === 1 ? "Watch it first: " : "Watch them first:"} ${page}`]
59
+ : []),
19
60
  ];
20
61
  }
21
62
  export function customerAnswer(data) {
@@ -26,6 +67,20 @@ export function customerAnswer(data) {
26
67
  export function customerRunPage(dashboardUrl, runId) {
27
68
  return `${dashboardUrl}/video/runs/${runId}`;
28
69
  }
70
+ export function onOwnDashboard(serverUrl, dashboardUrl) {
71
+ if (serverUrl === "" || dashboardUrl === "")
72
+ return serverUrl;
73
+ try {
74
+ const url = new URL(serverUrl);
75
+ if (url.protocol !== "http:" && url.protocol !== "https:")
76
+ return serverUrl;
77
+ }
78
+ catch {
79
+ return serverUrl;
80
+ }
81
+ const rest = serverUrl.replace(/^https?:\/\/[^/?#]*/i, "");
82
+ return `${dashboardUrl.replace(/\/+$/, "")}${rest}`;
83
+ }
29
84
  export function customerStageIsWorking(stage) {
30
85
  return (stage === "waiting" ||
31
86
  stage === "planning" ||
@@ -77,10 +132,37 @@ function stoppedLines(run, page) {
77
132
  `Add ${reason.keys.length === 1 ? "it" : "them"} in Settings → API Keys, then try again from the video's page.`,
78
133
  ];
79
134
  }
135
+ if (reason?.kind === "stop-sentence") {
136
+ return [
137
+ "Here's why this video stopped.",
138
+ reason.sentence,
139
+ run.canRetry ? `Try again from the video's page: ${page}` : "Start a new one from the Video page.",
140
+ ];
141
+ }
142
+ if (run.cutFailure && run.canCutAgain) {
143
+ return [
144
+ "The final cut didn't work.",
145
+ run.cutFailure.sentence,
146
+ `All your clips are done. Cut again from the video's page; it makes no new clips and costs nothing: ${page}`,
147
+ ];
148
+ }
80
149
  return run.canRetry
81
150
  ? ["Something went wrong making this video.", `Try again from the video's page: ${page}`]
82
151
  : ["Something went wrong making this video. Start a new one from the Video page."];
83
152
  }
153
+ const FOR_GOOD = "It can't be undone; a change after it is a new run.";
154
+ export function finalApproveLines(template) {
155
+ return [
156
+ template ? "Approving makes this cut the run's finished video." : `Approving makes this cut the run's finished video. ${FOR_GOOD}`,
157
+ "Nothing is posted to an ad account; the video stays on its page.",
158
+ ];
159
+ }
160
+ export function finalApprovedLines(template) {
161
+ return [
162
+ template ? "Approved. This cut is now the run's finished video." : `Approved. This cut is now the run's finished video. ${FOR_GOOD}`,
163
+ "Nothing is posted to an ad account. The video stays on its page, and exodus video pull saves it.",
164
+ ];
165
+ }
84
166
  export function customerStageLines(run, page) {
85
167
  const id = run.runId;
86
168
  const audition = run.templateApproval?.audition;
@@ -108,6 +190,23 @@ export function customerStageLines(run, page) {
108
190
  `Watch it here: ${page}`,
109
191
  ];
110
192
  case "review":
193
+ if (noPictureBeforeApproval(run) && run.place) {
194
+ return [
195
+ "Your script, place and voice are waiting for your yes. No take is filmed before you approve.",
196
+ run.place.imageUrl
197
+ ? `The place: ${run.place.imageUrl}`
198
+ : "The picture of the place didn't come out. It is drawn when you approve, before the takes are filmed.",
199
+ `Read them: exodus video storyboard ${id}`,
200
+ `Approve them: exodus video approve ${id}`,
201
+ ];
202
+ }
203
+ if (noPictureBeforeApproval(run)) {
204
+ return [
205
+ "Your script and voice are waiting for your yes. No take gets a picture before you approve.",
206
+ `Read them: exodus video storyboard ${id}`,
207
+ `Approve them: exodus video approve ${id}`,
208
+ ];
209
+ }
111
210
  return [
112
211
  "Your storyboard is ready for your review.",
113
212
  `See it: exodus video storyboard ${id}`,
@@ -122,13 +221,15 @@ export function customerStageLines(run, page) {
122
221
  ]
123
222
  : [`Your video is ready: ${run.video?.url ?? page}`]),
124
223
  ...speechSummaryLines(run.video?.speech),
224
+ ...(run.video?.notes ?? []),
125
225
  ...(run.video?.wordsOff
126
226
  ? ["Some words may not match your script exactly. Watch it through before you post it."]
127
227
  : []),
228
+ ...(run.awaitingSignOff ? finalApproveLines(run.template === true) : []),
128
229
  `Download the pieces for your own cut: exodus video pull ${id} --out ./video-${id}`,
129
230
  ];
130
231
  case "failed":
131
- return run.cutHolds?.length ? heldLines(run.cutHolds, page) : stoppedLines(run, page);
232
+ return run.cutHolds?.length ? heldLines(run, page) : stoppedLines(run, page);
132
233
  case "cancelled":
133
234
  return ["This video was stopped."];
134
235
  }
@@ -141,6 +242,8 @@ export function customerStatusLines(run, dashboardUrl) {
141
242
  run.mode === "guided" ? "Storyboard first" : "In one go",
142
243
  "",
143
244
  ...customerStageLines(run, page),
245
+ ...(run.spend ? [run.spend.line] : []),
246
+ ...spendAskLines(run, run.runId),
144
247
  ...(run.scenes ?? []).flatMap(scene => scene.clip?.speech
145
248
  ? [`Scene ${scene.sceneIndex} speech:`, ...speechSummaryLines(scene.clip.speech).map(line => ` ${line}`)] : []),
146
249
  "",
@@ -167,6 +270,16 @@ export function customerStoryboardLines(board) {
167
270
  `Check where it is: exodus video status ${id}`,
168
271
  ];
169
272
  }
273
+ if (board.noPictureBeforeApproval) {
274
+ return [
275
+ "Script",
276
+ ...board.scenes.flatMap((scene) => [` Scene ${scene.sceneIndex}`, ` ${scene.line ? `"${scene.line}"` : "No spoken line"}`]),
277
+ "",
278
+ "No take gets a picture before you approve.",
279
+ `approve with: exodus video approve ${id}`,
280
+ `pick voices: exodus video voices ${id}`,
281
+ ];
282
+ }
170
283
  const stillDrawing = board.scenes.some((s) => s.frameStatus === "pending" || s.frameStatus === "drawing");
171
284
  return [
172
285
  "Storyboard",