hyperframes 0.9.6 → 0.9.7

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 (228) hide show
  1. package/dist/{add-FI2ERBMZ.js → add-WLXYFHMC.js} +12 -12
  2. package/dist/{agentPromptGenerator-DZTXHJV3.js → agentPromptGenerator-2SMADJAL.js} +6 -6
  3. package/dist/{animatedGifPrep-GXQA4KCD.js → animatedGifPrep-4WCFONEJ.js} +6 -6
  4. package/dist/api.js +25 -25
  5. package/dist/{asset-BRSG6JNL.js → asset-UQBTWAMJ.js} +2 -2
  6. package/dist/{assetCataloger-KVWF4SRK.js → assetCataloger-GOUD7VDG.js} +7 -7
  7. package/dist/{audio-BVZOX6LU.js → audio-LDVXMRHU.js} +16 -16
  8. package/dist/{auth-HFFN7USX.js → auth-6LVATNTF.js} +6 -6
  9. package/dist/{autoUpdate-JNGMUXLZ.js → autoUpdate-X6KZRI5E.js} +2 -2
  10. package/dist/{backgroundChecks-O4ADPXOL.js → backgroundChecks-3HGGWYLY.js} +3 -3
  11. package/dist/backgroundChecksWorker.js +3 -3
  12. package/dist/{batchRender-A2HW6QW7.js → batchRender-4ISYYVPQ.js} +3 -3
  13. package/dist/{beats-F7Q3G6VW.js → beats-WN2KYIK3.js} +9 -9
  14. package/dist/{benchmark-4BDMIYTW.js → benchmark-HZPGQ2MP.js} +9 -9
  15. package/dist/{billing-35NVMZWK.js → billing-3Q2EAZFJ.js} +4 -4
  16. package/dist/{browser-S6ADXSB7.js → browser-6XC7MTQL.js} +4 -4
  17. package/dist/{bundleWithLocalizedFonts-EE27EYEU.js → bundleWithLocalizedFonts-ZZ6Y4CEO.js} +2 -2
  18. package/dist/{capture-LWWBL6SH.js → capture-46LJ2VU2.js} +3 -3
  19. package/dist/{capture-CXDJO524.js → capture-FCLAEX5L.js} +11 -11
  20. package/dist/{captureCompositionFrame-BB2ZGM6R.js → captureCompositionFrame-SMUDCZ2L.js} +11 -11
  21. package/dist/{catalog-RQ6HIUBG.js → catalog-72AEDDEG.js} +12 -12
  22. package/dist/{catch-up-PBAXR7FI.js → catch-up-6WIX7SWV.js} +5 -5
  23. package/dist/{check-O4V4UWE3.js → check-R2G5OYIA.js} +37 -37
  24. package/dist/{checkAudio-EUT3AO3L.js → checkAudio-2RP7BNQ3.js} +9 -9
  25. package/dist/{checkBrowser-QQUBR4QI.js → checkBrowser-OWLF2BT4.js} +31 -31
  26. package/dist/{chunk-W3G7DNCR.js → chunk-2BARV2ZU.js} +48 -8
  27. package/dist/{chunk-YUMVQB2F.js → chunk-2X43RFKM.js} +1 -1
  28. package/dist/{chunk-P5GOQDA2.js → chunk-3AH6KE6F.js} +39 -11
  29. package/dist/{chunk-ZDQEVQHB.js → chunk-3LHJHMFK.js} +1 -1
  30. package/dist/{chunk-CUAZHDVV.js → chunk-3Q7UFKFN.js} +3 -3
  31. package/dist/{chunk-DETBSOYO.js → chunk-3YJB4QVS.js} +1 -1
  32. package/dist/{chunk-TS4HYR6I.js → chunk-46HMQ4I3.js} +1 -1
  33. package/dist/{chunk-L6MNWJTL.js → chunk-6IW2HWYI.js} +7 -8
  34. package/dist/{chunk-OHWVSTNO.js → chunk-74VSOKKS.js} +6 -4
  35. package/dist/{chunk-FM7VWSN3.js → chunk-7LCZBNX7.js} +1 -1
  36. package/dist/{chunk-C47ZGVKT.js → chunk-7XRS2NDR.js} +7 -7
  37. package/dist/{chunk-KJDQS24S.js → chunk-AWQE37H3.js} +2 -2
  38. package/dist/{chunk-NASVSJQK.js → chunk-BGMMC352.js} +19 -7
  39. package/dist/{chunk-6NJVSTSY.js → chunk-BVAPHHMQ.js} +7 -3
  40. package/dist/{chunk-4III3SDC.js → chunk-C3FKYBZ4.js} +10 -10
  41. package/dist/{chunk-YFISKULK.js → chunk-C7XW5WPZ.js} +2 -2
  42. package/dist/{chunk-RYNMIBZM.js → chunk-CTPYBHF3.js} +2 -2
  43. package/dist/{chunk-2FNUCIHD.js → chunk-CUCDUPTA.js} +1 -1
  44. package/dist/{chunk-VWRIARRR.js → chunk-CX6MGY2B.js} +13 -13
  45. package/dist/{chunk-44T2V4EW.js → chunk-DOS6S7HW.js} +1 -1
  46. package/dist/{chunk-PWYAOU4I.js → chunk-DZNJD7BH.js} +1 -1
  47. package/dist/{chunk-SAWXMCHB.js → chunk-E3IBPTX7.js} +1 -1
  48. package/dist/{chunk-HTTGTROQ.js → chunk-E4XS2M2E.js} +1 -1
  49. package/dist/{chunk-TIXW6JWD.js → chunk-EG7FZSEF.js} +1 -1
  50. package/dist/{chunk-GOPJLAMZ.js → chunk-ETYQYG6Q.js} +78 -19
  51. package/dist/{chunk-2KYY75JP.js → chunk-FLDSZTHP.js} +2 -2
  52. package/dist/{chunk-YIWNZ2CI.js → chunk-FYDFHW22.js} +13 -13
  53. package/dist/{chunk-YDG5LVIK.js → chunk-FYR2GKAA.js} +4 -4
  54. package/dist/{chunk-AB3ZXWI3.js → chunk-GBEGZOP3.js} +1 -1
  55. package/dist/{chunk-YY7YI2FW.js → chunk-GK3OROLS.js} +1 -1
  56. package/dist/{chunk-M4WEGGF7.js → chunk-HBCY63DS.js} +2 -2
  57. package/dist/{chunk-APVBITVZ.js → chunk-HRSZOW3U.js} +1 -1
  58. package/dist/{chunk-47IBOMXH.js → chunk-HZG42ZYW.js} +3 -3
  59. package/dist/{chunk-QDB7EFLI.js → chunk-IAZ2A7D6.js} +5 -3
  60. package/dist/{chunk-3SB24TVT.js → chunk-IOECRDWX.js} +1 -1
  61. package/dist/{chunk-GP7OHHXR.js → chunk-IX3R4BKU.js} +1 -1
  62. package/dist/{chunk-JLLNDU2F.js → chunk-IXGZ6YFZ.js} +4 -4
  63. package/dist/{chunk-5BCFV2HE.js → chunk-KD22R2UE.js} +3 -3
  64. package/dist/{chunk-4E7G2GME.js → chunk-KDTOB4TD.js} +1 -1
  65. package/dist/{chunk-YVUOJW4H.js → chunk-LAZREIJF.js} +1 -1
  66. package/dist/{chunk-IG3GSBHB.js → chunk-LCDXHXYH.js} +2 -2
  67. package/dist/{chunk-JLKEXS4I.js → chunk-LFDPOL45.js} +3 -3
  68. package/dist/{chunk-BQQTZET2.js → chunk-LIA4GZ4F.js} +2 -2
  69. package/dist/{chunk-6JMNJYYR.js → chunk-N6O2RQLQ.js} +3 -1
  70. package/dist/{chunk-FP37FSOT.js → chunk-NEI65CWG.js} +2 -2
  71. package/dist/{chunk-7DKGU6CY.js → chunk-NFNYH6VQ.js} +2 -2
  72. package/dist/{chunk-FZM6E4S4.js → chunk-OJTXXFYO.js} +2 -2
  73. package/dist/{chunk-FIIFME5M.js → chunk-OO7U23BR.js} +1 -1
  74. package/dist/chunk-OUZSRPKC.js +5035 -0
  75. package/dist/{chunk-BIJBGCF4.js → chunk-P73MHFBX.js} +1 -1
  76. package/dist/{chunk-IVFZG3CU.js → chunk-P7CVKVPD.js} +2 -2
  77. package/dist/{chunk-DUSSDJJC.js → chunk-PG356QHK.js} +2 -2
  78. package/dist/{chunk-GKVERDJ2.js → chunk-PPNA6EBI.js} +1 -1
  79. package/dist/{chunk-XC3LDNBH.js → chunk-PUMQDN2T.js} +1 -1
  80. package/dist/{chunk-G4VDT5D7.js → chunk-PYWJGSWO.js} +1 -1
  81. package/dist/{chunk-KAWNVSAE.js → chunk-QXUDHDJU.js} +7 -7
  82. package/dist/{chunk-YOZPHSYV.js → chunk-QXVW22VM.js} +1 -1
  83. package/dist/{chunk-2KO357TJ.js → chunk-RJ6LXDUC.js} +1 -1
  84. package/dist/{chunk-WCET3OHQ.js → chunk-RWHCRVZV.js} +5 -5
  85. package/dist/{chunk-I47SIQGX.js → chunk-RY7Z6KFS.js} +4 -4
  86. package/dist/{chunk-JFIBO4CZ.js → chunk-SE6O4APZ.js} +2 -2
  87. package/dist/{chunk-VG4JPJMI.js → chunk-SEJ7UBR2.js} +2 -2
  88. package/dist/{chunk-BUDP4GF4.js → chunk-SIJYH7XM.js} +1 -1
  89. package/dist/{chunk-4VOK22DG.js → chunk-SXGXJAA7.js} +1 -1
  90. package/dist/{chunk-ODKXNWDL.js → chunk-T252SG67.js} +2 -2
  91. package/dist/{chunk-E2VWKW2A.js → chunk-TBCRTIXP.js} +2 -2
  92. package/dist/{chunk-6GZB32Q5.js → chunk-TSCO4XR4.js} +1 -1
  93. package/dist/{chunk-QEQEKBL7.js → chunk-TSQZ3DSC.js} +20 -5
  94. package/dist/{chunk-ZP3LPFTA.js → chunk-UDY3FS6G.js} +9 -9
  95. package/dist/{chunk-BMRZP6X6.js → chunk-ULH6TLE3.js} +1 -1
  96. package/dist/{chunk-ZR2GMFNH.js → chunk-UQH3MOES.js} +2 -2
  97. package/dist/{chunk-6UOHLXVU.js → chunk-V6MZZEA7.js} +5 -5
  98. package/dist/{chunk-ZV5GD5LV.js → chunk-WAURLEUO.js} +3 -3
  99. package/dist/{chunk-FDZXVTBY.js → chunk-WZGVBZY6.js} +1 -1
  100. package/dist/{chunk-SWWDVPVO.js → chunk-X2PPRHKO.js} +1 -1
  101. package/dist/{chunk-T57ARBNR.js → chunk-X3DTUYKZ.js} +7 -7
  102. package/dist/{chunk-I2OMLFBJ.js → chunk-X4K7Q5PT.js} +1 -1
  103. package/dist/{chunk-GR3LU4D5.js → chunk-XEP7PGXS.js} +1 -1
  104. package/dist/{chunk-GYPSZFRF.js → chunk-XFA6NPMP.js} +3 -3
  105. package/dist/{chunk-27AVZR7K.js → chunk-XKTLYF4N.js} +18 -18
  106. package/dist/{chunk-LS4CCRTK.js → chunk-XXEOJXXY.js} +2 -2
  107. package/dist/{chunk-KXAGCBVO.js → chunk-Y2R4N6HQ.js} +9 -9
  108. package/dist/{chunk-VFOCEFRZ.js → chunk-YHO5SKUR.js} +5 -5
  109. package/dist/{chunk-FB366S4I.js → chunk-YTWTG67C.js} +2 -2
  110. package/dist/{chunk-KJLZZ4MY.js → chunk-ZVERYNYS.js} +1 -1
  111. package/dist/{clean-2AFJGFIG.js → clean-52TVJH4U.js} +16 -16
  112. package/dist/cli.js +58 -58
  113. package/dist/{cloud-JM5MFMVV.js → cloud-FEPPMA5F.js} +4 -4
  114. package/dist/{cloudrun-PNVETMPA.js → cloudrun-DFWQ7ZJW.js} +4 -4
  115. package/dist/{compare-ST4DXEMX.js → compare-UBQUKWOB.js} +28 -28
  116. package/dist/{compiler-UCX3MZVN.js → compiler-UCJ4KC75.js} +3 -3
  117. package/dist/{component-ECFJIDUD.js → component-6YUQ2XAM.js} +3 -3
  118. package/dist/{compositions-ZCAD47PD.js → compositions-KGZO4UYR.js} +11 -11
  119. package/dist/{curve-NYXZWGPO.js → curve-VISYHZKL.js} +10 -10
  120. package/dist/{cuts-CKUCNNOX.js → cuts-HCWYCBI2.js} +11 -11
  121. package/dist/{delete-MVGSOWSC.js → delete-CNKHLEDS.js} +6 -6
  122. package/dist/{deploy-WBKPSWPG.js → deploy-TS3R7DTD.js} +1 -1
  123. package/dist/{describeProject-ZDI5B6JO.js → describeProject-6TNE4FY4.js} +7 -7
  124. package/dist/{diff-3UYDXIEZ.js → diff-YRBYR56R.js} +25 -25
  125. package/dist/{dist-IHPMKRYN.js → dist-H4C7ZCFU.js} +1 -1
  126. package/dist/{dist-XRAW3URT.js → dist-T57O7KXT.js} +4 -2
  127. package/dist/{doctor-A4HMMBII.js → doctor-PLA77GFC.js} +10 -10
  128. package/dist/{energy-RN6KTYH6.js → energy-7BTNGNR7.js} +11 -11
  129. package/dist/{events-6NE2NRCQ.js → events-25FIG2O6.js} +13 -13
  130. package/dist/{events-AO3FEPL3.js → events-IMWCEFSZ.js} +4 -4
  131. package/dist/{events-LSEMS2LO.js → events-QTM2OEFB.js} +3 -3
  132. package/dist/{extract-6UO4QR77.js → extract-C66C5A22.js} +11 -11
  133. package/dist/{face-FTKPGC2O.js → face-MDOI2JO5.js} +11 -11
  134. package/dist/{feedback-GSKVBGA7.js → feedback-26OSAZF3.js} +11 -11
  135. package/dist/{ffmpeg-HPMQUKY4.js → ffmpeg-R5ND25AV.js} +6 -6
  136. package/dist/{figma-UIWB3XSX.js → figma-276JAPS4.js} +3 -3
  137. package/dist/fontLocalizeCli.js +9 -9
  138. package/dist/{frames-U3LLSXSV.js → frames-AMLBNI5B.js} +12 -12
  139. package/dist/{generate-AFCKBHGB.js → generate-YIZS4JFA.js} +17 -17
  140. package/dist/{get-J3TJCAZW.js → get-HFEFIRAJ.js} +6 -6
  141. package/dist/{gpuPolicy-W2OEEW7Y.js → gpuPolicy-7JA66MJG.js} +6 -6
  142. package/dist/{grade-compare-AOXNJ53Z.js → grade-compare-7NH6XYIY.js} +29 -29
  143. package/dist/{heifImagePrep-4RSVCLPX.js → heifImagePrep-WCL36MHY.js} +7 -7
  144. package/dist/{help-5NYIBLJJ.js → help-HHIAUMBQ.js} +1 -1
  145. package/dist/{history-KAXYCLVT.js → history-SLWPRU6Q.js} +7 -7
  146. package/dist/hyperframe.manifest.json +1 -1
  147. package/dist/hyperframe.runtime.iife.js +62 -62
  148. package/dist/hyperframes-player.global.js +1 -1
  149. package/dist/{info-Z6KNUMH6.js → info-MIPROXSM.js} +8 -8
  150. package/dist/{init-GSMXQX3U.js → init-T56UGI6Z.js} +27 -27
  151. package/dist/{ink-IPPBJFH3.js → ink-TY7CKC6Q.js} +11 -11
  152. package/dist/{inspect-MXIGEN6Z.js → inspect-TIF7YHGN.js} +29 -29
  153. package/dist/{installer-JXI2JC3T.js → installer-72QUKTPE.js} +4 -4
  154. package/dist/{keyframes-Z53YGH5F.js → keyframes-I4JRA37J.js} +7 -7
  155. package/dist/{lambda-KD7ZRYVK.js → lambda-VGFSEG56.js} +10 -10
  156. package/dist/{layout-NLDWEPDQ.js → layout-K776Z2IS.js} +29 -29
  157. package/dist/{lint-MSZMGQO5.js → lint-XLTSC66T.js} +8 -8
  158. package/dist/{lintProject-SG4KRUAV.js → lintProject-NZADSVSU.js} +1 -1
  159. package/dist/{list-OLNBKKB4.js → list-6V3IKLXF.js} +6 -6
  160. package/dist/{localPage-BQ2LKHED.js → localPage-RM6EXBBT.js} +6 -6
  161. package/dist/{login-TBJVG5PZ.js → login-HD47X3JE.js} +12 -13
  162. package/dist/{logout-B6H5F5YP.js → logout-UMDA3HDE.js} +3 -3
  163. package/dist/{look-T5V6JBD5.js → look-KUDJYDTK.js} +11 -11
  164. package/dist/{manager-FHVSGJNR.js → manager-TUKVGY7O.js} +7 -7
  165. package/dist/{measure-KI3XY2MJ.js → measure-6BRNY3II.js} +11 -11
  166. package/dist/{media-treatment-UZI55RS3.js → media-treatment-MLME5LNQ.js} +13 -13
  167. package/dist/{media-use-2PIPVWX4.js → media-use-3YTDQKGR.js} +9 -5
  168. package/dist/{models-MV4HBZKZ.js → models-IUX642FY.js} +10 -10
  169. package/dist/{motionShot-A3TWOBRE.js → motionShot-INNVFSPU.js} +14 -14
  170. package/dist/{normalize-audio-37WYHLP4.js → normalize-audio-ZMJIN2OV.js} +9 -9
  171. package/dist/{open-4PPPV45S.js → open-FDQ3NDSX.js} +12 -12
  172. package/dist/{parakeetRunner-J22MMWSM.js → parakeetRunner-WZ6JW3QQ.js} +11 -11
  173. package/dist/{pipeline-GE4LBTRO.js → pipeline-V3TOATHS.js} +9 -9
  174. package/dist/{play-MZSW7GIL.js → play-5WIU4CZL.js} +20 -20
  175. package/dist/{preflight-NXMN7P4B.js → preflight-JXEVL63B.js} +7 -7
  176. package/dist/{present-TWZLASXI.js → present-UHWGVCP4.js} +16 -16
  177. package/dist/{preview-OEXP2RPO.js → preview-W75P6D7E.js} +18 -18
  178. package/dist/{probe-HNAD6ACH.js → probe-O2ADL5FX.js} +11 -11
  179. package/dist/{producer-E4AN4ADM.js → producer-6GQQQT7M.js} +1 -1
  180. package/dist/{projectConfig-HKWVTV5Q.js → projectConfig-FQ7CAOXL.js} +6 -6
  181. package/dist/{publication-DTIE7G2E.js → publication-YRVC6D56.js} +2 -2
  182. package/dist/{publish-CUU5W6CP.js → publish-4IN3WW5G.js} +15 -15
  183. package/dist/{refresh-T6JLFCS4.js → refresh-4FQFQ2SW.js} +3 -3
  184. package/dist/{remove-background-2MRQ3YH4.js → remove-background-L4KWXVMH.js} +10 -10
  185. package/dist/{render-JP6JUXWP.js → render-73VGDCCH.js} +5 -5
  186. package/dist/{render-EEIQAOGV.js → render-GZ4DBQ5E.js} +25 -34
  187. package/dist/{render-QRWGJUCD.js → render-IP7KBRD7.js} +32 -32
  188. package/dist/{render-batch-46SYPMYV.js → render-batch-RX3TJ4NY.js} +5 -5
  189. package/dist/renderSetupWorker.js +1 -1
  190. package/dist/{resolver-DPRCISSD.js → resolver-SNTBG6O2.js} +4 -4
  191. package/dist/{reverse-MY6DSOXL.js → reverse-5SHT4TC6.js} +1 -1
  192. package/dist/{run-2VGZ3URU.js → run-GV6MEM2M.js} +4 -4
  193. package/dist/{sherpa-5LOEXZ46.js → sherpa-LJJHQNQ6.js} +10 -10
  194. package/dist/skills/hyperframes-cli/references/cloud.md +1 -1
  195. package/dist/skills/media-use/SKILL.md +5 -5
  196. package/dist/skills/media-use/audio/references/requirements.md +7 -7
  197. package/dist/skills/media-use/audio/references/tts.md +7 -6
  198. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +16 -10
  199. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +32 -0
  200. package/dist/skills/media-use/references/heygen.md +1 -1
  201. package/dist/{skills-BBHR4SHX.js → skills-NVNRQU7K.js} +6 -6
  202. package/dist/{skillsUpdateCheck-HBOVCIXG.js → skillsUpdateCheck-QNFIPFLX.js} +3 -3
  203. package/dist/{snapshot-S264O54Z.js → snapshot-75S4SIRK.js} +173 -66
  204. package/dist/{src-G2EK32ZO.js → src-KS6W3WRC.js} +8 -8
  205. package/dist/{src-GLO4X3WA.js → src-MTLH4YHV.js} +9 -5
  206. package/dist/{start-6AFMEXPO.js → start-4UCLBL76.js} +19 -19
  207. package/dist/{staticProjectServer-KWSV5IRS.js → staticProjectServer-USD7TCZH.js} +17 -17
  208. package/dist/{status-5ZRM4R4N.js → status-MPCREDMQ.js} +9 -6
  209. package/dist/studio/assets/{hyperframes-player-CGO8wE5a.js → hyperframes-player-CQLtM2zB.js} +1 -1
  210. package/dist/studio/assets/{index-COtefOSM.js → index-CKnGNPHF.js} +1 -1
  211. package/dist/studio/assets/{index-DHPJjAUV.js → index-CdWK2GVp.js} +101 -101
  212. package/dist/studio/index.html +1 -1
  213. package/dist/{studio-api-JJO6VEFD.js → studio-api-447CJUUM.js} +9 -9
  214. package/dist/{studioServer-YFZIESIH.js → studioServer-TMPKQRQA.js} +48 -48
  215. package/dist/{sync-DBMNZ32Z.js → sync-V456U5AA.js} +11 -11
  216. package/dist/{telemetry-OPZTKPDG.js → telemetry-NK6K3VRH.js} +4 -4
  217. package/dist/{timeline-MCJUCDME.js → timeline-M5URP7QS.js} +18 -18
  218. package/dist/{tokens-3DREMPWC.js → tokens-5OIFB4MD.js} +2 -2
  219. package/dist/{transcribe-TMGPK6FM.js → transcribe-N3E7T7AW.js} +21 -21
  220. package/dist/{transcribe-AU7TPKMU.js → transcribe-ON5WTZV3.js} +9 -9
  221. package/dist/{updateCheck-YKTRFFFV.js → updateCheck-JQOAKPNR.js} +2 -2
  222. package/dist/{upgrade-UAKM3KAT.js → upgrade-737POFN4.js} +2 -2
  223. package/dist/{urlDownloader-77YL7TXO.js → urlDownloader-ZIPT6PZC.js} +5 -5
  224. package/dist/{validate-SR35R3QM.js → validate-6IPCQFXI.js} +23 -23
  225. package/dist/{video-GNMQTE4D.js → video-BEZHDPH2.js} +7 -7
  226. package/dist/warmCheck.js +37 -37
  227. package/package.json +1 -1
  228. package/dist/chunk-TNWWLO4T.js +0 -5030
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  deliveryFlagArgs,
9
9
  parseDeliveryFlags
