@vosjs/cli 0.49.0 → 0.50.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 +12 -0
- package/dist/{chunk-P3X5KVA6.js → chunk-2EHIFIYC.js} +5 -1
- package/dist/chunk-2EHIFIYC.js.map +1 -0
- package/dist/{chunk-TAWRT7UM.js → chunk-SE4F3OMQ.js} +315 -101
- package/dist/chunk-SE4F3OMQ.js.map +1 -0
- package/dist/cli.js +4 -4
- package/dist/index.js +2 -2
- package/dist/manifest-IG2WSARS.js +8 -0
- package/dist/{run-EQZXEPXZ.js → run-HCAKVJZ3.js} +4 -2
- package/package.json +4 -4
- package/schema/digest.schema.json +4 -1
- package/dist/chunk-P3X5KVA6.js.map +0 -1
- package/dist/chunk-TAWRT7UM.js.map +0 -1
- package/dist/manifest-A4R367EM.js +0 -8
- /package/dist/{manifest-A4R367EM.js.map → manifest-IG2WSARS.js.map} +0 -0
- /package/dist/{run-EQZXEPXZ.js.map → run-HCAKVJZ3.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-HCAKVJZ3.js");
|
|
515
515
|
if (viaAlias && argv[0]) {
|
|
516
516
|
process.stderr.write(
|
|
517
517
|
`note: "vos voila ${argv[0]}" is now "vos ${argv[0]}".
|
|
@@ -522,7 +522,7 @@ async function delegate(argv, viaAlias = false) {
|
|
|
522
522
|
}
|
|
523
523
|
async function printHelp() {
|
|
524
524
|
process.stdout.write(HELP_ENGINE);
|
|
525
|
-
const { manifest } = await import("./manifest-
|
|
525
|
+
const { manifest } = await import("./manifest-IG2WSARS.js");
|
|
526
526
|
process.stdout.write("\nTake pipeline + vos.so verbs\n");
|
|
527
527
|
for (const v of manifest.verbs) {
|
|
528
528
|
if (v.name === "render") continue;
|
|
@@ -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-HCAKVJZ3.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-HCAKVJZ3.js");
|
|
587
587
|
const documented = [
|
|
588
588
|
...helpFlagsFor(HELP_ENGINE, verb),
|
|
589
589
|
...helpFlagsFor(HELP, verb)
|
package/dist/index.js
CHANGED
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
validateActions,
|
|
31
31
|
waitForPageDone,
|
|
32
32
|
writeSyncState
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-SE4F3OMQ.js";
|
|
34
34
|
import {
|
|
35
35
|
BrowserUnavailableError,
|
|
36
36
|
configDuration,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
import "./chunk-72ADTMWW.js";
|
|
41
41
|
import {
|
|
42
42
|
manifest
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-2EHIFIYC.js";
|
|
44
44
|
export {
|
|
45
45
|
BrowserUnavailableError,
|
|
46
46
|
RECORDING_NAME,
|
|
@@ -3,16 +3,18 @@ import {
|
|
|
3
3
|
HELP,
|
|
4
4
|
MULTI_FLAGS,
|
|
5
5
|
run,
|
|
6
|
+
takeBackdrop,
|
|
6
7
|
takeBrowserArgs,
|
|
7
8
|
verbHelp
|
|
8
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SE4F3OMQ.js";
|
|
9
10
|
import "./chunk-FACYY7VV.js";
|
|
10
11
|
import "./chunk-72ADTMWW.js";
|
|
11
12
|
export {
|
|
12
13
|
HELP,
|
|
13
14
|
MULTI_FLAGS,
|
|
14
15
|
run,
|
|
16
|
+
takeBackdrop,
|
|
15
17
|
takeBrowserArgs,
|
|
16
18
|
verbHelp
|
|
17
19
|
};
|
|
18
|
-
//# sourceMappingURL=run-
|
|
20
|
+
//# sourceMappingURL=run-HCAKVJZ3.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vosjs/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.50.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",
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"mediabunny": "^1.55.7",
|
|
51
51
|
"playwright": "^1.49.0",
|
|
52
|
-
"@vosjs/editor": "^1.3.1",
|
|
53
52
|
"@vosjs/core": "^0.25.0",
|
|
54
|
-
"@vosjs/
|
|
53
|
+
"@vosjs/editor": "^1.3.1",
|
|
55
54
|
"@vosjs/elements": "^0.8.1",
|
|
55
|
+
"@vosjs/render-core": "^0.3.1",
|
|
56
56
|
"@vosjs/shared": "^0.4.1",
|
|
57
|
-
"@vosjs/studio-core": "^0.
|
|
57
|
+
"@vosjs/studio-core": "^0.31.0",
|
|
58
58
|
"@vosjs/timeline": "^0.4.1",
|
|
59
59
|
"@vosjs/tween": "^0.8.2"
|
|
60
60
|
},
|
|
@@ -36,7 +36,10 @@
|
|
|
36
36
|
},
|
|
37
37
|
"frameHeight": { "type": ["number", "null"] },
|
|
38
38
|
"surface": { "type": "string", "enum": ["tab", "window", "monitor"] },
|
|
39
|
-
"producer": {
|
|
39
|
+
"producer": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"enum": ["extension", "cli", "ingest"]
|
|
42
|
+
},
|
|
40
43
|
"pageUrl": { "type": ["string", "null"] },
|
|
41
44
|
"pageTitle": { "type": ["string", "null"] },
|
|
42
45
|
"hasMic": { "type": "boolean" },
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/plugin/manifest.ts"],"sourcesContent":["/**\n * The verb manifest of the take pipeline and the vos.so verbs — what\n * `vos help` lists under the engine verbs. It kept the shape a separately\n * installed plugin once handed the host (name + host range), so a script\n * reading it keeps working.\n */\nexport interface PluginVerb {\n name: string\n summary: string\n}\n\nexport interface PluginManifest {\n name: string\n /** Host versions this plugin speaks the run(argv) contract with. */\n hostRange: string\n verbs: PluginVerb[]\n}\n\nexport const manifest: PluginManifest = {\n name: '@vosjs/cli',\n hostRange: '>=0.9.0',\n verbs: [\n {\n name: 'create',\n summary: 'record + auto-plan + render, one command (--strict)',\n },\n {\n name: 'record',\n summary: 'drive actions.json into a take (screencast + cursor track)',\n },\n {\n name: 'plan',\n summary:\n 'plan zoom/cursor effects into doc.json (wand contract); --reuse re-times a previous cut onto a re-recording',\n },\n {\n name: 'render',\n summary: 'render a take directory (engine configs render in the host)',\n },\n {\n name: 'frames',\n summary:\n 'PNG stills at output times / zoom apexes / moments / exact sizes',\n },\n {\n name: 'deliver',\n summary:\n 'render a take to release destinations (CWS, Product Hunt, X, LinkedIn, OG…) + verified kit.json',\n },\n {\n name: 'digest',\n summary:\n 'see a recording before cutting it: moments (clicks, typing, scrolls, idle, scenes) + footage frames + crops, in doc units',\n },\n { name: 'open', summary: 'serve the take into the vos.so studio' },\n {\n name: 'validate',\n summary:\n 'lint actions.json, a take dir (doc.json semantics), or re-measure a kit.json against the channel specs',\n },\n {\n name: 'actions',\n summary:\n 'from-agent-browser: turn an agent-browser walk (steps.jsonl) into actions.json; what cannot follow is named',\n },\n {\n name: 'brand',\n summary:\n \"write a product's BRAND.md, witnessed: /design.md, /llms.txt, then the page (palette, faces, marks, the avoid list)\",\n },\n {\n name: 'fetch',\n summary: 'download a hosted program: config.json + vos.json tracking',\n },\n {\n name: 'push',\n summary: 'push a config.json or take to vos.so (private; versioned)',\n },\n {\n name: 'duplicate',\n summary:\n 'a private sibling of your OWN vos (someone else\\u2019s is remixed: fetch + push --remix-of)',\n },\n {\n name: 'pull',\n summary:\n 'sync what changed on vos.so since your base (--media brings a take’s footage home)',\n },\n {\n name: 'folder',\n summary:\n 'list/create/pull folders, move voses and assets into them (pull = the context package on disk)',\n },\n {\n name: 'asset',\n summary: 'rename one of your assets in place (recipes included)',\n },\n {\n name: 'recipe',\n summary:\n 'push a recipe .md into a folder, or replace one in place (prior body kept)',\n },\n {\n name: 'login',\n summary: 'sign in via the browser (or --key); stores a content key',\n },\n {\n name: 'setup',\n summary:\n 'ready this machine: the vos skills into your agent, a browser, one rules block, then doctor',\n },\n {\n name: 'doctor',\n summary:\n 'what is ready, in words: node, browser, ffmpeg, skills, a credential (never printed), the dev server',\n },\n {\n name: 'whoami',\n summary: 'the key’s name and the account it belongs to, never the key',\n },\n { name: 'logout', summary: 'remove ~/.config/vos/credentials' },\n ],\n}\n"],"mappings":";;;AAkBO,IAAM,WAA2B;AAAA,EACtC,MAAM;AAAA,EACN,WAAW;AAAA,EACX,OAAO;AAAA,IACL;AAAA,MACE,MAAM;AAAA,MACN,SAAS;AAAA,IACX;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,SAAS;AAAA,IACX;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,SACE;AAAA,IACJ;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,SAAS;AAAA,IACX;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,SACE;AAAA,IACJ;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN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