hyperframes 0.9.13 → 0.9.14

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 (236) hide show
  1. package/dist/{add-PXF5OGLI.js → add-JNKCTPWJ.js} +16 -16
  2. package/dist/{agentPromptGenerator-DWNK722M.js → agentPromptGenerator-DSF7AEVE.js} +8 -8
  3. package/dist/{animatedGifPrep-FFBCFFIY.js → animatedGifPrep-BIEUMGB3.js} +8 -8
  4. package/dist/api.js +45 -23
  5. package/dist/{asset-FZVMLDSY.js → asset-V6JAJRCF.js} +2 -2
  6. package/dist/{assetCataloger-FXBZK55R.js → assetCataloger-SCLH2WAC.js} +9 -9
  7. package/dist/{audio-QYNPBNZQ.js → audio-JX76VDCY.js} +15 -15
  8. package/dist/{auth-2FBS4QC4.js → auth-TRE4ASYT.js} +2 -2
  9. package/dist/{autoUpdate-VFGRGQTO.js → autoUpdate-D5UUCIOR.js} +2 -2
  10. package/dist/{avatars-UVZFK2JR.js → avatars-26EUVWXR.js} +12 -12
  11. package/dist/{backgroundChecks-FN53YXTW.js → backgroundChecks-RM5GWZIW.js} +3 -3
  12. package/dist/backgroundChecksWorker.js +3 -3
  13. package/dist/{batchRender-JB3D6X7U.js → batchRender-5ZEQ6U4N.js} +5 -5
  14. package/dist/{beats-5BJMEGGA.js → beats-3YW7MGZY.js} +22 -14
  15. package/dist/{benchmark-MP4JGPYM.js → benchmark-MYQTWUO3.js} +10 -10
  16. package/dist/{billing-XSPWEAYT.js → billing-2X3JNNM4.js} +95 -19
  17. package/dist/{browser-V4EB7UNU.js → browser-CQSY36GL.js} +3 -3
  18. package/dist/bundleWithLocalizedFonts-Z6KCDBP2.js +23 -0
  19. package/dist/{capture-L5TGT4SW.js → capture-IK5GIWOS.js} +20 -23
  20. package/dist/{capture-SQHH4HBC.js → capture-NWBNWBIX.js} +3 -3
  21. package/dist/{captureCompositionFrame-BAYKFJMM.js → captureCompositionFrame-KR3PELMO.js} +13 -13
  22. package/dist/{catalog-OLP2O5W6.js → catalog-2Q73F42B.js} +16 -16
  23. package/dist/{catch-up-LJWHENVV.js → catch-up-JP3FL3FX.js} +4 -4
  24. package/dist/{check-KGAKP3H5.js → check-UIMXDUPK.js} +46 -46
  25. package/dist/{checkAudio-QWBAUBJ2.js → checkAudio-CSX4G35O.js} +12 -12
  26. package/dist/{checkBrowser-J5UUWIPK.js → checkBrowser-MTCJVJYJ.js} +39 -39
  27. package/dist/{chunk-5Z7YSZRF.js → chunk-2BDSLTEG.js} +9 -9
  28. package/dist/{chunk-NXQMN7YC.js → chunk-2L4HQ5K4.js} +1 -1
  29. package/dist/{chunk-SGLX72IQ.js → chunk-2NHPNI42.js} +10 -10
  30. package/dist/{chunk-2WGAXAM7.js → chunk-2OIONPKY.js} +3 -3
  31. package/dist/{chunk-MJEE2WSS.js → chunk-2SYOEZ2Z.js} +2 -2
  32. package/dist/{chunk-O4Q44I77.js → chunk-2YT656R2.js} +6 -6
  33. package/dist/{chunk-VIEMTLSI.js → chunk-35RZMUTX.js} +7 -7
  34. package/dist/{chunk-U7AB4D6T.js → chunk-3B7TDQEW.js} +3 -3
  35. package/dist/{bundleWithLocalizedFonts-Z23O7MZ3.js → chunk-3BHDAXDA.js} +4 -8
  36. package/dist/{chunk-BYWQQMTB.js → chunk-3CXUZSLE.js} +2 -2
  37. package/dist/{chunk-EP6GCDZ6.js → chunk-4MY6FPX4.js} +1 -1
  38. package/dist/{chunk-6U6KMYIV.js → chunk-4NE6CBMW.js} +1 -1
  39. package/dist/{chunk-N2SXD5EG.js → chunk-53UV2EUT.js} +3 -3
  40. package/dist/{chunk-AR6IO4RY.js → chunk-5ENBFVPD.js} +2 -2
  41. package/dist/{chunk-AW3XJY4S.js → chunk-6FDVPIOO.js} +1 -1
  42. package/dist/{chunk-NW5QHUZO.js → chunk-6FOO4QTU.js} +1 -1
  43. package/dist/{chunk-WCNUB6WU.js → chunk-6OSVMSGV.js} +9 -9
  44. package/dist/{chunk-XHY36WZF.js → chunk-6UM5C4R6.js} +2 -2
  45. package/dist/{chunk-SFS5BTQ3.js → chunk-6YPQSVVR.js} +1 -1
  46. package/dist/{chunk-AB6DKVKC.js → chunk-6ZRGEVAM.js} +85 -25
  47. package/dist/{chunk-2QMEP4LR.js → chunk-7AVR3VZE.js} +1 -1
  48. package/dist/{chunk-3BLPPIJA.js → chunk-7LQVFIO4.js} +4 -4
  49. package/dist/{chunk-4HGTJHKB.js → chunk-7NPHPQH5.js} +2 -2
  50. package/dist/{chunk-CLT3CJKG.js → chunk-AOJBIFKU.js} +1 -1
  51. package/dist/{chunk-MDMQD6BV.js → chunk-B6C33MNL.js} +41 -17
  52. package/dist/{chunk-QVW57TUW.js → chunk-BNUN7KXZ.js} +2 -2
  53. package/dist/{chunk-2YVIA2BX.js → chunk-BXCPOMS3.js} +9 -7
  54. package/dist/{chunk-H6FRRSHM.js → chunk-CMPHS5E6.js} +2 -2
  55. package/dist/{chunk-JHILL4BN.js → chunk-CUCP7FKH.js} +461 -1
  56. package/dist/{chunk-CKZVLS3K.js → chunk-CZ5NNJ6H.js} +50 -20
  57. package/dist/{chunk-F6PFZMQU.js → chunk-D3FZQL5R.js} +8 -8
  58. package/dist/{chunk-TX3JT67F.js → chunk-DD47NQJZ.js} +1 -1
  59. package/dist/{chunk-EQSUX64Q.js → chunk-DSIGJUNY.js} +1 -1
  60. package/dist/{chunk-ZPJVKYDL.js → chunk-DTU4XJNP.js} +3 -3
  61. package/dist/{chunk-BE7Y3PJZ.js → chunk-DTZSKJV5.js} +3 -3
  62. package/dist/{chunk-6PGTJG3M.js → chunk-DVJUBMS7.js} +1 -1
  63. package/dist/{chunk-KUXOAS4Z.js → chunk-DX4OFRBN.js} +41 -37
  64. package/dist/{chunk-Y3ICFPFK.js → chunk-EAO46VPT.js} +3 -3
  65. package/dist/{chunk-M6JFR7KF.js → chunk-EOCFNE53.js} +21 -32
  66. package/dist/{chunk-LTBBFLOM.js → chunk-FC2OXEBQ.js} +1 -1
  67. package/dist/{chunk-N43XGFAZ.js → chunk-FF3VKFCN.js} +126 -66
  68. package/dist/{chunk-WSZWPYRG.js → chunk-FQFWGAON.js} +2 -2
  69. package/dist/{chunk-OPOYDJEW.js → chunk-FZRTCVU6.js} +1 -1
  70. package/dist/{chunk-FJIN5OWZ.js → chunk-GY7D2OEQ.js} +2 -2
  71. package/dist/chunk-HNZ2FZIB.js +45 -0
  72. package/dist/{chunk-7S2LS53F.js → chunk-HVIQQCLM.js} +13 -13
  73. package/dist/{chunk-7WSL3PT3.js → chunk-HZSAOL5O.js} +2 -2
  74. package/dist/{chunk-UPI2MZ5L.js → chunk-I5PI43EI.js} +1 -1
  75. package/dist/{chunk-MGAGDEBC.js → chunk-IO3BC2ZK.js} +1 -1
  76. package/dist/{chunk-JGTJEQ5X.js → chunk-IPZ3QGDO.js} +2 -2
  77. package/dist/{chunk-GPHY5R35.js → chunk-K5CK4G75.js} +3 -3
  78. package/dist/{chunk-RBF3AF7R.js → chunk-L24GJQNZ.js} +16 -12
  79. package/dist/chunk-LSUM6RTW.js +20 -0
  80. package/dist/{chunk-KHF5WT6E.js → chunk-LZYXYJMX.js} +1 -1
  81. package/dist/{chunk-H4VII7WN.js → chunk-M34AOUVK.js} +5 -5
  82. package/dist/{chunk-ITDHT7AO.js → chunk-MWPPZOY5.js} +4 -4
  83. package/dist/{chunk-2IB3XVAR.js → chunk-MY2W7VWC.js} +14 -14
  84. package/dist/{chunk-W5AUD5OL.js → chunk-N7ZKI2CE.js} +5 -5
  85. package/dist/{chunk-3SZZLHHM.js → chunk-NBUPR3ZF.js} +1 -1
  86. package/dist/{chunk-YHID4CM3.js → chunk-NLEIM52W.js} +83 -21
  87. package/dist/{chunk-TBXV7O3Z.js → chunk-NWFIYKEI.js} +4 -4
  88. package/dist/{chunk-N7EA7GWU.js → chunk-O4ONYFY3.js} +1 -1
  89. package/dist/{chunk-AIK4ETUZ.js → chunk-O4ZD7TVR.js} +17 -1
  90. package/dist/{chunk-C2KEGBR3.js → chunk-OHQRQE7F.js} +1 -394
  91. package/dist/{chunk-ZMRRTWKP.js → chunk-PA27AW3Y.js} +1 -1
  92. package/dist/{chunk-YMP5FTA3.js → chunk-PCY67JUL.js} +303 -29
  93. package/dist/{chunk-RADODJYB.js → chunk-PYPW33ET.js} +2 -2
  94. package/dist/{chunk-C5VZTKW2.js → chunk-QSEHVJFA.js} +67 -211
  95. package/dist/{chunk-CPMTEWQM.js → chunk-RX2PFZ5W.js} +4 -4
  96. package/dist/{chunk-MBX3BHW3.js → chunk-SAAJ2O7A.js} +1 -1
  97. package/dist/{chunk-GAKRZZHQ.js → chunk-SQC4CTD2.js} +2 -2
  98. package/dist/{chunk-WGQW65DO.js → chunk-SSBAETRX.js} +5 -5
  99. package/dist/{chunk-LGVUQ4GC.js → chunk-T32JKZX3.js} +3 -3
  100. package/dist/{chunk-NR2W7HUH.js → chunk-T4FLVFQE.js} +1 -1
  101. package/dist/{chunk-KWGOABKQ.js → chunk-TESXTEV5.js} +1 -1
  102. package/dist/{chunk-2IATDUYU.js → chunk-TRK77R5G.js} +1 -1
  103. package/dist/{chunk-T5ZEMZ3K.js → chunk-TTBCQFRY.js} +2 -2
  104. package/dist/{chunk-7AMCGJDM.js → chunk-U22NZEQV.js} +1 -1
  105. package/dist/{chunk-2ASPXS4U.js → chunk-VD5G4Y6U.js} +1 -1
  106. package/dist/{chunk-RL52TNCM.js → chunk-W7ITBVJE.js} +2 -2
  107. package/dist/{chunk-SXAZR7M4.js → chunk-WAH2X7FF.js} +2 -2
  108. package/dist/{chunk-HTSVFS4G.js → chunk-WXYV47JX.js} +2 -2
  109. package/dist/{chunk-NWQFOHXF.js → chunk-WYXBJVM2.js} +1 -1
  110. package/dist/{chunk-SM4F4H3T.js → chunk-X46MRJYK.js} +1 -1
  111. package/dist/{chunk-EZCMP7NJ.js → chunk-XMOWL46H.js} +1 -1
  112. package/dist/{chunk-SFO4FLUG.js → chunk-YBR4L5JA.js} +1 -1
  113. package/dist/{chunk-7FMUTGOH.js → chunk-ZB2XGJSP.js} +152 -5
  114. package/dist/{chunk-7Z7SREEU.js → chunk-ZE2QZHUH.js} +1 -1
  115. package/dist/{chunk-RWQEWEOV.js → chunk-ZNHWAGMH.js} +1 -1
  116. package/dist/{chunk-NMYRVKIL.js → chunk-ZSAKJRZB.js} +5 -5
  117. package/dist/{chunk-472XCBCV.js → chunk-ZZBO3GF5.js} +2 -2
  118. package/dist/{clean-NNYMY7FD.js → clean-P3SZCIFU.js} +20 -20
  119. package/dist/cli.js +60 -60
  120. package/dist/{cloud-6FBCPI3B.js → cloud-G7YQIVI7.js} +4 -4
  121. package/dist/{cloudrun-D4V4TV6S.js → cloudrun-LXZT5UDK.js} +7 -7
  122. package/dist/{compare-J3JV4AZ3.js → compare-BHQHEOMX.js} +35 -35
  123. package/dist/{compiler-5ANBCHB7.js → compiler-V72QWKGC.js} +5 -5
  124. package/dist/{component-QFREWBT5.js → component-6GDCT3GK.js} +3 -3
  125. package/dist/{compositions-NUTRZGAZ.js → compositions-JM6HKCRF.js} +12 -12
  126. package/dist/{curve-LR4THVRF.js → curve-Y7JRXLIJ.js} +12 -12
  127. package/dist/{cuts-5WPLSRM2.js → cuts-LDVDQTRL.js} +13 -13
  128. package/dist/{delete-KLIVMSTG.js → delete-NCZIKWHU.js} +2 -2
  129. package/dist/{deploy-CDWKRTWY.js → deploy-R4OEJEB6.js} +5 -2
  130. package/dist/{describeProject-YJEOPIW7.js → describeProject-4GKZTYHA.js} +10 -10
  131. package/dist/{deterministicFonts-GQMT52JQ.js → deterministicFonts-HY5GWGQQ.js} +3 -3
  132. package/dist/{diff-KY6T2E32.js → diff-C53GPSNU.js} +42 -24
  133. package/dist/{dist-GUX66F7V.js → dist-R7SPMKEZ.js} +4 -4
  134. package/dist/{dist-TQKOMXXI.js → dist-TI44VPHO.js} +3 -3
  135. package/dist/{dist-GVCHAZJU.js → dist-TJZSSDR2.js} +13 -13
  136. package/dist/{doctor-HLG4AP3Q.js → doctor-V4RICWU2.js} +12 -12
  137. package/dist/{energy-3T3DDIEN.js → energy-S5Z7CGSB.js} +13 -13
  138. package/dist/{events-LB2RDZX3.js → events-6HROTYLC.js} +11 -3
  139. package/dist/{events-HZG5BWCQ.js → events-QKJE5XRN.js} +2 -2
  140. package/dist/{events-ZZNUYUCY.js → events-RAJGQK7Y.js} +14 -14
  141. package/dist/{extract-7STXIEDI.js → extract-RYGWEC5V.js} +13 -13
  142. package/dist/{face-3DWRLSWO.js → face-IWRDW2QO.js} +13 -13
  143. package/dist/{feedback-4V2HGHTZ.js → feedback-HQTDLLPE.js} +9 -9
  144. package/dist/{ffmpeg-5BWHEWVW.js → ffmpeg-BX334YEK.js} +8 -8
  145. package/dist/{figma-4SSCW6YU.js → figma-P6U76KGI.js} +3 -3
  146. package/dist/fontLocalizeCli.js +13 -13
  147. package/dist/{frames-V3OUCXX6.js → frames-G2WYTVWV.js} +14 -14
  148. package/dist/{generate-W4HW4MJQ.js → generate-ZUE2AVOB.js} +35 -16
  149. package/dist/{get-FXFV3VDQ.js → get-7C3UC46A.js} +2 -2
  150. package/dist/{gpuPolicy-X4BOE2HD.js → gpuPolicy-5ZVYYWXN.js} +8 -8
  151. package/dist/{grade-compare-PV62LISL.js → grade-compare-IS3OVI7R.js} +39 -39
  152. package/dist/{heifImagePrep-2K2I4SCP.js → heifImagePrep-FBLLKI3P.js} +9 -9
  153. package/dist/{help-R2ASMVJB.js → help-2MPB27YU.js} +1 -1
  154. package/dist/{history-X24EZSOO.js → history-Q5EBBFPW.js} +6 -6
  155. package/dist/hyperframe.manifest.json +1 -1
  156. package/dist/hyperframe.runtime.iife.js +7 -7
  157. package/dist/hyperframes-player.global.js +1 -1
  158. package/dist/{info-DJ6TZSEF.js → info-TNG5QGFC.js} +9 -9
  159. package/dist/{init-GQ2GRVQS.js → init-UFPBBWC7.js} +37 -32
  160. package/dist/{ink-L4VRIFJ7.js → ink-UTPJHGZR.js} +13 -13
  161. package/dist/{inspect-5IXDDOJN.js → inspect-KXKKPWKX.js} +37 -37
  162. package/dist/{installer-ZIBXFENP.js → installer-UTFXM6KP.js} +7 -7
  163. package/dist/{keyframes-ASFH5XYJ.js → keyframes-S6V36BW6.js} +6 -6
  164. package/dist/{lambda-ELYE5XIZ.js → lambda-XWHALRKM.js} +13 -13
  165. package/dist/{layout-NNGVQWY4.js → layout-SSVKZKCZ.js} +37 -37
  166. package/dist/{lint-GYJFRDI2.js → lint-OQWGRKG5.js} +9 -9
  167. package/dist/{lintProject-NGMRZDNT.js → lintProject-Z2TEXMY4.js} +3 -3
  168. package/dist/{list-UBFDCTVO.js → list-FYLBMEL7.js} +2 -2
  169. package/dist/{localPage-DHAVU3EM.js → localPage-4GSU6N3J.js} +8 -8
  170. package/dist/{login-OKJT7QWG.js → login-JKFCYHRS.js} +4 -4
  171. package/dist/{look-4GINLBBO.js → look-WQ2DOKXH.js} +13 -13
  172. package/dist/{manager-Q5X74T5D.js → manager-F4F4A734.js} +9 -9
  173. package/dist/{measure-LICRA4FH.js → measure-XIFLTAMC.js} +11 -11
  174. package/dist/{media-treatment-PM3WLJZ4.js → media-treatment-S3LHQSQQ.js} +16 -16
  175. package/dist/{media-use-NUORYIBQ.js → media-use-NFM3ZXCF.js} +3 -3
  176. package/dist/{models-V2XJYFY5.js → models-G4KNLV66.js} +12 -12
  177. package/dist/{motionShot-YBJB6L3C.js → motionShot-IJGA5CBH.js} +16 -16
  178. package/dist/{normalize-audio-LUAEDEUM.js → normalize-audio-UP54N6J4.js} +11 -11
  179. package/dist/{open-RTL2AU5C.js → open-TAEKCYDB.js} +16 -16
  180. package/dist/{parakeetRunner-FBEL64JM.js → parakeetRunner-WFA4K7BH.js} +13 -13
  181. package/dist/{pipeline-2VN2FDAL.js → pipeline-SNENB5MZ.js} +11 -11
  182. package/dist/{play-U3EXVEC7.js → play-QTYMY453.js} +27 -27
  183. package/dist/{preflight-Z3U5OGW3.js → preflight-CZUKW3CW.js} +9 -9
  184. package/dist/{present-NXEDFMC4.js → present-KVHQECWG.js} +19 -19
  185. package/dist/{preview-AUDJW3KE.js → preview-6U62DM4P.js} +24 -24
  186. package/dist/{probe-QQXAWDZG.js → probe-UCVL3JDC.js} +13 -13
  187. package/dist/{producer-DNWWPGFA.js → producer-A4RPG3XL.js} +1 -1
  188. package/dist/{projectConfig-FMXOJBJY.js → projectConfig-FIW6FPZW.js} +10 -10
  189. package/dist/{publication-K4XAMUI6.js → publication-CCIGDK2X.js} +4 -4
  190. package/dist/{publish-7HSXMQEF.js → publish-VKSABRA4.js} +18 -15
  191. package/dist/{remove-background-AIYMKXZW.js → remove-background-CJJ54SHA.js} +12 -12
  192. package/dist/{render-RMPWJTY4.js → render-2YY64XPU.js} +346 -64
  193. package/dist/{render-SAAQKFHE.js → render-G54RA46B.js} +202 -35
  194. package/dist/{render-FD7LHCCC.js → render-I2MWX5GH.js} +7 -7
  195. package/dist/{render-batch-WPHP27VT.js → render-batch-X562GNRH.js} +10 -10
  196. package/dist/renderSetupWorker.js +3 -3
  197. package/dist/{resolver-E7IHSWCQ.js → resolver-GC4ZLQPV.js} +7 -7
  198. package/dist/{reverse-GHX5LUSV.js → reverse-2KZQ65Y7.js} +1 -1
  199. package/dist/{sherpa-QQZMXXO5.js → sherpa-SLRKS4SR.js} +12 -12
  200. package/dist/skills/hyperframes/SKILL.md +3 -1
  201. package/dist/skills/hyperframes/references/format.md +1 -1
  202. package/dist/skills/hyperframes-cli/SKILL.md +2 -0
  203. package/dist/skills/media-use/SKILL.md +2 -0
  204. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +2 -2
  205. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +2 -2
  206. package/dist/{skills-WCXVUM6C.js → skills-SOXKW42T.js} +6 -6
  207. package/dist/{skillsUpdateCheck-PEVW2JO6.js → skillsUpdateCheck-4RUEBT6B.js} +3 -3
  208. package/dist/{snapshot-2ACZXDLZ.js → snapshot-KIWJWZGW.js} +48 -48
  209. package/dist/{src-WISBTYBV.js → src-ABVBEVVK.js} +12 -12
  210. package/dist/{src-DA2HOM3K.js → src-DYWF24IK.js} +7 -7
  211. package/dist/{start-DDOWW7K5.js → start-EADJCDST.js} +49 -27
  212. package/dist/{staticProjectServer-MQ7H4MGQ.js → staticProjectServer-UCHJYCR6.js} +24 -24
  213. package/dist/{status-74IZXJKQ.js → status-E4OUQSHN.js} +45 -2
  214. package/dist/studio/assets/{hyperframes-player-B2_9tPTr.js → hyperframes-player-CfYFgHV8.js} +1 -1
  215. package/dist/studio/assets/{index-DToBQdGg.js → index-COfhX0Gz.js} +4 -4
  216. package/dist/studio/assets/{index-BHe_y2lu.js → index-Cj5x3rVD.js} +1 -1
  217. package/dist/studio/index.html +1 -1
  218. package/dist/{studio-api-UABUZ3PZ.js → studio-api-RGOTUJXP.js} +13 -13
  219. package/dist/{studioServer-FGXZA75B.js → studioServer-72COILB5.js} +61 -61
  220. package/dist/{sync-AVGYYG4D.js → sync-5Z5OQFB3.js} +13 -13
  221. package/dist/{telemetry-7IM2NV22.js → telemetry-OQ2JM37Y.js} +3 -3
  222. package/dist/{templates-5CWKOSBX.js → templates-YH5CUHHN.js} +45 -2
  223. package/dist/{timeline-A7R54T7C.js → timeline-IWU2T2BX.js} +21 -21
  224. package/dist/{tokens-W6RQVKWV.js → tokens-F7IBDWGE.js} +2 -2
  225. package/dist/{transcribe-N2C2MYCG.js → transcribe-GL3J3JB3.js} +11 -11
  226. package/dist/{transcribe-GPOMREHS.js → transcribe-YXDOCF32.js} +32 -20
  227. package/dist/{update-X643YOPS.js → update-MR5NL567.js} +7 -7
  228. package/dist/{updateCheck-O7IUSOXN.js → updateCheck-ONT2ZVAF.js} +2 -2
  229. package/dist/{upgrade-6NWYJUFT.js → upgrade-BJEGLKQS.js} +3 -3
  230. package/dist/{urlDownloader-PFHIVGDF.js → urlDownloader-3PV5WURP.js} +7 -7
  231. package/dist/{validate-IIFU6OEG.js → validate-GTTWJYCS.js} +26 -26
  232. package/dist/{video-R6TSXZMN.js → video-VP6X6YL5.js} +9 -9
  233. package/dist/{voices-Y572PKNN.js → voices-3EO2NQ5Q.js} +33 -14
  234. package/dist/warmCheck.js +46 -46
  235. package/package.json +1 -1
  236. package/dist/chunk-TSCUYZ4B.js +0 -29
