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,16 +7,16 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveCloudAuthHeaders,
9
9
  resolveCloudBaseUrl
10
- } from "./chunk-BY7PZB6H.js";
10
+ } from "./chunk-J3QW55W5.js";
11
11
  import {
12
12
  readProjectConfig
13
- } from "./chunk-3CHUQRFX.js";
13
+ } from "./chunk-ZAJSIWIC.js";
14
14
  import {
15
15
  normalizeSkillSlug
16
16
  } from "./chunk-HVW7ABXD.js";
17
17
  import {
18
18
  trackBillingCheckoutReturnRefused
19
- } from "./chunk-AQZZLJY7.js";
19
+ } from "./chunk-UE2RAXA7.js";
20
20
 
21
21
  // src/heygen/plan.ts
22
22
  import { randomUUID } from "crypto";
@@ -29,14 +29,30 @@ function mockPlan() {
29
29
  return { plan, credits: Number(credits) || 0, mock: true };
30
30
  }
31
31
  var billingBaseUrl = () => resolveCloudBaseUrl().replace("://api.", "://api2.");
32
- async function readPlan() {
32
+ var timeoutOrStop = (ms, stop) => stop ? AbortSignal.any([stop, AbortSignal.timeout(ms)]) : AbortSignal.timeout(ms);
33
+ async function authHeadersUnlessStopped(stop) {
34
+ if (!stop) return resolveCloudAuthHeaders();
35
+ stop.throwIfAborted();
36
+ const headers = await Promise.race([
37
+ resolveCloudAuthHeaders(),
38
+ new Promise(
39
+ (_, reject) => stop.addEventListener("abort", () => reject(stop.reason), { once: true })
40
+ )
41
+ ]);
42
+ stop.throwIfAborted();
43
+ return headers;
44
+ }
45
+ async function getBilling(route, stop) {
46
+ const res = await fetch(`${billingBaseUrl()}/v1/payment/hyperframes/${route}`, {
47
+ headers: { ...await authHeadersUnlessStopped(stop), accept: "application/json" },
48
+ signal: timeoutOrStop(15e3, stop)
49
+ });
50
+ const body = await res.json().catch(() => null);
51
+ return { res, data: isRecord(body) && isRecord(body.data) ? body.data : body };
52
+ }
53
+ async function readPlan(stop) {
33
54
  try {
34
- const res = await fetch(`${billingBaseUrl()}/v1/payment/hyperframes/subscription`, {
35
- headers: { ...await resolveCloudAuthHeaders(), accept: "application/json" },
36
- signal: AbortSignal.timeout(15e3)
37
- });
38
- const body = await res.json().catch(() => null);
39
- const data = isRecord(body) && isRecord(body.data) ? body.data : body;
55
+ const { res, data } = await getBilling("subscription", stop);
40
56
  if (!res.ok || !isRecord(data)) return mockPlan();
41
57
  const usage = isRecord(data.usage) ? data.usage : {};
42
58
  const sub = isRecord(data.subscription) ? data.subscription : null;
@@ -94,14 +110,9 @@ async function pageUrl(kind, fields = {}) {
94
110
  return url.toString();
95
111
  }
96
112
  var int = (v) => Number.isSafeInteger(v) && v > 0 ? v : void 0;
97
- async function readOffer() {
113
+ async function readOffer(stop) {
98
114
  try {
99
- const res = await fetch(`${billingBaseUrl()}/v1/payment/hyperframes/plans`, {
100
- headers: { ...await resolveCloudAuthHeaders(), accept: "application/json" },
101
- signal: AbortSignal.timeout(15e3)
102
- });
103
- const body = await res.json().catch(() => null);
104
- const data = isRecord(body) && isRecord(body.data) ? body.data : body;
115
+ const { res, data } = await getBilling("plans", stop);
105
116
  if (!res.ok || !isRecord(data)) return {};
106
117
  const plans = Array.isArray(data.plans) ? data.plans.filter(isRecord) : [];
107
118
  const pro = plans.find((p) => p.plan_name === "pro" && p.period === "month");
@@ -166,32 +177,36 @@ async function createCheckout(kind, offer, missing, source = {}) {
166
177
  "Credits are not on sale for this account right now."
167
178
  );
168
179
  if (addon)
169
- return postCheckout("addon.checkout", {
170
- quantity: addonBlocks(addon, missing),
171
- currency: addon.currency,
172
- unit_amount: addon.unitAmount
173
- });
180
+ return postCheckout(
181
+ "addon.checkout",
182
+ {
183
+ quantity: addonBlocks(addon, missing),
184
+ currency: addon.currency,
185
+ unit_amount: addon.unitAmount
186
+ },
187
+ source.stop
188
+ );
174
189
  const pro = () => ({ plan_name: "pro", period: "month", request_id: randomUUID() });
175
190
  const returnUrl = cliCheckoutReturn(checkoutSkill(source.skill), source.baseline);
176
191
  try {
177
- return await postCheckout("checkout", { ...pro(), return_url: returnUrl });
192
+ return await postCheckout("checkout", { ...pro(), return_url: returnUrl }, source.stop);
178
193
  } catch (error) {
179
194
  const refused = error instanceof CheckoutError && error.reason === "checkout_rejected";
180
195
  if (!refused || !RETURN_REFUSED.test(error.message)) throw error;
181
196
  trackBillingCheckoutReturnRefused();
182
- return postCheckout("checkout", pro());
197
+ return postCheckout("checkout", pro(), source.stop);
183
198
  }
184
199
  }
185
- async function postCheckout(route, body) {
200
+ async function postCheckout(route, body, stop) {
186
201
  const res = await fetch(`${billingBaseUrl()}/v1/payment/hyperframes/${route}`, {
187
202
  method: "POST",
188
203
  headers: {
189
- ...await resolveCloudAuthHeaders(),
204
+ ...await authHeadersUnlessStopped(stop),
190
205
  accept: "application/json",
191
206
  "content-type": "application/json"
192
207
  },
193
208
  body: JSON.stringify(body),
194
- signal: AbortSignal.timeout(2e4)
209
+ signal: timeoutOrStop(2e4, stop)
195
210
  }).catch((error) => {
196
211
  throw new CheckoutError(
197
212
  "checkout_network",
@@ -8,11 +8,11 @@ import {
8
8
  normalizeRelPath,
9
9
  resolveLocalImageSourcePath,
10
10
  splitUrlSuffix
11
- } from "./chunk-FBQKUBMD.js";
11
+ } from "./chunk-M4HDVKHG.js";
12
12
  import {
13
13
  runFfmpeg,
14
14
  runFfprobe
15
- } from "./chunk-ATRSQXUV.js";
15
+ } from "./chunk-NMQWKWV4.js";
16
16
  import {
17
17
  renameWithRetry
18
18
  } from "./chunk-YWRUQ7XZ.js";
@@ -28,6 +28,10 @@ function hintCode(err) {
28
28
  }
29
29
  return err.code;
30
30
  }
31
+ function networkCode(err) {
32
+ const code = err.cause?.code;
33
+ return typeof code === "string" && /^[A-Z][A-Z0-9_]{2,40}$/.test(code) ? `code: ${code}` : void 0;
34
+ }
31
35
  function reportApiError(stage, err, options = {}) {
32
36
  const hints = { ...ERROR_CODE_HINTS, ...options.extraHints };
33
37
  if (err instanceof HyperframesApiError) {
@@ -51,7 +55,7 @@ function reportApiError(stage, err, options = {}) {
51
55
  failCommand();
52
56
  }
53
57
  if (err instanceof Error) {
54
- errorBox(stage, err.message, options.suggestion);
58
+ errorBox(stage, err.message, options.suggestion ?? networkCode(err));
55
59
  failCommand();
56
60
  }
57
61
  errorBox(stage, String(err), options.suggestion);
@@ -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-UYMUPV7Q.js";
11
11
  import {
12
12
  auditClipDurations,
13
13
  shouldIgnoreHttpError,
14
14
  shouldIgnoreRequestFailure
15
- } from "./chunk-KJSCMUST.js";
15
+ } from "./chunk-GQORIM44.js";
16
16
  import {
17
17
  serveStaticProjectHtml
18
- } from "./chunk-422TEJIX.js";
18
+ } from "./chunk-LHQZYLVO.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-BIY3M2WW.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-KVANP54U.js";
40
40
  import {
41
41
  STUDIO_PREVIEW_CAPTURE_MODE,
42
42
  STUDIO_PREVIEW_MARK_META
43
- } from "./chunk-5G5YR4P3.js";
43
+ } from "./chunk-3IMHFJDG.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-IIXZLGSI.js";
58
58
  import {
59
59
  BrowserCleanupError,
60
60
  closeManagedBrowser,
61
61
  onStopSignal
62
- } from "./chunk-SUFHFBNO.js";
62
+ } from "./chunk-N6YQHI3Z.js";
63
63
  import {
64
64
  resolveAutoProxy
65
- } from "./chunk-3CHUQRFX.js";
65
+ } from "./chunk-ZAJSIWIC.js";
66
66
  import {
67
67
  DEFAULT_CONFIG
68
- } from "./chunk-ATRSQXUV.js";
68
+ } from "./chunk-NMQWKWV4.js";
69
69
  import {
70
70
  injectTagsAtHeadStart
71
- } from "./chunk-AFYIYW5D.js";
71
+ } from "./chunk-VBEP277H.js";
72
72
  import {
73
73
  parseHTML
74
74
  } from "./chunk-GWTIFRF5.js";
@@ -110,17 +110,30 @@ var CheckCopiesUnfinishedError = class extends Error {
110
110
  );
111
111
  }
112
112
  };
