hyperframes 0.8.210 → 0.8.212

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 (255) hide show
  1. package/dist/{add-36M7YRR4.js → add-JSM7YBQX.js} +28 -24
  2. package/dist/{agentPromptGenerator-4NJ252MR.js → agentPromptGenerator-NTPYCKOI.js} +30 -1
  3. package/dist/{animatedGifPrep-RZLTC77F.js → animatedGifPrep-XTK7UWXF.js} +11 -10
  4. package/dist/api.js +26 -25
  5. package/dist/{appHistory-OHYU5ZBQ.js → appHistory-BCWH6XYH.js} +3 -3
  6. package/dist/{asset-HRGZ7ZCB.js → asset-SMY2EGPH.js} +11 -5
  7. package/dist/{assetCataloger-LN7RI2IC.js → assetCataloger-CVPWY34W.js} +12 -11
  8. package/dist/{audio-ULOHC2KL.js → audio-Y4OYLTWN.js} +37 -33
  9. package/dist/{auth-K4ZULHQY.js → auth-MDEHZR7R.js} +11 -6
  10. package/dist/{autoUpdate-MUJ4WPP6.js → autoUpdate-3FL6EDPM.js} +12 -5
  11. package/dist/{backgroundChecks-O6JST752.js → backgroundChecks-A6TG2BT3.js} +10 -5
  12. package/dist/backgroundChecksWorker.js +11 -5
  13. package/dist/{batchRender-U742UVOD.js → batchRender-K2PBRRTQ.js} +14 -9
  14. package/dist/{beats-2CSE5WJD.js → beats-RA6XK6J5.js} +25 -21
  15. package/dist/{benchmark-YJB2YKOE.js → benchmark-EHU5O4PP.js} +32 -27
  16. package/dist/{browser-WJ5E7RYS.js → browser-7RUIZT2H.js} +27 -22
  17. package/dist/{bundleWithLocalizedFonts-F5VQMFHZ.js → bundleWithLocalizedFonts-O2U2FYY2.js} +7 -3
  18. package/dist/{capture-6OJDKKEZ.js → capture-77KDKKNK.js} +25 -24
  19. package/dist/{capture-IYV3OS5W.js → capture-JGYBORAG.js} +19 -14
  20. package/dist/{captureCompositionFrame-7357PUMG.js → captureCompositionFrame-DZ7EHPZV.js} +23 -18
  21. package/dist/{catalog-CZBK33QH.js → catalog-CUP3SYAI.js} +43 -39
  22. package/dist/{catch-up-7IJQ7AUR.js → catch-up-ZGUCWH5Q.js} +21 -17
  23. package/dist/{check-ISUFX4DK.js → check-ITGFVBT6.js} +60 -56
  24. package/dist/{checkAudio-GAA2SY5E.js → checkAudio-CTLPD6YT.js} +19 -15
  25. package/dist/{checkBrowser-JRADOMED.js → checkBrowser-G2N4JI6N.js} +52 -48
  26. package/dist/{chunk-J7A73K2B.js → chunk-24F7TOW2.js} +99 -44
  27. package/dist/{chunk-W3V5EOFA.js → chunk-25MKZTRT.js} +1 -1
  28. package/dist/chunk-26AQTUU4.js +1103 -0
  29. package/dist/{chunk-ZTZA4UWZ.js → chunk-2GICKZ3I.js} +4 -1
  30. package/dist/{chunk-U7CZBDMV.js → chunk-2P5DTXUN.js} +1 -1
  31. package/dist/{chunk-7BOGLQFM.js → chunk-2YDIEZSF.js} +4 -4
  32. package/dist/{chunk-UIOZIIB7.js → chunk-32NEJ553.js} +1 -73
  33. package/dist/{chunk-DHTWYTSV.js → chunk-3JQ2YOKL.js} +2 -2
  34. package/dist/{chunk-BKXC5XHB.js → chunk-3YBXKWAF.js} +1 -1
  35. package/dist/{chunk-5IWRGVAX.js → chunk-45JN2GIZ.js} +2 -2
  36. package/dist/chunk-5766TK7Q.js +145 -0
  37. package/dist/{chunk-MMJAHBH2.js → chunk-5SKC4G26.js} +4 -1
  38. package/dist/{chunk-MNNK7RV5.js → chunk-5SWWIT7K.js} +2 -1
  39. package/dist/{chunk-FCIO4WSW.js → chunk-5TQ4AEPF.js} +3 -3
  40. package/dist/{chunk-KCLBO65Y.js → chunk-5YPMCCCA.js} +1 -1
  41. package/dist/{chunk-K2FLNJVB.js → chunk-5ZBMHUY2.js} +5 -1
  42. package/dist/{chunk-NEKKA2DA.js → chunk-64XQS7AP.js} +2 -2
  43. package/dist/chunk-6LDHXB4Z.js +36 -0
  44. package/dist/{chunk-FCXEVKFQ.js → chunk-6SG3RRAQ.js} +4 -4
  45. package/dist/{chunk-JLCAHJUO.js → chunk-6ZLDIMPL.js} +2 -2
  46. package/dist/{chunk-DGECWPTL.js → chunk-7KBS6ZLB.js} +2 -2
  47. package/dist/chunk-7KDQAD2W.js +81 -0
  48. package/dist/{chunk-AZGVCQGO.js → chunk-7Q5TBUC2.js} +2 -2
  49. package/dist/{chunk-JHNBF2HD.js → chunk-7TWX4Y7I.js} +4 -4
  50. package/dist/{chunk-ZRSQNF4A.js → chunk-7W7ANGR4.js} +55 -40
  51. package/dist/{chunk-WOFTAZSZ.js → chunk-7ZAVTGGT.js} +12 -11
  52. package/dist/{chunk-BYZPLQSX.js → chunk-A2WPZE2R.js} +1 -1
  53. package/dist/{chunk-NQ2INEHX.js → chunk-A4ZTSQLW.js} +1 -1
  54. package/dist/{chunk-ERVBXEPZ.js → chunk-AJAXP4HF.js} +10 -6
  55. package/dist/{chunk-PCPMSUW6.js → chunk-BLVHVXRU.js} +3 -3
  56. package/dist/{chunk-5ZJGEQGS.js → chunk-BYRXSKIY.js} +2 -2
  57. package/dist/{chunk-AF3L5JJX.js → chunk-CCLBOLYU.js} +1 -1
  58. package/dist/{chunk-4A27M7CJ.js → chunk-CODPTVC2.js} +1 -1
  59. package/dist/{chunk-VQB7G5BM.js → chunk-CTZJSMGU.js} +1 -1
  60. package/dist/chunk-DL4OD7IA.js +21 -0
  61. package/dist/{chunk-JVBRJMOP.js → chunk-DP5LF7GF.js} +8 -2
  62. package/dist/{chunk-EVTBRL37.js → chunk-DS7ANFBV.js} +5 -5
  63. package/dist/{chunk-35HSGF46.js → chunk-DVVTBVKA.js} +11 -16
  64. package/dist/{chunk-6CSYCFQV.js → chunk-DW35FX4I.js} +1 -1
  65. package/dist/{chunk-WWQJYYAB.js → chunk-DXPC7Z6L.js} +4 -4
  66. package/dist/{chunk-X2T5EOI7.js → chunk-EC77ZBCP.js} +5 -5
  67. package/dist/{chunk-VWG7OQKU.js → chunk-EQGKUPBJ.js} +4 -1
  68. package/dist/{chunk-IMKBZEGT.js → chunk-F5XADOGC.js} +2 -2
  69. package/dist/chunk-FJ646TIT.js +201 -0
  70. package/dist/{chunk-GDZA4ALG.js → chunk-FKFGGAXN.js} +52 -7
  71. package/dist/{chunk-2R5ZKWSV.js → chunk-FLXZ4GZI.js} +1 -1
  72. package/dist/{chunk-FHIBBIEZ.js → chunk-FW6CYA5D.js} +3 -3
  73. package/dist/{chunk-QXUFQSSK.js → chunk-G6HUXX3L.js} +1 -1
  74. package/dist/{chunk-5YHQBCWH.js → chunk-G6OKQMJI.js} +12 -2
  75. package/dist/{chunk-QSFWGZG6.js → chunk-G7VEYUZ2.js} +16 -132
  76. package/dist/{chunk-KGG2PUZN.js → chunk-GQ724553.js} +5 -5
  77. package/dist/{chunk-F7IWJMIO.js → chunk-GVE6I5EL.js} +6 -6
  78. package/dist/{chunk-66LREXGS.js → chunk-HXZNCXQX.js} +1 -1
  79. package/dist/{chunk-WERLJGIC.js → chunk-J3RXEDR2.js} +17 -2
  80. package/dist/{chunk-DKJAK6JW.js → chunk-J7GPSY5N.js} +7 -7
  81. package/dist/{chunk-5PCT5DDF.js → chunk-JZNQQI5M.js} +5 -5
  82. package/dist/{chunk-3PTZ2TD4.js → chunk-KUXOAS4Z.js} +1 -1
  83. package/dist/{chunk-32BLIKEV.js → chunk-KZZWYIEB.js} +3 -3
  84. package/dist/{chunk-AHPGAESX.js → chunk-L72RQ45A.js} +1 -1
  85. package/dist/{chunk-FBIWJ3A4.js → chunk-MJCIAZSK.js} +3 -3
  86. package/dist/{chunk-BW5WYF4N.js → chunk-MX2GMAAW.js} +106 -62
  87. package/dist/{chunk-JLBJRJO6.js → chunk-N3J2MLXC.js} +3 -3
  88. package/dist/{chunk-KGAPL42S.js → chunk-N7XJHZ35.js} +1 -1
  89. package/dist/{chunk-UA3YNZK6.js → chunk-NGSENR4J.js} +16 -6
  90. package/dist/{chunk-QIDN4ML5.js → chunk-NO6F7CLR.js} +1 -1
  91. package/dist/{chunk-EQPXSSNG.js → chunk-NXDKBFEO.js} +15 -15
  92. package/dist/{chunk-I3PNZDKR.js → chunk-OL5E4Y4L.js} +2226 -2081
  93. package/dist/{chunk-XNFDDVJS.js → chunk-ONMTNYGR.js} +4 -1
  94. package/dist/{chunk-P2L7NNHT.js → chunk-ORJY6Z6G.js} +3 -3
  95. package/dist/{chunk-GKNTPIFD.js → chunk-OSCWTA2O.js} +10 -10
  96. package/dist/{chunk-ZA5TNF4R.js → chunk-OWV36OJP.js} +5 -2
  97. package/dist/{chunk-YBY2WVLC.js → chunk-P2VGMOX7.js} +5 -5
  98. package/dist/{chunk-QPX7FJP3.js → chunk-PW7FCVHR.js} +1 -1
  99. package/dist/{chunk-RUW65P3N.js → chunk-Q55JNFDV.js} +3 -3
  100. package/dist/{chunk-GNESG4XA.js → chunk-QUXWS5UG.js} +3 -3
  101. package/dist/{chunk-I4H5JWND.js → chunk-R5B6GXQM.js} +1 -1
  102. package/dist/{chunk-TGFDRZTM.js → chunk-RDZKBIEB.js} +5 -5
  103. package/dist/{chunk-OMLVCHNN.js → chunk-RJILJ4OR.js} +3 -3
  104. package/dist/{chunk-36EOFTVG.js → chunk-RQC4PHO3.js} +1 -1
  105. package/dist/{chunk-RIJHDTM5.js → chunk-S2HWGG5O.js} +1 -1
  106. package/dist/chunk-SJGE5I5F.js +131 -0
  107. package/dist/{chunk-A45HCDG7.js → chunk-SPDSRBIN.js} +31 -5
  108. package/dist/{chunk-HKCIRH26.js → chunk-SXTWQ7CH.js} +5 -5
  109. package/dist/{chunk-K4FVGVA6.js → chunk-T2WJO4XM.js} +1 -1
  110. package/dist/{chunk-EYGWMHXV.js → chunk-T7KNW7PE.js} +4 -4
  111. package/dist/{chunk-DROFHVQD.js → chunk-TPO32Z65.js} +4 -4
  112. package/dist/{chunk-P327BIJR.js → chunk-U46JEU26.js} +1 -1
  113. package/dist/{chunk-HP7BXJFZ.js → chunk-UBUKKTNW.js} +2 -2
  114. package/dist/{chunk-TDEORHFN.js → chunk-UE4CXHMF.js} +7 -7
  115. package/dist/{chunk-BN22WCAF.js → chunk-UULZKCBI.js} +2 -2
  116. package/dist/{chunk-AG566TRI.js → chunk-UXH6E5HC.js} +2 -2
  117. package/dist/{chunk-W4E3ZOWH.js → chunk-V6OSE6VT.js} +2 -2
  118. package/dist/{chunk-DST7GU2Y.js → chunk-VKD23SIO.js} +1 -1
  119. package/dist/{chunk-57QUPSP2.js → chunk-VVDHSRKD.js} +1 -1
  120. package/dist/{chunk-QI5TLQNW.js → chunk-W2VJTKIW.js} +17 -20
  121. package/dist/{chunk-HD4KXG5U.js → chunk-W55BW7KA.js} +15 -14
  122. package/dist/chunk-W5OBRMZ6.js +4870 -0
  123. package/dist/{chunk-ERUQ3S6D.js → chunk-WE42NVH7.js} +6 -1
  124. package/dist/{chunk-QRWTVCGH.js → chunk-WVIH5BBZ.js} +30 -23
  125. package/dist/{chunk-SE2MXV2N.js → chunk-X4SBDDLS.js} +2 -1
  126. package/dist/{chunk-A2H5EJZM.js → chunk-XEWMJWNW.js} +2 -2
  127. package/dist/{chunk-LRE4GDFA.js → chunk-XGXTZNES.js} +4 -4
  128. package/dist/{chunk-YIFEK3UD.js → chunk-XQ26I3PL.js} +1 -1
  129. package/dist/{chunk-UWEGMKKU.js → chunk-Y3U7ECBH.js} +1 -1
  130. package/dist/{chunk-MV3J6ZOP.js → chunk-YACECUHX.js} +9 -9
  131. package/dist/{chunk-MA447PNF.js → chunk-YVT5IU6J.js} +22 -23
  132. package/dist/{chunk-XCIHCPJK.js → chunk-YWRUQ7XZ.js} +3 -2
  133. package/dist/{chunk-XIUHHEBS.js → chunk-YX5ELTKV.js} +3 -3
  134. package/dist/{chunk-P6EXMN5D.js → chunk-ZCHULPJZ.js} +3 -3
  135. package/dist/{chunk-QFXF5GXE.js → chunk-ZCYSQ3NQ.js} +3 -3
  136. package/dist/{chunk-RIAWW4G2.js → chunk-ZE57TSS6.js} +2 -2
  137. package/dist/{clean-NVBEXXIS.js → clean-FBZ7GHRY.js} +39 -35
  138. package/dist/cli.js +161 -80
  139. package/dist/{cloud-3T6HF7DT.js → cloud-VYSWJ7UO.js} +11 -6
  140. package/dist/{cloudrun-TXEEZGJ7.js → cloudrun-U6LI7KLV.js} +39 -30
  141. package/dist/{colors-HKWSZCGK.js → colors-HRL7QSVG.js} +5 -1
  142. package/dist/commands/layout-audit.browser.js +1 -1
  143. package/dist/commands/motion-signature.browser.js +11 -2
  144. package/dist/{compare-Q42Z56P7.js → compare-YR7BMEHJ.js} +63 -61
  145. package/dist/{compiler-IL2PZJFH.js → compiler-6YCAUK7Z.js} +4 -4
  146. package/dist/{component-2IWQZYCZ.js → component-HVSM6FJV.js} +13 -7
  147. package/dist/{compositions-3EZ3GBK2.js → compositions-QTFL2VNL.js} +27 -23
  148. package/dist/{delete-2UBY2JTM.js → delete-2FHCQ72T.js} +28 -20
  149. package/dist/{deploy-QTS2OM2H.js → deploy-6S45QWG6.js} +11 -7
  150. package/dist/{destroy-CGAZIL2C.js → destroy-BQ5R7LUF.js} +8 -4
  151. package/dist/{dist-XF53LCKD.js → dist-B4KLCLZ5.js} +3 -3
  152. package/dist/{dist-73YTUT3W.js → dist-NCI6JOJZ.js} +2 -2
  153. package/dist/{docs-UEWLIP6D.js → docs-6EM6FDNI.js} +12 -6
  154. package/dist/{doctor-FIXMXWE6.js → doctor-4MRS6RED.js} +25 -20
  155. package/dist/{events-7WYSDXTE.js → events-4VBBY7PP.js} +15 -10
  156. package/dist/{events-NTZSSMBR.js → events-FN45HVPM.js} +14 -11
  157. package/dist/{feedback-7SOB5GZC.js → feedback-T67P2CDA.js} +41 -35
  158. package/dist/{ffmpeg-PYY5FSIX.js → ffmpeg-ED7ZK6XH.js} +12 -11
  159. package/dist/{figma-DTWA3G22.js → figma-UXAWKPOY.js} +10 -5
  160. package/dist/fontLocalizeCli.js +16 -14
  161. package/dist/{get-DMGUJPLP.js → get-EFH3PPJA.js} +20 -15
  162. package/dist/{gpuPolicy-KVYO4OU4.js → gpuPolicy-ZADQMXQT.js} +11 -10
  163. package/dist/{grade-compare-NCYPJFLI.js → grade-compare-425BFHSF.js} +65 -60
  164. package/dist/hangReport.js +1 -0
  165. package/dist/{heifImagePrep-F7LFUYGC.js → heifImagePrep-ZJM7N2XY.js} +12 -11
  166. package/dist/{help-I4RRBHCW.js → help-23PPB2BD.js} +16 -8
  167. package/dist/{history-GVBBXZKQ.js → history-CHJV33M5.js} +28 -22
  168. package/dist/hyperframe.manifest.json +1 -1
  169. package/dist/hyperframe.runtime.iife.js +64 -64
  170. package/dist/hyperframes-player.global.js +1 -1
  171. package/dist/{info-UE2PY5AF.js → info-36YPISVA.js} +22 -18
  172. package/dist/{init-4UGFGJQK.js → init-U6EE2EIU.js} +73 -65
  173. package/dist/{inspect-ZRREAUCB.js → inspect-NI2RMUFR.js} +50 -46
  174. package/dist/{installer-ABXPRFIJ.js → installer-K3HIZ5CF.js} +7 -7
  175. package/dist/{keyframes-MFR4TYVR.js → keyframes-I6T2IT6I.js} +20 -16
  176. package/dist/{lambda-E3Z6JCIB.js → lambda-WL64Z2F3.js} +50 -42
  177. package/dist/{layout-IO7T5SSU.js → layout-R2YZ4N6P.js} +50 -46
  178. package/dist/{lint-WYPQK5XA.js → lint-IAAG6Z65.js} +30 -24
  179. package/dist/{lintProject-KCN7MRBN.js → lintProject-EM7Y2ZRB.js} +2 -2
  180. package/dist/{list-7F2LXWOZ.js → list-3O6743DJ.js} +23 -18
  181. package/dist/{live-LAHBXVK2.js → live-WWPFZQ74.js} +33 -7
  182. package/dist/localPage-L5FRBCNP.js +56 -0
  183. package/dist/{login-TTMYCXN2.js → login-27TRFTYB.js} +17 -13
  184. package/dist/{logout-QRSB4CNH.js → logout-C6P6ERZ3.js} +12 -7
  185. package/dist/{manager-OQ5J26ST.js → manager-D6TE4ENP.js} +14 -13
  186. package/dist/{manager-LQXZTUTJ.js → manager-IZIK7BHN.js} +7 -5
  187. package/dist/{media-treatment-ELB6WRA5.js → media-treatment-E3YLZVXC.js} +58 -45
  188. package/dist/{media-use-JBN57JE3.js → media-use-ZRHFRO46.js} +3 -2
  189. package/dist/{models-D2FNIGNZ.js → models-2Q3TGNH5.js} +40 -28
  190. package/dist/{motionShot-53VDDRIC.js → motionShot-XYW2HMVI.js} +27 -22
  191. package/dist/{normalize-audio-QHNCFWR2.js → normalize-audio-D5WNUNDM.js} +42 -28
  192. package/dist/{open-3KMTT3AV.js → open-3KO7UUPC.js} +33 -29
  193. package/dist/{parakeetRunner-T65S6FW3.js → parakeetRunner-WX6L6MW5.js} +20 -19
  194. package/dist/{pipeline-DUVRZGIM.js → pipeline-WYIO4KGN.js} +17 -16
  195. package/dist/{play-27R6RBSK.js → play-ZM3ZUJSZ.js} +53 -52
  196. package/dist/{policies-NWIEUGGW.js → policies-J5BWAZHM.js} +18 -12
  197. package/dist/{preflight-QB6NKBBL.js → preflight-7OMCIXNM.js} +16 -14
  198. package/dist/{present-RHV3FKI5.js → present-E2PLH2GJ.js} +47 -46
  199. package/dist/{preview-IAKIXYLN.js → preview-TVRM75FN.js} +52 -48
  200. package/dist/{producer-F6PHB4M4.js → producer-M5F6KZEF.js} +1 -1
  201. package/dist/{progress-PX3PVAIM.js → progress-X3QFO3FE.js} +9 -5
  202. package/dist/{projectConfig-MPHWYY5D.js → projectConfig-VFKGY3XE.js} +11 -11
  203. package/dist/prompts-VAO7RDKX.js +40 -0
  204. package/dist/{publication-CBAEINEG.js → publication-AF33R7LF.js} +5 -5
  205. package/dist/{publish-4A2A6V7Z.js → publish-Z7HGDQ5R.js} +41 -30
  206. package/dist/{refresh-F7FUCXLX.js → refresh-IYRGLHG5.js} +12 -7
  207. package/dist/{remove-background-3I7RZGVG.js → remove-background-PN3KCBT4.js} +39 -30
  208. package/dist/{render-BSKLHCZ4.js → render-I3HBIJX3.js} +82 -77
  209. package/dist/{render-BGPUHBFC.js → render-IZNPEXMU.js} +17 -12
  210. package/dist/{render-2HYATL32.js → render-SEODWRRR.js} +46 -41
  211. package/dist/{render-batch-JD6C3BDD.js → render-batch-MQSORY55.js} +18 -13
  212. package/dist/renderSetupWorker.js +10 -7
  213. package/dist/{resolver-SQYR7LII.js → resolver-HXE4F2G4.js} +7 -7
  214. package/dist/{sam-FHJ7IL7T.js → sam-QA7JT7IM.js} +2 -1
  215. package/dist/{sherpa-VXD3DAH4.js → sherpa-NPT6S3RP.js} +19 -18
  216. package/dist/sherpaWorker.js +1 -0
  217. package/dist/{sites-Q2S3DZY4.js → sites-MTLVMYJ6.js} +7 -3
  218. package/dist/{skills-B2SHEHWL.js → skills-P3BI55YP.js} +27 -20
  219. package/dist/{skillsUpdateCheck-ST43UUPK.js → skillsUpdateCheck-43Q4ZHWN.js} +10 -5
  220. package/dist/{snapshot-USJYNKDM.js → snapshot-YLT64YQS.js} +93 -71
  221. package/dist/{src-5OX35WPG.js → src-7S7K4QUN.js} +14 -13
  222. package/dist/{src-PX3VIS7K.js → src-OHJ7USRX.js} +20 -9
  223. package/dist/{state-JPNCCXAV.js → state-6QHNNHDA.js} +2 -2
  224. package/dist/{staticProjectServer-ET7H5LMV.js → staticProjectServer-RP3MW2EW.js} +31 -24
  225. package/dist/{status-QVDRHXW2.js → status-SLILCDBZ.js} +21 -12
  226. package/dist/studio/assets/{hyperframes-player-DUpxahTX.js → hyperframes-player-DHfuW7Lt.js} +1 -1
  227. package/dist/studio/assets/{index-CtrcjpbM.js → index-CWgIsKzV.js} +123 -123
  228. package/dist/studio/assets/{index-B4dcZZAm.js → index-CkjUY33q.js} +1 -1
  229. package/dist/studio/index.html +1 -1
  230. package/dist/{studio-api-PLKYSG2X.js → studio-api-BZPZCJL6.js} +17 -15
  231. package/dist/{studioServer-CNUXGRFS.js → studioServer-QLRIXNYM.js} +74 -70
  232. package/dist/{synthesize-RVE7IUOJ.js → synthesize-FQML2LN2.js} +5 -5
  233. package/dist/{system-YD4AW5ZX.js → system-MVRF5UM2.js} +5 -3
  234. package/dist/{telemetry-EJS5PXH2.js → telemetry-NTO4FJFN.js} +13 -8
  235. package/dist/{telemetry-DGDEJLGL.js → telemetry-QOBPRUWF.js} +14 -11
  236. package/dist/templates/blank/index.html +1 -1
  237. package/dist/{timeline-VCQC4TLM.js → timeline-OLQFVWVU.js} +47 -40
  238. package/dist/{tokens-AEOBCDW5.js → tokens-BAHLVGEC.js} +12 -6
  239. package/dist/{transcribe-COFCB3ZB.js → transcribe-3NHUWW4J.js} +45 -39
  240. package/dist/{transcribe-X6O5ZSGQ.js → transcribe-HR6BFDUR.js} +16 -15
  241. package/dist/{tts-AGMCPQXE.js → tts-K5HRN6NQ.js} +26 -17
  242. package/dist/{updateCheck-BW7MDUXZ.js → updateCheck-BGHPCA7J.js} +9 -4
  243. package/dist/{upgrade-QXOGA54H.js → upgrade-NFI6JOME.js} +28 -14
  244. package/dist/{urlDownloader-QB3TBIQ5.js → urlDownloader-P35K74RS.js} +10 -9
  245. package/dist/{usage-HG4WMM7A.js → usage-772JV45U.js} +2 -1
  246. package/dist/{validate-AU2BZ7D7.js → validate-Q57ZCI4Q.js} +42 -38
  247. package/dist/{video-GNNYAL5T.js → video-OO2M2AKD.js} +19 -15
  248. package/dist/warmCheck.js +63 -58
  249. package/dist/warmCheckClient.js +1 -0
  250. package/package.json +1 -1
  251. package/dist/chunk-QRC7IVBC.js +0 -4870
  252. package/dist/chunk-WMQNIQDJ.js +0 -2057
  253. package/dist/chunk-WQ6ZXHFQ.js +0 -133
  254. package/dist/dist-EWXJGN63.js +0 -129
  255. package/dist/localPage-V3HBGM3Z.js +0 -27
