hyperframes 0.8.214 → 0.8.217

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 (217) hide show
  1. package/dist/{add-U2N4ZWNB.js → add-AXTSRFNT.js} +19 -16
  2. package/dist/{agentPromptGenerator-EK7NEFV6.js → agentPromptGenerator-52346WSZ.js} +8 -7
  3. package/dist/{animatedGifPrep-X3FLFGCC.js → animatedGifPrep-WZHO7ZUA.js} +8 -7
  4. package/dist/api.js +19 -18
  5. package/dist/{asset-3CSXQ7JI.js → asset-T2CE34TV.js} +2 -2
  6. package/dist/{assetCataloger-FG2VTSSR.js → assetCataloger-2KABZLU3.js} +9 -8
  7. package/dist/{audio-US7IUDFM.js → audio-6I2AK3TZ.js} +179 -63
  8. package/dist/{auth-IMXNGPGR.js → auth-B3LLOMAG.js} +4 -4
  9. package/dist/{autoUpdate-IGZP5HIX.js → autoUpdate-TTY4BTMM.js} +5 -4
  10. package/dist/{backgroundChecks-UGU6SRCU.js → backgroundChecks-WKW5CTCV.js} +6 -5
  11. package/dist/backgroundChecksWorker.js +7 -6
  12. package/dist/{batchRender-5JS4SAGR.js → batchRender-ESAPNTE3.js} +4 -4
  13. package/dist/{beats-2F7ZW7QB.js → beats-5WAAC5HT.js} +25 -19
  14. package/dist/{benchmark-Y25FBDO7.js → benchmark-KFYDNWZ7.js} +16 -13
  15. package/dist/{browser-43AS35ZL.js → browser-LK4FYQXO.js} +12 -9
  16. package/dist/{bundleWithLocalizedFonts-6VHTVRO3.js → bundleWithLocalizedFonts-NRY45OIW.js} +2 -2
  17. package/dist/{capture-CMP4DHPY.js → capture-DXRZI2WW.js} +19 -18
  18. package/dist/{capture-N5AMWY4S.js → capture-SCXKM2WO.js} +3 -3
  19. package/dist/{captureCompositionFrame-PQT4GNR2.js → captureCompositionFrame-NDQEZBHR.js} +14 -13
  20. package/dist/{catalog-SZPWUZ75.js → catalog-7WRGMHVI.js} +20 -17
  21. package/dist/{catch-up-OYYHR2UB.js → catch-up-6QEJHTFF.js} +12 -9
  22. package/dist/{check-MBW4AYV6.js → check-HNONMHQD.js} +45 -42
  23. package/dist/{checkAudio-DIJNBWAF.js → checkAudio-OLNSZWWX.js} +12 -11
  24. package/dist/{checkBrowser-NYBDUAT2.js → checkBrowser-L2L2EEJD.js} +38 -35
  25. package/dist/{chunk-LBS4AS7G.js → chunk-2JUNPJUM.js} +2 -2
  26. package/dist/{chunk-4HMG5CQJ.js → chunk-2Q4CL6AB.js} +1 -1
  27. package/dist/{chunk-CATLCEDQ.js → chunk-3C6O5HV2.js} +13 -13
  28. package/dist/{chunk-6LDHXB4Z.js → chunk-3F2DTPBD.js} +3 -2
  29. package/dist/{chunk-DFQM3XMK.js → chunk-3MUFCWGK.js} +5 -5
  30. package/dist/{chunk-VC6GEQ7P.js → chunk-3YCAGPZK.js} +72 -31
  31. package/dist/{chunk-MZHYAXUV.js → chunk-42K4JLQO.js} +1 -1
  32. package/dist/chunk-4I7KQWZS.js +5061 -0
  33. package/dist/{chunk-ZMKRQ4HE.js → chunk-4JHZBIBW.js} +3 -3
  34. package/dist/chunk-4WEWHZZO.js +24 -0
  35. package/dist/{chunk-53ERMOK2.js → chunk-5CXGDO74.js} +2 -2
  36. package/dist/{chunk-245CC6JT.js → chunk-5HGUY24Y.js} +1 -1
  37. package/dist/{chunk-LRYNDYAE.js → chunk-5SZ2HRCW.js} +1 -1
  38. package/dist/{chunk-GRCS7WRH.js → chunk-5XDKFCEI.js} +9 -9
  39. package/dist/{chunk-3AAAA3KH.js → chunk-62ER6HGC.js} +3 -3
  40. package/dist/{chunk-ZXQNWUDY.js → chunk-64TWYU4M.js} +8 -8
  41. package/dist/{chunk-BRTWBGFE.js → chunk-6YGTOBXW.js} +1 -1
  42. package/dist/{chunk-GFA5ZCVI.js → chunk-AU7VGKCP.js} +7 -3
  43. package/dist/{chunk-ZCHULPJZ.js → chunk-BLBMPEBX.js} +6 -0
  44. package/dist/{chunk-K4WIOZFP.js → chunk-BR2JQQC5.js} +3 -5
  45. package/dist/{chunk-VEWR5HXT.js → chunk-BRYOYBO5.js} +1 -1
  46. package/dist/{chunk-G6HUXX3L.js → chunk-CBCZBHGK.js} +4 -2
  47. package/dist/{chunk-TNKPBI63.js → chunk-CH4RRRGC.js} +5 -5
  48. package/dist/{chunk-GSYZG4E7.js → chunk-DEWCAOOL.js} +2 -2
  49. package/dist/{chunk-YLEEVMBV.js → chunk-DOZGTBDV.js} +2 -2
  50. package/dist/{chunk-GHROWWUN.js → chunk-DWTFLQ3P.js} +33 -6
  51. package/dist/{chunk-HVQDDVN4.js → chunk-EAUUGY4R.js} +2 -2
  52. package/dist/{chunk-FQO3RV6O.js → chunk-ESZ6YPQM.js} +2 -2
  53. package/dist/{chunk-32NEJ553.js → chunk-FBN2M2HK.js} +28 -0
  54. package/dist/{chunk-MGUA3DUS.js → chunk-G35NVFZF.js} +3 -3
  55. package/dist/{chunk-L72RQ45A.js → chunk-G3AG7A42.js} +1 -1
  56. package/dist/{chunk-6UUPTWUG.js → chunk-GHWV6PIS.js} +1 -1
  57. package/dist/{chunk-FKFGGAXN.js → chunk-GLC5XHN5.js} +13 -0
  58. package/dist/{chunk-XWMY7FIW.js → chunk-H47FQDFU.js} +3 -3
  59. package/dist/{chunk-PT47MVXR.js → chunk-HPRR3WD7.js} +23 -17
  60. package/dist/{chunk-TYMD647L.js → chunk-JMGMOK4Z.js} +2 -2
  61. package/dist/{chunk-YQCDSSIK.js → chunk-JY27IRDR.js} +1 -1
  62. package/dist/{chunk-VW57BBGU.js → chunk-K2666FKT.js} +1 -1
  63. package/dist/{chunk-S6WDNIUG.js → chunk-K5GGTJJV.js} +1 -1
  64. package/dist/{chunk-XESW4XN7.js → chunk-KH5XMMSM.js} +2 -2
  65. package/dist/{chunk-FI3JWR34.js → chunk-KLGJ2R4V.js} +49 -10
  66. package/dist/{chunk-KSV2PMFA.js → chunk-L4BRJVGC.js} +7 -7
  67. package/dist/{chunk-5766TK7Q.js → chunk-LAGZGKKN.js} +1 -1
  68. package/dist/{chunk-I5LDGNYX.js → chunk-LJB2PF6K.js} +1 -1
  69. package/dist/{chunk-ISTUBRV3.js → chunk-LPJMACTI.js} +5 -5
  70. package/dist/{chunk-T6SMQ4L7.js → chunk-MGZKDR6R.js} +1 -1
  71. package/dist/{chunk-G7CFMNRO.js → chunk-MK4R3APQ.js} +2 -2
  72. package/dist/{chunk-6CGYINE7.js → chunk-NOH32H42.js} +25 -0
  73. package/dist/{chunk-VILE6GFD.js → chunk-NWD2KKM5.js} +1 -1
  74. package/dist/{chunk-QCCPXMKP.js → chunk-O44FYXH5.js} +2 -2
  75. package/dist/{chunk-HNYTTRLR.js → chunk-OQRO2MEK.js} +4 -4
  76. package/dist/{chunk-A3ZRV44X.js → chunk-OV6MUGZI.js} +2 -2
  77. package/dist/{chunk-LWWTOBZ6.js → chunk-P42DLWIY.js} +3 -3
  78. package/dist/{chunk-MP7DZH5M.js → chunk-PNBH4ZY7.js} +2 -2
  79. package/dist/{chunk-VVDHSRKD.js → chunk-PPMLF76Z.js} +1 -1
  80. package/dist/chunk-PXVQOMKL.js +39 -0
  81. package/dist/chunk-QBXDU24O.js +20 -0
  82. package/dist/{chunk-ZE57TSS6.js → chunk-QRIC4WOO.js} +1 -1
  83. package/dist/{chunk-4NJ57TSE.js → chunk-QY7RG6K3.js} +11 -6
  84. package/dist/{chunk-FJ646TIT.js → chunk-R4EWRIDL.js} +161 -21
  85. package/dist/{chunk-FC6BAQV5.js → chunk-R7EB4M5P.js} +12 -11
  86. package/dist/{chunk-WJRYQYOM.js → chunk-RLT45AWC.js} +1 -1
  87. package/dist/{chunk-XM3NMXLX.js → chunk-RYBFHEMZ.js} +1 -1
  88. package/dist/{chunk-7J6LQ3SQ.js → chunk-SGTEKMJW.js} +19 -4
  89. package/dist/{chunk-HQRI2NT3.js → chunk-ST5EBZTO.js} +1 -1
  90. package/dist/{chunk-URD4QIQS.js → chunk-TCVI4ZGS.js} +1 -1
  91. package/dist/{chunk-LIOE46OG.js → chunk-TDNZIFJ2.js} +130 -38
  92. package/dist/{chunk-634HSJ3J.js → chunk-TK7THLRO.js} +10 -3
  93. package/dist/{chunk-Q55JNFDV.js → chunk-UGQFQDSV.js} +1 -1
  94. package/dist/{chunk-7Y4TTOLE.js → chunk-UQSBVZ3H.js} +7 -5
  95. package/dist/{chunk-VAOROEWU.js → chunk-URKDBFZV.js} +2 -2
  96. package/dist/{chunk-7TWX4Y7I.js → chunk-UVXIJYZY.js} +3 -15
  97. package/dist/{chunk-JMSS47CW.js → chunk-UWV753SJ.js} +1 -1
  98. package/dist/{chunk-A7UJGIMA.js → chunk-UZPWLXO6.js} +1 -1
  99. package/dist/{chunk-QL7ITOPE.js → chunk-V4AS2BNU.js} +3 -3
  100. package/dist/{chunk-YDHXPY23.js → chunk-VS7G457O.js} +1 -1
  101. package/dist/{chunk-MYDM4PQL.js → chunk-VTLIN7XN.js} +2 -2
  102. package/dist/{chunk-7W4DJKZA.js → chunk-W2LKSBX5.js} +11 -11
  103. package/dist/{chunk-ENV35BSH.js → chunk-WGHUHNXI.js} +125 -53
  104. package/dist/{chunk-EJCCJTUH.js → chunk-WKNWKORX.js} +3 -3
  105. package/dist/{chunk-DW35FX4I.js → chunk-X5EOH44V.js} +1 -1
  106. package/dist/{chunk-7YUYG6S6.js → chunk-XN22HGE7.js} +1 -1
  107. package/dist/{chunk-UR6QODTY.js → chunk-YATFRFNH.js} +1 -1
  108. package/dist/{chunk-3ZNAP65U.js → chunk-YQY4KVP4.js} +13 -17
  109. package/dist/{chunk-GVHEOOGM.js → chunk-Z3HHAFEP.js} +7 -7
  110. package/dist/{clean-RDKZTFDC.js → clean-2CK4S5ES.js} +22 -21
  111. package/dist/cli.js +63 -70
  112. package/dist/{cloud-2MGM3NSJ.js → cloud-QRSJMVGW.js} +4 -4
  113. package/dist/{cloudrun-YQONSO6B.js → cloudrun-5XEDIP77.js} +5 -5
  114. package/dist/commands/layout-audit.browser.js +44 -1
  115. package/dist/{compare-HAMCTSXR.js → compare-ASV5QBD2.js} +35 -32
  116. package/dist/{compiler-YUM2ODOP.js → compiler-CG2EXM75.js} +2 -2
  117. package/dist/{component-2MDTLX6B.js → component-24XLTKUQ.js} +3 -3
  118. package/dist/{compositions-EEXADRKF.js → compositions-AN7ETEKG.js} +17 -14
  119. package/dist/{delete-X4I63WKN.js → delete-OMKQ3XTL.js} +9 -7
  120. package/dist/{deploy-BBGSS4I3.js → deploy-3M6QRT2H.js} +2 -2
  121. package/dist/{dist-ZE5X6MWG.js → dist-VNOJCTQR.js} +3 -3
  122. package/dist/{doctor-BNZ6D33R.js → doctor-ABYFP2LY.js} +16 -15
  123. package/dist/{dotEnv-RPHCAUBZ.js → dotEnv-BGFXSQOA.js} +7 -5
  124. package/dist/{events-6DI3CND6.js → events-64QVWKTU.js} +10 -7
  125. package/dist/{events-BYOF33UK.js → events-P5AFL2VZ.js} +11 -8
  126. package/dist/{feedback-Z3JOC7TX.js → feedback-LQ2TT4XL.js} +31 -16
  127. package/dist/{ffmpeg-S44OTBCI.js → ffmpeg-Y6NMFQ5J.js} +8 -7
  128. package/dist/{figma-TVX2H5B3.js → figma-R75KTFW4.js} +3 -3
  129. package/dist/fontLocalizeCli.js +12 -11
  130. package/dist/{get-DWKTDVP7.js → get-KB67C2T7.js} +9 -7
  131. package/dist/{gpuPolicy-GTBFSUHB.js → gpuPolicy-4ERRTA5U.js} +8 -7
  132. package/dist/{grade-compare-S4P6Z265.js → grade-compare-NPVETP7T.js} +36 -33
  133. package/dist/hangReport.js +1 -1
  134. package/dist/{heifImagePrep-RKQP2Y73.js → heifImagePrep-ABLYQMTO.js} +9 -8
  135. package/dist/{help-WIC6DHOF.js → help-ZNJG5OJO.js} +3 -3
  136. package/dist/{history-UBRUPAHH.js → history-HUBQPMLX.js} +14 -11
  137. package/dist/hyperframe.manifest.json +1 -1
  138. package/dist/hyperframe.runtime.iife.js +71 -71
  139. package/dist/hyperframes-player.global.js +3 -3
  140. package/dist/{info-F5LTDQ6I.js → info-KDSQGWE5.js} +15 -12
  141. package/dist/{init-6L4WQKOD.js → init-QEPNUQB2.js} +35 -32
  142. package/dist/{inspect-DUIBB263.js → inspect-27GJ5ZUI.js} +36 -33
  143. package/dist/{installer-JKZ5N47B.js → installer-OFIDWMYR.js} +5 -5
  144. package/dist/{keyframes-5FQNFJFE.js → keyframes-E2NNHMNK.js} +14 -11
  145. package/dist/{lambda-YTO6N2QH.js → lambda-QQ2VVPRQ.js} +12 -11
  146. package/dist/{layout-H3F2LW62.js → layout-NQQZ5KR7.js} +36 -33
  147. package/dist/{lint-WUWLVCJQ.js → lint-DUYKX36O.js} +15 -12
  148. package/dist/{list-3EFECRWU.js → list-HIZY6RSP.js} +9 -7
  149. package/dist/{localPage-C3267GRQ.js → localPage-U2RMKIMN.js} +8 -7
  150. package/dist/{login-W5L64YRM.js → login-CLP2ZTEW.js} +19 -18
  151. package/dist/{logout-C6P6ERZ3.js → logout-CXGSSQ4Q.js} +6 -4
  152. package/dist/{manager-46MZB3HK.js → manager-CXRLWAKH.js} +10 -9
  153. package/dist/{manager-IZIK7BHN.js → manager-LXWVBDLM.js} +3 -3
  154. package/dist/{media-treatment-XBQWOU5U.js → media-treatment-GSWIAGS4.js} +29 -17
  155. package/dist/{models-ZHNV44XV.js → models-TPHYQXOL.js} +12 -11
  156. package/dist/{motionShot-DO4EQ2U3.js → motionShot-7UX4TKHZ.js} +18 -17
  157. package/dist/{normalize-audio-2EXTDNBF.js → normalize-audio-WBTJDFS7.js} +16 -13
  158. package/dist/{open-7ZOY3KI6.js → open-P7Z2PIPR.js} +19 -16
  159. package/dist/{parakeetRunner-H3B4QP6W.js → parakeetRunner-F2OX525D.js} +14 -13
  160. package/dist/{pipeline-7OKHNKGP.js → pipeline-2ZDZGL4J.js} +12 -11
  161. package/dist/{play-B5NNOJN7.js → play-YCH7MRNX.js} +26 -23
  162. package/dist/{preflight-R26JZQJU.js → preflight-MTMSPVCR.js} +11 -10
  163. package/dist/{present-Y2SEWKGO.js → present-L4HNZ2HU.js} +22 -19
  164. package/dist/{preview-7CZX4A5T.js → preview-RWX74O5J.js} +25 -22
  165. package/dist/{producer-WTO6XYGU.js → producer-UI4FXLPQ.js} +1 -1
  166. package/dist/{projectConfig-SJ5NIYUO.js → projectConfig-I6QNMRVV.js} +7 -7
  167. package/dist/{publication-47KNSXP7.js → publication-JET7ZBWG.js} +3 -3
  168. package/dist/{publish-4J4EKKQN.js → publish-T56AYTZU.js} +16 -14
  169. package/dist/{refresh-IYRGLHG5.js → refresh-VJ4FQVH2.js} +3 -2
  170. package/dist/{remove-background-UKC6NKDH.js → remove-background-4Y56FLXV.js} +13 -12
  171. package/dist/{render-S2FJRE3H.js → render-33TSTTN7.js} +6 -6
  172. package/dist/{render-TABKCTMF.js → render-IJ7L24RF.js} +169 -72
  173. package/dist/{render-DBELH4AC.js → render-UBDIHGEG.js} +25 -22
  174. package/dist/{render-batch-6YJMWHZ4.js → render-batch-SDDZ3LM7.js} +6 -6
  175. package/dist/renderSetupWorker.js +4 -4
  176. package/dist/{resolver-EDI3JND5.js → resolver-VLOUQ7I6.js} +5 -5
  177. package/dist/{screenshotCapture-HDRHY4NN.js → screenshotCapture-U3IYWTDB.js} +1 -1
  178. package/dist/{sherpa-R6HDRJCA.js → sherpa-6GOUBSP2.js} +13 -12
  179. package/dist/sherpaWorker.js +1 -1
  180. package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -1
  181. package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +9 -0
  182. package/dist/skills/hyperframes-cli/references/preview-render.md +2 -2
  183. package/dist/skills/hyperframes-cli/references/upgrade-info-misc.md +2 -2
  184. package/dist/skills/media-use/references/meta.md +6 -5
  185. package/dist/skills/media-use/scripts/lib/telemetry.mjs +49 -15
  186. package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +19 -5
  187. package/dist/{skills-2QIW3EOJ.js → skills-MAJGGJKJ.js} +13 -10
  188. package/dist/{skillsUpdateCheck-XG5FPCU5.js → skillsUpdateCheck-X6AIBUUG.js} +6 -5
  189. package/dist/{snapshot-C5XBKYEF.js → snapshot-JKKWQSMQ.js} +62 -45
  190. package/dist/{src-E467QUBK.js → src-LAO5IGRI.js} +11 -6
  191. package/dist/{src-CT2X45TD.js → src-RIL5PHI6.js} +12 -9
  192. package/dist/{staticProjectServer-G54Z4BH7.js → staticProjectServer-YF5AZXGR.js} +19 -18
  193. package/dist/{status-SLILCDBZ.js → status-TJFZFDGS.js} +5 -4
  194. package/dist/studio/assets/{hyperframes-player-H1DIJsJZ.js → hyperframes-player-Cf9gtxqa.js} +3 -3
  195. package/dist/studio/assets/{index-v_hWj6Kv.js → index-CW5fPxU8.js} +1 -1
  196. package/dist/studio/assets/{index-BftVE_0y.js → index-zVoFhoyD.js} +120 -120
  197. package/dist/studio/index.html +1 -1
  198. package/dist/{studio-api-O52RPXZC.js → studio-api-Q2U6752S.js} +9 -9
  199. package/dist/{studioServer-WDTS6ZDI.js → studioServer-SPU4MINT.js} +56 -53
  200. package/dist/{synthesize-FQML2LN2.js → synthesize-IKSZPKFJ.js} +2 -2
  201. package/dist/{system-MVRF5UM2.js → system-FDPS57FU.js} +2 -2
  202. package/dist/{telemetry-NTO4FJFN.js → telemetry-QHYJJAJU.js} +7 -6
  203. package/dist/{telemetry-GEHWCV7C.js → telemetry-W7CBBWIN.js} +11 -8
  204. package/dist/{timeline-IVQDNGWZ.js → timeline-L26OBLW2.js} +25 -22
  205. package/dist/{tokens-EN5PVV3Y.js → tokens-PNNCTOYV.js} +2 -2
  206. package/dist/{transcribe-HKS3PZAF.js → transcribe-PPZFOWMB.js} +12 -11
  207. package/dist/{transcribe-NXMIBNLX.js → transcribe-XZCZTOPU.js} +23 -20
  208. package/dist/{tts-K5HRN6NQ.js → tts-MQNOBHLH.js} +3 -3
  209. package/dist/{updateCheck-35TT5GRF.js → updateCheck-SNRZKRO2.js} +5 -4
  210. package/dist/{upgrade-G6EOHGUS.js → upgrade-WEU5MYWF.js} +5 -4
  211. package/dist/{urlDownloader-X7V63HCF.js → urlDownloader-55NQFDIH.js} +7 -6
  212. package/dist/{validate-4JUCRS64.js → validate-4QEMOBFD.js} +30 -27
  213. package/dist/{video-SWQXDG7J.js → video-VYOWJDYM.js} +9 -8
  214. package/dist/warmCheck.js +46 -43
  215. package/dist/warmCheckClient.js +1 -1
  216. package/package.json +2 -1
  217. package/dist/chunk-FBQVRYMD.js +0 -5061
