@vosjs/cli 0.67.6 → 0.68.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
@@ -19,7 +19,7 @@ import {
19
19
  stillOutFor,
20
20
  stillWarnings,
21
21
  videoFormat
22
- } from "./chunk-MDRYSHOF.js";
22
+ } from "./chunk-5GZ3GPAK.js";
23
23
  import {
24
24
  ASSET_ROUTE,
25
25
  MEDIA_HEAD_BYTES,
@@ -34,7 +34,7 @@ import {
34
34
  resolveMediaType,
35
35
  serveFile,
36
36
  unusedFlagsMessage
37
- } from "./chunk-C5VKACGQ.js";
37
+ } from "./chunk-FL3E27WE.js";
38
38
 
39
39
  // src/cli.ts
40
40
  import { writeFile } from "fs/promises";
@@ -833,7 +833,7 @@ async function cmdCheck(argv) {
833
833
  const result = runCheck(parsed);
834
834
  if (result.config) {
835
835
  const baseDir = baseDirOf(source);
836
- const { hostedLiteralWarnings } = await import("./assetManifest-DU5ZEIDE.js");
836
+ const { hostedLiteralWarnings } = await import("./assetManifest-3QYCLT2H.js");
837
837
  const extra = [
838
838
  ...baseDir ? missingManifestFiles(result.config, baseDir) : [],
839
839
  ...hostedLiteralWarnings(result.config)
@@ -867,7 +867,7 @@ async function cmdCheck(argv) {
867
867
  return result.ok ? EXIT_OK : EXIT_ERROR;
868
868
  }
869
869
  async function delegate(argv, viaAlias = false) {
870
- const { run } = await import("./run-4VSB2XHR.js");
870
+ const { run } = await import("./run-L4CDAJLT.js");
871
871
  if (viaAlias && argv[0]) {
872
872
  process.stderr.write(
873
873
  `note: "vos voila ${argv[0]}" is now "vos ${argv[0]}".
@@ -907,7 +907,7 @@ async function main() {
907
907
  const engine = HELP_ENGINE.split("\n").filter(
908
908
  (l) => l.startsWith(` vos ${cmd} `)
909
909
  );
910
- const { verbHelp } = await import("./run-4VSB2XHR.js");
910
+ const { verbHelp } = await import("./run-L4CDAJLT.js");
911
911
  const take = verbHelp(cmd);
912
912
  process.stdout.write(
913
913
  `${engine.join("\n")}
@@ -939,7 +939,7 @@ ${take.includes("no such verb") ? "" : take}`
939
939
  main().then(async (code) => {
940
940
  if (code === EXIT_OK) {
941
941
  const verb = process.argv[2] ?? "";
942
- const { HELP } = await import("./run-4VSB2XHR.js");
942
+ const { HELP } = await import("./run-L4CDAJLT.js");
943
943
  const documented = [
944
944
  ...helpFlagsFor(HELP_ENGINE, verb),
945
945
  ...helpFlagsFor(HELP, verb)
package/dist/index.d.ts CHANGED
@@ -340,6 +340,12 @@ interface MediaPullResult {
340
340
  bytes: number;
341
341
  }[];
342
342
  kept: string[];
343
+ /** Every hosted file now beside the take, downloaded or kept: its path
344
+ * here and the address it came from. */
345
+ hosted: {
346
+ file: string;
347
+ url: string;
348
+ }[];
343
349
  }
344
350
  declare function pullMedia(ctx: {
345
351
  origin: string;
@@ -545,6 +551,16 @@ interface SyncState {
545
551
  title?: string;
546
552
  slug?: string;
547
553
  remixOfId?: string;
554
+ /**
555
+ * The files `vos fetch --media` brought home, by their path in the
556
+ * directory: the hosted address each came from and its sha256 then. A
557
+ * claimable push of the take names these originals instead of uploading,
558
+ * and only while the bytes are unchanged.
559
+ */
560
+ hostedMedia?: Record<string, {
561
+ ref: string;
562
+ sha256: string;
563
+ }>;
548
564
  }
549
565
  /**
550
566
  * vos.json → legacy push.json ({vosId, versionId}) → legacy meta.json
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  startTakeServer,
15
15
  validateActions,
16
16
  waitForPageDone
17
- } from "./chunk-42ZU5XUW.js";
17
+ } from "./chunk-ZS3L7CEN.js";
18
18
  import {
19
19
  BrowserUnavailableError,
20
20
  configDuration,
@@ -23,13 +23,13 @@ import {
23
23
  previewPages,
24
24
  renderStill,
25
25
  renderVideo
26
- } from "./chunk-MDRYSHOF.js";
26
+ } from "./chunk-5GZ3GPAK.js";
27
27
  import {
28
28
  RECORDING_NAME,
29
29
  loadTake,
30
30
  pullMedia,
31
31
  takePaths
32
- } from "./chunk-OFTRK3Y3.js";
32
+ } from "./chunk-Y5E672GT.js";
33
33
  import {
34
34
  apiError,
35
35
  apiJson,
@@ -38,7 +38,7 @@ import {
38
38
  readSyncState,
39
39
  resolveCredential,
40
40
  writeSyncState
41
- } from "./chunk-C5VKACGQ.js";
41
+ } from "./chunk-FL3E27WE.js";
42
42
  import "./chunk-6XPFWQKP.js";
43
43
  import {
44
44
  manifest
@@ -6,10 +6,10 @@ import {
6
6
  takeBackdrop,
7
7
  takeBrowserArgs,
8
8
  verbHelp
9
- } from "./chunk-42ZU5XUW.js";
10
- import "./chunk-MDRYSHOF.js";
11
- import "./chunk-OFTRK3Y3.js";
12
- import "./chunk-C5VKACGQ.js";
9
+ } from "./chunk-ZS3L7CEN.js";
10
+ import "./chunk-5GZ3GPAK.js";
11
+ import "./chunk-Y5E672GT.js";
12
+ import "./chunk-FL3E27WE.js";
13
13
  import "./chunk-6XPFWQKP.js";
14
14
  export {
15
15
  HELP,
@@ -19,4 +19,4 @@ export {
19
19
  takeBrowserArgs,
20
20
  verbHelp
21
21
  };
22
- //# sourceMappingURL=run-4VSB2XHR.js.map
22
+ //# sourceMappingURL=run-L4CDAJLT.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vosjs/cli",
3
- "version": "0.67.6",
3
+ "version": "0.68.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",
@@ -51,13 +51,13 @@
51
51
  "acorn-walk": "^8.3.5",
52
52
  "mediabunny": "^1.55.7",
53
53
  "playwright": "^1.49.0",
54
- "@vosjs/core": "^0.29.1",
55
54
  "@vosjs/editor": "^1.6.0",
56
- "@vosjs/elements": "^0.12.0",
57
- "@vosjs/render-core": "^0.3.26",
55
+ "@vosjs/core": "^0.29.1",
58
56
  "@vosjs/shared": "^0.7.0",
59
- "@vosjs/timeline": "^0.5.0",
57
+ "@vosjs/render-core": "^0.3.27",
58
+ "@vosjs/elements": "^0.12.0",
60
59
  "@vosjs/studio-core": "^0.40.2",
60
+ "@vosjs/timeline": "^0.5.0",
61
61
  "@vosjs/tween": "^0.8.3"
62
62
  },
63
63
  "devDependencies": {