@@ -4,6 +4,9 @@ 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
+ isUnattended
9
+ } from "./chunk-J3RXEDR2.js";
7
10
  import {
8
11
  __commonJS,
9
12
  __toESM
@@ -84,7 +87,7 @@ var require_picocolors = __commonJS({
84
87
 
85
88
  // src/ui/colors.ts
86
89
  var import_picocolors = __toESM(require_picocolors(), 1);
87
- var isColorSupported = process.stdout.isTTY === true && !process.env["NO_COLOR"] && process.env["FORCE_COLOR"] !== "0";
90
+ var isColorSupported = process.stdout.isTTY === true && !process.env["NO_COLOR"] && process.env["FORCE_COLOR"] !== "0" && !isUnattended();
88
91
  function wrap(fn) {
89
92
  return isColorSupported ? fn : (s) => s;
90
93
  }
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  c
9
- } from "./chunk-ZTZA4UWZ.js";
9
+ } from "./chunk-2GICKZ3I.js";
10
10
 
11
11
  // src/cloud/statusColor.ts
12
12
  function colorStatus(status) {
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  downloadToFile
9
- } from "./chunk-QIDN4ML5.js";
9
+ } from "./chunk-NO6F7CLR.js";
10
10
  import {
11
11
  CACHE_DIR,
12
12
  PINNED_PACKAGES,
@@ -21,13 +21,13 @@ import {
21
21
  emitWords,
22
22
  getPreparedWavDurationSeconds,
23
23
  prepareWav
24
- } from "./chunk-P2L7NNHT.js";
24
+ } from "./chunk-ORJY6Z6G.js";
25
25
  import {
26
26
  stoppedByCancelSignal
27
- } from "./chunk-DST7GU2Y.js";
27
+ } from "./chunk-VKD23SIO.js";
28
28
  import {
29
29
  verifies
30
- } from "./chunk-DHTWYTSV.js";
30
+ } from "./chunk-3JQ2YOKL.js";
31
31
  import {
32
32
  PARAKEET_MODEL_LABEL,
33
33
  SHERPA_ERROR_PREFIX,
@@ -131,82 +131,10 @@ function getAvailableMemoryMb() {
131
131
  return fallback;
132
132
  }
133
133
 
134
- // ../engine/src/services/wslHost.ts
135
- import { accessSync, constants, existsSync, readFileSync as readFileSync2, statSync } from "fs";
136
- import { platform as platform2, release } from "os";
137
- function groupName(gid) {
138
- try {
139
- const line = readFileSync2("/etc/group", "utf-8").split("\n").find((entry) => entry.split(":")[2] === String(gid));
140
- return line?.split(":")[0] || String(gid);
141
- } catch {
142
- return String(gid);
143
- }
144
- }
145
- var realHost = {
146
- get platform() {
147
- return platform2();
148
- },
149
- get release() {
150
- return release();
151
- },
152
- readProcVersion: () => readFileSync2("/proc/version", "utf-8"),
153
- renderNodeAccess: (path) => {
154
- if (!existsSync(path)) return { state: "missing" };
155
- try {
156
- accessSync(path, constants.R_OK | constants.W_OK);
157
- return { state: "read-write" };
158
- } catch {
159
- const gid = statSync(path, { throwIfNoEntry: false })?.gid ?? -1;
160
- return {
161
- state: "denied",
162
- group: groupName(gid),
163
- userInGroup: process.getgroups?.().includes(gid) ?? false
164
- };
165
- }
166
- }
167
- };
168
- function detectWsl(host = realHost) {
169
- if (host.platform !== "linux") return false;
170
- try {
171
- const osRelease = host.release.toLowerCase();
172
- if (osRelease.includes("microsoft") || osRelease.includes("wsl")) return true;
173
- const procVersion = host.readProcVersion().toLowerCase();
174
- return procVersion.includes("microsoft") || procVersion.includes("wsl");
175
- } catch {
176
- return false;
177
- }
178
- }
179
- var RENDER_NODE = "/dev/dri/renderD128";
180
- var NATIVE_WINDOWS = "render from native Windows (project copied to a Windows drive, run from PowerShell), where Chrome uses the GPU through Direct3D.";
181
- function describeWslGpuAccess(host = realHost) {
182
- if (!detectWsl(host)) return null;
183
- const access = host.renderNodeAccess(RENDER_NODE);
184
- if (access.state === "denied" && !access.userInGroup) {
185
- return [
186
- ` Your Linux user cannot read and write ${RENDER_NODE} and is not in its group ("${access.group}"), which can stop Mesa from reaching the GPU.`,
187
- ` Fix: run \`sudo usermod -aG ${access.group} $USER\`, then \`wsl --shutdown\` from Windows, reopen WSL and render again.`,
188
- ` Or ${NATIVE_WINDOWS}`
189
- ];
190
- }
191
- if (access.state === "denied") {
192
- return [
193
- ` Your Linux user is in the "${access.group}" group but still cannot read and write ${RENDER_NODE}; check its permissions with \`ls -l ${RENDER_NODE}\`.`,
194
- ` Or ${NATIVE_WINDOWS}`
195
- ];
196
- }
197
- const seen = access.state === "missing" ? "does not exist" : "is readable and writable";
198
- return [
199
- ` ${RENDER_NODE} ${seen}, so file permissions are not the cause.`,
200
- ` To use the GPU, ${NATIVE_WINDOWS}`
201
- ];
202
- }
203
-
204
134
  export {
205
135
  getCgroupMemoryLimitMb,
206
136
  getSystemTotalMb,
207
137
  LOW_MEMORY_TOTAL_MB_THRESHOLD,
208
138
  isLowMemorySystem,
209
- getAvailableMemoryMb,
210
- detectWsl,
211
- describeWslGpuAccess
139
+ getAvailableMemoryMb
212
140
  };
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  downloadFile
9
- } from "./chunk-WQ6ZXHFQ.js";
9
+ } from "./chunk-FJ646TIT.js";
10
10
  import {
11
11
  findFFmpeg
12
- } from "./chunk-EYGWMHXV.js";
12
+ } from "./chunk-T7KNW7PE.js";
13
13
  import {
14
14
  stoppableExecFile
15
15
  } from "./chunk-HU2SPFNG.js";
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-KGG2PUZN.js";
13
+ } from "./chunk-GQ724553.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -24,10 +24,10 @@ import {
24
24
  } from "./chunk-P6LJ4Y32.js";
