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
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCompositionDimensions
9
- } from "./chunk-MB2NPHAS.js";
9
+ } from "./chunk-KVANP54U.js";
10
10
  import {
11
11
  outputResolutionForSize
12
12
  } from "./chunk-CUCP7FKH.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/utils/producer.ts
9
9
  async function loadProducer() {
10
- return await import("./src-LIR2WBQL.js");
10
+ return await import("./src-OUHQBPJL.js");
11
11
  }
12
12
 
13
13
  export {
@@ -8,7 +8,7 @@ import {
8
8
  findFFmpeg,
9
9
  findFFprobe,
10
10
  getFFmpegInstallHint
11
- } from "./chunk-HXQO2Q6T.js";
11
+ } from "./chunk-RPLMK4WC.js";
12
12
 
13
13
  // src/measure/media.ts
14
14
  import { execFileSync } from "child_process";
@@ -17,12 +17,14 @@ import { dirname, join, resolve } from "path";
17
17
  var MAX_BUFFER = 1 << 30;
18
18
  var FFMPEG_QUIET = ["-nostdin", "-v", "error"];
19
19
  var Fix = class extends Error {
20
- constructor(problem, fix) {
20
+ constructor(problem, fix, url) {
21
21
  super(problem);
22
22
  this.fix = fix;
23
+ this.url = url;
23
24
  this.name = "Fix";
24
25
  }
25
26
  fix;
27
+ url;
26
28
  };
27
29
  function ffmpegBin() {
28
30
  const bin = findFFmpeg();
@@ -107,6 +109,7 @@ function probeVideo(path) {
107
109
  avgFps: avg || fps,
108
110
  vfr: avg > 0 && Math.abs(avg - fps) / fps > 0.01,
109
111
  hdr: /smpte2084|arib-std-b67/.test(video.color_transfer ?? ""),
112
+ transfer: video.color_transfer,
110
113
  codec: video.codec_name ?? ""
111
114
  };
112
115
  }
@@ -130,7 +133,10 @@ function readClip(clip, opts = {}) {
130
133
  if (fps) filters.push(`fps=${fps}`);
131
134
  let [w, h] = [clip.width, clip.height];
132
135
  if (roi) {
133
- filters.push(`crop=${roi[2]}:${roi[3]}:${roi[0]}:${roi[1]}`);
136
+ filters.push(
137
+ `format=${gray ? "gray" : "rgb24"}`,
138
+ `crop=${roi[2]}:${roi[3]}:${roi[0]}:${roi[1]}`
139
+ );
134
140
  [w, h] = [roi[2], roi[3]];
135
141
  }
136
142
  if (width && width !== w) {
@@ -11,10 +11,10 @@ import {
11
11
  DEFAULT_REGISTRY_URL,
12
12
  fetchItemManifest,
13
13
  fetchRegistryManifest
14
- } from "./chunk-SUCTCDDY.js";
14
+ } from "./chunk-TBXNHLRL.js";
15
15
  import {
16
16
  closestNames
17
- } from "./chunk-TABWG4IT.js";
17
+ } from "./chunk-M7VAMZQW.js";
18
18
 
19
19
  // src/registry/resolver.ts
20
20
  function defaultWarn(message) {
@@ -16,15 +16,15 @@ import {
16
16
  pinnedPackageBesideCli,
17
17
  runNpm,
18
18
  sweepStaleStaging
19
- } from "./chunk-5UT3R43E.js";
19
+ } from "./chunk-NL4RCLQF.js";
20
20
  import {
21
21
  emitWords,
22
22
  getPreparedWavDurationSeconds,
23
23
  prepareWav
24
- } from "./chunk-TRA75UKG.js";
24
+ } from "./chunk-NQZQZY4B.js";
25
25
  import {
26
26
  stoppedByCancelSignal
27
- } from "./chunk-IODESAJT.js";
27
+ } from "./chunk-LV7BDQ5X.js";
28
28
  import {
29
29
  verifies
30
30
  } from "./chunk-RZ6CXJ56.js";
@@ -38,7 +38,7 @@ import {
38
38
  } from "./chunk-JZIEZCQM.js";
