@cueframe/kernel 0.2.54 → 0.2.56

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 (63) hide show
  1. package/dist/_members/composition/validators/composition.d.ts +64 -0
  2. package/dist/_members/composition/validators/render.d.ts +32 -0
  3. package/dist/_members/composition-ops/index.d.ts +12 -0
  4. package/dist/_members/primitives/lib/text/marker.d.ts +2 -0
  5. package/dist/_members/primitives/lib/text/spec.d.ts +2 -0
  6. package/dist/animate.js +2 -2
  7. package/dist/authoring/build-tools.js +6 -6
  8. package/dist/authoring/context.js +5 -5
  9. package/dist/authoring/tools.js +5 -5
  10. package/dist/authoring.js +9 -9
  11. package/dist/{chunk-VYSBZUXZ.js → chunk-3YVIAWET.js} +1 -1
  12. package/dist/{chunk-SIGKJOSF.js → chunk-4DQRD7TD.js} +4 -4
  13. package/dist/chunk-6RWIPDJ3.js +76 -0
  14. package/dist/{chunk-UKKY7HWN.js → chunk-BDFAA747.js} +1 -1
  15. package/dist/{chunk-2BVKNYRB.js → chunk-BEFSJMFF.js} +1 -1
  16. package/dist/{chunk-Q2FWFTDZ.js → chunk-E2LKX6C4.js} +1 -1
  17. package/dist/{chunk-QCJUGKRC.js → chunk-EGIVPZCJ.js} +4 -4
  18. package/dist/{chunk-D5E5XFHK.js → chunk-FHMTAZD4.js} +1 -1
  19. package/dist/{chunk-G7ZSFSQG.js → chunk-FOST4XYJ.js} +1 -1
  20. package/dist/{chunk-AONWKKXK.js → chunk-HGCYZMII.js} +1 -1
  21. package/dist/{chunk-V6GL37RZ.js → chunk-KBDUEU4W.js} +7 -0
  22. package/dist/{chunk-T7WKIMTB.js → chunk-LBJ5LI5V.js} +1 -1
  23. package/dist/{chunk-C6ONUJIO.js → chunk-MPAOB7HY.js} +1 -1
  24. package/dist/{chunk-C3ARYFN6.js → chunk-O7QDAIB6.js} +8 -8
  25. package/dist/{chunk-7RGDRDAR.js → chunk-OOL7ZUG7.js} +1 -1
  26. package/dist/{chunk-CR3G2JQP.js → chunk-PTVTWQ4T.js} +1 -1
  27. package/dist/{chunk-GAACUQAB.js → chunk-TKFLSGAS.js} +1 -1
  28. package/dist/{chunk-RMLGMYEJ.js → chunk-TLOYCCCI.js} +1 -1
  29. package/dist/{chunk-VKZTGD5Z.js → chunk-UFD4EZHM.js} +3 -1
  30. package/dist/{chunk-FYMXVYWS.js → chunk-UMXES6ED.js} +1 -1
  31. package/dist/{chunk-GZMKTLO3.js → chunk-VDLWT5RY.js} +2 -2
  32. package/dist/{chunk-QCGT3M7M.js → chunk-VDNMCD6S.js} +2 -2
  33. package/dist/{chunk-ZDE5S3DE.js → chunk-WSMCZRJ2.js} +1 -1
  34. package/dist/component-runtime/render.js +2 -2
  35. package/dist/component-runtime.js +3 -3
  36. package/dist/compose.js +6 -6
  37. package/dist/composition/fonts.js +1 -1
  38. package/dist/composition/graphics-plan.js +3 -3
  39. package/dist/composition/ops.js +4 -4
  40. package/dist/composition/projection.js +3 -3
  41. package/dist/composition/validators.js +3 -3
  42. package/dist/composition-ops.js +8 -8
  43. package/dist/composition.js +5 -5
  44. package/dist/{context-I7SPXR2Z.js → context-O2HHUVSA.js} +5 -5
  45. package/dist/core/render.js +4 -4
  46. package/dist/core.js +4 -4
  47. package/dist/mcp/adapter.js +2 -2
  48. package/dist/mcp/core.js +1 -1
  49. package/dist/mcp/scene-shot.js +2 -2
  50. package/dist/mcp/server.js +12 -12
  51. package/dist/mcp.js +12 -12
  52. package/dist/primitives/captions.js +6 -4
  53. package/dist/primitives/effects.js +3 -3
  54. package/dist/primitives/layouts.js +3 -3
  55. package/dist/primitives/lib/index.js +6 -6
  56. package/dist/primitives/lib/text/marker.js +6 -3
  57. package/dist/primitives/lib.js +6 -6
  58. package/dist/primitives/scenes.js +3 -3
  59. package/dist/primitives.js +5 -5
  60. package/dist/render-harness/cardFonts.js +2 -2
  61. package/dist/render-harness.js +7 -7
  62. package/package.json +11 -11
  63. package/dist/chunk-DFB7UFZD.js +0 -31
