@vosjs/cli 0.10.0 → 0.11.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
@@ -484,7 +484,7 @@ async function cmdCheck(argv) {
484
484
  return result.ok ? EXIT_OK : EXIT_ERROR;
485
485
  }
486
486
  async function delegate(argv, viaAlias = false) {
487
- const { run } = await import("./run-4LSBJO7N.js");
487
+ const { run } = await import("./run-U3NAAIKH.js");
488
488
  if (viaAlias && argv[0]) {
489
489
  process.stderr.write(
490
490
  `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, TranscriptSegment, Digest } from '@vosjs/studio-core';
2
+ import { CursorTrack, RecordingMeta, ProjectDoc, CursorEvent, Backdrop, TranscriptSegment, Digest } from '@vosjs/studio-core';
3
3
  export { Digest } from '@vosjs/studio-core';
4
4
 
5
5
  interface RenderCommonOptions {
@@ -260,6 +260,8 @@ interface PlanSummary {
260
260
  zoomManual: number;
261
261
  cursorKept: boolean;
262
262
  fresh: boolean;
263
+ /** The loop the fresh doc opened on when one was handed in (`none` if a reference's frame won without one). */
264
+ backdrop?: string;
263
265
  /** The style fields copied from `--style`'s reference, when given. */
264
266
  styleFrom?: string;
265
267
  styleFields?: readonly string[];
@@ -292,6 +294,12 @@ interface PlanOptions {
292
294
  from: string;
293
295
  doc: ProjectDoc;
294
296
  };
297
+ /**
298
+ * The backdrop a FRESH doc opens on (the set's house pick, or what
299
+ * `--background` named), written under a `--style`/`--reuse` reference's
300
+ * frame, which still wins. Null or absent: the bare frame.
301
+ */
302
+ backdrop?: Backdrop | null;
295
303
  }
296
304
  declare function planTake(dir: string, opts?: PlanOptions): Promise<PlanSummary>;
297
305
 
package/dist/index.js CHANGED
@@ -32,7 +32,7 @@ import {
32
32
  validateActions,
33
33
  waitForPageDone,
34
34
  writeSyncState
35
- } from "./chunk-CJPWZVHQ.js";
35
+ } from "./chunk-3W3XD6HL.js";
36
36
  import {
37
37
  BrowserUnavailableError,
38
38
  launchBrowser
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  run
4
- } from "./chunk-CJPWZVHQ.js";
4
+ } from "./chunk-3W3XD6HL.js";
5
5
  import "./chunk-A2VSDK3C.js";
6
6
  export {
7
7
  run
8
8
  };
9
- //# sourceMappingURL=run-4LSBJO7N.js.map
9
+ //# sourceMappingURL=run-U3NAAIKH.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vosjs/cli",
3
- "version": "0.10.0",
3
+ "version": "0.11.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",
@@ -48,12 +48,12 @@
48
48
  "dependencies": {
49
49
  "mediabunny": "^1.27.3",
50
50
  "playwright": "^1.49.0",
51
- "@vosjs/elements": "^0.8.0",
52
51
  "@vosjs/editor": "^1.3.0",
53
- "@vosjs/render-core": "^0.1.0",
54
- "@vosjs/shared": "^0.1.0",
55
52
  "@vosjs/core": "^0.23.1",
56
- "@vosjs/studio-core": "^0.2.0",
53
+ "@vosjs/elements": "^0.8.0",
54
+ "@vosjs/render-core": "^0.1.0",
55
+ "@vosjs/shared": "^0.2.0",
56
+ "@vosjs/studio-core": "^0.3.0",
57
57
  "@vosjs/timeline": "^0.4.0",
58
58
  "@vosjs/tween": "^0.8.1"
59
59
  },