hyperframes 0.8.229 → 0.8.231

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 (229) hide show
  1. package/dist/{add-YJS4LRAZ.js → add-2WACK4YI.js} +11 -11
  2. package/dist/{agentPromptGenerator-UZ3FX4D3.js → agentPromptGenerator-SNDC7EM7.js} +8 -7
  3. package/dist/{animatedGifPrep-2XRRZPQO.js → animatedGifPrep-NGWLOMQE.js} +8 -7
  4. package/dist/api.js +22 -21
  5. package/dist/{asset-WSOL4NMK.js → asset-QDIOQ3UN.js} +2 -2
  6. package/dist/{assetCataloger-OZZ5MJBG.js → assetCataloger-ZT232SOC.js} +10 -9
  7. package/dist/{audio-LANYADHD.js → audio-ABPWXWL3.js} +15 -14
  8. package/dist/{auth-YYGXDZF2.js → auth-LFTYUOZ7.js} +1 -1
  9. package/dist/{autoUpdate-KSRU7EZH.js → autoUpdate-P7LMMKAG.js} +2 -2
  10. package/dist/{backgroundChecks-TB7CC2D6.js → backgroundChecks-BIWORRV4.js} +3 -3
  11. package/dist/backgroundChecksWorker.js +3 -3
  12. package/dist/{batchRender-XZYDF2FG.js → batchRender-BCJRGQHY.js} +3 -3
  13. package/dist/{beats-IDTXCXIG.js → beats-6HXXV544.js} +9 -9
  14. package/dist/{benchmark-IPKHN37F.js → benchmark-OEVBOZ47.js} +8 -8
  15. package/dist/{browser-OVOXZLNV.js → browser-JDXHDES5.js} +5 -4
  16. package/dist/{bundleWithLocalizedFonts-I7PYCJHZ.js → bundleWithLocalizedFonts-FMOWLUNP.js} +2 -2
  17. package/dist/{capture-CONXFELZ.js → capture-SIIP4X2U.js} +18 -17
  18. package/dist/{capture-VS5ZCDVK.js → capture-V4O3WYMX.js} +3 -3
  19. package/dist/{captureCompositionFrame-CXMJFFT6.js → captureCompositionFrame-AELJ7UQO.js} +14 -13
  20. package/dist/{catalog-GRKDVE2L.js → catalog-IBCJLVMF.js} +13 -12
  21. package/dist/{catch-up-EEQHBX7W.js → catch-up-YUDNSAAL.js} +4 -4
  22. package/dist/{check-KN2TFSLV.js → check-JWY74AN5.js} +40 -39
  23. package/dist/{checkAudio-TL5G6H6R.js → checkAudio-NF2GGJT7.js} +11 -10
  24. package/dist/{checkBrowser-VSOGYBDG.js → checkBrowser-EILKQRQX.js} +34 -33
  25. package/dist/{chunk-7T2OIXVQ.js → chunk-26LQKZE5.js} +1 -1
  26. package/dist/{chunk-J5D43JAY.js → chunk-2TVJN55K.js} +2 -2
  27. package/dist/{chunk-RQD2CQDC.js → chunk-373H5PBK.js} +2 -2
  28. package/dist/{chunk-MIJSNZCK.js → chunk-3BWYSXMK.js} +3 -3
  29. package/dist/{chunk-3MJIP7L3.js → chunk-3NS7IS2V.js} +1 -1
  30. package/dist/chunk-4PNFWK4W.js +5030 -0
  31. package/dist/{chunk-TYJQUMPE.js → chunk-55OLDIQX.js} +14 -14
  32. package/dist/{chunk-Y65ZU7XY.js → chunk-5UT3R43E.js} +21 -18
  33. package/dist/{chunk-YKB7R3ED.js → chunk-6OPX32PN.js} +12 -12
  34. package/dist/chunk-766MOTIZ.js +18 -0
  35. package/dist/{chunk-44H3ZPQ2.js → chunk-7GWGRB7H.js} +3 -3
  36. package/dist/{chunk-T4C5HPYH.js → chunk-7PHB5Z2D.js} +1 -1
  37. package/dist/{chunk-FKPJP7KG.js → chunk-7RFIT26L.js} +11 -16
  38. package/dist/{chunk-6IPIEPGY.js → chunk-7XXZRFSQ.js} +2 -2
  39. package/dist/{chunk-FG4BBFZI.js → chunk-7YCF2F5M.js} +4 -1
  40. package/dist/{chunk-GGH5MQHG.js → chunk-B4QOTHJ4.js} +1 -1
  41. package/dist/{chunk-X6JPD24H.js → chunk-BBUREQHC.js} +2 -2
  42. package/dist/{chunk-WIK27NBN.js → chunk-BGDLHFZI.js} +7 -7
  43. package/dist/{chunk-SWBOZCM7.js → chunk-CGEI7RSJ.js} +2 -2
  44. package/dist/{chunk-3OGN5ESJ.js → chunk-CS7WOMVH.js} +3 -3
  45. package/dist/{chunk-KANCJWEU.js → chunk-E5EGU7QQ.js} +1 -1
  46. package/dist/{chunk-AUKCANZ5.js → chunk-EIYQX23K.js} +1 -1
  47. package/dist/{chunk-KZPMI6BZ.js → chunk-EOFVDMFT.js} +8 -12
  48. package/dist/{chunk-DBCQ45W4.js → chunk-ERHYPNLO.js} +19 -19
  49. package/dist/{chunk-65CJV3HG.js → chunk-EUDL2G25.js} +11 -11
  50. package/dist/{chunk-OYR33QMF.js → chunk-FNDKV2AD.js} +1 -1
  51. package/dist/{chunk-ALLYZDHR.js → chunk-FZFW5CDV.js} +1 -1
  52. package/dist/{chunk-FSTBQD2F.js → chunk-G2B4LW6F.js} +1 -1
  53. package/dist/{chunk-GR2T3BOX.js → chunk-GFD2HHF2.js} +10 -3
  54. package/dist/{chunk-C4YBIKYO.js → chunk-GJCLAPUP.js} +1 -1
  55. package/dist/{chunk-FHBWBQMS.js → chunk-GLTWXKP7.js} +2 -2
  56. package/dist/{chunk-UWS3BKTB.js → chunk-GO3BLPTW.js} +1 -1
  57. package/dist/{chunk-XVK7Z5LC.js → chunk-HE2U7MGN.js} +1 -1
  58. package/dist/{chunk-AJAK6K6Z.js → chunk-HSYXJPQQ.js} +12 -15
  59. package/dist/{chunk-2WZSWSVB.js → chunk-ISNSSHML.js} +1 -1
  60. package/dist/{chunk-M5NZ7GKA.js → chunk-IWMVCOUX.js} +6 -4
  61. package/dist/{chunk-MOZ5DSCP.js → chunk-J4YINAEK.js} +3 -3
  62. package/dist/{chunk-6UOTC4U7.js → chunk-JZQWZGS5.js} +3 -3
  63. package/dist/{chunk-TZOQFBBQ.js → chunk-KYNASFVB.js} +2 -2
  64. package/dist/{chunk-MMHM3KKV.js → chunk-LBVU3TVN.js} +2 -2
  65. package/dist/{chunk-DCLGVVR7.js → chunk-LSVDI3Q5.js} +8 -5
  66. package/dist/{chunk-V76CLMWJ.js → chunk-MKJEQ7LF.js} +2 -2
  67. package/dist/{chunk-OLUL6BOC.js → chunk-MLUOGC2J.js} +14 -14
  68. package/dist/{chunk-AX34M43B.js → chunk-MOMOZDM5.js} +1 -1
  69. package/dist/{chunk-UWM22NR5.js → chunk-MXO7BJXE.js} +1 -1
  70. package/dist/{chunk-KQO3UIAP.js → chunk-N6J6LNDQ.js} +1 -1
  71. package/dist/{chunk-5657GBGJ.js → chunk-NHANNCQL.js} +4 -4
  72. package/dist/{chunk-O7M3IGR4.js → chunk-NIY7V446.js} +3 -3
  73. package/dist/{chunk-IXDFHVYK.js → chunk-NNGN7TRX.js} +7 -7
  74. package/dist/{chunk-EWUQH2H2.js → chunk-PEVJXGMI.js} +1 -1
  75. package/dist/{chunk-E7CVWOG6.js → chunk-PG4UPV45.js} +1 -1
  76. package/dist/{chunk-4QRJNEY2.js → chunk-PLHQUBAY.js} +1 -1
  77. package/dist/{chunk-BYU5BWLS.js → chunk-PUA7WRR3.js} +11 -11
  78. package/dist/{chunk-SCVDE65J.js → chunk-PZBFWN3Y.js} +1 -1
  79. package/dist/{chunk-WP64W5LK.js → chunk-PZNWJDPR.js} +1 -1
  80. package/dist/{chunk-QNW43LWB.js → chunk-Q3SKYJGG.js} +7 -4
  81. package/dist/{chunk-QMHENMOT.js → chunk-QSVHGKBU.js} +2 -2
  82. package/dist/{chunk-QTV666C6.js → chunk-RTUKNMA4.js} +1 -1
  83. package/dist/{chunk-LCRVATH2.js → chunk-RV4XCIJO.js} +1 -1
  84. package/dist/{chunk-5J6IHFXE.js → chunk-RVDNZAZY.js} +1 -1
  85. package/dist/{chunk-GHPR346W.js → chunk-RWFJFVHA.js} +3 -3
  86. package/dist/{chunk-R2C5EON5.js → chunk-RXFKSZN2.js} +2 -1
  87. package/dist/{chunk-EDUWHB7E.js → chunk-S6ANBXWF.js} +6 -6
  88. package/dist/{chunk-URICPFYV.js → chunk-SF7Z35VJ.js} +1 -1
  89. package/dist/{chunk-WMLUEEKU.js → chunk-SGOFILD2.js} +3 -3
  90. package/dist/{chunk-MKCTDPSJ.js → chunk-SUDJDTU6.js} +5 -3
  91. package/dist/{chunk-C54QOVBO.js → chunk-SXA24WJ4.js} +10 -7
  92. package/dist/{chunk-MS3HCZGU.js → chunk-TA4XXR3W.js} +2 -2
  93. package/dist/{chunk-YQVFMOMM.js → chunk-TPZ424FN.js} +1 -1
  94. package/dist/{chunk-QU5OYMTB.js → chunk-UGUYWTWD.js} +5 -3
  95. package/dist/{chunk-3ZKTX4RA.js → chunk-UNAYPQ3J.js} +1 -1
  96. package/dist/{chunk-ZFVNYA3M.js → chunk-UWZ2OIWM.js} +1 -1
  97. package/dist/{chunk-PVZRUN64.js → chunk-VJ4J5MDA.js} +1 -1
  98. package/dist/{chunk-YZTGIVCU.js → chunk-VV2MQA2M.js} +10 -10
  99. package/dist/{chunk-VPCKLVUT.js → chunk-W3KXPHD7.js} +1 -1
  100. package/dist/{chunk-GB4ZE5GE.js → chunk-WBEBBMQJ.js} +10 -8
  101. package/dist/{chunk-LDAKZ65G.js → chunk-WKJQBDFQ.js} +2 -2
  102. package/dist/{chunk-SJAAY2FB.js → chunk-WP4WBVCB.js} +1 -1
  103. package/dist/{chunk-BS23JBCT.js → chunk-WRRZRWDR.js} +2 -2
  104. package/dist/{chunk-2GTFW4MK.js → chunk-WVRAFHJU.js} +16 -2
  105. package/dist/{chunk-G3AG7A42.js → chunk-X5FSMQEJ.js} +4 -2
  106. package/dist/{chunk-UOJSQZBR.js → chunk-XROPYASW.js} +3 -3
  107. package/dist/{chunk-2KQE627O.js → chunk-YASVZ2RL.js} +7 -7
  108. package/dist/{chunk-RSFLI6E6.js → chunk-YOLDPJTZ.js} +1 -1
  109. package/dist/{chunk-UZOIYEQT.js → chunk-ZFFSRJL4.js} +3 -3
  110. package/dist/{chunk-2TL6R2B5.js → chunk-ZRNQSS6V.js} +6 -6
  111. package/dist/{chunk-RSE7JAWA.js → chunk-ZTLYHUR4.js} +2 -2
  112. package/dist/{clean-EBLROVPZ.js → clean-VXGYYRL4.js} +21 -20
  113. package/dist/cli.js +58 -58
  114. package/dist/{cloud-VHV4JR6S.js → cloud-QSSMSQZH.js} +4 -4
  115. package/dist/{cloudrun-WH47ZBWZ.js → cloudrun-I4B3BXSH.js} +4 -4
  116. package/dist/{compare-ADKP4OZQ.js → compare-4WHTUPB7.js} +33 -32
  117. package/dist/{compiler-JT3NQV6V.js → compiler-K7HRRWTF.js} +4 -4
  118. package/dist/{component-4DZS7LRH.js → component-TOVYBZIY.js} +3 -3
  119. package/dist/{compositions-U6AILJYT.js → compositions-IFMKPTOD.js} +12 -11
  120. package/dist/{contactSheet-WG4HT5XP.js → contactSheet-RJTY6IIV.js} +3 -2
  121. package/dist/{curve-UJYH6TCN.js → curve-N5JVELKM.js} +12 -11
  122. package/dist/{cuts-4AMR7G23.js → cuts-D7UFWFA7.js} +13 -12
  123. package/dist/{delete-2WACGCZO.js → delete-JNONZOJP.js} +2 -2
  124. package/dist/{deploy-6D752FSZ.js → deploy-DWER276W.js} +5 -3
  125. package/dist/{describeProject-KRSRBDRI.js → describeProject-IADDO66H.js} +9 -8
  126. package/dist/{deterministicFonts-LV2JMOJL.js → deterministicFonts-H4RC6TOJ.js} +2 -1
  127. package/dist/{diff-NDK55Z7J.js → diff-NKGACFU2.js} +23 -22
  128. package/dist/{dist-3LBVDOZK.js → dist-B2QQUFZP.js} +2 -2
  129. package/dist/{dist-DCP77RWC.js → dist-YZJ25VQL.js} +2 -2
  130. package/dist/docs/audio.md +20 -0
  131. package/dist/docs/transcribe.md +27 -0
  132. package/dist/{docs-IB3KETC6.js → docs-D22SOQEZ.js} +8 -0
  133. package/dist/{doctor-6YKL5FHE.js → doctor-VTTQZS2Y.js} +14 -13
  134. package/dist/{energy-ZEGRDGJK.js → energy-DBPIXACF.js} +13 -12
  135. package/dist/{events-LFUAHTKC.js → events-CYF6Q5RV.js} +15 -14
  136. package/dist/{events-LFLG2NA4.js → events-GU4D4BLE.js} +3 -3
  137. package/dist/{events-WCD2Z2HV.js → events-UXA4EO77.js} +2 -2
  138. package/dist/{extract-3MIHGXDX.js → extract-DJNCSLXV.js} +13 -12
  139. package/dist/{face-JWRUZSZT.js → face-LACBH74K.js} +13 -12
  140. package/dist/{feedback-7GKEQSNR.js → feedback-45EAAEEV.js} +6 -6
  141. package/dist/{ffmpeg-3XMQNQFR.js → ffmpeg-RKWN7QI4.js} +8 -7
  142. package/dist/{figma-QQPOSC6N.js → figma-CKQEYPE5.js} +3 -3
  143. package/dist/fontLocalizeCli.js +12 -11
  144. package/dist/{frames-JUGYOXXB.js → frames-K36RMXTL.js} +15 -14
  145. package/dist/{generate-U5GGGI7G.js → generate-C4HHN3I6.js} +15 -14
  146. package/dist/{get-KQRDF6LW.js → get-JUC3E3UI.js} +2 -2
  147. package/dist/{gpuPolicy-DYOKYL7P.js → gpuPolicy-A4MTY2KF.js} +8 -7
  148. package/dist/{grade-compare-EVFXFOYV.js → grade-compare-A4BTYEM4.js} +34 -33
  149. package/dist/{heifImagePrep-H677DLTO.js → heifImagePrep-SCKHCELH.js} +9 -8
  150. package/dist/{help-XUSQUMOX.js → help-FIOZIOUQ.js} +1 -1
  151. package/dist/{history-LLJEG3KB.js → history-5RXN6GND.js} +8 -7
  152. package/dist/hyperframe.manifest.json +1 -1
  153. package/dist/hyperframe.runtime.iife.js +62 -62
  154. package/dist/hyperframes-player.global.js +1 -1
  155. package/dist/{info-TM2S6RVA.js → info-AP6AZWW4.js} +7 -7
  156. package/dist/{init-ABJ7VDQV.js → init-Z446SOS2.js} +28 -27
  157. package/dist/{ink-TFN2A4RE.js → ink-EJ6YV676.js} +13 -12
  158. package/dist/{inspect-OIXXKBEP.js → inspect-WBAWKRYN.js} +32 -31
  159. package/dist/{installer-XCAV3J6A.js → installer-4L6AMT6A.js} +4 -4
  160. package/dist/{keyframes-GDYO4HII.js → keyframes-KL532ATL.js} +7 -7
  161. package/dist/{lambda-SGAG3ET2.js → lambda-RLFYEKNO.js} +12 -11
  162. package/dist/{layout-IDN2INXZ.js → layout-3BJKWHXU.js} +32 -31
  163. package/dist/{lint-VXDG3OVR.js → lint-7AV5F5CR.js} +8 -8
  164. package/dist/{lintProject-54CNQ4HT.js → lintProject-JCKFNQZM.js} +2 -2
  165. package/dist/{list-V5ZA6YH3.js → list-A5C5PFJJ.js} +2 -2
  166. package/dist/{localPage-WTACQ4HH.js → localPage-RNHDBIFU.js} +8 -7
  167. package/dist/{login-ZHZBLYD6.js → login-IHSZJCSV.js} +4 -4
  168. package/dist/{look-43IS7IVT.js → look-WVZ56TIM.js} +13 -12
  169. package/dist/{manager-BT5X67BV.js → manager-L7HQ6OIB.js} +9 -8
  170. package/dist/{manager-ENFYM32B.js → manager-SAXHANEY.js} +2 -1
  171. package/dist/{measure-OYIH5M4K.js → measure-KBMHMO7H.js} +11 -11
  172. package/dist/{media-treatment-U6QA2YV2.js → media-treatment-DYY5S7GJ.js} +34 -17
  173. package/dist/{media-use-Q25W5P26.js → media-use-67ZWTBMD.js} +1 -1
  174. package/dist/{models-QSUPPDL2.js → models-GJENIGBK.js} +12 -11
  175. package/dist/{motionShot-PDSNKYAY.js → motionShot-4CJNTDYD.js} +18 -17
  176. package/dist/{normalize-audio-HIPTTGNT.js → normalize-audio-CBWNKG7Q.js} +9 -9
  177. package/dist/{open-7VKL24QP.js → open-KM6OVDR4.js} +11 -11
  178. package/dist/{parakeetRunner-RHK7LU3T.js → parakeetRunner-5DJYP5PB.js} +14 -13
  179. package/dist/{pipeline-AMQUBBUD.js → pipeline-QWKTGAUM.js} +12 -11
  180. package/dist/{play-DLP7TMRY.js → play-4HXKYQSG.js} +22 -21
  181. package/dist/{preflight-R5WNJ5KC.js → preflight-S2ISI7Y3.js} +10 -9
  182. package/dist/{present-PPIXSHJO.js → present-WM63A5OL.js} +18 -17
  183. package/dist/{preview-RS25TO6I.js → preview-OY3Z6FLI.js} +19 -18
  184. package/dist/{probe-LSVMXNWS.js → probe-V4UWHQBV.js} +12 -11
  185. package/dist/{producer-CNJP7NWH.js → producer-FZA5UXH6.js} +1 -1
  186. package/dist/{projectConfig-AXBTPJSK.js → projectConfig-3QUI7VQX.js} +6 -6
  187. package/dist/{publication-CZY3OVDJ.js → publication-BPQMAQ3J.js} +2 -2
  188. package/dist/{publish-DV3JALTW.js → publish-ZLZGYDOI.js} +10 -10
  189. package/dist/{remove-background-XBBLE6ZN.js → remove-background-5RACLELM.js} +13 -12
  190. package/dist/{render-CH265MNE.js → render-63L7JIQS.js} +17 -16
  191. package/dist/{render-4NTEIX6C.js → render-YKWOGHXS.js} +5 -5
  192. package/dist/{render-GNBMXGA4.js → render-ZNE2VE2N.js} +38 -37
  193. package/dist/{render-batch-STMZ5ZGQ.js → render-batch-CFOWBUY5.js} +5 -5
  194. package/dist/renderSetupWorker.js +4 -3
  195. package/dist/{resolver-YWKOIBSQ.js → resolver-LDVP5D6K.js} +4 -4
  196. package/dist/{run-A46NUKCV.js → run-MTGSR5HH.js} +2 -1
  197. package/dist/{screenshotCapture-RUDON2HB.js → screenshotCapture-HTGXPA7D.js} +1 -1
  198. package/dist/{sherpa-KFLH5Z7E.js → sherpa-H5O3F34T.js} +13 -12
  199. package/dist/skills/media-use/scripts/lib/cube-validate.mjs +1 -1
  200. package/dist/skills/media-use/scripts/lib/cube-validate.test.mjs +9 -4
  201. package/dist/{skills-2OSBIIXY.js → skills-AYEV2VE7.js} +5 -5
  202. package/dist/{skillsUpdateCheck-GBISX7YN.js → skillsUpdateCheck-D2XPEL53.js} +3 -3
  203. package/dist/{snapshot-SSS7UVPI.js → snapshot-2WPWIQUR.js} +54 -41
  204. package/dist/{src-27JZLSBO.js → src-OVSDMJIE.js} +7 -6
  205. package/dist/{src-XCS2N6EG.js → src-RUPVRPA4.js} +11 -10
  206. package/dist/{staticProjectServer-ASRDNNFG.js → staticProjectServer-ORTFINAA.js} +20 -19
  207. package/dist/studio/assets/{hyperframes-player-CtwXT8nW.js → hyperframes-player-ClW2l0Vl.js} +1 -1
  208. package/dist/studio/assets/{index-CNO8BPjF.js → index-CGfRmZQd.js} +1 -1
  209. package/dist/studio/assets/{index-CrRO-B3w.js → index-DxWNzvQJ.js} +187 -187
  210. package/dist/studio/index.html +1 -1
  211. package/dist/{studio-api-YKUVSV4J.js → studio-api-5Y64B63T.js} +12 -11
  212. package/dist/{studioServer-QUBL75RC.js → studioServer-Q3UD2OHJ.js} +55 -54
  213. package/dist/{sync-ILC4CCNG.js → sync-D7XYRPRR.js} +13 -12
  214. package/dist/{synthesize-DIT2SR3D.js → synthesize-YYT7UON6.js} +5 -3
  215. package/dist/{telemetry-TJI5LGLQ.js → telemetry-QNKF3ZBX.js} +3 -3
  216. package/dist/{timeline-X2HQ6SWI.js → timeline-OE7TWARK.js} +20 -19
  217. package/dist/{tokens-7MKCWG3Y.js → tokens-6RJ6TA2Z.js} +2 -2
  218. package/dist/{transcribe-ABCSYFPP.js → transcribe-3JPGPPNO.js} +11 -10
  219. package/dist/{transcribe-QCEDFMMB.js → transcribe-NG2BOBRI.js} +20 -19
  220. package/dist/{tts-ZLNNIS6W.js → tts-JHGGL7GL.js} +3 -2
  221. package/dist/{updateCheck-ZCRXVYWB.js → updateCheck-DYQLNMRN.js} +2 -2
  222. package/dist/{upgrade-HQ4XGPMT.js → upgrade-46NWTMFF.js} +2 -2
  223. package/dist/{urlDownloader-ONLQCQ7O.js → urlDownloader-44CP5OVX.js} +7 -6
  224. package/dist/{validate-PTSOIX2X.js → validate-I4TSPUVR.js} +26 -25
  225. package/dist/{video-O2LMQZWJ.js → video-BMFZG25Y.js} +10 -9
  226. package/dist/warmCheck.js +41 -40
  227. package/dist/warmCheckClient.js +2 -1
  228. package/package.json +1 -1
  229. package/dist/chunk-NWU7H447.js +0 -5030
