hyperframes 0.9.33 → 0.9.35

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 (316) hide show
  1. package/bin/hyperframes.mjs +10 -0
  2. package/dist/{add-GDXM36YQ.js → add-T5XBJN7F.js} +17 -16
  3. package/dist/{agentPromptGenerator-KPNDH2EI.js → agentPromptGenerator-KYLYM7IC.js} +11 -11
  4. package/dist/{animatedGifPrep-SAKETEZ2.js → animatedGifPrep-FLIPCLVQ.js} +10 -10
  5. package/dist/api.js +41 -41
  6. package/dist/{appHistory-WZIHFCPK.js → appHistory-VOZOEPVK.js} +3 -3
  7. package/dist/{asset-KOJC72AQ.js → asset-PJLMPMBK.js} +3 -3
  8. package/dist/{assetCataloger-Q4ZFUI6G.js → assetCataloger-ZQ2PWA47.js} +12 -12
  9. package/dist/{audio-XZBBXKQC.js → audio-EBICH5EQ.js} +21 -21
  10. package/dist/{auth-X45YSZGE.js → auth-OTDAEZYD.js} +2 -2
  11. package/dist/{autoUpdate-77XWQ564.js → autoUpdate-TQWOBFKJ.js} +2 -2
  12. package/dist/{avatars-D3D22TI2.js → avatars-WRUDCHTJ.js} +14 -14
  13. package/dist/{backgroundChecks-2L2RWFJ3.js → backgroundChecks-AMPTVQY5.js} +3 -3
  14. package/dist/backgroundChecksWorker.js +5 -4
  15. package/dist/{batchRender-O7J47H2Z.js → batchRender-SGTA6JAT.js} +6 -6
  16. package/dist/{beats-6RVVU56H.js → beats-TLHZXD7W.js} +13 -13
  17. package/dist/{benchmark-D5JRNAVQ.js → benchmark-TAXHNW33.js} +11 -11
  18. package/dist/{billing-WT4DGZII.js → billing-GOHX7W6X.js} +15 -15
  19. package/dist/{browser-2OR737P4.js → browser-H7K5L7WE.js} +10 -9
  20. package/dist/{bundleWithLocalizedFonts-VBET4RVR.js → bundleWithLocalizedFonts-6VWRV726.js} +1 -1
  21. package/dist/{capture-23X2CK56.js → capture-WJAV7DPT.js} +22 -22
  22. package/dist/{capture-B34FTO6G.js → capture-WVJK3FNU.js} +4 -4
  23. package/dist/{captureCompositionFrame-TPZKEVKN.js → captureCompositionFrame-R2OQ5A4S.js} +18 -18
  24. package/dist/{captureFile-Y2ZMB7HK.js → captureFile-MRDRPMNA.js} +3 -3
  25. package/dist/{catalog-ACHSYU5Z.js → catalog-JKDKE3QA.js} +17 -16
  26. package/dist/{catch-up-FGANS2BB.js → catch-up-65YBZQSC.js} +11 -11
  27. package/dist/{check-DXK4L5WP.js → check-XMNNDKNC.js} +50 -50
  28. package/dist/{checkAudio-4ISYJED3.js → checkAudio-ITIWPYET.js} +14 -14
  29. package/dist/{checkBrowser-5ECMULMP.js → checkBrowser-MQHZWWLA.js} +43 -43
  30. package/dist/{chunk-2I4DQZLQ.js → chunk-2QM6JA3F.js} +23 -37
  31. package/dist/{chunk-UC4X6I35.js → chunk-3F2DTPBD.js} +0 -6
  32. package/dist/chunk-42KTBKL4.js +5053 -0
  33. package/dist/{chunk-DMZER7D5.js → chunk-46ZLBZPE.js} +2 -2
  34. package/dist/{chunk-7UUUV4PN.js → chunk-47JK3BOK.js} +1 -1
  35. package/dist/{chunk-I3PA54IU.js → chunk-4IPKEJPW.js} +1 -1
  36. package/dist/{chunk-MDGNQWFN.js → chunk-5M43Z25X.js} +1 -1
  37. package/dist/{chunk-CHM3QYLF.js → chunk-5OHPI5OR.js} +3 -3
  38. package/dist/{chunk-SOAQ3XXB.js → chunk-5TAFQEKH.js} +2 -2
  39. package/dist/{chunk-XDRSEU2I.js → chunk-6AJG7TMS.js} +6 -6
  40. package/dist/{chunk-G7PITEUH.js → chunk-6MYO2IHD.js} +1 -1
  41. package/dist/{chunk-BMDABBHG.js → chunk-7IVPSA4K.js} +5 -17
  42. package/dist/{chunk-HPKW6UVW.js → chunk-7JCATDO6.js} +3 -3
  43. package/dist/{chunk-JZIEZCQM.js → chunk-7PBJR7WI.js} +5 -12
  44. package/dist/{chunk-O2T6ZTLN.js → chunk-7SUMXO6L.js} +1 -1
  45. package/dist/{chunk-UE2WSWNA.js → chunk-7ZYTAHZ2.js} +1 -1
  46. package/dist/{chunk-YTUPQTXA.js → chunk-A2MYAIM3.js} +10 -10
  47. package/dist/{chunk-A4VXOJZO.js → chunk-A2OQGUBL.js} +3 -3
  48. package/dist/{chunk-YNFHZ4RI.js → chunk-A3CUI2S2.js} +3 -3
  49. package/dist/{chunk-JCJJCYCP.js → chunk-A3MH6DGU.js} +10 -10
  50. package/dist/{chunk-VZQXHYEI.js → chunk-A3UI2LNA.js} +3 -3
  51. package/dist/{chunk-DDDSTRHU.js → chunk-ADAXA5XD.js} +26 -8
  52. package/dist/{chunk-2TBW7UOF.js → chunk-AOZKUVTY.js} +203 -115
  53. package/dist/{chunk-T3GSTIBS.js → chunk-AU6UGZZ4.js} +3 -3
  54. package/dist/{chunk-N6Y645MX.js → chunk-B7GOS2BL.js} +1 -1
  55. package/dist/{chunk-2QTGQGYA.js → chunk-BFXSMYNY.js} +1 -1
  56. package/dist/{chunk-IYLGUQFR.js → chunk-BHOEEMCW.js} +3 -3
  57. package/dist/{chunk-XUDJ5XSQ.js → chunk-BHPPJMXP.js} +6 -6
  58. package/dist/{chunk-REJ4NIBY.js → chunk-BHSQSWN6.js} +1 -1
  59. package/dist/{chunk-MA35E5OY.js → chunk-BTYCPOPD.js} +2 -2
  60. package/dist/{chunk-GHLLC6LJ.js → chunk-CEBLQRYG.js} +2 -2
  61. package/dist/{chunk-2LMCARA5.js → chunk-CI34E4VF.js} +6 -4
  62. package/dist/{chunk-CKJDY6EK.js → chunk-DC7AOIHN.js} +1 -1
  63. package/dist/{chunk-6ZVUTYNB.js → chunk-DLJ6ESP7.js} +6 -6
  64. package/dist/{chunk-23354HMA.js → chunk-DVAKYHZN.js} +3 -3
  65. package/dist/{chunk-B66UZ2YK.js → chunk-DYNIPOEN.js} +6 -6
  66. package/dist/{chunk-R45WFVRA.js → chunk-ECYVLHZZ.js} +2 -2
  67. package/dist/{chunk-W2FSQBUR.js → chunk-EIBERSJ2.js} +14 -14
  68. package/dist/{chunk-EX533ULK.js → chunk-EVMSNLUQ.js} +2 -2
  69. package/dist/{chunk-WYPRTHXQ.js → chunk-EXMJ7JS5.js} +2 -2
  70. package/dist/{chunk-I35B5RWZ.js → chunk-F645WHPZ.js} +4 -4
  71. package/dist/{chunk-ZIYXPDKY.js → chunk-FF6T5VPF.js} +2 -2
  72. package/dist/{chunk-G55YEL2L.js → chunk-FJ4PIVGB.js} +436 -57
  73. package/dist/{chunk-YAS347ZS.js → chunk-FLVHLNQN.js} +1 -1
  74. package/dist/{chunk-HEXTAQYG.js → chunk-FYCI7NEH.js} +2 -2
  75. package/dist/{chunk-6RV2QY4K.js → chunk-G4CQIZZC.js} +23 -23
  76. package/dist/{chunk-BBL6STGK.js → chunk-GHCG2KZD.js} +2 -2
  77. package/dist/{chunk-XVVPEWNX.js → chunk-GPERPLAQ.js} +1 -1
  78. package/dist/{chunk-VQJLTYEK.js → chunk-GT5REDGY.js} +2 -2
  79. package/dist/{chunk-CDI3CCAU.js → chunk-GUYH2XH2.js} +12 -14
  80. package/dist/{chunk-4DLYTSWQ.js → chunk-H3DP5ELI.js} +1 -1
  81. package/dist/chunk-HOIEN7O4.js +31 -0
  82. package/dist/{chunk-4CHGNFCS.js → chunk-I5VIATAH.js} +4 -4
  83. package/dist/{chunk-2B2IMLUQ.js → chunk-I6V25IXG.js} +1 -1
  84. package/dist/{chunk-76KUCQXD.js → chunk-IARWDMY7.js} +3 -3
  85. package/dist/{chunk-KRWPTZBY.js → chunk-IU5DC4HP.js} +94 -42
  86. package/dist/{chunk-PXDRW3QN.js → chunk-J466WOMZ.js} +1 -1
  87. package/dist/{chunk-6QEEF5RR.js → chunk-J54ZPEWO.js} +1 -1
  88. package/dist/{chunk-DGC2RIQE.js → chunk-JN3N335Z.js} +4 -4
  89. package/dist/{chunk-N2C7WJDG.js → chunk-KCIZBYAS.js} +1 -1
  90. package/dist/{chunk-SVI2CJ6R.js → chunk-KCPIENND.js} +1 -1
  91. package/dist/{chunk-W5PW26KE.js → chunk-KEUDODWJ.js} +1 -1
  92. package/dist/{chunk-QWM3NY2E.js → chunk-KKIAPWVZ.js} +4 -4
  93. package/dist/{chunk-ROXILOZ6.js → chunk-KLXPYLNA.js} +2 -2
  94. package/dist/{chunk-3J32XVJ6.js → chunk-LCK6C46G.js} +3 -3
  95. package/dist/{chunk-EVMY7IPL.js → chunk-LD6JONPV.js} +155 -22
  96. package/dist/{chunk-YSHUIQ3I.js → chunk-LO74I6MZ.js} +1 -1
  97. package/dist/{chunk-CNJLBAKM.js → chunk-LQV2PMKI.js} +2 -2
  98. package/dist/{chunk-N7C7U3ZR.js → chunk-M425BL2U.js} +22 -11
  99. package/dist/{chunk-MP36L7OJ.js → chunk-MG6GU4FF.js} +2 -2
  100. package/dist/{chunk-AIC7T7CC.js → chunk-MM5URNHE.js} +2 -2
  101. package/dist/{chunk-PIEVAPKP.js → chunk-MYETYFDI.js} +1 -1
  102. package/dist/{chunk-CHJGVW5W.js → chunk-N36NHUGP.js} +4 -11
  103. package/dist/{chunk-EX7WPDFA.js → chunk-NABIUZRZ.js} +2 -2
  104. package/dist/{chunk-4US5QCXR.js → chunk-NJF566HN.js} +77 -31
  105. package/dist/{chunk-XQWWFIBR.js → chunk-NMQ26YZX.js} +2 -2
  106. package/dist/{chunk-MVIUSNPZ.js → chunk-NQAXN2B2.js} +1 -1
  107. package/dist/{chunk-YDG3OXH3.js → chunk-NQE4NKVE.js} +2 -2
  108. package/dist/{chunk-ETWXZQN5.js → chunk-NTVSXJHQ.js} +2 -2
  109. package/dist/{chunk-U77L3ZQZ.js → chunk-OW5BBEVE.js} +1 -1
  110. package/dist/{chunk-SUXEL7G4.js → chunk-OYCKZZDC.js} +11 -11
  111. package/dist/{chunk-Y5DOT5NQ.js → chunk-PHDEKHEN.js} +1 -1
  112. package/dist/{chunk-KIAY63AB.js → chunk-PIA7JBWF.js} +26 -14
  113. package/dist/{chunk-RGYOCAHC.js → chunk-PP6XMZXN.js} +2 -2
  114. package/dist/{chunk-XFXCI4IP.js → chunk-Q4RX6D2H.js} +2 -2
  115. package/dist/{chunk-4WZU4FYS.js → chunk-QZFKLORI.js} +4 -4
  116. package/dist/{chunk-ADYMQM7T.js → chunk-R43U3RJ3.js} +2 -2
  117. package/dist/{chunk-C2VZ7UPE.js → chunk-RES7SNFU.js} +15 -15
  118. package/dist/{chunk-2RBQLV6B.js → chunk-RK3KWEOM.js} +1 -1
  119. package/dist/{chunk-ZOAANTVI.js → chunk-RZBPK4LO.js} +1 -1
  120. package/dist/{chunk-5GYTBKZA.js → chunk-S5FHA2NX.js} +2 -2
  121. package/dist/{chunk-SWPI27QV.js → chunk-SG4DOSAE.js} +8 -8
  122. package/dist/{chunk-L6BFXQ6S.js → chunk-SJGYWLHO.js} +3 -3
  123. package/dist/{chunk-JSVCF4A6.js → chunk-SM36NR25.js} +2 -2
  124. package/dist/{chunk-WIMVXPYG.js → chunk-SODOJ4CP.js} +11 -11
  125. package/dist/{chunk-ERJBWDPM.js → chunk-SWOE4NH4.js} +6 -6
  126. package/dist/{chunk-4FTJE22M.js → chunk-SZUO4O74.js} +2 -2
  127. package/dist/{chunk-O5CNNVRY.js → chunk-TORIKOIX.js} +8 -8
  128. package/dist/{chunk-TFBPCJPG.js → chunk-U47ZNIUB.js} +1 -1
  129. package/dist/{chunk-NQFIMBXS.js → chunk-UFWTTQ72.js} +2 -2
  130. package/dist/{chunk-FRH3CPW5.js → chunk-V4XLGSUL.js} +1 -1
  131. package/dist/{chunk-XSHJ37U3.js → chunk-VQVA4FRS.js} +8 -8
  132. package/dist/{chunk-HMB3IAVP.js → chunk-VX5JYR6N.js} +2 -2
  133. package/dist/{chunk-GOMTMQRT.js → chunk-VXVDZFZL.js} +1 -1
  134. package/dist/{chunk-MDBEAWP2.js → chunk-VYARX4SV.js} +3 -3
  135. package/dist/{chunk-77UB5EHM.js → chunk-WCSGSWKA.js} +1 -1
  136. package/dist/{chunk-2KYLVWLO.js → chunk-WWKU5VK7.js} +1 -1
  137. package/dist/{chunk-45ZQI734.js → chunk-X47GMPT2.js} +2 -2
  138. package/dist/{chunk-IEEIPTDW.js → chunk-X5BRDEOM.js} +2 -2
  139. package/dist/{chunk-G2XAFJ2B.js → chunk-X73RI4GQ.js} +2 -2
  140. package/dist/{chunk-7LTXT7ME.js → chunk-XAPVWRO5.js} +2 -2
  141. package/dist/{chunk-PNP2BO3U.js → chunk-XKL3WQI2.js} +3 -3
  142. package/dist/{chunk-RCB4SGTB.js → chunk-XODMUHGW.js} +50 -13
  143. package/dist/{chunk-HZTRKUKE.js → chunk-XWK2RSD5.js} +37 -0
  144. package/dist/{chunk-SIGASWB7.js → chunk-Y6U6DDBC.js} +4 -4
  145. package/dist/chunk-YFC5II7G.js +143 -0
  146. package/dist/chunk-YHJOTCTV.js +16 -0
  147. package/dist/{chunk-VKZSAAXZ.js → chunk-YUG4GVRH.js} +4 -4
  148. package/dist/{chunk-GBIASKIH.js → chunk-Z7VKBKC3.js} +1 -1
  149. package/dist/{chunk-OD7PLYYX.js → chunk-ZKGDIPMD.js} +32 -23
  150. package/dist/{chunk-LIWK3MFR.js → chunk-ZLTB7ZCQ.js} +6 -6
  151. package/dist/{chunk-5RVPI6QL.js → chunk-ZOL6363C.js} +3 -3
  152. package/dist/{clean-3IN64RHM.js → clean-MTIRQX5P.js} +28 -28
  153. package/dist/cli.js +66 -65
  154. package/dist/{cloud-LBUZBUP6.js → cloud-MWZ3SO3Z.js} +4 -4
  155. package/dist/{cloud-SVYXHFEG.js → cloud-SXXNSICW.js} +3 -3
  156. package/dist/{cloudrun-PZOF2QGL.js → cloudrun-7ZLJG5K7.js} +8 -8
  157. package/dist/{compare-UOJ3LXQQ.js → compare-336QVVJC.js} +42 -42
  158. package/dist/{compiler-5ZDHBKBQ.js → compiler-HYZUBDAD.js} +6 -6
  159. package/dist/{component-EVIPLTTJ.js → component-NEPVQVDF.js} +4 -4
  160. package/dist/{compositions-R4GG5FBO.js → compositions-5UXCOLME.js} +15 -15
  161. package/dist/{contactSheet-HZMP42FZ.js → contactSheet-3YTXO7U5.js} +4 -4
  162. package/dist/{curve-LR3PSRW3.js → curve-GDAFPSYA.js} +14 -14
  163. package/dist/{cuts-DHCOBAFT.js → cuts-U5XZJLGG.js} +15 -15
  164. package/dist/{delete-MMGGU3QP.js → delete-G4U723IG.js} +7 -7
  165. package/dist/{deploy-SKIGUTM2.js → deploy-ZJ6GBOAW.js} +2 -2
  166. package/dist/{describeProject-L7HNTBPV.js → describeProject-NOXO6HJS.js} +11 -11
  167. package/dist/{destroy-5HSMMDH7.js → destroy-ZYOIJW7D.js} +2 -2
  168. package/dist/{deterministicFonts-2ZPRAI3C.js → deterministicFonts-UDNPRDYM.js} +4 -4
  169. package/dist/{diff-KR7VKPYL.js → diff-NZ7IBYWS.js} +36 -36
  170. package/dist/{dist-3MFNUZSN.js → dist-CF7A6UPR.js} +3 -3
  171. package/dist/{dist-ZGYPFYOH.js → dist-I3WOJFIM.js} +4 -4
  172. package/dist/{dist-HK3AZNNL.js → dist-YSFMNDNF.js} +26 -23
  173. package/dist/{doctor-G7VGNSA5.js → doctor-OAEXYBD5.js} +17 -17
  174. package/dist/{energy-H7EEH6WO.js → energy-36Y2RVKN.js} +15 -15
  175. package/dist/{events-YD6N7OPQ.js → events-7MO6VYY5.js} +7 -7
  176. package/dist/{events-ASG27IXP.js → events-BN5A4QSC.js} +17 -17
  177. package/dist/{events-5ATZCZTK.js → events-OY5PAL44.js} +2 -2
  178. package/dist/{execute-OAS454OB.js → execute-6QR32QHM.js} +34 -34
  179. package/dist/{extract-645SENLA.js → extract-GS4GFBJ4.js} +15 -15
  180. package/dist/{face-WRT5XH4I.js → face-DXIURLMN.js} +16 -16
  181. package/dist/{feedback-3LKLR5MV.js → feedback-L5B5D2H4.js} +14 -14
  182. package/dist/{ffmpeg-PXKIZL2X.js → ffmpeg-RO3TC7DT.js} +10 -10
  183. package/dist/{figma-RIEVJJBW.js → figma-YSLP3NDJ.js} +3 -3
  184. package/dist/fontLocalizeCli.js +18 -17
  185. package/dist/{frames-OTB3J5W3.js → frames-NNGPW5Q5.js} +17 -17
  186. package/dist/{generate-IUKCZW2D.js → generate-IYY5CQKF.js} +26 -26
  187. package/dist/{get-6WVQ7TBV.js → get-GHTMJWAX.js} +7 -7
  188. package/dist/{gpuPolicy-HXSVAEU4.js → gpuPolicy-UGUQTJXT.js} +10 -10
  189. package/dist/{grade-compare-TCAYHDEF.js → grade-compare-HMQIS6CO.js} +41 -41
  190. package/dist/hangReport.js +2 -1
  191. package/dist/{heifImagePrep-GXIMK4HK.js → heifImagePrep-6CHEBOTB.js} +11 -11
  192. package/dist/{help-RGOL5EJD.js → help-M6V73NMA.js} +1 -1
  193. package/dist/{history-XKPRGJGS.js → history-JLNS7C6E.js} +15 -15
  194. package/dist/hyperframe.manifest.json +1 -1
  195. package/dist/hyperframe.runtime.iife.js +64 -64
  196. package/dist/hyperframes-player.global.js +1 -1
  197. package/dist/{info-EYBBC42V.js → info-VHVWJBZ5.js} +17 -17
  198. package/dist/{init-F2FWPSMA.js → init-RAWSPX3T.js} +33 -33
  199. package/dist/{ink-BWFERAAT.js → ink-R2VCYLF3.js} +15 -15
  200. package/dist/{inspect-74N7L3BW.js → inspect-ODGFUWRM.js} +41 -41
  201. package/dist/{installer-LOUR7G4R.js → installer-YAJDSTNZ.js} +8 -8
  202. package/dist/{keyframes-WB5PTKFE.js → keyframes-MWS46OMG.js} +11 -11
  203. package/dist/{lambda-JYCNXUKB.js → lambda-EPIPZ62Q.js} +17 -17
  204. package/dist/{layout-P52EVR24.js → layout-IVOS3PHW.js} +41 -41
  205. package/dist/{lint-SL55KAS2.js → lint-G3XW5PVR.js} +13 -13
  206. package/dist/{lintProject-46WU53VC.js → lintProject-L42FF7XI.js} +3 -3
  207. package/dist/{list-LN6CQH52.js → list-25OWFBNT.js} +8 -8
  208. package/dist/{localPage-L6OJU3UH.js → localPage-PAUE6E6K.js} +11 -11
  209. package/dist/{login-WTOAMDID.js → login-EHL5EH3E.js} +4 -4
  210. package/dist/{look-O6ESLJRP.js → look-H2AAYHQC.js} +15 -15
  211. package/dist/{manager-IAXYSRG5.js → manager-DLEEPJVW.js} +2 -1
  212. package/dist/{manager-CMEZWENF.js → manager-T3FIJKIL.js} +11 -11
  213. package/dist/{measure-NEIXU53P.js → measure-IAGLDGL2.js} +11 -11
  214. package/dist/{media-treatment-6CAQG7MU.js → media-treatment-F53Y4K2K.js} +17 -17
  215. package/dist/{media-use-IXJFMKU7.js → media-use-7XRQIXDO.js} +22 -7
  216. package/dist/{models-TZALWUEY.js → models-UA72SFBG.js} +16 -16
  217. package/dist/{motionShot-OQYK6G6M.js → motionShot-WRHPBYSX.js} +22 -22
  218. package/dist/{normalize-audio-43PJLOBY.js → normalize-audio-6UO7T2NP.js} +14 -14
  219. package/dist/{open-EOX6QY4M.js → open-DVABOI2D.js} +19 -19
  220. package/dist/{parakeetRunner-STHAXQAF.js → parakeetRunner-IHEW335J.js} +18 -18
  221. package/dist/{pipeline-RRWZHFBQ.js → pipeline-SGJTBYFI.js} +13 -13
  222. package/dist/{plan-JWUSMF4W.js → plan-IB2LZKFH.js} +26 -26
  223. package/dist/{play-TUKTST32.js → play-OSJU47PB.js} +31 -31
  224. package/dist/{preflight-L42JKT6F.js → preflight-4UVA2SF4.js} +12 -12
  225. package/dist/{present-Z7HRDXPV.js → present-6HRJ67G2.js} +25 -25
  226. package/dist/{preview-HGTIRAV3.js → preview-ILIRTOIL.js} +59 -35
  227. package/dist/{probe-RXK44FY7.js → probe-QJIEY5RM.js} +15 -15
  228. package/dist/{producer-KJ2RZDJ3.js → producer-LUARVB5B.js} +1 -1
  229. package/dist/{projectConfig-K36NTJXP.js → projectConfig-CS4PKLO5.js} +11 -11
  230. package/dist/{publication-OZWLT6K6.js → publication-DQMOW7B4.js} +6 -6
  231. package/dist/{publish-CRUTXNYM.js → publish-TSZA3TYC.js} +19 -19
  232. package/dist/{remove-background-R37HZPCG.js → remove-background-URZDLZJ4.js} +14 -14
  233. package/dist/{render-ZHCPCISN.js → render-3HONOYZE.js} +49 -49
  234. package/dist/{render-SU2XTMJL.js → render-OHACUI7J.js} +8 -8
  235. package/dist/{render-EZMKBT7V.js → render-RDFQDDZA.js} +37 -37
  236. package/dist/{render-batch-YIUOEAAL.js → render-batch-EUKAQFHN.js} +8 -8
  237. package/dist/renderSetupWorker.js +6 -5
  238. package/dist/{resolver-DLCKRKQR.js → resolver-BTUTJ26S.js} +8 -8
  239. package/dist/{reverse-4FAVXIER.js → reverse-LTPJ6QRV.js} +1 -1
  240. package/dist/{run-H4GVEJVS.js → run-SIBZZM3T.js} +4 -4
  241. package/dist/{screenshotCapture-CQF5FYVI.js → screenshotCapture-2VXR5FHK.js} +13 -13
  242. package/dist/{service-XDQOULGD.js → service-47AZQ6EN.js} +14 -14
  243. package/dist/{share-CUCQALE7.js → share-4JJK6QM6.js} +19 -19
  244. package/dist/{sherpa-WZNRQUVC.js → sherpa-WDGLCJMP.js} +17 -17
  245. package/dist/sherpaWorker.js +4 -2
  246. package/dist/skills/hyperframes/references/plugin-installation.md +5 -2
  247. package/dist/skills/hyperframes/scripts/bake-basemap.mjs +1 -0
  248. package/dist/skills/hyperframes/scripts/lib/windows-exe-search.mjs +11 -0
  249. package/dist/skills/hyperframes/scripts/lib/windows-exe-search.test.mjs +149 -0
  250. package/dist/skills/hyperframes/scripts/locate.mjs +1 -0
  251. package/dist/skills/hyperframes/scripts/plugin-cli.mjs +21 -3
  252. package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +93 -7
  253. package/dist/skills/hyperframes-cli/references/doctor-browser.md +1 -1
  254. package/dist/skills/media-use/audio/scripts/carve.mjs +1 -0
  255. package/dist/skills/media-use/audio/scripts/extract-audio-data.py +3 -1
  256. package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +6 -6
  257. package/dist/skills/media-use/audio/scripts/lib/bgm.mjs +1 -0
  258. package/dist/skills/media-use/audio/scripts/lib/gemini-auth.mjs +1 -0
  259. package/dist/skills/media-use/audio/scripts/lib/python.mjs +1 -0
  260. package/dist/skills/media-use/audio/scripts/lib/recording.mjs +1 -0
  261. package/dist/skills/media-use/audio/scripts/lib/tts.cleanup.test.mjs +12 -6
  262. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +26 -6
  263. package/dist/skills/media-use/audio/scripts/lib/tts.spawn.test.mjs +37 -12
  264. package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +54 -18
  265. package/dist/skills/media-use/audio/scripts/trusted-program.test.mjs +106 -0
  266. package/dist/skills/media-use/audio/scripts/trusted_program.py +76 -0
  267. package/dist/skills/media-use/references/audio.md +2 -0
  268. package/dist/skills/media-use/references/operations.md +2 -1
  269. package/dist/skills/media-use/scripts/dither.mjs +1 -0
  270. package/dist/skills/media-use/scripts/eval.mjs +1 -0
  271. package/dist/skills/media-use/scripts/lib/npx-sync.test.mjs +22 -31
  272. package/dist/skills/media-use/scripts/lib/tts-local-provider.mjs +16 -11
  273. package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +34 -78
  274. package/dist/skills/media-use/scripts/lib/windows-exe-search.mjs +11 -0
  275. package/dist/skills/media-use/scripts/resolve-plugin.test.mjs +43 -19
  276. package/dist/skills/media-use/scripts/transcribe.mjs +1 -0
  277. package/dist/skills/media-use/scripts/transcribe.test.mjs +60 -17
  278. package/dist/skills/media-use/scripts/transcript-cut.mjs +1 -0
  279. package/dist/{skills-J52DBZAK.js → skills-32PFTMRC.js} +10 -10
  280. package/dist/{skillsUpdateCheck-26DJHBTC.js → skillsUpdateCheck-4YNSO2QT.js} +3 -3
  281. package/dist/{snapshot-ZIRQFDA7.js → snapshot-L26W46YP.js} +53 -53
  282. package/dist/{src-C3XYMTF4.js → src-KJ7FMIH7.js} +11 -9
  283. package/dist/{src-7BGBN6SS.js → src-SGZPUKDL.js} +15 -15
  284. package/dist/{start-QG2XNMYN.js → start-77AN6NW5.js} +24 -24
  285. package/dist/{staticProjectServer-TWMEFK3T.js → staticProjectServer-RDXGUNKX.js} +27 -27
  286. package/dist/{status-3UPA5WPI.js → status-BRVZZRTC.js} +18 -17
  287. package/dist/studio/assets/{codec-qz1-OXLj.js → codec-GKrIfefq.js} +1 -1
  288. package/dist/studio/assets/{hyperframes-player-2eG1zFX5.js → hyperframes-player-BUFkdSG-.js} +1 -1
  289. package/dist/studio/assets/{index-DDmhnfrS.js → index-BzrZjoXW.js} +159 -159
  290. package/dist/studio/assets/{index-DUveJ_YP.js → index-oGGylite.js} +1 -1
  291. package/dist/studio/assets/{pausedVideoDecoder-CoHTKUjM.js → pausedVideoDecoder-VUkpOCb9.js} +1 -1
  292. package/dist/studio/index.html +1 -1
  293. package/dist/{studio-api-Z42OO4JJ.js → studio-api-UZHSY6PR.js} +26 -23
  294. package/dist/{studioServer-SMN3RMVL.js → studioServer-UOVV7CDW.js} +126 -79
  295. package/dist/{sync-ONTI2WSI.js → sync-74O4W75V.js} +15 -15
  296. package/dist/{synthesize-FR5KPBRP.js → synthesize-7DD5JV36.js} +5 -4
  297. package/dist/{telemetry-RRXALB5D.js → telemetry-NB5MWICG.js} +7 -7
  298. package/dist/{templates-BHFOSD6F.js → templates-HOIYYCM2.js} +15 -15
  299. package/dist/{timeline-Z5IHY5TN.js → timeline-NUG347GZ.js} +26 -26
  300. package/dist/{tokens-MZVEPARM.js → tokens-TVAYON5K.js} +3 -3
  301. package/dist/{transcribe-M5N3YZZU.js → transcribe-3RN5NRX6.js} +14 -14
  302. package/dist/{transcribe-5IZS4BGW.js → transcribe-67A5YVQD.js} +31 -31
  303. package/dist/{tts-ZE776B4I.js → tts-SOSATBP4.js} +2 -2
  304. package/dist/{update-EVPWBIKY.js → update-QEVNP7XN.js} +12 -12
  305. package/dist/{updateCheck-2UUEF6TC.js → updateCheck-SZ6BPLHI.js} +2 -2
  306. package/dist/{upgrade-DK45FD4K.js → upgrade-NFDDBX2T.js} +5 -5
  307. package/dist/{urlDownloader-3MPHIDSA.js → urlDownloader-Q7225DS7.js} +9 -9
  308. package/dist/{validate-W27TQ367.js → validate-IMI6OBMO.js} +33 -33
  309. package/dist/{video-TI372QGV.js → video-K7UAJJLP.js} +12 -12
  310. package/dist/{voices-FZV4PGT6.js → voices-K2GLTRAS.js} +24 -24
  311. package/dist/warmCheck.js +52 -51
  312. package/dist/warmCheckClient.js +2 -1
  313. package/package.json +1 -1
  314. package/dist/chunk-64F653HO.js +0 -164
  315. package/dist/chunk-WXOOAAT4.js +0 -314
  316. package/dist/chunk-XDDBSGBD.js +0 -5049
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ import "./lib/windows-exe-search.mjs";
3
4
  import { execFileSync, spawn } from "node:child_process";