113
+ var CheckBudgetError = class extends Error {
114
+ constructor(budgetMs, where) {
115
+ super(
116
+ `Check reached its --budget of ${budgetMs / 1e3} s${where || "."} The report holds what it found before then.`
117
+ );
118
+ }
119
+ };
113
120
  var CheckStoppedError = class extends Error {
114
121
  constructor(signal) {
115
122
  super(`Check stopped before finishing (${signal}).`);
116
123
  }
117
124
  };
118
125
  var CheckDeadline = class {
119
- constructor(idleMs = CHECK_IDLE_MS) {
126
+ constructor(idleMs = CHECK_IDLE_MS, budget) {
120
127
  this.idleMs = idleMs;
121
128
  this.expiry = new Promise((_, reject) => {
122
129
  this.rejectExpiry = reject;
123
130
  });
131
+ this.expiry.catch(() => void 0);
132
+ this.budgetTimer = budget && setTimeout(
133
+ () => this.expire(new CheckBudgetError(budget.ms, this.where())),
134
+ Math.max(0, budget.stopAt - Date.now())
135
+ );
136
+ this.stopAt = budget?.stopAt;
124
137
  }
125
138
  idleMs;
126
139
  abort = new AbortController();
@@ -136,6 +149,11 @@ var CheckDeadline = class {
136
149
  work;
137
150
  spent = /* @__PURE__ */ new Map();
138
151
  partials = [];
152
+ budgetTimer;
153
+ stopAt;
154
+ remainingMs() {
155
+ return this.stopAt === void 0 ? void 0 : Math.max(0, this.stopAt - Date.now());
156
+ }
139
157
  keepPartial = (read) => {
140
158
  this.partials.push(read);
141
159
  };
@@ -154,13 +172,17 @@ var CheckDeadline = class {
154
172
  this.spent.set(phase, (this.spent.get(phase) ?? 0) + ms);
155
173
  }
156
174
  describe() {
175
+ const where = this.where();
176
+ return where && ` (no progress for ${this.idleMs / 1e3} s after Chrome was ready),${where}`;
177
+ }
178
+ where() {
157
179
  if (!this.work) return "";
158
180
  const open = Date.now() - this.work.since;
159
181
  const parts = [...this.spent].map(([phase, ms]) => {
160
182
  const seconds = ((phase === this.work?.phase ? ms + open : ms) / 1e3).toFixed(1);
161
183
  return `${PHASE_LABELS[phase]} ${seconds}${BEFORE_DEADLINE.has(phase) ? " (before the deadline)" : ""}`;
162
184
  });
163
- return ` (no progress for ${this.idleMs / 1e3} s after Chrome was ready), while ${PHASE_LABELS[this.work.phase]}${this.work.detail ? ` (${this.work.detail})` : ""}. Seconds per phase: ${parts.join(", ")}.`;
185
+ return ` while ${PHASE_LABELS[this.work.phase]}${this.work.detail ? ` (${this.work.detail})` : ""}. Seconds per phase: ${parts.join(", ")}.`;
164
186
  }
165
187
  start = () => {
166
188
  if (this.phase !== "waiting") return;
@@ -177,6 +199,7 @@ var CheckDeadline = class {
177
199
  }
178
200
  expire(error) {
179
201
  clearTimeout(this.timer);
202
+ clearTimeout(this.budgetTimer);
180
203
  this.expired = error;
181
204
  this.rejectExpiry(error);
182
205
  this.abort.abort(error);
@@ -220,6 +243,7 @@ var CheckDeadline = class {
220
243
  async close() {
221
244
  this.phase = "closed";
222
245
  clearTimeout(this.timer);
246
+ clearTimeout(this.budgetTimer);
223
247
  const closes = await Promise.allSettled([...this.browsers].map(closeManagedBrowser));
224
248
  const errors = closes.filter((entry) => entry.status === "rejected").map((entry) => entry.reason);
225
249
  try {
@@ -575,8 +599,10 @@ function readContrastMotion() {
575
599
  function activeInRoot(animation, root) {
576
600
  if (animation === root) return true;
577
601
  const parent = animation.parent;
578
- if (!parent || animation.paused() || animation.timeScale() === 0) return false;
602
+ if (!parent || animation.timeScale() === 0) return false;
579
603
  const time = parent.time();
604
+ const seekedWithParent = registered.has(animation) && Math.abs(animation.time() - (time - animation.startTime())) <= 1e-3;
605
+ if (animation.paused() && !seekedWithParent) return false;
580
606
  return animation.startTime() <= time + 1e-6 && time < animation.endTime() - 1e-6 && activeInRoot(parent, root);
581
607
  }
582
608
  function hasInfiniteAncestor(animation, root) {
@@ -602,6 +628,16 @@ function readContrastMotion() {
602
628
  }
603
629
  }
604
630
  }
631
+ function tweensUnder(text) {
632
+ const box = text.getBoundingClientRect();
633
+ return [...byTarget].flatMap(([node, states]) => {
634
+ if (node.contains(text) || text.contains(node)) return [];
635
+ const other = node.getBoundingClientRect();
636
+ const across = Math.min(box.right, other.right) - Math.max(box.left, other.left);
637
+ const down = Math.min(box.bottom, other.bottom) - Math.max(box.top, other.top);
638
+ return across > 0 && down > 0 ? states : [];
639
+ });
640
+ }
605
641
  function sampleOf(element) {
606
642
  if (!(element instanceof Element)) return null;
607
643
  const tweens = [];
@@ -611,6 +647,7 @@ function readContrastMotion() {
611
647
  const own = Number.parseFloat(getComputedStyle(node).opacity);
612
648
  if (Number.isFinite(own)) opacity *= own;
613
649
  }
650
+ tweens.push(...tweensUnder(element));
614
651
  return tweens.length > 0 ? { opacity, tweens } : null;
615
652
  }
616
653
  for (const timeline of timelines) {
@@ -853,7 +890,7 @@ function proxyFailedDraft(message) {
853
890
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
854
891
  }
855
892
  async function loadCheckHtmlWithDeferredMedia(dir) {
856
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-F3TAMJ2J.js");
893
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-F557ZVFL.js");
857
894
  return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
858
895
  }
859
896
  function withCapturePreviewMark(html) {
@@ -869,7 +906,12 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
869
906
  findings: drafts,
870
907
  failedPaths,
871
908
  limits
872
- } = await preResolveHostileMediaProxies(project.dir, html, options.autoProxy, COPY_BUDGET_MS);
909
+ } = await preResolveHostileMediaProxies(
910
+ project.dir,
911
+ html,
912
+ options.autoProxy,
913
+ Math.min(COPY_BUDGET_MS, deadline?.remainingMs() ?? COPY_BUDGET_MS)
914
+ );
873
915
  deadline?.enter("launch");
874
916
  const server = await serveStaticProjectHtml(
875
917
  project.dir,
@@ -916,7 +958,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
916
958
  ).map((draft) => runtimeFinding(draft, rootAnchor))
917
959
  }));
918
960
  const launchSettleMs = Date.now() - launchSettleStart;
919
- const { analyzeClipMediaFit } = await import("./src-VZIS3GRG.js");
961
+ const { analyzeClipMediaFit } = await import("./src-R2QH27BL.js");
920
962
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
921
963
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
922
964
  }
@@ -1057,7 +1099,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
1057
1099
  async function captureFindingFrames(project, options, requests, deadline) {
1058
1100
  if (requests.length === 0) return { written: [], inspected: [] };
1059
1101
  const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
1060
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-F3TAMJ2J.js");
1102
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-F557ZVFL.js");
1061
1103
  return withCapturePreviewMark(
1062
1104
  await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
1063
1105
  );
@@ -2362,6 +2404,7 @@ export {
2362
2404
  idleWindow,
2363
2405
  CheckDeadlineError,
2364
2406
  CheckCopiesUnfinishedError,
2407
+ CheckBudgetError,
2365
2408
  CheckStoppedError,
2366
2409
  CheckDeadline,
2367
2410
  beginCheckSnapshots,
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCuts
9
- } from "./chunk-MYQ4NH3E.js";
9
+ } from "./chunk-LV3MNSL7.js";
10
10
  import {
11
11
  grey,
12
12
  readClip,
13
13
  round,
14
14
  videoClip,
15
15
  writeImage
16
- } from "./chunk-2VYQ62PP.js";
16
+ } from "./chunk-VR7E3QEQ.js";
17
17
 
18
18
  // src/measure/events.ts
19
19
  var EVENT_W = 160;
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  quantizePreviewProxyBox
9
- } from "./chunk-DJTC4NK7.js";
9
+ } from "./chunk-HUZ3GL3F.js";
10
10
  import {
11
11
  parseHTML
12
12
  } from "./chunk-GWTIFRF5.js";
@@ -25,7 +25,7 @@ import {
25
25
  resolveClientId,
26
26
  revokeEndpoint,
27
27
  tokenEndpoint
28
- } from "./chunk-BVAPHHMQ.js";
28
+ } from "./chunk-LP7B3JLC.js";
29
29
  import {
30
30
  c
31
31
  } from "./chunk-HOCC4J5C.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeAudioTrack
9
- } from "./chunk-72K35GRP.js";
9
+ } from "./chunk-4R63FXGU.js";
10
10
  import {
11
11
  resolveWithinProject
12
12
  } from "./chunk-ALVXFXUG.js";
@@ -14,7 +14,7 @@ import {
14
14
  MAX_AUDIO_GAIN_DB,
15
15
  formatAudioGain,
16
16
  isAudibleVideoElement
17
- } from "./chunk-AFYIYW5D.js";
17
+ } from "./chunk-VBEP277H.js";
18
18
  import {
19
19
  findFfBinary
20
20
  } from "./chunk-HYRPH6LL.js";
@@ -27,7 +27,7 @@ import {
27
27
  decodeAuthoredAttribute
28
28
  } from "./chunk-CUCP7FKH.js";
29
29
 
30
- // ../studio-server/dist/chunk-H4NVSSDJ.js
30
+ // ../studio-server/dist/chunk-NEGQQZNI.js
31
31
  import { execFile } from "child_process";
32
32
  import { isAbsolute, relative, resolve } from "path";
33
33
  import { promisify } from "util";
@@ -288,30 +288,24 @@ function audioNormalizationPlan(referenceTrack, targetTrack) {
288
288
  }
289
289
  const referenceLufs = referenceTrack.integratedLufs + gainDb(referenceTrack.volume);
