@vosjs/cli 0.9.1 → 0.9.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/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-I2XSZAWI.js");
487
+ const { run } = await import("./run-OBJBU7X6.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
@@ -112,11 +112,20 @@ type ActionStep = ({
112
112
  } | {
113
113
  do: 'click';
114
114
  selector: string;
115
- } | {
115
+ }
116
+ /**
117
+ * Type into `selector`. The recorder clicks the field first, which is what
118
+ * opens the typing zoom on it; `focus: false` types into the field as it is
119
+ * already focused, for a keystroke that follows earlier typing (a submitting
120
+ * Enter) rather than starting it — a second click there rings a click effect
121
+ * on empty space beside the text.
122
+ */
123
+ | {
116
124
  do: 'type';
117
125
  selector: string;
118
126
  text: string;
119
127
  delayMs?: number;
128
+ focus?: boolean;
120
129
  } | {
121
130
  do: 'scroll';
122
131
  dy: number;
package/dist/index.js CHANGED
@@ -32,7 +32,7 @@ import {
32
32
  validateActions,
33
33
  waitForPageDone,
34
34
  writeSyncState
35
- } from "./chunk-74MSNLT2.js";
35
+ } from "./chunk-NKUOT5JE.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-74MSNLT2.js";
4
+ } from "./chunk-NKUOT5JE.js";
5
5
  import "./chunk-A2VSDK3C.js";
6
6
  export {
7
7
  run
8
8
  };
9
- //# sourceMappingURL=run-I2XSZAWI.js.map
9
+ //# sourceMappingURL=run-OBJBU7X6.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vosjs/cli",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
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,13 +48,13 @@
48
48
  "dependencies": {
49
49
  "mediabunny": "^1.27.3",
50
50
  "playwright": "^1.49.0",
51
- "@vosjs/core": "^0.23.1",
51
+ "@vosjs/elements": "^0.8.0",
52
52
  "@vosjs/editor": "^1.3.0",
53
- "@vosjs/render-core": "^0.1.0",
53
+ "@vosjs/core": "^0.23.1",
54
54
  "@vosjs/shared": "^0.1.0",
55
- "@vosjs/elements": "^0.8.0",
56
- "@vosjs/studio-core": "^0.1.0",
55
+ "@vosjs/render-core": "^0.1.0",
57
56
  "@vosjs/timeline": "^0.4.0",
57
+ "@vosjs/studio-core": "^0.1.0",
58
58
  "@vosjs/tween": "^0.8.1"
59
59
  },
60
60
  "devDependencies": {
@@ -115,6 +115,11 @@
115
115
  "minimum": 0,
116
116
  "default": 40
117
117
  },
118
+ "focus": {
119
+ "type": "boolean",
120
+ "default": true,
121
+ "description": "The recorder clicks the field before typing, and that click is what opens the typing zoom on it. false types into the field as it is already focused: for a keystroke that finishes earlier typing (a submitting Enter) rather than starting it, where a second click rings a click effect on empty space beside the text."
122
+ },
118
123
  "id": {
119
124
  "type": "string",
120
125
  "minLength": 1,