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
@@ -4,18 +4,14 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
- import {
8
- ambiguousIssue,
9
- loadBrowserScript
10
- } from "./chunk-DWFWF6IR.js";
11
7
  import {
12
8
  auditClipDurations,
13
9
  shouldIgnoreHttpError,
14
10
  shouldIgnoreRequestFailure
15
- } from "./chunk-OPSGEOCO.js";
11
+ } from "./chunk-WVCCSYZC.js";
16
12
  import {
17
13
  serveStaticProjectHtml
18
- } from "./chunk-CGODFJZ7.js";
14
+ } from "./chunk-CYM53TWZ.js";
19
15
  import {
20
16
  AUDIT_SEEK_OPTIONS,
21
17
  DEFAULT_ZOOM_PADDING_PX,
@@ -29,14 +25,14 @@ import {
29
25
  seekCompositionTimeline,
30
26
  seekInPage,
31
27
  waitForPreferredSeekTarget
32
- } from "./chunk-Y6CZFX5X.js";
28
+ } from "./chunk-7GDEQJSL.js";
29
+ import {
30
+ findStageProxyBox
31
+ } from "./chunk-3ROFCQAW.js";
33
32
  import {
34
33
  SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
35
34
  withRemainingBudget
36
35
  } from "./chunk-YGGZ23BB.js";
37
- import {
38
- findStageProxyBox
39
- } from "./chunk-H3LEOZVK.js";
40
36
  import {
41
37
  FfmpegUnavailableError,
42
38
  decideMediaProxyEligibility,
@@ -46,29 +42,32 @@ import {
46
42
  resolveProxies,
47
43
  scanProjectMediaCodecMap,
48
44
  shouldPrewarmProxy
49
- } from "./chunk-ZAWQJOTW.js";
45
+ } from "./chunk-UX5KLSAJ.js";
50
46
  import {
51
47
  artifactDirectory,
52
48
  finishSnapshotRun
53
- } from "./chunk-E4IR34CF.js";
49
+ } from "./chunk-5T2LNQAH.js";
54
50
  import {
55
51
  BrowserCleanupError,
56
52
  closeManagedBrowser,
57
53
  onStopSignal
58
- } from "./chunk-DX5Y3L5B.js";
54
+ } from "./chunk-OPUR2XQ2.js";
59
55
  import {
60
56
  resolveAutoProxy
61
- } from "./chunk-W2OXNTHG.js";
57
+ } from "./chunk-LZSSGF7G.js";
58
+ import {
59
+ projectFolder
60
+ } from "./chunk-OW6MOJSR.js";
62
61
  import {
63
62
  DEFAULT_CONFIG
64
- } from "./chunk-VLFBOKZX.js";
63
+ } from "./chunk-LTXZLTXW.js";
65
64
  import {
66
65
  STUDIO_PREVIEW_CAPTURE_MODE,
67
66
  STUDIO_PREVIEW_MARK_META
68
- } from "./chunk-YXX6CIHL.js";
67
+ } from "./chunk-BWFNWEUO.js";
69
68
  import {
70
69
  injectTagsAtHeadStart
71
- } from "./chunk-2RUCE54M.js";
70
+ } from "./chunk-BNH2IKGV.js";
72
71
  import {
73
72
  parseHTML
74
73
  } from "./chunk-GWTIFRF5.js";
@@ -410,6 +409,8 @@ function checkSnapshotDirectory(projectDir) {
410
409
  directory = artifactDirectory(project, "snapshots");
411
410
  runDirectories.set(project, directory);
412
411
  }
412
+ if (!projectFolder(project, directory))
413
+ throw new Error(`${directory} is reached through a link or a file; remove it and run again`);
413
414
  return directory;
414
415
  }