10
- } from "./chunk-BUDP4GF4.js";
10
+ } from "./chunk-SIJYH7XM.js";
11
11
  import {
12
12
  hasExplicitCompositionArg,
13
13
  resolveCompositionEntryArg
@@ -17,30 +17,30 @@ import {
17
17
  } from "./chunk-FPR57WRR.js";
18
18
  import {
19
19
  maybePromptRenderFeedback
20
- } from "./chunk-CUAZHDVV.js";
20
+ } from "./chunk-3Q7UFKFN.js";
21
21
  import {
22
22
  reportVariableIssues,
23
23
  resolveVariablesArg,
24
24
  validateVariablesAgainstProject
25
- } from "./chunk-YUMVQB2F.js";
25
+ } from "./chunk-2X43RFKM.js";
26
26
  import "./chunk-ZBAF6L74.js";
27
27
  import {
28
28
  renderJobObservabilityTelemetryPayload,
29
29
  startRenderCpuSampler
30
- } from "./chunk-DETBSOYO.js";
30
+ } from "./chunk-3YJB4QVS.js";
31
31
  import {
32
32
  formatLintStartupMessage
33
33
  } from "./chunk-X5EOH44V.js";
34
34
  import {
35
35
  desktopHint
36
- } from "./chunk-ZR2GMFNH.js";
36
+ } from "./chunk-UQH3MOES.js";
37
37
  import {
38
38
  runEnvironmentChecks
39
- } from "./chunk-KJLZZ4MY.js";
39
+ } from "./chunk-ZVERYNYS.js";
40
40
  import "./chunk-XQ26I3PL.js";
