@cueframe/kernel 0.2.58 → 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 (339) hide show
  1. package/dist/_members/account-model/testing/conversationStoreContract.d.ts +3 -4
  2. package/dist/_members/account-model/testing/restorePointStoreContract.d.ts +3 -4
  3. package/dist/_members/account-model/validators/index.d.ts +0 -1
  4. package/dist/_members/animate/index.d.ts +0 -2
  5. package/dist/_members/authoring/index.d.ts +1 -1
  6. package/dist/_members/authoring/prompts/index.d.ts +0 -1
  7. package/dist/_members/authoring/resources.d.ts +2 -11
  8. package/dist/_members/cloud-import/CloudImportService.d.ts +0 -1
  9. package/dist/_members/cloud-import/index.d.ts +0 -2
  10. package/dist/_members/component-runtime/allowedImports.d.ts +6 -0
  11. package/dist/_members/component-runtime/allowedImports.d.ts.map +1 -1
  12. package/dist/_members/component-runtime/browserIdentity.d.ts +2 -12
  13. package/dist/_members/component-runtime/browserIdentity.d.ts.map +1 -1
  14. package/dist/_members/component-runtime/canonicalIdentity.d.ts +8 -1
  15. package/dist/_members/component-runtime/canonicalIdentity.d.ts.map +1 -1
  16. package/dist/_members/component-runtime/contracts.d.ts +2 -1
  17. package/dist/_members/component-runtime/contracts.d.ts.map +1 -1
  18. package/dist/_members/component-runtime/identity.d.ts +2 -3
  19. package/dist/_members/component-runtime/identity.d.ts.map +1 -1
  20. package/dist/_members/component-runtime/importPolicy.d.ts +5 -0
  21. package/dist/_members/component-runtime/importPolicy.d.ts.map +1 -1
  22. package/dist/_members/component-runtime/template/checks.d.ts +71 -0
  23. package/dist/_members/component-runtime/template/checks.d.ts.map +1 -0
  24. package/dist/_members/component-runtime/template/extract.d.ts +4 -0
  25. package/dist/_members/component-runtime/template/extract.d.ts.map +1 -1
  26. package/dist/_members/component-runtime/template/index.d.ts +1 -0
  27. package/dist/_members/component-runtime/template/index.d.ts.map +1 -1
  28. package/dist/_members/component-runtime/template/schema.d.ts +14 -13
  29. package/dist/_members/component-runtime/template/schema.d.ts.map +1 -1
  30. package/dist/_members/component-runtime/template/testing/templateApplyContract.d.ts +3 -4
  31. package/dist/_members/component-runtime/template/testing/templateApplyContract.d.ts.map +1 -1
  32. package/dist/_members/component-runtime/testing/sourcePolicyCases.d.ts +15 -0
  33. package/dist/_members/component-runtime/testing/sourcePolicyCases.d.ts.map +1 -0
  34. package/dist/_members/component-runtime/webglProbe.d.ts.map +1 -1
  35. package/dist/_members/compose/index.d.ts +1 -1
  36. package/dist/_members/compose/primitiveRegistry.d.ts +0 -2
  37. package/dist/_members/composition/audio/audioMix.d.ts +0 -1
  38. package/dist/_members/composition/audio/mixStaging.d.ts +0 -5
  39. package/dist/_members/composition/fixtures/index.d.ts +0 -1
  40. package/dist/_members/composition/graphics-plan/index.d.ts +0 -2
  41. package/dist/_members/composition/graphics-plan/schemas.d.ts +4 -4
  42. package/dist/_members/composition/invariants/etag.d.ts +0 -1
  43. package/dist/_members/composition/invariants/index.d.ts +0 -1
  44. package/dist/_members/composition/ops/compositionOps.d.ts +0 -1
  45. package/dist/_members/composition/ops/compositionOps.shared.d.ts +6 -0
  46. package/dist/_members/composition/ops/index.d.ts +2 -1
  47. package/dist/_members/composition/primitive-catalog/index.d.ts +0 -2
  48. package/dist/_members/composition/projection/behind-readiness.d.ts +0 -6
  49. package/dist/_members/composition/timeline/link.d.ts +0 -4
  50. package/dist/_members/composition/timeline/plan.d.ts +0 -1
  51. package/dist/_members/composition/validators/brandKit.d.ts +4 -4
  52. package/dist/_members/composition/validators/brandKitBody.d.ts +8 -8
  53. package/dist/_members/composition/validators/cardHtml.d.ts +11 -0
  54. package/dist/_members/composition/validators/composition.d.ts +2 -5
  55. package/dist/_members/composition/validators/css-tree-subpaths.d.ts +16 -0
  56. package/dist/_members/composition/validators/index.d.ts +0 -3
  57. package/dist/_members/composition/validators/session.d.ts +3 -3
  58. package/dist/_members/composition/validators/webhook.d.ts +4 -4
  59. package/dist/_members/composition-ops/alphaLayers.d.ts +0 -5
  60. package/dist/_members/composition-ops/index.d.ts +2 -2
  61. package/dist/_members/composition-ops/opRecorder.d.ts +23 -3
  62. package/dist/_members/core/render/exportSettings.d.ts +4 -2
  63. package/dist/_members/core/render/index.d.ts +1 -1
  64. package/dist/_members/core/render/vcam/requiredRegion.d.ts +0 -1
  65. package/dist/_members/director/ai-sdk/index.d.ts +0 -1
  66. package/dist/_members/director/ai-sdk/messages.d.ts +0 -1
  67. package/dist/_members/director/domain/chat.d.ts +0 -78
  68. package/dist/_members/director/domain/index.d.ts +0 -1
  69. package/dist/_members/errors/registry.d.ts +6 -0
  70. package/dist/_members/foundation/canonical/index.d.ts +14 -0
  71. package/dist/_members/foundation/index.d.ts +1 -1
  72. package/dist/_members/foundation/primitives/index.d.ts +0 -2
  73. package/dist/_members/foundation/testing/index.d.ts +1 -0
  74. package/dist/_members/foundation/testing/knownRed.d.ts +13 -0
  75. package/dist/_members/mcp/adapter.d.ts +21 -0
  76. package/dist/_members/mcp/compositionOps.d.ts +10 -0
  77. package/dist/_members/mcp/server.d.ts +0 -5
  78. package/dist/_members/mcp/wait.d.ts +3 -1
  79. package/dist/_members/media-model/generation.d.ts +0 -25
  80. package/dist/_members/nle-export/xml-utils.d.ts +0 -8
  81. package/dist/_members/plane/conformance.d.ts +20 -0
  82. package/dist/_members/primitives/index.d.ts +1 -11
  83. package/dist/_members/primitives/lib/index.d.ts +1 -1
  84. package/dist/_members/primitives/lib/tokens.d.ts +0 -16
  85. package/dist/_members/render-harness/cardAssetAdmission.d.ts +1 -0
  86. package/dist/_members/render-harness/cardAssetAdmission.d.ts.map +1 -1
  87. package/dist/_members/render-harness/cardRender.d.ts.map +1 -1
  88. package/dist/_members/render-harness/materializeSources.d.ts.map +1 -1
  89. package/dist/_members/render-harness/mediaServer.d.ts +6 -1
  90. package/dist/_members/render-harness/mediaServer.d.ts.map +1 -1
  91. package/dist/account-model/testing.js +15 -5
  92. package/dist/account-model/validators.js +5 -7
  93. package/dist/account-model.js +5 -7
  94. package/dist/animate/preparation-facts.js +1 -1
  95. package/dist/animate.js +2 -6
  96. package/dist/authoring/composer.js +1 -1
  97. package/dist/authoring/context.js +8 -7
  98. package/dist/authoring/models/defaults.d.ts +1 -0
  99. package/dist/authoring/models/defaults.js +7 -0
  100. package/dist/authoring/models.js +5 -3
  101. package/dist/authoring/motion.d.ts +1 -0
  102. package/dist/authoring/motion.js +25 -0
  103. package/dist/authoring/prompts.js +4 -14
  104. package/dist/authoring/providers.js +1 -1
  105. package/dist/authoring/resource-routing.js +2 -2
  106. package/dist/authoring/resources.js +4 -22
  107. package/dist/authoring/scene.js +3 -2
  108. package/dist/authoring.js +662 -219
  109. package/dist/brand-derivation/constants.js +1 -1
  110. package/dist/brand-derivation.js +1 -1
  111. package/dist/{chunk-TKFLSGAS.js → chunk-25JH5QZA.js} +2 -2
  112. package/dist/{chunk-LBJ5LI5V.js → chunk-2K2GBFLU.js} +17 -8
  113. package/dist/{chunk-RAXHCRVV.js → chunk-2PAP5LO5.js} +1 -1
  114. package/dist/{chunk-MNO6AO2J.js → chunk-3HLDIIWA.js} +1 -1
  115. package/dist/{chunk-PTVTWQ4T.js → chunk-3JEUNKDK.js} +2 -2
  116. package/dist/chunk-3VWJ3H4X.js +68 -0
  117. package/dist/{chunk-S5H6GH6M.js → chunk-3Z7CN54H.js} +1 -1
  118. package/dist/{chunk-FVDFPJHT.js → chunk-46WBCUPE.js} +1 -1
  119. package/dist/chunk-4VBLQIM5.js +30 -0
  120. package/dist/{chunk-N2OZDD44.js → chunk-6HA55CRU.js} +4 -5
  121. package/dist/{chunk-WL2MLKWU.js → chunk-6HPEMDQW.js} +1 -1
  122. package/dist/{chunk-PWWZTY3G.js → chunk-6KZCXAYL.js} +5 -2
  123. package/dist/{chunk-IEXAKOEX.js → chunk-6QGARSV6.js} +2 -15
  124. package/dist/{chunk-3YVIAWET.js → chunk-7II5OM7R.js} +13 -1
  125. package/dist/{chunk-VLJOIUHL.js → chunk-7PSQUTL5.js} +3 -3
  126. package/dist/{chunk-UFD4EZHM.js → chunk-AFUITAH6.js} +4 -5
  127. package/dist/{chunk-HGCYZMII.js → chunk-AK6QPX7A.js} +9 -9
  128. package/dist/{chunk-EC6VFQE6.js → chunk-BZVOCVQV.js} +1 -0
  129. package/dist/{chunk-RBWS5XHE.js → chunk-CAF7BRNE.js} +2 -2
  130. package/dist/{chunk-TR53N6HB.js → chunk-CEO47DIE.js} +6 -3
  131. package/dist/chunk-CIOUDOGN.js +12 -0
  132. package/dist/{chunk-GQ6XGAFB.js → chunk-DCKADD5B.js} +1 -1
  133. package/dist/{chunk-4NIJWK45.js → chunk-EISHFHU5.js} +0 -8
  134. package/dist/chunk-EQH37KNZ.js +224 -0
  135. package/dist/{chunk-EXY4JJPH.js → chunk-F6PLDBAK.js} +2 -11
  136. package/dist/{chunk-DAARYRNT.js → chunk-FKSXKS35.js} +6 -6
  137. package/dist/{chunk-KBDUEU4W.js → chunk-FZB7UX44.js} +1 -1
  138. package/dist/chunk-H2ZZXISB.js +24 -0
  139. package/dist/{chunk-WSMCZRJ2.js → chunk-I2HNC4PQ.js} +1 -1
  140. package/dist/{chunk-NVXSKKRN.js → chunk-IUJABAG2.js} +14 -10
  141. package/dist/{chunk-7NIOFHMH.js → chunk-IVFMOHAC.js} +1 -9
  142. package/dist/{chunk-UKDBU7HM.js → chunk-JNBNDHEF.js} +3 -3
  143. package/dist/{chunk-JWMWVP64.js → chunk-KC4LNZL5.js} +4 -9
  144. package/dist/{chunk-GCQ7Z7S7.js → chunk-KKATUGRU.js} +3 -9
  145. package/dist/{chunk-Q5P5UFOP.js → chunk-KLQ53NX3.js} +13 -1
  146. package/dist/{chunk-UMXES6ED.js → chunk-LVMWPFV4.js} +1 -1
  147. package/dist/{chunk-REST55RC.js → chunk-NECN7TT4.js} +5 -4
  148. package/dist/{chunk-4ZE564YF.js → chunk-NM7NWXGF.js} +0 -146
  149. package/dist/{chunk-5T655LYZ.js → chunk-NY6EI5YW.js} +4 -4
  150. package/dist/{chunk-UXRSEMJJ.js → chunk-ONSGT6UJ.js} +66 -35
  151. package/dist/{chunk-VZ7TYX6Z.js → chunk-P3EFZDM5.js} +0 -17
  152. package/dist/{chunk-BEFSJMFF.js → chunk-P6RVYHLT.js} +9 -9
  153. package/dist/{chunk-TBHSOEYK.js → chunk-PLWDYWK6.js} +4 -34
  154. package/dist/{chunk-KYRDKK2D.js → chunk-Q6CJ6HCU.js} +1 -6
  155. package/dist/{chunk-FWSJLHSV.js → chunk-R642352J.js} +1 -1
  156. package/dist/{chunk-XELS2BGA.js → chunk-R6HTIP3N.js} +1 -3
  157. package/dist/{chunk-RL5SO653.js → chunk-RQRPSSRT.js} +1 -1
  158. package/dist/chunk-RR7UBEBV.js +172 -0
  159. package/dist/{chunk-FHMTAZD4.js → chunk-RWJHZCOR.js} +1 -71
  160. package/dist/{chunk-73DQTUWY.js → chunk-TIAJMEQ4.js} +2 -22
  161. package/dist/{chunk-2ESYSVXG.js → chunk-U67V476Y.js} +2 -15
  162. package/dist/{chunk-3VLDQE26.js → chunk-U7KSOA2L.js} +4 -21
  163. package/dist/{chunk-K66NLMGX.js → chunk-UGWJC4GA.js} +62 -18
  164. package/dist/chunk-VBYINB74.js +136 -0
  165. package/dist/{chunk-W2245F6G.js → chunk-WTQRLFR2.js} +1 -1
  166. package/dist/{chunk-JN3GF36B.js → chunk-X2RTLS6K.js} +2 -23
  167. package/dist/chunk-XHMKPTHV.js +20 -0
  168. package/dist/{chunk-2L33CKIY.js → chunk-XOT2VWCO.js} +18 -31
  169. package/dist/{chunk-AK5QBHOB.js → chunk-XQGQ5EFS.js} +10 -1
  170. package/dist/chunk-XR76OZKC.js +21 -0
  171. package/dist/chunk-ZCEYEIRB.js +179 -0
  172. package/dist/{chunk-IMIUHG2E.js → chunk-ZPJQ3TQL.js} +1 -3
  173. package/dist/cloud-import.js +1 -16
  174. package/dist/component-runtime/browserOptions.js +4 -3
  175. package/dist/component-runtime/contracts.js +2 -2
  176. package/dist/component-runtime/identity/browser.js +2 -17
  177. package/dist/component-runtime/identity.js +5 -7
  178. package/dist/component-runtime/importPolicy.js +3 -3
  179. package/dist/component-runtime/mediaResolution.js +1 -1
  180. package/dist/component-runtime/render.js +8 -7
  181. package/dist/component-runtime/sourceAdmission.js +3 -3
  182. package/dist/component-runtime/template/testing.js +15 -12
  183. package/dist/component-runtime/template.js +165 -13
  184. package/dist/component-runtime.js +27 -28
  185. package/dist/compose.js +28 -45
  186. package/dist/composition/audio.js +4 -8
  187. package/dist/composition/brand-kit.js +1 -1
  188. package/dist/composition/brief.js +1 -1
  189. package/dist/composition/card-html.d.ts +1 -0
  190. package/dist/composition/card-html.js +15 -0
  191. package/dist/composition/depth.js +1 -1
  192. package/dist/composition/floors.js +2 -2
  193. package/dist/composition/fonts.js +1 -1
  194. package/dist/composition/graphics-plan.js +4 -44
  195. package/dist/composition/invariants.js +5 -12
  196. package/dist/composition/ops.js +7 -6
  197. package/dist/composition/primitive-catalog.js +2 -6
  198. package/dist/composition/projection.js +3 -5
  199. package/dist/composition/reframe/coverage.js +1 -1
  200. package/dist/composition/reframe/kenBurns.js +1 -1
  201. package/dist/composition/reframe/shotScale.js +1 -1
  202. package/dist/composition/reframe/trajectory.js +1 -1
  203. package/dist/composition/reframe.js +1 -1
  204. package/dist/composition/scene/budget-policy.js +1 -1
  205. package/dist/composition/scene.js +1 -1
  206. package/dist/composition/timeline.js +4 -8
  207. package/dist/composition/validators/brand-kit-body.js +5 -4
  208. package/dist/composition/validators/graphic-kinds.js +1 -1
  209. package/dist/composition/validators.js +8 -65
  210. package/dist/composition-ops.js +17 -16
  211. package/dist/composition.js +13 -79
  212. package/dist/context-7SWSVJ6Z.js +17 -0
  213. package/dist/core/render.js +13 -9
  214. package/dist/core/select.js +3 -3
  215. package/dist/core.js +9 -9
  216. package/dist/director/ai-sdk.js +7 -11
  217. package/dist/director/domain.js +9 -17
  218. package/dist/director.js +9 -21
  219. package/dist/{dist-LAJ2363K.js → dist-6FO67KVA.js} +1 -1
  220. package/dist/errors.js +2 -2
  221. package/dist/foundation/canonical.d.ts +1 -0
  222. package/dist/foundation/canonical.js +7 -0
  223. package/dist/foundation/primitives.js +4 -6
  224. package/dist/foundation/testing.d.ts +1 -0
  225. package/dist/foundation/testing.js +7 -0
  226. package/dist/foundation.js +7 -9
  227. package/dist/{magic-string.es-SDTMJBWP.js → magic-string.es-KVSW34UD.js} +1 -1
  228. package/dist/mcp/adapter.js +11 -19
  229. package/dist/mcp/composition-ops.d.ts +1 -0
  230. package/dist/mcp/composition-ops.js +11 -0
  231. package/dist/mcp/core.js +2 -2
  232. package/dist/mcp/curation.js +1 -1
  233. package/dist/mcp/executor.js +1 -1
  234. package/dist/mcp/scene-shot.js +3 -3
  235. package/dist/mcp/server.js +6 -7
  236. package/dist/mcp/wire-schema.js +13 -2
  237. package/dist/mcp.js +11 -10
  238. package/dist/media-model/generation.js +6 -8
  239. package/dist/media-model/media-kind.js +1 -1
  240. package/dist/media-model/testing.js +2 -2
  241. package/dist/media-model/transcriptSearch.js +1 -1
  242. package/dist/media-model.js +6 -8
  243. package/dist/nle-export/xml.js +1 -1
  244. package/dist/nle-export.js +2 -2
  245. package/dist/perception.js +1 -1
  246. package/dist/plane/conformance.js +8 -4
  247. package/dist/plane/contract.js +1 -1
  248. package/dist/plane.js +8 -4
  249. package/dist/primitives/backgrounds.js +3 -3
  250. package/dist/primitives/captions.js +2 -2
  251. package/dist/primitives/effects.js +4 -4
  252. package/dist/primitives/hero-text.js +4 -4
  253. package/dist/primitives/layouts.js +4 -4
  254. package/dist/primitives/lib/easings.js +1 -1
  255. package/dist/primitives/lib/frameScale.js +1 -1
  256. package/dist/primitives/lib/index.js +7 -13
  257. package/dist/primitives/lib/palette.js +2 -2
  258. package/dist/primitives/lib/preview.js +1 -1
  259. package/dist/primitives/lib/schema.js +1 -1
  260. package/dist/primitives/lib/seeded-random.js +1 -1
  261. package/dist/primitives/lib/text/contrast.js +3 -3
  262. package/dist/primitives/lib/text/fill.js +1 -1
  263. package/dist/primitives/lib/text/fitText.js +1 -1
  264. package/dist/primitives/lib/text/marker.js +1 -1
  265. package/dist/primitives/lib/text/motion.js +1 -1
  266. package/dist/primitives/lib/text/recolor.js +1 -1
  267. package/dist/primitives/lib/text/stage.js +1 -1
  268. package/dist/primitives/lib/text/typeface.js +1 -1
  269. package/dist/primitives/lib/tokens.js +4 -11
  270. package/dist/primitives/lib.js +7 -13
  271. package/dist/primitives/scenes.js +5 -5
  272. package/dist/primitives/subject-foreground.js +1 -1
  273. package/dist/primitives/text.js +4 -4
  274. package/dist/primitives/transitions.js +3 -3
  275. package/dist/primitives/ui-blocks.js +5 -5
  276. package/dist/primitives/workspace.js +1 -1
  277. package/dist/primitives.js +24 -38
  278. package/dist/render-harness/cardAssetAdmission.js +4 -4
  279. package/dist/render-harness/cardFonts.js +3 -3
  280. package/dist/render-harness/renderInputAssets.js +4 -4
  281. package/dist/render-harness.js +100 -82
  282. package/dist/{src-ZP6727AA.js → src-XI5MULKD.js} +17 -16
  283. package/package.json +38 -60
  284. package/dist/_members/account-model/validators/workingComposition.d.ts +0 -11
  285. package/dist/_members/animate/animations/index.d.ts +0 -9
  286. package/dist/_members/animate/easing/index.d.ts +0 -3
  287. package/dist/_members/animate/mobjects/index.d.ts +0 -4
  288. package/dist/_members/animate/scene/internal.d.ts +0 -29
  289. package/dist/_members/authoring/prompts/graphics.d.ts +0 -9
  290. package/dist/_members/cloud-import/cloudConfig.d.ts +0 -2
  291. package/dist/_members/composition/autozoom/index.d.ts +0 -25
  292. package/dist/_members/composition/graphics-plan/instantiateMotif.d.ts +0 -34
  293. package/dist/_members/composition/invariants/time.d.ts +0 -14
  294. package/dist/_members/composition/types/index.d.ts +0 -8
  295. package/dist/_members/composition/validators/font.d.ts +0 -58
  296. package/dist/_members/composition/validators/registry.d.ts +0 -79
  297. package/dist/_members/composition/validators/render.d.ts +0 -2068
  298. package/dist/_members/director/ai-sdk/chunks.d.ts +0 -14
  299. package/dist/_members/director/domain/ports.d.ts +0 -32
  300. package/dist/_members/director/testing/contract.d.ts +0 -52
  301. package/dist/_members/director/testing/index.d.ts +0 -1
  302. package/dist/_members/foundation/codes/index.d.ts +0 -10
  303. package/dist/_members/nle-export/server/index.d.ts +0 -1
  304. package/dist/_members/nle-export/server/pack-zip.d.ts +0 -6
  305. package/dist/_members/render-harness/assetRefs.d.ts +0 -26
  306. package/dist/_members/render-harness/assetRefs.d.ts.map +0 -1
  307. package/dist/_members/render-harness/remotion-runtime.d.ts +0 -87
  308. package/dist/authoring/build-tools.d.ts +0 -1
  309. package/dist/authoring/build-tools.js +0 -28
  310. package/dist/authoring/capabilities.d.ts +0 -1
  311. package/dist/authoring/capabilities.js +0 -11
  312. package/dist/authoring/pipelineTrace.d.ts +0 -1
  313. package/dist/authoring/pipelineTrace.js +0 -7
  314. package/dist/authoring/tools.d.ts +0 -1
  315. package/dist/authoring/tools.js +0 -31
  316. package/dist/chunk-6UZYUWBX.js +0 -197
  317. package/dist/chunk-7EDLPIUN.js +0 -384
  318. package/dist/chunk-GF52TW4I.js +0 -51
  319. package/dist/chunk-IG3YAOUZ.js +0 -418
  320. package/dist/chunk-JOURGVOR.js +0 -27
  321. package/dist/chunk-MFMR3LHO.js +0 -116
  322. package/dist/chunk-OSMXQV5V.js +0 -18
  323. package/dist/chunk-QDBVYZSF.js +0 -128
  324. package/dist/chunk-U3JPILZS.js +0 -15
  325. package/dist/chunk-Y4HPN4BC.js +0 -364
  326. package/dist/composition/autozoom.d.ts +0 -1
  327. package/dist/composition/autozoom.js +0 -76
  328. package/dist/composition/fixtures.d.ts +0 -1
  329. package/dist/composition/fixtures.js +0 -154
  330. package/dist/composition/types.d.ts +0 -1
  331. package/dist/composition/types.js +0 -0
  332. package/dist/context-4WSFPRLX.js +0 -16
  333. package/dist/director/testing.d.ts +0 -1
  334. package/dist/director/testing.js +0 -22
  335. package/dist/foundation/codes.d.ts +0 -1
  336. package/dist/foundation/codes.js +0 -7
  337. package/dist/nle-export/server.d.ts +0 -1
  338. package/dist/nle-export/server.js +0 -25856
  339. /package/dist/{chunk-FTVZF4GO.js → chunk-S432RE6G.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ChatErrorView,
3
3
  DirectorTurnContext
4
- } from "./chunk-3VLDQE26.js";
4
+ } from "./chunk-U7KSOA2L.js";
5
5
  import {
6
6
  GenerationArtifact
7
- } from "./chunk-73DQTUWY.js";
7
+ } from "./chunk-TIAJMEQ4.js";
8
8
 
