@vosjs/cli 0.45.1 → 0.46.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/{chunk-RDQYYRWN.js → chunk-ID4OUS5L.js} +62 -2
- package/dist/chunk-ID4OUS5L.js.map +1 -0
- package/dist/{chunk-4HW2XR5K.js → chunk-UE66DC2K.js} +21 -11
- package/dist/chunk-UE66DC2K.js.map +1 -0
- package/dist/cli.js +3 -3
- package/dist/index.d.ts +25 -0
- package/dist/index.js +2 -2
- package/dist/{run-S4EZ5OIT.js → run-2OZS25ER.js} +3 -3
- package/dist/{shotList-FYDHO5AI.js → shotList-JC4A3FBT.js} +2 -2
- package/package.json +3 -3
- package/dist/chunk-4HW2XR5K.js.map +0 -1
- package/dist/chunk-RDQYYRWN.js.map +0 -1
- /package/dist/{run-S4EZ5OIT.js.map → run-2OZS25ER.js.map} +0 -0
- /package/dist/{shotList-FYDHO5AI.js.map → shotList-JC4A3FBT.js.map} +0 -0
package/dist/cli.js
CHANGED
|
@@ -511,7 +511,7 @@ async function cmdCheck(argv) {
|
|
|
511
511
|
return result.ok ? EXIT_OK : EXIT_ERROR;
|
|
512
512
|
}
|
|
513
513
|
async function delegate(argv, viaAlias = false) {
|
|
514
|
-
const { run } = await import("./run-
|
|
514
|
+
const { run } = await import("./run-2OZS25ER.js");
|
|
515
515
|
if (viaAlias && argv[0]) {
|
|
516
516
|
process.stderr.write(
|
|
517
517
|
`note: "vos voila ${argv[0]}" is now "vos ${argv[0]}".
|
|
@@ -551,7 +551,7 @@ async function main() {
|
|
|
551
551
|
const engine = HELP_ENGINE.split("\n").filter(
|
|
552
552
|
(l) => l.startsWith(` vos ${cmd} `)
|
|
553
553
|
);
|
|
554
|
-
const { verbHelp } = await import("./run-
|
|
554
|
+
const { verbHelp } = await import("./run-2OZS25ER.js");
|
|
555
555
|
const take = verbHelp(cmd);
|
|
556
556
|
process.stdout.write(
|
|
557
557
|
`${engine.join("\n")}
|
|
@@ -583,7 +583,7 @@ ${take.includes("no such verb") ? "" : take}`
|
|
|
583
583
|
main().then(async (code) => {
|
|
584
584
|
if (code === EXIT_OK) {
|
|
585
585
|
const verb = process.argv[2] ?? "";
|
|
586
|
-
const { HELP } = await import("./run-
|
|
586
|
+
const { HELP } = await import("./run-2OZS25ER.js");
|
|
587
587
|
const documented = [
|
|
588
588
|
...helpFlagsFor(HELP_ENGINE, verb),
|
|
589
589
|
...helpFlagsFor(HELP, verb)
|
package/dist/index.d.ts
CHANGED
|
@@ -109,6 +109,25 @@ interface PaceReport {
|
|
|
109
109
|
wallMs: number;
|
|
110
110
|
}[];
|
|
111
111
|
}
|
|
112
|
+
interface DeadStep {
|
|
113
|
+
step: number;
|
|
114
|
+
id?: string;
|
|
115
|
+
do: string;
|
|
116
|
+
/** ms from the step's act (its press, else its start) to the last frame change in the step. */
|
|
117
|
+
settledMs: number;
|
|
118
|
+
/** ms the settled frame was held before the step ended. */
|
|
119
|
+
heldMs: number;
|
|
120
|
+
/** the hold past the reading beat, while the cursor was parked; 0 when the hold was read or the pointer moved. */
|
|
121
|
+
deadMs: number;
|
|
122
|
+
}
|
|
123
|
+
interface DeadReport {
|
|
124
|
+
ms: number;
|
|
125
|
+
pct: number;
|
|
126
|
+
/** the steps that carried any dead time, in order. */
|
|
127
|
+
steps: DeadStep[];
|
|
128
|
+
/** the longest single dead hold. */
|
|
129
|
+
longestMs: number;
|
|
130
|
+
}
|
|
112
131
|
|
|
113
132
|
/**
|
|
114
133
|
* What a signed-in take SHOWS. Getting past the login is half the problem;
|
|
@@ -401,6 +420,12 @@ interface RecordResult {
|
|
|
401
420
|
*/
|
|
402
421
|
freezes: FreezeSpan[];
|
|
403
422
|
freezePct: number;
|
|
423
|
+
/**
|
|
424
|
+
* The smoothness WARNING: still footage under a parked cursor past the
|
|
425
|
+
* beat it takes to read what changed, per step (`deadTime`). A still page
|
|
426
|
+
* being read is content; this is the part of a hold nobody is reading.
|
|
427
|
+
*/
|
|
428
|
+
dead: DeadReport;
|
|
404
429
|
/** The take reached --max-duration and stopped there; later steps did not run. */
|
|
405
430
|
capped: boolean;
|
|
406
431
|
}
|
package/dist/index.js
CHANGED
|
@@ -30,14 +30,14 @@ import {
|
|
|
30
30
|
validateActions,
|
|
31
31
|
waitForPageDone,
|
|
32
32
|
writeSyncState
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-UE66DC2K.js";
|
|
34
34
|
import {
|
|
35
35
|
BrowserUnavailableError,
|
|
36
36
|
configDuration,
|
|
37
37
|
launchBrowser,
|
|
38
38
|
loadVosConfig
|
|
39
39
|
} from "./chunk-FACYY7VV.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-ID4OUS5L.js";
|
|
41
41
|
import {
|
|
42
42
|
manifest
|
|
43
43
|
} from "./chunk-EFI3WUQB.js";
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
run,
|
|
6
6
|
takeBrowserArgs,
|
|
7
7
|
verbHelp
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UE66DC2K.js";
|
|
9
9
|
import "./chunk-FACYY7VV.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-ID4OUS5L.js";
|
|
11
11
|
export {
|
|
12
12
|
HELP,
|
|
13
13
|
MULTI_FLAGS,
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
takeBrowserArgs,
|
|
16
16
|
verbHelp
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=run-
|
|
18
|
+
//# sourceMappingURL=run-2OZS25ER.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
askedMs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ID4OUS5L.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/shotList.ts
|
|
7
7
|
function sayTarget(selector) {
|
|
@@ -108,4 +108,4 @@ export {
|
|
|
108
108
|
sayTarget,
|
|
109
109
|
shotList
|
|
110
110
|
};
|
|
111
|
-
//# sourceMappingURL=shotList-
|
|
111
|
+
//# sourceMappingURL=shotList-JC4A3FBT.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vosjs/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.46.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",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"@vosjs/core": "^0.25.0",
|
|
52
52
|
"@vosjs/editor": "^1.3.1",
|
|
53
53
|
"@vosjs/elements": "^0.8.1",
|
|
54
|
-
"@vosjs/shared": "^0.4.1",
|
|
55
54
|
"@vosjs/render-core": "^0.2.8",
|
|
56
|
-
"@vosjs/
|
|
55
|
+
"@vosjs/shared": "^0.4.1",
|
|
56
|
+
"@vosjs/studio-core": "^0.30.0",
|
|
57
57
|
"@vosjs/timeline": "^0.4.1",
|
|
58
58
|
"@vosjs/tween": "^0.8.2"
|
|
59
59
|
},
|