@@ -977,6 +977,10 @@ export declare const CaptionStyle: z.ZodObject<{
977
977
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
978
978
  annotationColor: z.ZodOptional<z.ZodString>;
979
979
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
980
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
981
+ clean: "clean";
982
+ pencil: "pencil";
983
+ }>>;
980
984
  maxWidthPercent: z.ZodOptional<z.ZodNumber>;
981
985
  }, z.core.$strip>;
982
986
  export type CaptionStyle = z.infer<typeof CaptionStyle>;
@@ -1035,6 +1039,10 @@ export declare const CaptionLayoutStyle: z.ZodObject<{
1035
1039
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
1036
1040
  annotationColor: z.ZodOptional<z.ZodString>;
1037
1041
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
1042
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
1043
+ clean: "clean";
1044
+ pencil: "pencil";
1045
+ }>>;
1038
1046
  }, z.core.$strict>;
1039
1047
  export type CaptionLayoutStyle = z.infer<typeof CaptionLayoutStyle>;
1040
1048
  export declare const CaptionLayoutInput: z.ZodObject<{
@@ -1103,6 +1111,10 @@ export declare const CaptionLayoutInput: z.ZodObject<{
1103
1111
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
1104
1112
  annotationColor: z.ZodOptional<z.ZodString>;
1105
1113
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
1114
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
1115
+ clean: "clean";
1116
+ pencil: "pencil";
1117
+ }>>;
1106
1118
  }, z.core.$strict>>;
1107
1119
  holdThroughWordIndex: z.ZodOptional<z.ZodNumber>;
1108
1120
  wordMarks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1182,6 +1194,10 @@ export declare const CaptionLayout: z.ZodObject<{
1182
1194
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
1183
1195
  annotationColor: z.ZodOptional<z.ZodString>;
1184
1196
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
1197
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
1198
+ clean: "clean";
1199
+ pencil: "pencil";
1200
+ }>>;
1185
1201
  }, z.core.$strict>>;
1186
1202
  holdThroughWordIndex: z.ZodOptional<z.ZodNumber>;
1187
1203
  wordMarks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1297,6 +1313,10 @@ export declare const CompositionCaptions: z.ZodDiscriminatedUnion<[z.ZodObject<{
1297
1313
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
1298
1314
  annotationColor: z.ZodOptional<z.ZodString>;
1299
1315
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
1316
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
1317
+ clean: "clean";
1318
+ pencil: "pencil";
1319
+ }>>;
1300
1320
  maxWidthPercent: z.ZodOptional<z.ZodNumber>;
1301
1321
  }, z.core.$strip>>;
1302
1322
  layouts: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1365,6 +1385,10 @@ export declare const CompositionCaptions: z.ZodDiscriminatedUnion<[z.ZodObject<{
1365
1385
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
1366
1386
  annotationColor: z.ZodOptional<z.ZodString>;
1367
1387
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
1388
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
1389
+ clean: "clean";
1390
+ pencil: "pencil";
1391
+ }>>;
1368
1392
  }, z.core.$strict>>;
1369
1393
  holdThroughWordIndex: z.ZodOptional<z.ZodNumber>;
1370
1394
  wordMarks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1461,6 +1485,10 @@ export declare const CompositionCaptions: z.ZodDiscriminatedUnion<[z.ZodObject<{
1461
1485
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
1462
1486
  annotationColor: z.ZodOptional<z.ZodString>;
1463
1487
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
1488
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
1489
+ clean: "clean";
1490
+ pencil: "pencil";
1491
+ }>>;
1464
1492
  maxWidthPercent: z.ZodOptional<z.ZodNumber>;
1465
1493
  }, z.core.$strip>>;
1466
1494
  layouts: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1529,6 +1557,10 @@ export declare const CompositionCaptions: z.ZodDiscriminatedUnion<[z.ZodObject<{
1529
1557
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
1530
1558
  annotationColor: z.ZodOptional<z.ZodString>;
1531
1559
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
1560
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
1561
+ clean: "clean";
1562
+ pencil: "pencil";
1563
+ }>>;
1532
1564
  }, z.core.$strict>>;
1533
1565
  holdThroughWordIndex: z.ZodOptional<z.ZodNumber>;