290
290
  const targetLufs = targetTrack.integratedLufs + gainDb(targetTrack.volume);
291
- const wantedGainDb = referenceLufs - targetTrack.integratedLufs;
292
- if (wantedGainDb > MAX_AUDIO_GAIN_DB + 1e-9) {
293
- throw new Error(
294
- `Matching #${targetTrack.id} needs ${wantedGainDb.toFixed(1)} dB, beyond the +${MAX_AUDIO_GAIN_DB} dB authoring ceiling. A gap this large belongs in the source file, not the mixer: mixer gain raises the noise floor with the signal. Normalize ${targetTrack.id}'s asset offline (e.g. ffmpeg loudnorm), or lower #${referenceTrack.id} instead.`
295
- );
296
- }
297
- const volume = 10 ** (wantedGainDb / 20);
298
- const projectedTruePeakDbfs = targetTrack.truePeakDbfs + wantedGainDb;
299
- if (projectedTruePeakDbfs > 0) {
300
- throw new Error(
301
- `Matching #${targetTrack.id} would clip at +${projectedTruePeakDbfs.toFixed(1)} dBFS; limit or preprocess the source first`
302
- );
303
- }
291
+ const previousGainDb = gainDb(targetTrack.volume);
292
+ const { appliedGainDb, limitedBy } = fittedGain(
293
+ referenceLufs - targetTrack.integratedLufs,
294
+ targetTrack.truePeakDbfs,
295
+ previousGainDb
296
+ );
304
297
  return {
305
298
  referenceId: referenceTrack.id,
306
299
  targetId: targetTrack.id,
307
300
  referenceLufs,
308
301
  targetLufs,
309
302
  previousVolume: targetTrack.volume,
310
- volume,
311
- gainDb: wantedGainDb,
312
- changeDb: wantedGainDb - gainDb(targetTrack.volume),
313
- projectedLufs: targetTrack.integratedLufs + wantedGainDb,
314
- projectedTruePeakDbfs
303
+ volume: 10 ** (appliedGainDb / 20),
304
+ gainDb: appliedGainDb,
305
+ changeDb: appliedGainDb - previousGainDb,
306
+ projectedLufs: targetTrack.integratedLufs + appliedGainDb,
307
+ projectedTruePeakDbfs: targetTrack.truePeakDbfs + appliedGainDb,
308
+ limitedBy
315
309
  };
