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
@@ -13,10 +13,33 @@ import { createHash } from "crypto";
13
13
  import { createReadStream } from "fs";
14
14
  import { request as httpRequest } from "http";
15
15
  import { request as httpsRequest } from "https";
16
+ import { Readable } from "stream";
16
17
  import { pipeline } from "stream/promises";
17
18
  var COMPLETE_MAX_RETRIES = 5;
18
19
  var COMPLETE_RETRY_BASE_MS = 500;
19
20
  var CONTENT_TYPE_ZIP = "application/zip";
21
+ var putTimings = { stallMs: 6e4, retries: 3, backoffMs: 1e3 };
22
+ var PutRefusedError = class extends Error {
23
+ constructor(status, message) {
24
+ super(message);
25
+ this.status = status;
26
+ }
27
+ status;
28
+ };
29
+ function isFinal(err) {
30
+ const code = err.code;
31
+ return err instanceof PutRefusedError && err.status < 500 || code === "ENOENT" || code === "EACCES";
32
+ }
33
+ async function putWithRetry(attempt, signal) {
34
+ for (let tried = 0; ; tried++) {
35
+ try {
36
+ return await attempt();
37
+ } catch (err) {
38
+ if (isFinal(err) || signal?.aborted || tried >= putTimings.retries) throw err;
39
+ await sleep(putTimings.backoffMs * 2 ** tried, signal);
40
+ }
41
+ }
42
+ }
20
43
  function sha256Hex(bytes) {
21
44
  return createHash("sha256").update(bytes).digest("hex");
22
45
  }
@@ -25,8 +48,11 @@ async function sha256OfFile(path) {
25
48
  for await (const chunk of createReadStream(path)) hash.update(chunk);
26
49
  return hash.digest("hex");
27
50
  }