@@ -7,19 +7,19 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ambiguousIssue,
9
9
  loadBrowserScript
10
- } from "./chunk-65CJV3HG.js";
10
+ } from "./chunk-EUDL2G25.js";
11
11
  import {
12
12
  auditClipDurations,
13
13
  shouldIgnoreHttpError,
14
14
  shouldIgnoreRequestFailure
15
- } from "./chunk-OLUL6BOC.js";
15
+ } from "./chunk-MLUOGC2J.js";
16
16
  import {
17
17
  serveStaticProjectHtml
18
- } from "./chunk-WIK27NBN.js";
18
+ } from "./chunk-BGDLHFZI.js";
19
19
  import {
20
20
  STUDIO_PREVIEW_CAPTURE_MODE,
21
21
  STUDIO_PREVIEW_MARK_META
22
- } from "./chunk-YZTGIVCU.js";
22
+ } from "./chunk-VV2MQA2M.js";
23
23
  import {
24
24
  FfmpegUnavailableError,
25
25
  decideMediaProxyEligibility,
@@ -28,11 +28,11 @@ import {
28
28
  resolveProxies,
29
29
  scanProjectMediaCodecMap,
30
30
  shouldPrewarmProxy
31
- } from "./chunk-MIJSNZCK.js";
31
+ } from "./chunk-3BWYSXMK.js";
32
32
  import {
33
33
  artifactDirectory,
34
34
  finishSnapshotRun
35
- } from "./chunk-QU5OYMTB.js";
35
+ } from "./chunk-UGUYWTWD.js";
36
36
  import {
37
37
  AUDIT_SEEK_OPTIONS,
38
38
  DEFAULT_ZOOM_PADDING_PX,
@@ -46,24 +46,24 @@ import {
46
46
  seekCompositionTimeline,
47
47
  seekInPage,
48
48
  waitForPreferredSeekTarget
49
- } from "./chunk-BYU5BWLS.js";
49
+ } from "./chunk-PUA7WRR3.js";
50
50
  import {
51
51
  SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
52
52
  } from "./chunk-YGGZ23BB.js";