25
25
  import {
26
26
  publishRegistryFile
27
- } from "./chunk-K4FVGVA6.js";
27
+ } from "./chunk-T2WJO4XM.js";
28
28
  import {
29
29
  ITEM_TYPE_DIRS
30
- } from "./chunk-5ZJGEQGS.js";
30
+ } from "./chunk-BYRXSKIY.js";
31
31
  import {
32
32
  realProjectRoot
33
33
  } from "./chunk-OFQWTKPW.js";
@@ -0,0 +1,145 @@
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
+ getSystemTotalMb
9
+ } from "./chunk-32NEJ553.js";
10
+ import {
11
+ detectAgentHints,
12
+ detectAgentRuntime,
13
+ detectExecutionHarnessHint,
14
+ detectSandboxRuntime
15
+ } from "./chunk-G7VEYUZ2.js";
16
+ import {
17
+ detectWsl
18
+ } from "./chunk-7KDQAD2W.js";
19
+
20
+ // src/telemetry/system.ts
21
+ import { cpus, platform, release } from "os";
22
+ import { existsSync, readFileSync, statfsSync } from "fs";
23
+ import { execSync } from "child_process";
24
+ function bytesToMb(bytes) {
25
+ return Math.trunc(bytes / (1024 * 1024));
26
+ }
27
+ var cached = null;
28
+ var CLIENT_TAG = /^[a-z0-9][a-z0-9._+-]{0,31}(\/[a-z0-9._+-]{1,32}){0,3}$/i;
29
+ function readClientTag() {
30
+ const tag = process.env["HYPERFRAMES_CLIENT"]?.trim() ?? "";
31
+ return CLIENT_TAG.test(tag) ? tag : null;
32
+ }
33
+ function getSystemMeta() {
34
+ if (cached) return cached;
35
+ const cpuInfo = cpus();
36
+ const firstCpu = cpuInfo[0] ?? null;
37
+ const agent_runtime = detectAgentRuntime();
38
+ const hints = agent_runtime === null ? detectAgentHints() : { agent_hint: null, term_program: null, agent_env_hints: null };
39
+ cached = {
40
+ os_release: release(),
41
+ cpu_count: cpuInfo.length,
42
+ cpu_model: firstCpu?.model?.trim() ?? null,
43
+ cpu_speed: firstCpu?.speed ?? null,
44
+ memory_total_mb: getSystemTotalMb(),
45
+ is_docker: detectDocker(),
46
+ is_ci: detectCI(),
47
+ ci_name: getCIName(),
48
+ is_wsl: detectWsl(),
49
+ is_tty: Boolean(process.stdout?.isTTY),
50
+ sandbox_runtime: detectSandboxRuntime(),
51
+ agent_runtime,
52
+ execution_harness_hint: detectExecutionHarnessHint(),
53
+ agent_hint: hints.agent_hint,
54
+ term_program: hints.term_program,
55
+ agent_env_hints: hints.agent_env_hints,
56
+ client: readClientTag()
57
+ };
58
+ return cached;
59
+ }
60
+ function detectDocker() {
61
+ try {
62
+ if (existsSync("/.dockerenv")) return true;
63
+ if (platform() === "linux") {
64
+ const cgroup = readFileSync("/proc/1/cgroup", "utf-8");
65
+ if (cgroup.includes("docker") || cgroup.includes("containerd")) return true;
66
+ }
67
+ } catch {
68
+ }
69
+ return false;
70
+ }
71
+ var CI_PROVIDERS = [
72
+ { name: "github_actions", envVar: "GITHUB_ACTIONS", mode: "truthy" },
73
+ { name: "gitlab_ci", envVar: "GITLAB_CI", mode: "truthy" },
74
+ { name: "circleci", envVar: "CIRCLECI", mode: "truthy" },
75
+ { name: "jenkins", envVar: "JENKINS_URL", mode: "presence" },
76
+ { name: "buildkite", envVar: "BUILDKITE", mode: "truthy" },
77
+ { name: "travis", envVar: "TRAVIS", mode: "truthy" },
78
+ { name: null, envVar: "CONTINUOUS_INTEGRATION", mode: "truthy" },
79
+ { name: null, envVar: "CI", mode: "truthy" }
80
+ ];
81
+ function matchesProvider(p) {
82
+ const v = process.env[p.envVar];
83
+ if (p.mode === "presence") return v != null;
84
+ return v === "true" || v === "1";
85
+ }
86
+ function detectCI() {
87
+ return CI_PROVIDERS.some(matchesProvider);
88
+ }
89
+ function getCIName() {
90
+ for (const provider of CI_PROVIDERS) {
91
+ if (provider.name && matchesProvider(provider)) return provider.name;
92
+ }
93
+ return detectCI() ? "unknown" : null;
94
+ }
95
+ function getShmSizeMb() {
96
+ if (platform() !== "linux") return null;
97
+ try {
98
+ const stats = statfsSync("/dev/shm");
99
+ return bytesToMb(stats.bsize * stats.blocks);
100
+ } catch {
101
+ return null;
102
+ }
103
+ }
104
+ function getFreeDiskMb(path = ".") {
105
+ try {
106
+ const stats = statfsSync(path);
107
+ return bytesToMb(stats.bsize * stats.bavail);
108
+ } catch {
109
+ return null;
110
+ }
111
+ }
112
+ function parsePmsetPowerSource(raw) {
113
+ const m = raw.match(/Now drawing from '([^']+)'/);
114
+ if (!m) return null;
115
+ return m[1] === "Battery Power";
116
+ }
117
+ function getPowerState() {
118
+ if (platform() !== "darwin") {
119
+ return { on_battery: null, low_power_mode: null };
120
+ }
121
+ let on_battery = null;
122
+ let low_power_mode = null;
123
+ try {
124
+ on_battery = parsePmsetPowerSource(
125
+ execSync("pmset -g batt", { encoding: "utf-8", timeout: 2e3 })
126
+ );
127
+ } catch {
128
+ }
129
+ try {
130
+ const raw = execSync("pmset -g", { encoding: "utf-8", timeout: 2e3 });
131
+ const m = raw.match(/lowpowermode\s+(\d)/);
132
+ if (m) low_power_mode = m[1] === "1";
133
+ } catch {
134
+ }
135
+ return { on_battery, low_power_mode };
136
+ }
137
+
138
+ export {
139
+ bytesToMb,
140
+ getSystemMeta,
141
+ getShmSizeMb,
142
+ getFreeDiskMb,
143
+ parsePmsetPowerSource,
144
+ getPowerState
145
+ };
@@ -8,6 +8,9 @@ import {
8
8
  VALID_CANVAS_RESOLUTIONS,
9
9
  resolveResolutionFlagPair
10
10
  } from "./chunk-NHA4NRBE.js";
