hyperframes 0.9.15 → 0.9.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. package/README.md +9 -0
  2. package/dist/{add-S3QTEUUZ.js → add-GEGI5ERI.js} +15 -14
  3. package/dist/{agentPromptGenerator-7FNPHUHJ.js → agentPromptGenerator-VV7UQDGL.js} +7 -8
  4. package/dist/{animatedGifPrep-NFT2NCNX.js → animatedGifPrep-JTPCKJ44.js} +7 -8
  5. package/dist/api.js +36 -36
  6. package/dist/{appHistory-BCWH6XYH.js → appHistory-WXJ4STHX.js} +2 -1
  7. package/dist/{asset-2BBOP7JZ.js → asset-ZTXZ6HGB.js} +2 -2
  8. package/dist/{assetCataloger-IY3XEIOP.js → assetCataloger-ATGUE5IY.js} +9 -10
  9. package/dist/{audio-QJUSICGQ.js → audio-5SBZBNSP.js} +19 -19
  10. package/dist/{auth-VDFPA4VH.js → auth-NDUIJ4HS.js} +4 -4
  11. package/dist/{autoUpdate-XUQK5WGH.js → autoUpdate-PZTBUAA5.js} +25 -16
  12. package/dist/{avatars-KCRRY6FB.js → avatars-YY7FU76E.js} +16 -16
  13. package/dist/{backgroundChecks-QAR4J3EA.js → backgroundChecks-6KERI5QL.js} +5 -4
  14. package/dist/backgroundChecksWorker.js +5 -4
  15. package/dist/{batchRender-IHSCRPWL.js → batchRender-L3IIY2FT.js} +5 -4
  16. package/dist/{beats-KHLBORQV.js → beats-UBUJBSVD.js} +11 -11
  17. package/dist/{benchmark-7OK27YVS.js → benchmark-YJ2U5KE3.js} +11 -11
  18. package/dist/{billing-CZWTUT4T.js → billing-YN35KTEH.js} +79 -36
  19. package/dist/{browser-R4ZG7RVY.js → browser-NRDSXRX7.js} +8 -7
  20. package/dist/{bundleWithLocalizedFonts-F3TAMJ2J.js → bundleWithLocalizedFonts-5T25BRZU.js} +1 -1
  21. package/dist/{capture-2TL7VL2K.js → capture-7K7VWXBQ.js} +17 -18
  22. package/dist/{capture-LRBDPPKP.js → capture-MP46JHB7.js} +3 -3
  23. package/dist/{captureCompositionFrame-2XH2Z4RY.js → captureCompositionFrame-4VZCJGGD.js} +13 -14
  24. package/dist/{catalog-PTVMH3GV.js → catalog-32CQF7IT.js} +23 -21
  25. package/dist/{catch-up-WRIIXOZE.js → catch-up-IVBUCPZM.js} +9 -7
  26. package/dist/{check-XHB7IC3B.js → check-U5PPKHG5.js} +43 -43
  27. package/dist/{checkAudio-LETXIMCO.js → checkAudio-ZCRRON4E.js} +10 -11
  28. package/dist/{checkBrowser-YHD3NILB.js → checkBrowser-MS5NKDXR.js} +36 -36
  29. package/dist/{chunk-DCLZEI2C.js → chunk-344RFO72.js} +2 -2
  30. package/dist/{chunk-US4BCRYB.js → chunk-3L2POG2J.js} +23 -1
  31. package/dist/{chunk-SUFHFBNO.js → chunk-4ECLIUTB.js} +2 -2
  32. package/dist/{chunk-HCTHKNMZ.js → chunk-4FHTWYDZ.js} +1 -1
  33. package/dist/{chunk-RLPTQF5E.js → chunk-5IVECOVN.js} +2 -2
  34. package/dist/{chunk-4W5NIHYU.js → chunk-5L2CII4L.js} +1 -1
  35. package/dist/{chunk-OO6AETRF.js → chunk-65XOIIBM.js} +1 -1
  36. package/dist/{chunk-D3B76FBE.js → chunk-6H5KN7CJ.js} +5 -5
  37. package/dist/{chunk-EWAPC74T.js → chunk-6H5NILM5.js} +1 -1
  38. package/dist/{chunk-76AJS2LI.js → chunk-6M3TQUDF.js} +9 -3
  39. package/dist/{chunk-X5FSMQEJ.js → chunk-6RPKPL22.js} +1 -1
  40. package/dist/{chunk-76GLTXI5.js → chunk-72PVZ2A4.js} +2 -2
  41. package/dist/{chunk-AVOYOW2Y.js → chunk-75PTCQAO.js} +1 -1
  42. package/dist/{chunk-7YCF2F5M.js → chunk-77E2UIIR.js} +1 -1
  43. package/dist/{chunk-G4L4JU4I.js → chunk-A4OX3TI6.js} +2 -2
  44. package/dist/{chunk-LQ74BSBR.js → chunk-AD2T3VAJ.js} +2 -2
  45. package/dist/{chunk-BRHSN2TH.js → chunk-AGQNRDYJ.js} +2 -2
  46. package/dist/{chunk-CIWX5UKC.js → chunk-ALQAHCK5.js} +14 -5
  47. package/dist/{chunk-UWZ2OIWM.js → chunk-AZO2YY3U.js} +1 -1
  48. package/dist/{chunk-XD7LQWTU.js → chunk-B2W2CPXF.js} +2 -2
  49. package/dist/{chunk-G7XKDDWE.js → chunk-BB5CZTGW.js} +1 -1
  50. package/dist/{chunk-W7ITBVJE.js → chunk-BJAESOYP.js} +12 -9
  51. package/dist/{chunk-N4KVW3ZI.js → chunk-BSPE37DP.js} +4 -4
  52. package/dist/{chunk-IVIVAE6U.js → chunk-CAD6G75K.js} +2 -2
  53. package/dist/{chunk-CKEOCCMK.js → chunk-CMQZP52Y.js} +22 -18
  54. package/dist/{chunk-3CHUQRFX.js → chunk-DM7WRHB5.js} +1 -1
  55. package/dist/{chunk-MRJRAAB2.js → chunk-DV7RLE6B.js} +3 -3
  56. package/dist/{chunk-EOCFNE53.js → chunk-ENVFGBRD.js} +1 -1
  57. package/dist/chunk-EXA6R6SW.js +24 -0
  58. package/dist/{chunk-MB2NPHAS.js → chunk-G4OGVFUJ.js} +1 -1
  59. package/dist/{chunk-3YIOLQ2Y.js → chunk-G54QPS3F.js} +5 -5
  60. package/dist/{chunk-P77AJDIN.js → chunk-GGSTJZQL.js} +3 -3
  61. package/dist/{chunk-XQ26I3PL.js → chunk-GKLZMLX3.js} +4 -2
  62. package/dist/chunk-GR2E54E6.js +31 -0
  63. package/dist/{chunk-6CXFFUL5.js → chunk-HK4AN44J.js} +2 -2
  64. package/dist/{chunk-DJTC4NK7.js → chunk-IR3JMMFT.js} +55 -4
  65. package/dist/{chunk-7WAEV3OM.js → chunk-IX5QY54Q.js} +2 -2
  66. package/dist/{chunk-XWFPP6LC.js → chunk-J2I2LTJM.js} +2 -2
  67. package/dist/chunk-J3G5KEPY.js +5035 -0
  68. package/dist/{chunk-BY7PZB6H.js → chunk-J3QW55W5.js} +2 -2
  69. package/dist/{chunk-TRA75UKG.js → chunk-JCIPZMKD.js} +3 -3
  70. package/dist/{chunk-CZ5NNJ6H.js → chunk-JFUXZERX.js} +2 -2
  71. package/dist/{chunk-766MOTIZ.js → chunk-JOQR4AP6.js} +5 -1
  72. package/dist/{chunk-FBQKUBMD.js → chunk-JPODNK2G.js} +2 -2
  73. package/dist/{chunk-AWV4F5TS.js → chunk-JWCMOC7O.js} +3 -3
  74. package/dist/{chunk-HQOJ5ZBI.js → chunk-K2JGJUMR.js} +3 -3
  75. package/dist/{chunk-RL5VZ4Y2.js → chunk-KWORPYKW.js} +1 -1
  76. package/dist/{chunk-ZFZXGZTX.js → chunk-L24NAUBS.js} +1 -1
  77. package/dist/{chunk-5G5YR4P3.js → chunk-L4ZMCB52.js} +29 -18
  78. package/dist/{chunk-WM7JSUK2.js → chunk-L6X4ONBM.js} +7 -7
  79. package/dist/{chunk-6KQHLLKI.js → chunk-LHRQP7TF.js} +7 -7
  80. package/dist/{chunk-72K35GRP.js → chunk-LIUJRACZ.js} +1 -1
  81. package/dist/{chunk-OWZAG6N4.js → chunk-LOKTVSTM.js} +1 -1
  82. package/dist/{chunk-BVAPHHMQ.js → chunk-LP7B3JLC.js} +4 -2
  83. package/dist/{chunk-44HJCTWN.js → chunk-M2Y245ET.js} +2 -2
  84. package/dist/{chunk-YEE4A3IV.js → chunk-N32TVQYQ.js} +2 -2
  85. package/dist/{chunk-5UT3R43E.js → chunk-NL4RCLQF.js} +1 -1
  86. package/dist/{chunk-HXQO2Q6T.js → chunk-NNXS4VBX.js} +1 -1
  87. package/dist/{chunk-IODESAJT.js → chunk-NPDBBMXX.js} +1 -1
  88. package/dist/{chunk-QNE3NJO5.js → chunk-O2B3YNUH.js} +3 -3
  89. package/dist/{chunk-4VOK4IOF.js → chunk-OIJHKOV2.js} +26 -9
  90. package/dist/{chunk-XLNV66JK.js → chunk-OK3IQC32.js} +1 -1
  91. package/dist/{chunk-V2BRRTED.js → chunk-P2AOKCAC.js} +16 -9
  92. package/dist/{chunk-MT2Z5YBM.js → chunk-P7DCQJ6N.js} +1 -1
  93. package/dist/{chunk-2VYQ62PP.js → chunk-PC662ORN.js} +8 -3
  94. package/dist/{chunk-Z6AERD5Q.js → chunk-PGM5YXBA.js} +1 -1
  95. package/dist/{chunk-4VYPICIA.js → chunk-PJEXCOCR.js} +12 -4
  96. package/dist/{chunk-Q5QMH5QA.js → chunk-PLVIN7X6.js} +1 -1
  97. package/dist/{chunk-NB2AEFNM.js → chunk-PNZD5LZL.js} +29 -16
  98. package/dist/{chunk-UCQ7ZF47.js → chunk-PWOMLJFV.js} +2 -2
  99. package/dist/{chunk-6QP3ZSJN.js → chunk-PWTWZF3F.js} +1 -1
  100. package/dist/{chunk-KJSCMUST.js → chunk-Q5M3JAME.js} +14 -14
  101. package/dist/{chunk-RXFKSZN2.js → chunk-QCHPM3C2.js} +1 -1
  102. package/dist/{chunk-ATRSQXUV.js → chunk-QXGT6KRX.js} +49 -10
  103. package/dist/{chunk-KIGPWWIE.js → chunk-R5LSL2C7.js} +1 -1
  104. package/dist/{chunk-XRKQJADF.js → chunk-S6AMEEGZ.js} +3 -3
  105. package/dist/{chunk-6KZAQHWH.js → chunk-S7UUJ77M.js} +3 -3
  106. package/dist/{chunk-6P2ZRIKN.js → chunk-SE4WJJ43.js} +1 -1
  107. package/dist/{chunk-QBDOEJX2.js → chunk-SOQNCHO5.js} +170 -175
  108. package/dist/{chunk-FU5TXQAN.js → chunk-SPJX4LQR.js} +11 -11
  109. package/dist/{chunk-MYQ4NH3E.js → chunk-SREJU7NR.js} +1 -1
  110. package/dist/{chunk-Q3IYSP4G.js → chunk-TEEPLD64.js} +2 -2
  111. package/dist/{chunk-B3CSMKM7.js → chunk-TJUJJYJC.js} +1 -1
  112. package/dist/{chunk-DTWIC6JZ.js → chunk-TTEOPEJJ.js} +1 -1
  113. package/dist/{chunk-GPLINKEE.js → chunk-U7LBN2BQ.js} +7 -7
  114. package/dist/{chunk-422TEJIX.js → chunk-U7MRV4RM.js} +7 -7
  115. package/dist/{chunk-SIAPGZ4S.js → chunk-UGYQBRHG.js} +4 -4
  116. package/dist/{chunk-TMAFZJAP.js → chunk-UK5DBUJX.js} +7 -7
  117. package/dist/{chunk-XLPCBE2Q.js → chunk-US2SO6O4.js} +1 -1
  118. package/dist/{chunk-ZFDKOTN4.js → chunk-VPBE4USM.js} +25 -20
  119. package/dist/{chunk-5UXMG5CM.js → chunk-W2BP25U5.js} +1 -1
  120. package/dist/{chunk-7X3UDKJK.js → chunk-WMRHEI4N.js} +2 -2
  121. package/dist/{chunk-PMVFBCE5.js → chunk-WWEFNXQI.js} +2 -2
  122. package/dist/{chunk-UWB44MM4.js → chunk-XDT2DMH6.js} +2 -2
  123. package/dist/{chunk-V5UBOBEG.js → chunk-XS27ELRN.js} +3 -3
  124. package/dist/{chunk-AQZZLJY7.js → chunk-YFHOTWWE.js} +2 -2
  125. package/dist/{chunk-SM4DG7SR.js → chunk-YKAK4ALT.js} +3 -3
  126. package/dist/{chunk-IL5CYE3O.js → chunk-YNAKUHSJ.js} +5 -5
  127. package/dist/{chunk-OMOBWXJL.js → chunk-YQ4LB3XC.js} +2 -2
  128. package/dist/{chunk-CHRHMT6W.js → chunk-ZAD422DC.js} +6 -6
  129. package/dist/{chunk-JMUHTEAS.js → chunk-ZEOPRYFK.js} +42 -27
  130. package/dist/{chunk-QK4HTIXK.js → chunk-ZLWRAHBZ.js} +11 -11
  131. package/dist/{chunk-WE6SM4HJ.js → chunk-ZO5QD2FA.js} +2 -2
  132. package/dist/{chunk-SUCTCDDY.js → chunk-ZUZPIM6R.js} +8 -5
  133. package/dist/{clean-F7Y2JBO5.js → clean-5K2KTH5M.js} +22 -22
  134. package/dist/cli.js +65 -64
  135. package/dist/{cloud-SQSYDRCJ.js → cloud-7O2Q7IHJ.js} +4 -4
  136. package/dist/{cloud-RFM3PYTR.js → cloud-D3WTNTF2.js} +5 -4
  137. package/dist/{cloudrun-3NSTX3CE.js → cloudrun-3HRDMWIS.js} +10 -8
  138. package/dist/{compare-J2K3SBGQ.js → compare-D22HJO5V.js} +35 -35
  139. package/dist/{compiler-DMRQ44TO.js → compiler-RY6IVESI.js} +3 -3
  140. package/dist/{component-FDWARSYD.js → component-B7V7A5AP.js} +3 -3
  141. package/dist/{compositions-CVCE2GJN.js → compositions-HFBRVNYW.js} +14 -14
  142. package/dist/{contactSheet-RJTY6IIV.js → contactSheet-RWRMLRZI.js} +3 -3
  143. package/dist/{curve-C7MZIWFU.js → curve-7PLN35CZ.js} +13 -13
  144. package/dist/{cuts-PN574VHO.js → cuts-ZG7TBYVD.js} +14 -14
  145. package/dist/{delete-V6U3W4CS.js → delete-YL4IMJJZ.js} +8 -7
  146. package/dist/{deploy-R33MSCVV.js → deploy-A6CDKFQZ.js} +2 -2
  147. package/dist/{describeProject-ARFPRWDZ.js → describeProject-VZCHDSWT.js} +8 -9
  148. package/dist/{deterministicFonts-HY5GWGQQ.js → deterministicFonts-DQDB47K3.js} +2 -2
  149. package/dist/{diff-QFMI6N6P.js → diff-PBVZRS5Z.js} +40 -40
  150. package/dist/{dist-XVVBUFOD.js → dist-BU547SVG.js} +2 -3
  151. package/dist/{dist-TI44VPHO.js → dist-FPRADDH6.js} +1 -1
  152. package/dist/{dist-BYY3JRG2.js → dist-HRK4GWLN.js} +11 -12
  153. package/dist/docs/examples.md +4 -0
  154. package/dist/{doctor-CREGMXCV.js → doctor-IFTYCM3E.js} +15 -15
  155. package/dist/{energy-7G2AX2CC.js → energy-ENGAT6Z5.js} +14 -14
  156. package/dist/{events-ISILMISS.js → events-A6SBEKVH.js} +5 -4
  157. package/dist/{events-Y47D7LCD.js → events-AZ5XEDBE.js} +16 -16
  158. package/dist/{events-LF3JDEMV.js → events-CMAXQTDX.js} +6 -5
  159. package/dist/{extract-NXHUAZJQ.js → extract-IE74J44O.js} +15 -15
  160. package/dist/{face-52FKXAW6.js → face-JAPTS7VJ.js} +14 -14
  161. package/dist/{feedback-LDYDOVKP.js → feedback-QCFWXJCD.js} +13 -13
  162. package/dist/{ffmpeg-4YTCWYMO.js → ffmpeg-4YMUUJP7.js} +7 -8
  163. package/dist/{figma-K3XDEK3K.js → figma-C36IECKZ.js} +3 -3
  164. package/dist/fontLocalizeCli.js +11 -12
  165. package/dist/{frames-ZR3SBSEJ.js → frames-ZW26G4UP.js} +16 -16
  166. package/dist/{generate-DDFMXJZV.js → generate-ZXR73M22.js} +27 -27
  167. package/dist/{get-YLVWTD7K.js → get-3KICFW3X.js} +8 -7
  168. package/dist/{gpuPolicy-5L45UYI4.js → gpuPolicy-SBYZLOAU.js} +7 -8
  169. package/dist/{grade-compare-U22AZXLQ.js → grade-compare-DCL3OPKF.js} +35 -35
  170. package/dist/{heifImagePrep-E5UHLK7F.js → heifImagePrep-YQWEIVTC.js} +8 -9
  171. package/dist/{help-6UBS7VEC.js → help-PUL7OS7X.js} +1 -1
  172. package/dist/{history-NQ57D6BT.js → history-GPBKC5DE.js} +12 -11
  173. package/dist/hyperframe.manifest.json +1 -1
  174. package/dist/hyperframe.runtime.iife.js +68 -68
  175. package/dist/hyperframes-player.global.js +3 -3
  176. package/dist/{info-VMAWCCR7.js → info-7I6ZVJ64.js} +10 -10
  177. package/dist/{init-E3E5O4BO.js → init-5MCEGVHR.js} +77 -42
  178. package/dist/{ink-JP2JIJ7O.js → ink-NLYWOBTK.js} +14 -14
  179. package/dist/{inspect-PB7AQSWP.js → inspect-52COR3TB.js} +34 -34
  180. package/dist/{installer-DXVPAZI5.js → installer-ARMP4WLF.js} +5 -5
  181. package/dist/{keyframes-WU52W4WC.js → keyframes-3UMSTEYW.js} +9 -8
  182. package/dist/{lambda-EPKOKH3F.js → lambda-FYHLXH4H.js} +11 -12
  183. package/dist/{layout-QYDZ3OWK.js → layout-QKWAPDPV.js} +34 -34
  184. package/dist/{lint-HA2BXUCU.js → lint-WJCUB2CR.js} +18 -11
  185. package/dist/{lintProject-Z2TEXMY4.js → lintProject-FPLCK7VP.js} +1 -1
  186. package/dist/{list-P4PHY54O.js → list-4FQ4BDXW.js} +8 -7
  187. package/dist/{localPage-GJQ2KHOH.js → localPage-YINL6OV7.js} +7 -8
  188. package/dist/{login-FZ224A3F.js → login-P74VBTVA.js} +8 -7
  189. package/dist/{logout-YACQMRZN.js → logout-EQ2HJDL4.js} +4 -3
  190. package/dist/{look-OMZ2QZO5.js → look-QCOMYMSD.js} +14 -14
  191. package/dist/{manager-5V4O7DY3.js → manager-MKDNQ5KZ.js} +2 -2
  192. package/dist/{manager-PFURXZN7.js → manager-V2ZJSF3Q.js} +8 -9
  193. package/dist/{measure-5UEQ3Z35.js → measure-7IODZ7VY.js} +11 -11
  194. package/dist/{media-treatment-TD6MD2AQ.js → media-treatment-UJIFSAXV.js} +16 -16
  195. package/dist/{media-use-WM7OZFIU.js → media-use-4Y5XRY6B.js} +6 -5
  196. package/dist/{models-RWXD6PFC.js → models-WPBGJ7K6.js} +11 -12
  197. package/dist/{motionShot-VI4JADFG.js → motionShot-DZZXLIIT.js} +17 -18
  198. package/dist/{normalize-audio-BS27PUKV.js → normalize-audio-QS2GZ5IT.js} +11 -11
  199. package/dist/{open-UMB23DN6.js → open-SIWIC52J.js} +16 -15
  200. package/dist/{parakeetRunner-2QB5ZG35.js → parakeetRunner-YUUCCA3S.js} +13 -14
  201. package/dist/{pipeline-3P5DX3DB.js → pipeline-AJKIZGUM.js} +11 -12
  202. package/dist/{play-CF73RCMH.js → play-4EF3JLTU.js} +24 -24
  203. package/dist/{preflight-JQS3EL4O.js → preflight-LSDOTWZ5.js} +9 -10
  204. package/dist/{present-RPBRZSP2.js → present-AOLHT3YC.js} +20 -20
  205. package/dist/{preview-XT5SK5IE.js → preview-WP5VAX3M.js} +28 -26
  206. package/dist/{probe-OPBECP2X.js → probe-WZ3OWMKG.js} +14 -14
  207. package/dist/{producer-YY7LXKRQ.js → producer-C72VSLBR.js} +1 -1
  208. package/dist/{projectConfig-JA6XEBSL.js → projectConfig-LPC7WK4W.js} +7 -7
  209. package/dist/{publication-EOYYVFJS.js → publication-QGBUXKB2.js} +2 -3
  210. package/dist/{publish-TPBXTYN2.js → publish-KA2LPVL7.js} +16 -15
  211. package/dist/{refresh-L5C2HPMC.js → refresh-ARZZRKMP.js} +4 -3
  212. package/dist/{remove-background-DMV2HTVF.js → remove-background-MC6HXEAW.js} +12 -13
  213. package/dist/{render-RXQUFM2X.js → render-2STR3XR5.js} +62 -43
  214. package/dist/{render-WQQ7ZPS5.js → render-IQUQ7EKS.js} +30 -30
  215. package/dist/{render-P5745VYG.js → render-RPMLSL7M.js} +5 -6
  216. package/dist/{render-batch-I6OHT72Q.js → render-batch-2AWWGFNK.js} +5 -6
  217. package/dist/renderSetupWorker.js +3 -3
  218. package/dist/{resolver-CMFVVODA.js → resolver-D3Q6LTIO.js} +5 -5
  219. package/dist/{reverse-5CNVGBVP.js → reverse-62TKSQ7Q.js} +1 -1
  220. package/dist/{run-65M6ECM2.js → run-GQNVIYMD.js} +6 -5
  221. package/dist/{screenshotCapture-HTGXPA7D.js → screenshotCapture-MM5V4H7M.js} +37 -4
  222. package/dist/{sherpa-BPJWQXFB.js → sherpa-ZHAABYE3.js} +12 -13
  223. package/dist/skills/hyperframes/SKILL.md +1 -1
  224. package/dist/skills/hyperframes/references/format.md +1 -1
  225. package/dist/skills/hyperframes/references/path-tracing.md +36 -0
  226. package/dist/skills/hyperframes/references/runtimes.md +1 -1
  227. package/dist/skills/hyperframes/references/storyboard.md +1 -1
  228. package/dist/skills/hyperframes/references/types/3d.md +1 -1
  229. package/dist/skills/media-use/SKILL.md +1 -1
  230. package/dist/skills/media-use/references/media-treatments.md +1 -1
  231. package/dist/skills/media-use/references/setup-providers.md +1 -1
  232. package/dist/skills/media-use/scripts/lib/local-media-search.mjs +6 -2
  233. package/dist/skills/media-use/scripts/lib/local-media-search.test.mjs +23 -0
  234. package/dist/skills/media-use/scripts/lib/telemetry.mjs +6 -1
  235. package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +34 -0
  236. package/dist/{skills-2Z2E7TX7.js → skills-BYABSOL3.js} +10 -9
  237. package/dist/{skillsUpdateCheck-TQHSQ26D.js → skillsUpdateCheck-FKOS3ME7.js} +5 -4
  238. package/dist/{snapshot-NR3BZVZK.js → snapshot-N5O5VEBT.js} +48 -57
  239. package/dist/{src-VZIS3GRG.js → src-272JLFKW.js} +8 -7
  240. package/dist/{src-LIR2WBQL.js → src-O6ITP7WU.js} +10 -11
  241. package/dist/{start-FDWHVOMC.js → start-K2LGEUB5.js} +43 -28
  242. package/dist/{staticProjectServer-L5O2GBZH.js → staticProjectServer-C7A4W2B4.js} +19 -20
  243. package/dist/{status-SMFFS6LS.js → status-USHH6OD5.js} +19 -16
  244. package/dist/studio/assets/{hyperframes-player-bkb0-LEY.js → hyperframes-player-Bb-Fbf5k.js} +1 -1
  245. package/dist/studio/assets/{index-DfsIam9M.js → index-BZuKog_A.js} +137 -137
  246. package/dist/studio/assets/{index-RUPGNyct.css → index-CNZk2EFC.css} +1 -1
  247. package/dist/studio/assets/{index-D5zessN9.js → index-Cap2SGKw.js} +1 -1
  248. package/dist/studio/index.html +2 -2
  249. package/dist/{studio-api-VLBZZ4IB.js → studio-api-FVBB2MVZ.js} +11 -12
  250. package/dist/{studioSelectionClient-FA6XPVIL.js → studioSelectionClient-W2S3H2VO.js} +3 -1
  251. package/dist/{studioServer-CP5HGR3W.js → studioServer-SFN7YUNV.js} +59 -60
  252. package/dist/{sync-NBM7J3IT.js → sync-JUDSPP46.js} +14 -14
  253. package/dist/{synthesize-S3FF5KXC.js → synthesize-GX74JPPZ.js} +2 -2
  254. package/dist/{telemetry-B5OJHH2C.js → telemetry-3DEZK5Q3.js} +6 -5
  255. package/dist/{telemetry-5WZGQCKA.js → telemetry-IXOTZW4E.js} +2 -1
  256. package/dist/{templates-PQZCZZUG.js → templates-3FJRJ6KB.js} +16 -15
  257. package/dist/{timeline-X27NA7UH.js → timeline-P4CS4INR.js} +40 -25
  258. package/dist/{tokens-XS2LOTWB.js → tokens-EFAVVV56.js} +2 -2
  259. package/dist/{transcribe-7M33PLAV.js → transcribe-JKV42B3Q.js} +29 -29
  260. package/dist/{transcribe-YPWD4E63.js → transcribe-YTBSMCFG.js} +10 -11
  261. package/dist/{tts-QRQEYR3Q.js → tts-QW53FBKW.js} +3 -3
  262. package/dist/{update-BRTUI6AI.js → update-6QVOSVBW.js} +11 -10
  263. package/dist/{updateCheck-IW37C7XV.js → updateCheck-2FWJ2X62.js} +4 -3
  264. package/dist/{upgrade-7EF5SHLD.js → upgrade-AUHNDKNP.js} +5 -4
  265. package/dist/{urlDownloader-L6HYQHNK.js → urlDownloader-6ZSSYTOY.js} +6 -7
  266. package/dist/{validate-PQJBBBBK.js → validate-DKEWYJ3V.js} +28 -28
  267. package/dist/{video-DO6SLUPI.js → video-N6AEYBUW.js} +9 -10
  268. package/dist/{voices-VP5LLP5V.js → voices-MT7CM6O5.js} +24 -24
  269. package/dist/warmCheck.js +44 -44
  270. package/dist/warmCheckClient.js +2 -2
  271. package/package.json +1 -1
  272. package/dist/chunk-AFYIYW5D.js +0 -5035
  273. package/dist/chunk-MEJH7VEA.js +0 -63