41
41
  import {
42
42
  createRenderCancellationScope
43
- } from "./chunk-TIXW6JWD.js";
43
+ } from "./chunk-EG7FZSEF.js";
44
44
  import {
45
45
  H264EncoderUnavailableError,
46
46
  chromeLaunchRemediation,
@@ -48,7 +48,7 @@ import {
48
48
  findFFmpeg,
49
49
  findFFprobe,
50
50
  getFFmpegInstallHint
51
- } from "./chunk-PWYAOU4I.js";
51
+ } from "./chunk-DZNJD7BH.js";
52
52
  import {
53
53
  markRenderSucceeded,
54
54
  runPostRenderStep,
@@ -57,24 +57,24 @@ import {
57
57
  import {
58
58
  RenderQualityError,
59
59
  extractSafeRenderErrorCode
60
- } from "./chunk-KXAGCBVO.js";
61
- import "./chunk-7DKGU6CY.js";
62
- import "./chunk-BQQTZET2.js";
60
+ } from "./chunk-Y2R4N6HQ.js";
61
+ import "./chunk-NFNYH6VQ.js";
62
+ import "./chunk-LIA4GZ4F.js";
63
63
  import "./chunk-X7MTZ4T2.js";
64
64
  import "./chunk-BZ56MTDX.js";
65
65
  import "./chunk-Q3SKYJGG.js";
66
66
  import "./chunk-FI4I7CME.js";
67
67
  import {
68
68
  captureArtifactRevision
69
- } from "./chunk-FDZXVTBY.js";
70
- import "./chunk-GKVERDJ2.js";
69
+ } from "./chunk-WZGVBZY6.js";
70
+ import "./chunk-PPNA6EBI.js";
71
71
  import "./chunk-X7MTZ4T2.js";
