hyperframes 0.9.15 → 0.9.16

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 (273) hide show
  1. package/README.md +9 -0
  2. package/dist/{add-S3QTEUUZ.js → add-GEGI5ERI.js} +15 -14
  3. package/dist/{agentPromptGenerator-7FNPHUHJ.js → agentPromptGenerator-VV7UQDGL.js} +7 -8
  4. package/dist/{animatedGifPrep-NFT2NCNX.js → animatedGifPrep-JTPCKJ44.js} +7 -8
  5. package/dist/api.js +36 -36
  6. package/dist/{appHistory-BCWH6XYH.js → appHistory-WXJ4STHX.js} +2 -1
  7. package/dist/{asset-2BBOP7JZ.js → asset-ZTXZ6HGB.js} +2 -2
  8. package/dist/{assetCataloger-IY3XEIOP.js → assetCataloger-ATGUE5IY.js} +9 -10
  9. package/dist/{audio-QJUSICGQ.js → audio-5SBZBNSP.js} +19 -19
  10. package/dist/{auth-VDFPA4VH.js → auth-NDUIJ4HS.js} +4 -4
  11. package/dist/{autoUpdate-XUQK5WGH.js → autoUpdate-PZTBUAA5.js} +25 -16
  12. package/dist/{avatars-KCRRY6FB.js → avatars-YY7FU76E.js} +16 -16
  13. package/dist/{backgroundChecks-QAR4J3EA.js → backgroundChecks-6KERI5QL.js} +5 -4
  14. package/dist/backgroundChecksWorker.js +5 -4
  15. package/dist/{batchRender-IHSCRPWL.js → batchRender-L3IIY2FT.js} +5 -4
  16. package/dist/{beats-KHLBORQV.js → beats-UBUJBSVD.js} +11 -11
  17. package/dist/{benchmark-7OK27YVS.js → benchmark-YJ2U5KE3.js} +11 -11
  18. package/dist/{billing-CZWTUT4T.js → billing-YN35KTEH.js} +79 -36
  19. package/dist/{browser-R4ZG7RVY.js → browser-NRDSXRX7.js} +8 -7
  20. package/dist/{bundleWithLocalizedFonts-F3TAMJ2J.js → bundleWithLocalizedFonts-5T25BRZU.js} +1 -1
  21. package/dist/{capture-2TL7VL2K.js → capture-7K7VWXBQ.js} +17 -18
  22. package/dist/{capture-LRBDPPKP.js → capture-MP46JHB7.js} +3 -3
  23. package/dist/{captureCompositionFrame-2XH2Z4RY.js → captureCompositionFrame-4VZCJGGD.js} +13 -14
  24. package/dist/{catalog-PTVMH3GV.js → catalog-32CQF7IT.js} +23 -21
  25. package/dist/{catch-up-WRIIXOZE.js → catch-up-IVBUCPZM.js} +9 -7
  26. package/dist/{check-XHB7IC3B.js → check-U5PPKHG5.js} +43 -43
  27. package/dist/{checkAudio-LETXIMCO.js → checkAudio-ZCRRON4E.js} +10 -11
  28. package/dist/{checkBrowser-YHD3NILB.js → checkBrowser-MS5NKDXR.js} +36 -36
  29. package/dist/{chunk-DCLZEI2C.js → chunk-344RFO72.js} +2 -2
  30. package/dist/{chunk-US4BCRYB.js → chunk-3L2POG2J.js} +23 -1
  31. package/dist/{chunk-SUFHFBNO.js → chunk-4ECLIUTB.js} +2 -2
  32. package/dist/{chunk-HCTHKNMZ.js → chunk-4FHTWYDZ.js} +1 -1
  33. package/dist/{chunk-RLPTQF5E.js → chunk-5IVECOVN.js} +2 -2
  34. package/dist/{chunk-4W5NIHYU.js → chunk-5L2CII4L.js} +1 -1
  35. package/dist/{chunk-OO6AETRF.js → chunk-65XOIIBM.js} +1 -1
  36. package/dist/{chunk-D3B76FBE.js → chunk-6H5KN7CJ.js} +5 -5
  37. package/dist/{chunk-EWAPC74T.js → chunk-6H5NILM5.js} +1 -1
  38. package/dist/{chunk-76AJS2LI.js → chunk-6M3TQUDF.js} +9 -3
  39. package/dist/{chunk-X5FSMQEJ.js → chunk-6RPKPL22.js} +1 -1
  40. package/dist/{chunk-76GLTXI5.js → chunk-72PVZ2A4.js} +2 -2
  41. package/dist/{chunk-AVOYOW2Y.js → chunk-75PTCQAO.js} +1 -1
  42. package/dist/{chunk-7YCF2F5M.js → chunk-77E2UIIR.js} +1 -1
  43. package/dist/{chunk-G4L4JU4I.js → chunk-A4OX3TI6.js} +2 -2
  44. package/dist/{chunk-LQ74BSBR.js → chunk-AD2T3VAJ.js} +2 -2
  45. package/dist/{chunk-BRHSN2TH.js → chunk-AGQNRDYJ.js} +2 -2
  46. package/dist/{chunk-CIWX5UKC.js → chunk-ALQAHCK5.js} +14 -5
  47. package/dist/{chunk-UWZ2OIWM.js → chunk-AZO2YY3U.js} +1 -1
  48. package/dist/{chunk-XD7LQWTU.js → chunk-B2W2CPXF.js} +2 -2
  49. package/dist/{chunk-G7XKDDWE.js → chunk-BB5CZTGW.js} +1 -1
  50. package/dist/{chunk-W7ITBVJE.js → chunk-BJAESOYP.js} +12 -9
  51. package/dist/{chunk-N4KVW3ZI.js → chunk-BSPE37DP.js} +4 -4
  52. package/dist/{chunk-IVIVAE6U.js → chunk-CAD6G75K.js} +2 -2
  53. package/dist/{chunk-CKEOCCMK.js → chunk-CMQZP52Y.js} +22 -18
  54. package/dist/{chunk-3CHUQRFX.js → chunk-DM7WRHB5.js} +1 -1
  55. package/dist/{chunk-MRJRAAB2.js → chunk-DV7RLE6B.js} +3 -3
  56. package/dist/{chunk-EOCFNE53.js → chunk-ENVFGBRD.js} +1 -1
  57. package/dist/chunk-EXA6R6SW.js +24 -0
  58. package/dist/{chunk-MB2NPHAS.js → chunk-G4OGVFUJ.js} +1 -1
  59. package/dist/{chunk-3YIOLQ2Y.js → chunk-G54QPS3F.js} +5 -5
  60. package/dist/{chunk-P77AJDIN.js → chunk-GGSTJZQL.js} +3 -3
  61. package/dist/{chunk-XQ26I3PL.js → chunk-GKLZMLX3.js} +4 -2
  62. package/dist/chunk-GR2E54E6.js +31 -0
  63. package/dist/{chunk-6CXFFUL5.js → chunk-HK4AN44J.js} +2 -2
  64. package/dist/{chunk-DJTC4NK7.js → chunk-IR3JMMFT.js} +55 -4
  65. package/dist/{chunk-7WAEV3OM.js → chunk-IX5QY54Q.js} +2 -2
  66. package/dist/{chunk-XWFPP6LC.js → chunk-J2I2LTJM.js} +2 -2
  67. package/dist/chunk-J3G5KEPY.js +5035 -0
  68. package/dist/{chunk-BY7PZB6H.js → chunk-J3QW55W5.js} +2 -2
  69. package/dist/{chunk-TRA75UKG.js → chunk-JCIPZMKD.js} +3 -3
  70. package/dist/{chunk-CZ5NNJ6H.js → chunk-JFUXZERX.js} +2 -2
  71. package/dist/{chunk-766MOTIZ.js → chunk-JOQR4AP6.js} +5 -1
  72. package/dist/{chunk-FBQKUBMD.js → chunk-JPODNK2G.js} +2 -2
  73. package/dist/{chunk-AWV4F5TS.js → chunk-JWCMOC7O.js} +3 -3
  74. package/dist/{chunk-HQOJ5ZBI.js → chunk-K2JGJUMR.js} +3 -3
  75. package/dist/{chunk-RL5VZ4Y2.js → chunk-KWORPYKW.js} +1 -1
  76. package/dist/{chunk-ZFZXGZTX.js → chunk-L24NAUBS.js} +1 -1
  77. package/dist/{chunk-5G5YR4P3.js → chunk-L4ZMCB52.js} +29 -18
  78. package/dist/{chunk-WM7JSUK2.js → chunk-L6X4ONBM.js} +7 -7
  79. package/dist/{chunk-6KQHLLKI.js → chunk-LHRQP7TF.js} +7 -7
  80. package/dist/{chunk-72K35GRP.js → chunk-LIUJRACZ.js} +1 -1
  81. package/dist/{chunk-OWZAG6N4.js → chunk-LOKTVSTM.js} +1 -1
  82. package/dist/{chunk-BVAPHHMQ.js → chunk-LP7B3JLC.js} +4 -2
  83. package/dist/{chunk-44HJCTWN.js → chunk-M2Y245ET.js} +2 -2
  84. package/dist/{chunk-YEE4A3IV.js → chunk-N32TVQYQ.js} +2 -2
  85. package/dist/{chunk-5UT3R43E.js → chunk-NL4RCLQF.js} +1 -1
  86. package/dist/{chunk-HXQO2Q6T.js → chunk-NNXS4VBX.js} +1 -1
  87. package/dist/{chunk-IODESAJT.js → chunk-NPDBBMXX.js} +1 -1
  88. package/dist/{chunk-QNE3NJO5.js → chunk-O2B3YNUH.js} +3 -3
  89. package/dist/{chunk-4VOK4IOF.js → chunk-OIJHKOV2.js} +26 -9
  90. package/dist/{chunk-XLNV66JK.js → chunk-OK3IQC32.js} +1 -1
  91. package/dist/{chunk-V2BRRTED.js → chunk-P2AOKCAC.js} +16 -9
  92. package/dist/{chunk-MT2Z5YBM.js → chunk-P7DCQJ6N.js} +1 -1
  93. package/dist/{chunk-2VYQ62PP.js → chunk-PC662ORN.js} +8 -3
  94. package/dist/{chunk-Z6AERD5Q.js → chunk-PGM5YXBA.js} +1 -1
  95. package/dist/{chunk-4VYPICIA.js → chunk-PJEXCOCR.js} +12 -4
  96. package/dist/{chunk-Q5QMH5QA.js → chunk-PLVIN7X6.js} +1 -1
  97. package/dist/{chunk-NB2AEFNM.js → chunk-PNZD5LZL.js} +29 -16
  98. package/dist/{chunk-UCQ7ZF47.js → chunk-PWOMLJFV.js} +2 -2
  99. package/dist/{chunk-6QP3ZSJN.js → chunk-PWTWZF3F.js} +1 -1
  100. package/dist/{chunk-KJSCMUST.js → chunk-Q5M3JAME.js} +14 -14
  101. package/dist/{chunk-RXFKSZN2.js → chunk-QCHPM3C2.js} +1 -1
  102. package/dist/{chunk-ATRSQXUV.js → chunk-QXGT6KRX.js} +49 -10
  103. package/dist/{chunk-KIGPWWIE.js → chunk-R5LSL2C7.js} +1 -1
  104. package/dist/{chunk-XRKQJADF.js → chunk-S6AMEEGZ.js} +3 -3
  105. package/dist/{chunk-6KZAQHWH.js → chunk-S7UUJ77M.js} +3 -3
  106. package/dist/{chunk-6P2ZRIKN.js → chunk-SE4WJJ43.js} +1 -1
  107. package/dist/{chunk-QBDOEJX2.js → chunk-SOQNCHO5.js} +170 -175
  108. package/dist/{chunk-FU5TXQAN.js → chunk-SPJX4LQR.js} +11 -11
  109. package/dist/{chunk-MYQ4NH3E.js → chunk-SREJU7NR.js} +1 -1
  110. package/dist/{chunk-Q3IYSP4G.js → chunk-TEEPLD64.js} +2 -2
  111. package/dist/{chunk-B3CSMKM7.js → chunk-TJUJJYJC.js} +1 -1
  112. package/dist/{chunk-DTWIC6JZ.js → chunk-TTEOPEJJ.js} +1 -1
  113. package/dist/{chunk-GPLINKEE.js → chunk-U7LBN2BQ.js} +7 -7
  114. package/dist/{chunk-422TEJIX.js → chunk-U7MRV4RM.js} +7 -7
  115. package/dist/{chunk-SIAPGZ4S.js → chunk-UGYQBRHG.js} +4 -4
  116. package/dist/{chunk-TMAFZJAP.js → chunk-UK5DBUJX.js} +7 -7
  117. package/dist/{chunk-XLPCBE2Q.js → chunk-US2SO6O4.js} +1 -1
  118. package/dist/{chunk-ZFDKOTN4.js → chunk-VPBE4USM.js} +25 -20
  119. package/dist/{chunk-5UXMG5CM.js → chunk-W2BP25U5.js} +1 -1
  120. package/dist/{chunk-7X3UDKJK.js → chunk-WMRHEI4N.js} +2 -2
  121. package/dist/{chunk-PMVFBCE5.js → chunk-WWEFNXQI.js} +2 -2
  122. package/dist/{chunk-UWB44MM4.js → chunk-XDT2DMH6.js} +2 -2
  123. package/dist/{chunk-V5UBOBEG.js → chunk-XS27ELRN.js} +3 -3
  124. package/dist/{chunk-AQZZLJY7.js → chunk-YFHOTWWE.js} +2 -2
  125. package/dist/{chunk-SM4DG7SR.js → chunk-YKAK4ALT.js} +3 -3
  126. package/dist/{chunk-IL5CYE3O.js → chunk-YNAKUHSJ.js} +5 -5
  127. package/dist/{chunk-OMOBWXJL.js → chunk-YQ4LB3XC.js} +2 -2
  128. package/dist/{chunk-CHRHMT6W.js → chunk-ZAD422DC.js} +6 -6
  129. package/dist/{chunk-JMUHTEAS.js → chunk-ZEOPRYFK.js} +42 -27
  130. package/dist/{chunk-QK4HTIXK.js → chunk-ZLWRAHBZ.js} +11 -11
  131. package/dist/{chunk-WE6SM4HJ.js → chunk-ZO5QD2FA.js} +2 -2
  132. package/dist/{chunk-SUCTCDDY.js → chunk-ZUZPIM6R.js} +8 -5
  133. package/dist/{clean-F7Y2JBO5.js → clean-5K2KTH5M.js} +22 -22
  134. package/dist/cli.js +65 -64
  135. package/dist/{cloud-SQSYDRCJ.js → cloud-7O2Q7IHJ.js} +4 -4
  136. package/dist/{cloud-RFM3PYTR.js → cloud-D3WTNTF2.js} +5 -4
  137. package/dist/{cloudrun-3NSTX3CE.js → cloudrun-3HRDMWIS.js} +10 -8
  138. package/dist/{compare-J2K3SBGQ.js → compare-D22HJO5V.js} +35 -35
  139. package/dist/{compiler-DMRQ44TO.js → compiler-RY6IVESI.js} +3 -3
  140. package/dist/{component-FDWARSYD.js → component-B7V7A5AP.js} +3 -3
  141. package/dist/{compositions-CVCE2GJN.js → compositions-HFBRVNYW.js} +14 -14
  142. package/dist/{contactSheet-RJTY6IIV.js → contactSheet-RWRMLRZI.js} +3 -3
  143. package/dist/{curve-C7MZIWFU.js → curve-7PLN35CZ.js} +13 -13
  144. package/dist/{cuts-PN574VHO.js → cuts-ZG7TBYVD.js} +14 -14
  145. package/dist/{delete-V6U3W4CS.js → delete-YL4IMJJZ.js} +8 -7
  146. package/dist/{deploy-R33MSCVV.js → deploy-A6CDKFQZ.js} +2 -2
  147. package/dist/{describeProject-ARFPRWDZ.js → describeProject-VZCHDSWT.js} +8 -9
  148. package/dist/{deterministicFonts-HY5GWGQQ.js → deterministicFonts-DQDB47K3.js} +2 -2
  149. package/dist/{diff-QFMI6N6P.js → diff-PBVZRS5Z.js} +40 -40
  150. package/dist/{dist-XVVBUFOD.js → dist-BU547SVG.js} +2 -3
  151. package/dist/{dist-TI44VPHO.js → dist-FPRADDH6.js} +1 -1
  152. package/dist/{dist-BYY3JRG2.js → dist-HRK4GWLN.js} +11 -12
  153. package/dist/docs/examples.md +4 -0
  154. package/dist/{doctor-CREGMXCV.js → doctor-IFTYCM3E.js} +15 -15
  155. package/dist/{energy-7G2AX2CC.js → energy-ENGAT6Z5.js} +14 -14
  156. package/dist/{events-ISILMISS.js → events-A6SBEKVH.js} +5 -4
  157. package/dist/{events-Y47D7LCD.js → events-AZ5XEDBE.js} +16 -16
  158. package/dist/{events-LF3JDEMV.js → events-CMAXQTDX.js} +6 -5
  159. package/dist/{extract-NXHUAZJQ.js → extract-IE74J44O.js} +15 -15
  160. package/dist/{face-52FKXAW6.js → face-JAPTS7VJ.js} +14 -14
  161. package/dist/{feedback-LDYDOVKP.js → feedback-QCFWXJCD.js} +13 -13
  162. package/dist/{ffmpeg-4YTCWYMO.js → ffmpeg-4YMUUJP7.js} +7 -8
  163. package/dist/{figma-K3XDEK3K.js → figma-C36IECKZ.js} +3 -3
  164. package/dist/fontLocalizeCli.js +11 -12
  165. package/dist/{frames-ZR3SBSEJ.js → frames-ZW26G4UP.js} +16 -16
  166. package/dist/{generate-DDFMXJZV.js → generate-ZXR73M22.js} +27 -27
  167. package/dist/{get-YLVWTD7K.js → get-3KICFW3X.js} +8 -7
  168. package/dist/{gpuPolicy-5L45UYI4.js → gpuPolicy-SBYZLOAU.js} +7 -8
  169. package/dist/{grade-compare-U22AZXLQ.js → grade-compare-DCL3OPKF.js} +35 -35
  170. package/dist/{heifImagePrep-E5UHLK7F.js → heifImagePrep-YQWEIVTC.js} +8 -9
  171. package/dist/{help-6UBS7VEC.js → help-PUL7OS7X.js} +1 -1
  172. package/dist/{history-NQ57D6BT.js → history-GPBKC5DE.js} +12 -11
  173. package/dist/hyperframe.manifest.json +1 -1
  174. package/dist/hyperframe.runtime.iife.js +68 -68
  175. package/dist/hyperframes-player.global.js +3 -3
  176. package/dist/{info-VMAWCCR7.js → info-7I6ZVJ64.js} +10 -10
  177. package/dist/{init-E3E5O4BO.js → init-5MCEGVHR.js} +77 -42
  178. package/dist/{ink-JP2JIJ7O.js → ink-NLYWOBTK.js} +14 -14
  179. package/dist/{inspect-PB7AQSWP.js → inspect-52COR3TB.js} +34 -34
  180. package/dist/{installer-DXVPAZI5.js → installer-ARMP4WLF.js} +5 -5
  181. package/dist/{keyframes-WU52W4WC.js → keyframes-3UMSTEYW.js} +9 -8
  182. package/dist/{lambda-EPKOKH3F.js → lambda-FYHLXH4H.js} +11 -12
  183. package/dist/{layout-QYDZ3OWK.js → layout-QKWAPDPV.js} +34 -34
  184. package/dist/{lint-HA2BXUCU.js → lint-WJCUB2CR.js} +18 -11
  185. package/dist/{lintProject-Z2TEXMY4.js → lintProject-FPLCK7VP.js} +1 -1
  186. package/dist/{list-P4PHY54O.js → list-4FQ4BDXW.js} +8 -7
  187. package/dist/{localPage-GJQ2KHOH.js → localPage-YINL6OV7.js} +7 -8
  188. package/dist/{login-FZ224A3F.js → login-P74VBTVA.js} +8 -7
  189. package/dist/{logout-YACQMRZN.js → logout-EQ2HJDL4.js} +4 -3
  190. package/dist/{look-OMZ2QZO5.js → look-QCOMYMSD.js} +14 -14
  191. package/dist/{manager-5V4O7DY3.js → manager-MKDNQ5KZ.js} +2 -2
  192. package/dist/{manager-PFURXZN7.js → manager-V2ZJSF3Q.js} +8 -9
  193. package/dist/{measure-5UEQ3Z35.js → measure-7IODZ7VY.js} +11 -11
  194. package/dist/{media-treatment-TD6MD2AQ.js → media-treatment-UJIFSAXV.js} +16 -16
  195. package/dist/{media-use-WM7OZFIU.js → media-use-4Y5XRY6B.js} +6 -5
  196. package/dist/{models-RWXD6PFC.js → models-WPBGJ7K6.js} +11 -12
  197. package/dist/{motionShot-VI4JADFG.js → motionShot-DZZXLIIT.js} +17 -18
  198. package/dist/{normalize-audio-BS27PUKV.js → normalize-audio-QS2GZ5IT.js} +11 -11
  199. package/dist/{open-UMB23DN6.js → open-SIWIC52J.js} +16 -15
  200. package/dist/{parakeetRunner-2QB5ZG35.js → parakeetRunner-YUUCCA3S.js} +13 -14
  201. package/dist/{pipeline-3P5DX3DB.js → pipeline-AJKIZGUM.js} +11 -12
  202. package/dist/{play-CF73RCMH.js → play-4EF3JLTU.js} +24 -24
  203. package/dist/{preflight-JQS3EL4O.js → preflight-LSDOTWZ5.js} +9 -10
  204. package/dist/{present-RPBRZSP2.js → present-AOLHT3YC.js} +20 -20
  205. package/dist/{preview-XT5SK5IE.js → preview-WP5VAX3M.js} +28 -26
  206. package/dist/{probe-OPBECP2X.js → probe-WZ3OWMKG.js} +14 -14
  207. package/dist/{producer-YY7LXKRQ.js → producer-C72VSLBR.js} +1 -1
  208. package/dist/{projectConfig-JA6XEBSL.js → projectConfig-LPC7WK4W.js} +7 -7
  209. package/dist/{publication-EOYYVFJS.js → publication-QGBUXKB2.js} +2 -3
  210. package/dist/{publish-TPBXTYN2.js → publish-KA2LPVL7.js} +16 -15
  211. package/dist/{refresh-L5C2HPMC.js → refresh-ARZZRKMP.js} +4 -3
  212. package/dist/{remove-background-DMV2HTVF.js → remove-background-MC6HXEAW.js} +12 -13
  213. package/dist/{render-RXQUFM2X.js → render-2STR3XR5.js} +62 -43
  214. package/dist/{render-WQQ7ZPS5.js → render-IQUQ7EKS.js} +30 -30
  215. package/dist/{render-P5745VYG.js → render-RPMLSL7M.js} +5 -6
  216. package/dist/{render-batch-I6OHT72Q.js → render-batch-2AWWGFNK.js} +5 -6
  217. package/dist/renderSetupWorker.js +3 -3
  218. package/dist/{resolver-CMFVVODA.js → resolver-D3Q6LTIO.js} +5 -5
  219. package/dist/{reverse-5CNVGBVP.js → reverse-62TKSQ7Q.js} +1 -1
  220. package/dist/{run-65M6ECM2.js → run-GQNVIYMD.js} +6 -5
  221. package/dist/{screenshotCapture-HTGXPA7D.js → screenshotCapture-MM5V4H7M.js} +37 -4
  222. package/dist/{sherpa-BPJWQXFB.js → sherpa-ZHAABYE3.js} +12 -13
  223. package/dist/skills/hyperframes/SKILL.md +1 -1
  224. package/dist/skills/hyperframes/references/format.md +1 -1
  225. package/dist/skills/hyperframes/references/path-tracing.md +36 -0
  226. package/dist/skills/hyperframes/references/runtimes.md +1 -1
  227. package/dist/skills/hyperframes/references/storyboard.md +1 -1
  228. package/dist/skills/hyperframes/references/types/3d.md +1 -1
  229. package/dist/skills/media-use/SKILL.md +1 -1
  230. package/dist/skills/media-use/references/media-treatments.md +1 -1
  231. package/dist/skills/media-use/references/setup-providers.md +1 -1
  232. package/dist/skills/media-use/scripts/lib/local-media-search.mjs +6 -2
  233. package/dist/skills/media-use/scripts/lib/local-media-search.test.mjs +23 -0
  234. package/dist/skills/media-use/scripts/lib/telemetry.mjs +6 -1
  235. package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +34 -0
  236. package/dist/{skills-2Z2E7TX7.js → skills-BYABSOL3.js} +10 -9
  237. package/dist/{skillsUpdateCheck-TQHSQ26D.js → skillsUpdateCheck-FKOS3ME7.js} +5 -4
  238. package/dist/{snapshot-NR3BZVZK.js → snapshot-N5O5VEBT.js} +48 -57
  239. package/dist/{src-VZIS3GRG.js → src-272JLFKW.js} +8 -7
  240. package/dist/{src-LIR2WBQL.js → src-O6ITP7WU.js} +10 -11
  241. package/dist/{start-FDWHVOMC.js → start-K2LGEUB5.js} +43 -28
  242. package/dist/{staticProjectServer-L5O2GBZH.js → staticProjectServer-C7A4W2B4.js} +19 -20
  243. package/dist/{status-SMFFS6LS.js → status-USHH6OD5.js} +19 -16
  244. package/dist/studio/assets/{hyperframes-player-bkb0-LEY.js → hyperframes-player-Bb-Fbf5k.js} +1 -1
  245. package/dist/studio/assets/{index-DfsIam9M.js → index-BZuKog_A.js} +137 -137
  246. package/dist/studio/assets/{index-RUPGNyct.css → index-CNZk2EFC.css} +1 -1
  247. package/dist/studio/assets/{index-D5zessN9.js → index-Cap2SGKw.js} +1 -1
  248. package/dist/studio/index.html +2 -2
  249. package/dist/{studio-api-VLBZZ4IB.js → studio-api-FVBB2MVZ.js} +11 -12
  250. package/dist/{studioSelectionClient-FA6XPVIL.js → studioSelectionClient-W2S3H2VO.js} +3 -1
  251. package/dist/{studioServer-CP5HGR3W.js → studioServer-SFN7YUNV.js} +59 -60
  252. package/dist/{sync-NBM7J3IT.js → sync-JUDSPP46.js} +14 -14
  253. package/dist/{synthesize-S3FF5KXC.js → synthesize-GX74JPPZ.js} +2 -2
  254. package/dist/{telemetry-B5OJHH2C.js → telemetry-3DEZK5Q3.js} +6 -5
  255. package/dist/{telemetry-5WZGQCKA.js → telemetry-IXOTZW4E.js} +2 -1
  256. package/dist/{templates-PQZCZZUG.js → templates-3FJRJ6KB.js} +16 -15
  257. package/dist/{timeline-X27NA7UH.js → timeline-P4CS4INR.js} +40 -25
  258. package/dist/{tokens-XS2LOTWB.js → tokens-EFAVVV56.js} +2 -2
  259. package/dist/{transcribe-7M33PLAV.js → transcribe-JKV42B3Q.js} +29 -29
  260. package/dist/{transcribe-YPWD4E63.js → transcribe-YTBSMCFG.js} +10 -11
  261. package/dist/{tts-QRQEYR3Q.js → tts-QW53FBKW.js} +3 -3
  262. package/dist/{update-BRTUI6AI.js → update-6QVOSVBW.js} +11 -10
  263. package/dist/{updateCheck-IW37C7XV.js → updateCheck-2FWJ2X62.js} +4 -3
  264. package/dist/{upgrade-7EF5SHLD.js → upgrade-AUHNDKNP.js} +5 -4
  265. package/dist/{urlDownloader-L6HYQHNK.js → urlDownloader-6ZSSYTOY.js} +6 -7
  266. package/dist/{validate-PQJBBBBK.js → validate-DKEWYJ3V.js} +28 -28
  267. package/dist/{video-DO6SLUPI.js → video-N6AEYBUW.js} +9 -10
  268. package/dist/{voices-VP5LLP5V.js → voices-MT7CM6O5.js} +24 -24
  269. package/dist/warmCheck.js +44 -44
  270. package/dist/warmCheckClient.js +2 -2
  271. package/package.json +1 -1
  272. package/dist/chunk-AFYIYW5D.js +0 -5035
  273. package/dist/chunk-MEJH7VEA.js +0 -63