@@ -7,15 +7,15 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ambiguousIssue,
9
9
  loadBrowserScript
10
- } from "./chunk-5Z7YSZRF.js";
10
+ } from "./chunk-2BDSLTEG.js";
11
11
  import {
12
12
  auditClipDurations,
13
13
  shouldIgnoreHttpError,
14
14
  shouldIgnoreRequestFailure
15
- } from "./chunk-2IB3XVAR.js";
15
+ } from "./chunk-MY2W7VWC.js";
16
16
  import {
17
17
  serveStaticProjectHtml
18
- } from "./chunk-RBF3AF7R.js";
18
+ } from "./chunk-L24GJQNZ.js";
19
19
  import {
20
20
  AUDIT_SEEK_OPTIONS,
21
21
  DEFAULT_ZOOM_PADDING_PX,
@@ -29,17 +29,18 @@ import {
29
29
  seekCompositionTimeline,
30
30
  seekInPage,
31
31
  waitForPreferredSeekTarget
32
- } from "./chunk-WCNUB6WU.js";
32
+ } from "./chunk-6OSVMSGV.js";
33
33
  import {
34
- SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
34
+ SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
35
+ withRemainingBudget
35
36
  } from "./chunk-YGGZ23BB.js";
36
37
  import {
37
38
  findStageProxyBox
38
- } from "./chunk-LTBBFLOM.js";
39
+ } from "./chunk-FC2OXEBQ.js";
39
40
  import {
40
41
  STUDIO_PREVIEW_CAPTURE_MODE,
41
42
  STUDIO_PREVIEW_MARK_META
42
- } from "./chunk-7S2LS53F.js";
43
+ } from "./chunk-HVIQQCLM.js";
43
44
  import {
44
45
  artifactDirectory,
45
46
  finishSnapshotRun
@@ -49,28 +50,196 @@ import {
49
50
  decideMediaProxyEligibility,
50
51
  getProxyCachePath,
51
52
  proxyVariantFor,
53
+ proxyWindowSeconds,
52
54
  resolveProxies,
53
55
  scanProjectMediaCodecMap,
54
56
  shouldPrewarmProxy
55
- } from "./chunk-MDMQD6BV.js";
56
- import {
57
- resolveAutoProxy
58
- } from "./chunk-ZMRRTWKP.js";
57
+ } from "./chunk-B6C33MNL.js";
59
58
  import {
60
59
  BrowserCleanupError,
61
60
  closeManagedBrowser,
62
61
  onStopSignal
63
- } from "./chunk-7WSL3PT3.js";
62
+ } from "./chunk-HZSAOL5O.js";
63
+ import {
64
+ resolveAutoProxy
65
+ } from "./chunk-PA27AW3Y.js";
64
66
  import {
65
67
  DEFAULT_CONFIG
66
- } from "./chunk-AB6DKVKC.js";
68
+ } from "./chunk-6ZRGEVAM.js";
67
69
  import {
68
70
  injectTagsAtHeadStart
69
- } from "./chunk-Y3ICFPFK.js";
71
+ } from "./chunk-EAO46VPT.js";
72
+ import {
73
+ parseHTML
74
+ } from "./chunk-GWTIFRF5.js";
70
75
  import {
71
76
  normalizeErrorMessage
72
77
  } from "./chunk-E63BDV4Z.js";
