hyperframes 0.9.32 → 0.9.34

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 (303) hide show
  1. package/bin/hyperframes.mjs +10 -0
  2. package/dist/{add-HYI4YJC5.js → add-NBOJ2UA3.js} +18 -17
  3. package/dist/{agentPromptGenerator-JAQNBEUZ.js → agentPromptGenerator-3JOLQXTX.js} +11 -11
  4. package/dist/{animatedGifPrep-DVYRCZVR.js → animatedGifPrep-VI5CFYCR.js} +10 -10
  5. package/dist/api.js +49 -48
  6. package/dist/{appHistory-WZIHFCPK.js → appHistory-535MKSWI.js} +2 -2
  7. package/dist/{asset-7FG3M3FQ.js → asset-NYULKN5A.js} +2 -2
  8. package/dist/{assetCataloger-QDQZYHUC.js → assetCataloger-AWJMEMX7.js} +12 -12
  9. package/dist/{audio-R6ZG62DU.js → audio-QN5YYFOA.js} +31 -30
  10. package/dist/{auth-IPDYZXOG.js → auth-LHUBRGIH.js} +4 -4
  11. package/dist/{autoUpdate-GAEDDZRN.js → autoUpdate-5M3JGEFS.js} +3 -3
  12. package/dist/{avatars-A45VFUZ4.js → avatars-DAB2KILV.js} +19 -18
  13. package/dist/{backgroundChecks-US74BS6V.js → backgroundChecks-3NQOCEDM.js} +4 -4
  14. package/dist/backgroundChecksWorker.js +4 -4
  15. package/dist/{batchRender-VBSYVQA7.js → batchRender-EPRIJZVT.js} +4 -4
  16. package/dist/{beats-UPJ3KANG.js → beats-ZCPQEIFG.js} +14 -14
  17. package/dist/{benchmark-2RWYJGL2.js → benchmark-7OVOBGQX.js} +11 -11
  18. package/dist/{billing-MD66MJTA.js → billing-7K6S23FP.js} +19 -18
  19. package/dist/{browser-JXCS62NX.js → browser-CP76THCA.js} +10 -9
  20. package/dist/{bundleWithLocalizedFonts-RAD7BNJF.js → bundleWithLocalizedFonts-MRCRI676.js} +1 -1
  21. package/dist/{capture-M6DT5WZT.js → capture-B4B72PIK.js} +4 -4
  22. package/dist/{capture-DJ4WRP62.js → capture-VAE27MNW.js} +51 -31
  23. package/dist/{captureCompositionFrame-IRXG7ZFU.js → captureCompositionFrame-YAOQTG6R.js} +18 -18
  24. package/dist/{captureFile-Y2ZMB7HK.js → captureFile-P4BDKVJH.js} +2 -2
  25. package/dist/{catalog-GW45OWKU.js → catalog-TUZGNHN6.js} +18 -17
  26. package/dist/{catch-up-YKJQ4IYC.js → catch-up-GMUF3JXI.js} +11 -11
  27. package/dist/{check-7QTKMPGA.js → check-CHCV573Z.js} +51 -51
  28. package/dist/{checkAudio-7WHUYGUZ.js → checkAudio-JJZN37WT.js} +19 -19
  29. package/dist/{checkBrowser-USAOWTAF.js → checkBrowser-SK7GFN7U.js} +44 -44
  30. package/dist/{chunk-X6DWLN55.js → chunk-2HDVXVUA.js} +8 -4
  31. package/dist/{chunk-JMV63CNH.js → chunk-2JXJQ3ZQ.js} +2 -2
  32. package/dist/{chunk-6BI6URO2.js → chunk-2JZU6DYH.js} +5 -4
  33. package/dist/{chunk-SXOIG6VG.js → chunk-2OP5HU5S.js} +284 -192
  34. package/dist/{chunk-KRWPTZBY.js → chunk-3FQYFVWA.js} +99 -25
  35. package/dist/{chunk-G7NKYELQ.js → chunk-3K4THQHY.js} +4 -4
  36. package/dist/{chunk-SIRYW7SY.js → chunk-3P4OYIBA.js} +2 -2
  37. package/dist/{chunk-WTO4DHBH.js → chunk-3XJ42WUG.js} +1 -1
  38. package/dist/{chunk-XPT4GC6X.js → chunk-45IPAGED.js} +7 -7
  39. package/dist/{chunk-HWMNSWEA.js → chunk-4MVWA7NJ.js} +6 -6
  40. package/dist/{chunk-WAXPM7TK.js → chunk-4RPIEGL3.js} +2 -2
  41. package/dist/{chunk-6MTSP2XE.js → chunk-4TQS6ZSL.js} +7 -7
  42. package/dist/{chunk-5GXMZIQZ.js → chunk-4WXLBRT5.js} +31 -22
  43. package/dist/{chunk-YIE5FU73.js → chunk-4Y4VYZRO.js} +37 -3
  44. package/dist/{chunk-K72X2YXR.js → chunk-52CUHVEA.js} +4 -4
  45. package/dist/{chunk-TLUDJLBN.js → chunk-55I56MXF.js} +1 -1
  46. package/dist/{chunk-2T7EDEKE.js → chunk-5QPYUTV3.js} +8 -8
  47. package/dist/{chunk-WLNQAJQC.js → chunk-5SXAEHZT.js} +2 -2
  48. package/dist/{chunk-77UB5EHM.js → chunk-5WK76INI.js} +1 -1
  49. package/dist/{chunk-5VN7ZXJR.js → chunk-5ZTB6QIJ.js} +3 -3
  50. package/dist/{chunk-ZIYXPDKY.js → chunk-65PFUPLX.js} +1 -1
  51. package/dist/{chunk-LHFBKUVY.js → chunk-6FP6HBG4.js} +2 -2
  52. package/dist/{chunk-YCTWMO3G.js → chunk-6HG3XABE.js} +1 -1
  53. package/dist/{chunk-LJMTEZOP.js → chunk-6K5KVYOQ.js} +16 -16
  54. package/dist/{chunk-34S7GYVK.js → chunk-6OYPVALW.js} +15 -8
  55. package/dist/{chunk-G2XAFJ2B.js → chunk-74PKHC3W.js} +1 -1
  56. package/dist/{chunk-N6Y645MX.js → chunk-7C6K5WFB.js} +1 -1
  57. package/dist/{chunk-M6FNCANA.js → chunk-7E5HPNMD.js} +1 -1
  58. package/dist/{chunk-CHJGVW5W.js → chunk-7YBRRU5W.js} +4 -11
  59. package/dist/{chunk-2NMBD5AH.js → chunk-7YOJPNDT.js} +1 -1
  60. package/dist/{chunk-GCJRV7LU.js → chunk-A2YCAF35.js} +23 -37
  61. package/dist/{chunk-E5S4QMX7.js → chunk-AG6L5CUE.js} +2 -2
  62. package/dist/{chunk-SVI2CJ6R.js → chunk-AOTAYP5E.js} +1 -1
  63. package/dist/{chunk-VB3JZKMN.js → chunk-ASORF7UJ.js} +31 -10
  64. package/dist/{chunk-XB7HE2R5.js → chunk-AUM475MS.js} +3 -3
  65. package/dist/{chunk-7NDF2MO3.js → chunk-BAWGEGKD.js} +216 -344
  66. package/dist/{chunk-I3QXWJ7V.js → chunk-BDFD3C3V.js} +7 -7
  67. package/dist/{chunk-YAS347ZS.js → chunk-BLII22FU.js} +1 -1
  68. package/dist/{chunk-CMYUPVMI.js → chunk-BX4GM3IV.js} +2 -2
  69. package/dist/{chunk-D7NNNL2K.js → chunk-BZPRG5N5.js} +18 -18
  70. package/dist/{chunk-H4C3P2KV.js → chunk-C3TYMGWE.js} +3 -3
  71. package/dist/{chunk-6NNLDCX4.js → chunk-C62LSZVJ.js} +1 -1
  72. package/dist/{chunk-C5JKRCSG.js → chunk-CHCMXYER.js} +1 -1
  73. package/dist/{chunk-CKJDY6EK.js → chunk-DC7AOIHN.js} +1 -1
  74. package/dist/{chunk-GBIASKIH.js → chunk-DH34XRVW.js} +1 -1
  75. package/dist/{chunk-6SNGKC6B.js → chunk-DLBFLOEU.js} +1 -1
  76. package/dist/{chunk-LP7B3JLC.js → chunk-DMW5SSUN.js} +2 -1
  77. package/dist/{chunk-Z6X64P6C.js → chunk-DTM7HGP4.js} +6 -6
  78. package/dist/{chunk-2W4VQ3YZ.js → chunk-E53F4CP6.js} +2 -2
  79. package/dist/{chunk-3R2X2VKB.js → chunk-ECKXTBRB.js} +6 -4
  80. package/dist/{chunk-RCRUWNQ4.js → chunk-EDQF36I7.js} +3 -3
  81. package/dist/{chunk-GWSCUFGL.js → chunk-EWBLIDHD.js} +11 -9
  82. package/dist/{chunk-BMDABBHG.js → chunk-FEWHHDFA.js} +5 -17
  83. package/dist/{chunk-EBG5RCPM.js → chunk-FILLRGVO.js} +4 -4
  84. package/dist/{chunk-3HT3UGF2.js → chunk-FRY73NRV.js} +1 -1
  85. package/dist/{chunk-KAG5KXNO.js → chunk-FS4XHCSU.js} +1 -1
  86. package/dist/{chunk-GOMTMQRT.js → chunk-G6ME77PU.js} +1 -1
  87. package/dist/{chunk-GTHRXU37.js → chunk-GJB5VR44.js} +18 -18
  88. package/dist/{chunk-G6JLFSII.js → chunk-GXGGPZXD.js} +4 -4
  89. package/dist/chunk-H6323NVP.js +453 -0
  90. package/dist/chunk-HYTD4CIO.js +57 -0
  91. package/dist/{chunk-P7TCIUP2.js → chunk-I2GYLBJJ.js} +4 -4
  92. package/dist/{chunk-BA3EQ2KL.js → chunk-IVMYWHFE.js} +3 -3
  93. package/dist/{chunk-HDCVU64B.js → chunk-IX6BFRED.js} +3 -2
  94. package/dist/{chunk-W3HNLDK6.js → chunk-JJUVQYXL.js} +2 -2
  95. package/dist/{chunk-HXQDDCGY.js → chunk-JQATOGQQ.js} +2 -2
  96. package/dist/{chunk-2Z42EUHG.js → chunk-JVDYIUFD.js} +2 -2
  97. package/dist/{chunk-WVRAFHJU.js → chunk-K2Z6OXEI.js} +33 -5
  98. package/dist/{chunk-SFPIVVUE.js → chunk-K4TEEYGN.js} +2 -2
  99. package/dist/{chunk-KFXHBP2E.js → chunk-K5BPLZOP.js} +2 -2
  100. package/dist/{chunk-H7AJLEBR.js → chunk-K6EOKQ6J.js} +8 -8
  101. package/dist/{chunk-Y3YHDU7T.js → chunk-KCL77FXI.js} +1 -1
  102. package/dist/{chunk-PXDRW3QN.js → chunk-LB6VJTM4.js} +1 -1
  103. package/dist/{chunk-EXW2LV4K.js → chunk-LCQT4S43.js} +248 -62
  104. package/dist/chunk-M3BJEZ7E.js +152 -0
  105. package/dist/{chunk-N7C7U3ZR.js → chunk-M425BL2U.js} +22 -11
  106. package/dist/{chunk-3YNJAXA5.js → chunk-MOR3H5FK.js} +1 -1
  107. package/dist/{chunk-M6LAGO6O.js → chunk-NAKQS3EJ.js} +3 -3
  108. package/dist/{chunk-TTSLKH63.js → chunk-NMMPHHN7.js} +3 -3
  109. package/dist/{chunk-UWMOMAYI.js → chunk-O2S5HR7Y.js} +49 -12
  110. package/dist/{chunk-D6BV6TTI.js → chunk-OKN7E77Z.js} +1 -1
  111. package/dist/{chunk-XH6LGDIB.js → chunk-PDE6XAIJ.js} +4 -4
  112. package/dist/{chunk-4FTJE22M.js → chunk-PNBWAA3E.js} +2 -2
  113. package/dist/{chunk-AOQRVS63.js → chunk-PVHNBJCI.js} +9 -7
  114. package/dist/{chunk-3PHCFSPD.js → chunk-PWSTB75B.js} +2 -2
  115. package/dist/{chunk-PVSRPNIV.js → chunk-PXWPBLEN.js} +2 -2
  116. package/dist/{chunk-IEEIPTDW.js → chunk-PYZVKGW5.js} +1 -1
  117. package/dist/{chunk-5FFYMVRD.js → chunk-Q2G4ERQU.js} +2 -2
  118. package/dist/{chunk-YMIEJZB6.js → chunk-QDSALYDV.js} +4 -4
  119. package/dist/{chunk-ZLDYDO64.js → chunk-QUUZ2BGC.js} +6 -4
  120. package/dist/{chunk-XDRSEU2I.js → chunk-R3C62AP3.js} +4 -4
  121. package/dist/{chunk-L72MPEM2.js → chunk-RJJ5NVSQ.js} +1 -1
  122. package/dist/{chunk-KXOKZJBZ.js → chunk-RSQTFDMS.js} +13 -13
  123. package/dist/{chunk-6RFCS4IU.js → chunk-RYJXT2AS.js} +9 -7
  124. package/dist/{chunk-GJUL3PRV.js → chunk-S3HTROSO.js} +3 -3
  125. package/dist/{chunk-AZ2QJETV.js → chunk-SAIPA3QY.js} +1 -1
  126. package/dist/{chunk-4CSZZXL6.js → chunk-SDBFTY6V.js} +3 -3
  127. package/dist/{chunk-TZH6HNZH.js → chunk-SG4OW2HV.js} +2 -2
  128. package/dist/{chunk-AWT5FHTN.js → chunk-T4YI2YLF.js} +1 -1
  129. package/dist/{chunk-TVQNABOI.js → chunk-T7O62YTY.js} +1 -1
  130. package/dist/chunk-TDOJW7Z2.js +5053 -0
  131. package/dist/{chunk-3367VNGK.js → chunk-TGGYHFTP.js} +2 -2
  132. package/dist/{chunk-NNOAOQLT.js → chunk-TGK7LUEV.js} +2 -2
  133. package/dist/chunk-TLU5DPES.js +560 -0
  134. package/dist/{chunk-LXIEKLAC.js → chunk-TOLY2QK2.js} +6 -6
  135. package/dist/chunk-UFKWSLJ5.js +392 -0
  136. package/dist/{chunk-PXY3JZP2.js → chunk-UGWY7PFQ.js} +2 -2
  137. package/dist/{chunk-REJ4NIBY.js → chunk-VJSKNQTM.js} +1 -1
  138. package/dist/{chunk-NXSKZE3C.js → chunk-VW35U2LJ.js} +2 -2
  139. package/dist/{chunk-JZIEZCQM.js → chunk-VZO3BUTW.js} +5 -12
  140. package/dist/{chunk-TFBPCJPG.js → chunk-W6AXNWGE.js} +1 -1
  141. package/dist/{chunk-262ADJJN.js → chunk-WC2XQ4NR.js} +1 -1
  142. package/dist/{chunk-WXOOAAT4.js → chunk-WLB2D2OJ.js} +36 -4
  143. package/dist/{chunk-P5E3RHW3.js → chunk-WWT32C2M.js} +3 -3
  144. package/dist/{chunk-ADP2GIBS.js → chunk-XEUTASNL.js} +2 -2
  145. package/dist/{chunk-MYFAVVA6.js → chunk-YCXNWQ3B.js} +32 -32
  146. package/dist/{chunk-JHX76QFC.js → chunk-YMTLKSXO.js} +1 -1
  147. package/dist/{chunk-KG3TONXU.js → chunk-Z222HDGC.js} +9 -9
  148. package/dist/chunk-Z3ZLN5VR.js +3890 -0
  149. package/dist/{chunk-EJPWGGPK.js → chunk-Z64I7KJZ.js} +5340 -5087
  150. package/dist/{chunk-LBQQNNRC.js → chunk-ZWLFWYHR.js} +1 -1
  151. package/dist/{clean-MJBET4EN.js → clean-N7RLS5LN.js} +29 -29
  152. package/dist/cli.js +70 -68
  153. package/dist/{cloud-Z4Q76MLS.js → cloud-4PO7BA26.js} +8 -7
  154. package/dist/{cloud-WEDQYHZE.js → cloud-W3DHH6EB.js} +4 -4
  155. package/dist/{cloudrun-2KGSRAKA.js → cloudrun-YIAPIPOG.js} +7 -7
  156. package/dist/{compare-MJKWQOD7.js → compare-GCWIIUGY.js} +43 -43
  157. package/dist/{compiler-ETXRTUQC.js → compiler-L3BJI43E.js} +8 -6
  158. package/dist/{component-PZGKEJ6L.js → component-C4VYDMZ4.js} +3 -3
  159. package/dist/{compositions-N3FEEWH7.js → compositions-5P4BZQJA.js} +16 -16
  160. package/dist/{contactSheet-HZMP42FZ.js → contactSheet-ROMTQQ6Y.js} +3 -3
  161. package/dist/contract/LICENSE-Unicode.txt +39 -0
  162. package/dist/contract/path-policy.json +311 -0
  163. package/dist/contract/unicode-15.1.0.json +6179 -0
  164. package/dist/{curve-MWABBM7Q.js → curve-IMXKUBAO.js} +15 -15
  165. package/dist/{cuts-BQFSSNY7.js → cuts-PRBLX5HH.js} +16 -16
  166. package/dist/{delete-HPHGJABK.js → delete-QYWDRFO3.js} +11 -10
  167. package/dist/{deploy-JY2QOB5F.js → deploy-DGEPSTOJ.js} +7 -7
  168. package/dist/{describeProject-S6AGYZWL.js → describeProject-WS4TR7VF.js} +11 -11
  169. package/dist/{destroy-AZK7J4IR.js → destroy-2KSDD4KU.js} +6 -6
  170. package/dist/{deterministicFonts-2ZPRAI3C.js → deterministicFonts-D3HTAAN2.js} +3 -3
  171. package/dist/{diff-XDNFCAU4.js → diff-AAWRGZLX.js} +47 -46
  172. package/dist/{dist-6EE3Y4M7.js → dist-DJQRHSKZ.js} +4 -4
  173. package/dist/{dist-EYEYDD4F.js → dist-GJSMSEEL.js} +22 -18
  174. package/dist/{dist-TYGDYK56.js → dist-V2TLDLQL.js} +3 -3
  175. package/dist/{doctor-6IRSMKZD.js → doctor-CARXZUFN.js} +18 -18
  176. package/dist/{energy-VCJ2FJEF.js → energy-VMNGG2ND.js} +16 -16
  177. package/dist/{events-DNTIMCUM.js → events-4XIJRQIJ.js} +18 -18
  178. package/dist/{events-QQYBD7JM.js → events-LOPLHMOT.js} +4 -4
  179. package/dist/{events-M6A7BT3V.js → events-XX3DYSU4.js} +8 -8
  180. package/dist/execute-U7JKJERV.js +109 -0
  181. package/dist/{extract-X3IVXYHX.js → extract-KYFUTYDD.js} +19 -19
  182. package/dist/{face-MZHXKBDB.js → face-VQGUHRQL.js} +18 -18
  183. package/dist/{feedback-TAMGYFUO.js → feedback-UPWYWOQ3.js} +19 -18
  184. package/dist/{ffmpeg-XWPYYYB6.js → ffmpeg-RUOPT3JH.js} +10 -10
  185. package/dist/{figma-WMD7AR2S.js → figma-TO57RICW.js} +3 -3
  186. package/dist/fontLocalizeCli.js +16 -16
  187. package/dist/{frames-OU2UOLBU.js → frames-4Y3X474I.js} +18 -18
  188. package/dist/{generate-6F6QEFXW.js → generate-BPID6U7D.js} +32 -31
  189. package/dist/{get-VVDO7DXG.js → get-JIJ46VI5.js} +11 -10
  190. package/dist/{gpuPolicy-CVNSHXHJ.js → gpuPolicy-5ZJNSR7D.js} +10 -10
  191. package/dist/{grade-compare-O6LY2U73.js → grade-compare-YTBW7C65.js} +44 -44
  192. package/dist/{heifImagePrep-J6TILZTM.js → heifImagePrep-OL7KF7SH.js} +11 -11
  193. package/dist/{help-XLSTTDHR.js → help-QPV26QI5.js} +2 -1
  194. package/dist/{history-DBCCWBDG.js → history-7UVGTZT3.js} +14 -14
  195. package/dist/hyperframe.manifest.json +1 -1
  196. package/dist/hyperframe.runtime.iife.js +61 -61
  197. package/dist/hyperframes-player.global.js +1 -1
  198. package/dist/{info-E46BWAQ7.js → info-2VFXR7LJ.js} +18 -18
  199. package/dist/{init-23TG5W7S.js → init-JZ7CJQJE.js} +35 -35
  200. package/dist/{ink-6UFSNJRW.js → ink-SS7XOD7Y.js} +16 -16
  201. package/dist/{inspect-RKI6XACH.js → inspect-D5MBKDZZ.js} +41 -41
  202. package/dist/{installer-JWPK75BR.js → installer-UNC4BAFO.js} +7 -7
  203. package/dist/{keyframes-J65V5A2G.js → keyframes-7T2CVOM6.js} +14 -12
  204. package/dist/{lambda-RZSXXBJU.js → lambda-QVJFVSXL.js} +16 -16
  205. package/dist/{layout-RJQUOYWB.js → layout-5DF7VFWS.js} +41 -41
  206. package/dist/{lint-4TUHKKA2.js → lint-EWJHJKAI.js} +14 -14
  207. package/dist/{lintProject-R6RTBSCZ.js → lintProject-KBJU3L4C.js} +4 -4
  208. package/dist/{list-HOD2N4VS.js → list-DDLH5ZG5.js} +13 -12
  209. package/dist/{localPage-TC4NC3VL.js → localPage-MHAXFUGI.js} +11 -11
  210. package/dist/{login-NTOS3HKD.js → login-BJ4QUZT4.js} +8 -7
  211. package/dist/{logout-7SMEH7JL.js → logout-QGNBUJKS.js} +14 -5
  212. package/dist/{look-GC63E2I7.js → look-HNK2K33N.js} +16 -16
  213. package/dist/{manager-FICBET24.js → manager-FFLFDJZ6.js} +11 -11
  214. package/dist/{manager-IAXYSRG5.js → manager-VLO3FZC4.js} +2 -1
  215. package/dist/{measure-WTQCSQ55.js → measure-SE346MGF.js} +11 -11
  216. package/dist/{media-treatment-KTZ6X2P2.js → media-treatment-KYPDRIBT.js} +18 -18
  217. package/dist/{media-use-K75FDXJ3.js → media-use-OJZHSNTK.js} +21 -10
  218. package/dist/{models-JKOA542M.js → models-KWSHPDZ5.js} +15 -15
  219. package/dist/{motionShot-A3TYKTQU.js → motionShot-HEROABIE.js} +24 -24
  220. package/dist/{normalize-audio-7JUM42YB.js → normalize-audio-ZD5W37ZO.js} +14 -14
  221. package/dist/oauth-SAVP2YM4.js +40 -0
  222. package/dist/{open-F6GI4TRA.js → open-7B6HT4EX.js} +19 -19
  223. package/dist/{parakeetRunner-6XIAKJLS.js → parakeetRunner-5AKE7TBH.js} +19 -19
  224. package/dist/{pipeline-7P7LGGQG.js → pipeline-UTVSWC4X.js} +13 -13
  225. package/dist/plan-SQ63IXQC.js +88 -0
  226. package/dist/{play-DYOZLKWX.js → play-NYBFE3GW.js} +32 -32
  227. package/dist/{preflight-VM4HSRBY.js → preflight-T23WHZP3.js} +12 -12
  228. package/dist/{present-IINIEZJC.js → present-FX22552Q.js} +26 -26
  229. package/dist/{preview-NJO2UXWJ.js → preview-ULBNMDXD.js} +63 -39
  230. package/dist/{probe-LQQHFX5Q.js → probe-62Z5C6VC.js} +16 -16
  231. package/dist/{producer-LH2SZHJ2.js → producer-X3KFL4QM.js} +1 -1
  232. package/dist/{projectConfig-BLACFLUW.js → projectConfig-JQ4IDYTU.js} +10 -10
  233. package/dist/{publication-NFF2BXIE.js → publication-YNIJIR6O.js} +5 -5
  234. package/dist/{publish-JST5Y4UR.js → publish-7TIGC7RV.js} +91 -31
  235. package/dist/{refresh-47T6Z2PK.js → refresh-6ONVQ3WV.js} +4 -3
  236. package/dist/{remove-background-WUBESLWN.js → remove-background-F3BD6WXD.js} +14 -14
  237. package/dist/{render-DA4V7CEE.js → render-BL6CAORF.js} +6 -6
  238. package/dist/{render-4KWUUC5H.js → render-CDWBVWJP.js} +91 -957
  239. package/dist/{render-R4VNR4E2.js → render-EOQOD2TJ.js} +54 -53
  240. package/dist/{render-batch-JMPG4RLT.js → render-batch-PDY2PXUZ.js} +6 -6
  241. package/dist/renderSetupWorker.js +5 -5
  242. package/dist/{resolver-PNIFIDIE.js → resolver-VBAVCFEP.js} +7 -7
  243. package/dist/{reverse-4NI7D2C3.js → reverse-3E6HUX5S.js} +1 -1
  244. package/dist/{run-FWBIBLYE.js → run-77Z3DLIP.js} +8 -7
  245. package/dist/{screenshotCapture-KOLNFU7W.js → screenshotCapture-XWWCRLGM.js} +13 -13
  246. package/dist/service-LJZQKQT6.js +68 -0
  247. package/dist/share-2CNP22KN.js +274 -0
  248. package/dist/{sherpa-W3BMN67E.js → sherpa-NPTMMQHQ.js} +18 -18
  249. package/dist/sherpaWorker.js +2 -1
  250. package/dist/skills/hyperframes/references/plugin-installation.md +5 -2
  251. package/dist/skills/hyperframes/scripts/plugin-cli.mjs +20 -3
  252. package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +61 -3
  253. package/dist/skills/hyperframes-cli/SKILL.md +3 -3
  254. package/dist/skills/hyperframes-cli/references/doctor-browser.md +1 -1
  255. package/dist/skills/hyperframes-cli/references/preview-render.md +20 -0
  256. package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +6 -6
  257. package/dist/skills/media-use/audio/scripts/lib/tts.cleanup.test.mjs +12 -6
  258. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +25 -6
  259. package/dist/skills/media-use/audio/scripts/lib/tts.spawn.test.mjs +37 -12
  260. package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +54 -18
  261. package/dist/skills/media-use/references/audio.md +2 -0
  262. package/dist/skills/media-use/references/operations.md +2 -1
  263. package/dist/skills/media-use/scripts/lib/npx-sync.test.mjs +22 -31
  264. package/dist/skills/media-use/scripts/lib/tts-local-provider.mjs +16 -11
  265. package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +34 -78
  266. package/dist/skills/media-use/scripts/resolve-plugin.test.mjs +42 -18
  267. package/dist/skills/media-use/scripts/transcribe.test.mjs +60 -17
  268. package/dist/{skills-KQQVUFGO.js → skills-7MQBUOOX.js} +11 -11
  269. package/dist/{skillsUpdateCheck-VY5PS46S.js → skillsUpdateCheck-JAUXRXRH.js} +4 -4
  270. package/dist/{snapshot-VIEJQAUB.js → snapshot-D7DROQPF.js} +61 -61
  271. package/dist/{src-HHPRCLEW.js → src-26DWEOAT.js} +11 -9
  272. package/dist/{src-MQU5F7GJ.js → src-LJIVCW6M.js} +15 -15
  273. package/dist/{start-ZBNNVFMU.js → start-DF3U2VIG.js} +30 -29
  274. package/dist/{staticProjectServer-VPGZWJF4.js → staticProjectServer-NYH6MQHZ.js} +25 -25
  275. package/dist/{status-RBZJYT7T.js → status-5Q43GUYF.js} +26 -23
  276. package/dist/studio/assets/{codec-Bz1jsLs8.js → codec-OdIlx7W3.js} +1 -1
  277. package/dist/studio/assets/{hyperframes-player-cdH5Sz_t.js → hyperframes-player-XtPxZL3k.js} +1 -1
  278. package/dist/studio/assets/{index-dsfjBidg.css → index-BJTCbv8z.css} +1 -1
  279. package/dist/studio/assets/{index-D1l7izdf.js → index-DTU1D-zj.js} +166 -166
  280. package/dist/studio/assets/{index-DFRbcd5J.js → index-DWZWPFkU.js} +1 -1
  281. package/dist/studio/assets/{pausedVideoDecoder-CgV8YB6S.js → pausedVideoDecoder-NVr8gRm5.js} +1 -1
  282. package/dist/studio/index.html +2 -2
  283. package/dist/{studio-api-EPZGLIWW.js → studio-api-ZYCEQPX2.js} +22 -18
  284. package/dist/{studioServer-YFQQ2ESJ.js → studioServer-W4RX3B7S.js} +451 -71
  285. package/dist/{sync-FRT55PVW.js → sync-LLH2GSSC.js} +16 -16
  286. package/dist/{synthesize-FR5KPBRP.js → synthesize-4A5ENXNO.js} +4 -3
  287. package/dist/{telemetry-HAPPFR7P.js → telemetry-RIQIM2PH.js} +8 -8
  288. package/dist/{templates-2IHYIWMA.js → templates-4HVTWNKO.js} +22 -21
  289. package/dist/{timeline-AY2F7BJF.js → timeline-ITIMTT27.js} +25 -25
  290. package/dist/{tokens-B3G257V3.js → tokens-ABTBM6UA.js} +2 -2
  291. package/dist/{transcribe-RJCILGPA.js → transcribe-6BA2MP2Y.js} +37 -36
  292. package/dist/{transcribe-EGQD32PT.js → transcribe-6LDBHZCZ.js} +14 -14
  293. package/dist/{tts-ZE776B4I.js → tts-P77F523Z.js} +1 -1
  294. package/dist/{update-XTFIGQKW.js → update-ODXFCK36.js} +13 -13
  295. package/dist/{updateCheck-M6YC52A4.js → updateCheck-E4U776B4.js} +5 -3
  296. package/dist/{upgrade-AKLIZKAO.js → upgrade-LSHVYMLH.js} +5 -5
  297. package/dist/{urlDownloader-57A7Q7FC.js → urlDownloader-PWQ2LDLE.js} +9 -9
  298. package/dist/{validate-YWSXJL54.js → validate-JHETNNBN.js} +33 -33
  299. package/dist/{video-I5DDNK3Y.js → video-D2D5YCDU.js} +12 -12
  300. package/dist/{voices-IBMJU73H.js → voices-34FMTOIX.js} +29 -28
  301. package/dist/warmCheck.js +51 -51
  302. package/package.json +2 -1
  303. package/dist/chunk-YAZQBB2S.js +0 -5049
