hyperframes 0.9.15 → 0.9.17

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 (284) hide show
  1. package/README.md +12 -2
  2. package/dist/{add-S3QTEUUZ.js → add-VZQBLSRT.js} +16 -15
  3. package/dist/{agentPromptGenerator-7FNPHUHJ.js → agentPromptGenerator-TGXEQHN3.js} +7 -9
  4. package/dist/{animatedGifPrep-NFT2NCNX.js → animatedGifPrep-25YV72PG.js} +7 -9
  5. package/dist/api.js +37 -38
  6. package/dist/{appHistory-BCWH6XYH.js → appHistory-WXJ4STHX.js} +2 -1
  7. package/dist/{asset-2BBOP7JZ.js → asset-UNDSQLEP.js} +2 -2
  8. package/dist/{assetCataloger-IY3XEIOP.js → assetCataloger-7RUWILYE.js} +9 -11
  9. package/dist/{audio-QJUSICGQ.js → audio-5O25WHIY.js} +22 -23
  10. package/dist/{auth-VDFPA4VH.js → auth-6JG6SMSP.js} +4 -4
  11. package/dist/{autoUpdate-XUQK5WGH.js → autoUpdate-YIRRNQ6V.js} +25 -16
  12. package/dist/{avatars-KCRRY6FB.js → avatars-YE2WC2TM.js} +16 -17
  13. package/dist/{backgroundChecks-QAR4J3EA.js → backgroundChecks-A7TYPXRD.js} +5 -4
  14. package/dist/backgroundChecksWorker.js +5 -4
  15. package/dist/{batchRender-IHSCRPWL.js → batchRender-EX5TDMP3.js} +5 -4
  16. package/dist/{beats-KHLBORQV.js → beats-F3AZFVZG.js} +11 -12
  17. package/dist/{benchmark-7OK27YVS.js → benchmark-ZBLLJL5C.js} +11 -11
  18. package/dist/{billing-CZWTUT4T.js → billing-MUTW7EEI.js} +80 -37
  19. package/dist/{browser-R4ZG7RVY.js → browser-BRIP2ZMX.js} +8 -7
  20. package/dist/{bundleWithLocalizedFonts-F3TAMJ2J.js → bundleWithLocalizedFonts-F557ZVFL.js} +1 -1
  21. package/dist/{capture-2TL7VL2K.js → capture-6TRISPA2.js} +17 -19
  22. package/dist/{capture-LRBDPPKP.js → capture-GSJVFS7R.js} +3 -3
  23. package/dist/{captureCompositionFrame-2XH2Z4RY.js → captureCompositionFrame-YRZVOCTO.js} +13 -15
  24. package/dist/{catalog-PTVMH3GV.js → catalog-5HJJNBFM.js} +24 -22
  25. package/dist/{catch-up-WRIIXOZE.js → catch-up-AQ5TFCAH.js} +9 -7
  26. package/dist/{check-XHB7IC3B.js → check-TYBSHODD.js} +46 -47
  27. package/dist/{checkAudio-LETXIMCO.js → checkAudio-LDSIWNQL.js} +10 -12
  28. package/dist/{checkBrowser-YHD3NILB.js → checkBrowser-7CFHX4VU.js} +37 -38
  29. package/dist/{chunk-6QP3ZSJN.js → chunk-2UJSYHED.js} +1 -1
  30. package/dist/{chunk-5G5YR4P3.js → chunk-3IMHFJDG.js} +30 -19
  31. package/dist/{chunk-US4BCRYB.js → chunk-3L2POG2J.js} +23 -1
  32. package/dist/{chunk-QBDOEJX2.js → chunk-426GU4YI.js} +1007 -643
  33. package/dist/{chunk-72K35GRP.js → chunk-4R63FXGU.js} +15 -5
  34. package/dist/{chunk-Q3IYSP4G.js → chunk-4TW62PDH.js} +17 -8
  35. package/dist/{chunk-44HJCTWN.js → chunk-64RLXCUT.js} +6 -3
  36. package/dist/{chunk-OO6AETRF.js → chunk-6DX4URUB.js} +1 -1
  37. package/dist/{chunk-AWV4F5TS.js → chunk-6OBCXHIF.js} +4 -4
  38. package/dist/{chunk-X5FSMQEJ.js → chunk-6RPKPL22.js} +1 -1
  39. package/dist/{chunk-7YCF2F5M.js → chunk-77E2UIIR.js} +1 -1
  40. package/dist/{chunk-QNE3NJO5.js → chunk-7BJQ4R4F.js} +3 -3
  41. package/dist/{chunk-UXS7VE75.js → chunk-7PZLR2JZ.js} +1 -1
  42. package/dist/{chunk-7WAEV3OM.js → chunk-AII4BFKZ.js} +2 -2
  43. package/dist/{chunk-EWAPC74T.js → chunk-ATTDG6NR.js} +1 -1
  44. package/dist/{chunk-UWZ2OIWM.js → chunk-AZO2YY3U.js} +1 -1
  45. package/dist/{chunk-QK4HTIXK.js → chunk-BIY3M2WW.js} +11 -11
  46. package/dist/{chunk-IL5CYE3O.js → chunk-C67RYYGK.js} +5 -5
  47. package/dist/{chunk-KIGPWWIE.js → chunk-C6MYVPHX.js} +1 -1
  48. package/dist/{chunk-CKEOCCMK.js → chunk-CMQZP52Y.js} +22 -18
  49. package/dist/{chunk-V5UBOBEG.js → chunk-CXSJ6H5Q.js} +3 -3
  50. package/dist/{chunk-YEE4A3IV.js → chunk-DEI35LJT.js} +2 -2
  51. package/dist/{chunk-XD7LQWTU.js → chunk-DLTSPBI7.js} +2 -2
  52. package/dist/{chunk-OMOBWXJL.js → chunk-DVKZ55DS.js} +2 -2
  53. package/dist/{chunk-UCQ7ZF47.js → chunk-E5FLGIV3.js} +2 -2
  54. package/dist/{chunk-UWB44MM4.js → chunk-ENJ3M6OM.js} +2 -2
  55. package/dist/{chunk-EOCFNE53.js → chunk-ENVFGBRD.js} +1 -1
  56. package/dist/chunk-EXA6R6SW.js +24 -0
  57. package/dist/{chunk-TNTQ7H24.js → chunk-GDQQ4U3L.js} +75 -9
  58. package/dist/{chunk-XQ26I3PL.js → chunk-GKLZMLX3.js} +4 -2
  59. package/dist/{chunk-KJSCMUST.js → chunk-GQORIM44.js} +14 -14
  60. package/dist/chunk-GR2E54E6.js +31 -0
  61. package/dist/{chunk-WM7JSUK2.js → chunk-HUCRKZ6J.js} +7 -7
  62. package/dist/{chunk-DJTC4NK7.js → chunk-HUZ3GL3F.js} +87 -5
  63. package/dist/{chunk-RL5VZ4Y2.js → chunk-I4BH3ASB.js} +1 -1
  64. package/dist/{chunk-76GLTXI5.js → chunk-IIXZLGSI.js} +5 -5
  65. package/dist/chunk-IN3ZKLLQ.js +59 -0
  66. package/dist/{chunk-Q5QMH5QA.js → chunk-IQL7NJSE.js} +1 -1
  67. package/dist/{chunk-BY7PZB6H.js → chunk-J3QW55W5.js} +2 -2
  68. package/dist/{chunk-WE6SM4HJ.js → chunk-JEPV6WOW.js} +2 -2
  69. package/dist/{chunk-766MOTIZ.js → chunk-JOQR4AP6.js} +5 -1
  70. package/dist/{chunk-JMUHTEAS.js → chunk-JSCY2GUB.js} +42 -27
  71. package/dist/{chunk-PMVFBCE5.js → chunk-JU2XCDW5.js} +2 -2
  72. package/dist/{chunk-AKE744C5.js → chunk-JWORQ5WQ.js} +5 -1
  73. package/dist/{chunk-NB2AEFNM.js → chunk-KE6NXX45.js} +62 -19
  74. package/dist/{chunk-LQ74BSBR.js → chunk-KEZSFOSN.js} +2 -2
  75. package/dist/{chunk-MB2NPHAS.js → chunk-KVANP54U.js} +1 -1
  76. package/dist/{chunk-ZFZXGZTX.js → chunk-L24NAUBS.js} +1 -1
  77. package/dist/{chunk-DCLZEI2C.js → chunk-L3HCPZZT.js} +32 -33
  78. package/dist/{chunk-BRHSN2TH.js → chunk-L5EM7KAY.js} +2 -2
  79. package/dist/{chunk-422TEJIX.js → chunk-LHQZYLVO.js} +7 -7
  80. package/dist/{chunk-BVAPHHMQ.js → chunk-LP7B3JLC.js} +4 -2
  81. package/dist/{chunk-MYQ4NH3E.js → chunk-LV3MNSL7.js} +1 -1
  82. package/dist/{chunk-IODESAJT.js → chunk-LV7BDQ5X.js} +1 -1
  83. package/dist/{chunk-FBQKUBMD.js → chunk-M4HDVKHG.js} +2 -2
  84. package/dist/{chunk-XRKQJADF.js → chunk-M6F4HXMW.js} +3 -3
  85. package/dist/{chunk-6KZAQHWH.js → chunk-M6FS7TNN.js} +3 -3
  86. package/dist/{chunk-TABWG4IT.js → chunk-M7VAMZQW.js} +18 -11
  87. package/dist/{chunk-P77AJDIN.js → chunk-MB7VK7MW.js} +3 -3
  88. package/dist/{chunk-76AJS2LI.js → chunk-MDZANX4P.js} +9 -3
  89. package/dist/{chunk-RLPTQF5E.js → chunk-MJFEHOGJ.js} +2 -2
  90. package/dist/{chunk-XLNV66JK.js → chunk-MLBH6KJL.js} +1 -1
  91. package/dist/{chunk-ZFDKOTN4.js → chunk-MZI62LS2.js} +45 -27
  92. package/dist/{chunk-RXFKSZN2.js → chunk-N6E2T3JY.js} +1 -1
  93. package/dist/{chunk-SUFHFBNO.js → chunk-N6YQHI3Z.js} +2 -2
  94. package/dist/{chunk-5UT3R43E.js → chunk-NL4RCLQF.js} +1 -1
  95. package/dist/{chunk-ATRSQXUV.js → chunk-NMQWKWV4.js} +71 -18
  96. package/dist/{chunk-XWFPP6LC.js → chunk-NO2YYTAK.js} +2 -2
  97. package/dist/{chunk-TRA75UKG.js → chunk-NQZQZY4B.js} +3 -3
  98. package/dist/{chunk-CZ5NNJ6H.js → chunk-NTMMUK6Q.js} +115 -69
  99. package/dist/{chunk-Z6AERD5Q.js → chunk-NV7IMBP7.js} +1 -1
  100. package/dist/{chunk-D3B76FBE.js → chunk-O6757ZOW.js} +5 -5
  101. package/dist/{chunk-OWZAG6N4.js → chunk-O7SPZE7M.js} +1 -1
  102. package/dist/{chunk-MRJRAAB2.js → chunk-OE347X32.js} +3 -3
  103. package/dist/{chunk-3YIOLQ2Y.js → chunk-OKPASJ5P.js} +5 -5
  104. package/dist/{chunk-GPLINKEE.js → chunk-OYNHNQ3E.js} +7 -7
  105. package/dist/{chunk-CHRHMT6W.js → chunk-OYXGIP35.js} +6 -6
  106. package/dist/{chunk-MT2Z5YBM.js → chunk-P7DCQJ6N.js} +1 -1
  107. package/dist/{chunk-6P2ZRIKN.js → chunk-PHJNYHGA.js} +1 -1
  108. package/dist/{chunk-4VYPICIA.js → chunk-PJEXCOCR.js} +12 -4
  109. package/dist/{chunk-6KQHLLKI.js → chunk-PVDBALBI.js} +7 -7
  110. package/dist/{chunk-SIAPGZ4S.js → chunk-QR7666XO.js} +4 -4
  111. package/dist/{chunk-HXQO2Q6T.js → chunk-RPLMK4WC.js} +1 -1
  112. package/dist/{chunk-HQOJ5ZBI.js → chunk-SKOBUO2F.js} +3 -3
  113. package/dist/{chunk-HCTHKNMZ.js → chunk-SVPRFL7O.js} +1 -1
  114. package/dist/{chunk-SM4DG7SR.js → chunk-SZLKWUHN.js} +3 -3
  115. package/dist/{chunk-SUCTCDDY.js → chunk-TBXNHLRL.js} +8 -5
  116. package/dist/{chunk-B3CSMKM7.js → chunk-TJUJJYJC.js} +1 -1
  117. package/dist/{chunk-HNZ2FZIB.js → chunk-TTCNUS5M.js} +3 -3
  118. package/dist/{chunk-AQZZLJY7.js → chunk-UE2RAXA7.js} +2 -2
  119. package/dist/{chunk-CIWX5UKC.js → chunk-UQXBGFKU.js} +14 -5
  120. package/dist/{chunk-XLPCBE2Q.js → chunk-US2SO6O4.js} +1 -1
  121. package/dist/{chunk-G7XKDDWE.js → chunk-UURC7DFD.js} +1 -1
  122. package/dist/{chunk-FU5TXQAN.js → chunk-UYMUPV7Q.js} +11 -11
  123. package/dist/chunk-VBEP277H.js +5035 -0
  124. package/dist/{chunk-AVOYOW2Y.js → chunk-VFGKM45X.js} +1 -1
  125. package/dist/{chunk-5UXMG5CM.js → chunk-VMWRWUDV.js} +1 -1
  126. package/dist/{chunk-2VYQ62PP.js → chunk-VR7E3QEQ.js} +9 -3
  127. package/dist/{chunk-DTWIC6JZ.js → chunk-VTQ6LSSX.js} +2 -2
  128. package/dist/{chunk-N4KVW3ZI.js → chunk-WEW22B4F.js} +4 -4
  129. package/dist/{chunk-7X3UDKJK.js → chunk-WMRHEI4N.js} +2 -2
  130. package/dist/{chunk-G4L4JU4I.js → chunk-WODNT4NL.js} +2 -2
  131. package/dist/{chunk-W7ITBVJE.js → chunk-X2TDLUIK.js} +16 -21
  132. package/dist/{chunk-4VOK4IOF.js → chunk-XBJNA2O5.js} +26 -9
  133. package/dist/{chunk-6CXFFUL5.js → chunk-XCF72IZY.js} +2 -2
  134. package/dist/{chunk-TMAFZJAP.js → chunk-XZRMB5Q7.js} +8 -8
  135. package/dist/{chunk-3CHUQRFX.js → chunk-ZAJSIWIC.js} +1 -1
  136. package/dist/{chunk-4W5NIHYU.js → chunk-ZMG7COPL.js} +1 -1
  137. package/dist/{chunk-V2BRRTED.js → chunk-ZO74SCFC.js} +16 -9
  138. package/dist/{clean-F7Y2JBO5.js → clean-RCXP7VIE.js} +22 -23
  139. package/dist/cli.js +81 -72
  140. package/dist/{cloud-RFM3PYTR.js → cloud-D3WTNTF2.js} +5 -4
  141. package/dist/{cloud-SQSYDRCJ.js → cloud-UMR6YM53.js} +4 -4
  142. package/dist/{cloudrun-3NSTX3CE.js → cloudrun-WNFJ6HDK.js} +10 -8
  143. package/dist/commands/contrast-audit.browser.js +50 -14
  144. package/dist/commands/motion-signature.browser.js +8 -1
  145. package/dist/{compare-J2K3SBGQ.js → compare-4DOTZFJB.js} +36 -37
  146. package/dist/{compiler-DMRQ44TO.js → compiler-QZAK3CQM.js} +3 -4
  147. package/dist/{component-FDWARSYD.js → component-JUNJ3HR5.js} +3 -3
  148. package/dist/{compositions-CVCE2GJN.js → compositions-Y4TVCT6A.js} +15 -17
  149. package/dist/{contactSheet-RJTY6IIV.js → contactSheet-RWRMLRZI.js} +3 -3
  150. package/dist/{curve-C7MZIWFU.js → curve-MRBPVFJR.js} +13 -14
  151. package/dist/{cuts-PN574VHO.js → cuts-FEQBTLCK.js} +14 -15
  152. package/dist/{delete-V6U3W4CS.js → delete-IZIO5BPH.js} +9 -8
  153. package/dist/{deploy-R33MSCVV.js → deploy-LYSMVVKT.js} +2 -2
  154. package/dist/{describeProject-ARFPRWDZ.js → describeProject-37HOCRQS.js} +8 -10
  155. package/dist/{deterministicFonts-HY5GWGQQ.js → deterministicFonts-DQDB47K3.js} +2 -2
  156. package/dist/{diff-QFMI6N6P.js → diff-JLJZ7CWH.js} +41 -42
  157. package/dist/{dist-BYY3JRG2.js → dist-LIQVRDQQ.js} +11 -13
  158. package/dist/{dist-XVVBUFOD.js → dist-RSKVXBET.js} +12 -3
  159. package/dist/{dist-TI44VPHO.js → dist-URQMS2HM.js} +5 -4
  160. package/dist/docs/examples.md +4 -0
  161. package/dist/{doctor-CREGMXCV.js → doctor-YXP5OQZJ.js} +15 -16
  162. package/dist/{energy-7G2AX2CC.js → energy-E2MNVLQG.js} +14 -15
  163. package/dist/{events-LF3JDEMV.js → events-7KJUZ6JN.js} +6 -5
  164. package/dist/{events-ISILMISS.js → events-AUFOARC3.js} +5 -4
  165. package/dist/{events-Y47D7LCD.js → events-IQMZODOM.js} +16 -17
  166. package/dist/{extract-NXHUAZJQ.js → extract-MNRKSTVS.js} +15 -16
  167. package/dist/{face-52FKXAW6.js → face-PLFENYM6.js} +14 -15
  168. package/dist/{feedback-LDYDOVKP.js → feedback-PMTFDXYG.js} +16 -13
  169. package/dist/{ffmpeg-4YTCWYMO.js → ffmpeg-6NPH4Y32.js} +7 -9
  170. package/dist/{figma-K3XDEK3K.js → figma-VRGLERFC.js} +3 -3
  171. package/dist/fontLocalizeCli.js +11 -13
  172. package/dist/{frames-ZR3SBSEJ.js → frames-IJODIWMC.js} +16 -17
  173. package/dist/{generate-DDFMXJZV.js → generate-QGD5W7C2.js} +28 -29
  174. package/dist/{get-YLVWTD7K.js → get-JRHXJ3XB.js} +9 -8
  175. package/dist/{gpuPolicy-5L45UYI4.js → gpuPolicy-ZUQPIKA6.js} +7 -9
  176. package/dist/{grade-compare-U22AZXLQ.js → grade-compare-PBNOHUTC.js} +36 -37
  177. package/dist/{heifImagePrep-E5UHLK7F.js → heifImagePrep-IHGRDGIQ.js} +8 -10
  178. package/dist/{help-6UBS7VEC.js → help-TSKN5WKM.js} +1 -1
  179. package/dist/{history-NQ57D6BT.js → history-CKYGYGIT.js} +12 -11
  180. package/dist/hyperframe.manifest.json +1 -1
  181. package/dist/hyperframe.runtime.iife.js +68 -68
  182. package/dist/hyperframes-player.global.js +3 -3
  183. package/dist/{info-VMAWCCR7.js → info-MJVDLEVI.js} +42 -14
  184. package/dist/{init-E3E5O4BO.js → init-DOL2FWBB.js} +78 -44
  185. package/dist/{ink-JP2JIJ7O.js → ink-O6QSMSKC.js} +14 -15
  186. package/dist/{inspect-PB7AQSWP.js → inspect-PC3SZZOR.js} +35 -36
  187. package/dist/{installer-DXVPAZI5.js → installer-HMGKE36F.js} +5 -5
  188. package/dist/{keyframes-WU52W4WC.js → keyframes-7XC3AC4V.js} +9 -8
  189. package/dist/{lambda-EPKOKH3F.js → lambda-3FAGLEU5.js} +11 -13
  190. package/dist/{layout-QYDZ3OWK.js → layout-VHTDCWFW.js} +35 -36
  191. package/dist/{lint-HA2BXUCU.js → lint-IC6NER4M.js} +18 -12
  192. package/dist/{lintProject-Z2TEXMY4.js → lintProject-6TML32JZ.js} +1 -2
  193. package/dist/{list-P4PHY54O.js → list-I35ERZHZ.js} +9 -8
  194. package/dist/{localPage-GJQ2KHOH.js → localPage-FDNKKTXH.js} +7 -9
  195. package/dist/{login-FZ224A3F.js → login-6K6LXYCK.js} +8 -7
  196. package/dist/{logout-YACQMRZN.js → logout-EQ2HJDL4.js} +4 -3
  197. package/dist/{look-OMZ2QZO5.js → look-MUM6FFJS.js} +14 -15
  198. package/dist/{manager-PFURXZN7.js → manager-C555E5U3.js} +8 -10
  199. package/dist/{manager-5V4O7DY3.js → manager-MKDNQ5KZ.js} +2 -2
  200. package/dist/{measure-5UEQ3Z35.js → measure-HIFTI44U.js} +11 -11
  201. package/dist/{media-treatment-TD6MD2AQ.js → media-treatment-DI3C7GLC.js} +16 -17
  202. package/dist/{media-use-WM7OZFIU.js → media-use-DA5QVW4C.js} +6 -5
  203. package/dist/{models-RWXD6PFC.js → models-GDXFVABP.js} +11 -13
  204. package/dist/{motionShot-VI4JADFG.js → motionShot-UTGGCPYH.js} +17 -19
  205. package/dist/{normalize-audio-BS27PUKV.js → normalize-audio-YS3YILNJ.js} +23 -13
  206. package/dist/{open-UMB23DN6.js → open-4PKI3YVG.js} +17 -16
  207. package/dist/{parakeetRunner-2QB5ZG35.js → parakeetRunner-EC4KUGKK.js} +13 -15
  208. package/dist/{pipeline-3P5DX3DB.js → pipeline-L3ZWWTXS.js} +11 -13
  209. package/dist/{play-CF73RCMH.js → play-I3NXVJST.js} +25 -26
  210. package/dist/{preflight-JQS3EL4O.js → preflight-G2AVNYY7.js} +9 -11
  211. package/dist/{present-RPBRZSP2.js → present-RUJ3YKSR.js} +20 -21
  212. package/dist/{preview-XT5SK5IE.js → preview-M2T36DYH.js} +29 -28
  213. package/dist/{probe-OPBECP2X.js → probe-OASNPT5T.js} +14 -15
  214. package/dist/{producer-YY7LXKRQ.js → producer-YEHQIQ3O.js} +1 -1
  215. package/dist/{projectConfig-JA6XEBSL.js → projectConfig-LBMTOOJX.js} +8 -8
  216. package/dist/{publication-EOYYVFJS.js → publication-O2M6ZZNY.js} +2 -3
  217. package/dist/{publish-TPBXTYN2.js → publish-PMGCGIVE.js} +17 -17
  218. package/dist/{refresh-L5C2HPMC.js → refresh-ARZZRKMP.js} +4 -3
  219. package/dist/{remove-background-DMV2HTVF.js → remove-background-DFDEZEXM.js} +12 -14
  220. package/dist/{render-P5745VYG.js → render-PJMQH4EQ.js} +5 -6
  221. package/dist/{render-RXQUFM2X.js → render-SVP72X6C.js} +63 -45
  222. package/dist/{render-WQQ7ZPS5.js → render-U3NYKVOA.js} +33 -34
  223. package/dist/{render-batch-I6OHT72Q.js → render-batch-EUT4DTQZ.js} +5 -6
  224. package/dist/renderSetupWorker.js +6 -4
  225. package/dist/{resolver-CMFVVODA.js → resolver-H6U77U4P.js} +6 -6
  226. package/dist/{reverse-5CNVGBVP.js → reverse-IRAAQ6T7.js} +1 -1
  227. package/dist/{run-65M6ECM2.js → run-WZP6HXIH.js} +7 -6
  228. package/dist/{screenshotCapture-HTGXPA7D.js → screenshotCapture-2QYWSWGP.js} +36 -4
  229. package/dist/{sherpa-BPJWQXFB.js → sherpa-DO75VQI4.js} +12 -14
  230. package/dist/skills/hyperframes/SKILL.md +1 -1
  231. package/dist/skills/hyperframes/references/format.md +1 -1
  232. package/dist/skills/hyperframes/references/path-tracing.md +36 -0
  233. package/dist/skills/hyperframes/references/runtimes.md +1 -1
  234. package/dist/skills/hyperframes/references/storyboard.md +1 -1
  235. package/dist/skills/hyperframes/references/types/3d.md +1 -1
  236. package/dist/skills/hyperframes-cli/SKILL.md +3 -1
  237. package/dist/skills/media-use/SKILL.md +1 -1
  238. package/dist/skills/media-use/references/media-treatments.md +1 -1
  239. package/dist/skills/media-use/references/setup-providers.md +1 -1
  240. package/dist/skills/media-use/scripts/lib/local-media-search.mjs +6 -2
  241. package/dist/skills/media-use/scripts/lib/local-media-search.test.mjs +23 -0
  242. package/dist/skills/media-use/scripts/lib/telemetry.mjs +6 -1
  243. package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +34 -0
  244. package/dist/{skills-2Z2E7TX7.js → skills-7GNBYIEM.js} +10 -9
  245. package/dist/{skillsUpdateCheck-TQHSQ26D.js → skillsUpdateCheck-3X5WU4YB.js} +5 -4
  246. package/dist/{snapshot-NR3BZVZK.js → snapshot-7XX5FCQC.js} +82 -75
  247. package/dist/{src-LIR2WBQL.js → src-OUHQBPJL.js} +10 -12
  248. package/dist/{src-VZIS3GRG.js → src-R2QH27BL.js} +8 -8
  249. package/dist/{start-FDWHVOMC.js → start-SD4CCZFP.js} +44 -30
  250. package/dist/{staticProjectServer-L5O2GBZH.js → staticProjectServer-3DQIE2ZT.js} +20 -22
  251. package/dist/{status-SMFFS6LS.js → status-HUVATV7S.js} +20 -17
  252. package/dist/studio/assets/{hyperframes-player-bkb0-LEY.js → hyperframes-player-CL-Qh_Bx.js} +1 -1
  253. package/dist/studio/assets/{index-RUPGNyct.css → index-CNZk2EFC.css} +1 -1
  254. package/dist/studio/assets/{index-DfsIam9M.js → index-DkiYRx1f.js} +137 -137
  255. package/dist/studio/assets/{index-D5zessN9.js → index-DyvmaiBB.js} +1 -1
  256. package/dist/studio/index.html +2 -2
  257. package/dist/{studio-api-VLBZZ4IB.js → studio-api-776ZTVLU.js} +11 -13
  258. package/dist/{studioSelectionClient-FA6XPVIL.js → studioSelectionClient-W2S3H2VO.js} +3 -1
  259. package/dist/{studioServer-CP5HGR3W.js → studioServer-A3LGBU4W.js} +60 -62
  260. package/dist/{sync-NBM7J3IT.js → sync-5BBHBAZ6.js} +14 -15
  261. package/dist/{synthesize-S3FF5KXC.js → synthesize-GX74JPPZ.js} +2 -2
  262. package/dist/{telemetry-B5OJHH2C.js → telemetry-7ETKP7HP.js} +6 -5
  263. package/dist/{telemetry-5WZGQCKA.js → telemetry-IXOTZW4E.js} +2 -1
  264. package/dist/{templates-PQZCZZUG.js → templates-RH674B5Q.js} +17 -16
  265. package/dist/{timeline-X27NA7UH.js → timeline-DEZAVAFR.js} +42 -28
  266. package/dist/{tokens-XS2LOTWB.js → tokens-2UHFZABD.js} +2 -2
  267. package/dist/{transcribe-YPWD4E63.js → transcribe-EZEUKBI3.js} +10 -12
  268. package/dist/{transcribe-7M33PLAV.js → transcribe-NZBJVCSZ.js} +30 -31
  269. package/dist/{tts-QRQEYR3Q.js → tts-QW53FBKW.js} +3 -3
  270. package/dist/{update-BRTUI6AI.js → update-YXZI2ICU.js} +11 -10
  271. package/dist/{updateCheck-IW37C7XV.js → updateCheck-GJMC7GXZ.js} +4 -3
  272. package/dist/{upgrade-7EF5SHLD.js → upgrade-E3QK3G3D.js} +5 -4
  273. package/dist/{upload-HMRWGZIO.js → upload-YQMBLKH5.js} +3 -1
  274. package/dist/{urlDownloader-L6HYQHNK.js → urlDownloader-KYFYU6AG.js} +6 -8
  275. package/dist/{validate-PQJBBBBK.js → validate-HD224PCX.js} +28 -29
  276. package/dist/{video-DO6SLUPI.js → video-3NIYVUPF.js} +9 -11
  277. package/dist/{voices-VP5LLP5V.js → voices-G2YC3Y7U.js} +25 -26
  278. package/dist/warmCheck.js +47 -48
  279. package/dist/warmCheckClient.js +2 -2
  280. package/package.json +1 -1
  281. package/dist/chunk-AFYIYW5D.js +0 -5035
  282. package/dist/chunk-CZGHFATT.js +0 -31
  283. package/dist/chunk-IVIVAE6U.js +0 -29
  284. package/dist/chunk-MEJH7VEA.js +0 -63
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-AQZZLJY7.js";
10
+ } from "./chunk-UE2RAXA7.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-6KZAQHWH.js";
13
+ } from "./chunk-M6FS7TNN.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
17
- } from "./chunk-CZ5NNJ6H.js";
17
+ } from "./chunk-NTMMUK6Q.js";
18
18
 