415
416
  async function finishCheckSnapshots(projectDir) {
@@ -427,9 +428,216 @@ async function finishCheckSnapshots(projectDir) {
427
428
  }
428
429
 
429
430
  // src/utils/checkBrowser.ts
430
- import { existsSync, mkdirSync, writeFileSync } from "fs";
431
+ import { existsSync as existsSync2, writeFileSync } from "fs";
431
432
  import os from "os";
432
- import { join, resolve as resolve2 } from "path";
433
+ import { join as join2, resolve as resolve2 } from "path";
434
+
435
+ // src/commands/browserScript.ts
436
+ import { existsSync, readFileSync } from "fs";
437
+ import { dirname, join } from "path";
438
+ import { fileURLToPath } from "url";
439
+ var __dirname = dirname(fileURLToPath(import.meta.url));
440
+ function loadBrowserScript(name) {
441
+ const candidates = [join(__dirname, name), join(__dirname, "commands", name)];
442
+ for (const candidate of candidates) {
443
+ if (existsSync(candidate)) return readFileSync(candidate, "utf-8");
444
+ }
445
+ throw new Error(`Missing browser script ${name}`);
446
+ }
447
+
448
+ // src/utils/motionAudit.ts
449
+ var APPEAR_OPACITY = 0.5;
450
+ var FRAME_TOLERANCE = 1;
451
+ var DEFAULT_MAX_STATIC_SEC = 2;
452
+ var END_CARD_HOLD_SEC = 3;
453
+ var ZERO_RECT = { left: 0, top: 0, right: 0, bottom: 0, width: 0, height: 0 };
454
+ function ambiguousIssue(selector) {
455
+ return {
456
+ code: "motion_selector_ambiguous",
457
+ severity: "error",
458
+ time: 0,
459
+ selector,
460
+ message: `${selector} matches multiple elements \u2014 use a more specific selector so the assertion targets exactly one.`,
461
+ rect: ZERO_RECT,
462
+ fixHint: "Use #id or :nth-child() instead of a class selector when multiple elements share the same class."
463
+ };
464
+ }
465
+ function round(value) {
466
+ return Math.round(value * 100) / 100;
467
+ }
468
+ function everMatched(frames, selector) {
469
+ return frames.some((frame) => frame.data[selector] != null);
470
+ }
471
+ function firstAppear(frames, selector) {
472
+ for (const frame of frames) {
473
+ const sample = frame.data[selector];
474
+ if (sample && sample.visible && sample.opacity >= APPEAR_OPACITY) {
475
+ return { time: frame.time, rect: sample.rect };
476
+ }
477
+ }
478
+ return null;
479
+ }
480
+ function missingIssue(selector, time) {
481
+ return {
482
+ code: "motion_selector_missing",
483
+ severity: "error",
484
+ time,
485
+ selector,
486
+ message: `${selector} matched no element in any sampled frame \u2014 check the selector`,
487
+ rect: ZERO_RECT,
488
+ fixHint: "Verify the selector exists in the composition and is spelled correctly."
489
+ };
490
+ }
491
+ function appearsBy(frames, selector, bySec) {
492
+ if (!everMatched(frames, selector)) return [missingIssue(selector, 0)];
493
+ const appear = firstAppear(frames, selector);
494
+ if (appear && appear.time <= bySec) return [];
495
+ return [
496
+ {
497
+ code: "motion_appears_late",
498
+ severity: "error",
499
+ time: appear ? appear.time : bySec,
500
+ selector,
501
+ message: appear ? `appears at ${round(appear.time)}s but should be visible by ${round(bySec)}s (check its entrance reveal fires under seek)` : `never reaches visible opacity but should be visible by ${round(bySec)}s (check its entrance reveal fires under seek)`,
502
+ rect: appear ? appear.rect : ZERO_RECT,
503
+ fixHint: "The renderer seeks a paused timeline; a forward-only reveal can be skipped. Ensure the entrance is applied at this time, not only played through."
504
+ }
505
+ ];
506
+ }
507
+ function before(frames, a, b) {
508
+ const issues = [];
509
+ if (!everMatched(frames, a)) issues.push(missingIssue(a, 0));
510
+ if (!everMatched(frames, b)) issues.push(missingIssue(b, 0));
511
+ if (issues.length > 0) return issues;
512
+ const appearA = firstAppear(frames, a);
513
+ const appearB = firstAppear(frames, b);
514
+ const timeA = appearA ? appearA.time : Number.POSITIVE_INFINITY;
515
+ const timeB = appearB ? appearB.time : Number.POSITIVE_INFINITY;
516
+ if (timeA < timeB) return [];
517
+ const label = (t) => Number.isFinite(t) ? `${round(t)}s` : "never";
518
+ return [
519
+ {
520
+ code: "motion_out_of_order",
521
+ severity: "error",
522
+ time: Number.isFinite(timeA) ? timeA : 0,
523
+ selector: a,
524
+ message: `${a} should appear before ${b}, but ${a} appears at ${label(timeA)} and ${b} at ${label(timeB)} \u2014 reorder the entrances`,
525
+ rect: appearA ? appearA.rect : ZERO_RECT,
526
+ fixHint: `Make ${a}'s entrance land before ${b}'s on the timeline.`
527
+ }
528
+ ];
529
+ }
530
+ function isOffFrame(r, canvas) {
531
+ return r.left < -FRAME_TOLERANCE || r.top < -FRAME_TOLERANCE || r.right > canvas.width + FRAME_TOLERANCE || r.bottom > canvas.height + FRAME_TOLERANCE;
532
+ }
533
+ function staysInFrame(frames, selector, canvas) {
534
+ if (!everMatched(frames, selector)) return [missingIssue(selector, 0)];
535
+ const appear = firstAppear(frames, selector);
536
+ if (!appear) return [];
537
+ for (const frame of frames) {
538
+ const sample = frame.data[selector];
539
+ if (frame.time < appear.time || !sample || !sample.visible) continue;
540
+ if (!isOffFrame(sample.rect, canvas)) continue;
541
+ const r = sample.rect;
542
+ return [
543
+ {
544
+ code: "motion_off_frame",
545
+ severity: "error",
546
+ time: frame.time,
547
+ selector,
548
+ message: `${selector} drifts off the ${canvas.width}\xD7${canvas.height} canvas at ${round(frame.time)}s (box ${r.left},${r.top}\u2192${r.right},${r.bottom})`,
549
+ rect: r,
550
+ fixHint: "Clamp the element's motion so its box stays within the canvas for the whole shot."
551
+ }
552
+ ];
553
+ }
554
+ return [];
555
+ }
556
+ function frozenSpans(frames, scope, maxStaticSec, endCardStart = Number.POSITIVE_INFINITY) {
557
+ const spans = [];
558
+ const first = frames[0];
559
+ if (!first) return spans;
560
+ let runStart = first.time;
561
+ let runSig = first.liveness[scope] ?? "";
562
+ const flush = (runEnd) => {
563
+ const end = Math.min(runEnd, endCardStart);
564
+ if (end - runStart > maxStaticSec) spans.push({ start: runStart, end });
565
+ };
566
+ let lastTime = runStart;
567
+ for (const frame of frames.slice(1)) {
568
+ lastTime = frame.time;
569
+ const sig = frame.liveness[scope] ?? "";
570
+ if (sig !== runSig) {
571
+ flush(frame.time);
572
+ runStart = frame.time;
573
+ runSig = sig;
574
+ }
575
+ }
576
+ flush(lastTime);
577
+ return spans;
578
+ }
579
+ function keepsMoving(frames, within, maxStaticSec, endCardStart) {
580
+ const scope = within ?? "*";
581
+ if (within && frames.every((frame) => !frame.liveness[scope])) {
582
+ return [missingIssue(within, 0)];
583
+ }
584
+ return frozenSpans(frames, scope, maxStaticSec, endCardStart).map(({ start, end }) => ({
585
+ code: "motion_frozen",
586
+ severity: "error",
587
+ time: start,
588
+ selector: within ?? "composition",
589
+ message: `nothing moves${within ? ` within ${within}` : ""} between ${round(start)}s and ${round(end)}s (${round(end - start)}s static) \u2014 should keep moving`,
590
+ rect: ZERO_RECT,
591
+ fixHint: "Add or extend motion so no shot freezes for this long, or shorten the static hold."
592
+ }));
593
+ }
594
+ function evaluateMotion(frames, assertions, canvas, filmDuration) {
595
+ if (frames.length === 0) return [];
596
+ const endCardStart = filmDuration !== void 0 && filmDuration > 0 ? filmDuration - END_CARD_HOLD_SEC : Number.POSITIVE_INFINITY;
597
+ return assertions.flatMap((assertion) => {
598
+ switch (assertion.kind) {
599
+ case "appearsBy":
600
+ return appearsBy(frames, assertion.selector, assertion.bySec);
601
+ case "before":
602
+ return before(frames, assertion.a, assertion.b);
603
+ case "staysInFrame":
604
+ return staysInFrame(frames, assertion.selector, canvas);
605
+ case "keepsMoving":
606
+ return keepsMoving(
607
+ frames,
608
+ assertion.withinSelector,
609
+ assertion.maxStaticSec ?? DEFAULT_MAX_STATIC_SEC,
610
+ endCardStart
611
+ );
612
+ }
613
+ });
614
+ }
615
+ function assertionTargets(assertion) {
616
+ switch (assertion.kind) {
617
+ case "appearsBy":
618
+ case "staysInFrame":
619
+ return { selectors: [assertion.selector], scopes: [] };
620
+ case "before":
621
+ return { selectors: [assertion.a, assertion.b], scopes: [] };
622
+ case "keepsMoving":
623
+ return { selectors: [], scopes: [assertion.withinSelector ?? "*"] };
624
+ default: {
625
+ const exhaustive = assertion;
626
+ void exhaustive;
627
+ return { selectors: [], scopes: [] };
628
+ }
629
+ }
630
+ }
631
+ function collectSamplingTargets(assertions) {
632
+ const selectors = /* @__PURE__ */ new Set();
633
+ const scopes = /* @__PURE__ */ new Set();
634
+ for (const assertion of assertions) {
635
+ const targets = assertionTargets(assertion);
636
+ for (const selector of targets.selectors) selectors.add(selector);
637
+ for (const scope of targets.scopes) scopes.add(scope);
638
+ }
639
+ return { selectors: [...selectors], livenessScopes: [...scopes] };
640
+ }
433
641
 
434
642
  // src/utils/checkFindingInspect.ts
435
643
  import { realpathSync } from "fs";
@@ -911,7 +1119,7 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
911
1119
  }
