@cueframe/kernel 0.2.57 → 0.2.59-rc.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 (370) hide show
  1. package/dist/THIRD_PARTY_NOTICES.md +111 -0
  2. package/dist/_members/account-model/testing/conversationStoreContract.d.ts +3 -4
  3. package/dist/_members/account-model/testing/restorePointStoreContract.d.ts +3 -4
  4. package/dist/_members/account-model/validators/index.d.ts +0 -1
  5. package/dist/_members/animate/index.d.ts +0 -2
  6. package/dist/_members/authoring/index.d.ts +1 -1
  7. package/dist/_members/authoring/prompts/index.d.ts +0 -1
  8. package/dist/_members/authoring/resources.d.ts +2 -11
  9. package/dist/_members/cloud-import/CloudImportService.d.ts +0 -1
  10. package/dist/_members/cloud-import/index.d.ts +0 -2
  11. package/dist/_members/component-runtime/allowedImports.d.ts +6 -0
  12. package/dist/_members/component-runtime/allowedImports.d.ts.map +1 -1
  13. package/dist/_members/component-runtime/browserIdentity.d.ts +2 -12
  14. package/dist/_members/component-runtime/browserIdentity.d.ts.map +1 -1
  15. package/dist/_members/component-runtime/canonicalIdentity.d.ts +8 -1
  16. package/dist/_members/component-runtime/canonicalIdentity.d.ts.map +1 -1
  17. package/dist/_members/component-runtime/contracts.d.ts +2 -1
  18. package/dist/_members/component-runtime/contracts.d.ts.map +1 -1
  19. package/dist/_members/component-runtime/identity.d.ts +2 -3
  20. package/dist/_members/component-runtime/identity.d.ts.map +1 -1
  21. package/dist/_members/component-runtime/importPolicy.d.ts +5 -0
  22. package/dist/_members/component-runtime/importPolicy.d.ts.map +1 -1
  23. package/dist/_members/component-runtime/template/bind.d.ts +22 -0
  24. package/dist/_members/component-runtime/template/bind.d.ts.map +1 -0
  25. package/dist/_members/component-runtime/template/checks.d.ts +71 -0
  26. package/dist/_members/component-runtime/template/checks.d.ts.map +1 -0
  27. package/dist/_members/component-runtime/template/extract.d.ts +35 -0
  28. package/dist/_members/component-runtime/template/extract.d.ts.map +1 -0
  29. package/dist/_members/component-runtime/template/index.d.ts +6 -0
  30. package/dist/_members/component-runtime/template/index.d.ts.map +1 -0
  31. package/dist/_members/component-runtime/template/schema.d.ts +1581 -0
  32. package/dist/_members/component-runtime/template/schema.d.ts.map +1 -0
  33. package/dist/_members/component-runtime/template/testing/fixtures.d.ts +33 -0
  34. package/dist/_members/component-runtime/template/testing/fixtures.d.ts.map +1 -0
  35. package/dist/_members/component-runtime/template/testing/index.d.ts +3 -0
  36. package/dist/_members/component-runtime/template/testing/index.d.ts.map +1 -0
  37. package/dist/_members/component-runtime/template/testing/templateApplyContract.d.ts +53 -0
  38. package/dist/_members/component-runtime/template/testing/templateApplyContract.d.ts.map +1 -0
  39. package/dist/_members/component-runtime/testing/sourcePolicyCases.d.ts +15 -0
  40. package/dist/_members/component-runtime/testing/sourcePolicyCases.d.ts.map +1 -0
  41. package/dist/_members/component-runtime/webglProbe.d.ts.map +1 -1
  42. package/dist/_members/compose/index.d.ts +1 -1
  43. package/dist/_members/compose/primitiveRegistry.d.ts +0 -2
  44. package/dist/_members/composition/audio/audioMix.d.ts +0 -1
  45. package/dist/_members/composition/audio/mixStaging.d.ts +0 -5
  46. package/dist/_members/composition/fixtures/index.d.ts +0 -1
  47. package/dist/_members/composition/graphics-plan/index.d.ts +0 -2
  48. package/dist/_members/composition/graphics-plan/schemas.d.ts +4 -4
  49. package/dist/_members/composition/invariants/etag.d.ts +0 -1
  50. package/dist/_members/composition/invariants/index.d.ts +0 -1
  51. package/dist/_members/composition/ops/compositionOps.d.ts +0 -1
  52. package/dist/_members/composition/ops/compositionOps.shared.d.ts +6 -0
  53. package/dist/_members/composition/ops/index.d.ts +2 -1
  54. package/dist/_members/composition/primitive-catalog/index.d.ts +2 -3
  55. package/dist/_members/composition/primitive-catalog/types.d.ts +3 -1
  56. package/dist/_members/composition/projection/behind-readiness.d.ts +0 -6
  57. package/dist/_members/composition/timeline/link.d.ts +0 -4
  58. package/dist/_members/composition/timeline/plan.d.ts +0 -1
  59. package/dist/_members/composition/validators/brandKit.d.ts +11 -4
  60. package/dist/_members/composition/validators/brandKitBody.d.ts +543 -0
  61. package/dist/_members/composition/validators/cardHtml.d.ts +11 -0
  62. package/dist/_members/composition/validators/composition.d.ts +2 -5
  63. package/dist/_members/composition/validators/css-tree-subpaths.d.ts +16 -0
  64. package/dist/_members/composition/validators/index.d.ts +0 -3
  65. package/dist/_members/composition/validators/session.d.ts +3 -3
  66. package/dist/_members/composition/validators/webhook.d.ts +4 -4
  67. package/dist/_members/composition-ops/alphaLayers.d.ts +0 -5
  68. package/dist/_members/composition-ops/index.d.ts +2 -2
  69. package/dist/_members/composition-ops/opRecorder.d.ts +23 -3
  70. package/dist/_members/core/render/exportSettings.d.ts +4 -2
  71. package/dist/_members/core/render/index.d.ts +1 -1
  72. package/dist/_members/core/render/vcam/requiredRegion.d.ts +0 -1
  73. package/dist/_members/director/ai-sdk/index.d.ts +0 -1
  74. package/dist/_members/director/ai-sdk/messages.d.ts +0 -1
  75. package/dist/_members/director/domain/chat.d.ts +0 -78
  76. package/dist/_members/director/domain/index.d.ts +0 -1
  77. package/dist/_members/errors/registry.d.ts +42 -0
  78. package/dist/_members/foundation/canonical/index.d.ts +14 -0
  79. package/dist/_members/foundation/index.d.ts +1 -1
  80. package/dist/_members/foundation/primitives/index.d.ts +0 -2
  81. package/dist/_members/foundation/testing/index.d.ts +1 -0
  82. package/dist/_members/foundation/testing/knownRed.d.ts +13 -0
  83. package/dist/_members/mcp/adapter.d.ts +21 -0
  84. package/dist/_members/mcp/compositionOps.d.ts +10 -0
  85. package/dist/_members/mcp/server.d.ts +0 -2
  86. package/dist/_members/mcp/wait.d.ts +3 -1
  87. package/dist/_members/media-model/generation.d.ts +0 -25
  88. package/dist/_members/nle-export/xml-utils.d.ts +0 -8
  89. package/dist/_members/plane/conformance.d.ts +20 -0
  90. package/dist/_members/primitives/backgrounds/dynamic-grid/config.d.ts +1 -1
  91. package/dist/_members/primitives/effects/blur/config.d.ts +1 -1
  92. package/dist/_members/primitives/effects/color-grade/config.d.ts +2 -2
  93. package/dist/_members/primitives/effects/grain/config.d.ts +3 -3
  94. package/dist/_members/primitives/effects/particles/config.d.ts +2 -2
  95. package/dist/_members/primitives/effects/stage-camera/config.d.ts +6 -6
  96. package/dist/_members/primitives/effects/vignette/config.d.ts +1 -1
  97. package/dist/_members/primitives/index.d.ts +1 -11
  98. package/dist/_members/primitives/layouts/flex-layout/config.d.ts +3 -3
  99. package/dist/_members/primitives/layouts/picture-in-picture/config.d.ts +2 -2
  100. package/dist/_members/primitives/lib/index.d.ts +1 -1
  101. package/dist/_members/primitives/lib/tokens.d.ts +0 -16
  102. package/dist/_members/primitives/lib/types.d.ts +1 -1
  103. package/dist/_members/primitives/scenes/device-showcase/config.d.ts +7 -7
  104. package/dist/_members/primitives/text/cinematic-title/config.d.ts +3 -3
  105. package/dist/_members/primitives/text/karaoke/config.d.ts +1 -1
  106. package/dist/_members/primitives/text/kinetic-type/config.d.ts +3 -3
  107. package/dist/_members/primitives/text/stat-counter/config.d.ts +1 -1
  108. package/dist/_members/primitives/text/text-effect/config.d.ts +2 -2
  109. package/dist/_members/primitives/transitions/grid-pixelate-wipe/config.d.ts +1 -1
  110. package/dist/_members/primitives/ui-blocks/badge-pop/config.d.ts +3 -3
  111. package/dist/_members/primitives/ui-blocks/terminal-simulator/config.d.ts +2 -2
  112. package/dist/_members/primitives/ui-blocks/toast-notification/config.d.ts +2 -2
  113. package/dist/_members/render-harness/cardAssetAdmission.d.ts +1 -0
  114. package/dist/_members/render-harness/cardAssetAdmission.d.ts.map +1 -1
  115. package/dist/_members/render-harness/cardRender.d.ts.map +1 -1
  116. package/dist/_members/render-harness/materializeSources.d.ts.map +1 -1
  117. package/dist/_members/render-harness/mediaServer.d.ts +6 -1
  118. package/dist/_members/render-harness/mediaServer.d.ts.map +1 -1
  119. package/dist/account-model/testing.js +15 -5
  120. package/dist/account-model/validators.js +5 -7
  121. package/dist/account-model.js +5 -7
  122. package/dist/animate/preparation-facts.js +1 -1
  123. package/dist/animate.js +2 -6
  124. package/dist/authoring/composer.js +1 -1
  125. package/dist/authoring/context.js +8 -6
  126. package/dist/authoring/models/defaults.d.ts +1 -0
  127. package/dist/authoring/models/defaults.js +7 -0
  128. package/dist/authoring/models.js +5 -3
  129. package/dist/authoring/motion.d.ts +1 -0
  130. package/dist/authoring/motion.js +25 -0
  131. package/dist/authoring/prompts.js +4 -14
  132. package/dist/authoring/providers.js +1 -1
  133. package/dist/authoring/resource-routing.js +2 -2
  134. package/dist/authoring/resources.js +4 -22
  135. package/dist/authoring/scene.js +3 -2
  136. package/dist/authoring.js +662 -218
  137. package/dist/brand-derivation/constants.js +1 -1
  138. package/dist/brand-derivation.js +1 -1
  139. package/dist/{chunk-TKFLSGAS.js → chunk-25JH5QZA.js} +2 -2
  140. package/dist/{chunk-LBJ5LI5V.js → chunk-2K2GBFLU.js} +17 -8
  141. package/dist/{chunk-RAXHCRVV.js → chunk-2PAP5LO5.js} +1 -1
  142. package/dist/{chunk-JPMVNMF3.js → chunk-3HLDIIWA.js} +1 -1
  143. package/dist/{chunk-PTVTWQ4T.js → chunk-3JEUNKDK.js} +2 -2
  144. package/dist/chunk-3VWJ3H4X.js +68 -0
  145. package/dist/{chunk-S5H6GH6M.js → chunk-3Z7CN54H.js} +1 -1
  146. package/dist/{chunk-FVDFPJHT.js → chunk-46WBCUPE.js} +1 -1
  147. package/dist/chunk-4VBLQIM5.js +30 -0
  148. package/dist/{chunk-N2OZDD44.js → chunk-6HA55CRU.js} +4 -5
  149. package/dist/{chunk-WL2MLKWU.js → chunk-6HPEMDQW.js} +1 -1
  150. package/dist/chunk-6KZCXAYL.js +257 -0
  151. package/dist/{chunk-IEXAKOEX.js → chunk-6QGARSV6.js} +2 -15
  152. package/dist/{chunk-3YVIAWET.js → chunk-7II5OM7R.js} +13 -1
  153. package/dist/{chunk-VLJOIUHL.js → chunk-7PSQUTL5.js} +3 -3
  154. package/dist/{chunk-UFD4EZHM.js → chunk-AFUITAH6.js} +4 -5
  155. package/dist/{chunk-HGCYZMII.js → chunk-AK6QPX7A.js} +9 -9
  156. package/dist/{chunk-EC6VFQE6.js → chunk-BZVOCVQV.js} +1 -0
  157. package/dist/{chunk-RBWS5XHE.js → chunk-CAF7BRNE.js} +2 -2
  158. package/dist/chunk-CEO47DIE.js +199 -0
  159. package/dist/chunk-CIOUDOGN.js +12 -0
  160. package/dist/{chunk-BDFAA747.js → chunk-DCKADD5B.js} +1 -1
  161. package/dist/{chunk-7AZLFN26.js → chunk-EISHFHU5.js} +20 -20
  162. package/dist/chunk-EQH37KNZ.js +224 -0
  163. package/dist/{chunk-EXY4JJPH.js → chunk-F6PLDBAK.js} +2 -11
  164. package/dist/{chunk-DAARYRNT.js → chunk-FKSXKS35.js} +6 -6
  165. package/dist/{chunk-KBDUEU4W.js → chunk-FZB7UX44.js} +1 -1
  166. package/dist/chunk-H2ZZXISB.js +24 -0
  167. package/dist/{chunk-WSMCZRJ2.js → chunk-I2HNC4PQ.js} +1 -1
  168. package/dist/{chunk-VXGA7LQQ.js → chunk-IUJABAG2.js} +14 -10
  169. package/dist/{chunk-MZB4ZXYW.js → chunk-IVFMOHAC.js} +1 -9
  170. package/dist/{chunk-UKDBU7HM.js → chunk-JNBNDHEF.js} +3 -3
  171. package/dist/{chunk-JWMWVP64.js → chunk-KC4LNZL5.js} +4 -9
  172. package/dist/{chunk-GCQ7Z7S7.js → chunk-KKATUGRU.js} +3 -9
  173. package/dist/{chunk-Q5P5UFOP.js → chunk-KLQ53NX3.js} +13 -1
  174. package/dist/{chunk-UMXES6ED.js → chunk-LVMWPFV4.js} +1 -1
  175. package/dist/chunk-NECN7TT4.js +367 -0
  176. package/dist/{chunk-4ZE564YF.js → chunk-NM7NWXGF.js} +0 -146
  177. package/dist/{chunk-KSRFYFUZ.js → chunk-NY6EI5YW.js} +4 -4
  178. package/dist/{chunk-4PV3UYJF.js → chunk-ONSGT6UJ.js} +257 -226
  179. package/dist/{chunk-VZ7TYX6Z.js → chunk-P3EFZDM5.js} +0 -17
  180. package/dist/{chunk-BEFSJMFF.js → chunk-P6RVYHLT.js} +9 -9
  181. package/dist/{chunk-TBHSOEYK.js → chunk-PLWDYWK6.js} +4 -34
  182. package/dist/{chunk-KYRDKK2D.js → chunk-Q6CJ6HCU.js} +1 -6
  183. package/dist/{chunk-FWSJLHSV.js → chunk-R642352J.js} +1 -1
  184. package/dist/{chunk-XELS2BGA.js → chunk-R6HTIP3N.js} +1 -3
  185. package/dist/{chunk-RL5SO653.js → chunk-RQRPSSRT.js} +1 -1
  186. package/dist/chunk-RR7UBEBV.js +172 -0
  187. package/dist/{chunk-FHMTAZD4.js → chunk-RWJHZCOR.js} +1 -71
  188. package/dist/{chunk-73DQTUWY.js → chunk-TIAJMEQ4.js} +2 -22
  189. package/dist/{chunk-2ESYSVXG.js → chunk-U67V476Y.js} +2 -15
  190. package/dist/{chunk-N54EGUVM.js → chunk-U7KSOA2L.js} +4 -21
  191. package/dist/{chunk-K66NLMGX.js → chunk-UGWJC4GA.js} +62 -18
  192. package/dist/chunk-VBYINB74.js +136 -0
  193. package/dist/{chunk-W2245F6G.js → chunk-WTQRLFR2.js} +1 -1
  194. package/dist/{chunk-Z4G3VM3H.js → chunk-X2RTLS6K.js} +2 -23
  195. package/dist/chunk-XHMKPTHV.js +20 -0
  196. package/dist/{chunk-R7G2PNEZ.js → chunk-XOT2VWCO.js} +13 -28
  197. package/dist/{chunk-E63UEO5C.js → chunk-XQGQ5EFS.js} +16 -1
  198. package/dist/chunk-XR76OZKC.js +21 -0
  199. package/dist/chunk-ZCEYEIRB.js +179 -0
  200. package/dist/{chunk-IMIUHG2E.js → chunk-ZPJQ3TQL.js} +1 -3
  201. package/dist/cloud-import.js +1 -16
  202. package/dist/component-runtime/browserOptions.js +4 -3
  203. package/dist/component-runtime/contracts.js +2 -2
  204. package/dist/component-runtime/identity/browser.js +2 -17
  205. package/dist/component-runtime/identity.js +5 -7
  206. package/dist/component-runtime/importPolicy.js +3 -3
  207. package/dist/component-runtime/mediaResolution.js +1 -1
  208. package/dist/component-runtime/render.js +8 -7
  209. package/dist/component-runtime/sourceAdmission.js +3 -3
  210. package/dist/component-runtime/template/testing.d.ts +1 -0
  211. package/dist/component-runtime/template/testing.js +383 -0
  212. package/dist/component-runtime/template.d.ts +1 -0
  213. package/dist/component-runtime/template.js +251 -0
  214. package/dist/component-runtime.js +27 -28
  215. package/dist/compose.js +22 -39
  216. package/dist/composition/audio.js +4 -8
  217. package/dist/composition/brand-kit.js +1 -1
  218. package/dist/composition/brief.js +1 -1
  219. package/dist/composition/card-html.d.ts +1 -0
  220. package/dist/composition/card-html.js +15 -0
  221. package/dist/composition/depth.js +1 -1
  222. package/dist/composition/floors.js +2 -2
  223. package/dist/composition/fonts.js +1 -1
  224. package/dist/composition/graphics-plan.js +4 -44
  225. package/dist/composition/invariants.js +5 -12
  226. package/dist/composition/ops.js +7 -5
  227. package/dist/composition/primitive-catalog.js +4 -6
  228. package/dist/composition/projection.js +3 -5
  229. package/dist/composition/reframe/coverage.js +1 -1
  230. package/dist/composition/reframe/kenBurns.js +1 -1
  231. package/dist/composition/reframe/shotScale.js +1 -1
  232. package/dist/composition/reframe/trajectory.js +1 -1
  233. package/dist/composition/reframe.js +1 -1
  234. package/dist/composition/scene/budget-policy.js +1 -1
  235. package/dist/composition/scene.js +1 -1
  236. package/dist/composition/timeline.js +4 -8
  237. package/dist/composition/validators/brand-kit-body.d.ts +1 -0
  238. package/dist/composition/validators/brand-kit-body.js +18 -0
  239. package/dist/composition/validators/graphic-kinds.js +1 -1
  240. package/dist/composition/validators.js +16 -69
  241. package/dist/composition-ops.js +17 -15
  242. package/dist/composition.js +21 -83
  243. package/dist/context-7SWSVJ6Z.js +17 -0
  244. package/dist/core/render.js +13 -9
  245. package/dist/core/select.js +3 -3
  246. package/dist/core.js +9 -9
  247. package/dist/director/ai-sdk.js +7 -11
  248. package/dist/director/domain.js +9 -17
  249. package/dist/director.js +9 -21
  250. package/dist/{dist-LAJ2363K.js → dist-6FO67KVA.js} +1 -1
  251. package/dist/errors.js +2 -2
  252. package/dist/foundation/canonical.d.ts +1 -0
  253. package/dist/foundation/canonical.js +7 -0
  254. package/dist/foundation/primitives.js +4 -6
  255. package/dist/foundation/testing.d.ts +1 -0
  256. package/dist/foundation/testing.js +7 -0
  257. package/dist/foundation.js +7 -9
  258. package/dist/{magic-string.es-SDTMJBWP.js → magic-string.es-KVSW34UD.js} +1 -1
  259. package/dist/mcp/adapter.js +8 -16
  260. package/dist/mcp/composition-ops.d.ts +1 -0
  261. package/dist/mcp/composition-ops.js +11 -0
  262. package/dist/mcp/core.js +2 -2
  263. package/dist/mcp/curation.js +1 -1
  264. package/dist/mcp/executor.js +1 -1
  265. package/dist/mcp/scene-shot.js +3 -3
  266. package/dist/mcp/server.js +6 -30
  267. package/dist/mcp/wire-schema.js +13 -2
  268. package/dist/mcp.js +11 -33
  269. package/dist/media-model/generation.js +6 -8
  270. package/dist/media-model/media-kind.js +1 -1
  271. package/dist/media-model/testing.js +2 -2
  272. package/dist/media-model/transcriptSearch.js +1 -1
  273. package/dist/media-model.js +6 -8
  274. package/dist/nle-export/xml.js +1 -1
  275. package/dist/nle-export.js +2 -2
  276. package/dist/perception.js +1 -1
  277. package/dist/plane/conformance.js +8 -4
  278. package/dist/plane/contract.js +1 -1
  279. package/dist/plane.js +8 -4
  280. package/dist/primitives/backgrounds.js +3 -3
  281. package/dist/primitives/captions.js +5 -5
  282. package/dist/primitives/effects.js +4 -4
  283. package/dist/primitives/hero-text.js +4 -4
  284. package/dist/primitives/layouts.js +4 -4
  285. package/dist/primitives/lib/easings.js +1 -1
  286. package/dist/primitives/lib/frameScale.js +1 -1
  287. package/dist/primitives/lib/index.js +7 -13
  288. package/dist/primitives/lib/palette.js +2 -2
  289. package/dist/primitives/lib/preview.js +1 -1
  290. package/dist/primitives/lib/schema.js +1 -1
  291. package/dist/primitives/lib/seeded-random.js +1 -1
  292. package/dist/primitives/lib/text/contrast.js +3 -3
  293. package/dist/primitives/lib/text/fill.js +1 -1
  294. package/dist/primitives/lib/text/fitText.js +1 -1
  295. package/dist/primitives/lib/text/marker.js +1 -1
  296. package/dist/primitives/lib/text/motion.js +1 -1
  297. package/dist/primitives/lib/text/recolor.js +1 -1
  298. package/dist/primitives/lib/text/stage.js +1 -1
  299. package/dist/primitives/lib/text/typeface.js +1 -1
  300. package/dist/primitives/lib/tokens.js +4 -11
  301. package/dist/primitives/lib.js +7 -13
  302. package/dist/primitives/scenes.js +5 -5
  303. package/dist/primitives/subject-foreground.js +1 -1
  304. package/dist/primitives/text.js +4 -4
  305. package/dist/primitives/transitions.js +3 -3
  306. package/dist/primitives/ui-blocks.js +5 -5
  307. package/dist/primitives/workspace.js +1 -1
  308. package/dist/primitives.js +18 -32
  309. package/dist/render-harness/cardAssetAdmission.js +4 -4
  310. package/dist/render-harness/cardFonts.js +3 -3
  311. package/dist/render-harness/renderInputAssets.js +4 -4
  312. package/dist/render-harness.js +100 -82
  313. package/dist/src-XI5MULKD.js +71 -0
  314. package/package.json +51 -61
  315. package/dist/_members/account-model/validators/workingComposition.d.ts +0 -11
  316. package/dist/_members/animate/animations/index.d.ts +0 -9
  317. package/dist/_members/animate/easing/index.d.ts +0 -3
  318. package/dist/_members/animate/mobjects/index.d.ts +0 -4
  319. package/dist/_members/animate/scene/internal.d.ts +0 -29
  320. package/dist/_members/authoring/prompts/graphics.d.ts +0 -9
  321. package/dist/_members/cloud-import/cloudConfig.d.ts +0 -2
  322. package/dist/_members/composition/autozoom/index.d.ts +0 -25
  323. package/dist/_members/composition/graphics-plan/instantiateMotif.d.ts +0 -34
  324. package/dist/_members/composition/invariants/time.d.ts +0 -14
  325. package/dist/_members/composition/types/index.d.ts +0 -8
  326. package/dist/_members/composition/validators/font.d.ts +0 -58
  327. package/dist/_members/composition/validators/registry.d.ts +0 -79
  328. package/dist/_members/composition/validators/render.d.ts +0 -2068
  329. package/dist/_members/director/ai-sdk/chunks.d.ts +0 -14
  330. package/dist/_members/director/domain/ports.d.ts +0 -32
  331. package/dist/_members/director/testing/contract.d.ts +0 -52
  332. package/dist/_members/director/testing/index.d.ts +0 -1
  333. package/dist/_members/foundation/codes/index.d.ts +0 -10
  334. package/dist/_members/nle-export/server/index.d.ts +0 -1
  335. package/dist/_members/nle-export/server/pack-zip.d.ts +0 -6
  336. package/dist/_members/render-harness/assetRefs.d.ts +0 -26
  337. package/dist/_members/render-harness/assetRefs.d.ts.map +0 -1
  338. package/dist/_members/render-harness/remotion-runtime.d.ts +0 -87
  339. package/dist/authoring/build-tools.d.ts +0 -1
  340. package/dist/authoring/build-tools.js +0 -27
  341. package/dist/authoring/capabilities.d.ts +0 -1
  342. package/dist/authoring/capabilities.js +0 -11
  343. package/dist/authoring/pipelineTrace.d.ts +0 -1
  344. package/dist/authoring/pipelineTrace.js +0 -7
  345. package/dist/authoring/tools.d.ts +0 -1
  346. package/dist/authoring/tools.js +0 -30
  347. package/dist/chunk-AXRSCHQX.js +0 -661
  348. package/dist/chunk-DV7ZFVL4.js +0 -116
  349. package/dist/chunk-GF52TW4I.js +0 -51
  350. package/dist/chunk-JOURGVOR.js +0 -27
  351. package/dist/chunk-LBN5KQC6.js +0 -384
  352. package/dist/chunk-OSMXQV5V.js +0 -18
  353. package/dist/chunk-QDBVYZSF.js +0 -128
  354. package/dist/chunk-RERR5JLM.js +0 -197
  355. package/dist/chunk-U3JPILZS.js +0 -15
  356. package/dist/chunk-Y4HPN4BC.js +0 -364
  357. package/dist/composition/autozoom.d.ts +0 -1
  358. package/dist/composition/autozoom.js +0 -76
  359. package/dist/composition/fixtures.d.ts +0 -1
  360. package/dist/composition/fixtures.js +0 -154
  361. package/dist/composition/types.d.ts +0 -1
  362. package/dist/composition/types.js +0 -0
  363. package/dist/context-6HPUO36M.js +0 -15
  364. package/dist/director/testing.d.ts +0 -1
  365. package/dist/director/testing.js +0 -22
  366. package/dist/foundation/codes.d.ts +0 -1
  367. package/dist/foundation/codes.js +0 -7
  368. package/dist/nle-export/server.d.ts +0 -1
  369. package/dist/nle-export/server.js +0 -25856
  370. /package/dist/{chunk-FTVZF4GO.js → chunk-S432RE6G.js} +0 -0