11
+ import {
12
+ CliUsageError
13
+ } from "./chunk-DP5LF7GF.js";
11
14
 
12
15
  // src/utils/parseOutputResolution.ts
13
16
  function parseOutputResolutionFlag(raw, options) {
@@ -18,7 +21,7 @@ function parseOutputResolutionFlag(raw, options) {
18
21
  const { outputResolution, outputResolutionAspectAgnostic } = resolveResolutionFlagPair(asString);
19
22
  if (outputResolution) return { outputResolution, outputResolutionAspectAgnostic };
20
23
  const aliasHint = options.aliasHint ?? "1080p, 4k, uhd, hd, \u2026";
21
- throw new Error(
24
+ throw new CliUsageError(
22
25
  `${options.surfaceLabel} --output-resolution must be one of ${VALID_CANVAS_RESOLUTIONS.join("|")} (or an alias: ${aliasHint}); got ${asString}`
23
26
  );
24
27
  }
@@ -45,7 +45,8 @@ function openBrowser(url, options = {}) {
45
45
  const args = buildBrowserArgs(url, options);
46
46
  const child = spawn(options.browserPath, args, {
47
47
  detached: true,
48
- stdio: "ignore"
48
+ stdio: "ignore",
49
+ windowsHide: false
49
50
  });
50
51
  child.on("error", () => {
51
52
  });
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType
9
- } from "./chunk-HD4KXG5U.js";
9
+ } from "./chunk-W55BW7KA.js";
10
10
  import {
11
11
  stripSdrPngColourTags
12
- } from "./chunk-GNESG4XA.js";
12
+ } from "./chunk-QUXWS5UG.js";
13
13
  import {
14
14
  injectTagsAtHeadStart
15
- } from "./chunk-QRC7IVBC.js";
15
+ } from "./chunk-W5OBRMZ6.js";
16
16
 