72
72
  import {
73
73
  loadProducer
74
- } from "./chunk-BMRZP6X6.js";
74
+ } from "./chunk-ULH6TLE3.js";
75
75
  import {
76
76
  resolveProject
77
- } from "./chunk-TS4HYR6I.js";
77
+ } from "./chunk-46HMQ4I3.js";
78
78
  import {
79
79
  recordRenderSuccess,
80
80
  registerRenderOutput
@@ -88,23 +88,23 @@ import {
88
88
  parseHlsSegmentSecondsArg,
89
89
  resolveBrowserTimeoutMsArg,
90
90
  resolveDefaultFpsArg
91
- } from "./chunk-5BCFV2HE.js";
92
- import "./chunk-6GZB32Q5.js";
91
+ } from "./chunk-KD22R2UE.js";
92
+ import "./chunk-TSCO4XR4.js";
93
93
  import "./chunk-US4BCRYB.js";
94
94
  import {
95
95
  loadProjectConfig,
96
96
  readProjectConfigWithStatus,
97
97
  seedProjectAuthoringSkill
98
- } from "./chunk-APVBITVZ.js";
98
+ } from "./chunk-HRSZOW3U.js";
99
99
  import "./chunk-XT7X6QCP.js";
100
100
  import "./chunk-5YPMCCCA.js";
101
101
  import {
102
102
  normalizeSkillSlug
103
103
  } from "./chunk-HVW7ABXD.js";
104
- import "./chunk-3SB24TVT.js";
104
+ import "./chunk-IOECRDWX.js";
105
105
  import "./chunk-JHOCK3DG.js";
106
- import "./chunk-IG3GSBHB.js";
107
- import "./chunk-SWWDVPVO.js";
106
+ import "./chunk-LCDXHXYH.js";
107
+ import "./chunk-X2PPRHKO.js";
108
108
  import "./chunk-AWDFDFI3.js";
109
109
  import "./chunk-P6LJ4Y32.js";
110
110
  import "./chunk-T2WJO4XM.js";
@@ -123,11 +123,11 @@ import {
123
123
  trackRenderError,
124
124
  trackRenderObservation,
125
125
  trackRenderPreflightRejected
126
- } from "./chunk-G4VDT5D7.js";
127
- import "./chunk-LS4CCRTK.js";
126
+ } from "./chunk-PYWJGSWO.js";
127
+ import "./chunk-XXEOJXXY.js";
128
128
  import "./chunk-PXVQOMKL.js";
129
129
  import "./chunk-MCDNAIFF.js";
130
- import "./chunk-6NJVSTSY.js";
130
+ import "./chunk-BVAPHHMQ.js";
131
131
  import {
132
132
  defineCommand
133
133
  } from "./chunk-DL4OD7IA.js";
@@ -149,11 +149,11 @@ import {
149
149
  audioFailureDiagnostics,
150
150
  isVideoFrameFormat,
151
151
  sandboxDeniedRemediation
152
- } from "./chunk-QDB7EFLI.js";
152
+ } from "./chunk-IAZ2A7D6.js";
153
153
  import "./chunk-Z5J67X44.js";
154
154
  import "./chunk-5S7W3TUO.js";
155
155
  import "./chunk-D3MUHMFG.js";
156
- import "./chunk-JFIBO4CZ.js";
156
+ import "./chunk-SE6O4APZ.js";
157
157
  import "./chunk-YWRUQ7XZ.js";