@@ -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() {
@@ -9,14 +9,14 @@ import {
9
9
  } from "./chunk-SWC3QIEH.js";
10
10
  import {
11
11
  stoppedByCancelSignal
12
- } from "./chunk-IODESAJT.js";
12
+ } from "./chunk-NPDBBMXX.js";
13
13
  import {
14
14
  DEFAULT_MODEL,
15
15
  ensureModel,
16
16
  ensureWhisper,
17
17
  hasFFmpeg,
18
18
  pinnedWhisperModel
19
- } from "./chunk-XD7LQWTU.js";
19
+ } from "./chunk-B2W2CPXF.js";
20
20
  import {
21
21
  sha256File
22
22
  } from "./chunk-RZ6CXJ56.js";
@@ -24,7 +24,7 @@ import {
24
24
  findFFmpeg,
25
25
  findFFprobe,
26
26
  getFFmpegInstallHint
27
- } from "./chunk-HXQO2Q6T.js";
27
+ } from "./chunk-NNXS4VBX.js";
28
28
  import {
29
29
  findWavChunk
30
30
  } from "./chunk-UOFAE5RF.js";
@@ -6279,7 +6279,7 @@ var mediaRules = [
6279
6279
  severity: "error",
6280
6280
  message: `<video> with data-start is nested inside <${parent.name}${parent.id ? ` id="${parent.id}"` : ""}> which also has data-start. The frame extractor resolves the video's start from its own data-start without the wrapper's offset, while visibility uses the wrapper's window, so the two disagree: the clip shows the wrong source frames and then disappears partway through its slot.`,
6281
6281
  elementId: readAttr(tag.raw, "id") || void 0,
6282
- fixHint: "Time the wrapper OR the video, never both: remove data-start from the wrapper (use it as a non-timed visual container), or move the <video> up to be a direct child of the stage.",
6282
+ fixHint: "A <video> takes no timing from its wrapper: time the <video> and leave the wrapper untimed (remove its data-start; it only places or animates), or move the <video> up to be a direct child of the stage.",
6283
6283
  snippet: truncateSnippet(tag.raw)
6284
6284
  });