1534
1566
  wordMarks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1826,6 +1858,10 @@ export declare const Composition: z.ZodObject<{
1826
1858
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
1827
1859
  annotationColor: z.ZodOptional<z.ZodString>;
1828
1860
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
1861
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
1862
+ clean: "clean";
1863
+ pencil: "pencil";
1864
+ }>>;
1829
1865
  maxWidthPercent: z.ZodOptional<z.ZodNumber>;
1830
1866
  }, z.core.$strip>>;
1831
1867
  layouts: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1894,6 +1930,10 @@ export declare const Composition: z.ZodObject<{
1894
1930
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
1895
1931
  annotationColor: z.ZodOptional<z.ZodString>;
1896
1932
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
1933
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
1934
+ clean: "clean";
1935
+ pencil: "pencil";
1936
+ }>>;
1897
1937
  }, z.core.$strict>>;
1898
1938
  holdThroughWordIndex: z.ZodOptional<z.ZodNumber>;
1899
1939
  wordMarks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1990,6 +2030,10 @@ export declare const Composition: z.ZodObject<{
1990
2030
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
1991
2031
  annotationColor: z.ZodOptional<z.ZodString>;
1992
2032
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
2033
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
2034
+ clean: "clean";
2035
+ pencil: "pencil";
2036
+ }>>;
1993
2037
  maxWidthPercent: z.ZodOptional<z.ZodNumber>;
1994
2038
  }, z.core.$strip>>;
1995
2039
  layouts: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2058,6 +2102,10 @@ export declare const Composition: z.ZodObject<{
2058
2102
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
2059
2103
  annotationColor: z.ZodOptional<z.ZodString>;
2060
2104
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
2105
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
2106
+ clean: "clean";
2107
+ pencil: "pencil";
2108
+ }>>;
2061
2109
  }, z.core.$strict>>;
2062
2110
  holdThroughWordIndex: z.ZodOptional<z.ZodNumber>;
2063
2111
  wordMarks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2389,6 +2437,10 @@ export declare const CompositionVersion: z.ZodObject<{
2389
2437
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
2390
2438
  annotationColor: z.ZodOptional<z.ZodString>;
2391
2439
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
2440
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
2441
+ clean: "clean";
2442
+ pencil: "pencil";
2443
+ }>>;
2392
2444
  maxWidthPercent: z.ZodOptional<z.ZodNumber>;
2393
2445
  }, z.core.$strip>>;
2394
2446
  layouts: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2457,6 +2509,10 @@ export declare const CompositionVersion: z.ZodObject<{
2457
2509
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
2458
2510
  annotationColor: z.ZodOptional<z.ZodString>;
2459
2511
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
2512
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
2513
+ clean: "clean";
2514
+ pencil: "pencil";
2515
+ }>>;
2460
2516
  }, z.core.$strict>>;
2461
2517
  holdThroughWordIndex: z.ZodOptional<z.ZodNumber>;
2462
2518
  wordMarks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2553,6 +2609,10 @@ export declare const CompositionVersion: z.ZodObject<{
2553
2609
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
2554
2610
  annotationColor: z.ZodOptional<z.ZodString>;
2555
2611
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
2612
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
2613
+ clean: "clean";
2614
+ pencil: "pencil";
2615
+ }>>;
2556
2616
  maxWidthPercent: z.ZodOptional<z.ZodNumber>;
2557
2617
  }, z.core.$strip>>;
2558
2618
  layouts: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -2621,6 +2681,10 @@ export declare const CompositionVersion: z.ZodObject<{
2621
2681
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
2622
2682
  annotationColor: z.ZodOptional<z.ZodString>;
2623
2683
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
2684
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
2685
+ clean: "clean";
2686
+ pencil: "pencil";
2687
+ }>>;
2624
2688
  }, z.core.$strict>>;
2625
2689
  holdThroughWordIndex: z.ZodOptional<z.ZodNumber>;
2626
2690
  wordMarks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -319,6 +319,10 @@ export declare const RenderSnapshot: z.ZodObject<{
319
319
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
320
320
  annotationColor: z.ZodOptional<z.ZodString>;
321
321
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
322
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
323
+ clean: "clean";
324
+ pencil: "pencil";
325
+ }>>;
322
326
  maxWidthPercent: z.ZodOptional<z.ZodNumber>;
323
327
  }, z.core.$strip>>;
324
328
  layouts: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -387,6 +391,10 @@ export declare const RenderSnapshot: z.ZodObject<{
387
391
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
388
392
  annotationColor: z.ZodOptional<z.ZodString>;
389
393
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
394
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
395
+ clean: "clean";
396
+ pencil: "pencil";
397
+ }>>;
390
398
  }, z.core.$strict>>;
