@aicopycoders/exodus 2026.11.700-beta.1 → 2026.11.1000-beta.2
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.
- package/README.md +357 -0
- package/assets/skills/exodus-video/SKILL.md +309 -1
- package/assets/skills/exodus-video/scripts/first-cut-text.d.mts +4 -1
- package/assets/skills/exodus-video/scripts/first-cut-text.mjs +20 -2
- package/assets/skills/exodus-video/scripts/first-cut.d.mts +80 -4
- package/assets/skills/exodus-video/scripts/first-cut.mjs +1248 -132
- package/assets/skills/swipe/SKILL.md +11 -2
- package/dist/commands/video-customer.d.ts +1 -1
- package/dist/commands/video-customer.js +7 -0
- package/dist/commands/video.d.ts +160 -2
- package/dist/commands/video.js +1633 -43
- package/dist/commands/workflow.d.ts +3 -3
- package/dist/commands/workflow.js +20 -2
- package/dist/lib/templateBrief.d.ts +7 -0
- package/dist/lib/templateBrief.js +9 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
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 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 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 anything that asks how the swipe bot works.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Swipe
|
|
@@ -107,7 +107,16 @@ One stream at a time. If a stream "completed but produced no content", retry onc
|
|
|
107
107
|
|
|
108
108
|
## 6. Output
|
|
109
109
|
|
|
110
|
-
`swipes/<slug>/<case>/swipe.md` per swipe, where case is like `L1`, `L2-nina`, `L1-coating`. Show each one in full. Then offer, in one line: another at this level, one level looser or tighter, a different persona or mechanism,
|
|
110
|
+
`swipes/<slug>/<case>/swipe.md` per swipe, where case is like `L1`, `L2-nina`, `L1-coating`. Show each one in full. Then offer, in one line: another at this level, one level looser or tighter, a different persona or mechanism, a new ad, or make this a video. Each is a fresh call.
|
|
111
|
+
|
|
112
|
+
## 7. Make it a video
|
|
113
|
+
|
|
114
|
+
On "make this a video", hand over to the `exodus-video` skill's "From one sentence to a film". Copy only the spoken or sung lines of the chosen `swipes/<slug>/<case>/swipe.md` into `source.txt`, with no headings or notes, and show the user that file. Ask one question first: keep the swiped lines exactly, or let the template fit them to its structure.
|
|
115
|
+
|
|
116
|
+
- Keep them: the stop 1 lines take `--script source.txt --adapt "Keep the swiped lines as written." --keep-original`.
|
|
117
|
+
- Fit them: `--script source.txt --adapt "<what may change, in the user's words>"`.
|
|
118
|
+
|
|
119
|
+
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.
|
|
111
120
|
|
|
112
121
|
## Security
|
|
113
122
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type CustomerRunStage = "waiting" | "planning" | "drawing" | "filming" | "editing" | "review" | "ready" | "failed" | "cancelled";
|
|
1
|
+
export type CustomerRunStage = "waiting" | "planning" | "picking" | "drawing" | "filming" | "editing" | "review" | "pilot" | "ready" | "failed" | "cancelled";
|
|
2
2
|
export interface CustomerRunScene {
|
|
3
3
|
sceneIndex: number;
|
|
4
4
|
line: string | null;
|
|
@@ -71,6 +71,13 @@ export function customerStageLines(run, page) {
|
|
|
71
71
|
case "filming":
|
|
72
72
|
case "editing":
|
|
73
73
|
return [WORKING_SENTENCE[run.stage]];
|
|
74
|
+
case "picking":
|
|
75
|
+
return ["This video is waiting for its picks: a face, a voice and a room for each part. The team makes them for now."];
|
|
76
|
+
case "pilot":
|
|
77
|
+
return [
|
|
78
|
+
"Your pilot clip is being checked: one clip is made first, so a wrong voice or face is caught before the others are made. The team checks it, and redoes it if needed, before the others are made.",
|
|
79
|
+
`Watch it here: ${page}`,
|
|
80
|
+
];
|
|
74
81
|
case "review":
|
|
75
82
|
return [
|
|
76
83
|
"Your storyboard is ready for your review.",
|
package/dist/commands/video.d.ts
CHANGED
|
@@ -8,6 +8,10 @@ export type ScriptRunOptions = {
|
|
|
8
8
|
conceits: {
|
|
9
9
|
key: string;
|
|
10
10
|
label: string;
|
|
11
|
+
style?: {
|
|
12
|
+
slug: string;
|
|
13
|
+
label: string;
|
|
14
|
+
};
|
|
11
15
|
}[];
|
|
12
16
|
styles: {
|
|
13
17
|
slug: string;
|
|
@@ -20,12 +24,14 @@ export declare const RUN_PATH = "/api/v2/workflow";
|
|
|
20
24
|
export declare const ITEMS_PATH = "/api/v2/workflow/items";
|
|
21
25
|
export declare const FINAL_PATH = "/api/v2/video/final";
|
|
22
26
|
export declare const VOICES_PATH = "/api/v2/video/voices";
|
|
27
|
+
export declare const PICKS_PATH = "/api/v2/video/picks";
|
|
23
28
|
export declare const ASSET_UPLOAD_URL_PATH = "/api/v2/workflows/asset-upload-url";
|
|
24
29
|
export declare const ASSETS_PATH = "/api/v2/workflows/assets";
|
|
25
30
|
export interface ClipWord {
|
|
26
31
|
w: string;
|
|
27
32
|
s: number;
|
|
28
33
|
e: number;
|
|
34
|
+
lineId?: string;
|
|
29
35
|
}
|
|
30
36
|
export type ClipQcTakeNeighbours = {
|
|
31
37
|
state: "not-applicable";
|
|
@@ -106,6 +112,7 @@ export type ArtifactSubset = {
|
|
|
106
112
|
voicePitchHz?: number;
|
|
107
113
|
voicePitchMethod?: string;
|
|
108
114
|
replannedIdea?: ReplannedIdea;
|
|
115
|
+
voiceLock?: unknown;
|
|
109
116
|
} | {
|
|
110
117
|
type: "audio";
|
|
111
118
|
sceneIndex?: number;
|
|
@@ -179,8 +186,12 @@ export interface VideoRun {
|
|
|
179
186
|
status: string;
|
|
180
187
|
isTerminal: boolean;
|
|
181
188
|
error?: string;
|
|
182
|
-
pauseReason?: BuilderPauseReason;
|
|
189
|
+
pauseReason?: BuilderPauseReason | "pilot";
|
|
183
190
|
pausedNodeId?: string;
|
|
191
|
+
pilot?: {
|
|
192
|
+
sceneIndexes?: number[];
|
|
193
|
+
approvedAt?: number;
|
|
194
|
+
};
|
|
184
195
|
requestQuotePending?: boolean;
|
|
185
196
|
sourceEditMap?: true;
|
|
186
197
|
nodes: VideoRunNode[];
|
|
@@ -189,6 +200,7 @@ export interface VideoRun {
|
|
|
189
200
|
provenance?: RunProvenance;
|
|
190
201
|
musicBed?: boolean;
|
|
191
202
|
videoChoice?: RunVideoChoice;
|
|
203
|
+
songAsVoice?: true;
|
|
192
204
|
shots?: RunShots;
|
|
193
205
|
storyboardAutoApproval?: {
|
|
194
206
|
outcome: "approved" | "held";
|
|
@@ -296,8 +308,17 @@ export type RunStop = {
|
|
|
296
308
|
at: "final-watch";
|
|
297
309
|
missingScenes?: MissingScene[];
|
|
298
310
|
framesNodeId?: string;
|
|
311
|
+
} | {
|
|
312
|
+
at: "pilot";
|
|
313
|
+
nodeId?: string;
|
|
314
|
+
sceneIndexes: number[];
|
|
315
|
+
silentScenes?: number[];
|
|
316
|
+
checks?: PilotCheck[];
|
|
299
317
|
} | {
|
|
300
318
|
at: "request-quote";
|
|
319
|
+
} | {
|
|
320
|
+
at: "picks";
|
|
321
|
+
nodeId: string;
|
|
301
322
|
} | {
|
|
302
323
|
at: "paused";
|
|
303
324
|
nodeId?: string;
|
|
@@ -320,10 +341,19 @@ export type ResolvedStop = Exclude<RunStop, {
|
|
|
320
341
|
}> & {
|
|
321
342
|
cutAttached: boolean | null;
|
|
322
343
|
});
|
|
344
|
+
export interface PilotCheck {
|
|
345
|
+
sceneIndex: number;
|
|
346
|
+
clip: "made" | "failed" | "making";
|
|
347
|
+
error?: string;
|
|
348
|
+
words?: string;
|
|
349
|
+
failed: string[];
|
|
350
|
+
skipped: string[];
|
|
351
|
+
}
|
|
352
|
+
export declare function pilotCheck(sceneIndex: number, row: NodeItem | undefined, hasLine?: boolean): PilotCheck;
|
|
323
353
|
export declare function classifyRun(run: VideoRun): RunStop;
|
|
324
354
|
export declare function hasAttachedCut(items: NodeItem[]): boolean;
|
|
325
355
|
export declare function scenesBeingRedone(run: VideoRun, items: NodeItem[]): number[];
|
|
326
|
-
export declare function resolveStop(stop: RunStop, cutAttached: boolean | null): ResolvedStop;
|
|
356
|
+
export declare function resolveStop(stop: RunStop, cutAttached: boolean | null, items?: NodeItem[] | null): ResolvedStop;
|
|
327
357
|
export declare function resolveStopAtPark(stop: RunStop, runId: string, deps: Pick<VideoDeps, "get">): Promise<ResolvedStop>;
|
|
328
358
|
export declare function stageWord(stage: string): string;
|
|
329
359
|
export declare function stepName(kind: string | undefined): string;
|
|
@@ -358,6 +388,7 @@ export interface ManifestScene {
|
|
|
358
388
|
voiceFirstBlockedBy: string[] | null;
|
|
359
389
|
voicePitchHz: number | null;
|
|
360
390
|
voicePitchMethod: string | null;
|
|
391
|
+
voiceLock?: unknown;
|
|
361
392
|
clipStatus: string;
|
|
362
393
|
error: string | null;
|
|
363
394
|
flagged: boolean;
|
|
@@ -423,6 +454,7 @@ export interface VideoManifest {
|
|
|
423
454
|
videoModel: string;
|
|
424
455
|
voiceMode: string;
|
|
425
456
|
};
|
|
457
|
+
clipAudio?: "keep" | "discard";
|
|
426
458
|
shots?: RunShots;
|
|
427
459
|
lineage?: {
|
|
428
460
|
file: string | null;
|
|
@@ -476,6 +508,30 @@ export interface ScriptStartOptions {
|
|
|
476
508
|
rewriteToFit?: true;
|
|
477
509
|
sourceRecordFile?: string;
|
|
478
510
|
adaptationPlanFile?: string;
|
|
511
|
+
resumeScriptFile?: string;
|
|
512
|
+
requestedSeconds?: number;
|
|
513
|
+
picturesPerScene?: 1 | 3;
|
|
514
|
+
productId?: string;
|
|
515
|
+
elementsInput?: string;
|
|
516
|
+
voicesInput?: string;
|
|
517
|
+
inputMode?: "automatic" | "manual" | "hybrid";
|
|
518
|
+
structure?: string;
|
|
519
|
+
reference?: string;
|
|
520
|
+
subject?: "product" | "service" | "non-product";
|
|
521
|
+
adaptationIntent?: string;
|
|
522
|
+
describe?: true;
|
|
523
|
+
keepOriginal?: true;
|
|
524
|
+
writerBrief?: {
|
|
525
|
+
product?: string;
|
|
526
|
+
audience?: string;
|
|
527
|
+
offer?: string;
|
|
528
|
+
mechanism?: string;
|
|
529
|
+
};
|
|
530
|
+
templateBriefInput?: string;
|
|
531
|
+
songControlsInput?: string;
|
|
532
|
+
mechanismPlanInput?: string;
|
|
533
|
+
quotePreparation?: true;
|
|
534
|
+
authorizePreparationFile?: string;
|
|
479
535
|
wait: boolean;
|
|
480
536
|
json: boolean;
|
|
481
537
|
onProgressLine?: (line: string) => void;
|
|
@@ -524,6 +580,108 @@ export declare function approveFlow(runId: string, opts: {
|
|
|
524
580
|
acceptFindings?: boolean;
|
|
525
581
|
requestQuoteHash?: string;
|
|
526
582
|
}, deps: VideoDeps): Promise<FlowResult>;
|
|
583
|
+
export interface PicksPicture {
|
|
584
|
+
n: number;
|
|
585
|
+
model: string;
|
|
586
|
+
imageUrl?: string;
|
|
587
|
+
}
|
|
588
|
+
export interface PicksStyleCard {
|
|
589
|
+
title: string;
|
|
590
|
+
moves: string;
|
|
591
|
+
slots: {
|
|
592
|
+
look: string;
|
|
593
|
+
camera: string;
|
|
594
|
+
staging: string;
|
|
595
|
+
actors: string;
|
|
596
|
+
};
|
|
597
|
+
}
|
|
598
|
+
export interface PicksView {
|
|
599
|
+
runId: string;
|
|
600
|
+
parked: boolean;
|
|
601
|
+
options: {
|
|
602
|
+
people: Array<{
|
|
603
|
+
who: string;
|
|
604
|
+
description: string;
|
|
605
|
+
lines: number;
|
|
606
|
+
faces: PicksPicture[];
|
|
607
|
+
voices: Array<{
|
|
608
|
+
n: number;
|
|
609
|
+
voiceId: string;
|
|
610
|
+
name: string;
|
|
611
|
+
sampleUrl?: string;
|
|
612
|
+
}>;
|
|
613
|
+
faceRedos: number;
|
|
614
|
+
}>;
|
|
615
|
+
places: Array<{
|
|
616
|
+
place: string;
|
|
617
|
+
word?: string;
|
|
618
|
+
from: "script" | "terrain";
|
|
619
|
+
rooms: PicksPicture[];
|
|
620
|
+
roomRedos: number;
|
|
621
|
+
}>;
|
|
622
|
+
styles?: string[];
|
|
623
|
+
drawnAt: number;
|
|
624
|
+
} | null;
|
|
625
|
+
choice: {
|
|
626
|
+
faces: Array<{
|
|
627
|
+
who: string;
|
|
628
|
+
n: number;
|
|
629
|
+
}>;
|
|
630
|
+
voices: Array<{
|
|
631
|
+
who: string;
|
|
632
|
+
voiceId: string;
|
|
633
|
+
label?: string;
|
|
634
|
+
n?: number;
|
|
635
|
+
}>;
|
|
636
|
+
rooms: Array<{
|
|
637
|
+
place: string;
|
|
638
|
+
n: number;
|
|
639
|
+
}>;
|
|
640
|
+
style?: string;
|
|
641
|
+
note?: string;
|
|
642
|
+
} | null;
|
|
643
|
+
open: string[];
|
|
644
|
+
pickedAt: number | null;
|
|
645
|
+
redoing: string | null;
|
|
646
|
+
styleCards?: Record<string, PicksStyleCard>;
|
|
647
|
+
mapNote?: string;
|
|
648
|
+
}
|
|
649
|
+
export interface PickReceipt {
|
|
650
|
+
done: boolean;
|
|
651
|
+
open: string[];
|
|
652
|
+
}
|
|
653
|
+
export declare function picksLines(view: PicksView, runId: string, runUrl: string): string[];
|
|
654
|
+
export declare function picksFlow(runId: string, json: boolean, deps: VideoDeps): Promise<FlowResult>;
|
|
655
|
+
export interface PickRequest {
|
|
656
|
+
faces: Array<{
|
|
657
|
+
who: string;
|
|
658
|
+
n: number;
|
|
659
|
+
}>;
|
|
660
|
+
voices: Array<{
|
|
661
|
+
who: string;
|
|
662
|
+
voice: string;
|
|
663
|
+
}>;
|
|
664
|
+
rooms: Array<{
|
|
665
|
+
place: string;
|
|
666
|
+
n: number;
|
|
667
|
+
}>;
|
|
668
|
+
moves: Array<{
|
|
669
|
+
who: string;
|
|
670
|
+
x: number;
|
|
671
|
+
y: number;
|
|
672
|
+
}>;
|
|
673
|
+
style?: string;
|
|
674
|
+
note?: string;
|
|
675
|
+
}
|
|
676
|
+
export declare function parsePickFlags(occurrences: FlagOccurrence[]): {
|
|
677
|
+
ok: true;
|
|
678
|
+
request: PickRequest;
|
|
679
|
+
} | {
|
|
680
|
+
ok: false;
|
|
681
|
+
line: string;
|
|
682
|
+
};
|
|
683
|
+
export declare function pickFlow(runId: string, request: PickRequest, json: boolean, deps: VideoDeps): Promise<FlowResult>;
|
|
684
|
+
export declare function redoPicksFlow(runId: string, slot: string, note: string | undefined, json: boolean, deps: VideoDeps): Promise<FlowResult>;
|
|
527
685
|
export declare function flagFlow(runId: string, note: string, json: boolean, deps: VideoDeps): Promise<FlowResult>;
|
|
528
686
|
export declare function retryFrameFlow(runId: string, nodeId: string | undefined, sceneIndex: number, note: string | undefined, json: boolean, deps: VideoDeps): Promise<FlowResult>;
|
|
529
687
|
export declare const BROLL_EDIT_STALE_MS: number;
|