@@ -6,34 +6,34 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-HXQDDCGY.js";
9
+ } from "./chunk-JQATOGQQ.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-YMIEJZB6.js";
15
+ } from "./chunk-QDSALYDV.js";
16
16
  import {
17
17
  idempotencyKey,
18
18
  runJob
19
- } from "./chunk-GWSCUFGL.js";
19
+ } from "./chunk-EWBLIDHD.js";
20
20
  import {
21
21
  projectOf,
22
22
  runFfmpeg
23
- } from "./chunk-2NMBD5AH.js";
23
+ } from "./chunk-7YOJPNDT.js";
24
24
  import {
25
25
  initialModelForLanguage,
26
26
  transcribe
27
- } from "./chunk-XH6LGDIB.js";
27
+ } from "./chunk-PDE6XAIJ.js";
28
28
  import {
29
29
  createRenderCancellationScope,
30
30
  stoppedByCancelSignal
31
- } from "./chunk-D6BV6TTI.js";
31
+ } from "./chunk-OKN7E77Z.js";
32
32
  import {
33
33
  DEFAULT_MODEL,
34
34
  findWhisper,
35
35
  isWhisperUnavailable
36
- } from "./chunk-GCJRV7LU.js";
36
+ } from "./chunk-A2YCAF35.js";
37
37
  import {
38
38
  formatSrt,
39
39
  formatVtt,
@@ -45,7 +45,7 @@ import {
45
45
  PARAKEET_LANGUAGES,
46
46
  parakeetSpeaks,
47
47
  transcribeWithParakeet
48
- } from "./chunk-JZIEZCQM.js";
48
+ } from "./chunk-VZO3BUTW.js";
49
49
  import {
50
50
  TRANSCRIPT_FILE
51
51
  } from "./chunk-IR35BCLK.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  claimDailyNotice,