158
158
  import {
159
159
  DISTRIBUTED_FPS,
@@ -162,9 +162,9 @@ import {
162
162
  fpsToNumber,
163
163
  isDistributedFps,
164
164
  parseFps
165
- } from "./chunk-6JMNJYYR.js";
165
+ } from "./chunk-N6O2RQLQ.js";
166
166
  import "./chunk-MEJH7VEA.js";
167
- import "./chunk-TNWWLO4T.js";
167
+ import "./chunk-OUZSRPKC.js";
168
168
  import "./chunk-VC76R6W2.js";
169
169
  import "./chunk-OFQWTKPW.js";
170
170
  import "./chunk-RQVDTPGD.js";
@@ -190,7 +190,7 @@ import "./chunk-WE42NVH7.js";
190
190
  import {
191
191
  lintProject,
192
192
  shouldBlockRender
193
- } from "./chunk-NASVSJQK.js";
193
+ } from "./chunk-BGMMC352.js";
194
194
  import {
195
195
  FFMPEG_PATH_ENV
196
196
  } from "./chunk-HYRPH6LL.js";
@@ -236,7 +236,7 @@ import "./chunk-J3RXEDR2.js";
236
236
  import "./chunk-QBXDU24O.js";
237
237
  import {
238
238
  VERSION
239
- } from "./chunk-ODKXNWDL.js";
239
+ } from "./chunk-T252SG67.js";
240
240
  import {
241
241
  normalizeErrorMessage
242
242
  } from "./chunk-E63BDV4Z.js";
@@ -795,7 +795,7 @@ async function executeRenderPlan(plan, dependencies, cancellation) {
795
795
  let batchModule;
796
796
  let preparedBatch;
797
797
  if (plan.batchPath) {
798
- batchModule = await import("./batchRender-A2HW6QW7.js");
798
+ batchModule = await import("./batchRender-4ISYYVPQ.js");
799
799
  try {
800
800
  preparedBatch = batchModule.prepareBatchRender({
801
801
  batchPath: plan.batchPath,
@@ -896,7 +896,7 @@ function assertRenderActive(cancellation) {
896
896
  cancellation?.signal.throwIfAborted();
897
897
  }
898
898
  async function refuseLowDiskBeforeBrowserDownload(plan) {
899
- const { checkDisk } = await import("./preflight-NXMN7P4B.js");
899
+ const { checkDisk } = await import("./preflight-JXEVL63B.js");
900
900
  await (await import("./manager-SAXHANEY.js")).sweepKilledInstalls();
901
901
  const paths = /* @__PURE__ */ new Set([tmpdir(), renderOutputDirectory(plan)]);
902
902
  const low = [...paths].map((path) => checkDisk(path)).filter((outcome) => !outcome.ok);
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveOutputResolutionFromSize
9
- } from "./chunk-44T2V4EW.js";
9
+ } from "./chunk-DOS6S7HW.js";
10
10
  import {
11
11
  requireStack
12
12
  } from "./chunk-JHOPRAJN.js";
@@ -14,9 +14,9 @@ import {
14
14
  loadProjectVariableSchema,
15
15
  reportVariableIssues,
16
16
  validateVariablesAgainstSchema
17
- } from "./chunk-YUMVQB2F.js";
17
+ } from "./chunk-2X43RFKM.js";
18
18
  import "./chunk-ZBAF6L74.js";
19
- import "./chunk-GR3LU4D5.js";
19
+ import "./chunk-XEP7PGXS.js";
20
20
  import {
21
21
  runWithConcurrencyLimit
22
22
  } from "./chunk-JHOCK3DG.js";
@@ -27,9 +27,9 @@ import "./chunk-EHZESMRB.js";
27
27
  import {
28
28
  c
29
29
  } from "./chunk-2GICKZ3I.js";
30
- import "./chunk-6JMNJYYR.js";
30
+ import "./chunk-N6O2RQLQ.js";
31
31
  import "./chunk-MEJH7VEA.js";
32
- import "./chunk-TNWWLO4T.js";
32
+ import "./chunk-OUZSRPKC.js";
33
33
  import "./chunk-VC76R6W2.js";
34
34
  import "./chunk-OFQWTKPW.js";
35
35
  import "./chunk-RQVDTPGD.js";
@@ -25,7 +25,7 @@ import "./chunk-K4MJX7SR.js";
25
25
  import "./chunk-WE42NVH7.js";
26
26
  import {
27
27
  lintProject
28
- } from "./chunk-NASVSJQK.js";
28
+ } from "./chunk-BGMMC352.js";
29
29
  import "./chunk-HYRPH6LL.js";
30
30
  import "./chunk-WVRAFHJU.js";
31
31
  import "./chunk-CZGHFATT.js";
@@ -11,17 +11,17 @@ import {
11
11
  resolveItemWithDependencies,
12
12
  resolveItemsByTag,
13
13
  unreachableRegistryMessage
14
- } from "./chunk-3SB24TVT.js";
14
+ } from "./chunk-IOECRDWX.js";
15
15
  import "./chunk-JHOCK3DG.js";
16
- import "./chunk-SWWDVPVO.js";
16
+ import "./chunk-X2PPRHKO.js";
17
17
  import "./chunk-AWDFDFI3.js";
18
18
  import "./chunk-P6LJ4Y32.js";
19
19
  import "./chunk-T2WJO4XM.js";
20
20
  import "./chunk-TABWG4IT.js";
21
21
  import "./chunk-YWRUQ7XZ.js";
22
- import "./chunk-6JMNJYYR.js";
22
+ import "./chunk-N6O2RQLQ.js";
23
23
  import "./chunk-MEJH7VEA.js";
24
- import "./chunk-TNWWLO4T.js";
24
+ import "./chunk-OUZSRPKC.js";
25
25
  import "./chunk-VC76R6W2.js";
26
26
  import "./chunk-OFQWTKPW.js";
27
27
  import "./chunk-RQVDTPGD.js";
@@ -23,7 +23,7 @@ var reverse_default = defineCommand({
23
23
  description: "Open a reverse-any-video run (start)"
24
24
  },
25
25
  subCommands: {
26
- start: () => import("./start-6AFMEXPO.js").then((m) => m.default)
26
+ start: () => import("./start-4UCLBL76.js").then((m) => m.default)
27
27
  }
28
28
  });
29
29
  export {
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  analyzeTargets,
9
9
  previewTarget
10
- } from "./chunk-FB366S4I.js";
10
+ } from "./chunk-YTWTG67C.js";
11
11
  import "./chunk-CE7EQUBV.js";
12
12
  import "./chunk-6A45RKAK.js";
13
13
  import "./chunk-HBAUU3IK.js";
14
- import "./chunk-QEQEKBL7.js";
15
- import "./chunk-GOPJLAMZ.js";
14
+ import "./chunk-TSQZ3DSC.js";
15
+ import "./chunk-ETYQYG6Q.js";
16
16
  import "./chunk-SWC3QIEH.js";
17
- import "./chunk-6NJVSTSY.js";
17
+ import "./chunk-BVAPHHMQ.js";
18
18
  import "./chunk-2GICKZ3I.js";
19
19
  import "./chunk-D3MUHMFG.js";
20
20
  import "./chunk-HYRPH6LL.js";
@@ -17,31 +17,31 @@ import {
17
17
  sherpaRuntimeLoadError,
18
18
  sherpaUnsupportedReason,
19
19
  transcribeWithSherpa
20
- } from "./chunk-KJDQS24S.js";
20
+ } from "./chunk-AWQE37H3.js";
21
21
  import "./chunk-NO6F7CLR.js";
22
22
  import "./chunk-5UT3R43E.js";
23
23
  import "./chunk-6BEFEWFB.js";
24
- import "./chunk-47IBOMXH.js";
24
+ import "./chunk-HZG42ZYW.js";
25
25
  import "./chunk-SWC3QIEH.js";
26
- import "./chunk-TIXW6JWD.js";
27
- import "./chunk-AB3ZXWI3.js";
26
+ import "./chunk-EG7FZSEF.js";
27
+ import "./chunk-GBEGZOP3.js";
28
28
  import "./chunk-RZ6CXJ56.js";
