hyperframes 0.9.31 → 0.9.32

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 (275) hide show
  1. package/dist/{add-53MR45WI.js → add-HYI4YJC5.js} +16 -16
  2. package/dist/{agentPromptGenerator-NXF7237H.js → agentPromptGenerator-JAQNBEUZ.js} +35 -18
  3. package/dist/{animatedGifPrep-XF6VJW22.js → animatedGifPrep-DVYRCZVR.js} +10 -10
  4. package/dist/api.js +40 -36
  5. package/dist/{appHistory-DLDRURHW.js → appHistory-WZIHFCPK.js} +3 -3
  6. package/dist/{asset-Y3YAVXJ3.js → asset-7FG3M3FQ.js} +2 -2
  7. package/dist/{assetCataloger-DRLH2VFH.js → assetCataloger-QDQZYHUC.js} +12 -12
  8. package/dist/{audio-TRDZQ2NW.js → audio-R6ZG62DU.js} +20 -19
  9. package/dist/{auth-MN66MWGN.js → auth-IPDYZXOG.js} +2 -2
  10. package/dist/{autoUpdate-KAIIQJBV.js → autoUpdate-GAEDDZRN.js} +2 -2
  11. package/dist/{avatars-F2COSI7P.js → avatars-A45VFUZ4.js} +14 -14
  12. package/dist/{backgroundChecks-36UG4V5N.js → backgroundChecks-US74BS6V.js} +3 -3
  13. package/dist/backgroundChecksWorker.js +4 -4
  14. package/dist/{batchRender-CI6OFGS5.js → batchRender-VBSYVQA7.js} +5 -5
  15. package/dist/{beats-GBCNB763.js → beats-UPJ3KANG.js} +12 -12
  16. package/dist/{benchmark-AHHMJBDN.js → benchmark-2RWYJGL2.js} +10 -10
  17. package/dist/{billing-HME22C5A.js → billing-MD66MJTA.js} +15 -15
  18. package/dist/{browser-VZTIOZI3.js → browser-JXCS62NX.js} +7 -7
  19. package/dist/{bundleWithLocalizedFonts-XLFSHMET.js → bundleWithLocalizedFonts-RAD7BNJF.js} +1 -1
  20. package/dist/{capture-ZILHWIOF.js → capture-DJ4WRP62.js} +52 -29
  21. package/dist/{capture-NU2ZIXJB.js → capture-M6DT5WZT.js} +4 -4
  22. package/dist/{captureCompositionFrame-ZWVKRKLL.js → captureCompositionFrame-IRXG7ZFU.js} +17 -17
  23. package/dist/{captureFile-O7JMINHC.js → captureFile-Y2ZMB7HK.js} +3 -3
  24. package/dist/{catalog-NVEGPXGE.js → catalog-GW45OWKU.js} +16 -16
  25. package/dist/{catch-up-W7ST5JSZ.js → catch-up-YKJQ4IYC.js} +10 -10
  26. package/dist/{check-BZ652RYH.js → check-7QTKMPGA.js} +49 -49
  27. package/dist/{checkAudio-5NVSRMGL.js → checkAudio-7WHUYGUZ.js} +14 -14
  28. package/dist/{checkBrowser-YN454IBU.js → checkBrowser-USAOWTAF.js} +42 -42
  29. package/dist/chunk-262ADJJN.js +193 -0
  30. package/dist/{chunk-SCWMPY3F.js → chunk-2NMBD5AH.js} +1 -1
  31. package/dist/{chunk-RHUYVGFO.js → chunk-2T7EDEKE.js} +7 -7
  32. package/dist/{chunk-OJSOH2LS.js → chunk-2W4VQ3YZ.js} +2 -2
  33. package/dist/{chunk-RJA64ACI.js → chunk-2Z42EUHG.js} +2 -2
  34. package/dist/{chunk-HM3PIREE.js → chunk-3367VNGK.js} +2 -2
  35. package/dist/{chunk-RLYYA6IR.js → chunk-34S7GYVK.js} +1 -1
  36. package/dist/{chunk-TEOIEMTR.js → chunk-3HT3UGF2.js} +1 -1
  37. package/dist/{chunk-AQJA7TAQ.js → chunk-3PHCFSPD.js} +2 -2
  38. package/dist/{chunk-BJSUKOWW.js → chunk-3R2X2VKB.js} +2 -2
  39. package/dist/{chunk-OOEZ3FT3.js → chunk-4CSZZXL6.js} +3 -3
  40. package/dist/{chunk-JLUOG6S2.js → chunk-4FTJE22M.js} +2 -2
  41. package/dist/{chunk-O7ZX5DHD.js → chunk-5FFYMVRD.js} +2 -2
  42. package/dist/{chunk-6WHOI52Z.js → chunk-5GXMZIQZ.js} +8 -8
  43. package/dist/{chunk-Q7EIUAYK.js → chunk-5VN7ZXJR.js} +3 -3
  44. package/dist/{chunk-VEIGTKYZ.js → chunk-64F653HO.js} +36 -9
  45. package/dist/{chunk-X3HQA3YE.js → chunk-6BI6URO2.js} +8 -7
  46. package/dist/{chunk-Q77TZ76B.js → chunk-6MTSP2XE.js} +8 -8
  47. package/dist/{chunk-7XZS4PNM.js → chunk-6NNLDCX4.js} +1 -1
  48. package/dist/{chunk-3OA75WJW.js → chunk-6RFCS4IU.js} +9 -4
  49. package/dist/{chunk-IIMW46LC.js → chunk-6SNGKC6B.js} +1 -1
  50. package/dist/{chunk-SWOAB4GM.js → chunk-77UB5EHM.js} +1 -1
  51. package/dist/{chunk-URXVZMSI.js → chunk-ADP2GIBS.js} +2 -2
  52. package/dist/{chunk-CWN75OWQ.js → chunk-AOQRVS63.js} +13 -3
  53. package/dist/{chunk-RVI665CP.js → chunk-AWT5FHTN.js} +1 -1
  54. package/dist/{chunk-G5DZZEQF.js → chunk-AZ2QJETV.js} +1 -1
  55. package/dist/{chunk-YJVJCNK4.js → chunk-BA3EQ2KL.js} +3 -3
  56. package/dist/{chunk-J3OVTOVC.js → chunk-CHJGVW5W.js} +15 -2
  57. package/dist/{chunk-TCQKCUDA.js → chunk-CKJDY6EK.js} +1 -1
  58. package/dist/{chunk-GFDXA5QO.js → chunk-CMYUPVMI.js} +2 -2
  59. package/dist/{chunk-DFSAC4F4.js → chunk-D6BV6TTI.js} +1 -1
  60. package/dist/{chunk-OZNJ2QD5.js → chunk-D7NNNL2K.js} +13 -13
  61. package/dist/{chunk-MMAPQWUP.js → chunk-E5S4QMX7.js} +2 -2
  62. package/dist/{chunk-G5S72X6Q.js → chunk-EBG5RCPM.js} +4 -4
  63. package/dist/{chunk-R5U5PFDJ.js → chunk-EJPWGGPK.js} +68 -26
  64. package/dist/{chunk-FKW5FP4C.js → chunk-EXW2LV4K.js} +114 -74
  65. package/dist/{chunk-F2GWIWHN.js → chunk-G2XAFJ2B.js} +2 -2
  66. package/dist/{chunk-P7LZ2WSQ.js → chunk-G6JLFSII.js} +2 -2
  67. package/dist/{chunk-LHBQW4GJ.js → chunk-G7NKYELQ.js} +23 -15
  68. package/dist/{chunk-FRBQ3FIM.js → chunk-GBIASKIH.js} +1 -1
  69. package/dist/{chunk-W4OMDRZF.js → chunk-GCJRV7LU.js} +28 -8
  70. package/dist/{chunk-AWL5M7BX.js → chunk-GJUL3PRV.js} +4 -4
  71. package/dist/{chunk-BIQJKM2O.js → chunk-GOMTMQRT.js} +1 -1
  72. package/dist/{chunk-5AMGFTMU.js → chunk-GTHRXU37.js} +15 -15
  73. package/dist/{chunk-GRHBVTBK.js → chunk-GWSCUFGL.js} +2 -2
  74. package/dist/{chunk-SQ63BIR2.js → chunk-H4C3P2KV.js} +3 -3
  75. package/dist/{chunk-FK3KV32T.js → chunk-H7AJLEBR.js} +26 -23
  76. package/dist/{chunk-L6ZLOJBI.js → chunk-HDCVU64B.js} +1 -1
  77. package/dist/{chunk-Y6RU3H6C.js → chunk-HWMNSWEA.js} +6 -6
  78. package/dist/{chunk-WSPGX2SM.js → chunk-HXQDDCGY.js} +1 -1
  79. package/dist/{chunk-OFQWTKPW.js → chunk-HZTRKUKE.js} +8 -2
  80. package/dist/{chunk-CUORARXJ.js → chunk-I3QXWJ7V.js} +7 -7
  81. package/dist/{chunk-IEXRKKHC.js → chunk-IEEIPTDW.js} +1 -1
  82. package/dist/{chunk-MX3UCKZR.js → chunk-JHX76QFC.js} +1 -1
  83. package/dist/{chunk-C4U6FRZH.js → chunk-JMV63CNH.js} +14 -11
  84. package/dist/{chunk-4HSE3FWO.js → chunk-K72X2YXR.js} +3 -3
  85. package/dist/{chunk-OB6DVKHE.js → chunk-KAG5KXNO.js} +2 -2
  86. package/dist/{chunk-J5LQW6VB.js → chunk-KFXHBP2E.js} +2 -2
  87. package/dist/{chunk-MQOO5Z4U.js → chunk-KG3TONXU.js} +6 -6
  88. package/dist/{chunk-HYRPH6LL.js → chunk-KRWPTZBY.js} +2 -5
  89. package/dist/{chunk-KKUBMYCY.js → chunk-KXOKZJBZ.js} +10 -10
  90. package/dist/{chunk-XDIHAX2C.js → chunk-L72MPEM2.js} +1 -1
  91. package/dist/{chunk-RBECDLMQ.js → chunk-LBQQNNRC.js} +1 -1
  92. package/dist/{chunk-CP4FVXKZ.js → chunk-LHFBKUVY.js} +2 -2
  93. package/dist/{chunk-RLQOYHXT.js → chunk-LJMTEZOP.js} +10 -10
  94. package/dist/{chunk-3SZ43GZG.js → chunk-LXIEKLAC.js} +5 -5
  95. package/dist/{chunk-KAICKZZK.js → chunk-M6FNCANA.js} +1 -1
  96. package/dist/{chunk-ZOOY4LEZ.js → chunk-M6LAGO6O.js} +2 -2
  97. package/dist/{chunk-5Q3TTLGB.js → chunk-MYFAVVA6.js} +22 -22
  98. package/dist/{chunk-XEPGN46Q.js → chunk-N6Y645MX.js} +1 -1
  99. package/dist/{chunk-IOPIOX5K.js → chunk-N7C7U3ZR.js} +7 -4
  100. package/dist/{chunk-B7H5RCKP.js → chunk-NNOAOQLT.js} +2 -2
  101. package/dist/{chunk-56MGA4FM.js → chunk-NXSKZE3C.js} +2 -2
  102. package/dist/{chunk-RCWPVC4M.js → chunk-P5E3RHW3.js} +2 -2
  103. package/dist/{chunk-SEVZKBMA.js → chunk-P7TCIUP2.js} +4 -4
  104. package/dist/{chunk-5BIMSULZ.js → chunk-PVSRPNIV.js} +1 -1
  105. package/dist/{chunk-5SDUQLZ3.js → chunk-PXDRW3QN.js} +1 -1
  106. package/dist/{chunk-GSXHYLW4.js → chunk-PXY3JZP2.js} +2 -2
  107. package/dist/{chunk-T54RTTFW.js → chunk-RCRUWNQ4.js} +3 -3
  108. package/dist/{chunk-GGDJLN5I.js → chunk-REJ4NIBY.js} +1 -1
  109. package/dist/{chunk-BCMR6DE4.js → chunk-SFPIVVUE.js} +2 -2
  110. package/dist/{chunk-T7PFJH2B.js → chunk-SIRYW7SY.js} +2 -2
  111. package/dist/{chunk-SHOE3UR6.js → chunk-SVI2CJ6R.js} +1 -1
  112. package/dist/{chunk-ZSELEQI2.js → chunk-SXOIG6VG.js} +186 -52
  113. package/dist/chunk-TFBPCJPG.js +26 -0
  114. package/dist/{chunk-JULHFF3J.js → chunk-TLUDJLBN.js} +1 -1
  115. package/dist/{chunk-5YYGPTBP.js → chunk-TTSLKH63.js} +3 -3
  116. package/dist/{chunk-XB77LMOP.js → chunk-TVQNABOI.js} +1 -1
  117. package/dist/{chunk-K7JA32EI.js → chunk-TZH6HNZH.js} +2 -2
  118. package/dist/{chunk-3F2DTPBD.js → chunk-UC4X6I35.js} +6 -0
  119. package/dist/{chunk-PGGMJW7B.js → chunk-UWMOMAYI.js} +35 -7
  120. package/dist/{chunk-DJVSNDF3.js → chunk-VB3JZKMN.js} +104 -14
  121. package/dist/{chunk-JHOPRAJN.js → chunk-VK3MQSA2.js} +11 -5
  122. package/dist/{chunk-5HVQV4H4.js → chunk-W3HNLDK6.js} +2 -2
  123. package/dist/{chunk-44VR2CWT.js → chunk-WLNQAJQC.js} +2 -2
  124. package/dist/{chunk-O4Z4D4KA.js → chunk-WTO4DHBH.js} +1 -1
  125. package/dist/{chunk-ALVXFXUG.js → chunk-WXOOAAT4.js} +27 -4
  126. package/dist/{chunk-6VNDEMSP.js → chunk-X6DWLN55.js} +3 -3
  127. package/dist/{chunk-IHWNDG5C.js → chunk-XB7HE2R5.js} +3 -3
  128. package/dist/{chunk-VPPJIWVG.js → chunk-XDRSEU2I.js} +14 -14
  129. package/dist/{chunk-CWOUPW5E.js → chunk-XH6LGDIB.js} +4 -4
  130. package/dist/{chunk-3DIYMOES.js → chunk-XPT4GC6X.js} +6 -6
  131. package/dist/{chunk-ZQYRP22G.js → chunk-Y3YHDU7T.js} +1 -1
  132. package/dist/{chunk-SWC3QIEH.js → chunk-YAS347ZS.js} +1 -1
  133. package/dist/{chunk-ELWX6CAA.js → chunk-YAZQBB2S.js} +1 -1
  134. package/dist/{chunk-5LLDGJGZ.js → chunk-YCTWMO3G.js} +1 -1
  135. package/dist/{chunk-OBRKDUCE.js → chunk-YIE5FU73.js} +3 -3
  136. package/dist/{chunk-KAHWO4XC.js → chunk-YMIEJZB6.js} +3 -3
  137. package/dist/{chunk-22PWPQVX.js → chunk-Z6X64P6C.js} +3 -3
  138. package/dist/{chunk-54FVSPRH.js → chunk-ZIYXPDKY.js} +2 -2
  139. package/dist/{clean-WYXHI2DO.js → clean-MJBET4EN.js} +26 -26
  140. package/dist/cli.js +64 -64
  141. package/dist/{cloud-X52P5AIE.js → cloud-WEDQYHZE.js} +4 -4
  142. package/dist/{cloud-TDXVUIUM.js → cloud-Z4Q76MLS.js} +3 -3
  143. package/dist/{cloudrun-36IR6ZKU.js → cloudrun-2KGSRAKA.js} +7 -7
  144. package/dist/{compare-R2KXOV2I.js → compare-MJKWQOD7.js} +41 -41
  145. package/dist/{compiler-FRWUFIQC.js → compiler-ETXRTUQC.js} +6 -6
  146. package/dist/{component-TIBQY7KQ.js → component-PZGKEJ6L.js} +3 -3
  147. package/dist/{compositions-NQPORXIX.js → compositions-N3FEEWH7.js} +14 -14
  148. package/dist/{contactSheet-PZXG3REG.js → contactSheet-HZMP42FZ.js} +4 -4
  149. package/dist/{curve-DTLRPBSB.js → curve-MWABBM7Q.js} +14 -14
  150. package/dist/{cuts-73HKU767.js → cuts-BQFSSNY7.js} +15 -15
  151. package/dist/{delete-HIHA436T.js → delete-HPHGJABK.js} +5 -5
  152. package/dist/deploy-JY2QOB5F.js +213 -0
  153. package/dist/{describeProject-4A5UXQ25.js → describeProject-S6AGYZWL.js} +11 -11
  154. package/dist/{destroy-4DOMPOYB.js → destroy-AZK7J4IR.js} +19 -15
  155. package/dist/{deterministicFonts-SKRN3TCP.js → deterministicFonts-2ZPRAI3C.js} +4 -4
  156. package/dist/{diff-JPADFUMV.js → diff-XDNFCAU4.js} +36 -36
  157. package/dist/{dist-EFXKPJJT.js → dist-6EE3Y4M7.js} +3 -3
  158. package/dist/{dist-KWXQYTRT.js → dist-EYEYDD4F.js} +18 -18
  159. package/dist/{dist-FKEKIXVL.js → dist-TYGDYK56.js} +4 -4
  160. package/dist/docs/rendering.md +2 -0
  161. package/dist/{doctor-3OO3CONL.js → doctor-6IRSMKZD.js} +16 -16
  162. package/dist/{energy-XFPN5YIL.js → energy-VCJ2FJEF.js} +15 -15
  163. package/dist/{events-QWPZT3EQ.js → events-DNTIMCUM.js} +17 -17
  164. package/dist/{events-G2MME5LQ.js → events-M6A7BT3V.js} +7 -7
  165. package/dist/{events-6ONCYFB5.js → events-QQYBD7JM.js} +2 -2
  166. package/dist/{extract-3EV72SMY.js → extract-X3IVXYHX.js} +15 -15
  167. package/dist/{face-JZS6P3AT.js → face-MZHXKBDB.js} +16 -16
  168. package/dist/{feedback-JVWBHRQG.js → feedback-TAMGYFUO.js} +15 -11
  169. package/dist/{ffmpeg-XDAITYSU.js → ffmpeg-XWPYYYB6.js} +10 -10
  170. package/dist/{figma-KPHTDMCQ.js → figma-WMD7AR2S.js} +3 -3
  171. package/dist/fontLocalizeCli.js +17 -17
  172. package/dist/{frames-KRVRJTKC.js → frames-OU2UOLBU.js} +17 -17
  173. package/dist/{generate-X2MYGFZX.js → generate-6F6QEFXW.js} +26 -26
  174. package/dist/{get-QM24BI7N.js → get-VVDO7DXG.js} +5 -5
  175. package/dist/{gpuPolicy-EFJJLHVV.js → gpuPolicy-CVNSHXHJ.js} +10 -10
  176. package/dist/{grade-compare-W5N5LH4X.js → grade-compare-O6LY2U73.js} +40 -40
  177. package/dist/{gsapParser-3H7ON3DO.js → gsapParser-L7TM3RGH.js} +49 -26
  178. package/dist/hangReport.js +1 -1
  179. package/dist/{heifImagePrep-X5QRRVTV.js → heifImagePrep-J6TILZTM.js} +11 -11
  180. package/dist/{help-LWS4YWMO.js → help-XLSTTDHR.js} +1 -1
  181. package/dist/{history-SG34LBJY.js → history-DBCCWBDG.js} +13 -13
  182. package/dist/hyperframes-player.global.js +1 -1
  183. package/dist/{info-2FC43IYB.js → info-E46BWAQ7.js} +16 -16
  184. package/dist/{init-GKY5OKDV.js → init-23TG5W7S.js} +33 -33
  185. package/dist/{ink-7UK6YCUY.js → ink-6UFSNJRW.js} +15 -15
  186. package/dist/{inspect-ZB2NTNQA.js → inspect-RKI6XACH.js} +40 -40
  187. package/dist/{installer-GALVXWPC.js → installer-JWPK75BR.js} +8 -8
  188. package/dist/{keyframes-LSP4FLHT.js → keyframes-J65V5A2G.js} +10 -10
  189. package/dist/{lambda-3F32DRYF.js → lambda-RZSXXBJU.js} +19 -19
  190. package/dist/{layout-XPGS3QTX.js → layout-RJQUOYWB.js} +40 -40
  191. package/dist/{lint-Q5SO57RK.js → lint-4TUHKKA2.js} +12 -12
  192. package/dist/{lintProject-5CBL7VFV.js → lintProject-R6RTBSCZ.js} +3 -3
  193. package/dist/{list-FL5RYSFT.js → list-HOD2N4VS.js} +5 -5
  194. package/dist/{localPage-IOHQETQT.js → localPage-TC4NC3VL.js} +11 -11
  195. package/dist/{login-D4TCWDDW.js → login-NTOS3HKD.js} +4 -4
  196. package/dist/{look-G2BT4E4A.js → look-GC63E2I7.js} +15 -15
  197. package/dist/{manager-F6WI43DQ.js → manager-FICBET24.js} +11 -11
  198. package/dist/{measure-VXQQHYMZ.js → measure-WTQCSQ55.js} +11 -11
  199. package/dist/{media-treatment-ZXA3JZSL.js → media-treatment-KTZ6X2P2.js} +16 -16
  200. package/dist/{media-use-63LZFAID.js → media-use-K75FDXJ3.js} +10 -5
  201. package/dist/{models-MWUVU4CY.js → models-JKOA542M.js} +14 -14
  202. package/dist/{motionShot-U4YDT7UV.js → motionShot-A3TYKTQU.js} +20 -20
  203. package/dist/{normalize-audio-T5QJWU4P.js → normalize-audio-7JUM42YB.js} +12 -12
  204. package/dist/{open-DRLXHOW2.js → open-F6GI4TRA.js} +18 -18
  205. package/dist/{parakeetRunner-5OHEB3XZ.js → parakeetRunner-6XIAKJLS.js} +17 -17
  206. package/dist/{pipeline-MAIRRYD6.js → pipeline-7P7LGGQG.js} +13 -13
  207. package/dist/{play-33A3EXX3.js → play-DYOZLKWX.js} +36 -30
  208. package/dist/{preflight-HSWMKB2Q.js → preflight-VM4HSRBY.js} +11 -11
  209. package/dist/{present-HJIFEIDH.js → present-IINIEZJC.js} +30 -24
  210. package/dist/{preview-J6Z6RKMN.js → preview-NJO2UXWJ.js} +25 -25
  211. package/dist/{probe-RA4VOGYY.js → probe-LQQHFX5Q.js} +15 -15
  212. package/dist/{producer-KWP2B4A5.js → producer-LH2SZHJ2.js} +1 -1
  213. package/dist/{progress-TGYZ2TKQ.js → progress-IY6U35WH.js} +1 -1
  214. package/dist/{projectConfig-3YIGHLNE.js → projectConfig-BLACFLUW.js} +11 -11
  215. package/dist/{publication-QRUY2WJK.js → publication-NFF2BXIE.js} +6 -6
  216. package/dist/{publish-GV3I3GUL.js → publish-JST5Y4UR.js} +19 -17
  217. package/dist/{remove-background-UUITKXEQ.js → remove-background-WUBESLWN.js} +14 -14
  218. package/dist/{render-EC67XXR2.js → render-4KWUUC5H.js} +75 -45
  219. package/dist/{render-NHVDJRFD.js → render-DA4V7CEE.js} +8 -8
  220. package/dist/{render-ZITQXHJP.js → render-R4VNR4E2.js} +34 -30
  221. package/dist/{render-batch-RII4F3PD.js → render-batch-JMPG4RLT.js} +8 -8
  222. package/dist/renderSetupWorker.js +4 -4
  223. package/dist/{resolver-R3FXDZKS.js → resolver-PNIFIDIE.js} +8 -8
  224. package/dist/{reverse-2GJ5Y3WM.js → reverse-4NI7D2C3.js} +1 -1
  225. package/dist/{run-24USN7TA.js → run-FWBIBLYE.js} +4 -3
  226. package/dist/{screenshotCapture-TEQVEBWB.js → screenshotCapture-KOLNFU7W.js} +13 -13
  227. package/dist/{sherpa-YIJR47GX.js → sherpa-W3BMN67E.js} +16 -16
  228. package/dist/sherpaWorker.js +1 -1
  229. package/dist/{sites-LILUBMRM.js → sites-QK3F4AUS.js} +1 -1
  230. package/dist/skills/hyperframes-cli/references/preview-render.md +1 -0
  231. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +15 -4
  232. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +42 -6
  233. package/dist/skills/media-use/audio/scripts/lib/python.mjs +17 -2
  234. package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +50 -4
  235. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +11 -1
  236. package/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +2 -1
  237. package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +31 -0
  238. package/dist/{skills-DM3XC7RQ.js → skills-KQQVUFGO.js} +10 -10
  239. package/dist/{skillsUpdateCheck-ZHVFEOEN.js → skillsUpdateCheck-VY5PS46S.js} +3 -3
  240. package/dist/{snapshot-72RQQXHW.js → snapshot-VIEJQAUB.js} +82 -57
  241. package/dist/{src-C43KUEBY.js → src-HHPRCLEW.js} +11 -9
  242. package/dist/{src-SPFGPZZQ.js → src-MQU5F7GJ.js} +15 -15
  243. package/dist/{start-FSYSYLI7.js → start-ZBNNVFMU.js} +24 -24
  244. package/dist/{state-W3AS6O2J.js → state-7OIPR4BG.js} +1 -1
  245. package/dist/{staticProjectServer-RHBRRGPK.js → staticProjectServer-VPGZWJF4.js} +27 -27
  246. package/dist/{status-TE74GP4Q.js → status-RBZJYT7T.js} +17 -17
  247. package/dist/studio/assets/{codec-DXM4vA6G.js → codec-Bz1jsLs8.js} +1 -1
  248. package/dist/studio/assets/{hyperframes-player-D_016Ubp.js → hyperframes-player-cdH5Sz_t.js} +1 -1
  249. package/dist/studio/assets/{index-Ob53qo6K.js → index-D1l7izdf.js} +176 -176
  250. package/dist/studio/assets/{index-Bw4stQMm.js → index-DFRbcd5J.js} +1 -1
  251. package/dist/studio/assets/{pausedVideoDecoder-vbdgaMqL.js → pausedVideoDecoder-CgV8YB6S.js} +1 -1
  252. package/dist/studio/index.html +1 -1
  253. package/dist/{studio-api-JAOHMYPG.js → studio-api-EPZGLIWW.js} +18 -18
  254. package/dist/{studioServer-RHCPM4CN.js → studioServer-YFQQ2ESJ.js} +68 -62
  255. package/dist/{sync-UZJ7DOUA.js → sync-FRT55PVW.js} +15 -15
  256. package/dist/{synthesize-MDW4ZWTN.js → synthesize-FR5KPBRP.js} +4 -4
  257. package/dist/{telemetry-TFOEA2PM.js → telemetry-HAPPFR7P.js} +7 -7
  258. package/dist/{templates-2AHM5TZ3.js → templates-2IHYIWMA.js} +15 -15
  259. package/dist/{timeline-ZGV323MP.js → timeline-AY2F7BJF.js} +25 -25
  260. package/dist/{tokens-ERUFEWUA.js → tokens-B3G257V3.js} +2 -2
  261. package/dist/{transcribe-M5UZ2XFG.js → transcribe-EGQD32PT.js} +14 -14
  262. package/dist/{transcribe-6HLYS7NV.js → transcribe-RJCILGPA.js} +30 -30
  263. package/dist/{tts-IXX2HHHJ.js → tts-ZE776B4I.js} +1 -1
  264. package/dist/{update-JDVI2XTM.js → update-XTFIGQKW.js} +12 -11
  265. package/dist/{updateCheck-GDTYPXKO.js → updateCheck-M6YC52A4.js} +2 -2
  266. package/dist/{upgrade-SJKYBA4X.js → upgrade-AKLIZKAO.js} +5 -3
  267. package/dist/{urlDownloader-2QCNXXUG.js → urlDownloader-57A7Q7FC.js} +9 -9
  268. package/dist/{validate-IUTHTA2N.js → validate-YWSXJL54.js} +32 -32
  269. package/dist/{video-4BJ7WHI2.js → video-I5DDNK3Y.js} +12 -12
  270. package/dist/{voices-UDSFBPZX.js → voices-IBMJU73H.js} +24 -24
  271. package/dist/warmCheck.js +50 -50
  272. package/dist/warmCheckClient.js +1 -1
  273. package/package.json +1 -1
  274. package/dist/chunk-2X4PQEYM.js +0 -34
  275. package/dist/deploy-EB3FS2BT.js +0 -361
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-JJ47LVJ7.js";
19
19
  import {
20
20
  trackSkillsInstallSkipped
21
- } from "./chunk-OJSOH2LS.js";
21
+ } from "./chunk-2W4VQ3YZ.js";
22
22
  import {
23
23
  diag
24
24
  } from "./chunk-MCDNAIFF.js";