391
399
  holdThroughWordIndex: z.ZodOptional<z.ZodNumber>;
392
400
  wordMarks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -483,6 +491,10 @@ export declare const RenderSnapshot: z.ZodObject<{
483
491
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
484
492
  annotationColor: z.ZodOptional<z.ZodString>;
485
493
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
494
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
495
+ clean: "clean";
496
+ pencil: "pencil";
497
+ }>>;
486
498
  maxWidthPercent: z.ZodOptional<z.ZodNumber>;
487
499
  }, z.core.$strip>>;
488
500
  layouts: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -551,6 +563,10 @@ export declare const RenderSnapshot: z.ZodObject<{
551
563
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
552
564
  annotationColor: z.ZodOptional<z.ZodString>;
553
565
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
566
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
567
+ clean: "clean";
568
+ pencil: "pencil";
569
+ }>>;
554
570
  }, z.core.$strict>>;
555
571
  holdThroughWordIndex: z.ZodOptional<z.ZodNumber>;
556
572
  wordMarks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1330,6 +1346,10 @@ export declare const RenderJob: z.ZodObject<{
1330
1346
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
1331
1347
  annotationColor: z.ZodOptional<z.ZodString>;
1332
1348
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
1349
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
1350
+ clean: "clean";
1351
+ pencil: "pencil";
1352
+ }>>;
1333
1353
  maxWidthPercent: z.ZodOptional<z.ZodNumber>;
1334
1354
  }, z.core.$strip>>;
1335
1355
  layouts: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1398,6 +1418,10 @@ export declare const RenderJob: z.ZodObject<{
1398
1418
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
1399
1419
  annotationColor: z.ZodOptional<z.ZodString>;
1400
1420
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
1421
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
1422
+ clean: "clean";
1423
+ pencil: "pencil";
1424
+ }>>;
1401
1425
  }, z.core.$strict>>;
1402
1426
  holdThroughWordIndex: z.ZodOptional<z.ZodNumber>;
1403
1427
  wordMarks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1494,6 +1518,10 @@ export declare const RenderJob: z.ZodObject<{
1494
1518
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
1495
1519
  annotationColor: z.ZodOptional<z.ZodString>;
1496
1520
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
1521
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
1522
+ clean: "clean";
1523
+ pencil: "pencil";
1524
+ }>>;
1497
1525
  maxWidthPercent: z.ZodOptional<z.ZodNumber>;
1498
1526
  }, z.core.$strip>>;
1499
1527
  layouts: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1562,6 +1590,10 @@ export declare const RenderJob: z.ZodObject<{
1562
1590
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
1563
1591
  annotationColor: z.ZodOptional<z.ZodString>;
1564
1592
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
1593
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
1594
+ clean: "clean";
1595
+ pencil: "pencil";
1596
+ }>>;
1565
1597
  }, z.core.$strict>>;
1566
1598
  holdThroughWordIndex: z.ZodOptional<z.ZodNumber>;
1567
1599
  wordMarks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -722,6 +722,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<[z.ZodObject<{
722
722
  emphasisPlateReveal: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
723
723
  annotationColor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
724
724
  annotationStrokeWidth: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
725
+ annotationTexture: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
726
+ clean: "clean";
727
+ pencil: "pencil";
728
+ }>>>;
725
729
  maxWidthPercent: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
726
730
  }, z.core.$strip>;