29
29
  import "./chunk-R4EWRIDL.js";
30
- import "./chunk-PWYAOU4I.js";
30
+ import "./chunk-DZNJD7BH.js";
31
31
  import "./chunk-JZIEZCQM.js";
32
32
  import "./chunk-UOFAE5RF.js";
33
33
  import "./chunk-IR35BCLK.js";
34
34
  import "./chunk-HU2SPFNG.js";
35
35
  import "./chunk-A4ZTSQLW.js";
36
- import "./chunk-QDB7EFLI.js";
36
+ import "./chunk-IAZ2A7D6.js";
37
37
  import "./chunk-Z5J67X44.js";
38
38
  import "./chunk-5S7W3TUO.js";
39
39
  import "./chunk-D3MUHMFG.js";
40
- import "./chunk-JFIBO4CZ.js";
40
+ import "./chunk-SE6O4APZ.js";
41
41
  import "./chunk-YWRUQ7XZ.js";
42
- import "./chunk-6JMNJYYR.js";
42
+ import "./chunk-N6O2RQLQ.js";
43
43
  import "./chunk-MEJH7VEA.js";
44
- import "./chunk-TNWWLO4T.js";
44
+ import "./chunk-OUZSRPKC.js";
45
45
  import "./chunk-VC76R6W2.js";
46
46
  import "./chunk-OFQWTKPW.js";
47
47
  import "./chunk-RQVDTPGD.js";
@@ -53,7 +53,7 @@ import "./chunk-X6JUUQCM.js";
53
53
  import "./chunk-KGPLIH7B.js";
54
54
  import "./chunk-K4MJX7SR.js";
55
55
  import "./chunk-WE42NVH7.js";
56
- import "./chunk-NASVSJQK.js";
56
+ import "./chunk-BGMMC352.js";
57
57
  import "./chunk-HYRPH6LL.js";
58
58
  import "./chunk-WVRAFHJU.js";
59
59
  import "./chunk-CZGHFATT.js";
@@ -32,7 +32,7 @@ npx hyperframes auth refresh # force-refresh an OAuth token before a
32
32
  npx hyperframes auth logout # clear the stored credential
33
33
  ```
34
34
 
35
- Credential resolution order (first match wins): `HEYGEN_API_KEY`, then `HYPERFRAMES_API_KEY`, then `HEYGEN_ACCESS_TOKEN` (an OAuth token a host app injects; never refreshed or saved), then `~/.hyperframes/credentials`. `HYPERFRAMES_ENV=dev` selects the dev client, OAuth/API hosts and `~/.hyperframes/dev/credentials` together. `HYPERFRAMES_CONFIG_DIR` overrides the credentials root. `HEYGEN_API_URL` overrides the API host.
35
+ Credential resolution order (first match wins): `HEYGEN_ACCESS_TOKEN` (an OAuth token a host app injects; never refreshed or saved), then the `hyperframes auth login` session in `~/.hyperframes/credentials` (refreshed when expired), then `HEYGEN_API_KEY`, then `HYPERFRAMES_API_KEY`, then a key saved with `auth login --api-key`. A signed-in session wins over an env key; the env key is used if HeyGen refuses to refresh the session or `HEYGEN_API_URL` points at a host app's gateway. `auth status` shows which one is in use; `auth logout` makes the env key win. `HYPERFRAMES_ENV=dev` selects the dev client, OAuth/API hosts and `~/.hyperframes/dev/credentials` together. `HYPERFRAMES_CONFIG_DIR` overrides the credentials root. `HEYGEN_API_URL` overrides the API host.
36
36
 
37
37
  ## The render pipeline
38
38
 
@@ -23,19 +23,19 @@ It prints one line, `resolved <id> → <path> (<type>, <metadata>)`. List reusab
23
23
  | Sound effects (`sfx`) | Openverse (credit CC BY sounds); 21 bundled offline | | |
24
24
  | Images, icons | HeyGen asset search, 75k+ (signed in) | Generated images | Local FLUX (mflux), if installed |
25
25
  | Logos (`logo`) | theSVG, GitHub avatar, favicon; never redrawn | | |
26
- | Voiceover (`voice`) | HeyGen Voice Turbo (signed in) | Other HeyGen voices, voice cloning | `npx hyperframes tts` (Kokoro on device) |
26
+ | Voiceover (`voice`) | Voice Turbo, Free plan: 3 min a month | Voice Turbo on a paid plan, other HeyGen voices, cloning | `npx hyperframes tts` (Kokoro on device) |
27
27
  | A presenter speaking | | Avatar video (`--type video`) | Local LTX for generic clips, if installed |
28
28
  | Transcripts | `npx hyperframes transcribe` (Parakeet or whisper) | | |
29
29
  | Cutouts | | `heygen background-removal` | `npx hyperframes remove-background` |
30
30
  | Grades, LUTs, looks | `npx hyperframes media-treatment` | | |
31
31
 
32
- **Sign in.** Every time a request needs a HeyGen model or the catalog, run `npx hyperframes auth status` first. Not signed in: tell the person in one line that sign-in is free and gives Voice Turbo, the music catalog and asset search, ask them to type an exclamation mark and `npx hyperframes auth login` in the prompt, and wait until they say it is done. Use local tools only when the person asks, not as a fallback.
32
+ **Sign in.** Every time a request needs a HeyGen model or the catalog, run `npx hyperframes auth status` first. Not signed in: tell the person in one line that sign-in is free and gives the music catalog, asset search and 3 min of Voice Turbo a month on the Free plan, ask them to type an exclamation mark and `npx hyperframes auth login` in the prompt, and wait until they say it is done. Use local tools only when the person asks, not as a fallback.
33
33
 
34
34
  **Host apps.** Inside an app with its own media tools, use those first. When `HEYGEN_API_BASE` is set, the host pays: don't ask for a sign-in; relay a refused call's message as written and stop.
35
35
 
36
- **HeyGen.** `npx hyperframes media-use generate` makes images, shots, talking photos, voices and music on the sign-in alone. Helpers and direct recipes need the [`heygen` CLI](https://developers.heygen.com/cli); if it is missing, give the link and wait until they say it is installed. Direct `heygen` recipes bill that CLI's own login, not HyperFrames: use them only when that separate payer is selected.
36
+ **HeyGen.** `npx hyperframes media-use generate` makes images, shots, talking photos, voices and music on the sign-in alone. Helpers and direct recipes need the [`heygen` CLI](https://developers.heygen.com/cli); if it is missing, give the link and wait until they say it is installed. Direct `heygen` recipes bill that CLI's own login: use them only when that payer is selected.
37
37
 
38
- **Credits.** Plan for the best result: don't swap in cheaper or free options, or drop items, unless the person asks to save cost. Never tell the person prices, estimates or what a run used; `--plan` is for you. A credit limit the person sets: pass what is left of it as `--max-credits` on every `generate`, minus each call's `credits`, and never go past it. When a step won't fit (a `--plan` over what is left, or a refused call), say what doesn't fit and ask before dropping or shrinking it. A refused call names a `billing` command: tell the person why, ask them to run it the same way, then retry the step.
38
+ **Credits.** Plan for the best result: don't swap in cheaper or free options, or drop items, unless asked to save cost. Never tell the person prices, estimates or what a run used; `--plan` is for you. A credit limit the person sets: pass what is left of it as `--max-credits` on every `generate`, minus each call's `credits`, and never go past it. When a step won't fit (a `--plan` over what is left, or a refused call), say what doesn't fit and ask before dropping or shrinking it. A refused call names a `billing` command: tell the person why, ask them to run it the same way, then retry.
39
39
 
40
40
  ## Looks on real footage
41
41
 
@@ -43,7 +43,7 @@ Feedback that footage is dark, flat or dull, should feel retro or printed, needs
43
43
 
44
44
  ## Offer once, never add silently
45
45
 
46
- When you build or review a piece, scan once for concrete gaps (on-screen text with no voiceover, emoji standing in for icons, placeholder images, silent cuts, 10 s+ with no music, a colour cast) and offer the specific fixes in one ask. No signal, no suggestion; respect "leave it".
46
+ Scan a piece you build or review once for concrete gaps (on-screen text with no voiceover, emoji standing in for icons, placeholder images, silent cuts, 10 s+ with no music, a colour cast) and offer the fixes in one ask. No signal, no suggestion; respect "leave it".
47
47
 
48
48
  ## Where to look
49
49
 
@@ -4,13 +4,13 @@
4
4
 
5
5
  Run `npx hyperframes auth status` to see what's configured and which engines a workflow will use (see the skill's **Preflight** section). Keys resolve in this order — **first match wins**:
6
6
 
7
- | Provider | Resolution order (first non-empty wins) | Local deps when used |
8
- | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------ |
9
- | **HeyGen** (TTS + BGM retrieval) | `$HEYGEN_ACCESS_TOKEN` → `$HEYGEN_API_KEY` → `$HYPERFRAMES_API_KEY` → `~/.hyperframes/credentials` (`$HYPERFRAMES_CONFIG_DIR` overrides the root; dev uses `dev/`) | none (REST) |
10
- | **ElevenLabs** (TTS fallback) | `$ELEVENLABS_API_KEY` | `pip install elevenlabs` |
11
- | **Lyria** (BGM fallback) | `$GEMINI_API_KEY` → `$GOOGLE_API_KEY` | `pip install google-genai` |
12
- | **Kokoro** (TTS, no key) | always — final voice fallback | `pip install kokoro-onnx soundfile` |
13
- | **MusicGen** (BGM, no key) | always — final music fallback | `pip install transformers torch soundfile numpy` |
7
+ | Provider | Resolution order (first non-empty wins) | Local deps when used |
8
+ | -------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
9
+ | **HeyGen** (TTS + BGM retrieval) | `$HEYGEN_ACCESS_TOKEN` → the `~/.hyperframes/credentials` login → `$HEYGEN_API_KEY` → `$HYPERFRAMES_API_KEY` → a saved API key (`$HYPERFRAMES_CONFIG_DIR` overrides the root; dev uses `dev/`) | none (REST) |
10
+ | **ElevenLabs** (TTS fallback) | `$ELEVENLABS_API_KEY` | `pip install elevenlabs` |
11
+ | **Lyria** (BGM fallback) | `$GEMINI_API_KEY` → `$GOOGLE_API_KEY` | `pip install google-genai` |
12
+ | **Kokoro** (TTS, no key) | always — final voice fallback | `pip install kokoro-onnx soundfile` |
13
+ | **MusicGen** (BGM, no key) | always — final music fallback | `pip install transformers torch soundfile numpy` |
14
14
 
15
15
  `hyperframes auth login` (browser OAuth) is the recommended setup: one sign-in, every project, no per-repo `.env`. An OAuth login is sent as `Authorization: Bearer`; an API key as `X-Api-Key`; only OAuth is tagged with `X-HeyGen-Source: cli`. The server decides HyperFrames eligibility and charges; API keys use API billing. An expired or foreign OAuth session requires refresh/sign-in and never selects a saved API key. With no HeyGen credential, voice/BGM run fully locally (Kokoro / MusicGen) — `hyperframes auth status` and `hyperframes doctor` both report whether those local deps are installed.
16
16
 
@@ -59,15 +59,16 @@ the skill's bundled script, which calls the HeyGen v3 REST API directly and need
59
59
  no CLI provider plumbing:
60
60
 
61
61
  The script resolves a HeyGen credential the same way the CLI does — first source
62
- wins: a host-injected OAuth `$HEYGEN_ACCESS_TOKEN` → `$HEYGEN_API_KEY` →
63
- `$HYPERFRAMES_API_KEY` → a project `.env` (auto-loaded,
64
- walks up ≤5 dirs) → `~/.hyperframes/credentials` (isolated from heygen-cli;
62
+ wins: a host-injected OAuth `$HEYGEN_ACCESS_TOKEN` → an unexpired login in
63
+ `~/.hyperframes/credentials` → `$HEYGEN_API_KEY` → `$HYPERFRAMES_API_KEY` → a
64
+ project `.env` (auto-loaded, walks up ≤5 dirs) → an API key saved in
65
+ `~/.hyperframes/credentials` (isolated from heygen-cli;
65
66
  `$HYPERFRAMES_CONFIG_DIR` overrides the root; `HYPERFRAMES_ENV=dev` uses `dev/`). An OAuth login is sent as
66
67
  `Authorization: Bearer`; an API key as `X-Api-Key`; only OAuth includes
67
68
  `X-HeyGen-Source: cli`. The server decides HyperFrames eligibility and charges;
68
- explicit API keys use API billing. An expired or foreign OAuth session stops
69
- rather than selecting a saved API key, with a hint to run
70
- `npx hyperframes auth refresh`.
69
+ explicit API keys use API billing. An expired or foreign OAuth session gives way
70
+ to an env key; without one it stops rather than selecting a saved API key, with
71
+ a hint to run `npx hyperframes auth refresh`.
71
72
 
72
73
  ```bash
