@vosjs/cli 0.48.0 → 0.49.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/README.md CHANGED
@@ -88,9 +88,17 @@ vos record --actions actions.json --out take --strict # footage replaced; the
88
88
  vos plan take --reuse # re-time that cut onto the new recording; what could not follow is named
89
89
  ```
90
90
 
91
+ **No browser here?** A cloud agent, a CI runner or a chat host records on vos.so instead: the same script goes up, the fleet records, plans and lands the take as a private vos with its doc and its digest, and the take comes home into `--out` with its media, the directory every other verb reads.
92
+
93
+ ```bash
94
+ vos record --hosted --actions actions.json --out take # needs a credential (vos login, or VOS_API_KEY); a public URL, or a preview behind --header
95
+ ```
96
+
97
+ What travels: the script, the viewport, every `--header` value (a preview's bypass token), and the value of every `{ "env": "NAME" }` a `setup` step reads, from this shell. What never travels: a session (`--hosted` refuses `--session` and `--storage-state`, because none of a person's ever reaches vos.so). A page behind a sign-in fails on the fleet in words naming the local ladder, exit 4; a private-network URL is refused before a job exists. The fleet records up to ten minutes. `--dry-run` stays a local act.
98
+
91
99
  | Verb | Flags |
92
100
  | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
93
- | `record` | `--actions <file>` (or positional) `--url` `--out take` `--strict` `--dry-run` `--allow-wall` `--keep-frames` `--storage-state <file>` or `--session <name>` `--header name=value`... `--browser-arg=<switch>`... `--max-duration <s>` `--background <slug\|url\|none>` |
101
+ | `record` | `--actions <file>` (or positional) `--url` `--out take` `--strict` `--dry-run` `--allow-wall` `--keep-frames` `--storage-state <file>` or `--session <name>` `--header name=value`... `--browser-arg=<switch>`... `--max-duration <s>` `--background <slug\|url\|none>` `--hosted` (record on vos.so; with `--title` `--folder <id>`) |
94
102
  | `create` | The `record` flags plus the render flags (`--width` `--height` `--fps` `--format` `--parallel` `--draft` `--frame` `--set`), no `--range`. With `--strict` an incomplete recording exits 2 before anything is rendered |
95
103
  | `plan` | `--fresh` (discard the current plan) `--reuse` `--from <doc.json>` (defaults to `<take>/doc.prev.json`) `--style <doc.json\|take\|vosId>` `--with <doc.json\|take\|vosId>[@end\|@start\|@step:<id>\|@<seconds>]` (a template, repeatable) `--background` `--motion` (re-propose the motion) `--headline` `--kicker` `--launch` `--brand` `--music` `--entrance` `--transitions slide\|fade\|scale\|none` `--end-card on\|none\|<ref>` `--captions` `--clicks` `--release` |
96
104
  | `digest` | `--out <take>/digest` `--full 960` `--crop 640` (image long edges, the token budget) `--no-frames` `--transcript <file>` (Whisper-shaped segments merged as `said`) `--style <ref>` (report a reference document's style fields) |
@@ -270,6 +278,7 @@ Everything that runs on your machine is open source; [vos.so](https://vos.so) is
270
278
 
271
279
  ```bash
272
280
  vos login [--key <k>] [--label <name>] [--no-browser] # browser sign-in: a code and a vos.so/cli/auth URL, a human approves, the key stores itself
281
+ vos login --handoff https://vos.so/h/<token> # the setup link a signed-in person's line carries: exchanged once for a key, no click
273
282
  vos fetch <vosId|url> [--out <slug>] [--media] # a program writes config.json + vos.json; a take writes doc.json (+ the recording with --media)
274
283
  vos check bright-loop/config.json # full local validation
275
284
  vos push bright-loop/config.json # untracked: create a PRIVATE vos. Tracked (vos.json): add a version to it
@@ -0,0 +1,40 @@
1
+ #!/usr/bin/env node
2
+
3
+ // src/plugin/pace.ts
4
+ import {
5
+ DEAD_SHARE_WARN_PCT,
6
+ DEAD_STRETCH_WARN_MS,
7
+ MOTION_TICK_MS,
8
+ POINTER_MAX_MS,
9
+ POINTER_MIN_MS,
10
+ POINTER_MS_PER_PX,
11
+ PRESS_HOLD_MS,
12
+ PRESS_LEAD_MS,
13
+ QUIET_MS,
14
+ READ_BEAT_MS,
15
+ RESPONSE_MS,
16
+ SCROLL_SETTLE_MS,
17
+ SETTLE_CAP_MS,
18
+ SETTLE_MS,
19
+ TRAILING_HOLD_MS,
20
+ askedMs,
21
+ clockMotion,
22
+ clockTyping,
23
+ deadLine,
24
+ deadTime,
25
+ deadWarns,
26
+ easeInOutCubic,
27
+ holdLeftMs,
28
+ paceLine,
29
+ paceReport,
30
+ pointerTravelMs,
31
+ settleMs,
32
+ settleVerdict
33
+ } from "@vosjs/render-core/record";
34
+
35
+ export {
36
+ askedMs,
37
+ deadLine,
38
+ deadWarns
39
+ };
40
+ //# sourceMappingURL=chunk-72ADTMWW.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/plugin/pace.ts"],"sourcesContent":["/**\n * The take's pace: the module moved to `@vosjs/render-core/record` (AN4,\n * the recorder's mechanism is host-free). This file keeps every name the\n * CLI and its tests import, so a caller sees no move.\n */\nexport {\n DEAD_SHARE_WARN_PCT,\n DEAD_STRETCH_WARN_MS,\n MOTION_TICK_MS,\n POINTER_MAX_MS,\n POINTER_MIN_MS,\n POINTER_MS_PER_PX,\n PRESS_HOLD_MS,\n PRESS_LEAD_MS,\n QUIET_MS,\n READ_BEAT_MS,\n RESPONSE_MS,\n SCROLL_SETTLE_MS,\n SETTLE_CAP_MS,\n SETTLE_MS,\n TRAILING_HOLD_MS,\n askedMs,\n clockMotion,\n clockTyping,\n deadLine,\n deadTime,\n deadWarns,\n easeInOutCubic,\n holdLeftMs,\n paceLine,\n paceReport,\n pointerTravelMs,\n settleMs,\n settleVerdict,\n} from '@vosjs/render-core/record'\nexport type {\n DeadReport,\n DeadStep,\n PaceReport,\n StepPace,\n} from '@vosjs/render-core/record'\n"],"mappings":";;;AAKA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;","names":[]}