@@ -6,16 +6,16 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  updateCheckDisabled
9
- } from "./chunk-XWMY7FIW.js";
9
+ } from "./chunk-H47FQDFU.js";
10
10
  import {
11
11
  hostAnswers
12
- } from "./chunk-K4WIOZFP.js";
12
+ } from "./chunk-BR2JQQC5.js";
13
13
  import {
14
14
  CONFIG_PATH,
15
15
  readConfig,
16
16
  readConfigFresh,
17
17
  writeConfig
18
- } from "./chunk-ZCHULPJZ.js";
18
+ } from "./chunk-BLBMPEBX.js";
19
19
  import {
20
20
  isUnattended
21
21
  } from "./chunk-J3RXEDR2.js";
@@ -0,0 +1,24 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+
8
+ // src/auth/paths.ts
9
+ import { homedir } from "os";
10
+ import { join } from "path";
11
+ var CREDENTIAL_FILENAME = "credentials";
12
+ function configDir() {
13
+ const override = process.env["HEYGEN_CONFIG_DIR"];
14
+ if (override && override.length > 0) return override;
15
+ return join(homedir(), ".heygen");
16
+ }
17
+ function credentialPath() {
18
+ return join(configDir(), CREDENTIAL_FILENAME);
19
+ }
20
+
21
+ export {
22
+ configDir,
23
+ credentialPath
24
+ };
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveCaptureBrowserGpuMode
9
- } from "./chunk-MP7DZH5M.js";
9
+ } from "./chunk-PNBH4ZY7.js";
10
10
  import {
11
11
  explainChromeLaunchFailure,
12
12
  inAgentSandbox,
@@ -15,7 +15,7 @@ import {
15
15
  oneProcessOverPipe,
16
16
  pipeLaunchClosedOnMac,
17
17
  sandboxDeniedRemediation
18
- } from "./chunk-LIOE46OG.js";
18
+ } from "./chunk-TDNZIFJ2.js";
19
19
  import {
20
20
  processIsAlive
21
21
  } from "./chunk-KGPLIH7B.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-LIOE46OG.js";