727
731
  }, z.core.$strict>, z.ZodObject<{
@@ -810,6 +814,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<[z.ZodObject<{
810
814
  emphasisPlateReveal: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
811
815
  annotationColor: z.ZodOptional<z.ZodOptional<z.ZodString>>;
812
816
  annotationStrokeWidth: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
817
+ annotationTexture: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
818
+ clean: "clean";
819
+ pencil: "pencil";
820
+ }>>>;
813
821
  maxWidthPercent: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
814
822
  }, z.core.$strip>>;
815
823
  }, z.core.$strict>, z.ZodObject<{
@@ -880,6 +888,10 @@ export declare const CompositionOp: z.ZodDiscriminatedUnion<[z.ZodObject<{
880
888
  emphasisPlateReveal: z.ZodOptional<z.ZodBoolean>;
881
889
  annotationColor: z.ZodOptional<z.ZodString>;
882
890
  annotationStrokeWidth: z.ZodOptional<z.ZodNumber>;
891
+ annotationTexture: z.ZodOptional<z.ZodEnum<{
892
+ clean: "clean";
893
+ pencil: "pencil";
894
+ }>>;
883
895
  }, z.core.$strict>>;
884
896
  holdThroughWordIndex: z.ZodOptional<z.ZodNumber>;
885
897
  wordMarks: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1,4 +1,6 @@
1
1
  import type { TextMarker } from './spec.js';
2
+ /** Stable, fully closed circle or bounded underline; independent of render frame/order. */
3
+ export declare function pencilMarkerPaths(kind: TextMarker['kind'], seed?: string | number): string[];
2
4
  export declare function Marker({ spec, progress }: {
3
5
  spec: TextMarker;
4
6
  progress: number;
@@ -6,6 +6,8 @@ export interface TextMarker {
6
6
  kind: 'circle' | 'underline';
7
7
  color: string;
8
8
  strokeWidth?: number;
9
+ texture?: 'clean' | 'pencil';
10
+ seed?: string | number;
9
11
  }
10
12
  export interface TextPlate {
11
13
  color: string;
package/dist/animate.js CHANGED
@@ -102,7 +102,7 @@ import {
102
102
  useStage,
103
103
  weightsAt,
104
104
  worldTransform
105
- } from "./chunk-D5E5XFHK.js";
105
+ } from "./chunk-FHMTAZD4.js";
106
106
  import {
107
107
  DEFAULT_LIGHTING_PROFILE,
108
108
  DEVICE_GLASS_OPACITY_ENCODED,
@@ -185,7 +185,7 @@ import {
185
185
  selectSceneBakeScale
186
186
  } from "./chunk-CL5Y6V6K.js";
187
187
  import "./chunk-2L7PYYJK.js";
188
- import "./chunk-7RGDRDAR.js";
188
+ import "./chunk-OOL7ZUG7.js";
189
189
  import "./chunk-2ESYSVXG.js";
190
190
  export {
191
191
  ALLOWED_BAKE_SCALES,
@@ -4,19 +4,19 @@ import {
4
4
  buildPlannerTools,
5
5
  buildToolsFromSchemas,
6
6
  extractProviderError
7
- } from "../chunk-Q2FWFTDZ.js";
8
- import "../chunk-QCJUGKRC.js";
7
+ } from "../chunk-E2LKX6C4.js";
8
+ import "../chunk-EGIVPZCJ.js";
9
9
  import "../chunk-JOURGVOR.js";
10
10
  import "../chunk-7AZLFN26.js";
11
- import "../chunk-T7WKIMTB.js";
12
- import "../chunk-QCGT3M7M.js";
13
- import "../chunk-VKZTGD5Z.js";
11
+ import "../chunk-LBJ5LI5V.js";
12
+ import "../chunk-VDNMCD6S.js";
13
+ import "../chunk-UFD4EZHM.js";
14
14
  import "../chunk-WPZKOVYF.js";
15
15
  import "../chunk-B7J5UUUV.js";
16
16
  import "../chunk-KYRDKK2D.js";
17
17
  import "../chunk-WREYUH2E.js";
18
18
  import "../chunk-7PA7FGLD.js";
19
- import "../chunk-7RGDRDAR.js";
19
+ import "../chunk-OOL7ZUG7.js";
20
20
  import "../chunk-2ESYSVXG.js";
21
21
  export {
22
22
  ZERO_USAGE,
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  buildDirectorContext
3
- } from "../chunk-FYMXVYWS.js";
4
- import "../chunk-T7WKIMTB.js";
5
- import "../chunk-QCGT3M7M.js";
6
- import "../chunk-VKZTGD5Z.js";
3
+ } from "../chunk-UMXES6ED.js";
4
+ import "../chunk-LBJ5LI5V.js";
5
+ import "../chunk-VDNMCD6S.js";
6
+ import "../chunk-UFD4EZHM.js";
7
7
  import "../chunk-WPZKOVYF.js";
8
8
  import "../chunk-B7J5UUUV.js";
9
9
  import "../chunk-KYRDKK2D.js";
10
10
  import "../chunk-WREYUH2E.js";
11
- import "../chunk-7RGDRDAR.js";
11
+ import "../chunk-OOL7ZUG7.js";
12
12
  import "../chunk-2ESYSVXG.js";
13
13
  export {
14
14
  buildDirectorContext
@@ -6,18 +6,18 @@ import {
6
6
  COMPOSE_ROLE_TOOLS,
7
7
  COMPOSE_ROLE_TOOL_NAMES,
8
8
  dispatchComposeRoleTool
9
- } from "../chunk-QCJUGKRC.js";
9
+ } from "../chunk-EGIVPZCJ.js";
10
10
  import "../chunk-JOURGVOR.js";
11
11
  import "../chunk-7AZLFN26.js";
12
- import "../chunk-T7WKIMTB.js";
13
- import "../chunk-QCGT3M7M.js";
14
- import "../chunk-VKZTGD5Z.js";
12
+ import "../chunk-LBJ5LI5V.js";
13
+ import "../chunk-VDNMCD6S.js";
14
+ import "../chunk-UFD4EZHM.js";
15
15
  import "../chunk-WPZKOVYF.js";
16
16
  import "../chunk-B7J5UUUV.js";
17
17
  import "../chunk-KYRDKK2D.js";
18
18
  import "../chunk-WREYUH2E.js";
19
19
  import "../chunk-7PA7FGLD.js";
20
- import "../chunk-7RGDRDAR.js";
20
+ import "../chunk-OOL7ZUG7.js";
21
21
  import "../chunk-2ESYSVXG.js";
22
22
  export {
23
23
  COMPOSE_MOTION_TOOLS,
package/dist/authoring.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  buildPlannerTools,
12
12
  buildToolsFromSchemas,
13
13
  extractProviderError
14
- } from "./chunk-Q2FWFTDZ.js";
14
+ } from "./chunk-E2LKX6C4.js";
15
15
  import {
16
16
  COMPOSE_MOTION_TOOLS,
17
17
  COMPOSE_MOTION_VERIFY_TOOLS,
@@ -20,14 +20,14 @@ import {
20
20
  COMPOSE_ROLE_TOOLS,
21
21
  COMPOSE_ROLE_TOOL_NAMES,
22
22
  dispatchComposeRoleTool
23
- } from "./chunk-QCJUGKRC.js";
23
+ } from "./chunk-EGIVPZCJ.js";
24
24
  import {
25
25
  AgentFixableCaptureError,
26
26
  getExcludedTools
27
27
  } from "./chunk-JOURGVOR.js";
28
28
  import {
29
29
  buildDirectorContext
30
- } from "./chunk-FYMXVYWS.js";
30
+ } from "./chunk-UMXES6ED.js";
31
31
  import {
32
32
  buildFastModel,
33
33
  buildModel,
@@ -49,16 +49,16 @@ import {
49
49
  initCodeGenPrompts
50
50
  } from "./chunk-Y4HPN4BC.js";
51
51
  import "./chunk-7AZLFN26.js";
52
- import "./chunk-T7WKIMTB.js";
53
- import "./chunk-QCGT3M7M.js";
54
- import "./chunk-VKZTGD5Z.js";
52
+ import "./chunk-LBJ5LI5V.js";
53
+ import "./chunk-VDNMCD6S.js";
54
+ import "./chunk-UFD4EZHM.js";
55
55
  import "./chunk-WPZKOVYF.js";
56
56
  import "./chunk-B7J5UUUV.js";
57
57
  import "./chunk-KYRDKK2D.js";
58
- import "./chunk-G7ZSFSQG.js";
58
+ import "./chunk-FOST4XYJ.js";
59
59
  import {
60
60
  cssLayoutVars
61
- } from "./chunk-RMLGMYEJ.js";
61
+ } from "./chunk-TLOYCCCI.js";
62
62
  import "./chunk-WREYUH2E.js";
63
63
  import "./chunk-ILO4NEZ3.js";
64
64
  import "./chunk-E63UEO5C.js";
@@ -69,7 +69,7 @@ import {
69
69
  isSceneShotClip
70
70
  } from "./chunk-CL5Y6V6K.js";
71
71
  import "./chunk-2L7PYYJK.js";
72
- import "./chunk-7RGDRDAR.js";
72
+ import "./chunk-OOL7ZUG7.js";
73
73
  import "./chunk-2ESYSVXG.js";
74
74
 
75
75
  // ../authoring/src/agent.ts
@@ -5,7 +5,7 @@ import {
5
5
  isOk,
6
6
  opById,
7
7
  safeParse
8
- } from "./chunk-V6GL37RZ.js";
8
+ } from "./chunk-KBDUEU4W.js";
9
9
 
10
10
  // ../mcp/src/wait.ts
11
11
  var defaultSleep = (ms) => new Promise((r) => setTimeout(r, ms));
@@ -3,13 +3,13 @@ import {
3
3
  projectMediaPlaybackSpans,
4
4
  sliceTranscriptWords,
5
5
  splitIntoSentences
6
- } from "./chunk-GZMKTLO3.js";
6
+ } from "./chunk-VDLWT5RY.js";
7
7
  import {
8
8
  createHeadlessStore,
9
9
  findClipById,
10
10
  findMarkerById,
11
11
  findTrackContainingClipId
12
- } from "./chunk-T7WKIMTB.js";
12
+ } from "./chunk-LBJ5LI5V.js";
13
13
  import {
14
14
  CaptionLayoutInput,
15
15
  CaptionSegment,
@@ -25,7 +25,7 @@ import {
25
25
  captionLayoutIssues,
26
26
  captionSegmentSignature,
27
27
  captionVisibilityIssues
28
- } from "./chunk-VKZTGD5Z.js";
28
+ } from "./chunk-UFD4EZHM.js";
29
29
  import {
30
30
  ReframeSegment
31
31
  } from "./chunk-B7J5UUUV.js";
