hyperframes 0.9.64 → 0.9.66

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 (336) hide show
  1. package/dist/{add-VFWLLECU.js → add-Q4W2PAZ6.js} +22 -21
  2. package/dist/{agentPromptGenerator-FEZHETMZ.js → agentPromptGenerator-BZ77OPI4.js} +14 -13
  3. package/dist/{animatedGifPrep-JZPLKKB6.js → animatedGifPrep-3UBRNEEA.js} +15 -14
  4. package/dist/api.js +56 -53
  5. package/dist/{appHistory-AMDQO54F.js → appHistory-EWII7S5X.js} +4 -4
  6. package/dist/{asset-W6CMIIDB.js → asset-ZRTGYYEN.js} +10 -8
  7. package/dist/{assetCataloger-POC644N7.js → assetCataloger-GTSOUOBQ.js} +15 -14
  8. package/dist/{audio-QLPRSLD4.js → audio-ZUW3RHEO.js} +30 -28
  9. package/dist/{auth-UD5JKJ3M.js → auth-TE5FMKUT.js} +4 -4
  10. package/dist/{autoUpdate-WNTJWEIH.js → autoUpdate-6JGNDMLP.js} +24 -10
  11. package/dist/{avatars-BUQDDQZ2.js → avatars-BJEF4TZR.js} +25 -23
  12. package/dist/{backgroundChecks-AYK6ADD4.js → backgroundChecks-EN5XLRLY.js} +3 -3
  13. package/dist/backgroundChecksWorker.js +3 -3
  14. package/dist/{batchRender-FZPZFGKB.js → batchRender-EEMYIEYR.js} +13 -10
  15. package/dist/{beats-EA7NEYGM.js → beats-IPGSP5BV.js} +14 -13
  16. package/dist/{benchmark-WGYT2WAG.js → benchmark-GZOATIPM.js} +25 -22
  17. package/dist/{billing-A2WKV5BH.js → billing-3LF2YYP7.js} +22 -20
  18. package/dist/{browser-DH3KXV4V.js → browser-2IH45NN6.js} +14 -13
  19. package/dist/{bundleWithLocalizedFonts-C5IIR6CQ.js → bundleWithLocalizedFonts-QV6WDOXF.js} +1 -1
  20. package/dist/{capture-Y7HEXFSY.js → capture-4SIGWC4Q.js} +10 -9
  21. package/dist/{capture-SPZCSPCC.js → capture-K75SADNY.js} +27 -26
  22. package/dist/{captureCompositionFrame-HBDM6FHB.js → captureCompositionFrame-XVEPPU4X.js} +22 -21
  23. package/dist/{captureFile-FNCMGYYJ.js → captureFile-GYZI5Y56.js} +3 -3
  24. package/dist/{catalog-GUACPRZO.js → catalog-6N22YQEE.js} +22 -21
  25. package/dist/{catch-up-7AC2W75E.js → catch-up-67LVADSA.js} +14 -13
  26. package/dist/{check-S7X45EVG.js → check-NYD3WGR2.js} +57 -53
  27. package/dist/{checkAudio-RGMZTJIM.js → checkAudio-APZTSEHX.js} +17 -16
  28. package/dist/{checkBrowser-4SDR745B.js → checkBrowser-2UA6O65I.js} +49 -45
  29. package/dist/{chunk-DWP5EIUS.js → chunk-244FN6TG.js} +2 -1
  30. package/dist/{chunk-3JVTHNDH.js → chunk-2FEZFXKE.js} +1 -1
  31. package/dist/{chunk-J5PZTR45.js → chunk-2OSPWUGX.js} +99 -33
  32. package/dist/{chunk-TY7WOSVR.js → chunk-2UIAN6N7.js} +2 -2
  33. package/dist/{chunk-KXE3JVEZ.js → chunk-2Z7IW5EY.js} +2 -2
  34. package/dist/{chunk-WDTX4PG5.js → chunk-35BZXE5L.js} +1 -1
  35. package/dist/{chunk-2PKURSBE.js → chunk-37SEGJEO.js} +11 -11
  36. package/dist/{chunk-Y6NTMCRF.js → chunk-3B4WQYCW.js} +6 -6
  37. package/dist/{chunk-6XGM5GHR.js → chunk-3BKNPN36.js} +56 -7
  38. package/dist/{chunk-GNKUAJXO.js → chunk-3ODOQWSB.js} +12 -7
  39. package/dist/{chunk-NORROE4L.js → chunk-3WE4UZHN.js} +2 -2
  40. package/dist/{chunk-LN36F5DC.js → chunk-4IIPERO4.js} +3 -3
  41. package/dist/{chunk-FHIOPTN4.js → chunk-4SY34UA2.js} +1 -1
  42. package/dist/{chunk-7R7OCEHI.js → chunk-4WUTXBRK.js} +6 -6
  43. package/dist/{chunk-RC2DDVX5.js → chunk-5E46EQ3U.js} +2 -2
  44. package/dist/{chunk-TVSB4K5O.js → chunk-5UOYRGKV.js} +2 -2
  45. package/dist/{chunk-UL2EO5VU.js → chunk-5WZSXP6R.js} +1 -1
  46. package/dist/{chunk-X63QVLMJ.js → chunk-64O3DG3E.js} +1 -1
  47. package/dist/{chunk-RO4RY5YB.js → chunk-66D5BC5K.js} +39 -11
  48. package/dist/{chunk-C6J6TZSW.js → chunk-6ACARSAZ.js} +1 -1
  49. package/dist/{chunk-WLAMY4XL.js → chunk-6PGDI5NG.js} +206 -95
  50. package/dist/{chunk-PEWBM2XF.js → chunk-6PYUPO4M.js} +4 -4
  51. package/dist/{chunk-CUGK6ZF6.js → chunk-6QITYZN7.js} +2 -2
  52. package/dist/{chunk-LWNHZUYJ.js → chunk-6QZNF3JF.js} +67 -32
  53. package/dist/chunk-6SYJN2KD.js +15 -0
  54. package/dist/{chunk-777GBBTE.js → chunk-6VNN3SYK.js} +1 -1
  55. package/dist/{chunk-RRIAHUG3.js → chunk-745HLQBA.js} +1 -1
  56. package/dist/{chunk-7WA77KXG.js → chunk-74M47HVE.js} +2 -2
  57. package/dist/{chunk-JFIN5P4E.js → chunk-7BREEOLQ.js} +16 -16
  58. package/dist/{chunk-BVA3NEQC.js → chunk-7CKKKBNM.js} +2 -2
  59. package/dist/{chunk-ASML5H5V.js → chunk-7EOREMZI.js} +12 -12
  60. package/dist/{chunk-DAN5KKFR.js → chunk-7LQFVACU.js} +1 -1
  61. package/dist/{chunk-VCTPYHOD.js → chunk-7QNCNGN6.js} +2 -2
  62. package/dist/{chunk-ZUYNFADS.js → chunk-A6O65H7G.js} +4 -4
  63. package/dist/{chunk-IW7QUJDU.js → chunk-AAZF6D3Z.js} +1 -1
  64. package/dist/{chunk-NHF32RRC.js → chunk-AI4MXYGK.js} +1 -1
  65. package/dist/{chunk-YT43XMYD.js → chunk-AI5KNXSL.js} +8 -8
  66. package/dist/{chunk-ZJQ23DJQ.js → chunk-AQBWVIT7.js} +1 -1
  67. package/dist/{chunk-NMYYW6QM.js → chunk-AQNI4TCF.js} +23 -15
  68. package/dist/{chunk-4HPXVTWY.js → chunk-AWOHPIKF.js} +9 -9
  69. package/dist/{chunk-NSRLO47G.js → chunk-BSY6ZHP6.js} +2 -2
  70. package/dist/{chunk-B2ZFTAZE.js → chunk-CANVWJB4.js} +101 -28
  71. package/dist/{chunk-NVE5ZPIV.js → chunk-CEHYC2UD.js} +3 -3
  72. package/dist/chunk-CINXWHRB.js +25 -0
  73. package/dist/{chunk-HYO4DIYT.js → chunk-CPQTWPMM.js} +1 -1
  74. package/dist/{chunk-ZAJ5SIG2.js → chunk-CTDCYNVK.js} +2 -2
  75. package/dist/{chunk-YV6I32RM.js → chunk-CUOX3TDY.js} +3 -3
  76. package/dist/{chunk-KRE7VIQV.js → chunk-D5YHSTHZ.js} +9 -16
  77. package/dist/{chunk-OM3PJLUG.js → chunk-DPMEWIVZ.js} +4 -4
  78. package/dist/{chunk-YFTPZZEE.js → chunk-DZ3JB4F3.js} +2 -2
  79. package/dist/{chunk-M4WT65UD.js → chunk-EIION6EA.js} +2 -2
  80. package/dist/{chunk-TU4IITMO.js → chunk-EPBYIJPM.js} +3 -3
  81. package/dist/{chunk-XO55FUXZ.js → chunk-ESYW3LJU.js} +2 -2
  82. package/dist/{chunk-GKRD43J2.js → chunk-FAJRDYFU.js} +6 -6
  83. package/dist/{chunk-HFRB7UTK.js → chunk-FBOKUG5B.js} +5 -5
  84. package/dist/{chunk-JGEDH5GJ.js → chunk-FCNBAYZ6.js} +3 -3
  85. package/dist/{chunk-XDVHQFEQ.js → chunk-FOALZ4MW.js} +1 -1
  86. package/dist/{chunk-KGPLIH7B.js → chunk-G37O3IZB.js} +1 -0
  87. package/dist/{chunk-GDKNEQ4E.js → chunk-GGY5M6BU.js} +1 -1
  88. package/dist/{chunk-HU2SPFNG.js → chunk-GHS4ZYQX.js} +1 -1
  89. package/dist/{chunk-NDXUDTLF.js → chunk-GXKCFOMR.js} +2 -2
  90. package/dist/{chunk-MH7FQ6N7.js → chunk-H6LFXHAV.js} +7 -7
  91. package/dist/{chunk-HC5GAPIW.js → chunk-HMNDJPLQ.js} +3 -3
  92. package/dist/{chunk-A6AH56HN.js → chunk-HYQ6S7R6.js} +2 -2
  93. package/dist/{chunk-LGIWC6KN.js → chunk-IUUEMVZV.js} +3 -3
  94. package/dist/{chunk-T7U6D2UW.js → chunk-IXGZSANV.js} +2 -2
  95. package/dist/{chunk-EMIOIMHN.js → chunk-IXSCGQS5.js} +1 -1
  96. package/dist/{chunk-ETMGDJ5P.js → chunk-JDJ6BM5E.js} +2 -2
  97. package/dist/{chunk-QQZ7DCAA.js → chunk-JGKI7FHX.js} +143 -47
  98. package/dist/{chunk-JYWFQ42F.js → chunk-JHPOKDZI.js} +13 -13
  99. package/dist/{chunk-YGO6PEYX.js → chunk-JK7JON6R.js} +1 -1
  100. package/dist/{chunk-UAM6PRKO.js → chunk-K2NOQNNY.js} +1 -1
  101. package/dist/{chunk-FWVJW5WC.js → chunk-KDQRJHLU.js} +4 -4
  102. package/dist/{chunk-ERM3UC6T.js → chunk-KFWSPEDG.js} +1 -1
  103. package/dist/{chunk-LUDXZKNH.js → chunk-KXCAIQE4.js} +10 -10
  104. package/dist/{chunk-IH2C53YV.js → chunk-KZ5PV5TL.js} +11 -9
  105. package/dist/{chunk-Q4FVSYTD.js → chunk-L3FQUUS6.js} +1 -1
  106. package/dist/{chunk-2PIQTMWA.js → chunk-L7BY2FDJ.js} +30 -23
  107. package/dist/{chunk-4YMMTQ45.js → chunk-LAXD6VM7.js} +10 -10
  108. package/dist/{chunk-5BNKWHG6.js → chunk-LBFV45YF.js} +1 -1
  109. package/dist/{chunk-FXMKHHPO.js → chunk-LIHELBPB.js} +0 -61
  110. package/dist/{chunk-ZM66CP4T.js → chunk-LIXAC5NE.js} +15 -15
  111. package/dist/{chunk-CFOPRL62.js → chunk-LNOG6KKM.js} +7 -7
  112. package/dist/{chunk-YWUE4CRU.js → chunk-LWX5PI73.js} +7 -7
  113. package/dist/{chunk-UJN7LD7Q.js → chunk-M4ABCFJO.js} +4 -4
  114. package/dist/{chunk-7G6OHKDZ.js → chunk-MEZAMIT6.js} +9 -9
  115. package/dist/{chunk-3PXZPI6I.js → chunk-MG7UJJCP.js} +29 -11
  116. package/dist/{chunk-Y7S7XM5T.js → chunk-MH46RGG6.js} +1 -1
  117. package/dist/{chunk-JXVUSNAG.js → chunk-MKZ73C57.js} +4 -4
  118. package/dist/{chunk-RIETR6VC.js → chunk-N6VNR4YE.js} +54 -17
  119. package/dist/{chunk-K6ARLNKJ.js → chunk-NIEOUHVQ.js} +1 -1
  120. package/dist/{chunk-K2FH6FRK.js → chunk-NMASYQXY.js} +3 -3
  121. package/dist/{chunk-G2US34LC.js → chunk-NOCU3FBX.js} +5 -5
  122. package/dist/{chunk-FZLY56DP.js → chunk-NSADX4IV.js} +19 -3
  123. package/dist/{chunk-D62TF745.js → chunk-OB56G4VA.js} +3 -3
  124. package/dist/{chunk-U2FL2MTE.js → chunk-OGL5VQGT.js} +4 -2
  125. package/dist/{chunk-7OVPWTCJ.js → chunk-OI5WGQE3.js} +5 -5
  126. package/dist/{chunk-3X72Y7FR.js → chunk-OMFIMZZD.js} +5 -5
  127. package/dist/chunk-PWRUMN7B.js +71 -0
  128. package/dist/{chunk-5F7M7PYP.js → chunk-PXMEW6TM.js} +3 -3
  129. package/dist/{chunk-5NSZ5XPH.js → chunk-QSQNXAHE.js} +1 -1
  130. package/dist/{chunk-LZDRK67I.js → chunk-R5C2CV7J.js} +5 -5
  131. package/dist/chunk-RAHYMZNU.js +5146 -0
  132. package/dist/{chunk-FO3FSJBJ.js → chunk-RD3DE4ZP.js} +2 -2
  133. package/dist/{chunk-MHEO2LYC.js → chunk-RHZE7BIX.js} +3 -3
  134. package/dist/{chunk-I3R2E6SE.js → chunk-ROODLZY7.js} +10 -10
  135. package/dist/{chunk-J5VEGTHN.js → chunk-RRGRETJ4.js} +2 -2
  136. package/dist/{chunk-WC6L7F3Z.js → chunk-S73AVUHJ.js} +1 -1
  137. package/dist/{chunk-3WHPQNTD.js → chunk-SITGBEFO.js} +41 -34
  138. package/dist/{chunk-5N7RRWIP.js → chunk-TIGMUHSL.js} +15 -11
  139. package/dist/{chunk-Q76FGC6A.js → chunk-TMB4L4GG.js} +5 -3
  140. package/dist/{chunk-QUAK4OPT.js → chunk-TQYHQKOK.js} +1 -1
  141. package/dist/{chunk-RZREOKHK.js → chunk-TU2WFCGS.js} +9 -2
  142. package/dist/{chunk-XKPBY4G2.js → chunk-TUJB74AE.js} +22 -27
  143. package/dist/{chunk-JO25BSM3.js → chunk-TXTVVIW7.js} +3 -3
  144. package/dist/{chunk-B7B7SGPV.js → chunk-TZ3EPV4B.js} +1 -1
  145. package/dist/{chunk-TPIQDAHD.js → chunk-U3WUAVAX.js} +3 -3
  146. package/dist/{chunk-TFAKFI3R.js → chunk-U6ZR7GBQ.js} +3 -3
  147. package/dist/{chunk-GFT3OQ33.js → chunk-UCQTLZDJ.js} +2 -2
  148. package/dist/{chunk-X3VHHQYM.js → chunk-ULE2EYEY.js} +2 -2
  149. package/dist/{chunk-S35RUNXJ.js → chunk-UVW5ZDAP.js} +4 -2
  150. package/dist/{chunk-KFR67U7E.js → chunk-VBLKGDVI.js} +1 -1
  151. package/dist/{chunk-A7NRMVUG.js → chunk-VTP3TBRY.js} +23 -42
  152. package/dist/{chunk-BQKQPYEP.js → chunk-W672RTMC.js} +8 -8
  153. package/dist/{chunk-4K6VNWJS.js → chunk-WMJ3PV37.js} +1 -1
  154. package/dist/{chunk-L5V57765.js → chunk-WWQWDRKU.js} +1 -1
  155. package/dist/{chunk-4I4ACRCU.js → chunk-WY6354ZO.js} +4 -4
  156. package/dist/{chunk-OKQ5OUJH.js → chunk-X3JZA7KH.js} +9 -9
  157. package/dist/{chunk-WMBZFHHZ.js → chunk-XEIVSW2F.js} +7 -7
  158. package/dist/{chunk-SREN5WTO.js → chunk-XKIXRSVB.js} +3 -3
  159. package/dist/{chunk-FNOAIEQC.js → chunk-XMKDDEX4.js} +7 -7
  160. package/dist/{chunk-DO6R4KYL.js → chunk-XNJEXXKC.js} +2 -2
  161. package/dist/{chunk-BXNWMRZL.js → chunk-XSARHJSW.js} +2 -2
  162. package/dist/{chunk-MY2XJULG.js → chunk-XTKNMYRR.js} +2 -2
  163. package/dist/{chunk-3FOIZLN4.js → chunk-Y4QE4LEB.js} +1 -1
  164. package/dist/{chunk-KR7FV3WD.js → chunk-Y57R6C5U.js} +4 -4
  165. package/dist/{chunk-IVAMWDMR.js → chunk-Y6A5LED6.js} +2 -2
  166. package/dist/{chunk-RO6MNXKE.js → chunk-YMSOS6CF.js} +1 -1
  167. package/dist/{chunk-KLIV2W5D.js → chunk-ZHIAAYY2.js} +4 -4
  168. package/dist/chunk-ZQPXWUCP.js +141 -0
  169. package/dist/{chunk-Z6BSZ2HK.js → chunk-ZS2ROUIG.js} +2 -2
  170. package/dist/{chunk-L3LVTSHX.js → chunk-ZY55U6ER.js} +8 -8
  171. package/dist/{clean-ROGNMYHH.js → clean-73IDEWIJ.js} +31 -29
  172. package/dist/cli.js +72 -71
  173. package/dist/{cloud-3A3ASGKH.js → cloud-P32MAEIJ.js} +4 -4
  174. package/dist/{cloud-SGY2DYTO.js → cloud-SOZPWTDL.js} +14 -12
  175. package/dist/{cloudrun-AU2TSYBU.js → cloudrun-H5TW5T4R.js} +9 -8
  176. package/dist/{compare-DARUHTKS.js → compare-BQSDHPZ3.js} +50 -49
  177. package/dist/{compiler-XLAW2M77.js → compiler-WNVDGRBH.js} +9 -6
  178. package/dist/{component-LHP7MJ3L.js → component-WWICYJFN.js} +18 -13
  179. package/dist/{compositions-BMQ4NTWM.js → compositions-VEMHHQR6.js} +22 -19
  180. package/dist/{contactSheet-JFEV75W2.js → contactSheet-G42BMJXO.js} +4 -4
  181. package/dist/{curve-FNX3ONSD.js → curve-5SCSMYX4.js} +20 -19
  182. package/dist/{cuts-HQI2ZBOS.js → cuts-POUL3RQ5.js} +21 -20
  183. package/dist/{delete-EDIDKV7H.js → delete-NVS5PXRM.js} +21 -17
  184. package/dist/{deploy-KFOOAJEE.js → deploy-SPJ5OWAI.js} +9 -16
  185. package/dist/{describeProject-A2TZSHVH.js → describeProject-KJGRR7FM.js} +15 -14
  186. package/dist/{destroy-LSQUDIVA.js → destroy-CPLVCITS.js} +6 -6
  187. package/dist/{deterministicFonts-XCYIRDQZ.js → deterministicFonts-645ILNLP.js} +3 -3
  188. package/dist/{diff-PRT5CIDJ.js → diff-O2JUFV2N.js} +51 -49
  189. package/dist/{dist-UIIZKERM.js → dist-DCRKIIL4.js} +18 -17
  190. package/dist/{dist-YXDW5VUV.js → dist-TTOW2KVO.js} +11 -9
  191. package/dist/{dist-VPMEUGIV.js → dist-XRESUN6B.js} +3 -3
  192. package/dist/docker/Dockerfile.render +1 -1
  193. package/dist/{doctor-TQ3RNOYK.js → doctor-L5GGDS2F.js} +21 -19
  194. package/dist/{dotEnv-2VNMLGZC.js → dotEnv-7P4XI4ID.js} +11 -6
  195. package/dist/{energy-F7FS75TV.js → energy-43JTPLLL.js} +21 -20
  196. package/dist/{events-23GP74FO.js → events-33NDGOZM.js} +23 -22
  197. package/dist/{events-VN7QW7JU.js → events-K576EL47.js} +9 -8
  198. package/dist/{events-LJIO2U6Z.js → events-XRO5CFTD.js} +4 -3
  199. package/dist/{execute-GZLBWOFB.js → execute-EWZ3WK3L.js} +44 -43
  200. package/dist/{extract-NJSXJFB2.js → extract-NW375CQM.js} +22 -21
  201. package/dist/{face-JQBXWNMX.js → face-AVVUVV5L.js} +22 -21
  202. package/dist/{face-HJNH6TQM.js → face-IVXIPAO5.js} +19 -18
  203. package/dist/{feedback-T3WYFTGI.js → feedback-MS34KB74.js} +26 -24
  204. package/dist/{ffmpeg-HYYDF4FH.js → ffmpeg-I376KCKD.js} +15 -14
  205. package/dist/{figma-T5PCTXP7.js → figma-M37MXYPR.js} +3 -3
  206. package/dist/fontLocalizeCli.js +19 -18
  207. package/dist/{frames-QTYTUQ52.js → frames-6VGAHZBO.js} +23 -22
  208. package/dist/{generate-RNUZUNHG.js → generate-TM7AOJ27.js} +37 -35
  209. package/dist/{get-KP5FCZKQ.js → get-2JAJO7AP.js} +21 -17
  210. package/dist/{gpuPolicy-F7RTO2CS.js → gpuPolicy-DEH3KKNF.js} +13 -12
  211. package/dist/{grade-compare-55ZWESO7.js → grade-compare-UN6MPWVF.js} +47 -46
  212. package/dist/{hands-XZFTUVNT.js → hands-ANSG7WHU.js} +24 -23
  213. package/dist/{heifImagePrep-7T6EC2VL.js → heifImagePrep-YC3ZMWUC.js} +16 -15
  214. package/dist/{help-U36MZKGG.js → help-63QQYCMJ.js} +1 -1
  215. package/dist/{history-RFJGLXYS.js → history-DRSL755Q.js} +18 -17
  216. package/dist/hyperframe.manifest.json +1 -1
  217. package/dist/hyperframe.runtime.iife.js +72 -71
  218. package/dist/hyperframes-player.global.js +3 -3
  219. package/dist/{index-gen-3DWPA4FO.js → index-gen-TXP67YUY.js} +13 -1
  220. package/dist/{info-3NB5HOAS.js → info-UNIWLP7I.js} +21 -20
  221. package/dist/{init-H5L3KVSO.js → init-3W3XSGXC.js} +46 -44
  222. package/dist/{ink-C7YJAB4M.js → ink-OXJJIEQ7.js} +21 -20
  223. package/dist/{inspect-4LNO7C77.js → inspect-UOXP5ICV.js} +50 -46
  224. package/dist/{installer-WALAPPWF.js → installer-OWZSFVV2.js} +10 -9
  225. package/dist/{keyframes-FORZG2IO.js → keyframes-LNCXSQJ6.js} +23 -22
  226. package/dist/{lambda-PKVT2D45.js → lambda-3ZIM5NW2.js} +22 -21
  227. package/dist/{launch-PXZF4TSU.js → launch-HOSRCHWS.js} +15 -14
  228. package/dist/{layout-7BKIDH5L.js → layout-MRBHBZEA.js} +50 -46
  229. package/dist/{lint-ODMVBKA5.js → lint-U4PINYKO.js} +16 -15
  230. package/dist/{lintProject-XEWYQ2YP.js → lintProject-55U44GOP.js} +3 -3
  231. package/dist/{list-B223YD2L.js → list-AMH6UUTI.js} +27 -21
  232. package/dist/{live-WWPFZQ74.js → live-ZSDUN6U2.js} +1 -1
  233. package/dist/{localPage-GNT4KO7M.js → localPage-JJ56YNKB.js} +14 -13
  234. package/dist/{login-DTYGRX6S.js → login-U42SSWF4.js} +15 -13
  235. package/dist/{logout-WNVEAWWZ.js → logout-DQVPSI4E.js} +11 -9
  236. package/dist/{look-WGDSVD5A.js → look-6VTGMGIF.js} +21 -20
  237. package/dist/{manager-OMDGEDU2.js → manager-GHP2QIUD.js} +17 -16
  238. package/dist/{manager-C5S25OOK.js → manager-PXRZQDDT.js} +4 -4
  239. package/dist/{measure-UMINPIOA.js → measure-NC4LN7EZ.js} +12 -12
  240. package/dist/{media-6Y6RGH6H.js → media-VKM5WFRK.js} +21 -16
  241. package/dist/{media-treatment-CVVCARD4.js → media-treatment-VNZS2MIT.js} +28 -27
  242. package/dist/{media-use-4CDI2VV5.js → media-use-JOQWGBS5.js} +18 -13
  243. package/dist/{models-3DMHZYLD.js → models-S55TNWF7.js} +24 -22
  244. package/dist/{motionShot-EB2RQLG3.js → motionShot-OUOXFKUG.js} +26 -25
  245. package/dist/{normalize-KYVBGCEM.js → normalize-AH7CCULG.js} +3 -3
  246. package/dist/{normalize-audio-J5PRW2T2.js → normalize-audio-GYTTK5QE.js} +16 -15
  247. package/dist/{oauth-E5QBYYTX.js → oauth-RETRT7QD.js} +2 -1
  248. package/dist/{open-CTEBHEQB.js → open-KGXPI4BY.js} +35 -28
  249. package/dist/{parakeetRunner-JTYOFSEH.js → parakeetRunner-IXUUFPGG.js} +26 -24
  250. package/dist/{pipeline-MTFGTQBG.js → pipeline-UE2Y2ZRB.js} +18 -17
  251. package/dist/{plan-KWQMZCRP.js → plan-AD4FZA6N.js} +29 -28
  252. package/dist/{play-QAD7NEJH.js → play-G6JYDYIH.js} +45 -38
  253. package/dist/{preflight-FRZEYCAM.js → preflight-QNDXHMOT.js} +18 -16
  254. package/dist/{present-A236DAR5.js → present-OK7QMCLR.js} +42 -37
  255. package/dist/{preview-T7R3Y2P7.js → preview-XD7J2KHY.js} +69 -66
  256. package/dist/{privateProjectFile-6ZDCWIFO.js → privateProjectFile-2WJ6GPY6.js} +14 -11
  257. package/dist/{probe-DRYUMUVG.js → probe-34RS6LVV.js} +21 -20
  258. package/dist/processes.ps1 +20 -0
  259. package/dist/{producer-XGWE7D4U.js → producer-AX7EDIPJ.js} +1 -1
  260. package/dist/{progress-2FZHJMQ2.js → progress-WLBIHCZM.js} +4 -4
  261. package/dist/{projectConfig-V27XJAAR.js → projectConfig-YBFY4W5A.js} +13 -12
  262. package/dist/{publication-6GJPFPQK.js → publication-JPKV2ZQO.js} +8 -7
  263. package/dist/{publish-X32RPL6L.js → publish-LRUVQX2E.js} +38 -33
  264. package/dist/{receivedRecordFollow-3ZT7SRRY.js → receivedRecordFollow-6MPKPG36.js} +16 -15
  265. package/dist/{refresh-OD5KKKQ5.js → refresh-HFE7YV57.js} +11 -9
  266. package/dist/{remove-background-FC3B3BLA.js → remove-background-TS4QUALS.js} +19 -18
  267. package/dist/{render-6VLPVVIF.js → render-NYFK74KL.js} +13 -12
  268. package/dist/{render-WZ2LHRIR.js → render-PSUJ4UCJ.js} +71 -69
  269. package/dist/{render-GMINWEBY.js → render-UQICTWO6.js} +57 -52
  270. package/dist/{render-batch-F4WR3T2E.js → render-batch-57ZDTS7Z.js} +13 -12
  271. package/dist/renderSetupWorker.js +10 -9
  272. package/dist/{resolver-ZJTCLGJB.js → resolver-3HJC4XU3.js} +10 -9
  273. package/dist/{reverse-XDKTYZEM.js → reverse-CIMYQVFI.js} +1 -1
  274. package/dist/{run-5LP7BKUF.js → run-EFRNU53Z.js} +14 -12
  275. package/dist/{screenshotCapture-72HYLPYD.js → screenshotCapture-K63UAXO7.js} +16 -15
  276. package/dist/{service-DWVOCGDO.js → service-EEEGLRHX.js} +24 -22
  277. package/dist/{share-K6FYZ7OP.js → share-WQVRXWH4.js} +28 -26
  278. package/dist/{sherpa-4TUAQ25R.js → sherpa-BOHH3Q32.js} +25 -23
  279. package/dist/sherpaWorker.js +5 -5
  280. package/dist/{sites-SUB3WQRQ.js → sites-2IEQMGTW.js} +4 -4
  281. package/dist/skills/hyperframes/references/plugin-installation.md +11 -2
  282. package/dist/skills/hyperframes/references/skill-lifecycle.md +12 -3
  283. package/dist/skills/hyperframes/scripts/plugin-cli.mjs +44 -10
  284. package/dist/skills/hyperframes-cli/references/upgrade-info-misc.md +1 -1
  285. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +35 -51
  286. package/dist/skills/media-use/scripts/lib/codex-provider.mjs +17 -10
  287. package/dist/skills/media-use/scripts/lib/cube-validate.mjs +2 -1
  288. package/dist/skills/media-use/scripts/lib/index-gen.mjs +4 -2
  289. package/dist/skills/media-use/scripts/lib/ltx-video-provider.mjs +6 -4
  290. package/dist/skills/media-use/scripts/lib/mflux-provider.mjs +6 -4
  291. package/dist/skills/media-use/scripts/lib/private-output.mjs +21 -0
  292. package/dist/skills/media-use/scripts/lib/received-env.d.mts +5 -0
  293. package/dist/skills/media-use/scripts/lib/received-env.mjs +567 -0
  294. package/dist/skills/media-use/scripts/lib/tts-local-provider.mjs +9 -4
  295. package/dist/skills/media-use/scripts/resolve.mjs +36 -19
  296. package/dist/{skills-OEYS3FEC.js → skills-KB7UH26E.js} +12 -11
  297. package/dist/{skillsUpdateCheck-RFHPBIPU.js → skillsUpdateCheck-ZDA5FPJB.js} +3 -3
  298. package/dist/{snapshot-VJXNZMJZ.js → snapshot-HRR6LIPD.js} +93 -189
  299. package/dist/snapshotHeldVideos-QGJBXBJM.js +63 -0
  300. package/dist/{src-TDYI7QIO.js → src-FCITTGFH.js} +12 -11
  301. package/dist/{src-P4PHYYKA.js → src-QOVNNDZN.js} +18 -17
  302. package/dist/{start-U2SI4DAI.js → start-I7H5I3AS.js} +39 -36
  303. package/dist/{state-E3RFYMOF.js → state-O6CCLWF6.js} +4 -4
  304. package/dist/{staticProjectServer-NYBCXQPN.js → staticProjectServer-XEZD7JZE.js} +29 -28
  305. package/dist/{status-KCF3G7E5.js → status-2GKACMVC.js} +23 -21
  306. package/dist/studio/assets/hyperframes-player-VGx6ow_e.js +573 -0
  307. package/dist/studio/assets/{index-CVmmHGol.js → index-B8Xt_Oyw.js} +190 -186
  308. package/dist/studio/assets/{index-DN167Uqf.js → index-BH18TdX9.js} +1 -1
  309. package/dist/studio/assets/{pausedVideoDecoder-C8rhpGPx.js → pausedVideoDecoder-Bx3fGNkU.js} +1 -1
  310. package/dist/studio/index.html +1 -1
  311. package/dist/{studio-api-TZHZLLCD.js → studio-api-KQ7DR667.js} +18 -17
  312. package/dist/{studioServer-IFEYMMIN.js → studioServer-KAU2XZ4F.js} +84 -81
  313. package/dist/subCompositionWorker.js +10 -9
  314. package/dist/{sync-H2SNHXZD.js → sync-3OJZRVPG.js} +21 -20
  315. package/dist/{synthesize-EIZ3XR5O.js → synthesize-JECKYUGO.js} +3 -3
  316. package/dist/{telemetry-BGBRABGW.js → telemetry-HIZZLE6W.js} +9 -8
  317. package/dist/templates/_shared/AGENTS.md +3 -1
  318. package/dist/templates/_shared/CLAUDE.md +3 -1
  319. package/dist/{templates-6OBD5XQI.js → templates-35GCXKO2.js} +24 -22
  320. package/dist/{textOverFace-5TTQHKZG.js → textOverFace-Q4I3PREP.js} +10 -4
  321. package/dist/{timeline-XZMIGQSE.js → timeline-U2V63I7B.js} +28 -27
  322. package/dist/{tokens-5VOBSSBN.js → tokens-24TKAZCA.js} +17 -12
  323. package/dist/{transcribe-F5VS2B2D.js → transcribe-M3JJZ27F.js} +22 -20
  324. package/dist/{transcribe-VOWDWAVU.js → transcribe-YHGN4HEM.js} +45 -42
  325. package/dist/{tts-URZ56ZN7.js → tts-CDBXQSAQ.js} +8 -7
  326. package/dist/{update-L5WLOBMT.js → update-4DIZ3YQQ.js} +17 -14
  327. package/dist/{updateCheck-NYDA3CKE.js → updateCheck-F56HX6MZ.js} +2 -2
  328. package/dist/{upgrade-APGW3TZA.js → upgrade-6WAFZ7WN.js} +5 -5
  329. package/dist/{urlDownloader-H67ZJV7Q.js → urlDownloader-DNNB6UOI.js} +12 -11
  330. package/dist/{validate-ZWNAZZMI.js → validate-N5KPU4GC.js} +36 -35
  331. package/dist/{video-IDLKJE2M.js → video-T6YYFBNI.js} +15 -14
  332. package/dist/{voices-TTD5VBUS.js → voices-OI37IYYG.js} +35 -33
  333. package/dist/warmCheck.js +57 -53
  334. package/package.json +1 -1
  335. package/dist/chunk-MJI4W7LY.js +0 -5101
  336. package/dist/studio/assets/hyperframes-player-mSF_GvRs.js +0 -573