@@ -12,15 +12,15 @@ import {
12
12
  ensureHfIds,
13
13
  mintHfId,
14
14
  walkCompositionDescendants
15
- } from "./chunk-Q3IYSP4G.js";
15
+ } from "./chunk-TEEPLD64.js";
16
16
  import {
17
17
  isAllowedHtmlAttribute,
18
18
  isSafeAttributeValue,
19
19
  sanitizeRichTextChildren
20
- } from "./chunk-DJTC4NK7.js";
20
+ } from "./chunk-IR3JMMFT.js";
21
21
  import {
22
22
  require_dist
23
- } from "./chunk-CZ5NNJ6H.js";
23
+ } from "./chunk-JFUXZERX.js";
24
24
  import {
25
25
  SPLIT_BOUNDARY_EPSILON_S,
26
26
  readClipTiming,
@@ -137,7 +137,7 @@ function replacementTimelineAssetId(document, element, newSrc) {
137
137
  return buildTimelineAssetId(decodedUrlPath(newSrc), ids);
138
138
  }
139
139
 
140
- // ../studio-server/dist/chunk-LK3ZTZGN.js
140
+ // ../studio-server/dist/chunk-REQUL5L4.js
141
141
  var import_postcss_selector_parser = __toESM(require_dist(), 1);
142
142
  import postcss from "postcss";
143
143
  function parseStyleDecls(style) {
@@ -460,6 +460,12 @@ function probeElementsInSource(source, targets) {
460
460
  function probeElementInSource(source, target) {
461
461
  return probeElementsInSource(source, [target])[0] ?? false;
462
462
  }
463
+ var refused = (html, refusal) => ({
464
+ html,
465
+ matched: false,
466
+ newId: null,
467
+ refusal
468
+ });
463
469
  function resolveElementTiming(el) {
464
470
  const timing = readClipTiming(el);
465
471
  return { start: timing.start ?? 0, duration: timing.duration ?? 0 };
@@ -480,7 +486,7 @@ function isWindowOf(media, row) {
480
486
  function splitElementInHtml(source, target, splitTime, newId, fallbackTiming) {
481
487
  const { document, wrappedFragment } = parseSourceDocument(source);
482
488
  const el = findTargetElement(document, target);
483
- if (!el || !isHTMLElement(el)) return { html: source, matched: false, newId: null };
489
+ if (!el || !isHTMLElement(el)) return refused(source, "target-not-found");
484
490
  const timedMediaSelector = "video[data-start], audio[data-start]";
485
491
  const innerMedia = el.hasAttribute("data-start") || resolveElementTiming(el).duration > 0 || el.matches("[data-composition-src], [data-composition-id]") ? null : el.querySelector(timedMediaSelector);
486
492
  const timedMedia = innerMedia && isWindowOf(resolveElementTiming(innerMedia), fallbackTiming) ? innerMedia : null;
@@ -490,21 +496,22 @@ function splitElementInHtml(source, target, splitTime, newId, fallbackTiming) {
490
496
  const reference = readClipTiming(timed).startExpression;
491
497
  const startsAfter = reference?.kind === "reference" ? reference : null;
492
498
  if (startsAfter) {
493
- if (!fallbackTiming) return { html: source, matched: false, newId: null };
499
+ if (!fallbackTiming) return refused(source, "reference-without-range");
494
500
  start = fallbackTiming.start;
495
501
  }
496
502
  if (duration <= 0 && fallbackTiming && fallbackTiming.duration > 0) {
497
503
  start = fallbackTiming.start;
498
504
  duration = fallbackTiming.duration;
499
505
  }
500
- if (duration <= 0 || splitTime < start + SPLIT_BOUNDARY_EPSILON_S || splitTime > start + duration - SPLIT_BOUNDARY_EPSILON_S) {
501
- return { html: source, matched: false, newId: null };
506
+ if (duration <= 0) return refused(source, "no-duration");
507
+ if (splitTime < start + SPLIT_BOUNDARY_EPSILON_S || splitTime > start + duration - SPLIT_BOUNDARY_EPSILON_S) {
508
+ return refused(source, "outside-clip");
502
509
  }
503
510
  newId = nextUniqueId(document, newId);
504
511
  const firstDuration = splitTime - start;
505
512
  const secondDuration = duration - firstDuration;
506
513
  const clone = el.cloneNode(true);
507
- if (!isHTMLElement(clone)) return { html: source, matched: false, newId: null };
514
+ if (!isHTMLElement(clone)) return refused(source, "target-not-found");
508
515
  clone.setAttribute("id", newId);
509
516
  dedupeClonedCompositionId(document, clone);
510
517
  clone.removeAttribute("data-hf-id");
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-WE42NVH7.js";
19
19
  import {
20
20
  hyperframesCacheDir
21
- } from "./chunk-766MOTIZ.js";
21
+ } from "./chunk-JOQR4AP6.js";
22
22
  import {
23
23
  normalizeErrorMessage
24
24
  } from "./chunk-E63BDV4Z.js";
@@ -8,7 +8,7 @@ import {
8
8
  findFFmpeg,
9
9
  findFFprobe,
10
10
  getFFmpegInstallHint
11
- } from "./chunk-HXQO2Q6T.js";
11
+ } from "./chunk-NNXS4VBX.js";
12
12
 
13
13
  // src/measure/media.ts
14
14
  import { execFileSync } from "child_process";
@@ -17,12 +17,14 @@ import { dirname, join, resolve } from "path";
17
17
  var MAX_BUFFER = 1 << 30;
18
18
  var FFMPEG_QUIET = ["-nostdin", "-v", "error"];
19
19
  var Fix = class extends Error {
20
- constructor(problem, fix) {
20
+ constructor(problem, fix, url) {
21
21
  super(problem);
22
22
  this.fix = fix;
23
+ this.url = url;
23
24
  this.name = "Fix";
24
25
  }
25
26
  fix;
27
+ url;
26
28
  };
27
29
  function ffmpegBin() {
28
30
  const bin = findFFmpeg();
@@ -130,7 +132,10 @@ function readClip(clip, opts = {}) {
130
132
  if (fps) filters.push(`fps=${fps}`);
131
133
  let [w, h] = [clip.width, clip.height];
132
134
  if (roi) {
133
- filters.push(`crop=${roi[2]}:${roi[3]}:${roi[0]}:${roi[1]}`);
135
+ filters.push(
136
+ `format=${gray ? "gray" : "rgb24"}`,
137
+ `crop=${roi[2]}:${roi[3]}:${roi[0]}:${roi[1]}`
138
+ );
134
139
  [w, h] = [roi[2], roi[3]];
135
140
  }
136
141
  if (width && width !== w) {
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  shouldTrack
9
- } from "./chunk-6KZAQHWH.js";
9
+ } from "./chunk-S7UUJ77M.js";
10
10
 
11
11
  // src/telemetry/renderObservability.ts
12
12
  function renderObservabilityTelemetryPayload(observability) {
@@ -4,12 +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
+ hyperframesConfigDir
9
+ } from "./chunk-GR2E54E6.js";
7
10
 
8
11
  // src/utils/runningCli.ts
9
12
  import { mkdirSync, readdirSync, statSync, unlinkSync, writeFileSync } from "fs";
10
- import { homedir } from "os";
11
13
  import { join } from "path";
12
- var RUNNING_DIR = join(homedir(), ".hyperframes", "running");
14
+ var runningDir = () => hyperframesConfigDir("running");
13
15
  var RUNNING_HEARTBEAT_MS = 3e4;
14
16
  var RUNNING_STALE_MS = 10 * 6e4;
15
17
  function isAlive(pid) {
@@ -39,7 +41,9 @@ function pruneExitedClis(dir, own) {
39
41
  }
40
42
  }
41
43
  }
42
- function registerRunningCli(dir = RUNNING_DIR, heartbeatMs = RUNNING_HEARTBEAT_MS) {
44
+ var registered = false;
45
+ var registeredAsRunning = () => registered;
46
+ function registerRunningCli(dir = runningDir(), heartbeatMs = RUNNING_HEARTBEAT_MS) {
43
47
  try {
44
48
  mkdirSync(dir, { recursive: true, mode: 448 });
45
49
  const file = join(dir, String(process.pid));
@@ -60,12 +64,16 @@ function registerRunningCli(dir = RUNNING_DIR, heartbeatMs = RUNNING_HEARTBEAT_M
60
64
  } catch {
61
65
  }
62
66
  });
67
+ registered = true;
63
68
  } catch {
69
+ registered = false;
64
70
  }
71
+ return registered;
65
72
  }
66
73
 
67
74
  export {
68
- RUNNING_DIR,
75
+ runningDir,
69
76
  RUNNING_STALE_MS,
77
+ registeredAsRunning,
70
78
  registerRunningCli
71
79
  };
@@ -11,7 +11,7 @@ import {
11
11
  PRORES_PROFILE_NAMES,
12
12
  appendRateCapArgs,
13
13
  isProresProfile
14
- } from "./chunk-ATRSQXUV.js";
14
+ } from "./chunk-QXGT6KRX.js";
15
15
  import {
16
16
  failUsage
17
17
  } from "./chunk-66W5IWLO.js";
@@ -7,15 +7,15 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ambiguousIssue,
9
9
  loadBrowserScript
10
- } from "./chunk-FU5TXQAN.js";
10
+ } from "./chunk-SPJX4LQR.js";
11
11
  import {
12
12
  auditClipDurations,
13
13
  shouldIgnoreHttpError,
14
14
  shouldIgnoreRequestFailure
15
- } from "./chunk-KJSCMUST.js";
15
+ } from "./chunk-Q5M3JAME.js";
16
16
  import {
17
17
  serveStaticProjectHtml
18
- } from "./chunk-422TEJIX.js";
18
+ } from "./chunk-U7MRV4RM.js";
19
19
  import {
20
20
  AUDIT_SEEK_OPTIONS,
21
21
  DEFAULT_ZOOM_PADDING_PX,
@@ -29,22 +29,22 @@ import {
29
29
  seekCompositionTimeline,
30
30
  seekInPage,
31
31
  waitForPreferredSeekTarget
32
- } from "./chunk-QK4HTIXK.js";
32
+ } from "./chunk-ZLWRAHBZ.js";
33
33
  import {
34
34
  SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
35
35
  withRemainingBudget
36
36
  } from "./chunk-YGGZ23BB.js";
37
37
  import {
38
38
  findStageProxyBox
39
- } from "./chunk-MB2NPHAS.js";
39
+ } from "./chunk-G4OGVFUJ.js";
40
40
  import {
41
41
  STUDIO_PREVIEW_CAPTURE_MODE,
42
42
  STUDIO_PREVIEW_MARK_META
43
- } from "./chunk-5G5YR4P3.js";
43
+ } from "./chunk-L4ZMCB52.js";
44
44
  import {
45
45
  artifactDirectory,
46
46
  finishSnapshotRun
47
- } from "./chunk-XLPCBE2Q.js";
47
+ } from "./chunk-US2SO6O4.js";
48
48
  import {
49
49
  FfmpegUnavailableError,
50
50
  decideMediaProxyEligibility,
@@ -54,21 +54,21 @@ import {
54
54
  resolveProxies,
55
55
  scanProjectMediaCodecMap,
56
56
  shouldPrewarmProxy
57
- } from "./chunk-76GLTXI5.js";
57
+ } from "./chunk-72PVZ2A4.js";
58
58
  import {
59
59
  BrowserCleanupError,
60
60
  closeManagedBrowser,
61
61
  onStopSignal
62
- } from "./chunk-SUFHFBNO.js";
62
+ } from "./chunk-4ECLIUTB.js";
63
63
  import {
64
64
  resolveAutoProxy
65
- } from "./chunk-3CHUQRFX.js";
65
+ } from "./chunk-DM7WRHB5.js";
66
66
  import {
67
67
  DEFAULT_CONFIG
68
- } from "./chunk-ATRSQXUV.js";
68
+ } from "./chunk-QXGT6KRX.js";
69
69
  import {
70
70
  injectTagsAtHeadStart
71
- } from "./chunk-AFYIYW5D.js";
71
+ } from "./chunk-J3G5KEPY.js";
72
72
  import {
73
73
  parseHTML
74
74
  } from "./chunk-GWTIFRF5.js";