73
78
 
79
+ // src/utils/checkDeadline.ts
80
+ var CHECK_IDLE_MS = 12e4;
81
+ var idleWindow = (timeoutMs) => Math.max(CHECK_IDLE_MS, timeoutMs + 1e4);
82
+ var SCRIPT_START = "[hyperframes:script:start] ";
83
+ var SCRIPT_FINISH = "[hyperframes:script:finish] ";
84
+ var PHASE_LABELS = {
85
+ copies: "making video copies",
86
+ launch: "starting Chrome",
87
+ load: "loading the page",
88
+ settle: "waiting for the page to be ready",
89
+ samples: "checking samples",
90
+ analysis: "analyzing the samples",
91
+ overlap: "running the overlap pass",
92
+ crops: "capturing finding crops",
93
+ frames: "capturing finding frames"
94
+ };
95
+ var BEFORE_DEADLINE = /* @__PURE__ */ new Set(["copies", "launch"]);
96
+ var CheckDeadlineError = class extends Error {
97
+ constructor(sourceFile, phases = "") {
98
+ super(
99
+ (sourceFile === void 0 ? "Check did not finish within its deadline" : `${sourceFile}: its script did not finish within the check deadline`) + (phases || ".")
100
+ );
101
+ this.sourceFile = sourceFile;
102
+ }
103
+ sourceFile;
104
+ };
105
+ var COPY_BUDGET_MS = 12e4;
106
+ var CheckCopiesUnfinishedError = class extends Error {
107
+ constructor(budgetMs, unfinished) {
108
+ super(
109
+ `Making browser-playable video copies took longer than ${budgetMs / 1e3} s: ${unfinished.join(", ")}. Finished pieces are kept. Run \`hyperframes check --prepare-media\` (no time limit) to finish them, then run check again.`
110
+ );
111
+ }
112
+ };
113
+ var CheckStoppedError = class extends Error {
114
+ constructor(signal) {
115
+ super(`Check stopped before finishing (${signal}).`);
116
+ }
117
+ };
118
+ var CheckDeadline = class {
119
+ constructor(idleMs = CHECK_IDLE_MS) {
120
+ this.idleMs = idleMs;
121
+ this.expiry = new Promise((_, reject) => {
122
+ this.rejectExpiry = reject;
123
+ });
124
+ }
125
+ idleMs;
126
+ abort = new AbortController();
127
+ operations = /* @__PURE__ */ new Set();
128
+ signal = this.abort.signal;
129
+ browsers = /* @__PURE__ */ new Set();
130
+ scripts = [];
131
+ expired;
132
+ timer;
133
+ expiry;
134
+ rejectExpiry;
135
+ phase = "waiting";
136
+ work;
137
+ spent = /* @__PURE__ */ new Map();
138
+ partials = [];
139
+ keepPartial = (read) => {
140
+ this.partials.push(read);
141
+ };
142
+ partialResult() {
143
+ return Object.assign({}, ...this.partials.map((read) => read()));
144
+ }
145
+ enter = (phase, detail) => {
146
+ if (this.expired) return;
147
+ const now = Date.now();
148
+ if (this.work) this.spend(this.work.phase, now - this.work.since);
149
+ this.work = { phase, since: now, detail };
150
+ this.spend(phase, 0);
151
+ this.rearm();
152
+ };
153
+ spend(phase, ms) {
154
+ this.spent.set(phase, (this.spent.get(phase) ?? 0) + ms);
155
+ }
156
+ describe() {
157
+ if (!this.work) return "";
158
+ const open = Date.now() - this.work.since;
159
+ const parts = [...this.spent].map(([phase, ms]) => {
160
+ const seconds = ((phase === this.work?.phase ? ms + open : ms) / 1e3).toFixed(1);
161
+ return `${PHASE_LABELS[phase]} ${seconds}${BEFORE_DEADLINE.has(phase) ? " (before the deadline)" : ""}`;
162
+ });
163
+ return ` (no progress for ${this.idleMs / 1e3} s after Chrome was ready), while ${PHASE_LABELS[this.work.phase]}${this.work.detail ? ` (${this.work.detail})` : ""}. Seconds per phase: ${parts.join(", ")}.`;
164
+ }
165
+ start = () => {
166
+ if (this.phase !== "waiting") return;
167
+ this.phase = "started";
168
+ this.enter("load");
169
+ };
170
+ rearm() {
171
+ if (this.phase !== "started" || this.expired) return;
172
+ clearTimeout(this.timer);
173
+ this.timer = setTimeout(
174
+ () => this.expire(new CheckDeadlineError(this.scripts.at(-1), this.describe())),
175
+ this.idleMs
176
+ );
177
+ }
178
+ expire(error) {
179
+ clearTimeout(this.timer);
180
+ this.expired = error;
181
+ this.rejectExpiry(error);
182
+ this.abort.abort(error);
183
+ }
184
+ stop = (signal) => {
185
+ if (this.expired || this.phase === "closed") return;
186
+ this.expire(new CheckStoppedError(signal));
187
+ };
188
+ ownBrowser = (browser) => {
189
+ if (this.expired) throw this.expired;
190
+ if (this.phase === "closed") throw new Error("Check has already finished.");
191
+ this.browsers.add(browser);
192
+ };
193
+ async preparePage(page) {
194
+ page.on("console", (message) => {
195
+ const text = message.text();
196
+ if (text.startsWith(SCRIPT_START)) this.scripts.push(text.slice(SCRIPT_START.length));
197
+ if (text.startsWith(SCRIPT_FINISH)) {
198
+ const index = this.scripts.lastIndexOf(text.slice(SCRIPT_FINISH.length));
199
+ if (index !== -1) this.scripts.splice(index, 1);
200
+ }
201
+ });
202
+ await page.evaluateOnNewDocument(
203
+ (start, finish) => {
204
+ Reflect.set(window, "__hfScriptState", (phase, source) => {
205
+ console.debug((phase === "start" ? start : finish) + source);
206
+ });
207
+ },
208
+ SCRIPT_START,
209
+ SCRIPT_FINISH
210
+ );
211
+ }
212
+ run(operation) {
213
+ if (this.expired) return Promise.reject(this.expired);
214
+ const pending = operation();
215
+ this.operations.add(pending);
216
+ const settled = () => this.rearm();
217
+ pending.then(settled, settled);
218
+ return Promise.race([pending, this.expiry]);
219
+ }
220
+ async close() {
221
+ this.phase = "closed";
222
+ clearTimeout(this.timer);
223
+ const closes = await Promise.allSettled([...this.browsers].map(closeManagedBrowser));
224
+ const errors = closes.filter((entry) => entry.status === "rejected").map((entry) => entry.reason);
225
+ try {
226
+ const drained = await withRemainingBudget(
227
+ Promise.allSettled(this.operations),
228
+ 1e3,
229
+ "draining check cleanup"
230
+ );
231
+ for (const entry of drained) {
232
+ if (entry.status === "rejected" && entry.reason instanceof BrowserCleanupError)
233
+ errors.push(entry.reason);
234
+ }
235
+ } catch (error) {
236
+ errors.push(error);
237
+ }
238
+ if (errors.length > 0)
239
+ throw new BrowserCleanupError(errors, errors.map(normalizeErrorMessage).join("; "));
240
+ }
241
+ };
242
+
74
243
  // src/utils/checkProgress.ts
