@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
|
@@ -6,7 +6,7 @@ import { type RunDeliverySummary } from "../lib/runVerdict.js";
|
|
|
6
6
|
import { type Channel } from "../lib/channel.js";
|
|
7
7
|
import { type VoiceMap } from "./video.js";
|
|
8
8
|
export declare const helpText: string;
|
|
9
|
-
export type WorkflowNodeKind = "brief" | "brief-form" | "asset" | "bot" | "primer" | "image" | "image-rig" | "rig" | "storyboard" | "reference" | "scene-frames" | "video" | "voiceover" | "output" | "call" | "show-set" | "show-cast" | "show-voices" | "product-truth" | "transform" | "formatter" | "splitter" | "collector" | "checkpoint" | "prompt";
|
|
9
|
+
export type WorkflowNodeKind = "brief" | "brief-form" | "asset" | "bot" | "primer" | "image" | "image-rig" | "rig" | "storyboard" | "reference" | "scene-frames" | "video" | "voiceover" | "output" | "call" | "show-set" | "show-cast" | "show-voices" | "product-truth" | "transform" | "formatter" | "splitter" | "collector" | "checkpoint" | "prompt" | "picks";
|
|
10
10
|
export type WorkflowSlotState = "locked" | "auto" | "ask" | "inferred";
|
|
11
11
|
export interface WorkflowSlot {
|
|
12
12
|
id: string;
|
|
@@ -388,7 +388,7 @@ export interface WorkflowRunSession {
|
|
|
388
388
|
title: string;
|
|
389
389
|
botSlug: string;
|
|
390
390
|
}
|
|
391
|
-
export type WorkflowPauseReason = "taste" | "repair" | "slots" | "call" | "checkpoint";
|
|
391
|
+
export type WorkflowPauseReason = "taste" | "repair" | "slots" | "call" | "checkpoint" | "pilot";
|
|
392
392
|
export interface WorkflowPendingSlot {
|
|
393
393
|
id: string;
|
|
394
394
|
label?: string;
|
|
@@ -459,7 +459,7 @@ export interface WorkflowRun {
|
|
|
459
459
|
provenance?: RunProvenance;
|
|
460
460
|
pauseAhead?: {
|
|
461
461
|
nodeId: string;
|
|
462
|
-
after: "frames" | "storyboard";
|
|
462
|
+
after: "frames" | "storyboard" | "picks" | "pilot";
|
|
463
463
|
selfApproves?: true;
|
|
464
464
|
};
|
|
465
465
|
}
|
|
@@ -380,6 +380,12 @@ export function formatRulesLine(provenance) {
|
|
|
380
380
|
return `Format rules: ${rigName}${version}${where}.${borrowed}`;
|
|
381
381
|
}
|
|
382
382
|
export function pauseAheadLine(ahead) {
|
|
383
|
+
if (ahead.after === "picks") {
|
|
384
|
+
return "This run will stop for your picks before anything is planned. It draws the faces and rooms to pick from first. Nothing else is made until every slot has a pick.";
|
|
385
|
+
}
|
|
386
|
+
if (ahead.after === "pilot") {
|
|
387
|
+
return "This run will stop after its pilot clip. One clip is made and checked first; the other clips are made only when you approve it.";
|
|
388
|
+
}
|
|
383
389
|
if (ahead.after === "frames" && ahead.selfApproves) {
|
|
384
390
|
return "When the frames are ready, the app checks the storyboard and approves it itself if the checks pass, then goes on to the voices and clips. It only stops for your approval if a check finds a problem. The reference, cast and scene pictures are made first (a few cents each).";
|
|
385
391
|
}
|
|
@@ -562,7 +568,7 @@ function progressLine(node, parked = false) {
|
|
|
562
568
|
function gateParkedNodeId(status, pauseReason, pausedNodeId) {
|
|
563
569
|
if (!status || normalizeRunStatus(status) !== "awaiting-approval")
|
|
564
570
|
return undefined;
|
|
565
|
-
if (pauseReason === "taste" || pauseReason === "checkpoint" || pauseReason === undefined) {
|
|
571
|
+
if (pauseReason === "taste" || pauseReason === "checkpoint" || pauseReason === "pilot" || pauseReason === undefined) {
|
|
566
572
|
return pausedNodeId;
|
|
567
573
|
}
|
|
568
574
|
return undefined;
|
|
@@ -578,6 +584,13 @@ export function formatPauseNotice(pauseReason, runId, dashboardUrl, { workerStop
|
|
|
578
584
|
if (pauseReason === "call") {
|
|
579
585
|
return [" ⏸ waiting on a child workflow run — it resumes on its own."];
|
|
580
586
|
}
|
|
587
|
+
if (pauseReason === "pilot") {
|
|
588
|
+
return [
|
|
589
|
+
" ⏸ paused after the pilot clip — the other clips wait for your approval.",
|
|
590
|
+
` Resolve here: exodus video status ${runId}`,
|
|
591
|
+
` Or in the app: ${dashboardUrl}${RUN_PAGE_PREFIX}${runId}`,
|
|
592
|
+
];
|
|
593
|
+
}
|
|
581
594
|
if (pauseReason === "checkpoint") {
|
|
582
595
|
return [
|
|
583
596
|
" ⏸ paused at a checkpoint — what's flowing through it is waiting on your approval.",
|
|
@@ -2095,7 +2108,7 @@ function videoParkStop(raw) {
|
|
|
2095
2108
|
if (!isParkedSnapshot(raw))
|
|
2096
2109
|
return undefined;
|
|
2097
2110
|
const stop = classifyRun(asVideoRun(raw));
|
|
2098
|
-
return stop.at === "storyboard-gate" || stop.at === "final-watch" ? stop : undefined;
|
|
2111
|
+
return stop.at === "storyboard-gate" || stop.at === "final-watch" || stop.at === "picks" || stop.at === "pilot" ? stop : undefined;
|
|
2099
2112
|
}
|
|
2100
2113
|
async function waitForRun(runId, opts, deps) {
|
|
2101
2114
|
const seen = new Map();
|
|
@@ -2662,6 +2675,8 @@ export function parkBadge(pauseReason) {
|
|
|
2662
2675
|
return "slots";
|
|
2663
2676
|
if (pauseReason === "checkpoint")
|
|
2664
2677
|
return "checkpoint";
|
|
2678
|
+
if (pauseReason === "pilot")
|
|
2679
|
+
return "pilot";
|
|
2665
2680
|
return "legacy";
|
|
2666
2681
|
}
|
|
2667
2682
|
export function invocationBadge(row) {
|
|
@@ -2725,6 +2740,8 @@ function describePark(run) {
|
|
|
2725
2740
|
return "parked on a child workflow";
|
|
2726
2741
|
case "checkpoint":
|
|
2727
2742
|
return `parked at a checkpoint (use: exodus workflow checkpoint ${run._id})`;
|
|
2743
|
+
case "pilot":
|
|
2744
|
+
return `parked after its pilot clip (use: exodus video status ${run._id})`;
|
|
2728
2745
|
default:
|
|
2729
2746
|
return "parked at the cost gate (legacy)";
|
|
2730
2747
|
}
|
|
@@ -2735,6 +2752,7 @@ const PARK_LABEL = {
|
|
|
2735
2752
|
slots: "slot answers",
|
|
2736
2753
|
call: "a child workflow",
|
|
2737
2754
|
checkpoint: "a checkpoint approval",
|
|
2755
|
+
pilot: "the pilot clip's approval",
|
|
2738
2756
|
};
|
|
2739
2757
|
async function preflightPark(runId, expected, verb, json, deps) {
|
|
2740
2758
|
const res = await deps.get(`${STATUS_PATH}?runId=${encodeURIComponent(runId)}`);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export function composeTemplateBrief({ product = "", audience = "", offer = "", mechanism = "", about = "" }) {
|
|
2
|
+
return [
|
|
3
|
+
product.trim() ? `Product: ${product.trim()}` : "",
|
|
4
|
+
audience.trim() ? `Audience: ${audience.trim()}` : "",
|
|
5
|
+
offer.trim() ? `Offer: ${offer.trim()}` : "",
|
|
6
|
+
mechanism.trim() ? `Mechanism: ${mechanism.trim()}` : "",
|
|
7
|
+
about.trim(),
|
|
8
|
+
].filter(Boolean).join("\n\n");
|
|
9
|
+
}
|