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
@@ -7,11 +7,11 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  createStagingDir,
9
9
  renameWithRetry
10
- } from "./chunk-IEEIPTDW.js";
10
+ } from "./chunk-X5BRDEOM.js";
11
11
  import {
12
12
  mkdirWithinProject,
13
13
  realpath
14
- } from "./chunk-HZTRKUKE.js";
14
+ } from "./chunk-XWK2RSD5.js";
15
15
 
16
16
  // src/registry/publication.ts
17
17
  import { lstatSync, chmodSync, rmSync, writeFileSync } from "fs";
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  cliCheckoutLink,
9
9
  pageUrl
10
- } from "./chunk-MA35E5OY.js";
10
+ } from "./chunk-BTYCPOPD.js";
11
11
  import {
12
12
  Fix
13
- } from "./chunk-I3PA54IU.js";
13
+ } from "./chunk-4IPKEJPW.js";
14
14
  import {
15
15
  refreshIfNeeded,
16
16
  resolveCloudAuthHeaders,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-ZBAF6L74.js";
10
10
  import {
11
11
  errorBox
12
- } from "./chunk-LIWK3MFR.js";
12
+ } from "./chunk-ZLTB7ZCQ.js";
13
13
  import {
14
14
  JsonFlagReadError,
15
15
  inlineJsonHint,
@@ -22,10 +22,10 @@ import {
22
22
  import {
23
23
  formatVariableValidationIssue,
24
24
  validateVariables
25
- } from "./chunk-EX7WPDFA.js";
25
+ } from "./chunk-NABIUZRZ.js";
26
26
  import {
27
27
  extractCompositionMetadata
28
- } from "./chunk-N7C7U3ZR.js";
28
+ } from "./chunk-M425BL2U.js";
29
29
  import {
30
30
  failCommand,
31
31
  failUsage
@@ -8,20 +8,20 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-76KUCQXD.js";
11
+ } from "./chunk-IARWDMY7.js";
12
12
  import {
13
13
  publishRegistryFile,
14
14
  registryTargetPath
15
- } from "./chunk-G2XAFJ2B.js";
15
+ } from "./chunk-X73RI4GQ.js";
16
16
  import {
17
17
  validateVariables
18
- } from "./chunk-EX7WPDFA.js";
18
+ } from "./chunk-NABIUZRZ.js";
19
19
  import {
20
20
  realProjectRoot
21
- } from "./chunk-HZTRKUKE.js";
21
+ } from "./chunk-XWK2RSD5.js";
22
22
  import {
23
23
  isCompositionVariable
24
- } from "./chunk-N7C7U3ZR.js";
24
+ } from "./chunk-M425BL2U.js";
25
25
 
26
26
  // src/registry/installer.ts
27
27
  import { createHash } from "crypto";
