@cueframe/kernel 0.1.1 → 0.1.2

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 (501) hide show
  1. package/dist/_members/account-model/testing/conversationStoreContract.d.ts +0 -59
  2. package/dist/_members/account-model/testing/index.d.ts +0 -5
  3. package/dist/_members/account-model/testing/restorePointStoreContract.d.ts +0 -24
  4. package/dist/_members/account-model/validators/contextFile.d.ts +0 -6
  5. package/dist/_members/account-model/validators/conversation.d.ts +0 -96
  6. package/dist/_members/account-model/validators/dashboardInsight.d.ts +0 -6
  7. package/dist/_members/account-model/validators/sessionToken.d.ts +0 -29
  8. package/dist/_members/account-model/validators/uploadToken.d.ts +0 -4
  9. package/dist/_members/account-model/validators/userSettings.d.ts +0 -4
  10. package/dist/_members/account-model/validators/workingComposition.d.ts +0 -7
  11. package/dist/_members/animate/animations/Create.d.ts +0 -19
  12. package/dist/_members/animate/animations/FadeIn.d.ts +0 -17
  13. package/dist/_members/animate/animations/GrowArrow.d.ts +0 -19
  14. package/dist/_members/animate/animations/GrowFromCenter.d.ts +0 -12
  15. package/dist/_members/animate/animations/Indicate.d.ts +0 -17
  16. package/dist/_members/animate/animations/MoveAlongPath.d.ts +0 -18
  17. package/dist/_members/animate/animations/Transform.d.ts +0 -28
  18. package/dist/_members/animate/animations/Wiggle.d.ts +0 -18
  19. package/dist/_members/animate/animations/Write.d.ts +0 -20
  20. package/dist/_members/animate/composition/AnimationGroup.d.ts +0 -21
  21. package/dist/_members/animate/composition/LaggedStart.d.ts +0 -22
  22. package/dist/_members/animate/composition/Succession.d.ts +0 -17
  23. package/dist/_members/animate/easing/rush.d.ts +0 -14
  24. package/dist/_members/animate/easing/smooth.d.ts +0 -7
  25. package/dist/_members/animate/easing/smootherstep.d.ts +0 -6
  26. package/dist/_members/animate/index.d.ts +0 -2
  27. package/dist/_members/animate/mobjects/Arrow.d.ts +0 -25
  28. package/dist/_members/animate/mobjects/BrandBox.d.ts +0 -25
  29. package/dist/_members/animate/mobjects/DiGraph.d.ts +0 -18
  30. package/dist/_members/animate/mobjects/Graph.d.ts +0 -38
  31. package/dist/_members/animate/three/ThreeCanvas.d.ts +0 -23
  32. package/dist/_members/animate/three/drei.d.ts +0 -7
  33. package/dist/_members/authoring/agent/buildTools.d.ts +0 -37
  34. package/dist/_members/authoring/agent/contextManagement.d.ts +0 -65
  35. package/dist/_members/authoring/agent/errors.d.ts +0 -9
  36. package/dist/_members/authoring/agent/memoryTool.d.ts +0 -2
  37. package/dist/_members/authoring/agent/promptCache.d.ts +0 -31
  38. package/dist/_members/authoring/agent.d.ts +0 -34
  39. package/dist/_members/authoring/capabilities.d.ts +0 -145
  40. package/dist/_members/authoring/composer/scopes.d.ts +0 -19
  41. package/dist/_members/authoring/context/brand.d.ts +0 -4
  42. package/dist/_members/authoring/context/brandTokens.d.ts +0 -4
  43. package/dist/_members/authoring/context/index.d.ts +0 -1
  44. package/dist/_members/authoring/context/timeline.d.ts +0 -15
  45. package/dist/_members/authoring/context/transcript.d.ts +0 -11
  46. package/dist/_members/authoring/context/types.d.ts +0 -4
  47. package/dist/_members/authoring/decomposer.d.ts +0 -12
  48. package/dist/_members/authoring/evaluate.d.ts +0 -26
  49. package/dist/_members/authoring/evaluator.d.ts +0 -16
  50. package/dist/_members/authoring/models/modelFactory.d.ts +0 -77
  51. package/dist/_members/authoring/motion/applyMotionPreset.d.ts +0 -12
  52. package/dist/_members/authoring/motion/materializeMotionPresetOps.d.ts +0 -7
  53. package/dist/_members/authoring/motion/shell.d.ts +0 -20
  54. package/dist/_members/authoring/pipelineTrace.d.ts +0 -19
  55. package/dist/_members/authoring/prompts/decomposerPrompt.d.ts +0 -4
  56. package/dist/_members/authoring/prompts/designReviewerPrompt.d.ts +0 -16
  57. package/dist/_members/authoring/prompts/evaluatorPrompt.d.ts +0 -4
  58. package/dist/_members/authoring/prompts/graphics.d.ts +0 -5
  59. package/dist/_members/authoring/prompts/plannerPrompt.d.ts +0 -30
  60. package/dist/_members/authoring/providers/resourceApi.d.ts +1 -20
  61. package/dist/_members/authoring/resource-routing.d.ts +0 -121
  62. package/dist/_members/authoring/resources.d.ts +0 -34
  63. package/dist/_members/authoring/scope.d.ts +0 -24
  64. package/dist/_members/authoring/tools/brandTokens.d.ts +0 -22
  65. package/dist/_members/authoring/tools/composeRoleTools.d.ts +0 -79
  66. package/dist/_members/authoring/tools/index.d.ts +0 -1
  67. package/dist/_members/authoring/tools/toolSets.d.ts +0 -50
  68. package/dist/_members/authoring/transpileComponent.d.ts +0 -34
  69. package/dist/_members/authoring/transpileHelper.d.ts +0 -18
  70. package/dist/_members/authoring/types.d.ts +0 -149
  71. package/dist/_members/brand-derivation/constants.d.ts +0 -17
  72. package/dist/_members/brand-derivation/contrastSafe.d.ts +0 -23
  73. package/dist/_members/cloud-import/CloudImportService.d.ts +0 -15
  74. package/dist/_members/cloud-import/ImportProvider.d.ts +0 -45
  75. package/dist/_members/cloud-import/MediaItemPreprocessor.d.ts +0 -9
  76. package/dist/_members/cloud-import/cloudConfig.d.ts +0 -15
  77. package/dist/_members/compose/CompositionRenderer.d.ts +0 -6
  78. package/dist/_members/compose/primitiveRegistry.d.ts +0 -64
  79. package/dist/_members/compose/sceneToRenderInput.d.ts +0 -26
  80. package/dist/_members/compose/schema.d.ts +0 -15
  81. package/dist/_members/compose/tokenResolver.d.ts +0 -11
  82. package/dist/_members/composition/audio/audioMix.d.ts +0 -34
  83. package/dist/_members/composition/audio/mixStaging.d.ts +0 -81
  84. package/dist/_members/composition/audio/musicPack.d.ts +0 -35
  85. package/dist/_members/composition/audio/musicPack.generated.d.ts +0 -6
  86. package/dist/_members/composition/audio/pack.d.ts +0 -43
  87. package/dist/_members/composition/audio/pack.generated.d.ts +0 -6
  88. package/dist/_members/composition/audio/palette.d.ts +0 -36
  89. package/dist/_members/composition/autozoom/index.d.ts +0 -32
  90. package/dist/_members/composition/brand-kit.d.ts +0 -8
  91. package/dist/_members/composition/brief/contract.d.ts +0 -90
  92. package/dist/_members/composition/color-grade.d.ts +0 -11
  93. package/dist/_members/composition/depth.d.ts +0 -19
  94. package/dist/_members/composition/fixtures/agentErrored.d.ts +0 -23
  95. package/dist/_members/composition/fonts.d.ts +0 -62
  96. package/dist/_members/composition/graphics-plan/compile.d.ts +0 -29
  97. package/dist/_members/composition/graphics-plan/index.d.ts +0 -5
  98. package/dist/_members/composition/graphics-plan/instantiateMotif.d.ts +0 -17
  99. package/dist/_members/composition/graphics-plan/motion.d.ts +0 -17
  100. package/dist/_members/composition/graphics-plan/schemas.d.ts +0 -171
  101. package/dist/_members/composition/graphics-plan/solve.d.ts +0 -19
  102. package/dist/_members/composition/invariants/clipPlacement.d.ts +0 -59
  103. package/dist/_members/composition/invariants/composition.d.ts +0 -5
  104. package/dist/_members/composition/invariants/etag.d.ts +0 -7
  105. package/dist/_members/composition/invariants/ids.d.ts +0 -6
  106. package/dist/_members/composition/invariants/keyframes.d.ts +0 -19
  107. package/dist/_members/composition/invariants/markers.d.ts +0 -6
  108. package/dist/_members/composition/invariants/time.d.ts +0 -8
  109. package/dist/_members/composition/invariants/tracks.d.ts +0 -48
  110. package/dist/_members/composition/ops/compositionOps.d.ts +4 -71
  111. package/dist/_members/composition/ops/compositionOps.shared.d.ts +30 -0
  112. package/dist/_members/composition/ops/headlessStore.d.ts +0 -24
  113. package/dist/_members/composition/ops/selectors.d.ts +0 -66
  114. package/dist/_members/composition/ops/timeline-word.d.ts +0 -5
  115. package/dist/_members/composition/ops/transcript.d.ts +0 -27
  116. package/dist/_members/composition/ops/types.d.ts +0 -51
  117. package/dist/_members/composition/primitive-catalog/catalogQuery.d.ts +0 -32
  118. package/dist/_members/composition/primitive-catalog/disabled.d.ts +0 -1
  119. package/dist/_members/composition/primitive-catalog/index.d.ts +0 -11
  120. package/dist/_members/composition/primitive-catalog/paramValidation.d.ts +0 -50
  121. package/dist/_members/composition/primitive-catalog/projection.d.ts +0 -39
  122. package/dist/_members/composition/primitive-catalog/types.d.ts +0 -78
  123. package/dist/_members/composition/projection/behind-placement.d.ts +0 -40
  124. package/dist/_members/composition/projection/behind-readiness.d.ts +14 -89
  125. package/dist/_members/composition/projection/brandKit.d.ts +0 -142
  126. package/dist/_members/composition/projection/cardTokens.d.ts +0 -65
  127. package/dist/_members/composition/projection/composition-floor.d.ts +0 -179
  128. package/dist/_members/composition/projection/cropProjection.d.ts +0 -75
  129. package/dist/_members/composition/projection/occlusion-budget.d.ts +0 -37
  130. package/dist/_members/composition/projection/reframe-readiness.d.ts +4 -111
  131. package/dist/_members/composition/projection/safe-zones.d.ts +0 -29
  132. package/dist/_members/composition/reframe/aspectLoss.d.ts +12 -35
  133. package/dist/_members/composition/reframe/coverage.d.ts +0 -40
  134. package/dist/_members/composition/reframe/derive.d.ts +0 -21
  135. package/dist/_members/composition/reframe/index.d.ts +0 -60
  136. package/dist/_members/composition/reframe/kenBurns.d.ts +0 -37
  137. package/dist/_members/composition/reframe/shotScale.d.ts +0 -75
  138. package/dist/_members/composition/reframe/trajectory.d.ts +0 -65
  139. package/dist/_members/composition/timeline/compound.d.ts +0 -31
  140. package/dist/_members/composition/timeline/intent.d.ts +0 -29
  141. package/dist/_members/composition/timeline/keyframes.d.ts +0 -43
  142. package/dist/_members/composition/timeline/link.d.ts +0 -27
  143. package/dist/_members/composition/timeline/occupancy.d.ts +1 -42
  144. package/dist/_members/composition/timeline/placement.d.ts +5 -52
  145. package/dist/_members/composition/timeline/plan.d.ts +5 -53
  146. package/dist/_members/composition/timeline/resolve.d.ts +0 -36
  147. package/dist/_members/composition/timeline/trims.d.ts +0 -49
  148. package/dist/_members/composition/validators/brandKit.d.ts +0 -29
  149. package/dist/_members/composition/validators/composePlan.d.ts +0 -39
  150. package/dist/_members/composition/validators/composition.d.ts +30 -513
  151. package/dist/_members/composition/validators/graphicKinds.d.ts +0 -28
  152. package/dist/_members/composition/validators/render.d.ts +23 -23
  153. package/dist/_members/composition-ops/alphaLayers.d.ts +0 -56
  154. package/dist/_members/composition-ops/index.d.ts +27 -148
  155. package/dist/_members/composition-ops/materializeGrid.d.ts +0 -28
  156. package/dist/_members/composition-ops/opRecorder.d.ts +0 -34
  157. package/dist/_members/composition-ops/recordingStore.d.ts +0 -16
  158. package/dist/_members/composition-ops/replaceRegion.d.ts +0 -48
  159. package/dist/_members/composition-ops/testFixtures.d.ts +0 -14
  160. package/dist/_members/convex-api/api.d.ts +0 -3
  161. package/dist/_members/convex-api/dataModel.d.ts +0 -2
  162. package/dist/_members/core/index.d.ts +1 -1
  163. package/dist/_members/core/render/bookends.d.ts +0 -44
  164. package/dist/_members/core/render/captions.d.ts +0 -42
  165. package/dist/_members/core/render/compositionRender.d.ts +1 -180
  166. package/dist/_members/core/render/deriveTrajectory.d.ts +0 -140
  167. package/dist/_members/core/render/emphasis.d.ts +0 -6
  168. package/dist/_members/core/render/eval/cropBox.d.ts +0 -69
  169. package/dist/_members/core/render/eval/inclusion.d.ts +0 -39
  170. package/dist/_members/core/render/eval/index.d.ts +0 -58
  171. package/dist/_members/core/render/eval/metrics.d.ts +0 -36
  172. package/dist/_members/core/render/exportSettings.d.ts +4 -12
  173. package/dist/_members/core/render/index.d.ts +1 -1
  174. package/dist/_members/core/render/mapFaceToPerson.d.ts +0 -27
  175. package/dist/_members/core/render/types.d.ts +1 -184
  176. package/dist/_members/core/render/variantKeys.d.ts +1 -0
  177. package/dist/_members/core/render/vcam/cameraPath.d.ts +0 -44
  178. package/dist/_members/core/render/vcam/constants.d.ts +0 -93
  179. package/dist/_members/core/render/vcam/errorCodes.d.ts +0 -28
  180. package/dist/_members/core/render/vcam/framing.d.ts +0 -76
  181. package/dist/_members/core/render/vcam/requiredRegion.d.ts +0 -71
  182. package/dist/_members/core/render/vcam/shots.d.ts +0 -40
  183. package/dist/_members/core/render/vcam/subjectSet.d.ts +0 -85
  184. package/dist/_members/core/select/errorCodes.d.ts +0 -25
  185. package/dist/_members/core/select/index.d.ts +0 -20
  186. package/dist/_members/core/select/model.d.ts +0 -79
  187. package/dist/_members/core/select/select.d.ts +0 -49
  188. package/dist/_members/core/select/stabilize.d.ts +0 -102
  189. package/dist/_members/core/types.d.ts +0 -1
  190. package/dist/_members/director/ai-sdk/chunks.d.ts +14 -0
  191. package/dist/_members/director/ai-sdk/context.d.ts +6 -0
  192. package/dist/_members/director/ai-sdk/generationTool.d.ts +8 -0
  193. package/dist/_members/director/ai-sdk/index.d.ts +4 -0
  194. package/dist/_members/director/ai-sdk/messages.d.ts +292 -0
  195. package/dist/_members/director/domain/chat.d.ts +357 -0
  196. package/dist/_members/director/domain/generation.d.ts +1 -0
  197. package/dist/_members/director/domain/index.d.ts +3 -0
  198. package/dist/_members/director/domain/ports.d.ts +32 -0
  199. package/dist/_members/director/index.d.ts +2 -0
  200. package/dist/_members/director/testing/contract.d.ts +52 -0
  201. package/dist/_members/director/testing/index.d.ts +1 -0
  202. package/dist/_members/errors/registry.d.ts +0 -32
  203. package/dist/_members/foundation/codes/index.d.ts +0 -21
  204. package/dist/_members/mcp/adapter.d.ts +1 -84
  205. package/dist/_members/mcp/burnedNames.d.ts +0 -16
  206. package/dist/_members/mcp/core.d.ts +1 -81
  207. package/dist/_members/mcp/curation.d.ts +0 -112
  208. package/dist/_members/mcp/executor.d.ts +0 -49
  209. package/dist/_members/mcp/format.d.ts +0 -6
  210. package/dist/_members/mcp/generated/catalogPreviews.d.ts +0 -1
  211. package/dist/_members/mcp/generated/operations.d.ts +0 -23
  212. package/dist/_members/mcp/internalLoopTools.d.ts +0 -23
  213. package/dist/_members/mcp/prompts.d.ts +0 -16
  214. package/dist/_members/mcp/resources.d.ts +0 -13
  215. package/dist/_members/mcp/server.d.ts +0 -61
  216. package/dist/_members/mcp/wait.d.ts +0 -22
  217. package/dist/_members/mcp/x402Meta.d.ts +0 -44
  218. package/dist/_members/media-model/generation.d.ts +314 -0
  219. package/dist/_members/media-model/index.d.ts +1 -0
  220. package/dist/_members/media-model/media-kind.d.ts +0 -27
  221. package/dist/_members/media-model/transcriptSearch.d.ts +0 -42
  222. package/dist/_members/nle-export/fcpxml.d.ts +0 -13
  223. package/dist/_members/nle-export/index.d.ts +0 -6
  224. package/dist/_members/nle-export/types.d.ts +0 -26
  225. package/dist/_members/nle-export/xml/index.d.ts +0 -8
  226. package/dist/_members/nle-export/xml-utils.d.ts +0 -12
  227. package/dist/_members/perception/activeSpeaker.d.ts +0 -94
  228. package/dist/_members/perception/audioQuality.d.ts +0 -64
  229. package/dist/_members/perception/energyBeat.d.ts +0 -81
  230. package/dist/_members/perception/identityMatch.d.ts +0 -66
  231. package/dist/_members/perception/index.d.ts +0 -52
  232. package/dist/_members/perception/visualQuality.d.ts +0 -73
  233. package/dist/_members/plane/conformance.d.ts +0 -59
  234. package/dist/_members/plane/contract.d.ts +0 -29
  235. package/dist/_members/plane/index.d.ts +0 -15
  236. package/dist/_members/primitives/backgrounds/animated-bar-chart/index.d.ts +0 -13
  237. package/dist/_members/primitives/backgrounds/animated-line-chart/index.d.ts +0 -14
  238. package/dist/_members/primitives/backgrounds/dither-gradient-bg/index.d.ts +0 -14
  239. package/dist/_members/primitives/backgrounds/dynamic-grid/index.d.ts +0 -8
  240. package/dist/_members/primitives/backgrounds/ecosystem-constellation/index.d.ts +0 -8
  241. package/dist/_members/primitives/backgrounds/infinite-marquee/index.d.ts +0 -8
  242. package/dist/_members/primitives/backgrounds/mesh-gradient-bg/index.d.ts +0 -8
  243. package/dist/_members/primitives/backgrounds/perspective-marquee/index.d.ts +0 -8
  244. package/dist/_members/primitives/backgrounds/silk-flow-bg/index.d.ts +0 -17
  245. package/dist/_members/primitives/backgrounds/vector-field/index.d.ts +0 -14
  246. package/dist/_members/primitives/backgrounds/volumetric-rays/index.d.ts +0 -18
  247. package/dist/_members/primitives/captions/Captions.d.ts +0 -24
  248. package/dist/_members/primitives/captions/index.d.ts +0 -15
  249. package/dist/_members/primitives/captions/paginate.d.ts +0 -21
  250. package/dist/_members/primitives/captions/placement.d.ts +0 -30
  251. package/dist/_members/primitives/effects/blur/index.d.ts +0 -16
  252. package/dist/_members/primitives/effects/color-grade/index.d.ts +0 -20
  253. package/dist/_members/primitives/effects/grain/index.d.ts +0 -12
  254. package/dist/_members/primitives/effects/parallax/index.d.ts +0 -13
  255. package/dist/_members/primitives/effects/particles/index.d.ts +0 -16
  256. package/dist/_members/primitives/effects/pulsing-indicator/index.d.ts +0 -10
  257. package/dist/_members/primitives/effects/spotlight-card/index.d.ts +0 -8
  258. package/dist/_members/primitives/effects/spring-pop-in/index.d.ts +0 -10
  259. package/dist/_members/primitives/effects/success-confetti/index.d.ts +0 -8
  260. package/dist/_members/primitives/effects/vignette/index.d.ts +0 -12
  261. package/dist/_members/primitives/hero-text/HeroText.d.ts +0 -17
  262. package/dist/_members/primitives/hero-text/config.d.ts +0 -10
  263. package/dist/_members/primitives/hero-text/index.d.ts +0 -14
  264. package/dist/_members/primitives/index.d.ts +0 -8
  265. package/dist/_members/primitives/layouts/chat-to-preview-layout/index.d.ts +0 -8
  266. package/dist/_members/primitives/layouts/infinite-bento-pan/index.d.ts +0 -8
  267. package/dist/_members/primitives/layouts/letterbox/index.d.ts +0 -15
  268. package/dist/_members/primitives/layouts/photo-grid/index.d.ts +0 -17
  269. package/dist/_members/primitives/layouts/picture-in-picture/index.d.ts +0 -21
  270. package/dist/_members/primitives/layouts/split-screen/index.d.ts +0 -15
  271. package/dist/_members/primitives/layouts/staggered-bento-grid/index.d.ts +0 -8
  272. package/dist/_members/primitives/lib/easings.d.ts +0 -27
  273. package/dist/_members/primitives/lib/palette.d.ts +0 -22
  274. package/dist/_members/primitives/lib/preview.d.ts +0 -22
  275. package/dist/_members/primitives/lib/schema.d.ts +0 -36
  276. package/dist/_members/primitives/lib/seeded-random.d.ts +0 -23
  277. package/dist/_members/primitives/lib/text/contrast.d.ts +0 -17
  278. package/dist/_members/primitives/lib/text/fill.d.ts +0 -5
  279. package/dist/_members/primitives/lib/text/fitText.d.ts +0 -37
  280. package/dist/_members/primitives/lib/text/marker.d.ts +0 -10
  281. package/dist/_members/primitives/lib/text/motion.d.ts +0 -46
  282. package/dist/_members/primitives/lib/text/recolor.d.ts +0 -11
  283. package/dist/_members/primitives/lib/text/spec.d.ts +0 -39
  284. package/dist/_members/primitives/lib/text/stage.d.ts +0 -17
  285. package/dist/_members/primitives/lib/text/typeface.d.ts +0 -11
  286. package/dist/_members/primitives/lib/tokens.d.ts +0 -87
  287. package/dist/_members/primitives/lib/types.d.ts +0 -141
  288. package/dist/_members/primitives/scenes/changelog-bite/index.d.ts +0 -12
  289. package/dist/_members/primitives/scenes/hero-device-assemble/index.d.ts +0 -8
  290. package/dist/_members/primitives/scenes/landing-code-showcase/index.d.ts +0 -8
  291. package/dist/_members/primitives/scenes/live-code-compilation/index.d.ts +0 -8
  292. package/dist/_members/primitives/scenes/pricing-tier-focus/index.d.ts +0 -8
  293. package/dist/_members/primitives/scenes/product-launch-trailer/index.d.ts +0 -8
  294. package/dist/_members/primitives/scenes/terminal-to-browser-deploy/index.d.ts +0 -8
  295. package/dist/_members/primitives/subject-foreground/SubjectForeground.d.ts +0 -38
  296. package/dist/_members/primitives/subject-foreground/index.d.ts +0 -21
  297. package/dist/_members/primitives/text/blur-reveal/index.d.ts +0 -9
  298. package/dist/_members/primitives/text/cinematic-title/index.d.ts +0 -14
  299. package/dist/_members/primitives/text/inline-highlight/index.d.ts +0 -11
  300. package/dist/_members/primitives/text/karaoke/index.d.ts +0 -13
  301. package/dist/_members/primitives/text/kinetic-type/index.d.ts +0 -15
  302. package/dist/_members/primitives/text/lower-third/index.d.ts +0 -14
  303. package/dist/_members/primitives/text/marker-highlight/index.d.ts +0 -10
  304. package/dist/_members/primitives/text/masked-slide-reveal/index.d.ts +0 -8
  305. package/dist/_members/primitives/text/matrix-decode/index.d.ts +0 -9
  306. package/dist/_members/primitives/text/quote-card/index.d.ts +0 -9
  307. package/dist/_members/primitives/text/rgb-glitch-text/index.d.ts +0 -13
  308. package/dist/_members/primitives/text/shimmer-sweep/index.d.ts +0 -10
  309. package/dist/_members/primitives/text/slot-machine-roll/index.d.ts +0 -8
  310. package/dist/_members/primitives/text/staggered-fade-up/index.d.ts +0 -12
  311. package/dist/_members/primitives/text/stat-counter/index.d.ts +0 -13
  312. package/dist/_members/primitives/text/strikethrough-replace/index.d.ts +0 -9
  313. package/dist/_members/primitives/text/text-effect/index.d.ts +0 -17
  314. package/dist/_members/primitives/text/text-fade-replace/index.d.ts +0 -8
  315. package/dist/_members/primitives/text/token-stream/index.d.ts +0 -11
  316. package/dist/_members/primitives/text/tracking-in/index.d.ts +0 -8
  317. package/dist/_members/primitives/text/typewriter/index.d.ts +0 -12
  318. package/dist/_members/primitives/transitions/chromatic-aberration-wipe/index.d.ts +0 -11
  319. package/dist/_members/primitives/transitions/code-diff-wipe/index.d.ts +0 -8
  320. package/dist/_members/primitives/transitions/directional-wipe/index.d.ts +0 -10
  321. package/dist/_members/primitives/transitions/frosted-glass-wipe/index.d.ts +0 -10
  322. package/dist/_members/primitives/transitions/glitch-cut/index.d.ts +0 -3
  323. package/dist/_members/primitives/transitions/grid-pixelate-wipe/index.d.ts +0 -14
  324. package/dist/_members/primitives/transitions/ink-wipe/index.d.ts +0 -3
  325. package/dist/_members/primitives/transitions/kinetic-type-mask/index.d.ts +0 -12
  326. package/dist/_members/primitives/transitions/light-leak/index.d.ts +0 -3
  327. package/dist/_members/primitives/transitions/luma-matte/index.d.ts +0 -2
  328. package/dist/_members/primitives/transitions/morph/index.d.ts +0 -2
  329. package/dist/_members/primitives/transitions/spatial-push/index.d.ts +0 -10
  330. package/dist/_members/primitives/transitions/swipe-transition-wipe/index.d.ts +0 -13
  331. package/dist/_members/primitives/transitions/zoom-through/index.d.ts +0 -2
  332. package/dist/_members/primitives/transitions/zoom-through-transition/index.d.ts +0 -9
  333. package/dist/_members/primitives/ui-blocks/ai-generate-overlay/index.d.ts +0 -8
  334. package/dist/_members/primitives/ui-blocks/ai-generation-canvas/index.d.ts +0 -8
  335. package/dist/_members/primitives/ui-blocks/badge-pop/index.d.ts +0 -11
  336. package/dist/_members/primitives/ui-blocks/before-after-slider/index.d.ts +0 -11
  337. package/dist/_members/primitives/ui-blocks/benchmark-bars/index.d.ts +0 -11
  338. package/dist/_members/primitives/ui-blocks/bounding-box-selector/index.d.ts +0 -8
  339. package/dist/_members/primitives/ui-blocks/browser-flow/index.d.ts +0 -8
  340. package/dist/_members/primitives/ui-blocks/brush-stroke-simulator/index.d.ts +0 -18
  341. package/dist/_members/primitives/ui-blocks/chat-exchange/index.d.ts +0 -10
  342. package/dist/_members/primitives/ui-blocks/code-accordion/index.d.ts +0 -8
  343. package/dist/_members/primitives/ui-blocks/context-meter/index.d.ts +0 -11
  344. package/dist/_members/primitives/ui-blocks/cursor-flow/index.d.ts +0 -11
  345. package/dist/_members/primitives/ui-blocks/dashboard-populate/index.d.ts +0 -8
  346. package/dist/_members/primitives/ui-blocks/data-flow-pipes/index.d.ts +0 -9
  347. package/dist/_members/primitives/ui-blocks/device-mockup-zoom/index.d.ts +0 -8
  348. package/dist/_members/primitives/ui-blocks/drag-and-drop-flow/index.d.ts +0 -8
  349. package/dist/_members/primitives/ui-blocks/eval-scorecard/index.d.ts +0 -11
  350. package/dist/_members/primitives/ui-blocks/glass-code-block/index.d.ts +0 -8
  351. package/dist/_members/primitives/ui-blocks/image-expand-to-fullscreen/index.d.ts +0 -8
  352. package/dist/_members/primitives/ui-blocks/metric-gauge/index.d.ts +0 -12
  353. package/dist/_members/primitives/ui-blocks/morphing-modal/index.d.ts +0 -8
  354. package/dist/_members/primitives/ui-blocks/pipeline-journey/index.d.ts +0 -8
  355. package/dist/_members/primitives/ui-blocks/progress-steps/index.d.ts +0 -8
  356. package/dist/_members/primitives/ui-blocks/reasoning-trace/index.d.ts +0 -10
  357. package/dist/_members/primitives/ui-blocks/simulated-cursor/index.d.ts +0 -8
  358. package/dist/_members/primitives/ui-blocks/terminal-simulator/index.d.ts +0 -19
  359. package/dist/_members/primitives/ui-blocks/toast-notification/index.d.ts +0 -8
  360. package/dist/_members/primitives/ui-blocks/tool-call-stack/index.d.ts +0 -8
  361. package/dist/_members/primitives/ui-blocks/tool-menu-slide-in/index.d.ts +0 -8
  362. package/dist/_members/primitives/ui-blocks/visual-docs-snippet/index.d.ts +0 -8
  363. package/dist/_members/primitives/ui-blocks/voice-waveform/index.d.ts +0 -11
  364. package/dist/_members/primitives/workspace.d.ts +0 -29
  365. package/dist/_members/render-harness/browserOptions.d.ts +11 -0
  366. package/dist/_members/render-harness/browserOptions.d.ts.map +1 -0
  367. package/dist/_members/render-harness/cardRender.d.ts +0 -40
  368. package/dist/_members/render-harness/cardRender.d.ts.map +1 -1
  369. package/dist/_members/render-harness/contractRender.d.ts +0 -16
  370. package/dist/_members/render-harness/contractRender.d.ts.map +1 -1
  371. package/dist/_members/render-harness/extractSegments.d.ts +0 -37
  372. package/dist/_members/render-harness/extractSegments.d.ts.map +1 -1
  373. package/dist/_members/render-harness/index.d.ts +0 -12
  374. package/dist/_members/render-harness/index.d.ts.map +1 -1
  375. package/dist/_members/render-harness/localRender.d.ts +1 -110
  376. package/dist/_members/render-harness/localRender.d.ts.map +1 -1
  377. package/dist/_members/render-harness/materializeSources.d.ts +0 -22
  378. package/dist/_members/render-harness/materializeSources.d.ts.map +1 -1
  379. package/dist/_members/render-harness/mediaServer.d.ts +0 -16
  380. package/dist/_members/render-harness/mediaServer.d.ts.map +1 -1
  381. package/dist/_members/render-harness/renderInputAssets.d.ts +0 -45
  382. package/dist/_members/render-harness/renderInputAssets.d.ts.map +1 -1
  383. package/dist/_members/render-harness/resolveAssets.d.ts +0 -24
  384. package/dist/_members/render-harness/resolveAssets.d.ts.map +1 -1
  385. package/dist/_members/render-harness/sandboxGlobalSpecs.d.ts +0 -14
  386. package/dist/_members/render-harness/sandboxGlobalSpecs.d.ts.map +1 -1
  387. package/dist/account-model/validators.js +1 -1
  388. package/dist/account-model.js +1 -1
  389. package/dist/animate.js +0 -15
  390. package/dist/authoring/build-tools.js +8 -8
  391. package/dist/authoring/composer.js +0 -20
  392. package/dist/authoring/context.js +6 -6
  393. package/dist/authoring/pipelineTrace.js +1 -1
  394. package/dist/authoring/prompts.js +1 -1
  395. package/dist/authoring/resource-routing.js +1 -1
  396. package/dist/authoring/resources.js +1 -1
  397. package/dist/authoring/tools.js +7 -7
  398. package/dist/authoring.js +14 -80
  399. package/dist/{chunk-TWQOKKAF.js → chunk-23HFEKV7.js} +0 -6
  400. package/dist/{chunk-EA6MYCYW.js → chunk-2B5VJZHL.js} +14 -25
  401. package/dist/chunk-73DQTUWY.js +131 -0
  402. package/dist/{chunk-HI4UTTPS.js → chunk-AO744WIK.js} +1 -43
  403. package/dist/chunk-BADZHXLR.js +0 -0
  404. package/dist/{chunk-GA23TRNR.js → chunk-BKHGL4MB.js} +5 -13
  405. package/dist/{chunk-PDYO3DOJ.js → chunk-BZZTVOGG.js} +6 -55
  406. package/dist/{chunk-AP6ZIVAV.js → chunk-CAJQ7H5A.js} +17 -17
  407. package/dist/{chunk-7FO3ZJ43.js → chunk-DCVJWGIA.js} +1 -9
  408. package/dist/{chunk-AQBREB5O.js → chunk-DWLNPNC4.js} +1 -4
  409. package/dist/{chunk-SW336CJP.js → chunk-DYZE7JZA.js} +3 -26
  410. package/dist/{chunk-HCCBDJLW.js → chunk-EP2Y6M2J.js} +0 -4
  411. package/dist/{chunk-ZE76SSRT.js → chunk-FMODQD5P.js} +0 -6
  412. package/dist/chunk-FTVZF4GO.js +0 -0
  413. package/dist/{chunk-PMY24FUD.js → chunk-G5BFI32U.js} +1 -1
  414. package/dist/{chunk-LD5ZOUFT.js → chunk-GF52TW4I.js} +0 -4
  415. package/dist/{chunk-ABL557OT.js → chunk-GMD33ZD7.js} +1 -8
  416. package/dist/{chunk-ZWMV6DD2.js → chunk-ICSZF37W.js} +10 -162
  417. package/dist/chunk-IEXAKOEX.js +113 -0
  418. package/dist/{chunk-UY4SWJVE.js → chunk-K2IUBCND.js} +0 -12
  419. package/dist/chunk-LJ5W4ZBU.js +146 -0
  420. package/dist/chunk-LLUW26BS.js +255 -0
  421. package/dist/{chunk-JJ6XD7NG.js → chunk-PIURX6IZ.js} +70 -2
  422. package/dist/{chunk-MMEJ3Y7E.js → chunk-QETYXKQQ.js} +1 -10
  423. package/dist/{chunk-YX2GSJK7.js → chunk-RP4SXXLJ.js} +1 -1
  424. package/dist/{chunk-P727GZVO.js → chunk-SAMQUUO5.js} +3 -5
  425. package/dist/{chunk-RF7U3SCL.js → chunk-TD347SSX.js} +3 -11
  426. package/dist/{chunk-TOJEXFXL.js → chunk-TFGKUWHY.js} +1 -88
  427. package/dist/{chunk-UHGSZZDI.js → chunk-TPA6PYN2.js} +1 -11
  428. package/dist/{chunk-OLFOPQCA.js → chunk-UQSOS726.js} +4 -18
  429. package/dist/{chunk-GBRNYH7W.js → chunk-V24L35GM.js} +0 -11
  430. package/dist/{chunk-MBCXCJOE.js → chunk-VFMW3JUY.js} +1 -1
  431. package/dist/{chunk-DK2ODBNT.js → chunk-VHF66LCQ.js} +16 -98
  432. package/dist/{chunk-JMURQODM.js → chunk-VZ7TYX6Z.js} +0 -1
  433. package/dist/{chunk-SIGGQRY2.js → chunk-W3SIWT7J.js} +5030 -4412
  434. package/dist/{chunk-W35ZMOXB.js → chunk-WPZKOVYF.js} +0 -5
  435. package/dist/chunk-WZH57M53.js +494 -0
  436. package/dist/{chunk-AYVJXDLB.js → chunk-XHGZ2E77.js} +0 -2
  437. package/dist/{chunk-HY3RIEZW.js → chunk-XQ72DZKJ.js} +1 -1
  438. package/dist/{chunk-7DHP4ESU.js → chunk-YLDMAZZE.js} +0 -10
  439. package/dist/{chunk-FYZVH3MC.js → chunk-YQ7FFW3G.js} +0 -11
  440. package/dist/chunk-ZPLJ24OV.js +93 -0
  441. package/dist/cloud-import/multipart.js +1 -1
  442. package/dist/cloud-import.js +9 -16
  443. package/dist/compose/renderer.js +18 -18
  444. package/dist/compose.js +21 -21
  445. package/dist/composition/audio.js +1 -1
  446. package/dist/composition/brand-kit.js +0 -5
  447. package/dist/composition/graphics-plan.js +4 -4
  448. package/dist/composition/ops.js +5 -5
  449. package/dist/composition/primitive-catalog.js +1 -1
  450. package/dist/composition/projection.js +11 -3
  451. package/dist/composition/reframe/kenBurns.js +0 -4
  452. package/dist/composition/reframe.js +4 -2
  453. package/dist/composition/timeline.js +1 -1
  454. package/dist/composition/validators/graphic-kinds.js +1 -1
  455. package/dist/composition/validators.js +4 -4
  456. package/dist/composition-ops.js +16 -135
  457. package/dist/composition.js +15 -7
  458. package/dist/context-JLLU3MYD.js +14 -0
  459. package/dist/core/render.js +9 -7
  460. package/dist/core/select.js +2 -6
  461. package/dist/core.js +5 -7
  462. package/dist/director/ai-sdk.d.ts +1 -0
  463. package/dist/director/ai-sdk.js +33 -0
  464. package/dist/director/domain.d.ts +1 -0
  465. package/dist/director/domain.js +62 -0
  466. package/dist/director/testing.d.ts +1 -0
  467. package/dist/director/testing.js +22 -0
  468. package/dist/director.d.ts +1 -0
  469. package/dist/director.js +86 -0
  470. package/dist/errors.js +1 -1
  471. package/dist/foundation.js +1 -0
  472. package/dist/mcp/adapter.js +4 -64
  473. package/dist/mcp/core.js +1 -1
  474. package/dist/mcp/curation.js +1 -1
  475. package/dist/mcp/server.js +4 -4
  476. package/dist/mcp.js +4 -4
  477. package/dist/media-model/generation.d.ts +1 -0
  478. package/dist/media-model/generation.js +40 -0
  479. package/dist/media-model.js +38 -6
  480. package/dist/nle-export.js +21 -21
  481. package/dist/plane/contract.js +0 -3
  482. package/dist/primitives/backgrounds.js +2 -2
  483. package/dist/primitives/captions.js +0 -5
  484. package/dist/primitives/effects.js +2 -2
  485. package/dist/primitives/hero-text.js +2 -2
  486. package/dist/primitives/layouts.js +2 -2
  487. package/dist/primitives/lib/index.js +17 -17
  488. package/dist/primitives/lib/text/fitText.js +1 -1
  489. package/dist/primitives/lib/tokens.js +1 -1
  490. package/dist/primitives/lib.js +17 -17
  491. package/dist/primitives/scenes.js +2 -2
  492. package/dist/primitives/text.js +2 -2
  493. package/dist/primitives/ui-blocks.js +4 -4
  494. package/dist/primitives.js +21 -21
  495. package/dist/render-harness/sandboxGlobalSpecs.js +1 -1
  496. package/dist/render-harness.js +24 -41
  497. package/package.json +37 -21
  498. package/dist/chunk-6EQXLEP6.js +0 -194
  499. package/dist/chunk-OCFDUCF4.js +0 -504
  500. package/dist/chunk-PODIYN2K.js +0 -742
  501. package/dist/context-YWUZDG5X.js +0 -14