6285
6285
  }
@@ -6363,7 +6363,7 @@ var mediaRules = [
6363
6363
  severity: "error",
6364
6364
  message: `<${tag.name}${hasId ? ` id="${hasId}"` : ""}> has src but no data-start. HyperFrames cannot own playback for untimed media, so preview and render behavior can diverge.`,
6365
6365
  elementId: hasId || void 0,
6366
- fixHint: wrapper ? `This <${tag.name}> sits inside the timed <${wrapper.name}${wrapper.id ? ` id="${wrapper.id}"` : ""}> (data-start="${wrapper.start}"), and the wrapper's data-start would then clash. Move the <${tag.name}> out as a direct child of the stage and give it that wrapper's data-start="${wrapper.start}"${wrapper.duration ? ` and data-duration="${wrapper.duration}"` : ""}.` : `Add data-start="0" (or the intended start time) and data-duration if the clip should stop before the source ends.`,
6366
+ fixHint: wrapper ? `This <${tag.name}> sits inside the timed <${wrapper.name}${wrapper.id ? ` id="${wrapper.id}"` : ""}> (data-start="${wrapper.start}") and takes no timing from it, so without its own data-start it plays from composition time 0, and a data-start on it would clash with the wrapper's. Move the <${tag.name}> out as a direct child of the stage and give it that wrapper's data-start="${wrapper.start}"${wrapper.duration ? ` and data-duration="${wrapper.duration}"` : ""}.` : `Add data-start="0" (or the intended start time) and data-duration if the clip should stop before the source ends.`,
6367
6367
  snippet: truncateSnippet(tag.raw)
6368
6368
  });
