@jokerized/decksmith 0.1.4 → 0.3.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.
Files changed (40) hide show
  1. package/README.md +161 -26
  2. package/dist/cli.js +3864 -1816
  3. package/dist/ds-morph.js +1 -0
  4. package/dist/index.js +2701 -780
  5. package/dist/mcp.js +2509 -633
  6. package/dist/types/emit/archetypes/annotated-figure.d.ts +3 -2
  7. package/dist/types/emit/archetypes/data-table.d.ts +0 -19
  8. package/dist/types/emit/archetypes/equation-morph.d.ts +2 -0
  9. package/dist/types/emit/archetypes/equation-walk.d.ts +63 -1
  10. package/dist/types/emit/archetypes/index.d.ts +1 -1
  11. package/dist/types/emit/archetypes/pipeline.d.ts +2 -2
  12. package/dist/types/emit/archetypes/stack.d.ts +20 -1
  13. package/dist/types/emit/archetypes/title.d.ts +31 -14
  14. package/dist/types/emit/camera.d.ts +25 -0
  15. package/dist/types/emit/composition.d.ts +20 -2
  16. package/dist/types/emit/depth.d.ts +95 -0
  17. package/dist/types/emit/kit.d.ts +153 -0
  18. package/dist/types/emit/morph-runtime.d.ts +178 -0
  19. package/dist/types/emit/svg.d.ts +77 -13
  20. package/dist/types/emit/theme.d.ts +1 -0
  21. package/dist/types/images/illustrate.d.ts +34 -0
  22. package/dist/types/images/providers.d.ts +108 -0
  23. package/dist/types/index.d.ts +27 -8
  24. package/dist/types/mcp/prereqs.d.ts +18 -0
  25. package/dist/types/mcp/tools.d.ts +23 -0
  26. package/dist/types/plan/codex.d.ts +25 -3
  27. package/dist/types/plan/duration.d.ts +190 -15
  28. package/dist/types/plan/prompt.d.ts +7 -1
  29. package/dist/types/plan/refs.d.ts +41 -3
  30. package/dist/types/prefs.d.ts +21 -6
  31. package/dist/types/render/capture.d.ts +99 -0
  32. package/dist/types/render/render.d.ts +18 -0
  33. package/dist/types/server/options.d.ts +7 -0
  34. package/dist/types/server/pipeline.d.ts +14 -0
  35. package/dist/types/server/queue.d.ts +1 -1
  36. package/dist/types/types.d.ts +294 -4
  37. package/dist/types/verify/apparent.d.ts +123 -0
  38. package/dist/types/verify/index.d.ts +114 -6
  39. package/dist/types/verify/typefloor.d.ts +3 -1
  40. package/package.json +2 -2
@@ -27,6 +27,8 @@ export declare const figureSchema: z.ZodObject<{
27
27
  caption: z.ZodString;
28
28
  width: z.ZodInt;
29
29
  height: z.ZodInt;
30
+ sectionId: z.ZodOptional<z.ZodString>;
31
+ mention: z.ZodOptional<z.ZodString>;
30
32
  }, z.core.$strip>;