9
9
  // ../director/src/ai-sdk/messages.ts
10
10
  import { z } from "zod";
@@ -38,25 +38,6 @@ var cueFrameDataPartSchemas = {
38
38
  error: ChatErrorView
39
39
  };
40
40
 
41
- // ../director/src/ai-sdk/chunks.ts
42
- function dataChunk(name, data, id) {
43
- return { type: `data-${name}`, data, ...id ? { id } : {} };
44
- }
45
- function chunksForDirectorEvent(event) {
46
- switch (event.type) {
47
- case "phase":
48
- return [dataChunk("phase", { phase: event.phase, ...event.detail ? { detail: event.detail } : {} })];
49
- case "generation":
50
- return [dataChunk("generation", event.artifact, `generation:${event.artifact.generationId}`)];
51
- case "error":
52
- return [dataChunk("error", event.error)];
53
- case "finish":
54
- return [{ type: "finish", finishReason: "stop" }];
55
- default:
56
- return [];
57
- }
58
- }
59
-
60
41
  // ../director/src/ai-sdk/context.ts
61
42
  function contentFor(message) {
62
43
  const content = [];
@@ -139,8 +120,6 @@ export {
139
120
  CueFramePlan,
140
121
  CueFrameRunOutcome,
141
122
  cueFrameDataPartSchemas,
142
- dataChunk,
143
- chunksForDirectorEvent,
144
123
  projectDirectorHistory,
145
124
  generationArtifactFromToolResult
146
125
  };
@@ -0,0 +1,20 @@
1
+ // ../data-models/foundation/src/canonical/index.ts
2
+ function canonicalJson(value) {
3
+ return JSON.stringify(canonicalize(value));
4
+ }
5
+ function canonicalize(value) {
6
+ if (value === null || typeof value !== "object") return value;
7
+ if (Array.isArray(value)) return value.map(canonicalize);
8
+ const out = {};
9
+ const keys = Object.keys(value).sort();
10
+ for (const key of keys) {
11
+ const v = value[key];
12
+ if (v === void 0) continue;
13
+ out[key] = canonicalize(v);
14
+ }
15
+ return out;
16
+ }
17
+
18
+ export {
19
+ canonicalJson
20
+ };
@@ -1,16 +1,19 @@
1
1
  import {
2
+ SCENE_SHOT_RESOURCE_DESCRIPTION,
3
+ SCENE_SHOT_RESOURCE_URI,
4
+ sceneShotContract
5
+ } from "./chunk-I2HNC4PQ.js";
6
+ import {
7
+ WAIT_KINDS,
2
8
  querySchemaShape,
3
9
  serializeQuery,
4
10
  waitForJob
5
- } from "./chunk-3YVIAWET.js";
6
- import {
7
- CURATED_TOOLS
8
- } from "./chunk-4WBSXHQA.js";
11
+ } from "./chunk-7II5OM7R.js";
9
12
  import {
10
- SCENE_SHOT_RESOURCE_DESCRIPTION,
11
- SCENE_SHOT_RESOURCE_URI,
12
- sceneShotContract
13
- } from "./chunk-WSMCZRJ2.js";
13
+ DESCRIBE_COMPOSITION_OPS_DESCRIPTION,
14
+ DescribeCompositionOpsInput,
15
+ describeCompositionOps
16
+ } from "./chunk-4VBLQIM5.js";
14
17
  import {
15
18
  GENERATED_OPERATIONS,
16
19
  apiErrorFrom,
@@ -28,7 +31,10 @@ import {
28
31
  text,
29
32
  textWithData,
30
33
  withMedia
31
- } from "./chunk-KBDUEU4W.js";
34
+ } from "./chunk-FZB7UX44.js";
35
+ import {
36
+ CURATED_TOOLS
37
+ } from "./chunk-4WBSXHQA.js";
32
38
 