9
+ } from "./chunk-TDNZIFJ2.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  firstFrameColourArgs,
15
15
  parseFirstFrameColour
16
- } from "./chunk-GFA5ZCVI.js";
16
+ } from "./chunk-AU7VGKCP.js";
17
17
  import {
18
18
  findFfBinary
19
19
  } from "./chunk-VAS6HQX3.js";
@@ -19,7 +19,7 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-QCCPXMKP.js";
22
+ } from "./chunk-O44FYXH5.js";
23
23
  import {
24
24
  MEDIA_LINK_ATTR,
25
25
  relinkSplitHalves
@@ -32,7 +32,7 @@ import {
32
32
  requestedProjectPath,
33
33
  requiredFfmpeg,
34
34
  resolveLocalAudioPath
35
- } from "./chunk-TYMD647L.js";
35
+ } from "./chunk-JMGMOK4Z.js";
36
36
  import {
37
37
  HistoryBusyError,
38
38
  MAX_WINDOW_IDLE_MS,
@@ -70,11 +70,11 @@ import {
70
70
  scanProjectMedia,
71
71
  shouldPrewarmProxy,
72
72
  waitForProxy
73
- } from "./chunk-VAOROEWU.js";
73
+ } from "./chunk-URKDBFZV.js";
74
74
  import {
75
75
  probeAudioTrack,
76
76
  probeMediaMetadata
77
- } from "./chunk-LRYNDYAE.js";
77
+ } from "./chunk-5SZ2HRCW.js";
78
78
  import {
79
79
  STUDIO_MOTION_PATH,
80
80
  createStudioMotionRenderBodyScript,
@@ -115,7 +115,7 @@ import {
115
115
  ensureHfIds,
116
116
  stampHfIdsInPlace,
117
117
  stripSdrPngColourTags
118
- } from "./chunk-4HMG5CQJ.js";
118
+ } from "./chunk-2Q4CL6AB.js";
119
119
  import {
120
120
  GSAP_BASE_URL_META,
121
121
  PREVIEW_PROXY_BOX_PARAM,
@@ -132,7 +132,7 @@ import {
132
132
  normalizeGsapLocalRoot,
133
133
  parseFps,
134
134
  parsePreviewProxyBox
135
- } from "./chunk-GFA5ZCVI.js";
135
+ } from "./chunk-AU7VGKCP.js";
136
136
  import {
137
137
  AFTER_FONTS_SCRIPT_TYPE,
138
138
  RUNTIME_BOOTSTRAP_ATTR,
@@ -147,7 +147,7 @@ import {
147
147
  resolveRateSpec,
148
148
  sourceTimeAt,
149
149
  stripEmbeddedRuntimeScripts
150
- } from "./chunk-FBQVRYMD.js";
150
+ } from "./chunk-4I7KQWZS.js";
151
151
  import {
152
152
  ProjectRootMissingError,
153
153
  folderGone,
@@ -5592,7 +5592,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
5592
5592
  let block = extractGsapScriptBlock(html);
5593
5593
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
5594
5594
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
5595
- const { GSAP_CDN } = await import("./dist-ZE5X6MWG.js");
5595
+ const { GSAP_CDN } = await import("./dist-VNOJCTQR.js");
5596
5596
  const bootstrap = [
5597
5597
  `<script src="${GSAP_CDN}"></script>`,
5598
5598
  "<script>",
@@ -8914,7 +8914,7 @@ function growRootToFit(document2) {
8914
8914
  }
8915
8915
  if (end > rootDuration + EPSILON) root.setAttribute("data-duration", String(round3(end)));
8916
8916
  }
8917
- var COPIED_PICTURE_ATTRS = ["class", "style", "data-color-grading"];
8917
+ var COPIED_PICTURE_ATTRS = ["class", "style", "data-color-grading", "data-color-group"];
8918
8918
  function buildStill(document2, video, input) {
8919
8919
  const img = document2.createElement("img");
8920
8920
  img.setAttribute("id", input.id);
@@ -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-6UUPTWUG.js";
9
+ } from "./chunk-GHWV6PIS.js";
10
10
  import {
11
11
  errorBox
12
12
  } from "./chunk-5ZBMHUY2.js";
13
13
  import {
14
14
  DEFAULT_CONFIG,
15
15
  resolvePageNavigationTimeout
16
- } from "./chunk-LIOE46OG.js";
16
+ } from "./chunk-TDNZIFJ2.js";
17
17
  import {
18
18
  parseFps
19
- } from "./chunk-GFA5ZCVI.js";
19
+ } from "./chunk-AU7VGKCP.js";
20
20
  import {
21
21
  failUsage
22
22
  } from "./chunk-DP5LF7GF.js";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-5ETJX6WM.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-QL7ITOPE.js";
