@vosjs/cli 0.19.0 → 0.20.0

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/dist/cli.js CHANGED
@@ -495,7 +495,7 @@ async function cmdCheck(argv) {
495
495
  return result.ok ? EXIT_OK : EXIT_ERROR;
496
496
  }
497
497
  async function delegate(argv, viaAlias = false) {
498
- const { run } = await import("./run-PJOOKJE2.js");
498
+ const { run } = await import("./run-ZIMJOQRN.js");
499
499
  if (viaAlias && argv[0]) {
500
500
  process.stderr.write(
501
501
  `note: "vos voila ${argv[0]}" is now "vos ${argv[0]}".
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Browser, Page } from 'playwright';
2
- import { CursorTrack, RecordingMeta, ProjectDoc, CursorEvent, Backdrop, LayoutParts, TranscriptSegment, Digest } from '@vosjs/studio-core';
2
+ import { CursorTrack, RecordingMeta, ProjectDoc, CursorEvent, TemplateAnchor, Backdrop, LayoutParts, TranscriptSegment, Digest } from '@vosjs/studio-core';
3
3
  export { Digest } from '@vosjs/studio-core';
4
4
 
5
5
  interface RenderCommonOptions {
@@ -270,6 +270,19 @@ interface MotionProposalInput {
270
270
  caption: string;
271
271
  }[];
272
272
  catalog: MusicCatalog | null;
273
+ /** The templates the recipe or the flags named, resolved, in order. */
274
+ templates?: MotionTemplate[];
275
+ }
276
+ /** Where a template lands: the studio-core anchor, or a recorded step's settle. */
277
+ type MotionAnchor = TemplateAnchor | {
278
+ step: string;
279
+ };
280
+ /** A template the recipe or a flag named, resolved to its document. */
281
+ interface MotionTemplate {
282
+ /** What its clips say they came from (the vos id or the path it was read from). */
283
+ from: string;
284
+ doc: ProjectDoc;
285
+ at: MotionAnchor;
273
286
  }
274
287
 
275
288
  /**
@@ -368,9 +381,10 @@ interface PlanOptions {
368
381
  aspect: number;
369
382
  } | null;
370
383
  /**
371
- * Propose the cut's motion (entrance, end card, captions, bed, clicks)
372
- * from these roles. Applied on a fresh plan; `again` re-proposes onto an
373
- * existing document (replacing only the proposals' own ids and fields).
384
+ * Propose the cut's motion (the card's enter, the templates the recipe
385
+ * names, the end card, captions, bed, clicks) from these roles. Applied
386
+ * on a fresh plan; `again` re-proposes onto an existing document
387
+ * (replacing only the proposals' own ids and `from`s).
374
388
  */
375
389
  motion?: MotionProposalInput & {
376
390
  again?: boolean;
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ import {
30
30
  validateActions,
31
31
  waitForPageDone,
32
32
  writeSyncState
33
- } from "./chunk-4LLBPFCW.js";
33
+ } from "./chunk-ZONOZZZY.js";
34
34
  import {
35
35
  BrowserUnavailableError,
36
36
  configDuration,
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  run
4
- } from "./chunk-4LLBPFCW.js";
4
+ } from "./chunk-ZONOZZZY.js";
5
5
  import "./chunk-NHKHTIDR.js";
6
6
  export {
7
7
  run
8
8
  };
9
- //# sourceMappingURL=run-PJOOKJE2.js.map
9
+ //# sourceMappingURL=run-ZIMJOQRN.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vosjs/cli",
3
- "version": "0.19.0",
3
+ "version": "0.20.0",
4
4
  "description": "The vos CLI: record the real product from a scripted browser flow, auto-zoom from the cursor track, cut as data in doc.json, render deterministic video and stills, deliver a release's media per destination spec, and sync with vos.so. One binary, every verb, MIT.",
5
5
  "type": "module",
6
6
  "license": "MIT",