19
19
  // src/telemetry/lintStreaks.ts
20
20
  import { createHash } from "crypto";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-MCDNAIFF.js";
13
13
  import {
14
14
  credentialPath
15
- } from "./chunk-BVAPHHMQ.js";
15
+ } from "./chunk-LP7B3JLC.js";
16
16
  import {
17
17
  getInvocationId
18
18
  } from "./chunk-54HJ63Q2.js";
@@ -40,10 +40,10 @@ import {
40
40
  readConfig,
41
41
  telemetryRuntimeOverride,
42
42
  writeConfig
43
- } from "./chunk-CKEOCCMK.js";
43
+ } from "./chunk-CMQZP52Y.js";
44
44
  import {
45
45
  VERSION
46
- } from "./chunk-YEE4A3IV.js";
46
+ } from "./chunk-DEI35LJT.js";
47
47
 
48
48
  // src/telemetry/transport.ts
49
49
  import { spawn } from "child_process";
@@ -43,18 +43,25 @@ function closestNames(input, candidates, limit = 5) {
43
43
  distance: editDistance(input, name)
44
44
  })).filter(({ shared }) => shared > 0).sort((a, b) => b.shared - a.shared || a.distance - b.distance || a.name.localeCompare(b.name)).slice(0, limit).map(({ name }) => name);