@@ -167,6 +167,30 @@ function keptByProject(record, destPath, target, force) {
167
167
  var PROJECT_FILES = /* @__PURE__ */ new Set(["package.json", "hyperframes.json", "hyperframes.lock.json"]);
168
168
  var EXAMPLE_DOTFILES = /* @__PURE__ */ new Set([".gitignore"]);
169
169
  var isShortName = (part) => /~\d+(\.|$)/.test(part);
170
+ var STANDARD_INSTALL_DIRS = ["compositions", "assets", "models", "lib"];
171
+ var ROOT_NOTES = /* @__PURE__ */ new Set(["template.md"]);
172
+ var AGENT_INSTRUCTIONS = /^(agents?|claude|gemini|qwen|crush|warp|conventions|copilot-instructions)(\.[a-z]+)?\.md$/;
173
+ var EXECUTABLE = /\.(exe|com|bat|cmd|ps1|psm1|vbs|vbe|wsf|hta|msi|scr|pif|cpl|lnk|dll|so|dylib|node|sh|bash|zsh|command|jar|appimage|py|rb|pl|php)$/;
174
+ function withoutTrailingDotsOrSpaces(part) {
175
+ let end = part.length;
176
+ while (end > 0 && (part[end - 1] === "." || part[end - 1] === " ")) end--;
177
+ return part.slice(0, end);
178
+ }
179
+ function targetSegments(path) {
180
+ return path.normalize("NFC").toLowerCase().split(/[\\/]/).map(withoutTrailingDotsOrSpaces).filter((part, at, parts) => part !== "" || at === parts.length - 1);
181
+ }
182
+ function installDirSegments(dirs) {
183
+ return dirs.map((dir) => targetSegments(dir).filter((part) => part !== "")).filter(
184
+ (parts) => parts.length > 0 && parts.every(
185
+ (part) => !part.startsWith(".") && part !== "node_modules" && !isShortName(part)
186
+ )
187
+ );
188
+ }
189
+ function inInstallDir(dirs, installDirs) {
190
+ return installDirs.some(
191
+ (allowed) => allowed.length <= dirs.length && allowed.every((part, at) => dirs[at] === part)
192
+ );
193
+ }
170
194
  function isHiddenConfigFile(file, example) {
171
195
  if (file === ".gitkeep" || example && EXAMPLE_DOTFILES.has(file)) return false;
172
196
  return file.startsWith(".");
@@ -182,15 +206,22 @@ var CONFIG_TARGET_RULES = [
182
206
  [
183
207
  "it would replace project configuration",
184
208
  (_dirs, file, example) => !example && PROJECT_FILES.has(file)
209
+ ],
210
+ ["it writes into node_modules", (dirs) => dirs.includes("node_modules")],
211
+ ["it writes an agent instruction file", (_dirs, file) => AGENT_INSTRUCTIONS.test(file)],
212
+ ["it writes a program or script", (_dirs, file) => EXECUTABLE.test(file)],
213
+ [
214
+ "it writes outside the project's blocks, components and assets folders",
215
+ (dirs, file, example, installDirs) => !example && installDirs !== null && !inInstallDir(dirs, installDirs) && !(dirs.length === 0 && ROOT_NOTES.has(file))
185
216
  ]
186
217
  ];
187
- function configTargetError(target, type) {
188
- const parts = target.split(/[\\/]/).map((part) => part.toLowerCase());
218
+ function configTargetError(target, type, installDirs) {
219
+ const parts = targetSegments(target);
189
220
  const file = parts.pop() ?? "";
190
221
  const example = type === "hyperframes:example";
191
- return CONFIG_TARGET_RULES.find(([, applies]) => applies(parts, file, example))?.[0] ?? null;
222
+ return CONFIG_TARGET_RULES.find(([, applies]) => applies(parts, file, example, installDirs))?.[0] ?? null;
192
223
  }
193
- function assertSafeTarget(destDir, target, type) {
224
+ function assertSafeTarget(destDir, target, type, installDirs) {
194
225
  if (isAbsolute(target)) {
195
226
  throw new Error(`Unsafe target "${target}": absolute paths are not allowed.`);
196
227
  }
@@ -205,7 +236,7 @@ function assertSafeTarget(destDir, target, type) {
205
236
  if (rel.startsWith("..") || isAbsolute(rel)) {
206
237
  throw new Error(`Unsafe target "${target}": resolves outside destDir ${destDir}.`);
207
238
  }
208
- const configError = configTargetError(target, type);
239
+ const configError = configTargetError(target, type, installDirs);
209
240
  if (configError) throw new Error(`Unsafe target "${target}": ${configError}.`);
210
241
  }
211
242
  function isInstalledComponentSnippet(item, file) {
@@ -258,11 +289,15 @@ async function prepareItem(item, options) {
258
289
  if (!validRegistryItem(item, item.name, item.type)) throw new Error("Invalid registry item");
259
290
  const baseUrl = options.baseUrl ?? DEFAULT_REGISTRY_URL;
260
291
  const destDir = resolve(options.destDir);
292
+ const installDirs = installDirSegments([
293
+ ...STANDARD_INSTALL_DIRS,
294
+ ...options.installDirs ?? []
295
+ ]);
261
296
  for (const file of item.files) {
262
- assertSafeTarget(destDir, file.target, item.type);
297
+ assertSafeTarget(destDir, file.target, item.type, installDirs);
263
298
  }
264
299
  const root = realProjectRoot(destDir);
265
- validatePhysicalTargets(root, item.files);
300
+ validatePhysicalTargets(root, item.files, item.type);
266
301
  const record = readInstallRecord(root);
267
302
  const budget = { remainingBytes: 512 * 1024 * 1024 };
268
303
  const outcomes = await installFileBatches(
@@ -302,12 +337,14 @@ function publishItem({ root, outcomes: prepared, force }) {
302
337
  ) : []
303
338
  };
304
339
  }
305
- function validatePhysicalTargets(root, files) {
340
+ function validatePhysicalTargets(root, files, type) {
306
341
  const targets = /* @__PURE__ */ new Set();
307
342
  const aliasKey = (path) => process.platform === "win32" || process.platform === "darwin" ? path.normalize("NFC").toLowerCase() : path;
308
343
  const recordKey = aliasKey(registryTargetPath(root, INSTALL_RECORD));
309
344
  for (const file of files) {
310
345
  const path = registryTargetPath(root, file.target);
346
+ const configError = configTargetError(relative(root, path), type, null);
347
+ if (configError) throw new Error(`Unsafe target "${file.target}": ${configError}.`);
311
348
  const key = aliasKey(path);
312
349
  if (targets.has(key) || key === recordKey)
313
350
  throw new Error("Unsafe target: duplicate or reserved install record");
@@ -63,6 +63,39 @@ function resolveWithinProject(base, relativePath) {
63
63
  const resolved = resolve(base, relativePath);
64
64
  return isSafePath(base, resolved) ? resolved : null;
65
65
  }
66
+ function projectPathSegments(relPath) {
67
+ return relPath.toLowerCase().split(/[\\/]/).map((segment) => withoutTrailingDotsOrSpaces(segment.split(":", 1)[0] ?? ""));
68
+ }
69
+ function withoutTrailingDotsOrSpaces(segment) {
70
+ let end = segment.length;
71
+ while (end > 0 && (segment[end - 1] === "." || segment[end - 1] === " "))
72
+ end--;
73
+ return segment.slice(0, end);
74
+ }
75
+ function isVcsOrSecretPath(relPath) {
76
+ return projectPathSegments(relPath).some((segment) => segment === ".git" || segment.startsWith(".env"));
77
+ }
78
+ var STUDIO_FILES = /* @__PURE__ */ new Set([
79
+ ".hyperframes/studio-motion.json",
80
+ ".hyperframes/studio-manual-edits.json"
81
+ ]);
82
+ var STUDIO_FOLDERS = [".hyperframes/prepared-assets", ".hyperframes/requests"];
83
+ function isStudioPrivatePath(relPath) {
84
+ const path = relPath.toLowerCase();
85
+ if (isVcsOrSecretPath(path))
86
+ return true;
87
+ return (path === ".hyperframes" || path.startsWith(".hyperframes/")) && !STUDIO_FILES.has(path) && !STUDIO_FOLDERS.some((folder) => path === folder || path.startsWith(`${folder}/`));
88
+ }
89
+ function isPrivateFileUnder(projectDir, filePath, isPrivate) {
90
+ const rel = (from, to) => relative(from, to).split(sep).join("/");
91
+ if (isPrivate(rel(resolve(projectDir), resolve(filePath))))
92
+ return true;
93
+ try {
94
+ return isPrivate(rel(realpath(resolve(projectDir)), realpath(filePath)));
95
+ } catch {
96
+ return false;
97
+ }
98
+ }
66
99
  var ProjectRootMissingError = class extends Error {
67
100
  root;
68
101
  constructor(root) {
@@ -115,6 +148,10 @@ export {
115
148
  realpath,
116
149
  isSafePath,
117
150
  resolveWithinProject,
151
+ projectPathSegments,
152
+ isVcsOrSecretPath,
153
+ isStudioPrivatePath,
154
+ isPrivateFileUnder,
118
155
  ProjectRootMissingError,
119
156
  isProjectRootMissing,
120
157
  folderGone,
@@ -15,16 +15,16 @@ import {
15
15
  findFFmpeg,
16
16
  findFFprobe,
17
17
  getFFmpegInstallHint
18
- } from "./chunk-MP36L7OJ.js";
18
+ } from "./chunk-MG6GU4FF.js";
19
19
  import {
20
20
  registerBrowserSessionCleanup
21
- } from "./chunk-NQFIMBXS.js";
21
+ } from "./chunk-UFWTTQ72.js";
22
22
  import {
23
23
  DEFAULT_VP9_CPU_USED,
24
24
  SDR_RGB_TO_BT709_FILTER,
25
25
  SDR_RGB_TO_TAGGED_BT709_FILTER,
26
26
  renderProvenanceArgs
27
- } from "./chunk-2TBW7UOF.js";
27
+ } from "./chunk-AOZKUVTY.js";
28
28
  import {
29
29
  runCancellableProcess
30
30
  } from "./chunk-X6JUUQCM.js";
@@ -432,7 +432,7 @@ async function decoderTransposesDimensions(inputPath) {
432
432
  }
433
433
  async function probeMedia(inputPath) {
434
434
  const isImage = inferInputKind(inputPath) === "image";
435
- const engine = await import("./src-C3XYMTF4.js");
435
+ const engine = await import("./src-KJ7FMIH7.js");
436
436
  const meta = await engine.extractMediaMetadata(inputPath);
437
437
  if (isImage) {
438
438
  return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
@@ -0,0 +1,143 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ RENDER_TEMP_DIR
9
+ } from "./chunk-HOIEN7O4.js";
10
+ import {
11
+ isStudioPrivatePath,
12
+ mkdirWithinProject,
13
+ projectPathSegments,
14
+ realpath,
15
+ resolveWithinProject
16
+ } from "./chunk-XWK2RSD5.js";
17
+
18
+ // ../studio-server/dist/chunk-B2COEQOV.js
19
+ import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "path";
20
+ import { lstatSync, readdirSync } from "fs";
21
+ function resolveWithinProject2(base, relativePath) {
22
+ const resolved = resolveWithinProject(base, relativePath);
23
+ return resolved && !isPrivateProjectFile(base, resolved) ? resolved : null;
24
+ }
25
+ function projectRelativePath(base, file) {
26
+ return relative(resolve(base), resolve(file)).split(sep).join("/");
27
+ }
28
+ function realFilePath(filePath) {
29
+ try {
30
+ return realpath(filePath);
31
+ } catch {
32
+ const dir = dirname(filePath);
33
+ return dir === filePath ? filePath : join(realFilePath(dir), basename(filePath));
34
+ }
35
+ }
36
+ var isPrivateProjectPath = isStudioPrivatePath;
37
+ var projectRelatives = (projectDir, filePath) => {
38
+ const rel = (from, to) => relative(from, to).split(sep).join("/");
39
+ return [rel(projectDir, filePath), rel(realFilePath(projectDir), realFilePath(filePath))];
40
+ };
41
+ function isPrivateProjectFile(projectDir, filePath) {
42
+ return projectRelatives(projectDir, filePath).some(isPrivateProjectPath);
43
+ }
44
+ var WRITABLE_HIDDEN_FOLDERS = /* @__PURE__ */ new Set([".hyperframes", ".media"]);
45
+ function isWritableProjectPath(relPath) {
46
+ if (!relPath || isPrivateProjectPath(relPath)) return false;
47
+ const segments = projectPathSegments(relPath);
48
+ return segments.every(
49
+ (segment, at) => segment !== "" && segment !== "node_modules" && (!segment.startsWith(".") || at === 0 && WRITABLE_HIDDEN_FOLDERS.has(segment))
50
+ );
51
+ }
52
+ function isWritableProjectFile(projectDir, filePath) {
53
+ return projectRelatives(projectDir, filePath).every(isWritableProjectPath);
54
+ }
55
+ function resolveWritableWithinProject(base, relativePath) {
56
+ const resolved = resolveWithinProject2(base, relativePath);
57
+ return resolved && isWritableProjectFile(base, resolved) ? resolved : null;
58
+ }
59
+ function pinWritableWithinProject(base, relativePath) {
60
+ return pinResolved(base, resolveWritableWithinProject(base, relativePath));
61
+ }
62
+ function pinWithinProject(base, relativePath) {
63
+ return pinResolved(base, resolveWithinProject2(base, relativePath));
64
+ }
65
+ function pinProjectRecord(base, relativePath) {
66
+ return pinResolved(base, resolveWithinProject(base, relativePath));
67
+ }
68
+ function pinResolved(base, checked) {
69
+ if (!checked) return null;
70
+ const inside = relative(realFilePath(base), realFilePath(checked));
71
+ const escapes = inside === ".." || inside.startsWith(`..${sep}`) || isAbsolute(inside);
72
+ return escapes ? null : join(base, inside);
73
+ }
74
+ function isLinkFreeWithinProject(root, dir) {
75
+ const inside = relative(resolve(root), resolve(dir));
76
+ if (inside === ".." || inside.startsWith(`..${sep}`) || isAbsolute(inside)) return false;
77
+ let path = resolve(root);
78
+ for (const part of inside.split(sep).filter(Boolean)) {
79
+ path = join(path, part);
80
+ const stat = lstatSync(path, { throwIfNoEntry: false });
81
+ if (stat?.isSymbolicLink()) return false;
82
+ if (!stat?.isDirectory()) return true;
83
+ }
84
+ return true;
85
+ }
86
+ function mkdirOwnedWithinProject(root, dir) {
87
+ if (!isLinkFreeWithinProject(root, dir)) throw new Error(`A link stands in for a folder: ${dir}`);
88
+ mkdirWithinProject(root, dir);
89
+ }
90
+ var IGNORE_DIRS = /* @__PURE__ */ new Set([
91
+ ".thumbnails",
92
+ ".transcode-cache",
93
+ ".waveform-cache",
94
+ "node_modules",
95
+ ".git"
96
+ ]);
97
+ function shouldIgnoreDir(rel) {
98
+ return rel === ".hyperframes/backup";
99
+ }
100
+ function isInHiddenOrVendorDir(relPath) {
101
+ const segments = relPath.split("/");
102
+ return segments.slice(0, -1).some((seg) => seg.startsWith(".") || seg === "node_modules");
103
+ }
104
+ var UNREADABLE_DIR_CODES = /* @__PURE__ */ new Set(["EACCES", "EPERM", "ENOENT", "ENOTDIR"]);
105
+ function walkDir(dir, prefix = "") {
106
+ let entries;
107
+ try {
108
+ entries = readdirSync(dir, { withFileTypes: true });
109
+ } catch (err) {
110
+ const code = err.code;
111
+ if (!prefix || !code || !UNREADABLE_DIR_CODES.has(code)) throw err;
112
+ return [];
113
+ }
114
+ const files = [];
115
+ for (const entry of entries) {
116
+ const rel = prefix ? `${prefix}/${entry.name}` : entry.name;
117
+ if (IGNORE_DIRS.has(entry.name) || RENDER_TEMP_DIR.test(entry.name) || shouldIgnoreDir(rel))
118
+ continue;
119
+ if (entry.isDirectory()) {
120
+ files.push(...walkDir(join(dir, entry.name), rel));
121
+ } else {
122
+ files.push(rel);
123
+ }
124
+ }
125
+ return files;
126
+ }
127
+
128
+ export {
129
+ resolveWithinProject2 as resolveWithinProject,
130
+ projectRelativePath,
131
+ realFilePath,
132
+ isPrivateProjectPath,
133
+ isPrivateProjectFile,
134
+ isWritableProjectFile,
135
+ resolveWritableWithinProject,
136
+ pinWritableWithinProject,
137
+ pinWithinProject,
138
+ pinProjectRecord,
139
+ isLinkFreeWithinProject,
140
+ mkdirOwnedWithinProject,
141
+ isInHiddenOrVendorDir,
142
+ walkDir
143
+ };
@@ -0,0 +1,16 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+
8
+ // src/utils/windowsExeSearch.ts
9
+ function skipWorkingDirectoryInExeSearch(env = process.env, platform = process.platform) {
10
+ if (platform === "win32") env.NoDefaultCurrentDirectoryInExePath ??= "1";
11
+ }
12
+ skipWorkingDirectoryInExeSearch();
13
+
14
+ export {
15
+ skipWorkingDirectoryInExeSearch
16
+ };
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  downloadToFile
9
- } from "./chunk-PXDRW3QN.js";
9
+ } from "./chunk-J466WOMZ.js";
10
10
  import {
11
11
  CACHE_DIR,
12
12
  PINNED_PACKAGES,
@@ -21,10 +21,10 @@ import {
21
21
  emitWords,
22
22
  getPreparedWavDurationSeconds,
23
23
  prepareWav
24
- } from "./chunk-4WZU4FYS.js";
24
+ } from "./chunk-QZFKLORI.js";
25
25
  import {
26
26
  stoppedByCancelSignal
27
- } from "./chunk-XVVPEWNX.js";
27
+ } from "./chunk-GPERPLAQ.js";
28
28
  import {
29
29
  verifies
30
30
  } from "./chunk-RZ6CXJ56.js";
@@ -35,7 +35,7 @@ import {
35
35
  SHERPA_WINDOW_PREFIX,
36
36
  mergeWindowsToWords,
37
37
  writeParakeetTranscript
38
- } from "./chunk-JZIEZCQM.js";
38
+ } from "./chunk-7PBJR7WI.js";
39
39
  import {
40
40
  hyperframesCacheDir
41
41
  } from "./chunk-JOQR4AP6.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  createFileAtomically
9
- } from "./chunk-IEEIPTDW.js";
9
+ } from "./chunk-X5BRDEOM.js";
10
10
 
11
11
  // src/utils/writeNewFile.ts
12
12
  function writeNewFileSync(filePath, content) {
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  RegistryCompatibilityError,
9
9
  gateRegistryItemsCompatibility
10
- } from "./chunk-FRH3CPW5.js";
10
+ } from "./chunk-V4XLGSUL.js";
11
11
  import {
12
12
  readJsonFlag
13
13
  } from "./chunk-EHZESMRB.js";
@@ -17,22 +17,22 @@ import {
17
17
  loadProjectConfig,
18
18
  projectConfigPath,
19
19
  recordProjectRegistryItems
20
- } from "./chunk-SOAQ3XXB.js";
20
+ } from "./chunk-5TAFQEKH.js";
21
21
  import {
22
22
  resolveItemWithDependencies,
23
23
  resolveItemsByTag
24
- } from "./chunk-W5PW26KE.js";
24
+ } from "./chunk-KEUDODWJ.js";
25
25
  import {
26
26
  InvalidVariableValuesError,
27
27
  prepareItem,
28
28
  publishItem
29
- } from "./chunk-RCB4SGTB.js";
29
+ } from "./chunk-XODMUHGW.js";
30
30
  import {
31
31
  DEFAULT_REGISTRY_URL
32
- } from "./chunk-76KUCQXD.js";
32
+ } from "./chunk-IARWDMY7.js";
33
33
  import {
34
34
  trackRegistryItemAdded
35
- } from "./chunk-ADYMQM7T.js";
35
+ } from "./chunk-R43U3RJ3.js";
36
36
  import {
37
37
  defineCommand
38
38
  } from "./chunk-DL4OD7IA.js";
