@cueframe/kernel 0.0.1 → 0.1.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 (122) hide show
  1. package/dist/_members/account-model/testing/conversationStoreContract.d.ts +1 -1
  2. package/dist/_members/authoring/providers/resourceApi.d.ts +1 -1
  3. package/dist/_members/authoring/transpileComponent.d.ts +1 -1
  4. package/dist/_members/cloud-import/CloudImportService.d.ts +35 -0
  5. package/dist/_members/cloud-import/ImportProvider.d.ts +73 -0
  6. package/dist/_members/cloud-import/MediaItemPreprocessor.d.ts +27 -0
  7. package/dist/_members/cloud-import/chunk-XKO6ZSWI.js +162 -0
  8. package/dist/_members/cloud-import/chunk-XKO6ZSWI.js.map +1 -0
  9. package/dist/_members/cloud-import/cloudConfig.d.ts +23 -0
  10. package/dist/_members/cloud-import/index.d.ts +9 -0
  11. package/dist/_members/cloud-import/index.js +241 -0
  12. package/dist/_members/cloud-import/index.js.map +1 -0
  13. package/dist/_members/cloud-import/multipartUpload.d.ts +12 -0
  14. package/dist/_members/cloud-import/multipartUpload.js +7 -0
  15. package/dist/_members/cloud-import/multipartUpload.js.map +1 -0
  16. package/dist/_members/composition/ops/compositionOps.d.ts +1 -1
  17. package/dist/_members/composition/ops/types.d.ts +1 -1
  18. package/dist/_members/composition/timeline/placement.d.ts +1 -1
  19. package/dist/_members/composition/validators/composition.d.ts +1 -1
  20. package/dist/_members/composition-ops/index.d.ts +1 -1
  21. package/dist/_members/composition-ops/opRecorder.d.ts +1 -1
  22. package/dist/_members/convex-api/api.d.ts +5 -0
  23. package/dist/_members/convex-api/dataModel.d.ts +6 -0
  24. package/dist/_members/core/render/exportSettings.d.ts +1 -1
  25. package/dist/_members/mcp/curation.d.ts +1 -1
  26. package/dist/_members/plane/conformance.d.ts +1 -1
  27. package/dist/_members/render-harness/localRender.d.ts +1 -1
  28. package/dist/animate.js +828 -79187
  29. package/dist/authoring/build-tools.js +8 -11
  30. package/dist/authoring/context.js +5 -5
  31. package/dist/authoring/models.js +1 -2
  32. package/dist/authoring/prompts.js +1 -1
  33. package/dist/authoring/tools.js +7 -7
  34. package/dist/authoring/transpileComponent.js +3 -2220
  35. package/dist/authoring.js +27 -29
  36. package/dist/brand-derivation.js +1 -1
  37. package/dist/chunk-6IU2UQI5.js +107 -0
  38. package/dist/{chunk-N67PDTKQ.js → chunk-ABL557OT.js} +1 -1
  39. package/dist/{chunk-DSNG6WLU.js → chunk-AYVJXDLB.js} +1 -4
  40. package/dist/{chunk-G3PBH53P.js → chunk-COYMZ76S.js} +1 -1
  41. package/dist/chunk-DSMLHYJ4.js +82 -0
  42. package/dist/{chunk-BRKJKB33.js → chunk-FYZVH3MC.js} +1 -1
  43. package/dist/{chunk-MVEE6HEC.js → chunk-GA23TRNR.js} +5 -7
  44. package/dist/{chunk-OIRUO5P7.js → chunk-GEA7E2FL.js} +1 -1
  45. package/dist/chunk-HCCBDJLW.js +68 -0
  46. package/dist/{chunk-QLAQHR3L.js → chunk-IBYQG46O.js} +1 -1
  47. package/dist/chunk-JQMPHKLU.js +126 -0
  48. package/dist/{chunk-ELLSET2N.js → chunk-LM4WDUQJ.js} +3 -6
  49. package/dist/{chunk-UEI3NLNK.js → chunk-MHOQTPOB.js} +1 -4
  50. package/dist/{chunk-ATAF24QG.js → chunk-MXFAADCQ.js} +1 -1
  51. package/dist/{chunk-TULRCY6U.js → chunk-NFEGPWGS.js} +1 -1
  52. package/dist/{chunk-MC5DLSEV.js → chunk-ODL7GQJG.js} +14 -14
  53. package/dist/{chunk-WZTTZHNR.js → chunk-OLFOPQCA.js} +12 -9
  54. package/dist/{chunk-P43IE4WB.js → chunk-P727GZVO.js} +2 -4
  55. package/dist/{chunk-S3P5BFFL.js → chunk-PMY24FUD.js} +2 -4
  56. package/dist/chunk-RF7U3SCL.js +606 -0
  57. package/dist/{chunk-JD77Y2WM.js → chunk-SW336CJP.js} +1 -4
  58. package/dist/{chunk-M3I5LMAB.js → chunk-UY4SWJVE.js} +1 -1
  59. package/dist/{chunk-52AHXNKM.js → chunk-VOO5FQSS.js} +5 -5
  60. package/dist/{chunk-NV4I6GJV.js → chunk-XWKZB5U5.js} +4 -4
  61. package/dist/{chunk-6QJ3V3VS.js → chunk-YX2GSJK7.js} +1 -1
  62. package/dist/{chunk-5I7VDCAC.js → chunk-ZB3C3HM7.js} +1 -1
  63. package/dist/chunk-ZT7MHRQU.js +104 -0
  64. package/dist/cloud-import/multipart.d.ts +1 -0
  65. package/dist/cloud-import/multipart.js +8 -0
  66. package/dist/cloud-import.d.ts +1 -0
  67. package/dist/cloud-import.js +234 -0
  68. package/dist/compose/renderer.js +18 -21
  69. package/dist/compose.js +18 -21
  70. package/dist/composition/graphics-plan.js +3 -3
  71. package/dist/composition/ops.js +4 -4
  72. package/dist/composition/primitive-catalog.js +1 -1
  73. package/dist/composition/projection.js +3 -3
  74. package/dist/composition/validators.js +2 -2
  75. package/dist/composition-ops.js +12 -12
  76. package/dist/composition.js +5 -5
  77. package/dist/{context-CEAKQ5T7.js → context-OKX3HHFS.js} +5 -5
  78. package/dist/convex-api/dataModel.d.ts +1 -0
  79. package/dist/convex-api/dataModel.js +0 -0
  80. package/dist/convex-api.d.ts +1 -0
  81. package/dist/convex-api.js +8 -0
  82. package/dist/core/render.js +2 -2
  83. package/dist/core.js +2 -2
  84. package/dist/mcp/adapter.js +1 -5
  85. package/dist/mcp/server.js +1 -2
  86. package/dist/mcp.js +2 -95
  87. package/dist/media-model/media-kind.js +9 -98
  88. package/dist/nle-export/xml.js +5 -22799
  89. package/dist/nle-export.js +18 -21
  90. package/dist/primitives/backgrounds.js +2 -3
  91. package/dist/primitives/captions.js +4 -243
  92. package/dist/primitives/effects.js +2 -3
  93. package/dist/primitives/hero-text.js +2 -3
  94. package/dist/primitives/layouts.js +2 -3
  95. package/dist/primitives/lib/index.js +8 -10
  96. package/dist/primitives/lib/preview.js +1 -2
  97. package/dist/primitives/lib/schema.js +1 -2
  98. package/dist/primitives/lib/text/fitText.js +1 -2
  99. package/dist/primitives/lib.js +8 -10
  100. package/dist/primitives/scenes.js +1 -2
  101. package/dist/primitives/text.js +2 -3
  102. package/dist/primitives/ui-blocks.js +4 -5
  103. package/dist/primitives.js +19 -21
  104. package/package.json +123 -13
  105. package/dist/TextureLoader-UQOFUSAP.js +0 -422
  106. package/dist/VideoTexture-AQWSPIJG.js +0 -62
  107. package/dist/chunk-7GISRVON.js +0 -14176
  108. package/dist/chunk-DIBOJJMU.js +0 -16838
  109. package/dist/chunk-EAUSEGB7.js +0 -420
  110. package/dist/chunk-FUWJOVVK.js +0 -3633
  111. package/dist/chunk-G75E7YA4.js +0 -11883
  112. package/dist/chunk-JCZQT7K3.js +0 -3266
  113. package/dist/chunk-KF5ETMKB.js +0 -544
  114. package/dist/chunk-NDKERSXY.js +0 -1296
  115. package/dist/chunk-V43Y7IE4.js +0 -3621
  116. package/dist/chunk-VIVQHIGZ.js +0 -4319
  117. package/dist/chunk-YA3OR2KK.js +0 -249
  118. package/dist/hls-HD4C5G6W.js +0 -33000
  119. package/dist/token-RGFIT24D.js +0 -69
  120. package/dist/token-util-GPLSGYVO.js +0 -5
  121. package/dist/vision_bundle-5Y376MAR.js +0 -4084
  122. package/dist/{chunk-6CMVBTTP.js → chunk-YIOY2XEO.js} +4 -4