4
5
  import { once } from "node:events";
5
6
  import { existsSync, mkdirSync, renameSync, rmSync } from "node:fs";
@@ -5,6 +5,7 @@
5
5
  * on real registry blocks. Produces an HTML report.
6
6
  */
7
7
 
8
+ import "./lib/windows-exe-search.mjs";
8
9
  import {
9
10
  mkdtempSync,
10
11
  cpSync,
@@ -3,9 +3,9 @@ import assert from "node:assert/strict";
3
3
  import { resolveNpxInvocation } from "./npx-sync.mjs";
4
4
 
5
5
  // Coverage parity with tts-local-provider.test.mjs, for the whisper.cpp
6
- // fallback's call-site shape (transcribe.mjs runWhisper): the same three
7
- // branches, but with the hard-fail contract — no fallback provider exists,
8
- // so an unresolvable npx must throw actionably instead of returning null.
6
+ // fallback's call-site shape (transcribe.mjs runCli), with the hard-fail
7
+ // contract: no fallback provider exists, so a missing CLI hand-over throws
8
+ // actionably instead of resolving `hyperframes` through npx.
9
9
 
10
10
  const envWithNpxCli = {
11
11
  npm_execpath: "C:/Program Files/nodejs/node_modules/npm/bin/npm-cli.js",
@@ -17,34 +17,25 @@ const pathExists = (path) => path === npxCliPath;
17
17
  const WHISPER_ARGV = ["hyperframes", "transcribe", "C:\\media\\input.wav", "--dir", "C:\\work"];
18
18
  const WHISPER_OPTS = { stdio: ["ignore", "pipe", "pipe"], timeout: 1_800_000 };
19
19
 
20
- test("win32: routes the whisper fallback through node + npx-cli, never bare npx", () => {
21
- const resolved = resolveNpxInvocation(
22
- WHISPER_ARGV,
23
- WHISPER_OPTS,
24
- "win32",
25
- envWithNpxCli,
26
- pathExists,
27
- );
28
-
29
- assert.equal(resolved.cmd, envWithNpxCli.npm_node_execpath);
30
- assert.equal(resolved.args[0], npxCliPath);
31
- assert.deepEqual(resolved.args.slice(1, 3), ["hyperframes", "transcribe"]);
32
- // execFileSync options survive the rerouting (the timeout bounds the
33
- // whisper build/model download; the pipes surface its errors).
34
- assert.deepEqual(resolved.opts.stdio, ["ignore", "pipe", "pipe"]);
35
- assert.equal(resolved.opts.timeout, 1_800_000);
36
- });
37
-
38
- test("win32 without a resolvable npx-cli: throws the actionable install hint", () => {
39
- assert.throws(
40
- () => resolveNpxInvocation(WHISPER_ARGV, WHISPER_OPTS, "win32", {}, () => false),
41
- /npx-cli\.js was not found/,
42
- );
20
+ test("runs the handed-over CLI entry with the same Node, on every platform", () => {
21
+ for (const platform of ["darwin", "win32"]) {
22
+ const env = { ...envWithNpxCli, HYPERFRAMES_CLI_ENTRY: "/opt/hf/bin/hyperframes.mjs" };
23
+ const resolved = resolveNpxInvocation(WHISPER_ARGV, WHISPER_OPTS, platform, env, pathExists);
24
+
25
+ assert.equal(resolved.cmd, process.execPath);
26
+ assert.deepEqual(resolved.args, ["/opt/hf/bin/hyperframes.mjs", ...WHISPER_ARGV.slice(1)]);
27
+ // execFileSync options survive (the timeout bounds the whisper build/model
28
+ // download; the pipes surface its errors).
29
+ assert.deepEqual(resolved.opts.stdio, ["ignore", "pipe", "pipe"]);
30
+ assert.equal(resolved.opts.timeout, 1_800_000);
31
+ }
43
32
  });
44
33
 
45
- test("non-win32: spawns plain npx unchanged", () => {
46
- const resolved = resolveNpxInvocation(WHISPER_ARGV, WHISPER_OPTS, "darwin", {}, () => false);
47
-
48
- assert.equal(resolved.cmd, "npx");
49
- assert.deepEqual(resolved.args, WHISPER_ARGV);
34
+ test("without a handed-over CLI: throws the fix instead of running npx", () => {
35
+ for (const platform of ["darwin", "win32"]) {
36
+ assert.throws(
37
+ () => resolveNpxInvocation(WHISPER_ARGV, WHISPER_OPTS, platform, envWithNpxCli, pathExists),
38
+ /HYPERFRAMES_CLI_ENTRY/,
39
+ );
40
+ }
50
41
  });
@@ -45,17 +45,22 @@ export async function localTtsGenerate(
45
45
  const argv = ["hyperframes", "tts", intent, "--output", outPath];
46
46
  if (ctx?.voice) argv.push("--voice", ctx.voice);
47
47
  if (ctx?.lang && ctx.lang !== "en") argv.push("--lang", ctx.lang);
48
- // On Windows a bare "npx" is npx.cmd, which execFileSync cannot exec
49
- // (spawnSync npx ENOENT) — resolveSpawnCommand reroutes it through
50
- // node + npx-cli.js, same as the audio engine's TTS spawns.
51
- const resolved = resolveSpawnCommand(
52
- "npx",
53
- argv,
54
- { encoding: "utf8", timeout: 300000, stdio: ["ignore", "pipe", "pipe"] },
55
- platform,
56
- env,
57
- pathExists,
58
- );
48
+ // resolveSpawnCommand runs the CLI that started this engine (HYPERFRAMES_CLI_ENTRY) with the
49
+ // same Node, and throws when none was handed over rather than resolving npx from the project.
50
+ let resolved;
51
+ try {
52
+ resolved = resolveSpawnCommand(
53
+ "npx",
54
+ argv,
55
+ { encoding: "utf8", timeout: 300000, stdio: ["ignore", "pipe", "pipe"] },
56
+ platform,
57
+ env,
58
+ pathExists,
59
+ );
60
+ } catch (err) {
61
+ console.error(`media-use: local voice not enabled (kokoro). ${err.message}`);
62
+ return null;
63
+ }
59
64
  if (!resolved) {
60
65
  // npx-on-win32 with no resolvable npx-cli.js — same terminal condition
61
66
  // spawnP warns about. Fall through to the next provider rather than crash.
@@ -2,11 +2,9 @@ import { test } from "node:test";
2
2
  import assert from "node:assert/strict";
3
3
  import { localTtsGenerate } from "./tts-local-provider.mjs";
4
4
 
5
- // Regression: on Windows, a bare "npx" is npx.cmd, which execFileSync cannot
6
- // exec — the Kokoro delegation failed with `spawnSync npx ENOENT` instead of
7
- // synthesizing (or cleanly falling through to the next provider). The spawn
8
- // must route through node + npx-cli.js on win32, same as the audio engine's
9
- // TTS spawns (see ../../audio/scripts/lib/tts.spawn.test.mjs).
5
+ // Kokoro runs `hyperframes tts` through the CLI that started the engine (HYPERFRAMES_CLI_ENTRY),
6
+ // with the same Node and no shell, on every platform. Without that hand-over it never resolves
7
+ // `hyperframes` through npx from the project; it falls through to the next provider.
10
8
 
11
9
  const envWithNpxCli = {
12
10
  npm_execpath: "C:/Program Files/nodejs/node_modules/npm/bin/npm-cli.js",
@@ -15,89 +13,47 @@ const envWithNpxCli = {
15
13
  const npxCliPath = "C:/Program Files/nodejs/node_modules/npm/bin/npx-cli.js";
16
14
  const pathExists = (path) => path === npxCliPath;
17
15
 
18
- test("win32: routes the hyperframes tts call through node + npx-cli, never bare npx", async () => {
19
- const captured = [];
20
- const fakeExec = (cmd, args, opts) => {
21
- captured.push({ cmd, args, opts });
22
- // Synthesize nothing — the provider then returns null via the
23
- // missing-output check, which is fine: we only assert the spawn shape.
24
- };
25
-
26
- await localTtsGenerate(
27
- "hello there",
28
- { voice: "am_michael" },
29
- "win32",
30
- fakeExec,
31
- envWithNpxCli,
32
- pathExists,
33
- );
34
-
35
- assert.equal(captured.length, 1);
36
- assert.equal(captured[0].cmd, envWithNpxCli.npm_node_execpath);
37
- assert.equal(captured[0].args[0], npxCliPath);
38
- assert.deepEqual(captured[0].args.slice(1, 4), ["hyperframes", "tts", "hello there"]);
39
- assert.ok(captured[0].args.includes("--voice"));
40
- // execFileSync options survive the rerouting (pipes are what let the caller
41
- // read the "kokoro-onnx not installed" hint back out).
42
- assert.deepEqual(captured[0].opts.stdio, ["ignore", "pipe", "pipe"]);
43
- });
44
-
45
- test("win32 without a resolvable npx-cli: falls through to the next provider (null), no spawn", async () => {
46
- const captured = [];
47
- const fakeExec = (...call) => captured.push(call);
48
-
49
- const result = await localTtsGenerate(
50
- "hello",
51
- {},
52
- "win32",
53
- fakeExec,
54
- {}, // no npm_execpath, and pathExists finds nothing
55
- () => false,
56
- );
57
-
58
- assert.equal(result, null);
59
- assert.equal(captured.length, 0);
60
- });
61
-
62
- test("non-win32: spawns plain npx unchanged", async () => {
63
- const captured = [];
64
- const fakeExec = (cmd, args) => captured.push({ cmd, args });
65
-
66
- await localTtsGenerate("hola", { lang: "es" }, "darwin", fakeExec, {}, () => false);
67
-
68
- assert.equal(captured.length, 1);
69
- assert.equal(captured[0].cmd, "npx");
70
- assert.deepEqual(captured[0].args.slice(0, 3), ["hyperframes", "tts", "hola"]);
71
- assert.ok(captured[0].args.includes("--lang"));
72
- });
73
-
74
16
  test("a launching CLI's entry file runs instead of npx, on every platform", async () => {
75
17
  for (const platform of ["darwin", "linux", "win32"]) {
76
18
  const captured = [];
77
- const fakeExec = (cmd, args) => captured.push({ cmd, args });
19
+ const fakeExec = (cmd, args, opts) => captured.push({ cmd, args, opts });
78
20
  const entry = "/opt/hf/dist/cli.js";
79
21
  const env = { ...envWithNpxCli, HYPERFRAMES_CLI_ENTRY: entry };
80
22
 
81
- await localTtsGenerate("hi", {}, platform, fakeExec, env, pathExists);
23
+ await localTtsGenerate(
24
+ "hello & there",
25
+ { voice: "am_michael" },
26
+ platform,
27
+ fakeExec,
28
+ env,
29
+ pathExists,
30
+ );
82
31
 
83
32
  assert.equal(captured.length, 1);
84
33
  assert.equal(captured[0].cmd, process.execPath);
85
- assert.deepEqual(captured[0].args.slice(0, 3), [entry, "tts", "hi"]);
34
+ assert.deepEqual(captured[0].args.slice(0, 3), [entry, "tts", "hello & there"]);
35
+ assert.ok(captured[0].args.includes("--voice"));
36
+ // execFileSync options survive (pipes are what let the caller read the
37
+ // "kokoro-onnx not installed" hint back out).
38
+ assert.deepEqual(captured[0].opts.stdio, ["ignore", "pipe", "pipe"]);
86
39
  }
87
40
  });
88
41
 
89
- test("a relative CLI entry is ignored and npx resolves as before", async () => {
90
- const captured = [];
91
- const fakeExec = (cmd, args) => captured.push({ cmd, args });
92
-
93
- await localTtsGenerate(
94
- "hi",
95
- {},
96
- "darwin",
97
- fakeExec,
98
- { HYPERFRAMES_CLI_ENTRY: "cli.js" },
99
- () => false,
100
- );
101
-
102
- assert.equal(captured[0].cmd, "npx");
42
+ test("without an absolute CLI entry: falls through to the next provider (null), no spawn", async () => {
43
+ for (const env of [envWithNpxCli, { ...envWithNpxCli, HYPERFRAMES_CLI_ENTRY: "cli.js" }]) {
44
+ for (const platform of ["darwin", "win32"]) {
45
+ const captured = [];
46
+ const errors = [];
47
+ const originalError = console.error;
48
+ console.error = (message) => errors.push(String(message));
49
+ try {
50
+ const fakeExec = (...call) => captured.push(call);
51
+ assert.equal(await localTtsGenerate("hi", {}, platform, fakeExec, env, pathExists), null);
52
+ } finally {
53
+ console.error = originalError;
54
+ }
55
+ assert.equal(captured.length, 0);
56
+ assert.match(errors.join("\n"), /HYPERFRAMES_CLI_ENTRY/);
57
+ }
58
+ }
103
59
  });
@@ -0,0 +1,11 @@
1
+ // A program started by name can come from the working directory: Windows looks there before
2
+ // PATH unless this variable is set, and a relative or empty PATH entry points there everywhere.
3
+ // Scripts run inside project folders, so turn both off for this process and its children.
4
+ // A value the person set is kept.
5
+ if (process.platform === "win32") {
6
+ process.env.NoDefaultCurrentDirectoryInExePath ??= "1";
7
+ } else if (process.env.PATH !== undefined) {
8
+ const absolute = process.env.PATH.split(":").filter((dir) => dir.startsWith("/"));
9
+ if (absolute.length > 0) process.env.PATH = absolute.join(":");
10
+ else delete process.env.PATH;
11
+ }
@@ -1,27 +1,22 @@
1
1
  import assert from "node:assert/strict";
2
2
  import { spawnSync } from "node:child_process";
3
- import { copyFileSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
3
+ import { copyFileSync, existsSync, mkdirSync, mkdtempSync, rmSync, writeFileSync } from "node:fs";
4
4
  import { delimiter, join } from "node:path";
5
5
  import { tmpdir } from "node:os";
6
6
  import { fileURLToPath } from "node:url";
7
7
  import { test } from "node:test";
8
8
 
9
- test(
10
- "plugin resolver uses the release CLI without a repository checkout",
11
- { skip: process.platform === "win32" },
12
- (t) => {
13
- const dir = mkdtempSync(join(tmpdir(), "hf-resolve-plugin-"));
14
- t.after(() => rmSync(dir, { recursive: true, force: true }));
15
- mkdirSync(join(dir, "lib"));
16
- for (const file of ["resolve.mjs", "lib/npx-sync.mjs"]) {
17
- copyFileSync(fileURLToPath(new URL(file, import.meta.url)), join(dir, file));
18
- }
19
- writeFileSync(
20
- join(dir, "npx"),
21
- `#!${process.execPath}\nconsole.log(JSON.stringify({args:process.argv.slice(2),skip:process.env.HYPERFRAMES_SKIP_SKILLS}));process.exit(7);`,
22
- { mode: 0o755 },
23
- );
24
- const result = spawnSync(process.execPath, [join(dir, "resolve.mjs"), "--intent", "a & b"], {
9
+ function pluginShim(t) {
10
+ const dir = mkdtempSync(join(tmpdir(), "hf-resolve-plugin-"));
11
+ t.after(() => rmSync(dir, { recursive: true, force: true }));
12
+ mkdirSync(join(dir, "lib"));
13
+ for (const file of ["resolve.mjs", "lib/npx-sync.mjs", "lib/windows-exe-search.mjs"]) {
14
+ copyFileSync(fileURLToPath(new URL(file, import.meta.url)), join(dir, file));
15
+ }
16
+ const marker = join(dir, "npx-ran");
17
+ writeFileSync(join(dir, "npx"), `#!/bin/sh\ntouch "${marker}"\nexit 9\n`, { mode: 0o755 });
18
+ const run = (env) =>
19
+ spawnSync(process.execPath, [join(dir, "resolve.mjs"), "--intent", "a & b"], {
25
20
  cwd: dir,
26
21
  encoding: "utf8",
27
22
  env: {
@@ -29,13 +24,42 @@ test(
29
24
  PATH: `${dir}${delimiter}${process.env.PATH}`,
30
25
  HYPERFRAMES_PLUGIN_VERSION: "1.2.3",
31
26
  HYPERFRAMES_SKIP_SKILLS: "1",
27
+ HYPERFRAMES_CLI_ENTRY: "",
28
+ ...env,
32
29
  },
33
30
  });
31
+ return { dir, marker, run };
32
+ }
33
+
34
+ test(
35
+ "plugin resolver runs the CLI the launcher handed over, not npx in the project",
36
+ { skip: process.platform === "win32" },
37
+ (t) => {
38
+ const { dir, marker, run } = pluginShim(t);
39
+ const launcher = join(dir, "launcher.mjs");
40
+ writeFileSync(
41
+ launcher,
42
+ "console.log(JSON.stringify({args:process.argv.slice(2),skip:process.env.HYPERFRAMES_SKIP_SKILLS}));process.exit(7);",
43
+ );
44
+ const result = run({ HYPERFRAMES_CLI_ENTRY: launcher });
34
45
  assert.equal(result.status, 7, result.stderr);
35
46
  assert.deepEqual(JSON.parse(result.stdout), {
36
- args: ["--yes", "hyperframes@1.2.3", "media-use", "resolve", "--intent", "a & b"],
47
+ args: ["media-use", "resolve", "--intent", "a & b"],
37
48
  skip: "1",
38
49
  });
50
+ assert.equal(existsSync(marker), false);
51
+ },
52
+ );
53
+
54
+ test(
55
+ "plugin resolver without a handed-over CLI fails with the fix",
56
+ { skip: process.platform === "win32" },
57
+ (t) => {
58
+ const { marker, run } = pluginShim(t);
59
+ const result = run({});
60
+ assert.equal(result.status, 1);
61
+ assert.match(result.stderr, /plugin-cli\.mjs --script/);
62
+ assert.equal(existsSync(marker), false);
39
63
  },
40
64
  );
41
65
 
@@ -45,7 +69,7 @@ test("helper package override keeps a contributor's local CLI", (t) => {
45
69
  const scripts = join(root, "skills/media-use/scripts");
46
70
  mkdirSync(join(scripts, "lib"), { recursive: true });
47
71
  mkdirSync(join(root, "packages/cli/dist"), { recursive: true });
48
- for (const file of ["resolve.mjs", "lib/npx-sync.mjs"]) {
72
+ for (const file of ["resolve.mjs", "lib/npx-sync.mjs", "lib/windows-exe-search.mjs"]) {
49
73
  copyFileSync(fileURLToPath(new URL(file, import.meta.url)), join(scripts, file));
50
74
  }
51
75
  writeFileSync(join(root, "packages/cli/dist/cli.js"), 'console.log("local-cli");');
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ import "./lib/windows-exe-search.mjs";
3
4
  import { execFileSync } from "node:child_process";
4
5
  import {
5
6
  existsSync,
@@ -1,29 +1,38 @@
1
1
  import assert from "node:assert/strict";
2
2
  import { execFileSync, spawnSync } from "node:child_process";
3
- import { chmodSync, mkdirSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";
3
+ import {
4
+ chmodSync,
5
+ existsSync,
6
+ mkdirSync,
7
+ mkdtempSync,
8
+ readFileSync,
9
+ rmSync,
10
+ writeFileSync,
11
+ } from "node:fs";
4
12
  import { tmpdir } from "node:os";
5
13
  import { join } from "node:path";
6
14
  import test from "node:test";
7
15
  import { fileURLToPath } from "node:url";
8
16
 
9
- // The stub stands in for `npx hyperframes transcribe <in> --dir <dir> ...`: it records its args,
10
- // writes the CLI's flat array and prints the CLI's --json line naming `cliEngine`.
17
+ // The stub stands in for the `hyperframes` CLI the caller hands over in HYPERFRAMES_CLI_ENTRY,
18
+ // run as `transcribe <in> --dir <dir> ...`: it records its args, writes the CLI's flat array and
19
+ // prints the CLI's --json line naming `cliEngine`.
11
20
  function runScript(engine, cliEngine) {
12
21
  const root = mkdtempSync(join(tmpdir(), "media-use-transcribe-"));
13
22
  try {
14
- const bin = join(root, "bin");
15
- mkdirSync(bin);
23
+ const cli = join(root, "cli.mjs");
16
24
  writeFileSync(
17
- join(bin, "npx"),
18
- `#!/bin/sh\necho "$@" > "${root}/args"\nwhile [ "$1" != "--dir" ]; do shift; done\n` +
19
- `echo '[{"text":"a","start":0,"end":1},{"text":"b","start":1,"end":2}]' > "$2/transcript.json"\n` +
20
- `echo '{"ok":true,"engine":"${cliEngine}"}'\n`,
25
+ cli,
26
+ `import { writeFileSync } from "node:fs";\nconst a = process.argv.slice(2);\n` +
27
+ `writeFileSync(${JSON.stringify(join(root, "args"))}, a.join(" "));\n` +
28
+ `writeFileSync(a[a.indexOf("--dir") + 1] + "/transcript.json", ` +
29
+ `'[{"text":"a","start":0,"end":1},{"text":"b","start":1,"end":2}]');\n` +
30
+ `console.log('{"ok":true,"engine":"${cliEngine}"}');\n`,
21
31
  );
22
- chmodSync(join(bin, "npx"), 0o755);
23
32
  const input = join(root, "in.wav");
24
33
  writeFileSync(input, "");
25
34
  const script = fileURLToPath(new URL("./transcribe.mjs", import.meta.url));
26
- const env = { ...process.env, PATH: `${bin}:${process.env.PATH}`, HOME: root };
35
+ const env = { ...process.env, HYPERFRAMES_CLI_ENTRY: cli, HOME: root };
27
36
  delete env.HYPERFRAMES_PARAKEET;
28
37
  const out = execFileSync(
29
38
  process.execPath,
@@ -80,11 +89,8 @@ test(
80
89
  mkdirSync(bin);
81
90
  const reason =
82
91
  "Parakeet is not installed. Install it with: hyperframes models install parakeet";
83
- writeFileSync(
84
- join(bin, "npx"),
85
- `#!/bin/sh\necho '{"ok":false,"error":"${reason}"}'\nexit 1\n`,
86
- );
87
- chmodSync(join(bin, "npx"), 0o755);
92
+ const cli = join(bin, "cli.mjs");
93
+ writeFileSync(cli, `console.log('{"ok":false,"error":"${reason}"}');\nprocess.exit(1);\n`);
88
94
  const input = join(root, "in.wav");
89
95
  writeFileSync(input, "");
90
96
  const script = fileURLToPath(new URL("./transcribe.mjs", import.meta.url));
@@ -96,7 +102,7 @@ test(
96
102
  env: {
97
103
  ...process.env,
98
104
  HYPERFRAMES_PARAKEET: "",
99
- PATH: `${bin}:${process.env.PATH}`,
105
+ HYPERFRAMES_CLI_ENTRY: cli,
100
106
  HOME: root,
101
107
  HYPERFRAMES_MEDIA_HOME: join(root, "home"),
102
108
  HYPERFRAMES_NO_TELEMETRY: "1",
@@ -110,3 +116,40 @@ test(
110
116
  }
111
117
  },
112
118
  );
119
+
120
+ test(
121
+ "without a handed-over CLI it fails with the fix instead of running npx in the project",
122
+ { skip: process.platform === "win32" },
123
+ () => {
124
+ const root = mkdtempSync(join(tmpdir(), "media-use-transcribe-"));
125
+ try {
126
+ const bin = join(root, "bin");
127
+ mkdirSync(bin);
128
+ const marker = join(root, "npx-ran");
129
+ writeFileSync(join(bin, "npx"), `#!/bin/sh\ntouch "${marker}"\n`);
130
+ chmodSync(join(bin, "npx"), 0o755);
131
+ const input = join(root, "in.wav");
132
+ writeFileSync(input, "");
133
+ const script = fileURLToPath(new URL("./transcribe.mjs", import.meta.url));
134
+ const env = {
135
+ ...process.env,
136
+ PATH: `${bin}:${process.env.PATH}`,
137
+ HOME: root,
138
+ HYPERFRAMES_MEDIA_HOME: join(root, "home"),
139
+ HYPERFRAMES_NO_TELEMETRY: "1",
140
+ };
141
+ delete env.HYPERFRAMES_PARAKEET;
142
+ delete env.HYPERFRAMES_CLI_ENTRY;
143
+ const res = spawnSync(
144
+ process.execPath,
145
+ [script, "--input", input, "--engine", "whisper", "--json"],
146
+ { cwd: root, encoding: "utf8", env },
147
+ );
148
+ assert.equal(res.status, 1);
149
+ assert.match(JSON.parse(res.stdout.trim()).error, /HYPERFRAMES_CLI_ENTRY/);
150
+ assert.equal(existsSync(marker), false);
151
+ } finally {
152
+ rmSync(root, { recursive: true, force: true });
153
+ }
154
+ },
155
+ );
@@ -1,5 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
+ import "./lib/windows-exe-search.mjs";
3
4
  import { execFileSync } from "node:child_process";
4
5
  import { mkdtempSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "node:fs";
5
6
  import { tmpdir } from "node:os";
@@ -9,13 +9,13 @@ import {
9
9
  skillsManagedExternally,
10
10
  skills_default,
11
11
  updateSkills
12
- } from "./chunk-4CHGNFCS.js";
12
+ } from "./chunk-I5VIATAH.js";
13
13
  import "./chunk-EXA6R6SW.js";
14
14
  import "./chunk-D2LIT7UR.js";
15
15
  import "./chunk-6BEFEWFB.js";
16
16
  import "./chunk-JJ47LVJ7.js";
17
- import "./chunk-ADYMQM7T.js";
18
- import "./chunk-YSHUIQ3I.js";
17
+ import "./chunk-R43U3RJ3.js";
18
+ import "./chunk-LO74I6MZ.js";
19
19
  import "./chunk-PXVQOMKL.js";
20
20
  import "./chunk-MCDNAIFF.js";
21
21
  import "./chunk-DMW5SSUN.js";
@@ -23,24 +23,24 @@ import "./chunk-DL4OD7IA.js";
23
23
  import "./chunk-S3S4TGEH.js";
24
24
  import "./chunk-54HJ63Q2.js";
25
25
  import "./chunk-JCNPHRGX.js";
26
- import "./chunk-EX7WPDFA.js";
26
+ import "./chunk-NABIUZRZ.js";
27
27
  import "./chunk-FXMKHHPO.js";
28
- import "./chunk-XDDBSGBD.js";
28
+ import "./chunk-42KTBKL4.js";
29
29
  import "./chunk-VC76R6W2.js";
30
- import "./chunk-HZTRKUKE.js";
30
+ import "./chunk-XWK2RSD5.js";
31
31
  import "./chunk-RQVDTPGD.js";
32
32
  import "./chunk-FOZBANEN.js";
33
33
  import "./chunk-FBN2M2HK.js";
34
34
  import "./chunk-6MKM2RVL.js";
35
- import "./chunk-N7C7U3ZR.js";
35
+ import "./chunk-M425BL2U.js";
36
36
  import "./chunk-FR7YBU3H.js";
37
37
  import "./chunk-DPVXBVLL.js";
38
38
  import "./chunk-GWTIFRF5.js";
39
39
  import "./chunk-2RY2LWAA.js";
40
40
  import "./chunk-WC4MTXGN.js";
41
41
  import "./chunk-EPQC3FGZ.js";
42
- import "./chunk-GHLLC6LJ.js";
43
- import "./chunk-4DLYTSWQ.js";
42
+ import "./chunk-CEBLQRYG.js";
43
+ import "./chunk-H3DP5ELI.js";
44
44
  import "./chunk-BR2JQQC5.js";
45
45
  import "./chunk-AWD2MWWL.js";
46
46
  import "./chunk-ISN5GRYI.js";
@@ -49,7 +49,7 @@ import "./chunk-GR2E54E6.js";
49
49
  import "./chunk-66W5IWLO.js";
50
50
  import "./chunk-CPHQTXP5.js";
51
51
  import "./chunk-QBXDU24O.js";
52
- import "./chunk-45ZQI734.js";
52
+ import "./chunk-X47GMPT2.js";
53
53
  import "./chunk-E63BDV4Z.js";
54
54
  import "./chunk-LW33P24U.js";
55
55
  import "./chunk-XT6MXC7A.js";
@@ -10,8 +10,8 @@ import {
10
10
  recordSkillsCheck,
11
11
  refreshSkillsCache,
12
12
  skillsCheckDue
13
- } from "./chunk-GHLLC6LJ.js";
14
- import "./chunk-4DLYTSWQ.js";
13
+ } from "./chunk-CEBLQRYG.js";
14
+ import "./chunk-H3DP5ELI.js";
15
15
  import "./chunk-BR2JQQC5.js";
16
16
  import "./chunk-AWD2MWWL.js";
17
17
  import "./chunk-ISN5GRYI.js";
@@ -20,7 +20,7 @@ import "./chunk-GR2E54E6.js";
20
20
  import "./chunk-66W5IWLO.js";
21
21
  import "./chunk-CPHQTXP5.js";
22
22
  import "./chunk-QBXDU24O.js";
23
- import "./chunk-45ZQI734.js";
23
+ import "./chunk-X47GMPT2.js";
24
24
  import "./chunk-E63BDV4Z.js";
25
25
  import "./chunk-LW33P24U.js";
26
26
  import "./chunk-XT6MXC7A.js";