hyperframes 0.9.32 → 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 (256) hide show
  1. package/dist/{add-HYI4YJC5.js → add-GDXM36YQ.js} +13 -13
  2. package/dist/{agentPromptGenerator-JAQNBEUZ.js → agentPromptGenerator-KPNDH2EI.js} +7 -7
  3. package/dist/{animatedGifPrep-DVYRCZVR.js → animatedGifPrep-SAKETEZ2.js} +7 -7
  4. package/dist/api.js +39 -38
  5. package/dist/{asset-7FG3M3FQ.js → asset-KOJC72AQ.js} +2 -2
  6. package/dist/{assetCataloger-QDQZYHUC.js → assetCataloger-Q4ZFUI6G.js} +8 -8
  7. package/dist/{audio-R6ZG62DU.js → audio-XZBBXKQC.js} +25 -24
  8. package/dist/{auth-IPDYZXOG.js → auth-X45YSZGE.js} +4 -4
  9. package/dist/{autoUpdate-GAEDDZRN.js → autoUpdate-77XWQ564.js} +3 -3
  10. package/dist/{avatars-A45VFUZ4.js → avatars-D3D22TI2.js} +16 -15
  11. package/dist/{backgroundChecks-US74BS6V.js → backgroundChecks-2L2RWFJ3.js} +4 -4
  12. package/dist/backgroundChecksWorker.js +4 -4
  13. package/dist/{batchRender-VBSYVQA7.js → batchRender-O7J47H2Z.js} +3 -3
  14. package/dist/{beats-UPJ3KANG.js → beats-6RVVU56H.js} +11 -11
  15. package/dist/{benchmark-2RWYJGL2.js → benchmark-D5JRNAVQ.js} +10 -10
  16. package/dist/{billing-MD66MJTA.js → billing-WT4DGZII.js} +15 -14
  17. package/dist/{browser-JXCS62NX.js → browser-2OR737P4.js} +7 -7
  18. package/dist/{bundleWithLocalizedFonts-RAD7BNJF.js → bundleWithLocalizedFonts-VBET4RVR.js} +1 -1
  19. package/dist/{capture-DJ4WRP62.js → capture-23X2CK56.js} +44 -24
  20. package/dist/{capture-M6DT5WZT.js → capture-B34FTO6G.js} +3 -3
  21. package/dist/{captureCompositionFrame-IRXG7ZFU.js → captureCompositionFrame-TPZKEVKN.js} +15 -15
  22. package/dist/{catalog-GW45OWKU.js → catalog-ACHSYU5Z.js} +13 -13
  23. package/dist/{catch-up-YKJQ4IYC.js → catch-up-FGANS2BB.js} +8 -8
  24. package/dist/{check-7QTKMPGA.js → check-DXK4L5WP.js} +44 -44
  25. package/dist/{checkAudio-7WHUYGUZ.js → checkAudio-4ISYJED3.js} +15 -15
  26. package/dist/{checkBrowser-USAOWTAF.js → checkBrowser-5ECMULMP.js} +37 -37
  27. package/dist/{chunk-5VN7ZXJR.js → chunk-23354HMA.js} +1 -1
  28. package/dist/{chunk-GCJRV7LU.js → chunk-2I4DQZLQ.js} +1 -1
  29. package/dist/{chunk-WTO4DHBH.js → chunk-2KYLVWLO.js} +1 -1
  30. package/dist/{chunk-3R2X2VKB.js → chunk-2LMCARA5.js} +1 -1
  31. package/dist/{chunk-TVQNABOI.js → chunk-2QTGQGYA.js} +1 -1
  32. package/dist/{chunk-TLUDJLBN.js → chunk-2RBQLV6B.js} +1 -1
  33. package/dist/{chunk-EJPWGGPK.js → chunk-2TBW7UOF.js} +5150 -4985
  34. package/dist/{chunk-P5E3RHW3.js → chunk-3J32XVJ6.js} +1 -1
  35. package/dist/{chunk-LHFBKUVY.js → chunk-45ZQI734.js} +2 -2
  36. package/dist/{chunk-G7NKYELQ.js → chunk-4CHGNFCS.js} +4 -4
  37. package/dist/{chunk-34S7GYVK.js → chunk-4DLYTSWQ.js} +15 -8
  38. package/dist/{chunk-WAXPM7TK.js → chunk-4RPIEGL3.js} +2 -2
  39. package/dist/{chunk-SXOIG6VG.js → chunk-4US5QCXR.js} +231 -176
  40. package/dist/{chunk-XH6LGDIB.js → chunk-4WZU4FYS.js} +3 -3
  41. package/dist/{chunk-NNOAOQLT.js → chunk-5GYTBKZA.js} +2 -2
  42. package/dist/{chunk-K72X2YXR.js → chunk-5RVPI6QL.js} +4 -4
  43. package/dist/{chunk-M6FNCANA.js → chunk-6QEEF5RR.js} +1 -1
  44. package/dist/{chunk-MYFAVVA6.js → chunk-6RV2QY4K.js} +29 -29
  45. package/dist/{chunk-LXIEKLAC.js → chunk-6ZVUTYNB.js} +5 -5
  46. package/dist/{chunk-JMV63CNH.js → chunk-76KUCQXD.js} +1 -1
  47. package/dist/{chunk-GWSCUFGL.js → chunk-7LTXT7ME.js} +11 -9
  48. package/dist/{chunk-LBQQNNRC.js → chunk-7UUUV4PN.js} +1 -1
  49. package/dist/{chunk-6BI6URO2.js → chunk-A4VXOJZO.js} +4 -3
  50. package/dist/{chunk-2W4VQ3YZ.js → chunk-ADYMQM7T.js} +2 -2
  51. package/dist/{chunk-PXY3JZP2.js → chunk-AIC7T7CC.js} +2 -2
  52. package/dist/{chunk-KG3TONXU.js → chunk-B66UZ2YK.js} +9 -9
  53. package/dist/{chunk-7NDF2MO3.js → chunk-BAWGEGKD.js} +216 -344
  54. package/dist/{chunk-SIRYW7SY.js → chunk-BBL6STGK.js} +2 -2
  55. package/dist/{chunk-GTHRXU37.js → chunk-C2VZ7UPE.js} +18 -18
  56. package/dist/{chunk-I3QXWJ7V.js → chunk-CDI3CCAU.js} +5 -5
  57. package/dist/{chunk-C5JKRCSG.js → chunk-CHCMXYER.js} +1 -1
  58. package/dist/{chunk-4CSZZXL6.js → chunk-CHM3QYLF.js} +3 -3
  59. package/dist/{chunk-VB3JZKMN.js → chunk-CNJLBAKM.js} +29 -8
  60. package/dist/chunk-DDDSTRHU.js +3890 -0
  61. package/dist/{chunk-GJUL3PRV.js → chunk-DGC2RIQE.js} +3 -3
  62. package/dist/{chunk-LP7B3JLC.js → chunk-DMW5SSUN.js} +2 -1
  63. package/dist/{chunk-HXQDDCGY.js → chunk-DMZER7D5.js} +1 -1
  64. package/dist/{chunk-XPT4GC6X.js → chunk-ERJBWDPM.js} +6 -6
  65. package/dist/{chunk-NXSKZE3C.js → chunk-ETWXZQN5.js} +1 -1
  66. package/dist/{chunk-E5S4QMX7.js → chunk-EX533ULK.js} +1 -1
  67. package/dist/{chunk-3367VNGK.js → chunk-EX7WPDFA.js} +1 -1
  68. package/dist/{chunk-JHX76QFC.js → chunk-FRH3CPW5.js} +1 -1
  69. package/dist/{chunk-EXW2LV4K.js → chunk-G55YEL2L.js} +24 -24
  70. package/dist/{chunk-WLNQAJQC.js → chunk-GHLLC6LJ.js} +2 -2
  71. package/dist/{chunk-SFPIVVUE.js → chunk-HEXTAQYG.js} +1 -1
  72. package/dist/{chunk-ADP2GIBS.js → chunk-HMB3IAVP.js} +1 -1
  73. package/dist/{chunk-Z6X64P6C.js → chunk-HPKW6UVW.js} +6 -6
  74. package/dist/{chunk-BA3EQ2KL.js → chunk-I35B5RWZ.js} +3 -3
  75. package/dist/{chunk-2NMBD5AH.js → chunk-I3PA54IU.js} +1 -1
  76. package/dist/{chunk-AOQRVS63.js → chunk-IYLGUQFR.js} +7 -5
  77. package/dist/chunk-JCJJCYCP.js +392 -0
  78. package/dist/{chunk-G6JLFSII.js → chunk-JSVCF4A6.js} +4 -4
  79. package/dist/{chunk-WVRAFHJU.js → chunk-K2Z6OXEI.js} +33 -5
  80. package/dist/{chunk-YIE5FU73.js → chunk-KIAY63AB.js} +37 -3
  81. package/dist/{chunk-X6DWLN55.js → chunk-L6BFXQ6S.js} +7 -3
  82. package/dist/chunk-M3BJEZ7E.js +152 -0
  83. package/dist/{chunk-M6LAGO6O.js → chunk-MA35E5OY.js} +3 -3
  84. package/dist/{chunk-XB7HE2R5.js → chunk-MDBEAWP2.js} +3 -3
  85. package/dist/{chunk-3HT3UGF2.js → chunk-MDGNQWFN.js} +1 -1
  86. package/dist/{chunk-3YNJAXA5.js → chunk-MOR3H5FK.js} +1 -1
  87. package/dist/{chunk-5FFYMVRD.js → chunk-MP36L7OJ.js} +1 -1
  88. package/dist/{chunk-YCTWMO3G.js → chunk-MVIUSNPZ.js} +1 -1
  89. package/dist/{chunk-6SNGKC6B.js → chunk-N2C7WJDG.js} +1 -1
  90. package/dist/{chunk-3PHCFSPD.js → chunk-NQFIMBXS.js} +2 -2
  91. package/dist/{chunk-AZ2QJETV.js → chunk-O2T6ZTLN.js} +1 -1
  92. package/dist/{chunk-2T7EDEKE.js → chunk-O5CNNVRY.js} +7 -7
  93. package/dist/{chunk-5GXMZIQZ.js → chunk-OD7PLYYX.js} +7 -7
  94. package/dist/{chunk-TZH6HNZH.js → chunk-PNP2BO3U.js} +1 -1
  95. package/dist/{chunk-ZLDYDO64.js → chunk-QUUZ2BGC.js} +6 -4
  96. package/dist/{chunk-P7TCIUP2.js → chunk-QWM3NY2E.js} +3 -3
  97. package/dist/{chunk-Y3YHDU7T.js → chunk-R45WFVRA.js} +1 -1
  98. package/dist/{chunk-UWMOMAYI.js → chunk-RCB4SGTB.js} +2 -2
  99. package/dist/{chunk-W3HNLDK6.js → chunk-RGYOCAHC.js} +2 -2
  100. package/dist/{chunk-CMYUPVMI.js → chunk-ROXILOZ6.js} +2 -2
  101. package/dist/{chunk-EBG5RCPM.js → chunk-SIGASWB7.js} +4 -4
  102. package/dist/{chunk-KFXHBP2E.js → chunk-SOAQ3XXB.js} +1 -1
  103. package/dist/{chunk-LJMTEZOP.js → chunk-SUXEL7G4.js} +15 -15
  104. package/dist/{chunk-6MTSP2XE.js → chunk-SWPI27QV.js} +7 -7
  105. package/dist/{chunk-RCRUWNQ4.js → chunk-T3GSTIBS.js} +2 -2
  106. package/dist/{chunk-L72MPEM2.js → chunk-U77L3ZQZ.js} +1 -1
  107. package/dist/{chunk-6NNLDCX4.js → chunk-UE2WSWNA.js} +1 -1
  108. package/dist/{chunk-YMIEJZB6.js → chunk-VKZSAAXZ.js} +2 -2
  109. package/dist/chunk-VQJLTYEK.js +453 -0
  110. package/dist/{chunk-TTSLKH63.js → chunk-VZQXHYEI.js} +2 -2
  111. package/dist/{chunk-D7NNNL2K.js → chunk-W2FSQBUR.js} +17 -17
  112. package/dist/{chunk-AWT5FHTN.js → chunk-W5PW26KE.js} +1 -1
  113. package/dist/{chunk-KXOKZJBZ.js → chunk-WIMVXPYG.js} +12 -12
  114. package/dist/{chunk-KAG5KXNO.js → chunk-WYPRTHXQ.js} +1 -1
  115. package/dist/{chunk-YAZQBB2S.js → chunk-XDDBSGBD.js} +1 -1
  116. package/dist/{chunk-6RFCS4IU.js → chunk-XFXCI4IP.js} +7 -5
  117. package/dist/{chunk-2Z42EUHG.js → chunk-XQWWFIBR.js} +1 -1
  118. package/dist/{chunk-H7AJLEBR.js → chunk-XSHJ37U3.js} +3 -3
  119. package/dist/{chunk-HWMNSWEA.js → chunk-XUDJ5XSQ.js} +2 -2
  120. package/dist/{chunk-D6BV6TTI.js → chunk-XVVPEWNX.js} +1 -1
  121. package/dist/chunk-Y5DOT5NQ.js +57 -0
  122. package/dist/{chunk-HDCVU64B.js → chunk-YDG3OXH3.js} +3 -2
  123. package/dist/{chunk-H4C3P2KV.js → chunk-YNFHZ4RI.js} +2 -2
  124. package/dist/{chunk-PVSRPNIV.js → chunk-YSHUIQ3I.js} +2 -2
  125. package/dist/chunk-YTUPQTXA.js +560 -0
  126. package/dist/{chunk-262ADJJN.js → chunk-ZOAANTVI.js} +1 -1
  127. package/dist/{clean-MJBET4EN.js → clean-3IN64RHM.js} +21 -21
  128. package/dist/cli.js +68 -66
  129. package/dist/{cloud-WEDQYHZE.js → cloud-LBUZBUP6.js} +4 -4
  130. package/dist/{cloud-Z4Q76MLS.js → cloud-SVYXHFEG.js} +6 -5
  131. package/dist/{cloudrun-2KGSRAKA.js → cloudrun-PZOF2QGL.js} +5 -5
  132. package/dist/{compare-MJKWQOD7.js → compare-UOJ3LXQQ.js} +35 -35
  133. package/dist/{compiler-ETXRTUQC.js → compiler-5ZDHBKBQ.js} +6 -4
  134. package/dist/{component-PZGKEJ6L.js → component-EVIPLTTJ.js} +3 -3
  135. package/dist/{compositions-N3FEEWH7.js → compositions-R4GG5FBO.js} +13 -13
  136. package/dist/contract/LICENSE-Unicode.txt +39 -0
  137. package/dist/contract/path-policy.json +311 -0
  138. package/dist/contract/unicode-15.1.0.json +6179 -0
  139. package/dist/{curve-MWABBM7Q.js → curve-LR3PSRW3.js} +12 -12
  140. package/dist/{cuts-BQFSSNY7.js → cuts-DHCOBAFT.js} +13 -13
  141. package/dist/{delete-HPHGJABK.js → delete-MMGGU3QP.js} +9 -8
  142. package/dist/{deploy-JY2QOB5F.js → deploy-SKIGUTM2.js} +7 -7
  143. package/dist/{describeProject-S6AGYZWL.js → describeProject-L7HNTBPV.js} +8 -8
  144. package/dist/{destroy-AZK7J4IR.js → destroy-5HSMMDH7.js} +6 -6
  145. package/dist/{diff-XDNFCAU4.js → diff-KR7VKPYL.js} +40 -39
  146. package/dist/{dist-6EE3Y4M7.js → dist-3MFNUZSN.js} +2 -2
  147. package/dist/{dist-EYEYDD4F.js → dist-HK3AZNNL.js} +13 -13
  148. package/dist/{dist-TYGDYK56.js → dist-ZGYPFYOH.js} +2 -2
  149. package/dist/{doctor-6IRSMKZD.js → doctor-G7VGNSA5.js} +12 -12
  150. package/dist/{energy-VCJ2FJEF.js → energy-H7EEH6WO.js} +13 -13
  151. package/dist/{events-QQYBD7JM.js → events-5ATZCZTK.js} +4 -4
  152. package/dist/{events-DNTIMCUM.js → events-ASG27IXP.js} +15 -15
  153. package/dist/{events-M6A7BT3V.js → events-YD6N7OPQ.js} +7 -7
  154. package/dist/execute-OAS454OB.js +109 -0
  155. package/dist/{extract-X3IVXYHX.js → extract-645SENLA.js} +16 -16
  156. package/dist/{face-MZHXKBDB.js → face-WRT5XH4I.js} +14 -14
  157. package/dist/{feedback-TAMGYFUO.js → feedback-3LKLR5MV.js} +15 -14
  158. package/dist/{ffmpeg-XWPYYYB6.js → ffmpeg-PXKIZL2X.js} +7 -7
  159. package/dist/{figma-WMD7AR2S.js → figma-RIEVJJBW.js} +3 -3
  160. package/dist/fontLocalizeCli.js +12 -12
  161. package/dist/{frames-OU2UOLBU.js → frames-OTB3J5W3.js} +14 -14
  162. package/dist/{generate-6F6QEFXW.js → generate-IUKCZW2D.js} +27 -26
  163. package/dist/{get-VVDO7DXG.js → get-6WVQ7TBV.js} +9 -8
  164. package/dist/{gpuPolicy-CVNSHXHJ.js → gpuPolicy-HXSVAEU4.js} +7 -7
  165. package/dist/{grade-compare-O6LY2U73.js → grade-compare-TCAYHDEF.js} +37 -37
  166. package/dist/{heifImagePrep-J6TILZTM.js → heifImagePrep-GXIMK4HK.js} +8 -8
  167. package/dist/{help-XLSTTDHR.js → help-RGOL5EJD.js} +2 -1
  168. package/dist/{history-DBCCWBDG.js → history-XKPRGJGS.js} +10 -10
  169. package/dist/hyperframe.manifest.json +1 -1
  170. package/dist/hyperframe.runtime.iife.js +42 -42
  171. package/dist/hyperframes-player.global.js +1 -1
  172. package/dist/{info-E46BWAQ7.js → info-EYBBC42V.js} +15 -15
  173. package/dist/{init-23TG5W7S.js → init-F2FWPSMA.js} +29 -29
  174. package/dist/{ink-6UFSNJRW.js → ink-BWFERAAT.js} +13 -13
  175. package/dist/{inspect-RKI6XACH.js → inspect-74N7L3BW.js} +34 -34
  176. package/dist/{installer-JWPK75BR.js → installer-LOUR7G4R.js} +4 -4
  177. package/dist/{keyframes-J65V5A2G.js → keyframes-WB5PTKFE.js} +13 -11
  178. package/dist/{lambda-RZSXXBJU.js → lambda-JYCNXUKB.js} +12 -12
  179. package/dist/{layout-RJQUOYWB.js → layout-P52EVR24.js} +34 -34
  180. package/dist/{lint-4TUHKKA2.js → lint-SL55KAS2.js} +12 -12
  181. package/dist/{lintProject-R6RTBSCZ.js → lintProject-46WU53VC.js} +2 -2
  182. package/dist/{list-HOD2N4VS.js → list-LN6CQH52.js} +11 -10
  183. package/dist/{localPage-TC4NC3VL.js → localPage-L6OJU3UH.js} +7 -7
  184. package/dist/{login-NTOS3HKD.js → login-WTOAMDID.js} +8 -7
  185. package/dist/{logout-7SMEH7JL.js → logout-QGNBUJKS.js} +14 -5
  186. package/dist/{look-GC63E2I7.js → look-O6ESLJRP.js} +13 -13
  187. package/dist/{manager-FICBET24.js → manager-CMEZWENF.js} +8 -8
  188. package/dist/{measure-WTQCSQ55.js → measure-NEIXU53P.js} +11 -11
  189. package/dist/{media-treatment-KTZ6X2P2.js → media-treatment-6CAQG7MU.js} +15 -15
  190. package/dist/{media-use-K75FDXJ3.js → media-use-IXJFMKU7.js} +9 -7
  191. package/dist/{models-JKOA542M.js → models-TZALWUEY.js} +11 -11
  192. package/dist/{motionShot-A3TYKTQU.js → motionShot-OQYK6G6M.js} +20 -20
  193. package/dist/{normalize-audio-7JUM42YB.js → normalize-audio-43PJLOBY.js} +11 -11
  194. package/dist/oauth-SAVP2YM4.js +40 -0
  195. package/dist/{open-F6GI4TRA.js → open-EOX6QY4M.js} +13 -13
  196. package/dist/{parakeetRunner-6XIAKJLS.js → parakeetRunner-STHAXQAF.js} +13 -13
  197. package/dist/{pipeline-7P7LGGQG.js → pipeline-RRWZHFBQ.js} +10 -10
  198. package/dist/plan-JWUSMF4W.js +88 -0
  199. package/dist/{play-DYOZLKWX.js → play-TUKTST32.js} +25 -25
  200. package/dist/{preflight-VM4HSRBY.js → preflight-L42JKT6F.js} +8 -8
  201. package/dist/{present-IINIEZJC.js → present-Z7HRDXPV.js} +20 -20
  202. package/dist/{preview-NJO2UXWJ.js → preview-HGTIRAV3.js} +23 -23
  203. package/dist/{probe-LQQHFX5Q.js → probe-RXK44FY7.js} +13 -13
  204. package/dist/{producer-LH2SZHJ2.js → producer-KJ2RZDJ3.js} +1 -1
  205. package/dist/{projectConfig-BLACFLUW.js → projectConfig-K36NTJXP.js} +6 -6
  206. package/dist/{publication-NFF2BXIE.js → publication-OZWLT6K6.js} +2 -2
  207. package/dist/{publish-JST5Y4UR.js → publish-CRUTXNYM.js} +84 -24
  208. package/dist/{refresh-47T6Z2PK.js → refresh-6ONVQ3WV.js} +4 -3
  209. package/dist/{remove-background-WUBESLWN.js → remove-background-R37HZPCG.js} +11 -11
  210. package/dist/{render-R4VNR4E2.js → render-EZMKBT7V.js} +45 -44
  211. package/dist/{render-DA4V7CEE.js → render-SU2XTMJL.js} +5 -5
  212. package/dist/{render-4KWUUC5H.js → render-ZHCPCISN.js} +82 -948
  213. package/dist/{render-batch-JMPG4RLT.js → render-batch-YIUOEAAL.js} +5 -5
  214. package/dist/renderSetupWorker.js +2 -2
  215. package/dist/{resolver-PNIFIDIE.js → resolver-DLCKRKQR.js} +4 -4
  216. package/dist/{reverse-4NI7D2C3.js → reverse-4FAVXIER.js} +1 -1
  217. package/dist/{run-FWBIBLYE.js → run-H4GVEJVS.js} +5 -4
  218. package/dist/{screenshotCapture-KOLNFU7W.js → screenshotCapture-CQF5FYVI.js} +9 -9
  219. package/dist/service-XDQOULGD.js +68 -0
  220. package/dist/share-CUCQALE7.js +274 -0
  221. package/dist/{sherpa-W3BMN67E.js → sherpa-WZNRQUVC.js} +12 -12
  222. package/dist/skills/hyperframes-cli/SKILL.md +3 -3
  223. package/dist/skills/hyperframes-cli/references/preview-render.md +20 -0
  224. package/dist/{skills-KQQVUFGO.js → skills-J52DBZAK.js} +10 -10
  225. package/dist/{skillsUpdateCheck-VY5PS46S.js → skillsUpdateCheck-26DJHBTC.js} +4 -4
  226. package/dist/{snapshot-VIEJQAUB.js → snapshot-ZIRQFDA7.js} +50 -50
  227. package/dist/{src-MQU5F7GJ.js → src-7BGBN6SS.js} +11 -11
  228. package/dist/{src-HHPRCLEW.js → src-C3XYMTF4.js} +6 -6
  229. package/dist/{start-ZBNNVFMU.js → start-QG2XNMYN.js} +25 -24
  230. package/dist/{staticProjectServer-VPGZWJF4.js → staticProjectServer-TWMEFK3T.js} +18 -18
  231. package/dist/{status-RBZJYT7T.js → status-3UPA5WPI.js} +19 -17
  232. package/dist/studio/assets/{codec-Bz1jsLs8.js → codec-qz1-OXLj.js} +1 -1
  233. package/dist/studio/assets/{hyperframes-player-cdH5Sz_t.js → hyperframes-player-2eG1zFX5.js} +1 -1
  234. package/dist/studio/assets/{index-dsfjBidg.css → index-BJTCbv8z.css} +1 -1
  235. package/dist/studio/assets/{index-D1l7izdf.js → index-DDmhnfrS.js} +166 -166
  236. package/dist/studio/assets/{index-DFRbcd5J.js → index-DUveJ_YP.js} +1 -1
  237. package/dist/studio/assets/{pausedVideoDecoder-CgV8YB6S.js → pausedVideoDecoder-CoHTKUjM.js} +1 -1
  238. package/dist/studio/index.html +2 -2
  239. package/dist/{studio-api-EPZGLIWW.js → studio-api-Z42OO4JJ.js} +13 -13
  240. package/dist/{studioServer-YFQQ2ESJ.js → studioServer-SMN3RMVL.js} +437 -59
  241. package/dist/{sync-FRT55PVW.js → sync-ONTI2WSI.js} +13 -13
  242. package/dist/{telemetry-HAPPFR7P.js → telemetry-RRXALB5D.js} +7 -7
  243. package/dist/{templates-2IHYIWMA.js → templates-BHFOSD6F.js} +18 -17
  244. package/dist/{timeline-AY2F7BJF.js → timeline-Z5IHY5TN.js} +20 -20
  245. package/dist/{tokens-B3G257V3.js → tokens-MZVEPARM.js} +2 -2
  246. package/dist/{transcribe-RJCILGPA.js → transcribe-5IZS4BGW.js} +29 -28
  247. package/dist/{transcribe-EGQD32PT.js → transcribe-M5N3YZZU.js} +10 -10
  248. package/dist/{update-XTFIGQKW.js → update-EVPWBIKY.js} +11 -11
  249. package/dist/{updateCheck-M6YC52A4.js → updateCheck-2UUEF6TC.js} +5 -3
  250. package/dist/{upgrade-AKLIZKAO.js → upgrade-DK45FD4K.js} +4 -4
  251. package/dist/{urlDownloader-57A7Q7FC.js → urlDownloader-3MPHIDSA.js} +6 -6
  252. package/dist/{validate-YWSXJL54.js → validate-W27TQ367.js} +28 -28
  253. package/dist/{video-I5DDNK3Y.js → video-TI372QGV.js} +8 -8
  254. package/dist/{voices-IBMJU73H.js → voices-FZV4PGT6.js} +24 -23
  255. package/dist/warmCheck.js +44 -44
  256. package/package.json +2 -1