75
244
  function logCheckProgress(stage, done, total) {
76
245
  console.error(`[hyperframes] check: ${stage} ${done}/${total}`);
@@ -456,6 +625,46 @@ function readContrastMotion() {
456
625
  );
457
626
  }
458
627
 
628
+ // src/utils/mediaUsedSeconds.ts
629
+ var number = (value) => {
630
+ const parsed = Number(value);
631
+ return value !== null && value !== void 0 && value.trim() !== "" && Number.isFinite(parsed) ? parsed : void 0;
632
+ };
633
+ function pathnameOf(src) {
634
+ const bare = src.replace(/[?#].*$/, "").replace(/^\.\//, "").replace(/^\/+/, "");
635
+ try {
636
+ return `/${decodeURIComponent(bare)}`;
637
+ } catch {
638
+ return `/${bare}`;
639
+ }
640
+ }
641
+ function plannedDuration(video) {
642
+ for (let node = video; node; node = node.parentElement) {
643
+ const duration = number(node.getAttribute("data-duration"));
644
+ if (duration !== void 0) return duration;
645
+ }
646
+ return void 0;
647
+ }
648
+ function mediaUsedSeconds(html) {
649
+ const { document: document2 } = parseHTML(html);
650
+ const used = /* @__PURE__ */ new Map();
651
+ const whole = /* @__PURE__ */ new Set();
652
+ for (const element of document2.querySelectorAll("[src]")) {
653
+ const pathname = pathnameOf(element.getAttribute("src") ?? "");
654
+ const video = element.tagName === "VIDEO" ? element : null;
655
+ const duration = video ? plannedDuration(video) : void 0;
656
+ if (!video || duration === void 0 || video.hasAttribute("loop")) {
657
+ whole.add(pathname);
658
+ continue;
659
+ }
660
+ const rate = Math.max(1, number(video.getAttribute("data-playback-rate")) ?? 1);
661
+ const offset = (number(video.getAttribute("data-media-start")) ?? 0) + (number(video.getAttribute("data-playback-start")) ?? 0);
662
+ used.set(pathname, Math.max(used.get(pathname) ?? 0, offset + duration * rate));
663
+ }
664
+ for (const pathname of whole) used.delete(pathname);
665
+ return used;
666
+ }
667
+
459
668
  // src/utils/checkTypes.ts
460
669
  function rectToBbox(rect) {
461
670
  return { x: rect.left, y: rect.top, width: rect.width, height: rect.height };
@@ -471,6 +680,7 @@ function elapsedText(ms) {
471
680
  function startCopyHeartbeat(sources, cached) {
472
681
  const startedAt = Date.now();
473
682
  const latest = /* @__PURE__ */ new Map();
683
+ const last = /* @__PURE__ */ new Map();
474
684
  const total = cached.filter((isCached) => !isCached).length;
475
685
  let finished = 0;
476
686
  const timer = setInterval(() => {
@@ -484,7 +694,14 @@ function startCopyHeartbeat(sources, cached) {
484
694
  }, COPY_HEARTBEAT_MS);
485
695
  timer.unref();
486
696
  return {
487
- progress: (index, progress) => void latest.set(index, progress),
697
+ progress: (index, progress) => {
698
+ latest.set(index, progress);
699
+ last.set(index, progress);
700
+ },
701
+ percent: (index) => {
702
+ const { doneSeconds = 0, totalSeconds } = last.get(index) ?? {};
703
+ return totalSeconds ? `${Math.min(100, Math.floor(doneSeconds / totalSeconds * 100))}%` : "not started";
704
+ },
488
705
  settled: (index) => {
489
706
  latest.delete(index);
490
707
  if (!cached[index]) finished += 1;
@@ -492,8 +709,27 @@ function startCopyHeartbeat(sources, cached) {
492
709
  stop: () => clearInterval(timer)
493
710
  };
494
711
  }
495
- async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride) {
496
- const none = { findings: [], failedPaths: /* @__PURE__ */ new Set(), files: [] };
712
+ async function copyWindows(projectDir, html, pathnames) {
713
+ const used = mediaUsedSeconds(html);
714
+ const windows = /* @__PURE__ */ new Map();
715
+ await Promise.all(
716
+ [...pathnames].map(async (pathname) => {
717
+ const seconds = used.get(pathname);
718
+ if (seconds === void 0) return;
719
+ const sourcePath = resolve2(projectDir, pathname.replace(/^\/+/, ""));
720
+ const window2 = await proxyWindowSeconds(sourcePath, seconds);
721
+ if (window2 !== void 0) windows.set(sourcePath, window2);
722
+ })
723
+ );
724
+ return windows;
725
+ }
726
+ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride, budgetMs) {
727
+ const none = {
728
+ findings: [],
729
+ failedPaths: /* @__PURE__ */ new Set(),
730
+ files: [],
731
+ limits: /* @__PURE__ */ new Map()
732
+ };
497
733
  if (!resolveAutoProxy(projectDir, autoProxyOverride)) return none;
498
734
  let codecMap;
499
735
  try {
@@ -520,6 +756,12 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
520
756
  box: stageBox
521
757
  };
522
758
  });
759
+ const windows = mediaUsedSeconds(html).size > 0 ? await copyWindows(
760
+ projectDir,
761
+ html,
762
+ sources.map(({ pathname }) => pathname)
763
+ ) : /* @__PURE__ */ new Map();
764
+ for (const source of sources) source.limitSeconds = windows.get(source.sourcePath);
523
765
  const total = hostileEntries.length;
524
766
  const cached = sources.map((source) => proxyCached(projectDir, source));
525
767
  const toMake = cached.filter((isCached) => !isCached).length;
@@ -532,6 +774,11 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
532
774
  const heartbeat = startCopyHeartbeat(sources, cached);
533
775
  const stopped = new AbortController();
534
776
  const forgetStop = onStopSignal(() => stopped.abort());
777
+ let overBudget;
778
+ const budget = budgetMs === void 0 ? void 0 : setTimeout(() => {
779
+ overBudget = budgetMs;
780
+ stopped.abort();
781
+ }, budgetMs);
535
782
  const results = await resolveProxies(
536
783
  projectDir,
537
784
  sources,
@@ -545,7 +792,14 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
545
792
  ).finally(() => {
546
793
  heartbeat.stop();
547
794
  forgetStop();
795
+ clearTimeout(budget);
548
796
  });
797
+ const unfinished = sources.flatMap(
798
+ ({ file }, index) => results[index].status === "rejected" ? [`${file} ${heartbeat.percent(index)}`] : []
799
+ );
800
+ if (overBudget !== void 0 && unfinished.length > 0) {
801
+ throw new CheckCopiesUnfinishedError(overBudget, unfinished);
802
+ }
549
803
  const failures = sources.flatMap((source, index) => {
550
804
  const result = results[index];
551
805
  return result.status === "rejected" ? [{ ...source, reason: result.reason }] : [];
@@ -573,11 +827,24 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
573
827
  }
574
828
  return { file, state: cached[index] ? "cached" : "ready" };
575
829
  });
576
- return { findings, failedPaths: new Set(failures.map(({ pathname }) => pathname)), files };
830
+ return {
831
+ findings,
832
+ failedPaths: new Set(failures.map(({ pathname }) => pathname)),
833
+ files,
834
+ limits: windows
835
+ };
577
836
  }
578
837
  function proxyCached(projectDir, source) {
579
838
  try {
580
- return existsSync(getProxyCachePath(projectDir, source.sourcePath, source.variant, source.box));
839
+ return existsSync(
840
+ getProxyCachePath(
841
+ projectDir,
842
+ source.sourcePath,
843
+ source.variant,
844
+ source.box,
845
+ source.limitSeconds
846
+ )
847
+ );
581
848
  } catch {
582
849
  return false;
583
850
  }
@@ -586,7 +853,7 @@ function proxyFailedDraft(message) {
586
853
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
587
854
  }
588
855
  async function loadCheckHtmlWithDeferredMedia(dir) {
589
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Z23O7MZ3.js");
856
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Z6KCDBP2.js");
590
857
  return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
591
858
  }
592
859
  function withCapturePreviewMark(html) {
@@ -598,18 +865,19 @@ function withCapturePreviewMark(html) {
598
865
  async function runBrowserCheck(project, options, motion, runGrid, deadline, prelaunched) {
599
866
  const html = await loadCheckHtmlWithDeferredMedia(project.dir);
600
867
  deadline?.enter("copies");
601
- const { findings: drafts, failedPaths } = await preResolveHostileMediaProxies(
602
- project.dir,
603
- html,
604
- options.autoProxy
605
- );
868
+ const {
869
+ findings: drafts,
870
+ failedPaths,
871
+ limits
872
+ } = await preResolveHostileMediaProxies(project.dir, html, options.autoProxy, COPY_BUDGET_MS);
606
873
  deadline?.enter("launch");
607
874
  const server = await serveStaticProjectHtml(
608
875
  project.dir,
609
876
  html,
610
877
  "Failed to bind check server",
611
878
  [],
612
- options.autoProxy
879
+ options.autoProxy,
880
+ limits
613
881
  );
614
882
  const clock = createRuntimeClock();
615
883
  let failure = { kind: "none" };
@@ -648,7 +916,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
648
916
  ).map((draft) => runtimeFinding(draft, rootAnchor))
649
917
  }));
650
918
  const launchSettleMs = Date.now() - launchSettleStart;
651
- const { analyzeClipMediaFit } = await import("./src-DA2HOM3K.js");
919
+ const { analyzeClipMediaFit } = await import("./src-DYWF24IK.js");
652
920
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
653
921
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
654
922
  }
@@ -789,7 +1057,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
789
1057
  async function captureFindingFrames(project, options, requests, deadline) {
790
1058
  if (requests.length === 0) return { written: [], inspected: [] };
791
1059
  const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
792
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Z23O7MZ3.js");
1060
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Z6KCDBP2.js");
793
1061
  return withCapturePreviewMark(
794
1062
  await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
795
1063
  );
@@ -831,7 +1099,8 @@ async function withFindingCapturePage(project, options, deadline, what, capture,
831
1099
  html,
832
1100
  "Failed to bind check server",
833
1101
  [],
834
- options.autoProxy
1102
+ options.autoProxy,
1103
+ await copyWindows(project.dir, html, mediaUsedSeconds(html).keys())
835
1104
  );
836
1105
  let chromeBrowser;
837
1106
  let failure = { kind: "none" };
@@ -2090,6 +2359,11 @@ function matchComponentFindings({
2090
2359
  }
2091
2360
 
2092
2361
  export {
2362
+ idleWindow,
2363
+ CheckDeadlineError,
2364
+ CheckCopiesUnfinishedError,
2365
+ CheckStoppedError,
2366
+ CheckDeadline,
2093
2367
  beginCheckSnapshots,
2094
2368
  checkSnapshotDirectory,
2095
2369
  finishCheckSnapshots,
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCuts
9
- } from "./chunk-6PGTJG3M.js";
9
+ } from "./chunk-DVJUBMS7.js";
10
10
  import {
11
11
  grey,
12
12
  readClip,
13
13
  round,
14
14
  videoClip,
15
15
  writeImage
16
- } from "./chunk-NR2W7HUH.js";
16
+ } from "./chunk-T4FLVFQE.js";
17
17
 
18
18
  // src/measure/events.ts
19
19
  var EVENT_W = 160;