hyperframes 0.9.58 → 0.9.61

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 (365) hide show
  1. package/bin/hyperframes.mjs +3 -1
  2. package/dist/{add-JQUKPSEZ.js → add-LNPIKHAX.js} +33 -32
  3. package/dist/{agentPromptGenerator-3NEY7FPP.js → agentPromptGenerator-N3HL4JWM.js} +19 -20
  4. package/dist/{animatedGifPrep-VMUZ6IVJ.js → animatedGifPrep-SEPXIM4W.js} +24 -24
  5. package/dist/api.d.ts +8 -1
  6. package/dist/api.js +70 -69
  7. package/dist/{appHistory-JNI6IOR6.js → appHistory-ASGUPUUV.js} +6 -6
  8. package/dist/{asset-ZT3VXZ67.js → asset-3L2G3ROU.js} +17 -7
  9. package/dist/{assetCataloger-D2DV65BA.js → assetCataloger-3D75A6GI.js} +21 -22
  10. package/dist/{audio-LD5H2R5V.js → audio-U4W5ZWQ7.js} +54 -53
  11. package/dist/{auth-4FPYYMSH.js → auth-V4G5ZE3P.js} +4 -4
  12. package/dist/{autoUpdate-5ZKSFCG4.js → autoUpdate-QYKF3DDS.js} +6 -6
  13. package/dist/{avatars-DCLFE7VG.js → avatars-SB2XCDWJ.js} +31 -32
  14. package/dist/{backgroundChecks-UZA3F46H.js → backgroundChecks-KHBYRE6J.js} +16 -9
  15. package/dist/backgroundChecksWorker.js +9 -9
  16. package/dist/{batchRender-TAUW3CT2.js → batchRender-6S5GMICZ.js} +13 -14
  17. package/dist/{beats-X3LCR6OG.js → beats-7YLYCCMD.js} +21 -22
  18. package/dist/{benchmark-DNZQT3YQ.js → benchmark-IBX7ZWVU.js} +37 -35
  19. package/dist/{billing-4BFUAHWX.js → billing-EAHOGMQW.js} +28 -29
  20. package/dist/{browser-5J2MTDB6.js → browser-XKYRXDJW.js} +23 -24
  21. package/dist/{bundleWithLocalizedFonts-XWK47ZVF.js → bundleWithLocalizedFonts-ZFX7TSWT.js} +1 -1
  22. package/dist/{capture-TVYTKWTG.js → capture-4WKQKMXG.js} +38 -17
  23. package/dist/{capture-2YSVFKWV.js → capture-IBOCZ2MK.js} +56 -50
  24. package/dist/{captureCompositionFrame-L765HLCT.js → captureCompositionFrame-HZA3LNU3.js} +29 -30
  25. package/dist/{captureFile-DOCK42K3.js → captureFile-Z7HQDRC2.js} +4 -4
  26. package/dist/captureProxy-4K3J652A.js +23 -0
  27. package/dist/{catalog-CHGGRRQX.js → catalog-TSXQTLKM.js} +45 -43
  28. package/dist/{catch-up-OCFU6ZR3.js → catch-up-LD2B5CE3.js} +35 -29
  29. package/dist/{check-LWK4Z7FI.js → check-TEZKUD26.js} +72 -72
  30. package/dist/{checkAudio-R5ORBXBO.js → checkAudio-3GM74ZGV.js} +22 -23
  31. package/dist/{checkBrowser-6SH73T47.js → checkBrowser-OFH3I7Q6.js} +62 -62
  32. package/dist/{chunk-2WA62M3B.js → chunk-22B53HD3.js} +10 -5
  33. package/dist/{chunk-K2EJQ44S.js → chunk-2CNVJQKU.js} +1 -1
  34. package/dist/{chunk-XMT4MG6W.js → chunk-2H4SJSUS.js} +14 -14
  35. package/dist/{chunk-6RPKPL22.js → chunk-2SPQTJA2.js} +25 -23
  36. package/dist/{chunk-GIVMQDSK.js → chunk-32H642MS.js} +2 -2
  37. package/dist/chunk-3GF72UPC.js +256 -0
  38. package/dist/chunk-3HJX4F2S.js +39 -0
  39. package/dist/{chunk-VXE46PXX.js → chunk-3JVTHNDH.js} +1 -1
  40. package/dist/{chunk-H3LEOZVK.js → chunk-3ROFCQAW.js} +1 -1
  41. package/dist/{chunk-NLVIE7VN.js → chunk-3W2ORSFV.js} +4 -4
  42. package/dist/{chunk-4QPT3IEL.js → chunk-4AMOVEV7.js} +181 -59
  43. package/dist/{chunk-A4L7G74T.js → chunk-4EWS3KP3.js} +3 -3
  44. package/dist/{chunk-AJ7YRQS4.js → chunk-4ORH2OXS.js} +2 -2
  45. package/dist/{chunk-2GRCLLKU.js → chunk-4SDNEKTL.js} +4 -4
  46. package/dist/{chunk-CDNVZEGQ.js → chunk-4T45V6GF.js} +5 -2
  47. package/dist/{chunk-GDIBE57N.js → chunk-4ZLWEPK4.js} +2 -2
  48. package/dist/{chunk-CRPLPK6J.js → chunk-5F2ULLFW.js} +7 -7
  49. package/dist/{chunk-O5U3Y5DX.js → chunk-5GUYYSVT.js} +1 -1
  50. package/dist/{chunk-EOXNEA4Z.js → chunk-5RM7274K.js} +21 -9
  51. package/dist/{chunk-E4IR34CF.js → chunk-5T2LNQAH.js} +58 -20
  52. package/dist/{chunk-M5TTYUZM.js → chunk-5ZAM42GH.js} +6 -6
  53. package/dist/{chunk-5IE5ZI66.js → chunk-62UUXB3F.js} +1 -1
  54. package/dist/{chunk-A4YRESMH.js → chunk-63CSQYYO.js} +2 -2
  55. package/dist/{chunk-R4EWRIDL.js → chunk-6B2TH52B.js} +8 -1
  56. package/dist/{chunk-X3IVUSOX.js → chunk-6KU6TCSS.js} +3 -3
  57. package/dist/{chunk-DHVRVI7F.js → chunk-6NDSDQCR.js} +62 -27
  58. package/dist/{chunk-O4K22EFS.js → chunk-6OKMCIDU.js} +24 -14
  59. package/dist/{chunk-D3M5VOC5.js → chunk-6P7FLYOR.js} +55 -125
  60. package/dist/{chunk-JQZ5WP7L.js → chunk-6R22Y26Z.js} +1 -1
  61. package/dist/{chunk-2SJNGWSY.js → chunk-6X2CLRU7.js} +1 -1
  62. package/dist/{chunk-PYTF6VHF.js → chunk-6ZU654EU.js} +3 -3
  63. package/dist/{chunk-G3U5CUF3.js → chunk-73NC557V.js} +2 -2
  64. package/dist/{chunk-7WAWUQDQ.js → chunk-7463BOQJ.js} +4 -4
  65. package/dist/{chunk-4N3WOFP3.js → chunk-7AP5C4C2.js} +19 -19
  66. package/dist/{chunk-FFOFGL2O.js → chunk-7DMES2F3.js} +2 -2
  67. package/dist/{chunk-Y6CZFX5X.js → chunk-7GDEQJSL.js} +28 -19
  68. package/dist/{chunk-ECGNWHFE.js → chunk-A2ZUVULS.js} +88 -2
  69. package/dist/{chunk-CNAOJ7XI.js → chunk-A7NRMVUG.js} +1 -1
  70. package/dist/{chunk-TLGQQ324.js → chunk-ADQ7XZE5.js} +11 -9
  71. package/dist/{chunk-M3IHARIW.js → chunk-B5JWBMDR.js} +102 -40
  72. package/dist/{chunk-7ZHBY7T5.js → chunk-B5TLZC2D.js} +11 -4
  73. package/dist/{chunk-DH3M5X3Y.js → chunk-BAU3ASNM.js} +4 -4
  74. package/dist/{chunk-ELRE6LVJ.js → chunk-BHZZM2PK.js} +5 -5
  75. package/dist/chunk-BNH2IKGV.js +5101 -0
  76. package/dist/{chunk-ROESFEBP.js → chunk-BNO5RN55.js} +74 -66
  77. package/dist/{chunk-EWKJDXH6.js → chunk-C2GAAMZ3.js} +4 -4
  78. package/dist/{chunk-OMZSPAK5.js → chunk-C7IEAEKF.js} +1 -1
  79. package/dist/{chunk-ZFOV3R2L.js → chunk-CAAUQUCW.js} +23 -9
  80. package/dist/{chunk-CPDPSNSB.js → chunk-CPHK3XMF.js} +7 -7
  81. package/dist/{chunk-NJPLH762.js → chunk-CPLVXXRS.js} +4 -4
  82. package/dist/{chunk-AMS7Q7P7.js → chunk-CRX444MF.js} +22 -21
  83. package/dist/{chunk-4LZSNWFJ.js → chunk-CRZ7FUMI.js} +3 -3
  84. package/dist/{chunk-VI2LLFW6.js → chunk-CSWJCRDU.js} +2 -2
  85. package/dist/{chunk-37Y334MN.js → chunk-CT54FOTS.js} +18 -14
  86. package/dist/{chunk-CGODFJZ7.js → chunk-CYM53TWZ.js} +32 -18
  87. package/dist/chunk-D37I36FY.js +21 -0
  88. package/dist/{chunk-LO5USUM4.js → chunk-DD37XZVE.js} +1 -1
  89. package/dist/{chunk-OD7XWF5T.js → chunk-DWGDP537.js} +12 -6
  90. package/dist/chunk-EDH2DMXM.js +113 -0
  91. package/dist/{chunk-TAXMLPTE.js → chunk-ENKXJNKX.js} +2 -2
  92. package/dist/{chunk-UJTLTFB6.js → chunk-ERYGKPIR.js} +1 -1
  93. package/dist/{chunk-HOIEN7O4.js → chunk-F6PI5O3H.js} +3 -1
  94. package/dist/{chunk-GVIJFPZV.js → chunk-FLJ4S7NA.js} +2 -2
  95. package/dist/{chunk-KYKQO4VN.js → chunk-FU62NEWC.js} +3 -3
  96. package/dist/{chunk-MPC3OODR.js → chunk-G7HO2FFX.js} +4 -4
  97. package/dist/chunk-GADMF4BL.js +170 -0
  98. package/dist/{chunk-DWFWF6IR.js → chunk-GNRC4L6F.js} +34 -242
  99. package/dist/{chunk-BSFTB6AM.js → chunk-GYPZTG46.js} +12 -6
  100. package/dist/{chunk-OL7RHRNJ.js → chunk-H4HYZUE3.js} +2 -2
  101. package/dist/{chunk-V3O4AFO3.js → chunk-H6Y4XOSP.js} +17 -15
  102. package/dist/{chunk-PGITR2WX.js → chunk-HAMPVCRY.js} +4 -4
  103. package/dist/{chunk-677JGYQL.js → chunk-HLVNKNSW.js} +1 -0
  104. package/dist/{chunk-HFIVZJJD.js → chunk-HTHLFEO2.js} +1 -1
  105. package/dist/{chunk-SM5PNCDI.js → chunk-ICZWQNBR.js} +2 -2
  106. package/dist/{chunk-HTGJOOXE.js → chunk-IIXSSRUR.js} +4 -4
  107. package/dist/{chunk-GEOJA37C.js → chunk-ILKK6F5E.js} +3 -3
  108. package/dist/{chunk-IHXMN5YH.js → chunk-IOWECUEU.js} +2 -2
  109. package/dist/{chunk-SE4NOUB6.js → chunk-IT2YUKYY.js} +5 -5
  110. package/dist/chunk-IU6AC3WL.js +125 -0
  111. package/dist/{chunk-IGZQYMZA.js → chunk-J56ZJFSF.js} +303 -123
  112. package/dist/{chunk-5SGGOZNL.js → chunk-KBEC6VQS.js} +595 -206
  113. package/dist/{chunk-WEU6WLVT.js → chunk-KTY46LIH.js} +8 -4
  114. package/dist/chunk-KUJJJBV2.js +211 -0
  115. package/dist/{chunk-CHCMXYER.js → chunk-KVIXXJLO.js} +1 -1
  116. package/dist/{chunk-XYP4T6TQ.js → chunk-KYZEK7QF.js} +5 -5
  117. package/dist/{chunk-UGKUGYHD.js → chunk-L7MFHIG7.js} +5 -2
  118. package/dist/{chunk-YTHXSYYB.js → chunk-LB6ZAP4I.js} +19 -11
  119. package/dist/{chunk-SV72WLBE.js → chunk-LGIWC6KN.js} +28 -15
  120. package/dist/{chunk-ADVVQX4I.js → chunk-LMNCEQCC.js} +4 -2
  121. package/dist/{chunk-VLFBOKZX.js → chunk-LTXZLTXW.js} +304 -234
  122. package/dist/{chunk-WJIWXHXK.js → chunk-LULZFFDN.js} +3 -3
  123. package/dist/{chunk-CGJIMWNU.js → chunk-LV2ETFC5.js} +5 -5
  124. package/dist/{chunk-DL6PEJWH.js → chunk-LYTELQL2.js} +2 -4
  125. package/dist/{chunk-W2OXNTHG.js → chunk-LZSSGF7G.js} +3 -3
  126. package/dist/chunk-MERWX4DZ.js +159 -0
  127. package/dist/{chunk-CVTIGS5K.js → chunk-MJBBKSKB.js} +1 -1
  128. package/dist/{chunk-5IUVWP3A.js → chunk-MPVJI4SE.js} +2 -2
  129. package/dist/{chunk-7WYJXKIG.js → chunk-MPX3FO4A.js} +5 -5
  130. package/dist/{chunk-ERDQIRUL.js → chunk-MQCIX6O2.js} +20 -10
  131. package/dist/{chunk-ZO5NHAF3.js → chunk-MTCVUAUK.js} +10 -4
  132. package/dist/{chunk-E26Z73S3.js → chunk-MTKXKULM.js} +2 -2
  133. package/dist/{chunk-MCDNAIFF.js → chunk-NGRWDXRZ.js} +1 -1
  134. package/dist/{chunk-FNXU56VT.js → chunk-NK2UW3WR.js} +1 -1
  135. package/dist/{chunk-PS7WBIPK.js → chunk-NOJRZCN3.js} +33 -18
  136. package/dist/{chunk-JOOKM2NC.js → chunk-NU7BEOCX.js} +3 -3
  137. package/dist/chunk-NY6E4272.js +112 -0
  138. package/dist/{chunk-JZVI2TMX.js → chunk-OBP5WNKP.js} +3 -3
  139. package/dist/{chunk-AM4Y3XMR.js → chunk-OGOR22GY.js} +4 -4
  140. package/dist/{chunk-D2LIT7UR.js → chunk-OH3MUFZG.js} +1 -1
  141. package/dist/{chunk-DX5Y3L5B.js → chunk-OPUR2XQ2.js} +6 -6
  142. package/dist/{chunk-SYKUNH25.js → chunk-OW6MOJSR.js} +59 -7
  143. package/dist/{chunk-XCJ2YYMV.js → chunk-P5M3IEXO.js} +1 -1
  144. package/dist/{chunk-D2LSYXLW.js → chunk-PAHTZDMZ.js} +1 -1
  145. package/dist/{chunk-OSKSTJNQ.js → chunk-PJQVJSMG.js} +21 -12
  146. package/dist/{chunk-72GTIFAI.js → chunk-POVOGRMU.js} +2 -2
  147. package/dist/{chunk-U5MILT4G.js → chunk-PPETKAEO.js} +1 -1
  148. package/dist/{chunk-ZLTB7ZCQ.js → chunk-PQ2OPPGP.js} +8 -4
  149. package/dist/chunk-PTGNUVCB.js +112 -0
  150. package/dist/{chunk-X6JUUQCM.js → chunk-Q4FVSYTD.js} +5 -2
  151. package/dist/{chunk-MYETYFDI.js → chunk-Q7IOMZ5X.js} +2 -2
  152. package/dist/{chunk-GRSZAGJB.js → chunk-R2LBMDYH.js} +2 -2
  153. package/dist/{chunk-QBN2W4T3.js → chunk-RC2DDVX5.js} +1 -1
  154. package/dist/{chunk-VSM7OIG2.js → chunk-RDJOA5MM.js} +2 -2
  155. package/dist/{chunk-OEGWTN6N.js → chunk-RF3DT4CS.js} +1 -1
  156. package/dist/{chunk-WGHJUGNU.js → chunk-RJCQZMNI.js} +10 -10
  157. package/dist/{chunk-B2WXMYMA.js → chunk-RPICLHBJ.js} +1 -1
  158. package/dist/{chunk-7ECPFKQV.js → chunk-RRI7NGQZ.js} +37 -13
  159. package/dist/{chunk-X3UXEB2U.js → chunk-RSYV6NNI.js} +2 -2
  160. package/dist/{chunk-6EMFSRTW.js → chunk-S35RUNXJ.js} +7 -0
  161. package/dist/{chunk-QGQCWG7F.js → chunk-SCEBICAQ.js} +2 -2
  162. package/dist/{chunk-JKLWQUSV.js → chunk-SDIQEPAR.js} +1 -1
  163. package/dist/{chunk-3VMZQQUI.js → chunk-SIQGTRZ5.js} +1 -1
  164. package/dist/{chunk-N6PAWR5C.js → chunk-SQI2MWJE.js} +5 -5
  165. package/dist/{chunk-BSDUTNFX.js → chunk-SYMLVFQF.js} +1 -1
  166. package/dist/{chunk-XMAU5ZQX.js → chunk-TFAKFI3R.js} +1 -1
  167. package/dist/{chunk-SNKBI4YB.js → chunk-TJAFCC37.js} +9 -9
  168. package/dist/{chunk-6T4PB35F.js → chunk-TRQDC2UC.js} +9 -2
  169. package/dist/{chunk-4NNYYCJN.js → chunk-TRVWLAQ3.js} +25 -21
  170. package/dist/{chunk-UDLWVQ74.js → chunk-TTRX7NM3.js} +35 -21
  171. package/dist/{chunk-66W5IWLO.js → chunk-U7M4SZUB.js} +13 -2
  172. package/dist/{chunk-TLDIP7Y3.js → chunk-UEJMLVGW.js} +16 -17
  173. package/dist/{chunk-ZAWQJOTW.js → chunk-UX5KLSAJ.js} +74 -76
  174. package/dist/{chunk-O2BLY7PO.js → chunk-VJVTGSGW.js} +1 -1
  175. package/dist/{chunk-IE6BIB3L.js → chunk-VM2VBJRC.js} +34 -3
  176. package/dist/{chunk-AM6UYKVR.js → chunk-VNWPHKKI.js} +11 -11
  177. package/dist/{chunk-WQZQMADW.js → chunk-VRUVJTFW.js} +244 -28
  178. package/dist/{chunk-37VS6QY6.js → chunk-VSS3OAZB.js} +1 -1
  179. package/dist/{chunk-H7DTMLAR.js → chunk-VZM7AFUH.js} +39 -24
  180. package/dist/{chunk-WLNHZ2OM.js → chunk-W772ZFTE.js} +21 -6
  181. package/dist/{chunk-3GKGBYW3.js → chunk-WTO3A7ET.js} +120 -9
  182. package/dist/{chunk-ALD7JBPV.js → chunk-WTS245RC.js} +2 -2
  183. package/dist/{chunk-VBEDZGBW.js → chunk-WTUDKVWQ.js} +74 -19
  184. package/dist/{chunk-OPSGEOCO.js → chunk-WVCCSYZC.js} +53 -31
  185. package/dist/{chunk-ZCLC3KVY.js → chunk-X3NGTIE3.js} +1 -1
  186. package/dist/{chunk-RV3HR3BZ.js → chunk-XLG3JMSS.js} +9 -9
  187. package/dist/{chunk-ZYNNZ5DE.js → chunk-Y53Z2M77.js} +2 -2
  188. package/dist/{chunk-O2INZCGB.js → chunk-YB2ZJJFJ.js} +1 -1
  189. package/dist/{chunk-J6VYWZSO.js → chunk-YLC67YFR.js} +1 -1
  190. package/dist/{chunk-6LU6JICP.js → chunk-YWUE4CRU.js} +96 -9
  191. package/dist/chunk-Z3BPDCRV.js +537 -0
  192. package/dist/{chunk-I6V25IXG.js → chunk-Z55ASKZE.js} +2 -2
  193. package/dist/{chunk-EZJHKHWU.js → chunk-ZBDITGMP.js} +3 -3
  194. package/dist/{chunk-MSC5KBCE.js → chunk-ZGSGBGTB.js} +32 -24
  195. package/dist/{clean-6ODSABBF.js → clean-RJKQ23WH.js} +46 -46
  196. package/dist/cli.js +120 -77
  197. package/dist/{cloud-IMYQB5RC.js → cloud-R3NQSUTQ.js} +4 -4
  198. package/dist/{cloud-NTKLXMBS.js → cloud-VUR3ZO6O.js} +10 -10
  199. package/dist/{cloudrun-JNLDP33J.js → cloudrun-SZYAYV7N.js} +24 -16
  200. package/dist/{compare-VLYZ6ZS4.js → compare-AO5VJBJW.js} +79 -100
  201. package/dist/{compiler-7M2UCEWG.js → compiler-65SP7M2P.js} +9 -10
  202. package/dist/{component-KMUHKZ4R.js → component-WGTPAIKX.js} +23 -9
  203. package/dist/{compositions-ESLWNOMS.js → compositions-HWM6DNJA.js} +28 -29
  204. package/dist/{contactSheet-4YF7U6U7.js → contactSheet-ROUVWDRO.js} +7 -7
  205. package/dist/{curve-7RPSNRPE.js → curve-PLPTMDS4.js} +27 -28
  206. package/dist/{cuts-KBAAZSPS.js → cuts-T5GYTDUA.js} +28 -29
  207. package/dist/{delete-EP5Z7HKF.js → delete-6WE3N3VO.js} +33 -21
  208. package/dist/{deploy-MVR63JLD.js → deploy-GYY6CYQD.js} +14 -13
  209. package/dist/{describeProject-NBVZT5EN.js → describeProject-UQQ2GGIX.js} +19 -20
  210. package/dist/{destroy-DQKIT574.js → destroy-WSGREGAG.js} +14 -13
  211. package/dist/{deterministicFonts-LYBMXXBW.js → deterministicFonts-JER4GPCM.js} +7 -7
  212. package/dist/{diff-RI3FTMOZ.js → diff-JQBZUPKG.js} +305 -114
  213. package/dist/{dist-LRGTXDSM.js → dist-6EF2P3P7.js} +6 -5
  214. package/dist/{dist-G7VFX23I.js → dist-HF753IX4.js} +12 -10
  215. package/dist/{dist-TOOMD57O.js → dist-JRJHFP27.js} +24 -24
  216. package/dist/{docs-YTM4NX2R.js → docs-3OAPSKPG.js} +1 -1
  217. package/dist/{doctor-43YNRCRB.js → doctor-SPJ5AJKX.js} +31 -32
  218. package/dist/{dotEnv-RZ52L7X3.js → dotEnv-7JWLJ2TG.js} +11 -3
  219. package/dist/{energy-YCH36KCC.js → energy-KPDVIZ5D.js} +28 -29
  220. package/dist/{events-VUR27EF6.js → events-4WAMG3JE.js} +15 -16
  221. package/dist/{events-6RJBITYN.js → events-P4223ZZZ.js} +30 -31
  222. package/dist/{events-JCPYG3CD.js → events-XON5I7VU.js} +9 -9
  223. package/dist/{execute-OXMKWIFI.js → execute-CN5FLBYU.js} +57 -53
  224. package/dist/{extract-XGD2RDEX.js → extract-ABSBKYYH.js} +29 -30
  225. package/dist/{face-XCNWNTGN.js → face-PLPQ5335.js} +29 -30
  226. package/dist/{feedback-JNFDVBFV.js → feedback-QPQ4G72X.js} +70 -44
  227. package/dist/{ffmpeg-YQLAJUEA.js → ffmpeg-F3XK57IP.js} +19 -20
  228. package/dist/{figma-XXGHYEB3.js → figma-S5CVANVZ.js} +3 -3
  229. package/dist/fontLocalizeCli.js +29 -29
  230. package/dist/{frames-PEMWFRRY.js → frames-F4QEQB4V.js} +30 -31
  231. package/dist/{generate-H5M4QSJR.js → generate-O3OPOCHP.js} +46 -47
  232. package/dist/{get-R6Y2OE5P.js → get-P7LQ7U22.js} +29 -17
  233. package/dist/{gpuPolicy-2WVDQYZA.js → gpuPolicy-JPRDRQWU.js} +18 -19
  234. package/dist/{grade-compare-KFXPZFDL.js → grade-compare-6UZ6SK4J.js} +61 -61
  235. package/dist/hangReport.js +2 -2
  236. package/dist/{heifImagePrep-VLKYA5QZ.js → heifImagePrep-3PDFNYIE.js} +25 -25
  237. package/dist/{help-T3XUX5RI.js → help-DLOCAL7E.js} +1 -1
  238. package/dist/{history-QJPUCUUC.js → history-YIJVOGH7.js} +29 -30
  239. package/dist/hyperframe.manifest.json +1 -1
  240. package/dist/hyperframe.runtime.iife.js +64 -64
  241. package/dist/hyperframes-player.global.js +14 -6
  242. package/dist/{info-556DHJHJ.js → info-FVYJNNQL.js} +33 -34
  243. package/dist/{init-P62TPWR3.js → init-V45K4VAG.js} +54 -53
  244. package/dist/{ink-SRN65OZH.js → ink-P72OB7L4.js} +28 -29
  245. package/dist/{inspect-U5FWQQFB.js → inspect-3W2IG3JF.js} +63 -59
  246. package/dist/{installer-3TNMANQV.js → installer-QGDTFTDU.js} +11 -12
  247. package/dist/{keyframes-FPGEFGCH.js → keyframes-57OPHIR2.js} +111 -49
  248. package/dist/{lambda-YJY2MYWL.js → lambda-EQZS7UMO.js} +40 -33
  249. package/dist/{layout-QIKSVA44.js → layout-KSWMO6MH.js} +63 -61
  250. package/dist/{lint-RD33ESM5.js → lint-WIYBGVF2.js} +23 -24
  251. package/dist/{lintProject-ZWLXB3A2.js → lintProject-N3UN6HEE.js} +6 -5
  252. package/dist/{list-FFO3WOB2.js → list-3FQAHEE2.js} +32 -20
  253. package/dist/{localPage-DHIBMNJH.js → localPage-G2QEA7JL.js} +19 -20
  254. package/dist/{login-IMFRQOEQ.js → login-C3U6WSHF.js} +10 -10
  255. package/dist/{logout-SLBKP67J.js → logout-525LWS6J.js} +5 -5
  256. package/dist/{look-ZZHJYSPC.js → look-U5LWOI4H.js} +28 -29
  257. package/dist/{manager-U4WEPCLV.js → manager-C5S25OOK.js} +7 -7
  258. package/dist/{manager-V4LGD4HB.js → manager-ZVYDWLHI.js} +21 -22
  259. package/dist/{measure-ZRBVN45B.js → measure-R2KZIHXT.js} +11 -11
  260. package/dist/{media-treatment-3I2CMQJZ.js → media-treatment-FAW5ZLT7.js} +37 -36
  261. package/dist/{media-use-2OYJ3CCN.js → media-use-CPTT2ZDE.js} +14 -10
  262. package/dist/{models-PRW7EWSV.js → models-53JHNGSL.js} +31 -32
  263. package/dist/{motionShot-VWILMLHQ.js → motionShot-K5ZHHHE6.js} +33 -34
  264. package/dist/{normalize-PGMS24I2.js → normalize-TBACWMEK.js} +4 -1
  265. package/dist/{normalize-audio-42XMF35K.js → normalize-audio-EOO2ORPP.js} +25 -25
  266. package/dist/{oauth-V3HSFZRE.js → oauth-E5QBYYTX.js} +2 -2
  267. package/dist/{open-D52MJZQA.js → open-3YABRCER.js} +34 -35
  268. package/dist/{parakeetRunner-ZR2JWQZH.js → parakeetRunner-TLZC2WAJ.js} +31 -32
  269. package/dist/{pipeline-W3H4JA6H.js → pipeline-LZ73CHLB.js} +27 -26
  270. package/dist/{plan-2HQOFJO7.js → plan-3QQZ57IC.js} +38 -39
  271. package/dist/{play-G5XDRDIZ.js → play-ESWP4SF2.js} +53 -50
  272. package/dist/{policies-5RUNO47I.js → policies-XG6OTGQC.js} +2 -2
  273. package/dist/{preflight-W2JDYF3T.js → preflight-7G5OBMAA.js} +22 -23
  274. package/dist/{present-CYMTHQFM.js → present-5ER4JKR5.js} +45 -44
  275. package/dist/{preview-DTQPQZTK.js → preview-62XOVSXM.js} +61 -60
  276. package/dist/privateProjectFile-6NPNZXK3.js +65 -0
  277. package/dist/{probe-WZJK3YQI.js → probe-CFOGEVFU.js} +28 -29
  278. package/dist/{producer-2BSMSO6I.js → producer-LLE32VVO.js} +1 -1
  279. package/dist/{progress-KRDVC24C.js → progress-PT3NAFVP.js} +6 -5
  280. package/dist/{projectConfig-BYRVYLCC.js → projectConfig-R54UDB5Y.js} +14 -15
  281. package/dist/{prompts-7VQEH645.js → prompts-XC3IBT4D.js} +2 -2
  282. package/dist/{publicNetwork-GW7SVP7N.js → publicNetwork-66HWFKYG.js} +3 -1
  283. package/dist/{publication-UCFJLELD.js → publication-TOBV6M4Q.js} +8 -9
  284. package/dist/{publish-KXVPSWCO.js → publish-QVNH5PXC.js} +107 -76
  285. package/dist/receivedRecordFollow-U43DTVLP.js +54 -0
  286. package/dist/{refresh-2GVNKDQE.js → refresh-HK4YEHWC.js} +5 -5
  287. package/dist/{remove-background-O7BZNS3X.js → remove-background-XHE6JL35.js} +31 -30
  288. package/dist/{render-TYS3LCIQ.js → render-7JJ2DFEB.js} +16 -15
  289. package/dist/{render-QOWXGWQZ.js → render-GRZMK6ET.js} +143 -100
  290. package/dist/{render-DGAP4Q2Z.js → render-WK3D5VOW.js} +173 -138
  291. package/dist/{render-batch-TEQRGAUC.js → render-batch-KFEZFJXB.js} +20 -18
  292. package/dist/renderSetupWorker.js +23 -13
  293. package/dist/{resolver-RN2JGGQL.js → resolver-N4U52UK5.js} +11 -12
  294. package/dist/{reverse-FUARFEG2.js → reverse-6AOA3PXF.js} +1 -1
  295. package/dist/{run-V722HMUG.js → run-M2J3ZJ3W.js} +14 -14
  296. package/dist/runtimeVersion.js +6 -1
  297. package/dist/{sam-KHLM2DJA.js → sam-O7Y2CCK3.js} +5 -5
  298. package/dist/{screenshotCapture-4BB4LUMX.js → screenshotCapture-UXJZ7D3L.js} +21 -22
  299. package/dist/{service-ZPCHJY6B.js → service-DBNZZLPU.js} +31 -31
  300. package/dist/{share-PXUN7AH7.js → share-6P7S3USP.js} +36 -36
  301. package/dist/{sherpa-LT6Y7IGM.js → sherpa-CXEHEVAJ.js} +30 -31
  302. package/dist/sherpaWorker.js +6 -6
  303. package/dist/{sites-WWCABDSX.js → sites-R5F5FNAL.js} +9 -6
  304. package/dist/skills/hyperframes/scripts/locate.mjs +13 -19
  305. package/dist/skills/hyperframes-cli/references/lambda.md +1 -1
  306. package/dist/skills/media-use/audio/references/tts-to-captions.md +1 -1
  307. package/dist/skills/media-use/audio/references/tts.md +6 -6
  308. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +143 -2
  309. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +12 -2
  310. package/dist/skills/media-use/scripts/lib/candidates.mjs +3 -2
  311. package/dist/skills/media-use/scripts/lib/credit-limit.d.mts +1 -1
  312. package/dist/skills/media-use/scripts/lib/credit-limit.mjs +14 -9
  313. package/dist/skills/media-use/scripts/lib/terminal-text.d.mts +1 -0
  314. package/dist/skills/media-use/scripts/lib/terminal-text.mjs +12 -0
  315. package/dist/skills/media-use/scripts/resolve.mjs +21 -15
  316. package/dist/{skills-G63W5GD5.js → skills-RMIHFNI6.js} +21 -22
  317. package/dist/{skillsUpdateCheck-2T3JVDAA.js → skillsUpdateCheck-EHOSL2AC.js} +7 -7
  318. package/dist/{snapshot-EVSKTVDG.js → snapshot-DQK3P7TF.js} +114 -90
  319. package/dist/{src-K5FSMLTB.js → src-4INHWM6L.js} +29 -29
  320. package/dist/{src-R57EQQSI.js → src-BNSCFKOD.js} +25 -22
  321. package/dist/{start-XBCYKGBV.js → start-KPCEUG5K.js} +52 -45
  322. package/dist/{state-FO64CPYE.js → state-5LE7AN6F.js} +6 -5
  323. package/dist/{staticProjectServer-Q6VR7CXT.js → staticProjectServer-VCS4TOU2.js} +37 -37
  324. package/dist/{status-E5XIWRCQ.js → status-WBNQSG4H.js} +31 -32
  325. package/dist/studio/assets/hyperframes-player-Cm0hYGm2.js +573 -0
  326. package/dist/studio/assets/{index-D7ICtobF.js → index-BGrNWeLK.js} +199 -199
  327. package/dist/studio/assets/{index-ww7-RmuM.js → index-REqr_dLu.js} +1 -1
  328. package/dist/studio/assets/{pausedVideoDecoder-Dbe8Cmab.js → pausedVideoDecoder-DqLDSq8J.js} +1 -1
  329. package/dist/studio/index.html +1 -1
  330. package/dist/{studio-api-GMJVYGET.js → studio-api-RAW4CIPR.js} +24 -24
  331. package/dist/{studioSelectionClient-S46TNAAZ.js → studioSelectionClient-PLBQBLCJ.js} +2 -2
  332. package/dist/{studioServer-MIQCMK6U.js → studioServer-5PWBZADN.js} +357 -163
  333. package/dist/subCompositionWorker.js +62 -55
  334. package/dist/{sync-WJOFN6VN.js → sync-PM2WLBUC.js} +28 -29
  335. package/dist/{synthesize-FXM7ZD6J.js → synthesize-NGU4DRKC.js} +24 -14
  336. package/dist/{system-DBUN5UDD.js → system-PKL4Y4MX.js} +3 -3
  337. package/dist/{telemetry-HZ4P4DMC.js → telemetry-4BST73P2.js} +15 -16
  338. package/dist/{telemetry-M722DCXI.js → telemetry-UC4MSMG3.js} +1 -1
  339. package/dist/{templates-KFZZSSKW.js → templates-G3XOWYXG.js} +36 -31
  340. package/dist/{timeline-5M6DPCXF.js → timeline-E6ZXYGQR.js} +50 -46
  341. package/dist/{tokens-H4NPNRFR.js → tokens-KRHXM44C.js} +17 -7
  342. package/dist/{transcribe-6STI2ALX.js → transcribe-RJ3GOCJL.js} +56 -57
  343. package/dist/{transcribe-7PE5UH7J.js → transcribe-TKV3POYD.js} +26 -27
  344. package/dist/{tts-D7CLD3AD.js → tts-EPXRE275.js} +26 -10
  345. package/dist/{update-H3T3AVVG.js → update-TO7MLJCS.js} +23 -24
  346. package/dist/{updateCheck-TLCXUNBV.js → updateCheck-5AY447D5.js} +6 -6
  347. package/dist/{upgrade-BZVTMCQU.js → upgrade-BLZWWXYL.js} +11 -11
  348. package/dist/{urlDownloader-FJXNC3IM.js → urlDownloader-ME67HQ4O.js} +17 -18
  349. package/dist/{validate-WTRVCEL5.js → validate-SRBV5NFV.js} +53 -49
  350. package/dist/{video-TVO2U5F2.js → video-JPESR36I.js} +38 -34
  351. package/dist/{voices-F3EW43LX.js → voices-AECYKXGA.js} +43 -44
  352. package/dist/warmCheck.js +73 -73
  353. package/dist/warmCheckClient.js +4 -4
  354. package/package.json +1 -1
  355. package/dist/chunk-23SG3B6M.js +0 -81
  356. package/dist/chunk-2RUCE54M.js +0 -5083
  357. package/dist/chunk-HFUI6LVF.js +0 -34
  358. package/dist/chunk-JOQR4AP6.js +0 -22
  359. package/dist/chunk-MK23FXLH.js +0 -21
  360. package/dist/chunk-SALNTRJA.js +0 -204
  361. package/dist/chunk-VC76R6W2.js +0 -27
  362. package/dist/chunk-Z642P33A.js +0 -270
  363. package/dist/studio/assets/hyperframes-player-B78JDyI_.js +0 -565
  364. package/dist/{chunk-7IMHPBSH.js → chunk-4NDSGKPO.js} +3 -3
  365. /package/dist/{chunk-YXX6CIHL.js → chunk-BWFNWEUO.js} +0 -0
