hyperframes 0.9.58 → 0.9.59

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 (332) hide show
  1. package/bin/hyperframes.mjs +3 -1
  2. package/dist/{add-JQUKPSEZ.js → add-C7J7HSLI.js} +31 -29
  3. package/dist/{agentPromptGenerator-3NEY7FPP.js → agentPromptGenerator-GCLJUGVE.js} +17 -16
  4. package/dist/{animatedGifPrep-VMUZ6IVJ.js → animatedGifPrep-JPQZPZC4.js} +18 -17
  5. package/dist/api.js +61 -60
  6. package/dist/{appHistory-JNI6IOR6.js → appHistory-TQ6JAEP5.js} +7 -6
  7. package/dist/{asset-ZT3VXZ67.js → asset-HQEPGBDJ.js} +6 -6
  8. package/dist/{assetCataloger-D2DV65BA.js → assetCataloger-LMPPKPF6.js} +19 -18
  9. package/dist/{audio-LD5H2R5V.js → audio-FD2EBZ6D.js} +38 -37
  10. package/dist/{auth-4FPYYMSH.js → auth-JA7XH6NG.js} +4 -4
  11. package/dist/{autoUpdate-5ZKSFCG4.js → autoUpdate-WKW2OMIY.js} +6 -6
  12. package/dist/{avatars-DCLFE7VG.js → avatars-Q7U6CO4X.js} +28 -27
  13. package/dist/{backgroundChecks-UZA3F46H.js → backgroundChecks-H2SOS2CM.js} +16 -9
  14. package/dist/backgroundChecksWorker.js +9 -9
  15. package/dist/{batchRender-TAUW3CT2.js → batchRender-75OLVMZY.js} +14 -13
  16. package/dist/{beats-X3LCR6OG.js → beats-R4EHWWJN.js} +21 -20
  17. package/dist/{benchmark-DNZQT3YQ.js → benchmark-F5OHG3Q3.js} +33 -31
  18. package/dist/{billing-4BFUAHWX.js → billing-LBRSBVXQ.js} +28 -27
  19. package/dist/{browser-5J2MTDB6.js → browser-CNTCFZOG.js} +23 -22
  20. package/dist/{bundleWithLocalizedFonts-XWK47ZVF.js → bundleWithLocalizedFonts-RVF7AFP5.js} +1 -1
  21. package/dist/{capture-TVYTKWTG.js → capture-CTRZEZTC.js} +38 -15
  22. package/dist/{capture-2YSVFKWV.js → capture-DLYM3V5F.js} +37 -33
  23. package/dist/{captureCompositionFrame-L765HLCT.js → captureCompositionFrame-2O2HP6SK.js} +27 -26
  24. package/dist/{captureFile-DOCK42K3.js → captureFile-W7ZDDBCD.js} +5 -4
  25. package/dist/captureProxy-4K3J652A.js +23 -0
  26. package/dist/{catalog-CHGGRRQX.js → catalog-6XL63LU3.js} +42 -38
  27. package/dist/{catch-up-OCFU6ZR3.js → catch-up-AOFQWE6O.js} +36 -28
  28. package/dist/{check-LWK4Z7FI.js → check-5V7K4RL6.js} +64 -63
  29. package/dist/{checkAudio-R5ORBXBO.js → checkAudio-4YUTDQSQ.js} +20 -19
  30. package/dist/{checkBrowser-6SH73T47.js → checkBrowser-BAWRZZZU.js} +56 -55
  31. package/dist/{chunk-CRPLPK6J.js → chunk-2ARKMOCD.js} +6 -6
  32. package/dist/{chunk-BSDUTNFX.js → chunk-2LJPBYKI.js} +1 -1
  33. package/dist/{chunk-KYKQO4VN.js → chunk-3DFEBAWJ.js} +3 -3
  34. package/dist/{chunk-VXE46PXX.js → chunk-3JVTHNDH.js} +1 -1
  35. package/dist/{chunk-JOOKM2NC.js → chunk-3QMGLSKC.js} +3 -3
  36. package/dist/{chunk-LO5USUM4.js → chunk-3RTZ2UX7.js} +1 -1
  37. package/dist/{chunk-GEOJA37C.js → chunk-4QSDXDLV.js} +3 -3
  38. package/dist/{chunk-HTGJOOXE.js → chunk-4STRMCGD.js} +3 -3
  39. package/dist/{chunk-D2LSYXLW.js → chunk-4VJQVTQI.js} +1 -1
  40. package/dist/{chunk-A4YRESMH.js → chunk-5T6HPV25.js} +2 -2
  41. package/dist/{chunk-O4K22EFS.js → chunk-65X2G57W.js} +24 -14
  42. package/dist/{chunk-2WA62M3B.js → chunk-6ATP7YPZ.js} +4 -4
  43. package/dist/{chunk-WLNHZ2OM.js → chunk-6K6RIX2A.js} +3 -3
  44. package/dist/{chunk-G3U5CUF3.js → chunk-6LGB4MVX.js} +2 -2
  45. package/dist/{chunk-4LZSNWFJ.js → chunk-6R4MEYWD.js} +3 -3
  46. package/dist/{chunk-H7DTMLAR.js → chunk-6UAYOSE7.js} +36 -21
  47. package/dist/{chunk-ZLTB7ZCQ.js → chunk-6VY52EVW.js} +1 -1
  48. package/dist/{chunk-Z642P33A.js → chunk-6VY6WTY5.js} +22 -13
  49. package/dist/{chunk-TLDIP7Y3.js → chunk-763UG5II.js} +16 -17
  50. package/dist/{chunk-PS7WBIPK.js → chunk-7CI5MLCC.js} +18 -18
  51. package/dist/{chunk-K2EJQ44S.js → chunk-7Q4EGB3N.js} +1 -1
  52. package/dist/{chunk-XMT4MG6W.js → chunk-7XOORL2Q.js} +14 -14
  53. package/dist/{chunk-H3LEOZVK.js → chunk-7YRZBB4C.js} +1 -1
  54. package/dist/{chunk-CNAOJ7XI.js → chunk-A7NRMVUG.js} +1 -1
  55. package/dist/{chunk-CDNVZEGQ.js → chunk-AEXDJU77.js} +5 -2
  56. package/dist/{chunk-7WAWUQDQ.js → chunk-AQIHV4PM.js} +4 -4
  57. package/dist/{chunk-NLVIE7VN.js → chunk-B653JKWT.js} +4 -4
  58. package/dist/{chunk-7WYJXKIG.js → chunk-BMTT2T7M.js} +4 -4
  59. package/dist/{chunk-OPSGEOCO.js → chunk-BTXYXM2A.js} +51 -29
  60. package/dist/{chunk-M5TTYUZM.js → chunk-C3NDLM4S.js} +6 -6
  61. package/dist/{chunk-MSC5KBCE.js → chunk-CAMD2NBN.js} +31 -23
  62. package/dist/{chunk-VLFBOKZX.js → chunk-CC72LTIT.js} +135 -43
  63. package/dist/{chunk-O5U3Y5DX.js → chunk-CIXP5G7Z.js} +1 -1
  64. package/dist/{chunk-ZYNNZ5DE.js → chunk-D44MBZI6.js} +2 -2
  65. package/dist/{chunk-RV3HR3BZ.js → chunk-DCRHNRUY.js} +9 -9
  66. package/dist/{chunk-ELRE6LVJ.js → chunk-DSCMYTKJ.js} +5 -5
  67. package/dist/{chunk-6RPKPL22.js → chunk-EGZQX3UX.js} +1 -1
  68. package/dist/{chunk-WEU6WLVT.js → chunk-ELDZ6C3R.js} +3 -3
  69. package/dist/{chunk-ZFOV3R2L.js → chunk-EUVU5JS4.js} +4 -4
  70. package/dist/{chunk-U5MILT4G.js → chunk-FC77MYAD.js} +1 -1
  71. package/dist/{chunk-CGJIMWNU.js → chunk-FFL5R2EZ.js} +4 -4
  72. package/dist/{chunk-ZCLC3KVY.js → chunk-FGJUVWAM.js} +1 -1
  73. package/dist/{chunk-JQZ5WP7L.js → chunk-FQ26QE5N.js} +1 -1
  74. package/dist/{chunk-CPDPSNSB.js → chunk-GMIFMRWR.js} +7 -7
  75. package/dist/{chunk-OL7RHRNJ.js → chunk-GYJ7AJXN.js} +2 -2
  76. package/dist/{chunk-CVTIGS5K.js → chunk-H3TD4VKX.js} +1 -1
  77. package/dist/{chunk-UDLWVQ74.js → chunk-HLOJSBGC.js} +28 -14
  78. package/dist/{chunk-MYETYFDI.js → chunk-HTISHNLA.js} +2 -2
  79. package/dist/{chunk-DWFWF6IR.js → chunk-HXFGAI6L.js} +31 -239
  80. package/dist/{chunk-GIVMQDSK.js → chunk-HY7FPTBD.js} +2 -2
  81. package/dist/{chunk-I6V25IXG.js → chunk-HYXQR5I3.js} +2 -2
  82. package/dist/{chunk-VI2LLFW6.js → chunk-I5H2FPNP.js} +2 -2
  83. package/dist/{chunk-4N3WOFP3.js → chunk-I6OSAVHD.js} +17 -13
  84. package/dist/{chunk-SV72WLBE.js → chunk-ISSG4PUD.js} +27 -14
  85. package/dist/{chunk-OEGWTN6N.js → chunk-J3H6QDDY.js} +1 -1
  86. package/dist/{chunk-FNXU56VT.js → chunk-J4OHC5FU.js} +1 -1
  87. package/dist/{chunk-FFOFGL2O.js → chunk-JLMMY3UI.js} +2 -2
  88. package/dist/{chunk-EOXNEA4Z.js → chunk-JQ7BPN2R.js} +20 -8
  89. package/dist/{chunk-SYKUNH25.js → chunk-JT7RXK2N.js} +59 -7
  90. package/dist/{chunk-AM4Y3XMR.js → chunk-JUUOYXWH.js} +4 -4
  91. package/dist/{chunk-DL6PEJWH.js → chunk-K2WLOTTF.js} +2 -2
  92. package/dist/{chunk-AM6UYKVR.js → chunk-K33E3YNK.js} +11 -11
  93. package/dist/{chunk-QGQCWG7F.js → chunk-KGPHUBBA.js} +1 -1
  94. package/dist/chunk-KK5Z5XQ3.js +109 -0
  95. package/dist/{chunk-A4L7G74T.js → chunk-KQHDFVFF.js} +3 -3
  96. package/dist/chunk-KUJJJBV2.js +211 -0
  97. package/dist/{chunk-CHCMXYER.js → chunk-KVIXXJLO.js} +1 -1
  98. package/dist/{chunk-AMS7Q7P7.js → chunk-KYXH4JWF.js} +8 -8
  99. package/dist/{chunk-O2BLY7PO.js → chunk-L456Q4KU.js} +1 -1
  100. package/dist/{chunk-JZVI2TMX.js → chunk-L4MXZHRB.js} +3 -3
  101. package/dist/{chunk-YTHXSYYB.js → chunk-LB6ZAP4I.js} +19 -11
  102. package/dist/{chunk-ADVVQX4I.js → chunk-LMNCEQCC.js} +4 -2
  103. package/dist/{chunk-J6VYWZSO.js → chunk-LSGJY2FG.js} +1 -1
  104. package/dist/{chunk-ZAWQJOTW.js → chunk-LTOUXR3X.js} +8 -8
  105. package/dist/{chunk-D3M5VOC5.js → chunk-LZWG4GCC.js} +3 -3
  106. package/dist/{chunk-SALNTRJA.js → chunk-MHF5F4FF.js} +69 -76
  107. package/dist/{chunk-E26Z73S3.js → chunk-MTKXKULM.js} +2 -2
  108. package/dist/{chunk-GDIBE57N.js → chunk-MVA4OQL7.js} +2 -2
  109. package/dist/{chunk-UGKUGYHD.js → chunk-N6QWL3E7.js} +5 -2
  110. package/dist/{chunk-MCDNAIFF.js → chunk-NGRWDXRZ.js} +1 -1
  111. package/dist/chunk-NI7JVGOE.js +5083 -0
  112. package/dist/{chunk-HFUI6LVF.js → chunk-NLN5NY3P.js} +1 -1
  113. package/dist/{chunk-AJ7YRQS4.js → chunk-O733DEVT.js} +2 -2
  114. package/dist/{chunk-ZO5NHAF3.js → chunk-ODLSLYJR.js} +10 -4
  115. package/dist/{chunk-3VMZQQUI.js → chunk-OF7SQ77J.js} +1 -1
  116. package/dist/{chunk-D2LIT7UR.js → chunk-OH3MUFZG.js} +1 -1
  117. package/dist/{chunk-TLGQQ324.js → chunk-OPIS2YMA.js} +13 -11
  118. package/dist/{chunk-IHXMN5YH.js → chunk-ORKZUTZW.js} +2 -2
  119. package/dist/{chunk-PYTF6VHF.js → chunk-OV5OSN74.js} +3 -3
  120. package/dist/{chunk-EZJHKHWU.js → chunk-OYKAS3J5.js} +3 -3
  121. package/dist/{chunk-XCJ2YYMV.js → chunk-P5M3IEXO.js} +1 -1
  122. package/dist/{chunk-TAXMLPTE.js → chunk-PCHUX7Y5.js} +2 -2
  123. package/dist/{chunk-MPC3OODR.js → chunk-PDT6CBK2.js} +4 -4
  124. package/dist/{chunk-GVIJFPZV.js → chunk-PHYFZXOS.js} +2 -2
  125. package/dist/{chunk-OSKSTJNQ.js → chunk-PJQVJSMG.js} +21 -12
  126. package/dist/{chunk-7ZHBY7T5.js → chunk-PLOCYJ5U.js} +1 -1
  127. package/dist/{chunk-GRSZAGJB.js → chunk-PMKWTXHE.js} +2 -2
  128. package/dist/{chunk-5SGGOZNL.js → chunk-POFQOZOF.js} +203 -55
  129. package/dist/{chunk-72GTIFAI.js → chunk-POVOGRMU.js} +2 -2
  130. package/dist/{chunk-37Y334MN.js → chunk-PSREPOJ4.js} +6 -6
  131. package/dist/{chunk-4NNYYCJN.js → chunk-PYRM3OAI.js} +26 -20
  132. package/dist/{chunk-X6JUUQCM.js → chunk-Q4FVSYTD.js} +5 -2
  133. package/dist/{chunk-7ECPFKQV.js → chunk-QC35TPEE.js} +37 -13
  134. package/dist/{chunk-5IUVWP3A.js → chunk-QHVE6AFU.js} +2 -2
  135. package/dist/{chunk-SNKBI4YB.js → chunk-QJ2BV7FM.js} +2 -2
  136. package/dist/{chunk-OD7XWF5T.js → chunk-QKHW5NXL.js} +12 -6
  137. package/dist/{chunk-N6PAWR5C.js → chunk-QVHDAS3L.js} +5 -5
  138. package/dist/{chunk-4QPT3IEL.js → chunk-R3ONQOLE.js} +177 -55
  139. package/dist/{chunk-SM5PNCDI.js → chunk-RAOGN2HG.js} +2 -2
  140. package/dist/{chunk-X3UXEB2U.js → chunk-RDWGNSVI.js} +2 -2
  141. package/dist/{chunk-W2OXNTHG.js → chunk-RHFB457E.js} +3 -3
  142. package/dist/{chunk-Y6CZFX5X.js → chunk-RKIF4EU7.js} +28 -19
  143. package/dist/{chunk-B2WXMYMA.js → chunk-RPICLHBJ.js} +1 -1
  144. package/dist/{chunk-IE6BIB3L.js → chunk-RX67N2PU.js} +3 -1
  145. package/dist/{chunk-ERDQIRUL.js → chunk-SC7SX2I3.js} +18 -8
  146. package/dist/{chunk-NJPLH762.js → chunk-SGQKP2JT.js} +4 -4
  147. package/dist/{chunk-ROESFEBP.js → chunk-SO7FT7YA.js} +67 -60
  148. package/dist/chunk-SXCM6VY3.js +125 -0
  149. package/dist/{chunk-SE4NOUB6.js → chunk-T5QI7ZL2.js} +1 -1
  150. package/dist/{chunk-XMAU5ZQX.js → chunk-TFAKFI3R.js} +1 -1
  151. package/dist/{chunk-3GKGBYW3.js → chunk-THGJTFYB.js} +37 -6
  152. package/dist/{chunk-OMZSPAK5.js → chunk-TIBFCGLT.js} +1 -1
  153. package/dist/{chunk-PGITR2WX.js → chunk-TIZC4XKU.js} +4 -4
  154. package/dist/{chunk-CGODFJZ7.js → chunk-TJGGLLQJ.js} +13 -13
  155. package/dist/{chunk-EWKJDXH6.js → chunk-TNFTRLLJ.js} +4 -4
  156. package/dist/{chunk-E4IR34CF.js → chunk-TVWDS5AT.js} +18 -8
  157. package/dist/{chunk-66W5IWLO.js → chunk-U7M4SZUB.js} +13 -2
  158. package/dist/{chunk-VBEDZGBW.js → chunk-UBNJWS2H.js} +74 -19
  159. package/dist/{chunk-DH3M5X3Y.js → chunk-UNB2DFR2.js} +4 -4
  160. package/dist/{chunk-V3O4AFO3.js → chunk-URHIQHDR.js} +13 -13
  161. package/dist/{chunk-MK23FXLH.js → chunk-UVZIABYZ.js} +20 -1
  162. package/dist/{chunk-JKLWQUSV.js → chunk-VFGFXE6J.js} +1 -1
  163. package/dist/{chunk-2GRCLLKU.js → chunk-VPPKUCSP.js} +3 -3
  164. package/dist/{chunk-UJTLTFB6.js → chunk-VXRTE7MZ.js} +1 -1
  165. package/dist/{chunk-IGZQYMZA.js → chunk-WDMSNDHS.js} +34 -25
  166. package/dist/{chunk-WJIWXHXK.js → chunk-WI3FM54X.js} +3 -3
  167. package/dist/{chunk-O2INZCGB.js → chunk-WKE3WTIU.js} +1 -1
  168. package/dist/{chunk-2SJNGWSY.js → chunk-WQGDE3L6.js} +1 -1
  169. package/dist/{chunk-WGHJUGNU.js → chunk-WRSGWDDB.js} +7 -7
  170. package/dist/{chunk-37VS6QY6.js → chunk-WTZT6FSK.js} +1 -1
  171. package/dist/{chunk-DX5Y3L5B.js → chunk-XWV6BOCG.js} +3 -3
  172. package/dist/{chunk-WQZQMADW.js → chunk-XXJBWKDS.js} +241 -25
  173. package/dist/{chunk-XYP4T6TQ.js → chunk-XXOEYRD5.js} +5 -5
  174. package/dist/{chunk-BSFTB6AM.js → chunk-XZ6THYIK.js} +11 -5
  175. package/dist/{chunk-ALD7JBPV.js → chunk-YBYNBKCN.js} +2 -2
  176. package/dist/{chunk-HFIVZJJD.js → chunk-YMKCJRVK.js} +1 -1
  177. package/dist/{chunk-X3IVUSOX.js → chunk-Z2U7ELGP.js} +3 -3
  178. package/dist/{chunk-M3IHARIW.js → chunk-ZIYYSD6S.js} +44 -21
  179. package/dist/{chunk-VSM7OIG2.js → chunk-ZMLZRMG7.js} +2 -2
  180. package/dist/{chunk-DHVRVI7F.js → chunk-ZQIMO52O.js} +9 -9
  181. package/dist/{clean-6ODSABBF.js → clean-Z5REUSNY.js} +40 -39
  182. package/dist/cli.js +119 -75
  183. package/dist/{cloud-IMYQB5RC.js → cloud-NJ7G3NF3.js} +4 -4
  184. package/dist/{cloud-NTKLXMBS.js → cloud-QP5R6B6A.js} +10 -9
  185. package/dist/{cloudrun-JNLDP33J.js → cloudrun-CPAZLNTW.js} +16 -15
  186. package/dist/{compare-VLYZ6ZS4.js → compare-T5CHD25P.js} +53 -52
  187. package/dist/{compiler-7M2UCEWG.js → compiler-QVDXN4OS.js} +9 -8
  188. package/dist/{component-KMUHKZ4R.js → component-QMZ46KTE.js} +24 -8
  189. package/dist/{compositions-ESLWNOMS.js → compositions-JHYYNBAK.js} +26 -25
  190. package/dist/{contactSheet-4YF7U6U7.js → contactSheet-7SPGUTDV.js} +8 -7
  191. package/dist/{curve-7RPSNRPE.js → curve-ON6QQY7T.js} +25 -24
  192. package/dist/{cuts-KBAAZSPS.js → cuts-K4FOVP4E.js} +26 -25
  193. package/dist/{delete-EP5Z7HKF.js → delete-6WFQ3FC2.js} +21 -20
  194. package/dist/{deploy-MVR63JLD.js → deploy-UAZQ5PBA.js} +14 -12
  195. package/dist/{describeProject-NBVZT5EN.js → describeProject-7W6BN5A2.js} +17 -16
  196. package/dist/{destroy-DQKIT574.js → destroy-4B4OVPHJ.js} +14 -12
  197. package/dist/{deterministicFonts-LYBMXXBW.js → deterministicFonts-VLIVGXUQ.js} +8 -7
  198. package/dist/{diff-RI3FTMOZ.js → diff-ZSA37QQS.js} +292 -104
  199. package/dist/{dist-TOOMD57O.js → dist-2O52E7QZ.js} +20 -19
  200. package/dist/{dist-LRGTXDSM.js → dist-ACT5C6ME.js} +5 -4
  201. package/dist/{dist-G7VFX23I.js → dist-VRYZIJFZ.js} +12 -7
  202. package/dist/{docs-YTM4NX2R.js → docs-3OAPSKPG.js} +1 -1
  203. package/dist/{doctor-43YNRCRB.js → doctor-RXQ2Y2YY.js} +29 -28
  204. package/dist/{energy-YCH36KCC.js → energy-DRA3DCRO.js} +26 -25
  205. package/dist/{events-6RJBITYN.js → events-4SNBQE3M.js} +28 -27
  206. package/dist/{events-VUR27EF6.js → events-AJNF2C3H.js} +16 -15
  207. package/dist/{events-JCPYG3CD.js → events-GA3YM3WT.js} +9 -9
  208. package/dist/{execute-OXMKWIFI.js → execute-6LTZRWE4.js} +48 -47
  209. package/dist/{extract-XGD2RDEX.js → extract-XZQN654B.js} +27 -26
  210. package/dist/{face-XCNWNTGN.js → face-RKUNVSN3.js} +27 -26
  211. package/dist/{feedback-JNFDVBFV.js → feedback-AL7NPPMZ.js} +31 -29
  212. package/dist/{ffmpeg-YQLAJUEA.js → ffmpeg-BEL7EZBA.js} +17 -16
  213. package/dist/{figma-XXGHYEB3.js → figma-IZ3NH2KZ.js} +3 -3
  214. package/dist/fontLocalizeCli.js +24 -23
  215. package/dist/{frames-PEMWFRRY.js → frames-AYE53CSZ.js} +28 -27
  216. package/dist/{generate-H5M4QSJR.js → generate-BZ4EVVQI.js} +43 -42
  217. package/dist/{get-R6Y2OE5P.js → get-2GG4NSOK.js} +17 -16
  218. package/dist/{gpuPolicy-2WVDQYZA.js → gpuPolicy-W2ZGBXNG.js} +16 -15
  219. package/dist/{grade-compare-KFXPZFDL.js → grade-compare-65NWHVXK.js} +54 -53
  220. package/dist/hangReport.js +2 -2
  221. package/dist/{heifImagePrep-VLKYA5QZ.js → heifImagePrep-MRQ4KKDF.js} +19 -18
  222. package/dist/{help-T3XUX5RI.js → help-TEQWNNPI.js} +1 -1
  223. package/dist/{history-QJPUCUUC.js → history-MVNPETRW.js} +26 -25
  224. package/dist/hyperframe.manifest.json +1 -1
  225. package/dist/hyperframe.runtime.iife.js +64 -64
  226. package/dist/hyperframes-player.global.js +14 -6
  227. package/dist/{info-556DHJHJ.js → info-NGNTHWYX.js} +31 -30
  228. package/dist/{init-P62TPWR3.js → init-H7SUGVZX.js} +51 -48
  229. package/dist/{ink-SRN65OZH.js → ink-CPZ4YZFM.js} +26 -25
  230. package/dist/{inspect-U5FWQQFB.js → inspect-GZBQ7XN7.js} +56 -51
  231. package/dist/{installer-3TNMANQV.js → installer-ZTHYVK4L.js} +12 -11
  232. package/dist/{keyframes-FPGEFGCH.js → keyframes-B52LQUOI.js} +50 -37
  233. package/dist/{lambda-YJY2MYWL.js → lambda-SZDQJMKA.js} +30 -29
  234. package/dist/{layout-QIKSVA44.js → layout-BOUOG2D2.js} +56 -53
  235. package/dist/{lint-RD33ESM5.js → lint-H4OWI5JN.js} +23 -22
  236. package/dist/{lintProject-ZWLXB3A2.js → lintProject-P4EAXFU2.js} +5 -4
  237. package/dist/{list-FFO3WOB2.js → list-VNEYACGL.js} +20 -19
  238. package/dist/{localPage-DHIBMNJH.js → localPage-ZP7WVA2N.js} +17 -16
  239. package/dist/{login-IMFRQOEQ.js → login-RUDOUO5Z.js} +9 -9
  240. package/dist/{logout-SLBKP67J.js → logout-5ZO6ZNS3.js} +4 -4
  241. package/dist/{look-ZZHJYSPC.js → look-G3NVPKXZ.js} +26 -25
  242. package/dist/{manager-U4WEPCLV.js → manager-KWNID2ZA.js} +6 -6
  243. package/dist/{manager-V4LGD4HB.js → manager-NXH2NJC6.js} +18 -17
  244. package/dist/{measure-ZRBVN45B.js → measure-5PVIZ2W2.js} +11 -11
  245. package/dist/{media-treatment-3I2CMQJZ.js → media-treatment-T5QJI4PQ.js} +29 -28
  246. package/dist/{media-use-2OYJ3CCN.js → media-use-RTN3SMVY.js} +8 -8
  247. package/dist/{models-PRW7EWSV.js → models-J2CJ7EVX.js} +29 -28
  248. package/dist/{motionShot-VWILMLHQ.js → motionShot-HU7P26WJ.js} +31 -30
  249. package/dist/{normalize-PGMS24I2.js → normalize-44E7R6T5.js} +5 -1
  250. package/dist/{normalize-audio-42XMF35K.js → normalize-audio-2YFTP2T6.js} +21 -20
  251. package/dist/{oauth-V3HSFZRE.js → oauth-E5QBYYTX.js} +2 -2
  252. package/dist/{open-D52MJZQA.js → open-RSCNUV6E.js} +32 -31
  253. package/dist/{parakeetRunner-ZR2JWQZH.js → parakeetRunner-BUY25EIR.js} +28 -27
  254. package/dist/{pipeline-W3H4JA6H.js → pipeline-A4RL5R5P.js} +22 -21
  255. package/dist/{plan-2HQOFJO7.js → plan-7WYNPILA.js} +36 -35
  256. package/dist/{play-G5XDRDIZ.js → play-UKHFNMYZ.js} +44 -42
  257. package/dist/{policies-5RUNO47I.js → policies-XG6OTGQC.js} +2 -2
  258. package/dist/{preflight-W2JDYF3T.js → preflight-2VFCT3PI.js} +20 -19
  259. package/dist/{present-CYMTHQFM.js → present-ZUGFCQOF.js} +39 -37
  260. package/dist/{preview-DTQPQZTK.js → preview-BT2ZFYMC.js} +43 -42
  261. package/dist/{probe-WZJK3YQI.js → probe-2CLEK2UT.js} +26 -25
  262. package/dist/{producer-2BSMSO6I.js → producer-HCAMS55D.js} +1 -1
  263. package/dist/{progress-KRDVC24C.js → progress-5A4N7PTR.js} +7 -5
  264. package/dist/{projectConfig-BYRVYLCC.js → projectConfig-2KJ2PXIM.js} +15 -14
  265. package/dist/{prompts-7VQEH645.js → prompts-XC3IBT4D.js} +2 -2
  266. package/dist/{publicNetwork-GW7SVP7N.js → publicNetwork-66HWFKYG.js} +3 -1
  267. package/dist/{publication-UCFJLELD.js → publication-AR63EGJF.js} +9 -8
  268. package/dist/{publish-KXVPSWCO.js → publish-EGKYOJWV.js} +73 -63
  269. package/dist/{refresh-2GVNKDQE.js → refresh-GYRLZ7DZ.js} +4 -4
  270. package/dist/{remove-background-O7BZNS3X.js → remove-background-IQQPMM24.js} +26 -25
  271. package/dist/{render-TYS3LCIQ.js → render-HJRMJYTA.js} +16 -14
  272. package/dist/{render-QOWXGWQZ.js → render-ROJ5X53T.js} +62 -60
  273. package/dist/{render-DGAP4Q2Z.js → render-YNSZYEEK.js} +91 -83
  274. package/dist/{render-batch-TEQRGAUC.js → render-batch-MXYDIHRO.js} +20 -17
  275. package/dist/renderSetupWorker.js +21 -11
  276. package/dist/{resolver-RN2JGGQL.js → resolver-SPLAVF76.js} +12 -11
  277. package/dist/{reverse-FUARFEG2.js → reverse-CE6OGBB7.js} +1 -1
  278. package/dist/{run-V722HMUG.js → run-YVNJJL26.js} +14 -13
  279. package/dist/runtimeVersion.js +6 -1
  280. package/dist/{sam-KHLM2DJA.js → sam-2D3BUTL7.js} +5 -5
  281. package/dist/{screenshotCapture-4BB4LUMX.js → screenshotCapture-DRO7VMNI.js} +19 -18
  282. package/dist/{service-ZPCHJY6B.js → service-K65JYG4O.js} +28 -26
  283. package/dist/{share-PXUN7AH7.js → share-CSVWF6SB.js} +33 -31
  284. package/dist/{sherpa-LT6Y7IGM.js → sherpa-JE6AFUEV.js} +27 -26
  285. package/dist/sherpaWorker.js +7 -6
  286. package/dist/{sites-WWCABDSX.js → sites-QCGTWVNF.js} +9 -6
  287. package/dist/skills/hyperframes-cli/references/lambda.md +1 -1
  288. package/dist/skills/media-use/scripts/lib/credit-limit.d.mts +1 -1
  289. package/dist/skills/media-use/scripts/lib/credit-limit.mjs +14 -9
  290. package/dist/{skills-G63W5GD5.js → skills-L3BXM7VJ.js} +22 -21
  291. package/dist/{skillsUpdateCheck-2T3JVDAA.js → skillsUpdateCheck-VUENI5OR.js} +7 -7
  292. package/dist/{snapshot-EVSKTVDG.js → snapshot-GI2GWIF6.js} +90 -79
  293. package/dist/{src-R57EQQSI.js → src-B646B52O.js} +19 -14
  294. package/dist/{src-K5FSMLTB.js → src-ZXZO5RCJ.js} +25 -24
  295. package/dist/{start-XBCYKGBV.js → start-ZNGKXRNE.js} +40 -39
  296. package/dist/{state-FO64CPYE.js → state-7CJBWHXJ.js} +7 -5
  297. package/dist/{staticProjectServer-Q6VR7CXT.js → staticProjectServer-46T6YTPF.js} +31 -30
  298. package/dist/{status-E5XIWRCQ.js → status-7SWTPLVI.js} +31 -30
  299. package/dist/studio/assets/hyperframes-player-bya4hgms.js +573 -0
  300. package/dist/studio/assets/{index-ww7-RmuM.js → index--dcfSUzI.js} +1 -1
  301. package/dist/studio/assets/{index-D7ICtobF.js → index-Bxh5lW0C.js} +117 -117
  302. package/dist/studio/assets/{pausedVideoDecoder-Dbe8Cmab.js → pausedVideoDecoder-BKym1jA6.js} +1 -1
  303. package/dist/studio/index.html +1 -1
  304. package/dist/{studio-api-GMJVYGET.js → studio-api-4XKM5HDR.js} +20 -19
  305. package/dist/{studioServer-MIQCMK6U.js → studioServer-4TWRIZNU.js} +176 -125
  306. package/dist/subCompositionWorker.js +11 -10
  307. package/dist/{sync-WJOFN6VN.js → sync-R3K6LYB3.js} +26 -25
  308. package/dist/{synthesize-FXM7ZD6J.js → synthesize-OZ3SJTOF.js} +22 -13
  309. package/dist/{system-DBUN5UDD.js → system-LZ4PMOJD.js} +3 -3
  310. package/dist/{telemetry-M722DCXI.js → telemetry-UC4MSMG3.js} +1 -1
  311. package/dist/{telemetry-HZ4P4DMC.js → telemetry-WSBY25O3.js} +16 -15
  312. package/dist/{templates-KFZZSSKW.js → templates-ITP6ISAF.js} +36 -29
  313. package/dist/{timeline-5M6DPCXF.js → timeline-U7GJMYKV.js} +42 -37
  314. package/dist/{tokens-H4NPNRFR.js → tokens-3YTSUU27.js} +6 -6
  315. package/dist/{transcribe-7PE5UH7J.js → transcribe-ISCBYWN4.js} +23 -22
  316. package/dist/{transcribe-6STI2ALX.js → transcribe-QHHY5M3G.js} +51 -50
  317. package/dist/{tts-D7CLD3AD.js → tts-24IJXIT2.js} +9 -9
  318. package/dist/{update-H3T3AVVG.js → update-SVEH2GOL.js} +24 -23
  319. package/dist/{updateCheck-TLCXUNBV.js → updateCheck-MDG7N7VO.js} +6 -6
  320. package/dist/{upgrade-BZVTMCQU.js → upgrade-6CGAI4OR.js} +12 -11
  321. package/dist/{urlDownloader-FJXNC3IM.js → urlDownloader-VPQTIGEH.js} +15 -14
  322. package/dist/{validate-WTRVCEL5.js → validate-QUB4KCEQ.js} +47 -42
  323. package/dist/{video-TVO2U5F2.js → video-PUGZ5UHS.js} +35 -29
  324. package/dist/{voices-F3EW43LX.js → voices-4UO5AYLS.js} +40 -39
  325. package/dist/warmCheck.js +65 -64
  326. package/dist/warmCheckClient.js +4 -4
  327. package/package.json +1 -1
  328. package/dist/chunk-23SG3B6M.js +0 -81
  329. package/dist/chunk-2RUCE54M.js +0 -5083
  330. package/dist/chunk-JOQR4AP6.js +0 -22
  331. package/dist/studio/assets/hyperframes-player-B78JDyI_.js +0 -565
  332. package/dist/{chunk-7IMHPBSH.js → chunk-4NDSGKPO.js} +3 -3