17
17
  // src/utils/compositionServer.ts
18
18
  import { createHash } from "crypto";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  createFileAtomically
9
- } from "./chunk-NQ2INEHX.js";
9
+ } from "./chunk-A4ZTSQLW.js";
10
10
 
11
11
  // src/utils/writeNewFile.ts
12
12
  function writeNewFileSync(filePath, content) {
@@ -6,7 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  c
9
- } from "./chunk-ZTZA4UWZ.js";
9
+ } from "./chunk-2GICKZ3I.js";
10
+ import {
11
+ recordFailure
12
+ } from "./chunk-SJGE5I5F.js";
10
13
 
11
14
  // src/ui/format.ts
12
15
  function formatBytes(bytes) {
@@ -68,6 +71,7 @@ function label(name, value) {
68
71
  return ` ${c.dim(name)}${" ".repeat(Math.max(1, pad))}${c.bold(value)}`;
69
72
  }
70
73
  function errorBox(title, hint, suggestion) {
74
+ recordFailure(title, hint ?? suggestion);
71
75
  console.error(`
72
76
  ${c.error("\u2717")} ${c.bold(title)}`);
73
77
  if (hint) {
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-32BLIKEV.js";
9
+ } from "./chunk-KZZWYIEB.js";
10
10
  import {
11
11
  DEFAULT_HISTORY_ROOT,
12
12
  HistoryBusyError,
13
13
  MAX_WINDOW_IDLE_MS,
14
14
  openProjectHistory,
15
15
  readProjectHistory
16
- } from "./chunk-J7A73K2B.js";
16
+ } from "./chunk-24F7TOW2.js";
17
17
  import {
18
18
  findPreviewServerForProject,
19
19
  studioApiUrl
@@ -0,0 +1,36 @@
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
+
8
+ // src/utils/hideChildConsoles.ts
9
+ import childProcess from "child_process";
10
+ import { syncBuiltinESMExports } from "module";
11
+ import { promisify } from "util";
12
+ var ENTRY_POINTS = ["spawn", "spawnSync", "exec", "execSync", "execFile", "execFileSync", "fork"];
13
+ function hidden(command, rest) {
14
+ const args = [...rest];
15
+ const at = args.findIndex((arg) => arg && typeof arg === "object" && !Array.isArray(arg));
16
+ if (at >= 0) {
17
+ args[at] = { windowsHide: true, ...args[at] };
18
+ } else {
19
+ const callback = args.findIndex((arg) => typeof arg === "function");
20
+ args.splice(callback < 0 ? args.length : callback, 0, { windowsHide: true });
21
+ }
22
+ return [command, ...args];
23
+ }
24
+ function hideChildConsoles(target = childProcess, platform = process.platform) {
25
+ if (platform !== "win32") return;
26
+ for (const name of ENTRY_POINTS) {
27
+ const original = target[name];
28
+ const wrapped = (command, ...rest) => original(...hidden(command, rest));
29
+ const custom = original[promisify.custom];
30
+ if (custom)
31
+ wrapped[promisify.custom] = (command, ...rest) => custom(...hidden(command, rest));
32
+ target[name] = wrapped;
33
+ }
34
+ if (target === childProcess) syncBuiltinESMExports();
35
+ }
36
+ hideChildConsoles();
@@ -10,13 +10,13 @@ import {
10
10
  readSeen,
11
11
  seenPath,
12
12
  writeRecord
13
- } from "./chunk-YIFEK3UD.js";
13
+ } from "./chunk-XQ26I3PL.js";
14
14
  import {
15
15
  createProjectConfig
16
- } from "./chunk-IMKBZEGT.js";
16
+ } from "./chunk-F5XADOGC.js";
17
17
  import {
18
18
  isHyperframesProject
19
- } from "./chunk-5ZJGEQGS.js";
19
+ } from "./chunk-BYRXSKIY.js";
20
20
 