73
74
  # Only needed if you haven't run `npx hyperframes auth login`:
@@ -3,10 +3,12 @@ import { fetchMedia } from "../../../scripts/lib/media-fetch.mjs";
3
3
  // pipeline. The credential resolver matches the hyperframes CLI auth: first
4
4
  // usable source wins — a host gateway ($HEYGEN_API_BASE with its own
5
5
  // $HEYGEN_API_KEY) → a host-injected OAuth $HEYGEN_ACCESS_TOKEN (Bearer) →
6
- // $HEYGEN_API_KEY / $HYPERFRAMES_API_KEY → a nearby .env → ~/.hyperframes/
7
- // credentials (OAuth never falls back to an API key; $HYPERFRAMES_CONFIG_DIR
8
- // overrides the dir). $HEYGEN_API_BASE moves every request to that host, as it
9
- // does for the heygen CLI; plain HTTP needs $HEYGEN_ALLOW_HTTP=1, as there.
6
+ // the live login in ~/.hyperframes/credentials → $HEYGEN_API_KEY /
7
+ // $HYPERFRAMES_API_KEY (or a nearby .env) → the API key saved in
8
+ // ~/.hyperframes/credentials. An expired login gives way to an env key but
9
+ // never to the saved API key ($HYPERFRAMES_CONFIG_DIR overrides the dir).
10
+ // $HEYGEN_API_BASE moves every request to that host, as it does for the
11
+ // heygen CLI; plain HTTP needs $HEYGEN_ALLOW_HTTP=1, as there.
10
12
  // Vendored so the skill ships standalone. Pure node.
11
13
 
12
14
  import { mkdirSync, readFileSync, writeFileSync } from "node:fs";
@@ -40,12 +42,10 @@ function heygenOwnBase() {
40
42
  }
41
43
  }
42
44
 
43
- // A host gateway: the host named its own API base and the key that base accepts. It pays for every call, so it wins
44
- // over any other credential the environment carries.
45
+ // A host gateway: the host pointed the API base away from HeyGen and set the key that base accepts. It pays for every
46
+ // call, so it wins over any other credential the environment carries.
45
47
  const hostGatewayKey = () =>
46
- process.env.HEYGEN_API_BASE?.trim() && process.env.HEYGEN_API_KEY
47
- ? process.env.HEYGEN_API_KEY
48
- : null;
48
+ !heygenOwnBase() && process.env.HEYGEN_API_KEY ? process.env.HEYGEN_API_KEY : null;
49
49
  export const HEYGEN_CLI_SOURCE_HEADERS = { "X-HeyGen-Source": "cli" };