45
45
  }
46
- var COMMAND_SYNONYMS = {
47
- search: "catalog",
48
- find: "catalog",
49
- browse: "catalog",
50
- registry: "catalog",
51
- list: "catalog",
52
- install: "add"
46
+ var COMMAND_REDIRECTS = {
47
+ search: { command: "catalog" },
48
+ find: { command: "catalog" },
49
+ browse: { command: "catalog" },
50
+ registry: { command: "catalog" },
51
+ list: { command: "catalog" },
52
+ install: { command: "add" },
53
+ captions: {
54
+ command: "transcribe",
55
+ then: "then read ../hyperframes/references/captions.md"
56
+ }
53
57
  };
54
- function synonymMatch(input, candidates) {
55
- const target = COMMAND_SYNONYMS[input];
56
- return target !== void 0 && [...candidates].includes(target) ? target : void 0;
58
+ function commandRedirect(input, candidates) {
59
+ const row = COMMAND_REDIRECTS[input];
60
+ return row !== void 0 && [...candidates].includes(row.command) ? row : void 0;
57
61
  }
62
+ var REDIRECTS_WITH_NEXT_STEP = Object.keys(COMMAND_REDIRECTS).filter(
63
+ (word) => COMMAND_REDIRECTS[word].then
64
+ );
58
65
  function fileHint(word, path, names) {
59
66
  if (path.length === 0 || names.length === 0 || !existsSync(word)) return void 0;
60
67
  const group = ["hyperframes", ...path].join(" ");
@@ -64,6 +71,6 @@ function fileHint(word, path, names) {
64
71
  export {
65
72
  closestMatch,
66
73
  closestNames,
67
- synonymMatch,
74
+ commandRedirect,
68
75
  fileHint
69
76
  };
@@ -6,18 +6,18 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-XLNV66JK.js";
9
+ } from "./chunk-MLBH6KJL.js";
10
10
  import {
11
11
  findPreviewServerForProject,
12
12
  studioApiUrl
13
- } from "./chunk-US4BCRYB.js";
13
+ } from "./chunk-3L2POG2J.js";
14
14
  import {
15
15
  DEFAULT_HISTORY_ROOT,
16
16
  HistoryBusyError,
17
17
  MAX_WINDOW_IDLE_MS,
18
18
  openProjectHistory,
19
19
  readProjectHistory
20
- } from "./chunk-XLPCBE2Q.js";
20
+ } from "./chunk-US2SO6O4.js";
21
21
 
22
22
  // src/utils/historyOwner.ts
23
23
  import { randomUUID } from "crypto";
@@ -10,13 +10,13 @@ import {
10
10
  parseNumbers,
11
11
  parseRoi,
12
12
  probeVideo
13
- } from "./chunk-2VYQ62PP.js";
13
+ } from "./chunk-VR7E3QEQ.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-HOCC4J5C.js";
17
17
  import {
18
18
  withMeta
19
- } from "./chunk-OMOBWXJL.js";
19
+ } from "./chunk-DVKZ55DS.js";
20
20
  import {
21
21
  failCommand
22
22
  } from "./chunk-66W5IWLO.js";
