@automovie/render 0.0.0-stage → 0.0.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 (503) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +37 -2
  3. package/lib/AUTOMOVIE_GUIDE_PASSES.d.ts +11 -0
  4. package/lib/AUTOMOVIE_GUIDE_PASSES.js +21 -0
  5. package/lib/AUTOMOVIE_GUIDE_PASSES.js.map +1 -0
  6. package/lib/IAutoMovieCaptionEntry.d.ts +28 -0
  7. package/lib/IAutoMovieCaptionEntry.js +3 -0
  8. package/lib/IAutoMovieCaptionEntry.js.map +1 -0
  9. package/lib/IAutoMovieCaptionSidecar.d.ts +25 -0
  10. package/lib/IAutoMovieCaptionSidecar.js +3 -0
  11. package/lib/IAutoMovieCaptionSidecar.js.map +1 -0
  12. package/lib/IAutoMovieCapturedFrame.d.ts +22 -0
  13. package/lib/IAutoMovieCapturedFrame.js +3 -0
  14. package/lib/IAutoMovieCapturedFrame.js.map +1 -0
  15. package/lib/IAutoMovieGuidePassOutput.d.ts +23 -0
  16. package/lib/IAutoMovieGuidePassOutput.js +3 -0
  17. package/lib/IAutoMovieGuidePassOutput.js.map +1 -0
  18. package/lib/IAutoMoviePoseKeypointActor.d.ts +36 -0
  19. package/lib/IAutoMoviePoseKeypointActor.js +3 -0
  20. package/lib/IAutoMoviePoseKeypointActor.js.map +1 -0
  21. package/lib/IAutoMoviePoseKeypointFrame.d.ts +25 -0
  22. package/lib/IAutoMoviePoseKeypointFrame.js +3 -0
  23. package/lib/IAutoMoviePoseKeypointFrame.js.map +1 -0
  24. package/lib/IAutoMoviePoseKeypointSidecar.d.ts +21 -0
  25. package/lib/IAutoMoviePoseKeypointSidecar.js +3 -0
  26. package/lib/IAutoMoviePoseKeypointSidecar.js.map +1 -0
  27. package/lib/IAutoMovieRenderAdapters.d.ts +34 -0
  28. package/lib/IAutoMovieRenderAdapters.js +3 -0
  29. package/lib/IAutoMovieRenderAdapters.js.map +1 -0
  30. package/lib/IAutoMovieRenderAndSeeRequest.d.ts +32 -0
  31. package/lib/IAutoMovieRenderAndSeeRequest.js +3 -0
  32. package/lib/IAutoMovieRenderAndSeeRequest.js.map +1 -0
  33. package/lib/IAutoMovieRenderAndSeeResult.d.ts +20 -0
  34. package/lib/IAutoMovieRenderAndSeeResult.js +3 -0
  35. package/lib/IAutoMovieRenderAndSeeResult.js.map +1 -0
  36. package/lib/IAutoMovieRenderChunk.d.ts +48 -0
  37. package/lib/IAutoMovieRenderChunk.js +3 -0
  38. package/lib/IAutoMovieRenderChunk.js.map +1 -0
  39. package/lib/IAutoMovieRenderChunkPlan.d.ts +32 -0
  40. package/lib/IAutoMovieRenderChunkPlan.js +3 -0
  41. package/lib/IAutoMovieRenderChunkPlan.js.map +1 -0
  42. package/lib/IAutoMovieRenderPassManifest.d.ts +21 -0
  43. package/lib/IAutoMovieRenderPassManifest.js +3 -0
  44. package/lib/IAutoMovieRenderPassManifest.js.map +1 -0
  45. package/lib/IAutoMovieRenderReassembly.d.ts +24 -0
  46. package/lib/IAutoMovieRenderReassembly.js +3 -0
  47. package/lib/IAutoMovieRenderReassembly.js.map +1 -0
  48. package/lib/IAutoMovieRenderResult.d.ts +39 -0
  49. package/lib/IAutoMovieRenderResult.js +3 -0
  50. package/lib/IAutoMovieRenderResult.js.map +1 -0
  51. package/lib/IAutoMovieSequenceRenderAdapters.d.ts +36 -0
  52. package/lib/IAutoMovieSequenceRenderAdapters.js +3 -0
  53. package/lib/IAutoMovieSequenceRenderAdapters.js.map +1 -0
  54. package/lib/IAutoMovieSequenceRenderAndSeeRequest.d.ts +36 -0
  55. package/lib/IAutoMovieSequenceRenderAndSeeRequest.js +3 -0
  56. package/lib/IAutoMovieSequenceRenderAndSeeRequest.js.map +1 -0
  57. package/lib/IAutoMovieSequenceRenderAndSeeResult.d.ts +23 -0
  58. package/lib/IAutoMovieSequenceRenderAndSeeResult.js +3 -0
  59. package/lib/IAutoMovieSequenceRenderAndSeeResult.js.map +1 -0
  60. package/lib/IAutoMovieSequenceRenderFrame.d.ts +41 -0
  61. package/lib/IAutoMovieSequenceRenderFrame.js +3 -0
  62. package/lib/IAutoMovieSequenceRenderFrame.js.map +1 -0
  63. package/lib/IAutoMovieSequenceRenderPlan.d.ts +76 -0
  64. package/lib/IAutoMovieSequenceRenderPlan.js +3 -0
  65. package/lib/IAutoMovieSequenceRenderPlan.js.map +1 -0
  66. package/lib/IAutoMovieSequenceRenderResult.d.ts +44 -0
  67. package/lib/IAutoMovieSequenceRenderResult.js +3 -0
  68. package/lib/IAutoMovieSequenceRenderResult.js.map +1 -0
  69. package/lib/IAutoMovieSequenceRenderShotSpan.d.ts +39 -0
  70. package/lib/IAutoMovieSequenceRenderShotSpan.js +3 -0
  71. package/lib/IAutoMovieSequenceRenderShotSpan.js.map +1 -0
  72. package/lib/IAutoMovieSequenceRenderTransitionSpan.d.ts +39 -0
  73. package/lib/IAutoMovieSequenceRenderTransitionSpan.js +3 -0
  74. package/lib/IAutoMovieSequenceRenderTransitionSpan.js.map +1 -0
  75. package/lib/audio/encodeAutoMovieWavPcm16.d.ts +21 -0
  76. package/lib/audio/encodeAutoMovieWavPcm16.js +59 -0
  77. package/lib/audio/encodeAutoMovieWavPcm16.js.map +1 -0
  78. package/lib/audio/index.d.ts +2 -0
  79. package/lib/audio/index.js +19 -0
  80. package/lib/audio/index.js.map +1 -0
  81. package/lib/audio/mixAutoMovieAudioPcm.d.ts +64 -0
  82. package/lib/audio/mixAutoMovieAudioPcm.js +86 -0
  83. package/lib/audio/mixAutoMovieAudioPcm.js.map +1 -0
  84. package/lib/auditAutoMovieRenderObservation.d.ts +31 -0
  85. package/lib/auditAutoMovieRenderObservation.js +63 -0
  86. package/lib/auditAutoMovieRenderObservation.js.map +1 -0
  87. package/lib/cache/createAutoMovieHttpArtifactStore.d.ts +28 -0
  88. package/lib/cache/createAutoMovieHttpArtifactStore.js +66 -0
  89. package/lib/cache/createAutoMovieHttpArtifactStore.js.map +1 -0
  90. package/lib/caption/IAutoMovieBeatCaption.d.ts +22 -0
  91. package/lib/caption/IAutoMovieBeatCaption.js +3 -0
  92. package/lib/caption/IAutoMovieBeatCaption.js.map +1 -0
  93. package/lib/caption/autoMovieCaptionLanguageComparisonKey.d.ts +18 -0
  94. package/lib/caption/autoMovieCaptionLanguageComparisonKey.js +24 -0
  95. package/lib/caption/autoMovieCaptionLanguageComparisonKey.js.map +1 -0
  96. package/lib/caption/beatCaptions.d.ts +22 -0
  97. package/lib/caption/beatCaptions.js +50 -0
  98. package/lib/caption/beatCaptions.js.map +1 -0
  99. package/lib/caption/canonicalProductionWebVtt.d.ts +23 -0
  100. package/lib/caption/canonicalProductionWebVtt.js +60 -0
  101. package/lib/caption/canonicalProductionWebVtt.js.map +1 -0
  102. package/lib/caption/canonicalizeAutoMovieCaptionText.d.ts +18 -0
  103. package/lib/caption/canonicalizeAutoMovieCaptionText.js +24 -0
  104. package/lib/caption/canonicalizeAutoMovieCaptionText.js.map +1 -0
  105. package/lib/caption/escapeWebVttText.d.ts +17 -0
  106. package/lib/caption/escapeWebVttText.js +25 -0
  107. package/lib/caption/escapeWebVttText.js.map +1 -0
  108. package/lib/caption/index.d.ts +11 -0
  109. package/lib/caption/index.js +28 -0
  110. package/lib/caption/index.js.map +1 -0
  111. package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.d.ts +37 -0
  112. package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.js +129 -0
  113. package/lib/caption/inspectAutoMovieCaptionReadabilityWithRuntime.js.map +1 -0
  114. package/lib/caption/isAutoMovieWebVttIdentifier.d.ts +21 -0
  115. package/lib/caption/isAutoMovieWebVttIdentifier.js +28 -0
  116. package/lib/caption/isAutoMovieWebVttIdentifier.js.map +1 -0
  117. package/lib/caption/parseAutoMovieCaptionLanguage.d.ts +34 -0
  118. package/lib/caption/parseAutoMovieCaptionLanguage.js +121 -0
  119. package/lib/caption/parseAutoMovieCaptionLanguage.js.map +1 -0
  120. package/lib/caption/serializeAutoMovieWebVttCueText.d.ts +17 -0
  121. package/lib/caption/serializeAutoMovieWebVttCueText.js +27 -0
  122. package/lib/caption/serializeAutoMovieWebVttCueText.js.map +1 -0
  123. package/lib/caption/serializeAutoMovieWebVttIdentifier.d.ts +17 -0
  124. package/lib/caption/serializeAutoMovieWebVttIdentifier.js +27 -0
  125. package/lib/caption/serializeAutoMovieWebVttIdentifier.js.map +1 -0
  126. package/lib/caption/serializeAutoMovieWebVttSingleLineText.d.ts +19 -0
  127. package/lib/caption/serializeAutoMovieWebVttSingleLineText.js +26 -0
  128. package/lib/caption/serializeAutoMovieWebVttSingleLineText.js.map +1 -0
  129. package/lib/caption/webVttCaptionLanguage.d.ts +18 -0
  130. package/lib/caption/webVttCaptionLanguage.js +29 -0
  131. package/lib/caption/webVttCaptionLanguage.js.map +1 -0
  132. package/lib/caption/webVttTime.d.ts +19 -0
  133. package/lib/caption/webVttTime.js +30 -0
  134. package/lib/caption/webVttTime.js.map +1 -0
  135. package/lib/captionPlan.d.ts +1 -0
  136. package/lib/captionPlan.js +18 -0
  137. package/lib/captionPlan.js.map +1 -0
  138. package/lib/captionSidecar.d.ts +3 -0
  139. package/lib/captionSidecar.js +20 -0
  140. package/lib/captionSidecar.js.map +1 -0
  141. package/lib/captionSlice.d.ts +1 -0
  142. package/lib/captionSlice.js +18 -0
  143. package/lib/captionSlice.js.map +1 -0
  144. package/lib/chunkSequenceRender.d.ts +5 -0
  145. package/lib/chunkSequenceRender.js +22 -0
  146. package/lib/chunkSequenceRender.js.map +1 -0
  147. package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.d.ts +16 -0
  148. package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.js +20 -0
  149. package/lib/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.js.map +1 -0
  150. package/lib/delivery/AUTOMOVIE_MP4_UNITY_MATRIX.d.ts +11 -0
  151. package/lib/delivery/AUTOMOVIE_MP4_UNITY_MATRIX.js +14 -0
  152. package/lib/delivery/AUTOMOVIE_MP4_UNITY_MATRIX.js.map +1 -0
  153. package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.d.ts +15 -0
  154. package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.js +19 -0
  155. package/lib/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.js.map +1 -0
  156. package/lib/delivery/AutoMovieProductionPngRole.d.ts +14 -0
  157. package/lib/delivery/AutoMovieProductionPngRole.js +3 -0
  158. package/lib/delivery/AutoMovieProductionPngRole.js.map +1 -0
  159. package/lib/delivery/IAutoMovieProductionPngProfile.d.ts +41 -0
  160. package/lib/delivery/IAutoMovieProductionPngProfile.js +3 -0
  161. package/lib/delivery/IAutoMovieProductionPngProfile.js.map +1 -0
  162. package/lib/delivery/IAutoMovieProductionVideoProfile.d.ts +46 -0
  163. package/lib/delivery/IAutoMovieProductionVideoProfile.js +3 -0
  164. package/lib/delivery/IAutoMovieProductionVideoProfile.js.map +1 -0
  165. package/lib/delivery/assertAutoMovieCaptureClock.d.ts +26 -0
  166. package/lib/delivery/assertAutoMovieCaptureClock.js +29 -0
  167. package/lib/delivery/assertAutoMovieCaptureClock.js.map +1 -0
  168. package/lib/delivery/assertProductionOpusProfile.d.ts +23 -0
  169. package/lib/delivery/assertProductionOpusProfile.js +160 -0
  170. package/lib/delivery/assertProductionOpusProfile.js.map +1 -0
  171. package/lib/delivery/assertProductionPngPicture.d.ts +24 -0
  172. package/lib/delivery/assertProductionPngPicture.js +47 -0
  173. package/lib/delivery/assertProductionPngPicture.js.map +1 -0
  174. package/lib/delivery/assertProductionVideoProfile.d.ts +30 -0
  175. package/lib/delivery/assertProductionVideoProfile.js +150 -0
  176. package/lib/delivery/assertProductionVideoProfile.js.map +1 -0
  177. package/lib/delivery/auditAutoMovieDecodedFrames.d.ts +56 -0
  178. package/lib/delivery/auditAutoMovieDecodedFrames.js +92 -0
  179. package/lib/delivery/auditAutoMovieDecodedFrames.js.map +1 -0
  180. package/lib/delivery/auditAutoMovieEncodedPresentation.d.ts +27 -0
  181. package/lib/delivery/auditAutoMovieEncodedPresentation.js +62 -0
  182. package/lib/delivery/auditAutoMovieEncodedPresentation.js.map +1 -0
  183. package/lib/delivery/index.d.ts +14 -0
  184. package/lib/delivery/index.js +31 -0
  185. package/lib/delivery/index.js.map +1 -0
  186. package/lib/delivery/planAutoMovieCaptureUrl.d.ts +18 -0
  187. package/lib/delivery/planAutoMovieCaptureUrl.js +31 -0
  188. package/lib/delivery/planAutoMovieCaptureUrl.js.map +1 -0
  189. package/lib/delivery/productionOpusDescription.d.ts +41 -0
  190. package/lib/delivery/productionOpusDescription.js +125 -0
  191. package/lib/delivery/productionOpusDescription.js.map +1 -0
  192. package/lib/delivery/resolveProductionPngProfile.d.ts +27 -0
  193. package/lib/delivery/resolveProductionPngProfile.js +53 -0
  194. package/lib/delivery/resolveProductionPngProfile.js.map +1 -0
  195. package/lib/delivery/resolveProductionVideoProfile.d.ts +27 -0
  196. package/lib/delivery/resolveProductionVideoProfile.js +36 -0
  197. package/lib/delivery/resolveProductionVideoProfile.js.map +1 -0
  198. package/lib/ffmpegArgs.d.ts +33 -0
  199. package/lib/ffmpegArgs.js +56 -0
  200. package/lib/ffmpegArgs.js.map +1 -0
  201. package/lib/film/AutoMovieOrderedScalar.d.ts +15 -0
  202. package/lib/film/AutoMovieOrderedScalar.js +3 -0
  203. package/lib/film/AutoMovieOrderedScalar.js.map +1 -0
  204. package/lib/film/IAutoMovieProductionAudioAssetIdentity.d.ts +28 -0
  205. package/lib/film/IAutoMovieProductionAudioAssetIdentity.js +3 -0
  206. package/lib/film/IAutoMovieProductionAudioAssetIdentity.js.map +1 -0
  207. package/lib/film/IAutoMovieProductionAudioAssetIdentityBase.d.ts +29 -0
  208. package/lib/film/IAutoMovieProductionAudioAssetIdentityBase.js +3 -0
  209. package/lib/film/IAutoMovieProductionAudioAssetIdentityBase.js.map +1 -0
  210. package/lib/film/IAutoMovieProductionEncoderIdentity.d.ts +36 -0
  211. package/lib/film/IAutoMovieProductionEncoderIdentity.js +3 -0
  212. package/lib/film/IAutoMovieProductionEncoderIdentity.js.map +1 -0
  213. package/lib/film/IAutoMovieProductionRenderChunk.d.ts +39 -0
  214. package/lib/film/IAutoMovieProductionRenderChunk.js +3 -0
  215. package/lib/film/IAutoMovieProductionRenderChunk.js.map +1 -0
  216. package/lib/film/IAutoMovieProductionRenderJobPlan.d.ts +53 -0
  217. package/lib/film/IAutoMovieProductionRenderJobPlan.js +3 -0
  218. package/lib/film/IAutoMovieProductionRenderJobPlan.js.map +1 -0
  219. package/lib/film/IAutoMovieProductionRenderRuntimeIdentity.d.ts +31 -0
  220. package/lib/film/IAutoMovieProductionRenderRuntimeIdentity.js +3 -0
  221. package/lib/film/IAutoMovieProductionRenderRuntimeIdentity.js.map +1 -0
  222. package/lib/film/IAutoMovieProductionRenderTier.d.ts +25 -0
  223. package/lib/film/IAutoMovieProductionRenderTier.js +3 -0
  224. package/lib/film/IAutoMovieProductionRenderTier.js.map +1 -0
  225. package/lib/film/assertSingleGuidePass.d.ts +19 -0
  226. package/lib/film/assertSingleGuidePass.js +35 -0
  227. package/lib/film/assertSingleGuidePass.js.map +1 -0
  228. package/lib/film/equalOrderedScalars.d.ts +27 -0
  229. package/lib/film/equalOrderedScalars.js +52 -0
  230. package/lib/film/equalOrderedScalars.js.map +1 -0
  231. package/lib/film/index.d.ts +9 -0
  232. package/lib/film/index.js +26 -0
  233. package/lib/film/index.js.map +1 -0
  234. package/lib/film/normalizeAudioAssets.d.ts +21 -0
  235. package/lib/film/normalizeAudioAssets.js +56 -0
  236. package/lib/film/normalizeAudioAssets.js.map +1 -0
  237. package/lib/film/normalizeRenderTier.d.ts +19 -0
  238. package/lib/film/normalizeRenderTier.js +45 -0
  239. package/lib/film/normalizeRenderTier.js.map +1 -0
  240. package/lib/film/planProductionRenderJob.d.ts +48 -0
  241. package/lib/film/planProductionRenderJob.js +196 -0
  242. package/lib/film/planProductionRenderJob.js.map +1 -0
  243. package/lib/film/productionVisualDeliveryOccurrence.d.ts +20 -0
  244. package/lib/film/productionVisualDeliveryOccurrence.js +24 -0
  245. package/lib/film/productionVisualDeliveryOccurrence.js.map +1 -0
  246. package/lib/film/resolveProductionRenderTierFrameFormat.d.ts +21 -0
  247. package/lib/film/resolveProductionRenderTierFrameFormat.js +46 -0
  248. package/lib/film/resolveProductionRenderTierFrameFormat.js.map +1 -0
  249. package/lib/film/validDigest.d.ts +18 -0
  250. package/lib/film/validDigest.js +25 -0
  251. package/lib/film/validDigest.js.map +1 -0
  252. package/lib/film/validWaveAudioIdentity.d.ts +25 -0
  253. package/lib/film/validWaveAudioIdentity.js +76 -0
  254. package/lib/film/validWaveAudioIdentity.js.map +1 -0
  255. package/lib/frameName.d.ts +19 -0
  256. package/lib/frameName.js +24 -0
  257. package/lib/frameName.js.map +1 -0
  258. package/lib/framePattern.d.ts +16 -0
  259. package/lib/framePattern.js +21 -0
  260. package/lib/framePattern.js.map +1 -0
  261. package/lib/frameTimes.d.ts +20 -0
  262. package/lib/frameTimes.js +33 -0
  263. package/lib/frameTimes.js.map +1 -0
  264. package/lib/guidePassFrameName.d.ts +15 -0
  265. package/lib/guidePassFrameName.js +21 -0
  266. package/lib/guidePassFrameName.js.map +1 -0
  267. package/lib/guidePassFramePattern.d.ts +15 -0
  268. package/lib/guidePassFramePattern.js +21 -0
  269. package/lib/guidePassFramePattern.js.map +1 -0
  270. package/lib/guidePasses.d.ts +7 -0
  271. package/lib/guidePasses.js +24 -0
  272. package/lib/guidePasses.js.map +1 -0
  273. package/lib/guidePassesInternal/passExtension.d.ts +14 -0
  274. package/lib/guidePassesInternal/passExtension.js +18 -0
  275. package/lib/guidePassesInternal/passExtension.js.map +1 -0
  276. package/lib/index.d.ts +69 -0
  277. package/lib/index.js +86 -0
  278. package/lib/index.js.map +1 -0
  279. package/lib/isGuidePass.d.ts +15 -0
  280. package/lib/isGuidePass.js +20 -0
  281. package/lib/isGuidePass.js.map +1 -0
  282. package/lib/normalizeGuidePasses.d.ts +15 -0
  283. package/lib/normalizeGuidePasses.js +32 -0
  284. package/lib/normalizeGuidePasses.js.map +1 -0
  285. package/lib/planCaptionSidecar.d.ts +23 -0
  286. package/lib/planCaptionSidecar.js +56 -0
  287. package/lib/planCaptionSidecar.js.map +1 -0
  288. package/lib/planChunkedSequenceRender.d.ts +26 -0
  289. package/lib/planChunkedSequenceRender.js +132 -0
  290. package/lib/planChunkedSequenceRender.js.map +1 -0
  291. package/lib/planGuidePassOutputs.d.ts +19 -0
  292. package/lib/planGuidePassOutputs.js +31 -0
  293. package/lib/planGuidePassOutputs.js.map +1 -0
  294. package/lib/planPoseKeypointSidecar.d.ts +27 -0
  295. package/lib/planPoseKeypointSidecar.js +141 -0
  296. package/lib/planPoseKeypointSidecar.js.map +1 -0
  297. package/lib/planSequenceRender.d.ts +20 -0
  298. package/lib/planSequenceRender.js +99 -0
  299. package/lib/planSequenceRender.js.map +1 -0
  300. package/lib/planViewerFrameTimes.d.ts +33 -0
  301. package/lib/planViewerFrameTimes.js +74 -0
  302. package/lib/planViewerFrameTimes.js.map +1 -0
  303. package/lib/renderAndSee.d.ts +14 -0
  304. package/lib/renderAndSee.js +22 -0
  305. package/lib/renderAndSee.js.map +1 -0
  306. package/lib/renderBudgetPreflight/IAutoMovieRenderBudgetAssessment.d.ts +41 -0
  307. package/lib/renderBudgetPreflight/IAutoMovieRenderBudgetAssessment.js +3 -0
  308. package/lib/renderBudgetPreflight/IAutoMovieRenderBudgetAssessment.js.map +1 -0
  309. package/lib/renderBudgetPreflight/IAutoMovieRenderBudgetEvidence.d.ts +53 -0
  310. package/lib/renderBudgetPreflight/IAutoMovieRenderBudgetEvidence.js +3 -0
  311. package/lib/renderBudgetPreflight/IAutoMovieRenderBudgetEvidence.js.map +1 -0
  312. package/lib/renderBudgetPreflight/IAutoMovieRenderGraphicsIdentity.d.ts +27 -0
  313. package/lib/renderBudgetPreflight/IAutoMovieRenderGraphicsIdentity.js +3 -0
  314. package/lib/renderBudgetPreflight/IAutoMovieRenderGraphicsIdentity.js.map +1 -0
  315. package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.d.ts +28 -0
  316. package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.js +77 -0
  317. package/lib/renderBudgetPreflight/assessAutoMovieRenderBudget.js.map +1 -0
  318. package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.d.ts +23 -0
  319. package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.js +55 -0
  320. package/lib/renderBudgetPreflight/autoMovieRenderBudgetEvidence.js.map +1 -0
  321. package/lib/renderBudgetPreflight/autoMovieRenderBudgetRefusal.d.ts +17 -0
  322. package/lib/renderBudgetPreflight/autoMovieRenderBudgetRefusal.js +51 -0
  323. package/lib/renderBudgetPreflight/autoMovieRenderBudgetRefusal.js.map +1 -0
  324. package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.d.ts +22 -0
  325. package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.js +32 -0
  326. package/lib/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.js.map +1 -0
  327. package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.d.ts +23 -0
  328. package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.js +35 -0
  329. package/lib/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.js.map +1 -0
  330. package/lib/renderBudgetPreflight/index.d.ts +9 -0
  331. package/lib/renderBudgetPreflight/index.js +26 -0
  332. package/lib/renderBudgetPreflight/index.js.map +1 -0
  333. package/lib/renderBudgetPreflight/selectAutoMovieRenderBudget.d.ts +18 -0
  334. package/lib/renderBudgetPreflight/selectAutoMovieRenderBudget.js +22 -0
  335. package/lib/renderBudgetPreflight/selectAutoMovieRenderBudget.js.map +1 -0
  336. package/lib/renderCaptionSidecar.d.ts +13 -0
  337. package/lib/renderCaptionSidecar.js +17 -0
  338. package/lib/renderCaptionSidecar.js.map +1 -0
  339. package/lib/renderObservationAudit.d.ts +1 -0
  340. package/lib/renderObservationAudit.js +18 -0
  341. package/lib/renderObservationAudit.js.map +1 -0
  342. package/lib/renderPathStem.d.ts +22 -0
  343. package/lib/renderPathStem.js +64 -0
  344. package/lib/renderPathStem.js.map +1 -0
  345. package/lib/renderPoseKeypointSidecar.d.ts +15 -0
  346. package/lib/renderPoseKeypointSidecar.js +19 -0
  347. package/lib/renderPoseKeypointSidecar.js.map +1 -0
  348. package/lib/renderSequenceAndSee.d.ts +14 -0
  349. package/lib/renderSequenceAndSee.js +32 -0
  350. package/lib/renderSequenceAndSee.js.map +1 -0
  351. package/lib/renderSequenceVideo.d.ts +15 -0
  352. package/lib/renderSequenceVideo.js +35 -0
  353. package/lib/renderSequenceVideo.js.map +1 -0
  354. package/lib/renderVideo.d.ts +17 -0
  355. package/lib/renderVideo.js +45 -0
  356. package/lib/renderVideo.js.map +1 -0
  357. package/lib/screenplay/index.d.ts +1 -0
  358. package/lib/screenplay/index.js +18 -0
  359. package/lib/screenplay/index.js.map +1 -0
  360. package/lib/screenplay/renderScreenplay.d.ts +25 -0
  361. package/lib/screenplay/renderScreenplay.js +101 -0
  362. package/lib/screenplay/renderScreenplay.js.map +1 -0
  363. package/lib/screenplay/screenplaySceneSlug.d.ts +17 -0
  364. package/lib/screenplay/screenplaySceneSlug.js +21 -0
  365. package/lib/screenplay/screenplaySceneSlug.js.map +1 -0
  366. package/lib/sequenceRenderPlan.d.ts +5 -0
  367. package/lib/sequenceRenderPlan.js +22 -0
  368. package/lib/sequenceRenderPlan.js.map +1 -0
  369. package/lib/sequenceRenderVideo.d.ts +6 -0
  370. package/lib/sequenceRenderVideo.js +23 -0
  371. package/lib/sequenceRenderVideo.js.map +1 -0
  372. package/lib/shotBeat.d.ts +18 -0
  373. package/lib/shotBeat.js +23 -0
  374. package/lib/shotBeat.js.map +1 -0
  375. package/lib/sliceCaptionSidecar.d.ts +15 -0
  376. package/lib/sliceCaptionSidecar.js +57 -0
  377. package/lib/sliceCaptionSidecar.js.map +1 -0
  378. package/package.json +46 -3
  379. package/src/AUTOMOVIE_GUIDE_PASSES.ts +19 -0
  380. package/src/IAutoMovieCaptionEntry.ts +32 -0
  381. package/src/IAutoMovieCaptionSidecar.ts +29 -0
  382. package/src/IAutoMovieCapturedFrame.ts +24 -0
  383. package/src/IAutoMovieGuidePassOutput.ts +27 -0
  384. package/src/IAutoMoviePoseKeypointActor.ts +39 -0
  385. package/src/IAutoMoviePoseKeypointFrame.ts +28 -0
  386. package/src/IAutoMoviePoseKeypointSidecar.ts +25 -0
  387. package/src/IAutoMovieRenderAdapters.ts +39 -0
  388. package/src/IAutoMovieRenderAndSeeRequest.ts +38 -0
  389. package/src/IAutoMovieRenderAndSeeResult.ts +23 -0
  390. package/src/IAutoMovieRenderChunk.ts +62 -0
  391. package/src/IAutoMovieRenderChunkPlan.ts +40 -0
  392. package/src/IAutoMovieRenderPassManifest.ts +25 -0
  393. package/src/IAutoMovieRenderReassembly.ts +28 -0
  394. package/src/IAutoMovieRenderResult.ts +46 -0
  395. package/src/IAutoMovieSequenceRenderAdapters.ts +41 -0
  396. package/src/IAutoMovieSequenceRenderAndSeeRequest.ts +47 -0
  397. package/src/IAutoMovieSequenceRenderAndSeeResult.ts +23 -0
  398. package/src/IAutoMovieSequenceRenderFrame.ts +48 -0
  399. package/src/IAutoMovieSequenceRenderPlan.ts +88 -0
  400. package/src/IAutoMovieSequenceRenderResult.ts +52 -0
  401. package/src/IAutoMovieSequenceRenderShotSpan.ts +46 -0
  402. package/src/IAutoMovieSequenceRenderTransitionSpan.ts +46 -0
  403. package/src/audio/encodeAutoMovieWavPcm16.ts +65 -0
  404. package/src/audio/index.ts +2 -0
  405. package/src/audio/mixAutoMovieAudioPcm.ts +137 -0
  406. package/src/auditAutoMovieRenderObservation.ts +79 -0
  407. package/src/cache/createAutoMovieHttpArtifactStore.ts +84 -0
  408. package/src/caption/IAutoMovieBeatCaption.ts +23 -0
  409. package/src/caption/autoMovieCaptionLanguageComparisonKey.ts +23 -0
  410. package/src/caption/beatCaptions.ts +59 -0
  411. package/src/caption/canonicalProductionWebVtt.ts +76 -0
  412. package/src/caption/canonicalizeAutoMovieCaptionText.ts +24 -0
  413. package/src/caption/escapeWebVttText.ts +23 -0
  414. package/src/caption/index.ts +11 -0
  415. package/src/caption/inspectAutoMovieCaptionReadabilityWithRuntime.ts +231 -0
  416. package/src/caption/isAutoMovieWebVttIdentifier.ts +26 -0
  417. package/src/caption/parseAutoMovieCaptionLanguage.ts +160 -0
  418. package/src/caption/serializeAutoMovieWebVttCueText.ts +28 -0
  419. package/src/caption/serializeAutoMovieWebVttIdentifier.ts +27 -0
  420. package/src/caption/serializeAutoMovieWebVttSingleLineText.ts +26 -0
  421. package/src/caption/webVttCaptionLanguage.ts +30 -0
  422. package/src/caption/webVttTime.ts +30 -0
  423. package/src/captionPlan.ts +1 -0
  424. package/src/captionSidecar.ts +3 -0
  425. package/src/captionSlice.ts +1 -0
  426. package/src/chunkSequenceRender.ts +5 -0
  427. package/src/delivery/AUTOMOVIE_MP4_SRGB_COLOUR.ts +21 -0
  428. package/src/delivery/AUTOMOVIE_MP4_UNITY_MATRIX.ts +14 -0
  429. package/src/delivery/AUTOMOVIE_PRODUCTION_OPUS_PROFILE.ts +28 -0
  430. package/src/delivery/AutoMovieProductionPngRole.ts +18 -0
  431. package/src/delivery/IAutoMovieProductionPngProfile.ts +52 -0
  432. package/src/delivery/IAutoMovieProductionVideoProfile.ts +48 -0
  433. package/src/delivery/assertAutoMovieCaptureClock.ts +37 -0
  434. package/src/delivery/assertProductionOpusProfile.ts +179 -0
  435. package/src/delivery/assertProductionPngPicture.ts +62 -0
  436. package/src/delivery/assertProductionVideoProfile.ts +180 -0
  437. package/src/delivery/auditAutoMovieDecodedFrames.ts +157 -0
  438. package/src/delivery/auditAutoMovieEncodedPresentation.ts +86 -0
  439. package/src/delivery/index.ts +14 -0
  440. package/src/delivery/planAutoMovieCaptureUrl.ts +32 -0
  441. package/src/delivery/productionOpusDescription.ts +173 -0
  442. package/src/delivery/resolveProductionPngProfile.ts +70 -0
  443. package/src/delivery/resolveProductionVideoProfile.ts +48 -0
  444. package/src/ffmpegArgs.ts +61 -0
  445. package/src/film/AutoMovieOrderedScalar.ts +15 -0
  446. package/src/film/IAutoMovieProductionAudioAssetIdentity.ts +40 -0
  447. package/src/film/IAutoMovieProductionAudioAssetIdentityBase.ts +34 -0
  448. package/src/film/IAutoMovieProductionEncoderIdentity.ts +42 -0
  449. package/src/film/IAutoMovieProductionRenderChunk.ts +47 -0
  450. package/src/film/IAutoMovieProductionRenderJobPlan.ts +73 -0
  451. package/src/film/IAutoMovieProductionRenderRuntimeIdentity.ts +37 -0
  452. package/src/film/IAutoMovieProductionRenderTier.ts +27 -0
  453. package/src/film/assertSingleGuidePass.ts +38 -0
  454. package/src/film/equalOrderedScalars.ts +56 -0
  455. package/src/film/index.ts +9 -0
  456. package/src/film/normalizeAudioAssets.ts +74 -0
  457. package/src/film/normalizeRenderTier.ts +51 -0
  458. package/src/film/planProductionRenderJob.ts +353 -0
  459. package/src/film/productionVisualDeliveryOccurrence.ts +28 -0
  460. package/src/film/resolveProductionRenderTierFrameFormat.ts +60 -0
  461. package/src/film/validDigest.ts +23 -0
  462. package/src/film/validWaveAudioIdentity.ts +88 -0
  463. package/src/frameName.ts +24 -0
  464. package/src/framePattern.ts +19 -0
  465. package/src/frameTimes.ts +36 -0
  466. package/src/guidePassFrameName.ts +29 -0
  467. package/src/guidePassFramePattern.ts +27 -0
  468. package/src/guidePasses.ts +7 -0
  469. package/src/guidePassesInternal/passExtension.ts +19 -0
  470. package/src/index.ts +69 -0
  471. package/src/isGuidePass.ts +21 -0
  472. package/src/normalizeGuidePasses.ts +33 -0
  473. package/src/planCaptionSidecar.ts +98 -0
  474. package/src/planChunkedSequenceRender.ts +200 -0
  475. package/src/planGuidePassOutputs.ts +47 -0
  476. package/src/planPoseKeypointSidecar.ts +289 -0
  477. package/src/planSequenceRender.ts +175 -0
  478. package/src/planViewerFrameTimes.ts +98 -0
  479. package/src/renderAndSee.ts +30 -0
  480. package/src/renderBudgetPreflight/IAutoMovieRenderBudgetAssessment.ts +53 -0
  481. package/src/renderBudgetPreflight/IAutoMovieRenderBudgetEvidence.ts +61 -0
  482. package/src/renderBudgetPreflight/IAutoMovieRenderGraphicsIdentity.ts +29 -0
  483. package/src/renderBudgetPreflight/assessAutoMovieRenderBudget.ts +137 -0
  484. package/src/renderBudgetPreflight/autoMovieRenderBudgetEvidence.ts +100 -0
  485. package/src/renderBudgetPreflight/autoMovieRenderBudgetRefusal.ts +82 -0
  486. package/src/renderBudgetPreflight/autoMovieRenderTargetRendererOfGraphics.ts +40 -0
  487. package/src/renderBudgetPreflight/autoMovieRenderTargetSettingsOfShot.ts +59 -0
  488. package/src/renderBudgetPreflight/index.ts +9 -0
  489. package/src/renderBudgetPreflight/selectAutoMovieRenderBudget.ts +28 -0
  490. package/src/renderCaptionSidecar.ts +17 -0
  491. package/src/renderObservationAudit.ts +1 -0
  492. package/src/renderPathStem.ts +61 -0
  493. package/src/renderPoseKeypointSidecar.ts +19 -0
  494. package/src/renderSequenceAndSee.ts +34 -0
  495. package/src/renderSequenceVideo.ts +44 -0
  496. package/src/renderVideo.ts +65 -0
  497. package/src/screenplay/index.ts +1 -0
  498. package/src/screenplay/renderScreenplay.ts +128 -0
  499. package/src/screenplay/screenplaySceneSlug.ts +29 -0
  500. package/src/sequenceRenderPlan.ts +5 -0
  501. package/src/sequenceRenderVideo.ts +6 -0
  502. package/src/shotBeat.ts +19 -0
  503. package/src/sliceCaptionSidecar.ts +85 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"selectAutoMovieRenderBudget.js","sourceRoot":"","sources":["../../src/renderBudgetPreflight/selectAutoMovieRenderBudget.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;;;;GAeG;AACI,MAAM,2BAA2B,GAGH,CACnC,OAAsD,EACtD,IAAY,EACmB,EAAE,CACjC,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,IAAI,CAClB,CAAC,MAA8B,EAAW,EAAE,CAAC,MAAM,CAAC,IAAI,KAAK,IAAI,CAClE,IAAI,IAAI,CAAC;AATC,QAAA,2BAA2B,GAA3B,2BAA2B,CAS5B"}
