@jokerized/decksmith 0.2.0 → 0.3.1

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.
@@ -140,6 +140,30 @@ export declare const equationWalkParamsSchema: z.ZodObject<{
140
140
  }>;
141
141
  }, z.core.$strip>>;
142
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>;
143
167
  export declare const dataTableParamsSchema: z.ZodObject<{
144
168
  eyebrow: z.ZodOptional<z.ZodString>;
145
169
  headline: z.ZodString;
@@ -274,6 +298,7 @@ export declare const stackParamsSchema: z.ZodObject<{
274
298
  note: z.ZodOptional<z.ZodString>;
275
299
  }, z.core.$strip>>;
276
300
  note: z.ZodOptional<z.ZodString>;
301
+ tilt: z.ZodOptional<z.ZodNumber>;
277
302
  }, z.core.$strip>;
278
303
  export declare const splitCompareParamsSchema: z.ZodObject<{
279
304
  eyebrow: z.ZodOptional<z.ZodString>;
@@ -327,6 +352,33 @@ export declare const insideSchema: z.ZodObject<{
327
352
  element: z.ZodString;
328
353
  label: z.ZodOptional<z.ZodString>;
329
354
  }, z.core.$strip>;
355
+ /**
356
+ * The structural job a beat does in a paper-shaped deck.
357
+ *
358
+ * A ROLE IS NOT AN ARCHETYPE AND NOT A HEADING. Position and archetype cannot
359
+ * tell these beats apart — a limitation and a conclusion are both naturally a
360
+ * `callout`, and the prompt lists both under one tell — and a check on headline
361
+ * wording is the failure `scanHeadlines` documents, where a sharpened rule was
362
+ * answered by swapping one verb. So the plan SAYS which beat is which, and
363
+ * everything downstream reads the declaration rather than guessing at prose.
364
+ *
365
+ * AN ENUM, DELIBERATELY, AND THAT IS WHY IT MAY BE SHOWN TO THE MODEL.
366
+ * `forStructuredOutput` strips numeric and length bounds, which is how `tilt`
367
+ * came to be required as an unbounded number that `safeParse` then rejected,
368
+ * discarding whole runs. `enum` is not in that stripped set, so the model sees
369
+ * exactly the values `storyboardSchema` will accept and cannot cross a bound it
370
+ * was never shown.
371
+ *
372
+ * Optional, and hidden from the planner's schema entirely unless the paper arc
373
+ * was asked for — see `plannerInvisible` in src/plan/codex.ts. A deck that did
374
+ * not ask for the arc is byte-for-byte what it was.
375
+ */
376
+ export declare const beatRoleSchema: z.ZodEnum<{
377
+ intro: "intro";
378
+ background: "background";
379
+ limitations: "limitations";
380
+ conclusion: "conclusion";
381
+ }>;
330
382
  export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
331
383
  narration: z.ZodOptional<z.ZodString>;
332
384
  archetype: z.ZodLiteral<"title">;
@@ -337,6 +389,12 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
337
389
  }, z.core.$strip>;
338
390
  id: z.ZodString;
339
391
  intent: z.ZodString;
392
+ role: z.ZodOptional<z.ZodEnum<{
393
+ intro: "intro";
394
+ background: "background";
395
+ limitations: "limitations";
396
+ conclusion: "conclusion";
397
+ }>>;
340
398
  inside: z.ZodOptional<z.ZodObject<{
341
399
  beat: z.ZodString;
342
400
  element: z.ZodString;
@@ -369,6 +427,12 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
369
427
  }, z.core.$strip>;
370
428
  id: z.ZodString;
371
429
  intent: z.ZodString;
430
+ role: z.ZodOptional<z.ZodEnum<{
431
+ intro: "intro";
432
+ background: "background";
433
+ limitations: "limitations";
434
+ conclusion: "conclusion";
435
+ }>>;
372
436
  inside: z.ZodOptional<z.ZodObject<{
373
437
  beat: z.ZodString;
374
438
  element: z.ZodString;
@@ -406,6 +470,56 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
406
470
  }, z.core.$strip>;