@@ -6,18 +6,30 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  RENDER_TEMP_DIR
9
- } from "./chunk-HOIEN7O4.js";
9
+ } from "./chunk-F6PI5O3H.js";
10
10
  import {
11
- isStudioPrivatePath,
12
11
  mkdirWithinProject,
13
- projectPathSegments,
14
12
  realpath,
15
- resolveWithinProject
16
- } from "./chunk-SALNTRJA.js";
13
+ resolveWithinProject,
14
+ toolTrustedFileKind
15
+ } from "./chunk-3GF72UPC.js";
16
+ import {
17
+ isStudioPrivatePath,
18
+ projectPathSegments
19
+ } from "./chunk-PTGNUVCB.js";
17
20
 
18
- // ../studio-server/dist/chunk-NZL26EJ7.js
21
+ // ../studio-server/dist/chunk-NIOUHXBV.js
19
22
  import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "path";
20
- import { lstatSync, readdirSync } from "fs";
23
+ import {
24
+ closeSync,
25
+ constants,
26
+ fstatSync,
27
+ lstatSync,
28
+ openSync,
29
+ readdirSync,
30
+ readFileSync,
31
+ statSync
32
+ } from "fs";
21
33
  function resolveWithinProject2(base, relativePath) {
22
34
  const resolved = resolveWithinProject(base, relativePath);
23
35
  return resolved && !isPrivateProjectFile(base, resolved) ? resolved : null;
@@ -43,14 +55,81 @@ function isPrivateProjectFile(projectDir, filePath) {
43
55
  }
44
56
  var WRITABLE_HIDDEN_FOLDERS = /* @__PURE__ */ new Set([".hyperframes", ".media"]);
45
57
  function isWritableProjectPath(relPath) {
46
- if (!relPath || isPrivateProjectPath(relPath)) return false;
58
+ if (!relPath || isPrivateProjectPath(relPath) || toolTrustedFileKind(relPath)) return false;
47
59
  const segments = projectPathSegments(relPath);
48
60
  return segments.every(
49
61
  (segment, at) => segment !== "" && segment !== "node_modules" && (!segment.startsWith(".") || at === 0 && WRITABLE_HIDDEN_FOLDERS.has(segment))
50
62
  );
51
63
  }
52
64
  function isWritableProjectFile(projectDir, filePath) {
53
- return projectRelatives(projectDir, filePath).every(isWritableProjectPath);
65
+ return projectRelatives(projectDir, filePath).every(
66
+ (path) => isWritableInProject(projectDir, path)
67
+ );
68
+ }
69
+ function isWritableInProject(projectDir, relPath) {
70
+ return isWritableProjectPath(relPath) && !scriptsPackageRuns(projectDir).has(foldedPath(relPath));
71
+ }
72
+ var SCRIPT_FILE = /\.[cm]?[jt]sx?$/;
73
+ var SHELL_WORD_BREAKS = /[\s;&|()<>"'`=,]+/;
74
+ var NO_SCRIPTS = /* @__PURE__ */ new Set();
75
+ var packageScripts = /* @__PURE__ */ new Map();
76
+ var foldedPath = (path) => projectPathSegments(path).filter((segment) => segment !== "" && segment !== ".").join("/");
77
+ function scriptsPackageRuns(projectDir) {
78
+ const path = join(projectDir, "package.json");
79
+ const stat = statSync(path, { throwIfNoEntry: false });
80
+ if (!stat?.isFile()) return NO_SCRIPTS;
81
+ const key = `${stat.ino}:${stat.size}:${stat.mtimeMs}`;
82
+ const cached = packageScripts.get(path);
83
+ if (cached?.stat === key) return cached.files;
84
+ const files = scriptFilesNamedBy(readPackageJson(path));
85
+ packageScripts.set(path, { stat: key, files });
86
+ return files;
87
+ }
88
+ function readPackageJson(path) {
89
+ try {
90
+ return JSON.parse(readFileSync(path, "utf-8"));
91
+ } catch {
92
+ return null;
93
+ }
94
+ }
95
+ function scriptFilesNamedBy(pkg) {
96
+ if (!pkg || typeof pkg !== "object") return NO_SCRIPTS;
97
+ const { main, bin, scripts } = pkg;
98
+ const words = [main, ...valuesOf(bin), ...valuesOf(scripts)].flatMap(
99
+ (value) => typeof value === "string" ? value.split(SHELL_WORD_BREAKS) : []
100
+ );
101
+ const files = words.filter(
102
+ (word) => SCRIPT_FILE.test(word) && !word.split(/[\\/]/).includes("..")
103
+ );
104
+ return new Set(files.map(foldedPath));
105
+ }
106
+ var valuesOf = (value) => typeof value === "string" ? [value] : value && typeof value === "object" ? Object.values(value) : [];
107
+ function toolTrustedFileWithin(projectDir, dir) {
108
+ return protectedEntryWithin(dir, projectRelativePath(projectDir, dir));
109
+ }
110
+ var PROTECTED_FOLDERS = /* @__PURE__ */ new Set(["node_modules", ".git"]);
111
+ function protectedEntryWithin(dir, rel) {
112
+ const entries = folderEntries(dir);
113
+ if (!entries) return rel || ".";
114
+ for (const entry of entries) {
115
+ const found = protectedEntry(dir, entry, rel ? `${rel}/${entry.name}` : entry.name);
116
+ if (found) return found;
117
+ }
118
+ return null;
119
+ }
120
+ function protectedEntry(dir, entry, at) {
121
+ if (!entry.isDirectory()) return toolTrustedFileKind(at) ? at : null;
122
+ if (toolTrustedFileKind(at) || PROTECTED_FOLDERS.has(projectPathSegments(entry.name)[0] ?? ""))
123
+ return at;
124
+ return protectedEntryWithin(join(dir, entry.name), at);
125
+ }
126
+ function folderEntries(dir) {
127
+ try {
128
+ return readdirSync(dir, { withFileTypes: true });
129
+ } catch (err) {
130
+ if (UNREADABLE_DIR_CODES.has(err.code ?? "")) return null;
131
+ throw err;
132
+ }
54
133
  }
55
134
  function resolveWritableWithinProject(base, relativePath) {
56
135
  const resolved = resolveWithinProject2(base, relativePath);
@@ -83,6 +162,34 @@ function isLinkFreeWithinProject(root, dir) {
83
162
  }
84
163
  return true;
85
164
  }
165
+ function isProjectCacheFile(root, file) {
166
+ if (!isLinkFreeWithinProject(root, dirname(file))) return false;
167
+ const stat = lstatSync(file, { throwIfNoEntry: false });
168
+ return stat !== void 0 && isPlainFileWithOneName(stat);
169
+ }
170
+ var isPlainFileWithOneName = (stat) => stat.isFile() && stat.nlink === 1;
171
+ var NO_FOLLOW_READ = constants.O_RDONLY | (constants.O_NOFOLLOW ?? 0) | (constants.O_NONBLOCK ?? 0);
172
+ var sameFile = (a, b) => a !== void 0 && !a.isSymbolicLink() && a.dev === b.dev && a.ino === b.ino;
173
+ function readProjectCacheFile(root, file, maxBytes) {
174
+ if (!isLinkFreeWithinProject(root, dirname(file))) return null;
175
+ let fd;
176
+ try {
177
+ fd = openSync(file, NO_FOLLOW_READ);
178
+ } catch {
179
+ return null;
180
+ }
181
+ try {
182
+ const stat = fstatSync(fd);
183
+ if (!isPlainFileWithOneName(stat) || stat.size > maxBytes) return null;
184
+ if (constants.O_NOFOLLOW === void 0 && !sameFile(lstatSync(file, { throwIfNoEntry: false }), stat))
185
+ return null;
186
+ return readFileSync(fd);
187
+ } catch {
188
+ return null;
189
+ } finally {
190
+ closeSync(fd);
191
+ }
192
+ }
86
193
  function mkdirOwnedWithinProject(root, dir) {
87
194
  if (!isLinkFreeWithinProject(root, dir)) throw new Error(`A link stands in for a folder: ${dir}`);
88
195
  mkdirWithinProject(root, dir);
@@ -133,11 +240,15 @@ export {
133
240
  isPrivateProjectPath,
134
241
  isPrivateProjectFile,
135
242
  isWritableProjectFile,
243
+ isWritableInProject,
244
+ toolTrustedFileWithin,
136
245
  resolveWritableWithinProject,
137
246
  pinWritableWithinProject,
138
247
  pinWithinProject,
139
248
  pinProjectRecord,
140
249
  isLinkFreeWithinProject,
250
+ isProjectCacheFile,
251
+ readProjectCacheFile,
141
252
  mkdirOwnedWithinProject,
142
253
  isInHiddenOrVendorDir,
143
254
  walkDir
@@ -7,11 +7,11 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  createStagingDir,
9
9
  renameWithRetry
10
- } from "./chunk-DL6PEJWH.js";
10
+ } from "./chunk-LYTELQL2.js";
11
11
  import {
12
12
  mkdirWithinProject,
13
13
  realpath
14
- } from "./chunk-SALNTRJA.js";
14
+ } from "./chunk-3GF72UPC.js";
15
15
 
16
16
  // src/registry/publication.ts
17
17
  import { lstatSync, chmodSync, rmSync, writeFileSync } from "fs";
@@ -8,19 +8,19 @@ import {
8
8
  alive,
9
9
  readHolder,
10
10
  release
11
- } from "./chunk-ZO5NHAF3.js";
11
+ } from "./chunk-MTCVUAUK.js";
12
12
  import {
13
13
  shouldTrack
14
- } from "./chunk-JOOKM2NC.js";
14
+ } from "./chunk-NU7BEOCX.js";
15
15
  import {
16
16
  createFileAtomically
17
- } from "./chunk-DL6PEJWH.js";
17
+ } from "./chunk-LYTELQL2.js";
18
18
  import {
19
19
  processIdentity
20
- } from "./chunk-CNAOJ7XI.js";
20
+ } from "./chunk-A7NRMVUG.js";
21
21
  import {
22
22
  hyperframesCacheDir
23
- } from "./chunk-JOQR4AP6.js";
23
+ } from "./chunk-KUJJJBV2.js";
24
24
 