28
- function sleep(ms) {
29
- return new Promise((r) => setTimeout(r, ms));
51
+ function sleep(ms, signal) {
52
+ return new Promise((resolve) => {
53
+ const timer = setTimeout(resolve, ms);
54
+ signal?.addEventListener("abort", () => (clearTimeout(timer), resolve()), { once: true });
55
+ });
30
56
  }
31
57
  function normalizeUploadHeaders(raw) {
32
58
  const out = {};
@@ -41,7 +67,12 @@ async function putBytesToPresignedUrl(fetchImpl, uploadUrl, uploadHeaders, body,
41
67
  "content-type": contentType,
42
68
  ...normalizeUploadHeaders(uploadHeaders)
43
69
  };
44
- if (!(body instanceof Uint8Array)) return putFileToPresignedUrl(uploadUrl, headers, body, signal);
70
+ return putWithRetry(
71
+ () => fetchImpl && body instanceof Uint8Array ? putBytesOnce(fetchImpl, uploadUrl, headers, body, signal) : putStreamToPresignedUrl(uploadUrl, headers, body, signal),
72
+ signal
73
+ );
74
+ }
75
+ async function putBytesOnce(fetchImpl, uploadUrl, headers, body, signal) {
45
76
  const res = await fetchImpl(uploadUrl, {
46
77
  method: "PUT",
47
78
  signal,
@@ -50,29 +81,62 @@ async function putBytesToPresignedUrl(fetchImpl, uploadUrl, uploadHeaders, body,
50
81
  });
51
82
  if (!res.ok) {
52
83
  const detail = await res.text().catch(() => "");
53
- throw new Error(
84
+ throw new PutRefusedError(
85
+ res.status,
54
86
  `Direct upload PUT failed: ${res.status} ${res.statusText}${detail ? ` \u2014 ${detail.slice(0, 300)}` : ""}`
55
87
  );
56
88
  }
57
89
  }
58
- async function putFileToPresignedUrl(uploadUrl, headers, file, signal) {
90
+ var SLICE_BYTES = 64 * 1024;
91
+ function bodyStream(body) {
92
+ if (!(body instanceof Uint8Array)) return createReadStream(body.path);
93
+ return Readable.from(
94
+ (function* () {
95
+ for (let at = 0; at < body.byteLength; at += SLICE_BYTES)
96
+ yield body.subarray(at, at + SLICE_BYTES);
97
+ })()
98
+ );
99
+ }
100
+ function watchStall(req) {
101
+ let written = -1;
102
+ let movedAt = Date.now();
103
+ const watch = setInterval(
104
+ () => {
105
+ const now = req.socket?.bytesWritten ?? 0;
106
+ if (now !== written) [written, movedAt] = [now, Date.now()];
107
+ else if (Date.now() - movedAt >= putTimings.stallMs)
108
+ req.destroy(new Error(`Upload stalled: no data sent for ${putTimings.stallMs / 1e3} s`));
109
+ },
110
+ Math.min(1e3, putTimings.stallMs / 3)
111
+ );
112
+ return () => clearInterval(watch);
113
+ }
114
+ async function putStreamToPresignedUrl(uploadUrl, headers, body, signal) {
115
+ const size = body instanceof Uint8Array ? body.byteLength : body.size;
59
116
  const send = new URL(uploadUrl).protocol === "https:" ? httpsRequest : httpRequest;
60
117
  const req = send(uploadUrl, {
61
118
  method: "PUT",
62
119
  signal,
63
- headers: { ...headers, "content-length": String(file.size) }
120
+ headers: { ...headers, "content-length": String(size) }
64
121
  });
65
122
  const response = new Promise((resolve, reject) => {
66
123
  req.once("response", resolve).once("error", reject);
67
124
  });
68
- const sent = pipeline(createReadStream(file.path), req);
125
+ const stopWatching = watchStall(req);
126
+ const source = bodyStream(body);
127
+ const sent = pipeline(source, req);
69
128
  let res;
70
129
  try {
71
130
  res = await response;
72
131
  } catch (err) {
73
132
  await sent.catch(() => void 0);
74
133
  throw err;
134
+ } finally {
135
+ stopWatching();
75
136
  }
137
+ await settle(res, sent);
138
+ }
139
+ async function settle(res, sent) {
76
140
  const status = res.statusCode ?? 0;
77
141
  const ok = status >= 200 && status < 300;
78
142
  await sent.catch((err) => {
@@ -81,7 +145,8 @@ async function putFileToPresignedUrl(uploadUrl, headers, file, signal) {
81
145
  let detail = "";
82
146
  for await (const chunk of res) detail += String(chunk);
83
147
  if (!ok) {
84
- throw new Error(
148
+ throw new PutRefusedError(
149
+ status,
85
150
  `Direct upload PUT failed: ${status} ${res.statusMessage ?? ""}${detail ? ` \u2014 ${detail.slice(0, 300)}` : ""}`
86
151
  );
87
152
  }
@@ -119,7 +184,7 @@ async function uploadAssetViaDirectUpload(opts) {
119
184
  const body = "bytes" in opts ? opts.bytes : { path: opts.path, size: opts.size };
120
185
  const size_bytes = body instanceof Uint8Array ? body.byteLength : body.size;
121
186
  const checksum_sha256 = body instanceof Uint8Array ? sha256Hex(body) : await sha256OfFile(body.path);
122
- const fetchImpl = opts.fetchImpl ?? fetch;
187
+ const fetchImpl = opts.fetchImpl;
123
188
  opts.onProgress?.({ phase: "initialize" });
124
189
  const initialize = await opts.client.createAssetUpload({
125
190
  body: { filename, content_type: opts.contentType, size_bytes, checksum_sha256 },
@@ -155,6 +220,7 @@ function uploadZipViaDirectUpload(opts) {
155
220
  }
156
221
 
157
222
  export {
223
+ putTimings,
158
224
  uploadAssetViaDirectUpload,
159
225
  uploadZipViaDirectUpload
160
226
  };
@@ -10,6 +10,9 @@ import {
10
10
  import {
11
11
  realpath
12
12
  } from "./chunk-OFQWTKPW.js";
13
+ import {
14
+ namedCacheDir
15
+ } from "./chunk-JOQR4AP6.js";
13
16
 
14
17
  // src/utils/appHistory.ts
15
18
  import { createHash } from "crypto";
@@ -122,8 +125,7 @@ function seenPath(dir) {
122
125
  const key = createHash("sha256").update(real).digest("hex").slice(0, 32);
123
126
  const base = windowsLocalAppData();
124
127
  return join2(
125
- base ? join2(base, "hyperframes") : join2(homedir(), ".hyperframes"),
126
- "catch-up",
128
+ namedCacheDir("catch-up") ?? join2(base ? join2(base, "hyperframes") : join2(homedir(), ".hyperframes"), "catch-up"),
127
129
  `${key}.json`
128
130
  );
129
131
  }
@@ -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-MLBH6KJL.js";
10
10
  import {
11
11
  installPageFunctionGuard,
12
12
  resolveCliChromeGpuMode,
13
13
  seekCompositionTimeline,
14
14
  waitForRuntimeReady
15
- } from "./chunk-QK4HTIXK.js";
15
+ } from "./chunk-BIY3M2WW.js";
16
16
  import {
17
17
  pageNavigationTimeoutMs
18
- } from "./chunk-QNE3NJO5.js";
18
+ } from "./chunk-7BJQ4R4F.js";
19
19
  import {
20
20
  resolveCompositionViewportFromHtml
21
- } from "./chunk-MB2NPHAS.js";
21
+ } from "./chunk-KVANP54U.js";
22
22
  import {
23
23
  launchManagedBrowser,
24
24
  resolveManagedGpuMode
25
- } from "./chunk-SUFHFBNO.js";
25
+ } from "./chunk-N6YQHI3Z.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-VBEP277H.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-DVKZ55DS.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-YEHQIQ3O.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-QZAK3CQM.js");
278
+ const { ensureBrowser } = await import("./manager-MKDNQ5KZ.js");
279
+ const { serveStaticProjectHtml } = await import("./staticProjectServer-3DQIE2ZT.js");
280
+ const { lintProject } = await import("./lintProject-6TML32JZ.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-R2QH27BL.js");
302
302
  const requestedGpuMode = resolveCliChromeGpuMode();
303
- const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-5L45UYI4.js");
303
+ const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-ZUQPIKA6.js");
304
304
  const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
305
305
  const requiresWebGpu = compositionRequiresWebGpu(html);
306
306
  const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
@@ -0,0 +1,31 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+
8
+ // src/utils/configDir.ts
9
+ import { constants, copyFileSync, existsSync, mkdirSync } from "fs";
10
+ import { homedir } from "os";
11
+ import { dirname, join } from "path";
12
+ var homeConfigDir = () => join(homedir(), ".hyperframes");
13
+ function hyperframesConfigDir(...parts) {
14
+ return join(process.env["HYPERFRAMES_CONFIG_DIR"] || homeConfigDir(), ...parts);
15
+ }
16
+ function seededConfigFile(name) {
17
+ const file = hyperframesConfigDir(name);
18
+ const home = join(homeConfigDir(), name);
19
+ if (file === home || existsSync(file) || !existsSync(home)) return file;
20
+ try {
21
+ mkdirSync(dirname(file), { recursive: true, mode: 448 });
22
+ copyFileSync(home, file, constants.COPYFILE_EXCL);
23
+ } catch {
24
+ }
25
+ return file;
26
+ }
27
+
28
+ export {
29
+ hyperframesConfigDir,
30
+ seededConfigFile
31
+ };
@@ -6,34 +6,34 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-G7XKDDWE.js";
9
+ } from "./chunk-UURC7DFD.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-N4KVW3ZI.js";
15
+ } from "./chunk-WEW22B4F.js";
16
16
  import {
17
17
  idempotencyKey,
18
18
  runJob
19
- } from "./chunk-4VOK4IOF.js";
19
+ } from "./chunk-XBJNA2O5.js";
20
20
  import {
21
21
  projectOf,
22
22
  runFfmpeg
23
- } from "./chunk-2VYQ62PP.js";
23
+ } from "./chunk-VR7E3QEQ.js";
24
24
  import {
25
25
  initialModelForLanguage,
26
26
  transcribe
27
- } from "./chunk-TRA75UKG.js";
27
+ } from "./chunk-NQZQZY4B.js";
28
28
  import {
29
29
  createRenderCancellationScope,
30
30
  stoppedByCancelSignal
31
- } from "./chunk-IODESAJT.js";
31
+ } from "./chunk-LV7BDQ5X.js";
32
32
  import {
33
33
  DEFAULT_MODEL,
34
34
  findWhisper,
35
35
  isWhisperUnavailable
36
- } from "./chunk-XD7LQWTU.js";
36
+ } from "./chunk-DLTSPBI7.js";
37
37
  import {
38
38
  formatSrt,
39
39
  formatVtt,
@@ -4,9 +4,6 @@ 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
- gsapCdnDist
9
- } from "./chunk-MEJH7VEA.js";
10
7
  import {
11
8
  HF_COLOR_CURVE_LUT_SIZE,
12
9
  HF_COLOR_GRADING_ACTIVE_EFFECT_KEYS,
@@ -25,7 +22,7 @@ import {
25
22
  resolveNaturalMediaTimelineDuration,
26
23
  resolveTimedImageDurationSeconds,
27
24
  unitFloatToByte
28
- } from "./chunk-AFYIYW5D.js";
25
+ } from "./chunk-VBEP277H.js";
29
26
  import {
30
27
  COLOR_GROUP_ATTR,
31
28
  COLOR_GROUP_TAG,
@@ -162,6 +159,54 @@ function getStageStyles(resolution = "portrait") {
162
159
  return `position: relative; width: ${width}px; height: ${height}px; overflow: hidden; background: #000;`;
163
160
  }
164
161
 
162
+ // ../core/dist/gsapCdn.js
163
+ var GSAP_CDN_VERSION = "3.15.0";
164
+ var GSAP_CDN_BASE_URL = "https://cdn.jsdelivr.net/npm";
165
+ var GSAP_BASE_URL_META = "hyperframes-gsap-base-url";
166
+ function isLoopbackHost(hostname) {
167
+ return hostname === "localhost" || hostname === "[::1]" || /^127\.\d+\.\d+\.\d+$/.test(hostname);
168
+ }
169
+ function normalizeGsapBaseUrl(baseUrl) {
170
+ const value = baseUrl?.trim();
171
+ if (!value)
172
+ return GSAP_CDN_BASE_URL;
173
+ if (!/^https?:\/\//i.test(value) || !URL.canParse(value) || /[?#]/.test(value)) {
174
+ throw new Error("GSAP base URL must be an absolute HTTP(S) URL without a query or fragment");
175
+ }
176
+ const url = new URL(value);
177
+ if (url.username || url.password) {
178
+ throw new Error("GSAP base URL must not contain credentials");
179
+ }
180
+ if (url.protocol === "http:" && !isLoopbackHost(url.hostname)) {
181
+ throw new Error("GSAP base URL must use HTTPS unless it points at this machine");
182
+ }
183
+ return url.href.replace(/\/+$/, "");
184
+ }
185
+ function normalizeGsapLocalRoot(root) {
186
+ const value = root.trim();
187
+ if (!/^\/(?![/\\])/.test(value) || /[?#\\]/.test(value)) {
188
+ throw new Error("GSAP local root must be a same-origin path such as /vendor/npm");
189
+ }
190
+ const origin = "http://local.invalid";
191
+ const url = new URL(value, origin);
192
+ const path = url.pathname.replace(/\/+$/, "");
193
+ if (url.origin !== origin || !path) {
194
+ throw new Error("GSAP local root must be a same-origin path such as /vendor/npm");
195
+ }
196
+ return path;
197
+ }
198
+ function gsapCdnDist(gsapVersion, baseUrl) {
199
+ const version = gsapVersion && /^\d+(\.\d+)*$/.test(gsapVersion) ? gsapVersion : GSAP_CDN_VERSION;
200
+ if (baseUrl?.trim().startsWith("/")) {
201
+ const root = normalizeGsapLocalRoot(baseUrl);
202
+ return `${version === GSAP_CDN_VERSION ? root : GSAP_CDN_BASE_URL}/gsap@${version}/dist/`;
203
+ }
204
+ return `${normalizeGsapBaseUrl(baseUrl)}/gsap@${version}/dist/`;
205
+ }
206
+ function motionPathPluginUrl(gsapVersion, baseUrl) {
207
+ return `${gsapCdnDist(gsapVersion, baseUrl)}MotionPathPlugin.min.js`;
208
+ }
209
+
165
210
  // ../core/dist/templates/constants.js
166
211
  var GSAP_CDN = `${gsapCdnDist()}gsap.min.js`;
167
212
  var BASE_STYLES = `* { margin: 0; padding: 0; box-sizing: border-box; }
@@ -1482,6 +1527,10 @@ function bakeHfColorGradingCube(grading, options = {}) {
1482
1527
  }
1483
1528
 
1484
1529
  // ../core/dist/hdrToneMap.js
1530
+ var BT2408_HLG_REFERENCE_WHITE_NITS = 203;
1531
+ var SDR_NOMINAL_PEAK_NITS = 100;
1532
+ var toneMapReferenceNits = (keyframeTransfers) => keyframeTransfers?.length && keyframeTransfers.every((transfer) => transfer === "arib-std-b67") ? BT2408_HLG_REFERENCE_WHITE_NITS : SDR_NOMINAL_PEAK_NITS;
1533
+ var readsKeyframeTransfers = ({ colorTransfer }) => colorTransfer === "arib-std-b67" || !known(colorTransfer);
1485
1534
  function known(value) {
1486
1535
  return value && value !== "unknown" && value !== "reserved" ? value : void 0;
1487
1536
  }
@@ -1494,7 +1543,9 @@ function hdrToSdrToneMapFilter(probed, firstFrame, size) {
1494
1543
  ].filter(([, value]) => value);
1495
1544
  const setTags = tags.length ? `setparams=${tags.map((tag) => tag.join("=")).join(":")},` : "";
1496
1545
  const resizeBeforeToneMap = size ? `w=${size.width}:h=${size.height}:` : "";
1497
- return `${setTags}zscale=${resizeBeforeToneMap}t=linear:npl=100,tonemap=hable:desat=0,zscale=p=bt709:t=bt709:m=bt709:r=tv`;
1546
+ const stream = known(firstFrame.colorTransfer) ?? known(probed.colorTransfer);
1547
+ const npl = toneMapReferenceNits(firstFrame.keyframeTransfers?.map((transfer) => transfer === "unspecified" ? stream ?? transfer : transfer));
1548
+ return `${setTags}zscale=${resizeBeforeToneMap}t=linear:npl=${npl},tonemap=hable:desat=0,zscale=p=bt709:t=bt709:m=bt709:r=tv`;
1498
1549
  }
1499
1550
  function firstFrameColourArgs(videoPath) {
1500
1551
  return [
@@ -1502,6 +1553,22 @@ function firstFrameColourArgs(videoPath) {
1502
1553
  ...["-vf", "showinfo", "-f", "null", "-"]
1503
1554
  ];
1504
1555
  }
1556
+ var SPS_UNIT_TYPES = { h264: "7", hevc: "33" };
1557
+ var TRANSFER_NAMES = {
1558
+ "1": "bt709",
1559
+ "2": "unspecified",
1560
+ "16": "smpte2084",
1561
+ "18": "arib-std-b67"
1562
+ };
1563
+ function keyframeTransferArgs(videoPath, codec) {
1564
+ const sps = codec ? SPS_UNIT_TYPES[codec] : void 0;
1565
+ const trace = sps ? `filter_units=pass_types=${sps},trace_headers` : "trace_headers";
1566
+ return [
1567
+ ...["-hide_banner", "-nostats", "-discard", "nokey", "-i", videoPath, "-map", "0:v:0"],
1568
+ ...["-c", "copy", "-bsf:v", trace, "-f", "null", "-"]
1569
+ ];
1570
+ }
1571
+ var parseKeyframeTransfers = (stderr) => [...stderr.matchAll(/transfer_characteristics +[01]+ = (\d+)/g)].map(([, code = ""]) => TRANSFER_NAMES[code] ?? `code ${code}`);
1505
1572
  function parseFirstFrameColour(stderr) {
1506
1573
  const tags = / color_space:(\S+) color_primaries:(\S+) color_trc:(\S+)/.exec(stderr);
1507
1574
  return tags ? { colorSpace: tags[1], colorPrimaries: tags[2], colorTransfer: tags[3] } : {};
@@ -4939,6 +5006,10 @@ var hasClipStarted = (time, start) => time >= start || sameInstant(time, start);
4939
5006
  var isInClipWindow = (time, start, end) => hasClipStarted(time, start) && time < end && !sameInstant(time, end);
4940
5007
  var TERMINAL_EPSILON_SECONDS = 1e-6;
4941
5008
  var isClipVisibleAt = (time, start, end, compositionDuration) => isInClipWindow(time, start, end) || hasClipStarted(time, start) && compositionDuration > 0 && end >= compositionDuration - TERMINAL_EPSILON_SECONDS;
5009
+ var isClipOnScreenAt = (time, start, end, fps, compositionDuration) => {
5010
+ const snapped = exportClipWindow(start, end, fps);
5011
+ return isClipVisibleAt(time, snapped.start, snapped.end, compositionDuration);
5012
+ };
4942
5013
 
4943
5014
  // ../core/dist/runtime/validateVariables.js
4944
5015
  function validateVariables(values, declarations) {
@@ -5900,6 +5971,12 @@ export {
5900
5971
  isDistributedFps,
5901
5972
  generateBaseHtml,
5902
5973
  getStageStyles,
5974
+ GSAP_CDN_VERSION,
5975
+ GSAP_BASE_URL_META,
5976
+ normalizeGsapBaseUrl,
5977
+ normalizeGsapLocalRoot,
5978
+ gsapCdnDist,
5979
+ motionPathPluginUrl,
5903
5980
  GSAP_CDN,
5904
5981
  BASE_STYLES,
5905
5982
  ELEMENT_BASE_STYLES,
@@ -5928,8 +6005,12 @@ export {
5928
6005
  effectiveColorGrading,
5929
6006
  ensureColorGroupInertStyle,
5930
6007
  bakeHfColorGradingCube,
6008
+ toneMapReferenceNits,
6009
+ readsKeyframeTransfers,
5931
6010
  hdrToSdrToneMapFilter,
5932
6011
  firstFrameColourArgs,
6012
+ keyframeTransferArgs,
6013
+ parseKeyframeTransfers,
5933
6014
  parseFirstFrameColour,
5934
6015
  PREVIEW_PROXY_BOX_PARAM,
5935
6016
  PREVIEW_PROXY_LIGHT_PARAM,
@@ -5969,6 +6050,7 @@ export {
5969
6050
  hasClipStarted,
5970
6051
  isInClipWindow,
5971
6052
  isClipVisibleAt,
6053
+ isClipOnScreenAt,
5972
6054
  validateVariables,
5973
6055
  formatVariableValidationIssue,
5974
6056
  ITEM_TYPES,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-EQBDKYXR.js";
10
10
  import {
11
11
  listenOnBrowserSafePort
12
- } from "./chunk-ATRSQXUV.js";
12
+ } from "./chunk-NMQWKWV4.js";
13
13
 
14
14
  // src/capture/localPage.ts
15
15
  import {
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeFirstFrameColour,
9
9
  probeMediaMetadata
10
- } from "./chunk-72K35GRP.js";
10
+ } from "./chunk-4R63FXGU.js";
11
11
  import {
12
12
  alphaDecoderFor
13
13
  } from "./chunk-5S7W3TUO.js";
@@ -15,7 +15,7 @@ import {
15
15
  formatPreviewProxyBox,
16
16
  hdrToSdrToneMapFilter,
17
17
  isHeavyForPreview
18
- } from "./chunk-DJTC4NK7.js";
18
+ } from "./chunk-HUZ3GL3F.js";
19
19
  import {
20
20
  mkdirWithinProject,
21
21
  realProjectRoot,
@@ -38,7 +38,7 @@ import {
38
38
  scanHtmlOpeningTags
39
39
  } from "./chunk-CUCP7FKH.js";
40
40
 
41
- // ../studio-server/dist/chunk-NOIHVBIQ.js
41
+ // ../studio-server/dist/chunk-66YZA32N.js
42
42
  import { statSync } from "fs";
43
43
  import { sep } from "path";
44
44
  import { spawn } from "child_process";
@@ -259,7 +259,7 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
259
259
  return (await scanProjectMedia(projectDir, htmlSources, options)).codecMap;
260
260
  }
261
261
 
262
- // ../studio-server/dist/chunk-B356RYG5.js
262
+ // ../studio-server/dist/chunk-F4AQECCT.js
263
263
  import { spawn as spawn2 } from "child_process";
264
264
  import { randomUUID } from "crypto";
265
265
  import {
@@ -999,7 +999,7 @@ async function buildVideoFilter(ffmpegPath, sourcePath, metadata, keepsAlpha, bo
999
999
  const { hdrTransfer } = metadata.color;
1000
1000
  const toneMap = (hdrTransfer === "pq" || hdrTransfer === "hlg") && !keepsAlpha;
1001
1001
  if (toneMap) await ensureHdrFilters(ffmpegPath);
1002
- const firstFrame = toneMap ? await probeFirstFrameColour(sourcePath) : {};
1002
+ const firstFrame = toneMap ? await probeFirstFrameColour(sourcePath, metadata.color.codecName) : {};
1003
1003
  const evenScale = proxyScaleFilter(box);
1004
1004
  const pixelFormat = keepsAlpha ? "yuva420p" : "yuv420p";
1005
1005
  return toneMap ? [
@@ -0,0 +1,59 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ loadProducer
9
+ } from "./chunk-VMWRWUDV.js";
10
+ import {
11
+ extractAudioMetadata
12
+ } from "./chunk-NMQWKWV4.js";
13
+ import {
14
+ resolveProjectRelativeSrc
15
+ } from "./chunk-WVRAFHJU.js";
16
+
17
+ // src/utils/projectMedia.ts
18
+ async function collectProjectMedia(projectDir) {
19
+ const { bundleToSingleHtml } = await import("./compiler-QZAK3CQM.js");
20
+ const html = await bundleToSingleHtml(projectDir);
21
+ const producer = await loadProducer();
22
+ if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
23
+ return { ...producer.collectRenderMedia(html), html };
24
+ }
25
+ function mediaPath(src, projectDir) {
26
+ return /^https?:\/\//i.test(src) ? src : resolveProjectRelativeSrc(src, projectDir, projectDir);
27
+ }
28
+ var PROBE = {
29
+ seconds: async (path) => (await extractAudioMetadata(path)).durationSeconds
30
+ };
31
+ async function heardClips(projectDir, probe = PROBE) {
32
+ const { audios } = await collectProjectMedia(projectDir);
33
+ const lengths = /* @__PURE__ */ new Map();
34
+ const length = (src) => {
35
+ const path = mediaPath(src, projectDir);
36
+ const known = lengths.get(path) ?? probe.seconds(path).catch(() => null);
37
+ lengths.set(path, known);
38
+ return known;
39
+ };
40
+ const clips = await Promise.all(audios.map((clip) => endedClip(clip, length)));
41
+ return clips.filter((clip) => clip !== null);
42
+ }
43
+ async function endedClip(clip, length) {
44
+ const { id, src, start, mediaStart, playbackRate, volume, type } = clip;
45
+ const heard = { id, src, start, end: clip.end, mediaStart, playbackRate, volume, type };
46
+ const rate = playbackRate === void 0 ? 1 : playbackRate;
47
+ if (clip.loop || typeof rate !== "number" || !(rate > 0)) return heard;
48
+ const seconds = await length(src);
49
+ if (seconds === null) return heard;
50
+ if (seconds <= mediaStart) return null;
51
+ const runsOut = start + (seconds - mediaStart) / rate;
52
+ return { ...heard, end: clip.end > 0 ? Math.min(clip.end, runsOut) : runsOut };
53
+ }
54
+
55
+ export {
56
+ collectProjectMedia,
57
+ mediaPath,
58
+ heardClips
59
+ };
@@ -11,7 +11,7 @@ import {
11
11
  PRORES_PROFILE_NAMES,
12
12
  appendRateCapArgs,
13
13
  isProresProfile
14
- } from "./chunk-ATRSQXUV.js";
14
+ } from "./chunk-NMQWKWV4.js";
15
15
  import {
16
16
  failUsage
17
17
  } from "./chunk-66W5IWLO.js";
@@ -10,10 +10,10 @@ import {
10
10
  buildAuthHeaders,
11
11
  refreshTokens,
12
12
  resolveCredential
13
- } from "./chunk-ZFZXGZTX.js";
13
+ } from "./chunk-L24NAUBS.js";
14
14
  import {
15
15
  ErrLoginExpired
16
- } from "./chunk-BVAPHHMQ.js";
16
+ } from "./chunk-LP7B3JLC.js";
17
17
 
18
18
  // src/cloud/auth.ts
19
19
  async function resolveCloudAuthHeaders() {
@@ -13,13 +13,13 @@ import {
13
13
 
14
14
  // src/utils/bundleWithLocalizedFonts.ts
15
15
  async function bundleWithLocalizedFonts(projectDir, localizeFonts = localizeWithProducer, bundleOptions) {
16
- const { bundleToSingleHtml } = await import("./compiler-DMRQ44TO.js");
16
+ const { bundleToSingleHtml } = await import("./compiler-QZAK3CQM.js");
17
17
  const html = await bundleToSingleHtml(projectDir, bundleOptions);
18
18
  return localizeFonts(html);
19
19
  }
20
20
  async function loadFontInjector() {
21
21
  try {
22
- const { loadProducer } = await import("./producer-YY7LXKRQ.js");
22
+ const { loadProducer } = await import("./producer-YEHQIQ3O.js");
23
23
  const mod = await loadProducer();
24
24
  return mod.injectDeterministicFontFaces ?? null;
25
25
  } catch {
@@ -12,7 +12,11 @@ function hyperframesCacheDir(...parts) {
12
12
  const named = process.env["HYPERFRAMES_CACHE_DIR"];
13
13
  return join(named ? resolve(named) : join(homedir(), ".cache", "hyperframes"), ...parts);
14
14
  }
15
+ function namedCacheDir(...parts) {
16
+ return process.env["HYPERFRAMES_CACHE_DIR"] ? hyperframesCacheDir(...parts) : void 0;
17
+ }
15
18
 
16
19
  export {
17
- hyperframesCacheDir
20
+ hyperframesCacheDir,
21
+ namedCacheDir
18
22
  };