hyperframes 0.9.31 → 0.9.33

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 (302) hide show
  1. package/dist/{add-53MR45WI.js → add-GDXM36YQ.js} +18 -18
  2. package/dist/{agentPromptGenerator-NXF7237H.js → agentPromptGenerator-KPNDH2EI.js} +36 -19
  3. package/dist/{animatedGifPrep-XF6VJW22.js → animatedGifPrep-SAKETEZ2.js} +11 -11
  4. package/dist/api.js +51 -46
  5. package/dist/{appHistory-DLDRURHW.js → appHistory-WZIHFCPK.js} +3 -3
  6. package/dist/{asset-Y3YAVXJ3.js → asset-KOJC72AQ.js} +2 -2
  7. package/dist/{assetCataloger-DRLH2VFH.js → assetCataloger-Q4ZFUI6G.js} +13 -13
  8. package/dist/{audio-TRDZQ2NW.js → audio-XZBBXKQC.js} +32 -30
  9. package/dist/{auth-MN66MWGN.js → auth-X45YSZGE.js} +4 -4
  10. package/dist/{autoUpdate-KAIIQJBV.js → autoUpdate-77XWQ564.js} +3 -3
  11. package/dist/{avatars-F2COSI7P.js → avatars-D3D22TI2.js} +20 -19
  12. package/dist/{backgroundChecks-36UG4V5N.js → backgroundChecks-2L2RWFJ3.js} +4 -4
  13. package/dist/backgroundChecksWorker.js +5 -5
  14. package/dist/{batchRender-CI6OFGS5.js → batchRender-O7J47H2Z.js} +5 -5
  15. package/dist/{beats-GBCNB763.js → beats-6RVVU56H.js} +15 -15
  16. package/dist/{benchmark-AHHMJBDN.js → benchmark-D5JRNAVQ.js} +12 -12
  17. package/dist/{billing-HME22C5A.js → billing-WT4DGZII.js} +20 -19
  18. package/dist/{browser-VZTIOZI3.js → browser-2OR737P4.js} +9 -9
  19. package/dist/{bundleWithLocalizedFonts-XLFSHMET.js → bundleWithLocalizedFonts-VBET4RVR.js} +1 -1
  20. package/dist/{capture-ZILHWIOF.js → capture-23X2CK56.js} +82 -39
  21. package/dist/{capture-NU2ZIXJB.js → capture-B34FTO6G.js} +4 -4
  22. package/dist/{captureCompositionFrame-ZWVKRKLL.js → captureCompositionFrame-TPZKEVKN.js} +19 -19
  23. package/dist/{captureFile-O7JMINHC.js → captureFile-Y2ZMB7HK.js} +3 -3
  24. package/dist/{catalog-NVEGPXGE.js → catalog-ACHSYU5Z.js} +18 -18
  25. package/dist/{catch-up-W7ST5JSZ.js → catch-up-FGANS2BB.js} +12 -12
  26. package/dist/{check-BZ652RYH.js → check-DXK4L5WP.js} +54 -54
  27. package/dist/{checkAudio-5NVSRMGL.js → checkAudio-4ISYJED3.js} +20 -20
  28. package/dist/{checkBrowser-YN454IBU.js → checkBrowser-5ECMULMP.js} +47 -47
  29. package/dist/{chunk-Q7EIUAYK.js → chunk-23354HMA.js} +3 -3
  30. package/dist/{chunk-W4OMDRZF.js → chunk-2I4DQZLQ.js} +28 -8
  31. package/dist/{chunk-O4Z4D4KA.js → chunk-2KYLVWLO.js} +1 -1
  32. package/dist/{chunk-BJSUKOWW.js → chunk-2LMCARA5.js} +2 -2
  33. package/dist/{chunk-XB77LMOP.js → chunk-2QTGQGYA.js} +1 -1
  34. package/dist/{chunk-JULHFF3J.js → chunk-2RBQLV6B.js} +1 -1
  35. package/dist/{chunk-R5U5PFDJ.js → chunk-2TBW7UOF.js} +5177 -4970
  36. package/dist/{chunk-RCWPVC4M.js → chunk-3J32XVJ6.js} +2 -2
  37. package/dist/{chunk-CP4FVXKZ.js → chunk-45ZQI734.js} +2 -2
  38. package/dist/{chunk-LHBQW4GJ.js → chunk-4CHGNFCS.js} +23 -15
  39. package/dist/{chunk-RLYYA6IR.js → chunk-4DLYTSWQ.js} +15 -8
  40. package/dist/{chunk-JLUOG6S2.js → chunk-4FTJE22M.js} +2 -2
  41. package/dist/{chunk-WAXPM7TK.js → chunk-4RPIEGL3.js} +2 -2
  42. package/dist/{chunk-ZSELEQI2.js → chunk-4US5QCXR.js} +408 -219
  43. package/dist/{chunk-CWOUPW5E.js → chunk-4WZU4FYS.js} +4 -4
  44. package/dist/{chunk-B7H5RCKP.js → chunk-5GYTBKZA.js} +2 -2
  45. package/dist/{chunk-4HSE3FWO.js → chunk-5RVPI6QL.js} +4 -4
  46. package/dist/{chunk-VEIGTKYZ.js → chunk-64F653HO.js} +36 -9
  47. package/dist/{chunk-KAICKZZK.js → chunk-6QEEF5RR.js} +1 -1
  48. package/dist/{chunk-5Q3TTLGB.js → chunk-6RV2QY4K.js} +31 -31
  49. package/dist/{chunk-3SZ43GZG.js → chunk-6ZVUTYNB.js} +6 -6
  50. package/dist/{chunk-C4U6FRZH.js → chunk-76KUCQXD.js} +14 -11
  51. package/dist/{chunk-SWOAB4GM.js → chunk-77UB5EHM.js} +1 -1
  52. package/dist/{chunk-GRHBVTBK.js → chunk-7LTXT7ME.js} +11 -9
  53. package/dist/{chunk-RBECDLMQ.js → chunk-7UUUV4PN.js} +1 -1
  54. package/dist/{chunk-X3HQA3YE.js → chunk-A4VXOJZO.js} +10 -8
  55. package/dist/{chunk-OJSOH2LS.js → chunk-ADYMQM7T.js} +2 -2
  56. package/dist/{chunk-GSXHYLW4.js → chunk-AIC7T7CC.js} +2 -2
  57. package/dist/{chunk-MQOO5Z4U.js → chunk-B66UZ2YK.js} +9 -9
  58. package/dist/{chunk-7NDF2MO3.js → chunk-BAWGEGKD.js} +216 -344
  59. package/dist/{chunk-T7PFJH2B.js → chunk-BBL6STGK.js} +2 -2
  60. package/dist/{chunk-5AMGFTMU.js → chunk-C2VZ7UPE.js} +18 -18
  61. package/dist/{chunk-CUORARXJ.js → chunk-CDI3CCAU.js} +7 -7
  62. package/dist/{chunk-C5JKRCSG.js → chunk-CHCMXYER.js} +1 -1
  63. package/dist/{chunk-J3OVTOVC.js → chunk-CHJGVW5W.js} +15 -2
  64. package/dist/{chunk-OOEZ3FT3.js → chunk-CHM3QYLF.js} +3 -3
  65. package/dist/{chunk-TCQKCUDA.js → chunk-CKJDY6EK.js} +1 -1
  66. package/dist/{chunk-DJVSNDF3.js → chunk-CNJLBAKM.js} +133 -22
  67. package/dist/chunk-DDDSTRHU.js +3890 -0
  68. package/dist/{chunk-AWL5M7BX.js → chunk-DGC2RIQE.js} +4 -4
  69. package/dist/{chunk-LP7B3JLC.js → chunk-DMW5SSUN.js} +2 -1
  70. package/dist/{chunk-WSPGX2SM.js → chunk-DMZER7D5.js} +1 -1
  71. package/dist/{chunk-3DIYMOES.js → chunk-ERJBWDPM.js} +7 -7
  72. package/dist/{chunk-56MGA4FM.js → chunk-ETWXZQN5.js} +2 -2
  73. package/dist/{chunk-MMAPQWUP.js → chunk-EX533ULK.js} +2 -2
  74. package/dist/{chunk-HM3PIREE.js → chunk-EX7WPDFA.js} +2 -2
  75. package/dist/{chunk-MX3UCKZR.js → chunk-FRH3CPW5.js} +1 -1
  76. package/dist/{chunk-F2GWIWHN.js → chunk-G2XAFJ2B.js} +2 -2
  77. package/dist/{chunk-FKW5FP4C.js → chunk-G55YEL2L.js} +129 -89
  78. package/dist/{chunk-FRBQ3FIM.js → chunk-GBIASKIH.js} +1 -1
  79. package/dist/{chunk-44VR2CWT.js → chunk-GHLLC6LJ.js} +2 -2
  80. package/dist/{chunk-BIQJKM2O.js → chunk-GOMTMQRT.js} +1 -1
  81. package/dist/{chunk-BCMR6DE4.js → chunk-HEXTAQYG.js} +2 -2
  82. package/dist/{chunk-URXVZMSI.js → chunk-HMB3IAVP.js} +2 -2
  83. package/dist/{chunk-22PWPQVX.js → chunk-HPKW6UVW.js} +6 -6
  84. package/dist/{chunk-OFQWTKPW.js → chunk-HZTRKUKE.js} +8 -2
  85. package/dist/{chunk-YJVJCNK4.js → chunk-I35B5RWZ.js} +3 -3
  86. package/dist/{chunk-SCWMPY3F.js → chunk-I3PA54IU.js} +1 -1
  87. package/dist/{chunk-IEXRKKHC.js → chunk-IEEIPTDW.js} +1 -1
  88. package/dist/{chunk-CWN75OWQ.js → chunk-IYLGUQFR.js} +19 -7
  89. package/dist/chunk-JCJJCYCP.js +392 -0
  90. package/dist/{chunk-P7LZ2WSQ.js → chunk-JSVCF4A6.js} +4 -4
  91. package/dist/{chunk-WVRAFHJU.js → chunk-K2Z6OXEI.js} +33 -5
  92. package/dist/{chunk-OBRKDUCE.js → chunk-KIAY63AB.js} +38 -4
  93. package/dist/{chunk-HYRPH6LL.js → chunk-KRWPTZBY.js} +2 -5
  94. package/dist/{chunk-6VNDEMSP.js → chunk-L6BFXQ6S.js} +8 -4
  95. package/dist/chunk-M3BJEZ7E.js +152 -0
  96. package/dist/{chunk-ZOOY4LEZ.js → chunk-MA35E5OY.js} +3 -3
  97. package/dist/{chunk-IHWNDG5C.js → chunk-MDBEAWP2.js} +3 -3
  98. package/dist/{chunk-TEOIEMTR.js → chunk-MDGNQWFN.js} +1 -1
  99. package/dist/{chunk-3YNJAXA5.js → chunk-MOR3H5FK.js} +1 -1
  100. package/dist/{chunk-O7ZX5DHD.js → chunk-MP36L7OJ.js} +2 -2
  101. package/dist/{chunk-5LLDGJGZ.js → chunk-MVIUSNPZ.js} +1 -1
  102. package/dist/{chunk-IIMW46LC.js → chunk-N2C7WJDG.js} +1 -1
  103. package/dist/{chunk-XEPGN46Q.js → chunk-N6Y645MX.js} +1 -1
  104. package/dist/{chunk-IOPIOX5K.js → chunk-N7C7U3ZR.js} +7 -4
  105. package/dist/{chunk-AQJA7TAQ.js → chunk-NQFIMBXS.js} +2 -2
  106. package/dist/{chunk-G5DZZEQF.js → chunk-O2T6ZTLN.js} +1 -1
  107. package/dist/{chunk-RHUYVGFO.js → chunk-O5CNNVRY.js} +7 -7
  108. package/dist/{chunk-6WHOI52Z.js → chunk-OD7PLYYX.js} +8 -8
  109. package/dist/{chunk-K7JA32EI.js → chunk-PNP2BO3U.js} +2 -2
  110. package/dist/{chunk-5SDUQLZ3.js → chunk-PXDRW3QN.js} +1 -1
  111. package/dist/{chunk-ZLDYDO64.js → chunk-QUUZ2BGC.js} +6 -4
  112. package/dist/{chunk-SEVZKBMA.js → chunk-QWM3NY2E.js} +4 -4
  113. package/dist/{chunk-ZQYRP22G.js → chunk-R45WFVRA.js} +1 -1
  114. package/dist/{chunk-PGGMJW7B.js → chunk-RCB4SGTB.js} +35 -7
  115. package/dist/{chunk-GGDJLN5I.js → chunk-REJ4NIBY.js} +1 -1
  116. package/dist/{chunk-5HVQV4H4.js → chunk-RGYOCAHC.js} +2 -2
  117. package/dist/{chunk-GFDXA5QO.js → chunk-ROXILOZ6.js} +2 -2
  118. package/dist/{chunk-G5S72X6Q.js → chunk-SIGASWB7.js} +4 -4
  119. package/dist/{chunk-J5LQW6VB.js → chunk-SOAQ3XXB.js} +2 -2
  120. package/dist/{chunk-RLQOYHXT.js → chunk-SUXEL7G4.js} +15 -15
  121. package/dist/{chunk-SHOE3UR6.js → chunk-SVI2CJ6R.js} +1 -1
  122. package/dist/{chunk-Q77TZ76B.js → chunk-SWPI27QV.js} +8 -8
  123. package/dist/{chunk-T54RTTFW.js → chunk-T3GSTIBS.js} +3 -3
  124. package/dist/chunk-TFBPCJPG.js +26 -0
  125. package/dist/{chunk-XDIHAX2C.js → chunk-U77L3ZQZ.js} +1 -1
  126. package/dist/{chunk-3F2DTPBD.js → chunk-UC4X6I35.js} +6 -0
  127. package/dist/{chunk-7XZS4PNM.js → chunk-UE2WSWNA.js} +1 -1
  128. package/dist/{chunk-JHOPRAJN.js → chunk-VK3MQSA2.js} +11 -5
  129. package/dist/{chunk-KAHWO4XC.js → chunk-VKZSAAXZ.js} +3 -3
  130. package/dist/chunk-VQJLTYEK.js +453 -0
  131. package/dist/{chunk-5YYGPTBP.js → chunk-VZQXHYEI.js} +3 -3
  132. package/dist/{chunk-OZNJ2QD5.js → chunk-W2FSQBUR.js} +17 -17
  133. package/dist/{chunk-RVI665CP.js → chunk-W5PW26KE.js} +1 -1
  134. package/dist/{chunk-KKUBMYCY.js → chunk-WIMVXPYG.js} +12 -12
  135. package/dist/{chunk-ALVXFXUG.js → chunk-WXOOAAT4.js} +27 -4
  136. package/dist/{chunk-OB6DVKHE.js → chunk-WYPRTHXQ.js} +2 -2
  137. package/dist/{chunk-ELWX6CAA.js → chunk-XDDBSGBD.js} +2 -2
  138. package/dist/{chunk-VPPJIWVG.js → chunk-XDRSEU2I.js} +14 -14
  139. package/dist/{chunk-3OA75WJW.js → chunk-XFXCI4IP.js} +16 -9
  140. package/dist/{chunk-RJA64ACI.js → chunk-XQWWFIBR.js} +2 -2
  141. package/dist/{chunk-FK3KV32T.js → chunk-XSHJ37U3.js} +27 -24
  142. package/dist/{chunk-Y6RU3H6C.js → chunk-XUDJ5XSQ.js} +6 -6
  143. package/dist/{chunk-DFSAC4F4.js → chunk-XVVPEWNX.js} +1 -1
  144. package/dist/chunk-Y5DOT5NQ.js +57 -0
  145. package/dist/{chunk-SWC3QIEH.js → chunk-YAS347ZS.js} +1 -1
  146. package/dist/{chunk-L6ZLOJBI.js → chunk-YDG3OXH3.js} +3 -2
  147. package/dist/{chunk-SQ63BIR2.js → chunk-YNFHZ4RI.js} +3 -3
  148. package/dist/{chunk-5BIMSULZ.js → chunk-YSHUIQ3I.js} +2 -2
  149. package/dist/chunk-YTUPQTXA.js +560 -0
  150. package/dist/{chunk-54FVSPRH.js → chunk-ZIYXPDKY.js} +2 -2
  151. package/dist/chunk-ZOAANTVI.js +193 -0
  152. package/dist/{clean-WYXHI2DO.js → clean-3IN64RHM.js} +31 -31
  153. package/dist/cli.js +71 -69
  154. package/dist/{cloud-X52P5AIE.js → cloud-LBUZBUP6.js} +4 -4
  155. package/dist/{cloud-TDXVUIUM.js → cloud-SVYXHFEG.js} +9 -8
  156. package/dist/{cloudrun-36IR6ZKU.js → cloudrun-PZOF2QGL.js} +8 -8
  157. package/dist/{compare-R2KXOV2I.js → compare-UOJ3LXQQ.js} +46 -46
  158. package/dist/{compiler-FRWUFIQC.js → compiler-5ZDHBKBQ.js} +9 -7
  159. package/dist/{component-TIBQY7KQ.js → component-EVIPLTTJ.js} +3 -3
  160. package/dist/{compositions-NQPORXIX.js → compositions-R4GG5FBO.js} +17 -17
  161. package/dist/{contactSheet-PZXG3REG.js → contactSheet-HZMP42FZ.js} +4 -4
  162. package/dist/contract/LICENSE-Unicode.txt +39 -0
  163. package/dist/contract/path-policy.json +311 -0
  164. package/dist/contract/unicode-15.1.0.json +6179 -0
  165. package/dist/{curve-DTLRPBSB.js → curve-LR3PSRW3.js} +16 -16
  166. package/dist/{cuts-73HKU767.js → cuts-DHCOBAFT.js} +17 -17
  167. package/dist/{delete-HIHA436T.js → delete-MMGGU3QP.js} +12 -11
  168. package/dist/deploy-SKIGUTM2.js +213 -0
  169. package/dist/{describeProject-4A5UXQ25.js → describeProject-L7HNTBPV.js} +12 -12
  170. package/dist/{destroy-4DOMPOYB.js → destroy-5HSMMDH7.js} +22 -18
  171. package/dist/{deterministicFonts-SKRN3TCP.js → deterministicFonts-2ZPRAI3C.js} +4 -4
  172. package/dist/{diff-JPADFUMV.js → diff-KR7VKPYL.js} +48 -47
  173. package/dist/{dist-EFXKPJJT.js → dist-3MFNUZSN.js} +4 -4
  174. package/dist/{dist-KWXQYTRT.js → dist-HK3AZNNL.js} +22 -22
  175. package/dist/{dist-FKEKIXVL.js → dist-ZGYPFYOH.js} +4 -4
  176. package/dist/docs/rendering.md +2 -0
  177. package/dist/{doctor-3OO3CONL.js → doctor-G7VGNSA5.js} +18 -18
  178. package/dist/{energy-XFPN5YIL.js → energy-H7EEH6WO.js} +17 -17
  179. package/dist/{events-6ONCYFB5.js → events-5ATZCZTK.js} +4 -4
  180. package/dist/{events-QWPZT3EQ.js → events-ASG27IXP.js} +19 -19
  181. package/dist/{events-G2MME5LQ.js → events-YD6N7OPQ.js} +9 -9
  182. package/dist/execute-OAS454OB.js +109 -0
  183. package/dist/{extract-3EV72SMY.js → extract-645SENLA.js} +20 -20
  184. package/dist/{face-JZS6P3AT.js → face-WRT5XH4I.js} +19 -19
  185. package/dist/{feedback-JVWBHRQG.js → feedback-3LKLR5MV.js} +22 -17
  186. package/dist/{ffmpeg-XDAITYSU.js → ffmpeg-PXKIZL2X.js} +11 -11
  187. package/dist/{figma-KPHTDMCQ.js → figma-RIEVJJBW.js} +3 -3
  188. package/dist/fontLocalizeCli.js +20 -20
  189. package/dist/{frames-KRVRJTKC.js → frames-OTB3J5W3.js} +19 -19
  190. package/dist/{generate-X2MYGFZX.js → generate-IUKCZW2D.js} +33 -32
  191. package/dist/{get-QM24BI7N.js → get-6WVQ7TBV.js} +12 -11
  192. package/dist/{gpuPolicy-EFJJLHVV.js → gpuPolicy-HXSVAEU4.js} +11 -11
  193. package/dist/{grade-compare-W5N5LH4X.js → grade-compare-TCAYHDEF.js} +47 -47
  194. package/dist/{gsapParser-3H7ON3DO.js → gsapParser-L7TM3RGH.js} +49 -26
  195. package/dist/hangReport.js +1 -1
  196. package/dist/{heifImagePrep-X5QRRVTV.js → heifImagePrep-GXIMK4HK.js} +12 -12
  197. package/dist/{help-LWS4YWMO.js → help-RGOL5EJD.js} +2 -1
  198. package/dist/{history-SG34LBJY.js → history-XKPRGJGS.js} +15 -15
  199. package/dist/hyperframe.manifest.json +1 -1
  200. package/dist/hyperframe.runtime.iife.js +42 -42
  201. package/dist/hyperframes-player.global.js +1 -1
  202. package/dist/{info-2FC43IYB.js → info-EYBBC42V.js} +19 -19
  203. package/dist/{init-GKY5OKDV.js → init-F2FWPSMA.js} +36 -36
  204. package/dist/{ink-7UK6YCUY.js → ink-BWFERAAT.js} +17 -17
  205. package/dist/{inspect-ZB2NTNQA.js → inspect-74N7L3BW.js} +44 -44
  206. package/dist/{installer-GALVXWPC.js → installer-LOUR7G4R.js} +8 -8
  207. package/dist/{keyframes-LSP4FLHT.js → keyframes-WB5PTKFE.js} +15 -13
  208. package/dist/{lambda-3F32DRYF.js → lambda-JYCNXUKB.js} +20 -20
  209. package/dist/{layout-XPGS3QTX.js → layout-P52EVR24.js} +44 -44
  210. package/dist/{lint-Q5SO57RK.js → lint-SL55KAS2.js} +15 -15
  211. package/dist/{lintProject-5CBL7VFV.js → lintProject-46WU53VC.js} +4 -4
  212. package/dist/{list-FL5RYSFT.js → list-LN6CQH52.js} +14 -13
  213. package/dist/{localPage-IOHQETQT.js → localPage-L6OJU3UH.js} +12 -12
  214. package/dist/{login-D4TCWDDW.js → login-WTOAMDID.js} +8 -7
  215. package/dist/{logout-7SMEH7JL.js → logout-QGNBUJKS.js} +14 -5
  216. package/dist/{look-G2BT4E4A.js → look-O6ESLJRP.js} +17 -17
  217. package/dist/{manager-F6WI43DQ.js → manager-CMEZWENF.js} +12 -12
  218. package/dist/{measure-VXQQHYMZ.js → measure-NEIXU53P.js} +11 -11
  219. package/dist/{media-treatment-ZXA3JZSL.js → media-treatment-6CAQG7MU.js} +19 -19
  220. package/dist/{media-use-63LZFAID.js → media-use-IXJFMKU7.js} +16 -9
  221. package/dist/{models-MWUVU4CY.js → models-TZALWUEY.js} +15 -15
  222. package/dist/{motionShot-U4YDT7UV.js → motionShot-OQYK6G6M.js} +24 -24
  223. package/dist/{normalize-audio-T5QJWU4P.js → normalize-audio-43PJLOBY.js} +15 -15
  224. package/dist/oauth-SAVP2YM4.js +40 -0
  225. package/dist/{open-DRLXHOW2.js → open-EOX6QY4M.js} +20 -20
  226. package/dist/{parakeetRunner-5OHEB3XZ.js → parakeetRunner-STHAXQAF.js} +19 -19
  227. package/dist/{pipeline-MAIRRYD6.js → pipeline-RRWZHFBQ.js} +14 -14
  228. package/dist/plan-JWUSMF4W.js +88 -0
  229. package/dist/{play-33A3EXX3.js → play-TUKTST32.js} +40 -34
  230. package/dist/{preflight-HSWMKB2Q.js → preflight-L42JKT6F.js} +12 -12
  231. package/dist/{present-HJIFEIDH.js → present-Z7HRDXPV.js} +34 -28
  232. package/dist/{preview-J6Z6RKMN.js → preview-HGTIRAV3.js} +31 -31
  233. package/dist/{probe-RA4VOGYY.js → probe-RXK44FY7.js} +17 -17
  234. package/dist/{producer-KWP2B4A5.js → producer-KJ2RZDJ3.js} +1 -1
  235. package/dist/{progress-TGYZ2TKQ.js → progress-IY6U35WH.js} +1 -1
  236. package/dist/{projectConfig-3YIGHLNE.js → projectConfig-K36NTJXP.js} +11 -11
  237. package/dist/{publication-QRUY2WJK.js → publication-OZWLT6K6.js} +6 -6
  238. package/dist/{publish-GV3I3GUL.js → publish-CRUTXNYM.js} +92 -30
  239. package/dist/{refresh-47T6Z2PK.js → refresh-6ONVQ3WV.js} +4 -3
  240. package/dist/{remove-background-UUITKXEQ.js → remove-background-R37HZPCG.js} +15 -15
  241. package/dist/{render-ZITQXHJP.js → render-EZMKBT7V.js} +57 -52
  242. package/dist/{render-NHVDJRFD.js → render-SU2XTMJL.js} +8 -8
  243. package/dist/{render-EC67XXR2.js → render-ZHCPCISN.js} +101 -937
  244. package/dist/{render-batch-RII4F3PD.js → render-batch-YIUOEAAL.js} +8 -8
  245. package/dist/renderSetupWorker.js +5 -5
  246. package/dist/{resolver-R3FXDZKS.js → resolver-DLCKRKQR.js} +8 -8
  247. package/dist/{reverse-2GJ5Y3WM.js → reverse-4FAVXIER.js} +1 -1
  248. package/dist/{run-24USN7TA.js → run-H4GVEJVS.js} +8 -6
  249. package/dist/{screenshotCapture-TEQVEBWB.js → screenshotCapture-CQF5FYVI.js} +14 -14
  250. package/dist/service-XDQOULGD.js +68 -0
  251. package/dist/share-CUCQALE7.js +274 -0
  252. package/dist/{sherpa-YIJR47GX.js → sherpa-WZNRQUVC.js} +18 -18
  253. package/dist/sherpaWorker.js +1 -1
  254. package/dist/{sites-LILUBMRM.js → sites-QK3F4AUS.js} +1 -1
  255. package/dist/skills/hyperframes-cli/SKILL.md +3 -3
  256. package/dist/skills/hyperframes-cli/references/preview-render.md +21 -0
  257. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +15 -4
  258. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +42 -6
  259. package/dist/skills/media-use/audio/scripts/lib/python.mjs +17 -2
  260. package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +50 -4
  261. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +11 -1
  262. package/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +2 -1
  263. package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +31 -0
  264. package/dist/{skills-DM3XC7RQ.js → skills-J52DBZAK.js} +12 -12
  265. package/dist/{skillsUpdateCheck-ZHVFEOEN.js → skillsUpdateCheck-26DJHBTC.js} +4 -4
  266. package/dist/{snapshot-72RQQXHW.js → snapshot-ZIRQFDA7.js} +94 -69
  267. package/dist/{src-SPFGPZZQ.js → src-7BGBN6SS.js} +18 -18
  268. package/dist/{src-C43KUEBY.js → src-C3XYMTF4.js} +12 -10
  269. package/dist/{start-FSYSYLI7.js → start-QG2XNMYN.js} +31 -30
  270. package/dist/{state-W3AS6O2J.js → state-7OIPR4BG.js} +1 -1
  271. package/dist/{staticProjectServer-RHBRRGPK.js → staticProjectServer-TWMEFK3T.js} +28 -28
  272. package/dist/{status-TE74GP4Q.js → status-3UPA5WPI.js} +26 -24
  273. package/dist/studio/assets/{codec-DXM4vA6G.js → codec-qz1-OXLj.js} +1 -1
  274. package/dist/studio/assets/{hyperframes-player-D_016Ubp.js → hyperframes-player-2eG1zFX5.js} +1 -1
  275. package/dist/studio/assets/{index-dsfjBidg.css → index-BJTCbv8z.css} +1 -1
  276. package/dist/studio/assets/{index-Ob53qo6K.js → index-DDmhnfrS.js} +189 -189
  277. package/dist/studio/assets/{index-Bw4stQMm.js → index-DUveJ_YP.js} +1 -1
  278. package/dist/studio/assets/{pausedVideoDecoder-vbdgaMqL.js → pausedVideoDecoder-CoHTKUjM.js} +1 -1
  279. package/dist/studio/index.html +2 -2
  280. package/dist/{studio-api-JAOHMYPG.js → studio-api-Z42OO4JJ.js} +22 -22
  281. package/dist/{studioServer-RHCPM4CN.js → studioServer-SMN3RMVL.js} +455 -71
  282. package/dist/{sync-UZJ7DOUA.js → sync-ONTI2WSI.js} +17 -17
  283. package/dist/{synthesize-MDW4ZWTN.js → synthesize-FR5KPBRP.js} +4 -4
  284. package/dist/{telemetry-TFOEA2PM.js → telemetry-RRXALB5D.js} +9 -9
  285. package/dist/{templates-2AHM5TZ3.js → templates-BHFOSD6F.js} +23 -22
  286. package/dist/{timeline-ZGV323MP.js → timeline-Z5IHY5TN.js} +28 -28
  287. package/dist/{tokens-ERUFEWUA.js → tokens-MZVEPARM.js} +2 -2
  288. package/dist/{transcribe-6HLYS7NV.js → transcribe-5IZS4BGW.js} +37 -36
  289. package/dist/{transcribe-M5UZ2XFG.js → transcribe-M5N3YZZU.js} +15 -15
  290. package/dist/{tts-IXX2HHHJ.js → tts-ZE776B4I.js} +1 -1
  291. package/dist/{update-JDVI2XTM.js → update-EVPWBIKY.js} +14 -13
  292. package/dist/{updateCheck-GDTYPXKO.js → updateCheck-2UUEF6TC.js} +5 -3
  293. package/dist/{upgrade-SJKYBA4X.js → upgrade-DK45FD4K.js} +6 -4
  294. package/dist/{urlDownloader-2QCNXXUG.js → urlDownloader-3MPHIDSA.js} +10 -10
  295. package/dist/{validate-IUTHTA2N.js → validate-W27TQ367.js} +36 -36
  296. package/dist/{video-4BJ7WHI2.js → video-TI372QGV.js} +13 -13
  297. package/dist/{voices-UDSFBPZX.js → voices-FZV4PGT6.js} +30 -29
  298. package/dist/warmCheck.js +55 -55
  299. package/dist/warmCheckClient.js +1 -1
  300. package/package.json +2 -1
  301. package/dist/chunk-2X4PQEYM.js +0 -34
  302. package/dist/deploy-EB3FS2BT.js +0 -361
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  writeCaptureFileSync
9
- } from "./chunk-SWOAB4GM.js";
9
+ } from "./chunk-77UB5EHM.js";
10
10
  import {
11
11
  listenOnBrowserSafePort
12
- } from "./chunk-R5U5PFDJ.js";
12
+ } from "./chunk-2TBW7UOF.js";
13
13
 