@@ -41,11 +41,14 @@ import {
41
41
  } from "./chunk-JCNPHRGX.js";
42
42
  import {
43
43
  ITEM_TYPE_DIRS
44
- } from "./chunk-EX7WPDFA.js";
44
+ } from "./chunk-NABIUZRZ.js";
45
45
  import {
46
46
  isProjectRootMissing,
47
47
  realpath
48
- } from "./chunk-HZTRKUKE.js";
48
+ } from "./chunk-XWK2RSD5.js";
49
+ import {
50
+ findTrustedExecutable
51
+ } from "./chunk-IU5DC4HP.js";
49
52
  import {
50
53
  parseHTML
51
54
  } from "./chunk-GWTIFRF5.js";
@@ -64,24 +67,21 @@ import { resolve, relative } from "path";
64
67
  import { spawnSync } from "child_process";
65
68
  import { platform } from "os";
66
69
  var COPY_TIMEOUT_MS = 5e3;
67
- function detectProvider() {
70
+ function candidateProviders() {
68
71
  const os = platform();
69
- if (os === "darwin") {
70
- return { cmd: "pbcopy", args: [] };
71
- }
72
- if (os === "win32") {
73
- return { cmd: "clip.exe", args: [] };
74
- }
75
- const candidates = [
72
+ if (os === "darwin") return [{ cmd: "pbcopy", args: [] }];
73
+ if (os === "win32") return [{ cmd: "clip", args: [] }];
74
+ return [
76
75
  { cmd: "clip.exe", args: [] },
77
76
  { cmd: "wl-copy", args: [] },
78
77
  { cmd: "xclip", args: ["-selection", "clipboard"] },
79
78
  { cmd: "xsel", args: ["--clipboard", "--input"] }
80
79
  ];
81
- const cmd = process.platform === "win32" ? "where" : "which";
82
- for (const p of candidates) {
83
- const result = spawnSync(cmd, [p.cmd], { stdio: "ignore", windowsHide: true });
84
- if (result.status === 0) return p;
80
+ }
81
+ function detectProvider() {
82
+ for (const provider of candidateProviders()) {
83
+ const cmd = findTrustedExecutable(provider.cmd);
84
+ if (cmd) return { cmd, args: provider.args };
85
85
  }
86
86
  return void 0;
87
87
  }
@@ -231,7 +231,7 @@ function assertCompatibleOrThrow(items, cliVersion) {
231
231
  throw err;
232
232
  }
233
233
  }
234
- async function installAll(installPlan, destDir, baseUrl, force, requestedName, variableValues) {
234
+ async function installAll(installPlan, destDir, baseUrl, force, requestedName, variableValues, installDirs) {
235
235
  const written = [];
236
236
  const preserved = [];
237
237
  let variablesApplied = [];
@@ -246,7 +246,8 @@ async function installAll(installPlan, destDir, baseUrl, force, requestedName, v
246
246
  force,
247
247
  // Only the item the user named. A dependency dragged in behind it never
248
248
  // declared these variables and must not be rewritten by them.
249
- variableValues: planItem.name === requestedName ? variableValues : null
249
+ variableValues: planItem.name === requestedName ? variableValues : null,
250
+ installDirs
250
251
  })
251
252
  );
252
253
  }
@@ -301,6 +302,13 @@ async function addToProject(opts) {
301
302
  "example-type"
302
303
  );
303
304
  }
