@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
@@ -1050,8 +1050,8 @@ export declare function applyOp(composition: Composition, op: CompositionOp): Co
1050
1050
  export declare function applyOpToStore(store: HeadlessStore, op: CompositionOp): void;
1051
1051
  export declare function invertOp(before: Composition, op: CompositionOp): CompositionOp;
1052
1052
  export { createRecordingStore, type RecordingStore } from './recordingStore.js';
1053
- export { wrapWithOpRecorder, type RecordableOps, type OpRecorderOpts } from './opRecorder.js';
1053
+ export { wrapWithOpRecorder, NON_DOCUMENT_METHODS, type RecordableOps, type OpRecorderOpts } from './opRecorder.js';
1054
1054
  export { materializeCompositionCaptions, materializeCaptionsFromComposition, captionSourceMediaIds, CaptionMaterializationError, type CaptionMaterializationErrorCode, } from './materializeCaptions.js';
1055
1055
  export { materializeGridMarkers, GridError, GRID_DEFAULT_MAX_MARKERS, GRID_HARD_MAX_MARKERS, type GridKind, type GridErrorCode, type GridPlacement, } from './materializeGrid.js';
1056
1056
  export { replaceRegion, type CutSpan, type ReplaceRegionInput } from './replaceRegion.js';
1057
- export { collectAlphaLayerClips, type AlphaLayerClipRef, collectUnbakedComponentClips, type UnbakedComponentClipRef, collectRawComponentClips, } from './alphaLayers.js';
1057
+ export { collectAlphaLayerClips, type AlphaLayerClipRef, collectRawComponentClips, } from './alphaLayers.js';
@@ -1,10 +1,17 @@
1
- import type { Composition, TimelineClip, Marker, Track, Format, ReframeSegment, CaptionSegment, CaptionStyle, PerClipEffect } from '../composition/validators/index.js';
1
+ import type { Composition, TimelineClip, Marker, Track, Format, ReframeSegment, CaptionSegment, CaptionStyle, CaptionLayout, PerClipEffect } from '../composition/validators/index.js';
2
2
  import { type CompositionOp } from './index.js';
