@aicopycoders/exodus 2026.11.1100-beta.2 → 2026.11.1100-beta.3

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.
@@ -550,6 +550,11 @@ export type VideoStartPlan = {
550
550
  opts: ScriptStartOptions;
551
551
  };
552
552
  export declare function startFlow(opts: StartOptions, deps: VideoDeps): Promise<FlowResult>;
553
+ export declare function startedThenWait(runId: string, head: string[], opts: {
554
+ json: boolean;
555
+ url: string;
556
+ onProgressLine?: (line: string) => void;
557
+ }, deps: VideoDeps): Promise<FlowResult>;
553
558
  export type MusicChoice = {
554
559
  ok: true;
555
560
  music: boolean | undefined;
@@ -10,6 +10,7 @@ import { composeTemplateBrief } from "../lib/templateBrief.js";
10
10
  import { ASSET_UPLOAD_POLICY, pauseAheadLine, parseVoicesFlag, } from "./workflow.js";
11
11
  import { HELPER_LEDGER_BASE, SET_OPTION_LEDGER_BASE } from "../lib/helperLedgerBase.js";
12
12
  import { customerAnswer, customerRunPage, customerStageIsWorking, customerStageLines, customerStatusLines, customerStoryboardLines, customerVoicesLines, } from "./video-customer.js";
13
+ import { planSwipeCommand, runSwipePlan } from "./video-swipe.js";
13
14
  const VOICE_MODES = ["native", "voice-first"];
14
15
  function joinedOr(items) {
15
16
  if (items.length <= 1)
@@ -189,6 +190,14 @@ Usage:
189
190
  With --describe: [--product-context <text>] [--audience <text>] [--offer <text>] [--mechanism <text>]
190
191
  exodus video start --input-options [--conceit <template>] [--voice <native|voice-first>] [--voice-path <path>] [--video-model <id>] [--json]
191
192
  exodus video director <runId> <on|off|follow> [--json]
193
+ exodus video swipe --file <ad.mp4> | --url <link> | --ad <swipeAdId> [--yes] [--wait] [--json]
194
+ exodus video swipe status <breakdownId> [--wait] [--full] [--json]
195
+ exodus video swipe template <breakdownId> [--yes] [--json]
196
+ exodus video swipe products [--json]
197
+ 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>] [--yes] [--json]
198
+ exodus video swipe show <swipeId> [--json]
199
+ exodus video swipe list [--json]
200
+ exodus video swipe start <swipeId> [--style <look>] [--title "<name>"] [--music] [--one-shot] [--yes] [--wait] [--json]
192
201
 
193
202
  Options:
194
203
  --out <dir> Folder to write the pulled pieces into (pull)
@@ -411,16 +420,70 @@ Options:
411
420
  --json Machine-readable output
412
421
  --help, -h Print this help
413
422
 
423
+ Swiping a competitor's video ad (swipe), as the dashboard's Swipe a video does:
424
+ break the ad down, match it to a kind of ad and a look (the template), write
425
+ the brand's version, then start the video on the kind the swipe wrote. Four
426
+ steps cost money: swipe (the breakdown, on the team's keys), swipe template
427
+ and swipe write (on your own Anthropic or OpenRouter key) and swipe start (the
428
+ run's storyboard and pictures). Without --yes each one sends nothing and says
429
+ what it buys and who pays. The CLI prints no price for any of them.
430
+ --file <ad.mp4> The ad as a video file: MP4, MOV, M4V or WebM, up to
431
+ 300 MB (swipe)
432
+ --url <link> A link to the ad: Meta Ad Library, TikTok, Instagram or
433
+ YouTube (swipe). A link this brand broke down before is
434
+ used again, and costs nothing
435
+ --ad <swipeAdId> An ad in the brand's swipe library (swipe). An ad
436
+ broken down before costs nothing
437
+ --yes The member said yes to this paid step (swipe, swipe
438
+ template, swipe write, swipe start)
439
+ --product <id> The product the swipe is for (swipe write). exodus
440
+ video swipe products lists them
441
+ --mode <mode> What to swipe (swipe write). whole-ad if left off:
442
+ whole-ad Whole ad
443
+ Every part of their ad, rewritten for your brand.
444
+ hook-only Hook only
445
+ Their opening hook. The rest is new, written for your product.
446
+ their-format Their format, my script
447
+ Your own words, made the way their ad is made.
448
+ new-look Their script, a new look
449
+ Their ad rewritten for your brand, in a look you pick.
450
+ --closeness <step> How close the brand's script stays to theirs (swipe
451
+ write), 1 to 5 or the step's name. 2 if left off.
452
+ their-format takes none:
453
+ 1 mirror Mirror
454
+ Same lines in the same order. Only your brand, product and claims change.
455
+ 2 close Close
456
+ Same parts in the same order, each line said in new words.
457
+ 3 same-beats Same beats
458
+ Same job for each part, in the same order. New words and new examples.
459
+ 4 same-arc Same arc
460
+ Same kind of hook and the same story arc. Parts can join, split or move to suit your product.
461
+ 5 pattern-only Pattern only
462
+ Same format and structure, with a new story.
463
+ --full What the breakdown read from the ad (swipe status): each
464
+ shot with its cut times, a-roll or cutaway, framing,
465
+ camera and description; the script with who says each
466
+ line; and the cast. No pictures
467
+ --look <slug> The new look (swipe write --mode new-look)
468
+ --script <file> Your own script (swipe write --mode their-format)
469
+ --style <look> A look other than the swipe's own (swipe start)
470
+ --title "<name>" The ad's name (swipe start). Admin-only
471
+ The template picks the kind of ad: swipe template prints it and its look, so
472
+ ask the member before the write. A swipe run has no picks stop and no pilot
473
+ clip; it stops at the storyboard unless --one-shot. --wait on swipe and swipe
474
+ status waits for the breakdown; on swipe start, for the run.
475
+
414
476
  Who can use what. Admins get every command here. Beta testers with video
415
477
  switched on get these, on their own brands: start (--script, --conceit,
416
478
  --style, --direction, --frame, --pacing, --music, --source-record, --one-shot,
417
- --review-storyboard, --stop-at-script, --rewrite-to-fit),
418
- status, storyboard, approve (the storyboard), voices, retry-frame --scene <n> (redo one scene's
419
- picture while the storyboard waits), pull (the finished video, each scene's
420
- clip and voice, and the music) and upload. These stay admin-only:
421
- start --video-model / --voice / --voice-path / --director, director,
422
- status --rejected-draft, retry-clip, revoice, broll, map and move. start --broll works
423
- for whoever B-roll is switched on for.
479
+ --review-storyboard, --stop-at-script, --rewrite-to-fit), swipe (all of it
480
+ but swipe start --title), status, storyboard, approve (the storyboard), voices,
481
+ retry-frame --scene <n> (redo one scene's picture while the storyboard waits),
482
+ pull (the finished video, each scene's clip and voice, and the music) and
483
+ upload. These stay admin-only: start --video-model / --voice / --voice-path /
484
+ --director, swipe start --title, director,
485
+ status --rejected-draft, retry-clip, revoice, broll, map and move. start --broll
486
+ works for whoever B-roll is switched on for.
424
487
  If a command answers "video isn't enabled for this key", the run id is wrong,
425
488
  the command is admin-only, or video isn't switched on for your dashboard user.
426
489
 
@@ -447,6 +510,10 @@ Examples:
447
510
  exodus video pull run_123 --out ./ad-run_123
448
511
  exodus video upload run_123 --file ./cut.mp4
449
512
  exodus video director run_123 on
513
+ exodus video swipe --url "https://www.tiktok.com/@brand/video/123" --yes --wait
514
+ exodus video swipe template bd_123 --yes
515
+ exodus video swipe write bd_123 --product prod_1 --mode hook-only --closeness close --yes
516
+ exodus video swipe start sw_123 --yes --wait
450
517
  `.trim();
451
518
  const SHOWS_PATH = "/api/v2/shows";
452
519
  const RUNS_PATH = "/api/v2/video/runs";
@@ -1705,7 +1772,7 @@ export async function startFlow(opts, deps) {
1705
1772
  }
1706
1773
  return startedThenWait(runId, [`Started ad run ${runId}`, `Watch it: ${url}`], { ...opts, url }, deps);
1707
1774
  }
1708
- async function startedThenWait(runId, head, opts, deps) {
1775
+ export async function startedThenWait(runId, head, opts, deps) {
1709
1776
  const stream = opts.json ? undefined : opts.onProgressLine;
1710
1777
  if (stream)
1711
1778
  for (const line of [...head, ""])
@@ -5882,6 +5949,12 @@ const VALUE_FLAGS = new Set([
5882
5949
  "move",
5883
5950
  "redo",
5884
5951
  "place",
5952
+ "url",
5953
+ "ad",
5954
+ "mode",
5955
+ "closeness",
5956
+ "look",
5957
+ "title",
5885
5958
  ]);
5886
5959
  export function parsePositional(args = process.argv.slice(3)) {
5887
5960
  const out = [];
@@ -5943,6 +6016,12 @@ export async function run(flags, occurrences) {
5943
6016
  usage(started.lines[0] ?? "");
5944
6017
  return printResult(started);
5945
6018
  }
6019
+ if (sub === "swipe") {
6020
+ const plan = planSwipeCommand(rest, occurrences);
6021
+ if (plan.kind === "usage")
6022
+ usage(plan.line);
6023
+ return printResult(await runSwipePlan(plan, defaultDeps, (line) => console.log(line)));
6024
+ }
5946
6025
  if (sub === "broll") {
5947
6026
  const plan = planBrollCommand(rest, flags);
5948
6027
  if (plan.kind === "usage")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aicopycoders/exodus",
3
- "version": "2026.11.1100-beta.2",
3
+ "version": "2026.11.1100-beta.3",
4
4
  "description": "CLI + Claude Code skills for the Copycoders Exodus ad pipeline",
5
5
  "repository": {
6
6
  "type": "git",