@@ -0,0 +1,560 @@
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
+ hasExplicitCompositionArg,
9
+ resolveCompositionEntryArg
10
+ } from "./chunk-G7PITEUH.js";
11
+ import {
12
+ parseEnumFlag
13
+ } from "./chunk-2B2IMLUQ.js";
14
+ import {
15
+ parseDeliveryFlags
16
+ } from "./chunk-R45WFVRA.js";
17
+ import {
18
+ resolveProject
19
+ } from "./chunk-YDG3OXH3.js";
20
+ import {
21
+ parseGifLoopArg,
22
+ parseHlsSegmentSecondsArg,
23
+ resolveBrowserTimeoutMsArg,
24
+ resolveDefaultFpsArg
25
+ } from "./chunk-I35B5RWZ.js";
26
+ import {
27
+ errorBox
28
+ } from "./chunk-LIWK3MFR.js";
29
+ import {
30
+ loadProjectConfig,
31
+ readProjectConfigWithStatus
32
+ } from "./chunk-SOAQ3XXB.js";
33
+ import {
34
+ normalizeSkillSlug
35
+ } from "./chunk-HVW7ABXD.js";
36
+ import {
37
+ EXTRACT_CACHE_DIR_DISABLED_ALIASES,
38
+ MAX_VP9_CPU_USED,
39
+ MIN_VP9_CPU_USED,
40
+ isVideoFrameFormat
41
+ } from "./chunk-2TBW7UOF.js";
42
+ import {
43
+ DISTRIBUTED_FPS,
44
+ formatRenderOutputTimestamp,
45
+ fpsToNumber,
46
+ isDistributedFps,
47
+ parseFps
48
+ } from "./chunk-EX7WPDFA.js";
49
+ import {
50
+ collectSubCompositionSrcs,
51
+ resolveCompositionSrc
52
+ } from "./chunk-K2Z6OXEI.js";
53
+ import {
54
+ isAspectAgnosticResolutionAlias,
55
+ normalizeResolutionFlag
56
+ } from "./chunk-N7C7U3ZR.js";
57
+ import {
58
+ failUsage
59
+ } from "./chunk-66W5IWLO.js";
60
+
61
+ // src/commands/render/plan.ts
62
+ import { statSync } from "fs";
63
+ import { dirname, join, resolve as resolve2 } from "path";
64
+
65
+ // src/utils/catalogUsage.ts
66
+ import { readFileSync } from "fs";
67
+ import { isAbsolute, relative, resolve } from "path";
68
+ var EMPTY = Object.freeze({
69
+ installed: [],
70
+ usedBlocks: [],
71
+ manifestUnreadable: false
72
+ });
73
+ var UNREADABLE = Object.freeze({
74
+ installed: [],
75
+ usedBlocks: [],
76
+ manifestUnreadable: true
77
+ });
78
+ var MAX_VISITED_FILES = 250;
79
+ var MAX_HTML_BYTES = 20 * 1024 * 1024;
80
+ var REGISTRY_ITEM_NAME = /^[a-z0-9][a-z0-9-]{0,63}$/;
81
+ function reachableCompositions(projectDir, entryPath) {
82
+ const seen = /* @__PURE__ */ new Set();
83
+ const queue = [resolve(entryPath)];
84
+ while (queue.length > 0 && seen.size < MAX_VISITED_FILES) {
85
+ const current = queue.shift();
86
+ if (seen.has(current)) continue;
87
+ seen.add(current);
88
+ let html;
89
+ try {
90
+ html = readFileSync(current, "utf-8");
91
+ } catch {
92
+ continue;
93
+ }
94
+ if (html.length > MAX_HTML_BYTES) continue;
95
+ for (const src of collectSubCompositionSrcs(html)) {
96
+ const file = resolveCompositionSrc(projectDir, src);
97
+ if (file) queue.push(file);
98
+ }
99
+ }
100
+ return seen;
101
+ }
102
+ function isReached(projectDir, target, reachable) {
103
+ if (isAbsolute(target)) return false;
104
+ const abs = resolve(projectDir, target);
105
+ if (relative(projectDir, abs).startsWith("..")) return false;
106
+ return reachable.has(abs);
107
+ }
108
+ function reportableNames(names) {
109
+ return [...new Set(names.filter((name) => REGISTRY_ITEM_NAME.test(name)))].sort();
110
+ }
111
+ function summarizeCatalogUsage(projectDir, entryPath) {
112
+ const { status, config } = readProjectConfigWithStatus(projectDir);
113
+ if (status === "unreadable") return UNREADABLE;
114
+ const items = config?.registryItems ?? [];
115
+ if (items.length === 0) return EMPTY;
116
+ const installed = reportableNames(items.map((item) => item.name));
117
+ if (installed.length === 0) return EMPTY;
118
+ const reachable = reachableCompositions(projectDir, entryPath);
119
+ const usedBlocks = reportableNames(
120
+ items.filter(
121
+ (item) => item.type === "hyperframes:block" && isReached(projectDir, item.target, reachable)
122
+ ).map((item) => item.name)
123
+ );
124
+ return { installed, usedBlocks, manifestUnreadable: false };
125
+ }
126
+
127
+ // src/commands/render/plan.ts
128
+ var QUALITY_ALIASES = {
129
+ draft: { quality: "draft" },
130
+ standard: { quality: "standard" },
131
+ high: { quality: "high" },
132
+ looks: { quality: "standard", crf: 16 },
133
+ delivery: { quality: "high" }
134
+ };
135
+ var RENDER_FORMATS = ["mp4", "webm", "mov", "png-sequence", "gif", "hls"];
136
+ var VALID_FORMAT = new Set(RENDER_FORMATS);
137
+ var RENDER_FORMAT_LABEL = "mp4, webm, mov, png-sequence, gif, or hls";
138
+ var DEFAULT_HLS_SEGMENT_SECONDS = 4;
139
+ var FORMAT_EXT = {
140
+ mp4: ".mp4",
141
+ webm: ".webm",
142
+ mov: ".mov",
143
+ "png-sequence": "",
144
+ gif: ".gif",
145
+ // Directory output, like png-sequence: playlists and .ts segments go inside.
146
+ hls: ""
147
+ };
148
+ function formatFpsParseError(input, reason) {
149
+ switch (reason) {
150
+ case "empty":
151
+ return "Frame rate must not be empty.";
152
+ case "not-a-number":
153
+ return `Got "${input}". Frame rate must be an integer (e.g. 30) or a rational (e.g. 30000/1001 for NTSC).`;
154
+ case "non-positive":
155
+ return `Got "${input}". Frame rate must be greater than zero.`;
156
+ case "out-of-range":
157
+ return `Got "${input}". Frame rate must be in the range 1\u2013240.`;
158
+ case "invalid-fraction":
159
+ return `Got "${input}". Rational frame rates must be two positive integers separated by '/' (e.g. 30000/1001).`;
160
+ case "ambiguous-decimal":
161
+ return `Got "${input}". Decimal frame rates are ambiguous \u2014 use the exact rational form instead (e.g. 30000/1001 for 29.97).`;
162
+ }
163
+ }
164
+ function parseRenderFormat(input) {
165
+ if (!VALID_FORMAT.has(input)) return void 0;
166
+ return RENDER_FORMATS.find((format) => format === input);
167
+ }
168
+ function parseRenderRange(args, format, fps, hdr) {
169
+ if (args.start === void 0 && args.end === void 0) return void 0;
170
+ const seconds = (flag, raw) => {
171
+ const parsed = raw.trim() === "" ? Number.NaN : Number(raw);
172
+ if (!Number.isFinite(parsed) || parsed < 0) {
173
+ errorBox(`Invalid ${flag}`, `Got "${raw}". Must be a number of seconds, 0 or more.`);
174
+ failUsage();
175
+ }
176
+ return parsed;
177
+ };
178
+ const startSeconds = args.start === void 0 ? 0 : seconds("--start", args.start);
179
+ const endSeconds = args.end === void 0 ? void 0 : seconds("--end", args.end);
180
+ if (endSeconds !== void 0 && endSeconds <= startSeconds) {
181
+ errorBox("Invalid range", `--end (${endSeconds}) must be after --start (${startSeconds}).`);
182
+ failUsage();
183
+ }
184
+ const limit = rangeLimit(format, fps, hdr);
185
+ if (limit) {
186
+ errorBox(
187
+ "A range renders what chunked renders can",
188
+ limit,
189
+ "Remove --start/--end to render the whole film."
190
+ );
191
+ failUsage();
192
+ }
193
+ return { startSeconds, endSeconds };
194
+ }
195
+ function rangeLimit(format, fps, hdr) {
196
+ if (format !== "mp4") return `--start/--end render MP4 only, not ${format}.`;
197
+ if (fps.den !== 1 || !isDistributedFps(fps.num)) {
198
+ return `--start/--end need a whole frame rate in ${DISTRIBUTED_FPS.join(", ")}, not ${fps.num}/${fps.den}.`;
199
+ }
200
+ if (hdr) return "--start/--end render SDR only, not --hdr.";
201
+ return void 0;
202
+ }
203
+ function positiveInteger(raw, title, message, min = 1) {
204
+ const parsed = Number(raw);
205
+ if (!Number.isInteger(parsed) || parsed < min) {
206
+ errorBox(title, message);
207
+ failUsage();
208
+ }
209
+ return parsed;
210
+ }
211
+ var HF_ENV_OVERRIDE_RE = /^(HF|HYPERFRAMES)_/;
212
+ var MAX_REPORTED_ENV_OVERRIDES = 20;
213
+ var CLI_INTERNAL_HF_ENV_KEYS = /* @__PURE__ */ new Set(["HF_SHADER_WORKER_ENTRY"]);
214
+ function resolveHfEnvOverrides() {
215
+ return Object.keys(process.env).filter((name) => HF_ENV_OVERRIDE_RE.test(name) && !CLI_INTERNAL_HF_ENV_KEYS.has(name)).sort().slice(0, MAX_REPORTED_ENV_OVERRIDES);
216
+ }
217
+ function parseChromaSubsamplingArg(args, format) {
218
+ const raw = args["chroma-subsampling"] ?? "420";
219
+ if (raw !== "420" && raw !== "444") {
220
+ errorBox("Invalid chroma-subsampling", `Got "${raw}". Must be 420 or 444.`);
221
+ failUsage();
222
+ }
223
+ if (raw === "420") return raw;
224
+ const conflict = format !== "mp4" ? `--format ${format}` : args.gpu ? "--gpu" : args.hdr ? "--hdr" : void 0;
225
+ if (conflict) {
226
+ errorBox(
227
+ "Unsupported 4:4:4 output",
228
+ `--chroma-subsampling 444 cannot be combined with ${conflict}. 4:4:4 needs SDR MP4 from the software encoder (libx264).`,
229
+ `Drop ${conflict}, or drop --chroma-subsampling 444.`
230
+ );
231
+ failUsage();
232
+ }
233
+ return raw;
234
+ }
235
+ function createRenderPlan(args, now = /* @__PURE__ */ new Date()) {
236
+ const pageMotionBlur = parseEnumFlag(args["page-motion-blur"], ["off"], {
237
+ flag: "--page-motion-blur"
238
+ });
239
+ const hfEnvOverrides = resolveHfEnvOverrides();
240
+ const hasExplicitComposition = hasExplicitCompositionArg(args.composition);
241
+ const project = resolveProject(args.dir, { requireIndex: !hasExplicitComposition });
242
+ const entryFile = resolveCompositionEntryArg(args.composition, project.dir, statSync);
243
+ const renderTarget = entryFile ? resolve2(project.dir, entryFile) : project.indexPath;
244
+ const fpsArg = resolveDefaultFpsArg(args.fps, project.dir, project.indexPath, entryFile);
245
+ const fpsParse = parseFps(fpsArg ?? "30");
246
+ if (!fpsParse.ok) {
247
+ errorBox("Invalid fps", formatFpsParseError(fpsArg ?? "30", fpsParse.reason));
248
+ failUsage();
249
+ }
250
+ let fps = fpsParse.value;
251
+ const qualityRaw = args.quality ?? "looks";
252
+ if (!(qualityRaw in QUALITY_ALIASES)) {
253
+ errorBox(
254
+ "Invalid quality",
255
+ `Got "${qualityRaw}". Must be draft, looks, delivery, standard, or high.`
256
+ );
257
+ failUsage();
258
+ }
259
+ const qualityAlias = QUALITY_ALIASES[qualityRaw];
260
+ const quality = qualityAlias.quality;
261
+ const flagSkill = normalizeSkillSlug(args.skill);
262
+ const projectConfigSkill = loadProjectConfig(project.dir).authoringSkill;
263
+ const authoringSkill = flagSkill ?? projectConfigSkill;
264
+ const invalidAuthoringSkill = typeof args.skill === "string" && args.skill.trim() !== "" && !flagSkill ? args.skill : void 0;
265
+ const authoringSkillSource = flagSkill ? "flag" : projectConfigSkill ? "project-config" : void 0;
266
+ const catalogUsage = summarizeCatalogUsage(project.dir, renderTarget);
267
+ const formatRaw = args.format ?? "mp4";
268
+ const format = parseRenderFormat(formatRaw);
269
+ if (!format) {
270
+ errorBox("Invalid format", `Got "${formatRaw}". Must be ${RENDER_FORMAT_LABEL}.`);
271
+ failUsage();
272
+ }
273
+ let gifFpsCapped = false;
274
+ if (format === "gif" && fpsToNumber(fps) > 30) {
275
+ fps = { num: 30, den: 1 };
276
+ gifFpsCapped = true;
277
+ }
278
+ const gifLoopParse = parseGifLoopArg(args["gif-loop"]);
279
+ if (!gifLoopParse.ok) {
280
+ errorBox("Invalid gif-loop", gifLoopParse.message);
281
+ failUsage();
282
+ }
283
+ const gifLoop = gifLoopParse.value ?? (format === "gif" ? 0 : void 0);
284
+ const hlsSegmentParse = parseHlsSegmentSecondsArg(args["hls-segment-seconds"]);
285
+ if (!hlsSegmentParse.ok) {
286
+ errorBox("Invalid hls-segment-seconds", hlsSegmentParse.message);
287
+ failUsage();
288
+ }
289
+ const hlsSegmentSeconds = format === "hls" ? hlsSegmentParse.value ?? DEFAULT_HLS_SEGMENT_SECONDS : void 0;
290
+ const chromaSubsampling = parseChromaSubsamplingArg(args, format);
291
+ const videoFrameFormatRaw = args["video-frame-format"] ?? "auto";
292
+ if (!isVideoFrameFormat(videoFrameFormatRaw)) {
293
+ errorBox(
294
+ "Invalid video-frame-format",
295
+ `Got "${videoFrameFormatRaw}". Must be auto, jpg, or png.`
296
+ );
297
+ failUsage();
298
+ }
299
+ let outputResolution;
300
+ let outputResolutionAspectAgnostic = false;
301
+ if (args.resolution !== void 0) {
302
+ outputResolution = normalizeResolutionFlag(args.resolution);
303
+ if (!outputResolution) {
304
+ errorBox(
305
+ "Invalid resolution",
306
+ `Got "${args.resolution}". Must be one of: landscape, portrait, landscape-4k, portrait-4k, square, square-4k, landscape-1440p, portrait-1440p, square-1440p (or aliases 1080p, 4k, uhd, 1440p, qhd, 1080p-square, square-1080p, 4k-square, 1440p-portrait, 1440p-square).`
307
+ );
308
+ failUsage();
309
+ }
310
+ outputResolutionAspectAgnostic = isAspectAgnosticResolutionAlias(args.resolution);
311
+ if (args.hdr) {
312
+ errorBox(
313
+ "Conflicting flags",
314
+ "--resolution cannot be combined with --hdr. The HDR pipeline composites at composition dimensions and does not yet support supersampling.",
315
+ "Render in two passes: HDR at composition resolution, then upscale separately with ffmpeg."
316
+ );
317
+ failUsage();
318
+ }
319
+ }
320
+ if (args.hdr && args.sdr) {
321
+ errorBox("Conflicting flags", "--hdr and --sdr are mutually exclusive.");
322
+ failUsage();
323
+ }
324
+ if (format === "hls" && args.hdr) {
325
+ errorBox(
326
+ "Unsupported HLS output",
327
+ "--hdr cannot be combined with --format hls. HLS output is SDR only (H.264 + AAC in MPEG-TS); HDR10 would need fMP4 segments and HEVC.",
328
+ "Render HDR to MP4, or drop --hdr."
329
+ );
330
+ failUsage();
331
+ }
332
+ if (format === "hls" && args.gpu) {
333
+ errorBox(
334
+ "Unsupported HLS output",
335
+ "--gpu cannot be combined with --format hls. Fixed-length segments require the software encoder's forced-keyframe lock, which GPU encoders ignore.",
336
+ "Re-run without --gpu."
337
+ );
338
+ failUsage();
339
+ }
340
+ const workers = args.workers != null && args.workers !== "auto" ? positiveInteger(
341
+ args.workers,
342
+ "Invalid workers",
343
+ `Got "${args.workers}". Must be a positive number or "auto".`
344
+ ) : void 0;
345
+ const protocolTimeout = args["protocol-timeout"] != null ? positiveInteger(
346
+ args["protocol-timeout"],
347
+ "Invalid protocol-timeout",
348
+ `Got "${args["protocol-timeout"]}". Must be a number >= 1000 (ms).`,
349
+ 1e3
350
+ ) : void 0;
351
+ const playerReadyTimeout = args["player-ready-timeout"] != null ? positiveInteger(
352
+ args["player-ready-timeout"],
353
+ "Invalid player-ready-timeout",
354
+ `Got "${args["player-ready-timeout"]}". Must be a number >= 1000 (ms).`,
355
+ 1e3
356
+ ) : void 0;
357
+ const environment = {};
358
+ if (args["page-side-compositing"] === false) environment.HF_PAGE_SIDE_COMPOSITING = "false";
359
+ if (args["low-memory-mode"] != null) {
360
+ environment.PRODUCER_LOW_MEMORY_MODE = args["low-memory-mode"] ? "true" : "false";
361
+ }
362
+ if (args["experimental-fast-capture"] != null) {
363
+ environment.PRODUCER_EXPERIMENTAL_FAST_CAPTURE = args["experimental-fast-capture"] ? "true" : "false";
364
+ }
365
+ if (typeof args["frames-cache-dir"] === "string" && args["frames-cache-dir"].trim() !== "") {
366
+ const raw = args["frames-cache-dir"].trim();
367
+ const normalized = raw.toLowerCase();
368
+ const isDisableAlias = EXTRACT_CACHE_DIR_DISABLED_ALIASES.includes(normalized);
369
+ environment.HYPERFRAMES_EXTRACT_CACHE_DIR = isDisableAlias ? raw : resolve2(raw);
370
+ }
371
+ if (args["max-concurrent-renders"] != null) {
372
+ const parsed = positiveInteger(
373
+ args["max-concurrent-renders"],
374
+ "Invalid max-concurrent-renders",
375
+ `Got "${args["max-concurrent-renders"]}". Must be a number between 1 and 10.`
376
+ );
377
+ if (parsed > 10) {
378
+ errorBox(
379
+ "Invalid max-concurrent-renders",
380
+ `Got "${args["max-concurrent-renders"]}". Must be a number between 1 and 10.`
381
+ );
382
+ failUsage();
383
+ }
384
+ environment.PRODUCER_MAX_CONCURRENT_RENDERS = String(parsed);
385
+ }
386
+ const batchPath = typeof args.batch === "string" && args.batch.trim() !== "" ? args.batch.trim() : void 0;
387
+ if (batchPath && (args.variables != null || args["variables-file"] != null)) {
388
+ errorBox(
389
+ "Conflicting variables flags",
390
+ "Use either --batch or --variables/--variables-file, not both."
391
+ );
392
+ failUsage();
393
+ }
394
+ if (!batchPath && args["batch-concurrency"] != null) {
395
+ errorBox("Invalid batch-concurrency", "--batch-concurrency requires --batch.");
396
+ failUsage();
397
+ }
398
+ if (!batchPath && args["batch-fail-fast"]) {
399
+ errorBox("Invalid batch-fail-fast", "--batch-fail-fast requires --batch.");
400
+ failUsage();
401
+ }
402
+ const batchConcurrency = args["batch-concurrency"] != null ? positiveInteger(
403
+ args["batch-concurrency"],
404
+ "Invalid batch-concurrency",
405
+ `Got "${args["batch-concurrency"]}". Must be a positive integer.`
406
+ ) : 1;
407
+ const rendersDir = join(project.dir, "renders");
408
+ const ext = FORMAT_EXT[format];
409
+ const timestamp = formatRenderOutputTimestamp(now);
410
+ const batchOutputTemplate = args.output ? args.output : join(rendersDir, `${project.name}_${timestamp}_{index}${ext}`);
411
+ const outputPath = args.output ? resolve2(args.output) : join(rendersDir, `${project.name}_${timestamp}${ext}`);
412
+ const useDocker = args.docker ?? false;
413
+ const useGpu = args.gpu ?? false;
414
+ const browserGpuMode = resolveBrowserGpuForCli(useDocker, args["browser-gpu"]);
415
+ if (useDocker && args["browser-gpu"] === true) {
416
+ errorBox(
417
+ "Browser GPU is local-only",
418
+ "--browser-gpu uses the host Chrome GPU backend. Docker mode keeps browser rendering deterministic and does not expose a cross-platform Chrome GPU backend.",
419
+ "Run without --docker, or use --gpu for Docker GPU encoding where your Docker host supports GPU passthrough."
420
+ );
421
+ failUsage();
422
+ }
423
+ const videoBitrate = args["video-bitrate"]?.trim();
424
+ if (args.crf != null && videoBitrate) {
425
+ errorBox("Conflicting encoder settings", "Use either --crf or --video-bitrate, not both.");
426
+ failUsage();
427
+ }
428
+ const crf = args.crf != null ? positiveInteger(
429
+ args.crf,
430
+ "Invalid crf",
431
+ `Got "${args.crf}". Must be a non-negative integer.`,
432
+ 0
433
+ ) : format === "mov" || args["video-bitrate"] ? void 0 : "crf" in qualityAlias ? qualityAlias.crf : void 0;
434
+ let vp9CpuUsed;
435
+ if (args["vp9-cpu-used"] != null) {
436
+ const parsed = Number(args["vp9-cpu-used"]);
437
+ if (!Number.isInteger(parsed) || parsed < MIN_VP9_CPU_USED || parsed > MAX_VP9_CPU_USED) {
438
+ errorBox(
439
+ "Invalid vp9-cpu-used",
440
+ `Got "${args["vp9-cpu-used"]}". Must be an integer between ${MIN_VP9_CPU_USED} and ${MAX_VP9_CPU_USED}.`
441
+ );
442
+ failUsage();
443
+ }
444
+ vp9CpuUsed = parsed;
445
+ }
446
+ if (args["video-bitrate"] != null && !videoBitrate) {
447
+ errorBox(
448
+ "Invalid video-bitrate",
449
+ `Got "${args["video-bitrate"]}". Must be a non-empty bitrate such as "10M".`
450
+ );
451
+ failUsage();
452
+ }
453
+ if (format === "mov" && (crf !== void 0 || videoBitrate !== void 0)) {
454
+ const flag = crf !== void 0 ? "--crf" : "--video-bitrate";
455
+ errorBox(
456
+ "Unsupported ProRes rate control",
457
+ `${flag} does not apply to MOV. MOV rate is set by the ProRes profile; see --prores-profile.`,
458
+ `Remove ${flag}, or choose MP4/WebM when you need CRF or target-bitrate control.`
459
+ );
460
+ failUsage();
461
+ }
462
+ const delivery = parseDeliveryFlags(args);
463
+ const { proresProfile, ...mp4Delivery } = delivery;
464
+ if (proresProfile !== void 0 && format !== "mov") {
465
+ errorBox(
466
+ "ProRes profile applies to MOV",
467
+ `--prores-profile sets the ProRes profile of a MOV file, not ${format}.`,
468
+ "Remove it, or render --format mov."
469
+ );
470
+ failUsage();
471
+ }
472
+ if (Object.keys(mp4Delivery).length > 0 && format !== "mp4") {
473
+ errorBox(
474
+ "Delivery options apply to MP4",
475
+ "--keyframe-interval, --max-bitrate and --buffer-size set how the MP4 encoder delivers the file.",
476
+ "Remove them, or render --format mp4."
477
+ );
478
+ failUsage();
479
+ }
480
+ const range = parseRenderRange(args, format, fps, args.hdr);
481
+ const quiet = args.quiet ?? false;
482
+ const batchJson = args.json ?? false;
483
+ return Object.freeze({
484
+ project,
485
+ entryFile,
486
+ renderTarget,
487
+ fps,
488
+ quality,
489
+ authoringSkill,
490
+ invalidAuthoringSkill,
491
+ authoringSkillSource,
492
+ catalogUsage,
493
+ format,
494
+ gifLoop,
495
+ gifFpsCapped,
496
+ hlsSegmentSeconds,
497
+ videoFrameFormat: videoFrameFormatRaw,
498
+ pageMotionBlur,
499
+ outputResolution,
500
+ outputResolutionAspectAgnostic,
501
+ outputResolutionRaw: args.resolution,
502
+ workers,
503
+ protocolTimeout,
504
+ playerReadyTimeout,
505
+ pageNavigationTimeoutMs: resolveBrowserTimeoutMsArg(args["browser-timeout"]),
506
+ batchPath,
507
+ batchConcurrency,
508
+ batchFailFast: args["batch-fail-fast"] ?? false,
509
+ batchOutputTemplate,
510
+ outputPath,
511
+ useDocker,
512
+ useGpu,
513
+ browserGpuMode,
514
+ quiet,
515
+ lintVerbose: args["lint-verbose"] ?? false,
516
+ debug: args.debug ?? false,
517
+ resumeSegments: args.resume ?? false,
518
+ keepSegments: args["keep-segments"] ?? false,
519
+ bestEffort: args["best-effort"] ?? true,
520
+ waitForRenderSlot: args.wait ?? true,
521
+ batchJson,
522
+ effectiveQuiet: quiet || batchJson,
523
+ strictAll: args["strict-all"] ?? false,
524
+ strictErrors: (args.strict ?? false) || (args["strict-all"] ?? false),
525
+ crf,
526
+ vp9CpuUsed,
527
+ videoBitrate,
528
+ ...delivery,
529
+ range,
530
+ chromaSubsampling,
531
+ hdrMode: args.sdr ? "force-sdr" : args.hdr ? "force-hdr" : "auto",
532
+ pageSideCompositing: args["page-side-compositing"] !== false,
533
+ experimentalFastCapture: args["experimental-fast-capture"] === true,
534
+ variablesArg: args.variables,
535
+ variablesFileArg: args["variables-file"],
536
+ strictVariables: args["strict-variables"] ?? false,
537
+ environment: Object.freeze(environment),
538
+ hfEnvOverrides
539
+ });
540
+ }
541
+ function applyRenderEnvironment(plan) {
542
+ for (const [key, value] of Object.entries(plan.environment)) process.env[key] = value;
543
+ }
544
+ function renderOutputDirectory(plan) {
545
+ return dirname(plan.outputPath);
546
+ }
547
+ function resolveBrowserGpuForCli(useDocker, browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
548
+ if (useDocker) return "software";
549
+ if (browserGpuArg === true) return "hardware";
550
+ if (browserGpuArg === false) return "software";
551
+ if (envMode === "hardware" || envMode === "software" || envMode === "auto") return envMode;
552
+ return "auto";
553
+ }
554
+
555
+ export {
556
+ createRenderPlan,
557
+ applyRenderEnvironment,
558
+ renderOutputDirectory,
559
+ resolveBrowserGpuForCli
560
+ };
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-JOQR4AP6.js";
19
19
  import {
20
20
  VERSION
21
- } from "./chunk-LHFBKUVY.js";
21
+ } from "./chunk-45ZQI734.js";
22
22
 
