@automovie/render 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (681) hide show
  1. package/lib/IAutoMovieCaptionEntry.d.ts +1 -28
  2. package/lib/IAutoMovieCaptionSidecar.d.ts +1 -25
  3. package/lib/IAutoMovieCapturedFrame.d.ts +1 -22
  4. package/lib/IAutoMovieGuidePassOutput.d.ts +1 -23
  5. package/lib/IAutoMoviePoseKeypointActor.d.ts +1 -36
  6. package/lib/IAutoMoviePoseKeypointFrame.d.ts +1 -25
  7. package/lib/IAutoMoviePoseKeypointSidecar.d.ts +1 -21
  8. package/lib/IAutoMovieRenderAdapters.d.ts +1 -34
  9. package/lib/IAutoMovieRenderAndSeeRequest.d.ts +1 -32
  10. package/lib/IAutoMovieRenderAndSeeResult.d.ts +1 -20
  11. package/lib/IAutoMovieRenderChunk.d.ts +1 -48
  12. package/lib/IAutoMovieRenderChunkPlan.d.ts +1 -32
  13. package/lib/IAutoMovieRenderPassManifest.d.ts +1 -21
  14. package/lib/IAutoMovieRenderReassembly.d.ts +1 -24
  15. package/lib/IAutoMovieRenderResult.d.ts +1 -39
  16. package/lib/IAutoMovieSequenceRenderAdapters.d.ts +1 -36
  17. package/lib/IAutoMovieSequenceRenderAndSeeRequest.d.ts +1 -36
  18. package/lib/IAutoMovieSequenceRenderAndSeeResult.d.ts +1 -23
  19. package/lib/IAutoMovieSequenceRenderFrame.d.ts +1 -41
  20. package/lib/IAutoMovieSequenceRenderPlan.d.ts +1 -76
  21. package/lib/IAutoMovieSequenceRenderResult.d.ts +1 -44
  22. package/lib/IAutoMovieSequenceRenderShotSpan.d.ts +1 -39
  23. package/lib/IAutoMovieSequenceRenderTransitionSpan.d.ts +1 -39
  24. package/lib/audio/mixAutoMovieAudioPcm.d.ts +2 -39
  25. package/lib/audio/mixAutoMovieAudioPcm.js.map +1 -1
  26. package/lib/audio/mixAutoMovieAudioPcm.mjs.map +1 -1
  27. package/lib/auditAutoMovieRenderObservation.d.ts +2 -14
  28. package/lib/auditAutoMovieRenderObservation.js.map +1 -1
  29. package/lib/auditAutoMovieRenderObservation.mjs.map +1 -1
  30. package/lib/cache/createAutoMovieHttpArtifactStore.d.ts +1 -1
  31. package/lib/cache/createAutoMovieHttpArtifactStore.mjs.map +1 -1
  32. package/lib/caption/IAutoMovieBeatCaption.d.ts +1 -22
  33. package/lib/caption/beatCaptions.d.ts +1 -2
  34. package/lib/caption/beatCaptions.js.map +1 -1
  35. package/lib/caption/beatCaptions.mjs.map +1 -1
  36. package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.d.ts +1 -12
  37. package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.js.map +1 -1
  38. package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.mjs.map +1 -1
  39. package/lib/caption/parseAutoMovieCaptionLanguage.d.ts +1 -14
  40. package/lib/caption/parseAutoMovieCaptionLanguage.js.map +1 -1
  41. package/lib/caption/parseAutoMovieCaptionLanguage.mjs.map +1 -1
  42. package/lib/capture/AutoMovieCaptureFolder.d.ts +3 -13
  43. package/lib/capture/AutoMovieCaptureFolder.js.map +1 -1
  44. package/lib/capture/AutoMovieCaptureFolder.mjs.map +1 -1
  45. package/lib/capture/IAutoMovieCaptureBudget.d.ts +1 -24
  46. package/lib/capture/IAutoMovieCaptureCell.d.ts +1 -33
  47. package/lib/capture/IAutoMovieCaptureComparison.d.ts +1 -75
  48. package/lib/capture/IAutoMovieCaptureDrawing.d.ts +1 -56
  49. package/lib/capture/IAutoMovieCaptureLayout.d.ts +1 -47
  50. package/lib/capture/IAutoMovieCapturePlan.d.ts +1 -30
  51. package/lib/capture/IAutoMovieCapturePlanRequest.d.ts +1 -97
  52. package/lib/capture/IAutoMovieCaptureRecord.d.ts +1 -134
  53. package/lib/capture/IAutoMovieCaptureRequestSource.d.ts +1 -36
  54. package/lib/capture/IAutoMovieCaptureResolution.d.ts +1 -20
  55. package/lib/capture/IAutoMovieCaptureSelection.d.ts +1 -23
  56. package/lib/capture/IAutoMovieCaptureStorage.d.ts +1 -76
  57. package/lib/capture/IAutoMovieCaptureSubject.d.ts +1 -81
  58. package/lib/capture/IAutoMovieCaptureTime.d.ts +1 -16
  59. package/lib/capture/IAutoMovieCaptureWindow.d.ts +1 -24
  60. package/lib/capture/compareAutoMovieCaptureRounds.d.ts +2 -23
  61. package/lib/capture/compareAutoMovieCaptureRounds.js.map +1 -1
  62. package/lib/capture/compareAutoMovieCaptureRounds.mjs.map +1 -1
  63. package/lib/capture/formatAutoMovieCapturePlanRequest.d.ts +1 -1
  64. package/lib/capture/formatAutoMovieCapturePlanRequest.js.map +1 -1
  65. package/lib/capture/formatAutoMovieCapturePlanRequest.mjs.map +1 -1
  66. package/lib/capture/markAutoMovieCaptureCell.d.ts +1 -1
  67. package/lib/capture/markAutoMovieCaptureCell.mjs.map +1 -1
  68. package/lib/capture/parseAutoMovieCapturePlanRequest.d.ts +1 -2
  69. package/lib/capture/parseAutoMovieCapturePlanRequest.js.map +1 -1
  70. package/lib/capture/parseAutoMovieCapturePlanRequest.mjs.map +1 -1
  71. package/lib/capture/planAutoMovieCapture.d.ts +2 -11
  72. package/lib/capture/planAutoMovieCapture.js.map +1 -1
  73. package/lib/capture/planAutoMovieCapture.mjs.map +1 -1
  74. package/lib/capture/planAutoMovieCaptureFrames.d.ts +2 -22
  75. package/lib/capture/planAutoMovieCaptureFrames.js.map +1 -1
  76. package/lib/capture/planAutoMovieCaptureFrames.mjs.map +1 -1
  77. package/lib/capture/planAutoMovieCaptureLayout.d.ts +2 -16
  78. package/lib/capture/planAutoMovieCaptureLayout.js.map +1 -1
  79. package/lib/capture/planAutoMovieCaptureLayout.mjs.map +1 -1
  80. package/lib/capture/planAutoMovieVideoFrames.d.ts +2 -8
  81. package/lib/capture/planAutoMovieVideoFrames.js.map +1 -1
  82. package/lib/capture/planAutoMovieVideoFrames.mjs.map +1 -1
  83. package/lib/capture/planAutoMovieVideoSceneCuts.d.ts +2 -8
  84. package/lib/capture/planAutoMovieVideoSceneCuts.js.map +1 -1
  85. package/lib/capture/planAutoMovieVideoSceneCuts.mjs.map +1 -1
  86. package/lib/capture/readAutoMovieVideoSceneCuts.d.ts +2 -6
  87. package/lib/capture/readAutoMovieVideoSceneCuts.js.map +1 -1
  88. package/lib/capture/readAutoMovieVideoSceneCuts.mjs.map +1 -1
  89. package/lib/capture/resolveAutoMovieCapturePatterns.d.ts +2 -10
  90. package/lib/capture/resolveAutoMovieCapturePatterns.js.map +1 -1
  91. package/lib/capture/resolveAutoMovieCapturePatterns.mjs.map +1 -1
  92. package/lib/capture/runAutoMovieCapture.d.ts +2 -21
  93. package/lib/capture/runAutoMovieCapture.js.map +1 -1
  94. package/lib/capture/runAutoMovieCapture.mjs.map +1 -1
  95. package/lib/capture/runAutoMovieVideoCapture.d.ts +2 -20
  96. package/lib/capture/runAutoMovieVideoCapture.js.map +1 -1
  97. package/lib/capture/runAutoMovieVideoCapture.mjs.map +1 -1
  98. package/lib/capture/scaleAutoMovieCaptureLabels.d.ts +2 -5
  99. package/lib/capture/scaleAutoMovieCaptureLabels.js.map +1 -1
  100. package/lib/capture/scaleAutoMovieCaptureLabels.mjs.map +1 -1
  101. package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.d.ts +2 -6
  102. package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.js.map +1 -1
  103. package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.mjs.map +1 -1
  104. package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.d.ts +2 -14
  105. package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.js.map +1 -1
  106. package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.mjs.map +1 -1
  107. package/lib/delivery/AutoMovieProductionPngRole.d.ts +1 -14
  108. package/lib/delivery/IAutoMovieProductionPngProfile.d.ts +1 -41
  109. package/lib/delivery/IAutoMovieProductionVideoProfile.d.ts +1 -46
  110. package/lib/delivery/assertAutoMovieCaptureClock.d.ts +2 -9
  111. package/lib/delivery/assertAutoMovieCaptureClock.js.map +1 -1
  112. package/lib/delivery/assertAutoMovieCaptureClock.mjs.map +1 -1
  113. package/lib/delivery/assertProductionPngPicture.d.ts +2 -6
  114. package/lib/delivery/assertProductionPngPicture.js.map +1 -1
  115. package/lib/delivery/assertProductionPngPicture.mjs.map +1 -1
  116. package/lib/delivery/assertProductionVideoProfile.d.ts +2 -6
  117. package/lib/delivery/assertProductionVideoProfile.js.map +1 -1
  118. package/lib/delivery/assertProductionVideoProfile.mjs.map +1 -1
  119. package/lib/delivery/auditAutoMovieDecodedFrames.d.ts +2 -35
  120. package/lib/delivery/auditAutoMovieDecodedFrames.js.map +1 -1
  121. package/lib/delivery/auditAutoMovieDecodedFrames.mjs.map +1 -1
  122. package/lib/delivery/auditAutoMovieEncodedPresentation.d.ts +2 -8
  123. package/lib/delivery/auditAutoMovieEncodedPresentation.js.map +1 -1
  124. package/lib/delivery/auditAutoMovieEncodedPresentation.mjs.map +1 -1
  125. package/lib/delivery/planAutoMovieVideoEncoding.d.ts +2 -18
  126. package/lib/delivery/planAutoMovieVideoEncoding.js.map +1 -1
  127. package/lib/delivery/planAutoMovieVideoEncoding.mjs.map +1 -1
  128. package/lib/delivery/productionOpusDescription.d.ts +2 -6
  129. package/lib/delivery/productionOpusDescription.js.map +1 -1
  130. package/lib/delivery/productionOpusDescription.mjs.map +1 -1
  131. package/lib/delivery/resolveProductionPngProfile.d.ts +2 -7
  132. package/lib/delivery/resolveProductionPngProfile.js.map +1 -1
  133. package/lib/delivery/resolveProductionPngProfile.mjs.map +1 -1
  134. package/lib/delivery/resolveProductionVideoProfile.d.ts +2 -7
  135. package/lib/delivery/resolveProductionVideoProfile.js.map +1 -1
  136. package/lib/delivery/resolveProductionVideoProfile.mjs.map +1 -1
  137. package/lib/draw/AutoMovieDrawSession.d.ts +3 -16
  138. package/lib/draw/AutoMovieDrawSession.js.map +1 -1
  139. package/lib/draw/AutoMovieDrawSession.mjs.map +1 -1
  140. package/lib/draw/IAutoMovieDrawCall.d.ts +1 -27
  141. package/lib/draw/IAutoMovieDrawDescription.d.ts +1 -15
  142. package/lib/draw/IAutoMovieDrawFunction.d.ts +1 -3
  143. package/lib/draw/IAutoMovieDrawResult.d.ts +1 -36
  144. package/lib/draw/IAutoMovieDrawScene.d.ts +9 -2
  145. package/lib/draw/decodeAutoMovieDrawPixels.d.ts +2 -6
  146. package/lib/draw/decodeAutoMovieDrawPixels.js.map +1 -1
  147. package/lib/draw/decodeAutoMovieDrawPixels.mjs.map +1 -1
  148. package/lib/draw/describeAutoMovieDrawScene.d.ts +4 -4
  149. package/lib/draw/describeAutoMovieDrawScene.js +10 -4
  150. package/lib/draw/describeAutoMovieDrawScene.js.map +1 -1
  151. package/lib/draw/describeAutoMovieDrawScene.mjs +8 -4
  152. package/lib/draw/describeAutoMovieDrawScene.mjs.map +1 -1
  153. package/lib/draw/index.d.ts +1 -0
  154. package/lib/draw/index.js +1 -0
  155. package/lib/draw/index.js.map +1 -1
  156. package/lib/draw/index.mjs +2 -1
  157. package/lib/draw/installAutoMovieDraw.d.ts +6 -6
  158. package/lib/draw/installAutoMovieDraw.js +18 -23
  159. package/lib/draw/installAutoMovieDraw.js.map +1 -1
  160. package/lib/draw/installAutoMovieDraw.mjs +16 -23
  161. package/lib/draw/installAutoMovieDraw.mjs.map +1 -1
  162. package/lib/draw/planAutoMovieDrawCall.d.ts +1 -3
  163. package/lib/draw/planAutoMovieDrawCall.js.map +1 -1
  164. package/lib/draw/planAutoMovieDrawCall.mjs.map +1 -1
  165. package/lib/draw/renderAutoMovieDrawnVideo.d.ts +2 -12
  166. package/lib/draw/renderAutoMovieDrawnVideo.js.map +1 -1
  167. package/lib/draw/renderAutoMovieDrawnVideo.mjs.map +1 -1
  168. package/lib/draw/replaceAutoMovieDrawInspection.d.ts +24 -0
  169. package/lib/draw/replaceAutoMovieDrawInspection.js +29 -0
  170. package/lib/draw/replaceAutoMovieDrawInspection.js.map +1 -0
  171. package/lib/draw/replaceAutoMovieDrawInspection.mjs +29 -0
  172. package/lib/draw/replaceAutoMovieDrawInspection.mjs.map +1 -0
  173. package/lib/draw/stampAutoMovieDrawLegend.d.ts +2 -4
  174. package/lib/draw/stampAutoMovieDrawLegend.js.map +1 -1
  175. package/lib/draw/stampAutoMovieDrawLegend.mjs.map +1 -1
  176. package/lib/film/AutoMovieOrderedScalar.d.ts +1 -15
  177. package/lib/film/IAutoMovieProductionAudioAssetIdentity.d.ts +1 -28
  178. package/lib/film/IAutoMovieProductionAudioAssetIdentityBase.d.ts +1 -29
  179. package/lib/film/IAutoMovieProductionEncoderIdentity.d.ts +1 -36
  180. package/lib/film/IAutoMovieProductionRenderChunk.d.ts +1 -39
  181. package/lib/film/IAutoMovieProductionRenderJobPlan.d.ts +1 -53
  182. package/lib/film/IAutoMovieProductionRenderRuntimeIdentity.d.ts +1 -31
  183. package/lib/film/IAutoMovieProductionRenderTier.d.ts +1 -25
  184. package/lib/film/equalOrderedScalars.d.ts +2 -5
  185. package/lib/film/equalOrderedScalars.js.map +1 -1
  186. package/lib/film/equalOrderedScalars.mjs.map +1 -1
  187. package/lib/film/normalizeAudioAssets.d.ts +1 -1
  188. package/lib/film/normalizeAudioAssets.js.map +1 -1
  189. package/lib/film/normalizeAudioAssets.mjs.map +1 -1
  190. package/lib/film/normalizeRenderTier.d.ts +1 -1
  191. package/lib/film/normalizeRenderTier.mjs.map +1 -1
  192. package/lib/film/planProductionRenderJob.d.ts +2 -16
  193. package/lib/film/planProductionRenderJob.js.map +1 -1
  194. package/lib/film/planProductionRenderJob.mjs.map +1 -1
  195. package/lib/film/resolveProductionRenderTierFrameFormat.d.ts +1 -2
  196. package/lib/film/resolveProductionRenderTierFrameFormat.mjs.map +1 -1
  197. package/lib/film/validWaveAudioIdentity.d.ts +1 -1
  198. package/lib/film/validWaveAudioIdentity.mjs.map +1 -1
  199. package/lib/index.mjs +8 -7
  200. package/lib/picture/AutoMovieRasterSheet.d.ts +2 -2
  201. package/lib/picture/AutoMovieRasterSheet.js.map +1 -1
  202. package/lib/picture/AutoMovieRasterSheet.mjs.map +1 -1
  203. package/lib/picture/IAutoMovieRasterComparison.d.ts +1 -33
  204. package/lib/picture/IAutoMovieRasterImage.d.ts +1 -17
  205. package/lib/picture/compareAutoMovieRasters.d.ts +1 -2
  206. package/lib/picture/compareAutoMovieRasters.js.map +1 -1
  207. package/lib/picture/compareAutoMovieRasters.mjs.map +1 -1
  208. package/lib/picture/decodeAutoMovieRasterPng.d.ts +1 -1
  209. package/lib/picture/decodeAutoMovieRasterPng.js.map +1 -1
  210. package/lib/picture/decodeAutoMovieRasterPng.mjs.map +1 -1
  211. package/lib/picture/encodeAutoMovieRasterPng.d.ts +1 -1
  212. package/lib/picture/encodeAutoMovieRasterPng.js.map +1 -1
  213. package/lib/picture/encodeAutoMovieRasterPng.mjs.map +1 -1
  214. package/lib/picture/hashAutoMovieRasterImage.d.ts +1 -1
  215. package/lib/picture/hashAutoMovieRasterImage.mjs.map +1 -1
  216. package/lib/picture/stampAutoMovieRasterLabel.d.ts +2 -5
  217. package/lib/picture/stampAutoMovieRasterLabel.js.map +1 -1
  218. package/lib/picture/stampAutoMovieRasterLabel.mjs.map +1 -1
  219. package/lib/planCaptionSidecar.d.ts +2 -8
  220. package/lib/planCaptionSidecar.js.map +1 -1
  221. package/lib/planCaptionSidecar.mjs.map +1 -1
  222. package/lib/planChunkedSequenceRender.d.ts +2 -9
  223. package/lib/planChunkedSequenceRender.js.map +1 -1
  224. package/lib/planChunkedSequenceRender.mjs.map +1 -1
  225. package/lib/planGuidePassOutputs.d.ts +2 -6
  226. package/lib/planGuidePassOutputs.js.map +1 -1
  227. package/lib/planGuidePassOutputs.mjs.map +1 -1
  228. package/lib/planPoseKeypointSidecar.d.ts +2 -12
  229. package/lib/planPoseKeypointSidecar.js.map +1 -1
  230. package/lib/planPoseKeypointSidecar.mjs.map +1 -1
  231. package/lib/planSequenceRender.d.ts +2 -9
  232. package/lib/planSequenceRender.js.map +1 -1
  233. package/lib/planSequenceRender.mjs.map +1 -1
  234. package/lib/planViewerFrameTimes.d.ts +2 -16
  235. package/lib/planViewerFrameTimes.js.map +1 -1
  236. package/lib/planViewerFrameTimes.mjs.map +1 -1
  237. package/lib/renderAndSee.d.ts +1 -2
  238. package/lib/renderAndSee.js.map +1 -1
  239. package/lib/renderAndSee.mjs.map +1 -1
  240. package/lib/renderBudgetPreflight/IAutoMovieRenderBudgetAssessment.d.ts +1 -41
  241. package/lib/renderBudgetPreflight/IAutoMovieRenderBudgetEvidence.d.ts +1 -53
  242. package/lib/renderBudgetPreflight/IAutoMovieRenderGraphicsIdentity.d.ts +1 -27
  243. package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.d.ts +2 -13
  244. package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.js.map +1 -1
  245. package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.mjs.map +1 -1
  246. package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.d.ts +2 -8
  247. package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.js.map +1 -1
  248. package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.mjs.map +1 -1
  249. package/lib/renderBudgetPreflight/autoMovieRenderBudgetRefusal.d.ts +1 -1
  250. package/lib/renderBudgetPreflight/autoMovieRenderBudgetRefusal.js.map +1 -1
  251. package/lib/renderBudgetPreflight/autoMovieRenderBudgetRefusal.mjs.map +1 -1
  252. package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.d.ts +1 -2
  253. package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.js.map +1 -1
  254. package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.mjs.map +1 -1
  255. package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.d.ts +2 -8
  256. package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.js.map +1 -1
  257. package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.mjs.map +1 -1
  258. package/lib/renderCaptionSidecar.d.ts +1 -1
  259. package/lib/renderCaptionSidecar.mjs.map +1 -1
  260. package/lib/renderPoseKeypointSidecar.d.ts +1 -1
  261. package/lib/renderPoseKeypointSidecar.mjs.map +1 -1
  262. package/lib/renderSequenceAndSee.d.ts +1 -2
  263. package/lib/renderSequenceAndSee.js.map +1 -1
  264. package/lib/renderSequenceAndSee.mjs.map +1 -1
  265. package/lib/renderSequenceVideo.d.ts +1 -3
  266. package/lib/renderSequenceVideo.js.map +1 -1
  267. package/lib/renderSequenceVideo.mjs.map +1 -1
  268. package/lib/renderVideo.d.ts +1 -3
  269. package/lib/renderVideo.js.map +1 -1
  270. package/lib/renderVideo.mjs.map +1 -1
  271. package/lib/scene/AutoMovieFilmBeautyComposition.d.ts +1 -25
  272. package/lib/scene/AutoMoviePlayer.d.ts +1 -2
  273. package/lib/scene/AutoMoviePlayer.js.map +1 -1
  274. package/lib/scene/AutoMoviePlayer.mjs.map +1 -1
  275. package/lib/scene/IApplyAutoMovieSectionPlanesProps.d.ts +1 -1
  276. package/lib/scene/IAutoMovieFilmBeautyLayer.d.ts +1 -12
  277. package/lib/scene/IAutoMovieFormationPoseTake.d.ts +1 -22
  278. package/lib/scene/IAutoMovieFormationViewerObject.d.ts +1 -2
  279. package/lib/scene/IAutoMovieRigLocalTransform.d.ts +1 -15
  280. package/lib/scene/IAutoMovieSpringAxisSettlement.d.ts +2 -2
  281. package/lib/scene/IBakeFormationCycleProps.d.ts +1 -2
  282. package/lib/scene/applyAutoMovieRigLocals.d.ts +1 -2
  283. package/lib/scene/applyAutoMovieRigLocals.js.map +1 -1
  284. package/lib/scene/applyAutoMovieRigLocals.mjs.map +1 -1
  285. package/lib/scene/applyAutoMovieSectionPlanes.mjs.map +1 -1
  286. package/lib/scene/applyFormationCycleCadence.d.ts +1 -1
  287. package/lib/scene/applyFormationCycleCadence.mjs.map +1 -1
  288. package/lib/scene/applyPose.d.ts +1 -2
  289. package/lib/scene/applyPose.js.map +1 -1
  290. package/lib/scene/applyPose.mjs.map +1 -1
  291. package/lib/scene/applyRenderMode.js.map +1 -1
  292. package/lib/scene/applyRenderMode.mjs.map +1 -1
  293. package/lib/scene/applySampledObjectMotion.d.ts +1 -1
  294. package/lib/scene/applySampledObjectMotion.mjs.map +1 -1
  295. package/lib/scene/applySemanticMaskMode.d.ts +1 -1
  296. package/lib/scene/applySemanticMaskMode.js.map +1 -1
  297. package/lib/scene/applySemanticMaskMode.mjs.map +1 -1
  298. package/lib/scene/autoMovieAnalysisRampColor.d.ts +2 -5
  299. package/lib/scene/autoMovieAnalysisRampColor.js.map +1 -1
  300. package/lib/scene/autoMovieAnalysisRampColor.mjs.map +1 -1
  301. package/lib/scene/bakeFormationCycle.d.ts +2 -1
  302. package/lib/scene/bakeFormationCycle.js +3 -2
  303. package/lib/scene/bakeFormationCycle.js.map +1 -1
  304. package/lib/scene/bakeFormationCycle.mjs +3 -2
  305. package/lib/scene/bakeFormationCycle.mjs.map +1 -1
  306. package/lib/scene/buildAutoMovieConstruction.d.ts +2 -5
  307. package/lib/scene/buildAutoMovieConstruction.js.map +1 -1
  308. package/lib/scene/buildAutoMovieConstruction.mjs.map +1 -1
  309. package/lib/scene/buildGeometry.d.ts +1 -1
  310. package/lib/scene/buildGeometry.js.map +1 -1
  311. package/lib/scene/buildGeometry.mjs.map +1 -1
  312. package/lib/scene/buildInstancedEffect.js.map +1 -1
  313. package/lib/scene/buildInstancedEffect.mjs.map +1 -1
  314. package/lib/scene/buildInstancedFormation.js.map +1 -1
  315. package/lib/scene/buildInstancedFormation.mjs.map +1 -1
  316. package/lib/scene/buildSpaceObject.js.map +1 -1
  317. package/lib/scene/buildSpaceObject.mjs.map +1 -1
  318. package/lib/scene/createAutoMoviePhysicalPoseAdapter.d.ts +2 -2
  319. package/lib/scene/createAutoMoviePhysicalPoseAdapter.js.map +1 -1
  320. package/lib/scene/createAutoMoviePhysicalPoseAdapter.mjs.map +1 -1
  321. package/lib/scene/describeFormationTextureSources.d.ts +1 -2
  322. package/lib/scene/describeFormationTextureSources.mjs.map +1 -1
  323. package/lib/scene/formation/index.d.ts +1 -1
  324. package/lib/scene/formationCycleCadence.d.ts +1 -1
  325. package/lib/scene/formationCycleCadence.mjs.map +1 -1
  326. package/lib/scene/human-polygon/AutoMovieHumanPolygon.d.ts +7 -57
  327. package/lib/scene/human-polygon/applyHumanPolygonPose.d.ts +2 -2
  328. package/lib/scene/human-polygon/applyHumanPolygonPose.js.map +1 -1
  329. package/lib/scene/human-polygon/applyHumanPolygonPose.mjs.map +1 -1
  330. package/lib/scene/human-polygon/buildHumanPolygon.d.ts +2 -1
  331. package/lib/scene/human-polygon/buildHumanPolygon.js.map +1 -1
  332. package/lib/scene/human-polygon/buildHumanPolygon.mjs.map +1 -1
  333. package/lib/scene/human-polygon/buildHumanPolygonModule.d.ts +2 -2
  334. package/lib/scene/human-polygon/buildHumanPolygonModule.js.map +1 -1
  335. package/lib/scene/human-polygon/buildHumanPolygonModule.mjs.map +1 -1
  336. package/lib/scene/human-polygon/buildHumanPolygonParts.d.ts +2 -2
  337. package/lib/scene/human-polygon/buildHumanPolygonParts.js.map +1 -1
  338. package/lib/scene/human-polygon/buildHumanPolygonParts.mjs.map +1 -1
  339. package/lib/scene/human-polygon/createAutoMovieHumanPolygonFigure.d.ts +3 -2
  340. package/lib/scene/human-polygon/createAutoMovieHumanPolygonFigure.js.map +1 -1
  341. package/lib/scene/human-polygon/createAutoMovieHumanPolygonFigure.mjs.map +1 -1
  342. package/lib/scene/index.d.ts +1 -1
  343. package/lib/scene/index.js +0 -1
  344. package/lib/scene/index.js.map +1 -1
  345. package/lib/scene/index.mjs +6 -6
  346. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_KINDS.d.ts +2 -4
  347. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_KINDS.js.map +1 -1
  348. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_KINDS.mjs.map +1 -1
  349. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_PALETTE.d.ts +1 -1
  350. package/lib/scene/inspection/AUTO_MOVIE_INSPECTION_PALETTE.mjs.map +1 -1
  351. package/lib/scene/inspection/IApplyAutoMovieInspectionProps.d.ts +2 -3
  352. package/lib/scene/inspection/IAutoMovieInspectionCamera.d.ts +1 -29
  353. package/lib/scene/inspection/IAutoMovieInspectionHandle.d.ts +3 -6
  354. package/lib/scene/inspection/IAutoMovieInspectionKind.d.ts +1 -16
  355. package/lib/scene/inspection/IAutoMovieInspectionLabel.d.ts +1 -18
  356. package/lib/scene/inspection/IAutoMovieInspectionLegendEntry.d.ts +1 -22
  357. package/lib/scene/inspection/IAutoMovieInspectionMarkSet.d.ts +1 -1
  358. package/lib/scene/inspection/IAutoMovieInspectionMeasured.d.ts +1 -1
  359. package/lib/scene/inspection/IAutoMovieInspectionRequest.d.ts +1 -99
  360. package/lib/scene/inspection/IAutoMovieInspectionTrail.d.ts +1 -18
  361. package/lib/scene/inspection/IAutoMovieInspectionView.d.ts +1 -80
  362. package/lib/scene/inspection/applyAutoMovieInspection.js.map +1 -1
  363. package/lib/scene/inspection/applyAutoMovieInspection.mjs.map +1 -1
  364. package/lib/scene/inspection/applyAutoMovieInspectionSection.d.ts +1 -1
  365. package/lib/scene/inspection/applyAutoMovieInspectionSection.mjs.map +1 -1
  366. package/lib/scene/inspection/applyAutoMovieInspectionShade.d.ts +2 -2
  367. package/lib/scene/inspection/applyAutoMovieInspectionShade.js.map +1 -1
  368. package/lib/scene/inspection/applyAutoMovieInspectionShade.mjs.map +1 -1
  369. package/lib/scene/inspection/buildAutoMovieInspectionMarks.mjs.map +1 -1
  370. package/lib/scene/inspection/chooseAutoMovieInspectionMarks.d.ts +1 -1
  371. package/lib/scene/inspection/chooseAutoMovieInspectionMarks.mjs.map +1 -1
  372. package/lib/scene/inspection/colorAutoMovieInspectionObjects.d.ts +3 -3
  373. package/lib/scene/inspection/colorAutoMovieInspectionObjects.js.map +1 -1
  374. package/lib/scene/inspection/colorAutoMovieInspectionObjects.mjs.map +1 -1
  375. package/lib/scene/inspection/expandAutoMovieInspectionSweep.d.ts +2 -17
  376. package/lib/scene/inspection/expandAutoMovieInspectionSweep.js.map +1 -1
  377. package/lib/scene/inspection/expandAutoMovieInspectionSweep.mjs.map +1 -1
  378. package/lib/scene/inspection/focusAutoMovieInspection.d.ts +2 -3
  379. package/lib/scene/inspection/focusAutoMovieInspection.js.map +1 -1
  380. package/lib/scene/inspection/focusAutoMovieInspection.mjs.map +1 -1
  381. package/lib/scene/inspection/formatAutoMovieInspectionCameraView.d.ts +1 -1
  382. package/lib/scene/inspection/formatAutoMovieInspectionCameraView.js.map +1 -1
  383. package/lib/scene/inspection/formatAutoMovieInspectionCameraView.mjs.map +1 -1
  384. package/lib/scene/inspection/formatAutoMovieInspectionRequest.d.ts +1 -1
  385. package/lib/scene/inspection/formatAutoMovieInspectionRequest.js.map +1 -1
  386. package/lib/scene/inspection/formatAutoMovieInspectionRequest.mjs.map +1 -1
  387. package/lib/scene/inspection/formatAutoMovieInspectionView.d.ts +1 -1
  388. package/lib/scene/inspection/formatAutoMovieInspectionView.js.map +1 -1
  389. package/lib/scene/inspection/formatAutoMovieInspectionView.mjs.map +1 -1
  390. package/lib/scene/inspection/legendAutoMovieInspectionMarks.d.ts +2 -6
  391. package/lib/scene/inspection/legendAutoMovieInspectionMarks.js.map +1 -1
  392. package/lib/scene/inspection/legendAutoMovieInspectionMarks.mjs.map +1 -1
  393. package/lib/scene/inspection/listAutoMovieInspectionKinds.d.ts +2 -9
  394. package/lib/scene/inspection/listAutoMovieInspectionKinds.js.map +1 -1
  395. package/lib/scene/inspection/listAutoMovieInspectionKinds.mjs.map +1 -1
  396. package/lib/scene/inspection/markAutoMovieInspectionTrails.d.ts +1 -2
  397. package/lib/scene/inspection/markAutoMovieInspectionTrails.js.map +1 -1
  398. package/lib/scene/inspection/markAutoMovieInspectionTrails.mjs.map +1 -1
  399. package/lib/scene/inspection/measureAutoMovieInspectionDefects.d.ts +1 -1
  400. package/lib/scene/inspection/measureAutoMovieInspectionDefects.js.map +1 -1
  401. package/lib/scene/inspection/measureAutoMovieInspectionDefects.mjs.map +1 -1
  402. package/lib/scene/inspection/measureAutoMovieInspectionEdges.mjs.map +1 -1
  403. package/lib/scene/inspection/measureAutoMovieInspectionMeshes.d.ts +1 -1
  404. package/lib/scene/inspection/measureAutoMovieInspectionMeshes.mjs.map +1 -1
  405. package/lib/scene/inspection/measureAutoMovieInspectionPaths.d.ts +2 -7
  406. package/lib/scene/inspection/measureAutoMovieInspectionPaths.js.map +1 -1
  407. package/lib/scene/inspection/measureAutoMovieInspectionPaths.mjs.map +1 -1
  408. package/lib/scene/inspection/mergeAutoMovieInspectionLegends.d.ts +1 -1
  409. package/lib/scene/inspection/mergeAutoMovieInspectionLegends.mjs.map +1 -1
  410. package/lib/scene/inspection/parseAutoMovieInspectionRequest.d.ts +1 -1
  411. package/lib/scene/inspection/parseAutoMovieInspectionRequest.js.map +1 -1
  412. package/lib/scene/inspection/parseAutoMovieInspectionRequest.mjs.map +1 -1
  413. package/lib/scene/inspection/parseAutoMovieInspectionView.d.ts +1 -1
  414. package/lib/scene/inspection/parseAutoMovieInspectionView.js.map +1 -1
  415. package/lib/scene/inspection/parseAutoMovieInspectionView.mjs.map +1 -1
  416. package/lib/scene/inspection/placeAutoMovieInspectionLabels.d.ts +2 -6
  417. package/lib/scene/inspection/placeAutoMovieInspectionLabels.js.map +1 -1
  418. package/lib/scene/inspection/placeAutoMovieInspectionLabels.mjs.map +1 -1
  419. package/lib/scene/inspection/planAutoMovieInspectionTrailTimes.d.ts +2 -9
  420. package/lib/scene/inspection/planAutoMovieInspectionTrailTimes.js.map +1 -1
  421. package/lib/scene/inspection/planAutoMovieInspectionTrailTimes.mjs.map +1 -1
  422. package/lib/scene/inspection/resolveAutoMovieInspectionColors.d.ts +2 -18
  423. package/lib/scene/inspection/resolveAutoMovieInspectionColors.js.map +1 -1
  424. package/lib/scene/inspection/resolveAutoMovieInspectionColors.mjs.map +1 -1
  425. package/lib/scene/inspection/resolveAutoMovieInspectionView.d.ts +1 -2
  426. package/lib/scene/inspection/resolveAutoMovieInspectionView.js.map +1 -1
  427. package/lib/scene/inspection/resolveAutoMovieInspectionView.mjs.map +1 -1
  428. package/lib/scene/inspection/sampleAutoMovieInspectionTrails.d.ts +1 -1
  429. package/lib/scene/inspection/sampleAutoMovieInspectionTrails.js.map +1 -1
  430. package/lib/scene/inspection/sampleAutoMovieInspectionTrails.mjs.map +1 -1
  431. package/lib/scene/matchesAutoMovieShadowTextureProfile.d.ts +1 -1
  432. package/lib/scene/matchesAutoMovieShadowTextureProfile.mjs.map +1 -1
  433. package/lib/scene/observeAutoMovieRendererFrame.d.ts +2 -5
  434. package/lib/scene/observeAutoMovieRendererFrame.js.map +1 -1
  435. package/lib/scene/observeAutoMovieRendererFrame.mjs.map +1 -1
  436. package/lib/scene/planAutoMovieShadowTextureTarget.d.ts +1 -1
  437. package/lib/scene/planAutoMovieShadowTextureTarget.mjs.map +1 -1
  438. package/lib/scene/readAutoMovieFilmDisplayTextureResidency.d.ts +2 -6
  439. package/lib/scene/readAutoMovieFilmDisplayTextureResidency.js.map +1 -1
  440. package/lib/scene/readAutoMovieFilmDisplayTextureResidency.mjs.map +1 -1
  441. package/lib/scene/readAutoMovieMaterialTextureSources.d.ts +3 -5
  442. package/lib/scene/readAutoMovieMaterialTextureSources.js.map +1 -1
  443. package/lib/scene/readAutoMovieMaterialTextureSources.mjs.map +1 -1
  444. package/lib/scene/readAutoMovieRenderTextureTarget.d.ts +1 -1
  445. package/lib/scene/readAutoMovieRenderTextureTarget.mjs.map +1 -1
  446. package/lib/scene/readAutoMovieShadowTextureTargets.d.ts +1 -2
  447. package/lib/scene/readAutoMovieShadowTextureTargets.js.map +1 -1
  448. package/lib/scene/readAutoMovieShadowTextureTargets.mjs.map +1 -1
  449. package/lib/scene/readAutoMovieTextureSource.d.ts +1 -1
  450. package/lib/scene/readAutoMovieTextureSource.js.map +1 -1
  451. package/lib/scene/readAutoMovieTextureSource.mjs.map +1 -1
  452. package/lib/scene/readAutoMovieTransmissionTextureTarget.d.ts +1 -1
  453. package/lib/scene/readAutoMovieTransmissionTextureTarget.mjs.map +1 -1
  454. package/lib/scene/resolveAutoMovieFilmBeautyComposition.d.ts +2 -3
  455. package/lib/scene/resolveAutoMovieFilmBeautyComposition.js.map +1 -1
  456. package/lib/scene/resolveAutoMovieFilmBeautyComposition.mjs.map +1 -1
  457. package/lib/scene/semanticMask/IAutoMovieSemanticMaskBinding.d.ts +1 -19
  458. package/lib/scene/semanticMask/attachAutoMovieSemanticMask.d.ts +1 -1
  459. package/lib/scene/semanticMask/attachAutoMovieSemanticMask.mjs.map +1 -1
  460. package/lib/scene/semanticMask/autoMovieSemanticMaskOf.d.ts +1 -1
  461. package/lib/scene/semanticMask/autoMovieSemanticMaskOf.mjs.map +1 -1
  462. package/lib/sliceCaptionSidecar.d.ts +1 -1
  463. package/lib/sliceCaptionSidecar.mjs.map +1 -1
  464. package/package.json +7 -7
  465. package/src/IAutoMovieCaptionEntry.ts +1 -32
  466. package/src/IAutoMovieCaptionSidecar.ts +1 -29
  467. package/src/IAutoMovieCapturedFrame.ts +1 -24
  468. package/src/IAutoMovieGuidePassOutput.ts +1 -27
  469. package/src/IAutoMoviePoseKeypointActor.ts +1 -39
  470. package/src/IAutoMoviePoseKeypointFrame.ts +1 -28
  471. package/src/IAutoMoviePoseKeypointSidecar.ts +1 -25
  472. package/src/IAutoMovieRenderAdapters.ts +1 -39
  473. package/src/IAutoMovieRenderAndSeeRequest.ts +1 -38
  474. package/src/IAutoMovieRenderAndSeeResult.ts +1 -23
  475. package/src/IAutoMovieRenderChunk.ts +1 -62
  476. package/src/IAutoMovieRenderChunkPlan.ts +1 -40
  477. package/src/IAutoMovieRenderPassManifest.ts +1 -25
  478. package/src/IAutoMovieRenderReassembly.ts +1 -28
  479. package/src/IAutoMovieRenderResult.ts +1 -46
  480. package/src/IAutoMovieSequenceRenderAdapters.ts +1 -41
  481. package/src/IAutoMovieSequenceRenderAndSeeRequest.ts +1 -47
  482. package/src/IAutoMovieSequenceRenderAndSeeResult.ts +1 -23
  483. package/src/IAutoMovieSequenceRenderFrame.ts +1 -48
  484. package/src/IAutoMovieSequenceRenderPlan.ts +1 -88
  485. package/src/IAutoMovieSequenceRenderResult.ts +1 -52
  486. package/src/IAutoMovieSequenceRenderShotSpan.ts +1 -46
  487. package/src/IAutoMovieSequenceRenderTransitionSpan.ts +1 -46
  488. package/src/audio/mixAutoMovieAudioPcm.ts +10 -44
  489. package/src/auditAutoMovieRenderObservation.ts +5 -14
  490. package/src/cache/createAutoMovieHttpArtifactStore.ts +1 -1
  491. package/src/caption/IAutoMovieBeatCaption.ts +1 -23
  492. package/src/caption/beatCaptions.ts +1 -1
  493. package/src/caption/inspectAutoMovieCaptionReadabilityWithRuntime.ts +1 -12
  494. package/src/caption/parseAutoMovieCaptionLanguage.ts +1 -13
  495. package/src/capture/AutoMovieCaptureFolder.ts +10 -16
  496. package/src/capture/IAutoMovieCaptureBudget.ts +1 -26
  497. package/src/capture/IAutoMovieCaptureCell.ts +1 -42
  498. package/src/capture/IAutoMovieCaptureComparison.ts +1 -96
  499. package/src/capture/IAutoMovieCaptureDrawing.ts +1 -64
  500. package/src/capture/IAutoMovieCaptureLayout.ts +1 -51
  501. package/src/capture/IAutoMovieCapturePlan.ts +1 -36
  502. package/src/capture/IAutoMovieCapturePlanRequest.ts +1 -117
  503. package/src/capture/IAutoMovieCaptureRecord.ts +1 -174
  504. package/src/capture/IAutoMovieCaptureRequestSource.ts +1 -37
  505. package/src/capture/IAutoMovieCaptureResolution.ts +1 -23
  506. package/src/capture/IAutoMovieCaptureSelection.ts +1 -28
  507. package/src/capture/IAutoMovieCaptureStorage.ts +1 -76
  508. package/src/capture/IAutoMovieCaptureSubject.ts +1 -94
  509. package/src/capture/IAutoMovieCaptureTime.ts +1 -17
  510. package/src/capture/IAutoMovieCaptureWindow.ts +1 -29
  511. package/src/capture/compareAutoMovieCaptureRounds.ts +33 -48
  512. package/src/capture/formatAutoMovieCapturePlanRequest.ts +7 -3
  513. package/src/capture/markAutoMovieCaptureCell.ts +1 -1
  514. package/src/capture/parseAutoMovieCapturePlanRequest.ts +13 -10
  515. package/src/capture/planAutoMovieCapture.ts +20 -21
  516. package/src/capture/planAutoMovieCaptureFrames.ts +9 -28
  517. package/src/capture/planAutoMovieCaptureLayout.ts +8 -21
  518. package/src/capture/planAutoMovieVideoFrames.ts +5 -10
  519. package/src/capture/planAutoMovieVideoSceneCuts.ts +5 -10
  520. package/src/capture/readAutoMovieVideoSceneCuts.ts +5 -7
  521. package/src/capture/resolveAutoMovieCapturePatterns.ts +11 -14
  522. package/src/capture/runAutoMovieCapture.ts +19 -33
  523. package/src/capture/runAutoMovieVideoCapture.ts +13 -32
  524. package/src/capture/scaleAutoMovieCaptureLabels.ts +5 -2
  525. package/src/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.ts +5 -6
  526. package/src/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.ts +17 -27
  527. package/src/delivery/AutoMovieProductionPngRole.ts +1 -18
  528. package/src/delivery/IAutoMovieProductionPngProfile.ts +1 -52
  529. package/src/delivery/IAutoMovieProductionVideoProfile.ts +1 -48
  530. package/src/delivery/assertAutoMovieCaptureClock.ts +7 -7
  531. package/src/delivery/assertProductionPngPicture.ts +8 -13
  532. package/src/delivery/assertProductionVideoProfile.ts +5 -12
  533. package/src/delivery/auditAutoMovieDecodedFrames.ts +17 -56
  534. package/src/delivery/auditAutoMovieEncodedPresentation.ts +3 -8
  535. package/src/delivery/planAutoMovieVideoEncoding.ts +8 -23
  536. package/src/delivery/productionOpusDescription.ts +9 -15
  537. package/src/delivery/resolveProductionPngProfile.ts +9 -17
  538. package/src/delivery/resolveProductionVideoProfile.ts +9 -16
  539. package/src/draw/AutoMovieDrawSession.ts +19 -18
  540. package/src/draw/IAutoMovieDrawCall.ts +1 -34
  541. package/src/draw/IAutoMovieDrawDescription.ts +1 -17
  542. package/src/draw/IAutoMovieDrawFunction.ts +5 -3
  543. package/src/draw/IAutoMovieDrawResult.ts +1 -45
  544. package/src/draw/IAutoMovieDrawScene.ts +10 -2
  545. package/src/draw/decodeAutoMovieDrawPixels.ts +5 -3
  546. package/src/draw/describeAutoMovieDrawScene.ts +18 -11
  547. package/src/draw/index.ts +1 -0
  548. package/src/draw/installAutoMovieDraw.ts +43 -45
  549. package/src/draw/planAutoMovieDrawCall.ts +8 -5
  550. package/src/draw/renderAutoMovieDrawnVideo.ts +6 -9
  551. package/src/draw/replaceAutoMovieDrawInspection.ts +36 -0
  552. package/src/draw/stampAutoMovieDrawLegend.ts +7 -5
  553. package/src/film/AutoMovieOrderedScalar.ts +1 -15
  554. package/src/film/IAutoMovieProductionAudioAssetIdentity.ts +1 -40
  555. package/src/film/IAutoMovieProductionAudioAssetIdentityBase.ts +1 -34
  556. package/src/film/IAutoMovieProductionEncoderIdentity.ts +1 -42
  557. package/src/film/IAutoMovieProductionRenderChunk.ts +1 -47
  558. package/src/film/IAutoMovieProductionRenderJobPlan.ts +1 -73
  559. package/src/film/IAutoMovieProductionRenderRuntimeIdentity.ts +1 -37
  560. package/src/film/IAutoMovieProductionRenderTier.ts +1 -27
  561. package/src/film/equalOrderedScalars.ts +10 -10
  562. package/src/film/normalizeAudioAssets.ts +4 -2
  563. package/src/film/normalizeRenderTier.ts +1 -1
  564. package/src/film/planProductionRenderJob.ts +11 -48
  565. package/src/film/resolveProductionRenderTierFrameFormat.ts +1 -1
  566. package/src/film/validWaveAudioIdentity.ts +3 -3
  567. package/src/picture/AutoMovieRasterSheet.ts +7 -3
  568. package/src/picture/IAutoMovieRasterComparison.ts +1 -33
  569. package/src/picture/IAutoMovieRasterImage.ts +1 -19
  570. package/src/picture/compareAutoMovieRasters.ts +4 -2
  571. package/src/picture/decodeAutoMovieRasterPng.ts +2 -1
  572. package/src/picture/encodeAutoMovieRasterPng.ts +2 -1
  573. package/src/picture/hashAutoMovieRasterImage.ts +1 -1
  574. package/src/picture/stampAutoMovieRasterLabel.ts +5 -2
  575. package/src/planCaptionSidecar.ts +11 -30
  576. package/src/planChunkedSequenceRender.ts +15 -26
  577. package/src/planGuidePassOutputs.ts +10 -16
  578. package/src/planPoseKeypointSidecar.ts +11 -40
  579. package/src/planSequenceRender.ts +11 -32
  580. package/src/planViewerFrameTimes.ts +5 -22
  581. package/src/renderAndSee.ts +5 -2
  582. package/src/renderBudgetPreflight/IAutoMovieRenderBudgetAssessment.ts +1 -53
  583. package/src/renderBudgetPreflight/IAutoMovieRenderBudgetEvidence.ts +1 -61
  584. package/src/renderBudgetPreflight/IAutoMovieRenderGraphicsIdentity.ts +1 -29
  585. package/src/renderBudgetPreflight/assessAutoMovieRenderBudget.ts +9 -37
  586. package/src/renderBudgetPreflight/autoMovieRenderBudgetEvidence.ts +11 -15
  587. package/src/renderBudgetPreflight/autoMovieRenderBudgetRefusal.ts +2 -3
  588. package/src/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.ts +4 -3
  589. package/src/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.ts +7 -19
  590. package/src/renderCaptionSidecar.ts +1 -1
  591. package/src/renderPoseKeypointSidecar.ts +1 -1
  592. package/src/renderSequenceAndSee.ts +5 -2
  593. package/src/renderSequenceVideo.ts +6 -4
  594. package/src/renderVideo.ts +5 -3
  595. package/src/scene/AutoMovieFilmBeautyComposition.ts +1 -24
  596. package/src/scene/AutoMoviePlayer.ts +12 -12
  597. package/src/scene/IApplyAutoMovieSectionPlanesProps.ts +1 -1
  598. package/src/scene/IAutoMovieFilmBeautyLayer.ts +1 -12
  599. package/src/scene/IAutoMovieFormationPoseTake.ts +1 -26
  600. package/src/scene/IAutoMovieFormationViewerObject.ts +4 -2
  601. package/src/scene/IAutoMovieRigLocalTransform.ts +1 -16
  602. package/src/scene/IAutoMovieSpringAxisSettlement.ts +2 -2
  603. package/src/scene/IBakeFormationCycleProps.ts +4 -2
  604. package/src/scene/applyAutoMovieRigLocals.ts +4 -2
  605. package/src/scene/applyAutoMovieSectionPlanes.ts +1 -1
  606. package/src/scene/applyFormationCycleCadence.ts +1 -1
  607. package/src/scene/applyPose.ts +2 -5
  608. package/src/scene/applyRenderMode.ts +5 -5
  609. package/src/scene/applySampledObjectMotion.ts +1 -1
  610. package/src/scene/applySemanticMaskMode.ts +1 -1
  611. package/src/scene/autoMovieAnalysisRampColor.ts +7 -5
  612. package/src/scene/bakeFormationCycle.ts +4 -3
  613. package/src/scene/buildAutoMovieConstruction.ts +2 -5
  614. package/src/scene/buildGeometry.ts +6 -9
  615. package/src/scene/buildInstancedEffect.ts +6 -6
  616. package/src/scene/buildInstancedFormation.ts +3 -3
  617. package/src/scene/buildSpaceObject.ts +7 -3
  618. package/src/scene/createAutoMoviePhysicalPoseAdapter.ts +4 -4
  619. package/src/scene/describeFormationTextureSources.ts +2 -2
  620. package/src/scene/formation/index.ts +1 -1
  621. package/src/scene/formationCycleCadence.ts +1 -1
  622. package/src/scene/human-polygon/AutoMovieHumanPolygon.ts +7 -67
  623. package/src/scene/human-polygon/applyHumanPolygonPose.ts +12 -7
  624. package/src/scene/human-polygon/buildHumanPolygon.ts +23 -12
  625. package/src/scene/human-polygon/buildHumanPolygonModule.ts +6 -3
  626. package/src/scene/human-polygon/buildHumanPolygonParts.ts +10 -6
  627. package/src/scene/human-polygon/createAutoMovieHumanPolygonFigure.ts +10 -3
  628. package/src/scene/index.ts +1 -1
  629. package/src/scene/inspection/AUTO_MOVIE_INSPECTION_KINDS.ts +3 -1
  630. package/src/scene/inspection/AUTO_MOVIE_INSPECTION_PALETTE.ts +1 -1
  631. package/src/scene/inspection/IApplyAutoMovieInspectionProps.ts +5 -3
  632. package/src/scene/inspection/IAutoMovieInspectionCamera.ts +1 -38
  633. package/src/scene/inspection/IAutoMovieInspectionHandle.ts +8 -6
  634. package/src/scene/inspection/IAutoMovieInspectionKind.ts +1 -18
  635. package/src/scene/inspection/IAutoMovieInspectionLabel.ts +1 -21
  636. package/src/scene/inspection/IAutoMovieInspectionLegendEntry.ts +1 -24
  637. package/src/scene/inspection/IAutoMovieInspectionMarkSet.ts +1 -1
  638. package/src/scene/inspection/IAutoMovieInspectionMeasured.ts +1 -1
  639. package/src/scene/inspection/IAutoMovieInspectionRequest.ts +1 -115
  640. package/src/scene/inspection/IAutoMovieInspectionTrail.ts +1 -21
  641. package/src/scene/inspection/IAutoMovieInspectionView.ts +1 -92
  642. package/src/scene/inspection/applyAutoMovieInspection.ts +12 -8
  643. package/src/scene/inspection/applyAutoMovieInspectionSection.ts +1 -1
  644. package/src/scene/inspection/applyAutoMovieInspectionShade.ts +2 -2
  645. package/src/scene/inspection/buildAutoMovieInspectionMarks.ts +1 -1
  646. package/src/scene/inspection/chooseAutoMovieInspectionMarks.ts +1 -1
  647. package/src/scene/inspection/colorAutoMovieInspectionObjects.ts +6 -3
  648. package/src/scene/inspection/expandAutoMovieInspectionSweep.ts +8 -15
  649. package/src/scene/inspection/focusAutoMovieInspection.ts +6 -4
  650. package/src/scene/inspection/formatAutoMovieInspectionCameraView.ts +2 -1
  651. package/src/scene/inspection/formatAutoMovieInspectionRequest.ts +6 -3
  652. package/src/scene/inspection/formatAutoMovieInspectionView.ts +4 -3
  653. package/src/scene/inspection/legendAutoMovieInspectionMarks.ts +6 -3
  654. package/src/scene/inspection/listAutoMovieInspectionKinds.ts +7 -10
  655. package/src/scene/inspection/markAutoMovieInspectionTrails.ts +4 -2
  656. package/src/scene/inspection/measureAutoMovieInspectionDefects.ts +5 -5
  657. package/src/scene/inspection/measureAutoMovieInspectionEdges.ts +1 -1
  658. package/src/scene/inspection/measureAutoMovieInspectionMeshes.ts +1 -1
  659. package/src/scene/inspection/measureAutoMovieInspectionPaths.ts +6 -3
  660. package/src/scene/inspection/mergeAutoMovieInspectionLegends.ts +1 -1
  661. package/src/scene/inspection/parseAutoMovieInspectionRequest.ts +10 -7
  662. package/src/scene/inspection/parseAutoMovieInspectionView.ts +6 -4
  663. package/src/scene/inspection/placeAutoMovieInspectionLabels.ts +6 -7
  664. package/src/scene/inspection/planAutoMovieInspectionTrailTimes.ts +4 -11
  665. package/src/scene/inspection/resolveAutoMovieInspectionColors.ts +7 -11
  666. package/src/scene/inspection/resolveAutoMovieInspectionView.ts +5 -3
  667. package/src/scene/inspection/sampleAutoMovieInspectionTrails.ts +1 -1
  668. package/src/scene/matchesAutoMovieShadowTextureProfile.ts +1 -1
  669. package/src/scene/observeAutoMovieRendererFrame.ts +3 -3
  670. package/src/scene/planAutoMovieShadowTextureTarget.ts +1 -1
  671. package/src/scene/readAutoMovieFilmDisplayTextureResidency.ts +3 -12
  672. package/src/scene/readAutoMovieMaterialTextureSources.ts +5 -3
  673. package/src/scene/readAutoMovieRenderTextureTarget.ts +1 -1
  674. package/src/scene/readAutoMovieShadowTextureTargets.ts +5 -5
  675. package/src/scene/readAutoMovieTextureSource.ts +4 -2
  676. package/src/scene/readAutoMovieTransmissionTextureTarget.ts +1 -1
  677. package/src/scene/resolveAutoMovieFilmBeautyComposition.ts +6 -4
  678. package/src/scene/semanticMask/IAutoMovieSemanticMaskBinding.ts +1 -24
  679. package/src/scene/semanticMask/attachAutoMovieSemanticMask.ts +1 -1
  680. package/src/scene/semanticMask/autoMovieSemanticMaskOf.ts +1 -1
  681. package/src/sliceCaptionSidecar.ts +2 -2
