@aicopycoders/exodus 2026.11.1100 → 2026.11.1200-beta.10
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/assets/skills/exodus-video/SKILL.md +146 -24
- package/assets/skills/exodus-video/scripts/first-cut.mjs +1 -1
- package/dist/commands/video-customer.d.ts +8 -0
- package/dist/commands/video-customer.js +29 -6
- package/dist/commands/video-swipe.d.ts +222 -2
- package/dist/commands/video-swipe.js +850 -13
- package/dist/commands/video.d.ts +17 -0
- package/dist/commands/video.js +147 -14
- package/dist/lib/oneTakeHolds.d.ts +1 -0
- package/dist/lib/oneTakeHolds.js +8 -0
- package/package.json +1 -1
|
@@ -7,6 +7,11 @@ export declare const SWIPE_TEMPLATE_PATH = "/api/v2/video/swipe-template";
|
|
|
7
7
|
export declare const SWIPE_PRODUCTS_PATH = "/api/v2/video/swipe-products";
|
|
8
8
|
export declare const SWIPES_PATH = "/api/v2/video/swipes";
|
|
9
9
|
export declare const SWIPE_RUNS_PATH = "/api/v2/video/swipe-runs";
|
|
10
|
+
export declare const SWIPE_SHEET_PATH = "/api/v2/video/swipe-sheet";
|
|
11
|
+
export declare const SWIPE_SHEET_PRICE_PATH = "/api/v2/video/swipe-sheet-price";
|
|
12
|
+
export declare const SWIPE_SHEET_OPTIONS_PATH = "/api/v2/video/swipe-sheet/options";
|
|
13
|
+
export declare const SHEET_SOURCES_QUERY = "sources=recommended";
|
|
14
|
+
export declare const SWIPE_WRITE_PEOPLE_PATH = "/api/v2/video/swipe-write-people";
|
|
10
15
|
export declare const SWIPE_LIBRARY_PATH = "/api/v2/swipe-library";
|
|
11
16
|
export interface SwipeBreakdown {
|
|
12
17
|
_id: string;
|
|
@@ -57,8 +62,78 @@ export interface SwipeFull {
|
|
|
57
62
|
text: string;
|
|
58
63
|
}>;
|
|
59
64
|
};
|
|
65
|
+
version?: string;
|
|
66
|
+
filming?: SwipeFilming;
|
|
60
67
|
warnings: string[];
|
|
61
68
|
}
|
|
69
|
+
export interface SwipeFilming {
|
|
70
|
+
filmedBy?: string;
|
|
71
|
+
movement?: string;
|
|
72
|
+
cuts?: string;
|
|
73
|
+
cutsPerMinute?: number;
|
|
74
|
+
framing?: string;
|
|
75
|
+
places?: string;
|
|
76
|
+
placeList?: Array<{
|
|
77
|
+
setting?: string;
|
|
78
|
+
line: string;
|
|
79
|
+
}>;
|
|
80
|
+
placeLine?: string;
|
|
81
|
+
props?: string[];
|
|
82
|
+
light?: string;
|
|
83
|
+
lightSource?: string;
|
|
84
|
+
body?: string;
|
|
85
|
+
captions?: {
|
|
86
|
+
amount?: string;
|
|
87
|
+
style?: string;
|
|
88
|
+
position?: string;
|
|
89
|
+
caps?: boolean;
|
|
90
|
+
};
|
|
91
|
+
inserts?: Array<{
|
|
92
|
+
part: string;
|
|
93
|
+
at: number;
|
|
94
|
+
secondsOn?: number;
|
|
95
|
+
where?: string;
|
|
96
|
+
widthPct?: number;
|
|
97
|
+
words?: string;
|
|
98
|
+
}>;
|
|
99
|
+
brollShare?: string;
|
|
100
|
+
wordsPerSecond?: number;
|
|
101
|
+
firstSeconds?: string;
|
|
102
|
+
hookBuilt?: string;
|
|
103
|
+
endCard?: string;
|
|
104
|
+
measuredStillPct?: number;
|
|
105
|
+
cameraHeight?: string;
|
|
106
|
+
cameraTilt?: string;
|
|
107
|
+
pose?: string;
|
|
108
|
+
moves?: Array<{
|
|
109
|
+
move: string;
|
|
110
|
+
at: number;
|
|
111
|
+
to?: number;
|
|
112
|
+
}>;
|
|
113
|
+
held?: Array<{
|
|
114
|
+
thing: string;
|
|
115
|
+
hands?: string;
|
|
116
|
+
product?: boolean;
|
|
117
|
+
wholeAd: boolean;
|
|
118
|
+
from?: number;
|
|
119
|
+
to?: number;
|
|
120
|
+
}>;
|
|
121
|
+
handActions?: Array<{
|
|
122
|
+
does: string;
|
|
123
|
+
things?: string;
|
|
124
|
+
product?: boolean;
|
|
125
|
+
from: number;
|
|
126
|
+
to: number;
|
|
127
|
+
}>;
|
|
128
|
+
personLook?: {
|
|
129
|
+
hair?: string;
|
|
130
|
+
hairColour?: string;
|
|
131
|
+
skinTone?: string;
|
|
132
|
+
build?: string;
|
|
133
|
+
glasses?: string;
|
|
134
|
+
facialHair?: string;
|
|
135
|
+
};
|
|
136
|
+
}
|
|
62
137
|
export interface SwipeTemplateView {
|
|
63
138
|
kind: {
|
|
64
139
|
key: string;
|
|
@@ -72,6 +147,12 @@ export interface SwipeTemplateView {
|
|
|
72
147
|
};
|
|
73
148
|
lines: number;
|
|
74
149
|
seconds: number;
|
|
150
|
+
offered?: Array<{
|
|
151
|
+
key: string;
|
|
152
|
+
label: string;
|
|
153
|
+
about?: string;
|
|
154
|
+
reason: string;
|
|
155
|
+
}>;
|
|
75
156
|
}
|
|
76
157
|
export interface SwipeDraft {
|
|
77
158
|
script: string;
|
|
@@ -134,6 +215,109 @@ export interface SwipeListRow {
|
|
|
134
215
|
name: string;
|
|
135
216
|
} | null;
|
|
136
217
|
}
|
|
218
|
+
export type SheetFrom = "you" | "their-ad" | "kind" | "recommended";
|
|
219
|
+
export interface SavedSheetRow {
|
|
220
|
+
id: string;
|
|
221
|
+
label: string;
|
|
222
|
+
value: string | number | boolean | null;
|
|
223
|
+
from: SheetFrom | null;
|
|
224
|
+
why: string | null;
|
|
225
|
+
options: Array<{
|
|
226
|
+
id: string;
|
|
227
|
+
label: string;
|
|
228
|
+
pictureUrl?: string;
|
|
229
|
+
sampleUrl?: string;
|
|
230
|
+
}> | null;
|
|
231
|
+
optionsCostUsd: number | null;
|
|
232
|
+
usedBy: string | null;
|
|
233
|
+
readOnly: boolean;
|
|
234
|
+
optionsStatus?: {
|
|
235
|
+
making: boolean;
|
|
236
|
+
sentence: string;
|
|
237
|
+
spentUsd?: number;
|
|
238
|
+
asksLeft?: number;
|
|
239
|
+
failed?: boolean;
|
|
240
|
+
noneYet?: boolean;
|
|
241
|
+
count?: number;
|
|
242
|
+
makingForMs?: number;
|
|
243
|
+
};
|
|
244
|
+
none?: {
|
|
245
|
+
value: string;
|
|
246
|
+
label: string;
|
|
247
|
+
};
|
|
248
|
+
recommended?: string;
|
|
249
|
+
}
|
|
250
|
+
export interface SavedSheet {
|
|
251
|
+
swipeId: string;
|
|
252
|
+
kind: {
|
|
253
|
+
key: string;
|
|
254
|
+
label: string;
|
|
255
|
+
} | null;
|
|
256
|
+
run: {
|
|
257
|
+
id: string;
|
|
258
|
+
} | null;
|
|
259
|
+
sections: Array<{
|
|
260
|
+
id: string;
|
|
261
|
+
label: string;
|
|
262
|
+
rows: SavedSheetRow[];
|
|
263
|
+
}>;
|
|
264
|
+
startRefusal?: string;
|
|
265
|
+
notice?: string;
|
|
266
|
+
}
|
|
267
|
+
export type SwipePriceRow = {
|
|
268
|
+
size: string;
|
|
269
|
+
takes: "all" | "first";
|
|
270
|
+
filmedTakes: number;
|
|
271
|
+
costUsd: number;
|
|
272
|
+
maxUsd: number;
|
|
273
|
+
lines: Array<{
|
|
274
|
+
what: string;
|
|
275
|
+
usd: number;
|
|
276
|
+
}>;
|
|
277
|
+
startRefusal?: string;
|
|
278
|
+
} | {
|
|
279
|
+
size: string;
|
|
280
|
+
takes: "all" | "first";
|
|
281
|
+
why: string;
|
|
282
|
+
};
|
|
283
|
+
export type SwipePrice = {
|
|
284
|
+
swipeId: string;
|
|
285
|
+
kind: {
|
|
286
|
+
key: string;
|
|
287
|
+
label: string;
|
|
288
|
+
} | null;
|
|
289
|
+
priced: true;
|
|
290
|
+
sizeChoices: boolean;
|
|
291
|
+
scriptTakes: number;
|
|
292
|
+
picked: Extract<SwipePriceRow, {
|
|
293
|
+
costUsd: number;
|
|
294
|
+
}>;
|
|
295
|
+
options: SwipePriceRow[];
|
|
296
|
+
notes: string[];
|
|
297
|
+
leavesOut: string;
|
|
298
|
+
startRefusals: string[];
|
|
299
|
+
heldBy: string | null;
|
|
300
|
+
approximate: true;
|
|
301
|
+
} | {
|
|
302
|
+
swipeId: string;
|
|
303
|
+
kind: {
|
|
304
|
+
key: string;
|
|
305
|
+
label: string;
|
|
306
|
+
} | null;
|
|
307
|
+
priced: false;
|
|
308
|
+
why: string;
|
|
309
|
+
};
|
|
310
|
+
export type WritePeople = {
|
|
311
|
+
makesPeople: false;
|
|
312
|
+
reason: string;
|
|
313
|
+
} | {
|
|
314
|
+
makesPeople: true;
|
|
315
|
+
count: number;
|
|
316
|
+
aboutUsd: number;
|
|
317
|
+
mostUsd: number;
|
|
318
|
+
paidBy: string;
|
|
319
|
+
lines: string[];
|
|
320
|
+
};
|
|
137
321
|
type ServerMode = "whole" | "hook" | "their-format" | "new-look";
|
|
138
322
|
export declare const SWIPE_MODES: ReadonlyArray<{
|
|
139
323
|
flag: string;
|
|
@@ -173,12 +357,15 @@ export interface WriteAsk {
|
|
|
173
357
|
scriptFile?: string;
|
|
174
358
|
scriptText?: string;
|
|
175
359
|
kind?: string;
|
|
360
|
+
peopleMaxUsd?: number;
|
|
361
|
+
noPeople?: boolean;
|
|
176
362
|
}
|
|
177
363
|
export interface StartAsk {
|
|
178
364
|
style?: string;
|
|
179
365
|
title?: string;
|
|
180
366
|
music: boolean;
|
|
181
367
|
oneShot: boolean;
|
|
368
|
+
maxUsd?: number;
|
|
182
369
|
}
|
|
183
370
|
export interface SwipeOpts {
|
|
184
371
|
json: boolean;
|
|
@@ -226,6 +413,29 @@ export type SwipePlan = {
|
|
|
226
413
|
ask: StartAsk;
|
|
227
414
|
again: boolean;
|
|
228
415
|
opts: SwipeOpts;
|
|
416
|
+
} | {
|
|
417
|
+
kind: "sheet";
|
|
418
|
+
swipeId: string;
|
|
419
|
+
opts: SwipeOpts;
|
|
420
|
+
} | {
|
|
421
|
+
kind: "sheet-set";
|
|
422
|
+
swipeId: string;
|
|
423
|
+
picks: Record<string, string | null>;
|
|
424
|
+
opts: SwipeOpts;
|
|
425
|
+
} | {
|
|
426
|
+
kind: "sheet-price";
|
|
427
|
+
swipeId: string;
|
|
428
|
+
opts: SwipeOpts;
|
|
429
|
+
} | {
|
|
430
|
+
kind: "sheet-people";
|
|
431
|
+
swipeId: string;
|
|
432
|
+
count: number | null;
|
|
433
|
+
maxUsd: number | null;
|
|
434
|
+
opts: SwipeOpts;
|
|
435
|
+
} | {
|
|
436
|
+
kind: "sheet-voices";
|
|
437
|
+
swipeId: string;
|
|
438
|
+
opts: SwipeOpts;
|
|
229
439
|
} | {
|
|
230
440
|
kind: "run";
|
|
231
441
|
sheetFile: string;
|
|
@@ -237,6 +447,8 @@ export type SwipePlan = {
|
|
|
237
447
|
export declare function parseSwipeMode(value: string): ServerMode | null;
|
|
238
448
|
export declare function parseCloseness(value: string): number | null;
|
|
239
449
|
export declare function planSwipeCommand(rest: string[], occurrences: FlagOccurrence[]): SwipePlan;
|
|
450
|
+
export declare const SHEET_ROW_ID: RegExp;
|
|
451
|
+
export declare const SHEET_PEOPLE_MOST = 8;
|
|
240
452
|
export interface ChoiceWords {
|
|
241
453
|
who: string;
|
|
242
454
|
flag: (name: string) => string;
|
|
@@ -271,11 +483,12 @@ export interface SwipeRunOptions extends SwipeOpts {
|
|
|
271
483
|
export declare function swipeBreakdownFlow(source: SwipeSource, opts: SwipeRunOptions, deps: VideoDeps): Promise<FlowResult>;
|
|
272
484
|
export declare function swipeStatusFlow(breakdownId: string, opts: SwipeRunOptions, deps: VideoDeps, full?: boolean): Promise<FlowResult>;
|
|
273
485
|
export declare function fullLines(data: Record<string, unknown>): string[];
|
|
486
|
+
export declare function filmingLines(filming: SwipeFilming | undefined, version?: string): string[];
|
|
274
487
|
export declare function swipeTemplateFlow(breakdownId: string, opts: SwipeRunOptions, deps: VideoDeps): Promise<FlowResult>;
|
|
275
488
|
export declare function swipeProductsFlow(opts: SwipeOpts, deps: VideoDeps): Promise<FlowResult>;
|
|
276
489
|
export declare const FIND_READ = 200;
|
|
277
490
|
export declare const FIND_PAID_FLAGS: readonly ["yes", "wait", "file", "url", "ad", "again"];
|
|
278
|
-
export declare const FIND_OTHER_FLAGS: readonly ["one-shot", "music", "mode", "closeness", "product", "look", "script", "style", "title", "sheet", "full", "status", "persona", "retry-refused", "kind"];
|
|
491
|
+
export declare const FIND_OTHER_FLAGS: readonly ["one-shot", "music", "mode", "closeness", "product", "look", "script", "style", "title", "sheet", "full", "status", "persona", "retry-refused", "kind", "max-usd"];
|
|
279
492
|
export declare const FIND_KIND_LINE = "The kind of an ad is known only after it is read.";
|
|
280
493
|
export declare const FIND_EMPTY_LIBRARY = "The swipe library has no ads yet for this brand.";
|
|
281
494
|
export interface FindAsk {
|
|
@@ -316,12 +529,19 @@ export declare function swipeFindFlow(ask: FindAsk, opts: SwipeOpts, deps: Video
|
|
|
316
529
|
export declare function swipeWriteFlow(breakdownId: string, ask: WriteAsk, opts: SwipeRunOptions, deps: VideoDeps): Promise<FlowResult>;
|
|
317
530
|
export declare function swipeShowFlow(swipeId: string, opts: SwipeOpts, deps: VideoDeps): Promise<FlowResult>;
|
|
318
531
|
export declare function swipeListFlow(opts: SwipeOpts, deps: VideoDeps): Promise<FlowResult>;
|
|
532
|
+
export declare function sheetLines(sheet: SavedSheet, dashboardUrl: string): string[];
|
|
533
|
+
export declare function swipeSheetReadFlow(swipeId: string, opts: SwipeOpts, deps: VideoDeps): Promise<FlowResult>;
|
|
534
|
+
export declare function swipeSheetSetFlow(swipeId: string, picks: Record<string, string | null>, opts: SwipeOpts, deps: VideoDeps): Promise<FlowResult>;
|
|
535
|
+
export declare function priceLines(price: SwipePrice, dashboardUrl: string): string[];
|
|
536
|
+
export declare function swipeSheetPriceFlow(swipeId: string, opts: SwipeOpts, deps: VideoDeps): Promise<FlowResult>;
|
|
537
|
+
export declare function swipeSheetPeopleFlow(swipeId: string, count: number | null, maxUsd: number | null, opts: SwipeRunOptions, deps: VideoDeps): Promise<FlowResult>;
|
|
538
|
+
export declare function swipeSheetVoicesFlow(swipeId: string, opts: SwipeOpts, deps: VideoDeps): Promise<FlowResult>;
|
|
319
539
|
export declare const SWIPE_ALREADY_STARTED_CODE = "SWIPE_ALREADY_STARTED";
|
|
320
540
|
export declare function alreadyStartedOf(res: ApiResponse<unknown>): {
|
|
321
541
|
runId: string;
|
|
322
542
|
url: string;
|
|
323
543
|
} | null;
|
|
324
|
-
export declare function swipeStartFlow(swipeId: string, ask: StartAsk, opts: SwipeRunOptions, deps: VideoDeps, again?: boolean): Promise<FlowResult>;
|
|
544
|
+
export declare function swipeStartFlow(swipeId: string, ask: StartAsk, opts: SwipeRunOptions, deps: VideoDeps, again?: boolean, waitPeople?: boolean): Promise<FlowResult>;
|
|
325
545
|
export declare const SHEET_FIELDS: readonly ["sources", "product", "personas", "mechanism", "guidance", "mode", "closeness", "look", "script", "kind", "characters", "finish", "oneShot", "style", "title", "music"];
|
|
326
546
|
export declare const SHEET_VIDEO_WARNING = 6;
|
|
327
547
|
export interface SheetSource {
|