23
23
  // src/commands/lambda/prebuiltHandler.ts
24
24
  import { createHash } from "crypto";
@@ -6,31 +6,31 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  redactHome
9
- } from "./chunk-I3QXWJ7V.js";
9
+ } from "./chunk-CDI3CCAU.js";
10
10
  import "./chunk-SVI2CJ6R.js";
11
11
  import "./chunk-CHJGVW5W.js";
12
- import "./chunk-P5E3RHW3.js";
12
+ import "./chunk-3J32XVJ6.js";
13
13
  import "./chunk-NL4RCLQF.js";
14
14
  import "./chunk-6BEFEWFB.js";
15
- import "./chunk-5FFYMVRD.js";
15
+ import "./chunk-MP36L7OJ.js";
16
16
  import {
17
17
  loadProducer
18
- } from "./chunk-6NNLDCX4.js";
19
- import "./chunk-EXW2LV4K.js";
20
- import "./chunk-P7TCIUP2.js";
21
- import "./chunk-HWMNSWEA.js";
18
+ } from "./chunk-UE2WSWNA.js";
19
+ import "./chunk-G55YEL2L.js";
20
+ import "./chunk-QWM3NY2E.js";
21
+ import "./chunk-XUDJ5XSQ.js";
22
22
  import "./chunk-DONVZZLV.js";