19
+ } from "./chunk-V4AS2BNU.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
@@ -29,26 +29,26 @@ import {
29
29
  } from "./chunk-2GICKZ3I.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-LIOE46OG.js";
32
+ } from "./chunk-TDNZIFJ2.js";
33
33
  import {
34
34
  getFreeDiskMb,
35
35
  getShmSizeMb,
36
36
  getSystemMeta
37
- } from "./chunk-5766TK7Q.js";
37
+ } from "./chunk-LAGZGKKN.js";
38
38
  import {
39
39
  getAvailableMemoryMb
40
- } from "./chunk-32NEJ553.js";
40
+ } from "./chunk-FBN2M2HK.js";
41
41
  import {
42
42
  getUpdateMeta,
43
43
  withMeta
44
- } from "./chunk-XWMY7FIW.js";
44
+ } from "./chunk-H47FQDFU.js";
45
45
  import {
46
46
  CONFIG_PATH,
47
47
  withFileLock
48
- } from "./chunk-ZCHULPJZ.js";
48
+ } from "./chunk-BLBMPEBX.js";
49
49
  import {
50
50
  VERSION
51
- } from "./chunk-A3ZRV44X.js";
51
+ } from "./chunk-OV6MUGZI.js";
52
52
  import {
53
53
  normalizeErrorMessage
54
54
  } from "./chunk-E63BDV4Z.js";