@@ -1,51 +1,14 @@
1
- /**
2
- * Extract clip segments from source videos via ffmpeg.
3
- *
4
- * Remotion's OffthreadVideo downloads the entire source file for each frame.
5
- * For large files (91MB+), this causes timeouts. Pre-extracting only the
6
- * needed segments makes rendering fast regardless of source file size.
7
- *
8
- * Uses `ffmpeg -c copy` (packet copy) — no re-encoding, sub-second extraction.
9
- *
10
- * Private cloud render-harness module — used only by materializeSources for the
11
- * Modal render sandbox (no desktop/OSS consumers).
12
- */
13
1
  export interface SegmentResult {
14
- /** Map: poolItemId → extracted segment file path */
15
2
  segments: Record<string, string>;
16
- /**
17
- * Map: poolItemId → the SOURCE second at frame 0 of the served file — the
18
- * exact `-ss` hull start ffmpeg was given (0 for the local-fallback path,
19
- * which serves the UNTRIMMED original). The caller's seek/trajectory rebase
20
- * MUST use this instead of re-deriving the hull math: an independent
21
- * recomputation silently desynchronizes the seek window AND the crop
22
- * mapping the moment this module's range math changes (review 2026-07-07),
23
- * and the local fallback's origin is 0, not the computed hull start.
24
- */
25
3
  origins: Record<string, number>;
26
- /** Temp directory containing all segments */
27
4
  dir: string;
28
- /** Clean up all segment files and the temp directory */
29
5
  cleanup: () => Promise<void>;
30
6
  }