39
39
  import {
40
40
  hyperframesCacheDir
41
- } from "./chunk-766MOTIZ.js";
41
+ } from "./chunk-JOQR4AP6.js";
42
42
 
43
43
  // src/whisper/sherpa.ts
44
44
  import { execFile, spawn } from "child_process";
@@ -9,10 +9,10 @@ import {
9
9
  hasPreservedUnknownData,
10
10
  readStore,
11
11
  writeStore
12
- } from "./chunk-ZFZXGZTX.js";
12
+ } from "./chunk-L24NAUBS.js";
13
13
  import {
14
14
  credentialPath
15
- } from "./chunk-BVAPHHMQ.js";
15
+ } from "./chunk-LP7B3JLC.js";
16
16
 
17
17
  // src/auth/user.ts
18
18
  function isUserInfoEmpty(u) {
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-P77AJDIN.js";
9
+ } from "./chunk-MB7VK7MW.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
13
- } from "./chunk-XLPCBE2Q.js";
13
+ } from "./chunk-US2SO6O4.js";
14
14
  import {
15
15
  createFileAtomically
16
16
  } from "./chunk-A4ZTSQLW.js";
@@ -6,16 +6,19 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  refreshIfNeeded
9
- } from "./chunk-BY7PZB6H.js";
9
+ } from "./chunk-J3QW55W5.js";
10
10
  import {
11
11
  buildAuthHeaders,
12
12
  envCredentialVar,
13
13
  isTokenExpired,
14
14
  tryResolveCredential
15
- } from "./chunk-ZFZXGZTX.js";
15
+ } from "./chunk-L24NAUBS.js";
16
16
  import {
17
17
  isAuthError
18
- } from "./chunk-BVAPHHMQ.js";
18
+ } from "./chunk-LP7B3JLC.js";
19
+ import {
20
+ projectIgnore
21
+ } from "./chunk-NTMMUK6Q.js";
19
22
  import {
20
23
  CSS_URL_RE,
21
24
  isNonRelativeUrl,
@@ -29,6 +32,10 @@ import {
29
32
  import {
30
33
  parseHTML
31
34
  } from "./chunk-GWTIFRF5.js";
35
+ import {
36
+ hyperframesConfigDir,
37
+ seededConfigFile
38
+ } from "./chunk-GR2E54E6.js";
32
39
  import {
33
40
  envProxyEnabled
34
41
  } from "./chunk-QBXDU24O.js";
@@ -36,10 +43,9 @@ import {
36
43
  // src/utils/projectLink.ts
37
44
  import { randomUUID } from "crypto";
38
45
  import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
39
- import { homedir } from "os";
40
46
  import { join, resolve } from "path";
41
- var CONFIG_DIR = join(homedir(), ".hyperframes");
42
- var PROJECTS_FILE = join(CONFIG_DIR, "projects.json");
47
+ var configDir = () => hyperframesConfigDir();
48
+ var projectsFile = () => seededConfigFile("projects.json");
43
49
  function readJsonRecord(path) {
44
50
  try {
45
51
  if (!existsSync(path)) return null;
@@ -56,7 +62,7 @@ function isProjectLink(value) {
56
62
  return typeof link.projectId === "string" && link.projectId.length > 0 && typeof link.url === "string";
57
63
  }
58
64
  function readProjectLinks() {
59
- const record = readJsonRecord(PROJECTS_FILE);
65
+ const record = readJsonRecord(projectsFile());
60
66
  if (!record) return {};
61
67
  const links = {};
62
68
  for (const [path, value] of Object.entries(record)) {
@@ -68,8 +74,8 @@ function readProjectLinks() {
68
74
  }
69
75
  function writeProjectLinks(links) {
70
76
  try {
71
- mkdirSync(CONFIG_DIR, { recursive: true, mode: 448 });
72
- writeFileSync(PROJECTS_FILE, `${JSON.stringify(links, null, 2)}
77
+ mkdirSync(configDir(), { recursive: true, mode: 448 });
78
+ writeFileSync(projectsFile(), `${JSON.stringify(links, null, 2)}
73
79
  `, { mode: 384 });
74
80
  } catch {
75
81
  }
@@ -127,11 +133,8 @@ import {
127
133
  statSync
128
134
  } from "fs";
129
135
  import AdmZip from "adm-zip";
130
- import ignore from "ignore";
131
136
  var IGNORED_DIRS = /* @__PURE__ */ new Set([".git", "node_modules", "dist", ".next", "coverage"]);
132
137
  var IGNORED_FILES = /* @__PURE__ */ new Set([".DS_Store", "Thumbs.db"]);
133
- var HYPERFRAMES_IGNORE_FILE = ".hyperframesignore";
134
- var DEFAULT_PROJECT_IGNORE = ["/renders/", "/snapshots/", ".*"];
135
138
  var PUBLISH_CONTENT_TYPE = "application/zip";
136
139
  var PUBLISH_METADATA_TIMEOUT_MS = 3e4;
137
140
  var PUBLISH_UPLOAD_MIN_TIMEOUT_MS = 12e4;
@@ -325,14 +328,6 @@ function uploadTimeoutMs(byteLength) {
325
328
  function shouldIgnoreSegment(segment) {
326
329
  return IGNORED_DIRS.has(segment) || IGNORED_FILES.has(segment);
327
330
  }
328
- function createProjectIgnore(rootDir) {
329
- const matcher = ignore().add(DEFAULT_PROJECT_IGNORE);
330
- const ignorePath = join2(rootDir, HYPERFRAMES_IGNORE_FILE);
331
- if (existsSync2(ignorePath)) {
332
- matcher.add(readFileSync2(ignorePath, "utf-8"));
333
- }
334
- return matcher;
335
- }
336
331
  function collectProjectFiles(rootDir, currentDir, paths, matcher) {
337
332
  for (const entry of readdirSync(currentDir, { withFileTypes: true })) {
338
333
  if (shouldIgnoreSegment(entry.name)) continue;
@@ -536,7 +531,7 @@ function buildPublishFileMap(projectDir) {
536
531
  function stagePublishFiles(projectDir, onDiskMinBytes) {
537
532
  const absProjectDir = resolve2(projectDir);
538
533
  const filePaths = [];
539
- collectProjectFiles(absProjectDir, absProjectDir, filePaths, createProjectIgnore(absProjectDir));
534
+ collectProjectFiles(absProjectDir, absProjectDir, filePaths, projectIgnore(absProjectDir));
540
535
  if (!filePaths.includes("index.html")) {
541
536
  throw new Error(
542
537
  "Project archive must include index.html at the root. Check that .hyperframesignore does not exclude it."
@@ -7,27 +7,27 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  cliCheckoutLink,
9
9
  pageUrl
10
- } from "./chunk-JMUHTEAS.js";
10
+ } from "./chunk-JSCY2GUB.js";
11
11
  import {
12
12
  Fix
13
- } from "./chunk-2VYQ62PP.js";
13
+ } from "./chunk-VR7E3QEQ.js";
14
14
  import {
15
15
  refreshIfNeeded,
16
16
  resolveCloudAuthHeaders,
17
17
  resolveCloudBaseUrl
18
- } from "./chunk-BY7PZB6H.js";
18
+ } from "./chunk-J3QW55W5.js";
19
19
  import {
20
20
  AuthClient,
21
21
  buildAuthHeaders,
22
22
  resolveCredential
23
- } from "./chunk-ZFZXGZTX.js";
23
+ } from "./chunk-L24NAUBS.js";
24
24
  import {
25
25
  HyperframesApiError,
26
26
  HyperframesCloudClient
27
27
  } from "./chunk-3XJM7XZN.js";
28
28
  import {
29
29
  configDir
30
- } from "./chunk-BVAPHHMQ.js";
30
+ } from "./chunk-LP7B3JLC.js";
31
31
 
32
32
  // src/heygen/v3.ts
33
33
  import { createHash } from "crypto";
@@ -109,20 +109,37 @@ async function refusal(status, body, estimate) {
109
109
  const code = String(err.code ?? err.failure_code ?? "");
110
110
  const message = String(err.message ?? err.failure_message ?? "").slice(0, 300);
111
111
  const url = typeof err.url === "string" ? err.url : void 0;
112
+ const purchaseClosed = err.url === null;
112
113
  const given = Number(err.needed_credits) || void 0;
113
114
  const needed = given ?? (estimate || void 0);
114
115
  const needs = given ? `${given} in total` : needed ? `about ${needed} in total` : "more";
115
116
  const balance = err.balance === void 0 ? "" : `, balance ${String(err.balance)}`;
116
- if (/hf_subscription_required/i.test(code))
117
+ if (/hf_subscription_required/i.test(code)) {
118
+ if (purchaseClosed)
119
+ return new Refused(
120
+ "this is a HyperFrames Pro feature, and a plan can't be purchased right now; nothing was charged",
121
+ "tell the person a plan can't be purchased right now, and give no link"
122
+ );
123
+ const link = url ? cliCheckoutLink(url, MEDIA_USE_SKILL) : await pageUrl("plans", { needed, skill: MEDIA_USE_SKILL });
117
124
  return new Refused(
118
125
  `this is a HyperFrames Pro feature; nothing was charged. Run \`npx hyperframes billing subscribe --skill ${MEDIA_USE_SKILL}\`: it opens the page and waits`,
119
- `Subscribe: ${url ? cliCheckoutLink(url, MEDIA_USE_SKILL) : await pageUrl("plans", { needed, skill: MEDIA_USE_SKILL })}`
126
+ `Subscribe: ${link}`,
127
+ link
120
128
  );
121
- if (/hf_usage_exhausted/i.test(code))
129
+ }
130
+ if (/hf_usage_exhausted/i.test(code)) {
131
+ if (purchaseClosed)
132
+ return new Refused(
133
+ `out of HyperFrames credits (this step needs ${needs}${balance}), and credits can't be purchased right now; nothing was charged`,
134
+ "tell the person credits can't be purchased right now, and give no link"
135
+ );
136
+ const link = url ? cliCheckoutLink(url, MEDIA_USE_SKILL) : await pageUrl("credits", { needed, skill: MEDIA_USE_SKILL });
122
137
  return new Refused(
123
138
  `out of HyperFrames credits (this step needs ${needs}${balance}); nothing was charged. Run \`npx hyperframes billing add-credits${needed ? ` --needed ${needed}` : ""} --skill ${MEDIA_USE_SKILL}\`: it opens the page and waits`,
124
- `Buy add-on credits: ${url ? cliCheckoutLink(url, MEDIA_USE_SKILL) : await pageUrl("credits", { needed, skill: MEDIA_USE_SKILL })}`
139
+ `Buy add-on credits: ${link}`,
140
+ link
125
141
  );
142
+ }
126
143
  if (/api_key_required/i.test(code))
127
144
  return new Refused(
128
145
  "this HeyGen feature is not available with this sign-in yet; nothing was charged",
@@ -20,7 +20,7 @@ import {
20
20
  typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-OWZAG6N4.js";
23
+ } from "./chunk-O7SPZE7M.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-DL4OD7IA.js";
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
229
229
  rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
230
230
  );
231
231
  }
232
- const { trackFigmaImport } = await import("./telemetry-B5OJHH2C.js");
232
+ const { trackFigmaImport } = await import("./telemetry-7ETKP7HP.js");
233
233
  trackFigmaImport({
234
234
  phase: "asset",
235
235
  reused: results.every((r) => r.reused),
@@ -7,12 +7,12 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCuts,
9
9
  signatures
10
- } from "./chunk-MYQ4NH3E.js";
10
+ } from "./chunk-LV3MNSL7.js";
11
11
  import {
12
12
  jsonArg,
13
13
  num,
14
14
  runMeasure
15
- } from "./chunk-76AJS2LI.js";
15
+ } from "./chunk-MDZANX4P.js";
16
16
  import {
17
17
  makeOutputFolder
18
18
  } from "./chunk-3S27CPV7.js";
@@ -23,7 +23,7 @@ import {
23
23
  publicVoices,
24
24
  runJob,
25
25
  senderScope
26
- } from "./chunk-4VOK4IOF.js";
26
+ } from "./chunk-XBJNA2O5.js";
27
27
  import {
28
28
  Fix,
29
29
  probeSeconds,
@@ -32,10 +32,10 @@ import {
32
32
  round,
33
33
  runFfmpeg,
34
34
  videoClip
35
- } from "./chunk-2VYQ62PP.js";
35
+ } from "./chunk-VR7E3QEQ.js";
36
36
  import {
37
37
  loadSharp
38
- } from "./chunk-5UT3R43E.js";
38
+ } from "./chunk-NL4RCLQF.js";
39
39
  import {
40
40
  defineCommand
41
41
  } from "./chunk-DL4OD7IA.js";
@@ -311,9 +311,9 @@ function assetsOf(r) {
311
311
  async function uploaded(paths) {
312
312
  const ids = /* @__PURE__ */ new Map();
313
313
  if (!paths.length) return ids;
314
- const { createCloudClient } = await import("./cloud-RFM3PYTR.js");
315
- const { uploadAssetViaDirectUpload } = await import("./upload-HMRWGZIO.js");
316
- const { getMimeType } = await import("./dist-BYY3JRG2.js");
314
+ const { createCloudClient } = await import("./cloud-D3WTNTF2.js");
315
+ const { uploadAssetViaDirectUpload } = await import("./upload-YQMBLKH5.js");
316
+ const { getMimeType } = await import("./dist-LIQVRDQQ.js");
317
317
  const client = await createCloudClient();
318
318
  for (const path of paths) {
319
319
  const asset = await uploadAssetViaDirectUpload({
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-SUCTCDDY.js";
15
+ } from "./chunk-TBXNHLRL.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { mkdirSync, readFileSync, writeFileSync } from "fs";
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-CHRHMT6W.js";
13
+ } from "./chunk-OYXGIP35.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -12,15 +12,15 @@ import {
12
12
  ensureHfIds,
13
13
  mintHfId,
14
14
  walkCompositionDescendants
15
- } from "./chunk-Q3IYSP4G.js";
15
+ } from "./chunk-4TW62PDH.js";
16
16
  import {
17
17
  isAllowedHtmlAttribute,
18
18
  isSafeAttributeValue,
19
19
  sanitizeRichTextChildren
20
- } from "./chunk-DJTC4NK7.js";
20
+ } from "./chunk-HUZ3GL3F.js";
21
21
  import {
22
22
  require_dist
23
- } from "./chunk-CZ5NNJ6H.js";
23
+ } from "./chunk-NTMMUK6Q.js";
24
24
  import {
25
25
  SPLIT_BOUNDARY_EPSILON_S,
26
26
  readClipTiming,
@@ -137,7 +137,7 @@ function replacementTimelineAssetId(document, element, newSrc) {
137
137
  return buildTimelineAssetId(decodedUrlPath(newSrc), ids);
138
138
  }
139
139
 
140
- // ../studio-server/dist/chunk-LK3ZTZGN.js
140
+ // ../studio-server/dist/chunk-REQUL5L4.js
141
141
  var import_postcss_selector_parser = __toESM(require_dist(), 1);
142
142
  import postcss from "postcss";
143
143
  function parseStyleDecls(style) {
@@ -460,6 +460,12 @@ function probeElementsInSource(source, targets) {
460
460
  function probeElementInSource(source, target) {
461
461
  return probeElementsInSource(source, [target])[0] ?? false;
462
462
  }
463
+ var refused = (html, refusal) => ({
464
+ html,
465
+ matched: false,
466
+ newId: null,
467
+ refusal
468
+ });
463
469
  function resolveElementTiming(el) {
464
470
  const timing = readClipTiming(el);
465
471
  return { start: timing.start ?? 0, duration: timing.duration ?? 0 };
@@ -480,7 +486,7 @@ function isWindowOf(media, row) {
480
486
  function splitElementInHtml(source, target, splitTime, newId, fallbackTiming) {
481
487
  const { document, wrappedFragment } = parseSourceDocument(source);
482
488
  const el = findTargetElement(document, target);
483
- if (!el || !isHTMLElement(el)) return { html: source, matched: false, newId: null };
489
+ if (!el || !isHTMLElement(el)) return refused(source, "target-not-found");
484
490
  const timedMediaSelector = "video[data-start], audio[data-start]";
485
491
  const innerMedia = el.hasAttribute("data-start") || resolveElementTiming(el).duration > 0 || el.matches("[data-composition-src], [data-composition-id]") ? null : el.querySelector(timedMediaSelector);
486
492
  const timedMedia = innerMedia && isWindowOf(resolveElementTiming(innerMedia), fallbackTiming) ? innerMedia : null;
@@ -490,21 +496,22 @@ function splitElementInHtml(source, target, splitTime, newId, fallbackTiming) {
490
496
  const reference = readClipTiming(timed).startExpression;
491
497
  const startsAfter = reference?.kind === "reference" ? reference : null;
492
498
  if (startsAfter) {
493
- if (!fallbackTiming) return { html: source, matched: false, newId: null };
499
+ if (!fallbackTiming) return refused(source, "reference-without-range");
494
500
  start = fallbackTiming.start;
495
501
  }
496
502
  if (duration <= 0 && fallbackTiming && fallbackTiming.duration > 0) {
497
503
  start = fallbackTiming.start;
498
504
  duration = fallbackTiming.duration;
499
505
  }
500
- if (duration <= 0 || splitTime < start + SPLIT_BOUNDARY_EPSILON_S || splitTime > start + duration - SPLIT_BOUNDARY_EPSILON_S) {
501
- return { html: source, matched: false, newId: null };
506
+ if (duration <= 0) return refused(source, "no-duration");
507
+ if (splitTime < start + SPLIT_BOUNDARY_EPSILON_S || splitTime > start + duration - SPLIT_BOUNDARY_EPSILON_S) {
508
+ return refused(source, "outside-clip");
502
509
  }
503
510
  newId = nextUniqueId(document, newId);
504
511
  const firstDuration = splitTime - start;
505
512
  const secondDuration = duration - firstDuration;
506
513
  const clone = el.cloneNode(true);
507
- if (!isHTMLElement(clone)) return { html: source, matched: false, newId: null };
514
+ if (!isHTMLElement(clone)) return refused(source, "target-not-found");
508
515
  clone.setAttribute("id", newId);
509
516
  dedupeClonedCompositionId(document, clone);
510
517
  clone.removeAttribute("data-hf-id");
@@ -6,31 +6,31 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  redactHome
9
- } from "./chunk-6KQHLLKI.js";
9
+ } from "./chunk-PVDBALBI.js";
10
10
  import "./chunk-SHOE3UR6.js";
11
11
  import "./chunk-J3OVTOVC.js";
12
- import "./chunk-BRHSN2TH.js";
13
- import "./chunk-5UT3R43E.js";
12
+ import "./chunk-L5EM7KAY.js";
13
+ import "./chunk-NL4RCLQF.js";
14
14
  import "./chunk-6BEFEWFB.js";
15
- import "./chunk-HXQO2Q6T.js";
15
+ import "./chunk-RPLMK4WC.js";
16
16
  import {
17
17
  loadProducer
18
- } from "./chunk-5UXMG5CM.js";
19
- import "./chunk-5G5YR4P3.js";
20
- import "./chunk-V2BRRTED.js";
21
- import "./chunk-DCLZEI2C.js";
18
+ } from "./chunk-VMWRWUDV.js";
19
+ import "./chunk-3IMHFJDG.js";
20
+ import "./chunk-ZO74SCFC.js";
21
+ import "./chunk-L3HCPZZT.js";
22
22
  import "./chunk-6FDVPIOO.js";
23
23
  import {
24
24
  DEFAULT_HISTORY_ROOT,
25
25
  listProjectHistories,
26
26
  pruneGoneProjectHistories,
27
27
  reclaimUncopiedBlobs
28
- } from "./chunk-XLPCBE2Q.js";
28
+ } from "./chunk-US2SO6O4.js";
29
29
  import {
30
30
  CACHE_DIR_NAME,
31
31
  cleanupProxyCache
32
- } from "./chunk-76GLTXI5.js";
33
- import "./chunk-72K35GRP.js";
32
+ } from "./chunk-IIXZLGSI.js";
33
+ import "./chunk-4R63FXGU.js";
34
34
  import "./chunk-ALVXFXUG.js";
35
35
  import "./chunk-W4DMQZL5.js";
36
36
  import {
@@ -52,30 +52,28 @@ import {
52
52
  directorySizeBytes,
53
53
  gcExtractionCache,
54
54
  resolveExtractCacheDir
55
- } from "./chunk-ATRSQXUV.js";
55
+ } from "./chunk-NMQWKWV4.js";
56
56
  import "./chunk-Z5J67X44.js";
57
57
  import "./chunk-5S7W3TUO.js";
58
58
  import "./chunk-D3MUHMFG.js";
59
- import "./chunk-Q3IYSP4G.js";
59
+ import "./chunk-4TW62PDH.js";
60
60
  import "./chunk-YWRUQ7XZ.js";
61
- import "./chunk-DJTC4NK7.js";
62
- import "./chunk-MEJH7VEA.js";
63
- import "./chunk-AFYIYW5D.js";
61
+ import "./chunk-HUZ3GL3F.js";
62
+ import "./chunk-VBEP277H.js";
64
63
  import "./chunk-VC76R6W2.js";
65
64
  import "./chunk-OFQWTKPW.js";
66
65
  import "./chunk-RQVDTPGD.js";
67
66
  import "./chunk-3GXQPCJC.js";
68
67
  import "./chunk-TK7THLRO.js";
69
68
  import "./chunk-FXMKHHPO.js";
70
- import "./chunk-MT2Z5YBM.js";
69
+ import "./chunk-P7DCQJ6N.js";
71
70
  import "./chunk-X6JUUQCM.js";
72
71
  import "./chunk-KGPLIH7B.js";
73
72
  import "./chunk-LAGZGKKN.js";
74
73
  import "./chunk-K4MJX7SR.js";
75
74
  import "./chunk-WE42NVH7.js";
76
- import "./chunk-CZ5NNJ6H.js";
75
+ import "./chunk-NTMMUK6Q.js";
77
76
  import "./chunk-WVRAFHJU.js";
78
- import "./chunk-CZGHFATT.js";
79
77
  import "./chunk-HYRPH6LL.js";
80
78
  import "./chunk-OHQRQE7F.js";
81
79
  import "./chunk-CUCP7FKH.js";
@@ -86,20 +84,21 @@ import "./chunk-2RY2LWAA.js";
86
84
  import "./chunk-EPQC3FGZ.js";
87
85
  import "./chunk-WC4MTXGN.js";
88
86
  import "./chunk-FBN2M2HK.js";
89
- import "./chunk-766MOTIZ.js";
87
+ import "./chunk-JOQR4AP6.js";
90
88
  import {
91
89
  withMeta
92
- } from "./chunk-OMOBWXJL.js";
90
+ } from "./chunk-DVKZ55DS.js";
93
91
  import "./chunk-BR2JQQC5.js";
94
- import "./chunk-CKEOCCMK.js";
92
+ import "./chunk-CMQZP52Y.js";
95
93
  import "./chunk-ISN5GRYI.js";
94
+ import "./chunk-GR2E54E6.js";
96
95
  import "./chunk-ADVVQX4I.js";
97
96
  import {
98
97
  setCommandExitCode
99
98
  } from "./chunk-66W5IWLO.js";
100
99
  import "./chunk-FYZFURBN.js";
101
100
  import "./chunk-QBXDU24O.js";
102
- import "./chunk-YEE4A3IV.js";
101
+ import "./chunk-DEI35LJT.js";
103
102
  import "./chunk-E63BDV4Z.js";
104
103
  import "./chunk-G7VEYUZ2.js";
105
104
  import "./chunk-XT6MXC7A.js";