9
9
  updateCheckDisabled
10
- } from "./chunk-34S7GYVK.js";
10
+ } from "./chunk-6OYPVALW.js";
11
11
  import {
12
12
  hostAnswers
13
13
  } from "./chunk-BR2JQQC5.js";
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-CPHQTXP5.js";
22
22
  import {
23
23
  VERSION
24
- } from "./chunk-LHFBKUVY.js";
24
+ } from "./chunk-6FP6HBG4.js";
25
25
 
26
26
  // src/utils/skillsUpdateCheck.ts
27
27
  import { resolve as resolve2 } from "path";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-Z5J67X44.js";
10
10
  import {
11
11
  createStagingDir
12
- } from "./chunk-IEEIPTDW.js";
12
+ } from "./chunk-PYZVKGW5.js";
13
13
 
14
14
  // src/capture/captureFile.ts
15
15
  import { mkdirSync, realpathSync, renameSync, statSync, writeFileSync } from "fs";
@@ -8,13 +8,13 @@ import {
8
8
  alive,
9
9
  readHolder,
10
10
  release
11
- } from "./chunk-REJ4NIBY.js";
11
+ } from "./chunk-VJSKNQTM.js";
12
12
  import {
13
13
  shouldTrack
14
- } from "./chunk-PVSRPNIV.js";
14
+ } from "./chunk-PXWPBLEN.js";
15
15
  import {
16
16
  createFileAtomically
17
- } from "./chunk-IEEIPTDW.js";
17
+ } from "./chunk-PYZVKGW5.js";
18
18
  import {
19
19
  processIdentity
20
20
  } from "./chunk-PV4XID2A.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  replaceFileAtomically