@@ -10,91 +10,92 @@ import {
10
10
  import {
11
11
  parseTimeoutMs
12
12
  } from "./chunk-MRM2XDPQ.js";
13
+ import {
14
+ CONTENT_OVERLAP_HELD_ERROR_MS,
15
+ buildLayoutSampleTimes,
16
+ buildTransitionSampleTimes,
17
+ collapseStaticLayoutIssues,
18
+ dedupeLayoutIssues,
19
+ findMotionSpec,
20
+ formatLayoutIssue,
21
+ isGuidanceIssue,
22
+ limitLayoutIssues,
23
+ longestContiguousRun,
24
+ longestContiguousRunMs,
25
+ mergeSampleTimes,
26
+ parseAt,
27
+ readMotionSpec
28
+ } from "./chunk-HXFGAI6L.js";
13
29
  import {
14
30
  CheckBudgetError,
15
31
  CheckCopiesUnfinishedError,
16
32
  CheckDeadline,
17
33
  CheckDeadlineError,
18
34
  CheckStoppedError,
35
+ DEFAULT_MAX_STATIC_SEC,
36
+ END_CARD_HOLD_SEC,
37
+ assertionTargets,
19
38
  beginCheckSnapshots,
20
39
  checkSnapshotDirectory,
40
+ collectSamplingTargets,
41
+ evaluateMotion,
21
42
  finishCheckSnapshots,
43
+ frozenSpans,
22
44
  idleWindow,
23
45
  preResolveHostileMediaProxies,
24
46
  rectToBbox
25
- } from "./chunk-WQZQMADW.js";
47
+ } from "./chunk-XXJBWKDS.js";
26
48
  import {
27
49
  collectProjectMedia,
28
50
  isRemoteMediaSrc,
29
51
  mediaPath
30
- } from "./chunk-HTGJOOXE.js";
31
- import {
32
- trackLintRun
33
- } from "./chunk-GEOJA37C.js";
34
- import {
35
- CONTENT_OVERLAP_HELD_ERROR_MS,
36
- DEFAULT_MAX_STATIC_SEC,
37
- END_CARD_HOLD_SEC,
38
- assertionTargets,
39
- buildLayoutSampleTimes,
40
- buildTransitionSampleTimes,
41
- collapseStaticLayoutIssues,
42
- collectSamplingTargets,
43
- dedupeLayoutIssues,
44
- evaluateMotion,
45
- findMotionSpec,
46
- formatLayoutIssue,
47
- frozenSpans,
48
- isGuidanceIssue,
49
- limitLayoutIssues,
50
- longestContiguousRun,
51
- longestContiguousRunMs,
52
- mergeSampleTimes,
53
- parseAt,
54
- readMotionSpec
55
- } from "./chunk-DWFWF6IR.js";
52
+ } from "./chunk-4STRMCGD.js";
56
53
  import {
57
54
  findingAtRoot,
58
55
  findingElementKey,
59
56
  formatFindingTimes,
60
57
  groupSampledFindings
61
58
  } from "./chunk-TQBQYO4L.js";