6369
6369
  }
@@ -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
  };
@@ -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-QXGT6KRX.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-IR3JMMFT.js";
18
18
  import {
19
19
  parseHTML
20
20
  } from "./chunk-GWTIFRF5.js";
@@ -23,11 +23,11 @@ import {
23
23
  import {
24
24
  refreshIfNeeded,
25
25
  resolveCloudBaseUrl
26
- } from "./chunk-BY7PZB6H.js";
26
+ } from "./chunk-J3QW55W5.js";
27
27
  import {
28
28
  buildAuthHeaders,
29
29
  tryResolveCredential
30
- } from "./chunk-ZFZXGZTX.js";
30
+ } from "./chunk-L24NAUBS.js";
31
31
  import {
32
32
  HyperframesCloudClient
33
33
  } from "./chunk-3XJM7XZN.js";
@@ -37,7 +37,7 @@ import {
37
37
  } from "./chunk-SWC3QIEH.js";
38
38
  import {
39
39
  hyperframesCacheDir
40
- } from "./chunk-766MOTIZ.js";
40
+ } from "./chunk-JOQR4AP6.js";
41
41
 
42
42
  // src/audio/analysis/run.ts
43
43
  import { existsSync as existsSync3 } from "fs";
@@ -6,16 +6,16 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType
9
- } from "./chunk-5G5YR4P3.js";
9
+ } from "./chunk-L4ZMCB52.js";
10
10
  import {
11
11
  openRangeEnd
12
12
  } from "./chunk-VEIGTKYZ.js";
