@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,31 +1,5 @@
1
- /**
2
- * Graphics-plan IR — the structure-first authoring contract (plan
3
- * 2026-07-07-structure-first-graphics-pipeline). Instead of the designer
4
- * authoring Remotion JSX blind, it produces these three inspectable,
5
- * versioned artifacts; a compiler turns them into brand-bound, animatable
6
- * Remotion. The SAME schema is the client-agent CHECKPOINT payload AND the
7
- * compiler input — no translation layer to drift.
8
- *
9
- * Split by concern so each stage boundary is a review/edit point:
10
- * ContentPlan — WHAT to say (editorial, text-owned; never pixels).
11
- * LayoutPlan — WHERE it sits (spatial structure, content-aware: element
12
- * boxes are solved CLEAR of the face keep-outs the
13
- * composition-floor already computes → text-over-face is
14
- * impossible by construction, not by prompt).
15
- * MotionPlan — HOW it animates (entrance / emphasis / exit intent).
16
- *
17
- * `styleRole` binds to brand tokens (never a raw hex/font) so off-brand
18
- * output is impossible; the compiler resolves it via the same `$brand:`
19
- * mechanism as packages/authoring/src/tools/brandTokens.ts.
20
- */
21
1
  import { z } from "zod";
22
- /** Bump when a field's meaning changes; the compiler + checkpoint clients
23
- * branch on it. Kept a literal so an old client sees a hard mismatch, not a
24
- * silent misread. */
25
2
  export declare const GRAPHICS_PLAN_VERSION = "gp-1";