407
471
  id: z.ZodString;
408
472
  intent: z.ZodString;
473
+ role: z.ZodOptional<z.ZodEnum<{
474
+ intro: "intro";
475
+ background: "background";
476
+ limitations: "limitations";
477
+ conclusion: "conclusion";
478
+ }>>;
479
+ inside: z.ZodOptional<z.ZodObject<{
480
+ beat: z.ZodString;
481
+ element: z.ZodString;
482
+ label: z.ZodOptional<z.ZodString>;
483
+ }, z.core.$strip>>;
484
+ claim: z.ZodOptional<z.ZodString>;
485
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
486
+ kind: z.ZodEnum<{
487
+ figure: "figure";
488
+ equation: "equation";
489
+ table: "table";
490
+ section: "section";
491
+ }>;
492
+ id: z.ZodString;
493
+ }, z.core.$strip>>>;
494
+ weight: z.ZodDefault<z.ZodNumber>;
495
+ seconds: z.ZodDefault<z.ZodNumber>;
496
+ }, z.core.$strip>, z.ZodObject<{
497
+ narration: z.ZodOptional<z.ZodString>;
498
+ archetype: z.ZodLiteral<"equation-morph">;
499
+ params: z.ZodObject<{
500
+ eyebrow: z.ZodOptional<z.ZodString>;
501
+ headline: z.ZodString;
502
+ fromId: z.ZodString;
503
+ toId: z.ZodString;
504
+ terms: z.ZodArray<z.ZodObject<{
505
+ tex: z.ZodString;
506
+ label: z.ZodString;
507
+ tone: z.ZodEnum<{
508
+ a: "a";
509
+ b: "b";
510
+ c: "c";
511
+ d: "d";
512
+ }>;
513
+ }, z.core.$strip>>;
514
+ }, z.core.$strip>;
515
+ id: z.ZodString;
516
+ intent: z.ZodString;
517
+ role: z.ZodOptional<z.ZodEnum<{
518
+ intro: "intro";
519
+ background: "background";
520
+ limitations: "limitations";
521
+ conclusion: "conclusion";
522
+ }>>;
409
523
  inside: z.ZodOptional<z.ZodObject<{
410
524
  beat: z.ZodString;
411
525
  element: z.ZodString;
@@ -444,6 +558,12 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
444
558
  }, z.core.$strip>;
445
559
  id: z.ZodString;
446
560
  intent: z.ZodString;
561
+ role: z.ZodOptional<z.ZodEnum<{
562
+ intro: "intro";
563
+ background: "background";
564
+ limitations: "limitations";
565
+ conclusion: "conclusion";
566
+ }>>;
447
567
  inside: z.ZodOptional<z.ZodObject<{
448
568
  beat: z.ZodString;
449
569
  element: z.ZodString;
@@ -478,6 +598,12 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
478
598
  }, z.core.$strip>;
479
599
  id: z.ZodString;
480
600
  intent: z.ZodString;
601
+ role: z.ZodOptional<z.ZodEnum<{
602
+ intro: "intro";
603
+ background: "background";
604
+ limitations: "limitations";
605
+ conclusion: "conclusion";
606
+ }>>;
481
607
  inside: z.ZodOptional<z.ZodObject<{
482
608
  beat: z.ZodString;
483
609
  element: z.ZodString;
@@ -509,6 +635,12 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
509
635
  }, z.core.$strip>;
510
636
  id: z.ZodString;
511
637
  intent: z.ZodString;
638
+ role: z.ZodOptional<z.ZodEnum<{
639
+ intro: "intro";
640
+ background: "background";
641
+ limitations: "limitations";
642
+ conclusion: "conclusion";
643
+ }>>;
512
644
  inside: z.ZodOptional<z.ZodObject<{
513
645
  beat: z.ZodString;
514
646
  element: z.ZodString;
@@ -551,6 +683,12 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
551
683
  }, z.core.$strip>;
552
684
  id: z.ZodString;
553
685
  intent: z.ZodString;
686
+ role: z.ZodOptional<z.ZodEnum<{
687
+ intro: "intro";
688
+ background: "background";
689
+ limitations: "limitations";
690
+ conclusion: "conclusion";
691
+ }>>;
554
692
  inside: z.ZodOptional<z.ZodObject<{
555
693
  beat: z.ZodString;
556
694
  element: z.ZodString;
@@ -595,6 +733,12 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
595
733
  }, z.core.$strip>;
596
734
  id: z.ZodString;
597
735
  intent: z.ZodString;
736
+ role: z.ZodOptional<z.ZodEnum<{
737
+ intro: "intro";
738
+ background: "background";
739
+ limitations: "limitations";
740
+ conclusion: "conclusion";
741
+ }>>;
598
742
  inside: z.ZodOptional<z.ZodObject<{
599
743
  beat: z.ZodString;
600
744
  element: z.ZodString;
@@ -637,6 +781,12 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
637
781
  }, z.core.$strip>;
638
782
  id: z.ZodString;
639
783
  intent: z.ZodString;
784
+ role: z.ZodOptional<z.ZodEnum<{
785
+ intro: "intro";
786
+ background: "background";
787
+ limitations: "limitations";
788
+ conclusion: "conclusion";
789
+ }>>;
640
790
  inside: z.ZodOptional<z.ZodObject<{
641
791
  beat: z.ZodString;
642
792
  element: z.ZodString;
@@ -675,6 +825,12 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
675
825
  }, z.core.$strip>;
676
826
  id: z.ZodString;
677
827
  intent: z.ZodString;
828
+ role: z.ZodOptional<z.ZodEnum<{
829
+ intro: "intro";
830
+ background: "background";
831
+ limitations: "limitations";
832
+ conclusion: "conclusion";
833
+ }>>;
678
834
  inside: z.ZodOptional<z.ZodObject<{
679
835
  beat: z.ZodString;
680
836
  element: z.ZodString;
@@ -703,9 +859,16 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
703
859
  note: z.ZodOptional<z.ZodString>;
704
860
  }, z.core.$strip>>;
705
861
  note: z.ZodOptional<z.ZodString>;
862
+ tilt: z.ZodOptional<z.ZodNumber>;
706
863
  }, z.core.$strip>;