23
+ import {
24
+ CACHE_DIR_NAME,
25
+ cleanupProxyCache
26
+ } from "./chunk-XSHJ37U3.js";
27
+ import "./chunk-2LMCARA5.js";
23
28
  import {
24
29
  DEFAULT_HISTORY_ROOT,
25
30
  listProjectHistories,
26
31
  pruneGoneProjectHistories,
27
32
  reclaimUncopiedBlobs
28
33
  } from "./chunk-XDRSEU2I.js";
29
- import {
30
- CACHE_DIR_NAME,
31
- cleanupProxyCache
32
- } from "./chunk-H7AJLEBR.js";
33
- import "./chunk-3R2X2VKB.js";
34
34
  import "./chunk-BZULWFMJ.js";
35
35
  import {
36
36
  formatBytes
@@ -51,16 +51,16 @@ import {
51
51
  directorySizeBytes,
52
52
  gcExtractionCache,
53
53
  resolveExtractCacheDir
54
- } from "./chunk-EJPWGGPK.js";
54
+ } from "./chunk-2TBW7UOF.js";
55
55
  import "./chunk-Z5J67X44.js";
56
56
  import "./chunk-5S7W3TUO.js";
57
57
  import "./chunk-D3MUHMFG.js";
58
- import "./chunk-YIE5FU73.js";
58
+ import "./chunk-KIAY63AB.js";
59
59
  import "./chunk-IEEIPTDW.js";