@@ -575,8 +575,10 @@ function readContrastMotion() {
575
575
  function activeInRoot(animation, root) {
576
576
  if (animation === root) return true;
577
577
  const parent = animation.parent;
578
- if (!parent || animation.paused() || animation.timeScale() === 0) return false;
578
+ if (!parent || animation.timeScale() === 0) return false;
579
579
  const time = parent.time();
580
+ const seekedWithParent = registered.has(animation) && Math.abs(animation.time() - (time - animation.startTime())) <= 1e-3;
581
+ if (animation.paused() && !seekedWithParent) return false;
580
582
  return animation.startTime() <= time + 1e-6 && time < animation.endTime() - 1e-6 && activeInRoot(parent, root);
581
583
  }
582
584
  function hasInfiniteAncestor(animation, root) {
@@ -602,6 +604,16 @@ function readContrastMotion() {
602
604
  }
603
605
  }
604
606
  }
607
+ function tweensUnder(text) {
608
+ const box = text.getBoundingClientRect();
609
+ return [...byTarget].flatMap(([node, states]) => {
610
+ if (node.contains(text) || text.contains(node)) return [];
611
+ const other = node.getBoundingClientRect();
612
+ const across = Math.min(box.right, other.right) - Math.max(box.left, other.left);
613
+ const down = Math.min(box.bottom, other.bottom) - Math.max(box.top, other.top);
614
+ return across > 0 && down > 0 ? states : [];
615
+ });
616
+ }
605
617
  function sampleOf(element) {
606
618
  if (!(element instanceof Element)) return null;
607
619
  const tweens = [];
@@ -611,6 +623,7 @@ function readContrastMotion() {
611
623
  const own = Number.parseFloat(getComputedStyle(node).opacity);
612
624
  if (Number.isFinite(own)) opacity *= own;
613
625
  }
626
+ tweens.push(...tweensUnder(element));
614
627
  return tweens.length > 0 ? { opacity, tweens } : null;
615
628
  }