59
+ import {
60
+ trackLintRun
61
+ } from "./chunk-4QSDXDLV.js";
62
62
  import {
63
63
  captureArtifactRevision
64
- } from "./chunk-GIVMQDSK.js";
64
+ } from "./chunk-HY7FPTBD.js";
65
65
  import {
66
66
  readToolContext,
67
67
  reportArtifacts,
68
68
  withProjectLock
69
- } from "./chunk-ZO5NHAF3.js";
69
+ } from "./chunk-ODLSLYJR.js";
70
70
  import {
71
71
  CACHE_DIR_NAME
72
- } from "./chunk-ZAWQJOTW.js";
72
+ } from "./chunk-LTOUXR3X.js";
73
73
  import {
74
74
  recordArtifacts
75
- } from "./chunk-E4IR34CF.js";
75
+ } from "./chunk-TVWDS5AT.js";
76
76
  import {
77
77
  resolveProject
78
- } from "./chunk-XYP4T6TQ.js";
78
+ } from "./chunk-XXOEYRD5.js";
79
79
  import {
80
80
  BrowserCleanupError,
81
81
  onStopSignal,
82
82
  registerBrowserSessionCleanup
83
- } from "./chunk-DX5Y3L5B.js";
83
+ } from "./chunk-XWV6BOCG.js";
84
84
  import {
85
85
  readRecordTail,
86
+ recordFolder,
86
87
  writeRecord
87
- } from "./chunk-SYKUNH25.js";
88
+ } from "./chunk-JT7RXK2N.js";
88
89
  import {
89
90
  resolveLocalBrowserGpuMode
90
- } from "./chunk-ZYNNZ5DE.js";
91
+ } from "./chunk-D44MBZI6.js";
91
92
  import {
92
93
  trackCheckReport,
93
94
  trackCommandFailure
94
- } from "./chunk-2WA62M3B.js";
95
+ } from "./chunk-6ATP7YPZ.js";
95
96
  import {
96
97
  swallowedFlagUsageError
97
- } from "./chunk-B2WXMYMA.js";
98
+ } from "./chunk-RPICLHBJ.js";
98
99
  import {
99
100
  defineCommand
100
101
  } from "./chunk-DL4OD7IA.js";