@@ -25,11 +25,51 @@ import {
25
25
  } from "./chunk-CPHQTXP5.js";
26
26
  import {
27
27
  VERSION
28
- } from "./chunk-YFTPZZEE.js";
28
+ } from "./chunk-DZ3JB4F3.js";
29
29
  import {
30
30
  originalPath
31
31
  } from "./chunk-SDIQEPAR.js";
32
32
 
33
+ // src/utils/homeCliCommand.ts
34
+ import { accessSync, constants, statSync } from "fs";
35
+ import { homedir } from "os";
36
+ import { isAbsolute } from "path";
37
+ function globalInstallLocation() {
38
+ if (process.env["npm_lifecycle_event"]) {
39
+ return {
40
+ reason: "Run the global CLI update directly from your shell, outside the package script."
41
+ };
42
+ }
43
+ const unavailable = { reason: "The CLI update needs an accessible, absolute home directory." };
44
+ try {
45
+ const home = homedir();
46
+ if (!isAbsolute(home)) return unavailable;
47
+ const stat = statSync(home);
48
+ if (!stat.isDirectory()) return unavailable;
49
+ if (process.geteuid) {
50
+ if (stat.uid !== process.geteuid()) {
51
+ return {
52
+ reason: "The home directory belongs to a different user. Run the update as the home owner, or use the effective user's own home directory."
53
+ };
54
+ }
55
+ if ((stat.mode & 18) !== 0) {
56
+ return { reason: "The home directory allows writes by the group or other users." };
57
+ }
58
+ }
59
+ accessSync(home, constants.X_OK);
60
+ return { cwd: home };
61
+ } catch {
62
+ return unavailable;
63
+ }
64
+ }
65
+ function homeCliCommand(release, action = "", platform = process.platform) {
66
+ const args = `hyperframes@${release}${action ? " " + action : ""}`;
67
+ if (platform === "win32") {
68
+ return `powershell.exe -NoProfile -Command "Set-Location ~ -ErrorAction Stop; npx.cmd ${args}"`;
69
+ }
70
+ return `(cd ~ && npx ${args})`;
71
+ }
72
+
33
73
  // src/utils/updateCheck.ts