21
21
  // src/utils/desktopApp.ts
22
22
  import { spawn, spawnSync } from "child_process";
@@ -51,7 +51,7 @@ function agentSession(env = process.env) {
51
51
  var openWithBundle = (bundleId, dir) => spawnSync("open", ["-b", bundleId, dir], { stdio: "ignore" }).status === 0;
52
52
  function launchApp(executable, dir) {
53
53
  try {
54
- const child = spawn(executable, [dir], { detached: true, stdio: "ignore" });
54
+ const child = spawn(executable, [dir], { detached: true, stdio: "ignore", windowsHide: false });
55
55
  child.on("error", () => {
56
56
  });
57
57
  child.unref();
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  errorBox
9
- } from "./chunk-K2FLNJVB.js";
9
+ } from "./chunk-5ZBMHUY2.js";
10
10
  import {
11
11
  failUsage
12
- } from "./chunk-JVBRJMOP.js";
12
+ } from "./chunk-DP5LF7GF.js";
13
13
 
14
14
  // src/utils/compositionEntry.ts
15
15
  import { realpathSync } from "fs";
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  errorBox
9
- } from "./chunk-K2FLNJVB.js";
9
+ } from "./chunk-5ZBMHUY2.js";
10
10
  import {
11
11
  failUsage
12
- } from "./chunk-JVBRJMOP.js";
12
+ } from "./chunk-DP5LF7GF.js";
13
13
 