@@ -113,39 +114,39 @@ import {
113
114
  findHdrAutoPromotion,
114
115
  gradingKeepsSdr,
115
116
  sanitizeHdrAutoPromotionAsset
116
- } from "./chunk-VLFBOKZX.js";
117
+ } from "./chunk-CC72LTIT.js";
117
118
  import {
118
119
  terminalText
119
- } from "./chunk-MK23FXLH.js";
120
+ } from "./chunk-UVZIABYZ.js";
120
121
  import {
121
122
  lintProject,
122
123
  unmountedNotice
123
- } from "./chunk-UDLWVQ74.js";
124
+ } from "./chunk-HLOJSBGC.js";
124
125
  import {
125
126
  withMeta
126
- } from "./chunk-KYKQO4VN.js";
127
+ } from "./chunk-3DFEBAWJ.js";
127
128
  import {
128
129
  recordLastCheck
129
130
  } from "./chunk-AWD2MWWL.js";
130
131
  import {
131
132
  failureMessage,
132
133
  jsonFailure
133
- } from "./chunk-ADVVQX4I.js";
134
+ } from "./chunk-LMNCEQCC.js";
134
135
  import {
135
136
  CliUsageError,
136
137
  failUsage,
137
138
  setCommandExitCode
138
- } from "./chunk-66W5IWLO.js";
139
+ } from "./chunk-U7M4SZUB.js";
139
140
  import {
140
141
  VERSION
141
- } from "./chunk-FFOFGL2O.js";
142
+ } from "./chunk-JLMMY3UI.js";
142
143
  import {
143
144
  normalizeErrorMessage
144
145
  } from "./chunk-E63BDV4Z.js";