13
13
  import {
14
14
  stripSdrPngColourTags
15
- } from "./chunk-Q3IYSP4G.js";
15
+ } from "./chunk-TEEPLD64.js";
16
16
  import {
17
17
  injectTagsAtHeadStart
18
- } from "./chunk-AFYIYW5D.js";
18
+ } from "./chunk-J3G5KEPY.js";
19
19
 
20
20
  // src/utils/compositionServer.ts
21
21
  import { createHash } from "crypto";
@@ -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-QXGT6KRX.js";
13
13
 
14
14
  // src/capture/localPage.ts
15
15
  import {
@@ -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";
@@ -19,7 +19,7 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-V2BRRTED.js";
22
+ } from "./chunk-P2AOKCAC.js";
23
23
  import {
24
24
  DEFAULT_TARGET_LUFS,
25
25
  absoluteLoudnessPlan,
@@ -28,7 +28,7 @@ import {
28
28
  requestedProjectPath,
29
29
  requiredFfmpeg,
30
30
  resolveLocalAudioPath
31
- } from "./chunk-DCLZEI2C.js";
31
+ } from "./chunk-344RFO72.js";
32
32
  import {
33
33
  MEDIA_LINK_ATTR,
34
34
  relinkSplitHalves
@@ -47,7 +47,7 @@ import {
47
47
  resolveProjectSignature,
48
48
  serveWhileOpen,
49
49
  settledFileTag
50
- } from "./chunk-XLPCBE2Q.js";
50
+ } from "./chunk-US2SO6O4.js";
51
51
  import {
52
52
  PROXY_PARAMS_VERSION,
53
53
  PROXY_PENDING_RETRY_AFTER_SECONDS,
@@ -71,11 +71,11 @@ import {
71
71
  scanProjectMedia,
72
72
  shouldPrewarmProxy,
73
73
  waitForProxy
74
- } from "./chunk-76GLTXI5.js";
74
+ } from "./chunk-72PVZ2A4.js";
75
75
  import {
76
76
  probeAudioTrack,
77
77
  probeMediaMetadata
78
- } from "./chunk-72K35GRP.js";
78
+ } from "./chunk-LIUJRACZ.js";
79
79
  import {
80
80
  STUDIO_MOTION_PATH,
81
81
  createStudioMotionRenderBodyScript,
@@ -117,8 +117,9 @@ import {
117
117
  ensureHfIds,
118
118
  stampHfIdsInPlace,
119
119
  stripSdrPngColourTags
120
- } from "./chunk-Q3IYSP4G.js";
120
+ } from "./chunk-TEEPLD64.js";
121
121
  import {
122
+ GSAP_BASE_URL_META,
122
123
  PREVIEW_PROXY_BOX_PARAM,
123
124
  PREVIEW_PROXY_LIGHT_PARAM,
124
125
  PREVIEW_PROXY_PRIORITY_HEADER,
@@ -128,16 +129,13 @@ import {
128
129
  formatPreviewProxyBox,
129
130
  formatRenderOutputTimestamp,
130
131
  fpsToNumber,
131
- parseFps,
132
- parsePreviewProxyBox
133
- } from "./chunk-DJTC4NK7.js";
134
- import {
135
- GSAP_BASE_URL_META,
136
132
  gsapCdnDist,
137
133
  motionPathPluginUrl,
138
134
  normalizeGsapBaseUrl,
139
- normalizeGsapLocalRoot
140
- } from "./chunk-MEJH7VEA.js";
135
+ normalizeGsapLocalRoot,
136
+ parseFps,
137
+ parsePreviewProxyBox
138
+ } from "./chunk-IR3JMMFT.js";
141
139
  import {
142
140
  AFTER_FONTS_SCRIPT_TYPE,
143
141
  RUNTIME_BOOTSTRAP_ATTR,
@@ -152,7 +150,7 @@ import {
152
150
  resolveRateSpec,
153
151
  sourceTimeAt,
154
152
  stripEmbeddedRuntimeScripts
155
- } from "./chunk-AFYIYW5D.js";
153
+ } from "./chunk-J3G5KEPY.js";
156
154
  import {
157
155
  ProjectRootMissingError,
158
156
  folderGone,
@@ -5623,7 +5621,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
5623
5621
  let block = extractGsapScriptBlock(html);
5624
5622
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
5625
5623
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
5626
- const { GSAP_CDN } = await import("./dist-XVVBUFOD.js");
5624
+ const { GSAP_CDN } = await import("./dist-BU547SVG.js");
5627
5625
  const bootstrap = [
5628
5626
  `<script src="${GSAP_CDN}"></script>`,
5629
5627
  "<script>",
@@ -6368,6 +6366,12 @@ async function executeGsapMutationRecast(body, block, respond) {
6368
6366
  return respond({ error: `unknown mutation type: ${body.type}` }, 400);
6369
6367
  }
6370
6368
  }
6369
+ var CUT_REFUSALS = {
6370
+ "target-not-found": "Cut target was not found",
6371
+ "reference-without-range": "Cut target starts after another clip and the cut sent no range for it",
6372
+ "no-duration": "Cut target has no duration",
6373
+ "outside-clip": "Cut point was outside the clip's start and end"
6374
+ };
6371
6375
  async function foldAtomicCutFile(c, file, absPath, before, writer) {
6372
6376
  let after = before;
6373
6377
  let splitCount = 0;
@@ -6396,7 +6400,7 @@ async function foldAtomicCutFile(c, file, absPath, before, writer) {
6396
6400
  });
6397
6401
  if (!split.matched || !split.newId) {
6398
6402
  return c.json(
6399
- { error: `Cut target was not found or was outside its authored bounds in ${file.path}` },
6403
+ { error: `${CUT_REFUSALS[split.refusal ?? "target-not-found"]} in ${file.path}` },
6400
6404
  400
6401
6405
  );
6402
6406
  }
@@ -8200,6 +8204,7 @@ function contentDispositionHeader(disposition, filename) {
8200
8204
  }
8201
8205
  function registerRenderRoutes(api, adapter) {
8202
8206
  const renderJobs = /* @__PURE__ */ new Map();
8207
+ const CANCEL_SETTLE_MS = 45e3;
8203
8208
  const nextFreeRenderJobId = (baseId, ext, rendersDir) => {
8204
8209
  let jobId = baseId;
8205
8210
  for (let n = 2; renderJobs.has(jobId) || existsSync6(join10(rendersDir, `${jobId}${ext}`)); n++) {
@@ -8317,13 +8322,19 @@ function registerRenderRoutes(api, adapter) {
8317
8322
  }
8318
8323
  });
8319
8324
  });