26
- /** A rect in output-frame fractions [0,1] — the SAME placement vocabulary as
27
- * the composition-floor `Rect` and the wire `Region` (reused so a plan box and
28
- * a rendered layer can never disagree about coordinates). */
29
3
  export declare const PlanRect: z.ZodObject<{
30
4
  x: z.ZodNumber;
31
5
  y: z.ZodNumber;
@@ -43,58 +17,14 @@ export declare const PlanRect: z.ZodObject<{
43
17
  h: number;
44
18
  }>;
45
19
  export type PlanRect = z.infer<typeof PlanRect>;
46
- /**
47
- * What the beat must COMMUNICATE. An EDITORIAL vocabulary — deliberately not a list of
48
- * primitive names.
49
- *
50
- * The first six are named after primitive families, and that was the bug: the DESIGNER's
51
- * decision (which component draws this) had leaked into the PLANNER's schema. It meant the
52
- * vocabulary could only grow by adding primitive names, so it could never keep up with the
53
- * catalog — and on 2026-07-13 a brief demanding a chain-trace, comparison bars and a
54
- * three-item build got exactly ONE lower-third, because a lower-third was close to the most
55
- * the planner was ABLE to say. It was not being lazy. It had no word for what the brief wanted.
56
- *
57
- * The last three are the fix, and they name a JOB, not a picture:
58
- * the planner says "this beat must show a sequence"; the DESIGNER decides whether that is
59
- * `reasoning-trace`, `tool-call-stack`, or something it writes itself.
60
- *
61
- * Closed on purpose (the critics and the layout solver switch on it) — but closed around
62
- * editorial intent, which is a small and stable set, instead of around a 103-component catalog,
63
- * which is neither.
64
- */
65
20
  export declare const GraphicRole: z.ZodEnum<["title-card", "stat", "lower-third", "pull-quote", "hero", "logo-tag", "enumeration", "sequence", "comparison"]>;
66
21
  export type GraphicRole = z.infer<typeof GraphicRole>;
67
- /**
68
- * The words for a beat — ALWAYS plan-owned (a text-to-image model can't spell; the Remotion code
69
- * renders these crisply). All optional; a role uses the subset it needs
70
- * (stat → value+label; title-card → headline+sub; enumeration/sequence → items; comparison → series).
71
- *
72
- * `items` and `series` exist because the plan OWNS the words, and a role it cannot supply the
73
- * words for is a role it cannot actually request. Four scalars could not carry a list or a
74
- * labelled series, so even a widened role vocabulary would have had nowhere to put its content —
75
- * the second half of the same 2026-07-13 bug, and the one that would have silently defeated the
76
- * fix for the first half.
77
- */
78
22
  export declare const Copy: z.ZodObject<{
79
23
  headline: z.ZodOptional<z.ZodString>;
80
24
  sub: z.ZodOptional<z.ZodString>;
81
25
  value: z.ZodOptional<z.ZodString>;
82
26
  label: z.ZodOptional<z.ZodString>;
83
- /** Ordered short items — an `enumeration`'s bullets, a `sequence`'s steps. */
84
27
  items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
85
- /**
86
- * Labelled values for a `comparison`.
87
- *
88
- * `value` is a STRING, deliberately — not `number | string`. The plan owns the words, and a
89
- * comparison's words include their units: a planner writes "10 min", "98%", "$4.2M", never
90
- * 600. A number would have to be re-unitised downstream by someone who doesn't know what it
91
- * meant.
92
- *
93
- * It is also a hard constraint: `submit_compose_plan` is a STRICT Anthropic tool
94
- * (`strict: true`, schemas.ts), and a `z.union` here becomes an `anyOf` in the tool schema.
95
- * That is what stalled the planner on 2026-07-13 — it ran, could not satisfy the schema, and
96
- * never called the tool at all. Keep every field in this schema a single concrete type.
97
- */
98
28
  series: z.ZodOptional<z.ZodArray<z.ZodObject<{
99
29
  label: z.ZodString;
100
30
  value: z.ZodString;
@@ -129,7 +59,6 @@ export declare const Copy: z.ZodObject<{
129
59
  export type Copy = z.infer<typeof Copy>;
130
60
  export declare const ContentBeat: z.ZodObject<{
131
61
  id: z.ZodString;
132
- /** Clip-relative seconds. */
133
62
  atSec: z.ZodNumber;
134
63
  durSec: z.ZodNumber;
135
64
  role: z.ZodEnum<["title-card", "stat", "lower-third", "pull-quote", "hero", "logo-tag", "enumeration", "sequence", "comparison"]>;
@@ -138,21 +67,7 @@ export declare const ContentBeat: z.ZodObject<{
138
67
  sub: z.ZodOptional<z.ZodString>;
139
68
  value: z.ZodOptional<z.ZodString>;
140
69
  label: z.ZodOptional<z.ZodString>;
141
- /** Ordered short items — an `enumeration`'s bullets, a `sequence`'s steps. */
142
70
  items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
143
- /**
144
- * Labelled values for a `comparison`.
145
- *
146
- * `value` is a STRING, deliberately — not `number | string`. The plan owns the words, and a
147
- * comparison's words include their units: a planner writes "10 min", "98%", "$4.2M", never
148
- * 600. A number would have to be re-unitised downstream by someone who doesn't know what it
149
- * meant.
150
- *
151
- * It is also a hard constraint: `submit_compose_plan` is a STRICT Anthropic tool
152
- * (`strict: true`, schemas.ts), and a `z.union` here becomes an `anyOf` in the tool schema.
153
- * That is what stalled the planner on 2026-07-13 — it ran, could not satisfy the schema, and
154
- * never called the tool at all. Keep every field in this schema a single concrete type.
155
- */
156
71
  series: z.ZodOptional<z.ZodArray<z.ZodObject<{
157
72
  label: z.ZodString;
158
73
  value: z.ZodString;
@@ -184,9 +99,7 @@ export declare const ContentBeat: z.ZodObject<{
184
99
  label: string;
185
100
  }[] | undefined;
186
101
  }>;
187
- /** Editorial WHY — the beat this graphic serves (for review + the judge). */
188
102
  intent: z.ZodString;
189
- /** Higher = more important; drives drop order under budget. */
190
103
  priority: z.ZodDefault<z.ZodNumber>;
191
104
  }, "strict", z.ZodTypeAny, {
192
105
  id: string;
@@ -230,7 +143,6 @@ export declare const ContentPlan: z.ZodObject<{
230
143
  version: z.ZodLiteral<"gp-1">;
231
144
  beats: z.ZodArray<z.ZodObject<{
232
145
  id: z.ZodString;
233
- /** Clip-relative seconds. */
234
146
  atSec: z.ZodNumber;
235
147
  durSec: z.ZodNumber;
236
148
  role: z.ZodEnum<["title-card", "stat", "lower-third", "pull-quote", "hero", "logo-tag", "enumeration", "sequence", "comparison"]>;
@@ -239,21 +151,7 @@ export declare const ContentPlan: z.ZodObject<{
239
151
  sub: z.ZodOptional<z.ZodString>;
240
152
  value: z.ZodOptional<z.ZodString>;
241
153
  label: z.ZodOptional<z.ZodString>;
242
- /** Ordered short items — an `enumeration`'s bullets, a `sequence`'s steps. */
243
154
  items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
244
- /**
245
- * Labelled values for a `comparison`.
246
- *
247
- * `value` is a STRING, deliberately — not `number | string`. The plan owns the words, and a
248
- * comparison's words include their units: a planner writes "10 min", "98%", "$4.2M", never
249
- * 600. A number would have to be re-unitised downstream by someone who doesn't know what it
250
- * meant.
251
- *
252
- * It is also a hard constraint: `submit_compose_plan` is a STRICT Anthropic tool
253
- * (`strict: true`, schemas.ts), and a `z.union` here becomes an `anyOf` in the tool schema.
254
- * That is what stalled the planner on 2026-07-13 — it ran, could not satisfy the schema, and
255
- * never called the tool at all. Keep every field in this schema a single concrete type.
256
- */
257
155
  series: z.ZodOptional<z.ZodArray<z.ZodObject<{
258
156
  label: z.ZodString;
259
157
  value: z.ZodString;
@@ -285,9 +183,7 @@ export declare const ContentPlan: z.ZodObject<{
285
183
  label: string;
286
184
  }[] | undefined;
287
185
  }>;
288
- /** Editorial WHY — the beat this graphic serves (for review + the judge). */
289
186
  intent: z.ZodString;
290
- /** Higher = more important; drives drop order under budget. */
291
187
  priority: z.ZodDefault<z.ZodNumber>;
292
188
  }, "strict", z.ZodTypeAny, {
293
189
  id: string;
@@ -370,24 +266,15 @@ export declare const ContentPlan: z.ZodObject<{
370
266
  }[];
371
267
  }>;
372
268
  export type ContentPlan = z.infer<typeof ContentPlan>;
373
- /** The role of ONE element within a graphic — maps to a primitive slot. */
374
269
  export declare const ElementRole: z.ZodEnum<["headline", "value", "label", "sublabel", "logo", "accent-shape", "backdrop"]>;
375
270
  export type ElementRole = z.infer<typeof ElementRole>;
376
- /** Semantic style binding → resolved to `$brand:` refs by the compiler; NEVER a
377
- * raw hex/font. This is the guarantee that on-brand is the only option.
378
- * Mapping (compiler): heading→fonts.heading+colors.text, accent→colors.accent,
379
- * body→fonts.body+colors.text, surface→colors.surface/background,
380
- * on-accent→colors.textOnAccent, on-surface→colors.textOnSurface. */
381
271
  export declare const StyleRole: z.ZodEnum<["heading", "body", "accent", "surface", "on-accent", "on-surface"]>;
382
272
  export type StyleRole = z.infer<typeof StyleRole>;
383
- /** Depth plane — matches OverlayClipSource.zPlane. `behind-subject` is the
384
- * intentional hero look (the subject cut-out bites the letters). */
385
273
  export declare const ZPlane: z.ZodEnum<["front", "behind-subject"]>;
386
274
  export type ZPlane = z.infer<typeof ZPlane>;
387
275
  export declare const LayoutElement: z.ZodObject<{
388
276
  elId: z.ZodString;
389
277
  role: z.ZodEnum<["headline", "value", "label", "sublabel", "logo", "accent-shape", "backdrop"]>;
390
- /** Solved CLEAR of `keepOut` (except intentional behind-subject heroes). */
391
278
  box: z.ZodObject<{
392
279
  x: z.ZodNumber;
393
280
  y: z.ZodNumber;
@@ -406,11 +293,7 @@ export declare const LayoutElement: z.ZodObject<{
406
293
  }>;
407
294
  styleRole: z.ZodEnum<["heading", "body", "accent", "surface", "on-accent", "on-surface"]>;
408
295
  z: z.ZodDefault<z.ZodEnum<["front", "behind-subject"]>>;
409
- /** The text this element renders (from the ContentPlan). Omitted for
410
- * logo / accent-shape / backdrop. */
411
296
  text: z.ZodOptional<z.ZodString>;
412
- /** Index into the editorial type scale (mirrors composition-floor
413
- * Treatment.typeScaleStep) — a SCALE STEP, not a raw px guess. */
414
297
  typeScaleStep: z.ZodOptional<z.ZodNumber>;
415
298
  }, "strict", z.ZodTypeAny, {
416
299
  role: "value" | "headline" | "label" | "sublabel" | "logo" | "accent-shape" | "backdrop";
@@ -443,7 +326,6 @@ export type LayoutElement = z.infer<typeof LayoutElement>;
443
326
  export declare const LayoutPlan: z.ZodEffects<z.ZodObject<{
444
327
  version: z.ZodLiteral<"gp-1">;
445
328
  beatId: z.ZodString;
446
- /** Output aspect context (pixels); placement itself is in [0,1] fractions. */
447
329
  frame: z.ZodObject<{
448
330
  w: z.ZodNumber;
449
331
  h: z.ZodNumber;
@@ -454,9 +336,6 @@ export declare const LayoutPlan: z.ZodEffects<z.ZodObject<{
454
336
  w: number;
455
337
  h: number;
456
338
  }>;
457
- /** INPUT (not authored): face keep-out rects at this beat, from the
458
- * composition-floor. The layout stage MUST place `front` elements clear of
459
- * these — carried on the plan so a reviewer/compiler can verify it. */
460
339
  keepOut: z.ZodArray<z.ZodObject<{
461
340
  x: z.ZodNumber;
462
341
  y: z.ZodNumber;
@@ -473,7 +352,6 @@ export declare const LayoutPlan: z.ZodEffects<z.ZodObject<{
473
352
  w: number;
474
353
  h: number;
475
354
  }>, "many">;
476
- /** INPUT: safe-zone insets (title-safe / action-safe fractions). */
477
355
  safe: z.ZodObject<{
478
356
  titleSafe: z.ZodNumber;
479
357
  actionSafe: z.ZodNumber;
@@ -487,7 +365,6 @@ export declare const LayoutPlan: z.ZodEffects<z.ZodObject<{
487
365
  elements: z.ZodArray<z.ZodObject<{
488
366
  elId: z.ZodString;
489
367
  role: z.ZodEnum<["headline", "value", "label", "sublabel", "logo", "accent-shape", "backdrop"]>;
490
- /** Solved CLEAR of `keepOut` (except intentional behind-subject heroes). */
491
368
  box: z.ZodObject<{
492
369
  x: z.ZodNumber;
493
370
  y: z.ZodNumber;
@@ -506,11 +383,7 @@ export declare const LayoutPlan: z.ZodEffects<z.ZodObject<{
506
383
  }>;
507
384
  styleRole: z.ZodEnum<["heading", "body", "accent", "surface", "on-accent", "on-surface"]>;
508
385
  z: z.ZodDefault<z.ZodEnum<["front", "behind-subject"]>>;
509
- /** The text this element renders (from the ContentPlan). Omitted for
510
- * logo / accent-shape / backdrop. */
511
386
  text: z.ZodOptional<z.ZodString>;
512
- /** Index into the editorial type scale (mirrors composition-floor
513
- * Treatment.typeScaleStep) — a SCALE STEP, not a raw px guess. */
514
387
  typeScaleStep: z.ZodOptional<z.ZodNumber>;
515
388
  }, "strict", z.ZodTypeAny, {
516
389
  role: "value" | "headline" | "label" | "sublabel" | "logo" | "accent-shape" | "backdrop";
@@ -539,10 +412,6 @@ export declare const LayoutPlan: z.ZodEffects<z.ZodObject<{
539
412
  z?: "front" | "behind-subject" | undefined;
540
413
  typeScaleStep?: number | undefined;
541
414
  }>, "many">;
542
- /** Set when the solver could NOT place a beat's graphic legally (e.g. the
543
- * face fills the legal area). Makes a drop OBSERVABLE — distinct from a
544
- * beat that legitimately had no copy (both yield elements:[]). The producer
545
- * can surface it; the compiler skips it. */
546
415
  dropped: z.ZodOptional<z.ZodObject<{
547
416
  reason: z.ZodString;
548
417
  }, "strict", z.ZodTypeAny, {
@@ -694,8 +563,6 @@ export declare const EmphasisType: z.ZodEnum<["pulse", "underline", "color-shift
694
563
  export type EmphasisType = z.infer<typeof EmphasisType>;
695
564
  export declare const ExitType: z.ZodEnum<["fade", "fall", "wipe", "cut"]>;
696
565
  export type ExitType = z.infer<typeof ExitType>;
697
- /** Ease vocabulary → compiler maps to real spring/interpolate. Named, not raw
698
- * bezier/ms, so the brand's motion pace stays a decision not a magic number. */
699
566
  export declare const Ease: z.ZodEnum<["spring", "ease-out", "ease-in-out", "linear"]>;
700
567
  export type Ease = z.infer<typeof Ease>;
701
568
  export declare const EnterMotion: z.ZodObject<{
@@ -703,7 +570,6 @@ export declare const EnterMotion: z.ZodObject<{
703
570
  atMs: z.ZodNumber;
704
571
  durMs: z.ZodNumber;
705
572
  ease: z.ZodDefault<z.ZodEnum<["spring", "ease-out", "ease-in-out", "linear"]>>;
706
- /** Per-child stagger (ms) for multi-part reveals. */
707
573
  stagger: z.ZodOptional<z.ZodNumber>;
708
574
  }, "strict", z.ZodTypeAny, {
709
575
  type: "fade" | "reveal" | "rise" | "count-up" | "wipe";
@@ -751,7 +617,6 @@ export declare const MotionElement: z.ZodObject<{
751
617
  atMs: z.ZodNumber;
752
618
  durMs: z.ZodNumber;
753
619
  ease: z.ZodDefault<z.ZodEnum<["spring", "ease-out", "ease-in-out", "linear"]>>;
754
- /** Per-child stagger (ms) for multi-part reveals. */
755
620
  stagger: z.ZodOptional<z.ZodNumber>;
756
621
  }, "strict", z.ZodTypeAny, {
757
622
  type: "fade" | "reveal" | "rise" | "count-up" | "wipe";
@@ -842,7 +707,6 @@ export declare const MotionPlan: z.ZodObject<{
842
707
  atMs: z.ZodNumber;
843
708
  durMs: z.ZodNumber;
844
709
  ease: z.ZodDefault<z.ZodEnum<["spring", "ease-out", "ease-in-out", "linear"]>>;
845
- /** Per-child stagger (ms) for multi-part reveals. */
846
710
  stagger: z.ZodOptional<z.ZodNumber>;
847
711
  }, "strict", z.ZodTypeAny, {
848
712
  type: "fade" | "reveal" | "rise" | "count-up" | "wipe";
@@ -970,16 +834,12 @@ export declare const MotionPlan: z.ZodObject<{
970
834
  }[];
971
835
  }>;
972
836
  export type MotionPlan = z.infer<typeof MotionPlan>;
973
- /** The full graphics plan for a compose run: one ContentPlan, and a
974
- * Layout+Motion pair per beat (keyed by beatId). This is the object a
975
- * checkpoint returns and the compiler consumes. */
976
837
  export declare const GraphicsPlan: z.ZodObject<{
977
838
  version: z.ZodLiteral<"gp-1">;
978
839
  content: z.ZodObject<{
979
840
  version: z.ZodLiteral<"gp-1">;
980
841
  beats: z.ZodArray<z.ZodObject<{
981
842
  id: z.ZodString;
982
- /** Clip-relative seconds. */
983
843
  atSec: z.ZodNumber;
984
844
  durSec: z.ZodNumber;
985
845
  role: z.ZodEnum<["title-card", "stat", "lower-third", "pull-quote", "hero", "logo-tag", "enumeration", "sequence", "comparison"]>;
@@ -988,21 +848,7 @@ export declare const GraphicsPlan: z.ZodObject<{
988
848
  sub: z.ZodOptional<z.ZodString>;
989
849
  value: z.ZodOptional<z.ZodString>;
990
850
  label: z.ZodOptional<z.ZodString>;
991
- /** Ordered short items — an `enumeration`'s bullets, a `sequence`'s steps. */
992
851
  items: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
993
- /**
994
- * Labelled values for a `comparison`.
995
- *
996
- * `value` is a STRING, deliberately — not `number | string`. The plan owns the words, and a
997
- * comparison's words include their units: a planner writes "10 min", "98%", "$4.2M", never
998
- * 600. A number would have to be re-unitised downstream by someone who doesn't know what it
999
- * meant.
1000
- *
1001
- * It is also a hard constraint: `submit_compose_plan` is a STRICT Anthropic tool
1002
- * (`strict: true`, schemas.ts), and a `z.union` here becomes an `anyOf` in the tool schema.
1003
- * That is what stalled the planner on 2026-07-13 — it ran, could not satisfy the schema, and
1004
- * never called the tool at all. Keep every field in this schema a single concrete type.
1005
- */
1006
852
  series: z.ZodOptional<z.ZodArray<z.ZodObject<{
1007
853
  label: z.ZodString;
1008
854
  value: z.ZodString;
@@ -1034,9 +880,7 @@ export declare const GraphicsPlan: z.ZodObject<{
1034
880
  label: string;
1035
881
  }[] | undefined;
1036
882
  }>;
1037
- /** Editorial WHY — the beat this graphic serves (for review + the judge). */
1038
883
  intent: z.ZodString;
1039
- /** Higher = more important; drives drop order under budget. */
1040
884
  priority: z.ZodDefault<z.ZodNumber>;
1041
885
  }, "strict", z.ZodTypeAny, {
1042
886
  id: string;
@@ -1121,7 +965,6 @@ export declare const GraphicsPlan: z.ZodObject<{
1121
965
  layouts: z.ZodArray<z.ZodEffects<z.ZodObject<{
1122
966
  version: z.ZodLiteral<"gp-1">;
1123
967
  beatId: z.ZodString;
1124
- /** Output aspect context (pixels); placement itself is in [0,1] fractions. */
1125
968
  frame: z.ZodObject<{
1126
969
  w: z.ZodNumber;
1127
970
  h: z.ZodNumber;
@@ -1132,9 +975,6 @@ export declare const GraphicsPlan: z.ZodObject<{
1132
975
  w: number;
1133
976
  h: number;
1134
977
  }>;
1135
- /** INPUT (not authored): face keep-out rects at this beat, from the
1136
- * composition-floor. The layout stage MUST place `front` elements clear of
1137
- * these — carried on the plan so a reviewer/compiler can verify it. */
1138
978
  keepOut: z.ZodArray<z.ZodObject<{
1139
979
  x: z.ZodNumber;
1140
980
  y: z.ZodNumber;
@@ -1151,7 +991,6 @@ export declare const GraphicsPlan: z.ZodObject<{
1151
991
  w: number;
1152
992
  h: number;
1153
993
  }>, "many">;
1154
- /** INPUT: safe-zone insets (title-safe / action-safe fractions). */
1155
994
  safe: z.ZodObject<{
1156
995
  titleSafe: z.ZodNumber;
1157
996
  actionSafe: z.ZodNumber;
@@ -1165,7 +1004,6 @@ export declare const GraphicsPlan: z.ZodObject<{
1165
1004
  elements: z.ZodArray<z.ZodObject<{
1166
1005
  elId: z.ZodString;
1167
1006
  role: z.ZodEnum<["headline", "value", "label", "sublabel", "logo", "accent-shape", "backdrop"]>;
1168
- /** Solved CLEAR of `keepOut` (except intentional behind-subject heroes). */
1169
1007
  box: z.ZodObject<{
1170
1008
  x: z.ZodNumber;
1171
1009
  y: z.ZodNumber;
@@ -1184,11 +1022,7 @@ export declare const GraphicsPlan: z.ZodObject<{
1184
1022
  }>;
1185
1023
  styleRole: z.ZodEnum<["heading", "body", "accent", "surface", "on-accent", "on-surface"]>;
1186
1024
  z: z.ZodDefault<z.ZodEnum<["front", "behind-subject"]>>;
1187
- /** The text this element renders (from the ContentPlan). Omitted for
1188
- * logo / accent-shape / backdrop. */
1189
1025
  text: z.ZodOptional<z.ZodString>;
1190
- /** Index into the editorial type scale (mirrors composition-floor
1191
- * Treatment.typeScaleStep) — a SCALE STEP, not a raw px guess. */
1192
1026
  typeScaleStep: z.ZodOptional<z.ZodNumber>;
1193
1027
  }, "strict", z.ZodTypeAny, {
1194
1028
  role: "value" | "headline" | "label" | "sublabel" | "logo" | "accent-shape" | "backdrop";
@@ -1217,10 +1051,6 @@ export declare const GraphicsPlan: z.ZodObject<{
1217
1051
  z?: "front" | "behind-subject" | undefined;
1218
1052
  typeScaleStep?: number | undefined;
1219
1053
  }>, "many">;
1220
- /** Set when the solver could NOT place a beat's graphic legally (e.g. the
1221
- * face fills the legal area). Makes a drop OBSERVABLE — distinct from a
1222
- * beat that legitimately had no copy (both yield elements:[]). The producer
1223
- * can surface it; the compiler skips it. */
1224
1054
  dropped: z.ZodOptional<z.ZodObject<{
1225
1055
  reason: z.ZodString;
1226
1056
  }, "strict", z.ZodTypeAny, {
@@ -1375,7 +1205,6 @@ export declare const GraphicsPlan: z.ZodObject<{
1375
1205
  atMs: z.ZodNumber;
1376
1206
  durMs: z.ZodNumber;
1377
1207
  ease: z.ZodDefault<z.ZodEnum<["spring", "ease-out", "ease-in-out", "linear"]>>;
1378
- /** Per-child stagger (ms) for multi-part reveals. */
1379
1208
  stagger: z.ZodOptional<z.ZodNumber>;
1380
1209
  }, "strict", z.ZodTypeAny, {
1381
1210
  type: "fade" | "reveal" | "rise" | "count-up" | "wipe";
@@ -1,15 +1,3 @@
1
- /**
2
- * Layout stage (P1): ContentBeat → LayoutPlan. Deterministic placement that is
3
- * content-aware BY CONSTRUCTION — every front element is solved clear of the
4
- * composition-floor face keep-outs (reusing `placeInLegalArea`), so text can
5
- * never land on the speaker. This is the "solver snaps to legal" half of the
6
- * hybrid layout stage; P4 lets an agent PROPOSE boxes that this validates/snaps.
7
- *
8
- * A per-role TEMPLATE decomposes each graphic into ordered element slots; the
9
- * solver finds one legal vertical band for the whole stack and lays the slots
10
- * out within it. styleRole (→ brand token) and typeScaleStep (→ type scale) are
11
- * assigned per slot, so nothing off-brand or raw-px is emitted.
12
- */
13
1
  import { type Rect } from "../projection/composition-floor.js";
14
2
  import { type ContentBeat, type LayoutPlan } from "./schemas.js";
15
3
  export interface LayoutContext {
@@ -17,18 +5,11 @@ export interface LayoutContext {
17
5
  w: number;
18
6
  h: number;
19
7
  };
20
- /** Face keep-out rects at this beat (from the composition-floor). */
21
8
  keepOut: Rect[];
22
9
  safe: {
23
10
  titleSafe: number;
24
11
  actionSafe: number;
25
12
  };
26
13
  }
27
- /**
28
- * Solve one beat's layout. Front stacks land in a legal band clear of the face;
29
- * behind-subject heroes intentionally ignore the keep-out (the subject occludes
30
- * them). An opener with no detected face centers vertically.
31
- */
32
14
  export declare function solveLayout(beat: ContentBeat, ctx: LayoutContext): LayoutPlan;
33
- /** True iff two rects overlap (used by tests + the P4 agent-proposal validator). */
34
15
  export declare function rectsOverlap(a: Rect, b: Rect): boolean;
@@ -1,65 +1,6 @@
1
- /**
2
- * CLIP↔TRACK PLACEMENT — the DB-free half of the rule, in the KERNEL so both
3
- * lanes can run ONE implementation.
4
- *
5
- * THE GAP THIS NARROWS. `applyHandler`'s dry-run advertises itself as partial
6
- * (`LOCAL_VALIDATION_PARTIAL`): the server also runs `the backend
7
- * composition/` projection guards that the desktop cannot import, so a local
8
- * `valid: true` is not a promise the cloud would accept the same composition.
9
- * Two of those guards need nothing the desktop lacks, and their absence cost a
10
- * real project.
11
- *
12
- * WHAT WENT WRONG (2026-08-18, project "launch"). An agent wrote, and the local
13
- * lane accepted:
14
- *
15
- * video track start=0 duration=0 perfect-wave-…mp3
16
- * video track start=0 duration=0 perfect-wave-…mp3 (the same clip twice)
17
- * video track start=0 duration=0 mouse-click-…mp3
18
- *
19
- * Three zero-length clips stacked at 0, and MP3 AUDIO on a VIDEO track. The
20
- * composition's duration came out 0:00.00 — nothing to play, nothing to fix
21
- * from the UI, and the project was effectively dead. The cloud refuses exactly
22
- * this (`media_family_track_mismatch`), but that check is DB-bound there: it
23
- * needs the media row's kind. The desktop has that kind ALREADY, in
24
- * `ProjectContextPayload.media[].kind` — so the reason it was not checked here
25
- * is that nobody wired it, not that it could not be known.
26
- *
27
- * WHY IT LIVES HERE AND NOT IN THE DESKTOP. The first cut of this WAS a
28
- * desktop-only copy — which is exactly the drift this repo spends real effort
29
- * avoiding (the lane-conformance table exists because a rule added to ONE lane
30
- * is a rule the other lane does not have). `applyHandler` already prescribed
31
- * the fix in prose: "closing the gap for real means hoisting those validators
32
- * into `@cueframe/composition`". So it is hoisted, not duplicated.
33
- *
34
- * STILL OUTSTANDING, said plainly so nobody assumes otherwise: the CLOUD keeps
35
- * its own implementation in `the server's composition projection`. This
36
- * is now the shared HOME, not yet the single CALLER. Pointing the cloud guard
37
- * at this function is the remaining step, and until it happens the two can
38
- * still drift.
39
- *
40
- * DELIBERATELY NARROW. Only two facts are asserted, and both are establishable
41
- * without a database — which is what makes them shareable at all:
42
- *
43
- * 1. A media clip whose media KIND is known and whose family plainly
44
- * contradicts the track it sits on.
45
- * 2. A clip with a non-positive duration.
46
- *
47
- * An UNKNOWN kind is not an error — the pool may not have probed the item yet,
48
- * and refusing on absence would block legitimate authoring against media that
49
- * is still ingesting. That is the same "absence is not evidence" rule the
50
- * transcript panel had to learn.
51
- */
52
1
  import type { Composition } from "../validators/composition.js";
53
2
  export interface ProjectionIssue {
54
3
  clipId: string;
55
4
  message: string;
56
5
  }
57
- /**
58
- * @param composition the FOLDED composition — checked on the result rather than
59
- * on the ops, so it cannot be walked around by the shape of the batch (the
60
- * same reasoning as the component gate beside it).
61
- * @param mediaKindById `mediaId -> kind`. The desktop passes
62
- * `getContext().media`; a server caller passes its media rows. A missing entry
63
- * means "not judged".
64
- */
65
6
  export declare function collectClipPlacementIssues(composition: Composition, mediaKindById: Record<string, string>): ProjectionIssue[];
@@ -1,9 +1,4 @@
1
1
  import type { Composition } from "../validators/composition.js";
2
2
  import type { InvariantViolation } from "./errors.js";
3
- /**
4
- * Run every structural invariant against a Composition.
5
- * Returns a flat list of violations; empty array = valid.
6
- */
7
3
  export declare function checkComposition(composition: Composition): InvariantViolation[];
8
- /** Convenience: duration = max(startTime + duration) across every Track's contents. */
9
4
  export declare function compositionDuration(composition: Composition): number;
@@ -1,10 +1,3 @@
1
1
  import type { Composition } from "../validators/composition.js";
2
- /**
3
- * Canonicalize an object for deterministic hashing:
4
- * - object keys sorted lexicographically at every depth
5
- * - arrays preserve order
6
- * - undefined fields dropped (JSON semantics)
7
- * - null / number / string / boolean preserved as-is
8
- */
9
2
  export declare function canonicalJSON(value: unknown): string;
10
3
  export declare function etag(composition: Composition): string;
@@ -1,9 +1,3 @@
1
1
  import type { Composition } from "../validators/composition.js";
2
2
  import type { InvariantViolation } from "./errors.js";
3
- /**
4
- * Entity ids share a single namespace within the Composition.
5
- * TimelineClip.id, Track.id, Gap.id, Marker.id must all be unique.
6
- *
7
- * composition_id_collision { existingKind, newKind, id }
8
- */
9
3
  export declare function checkIdCollisions(composition: Composition): InvariantViolation[];
@@ -1,22 +1,3 @@
1
- /**
2
- * KEYFRAME INVARIANTS — the producers for two error codes that had none.
3
- *
4
- * `varying_keyframe_time_out_of_range` and `varying_keyframe_duplicate_time`
5
- * have been in `errors.ts` since before the composition had any keyframe model
6
- * at all. A `grep` for either returned exactly one hit each: their own
7
- * declaration. Somebody knew what the failures would be before there was
8
- * anything that could fail. This file is the other half.
9
- *
10
- * Both rules exist because of what clip-relative time makes possible:
11
- *
12
- * OUT OF RANGE — a keyframe past the clip's duration is unreachable. It is
13
- * not harmless: trim a clip shorter and its tail keyframes silently stop
14
- * mattering, so the motion the author saw is not the motion that ships, with
15
- * nothing in the document looking wrong.
16
- *
17
- * DUPLICATE TIME — two values at one instant have no defined result. The
18
- * interpolator would pick by sort order, which is not a decision anyone made.
19
- */
20
1
  import type { Composition, TimelineClip } from "../validators/composition.js";
21
2
  import type { InvariantViolation } from "./errors.js";
22
3
  export declare function checkClipKeyframes(clip: TimelineClip): InvariantViolation[];
@@ -1,9 +1,3 @@
1
1
  import type { Composition } from "../validators/composition.js";
2
2
  import type { InvariantViolation } from "./errors.js";
3
- /**
4
- * Markers with `kind: 'scene'` cannot overlap (single-partition rule).
5
- * Other kinds (chapter, note, agent, custom) are free to overlap.
6
- *
7
- * scene_marker_overlap { markerAId, markerBId, overlapRange }
8
- */
9
3
  export declare function checkSceneMarkerPartition(composition: Composition): InvariantViolation[];
@@ -1,17 +1,9 @@
1
- /**
2
- * OTIO / native-renderer time quantization rule.
3
- * See data-model.md §OTIO time export rule and §Native renderer time quantization.
4
- */
5
1
  export declare function otioFrames(seconds: number, fps: number): number;
6
2
  export interface RationalTime {
7
3
  value: number;
8
4
  rate: number;
9
5
  }
10
6
  export declare function otioRationalTime(seconds: number, fps: number): RationalTime;
11
- /**
12
- * Per-output-frame source-frame mapping (renderer contract).
13
- * Matches the OTIO writer's quantization at the boundary.
14
- */
15
7
  export declare function sourceFrame(params: {
16
8
  outputFrame: number;
17
9
  formatFps: number;
@@ -1,58 +1,10 @@
1
1
  import type { TimelineClip, Track, Composition } from "../validators/composition.js";
2
2
  import type { InvariantViolation } from "./errors.js";
3
- /**
4
- * Clips and Gaps on a single Track cannot overlap.
5
- * track_clips_overlap { trackId, clipAId, clipBId, overlapRange }
6
- */
7
3
  export declare function checkTrackContentsNoOverlap(track: Track): InvariantViolation[];
8
- /**
9
- * A TimelineClip.source.kind must match Track.kind per the compatibility table.
10
- * clip_source_track_kind_mismatch { trackId, clipId, sourceKind, trackKind }
11
- */
12
4
  export declare function checkClipSourceTrackKind(track: Track): InvariantViolation[];
13
5
  export declare function isSourceKindCompatible(trackKind: Track["kind"], sourceKind: TimelineClip["source"]["kind"]): boolean;
14
- /**
15
- * A TimelineClip with transitionIn must have a contiguous TimelineClip predecessor on the
16
- * same Track (no Gap, not first element).
17
- *
18
- * transition_no_predecessor { trackId, clipId }
19
- * transition_too_long { trackId, clipId, transitionDuration, available }
20
- */
21
6
  export declare function checkTransitions(track: Track): InvariantViolation[];
22
- /**
23
- * For each TimelineClip with a media source carrying excludedRanges, verify:
24
- * - each range has end > start
25
- * - every range is within the source trim window (or [0, duration] when trim absent)
26
- * - ranges are sorted and non-overlapping
27
- * - clip.duration === (trimEnd - trimStart) - Σ excluded, within float tolerance (1e-3)
28
- *
29
- * Coordinate space: source coordinates (same as `trim`).
30
- *
31
- * excluded_range_invalid { trackId, clipId, index, start, end }
32
- * excluded_range_out_of_bounds { trackId, clipId, index, start, end, trimStart, trimEnd }
33
- * excluded_range_overlap { trackId, clipId, index, start, prevEnd }
34
- * excluded_range_duration_mismatch { trackId, clipId, expected, actual, trimSpan, totalExcluded }
35
- */
36
7
  export declare function checkExcludedRanges(track: Track): InvariantViolation[];
37
- /** Combined per-track invariants. */
38
- /**
39
- * A media clip's `duration` must equal its trimmed source span divided by its
40
- * playback rate — for clips that have NO excluded ranges.
41
- *
42
- * `checkExcludedRanges` computes exactly this relationship, but returns early on
43
- * `if (!ranges || ranges.length === 0) continue`, so it only ever runs for clips
44
- * that HAVE excluded ranges. A plainly-trimmed clip whose duration disagrees
45
- * with its trim is therefore unchecked. This closes that gap; the two together
46
- * cover every media clip.
47
- *
48
- * HONEST PROVENANCE: found while chasing a suspected corruption that turned out
49
- * not to be one. A project showed `duration 2.4` against `trim {0, 3.4}`, which
50
- * looked inconsistent until the clip's `excludedRanges` ([1.9, 2.9]) accounted
51
- * for exactly the difference. The composition was fine and the existing check
52
- * passed it correctly. No known production case violates THIS rule — it is here
53
- * because the coverage hole is real, not because a bug was seen through it.
54
- */
55
8
  export declare function checkClipDurationMatchesTrim(track: Track): InvariantViolation[];
56
9
  export declare function checkTrack(track: Track): InvariantViolation[];
57
- /** Combined per-composition invariants that live at the Track level. */
58
10
  export declare function checkTracks(composition: Composition): InvariantViolation[];