@@ -35,7 +35,7 @@ import {
35
35
  } from "./chunk-CL5Y6V6K.js";
36
36
  import {
37
37
  introducedCaptionFaceIssues
38
- } from "./chunk-7RGDRDAR.js";
38
+ } from "./chunk-OOL7ZUG7.js";
39
39
 
40
40
  // ../composition-ops/src/index.ts
41
41
  import { z } from "zod";
@@ -0,0 +1,76 @@
1
+ import {
2
+ SeededPRNG
3
+ } from "./chunk-GULDS3VE.js";
4
+
5
+ // ../execution/primitives/src/lib/text/marker.tsx
6
+ var CLEAN_UNDERLINE = "M 3,82 C 26,90 56,92 97,76";
7
+ var CLEAN_CIRCLE = "M 13,52 C 9,28 35,12 57,13 C 83,14 96,30 93,52 C 90,73 67,88 45,86 C 25,84 8,72 11,52 C 12,45 16,37 21,33";
8
+ function hashSeed(seed) {
9
+ let hash = 2166136261;
10
+ for (const char of String(seed)) {
11
+ hash ^= char.charCodeAt(0);
12
+ hash = Math.imul(hash, 16777619);
13
+ }
14
+ return hash >>> 0 || 1;
15
+ }
16
+ function pencilMarkerPaths(kind, seed = kind) {
17
+ return [0, 1, 2].map((layer) => {
18
+ const random = new SeededPRNG(hashSeed(`${seed}:${kind}:${layer}`));
19
+ if (kind === "underline") {
20
+ const points2 = Array.from({ length: 49 }, (_, index) => {
21
+ const t = index / 48;
22
+ const x = 3 + 94 * t;
23
+ const y = 82 + 8 * Math.sin(Math.PI * t) - 6 * t + (random.next() - 0.5) * 2.8;
24
+ return `${index ? "L" : "M"} ${x.toFixed(2)},${y.toFixed(2)}`;
25
+ });
26
+ return points2.join(" ");
27
+ }
28
+ const points = Array.from({ length: 96 }, (_, index) => {
29
+ const angle = -Math.PI / 2 + index * Math.PI * 2 / 96;
30
+ const jitter = (random.next() - 0.5) * 2.8;
31
+ const x = 52 + Math.cos(angle) * (41 + jitter);
32
+ const y = 50 + Math.sin(angle) * (36 + jitter);
33
+ return `${index ? "L" : "M"} ${x.toFixed(2)},${y.toFixed(2)}`;
34
+ });
35
+ return `${points.join(" ")} Z`;
36
+ });
37
+ }
38
+ function Marker({ spec, progress }) {
39
+ const p = Math.max(0, Math.min(1, progress));
40
+ const strokeWidth = spec.strokeWidth ?? 4;
41
+ const pencil = spec.texture === "pencil";
42
+ const grainSeed = hashSeed(spec.seed ?? spec.kind);
43
+ const grainId = `marker-grain-${grainSeed.toString(16)}-${spec.kind}`;
44
+ const paths = pencil ? pencilMarkerPaths(spec.kind, spec.seed ?? spec.kind) : [spec.kind === "underline" ? CLEAN_UNDERLINE : CLEAN_CIRCLE];
45
+ return /* @__PURE__ */ React.createElement(
46
+ "svg",
47
+ {
48
+ viewBox: "0 0 100 100",
49
+ preserveAspectRatio: "none",
50
+ style: { position: "absolute", left: "-7%", top: "-26%", width: "114%", height: "156%", overflow: "visible", pointerEvents: "none" }
51
+ },
52
+ pencil && /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("filter", { id: grainId, x: "0", y: "0", width: "100", height: "100", filterUnits: "userSpaceOnUse", primitiveUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ React.createElement("feTurbulence", { type: "fractalNoise", baseFrequency: "0.65", numOctaves: 2, seed: grainSeed % 1e5, result: "noise" }), /* @__PURE__ */ React.createElement("feColorMatrix", { in: "noise", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.6 0 0 0 -0.8", result: "grain" }), /* @__PURE__ */ React.createElement("feComposite", { in: "SourceGraphic", in2: "grain", operator: "in" }))),
53
+ paths.map((path, index) => /* @__PURE__ */ React.createElement(
54
+ "path",
55
+ {
56
+ key: index,
57
+ d: path,
58
+ fill: "none",
59
+ stroke: spec.color,
60
+ strokeWidth: pencil ? strokeWidth * [0.72, 0.3, 0.24][index] : strokeWidth,
61
+ strokeOpacity: pencil ? [0.85, 0.45, 0.35][index] : void 0,
62
+ filter: pencil ? `url(#${grainId})` : void 0,
63
+ strokeLinecap: "round",
64
+ strokeLinejoin: "round",
65
+ pathLength: 1,
66
+ strokeDasharray: 1,
67
+ strokeDashoffset: 1 - p
68
+ }
69
+ ))
70
+ );
71
+ }
72
+
73
+ export {
74
+ pencilMarkerPaths,
75
+ Marker
76
+ };
@@ -5,7 +5,7 @@ import {
5
5
  bundledFontFamilyFaces,
6
6
  isGenericOnlyStack,
7
7
  parseFontStack
8
- } from "./chunk-7RGDRDAR.js";
8
+ } from "./chunk-OOL7ZUG7.js";
9
9
 
10
10
  // ../execution/render-harness/src/cardFonts.ts
11
11
  import parseCss from "css-tree/parser";
@@ -3,7 +3,7 @@ import {
3
3
  assertSceneShotParamsAdmitted,
4
4
  materializeComponentSource,
5
5
  renderComponentAlpha
6
- } from "./chunk-AONWKKXK.js";
6
+ } from "./chunk-HGCYZMII.js";
7
7
  import {
8
8
  componentArtifactId,
9
9
  componentBundleId,
@@ -2,7 +2,7 @@ import {
2
2
  COMPOSE_PLANNER_TOOLS,
3
3
  COMPOSE_ROLE_TOOLS,
4
4
  dispatchComposeRoleTool
5
- } from "./chunk-QCJUGKRC.js";
5
+ } from "./chunk-EGIVPZCJ.js";
6
6
 
7
7
  // ../authoring/src/agent/buildTools.ts
8
8
  import { tool } from "ai";
@@ -7,13 +7,13 @@ import {
7
7
  } from "./chunk-7AZLFN26.js";
8
8
  import {
9
9
  selectAllOverlays
10
- } from "./chunk-T7WKIMTB.js";
10
+ } from "./chunk-LBJ5LI5V.js";
11
11
  import {
12
12
  ComposePlan
13
- } from "./chunk-QCGT3M7M.js";
13
+ } from "./chunk-VDNMCD6S.js";
14
14
  import {
15
15
  OverlayClipSource
16
- } from "./chunk-VKZTGD5Z.js";
16
+ } from "./chunk-UFD4EZHM.js";
17
17
 