@@ -240,7 +240,7 @@ function checkEnvironment() {
240
240
  return { ok: true, detail: parts.join(" \xB7 ") };
241
241
  }
242
242
  async function checkWhisper() {
243
- const { findWhisper, getInstallInstructions } = await import("./manager-46MZB3HK.js");
243
+ const { findWhisper, getInstallInstructions } = await import("./manager-CXRLWAKH.js");
244
244
  const result = findWhisper();
245
245
  if (result) {
246
246
  return { ok: true, detail: result.executablePath };
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-A3ZRV44X.js";
9
+ } from "./chunk-OV6MUGZI.js";
10
10
 
11
11
  // src/registry/compatibility.ts
12
12
  import { compareVersions } from "compare-versions";
@@ -22,7 +22,7 @@ import {
22
22
  resolveNaturalMediaTimelineDuration,
23
23
  resolveTimedImageDurationSeconds,
24
24
  unitFloatToByte
25
- } from "./chunk-FBQVRYMD.js";
25
+ } from "./chunk-4I7KQWZS.js";
26
26
  import {
27
27
  COLOR_GROUP_ATTR,
28
28
  COLOR_GROUP_TAG,
@@ -1226,7 +1226,11 @@ function colorGroupOf(el) {
1226
1226
  }
1227
1227
  return el.getAttribute(HF_COLOR_GROUP_ATTR) || null;
1228
1228
  }