707
864
  id: z.ZodString;
708
865
  intent: z.ZodString;
866
+ role: z.ZodOptional<z.ZodEnum<{
867
+ intro: "intro";
868
+ background: "background";
869
+ limitations: "limitations";
870
+ conclusion: "conclusion";
871
+ }>>;
709
872
  inside: z.ZodOptional<z.ZodObject<{
710
873
  beat: z.ZodString;
711
874
  element: z.ZodString;
@@ -751,6 +914,12 @@ export declare const beatSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
751
914
  }, z.core.$strip>;
752
915
  id: z.ZodString;
753
916
  intent: z.ZodString;
917
+ role: z.ZodOptional<z.ZodEnum<{
918
+ intro: "intro";
919
+ background: "background";
920
+ limitations: "limitations";
921
+ conclusion: "conclusion";
922
+ }>>;
754
923
  inside: z.ZodOptional<z.ZodObject<{
755
924
  beat: z.ZodString;
756
925
  element: z.ZodString;
@@ -819,6 +988,12 @@ export declare const storyboardSchema: z.ZodObject<{
819
988
  }, z.core.$strip>;
820
989
  id: z.ZodString;
821
990
  intent: z.ZodString;
991
+ role: z.ZodOptional<z.ZodEnum<{
992
+ intro: "intro";
993
+ background: "background";
994
+ limitations: "limitations";
995
+ conclusion: "conclusion";
996
+ }>>;
822
997
  inside: z.ZodOptional<z.ZodObject<{
823
998
  beat: z.ZodString;
824
999
  element: z.ZodString;
@@ -851,6 +1026,12 @@ export declare const storyboardSchema: z.ZodObject<{
851
1026
  }, z.core.$strip>;
852
1027
  id: z.ZodString;
853
1028
  intent: z.ZodString;
1029
+ role: z.ZodOptional<z.ZodEnum<{
1030
+ intro: "intro";
1031
+ background: "background";
1032
+ limitations: "limitations";
1033
+ conclusion: "conclusion";
1034
+ }>>;
854
1035
  inside: z.ZodOptional<z.ZodObject<{
855
1036
  beat: z.ZodString;
856
1037
  element: z.ZodString;
@@ -888,6 +1069,56 @@ export declare const storyboardSchema: z.ZodObject<{
888
1069
  }, z.core.$strip>;
889
1070
  id: z.ZodString;
890
1071
  intent: z.ZodString;
1072
+ role: z.ZodOptional<z.ZodEnum<{
1073
+ intro: "intro";
1074
+ background: "background";
1075
+ limitations: "limitations";
1076
+ conclusion: "conclusion";
1077
+ }>>;
1078
+ inside: z.ZodOptional<z.ZodObject<{
1079
+ beat: z.ZodString;
1080
+ element: z.ZodString;
1081
+ label: z.ZodOptional<z.ZodString>;
1082
+ }, z.core.$strip>>;
1083
+ claim: z.ZodOptional<z.ZodString>;
1084
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
1085
+ kind: z.ZodEnum<{
1086
+ figure: "figure";
1087
+ equation: "equation";
1088
+ table: "table";
1089
+ section: "section";
1090
+ }>;
1091
+ id: z.ZodString;
1092
+ }, z.core.$strip>>>;
1093
+ weight: z.ZodDefault<z.ZodNumber>;
1094
+ seconds: z.ZodDefault<z.ZodNumber>;
1095
+ }, z.core.$strip>, z.ZodObject<{
1096
+ narration: z.ZodOptional<z.ZodString>;
1097
+ archetype: z.ZodLiteral<"equation-morph">;
1098
+ params: z.ZodObject<{
1099
+ eyebrow: z.ZodOptional<z.ZodString>;
1100
+ headline: z.ZodString;
1101
+ fromId: z.ZodString;
1102
+ toId: z.ZodString;
1103
+ terms: z.ZodArray<z.ZodObject<{
1104
+ tex: z.ZodString;
1105
+ label: z.ZodString;
1106
+ tone: z.ZodEnum<{
1107
+ a: "a";
1108
+ b: "b";
1109
+ c: "c";
1110
+ d: "d";
1111
+ }>;
1112
+ }, z.core.$strip>>;
1113
+ }, z.core.$strip>;
1114
+ id: z.ZodString;
1115
+ intent: z.ZodString;
1116
+ role: z.ZodOptional<z.ZodEnum<{
1117
+ intro: "intro";
1118
+ background: "background";
1119
+ limitations: "limitations";
1120
+ conclusion: "conclusion";
1121
+ }>>;
891
1122
  inside: z.ZodOptional<z.ZodObject<{
892
1123
  beat: z.ZodString;
893
1124
  element: z.ZodString;
@@ -926,6 +1157,12 @@ export declare const storyboardSchema: z.ZodObject<{
926
1157
  }, z.core.$strip>;
927
1158
  id: z.ZodString;
928
1159
  intent: z.ZodString;
1160
+ role: z.ZodOptional<z.ZodEnum<{
1161
+ intro: "intro";
1162
+ background: "background";
1163
+ limitations: "limitations";
1164
+ conclusion: "conclusion";
1165
+ }>>;
929
1166
  inside: z.ZodOptional<z.ZodObject<{
930
1167
  beat: z.ZodString;
931
1168
  element: z.ZodString;
@@ -960,6 +1197,12 @@ export declare const storyboardSchema: z.ZodObject<{
960
1197
  }, z.core.$strip>;
961
1198
  id: z.ZodString;
962
1199
  intent: z.ZodString;
1200
+ role: z.ZodOptional<z.ZodEnum<{
1201
+ intro: "intro";
1202
+ background: "background";
1203
+ limitations: "limitations";
1204
+ conclusion: "conclusion";
1205
+ }>>;
963
1206
  inside: z.ZodOptional<z.ZodObject<{
964
1207
  beat: z.ZodString;
965
1208
  element: z.ZodString;
@@ -991,6 +1234,12 @@ export declare const storyboardSchema: z.ZodObject<{
991
1234
  }, z.core.$strip>;
992
1235
  id: z.ZodString;
993
1236
  intent: z.ZodString;
1237
+ role: z.ZodOptional<z.ZodEnum<{
1238
+ intro: "intro";
1239
+ background: "background";
1240
+ limitations: "limitations";
1241
+ conclusion: "conclusion";
1242
+ }>>;
994
1243
  inside: z.ZodOptional<z.ZodObject<{
995
1244
  beat: z.ZodString;
996
1245
  element: z.ZodString;
@@ -1033,6 +1282,12 @@ export declare const storyboardSchema: z.ZodObject<{
1033
1282
  }, z.core.$strip>;
1034
1283
  id: z.ZodString;
1035
1284
  intent: z.ZodString;
1285
+ role: z.ZodOptional<z.ZodEnum<{
1286
+ intro: "intro";
1287
+ background: "background";
1288
+ limitations: "limitations";
1289
+ conclusion: "conclusion";
1290
+ }>>;
1036
1291
  inside: z.ZodOptional<z.ZodObject<{
1037
1292
  beat: z.ZodString;
1038
1293
  element: z.ZodString;
@@ -1077,6 +1332,12 @@ export declare const storyboardSchema: z.ZodObject<{
1077
1332
  }, z.core.$strip>;
1078
1333
  id: z.ZodString;
1079
1334
  intent: z.ZodString;
1335
+ role: z.ZodOptional<z.ZodEnum<{
1336
+ intro: "intro";
1337
+ background: "background";
1338
+ limitations: "limitations";
1339
+ conclusion: "conclusion";
1340
+ }>>;
1080
1341
  inside: z.ZodOptional<z.ZodObject<{
1081
1342
  beat: z.ZodString;
1082
1343
  element: z.ZodString;
@@ -1119,6 +1380,12 @@ export declare const storyboardSchema: z.ZodObject<{
1119
1380
  }, z.core.$strip>;
1120
1381
  id: z.ZodString;
1121
1382
  intent: z.ZodString;
1383
+ role: z.ZodOptional<z.ZodEnum<{
1384
+ intro: "intro";
1385
+ background: "background";
1386
+ limitations: "limitations";
1387
+ conclusion: "conclusion";
1388
+ }>>;
1122
1389
  inside: z.ZodOptional<z.ZodObject<{
1123
1390
  beat: z.ZodString;
1124
1391
  element: z.ZodString;
@@ -1157,6 +1424,12 @@ export declare const storyboardSchema: z.ZodObject<{
1157
1424
  }, z.core.$strip>;
1158
1425
  id: z.ZodString;
1159
1426
  intent: z.ZodString;
1427
+ role: z.ZodOptional<z.ZodEnum<{
1428
+ intro: "intro";
1429
+ background: "background";
1430
+ limitations: "limitations";
1431
+ conclusion: "conclusion";
1432
+ }>>;
1160
1433
  inside: z.ZodOptional<z.ZodObject<{
1161
1434
  beat: z.ZodString;
1162
1435
  element: z.ZodString;
@@ -1185,9 +1458,16 @@ export declare const storyboardSchema: z.ZodObject<{
1185
1458
  note: z.ZodOptional<z.ZodString>;
1186
1459
  }, z.core.$strip>>;
1187
1460
  note: z.ZodOptional<z.ZodString>;
1461
+ tilt: z.ZodOptional<z.ZodNumber>;
1188
1462
  }, z.core.$strip>;
1189
1463
  id: z.ZodString;
1190
1464
  intent: z.ZodString;
1465
+ role: z.ZodOptional<z.ZodEnum<{
1466
+ intro: "intro";
1467
+ background: "background";
1468
+ limitations: "limitations";
1469
+ conclusion: "conclusion";
1470
+ }>>;
1191
1471
  inside: z.ZodOptional<z.ZodObject<{
1192
1472
  beat: z.ZodString;
1193
1473
  element: z.ZodString;
@@ -1233,6 +1513,12 @@ export declare const storyboardSchema: z.ZodObject<{
1233
1513
  }, z.core.$strip>;
1234
1514
  id: z.ZodString;
1235
1515
  intent: z.ZodString;
1516
+ role: z.ZodOptional<z.ZodEnum<{
1517
+ intro: "intro";
1518
+ background: "background";
1519
+ limitations: "limitations";
1520
+ conclusion: "conclusion";
1521
+ }>>;
1236
1522
  inside: z.ZodOptional<z.ZodObject<{
1237
1523
  beat: z.ZodString;
1238
1524
  element: z.ZodString;
@@ -1273,6 +1559,10 @@ export declare const prefsSchema: z.ZodObject<{
1273
1559
  normal: "normal";
1274
1560
  dense: "dense";
1275
1561
  }>>;
1562
+ genre: z.ZodDefault<z.ZodEnum<{
1563
+ general: "general";
1564
+ paper: "paper";
1565
+ }>>;
1276
1566
  duration: z.ZodOptional<z.ZodNumber>;
1277
1567
  theme: z.ZodDefault<z.ZodString>;
1278
1568
  animationSpeed: z.ZodDefault<z.ZodNumber>;
@@ -1387,6 +1677,10 @@ export declare const packSchema: z.ZodObject<{
1387
1677
  normal: "normal";
1388
1678
  dense: "dense";
1389
1679
  }>>;
1680
+ genre: z.ZodDefault<z.ZodEnum<{
1681
+ general: "general";
1682
+ paper: "paper";
1683
+ }>>;
1390
1684
  duration: z.ZodOptional<z.ZodNumber>;
1391
1685
  theme: z.ZodDefault<z.ZodString>;
1392
1686
  animationSpeed: z.ZodDefault<z.ZodNumber>;
@@ -1460,6 +1754,12 @@ export declare const packSchema: z.ZodObject<{
1460
1754
  }, z.core.$strip>;
1461
1755
  id: z.ZodString;
1462
1756
  intent: z.ZodString;
1757
+ role: z.ZodOptional<z.ZodEnum<{
1758
+ intro: "intro";
1759
+ background: "background";
1760
+ limitations: "limitations";
1761
+ conclusion: "conclusion";
1762
+ }>>;
1463
1763
  inside: z.ZodOptional<z.ZodObject<{
1464
1764
  beat: z.ZodString;
1465
1765
  element: z.ZodString;
@@ -1492,6 +1792,12 @@ export declare const packSchema: z.ZodObject<{
1492
1792
  }, z.core.$strip>;
1493
1793
  id: z.ZodString;
1494
1794
  intent: z.ZodString;
1795
+ role: z.ZodOptional<z.ZodEnum<{
1796
+ intro: "intro";
1797
+ background: "background";
1798
+ limitations: "limitations";
1799
+ conclusion: "conclusion";
1800
+ }>>;
1495
1801
  inside: z.ZodOptional<z.ZodObject<{
1496
1802
  beat: z.ZodString;
1497
1803
  element: z.ZodString;
@@ -1529,6 +1835,56 @@ export declare const packSchema: z.ZodObject<{
1529
1835
  }, z.core.$strip>;
1530
1836
  id: z.ZodString;
1531
1837
  intent: z.ZodString;
1838
+ role: z.ZodOptional<z.ZodEnum<{
1839
+ intro: "intro";
1840
+ background: "background";
1841
+ limitations: "limitations";
1842
+ conclusion: "conclusion";
1843
+ }>>;
1844
+ inside: z.ZodOptional<z.ZodObject<{
1845
+ beat: z.ZodString;
1846
+ element: z.ZodString;
1847
+ label: z.ZodOptional<z.ZodString>;
1848
+ }, z.core.$strip>>;
1849
+ claim: z.ZodOptional<z.ZodString>;
1850
+ evidence: z.ZodDefault<z.ZodArray<z.ZodObject<{
1851
+ kind: z.ZodEnum<{
1852
+ figure: "figure";
1853
+ equation: "equation";
1854
+ table: "table";
1855
+ section: "section";
1856
+ }>;
1857
+ id: z.ZodString;
1858
+ }, z.core.$strip>>>;
1859
+ weight: z.ZodDefault<z.ZodNumber>;
1860
+ seconds: z.ZodDefault<z.ZodNumber>;
1861
+ }, z.core.$strip>, z.ZodObject<{
1862
+ narration: z.ZodOptional<z.ZodString>;
1863
+ archetype: z.ZodLiteral<"equation-morph">;
1864
+ params: z.ZodObject<{
1865
+ eyebrow: z.ZodOptional<z.ZodString>;
1866
+ headline: z.ZodString;
1867
+ fromId: z.ZodString;
1868
+ toId: z.ZodString;
1869
+ terms: z.ZodArray<z.ZodObject<{
1870
+ tex: z.ZodString;
1871
+ label: z.ZodString;
1872
+ tone: z.ZodEnum<{
1873
+ a: "a";
1874
+ b: "b";
1875
+ c: "c";
1876
+ d: "d";
1877
+ }>;
1878
+ }, z.core.$strip>>;
1879
+ }, z.core.$strip>;
1880
+ id: z.ZodString;
1881
+ intent: z.ZodString;
1882
+ role: z.ZodOptional<z.ZodEnum<{
1883
+ intro: "intro";
1884
+ background: "background";
1885
+ limitations: "limitations";
1886
+ conclusion: "conclusion";
1887
+ }>>;
1532
1888
  inside: z.ZodOptional<z.ZodObject<{
1533
1889
  beat: z.ZodString;
1534
1890
  element: z.ZodString;
@@ -1567,6 +1923,12 @@ export declare const packSchema: z.ZodObject<{
1567
1923
  }, z.core.$strip>;
1568
1924
  id: z.ZodString;
1569
1925
  intent: z.ZodString;
1926
+ role: z.ZodOptional<z.ZodEnum<{
1927
+ intro: "intro";
1928
+ background: "background";
1929
+ limitations: "limitations";
1930
+ conclusion: "conclusion";
1931
+ }>>;
1570
1932
  inside: z.ZodOptional<z.ZodObject<{
1571
1933
  beat: z.ZodString;
1572
1934
  element: z.ZodString;
@@ -1601,6 +1963,12 @@ export declare const packSchema: z.ZodObject<{
1601
1963
  }, z.core.$strip>;
1602
1964
  id: z.ZodString;
1603
1965
  intent: z.ZodString;
1966
+ role: z.ZodOptional<z.ZodEnum<{
1967
+ intro: "intro";
1968
+ background: "background";
1969
+ limitations: "limitations";
1970
+ conclusion: "conclusion";
1971
+ }>>;
1604
1972
  inside: z.ZodOptional<z.ZodObject<{
1605
1973
  beat: z.ZodString;
1606
1974
  element: z.ZodString;
@@ -1632,6 +2000,12 @@ export declare const packSchema: z.ZodObject<{
1632
2000
  }, z.core.$strip>;
1633
2001
  id: z.ZodString;
1634
2002
  intent: z.ZodString;
2003
+ role: z.ZodOptional<z.ZodEnum<{
2004
+ intro: "intro";
2005
+ background: "background";
2006
+ limitations: "limitations";
2007
+ conclusion: "conclusion";
2008
+ }>>;
1635
2009
  inside: z.ZodOptional<z.ZodObject<{
1636
2010
  beat: z.ZodString;
1637
2011
  element: z.ZodString;
@@ -1674,6 +2048,12 @@ export declare const packSchema: z.ZodObject<{
1674
2048
  }, z.core.$strip>;
1675
2049
  id: z.ZodString;
1676
2050
  intent: z.ZodString;
2051
+ role: z.ZodOptional<z.ZodEnum<{
2052
+ intro: "intro";
2053
+ background: "background";
2054
+ limitations: "limitations";
2055
+ conclusion: "conclusion";
2056
+ }>>;
1677
2057
  inside: z.ZodOptional<z.ZodObject<{
1678
2058
  beat: z.ZodString;
1679
2059
  element: z.ZodString;
@@ -1718,6 +2098,12 @@ export declare const packSchema: z.ZodObject<{
1718
2098
  }, z.core.$strip>;
1719
2099
  id: z.ZodString;
1720
2100
  intent: z.ZodString;
2101
+ role: z.ZodOptional<z.ZodEnum<{
2102
+ intro: "intro";
2103
+ background: "background";
2104
+ limitations: "limitations";
2105
+ conclusion: "conclusion";
2106
+ }>>;
1721
2107
  inside: z.ZodOptional<z.ZodObject<{
1722
2108
  beat: z.ZodString;
1723
2109
  element: z.ZodString;
@@ -1760,6 +2146,12 @@ export declare const packSchema: z.ZodObject<{
1760
2146
  }, z.core.$strip>;
1761
2147
  id: z.ZodString;
1762
2148
  intent: z.ZodString;
2149
+ role: z.ZodOptional<z.ZodEnum<{
2150
+ intro: "intro";
2151
+ background: "background";
2152
+ limitations: "limitations";
2153
+ conclusion: "conclusion";
2154
+ }>>;
1763
2155
  inside: z.ZodOptional<z.ZodObject<{
1764
2156
  beat: z.ZodString;
1765
2157
  element: z.ZodString;
@@ -1798,6 +2190,12 @@ export declare const packSchema: z.ZodObject<{
1798
2190
  }, z.core.$strip>;
1799
2191
  id: z.ZodString;
1800
2192
  intent: z.ZodString;
2193
+ role: z.ZodOptional<z.ZodEnum<{
2194
+ intro: "intro";
2195
+ background: "background";
2196
+ limitations: "limitations";
2197
+ conclusion: "conclusion";
2198
+ }>>;
1801
2199
  inside: z.ZodOptional<z.ZodObject<{
1802
2200
  beat: z.ZodString;
1803
2201
  element: z.ZodString;
@@ -1826,9 +2224,16 @@ export declare const packSchema: z.ZodObject<{
1826
2224
  note: z.ZodOptional<z.ZodString>;
1827
2225
  }, z.core.$strip>>;
1828
2226
  note: z.ZodOptional<z.ZodString>;
2227
+ tilt: z.ZodOptional<z.ZodNumber>;
1829
2228
  }, z.core.$strip>;
1830
2229
  id: z.ZodString;
1831
2230
  intent: z.ZodString;
2231
+ role: z.ZodOptional<z.ZodEnum<{
2232
+ intro: "intro";
2233
+ background: "background";
2234
+ limitations: "limitations";
2235
+ conclusion: "conclusion";
2236
+ }>>;
1832
2237
  inside: z.ZodOptional<z.ZodObject<{
1833
2238
  beat: z.ZodString;
1834
2239
  element: z.ZodString;
@@ -1874,6 +2279,12 @@ export declare const packSchema: z.ZodObject<{
1874
2279
  }, z.core.$strip>;
1875
2280
  id: z.ZodString;
1876
2281
  intent: z.ZodString;
2282
+ role: z.ZodOptional<z.ZodEnum<{
2283
+ intro: "intro";
2284
+ background: "background";
2285
+ limitations: "limitations";
2286
+ conclusion: "conclusion";
2287
+ }>>;
1877
2288
  inside: z.ZodOptional<z.ZodObject<{
1878
2289
  beat: z.ZodString;
1879
2290
  element: z.ZodString;
@@ -2131,6 +2542,7 @@ export type Illustration = z.infer<typeof illustrationSchema>;
2131
2542
  /** The `images` block of the preferences, resolved. What `illustrate` reads. */
2132
2543
  export type ImagesPrefs = z.infer<typeof prefsSchema>["images"];
2133
2544
  export type Beat = z.infer<typeof beatSchema>;
2545
+ export type BeatRole = z.infer<typeof beatRoleSchema>;
2134
2546
  export type Inside = z.infer<typeof insideSchema>;
2135
2547
  export type Archetype = Beat["archetype"];
2136
2548
  export type Storyboard = z.infer<typeof storyboardSchema>;