305
+ const exampleDependency = resolved.find((dep) => dep.type === "hyperframes:example");
306
+ if (exampleDependency) {
307
+ throw new AddError(
308
+ `"${item.name}" depends on the example "${exampleDependency.name}", which \`add\` does not install.`,
309
+ "example-type"
310
+ );
311
+ }
304
312
  const warnings = assertCompatibleOrThrow(resolved, opts.cliVersion);
305
313
  const installPlan = resolved.map((resolvedItem) => ({
306
314
  ...resolvedItem,
@@ -316,7 +324,8 @@ async function addToProject(opts) {
316
324
  config.registry,
317
325
  opts.force ?? false,
318
326
  item.name,
319
- variableValues
327
+ variableValues,
328
+ [config.paths.blocks, config.paths.components, config.paths.assets]
320
329
  );
321
330
  for (const planItem of installPlan) {
322
331
  trackRegistryItemAdded({
@@ -14,15 +14,15 @@ import {
14
14
  // src/ui/format.ts
15
15
  function formatBytes(bytes) {
16
16
  if (bytes < 1024) return `${bytes} B`;
17
- if (bytes < 1024 * 1024) return `${(bytes / 1024).toFixed(1)} KB`;
17
+ const kb = Math.round(bytes / 1024 * 10) / 10;
18
+ if (kb < 1024) return `${kb.toFixed(1)} KB`;
18
19
  return `${(bytes / (1024 * 1024)).toFixed(1)} MB`;
19
20
  }
20
21
  function formatDuration(ms) {
21
- const seconds = ms / 1e3;
22
- if (seconds < 60) return `${seconds.toFixed(1)}s`;
23
- const minutes = Math.floor(seconds / 60);
24
- const remaining = seconds - minutes * 60;
25
- return `${minutes}m ${remaining.toFixed(1)}s`;
22
+ const tenths = Math.round(ms / 100);
23
+ if (tenths < 600) return `${(tenths / 10).toFixed(1)}s`;
24
+ const minutes = Math.floor(tenths / 600);
25
+ return `${minutes}m ${((tenths - minutes * 600) / 10).toFixed(1)}s`;
26
26
  }
27
27
  function formatRenderSummaryDetail(input) {
28
28
  const middle = input.isDirectory && !input.playlistDirectory ? input.frameCount != null ? `${input.frameCount} frames` : void 0 : input.outputDurationSeconds != null && input.outputDurationSeconds > 0 ? `${formatDuration(input.outputDurationSeconds * 1e3)} video` : void 0;
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  loadProducer
9
- } from "./chunk-UE2WSWNA.js";
9
+ } from "./chunk-7ZYTAHZ2.js";
10
10
  import {
11
11
  extractAudioMetadata
12
- } from "./chunk-2TBW7UOF.js";
12
+ } from "./chunk-AOZKUVTY.js";
13
13
  import {
14
14
  resolveProjectRelativeSrc
15
15
  } from "./chunk-K2Z6OXEI.js";
16
16
 
17
17
  // src/utils/projectMedia.ts
18
18
  async function collectProjectMedia(projectDir) {
19
- const { bundleToSingleHtml } = await import("./compiler-5ZDHBKBQ.js");
19
+ const { bundleToSingleHtml } = await import("./compiler-HYZUBDAD.js");
20
20
  const html = await bundleToSingleHtml(projectDir);
21
21
  const producer = await loadProducer();
22
22
  if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");