31
7
  interface ClipRange {
32
8
  poolItemId: string;
33
- /** Start time in seconds */
34
9
  sourceIn: number;
35
- /** End time in seconds */
36
10
  sourceOut: number;
37
11
  }
38
- /**
39
- * Extract needed segments from source video files.
40
- *
41
- * Groups clips by poolItemId, computes the union of ranges per source,
42
- * and extracts one segment per source covering all needed ranges.
43
- *
44
- * @param clips - clips with source time ranges
45
- * @param sourceFiles - map from poolItemId to local file path
46
- * @param opts.padding - extra seconds before/after each range (default 1)
47
- * @returns segment file paths keyed by poolItemId
48
- */
49
12
  export declare function extractSegments(clips: ClipRange[], sourceFiles: Record<string, string>, opts?: {
50
13
  padding?: number;
51
14
  }): Promise<SegmentResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"extractSegments.d.ts","sourceRoot":"","sources":["../src/extractSegments.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAWH,MAAM,WAAW,aAAa;IAC5B,oDAAoD;IACpD,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC;;;;;;;;OAQG;IACH,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,6CAA6C;IAC7C,GAAG,EAAE,MAAM,CAAC;IACZ,wDAAwD;IACxD,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAED,UAAU,SAAS;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,0BAA0B;IAC1B,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,eAAe,CACnC,KAAK,EAAE,SAAS,EAAE,EAClB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACnC,IAAI,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAC1B,OAAO,CAAC,aAAa,CAAC,CAyExB"}