53
53
  import {
54
54
  findStageProxyBox
55
- } from "./chunk-UWS3BKTB.js";
55
+ } from "./chunk-GO3BLPTW.js";
56
56
  import {
57
57
  resolveAutoProxy
58
- } from "./chunk-5J6IHFXE.js";
58
+ } from "./chunk-RVDNZAZY.js";
59
59
  import {
60
60
  BrowserCleanupError,
61
61
  closeManagedBrowser,
62
62
  onStopSignal
63
- } from "./chunk-TZOQFBBQ.js";
63
+ } from "./chunk-KYNASFVB.js";
64
64
  import {
65
65
  injectTagsAtHeadStart
66
- } from "./chunk-NWU7H447.js";
66
+ } from "./chunk-4PNFWK4W.js";
67
67
  import {
68
68
  normalizeErrorMessage
69
69
  } from "./chunk-E63BDV4Z.js";
@@ -582,7 +582,7 @@ function proxyFailedDraft(message) {
582
582
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
583
583
  }
584
584
  async function loadCheckHtmlWithDeferredMedia(dir) {
585
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-I7PYCJHZ.js");
585
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-FMOWLUNP.js");
586
586
  return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
587
587
  }
588
588
  function withCapturePreviewMark(html) {
@@ -644,7 +644,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
644
644
  ).map((draft) => runtimeFinding(draft, rootAnchor))