616
629
  for (const timeline of timelines) {
@@ -853,7 +866,7 @@ function proxyFailedDraft(message) {
853
866
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
854
867
  }
855
868
  async function loadCheckHtmlWithDeferredMedia(dir) {
856
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-F3TAMJ2J.js");
869
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-5T25BRZU.js");
857
870
  return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
858
871
  }
859
872
  function withCapturePreviewMark(html) {
@@ -916,7 +929,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
916
929
  ).map((draft) => runtimeFinding(draft, rootAnchor))
917
930
  }));
918
931
  const launchSettleMs = Date.now() - launchSettleStart;
919
- const { analyzeClipMediaFit } = await import("./src-VZIS3GRG.js");
932
+ const { analyzeClipMediaFit } = await import("./src-272JLFKW.js");
920
933
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
921
934
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
922
935
  }
@@ -1057,7 +1070,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
1057
1070
  async function captureFindingFrames(project, options, requests, deadline) {
1058
1071
  if (requests.length === 0) return { written: [], inspected: [] };
1059
1072
  const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
1060
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-F3TAMJ2J.js");
1073
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-5T25BRZU.js");
1061
1074
  return withCapturePreviewMark(
1062
1075
  await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
1063
1076
  );
@@ -8,14 +8,14 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-SUCTCDDY.js";
11
+ } from "./chunk-ZUZPIM6R.js";
12
12
  import {
13
13
  publishRegistryFile,
14
14
  registryTargetPath
15
15
  } from "./chunk-T2WJO4XM.js";
