hyperframes 0.8.213 → 0.8.216

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 (219) hide show
  1. package/dist/{add-GRJ6BQMO.js → add-2RWN7JAI.js} +18 -15
  2. package/dist/{agentPromptGenerator-2HTUGEKK.js → agentPromptGenerator-RVE5RWTH.js} +9 -8
  3. package/dist/{animatedGifPrep-7KPZBZXD.js → animatedGifPrep-I32BS5HI.js} +9 -8
  4. package/dist/api.js +20 -19
  5. package/dist/{asset-YVIFFWCU.js → asset-YLZ5UGVE.js} +2 -2
  6. package/dist/{assetCataloger-IZW7LPCT.js → assetCataloger-B4KOZO3V.js} +10 -9
  7. package/dist/{audio-X7274SUF.js → audio-VUOJ7MOJ.js} +180 -64
  8. package/dist/{auth-II6SIDJD.js → auth-3UL65CN7.js} +4 -4
  9. package/dist/{autoUpdate-WJIT74BG.js → autoUpdate-FEK5AHLP.js} +4 -3
  10. package/dist/{backgroundChecks-NMKJAES7.js → backgroundChecks-VJSQ3REH.js} +5 -4
  11. package/dist/backgroundChecksWorker.js +6 -5
  12. package/dist/{batchRender-I7GRY73M.js → batchRender-NC6SUDYN.js} +4 -4
  13. package/dist/{beats-6VXALJZT.js → beats-KSUZ23LE.js} +25 -19
  14. package/dist/{benchmark-RLIRA74V.js → benchmark-TRVQ7EPQ.js} +15 -12
  15. package/dist/{browser-7T3JMNTR.js → browser-3LJ3SLQ4.js} +10 -7
  16. package/dist/{bundleWithLocalizedFonts-C2LP6QZZ.js → bundleWithLocalizedFonts-Y7VGIRFK.js} +2 -2
  17. package/dist/{capture-V4HWHG7C.js → capture-NC5OO4D2.js} +3 -3
  18. package/dist/{capture-OZFDTN4A.js → capture-NT2SOO5J.js} +17 -16
  19. package/dist/{captureCompositionFrame-WZAVXCRQ.js → captureCompositionFrame-PAJRNURH.js} +15 -14
  20. package/dist/{catalog-UFC7JS4T.js → catalog-BOGZ2BQD.js} +19 -16
  21. package/dist/{catch-up-YBNKJDWJ.js → catch-up-FGF5SAEW.js} +10 -7
  22. package/dist/{check-ESQJHRGA.js → check-IG6NIMSC.js} +46 -43
  23. package/dist/{checkAudio-OIIBWFBF.js → checkAudio-6B2FKTIU.js} +14 -13
  24. package/dist/{checkBrowser-WAWL6TKX.js → checkBrowser-D6MZRCTH.js} +39 -36
  25. package/dist/{chunk-7LOVQRUJ.js → chunk-2JV6FKNZ.js} +3 -3
  26. package/dist/{chunk-WSEPFRJV.js → chunk-3AOXAXTA.js} +1 -1
  27. package/dist/{chunk-6LDHXB4Z.js → chunk-3F2DTPBD.js} +3 -2
  28. package/dist/{chunk-V2H5UABS.js → chunk-3S2WWGJJ.js} +3 -3
  29. package/dist/{chunk-ENE4IKFX.js → chunk-43USF7JF.js} +11 -11
  30. package/dist/{chunk-VTX27LET.js → chunk-4EEVTNDU.js} +3 -3
  31. package/dist/{chunk-MFC2PE7D.js → chunk-4MWUMT3T.js} +2 -2
  32. package/dist/chunk-4WEWHZZO.js +24 -0
  33. package/dist/{chunk-7JWRVKN4.js → chunk-4YIKQM4K.js} +1 -1
  34. package/dist/{chunk-SZOCI3JJ.js → chunk-557ZJMFI.js} +2 -2
  35. package/dist/{chunk-DQ26IA5P.js → chunk-5XTOAZMR.js} +1 -1
  36. package/dist/{chunk-LGDRKQKL.js → chunk-6HJUC2VX.js} +3 -3
  37. package/dist/{chunk-MBSESQED.js → chunk-6LQL2BVD.js} +1 -1
  38. package/dist/{chunk-F4EX52FU.js → chunk-7P76YIVS.js} +1 -1
  39. package/dist/{chunk-3OYLHBQZ.js → chunk-7RPXLY6U.js} +1 -1
  40. package/dist/{chunk-KSMCX5EP.js → chunk-ACAU2AK2.js} +4 -4
  41. package/dist/{chunk-I3G45TWG.js → chunk-BHWXSO6T.js} +1 -1
  42. package/dist/{chunk-K4WIOZFP.js → chunk-BR2JQQC5.js} +3 -5
  43. package/dist/{chunk-5ODMV7X6.js → chunk-BTYR7Y3Z.js} +2 -2
  44. package/dist/{chunk-PAZ7WUYZ.js → chunk-BYHG2T5X.js} +2 -2
  45. package/dist/{chunk-G6HUXX3L.js → chunk-CBCZBHGK.js} +4 -2
  46. package/dist/{chunk-ISMOBMWF.js → chunk-CX4TSC7T.js} +98 -37
  47. package/dist/{chunk-DJFEYX23.js → chunk-DFA5GTRJ.js} +1 -1
  48. package/dist/{chunk-KY67MTBH.js → chunk-DYHAZFK3.js} +336 -3
  49. package/dist/{chunk-TCCCAEZD.js → chunk-EB44YMQO.js} +3 -3
  50. package/dist/{chunk-LYON3VGF.js → chunk-EJTVBW42.js} +2 -2
  51. package/dist/{chunk-32NEJ553.js → chunk-FBN2M2HK.js} +28 -0
  52. package/dist/{chunk-QHWVCKC5.js → chunk-FUSUFW2L.js} +1 -1
  53. package/dist/{chunk-L72RQ45A.js → chunk-G3AG7A42.js} +1 -1
  54. package/dist/{chunk-FKFGGAXN.js → chunk-GLC5XHN5.js} +13 -0
  55. package/dist/{chunk-NGJS5H5E.js → chunk-GTKUQUZ6.js} +1 -1
  56. package/dist/{chunk-ZGG53XZX.js → chunk-I3VXWMQW.js} +7 -7
  57. package/dist/chunk-IVRKWQTX.js +5061 -0
  58. package/dist/{chunk-4645UHJF.js → chunk-JF3RF6GS.js} +3 -2
  59. package/dist/{chunk-FGIMC5I4.js → chunk-JFFQWMNE.js} +5 -5
  60. package/dist/{chunk-EQ66MVWZ.js → chunk-JOZQFSOV.js} +1 -1
  61. package/dist/{chunk-STK62RL7.js → chunk-KBTXAUCZ.js} +1 -1
  62. package/dist/{chunk-X4SBDDLS.js → chunk-KSC4O2RY.js} +4 -0
  63. package/dist/{chunk-FHO3FXTW.js → chunk-KYXBPFI7.js} +8 -6
  64. package/dist/{chunk-5766TK7Q.js → chunk-LAGZGKKN.js} +1 -1
  65. package/dist/{chunk-CLA4XSBO.js → chunk-LGZP4IR2.js} +3 -3
  66. package/dist/{chunk-TLXK5A2N.js → chunk-MKL6JGDL.js} +35 -30
  67. package/dist/{chunk-IHYWP4V5.js → chunk-MO6DJMZP.js} +1 -1
  68. package/dist/{chunk-2GS2RUVI.js → chunk-MU66MHZB.js} +2 -2
  69. package/dist/{chunk-Z7QHOT65.js → chunk-MYHAS5U2.js} +13 -17
  70. package/dist/{chunk-6CGYINE7.js → chunk-NOH32H42.js} +25 -0
  71. package/dist/{chunk-S3ZWVEGQ.js → chunk-NWYJZAPP.js} +1 -1
  72. package/dist/{chunk-2WELGDXU.js → chunk-OFJTXNRS.js} +5 -5
  73. package/dist/{chunk-TWCICOCI.js → chunk-OPLEWQHF.js} +1 -1
  74. package/dist/{chunk-BVHNFPRF.js → chunk-OWU2BURB.js} +2 -2
  75. package/dist/{chunk-HWHPYCBZ.js → chunk-PNE2Y42T.js} +1 -1
  76. package/dist/{chunk-VVDHSRKD.js → chunk-PPMLF76Z.js} +1 -1
  77. package/dist/chunk-PXVQOMKL.js +39 -0
  78. package/dist/{chunk-AJ3QW6RX.js → chunk-Q3OKLJ34.js} +3 -3
  79. package/dist/chunk-QBXDU24O.js +20 -0
  80. package/dist/{chunk-L34IH4SH.js → chunk-QETCWXRM.js} +5 -5
  81. package/dist/{chunk-H3I2VLLL.js → chunk-QGMRSNG5.js} +8 -4
  82. package/dist/{chunk-ZE57TSS6.js → chunk-QRIC4WOO.js} +1 -1
  83. package/dist/{chunk-FJ646TIT.js → chunk-R4EWRIDL.js} +161 -21
  84. package/dist/{chunk-53VXGZ3L.js → chunk-RH5Y75UX.js} +2 -2
  85. package/dist/{chunk-ZTCILR3V.js → chunk-RIGQABEL.js} +1 -1
  86. package/dist/{chunk-ZSRNM6LP.js → chunk-RKS7GO4O.js} +1 -1
  87. package/dist/{chunk-7I5N36JA.js → chunk-RN7RQBW3.js} +2 -2
  88. package/dist/{chunk-N3MOQTRS.js → chunk-ROUK3OL2.js} +8 -8
  89. package/dist/{chunk-BE6XXZAR.js → chunk-RXQU3QM4.js} +11 -11
  90. package/dist/{chunk-XNY2KI2Z.js → chunk-SBBYMUWY.js} +1 -1
  91. package/dist/{chunk-7J6LQ3SQ.js → chunk-SGTEKMJW.js} +19 -4
  92. package/dist/{chunk-GNSNCIHF.js → chunk-SPFTXNKQ.js} +20 -15
  93. package/dist/{chunk-46HYDDZ5.js → chunk-TBEU55KU.js} +1 -1
  94. package/dist/{chunk-76T7KAYD.js → chunk-TQSKEMSL.js} +48 -9
  95. package/dist/{chunk-O63A26XQ.js → chunk-U54ZBLTF.js} +2 -2
  96. package/dist/{chunk-Q55JNFDV.js → chunk-UGQFQDSV.js} +1 -1
  97. package/dist/{chunk-D3Q2TABU.js → chunk-UIETUYFT.js} +1 -1
  98. package/dist/{chunk-4BXPCS5B.js → chunk-UJEEURID.js} +15 -15
  99. package/dist/{chunk-DKEZSH6M.js → chunk-URUUGFZD.js} +3 -3
  100. package/dist/{chunk-LTQXIYNL.js → chunk-USQTLRSD.js} +3 -3
  101. package/dist/{chunk-7TWX4Y7I.js → chunk-UVXIJYZY.js} +3 -15
  102. package/dist/{chunk-NP4G4WPP.js → chunk-VDFY4FE5.js} +12 -11
  103. package/dist/{chunk-KL2UJXCY.js → chunk-VPA5YKEY.js} +2 -2
  104. package/dist/{chunk-CTZJSMGU.js → chunk-VZBJ5BQF.js} +1 -1
  105. package/dist/{chunk-KVFOQ3EM.js → chunk-VZENYSX7.js} +103 -13
  106. package/dist/{chunk-DW35FX4I.js → chunk-X5EOH44V.js} +1 -1
  107. package/dist/{chunk-CCLBOLYU.js → chunk-YBNF5ZOC.js} +1 -1
  108. package/dist/{chunk-TDNPJHEQ.js → chunk-YT4DR2UT.js} +7 -7
  109. package/dist/{chunk-LALMFSLB.js → chunk-Z4W7ND2L.js} +7 -7
  110. package/dist/{chunk-Z65ZQYBW.js → chunk-ZRK7ZEWI.js} +3 -3
  111. package/dist/{clean-XBQ54UZX.js → clean-WPLBDRSW.js} +23 -22
  112. package/dist/cli.js +61 -59
  113. package/dist/{cloud-E2GUGXXL.js → cloud-VMSG2SJB.js} +4 -4
  114. package/dist/{cloudrun-IAPFT66T.js → cloudrun-AXB4G6X2.js} +5 -5
  115. package/dist/commands/layout-audit.browser.js +37 -0
  116. package/dist/{compare-2VPIOCLV.js → compare-NVW3E74E.js} +36 -33
  117. package/dist/{compiler-3ED6KJYN.js → compiler-GHX7QLHL.js} +4 -4
  118. package/dist/{component-IH2KSDNM.js → component-ZQAP7CBI.js} +3 -3
  119. package/dist/{compositions-MIMF2GM3.js → compositions-FKHNCB6H.js} +17 -14
  120. package/dist/{delete-5H5EYSYK.js → delete-XYC7FN6A.js} +8 -6
  121. package/dist/{deploy-DMQT34K2.js → deploy-DOJS666X.js} +2 -2
  122. package/dist/{dist-ANQ2CIIO.js → dist-3Q2DNDSR.js} +17 -3
  123. package/dist/{dist-OKQM7BQ3.js → dist-KXFW5H5Q.js} +2 -2
  124. package/dist/{doctor-MTRZJQZZ.js → doctor-7CUFMW3Y.js} +16 -15
  125. package/dist/{events-2GNMM2YS.js → events-K7HUJ4DO.js} +9 -6
  126. package/dist/{events-TBKM6B5H.js → events-KGXVDZV7.js} +9 -6
  127. package/dist/{feedback-6NNSKXQP.js → feedback-F7WLYJGJ.js} +17 -14
  128. package/dist/{ffmpeg-622QCJLB.js → ffmpeg-ZFHN4YZ2.js} +9 -8
  129. package/dist/{figma-TFHZ3N5A.js → figma-7QKRKT5Q.js} +3 -3
  130. package/dist/fontLocalizeCli.js +13 -12
  131. package/dist/{get-P6RA7MAU.js → get-XKPYG6IC.js} +8 -6
  132. package/dist/{gpuPolicy-CK2XDEAM.js → gpuPolicy-A74BROG6.js} +9 -8
  133. package/dist/{grade-compare-LK6U7OJD.js → grade-compare-7SR62TE5.js} +37 -34
  134. package/dist/hangReport.js +1 -1
  135. package/dist/{heifImagePrep-3OXKQUEZ.js → heifImagePrep-XTCBHE3B.js} +10 -9
  136. package/dist/{help-YENCFXYK.js → help-B7CXC4J5.js} +3 -3
  137. package/dist/{history-V3E4UCMY.js → history-3INEHHZ4.js} +12 -9
  138. package/dist/hyperframe.manifest.json +1 -1
  139. package/dist/hyperframe.runtime.iife.js +71 -71
  140. package/dist/hyperframes-player.global.js +3 -3
  141. package/dist/{info-ZGKQMX3Z.js → info-J3U63EFT.js} +14 -11
  142. package/dist/{init-D6PJI2TA.js → init-2IEXXRG2.js} +35 -32
  143. package/dist/{inspect-UCHLILOX.js → inspect-IRJABR66.js} +37 -34
  144. package/dist/{installer-CV2OKJFW.js → installer-6JLQM6OJ.js} +5 -5
  145. package/dist/{keyframes-2IJTDJ7K.js → keyframes-G2TSKZRL.js} +12 -9
  146. package/dist/{lambda-GKZBKWTK.js → lambda-QFFFCFK3.js} +13 -12
  147. package/dist/{layout-KKPRCTME.js → layout-INRUYIDJ.js} +37 -34
  148. package/dist/{lint-NAC6M4NT.js → lint-BHPBD7Z3.js} +15 -12
  149. package/dist/{lintProject-MSATZIK7.js → lintProject-SZIPPOJR.js} +2 -2
  150. package/dist/{list-QRMXOTNB.js → list-BGL5PH6J.js} +8 -6
  151. package/dist/{localPage-KMXALM7A.js → localPage-MLFDX4Y6.js} +9 -8
  152. package/dist/{login-GBN5ZMEA.js → login-ABDL65L6.js} +19 -18
  153. package/dist/{logout-C6P6ERZ3.js → logout-CXGSSQ4Q.js} +6 -4
  154. package/dist/{manager-GPDDRQIW.js → manager-DEKPCPWH.js} +11 -10
  155. package/dist/{manager-IZIK7BHN.js → manager-LXWVBDLM.js} +3 -3
  156. package/dist/{media-treatment-4Q7G27JJ.js → media-treatment-BQDTCBIT.js} +31 -19
  157. package/dist/{models-7KJF4LYJ.js → models-SJIA5QDV.js} +13 -12
  158. package/dist/{motionShot-DQAX2QTZ.js → motionShot-46J3W5UJ.js} +19 -18
  159. package/dist/{normalize-audio-K7VCJQYJ.js → normalize-audio-UXAJSQKI.js} +16 -13
  160. package/dist/{open-ZSBVR3KC.js → open-DHRYP3N3.js} +18 -15
  161. package/dist/{parakeetRunner-XXZHJYKO.js → parakeetRunner-WKMM4TYU.js} +15 -14
  162. package/dist/{pipeline-KNLOS5CL.js → pipeline-EIVKRUX2.js} +13 -12
  163. package/dist/{play-GQWF7MU5.js → play-J5A7KHNF.js} +27 -24
  164. package/dist/{preflight-UMKQ5C5W.js → preflight-GKIQIXFQ.js} +12 -11
  165. package/dist/{present-X7BPH35M.js → present-ZDXILGQJ.js} +23 -20
  166. package/dist/{preview-5Q7HPEOF.js → preview-A2MLHZFF.js} +25 -22
  167. package/dist/{producer-IXOPGETH.js → producer-NYWYRG4X.js} +1 -1
  168. package/dist/{projectConfig-YGI5AINR.js → projectConfig-DY6FHC7A.js} +7 -7
  169. package/dist/{publication-ZSDCS2ST.js → publication-N4WHPZOW.js} +3 -3
  170. package/dist/{publish-S2IIRPFZ.js → publish-26W6VDND.js} +17 -15
  171. package/dist/{refresh-IYRGLHG5.js → refresh-VJ4FQVH2.js} +3 -2
  172. package/dist/{remove-background-F2WFDCNM.js → remove-background-JYUB75RB.js} +14 -13
  173. package/dist/{render-CHRSSQNM.js → render-AQH2VMHO.js} +125 -72
  174. package/dist/{render-NVHUPEDG.js → render-JZWO3VX3.js} +25 -22
  175. package/dist/{render-WYBQO4SR.js → render-YPI6CDRS.js} +6 -6
  176. package/dist/{render-batch-SDGA2643.js → render-batch-GR2Y3F2S.js} +6 -6
  177. package/dist/renderSetupWorker.js +6 -6
  178. package/dist/{resolver-3W2OPVGC.js → resolver-LTLSX6DR.js} +5 -5
  179. package/dist/{screenshotCapture-HDRHY4NN.js → screenshotCapture-U3IYWTDB.js} +1 -1
  180. package/dist/{sherpa-HCPAOYGA.js → sherpa-2DJ33LQP.js} +14 -13
  181. package/dist/sherpaWorker.js +1 -1
  182. package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -1
  183. package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +9 -0
  184. package/dist/skills/hyperframes-cli/references/preview-render.md +2 -2
  185. package/dist/skills/hyperframes-cli/references/upgrade-info-misc.md +2 -2
  186. package/dist/skills/media-use/references/meta.md +6 -5
  187. package/dist/skills/media-use/scripts/lib/telemetry.mjs +49 -15
  188. package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +19 -5
  189. package/dist/{skills-KOVM4OP5.js → skills-OF7XMPKX.js} +11 -8
  190. package/dist/{skillsUpdateCheck-ISMQFMPY.js → skillsUpdateCheck-E3HPT4PS.js} +5 -4
  191. package/dist/{snapshot-K7LVZDHG.js → snapshot-6F5XK22M.js} +60 -40
  192. package/dist/{src-QEFKMRH7.js → src-JUJFZ6GC.js} +12 -7
  193. package/dist/{src-FUMXFZYG.js → src-UNN3TXHH.js} +11 -10
  194. package/dist/{staticProjectServer-MF57NBIU.js → staticProjectServer-DLSH7DHS.js} +21 -20
  195. package/dist/{status-SLILCDBZ.js → status-TJFZFDGS.js} +5 -4
  196. package/dist/studio/assets/{hyperframes-player-Bb6n05RB.js → hyperframes-player-D38lr2hR.js} +3 -3
  197. package/dist/studio/assets/{index-pq574E5O.js → index-C-DCQ7nQ.js} +121 -121
  198. package/dist/studio/assets/{index-DOtf09XR.js → index-CJ28BLvq.js} +1 -1
  199. package/dist/studio/index.html +1 -1
  200. package/dist/{studio-api-Y4S3W7XE.js → studio-api-5YATSN7H.js} +11 -11
  201. package/dist/{studioServer-5LUZQOQV.js → studioServer-O3FSLOUF.js} +58 -55
  202. package/dist/{synthesize-FQML2LN2.js → synthesize-IKSZPKFJ.js} +2 -2
  203. package/dist/{system-MVRF5UM2.js → system-FDPS57FU.js} +2 -2
  204. package/dist/{telemetry-NTO4FJFN.js → telemetry-CY7V7FIN.js} +6 -5
  205. package/dist/{telemetry-TJMB5BTF.js → telemetry-MMCJ2ORL.js} +9 -6
  206. package/dist/{timeline-CU6CIWYL.js → timeline-ZBJTZK6E.js} +26 -23
  207. package/dist/{tokens-7P4N2FWN.js → tokens-JFYRYRDK.js} +2 -2
  208. package/dist/{transcribe-TFDEQFMG.js → transcribe-QUMMQM34.js} +13 -12
  209. package/dist/{transcribe-FZ7JK6QS.js → transcribe-UVQQ3OMR.js} +23 -20
  210. package/dist/{tts-K5HRN6NQ.js → tts-MQNOBHLH.js} +3 -3
  211. package/dist/{updateCheck-HUDVZHVM.js → updateCheck-VMMBGLTI.js} +4 -3
  212. package/dist/{upgrade-KP4RQZKY.js → upgrade-4VYNPIFQ.js} +4 -3
  213. package/dist/{urlDownloader-5SHSHWMB.js → urlDownloader-EAPV3CZL.js} +8 -7
  214. package/dist/{validate-VWX423M4.js → validate-JJG6Q6IH.js} +31 -28
  215. package/dist/{video-K4L2YFU2.js → video-7MJZ7IYL.js} +10 -9
  216. package/dist/warmCheck.js +47 -44
  217. package/dist/warmCheckClient.js +1 -1
  218. package/package.json +2 -1
  219. package/dist/chunk-N3ZAIZF3.js +0 -4870