@@ -3,7 +3,7 @@ import {
3
3
  Copy,
4
4
  Format,
5
5
  GraphicRole
6
- } from "./chunk-ATAF24QG.js";
6
+ } from "./chunk-MXFAADCQ.js";
7
7
 
8
8
  // ../composition/src/validators/composePlan.ts
9
9
  import { z } from "zod";
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  isContrastCritical
3
3
  } from "./chunk-7DHP4ESU.js";
4
- import {
5
- catalog as catalog8
6
- } from "./chunk-P43IE4WB.js";
7
- import {
8
- catalog as catalog4
9
- } from "./chunk-6QJ3V3VS.js";
10
- import {
11
- catalog as catalog7
12
- } from "./chunk-JD77Y2WM.js";
13
4
  import {
14
5
  catalog
15
- } from "./chunk-WZTTZHNR.js";
6
+ } from "./chunk-OLFOPQCA.js";
16
7
  import {
17
8
  catalog as catalog3
18
9
  } from "./chunk-AWT3P5ZN.js";
19
10
  import {
20
11
  catalog as catalog6
21
- } from "./chunk-MVEE6HEC.js";
12
+ } from "./chunk-GA23TRNR.js";
22
13
  import {
23
14
  catalog as catalog5
24
- } from "./chunk-S3P5BFFL.js";
15
+ } from "./chunk-PMY24FUD.js";
25
16
  import {
26
17
  catalog as catalog2
27
- } from "./chunk-N67PDTKQ.js";
18
+ } from "./chunk-ABL557OT.js";
19
+ import {
20
+ catalog as catalog8
21
+ } from "./chunk-P727GZVO.js";
22
+ import {
23
+ catalog as catalog4
24
+ } from "./chunk-YX2GSJK7.js";
25
+ import {
26
+ catalog as catalog7
27
+ } from "./chunk-SW336CJP.js";
28
28
  import {
29
29
  getPrimitiveSubtextParam,
30
30
  getPrimitiveTextParam
31
- } from "./chunk-5I7VDCAC.js";
31
+ } from "./chunk-ZB3C3HM7.js";
32
32
  import {
33
33
  NEUTRAL_RAMP
34
34
  } from "./chunk-JF4JJAFP.js";