1
+ {"version":3,"file":"extractSegments.d.ts","sourceRoot":"","sources":["../src/extractSegments.ts"],"names":[],"mappings":"AAUA,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC9B;AAED,UAAU,SAAS;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,wBAAsB,eAAe,CACnC,KAAK,EAAE,SAAS,EAAE,EAClB,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EACnC,IAAI,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,GAC1B,OAAO,CAAC,aAAa,CAAC,CA2DxB"}
@@ -1,15 +1,3 @@
1
- /**
2
- * @cueframe/render-harness — the PRIVATE cloud render-execution layer.
3
- *
4
- * Everything here is cloud-render infra that used to sit in the OSS submodule
5
- * (@cueframe/core/render + /server) but has zero OSS/desktop consumers — the
6
- * "shared with desktop export" headers were stale. It localizes a RenderInput's
7
- * remote assets into a render sandbox (Modal) and reads/asserts the
8
- * asset surface. Creds-free, generic plumbing; the creds-bearing resolution
9
- * (R2 presign / S3 mirror / Convex) lives separately in the director
10
- * (lib/render-env). The OSS engine (compositionToRenderInput, render.mjs, the
11
- * Remotion compositions) stays in the submodule for WYSIWYG + desktop export.
12
- */
13
1
  export { materializeSources } from './materializeSources.js';