@@ -0,0 +1,111 @@
1
+ # Third-Party Notices
2
+
3
+ `@cueframe/primitives` includes work derived from the following third-party projects.
4
+
5
+ ## remocn
6
+
7
+ - Source: https://github.com/Remocn/remocn (formerly https://github.com/kapishdima/remocn, which redirects there)
8
+ - License: MIT
9
+ - Copyright: (c) 2026 Remocn (current upstream LICENSE); (c) 2026 KapishDima (the upstream LICENSE when the 65 components below were adapted)
10
+
11
+ The following primitive components are adapted from remocn under the MIT license. Each adapted file carries a header comment naming the source component and pointing back to this file.
12
+
13
+ 65 components. Their upstream commit was not recorded when they were adapted,
14
+ so that column is empty for them. Every component adapted from now on records
15
+ the upstream commit here and in its file header.
16
+
17
+ | cueframe path | remocn component | upstream commit |
18
+ |---|---|---|
19
+ | `src/backgrounds/animated-bar-chart/index.tsx` | `animated-bar-chart` | |
20
+ | `src/backgrounds/animated-line-chart/index.tsx` | `animated-line-chart` | |
21
+ | `src/backgrounds/dynamic-grid/index.tsx` | `dynamic-grid` | |
22
+ | `src/backgrounds/ecosystem-constellation/index.tsx` | `ecosystem-constellation` | |
23
+ | `src/backgrounds/infinite-marquee/index.tsx` | `infinite-marquee` | |
24
+ | `src/backgrounds/mesh-gradient-bg/index.tsx` | `mesh-gradient-bg` | |
25
+ | `src/backgrounds/perspective-marquee/index.tsx` | `perspective-marquee` | |
26
+ | `src/backgrounds/volumetric-rays/index.tsx` | `volumetric-rays` | |
27
+ | `src/effects/pulsing-indicator/index.tsx` | `pulsing-indicator` | |
28
+ | `src/effects/spotlight-card/index.tsx` | `spotlight-card` | |
29
+ | `src/effects/spring-pop-in/index.tsx` | `spring-pop-in` | |
30
+ | `src/effects/success-confetti/index.tsx` | `success-confetti` | |
31
+ | `src/layouts/chat-to-preview-layout/index.tsx` | `chat-to-preview-layout` | |
32
+ | `src/layouts/infinite-bento-pan/index.tsx` | `infinite-bento-pan` | |
33
+ | `src/layouts/staggered-bento-grid/index.tsx` | `staggered-bento-grid` | |
34
+ | `src/scenes/changelog-bite/index.tsx` | `changelog-bite` | |
35
+ | `src/scenes/hero-device-assemble/index.tsx` | `hero-device-assemble` | |
36
+ | `src/scenes/landing-code-showcase/index.tsx` | `landing-code-showcase` | |
37
+ | `src/scenes/live-code-compilation/index.tsx` | `live-code-compilation` | |
38
+ | `src/scenes/pricing-tier-focus/index.tsx` | `pricing-tier-focus` | |
39
+ | `src/scenes/product-launch-trailer/index.tsx` | `product-launch-trailer` | |
40
+ | `src/scenes/terminal-to-browser-deploy/index.tsx` | `terminal-to-browser-deploy` | |
41
+ | `src/text/blur-reveal/index.tsx` | `blur-reveal` | |
42
+ | `src/text/inline-highlight/index.tsx` | `inline-highlight` | |
43
+ | `src/text/marker-highlight/index.tsx` | `marker-highlight` | |
44
+ | `src/text/masked-slide-reveal/index.tsx` | `masked-slide-reveal` | |
45
+ | `src/text/matrix-decode/index.tsx` | `matrix-decode` | |
46
+ | `src/text/rgb-glitch-text/index.tsx` | `rgb-glitch-text` | |
47
+ | `src/text/shimmer-sweep/index.tsx` | `shimmer-sweep` | |
48
+ | `src/text/slot-machine-roll/index.tsx` | `slot-machine-roll` | |
49
+ | `src/text/staggered-fade-up/index.tsx` | `staggered-fade-up` | |
50
+ | `src/text/strikethrough-replace/index.tsx` | `strikethrough-replace` | |
51
+ | `src/text/text-fade-replace/index.tsx` | `text-fade-replace` | |
52
+ | `src/text/tracking-in/index.tsx` | `tracking-in` | |
53
+ | `src/text/typewriter/index.tsx` | `typewriter` | |
54
+ | `src/transitions/chromatic-aberration-wipe/index.tsx` | `chromatic-aberration-wipe` | |
55
+ | `src/transitions/code-diff-wipe/index.tsx` | `code-diff-wipe` | |
56
+ | `src/transitions/directional-wipe/index.tsx` | `directional-wipe` | |
57
+ | `src/transitions/frosted-glass-wipe/index.tsx` | `frosted-glass-wipe` | |
58
+ | `src/transitions/grid-pixelate-wipe/index.tsx` | `grid-pixelate-wipe` | |
59
+ | `src/transitions/kinetic-type-mask/index.tsx` | `kinetic-type-mask` | |
60
+ | `src/transitions/spatial-push/index.tsx` | `spatial-push` | |
61
+ | `src/transitions/swipe-transition-wipe/index.tsx` | `swipe-transition-wipe` | |
62
+ | `src/transitions/zoom-through-transition/index.tsx` | `zoom-through-transition` | |
63
+ | `src/ui-blocks/ai-generate-overlay/index.tsx` | `ai-generate-overlay` | |
64
+ | `src/ui-blocks/ai-generation-canvas/index.tsx` | `ai-generation-canvas` | |
65
+ | `src/ui-blocks/bounding-box-selector/index.tsx` | `bounding-box-selector` | |
66
+ | `src/ui-blocks/browser-flow/index.tsx` | `browser-flow` | |
67
+ | `src/ui-blocks/brush-stroke-simulator/index.tsx` | `brush-stroke-simulator` | |
68
+ | `src/ui-blocks/code-accordion/index.tsx` | `code-accordion` | |
69
+ | `src/ui-blocks/cursor-flow/index.tsx` | `cursor-flow` | |
70
+ | `src/ui-blocks/dashboard-populate/index.tsx` | `dashboard-populate` | |
71
+ | `src/ui-blocks/data-flow-pipes/index.tsx` | `data-flow-pipes` | |
72
+ | `src/ui-blocks/device-mockup-zoom/index.tsx` | `device-mockup-zoom` | |
73
+ | `src/ui-blocks/drag-and-drop-flow/index.tsx` | `drag-and-drop-flow` | |
74
+ | `src/ui-blocks/glass-code-block/index.tsx` | `glass-code-block` | |
75
+ | `src/ui-blocks/image-expand-to-fullscreen/index.tsx` | `image-expand-to-fullscreen` | |
76
+ | `src/ui-blocks/morphing-modal/index.tsx` | `morphing-modal` | |
77
+ | `src/ui-blocks/pipeline-journey/index.tsx` | `pipeline-journey` | |
78
+ | `src/ui-blocks/progress-steps/index.tsx` | `progress-steps` | |
79
+ | `src/ui-blocks/simulated-cursor/index.tsx` | `simulated-cursor` | |
80
+ | `src/ui-blocks/terminal-simulator/index.tsx` | `terminal-simulator` | |
81
+ | `src/ui-blocks/toast-notification/index.tsx` | `toast-notification` | |
82
+ | `src/ui-blocks/tool-menu-slide-in/index.tsx` | `tool-menu-slide-in` | |
83
+ | `src/ui-blocks/visual-docs-snippet/index.tsx` | `visual-docs-snippet` | |
84
+
85
+ ### MIT License
86
+
87
+ ```
88
+ Permission is hereby granted, free of charge, to any person obtaining a copy
89
+ of this software and associated documentation files (the "Software"), to deal
90
+ in the Software without restriction, including without limitation the rights
91
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
92
+ copies of the Software, and to permit persons to whom the Software is
93
+ furnished to do so, subject to the following conditions:
94
+
95
+ The above copyright notice and this permission notice shall be included in all
96
+ copies or substantial portions of the Software.
97
+
98
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
99
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
100
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
101
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
102
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
103
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
104
+ SOFTWARE.
105
+ ```
106
+
107
+ `@cueframe/primitives` as a package is distributed under AGPL-3.0-only. The
108
+ adapted remocn portions remain available under their upstream MIT terms, and
109
+ the MIT copyright notice above and per-file source headers must travel with
110
+ those portions, including through `cueframe eject` when it copies component
111
+ source into another repository.
@@ -1,3 +1,4 @@
1
+ import { type KnownRed } from "../../foundation/testing/index.js";
1
2
  export interface ContractProjectRef {
2
3
  id: string;
3
4
  home: "local" | "cloud";
@@ -20,9 +21,7 @@ export interface ConversationStoreUnderTest {
20
21
  }
21
22
  export interface ContractHarness {
22
23
  describe: (name: string, fn: () => void) => void;
23
- it: ((name: string, fn: () => Promise<void> | void) => void) & {
24
- fails: (name: string, fn: () => Promise<void> | void) => void;
25
- };
24
+ it: (name: string, fn: () => Promise<void> | void) => void;
26
25
  expect: (actual: unknown) => {
27
26
  toEqual: (expected: unknown) => void;
28
27
  toBe: (expected: unknown) => void;
@@ -33,6 +32,6 @@ export interface ContractHarness {
33
32
  };
34
33
  };
35
34
  makeStore: () => Promise<ConversationStoreUnderTest> | ConversationStoreUnderTest;
36
- knownRed?: readonly string[];
35
+ knownRed?: readonly KnownRed[];
37
36
  }
38
37
  export declare function describeConversationStoreContract(name: string, harness: ContractHarness): void;
@@ -1,3 +1,4 @@
1
+ import { type KnownRed } from "../../foundation/testing/index.js";
1
2
  export interface ContractRestorePointMeta {
2
3
  id: string;
3
4
  label: string;
@@ -14,15 +15,13 @@ export interface RestorePointStoreUnderTest {
14
15
  }
15
16
  export interface RestorePointHarness {
16
17
  describe: (name: string, fn: () => void) => void;
17
- it: ((name: string, fn: () => Promise<void> | void) => void) & {
18
- fails: (name: string, fn: () => Promise<void> | void) => void;
19
- };
18
+ it: (name: string, fn: () => Promise<void> | void) => void;
20
19
  expect: (actual: unknown, message?: string) => {
21
20
  toEqual: (expected: unknown) => void;
22
21
  toBe: (expected: unknown) => void;
23
22
  toHaveLength: (n: number) => void;
24
23
  };
25
24
  makeStore: () => Promise<RestorePointStoreUnderTest> | RestorePointStoreUnderTest;
26
- knownRed?: readonly string[];
25
+ knownRed?: readonly KnownRed[];
27
26
  }
28
27
  export declare function describeRestorePointStoreContract(name: string, harness: RestorePointHarness): void;
@@ -4,4 +4,3 @@ export * from "./uploadToken.js";
4
4
  export * from "./contextFile.js";
5
5
  export * from "./dashboardInsight.js";
6
6
  export * from "./sessionToken.js";
7
- export * from "./workingComposition.js";
@@ -25,5 +25,3 @@ export { SceneShotError, referenceScale, conjugateF, sceneWorldMatrix, sceneCssM
25
25
  export { SceneShotV2, backdropStyleV2, resolveSceneAssetsV2, sceneShadowBoundsV2, PreparedSceneShotV1, PreparedSceneShotError, SceneVideoBindingV1, SceneVideoTextureCommitV1, acquireSceneRuntimeAllocationV1, registerActualSceneResourcesV1, resetSceneRuntimeAllocationCountersV1, sceneRuntimeAllocationSnapshotV1, LaptopObject, PageObject, SlabObject, WorldTextObject, PosedObject, SLAB_CONTENT_OFFSET, type SceneShotV2Props, type PreparedSceneShotV1Props, type SceneShotSpecV2, type SceneObjectV2, type SceneGroupV2, type SceneVideoBindingPropsV1, type SceneVideoTextureBindingV1, type SceneActualResourceRowV1, type SceneActualResourceReceiptV1, type SceneRuntimeAllocationSnapshotV1, type SceneLaptopV2, type SceneSlabV2, type ScenePageV2, type SceneWorldTextV2, type SceneScreenTextV2, type SceneBackdropV2, type ScenePostV2, type SceneRigV2, type SceneGeneratedStudioRigV2, type ScenePhotographicStudioRigV1, type SceneSurfaceBindingV2, } from './scene/index.js';
26
26
  export { SLAB_TESSELLATION, SLAB_TESSELLATION_VERSION, SLAB_TRIANGLES, SLAB_DEFAULTS, SCENE_MAX_TRIANGLES, SCENE_MAX_LAYERS, slabBodyGeometry, slabTriangleCount, slabTrianglesFor, withNormalisedFaceUv, SLAB_FINISHES, SLAB_FINISH_SPEC, slabFinishMaterial, slabFinishDeclaredBytes, satinRoughnessMap, satinRoughnessScalar, brushedNormal, anodisedGrainNormal, PhotographicStudioRig, PhotographicStudioEnvironmentError, verifyPhotographicStudioHdr, PHOTOGRAPHIC_STUDIO_RIG_ID, PHOTOGRAPHIC_STUDIO_HDRI_PATH, PHOTOGRAPHIC_STUDIO_HDRI_SHA256, PHOTOGRAPHIC_STUDIO_HDRI_BYTES, PHOTOGRAPHIC_STUDIO_PMREM_VERSION, PHOTOGRAPHIC_STUDIO_LIGHTING_VERSION, PHOTOGRAPHIC_STUDIO_EDGE_LIGHTS, PHOTOGRAPHIC_STUDIO_EDGE_INTENSITY, PHOTOGRAPHIC_STUDIO_GPU_BYTES, PHOTOGRAPHIC_STUDIO_RIG_FACTS, admitLightingProfile, admitSceneRigKind, admitSceneRigV2, assertNoObjectLightField, sceneRigIdentityV2, sceneLightCount, lightingProfileDeclaredBytes, SceneLightingRefusal, SCENE_OBJECT_LIGHT_FIELDS, SCENE_ENVIRONMENT_VERSION, sceneSlotsFor, sceneBoundSurfaces, assertSceneSurfaceResolution, RESOLUTION_BOUND, ALLOWED_BAKE_SCALES, DEFAULT_BAKE_SCALE, SceneResolutionRefusal, checkSurfaceResolution, selectSceneBakeScale, projectedSlotEdges, projectToOutputPixels, type SceneSlabFinish, type SceneLightingRefusalCode, type SceneRigIdentityV2, type SceneRigKindV2, type SceneGeneratedStudioRigIdentityV2, type ScenePhotographicStudioRigIdentityV1, type SceneBakeScale, type SceneResolutionResult, type SceneBakeScaleSelection, type SceneEvaluatedPose, type SceneSlotRect, type SceneResolutionRefusalCode, type SceneSlotDescriptor, sceneSlabPreparationFactsV1, scenePresetBuilderDescriptorV1, generatedStudioPreparationFactsV1, photographicStudioPreparationFactsV1, sceneGrainPreparationAllocationV1, sceneGrainPreparationCpuAllocationV1, sceneFocusPreparationAllocationsV1, preparedSurfaceDeviceProps, type PreparedSceneSurfaceVisualV1, } from './scene/index.js';
27
27
  export { driftWallRecipe, infiniteSpiralRecipe, depthJourneyRecipe, infiniteCanvasRecipe, gridToHeroRecipe, type MediaTileRecipeResult, } from './media/recipes.js';
28
- export declare const sandboxScope: Record<string, unknown>;
29
- export declare const sandboxScopeNames: string[];
@@ -19,7 +19,7 @@ export { COMPOSE_PLANNER_TOOLS, COMPOSE_PLANNER_REPAIR_TOOLS, COMPOSE_MOTION_TOO
19
19
  export type { ApprovalFn } from './types.js';
20
20
  export type { PipelineTraceInterface as PipelineTrace } from './pipelineTrace.js';
21
21
  export type { PipelineTraceInterface as RequestTraceInterface } from './pipelineTrace.js';
22
- export { type PlanStep, formatPlanSteps, buildExecutionTask, buildPlannerUserMessage, PLANNING_INSTRUCTIONS, CODE_GEN_FEW_SHOT_EXAMPLES, COMPONENT_CONTRACT, TOOLKIT_REFERENCE, DESIGN_QUALITY_RULES, type ManagedPrompt, initCodeGenPrompts, EVALUATOR_PROMPT, } from './prompts/index.js';
22
+ export { type PlanStep, formatPlanSteps, buildExecutionTask, buildPlannerUserMessage, PLANNING_INSTRUCTIONS, EVALUATOR_PROMPT, } from './prompts/index.js';
23
23
  export { PipelineTrace as RequestTrace } from './pipelineTrace.js';
24
24
  export { generateMotionShell, MOTION_PRESETS, resolveMotionPresetCard, MotionPresetError, materializeMotionPresetOpsCore, isMotionPresetOp, hasMotionPresetOp } from './motion/index.js';
25
25
  export type { MotionPresetName, MotionShellOptions, MotionPresetErrorCode, ApplyMotionPresetOp, MaterializedMotionShell, MaterializeMotionPresetDeps } from './motion/index.js';
@@ -1,3 +1,2 @@
1
1
  export { type PlanStep, formatPlanSteps, buildExecutionTask, buildPlannerUserMessage, PLANNING_INSTRUCTIONS, } from './plannerPrompt.js';
2
- export { CODE_GEN_FEW_SHOT_EXAMPLES, COMPONENT_CONTRACT, TOOLKIT_REFERENCE, DESIGN_QUALITY_RULES, type ManagedPrompt, initCodeGenPrompts, } from './graphics.js';
3
2
  export { EVALUATOR_PROMPT } from './evaluatorPrompt.js';
@@ -1,24 +1,15 @@
1
- import type { StockMediaResult, StockVideoCandidate, StockPhotoCandidate, StockSoundCandidate, StockGifCandidate, SoundEffectResult, GifClipResult } from './types.js';
2
- export type { StockMediaResult, StockVideoCandidate, StockPhotoCandidate, StockSoundCandidate, StockGifCandidate, SoundEffectResult, GifClipResult, } from './types.js';
1
+ import type { StockVideoCandidate, StockPhotoCandidate, StockSoundCandidate, StockGifCandidate } from './types.js';
2
+ export type { StockVideoCandidate, StockPhotoCandidate, StockSoundCandidate, StockGifCandidate, } from './types.js';
3
3
  export interface Gateway {
4
4
  url: string;
5
5
  key: string;
6
6
  }
7
7
  export declare function searchStockVideos(gw: Gateway, query: string, perPage?: number, signal?: AbortSignal): Promise<StockVideoCandidate[]>;
8
- export declare function popularStockVideos(gw: Gateway, perPage?: number, signal?: AbortSignal): Promise<StockVideoCandidate[]>;
9
8
  export declare function searchPixabayVideos(gw: Gateway, query: string, perPage?: number, signal?: AbortSignal): Promise<StockVideoCandidate[]>;
10
- export declare function popularPixabayVideos(gw: Gateway, perPage?: number, signal?: AbortSignal): Promise<StockVideoCandidate[]>;
11
- export declare function searchStockPhotos(gw: Gateway, query: string, perPage?: number, signal?: AbortSignal): Promise<StockMediaResult[]>;
12
- export declare function popularStockPhotos(gw: Gateway, perPage?: number, signal?: AbortSignal): Promise<StockMediaResult[]>;
13
- export declare function searchPixabayPhotos(gw: Gateway, query: string, perPage?: number, signal?: AbortSignal): Promise<StockMediaResult[]>;
14
- export declare function popularPixabayPhotos(gw: Gateway, perPage?: number, signal?: AbortSignal): Promise<StockMediaResult[]>;
15
9
  export interface SfxDurationFilter {
16
10
  min?: number;
17
11
  max?: number;
18
12
  }
19
- export declare function searchSoundEffects(gw: Gateway, query: string, perPage?: number, signal?: AbortSignal, durationSec?: SfxDurationFilter): Promise<SoundEffectResult[]>;
20
- export declare function searchKlipy(gw: Gateway, query: string, limit?: number, signal?: AbortSignal, type?: 'gifs' | 'clips'): Promise<GifClipResult[]>;
21
- export declare function trendingKlipy(gw: Gateway, limit?: number, signal?: AbortSignal, type?: 'gifs' | 'clips'): Promise<GifClipResult[]>;
22
13
  export declare function searchStockPhotoCandidates(gw: Gateway, query: string, perPage?: number, signal?: AbortSignal): Promise<StockPhotoCandidate[]>;
23
14
  export declare function searchPixabayPhotoCandidates(gw: Gateway, query: string, perPage?: number, signal?: AbortSignal): Promise<StockPhotoCandidate[]>;
24
15
  export declare function searchSoundEffectsCandidates(gw: Gateway, query: string, perPage?: number, signal?: AbortSignal, durationSec?: SfxDurationFilter): Promise<StockSoundCandidate[]>;
@@ -13,7 +13,6 @@ declare class CloudImportService {
13
13
  private uppy;
14
14
  private config;
15
15
  init(config: CloudImportConfig): Uppy;
16
- getUppy(): Uppy;
17
16
  }
18
17
  export declare const cloudImportService: CloudImportService;
19
18
  export {};
@@ -2,6 +2,4 @@ export { ImportProvider, useImport, useImportIfAvailable } from './ImportProvide
2
2
  export type { ImportProviderProps } from './ImportProvider.js';
3
3
  export { cloudImportService } from './CloudImportService.js';
4
4
  export type { CloudUploadResult } from './CloudImportService.js';
5
- export { detectEnvironment } from './cloudConfig.js';
6
- export type { CloudEnvironment } from './cloudConfig.js';
7
5
  export { useDropzone, useUppyState, useUppyEvent, } from '@uppy/react';
@@ -1,3 +1,9 @@
1
1
  /** Public component imports shared by admission and desktop dependency staging. */
2
2
  export declare const COMPONENT_IMPORT_ALLOWLIST: readonly ["react", "react/jsx-runtime", "remotion", "@remotion/media", "@remotion/layout-utils", "@remotion/transitions", "@remotion/motion-blur", "@remotion/noise", "@remotion/paths", "@remotion/shapes", "@remotion/three", "three", "three/webgpu", "three/tsl", "@react-three/fiber", "@cueframe/animate", "gsap", "postprocessing"];
3
+ /** Calls a component may not make: their results depend on when it runs. */
4
+ export declare const DENIED_AMBIENT_CALLS: ReadonlySet<string>;
5
+ /** Members a component may not read: they differ between runs of the same frame. */
6
+ export declare const DENIED_NONDETERMINISTIC_MEMBERS: ReadonlySet<string>;
7
+ /** Remotion media exports a component reaches through `@cueframe/animate` MediaTileScene instead. */
8
+ export declare const GUARDED_MEDIA_EXPORTS: ReadonlySet<string>;
3
9
  //# sourceMappingURL=allowedImports.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"allowedImports.d.ts","sourceRoot":"","sources":["../src/allowedImports.ts"],"names":[],"mappings":"AAAA,mFAAmF;AACnF,eAAO,MAAM,0BAA0B,4UAmB5B,CAAC"}
1
+ {"version":3,"file":"allowedImports.d.ts","sourceRoot":"","sources":["../src/allowedImports.ts"],"names":[],"mappings":"AAAA,mFAAmF;AACnF,eAAO,MAAM,0BAA0B,4UAmB5B,CAAC;AAEZ,4EAA4E;AAC5E,eAAO,MAAM,oBAAoB,EAAE,WAAW,CAAC,MAAM,CAKnD,CAAC;AAEH,oFAAoF;AACpF,eAAO,MAAM,+BAA+B,EAAE,WAAW,CAAC,MAAM,CAM9D,CAAC;AAEH,qGAAqG;AACrG,eAAO,MAAM,qBAAqB,EAAE,WAAW,CAAC,MAAM,CAMpD,CAAC"}
@@ -1,14 +1,4 @@
1
- import type { ComponentRenderReceiptV2, ComponentRenderRequestV2, ComponentSourceV2 } from './contracts.js';
2
- export declare function sha256HexBrowser(value: string | Uint8Array): Promise<string>;
1
+ import type { ComponentSourceV2 } from './contracts.js';
2
+ export declare function sha256HexBrowser(value: string | Uint8Array<ArrayBuffer>): Promise<string>;
3
3
  export declare function sourceVersionIdBrowser(source: ComponentSourceV2): Promise<string>;
4
- export declare function componentBundleIdBrowser(input: {
5
- sourceVersionId: string;
6
- runtimeDigest: string;
7
- dependencyLockDigest: string;
8
- }): Promise<string>;
9
- export declare function componentRenderKeyBrowser(request: ComponentRenderRequestV2): Promise<string>;
10
- export declare function componentArtifactIdBrowser(input: {
11
- outputSha256: string;
12
- receipt: Omit<ComponentRenderReceiptV2, 'artifactId'>;
13
- }): Promise<string>;
14
4
  //# sourceMappingURL=browserIdentity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"browserIdentity.d.ts","sourceRoot":"","sources":["../src/browserIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AAYxB,wBAAsB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAGlF;AAED,wBAAsB,sBAAsB,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,CAEvF;AAED,wBAAsB,wBAAwB,CAAC,KAAK,EAAE;IACpD,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;CAC9B,GAAG,OAAO,CAAC,MAAM,CAAC,CAElB;AAED,wBAAsB,yBAAyB,CAAC,OAAO,EAAE,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,CAElG;AAED,wBAAsB,0BAA0B,CAAC,KAAK,EAAE;IACtD,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,IAAI,CAAC,wBAAwB,EAAE,YAAY,CAAC,CAAC;CACvD,GAAG,OAAO,CAAC,MAAM,CAAC,CAElB"}
1
+ {"version":3,"file":"browserIdentity.d.ts","sourceRoot":"","sources":["../src/browserIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAOxD,wBAAsB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAG/F;AAED,wBAAsB,sBAAsB,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,MAAM,CAAC,CAEvF"}
@@ -1,5 +1,12 @@
1
1
  import type { ComponentRenderReceiptV2, ComponentRenderRequestV2, ComponentSourceV2 } from './contracts.js';
2
- export declare function canonicalJson(value: unknown): string;
2
+ /**
3
+ * The identity form of a value: sorted keys, text normalized to NFC with LF
4
+ * line endings, -0 as 0, and a refusal for anything it cannot hash exactly
5
+ * (undefined, non-finite numbers, non-plain objects, cycles). Component source
6
+ * versions (`sourceVersionId`), bundles, renders and artifacts are keyed by
7
+ * this string's SHA-256, and clips pin those keys, so these bytes never change.
8
+ */
9
+ export declare function canonicalIdentityJson(value: unknown): string;
3
10
  export declare function sourceVersionIdentity(source: ComponentSourceV2): string;
4
11
  export declare function componentBundleIdentity(input: {
5
12
  sourceVersionId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"canonicalIdentity.d.ts","sourceRoot":"","sources":["../src/canonicalIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AAqCxB,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAEpD;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,iBAAiB,GAAG,MAAM,CAEvE;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE;IAC7C,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;CAC9B,GAAG,MAAM,CAET;AAED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,wBAAwB,GAAG,MAAM,CAEjF;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE;IAC/C,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,IAAI,CAAC,wBAAwB,EAAE,YAAY,CAAC,CAAC;CACvD,GAAG,MAAM,CAOT"}
1
+ {"version":3,"file":"canonicalIdentity.d.ts","sourceRoot":"","sources":["../src/canonicalIdentity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AAqCxB;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAE5D;AAED,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,iBAAiB,GAAG,MAAM,CAEvE;AAED,wBAAgB,uBAAuB,CAAC,KAAK,EAAE;IAC7C,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;CAC9B,GAAG,MAAM,CAET;AAED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,wBAAwB,GAAG,MAAM,CAEjF;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,yBAAyB,CAAC,KAAK,EAAE;IAC/C,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,IAAI,CAAC,wBAAwB,EAAE,YAAY,CAAC,CAAC;CACvD,GAAG,MAAM,CAOT"}
@@ -770,7 +770,7 @@ export type ComponentRenderReceiptV2 = z.infer<typeof ComponentRenderReceiptV2>;
770
770
  * ones a component can report about itself: the host's own artifact verifier
771
771
  * refuses through the same channel, so its codes belong here too.
772
772
  */
773
- export declare const COMPONENT_RUNTIME_ERROR_CODES: readonly ["invalid_component_source", "unsupported_runtime_version", "component_does_not_compile", "component_runtime_error", "component_deadline_exceeded", "component_resource_exhausted", "component_asset_undeclared", "component_asset_unavailable", "component_asset_integrity_failed", "component_network_denied", "component_import_denied", "component_graphics_unavailable", "component_graphics_mismatch", "component_device_lost", "component_output_invalid", "component_output_unverifiable", "component_conflict", "component_scene_invalid"];
773
+ export declare const COMPONENT_RUNTIME_ERROR_CODES: readonly ["invalid_component_source", "unsupported_runtime_version", "component_does_not_compile", "component_runtime_error", "component_deadline_exceeded", "component_resource_exhausted", "component_asset_undeclared", "component_asset_unavailable", "component_asset_integrity_failed", "component_network_denied", "component_import_denied", "component_api_mismatch", "component_graphics_unavailable", "component_graphics_mismatch", "component_device_lost", "component_output_invalid", "component_output_unverifiable", "component_conflict", "component_scene_invalid"];
774
774
  export declare const ComponentRuntimeErrorCode: z.ZodEnum<{
775
775
  invalid_component_source: "invalid_component_source";
776
776
  unsupported_runtime_version: "unsupported_runtime_version";
@@ -783,6 +783,7 @@ export declare const ComponentRuntimeErrorCode: z.ZodEnum<{
783
783
  component_asset_integrity_failed: "component_asset_integrity_failed";
784
784
  component_network_denied: "component_network_denied";
785
785
  component_import_denied: "component_import_denied";
786
+ component_api_mismatch: "component_api_mismatch";
786
787
  component_graphics_unavailable: "component_graphics_unavailable";
787
788
  component_graphics_mismatch: "component_graphics_mismatch";
788
789
  component_device_lost: "component_device_lost";
@@ -1 +1 @@
1
- {"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../src/contracts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,wBAAwB,EAAG,CAAU,CAAC;AACnD,eAAO,MAAM,wBAAwB,EAAG,CAAU,CAAC;AACnD,eAAO,MAAM,yBAAyB,EAAG,CAAU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6B,wjBAoBhC,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;EAAwC,CAAC;AAC/E,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAElF,qBAAa,qBAAsB,SAAQ,KAAK;IAC9C,QAAQ,CAAC,IAAI,EAAE,yBAAyB,CAAC;IACzC,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,mHAAmH;IACnH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;gBAGzC,IAAI,EAAE,yBAAyB,EAC/B,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,OAAO,CAAC;QAAC,KAAK,CAAC,EAAE,OAAO,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE;CAQxF;AAED,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,IAAI,CAAC,wBAAwB,EAAE,UAAU,CAAC,EACnD,OAAO,EAAE,IAAI,CAAC,wBAAwB,EAAE,mBAAmB,GAAG,gBAAgB,CAAC,GAC9E,IAAI,CAoBN;AAED,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,IAAI,CAAC,wBAAwB,EAAE,UAAU,CAAC,EACnD,OAAO,EAAE,IAAI,CAAC,wBAAwB,EAAE,UAAU,CAAC,GAClD,IAAI,CAUN"}
@@ -1,5 +1,5 @@
1
- import type { ComponentBundleV2, ComponentRenderReceiptV2, ComponentRenderRequestV2, ComponentSourceV2 } from './contracts.js';
2
- export { canonicalJson } from './canonicalIdentity.js';
1
+ import type { ComponentRenderReceiptV2, ComponentRenderRequestV2, ComponentSourceV2 } from './contracts.js';
2
+ export { canonicalIdentityJson } from './canonicalIdentity.js';
3
3
  export declare function sha256Hex(value: string | Uint8Array): string;
4
4
  export declare function sourceVersionId(source: ComponentSourceV2): string;
5
5
  export declare function componentBundleId(input: {
@@ -12,5 +12,4 @@ export declare function componentArtifactId(input: {
12
12
  outputSha256: string;
13
13
  receipt: Omit<ComponentRenderReceiptV2, 'artifactId'>;
14
14
  }): string;
15
- export declare function bundleIdentityFields(bundle: ComponentBundleV2): Pick<ComponentBundleV2, 'bundleId' | 'sourceVersionId' | 'runtimeDigest' | 'dependencyLockDigest'>;
16
15
  //# sourceMappingURL=identity.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../src/identity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EACjB,wBAAwB,EACxB,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AAQxB,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAEvD,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,MAAM,CAE5D;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,iBAAiB,GAAG,MAAM,CAEjE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACvC,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;CAC9B,GAAG,MAAM,CAET;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,wBAAwB,GAAG,MAAM,CAE5E;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,IAAI,CAAC,wBAAwB,EAAE,YAAY,CAAC,CAAC;CACvD,GAAG,MAAM,CAET;AAED,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI,CACnE,iBAAiB,EACjB,UAAU,GAAG,iBAAiB,GAAG,eAAe,GAAG,sBAAsB,CAC1E,CAOA"}
1
+ {"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../src/identity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,wBAAwB,EACxB,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,gBAAgB,CAAC;AAQxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,GAAG,MAAM,CAE5D;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,iBAAiB,GAAG,MAAM,CAEjE;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE;IACvC,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,oBAAoB,EAAE,MAAM,CAAC;CAC9B,GAAG,MAAM,CAET;AAED,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,wBAAwB,GAAG,MAAM,CAE5E;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE;IACzC,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,IAAI,CAAC,wBAAwB,EAAE,YAAY,CAAC,CAAC;CACvD,GAAG,MAAM,CAET"}
@@ -1,4 +1,9 @@
1
1
  import { type ComponentGraphicsApiV2 } from './contracts.js';
2
2
  export { COMPONENT_IMPORT_ALLOWLIST } from './allowedImports.js';
3
+ /**
4
+ * The one source policy: every door that admits component source (the Studio
5
+ * write, the CLI, the desktop, and the render lane through the contract
6
+ * bundle) runs this function.
7
+ */
3
8
  export declare function assertComponentImportsAllowed(tsxSource: string, graphicsApi?: ComponentGraphicsApiV2): void;
4
9
  //# sourceMappingURL=importPolicy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"importPolicy.d.ts","sourceRoot":"","sources":["../src/importPolicy.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,KAAK,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAGpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AAsDjE,wBAAgB,6BAA6B,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,sBAAsB,GAAG,IAAI,CAyG3G"}
1
+ {"version":3,"file":"importPolicy.d.ts","sourceRoot":"","sources":["../src/importPolicy.ts"],"names":[],"mappings":"AACA,OAAO,EAAyB,KAAK,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAQpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC;AA4EjE;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,sBAAsB,GAAG,IAAI,CA4G3G"}
@@ -0,0 +1,22 @@
1
+ import { type Composition } from "../../composition/validators/index.js";
2
+ import { type TemplateDocument } from "./schema.js";
3
+ export type BoundMedia = {
4
+ mediaId: string;
5
+ kind: "video" | "image" | "audio";
6
+ durationSec?: number;
7
+ };
8
+ export declare function findReferences(doc: TemplateDocument): {
9
+ path: string[];
10
+ name: string;
11
+ wholeLeaf: boolean;
12
+ }[];
13
+ export declare function checkReferences(doc: TemplateDocument): {
14
+ undeclared: string[];
15
+ unused: string[];
16
+ misplaced: string[];
17
+ mediaSiteErrors: string[];
18
+ };
19
+ export declare function bindTemplate(doc: TemplateDocument, values: Record<string, unknown>, media: Record<string, BoundMedia>, opts?: {
20
+ preset?: string;
21
+ }): Composition;
22
+ //# sourceMappingURL=bind.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bind.d.ts","sourceRoot":"","sources":["../../src/template/bind.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoC,KAAK,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEtG,OAAO,EAAuC,KAAK,gBAAgB,EAA0B,MAAM,UAAU,CAAC;AAE9G,MAAM,MAAM,UAAU,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAmBtG,wBAAgB,cAAc,CAAC,GAAG,EAAE,gBAAgB;UACzB,MAAM,EAAE;UAAQ,MAAM;eAAa,OAAO;IAWpE;AAaD,wBAAgB,eAAe,CAAC,GAAG,EAAE,gBAAgB;;;;;EAgCpD;AAID,wBAAgB,YAAY,CAAC,GAAG,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,EAAE,IAAI,GAAE;IAAE,MAAM,CAAC,EAAE,MAAM,CAAA;CAAO,GAAG,WAAW,CAmFnK"}
@@ -0,0 +1,71 @@
1
+ /** Render checks every template gets: each visual media parameter appears, loops are seamless, frames are not blank. */
2
+ export interface TemplateProbe {
3
+ name: string;
4
+ rgb: readonly [number, number, number];
5
+ }
6
+ /** Saturated, mutually distant colours; a solid probe image or video of each stands in for one media parameter. */
7
+ export declare const TEMPLATE_PROBES: readonly TemplateProbe[];
8
+ export declare const TEMPLATE_CHECK_LIMITS: Readonly<{
9
+ /** A pixel matches a probe when every channel is within this distance. */
10
+ probeTolerance: 36;
11
+ /** A parameter is seen when some frame shows at least this many probe pixels, counted at full output resolution (a 20x20 patch). */
12
+ minFullResPixels: 400;
13
+ /** Below this many full-resolution probe pixels (about 64x64) the parameter is seen but flagged as barely visible. */
14
+ lowFullResPixels: 4096;
15
+ /** A pixel changed between two frames when some channel moved more than this. */
16
+ diffThreshold: 24;
17
+ /** Consecutive sampled frames that differ in fewer pixels than this count as not moving. */
18
+ stillDiff: 0.002;
19
+ /** A frame is blank when this fraction of its pixels sits within `blankSpread` of its mean colour (a uniform frame). */
20
+ blankShare: 0.999;
21
+ blankSpread: 8;
22
+ /** More blank sampled frames than this fraction fails the template. */
23
+ blankFraction: 0.2;
24
+ /** The last-to-first change may be at most this many times the average neighbouring change. */
25
+ seamRatio: 2.5;
26
+ }>;
27
+ export interface TemplateCheckFrame {
28
+ frame: number;
29
+ rgba: Uint8Array | Uint8ClampedArray;
30
+ }
31
+ export interface TemplateCheckInput {
32
+ /** Size of the decoded stills, which may be smaller than the composition. */
33
+ width: number;
34
+ height: number;
35
+ /** Stills size divided by composition size (the preview's `scale`), so pixel thresholds hold at any render scale. */
36
+ scale: number;
37
+ durationInFrames: number;
38
+ loop: boolean;
39
+ frames: readonly TemplateCheckFrame[];
40
+ /** Media parameter name to the probe bound to it. */
41
+ slots: Readonly<Record<string, TemplateProbe>>;
42
+ }
43
+ export interface TemplateSlotCoverage {
44
+ seen: boolean;
45
+ peakCoverage: number;
46
+ peakFullResPixels: number;
47
+ framesSeen: number;
48
+ }
49
+ export interface TemplateCheckReport {
50
+ slots: Record<string, TemplateSlotCoverage>;
51
+ blankFraction: number;
52
+ still: boolean;
53
+ seam: {
54
+ ratio: number;
55
+ } | null;
56
+ failures: string[];
57
+ warnings: string[];
58
+ }
59
+ /** Frames to sample: every `stride`th frame, plus the two frames on each side of a loop's seam. */
60
+ export declare function templateCheckFrames(durationInFrames: number, loop: boolean, stride?: number): number[];
61
+ /** Probes for the visual media parameters in declaration order; audio parameters get none. */
62
+ export declare function assignTemplateProbes(parameters: readonly {
63
+ name: string;
64
+ type: string;
65
+ kind?: string;
66
+ }[]): Record<string, TemplateProbe>;
67
+ export declare function probeCoverage(rgba: Uint8Array | Uint8ClampedArray, probe: TemplateProbe, tolerance?: 36): number;
68
+ export declare function changedFraction(a: Uint8Array | Uint8ClampedArray, b: Uint8Array | Uint8ClampedArray): number;
69
+ export declare function isBlankFrame(rgba: Uint8Array | Uint8ClampedArray): boolean;
70
+ export declare function analyzeTemplateFrames(input: TemplateCheckInput): TemplateCheckReport;
71
+ //# sourceMappingURL=checks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checks.d.ts","sourceRoot":"","sources":["../../src/template/checks.ts"],"names":[],"mappings":"AAAA,wHAAwH;AAExH,MAAM,WAAW,aAAa;IAAG,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,SAAS,CAAC,MAA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,mBAAmB,CAAC,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,SAAI,GAAG,MAAM,EAAE,CAOjG;AAED,8FAA8F;AAC9F,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,SAAS;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAMxI;AAQD,wBAAgB,aAAa,CAAC,IAAI,EAAE,UAAU,GAAG,iBAAiB,EAAE,KAAK,EAAE,aAAa,EAAE,SAAS,KAAuC,GAAG,MAAM,CAOlJ;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,UAAU,GAAG,iBAAiB,EAAE,CAAC,EAAE,UAAU,GAAG,iBAAiB,GAAG,MAAM,CAO5G;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,UAAU,GAAG,iBAAiB,GAAG,OAAO,CAW1E;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,kBAAkB,GAAG,mBAAmB,CAwDpF"}
@@ -0,0 +1,35 @@
1
+ import type { Composition } from "../../composition/validators/index.js";
2
+ import { type TemplateDocument } from "./schema.js";
3
+ export type ExtractMediaParam = {
4
+ name: string;
5
+ clipId: string;
6
+ kind: "video" | "image" | "audio";
7
+ slot?: string;
8
+ label?: string;
9
+ required?: boolean;
10
+ };
11
+ export type ExtractTextParam = {
12
+ name: string;
13
+ type: "string" | "number" | "color" | "url" | "enum" | "boolean";
14
+ clipId: string;
15
+ /** Path from the clip, e.g. ["source", "params", "text"]. */
16
+ leafPath: string[];
17
+ required: boolean;
18
+ default?: unknown;
19
+ options?: string[];
20
+ label?: string;
21
+ /** Number parameters only. */
22
+ min?: number;
23
+ max?: number;
24
+ };
25
+ /** The inverse of bindTemplate: turn chosen leaves of a concrete composition into `{{name}}` references. */
26
+ export declare function extractTemplate(args: {
27
+ name: string;
28
+ slug: string;
29
+ description?: string;
30
+ composition: Composition;
31
+ mediaParams: ExtractMediaParam[];
32
+ textParams: ExtractTextParam[];
33
+ components: TemplateDocument["components"];
34
+ }): TemplateDocument;
35
+ //# sourceMappingURL=extract.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extract.d.ts","sourceRoot":"","sources":["../../src/template/extract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAEpE,OAAO,EAAwC,KAAK,gBAAgB,EAA0B,MAAM,UAAU,CAAC;AAE/G,MAAM,MAAM,iBAAiB,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AACvJ,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,SAAS,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAC/F,6DAA6D;IAC7D,QAAQ,EAAE,MAAM,EAAE,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAC7F,8BAA8B;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,4GAA4G;AAC5G,wBAAgB,eAAe,CAAC,IAAI,EAAE;IACpC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,WAAW,CAAC;IAC3E,WAAW,EAAE,iBAAiB,EAAE,CAAC;IAAC,UAAU,EAAE,gBAAgB,EAAE,CAAC;IAAC,UAAU,EAAE,gBAAgB,CAAC,YAAY,CAAC,CAAC;CAC9G,GAAG,gBAAgB,CA8CnB"}
@@ -0,0 +1,6 @@
1
+ export * from "./schema.js";
2
+ export * from "./bind.js";
3
+ export * from "./extract.js";
4
+ export * from "./checks.js";
5
+ export { CURRENT_MATTE_BAKE_VERSION } from "../../composition/projection/index.js";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/template/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC"}