@@ -20,10 +20,7 @@ import {
20
20
  import {
21
21
  FitText,
22
22
  resolveFitFontSize
23
- } from "./chunk-DSNG6WLU.js";
24
- import {
25
- fitTextOnNLines
26
- } from "./chunk-YA3OR2KK.js";
23
+ } from "./chunk-AYVJXDLB.js";
27
24
  import {
28
25
  ACCENT,
29
26
  ACCENT_STRONG,
@@ -366,6 +363,7 @@ var Karaoke = ({
366
363
  // ../execution/primitives/src/text/kinetic-type/index.tsx
367
364
  import React4 from "react";
368
365
  import { useCurrentFrame as useCurrentFrame5, useVideoConfig as useVideoConfig5, spring as spring3, interpolate as interpolate5, AbsoluteFill as AbsoluteFill3 } from "remotion";
366
+ import { fitTextOnNLines } from "@remotion/layout-utils";
369
367
  var PHRASE_TEXT_WIDTH = 1600;
370
368
  var KineticType = ({
371
369
  text,
@@ -720,6 +718,7 @@ function MarkerHighlight({
720
718
  // ../execution/primitives/src/text/shimmer-sweep/index.tsx
721
719
  import { useMemo } from "react";
722
720
  import { interpolate as interpolate8, useCurrentFrame as useCurrentFrame8, useVideoConfig as useVideoConfig8 } from "remotion";
721
+ import { fitTextOnNLines as fitTextOnNLines2 } from "@remotion/layout-utils";
723
722
  function ShimmerSweep({
724
723
  text,
725
724
  baseColor = "#a1a1aa",
@@ -742,7 +741,7 @@ function ShimmerSweep({
742
741
  const t = (text ?? "").trim();
743
742
  if (!t) return fontSize;
744
743
  try {
745
- const { fontSize: fs } = fitTextOnNLines({
744
+ const { fontSize: fs } = fitTextOnNLines2({
746
745
  text: t,
747
746
  maxLines: 1,
748
747
  maxBoxWidth: 1500,
@@ -995,6 +994,7 @@ function TextFadeReplace({
995
994
  // ../execution/primitives/src/text/tracking-in/index.tsx
996
995
  import React7 from "react";
997
996
  import { interpolate as interpolate10, spring as spring6, useCurrentFrame as useCurrentFrame11, useVideoConfig as useVideoConfig11 } from "remotion";
997
+ import { fitTextOnNLines as fitTextOnNLines3 } from "@remotion/layout-utils";
998
998
  var TRACKING_IN_TEXT_WIDTH = 1500;
999
999
  var TRACKING_IN_SETTLED_SPACING = "-0.03em";
1000
1000
  function TrackingIn({
@@ -1024,7 +1024,7 @@ function TrackingIn({
1024
1024
  const fittedFontSize = React7.useMemo(() => {
1025
1025
  if (text.trim().length === 0) return fontSize;
1026
1026
  try {
1027
- const { fontSize: fit } = fitTextOnNLines({
1027
+ const { fontSize: fit } = fitTextOnNLines3({
1028
1028
  text,
1029
1029
  maxLines: 1,
1030
1030
  maxBoxWidth: TRACKING_IN_TEXT_WIDTH,
@@ -1067,6 +1067,7 @@ function TrackingIn({
1067
1067
  // ../execution/primitives/src/text/typewriter/index.tsx
1068
1068
  import React8 from "react";
1069
1069
  import { interpolate as interpolate11, useCurrentFrame as useCurrentFrame12, useVideoConfig as useVideoConfig12 } from "remotion";
1070
+ import { fitTextOnNLines as fitTextOnNLines4 } from "@remotion/layout-utils";
1070
1071
  var TYPEWRITER_TEXT_WIDTH = 1500;
1071
1072
  var TYPEWRITER_MAX_LINES = 3;
1072
1073
  var TYPEWRITER_LETTER_SPACING = "-0.03em";
@@ -1096,7 +1097,7 @@ function Typewriter({
1096
1097
  const fittedFontSize = React8.useMemo(() => {
1097
1098
  if (text.trim().length === 0) return fontSize;
1098
1099
  try {
1099
- const { fontSize: fit } = fitTextOnNLines({
1100
+ const { fontSize: fit } = fitTextOnNLines4({
1100
1101
  text,
1101
1102
  maxLines: TYPEWRITER_MAX_LINES,
1102
1103
  maxBoxWidth: TYPEWRITER_TEXT_WIDTH,
@@ -1689,6 +1690,7 @@ var TokenStream = ({
1689
1690
  // ../execution/primitives/src/text/strikethrough-replace/index.tsx
1690
1691
  import { useMemo as useMemo2 } from "react";
1691
1692
  import { interpolate as interpolate15, useCurrentFrame as useCurrentFrame19, useVideoConfig as useVideoConfig18 } from "remotion";
1693
+ import { fitTextOnNLines as fitTextOnNLines5 } from "@remotion/layout-utils";
1692
1694
  function StrikethroughReplace({
1693
1695
  from,
1694
1696
  to,
@@ -1725,7 +1727,7 @@ function StrikethroughReplace({
1725
1727
  const longest = [from, to].map((s) => (s ?? "").trim()).sort((a, b) => b.length - a.length)[0] || "";
1726
1728
  if (!longest) return fontSize;
1727
1729
  try {
1728
- const { fontSize: fs } = fitTextOnNLines({
1730
+ const { fontSize: fs } = fitTextOnNLines5({
1729
1731
  text: longest,
1730
1732
  maxLines: 1,
1731
1733
  maxBoxWidth: 1400,
@@ -1809,6 +1811,7 @@ function StrikethroughReplace({
1809
1811
  // ../execution/primitives/src/text/masked-slide-reveal/index.tsx
1810
1812
  import { useMemo as useMemo3 } from "react";
1811
1813
  import { spring as spring10, useCurrentFrame as useCurrentFrame20, useVideoConfig as useVideoConfig19 } from "remotion";
1814
+ import { fitTextOnNLines as fitTextOnNLines6 } from "@remotion/layout-utils";
1812
1815
  function MaskedSlideReveal({
1813
1816
  text,
1814
1817
  staggerDelay = 3,
@@ -1826,7 +1829,7 @@ function MaskedSlideReveal({
1826
1829
  const t = (text ?? "").trim();
1827
1830
  if (!t) return fontSize;
1828
1831
  try {
1829
- const { fontSize: fs } = fitTextOnNLines({
1832
+ const { fontSize: fs } = fitTextOnNLines6({
1830
1833
  text: t,
1831
1834
  maxLines: 2,
1832
1835
  maxBoxWidth: 1500,
@@ -12,13 +12,11 @@ import {
12
12
  } from "./chunk-ZFEXATWN.js";
13
13
  import {
14
14
  resolveFitFontSize
15
- } from "./chunk-DSNG6WLU.js";
16
- import {
17
- fitTextOnNLines
18
- } from "./chunk-YA3OR2KK.js";
15
+ } from "./chunk-AYVJXDLB.js";
19
16
 
20
17
  // ../execution/primitives/src/hero-text/HeroText.tsx
21
18
  import { useCurrentFrame, useVideoConfig } from "remotion";
19
+ import { fitTextOnNLines } from "@remotion/layout-utils";
22
20
  var REVEAL_WINDOW_MS = 240;
23
21
  function HeroText({
24
22
  text,
@@ -1,9 +1,6 @@
1
1
  import {
2
2
  resolveFitFontSize
3
- } from "./chunk-DSNG6WLU.js";
4
- import {
5
- fitTextOnNLines
6
- } from "./chunk-YA3OR2KK.js";
3
+ } from "./chunk-AYVJXDLB.js";
7
4
  import {
8
5
  ACCENT,
9
6
  ACCENT_SOFT,
@@ -1382,6 +1379,7 @@ function VectorField({
1382
1379
 
1383
1380
  // ../execution/primitives/src/backgrounds/volumetric-rays/index.tsx
1384
1381
  import { interpolate as interpolate2, useCurrentFrame as useCurrentFrame11 } from "remotion";
1382
+ import { fitTextOnNLines } from "@remotion/layout-utils";
1385
1383
  var FONT_FAMILY3 = "inherit";
1386
1384
  function VolumetricRays({
1387
1385
  text = "REMOCN",