@@ -39,11 +39,11 @@ import {
39
39
  isCoreSkill,
40
40
  presentSkills,
41
41
  retiredSkillNotice
42
- } from "./chunk-44VR2CWT.js";
42
+ } from "./chunk-WLNQAJQC.js";
43
43
  import {
44
44
  NO_UPDATE_NOTICE,
45
45
  withMeta
46
- } from "./chunk-RLYYA6IR.js";
46
+ } from "./chunk-34S7GYVK.js";
47
47
  import {
48
48
  failureMessage,
49
49
  jsonFailure
@@ -54,10 +54,12 @@ import {
54
54
  } from "./chunk-66W5IWLO.js";
55
55
  import {
56
56
  VERSION
57
- } from "./chunk-CP4FVXKZ.js";
57
+ } from "./chunk-LHFBKUVY.js";
58
58
 
59
59
  // src/commands/skills.ts
60
60
  import { execFileSync, spawn } from "child_process";
61
+ import { homedir as homedir2, tmpdir } from "os";
62
+ import { existsSync as existsSync2 } from "fs";
61
63
 
62
64
  // src/utils/skillsMirror.ts
63
65
  import {
@@ -342,10 +344,14 @@ var examples = [
342
344
  ["Update the core set + everything already installed", "hyperframes skills update"],
343
345
  ["Also install one on-demand skill", "hyperframes skills update slideshow"]
344
346
  ];
347
+ function npxCwd() {
348
+ const home = homedir2();
349
+ return existsSync2(home) ? home : tmpdir();
350
+ }
345
351
  function hasNpx() {
346
352
  const npx = buildNpxCommand(["--version"]);
347
353
  try {
348
- execFileSync(npx.command, npx.args, { stdio: "ignore", timeout: 5e3 });
354
+ execFileSync(npx.command, npx.args, { stdio: "ignore", timeout: 5e3, cwd: npxCwd() });
349
355
  return true;
350
356
  } catch {
351
357
  return false;
@@ -360,7 +366,7 @@ function hasGit() {
360
366
  return false;
361
367
  }
362
368
  }
363
- function spawnNpx(args, opts = {}) {
369
+ function spawnNpx(args) {
364
370
  const npx = buildNpxCommand(args);
365
371
  return new Promise((resolve2, reject) => {
366
372
  const child = spawn(npx.command, npx.args, {
@@ -374,7 +380,7 @@ function spawnNpx(args, opts = {}) {
374
380
  // path that bypasses the laggy skills.sh blob — see GLOBAL_INSTALL_ARGS_TAIL),
375
381
  // which is heavier than the blob fetch, so allow more headroom.
376
382
  timeout: 3e5,
377
- cwd: opts.cwd,
383
+ cwd: npxCwd(),
378
384
  env: {
379
385
  ...process.env,
380
386
  // GH #316 — the upstream `skills` CLI shells out to `git clone`. When
@@ -413,11 +419,14 @@ function skillSelectionArgs(selection) {
413
419
  return names.flatMap((name) => ["--skill", name]);
414
420
  }
415
421
  var SKILLS_CLI = "skills@1.5.13";
416
- function runSkillsAdd(source, selection, opts = {}) {
417
- return spawnNpx(
418
- [SKILLS_CLI, "add", source, ...skillSelectionArgs(selection), ...GLOBAL_INSTALL_ARGS_TAIL],
419
- opts
420
- );
422
+ function runSkillsAdd(source, selection) {
423
+ return spawnNpx([
424
+ SKILLS_CLI,
425
+ "add",
426
+ source,
427
+ ...skillSelectionArgs(selection),
428
+ ...GLOBAL_INSTALL_ARGS_TAIL
429
+ ]);
421
430
  }
422
431
  var PLAIN_SKILL_NAME = /^[a-z0-9][a-z0-9._-]*$/i;
423
432
  var SOURCES = [{ name: "HyperFrames", url: "https://github.com/heygen-com/hyperframes" }];
@@ -488,7 +497,7 @@ async function installSkills(selection, opts) {
488
497
  diag.notice(c.bold(`Installing ${source.name} skills...`));
489
498
  diag.notice();
490
499
  try {
491
- await runSkillsAdd(ref === "main" ? source.url : `${source.url}#${ref}`, safeSelection, opts);
500
+ await runSkillsAdd(ref === "main" ? source.url : `${source.url}#${ref}`, safeSelection);
492
501
  } catch (err) {
493
502
  if (opts.strict) throw err instanceof Error ? err : new Error(String(err));
494
503
  diag.warn(c.dim(`${source.name} skills skipped`));
@@ -556,7 +565,7 @@ async function updateSkills(opts = {}) {
556
565
  retired
557
566
  };
558
567
  if (toInstall.length > 0) {
559
- await installSkills(result.installed, { cwd: opts.cwd, strict, ref: check.ref ?? "main" });
568
+ await installSkills(result.installed, { strict, ref: check.ref ?? "main" });
560
569
  verifyInstalled(result.targets, { strict, cwd: opts.cwd });
561
570
  }
562
571
  invalidateSkillsCache();
@@ -595,7 +604,6 @@ async function updateSkillsOffline(requested, opts) {
595
604
  );
596
605
  if (absent.length > 0) {
597
606
  await installSkills(absent, {
598
- cwd: opts.cwd,
599
607
  strict: opts.strict,
600
608
  ref: cliReleaseTag(opts.cliVersion) ?? "main"
601
609
  });
@@ -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-IEXRKKHC.js";
9
+ } from "./chunk-IEEIPTDW.js";
10
10
 
11
11
  // src/utils/writeNewFile.ts
12
12
  function writeNewFileSync(filePath, content) {
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-JJ47LVJ7.js";
16
16
  import {
17
17
  findFFmpeg
18
- } from "./chunk-O7ZX5DHD.js";
18
+ } from "./chunk-5FFYMVRD.js";
19
19
  import {
20
20
  stoppableExecFile
21
21
  } from "./chunk-HU2SPFNG.js";
@@ -131,6 +131,21 @@ function findFromSystem() {
131
131
  }
132
132
  var BUILD_DIR = hyperframesCacheDir("whisper", "whisper.cpp");
133
133
  var WHISPER_REPO = "https://github.com/ggml-org/whisper.cpp.git";
134
+ var WHISPER_TAG = "v1.9.5";
135
+ var WHISPER_COMMIT = "d1be6fde11ac6e0407606b4e42fe72d34add8037";
136
+ function assertPinnedCheckout() {
137
+ const head = execFileSync("git", ["rev-parse", "HEAD"], {
138
+ cwd: BUILD_DIR,
139
+ encoding: "utf-8",
140
+ stdio: ["ignore", "pipe", "ignore"],
141
+ timeout: 1e4
142
+ }).trim();
143
+ if (head === WHISPER_COMMIT) return;
144
+ rmSync(BUILD_DIR, { recursive: true, force: true });
145
+ throw new Error(
146
+ `whisper.cpp ${WHISPER_TAG} resolved to commit ${head}, not the reviewed ${WHISPER_COMMIT}; refusing to build it`
147
+ );
148
+ }
134
149
  function findBuiltBinary() {
135
150
  const exe = platform() === "win32" ? ".exe" : "";
136
151
  for (const p of [
@@ -149,13 +164,18 @@ async function buildFromSource(onProgress, signal) {
149
164
  if (!existsSync(BUILD_DIR)) {
150
165
  onProgress?.("Downloading whisper.cpp...");
151
166
  mkdirSync(BUILD_DIR, { recursive: true });
152
- await stoppableExecFile("git", ["clone", "--depth", "1", WHISPER_REPO, "."], {
153
- cwd: BUILD_DIR,
154
- stdio: "ignore",
155
- timeout: 6e4,
156
- env: { ...process.env, GIT_TERMINAL_PROMPT: "0" },
157
- signal
158
- });
167
+ await stoppableExecFile(
168
+ "git",
169
+ ["clone", "--depth", "1", "--branch", WHISPER_TAG, WHISPER_REPO, "."],
170
+ {
171
+ cwd: BUILD_DIR,
172
+ stdio: "ignore",
173
+ timeout: 6e4,
174
+ env: { ...process.env, GIT_TERMINAL_PROMPT: "0" },
175
+ signal
176
+ }
177
+ );
178
+ assertPinnedCheckout();
159
179
  }
160
180
  onProgress?.("Building whisper.cpp (this may take a minute)...");
161
181
  try {
@@ -6,16 +6,16 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType
9
- } from "./chunk-FKW5FP4C.js";
9
+ } from "./chunk-EXW2LV4K.js";
10
10
  import {
11
11
  openRangeEnd
12
- } from "./chunk-VEIGTKYZ.js";
12
+ } from "./chunk-64F653HO.js";
13
13
  import {
14
14
  stripSdrPngColourTags
15
- } from "./chunk-OBRKDUCE.js";
15
+ } from "./chunk-YIE5FU73.js";
16
16
  import {
17
17
  injectTagsAtHeadStart
18
- } from "./chunk-ELWX6CAA.js";
18
+ } from "./chunk-YAZQBB2S.js";
19
19
 
20
20
  // src/utils/compositionServer.ts
21
21
  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
  writeCaptureFileSync
9
- } from "./chunk-SWOAB4GM.js";
9
+ } from "./chunk-77UB5EHM.js";
10
10
  import {
11
11
  loadSharp
12
12
  } from "./chunk-NL4RCLQF.js";
@@ -7,15 +7,15 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ambiguousIssue,
9
9
  loadBrowserScript
10
- } from "./chunk-KKUBMYCY.js";
10
+ } from "./chunk-KXOKZJBZ.js";
11
11
  import {
12
12
  auditClipDurations,
13
13
  shouldIgnoreHttpError,
14
14
  shouldIgnoreRequestFailure
15
- } from "./chunk-OZNJ2QD5.js";
15
+ } from "./chunk-D7NNNL2K.js";
16
16
  import {
17
17
  serveStaticProjectHtml
18
- } from "./chunk-Q77TZ76B.js";
18
+ } from "./chunk-6MTSP2XE.js";
19
19
  import {
20
20
  AUDIT_SEEK_OPTIONS,
21
21
  DEFAULT_ZOOM_PADDING_PX,
@@ -29,22 +29,22 @@ import {
29
29
  seekCompositionTimeline,
30
30
  seekInPage,
31
31
  waitForPreferredSeekTarget
32
- } from "./chunk-RLQOYHXT.js";
32
+ } from "./chunk-LJMTEZOP.js";
33
33
  import {
34
34
  SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
35
35
  withRemainingBudget
36
36
  } from "./chunk-YGGZ23BB.js";
37
37
  import {
38
38
  findStageProxyBox
39
- } from "./chunk-RBECDLMQ.js";
39
+ } from "./chunk-LBQQNNRC.js";
40
40
  import {
41
41
  STUDIO_PREVIEW_CAPTURE_MODE,
42
42
  STUDIO_PREVIEW_MARK_META
43
- } from "./chunk-FKW5FP4C.js";
43
+ } from "./chunk-EXW2LV4K.js";
44
44
  import {
45
45
  artifactDirectory,
46
46
  finishSnapshotRun
47
- } from "./chunk-VPPJIWVG.js";
47
+ } from "./chunk-XDRSEU2I.js";
48
48
  import {
49
49
  FfmpegUnavailableError,
50
50
  decideMediaProxyEligibility,
@@ -54,21 +54,21 @@ import {
54
54
  resolveProxies,
55
55
  scanProjectMediaCodecMap,
56
56
  shouldPrewarmProxy
57
- } from "./chunk-FK3KV32T.js";
57
+ } from "./chunk-H7AJLEBR.js";
58
58
  import {
59
59
  BrowserCleanupError,
60
60
  closeManagedBrowser,
61
61
  onStopSignal
62
- } from "./chunk-AQJA7TAQ.js";
62
+ } from "./chunk-3PHCFSPD.js";
63
63
  import {
64
64
  resolveAutoProxy
65
- } from "./chunk-J5LQW6VB.js";
65
+ } from "./chunk-KFXHBP2E.js";
66
66
  import {
67
67
  DEFAULT_CONFIG
68
- } from "./chunk-R5U5PFDJ.js";
68
+ } from "./chunk-EJPWGGPK.js";
69
69
  import {
70
70
  injectTagsAtHeadStart
71
- } from "./chunk-ELWX6CAA.js";
71
+ } from "./chunk-YAZQBB2S.js";
72
72
  import {
73
73
  parseHTML
74
74
  } from "./chunk-GWTIFRF5.js";
