@vosjs/cli 0.53.5 → 0.54.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 +14 -0
- package/dist/{chunk-ZARSNMVY.js → chunk-M22MAUMZ.js} +1534 -181
- package/dist/chunk-M22MAUMZ.js.map +1 -0
- package/dist/{chunk-PJX3XE7G.js → chunk-SAWRKTRX.js} +260 -2
- package/dist/chunk-SAWRKTRX.js.map +1 -0
- package/dist/{chunk-2EHIFIYC.js → chunk-WZGCEAXB.js} +13 -1
- package/dist/chunk-WZGCEAXB.js.map +1 -0
- package/dist/cli.js +30 -13
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +6 -8
- package/dist/manifest-Q4QMVIYR.js +8 -0
- package/dist/{run-W5UTMIFU.js → run-UL7IYGQH.js} +3 -3
- package/package.json +7 -5
- package/skills/VERSION +1 -1
- package/skills/vos-port/SKILL.md +25 -22
- package/skills/vos-port/references/elements-and-context.md +53 -0
- package/dist/chunk-2EHIFIYC.js.map +0 -1
- package/dist/chunk-3OIYR5VL.js +0 -187
- package/dist/chunk-3OIYR5VL.js.map +0 -1
- package/dist/chunk-PJX3XE7G.js.map +0 -1
- package/dist/chunk-ZARSNMVY.js.map +0 -1
- package/dist/manifest-IG2WSARS.js +0 -8
- /package/dist/{manifest-IG2WSARS.js.map → manifest-Q4QMVIYR.js.map} +0 -0
- /package/dist/{run-W5UTMIFU.js.map → run-UL7IYGQH.js.map} +0 -0
package/README.md
CHANGED
|
@@ -183,6 +183,20 @@ A session never enters a take directory and never reaches vos.so: `vos push` ref
|
|
|
183
183
|
|
|
184
184
|
**Render time** (measured on an M-series laptop, 1080p): about 1.5x real time single-flight, of which several seconds are fixed browser launch and CDN module cost, so short takes are overhead-dominated and `--parallel` pays off on takes past roughly 30 s. 2K roughly doubles per-frame cost. Recording is real time plus a few seconds of encode.
|
|
185
185
|
|
|
186
|
+
## Bringing a finished piece
|
|
187
|
+
|
|
188
|
+
A video made in HyperFrames, Remotion or as a hand-rolled page is REWRITTEN into a vos program whose words and colours are data, so it keeps changing without code (the `vos-port` skill). Three verbs do the mechanical part:
|
|
189
|
+
|
|
190
|
+
```bash
|
|
191
|
+
vos port inventory ./piece # words, palette, faces (catalog or missing), media, scenes, gaps → port/inventory.json, plus stills from its render
|
|
192
|
+
vos port scaffold # port/program/: program.mjs (every word a bound element, every colour a key, knobs, a label per scene,
|
|
193
|
+
# a TODO per scene for the motion, a painter only when needed), doc.json (the score), config.json; port/REPORT.md
|
|
194
|
+
vos build port/program/program.mjs # real functions → config.json; refuses a module-scope read, syntax the page cannot run, non-JSON data
|
|
195
|
+
vos compare port/program --against ./piece/renders/render.mp4 # per-frame SSIM and source | vos | difference sheets; exit 1 under 0.95
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
`inventory` reads the page as a browser renders it (computed styles, not CSS text): a HyperFrames composition's root `data-*`, its `<audio data-start data-volume>`, the scenes its timeline reveals, and each word laid out where it settles in its scene (the piece's own `window.__timelines`, seeked). A page that paints on a canvas gets the words and faces its scripts name. `compare` needs ffmpeg on PATH; it judges every frame on its own, because one missing element is a frame's failure that an average would hide.
|
|
199
|
+
|
|
186
200
|
## The take directory
|
|
187
201
|
|
|
188
202
|
```
|