16
16
  import {
17
17
  validateVariables
18
- } from "./chunk-DJTC4NK7.js";
18
+ } from "./chunk-IR3JMMFT.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-OFQWTKPW.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-YEE4A3IV.js";
9
+ } from "./chunk-N32TVQYQ.js";
10
10
 
11
11
  // src/registry/compatibility.ts
12
12
  import { compareVersions } from "compare-versions";
@@ -6,23 +6,23 @@ 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-OK3IQC32.js";
10
10
  import {
11
11
  installPageFunctionGuard,
12
12
  resolveCliChromeGpuMode,
13
13
  seekCompositionTimeline,
14
14
  waitForRuntimeReady
15
- } from "./chunk-QK4HTIXK.js";
15
+ } from "./chunk-ZLWRAHBZ.js";
16
16
  import {
17
17
  pageNavigationTimeoutMs
18
- } from "./chunk-QNE3NJO5.js";
18
+ } from "./chunk-O2B3YNUH.js";
19
19
  import {
20
20
  resolveCompositionViewportFromHtml
21
- } from "./chunk-MB2NPHAS.js";
21
+ } from "./chunk-G4OGVFUJ.js";
22
22
  import {
23
23
  launchManagedBrowser,
24
24
  resolveManagedGpuMode
25
- } from "./chunk-SUFHFBNO.js";
25
+ } from "./chunk-4ECLIUTB.js";
26
26
  import {
27
27
  defineCommand
28
28
  } from "./chunk-DL4OD7IA.js";