3
3
  export interface RecordableOps {
4
4
  addClip(clip: TimelineClip, options?: {
5
5
  newTrack?: boolean;
6
6
  newTrackId?: string;
7
7
  }): void;
8
+ addClipToTrack(clip: TimelineClip, target: {
9
+ trackId: string;
10
+ } | {
11
+ kind: Track['kind'];
12
+ newTrack?: boolean;
13
+ newTrackId?: string;
14
+ }): void;
8
15
  removeClip(id: string): void;
9
16
  updateClip(id: string, updates: Partial<TimelineClip>): void;
10
17
  removeClipsByMediaId(mediaId: string): void;
@@ -23,13 +30,15 @@ export interface RecordableOps {
23
30
  setEffects(clipId: string, effects: PerClipEffect[]): void;
24
31
  setCaptionStyle(style: CaptionStyle): void;
25
32
  setCaptions(segments: CaptionSegment[], style?: CaptionStyle): void;
33
+ setCaptionLayouts(layouts: CaptionLayout[]): void;
34
+ setCaptionDepth(zPlane: 'front' | 'behind-subject'): void;
26
35
  setFormat(format: Pick<Format, 'aspectRatio' | 'fps' | 'resolution'>): void;
27
36
  addTrack(kind: Track['kind'], name?: string, id?: string): void;
28
37
  removeTrack(trackId: string): void;
29
38
  updateTrack(trackId: string, updates: Partial<Pick<Track, 'name' | 'enabled'>>): void;
30
39
  reorderTracks(fromIndex: number, toIndex: number): void;
31
40
  moveClipToTrack(clipId: string, targetTrackId: string, newStartTime?: number): void;
32
- duplicateClip(id: string): unknown;
41
+ duplicateClip(id: string): string | undefined;
33
42
  cutAndRipple(start: number, end: number): void;
34
43
  ripple(time: number, amount: number): void;
35
44
  addExcludedRange(clipId: string, sourceStart: number, sourceEnd: number, reason?: string): void;
@@ -38,6 +47,17 @@ export interface RecordableOps {
38
47
  export interface OpRecorderOpts {
39
48
  record: (op: CompositionOp, before: Composition) => void;
40
49
  getComposition: () => Composition;
41
- onUnjournalable?: (reason: string) => void;
50
+ /**
51
+ * An edit no op expresses: journal the timeline it produces (`after`) as a
52
+ * replacement. Called before the edit is applied.
53
+ */
54
+ onUnjournalable?: (reason: string, after: Composition) => void;
42
55
  }
56
+ /**
57
+ * Store members that change no document state, so they are not journaled.
58
+ * Every other function a wrapped store has must be journaled: an unlisted
59
+ * member is refused when the store is wrapped, so a new edit method cannot
60
+ * reach the document without reaching the journal.
61
+ */
62
+ export declare const NON_DOCUMENT_METHODS: ReadonlySet<string>;
43
63
  export declare function wrapWithOpRecorder<T extends RecordableOps>(base: T, opts: OpRecorderOpts): T;
@@ -1,7 +1,9 @@
1
1
  import type { CaptionStyle } from './types.js';
2
- export type ExportQuality = 'maximum' | 'social' | 'web' | 'potato' | 'source';
2
+ export declare const EXPORT_QUALITIES: readonly ["maximum", "social", "web", "potato", "source"];
3
+ export type ExportQuality = (typeof EXPORT_QUALITIES)[number];
3
4
  export type ExportFormat = 'source' | '16:9' | '9:16' | '4:5' | '1:1';
4
- export type ExportResolution = 'source' | '1080p' | '1440p' | '4k';
5
+ export declare const EXPORT_RESOLUTIONS: readonly ["source", "1080p", "1440p", "4k"];
6
+ export type ExportResolution = (typeof EXPORT_RESOLUTIONS)[number];
5
7
  export interface FormatPreset {
6
8
  label: string;
7
9
  aspectWidth: number;
@@ -14,7 +14,7 @@ export { extractCaptionWordsFromDoc, sliceTranscriptWords, splitIntoSentences }
14
14
  export { compositionToRenderInput, referencedMediaIds, assembleRenderInput, assemblePreparedRenderInput, validateComposition, compositionFormatDimensions, captionVisibilityWindowsForComposition, playableSpans, projectMediaPlaybackSpans, assertBehindSubjectCaptionCoverage, visiblePackedHostWindows, } from './compositionRender.js';
15
15
  export { bookendFrames, resolveBookendTimeline, CARD_BOOKEND_DEFAULT_MS, VIDEO_BOOKEND_DEFAULT_MS, } from './bookends.js';
16
16
  export type { BookendTimeline } from './bookends.js';
17
- export { DEFAULT_FPS, DEFAULT_WIDTH, DEFAULT_HEIGHT, DEFAULT_RENDER_SETTINGS, FORMAT_PRESETS, RESOLUTION_PRESETS, bppToCrf, ensureEven, qualityToCrf, resolutionToOutputSize, } from './exportSettings.js';
17
+ export { DEFAULT_FPS, DEFAULT_WIDTH, DEFAULT_HEIGHT, DEFAULT_RENDER_SETTINGS, FORMAT_PRESETS, RESOLUTION_PRESETS, EXPORT_QUALITIES, EXPORT_RESOLUTIONS, bppToCrf, ensureEven, qualityToCrf, resolutionToOutputSize, } from './exportSettings.js';
18
18
  export type { ExportFormat, ExportQuality, ExportResolution, FormatPreset, RenderSettings, } from './exportSettings.js';
19
19
  export { faceArea, resolveSubjectFaces, selectedFaceCenter, isJump, emaSmooth, clip01, captionBandReserve, aspectWhRatio, nearestKpValue, activeWindowsFor, perSubjectSeries, calibrateShotScale, deriveSegment, deriveTrajectory, buildEasedZooms, buildPannedCenters, easeOutCubic, JUMP_THRESHOLD, MIN_SUBJECT_RESOLUTION, } from './deriveTrajectory.js';
20
20
  export type { Subject, Center, TrajectorySubject, TrajectorySegment, TrajectoryData, Face, FaceBox, SubjectTrack, ReframeSegment, } from './deriveTrajectory.js';
@@ -9,6 +9,5 @@ export declare function padBox(box: NormBox, pad?: number): RequiredRegion;
9
9
  export declare function pointRegion(c: Center, pad?: number): RequiredRegion;
10
10
  export declare function centerRegion(): RequiredRegion;
11
11
  export declare function regionsFromBoxes(boxes: Array<NormBox | null>, pad?: number): Array<RequiredRegion | null>;
12
- export declare function regionsFromCenters(centers: Array<Center | null>, pad?: number): Array<RequiredRegion | null>;
13
12
  export declare function medianFilterRegions(regions: Array<RequiredRegion | null>, r: number, shotStart: number, shotEnd: number): Array<RequiredRegion | null>;
14
13
  export declare function buildRequiredRegions(boxes: Array<NormBox | null>, fps: number, interiorCuts: Iterable<number>, pad?: number): Array<RequiredRegion | null>;
@@ -1,4 +1,3 @@
1
1
  export * from "./messages.js";
2
- export * from "./chunks.js";
3
2
  export * from "./context.js";
4
3
  export * from "./generationTool.js";
@@ -132,7 +132,6 @@ export declare const cueFrameDataPartSchemas: {
132
132
  source: z.ZodOptional<z.ZodEnum<{
133
133
  provider: "provider";
134
134
  generation: "generation";
135
- materialisation: "materialisation";
136
135
  agent: "agent";
137
136
  transport: "transport";
138
137
  }>>;
@@ -1,9 +1,5 @@
1
1
  import { z } from "zod";
2
2
  import { type Envelope } from "../../errors/index.js";
3
- export declare const ConversationId: z.core.$ZodBranded<z.ZodString, "Id<conversation>", "out">;
4
- export type ConversationId = z.infer<typeof ConversationId>;
5
- export declare const DirectorRunId: z.core.$ZodBranded<z.ZodString, "Id<directorRun>", "out">;
6
- export type DirectorRunId = z.infer<typeof DirectorRunId>;
7
3
  export declare const ProjectRef: z.ZodObject<{
8
4
  id: z.ZodString;
9
5
  home: z.ZodEnum<{
@@ -49,7 +45,6 @@ export declare const ChatErrorView: z.ZodObject<{
49
45
  source: z.ZodOptional<z.ZodEnum<{
50
46
  provider: "provider";
51
47
  generation: "generation";
52
- materialisation: "materialisation";
53
48
  agent: "agent";
54
49
  transport: "transport";
55
50
  }>>;
@@ -59,76 +54,3 @@ export declare const ChatErrorView: z.ZodObject<{
59
54
  export type ChatErrorView = z.infer<typeof ChatErrorView>;
60
55
  export declare function chatErrorViewFromEnvelope(envelope: Envelope, source?: ChatErrorView["source"]): ChatErrorView;
61
56
  export declare function chatErrorViewFromUnknown(error: unknown, source?: ChatErrorView["source"]): ChatErrorView;
62
- export declare const DirectorEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
63
- type: z.ZodLiteral<"text-delta">;
64
- text: z.ZodString;
65
- }, z.core.$strip>, z.ZodObject<{
66
- type: z.ZodLiteral<"reasoning-delta">;
67
- text: z.ZodString;
68
- }, z.core.$strip>, z.ZodObject<{
69
- type: z.ZodLiteral<"phase">;
70
- phase: z.ZodString;
71
- detail: z.ZodOptional<z.ZodString>;
72
- }, z.core.$strip>, z.ZodObject<{
73
- type: z.ZodLiteral<"generation">;
74
- artifact: z.ZodObject<{
75
- artifactVersion: z.ZodLiteral<1>;
76
- clientRequestId: z.core.$ZodBranded<z.ZodString, "Id<generationRequest>", "out">;
77
- generationId: z.core.$ZodBranded<z.ZodString, "Id<generation>", "out">;
78
- mediaId: z.core.$ZodBranded<z.ZodString, "Id<media>", "out">;
79
- generationGroupId: z.core.$ZodBranded<z.ZodString, "Id<generationGroup>", "out">;
80
- version: z.ZodNumber;
81
- kind: z.ZodEnum<{
82
- video: "video";
83
- audio: "audio";
84
- image: "image";
85
- }>;
86
- requestSummary: z.ZodString;
87
- status: z.ZodEnum<{
88
- generating: "generating";
89
- processing: "processing";
90
- cancelled: "cancelled";
91
- ready: "ready";
92
- failed: "failed";
93
- draft: "draft";
94
- submitting: "submitting";
95
- queued: "queued";
96
- provider_complete: "provider_complete";
97
- materialising: "materialising";
98
- cancelling: "cancelling";
99
- }>;
100
- progress: z.ZodOptional<z.ZodNumber>;
101
- placementReady: z.ZodDefault<z.ZodBoolean>;
102
- parentMediaId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "Id<media>", "out">>;
103
- estimateUsd: z.ZodOptional<z.ZodNumber>;
104
- failure: z.ZodOptional<z.ZodObject<{
105
- code: z.ZodString;
106
- title: z.ZodString;
107
- recovery: z.ZodOptional<z.ZodString>;
108
- retryable: z.ZodBoolean;
109
- correlationId: z.ZodOptional<z.ZodString>;
110
- }, z.core.$strip>>;
111
- createdAt: z.ZodNumber;
112
- updatedAt: z.ZodNumber;
113
- }, z.core.$strip>;
114
- }, z.core.$strip>, z.ZodObject<{
115
- type: z.ZodLiteral<"error">;
116
- error: z.ZodObject<{
117
- code: z.ZodString;
118
- title: z.ZodString;
119
- recovery: z.ZodOptional<z.ZodString>;
120
- retryable: z.ZodBoolean;
121
- source: z.ZodOptional<z.ZodEnum<{
122
- provider: "provider";
123
- generation: "generation";
124
- materialisation: "materialisation";
125
- agent: "agent";
126
- transport: "transport";
127
- }>>;
128
- correlationId: z.ZodOptional<z.ZodString>;
129
- details: z.ZodOptional<z.ZodString>;
130
- }, z.core.$strip>;
131
- }, z.core.$strip>, z.ZodObject<{
132
- type: z.ZodLiteral<"finish">;
133
- }, z.core.$strip>], "type">;
134
- export type DirectorEvent = z.infer<typeof DirectorEvent>;
@@ -1,3 +1,2 @@
1
1
  export * from "./generation.js";
2
2
  export * from "./chat.js";
3
- export * from "./ports.js";
@@ -27,6 +27,12 @@ export declare const ERROR_CODES: {
27
27
  readonly retryable: false;
28
28
  readonly httpStatus: 404;
29
29
  };
30
+ readonly system_project: {
31
+ readonly stage: "auth";
32
+ readonly category: "authoring";
33
+ readonly retryable: false;
34
+ readonly httpStatus: 409;
35
+ };
30
36
  readonly billing_required: {
31
37
  readonly stage: "billing";
32
38
  readonly category: "authoring";
@@ -573,6 +579,36 @@ export declare const ERROR_CODES: {
573
579
  readonly retryable: false;
574
580
  readonly httpStatus: 413;
575
581
  };
582
+ readonly template_parameter_undeclared: {
583
+ readonly stage: "validate";
584
+ readonly category: "authoring";
585
+ readonly retryable: false;
586
+ readonly httpStatus: 422;
587
+ };
588
+ readonly template_values_invalid: {
589
+ readonly stage: "validate";
590
+ readonly category: "authoring";
591
+ readonly retryable: false;
592
+ readonly httpStatus: 422;
593
+ };
594
+ readonly template_media_kind_mismatch: {
595
+ readonly stage: "validate";
596
+ readonly category: "authoring";
597
+ readonly retryable: false;
598
+ readonly httpStatus: 422;
599
+ };
600
+ readonly template_component_conflict: {
601
+ readonly stage: "validate";
602
+ readonly category: "authoring";
603
+ readonly retryable: false;
604
+ readonly httpStatus: 409;
605
+ };
606
+ readonly template_media_import_failed: {
607
+ readonly stage: "import";
608
+ readonly category: "authoring";
609
+ readonly retryable: false;
610
+ readonly httpStatus: 422;
611
+ };
576
612
  readonly invalid_webhook_url: {
577
613
  readonly stage: "validate";
578
614
  readonly category: "authoring";
@@ -1101,6 +1137,12 @@ export declare const ERROR_CODES: {
1101
1137
  readonly retryable: false;
1102
1138
  readonly httpStatus: 422;
1103
1139
  };
1140
+ readonly component_api_mismatch: {
1141
+ readonly stage: "validate";
1142
+ readonly category: "authoring";
1143
+ readonly retryable: false;
1144
+ readonly httpStatus: 422;
1145
+ };
1104
1146
  readonly component_graphics_unavailable: {
1105
1147
  readonly stage: "render";
1106
1148
  readonly category: "authoring";
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Canonical JSON: sorted keys, `undefined` fields dropped (`null` inside an
3
+ * array, as `JSON.stringify` does), everything else as `JSON.stringify` writes
4
+ * it. Composition etags are this string's SHA-256, and they are stored
5
+ * (`compositionVersions.etag`, `restorePoints.etag`) and compared across
6
+ * processes for If-Match, so these bytes never change.
7
+ *
8
+ * It is not the component source identity (`@cueframe/component-runtime`
9
+ * `canonicalIdentity`), which normalizes text and refuses what it cannot
10
+ * hash exactly, nor the scene capture JSON (`@cueframe/core/render`
11
+ * `canonicalSceneJsonV1`). Their bytes are persisted too, and differ on
12
+ * edge inputs, so the three are kept apart on purpose.
13
+ */
14
+ export declare function canonicalJson(value: unknown): string;
@@ -1,2 +1,2 @@
1
1
  export * from "./primitives/index.js";
2
- export * from "./codes/index.js";
2
+ export * from "./canonical/index.js";
@@ -5,5 +5,3 @@ export declare const ISODateTime: z.ZodString;
5
5
  export type ISODateTime = z.infer<typeof ISODateTime>;
6
6
  export declare const EntityId: <T extends string>(_table: T) => PropertyKey extends `Id<${T}>` ? z.ZodString : z.core.$ZodBranded<z.ZodString, `Id<${T}>`, "out">;
7
7
  export type EntityId<T extends string> = z.infer<ReturnType<typeof EntityId<T>>>;
8
- export declare const ParamsBag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
9
- export type ParamsBag = z.infer<typeof ParamsBag>;
@@ -0,0 +1 @@
1
+ export { contractFacts, type KnownRed } from "./knownRed.js";
@@ -0,0 +1,13 @@
1
+ /** A contract fact a lane is known to fail, and the error it fails with today. */
2
+ export interface KnownRed {
3
+ fact: string;
4
+ failsWith: RegExp;
5
+ }
6
+ type It = (name: string, fn: () => Promise<void> | void) => void;
7
+ /**
8
+ * Registers contract facts. A known-red fact must still fail, and with its
9
+ * named error: any other failure (a crash, an outage) fails the run, and a pass
10
+ * says to delete the entry.
11
+ */
12
+ export declare function contractFacts(it: It, knownRed?: readonly KnownRed[]): (name: string, fn: () => Promise<void> | void) => void;
13
+ export {};
@@ -79,4 +79,25 @@ export interface CuratedToolSetOpts {
79
79
  sleep?: (ms: number) => Promise<void>;
80
80
  };
81
81
  }
82
+ export type PreviewAugmented = {
83
+ __preview: true;
84
+ text: string;
85
+ images: string[];
86
+ };
87
+ export declare function previewVisionModelOutput({ output }: {
88
+ output: unknown;
89
+ }): {
90
+ type: 'content';
91
+ value: ({
92
+ type: 'text';
93
+ text: string;
94
+ } | {
95
+ type: 'image-data';
96
+ mediaType: string;
97
+ data: string;
98
+ })[];
99
+ } | {
100
+ type: 'text';
101
+ value: string;
102
+ };
82
103
  export declare function buildCuratedToolSet(ex: Executor, opts: CuratedToolSetOpts): ToolSet;
@@ -0,0 +1,10 @@
1
+ import { z } from 'zod';
2
+ export declare const DESCRIBE_COMPOSITION_OPS_DESCRIPTION = "Discover the exact CompositionOp vocabulary accepted by apply_composition. Omit type for a compact list of operation names and descriptions; pass type for only that operation's JSON Schema. Read this before authoring edits or captions.";
3
+ export declare const DescribeCompositionOpsInput: z.ZodObject<{
4
+ type: z.ZodOptional<z.ZodString>;
5
+ }, z.core.$strip>;
6
+ /**
7
+ * Read from the same discriminated union that validates composition edits. Loaded on first
8
+ * call: composition-ops carries the whole composition schema, which no other tool needs at init.
9
+ */
10
+ export declare function describeCompositionOps(type?: string): Promise<Record<string, unknown>>;
@@ -20,8 +20,6 @@ export declare function registerCuratedTools(server: McpServer, ex: Executor, op
20
20
  expert?: boolean;
21
21
  onEvent?: McpTelemetrySink;
22
22
  }): void;
23
- /** Read from the same discriminated union that validates composition edits. */
24
- export declare function describeCompositionOps(type?: string): Record<string, unknown>;
25
23
  export interface BuildServerOpts {
26
24
  executor: Executor;
27
25
  expert?: boolean;
@@ -5,7 +5,9 @@ export type WaitResult = {
5
5
  stillRunning?: boolean;
6
6
  mediaUrls?: string[];
7
7
  };
8
- export type WaitKind = 'media' | 'render' | 'compose' | 'suggestions' | 'verify' | 'preview_frame' | 'preview' | 'brand_kit_extract' | 'consult';
8
+ /** Every job kind wait_job waits on; both the MCP server and the Director's tool take this list. */
9
+ export declare const WAIT_KINDS: readonly ["media", "render", "compose", "suggestions", "verify", "preview_frame", "preview", "brand_kit_extract", "consult"];
10
+ export type WaitKind = (typeof WAIT_KINDS)[number];
9
11
  export interface WaitDeps {
10
12
  sleep?: (ms: number) => Promise<void>;
11
13
  now?: () => number;
@@ -200,28 +200,3 @@ export declare const GenerationCapabilities: z.ZodArray<z.ZodObject<{
200
200
  supportsQuote: z.ZodBoolean;
201
201
  }, z.core.$strip>>;
202
202
  export type GenerationCapabilities = z.infer<typeof GenerationCapabilities>;
203
- export interface GenerationStateSources {
204
- attempt: {
205
- status: Exclude<GenerationStatus, "materialising" | "processing" | "ready">;
206
- progress?: number;
207
- failure?: GenerationFailure;
208
- };
209
- resource: {
210
- kind: MediaKind;
211
- durable: boolean;
212
- decodable: boolean;
213
- metadataReady: boolean;
214
- placementReady: boolean;
215
- };
216
- materialisation: {
217
- required: boolean;
218
- status: "not_started" | "pending_source" | "downloading" | "complete" | "failed";
219
- verifiedBytes: boolean;
220
- failure?: GenerationFailure;
221
- };
222
- }
223
- export declare function deriveGenerationStatus(sources: GenerationStateSources): {
224
- status: GenerationStatus;
225
- placementReady: boolean;
226
- failure?: GenerationFailure;
227
- };
@@ -1,9 +1 @@
1
- export interface FrameRateInfo {
2
- displayRate: number;
3
- isNtsc: boolean;
4
- frameDuration: string;
5
- }
6
- export declare function getFrameRateInfo(fps: number): FrameRateInfo;
7
- export declare function toRationalTime(seconds: number, fps: number): string;
8
- export declare function toFrames(seconds: number, fps: number): number;
9
1
  export declare function slugify(s: string): string;
@@ -14,3 +14,23 @@ export declare const CONFORMANCE_COMPOSITION: Composition;
14
14
  export declare const CONFORMANCE_DURATION_SEC = 5;
15
15
  export declare const PREVIEW_FRAME_CASES: readonly ConformanceCase[];
16
16
  export declare function isKnownRed(c: ConformanceCase, lane: Lane): boolean;
17
+ /** Whether a lane's answer is the one the case expects. */
18
+ export declare function meetsExpectation(c: ConformanceCase, answer: {
19
+ status: number;
20
+ code?: string;
21
+ }): boolean;
22
+ /**
23
+ * Checks a lane's answer to a case. A known-red case must still answer, and
24
+ * still differently from the expectation: it fails the run once the lane
25
+ * conforms (so the marker is deleted), and a crash before any answer fails it
26
+ * too, because the runner awaits the answer rather than expecting a throw.
27
+ */
28
+ export declare function conformanceVerdict(c: ConformanceCase, lane: Lane, answer: {
29
+ status: number;
30
+ code?: string;
31
+ }): {
32
+ ok: true;
33
+ } | {
34
+ ok: false;
35
+ reason: string;
36
+ };
@@ -5,9 +5,9 @@ declare const paramsSchema: z.ZodObject<{
5
5
  lineColor: z.ZodDefault<z.ZodString>;
6
6
  background: z.ZodDefault<z.ZodString>;
7
7
  direction: z.ZodDefault<z.ZodEnum<{
8
+ diagonal: "diagonal";
8
9
  horizontal: "horizontal";
9
10
  vertical: "vertical";
10
- diagonal: "diagonal";
11
11
  }>>;
12
12
  speed: z.ZodDefault<z.ZodNumber>;
13
13
  }, z.core.$loose>;
@@ -2,8 +2,8 @@ import { z } from 'zod';
2
2
  import type { PrimitiveMeta } from '../../lib/types.js';
3
3
  declare const paramsSchema: z.ZodObject<{
4
4
  type: z.ZodDefault<z.ZodEnum<{
5
- motion: "motion";
6
5
  gaussian: "gaussian";
6
+ motion: "motion";
7
7
  }>>;
8
8
  radius: z.ZodDefault<z.ZodNumber>;
9
9
  animateFrom: z.ZodOptional<z.ZodNumber>;
@@ -3,11 +3,11 @@ import type { PrimitiveMeta } from '../../lib/types.js';
3
3
  declare const paramsSchema: z.ZodObject<{
4
4
  preset: z.ZodDefault<z.ZodEnum<{
5
5
  cinematic: "cinematic";
6
- none: "none";
7
6
  vintage: "vintage";
7
+ cool: "cool";
8
+ none: "none";
8
9
  "bleach-bypass": "bleach-bypass";
9
10
  sepia: "sepia";
10
- cool: "cool";
11
11
  warm: "warm";
12
12
  }>>;
13
13
  brightness: z.ZodOptional<z.ZodNumber>;
@@ -5,11 +5,11 @@ declare const paramsSchema: z.ZodObject<{
5
5
  speed: z.ZodDefault<z.ZodNumber>;
6
6
  blendMode: z.ZodDefault<z.ZodEnum<{
7
7
  overlay: "overlay";
8
- normal: "normal";
9
- "hard-light": "hard-light";
8
+ "soft-light": "soft-light";
10
9
  multiply: "multiply";
11
10
  screen: "screen";
12
- "soft-light": "soft-light";
11
+ "hard-light": "hard-light";
12
+ normal: "normal";
13
13
  }>>;
14
14
  monochrome: z.ZodDefault<z.ZodBoolean>;
15
15
  }, z.core.$loose>;
@@ -2,12 +2,12 @@ import { z } from 'zod';
2
2
  import type { PrimitiveMeta } from '../../lib/types.js';
3
3
  declare const paramsSchema: z.ZodObject<{
4
4
  preset: z.ZodDefault<z.ZodEnum<{
5
+ bokeh: "bokeh";
5
6
  snow: "snow";
7
+ fireflies: "fireflies";
6
8
  dust: "dust";
7
- bokeh: "bokeh";
8
9
  sparks: "sparks";
9
10
  embers: "embers";
10
- fireflies: "fireflies";
11
11
  }>>;
12
12
  count: z.ZodDefault<z.ZodNumber>;
13
13
  size: z.ZodOptional<z.ZodNumber>;
@@ -2,21 +2,21 @@ import { z } from 'zod';
2
2
  import type { PrimitiveMeta } from '../../lib/types.js';
3
3
  declare const paramsSchema: z.ZodObject<{
4
4
  move: z.ZodDefault<z.ZodEnum<{
5
- static: "static";
5
+ orbit: "orbit";
6
6
  "dolly-in": "dolly-in";
7
- "dolly-out": "dolly-out";
8
- drift: "drift";
9
7
  "tilt-reveal": "tilt-reveal";
10
- orbit: "orbit";
8
+ drift: "drift";
9
+ static: "static";
10
+ "dolly-out": "dolly-out";
11
11
  }>>;
12
12
  fov: z.ZodDefault<z.ZodNumber>;
13
13
  amount: z.ZodOptional<z.ZodNumber>;
14
14
  easing: z.ZodDefault<z.ZodEnum<{
15
15
  emphasis: "emphasis";
16
- playful: "playful";
17
16
  none: "none";
18
- exit: "exit";
17
+ playful: "playful";
19
18
  entrance: "entrance";
19
+ exit: "exit";
20
20
  cross: "cross";
21
21
  drama: "drama";
22
22
  }>>;
@@ -4,8 +4,8 @@ declare const paramsSchema: z.ZodObject<{
4
4
  intensity: z.ZodDefault<z.ZodNumber>;
5
5
  spread: z.ZodDefault<z.ZodNumber>;
6
6
  shape: z.ZodDefault<z.ZodEnum<{
7
- circle: "circle";
8
7
  ellipse: "ellipse";
8
+ circle: "circle";
9
9
  }>>;
10
10
  color: z.ZodDefault<z.ZodString>;
11
11
  }, z.core.$loose>;
@@ -1,13 +1,3 @@
1
- import type { Catalog, PrimitiveMeta } from './lib/types.js';
1
+ import type { Catalog } from './lib/types.js';
2
2
  export declare const allPrimitives: Catalog;
3
- export declare const catalogs: {
4
- readonly text: Catalog;
5
- readonly effects: Catalog;
6
- readonly transitions: Catalog;
7
- readonly layouts: Catalog;
8
- readonly backgrounds: Catalog;
9
- readonly 'ui-blocks': Catalog;
10
- readonly scenes: Catalog;
11
- };
12
- export declare function resolvePrimitive(id: string): PrimitiveMeta | undefined;
13
3
  export type { Catalog, PrimitiveMeta } from './lib/types.js';
@@ -2,8 +2,8 @@ import { z } from 'zod';
2
2
  import type { PrimitiveMeta } from '../../lib/types.js';
3
3
  declare const paramsSchema: z.ZodObject<{
4
4
  direction: z.ZodDefault<z.ZodEnum<{
5
- column: "column";
6
5
  row: "row";
6
+ column: "column";
7
7
  }>>;
8
8
  gap: z.ZodDefault<z.ZodNumber>;
9
9
  padding: z.ZodDefault<z.ZodNumber>;
@@ -49,12 +49,12 @@ declare const paramsSchema: z.ZodObject<{
49
49
  }, z.core.$strict>]>>>;
50
50
  fits: z.ZodOptional<z.ZodArray<z.ZodObject<{
51
51
  mode: z.ZodEnum<{
52
- position: "position";
53
52
  stretch: "stretch";
53
+ position: "position";
54
+ matte: "matte";
54
55
  contain: "contain";
55
56
  cover: "cover";
56
57
  scale: "scale";
57
- matte: "matte";
58
58
  }>;
59
59
  aspect: z.ZodOptional<z.ZodNumber>;
60
60
  size: z.ZodOptional<z.ZodObject<{
@@ -2,10 +2,10 @@ import { z } from 'zod';
2
2
  import type { PrimitiveMeta } from '../../lib/types.js';
3
3
  declare const paramsSchema: z.ZodObject<{
4
4
  position: z.ZodDefault<z.ZodEnum<{
5
+ "bottom-right": "bottom-right";
6
+ "top-right": "top-right";
5
7
  "top-left": "top-left";
6
8
  "bottom-left": "bottom-left";
7
- "top-right": "top-right";
8
- "bottom-right": "bottom-right";
9
9
  }>>;
10
10
  size: z.ZodDefault<z.ZodNumber>;
11
11
  borderRadius: z.ZodDefault<z.ZodNumber>;
@@ -2,7 +2,7 @@ export type { PrimitiveMeta, PrimitiveCategory, PrimitiveKind, Mood, Example, To
2
2
  export { SOFT, OUT_EXPO, OUT_BACK, OUT_CUBIC, IN_OUT_CUBIC, IN_OUT_QUART, IN_QUART, LINEAR, STEP, EASING_BY_INTENT, type EasingIntent, } from './easings.js';
3
3
  export { pick, range, gauss, SeededPRNG } from './seeded-random.js';
4
4
  export { frameScale, useFrameScale, FRAME_BASELINE_WIDTH } from './frameScale.js';
5
- export { resolveTokenValue, applyBrandCascade, resolveParams, isContrastCritical, CONTRAST_CRITICAL_PATHS, ALLOWED_BRAND_PATHS, FROZEN_CORE_PATHS, TIER2B_EXTENSION_PATHS, lintBrandPath, } from './tokens.js';
5
+ export { isContrastCritical, CONTRAST_CRITICAL_PATHS, ALLOWED_BRAND_PATHS, FROZEN_CORE_PATHS, TIER2B_EXTENSION_PATHS, lintBrandPath, } from './tokens.js';
6
6
  export { NEUTRAL_RAMP } from '../../brand-derivation/constants.js';
7
7
  export { zodToJsonSchemaFor, zodToDefaults, zodToControls, type ControlConfig, type ControlType, } from './schema.js';
8
8
  export { PrimitivePreview, type PrimitivePreviewProps } from './preview.js';