1229
- function resolveColorGroupElement(root, groupId) {
1229
+ function resolveColorGroupElement(root, groupId, member) {
1230
+ const scope = typeof member?.closest === "function" ? member.closest("[data-composition-id]") : null;
1231
+ const scoped = scope ? Array.from(scope.getElementsByTagName(HF_COLOR_GROUP_TAG)).find((g) => g.id === groupId) : void 0;
1232
+ if (scoped)
1233
+ return scoped;
1230
1234
  const el = root?.getElementById(groupId) ?? null;
1231
1235
  return el?.tagName.toLowerCase() === HF_COLOR_GROUP_TAG ? el : null;
1232
1236
  }
@@ -1237,7 +1241,7 @@ function effectiveColorGrading(el, root) {
1237
1241
  const groupId = colorGroupOf(el);
1238
1242
  if (!groupId)
1239
1243
  return null;
1240
- return resolveColorGroupElement(root, groupId)?.getAttribute(HF_COLOR_GRADING_ATTR) ?? null;
1244
+ return resolveColorGroupElement(root, groupId, el)?.getAttribute(HF_COLOR_GRADING_ATTR) ?? null;
1241
1245
  }
1242
1246
  function ensureColorGroupInertStyle(doc) {
1243
1247
  const styleId = "__hf-color-group-inert";
@@ -284,6 +284,11 @@ function parseDeRouterBreaker(value) {
284
284
  };
285
285
  return parsed.strike || parsed.trip ? parsed : void 0;
286
286
  }
287
+ function recordLastCheck(lastCheck) {
288
+ const config = readConfigFresh();
289
+ config.lastCheck = lastCheck;
290
+ writeConfig(config);
291
+ }
287
292
  var MAX_RECENT_RENDERS = 5;
288
293
  function recordRecentRender(id, ok) {
289
294
  const config = readConfigFresh();
@@ -506,6 +511,7 @@ export {
506
511
  effectiveTelemetryStatus,
507
512
  withFileLock,
508
513
  releaseDeParallelRouterLatch,
514
+ recordLastCheck,
509
515
  recordRecentRender,
510
516
  getIdentityPersistence,
511
517
  getIdentityWriteOutcome,
@@ -4,15 +4,13 @@ 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
+ fetchGoesThroughEnvProxy
9
+ } from "./chunk-QBXDU24O.js";
7
10
 
8
11
  // src/utils/hostAnswers.ts
9
12
  import { promises as dns } from "dns";
10
13
  var PROBE_TIMEOUT_MS = 1e3;
11
- function fetchGoesThroughEnvProxy() {
12
- if (!(process.env["HTTPS_PROXY"] ?? process.env["https_proxy"])?.trim()) return false;
13
- const flags = [...process.execArgv, ...process.env["NODE_OPTIONS"]?.split(/\s+/u) ?? []];
14
- return process.env["NODE_USE_ENV_PROXY"] === "1" || flags.includes("--use-env-proxy");
15
- }
16
14
  async function hostAnswers(host) {
17
15
  if (fetchGoesThroughEnvProxy()) return true;
18
16
  try {
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-UR6QODTY.js";
15
+ } from "./chunk-YATFRFNH.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { readFileSync, writeFileSync } from "fs";
@@ -5,12 +5,14 @@ var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
- credentialPath,
9
8
  deleteStore,
10
9
  hasPreservedUnknownData,
11
10
  readStore,
12
11
  writeStore
13
- } from "./chunk-7TWX4Y7I.js";
12
+ } from "./chunk-UVXIJYZY.js";
13
+ import {
14
+ credentialPath
15
+ } from "./chunk-4WEWHZZO.js";
14
16
 
15
17
  // src/auth/user.ts
16
18
  function isUserInfoEmpty(u) {
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-URD4QIQS.js";
9
+ } from "./chunk-TCVI4ZGS.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-EJCCJTUH.js";
15
+ } from "./chunk-WKNWKORX.js";
16
16
  import {
17
17
  initialModelForLanguage,
18
18
  transcribe
19
- } from "./chunk-MGUA3DUS.js";
19
+ } from "./chunk-G35NVFZF.js";
20
20
  import {
21
21
  createRenderCancellationScope,
22
22
  stoppedByCancelSignal
23
- } from "./chunk-245CC6JT.js";
23
+ } from "./chunk-5HGUY24Y.js";
24
24
  import {
25
25
  DEFAULT_MODEL,
26
26
  findWhisper,
27
27
  isWhisperUnavailable
28
- } from "./chunk-3ZNAP65U.js";
28
+ } from "./chunk-YQY4KVP4.js";
29
29
  import {
30
30
  formatSrt,
31
31
  formatVtt,
@@ -20,7 +20,7 @@ import {
20
20
  typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-WJRYQYOM.js";
23
+ } from "./chunk-RLT45AWC.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-GEHWCV7C.js");
232
+ const { trackFigmaImport } = await import("./telemetry-W7CBBWIN.js");
233
233
  trackFigmaImport({
234
234
  phase: "asset",
235
235
  reused: results.every((r) => r.reused),
@@ -13,10 +13,10 @@ import {
13
13
  } from "./chunk-XQ26I3PL.js";
14
14
  import {
15
15
  createProjectConfig
16
- } from "./chunk-VEWR5HXT.js";
16
+ } from "./chunk-BRYOYBO5.js";
17
17
  import {
18
18
  isHyperframesProject
19
- } from "./chunk-GFA5ZCVI.js";
19
+ } from "./chunk-AU7VGKCP.js";
20
20
 