33
39
  // ../mcp/src/prompts.ts
34
40
  var skillListCache = null;
@@ -447,29 +453,11 @@ function registerCuratedTools(server, ex, opts) {
447
453
  registerWaitJob(server, ex, opts?.waitCapMs, opts?.onEvent);
448
454
  registerPreviewCard(server, ex, opts?.waitCapMs, opts?.onEvent);
449
455
  }
450
- async function describeCompositionOps(type) {
451
- const { CompositionOp } = await import("./src-ZP6727AA.js");
452
- const variants = CompositionOp.options;
453
- const knownTypes = variants.map((variant2) => variant2.shape.type.value);
454
- if (type === void 0) {
455
- return {
456
- operations: variants.map((variant2) => ({
457
- type: variant2.shape.type.value,
458
- description: variant2.description ?? ""
459
- }))
460
- };
461
- }
462
- const variant = variants.find((candidate) => candidate.shape.type.value === type);
463
- if (!variant) {
464
- throw new Error(`Unknown CompositionOp type ${JSON.stringify(type)}. Known types: ${knownTypes.join(", ")}`);
465
- }
466
- return { type, schema: z.toJSONSchema(variant, { io: "input" }) };
467
- }
468
456
  function registerCompositionOpDiscovery(server, onEvent) {
469
457
  server.registerTool("describe_composition_ops", {
470
458
  title: "Describe Composition Operations",
471
- 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.",
472
- inputSchema: z.object({ type: z.string().optional().describe("Exact CompositionOp type, such as captions.fromComposition. Omit for the operation list.") }),
459
+ description: DESCRIBE_COMPOSITION_OPS_DESCRIPTION,
460
+ inputSchema: DescribeCompositionOpsInput,
473
461
  annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false }
474
462
  }, async (args) => timed(onEvent, "describe_composition_ops", async () => {
475
463
  try {
@@ -555,7 +543,7 @@ function registerWaitJob(server, ex, waitCapMs, onEvent) {
555
543
  annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
556
544
  description: "Wait for a long-running job and return the resolved result \u2014 a BOUNDED long-poll. Polls job status (media import/generation / render / compose / consult / clip-suggestions / verify / preview-frame) and blocks up to the transport window (30s on the hosted transport); if still running, it returns a continuation \u2014 call wait_job again with the same arguments (the job keeps executing server-side). Call this after import_media / generate_media / finalize_upload / import_resource / compose / create_render / consult / suggest_briefs / score_composition / preview_frame / preview_component. For event-driven fan-out, create_webhook delivers the terminal instead.",
557
545
  inputSchema: z.object({
558
- kind: z.enum(["media", "render", "suggestions", "compose", "verify", "preview_frame", "preview", "brand_kit_extract", "consult"]).describe("What to wait on: media ingest/generation, render, compose, consult, clip-suggestion analysis, or a generic async job (verify / preview_frame / preview / brand-kit extract \u2014 use the enqueue receipt kind)."),
546
+ kind: z.enum(WAIT_KINDS).describe("What to wait on: media ingest/generation, render, compose, consult, clip-suggestion analysis, or a generic async job (verify / preview_frame / preview / brand-kit extract \u2014 use the enqueue receipt kind)."),
559
547
  id: z.string().describe('kind="media": mediaItemId returned by import/generate/finalize/import_resource. kind="render": renderId. kind="compose": composeJobId. kind="consult": consultJobId. kind="suggestions": mediaItemId. Generic kinds use the jobId from the enqueue receipt.'),
560
548
  projectId: z.string().optional().describe('Required when kind="render", "compose", or "consult".'),
561
549
  timeoutMs: z.number().int().min(1e3).max(30 * 60 * 1e3).optional().describe("Maximum wait in ms (default 30 min for render/compose, 5 min for suggestions).")
@@ -603,6 +591,5 @@ export {
603
591
  registerRawTools,
604
592
  titleCase,
605
593
  registerCuratedTools,
606
- describeCompositionOps,
607
594
  buildServer
608
595
  };
@@ -221,6 +221,7 @@ var ERROR_CODES = {
221
221
  component_asset_integrity_failed: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
222
222
  component_network_denied: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
223
223
  component_import_denied: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
224
+ component_api_mismatch: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
224
225
  component_graphics_unavailable: { stage: "render", category: "authoring", retryable: false, httpStatus: 422 },
225
226
  component_graphics_mismatch: { stage: "render", category: "internal", retryable: false, httpStatus: 500 },
226
227
  component_device_lost: { stage: "render", category: "transient", retryable: true, httpStatus: 503 },
@@ -391,8 +392,16 @@ var SENSITIVE = [
391
392
  /\b[\w.-]*\.internal\b/gi,
392
393
  /\/(?:Users|home|var|tmp|root)\/\S*/gi,
393
394
  // absolute fs paths
394
- /\b\d{1,3}(?:\.\d{1,3}){3}\b/g
395
+ /\b\d{1,3}(?:\.\d{1,3}){3}\b/g,
395
396
  // IPv4 literals
397
+ /\bBearer\s+\S+/gi,
398
+ // authorization headers
399
+ /\beyJ[\w-]+\.[\w-]+\.[\w-]+/g,
400
+ // JWTs
401
+ /\b(?:sk|pk|rk)[-_](?:ant-|live_|test_|proj-)?[\w-]{16,}/g,
402
+ // provider API keys
403
+ /\bAKIA[0-9A-Z]{16}\b/g
404
+ // AWS access key ids
396
405
  ];
397
406
  var FIX_ALLOW = [
398
407
  "issues",
@@ -0,0 +1,21 @@
1
+ // ../data-models/foundation/src/testing/knownRed.ts
2
+ function contractFacts(it, knownRed = []) {
3
+ return (name, fn) => {
4
+ const red = knownRed.find((entry) => entry.fact === name);
5
+ if (!red) return it(name, fn);
6
+ it(`${name} [known red]`, async () => {
7
+ let failure;
8
+ try {
9
+ await fn();
10
+ } catch (error) {
11
+ failure = error;
12
+ }
13
+ if (failure === void 0) throw new Error(`"${name}" passes now: remove it from knownRed.`);
14
+ if (!red.failsWith.test(failure instanceof Error ? failure.message : String(failure))) throw failure;
15
+ });
16
+ };
17
+ }
18
+
19
+ export {
20
+ contractFacts
21
+ };
@@ -0,0 +1,179 @@
1
+ import {
2
+ Copy,
3
+ Format,
4
+ GraphicRole,
5
+ OpaqueId
6
+ } from "./chunk-AFUITAH6.js";
7
+
8
+ // ../composition/src/validators/composePlan.ts
9
+ import { z } from "zod";
10
+ var PlanSubject = z.discriminatedUnion("kind", [
11
+ z.object({ kind: z.literal("face"), faceId: z.string().min(1) }),
12
+ z.object({ kind: z.literal("all-faces") }),
13
+ z.object({ kind: z.literal("frame-center") }),
14
+ z.object({ kind: z.literal("active-speaker") }),
15
+ z.object({
16
+ kind: z.literal("point"),
17
+ x: z.number().min(0).max(1),
18
+ y: z.number().min(0).max(1)
19
+ })
20
+ ]);
21
+ var PlanFramingSegment = z.object({
22
+ startSec: z.number().nonnegative(),
23
+ endSec: z.number().positive(),
24
+ action: z.enum(["frame", "keep", "trim"]).describe(
25
+ "'frame' = SHOW this span cropped/tracked per `subject`. 'keep' = SHOW this span as-is, no reframe (footage with nothing to track). 'trim' = DELETE this span from the output entirely \u2014 trimmed footage never appears."
26
+ ),
27
+ subject: PlanSubject.optional(),
28
+ shotScale: z.enum(["close", "standard", "wide"]).optional(),
29
+ zoomScale: z.number().min(0.4).max(1).optional(),
30
+ verticalBias: z.number().min(-0.3).max(0.3).optional(),
31
+ lateralBias: z.number().min(-0.3).max(0.3).optional(),
32
+ intent: z.string().optional()
33
+ }).refine((s) => s.action !== "frame" || s.subject !== void 0, {
34
+ message: "frame segment requires a subject \u2014 for footage with no trackable subject use action:'keep' (shown as-is); do NOT trim spans you want shown"
35
+ }).refine((s) => s.action !== "keep" || s.subject === void 0, {
36
+ message: "keep segment shows footage as-is \u2014 it takes no subject (use action:'frame' to track one)"
37
+ }).refine((s) => s.shotScale === void 0 || s.zoomScale === void 0, {
38
+ message: "framing segment takes EITHER shotScale (editorial scale \u2014 the bake calibrates the zoom to the detected face) OR zoomScale (an explicit fraction of the frame), never both: shotScale wins and the zoomScale would be silently discarded",
39
+ path: ["zoomScale"]
40
+ });
41
+ var PlanCut = z.object({
42
+ startSec: z.number().nonnegative(),
43
+ endSec: z.number().positive(),
44
+ reason: z.string().min(1)
45
+ });
46
+ var PlanAssetRequest = z.object({
47
+ id: z.string().min(1),
48
+ atSec: z.number().nonnegative(),
49
+ durSec: z.number().positive(),
50
+ kind: z.enum(["broll", "audio", "sfx", "music", "ambience", "gif", "image"]),
51
+ source: z.enum(["find", "generate"]),
52
+ intent: z.string().min(1),
53
+ resolvedMediaId: z.string().optional()
54
+ });
55
+ var PlanGraphicRequest = z.object({
56
+ id: z.string().min(1),
57
+ atSec: z.number().nonnegative(),
58
+ durSec: z.number().positive(),
59
+ role: GraphicRole,
60
+ copy: Copy,
61
+ intent: z.string().min(1)
62
+ });
63
+ var PlanMarker = z.object({
64
+ startSec: z.number().nonnegative(),
65
+ endSec: z.number().nonnegative().optional(),
66
+ kind: z.string().min(1),
67
+ name: z.string().optional()
68
+ });
69
+ var ComposePlan = z.object({
70
+ framing: z.array(PlanFramingSegment).min(1),
71
+ cuts: z.array(PlanCut).optional(),
72
+ captions: z.object({ styleIntent: z.string().optional() }).optional(),
73
+ assets: z.array(PlanAssetRequest).optional(),
74
+ graphics: z.array(PlanGraphicRequest).optional(),
75
+ markers: z.array(PlanMarker).optional()
76
+ });
77
+
78
+ // ../composition/src/validators/project.ts
79
+ import { z as z2 } from "zod";
80
+ var Project = z2.object({
81
+ id: OpaqueId,
82
+ name: z2.string().min(1),
83
+ defaultFormat: Format.optional(),
84
+ palConformDefault: z2.union([z2.literal(24), z2.literal(30)]).optional(),
85
+ activeCompositionId: OpaqueId.nullable().optional(),
86
+ brandKitId: z2.string().optional(),
87
+ ownerOrgId: z2.string().optional(),
88
+ createdAt: z2.number(),
89
+ updatedAt: z2.number()
90
+ });
91
+
92
+ // ../composition/src/validators/session.ts
93
+ import { z as z3 } from "zod";
94
+ var SessionMediaRole = z3.enum([
95
+ "main",
96
+ "wide",
97
+ "facecam",
98
+ "screen",
99
+ "audio"
100
+ ]);
101
+ var SessionMember = z3.object({
102
+ mediaId: OpaqueId,
103
+ role: SessionMediaRole,
104
+ label: z3.string().optional()
105
+ // human-readable annotation, e.g., "host's camera"
106
+ });
107
+ var SessionMux = z3.object({
108
+ videoRole: z3.enum(["main", "wide", "facecam", "screen"]),
109
+ audioRole: z3.literal("audio")
110
+ });
111
+ var Session = z3.object({
112
+ id: OpaqueId,
113
+ name: z3.string().min(1),
114
+ members: z3.array(SessionMember).nonempty(),
115
+ mux: z3.array(SessionMux).optional(),
116
+ ownerOrgId: z3.string().optional(),
117
+ createdAt: z3.number(),
118
+ updatedAt: z3.number()
119
+ });
120
+
121
+ // ../composition/src/validators/webhook.ts
122
+ import { z as z4 } from "zod";
123
+ var SubstrateWebhookEvent = z4.enum([
124
+ "render.completed",
125
+ "media.transcribed",
126
+ "media.completed",
127
+ "composition.updated"
128
+ ]);
129
+ var WebhookDeliveryStatus = z4.enum([
130
+ "pending",
131
+ "delivering",
132
+ "delivered",
133
+ "failed",
134
+ "exhausted"
135
+ // retry budget burned through
136
+ ]);
137
+ var Webhook = z4.object({
138
+ id: OpaqueId,
139
+ url: z4.string().url(),
140
+ events: z4.array(z4.string().min(1)).nonempty(),
141
+ signingKeyId: z4.string().optional(),
142
+ headers: z4.record(z4.string(), z4.string()).optional(),
143
+ enabled: z4.boolean().optional(),
144
+ ownerOrgId: z4.string().optional(),
145
+ createdAt: z4.number(),
146
+ updatedAt: z4.number()
147
+ });
148
+ var WebhookDelivery = z4.object({
149
+ id: z4.string().min(1),
150
+ webhookId: OpaqueId,
151
+ event: z4.string().min(1),
152
+ payload: z4.record(z4.string(), z4.unknown()),
153
+ status: WebhookDeliveryStatus,
154
+ attemptCount: z4.number().int().nonnegative(),
155
+ responseStatus: z4.number().int().optional(),
156
+ responseBody: z4.string().optional(),
157
+ error: z4.string().optional(),
158
+ createdAt: z4.number(),
159
+ deliveredAt: z4.number().optional()
160
+ });
161
+
162
+ export {
163
+ PlanSubject,
164
+ PlanFramingSegment,
165
+ PlanCut,
166
+ PlanAssetRequest,
167
+ PlanGraphicRequest,
168
+ PlanMarker,
169
+ ComposePlan,
170
+ Project,
171
+ SessionMediaRole,
172
+ SessionMember,
173
+ SessionMux,
174
+ Session,
175
+ SubstrateWebhookEvent,
176
+ WebhookDeliveryStatus,
177
+ Webhook,
178
+ WebhookDelivery
179
+ };
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  expandClipIdsToLinkGroups,
7
7
  linkPartners
8
- } from "./chunk-KYRDKK2D.js";
8
+ } from "./chunk-Q6CJ6HCU.js";
9
9
 
10
10
  // ../composition/src/timeline/occupancy.ts
11
11
  var excluded = (span, id) => !!span.excludeClipIds && span.excludeClipIds.includes(id);
@@ -63,7 +63,6 @@ var emptyPlan = (label) => ({
63
63
  refusals: [],
64
64
  label
65
65
  });
66
- var planIsNoop = (plan) => plan.ops.length === 0;
67
66
 
68
67
  // ../composition/src/timeline/placement.ts
69
68
  function trackKindForSource(sourceKind) {
@@ -830,7 +829,6 @@ export {
830
829
  entityKey,
831
830
  refusalText,
832
831
  emptyPlan,
833
- planIsNoop,
834
832
  trackKindForSource,
835
833
  resolvePlacement,
836
834
  EASING_CONTROL_POINTS,
@@ -1,4 +1,4 @@
1
- import "./chunk-2ESYSVXG.js";
1
+ import "./chunk-U67V476Y.js";
2
2
 
3
3
  // ../cloud-import/src/ImportProvider.tsx
4
4
  import { createContext, useContext, useState, useEffect, useCallback, useRef } from "react";
@@ -39,10 +39,6 @@ var CloudImportService = class {
39
39
  this.uppy = uppy;
40
40
  return this.uppy;
41
41
  }
42
- getUppy() {
43
- if (!this.uppy) throw new Error("CloudImportService not initialized \u2014 call init() first");
44
- return this.uppy;
45
- }
46
42
  };
47
43
  var cloudImportService = new CloudImportService();
48
44
 
@@ -103,16 +99,6 @@ function useImportIfAvailable() {
103
99
  return ctx?.available ? ctx : null;
104
100
  }
105
101
 
106
- // ../cloud-import/src/cloudConfig.ts
107
- function detectEnvironment(convexUrl) {
108
- if (!convexUrl) return "dev";
109
- if (/\b(api-dev|data-dev)\.cueframe\.ai/.test(convexUrl)) return "staging";
110
- if (/\b(api|data)\.cueframe\.ai/.test(convexUrl)) return "production";
111
- if (/\bexample-dev\.convex\.(cloud|site)/.test(convexUrl)) return "staging";
112
- if (/\bexample-prod\.convex\.(cloud|site)/.test(convexUrl)) return "production";
113
- return "dev";
114
- }
115
-
116
102
  // ../cloud-import/src/index.ts
117
103
  import {
118
104
  useDropzone,
@@ -122,7 +108,6 @@ import {
122
108
  export {
123
109
  ImportProvider,
124
110
  cloudImportService,
125
- detectEnvironment,
126
111
  useDropzone,
127
112
  useImport,
128
113
  useImportIfAvailable,
@@ -4,11 +4,12 @@ import {
4
4
  componentBrowserOptions,
5
5
  resolvedComponentRenderer,
6
6
  webglBackend
7
- } from "../chunk-JWMWVP64.js";
8
- import "../chunk-EC6VFQE6.js";
7
+ } from "../chunk-KC4LNZL5.js";
8
+ import "../chunk-BZVOCVQV.js";
9
+ import "../chunk-XHMKPTHV.js";
9
10
  import "../chunk-CL5Y6V6K.js";
10
11
  import "../chunk-2L7PYYJK.js";
11
- import "../chunk-2ESYSVXG.js";
12
+ import "../chunk-U67V476Y.js";
12
13
  export {
13
14
  assertComponentBrowserHardware,
14
15
  componentBrowserBackend,
@@ -38,8 +38,8 @@ import {
38
38
  assertRendererReceiptMatches,
39
39
  authoredComponentProps,
40
40
  readComponentSourceRef
41
- } from "../chunk-EC6VFQE6.js";
42
- import "../chunk-2ESYSVXG.js";
41
+ } from "../chunk-BZVOCVQV.js";
42
+ import "../chunk-U67V476Y.js";
43
43
  export {
44
44
  CANVAS2D_COMPONENT_MANIFEST_V2,
45
45
  COMPONENT_BUNDLE_VERSION,
@@ -1,10 +1,7 @@
1
1
  import {
2
- componentArtifactIdentity,
3
- componentBundleIdentity,
4
- componentRenderIdentity,
5
2
  sourceVersionIdentity
6
- } from "../../chunk-DAARYRNT.js";
7
- import "../../chunk-2ESYSVXG.js";
3
+ } from "../../chunk-FKSXKS35.js";
4
+ import "../../chunk-U67V476Y.js";
8
5
 
9
6
  // ../execution/component-runtime/src/browserIdentity.ts
10
7
  function hex(bytes) {
@@ -17,19 +14,7 @@ async function sha256HexBrowser(value) {
17
14
  async function sourceVersionIdBrowser(source) {
18
15
  return sha256HexBrowser(sourceVersionIdentity(source));
19
16
  }
20
- async function componentBundleIdBrowser(input) {
21
- return sha256HexBrowser(componentBundleIdentity(input));
22
- }
23
- async function componentRenderKeyBrowser(request) {
24
- return sha256HexBrowser(componentRenderIdentity(request));
25
- }
26
- async function componentArtifactIdBrowser(input) {
27
- return sha256HexBrowser(componentArtifactIdentity(input));
28
- }
29
17
  export {
30
- componentArtifactIdBrowser,
31
- componentBundleIdBrowser,
32
- componentRenderKeyBrowser,
33
18
  sha256HexBrowser,
34
19
  sourceVersionIdBrowser
35
20
  };
@@ -1,18 +1,16 @@
1
1
  import {
2
- bundleIdentityFields,
3
2
  componentArtifactId,
4
3
  componentBundleId,
5
4
  componentRenderKey,
6
5
  sha256Hex,
7
6
  sourceVersionId
8
- } from "../chunk-EXY4JJPH.js";
7
+ } from "../chunk-F6PLDBAK.js";
9
8
  import {
10
- canonicalJson
11
- } from "../chunk-DAARYRNT.js";
12
- import "../chunk-2ESYSVXG.js";
9
+ canonicalIdentityJson
10
+ } from "../chunk-FKSXKS35.js";
11
+ import "../chunk-U67V476Y.js";
13
12
  export {
14
- bundleIdentityFields,
15
- canonicalJson,
13
+ canonicalIdentityJson,
16
14
  componentArtifactId,
17
15
  componentBundleId,
18
16
  componentRenderKey,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  COMPONENT_IMPORT_ALLOWLIST,
3
3
  assertComponentImportsAllowed
4
- } from "../chunk-K66NLMGX.js";
5
- import "../chunk-EC6VFQE6.js";
6
- import "../chunk-2ESYSVXG.js";
4
+ } from "../chunk-UGWJC4GA.js";
5
+ import "../chunk-BZVOCVQV.js";
6
+ import "../chunk-U67V476Y.js";
7
7
  export {
8
8
  COMPONENT_IMPORT_ALLOWLIST,
9
9
  assertComponentImportsAllowed
@@ -3,7 +3,7 @@ import {
3
3
  COMPONENT_MEDIA_TIERS,
4
4
  planComponentMediaRepresentation
5
5
  } from "../chunk-BVA3537Z.js";
6
- import "../chunk-2ESYSVXG.js";
6
+ import "../chunk-U67V476Y.js";
7
7
  export {
8
8
  COMPONENT_MEDIA_HEADROOM,
9
9
  COMPONENT_MEDIA_TIERS,
@@ -26,17 +26,18 @@ import {
26
26
  stagedBrowserLocator,
27
27
  verifyLocalStagedBrowser,
28
28
  vp9AlphaFfmpegOverride
29
- } from "../chunk-HGCYZMII.js";
29
+ } from "../chunk-AK6QPX7A.js";
30
30
  import "../chunk-WB2VFDQZ.js";
31
- import "../chunk-EXY4JJPH.js";
32
- import "../chunk-DAARYRNT.js";
33
- import "../chunk-K66NLMGX.js";
34
- import "../chunk-JWMWVP64.js";
35
- import "../chunk-EC6VFQE6.js";
31
+ import "../chunk-KC4LNZL5.js";
32
+ import "../chunk-F6PLDBAK.js";
33
+ import "../chunk-FKSXKS35.js";
34
+ import "../chunk-UGWJC4GA.js";
35
+ import "../chunk-BZVOCVQV.js";
36
+ import "../chunk-XHMKPTHV.js";
36
37
  import "../chunk-CL5Y6V6K.js";
37
38
  import "../chunk-2L7PYYJK.js";
38
39
  import "../chunk-OOL7ZUG7.js";
39
- import "../chunk-2ESYSVXG.js";
40
+ import "../chunk-U67V476Y.js";
40
41
  export {
41
42
  COMPONENT_BROWSER_CLEANUP_TIMEOUT_MS,
42
43
  COMPONENT_BROWSER_FIREWALL_ATTEMPTS,
@@ -3,9 +3,9 @@ import {
3
3
  describeMissingAssetReads,
4
4
  missingDeclaredAssetHandleReads,
5
5
  sourceAssetReads
6
- } from "../chunk-WL2MLKWU.js";
7
- import "../chunk-EC6VFQE6.js";
8
- import "../chunk-2ESYSVXG.js";
6
+ } from "../chunk-6HPEMDQW.js";
7
+ import "../chunk-BZVOCVQV.js";
8
+ import "../chunk-U67V476Y.js";
9
9
  export {
10
10
  assertSourceReadsDeclaredAssets,
11
11
  describeMissingAssetReads,
@@ -2,30 +2,34 @@ import {
2
2
  bindTemplate,
3
3
  findReferences,
4
4
  parseTemplateDocument
5
- } from "../../chunk-REST55RC.js";
6
- import "../../chunk-TR53N6HB.js";
5
+ } from "../../chunk-NECN7TT4.js";
6
+ import "../../chunk-CEO47DIE.js";
7
+ import {
8
+ contractFacts
9
+ } from "../../chunk-XR76OZKC.js";
7
10
  import {
8
11
  CANVAS2D_COMPONENT_MANIFEST_V2
9
- } from "../../chunk-EC6VFQE6.js";
10
- import "../../chunk-IG3YAOUZ.js";
11
- import "../../chunk-PWWZTY3G.js";
12
- import "../../chunk-UFD4EZHM.js";
12
+ } from "../../chunk-BZVOCVQV.js";
13
+ import "../../chunk-ZCEYEIRB.js";
14
+ import "../../chunk-6KZCXAYL.js";
15
+ import "../../chunk-AFUITAH6.js";
13
16
  import "../../chunk-WPZKOVYF.js";
14
17
  import "../../chunk-B7J5UUUV.js";
18
+ import "../../chunk-EQH37KNZ.js";
19
+ import "../../chunk-WREYUH2E.js";
15
20
  import {
16
21
  CURRENT_MATTE_BAKE_VERSION
17
- } from "../../chunk-7NIOFHMH.js";
22
+ } from "../../chunk-IVFMOHAC.js";
18
23
  import "../../chunk-DKBFAQCW.js";
19
- import "../../chunk-WREYUH2E.js";
20
24
  import "../../chunk-ILO4NEZ3.js";
21
- import "../../chunk-AK5QBHOB.js";
25
+ import "../../chunk-XQGQ5EFS.js";
22
26
  import "../../chunk-VG2ND6PX.js";
23
27
  import {
24
28
  parseSceneShotSpecV2
25
29
  } from "../../chunk-CL5Y6V6K.js";
26
30
  import "../../chunk-2L7PYYJK.js";
27
31
  import "../../chunk-OOL7ZUG7.js";
28
- import "../../chunk-2ESYSVXG.js";
32
+ import "../../chunk-U67V476Y.js";
29
33
 
30
34
  // ../execution/component-runtime/src/template/testing/fixtures.ts
31
35
  function minimalTemplate() {
@@ -304,8 +308,7 @@ function logicalMedia(doc, composition) {
304
308
  }
305
309
  function runTemplateApplyContract(harness) {
306
310
  const { describe, it, expect, makeLane, kind } = harness;
307
- const red = new Set(harness.knownRed ?? []);
308
- const fact = (name, fn) => (red.has(name) ? it.fails : it)(name, fn);
311
+ const fact = contractFacts(it, harness.knownRed);
309
312
  describe(`template apply contract (${kind})`, () => {
310
313
  fact("contract_apply_reads_back_bound_composition", async () => {
311
314
  const lane = await makeLane();