9
- } from "./chunk-IEEIPTDW.js";
9
+ } from "./chunk-PYZVKGW5.js";
10
10
  import {
11
11
  realpath
12
12
  } from "./chunk-HZTRKUKE.js";
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/version.ts
9
- var VERSION = true ? "0.9.32" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.9.32" : "0.0.0-dev";
9
+ var VERSION = true ? "0.9.34" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.9.34" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -11,7 +11,7 @@ import {
11
11
  round,
12
12
  runFfmpeg,
13
13
  videoClip
14
- } from "./chunk-2NMBD5AH.js";
14
+ } from "./chunk-7YOJPNDT.js";
15
15
 
16
16
  // src/measure/sync.ts
17
17
  var RATE = 16e3;
@@ -6,28 +6,28 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  gotoWhenSent
9
- } from "./chunk-G6JLFSII.js";
10
- import {
11
- windowsChromeCrashRemediation
12
- } from "./chunk-262C25DQ.js";
13
- import {
14
- pageNavigationTimeoutMs
15
- } from "./chunk-BA3EQ2KL.js";
9
+ } from "./chunk-GXGGPZXD.js";
16
10
  import {
17
11
  SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
18
12
  } from "./chunk-YGGZ23BB.js";
19
13
  import {
20
14
  resolveCompositionViewportFromHtml
21
- } from "./chunk-LBQQNNRC.js";
15
+ } from "./chunk-ZWLFWYHR.js";
16
+ import {
17
+ windowsChromeCrashRemediation
18
+ } from "./chunk-262C25DQ.js";
19
+ import {
20
+ pageNavigationTimeoutMs
21
+ } from "./chunk-IVMYWHFE.js";
22
22
  import {
23
23
  launchManagedBrowser,
24
24
  resolveManagedGpuMode,
25
25
  rethrowAfterBrowserCleanup
26
- } from "./chunk-3PHCFSPD.js";
26
+ } from "./chunk-PWSTB75B.js";
27
27
  import {
28
28
  resolveLocalBrowserGpuMode,
29
29
  resolveLocalWebGpu
30
- } from "./chunk-SIRYW7SY.js";
30
+ } from "./chunk-3P4OYIBA.js";
31
31
  import {
32
32
  c
33
33
  } from "./chunk-JCNPHRGX.js";