@@ -30,9 +30,15 @@ async function runMeasure(work) {
30
30
  console.log(formatJson(withMeta({ ok: true, ...await work() })));
31
31
  } catch (err) {
32
32
  const fix = err instanceof Fix ? err.fix : void 0;
33
+ const url = err instanceof Fix ? err.url : void 0;
33
34
  console.log(
34
35
  formatJson(
35
- withMeta({ ok: false, error: normalizeErrorMessage(err), ...fix ? { fix } : {} })
36
+ withMeta({
37
+ ok: false,
38
+ error: normalizeErrorMessage(err),
39
+ ...fix ? { fix } : {},
40
+ ...url ? { url } : {}
41
+ })
36
42
  )
37
43
  );
38
44
  if (process.stdout.isTTY) console.error(`${c.error("\u2717")} ${normalizeErrorMessage(err)}`);
@@ -13,13 +13,13 @@ import {
13
13
  round,
14
14
  runFfmpeg,
15
15
  sumOf
16
- } from "./chunk-2VYQ62PP.js";
16
+ } from "./chunk-VR7E3QEQ.js";
17
17
  import {
18
18
  verifies
19
19
  } from "./chunk-RZ6CXJ56.js";
20
20
  import {
21
21
  hyperframesCacheDir
22
- } from "./chunk-766MOTIZ.js";
22
+ } from "./chunk-JOQR4AP6.js";
23
23
 