316
310
  }
317
311
  function updateAudioVolume(html, id, volume) {
@@ -374,19 +368,12 @@ function absoluteLoudnessPlan(track, targetLufs = DEFAULT_TARGET_LUFS) {
374
368
  if (track.integratedLufs <= SILENCE_LUFS) {
375
369
  throw new Error(`#${track.id} is silent in the played window; there is nothing to normalize`);
376
370
  }
377
- const wantedGainDb = targetLufs - track.integratedLufs;
378
- const peakRoomDb = NORMALIZE_TRUE_PEAK_CEILING_DBFS - track.truePeakDbfs;
379
- const limits = [
380
- [null, wantedGainDb],
381
- ["gain-ceiling", MAX_AUDIO_GAIN_DB],
382
- ["true-peak", peakRoomDb]
383
- ];
384
- const [limitedBy, limitedGainDb] = limits.reduce(
385
- (lowest, candidate) => candidate[1] < lowest[1] - 1e-9 ? candidate : lowest
386
- );
387
371
  const previousGainDb = track.volume > 0 ? gainDb(track.volume) : 0;
388
- const limitCannotCutAWantedBoost = wantedGainDb > previousGainDb;
389
- const appliedGainDb = limitCannotCutAWantedBoost ? Math.max(limitedGainDb, previousGainDb) : limitedGainDb;
372
+ const { appliedGainDb, limitedBy } = fittedGain(
373
+ targetLufs - track.integratedLufs,
374
+ track.truePeakDbfs,
375
+ previousGainDb
376
+ );
390
377
  return {
391
378
  targetId: track.id,
392
379
  targetLufs,
@@ -400,6 +387,18 @@ function absoluteLoudnessPlan(track, targetLufs = DEFAULT_TARGET_LUFS) {
400
387
  limitedBy
401
388
  };
402
389
  }
390
+ function fittedGain(wantedGainDb, truePeakDbfs, previousGainDb) {
391
+ const limits = [
392
+ [null, wantedGainDb],
393
+ ["gain-ceiling", MAX_AUDIO_GAIN_DB],
394
+ ["true-peak", NORMALIZE_TRUE_PEAK_CEILING_DBFS - truePeakDbfs]
395
+ ];
396
+ const [limitedBy, limitedGainDb] = limits.reduce(
397
+ (lowest, candidate) => candidate[1] < lowest[1] - 1e-9 ? candidate : lowest
398
+ );
399
+ const appliedGainDb = wantedGainDb > previousGainDb ? Math.max(limitedGainDb, previousGainDb) : limitedGainDb;
400
+ return { appliedGainDb, limitedBy };
401
+ }
403
402
  function absoluteOutcome(plan, tolerance) {
404
403
  if (Math.abs(plan.changeDb) > tolerance) return "change";
405
404
  return Math.abs(plan.projectedLufs - plan.targetLufs) <= tolerance ? "matched" : "held";
@@ -11,11 +11,11 @@ import {
11
11
  distroLabel,
12
12
  getFFmpegInstallHint,
13
13
  parseLddMissingLibs
14
- } from "./chunk-HXQO2Q6T.js";
14
+ } from "./chunk-RPLMK4WC.js";
15
15
  import {
16
16
  ensureBrowser,
17
17
  findBrowser
18
- } from "./chunk-MT2Z5YBM.js";
18
+ } from "./chunk-P7DCQJ6N.js";
19
19
  import {
20
20
  runCancellableProcess
21
21
  } from "./chunk-X6JUUQCM.js";
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findStageProxyBox
9
- } from "./chunk-MB2NPHAS.js";
9
+ } from "./chunk-KVANP54U.js";
10
10
  import {
11
11
  getMimeType,
12
12
  injectMediaCodecMapIntoHtml
13
- } from "./chunk-5G5YR4P3.js";
13
+ } from "./chunk-3IMHFJDG.js";
14
14
  import {
15
15
  PROXY_VARIANT_CONFIG,
16
16
  ProxyCapacityError,
@@ -21,23 +21,23 @@ import {
21
21
  recordProxyRequest,
22
22
  resolveProxy,
23
23
  resolveProxyVariantRequest
24
- } from "./chunk-76GLTXI5.js";
24
+ } from "./chunk-IIXZLGSI.js";
25
25
  import {
26
26
  resolveAutoProxy
27
- } from "./chunk-3CHUQRFX.js";
27
+ } from "./chunk-ZAJSIWIC.js";
28
28
  import {
29
29
  openRangeEnd
30
30
  } from "./chunk-VEIGTKYZ.js";