@@ -35,7 +35,7 @@ import {
35
35
  assertWebGpuAdapterAvailable,
36
36
  compositionRequiresWebGpu,
37
37
  oneProcessOverPipe
38
- } from "./chunk-EJPWGGPK.js";
38
+ } from "./chunk-Z64I7KJZ.js";
39
39
  import {
40
40
  normalizeErrorMessage
41
41
  } from "./chunk-E63BDV4Z.js";
@@ -143,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
143
143
  console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
144
144
  });
145
145
  await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
146
- const { resolveConfig, waitForImagesReady } = await import("./src-HHPRCLEW.js");
146
+ const { resolveConfig, waitForImagesReady } = await import("./src-26DWEOAT.js");
147
147
  const imageTimeoutMs = resolveConfig().playerReadyTimeout;
148
148
  await waitForImagesReady(
149
149
  page,
@@ -192,7 +192,7 @@ async function installPageFunctionGuard(page) {
192
192
  async function openSettledCompositionPage(html, url, options) {
193
193
  const viewport = resolveCompositionViewportFromHtml(html);
194
194
  const requiresWebGpu = compositionRequiresWebGpu(html);
195
- const answer = (await import("./staticProjectServer-VPGZWJF4.js")).inProcessAnswer(url);
195
+ const answer = (await import("./staticProjectServer-NYH6MQHZ.js")).inProcessAnswer(url);
196
196
  const noListen = answer !== void 0;
197
197
  let chromeBrowser;
198
198
  try {
@@ -203,7 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
203
203
  options.onBrowserReady?.();
204
204
  const page = await chromeBrowser.newPage();
205
205
  await installPageFunctionGuard(page);
206
- const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-HHPRCLEW.js");
206
+ const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-26DWEOAT.js");
207
207
  await installMediaRenderIdBridge(page);
208
208
  await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
209
209
  await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
@@ -222,10 +222,10 @@ async function openSettledCompositionPage(html, url, options) {
222
222
  }
223
223
  async function launchCompositionBrowser(html, noListen, options) {
224
224
  const viewport = resolveCompositionViewportFromHtml(html);
225
- const { ensureBrowser, findSystemBrowser } = await import("./manager-IAXYSRG5.js");
225
+ const { ensureBrowser, findSystemBrowser } = await import("./manager-VLO3FZC4.js");
226
226
  const browser = await ensureBrowser({ signal: options.signal });
227
227
  const puppeteer = await import("puppeteer-core");
228
- const { buildChromeArgs } = await import("./src-HHPRCLEW.js");
228
+ const { buildChromeArgs } = await import("./src-26DWEOAT.js");
229
229
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
230
230
  const requiresWebGpu = compositionRequiresWebGpu(html);
231
231
  let softwareWebGpu = false;
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-CPHQTXP5.js";
26
26
  import {
27
27
  VERSION
28
- } from "./chunk-LHFBKUVY.js";
28
+ } from "./chunk-6FP6HBG4.js";
29
29
 
30
30
  // src/utils/updateCheck.ts
31
31
  import { existsSync as existsSync2, readFileSync as readFileSync3 } from "fs";
@@ -325,7 +325,11 @@ function rewriteProjectPinnedScripts(scripts, targetVersion) {
325
325
  }
326
326
 
327
327
  // src/utils/updateCheck.ts
328
- var NPM_REGISTRY_URL = "https://registry.npmjs.org/hyperframes/latest";
328
+ function updateChannel(version = VERSION) {
329
+ if (version === "0.0.0-dev") return "latest";
330
+ return version.match(/^\d+\.\d+\.\d+-([a-z][a-z0-9-]*)(?:\.|$)/i)?.[1] ?? "latest";
331
+ }
332
+ var npmRegistryUrl = () => `https://registry.npmjs.org/hyperframes/${updateChannel()}`;
329
333
  var CHECK_INTERVAL_MS = 2 * 60 * 60 * 1e3;
330
334
  var SKILLS_COUNT_MAX_AGE_MS = 24 * 60 * 60 * 1e3;
331
335
  var FETCH_TIMEOUT_MS = 3e3;
@@ -340,14 +344,14 @@ async function checkForUpdate(force) {
340
344
  const config = readConfig();
341
345
  if (!force && !updateCheckDue(config)) return fallbackResult(config.latestVersion);
342
346
  try {
343
- if (!force && !await hostAnswers(new URL(NPM_REGISTRY_URL).hostname)) {
347
+ if (!force && !await hostAnswers(new URL(npmRegistryUrl()).hostname)) {
344
348
  return fallbackResult(config.latestVersion);
345
349
  }
346
350
  const controller = new AbortController();
347
351
  const timeout = setTimeout(() => controller.abort(), FETCH_TIMEOUT_MS);
348
352
  let data;
349
353
  try {
350
- const res = await fetch(NPM_REGISTRY_URL, {
354
+ const res = await fetch(npmRegistryUrl(), {
351
355
  signal: controller.signal,
352
356
  headers: { Connection: "close" }
353
357
  });
@@ -356,7 +360,7 @@ async function checkForUpdate(force) {
356
360
  } finally {
357
361
  clearTimeout(timeout);
358
362
  }
359
- if (typeof data.version !== "string" || !isSafeVersion(data.version)) {
363
+ if (typeof data.version !== "string" || !isSafeVersion(data.version) || updateChannel(data.version) !== updateChannel()) {
360
364
  return fallbackResult(config.latestVersion);
361
365
  }
362
366
  const latest = data.version;
@@ -387,8 +391,10 @@ function fallbackResult(cachedLatest) {
387
391
  updateAvailable: safeCached ? isNewerSemver(safeCached, VERSION) : false
388
392
  };
389
393
  }
390
- var isSafeCache = (value) => typeof value === "string" && isSafeVersion(value);
394
+ var isSafeCache = (value) => typeof value === "string" && isSafeVersion(value) && updateChannel(value) === updateChannel();
391
395
  function cachedVersionForThisInstall(value) {
396
+ const checkedAt = readConfig().lastUpdateCheck;
397
+ if (checkedAt && Date.now() - Date.parse(checkedAt) >= CHECK_INTERVAL_MS) return void 0;
392
398
  return isSafeCache(value) && !isNewerSemver(VERSION, value) ? value : void 0;
393
399
  }
394
400
  function getUpdateMeta() {
@@ -442,7 +448,7 @@ function updateCommandForThisInstall(cliBehind, skillsBehind, latest) {
442
448
  if (install.channel === "project") {
443
449
  return projectNoticeCommand(install, cliBehind, skillsBehind, latest);
444
450
  }
445
- return install.channel === "npx" && cliBehind ? "npx hyperframes@latest update" : "npx hyperframes update";
451
+ return install.channel === "npx" && cliBehind ? `npx hyperframes@${updateChannel()} update` : "npx hyperframes update";
446
452
  }
447
453
  function noticeSentence(version, latest, skills, command) {
448
454
  const cli = latest ? `HyperFrames CLI ${latest} is available (this run is ${version})` : null;
@@ -503,7 +509,7 @@ function printUpdateNotice() {
503
509
  if (readConfig().pendingUpdate?.version === meta.latestVersion) return;
504
510
  const safeLatest = isSafeVersion(meta.latestVersion);
505
511
  const managerCommand = safeLatest ? detectInstaller().installCommand(meta.latestVersion) : null;
506
- const command = managerCommand ?? "npx hyperframes@latest";
512
+ const command = managerCommand ?? `npx hyperframes@${updateChannel()}`;
507
513
  process.stderr.write(
508
514
  `
509
515
  Update available: ${meta.version} \u2192 ${meta.latestVersion}
@@ -570,6 +576,7 @@ export {
570
576
  shadowingInstall,
571
577
  rewritePinnedHyperframesText,
572
578
  rewriteProjectPinnedScripts,
579
+ updateChannel,
573
580
  checkForUpdate,
574
581
  updateCheckDue,
575
582
  cachedUpdateCheck,
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  createStagingDir,
9
9
  renameWithRetry
10
- } from "./chunk-IEEIPTDW.js";
10
+ } from "./chunk-PYZVKGW5.js";
11
11
  import {
12
12
  mkdirWithinProject,
13
13
  realpath
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  windowsLocalAppData
9
- } from "./chunk-ZIYXPDKY.js";
9
+ } from "./chunk-65PFUPLX.js";
10
10
  import {
11
11
  MAX_PORT_SCAN,
12
12
  PreviewServerPortMismatchError,
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  decode,
9
9
  meanAbsDiff
10
- } from "./chunk-2NMBD5AH.js";
10
+ } from "./chunk-7YOJPNDT.js";
11
11
 
12
12
  // src/measure/cuts.ts
13
13
  var SIG_W = 64;
@@ -4,10 +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
+ findTrustedExecutable
9
+ } from "./chunk-3FQYFVWA.js";
7
10
 
8
11
  // src/tts/python.ts
9
12
  import { execFileSync } from "child_process";
10
- import { dirname, resolve } from "path";
11
13
  function validatePythonOverride(override) {
12
14
  try {
13
15
  const version = execFileSync(override, ["--version"], {
@@ -24,21 +26,12 @@ function validatePythonOverride(override) {
24
26
  return { ok: false, reason: error instanceof Error ? error.message : String(error) };
25
27
  }
26
28
  }
27
- function inWorkingDirectory(candidate) {
28
- return process.platform === "win32" && dirname(resolve(candidate)).toLowerCase() === resolve(process.cwd()).toLowerCase();
29
- }
30
29
  function findPython() {
31
30
  const override = process.env.HYPERFRAMES_PYTHON;
32
31
  if (override && validatePythonOverride(override).ok) return override;
33
32
  for (const name of ["python3", "python"]) {
34
33
  try {
35
- const cmd = process.platform === "win32" ? "where" : "which";
36
- const output = execFileSync(cmd, [name], {
37
- encoding: "utf-8",
38
- stdio: ["pipe", "pipe", "pipe"],
39
- timeout: 5e3
40
- });
41
- const first = output.split(/\r?\n/).map((s) => s.trim()).find((s) => s && !inWorkingDirectory(s));
34
+ const first = findTrustedExecutable(name);
42
35
  if (!first) continue;
43
36
  const version = execFileSync(first, ["--version"], {
44
37
  encoding: "utf-8",
@@ -8,7 +8,7 @@ import {
8
8
  findFFmpeg,
9
9
  findFFprobe,
10
10
  getFFmpegInstallHint
11
- } from "./chunk-5FFYMVRD.js";
11
+ } from "./chunk-Q2G4ERQU.js";
12
12
 
13
13
  // src/measure/media.ts
14
14
  import { execFileSync } from "child_process";
@@ -15,10 +15,13 @@ import {
15
15
  } from "./chunk-JJ47LVJ7.js";
16
16
  import {
17
17
  findFFmpeg
18
- } from "./chunk-5FFYMVRD.js";
18
+ } from "./chunk-Q2G4ERQU.js";
19
19
  import {
20
20
  stoppableExecFile
21
21
  } from "./chunk-HU2SPFNG.js";
22
+ import {
23
+ findTrustedExecutable
24
+ } from "./chunk-3FQYFVWA.js";
22
25
  import {
23
26
  hyperframesCacheDir
24
27
  } from "./chunk-JOQR4AP6.js";
@@ -98,20 +101,6 @@ var PINNED_MODELS = new Map([
98
101
  function pinnedWhisperModel(model) {
99
102
  return PINNED_MODELS.get(model);
100
103
  }
101
- function whichBinary(name) {
102
- try {
103
- const cmd = process.platform === "win32" ? "where" : "which";
104
- const output = execFileSync(cmd, [name], {
105
- encoding: "utf-8",
106
- stdio: ["pipe", "pipe", "pipe"],
107
- timeout: 5e3
108
- });
109
- const first = output.split(/\r?\n/).map((s) => s.trim()).find(Boolean);
110
- return first || void 0;
111
- } catch {
112
- return void 0;
113
- }
114
- }
115
104
  function findFromEnv() {
116
105
  const envPath = process.env["HYPERFRAMES_WHISPER_PATH"];
117
106
  if (envPath && existsSync(envPath)) {
@@ -120,7 +109,7 @@ function findFromEnv() {
120
109
  return void 0;
121
110
  }
122
111
  function findFromSystem() {
123
- const path = whichBinary("whisper-cli");
112
+ const path = findTrustedExecutable("whisper-cli");
124
113
  if (path) return { executablePath: path, source: "system" };
125
114
  if (platform() === "darwin") {
126
115
  for (const p of ["/opt/homebrew/bin/whisper-cli", "/usr/local/bin/whisper-cli"]) {
@@ -133,8 +122,8 @@ var BUILD_DIR = hyperframesCacheDir("whisper", "whisper.cpp");
133
122
  var WHISPER_REPO = "https://github.com/ggml-org/whisper.cpp.git";
134
123
  var WHISPER_TAG = "v1.9.5";
135
124
  var WHISPER_COMMIT = "d1be6fde11ac6e0407606b4e42fe72d34add8037";
136
- function assertPinnedCheckout() {
137
- const head = execFileSync("git", ["rev-parse", "HEAD"], {
125
+ function assertPinnedCheckout(git) {
126
+ const head = execFileSync(git, ["rev-parse", "HEAD"], {
138
127
  cwd: BUILD_DIR,
139
128
  encoding: "utf-8",
140
129
  stdio: ["ignore", "pipe", "ignore"],
@@ -157,7 +146,7 @@ function findBuiltBinary() {
157
146
  }
158
147
  return void 0;
159
148
  }
160
- async function buildFromSource(onProgress, signal) {
149
+ async function buildFromSource({ git, cmake }, onProgress, signal) {
161
150
  if (existsSync(BUILD_DIR) && !findBuiltBinary()) {
162
151
  rmSync(BUILD_DIR, { recursive: true, force: true });
163
152
  }
@@ -165,7 +154,7 @@ async function buildFromSource(onProgress, signal) {
165
154
  onProgress?.("Downloading whisper.cpp...");
166
155
  mkdirSync(BUILD_DIR, { recursive: true });
167
156
  await stoppableExecFile(
168
- "git",
157
+ git,
169
158
  ["clone", "--depth", "1", "--branch", WHISPER_TAG, WHISPER_REPO, "."],
170
159
  {
171
160
  cwd: BUILD_DIR,
@@ -175,17 +164,17 @@ async function buildFromSource(onProgress, signal) {
175
164
  signal
176
165
  }
177
166
  );
178
- assertPinnedCheckout();
167
+ assertPinnedCheckout(git);
179
168
  }
180
169
  onProgress?.("Building whisper.cpp (this may take a minute)...");
181
170
  try {
182
- await stoppableExecFile("cmake", ["-B", "build"], {
171
+ await stoppableExecFile(cmake, ["-B", "build"], {
183
172
  cwd: BUILD_DIR,
184
173
  stdio: ["pipe", "pipe", "pipe"],
185
174
  timeout: 12e4,
186
175
  signal
187
176
  });
188
- await stoppableExecFile("cmake", ["--build", "build", "--config", "Release", "-j"], {
177
+ await stoppableExecFile(cmake, ["--build", "build", "--config", "Release", "-j"], {
189
178
  cwd: BUILD_DIR,
190
179
  stdio: ["pipe", "pipe", "pipe"],
191
180
  timeout: 3e5,
@@ -230,15 +219,9 @@ function getInstallInstructions() {
230
219
  }
231
220
  return "See https://github.com/ggml-org/whisper.cpp#building";
232
221
  }
233
- function hasBrew() {
234
- return whichBinary("brew") !== void 0;
235
- }
236
- function hasGit() {
237
- const git = whichBinary("git");
238
- return git !== void 0 && runsWithoutInstallPrompt(git);
239
- }
240
- function hasCmake() {
241
- return whichBinary("cmake") !== void 0;
222
+ function trustedGit() {
223
+ const git = findTrustedExecutable("git");
224
+ return git !== void 0 && runsWithoutInstallPrompt(git) ? git : void 0;
242
225
  }
243
226
  async function ensureWhisper(options) {
244
227
  const signal = options?.signal;
@@ -251,10 +234,11 @@ async function ensureWhisper(options) {
251
234
  }
252
235
  const causes = [];
253
236
  const why = (err) => (err instanceof Error ? err.message : String(err)).trim();
254
- if (platform() === "darwin" && hasBrew()) {
237
+ const brew = platform() === "darwin" ? findTrustedExecutable("brew") : void 0;
238
+ if (brew) {
255
239
  options?.onProgress?.("Installing whisper-cpp via Homebrew...");
256
240
  try {
257
- await stoppableExecFile("brew", ["install", "whisper-cpp"], {
241
+ await stoppableExecFile(brew, ["install", "whisper-cpp"], {
258
242
  stdio: "ignore",
259
243
  timeout: 3e5,
260
244
  signal
@@ -266,15 +250,17 @@ async function ensureWhisper(options) {
266
250
  }
267
251
  signal?.throwIfAborted();
268
252
  }
269
- if (hasGit() && hasCmake() && runsWithoutInstallPrompt("cc")) {
253
+ const git = trustedGit();
254
+ const cmake = findTrustedExecutable("cmake");
255
+ if (git && cmake && runsWithoutInstallPrompt("cc")) {
270
256
  try {
271
- return await buildFromSource(options?.onProgress, signal);
257
+ return await buildFromSource({ git, cmake }, options?.onProgress, signal);
272
258
  } catch (err) {
273
259
  causes.push(why(err));
274
260
  }
275
261
  signal?.throwIfAborted();
276
262
  } else {
277
- const missing = [!hasGit() && "git", !hasCmake() && "cmake"].filter(Boolean).join(" and ");
263
+ const missing = [!git && "git", !cmake && "cmake"].filter(Boolean).join(" and ");
278
264
  causes.push(`cannot build whisper.cpp: ${missing} not found on PATH`);
279
265
  }
280
266
  throw new WhisperUnavailableError(
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  downloadToFile
9
- } from "./chunk-PXDRW3QN.js";
9
+ } from "./chunk-LB6VJTM4.js";
10
10
  import {
11
11
  Fix,
12
12
  frameAt,
13
13
  round,
14
14
  runFfmpeg,
15
15
  sumOf
16
- } from "./chunk-2NMBD5AH.js";
16
+ } from "./chunk-7YOJPNDT.js";
17
17
  import {
18
18
  verifies
19
19
  } from "./chunk-RZ6CXJ56.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  hasPythonModules
9
- } from "./chunk-CHJGVW5W.js";
9
+ } from "./chunk-7YBRRU5W.js";
10
10
 
11
11
  // src/audio/providers.ts
12
12
  var KOKORO_MODULES = ["kokoro_onnx", "soundfile"];