@@ -928,7 +928,7 @@ function proxyFailedDraft(message) {
928
928
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
929
929
  }
930
930
  async function loadCheckHtmlWithDeferredMedia(dir) {
931
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-XLFSHMET.js");
931
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-RAD7BNJF.js");
932
932
  return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
933
933
  }
934
934
  function withCapturePreviewMark(html) {
@@ -1001,7 +1001,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
1001
1001
  ).map((draft) => runtimeFinding(draft, rootAnchor))
1002
1002
  }));
1003
1003
  const launchSettleMs = Date.now() - launchSettleStart;
1004
- const { analyzeClipMediaFit } = await import("./src-C43KUEBY.js");
1004
+ const { analyzeClipMediaFit } = await import("./src-HHPRCLEW.js");
1005
1005
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
1006
1006
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
1007
1007
  }
@@ -1143,7 +1143,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
1143
1143
  async function captureFindingFrames(project, options, requests, deadline) {
1144
1144
  if (requests.length === 0) return { written: [], inspected: [] };
1145
1145
  const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
1146
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-XLFSHMET.js");
1146
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-RAD7BNJF.js");
1147
1147
  return withCapturePreviewMark(
1148
1148
  await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
1149
1149
  );
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  cliCheckoutLink,
9
9
  pageUrl
10
- } from "./chunk-ZOOY4LEZ.js";
10
+ } from "./chunk-M6LAGO6O.js";
11
11
  import {
12
12
  Fix
13
- } from "./chunk-SCWMPY3F.js";
13
+ } from "./chunk-2NMBD5AH.js";
14
14
  import {
15
15
  refreshIfNeeded,
16
16
  resolveCloudAuthHeaders,
@@ -11,11 +11,11 @@ import {
11
11
  } from "./chunk-TSYRN646.js";
12
12
  import {
13
13
  fetchLocalPageUrl
14
- } from "./chunk-BCMR6DE4.js";
14
+ } from "./chunk-SFPIVVUE.js";
15
15
  import {
16
16
  ensureCaptureDirSync,
17
17
  writeCaptureFileSync
18
- } from "./chunk-SWOAB4GM.js";
18
+ } from "./chunk-77UB5EHM.js";
19
19
  import {
20
20
  loadSharp
21
21
  } from "./chunk-NL4RCLQF.js";
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-AWDFDFI3.js";
26
26
  import {
27
27
  isBlockedNetworkHost
28
- } from "./chunk-R5U5PFDJ.js";
28
+ } from "./chunk-EJPWGGPK.js";
29
29
  import {
30
30
  DOMParser,
31
31
  parseHTML
@@ -7,7 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeFirstFrameColour,
9
9
  probeMediaMetadata
10
- } from "./chunk-BJSUKOWW.js";
10
+ } from "./chunk-3R2X2VKB.js";
11
+ import {
12
+ isLinkFreeWithinProject
13
+ } from "./chunk-WXOOAAT4.js";
11
14
  import {
12
15
  alphaDecoderFor
13
16
  } from "./chunk-5S7W3TUO.js";