@@ -8,12 +8,12 @@ import {
8
8
  Semaphore,
9
9
  prepareHeifImageInputs,
10
10
  withMediaProbeSlot
11
- } from "./chunk-2GS2RUVI.js";
11
+ } from "./chunk-MU66MHZB.js";
12
12
  import {
13
13
  EncoderInterruptedError,
14
14
  encoderFailureError,
15
15
  prepareAnimatedGifInputs
16
- } from "./chunk-PAZ7WUYZ.js";
16
+ } from "./chunk-BYHG2T5X.js";
17
17
  import {
18
18
  GENERIC_FAMILIES,
19
19
  collectFontFamilyCustomProperties,
@@ -109,6 +109,7 @@ import {
109
109
  frameSequencePath,
110
110
  getCapturePerfSummary,
111
111
  getCompositionDuration,
112
+ getCompositionLengthSource,
112
113
  getDrawElementVerificationDetails,
113
114
  getEncoderPreset,
114
115
  getFfmpegBinary,
@@ -173,7 +174,7 @@ import {
173
174
  videoAudioId,
174
175
  videoStartOnMediaTimeline,
175
176
  writeCapturedFrame
176
- } from "./chunk-KVFOQ3EM.js";
177
+ } from "./chunk-VZENYSX7.js";
177
178
  import {
178
179
  assignBundledRuntimeCompositionIds,
179
180
  emitMountedModuleScripts,
@@ -185,7 +186,7 @@ import {
185
186
  parsesAsScript,
186
187
  prepareFlattenedInnerRoot,
187
188
  stripSdrPngColourTags
188
- } from "./chunk-AJ3QW6RX.js";
189
+ } from "./chunk-Q3OKLJ34.js";
189
190
  import {
190
191
  collectScratchLeftovers,
191
192
  removeScratch,
@@ -206,7 +207,7 @@ import {
206
207
  parseVfxChain,
207
208
  resolveAuthoredTimingWindow,
208
209
  toFps
209
- } from "./chunk-KY67MTBH.js";
210
+ } from "./chunk-DYHAZFK3.js";
210
211
  import {
211
212
  COMPOSITION_SOURCE_URL,
212
213
  HF_COLOR_GRADING_ATTR,
@@ -241,7 +242,7 @@ import {
241
242
  sourceTimeAt,
242
243
  styleElementsFor,
243
244
  timeAtSourceTime
244
- } from "./chunk-N3ZAIZF3.js";
245
+ } from "./chunk-IVRKWQTX.js";
245
246
  import {
246
247
  TRANSITIONS,
247
248
  convertTransfer,
@@ -257,7 +258,7 @@ import {
257
258
  import {
258
259
  lintHyperframeHtml,
259
260
  resolveReferencedStart
260
- } from "./chunk-4645UHJF.js";
261
+ } from "./chunk-JF3RF6GS.js";
261
262
  import {
262
263
  isUnresolvedAssetPlaceholder,
263
264
  readProjectFile,
@@ -279,7 +280,7 @@ import {
279
280
  rewriteAssetPaths,
280
281
  rewriteCssAssetUrls,
281
282
  rewriteInlineStyleAssetUrls
282
- } from "./chunk-X4SBDDLS.js";
283
+ } from "./chunk-KSC4O2RY.js";
283
284
  import {
284
285
  CANVAS_DIMENSIONS,
285
286
  HTML_BODY_CSS_HEIGHT_FIRST_RE,
@@ -298,7 +299,7 @@ import {
298
299
  LOW_MEMORY_TOTAL_MB_THRESHOLD,
299
300
  getCgroupMemoryLimitMb,
300
301
  getSystemTotalMb
301
- } from "./chunk-32NEJ553.js";
302
+ } from "./chunk-FBN2M2HK.js";
302
303
 
303
304
  // ../producer/src/services/renderOrchestrator.ts
304
305
  import {
@@ -3827,6 +3828,10 @@ function resolveCaptureStallTimeoutMs() {
3827
3828
  const parsed = raw ? Number(raw) : Number.NaN;
3828
3829
  return Number.isFinite(parsed) && parsed > 0 ? parsed : DEFAULT_CAPTURE_STALL_MS;
3829
3830
  }
3831
+ function stallBudgetMs(stallTimeoutMs, framesDone, beginFrame, cfg) {
3832
+ const deadline = cfg.beginFrameFirstFrameDeadlineMs;
3833
+ return beginFrame && framesDone === 0 && deadline ? Math.min(stallTimeoutMs, deadline) : stallTimeoutMs;
3834
+ }
3830
3835
  function captureModeLabel(mode) {
3831
3836
  if (mode === "drawelement") return "drawElement";
3832
3837
  if (mode === "beginframe") return "BeginFrame";
@@ -4199,14 +4204,20 @@ async function runCaptureStreamingStage(input) {
4199
4204
  const phaseDetail = (phase) => `phase=${phase.phase} frame=${phase.frameIndex ?? "n/a"} step=${phase.readStep?.() ?? "n/a"} browser=${phase.browserExecutable} version=${phase.browserVersion} CanvasDrawElement=${phase.canvasDrawElement} gpu=${phase.gpuBackend}`;
4200
4205
  const phaseSummary = () => [...workerPhases.entries()].sort(([left], [right]) => left - right).map(([workerId, detail]) => `worker=${workerId} ${detail}`).join("; ");
4201
4206
  let stalled = false;
4207
+ const budget = () => stallBudgetMs(
4208
+ stallTimeoutMs,
4209
+ resumeFrom + lastCapturedFrames,
4210
+ captureLabel === "BeginFrame",
4211
+ cfg
4212
+ );
4202
4213
  const stallTimer = setInterval(
4203
4214
  () => {
4204
- if (!watchdogArmed || Date.now() - lastProgressAt <= stallTimeoutMs) return;
4215
+ if (!watchdogArmed || Date.now() - lastProgressAt <= budget()) return;
4205
4216
  stalled = true;
4206
4217
  const stallErr = new ParallelCaptureStallError({
4207
4218
  variant: "drain",
4208
4219
  captureLabel,
4209
- stallTimeoutMs,
4220
+ stallTimeoutMs: budget(),
4210
4221
  lastCapturedFrames: resumeFrom + lastCapturedFrames,
4211
4222
  totalFrames,
4212
4223
  phaseSummary: phaseSummary()
@@ -4214,7 +4225,7 @@ async function runCaptureStreamingStage(input) {
4214
4225
  parallelReorder.abort(stallErr);
4215
4226
  stallController.abort();
4216
4227
  },
4217
- Math.min(stallTimeoutMs, DE_STALL_POLL_MS)
4228
+ Math.min(budget(), DE_STALL_POLL_MS)
4218
4229
  );
4219
4230
  try {
4220
4231
  workerResults = await executeParallelCapture(
@@ -4295,7 +4306,7 @@ async function runCaptureStreamingStage(input) {
4295
4306
  throw new ParallelCaptureStallError({
4296
4307
  variant: "pool",
4297
4308
  captureLabel,
4298
- stallTimeoutMs,
4309
+ stallTimeoutMs: budget(),
4299
4310
  lastCapturedFrames: resumeFrom + lastCapturedFrames,
4300
4311
  totalFrames,
4301
4312
  phaseSummary: phaseSummary()
@@ -4396,10 +4407,16 @@ async function runCaptureStreamingStage(input) {
4396
4407
  for (let i = 0; i < totalFrames; i++) {
4397
4408
  assertNotAborted();
4398
4409
  const time = i * job.config.fps.den / job.config.fps.num;
4410
+ const budget = stallBudgetMs(
4411
+ stallTimeoutMs,
4412
+ i,
4413
+ session.captureMode === "beginframe",
4414
+ cfg
4415
+ );
4399
4416
  const { buffer } = await raceAgainstStall(
4400
4417
  captureFrameToBuffer(session, i, time),
4401
- stallTimeoutMs - (Date.now() - lastProgressAt),
4402
- { session, frameIndex: i, totalFrames, stallTimeoutMs },
4418
+ budget - (Date.now() - lastProgressAt),
4419
+ { session, frameIndex: i, totalFrames, stallTimeoutMs: budget },
4403
4420
  abortSignal
4404
4421
  );
4405
4422
  await reorderBuffer.waitForFrame(i);
@@ -5598,6 +5615,7 @@ function watchStall(phase, rule) {
5598
5615
  let lastChangeAt = Date.now();
5599
5616
  let attempt;
5600
5617
  let timer;
5618
+ let inTail = false;
5601
5619
  const restartWindow = (ms) => {
5602
5620
  last = rule.progress();
5603
5621
  budgetMs = ms;
@@ -5607,6 +5625,10 @@ function watchStall(phase, rule) {
5607
5625
  timer = setInterval(
5608
5626
  () => {
5609
5627
  const current = rule.progress();
5628
+ if (rule.complete?.() && !inTail) {
5629
+ inTail = true;
5630
+ return restartWindow(rule.tailMs ?? rule.noProgressMs);
5631
+ }
5610
5632
  if (current !== last) return restartWindow(rule.noProgressMs);
5611
5633
  if (Date.now() - lastChangeAt < budgetMs) return;
5612
5634
  const error = new RenderStageStalledError(phase, budgetMs, current);
@@ -5622,6 +5644,7 @@ function watchStall(phase, rule) {
5622
5644
  });
5623
5645
  const openAttempt = (parent) => {
5624
5646
  attempt = new AbortController();
5647
+ inTail = false;
5625
5648
  restartWindow(rule.firstProgressMs);
5626
5649
  return parent ? AbortSignal.any([parent, attempt.signal]) : attempt.signal;
5627
5650
  };
@@ -7863,7 +7886,8 @@ async function runCompileStage(input) {
7863
7886
  }
7864
7887
 
7865
7888
  // ../producer/src/services/render/stages/probeStage.ts
7866
- import { join as join15 } from "path";
7889
+ import { createHash as createHash5 } from "crypto";
7890
+ import { basename as basename5, join as join15 } from "path";
7867
7891
 
7868
7892
  // ../producer/src/services/render/stages/probeFailures.ts
7869
7893
  var NETWORK_FAILURE_PATTERN = /404|ERR_NAME_NOT_RESOLVED|ERR_CONNECTION_REFUSED|net::ERR_/i;
@@ -7986,6 +8010,13 @@ function hasRuntimeMediaChanges(html) {
7986
8010
  function probeRequiresBrowser(args) {
7987
8011
  return args.durationSeconds <= 0 || args.unresolvedCompositionCount > 0 || args.hasAutoStart || args.hasScriptedAudio || args.hasVariableMedia || args.hasInsertedMedia;
7988
8012
  }
8013
+ function reportedLengthSource(source) {
8014
+ if (!source) return null;
8015
+ if (source.from !== "media") return { from: source.from };
8016
+ const name = basename5(source.src.split(/[?#]/, 1)[0] ?? "");
8017
+ const srcHash = createHash5("sha256").update(name).digest("hex").slice(0, 12);
8018
+ return { from: "media", tag: source.tag, trimmed: source.trimmed, srcHash };
8019
+ }
7989
8020
  async function runProbeStage(input) {
7990
8021
  const {
7991
8022
  projectDir,
@@ -8007,6 +8038,7 @@ async function runProbeStage(input) {
8007
8038
  const probeCfg = cfg.forceScreenshot === forceScreenshot ? cfg : { ...cfg, forceScreenshot };
8008
8039
  let fileServer = null;
8009
8040
  let probeSession = null;
8041
+ let lengthSource = input.composition.duration > 0 ? { from: "declared" } : null;
8010
8042
  let beginFrameStalled = false;
8011
8043
  let lastBrowserConsole = [];
8012
8044
  const probeStart = Date.now();
@@ -8168,10 +8200,12 @@ async function runProbeStage(input) {
8168
8200
  if (composition.duration <= 0) {
8169
8201
  log.info("Discovering composition duration...");
8170
8202
  const discoveredDuration = await getCompositionDuration(session);
8203
+ lengthSource = reportedLengthSource(await getCompositionLengthSource(session));
8171
8204
  assertNotAborted();
8172
8205
  log.info("Probed composition duration from browser", {
8173
8206
  discoveredDuration,
8174
- staticDuration: compiled.staticDuration
8207
+ staticDuration: compiled.staticDuration,
8208
+ lengthSource
8175
8209
  });
8176
8210
  composition.duration = discoveredDuration;
8177
8211
  } else {
@@ -8460,6 +8494,7 @@ async function runProbeStage(input) {
8460
8494
  probeSession,
8461
8495
  lastBrowserConsole,
8462
8496
  duration,
8497
+ lengthSource,
8463
8498
  totalFrames,
8464
8499
  browserProbeMs,
8465
8500
  beginFrameStalled
@@ -8932,7 +8967,7 @@ function checkedDbfs(value) {
8932
8967
  }
8933
8968
  return value;
8934
8969
  }
8935
- async function scanTruePeak(audioPath, trim, timeoutMs, signal) {
8970
+ async function scanTruePeak(audioPath, trim, timeoutMs, signal, seekSeconds = 0) {
8936
8971
  let firstBlock;
8937
8972
  let laterBlocks = Number.NEGATIVE_INFINITY;
8938
8973
  let partialLine = "";
@@ -8948,7 +8983,21 @@ async function scanTruePeak(audioPath, trim, timeoutMs, signal) {
8948
8983
  }
8949
8984
  };
8950
8985
  const result = await runFfmpeg(
8951
- ["-i", audioPath, "-map", "0:a:0", "-vn", "-af", `${trim}ebur128=peak=true`, "-f", "null", "-"],
8986
+ [
8987
+ ...seekSeconds > 0 ? ["-ss", String(seekSeconds)] : [],
8988
+ ...[
8989
+ "-i",
8990
+ audioPath,
8991
+ "-map",
8992
+ "0:a:0",
8993
+ "-vn",
8994
+ "-af",
8995
+ `${trim}ebur128=peak=true`,
8996
+ "-f",
8997
+ "null",
8998
+ "-"
8999
+ ]
9000
+ ],
8952
9001
  { signal, timeout: timeoutMs, onStderr: readLines }
8953
9002
  );
8954
9003
  if (!result.success) {
@@ -8974,12 +9023,15 @@ async function measureTruePeakDbfs(audioPath, options) {
8974
9023
  const scans = await Promise.all(
8975
9024
  Array.from({ length: count }, (_, k) => {
8976
9025
  const start = k === 0 ? 0 : cut(k) - block;
8977
- const end = k === count - 1 ? "" : `:end_sample=${cut(k + 1)}`;
9026
+ const seekSeconds = Math.max(0, Math.floor(start / sampleRate) - 1);
9027
+ const skipped = seekSeconds * sampleRate;
9028
+ const end = k === count - 1 ? "" : `:end_sample=${cut(k + 1) - skipped}`;
8978
9029
  return scanTruePeak(
8979
9030
  audioPath,
8980
- `atrim=start_sample=${start}${end},`,
9031
+ `atrim=start_sample=${start - skipped}${end},`,
8981
9032
  timeoutMs,
8982
- segmentSignal
9033
+ segmentSignal,
9034
+ seekSeconds
8983
9035
  );
8984
9036
  })
8985
9037
  ).catch((error) => {
@@ -11555,12 +11607,15 @@ function resetCaptureAttemptProgress(job) {
11555
11607
  job.framesRendered = 0;
11556
11608
  }
11557
11609
  var FIRST_FRAME_STALL_MS = 3e5;
11558
- function frameStallRule(job) {
11610
+ var TAIL_STALL_MS = FIRST_FRAME_STALL_MS;
11611
+ function frameStallRule(job, totalFrames) {
11559
11612
  const noProgressMs = resolveCaptureStallTimeoutMs();
11560
11613
  return {
11561
11614
  progress: () => job.framesRendered ?? 0,
11562
11615
  noProgressMs,
11563
- firstProgressMs: Math.max(FIRST_FRAME_STALL_MS, noProgressMs)
11616
+ firstProgressMs: Math.max(FIRST_FRAME_STALL_MS, noProgressMs),
11617
+ complete: () => (job.framesRendered ?? 0) >= totalFrames,
11618
+ tailMs: Math.max(TAIL_STALL_MS, noProgressMs)
11564
11619
  };
11565
11620
  }
11566
11621
  function isRecoverableParallelCaptureError(error) {
@@ -12577,6 +12632,12 @@ async function executeRenderPipeline(input) {
12577
12632
  }
12578
12633
  observability.checkpoint("browser_probe", "duration resolved", {
12579
12634
  durationSeconds: probeResult.duration,
12635
+ lengthFrom: probeResult.lengthSource?.from ?? null,
12636
+ ...probeResult.lengthSource?.from === "media" ? {
12637
+ lengthTag: probeResult.lengthSource.tag,
12638
+ lengthTrimmed: probeResult.lengthSource.trimmed,
12639
+ lengthSrcHash: probeResult.lengthSource.srcHash
12640
+ } : {},
12580
12641
  totalFrames,
12581
12642
  compositionHash,
12582
12643
  beginFrameStalled: probeResult.beginFrameStalled
@@ -13446,7 +13507,7 @@ async function executeRenderPipeline(input) {
13446
13507
  onProgress
13447
13508
  });
13448
13509
  },
13449
- { stall: frameStallRule(job) }
13510
+ { stall: frameStallRule(job, totalFrames) }
13450
13511
  );
13451
13512
  lastBrowserConsole = hdrRes.lastBrowserConsole;
13452
13513
  layeredCaptureWarnings.push(...hdrRes.warnings);
@@ -13891,7 +13952,7 @@ async function executeRenderPipeline(input) {
13891
13952
  interleaveFrames: overlap !== null,
13892
13953
  openAttempt
13893
13954
  }),
13894
- { stall: frameStallRule(job) }
13955
+ { stall: frameStallRule(job, totalFrames) }
13895
13956
  );
13896
13957
  let captureRes;
13897
13958
  try {
@@ -14931,12 +14992,12 @@ function readPlanProtocolV1(planJson, capabilities = DISTRIBUTED_RENDER_CAPABILI
14931
14992
  }
14932
14993
 
14933
14994
  // ../producer/src/services/render/stages/planHash.ts
14934
- import { createHash as createHash5 } from "crypto";
14995
+ import { createHash as createHash6 } from "crypto";
14935
14996
  import { closeSync as closeSync4, createReadStream as createReadStream3, openSync as openSync4, readSync as readSync3 } from "fs";
14936
14997
  var PLAN_HASH_SCHEMA_PREFIX = "hyperframes-plan-hash-v1\0";
14937
14998
  var FIELD_DELIMITER = Buffer.from([0]);
14938
14999
  function computePlanHash(input) {
14939
- const hash = createHash5("sha256");
15000
+ const hash = createHash6("sha256");
14940
15001
  hash.update(PLAN_HASH_SCHEMA_PREFIX, "utf8");
14941
15002
  hash.update(input.compositionHtml);
14942
15003
  hash.update(FIELD_DELIMITER);
@@ -14983,12 +15044,12 @@ function canonicalJsonStringify(value) {
14983
15044
  throw new TypeError(`canonicalJsonStringify: unsupported value type ${typeof value}`);
14984
15045
  }
14985
15046
  function sha256Hex(bytes) {
14986
- const h = createHash5("sha256");
15047
+ const h = createHash6("sha256");
14987
15048
  h.update(bytes);
14988
15049
  return h.digest("hex");
14989
15050
  }
14990
15051
  function sha256File(path) {
14991
- const hash = createHash5("sha256");
15052
+ const hash = createHash6("sha256");
14992
15053
  const buffer = Buffer.allocUnsafe(1024 * 1024);
14993
15054
  const fd = openSync4(path, "r");
14994
15055
  try {
@@ -15003,7 +15064,7 @@ function sha256File(path) {
15003
15064
  return hash.digest("hex");
15004
15065
  }
15005
15066
  async function sha256FileAsync(path) {
15006
- const hash = createHash5("sha256");
15067
+ const hash = createHash6("sha256");
15007
15068
  for await (const chunk of createReadStream3(path, { highWaterMark: 1024 * 1024 })) {
15008
15069
  hash.update(chunk);
15009
15070
  }
@@ -15772,7 +15833,7 @@ async function muxChunkWithAudio(input) {
15772
15833
  }
15773
15834
 
15774
15835
  // ../producer/src/services/distributed/planSize.ts
15775
- import { createHash as createHash6 } from "crypto";
15836
+ import { createHash as createHash7 } from "crypto";
15776
15837
  import { lstatSync as lstatSync2, readdirSync as readdirSync8 } from "fs";
15777
15838
  import { extname as extname5, join as join32, relative as relative4 } from "path";
15778
15839
  var MAX_TOP_COMPONENTS = 10;
@@ -15802,7 +15863,7 @@ var PLAN_ROOT_CATEGORY = {
15802
15863
  "plan.json": "metadata"
15803
15864
  };
15804
15865
  function hashComponent(value) {
15805
- return createHash6("sha256").update(value).digest("hex").slice(0, 12);
15866
+ return createHash7("sha256").update(value).digest("hex").slice(0, 12);
15806
15867
  }
15807
15868
  function classifyFile(segments, rootKind) {
15808
15869
  const rootName = segments[0] ?? "";
@@ -16423,7 +16484,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
16423
16484
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
16424
16485
  if (probeResult.probeSession) {
16425
16486
  try {
16426
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-QEFKMRH7.js");
16487
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-JUJFZ6GC.js");
16427
16488
  await closeCaptureSession2(probeResult.probeSession);
16428
16489
  } catch (err) {
16429
16490
  log.warn("[plan] probe session close failed", {
@@ -18155,7 +18216,7 @@ function startServer(options = {}) {
18155
18216
  });
18156
18217
  async function shutdown(signal) {
18157
18218
  log.info(`Received ${signal}, shutting down`);
18158
- const { drainBrowserPool } = await import("./src-QEFKMRH7.js");
18219
+ const { drainBrowserPool } = await import("./src-JUJFZ6GC.js");
18159
18220
  await drainBrowserPool().catch(() => {
18160
18221
  });
18161
18222
  const handle = await Promise.race([
@@ -19946,7 +20007,7 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
19946
20007
  openAttempt,
19947
20008
  verifyFirstSession: forceScreenshot || !verifyInWorker ? void 0 : verifyFirstWorker
19948
20009
  }),
19949
- { stall: frameStallRule(job) }
20010
+ { stall: frameStallRule(job, framesInChunk) }
19950
20011
  ).catch(async (captureError) => {
19951
20012
  await overlap.current?.abort();
19952
20013
  overlap.current = null;
@@ -20114,7 +20175,7 @@ async function assembleV2(planV2Dir, chunkPaths, outputPath, options) {
20114
20175
 
20115
20176
  // ../producer/src/services/distributed/projectHash.ts
20116
20177
  import { closeSync as closeSync7, openSync as openSync7, readdirSync as readdirSync12, readSync as readSync5, realpathSync as realpathSync2, statSync as statSync12 } from "fs";
20117
- import { createHash as createHash7 } from "crypto";
20178
+ import { createHash as createHash8 } from "crypto";
20118
20179
  import { join as join43 } from "path";
20119
20180
  var READ_CHUNK_BYTES = 256 * 1024;
20120
20181
 
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
1278
1278
  } catch (err) {
1279
1279
  if (err instanceof Error) {
1280
1280
  try {
1281
- const { trackCommandFailure } = await import("./events-TBKM6B5H.js");
1281
+ const { trackCommandFailure } = await import("./events-KGXVDZV7.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,