8320
- api.post("/render/:jobId/cancel", (c) => {
8325
+ api.post("/render/:jobId/cancel", async (c) => {
8321
8326
  const { jobId } = c.req.param();
8322
8327
  const job = renderJobs.get(jobId);
8323
8328
  if (!job) return c.json({ error: "not found" }, 404);
8324
8329
  if (job.status === "rendering") {
8325
8330
  job.status = "cancelled";
8326
- job.cancel?.();
8331
+ let giveUp;
8332
+ const late = new Promise((done) => giveUp = setTimeout(done, CANCEL_SETTLE_MS));
8333
+ try {
8334
+ await Promise.race([job.cancel?.(), late]);
8335
+ } finally {
8336
+ clearTimeout(giveUp);
8337
+ }
8327
8338
  }
8328
8339
  return c.json({ status: job.status });
8329
8340
  });
@@ -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-BB5CZTGW.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-N4KVW3ZI.js";
15
+ } from "./chunk-BSPE37DP.js";
16
16
  import {
17
17
  idempotencyKey,
18
18
  runJob
19
- } from "./chunk-4VOK4IOF.js";
19
+ } from "./chunk-OIJHKOV2.js";
20
20
  import {
21
21
  projectOf,
22
22
  runFfmpeg
23
- } from "./chunk-2VYQ62PP.js";
23
+ } from "./chunk-PC662ORN.js";
24
24
  import {
25
25
  initialModelForLanguage,
26
26
  transcribe
27
- } from "./chunk-TRA75UKG.js";
27
+ } from "./chunk-JCIPZMKD.js";
28
28
  import {
29
29
  createRenderCancellationScope,
30
30
  stoppedByCancelSignal
31
- } from "./chunk-IODESAJT.js";
31
+ } from "./chunk-NPDBBMXX.js";
32
32
  import {
33
33
  DEFAULT_MODEL,
34
34
  findWhisper,
35
35
  isWhisperUnavailable
36
- } from "./chunk-XD7LQWTU.js";
36
+ } from "./chunk-B2W2CPXF.js";
37
37
  import {
38
38
  formatSrt,
39
39
  formatVtt,
@@ -16,11 +16,11 @@ import {
16
16
  } from "./chunk-J3OVTOVC.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-BRHSN2TH.js";
19
+ } from "./chunk-AGQNRDYJ.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
23
- } from "./chunk-5UT3R43E.js";
23
+ } from "./chunk-NL4RCLQF.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-DL4OD7IA.js";
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-HOCC4J5C.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-ATRSQXUV.js";
32
+ } from "./chunk-QXGT6KRX.js";
33
33
  import {
34
34
  getFreeDiskMb,
35
35
  getShmSizeMb,
@@ -44,14 +44,14 @@ import {
44
44
  runningInstall,
45
45
  updateCommandFor,
46
46
  withMeta
47
- } from "./chunk-OMOBWXJL.js";
47
+ } from "./chunk-YQ4LB3XC.js";
48
48
  import {
49
49
  CONFIG_PATH,
50
50
  withFileLock
51
- } from "./chunk-CKEOCCMK.js";
51
+ } from "./chunk-CMQZP52Y.js";
52
52
  import {
53
53
  VERSION
54
- } from "./chunk-YEE4A3IV.js";
54
+ } from "./chunk-N32TVQYQ.js";
55
55
  import {
56
56
  normalizeErrorMessage
57
57
  } from "./chunk-E63BDV4Z.js";