912
1120
  function proxyCached(projectDir, source) {
913
1121
  try {
914
- return existsSync(
1122
+ return existsSync2(
915
1123
  getProxyCachePath(
916
1124
  projectDir,
917
1125
  source.sourcePath,
@@ -928,7 +1136,7 @@ function proxyFailedDraft(message) {
928
1136
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
929
1137
  }
930
1138
  async function loadCheckHtmlWithDeferredMedia(dir) {
931
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-XWK47ZVF.js");
1139
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-ZFX7TSWT.js");
932
1140
  return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
933
1141
  }
934
1142
  function withCapturePreviewMark(html) {
@@ -1001,7 +1209,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
1001
1209
  ).map((draft) => runtimeFinding(draft, rootAnchor))
1002
1210
  }));
1003
1211
  const launchSettleMs = Date.now() - launchSettleStart;
1004
- const { analyzeClipMediaFit } = await import("./src-R57EQQSI.js");
1212
+ const { analyzeClipMediaFit } = await import("./src-BNSCFKOD.js");
1005
1213
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
1006
1214
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
1007
1215
  }
@@ -1134,8 +1342,8 @@ async function captureFindingCrops(project, options, requests, deadline) {
1134
1342
  }));
1135
1343
  const region = padCropRegion(request.bbox, canvas, DEFAULT_ZOOM_PADDING_PX);
