@vosjs/cli 0.38.0 → 0.39.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
@@ -497,7 +497,7 @@ async function cmdCheck(argv) {
497
497
  return result.ok ? EXIT_OK : EXIT_ERROR;
498
498
  }
499
499
  async function delegate(argv, viaAlias = false) {
500
- const { run } = await import("./run-ZNQKSGAF.js");
500
+ const { run } = await import("./run-BTBEJLWL.js");
501
501
  if (viaAlias && argv[0]) {
502
502
  process.stderr.write(
503
503
  `note: "vos voila ${argv[0]}" is now "vos ${argv[0]}".
@@ -557,7 +557,7 @@ async function main() {
557
557
  main().then(async (code) => {
558
558
  if (code === EXIT_OK) {
559
559
  const verb = process.argv[2] ?? "";
560
- const { HELP } = await import("./run-ZNQKSGAF.js");
560
+ const { HELP } = await import("./run-BTBEJLWL.js");
561
561
  const documented = [
562
562
  ...helpFlagsFor(HELP_ENGINE, verb),
563
563
  ...helpFlagsFor(HELP, verb)
package/dist/index.d.ts CHANGED
@@ -265,6 +265,16 @@ interface RecordOpts {
265
265
  * `context.storageState({ path })`.
266
266
  */
267
267
  storageState?: string;
268
+ /**
269
+ * REHEARSE the flow: every step runs against the real page, in order,
270
+ * because a later selector usually exists only after an earlier click. But
271
+ * nothing is captured (no screencast, no frames), nothing is written, the
272
+ * pointer lands instead of travelling and every pause is cut to a beat, so
273
+ * a script that misses a selector says so in seconds instead of after a
274
+ * full real-time take and its encode. Selector lookups keep their whole
275
+ * timeout, so a miss here is a miss in the take.
276
+ */
277
+ dryRun?: boolean;
268
278
  }
269
279
  declare function recordTake(browser: Browser, url: string, actions: ActionsFile, paths: TakePaths, log: (msg: string) => void, opts?: RecordOpts): Promise<RecordResult>;
270
280
 
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ import {
30
30
  validateActions,
31
31
  waitForPageDone,
32
32
  writeSyncState
33
- } from "./chunk-LGRNHJ2U.js";
33
+ } from "./chunk-RECQEBXN.js";
34
34
  import {
35
35
  BrowserUnavailableError,
36
36
  configDuration,
@@ -4,7 +4,7 @@ import {
4
4
  MULTI_FLAGS,
5
5
  run,
6
6
  takeBrowserArgs
7
- } from "./chunk-LGRNHJ2U.js";
7
+ } from "./chunk-RECQEBXN.js";
8
8
  import "./chunk-FACYY7VV.js";
9
9
  export {
10
10
  HELP,
@@ -12,4 +12,4 @@ export {
12
12
  run,
13
13
  takeBrowserArgs
14
14
  };
15
- //# sourceMappingURL=run-ZNQKSGAF.js.map
15
+ //# sourceMappingURL=run-BTBEJLWL.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vosjs/cli",
3
- "version": "0.38.0",
3
+ "version": "0.39.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",