14
14
  // src/capture/localPage.ts
15
15
  import {
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-RJA64ACI.js";
9
+ } from "./chunk-XQWWFIBR.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
13
- } from "./chunk-VPPJIWVG.js";
13
+ } from "./chunk-XDRSEU2I.js";
14
14
 
15
15
  // src/utils/artifactCapture.ts
16
16
  var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
@@ -8,23 +8,23 @@ import {
8
8
  jsonArg,
9
9
  runMeasure,
10
10
  videoArg
11
- } from "./chunk-GFDXA5QO.js";
12
- import {
13
- makeOutputFolder
14
- } from "./chunk-3S27CPV7.js";
11
+ } from "./chunk-ROXILOZ6.js";
15
12
  import {
16
13
  Fix,
17
14
  ffmpegBin,
18
15
  probeVideo,
19
16
  round,
20
17
  runFfmpeg
21
- } from "./chunk-SCWMPY3F.js";
18
+ } from "./chunk-I3PA54IU.js";
19
+ import {
20
+ makeOutputFolder
21
+ } from "./chunk-3S27CPV7.js";
22
22
  import {
23
23
  defineCommand
24
24
  } from "./chunk-DL4OD7IA.js";
25
25
  import {
26
26
  toneMapReferenceNits
27
- } from "./chunk-HM3PIREE.js";
27
+ } from "./chunk-EX7WPDFA.js";
28
28
 