@@ -249,7 +249,7 @@ function checkEnvironment() {
249
249
  return { ok: true, detail: parts.join(" \xB7 ") };
250
250
  }
251
251
  async function checkWhisper() {
252
- const { findWhisper, getInstallInstructions } = await import("./manager-PFURXZN7.js");
252
+ const { findWhisper, getInstallInstructions } = await import("./manager-V2ZJSF3Q.js");
253
253
  const result = findWhisper();
254
254
  if (result) {
255
255
  return { ok: true, detail: result.executablePath };
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  firstFrameColourArgs,
15
15
  parseFirstFrameColour
16
- } from "./chunk-DJTC4NK7.js";
16
+ } from "./chunk-IR3JMMFT.js";
17
17
  import {
18
18
  findFfBinary
19
19
  } from "./chunk-HYRPH6LL.js";
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
1278
1278
  } catch (err) {
1279
1279
  if (err instanceof Error) {
1280
1280
  try {
1281
- const { trackCommandFailure } = await import("./events-LF3JDEMV.js");
1281
+ const { trackCommandFailure } = await import("./events-CMAXQTDX.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,
@@ -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() {
@@ -8,7 +8,7 @@ import {
8
8
  jsonArg,
9
9
  runMeasure,
10
10
  videoArg
11
- } from "./chunk-76AJS2LI.js";
11
+ } from "./chunk-6M3TQUDF.js";
12
12
  import {
13
13
  makeOutputFolder
14
14
  } from "./chunk-3S27CPV7.js";
@@ -18,7 +18,7 @@ import {
18
18
  probeVideo,
19
19
  round,
20
20
  runFfmpeg
21
- } from "./chunk-2VYQ62PP.js";
21
+ } from "./chunk-PC662ORN.js";
22
22
  import {
23
23
  defineCommand
24
24
  } from "./chunk-DL4OD7IA.js";
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/version.ts
9
- var VERSION = true ? "0.9.15" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.9.15" : "0.0.0-dev";
9
+ var VERSION = true ? "0.9.16" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.9.16" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-6BEFEWFB.js";
10
10
  import {
11
11
  hyperframesCacheDir
12
- } from "./chunk-766MOTIZ.js";
12
+ } from "./chunk-JOQR4AP6.js";
13
13
 
14
14
  // src/utils/optionalPackages.ts
15
15
  import { spawn } from "child_process";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getCachedGpuEncoder
9
- } from "./chunk-ATRSQXUV.js";
9
+ } from "./chunk-QXGT6KRX.js";
10
10
  import {
11
11
  runCancellableProcess
12
12
  } from "./chunk-X6JUUQCM.js";
@@ -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-QXGT6KRX.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  readCompositionFps
9
- } from "./chunk-EWAPC74T.js";
9
+ } from "./chunk-6H5NILM5.js";
10
10
  import {
11
11
  errorBox
12
12
  } from "./chunk-M3JU24AI.js";
13
13
  import {
14
14
  DEFAULT_CONFIG,
15
15
  resolvePageNavigationTimeout
16
- } from "./chunk-ATRSQXUV.js";
16
+ } from "./chunk-QXGT6KRX.js";
17
17
  import {
18
18
  parseFps
19
- } from "./chunk-DJTC4NK7.js";
19
+ } from "./chunk-IR3JMMFT.js";
20
20
  import {
21
21
  failUsage
22
22
  } from "./chunk-66W5IWLO.js";
@@ -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-ZEOPRYFK.js";
11
11
  import {
12
12
  Fix
13
- } from "./chunk-2VYQ62PP.js";
13
+ } from "./chunk-PC662ORN.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",
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-M3JU24AI.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-AQZZLJY7.js";
12
+ } from "./chunk-YFHOTWWE.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-66W5IWLO.js";