645
645
  }));
646
646
  const launchSettleMs = Date.now() - launchSettleStart;
647
- const { analyzeClipMediaFit } = await import("./src-27JZLSBO.js");
647
+ const { analyzeClipMediaFit } = await import("./src-OVSDMJIE.js");
648
648
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
649
649
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
650
650
  }
@@ -785,7 +785,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
785
785
  async function captureFindingFrames(project, options, requests, deadline) {
786
786
  if (requests.length === 0) return { written: [], inspected: [] };
787
787
  const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
788
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-I7PYCJHZ.js");
788
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-FMOWLUNP.js");
789
789
  return withCapturePreviewMark(
790
790
  await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
791
791
  );
@@ -7,6 +7,9 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  buildNpmCommand
9
9
  } from "./chunk-6BEFEWFB.js";
10
+ import {
11
+ hyperframesCacheDir
12
+ } from "./chunk-766MOTIZ.js";
10
13
 
11
14
  // src/utils/optionalPackages.ts
12
15
  import { spawn } from "child_process";
@@ -23,7 +26,6 @@ import {
23
26
  writeFileSync
24
27
  } from "fs";
25
28
  import { createRequire } from "module";
26
- import { homedir } from "os";
27
29
  import { basename, dirname, join, sep } from "path";
28
30
  var OPTIONAL_PACKAGES = {
29
31
  "onnxruntime-node": "1.21.1",
@@ -33,7 +35,7 @@ var PINNED_PACKAGES = {
33
35
  ...OPTIONAL_PACKAGES,
34
36
  "sherpa-onnx-node": "1.13.8"
35
37
  };
36
- var CACHE_DIR = join(homedir(), ".cache", "hyperframes", "optional");
38
+ var CACHE_DIR = hyperframesCacheDir("optional");
37
39
  var SHARP_VERSION = "0.35.3";
38
40
  function optionalPackageDir(name, cacheDir = CACHE_DIR) {
39
41
  return join(cacheDir, `${name.replace("/", "__")}@${versionOf(name)}`);
@@ -187,9 +189,9 @@ function loadBesideCli(name, cliUrl = import.meta.url) {
187
189
  const copy = pinnedPackageBesideCli(name, cliUrl);
188
190
  return copy?.resolution === "entry" ? createRequire(cliUrl)(copy.path) : null;
189
191
  }
190
- function runNpm(args, signal) {
192
+ function runNpm(args, signal, cwd) {
191
193
  const npm = buildNpmCommand(args);
192
- const child = spawn(npm.command, npm.args, { stdio: ["ignore", "pipe", "pipe"], signal });
194
+ const child = spawn(npm.command, npm.args, { stdio: ["ignore", "pipe", "pipe"], signal, cwd });
193
195
  return new Promise((resolve, reject) => {
194
196
  let output = "";
195
197
  child.stdout.on("data", (chunk) => output += chunk);
@@ -228,25 +230,26 @@ function sweepStaleStaging(dir) {
228
230
  }
229
231
  }
230
232
  }
231
- async function install(dir, name, version, run = runNpm) {
233
+ async function install(dir, name, version, run = (args, cwd) => runNpm(args, void 0, cwd)) {
232
234
  sweepStaleStaging(dir);
233
235
  const staging = `${dir}.tmp-${process.pid}-${randomUUID().slice(0, 8)}`;
234
236
  mkdirSync(staging, { recursive: true });
235
237
  writeFileSync(join(staging, "package.json"), "{}");
236
238
  try {
237
- await run([
238
- "install",
239
- `${name}@${version}`,
240
- "--prefix",
241
- staging,
242
- "--no-audit",
243
- "--no-fund",
244
- "--loglevel=error",
245
- // A first-use install is interactive, not a CI resolve: fail fast and name the
246
- // manual command instead of sitting through npm's default multi-minute backoff.
247
- "--fetch-retries=0",
248
- "--fetch-timeout=20000"
249
- ]);
239
+ await run(
240
+ [
241
+ "install",
242
+ `${name}@${version}`,
243
+ "--no-audit",
244
+ "--no-fund",
245
+ "--loglevel=error",
246
+ // A first-use install is interactive, not a CI resolve: fail fast and name the
247
+ // manual command instead of sitting through npm's default multi-minute backoff.
248
+ "--fetch-retries=0",
249
+ "--fetch-timeout=20000"
250
+ ],
251
+ staging
252
+ );
250
253
  if (isInstalled(dir, name)) return;
251
254
  rmSync(dir, { recursive: true, force: true });
252
255
  renameSync(staging, dir);
@@ -8,12 +8,12 @@ import {
8
8
  Semaphore,
9
9
  prepareHeifImageInputs,
10
10
  withMediaProbeSlot
11
- } from "./chunk-LDAKZ65G.js";
11
+ } from "./chunk-WKJQBDFQ.js";
12
12
  import {
13
13
  EncoderInterruptedError,
14
14
  encoderFailureError,
15
15
  prepareAnimatedGifInputs
16
- } from "./chunk-FHBWBQMS.js";
16
+ } from "./chunk-GLTWXKP7.js";
17
17
  import {
18
18
  GENERIC_FAMILIES,
19
19
  collectFontFamilyCustomProperties,
@@ -21,7 +21,7 @@ import {
21
21
  iterateFontFamilyDeclarations,
22
22
  normalizeSystemFontPrimaryFamilies,
23
23
  resolveFontFamilyDeclarationFamilies
24
- } from "./chunk-QNW43LWB.js";
24
+ } from "./chunk-Q3SKYJGG.js";
25
25
  import {
26
26
  parseEncoderOptions
27
27
  } from "./chunk-G6OKQMJI.js";
@@ -180,7 +180,7 @@ import {
180
180
  videoAudioId,
181
181
  videoStartOnMediaTimeline,
182
182
  writeCapturedFrame
183
- } from "./chunk-DCLGVVR7.js";
183
+ } from "./chunk-LSVDI3Q5.js";
184
184
  import {
185
185
  assignBundledRuntimeCompositionIds,
186
186
  emitMountedModuleScripts,
@@ -192,7 +192,7 @@ import {
192
192
  parsesAsScript,
193
193
  prepareFlattenedInnerRoot,
194
194
  stripSdrPngColourTags
195
- } from "./chunk-GHPR346W.js";
195
+ } from "./chunk-RWFJFVHA.js";
196
196
  import {
197
197
  collectScratchLeftovers,
198
198
  removeScratch,
@@ -211,7 +211,7 @@ import {
211
211
  parseVfxChain,
212
212
  resolveAuthoredTimingWindow,
213
213
  toFps
214
- } from "./chunk-SJAAY2FB.js";
214
+ } from "./chunk-WP4WBVCB.js";
215
215
  import {
216
216
  gsapCdnDist,
217
217
  normalizeGsapBaseUrl
@@ -250,7 +250,7 @@ import {
250
250
  sourceTimeAt,
251
251
  styleElementsFor,
252
252
  timeAtSourceTime
253
- } from "./chunk-NWU7H447.js";
253
+ } from "./chunk-4PNFWK4W.js";
254
254
  import {
255
255
  TRANSITIONS,
256
256
  convertTransfer,
@@ -266,13 +266,13 @@ import {
266
266
  import {
267
267
  lintHyperframeHtml,
268
268
  resolveReferencedStart
269
- } from "./chunk-GR2T3BOX.js";
269
+ } from "./chunk-GFD2HHF2.js";
270
270
  import {
271
271
  isUnresolvedAssetPlaceholder,
272
272
  readProjectFile,
273
273
  readTextFile,
274
274
  resolveProjectRelativeSrc
275
- } from "./chunk-2GTFW4MK.js";
275
+ } from "./chunk-WVRAFHJU.js";
276
276
  import {
277
277
  CSS_URL_RE,
278
278
  MEDIA_START_BASIS_ATTR,
@@ -7185,7 +7185,7 @@ async function readLocalFont(absPath) {
7185
7185
  return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
7186
7186
  }
7187
7187
  async function embedLocalFontFaces(html, projectDir) {
7188
- const { fontToDataUri: toDataUri } = await import("./deterministicFonts-LV2JMOJL.js");
7188
+ const { fontToDataUri: toDataUri } = await import("./deterministicFonts-H4RC6TOJ.js");
7189
7189
  const styleBlockRe = /<style\b[^>]*>([\s\S]*?)<\/style>/gi;
7190
7190
  const fontFaceRe = /@font-face\s*\{([^}]*)\}/gi;
7191
7191
  let result = html;
@@ -16803,7 +16803,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
16803
16803
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
16804
16804
  if (probeResult.probeSession) {
16805
16805
  try {
16806
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-27JZLSBO.js");
16806
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-OVSDMJIE.js");
16807
16807
  await closeCaptureSession2(probeResult.probeSession);
16808
16808
  } catch (err) {
16809
16809
  log.warn("[plan] probe session close failed", {
@@ -20177,7 +20177,7 @@ function startServer(options = {}) {
20177
20177
  });
20178
20178
  async function shutdown(signal) {
20179
20179
  log.info(`Received ${signal}, shutting down`);
20180
- const { drainBrowserPool } = await import("./src-27JZLSBO.js");
20180
+ const { drainBrowserPool } = await import("./src-OVSDMJIE.js");
20181
20181
  await drainBrowserPool().catch(() => {
20182
20182
  });
20183
20183
  const handle = await Promise.race([
@@ -0,0 +1,18 @@
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
+ // ../core/dist/cacheDir.js
9
+ import { homedir } from "os";
10
+ import { join, resolve } from "path";
11
+ function hyperframesCacheDir(...parts) {
12
+ const named = process.env["HYPERFRAMES_CACHE_DIR"];
13
+ return join(named ? resolve(named) : join(homedir(), ".cache", "hyperframes"), ...parts);
14
+ }
15
+
16
+ export {
17
+ hyperframesCacheDir
18
+ };
@@ -9,14 +9,14 @@ import {
9
9
  } from "./chunk-SWC3QIEH.js";
10
10
  import {
11
11
  stoppedByCancelSignal
12
- } from "./chunk-KANCJWEU.js";
12
+ } from "./chunk-E5EGU7QQ.js";
13
13
  import {
14
14
  DEFAULT_MODEL,
15
15
  ensureModel,
16
16
  ensureWhisper,
17
17
  hasFFmpeg,
18
18
  pinnedWhisperModel
19
- } from "./chunk-GB4ZE5GE.js";
19
+ } from "./chunk-WBEBBMQJ.js";
20
20
  import {
21
21
  sha256File
22
22
  } from "./chunk-RZ6CXJ56.js";
@@ -24,7 +24,7 @@ import {
24
24
  findFFmpeg,
25
25
  findFFprobe,
26
26
  getFFmpegInstallHint
27
- } from "./chunk-UWM22NR5.js";
27
+ } from "./chunk-MXO7BJXE.js";
28
28
  import {
29
29
  findWavChunk
30
30
  } from "./chunk-UOFAE5RF.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  round,
9
9
  runFfmpeg
10
- } from "./chunk-2WZSWSVB.js";
10
+ } from "./chunk-ISNSSHML.js";
11
11
 
12
12
  // src/measure/drawn.ts
13
13
  import { mkdtempSync, readFileSync, rmSync } from "fs";
@@ -16,6 +16,9 @@ import {
16
16
  managedChromeVersion,
17
17
  pickSharedShell
18
18
  } from "./chunk-WE42NVH7.js";
19
+ import {
20
+ hyperframesCacheDir
21
+ } from "./chunk-766MOTIZ.js";
19
22
  import {
20
23
  normalizeErrorMessage
21
24
  } from "./chunk-E63BDV4Z.js";
@@ -146,8 +149,8 @@ Fix: run \`npm install\` or \`bun install\` to restore missing packages, then re
146
149
  );
147
150
  }
148
151
  }
149
- var CACHE_ROOT_DIR = join(homedir(), ".cache", "hyperframes");
150
- var CACHE_DIR = join(homedir(), ".cache", "hyperframes", "chrome");
152
+ var CACHE_ROOT_DIR = hyperframesCacheDir();
153
+ var CACHE_DIR = hyperframesCacheDir("chrome");
151
154
  var ARCHIVE_PLUS_UNPACKED_SHELL_MB = 512;
152
155
  var PUPPETEER_CACHE_DIR = join(homedir(), ".cache", "puppeteer", "chrome-headless-shell");
153
156
  var INSTALL_LOCK_DIR = join(CACHE_ROOT_DIR, ".chrome.install.lock");
@@ -562,26 +565,18 @@ async function installWithCorruptArchiveRecovery(runInstall, clearCache, onRecov
562
565
  return await runInstall();
563
566
  }
564
567
  }
565
- function browserPathHintForPlatform() {
566
- if (process.platform === "darwin") {
567
- return "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome";
568
- }
569
- if (process.platform === "win32") {
570
- return "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe";
571
- }
572
- return "/usr/bin/google-chrome";
573
- }
574
568
  function wrapDownloadFailureWithBrowserPathHint(cause, unzipLog) {
575
569
  const original = normalizeErrorMessage(cause);
576
570
  const unzipErrors = unzipLog.length > 0 ? ` Unzip errors: ${unzipLog.join("; ")}` : "";
577
- const example = browserPathHintForPlatform();
578
- const message = `Failed to install chrome-headless-shell ${managedChromeVersion()}: ${original}${unzipErrors}
571
+ const installed = findSystemBrowser()?.executablePath;
572
+ const pointAt = installed ? `Point hyperframes at the Chrome already installed here instead:
579
573
 
580
- Point hyperframes at an already-installed Chrome/Chromium instead:
574
+ export HYPERFRAMES_BROWSER_PATH="${installed}"
581
575
 
582
- export HYPERFRAMES_BROWSER_PATH="${example}"
576
+ Run \`hyperframes doctor\` to see which Chrome was found. Then re-run your command. ` : `No Chrome or Chromium was found on this machine. Install Google Chrome, then set HYPERFRAMES_BROWSER_PATH to its executable and re-run your command. `;
577
+ const message = `Failed to install chrome-headless-shell ${managedChromeVersion()}: ${original}${unzipErrors}
583
578
 
584
- Run \`hyperframes doctor\` to see which Chrome was found. Then re-run your command. Any Chrome build works for the screenshot capture path; install a real chrome-headless-shell later if you need the perf-optimized BeginFrame path. Alternatively, run inside the hyperframes Docker image which ships a compatible headless-shell.`;
579
+ ` + pointAt + `Any Chrome build works for the screenshot capture path; install a real chrome-headless-shell later if you need the perf-optimized BeginFrame path. Alternatively, run inside the hyperframes Docker image which ships a compatible headless-shell.`;
585
580
  return new Error(message, { cause: cause instanceof Error ? cause : void 0 });
586
581
  }
587
582
  var DOWNLOAD_STALL_MS = 6e4;
@@ -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-3MJIP7L3.js";
9
+ } from "./chunk-3NS7IS2V.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-QU5OYMTB.js";
16
+ } from "./chunk-UGUYWTWD.js";
17
17
  import {
18
18
  findPreviewServerForProject,
19
19
  studioApiUrl
@@ -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
+ hyperframesCacheDir
9
+ } from "./chunk-766MOTIZ.js";
7
10
 
8
11
  // src/warmCheckProtocol.ts
9
12
  import { createHash, createHmac, randomBytes, timingSafeEqual } from "crypto";
@@ -34,7 +37,7 @@ function privateToMe(path, kind) {
34
37
  return stat.uid === process.getuid?.() && (stat.mode & 63) === 0;
35
38
  }
36
39
  function warmCheckDirectory(env = process.env) {
37
- const dir = process.platform === "win32" ? join(env.LOCALAPPDATA ?? join(homedir(), "AppData", "Local"), "hyperframes", "warm") : env.XDG_RUNTIME_DIR ? join(env.XDG_RUNTIME_DIR, "hyperframes-warm") : join(homedir(), ".cache", "hyperframes", "warm");
40
+ const dir = process.platform === "win32" ? join(env.LOCALAPPDATA ?? join(homedir(), "AppData", "Local"), "hyperframes", "warm") : env.XDG_RUNTIME_DIR ? join(env.XDG_RUNTIME_DIR, "hyperframes-warm") : hyperframesCacheDir("warm");
38
41
  try {
39
42
  mkdirSync(dir, { recursive: true, mode: 448 });
40
43
  } catch {
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-AJAK6K6Z.js";
13
+ } from "./chunk-HSYXJPQQ.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCuts
9
- } from "./chunk-C4YBIKYO.js";
9
+ } from "./chunk-GJCLAPUP.js";
10
10
  import {
11
11
  grey,
12
12
  readClip,
13
13
  round,
14
14
  videoClip,
15
15
  writeImage
16
- } from "./chunk-2WZSWSVB.js";
16
+ } from "./chunk-ISNSSHML.js";
17
17
 
18
18
  // src/measure/events.ts
19
19
  var EVENT_W = 160;
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType,
9
9
  injectMediaCodecMapIntoHtml
10
- } from "./chunk-YZTGIVCU.js";
10
+ } from "./chunk-VV2MQA2M.js";
11
11
  import {
12
12
  PROXY_VARIANT_CONFIG,
13
13
  ProxyCapacityError,
@@ -18,23 +18,23 @@ import {
18
18
  recordProxyRequest,
19
19
  resolveProxy,
20
20
  resolveProxyVariantRequest
21
- } from "./chunk-MIJSNZCK.js";
21
+ } from "./chunk-3BWYSXMK.js";
22
22
  import {
23
23
  findStageProxyBox
24
- } from "./chunk-UWS3BKTB.js";
24
+ } from "./chunk-GO3BLPTW.js";
25
25
  import {
26
26
  resolveAutoProxy
27
- } from "./chunk-5J6IHFXE.js";
27
+ } from "./chunk-RVDNZAZY.js";
28
28
  import {
29
29
  listenOnBrowserSafePort
30
- } from "./chunk-DCLGVVR7.js";
30
+ } from "./chunk-LSVDI3Q5.js";
31
31
  import {
32
32
  stripSdrPngColourTags
33
- } from "./chunk-GHPR346W.js";
33
+ } from "./chunk-RWFJFVHA.js";
34
34
  import {
35
35
  PREVIEW_PROXY_BOX_PARAM,
36
36
  parsePreviewProxyBox
37
- } from "./chunk-SJAAY2FB.js";
37
+ } from "./chunk-WP4WBVCB.js";
38
38
  import {
39
39
  decodeWellFormedEscapes
40
40
  } from "./chunk-C2KEGBR3.js";
@@ -10,13 +10,13 @@ import {
10
10
  parseNumbers,
11
11
  parseRoi,
12
12
  probeVideo
13
- } from "./chunk-2WZSWSVB.js";
13
+ } from "./chunk-ISNSSHML.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-2GICKZ3I.js";
17
17
  import {
18
18
  withMeta
19
- } from "./chunk-VPCKLVUT.js";
19
+ } from "./chunk-W3KXPHD7.js";
20
20
  import {
21
21
  failCommand
22
22
  } from "./chunk-66W5IWLO.js";
@@ -12,15 +12,15 @@ import {
12
12
  ensureHfIds,
13
13
  mintHfId,
14
14
  walkCompositionDescendants
15
- } from "./chunk-GHPR346W.js";
15
+ } from "./chunk-RWFJFVHA.js";
16
16
  import {
17
17
  isAllowedHtmlAttribute,
18
18
  isSafeAttributeValue,
19
19
  sanitizeRichTextChildren
20
- } from "./chunk-SJAAY2FB.js";
20
+ } from "./chunk-WP4WBVCB.js";
21
21
  import {
22
22
  require_dist
23
- } from "./chunk-GR2T3BOX.js";
23
+ } from "./chunk-GFD2HHF2.js";
24
24
  import {
25
25
  SPLIT_BOUNDARY_EPSILON_S,
26
26
  readClipTiming,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  setHostHandlesSigint
9
- } from "./chunk-DCLGVVR7.js";
9
+ } from "./chunk-LSVDI3Q5.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
13
- } from "./chunk-SJAAY2FB.js";
13
+ } from "./chunk-WP4WBVCB.js";
14
14
  import {
15
15
  parseHTML
16
16
  } from "./chunk-GWTIFRF5.js";
@@ -16,15 +16,15 @@ import {
16
16
  pinnedPackageBesideCli,
17
17
  runNpm,
18
18
  sweepStaleStaging
19
- } from "./chunk-Y65ZU7XY.js";
19
+ } from "./chunk-5UT3R43E.js";
20
20
  import {
21
21
  emitWords,
22
22
  getPreparedWavDurationSeconds,
23
23
  prepareWav
24
- } from "./chunk-44H3ZPQ2.js";
24
+ } from "./chunk-7GWGRB7H.js";
25
25
  import {
26
26
  stoppedByCancelSignal
27
- } from "./chunk-KANCJWEU.js";
27
+ } from "./chunk-E5EGU7QQ.js";
28
28
  import {
29
29
  verifies
30
30
  } from "./chunk-RZ6CXJ56.js";
@@ -36,12 +36,14 @@ import {
36
36
  mergeWindowsToWords,
37
37
  writeParakeetTranscript
38
38
  } from "./chunk-JZIEZCQM.js";
39
+ import {
40
+ hyperframesCacheDir
41
+ } from "./chunk-766MOTIZ.js";
39
42
 
40
43
  // src/whisper/sherpa.ts
41
44
  import { execFile, spawn } from "child_process";
42
45
  import { randomUUID } from "crypto";
43
46
  import { mkdirSync, renameSync, rmSync, statSync } from "fs";
44
- import { homedir } from "os";
45
47
  import { join } from "path";
46
48
  import { createInterface } from "readline";
47
49
  import { fileURLToPath } from "url";
@@ -53,13 +55,7 @@ var SHERPA_RUNTIME_DIR = join(
53
55
  );
54
56
  var MODEL_REPO = "csukuangfj/sherpa-onnx-nemo-parakeet-tdt-0.6b-v3-int8";
55
57
  var MODEL_REVISION = "2bda32ec70b097a55adaa07d9a7173915b43cc78";
56
- var PARAKEET_MODEL_DIR = join(
57
- homedir(),
58
- ".cache",
59
- "hyperframes",
60
- "parakeet",
61
- "parakeet-tdt-0.6b-v3-int8"
62
- );
58
+ var PARAKEET_MODEL_DIR = hyperframesCacheDir("parakeet", "parakeet-tdt-0.6b-v3-int8");
63
59
  var PARAKEET_MODEL_FILES = [
64
60
  {
65
61
  name: "encoder.int8.onnx",
@@ -198,7 +194,7 @@ async function installSherpaRuntime({
198
194
  if (present.status === "ready") return { installed: false, runtimePath: present.path };
199
195
  rmSync(dir, { recursive: true, force: true });
200
196
  const native = sherpaPlatformPackage();
201
- await install(dir, RUNTIME, RUNTIME_VERSION, (args) => run([...args, native], signal));
197
+ await install(dir, RUNTIME, RUNTIME_VERSION, (args, cwd) => run([...args, native], signal, cwd));
202
198
  const selected = await cachedRuntime(dir, 6e4, signal);
203
199
  if (selected.status === "unavailable") {
204
200
  throw new Error(