34
74
  import { existsSync as existsSync2, readFileSync as readFileSync3 } from "fs";
35
75
  import { join as join3, resolve } from "path";
@@ -234,7 +274,7 @@ function updateCommandFor(install, latest) {
234
274
  const invocation = installInvocation(kind, latest);
235
275
  if (invocation) return `${invocation.bin} ${invocation.args.join(" ")}`;
236
276
  }
237
- return "npx hyperframes@latest";
277
+ return homeCliCommand("latest");
238
278
  }
239
279
  function packageVersionAbove(entry) {
240
280
  let dir = dirname2(entry);
@@ -282,7 +322,10 @@ function shadowingInstall(current) {
282
322
  if (!global || !version || !isOlder(version, current)) return null;
283
323
  const install = installAt(global);
284
324
  if (!UPDATABLE_CHANNELS.has(install.channel)) return null;
285
- return { version, updateCommand: updateCommandFor(install, current) };
325
+ return {
326
+ version,
327
+ updateCommand: install.channel === "project" ? null : updateCommandFor(install, current)
328
+ };
286
329
  }
287
330
 
288
331
  // src/utils/projectPin.ts
@@ -451,7 +494,7 @@ function updateCommandForThisInstall(cliBehind, skillsBehind, latest) {
451
494
  if (install.channel === "project") {
452
495
  return projectNoticeCommand(install, cliBehind, skillsBehind, latest);
453
496
  }
454
- return install.channel === "npx" && cliBehind ? `npx hyperframes@${updateChannel()} update` : "npx hyperframes update";
497
+ return install.channel === "npx" && cliBehind ? homeCliCommand(updateChannel(), "update") : "npx hyperframes update";
455
498
  }
456
499
  function noticeSentence(version, latest, skills, command) {
457
500
  const cli = latest ? `HyperFrames CLI ${latest} is available (this run is ${version})` : null;
@@ -512,7 +555,7 @@ function printUpdateNotice() {
512
555
  if (readConfig().pendingUpdate?.version === meta.latestVersion) return;
513
556
  const safeLatest = isSafeVersion(meta.latestVersion);
514
557
  const managerCommand = safeLatest ? detectInstaller().installCommand(meta.latestVersion) : null;
515
- const command = managerCommand ?? `npx hyperframes@${updateChannel()}`;
558
+ const command = managerCommand ?? homeCliCommand(updateChannel());
516
559
  process.stderr.write(
517
560
  `
518
561
  Update available: ${meta.version} \u2192 ${meta.latestVersion}
@@ -535,10 +578,13 @@ function printStalePinNotice(cwd = process.cwd()) {
535
578
  const pins = readPinnedHyperframesVersions(scripts);
536
579
  const newerPins = pins.filter((v) => isNewerSemver(v, VERSION)).sort(compareVersions2);
537
580
  if (newerPins.length > 0) {
581
+ const pin = newerPins.at(-1);
538
582
  process.stderr.write(
539
583
  `
540
584
  This is hyperframes ${VERSION}, but this project pins hyperframes@${newerPins.join(", ")}.
541
- Run it through the project's npm scripts, or npx hyperframes@${newerPins.at(-1)}.
585
+ A project's pin does not choose the CLI; an agent runs the pinned release only when the person asks for it.
586
+ To choose it, pass --cli-version ${pin} to the installed standalone skill launcher.
587
+ Without standalone skills, choose it by starting in your home folder, running npx hyperframes@${pin} with the desired command, and passing the project by absolute path.
542
588
 
543
589
  `
544
590
  );
@@ -562,13 +608,16 @@ function printStalePinNotice(cwd = process.cwd()) {
562
608
  process.stderr.write(
563
609
  `
564
610
  This project pins hyperframes@${stale.join(", ")} (latest ${latest}).
565
- Bump it: npx hyperframes@latest upgrade --project
611
+ Use the installed standalone skill launcher with --cli-version latest upgrade --project . to bump the pin.
612
+ Without standalone skills, run the latest CLI from your home folder and pass the absolute project path to upgrade --project.
566
613
 
567
614
  `
568
615
  );
569
616
  }
570
617
 
571
618
  export {
619
+ globalInstallLocation,
620
+ homeCliCommand,
572
621
  claimDailyNotice,
573
622
  isSafeVersion,
574
623
  detectInstaller,
@@ -14,16 +14,19 @@ import {
14
14
  findAllByFigmaNode,
15
15
  freezeBytes,
16
16
  nextId,
17
+ ownTypeDir,
17
18
  parseFigmaRef,
18
19
  regenerateIndex,
19
20
  sanitizeSvg,
20
- typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-J5PZTR45.js";
23
+ } from "./chunk-2OSPWUGX.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-DL4OD7IA.js";
27
+ import {
28
+ terminalText
29
+ } from "./chunk-OGL5VQGT.js";
27
30
 
28
31
  // src/commands/figma/asset.ts
29
32
  import { existsSync } from "fs";
@@ -78,7 +81,7 @@ async function freezeAndRecord(fileKey, nodeId, url, ext, opts, version, deps, d
78
81
  bytes = new TextEncoder().encode(sanitizeSvg(new TextDecoder().decode(bytes)));
79
82
  }
80
83
  const id = nextId(deps.projectDir, "image");
81
- const destAbs = join(typeDirPath(deps.projectDir, "image"), `${id}.${ext}`);
84
+ const destAbs = join(ownTypeDir(deps.projectDir, "image"), `${id}.${ext}`);
82
85
  freezeBytes(bytes, destAbs);
83
86
  const record = {
84
87
  id,
@@ -173,7 +176,9 @@ function safeRegenerateIndex(projectDir) {
173
176
  try {
174
177
  regenerateIndex(projectDir);
175
178
  } catch (err) {
176
- console.warn(`index.md regeneration failed: ${err instanceof Error ? err.message : err}`);
179
+ console.warn(
180
+ terminalText(`index.md regeneration failed: ${err instanceof Error ? err.message : err}`)
181
+ );
177
182
  }
178
183
  }
179
184
  var FORMATS = ["png", "svg", "jpg", "pdf"];
@@ -220,8 +225,8 @@ var asset_default = defineCommand({
220
225
  );
221
226
  for (const result of results) {
222
227
  const verb = result.reused ? "reused" : "imported";
223
- console.log(`${verb} ${result.record.id} \u2192 ${result.record.path}`);
224
- console.log(result.snippet.html);
228
+ console.log(terminalText(`${verb} ${result.record.id} \u2192 ${result.record.path}`));
229
+ console.log(terminalText(result.snippet.html));
225
230
  }
226
231
  if (results.length > 1) {
227
232
  const rendered = results.filter((r) => !r.reused).length;
@@ -229,7 +234,7 @@ var asset_default = defineCommand({
229
234
  rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
230
235
  );
231
236
  }
232
- const { trackFigmaImport } = await import("./telemetry-BGBRABGW.js");
237
+ const { trackFigmaImport } = await import("./telemetry-HIZZLE6W.js");
233
238
  trackFigmaImport({
234
239
  phase: "asset",
235
240
  reused: results.every((r) => r.reused),
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackCommandFailure
9
- } from "./chunk-M4WT65UD.js";
9
+ } from "./chunk-EIION6EA.js";
10
10
  import {
11
11
  errorBox
12
- } from "./chunk-X63QVLMJ.js";
12
+ } from "./chunk-64O3DG3E.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-U7M4SZUB.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  windowsLocalAppData
9
- } from "./chunk-J5VEGTHN.js";
9
+ } from "./chunk-RRGRETJ4.js";
10
10
  import {
11
11
  MAX_PORT_SCAN,
12
12
  PreviewServerPortMismatchError,
@@ -16,10 +16,10 @@ import {
16
16
  import {
17
17
  isProcessDescendant,
18
18
  processIdentity
19
- } from "./chunk-A7NRMVUG.js";
19
+ } from "./chunk-VTP3TBRY.js";
20
20
  import {
21
21
  terminateProcessTree
22
- } from "./chunk-KGPLIH7B.js";
22
+ } from "./chunk-G37O3IZB.js";
23
23
  import {
24
24
  namedCacheDir
25
25
  } from "./chunk-KUJJJBV2.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-D3NWGOXW.js";
10
10
  import {
11
11
  errorBox
12
- } from "./chunk-X63QVLMJ.js";
12
+ } from "./chunk-64O3DG3E.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-U7M4SZUB.js";
@@ -9,7 +9,7 @@ import {
9
9
  mkdirOwnedWithinProject,
10
10
  pinProjectRecord,
11
11
  realFilePath
12
- } from "./chunk-NMYYW6QM.js";
12
+ } from "./chunk-AQNI4TCF.js";
13
13
  import {
14
14
  isProjectIgnoredDir
15
15
  } from "./chunk-F6PI5O3H.js";
@@ -21,15 +21,15 @@ import {
21
21
  refuseReadOnly,
22
22
  renameWithRetryAsync,
23
23
  replaceFileAtomically
24
- } from "./chunk-K6ARLNKJ.js";
24
+ } from "./chunk-NIEOUHVQ.js";
25
25
  import {
26
26
  isSafePath,
27
27
  realProjectRoot,
28
28
  realpath
29
- } from "./chunk-U2FL2MTE.js";
29
+ } from "./chunk-OGL5VQGT.js";
30
30
  import {
31
31
  namesAnotherNetworkRoot
32
- } from "./chunk-S35RUNXJ.js";
32
+ } from "./chunk-UVW5ZDAP.js";
33
33
  import {
34
34
  isStudioPrivatePath
35
35
  } from "./chunk-NTGTWXAO.js";
@@ -37,7 +37,7 @@ import {
37
37
  hyperframesCacheDir
38
38
  } from "./chunk-KUJJJBV2.js";
39
39
 
40
- // ../studio-server/dist/chunk-ALDXTRE6.js
40
+ // ../studio-server/dist/chunk-4ZY4GHAZ.js
41
41
  import { spawnSync } from "child_process";
42
42
  import { randomUUID } from "crypto";
43
43
  import {
@@ -656,7 +656,7 @@ async function stopServingAndClose(path) {
656
656
  );
657
657
  }
658
658
 
659
- // ../studio-server/dist/chunk-YBAMOQND.js
659
+ // ../studio-server/dist/chunk-3HFCPOZV.js
660
660
  import { randomUUID as randomUUID5 } from "crypto";
661
661
  import { mkdir as mkdir2, readdir as readdir3, rm as rm3, rmdir, stat as stat2, writeFile as writeFile2 } from "fs/promises";
662
662
  import {
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  collectSubCompositionSrcs
9
- } from "./chunk-S35RUNXJ.js";
9
+ } from "./chunk-UVW5ZDAP.js";
10
10
  import {
11
11
  isPathInside
12
- } from "./chunk-IH2C53YV.js";
12
+ } from "./chunk-KZ5PV5TL.js";
13
13
 
14
14
  // src/utils/mountedCompositions.ts
15
15
  import { existsSync, readFileSync } from "fs";
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCuts
9
- } from "./chunk-ERM3UC6T.js";
9
+ } from "./chunk-KFWSPEDG.js";
10
10
  import {
11
11
  grey,
12
12
  readClip,
13
13
  round,
14
14
  videoClip,
15
15
  writeImage
16
- } from "./chunk-RO4RY5YB.js";
16
+ } from "./chunk-66D5BC5K.js";
17
17
 
18
18
  // src/measure/events.ts
19
19
  var EVENT_W = 160;
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  errorBox
9
- } from "./chunk-X63QVLMJ.js";
9
+ } from "./chunk-64O3DG3E.js";
10
10
  import {
11
11
  failUsage
12
12
  } from "./chunk-U7M4SZUB.js";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  terminalLines,
12
12
  terminalText
13
- } from "./chunk-U2FL2MTE.js";
13
+ } from "./chunk-OGL5VQGT.js";
14
14
  import {
15
15
  recordFailure
16
16
  } from "./chunk-LMNCEQCC.js";
@@ -8,14 +8,17 @@ import {
8
8
  findFFmpeg,
9
9
  findFFprobe,
10
10
  getFFmpegInstallHint
11
- } from "./chunk-TY7WOSVR.js";
11
+ } from "./chunk-2UIAN6N7.js";
12
12
  import {
13
13
  recordFolder
14
- } from "./chunk-DWP5EIUS.js";
14
+ } from "./chunk-244FN6TG.js";
15
15
  import {
16
16
  createStagingDir,
17
17
  renameWithRetry
18
- } from "./chunk-K6ARLNKJ.js";
18
+ } from "./chunk-NIEOUHVQ.js";
19
+ import {
20
+ mediaInputFormatArgs
21
+ } from "./chunk-VM2VBJRC.js";
19
22
 
20
23
  // src/measure/media.ts
21
24
  import { execFileSync } from "child_process";
@@ -23,6 +26,11 @@ import { closeSync, existsSync, mkdirSync, openSync, readSync, rmSync } from "fs
23
26
  import { basename, dirname, join, resolve } from "path";
24
27
  var MAX_BUFFER = 1 << 30;
25
28
  var FFMPEG_QUIET = ["-nostdin", "-v", "error"];
29
+ var GUARDED_RUN_MS = 3e4;
30
+ function guardedLimitReason(err) {
31
+ const { code, signal } = err ?? {};
32
+ return code === "ETIMEDOUT" || signal === "SIGTERM" ? `stopped after ${GUARDED_RUN_MS / 1e3} s` : void 0;
33
+ }
26
34
  var Fix = class extends Error {
27
35
  constructor(problem, fix, url) {
28
36
  super(problem);
@@ -48,12 +56,13 @@ function sumOf(terms) {
48
56
  const half = terms.length >> 1;
49
57
  return `(${sumOf(terms.slice(0, half))})+(${sumOf(terms.slice(half))})`;
50
58
  }
51
- function runFfmpeg(args, input, cwd) {
59
+ function runFfmpeg(args, input, cwd, timeout) {
52
60
  return execFileSync(ffmpegBin(), [...FFMPEG_QUIET, ...args], {
53
61
  maxBuffer: MAX_BUFFER,
54
62
  windowsHide: true,
55
63
  ...input ? { input } : {},
56
- ...cwd ? { cwd } : {}
64
+ ...cwd ? { cwd } : {},
65
+ ...timeout ? { timeout } : {}
57
66
  });
58
67
  }
59
68
  function ffmpegToFile(args, out, input) {
@@ -121,19 +130,35 @@ function startsWithMp4Header(path) {
121
130
  if (fd !== void 0) closeSync(fd);
122
131
  }
123
132
  }
124
- function probeVideo(path) {
133
+ function probeVideo(path, { guarded = false } = {}) {
125
134
  if (!existsSync(path)) throw new Fix(`no file at ${path}`, missingFileFix(path));
126
135
  let json;
127
136
  try {
137
+ const bin = ffprobeBin();
128
138
  json = JSON.parse(
129
139
  execFileSync(
130
- ffprobeBin(),
131
- ["-v", "error", "-show_streams", "-show_format", "-of", "json", "--", path],
132
- { maxBuffer: MAX_BUFFER, windowsHide: true, stdio: ["ignore", "pipe", "pipe"] }
140
+ bin,
141
+ [
142
+ "-v",
143
+ "error",
144
+ ...guarded ? mediaInputFormatArgs(bin, path) : [],
145
+ "-show_streams",
146
+ "-show_format",
147
+ "-of",
148
+ "json",
149
+ "--",
150
+ path
151
+ ],
152
+ {
153
+ maxBuffer: MAX_BUFFER,
154
+ windowsHide: true,
155
+ stdio: ["ignore", "pipe", "pipe"],
156
+ ...guarded ? { timeout: GUARDED_RUN_MS } : {}
157
+ }
133
158
  ).toString()
134
159
  );
135
160
  } catch (err) {
136
- const reason = ffprobeReason(err, path);
161
+ const reason = (guarded ? guardedLimitReason(err) : void 0) ?? ffprobeReason(err, path);
137
162
  throw new Fix(
138
163
  `ffprobe cannot read ${path}${reason ? `: ${reason}` : ""}`,
139
164
  unreadableFix(reason, startsWithMp4Header(path))
@@ -168,7 +193,8 @@ function probeVideo(path) {
168
193
  vfr: avg > 0 && Math.abs(avg - fps) / fps > 0.01,
169
194
  hdr: /smpte2084|arib-std-b67/.test(video.color_transfer ?? ""),
170
195
  transfer: video.color_transfer,
171
- codec: video.codec_name ?? ""
196
+ codec: video.codec_name ?? "",
197
+ ...guarded ? { guarded } : {}
172
198
  };
173
199
  }
174
200
  function videoClip(path, start = 0, seconds, info = probeVideo(path)) {
@@ -323,6 +349,8 @@ function projectOf(from) {
323
349
  }
324
350
 
325
351
  export {
352
+ GUARDED_RUN_MS,
353
+ guardedLimitReason,
326
354
  Fix,
327
355
  ffmpegBin,
328
356
  sumOf,
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-TRQDC2UC.js";
16
16
  import {
17
17
  realFilePath
18
- } from "./chunk-NMYYW6QM.js";
18
+ } from "./chunk-AQNI4TCF.js";
19
19
 
20
20
  // ../studio-server/dist/helpers/outsideFile.js
21
21
  import { closeSync, constants, fstatSync, openSync, readSync } from "fs";