@@ -0,0 +1,13 @@
1
+ import type { IAutoMovieCaptionSidecar } from "./IAutoMovieCaptionSidecar";
2
+ /**
3
+ * Serialize a caption sidecar for the host to write: two-space indented JSON in declaration order, followed by one newline.
4
+ *
5
+ * @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.
6
+ * @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.
7
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts It formats the value as given and adds no field or ordering for a particular consumer.
8
+ * @evidence contracts/development/common.md#meaningful-documentation The doc states the indentation, the key order and the trailing newline a host writes.
9
+ * @evidence contracts/development/implementation.md#efficient-algorithms One stringify pass is linear in the number of spans and their text length.
10
+ * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Serialization of one value per call coordinates no phases or consumers.
11
+ * @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.
12
+ */
13
+ export declare const renderCaptionSidecar: (sidecar: IAutoMovieCaptionSidecar) => string;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.renderCaptionSidecar = void 0;
4
+ /**
5
+ * Serialize a caption sidecar for the host to write: two-space indented JSON in declaration order, followed by one newline.
6
+ *
7
+ * @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.
8
+ * @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.
9
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts It formats the value as given and adds no field or ordering for a particular consumer.
10
+ * @evidence contracts/development/common.md#meaningful-documentation The doc states the indentation, the key order and the trailing newline a host writes.
11
+ * @evidence contracts/development/implementation.md#efficient-algorithms One stringify pass is linear in the number of spans and their text length.
12
+ * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Serialization of one value per call coordinates no phases or consumers.
13
+ * @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.
14
+ */
15
+ const renderCaptionSidecar = (sidecar) => `${JSON.stringify(sidecar, null, 2)}\n`;
16
+ exports.renderCaptionSidecar = renderCaptionSidecar;
17
+ //# sourceMappingURL=renderCaptionSidecar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderCaptionSidecar.js","sourceRoot":"","sources":["../src/renderCaptionSidecar.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;;;GAUG;AACI,MAAM,oBAAoB,GAEnB,CAAC,OAAiC,EAAU,EAAE,CAC1D,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;AAH7B,QAAA,oBAAoB,GAApB,oBAAoB,CAGS"}
@@ -0,0 +1 @@
1
+ export * from "./auditAutoMovieRenderObservation";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./auditAutoMovieRenderObservation"), exports);
18
+ //# sourceMappingURL=renderObservationAudit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderObservationAudit.js","sourceRoot":"","sources":["../src/renderObservationAudit.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oEAAkD"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * A file-system-safe stem for a render target's default frame directory and
3
+ * output video name, always exactly one path component.
4
+ *
5
+ * Every run of characters outside `A-Z a-z 0-9 _ . -` becomes one `_`, which
6
+ * also replaces every space, and trailing dots are removed because Windows
7
+ * strips them when it writes a name. An empty result, including `.` and `..`, becomes `render`,
8
+ * so `renders/<stem>` can never name the parent directory. A stem whose first
9
+ * dot-separated segment is a Windows device name, such as `con` or `nul.mp4`,
10
+ * gains a leading `_`. Distinct targets may share a stem, such as `a/b` and
11
+ * `a_b`; callers that need distinct paths must keep their targets distinct
12
+ * after this mapping.
13
+ *
14
+ * @evidence contracts/development/implementation.md#principled-implementation The allowed set contains no path separator, so the result is one component on POSIX and Windows, and the remaining hazards are the two names made of legal characters that mean a directory, `.` and `..`, Windows' trailing-dot stripping, its trailing-space stripping being unreachable because no space survives the character mapping, and its reserved device names, each handled by its own rule.
15
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure The sequence render plan and the production project's output naming both derive paths from target ids through this one function, so a frame directory and its video agree on the stem.
16
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The reserved-name list is the Windows device-name contract, a real platform difference, and no target id is special-cased.
17
+ * @evidence contracts/development/common.md#meaningful-documentation The doc states the character mapping, the trailing-character rule and why, the empty-result fallback, the device-name prefix, and that the mapping is not injective.
18
+ * @evidence contracts/development/implementation.md#efficient-algorithms Two regular-expression passes and one split are linear in the target length, and the device-name check is a constant-time set lookup.
19
+ * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call maps one short id, cheaper than caching.
20
+ * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The function returns a new string and retains nothing; the device-name set is a fixed module constant.
21
+ */
22
+ export declare const renderPathStem: (target: string) => string;
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.renderPathStem = void 0;
4
+ /**
5
+ * Windows reserved device names, matched case-insensitively against a stem's
6
+ * first dot-separated segment, because Windows reserves them with any
7
+ * extension.
8
+ */
9
+ const WINDOWS_RESERVED_NAMES = new Set([
10
+ "con",
11
+ "prn",
12
+ "aux",
13
+ "nul",
14
+ "com1",
15
+ "com2",
16
+ "com3",
17
+ "com4",
18
+ "com5",
19
+ "com6",
20
+ "com7",
21
+ "com8",
22
+ "com9",
23
+ "lpt1",
24
+ "lpt2",
25
+ "lpt3",
26
+ "lpt4",
27
+ "lpt5",
28
+ "lpt6",
29
+ "lpt7",
30
+ "lpt8",
31
+ "lpt9",
32
+ ]);
33
+ /**
34
+ * A file-system-safe stem for a render target's default frame directory and
35
+ * output video name, always exactly one path component.
36
+ *
37
+ * Every run of characters outside `A-Z a-z 0-9 _ . -` becomes one `_`, which
38
+ * also replaces every space, and trailing dots are removed because Windows
39
+ * strips them when it writes a name. An empty result, including `.` and `..`, becomes `render`,
40
+ * so `renders/<stem>` can never name the parent directory. A stem whose first
41
+ * dot-separated segment is a Windows device name, such as `con` or `nul.mp4`,
42
+ * gains a leading `_`. Distinct targets may share a stem, such as `a/b` and
43
+ * `a_b`; callers that need distinct paths must keep their targets distinct
44
+ * after this mapping.
45
+ *
46
+ * @evidence contracts/development/implementation.md#principled-implementation The allowed set contains no path separator, so the result is one component on POSIX and Windows, and the remaining hazards are the two names made of legal characters that mean a directory, `.` and `..`, Windows' trailing-dot stripping, its trailing-space stripping being unreachable because no space survives the character mapping, and its reserved device names, each handled by its own rule.
47
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure The sequence render plan and the production project's output naming both derive paths from target ids through this one function, so a frame directory and its video agree on the stem.
48
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The reserved-name list is the Windows device-name contract, a real platform difference, and no target id is special-cased.
49
+ * @evidence contracts/development/common.md#meaningful-documentation The doc states the character mapping, the trailing-character rule and why, the empty-result fallback, the device-name prefix, and that the mapping is not injective.
50
+ * @evidence contracts/development/implementation.md#efficient-algorithms Two regular-expression passes and one split are linear in the target length, and the device-name check is a constant-time set lookup.
51
+ * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work Each call maps one short id, cheaper than caching.
52
+ * @evidenceExclude contracts/development/implementation.md#bound-retention-and-release-resources The function returns a new string and retains nothing; the device-name set is a fixed module constant.
53
+ */
54
+ const renderPathStem = (target) => {
55
+ const cleaned = target
56
+ .replace(/[^A-Za-z0-9_.-]+/g, "_")
57
+ .replace(/\.+$/, "");
58
+ if (cleaned.length === 0)
59
+ return "render";
60
+ const base = cleaned.split(".")[0].toLowerCase();
61
+ return WINDOWS_RESERVED_NAMES.has(base) ? `_${cleaned}` : cleaned;
62
+ };
63
+ exports.renderPathStem = renderPathStem;
64
+ //# sourceMappingURL=renderPathStem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderPathStem.js","sourceRoot":"","sources":["../src/renderPathStem.ts"],"names":[],"mappings":";;;AAAA;;;;GAIG;AACH,MAAM,sBAAsB,GAAwB,IAAI,GAAG,CAAS;IAClE,KAAK;IACL,KAAK;IACL,KAAK;IACL,KAAK;IACL,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;IACN,MAAM;CACP,CAAC,CAAC;AAEH;;;;;;;;;;;;;;;;;;;;GAoBG;AACI,MAAM,cAAc,GAA+B,CACxD,MAAc,EACN,EAAE;IACV,MAAM,OAAO,GAAW,MAAM;SAC3B,OAAO,CAAC,mBAAmB,EAAE,GAAG,CAAC;SACjC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IACvB,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,QAAQ,CAAC;IAC1C,MAAM,IAAI,GAAW,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAE,CAAC,WAAW,EAAE,CAAC;IAC1D,OAAO,sBAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,OAAO,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC;AACpE,CAAC,CAAC;AATW,QAAA,cAAc,GAAd,cAAc,CASzB"}
@@ -0,0 +1,15 @@
1
+ import type { IAutoMoviePoseKeypointSidecar } from "./IAutoMoviePoseKeypointSidecar";
2
+ /**
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
+ *
5
+ * 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.
6
+ *
7
+ * @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.
8
+ * @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.
9
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The sidecar is written as given, with no field added, rounded or reordered.
10
+ * @evidence contracts/development/common.md#meaningful-documentation The doc states the exact text format, its determinism and the absent-field behavior.
11
+ * @evidence contracts/development/implementation.md#efficient-algorithms One `JSON.stringify` pass is linear in the sidecar's size.
12
+ * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A host serializes a sidecar once to write it.
13
+ * @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.
14
+ */
15
+ export declare const renderPoseKeypointSidecar: (sidecar: IAutoMoviePoseKeypointSidecar) => string;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.renderPoseKeypointSidecar = void 0;
4
+ /**
5
+ * Serialize a pose-keypoint sidecar for the host to write: JSON indented by two spaces, properties in declaration order, ending with one newline.
6
+ *
7
+ * 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.
8
+ *
9
+ * @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.
10
+ * @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.
11
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts The sidecar is written as given, with no field added, rounded or reordered.
12
+ * @evidence contracts/development/common.md#meaningful-documentation The doc states the exact text format, its determinism and the absent-field behavior.
13
+ * @evidence contracts/development/implementation.md#efficient-algorithms One `JSON.stringify` pass is linear in the sidecar's size.
14
+ * @evidenceExclude contracts/development/implementation.md#reuse-equivalent-work A host serializes a sidecar once to write it.
15
+ * @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.
16
+ */
17
+ const renderPoseKeypointSidecar = (sidecar) => `${JSON.stringify(sidecar, null, 2)}\n`;
18
+ exports.renderPoseKeypointSidecar = renderPoseKeypointSidecar;
19
+ //# sourceMappingURL=renderPoseKeypointSidecar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderPoseKeypointSidecar.js","sourceRoot":"","sources":["../src/renderPoseKeypointSidecar.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;GAYG;AACI,MAAM,yBAAyB,GAExB,CAAC,OAAsC,EAAU,EAAE,CAC/D,GAAG,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC;AAH7B,QAAA,yBAAyB,GAAzB,yBAAyB,CAGI"}
@@ -0,0 +1,14 @@
1
+ import type { IAutoMovieSequenceRenderAndSeeRequest } from "./IAutoMovieSequenceRenderAndSeeRequest";
2
+ import type { IAutoMovieSequenceRenderAndSeeResult } from "./IAutoMovieSequenceRenderAndSeeResult";
3
+ /**
4
+ * Build a sequence render manifest, execute it through host adapters, and return an artifact an agent can inspect without recomputing the cut.
5
+ *
6
+ * @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.
7
+ * @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.
8
+ * @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.
9
+ * @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.
10
+ * @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.
11
+ * @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.
12
+ * @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.
13
+ */
14
+ export declare const renderSequenceAndSee: (request: IAutoMovieSequenceRenderAndSeeRequest) => Promise<IAutoMovieSequenceRenderAndSeeResult>;
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.renderSequenceAndSee = void 0;
4
+ const planSequenceRender_1 = require("./planSequenceRender");
5
+ const renderSequenceVideo_1 = require("./renderSequenceVideo");
6
+ /**
7
+ * Build a sequence render manifest, execute it through host adapters, and return an artifact an agent can inspect without recomputing the cut.
8
+ *
9
+ * @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.
10
+ * @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.
11
+ * @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.
12
+ * @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.
13
+ * @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.
14
+ * @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.
15
+ * @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.
16
+ */
17
+ const renderSequenceAndSee = async (request) => {
18
+ const plan = (0, planSequenceRender_1.planSequenceRender)({
19
+ sequence: request.sequence,
20
+ shots: request.shots,
21
+ spec: request.spec,
22
+ frameDir: request.frameDir,
23
+ outputPath: request.outputPath,
24
+ });
25
+ return {
26
+ spec: { ...request.spec },
27
+ sequence: { id: request.sequence.id, fps: request.sequence.fps },
28
+ ...(await (0, renderSequenceVideo_1.renderSequenceVideo)(plan, request.adapters)),
29
+ };
30
+ };
31
+ exports.renderSequenceAndSee = renderSequenceAndSee;
32
+ //# sourceMappingURL=renderSequenceAndSee.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderSequenceAndSee.js","sourceRoot":"","sources":["../src/renderSequenceAndSee.ts"],"names":[],"mappings":";;;AAEA,6DAA0D;AAC1D,+DAA4D;AAE5D;;;;;;;;;;GAUG;AACI,MAAM,oBAAoB,GAEoB,KAAK,EACxD,OAA8C,EACC,EAAE;IACjD,MAAM,IAAI,GAA0C,IAAA,uCAAkB,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,yCAAmB,EAAC,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;KACvD,CAAC;AACJ,CAAC,CAAC;AAjBW,QAAA,oBAAoB,GAApB,oBAAoB,CAiB/B"}
@@ -0,0 +1,15 @@
1
+ import type { IAutoMovieSequenceRenderAdapters } from "./IAutoMovieSequenceRenderAdapters";
2
+ import { IAutoMovieSequenceRenderPlan } from "./IAutoMovieSequenceRenderPlan";
3
+ import type { IAutoMovieSequenceRenderResult } from "./IAutoMovieSequenceRenderResult";
4
+ /**
5
+ * 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
+ *
7
+ * @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.
8
+ * @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.
9
+ * @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.
10
+ * @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.
11
+ * @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.
12
+ * @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.
13
+ * @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.
14
+ */
15
+ export declare const renderSequenceVideo: (plan: IAutoMovieSequenceRenderPlan, adapters: IAutoMovieSequenceRenderAdapters) => Promise<IAutoMovieSequenceRenderResult>;
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.renderSequenceVideo = void 0;
4
+ /**
5
+ * 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
+ *
7
+ * @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.
8
+ * @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.
9
+ * @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.
10
+ * @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.
11
+ * @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.
12
+ * @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.
13
+ * @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.
14
+ */
15
+ const renderSequenceVideo = async (plan, adapters) => {
16
+ const frames = [];
17
+ for (const frame of plan.frames)
18
+ frames.push({
19
+ ...frame,
20
+ path: await adapters.captureFrame(frame, plan),
21
+ });
22
+ const output = await adapters.encode(plan.ffmpegArgs, plan.outputPath);
23
+ return {
24
+ output,
25
+ frameCount: frames.length,
26
+ times: plan.times,
27
+ frames,
28
+ frameDir: plan.frameDir,
29
+ inputPattern: plan.inputPattern,
30
+ ffmpegArgs: plan.ffmpegArgs,
31
+ plan,
32
+ };
33
+ };
34
+ exports.renderSequenceVideo = renderSequenceVideo;
35
+ //# sourceMappingURL=renderSequenceVideo.js.map
@@ -0,0 +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"}
@@ -0,0 +1,17 @@
1
+ import { IAutoMovieRenderSpec } from "@automovie/interface";
2
+ import type { IAutoMovieRenderAdapters } from "./IAutoMovieRenderAdapters";
3
+ import type { IAutoMovieRenderResult } from "./IAutoMovieRenderResult";
4
+ /**
5
+ * 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
+ *
7
+ * 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.
8
+ *
9
+ * @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.
10
+ * @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.
11
+ * @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.
12
+ * @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.
13
+ * @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.
14
+ * @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.
15
+ * @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.
16
+ */
17
+ export declare const renderVideo: (spec: IAutoMovieRenderSpec, durationSeconds: number, dir: string, outputPath: string, adapters: IAutoMovieRenderAdapters) => Promise<IAutoMovieRenderResult>;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.renderVideo = void 0;
4
+ const ffmpegArgs_1 = require("./ffmpegArgs");
5
+ const framePattern_1 = require("./framePattern");
6
+ const frameTimes_1 = require("./frameTimes");
7
+ /**
8
+ * 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.
9
+ *
10
+ * 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.
11
+ *
12
+ * @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.
13
+ * @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.
14
+ * @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.
15
+ * @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.
16
+ * @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.
17
+ * @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.
18
+ * @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.
19
+ */
20
+ const renderVideo = async (spec, durationSeconds, dir, outputPath, adapters) => {
21
+ const times = (0, frameTimes_1.frameTimes)(spec.frameFormat.fps, durationSeconds);
22
+ if (times.length === 0)
23
+ throw new Error(`renderVideo requires at least one frame; fps ${spec.frameFormat.fps} and duration ${durationSeconds} produced zero frames`);
24
+ const frames = [];
25
+ for (let i = 0; i < times.length; ++i)
26
+ frames.push(await adapters.captureFrame(times[i], i, dir));
27
+ const inputPattern = `${dir}/${(0, framePattern_1.framePattern)()}`;
28
+ const args = (0, ffmpegArgs_1.ffmpegArgs)(spec, inputPattern, outputPath);
29
+ const output = await adapters.encode(args, outputPath);
30
+ return {
31
+ output,
32
+ frameCount: frames.length,
33
+ times,
34
+ frames: frames.map((path, index) => ({
35
+ index,
36
+ timeSeconds: times[index],
37
+ path,
38
+ })),
39
+ frameDir: dir,
40
+ inputPattern,
41
+ ffmpegArgs: args,
42
+ };
43
+ };
44
+ exports.renderVideo = renderVideo;
45
+ //# sourceMappingURL=renderVideo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderVideo.js","sourceRoot":"","sources":["../src/renderVideo.ts"],"names":[],"mappings":";;;AAIA,6CAA0C;AAC1C,iDAA8C;AAC9C,6CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACI,MAAM,WAAW,GAMe,KAAK,EAC1C,IAA0B,EAC1B,eAAuB,EACvB,GAAW,EACX,UAAkB,EAClB,QAAkC,EACD,EAAE;IACnC,MAAM,KAAK,GAAa,IAAA,uBAAU,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,2BAAY,GAAE,EAAE,CAAC;IACxD,MAAM,IAAI,GAAa,IAAA,uBAAU,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"}
@@ -0,0 +1 @@
1
+ export * from "./renderScreenplay";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./renderScreenplay"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/screenplay/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
@@ -0,0 +1,25 @@
1
+ import { IAutoMovieScript } from "@automovie/interface";
2
+ /**
3
+ * Serialize a validated script into plain screenplay text with one terminal
4
+ * newline. A script with no beats throws before serialization.
5
+ *
6
+ * A tree supplies the intent header and is walked depth-first in declared
7
+ * child order. Script commit must already have validated its single intent,
8
+ * acyclicity and one-to-one beat join. A treeless script uses the flat logline,
9
+ * theme and ordered beat summaries.
10
+ *
11
+ * Tree output uses `ACT, <purpose>`, uppercase scene slugs, bracketed group
12
+ * rationale, `BEAT, <name>` and stage direction. Dialogue speakers use sixteen
13
+ * spaces of indentation and text uses eight, with `[t=<seconds>s]` for an
14
+ * anchored line. A shot caption writes `[Shot: <caption>]`. Supplied text is
15
+ * preserved; the serializer does not strip whitespace inside authored fields.
16
+ *
17
+ * @evidence contracts/development/implementation.md#principled-implementation A validated script tree is walked depth-first in declared child order; treeless scripts use flat beat order, and the tree intent supplies the header. Tree admission and cycle checks belong to script commit, not this serializer.
18
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure Tree and flat serialization remain private branches of one screenplay renderer, while scene slug spelling is shared with caption labels.
19
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Empty beat populations refuse instead of emitting an empty screenplay; no authored node id or dialogue text selects a special serialization path.
20
+ * @evidence contracts/development/common.md#meaningful-documentation The comment specifies tree ownership, fallback behavior, indentation, anchored seconds and terminal newline; author-supplied text is emitted without semantic rewriting.
21
+ * @evidence contracts/development/implementation.md#efficient-algorithms For N tree nodes, B beats and L output characters, beat and child maps plus traversal cost O(N+B+L) with O(N+B+L) retained construction data; recursion uses the tree depth.
22
+ * @evidence contracts/development/implementation.md#reuse-equivalent-work One child index and one beat-name index serve the complete document walk; no header, beat or scene is re-indexed for each descendant.
23
+ * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Maps, line arrays and recursion state are local to the serialization, and only the resulting screenplay string escapes with no file or renderer handle.
24
+ */
25
+ export declare const renderScreenplay: (script: IAutoMovieScript) => string;
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.renderScreenplay = void 0;
4
+ const screenplaySceneSlug_1 = require("./screenplaySceneSlug");
5
+ /**
6
+ * Serialize a validated script into plain screenplay text with one terminal
7
+ * newline. A script with no beats throws before serialization.
8
+ *
9
+ * A tree supplies the intent header and is walked depth-first in declared
10
+ * child order. Script commit must already have validated its single intent,
11
+ * acyclicity and one-to-one beat join. A treeless script uses the flat logline,
12
+ * theme and ordered beat summaries.
13
+ *
14
+ * Tree output uses `ACT, <purpose>`, uppercase scene slugs, bracketed group
15
+ * rationale, `BEAT, <name>` and stage direction. Dialogue speakers use sixteen
16
+ * spaces of indentation and text uses eight, with `[t=<seconds>s]` for an
17
+ * anchored line. A shot caption writes `[Shot: <caption>]`. Supplied text is
18
+ * preserved; the serializer does not strip whitespace inside authored fields.
19
+ *
20
+ * @evidence contracts/development/implementation.md#principled-implementation A validated script tree is walked depth-first in declared child order; treeless scripts use flat beat order, and the tree intent supplies the header. Tree admission and cycle checks belong to script commit, not this serializer.
21
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure Tree and flat serialization remain private branches of one screenplay renderer, while scene slug spelling is shared with caption labels.
22
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Empty beat populations refuse instead of emitting an empty screenplay; no authored node id or dialogue text selects a special serialization path.
23
+ * @evidence contracts/development/common.md#meaningful-documentation The comment specifies tree ownership, fallback behavior, indentation, anchored seconds and terminal newline; author-supplied text is emitted without semantic rewriting.
24
+ * @evidence contracts/development/implementation.md#efficient-algorithms For N tree nodes, B beats and L output characters, beat and child maps plus traversal cost O(N+B+L) with O(N+B+L) retained construction data; recursion uses the tree depth.
25
+ * @evidence contracts/development/implementation.md#reuse-equivalent-work One child index and one beat-name index serve the complete document walk; no header, beat or scene is re-indexed for each descendant.
26
+ * @evidence contracts/development/implementation.md#bound-retention-and-release-resources Maps, line arrays and recursion state are local to the serialization, and only the resulting screenplay string escapes with no file or renderer handle.
27
+ */
28
+ const renderScreenplay = (script) => {
29
+ if (script.beats.length === 0)
30
+ throw new Error("script has no beats: there is no screenplay to render");
31
+ const tree = script.tree ?? null;
32
+ if (tree === null)
33
+ return renderFlat(script);
34
+ return renderTree(script, tree);
35
+ };
36
+ exports.renderScreenplay = renderScreenplay;
37
+ const renderFlat = (script) => {
38
+ const lines = [
39
+ `LOGLINE: ${script.logline}`,
40
+ `THEME: ${script.theme}`,
41
+ ];
42
+ for (const beat of script.beats) {
43
+ lines.push("", `BEAT, ${beat.name}`, beat.summary);
44
+ }
45
+ return `${lines.join("\n")}\n`;
46
+ };
47
+ const renderTree = (script, tree) => {
48
+ const beatNames = new Map(script.beats.map((beat) => [
49
+ beat.id,
50
+ beat.name,
51
+ ]));
52
+ const children = new Map();
53
+ for (const node of tree) {
54
+ const list = children.get(node.parent) ?? [];
55
+ list.push(node);
56
+ children.set(node.parent, list);
57
+ }
58
+ const lines = [];
59
+ const walk = (node) => {
60
+ switch (node.kind) {
61
+ case "intent":
62
+ lines.push(`LOGLINE: ${node.payload.logline}`, `THEME: ${node.payload.theme}`);
63
+ break;
64
+ case "act":
65
+ lines.push("", `ACT, ${node.payload.purpose}`);
66
+ break;
67
+ case "scene": {
68
+ const slug = (0, screenplaySceneSlug_1.screenplaySceneSlug)(node.payload);
69
+ lines.push("", slug);
70
+ if (node.payload.description !== null)
71
+ lines.push(node.payload.description);
72
+ break;
73
+ }
74
+ case "group":
75
+ lines.push("", `[${node.payload.rationale}]`);
76
+ break;
77
+ case "beat": {
78
+ const name = beatNames.get(node.payload.beat) ?? node.payload.beat;
79
+ lines.push("", `BEAT, ${name}`, node.payload.direction);
80
+ for (const line of node.payload.dialogue)
81
+ lines.push(...dialogueLines(line));
82
+ if (node.payload.caption !== null)
83
+ lines.push(`[Shot: ${node.payload.caption}]`);
84
+ break;
85
+ }
86
+ }
87
+ for (const child of children.get(node.id) ?? [])
88
+ walk(child);
89
+ };
90
+ for (const root of children.get(null) ?? [])
91
+ walk(root);
92
+ return `${lines.join("\n")}\n`;
93
+ };
94
+ const dialogueLines = (line) => {
95
+ const anchor = line.anchor === null ? "" : `[t=${line.anchor}s] `;
96
+ return [
97
+ `${" ".repeat(16)}${line.speaker.toUpperCase()}`,
98
+ `${" ".repeat(8)}${anchor}${line.text}`,
99
+ ];
100
+ };
101
+ //# sourceMappingURL=renderScreenplay.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"renderScreenplay.js","sourceRoot":"","sources":["../../src/screenplay/renderScreenplay.ts"],"names":[],"mappings":";;;AAMA,+DAA4D;AAE5D;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACI,MAAM,gBAAgB,GAAyC,CACpE,MAAwB,EAChB,EAAE;IACV,IAAI,MAAM,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC;QAC3B,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;IAE3E,MAAM,IAAI,GAAkC,MAAM,CAAC,IAAI,IAAI,IAAI,CAAC;IAChE,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC;IAC7C,OAAO,UAAU,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AAClC,CAAC,CAAC;AATW,QAAA,gBAAgB,GAAhB,gBAAgB,CAS3B;AAEF,MAAM,UAAU,GAAyC,CACvD,MAAwB,EAChB,EAAE;IACV,MAAM,KAAK,GAAa;QACtB,YAAY,MAAM,CAAC,OAAO,EAAE;QAC5B,UAAU,MAAM,CAAC,KAAK,EAAE;KACzB,CAAC;IACF,KAAK,MAAM,IAAI,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;QAChC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACrD,CAAC;IACD,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;AACjC,CAAC,CAAC;AAEF,MAAM,UAAU,GAGF,CACZ,MAAwB,EACxB,IAA4B,EACpB,EAAE;IACV,MAAM,SAAS,GAAwB,IAAI,GAAG,CAC5C,MAAM,CAAC,KAAK,CAAC,GAAG,CACd,CAAC,IAAuC,EAAoB,EAAE,CAAC;QAC7D,IAAI,CAAC,EAAE;QACP,IAAI,CAAC,IAAI;KACV,CACF,CACF,CAAC;IACF,MAAM,QAAQ,GAA+C,IAAI,GAAG,EAAE,CAAC;IACvE,KAAK,MAAM,IAAI,IAAI,IAAI,EAAE,CAAC;QACxB,MAAM,IAAI,GAA2B,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;QACrE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAChB,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAClC,CAAC;IAED,MAAM,KAAK,GAAa,EAAE,CAAC;IAC3B,MAAM,IAAI,GAAyC,CACjD,IAA0B,EACpB,EAAE;QACR,QAAQ,IAAI,CAAC,IAAI,EAAE,CAAC;YAClB,KAAK,QAAQ;gBACX,KAAK,CAAC,IAAI,CACR,YAAY,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,EAClC,UAAU,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAC/B,CAAC;gBACF,MAAM;YACR,KAAK,KAAK;gBACR,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,QAAQ,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;gBAC/C,MAAM;YACR,KAAK,OAAO,EAAE,CAAC;gBACb,MAAM,IAAI,GAAW,IAAA,yCAAmB,EAAC,IAAI,CAAC,OAAO,CAAC,CAAC;gBACvD,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;gBACrB,IAAI,IAAI,CAAC,OAAO,CAAC,WAAW,KAAK,IAAI;oBACnC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;gBACvC,MAAM;YACR,CAAC;YACD,KAAK,OAAO;gBACV,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,IAAI,CAAC,OAAO,CAAC,SAAS,GAAG,CAAC,CAAC;gBAC9C,MAAM;YACR,KAAK,MAAM,EAAE,CAAC;gBACZ,MAAM,IAAI,GACR,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC;gBACxD,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,SAAS,IAAI,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;gBACxD,KAAK,MAAM,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,QAAQ;oBACtC,KAAK,CAAC,IAAI,CAAC,GAAG,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC;gBACrC,IAAI,IAAI,CAAC,OAAO,CAAC,OAAO,KAAK,IAAI;oBAC/B,KAAK,CAAC,IAAI,CAAC,UAAU,IAAI,CAAC,OAAO,CAAC,OAAO,GAAG,CAAC,CAAC;gBAChD,MAAM;YACR,CAAC;QACH,CAAC;QACD,KAAK,MAAM,KAAK,IAAI,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE;YAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IAC/D,CAAC,CAAC;IAEF,KAAK,MAAM,IAAI,IAAI,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE;QAAE,IAAI,CAAC,IAAI,CAAC,CAAC;IACxD,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;AACjC,CAAC,CAAC;AAEF,MAAM,aAAa,GAA+C,CAChE,IAA4B,EAClB,EAAE;IACZ,MAAM,MAAM,GAAW,IAAI,CAAC,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,IAAI,CAAC,MAAM,KAAK,CAAC;IAC1E,OAAO;QACL,GAAG,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE;QAChD,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,GAAG,IAAI,CAAC,IAAI,EAAE;KACxC,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { IAutoMovieScenePayload } from "@automovie/interface";
2
+ /**
3
+ * `INT. CASTLE COURTYARD - DAWN`: the screenplay slug of one scene, with the
4
+ * location and time of day upper-cased.
5
+ *
6
+ * The screenplay document and the caption join both name a scene by this one
7
+ * slug, so a caption's scene label always matches the document's heading.
8
+ *
9
+ * @evidence contracts/development/implementation.md#principled-implementation The scene payload's interior or exterior marker, uppercased location and uppercased time of day are joined with the screenplay's fixed heading punctuation.
10
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure The shared slug formatter keeps screenplay headings and caption scene labels on one spelling rule without owning either document traversal.
11
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Every supplied scene uses the same case conversion and punctuation; no location name or authored production receives a separate heading template.
12
+ * @evidence contracts/development/common.md#meaningful-documentation The comment gives the exact heading form and names the two consumers whose labels must agree.
13
+ * @evidence contracts/development/implementation.md#efficient-algorithms Uppercasing and joining cost linear time and space in the location and time-of-day strings, with no scene-tree traversal.
14
+ * @evidence contracts/development/implementation.md#reuse-equivalent-work This small formatter keeps no memo table; the consuming traversal owns whether a scene heading is requested once or repeatedly.
15
+ * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned heading is the only retained value and contains no reference to the scene payload or host resources.
16
+ */
17
+ export declare const screenplaySceneSlug: (payload: Pick<IAutoMovieScenePayload, "interiorExterior" | "location" | "timeOfDay">) => string;
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.screenplaySceneSlug = void 0;
4
+ /**
5
+ * `INT. CASTLE COURTYARD - DAWN`: the screenplay slug of one scene, with the
6
+ * location and time of day upper-cased.
7
+ *
8
+ * The screenplay document and the caption join both name a scene by this one
9
+ * slug, so a caption's scene label always matches the document's heading.
10
+ *
11
+ * @evidence contracts/development/implementation.md#principled-implementation The scene payload's interior or exterior marker, uppercased location and uppercased time of day are joined with the screenplay's fixed heading punctuation.
12
+ * @evidence contracts/development/implementation.md#clear-and-simple-structure The shared slug formatter keeps screenplay headings and caption scene labels on one spelling rule without owning either document traversal.
13
+ * @evidence contracts/development/implementation.md#prohibited-implementation-shortcuts Every supplied scene uses the same case conversion and punctuation; no location name or authored production receives a separate heading template.
14
+ * @evidence contracts/development/common.md#meaningful-documentation The comment gives the exact heading form and names the two consumers whose labels must agree.
15
+ * @evidence contracts/development/implementation.md#efficient-algorithms Uppercasing and joining cost linear time and space in the location and time-of-day strings, with no scene-tree traversal.
16
+ * @evidence contracts/development/implementation.md#reuse-equivalent-work This small formatter keeps no memo table; the consuming traversal owns whether a scene heading is requested once or repeatedly.
17
+ * @evidence contracts/development/implementation.md#bound-retention-and-release-resources The returned heading is the only retained value and contains no reference to the scene payload or host resources.
18
+ */
19
+ const screenplaySceneSlug = (payload) => `${payload.interiorExterior}. ${payload.location.toUpperCase()} - ${payload.timeOfDay.toUpperCase()}`;
20
+ exports.screenplaySceneSlug = screenplaySceneSlug;
21
+ //# sourceMappingURL=screenplaySceneSlug.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"screenplaySceneSlug.js","sourceRoot":"","sources":["../../src/screenplay/screenplaySceneSlug.ts"],"names":[],"mappings":";;;AAEA;;;;;;;;;;;;;;GAcG;AACI,MAAM,mBAAmB,GAKlB,CACZ,OAGC,EACO,EAAE,CACV,GAAG,OAAO,CAAC,gBAAgB,KAAK,OAAO,CAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,OAAO,CAAC,SAAS,CAAC,WAAW,EAAE,EAAE,CAAC;AAX3F,QAAA,mBAAmB,GAAnB,mBAAmB,CAWwE"}