29
29
  // src/commands/measure/probe.ts
30
30
  import { execFileSync } from "child_process";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // ../core/dist/safePath.js
9
- import { resolve, sep, join, dirname, basename, relative, isAbsolute } from "path";
9
+ import { resolve, sep, join, dirname, basename, relative, isAbsolute, parse } from "path";
10
10
  import { lstatSync, mkdirSync, realpathSync, statSync } from "fs";
11
11
  function realpath(path) {
12
12
  try {
@@ -25,14 +25,20 @@ function isMissingPath(path) {
25
25
  return Boolean(error && typeof error === "object" && "code" in error && (error.code === "ENOENT" || error.code === "ENOTDIR"));
26
26
  }
27
27
  }
28
+ function namesAnotherNetworkRoot(base, target) {
29
+ const root = parse(target).root;
30
+ return /^[\\/]{2}/.test(root) && root.toLowerCase() !== parse(base).root.toLowerCase();
31
+ }
28
32
  function isSafePath(base, resolved) {
33
+ const target = resolve(resolved);
34
+ if (namesAnotherNetworkRoot(resolve(base), target))
35
+ return false;
29
36
  let baseReal;
30
37
  try {
31
38
  baseReal = realpath(resolve(base));
32
39
  } catch {
33
40
  return false;
34
41
  }
35
- const target = resolve(resolved);
36
42
  const trailing = [];
37
43
  let probe = target;
38
44
  for (; ; ) {
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  readCompositionFps
9
- } from "./chunk-O4Z4D4KA.js";
9
+ } from "./chunk-2KYLVWLO.js";
10
10
  import {
11
11
  errorBox
12
12
  } from "./chunk-LIWK3MFR.js";
13
13
  import {
14
14
  DEFAULT_CONFIG,
15
15
  resolvePageNavigationTimeout
16
- } from "./chunk-R5U5PFDJ.js";
16
+ } from "./chunk-2TBW7UOF.js";
17
17
  import {
18
18
  parseFps
19
- } from "./chunk-HM3PIREE.js";
19
+ } from "./chunk-EX7WPDFA.js";
20
20
  import {
21
21
  failUsage
22
22
  } from "./chunk-66W5IWLO.js";