14
14
  // src/cloud/parsing.ts
15
15
  var INTEGER_RE = /^-?\d+$/;
@@ -0,0 +1,81 @@
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
+
8
+ // ../engine/src/services/wslHost.ts
9
+ import { accessSync, constants, existsSync, readFileSync, statSync } from "fs";
10
+ import { platform, release } from "os";
11
+ function groupName(gid) {
12
+ try {
13
+ const line = readFileSync("/etc/group", "utf-8").split("\n").find((entry) => entry.split(":")[2] === String(gid));
14
+ return line?.split(":")[0] || String(gid);
15
+ } catch {
16
+ return String(gid);
17
+ }
18
+ }
19
+ var realHost = {
20
+ get platform() {
21
+ return platform();
22
+ },
23
+ get release() {
24
+ return release();
25
+ },
26
+ readProcVersion: () => readFileSync("/proc/version", "utf-8"),
27
+ renderNodeAccess: (path) => {
28
+ if (!existsSync(path)) return { state: "missing" };
29
+ try {
30
+ accessSync(path, constants.R_OK | constants.W_OK);
31
+ return { state: "read-write" };
32
+ } catch {
33
+ const gid = statSync(path, { throwIfNoEntry: false })?.gid ?? -1;
34
+ return {
35
+ state: "denied",
36
+ group: groupName(gid),
37
+ userInGroup: process.getgroups?.().includes(gid) ?? false
38
+ };
39
+ }
40
+ }
41
+ };
42
+ function detectWsl(host = realHost) {
43
+ if (host.platform !== "linux") return false;
44
+ try {
45
+ const osRelease = host.release.toLowerCase();
46
+ if (osRelease.includes("microsoft") || osRelease.includes("wsl")) return true;
47
+ const procVersion = host.readProcVersion().toLowerCase();
48
+ return procVersion.includes("microsoft") || procVersion.includes("wsl");
49
+ } catch {
50
+ return false;
51
+ }
52
+ }
53
+ var RENDER_NODE = "/dev/dri/renderD128";
54
+ var NATIVE_WINDOWS = "render from native Windows (project copied to a Windows drive, run from PowerShell), where Chrome uses the GPU through Direct3D.";
55
+ function describeWslGpuAccess(host = realHost) {
56
+ if (!detectWsl(host)) return null;
57
+ const access = host.renderNodeAccess(RENDER_NODE);
58
+ if (access.state === "denied" && !access.userInGroup) {
59
+ return [
60
+ ` Your Linux user cannot read and write ${RENDER_NODE} and is not in its group ("${access.group}"), which can stop Mesa from reaching the GPU.`,
61
+ ` Fix: run \`sudo usermod -aG ${access.group} $USER\`, then \`wsl --shutdown\` from Windows, reopen WSL and render again.`,
62
+ ` Or ${NATIVE_WINDOWS}`
63
+ ];
64
+ }
65
+ if (access.state === "denied") {
66
+ return [
67
+ ` Your Linux user is in the "${access.group}" group but still cannot read and write ${RENDER_NODE}; check its permissions with \`ls -l ${RENDER_NODE}\`.`,
68
+ ` Or ${NATIVE_WINDOWS}`
69
+ ];
70
+ }
71
+ const seen = access.state === "missing" ? "does not exist" : "is readable and writable";
72
+ return [
73
+ ` ${RENDER_NODE} ${seen}, so file permissions are not the cause.`,
74
+ ` To use the GPU, ${NATIVE_WINDOWS}`
75
+ ];
76
+ }
77
+
78
+ export {
79
+ detectWsl,
80
+ describeWslGpuAccess
81
+ };
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-TSYRN646.js";
12
12
  import {
13
13
  fetchLocalPageUrl
14
- } from "./chunk-DROFHVQD.js";
14
+ } from "./chunk-TPO32Z65.js";
15
15
  import {
16
16
  ensureCaptureDirSync,
17
17
  writeCaptureFileSync
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-AWDFDFI3.js";
26
26
  import {
27
27
  isBlockedNetworkHost
28
- } from "./chunk-I3PNZDKR.js";
28
+ } from "./chunk-OL5E4Y4L.js";
29
29
  import {
30
30
  DOMParser,
31
31
  parseHTML
@@ -4,12 +4,12 @@ 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
- failCommand
9
- } from "./chunk-JVBRJMOP.js";
10
7
  import {
11
8
  c
12
- } from "./chunk-ZTZA4UWZ.js";
9
+ } from "./chunk-2GICKZ3I.js";
10
+ import {
11
+ failCommand
12
+ } from "./chunk-DP5LF7GF.js";
13
13
  import {
14
14
  normalizeErrorMessage
15
15
  } from "./chunk-E63BDV4Z.js";