@@ -1,53 +1 @@
1
- import { IAutoMovieRenderBudgetAssessment } from "./IAutoMovieRenderBudgetAssessment.js";
2
- /**
3
- * One caller-supplied tier's budget evidence over its supplied shot assessments. The record itself proves neither complete shot coverage nor actual rendering or publication.
4
- *
5
- * @evidence contracts/development/design.md#principled-representation A versioned tier envelope sorts shot assessments, names declared tiers and orders over, not-run, incomplete and within outcomes, with empty populations reported not-run.
6
- * @evidence contracts/development/design.md#minimal-and-owned-surface The document is the stable publication unit for job-level budget evidence and delegates measurements to its shot assessments.
7
- * @evidence contracts/development/design.md#prohibited-design-shortcuts An undeclared tier remains explicitly unbudgeted, and no assessment population is treated as a successful measurement when empty.
8
- * @evidence contracts/development/common.md#meaningful-documentation Members state protocol identity, severity order, tier ordering, empty-population behavior and verdict-based digest scope.
9
- */
10
- export interface IAutoMovieRenderBudgetEvidence {
11
- /**
12
- * Evidence format.
13
- */
14
- version: 1;
15
- /**
16
- * Versioned evidence protocol.
17
- */
18
- protocol: "automovie.render-budget-evidence.v1";
19
- /**
20
- * Quality tier the job targeted.
21
- */
22
- tier: string;
23
- /**
24
- * Every tier the production declared, ascending.
25
- *
26
- * A job that found no budget for its own tier reads as `unbudgeted`, and this
27
- * is what tells a mistyped tier apart from a production that deliberately
28
- * declares none.
29
- */
30
- declaredTiers: string[];
31
- /**
32
- * Whether a budget was found for {@link tier}.
33
- */
34
- budgeted: boolean;
35
- /**
36
- * The worst outcome any shot produced.
37
- *
38
- * `over` beats `not-run`, which beats `incomplete`, which beats `within`. This aggregate states the supplied outcomes; autoMovieRenderBudgetRefusal returns text for over-limit and required-texture gaps, but no current job consumer automatically enforces it.
39
- *
40
- * A document over no shots at all is `not-run`, never `within`: nothing was
41
- * measured, and a verdict over an empty set is the cheapest way a report ends
42
- * up clearing a production it never read.
43
- */
44
- status: IAutoMovieRenderBudgetAssessment["status"];
45
- /**
46
- * One assessment per shot, ascending by shot id.
47
- */
48
- shots: IAutoMovieRenderBudgetAssessment[];
49
- /**
50
- * Digest over protocol, tier, declared tiers, aggregate status and ordered shot id/status/report-digest/target-digest tuples; full report and target values are represented only by their supplied digests.
51
- */
52
- digest: string;
53
- }
1
+ export type { IAutoMovieRenderBudgetEvidence } from "@automovie/interface";
@@ -1,27 +1 @@
1
- /**
2
- * What a capture host reports about the graphics context it drew through.
3
- *
4
- * The shape a Playwright/WebGL probe answers with, not a renderer identity:
5
- * `renderer` is WebGL's own spelling of the device string, and the render
6
- * target calls the same field `device`. Naming both here is what keeps the
7
- * translation in one place instead of at every call site.
8
- *
9
- * @evidence contracts/development/design.md#principled-representation The host probe reports API, vendor and renderer spellings; the renderer field is intentionally distinct from the target's device spelling until projection.
10
- * @evidence contracts/development/design.md#minimal-and-owned-surface This boundary type represents the graphics observation without claiming it has already become a sealed render target.
11
- * @evidence contracts/development/design.md#prohibited-design-shortcuts Masked vendor and renderer values remain host observations rather than invented device capabilities.
12
- * @evidence contracts/development/common.md#meaningful-documentation Members identify WebGL unmasked constants, their masked fallbacks and the API family string.
13
- */
14
- export interface IAutoMovieRenderGraphicsIdentity {
15
- /**
16
- * Graphics API family the context reported, such as `webgl2`.
17
- */
18
- api: string;
19
- /**
20
- * `UNMASKED_VENDOR_WEBGL`, or the plain `VENDOR` when it is masked.
21
- */
22
- vendor: string;
23
- /**
24
- * `UNMASKED_RENDERER_WEBGL`, or the plain `RENDERER` when it is masked.
25
- */
26
- renderer: string;
27
- }
1
+ export type { IAutoMovieRenderGraphicsIdentity } from "@automovie/interface";
@@ -1,6 +1,4 @@
1
- import { type IAutoMovieRenderTextureResidency, IAutoMovieRenderTextureSource } from "@automovie/engine";
2
- import { IAutoMovieCompiledShotSource, IAutoMovieRenderBudget, IAutoMovieRenderTargetAsset, IAutoMovieRenderTargetRenderer, IAutoMovieRenderTargetSettings } from "@automovie/interface";
3
- import { IAutoMovieRenderBudgetAssessment } from "./IAutoMovieRenderBudgetAssessment.js";
1
+ import type { IAutoMovieAssessRenderBudgetProps, IAutoMovieRenderBudgetAssessment } from "@automovie/interface";
4
2
  /**
5
3
  * Measure one caller-supplied compiled shot against an explicitly supplied budget, renderer identity, settings, assets and decoded texture/residency facts. The subject feeds both mask ownership and inventory measurement; the sealed target names those supplied inputs rather than proving that a renderer drew a frame.
6
4
  *
@@ -16,13 +14,4 @@ import { IAutoMovieRenderBudgetAssessment } from "./IAutoMovieRenderBudgetAssess
16
14
  * @evidence contracts/development/implementation.md#reuse-equivalent-work One subject and mask serve both inventory measurement and budget attribution; all sharing is confined to this artifact and the supplied renderer, settings, assets and residency facts.
17
15
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The assessment retains the inventory, mask, report and sealed target until its caller discards them; it neither acquires the renderer nor owns texture allocation or host tasks.
18
16
  */