50
50
  // Tool-attribution sent on EVERY media-use HeyGen call regardless of auth type, so
51
51
  // the backend can isolate media-use consumption from other free TTS / avatar video.
@@ -114,8 +114,14 @@ function resolveCredential() {
114
114
  const accessToken = process.env.HEYGEN_ACCESS_TOKEN;
115
115
  if (accessToken) return { headers: { Authorization: `Bearer ${accessToken}` } };
116
116
  const envKey = process.env.HEYGEN_API_KEY || process.env.HYPERFRAMES_API_KEY;
117
- if (envKey) return { headers: { "X-Api-Key": envKey } };
117
+ const stored = storedCredential();
118
+ // A live login wins over an env key; an expired, foreign or unreadable store gives way to one.
119
+ if (stored?.headers && "Authorization" in stored.headers) return stored;
120
+ return envKey ? { headers: { "X-Api-Key": envKey } } : stored;
121
+ }
118
122
 
123
+ // The credential saved in ~/.hyperframes/credentials: { headers } | { expired: true } | { unreadable } | null.
124
+ function storedCredential() {
119
125
  const root = process.env.HYPERFRAMES_CONFIG_DIR || join(homedir(), ".hyperframes");
120
126
  const file = join(root, ...(process.env.HYPERFRAMES_ENV === "dev" ? ["dev"] : []), "credentials");
121
127
  let raw;
@@ -129,6 +129,38 @@ test("a host-injected HEYGEN_ACCESS_TOKEN wins over an API key and is treated as
129
129
  });
130
130
  });
131
131
 
132
+ test("a live login wins over HEYGEN_API_KEY; an expired one gives way to it", () => {
133
+ withCleanHeygenEnv(() => {
134
+ const dir = mkdtempSync(join(tmpdir(), "hf-login-vs-env-"));
135
+ try {
136
+ process.env.HYPERFRAMES_CONFIG_DIR = dir;
137
+ process.env.HEYGEN_API_KEY = "hg_env";
138
+ const credential = {
139
+ api_key: "saved-wallet",
140
+ oauth: {
141
+ client_id: "Zg3LF4FCLoeJoGs2YqMtZ17g",
142
+ token_endpoint: "https://api2.heygen.com/v1/oauth/token",
143
+ access_token: "at_login",
144
+ expires_at: "2099-01-01T00:00:00Z",
145
+ },
146
+ };
147
+ writeFileSync(join(dir, "credentials"), JSON.stringify(credential));
148
+ assert.deepEqual(heygenCredential(), { headers: { Authorization: "Bearer at_login" } });
149
+ // HeyGen's own base is no gateway, so naming it changes nothing.
150
+ process.env.HEYGEN_API_BASE = "https://api.heygen.com";
151
+ assert.deepEqual(heygenCredential(), { headers: { Authorization: "Bearer at_login" } });
152
+ delete process.env.HEYGEN_API_BASE;
153
+ credential.oauth.expires_at = "2000-01-01T00:00:00Z";
154
+ writeFileSync(join(dir, "credentials"), JSON.stringify(credential));
155
+ assert.deepEqual(heygenCredential(), { headers: { "X-Api-Key": "hg_env" } });
156
+ writeFileSync(join(dir, "credentials"), JSON.stringify({ api_key: "saved-wallet" }));
157
+ assert.deepEqual(heygenCredential(), { headers: { "X-Api-Key": "hg_env" } });
158
+ } finally {
159
+ rmSync(dir, { recursive: true, force: true });
160
+ }
161
+ });
162
+ });
163
+
132
164
  test("heygenAuthMethod returns api_key for an env API key, without tagging headers", () => {
133
165
  withCleanHeygenEnv(() => {
134
166
  process.env.HEYGEN_API_KEY = "hg_test";
@@ -4,7 +4,7 @@
4
4
 
5
5
  ## Signing in
6
6
 
7
- `npx hyperframes auth status` says what is signed in. The credential is read in this order: `HEYGEN_API_KEY`, `HYPERFRAMES_API_KEY`, a host app's `HEYGEN_ACCESS_TOKEN`, then `~/.hyperframes/credentials`, which `npx hyperframes auth login` writes. `heygen auth login` is a separate sign-in that only the `heygen` CLI reads.
7
+ `npx hyperframes auth status` says what is signed in. The credential is read in this order: a host app's `HEYGEN_ACCESS_TOKEN`, the session `npx hyperframes auth login` saved in `~/.hyperframes/credentials`, `HEYGEN_API_KEY`, `HYPERFRAMES_API_KEY`, then an API key saved with `auth login --api-key`. A signed-in session wins over an env key; the env key is used when HeyGen refuses to refresh the session. `heygen auth login` is a separate sign-in that only the `heygen` CLI reads.
8
8
 
9
9
  | Credential | Pays with | Covers |
10
10
  | -------------------------- | -------------------------------------------- | -------------------------------------------------------------------------------------- |
@@ -15,13 +15,13 @@ import {
15
15
  } from "./chunk-6BEFEWFB.js";
16
16
  import {
17
17
  trackSkillsInstallSkipped
18
- } from "./chunk-G4VDT5D7.js";
19
- import "./chunk-LS4CCRTK.js";
18
+ } from "./chunk-PYWJGSWO.js";
19
+ import "./chunk-XXEOJXXY.js";
20
20
  import "./chunk-PXVQOMKL.js";
21
21
  import {
22
22
  diag
23
23
  } from "./chunk-MCDNAIFF.js";
24
- import "./chunk-6NJVSTSY.js";
24
+ import "./chunk-BVAPHHMQ.js";
25
25
  import {
26
26
  defineCommand
27
27
  } from "./chunk-DL4OD7IA.js";
@@ -43,10 +43,10 @@ import {
43
43
  isCoreSkill,
44
44
  presentSkills,
45
45
  retiredSkillNotice
46
- } from "./chunk-GP7OHHXR.js";
46
+ } from "./chunk-IX3R4BKU.js";
47
47
  import {
48
48
  withMeta
49
- } from "./chunk-L6MNWJTL.js";
49
+ } from "./chunk-6IW2HWYI.js";
50
50
  import "./chunk-BR2JQQC5.js";
51
51
  import "./chunk-BLBMPEBX.js";
52
52
  import "./chunk-ISN5GRYI.js";
@@ -60,7 +60,7 @@ import {
60
60
  } from "./chunk-66W5IWLO.js";
61
61
  import "./chunk-J3RXEDR2.js";
62
62
  import "./chunk-QBXDU24O.js";
63
- import "./chunk-ODKXNWDL.js";
63
+ import "./chunk-T252SG67.js";
64
64
  import "./chunk-E63BDV4Z.js";
65
65
  import "./chunk-G7VEYUZ2.js";
66
66
  import "./chunk-XT6MXC7A.js";
@@ -9,8 +9,8 @@ import {
9
9
  printSkillsUpdateNotice,
10
10
  refreshSkillsCache,
11
11
  skillsCheckDue
12
- } from "./chunk-GP7OHHXR.js";
13
- import "./chunk-L6MNWJTL.js";
12
+ } from "./chunk-IX3R4BKU.js";
13
+ import "./chunk-6IW2HWYI.js";
14
14
  import "./chunk-BR2JQQC5.js";
15
15
  import "./chunk-BLBMPEBX.js";
16
16
  import "./chunk-ISN5GRYI.js";
@@ -18,7 +18,7 @@ import "./chunk-ADVVQX4I.js";
18
18
  import "./chunk-66W5IWLO.js";
19
19
  import "./chunk-J3RXEDR2.js";
20
20
  import "./chunk-QBXDU24O.js";
21
- import "./chunk-ODKXNWDL.js";
21
+ import "./chunk-T252SG67.js";
22
22
  import "./chunk-E63BDV4Z.js";
23
23
  import "./chunk-G7VEYUZ2.js";
24
24
  import "./chunk-XT6MXC7A.js";