@@ -31,14 +31,14 @@ import {
31
31
  } from "./chunk-HOCC4J5C.js";
32
32
  import {
33
33
  resolveNaturalMediaTimelineDuration
34
- } from "./chunk-AFYIYW5D.js";
34
+ } from "./chunk-J3G5KEPY.js";
35
35
  import {
36
36
  decodeWellFormedEscapes
37
37
  } from "./chunk-OHQRQE7F.js";
38
38
  import {
39
39
  printDeprecationNotice,
40
40
  withMeta
41
- } from "./chunk-OMOBWXJL.js";
41
+ } from "./chunk-YQ4LB3XC.js";
42
42
  import {
43
43
  failureMessage,
44
44
  jsonFailure
@@ -253,7 +253,7 @@ function extractCompositionErrorsFromLint(lintResult) {
253
253
  async function localizeRemoteAssets(html) {
254
254
  let dir;
255
255
  try {
256
- const { loadProducer } = await import("./producer-YY7LXKRQ.js");
256
+ const { loadProducer } = await import("./producer-C72VSLBR.js");
257
257
  const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
258
258
  dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
259
259
  const assetDir = dir;
@@ -274,10 +274,10 @@ async function localizeRemoteAssets(html) {
274
274
  }
275
275
  async function validateInBrowser(project, opts) {
276
276
  const projectDir = project.dir;
277
- const { bundleToSingleHtml } = await import("./compiler-DMRQ44TO.js");
278
- const { ensureBrowser } = await import("./manager-5V4O7DY3.js");
279
- const { serveStaticProjectHtml } = await import("./staticProjectServer-L5O2GBZH.js");
280
- const { lintProject } = await import("./lintProject-Z2TEXMY4.js");
277
+ const { bundleToSingleHtml } = await import("./compiler-RY6IVESI.js");
278
+ const { ensureBrowser } = await import("./manager-MKDNQ5KZ.js");
279
+ const { serveStaticProjectHtml } = await import("./staticProjectServer-C7A4W2B4.js");
280
+ const { lintProject } = await import("./lintProject-FPLCK7VP.js");
281
281
  const lintResult = await lintProject(projectDir);
282
282
  const compositionErrors = extractCompositionErrorsFromLint(lintResult);
283
283
  const html = await bundleToSingleHtml(projectDir);
@@ -298,9 +298,9 @@ async function validateInBrowser(project, opts) {
298
298
  try {
299
299
  const browser = await ensureBrowser();
300
300
  const puppeteer = await import("puppeteer-core");
301
- const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-VZIS3GRG.js");
301
+ const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-272JLFKW.js");
302
302
  const requestedGpuMode = resolveCliChromeGpuMode();
303
- const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-5L45UYI4.js");
303
+ const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-SBYZLOAU.js");
304
304
  const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
305
305
  const requiresWebGpu = compositionRequiresWebGpu(html);
306
306
  const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  GSAP_CDN_VERSION,
14
14
  gsapCdnDist
15
- } from "./chunk-MEJH7VEA.js";
15
+ } from "./chunk-IR3JMMFT.js";
16
16
 
17
17
  // src/server/readBundleFile.ts
18
18
  import { openSync, fstatSync, closeSync, statSync, readFileSync, constants } from "fs";
@@ -42,7 +42,7 @@ import {
42
42
  renderFrameIdForRenderId,
43
43
  resolveAuthoredTimingWindow,
44
44
  toFps
45
- } from "./chunk-DJTC4NK7.js";
45
+ } from "./chunk-IR3JMMFT.js";
46
46
  import {
47
47
  AUDIO_GROUP_RENDER_ID_ATTR,
48
48
  AUTHORED_SOURCE_BEGIN,
@@ -85,7 +85,7 @@ import {
85
85
  sourceTimeAt,
86
86
  timeAtSourceTime,
87
87
  volumeSegmentSampleCount
88
- } from "./chunk-AFYIYW5D.js";
88
+ } from "./chunk-J3G5KEPY.js";
89
89
  import {
90
90
  redactTelemetryString,
91
91
  redactUrlQueryStrings
@@ -103,7 +103,7 @@ import {
103
103
  } from "./chunk-WE42NVH7.js";
104
104
  import {
105
105
  resolveReferencedStart
106
- } from "./chunk-CZ5NNJ6H.js";
106
+ } from "./chunk-JFUXZERX.js";
107
107
  import {
108
108
  isWithinProjectRoot,
109
109
  resolveProjectRelativeSrc
@@ -128,7 +128,7 @@ import {
128
128
  } from "./chunk-FBN2M2HK.js";
129
129
  import {
130
130
  hyperframesCacheDir
131
- } from "./chunk-766MOTIZ.js";
131
+ } from "./chunk-JOQR4AP6.js";
132
132
  import {
133
133
  fetchGoesThroughEnvProxy
134
134
  } from "./chunk-QBXDU24O.js";
@@ -5443,6 +5443,7 @@ var TRANSIENT_BROWSER_ERROR_PATTERNS = [
5443
5443
  /ECONNREFUSED/i,
5444
5444
  /net::ERR_NETWORK_CHANGED/i,
5445
5445
  /Composition has zero duration[\s\S]*Runtime ready: false/,
5446
+ /Composition setup did not finish/,
5446
5447
  // CDP can refuse a capture call outright with this exact wording; timed-out
5447
5448
  // variants of the same call hit PROTOCOL_TIMEOUT_PATTERNS, checked first.
5448
5449
  // Anchored to this literal reason (not just the CDP method) so an unrelated,
@@ -6401,11 +6402,11 @@ var HF_READY_DIAGNOSTIC_EXPR = `(async function() {
6401
6402
  rejectedBuildReadyKeys: rejectedBuildReadyKeys,
6402
6403
  };
6403
6404
  })()`;
6404
- function buildZeroDurationDiagnostic(diag) {
6405
+ function buildZeroDurationDiagnostic(diag, timeoutMs) {
6405
6406
  const hints = [];
6406
6407
  if (diag.pendingBuildReadyKeys.length > 0) {
6407
6408
  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.`
6409
+ `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
6410
  );
6410
6411
  }
6411
6412
  if (diag.rejectedBuildReadyKeys.length > 0) {
@@ -6416,7 +6417,7 @@ function buildZeroDurationDiagnostic(diag) {
6416
6417
  if (!diag.hasPlayer) {
6417
6418
  hints.push("window.__player was never set: the HyperFrames runtime did not initialize.");
6418
6419
  }
6419
- if (!diag.hasTimeline) {
6420
+ if (diag.renderReady && !diag.hasTimeline) {
6420
6421
  hints.push(
6421
6422
  "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
6423
  );
@@ -6429,7 +6430,9 @@ function buildZeroDurationDiagnostic(diag) {
6429
6430
  if (diag.hasSeek && diag.duration === 0 && diag.renderReady) {
6430
6431
  hints.push("The runtime finished initializing but reported zero duration. This is permanent.");
6431
6432
  }
6432
- return `[FrameCapture] Composition has zero duration.
6433
+ const within = timeoutMs === void 0 ? "" : ` within ${timeoutMs}ms`;
6434
+ const headline = diag.renderReady ? "Composition has zero duration." : `Composition setup did not finish${within}.`;
6435
+ return `[FrameCapture] ${headline}
6433
6436
  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
6437
  ` + (hints.length > 0 ? hints.map((h) => ` \u2192 ${h}`).join("\n") : "");
6435
6438
  }
@@ -6463,7 +6466,7 @@ async function pollHfReady(page, timeoutMs, intervalMs = 100) {
6463
6466
  }
6464
6467
  const diag = await evaluateHfDiagnostic(page);
6465
6468
  if (diag.hasSeek && diag.duration === 0) {
6466
- throw new Error(buildZeroDurationDiagnostic(diag));
6469
+ throw new Error(buildZeroDurationDiagnostic(diag, timeoutMs));
6467
6470
  }
6468
6471
  throw new Error(
6469
6472
  `[FrameCapture] window.__hf not ready after ${timeoutMs}ms. Page must expose window.__hf = { duration, seek }.
@@ -9905,6 +9908,16 @@ function parseFrameRate(frameRateStr) {
9905
9908
  if (!Number.isFinite(rounded)) return 0;
9906
9909
  return rounded > 0 ? rounded : 0.01;
9907
9910
  }
9911
+ function displayRotation(stream) {
9912
+ const turn = Number(
9913
+ stream.side_data_list?.find((data) => data.rotation !== void 0)?.rotation ?? stream.tags?.rotate ?? 0
9914
+ );
9915
+ return Number.isFinite(turn) && turn % 360 !== 0 ? { rotation: turn } : {};
9916
+ }
9917
+ function displaySize(metadata) {
9918
+ const width = Math.round(metadata.width * (metadata.sampleAspectRatio ?? 1));
9919
+ return Math.abs(metadata.rotation ?? 0) % 180 === 90 ? { width: metadata.height, height: width } : { width, height: metadata.height };
9920
+ }
9908
9921
  function parseSampleAspectRatio(value) {
9909
9922
  const [num, den] = (value ?? "").split(":").map(Number);
9910
9923
  if (!num || !den || !Number.isFinite(num) || !Number.isFinite(den)) return void 0;
@@ -10011,8 +10024,11 @@ async function extractMediaMetadata(filePath) {
10011
10024
  const hasAlpha = videoStreamHasAlpha(videoStream);
10012
10025
  const alphaDecoder = hasAlpha ? null : alphaDecoderFor(videoStream.codec_name);
10013
10026
  const alphaPlaneDecoded = alphaDecoder ? await probeDecodedAlphaPlane(filePath, alphaDecoder) : void 0;
10014
- const containerDuration = output?.format.duration ? parseFloat(output.format.duration) : 0;
10027
+ let containerDuration = output?.format.duration ? parseFloat(output.format.duration) : 0;
10015
10028
  const streamDuration = videoStream.duration ? parseFloat(videoStream.duration) : 0;
10029
+ if (!(containerDuration > 0) && !(streamDuration > 0) && !isPng) {
10030
+ containerDuration = await scanPacketDuration(filePath, fps) ?? 0;
10031
+ }
10016
10032
  const parsedStreamStart = videoStream.start_time ? parseFloat(videoStream.start_time) : 0;
10017
10033
  const streamStart = Number.isFinite(parsedStreamStart) ? parsedStreamStart : 0;
10018
10034
  const parsedNbFrames = videoStream.nb_frames ? parseInt(videoStream.nb_frames, 10) : NaN;
@@ -10044,6 +10060,7 @@ async function extractMediaMetadata(filePath) {
10044
10060
  colorRange: videoStream.color_range,
10045
10061
  pixelFormat,
10046
10062
  ...sampleAspectRatio === void 0 ? {} : { sampleAspectRatio },
10063
+ ...displayRotation(videoStream),
10047
10064
  frames
10048
10065
  };
10049
10066
  })();
@@ -10069,6 +10086,27 @@ function readStoredFinalFrame(filePath, metadata) {
10069
10086
  return stored && stored.streamStart === videoStreamStartSeconds && stored.streamDuration === videoStreamDurationSeconds ? stored : void 0;
10070
10087
  });
10071
10088
  }
10089
+ var PACKET_TAIL_CHARS = 64 * 1024;
10090
+ async function scanPacketDuration(filePath, fps) {
10091
+ try {
10092
+ const stdout = await runFfprobe(
10093
+ filePath,
10094
+ [
10095
+ ...["-select_streams", "v:0", "-show_entries", "packet=pts_time,duration_time"],
10096
+ ...["-of", "csv=p=0"]
10097
+ ],
10098
+ void 0,
10099
+ { retainTail: true, maxChars: PACKET_TAIL_CHARS }
10100
+ );
10101
+ const lines = stdout.split("\n");
10102
+ if (stdout.length >= PACKET_TAIL_CHARS) lines.shift();
10103
+ const frame = fps > 0 ? 1 / fps : 0;
10104
+ const ends = lines.map((line) => line.trim().split(",").map(Number)).filter(([pts]) => Number.isFinite(pts)).map(([pts, duration]) => pts + (Number.isFinite(duration) ? duration : frame));
10105
+ return ends.length ? Math.max(...ends) : void 0;
10106
+ } catch {
10107
+ return void 0;
10108
+ }
10109
+ }
10072
10110
  async function extractFinalPacketDuration(filePath, window2, signal) {
10073
10111
  const streamEnd = window2.videoStreamStartSeconds + window2.videoStreamDurationSeconds;
10074
10112
  const intervalStart = Math.max(window2.videoStreamStartSeconds, streamEnd - 1);
@@ -19667,6 +19705,7 @@ export {
19667
19705
  ffmpegSeekSeconds,
19668
19706
  resolvePlayableVideoDuration,
19669
19707
  probeMediaProfile,
19708
+ displaySize,
19670
19709
  extractMediaMetadata,
19671
19710
  extractFinalVideoFrameTimestamp,
19672
19711
  extractVideoMetadata,
@@ -8,7 +8,7 @@ import {
8
8
  ratioOf,
9
9
  readClip,
10
10
  round
11
- } from "./chunk-2VYQ62PP.js";
11
+ } from "./chunk-PC662ORN.js";
12
12
 
13
13
  // src/measure/look.ts
14
14
  var LOOK_FLOOR = { luma: 1, contrast: 1, saturation: 0.01 };
@@ -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-YFHOTWWE.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-6KZAQHWH.js";
13
+ } from "./chunk-S7UUJ77M.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
17
- } from "./chunk-CZ5NNJ6H.js";
17
+ } from "./chunk-JFUXZERX.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-N32TVQYQ.js";
47
47
 
48
48
  // src/telemetry/transport.ts
49
49
  import { spawn } from "child_process";
@@ -11,7 +11,7 @@ import {
11
11
  round,
12
12
  runFfmpeg,
13
13
  videoClip
14
- } from "./chunk-2VYQ62PP.js";
14
+ } from "./chunk-PC662ORN.js";
15
15
 
16
16
  // src/measure/sync.ts
17
17
  var RATE = 16e3;