21
21
  // src/utils/desktopApp.ts
22
22
  import { spawn, spawnSync } from "child_process";
@@ -9,7 +9,13 @@ import {
9
9
  } from "./chunk-IGLEPPTN.js";
10
10
 
11
11
  // src/utils/dotEnv.ts
12
- var CAPTURE_ENV_KEYS = [
12
+ import { readFileSync } from "fs";
13
+ import { join } from "path";
14
+ var PROJECT_ENV_KEYS = [
15
+ "HEYGEN_API_KEY",
16
+ "HYPERFRAMES_API_KEY",
17
+ "ELEVENLABS_API_KEY",
18
+ "FIGMA_TOKEN",
13
19
  "OPENROUTER_API_KEY",
14
20
  "GEMINI_API_KEY",
15
21
  "GOOGLE_API_KEY",
@@ -19,7 +25,10 @@ var CAPTURE_ENV_KEYS = [
19
25
  "HYPERFRAMES_VERTEX_MODEL",
20
26
  "HYPERFRAMES_OPENROUTER_MODEL",
21
27
  "HYPERFRAMES_GEMINI_MODEL",
22
- "HYPERFRAMES_VISION_TIMEOUT_MS"
28
+ "HYPERFRAMES_VISION_TIMEOUT_MS",
29
+ // Telemetry opt-outs only turn sending off, and a project .env could already set them.
30
+ "HYPERFRAMES_NO_TELEMETRY",
31
+ "DO_NOT_TRACK"
23
32
  ];
24
33
  function valueOf(raw) {
25
34
  const quote = raw.charAt(0);
@@ -71,15 +80,33 @@ function logicalLines(content) {
71
80
  }
72
81
  function applyDotEnv(content, env, allowedKeys) {
73
82
  const allowed = allowedKeys === void 0 ? void 0 : new Set(allowedKeys);
83
+ const ignored = [];
74
84
  for (const entry of logicalLines(content).map(entryOf)) {
75
85
  if (!entry) continue;
76
86
  const [key, value] = entry;
77
- if (key && key.toUpperCase() !== FEEDBACK_EMAIL_ENV && (allowed === void 0 || allowed.has(key)) && !(key in env))
78
- env[key] = value;
87
+ if (!key || key.toUpperCase() === FEEDBACK_EMAIL_ENV) continue;
88
+ if (allowed !== void 0 && !allowed.has(key)) ignored.push(key);
89
+ else if (!(key in env)) env[key] = value;
90
+ }
91
+ return ignored;
92
+ }
93
+ function loadProjectDotEnv(dir, env, warn) {
94
+ let content;
95
+ try {
96
+ content = readFileSync(join(dir, ".env"), "utf-8");
97
+ } catch {
98
+ return;
99
+ }
100
+ const ignored = [...new Set(applyDotEnv(content, env, PROJECT_ENV_KEYS))];
101
+ if (ignored.length > 0) {
102
+ warn(
103
+ `[hyperframes] .env: ignoring ${ignored.join(", ")} (a project .env only sets the CLI's own settings)`
104
+ );
79
105
  }
80
106
  }
81
107
 
82
108
  export {
83
- CAPTURE_ENV_KEYS,
84
- applyDotEnv
109
+ PROJECT_ENV_KEYS,
110
+ applyDotEnv,
111
+ loadProjectDotEnv
85
112
  };
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-4NJ57TSE.js";
10
+ } from "./chunk-QY7RG6K3.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-FI3JWR34.js";
13
+ } from "./chunk-KLGJ2R4V.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  loadProducer
9
- } from "./chunk-VW57BBGU.js";
9
+ } from "./chunk-K2666FKT.js";
10
10
  import {
11
11
  resolveProjectRelativeSrc
12
12
  } from "./chunk-PBNWRWKA.js";
13
13
 
14
14
  // src/utils/projectMedia.ts
