@vosjs/cli 0.26.0 → 0.28.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
@@ -495,7 +495,7 @@ async function cmdCheck(argv) {
495
495
  return result.ok ? EXIT_OK : EXIT_ERROR;
496
496
  }
497
497
  async function delegate(argv, viaAlias = false) {
498
- const { run } = await import("./run-VSENMRFF.js");
498
+ const { run } = await import("./run-QAI3HGTK.js");
499
499
  if (viaAlias && argv[0]) {
500
500
  process.stderr.write(
501
501
  `note: "vos voila ${argv[0]}" is now "vos ${argv[0]}".
package/dist/index.js CHANGED
@@ -30,7 +30,7 @@ import {
30
30
  validateActions,
31
31
  waitForPageDone,
32
32
  writeSyncState
33
- } from "./chunk-I3UUIBSH.js";
33
+ } from "./chunk-T35XY4YW.js";
34
34
  import {
35
35
  BrowserUnavailableError,
36
36
  configDuration,
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  run
4
- } from "./chunk-I3UUIBSH.js";
4
+ } from "./chunk-T35XY4YW.js";
5
5
  import "./chunk-NHKHTIDR.js";
6
6
  export {
7
7
  run
8
8
  };
9
- //# sourceMappingURL=run-VSENMRFF.js.map
9
+ //# sourceMappingURL=run-QAI3HGTK.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vosjs/cli",
3
- "version": "0.26.0",
3
+ "version": "0.28.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,13 +48,13 @@
48
48
  "dependencies": {
49
49
  "mediabunny": "^1.55.7",
50
50
  "playwright": "^1.49.0",
51
- "@vosjs/editor": "^1.3.1",
52
51
  "@vosjs/core": "^0.23.7",
53
- "@vosjs/elements": "^0.8.1",
52
+ "@vosjs/editor": "^1.3.1",
54
53
  "@vosjs/shared": "^0.4.1",
55
- "@vosjs/render-core": "^0.2.6",
56
- "@vosjs/studio-core": "^0.16.0",
57
54
  "@vosjs/timeline": "^0.4.1",
55
+ "@vosjs/studio-core": "^0.18.0",
56
+ "@vosjs/render-core": "^0.2.6",
57
+ "@vosjs/elements": "^0.8.1",
58
58
  "@vosjs/tween": "^0.8.2"
59
59
  },
60
60
  "devDependencies": {
@@ -48,6 +48,10 @@
48
48
  "maximum": 30,
49
49
  "description": "LEGACY spelling of a freeze at this segment's end, read into `freeze` on every path; write `freeze` instead"
50
50
  },
51
+ "anim": {
52
+ "$ref": "#/definitions/anim",
53
+ "description": "how this clip meets the clips beside it: `enter` is its arrival at the boundary with the clip BEFORE it, `exit` its leaving at the boundary with the clip AFTER it (slide | fade | scale | none; a slide names its `side`, a step its `seconds`, 0.15..2, never longer than half the shorter clip). An exit and the next clip's enter at one boundary run together (a push); one alone moves one card. The first clip's enter and the last clip's exit are the card's own (frame.anim) and are ignored. Absent = a hard cut"
54
+ },
51
55
  "media": {
52
56
  "type": "string",
53
57
  "description": "the media this belongs to: a `media[].id`; absent = the primary, `source`"
@@ -739,7 +743,9 @@
739
743
  "typewriter",
740
744
  "tilt-in",
741
745
  "pull-out",
742
- "recede"
746
+ "recede",
747
+ "slide",
748
+ "scale"
743
749
  ]
744
750
  },
745
751
  {
@@ -757,7 +763,9 @@
757
763
  "typewriter",
758
764
  "tilt-in",
759
765
  "pull-out",
760
- "recede"
766
+ "recede",
767
+ "slide",
768
+ "scale"
761
769
  ]
762
770
  },
763
771
  "seconds": {
@@ -766,6 +774,10 @@
766
774
  "maximum": 3,
767
775
  "description": "seconds the step takes (the house length when absent)"
768
776
  },
777
+ "side": {
778
+ "enum": ["left", "right", "up", "down"],
779
+ "description": "a slide's side: where an enter comes FROM, where an exit goes TO (absent: in from the right, out to the left)"
780
+ },
769
781
  "unit": {
770
782
  "enum": ["block", "line", "word", "char"],
771
783
  "description": "words only: the unit the step animates by"
@@ -800,7 +812,7 @@
800
812
  "description": "props only: what it does while it stays"
801
813
  }
802
814
  },
803
- "description": "THE animation vocabulary, one for every visual primitive. The card enters by tilt-in | pull-out | rise | fade and leaves by recede | fade; words enter by none | fade | rise | pop | blur | typewriter and leave by none | fade | rise; an image or video clip enters and leaves by none | fade | rise; a prop idles by spin | float. Absent = the house default; none = an explicit nothing"
815
+ "description": "THE animation vocabulary, one for every visual primitive. The card enters by tilt-in | pull-out | rise | fade | slide and leaves by recede | fade; words enter by none | fade | rise | pop | blur | typewriter and leave by none | fade | rise; an image or video clip enters and leaves by none | fade | rise; a prop idles by spin | float; a FOOTAGE clip meets the clip beside it by slide | fade | scale (a transition at the boundary: the incoming clip plays live while the outgoing, frozen on its last frame, moves away; a slide names its side). Absent = the house default; none = an explicit nothing"
804
816
  },
805
817
  "overlays": {
806
818
  "type": "array",
@@ -1085,7 +1097,7 @@
1085
1097
  },
1086
1098
  "key": {
1087
1099
  "type": "string",
1088
- "description": "image/video kinds: media URL or take-dir file (e.g. \"/logo.png\", \"/clip.webm\") \u2014 required for media"
1100
+ "description": "image/video kinds: media URL or take-dir file (e.g. \"/logo.png\", \"/clip.webm\") \u2014 required for media. A media layer may show a DOCUMENT media by reference: media:<id> (media: alone is the primary), which brings the media's facts (its cursor track, its recorded page) and follows its kind."
1089
1101
  },
1090
1102
  "width": {
1091
1103
  "type": "number",
@@ -1107,6 +1119,44 @@
1107
1119
  "loop": {
1108
1120
  "type": "boolean",
1109
1121
  "description": "video kind: loop while active (default: hold the last frame)"
1122
+ },
1123
+ "frame": {
1124
+ "type": "object",
1125
+ "description": "A media layer as a CARD, drawn by the card painter on its own plane above the primary card: a browser bar (allowed on any card, opens off; its address defaults to the media's recorded page for a media:<id> layer), a lean in degrees (the tilt convention), the layered shadow, and for a document media its cursor dot and click rings. Absent = the flat picture.",
1126
+ "additionalProperties": false,
1127
+ "properties": {
1128
+ "browserBar": {
1129
+ "$ref": "#/oneOf/0/properties/frame/properties/browserBar"
1130
+ },
1131
+ "lean": {
1132
+ "type": "object",
1133
+ "additionalProperties": false,
1134
+ "properties": {
1135
+ "rx": {
1136
+ "type": "number"
1137
+ },
1138
+ "ry": {
1139
+ "type": "number"
1140
+ }
1141
+ }
1142
+ },
1143
+ "shadow": {
1144
+ "type": "number",
1145
+ "minimum": 0,
1146
+ "maximum": 1
1147
+ },
1148
+ "shadowContact": {
1149
+ "type": "number",
1150
+ "minimum": 0,
1151
+ "maximum": 1
1152
+ },
1153
+ "shadowColor": {
1154
+ "type": "string"
1155
+ },
1156
+ "cursor": {
1157
+ "type": "boolean"
1158
+ }
1159
+ }
1110
1160
  }
1111
1161
  }
1112
1162
  }