18
18
  // ../authoring/src/tools/toolSets.ts
19
19
  var COMPOSE_PLANNER_TOOLS = [
@@ -63,7 +63,7 @@ var COMPOSE_ROLE_TOOLS = Object.freeze({
63
63
  schema: z.object({}),
64
64
  metadata: { label: "Get Context" },
65
65
  handler: async (_args, capabilities) => {
66
- const { buildDirectorContext } = await import("./context-I7SPXR2Z.js");
66
+ const { buildDirectorContext } = await import("./context-O2HHUVSA.js");
67
67
  return buildDirectorContext(capabilities);
68
68
  }
69
69
  },
@@ -34,7 +34,7 @@ import {
34
34
  } from "./chunk-CL5Y6V6K.js";
35
35
  import {
36
36
  resolveCaptionFaces
37
- } from "./chunk-7RGDRDAR.js";
37
+ } from "./chunk-OOL7ZUG7.js";
38
38
 
39
39
  // ../execution/animate/src/easing/smooth.ts
40
40
  var sigmoid = (x) => 1 / (1 + Math.exp(-x));
@@ -2,7 +2,7 @@ import {
2
2
  activeFaceKeepOutSeries,
3
3
  boundingBox,
4
4
  resolveBrandRefsDeep
5
- } from "./chunk-RMLGMYEJ.js";
5
+ } from "./chunk-TLOYCCCI.js";
6
6
  import {
7
7
  CueframeError,
8
8
  encodeError