60
60
  import "./chunk-3GXQPCJC.js";
61
- import "./chunk-3367VNGK.js";
61
+ import "./chunk-EX7WPDFA.js";
62
62
  import "./chunk-FXMKHHPO.js";
63
- import "./chunk-YAZQBB2S.js";
63
+ import "./chunk-XDDBSGBD.js";
64
64
  import "./chunk-VC76R6W2.js";
65
65
  import "./chunk-HZTRKUKE.js";
66
66
  import "./chunk-RQVDTPGD.js";
@@ -70,8 +70,8 @@ import "./chunk-KGPLIH7B.js";
70
70
  import "./chunk-FOZBANEN.js";
71
71
  import "./chunk-K4MJX7SR.js";
72
72
  import "./chunk-WE42NVH7.js";
73
- import "./chunk-VB3JZKMN.js";
74
- import "./chunk-WVRAFHJU.js";
73
+ import "./chunk-CNJLBAKM.js";
74
+ import "./chunk-K2Z6OXEI.js";
75
75
  import "./chunk-KRWPTZBY.js";
76
76
  import "./chunk-FBN2M2HK.js";
77
77
  import "./chunk-6MKM2RVL.js";
@@ -85,18 +85,18 @@ import "./chunk-EPQC3FGZ.js";
85
85
  import "./chunk-JOQR4AP6.js";
86
86
  import {
87
87
  withMeta
88
- } from "./chunk-34S7GYVK.js";
88
+ } from "./chunk-4DLYTSWQ.js";
89
89
  import "./chunk-BR2JQQC5.js";
90
90
  import "./chunk-AWD2MWWL.js";
91
91
  import "./chunk-ISN5GRYI.js";
92
- import "./chunk-GR2E54E6.js";
93
92
  import "./chunk-ADVVQX4I.js";
93
+ import "./chunk-GR2E54E6.js";
94
94
  import {
95
95
  setCommandExitCode
96
96
  } from "./chunk-66W5IWLO.js";
97
97
  import "./chunk-CPHQTXP5.js";
98
98
  import "./chunk-QBXDU24O.js";
99
- import "./chunk-LHFBKUVY.js";
99
+ import "./chunk-45ZQI734.js";
100
100
  import "./chunk-E63BDV4Z.js";
101
101
  import "./chunk-LW33P24U.js";
102
102
  import "./chunk-XT6MXC7A.js";