1136
1344
  const buffer = await captureRegionCrop(page, region, DEFAULT_ZOOM_SCALE);
1137
- writeFileSync(join(snapshotDir, request.filename), buffer);
1138
- written.push(join(snapshotDir, request.filename));
1345
+ writeFileSync(join2(snapshotDir, request.filename), buffer);
1346
+ written.push(join2(snapshotDir, request.filename));
1139
1347
  }
1140
1348
  return written;
1141
1349
  });
@@ -1143,7 +1351,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
1143
1351
  async function captureFindingFrames(project, options, requests, deadline) {
1144
1352
  if (requests.length === 0) return { written: [], inspected: [] };
1145
1353
  const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
1146
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-XWK47ZVF.js");
1354
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-ZFX7TSWT.js");
1147
1355
  return withCapturePreviewMark(
1148
1356
  await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
1149
1357
  );
@@ -1163,8 +1371,8 @@ async function captureFindingFrames(project, options, requests, deadline) {
1163
1371
  deadline?.enter("frames");
1164
1372
  await seekCompositionTimeline(page, request.time, SCREENSHOT_SEEK_OPTIONS);
1165
1373
  const buffer = await page.screenshot({ type: "png", optimizeForSpeed: true });
1166
- writeFileSync(join(snapshotDir, request.filename), buffer);
1167
- written.push(join(snapshotDir, request.filename));
1374
+ writeFileSync(join2(snapshotDir, request.filename), buffer);
1375
+ written.push(join2(snapshotDir, request.filename));
1168
1376
  if (!inspector) continue;
1169
1377
  for (const target of request.inspect ?? []) {
1170
1378
  deadline?.enter("frames");
@@ -1204,7 +1412,6 @@ async function withFindingCapturePage(project, options, deadline, what, capture,
1204
1412
  chromeBrowser = session.browser;
1205
1413
  await waitForPreferredSeekTarget(session.page);
1206
1414
  const snapshotDir = checkSnapshotDirectory(project.dir);
1207
- mkdirSync(snapshotDir, { recursive: true });
1208
1415
  return await capture(session.page, snapshotDir, server);
1209
1416
  } catch (error) {
1210
1417
  failure = { kind: "failed", error };
@@ -2448,6 +2655,13 @@ function matchComponentFindings({
2448
2655
  }
2449
2656
 
2450
2657
  export {
2658
+ DEFAULT_MAX_STATIC_SEC,
2659
+ END_CARD_HOLD_SEC,
2660
+ ambiguousIssue,
2661
+ frozenSpans,
2662
+ evaluateMotion,
2663
+ assertionTargets,
2664
+ collectSamplingTargets,
2451
2665
  idleWindow,
2452
2666
  CheckDeadlineError,
2453
2667
  CheckCopiesUnfinishedError,
@@ -2457,6 +2671,7 @@ export {
2457
2671
  beginCheckSnapshots,
2458
2672
  checkSnapshotDirectory,
2459
2673
  finishCheckSnapshots,
2674
+ loadBrowserScript,
2460
2675
  rectToBbox,
2461
2676
  RENDER_READY_WARNING_SUFFIX,
2462
2677
  preResolveHostileMediaProxies,
@@ -2472,5 +2687,6 @@ export {
2472
2687
  createPageDriver,
2473
2688
  collectSeekClock,
2474
2689
  captureOverviewShot,
2690
+ parseLayoutIssue,
2475
2691
  matchComponentFindings
2476
2692
  };
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-Z5J67X44.js";
10
10
  import {
11
11
  createStagingDir
12
- } from "./chunk-DL6PEJWH.js";
12
+ } from "./chunk-LYTELQL2.js";
13
13
 
14
14
  // src/capture/captureFile.ts
15
15
  import { mkdirSync, realpathSync, renameSync, statSync, writeFileSync } from "fs";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  isolatedPythonCode
9
- } from "./chunk-OEGWTN6N.js";
9
+ } from "./chunk-RF3DT4CS.js";
10
10
  import {
11
11
  STEADY_BEAT_CONFIDENCE,
12
12
  envelope,
@@ -23,35 +23,40 @@ import {
23
23
  import {
24
24
  uploadAssetViaDirectUpload
25
25
  } from "./chunk-PJNDSYJV.js";
26
- import {
27
- refreshIfNeeded,
28
- resolveCloudBaseUrl
29
- } from "./chunk-GDIBE57N.js";
30
26
  import {
31
27
  HyperframesCloudClient
32
28
  } from "./chunk-D3NWGOXW.js";
29
+ import {
30
+ refreshIfNeeded,
31
+ resolveCloudBaseUrl
32
+ } from "./chunk-4ZLWEPK4.js";
33
33
  import {
34
34
  tryResolveCredential
35
- } from "./chunk-QGQCWG7F.js";
35
+ } from "./chunk-SCEBICAQ.js";
36
36
  import {
37
37
  buildAuthHeaders
38
- } from "./chunk-XMAU5ZQX.js";
38
+ } from "./chunk-TFAKFI3R.js";
39
39
  import {
40
40
  decodeAudio,
41
41
  probeAudio
42
- } from "./chunk-FNXU56VT.js";
42
+ } from "./chunk-NK2UW3WR.js";
43
43
  import {
44
44
  runsWithoutInstallPrompt
45
45
  } from "./chunk-JJ47LVJ7.js";
46
46
  import {
47
47
  readPlainFile
48
- } from "./chunk-SYKUNH25.js";
48
+ } from "./chunk-OW6MOJSR.js";
49
49
  import {
50
+ createStagingDir,
50
51
  replaceFileAtomically
51
- } from "./chunk-DL6PEJWH.js";
52
+ } from "./chunk-LYTELQL2.js";
52
53
  import {
53
- hyperframesCacheDir
54
- } from "./chunk-JOQR4AP6.js";
54
+ assertPrivateCachePath,
55
+ ensurePrivateCacheDir,
56
+ foreignWritablePath,
57
+ sealCacheInstall,
58
+ trustedCacheRoot
59
+ } from "./chunk-KUJJJBV2.js";
55
60
 