14
2
  export type { MaterializeResult } from './materializeSources.js';
15
3
  export { extractSegments } from './extractSegments.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,YAAY,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,YAAY,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACpD,YAAY,EAAE,WAAW,EAAE,MAA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import { type SandboxGlobalSpec } from './sandboxGlobalSpecs.js';
3
3
  export type { SandboxGlobalSpec };
4
- /** The generated registry filename, written into the `.cueframe/` derived cache. */
5
4
  export declare const LOCAL_REGISTRY_FILENAME = "registry.local.tsx";
6
- /** The generated Remotion Root filename, written alongside the registry. */
7
5
  export declare const LOCAL_ROOT_FILENAME = "Root.local.tsx";
8
- /** The generated Remotion entry filename, the local bundle's entryPoint. */
9
6
  export declare const LOCAL_ENTRY_FILENAME = "entry.local.tsx";
10
- /** The Remotion composition id the generated Root registers. */
11
7
  export declare const LOCAL_COMPOSITION_ID = "CueFrameLocalStill";
12
- /**
13
- * Generate the local override registry into the workspace's HIDDEN `.cueframe/`
14
- * derived cache (NEVER the visible source dir — it's regenerable, gitignored).
15
- *
16
- * For every discovered component it emits a side-import of that component's
17
- * `config` (the 2.2 create_graphic-generated config.ts) and a
18
- * `registerPrimitiveOverride(config)` call. Imports are resolved RELATIVE to the
19
- * cache dir (so the generated file is location-independent of the absolute repo
20
- * path) and target the VISIBLE component source under `<componentsDir>/<id>/`.
21
- *
22
- * Returns the absolute path of the written `registry.local.tsx`.
23
- *
24
- * The 2.2 config.ts (id/component/name/category/kind/version/paramsSchema) is a
25
- * STRUCTURAL SUBSET of @cueframe/primitives PrimitiveMeta — it omits the many
26
- * required fields (intent/useWhen/tags/mood/tokens/durationInFrames/fps/width/
27
- * height/preview/...). So registerPrimitiveOverride (typed `PrimitiveMeta`)
28
- * cannot accept it without a widening cast. We register through the loose
29
- * `LocalPrimitiveConfig` shape declared in the generated module rather than
30
- * sprinkling `as any`: the renderer only reads `id` + `component` + the optional
31
- * `paramsSchema`, so the subset is sound at runtime; the cast is named, narrow,
32
- * and lives in one generated place.
33
- */
34
8
  export declare function generateLocalRegistry(ws: Workspace): string;
35
- /**
36
- * Build the `webpack.ProvidePlugin` map for the box bundle from the shared SSOT:
37
- * every desktop-sandbox endowment (EXCEPT `console`) becomes a FREE identifier so
38
- * a no-import component renders in the box exactly as it does on the desktop
39
- * (`evaluateInSandbox` scope injection). ProvidePlugin only fills FREE
40
- * identifiers, so importing components are untouched.
41
- *
42
- * - `React` → `'react'` (a STRING = whole-module/default, so classic-JSX
43
- * `React.createElement` + bare `React` resolve to the react default export).
44
- * - a named export → `[moduleSpecifier, exportName]`.
45
- * - a LOCAL module (`./fonts`) or a GLOBALS_MODULE wrapper (SandboxVideo/Audio)
46
- * → `[<absolute path under renderEntryRoot>, exportName]` so it resolves in the
47
- * box (whose resolution root is renderEntryRoot).
48
- * - the `@cueframe/animate` `sandboxScope` keys (DYNAMIC — full on pro, empty
49
- * on the OSS/box stub) → `[<@cueframe/animate>, key]` for each `animateName`.
50
- *
51
- * `console` is intentionally absent — the box keeps the real Node console.
52
- */
53
9
  export declare function buildBoxGlobalsProvideMap(args: {
54
10
  renderEntryRoot: string;
55
11
  specs: Readonly<Record<string, SandboxGlobalSpec>>;
56
12
  animateNames: readonly string[];
57
13
  }): Record<string, string | [string, string]>;