@@ -8,7 +8,7 @@ import {
8
8
  findFFmpeg,
9
9
  findFFprobe,
10
10
  getFFmpegInstallHint
11
- } from "./chunk-O7ZX5DHD.js";
11
+ } from "./chunk-MP36L7OJ.js";
12
12
 
13
13
  // src/measure/media.ts
14
14
  import { execFileSync } from "child_process";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  realpath
9
- } from "./chunk-OFQWTKPW.js";
9
+ } from "./chunk-HZTRKUKE.js";
10
10
 
11
11
  // ../core/dist/removeScratch.js
12
12
  import { AsyncLocalStorage } from "async_hooks";
@@ -4,21 +4,27 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ isEnvOrGitPath,
9
+ isPrivateCompositionFile
10
+ } from "./chunk-TFBPCJPG.js";
7
11
  import {
8
12
  refreshIfNeeded
9
- } from "./chunk-ZLDYDO64.js";
13
+ } from "./chunk-QUUZ2BGC.js";
10
14
  import {
11
- buildAuthHeaders,
12
15
  envCredentialVar,
13
16
  isTokenExpired,
14
17
  tryResolveCredential
15
- } from "./chunk-7NDF2MO3.js";
18
+ } from "./chunk-M3BJEZ7E.js";
19
+ import {
20
+ buildAuthHeaders
21
+ } from "./chunk-BAWGEGKD.js";
16
22
  import {
17
23
  isAuthError
18
- } from "./chunk-LP7B3JLC.js";
24
+ } from "./chunk-DMW5SSUN.js";
19
25
  import {
20
26
  projectIgnore
21
- } from "./chunk-DJVSNDF3.js";
27
+ } from "./chunk-CNJLBAKM.js";
22
28
  import {
23
29
  CSS_URL_RE,
24
30
  isNonRelativeUrl,
@@ -28,7 +34,7 @@ import {
28
34
  import {
29
35
  decodeUrlPathVariants,
30
36
  encodeUrlPath
31
- } from "./chunk-IOPIOX5K.js";
37
+ } from "./chunk-N7C7U3ZR.js";
32
38
  import {
33
39
  parseHTML
34
40
  } from "./chunk-GWTIFRF5.js";
@@ -130,6 +136,7 @@ import {
130
136
  openSync,
131
137
  readdirSync,
132
138
  readFileSync as readFileSync2,
139
+ realpathSync,
133
140
  statSync
134
141
  } from "fs";
135
142
  import AdmZip from "adm-zip";
@@ -400,13 +407,17 @@ function addExternalAsset(ctx, absPath) {
400
407
  ctx.usedArchivePaths.add(archivePath);
401
408
  return archivePath;
402
409
  }
410
+ function staysOut(ctx, rel, absPath) {
411
+ if (!rel || ctx.fileContents.has(rel) || rel.split("/").some(shouldIgnoreSegment)) return true;
412
+ return isPrivateCompositionFile(ctx.absProjectDir, absPath);
413
+ }
403
414
  function includeReferencedProjectFile(ctx, resolvedPath, rawPath, requireOnDisk) {
404
415
  const fromRoot = resolve2(ctx.absProjectDir, rawPath);
405
416
  for (const candidate of [resolvedPath, fromRoot]) {
406
417
  const absPath = candidate.replace(/[?#].*$/, "");
407
418
  if (!isPathInside(absPath, ctx.absProjectDir)) continue;
408
419
  const rel = archiveKey(relative(ctx.absProjectDir, absPath).replaceAll("\\", "/"));
409
- if (!rel || ctx.fileContents.has(rel) || rel.split("/").some(shouldIgnoreSegment)) return;
420
+ if (staysOut(ctx, rel, absPath)) return;
410
421
  if (!existsSync2(absPath)) continue;
411
422
  if (statSync(absPath).isFile()) {
412
423
  ctx.fileContents.set(rel, stageFile(absPath, ctx.onDiskMinBytes));
@@ -425,6 +436,7 @@ function archiveTargetOf(ctx, absPath, rawPath, options) {
425
436
  }
426
437
  try {
427
438
  if (!existsSync2(absPath) || !statSync(absPath).isFile()) return void 0;
439
+ if (isEnvOrGitPath(absPath) || isEnvOrGitPath(realpathSync(absPath))) return void 0;
428
440
  } catch {
429
441
  return void 0;
430
442
  }
@@ -0,0 +1,392 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ formatLintStartupMessage
9
+ } from "./chunk-T6VQGCN3.js";
10
+ import {
11
+ reportVariableIssues,
12
+ resolveVariablesArg,
13
+ validateVariablesAgainstProject
14
+ } from "./chunk-PNP2BO3U.js";
15
+ import {
16
+ applyRenderEnvironment,
17
+ renderOutputDirectory
18
+ } from "./chunk-YTUPQTXA.js";
19
+ import {
20
+ makeOutputFolder
21
+ } from "./chunk-3S27CPV7.js";
22
+ import {
23
+ errorBox,
24
+ formatBytes
25
+ } from "./chunk-LIWK3MFR.js";
26
+ import {
27
+ renderMotionBlurResult,
28
+ trackRenderPreflightRejected
29
+ } from "./chunk-ADYMQM7T.js";
30
+ import {
31
+ c
32
+ } from "./chunk-JCNPHRGX.js";
33
+ import {
34
+ PRORES_PROFILES,
35
+ REFERENCE_BACKGROUND_FIELD,
36
+ referenceBackgroundResult
37
+ } from "./chunk-2TBW7UOF.js";
38
+ import {
39
+ runRenderSetupWorker
40
+ } from "./chunk-X6JUUQCM.js";
41
+ import {
42
+ hasDefinitiveEntryMismatch
43
+ } from "./chunk-Q5X2B5WT.js";
44
+ import {
45
+ lintProject,
46
+ shouldBlockRender
47
+ } from "./chunk-CNJLBAKM.js";
48
+ import {
49
+ CliRuntimeError,
50
+ failCommand,
51
+ setCommandExitCode
52
+ } from "./chunk-66W5IWLO.js";
53
+ import {
54
+ normalizeErrorMessage
55
+ } from "./chunk-E63BDV4Z.js";
56
+
57
+ // src/commands/render/execute.ts
58
+ import { readFileSync } from "fs";
59
+ import { tmpdir } from "os";
60
+
61
+ // src/ui/renderResult.ts
62
+ function renderMachineResult(result, quiet) {
63
+ if (quiet || process.stdout.isTTY || process.env.HYPERFRAMES_STDOUT_IS_TTY === "1") return;
64
+ const hasBackground = REFERENCE_BACKGROUND_FIELD in result;
65
+ if (!hasBackground && !result.motionBlur) return;
66
+ const line = {
67
+ version: 1,
68
+ operation: "render",
69
+ ...hasBackground ? referenceBackgroundResult(result[REFERENCE_BACKGROUND_FIELD]) : {},
70
+ ...result.motionBlur ? { motion_blur: renderMotionBlurResult(result.motionBlur) } : {}
71
+ };
72
+ process.stdout.write(`@hf-result ${JSON.stringify(line)}
73
+ `);
74
+ }
75
+
76
+ // src/commands/render/execute.ts
77
+ function renderLintContinuationHint(strictErrors) {
78
+ return strictErrors ? " Continuing render despite lint warnings. Use --strict-all to block warnings." : " Continuing render despite lint issues. Use --strict to block errors.";
79
+ }
80
+ function renderLintShouldAbort(strictErrors, strictAll, lintResult, definitiveEntryMismatch) {
81
+ return definitiveEntryMismatch || shouldBlockRender(strictErrors, strictAll, lintResult.totalErrors, lintResult.totalWarnings);
82
+ }
83
+ async function executeRenderPlan(plan, dependencies, cancellation) {
84
+ assertRenderActive(cancellation);
85
+ applyRenderEnvironment(plan);
86
+ if (!plan.batchPath) makeOutputFolder(renderOutputDirectory(plan));
87
+ let batchModule;
88
+ let preparedBatch;
89
+ if (plan.batchPath) {
90
+ batchModule = await import("./batchRender-O7J47H2Z.js");
91
+ try {
92
+ preparedBatch = batchModule.prepareBatchRender({
93
+ batchPath: plan.batchPath,
94
+ outputTemplate: plan.batchOutputTemplate,
95
+ indexPath: plan.renderTarget,
96
+ strictVariables: plan.strictVariables,
97
+ quiet: plan.quiet || plan.batchJson,
98
+ json: plan.batchJson
99
+ });
100
+ } catch (error) {
101
+ batchModule.exitBatchRenderInputError(error);
102
+ }
103
+ }
104
+ const variables = plan.batchPath ? void 0 : resolveVariablesArg(plan.variablesArg, plan.variablesFileArg);
105
+ await runRenderLint(plan, lintProject, cancellation?.signal);
106
+ assertRenderActive(cancellation);
107
+ if (!plan.useDocker) await refuseLowDiskBeforeBrowserDownload(plan);
108
+ const browserPath = plan.useDocker ? void 0 : await ensureRenderBrowser(plan, cancellation?.signal);
109
+ assertRenderActive(cancellation);
110
+ await runResolutionPreflight(plan, dependencies.checkResolution);
111
+ assertRenderActive(cancellation);
112
+ const releaseSlot = await dependencies.acquireRenderSlot?.(plan, cancellation?.signal);
113
+ try {
114
+ assertRenderActive(cancellation);
115
+ await executeHeldRender(plan, browserPath, variables, dependencies, cancellation, {
116
+ batchModule,
117
+ preparedBatch
118
+ });
119
+ } finally {
120
+ releaseSlot?.();
121
+ }
122
+ }
123
+ async function executeHeldRender(plan, browserPath, variables, dependencies, cancellation, batch) {
124
+ const { batchModule, preparedBatch } = batch;
125
+ if (plan.batchPath && batchModule && preparedBatch) {
126
+ await executeBatchRender(
127
+ plan,
128
+ browserPath,
129
+ batchModule,
130
+ preparedBatch,
131
+ dependencies,
132
+ cancellation
133
+ );
134
+ return;
135
+ }
136
+ reportSingleRenderNotes(plan, variables);
137
+ const options = renderOptionsFromPlan(plan, browserPath, variables);
138
+ const execute = plan.useDocker ? dependencies.renderDocker : dependencies.renderLocal;
139
+ const result = await execute(plan.project.dir, plan.outputPath, options, cancellation);
140
+ renderMachineResult(result, plan.effectiveQuiet);
141
+ }
142
+ function reportSingleRenderNotes(plan, variables) {
143
+ if (variables && Object.keys(variables).length > 0) {
144
+ const issues = validateVariablesAgainstProject(plan.renderTarget, variables);
145
+ reportVariableIssues(issues, { strict: plan.strictVariables, quiet: plan.effectiveQuiet });
146
+ }
147
+ if (plan.proresProfile && !PRORES_PROFILES[plan.proresProfile].alpha && !plan.effectiveQuiet) {
148
+ console.log(
149
+ c.dim(`ProRes ${plan.proresProfile} has no alpha channel: transparent areas render black.`)
150
+ );
151
+ }
152
+ }
153
+ function renderOptionsFromPlan(plan, browserPath, variables) {
154
+ const options = {
155
+ fps: plan.fps,
156
+ quality: plan.quality,
157
+ authoringSkill: plan.authoringSkill,
158
+ authoringSkillSource: plan.authoringSkillSource,
159
+ authoringSkillInvalid: plan.invalidAuthoringSkill,
160
+ hfEnvOverrides: plan.hfEnvOverrides,
161
+ catalogUsage: plan.catalogUsage,
162
+ format: plan.format,
163
+ gifLoop: plan.gifLoop,
164
+ gifFpsCapped: plan.gifFpsCapped,
165
+ hlsSegmentSeconds: plan.hlsSegmentSeconds,
166
+ workers: plan.workers,
167
+ gpu: plan.useGpu,
168
+ browserGpuMode: plan.browserGpuMode,
169
+ hdrMode: plan.hdrMode,
170
+ crf: plan.crf,
171
+ vp9CpuUsed: plan.vp9CpuUsed,
172
+ videoBitrate: plan.videoBitrate,
173
+ keyframeIntervalSeconds: plan.keyframeIntervalSeconds,
174
+ range: plan.range,
175
+ proresProfile: plan.proresProfile,
176
+ maxBitrate: plan.maxBitrate,
177
+ bufferSize: plan.bufferSize,
178
+ videoFrameFormat: plan.videoFrameFormat,
179
+ chromaSubsampling: plan.chromaSubsampling,
180
+ pageMotionBlur: plan.pageMotionBlur,
181
+ quiet: plan.effectiveQuiet,
182
+ browserPath,
183
+ debug: plan.debug,
184
+ resumeSegments: plan.resumeSegments,
185
+ keepSegments: plan.keepSegments,
186
+ bestEffort: plan.bestEffort,
187
+ variables,
188
+ entryFile: plan.entryFile,
189
+ outputResolution: plan.outputResolution,
190
+ outputResolutionAspectAgnostic: plan.outputResolutionAspectAgnostic,
191
+ outputResolutionRaw: plan.outputResolutionRaw,
192
+ pageNavigationTimeoutMs: plan.pageNavigationTimeoutMs,
193
+ protocolTimeout: plan.protocolTimeout,
194
+ playerReadyTimeout: plan.playerReadyTimeout,
195
+ exitAfterComplete: true,
196
+ manageDeParallelRouterBreaker: true
197
+ };
198
+ if (plan.useDocker) {
199
+ options.pageSideCompositing = plan.pageSideCompositing;
200
+ options.experimentalFastCapture = plan.experimentalFastCapture;
201
+ }
202
+ return options;
203
+ }
204
+ function assertRenderActive(cancellation) {
205
+ cancellation?.checkAncestors();
206
+ cancellation?.signal.throwIfAborted();
207
+ }
208
+ async function refuseLowDiskBeforeBrowserDownload(plan) {
209
+ const { checkDisk } = await import("./preflight-L42JKT6F.js");
210
+ await (await import("./manager-IAXYSRG5.js")).sweepKilledInstalls();
211
+ const paths = /* @__PURE__ */ new Set([tmpdir(), renderOutputDirectory(plan)]);
212
+ const low = [...paths].map((path) => checkDisk(path)).filter((outcome) => !outcome.ok);
213
+ if (low.length === 0) return;
214
+ for (const check of low) errorBox(check.title ?? "Low disk space", check.detail, check.hint);
215
+ failCommand();
216
+ }
217
+ async function ensureRenderBrowser(plan, signal) {
218
+ const { ensureBrowser } = await import("./manager-IAXYSRG5.js");
219
+ let browserSpinner;
220
+ try {
221
+ if (plan.effectiveQuiet) {
222
+ return (await ensureBrowser({ preferManagedChrome: true, signal })).executablePath;
223
+ }
224
+ const clack = await import("./prompts-7VQEH645.js");
225
+ browserSpinner = clack.spinner();
226
+ browserSpinner.start("Checking browser...");
227
+ const info = await ensureBrowser({
228
+ preferManagedChrome: true,
229
+ signal,
230
+ onProgress: (downloaded, total) => {
231
+ if (total <= 0) return;
232
+ const pct = Math.floor(downloaded / total * 100);
233
+ browserSpinner?.message(
234
+ `Downloading Chrome... ${c.progress(pct + "%")} ${c.dim("(" + formatBytes(downloaded) + " / " + formatBytes(total) + ")")}`
235
+ );
236
+ }
237
+ });
238
+ browserSpinner.stop(c.dim(`Browser: ${info.source}`));
239
+ return info.executablePath;
240
+ } catch (error) {
241
+ browserSpinner?.stop(c.error("Browser not available"));
242
+ if (signal?.aborted) signal.throwIfAborted();
243
+ errorBox(
244
+ "Chrome not found",
245
+ normalizeErrorMessage(error),
246
+ "Run: npx hyperframes browser ensure"
247
+ );
248
+ failCommand();
249
+ }
250
+ }
251
+ async function runRenderLint(plan, runLint = lintProject, signal) {
252
+ const explicitEntry = plan.entryFile ? plan.renderTarget : void 0;
253
+ const lintResult = signal && runLint === lintProject ? await runRenderLintInOwnedProcess(plan.project.dir, explicitEntry, signal) : await runLint(plan.project.dir, explicitEntry);
254
+ if (lintResult.totalErrors === 0 && lintResult.totalWarnings === 0) return;
255
+ const definitiveEntryMismatch = hasDefinitiveEntryMismatch(lintResult);
256
+ const willAbort = renderLintShouldAbort(
257
+ plan.strictErrors,
258
+ plan.strictAll,
259
+ lintResult,
260
+ definitiveEntryMismatch
261
+ );
262
+ presentRenderLintFindings(lintResult, plan.effectiveQuiet, plan.lintVerbose || willAbort);
263
+ if (willAbort) {
264
+ const message = presentRenderLintAbort(lintResult, definitiveEntryMismatch);
265
+ throw new CliRuntimeError(message, { presented: true });
266
+ }
267
+ presentRenderLintContinuation(plan);
268
+ }
269
+ async function runRenderLintInOwnedProcess(projectDir, entryFile, signal) {
270
+ return runRenderSetupWorker(
271
+ "lint",
272
+ { projectDir, entryFile },
273
+ {
274
+ signal,
275
+ maxBufferBytes: 8 * 1024 * 1024
276
+ }
277
+ );
278
+ }
279
+ function presentRenderLintFindings(lintResult, quiet, lintVerbose) {
280
+ if (quiet) return;
281
+ console.log("");
282
+ for (const line of formatLintStartupMessage(
283
+ lintResult,
284
+ lintVerbose ? { kind: "verbose", options: { errorsFirst: true } } : { kind: "summary" }
285
+ ))
286
+ console.log(line);
287
+ }
288
+ function presentRenderLintAbort(lintResult, definitiveEntryMismatch) {
289
+ const counts = `${lintResult.totalErrors} error(s), ${lintResult.totalWarnings} warning(s)`;
290
+ const findings = lintResult.results.flatMap((entry) => entry.result.findings);
291
+ const first = findings.find((finding) => finding.severity === "error") ?? findings[0];
292
+ const message = definitiveEntryMismatch ? "Cannot render: the default index.html entry is blank." : `Cannot render: ${counts}. ${first ? `${first.code}: ${first.message}` : "Fix the project lint issues."} Run hyperframes lint for details.`;
293
+ errorBox(message);
294
+ return message;
295
+ }
296
+ function presentRenderLintContinuation(plan) {
297
+ if (plan.effectiveQuiet) return;
298
+ console.log(c.dim(renderLintContinuationHint(plan.strictErrors)));
299
+ console.log("");
300
+ }
301
+ async function runResolutionPreflight(plan, checkResolution) {
302
+ if (!plan.outputResolution) return;
303
+ let issue;
304
+ try {
305
+ issue = await checkResolution(readFileSync(plan.renderTarget, "utf8"), plan.outputResolution, {
306
+ alphaRequested: plan.format === "webm" || plan.format === "mov" || plan.format === "png-sequence",
307
+ hdrRequested: plan.hdrMode === "force-hdr",
308
+ aspectAgnostic: plan.outputResolutionAspectAgnostic
309
+ });
310
+ } catch {
311
+ }
312
+ if (!issue) return;
313
+ trackRenderPreflightRejected({ kind: issue.kind });
314
+ errorBox("Output resolution incompatible", issue.message);
315
+ failCommand();
316
+ }
317
+ function batchRowRenderOptions(plan, browserPath) {
318
+ const batchQuiet = plan.quiet || plan.batchJson;
319
+ return {
320
+ fps: plan.fps,
321
+ quality: plan.quality,
322
+ authoringSkill: plan.authoringSkill,
323
+ authoringSkillSource: plan.authoringSkillSource,
324
+ authoringSkillInvalid: plan.invalidAuthoringSkill,
325
+ hfEnvOverrides: plan.hfEnvOverrides,
326
+ catalogUsage: plan.catalogUsage,
327
+ format: plan.format,
328
+ gifLoop: plan.gifLoop,
329
+ gifFpsCapped: plan.gifFpsCapped,
330
+ hlsSegmentSeconds: plan.hlsSegmentSeconds,
331
+ workers: plan.workers,
332
+ gpu: plan.useGpu,
333
+ browserGpuMode: plan.browserGpuMode,
334
+ hdrMode: plan.hdrMode,
335
+ crf: plan.crf,
336
+ vp9CpuUsed: plan.vp9CpuUsed,
337
+ videoBitrate: plan.videoBitrate,
338
+ keyframeIntervalSeconds: plan.keyframeIntervalSeconds,
339
+ range: plan.range,
340
+ proresProfile: plan.proresProfile,
341
+ maxBitrate: plan.maxBitrate,
342
+ bufferSize: plan.bufferSize,
343
+ videoFrameFormat: plan.videoFrameFormat,
344
+ chromaSubsampling: plan.chromaSubsampling,
345
+ pageMotionBlur: plan.pageMotionBlur,
346
+ quiet: batchQuiet,
347
+ browserPath,
348
+ entryFile: plan.entryFile,
349
+ outputResolution: plan.outputResolution,
350
+ outputResolutionAspectAgnostic: plan.outputResolutionAspectAgnostic,
351
+ outputResolutionRaw: plan.outputResolutionRaw,
352
+ pageNavigationTimeoutMs: plan.pageNavigationTimeoutMs,
353
+ protocolTimeout: plan.protocolTimeout,
354
+ playerReadyTimeout: plan.playerReadyTimeout,
355
+ debug: plan.debug,
356
+ resumeSegments: plan.resumeSegments,
357
+ keepSegments: plan.keepSegments,
358
+ bestEffort: plan.bestEffort,
359
+ exitAfterComplete: false,
360
+ throwOnError: true,
361
+ skipFeedback: true,
362
+ desktopHint: false,
363
+ manageDeParallelRouterBreaker: plan.batchConcurrency <= 1
364
+ };
365
+ }
366
+ async function executeBatchRender(plan, browserPath, batchModule, preparedBatch, dependencies, cancellation) {
367
+ const batchQuiet = plan.quiet || plan.batchJson;
368
+ const renderOptionsBase = batchRowRenderOptions(plan, browserPath);
369
+ const manifest = await batchModule.runBatchRender({
370
+ prepared: preparedBatch,
371
+ concurrency: plan.batchConcurrency,
372
+ failFast: plan.batchFailFast,
373
+ quiet: batchQuiet,
374
+ json: plan.batchJson,
375
+ renderOne: (row) => {
376
+ assertRenderActive(cancellation);
377
+ const options = { ...renderOptionsBase, variables: row.variables };
378
+ if (plan.useDocker) options.pageSideCompositing = plan.pageSideCompositing;
379
+ const execute = plan.useDocker ? dependencies.renderDocker : dependencies.renderLocal;
380
+ return execute(plan.project.dir, row.outputPath, options, cancellation);
381
+ }
382
+ });
383
+ if (manifest.failed > 0) setCommandExitCode(1);
384
+ }
385
+
386
+ export {
387
+ renderLintContinuationHint,
388
+ executeRenderPlan,
389
+ renderOptionsFromPlan,
390
+ runRenderLint,
391
+ batchRowRenderOptions
392
+ };
@@ -4,17 +4,17 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
- import {
8
- bundledGsapFor
9
- } from "./chunk-XB77LMOP.js";
10
7
  import {
11
8
  isDegradableEvaluateTimeoutError,
12
9
  isNavigationTimeoutError,
13
10
  withRemainingBudget
14
11
  } from "./chunk-YGGZ23BB.js";
12
+ import {
13
+ bundledGsapFor
14
+ } from "./chunk-2QTGQGYA.js";
15
15
  import {
16
16
  gsapCdnDist
17
- } from "./chunk-HM3PIREE.js";
17
+ } from "./chunk-EX7WPDFA.js";
18
18
 
19
19
  // src/capture/navigateForCapture.ts
20
20
  var NETWORK_IDLE_ATTEMPT_MS = 3e4;