19
- export declare const assessAutoMovieRenderBudget: (props: {
20
- compiled: IAutoMovieCompiledShotSource;
21
- shot: string;
22
- budget: IAutoMovieRenderBudget | null;
23
- renderer: IAutoMovieRenderTargetRenderer | null;
24
- settings: IAutoMovieRenderTargetSettings;
25
- assets: readonly IAutoMovieRenderTargetAsset[];
26
- textures?: readonly IAutoMovieRenderTextureSource[];
27
- textureResidency?: IAutoMovieRenderTextureResidency;
28
- }) => IAutoMovieRenderBudgetAssessment;
17
+ export declare const assessAutoMovieRenderBudget: (props: IAutoMovieAssessRenderBudgetProps) => IAutoMovieRenderBudgetAssessment;
@@ -1 +1 @@
1
- {"version":3,"file":"assessAutoMovieRenderBudget.js","sourceRoot":"","sources":["../../src/renderBudgetPreflight/assessAutoMovieRenderBudget.ts"],"names":[],"mappings":";;;AAAA,8CAS2B;AAW3B;;;;;;;;;;;;;;GAcG;AACI,MAAM,2BAA2B,GASC,CAAC,KAiBzC,EAAoC,EAAE;IACrC,IAAI,KAAK,CAAC,QAAQ,KAAK,IAAI;QACzB,OAAO;YACL,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,MAAM,EAAE,SAAS;YACjB,MAAM,EACJ,yIAAyI;YAC3I,MAAM,EAAE,IAAI;YACZ,SAAS,EAAE,IAAI;YACf,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,IAAI;SACb,CAAC;IACJ,IAAI,CAAC;QACH,MAAM,OAAO,GACX,IAAA,6CAAoC,EAAC;YACnC,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,gBAAgB,EAAE,KAAK,CAAC,gBAAgB;SACzC,CAAC,CAAC;QACL,MAAM,IAAI,GACR,IAAA,oCAA2B,EAAC,OAAO,CAAC,CAAC;QACvC,MAAM,UAAU,GACd,IAAA,kCAAyB,EAAC;YACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,MAAM,EAAE,KAAK,CAAC,MAAM;SACrB,CAAC,CAAC;QACL,MAAM,SAAS,GACb,IAAA,wCAA+B,EAAC;YAC9B,OAAO;YACP,IAAI;YACJ,QAAQ,EAAE,UAAU,CAAC,QAAQ;SAC9B,CAAC,CAAC;QACL,MAAM,QAAQ,GAAgB,IAAI,GAAG,CACnC,SAAS,CAAC,QAAQ,CAAC,OAAO,CACxB,CAAC,GAAwC,EAAY,EAAE,CACrD,GAAG,CAAC,MAAM,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CACxD,CACF,CAAC;QACF,MAAM,MAAM,GACV,IAAA,kCAAyB,EAAC;YACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,QAAQ,EAAE,UAAU,CAAC,QAAQ;YAC7B,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,aAAa,EAAE,IAAA,qCAA4B,EACzC,CAAC,KAAK,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,MAAM,CAC3B,CAAC,MAAqC,EAAW,EAAE,CACjD,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAC7B,EACD,KAAK,CAAC,gBAAgB,CACvB;SACF,CAAC,CAAC;QACL,MAAM,MAAM,GACV,IAAA,sCAA6B,EAAC;YAC5B,SAAS;YACT,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,IAAI;YACJ,MAAM;SACP,CAAC,CAAC;QACL,OAAO;YACL,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,MAAM,EAAE,IAAI;YACZ,MAAM;YACN,SAAS;YACT,IAAI;YACJ,MAAM;SACP,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,yKAAyK;QACzK,MAAM,IAAI,KAAK,CACb,mDAAmD,KAAK,CAAC,IAAI,MAAM,MAAM,CAAC,KAAK,CAAC,EAAE,EAClF,EAAE,KAAK,EAAE,KAAK,EAAE,CACjB,CAAC;IACJ,CAAC;AACH,CAAC,CAAC;AArGW,QAAA,2BAA2B,GAA3B,2BAA2B,CAqGtC"}
1
+ {"version":3,"file":"assessAutoMovieRenderBudget.js","sourceRoot":"","sources":["../../src/renderBudgetPreflight/assessAutoMovieRenderBudget.ts"],"names":[],"mappings":";;;AAAA,8CAO2B;AAO3B;;;;;;;;;;;;;;GAcG;AACI,MAAM,2BAA2B,GAEA,CACtC,KAAwC,EACN,EAAE;IACpC,IAAI,KAAK,CAAC,QAAQ,KAAK,IAAI;QACzB,OAAO;YACL,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,MAAM,EAAE,SAAS;YACjB,MAAM,EACJ,yIAAyI;YAC3I,MAAM,EAAE,IAAI;YACZ,SAAS,EAAE,IAAI;YACf,IAAI,EAAE,IAAI;YACV,MAAM,EAAE,IAAI;SACb,CAAC;IACJ,IAAI,CAAC;QACH,MAAM,OAAO,GACX,IAAA,6CAAoC,EAAC;YACnC,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,gBAAgB,EAAE,KAAK,CAAC,gBAAgB;SACzC,CAAC,CAAC;QACL,MAAM,IAAI,GACR,IAAA,oCAA2B,EAAC,OAAO,CAAC,CAAC;QACvC,MAAM,UAAU,GACd,IAAA,kCAAyB,EAAC;YACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,MAAM,EAAE,KAAK,CAAC,MAAM;SACrB,CAAC,CAAC;QACL,MAAM,SAAS,GACb,IAAA,wCAA+B,EAAC;YAC9B,OAAO;YACP,IAAI;YACJ,QAAQ,EAAE,UAAU,CAAC,QAAQ;SAC9B,CAAC,CAAC;QACL,MAAM,QAAQ,GAAgB,IAAI,GAAG,CACnC,SAAS,CAAC,QAAQ,CAAC,OAAO,CACxB,CAAC,GAAwC,EAAY,EAAE,CACrD,GAAG,CAAC,MAAM,IAAI,CAAC,GAAG,CAAC,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CACxD,CACF,CAAC;QACF,MAAM,MAAM,GACV,IAAA,kCAAyB,EAAC;YACxB,QAAQ,EAAE,KAAK,CAAC,QAAQ;YACxB,QAAQ,EAAE,UAAU,CAAC,QAAQ;YAC7B,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,aAAa,EAAE,IAAA,qCAA4B,EACzC,CAAC,KAAK,CAAC,QAAQ,IAAI,EAAE,CAAC,CAAC,MAAM,CAC3B,CAAC,MAAqC,EAAW,EAAE,CACjD,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAC7B,EACD,KAAK,CAAC,gBAAgB,CACvB;SACF,CAAC,CAAC;QACL,MAAM,MAAM,GACV,IAAA,sCAA6B,EAAC;YAC5B,SAAS;YACT,MAAM,EAAE,KAAK,CAAC,MAAM;YACpB,IAAI;YACJ,MAAM;SACP,CAAC,CAAC;QACL,OAAO;YACL,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,MAAM,EAAE,IAAI;YACZ,MAAM;YACN,SAAS;YACT,IAAI;YACJ,MAAM;SACP,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,yKAAyK;QACzK,MAAM,IAAI,KAAK,CACb,mDAAmD,KAAK,CAAC,IAAI,MAAM,MAAM,CAAC,KAAK,CAAC,EAAE,EAClF,EAAE,KAAK,EAAE,KAAK,EAAE,CACjB,CAAC;IACJ,CAAC;AACH,CAAC,CAAC;AA/EW,QAAA,2BAA2B,GAA3B,2BAA2B,CA+EtC"}
@@ -1 +1 @@
1
- {"version":3,"file":"assessAutoMovieRenderBudget.mjs","names":[],"sources":["../../src/renderBudgetPreflight/assessAutoMovieRenderBudget.ts"],"sourcesContent":["import {\n type IAutoMovieRenderTextureResidency,\n IAutoMovieRenderTextureSource,\n autoMovieRenderSubjectOfCompiledShot,\n autoMovieRenderTextureDigest,\n deriveAutoMovieSemanticMask,\n evaluateAutoMovieRenderBudget,\n measureAutoMovieRenderInventory,\n sealAutoMovieRenderTarget,\n} from \"@automovie/engine\";\nimport {\n IAutoMovieCompiledShotSource,\n IAutoMovieRenderBudget,\n IAutoMovieRenderTargetAsset,\n IAutoMovieRenderTargetRenderer,\n IAutoMovieRenderTargetSettings,\n} from \"@automovie/interface\";\n\nimport { IAutoMovieRenderBudgetAssessment } from \"./IAutoMovieRenderBudgetAssessment.js\";\n\n/**\n * Measure one caller-supplied compiled shot against an explicitly supplied budget, renderer identity, settings, assets and decoded texture/residency facts. The subject feeds both mask ownership and inventory measurement; the sealed target names those supplied inputs rather than proving that a renderer drew a frame.\n *\n * A null renderer produces not-run without inventing graphics identity. The helper performs no draw, capture-host acquisition or texture allocation, and the caller owns the provenance of its observation records.\n *\n * Maintained callers are tests and the internal budget-helper chain. ProductionDesign.renderBudgets has no current execution reader wiring this assessment into an automatic render-job gate; accepting an explicit budget here does not establish that integration.\n *\n * @evidence contracts/development/implementation.md#principled-implementation A compiled-shot subject supplies both inventory and semantic ownership; settings and renderer are sealed into the target, and only required texture assets contribute to its upload identity. Missing graphics identity produces not-run rather than an invented renderer.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure The preflight composes engine subject, mask, inventory, target and budget operations without duplicating validators. Its shot-specific wrapper normally retains the thrown cause, but String(error) can itself throw for an uninspectable thrown object before that wrapper is constructed.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No renderer is fabricated and the same compiled artifact feeds ownership and measurement. The catch still assumes diagnostic string conversion succeeds; a failed coercion can replace the intended context/cause wrapper and remains an unresolved failure-path limitation.\n * @evidence contracts/development/common.md#meaningful-documentation Documents explicit input ownership, supplied target identity, not-run versus incomplete analysis and the current internal/test-only caller boundary; it claims neither an observed draw nor automatic ProductionDesign.renderBudgets execution.\n * @evidence contracts/development/implementation.md#efficient-algorithms Cost is the delegated inventory and mask traversal plus a linear filter over texture sources; the target is sealed twice because measured required assets are needed to compute its final texture digest.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work One subject and mask serve both inventory measurement and budget attribution; all sharing is confined to this artifact and the supplied renderer, settings, assets and residency facts.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The assessment retains the inventory, mask, report and sealed target until its caller discards them; it neither acquires the renderer nor owns texture allocation or host tasks.\n */\nexport const assessAutoMovieRenderBudget: (props: {\n compiled: IAutoMovieCompiledShotSource;\n shot: string;\n budget: IAutoMovieRenderBudget | null;\n renderer: IAutoMovieRenderTargetRenderer | null;\n settings: IAutoMovieRenderTargetSettings;\n assets: readonly IAutoMovieRenderTargetAsset[];\n textures?: readonly IAutoMovieRenderTextureSource[];\n textureResidency?: IAutoMovieRenderTextureResidency;\n}) => IAutoMovieRenderBudgetAssessment = (props: {\n /** Fully builder-owned shot artifact. */\n compiled: IAutoMovieCompiledShotSource;\n /** Shot id the artifact belongs to. */\n shot: string;\n /** Explicit limits selected by the caller, or null to evaluate without a declared budget. */\n budget: IAutoMovieRenderBudget | null;\n /** Caller-supplied graphics identity, or null when no such observation is supplied. */\n renderer: IAutoMovieRenderTargetRenderer | null;\n /** Intended target settings supplied for measurement and sealing. */\n settings: IAutoMovieRenderTargetSettings;\n /** Caller-supplied asset identity records for the intended target. */\n assets: readonly IAutoMovieRenderTargetAsset[];\n /** Supplied decoded upload and sharing observations; the caller owns their acquisition and truth. */\n textures?: readonly IAutoMovieRenderTextureSource[];\n /** Supplied context/other-shot residency observations; this helper acquires no capture host. */\n textureResidency?: IAutoMovieRenderTextureResidency;\n}): IAutoMovieRenderBudgetAssessment => {\n if (props.renderer === null)\n return {\n shot: props.shot,\n status: \"not-run\",\n reason:\n \"the capture host reported no graphics identity, so no render target could be sealed and no budget verdict is attributable to a renderer\",\n report: null,\n inventory: null,\n mask: null,\n target: null,\n };\n try {\n const subject: ReturnType<typeof autoMovieRenderSubjectOfCompiledShot> =\n autoMovieRenderSubjectOfCompiledShot({\n compiled: props.compiled,\n textures: props.textures,\n textureResidency: props.textureResidency,\n });\n const mask: ReturnType<typeof deriveAutoMovieSemanticMask> =\n deriveAutoMovieSemanticMask(subject);\n const targetBase: ReturnType<typeof sealAutoMovieRenderTarget> =\n sealAutoMovieRenderTarget({\n renderer: props.renderer,\n settings: props.settings,\n assets: props.assets,\n });\n const inventory: ReturnType<typeof measureAutoMovieRenderInventory> =\n measureAutoMovieRenderInventory({\n subject,\n mask,\n settings: targetBase.settings,\n });\n const required: Set<string> = new Set(\n inventory.textures.flatMap(\n (row: (typeof inventory.textures)[number]): string[] =>\n row.assets ?? (row.asset === null ? [] : [row.asset]),\n ),\n );\n const target: ReturnType<typeof sealAutoMovieRenderTarget> =\n sealAutoMovieRenderTarget({\n renderer: props.renderer,\n settings: targetBase.settings,\n assets: props.assets,\n textureDigest: autoMovieRenderTextureDigest(\n (props.textures ?? []).filter(\n (source: IAutoMovieRenderTextureSource): boolean =>\n required.has(source.asset),\n ),\n props.textureResidency,\n ),\n });\n const report: ReturnType<typeof evaluateAutoMovieRenderBudget> =\n evaluateAutoMovieRenderBudget({\n inventory,\n budget: props.budget,\n mask,\n target,\n });\n return {\n shot: props.shot,\n status: report.status,\n reason: null,\n report,\n inventory,\n mask,\n target,\n };\n } catch (error) {\n // Add the caller's shot id to engine validation context and retain the original thrown value as the cause; String(error) contributes only the diagnostic representation.\n throw new Error(\n `render budget preflight could not measure shot \"${props.shot}\": ${String(error)}`,\n { cause: error },\n );\n }\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AAmCA,MAAa,+BAS6B,UAiBF;CACtC,IAAI,MAAM,aAAa,MACrB,OAAO;EACL,MAAM,MAAM;EACZ,QAAQ;EACR,QACE;EACF,QAAQ;EACR,WAAW;EACX,MAAM;EACN,QAAQ;CACV;CACF,IAAI;EACF,MAAM,UACJ,qCAAqC;GACnC,UAAU,MAAM;GAChB,UAAU,MAAM;GAChB,kBAAkB,MAAM;EAC1B,CAAC;EACH,MAAM,OACJ,4BAA4B,OAAO;EACrC,MAAM,aACJ,0BAA0B;GACxB,UAAU,MAAM;GAChB,UAAU,MAAM;GAChB,QAAQ,MAAM;EAChB,CAAC;EACH,MAAM,YACJ,gCAAgC;GAC9B;GACA;GACA,UAAU,WAAW;EACvB,CAAC;EACH,MAAM,WAAwB,IAAI,IAChC,UAAU,SAAS,SAChB,QACC,IAAI,WAAW,IAAI,UAAU,OAAO,CAAC,IAAI,CAAC,IAAI,KAAK,EACvD,CACF;EACA,MAAM,SACJ,0BAA0B;GACxB,UAAU,MAAM;GAChB,UAAU,WAAW;GACrB,QAAQ,MAAM;GACd,eAAe,8BACZ,MAAM,YAAY,CAAC,EAAA,CAAG,QACpB,WACC,SAAS,IAAI,OAAO,KAAK,CAC7B,GACA,MAAM,gBACR;EACF,CAAC;EACH,MAAM,SACJ,8BAA8B;GAC5B;GACA,QAAQ,MAAM;GACd;GACA;EACF,CAAC;EACH,OAAO;GACL,MAAM,MAAM;GACZ,QAAQ,OAAO;GACf,QAAQ;GACR;GACA;GACA;GACA;EACF;CACF,SAAS,OAAO;EAEd,MAAM,IAAI,MACR,mDAAmD,MAAM,KAAK,KAAK,OAAO,KAAK,KAC/E,EAAE,OAAO,MAAM,CACjB;CACF;AACF"}
1
+ {"version":3,"file":"assessAutoMovieRenderBudget.mjs","names":[],"sources":["../../src/renderBudgetPreflight/assessAutoMovieRenderBudget.ts"],"sourcesContent":["import {\n autoMovieRenderSubjectOfCompiledShot,\n autoMovieRenderTextureDigest,\n deriveAutoMovieSemanticMask,\n evaluateAutoMovieRenderBudget,\n measureAutoMovieRenderInventory,\n sealAutoMovieRenderTarget,\n} from \"@automovie/engine\";\nimport type {\n IAutoMovieAssessRenderBudgetProps,\n IAutoMovieRenderBudgetAssessment,\n IAutoMovieRenderTextureSource,\n} from \"@automovie/interface\";\n\n/**\n * Measure one caller-supplied compiled shot against an explicitly supplied budget, renderer identity, settings, assets and decoded texture/residency facts. The subject feeds both mask ownership and inventory measurement; the sealed target names those supplied inputs rather than proving that a renderer drew a frame.\n *\n * A null renderer produces not-run without inventing graphics identity. The helper performs no draw, capture-host acquisition or texture allocation, and the caller owns the provenance of its observation records.\n *\n * Maintained callers are tests and the internal budget-helper chain. ProductionDesign.renderBudgets has no current execution reader wiring this assessment into an automatic render-job gate; accepting an explicit budget here does not establish that integration.\n *\n * @evidence contracts/development/implementation.md#principled-implementation A compiled-shot subject supplies both inventory and semantic ownership; settings and renderer are sealed into the target, and only required texture assets contribute to its upload identity. Missing graphics identity produces not-run rather than an invented renderer.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure The preflight composes engine subject, mask, inventory, target and budget operations without duplicating validators. Its shot-specific wrapper normally retains the thrown cause, but String(error) can itself throw for an uninspectable thrown object before that wrapper is constructed.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No renderer is fabricated and the same compiled artifact feeds ownership and measurement. The catch still assumes diagnostic string conversion succeeds; a failed coercion can replace the intended context/cause wrapper and remains an unresolved failure-path limitation.\n * @evidence contracts/development/common.md#meaningful-documentation Documents explicit input ownership, supplied target identity, not-run versus incomplete analysis and the current internal/test-only caller boundary; it claims neither an observed draw nor automatic ProductionDesign.renderBudgets execution.\n * @evidence contracts/development/implementation.md#efficient-algorithms Cost is the delegated inventory and mask traversal plus a linear filter over texture sources; the target is sealed twice because measured required assets are needed to compute its final texture digest.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work One subject and mask serve both inventory measurement and budget attribution; all sharing is confined to this artifact and the supplied renderer, settings, assets and residency facts.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The assessment retains the inventory, mask, report and sealed target until its caller discards them; it neither acquires the renderer nor owns texture allocation or host tasks.\n */\nexport const assessAutoMovieRenderBudget: (\n props: IAutoMovieAssessRenderBudgetProps,\n) => IAutoMovieRenderBudgetAssessment = (\n props: IAutoMovieAssessRenderBudgetProps,\n): IAutoMovieRenderBudgetAssessment => {\n if (props.renderer === null)\n return {\n shot: props.shot,\n status: \"not-run\",\n reason:\n \"the capture host reported no graphics identity, so no render target could be sealed and no budget verdict is attributable to a renderer\",\n report: null,\n inventory: null,\n mask: null,\n target: null,\n };\n try {\n const subject: ReturnType<typeof autoMovieRenderSubjectOfCompiledShot> =\n autoMovieRenderSubjectOfCompiledShot({\n compiled: props.compiled,\n textures: props.textures,\n textureResidency: props.textureResidency,\n });\n const mask: ReturnType<typeof deriveAutoMovieSemanticMask> =\n deriveAutoMovieSemanticMask(subject);\n const targetBase: ReturnType<typeof sealAutoMovieRenderTarget> =\n sealAutoMovieRenderTarget({\n renderer: props.renderer,\n settings: props.settings,\n assets: props.assets,\n });\n const inventory: ReturnType<typeof measureAutoMovieRenderInventory> =\n measureAutoMovieRenderInventory({\n subject,\n mask,\n settings: targetBase.settings,\n });\n const required: Set<string> = new Set(\n inventory.textures.flatMap(\n (row: (typeof inventory.textures)[number]): string[] =>\n row.assets ?? (row.asset === null ? [] : [row.asset]),\n ),\n );\n const target: ReturnType<typeof sealAutoMovieRenderTarget> =\n sealAutoMovieRenderTarget({\n renderer: props.renderer,\n settings: targetBase.settings,\n assets: props.assets,\n textureDigest: autoMovieRenderTextureDigest(\n (props.textures ?? []).filter(\n (source: IAutoMovieRenderTextureSource): boolean =>\n required.has(source.asset),\n ),\n props.textureResidency,\n ),\n });\n const report: ReturnType<typeof evaluateAutoMovieRenderBudget> =\n evaluateAutoMovieRenderBudget({\n inventory,\n budget: props.budget,\n mask,\n target,\n });\n return {\n shot: props.shot,\n status: report.status,\n reason: null,\n report,\n inventory,\n mask,\n target,\n };\n } catch (error) {\n // Add the caller's shot id to engine validation context and retain the original thrown value as the cause; String(error) contributes only the diagnostic representation.\n throw new Error(\n `render budget preflight could not measure shot \"${props.shot}\": ${String(error)}`,\n { cause: error },\n );\n }\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AA6BA,MAAa,+BAGX,UACqC;CACrC,IAAI,MAAM,aAAa,MACrB,OAAO;EACL,MAAM,MAAM;EACZ,QAAQ;EACR,QACE;EACF,QAAQ;EACR,WAAW;EACX,MAAM;EACN,QAAQ;CACV;CACF,IAAI;EACF,MAAM,UACJ,qCAAqC;GACnC,UAAU,MAAM;GAChB,UAAU,MAAM;GAChB,kBAAkB,MAAM;EAC1B,CAAC;EACH,MAAM,OACJ,4BAA4B,OAAO;EACrC,MAAM,aACJ,0BAA0B;GACxB,UAAU,MAAM;GAChB,UAAU,MAAM;GAChB,QAAQ,MAAM;EAChB,CAAC;EACH,MAAM,YACJ,gCAAgC;GAC9B;GACA;GACA,UAAU,WAAW;EACvB,CAAC;EACH,MAAM,WAAwB,IAAI,IAChC,UAAU,SAAS,SAChB,QACC,IAAI,WAAW,IAAI,UAAU,OAAO,CAAC,IAAI,CAAC,IAAI,KAAK,EACvD,CACF;EACA,MAAM,SACJ,0BAA0B;GACxB,UAAU,MAAM;GAChB,UAAU,WAAW;GACrB,QAAQ,MAAM;GACd,eAAe,8BACZ,MAAM,YAAY,CAAC,EAAA,CAAG,QACpB,WACC,SAAS,IAAI,OAAO,KAAK,CAC7B,GACA,MAAM,gBACR;EACF,CAAC;EACH,MAAM,SACJ,8BAA8B;GAC5B;GACA,QAAQ,MAAM;GACd;GACA;EACF,CAAC;EACH,OAAO;GACL,MAAM,MAAM;GACZ,QAAQ,OAAO;GACf,QAAQ;GACR;GACA;GACA;GACA;EACF;CACF,SAAS,OAAO;EAEd,MAAM,IAAI,MACR,mDAAmD,MAAM,KAAK,KAAK,OAAO,KAAK,KAC/E,EAAE,OAAO,MAAM,CACjB;CACF;AACF"}
@@ -1,6 +1,4 @@
1
- import { IAutoMovieRenderBudget } from "@automovie/interface";
2
- import { IAutoMovieRenderBudgetAssessment } from "./IAutoMovieRenderBudgetAssessment.js";
3
- import { IAutoMovieRenderBudgetEvidence } from "./IAutoMovieRenderBudgetEvidence.js";
1
+ import type { IAutoMovieRenderBudgetEvidence, IAutoMovieRenderBudgetEvidenceProps } from "@automovie/interface";
4
2
  /**
5
3
  * Fold caller-supplied assessments into one tier's budget-evidence value. This reducer writes no publication and verifies no report provenance or rendered population.
6
4
  *
@@ -16,8 +14,4 @@ import { IAutoMovieRenderBudgetEvidence } from "./IAutoMovieRenderBudgetEvidence
16
14
  * @evidence contracts/development/implementation.md#reuse-equivalent-work Existing assessment reports and targets are referenced rather than recomputed; canonical ordering permits callers to reuse byte-identical evidence for equivalent verdict inputs.
17
15
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The output retains the sorted assessment array and tier list; sorting copies the input array and opens no file, encoder or renderer resource.
18
16
  */
19
- export declare const autoMovieRenderBudgetEvidence: (props: {
20
- tier: string;
21
- budgets: readonly IAutoMovieRenderBudget[] | undefined;
22
- assessments: readonly IAutoMovieRenderBudgetAssessment[];
23
- }) => IAutoMovieRenderBudgetEvidence;
17
+ export declare const autoMovieRenderBudgetEvidence: (props: IAutoMovieRenderBudgetEvidenceProps) => IAutoMovieRenderBudgetEvidence;
@@ -1 +1 @@
1
- {"version":3,"file":"autoMovieRenderBudgetEvidence.js","sourceRoot":"","sources":["../../src/renderBudgetPreflight/autoMovieRenderBudgetEvidence.ts"],"names":[],"mappings":";;;AAAA,8CAG2B;AAK3B,qFAA+E;AAE/E,MAAM,YAAY,GAEd,EAAE,MAAM,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;AAExD;;;;;;;;;;;;;;GAcG;AACI,MAAM,6BAA6B,GAIH,CAAC,KAOvC,EAAkC,EAAE;IACnC,MAAM,KAAK,GAAuC,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,IAAI,CAC3E,CACE,IAAsC,EACtC,KAAuC,EAC/B,EAAE,CAAC,IAAA,kCAAyB,EAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,CAC9D,CAAC;IACF,MAAM,MAAM,GACV,KAAK,CAAC,MAAM,KAAK,CAAC;QAChB,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,KAAK,CAAC,MAAM,CACV,CACE,KAAiD,EACjD,IAAsC,EACM,EAAE,CAC9C,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,YAAY,CAAC,KAAK,CAAC;YAC7C,CAAC,CAAC,IAAI,CAAC,MAAM;YACb,CAAC,CAAC,KAAK,EACX,QAAQ,CACT,CAAC;IACR,MAAM,aAAa,GAAa;QAC9B,GAAG,IAAI,GAAG,CACR,CAAC,KAAK,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,GAAG,CACvB,CAAC,MAA8B,EAAU,EAAE,CAAC,MAAM,CAAC,IAAI,CACxD,CACF;KACF,CAAC,IAAI,CAAC,kCAAyB,CAAC,CAAC;IAClC,OAAO;QACL,OAAO,EAAE,CAAC;QACV,QAAQ,EAAE,qCAAqC;QAC/C,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,aAAa;QACb,QAAQ,EAAE,IAAA,4DAA2B,EAAC,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI;QACzE,MAAM;QACN,KAAK;QACL,MAAM,EAAE,IAAA,8BAAqB,EAC3B,IAAI,CAAC,SAAS,CAAC;YACb,QAAQ,EAAE,qCAAqC;YAC/C,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,aAAa;YACb,MAAM;YACN,KAAK,EAAE,KAAK,CAAC,GAAG,CACd,CACE,IAAsC,EAMtC,EAAE,CAAC;gBACH,IAAI,CAAC,IAAI;gBACT,IAAI,CAAC,MAAM;gBACX,IAAI,CAAC,MAAM,EAAE,MAAM,IAAI,IAAI;gBAC3B,IAAI,CAAC,MAAM,EAAE,MAAM,IAAI,IAAI;aAC5B,CACF;SACF,CAAC,CACH;KACF,CAAC;AACJ,CAAC,CAAC;AAtEW,QAAA,6BAA6B,GAA7B,6BAA6B,CAsExC"}
1
+ {"version":3,"file":"autoMovieRenderBudgetEvidence.js","sourceRoot":"","sources":["../../src/renderBudgetPreflight/autoMovieRenderBudgetEvidence.ts"],"names":[],"mappings":";;;AAAA,8CAG2B;AAQ3B,qFAA+E;AAE/E,MAAM,YAAY,GAEd,EAAE,MAAM,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC;AAExD;;;;;;;;;;;;;;GAcG;AACI,MAAM,6BAA6B,GAEJ,CACpC,KAA0C,EACV,EAAE;IAClC,MAAM,KAAK,GAAuC,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC,IAAI,CAC3E,CACE,IAAsC,EACtC,KAAuC,EAC/B,EAAE,CAAC,IAAA,kCAAyB,EAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,CAC9D,CAAC;IACF,MAAM,MAAM,GACV,KAAK,CAAC,MAAM,KAAK,CAAC;QAChB,CAAC,CAAC,SAAS;QACX,CAAC,CAAC,KAAK,CAAC,MAAM,CACV,CACE,KAAiD,EACjD,IAAsC,EACM,EAAE,CAC9C,YAAY,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,YAAY,CAAC,KAAK,CAAC;YAC7C,CAAC,CAAC,IAAI,CAAC,MAAM;YACb,CAAC,CAAC,KAAK,EACX,QAAQ,CACT,CAAC;IACR,MAAM,aAAa,GAAa;QAC9B,GAAG,IAAI,GAAG,CACR,CAAC,KAAK,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,GAAG,CACvB,CAAC,MAA8B,EAAU,EAAE,CAAC,MAAM,CAAC,IAAI,CACxD,CACF;KACF,CAAC,IAAI,CAAC,kCAAyB,CAAC,CAAC;IAClC,OAAO;QACL,OAAO,EAAE,CAAC;QACV,QAAQ,EAAE,qCAAqC;QAC/C,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,aAAa;QACb,QAAQ,EAAE,IAAA,4DAA2B,EAAC,KAAK,CAAC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,IAAI;QACzE,MAAM;QACN,KAAK;QACL,MAAM,EAAE,IAAA,8BAAqB,EAC3B,IAAI,CAAC,SAAS,CAAC;YACb,QAAQ,EAAE,qCAAqC;YAC/C,IAAI,EAAE,KAAK,CAAC,IAAI;YAChB,aAAa;YACb,MAAM;YACN,KAAK,EAAE,KAAK,CAAC,GAAG,CACd,CACE,IAAsC,EAMtC,EAAE,CAAC;gBACH,IAAI,CAAC,IAAI;gBACT,IAAI,CAAC,MAAM;gBACX,IAAI,CAAC,MAAM,EAAE,MAAM,IAAI,IAAI;gBAC3B,IAAI,CAAC,MAAM,EAAE,MAAM,IAAI,IAAI;aAC5B,CACF;SACF,CAAC,CACH;KACF,CAAC;AACJ,CAAC,CAAC;AA/DW,QAAA,6BAA6B,GAA7B,6BAA6B,CA+DxC"}
@@ -1 +1 @@
1
- {"version":3,"file":"autoMovieRenderBudgetEvidence.mjs","names":[],"sources":["../../src/renderBudgetPreflight/autoMovieRenderBudgetEvidence.ts"],"sourcesContent":["import {\n autoMovieRenderDigest,\n compareAutoMovieRenderIds,\n} from \"@automovie/engine\";\nimport { IAutoMovieRenderBudget } from \"@automovie/interface\";\n\nimport { IAutoMovieRenderBudgetAssessment } from \"./IAutoMovieRenderBudgetAssessment.js\";\nimport { IAutoMovieRenderBudgetEvidence } from \"./IAutoMovieRenderBudgetEvidence.js\";\nimport { selectAutoMovieRenderBudget } from \"./selectAutoMovieRenderBudget.js\";\n\nconst STATUS_ORDER: Readonly<\n Record<IAutoMovieRenderBudgetAssessment[\"status\"], number>\n> = { within: 0, incomplete: 1, \"not-run\": 2, over: 3 };\n\n/**\n * Fold caller-supplied assessments into one tier's budget-evidence value. This reducer writes no publication and verifies no report provenance or rendered population.\n *\n * The digest covers the protocol, tier, declared tier list, aggregate status and ordered shot tuples of id, status, report digest and target digest. It does not serialize the complete report or target into this hash, but their supplied digests participate in identity; equivalent tuples produce the same content address.\n *\n * `budgets` is the production's whole declaration, read for `declaredTiers` and for whether this tier was budgeted at all. The assessments must already have been made against {@link selectAutoMovieRenderBudget}'s answer for the same tier; hand them a different budget and `budgeted` describes the declaration while every finding describes something else. The caller supplies one assessment per shot id; sorting alone does not validate that denominator.\n *\n * @evidence contracts/development/implementation.md#principled-implementation Sorted shot verdicts and deduplicated sorted declared tiers determine the worst status; structured JSON encoding distinguishes arbitrary string field contents before hashing, avoiding delimiter aliases.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure This reducer owns the tier-level envelope while selectAutoMovieRenderBudget owns tier lookup and individual assessments own measurement. Current callers are tests and internal budget helpers; no automatic production publication or render-job gate is wired here.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts An empty shot set reports not-run, and incomplete or over verdicts retain their own status; no absent report is interpreted as clearance.\n * @evidence contracts/development/common.md#meaningful-documentation The comment lists the exact digest denominator and caller obligations for selected-budget assessment and unique shot ids; evidence members define ordering, severity and the empty-population outcome.\n * @evidence contracts/development/implementation.md#efficient-algorithms For S assessments and B budgets, sorting costs O(S log S+B log B), reduction and serialization are linear, and retained output holds S assessment references and B tier strings.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work Existing assessment reports and targets are referenced rather than recomputed; canonical ordering permits callers to reuse byte-identical evidence for equivalent verdict inputs.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The output retains the sorted assessment array and tier list; sorting copies the input array and opens no file, encoder or renderer resource.\n */\nexport const autoMovieRenderBudgetEvidence: (props: {\n tier: string;\n budgets: readonly IAutoMovieRenderBudget[] | undefined;\n assessments: readonly IAutoMovieRenderBudgetAssessment[];\n}) => IAutoMovieRenderBudgetEvidence = (props: {\n /** Quality tier the job targeted. */\n tier: string;\n /** Budgets the production declares. */\n budgets: readonly IAutoMovieRenderBudget[] | undefined;\n /** One assessment per shot; order is normalized here. */\n assessments: readonly IAutoMovieRenderBudgetAssessment[];\n}): IAutoMovieRenderBudgetEvidence => {\n const shots: IAutoMovieRenderBudgetAssessment[] = [...props.assessments].sort(\n (\n left: IAutoMovieRenderBudgetAssessment,\n right: IAutoMovieRenderBudgetAssessment,\n ): number => compareAutoMovieRenderIds(left.shot, right.shot),\n );\n const status: IAutoMovieRenderBudgetAssessment[\"status\"] =\n shots.length === 0\n ? \"not-run\"\n : shots.reduce<IAutoMovieRenderBudgetAssessment[\"status\"]>(\n (\n worst: IAutoMovieRenderBudgetAssessment[\"status\"],\n shot: IAutoMovieRenderBudgetAssessment,\n ): IAutoMovieRenderBudgetAssessment[\"status\"] =>\n STATUS_ORDER[shot.status] > STATUS_ORDER[worst]\n ? shot.status\n : worst,\n \"within\",\n );\n const declaredTiers: string[] = [\n ...new Set(\n (props.budgets ?? []).map(\n (budget: IAutoMovieRenderBudget): string => budget.tier,\n ),\n ),\n ].sort(compareAutoMovieRenderIds);\n return {\n version: 1,\n protocol: \"automovie.render-budget-evidence.v1\",\n tier: props.tier,\n declaredTiers,\n budgeted: selectAutoMovieRenderBudget(props.budgets, props.tier) !== null,\n status,\n shots,\n digest: autoMovieRenderDigest(\n JSON.stringify({\n protocol: \"automovie.render-budget-evidence.v1\",\n tier: props.tier,\n declaredTiers,\n status,\n shots: shots.map(\n (\n shot: IAutoMovieRenderBudgetAssessment,\n ): [\n string,\n IAutoMovieRenderBudgetAssessment[\"status\"],\n string | null,\n string | null,\n ] => [\n shot.shot,\n shot.status,\n shot.report?.digest ?? null,\n shot.target?.digest ?? null,\n ],\n ),\n }),\n ),\n };\n};\n"],"mappings":";;;AAUA,MAAM,eAEF;CAAE,QAAQ;CAAG,YAAY;CAAG,WAAW;CAAG,MAAM;AAAE;;;;;;;;;;;;;;;;AAiBtD,MAAa,iCAI2B,UAOF;CACpC,MAAM,QAA4C,CAAC,GAAG,MAAM,WAAW,CAAC,CAAC,MAErE,MACA,UACW,0BAA0B,KAAK,MAAM,MAAM,IAAI,CAC9D;CACA,MAAM,SACJ,MAAM,WAAW,IACb,YACA,MAAM,QAEF,OACA,SAEA,aAAa,KAAK,UAAU,aAAa,SACrC,KAAK,SACL,OACN,QACF;CACN,MAAM,gBAA0B,CAC9B,GAAG,IAAI,KACJ,MAAM,WAAW,CAAC,EAAA,CAAG,KACnB,WAA2C,OAAO,IACrD,CACF,CACF,CAAC,CAAC,KAAK,yBAAyB;CAChC,OAAO;EACL,SAAS;EACT,UAAU;EACV,MAAM,MAAM;EACZ;EACA,UAAU,4BAA4B,MAAM,SAAS,MAAM,IAAI,MAAM;EACrE;EACA;EACA,QAAQ,sBACN,KAAK,UAAU;GACb,UAAU;GACV,MAAM,MAAM;GACZ;GACA;GACA,OAAO,MAAM,KAET,SAMG;IACH,KAAK;IACL,KAAK;IACL,KAAK,QAAQ,UAAU;IACvB,KAAK,QAAQ,UAAU;GACzB,CACF;EACF,CAAC,CACH;CACF;AACF"}
1
+ {"version":3,"file":"autoMovieRenderBudgetEvidence.mjs","names":[],"sources":["../../src/renderBudgetPreflight/autoMovieRenderBudgetEvidence.ts"],"sourcesContent":["import {\n autoMovieRenderDigest,\n compareAutoMovieRenderIds,\n} from \"@automovie/engine\";\nimport type {\n IAutoMovieRenderBudget,\n IAutoMovieRenderBudgetAssessment,\n IAutoMovieRenderBudgetEvidence,\n IAutoMovieRenderBudgetEvidenceProps,\n} from \"@automovie/interface\";\n\nimport { selectAutoMovieRenderBudget } from \"./selectAutoMovieRenderBudget.js\";\n\nconst STATUS_ORDER: Readonly<\n Record<IAutoMovieRenderBudgetAssessment[\"status\"], number>\n> = { within: 0, incomplete: 1, \"not-run\": 2, over: 3 };\n\n/**\n * Fold caller-supplied assessments into one tier's budget-evidence value. This reducer writes no publication and verifies no report provenance or rendered population.\n *\n * The digest covers the protocol, tier, declared tier list, aggregate status and ordered shot tuples of id, status, report digest and target digest. It does not serialize the complete report or target into this hash, but their supplied digests participate in identity; equivalent tuples produce the same content address.\n *\n * `budgets` is the production's whole declaration, read for `declaredTiers` and for whether this tier was budgeted at all. The assessments must already have been made against {@link selectAutoMovieRenderBudget}'s answer for the same tier; hand them a different budget and `budgeted` describes the declaration while every finding describes something else. The caller supplies one assessment per shot id; sorting alone does not validate that denominator.\n *\n * @evidence contracts/development/implementation.md#principled-implementation Sorted shot verdicts and deduplicated sorted declared tiers determine the worst status; structured JSON encoding distinguishes arbitrary string field contents before hashing, avoiding delimiter aliases.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure This reducer owns the tier-level envelope while selectAutoMovieRenderBudget owns tier lookup and individual assessments own measurement. Current callers are tests and internal budget helpers; no automatic production publication or render-job gate is wired here.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts An empty shot set reports not-run, and incomplete or over verdicts retain their own status; no absent report is interpreted as clearance.\n * @evidence contracts/development/common.md#meaningful-documentation The comment lists the exact digest denominator and caller obligations for selected-budget assessment and unique shot ids; evidence members define ordering, severity and the empty-population outcome.\n * @evidence contracts/development/implementation.md#efficient-algorithms For S assessments and B budgets, sorting costs O(S log S+B log B), reduction and serialization are linear, and retained output holds S assessment references and B tier strings.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work Existing assessment reports and targets are referenced rather than recomputed; canonical ordering permits callers to reuse byte-identical evidence for equivalent verdict inputs.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The output retains the sorted assessment array and tier list; sorting copies the input array and opens no file, encoder or renderer resource.\n */\nexport const autoMovieRenderBudgetEvidence: (\n props: IAutoMovieRenderBudgetEvidenceProps,\n) => IAutoMovieRenderBudgetEvidence = (\n props: IAutoMovieRenderBudgetEvidenceProps,\n): IAutoMovieRenderBudgetEvidence => {\n const shots: IAutoMovieRenderBudgetAssessment[] = [...props.assessments].sort(\n (\n left: IAutoMovieRenderBudgetAssessment,\n right: IAutoMovieRenderBudgetAssessment,\n ): number => compareAutoMovieRenderIds(left.shot, right.shot),\n );\n const status: IAutoMovieRenderBudgetAssessment[\"status\"] =\n shots.length === 0\n ? \"not-run\"\n : shots.reduce<IAutoMovieRenderBudgetAssessment[\"status\"]>(\n (\n worst: IAutoMovieRenderBudgetAssessment[\"status\"],\n shot: IAutoMovieRenderBudgetAssessment,\n ): IAutoMovieRenderBudgetAssessment[\"status\"] =>\n STATUS_ORDER[shot.status] > STATUS_ORDER[worst]\n ? shot.status\n : worst,\n \"within\",\n );\n const declaredTiers: string[] = [\n ...new Set(\n (props.budgets ?? []).map(\n (budget: IAutoMovieRenderBudget): string => budget.tier,\n ),\n ),\n ].sort(compareAutoMovieRenderIds);\n return {\n version: 1,\n protocol: \"automovie.render-budget-evidence.v1\",\n tier: props.tier,\n declaredTiers,\n budgeted: selectAutoMovieRenderBudget(props.budgets, props.tier) !== null,\n status,\n shots,\n digest: autoMovieRenderDigest(\n JSON.stringify({\n protocol: \"automovie.render-budget-evidence.v1\",\n tier: props.tier,\n declaredTiers,\n status,\n shots: shots.map(\n (\n shot: IAutoMovieRenderBudgetAssessment,\n ): [\n string,\n IAutoMovieRenderBudgetAssessment[\"status\"],\n string | null,\n string | null,\n ] => [\n shot.shot,\n shot.status,\n shot.report?.digest ?? null,\n shot.target?.digest ?? null,\n ],\n ),\n }),\n ),\n };\n};\n"],"mappings":";;;AAaA,MAAM,eAEF;CAAE,QAAQ;CAAG,YAAY;CAAG,WAAW;CAAG,MAAM;AAAE;;;;;;;;;;;;;;;;AAiBtD,MAAa,iCAGX,UACmC;CACnC,MAAM,QAA4C,CAAC,GAAG,MAAM,WAAW,CAAC,CAAC,MAErE,MACA,UACW,0BAA0B,KAAK,MAAM,MAAM,IAAI,CAC9D;CACA,MAAM,SACJ,MAAM,WAAW,IACb,YACA,MAAM,QAEF,OACA,SAEA,aAAa,KAAK,UAAU,aAAa,SACrC,KAAK,SACL,OACN,QACF;CACN,MAAM,gBAA0B,CAC9B,GAAG,IAAI,KACJ,MAAM,WAAW,CAAC,EAAA,CAAG,KACnB,WAA2C,OAAO,IACrD,CACF,CACF,CAAC,CAAC,KAAK,yBAAyB;CAChC,OAAO;EACL,SAAS;EACT,UAAU;EACV,MAAM,MAAM;EACZ;EACA,UAAU,4BAA4B,MAAM,SAAS,MAAM,IAAI,MAAM;EACrE;EACA;EACA,QAAQ,sBACN,KAAK,UAAU;GACb,UAAU;GACV,MAAM,MAAM;GACZ;GACA;GACA,OAAO,MAAM,KAET,SAMG;IACH,KAAK;IACL,KAAK;IACL,KAAK,QAAQ,UAAU;IACvB,KAAK,QAAQ,UAAU;GACzB,CACF;EACF,CAAC,CACH;CACF;AACF"}
@@ -1,4 +1,4 @@
1
- import { IAutoMovieRenderBudgetEvidence } from "./IAutoMovieRenderBudgetEvidence.js";
1
+ import type { IAutoMovieRenderBudgetEvidence } from "@automovie/interface";
2
2
  /**
3
3
  * Format the caller-supplied budget evidence as an over-limit or unknown-required-texture diagnostic, or return null when neither condition is recorded. This helper returns text; it raises no job refusal and does not verify the provenance of supplied reports.
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"autoMovieRenderBudgetRefusal.js","sourceRoot":"","sources":["../../src/renderBudgetPreflight/autoMovieRenderBudgetRefusal.ts"],"names":[],"mappings":";;;AAQA;;;;;;;;;;;;;;GAcG;AACI,MAAM,4BAA4B,GAEpB,CACnB,QAAwC,EACzB,EAAE;IACjB,MAAM,IAAI,GAAuC,QAAQ,CAAC,KAAK,CAAC,MAAM,CACpE,CAAC,IAAsC,EAAW,EAAE,CAAC,IAAI,CAAC,MAAM,KAAK,MAAM,CAC5E,CAAC;IACF,MAAM,OAAO,GAAuC,QAAQ,CAAC,KAAK,CAAC,MAAM,CACvE,CAAC,IAAsC,EAAW,EAAE,CAClD,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,IAAI,CACvB,CAAC,GAAgC,EAAW,EAAE,CAC5C,GAAG,CAAC,MAAM,KAAK,cAAc,IAAI,GAAG,CAAC,MAAM,KAAK,UAAU,CAC7D,KAAK,IAAI,CACb,CAAC;IACF,MAAM,cAAc,GAClB,OAAO,CAAC,MAAM,KAAK,CAAC;QAClB,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,gBAAgB,QAAQ,CAAC,IAAI,2CAA2C,OAAO,CAAC,MAAM,aAAa,OAAO;aACvG,GAAG,CACF,CAAC,IAAsC,EAAU,EAAE,CACjD,GAAG,IAAI,CAAC,IAAI,KAAK,IAAI;aAClB,SAAU,CAAC,IAAI,CAAC,MAAM,CACrB,CAAC,GAAgC,EAAW,EAAE,CAC5C,GAAG,CAAC,MAAM,KAAK,cAAc,IAAI,GAAG,CAAC,MAAM,KAAK,UAAU,CAC7D;aACA,GAAG,CACF,CAAC,GAAgC,EAAU,EAAE,CAC3C,GAAG,GAAG,CAAC,MAAM,KAAK,GAAG,CAAC,MAAM,EAAE,CACjC;aACA,IAAI,CAAC,IAAI,CAAC,EAAE,CAClB;aACA,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACvB,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,cAAc,CAAC;IAC7C,MAAM,WAAW,GAAW,gBAAgB,QAAQ,CAAC,IAAI,uBAAuB,IAAI,CAAC,MAAM,aAAa,IAAI;SACzG,GAAG,CAAC,CAAC,IAAsC,EAAU,EAAE;QACtD,wEAAwE;QACxE,uEAAuE;QACvE,yEAAyE;QACzE,qBAAqB;QACrB,MAAM,UAAU,GAAyB,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,IAAI,EAAE,CAAC;aACnE,MAAM,CACL,CAAC,OAAgC,EAAW,EAAE,CAC5C,OAAO,CAAC,MAAM,KAAK,MAAM,CAC5B;aACA,GAAG,CACF,CAAC,OAAgC,EAAiB,EAAE,CAAC,OAAO,CAAC,QAAQ,CACtE,CAAC;QACJ,OAAO,GAAG,IAAI,CAAC,IAAI,KACjB,UAAU,CAAC,MAAM,KAAK,CAAC;YACrB,CAAC,CAAC,+DAA+D;YACjE,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAC1B,EAAE,CAAC;IACL,CAAC,CAAC;SACD,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACjB,OAAO,cAAc,KAAK,IAAI;QAC5B,CAAC,CAAC,WAAW;QACb,CAAC,CAAC,GAAG,WAAW,KAAK,cAAc,EAAE,CAAC;AAC1C,CAAC,CAAC;AA1DW,QAAA,4BAA4B,GAA5B,4BAA4B,CA0DvC"}
1
+ {"version":3,"file":"autoMovieRenderBudgetRefusal.js","sourceRoot":"","sources":["../../src/renderBudgetPreflight/autoMovieRenderBudgetRefusal.ts"],"names":[],"mappings":";;;AAOA;;;;;;;;;;;;;;GAcG;AACI,MAAM,4BAA4B,GAEpB,CACnB,QAAwC,EACzB,EAAE;IACjB,MAAM,IAAI,GAAuC,QAAQ,CAAC,KAAK,CAAC,MAAM,CACpE,CAAC,IAAsC,EAAW,EAAE,CAAC,IAAI,CAAC,MAAM,KAAK,MAAM,CAC5E,CAAC;IACF,MAAM,OAAO,GAAuC,QAAQ,CAAC,KAAK,CAAC,MAAM,CACvE,CAAC,IAAsC,EAAW,EAAE,CAClD,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,IAAI,CACvB,CAAC,GAAgC,EAAW,EAAE,CAC5C,GAAG,CAAC,MAAM,KAAK,cAAc,IAAI,GAAG,CAAC,MAAM,KAAK,UAAU,CAC7D,KAAK,IAAI,CACb,CAAC;IACF,MAAM,cAAc,GAClB,OAAO,CAAC,MAAM,KAAK,CAAC;QAClB,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,gBAAgB,QAAQ,CAAC,IAAI,2CAA2C,OAAO,CAAC,MAAM,aAAa,OAAO;aACvG,GAAG,CACF,CAAC,IAAsC,EAAU,EAAE,CACjD,GAAG,IAAI,CAAC,IAAI,KAAK,IAAI;aAClB,SAAU,CAAC,IAAI,CAAC,MAAM,CACrB,CAAC,GAAgC,EAAW,EAAE,CAC5C,GAAG,CAAC,MAAM,KAAK,cAAc,IAAI,GAAG,CAAC,MAAM,KAAK,UAAU,CAC7D;aACA,GAAG,CACF,CAAC,GAAgC,EAAU,EAAE,CAC3C,GAAG,GAAG,CAAC,MAAM,KAAK,GAAG,CAAC,MAAM,EAAE,CACjC;aACA,IAAI,CAAC,IAAI,CAAC,EAAE,CAClB;aACA,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACvB,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,cAAc,CAAC;IAC7C,MAAM,WAAW,GAAW,gBAAgB,QAAQ,CAAC,IAAI,uBAAuB,IAAI,CAAC,MAAM,aAAa,IAAI;SACzG,GAAG,CAAC,CAAC,IAAsC,EAAU,EAAE;QACtD,wEAAwE;QACxE,uEAAuE;QACvE,yEAAyE;QACzE,qBAAqB;QACrB,MAAM,UAAU,GAAyB,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,IAAI,EAAE,CAAC;aACnE,MAAM,CACL,CAAC,OAAgC,EAAW,EAAE,CAC5C,OAAO,CAAC,MAAM,KAAK,MAAM,CAC5B;aACA,GAAG,CACF,CAAC,OAAgC,EAAiB,EAAE,CAAC,OAAO,CAAC,QAAQ,CACtE,CAAC;QACJ,OAAO,GAAG,IAAI,CAAC,IAAI,KACjB,UAAU,CAAC,MAAM,KAAK,CAAC;YACrB,CAAC,CAAC,+DAA+D;YACjE,CAAC,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAC1B,EAAE,CAAC;IACL,CAAC,CAAC;SACD,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;IACjB,OAAO,cAAc,KAAK,IAAI;QAC5B,CAAC,CAAC,WAAW;QACb,CAAC,CAAC,GAAG,WAAW,KAAK,cAAc,EAAE,CAAC;AAC1C,CAAC,CAAC;AA1DW,QAAA,4BAA4B,GAA5B,4BAA4B,CA0DvC"}
@@ -1 +1 @@
1
- {"version":3,"file":"autoMovieRenderBudgetRefusal.mjs","names":[],"sources":["../../src/renderBudgetPreflight/autoMovieRenderBudgetRefusal.ts"],"sourcesContent":["import type {\n IAutoMovieRenderAnalysisGap,\n IAutoMovieRenderFinding,\n} from \"@automovie/interface\";\n\nimport type { IAutoMovieRenderBudgetAssessment } from \"./IAutoMovieRenderBudgetAssessment.js\";\nimport { IAutoMovieRenderBudgetEvidence } from \"./IAutoMovieRenderBudgetEvidence.js\";\n\n/**\n * Format the caller-supplied budget evidence as an over-limit or unknown-required-texture diagnostic, or return null when neither condition is recorded. This helper returns text; it raises no job refusal and does not verify the provenance of supplied reports.\n *\n * Every recorded over-limit and required-texture count/byte gap remains visible together; absent storage facts do not become clearance. Other incomplete analyses retain their owning contract's outcome, so a null result is not blanket admission.\n *\n * Maintained consumers are internal budget helpers and tests. ProductionDesign.renderBudgets has no execution reader connecting this text to automatic render-job refusal.\n *\n * @evidence contracts/development/implementation.md#principled-implementation Over-limit assessments and gaps in required texture counts or bytes produce independent diagnostics, so unknown storage remains a refusal even beside an over-limit verdict.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure The function converts budget evidence into an operator message and leaves each measurement or recovery explanation with the owning engine report.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A finding-less over verdict still names its shot instead of disappearing, and unavailable texture bounds are never treated as zero.\n * @evidence contracts/development/common.md#meaningful-documentation Defines the explicit supplied-evidence diagnostic conditions, null-result limits and internal/test-only caller boundary, including the absent automatic ProductionDesign.renderBudgets refusal wiring.\n * @evidence contracts/development/implementation.md#efficient-algorithms For S shots and their total G gaps and findings, the fixed filter and message-building passes cost O(S+G) time and allocate only the selected records and resulting strings.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work Messages reuse recorded gap reasons and finding recoveries; no inventory or budget measurement is repeated during refusal formatting.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Filtered shot arrays and recovery strings are temporary, and only the returned diagnostic string escapes; no evidence store or host handle is acquired.\n */\nexport const autoMovieRenderBudgetRefusal: (\n evidence: IAutoMovieRenderBudgetEvidence,\n) => string | null = (\n evidence: IAutoMovieRenderBudgetEvidence,\n): string | null => {\n const over: IAutoMovieRenderBudgetAssessment[] = evidence.shots.filter(\n (shot: IAutoMovieRenderBudgetAssessment): boolean => shot.status === \"over\",\n );\n const unknown: IAutoMovieRenderBudgetAssessment[] = evidence.shots.filter(\n (shot: IAutoMovieRenderBudgetAssessment): boolean =>\n shot.inventory?.gaps.some(\n (gap: IAutoMovieRenderAnalysisGap): boolean =>\n gap.metric === \"textureBytes\" || gap.metric === \"textures\",\n ) === true,\n );\n const unknownMessage: string | null =\n unknown.length === 0\n ? null\n : `Render tier \"${evidence.tier}\" has no safe resident texture bound in ${unknown.length} shot(s): ${unknown\n .map(\n (shot: IAutoMovieRenderBudgetAssessment): string =>\n `${shot.shot}: ${shot\n .inventory!.gaps.filter(\n (gap: IAutoMovieRenderAnalysisGap): boolean =>\n gap.metric === \"textureBytes\" || gap.metric === \"textures\",\n )\n .map(\n (gap: IAutoMovieRenderAnalysisGap): string =>\n `${gap.reason}; ${gap.remedy}`,\n )\n .join(\"; \")}`,\n )\n .join(\" | \")}`;\n if (over.length === 0) return unknownMessage;\n const overMessage: string = `Render tier \"${evidence.tier}\" is over budget in ${over.length} shot(s): ${over\n .map((shot: IAutoMovieRenderBudgetAssessment): string => {\n // A verdict carries the findings that produced it. One that does not is\n // a caller-built record, and the refusal still has to name the shot: a\n // message that quietly dropped it would leave an over-budget render with\n // nothing to act on.\n const recoveries: Array<string | null> = (shot.report?.findings ?? [])\n .filter(\n (finding: IAutoMovieRenderFinding): boolean =>\n finding.status === \"over\",\n )\n .map(\n (finding: IAutoMovieRenderFinding): string | null => finding.recovery,\n );\n return `${shot.shot}: ${\n recoveries.length === 0\n ? \"the assessment recorded no over-limit finding to recover from\"\n : recoveries.join(\"; \")\n }`;\n })\n .join(\" | \")}`;\n return unknownMessage === null\n ? overMessage\n : `${overMessage}\\n${unknownMessage}`;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAuBA,MAAa,gCAGX,aACkB;CAClB,MAAM,OAA2C,SAAS,MAAM,QAC7D,SAAoD,KAAK,WAAW,MACvE;CACA,MAAM,UAA8C,SAAS,MAAM,QAChE,SACC,KAAK,WAAW,KAAK,MAClB,QACC,IAAI,WAAW,kBAAkB,IAAI,WAAW,UACpD,MAAM,IACV;CACA,MAAM,iBACJ,QAAQ,WAAW,IACf,OACA,gBAAgB,SAAS,KAAK,0CAA0C,QAAQ,OAAO,YAAY,QAChG,KACE,SACC,GAAG,KAAK,KAAK,IAAI,KACd,UAAW,KAAK,QACd,QACC,IAAI,WAAW,kBAAkB,IAAI,WAAW,UACpD,CAAC,CACA,KACE,QACC,GAAG,IAAI,OAAO,IAAI,IAAI,QAC1B,CAAC,CACA,KAAK,IAAI,GAChB,CAAC,CACA,KAAK,KAAK;CACnB,IAAI,KAAK,WAAW,GAAG,OAAO;CAC9B,MAAM,cAAsB,gBAAgB,SAAS,KAAK,sBAAsB,KAAK,OAAO,YAAY,KACrG,KAAK,SAAmD;EAKvD,MAAM,cAAoC,KAAK,QAAQ,YAAY,CAAC,EAAA,CACjE,QACE,YACC,QAAQ,WAAW,MACvB,CAAC,CACA,KACE,YAAoD,QAAQ,QAC/D;EACF,OAAO,GAAG,KAAK,KAAK,IAClB,WAAW,WAAW,IAClB,kEACA,WAAW,KAAK,IAAI;CAE5B,CAAC,CAAC,CACD,KAAK,KAAK;CACb,OAAO,mBAAmB,OACtB,cACA,GAAG,YAAY,IAAI;AACzB"}
1
+ {"version":3,"file":"autoMovieRenderBudgetRefusal.mjs","names":[],"sources":["../../src/renderBudgetPreflight/autoMovieRenderBudgetRefusal.ts"],"sourcesContent":["import type {\n IAutoMovieRenderAnalysisGap,\n IAutoMovieRenderBudgetAssessment,\n IAutoMovieRenderBudgetEvidence,\n IAutoMovieRenderFinding,\n} from \"@automovie/interface\";\n\n/**\n * Format the caller-supplied budget evidence as an over-limit or unknown-required-texture diagnostic, or return null when neither condition is recorded. This helper returns text; it raises no job refusal and does not verify the provenance of supplied reports.\n *\n * Every recorded over-limit and required-texture count/byte gap remains visible together; absent storage facts do not become clearance. Other incomplete analyses retain their owning contract's outcome, so a null result is not blanket admission.\n *\n * Maintained consumers are internal budget helpers and tests. ProductionDesign.renderBudgets has no execution reader connecting this text to automatic render-job refusal.\n *\n * @evidence contracts/development/implementation.md#principled-implementation Over-limit assessments and gaps in required texture counts or bytes produce independent diagnostics, so unknown storage remains a refusal even beside an over-limit verdict.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure The function converts budget evidence into an operator message and leaves each measurement or recovery explanation with the owning engine report.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A finding-less over verdict still names its shot instead of disappearing, and unavailable texture bounds are never treated as zero.\n * @evidence contracts/development/common.md#meaningful-documentation Defines the explicit supplied-evidence diagnostic conditions, null-result limits and internal/test-only caller boundary, including the absent automatic ProductionDesign.renderBudgets refusal wiring.\n * @evidence contracts/development/implementation.md#efficient-algorithms For S shots and their total G gaps and findings, the fixed filter and message-building passes cost O(S+G) time and allocate only the selected records and resulting strings.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work Messages reuse recorded gap reasons and finding recoveries; no inventory or budget measurement is repeated during refusal formatting.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Filtered shot arrays and recovery strings are temporary, and only the returned diagnostic string escapes; no evidence store or host handle is acquired.\n */\nexport const autoMovieRenderBudgetRefusal: (\n evidence: IAutoMovieRenderBudgetEvidence,\n) => string | null = (\n evidence: IAutoMovieRenderBudgetEvidence,\n): string | null => {\n const over: IAutoMovieRenderBudgetAssessment[] = evidence.shots.filter(\n (shot: IAutoMovieRenderBudgetAssessment): boolean => shot.status === \"over\",\n );\n const unknown: IAutoMovieRenderBudgetAssessment[] = evidence.shots.filter(\n (shot: IAutoMovieRenderBudgetAssessment): boolean =>\n shot.inventory?.gaps.some(\n (gap: IAutoMovieRenderAnalysisGap): boolean =>\n gap.metric === \"textureBytes\" || gap.metric === \"textures\",\n ) === true,\n );\n const unknownMessage: string | null =\n unknown.length === 0\n ? null\n : `Render tier \"${evidence.tier}\" has no safe resident texture bound in ${unknown.length} shot(s): ${unknown\n .map(\n (shot: IAutoMovieRenderBudgetAssessment): string =>\n `${shot.shot}: ${shot\n .inventory!.gaps.filter(\n (gap: IAutoMovieRenderAnalysisGap): boolean =>\n gap.metric === \"textureBytes\" || gap.metric === \"textures\",\n )\n .map(\n (gap: IAutoMovieRenderAnalysisGap): string =>\n `${gap.reason}; ${gap.remedy}`,\n )\n .join(\"; \")}`,\n )\n .join(\" | \")}`;\n if (over.length === 0) return unknownMessage;\n const overMessage: string = `Render tier \"${evidence.tier}\" is over budget in ${over.length} shot(s): ${over\n .map((shot: IAutoMovieRenderBudgetAssessment): string => {\n // A verdict carries the findings that produced it. One that does not is\n // a caller-built record, and the refusal still has to name the shot: a\n // message that quietly dropped it would leave an over-budget render with\n // nothing to act on.\n const recoveries: Array<string | null> = (shot.report?.findings ?? [])\n .filter(\n (finding: IAutoMovieRenderFinding): boolean =>\n finding.status === \"over\",\n )\n .map(\n (finding: IAutoMovieRenderFinding): string | null => finding.recovery,\n );\n return `${shot.shot}: ${\n recoveries.length === 0\n ? \"the assessment recorded no over-limit finding to recover from\"\n : recoveries.join(\"; \")\n }`;\n })\n .join(\" | \")}`;\n return unknownMessage === null\n ? overMessage\n : `${overMessage}\\n${unknownMessage}`;\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAsBA,MAAa,gCAGX,aACkB;CAClB,MAAM,OAA2C,SAAS,MAAM,QAC7D,SAAoD,KAAK,WAAW,MACvE;CACA,MAAM,UAA8C,SAAS,MAAM,QAChE,SACC,KAAK,WAAW,KAAK,MAClB,QACC,IAAI,WAAW,kBAAkB,IAAI,WAAW,UACpD,MAAM,IACV;CACA,MAAM,iBACJ,QAAQ,WAAW,IACf,OACA,gBAAgB,SAAS,KAAK,0CAA0C,QAAQ,OAAO,YAAY,QAChG,KACE,SACC,GAAG,KAAK,KAAK,IAAI,KACd,UAAW,KAAK,QACd,QACC,IAAI,WAAW,kBAAkB,IAAI,WAAW,UACpD,CAAC,CACA,KACE,QACC,GAAG,IAAI,OAAO,IAAI,IAAI,QAC1B,CAAC,CACA,KAAK,IAAI,GAChB,CAAC,CACA,KAAK,KAAK;CACnB,IAAI,KAAK,WAAW,GAAG,OAAO;CAC9B,MAAM,cAAsB,gBAAgB,SAAS,KAAK,sBAAsB,KAAK,OAAO,YAAY,KACrG,KAAK,SAAmD;EAKvD,MAAM,cAAoC,KAAK,QAAQ,YAAY,CAAC,EAAA,CACjE,QACE,YACC,QAAQ,WAAW,MACvB,CAAC,CACA,KACE,YAAoD,QAAQ,QAC/D;EACF,OAAO,GAAG,KAAK,KAAK,IAClB,WAAW,WAAW,IAClB,kEACA,WAAW,KAAK,IAAI;CAE5B,CAAC,CAAC,CACD,KAAK,KAAK;CACb,OAAO,mBAAmB,OACtB,cACA,GAAG,YAAY,IAAI;AACzB"}
@@ -1,5 +1,4 @@
1
- import { IAutoMovieRenderTargetRenderer } from "@automovie/interface";
2
- import { IAutoMovieRenderGraphicsIdentity } from "./IAutoMovieRenderGraphicsIdentity.js";
1
+ import type { IAutoMovieRenderGraphicsIdentity, IAutoMovieRenderTargetRenderer } from "@automovie/interface";
3
2
  /**
4
3
  * Read a capture host's graphics probe as a render-target renderer identity, or
5
4
  * `null` when no probe ran.
@@ -1 +1 @@
1
- {"version":3,"file":"autoMovieRenderTargetRendererOfGraphics.js","sourceRoot":"","sources":["../../src/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.ts"],"names":[],"mappings":";;;AAIA;;;;;;;;;;;;;;;;;;GAkBG;AACI,MAAM,uCAAuC,GAEP,CAC3C,QAA6D,EACtB,EAAE,CACzC,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,SAAS;IACzC,CAAC,CAAC,IAAI;IACN,CAAC,CAAC;QACE,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAC;QACrC,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC;QAC3C,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;KAC9C,CAAC;AAXK,QAAA,uCAAuC,GAAvC,uCAAuC,CAW5C;AAER,MAAM,OAAO,GAAgD,CAC3D,KAAa,EACb,QAAgB,EACR,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"autoMovieRenderTargetRendererOfGraphics.js","sourceRoot":"","sources":["../../src/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.ts"],"names":[],"mappings":";;;AAKA;;;;;;;;;;;;;;;;;;GAkBG;AACI,MAAM,uCAAuC,GAEP,CAC3C,QAA6D,EACtB,EAAE,CACzC,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,SAAS;IACzC,CAAC,CAAC,IAAI;IACN,CAAC,CAAC;QACE,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAC;QACrC,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAAC;QAC3C,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC,QAAQ,EAAE,SAAS,CAAC;KAC9C,CAAC;AAXK,QAAA,uCAAuC,GAAvC,uCAAuC,CAW5C;AAER,MAAM,OAAO,GAAgD,CAC3D,KAAa,EACb,QAAgB,EACR,EAAE,CAAC,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"autoMovieRenderTargetRendererOfGraphics.mjs","names":[],"sources":["../../src/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.ts"],"sourcesContent":["import { IAutoMovieRenderTargetRenderer } from \"@automovie/interface\";\n\nimport { IAutoMovieRenderGraphicsIdentity } from \"./IAutoMovieRenderGraphicsIdentity.js\";\n\n/**\n * Read a capture host's graphics probe as a render-target renderer identity, or\n * `null` when no probe ran.\n *\n * `null` is the whole point of the return type. A render job that could not ask\n * the browser what it is drawing with has not measured its target, and a\n * fabricated `\"unknown/unknown/unknown\"` identity would fingerprint every such\n * host identically, so two different GPUs would produce one digest and a stale\n * report would read as fresh. A host that answered but withheld a field is a\n * different case and keeps the `unknown` the target contract documents.\n *\n * @evidence contracts/development/implementation.md#principled-implementation Absent graphics probes remain null; an answered probe maps its renderer spelling to device and substitutes unknown only for individual blank fields, preserving the distinction between no observation and masked information.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure This projection is the single boundary translating the host graphics record into the engine target renderer record.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Whitespace is inspected solely to detect missing information; present device strings remain unchanged and no absent probe is assigned a fabricated identity.\n * @evidence contracts/development/common.md#meaningful-documentation The comment explains null versus masked fields and the renderer-to-device rename, including why absence cannot fingerprint a measured graphics context.\n * @evidence contracts/development/implementation.md#efficient-algorithms Three string trims and one fixed-size record allocation cost linear time in the supplied identity strings, independent of the rendered scene.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work The projection reads the supplied probe once and retains no cache; identical device names alone cannot authorize sharing actual render effects.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Only three string references escape in a new record; the projection holds no graphics context, browser session or process resource.\n */\nexport const autoMovieRenderTargetRendererOfGraphics: (\n graphics: IAutoMovieRenderGraphicsIdentity | null | undefined,\n) => IAutoMovieRenderTargetRenderer | null = (\n graphics: IAutoMovieRenderGraphicsIdentity | null | undefined,\n): IAutoMovieRenderTargetRenderer | null =>\n graphics === null || graphics === undefined\n ? null\n : {\n api: blankAs(graphics.api, \"unknown\"),\n vendor: blankAs(graphics.vendor, \"unknown\"),\n device: blankAs(graphics.renderer, \"unknown\"),\n };\n\nconst blankAs: (value: string, fallback: string) => string = (\n value: string,\n fallback: string,\n): string => (value.trim().length === 0 ? fallback : value);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAuBA,MAAa,2CAGX,aAEA,aAAa,QAAQ,aAAa,KAAA,IAC9B,OACA;CACE,KAAK,QAAQ,SAAS,KAAK,SAAS;CACpC,QAAQ,QAAQ,SAAS,QAAQ,SAAS;CAC1C,QAAQ,QAAQ,SAAS,UAAU,SAAS;AAC9C;AAEN,MAAM,WACJ,OACA,aACY,MAAM,KAAK,CAAC,CAAC,WAAW,IAAI,WAAW"}
1
+ {"version":3,"file":"autoMovieRenderTargetRendererOfGraphics.mjs","names":[],"sources":["../../src/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.ts"],"sourcesContent":["import type {\n IAutoMovieRenderGraphicsIdentity,\n IAutoMovieRenderTargetRenderer,\n} from \"@automovie/interface\";\n\n/**\n * Read a capture host's graphics probe as a render-target renderer identity, or\n * `null` when no probe ran.\n *\n * `null` is the whole point of the return type. A render job that could not ask\n * the browser what it is drawing with has not measured its target, and a\n * fabricated `\"unknown/unknown/unknown\"` identity would fingerprint every such\n * host identically, so two different GPUs would produce one digest and a stale\n * report would read as fresh. A host that answered but withheld a field is a\n * different case and keeps the `unknown` the target contract documents.\n *\n * @evidence contracts/development/implementation.md#principled-implementation Absent graphics probes remain null; an answered probe maps its renderer spelling to device and substitutes unknown only for individual blank fields, preserving the distinction between no observation and masked information.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure This projection is the single boundary translating the host graphics record into the engine target renderer record.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Whitespace is inspected solely to detect missing information; present device strings remain unchanged and no absent probe is assigned a fabricated identity.\n * @evidence contracts/development/common.md#meaningful-documentation The comment explains null versus masked fields and the renderer-to-device rename, including why absence cannot fingerprint a measured graphics context.\n * @evidence contracts/development/implementation.md#efficient-algorithms Three string trims and one fixed-size record allocation cost linear time in the supplied identity strings, independent of the rendered scene.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work The projection reads the supplied probe once and retains no cache; identical device names alone cannot authorize sharing actual render effects.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Only three string references escape in a new record; the projection holds no graphics context, browser session or process resource.\n */\nexport const autoMovieRenderTargetRendererOfGraphics: (\n graphics: IAutoMovieRenderGraphicsIdentity | null | undefined,\n) => IAutoMovieRenderTargetRenderer | null = (\n graphics: IAutoMovieRenderGraphicsIdentity | null | undefined,\n): IAutoMovieRenderTargetRenderer | null =>\n graphics === null || graphics === undefined\n ? null\n : {\n api: blankAs(graphics.api, \"unknown\"),\n vendor: blankAs(graphics.vendor, \"unknown\"),\n device: blankAs(graphics.renderer, \"unknown\"),\n };\n\nconst blankAs: (value: string, fallback: string) => string = (\n value: string,\n fallback: string,\n): string => (value.trim().length === 0 ? fallback : value);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAwBA,MAAa,2CAGX,aAEA,aAAa,QAAQ,aAAa,KAAA,IAC9B,OACA;CACE,KAAK,QAAQ,SAAS,KAAK,SAAS;CACpC,QAAQ,QAAQ,SAAS,QAAQ,SAAS;CAC1C,QAAQ,QAAQ,SAAS,UAAU,SAAS;AAC9C;AAEN,MAAM,WACJ,OACA,aACY,MAAM,KAAK,CAAC,CAAC,WAAW,IAAI,WAAW"}
@@ -1,4 +1,4 @@
1
- import { IAutoMovieCompiledShotSource, IAutoMovieRenderTargetSettings } from "@automovie/interface";
1
+ import type { IAutoMovieRenderTargetSettings, IAutoMovieRenderTargetSettingsOfShotProps } from "@automovie/interface";
2
2
  /**
3
3
  * Project intended renderer settings from one compiled shot and caller-supplied target dimensions.
4
4
  *
@@ -14,10 +14,4 @@ import { IAutoMovieCompiledShotSource, IAutoMovieRenderTargetSettings } from "@a
14
14
  * @evidence contracts/development/implementation.md#reuse-equivalent-work Compiled environment policy is read directly without rebuilding scene state or resealing assets; each invocation reflects its supplied dimensions and pixel ratio.
15
15
  * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The settings record contains only scalar values, so no compiled geometry, GPU allocation or host session is retained.
16
16
  */
17
- export declare const autoMovieRenderTargetSettingsOfShot: (props: {
18
- compiled: IAutoMovieCompiledShotSource;
19
- width: number;
20
- height: number;
21
- pixelRatio: number;
22
- delivery: IAutoMovieRenderTargetSettings["toneMapping"];
23
- }) => IAutoMovieRenderTargetSettings;
17
+ export declare const autoMovieRenderTargetSettingsOfShot: (props: IAutoMovieRenderTargetSettingsOfShotProps) => IAutoMovieRenderTargetSettings;
@@ -1 +1 @@
1
- {"version":3,"file":"autoMovieRenderTargetSettingsOfShot.js","sourceRoot":"","sources":["../../src/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.ts"],"names":[],"mappings":";;;AAKA;;;;;;;;;;;;;;GAcG;AACI,MAAM,mCAAmC,GAMT,CAAC,KAWvC,EAAkC,EAAE;IACnC,MAAM,WAAW,GAEN,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,WAAW,IAAI,IAAI,CAAC;IACpD,MAAM,OAAO,GAKX,WAAW,KAAK,IAAI,IAAI,WAAW,CAAC,OAAO,CAAC,OAAO;QACjD,CAAC,CAAC,WAAW,CAAC,OAAO;QACrB,CAAC,CAAC,IAAI,CAAC;IACX,OAAO;QACL,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,UAAU,EAAE,KAAK,CAAC,UAAU;QAC5B,OAAO,EAAE,OAAO,KAAK,IAAI;QACzB,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI;QACpD,WAAW,EAAE,WAAW,EAAE,WAAW,IAAI,KAAK,CAAC,QAAQ;QACvD,QAAQ,EAAE,WAAW,EAAE,QAAQ,IAAI,CAAC;KACrC,CAAC;AACJ,CAAC,CAAC;AAtCW,QAAA,mCAAmC,GAAnC,mCAAmC,CAsC9C"}
1
+ {"version":3,"file":"autoMovieRenderTargetSettingsOfShot.js","sourceRoot":"","sources":["../../src/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.ts"],"names":[],"mappings":";;;AAMA;;;;;;;;;;;;;;GAcG;AACI,MAAM,mCAAmC,GAEV,CACpC,KAAgD,EAChB,EAAE;IAClC,MAAM,WAAW,GAEN,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,WAAW,IAAI,IAAI,CAAC;IACpD,MAAM,OAAO,GAKX,WAAW,KAAK,IAAI,IAAI,WAAW,CAAC,OAAO,CAAC,OAAO;QACjD,CAAC,CAAC,WAAW,CAAC,OAAO;QACrB,CAAC,CAAC,IAAI,CAAC;IACX,OAAO;QACL,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,UAAU,EAAE,KAAK,CAAC,UAAU;QAC5B,OAAO,EAAE,OAAO,KAAK,IAAI;QACzB,UAAU,EAAE,OAAO,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI;QACpD,WAAW,EAAE,WAAW,EAAE,WAAW,IAAI,KAAK,CAAC,QAAQ;QACvD,QAAQ,EAAE,WAAW,EAAE,QAAQ,IAAI,CAAC;KACrC,CAAC;AACJ,CAAC,CAAC;AAzBW,QAAA,mCAAmC,GAAnC,mCAAmC,CAyB9C"}
@@ -1 +1 @@
1
- {"version":3,"file":"autoMovieRenderTargetSettingsOfShot.mjs","names":[],"sources":["../../src/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.ts"],"sourcesContent":["import {\n IAutoMovieCompiledShotSource,\n IAutoMovieRenderTargetSettings,\n} from \"@automovie/interface\";\n\n/**\n * Project intended renderer settings from one compiled shot and caller-supplied target dimensions.\n *\n * A scene environment supplies the beauty pass's curve, exposure and shadow policy. Without one this helper projects delivery tone mapping, exposure one and disabled shadows, assuming a host initialized to those defaults. applyRendererEnvironment instead preserves existing host exposure/shadows on that branch, so this projection is not a live settings observation.\n *\n * `shadowType` is `none` exactly when the supplied policy disables shadows, preserving the render-target invariant without claiming a live shadow allocation.\n *\n * @evidence contracts/development/implementation.md#principled-implementation Scene environment values supply tone mapping, exposure and shadow policy; disabled shadows map to shadowType none. Without an environment this helper chooses exposure one and disabled shadows, which match live settings only under the caller's neutral-host premise, since applyRendererEnvironment preserves existing exposure/shadows on that branch.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure This boundary projects compiled scene policy into target settings while the engine target sealer owns runtime admission of dimensions and setting values.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No shot is special-cased; absent-environment defaults are explicit projected assumptions, not observed host state. A previously configured host can differ, and this helper does not compensate for or detect that mismatch.\n * @evidence contracts/development/common.md#meaningful-documentation The comment names environment precedence and shadow invariants, and input members specify drawing-buffer pixels, device pixel ratio and delivery tone mapping.\n * @evidence contracts/development/implementation.md#efficient-algorithms The projection reads one environment and allocates one settings record, performing constant work irrespective of shot geometry or frame count.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work Compiled environment policy is read directly without rebuilding scene state or resealing assets; each invocation reflects its supplied dimensions and pixel ratio.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The settings record contains only scalar values, so no compiled geometry, GPU allocation or host session is retained.\n */\nexport const autoMovieRenderTargetSettingsOfShot: (props: {\n compiled: IAutoMovieCompiledShotSource;\n width: number;\n height: number;\n pixelRatio: number;\n delivery: IAutoMovieRenderTargetSettings[\"toneMapping\"];\n}) => IAutoMovieRenderTargetSettings = (props: {\n /** Fully builder-owned shot artifact. */\n compiled: IAutoMovieCompiledShotSource;\n /** Drawing-buffer width in pixels. */\n width: number;\n /** Drawing-buffer height in pixels. */\n height: number;\n /** Device pixel ratio the capture host pins. */\n pixelRatio: number;\n /** The delivery's own tone mapping, for a scene that declares none. */\n delivery: IAutoMovieRenderTargetSettings[\"toneMapping\"];\n}): IAutoMovieRenderTargetSettings => {\n const environment:\n | IAutoMovieCompiledShotSource[\"scene\"][\"environment\"]\n | null = props.compiled.scene.environment ?? null;\n const shadows:\n | NonNullable<\n IAutoMovieCompiledShotSource[\"scene\"][\"environment\"]\n >[\"shadows\"]\n | null =\n environment !== null && environment.shadows.enabled\n ? environment.shadows\n : null;\n return {\n width: props.width,\n height: props.height,\n pixelRatio: props.pixelRatio,\n shadows: shadows !== null,\n shadowType: shadows === null ? \"none\" : shadows.type,\n toneMapping: environment?.toneMapping ?? props.delivery,\n exposure: environment?.exposure ?? 1,\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAoBA,MAAa,uCAM2B,UAWF;CACpC,MAAM,cAEK,MAAM,SAAS,MAAM,eAAe;CAC/C,MAAM,UAKJ,gBAAgB,QAAQ,YAAY,QAAQ,UACxC,YAAY,UACZ;CACN,OAAO;EACL,OAAO,MAAM;EACb,QAAQ,MAAM;EACd,YAAY,MAAM;EAClB,SAAS,YAAY;EACrB,YAAY,YAAY,OAAO,SAAS,QAAQ;EAChD,aAAa,aAAa,eAAe,MAAM;EAC/C,UAAU,aAAa,YAAY;CACrC;AACF"}
1
+ {"version":3,"file":"autoMovieRenderTargetSettingsOfShot.mjs","names":[],"sources":["../../src/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.ts"],"sourcesContent":["import type {\n IAutoMovieCompiledShotSource,\n IAutoMovieRenderTargetSettings,\n IAutoMovieRenderTargetSettingsOfShotProps,\n} from \"@automovie/interface\";\n\n/**\n * Project intended renderer settings from one compiled shot and caller-supplied target dimensions.\n *\n * A scene environment supplies the beauty pass's curve, exposure and shadow policy. Without one this helper projects delivery tone mapping, exposure one and disabled shadows, assuming a host initialized to those defaults. applyRendererEnvironment instead preserves existing host exposure/shadows on that branch, so this projection is not a live settings observation.\n *\n * `shadowType` is `none` exactly when the supplied policy disables shadows, preserving the render-target invariant without claiming a live shadow allocation.\n *\n * @evidence contracts/development/implementation.md#principled-implementation Scene environment values supply tone mapping, exposure and shadow policy; disabled shadows map to shadowType none. Without an environment this helper chooses exposure one and disabled shadows, which match live settings only under the caller's neutral-host premise, since applyRendererEnvironment preserves existing exposure/shadows on that branch.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure This boundary projects compiled scene policy into target settings while the engine target sealer owns runtime admission of dimensions and setting values.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts No shot is special-cased; absent-environment defaults are explicit projected assumptions, not observed host state. A previously configured host can differ, and this helper does not compensate for or detect that mismatch.\n * @evidence contracts/development/common.md#meaningful-documentation The comment names environment precedence and shadow invariants, and input members specify drawing-buffer pixels, device pixel ratio and delivery tone mapping.\n * @evidence contracts/development/implementation.md#efficient-algorithms The projection reads one environment and allocates one settings record, performing constant work irrespective of shot geometry or frame count.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work Compiled environment policy is read directly without rebuilding scene state or resealing assets; each invocation reflects its supplied dimensions and pixel ratio.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The settings record contains only scalar values, so no compiled geometry, GPU allocation or host session is retained.\n */\nexport const autoMovieRenderTargetSettingsOfShot: (\n props: IAutoMovieRenderTargetSettingsOfShotProps,\n) => IAutoMovieRenderTargetSettings = (\n props: IAutoMovieRenderTargetSettingsOfShotProps,\n): IAutoMovieRenderTargetSettings => {\n const environment:\n | IAutoMovieCompiledShotSource[\"scene\"][\"environment\"]\n | null = props.compiled.scene.environment ?? null;\n const shadows:\n | NonNullable<\n IAutoMovieCompiledShotSource[\"scene\"][\"environment\"]\n >[\"shadows\"]\n | null =\n environment !== null && environment.shadows.enabled\n ? environment.shadows\n : null;\n return {\n width: props.width,\n height: props.height,\n pixelRatio: props.pixelRatio,\n shadows: shadows !== null,\n shadowType: shadows === null ? \"none\" : shadows.type,\n toneMapping: environment?.toneMapping ?? props.delivery,\n exposure: environment?.exposure ?? 1,\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;AAqBA,MAAa,uCAGX,UACmC;CACnC,MAAM,cAEK,MAAM,SAAS,MAAM,eAAe;CAC/C,MAAM,UAKJ,gBAAgB,QAAQ,YAAY,QAAQ,UACxC,YAAY,UACZ;CACN,OAAO;EACL,OAAO,MAAM;EACb,QAAQ,MAAM;EACd,YAAY,MAAM;EAClB,SAAS,YAAY;EACrB,YAAY,YAAY,OAAO,SAAS,QAAQ;EAChD,aAAa,aAAa,eAAe,MAAM;EAC/C,UAAU,aAAa,YAAY;CACrC;AACF"}
@@ -1,4 +1,4 @@
1
- import type { IAutoMovieCaptionSidecar } from "./IAutoMovieCaptionSidecar.js";
1
+ import type { IAutoMovieCaptionSidecar } from "@automovie/interface";
2
2
  /**
3
3
  * Serialize a caption sidecar for the host to write: two-space indented JSON in declaration order, followed by one newline.
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"renderCaptionSidecar.mjs","names":[],"sources":["../src/renderCaptionSidecar.ts"],"sourcesContent":["import type { IAutoMovieCaptionSidecar } from \"./IAutoMovieCaptionSidecar.js\";\n\n/**\n * Serialize a caption sidecar for the host to write: two-space indented JSON in declaration order, followed by one newline.\n *\n * @evidence contracts/development/implementation.md#principled-implementation `JSON.stringify` emits object keys in insertion order, and the planner and slicer build every object with a fixed key order, so the same sidecar always yields the same bytes.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure The function owns only the byte format; writing the file is the host's job, which keeps the render package free of file-system access here.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts It formats the value as given and adds no field or ordering for a particular consumer.\n * @evidence contracts/development/common.md#meaningful-documentation The doc states the indentation, the key order and the trailing newline a host writes.\n * @evidence contracts/development/implementation.md#efficient-algorithms One stringify pass is linear in the number of spans and their text length.\n * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Serialization of one value per call coordinates no phases or consumers.\n * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The only allocation is the returned string, owned by the caller, and no handle or task is opened.\n */\nexport const renderCaptionSidecar: (\n sidecar: IAutoMovieCaptionSidecar,\n) => string = (sidecar: IAutoMovieCaptionSidecar): string =>\n `${JSON.stringify(sidecar, null, 2)}\\n`;\n"],"mappings":";;;;;;;;;;;;AAaA,MAAa,wBAEE,YACb,GAAG,KAAK,UAAU,SAAS,MAAM,CAAC,EAAE"}
1
+ {"version":3,"file":"renderCaptionSidecar.mjs","names":[],"sources":["../src/renderCaptionSidecar.ts"],"sourcesContent":["import type { IAutoMovieCaptionSidecar } from \"@automovie/interface\";\n\n/**\n * Serialize a caption sidecar for the host to write: two-space indented JSON in declaration order, followed by one newline.\n *\n * @evidence contracts/development/implementation.md#principled-implementation `JSON.stringify` emits object keys in insertion order, and the planner and slicer build every object with a fixed key order, so the same sidecar always yields the same bytes.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure The function owns only the byte format; writing the file is the host's job, which keeps the render package free of file-system access here.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts It formats the value as given and adds no field or ordering for a particular consumer.\n * @evidence contracts/development/common.md#meaningful-documentation The doc states the indentation, the key order and the trailing newline a host writes.\n * @evidence contracts/development/implementation.md#efficient-algorithms One stringify pass is linear in the number of spans and their text length.\n * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Serialization of one value per call coordinates no phases or consumers.\n * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The only allocation is the returned string, owned by the caller, and no handle or task is opened.\n */\nexport const renderCaptionSidecar: (\n sidecar: IAutoMovieCaptionSidecar,\n) => string = (sidecar: IAutoMovieCaptionSidecar): string =>\n `${JSON.stringify(sidecar, null, 2)}\\n`;\n"],"mappings":";;;;;;;;;;;;AAaA,MAAa,wBAEE,YACb,GAAG,KAAK,UAAU,SAAS,MAAM,CAAC,EAAE"}
@@ -1,4 +1,4 @@
1
- import type { IAutoMoviePoseKeypointSidecar } from "./IAutoMoviePoseKeypointSidecar.js";
1
+ import type { IAutoMoviePoseKeypointSidecar } from "@automovie/interface";
2
2
  /**
3
3
  * Serialize a pose-keypoint sidecar for the host to write: JSON indented by two spaces, properties in declaration order, ending with one newline.
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"renderPoseKeypointSidecar.mjs","names":[],"sources":["../src/renderPoseKeypointSidecar.ts"],"sourcesContent":["import type { IAutoMoviePoseKeypointSidecar } from \"./IAutoMoviePoseKeypointSidecar.js\";\n\n/**\n * Serialize a pose-keypoint sidecar for the host to write: JSON indented by two spaces, properties in declaration order, ending with one newline.\n *\n * The same sidecar always serializes to the same text, and an absent `atmosphere` writes no key, so a fogless scene's file matches one written before that field existed.\n *\n * @evidence contracts/development/implementation.md#principled-implementation `JSON.stringify` writes own properties in insertion order and no key for a property that is absent, and the planner inserts them in declaration order, so the text is a deterministic function of the sidecar.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure Serialization is separate from planning, so the plan stays a value a host can inspect or slice, and this function only fixes the text format.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The sidecar is written as given, with no field added, rounded or reordered.\n * @evidence contracts/development/common.md#meaningful-documentation The doc states the exact text format, its determinism and the absent-field behavior.\n * @evidence contracts/development/implementation.md#efficient-algorithms One `JSON.stringify` pass is linear in the sidecar's size.\n * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A host serializes a sidecar once to write it.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned string, about the sidecar's serialized size, is the caller's; nothing is retained and no file is opened, since the host writes it.\n */\nexport const renderPoseKeypointSidecar: (\n sidecar: IAutoMoviePoseKeypointSidecar,\n) => string = (sidecar: IAutoMoviePoseKeypointSidecar): string =>\n `${JSON.stringify(sidecar, null, 2)}\\n`;\n"],"mappings":";;;;;;;;;;;;;;AAeA,MAAa,6BAEE,YACb,GAAG,KAAK,UAAU,SAAS,MAAM,CAAC,EAAE"}
1
+ {"version":3,"file":"renderPoseKeypointSidecar.mjs","names":[],"sources":["../src/renderPoseKeypointSidecar.ts"],"sourcesContent":["import type { IAutoMoviePoseKeypointSidecar } from \"@automovie/interface\";\n\n/**\n * Serialize a pose-keypoint sidecar for the host to write: JSON indented by two spaces, properties in declaration order, ending with one newline.\n *\n * The same sidecar always serializes to the same text, and an absent `atmosphere` writes no key, so a fogless scene's file matches one written before that field existed.\n *\n * @evidence contracts/development/implementation.md#principled-implementation `JSON.stringify` writes own properties in insertion order and no key for a property that is absent, and the planner inserts them in declaration order, so the text is a deterministic function of the sidecar.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure Serialization is separate from planning, so the plan stays a value a host can inspect or slice, and this function only fixes the text format.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The sidecar is written as given, with no field added, rounded or reordered.\n * @evidence contracts/development/common.md#meaningful-documentation The doc states the exact text format, its determinism and the absent-field behavior.\n * @evidence contracts/development/implementation.md#efficient-algorithms One `JSON.stringify` pass is linear in the sidecar's size.\n * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A host serializes a sidecar once to write it.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned string, about the sidecar's serialized size, is the caller's; nothing is retained and no file is opened, since the host writes it.\n */\nexport const renderPoseKeypointSidecar: (\n sidecar: IAutoMoviePoseKeypointSidecar,\n) => string = (sidecar: IAutoMoviePoseKeypointSidecar): string =>\n `${JSON.stringify(sidecar, null, 2)}\\n`;\n"],"mappings":";;;;;;;;;;;;;;AAeA,MAAa,6BAEE,YACb,GAAG,KAAK,UAAU,SAAS,MAAM,CAAC,EAAE"}
@@ -1,5 +1,4 @@
1
- import type { IAutoMovieSequenceRenderAndSeeRequest } from "./IAutoMovieSequenceRenderAndSeeRequest.js";
2
- import type { IAutoMovieSequenceRenderAndSeeResult } from "./IAutoMovieSequenceRenderAndSeeResult.js";
1
+ import type { IAutoMovieSequenceRenderAndSeeRequest, IAutoMovieSequenceRenderAndSeeResult } from "@automovie/interface";
3
2
  /**
4
3
  * Build a sequence render manifest, execute it through host adapters, and return an artifact an agent can inspect without recomputing the cut.
5
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"renderSequenceAndSee.js","sourceRoot":"","sources":["../src/renderSequenceAndSee.ts"],"names":[],"mappings":";;;AAEA,mEAA6D;AAC7D,qEAA+D;AAE/D;;;;;;;;;;GAUG;AACI,MAAM,oBAAoB,GAEoB,KAAK,EACxD,OAA8C,EACC,EAAE;IACjD,MAAM,IAAI,GAA0C,IAAA,0CAAkB,EAAC;QACrE,QAAQ,EAAE,OAAO,CAAC,QAAQ;QAC1B,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,QAAQ,EAAE,OAAO,CAAC,QAAQ;QAC1B,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,OAAO;QACL,IAAI,EAAE,EAAE,GAAG,OAAO,CAAC,IAAI,EAAE;QACzB,QAAQ,EAAE,EAAE,EAAE,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,EAAE,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,EAAE;QAChE,GAAG,CAAC,MAAM,IAAA,4CAAmB,EAAC,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;KACvD,CAAC;AACJ,CAAC,CAAC;AAjBW,QAAA,oBAAoB,GAApB,oBAAoB,CAiB/B"}
1
+ {"version":3,"file":"renderSequenceAndSee.js","sourceRoot":"","sources":["../src/renderSequenceAndSee.ts"],"names":[],"mappings":";;;AAKA,mEAA6D;AAC7D,qEAA+D;AAE/D;;;;;;;;;;GAUG;AACI,MAAM,oBAAoB,GAEoB,KAAK,EACxD,OAA8C,EACC,EAAE;IACjD,MAAM,IAAI,GAA0C,IAAA,0CAAkB,EAAC;QACrE,QAAQ,EAAE,OAAO,CAAC,QAAQ;QAC1B,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,IAAI,EAAE,OAAO,CAAC,IAAI;QAClB,QAAQ,EAAE,OAAO,CAAC,QAAQ;QAC1B,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,OAAO;QACL,IAAI,EAAE,EAAE,GAAG,OAAO,CAAC,IAAI,EAAE;QACzB,QAAQ,EAAE,EAAE,EAAE,EAAE,OAAO,CAAC,QAAQ,CAAC,EAAE,EAAE,GAAG,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,EAAE;QAChE,GAAG,CAAC,MAAM,IAAA,4CAAmB,EAAC,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;KACvD,CAAC;AACJ,CAAC,CAAC;AAjBW,QAAA,oBAAoB,GAApB,oBAAoB,CAiB/B"}
@@ -1 +1 @@
1
- {"version":3,"file":"renderSequenceAndSee.mjs","names":[],"sources":["../src/renderSequenceAndSee.ts"],"sourcesContent":["import type { IAutoMovieSequenceRenderAndSeeRequest } from \"./IAutoMovieSequenceRenderAndSeeRequest.js\";\nimport type { IAutoMovieSequenceRenderAndSeeResult } from \"./IAutoMovieSequenceRenderAndSeeResult.js\";\nimport { planSequenceRender } from \"./planSequenceRender.js\";\nimport { renderSequenceVideo } from \"./renderSequenceVideo.js\";\n\n/**\n * Build a sequence render manifest, execute it through host adapters, and return an artifact an agent can inspect without recomputing the cut.\n *\n * @evidence contracts/development/implementation.md#principled-implementation planSequenceRender resolves the cut once, and renderSequenceVideo executes that same manifest; the envelope records sequence id, editorial fps and a shallow spec snapshot.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure Planning, host execution and the agent-facing envelope have separate owners, so this composition adds no second timing or capture implementation.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A planning or adapter failure escapes unchanged and no missing shot is replaced by an unrelated source; all frame metadata comes from the executed plan.\n * @evidence contracts/development/common.md#meaningful-documentation The request explains sequence target equality and adapter ownership; the result names editorial fps and the spec snapshot, including its shared nested values.\n * @evidence contracts/development/implementation.md#efficient-algorithms For S supplied shots, E cut entries and F frames, delegated planning and scheduling take O(S+E+F) metadata work and the envelope adds a constant-size merge; actual drawing and encoding costs remain host-dependent and are not bounded by this record count.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work The manifest produced once is shared by capture and the returned artifact, ensuring inspection uses the same resolution that drove rendering.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Only the result envelope is added to the retained manifest and frame records; frame files, capture sessions and encoder lifetimes stay with the supplied host adapters.\n */\nexport const renderSequenceAndSee: (\n request: IAutoMovieSequenceRenderAndSeeRequest,\n) => Promise<IAutoMovieSequenceRenderAndSeeResult> = async (\n request: IAutoMovieSequenceRenderAndSeeRequest,\n): Promise<IAutoMovieSequenceRenderAndSeeResult> => {\n const plan: ReturnType<typeof planSequenceRender> = planSequenceRender({\n sequence: request.sequence,\n shots: request.shots,\n spec: request.spec,\n frameDir: request.frameDir,\n outputPath: request.outputPath,\n });\n return {\n spec: { ...request.spec },\n sequence: { id: request.sequence.id, fps: request.sequence.fps },\n ...(await renderSequenceVideo(plan, request.adapters)),\n };\n};\n"],"mappings":";;;;;;;;;;;;;;AAgBA,MAAa,uBAEwC,OACnD,YACkD;CAClD,MAAM,OAA8C,mBAAmB;EACrE,UAAU,QAAQ;EAClB,OAAO,QAAQ;EACf,MAAM,QAAQ;EACd,UAAU,QAAQ;EAClB,YAAY,QAAQ;CACtB,CAAC;CACD,OAAO;EACL,MAAM,EAAE,GAAG,QAAQ,KAAK;EACxB,UAAU;GAAE,IAAI,QAAQ,SAAS;GAAI,KAAK,QAAQ,SAAS;EAAI;EAC/D,GAAI,MAAM,oBAAoB,MAAM,QAAQ,QAAQ;CACtD;AACF"}
1
+ {"version":3,"file":"renderSequenceAndSee.mjs","names":[],"sources":["../src/renderSequenceAndSee.ts"],"sourcesContent":["import type {\n IAutoMovieSequenceRenderAndSeeRequest,\n IAutoMovieSequenceRenderAndSeeResult,\n} from \"@automovie/interface\";\n\nimport { planSequenceRender } from \"./planSequenceRender.js\";\nimport { renderSequenceVideo } from \"./renderSequenceVideo.js\";\n\n/**\n * Build a sequence render manifest, execute it through host adapters, and return an artifact an agent can inspect without recomputing the cut.\n *\n * @evidence contracts/development/implementation.md#principled-implementation planSequenceRender resolves the cut once, and renderSequenceVideo executes that same manifest; the envelope records sequence id, editorial fps and a shallow spec snapshot.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure Planning, host execution and the agent-facing envelope have separate owners, so this composition adds no second timing or capture implementation.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts A planning or adapter failure escapes unchanged and no missing shot is replaced by an unrelated source; all frame metadata comes from the executed plan.\n * @evidence contracts/development/common.md#meaningful-documentation The request explains sequence target equality and adapter ownership; the result names editorial fps and the spec snapshot, including its shared nested values.\n * @evidence contracts/development/implementation.md#efficient-algorithms For S supplied shots, E cut entries and F frames, delegated planning and scheduling take O(S+E+F) metadata work and the envelope adds a constant-size merge; actual drawing and encoding costs remain host-dependent and are not bounded by this record count.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work The manifest produced once is shared by capture and the returned artifact, ensuring inspection uses the same resolution that drove rendering.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Only the result envelope is added to the retained manifest and frame records; frame files, capture sessions and encoder lifetimes stay with the supplied host adapters.\n */\nexport const renderSequenceAndSee: (\n request: IAutoMovieSequenceRenderAndSeeRequest,\n) => Promise<IAutoMovieSequenceRenderAndSeeResult> = async (\n request: IAutoMovieSequenceRenderAndSeeRequest,\n): Promise<IAutoMovieSequenceRenderAndSeeResult> => {\n const plan: ReturnType<typeof planSequenceRender> = planSequenceRender({\n sequence: request.sequence,\n shots: request.shots,\n spec: request.spec,\n frameDir: request.frameDir,\n outputPath: request.outputPath,\n });\n return {\n spec: { ...request.spec },\n sequence: { id: request.sequence.id, fps: request.sequence.fps },\n ...(await renderSequenceVideo(plan, request.adapters)),\n };\n};\n"],"mappings":";;;;;;;;;;;;;;AAmBA,MAAa,uBAEwC,OACnD,YACkD;CAClD,MAAM,OAA8C,mBAAmB;EACrE,UAAU,QAAQ;EAClB,OAAO,QAAQ;EACf,MAAM,QAAQ;EACd,UAAU,QAAQ;EAClB,YAAY,QAAQ;CACtB,CAAC;CACD,OAAO;EACL,MAAM,EAAE,GAAG,QAAQ,KAAK;EACxB,UAAU;GAAE,IAAI,QAAQ,SAAS;GAAI,KAAK,QAAQ,SAAS;EAAI;EAC/D,GAAI,MAAM,oBAAoB,MAAM,QAAQ,QAAQ;CACtD;AACF"}
@@ -1,6 +1,4 @@
1
- import type { IAutoMovieSequenceRenderAdapters } from "./IAutoMovieSequenceRenderAdapters.js";
2
- import { IAutoMovieSequenceRenderPlan } from "./IAutoMovieSequenceRenderPlan.js";
3
- import type { IAutoMovieSequenceRenderResult } from "./IAutoMovieSequenceRenderResult.js";
1
+ import type { IAutoMovieSequenceRenderAdapters, IAutoMovieSequenceRenderPlan, IAutoMovieSequenceRenderResult } from "@automovie/interface";
4
2
  /**
5
3
  * Render a prepared sequence manifest: capture each resolved frame sample in order, then encode the planned frame sequence with the planned ffmpeg args. This is the sequence-level analogue of `renderVideo`, but the capture host gets sequence semantics rather than only a clip-local second.
6
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"renderSequenceVideo.js","sourceRoot":"","sources":["../src/renderSequenceVideo.ts"],"names":[],"mappings":";;;AAKA;;;;;;;;;;GAUG;AACI,MAAM,mBAAmB,GAGe,KAAK,EAClD,IAAkC,EAClC,QAA0C,EACD,EAAE;IAC3C,MAAM,MAAM,GAAoC,EAAE,CAAC;IACnD,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,MAAM;QAC7B,MAAM,CAAC,IAAI,CAAC;YACV,GAAG,KAAK;YACR,IAAI,EAAE,MAAM,QAAQ,CAAC,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC;SAC/C,CAAC,CAAC;IACL,MAAM,MAAM,GAAW,MAAM,QAAQ,CAAC,MAAM,CAC1C,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,UAAU,CAChB,CAAC;IACF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM,CAAC,MAAM;QACzB,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,MAAM;QACN,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,YAAY,EAAE,IAAI,CAAC,YAAY;QAC/B,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,IAAI;KACL,CAAC;AACJ,CAAC,CAAC;AA3BW,QAAA,mBAAmB,GAAnB,mBAAmB,CA2B9B"}
1
+ {"version":3,"file":"renderSequenceVideo.js","sourceRoot":"","sources":["../src/renderSequenceVideo.ts"],"names":[],"mappings":";;;AAOA;;;;;;;;;;GAUG;AACI,MAAM,mBAAmB,GAGe,KAAK,EAClD,IAAkC,EAClC,QAA0C,EACD,EAAE;IAC3C,MAAM,MAAM,GAAoC,EAAE,CAAC;IACnD,KAAK,MAAM,KAAK,IAAI,IAAI,CAAC,MAAM;QAC7B,MAAM,CAAC,IAAI,CAAC;YACV,GAAG,KAAK;YACR,IAAI,EAAE,MAAM,QAAQ,CAAC,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC;SAC/C,CAAC,CAAC;IACL,MAAM,MAAM,GAAW,MAAM,QAAQ,CAAC,MAAM,CAC1C,IAAI,CAAC,UAAU,EACf,IAAI,CAAC,UAAU,CAChB,CAAC;IACF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM,CAAC,MAAM;QACzB,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,MAAM;QACN,QAAQ,EAAE,IAAI,CAAC,QAAQ;QACvB,YAAY,EAAE,IAAI,CAAC,YAAY;QAC/B,UAAU,EAAE,IAAI,CAAC,UAAU;QAC3B,IAAI;KACL,CAAC;AACJ,CAAC,CAAC;AA3BW,QAAA,mBAAmB,GAAnB,mBAAmB,CA2B9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"renderSequenceVideo.mjs","names":[],"sources":["../src/renderSequenceVideo.ts"],"sourcesContent":["import type { IAutoMovieSequenceRenderAdapters } from \"./IAutoMovieSequenceRenderAdapters.js\";\nimport { IAutoMovieSequenceRenderFrame } from \"./IAutoMovieSequenceRenderFrame.js\";\nimport { IAutoMovieSequenceRenderPlan } from \"./IAutoMovieSequenceRenderPlan.js\";\nimport type { IAutoMovieSequenceRenderResult } from \"./IAutoMovieSequenceRenderResult.js\";\n\n/**\n * Render a prepared sequence manifest: capture each resolved frame sample in order, then encode the planned frame sequence with the planned ffmpeg args. This is the sequence-level analogue of `renderVideo`, but the capture host gets sequence semantics rather than only a clip-local second.\n *\n * @evidence contracts/development/implementation.md#principled-implementation The prepared plan supplies exact resolved frame samples; sequential awaits preserve that sample order before one encode call, including outgoing blend information without recomputing editorial timing.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure This sequence loop receives resolved manifest records instead of reproducing playback arithmetic, and adapters remain the boundary for capture and encoding effects.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Captured paths come from the host and all capture or encode errors propagate; no shot-specific fallback or synthetic frame replaces a failed capture.\n * @evidence contracts/development/common.md#meaningful-documentation The comment describes manifest execution and sequence-local semantics; adapter and result members document frame records, paths and encoder arguments, with host-owned file cleanup.\n * @evidence contracts/development/implementation.md#efficient-algorithms For F prepared frames the loop performs F captures and F shallow record copies, retaining O(F) result records; encoder and drawing costs belong to the adapters.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work The sequence plan is reused unchanged for every capture and the result rather than rebuilt per frame; distinct capture effects are awaited separately.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources No browser or process is opened here; the host owns those and frame-file cleanup. Result frames and the referenced plan remain reachable until the caller releases the artifact.\n */\nexport const renderSequenceVideo: (\n plan: IAutoMovieSequenceRenderPlan,\n adapters: IAutoMovieSequenceRenderAdapters,\n) => Promise<IAutoMovieSequenceRenderResult> = async (\n plan: IAutoMovieSequenceRenderPlan,\n adapters: IAutoMovieSequenceRenderAdapters,\n): Promise<IAutoMovieSequenceRenderResult> => {\n const frames: IAutoMovieSequenceRenderFrame[] = [];\n for (const frame of plan.frames)\n frames.push({\n ...frame,\n path: await adapters.captureFrame(frame, plan),\n });\n const output: string = await adapters.encode(\n plan.ffmpegArgs,\n plan.outputPath,\n );\n return {\n output,\n frameCount: frames.length,\n times: plan.times,\n frames,\n frameDir: plan.frameDir,\n inputPattern: plan.inputPattern,\n ffmpegArgs: plan.ffmpegArgs,\n plan,\n };\n};\n"],"mappings":";;;;;;;;;;;;AAgBA,MAAa,sBAGkC,OAC7C,MACA,aAC4C;CAC5C,MAAM,SAA0C,CAAC;CACjD,KAAK,MAAM,SAAS,KAAK,QACvB,OAAO,KAAK;EACV,GAAG;EACH,MAAM,MAAM,SAAS,aAAa,OAAO,IAAI;CAC/C,CAAC;CAKH,OAAO;EACL,QAAA,MAL2B,SAAS,OACpC,KAAK,YACL,KAAK,UACP;EAGE,YAAY,OAAO;EACnB,OAAO,KAAK;EACZ;EACA,UAAU,KAAK;EACf,cAAc,KAAK;EACnB,YAAY,KAAK;EACjB;CACF;AACF"}
1
+ {"version":3,"file":"renderSequenceVideo.mjs","names":[],"sources":["../src/renderSequenceVideo.ts"],"sourcesContent":["import type {\n IAutoMovieSequenceRenderAdapters,\n IAutoMovieSequenceRenderFrame,\n IAutoMovieSequenceRenderPlan,\n IAutoMovieSequenceRenderResult,\n} from \"@automovie/interface\";\n\n/**\n * Render a prepared sequence manifest: capture each resolved frame sample in order, then encode the planned frame sequence with the planned ffmpeg args. This is the sequence-level analogue of `renderVideo`, but the capture host gets sequence semantics rather than only a clip-local second.\n *\n * @evidence contracts/development/implementation.md#principled-implementation The prepared plan supplies exact resolved frame samples; sequential awaits preserve that sample order before one encode call, including outgoing blend information without recomputing editorial timing.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure This sequence loop receives resolved manifest records instead of reproducing playback arithmetic, and adapters remain the boundary for capture and encoding effects.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Captured paths come from the host and all capture or encode errors propagate; no shot-specific fallback or synthetic frame replaces a failed capture.\n * @evidence contracts/development/common.md#meaningful-documentation The comment describes manifest execution and sequence-local semantics; adapter and result members document frame records, paths and encoder arguments, with host-owned file cleanup.\n * @evidence contracts/development/implementation.md#efficient-algorithms For F prepared frames the loop performs F captures and F shallow record copies, retaining O(F) result records; encoder and drawing costs belong to the adapters.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work The sequence plan is reused unchanged for every capture and the result rather than rebuilt per frame; distinct capture effects are awaited separately.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources No browser or process is opened here; the host owns those and frame-file cleanup. Result frames and the referenced plan remain reachable until the caller releases the artifact.\n */\nexport const renderSequenceVideo: (\n plan: IAutoMovieSequenceRenderPlan,\n adapters: IAutoMovieSequenceRenderAdapters,\n) => Promise<IAutoMovieSequenceRenderResult> = async (\n plan: IAutoMovieSequenceRenderPlan,\n adapters: IAutoMovieSequenceRenderAdapters,\n): Promise<IAutoMovieSequenceRenderResult> => {\n const frames: IAutoMovieSequenceRenderFrame[] = [];\n for (const frame of plan.frames)\n frames.push({\n ...frame,\n path: await adapters.captureFrame(frame, plan),\n });\n const output: string = await adapters.encode(\n plan.ffmpegArgs,\n plan.outputPath,\n );\n return {\n output,\n frameCount: frames.length,\n times: plan.times,\n frames,\n frameDir: plan.frameDir,\n inputPattern: plan.inputPattern,\n ffmpegArgs: plan.ffmpegArgs,\n plan,\n };\n};\n"],"mappings":";;;;;;;;;;;;AAkBA,MAAa,sBAGkC,OAC7C,MACA,aAC4C;CAC5C,MAAM,SAA0C,CAAC;CACjD,KAAK,MAAM,SAAS,KAAK,QACvB,OAAO,KAAK;EACV,GAAG;EACH,MAAM,MAAM,SAAS,aAAa,OAAO,IAAI;CAC/C,CAAC;CAKH,OAAO;EACL,QAAA,MAL2B,SAAS,OACpC,KAAK,YACL,KAAK,UACP;EAGE,YAAY,OAAO;EACnB,OAAO,KAAK;EACZ;EACA,UAAU,KAAK;EACf,cAAc,KAAK;EACnB,YAAY,KAAK;EACjB;CACF;AACF"}
@@ -1,6 +1,4 @@
1
- import { IAutoMovieRenderSpec } from "@automovie/interface";
2
- import type { IAutoMovieRenderAdapters } from "./IAutoMovieRenderAdapters.js";
3
- import type { IAutoMovieRenderResult } from "./IAutoMovieRenderResult.js";
1
+ import type { IAutoMovieRenderAdapters, IAutoMovieRenderResult, IAutoMovieRenderSpec } from "@automovie/interface";
4
2
  /**
5
3
  * Render a clip of `durationSeconds` into a video, deterministically: compute the frame schedule, capture each frame through the host adapter at its exact `t = i / fps`, then encode the sequence with the pinned ffmpeg args.
6
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"renderVideo.js","sourceRoot":"","sources":["../src/renderVideo.ts"],"names":[],"mappings":";;;AAIA,mDAA6C;AAC7C,uDAAiD;AACjD,mDAA6C;AAE7C;;;;;;;;;;;;GAYG;AACI,MAAM,WAAW,GAMe,KAAK,EAC1C,IAA0B,EAC1B,eAAuB,EACvB,GAAW,EACX,UAAkB,EAClB,QAAkC,EACD,EAAE;IACnC,MAAM,KAAK,GAAa,IAAA,0BAAU,EAAC,IAAI,CAAC,WAAW,CAAC,GAAG,EAAE,eAAe,CAAC,CAAC;IAC1E,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QACpB,MAAM,IAAI,KAAK,CACb,gDAAgD,IAAI,CAAC,WAAW,CAAC,GAAG,iBAAiB,eAAe,uBAAuB,CAC5H,CAAC;IAEJ,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,KAAK,IAAI,CAAC,GAAW,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC;QAC3C,MAAM,CAAC,IAAI,CAAC,MAAM,QAAQ,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAE,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;IAC9D,MAAM,YAAY,GAAW,GAAG,GAAG,IAAI,IAAA,8BAAY,GAAE,EAAE,CAAC;IACxD,MAAM,IAAI,GAAa,IAAA,0BAAU,EAAC,IAAI,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;IAClE,MAAM,MAAM,GAAW,MAAM,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IAC/D,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM,CAAC,MAAM;QACzB,KAAK;QACL,MAAM,EAAE,MAAM,CAAC,GAAG,CAChB,CACE,IAAY,EACZ,KAAa,EAC6B,EAAE,CAAC,CAAC;YAC9C,KAAK;YACL,WAAW,EAAE,KAAK,CAAC,KAAK,CAAE;YAC1B,IAAI;SACL,CAAC,CACH;QACD,QAAQ,EAAE,GAAG;QACb,YAAY;QACZ,UAAU,EAAE,IAAI;KACjB,CAAC;AACJ,CAAC,CAAC;AA3CW,QAAA,WAAW,GAAX,WAAW,CA2CtB"}
1
+ {"version":3,"file":"renderVideo.js","sourceRoot":"","sources":["../src/renderVideo.ts"],"names":[],"mappings":";;;AAMA,mDAA6C;AAC7C,uDAAiD;AACjD,mDAA6C;AAE7C;;;;;;;;;;;;GAYG;AACI,MAAM,WAAW,GAMe,KAAK,EAC1C,IAA0B,EAC1B,eAAuB,EACvB,GAAW,EACX,UAAkB,EAClB,QAAkC,EACD,EAAE;IACnC,MAAM,KAAK,GAAa,IAAA,0BAAU,EAAC,IAAI,CAAC,WAAW,CAAC,GAAG,EAAE,eAAe,CAAC,CAAC;IAC1E,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;QACpB,MAAM,IAAI,KAAK,CACb,gDAAgD,IAAI,CAAC,WAAW,CAAC,GAAG,iBAAiB,eAAe,uBAAuB,CAC5H,CAAC;IAEJ,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,KAAK,IAAI,CAAC,GAAW,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC;QAC3C,MAAM,CAAC,IAAI,CAAC,MAAM,QAAQ,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAE,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC;IAC9D,MAAM,YAAY,GAAW,GAAG,GAAG,IAAI,IAAA,8BAAY,GAAE,EAAE,CAAC;IACxD,MAAM,IAAI,GAAa,IAAA,0BAAU,EAAC,IAAI,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;IAClE,MAAM,MAAM,GAAW,MAAM,QAAQ,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;IAC/D,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM,CAAC,MAAM;QACzB,KAAK;QACL,MAAM,EAAE,MAAM,CAAC,GAAG,CAChB,CACE,IAAY,EACZ,KAAa,EAC6B,EAAE,CAAC,CAAC;YAC9C,KAAK;YACL,WAAW,EAAE,KAAK,CAAC,KAAK,CAAE;YAC1B,IAAI;SACL,CAAC,CACH;QACD,QAAQ,EAAE,GAAG;QACb,YAAY;QACZ,UAAU,EAAE,IAAI;KACjB,CAAC;AACJ,CAAC,CAAC;AA3CW,QAAA,WAAW,GAAX,WAAW,CA2CtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"renderVideo.mjs","names":[],"sources":["../src/renderVideo.ts"],"sourcesContent":["import { IAutoMovieRenderSpec } from \"@automovie/interface\";\n\nimport type { IAutoMovieRenderAdapters } from \"./IAutoMovieRenderAdapters.js\";\nimport type { IAutoMovieRenderResult } from \"./IAutoMovieRenderResult.js\";\nimport { ffmpegArgs } from \"./ffmpegArgs.js\";\nimport { framePattern } from \"./framePattern.js\";\nimport { frameTimes } from \"./frameTimes.js\";\n\n/**\n * Render a clip of `durationSeconds` into a video, deterministically: compute the frame schedule, capture each frame through the host adapter at its exact `t = i / fps`, then encode the sequence with the pinned ffmpeg args.\n *\n * The schedule and effect order are deterministic; pixel and encoder output depend on the supplied host. The host also owns file and task cleanup when capture or encoding fails.\n *\n * @evidence contracts/development/implementation.md#principled-implementation Frame times are the half-open schedule i/fps from frameTimes; awaiting each capture before encoding preserves capture order and propagates the first host failure. The encoder owns pixel and container correctness, which this orchestration cannot prove.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure The clip loop coordinates the capture and encode seams only; naming, scheduling and ffmpeg arguments remain their existing shared functions.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts An empty schedule refuses before host I/O, and capture or encoding failures escape unchanged; no frame, path or adapter is replaced to satisfy a consumer.\n * @evidence contracts/development/common.md#meaningful-documentation The comment names seconds, capture order and host ownership; result members specify paths, sample times and the argument vector. Frame files belong to the host even after failure.\n * @evidence contracts/development/implementation.md#efficient-algorithms For F frames, scheduling, sequential capture and metadata assembly each traverse F records; retaining paths and timestamps costs O(F), in addition to host capture and encoder work.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work Captures are effectful operations and cannot be shared solely because two timestamps match; this call captures its requested sequence once and returns metadata for caller reuse.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The host owns frame files, encoder tasks and their cleanup on success or failure; this function retains O(F) paths and times until the result is discarded and acquires no native handle itself.\n */\nexport const renderVideo: (\n spec: IAutoMovieRenderSpec,\n durationSeconds: number,\n dir: string,\n outputPath: string,\n adapters: IAutoMovieRenderAdapters,\n) => Promise<IAutoMovieRenderResult> = async (\n spec: IAutoMovieRenderSpec,\n durationSeconds: number,\n dir: string,\n outputPath: string,\n adapters: IAutoMovieRenderAdapters,\n): Promise<IAutoMovieRenderResult> => {\n const times: number[] = frameTimes(spec.frameFormat.fps, durationSeconds);\n if (times.length === 0)\n throw new Error(\n `renderVideo requires at least one frame; fps ${spec.frameFormat.fps} and duration ${durationSeconds} produced zero frames`,\n );\n\n const frames: string[] = [];\n for (let i: number = 0; i < times.length; ++i)\n frames.push(await adapters.captureFrame(times[i]!, i, dir));\n const inputPattern: string = `${dir}/${framePattern()}`;\n const args: string[] = ffmpegArgs(spec, inputPattern, outputPath);\n const output: string = await adapters.encode(args, outputPath);\n return {\n output,\n frameCount: frames.length,\n times,\n frames: frames.map(\n (\n path: string,\n index: number,\n ): IAutoMovieRenderResult[\"frames\"][number] => ({\n index,\n timeSeconds: times[index]!,\n path,\n }),\n ),\n frameDir: dir,\n inputPattern,\n ffmpegArgs: args,\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AAqBA,MAAa,cAM0B,OACrC,MACA,iBACA,KACA,YACA,aACoC;CACpC,MAAM,QAAkB,WAAW,KAAK,YAAY,KAAK,eAAe;CACxE,IAAI,MAAM,WAAW,GACnB,MAAM,IAAI,MACR,gDAAgD,KAAK,YAAY,IAAI,gBAAgB,gBAAgB,sBACvG;CAEF,MAAM,SAAmB,CAAC;CAC1B,KAAK,IAAI,IAAY,GAAG,IAAI,MAAM,QAAQ,EAAE,GAC1C,OAAO,KAAK,MAAM,SAAS,aAAa,MAAM,IAAK,GAAG,GAAG,CAAC;CAC5D,MAAM,eAAuB,GAAG,IAAI,GAAG,aAAa;CACpD,MAAM,OAAiB,WAAW,MAAM,cAAc,UAAU;CAEhE,OAAO;EACL,QAAA,MAF2B,SAAS,OAAO,MAAM,UAAU;EAG3D,YAAY,OAAO;EACnB;EACA,QAAQ,OAAO,KAEX,MACA,WAC8C;GAC9C;GACA,aAAa,MAAM;GACnB;EACF,EACF;EACA,UAAU;EACV;EACA,YAAY;CACd;AACF"}
1
+ {"version":3,"file":"renderVideo.mjs","names":[],"sources":["../src/renderVideo.ts"],"sourcesContent":["import type {\n IAutoMovieRenderAdapters,\n IAutoMovieRenderResult,\n IAutoMovieRenderSpec,\n} from \"@automovie/interface\";\n\nimport { ffmpegArgs } from \"./ffmpegArgs.js\";\nimport { framePattern } from \"./framePattern.js\";\nimport { frameTimes } from \"./frameTimes.js\";\n\n/**\n * Render a clip of `durationSeconds` into a video, deterministically: compute the frame schedule, capture each frame through the host adapter at its exact `t = i / fps`, then encode the sequence with the pinned ffmpeg args.\n *\n * The schedule and effect order are deterministic; pixel and encoder output depend on the supplied host. The host also owns file and task cleanup when capture or encoding fails.\n *\n * @evidence contracts/development/implementation.md#principled-implementation Frame times are the half-open schedule i/fps from frameTimes; awaiting each capture before encoding preserves capture order and propagates the first host failure. The encoder owns pixel and container correctness, which this orchestration cannot prove.\n * @evidence contracts/development/implementation.md#clear-and-simple-structure The clip loop coordinates the capture and encode seams only; naming, scheduling and ffmpeg arguments remain their existing shared functions.\n * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts An empty schedule refuses before host I/O, and capture or encoding failures escape unchanged; no frame, path or adapter is replaced to satisfy a consumer.\n * @evidence contracts/development/common.md#meaningful-documentation The comment names seconds, capture order and host ownership; result members specify paths, sample times and the argument vector. Frame files belong to the host even after failure.\n * @evidence contracts/development/implementation.md#efficient-algorithms For F frames, scheduling, sequential capture and metadata assembly each traverse F records; retaining paths and timestamps costs O(F), in addition to host capture and encoder work.\n * @evidence contracts/development/implementation.md#reuse-equivalent-work Captures are effectful operations and cannot be shared solely because two timestamps match; this call captures its requested sequence once and returns metadata for caller reuse.\n * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The host owns frame files, encoder tasks and their cleanup on success or failure; this function retains O(F) paths and times until the result is discarded and acquires no native handle itself.\n */\nexport const renderVideo: (\n spec: IAutoMovieRenderSpec,\n durationSeconds: number,\n dir: string,\n outputPath: string,\n adapters: IAutoMovieRenderAdapters,\n) => Promise<IAutoMovieRenderResult> = async (\n spec: IAutoMovieRenderSpec,\n durationSeconds: number,\n dir: string,\n outputPath: string,\n adapters: IAutoMovieRenderAdapters,\n): Promise<IAutoMovieRenderResult> => {\n const times: number[] = frameTimes(spec.frameFormat.fps, durationSeconds);\n if (times.length === 0)\n throw new Error(\n `renderVideo requires at least one frame; fps ${spec.frameFormat.fps} and duration ${durationSeconds} produced zero frames`,\n );\n\n const frames: string[] = [];\n for (let i: number = 0; i < times.length; ++i)\n frames.push(await adapters.captureFrame(times[i]!, i, dir));\n const inputPattern: string = `${dir}/${framePattern()}`;\n const args: string[] = ffmpegArgs(spec, inputPattern, outputPath);\n const output: string = await adapters.encode(args, outputPath);\n return {\n output,\n frameCount: frames.length,\n times,\n frames: frames.map(\n (\n path: string,\n index: number,\n ): IAutoMovieRenderResult[\"frames\"][number] => ({\n index,\n timeSeconds: times[index]!,\n path,\n }),\n ),\n frameDir: dir,\n inputPattern,\n ffmpegArgs: args,\n };\n};\n"],"mappings":";;;;;;;;;;;;;;;;;AAuBA,MAAa,cAM0B,OACrC,MACA,iBACA,KACA,YACA,aACoC;CACpC,MAAM,QAAkB,WAAW,KAAK,YAAY,KAAK,eAAe;CACxE,IAAI,MAAM,WAAW,GACnB,MAAM,IAAI,MACR,gDAAgD,KAAK,YAAY,IAAI,gBAAgB,gBAAgB,sBACvG;CAEF,MAAM,SAAmB,CAAC;CAC1B,KAAK,IAAI,IAAY,GAAG,IAAI,MAAM,QAAQ,EAAE,GAC1C,OAAO,KAAK,MAAM,SAAS,aAAa,MAAM,IAAK,GAAG,GAAG,CAAC;CAC5D,MAAM,eAAuB,GAAG,IAAI,GAAG,aAAa;CACpD,MAAM,OAAiB,WAAW,MAAM,cAAc,UAAU;CAEhE,OAAO;EACL,QAAA,MAF2B,SAAS,OAAO,MAAM,UAAU;EAG3D,YAAY,OAAO;EACnB;EACA,QAAQ,OAAO,KAEX,MACA,WAC8C;GAC9C;GACA,aAAa,MAAM;GACnB;EACF,EACF;EACA,UAAU;EACV;EACA,YAAY;CACd;AACF"}
@@ -1,25 +1 @@
1
- import type { IAutoMovieFilmBeautyLayer } from "./IAutoMovieFilmBeautyLayer.js";
2
- /**
3
- * Closed beauty-composition decision for one sampled film frame.
4
- * A fade mixes its layer against opaque black; dissolve alpha is the incoming
5
- * contribution, with the outgoing contribution equal to one minus alpha.
6
- * The resolver admits finite unit-interval weights and complementary layers.
7
- *
8
- * @evidence contracts/development/design.md#principled-representation The kind discriminant separates a full-weight draw, one layer over black and two complementary layers; preserving the generic layer retains each sampled frame's scene and camera identity.
9
- * @evidence contracts/development/design.md#minimal-and-owned-surface Each branch contains only the operands its compositor needs, so renderAutoMovieFilmFrame dispatches without reconstructing a blend decision from optional fields.
10
- * @evidence contracts/development/design.md#prohibited-design-shortcuts These three cases describe supported film transitions for arbitrary layers; none names a shot, fixture or viewer consumer.
11
- * @evidence contracts/development/common.md#meaningful-documentation Defines black as the fade endpoint, incoming alpha for dissolves and resolver admission of finite complementary weights.
12
- */
13
- export type AutoMovieFilmBeautyComposition<Layer extends IAutoMovieFilmBeautyLayer = IAutoMovieFilmBeautyLayer> = {
14
- kind: "direct";
15
- layer: Layer;
16
- } | {
17
- kind: "fade";
18
- layer: Layer;
19
- weight: number;
20
- } | {
21
- kind: "dissolve";
22
- outgoing: Layer;
23
- incoming: Layer;
24
- alpha: number;
25
- };
1
+ export type { IAutoMovieFilmBeautyComposition } from "@automovie/interface";
@@ -1,5 +1,4 @@
1
- import { IAutoMovieRestFrame } from "@automovie/engine";
2
- import { AutoMovieHumanoidBone, IAutoMovieExpression, type IAutoMovieJointAxes, IAutoMovieMotion, IAutoMovieSkeleton } from "@automovie/interface";
1
+ import type { AutoMovieHumanoidBone, IAutoMovieExpression, IAutoMovieJointAxes, IAutoMovieMotion, IAutoMovieRestFrame, IAutoMovieSkeleton } from "@automovie/interface";
3
2
  import type { IAutoMovieModelObject } from "./IAutoMovieModelObject.js";
4
3
  import type { IAutoMovieSpringConfig } from "./IAutoMovieSpringConfig.js";
5
4
  /**