@@ -15,12 +18,12 @@ import {
15
18
  formatPreviewProxyBox,
16
19
  hdrToSdrToneMapFilter,
17
20
  isHeavyForPreview
18
- } from "./chunk-HM3PIREE.js";
21
+ } from "./chunk-3367VNGK.js";
19
22
  import {
20
23
  mkdirWithinProject,
21
24
  realProjectRoot,
22
25
  realpath
23
- } from "./chunk-OFQWTKPW.js";
26
+ } from "./chunk-HZTRKUKE.js";
24
27
  import {
25
28
  cleanAssetUrl,
26
29
  isRemoteOrInlineUrl,
@@ -29,16 +32,16 @@ import {
29
32
  } from "./chunk-WVRAFHJU.js";
30
33
  import {
31
34
  findFfBinary
32
- } from "./chunk-HYRPH6LL.js";
35
+ } from "./chunk-KRWPTZBY.js";
33
36
  import {
34
37
  rewriteAssetPath
35
38
  } from "./chunk-6MKM2RVL.js";
36
39
  import {
37
40
  decodeAuthoredAttribute,
38
41
  scanHtmlOpeningTags
39
- } from "./chunk-IOPIOX5K.js";
42
+ } from "./chunk-N7C7U3ZR.js";
40
43
 