56
61
  // src/audio/analysis/run.ts
57
62
  import { existsSync as existsSync3 } from "fs";
@@ -340,7 +345,7 @@ var apiProvider = {
340
345
  // src/audio/analysis/providers/apple.ts
341
346
  import { createHash } from "crypto";
342
347
  import { existsSync } from "fs";
343
- import { mkdir, rename, writeFile as writeFile2 } from "fs/promises";
348
+ import { rename, rm as rm2, writeFile as writeFile2 } from "fs/promises";
344
349
  import { join as join2 } from "path";
345
350
  var SOUND_ANALYSIS = "/System/Library/Frameworks/SoundAnalysis.framework";
346
351
  var MUSIC_UNDERSTANDING_MACOS = 27;
@@ -392,7 +397,7 @@ function atLeastOneWindow(signal) {
392
397
  })
393
398
  };
394
399
  }
395
- var helperDir = () => hyperframesCacheDir("audio-helpers");
400
+ var helperDir = () => join2(trustedCacheRoot(), "audio-helpers");
396
401
  function helperPath(name, source) {
397
402
  const hash = createHash("sha256").update(source).digest("hex").slice(0, 12);
398
403
  return join2(helperDir(), `${name}-${hash}`);
@@ -425,19 +430,29 @@ function swiftcArgs(source, output) {
425
430
  var builds = /* @__PURE__ */ new Map();
426
431
  function compiled(name, source) {
427
432
  const binary = helperPath(name, source);
428
- if (existsSync(binary)) return Promise.resolve(binary);
433
+ if (existsSync(binary) && !foreignWritablePath(binary, trustedCacheRoot())) {
434
+ return Promise.resolve(binary);
435
+ }
429
436
  let build = builds.get(binary);
430
437
  if (!build) {
431
438
  build = (async () => {
432
- await mkdir(helperDir(), { recursive: true });
433
- const file = `${binary}.swift`;
434
- await writeFile2(file, source);
435
- const args = swiftcArgs(file, `${binary}.tmp`);
436
- await runFile("xcrun", args, { timeout: 5 * 6e4 }).catch((error) => {
437
- throw new Error(`could not build the ${name} helper: ${firstLine(error)}`);
438
- });
439
- await rename(`${binary}.tmp`, binary);
440
- return binary;
439
+ const root = trustedCacheRoot();
440
+ ensurePrivateCacheDir(join2(helperDir(), "module-cache"), root);
441
+ const staging = createStagingDir(helperDir(), ".build-");
442
+ try {
443
+ const file = join2(staging, "helper.swift");
444
+ const output = join2(staging, "helper");
445
+ await writeFile2(file, source, { flag: "wx" });
446
+ const args = swiftcArgs(file, output);
447
+ await runFile("xcrun", args, { timeout: 5 * 6e4 }).catch((error) => {
448
+ throw new Error(`could not build the ${name} helper: ${firstLine(error)}`);
449
+ });
450
+ sealCacheInstall(output, root);
451
+ await rename(output, binary);
452
+ return assertPrivateCachePath(binary, root);
453
+ } finally {
454
+ await rm2(staging, { recursive: true, force: true });
455
+ }
441
456
  })();
442
457
  builds.set(binary, build);
443
458
  }
@@ -11,19 +11,19 @@ import {
11
11
  isHistoryId,
12
12
  openProjectHistory,
13
13
  readProjectHistory
14
- } from "./chunk-E4IR34CF.js";
14
+ } from "./chunk-5T2LNQAH.js";
15
15
  import {
16
16
  resolveProject
17
- } from "./chunk-XYP4T6TQ.js";
17
+ } from "./chunk-KYZEK7QF.js";
18
18
  import {
19
19
  findPreviewServerForProject,
20
20
  studioApiUrl
21
- } from "./chunk-5IE5ZI66.js";
21
+ } from "./chunk-62UUXB3F.js";
22
22
  import {
23
23
  readRecord,
24
24
  removeRecord,
25
25
  writeRecord
26
- } from "./chunk-SYKUNH25.js";
26
+ } from "./chunk-OW6MOJSR.js";
27
27
 