24
24
  // src/measure/opencv.ts
25
25
  import { mkdirSync, readFileSync, renameSync, rmSync } from "fs";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-M3JU24AI.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-AQZZLJY7.js";
12
+ } from "./chunk-UE2RAXA7.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-66W5IWLO.js";
@@ -7,8 +7,9 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseTimeoutMs,
9
9
  pngDimensions
10
- } from "./chunk-HNZ2FZIB.js";
10
+ } from "./chunk-TTCNUS5M.js";
11
11
  import {
12
+ CheckBudgetError,
12
13
  CheckCopiesUnfinishedError,
13
14
  CheckDeadline,
14
15
  CheckDeadlineError,
@@ -19,20 +20,20 @@ import {
19
20
  idleWindow,
20
21
  preResolveHostileMediaProxies,
21
22
  rectToBbox
22
- } from "./chunk-NB2AEFNM.js";
23
+ } from "./chunk-KE6NXX45.js";
23
24
  import {
24
25
  collectProjectMedia,
25
26
  mediaPath
26
- } from "./chunk-IVIVAE6U.js";
27
+ } from "./chunk-IN3ZKLLQ.js";
27
28
  import {
28
29
  captureArtifactRevision,
29
30
  readToolContext,
30
31
  reportArtifacts,
31
32
  withProjectLock
32
- } from "./chunk-G4L4JU4I.js";
33
+ } from "./chunk-WODNT4NL.js";
33
34
  import {
34
35
  trackLintRun
35
- } from "./chunk-XRKQJADF.js";
36
+ } from "./chunk-M6F4HXMW.js";
36
37
  import {
37
38
  CONTENT_OVERLAP_HELD_ERROR_MS,
38
39
  DEFAULT_MAX_STATIC_SEC,
@@ -53,7 +54,7 @@ import {
53
54
  mergeSampleTimes,
54
55
  parseAt,
55
56
  readMotionSpec
56
- } from "./chunk-FU5TXQAN.js";
57
+ } from "./chunk-UYMUPV7Q.js";
57
58
  import {
58
59
  findingAtRoot,
59
60
  findingElementKey,
@@ -62,25 +63,25 @@ import {
62
63
  } from "./chunk-TQBQYO4L.js";
63
64
  import {
64
65
  resolveProject
65
- } from "./chunk-XLNV66JK.js";
66
+ } from "./chunk-MLBH6KJL.js";
66
67
  import {
67
68
  recordArtifacts
68
- } from "./chunk-XLPCBE2Q.js";
69
+ } from "./chunk-US2SO6O4.js";
69
70
  import {
70
71
  BrowserCleanupError,
71
72
  onStopSignal,
72
73
  registerBrowserSessionCleanup
73
- } from "./chunk-SUFHFBNO.js";
74
+ } from "./chunk-N6YQHI3Z.js";
74
75
  import {
75
76
  resolveLocalBrowserGpuMode
76
- } from "./chunk-UWB44MM4.js";
77
+ } from "./chunk-ENJ3M6OM.js";
77
78
  import {
78
79
  trackCheckReport,
79
80
  trackCommandFailure
80
- } from "./chunk-AQZZLJY7.js";
81
+ } from "./chunk-UE2RAXA7.js";
81
82
  import {
82
83
  swallowedFlagUsageError
83
- } from "./chunk-UXS7VE75.js";
84
+ } from "./chunk-7PZLR2JZ.js";
84
85
  import {
85
86
  defineCommand
86
87
  } from "./chunk-DL4OD7IA.js";
@@ -98,16 +99,16 @@ import {
98
99
  extractMediaMetadata,
99
100
  findHdrAutoPromotion,
100
101
  gradingKeepsSdr
101
- } from "./chunk-ATRSQXUV.js";
102
+ } from "./chunk-NMQWKWV4.js";
102
103
  import {
103
104
  lintProject
104
- } from "./chunk-CZ5NNJ6H.js";
105
+ } from "./chunk-NTMMUK6Q.js";
105
106
  import {
106
107
  withMeta
107
- } from "./chunk-OMOBWXJL.js";
108
+ } from "./chunk-DVKZ55DS.js";
108
109
  import {
109
110
  recordLastCheck
110
- } from "./chunk-CKEOCCMK.js";
111
+ } from "./chunk-CMQZP52Y.js";
111
112
  import {
112
113
  failureMessage,
113
114
  jsonFailure
@@ -1782,7 +1783,7 @@ async function runCheckPipeline(project, options, dependencies = DEFAULT_DEPENDE
1782
1783
  relative(project.dir, motion.path) || "index.motion.json"
1783
1784
  )
1784
1785
  ] : [];
1785
- const deadline = new CheckDeadline(idleWindow(options.timeout));
1786
+ const deadline = new CheckDeadline(idleWindow(options.timeout), options.budget);
1786
1787
  const forgetStop = onStopSignal(deadline.stop);
1787
1788
  let outcome;