31
31
  import {
32
32
  listenOnBrowserSafePort
33
- } from "./chunk-ATRSQXUV.js";
33
+ } from "./chunk-NMQWKWV4.js";
34
34
  import {
35
35
  stripSdrPngColourTags
36
- } from "./chunk-Q3IYSP4G.js";
36
+ } from "./chunk-4TW62PDH.js";
37
37
  import {
38
38
  PREVIEW_PROXY_BOX_PARAM,
39
39
  parsePreviewProxyBox
40
- } from "./chunk-DJTC4NK7.js";
40
+ } from "./chunk-HUZ3GL3F.js";
41
41
  import {
42
42
  decodeWellFormedEscapes
43
43
  } from "./chunk-OHQRQE7F.js";
@@ -4,6 +4,9 @@ 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/auth/errors.ts
9
12
  var AuthError = class extends Error {
@@ -107,11 +110,10 @@ function assertOAuthIdentity(tokens) {
107
110
  }
108
111
 
109
112
  // src/auth/paths.ts
110
- import { homedir } from "os";
111
113
  import { join } from "path";
112
114
  var CREDENTIAL_FILENAME = "credentials";
113
115
  function configDir() {
114
- const root = process.env["HYPERFRAMES_CONFIG_DIR"] || join(homedir(), ".hyperframes");
116
+ const root = hyperframesConfigDir();
115
117
  return oauthEnvironment() === "dev" ? join(root, "dev") : root;
116
118
  }
117
119
  function credentialPath() {
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  decode,
9
9
  meanAbsDiff
10
- } from "./chunk-2VYQ62PP.js";
10
+ } from "./chunk-VR7E3QEQ.js";
11
11
 
12
12
  // src/measure/cuts.ts
13
13
  var SIG_W = 64;
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  setHostHandlesSigint
9
- } from "./chunk-ATRSQXUV.js";
9
+ } from "./chunk-NMQWKWV4.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -8,13 +8,13 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-ATRSQXUV.js";
11
+ } from "./chunk-NMQWKWV4.js";
12
12
  import {
13
13
  renameWithRetry
14
14
  } from "./chunk-YWRUQ7XZ.js";
15
15
  import {
16
16
  parseAnimatedGifMetadata
17
- } from "./chunk-DJTC4NK7.js";
17
+ } from "./chunk-HUZ3GL3F.js";
18
18
  import {
19
19
  parseHTML
20
20
  } from "./chunk-GWTIFRF5.js";