15
15
  async function collectProjectMedia(projectDir) {
16
- const { bundleToSingleHtml } = await import("./compiler-YUM2ODOP.js");
16
+ const { bundleToSingleHtml } = await import("./compiler-CG2EXM75.js");
17
17
  const html = await bundleToSingleHtml(projectDir);
18
18
  const producer = await loadProducer();
19
19
  if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
@@ -14,7 +14,11 @@ var BYTES_PER_MIB_BIGINT = BigInt(BYTES_PER_MIB);
14
14
  var CGROUP_V2_MEMORY_MAX_PATH = "/sys/fs/cgroup/memory.max";
15
15
  var CGROUP_V1_MEMORY_LIMIT_PATH = "/sys/fs/cgroup/memory/memory.limit_in_bytes";
16
16
  var CGROUP_V1_NO_LIMIT_CUTOFF_BYTES = 2n ** 60n;
17
+ var CGROUP_V2_CPU_MAX_PATH = "/sys/fs/cgroup/cpu.max";
18
+ var CGROUP_V1_CPU_QUOTA_PATH = "/sys/fs/cgroup/cpu/cpu.cfs_quota_us";
19
+ var CGROUP_V1_CPU_PERIOD_PATH = "/sys/fs/cgroup/cpu/cpu.cfs_period_us";
17
20
  var _cachedCgroupLimitMb;
21
+ var _cachedCgroupCpus;
18
22
  var _warnedCgroupReadFailure = false;
19
23
  function parseCgroupLimitMb(v2Content, v1Content) {
20
24
  if (v2Content !== null) {
@@ -48,6 +52,29 @@ function parsePositiveByteLimitMb(content, noLimitCutoffBytes) {
48
52
  }
49
53
  return Number(bytes / BYTES_PER_MIB_BIGINT);
50
54
  }
55
+ function parseCgroupCpus(v2Content, v1Quota, v1Period) {
56
+ if (v2Content !== null) {
57
+ const [quota, period] = v2Content.trim().split(/\s+/);
58
+ return quotaCpus(quota, period);
59
+ }
60
+ return quotaCpus(v1Quota?.trim(), v1Period?.trim());
61
+ }
62
+ function quotaCpus(quota, period) {
63
+ if (!quota || !period || !/^\d+$/.test(quota) || !/^\d+$/.test(period)) return null;
64
+ const [q, p] = [Number(quota), Number(period)];
65
+ return q > 0 && p > 0 ? q / p : null;
66
+ }
67
+ function getCgroupCpuLimit() {
68
+ if (_cachedCgroupCpus !== void 0) return _cachedCgroupCpus;
69
+ if (process.platform !== "linux") return _cachedCgroupCpus = null;
70
+ const v2 = readCgroupFile(CGROUP_V2_CPU_MAX_PATH);
71
+ _cachedCgroupCpus = v2 !== null ? parseCgroupCpus(v2, null, null) : parseCgroupCpus(
72
+ null,
73
+ readCgroupFile(CGROUP_V1_CPU_QUOTA_PATH),
74
+ readCgroupFile(CGROUP_V1_CPU_PERIOD_PATH)
75
+ );
76
+ return _cachedCgroupCpus;
77
+ }
51
78
  function getCgroupMemoryLimitMb() {
52
79
  if (_cachedCgroupLimitMb !== void 0) return _cachedCgroupLimitMb;
53
80
  if (process.platform !== "linux") {
@@ -132,6 +159,7 @@ function getAvailableMemoryMb() {
132
159
  }
133
160
 
134
161
  export {
162
+ getCgroupCpuLimit,
135
163
  getCgroupMemoryLimitMb,
136
164
  getSystemTotalMb,
137
165
  LOW_MEMORY_TOTAL_MB_THRESHOLD,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-7VZEOCUY.js";
10
10
  import {
11
11
  stoppedByCancelSignal
12
- } from "./chunk-245CC6JT.js";
12
+ } from "./chunk-5HGUY24Y.js";
13
13
  import {
14
14
  DEFAULT_MODEL,
15
15
  ensureModel,
@@ -17,12 +17,12 @@ import {
17
17
  hasFFmpeg,
18
18
  pinnedWhisperModel,
19
19
  sha256File
20
- } from "./chunk-3ZNAP65U.js";
20
+ } from "./chunk-YQY4KVP4.js";
21
21
  import {
22
22
  findFFmpeg,
23
23
  findFFprobe,
24
24
  getFFmpegInstallHint
25
- } from "./chunk-HQRI2NT3.js";
25
+ } from "./chunk-ST5EBZTO.js";
26
26
  import {
27
27
  findWavChunk
28
28
  } from "./chunk-UOFAE5RF.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  downloadFile
9
- } from "./chunk-FJ646TIT.js";
9
+ } from "./chunk-R4EWRIDL.js";
10
10
 
11
11
  // src/tts/manager.ts
12
12
  import { existsSync, mkdirSync } from "fs";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
13
- } from "./chunk-GFA5ZCVI.js";
13
+ } from "./chunk-AU7VGKCP.js";
14
14
  import {
15
15
  parseHTML
16
16
  } from "./chunk-GWTIFRF5.js";
@@ -40,6 +40,18 @@ function closestMatch(input, candidates) {
40
40
  }
41
41
  return best;
42
42
  }
43
+ var COMMAND_SYNONYMS = {
44
+ search: "catalog",
45
+ find: "catalog",
46
+ browse: "catalog",
47
+ registry: "catalog",
48
+ list: "catalog",
49
+ install: "add"
50
+ };
51
+ function synonymMatch(input, candidates) {
52
+ const target = COMMAND_SYNONYMS[input];
53
+ return target !== void 0 && [...candidates].includes(target) ? target : void 0;
54
+ }
43
55
 
44
56
  // src/utils/reject-unknown-flags.ts
45
57
  var ALWAYS_KNOWN = /* @__PURE__ */ new Set(["help", "h", "version", "v"]);
@@ -181,6 +193,7 @@ function guardSwallowedFlagValues(cmd, path, rawArgs) {
181
193
 
182
194
  export {
183
195
  closestMatch,
196
+ synonymMatch,
184
197
  assertKnownFlags,
185
198
  swallowedFlagUsageError,
186
199
  guardSwallowedFlagValues
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  hostAnswers
9
- } from "./chunk-K4WIOZFP.js";
9
+ } from "./chunk-BR2JQQC5.js";
10
10
  import {
11
11
  readConfig,
12
12
  readConfigFresh,
13
13
  writeConfig
14
- } from "./chunk-ZCHULPJZ.js";
14
+ } from "./chunk-BLBMPEBX.js";
15
15
  import {
16
16
  isDevMode
17
17
  } from "./chunk-ISN5GRYI.js";
@@ -24,7 +24,7 @@ import {
24
24
  } from "./chunk-J3RXEDR2.js";
25
25
  import {
26
26
  VERSION
27
- } from "./chunk-A3ZRV44X.js";
27
+ } from "./chunk-OV6MUGZI.js";
28
28
 
29
29
  // src/utils/updateCheck.ts
30
30
  import { existsSync, readFileSync } from "fs";