145
146
 
146
147
  // src/commands/check.ts
147
148
  import { randomUUID } from "crypto";
148
- import { mkdirSync as mkdirSync2, writeFileSync as writeFileSync2 } from "fs";
149
+ import { writeFileSync as writeFileSync2 } from "fs";
149
150
  import { dirname, join as join3, resolve } from "path";
150
151
 
151
152
  // ../core/dist/safeAreas.js
@@ -300,7 +301,7 @@ function withFindingFrameFields(report, plan, { written, inspected }) {
300
301
  }
301
302
 
302
303
  // src/utils/checkPipeline.ts
303
- import { mkdirSync, writeFileSync } from "fs";
304
+ import { writeFileSync } from "fs";
304
305
  import { readFile } from "fs/promises";
305
306
  import { join, relative } from "path";
306
307
 
@@ -2425,7 +2426,7 @@ function resolveMotionSpec(projectDir) {
2425
2426
  };
2426
2427
  }
2427
2428
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2428
- const module = await import("./checkBrowser-6SH73T47.js");
2429
+ const module = await import("./checkBrowser-BAWRZZZU.js");
2429
2430
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2430
2431
  }
2431
2432
  var adoptedBrowser;
@@ -2439,23 +2440,22 @@ async function prelaunchBrowser(project, options) {
2439
2440
  if (adopted) return adopted;
2440
2441
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2441
2442
  if (html === void 0) return void 0;
2442
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-L765HLCT.js");
2443
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-2O2HP6SK.js");
2443
2444
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2444
2445
  }
