@vosjs/cli 0.71.0 → 0.72.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 +2 -2
- package/dist/{chunk-XB5XRE4Q.js → chunk-R4S6V4AC.js} +4 -4
- package/dist/chunk-R4S6V4AC.js.map +1 -0
- package/dist/cli.js +5 -15
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -1
- package/dist/{run-QPHIGP6N.js → run-5FF6WPOQ.js} +2 -2
- package/package.json +6 -6
- package/dist/chunk-XB5XRE4Q.js.map +0 -1
- /package/dist/{run-QPHIGP6N.js.map → run-5FF6WPOQ.js.map} +0 -0
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ npx vos render animation.json out.webm
|
|
|
15
15
|
|
|
16
16
|
Deterministic: the preview is the render, and every edit is a data patch to `doc.json`, never a re-record. Rendering is local and free at every resolution up to 4K, no watermark. The workflow skills for agents install with `npx skills add vosjs/skills` (`product-video` records and cuts one video, `vos-cut` cuts an existing recording, `launch-kit` ships the media with a release); `vos setup` runs that for you, and falls back to the copy of the catalog this package ships when skills.sh cannot be reached. A coding agent gets the whole procedure from one line: `Read https://vos.so/agent.md and do what it says.`
|
|
17
17
|
|
|
18
|
-
Until 0.9 the take pipeline and the vos.so verbs shipped separately as `@vosso/vos-plugin`, and before that as `@vosso/cli
|
|
18
|
+
Until 0.9 the take pipeline and the vos.so verbs shipped separately as `@vosso/vos-plugin`, and before that as `@vosso/cli`; those names are deprecated on npm and forward here.
|
|
19
19
|
|
|
20
20
|
## Contents
|
|
21
21
|
|
|
@@ -369,7 +369,7 @@ vos push /tmp/take --label "$TAG launch" --yes --json # VOS_API_KEY as a r
|
|
|
369
369
|
- **`--max-duration <s>`** on `record` and `create` defaults to the hosted recording cap, read live from `GET /api/limits` (2 s, fail-open to 30 min when the origin is unreachable): the capture stops there and the done event says so. Cut the flow rather than raising the cap; the platform refuses a longer take.
|
|
370
370
|
- **`create`** is the one-shot verb: record, auto-plan and render in one command and one browser session. The take directory still lands on disk, so the full loop (frames, edit `doc.json`, re-render) stays open afterwards.
|
|
371
371
|
- **`vos validate <thing>`** takes an `actions.json`, a take directory, a program directory (`config.json`, plus its program document when present), or a `kit.json`; exit 1 on any problem.
|
|
372
|
-
- **Environment.** `VOS_ORIGIN` (the platform, and the studio `vos open` opens), `VOS_API_KEY`, `VOS_BROWSER_PATH`, `VOS_CLIENT` (the client string a push self-reports; unset, a push names the coding agent that spawned the CLI, read from its environment the way `@vercel/detect-agent` reads it, e.g. `claude-code vos-cli`, else `vos-cli`).
|
|
372
|
+
- **Environment.** `VOS_ORIGIN` (the platform, and the studio `vos open` opens), `VOS_API_KEY`, `VOS_BROWSER_PATH`, `VOS_CLIENT` (the client string a push self-reports; unset, a push names the coding agent that spawned the CLI, read from its environment the way `@vercel/detect-agent` reads it, e.g. `claude-code vos-cli`, else `vos-cli`).
|
|
373
373
|
|
|
374
374
|
## Programmatic use
|
|
375
375
|
|
|
@@ -2400,7 +2400,7 @@ async function renderChunk(context2, serverBase, chunk, opts, onChunkProgress) {
|
|
|
2400
2400
|
bitrate: opts.bitrate ?? 1e7,
|
|
2401
2401
|
mediabunnyUrl: MEDIABUNNY_URL,
|
|
2402
2402
|
outName,
|
|
2403
|
-
debug: process.env.
|
|
2403
|
+
debug: process.env.VOS_DEBUG_CHUNKS === "1",
|
|
2404
2404
|
audioProducerCode: audio?.producerCode,
|
|
2405
2405
|
audioDataJson: audio ? JSON.stringify(audio.data) : void 0,
|
|
2406
2406
|
audioDuration: audio?.duration
|
|
@@ -3226,7 +3226,7 @@ function parseTranscript(raw) {
|
|
|
3226
3226
|
}
|
|
3227
3227
|
|
|
3228
3228
|
// src/plugin/framesTake.ts
|
|
3229
|
-
var VIDEO_TOKEN = "
|
|
3229
|
+
var VIDEO_TOKEN = "__VOS_CLI_VIDEO__";
|
|
3230
3230
|
function stillSupersample(w, h) {
|
|
3231
3231
|
return Math.min(3, Math.max(1, Math.ceil(1800 / Math.max(1, w, h))));
|
|
3232
3232
|
}
|
|
@@ -3512,7 +3512,7 @@ import {
|
|
|
3512
3512
|
resolveExportSize as resolveExportSize2,
|
|
3513
3513
|
studioAudioPlan
|
|
3514
3514
|
} from "@vosjs/studio-core";
|
|
3515
|
-
var VIDEO_TOKEN2 = "
|
|
3515
|
+
var VIDEO_TOKEN2 = "__VOS_CLI_VIDEO__";
|
|
3516
3516
|
async function renderTake(browser, dir, outFile, opts) {
|
|
3517
3517
|
const take = await loadTake(dir);
|
|
3518
3518
|
if (!take.doc) throw new Error(`${dir} has no doc.json \u2014 run plan first`);
|
|
@@ -14328,4 +14328,4 @@ export {
|
|
|
14328
14328
|
verbHelp,
|
|
14329
14329
|
run
|
|
14330
14330
|
};
|
|
14331
|
-
//# sourceMappingURL=chunk-
|
|
14331
|
+
//# sourceMappingURL=chunk-R4S6V4AC.js.map
|