41
- // ../studio-server/dist/chunk-UBOFRR6H.js
44
+ // ../studio-server/dist/chunk-F2JF3W3V.js
42
45
  import { statSync } from "fs";
43
46
  import { sep } from "path";
44
47
  import { spawn } from "child_process";
@@ -266,7 +269,7 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
266
269
  return (await scanProjectMedia(projectDir, htmlSources, options)).codecMap;
267
270
  }
268
271
 
269
- // ../studio-server/dist/chunk-POKRV543.js
272
+ // ../studio-server/dist/chunk-FA5XDTP3.js
270
273
  import { spawn as spawn2 } from "child_process";
271
274
  import { randomUUID } from "crypto";
272
275
  import {
@@ -279,9 +282,9 @@ import {
279
282
  writeFileSync as writeFileSync2
280
283
  } from "fs";
281
284
  import os, { availableParallelism, tmpdir, totalmem } from "os";
282
- import { basename as basename3, dirname as dirname3, extname as extname4, isAbsolute, join as join4, relative, resolve, sep as sep2 } from "path";
285
+ import { basename as basename3, dirname as dirname4, extname as extname4, isAbsolute, join as join4, relative, resolve, sep as sep2 } from "path";
283
286
  import { existsSync, readdirSync, statSync as statSync2, unlinkSync } from "fs";
284
- import { extname, join } from "path";
287
+ import { dirname, extname, join } from "path";
285
288
  import { createHash } from "crypto";
286
289
  import {
287
290
  closeSync,
@@ -293,7 +296,7 @@ import {
293
296
  statSync as statSync22,
294
297
  writeFileSync
295
298
  } from "fs";
296
- import { basename, dirname, extname as extname2, join as join2 } from "path";
299
+ import { basename, dirname as dirname2, extname as extname2, join as join2 } from "path";
297
300
  import {
298
301
  closeSync as closeSync2,
299
302
  existsSync as existsSync3,
@@ -304,7 +307,7 @@ import {
304
307
  statSync as statSync3,
305
308
  writeSync
306
309
  } from "fs";
307
- import { basename as basename2, dirname as dirname2, extname as extname3, join as join3 } from "path";
310
+ import { basename as basename2, dirname as dirname3, extname as extname3, join as join3 } from "path";
308
311
  var DEFAULT_MAX_BYTES = 10 * 1024 * 1024 * 1024;
309
312
  var DEFAULT_STALE_TEMP_MS = 60 * 60 * 1e3;
310
313
  var DEFAULT_MIN_SWEEP_INTERVAL_MS = 5 * 60 * 1e3;
@@ -401,7 +404,7 @@ function cleanupProxyCache(cacheDir, options = {}) {
401
404
  if (shouldSkipSweep(cacheDir, now, minSweepIntervalMs)) {
402
405
  return { removed: [], bytesBefore: 0, bytesAfter: 0, skipped: true };
403
406
  }
404
- if (!existsSync(cacheDir)) {
407
+ if (!existsSync(cacheDir) || !isLinkFreeWithinProject(dirname(cacheDir), cacheDir)) {
405
408
  return { removed: [], bytesBefore: 0, bytesAfter: 0, skipped: false };
406
409
  }
407
410
  const maxBytes = options.maxBytes ?? defaults.maxBytes;
@@ -459,7 +462,7 @@ function sourceSizeBytes(sourcePath) {
459
462
  }
460
463
  }
461
464
  function fastIndexPath(cachePath) {
462
- return join2(dirname(cachePath), `.fast-${basename(cachePath, extname2(cachePath))}`);
465
+ return join2(dirname2(cachePath), `.fast-${basename(cachePath, extname2(cachePath))}`);
463
466
  }
464
467
  function contentIndexPath(cacheDir, contentKey) {
465
468
  return join2(cacheDir, `.content-${contentKey}`);
@@ -467,7 +470,7 @@ function contentIndexPath(cacheDir, contentKey) {
467
470
  function readCopyIndex(indexPath) {
468
471
  try {
469
472
  const name = readFileSync(indexPath, "utf8").trim();
470
- const target = join2(dirname(indexPath), name);
473
+ const target = join2(dirname2(indexPath), name);
471
474
  return COPY_NAME.test(name) && existsSync2(target) ? target : null;
472
475
  } catch {
473
476
  return null;
@@ -479,7 +482,7 @@ function writeCopyIndex(indexPath, copyPath) {
479
482
  var POLL_MS = 500;
480
483
  var UNREADABLE_LOCK_MS = 1e4;
481
484
  function lockPathFor(cachePath) {
482
- return join3(dirname2(cachePath), `.lock-${basename2(cachePath)}`);
485
+ return join3(dirname3(cachePath), `.lock-${basename2(cachePath)}`);
483
486
  }
484
487
  var CopyLockStalledError = class extends Error {
485
488
  constructor(copy, stallMs) {
@@ -494,9 +497,9 @@ function lastActivityMs(cachePath, lockPath) {
494
497
  const stem = basename2(cachePath, extname3(cachePath));
495
498
  const mine = (file) => file === basename2(lockPath) || file.startsWith(".tmp-") && (file.endsWith(`-${name}`) || file.includes(`-.part-${stem}-`)) || file.startsWith(`.part-${stem}-`);
496
499
  let newest = 0;
497
- for (const file of readdirSync2(dirname2(cachePath))) {
500
+ for (const file of readdirSync2(dirname3(cachePath))) {
498
501
  if (!mine(file)) continue;
499
- const changed = statSync3(join3(dirname2(cachePath), file), { throwIfNoEntry: false })?.mtimeMs;
502
+ const changed = statSync3(join3(dirname3(cachePath), file), { throwIfNoEntry: false })?.mtimeMs;
500
503
  newest = Math.max(newest, changed ?? 0);
501
504
  }
502
505
  return newest;
@@ -904,7 +907,7 @@ async function encodeInChunks(ranges, chunkPrefix, tempPath, encode, concat, sig
904
907
  const index = pending[cursor++];
905
908
  const range = ranges[index];
906
909
  const piece = pieces[index];
907
- const pieceTemp = join4(dirname3(piece), `.tmp-${randomUUID()}-${basename3(piece)}`);
910
+ const pieceTemp = join4(dirname4(piece), `.tmp-${randomUUID()}-${basename3(piece)}`);
908
911
  try {
909
912
  await encode(pieceTemp, range, pieceSignal, (encodedSeconds) => {
910
913
  inFlight2.set(index, encodedSeconds);
@@ -1183,7 +1186,7 @@ async function transcodeToCache(job, projectDir, absoluteSourcePath, cachePath,
1183
1186
  await acquireSlot(job);
1184
1187
  try {
1185
1188
  if (existsSync4(cachePath)) return cachePath;
1186
- const cacheDir = dirname3(cachePath);
1189
+ const cacheDir = dirname4(cachePath);
1187
1190
  mkdirWithinProject(projectDir, cacheDir);
1188
1191
  const contentIndex = contentIndexPath(
1189
1192
  cacheDir,
@@ -1259,7 +1262,7 @@ async function resolveProxy(projectDir, absoluteSourcePath, variant = "h264", bo
1259
1262
  const cachePath = getCanonicalProxyCachePath(source, variant, box, options.limitSeconds);
1260
1263
  if (existsSync4(cachePath)) {
1261
1264
  markCacheEntryUsed(cachePath);
1262
- maintainProxyCache(dirname3(cachePath));
1265
+ maintainProxyCache(dirname4(cachePath));
1263
1266
  return cachePath;
1264
1267
  }
1265
1268
  const rememberedFailure = failedTranscodes.get(cachePath);
@@ -1318,7 +1321,7 @@ async function resolveProxies(projectDir, sources, onSettled = () => {
1318
1321
  const first = sources[0];
1319
1322
  if (first) {
1320
1323
  maintainProxyCache(
1321
- dirname3(getProxyCachePath(projectDir, first.sourcePath, first.variant)),
1324
+ dirname4(getProxyCachePath(projectDir, first.sourcePath, first.variant)),
1322
1325
  Math.min(
1323
1326
  Number(process.env.HYPERFRAMES_PROXY_CACHE_STALE_TEMP_MS) || UNTOUCHED_TEMP_IS_DEAD_MS,
1324
1327
  UNTOUCHED_TEMP_IS_DEAD_MS
@@ -1370,8 +1373,8 @@ async function makeStill(source, at, box, cachePath) {
1370
1373
  false,
1371
1374
  box
1372
1375
  );
1373
- mkdirWithinProject(source.projectDir, dirname3(cachePath));
1374
- const tempPath = join4(dirname3(cachePath), `.tmp-${randomUUID()}-${basename3(cachePath)}`);
1376
+ mkdirWithinProject(source.projectDir, dirname4(cachePath));
1377
+ const tempPath = join4(dirname4(cachePath), `.tmp-${randomUUID()}-${basename3(cachePath)}`);
1375
1378
  try {
1376
1379
  const args = ["-y", "-ss", String(at), "-i", source.sourcePath, "-map", "0:V:0"];
1377
1380
  args.push("-frames:v", "1", "-vf", filter, "-pix_fmt", "yuvj420p", "-q:v", "3", tempPath);
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-LIWK3MFR.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-OJSOH2LS.js";
12
+ } from "./chunk-2W4VQ3YZ.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-66W5IWLO.js";
@@ -6,18 +6,18 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeAudioTrack
9
- } from "./chunk-BJSUKOWW.js";
9
+ } from "./chunk-3R2X2VKB.js";
10
10
  import {
11
11
  resolveWithinProject
12
- } from "./chunk-ALVXFXUG.js";
12
+ } from "./chunk-WXOOAAT4.js";
13
13
  import {
14
14
  MAX_AUDIO_GAIN_DB,
15
15
  formatAudioGain,
16
16
  isAudibleVideoElement
17
- } from "./chunk-ELWX6CAA.js";
17
+ } from "./chunk-YAZQBB2S.js";
18
18
  import {
19
19
  findFfBinary
20
- } from "./chunk-HYRPH6LL.js";
20
+ } from "./chunk-KRWPTZBY.js";
21
21
  import {
22
22
  decodeWellFormedEscapes,
23
23
  decodedUrlPath,
@@ -25,9 +25,9 @@ import {
25
25
  } from "./chunk-6MKM2RVL.js";
26
26
  import {
27
27
  decodeAuthoredAttribute
28
- } from "./chunk-IOPIOX5K.js";
28
+ } from "./chunk-N7C7U3ZR.js";
29
29
 
30
- // ../studio-server/dist/chunk-6NHWQWUJ.js
30
+ // ../studio-server/dist/chunk-BSG6WWNJ.js
31
31
  import { execFile } from "child_process";
32
32
  import { isAbsolute, relative, resolve } from "path";
33
33
  import { promisify } from "util";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-KAHWO4XC.js";
10
+ } from "./chunk-YMIEJZB6.js";
11
11
  import {
12
12
  findParakeet
13
13
  } from "./chunk-JZIEZCQM.js";
@@ -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 (; ; ) {
@@ -9,14 +9,14 @@ import {
9
9
  KOKORO_PIP,
10
10
  MUSICGEN_MODULES,
11
11
  MUSICGEN_PIP
12
- } from "./chunk-SHOE3UR6.js";
12
+ } from "./chunk-SVI2CJ6R.js";
13
13
  import {
14
14
  describeRejectedPythonOverride,
15
15
  hasPythonModules
16
- } from "./chunk-J3OVTOVC.js";
16
+ } from "./chunk-CHJGVW5W.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-RCWPVC4M.js";
19
+ } from "./chunk-P5E3RHW3.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-JCNPHRGX.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-R5U5PFDJ.js";
32
+ } from "./chunk-EJPWGGPK.js";
33
33
  import {
34
34
  getFreeDiskMb,
35
35
  getShmSizeMb,
@@ -44,14 +44,14 @@ import {
44
44
  runningInstall,
45
45
  updateCommandFor,
46
46
  withMeta
47
- } from "./chunk-RLYYA6IR.js";
47
+ } from "./chunk-34S7GYVK.js";
48
48
  import {
49
49
  CONFIG_PATH,
50
50
  withFileLock
51
51
  } from "./chunk-AWD2MWWL.js";
52
52
  import {
53
53
  VERSION
54
- } from "./chunk-CP4FVXKZ.js";
54
+ } from "./chunk-LHFBKUVY.js";
55
55
  import {
56
56
  normalizeErrorMessage
57
57
  } from "./chunk-E63BDV4Z.js";
@@ -249,7 +249,7 @@ function checkEnvironment() {
249
249
  return { ok: true, detail: parts.join(" \xB7 ") };
250
250
  }
251
251
  async function checkWhisper() {
252
- const { findWhisper, getInstallInstructions } = await import("./manager-F6WI43DQ.js");
252
+ const { findWhisper, getInstallInstructions } = await import("./manager-FICBET24.js");
253
253
  const result = findWhisper();
254
254
  if (result) {
255
255
  return { ok: true, detail: result.executablePath };
@@ -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";