2445
2446
  async function writeSnapshot(projectDir, index, time, pngBase64) {
2446
2447
  const snapshotDir = checkSnapshotDirectory(projectDir);
2447
- mkdirSync(snapshotDir, { recursive: true });
2448
2448
  const filename = `frame-${String(index).padStart(2, "0")}-at-${time.toFixed(1)}s.png`;
2449
2449
  const path = join(snapshotDir, filename);
2450
2450
  writeFileSync(path, Buffer.from(pngBase64, "base64"));
2451
2451
  return relative(projectDir, path);
2452
2452
  }
2453
2453
  async function captureFindingFrames(project, options, requests, deadline) {
2454
- const module = await import("./checkBrowser-6SH73T47.js");
2454
+ const module = await import("./checkBrowser-BAWRZZZU.js");
2455
2455
  return module.captureFindingFrames(project, options, requests, deadline);
2456
2456
  }
2457
2457
  async function captureFindingCrops(project, options, requests, deadline) {
2458
- const module = await import("./checkBrowser-6SH73T47.js");
2458
+ const module = await import("./checkBrowser-BAWRZZZU.js");
2459
2459
  return module.captureFindingCrops(project, options, requests, deadline);
2460
2460
  }
2461
2461
  async function inspectProjectMedia(project, dependencies) {
@@ -2483,7 +2483,7 @@ function collectMedia(project) {
2483
2483
  return collectProjectMedia(project.dir);
2484
2484
  }
2485
2485
  async function inspectAudio(project, media) {
2486
- const module = await import("./checkAudio-R5ORBXBO.js");
2486
+ const module = await import("./checkAudio-4YUTDQSQ.js");
2487
2487
  return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
2488
2488
  }
2489
2489
  function audioCheckFailure(project, error) {
@@ -2551,7 +2551,7 @@ var Uncacheable = class extends Error {
2551
2551
  var CACHE_RECORD = "cache/check.json";
2552
2552
  var CACHE_RECORD_MAX_BYTES = 16 * 1024 * 1024;
2553
2553
  async function browserIdentity() {
2554
- const { findBrowser } = await import("./manager-U4WEPCLV.js");
2554
+ const { findBrowser } = await import("./manager-KWNID2ZA.js");
2555
2555
  const found = await findBrowser();
2556
2556
  if (!found) return void 0;
2557
2557
  try {
@@ -2658,7 +2658,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
2658
2658
  }
2659
2659
  },
2660
2660
  async prepareMedia(project, options) {
2661
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-XWK47ZVF.js");
2661
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-RVF7AFP5.js");
2662
2662
  const html = await bundleWithLocalizedFonts(project.dir);
2663
2663
  return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
2664
2664
  },
@@ -2671,9 +2671,15 @@ function warnNotRecorded(error) {
2671
2671
  function checkReportFile(projectDir, id) {
2672
2672
  return join3(projectDir, ".hyperframes", "artifacts", "checks", `${id}.json`);
2673
2673
  }
2674
+ function makeReportFolder(path, projectDir) {
2675
+ if (!recordFolder(projectDir, "artifacts/checks"))
2676
+ throw new Error(
2677
+ `${dirname(path)} is reached through a link or a file; remove it and run again`
2678
+ );
2679
+ }
2674
2680
  async function saveCheckReport(project, options, report, capture, id) {
2675
2681
  const path = checkReportFile(project.dir, id);
2676
- mkdirSync2(dirname(path), { recursive: true });
2682
+ makeReportFolder(path, project.dir);
2677
2683
  writeFileSync2(path, JSON.stringify(report, null, 2) + "\n", { flag: "wx" });
2678
2684
  const reportScope = "scope" in report && typeof report.scope === "object" && report.scope !== null ? report.scope : void 0;
2679
2685
  const artifacts = [
@@ -2739,7 +2745,7 @@ var CHECK_COMMAND_ARGS = {
2739
2745
  },
2740
2746
  samples: {
2741
2747
  type: "string",
2742
- description: "Number of midpoint samples across the duration (default: 9)",
2748
+ description: "Number of midpoint samples across the duration",
2743
2749
  default: "9"
2744
2750
  },
2745
2751
  range: {
@@ -2765,17 +2771,17 @@ var CHECK_COMMAND_ARGS = {
2765
2771
  },
2766
2772
  "max-issues": {
2767
2773
  type: "string",
2768
- description: "Maximum issues to print or return after static collapse (default: 80)",
2774
+ description: "Maximum issues to print or return after static collapse",
2769
2775
  default: "80"
2770
2776
  },
2771
2777
  "collapse-static": {
2772
2778
  type: "boolean",
2773
- description: "Collapse repeated static issues across samples (default: true)",
2779
+ description: "Collapse repeated static issues across samples",
2774
2780
  default: true
2775
2781
  },
2776
2782
  tolerance: {
2777
2783
  type: "string",
2778
- description: "Allowed pixel overflow before reporting an issue (default: 2)",
2784
+ description: "Allowed pixel overflow before reporting an issue",
2779
2785
  default: "2"
2780
2786
  },
2781
2787
  budget: {
@@ -3287,8 +3293,9 @@ function printContrastSection(report) {
3287
3293
  return;
3288
3294
  }
3289
3295
  for (const finding of section2.findings) {
3296
+ const text = finding.text ? ` ${c.dim(`"${terminalText(finding.text)}"`)}` : "";
3290
3297
  console.log(
3291
- ` ${c.error("\u2717")} ${terminalText(finding.selector)} ${finding.ratio}:1 (need ${finding.requiredRatio}:1, ${formatFindingTimes(finding)})`
3298
+ ` ${findingIcon(finding)} ${terminalText(finding.selector)}${text} ${finding.ratio}:1 (need ${finding.requiredRatio}:1, ${formatFindingTimes(finding)})`
3292
3299
  );
3293
3300
  const source = `Try ${terminalText(finding.suggestedColor)}; source ${terminalText(finding.sourceFile)}`;
3294
3301
  console.log(` ${c.dim(source)}`);
@@ -0,0 +1,125 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ readRecordTail,
9
+ recordKind,
10
+ removeRecord,
11
+ writeRecord
12
+ } from "./chunk-JT7RXK2N.js";
13
+ import {
14
+ failCommand
15
+ } from "./chunk-U7M4SZUB.js";
16
+
17
+ // src/commands/lambda/state.ts
18
+ import { existsSync, readdirSync } from "fs";
19
+ import { join } from "path";
20
+ function videoArchitecture(stack) {
21
+ return stack.videoFunctionName ? "arm64" : void 0;
22
+ }
23
+ var STATE_DIR_NAME = ".hyperframes";
24
+ var STATE_FILE_PREFIX = "lambda-stack-";
25
+ var DEFAULT_STACK_NAME = "hyperframes-default";
26
+ function stateFilePath(stackName = DEFAULT_STACK_NAME, cwd = process.cwd()) {
27
+ return join(cwd, STATE_DIR_NAME, `${STATE_FILE_PREFIX}${stackName}.json`);
28
+ }
29
+ function writeStackOutputs(outputs, cwd = process.cwd()) {
30
+ const path = stateFilePath(outputs.stackName, cwd);
31
+ const name = `${STATE_FILE_PREFIX}${outputs.stackName}.json`;
32
+ if (!writeRecord(cwd, name, JSON.stringify(outputs, null, 2) + "\n"))
33
+ throw new Error(`Could not write ${path}: it, or .hyperframes, is a link or not a plain file`);
34
+ return path;
35
+ }
36
+ var MAX_STATE_BYTES = 64 * 1024;
37
+ var REGION = /^[a-z]{2}(?:-[a-z]+)+-\d$/;
38
+ var BUCKET = /^(?!xn--)(?!.*\.\.)[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]$/;
39
+ var STATE_MACHINE_ARN = /^arn:aws(?:-cn|-us-gov)?:states:([a-z]{2}(?:-[a-z]+)+-\d):\d{12}:stateMachine:[\w-]{1,80}$/;
40
+ var FUNCTION_NAME = /^[\w-]{1,64}$/;
41
+ var isText = (value, shape) => typeof value === "string" && shape.test(value);
42
+ var optional = (valid) => (value) => value === void 0 || valid(value);
43
+ var isCount = (value) => typeof value === "number" && Number.isInteger(value) && value > 0;
44
+ var isFunctionName = (value) => isText(value, FUNCTION_NAME);
45
+ var FIELD_CHECKS = [
46
+ ["stackName", (value) => typeof value === "string"],
47
+ ["region", (value) => isText(value, REGION)],
48
+ ["bucketName", (value) => isText(value, BUCKET)],
49
+ ["stateMachineArn", (value) => isText(value, STATE_MACHINE_ARN)],
50
+ ["functionName", isFunctionName],
51
+ ["lambdaMemoryMb", isCount],
52
+ ["reservedConcurrency", optional(isCount)],
53
+ ["videoFunctionName", optional(isFunctionName)],
54
+ ["videoRepository", optional((value) => typeof value === "string")]
55
+ ];
56
+ function stackOutputsProblem(value) {
57
+ if (typeof value !== "object" || value === null) return "is not a JSON object";
58
+ const stack = value;
59
+ const invalid = FIELD_CHECKS.find(([field, valid]) => !valid(stack[field]));
60
+ if (invalid) return `has no valid ${invalid[0]}`;
61
+ const arnRegion = STATE_MACHINE_ARN.exec(String(stack.stateMachineArn))?.[1];
62
+ return arnRegion === stack.region ? null : `names region ${stack.region} but a state machine in ${arnRegion}`;
63
+ }
64
+ function loadStackOutputs(stackName, cwd) {
65
+ const name = `${STATE_FILE_PREFIX}${stackName}.json`;
66
+ if (recordKind(cwd, name) === "absent") return null;
67
+ const record = readRecordTail(cwd, name, MAX_STATE_BYTES);
68
+ if (!record) return "is a link or not a plain file in a real .hyperframes folder";
69
+ if (!record.whole) return "is too large";
70
+ let value;
71
+ try {
72
+ value = JSON.parse(record.text);
73
+ } catch {
74
+ return "is not valid JSON";
75
+ }
76
+ return stackOutputsProblem(value) ?? value;
77
+ }
78
+ function readStackOutputs(stackName = DEFAULT_STACK_NAME, cwd = process.cwd()) {
79
+ const stack = loadStackOutputs(stackName, cwd);
80
+ return typeof stack === "string" ? null : stack;
81
+ }
82
+ function deleteStackOutputs(stackName = DEFAULT_STACK_NAME, cwd = process.cwd()) {
83
+ removeRecord(cwd, `${STATE_FILE_PREFIX}${stackName}.json`);
84
+ }
85
+ function listStackNames(cwd = process.cwd()) {
86
+ const dir = join(cwd, STATE_DIR_NAME);
87
+ if (!existsSync(dir)) return [];
88
+ return readdirSync(dir).filter((f) => f.startsWith(STATE_FILE_PREFIX) && f.endsWith(".json")).map((f) => f.slice(STATE_FILE_PREFIX.length, -".json".length));
89
+ }
90
+ var sameFileOnCaseInsensitiveDisk = (a, b) => a.toLowerCase() === b.toLowerCase();
91
+ function requireStack(stackName, cwd = process.cwd()) {
92
+ const stack = loadStackOutputs(stackName, cwd);
93
+ const path = stateFilePath(stackName, cwd);
94
+ const deploy = `Run \`hyperframes lambda deploy${stackName === DEFAULT_STACK_NAME ? "" : ` --stack-name=${stackName}`}\``;
95
+ if (typeof stack === "string") {
96
+ console.error(`[hyperframes lambda] ${path} ${stack}. ${deploy} to rewrite it.`);
97
+ failCommand();
98
+ }
99
+ if (!stack) {
100
+ const known = listStackNames(cwd);
101
+ const hint = known.length ? ` Known stacks here: ${known.join(", ")}.` : "";
102
+ console.error(
103
+ `[hyperframes lambda] no stack state for "${stackName}" at ${path}. ${deploy} first.${hint}`
104
+ );
105
+ failCommand();
106
+ }
107
+ if (!sameFileOnCaseInsensitiveDisk(String(stack.stackName), stackName)) {
108
+ console.error(
109
+ `[hyperframes lambda] ${path} names stack "${stack.stackName}", not "${stackName}". ${deploy} to rewrite it.`
110
+ );
111
+ failCommand();
112
+ }
113
+ return stack;
114
+ }
115
+
116
+ export {
117
+ videoArchitecture,
118
+ DEFAULT_STACK_NAME,
119
+ stateFilePath,
120
+ writeStackOutputs,
121
+ readStackOutputs,
122
+ deleteStackOutputs,
123
+ listStackNames,
124
+ requireStack
125
+ };
@@ -8,7 +8,7 @@ import {
8
8
  forceRefreshCredentials,
9
9
  resolveCloudAuthHeaders,
10
10
  resolveCloudBaseUrl
11
- } from "./chunk-GDIBE57N.js";
11
+ } from "./chunk-MVA4OQL7.js";
12
12
  import {
13
13
  HyperframesApiError,
14
14
  HyperframesCloudClient
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-JCNPHRGX.js";
30
30
  import {
31
31
  failCommand
32
- } from "./chunk-66W5IWLO.js";
32
+ } from "./chunk-U7M4SZUB.js";
33
33
  import {
34
34
  normalizeErrorMessage
35
35
  } from "./chunk-E63BDV4Z.js";
@@ -8,14 +8,17 @@ import {
8
8
  RENDER_TEMP_DIR
9
9
  } from "./chunk-HOIEN7O4.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-MHF5F4FF.js";
16
+ import {
17
+ isStudioPrivatePath,
18
+ projectPathSegments
19
+ } from "./chunk-KK5Z5XQ3.js";
17
20
 
18
- // ../studio-server/dist/chunk-NZL26EJ7.js
21
+ // ../studio-server/dist/chunk-BNOHALQQ.js
19
22
  import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "path";
20
23
  import { lstatSync, readdirSync } from "fs";
21
24
  function resolveWithinProject2(base, relativePath) {
@@ -43,7 +46,7 @@ function isPrivateProjectFile(projectDir, filePath) {
43
46
  }
44
47
  var WRITABLE_HIDDEN_FOLDERS = /* @__PURE__ */ new Set([".hyperframes", ".media"]);
45
48
  function isWritableProjectPath(relPath) {
46
- if (!relPath || isPrivateProjectPath(relPath)) return false;
49
+ if (!relPath || isPrivateProjectPath(relPath) || toolTrustedFileKind(relPath)) return false;
47
50
  const segments = projectPathSegments(relPath);
48
51
  return segments.every(
49
52
  (segment, at) => segment !== "" && segment !== "node_modules" && (!segment.startsWith(".") || at === 0 && WRITABLE_HIDDEN_FOLDERS.has(segment))
@@ -52,6 +55,33 @@ function isWritableProjectPath(relPath) {
52
55
  function isWritableProjectFile(projectDir, filePath) {
53
56
  return projectRelatives(projectDir, filePath).every(isWritableProjectPath);
54
57
  }
58
+ function toolTrustedFileWithin(projectDir, dir) {
59
+ return protectedEntryWithin(dir, projectRelativePath(projectDir, dir));
60
+ }
61
+ var PROTECTED_FOLDERS = /* @__PURE__ */ new Set(["node_modules", ".git"]);
62
+ function protectedEntryWithin(dir, rel) {
63
+ const entries = folderEntries(dir);
64
+ if (!entries) return rel || ".";
65
+ for (const entry of entries) {
66
+ const found = protectedEntry(dir, entry, rel ? `${rel}/${entry.name}` : entry.name);
67
+ if (found) return found;
68
+ }
69
+ return null;
70
+ }
71
+ function protectedEntry(dir, entry, at) {
72
+ if (!entry.isDirectory()) return toolTrustedFileKind(at) ? at : null;
73
+ if (toolTrustedFileKind(at) || PROTECTED_FOLDERS.has(projectPathSegments(entry.name)[0] ?? ""))
74
+ return at;
75
+ return protectedEntryWithin(join(dir, entry.name), at);
76
+ }
77
+ function folderEntries(dir) {
78
+ try {
79
+ return readdirSync(dir, { withFileTypes: true });
80
+ } catch (err) {
81
+ if (UNREADABLE_DIR_CODES.has(err.code ?? "")) return null;
82
+ throw err;
83
+ }
84
+ }
55
85
  function resolveWritableWithinProject(base, relativePath) {
56
86
  const resolved = resolveWithinProject2(base, relativePath);
57
87
  return resolved && isWritableProjectFile(base, resolved) ? resolved : null;
@@ -133,6 +163,7 @@ export {
133
163
  isPrivateProjectPath,
134
164
  isPrivateProjectFile,
135
165
  isWritableProjectFile,
166
+ toolTrustedFileWithin,
136
167
  resolveWritableWithinProject,
137
168
  pinWritableWithinProject,
138
169
  pinWithinProject,
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
13
- } from "./chunk-5IUVWP3A.js";
13
+ } from "./chunk-QHVE6AFU.js";
14
14
  import {
15
15
  parseHTML
16
16
  } from "./chunk-GWTIFRF5.js";
@@ -14,21 +14,21 @@ import {
14
14
  } from "./chunk-ZB2XGJSP.js";
15
15
  import {
16
16
  createStagingDir
17
- } from "./chunk-DL6PEJWH.js";
17
+ } from "./chunk-K2WLOTTF.js";
18
18
  import {
19
19
  terminalText
20
- } from "./chunk-MK23FXLH.js";
20
+ } from "./chunk-UVZIABYZ.js";
21
21
  import {
22
22
  FONT_ALIAS_MAP,
23
23
  fontShorthandFamilies,
24
24
  resolveAliasDisplayName
25
- } from "./chunk-7IMHPBSH.js";
25
+ } from "./chunk-4NDSGKPO.js";
26
26
  import {
27
27
  parseHTML
28
28
  } from "./chunk-GWTIFRF5.js";
29
29
  import {
30
30
  hyperframesCacheDir
31
- } from "./chunk-JOQR4AP6.js";
31
+ } from "./chunk-KUJJJBV2.js";
32
32
  import {
33
33
  __commonJS,
34
34
  __require,
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findStageProxyBox
9
- } from "./chunk-H3LEOZVK.js";
9
+ } from "./chunk-7YRZBB4C.js";
10
10
  import {
11
11
  injectMediaCodecMapIntoHtml,
12
12
  requestFromAnotherSite
13
- } from "./chunk-IGZQYMZA.js";
13
+ } from "./chunk-WDMSNDHS.js";
14
14
  import {
15
15
  PROXY_VARIANT_CONFIG,
16
16
  ProxyCapacityError,
@@ -21,10 +21,10 @@ import {
21
21
  recordProxyRequest,
22
22
  resolveProxy,
23
23
  resolveProxyVariantRequest
24
- } from "./chunk-ZAWQJOTW.js";
24
+ } from "./chunk-LTOUXR3X.js";
25
25
  import {
26
26
  resolveAutoProxy
27
- } from "./chunk-W2OXNTHG.js";
27
+ } from "./chunk-RHFB457E.js";
28
28
  import {
29
29
  openRangeEnd
30
30
  } from "./chunk-LD6JONPV.js";
@@ -34,30 +34,30 @@ import {
34
34
  import {
35
35
  SAME_ORIGIN_FRAMING_HEADERS,
36
36
  isOwnLoopbackHost
37
- } from "./chunk-VLFBOKZX.js";
37
+ } from "./chunk-CC72LTIT.js";
38
38
  import {
39
39
  listenOnBrowserSafePort
40
- } from "./chunk-OSKSTJNQ.js";
40
+ } from "./chunk-PJQVJSMG.js";
41
41
  import {
42
42
  PREVIEW_FOR_ANOTHER_SITE_META
43
43
  } from "./chunk-YXX6CIHL.js";
44
44
  import {
45
45
  stripSdrPngColourTags
46
- } from "./chunk-4N3WOFP3.js";
46
+ } from "./chunk-I6OSAVHD.js";
47
47
  import {
48
48
  PREVIEW_PROXY_BOX_PARAM,
49
49
  parsePreviewProxyBox
50
- } from "./chunk-5IUVWP3A.js";
50
+ } from "./chunk-QHVE6AFU.js";
51
51
  import {
52
52
  injectTagsAtHeadStart
53
- } from "./chunk-2RUCE54M.js";
54
- import {
55
- isPrivateFileUnder,
56
- isStudioPrivatePath
57
- } from "./chunk-SALNTRJA.js";
53
+ } from "./chunk-NI7JVGOE.js";
58
54
  import {
59
55
  decodeWellFormedEscapes
60
56
  } from "./chunk-IH2C53YV.js";
57
+ import {
58
+ isPrivateFileUnder,
59
+ isStudioPrivatePath
60
+ } from "./chunk-KK5Z5XQ3.js";
61
61
 
62
62
  // src/utils/staticProjectServer.ts
63
63
  import {
@@ -27,16 +27,16 @@ import {
27
27
  } from "./chunk-D3UCUI7G.js";
28
28
  import {
29
29
  publishRegistryFile
30
- } from "./chunk-ALD7JBPV.js";
30
+ } from "./chunk-YBYNBKCN.js";
31
31
  import {
32
32
  ITEM_TYPE_DIRS
33
- } from "./chunk-5IUVWP3A.js";
33
+ } from "./chunk-QHVE6AFU.js";
34
34
  import {
35
35
  realProjectRoot
36
- } from "./chunk-SALNTRJA.js";
36
+ } from "./chunk-MHF5F4FF.js";
37
37
  import {
38
38
  namedCacheDir
39
- } from "./chunk-JOQR4AP6.js";
39
+ } from "./chunk-KUJJJBV2.js";
40
40
  import {
41
41
  __commonJS,
42
42
  __toESM