28
28
  // src/utils/historyOwner.ts
29
29
  import { randomUUID } from "crypto";
@@ -144,6 +144,13 @@ function previewOwner(route) {
144
144
  }
145
145
  };
146
146
  }
147
+ async function relistWrites(projectDir, entry) {
148
+ if (!entry?.files.length) return;
149
+ const { relistHistoryWrites } = await import("./receivedRecordFollow-U43DTVLP.js");
150
+ await relistHistoryWrites(projectDir, entry).catch(
151
+ (error) => console.warn(`Could not update the received-files record: ${String(error)}`)
152
+ );
153
+ }
147
154
  async function directOwner(projectDir, ownerWaitMs = historyDeps.ownerWaitMs) {
148
155
  let turn = null;
149
156
  const history = await openProjectHistory({
@@ -171,8 +178,16 @@ async function directOwner(projectDir, ownerWaitMs = historyDeps.ownerWaitMs) {
171
178
  list: async () => history.list(),
172
179
  peek: async (point) => history.peek(point),
173
180
  blob: (hash) => history.readBlob(hash),
174
- undo: (id, who, mode) => history.undo(id, { who, ...mode && { mode } }),
175
- restore: (point, who) => history.restore(point, who),
181
+ undo: async (id, who, mode) => {
182
+ const undone = await history.undo(id, { who, ...mode && { mode } });
183
+ if (undone.ok) await relistWrites(projectDir, undone.entry);
184
+ return undone;
185
+ },
186
+ restore: async (point, who) => {
187
+ const restored = await history.restore(point, who);
188
+ await relistWrites(projectDir, restored);
189
+ return restored;
190
+ },
176
191
  pin: async (id, pinned) => history.pin(id, pinned),
177
192
  // Opening filed every earlier write; the turn's own writes are filed to it when the next open passes it.
178
193
  begin: async () => ({ id: randomUUID(), startedAt: historyDeps.now() }),