58
- /**
59
- * Build the webpack override for the LOCAL bundle — the spike's
60
- * `buildWebpackOverride`: alias the `@cueframe/animate` package (or its stub) +
61
- * the `@` source root, shim `@tauri-apps/*` (the desktop bridge the compositions
62
- * import but which has no place in a headless render), AND inject the Remotion
63
- * sandbox globals via `webpack.ProvidePlugin` so no-import components render in
64
- * the box (no-import parity with the desktop sandbox). `renderEntryRoot` is the
65
- * @cueframe/render-entry package dir that holds the Remotion deps + the
66
- * composition sources + the shim. Mirrors packages/execution/render-entry/scripts/build-remotion-bundle.mjs so the local
67
- * bundle behaves identically to the dev-fallback bundle.
68
- *
69
- * `globals` carries the SSOT spec + the resolved @cueframe/animate names + the
70
- * webpack module (defaults to `require('webpack')`, resolved from the box /
71
- * @remotion/bundler's webpack at call time; injectable for unit tests).
72
- */
73
14
  export declare function buildLocalWebpackOverride(renderEntryRoot: string, globals: {
74
15
  specs: Readonly<Record<string, SandboxGlobalSpec>>;
75
16
  animateNames: readonly string[];
@@ -77,90 +18,40 @@ export declare function buildLocalWebpackOverride(renderEntryRoot: string, globa
77
18
  }): (config: any) => any;
78
19
  export interface RenderComponentStillOpts {
79
20
  ws: Workspace;
80
- /** The component's flat-string primitiveId (matches its config.ts `id`). */
81
21
  id: string;
82
- /** Params spread into the resolved component (forwarded via Remotion inputProps). */
83
22
  params: Record<string, unknown>;
84
- /** Frame to render. Default 0 — static graphics iterate fine on frame 0. */
85
23
  frame?: number;
86
- /** Composition dimensions (full-bleed default). */
87
24
  width?: number;
88
25
  height?: number;
89
26
  fps?: number;
90
27
  durationInFrames?: number;
91
- /**
92
- * The @cueframe/render-entry package dir holding the Remotion deps + the
93
- * tauri shim (webpack alias root). Defaults to RENDER_ENTRY_ROOT, else the
94
- * sibling render-entry package derived from this file.
95
- */
96
28
  renderEntryRoot?: string;
97
29
  }
98
- /**
99
- * Import a Remotion toolchain module (@remotion/bundler, @remotion/renderer)
100
- * from the `renderEntryRoot` that OWNS it — not from this harness's own context.
101
- * render-harness deliberately does not depend on @remotion/* (see the d.ts
102
- * header); the local render environment (the render-entry package) provides them, so
103
- * a bare `import('@remotion/bundler')` resolves against render-harness and fails
104
- * with ERR_MODULE_NOT_FOUND. Anchoring to renderEntryRoot (the same root used for
105
- * the webpack alias) keeps the harness self-contained on one render root.
106
- */
107
30
  export declare function importFromRenderEntry<T>(renderEntryRoot: string, spec: string): Promise<T>;
108
- /**
109
- * Resolve the @cueframe/render-entry package root that OWNS the Remotion
110
- * toolchain + the composition sources + the webpack shim: explicit override →
111
- * RENDER_ENTRY_ROOT → the sibling `render-entry` package derived from this
112
- * file's path (src/ → render-harness → packages/execution → render-entry).
113
- * Shared by the component render (prepareLocalBundle) and the card render
114
- * (cardRender.ts) so both anchor to one root.
115
- */
116
31
  export declare function resolveRenderEntryRoot(override?: string): string;
117
- /**
118
- * Render an owned `.cueframe` component to a still PNG via the LOCAL Remotion
119
- * bundle. Requires an installed Chrome via REMOTION_CHROME_EXECUTABLE (the
120
- * chrome-headless-shell auto-download hangs).
121
- */
122
32
  export declare function renderComponentStill(opts: RenderComponentStillOpts): Promise<{
123
33
  pngPath: string;
124
34
  }>;
125
- /** Alpha codec for the bake. ProRes 4444 = pixel-identical alpha (heavier);
126
- * VP9 = ~75× smaller, near-identical (spike-alpha q_compare.png). */
127
35
  export type AlphaCodec = 'prores' | 'vp9';
128
- /**
129
- * Pure (Chrome-free, unit-testable) renderMedia config for an alpha bake, from
130
- * the proven spike-alpha settings: ProRes 4444 → `yuva444p10le`; VP9 → `yuva420p`.
131
- * `imageFormat:'png'` carries the alpha channel out of Chromium in both.
132
- */
133
36
  export declare function alphaRenderConfig(codec: AlphaCodec): {
134
37
  codec: AlphaCodec;
135
38
  pixelFormat: 'yuva444p10le' | 'yuva420p';
136
39
  imageFormat: 'png';
40
+ muted: true;
137
41
  proResProfile?: '4444';
138
42
  };
139
- /** File extension for a baked alpha video by codec. */
140
43
  export declare function alphaExt(codec: AlphaCodec): 'mov' | 'webm';
141
44
  export interface RenderComponentAlphaOpts {
142
45
  ws: Workspace;
143
- /** The component's flat-string primitiveId (matches its config.ts `id`). */
144
46
  id: string;
145
- /** Params spread into the resolved component (forwarded via Remotion inputProps). */
146
47
  params: Record<string, unknown>;
147
- /** Alpha codec. Default 'prores' (pixel-identical); 'vp9' for a small file. */
148
48
  codec?: AlphaCodec;
149
49
  width?: number;
150
50
  height?: number;
151
51
  fps?: number;
152
- /** Clip length in frames. Default fps×3 (a 3s alpha clip). */
153
52
  durationInFrames?: number;
154
53
  renderEntryRoot?: string;
155
54
  }
156
- /**
157
- * Bake an owned `.cueframe` component to an ALPHA (transparent) video via the
158
- * LOCAL Remotion bundle — the "trusted pixels" a cloud render later composites
159
- * (Task 2.6b) WITHOUT running the component's code in the shared render. Mirrors
160
- * the proven apps/studio/scripts/spike-alpha renderMedia settings. Requires an
161
- * installed Chrome via REMOTION_CHROME_EXECUTABLE. Output → the `.cueframe/` cache
162
- * (an R2-upload step for the cloud path is the 2.6b follow-up).
163
- */
164
55
  export declare function renderComponentAlpha(opts: RenderComponentAlphaOpts): Promise<{
165
56
  videoPath: string;
166
57
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"localRender.d.ts","sourceRoot":"","sources":["../src/localRender.ts"],"names":[],"mappings":"AA8BA,OAAO,EAIL,KAAK,SAAS,EACf,MAAM,gCAAgC,CAAC;AAMxC,OAAO,EAGL,KAAK,iBAAiB,EACvB,MAAM,yBAAyB,CAAC;AAEjC,YAAY,EAAE,iBAAiB,EAAE,CAAC;AAElC,oFAAoF;AACpF,eAAO,MAAM,uBAAuB,uBAAuB,CAAC;AAE5D,4EAA4E;AAC5E,eAAO,MAAM,mBAAmB,mBAAmB,CAAC;AAEpD,4EAA4E;AAC5E,eAAO,MAAM,oBAAoB,oBAAoB,CAAC;AAEtD,gEAAgE;AAChE,eAAO,MAAM,oBAAoB,uBAAuB,CAAC;AAYzD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,qBAAqB,CAAC,EAAE,EAAE,SAAS,GAAG,MAAM,CAyC3D;AA0DD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE;IAC9C,eAAe,EAAE,MAAM,CAAC;IACxB,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC,CAAC;IACnD,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;CACjC,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CA+B5C;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,yBAAyB,CACvC,eAAe,EAAE,MAAM,EACvB,OAAO,EAAE;IACP,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC,CAAC;IACnD,YAAY,EAAE,SAAS,MAAM,EAAE,CAAC;IAEhC,OAAO,CAAC,EAAE,GAAG,CAAC;CACf,IA4DO,QAAQ,GAAG,SA0BpB;AAED,M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CAAC;CACxB,CAIA;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,UAAU,GAAG,KAAK,GAAG,MAAM,CAE1D;AAED,MAAM,WAAW,wBAAwB;IACvC,EAAE,EAAE,SAAS,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,wBAAwB,GAC7B,OAAO,CAAC;IAAE,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC,CAqChC"}
@@ -1,28 +1,6 @@
1
- /**
2
- * materializeSources — make a RenderInput's REMOTE assets fast-seekable / locally
3
- * reachable for a renderer in a no-egress-to-R2 sandbox or any harness
4
- * that streams from URLs. Remotion's OffthreadVideo range-reads, so a deep seek
5
- * into a large remote source walks keyframes per frame and times out; and a
6
- * historical Daytona free-tier sandbox could not reach R2 at all (that lane is
7
- * gone; Modal keeps this for the faststart/206 guarantees). This stages EVERY external
8
- * ref the RenderInput carries (enumerated once by renderInputAssets) onto a
9
- * local loopback server, then asserts none stayed remote:
10
- *
11
- * • source (clips[].src) — TRIM to the clip window with `ffmpeg -c copy`
12
- * (extractSegments) so the seek is shallow; the source is the multi-GB raw.
13
- * • matte / trajectory / audio / overlay assets — DOWNLOAD whole (small, and
14
- * the matte's frame-packed timeline must not be re-timed) and serve locally.
15
- *
16
- * It is a NO-OP when nothing is remote (a backend that pre-materialises to a
17
- * Volume, or already-local desktop sources). The single enumeration +
18
- * `assertNoRemoteRefs` guarantee a forgotten ref class becomes a loud failure,
19
- * not a sandbox that silently hangs fetching something it can't reach.
20
- */
21
1
  import type { RenderInput } from '../core/render/index.js';
22
2
  export interface MaterializeResult {
23
- /** The same RenderInput, with remote URLs rewritten to the loopback server. */
24
3
  renderInput: RenderInput;
25
- /** Stop the media server + clean up extracted segments. Call after rendering. */
26
4
  close: () => Promise<void>;
27
5
  }
28
6
  export declare function materializeSources(renderInput: RenderInput, workDir: string, log?: (m: string) => void): Promise<MaterializeResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"materializeSources.d.ts","sourceRoot":"","sources":["../src/materializeSources.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAkBH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,MAAM,WAAW,iBAAiB;IAChC,+EAA+E;IAC/E,WAAW,EAAE,WAAW,CAAC;IACzB,iFAAiF;IACjF,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5B;AAwCD,wBAAsB,kBAAkB,CACtC,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,MAAM,EACf,GAAG,GAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAe,GAClC,OAAO,CAAC,iBAAiB,CAAC,CAuJ5B"}
1
+ {"version":3,"file":"materializeSources.d.ts","sourceRoot":"","sources":["../src/materializeSources.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAC5B;AA6BD,wBAAsB,kBAAkB,CACtC,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,MAAM,EACf,GAAG,GAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAe,GAClC,OAAO,CAAC,iBAAiB,CAAC,CAkH5B"}
@@ -1,22 +1,6 @@
1
- /**
2
- * Local HTTP server with range request support.
3
- * Serves files from a directory — Remotion needs HTTP URLs with range
4
- * support for OffthreadVideo frame seeking.
5
- *
6
- * Private cloud render-harness module (no desktop/OSS consumers).
7
- */
8
1
  export interface MediaServer {
9
- /** Base URL, e.g., http://localhost:PORT */
10
2
  baseUrl: string;
11
- /** Stop the server and free the port */
12
3
  close: () => void;
13
4
  }
14
- /**
15
- * Start a local HTTP server serving files from a directory.
16
- * Supports range requests (required for Remotion OffthreadVideo).
17
- *
18
- * @param directory - directory to serve files from
19
- * @returns server with baseUrl and close function
20
- */
21
5
  export declare function startMediaServer(directory: string): MediaServer;
22
6
  //# sourceMappingURL=mediaServer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mediaServer.d.ts","sourceRoot":"","sources":["../src/mediaServer.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,WAAW,WAAW;IAC1B,4CAA4C;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,wCAAwC;IACxC,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAsBD;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,CAuD/D"}
1
+ {"version":3,"file":"mediaServer.d.ts","sourceRoot":"","sources":["../src/mediaServer.ts"],"names":[],"mappings":"AAKA,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAsBD,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,CAsD/D"}
@@ -1,63 +1,18 @@
1
- /**
2
- * renderInputAssets — the single reader over a RenderInput's EXTERNAL asset
3
- * references. This is the one place that knows "what files does a render
4
- * environment depend on," so the resolve side (director, presign/mirror) and
5
- * the localize side (sandbox `materializeSources`) can't drift apart — the bug
6
- * that let the eval capture silently render without co-view mattes / crop
7
- * trajectories.
8
- *
9
- * The RenderInput IS the manifest: every external dependency already lives on
10
- * it as a URL field. This module just enumerates those fields by role, so a new
11
- * ref class is added in exactly ONE place (the slot walker below) and every
12
- * consumer — staging + the no-remote-ref invariant — picks it up automatically.
13
- *
14
- * Roles (every remote URL a RenderInput can carry):
15
- * source clips[].src scene + b-roll video/audio/image
16
- * matte clips[].packedUrl frame-packed co-view (captions-behind-speaker)
17
- * trajectory clips[].cropTrajectoryUrl per-frame crop JSON
18
- * audio audioTracks[].src music / ambient beds
19
- * overlayAsset overlays[].params.src image / gif / lottie overlay media
20
- *
21
- * OSS + RenderInput-side on purpose: `materializeSources` (which runs INSIDE the
22
- * render sandbox with no creds) imports this. The director-side resolver that
23
- * needs R2/S3 creds lives privately (lib/render-env) and never imports back.
24
- */
25
1
  import type { RenderInput } from '../core/render/index.js';
26
2
  export type AssetRole = 'source' | 'matte' | 'trajectory' | 'audio' | 'overlayAsset' | 'font' | 'brandMedia';
27
3
  export interface AssetRef {
28
4
  role: AssetRole;
29
- /** The (remote) URL the RenderInput currently points at. */
30
5
  url: string;
31
- /** Deterministic, collision-free local filename to stage this ref under. */
32
6
  filename: string;
33
7
  }
34
- /** A remote URL is http(s) and not already the local loopback media server. */
35
8
  export declare function isRemoteUrl(u: unknown): u is string;
36
- /** Identity of a URL ignoring the (volatile) query string — presign/mirror tokens. */
37
9
  export declare function assetUrlKey(url: string): string;
38
- /**
39
- * A single mutable accessor onto one external-ref field of a RenderInput.
40
- * The ONE definition of every external-ref location — read AND write — so
41
- * enumeration, the invariant, and the rewrite all walk the identical set.
42
- */
43
10
  export interface AssetSlot {
44
11
  role: AssetRole;
45
12
  get(): string | undefined;
46
13
  set(url: string): void;
47
14
  }
48
- /** Yield a slot for every external-ref-bearing field on the RenderInput. */
49
15
  export declare function assetSlots(input: RenderInput): Generator<AssetSlot>;
50
- /**
51
- * Every UNIQUE remote asset the RenderInput references, deduped by URL (the same
52
- * source can back many clips). This is what a stager localizes — fetch each
53
- * once, then rewrite all slots pointing at it (see `assetSlots`).
54
- */
55
16
  export declare function renderInputAssets(input: RenderInput): AssetRef[];
56
- /**
57
- * Post-staging guard: throw if ANY external ref still points at a remote URL.
58
- * Makes a forgotten ref class a loud failure instead of a sandbox that silently
59
- * hangs fetching something it can't reach (e.g. R2 from a free-tier
60
- * sandbox). Call after a stager rewrites every ref to the local loopback.
61
- */
62
17
  export declare function assertNoRemoteRefs(input: RenderInput): void;
63
18
  //# sourceMappingURL=renderInputAssets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"renderInputAssets.d.ts","sourceRoot":"","sources":["../src/renderInputAssets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,MAAM,MAAM,SAAS,GACjB,QAAQ,GACR,OAAO,GACP,YAAY,GACZ,OAAO,GACP,cAAc,GACd,MAAM,GACN,YAAY,CAAC;AAEjB,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,SAAS,CAAC;IAChB,4DAA4D;IAC5D,GAAG,EAAE,MAAM,CAAC;IACZ,4EAA4E;IAC5E,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,+EAA+E;AAC/E,wBAAgB,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,MAAM,CAMnD;AAED,sFAAsF;AACtF,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED;;;;GAIG;AACH,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,SAAS,CAAC;IAChB,GAAG,IAAI,MAAM,GAAG,SAAS,CAAC;IAC1B,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,4EAA4E;AAC5E,wBAAiB,UAAU,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,CAAC,SAAS,CAAC,CAgDpE;AAuBD;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,QAAQ,EAAE,CAYhE;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,CAa3D"}
1
+ {"version":3,"file":"renderInputAssets.d.ts","sourceRoot":"","sources":["../src/renderInputAssets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,MAAM,MAAM,SAAS,GACjB,QAAQ,GACR,OAAO,GACP,YAAY,GACZ,OAAO,GACP,cAAc,GACd,MAAM,GACN,YAAY,CAAC;AAEjB,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,SAAS,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,CAAC,IAAI,MAAM,CAMnD;AAED,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,SAAS,CAAC;IAChB,GAAG,IAAI,MAAM,GAAG,SAAS,CAAC;IAC1B,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAED,wBAAiB,UAAU,CAAC,KAAK,EAAE,WAAW,GAAG,SAAS,CAAC,SAAS,CAAC,CAqCpE;AAsBD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,QAAQ,EAAE,CAYhE;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,WAAW,GAAG,IAAI,CAa3D"}
@@ -1,33 +1,9 @@
1
- /**
2
- * Scan RenderInput for remote asset URLs, download them locally,
3
- * and return a URL mapping table for replacement.
4
- *
5
- * Handles: overlay images, GIFs, Lottie JSON, audio tracks,
6
- * brand kit assets (logos, fonts, intro/outro videos).
7
- *
8
- * Private cloud render-harness module — used only by materializeSources for the
9
- * Modal render sandbox (no desktop/OSS consumers).
10
- */
11
1
  import type { RenderInput } from '../core/render/index.js';
12
2
  export interface AssetMap {
13
- /** Original URL → local HTTP URL */
14
3
  urlMap: Record<string, string>;
15
- /** Number of assets downloaded */
16
4
  count: number;
17
5
  }
18
6
  type DownloadFn = (url: string, destPath: string) => Promise<void>;
19
- /**
20
- * Scan a RenderInput for all remote asset URLs, download each to tempDir,
21
- * and return a mapping from original URL → local media server URL.
22
- *
23
- * The caller should replace all URLs in the RenderInput using the map
24
- * before passing to render.mjs.
25
- *
26
- * @param renderInput - the composition to scan
27
- * @param tempDir - directory to download assets into
28
- * @param mediaServerUrl - base URL of the local media server
29
- * @param download - function to download a URL to a local path
30
- */
31
7
  export declare function resolveAssets(renderInput: RenderInput, tempDir: string, mediaServerUrl: string, download: DownloadFn): Promise<AssetMap>;
32
8
  export {};
33
9
  //# sourceMappingURL=resolveAssets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolveAssets.d.ts","sourceRoot":"","sources":["../src/resolveAssets.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAKH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGzD,MAAM,WAAW,QAAQ;IACvB,oCAAoC;IACpC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAC;CACf;AAED,KAAK,UAAU,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAEnE;;;;;;;;;;;GAWG;AACH,wBAAsB,aAAa,CACjC,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,QAAQ,EAAE,UAAU,GACnB,OAAO,CAAC,QAAQ,CAAC,CAyDnB"}
1
+ {"version":3,"file":"resolveAssets.d.ts","sourceRoot":"","sources":["../src/resolveAssets.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGzD,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,KAAK,UAAU,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAEnE,wBAAsB,aAAa,CACjC,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,MAAM,EACf,cAAc,EAAE,MAAM,EACtB,QAAQ,EAAE,UAAU,GACnB,OAAO,CAAC,QAAQ,CAAC,CAsDnB"}
@@ -1,23 +1,9 @@
1
- /** Sentinel: the export lives in `sandbox-globals.ts` itself (the wrappers). */
2
1
  export declare const GLOBALS_MODULE = "@@sandbox-globals@@";
3
- /** One global endowment's resolution spec: which module + which export. */
4
2
  export interface SandboxGlobalSpec {
5
- /** Module specifier to resolve the value from (or GLOBALS_MODULE sentinel). */
6
3
  readonly module: string;
7
- /** Export name to pull; `'default'` = the module's default export. */
8
4
  readonly exportName: string;
9
5
  }
10
- /**
11
- * name -> resolution spec for every Remotion sandbox global EXCEPT:
12
- * - `console` (desktop-sandbox-only; the box keeps real Node console), and
13
- * - the `@cueframe/animate` `sandboxScope` keys, which are DYNAMIC (a full set
14
- * on the desktop / pro build, empty on the OSS/box stub). Those are spread from
15
- * the resolved `@cueframe/animate` module at build time by each consumer, so
16
- * they can't be a static list here. `ANIMATE_MODULE` records the source.
17
- */
18
6
  export declare const SANDBOX_GLOBAL_SPECS: Readonly<Record<string, SandboxGlobalSpec>>;
19
- /** Module the `@cueframe/animate` `sandboxScope` keys are spread from. */
20
7
  export declare const ANIMATE_MODULE = "@cueframe/animate";
21
- /** The static endowment names (everything except console + the animate spread). */
22
8
  export declare const SANDBOX_GLOBAL_NAMES: readonly string[];
23
9
  //# sourceMappingURL=sandboxGlobalSpecs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sandboxGlobalSpecs.d.ts","sourceRoot":"","sources":["../src/sandboxGlobalSpecs.ts"],"names":[],"mappings":"AAuCA,gFAAgF;AAChF,eAAO,MAAM,cAAc,wBAAwB,CAAC;AAEpD,2EAA2E;AAC3E,MAAM,WAAW,iBAAiB;IAChC,+EAA+E;IAC/E,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,sEAAsE;IACtE,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAmE5E,CAAC;AAEF,0EAA0E;AAC1E,eAAO,MAAM,cAAc,sBAAsB,CAAC;AAElD,mFAAmF;AACnF,eAAO,MAAM,oBAAoB,EAAE,SAAS,MAAM,EAAsC,CAAC"}
1
+ {"version":3,"file":"sandboxGlobalSpecs.d.ts","sourceRoot":"","sources":["../src/sandboxGlobalSpecs.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,cAAc,wBAAwB,CAAC;AAEpD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B;AAED,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAwD5E,CAAC;AAEF,eAAO,MAAM,cAAc,sBAAsB,CAAC;AAElD,eAAO,MAAM,oBAAoB,EAAE,SAAS,MAAM,EAAsC,CAAC"}
@@ -9,7 +9,7 @@ import {
9
9
  UploadTokenScope,
10
10
  UserSettings,
11
11
  WorkingComposition
12
- } from "../chunk-6EQXLEP6.js";
12
+ } from "../chunk-IEXAKOEX.js";
13
13
  import "../chunk-XELS2BGA.js";
14
14
  import "../chunk-2ESYSVXG.js";
15
15
  export {
@@ -9,7 +9,7 @@ import {
9
9
  UploadTokenScope,
10
10
  UserSettings,
11
11
  WorkingComposition
12
- } from "./chunk-6EQXLEP6.js";
12
+ } from "./chunk-IEXAKOEX.js";
13
13
  import "./chunk-XELS2BGA.js";
14
14
  import "./chunk-2ESYSVXG.js";
15
15
  export {
package/dist/animate.js CHANGED
@@ -183,7 +183,6 @@ var Write = ({
183
183
  display: "inline-block",
184
184
  opacity: progress,
185
185
  transform: `translateY(${yOffset}px)`,
186
- // Preserve whitespace width
187
186
  minWidth: char === " " ? "0.25em" : void 0
188
187
  }
189
188
  },
@@ -891,37 +890,28 @@ import {
891
890
 
892
891
  // ../execution/animate/src/index.ts
893
892
  var sandboxScope = {
894
- // Easing
895
893
  smooth,
896
894
  smootherstep,
897
895
  rushInto,
898
896
  rushFrom,
899
- // Phase 1: Core Animations
900
897
  Create,
901
898
  GrowFromCenter,
902
899
  FadeIn,
903
- // Phase 2: Animations
904
900
  Write,
905
901
  Indicate,
906
902
  Wiggle,
907
- // Phase 2: Composition
908
903
  LaggedStart,
909
904
  AnimationGroup,
910
905
  Succession,
911
- // Phase 3: Animations
912
906
  Transform,
913
907
  MoveAlongPath,
914
908
  GrowArrow,
915
- // Phase 3: Mobjects
916
909
  Arrow,
917
910
  makeArrowPath,
918
911
  BrandBox,
919
- // Phase 5: Graph
920
912
  Graph,
921
913
  DiGraph,
922
- // Phase 4: Three.js
923
914
  ThreeCanvas,
924
- // drei — Shapes
925
915
  Box,
926
916
  Sphere,
927
917
  Cylinder,
@@ -938,10 +928,8 @@ var sandboxScope = {
938
928
  Extrude,
939
929
  Lathe,
940
930
  Tube,
941
- // drei — Text
942
931
  Text,
943
932
  Text3D,
944
- // drei — Staging & Lighting
945
933
  Float,
946
934
  Environment,
947
935
  ContactShadows,
@@ -953,11 +941,9 @@ var sandboxScope = {
953
941
  Stars,
954
942
  Sparkles,
955
943
  Cloud,
956
- // drei — Lines & Curves
957
944
  QuadraticBezierLine,
958
945
  CubicBezierLine,
959
946
  CatmullRomLine,
960
- // drei — Materials & Effects
961
947
  MeshDistortMaterial,
962
948
  MeshWobbleMaterial,
963
949
  MeshReflectorMaterial,
@@ -966,7 +952,6 @@ var sandboxScope = {
966
952
  Outlines,
967
953
  GradientTexture,
968
954
  RoundedBox,
969
- // drei — Helpers
970
955
  Billboard,
971
956
  Html,
972
957
  PivotControls,
@@ -4,17 +4,17 @@ import {
4
4
  buildPlannerTools,
5
5
  buildToolsFromSchemas,
6
6
  extractProviderError
7
- } from "../chunk-UHGSZZDI.js";
8
- import "../chunk-PDYO3DOJ.js";
7
+ } from "../chunk-TPA6PYN2.js";
8
+ import "../chunk-BZZTVOGG.js";
9
9
  import "../chunk-JOURGVOR.js";
10
- import "../chunk-7FO3ZJ43.js";
11
- import "../chunk-ZWMV6DD2.js";
10
+ import "../chunk-DCVJWGIA.js";
11
+ import "../chunk-ICSZF37W.js";
12
12
  import "../chunk-7PA7FGLD.js";
13
13
  import "../chunk-KYRDKK2D.js";
14
- import "../chunk-TOJEXFXL.js";
15
- import "../chunk-PODIYN2K.js";
16
- import "../chunk-W35ZMOXB.js";
17
- import "../chunk-EA6MYCYW.js";
14
+ import "../chunk-TFGKUWHY.js";
15
+ import "../chunk-WZH57M53.js";
16
+ import "../chunk-WPZKOVYF.js";
17
+ import "../chunk-2B5VJZHL.js";
18
18
  import "../chunk-WREYUH2E.js";
19
19
  import "../chunk-2ESYSVXG.js";
20
20
  export {
@@ -2,46 +2,26 @@ import "../chunk-2ESYSVXG.js";
2
2
 
3
3
  // ../authoring/src/composer/scopes.ts
4
4
  var EDITOR_TOOLS = [
5
- // Orientation — ONE read for composition + media pool + transcript + brand.
6
- // Call it before get_composition/get_media_context, which stay for the
7
- // per-item follow-ups.
8
5
  "get_context",
9
- // Composition read/write — the same ops the /v1 routes serve (etag,
10
- // webhooks, authorKind inherited automatically).
11
6
  "get_composition",
12
7
  "apply_composition",
13
8
  "validate_composition",
14
9
  "new_composition",
15
- // Media + perception context
16
10
  "list_media",
17
11
  "get_media_context",
18
12
  "import_media",
19
- // Footage intelligence — find moments by what they LOOK like (search_library,
20
- // CLIP over the org's own frames) or by what is SAID (analyze_transcript, a
21
- // metered LLM read whose spans are ~15s-grain and must be refined against
22
- // word timings before they become a cut).
23
13
  "search_library",
24
14
  "analyze_transcript",
25
- // Discovery
26
15
  "list_catalog",
27
16
  "search_fonts",
28
17
  "search_resources",
29
18
  "import_resource",
30
- // Custom graphics — author/fork motion components. preview_component is
31
- // deliberately EXCLUDED: buildCuratedToolSet serves its INTERNAL in-loop
32
- // variant first (session-box scoped), which a sessionless chat agent can't
33
- // drive; the agent sees placed graphics through preview_frame instead.
34
19
  "create_component",
35
20
  "get_component_source",
36
- // Sight + judgment + output. score_composition and create_render both ENQUEUE
37
- // and return a receipt, so wait_job rides with them — without it the agent
38
- // gets a jobId it can never resolve and the verdict evaporates (adapter.ts
39
- // documents the prod run that scored into the void exactly that way).
40
21
  "preview_frame",
41
22
  "score_composition",
42
23
  "create_render",
43
24
  "wait_job",
44
- // Generation
45
25
  "generate_media"
46
26
  ];
47
27
  function editorScope(projectId) {