31
33
  export declare const equationSchema: z.ZodObject<{
32
34
  id: z.ZodString;
@@ -61,6 +63,8 @@ export declare const sourceSchema: z.ZodObject<{
61
63
  caption: z.ZodString;
62
64
  width: z.ZodInt;
63
65
  height: z.ZodInt;
66
+ sectionId: z.ZodOptional<z.ZodString>;
67
+ mention: z.ZodOptional<z.ZodString>;
64
68
  }, z.core.$strip>>;
65
69
  equations: z.ZodArray<z.ZodObject<{
66
70
  id: z.ZodString;
@@ -98,11 +102,28 @@ export declare const titleParamsSchema: z.ZodObject<{
98
102
  headline: z.ZodString;
99
103
  sub: z.ZodOptional<z.ZodString>;
100
104
  }, z.core.$strip>;
105
+ /**
106
+ * A brief for a picture that does not exist yet.
107
+ *
108
+ * The planner writes it where no inventory figure fits; `illustrate` turns it
109
+ * into a file under `assets/`, registers that as an ordinary `Figure`, and
110
+ * points the slot's `figureId` at it. The brief stays on the beat afterwards as
111
+ * provenance — the figure's file name carries the hash of what produced it,
112
+ * and this is the thing it hashes.
113
+ */
114
+ export declare const illustrationSchema: z.ZodObject<{
115
+ prompt: z.ZodString;
116
+ caption: z.ZodString;
117
+ }, z.core.$strip>;
101
118
  export declare const claimFigureParamsSchema: z.ZodObject<{
102
119
  eyebrow: z.ZodOptional<z.ZodString>;
103
120
  headline: z.ZodString;
104
121
  claim: z.ZodString;
105
- figureId: z.ZodString;
122
+ figureId: z.ZodOptional<z.ZodString>;
123
+ illustration: z.ZodOptional<z.ZodObject<{
124
+ prompt: z.ZodString;
125
+ caption: z.ZodString;
126
+ }, z.core.$strip>>;
106
127
  }, z.core.$strip>;
107
128
  export declare const equationWalkParamsSchema: z.ZodObject<{
108
129
  eyebrow: z.ZodOptional<z.ZodString>;
@@ -119,10 +140,35 @@ export declare const equationWalkParamsSchema: z.ZodObject<{
119
140
  }>;
120
141
  }, z.core.$strip>>;
121
142
  }, z.core.$strip>;
143
+ /**
144
+ * Two equations from the source, the first becoming the second.
145
+ *
146
+ * `terms` are the parts that TRAVEL: each must occur in both equations, and is
147
+ * carried from its place in the first to its place in the second as one rigid
148
+ * body. Everything else dissolves. Which terms are keyed IS the animation —
149
+ * the same two strings are a glyph riot unkeyed and an exchange keyed.
150
+ */
151
+ export declare const equationMorphParamsSchema: z.ZodObject<{
152
+ eyebrow: z.ZodOptional<z.ZodString>;
153
+ headline: z.ZodString;
154
+ fromId: z.ZodString;
155
+ toId: z.ZodString;
156
+ terms: z.ZodArray<z.ZodObject<{
157
+ tex: z.ZodString;
158
+ label: z.ZodString;
159
+ tone: z.ZodEnum<{
160
+ a: "a";
161
+ b: "b";
162
+ c: "c";
163
+ d: "d";
164
+ }>;
165
+ }, z.core.$strip>>;
166
+ }, z.core.$strip>;
122
167
  export declare const dataTableParamsSchema: z.ZodObject<{
123
168
  eyebrow: z.ZodOptional<z.ZodString>;
124
169
  headline: z.ZodString;
125
170
  tableId: z.ZodString;
171
+ rows: z.ZodOptional<z.ZodArray<z.ZodString>>;
126
172
  highlight: z.ZodArray<z.ZodObject<{
127
173
  row: z.ZodString;
128
174
  tone: z.ZodEnum<{
@@ -252,6 +298,7 @@ export declare const stackParamsSchema: z.ZodObject<{
252
298
  note: z.ZodOptional<z.ZodString>;
253
299
  }, z.core.$strip>>;
254
300
  note: z.ZodOptional<z.ZodString>;
301
+ tilt: z.ZodOptional<z.ZodNumber>;
255
302
  }, z.core.$strip>;
256
303
  export declare const splitCompareParamsSchema: z.ZodObject<{
257
304
  eyebrow: z.ZodOptional<z.ZodString>;
@@ -259,11 +306,19 @@ export declare const splitCompareParamsSchema: z.ZodObject<{
259
306
  left: z.ZodObject<{
260
307
  label: z.ZodString;
261
308
  figureId: z.ZodOptional<z.ZodString>;
309
+ illustration: z.ZodOptional<z.ZodObject<{
310
+ prompt: z.ZodString;
311
+ caption: z.ZodString;
312
+ }, z.core.$strip>>;
262
313
  lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
263
314
  }, z.core.$strip>;
264
315
  right: z.ZodObject<{
265
316
  label: z.ZodString;
266
317
  figureId: z.ZodOptional<z.ZodString>;
318
+ illustration: z.ZodOptional<z.ZodObject<{
319
+ prompt: z.ZodString;
320
+ caption: z.ZodString;
321
+ }, z.core.$strip>>;
267
322
  lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
268
323
  }, z.core.$strip>;
269
324
  note: z.ZodOptional<z.ZodString>;
@@ -284,10 +339,18 @@ export declare const splitCompareParamsSchema: z.ZodObject<{
284
339
  * containing scene and refuses to emit a camera at a part that beat did not
285
340
  * draw, so a wrong name is a build error rather than a camera that lands on
286
341
  * nothing.
342
+ *
343
+ * WHICH LEAVES THE INDEX ITSELF UNCHECKED, and that is what `label` is for. Get
344
+ * the number wrong rather than the name and every one of those checks passes:
345
+ * `stage2` exists, it has a rect, and the deck dives smoothly into whichever
346
+ * stage happens to be third. `label` says what the plan believes is there, the
347
+ * archetype reports what it drew (`Scene.parts`), and the two are compared
348
+ * before the camera is built — at `plan` and again at `build`.
287
349
  */
288
350
  export declare const insideSchema: z.ZodObject<{
289
351
  beat: z.ZodString;
290
352
  element: z.ZodString;
353
+ label: z.ZodOptional<z.ZodString>;
291
354
  }, z.core.$strip>;
292
355
  export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
293
356
  narration: z.ZodOptional<z.ZodString>;
@@ -302,6 +365,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
302
365
  inside: z.ZodOptional<z.ZodObject<{
303
366
  beat: z.ZodString;
304
367
  element: z.ZodString;
368
+ label: z.ZodOptional<z.ZodString>;
305
369
  }, z.core.$strip>>;
306
370
  claim: z.ZodOptional<z.ZodString>;
307
371
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -322,13 +386,18 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
322
386
  eyebrow: z.ZodOptional<z.ZodString>;
323
387
  headline: z.ZodString;
324
388
  claim: z.ZodString;
325
- figureId: z.ZodString;
389
+ figureId: z.ZodOptional<z.ZodString>;
390
+ illustration: z.ZodOptional<z.ZodObject<{
391
+ prompt: z.ZodString;
392
+ caption: z.ZodString;
393
+ }, z.core.$strip>>;
326
394
  }, z.core.$strip>;
327
395
  id: z.ZodString;
328
396
  intent: z.ZodString;
329
397
  inside: z.ZodOptional<z.ZodObject<{
330
398
  beat: z.ZodString;
331
399
  element: z.ZodString;
400
+ label: z.ZodOptional<z.ZodString>;
332
401
  }, z.core.$strip>>;
333
402
  claim: z.ZodOptional<z.ZodString>;
334
403
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -365,6 +434,45 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
365
434
  inside: z.ZodOptional<z.ZodObject<{
366
435
  beat: z.ZodString;
367
436
  element: z.ZodString;
437
+ label: z.ZodOptional<z.ZodString>;
438
+ }, z.core.$strip>>;
439
+ claim: z.ZodOptional<z.ZodString>;
440
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
441
+ kind: z.ZodEnum<{
442
+ figure: "figure";
443
+ equation: "equation";
444
+ table: "table";
445
+ section: "section";
446
+ }>;
447
+ id: z.ZodString;
448
+ }, z.core.$strip>>>;
449
+ weight: z.ZodDefault<z.ZodNumber>;
450
+ seconds: z.ZodDefault<z.ZodNumber>;
451
+ }, z.core.$strip>, z.ZodObject<{
452
+ narration: z.ZodOptional<z.ZodString>;
453
+ archetype: z.ZodLiteral<"equation-morph">;
454
+ params: z.ZodObject<{
455
+ eyebrow: z.ZodOptional<z.ZodString>;
456
+ headline: z.ZodString;
457
+ fromId: z.ZodString;
458
+ toId: z.ZodString;
459
+ terms: z.ZodArray<z.ZodObject<{
460
+ tex: z.ZodString;
461
+ label: z.ZodString;
462
+ tone: z.ZodEnum<{
463
+ a: "a";
464
+ b: "b";
465
+ c: "c";
466
+ d: "d";
467
+ }>;
468
+ }, z.core.$strip>>;
469
+ }, z.core.$strip>;
470
+ id: z.ZodString;
471
+ intent: z.ZodString;
472
+ inside: z.ZodOptional<z.ZodObject<{
473
+ beat: z.ZodString;
474
+ element: z.ZodString;
475
+ label: z.ZodOptional<z.ZodString>;
368
476
  }, z.core.$strip>>;
369
477
  claim: z.ZodOptional<z.ZodString>;
370
478
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -385,6 +493,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
385
493
  eyebrow: z.ZodOptional<z.ZodString>;
386
494
  headline: z.ZodString;
387
495
  tableId: z.ZodString;
496
+ rows: z.ZodOptional<z.ZodArray<z.ZodString>>;
388
497
  highlight: z.ZodArray<z.ZodObject<{
389
498
  row: z.ZodString;
390
499
  tone: z.ZodEnum<{
@@ -401,6 +510,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
401
510
  inside: z.ZodOptional<z.ZodObject<{
402
511
  beat: z.ZodString;
403
512
  element: z.ZodString;
513
+ label: z.ZodOptional<z.ZodString>;
404
514
  }, z.core.$strip>>;
405
515
  claim: z.ZodOptional<z.ZodString>;
406
516
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -434,6 +544,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
434
544
  inside: z.ZodOptional<z.ZodObject<{
435
545
  beat: z.ZodString;
436
546
  element: z.ZodString;
547
+ label: z.ZodOptional<z.ZodString>;
437
548
  }, z.core.$strip>>;
438
549
  claim: z.ZodOptional<z.ZodString>;
439
550
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -464,6 +575,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
464
575
  inside: z.ZodOptional<z.ZodObject<{
465
576
  beat: z.ZodString;
466
577
  element: z.ZodString;
578
+ label: z.ZodOptional<z.ZodString>;
467
579
  }, z.core.$strip>>;
468
580
  claim: z.ZodOptional<z.ZodString>;
469
581
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -505,6 +617,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
505
617
  inside: z.ZodOptional<z.ZodObject<{
506
618
  beat: z.ZodString;
507
619
  element: z.ZodString;
620
+ label: z.ZodOptional<z.ZodString>;
508
621
  }, z.core.$strip>>;
509
622
  claim: z.ZodOptional<z.ZodString>;
510
623
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -548,6 +661,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
548
661
  inside: z.ZodOptional<z.ZodObject<{
549
662
  beat: z.ZodString;
550
663
  element: z.ZodString;
664
+ label: z.ZodOptional<z.ZodString>;
551
665
  }, z.core.$strip>>;
552
666
  claim: z.ZodOptional<z.ZodString>;
553
667
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -589,6 +703,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
589
703
  inside: z.ZodOptional<z.ZodObject<{
590
704
  beat: z.ZodString;
591
705
  element: z.ZodString;
706
+ label: z.ZodOptional<z.ZodString>;
592
707
  }, z.core.$strip>>;
593
708
  claim: z.ZodOptional<z.ZodString>;
594
709
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -626,6 +741,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
626
741
  inside: z.ZodOptional<z.ZodObject<{
627
742
  beat: z.ZodString;
628
743
  element: z.ZodString;
744
+ label: z.ZodOptional<z.ZodString>;
629
745
  }, z.core.$strip>>;
630
746
  claim: z.ZodOptional<z.ZodString>;
631
747
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -650,12 +766,14 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
650
766
  note: z.ZodOptional<z.ZodString>;
651
767
  }, z.core.$strip>>;
652
768
  note: z.ZodOptional<z.ZodString>;
769
+ tilt: z.ZodOptional<z.ZodNumber>;
653
770
  }, z.core.$strip>;
654
771
  id: z.ZodString;
655
772
  intent: z.ZodString;
656
773
  inside: z.ZodOptional<z.ZodObject<{
657
774
  beat: z.ZodString;
658
775
  element: z.ZodString;
776
+ label: z.ZodOptional<z.ZodString>;
659
777
  }, z.core.$strip>>;
660
778
  claim: z.ZodOptional<z.ZodString>;
661
779
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -678,11 +796,19 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
678
796
  left: z.ZodObject<{
679
797
  label: z.ZodString;
680
798
  figureId: z.ZodOptional<z.ZodString>;
799
+ illustration: z.ZodOptional<z.ZodObject<{
800
+ prompt: z.ZodString;
801
+ caption: z.ZodString;
802
+ }, z.core.$strip>>;
681
803
  lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
682
804
  }, z.core.$strip>;
683
805
  right: z.ZodObject<{
684
806
  label: z.ZodString;
685
807
  figureId: z.ZodOptional<z.ZodString>;
808
+ illustration: z.ZodOptional<z.ZodObject<{
809
+ prompt: z.ZodString;
810
+ caption: z.ZodString;
811
+ }, z.core.$strip>>;
686
812
  lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
687
813
  }, z.core.$strip>;
688
814
  note: z.ZodOptional<z.ZodString>;
@@ -692,6 +818,7 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
692
818
  inside: z.ZodOptional<z.ZodObject<{
693
819
  beat: z.ZodString;
694
820
  element: z.ZodString;
821
+ label: z.ZodOptional<z.ZodString>;
695
822
  }, z.core.$strip>>;
696
823
  claim: z.ZodOptional<z.ZodString>;
697
824
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -710,6 +837,13 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
710
837
  * Archetypes that draw rather than describe. `verify` warns when a deck leans on
711
838
  * the others — a deck of headlines and bullet panels is the thing every slide
712
839
  * generator already makes, and is not what this tool is for.
840
+ *
841
+ * `claim-figure` IS in the set, because the test is whether the beat draws and
842
+ * not whether we drew it: a slide carrying the paper's own figure puts a picture
843
+ * in front of the audience exactly as `annotated-figure` does, minus the leader
844
+ * lines. Counting it as text made the deck that USES the authors' figures score
845
+ * worse than the deck that redraws each one as a synthetic diagram, which is the
846
+ * opposite of what this warning is for.
713
847
  */
714
848
  export declare const DIAGRAMMATIC: ReadonlySet<string>;
715
849
  /**
@@ -752,6 +886,7 @@ export declare const storyboardSchema: z.ZodObject<{
752
886
  inside: z.ZodOptional<z.ZodObject<{
753
887
  beat: z.ZodString;
754
888
  element: z.ZodString;
889
+ label: z.ZodOptional<z.ZodString>;
755
890
  }, z.core.$strip>>;
756
891
  claim: z.ZodOptional<z.ZodString>;
757
892
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -772,13 +907,18 @@ export declare const storyboardSchema: z.ZodObject<{
772
907
  eyebrow: z.ZodOptional<z.ZodString>;
773
908
  headline: z.ZodString;
774
909
  claim: z.ZodString;
775
- figureId: z.ZodString;
910
+ figureId: z.ZodOptional<z.ZodString>;
911
+ illustration: z.ZodOptional<z.ZodObject<{
912
+ prompt: z.ZodString;
913
+ caption: z.ZodString;
914
+ }, z.core.$strip>>;
776
915
  }, z.core.$strip>;
777
916
  id: z.ZodString;
778
917
  intent: z.ZodString;
779
918
  inside: z.ZodOptional<z.ZodObject<{
780
919
  beat: z.ZodString;
781
920
  element: z.ZodString;
921
+ label: z.ZodOptional<z.ZodString>;
782
922
  }, z.core.$strip>>;
783
923
  claim: z.ZodOptional<z.ZodString>;
784
924
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -815,6 +955,45 @@ export declare const storyboardSchema: z.ZodObject<{
815
955
  inside: z.ZodOptional<z.ZodObject<{
816
956
  beat: z.ZodString;
817
957
  element: z.ZodString;
958
+ label: z.ZodOptional<z.ZodString>;
959
+ }, z.core.$strip>>;
960
+ claim: z.ZodOptional<z.ZodString>;
961
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
962
+ kind: z.ZodEnum<{
963
+ figure: "figure";
964
+ equation: "equation";
965
+ table: "table";
966
+ section: "section";
967
+ }>;
968
+ id: z.ZodString;
969
+ }, z.core.$strip>>>;
970
+ weight: z.ZodDefault<z.ZodNumber>;
971
+ seconds: z.ZodDefault<z.ZodNumber>;
972
+ }, z.core.$strip>, z.ZodObject<{
973
+ narration: z.ZodOptional<z.ZodString>;
974
+ archetype: z.ZodLiteral<"equation-morph">;
975
+ params: z.ZodObject<{
976
+ eyebrow: z.ZodOptional<z.ZodString>;
977
+ headline: z.ZodString;
978
+ fromId: z.ZodString;
979
+ toId: z.ZodString;
980
+ terms: z.ZodArray<z.ZodObject<{
981
+ tex: z.ZodString;
982
+ label: z.ZodString;
983
+ tone: z.ZodEnum<{
984
+ a: "a";
985
+ b: "b";
986
+ c: "c";
987
+ d: "d";
988
+ }>;
989
+ }, z.core.$strip>>;
990
+ }, z.core.$strip>;
991
+ id: z.ZodString;
992
+ intent: z.ZodString;
993
+ inside: z.ZodOptional<z.ZodObject<{
994
+ beat: z.ZodString;
995
+ element: z.ZodString;
996
+ label: z.ZodOptional<z.ZodString>;
818
997
  }, z.core.$strip>>;
819
998
  claim: z.ZodOptional<z.ZodString>;
820
999
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -835,6 +1014,7 @@ export declare const storyboardSchema: z.ZodObject<{
835
1014
  eyebrow: z.ZodOptional<z.ZodString>;
836
1015
  headline: z.ZodString;
837
1016
  tableId: z.ZodString;
1017
+ rows: z.ZodOptional<z.ZodArray<z.ZodString>>;
838
1018
  highlight: z.ZodArray<z.ZodObject<{
839
1019
  row: z.ZodString;
840
1020
  tone: z.ZodEnum<{
@@ -851,6 +1031,7 @@ export declare const storyboardSchema: z.ZodObject<{
851
1031
  inside: z.ZodOptional<z.ZodObject<{
852
1032
  beat: z.ZodString;
853
1033
  element: z.ZodString;
1034
+ label: z.ZodOptional<z.ZodString>;
854
1035
  }, z.core.$strip>>;
855
1036
  claim: z.ZodOptional<z.ZodString>;
856
1037
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -884,6 +1065,7 @@ export declare const storyboardSchema: z.ZodObject<{
884
1065
  inside: z.ZodOptional<z.ZodObject<{
885
1066
  beat: z.ZodString;
886
1067
  element: z.ZodString;
1068
+ label: z.ZodOptional<z.ZodString>;
887
1069
  }, z.core.$strip>>;
888
1070
  claim: z.ZodOptional<z.ZodString>;
889
1071
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -914,6 +1096,7 @@ export declare const storyboardSchema: z.ZodObject<{
914
1096
  inside: z.ZodOptional<z.ZodObject<{
915
1097
  beat: z.ZodString;
916
1098
  element: z.ZodString;
1099
+ label: z.ZodOptional<z.ZodString>;
917
1100
  }, z.core.$strip>>;
918
1101
  claim: z.ZodOptional<z.ZodString>;
919
1102
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -955,6 +1138,7 @@ export declare const storyboardSchema: z.ZodObject<{
955
1138
  inside: z.ZodOptional<z.ZodObject<{
956
1139
  beat: z.ZodString;
957
1140
  element: z.ZodString;
1141
+ label: z.ZodOptional<z.ZodString>;
958
1142
  }, z.core.$strip>>;
959
1143
  claim: z.ZodOptional<z.ZodString>;
960
1144
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -998,6 +1182,7 @@ export declare const storyboardSchema: z.ZodObject<{
998
1182
  inside: z.ZodOptional<z.ZodObject<{
999
1183
  beat: z.ZodString;
1000
1184
  element: z.ZodString;
1185
+ label: z.ZodOptional<z.ZodString>;
1001
1186
  }, z.core.$strip>>;
1002
1187
  claim: z.ZodOptional<z.ZodString>;
1003
1188
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1039,6 +1224,7 @@ export declare const storyboardSchema: z.ZodObject<{
1039
1224
  inside: z.ZodOptional<z.ZodObject<{
1040
1225
  beat: z.ZodString;
1041
1226
  element: z.ZodString;
1227
+ label: z.ZodOptional<z.ZodString>;
1042
1228
  }, z.core.$strip>>;
1043
1229
  claim: z.ZodOptional<z.ZodString>;
1044
1230
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1076,6 +1262,7 @@ export declare const storyboardSchema: z.ZodObject<{
1076
1262
  inside: z.ZodOptional<z.ZodObject<{
1077
1263
  beat: z.ZodString;
1078
1264
  element: z.ZodString;
1265
+ label: z.ZodOptional<z.ZodString>;
1079
1266
  }, z.core.$strip>>;
1080
1267
  claim: z.ZodOptional<z.ZodString>;
1081
1268
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1100,12 +1287,14 @@ export declare const storyboardSchema: z.ZodObject<{
1100
1287
  note: z.ZodOptional<z.ZodString>;
1101
1288
  }, z.core.$strip>>;
1102
1289
  note: z.ZodOptional<z.ZodString>;
1290
+ tilt: z.ZodOptional<z.ZodNumber>;
1103
1291
  }, z.core.$strip>;
1104
1292
  id: z.ZodString;
1105
1293
  intent: z.ZodString;
1106
1294
  inside: z.ZodOptional<z.ZodObject<{
1107
1295
  beat: z.ZodString;
1108
1296
  element: z.ZodString;
1297
+ label: z.ZodOptional<z.ZodString>;
1109
1298
  }, z.core.$strip>>;
1110
1299
  claim: z.ZodOptional<z.ZodString>;
1111
1300
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1128,11 +1317,19 @@ export declare const storyboardSchema: z.ZodObject<{
1128
1317
  left: z.ZodObject<{
1129
1318
  label: z.ZodString;
1130
1319
  figureId: z.ZodOptional<z.ZodString>;
1320
+ illustration: z.ZodOptional<z.ZodObject<{
1321
+ prompt: z.ZodString;
1322
+ caption: z.ZodString;
1323
+ }, z.core.$strip>>;
1131
1324
  lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
1132
1325
  }, z.core.$strip>;
1133
1326
  right: z.ZodObject<{
1134
1327
  label: z.ZodString;
1135
1328
  figureId: z.ZodOptional<z.ZodString>;
1329
+ illustration: z.ZodOptional<z.ZodObject<{
1330
+ prompt: z.ZodString;
1331
+ caption: z.ZodString;
1332
+ }, z.core.$strip>>;
1136
1333
  lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
1137
1334
  }, z.core.$strip>;
1138
1335
  note: z.ZodOptional<z.ZodString>;
@@ -1142,6 +1339,7 @@ export declare const storyboardSchema: z.ZodObject<{
1142
1339
  inside: z.ZodOptional<z.ZodObject<{
1143
1340
  beat: z.ZodString;
1144
1341
  element: z.ZodString;
1342
+ label: z.ZodOptional<z.ZodString>;
1145
1343
  }, z.core.$strip>>;
1146
1344
  claim: z.ZodOptional<z.ZodString>;
1147
1345
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1193,6 +1391,17 @@ export declare const prefsSchema: z.ZodObject<{
1193
1391
  low: "low";
1194
1392
  }>>;
1195
1393
  }, z.core.$strip>>;
1394
+ images: z.ZodDefault<z.ZodObject<{
1395
+ enabled: z.ZodDefault<z.ZodBoolean>;
1396
+ provider: z.ZodDefault<z.ZodEnum<{
1397
+ auto: "auto";
1398
+ codex: "codex";
1399
+ svg: "svg";
1400
+ }>>;
1401
+ model: z.ZodOptional<z.ZodString>;
1402
+ style: z.ZodDefault<z.ZodString>;
1403
+ max: z.ZodDefault<z.ZodInt>;
1404
+ }, z.core.$strip>>;
1196
1405
  }, z.core.$strip>;
1197
1406
  /** One subtitle line with the timing edge-tts measured for it. */
1198
1407
  export declare const cueSchema: z.ZodObject<{
@@ -1296,6 +1505,17 @@ export declare const packSchema: z.ZodObject<{
1296
1505
  low: "low";
1297
1506
  }>>;
1298
1507
  }, z.core.$strip>>;
1508
+ images: z.ZodDefault<z.ZodObject<{
1509
+ enabled: z.ZodDefault<z.ZodBoolean>;
1510
+ provider: z.ZodDefault<z.ZodEnum<{
1511
+ auto: "auto";
1512
+ codex: "codex";
1513
+ svg: "svg";
1514
+ }>>;
1515
+ model: z.ZodOptional<z.ZodString>;
1516
+ style: z.ZodDefault<z.ZodString>;
1517
+ max: z.ZodDefault<z.ZodInt>;
1518
+ }, z.core.$strip>>;
1299
1519
  }, z.core.$strip>;
1300
1520
  source: z.ZodObject<{
1301
1521
  id: z.ZodString;
@@ -1313,6 +1533,8 @@ export declare const packSchema: z.ZodObject<{
1313
1533
  caption: z.ZodString;
1314
1534
  width: z.ZodInt;
1315
1535
  height: z.ZodInt;
1536
+ sectionId: z.ZodOptional<z.ZodString>;
1537
+ mention: z.ZodOptional<z.ZodString>;
1316
1538
  }, z.core.$strip>>;
1317
1539
  equations: z.ZodArray<z.ZodObject<{
1318
1540
  id: z.ZodString;
@@ -1344,6 +1566,7 @@ export declare const packSchema: z.ZodObject<{
1344
1566
  inside: z.ZodOptional<z.ZodObject<{
1345
1567
  beat: z.ZodString;
1346
1568
  element: z.ZodString;
1569
+ label: z.ZodOptional<z.ZodString>;
1347
1570
  }, z.core.$strip>>;
1348
1571
  claim: z.ZodOptional<z.ZodString>;
1349
1572
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1364,13 +1587,18 @@ export declare const packSchema: z.ZodObject<{
1364
1587
  eyebrow: z.ZodOptional<z.ZodString>;
1365
1588
  headline: z.ZodString;
1366
1589
  claim: z.ZodString;
1367
- figureId: z.ZodString;
1590
+ figureId: z.ZodOptional<z.ZodString>;
1591
+ illustration: z.ZodOptional<z.ZodObject<{
1592
+ prompt: z.ZodString;
1593
+ caption: z.ZodString;
1594
+ }, z.core.$strip>>;
1368
1595
  }, z.core.$strip>;
1369
1596
  id: z.ZodString;
1370
1597
  intent: z.ZodString;
1371
1598
  inside: z.ZodOptional<z.ZodObject<{
1372
1599
  beat: z.ZodString;
1373
1600
  element: z.ZodString;
1601
+ label: z.ZodOptional<z.ZodString>;
1374
1602
  }, z.core.$strip>>;
1375
1603
  claim: z.ZodOptional<z.ZodString>;
1376
1604
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1407,6 +1635,45 @@ export declare const packSchema: z.ZodObject<{
1407
1635
  inside: z.ZodOptional<z.ZodObject<{
1408
1636
  beat: z.ZodString;
1409
1637
  element: z.ZodString;
1638
+ label: z.ZodOptional<z.ZodString>;
1639
+ }, z.core.$strip>>;
1640
+ claim: z.ZodOptional<z.ZodString>;
1641
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
1642
+ kind: z.ZodEnum<{
1643
+ figure: "figure";
1644
+ equation: "equation";
1645
+ table: "table";
1646
+ section: "section";
1647
+ }>;
1648
+ id: z.ZodString;
1649
+ }, z.core.$strip>>>;
1650
+ weight: z.ZodDefault<z.ZodNumber>;
1651
+ seconds: z.ZodDefault<z.ZodNumber>;
1652
+ }, z.core.$strip>, z.ZodObject<{
1653
+ narration: z.ZodOptional<z.ZodString>;
1654
+ archetype: z.ZodLiteral<"equation-morph">;
1655
+ params: z.ZodObject<{
1656
+ eyebrow: z.ZodOptional<z.ZodString>;
1657
+ headline: z.ZodString;
1658
+ fromId: z.ZodString;
1659
+ toId: z.ZodString;
1660
+ terms: z.ZodArray<z.ZodObject<{
1661
+ tex: z.ZodString;
1662
+ label: z.ZodString;
1663
+ tone: z.ZodEnum<{
1664
+ a: "a";
1665
+ b: "b";
1666
+ c: "c";
1667
+ d: "d";
1668
+ }>;
1669
+ }, z.core.$strip>>;
1670
+ }, z.core.$strip>;
1671
+ id: z.ZodString;
1672
+ intent: z.ZodString;
1673
+ inside: z.ZodOptional<z.ZodObject<{
1674
+ beat: z.ZodString;
1675
+ element: z.ZodString;
1676
+ label: z.ZodOptional<z.ZodString>;
1410
1677
  }, z.core.$strip>>;
1411
1678
  claim: z.ZodOptional<z.ZodString>;
1412
1679
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1427,6 +1694,7 @@ export declare const packSchema: z.ZodObject<{
1427
1694
  eyebrow: z.ZodOptional<z.ZodString>;
1428
1695
  headline: z.ZodString;
1429
1696
  tableId: z.ZodString;
1697
+ rows: z.ZodOptional<z.ZodArray<z.ZodString>>;
1430
1698
  highlight: z.ZodArray<z.ZodObject<{
1431
1699
  row: z.ZodString;
1432
1700
  tone: z.ZodEnum<{
@@ -1443,6 +1711,7 @@ export declare const packSchema: z.ZodObject<{
1443
1711
  inside: z.ZodOptional<z.ZodObject<{
1444
1712
  beat: z.ZodString;
1445
1713
  element: z.ZodString;
1714
+ label: z.ZodOptional<z.ZodString>;
1446
1715
  }, z.core.$strip>>;
1447
1716
  claim: z.ZodOptional<z.ZodString>;
1448
1717
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1476,6 +1745,7 @@ export declare const packSchema: z.ZodObject<{
1476
1745
  inside: z.ZodOptional<z.ZodObject<{
1477
1746
  beat: z.ZodString;
1478
1747
  element: z.ZodString;
1748
+ label: z.ZodOptional<z.ZodString>;
1479
1749
  }, z.core.$strip>>;
1480
1750
  claim: z.ZodOptional<z.ZodString>;
1481
1751
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1506,6 +1776,7 @@ export declare const packSchema: z.ZodObject<{
1506
1776
  inside: z.ZodOptional<z.ZodObject<{
1507
1777
  beat: z.ZodString;
1508
1778
  element: z.ZodString;
1779
+ label: z.ZodOptional<z.ZodString>;
1509
1780
  }, z.core.$strip>>;
1510
1781
  claim: z.ZodOptional<z.ZodString>;
1511
1782
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1547,6 +1818,7 @@ export declare const packSchema: z.ZodObject<{
1547
1818
  inside: z.ZodOptional<z.ZodObject<{
1548
1819
  beat: z.ZodString;
1549
1820
  element: z.ZodString;
1821
+ label: z.ZodOptional<z.ZodString>;
1550
1822
  }, z.core.$strip>>;
1551
1823
  claim: z.ZodOptional<z.ZodString>;
1552
1824
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1590,6 +1862,7 @@ export declare const packSchema: z.ZodObject<{
1590
1862
  inside: z.ZodOptional<z.ZodObject<{
1591
1863
  beat: z.ZodString;
1592
1864
  element: z.ZodString;
1865
+ label: z.ZodOptional<z.ZodString>;
1593
1866
  }, z.core.$strip>>;
1594
1867
  claim: z.ZodOptional<z.ZodString>;
1595
1868
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1631,6 +1904,7 @@ export declare const packSchema: z.ZodObject<{
1631
1904
  inside: z.ZodOptional<z.ZodObject<{
1632
1905
  beat: z.ZodString;
1633
1906
  element: z.ZodString;
1907
+ label: z.ZodOptional<z.ZodString>;
1634
1908
  }, z.core.$strip>>;
1635
1909
  claim: z.ZodOptional<z.ZodString>;
1636
1910
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1668,6 +1942,7 @@ export declare const packSchema: z.ZodObject<{
1668
1942
  inside: z.ZodOptional<z.ZodObject<{
1669
1943
  beat: z.ZodString;
1670
1944
  element: z.ZodString;
1945
+ label: z.ZodOptional<z.ZodString>;
1671
1946
  }, z.core.$strip>>;
1672
1947
  claim: z.ZodOptional<z.ZodString>;
1673
1948
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1692,12 +1967,14 @@ export declare const packSchema: z.ZodObject<{
1692
1967
  note: z.ZodOptional<z.ZodString>;
1693
1968
  }, z.core.$strip>>;
1694
1969
  note: z.ZodOptional<z.ZodString>;
1970
+ tilt: z.ZodOptional<z.ZodNumber>;
1695
1971
  }, z.core.$strip>;
1696
1972
  id: z.ZodString;
1697
1973
  intent: z.ZodString;
1698
1974
  inside: z.ZodOptional<z.ZodObject<{
1699
1975
  beat: z.ZodString;
1700
1976
  element: z.ZodString;
1977
+ label: z.ZodOptional<z.ZodString>;
1701
1978
  }, z.core.$strip>>;
1702
1979
  claim: z.ZodOptional<z.ZodString>;
1703
1980
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1720,11 +1997,19 @@ export declare const packSchema: z.ZodObject<{
1720
1997
  left: z.ZodObject<{
1721
1998
  label: z.ZodString;
1722
1999
  figureId: z.ZodOptional<z.ZodString>;
2000
+ illustration: z.ZodOptional<z.ZodObject<{
2001
+ prompt: z.ZodString;
2002
+ caption: z.ZodString;
2003
+ }, z.core.$strip>>;
1723
2004
  lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
1724
2005
  }, z.core.$strip>;
1725
2006
  right: z.ZodObject<{
1726
2007
  label: z.ZodString;
1727
2008
  figureId: z.ZodOptional<z.ZodString>;
2009
+ illustration: z.ZodOptional<z.ZodObject<{
2010
+ prompt: z.ZodString;
2011
+ caption: z.ZodString;
2012
+ }, z.core.$strip>>;
1728
2013
  lines: z.ZodOptional<z.ZodArray<z.ZodString>>;
1729
2014
  }, z.core.$strip>;
1730
2015
  note: z.ZodOptional<z.ZodString>;
@@ -1734,6 +2019,7 @@ export declare const packSchema: z.ZodObject<{
1734
2019
  inside: z.ZodOptional<z.ZodObject<{
1735
2020
  beat: z.ZodString;
1736
2021
  element: z.ZodString;
2022
+ label: z.ZodOptional<z.ZodString>;
1737
2023
  }, z.core.$strip>>;
1738
2024
  claim: z.ZodOptional<z.ZodString>;
1739
2025
  evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
@@ -1983,7 +2269,11 @@ export type Table = z.infer<typeof tableSchema>;
1983
2269
  export type Section = z.infer<typeof sectionSchema>;
1984
2270
  export type Source = z.infer<typeof sourceSchema>;
1985
2271
  export type Term = z.infer<typeof termSchema>;
2272
+ export type Illustration = z.infer<typeof illustrationSchema>;
2273
+ /** The `images` block of the preferences, resolved. What `illustrate` reads. */
2274
+ export type ImagesPrefs = z.infer<typeof prefsSchema>["images"];
1986
2275
  export type Beat = z.infer<typeof beatSchema>;
2276
+ export type Inside = z.infer<typeof insideSchema>;
1987
2277
  export type Archetype = Beat["archetype"];
1988
2278
  export type Storyboard = z.infer<typeof storyboardSchema>;
1989
2279
  /** Narrow a beat to one archetype — the emitters' entry point. */