25
25
  // src/telemetry/renderObservability.ts
26
26
  function renderObservabilityTelemetryPayload(observability) {
@@ -182,10 +182,19 @@ function startRenderCpuSampler(requesterOptedIn = true) {
182
182
 
183
183
  // src/utils/renderLock.ts
184
184
  import { existsSync as existsSync2 } from "fs";
185
- import { dirname as dirname2 } from "path";
185
+ import { dirname as dirname2, join as join2, resolve } from "path";
186
186
 
187
187
  // src/utils/renderLockClaim.ts
188
- import { chmodSync, existsSync, mkdirSync, unlinkSync as unlinkSync2 } from "fs";
188
+ import {
189
+ closeSync,
190
+ constants,
191
+ existsSync,
192
+ fchmodSync,
193
+ fstatSync,
194
+ mkdirSync,
195
+ openSync,
196
+ unlinkSync as unlinkSync2
197
+ } from "fs";
189
198
 
190
199
  // src/utils/renderLockOwners.ts
191
200
  import { randomBytes } from "crypto";
@@ -244,9 +253,9 @@ function liveOtherOwners(lockPath, own) {
244
253
 
245
254
  // src/utils/renderLockClaim.ts
246
255
  var RenderLockStaleBreak = class extends Error {
247
- constructor(breakPath) {
256
+ constructor(breakPath, otherAccount = false) {
248
257
  super(
249
- `A render that was reclaiming the render slot stopped part way and left ${breakPath}. No render is using it: delete that file, then run the render again.`
258
+ (otherAccount ? `A render of another account stopped and left ${breakPath}, which only that account or root can delete in a shared lock folder. ` : `A render that was reclaiming the render slot stopped part way and left ${breakPath}. `) + "No render is using it: delete that file, then run the render again."
250
259
  );
251
260
  this.breakPath = breakPath;
252
261
  this.name = "RenderLockStaleBreak";
@@ -256,7 +265,7 @@ var RenderLockStaleBreak = class extends Error {
256
265
  var RenderLockUnwritable = class extends Error {
257
266
  constructor(dir, cause) {
258
267
  super(
259
- `This account cannot write to ${dir}, where renders take their turn. If accounts share HYPERFRAMES_CACHE_DIR, make the folder writable for all of them (chmod 777 ${dir}); otherwise unset HYPERFRAMES_CACHE_DIR.`,
268
+ `This account cannot write to ${dir}, where renders take their turn. To share one render slot across accounts, point HYPERFRAMES_RENDER_LOCK_DIR in each of them at one folder for lock records only: the first render creates it writable by all and sticky (chmod 1777).`,
260
269
  { cause }
261
270
  );
262
271
  this.dir = dir;
@@ -264,10 +273,42 @@ var RenderLockUnwritable = class extends Error {
264
273
  }
265
274
  dir;
266
275
  };
267
- function ensureLockDir(dir) {
268
- if (mkdirSync(dir, { recursive: true }) !== void 0 && process.platform !== "win32") {
269
- chmodSync(dir, 511);
276
+ var RenderLockFolderRefused = class extends Error {
277
+ constructor(dir, shared) {
278
+ super(
279
+ shared ? `${dir} is not a folder that this account or root owns with the sticky bit set, so another account could delete or replace render lock records in it. Point HYPERFRAMES_RENDER_LOCK_DIR at a folder that does not exist yet, or have its owner run: chmod 1777 ${dir}` : `${dir} is not a folder this account owns, so another account could delete or replace render lock records in it. Remove it, or point HYPERFRAMES_RENDER_LOCK_DIR at a folder for lock records.`
280
+ );
281
+ this.dir = dir;
282
+ this.name = "RenderLockFolderRefused";
283
+ }
284
+ dir;
285
+ };
286
+ var OPEN_FOLDER_NOT_LINK = constants.O_RDONLY | constants.O_DIRECTORY | constants.O_NOFOLLOW;
287
+ var PRIVATE_FOLDER = 448;
288
+ var SHARED_STICKY_FOLDER = 1023;
289
+ var lockFolderAccepted = (stat, shared) => shared ? (stat.mode & 512) !== 0 : (stat.mode & 63) === 0;
290
+ function ensureLockDir(dir, shared) {
291
+ mkdirSync(dir, { recursive: true });
292
+ if (process.platform === "win32") return;
293
+ let fd;
294
+ try {
295
+ fd = openSync(dir, OPEN_FOLDER_NOT_LINK);
296
+ } catch (error) {
297
+ throw Object.assign(new RenderLockFolderRefused(dir, shared), { cause: error });
270
298
  }
299
+ try {
300
+ settleLockFolder(fd, dir, shared);
301
+ } finally {
302
+ closeSync(fd);
303
+ }
304
+ }
305
+ function settleLockFolder(fd, dir, shared) {
306
+ const stat = fstatSync(fd);
307
+ const mine = stat.uid === process.getuid?.();
308
+ if (!mine && !(shared && stat.uid === 0)) throw new RenderLockFolderRefused(dir, shared);
309
+ const mode = shared ? SHARED_STICKY_FOLDER : PRIVATE_FOLDER;
310
+ if (mine && (stat.mode & 4095) !== mode) fchmodSync(fd, mode);
311
+ if (!lockFolderAccepted(fstatSync(fd), shared)) throw new RenderLockFolderRefused(dir, shared);
271
312
  }
272
313
  var holderAlive = (holder) => sameProcess(holder.pid, holder.identity);
273
314
  var sameRecord = (a, b) => a?.pid === b.pid && a.startedAt === b.startedAt && a.identity === b.identity;
@@ -281,6 +322,14 @@ function createExclusive(path, holder) {
281
322
  }
282
323
  }
283
324
  var writerAbsent = (file, lockPath, marker) => existsSync(file) && !readHolder(file) && liveOtherOwners(lockPath, marker) === 0;
325
+ function replaceStale(path, holder, observed) {
326
+ removeIfPresent(path);
327
+ if (createExclusive(path, holder)) return true;
328
+ if (process.platform !== "win32" && observed && sameRecord(readHolder(path), observed)) {
329
+ throw new RenderLockStaleBreak(path, true);
330
+ }
331
+ return false;
332
+ }
284
333
  async function takeOver(path, holder, observed, marker, beforeReplace) {
285
334
  const breakPath = `${path}.break`;
286
335
  if (!createExclusive(breakPath, holder)) {
@@ -291,7 +340,7 @@ async function takeOver(path, holder, observed, marker, beforeReplace) {
291
340
  try {
292
341
  await beforeReplace?.();
293
342
  const stillStale = observed ? sameRecord(readHolder(path), observed) : writerAbsent(path, path, marker);
294
- if (stillStale) removeIfPresent(path);
343
+ if (stillStale) return replaceStale(path, holder, observed);
295
344
  return createExclusive(path, holder);
296
345
  } finally {
297
346
  if (sameRecord(readHolder(breakPath), holder)) unlinkSync2(breakPath);
@@ -316,7 +365,11 @@ var RenderLockBusy = class extends Error {
316
365
  path;
317
366
  };
318
367
  var POLL_MS = 1e3;
319
- var renderLockPath = () => hyperframesCacheDir("locks", "render.lock");
368
+ var sharedLockDir = (env) => env.HYPERFRAMES_RENDER_LOCK_DIR?.trim() || void 0;
369
+ var renderLockPath = (env) => {
370
+ const shared = sharedLockDir(env);
371
+ return shared ? join2(resolve(shared), "render.lock") : hyperframesCacheDir("locks", "render.lock");
372
+ };
320
373
  function renderLockDisabled(env = process.env) {
321
374
  const value = env.HYPERFRAMES_RENDER_LOCK?.trim().toLowerCase();
322
375
  return value === "off" || value === "0" || value === "false";
@@ -328,7 +381,7 @@ function describeRenderLockHolder(holder, now) {
328
381
  return `pid ${holder.pid}, project ${holder.project}, running ${running}`;
329
382
  }
330
383
  function pause(ms, signal) {
331
- return new Promise((resolve, reject) => {
384
+ return new Promise((resolve2, reject) => {
332
385
  if (signal?.aborted) return reject(signal.reason);
333
386
  const onAbort = () => {
334
387
  clearTimeout(timer);
@@ -336,7 +389,7 @@ function pause(ms, signal) {
336
389
  };
337
390
  const timer = setTimeout(() => {
338
391
  signal?.removeEventListener("abort", onAbort);
339
- resolve();
392
+ resolve2();
340
393
  }, ms);
341
394
  signal?.addEventListener("abort", onAbort, { once: true });
342
395
  });
@@ -365,8 +418,9 @@ async function acquireRenderLock(options) {
365
418
  }
366
419
  }
367
420
  function prepareContender(options) {
368
- const path = options.path ?? renderLockPath();
369
- ensureLockDir(dirname2(path));
421
+ const env = options.env ?? process.env;
422
+ const path = options.path ?? renderLockPath(env);
423
+ ensureLockDir(dirname2(path), sharedLockDir(env) !== void 0);
370
424
  liveOtherOwners(path);
371
425
  const pid = options.pid ?? process.pid;
372
426
  const identity = startToken(pid);
@@ -407,6 +461,7 @@ export {
407
461
  startRenderCpuSampler,
408
462
  RenderLockStaleBreak,
409
463
  RenderLockUnwritable,
464
+ RenderLockFolderRefused,
410
465
  RenderLockBusy,
411
466
  describeRenderLockHolder,
412
467
  acquireRenderLock
@@ -10,20 +10,20 @@ import {
10
10
  resolveCliChromeGpuMode,
11
11
  seekCompositionTimeline,
12
12
  waitForRuntimeReady
13
- } from "./chunk-Y6CZFX5X.js";
13
+ } from "./chunk-7GDEQJSL.js";
14
14
  import {
15
15
  resolveCompositionViewportFromHtml
16
- } from "./chunk-H3LEOZVK.js";
17
- import {
18
- resolveProject
19
- } from "./chunk-XYP4T6TQ.js";
16
+ } from "./chunk-3ROFCQAW.js";
20
17
  import {
21
18
  pageNavigationTimeoutMs
22
- } from "./chunk-N6PAWR5C.js";
19
+ } from "./chunk-SQI2MWJE.js";
20
+ import {
21
+ resolveProject
22
+ } from "./chunk-KYZEK7QF.js";
23
23
  import {
24
24
  launchManagedBrowser,
25
25
  resolveManagedGpuMode
26
- } from "./chunk-DX5Y3L5B.js";
26
+ } from "./chunk-OPUR2XQ2.js";
27
27
  import {
28
28
  defineCommand
29
29
  } from "./chunk-DL4OD7IA.js";
@@ -32,22 +32,26 @@ import {
32
32
  } from "./chunk-JCNPHRGX.js";
33
33
  import {
34
34
  resolveNaturalMediaTimelineDuration
35
- } from "./chunk-2RUCE54M.js";
35
+ } from "./chunk-BNH2IKGV.js";
36
+ import {
37
+ terminalText,
38
+ terminalTextDeep
39
+ } from "./chunk-3GF72UPC.js";
36
40
  import {
37
41
  decodeWellFormedEscapes
38
42
  } from "./chunk-IH2C53YV.js";
39
43
  import {
40
44
  printDeprecationNotice,
41
45
  withMeta
42
- } from "./chunk-KYKQO4VN.js";
46
+ } from "./chunk-FU62NEWC.js";
43
47
  import {
44
48
  failureMessage,
45
49
  jsonFailure
46
- } from "./chunk-ADVVQX4I.js";
50
+ } from "./chunk-LMNCEQCC.js";
47
51
  import {
48
52
  failCommand,
49
53
  setCommandExitCode
50
- } from "./chunk-66W5IWLO.js";
54
+ } from "./chunk-U7M4SZUB.js";
51
55
  import {
52
56
  normalizeErrorMessage
53
57
  } from "./chunk-E63BDV4Z.js";
@@ -115,6 +119,22 @@ function raceMediaReady(el, deadlineMs) {
115
119
  const timer = setTimeout(onReady, Math.max(0, deadlineMs - Date.now()));
116
120
  });
117
121
  }
122
+ function unmeasuredClipWarnings(unreadable, unloadable) {
123
+ const warnings = [];
124
+ if (unreadable.length > 0) {
125
+ warnings.push({
126
+ level: "warning",
127
+ text: `Could not read the duration of ${unreadable.length} media element(s) within the validate timeout (${unreadable.join(", ")}); their slot vs. source fit was not checked. Re-run with a longer --timeout if the source is slow to load.`
128
+ });
129
+ }
130
+ if (unloadable.length > 0) {
131
+ warnings.push({
132
+ level: "warning",
133
+ text: `${unloadable.length} media element(s) failed to load (${unloadable.join(", ")}), so their slot vs. source fit was not checked. A longer --timeout will not help: check that the source exists and plays in Chrome.`
134
+ });
135
+ }
136
+ return warnings;
137
+ }
118
138
  async function auditClipDurations(page, analyzeClipMediaFit, extraWaitMs) {
119
139
  const clips = await page.evaluate(async (maxWaitMs) => {
120
140
  const nodes = Array.from(
@@ -164,16 +184,18 @@ async function auditClipDurations(page, analyzeClipMediaFit, extraWaitMs) {
164
184
  "data-automation": el.getAttribute("data-automation")
165
185
  },
166
186
  duration: Number.isFinite(el.duration) ? el.duration : reads.get(el)?.duration ?? Number.NaN,
167
- loop: el.loop || el.getAttribute("data-loop") === "true"
187
+ loop: el.loop || el.getAttribute("data-loop") === "true",
188
+ failed: Boolean(el.error ?? reads.get(el)?.error)
168
189
  });
169
190
  }
170
191
  return rows;
171
192
  }, extraWaitMs);
172
193
  const warnings = [];
173
194
  const unreadable = [];
195
+ const unloadable = [];
174
196
  for (const clip of clips) {
175
197
  if (!Number.isFinite(clip.duration) || clip.duration <= 0) {
176
- unreadable.push(clip.id);
198
+ (clip.failed ? unloadable : unreadable).push(clip.id);
177
199
  continue;
178
200
  }
179
201
  const mediaSeconds = resolveNaturalMediaTimelineDuration(
@@ -188,12 +210,7 @@ async function auditClipDurations(page, analyzeClipMediaFit, extraWaitMs) {
188
210
  text: `${clip.kind} "${clip.id}" is ${mediaSeconds.toFixed(2)}s but its slot (data-duration) is ${clip.slot.toFixed(2)}s \u2014 the slot is shortened to the media length when rendered. Set data-duration to ~${mediaSeconds.toFixed(2)}s if that isn't intended.`
189
211
  });
190
212
  }
191
- if (unreadable.length > 0) {
192
- warnings.push({
193
- level: "warning",
194
- text: `Could not read the duration of ${unreadable.length} media element(s) within the validate timeout (${unreadable.join(", ")}); their slot vs. source fit was not checked. Re-run with a longer --timeout if the source is slow to load.`
195
- });
196
- }
213
+ warnings.push(...unmeasuredClipWarnings(unreadable, unloadable));
197
214
  return warnings;
198
215
  }
199
216
  async function runContrastAudit(page) {
@@ -254,7 +271,7 @@ function extractCompositionErrorsFromLint(lintResult) {
254
271
  async function localizeRemoteAssets(html) {
255
272
  let dir;
256
273
  try {
257
- const { loadProducer } = await import("./producer-2BSMSO6I.js");
274
+ const { loadProducer } = await import("./producer-LLE32VVO.js");
258
275
  const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
259
276
  dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
260
277
  const assetDir = dir;
@@ -275,10 +292,10 @@ async function localizeRemoteAssets(html) {
275
292
  }
276
293
  async function validateInBrowser(project, opts) {
277
294
  const projectDir = project.dir;
278
- const { bundleToSingleHtml } = await import("./compiler-7M2UCEWG.js");
279
- const { ensureBrowser } = await import("./manager-U4WEPCLV.js");
280
- const { serveStaticProjectHtml } = await import("./staticProjectServer-Q6VR7CXT.js");
281
- const { lintProject } = await import("./lintProject-ZWLXB3A2.js");
295
+ const { bundleToSingleHtml } = await import("./compiler-65SP7M2P.js");
296
+ const { ensureBrowser } = await import("./manager-C5S25OOK.js");
297
+ const { serveStaticProjectHtml } = await import("./staticProjectServer-VCS4TOU2.js");
298
+ const { lintProject } = await import("./lintProject-N3UN6HEE.js");
282
299
  const lintResult = await lintProject(projectDir);
283
300
  const compositionErrors = extractCompositionErrorsFromLint(lintResult);
284
301
  const html = await bundleToSingleHtml(projectDir);
@@ -299,9 +316,9 @@ async function validateInBrowser(project, opts) {
299
316
  try {
300
317
  const browser = await ensureBrowser();
301
318
  const puppeteer = await import("puppeteer-core");
302
- const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-R57EQQSI.js");
319
+ const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-BNSCFKOD.js");
303
320
  const requestedGpuMode = resolveCliChromeGpuMode();
304
- const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-2WVDQYZA.js");
321
+ const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-JPRDRQWU.js");
305
322
  const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
306
323
  const requiresWebGpu = compositionRequiresWebGpu(html);
307
324
  const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
@@ -450,7 +467,7 @@ function emitFailureReport(message, asJson) {
450
467
  );
451
468
  return;
452
469
  }
453
- console.error(`${c.error("\u2717")} ${message}`);
470
+ console.error(`${c.error("\u2717")} ${terminalText(message)}`);
454
471
  }
455
472
  var validate_default = defineCommand({
456
473
  meta: {
@@ -473,7 +490,7 @@ Examples:
473
490
  },
474
491
  timeout: {
475
492
  type: "string",
476
- description: "Ms to wait for scripts to settle and media to load (default: 3000). Also raises the page-navigation budget above its 10s floor when a slow external <script> needs longer.",
493
+ description: "Ms to wait for scripts to settle and media to load. Also raises the page-navigation budget above its 10s floor when a slow external <script> needs longer.",
477
494
  default: "3000"
478
495
  }
479
496
  },
@@ -484,7 +501,9 @@ Examples:
484
501
  const useContrast = args.contrast ?? true;
485
502
  const asJson = Boolean(args.json);
486
503
  if (!asJson) {
487
- console.log(`${c.accent("\u25C6")} Validating ${c.accent(project.name)} in headless Chrome`);
504
+ console.log(
505
+ `${c.accent("\u25C6")} Validating ${c.accent(terminalText(project.name))} in headless Chrome`
506
+ );
488
507
  }
489
508
  try {
490
509
  const result = await validateInBrowser(project, { timeout, contrast: useContrast });
@@ -505,7 +524,8 @@ function printValidationResult(result, asJson) {
505
524
  if (asJson) {
506
525
  emitJsonReport(errors, warnings, contrast, contrastFailures);
507
526
  } else {
508
- emitTextReport(errors, warnings, contrastFailures, contrastPassed);
527
+ const shown = terminalTextDeep({ errors, warnings, contrastFailures, contrastPassed });
528
+ emitTextReport(shown.errors, shown.warnings, shown.contrastFailures, shown.contrastPassed);
509
529
  }
510
530
  return errors.length > 0 ? 1 : 0;
511
531
  }
@@ -518,5 +538,7 @@ export {
518
538
  raceMediaReady,
519
539
  auditClipDurations,
520
540
  extractCompositionErrorsFromLint,
521
- validate_default
541
+ emitFailureReport,
542
+ validate_default,
543
+ printValidationResult
522
544
  };
@@ -8,7 +8,7 @@ import {
8
8
  round,
9
9
  runFfmpeg,
10
10
  sumOf
11
- } from "./chunk-EZJHKHWU.js";
11
+ } from "./chunk-ZBDITGMP.js";
12
12
 
13
13
  // src/measure/drawn.ts
14
14
  import { mkdtempSync, readFileSync, rmSync } from "fs";
@@ -9,10 +9,10 @@ import {
9
9
  } from "./chunk-EXA6R6SW.js";
10
10
  import {
11
11
  projectCopyHint
12
- } from "./chunk-GVIJFPZV.js";
12
+ } from "./chunk-FLJ4S7NA.js";
13
13
  import {
14
14
  R
15
- } from "./chunk-D2LIT7UR.js";
15
+ } from "./chunk-OH3MUFZG.js";
16
16
  import {
17
17
  buildNpxCommand
18
18
  } from "./chunk-6BEFEWFB.js";
@@ -21,10 +21,10 @@ import {
21
21
  } from "./chunk-JJ47LVJ7.js";
22
22
  import {
23
23
  trackSkillsInstallSkipped
24
- } from "./chunk-2WA62M3B.js";
24
+ } from "./chunk-22B53HD3.js";
25
25
  import {
26
26
  diag
27
- } from "./chunk-MCDNAIFF.js";
27
+ } from "./chunk-NGRWDXRZ.js";
28
28
  import {
29
29
  defineCommand
30
30
  } from "./chunk-DL4OD7IA.js";
@@ -42,22 +42,22 @@ import {
42
42
  isCoreSkill,
43
43
  presentSkills,
44
44
  retiredSkillNotice
45
- } from "./chunk-OD7XWF5T.js";
45
+ } from "./chunk-DWGDP537.js";
46
46
  import {
47
47
  NO_UPDATE_NOTICE,
48
48
  withMeta
49
- } from "./chunk-KYKQO4VN.js";
49
+ } from "./chunk-FU62NEWC.js";
50
50
  import {
51
51
  failureMessage,
52
52
  jsonFailure
53
- } from "./chunk-ADVVQX4I.js";
53
+ } from "./chunk-LMNCEQCC.js";
54
54
  import {
55
55
  CliResultSignal,
56
56
  setCommandExitCode
57
- } from "./chunk-66W5IWLO.js";
57
+ } from "./chunk-U7M4SZUB.js";
58
58
  import {
59
59
  VERSION
60
- } from "./chunk-FFOFGL2O.js";
60
+ } from "./chunk-7DMES2F3.js";
61
61
 
62
62
  // src/commands/skills.ts
63
63
  import { execFileSync, spawn } from "child_process";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveConfig,
9
9
  usesSoftwareWebGpu
10
- } from "./chunk-VLFBOKZX.js";
10
+ } from "./chunk-LTXZLTXW.js";
11
11
 
12
12
  // src/browser/gpuPolicy.ts
13
13
  function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
17
17
  return "auto";
18
18
  }
19
19
  async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
20
- const { resolveBrowserGpuMode } = await import("./src-R57EQQSI.js");
20
+ const { resolveBrowserGpuMode } = await import("./src-BNSCFKOD.js");
21
21
  return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
22
22
  }
23
23
  function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getSystemTotalMb
9
- } from "./chunk-O5U3Y5DX.js";
9
+ } from "./chunk-5GUYYSVT.js";
10
10
  import {
11
11
  detectAgentHints,
12
12
  detectAgentRuntime,
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  GSAP_CDN_VERSION,
9
9
  gsapCdnDist
10
- } from "./chunk-5IUVWP3A.js";
10
+ } from "./chunk-MPVJI4SE.js";
11
11
 
12
12
  // src/server/readBundleFile.ts
13
13
  import { openSync, fstatSync, closeSync, statSync, readFileSync, constants } from "fs";