popost 4.6.9 → 4.6.11

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.
Files changed (89) hide show
  1. package/README.md +2 -0
  2. package/SKILL.md +6 -2
  3. package/assets/canvas/assets/{dist-CX2mxpwq.js → dist-DAI3U0Jz.js} +1 -1
  4. package/assets/canvas/assets/{es-BFnFFu6P.js → es-3zEBH4X5.js} +1 -1
  5. package/assets/canvas/assets/index-Ce4sDSi9.css +1 -0
  6. package/assets/canvas/assets/{index-CwqBT_rk.js → index-Dc4qgNYJ.js} +4 -4
  7. package/assets/canvas/assets/{jszip.min-DqfCBLrH.js → jszip.min-BwYI3Gs3.js} +1 -1
  8. package/assets/canvas/build-info.json +6 -6
  9. package/assets/canvas/index.html +2 -2
  10. package/dist/cli.js +30544 -27776
  11. package/dist/index.js +30295 -27591
  12. package/dist/types/cloud/account.d.ts +14 -0
  13. package/dist/types/cloud/deliver.d.ts +29 -0
  14. package/dist/types/cloud/entitlement.d.ts +55 -0
  15. package/dist/types/cloud/paid-gate.d.ts +159 -0
  16. package/dist/types/cloud/service.d.ts +68 -23
  17. package/dist/types/commands/link-platforms.d.ts +2 -0
  18. package/dist/types/commands/update.d.ts +2 -0
  19. package/dist/types/device-login.d.ts +35 -0
  20. package/dist/types/editor/canvas-state.d.ts +1 -1
  21. package/dist/types/editor/handoff.d.ts +12 -3
  22. package/dist/types/editor/http-types.d.ts +4 -1
  23. package/dist/types/editor/routes-cloud.d.ts +4 -3
  24. package/dist/types/install/agents.d.ts +36 -11
  25. package/dist/types/install/record.d.ts +15 -0
  26. package/dist/types/providers/api-errors.d.ts +2 -0
  27. package/dist/types/providers/api.d.ts +3 -1
  28. package/dist/types/providers/link.d.ts +2 -0
  29. package/dist/types/providers/pricing.d.ts +11 -0
  30. package/dist/types/runtime.d.ts +38 -0
  31. package/dist/types/update/auto.d.ts +14 -0
  32. package/dist/types/update/check.d.ts +47 -0
  33. package/dist/types/update/install-kind.d.ts +27 -0
  34. package/dist/types/update/npm.d.ts +8 -0
  35. package/dist/types/update/perform.d.ts +64 -0
  36. package/dist/types/update/report.d.ts +7 -0
  37. package/dist/types/update/semver.d.ts +17 -0
  38. package/dist/types/update/session.d.ts +19 -0
  39. package/dist/types/update/state.d.ts +91 -0
  40. package/dist/types/update/verify.d.ts +33 -0
  41. package/dist/types/version.d.ts +1 -1
  42. package/dist/types/video/cache/frames.d.ts +85 -0
  43. package/dist/types/video/cache/holds.d.ts +35 -0
  44. package/dist/types/video/cache/project.d.ts +57 -0
  45. package/dist/types/video/commands/clean.d.ts +9 -0
  46. package/dist/types/video/commands/product.d.ts +15 -0
  47. package/dist/types/video/compile/footage.d.ts +24 -7
  48. package/dist/types/video/compile/index.d.ts +3 -0
  49. package/dist/types/video/generate/index.d.ts +13 -1
  50. package/dist/types/video/preview/cloud.d.ts +20 -1
  51. package/dist/types/video/preview/edit/routes.d.ts +17 -11
  52. package/dist/types/video/preview/export-settings.d.ts +1 -2
  53. package/dist/types/video/preview/project.d.ts +3 -0
  54. package/dist/types/video/preview/shell/dom.d.ts +2 -0
  55. package/dist/types/video/preview/shell/footage.d.ts +2 -1
  56. package/dist/types/video/preview/shell/i18n.d.ts +1 -1
  57. package/dist/types/video/preview/shell/studio/cloud.d.ts +6 -1
  58. package/dist/types/video/preview/shell/studio/compare.d.ts +16 -0
  59. package/dist/types/video/preview/shell/studio/copy.d.ts +24 -3
  60. package/dist/types/video/preview/shell/studio/paid.d.ts +23 -0
  61. package/dist/types/video/preview/shell/studio/style.d.ts +2 -2
  62. package/dist/types/video/preview/shell/studio/workspace.d.ts +2 -0
  63. package/dist/types/video/preview/shell-bundle.d.ts +1 -1
  64. package/dist/types/video/product/requests.d.ts +74 -0
  65. package/dist/types/video/product/review.d.ts +74 -0
  66. package/dist/types/video/product/sheet.d.ts +99 -0
  67. package/dist/types/video/project/schema.d.ts +21 -21
  68. package/dist/types/video/render/index.d.ts +2 -0
  69. package/dist/types/video/render/session.d.ts +4 -0
  70. package/dist/types/video/replication/contract.d.ts +29 -29
  71. package/dist/types/video/replication/production.d.ts +5 -5
  72. package/dist/types/video/replication/schema.d.ts +2 -2
  73. package/dist/types/video/replication/speech-observed.d.ts +6 -6
  74. package/package.json +1 -1
  75. package/references/host-editor.md +33 -8
  76. package/references/image-workflow.md +6 -6
  77. package/references/onboarding.md +23 -3
  78. package/references/post-bundle.md +7 -7
  79. package/references/video-editing.md +19 -7
  80. package/references/video-performers.md +2 -2
  81. package/references/video-product.md +174 -0
  82. package/references/video-replication.md +1 -1
  83. package/references/video-step-1-read.md +15 -1
  84. package/references/video-step-3-content.md +14 -6
  85. package/references/video-step-7-deliver.md +36 -1
  86. package/references/video-tools.md +43 -7
  87. package/references/video.md +5 -0
  88. package/assets/canvas/assets/index-C5rz5H21.css +0 -1
  89. package/dist/types/cloud/auth-flow.d.ts +0 -30