1788
1789
  try {
@@ -1864,7 +1865,7 @@ async function writeContrastSnapshots(dependencies, projectDir, browser) {
1864
1865
  }
1865
1866
  async function withFindingCrops(dependencies, project, options, report, deadline) {
1866
1867
  const cropRequests = selectFindingCropRequests(report);
1867
- if (cropRequests.length === 0) return report;
1868
+ if (cropRequests.length === 0 || deadline.signal.aborted) return report;
1868
1869
  try {
1869
1870
  deadline.enter("crops");
1870
1871
  const findingFiles = await deadline.run(
@@ -1872,7 +1873,7 @@ async function withFindingCrops(dependencies, project, options, report, deadline
1872
1873
  );
1873
1874
  return { ...report, snapshots: { ...report.snapshots, findingFiles } };
1874
1875
  } catch (error) {
1875
- if (error instanceof CheckDeadlineError) {
1876
+ if (isCheckExpiry(error)) {
1876
1877
  const finding = runtimeFailure(error);
1877
1878
  return { ...report, ok: false, runtime: section([...report.runtime.findings, finding]) };
1878
1879
  }
@@ -1897,7 +1898,7 @@ async function withOptionalFindingFrames(dependencies, project, options, report,
1897
1898
  const captured = await deadline.run(() => capture(project, options, requests, deadline));
1898
1899
  return withFindingFrameFields(report, plan, captured);
1899
1900
  } catch (error) {
1900
- if (error instanceof CheckDeadlineError || error instanceof CheckStoppedError) {
1901
+ if (isCheckExpiry(error)) {
1901
1902
  const finding = runtimeFailure(error);
1902
1903
  return { ...report, ok: false, runtime: section([...report.runtime.findings, finding]) };
1903
1904
  }
@@ -1906,6 +1907,7 @@ async function withOptionalFindingFrames(dependencies, project, options, report,
1906
1907
  return report;
1907
1908
  }
1908
1909
  }
1910
+ var isCheckExpiry = (error) => error instanceof CheckDeadlineError || error instanceof CheckStoppedError || error instanceof CheckBudgetError;
1909
1911
  var MAX_FINDING_CROPS = 12;
1910
1912
  function selectFindingCropRequests(report) {
1911
1913
  const candidates = [
@@ -2204,7 +2206,7 @@ function emptyBrowserResult() {
2204
2206
  }
2205
2207
  function runtimeFailure(error, code) {
2206
2208
  return findingAtRoot(
2207
- code ?? (error instanceof CheckCopiesUnfinishedError ? "media_copies_unfinished" : "check_runtime_failure"),
2209
+ code ?? (error instanceof CheckCopiesUnfinishedError ? "media_copies_unfinished" : error instanceof CheckBudgetError ? "check_budget_reached" : "check_runtime_failure"),
2208
2210
  "error",
2209
2211
  normalizeErrorMessage(error),
2210
2212
  error instanceof CheckDeadlineError ? error.sourceFile ?? "index.html" : "index.html"
@@ -2235,7 +2237,7 @@ function resolveMotionSpec(projectDir) {
2235
2237
  };
2236
2238
  }
2237
2239
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2238
- const module = await import("./checkBrowser-YHD3NILB.js");
2240
+ const module = await import("./checkBrowser-7CFHX4VU.js");
2239
2241
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2240
2242
  }
2241
2243
  var adoptedBrowser;
@@ -2249,7 +2251,7 @@ async function prelaunchBrowser(project, options) {
2249
2251
  if (adopted) return adopted;
2250
2252
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2251
2253
  if (html === void 0) return void 0;
2252
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-2XH2Z4RY.js");
2254
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-YRZVOCTO.js");
2253
2255
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2254
2256
  }
2255
2257
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -2261,11 +2263,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
2261
2263
  return relative(projectDir, path);
2262
2264
  }
2263
2265
  async function captureFindingFrames(project, options, requests, deadline) {
2264
- const module = await import("./checkBrowser-YHD3NILB.js");
2266
+ const module = await import("./checkBrowser-7CFHX4VU.js");
2265
2267
  return module.captureFindingFrames(project, options, requests, deadline);
2266
2268
  }
2267
2269
  async function captureFindingCrops(project, options, requests, deadline) {
2268
- const module = await import("./checkBrowser-YHD3NILB.js");
2270
+ const module = await import("./checkBrowser-7CFHX4VU.js");
2269
2271
  return module.captureFindingCrops(project, options, requests, deadline);
2270
2272
  }
2271
2273
  async function inspectProjectMedia(project, dependencies) {
@@ -2287,7 +2289,7 @@ function collectMedia(project) {
2287
2289
  return collectProjectMedia(project.dir);
2288
2290
  }
2289
2291
  async function inspectAudio(project, media) {
2290
- const module = await import("./checkAudio-LETXIMCO.js");
2292
+ const module = await import("./checkAudio-LDSIWNQL.js");
2291
2293
  return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
2292
2294
  }
2293
2295
  function audioCheckFailure(project, error) {
@@ -2361,7 +2363,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
2361
2363
  }
2362
2364
  },
2363
2365
  async prepareMedia(project, options) {
2364
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-F3TAMJ2J.js");
2366
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-F557ZVFL.js");
2365
2367
  const html = await bundleWithLocalizedFonts(project.dir);
2366
2368
  return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
2367
2369
  },
@@ -2434,6 +2436,11 @@ async function saveCheckReport(project, options, report, capture) {
2434
2436
  var CHECK_COMMAND_ARGS = {
2435
2437
  dir: { type: "positional", description: "Project directory", required: false },
2436
2438
  json: { type: "boolean", description: "Output agent-readable JSON", default: false },
2439
+ "lint-verbose": {
2440
+ type: "boolean",
2441
+ description: "Accepted as render's spelling; check always prints every lint finding",
2442
+ default: false
2443
+ },
2437
2444
  samples: {
2438
2445
  type: "string",
2439
2446
  description: "Number of midpoint samples across the duration (default: 9)",
@@ -2475,6 +2482,10 @@ var CHECK_COMMAND_ARGS = {
2475
2482
  description: "Allowed pixel overflow before reporting an issue (default: 2)",
2476
2483
  default: "2"
2477
2484
  },
2485
+ budget: {
2486
+ type: "string",
2487
+ description: "Stop the whole check this long after it starts (ms, or 90s, 8m; at least 30s) and report what it found so far"
2488
+ },
2478
2489
  timeout: {
2479
2490
  type: "string",
2480
2491
  description: "Initial render-ready timeout in ms, or with a unit (45s, 2m); also sets the navigation minimum (10s floor, default: 45000, as snapshot and render)",
@@ -2593,6 +2604,12 @@ function reportCheckFailure(error, asJson, addMeta) {
2593
2604
  setCommandExitCode(1);
2594
2605
  }
2595
2606
  var REPORT_GRACE_MS = 5e3;
2607
+ var MIN_BUDGET_MS = 3e4;
2608
+ var BUDGET_REPORT_MS = 1e4;
2609
+ function parseBudget(raw) {
2610
+ const ms = parseTimeoutMs(raw, 0, MIN_BUDGET_MS, console.error, "--budget");
2611
+ return ms > 0 ? { ms, stopAt: Date.now() + ms - BUDGET_REPORT_MS } : void 0;
2612
+ }
2596
2613
  function untilReported() {
2597
2614
  let done = () => void 0;
2598
2615
  const printed = new Promise((resolve2) => {
@@ -2660,6 +2677,7 @@ function parseCheckOptions(args) {
2660
2677
  collapseStatic: args["collapse-static"] !== false,
2661
2678
  tolerance: nonNegativeNumber(args.tolerance, DEFAULT_CHECK_OPTIONS.tolerance),
2662
2679
  timeout: parseTimeoutMs(args.timeout, DEFAULT_CHECK_OPTIONS.timeout, 500),
2680
+ budget: parseBudget(args.budget),
2663
2681
  contrast: args.contrast !== false,
2664
2682
  ...checkReview()?.skipContrastInMotion ? { skipContrastInMotion: true } : {},
2665
2683
  strict: args.strict === true,
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  GSAP_CDN_VERSION,
14
14
  gsapCdnDist
15
- } from "./chunk-MEJH7VEA.js";
15
+ } from "./chunk-HUZ3GL3F.js";
16
16
 
17
17
  // src/server/readBundleFile.ts
18
18
  import { openSync, fstatSync, closeSync, statSync, readFileSync, constants } 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
  resolveCaptureBrowserGpuMode
9
- } from "./chunk-UWB44MM4.js";
9
+ } from "./chunk-ENJ3M6OM.js";
10
10
  import {
11
11
  explainChromeLaunchFailure,
12
12
  inAgentSandbox,
@@ -15,7 +15,7 @@ import {
15
15
  oneProcessOverPipe,
16
16
  pipeLaunchClosedOnMac,
17
17
  sandboxDeniedRemediation
18
- } from "./chunk-ATRSQXUV.js";
18
+ } from "./chunk-NMQWKWV4.js";
19
19
  import {
20
20
  processIsAlive
21
21
  } from "./chunk-KGPLIH7B.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-6BEFEWFB.js";
10
10
  import {
11
11
  hyperframesCacheDir
12
- } from "./chunk-766MOTIZ.js";
12
+ } from "./chunk-JOQR4AP6.js";
13
13
 
14
14
  // src/utils/optionalPackages.ts
15
15
  import { spawn } from "child_process";
@@ -35,14 +35,17 @@ import {
35
35
  hasClipStarted,
36
36
  hdrToSdrToneMapFilter,
37
37
  isInClipWindow,
38
+ keyframeTransferArgs,
38
39
  mediaElementTime,
39
40
  parseFirstFrameColour,
41
+ parseKeyframeTransfers,
40
42
  quantizeSeekTime,
41
43
  quantizeTimeToFrame,
44
+ readsKeyframeTransfers,
42
45
  renderFrameIdForRenderId,
43
46
  resolveAuthoredTimingWindow,
44
47
  toFps
45
- } from "./chunk-DJTC4NK7.js";
48
+ } from "./chunk-HUZ3GL3F.js";
46
49
  import {
47
50
  AUDIO_GROUP_RENDER_ID_ATTR,
48
51
  AUTHORED_SOURCE_BEGIN,
@@ -85,7 +88,7 @@ import {
85
88
  sourceTimeAt,
86
89
  timeAtSourceTime,
87
90
  volumeSegmentSampleCount
88
- } from "./chunk-AFYIYW5D.js";
91
+ } from "./chunk-VBEP277H.js";
89
92
  import {
90
93
  redactTelemetryString,
91
94
  redactUrlQueryStrings
@@ -103,7 +106,7 @@ import {
103
106
  } from "./chunk-WE42NVH7.js";
104
107
  import {
105
108
  resolveReferencedStart
106
- } from "./chunk-CZ5NNJ6H.js";
109
+ } from "./chunk-NTMMUK6Q.js";
107
110
  import {
108
111
  isWithinProjectRoot,
109
112
  resolveProjectRelativeSrc
@@ -128,7 +131,7 @@ import {
128
131
  } from "./chunk-FBN2M2HK.js";
129
132
  import {
130
133
  hyperframesCacheDir
131
- } from "./chunk-766MOTIZ.js";
134
+ } from "./chunk-JOQR4AP6.js";
132
135
  import {
133
136
  fetchGoesThroughEnvProxy
134
137
  } from "./chunk-QBXDU24O.js";
@@ -5443,6 +5446,7 @@ var TRANSIENT_BROWSER_ERROR_PATTERNS = [
5443
5446
  /ECONNREFUSED/i,
5444
5447
  /net::ERR_NETWORK_CHANGED/i,
5445
5448
  /Composition has zero duration[\s\S]*Runtime ready: false/,
5449
+ /Composition setup did not finish/,
5446
5450
  // CDP can refuse a capture call outright with this exact wording; timed-out
5447
5451
  // variants of the same call hit PROTOCOL_TIMEOUT_PATTERNS, checked first.
5448
5452
  // Anchored to this literal reason (not just the CDP method) so an unrelated,
@@ -6401,11 +6405,11 @@ var HF_READY_DIAGNOSTIC_EXPR = `(async function() {
6401
6405
  rejectedBuildReadyKeys: rejectedBuildReadyKeys,
6402
6406
  };
6403
6407
  })()`;
6404
- function buildZeroDurationDiagnostic(diag) {
6408
+ function buildZeroDurationDiagnostic(diag, timeoutMs) {
6405
6409
  const hints = [];
6406
6410
  if (diag.pendingBuildReadyKeys.length > 0) {
6407
6411
  hints.push(
6408
- `window.__hf.buildReady never resolved for: ${diag.pendingBuildReadyKeys.join(", ")}. The runtime holds render-ready until every registered buildReady promise settles. Find where the composition registers that key and confirm it actually resolves.`
6412
+ `window.__hf.buildReady never resolved for: ${diag.pendingBuildReadyKeys.join(", ")}. The runtime holds render-ready until every registered buildReady promise settles. Find where the composition registers that key and confirm it actually resolves. During a render, Date and performance.now stay at 0 and requestAnimationFrame callbacks wait until the first frame, so setup that awaits an animation frame or the clock never finishes. Await the library's own readiness promise instead (for Three.js, renderer.compileAsync).`
6409
6413
  );
6410
6414
  }
6411
6415
  if (diag.rejectedBuildReadyKeys.length > 0) {
@@ -6416,7 +6420,7 @@ function buildZeroDurationDiagnostic(diag) {
6416
6420
  if (!diag.hasPlayer) {
6417
6421
  hints.push("window.__player was never set: the HyperFrames runtime did not initialize.");
6418
6422
  }
6419
- if (!diag.hasTimeline) {
6423
+ if (diag.renderReady && !diag.hasTimeline) {
6420
6424
  hints.push(
6421
6425
  "No GSAP timeline registered (window.__timelines is empty). CSS/WAAPI/Lottie animations are usually auto-detected (the runtime infers duration from the longest running animation), but this composition's duration could not be inferred, which usually means an infinite/unbounded animation (e.g. animation-iteration-count: infinite, repeat: -1 WAAPI, or a looping Lottie clip) or a Three.js scene with no discoverable AnimationClip."
6422
6426
  );
@@ -6429,7 +6433,9 @@ function buildZeroDurationDiagnostic(diag) {
6429
6433
  if (diag.hasSeek && diag.duration === 0 && diag.renderReady) {
6430
6434
  hints.push("The runtime finished initializing but reported zero duration. This is permanent.");
6431
6435
  }
6432
- return `[FrameCapture] Composition has zero duration.
6436
+ const within = timeoutMs === void 0 ? "" : ` within ${timeoutMs}ms`;
6437
+ const headline = diag.renderReady ? "Composition has zero duration." : `Composition setup did not finish${within}.`;
6438
+ return `[FrameCapture] ${headline}
6433
6439
  Runtime ready: ${diag.renderReady}, __player: ${diag.hasPlayer}, __hf.seek: ${diag.hasSeek}, GSAP timeline: ${diag.hasTimeline}, data-duration: ${diag.declaredDuration > 0 ? diag.declaredDuration + "s" : "not set"}
6434
6440
  ` + (hints.length > 0 ? hints.map((h) => ` \u2192 ${h}`).join("\n") : "");
6435
6441
  }
@@ -6463,7 +6469,7 @@ async function pollHfReady(page, timeoutMs, intervalMs = 100) {
6463
6469
  }
6464
6470
  const diag = await evaluateHfDiagnostic(page);
6465
6471
  if (diag.hasSeek && diag.duration === 0) {
6466
- throw new Error(buildZeroDurationDiagnostic(diag));
6472
+ throw new Error(buildZeroDurationDiagnostic(diag, timeoutMs));
6467
6473
  }
6468
6474
  throw new Error(
6469
6475
  `[FrameCapture] window.__hf not ready after ${timeoutMs}ms. Page must expose window.__hf = { duration, seek }.
@@ -6834,7 +6840,7 @@ function recordSubTimelineWarning(session, timeoutMs) {
6834
6840
  recordCaptureWarnings(session, [
6835
6841
  {
6836
6842
  code: scriptFailure ? "sub_timeline_script_failure" : "sub_timeline_readiness_timeout",
6837
- message: threwThenTimedOut ? `A composition script threw before its timeline registered${pendingSuffix} (${sources.join(", ")}). Fix the error; a composition animated by CSS or rAF rather than a GSAP timeline must mark its host with data-no-timeline.` : scriptFailure ? `A sub-composition timeline script failed to load (${sources.join(", ")})` + scriptLoadCauseSuffix(loadCauses) : `Sub-composition timelines did not become ready within ${timeoutMs}ms${pendingSuffix}. This can be intentional: a composition driven by CSS animations or rAF never registers window.__timelines[id], and marking its host with data-no-timeline skips the wait entirely. Otherwise, a composition that sets up asynchronously must register window.__timelines[id] once setup completes.`,
6843
+ message: threwThenTimedOut ? `A composition script threw before its timeline registered${pendingSuffix} (${sources.join(", ")}). Fix the error; a composition animated by CSS or rAF rather than a GSAP timeline must mark its host with data-no-timeline.` : scriptFailure ? `A sub-composition timeline script failed to load${scriptLoadCauseSuffix(loadCauses)} (${sources.join(", ")})` : `Sub-composition timelines did not become ready within ${timeoutMs}ms${pendingSuffix}. This can be intentional: a composition driven by CSS animations or rAF never registers window.__timelines[id], and marking its host with data-no-timeline skips the wait entirely. Otherwise, a composition that sets up asynchronously must register window.__timelines[id] once setup completes.`,
6838
6844
  details: {
6839
6845
  timeoutMs,
6840
6846
  sources,
@@ -9905,6 +9911,16 @@ function parseFrameRate(frameRateStr) {
9905
9911
  if (!Number.isFinite(rounded)) return 0;
9906
9912
  return rounded > 0 ? rounded : 0.01;
9907
9913
  }
9914
+ function displayRotation(stream) {
9915
+ const turn = Number(
9916
+ stream.side_data_list?.find((data) => data.rotation !== void 0)?.rotation ?? stream.tags?.rotate ?? 0
9917
+ );
9918
+ return Number.isFinite(turn) && turn % 360 !== 0 ? { rotation: turn } : {};
9919
+ }
9920
+ function displaySize(metadata) {
9921
+ const width = Math.round(metadata.width * (metadata.sampleAspectRatio ?? 1));
9922
+ return Math.abs(metadata.rotation ?? 0) % 180 === 90 ? { width: metadata.height, height: width } : { width, height: metadata.height };
9923
+ }
9908
9924
  function parseSampleAspectRatio(value) {
9909
9925
  const [num, den] = (value ?? "").split(":").map(Number);
9910
9926
  if (!num || !den || !Number.isFinite(num) || !Number.isFinite(den)) return void 0;
@@ -10011,8 +10027,11 @@ async function extractMediaMetadata(filePath) {
10011
10027
  const hasAlpha = videoStreamHasAlpha(videoStream);
10012
10028
  const alphaDecoder = hasAlpha ? null : alphaDecoderFor(videoStream.codec_name);
10013
10029
  const alphaPlaneDecoded = alphaDecoder ? await probeDecodedAlphaPlane(filePath, alphaDecoder) : void 0;
10014
- const containerDuration = output?.format.duration ? parseFloat(output.format.duration) : 0;
10030
+ let containerDuration = output?.format.duration ? parseFloat(output.format.duration) : 0;
10015
10031
  const streamDuration = videoStream.duration ? parseFloat(videoStream.duration) : 0;
10032
+ if (!(containerDuration > 0) && !(streamDuration > 0) && !isPng) {
10033
+ containerDuration = await scanPacketDuration(filePath, fps) ?? 0;
10034
+ }
10016
10035
  const parsedStreamStart = videoStream.start_time ? parseFloat(videoStream.start_time) : 0;
10017
10036
  const streamStart = Number.isFinite(parsedStreamStart) ? parsedStreamStart : 0;
10018
10037
  const parsedNbFrames = videoStream.nb_frames ? parseInt(videoStream.nb_frames, 10) : NaN;
@@ -10044,6 +10063,7 @@ async function extractMediaMetadata(filePath) {
10044
10063
  colorRange: videoStream.color_range,
10045
10064
  pixelFormat,
10046
10065
  ...sampleAspectRatio === void 0 ? {} : { sampleAspectRatio },
10066
+ ...displayRotation(videoStream),
10047
10067
  frames
10048
10068
  };
10049
10069
  })();
@@ -10069,6 +10089,27 @@ function readStoredFinalFrame(filePath, metadata) {
10069
10089
  return stored && stored.streamStart === videoStreamStartSeconds && stored.streamDuration === videoStreamDurationSeconds ? stored : void 0;
10070
10090
  });
10071
10091
  }
10092
+ var PACKET_TAIL_CHARS = 64 * 1024;
10093
+ async function scanPacketDuration(filePath, fps) {
10094
+ try {
10095
+ const stdout = await runFfprobe(
10096
+ filePath,
10097
+ [
10098
+ ...["-select_streams", "v:0", "-show_entries", "packet=pts_time,duration_time"],
10099
+ ...["-of", "csv=p=0"]
10100
+ ],
10101
+ void 0,
10102
+ { retainTail: true, maxChars: PACKET_TAIL_CHARS }
10103
+ );
10104
+ const lines = stdout.split("\n");
10105
+ if (stdout.length >= PACKET_TAIL_CHARS) lines.shift();
10106
+ const frame = fps > 0 ? 1 / fps : 0;
10107
+ const ends = lines.map((line) => line.trim().split(",").map(Number)).filter(([pts]) => Number.isFinite(pts)).map(([pts, duration]) => pts + (Number.isFinite(duration) ? duration : frame));
10108
+ return ends.length ? Math.max(...ends) : void 0;
10109
+ } catch {
10110
+ return void 0;
10111
+ }
10112
+ }
10072
10113
  async function extractFinalPacketDuration(filePath, window2, signal) {
10073
10114
  const streamEnd = window2.videoStreamStartSeconds + window2.videoStreamDurationSeconds;
10074
10115
  const intervalStart = Math.max(window2.videoStreamStartSeconds, streamEnd - 1);
@@ -13610,17 +13651,28 @@ function parseImageElements(html) {
13610
13651
  return images;
13611
13652
  }
13612
13653
  var firstFrameColourCache = /* @__PURE__ */ new Map();
13613
- function readFirstFrameColour(videoPath) {
13654
+ function readKeyframeTransfers(videoPath, codec) {
13655
+ return inExtractionSlot(
13656
+ () => runFfmpeg([...urlInputArgs(videoPath), ...keyframeTransferArgs(videoPath, codec)])
13657
+ ).then((result) => result.success ? parseKeyframeTransfers(result.stderr) : null);
13658
+ }
13659
+ function readFirstFrameColour(videoPath, codec) {
13614
13660
  const identity = mediaFileIdentity(videoPath);
13615
13661
  const cached = readMetadataCache(firstFrameColourCache, videoPath, identity);
13616
13662
  if (cached) return cached;
13617
13663
  const probe = inExtractionSlot(
13618
13664
  () => runFfmpeg([...urlInputArgs(videoPath), ...firstFrameColourArgs(videoPath)])
13619
- ).then((result) => {
13620
- if (!result.success && firstFrameColourCache.get(videoPath)?.promise === probe) {
13621
- firstFrameColourCache.delete(videoPath);
13622
- }
13623
- return parseFirstFrameColour(result.stderr);
13665
+ ).then(async (result) => {
13666
+ const forget = () => {
13667
+ if (firstFrameColourCache.get(videoPath)?.promise === probe)
13668
+ firstFrameColourCache.delete(videoPath);
13669
+ };
13670
+ if (!result.success) forget();
13671
+ const first = parseFirstFrameColour(result.stderr);
13672
+ if (!result.success || !readsKeyframeTransfers(first)) return first;
13673
+ const keyframeTransfers = await readKeyframeTransfers(videoPath, codec);
13674
+ if (!keyframeTransfers) forget();
13675
+ return { ...first, keyframeTransfers: keyframeTransfers ?? [] };
13624
13676
  });
13625
13677
  writeMetadataCache(firstFrameColourCache, videoPath, identity, probe);
13626
13678
  return probe;
@@ -13889,7 +13941,7 @@ async function extractVideoFramesRangeUnredacted(videoPath, videoId, startTime,
13889
13941
  formatFfmpegSeconds(duration)
13890
13942
  );
13891
13943
  }
13892
- const frameColour = toneMappedToSdr ? await readFirstFrameColour(videoPath) : void 0;
13944
+ const frameColour = toneMappedToSdr ? await readFirstFrameColour(videoPath, metadata.videoCodec) : void 0;
13893
13945
  const filtersFor = videoFilterChain({
13894
13946
  metadata,
13895
13947
  format,
@@ -19667,6 +19719,7 @@ export {
19667
19719
  ffmpegSeekSeconds,
19668
19720
  resolvePlayableVideoDuration,
19669
19721
  probeMediaProfile,
19722
+ displaySize,
19670
19723
  extractMediaMetadata,
19671
19724
  extractFinalVideoFrameTimestamp,
19672
19725
  extractVideoMetadata,