@@ -0,0 +1,74 @@
1
+ import type { Runtime } from '../../runtime';
2
+ import type { Problem } from '../types';
3
+ import { type LoadedSheet, type Product, type ProductSheet } from './sheet';
4
+ /** What the model of the clips takes, when the generator says (popost video generate --models). */
5
+ export interface ReferenceLimits {
6
+ model?: string;
7
+ maxReferenceImages?: number;
8
+ frames?: boolean;
9
+ }
10
+ /** The fields of a material request the product rules read. */
11
+ export interface ProductRequest {
12
+ file?: string;
13
+ prompt?: string;
14
+ seconds?: number;
15
+ products?: string[];
16
+ images?: string[];
17
+ cast?: string[];
18
+ firstFrame?: string;
19
+ lastFrame?: string;
20
+ continues?: string;
21
+ }
22
+ export interface ProductPolicy {
23
+ loaded: LoadedSheet;
24
+ /** The limits of the model in use; undefined when they could not be read (unread says why). */
25
+ limits?: ReferenceLimits;
26
+ unread?: string;
27
+ /** How many identity pictures a role of the cast brings (0 for a role defined in the prompt alone). */
28
+ castPictures?: (role: string) => number;
29
+ /** True when the list is about to be paid for: inferred facts the user has not confirmed then stop it. */
30
+ paying?: boolean;
31
+ /** materials --check: a project without a sheet whose list reads like a product is in it is told so (advice, as the check gives). */
32
+ hint?: boolean;
33
+ }
34
+ /** Whether a text says one of the product's names: whole words for Latin letters (a plural counts), anywhere for other scripts. */
35
+ export declare const mentions: (text: string, p: Product) => string | undefined;
36
+ /** The products a request shows, in the order it lists them; [] when it lists none or the sheet does not have them. */
37
+ export declare const shownProducts: (sheet: ProductSheet | undefined, r: ProductRequest) => Product[];
38
+ /** What a clip that shows a product was sent with: kept beside the clip, for the product check and the delivery notes. */
39
+ export interface ProductReceipt {
40
+ version: 1;
41
+ products: {
42
+ id: string;
43
+ pictures: {
44
+ file: string;
45
+ sha256: string;
46
+ }[];
47
+ references: number[];
48
+ block: string;
49
+ }[];
50
+ /** True for a clip that started from a frame: the pictures could not go with it, the product was in its first frame. */
51
+ fromFrame?: true;
52
+ }
53
+ export declare const receiptFile: (clip: string) => string;
54
+ /**
55
+ * A request as it is sent: with every picture of the products it shows among its reference pictures and their blocks
56
+ * after its own words. A clip made from frames keeps its frames and gets the block alone. undefined: it shows none.
57
+ */
58
+ export declare const withProducts: <R extends ProductRequest & {
59
+ prompt: string;
60
+ }>(r: R, sheet: ProductSheet | undefined) => {
61
+ request: R;
62
+ receipt: ProductReceipt;
63
+ } | undefined;
64
+ /** From this length on, a clip that handles the product in several actions is asked whether each could be its own clip. */
65
+ export declare const LONG_PRODUCT_CLIP = 10;
66
+ /**
67
+ * What is wrong with a list of requests as to the product. No sheet: a request that names products is refused, and a
68
+ * list that reads like a product is in it is told so once.
69
+ * With a sheet: its own problems, the confirmation of what was inferred, and each request's declaration, references
70
+ * and frames.
71
+ */
72
+ export declare const productRequestProblems: (rt: Runtime, requests: readonly unknown[], dir: string, policy: ProductPolicy) => Promise<Problem[]>;
73
+ /** How many identity pictures each role of the project's cast brings to a clip: 1 once its picture is there, else 0. */
74
+ export declare const castPictureCount: (rt: Runtime, dir: string) => Promise<(role: string) => number>;
@@ -0,0 +1,74 @@
1
+ import type { Runtime } from '../../runtime';
2
+ import type { Problem } from '../types';
3
+ import type { Product } from './sheet';
4
+ export declare const REVIEW_FILE = "production/product-review.json";
5
+ export type Verdict = 'pending' | 'passed' | 'failed' | 'unseen';
6
+ /** What is compared, frame by frame, between the user's picture and the file. */
7
+ export declare const ASPECTS: readonly ["shape and outline", "proportions (height to width, tip or cap to body)", "size against the hand, face or body", "printed text, letter by letter", "colours and where each is", "parts (cap, tip, pump, lid) and how they move", "count", "how it is held and used"];
8
+ export interface ReviewEntry {
9
+ /** The bytes that were looked at. */
10
+ sha256: string;
11
+ products: string[];
12
+ sheets: string[];
13
+ /** The seconds of the file the sheets show. */
14
+ seconds: number[];
15
+ status: Verdict;
16
+ by?: 'agent' | 'user';
17
+ /** What was compared and found; for by "user", their words. */
18
+ note?: string;
19
+ at?: string;
20
+ }
21
+ export interface ReviewRecord {
22
+ version: 1;
23
+ files: Record<string, ReviewEntry>;
24
+ }
25
+ export declare const readReview: (rt: Runtime, dir: string) => Promise<ReviewRecord>;
26
+ /** A file as the record names it: its path in the project, with forward slashes; a file outside it by its full path. */
27
+ export declare const keyOf: (rt: Runtime, dir: string, file: string) => string;
28
+ /** The opening, the middle and the end of a file of `seconds`: not the very first or last frame, which a fade or a cut may own. */
29
+ export declare const defaultSeconds: (seconds: number) => number[];
30
+ export declare const FRAMES_A_SHEET = 4;
31
+ export interface CheckSheet {
32
+ file: string;
33
+ pictures: string[];
34
+ seconds: number[];
35
+ }
36
+ /**
37
+ * Writes the check sheets of a file for the products it shows and sets its review to pending for these bytes.
38
+ * seconds: the moments to show (default: opening, middle, end); out: the sheets' folder (default review/product).
39
+ */
40
+ export declare const buildCheckSheets: (rt: Runtime, o: {
41
+ dir: string;
42
+ file: string;
43
+ products: readonly Product[];
44
+ seconds?: readonly number[];
45
+ out?: string;
46
+ }) => Promise<{
47
+ key: string;
48
+ sheets: CheckSheet[];
49
+ entry: ReviewEntry;
50
+ }>;
51
+ /** Records the verdict for a file whose sheets were built from these very bytes. */
52
+ export declare const recordVerdict: (rt: Runtime, o: {
53
+ dir: string;
54
+ file: string;
55
+ status: Exclude<Verdict, "pending">;
56
+ by: "agent" | "user";
57
+ note: string;
58
+ }) => Promise<ReviewEntry>;
59
+ export interface ReviewLine {
60
+ file: string;
61
+ products: string[];
62
+ status: Verdict | 'unchecked';
63
+ used: boolean;
64
+ sheets?: string[];
65
+ note?: string;
66
+ }
67
+ /**
68
+ * How the product check stands: every file materials made with a product (its receipt is beside it), and the final
69
+ * video when one is named, with the verdict for its bytes as they are. used: the project's video.json shows the file
70
+ * (every file counts while there is no video.json yet).
71
+ */
72
+ export declare const reviewStatus: (rt: Runtime, dir: string, final?: string) => Promise<ReviewLine[]>;
73
+ /** What stands between the project and its delivery: every used file that shows the product, and the final video, passed for its bytes. */
74
+ export declare const deliveryProblems: (lines: readonly ReviewLine[]) => Problem[];
@@ -0,0 +1,99 @@
1
+ import type { Runtime } from '../../runtime';
2
+ import type { Problem } from '../types';
3
+ export declare const PRODUCT_FILE = "production/product.json";
4
+ /** Where product init puts the user's pictures in the project. */
5
+ export declare const PRODUCT_DIR = "assets/product";
6
+ export type FactSource = 'user' | 'picture' | 'usage';
7
+ export declare const FACT_SOURCES: readonly FactSource[];
8
+ /** One fact of the product: what holds, and where it comes from. quote: the user's own words, for from "user". */
9
+ export interface Fact {
10
+ value: string;
11
+ from: FactSource;
12
+ quote?: string;
13
+ }
14
+ /** A picture of the product as the user gave it. also: what else is in it (a person, a screen), never taken from it. */
15
+ export interface ProductPicture {
16
+ file: string;
17
+ sha256: string;
18
+ also?: string;
19
+ }
20
+ /** A still composed from a real picture (the picture placed on a ground or in a hand, its product pixels unchanged): the first frame of a clip that starts on the product. */
21
+ export interface ProductStill {
22
+ file: string;
23
+ sha256: string;
24
+ made: string;
25
+ }
26
+ /** The facts every product has, in the order the block says them; material and parts may be left out. */
27
+ export declare const REQUIRED_FACTS: readonly ["what", "label", "shape", "size", "sizeAnchor", "colour", "use", "quantity"];
28
+ export declare const OPTIONAL_FACTS: readonly ["material", "parts"];
29
+ export declare const FACTS: readonly ["what", "label", "shape", "size", "sizeAnchor", "colour", "use", "quantity", "material", "parts"];
30
+ export type FactKey = (typeof FACTS)[number];
31
+ /** What each fact says, for the skeleton, the messages and the line shown to the user. */
32
+ export declare const FACT_HELP: Readonly<Record<FactKey, string>>;
33
+ export interface Product {
34
+ id: string;
35
+ /** The words a request calls it by (its name, its kind): a request that says one of them shows it. */
36
+ names: string[];
37
+ pictures: ProductPicture[];
38
+ stills?: ProductStill[];
39
+ /** What must be the same in every frame, each said as what is there ("the long cone tip stays on, uncapped"). */
40
+ constant: string[];
41
+ what: Fact;
42
+ label: Fact;
43
+ shape: Fact;
44
+ size: Fact;
45
+ sizeAnchor: Fact;
46
+ colour: Fact;
47
+ use: Fact;
48
+ quantity: Fact;
49
+ material?: Fact;
50
+ parts?: Fact;
51
+ }
52
+ /** by "user": the user's answer, quoted. by "unattended": nobody could be asked; who authorised going on, and it is said at delivery. */
53
+ export interface Confirmation {
54
+ by: 'user' | 'unattended';
55
+ quote: string;
56
+ facts: string;
57
+ at: string;
58
+ }
59
+ export interface ProductSheet {
60
+ version: 1;
61
+ products: Product[];
62
+ confirmation?: Confirmation;
63
+ }
64
+ /** The label of a product nothing is printed on. */
65
+ export declare const NO_LABEL = "none";
66
+ /** An inferred fact: one the user did not state. */
67
+ export interface Inferred {
68
+ product: string;
69
+ fact: FactKey;
70
+ value: string;
71
+ from: FactSource;
72
+ }
73
+ /** The facts of a sheet the user did not state, in the order they are written. */
74
+ export declare const inferredFacts: (sheet: ProductSheet) => Inferred[];
75
+ /** The hash a confirmation is bound to: the inferred facts as they stand. */
76
+ export declare const inferredHash: (sheet: ProductSheet) => string;
77
+ /** "confirmed": nothing inferred, or the user answered for these very facts; "unattended": recorded as going on without the user; "open": to ask. */
78
+ export declare const confirmationOf: (sheet: ProductSheet) => "confirmed" | "unattended" | "open";
79
+ /** The one line the user is shown with the plan and its cost: what was inferred, to correct or agree to. */
80
+ export declare const confirmLine: (sheet: ProductSheet) => string;
81
+ /**
82
+ * What the product is, as every request that shows it says it: built from the sheet alone, so the same sheet gives
83
+ * the same text, byte for byte, in every clip. Stated as what is there, never as a list of things to avoid.
84
+ */
85
+ export declare const productBody: (p: Product) => string;
86
+ /**
87
+ * The product block of one request: where the product's pictures are among the request's reference pictures
88
+ * (indexes, from 1), then the body. Without pictures (a clip that starts from a frame takes no references) the
89
+ * product is the one in the first frame.
90
+ */
91
+ export declare const productBlock: (p: Product, indexes: readonly number[]) => string;
92
+ export interface LoadedSheet {
93
+ sheet?: ProductSheet;
94
+ problems: Problem[];
95
+ }
96
+ /** The sheet of a project with what is wrong with it; no sheet and no problems when the project has none. */
97
+ export declare const readProductSheet: (rt: Runtime, dir: string) => Promise<LoadedSheet>;
98
+ /** The skeleton of a product for the pictures the user gave. */
99
+ export declare const skeleton: (id: string, pictures: ProductPicture[]) => Product;
@@ -352,8 +352,8 @@ export declare const SegmentSchema: z.ZodObject<{
352
352
  export declare const MotionSchema: z.ZodObject<{
353
353
  preset: z.ZodEnum<{
354
354
  pop: "pop";
355
- type: "type";
356
355
  none: "none";
356
+ type: "type";
357
357
  fade: "fade";
358
358
  wipe: "wipe";
359
359
  slide: "slide";
@@ -600,8 +600,8 @@ export declare const TextTrackSchema: z.ZodObject<{
600
600
  enter: z.ZodOptional<z.ZodObject<{
601
601
  preset: z.ZodEnum<{
602
602
  pop: "pop";
603
- type: "type";
604
603
  none: "none";
604
+ type: "type";
605
605
  fade: "fade";
606
606
  wipe: "wipe";
607
607
  slide: "slide";
@@ -627,8 +627,8 @@ export declare const TextTrackSchema: z.ZodObject<{
627
627
  exit: z.ZodOptional<z.ZodObject<{
628
628
  preset: z.ZodEnum<{
629
629
  pop: "pop";
630
- type: "type";
631
630
  none: "none";
631
+ type: "type";
632
632
  fade: "fade";
633
633
  wipe: "wipe";
634
634
  slide: "slide";
@@ -704,8 +704,8 @@ export declare const ImageTrackSchema: z.ZodObject<{
704
704
  enter: z.ZodOptional<z.ZodObject<{
705
705
  preset: z.ZodEnum<{
706
706
  pop: "pop";
707
- type: "type";
708
707
  none: "none";
708
+ type: "type";
709
709
  fade: "fade";
710
710
  wipe: "wipe";
711
711
  slide: "slide";
@@ -731,8 +731,8 @@ export declare const ImageTrackSchema: z.ZodObject<{
731
731
  exit: z.ZodOptional<z.ZodObject<{
732
732
  preset: z.ZodEnum<{
733
733
  pop: "pop";
734
- type: "type";
735
734
  none: "none";
735
+ type: "type";
736
736
  fade: "fade";
737
737
  wipe: "wipe";
738
738
  slide: "slide";
@@ -815,8 +815,8 @@ export declare const ShapeTrackSchema: z.ZodObject<{
815
815
  enter: z.ZodOptional<z.ZodObject<{
816
816
  preset: z.ZodEnum<{
817
817
  pop: "pop";
818
- type: "type";
819
818
  none: "none";
819
+ type: "type";
820
820
  fade: "fade";
821
821
  wipe: "wipe";
822
822
  slide: "slide";
@@ -842,8 +842,8 @@ export declare const ShapeTrackSchema: z.ZodObject<{
842
842
  exit: z.ZodOptional<z.ZodObject<{
843
843
  preset: z.ZodEnum<{
844
844
  pop: "pop";
845
- type: "type";
846
845
  none: "none";
846
+ type: "type";
847
847
  fade: "fade";
848
848
  wipe: "wipe";
849
849
  slide: "slide";
@@ -928,8 +928,8 @@ export declare const VideoTrackSchema: z.ZodObject<{
928
928
  enter: z.ZodOptional<z.ZodObject<{
929
929
  preset: z.ZodEnum<{
930
930
  pop: "pop";
931
- type: "type";
932
931
  none: "none";
932
+ type: "type";
933
933
  fade: "fade";
934
934
  wipe: "wipe";
935
935
  slide: "slide";
@@ -955,8 +955,8 @@ export declare const VideoTrackSchema: z.ZodObject<{
955
955
  exit: z.ZodOptional<z.ZodObject<{
956
956
  preset: z.ZodEnum<{
957
957
  pop: "pop";
958
- type: "type";
959
958
  none: "none";
959
+ type: "type";
960
960
  fade: "fade";
961
961
  wipe: "wipe";
962
962
  slide: "slide";
@@ -1131,8 +1131,8 @@ export declare const CaptionTrackSchema: z.ZodObject<{
1131
1131
  enter: z.ZodOptional<z.ZodObject<{
1132
1132
  preset: z.ZodEnum<{
1133
1133
  pop: "pop";
1134
- type: "type";
1135
1134
  none: "none";
1135
+ type: "type";
1136
1136
  fade: "fade";
1137
1137
  wipe: "wipe";
1138
1138
  slide: "slide";
@@ -1158,8 +1158,8 @@ export declare const CaptionTrackSchema: z.ZodObject<{
1158
1158
  exit: z.ZodOptional<z.ZodObject<{
1159
1159
  preset: z.ZodEnum<{
1160
1160
  pop: "pop";
1161
- type: "type";
1162
1161
  none: "none";
1162
+ type: "type";
1163
1163
  fade: "fade";
1164
1164
  wipe: "wipe";
1165
1165
  slide: "slide";
@@ -1480,8 +1480,8 @@ export declare const ProjectSchema: z.ZodObject<{
1480
1480
  enter: z.ZodOptional<z.ZodObject<{
1481
1481
  preset: z.ZodEnum<{
1482
1482
  pop: "pop";
1483
- type: "type";
1484
1483
  none: "none";
1484
+ type: "type";
1485
1485
  fade: "fade";
1486
1486
  wipe: "wipe";
1487
1487
  slide: "slide";
@@ -1507,8 +1507,8 @@ export declare const ProjectSchema: z.ZodObject<{
1507
1507
  exit: z.ZodOptional<z.ZodObject<{
1508
1508
  preset: z.ZodEnum<{
1509
1509
  pop: "pop";
1510
- type: "type";
1511
1510
  none: "none";
1511
+ type: "type";
1512
1512
  fade: "fade";
1513
1513
  wipe: "wipe";
1514
1514
  slide: "slide";
@@ -1583,8 +1583,8 @@ export declare const ProjectSchema: z.ZodObject<{
1583
1583
  enter: z.ZodOptional<z.ZodObject<{
1584
1584
  preset: z.ZodEnum<{
1585
1585
  pop: "pop";
1586
- type: "type";
1587
1586
  none: "none";
1587
+ type: "type";
1588
1588
  fade: "fade";
1589
1589
  wipe: "wipe";
1590
1590
  slide: "slide";
@@ -1610,8 +1610,8 @@ export declare const ProjectSchema: z.ZodObject<{
1610
1610
  exit: z.ZodOptional<z.ZodObject<{
1611
1611
  preset: z.ZodEnum<{
1612
1612
  pop: "pop";
1613
- type: "type";
1614
1613
  none: "none";
1614
+ type: "type";
1615
1615
  fade: "fade";
1616
1616
  wipe: "wipe";
1617
1617
  slide: "slide";
@@ -1693,8 +1693,8 @@ export declare const ProjectSchema: z.ZodObject<{
1693
1693
  enter: z.ZodOptional<z.ZodObject<{
1694
1694
  preset: z.ZodEnum<{
1695
1695
  pop: "pop";
1696
- type: "type";
1697
1696
  none: "none";
1697
+ type: "type";
1698
1698
  fade: "fade";
1699
1699
  wipe: "wipe";
1700
1700
  slide: "slide";
@@ -1720,8 +1720,8 @@ export declare const ProjectSchema: z.ZodObject<{
1720
1720
  exit: z.ZodOptional<z.ZodObject<{
1721
1721
  preset: z.ZodEnum<{
1722
1722
  pop: "pop";
1723
- type: "type";
1724
1723
  none: "none";
1724
+ type: "type";
1725
1725
  fade: "fade";
1726
1726
  wipe: "wipe";
1727
1727
  slide: "slide";
@@ -1805,8 +1805,8 @@ export declare const ProjectSchema: z.ZodObject<{
1805
1805
  enter: z.ZodOptional<z.ZodObject<{
1806
1806
  preset: z.ZodEnum<{
1807
1807
  pop: "pop";
1808
- type: "type";
1809
1808
  none: "none";
1809
+ type: "type";
1810
1810
  fade: "fade";
1811
1811
  wipe: "wipe";
1812
1812
  slide: "slide";
@@ -1832,8 +1832,8 @@ export declare const ProjectSchema: z.ZodObject<{
1832
1832
  exit: z.ZodOptional<z.ZodObject<{
1833
1833
  preset: z.ZodEnum<{
1834
1834
  pop: "pop";
1835
- type: "type";
1836
1835
  none: "none";
1836
+ type: "type";
1837
1837
  fade: "fade";
1838
1838
  wipe: "wipe";
1839
1839
  slide: "slide";
@@ -1979,8 +1979,8 @@ export declare const ProjectSchema: z.ZodObject<{
1979
1979
  enter: z.ZodOptional<z.ZodObject<{
1980
1980
  preset: z.ZodEnum<{
1981
1981
  pop: "pop";
1982
- type: "type";
1983
1982
  none: "none";
1983
+ type: "type";
1984
1984
  fade: "fade";
1985
1985
  wipe: "wipe";
1986
1986
  slide: "slide";
@@ -2006,8 +2006,8 @@ export declare const ProjectSchema: z.ZodObject<{
2006
2006
  exit: z.ZodOptional<z.ZodObject<{
2007
2007
  preset: z.ZodEnum<{
2008
2008
  pop: "pop";
2009
- type: "type";
2010
2009
  none: "none";
2010
+ type: "type";
2011
2011
  fade: "fade";
2012
2012
  wipe: "wipe";
2013
2013
  slide: "slide";
@@ -51,6 +51,8 @@ export interface RenderVideoResult {
51
51
  total: number;
52
52
  reused: number;
53
53
  };
54
+ /** A whole render: what was removed of the frame cache once the video was written (cache/frames.ts). */
55
+ framesFreedBytes?: number;
54
56
  }
55
57
  /** A frame or a range that the video does not have: the caller asked for it, so the message says what it has. */
56
58
  export declare class RenderRangeError extends Error {
@@ -13,6 +13,10 @@ export type ImageFormat = 'png' | 'jpeg';
13
13
  export interface Session {
14
14
  resolved: Resolved;
15
15
  project: Project;
16
+ /** What the build said besides errors (warnings), for the command that reports them. */
17
+ problems: Problem[];
18
+ /** The directories of the frame cache this page shows (their names in .cache/video). */
19
+ footageDirs: string[];
16
20
  /** Viewport (and so picture) size in pixels: the scaled canvas, rounded down to even numbers for H.264. */
17
21
  width: number;
18
22
  height: number;