hyperframes 0.8.216 → 0.8.218

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 (212) hide show
  1. package/dist/{add-2RWN7JAI.js → add-6TACQX2U.js} +14 -14
  2. package/dist/{agentPromptGenerator-RVE5RWTH.js → agentPromptGenerator-2OHH7TQF.js} +8 -8
  3. package/dist/{animatedGifPrep-I32BS5HI.js → animatedGifPrep-3TCOKQRQ.js} +8 -8
  4. package/dist/api.js +19 -19
  5. package/dist/{asset-YLZ5UGVE.js → asset-XGF7DP6H.js} +2 -2
  6. package/dist/{assetCataloger-B4KOZO3V.js → assetCataloger-23H37VZ5.js} +9 -9
  7. package/dist/{audio-VUOJ7MOJ.js → audio-IIU2JTO2.js} +19 -19
  8. package/dist/{auth-3UL65CN7.js → auth-YXS6A6HO.js} +8 -7
  9. package/dist/{autoUpdate-FEK5AHLP.js → autoUpdate-25S52Q5S.js} +3 -3
  10. package/dist/{backgroundChecks-VJSQ3REH.js → backgroundChecks-I7EVP7FG.js} +4 -4
  11. package/dist/backgroundChecksWorker.js +4 -4
  12. package/dist/{batchRender-NC6SUDYN.js → batchRender-ESAPNTE3.js} +4 -4
  13. package/dist/{beats-KSUZ23LE.js → beats-STUURUTE.js} +13 -13
  14. package/dist/{benchmark-TRVQ7EPQ.js → benchmark-APCKXZV4.js} +11 -11
  15. package/dist/{browser-3LJ3SLQ4.js → browser-24AXY6XT.js} +6 -6
  16. package/dist/{bundleWithLocalizedFonts-Y7VGIRFK.js → bundleWithLocalizedFonts-D5DHHE3J.js} +2 -2
  17. package/dist/{capture-NC5OO4D2.js → capture-6DJ63B7N.js} +3 -3
  18. package/dist/{capture-NT2SOO5J.js → capture-CPDVGCHU.js} +16 -16
  19. package/dist/{captureCompositionFrame-PAJRNURH.js → captureCompositionFrame-UQWCB4GS.js} +13 -13
  20. package/dist/{catalog-BOGZ2BQD.js → catalog-Q23ML47J.js} +14 -14
  21. package/dist/{catch-up-FGF5SAEW.js → catch-up-RS3QCE4R.js} +7 -7
  22. package/dist/{check-IG6NIMSC.js → check-CTCEOX24.js} +40 -40
  23. package/dist/{checkAudio-6B2FKTIU.js → checkAudio-SINGW2W7.js} +12 -12
  24. package/dist/{checkBrowser-D6MZRCTH.js → checkBrowser-PDM2H472.js} +34 -34
  25. package/dist/{chunk-UGQFQDSV.js → chunk-35JKCWYI.js} +1 -1
  26. package/dist/{chunk-I3VXWMQW.js → chunk-3MTNYVWM.js} +5 -5
  27. package/dist/{chunk-3S2WWGJJ.js → chunk-3O6TQMFR.js} +3 -3
  28. package/dist/{chunk-MYHAS5U2.js → chunk-3VIICMJF.js} +1 -1
  29. package/dist/{chunk-IVRKWQTX.js → chunk-4I7KQWZS.js} +1 -1
  30. package/dist/{chunk-JFFQWMNE.js → chunk-4OWVRHSV.js} +5 -5
  31. package/dist/{chunk-URUUGFZD.js → chunk-4RHUYKVK.js} +3 -3
  32. package/dist/{chunk-RIGQABEL.js → chunk-562GRMWD.js} +1 -1
  33. package/dist/{chunk-MU66MHZB.js → chunk-576ATOOU.js} +2 -2
  34. package/dist/{chunk-OWU2BURB.js → chunk-5JMHTBGN.js} +2 -2
  35. package/dist/{chunk-KYXBPFI7.js → chunk-5UIODBMI.js} +8 -5
  36. package/dist/{chunk-SBBYMUWY.js → chunk-67YDBMLK.js} +1 -1
  37. package/dist/{chunk-5XTOAZMR.js → chunk-A5MVD5IH.js} +1 -1
  38. package/dist/{chunk-DYHAZFK3.js → chunk-AU7VGKCP.js} +1 -1
  39. package/dist/{chunk-VAS6HQX3.js → chunk-BIROA7JM.js} +32 -3
  40. package/dist/{chunk-ZCHULPJZ.js → chunk-BLBMPEBX.js} +6 -0
  41. package/dist/{chunk-TQSKEMSL.js → chunk-BMM6KPEK.js} +3 -3
  42. package/dist/{chunk-FUSUFW2L.js → chunk-BRYOYBO5.js} +1 -1
  43. package/dist/{chunk-RN7RQBW3.js → chunk-BT5UT4XT.js} +2 -2
  44. package/dist/{chunk-CX4TSC7T.js → chunk-BWP7C7WY.js} +38 -27
  45. package/dist/{chunk-3AOXAXTA.js → chunk-C2G23WQQ.js} +1 -1
  46. package/dist/{chunk-MKL6JGDL.js → chunk-CPLOVCBR.js} +56 -20
  47. package/dist/{chunk-4MWUMT3T.js → chunk-DFLWN6Y3.js} +2 -2
  48. package/dist/{chunk-RH5Y75UX.js → chunk-DOZGTBDV.js} +2 -2
  49. package/dist/{chunk-RKS7GO4O.js → chunk-DWMI7CKI.js} +1 -1
  50. package/dist/{chunk-GHROWWUN.js → chunk-DWTFLQ3P.js} +33 -6
  51. package/dist/{chunk-ACAU2AK2.js → chunk-FQUPVW7G.js} +4 -4
  52. package/dist/{chunk-4EEVTNDU.js → chunk-G2E2DHH2.js} +3 -3
  53. package/dist/{chunk-OFJTXNRS.js → chunk-GEOYME4I.js} +3 -3
  54. package/dist/{chunk-6LQL2BVD.js → chunk-GHWV6PIS.js} +1 -1
  55. package/dist/{chunk-BTYR7Y3Z.js → chunk-H6LEUSAT.js} +2 -2
  56. package/dist/{chunk-RXQU3QM4.js → chunk-HOTGBCX7.js} +9 -9
  57. package/dist/{chunk-NWYJZAPP.js → chunk-HTBHG63K.js} +1 -1
  58. package/dist/{chunk-DFA5GTRJ.js → chunk-IEC36WFL.js} +1 -1
  59. package/dist/{chunk-2JV6FKNZ.js → chunk-ILCIWNPQ.js} +3 -3
  60. package/dist/{chunk-7VZEOCUY.js → chunk-J74ZUXVU.js} +1 -1
  61. package/dist/{chunk-MO6DJMZP.js → chunk-JH2AO4ZW.js} +2 -2
  62. package/dist/{chunk-4YIKQM4K.js → chunk-K5GGTJJV.js} +1 -1
  63. package/dist/{chunk-EB44YMQO.js → chunk-KUQOUWJ4.js} +3 -3
  64. package/dist/{chunk-7P76YIVS.js → chunk-LBZVTVG6.js} +1 -1
  65. package/dist/{chunk-BHWXSO6T.js → chunk-LGMRZWJS.js} +9 -3
  66. package/dist/{chunk-JOZQFSOV.js → chunk-LJB2PF6K.js} +1 -1
  67. package/dist/{chunk-ZRK7ZEWI.js → chunk-LYK7IGH4.js} +3 -3
  68. package/dist/{chunk-UVXIJYZY.js → chunk-MESSJFK3.js} +249 -298
  69. package/dist/{chunk-JF3RF6GS.js → chunk-MHZB6QSC.js} +1 -1
  70. package/dist/{chunk-6HJUC2VX.js → chunk-NEPGYMT3.js} +2 -2
  71. package/dist/{chunk-CBCZBHGK.js → chunk-NHXGFQWQ.js} +2 -2
  72. package/dist/{chunk-Z4W7ND2L.js → chunk-P34BNDC3.js} +6 -6
  73. package/dist/{chunk-SPFTXNKQ.js → chunk-P5ANVBAG.js} +16 -15
  74. package/dist/{chunk-GTKUQUZ6.js → chunk-RYBFHEMZ.js} +1 -1
  75. package/dist/{chunk-557ZJMFI.js → chunk-SFBFRIKF.js} +2 -2
  76. package/dist/{chunk-43USF7JF.js → chunk-SJYWAEKF.js} +9 -9
  77. package/dist/{chunk-ROUK3OL2.js → chunk-SVJAW3N3.js} +7 -7
  78. package/dist/{chunk-VDFY4FE5.js → chunk-SZMW32YW.js} +9 -9
  79. package/dist/{chunk-7RPXLY6U.js → chunk-TCV7N2UY.js} +1 -1
  80. package/dist/{chunk-634HSJ3J.js → chunk-TK7THLRO.js} +10 -3
  81. package/dist/{chunk-LGZP4IR2.js → chunk-U2EUCTYQ.js} +4 -4
  82. package/dist/{chunk-KBTXAUCZ.js → chunk-UWV753SJ.js} +1 -1
  83. package/dist/chunk-VLA6UJGH.js +139 -0
  84. package/dist/{chunk-U54ZBLTF.js → chunk-VLMPZRZC.js} +2 -2
  85. package/dist/{chunk-Q3OKLJ34.js → chunk-VMTLGFAP.js} +2 -2
  86. package/dist/{chunk-BYHG2T5X.js → chunk-VP5KECBU.js} +2 -2
  87. package/dist/{chunk-USQTLRSD.js → chunk-VTLIN7XN.js} +2 -2
  88. package/dist/{chunk-TBEU55KU.js → chunk-WHISG7MU.js} +1 -1
  89. package/dist/{chunk-YT4DR2UT.js → chunk-WSAGYFYU.js} +7 -7
  90. package/dist/{chunk-UIETUYFT.js → chunk-WUABYDXU.js} +1 -1
  91. package/dist/{chunk-UJEEURID.js → chunk-X4SGGGSG.js} +13 -13
  92. package/dist/{chunk-VPA5YKEY.js → chunk-XC2DA2IA.js} +2 -2
  93. package/dist/{chunk-QETCWXRM.js → chunk-XKG4VTT5.js} +4 -4
  94. package/dist/{chunk-PNE2Y42T.js → chunk-YATFRFNH.js} +1 -1
  95. package/dist/{chunk-EJTVBW42.js → chunk-YBW7HTJK.js} +2 -2
  96. package/dist/{chunk-PPMLF76Z.js → chunk-YSTBSLWY.js} +1 -1
  97. package/dist/{chunk-VZENYSX7.js → chunk-YXZ56JUN.js} +44 -33
  98. package/dist/{chunk-OPLEWQHF.js → chunk-Z5N3BHCQ.js} +1 -1
  99. package/dist/{chunk-QGMRSNG5.js → chunk-ZJNN53CS.js} +4 -3
  100. package/dist/{clean-WPLBDRSW.js → clean-MMKLFZD6.js} +19 -19
  101. package/dist/cli.js +57 -66
  102. package/dist/{cloud-VMSG2SJB.js → cloud-PYPEVKTI.js} +4 -4
  103. package/dist/{cloudrun-AXB4G6X2.js → cloudrun-5XEDIP77.js} +5 -5
  104. package/dist/commands/layout-audit.browser.js +7 -1
  105. package/dist/{compare-NVW3E74E.js → compare-5FYV3HXW.js} +31 -31
  106. package/dist/{compiler-GHX7QLHL.js → compiler-DVUV3DGB.js} +4 -4
  107. package/dist/{component-ZQAP7CBI.js → component-6WPGKSED.js} +3 -3
  108. package/dist/{compositions-FKHNCB6H.js → compositions-KF7WTF4B.js} +14 -14
  109. package/dist/{delete-XYC7FN6A.js → delete-KZFID7WD.js} +7 -7
  110. package/dist/{deploy-DOJS666X.js → deploy-JU22XTWD.js} +1 -1
  111. package/dist/{dist-3Q2DNDSR.js → dist-VNOJCTQR.js} +3 -3
  112. package/dist/{dist-KXFW5H5Q.js → dist-XXBCSQYF.js} +2 -2
  113. package/dist/{doctor-7CUFMW3Y.js → doctor-PI6KAIR5.js} +13 -13
  114. package/dist/{dotEnv-RPHCAUBZ.js → dotEnv-BGFXSQOA.js} +7 -5
  115. package/dist/{events-K7HUJ4DO.js → events-DE5M7353.js} +4 -4
  116. package/dist/{events-KGXVDZV7.js → events-GTCDNRHF.js} +6 -6
  117. package/dist/{feedback-F7WLYJGJ.js → feedback-WBXTSD7V.js} +26 -14
  118. package/dist/{ffmpeg-ZFHN4YZ2.js → ffmpeg-32BKO53L.js} +8 -8
  119. package/dist/{figma-7QKRKT5Q.js → figma-4EX6IU6D.js} +3 -3
  120. package/dist/fontLocalizeCli.js +11 -11
  121. package/dist/{get-XKPYG6IC.js → get-IDFMBDVJ.js} +7 -7
  122. package/dist/{gpuPolicy-A74BROG6.js → gpuPolicy-XALYIHRC.js} +8 -8
  123. package/dist/{grade-compare-7SR62TE5.js → grade-compare-IR6C2BDN.js} +32 -32
  124. package/dist/{heifImagePrep-XTCBHE3B.js → heifImagePrep-UT4MVMZK.js} +9 -9
  125. package/dist/{help-B7CXC4J5.js → help-LNFTZ33U.js} +1 -1
  126. package/dist/{history-3INEHHZ4.js → history-CVMBLNPB.js} +9 -9
  127. package/dist/hyperframe.manifest.json +1 -1
  128. package/dist/hyperframe.runtime.iife.js +26 -26
  129. package/dist/hyperframes-player.global.js +1 -1
  130. package/dist/{info-J3U63EFT.js → info-ZR6NR7MT.js} +10 -10
  131. package/dist/{init-2IEXXRG2.js → init-3H4OWHAC.js} +31 -31
  132. package/dist/{inspect-IRJABR66.js → inspect-DQB42FQJ.js} +32 -32
  133. package/dist/{installer-6JLQM6OJ.js → installer-OFIDWMYR.js} +5 -5
  134. package/dist/{keyframes-G2TSKZRL.js → keyframes-U74BN76I.js} +9 -9
  135. package/dist/{lambda-QFFFCFK3.js → lambda-UPISIKLU.js} +12 -12
  136. package/dist/{layout-INRUYIDJ.js → layout-JCWBIDXF.js} +32 -32
  137. package/dist/{lint-BHPBD7Z3.js → lint-EELAY2XS.js} +11 -11
  138. package/dist/{lintProject-SZIPPOJR.js → lintProject-I4XPWIQZ.js} +2 -2
  139. package/dist/{list-BGL5PH6J.js → list-MDRTOKTA.js} +7 -7
  140. package/dist/{localPage-MLFDX4Y6.js → localPage-BRAEGIND.js} +8 -8
  141. package/dist/{login-ABDL65L6.js → login-SOWERHQ6.js} +9 -8
  142. package/dist/{logout-CXGSSQ4Q.js → logout-6VFJ7WMW.js} +4 -4
  143. package/dist/{manager-DEKPCPWH.js → manager-PZ3USUXJ.js} +9 -9
  144. package/dist/{media-treatment-BQDTCBIT.js → media-treatment-A4CYTZKY.js} +16 -16
  145. package/dist/{media-use-ZRHFRO46.js → media-use-ZNTB7W6N.js} +85 -10
  146. package/dist/{models-SJIA5QDV.js → models-3LT54WBS.js} +12 -12
  147. package/dist/{motionShot-46J3W5UJ.js → motionShot-QLD2PDVI.js} +16 -16
  148. package/dist/{normalize-audio-UXAJSQKI.js → normalize-audio-HMYHPUV4.js} +12 -12
  149. package/dist/{open-DHRYP3N3.js → open-CYR6L7BV.js} +14 -14
  150. package/dist/{parakeetRunner-WKMM4TYU.js → parakeetRunner-52GLM62X.js} +14 -14
  151. package/dist/{pipeline-EIVKRUX2.js → pipeline-KZW5KLBK.js} +11 -11
  152. package/dist/{play-J5A7KHNF.js → play-KSX3VWZ5.js} +23 -23
  153. package/dist/{preflight-GKIQIXFQ.js → preflight-YJZS7QKG.js} +9 -9
  154. package/dist/{present-ZDXILGQJ.js → present-4Q3DIPFX.js} +19 -19
  155. package/dist/{preview-A2MLHZFF.js → preview-XAKLHB7C.js} +21 -21
  156. package/dist/{producer-NYWYRG4X.js → producer-Q46KBQS7.js} +1 -1
  157. package/dist/{projectConfig-DY6FHC7A.js → projectConfig-I6QNMRVV.js} +7 -7
  158. package/dist/{publication-N4WHPZOW.js → publication-JET7ZBWG.js} +3 -3
  159. package/dist/{publish-26W6VDND.js → publish-ZGW46SKV.js} +16 -16
  160. package/dist/{refresh-VJ4FQVH2.js → refresh-I6ITGHKL.js} +5 -4
  161. package/dist/{remove-background-JYUB75RB.js → remove-background-ENOMPCPD.js} +12 -12
  162. package/dist/{render-YPI6CDRS.js → render-33TSTTN7.js} +6 -6
  163. package/dist/{render-AQH2VMHO.js → render-5W2OBXKB.js} +82 -38
  164. package/dist/{render-JZWO3VX3.js → render-MS2SUV7X.js} +23 -23
  165. package/dist/{render-batch-GR2Y3F2S.js → render-batch-SDDZ3LM7.js} +6 -6
  166. package/dist/renderSetupWorker.js +2 -2
  167. package/dist/{resolver-LTLSX6DR.js → resolver-VLOUQ7I6.js} +5 -5
  168. package/dist/{sherpa-2DJ33LQP.js → sherpa-BWAZ26Z4.js} +13 -13
  169. package/dist/skills/hyperframes-cli/references/cloud.md +4 -4
  170. package/dist/skills/media-use/SKILL.md +3 -1
  171. package/dist/skills/media-use/audio/references/bgm.md +1 -1
  172. package/dist/skills/media-use/audio/references/requirements.md +9 -9
  173. package/dist/skills/media-use/audio/references/tts.md +11 -11
  174. package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +1 -1
  175. package/dist/skills/media-use/audio/scripts/heygen-tts.mjs +1 -1
  176. package/dist/skills/media-use/audio/scripts/lib/audio-meta.test.mjs +1 -1
  177. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +23 -7
  178. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +68 -10
  179. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +1 -1
  180. package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +2 -2
  181. package/dist/skills/media-use/references/operations.md +11 -9
  182. package/dist/skills/media-use/references/setup-providers.md +30 -30
  183. package/dist/skills/media-use/scripts/lib/heygen-cli.mjs +2 -2
  184. package/dist/skills/media-use/scripts/lib/telemetry.mjs +2 -1
  185. package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +49 -4
  186. package/dist/{skills-OF7XMPKX.js → skills-MSNOVAV2.js} +8 -8
  187. package/dist/{skillsUpdateCheck-E3HPT4PS.js → skillsUpdateCheck-KNXASTIY.js} +4 -4
  188. package/dist/{snapshot-6F5XK22M.js → snapshot-UVDTIQFA.js} +39 -42
  189. package/dist/{src-JUJFZ6GC.js → src-AA5O4QMT.js} +7 -7
  190. package/dist/{src-UNN3TXHH.js → src-ZMJBQF2Y.js} +12 -10
  191. package/dist/{staticProjectServer-DLSH7DHS.js → staticProjectServer-MVGWIOTX.js} +19 -19
  192. package/dist/{status-TJFZFDGS.js → status-63BKLDVW.js} +40 -11
  193. package/dist/studio/assets/{hyperframes-player-D38lr2hR.js → hyperframes-player-C6V-KPv8.js} +1 -1
  194. package/dist/studio/assets/{index-C-DCQ7nQ.js → index-BLgjf320.js} +108 -108
  195. package/dist/studio/assets/{index-CJ28BLvq.js → index-C_LGrLz-.js} +1 -1
  196. package/dist/studio/index.html +1 -1
  197. package/dist/{studio-api-5YATSN7H.js → studio-api-SW5MW272.js} +11 -11
  198. package/dist/{studioServer-O3FSLOUF.js → studioServer-SXYAQVII.js} +51 -51
  199. package/dist/{telemetry-MMCJ2ORL.js → telemetry-3JM3MQK2.js} +6 -6
  200. package/dist/{telemetry-CY7V7FIN.js → telemetry-QHYJJAJU.js} +1 -1
  201. package/dist/{timeline-ZBJTZK6E.js → timeline-G6MHJ4MV.js} +21 -21
  202. package/dist/{tokens-JFYRYRDK.js → tokens-ROE4XPZP.js} +2 -2
  203. package/dist/{transcribe-QUMMQM34.js → transcribe-EINIBALD.js} +12 -12
  204. package/dist/{transcribe-UVQQ3OMR.js → transcribe-RGWPXLJ3.js} +20 -20
  205. package/dist/{updateCheck-VMMBGLTI.js → updateCheck-4RS5TICZ.js} +3 -3
  206. package/dist/{upgrade-4VYNPIFQ.js → upgrade-7ULCD6M6.js} +3 -3
  207. package/dist/{urlDownloader-EAPV3CZL.js → urlDownloader-KQOGUGS6.js} +7 -7
  208. package/dist/{validate-JJG6Q6IH.js → validate-QXQ3WRA4.js} +26 -26
  209. package/dist/{video-7MJZ7IYL.js → video-DDKGIJLL.js} +9 -9
  210. package/dist/warmCheck.js +40 -40
  211. package/package.json +1 -1
  212. package/dist/chunk-4WEWHZZO.js +0 -24
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-5ETJX6WM.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-6HJUC2VX.js";
19
+ } from "./chunk-NEPGYMT3.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-2GICKZ3I.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-VZENYSX7.js";
32
+ } from "./chunk-YXZ56JUN.js";
33
33
  import {
34
34
  getFreeDiskMb,
35
35
  getShmSizeMb,
@@ -41,14 +41,14 @@ import {
41
41
  import {
42
42
  getUpdateMeta,
43
43
  withMeta
44
- } from "./chunk-U54ZBLTF.js";
44
+ } from "./chunk-VLMPZRZC.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-VPA5YKEY.js";
51
+ } from "./chunk-XC2DA2IA.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-DEKPCPWH.js");
243
+ const { findWhisper, getInstallInstructions } = await import("./manager-PZ3USUXJ.js");
244
244
  const result = findWhisper();
245
245
  if (result) {
246
246
  return { ok: true, detail: result.executablePath };
@@ -7,19 +7,19 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ambiguousIssue,
9
9
  loadBrowserScript
10
- } from "./chunk-43USF7JF.js";
10
+ } from "./chunk-SJYWAEKF.js";
11
11
  import {
12
12
  auditClipDurations,
13
13
  shouldIgnoreHttpError,
14
14
  shouldIgnoreRequestFailure
15
- } from "./chunk-UJEEURID.js";
15
+ } from "./chunk-X4SGGGSG.js";
16
16
  import {
17
17
  serveStaticProjectHtml
18
- } from "./chunk-ROUK3OL2.js";
18
+ } from "./chunk-SVJAW3N3.js";
19
19
  import {
20
20
  STUDIO_PREVIEW_CAPTURE_MODE,
21
21
  STUDIO_PREVIEW_MARK_META
22
- } from "./chunk-RXQU3QM4.js";
22
+ } from "./chunk-HOTGBCX7.js";
23
23
  import {
24
24
  artifactDirectory,
25
25
  finishSnapshotRun
@@ -31,7 +31,7 @@ import {
31
31
  proxyVariantFor,
32
32
  resolveProxies,
33
33
  scanProjectMediaCodecMap
34
- } from "./chunk-EB44YMQO.js";
34
+ } from "./chunk-KUQOUWJ4.js";
35
35
  import {
36
36
  AUDIT_SEEK_OPTIONS,
37
37
  DEFAULT_ZOOM_PADDING_PX,
@@ -45,21 +45,21 @@ import {
45
45
  seekCompositionTimeline,
46
46
  seekInPage,
47
47
  waitForPreferredSeekTarget
48
- } from "./chunk-VDFY4FE5.js";
48
+ } from "./chunk-SZMW32YW.js";
49
49
  import {
50
50
  findStageProxyBox
51
- } from "./chunk-GTKUQUZ6.js";
51
+ } from "./chunk-RYBFHEMZ.js";
52
52
  import {
53
53
  resolveAutoProxy
54
- } from "./chunk-FUSUFW2L.js";
54
+ } from "./chunk-BRYOYBO5.js";
55
55
  import {
56
56
  BrowserCleanupError,
57
57
  closeManagedBrowser,
58
58
  onStopSignal
59
- } from "./chunk-OWU2BURB.js";
59
+ } from "./chunk-5JMHTBGN.js";
60
60
  import {
61
61
  injectTagsAtHeadStart
62
- } from "./chunk-IVRKWQTX.js";
62
+ } from "./chunk-4I7KQWZS.js";
63
63
  import {
64
64
  normalizeErrorMessage
65
65
  } from "./chunk-E63BDV4Z.js";
@@ -578,7 +578,7 @@ function proxyFailedDraft(message) {
578
578
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
579
579
  }
580
580
  async function loadCheckHtmlWithDeferredMedia(dir) {
581
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Y7VGIRFK.js");
581
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-D5DHHE3J.js");
582
582
  return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
583
583
  }
584
584
  function withCapturePreviewMark(html) {
@@ -640,7 +640,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
640
640
  ).map((draft) => runtimeFinding(draft, rootAnchor))
641
641
  }));
642
642
  const launchSettleMs = Date.now() - launchSettleStart;
643
- const { analyzeClipMediaFit } = await import("./src-JUJFZ6GC.js");
643
+ const { analyzeClipMediaFit } = await import("./src-AA5O4QMT.js");
644
644
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
645
645
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
646
646
  }
@@ -777,7 +777,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
777
777
  async function captureFindingFrames(project, options, requests, deadline) {
778
778
  if (requests.length === 0) return { written: [], inspected: [] };
779
779
  const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
780
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-Y7VGIRFK.js");
780
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-D5DHHE3J.js");
781
781
  return withCapturePreviewMark(
782
782
  await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
783
783
  );
@@ -1068,9 +1068,10 @@ function createPageDriver(page, clock = createRuntimeClock(), sampleLog) {
1068
1068
  screenshotFollows ? SCREENSHOT_SEEK_OPTIONS : AUDIT_SEEK_OPTIONS
1069
1069
  );
1070
1070
  },
1071
- seekGeometry: async (time) => {
1071
+ seekGeometry: async (time, { draws = false } = {}) => {
1072
1072
  clock.at(time);
1073
- await seekCompositionTimeline(page, time, DENSE_GEOMETRY_SEEK_OPTIONS);
1073
+ const options = draws ? { ...DENSE_GEOMETRY_SEEK_OPTIONS, skipWebglDraws: false } : DENSE_GEOMETRY_SEEK_OPTIONS;
1074
+ await seekCompositionTimeline(page, time, options);
1074
1075
  },
1075
1076
  collectLayout: (time, tolerance, layout) => collectLayout(page, time, tolerance, layout),
1076
1077
  collectOverlap: (time) => collectOverlap(page, time),
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  quantizePreviewProxyBox
9
- } from "./chunk-DYHAZFK3.js";
9
+ } from "./chunk-AU7VGKCP.js";
10
10
  import {
11
11
  parseHTML
12
12
  } from "./chunk-GWTIFRF5.js";
@@ -20,7 +20,7 @@ import {
20
20
  typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-DFA5GTRJ.js";
23
+ } from "./chunk-IEC36WFL.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-MMCJ2ORL.js");
232
+ const { trackFigmaImport } = await import("./telemetry-3JM3MQK2.js");
233
233
  trackFigmaImport({
234
234
  phase: "asset",
235
235
  reused: results.every((r) => r.reused),
@@ -9,27 +9,27 @@ import {
9
9
  } from "./chunk-TQBQYO4L.js";
10
10
  import {
11
11
  resolveProject
12
- } from "./chunk-RIGQABEL.js";
12
+ } from "./chunk-562GRMWD.js";
13
13
  import {
14
14
  serveStaticProjectHtml
15
- } from "./chunk-ROUK3OL2.js";
15
+ } from "./chunk-SVJAW3N3.js";
16
16
  import {
17
17
  AUDIT_SEEK_OPTIONS,
18
18
  installPageFunctionGuard,
19
19
  seekCompositionTimeline,
20
20
  waitForCompositionFonts,
21
21
  waitForRuntimeReady
22
- } from "./chunk-VDFY4FE5.js";
22
+ } from "./chunk-SZMW32YW.js";
23
23
  import {
24
24
  gotoWhenSent
25
25
  } from "./chunk-SGTEKMJW.js";
26
26
  import {
27
27
  pageNavigationTimeoutMs
28
- } from "./chunk-2JV6FKNZ.js";
28
+ } from "./chunk-ILCIWNPQ.js";
29
29
  import {
30
30
  launchManagedBrowser,
31
31
  resolveManagedGpuMode
32
- } from "./chunk-OWU2BURB.js";
32
+ } from "./chunk-5JMHTBGN.js";
33
33
  import {
34
34
  defineCommand
35
35
  } from "./chunk-DL4OD7IA.js";
@@ -39,7 +39,7 @@ import {
39
39
  import {
40
40
  printDeprecationNotice,
41
41
  withMeta
42
- } from "./chunk-U54ZBLTF.js";
42
+ } from "./chunk-VLMPZRZC.js";
43
43
  import {
44
44
  failureMessage,
45
45
  jsonFailure
@@ -699,7 +699,7 @@ async function collectTweenBoundaries(page) {
699
699
  });
700
700
  }
701
701
  async function bundleProjectHtml(projectDir) {
702
- const { bundleToSingleHtml } = await import("./compiler-GHX7QLHL.js");
702
+ const { bundleToSingleHtml } = await import("./compiler-DVUV3DGB.js");
703
703
  return bundleToSingleHtml(projectDir);
704
704
  }
705
705
  async function alignViewportToComposition(page, url) {
@@ -718,13 +718,13 @@ async function alignViewportToComposition(page, url) {
718
718
  async function runLayoutAudit(projectDir, opts) {
719
719
  const { ensureBrowser } = await import("./manager-LXWVBDLM.js");
720
720
  const puppeteer = await import("puppeteer-core");
721
- const { buildChromeArgs } = await import("./src-JUJFZ6GC.js");
721
+ const { buildChromeArgs } = await import("./src-AA5O4QMT.js");
722
722
  const {
723
723
  assertWebGpuAdapterAvailable,
724
724
  compositionRequiresWebGpu,
725
725
  resolveLocalBrowserGpuMode,
726
726
  resolveLocalWebGpu
727
- } = await import("./gpuPolicy-A74BROG6.js");
727
+ } = await import("./gpuPolicy-XALYIHRC.js");
728
728
  const html = await bundleProjectHtml(projectDir);
729
729
  const server = await serveStaticProjectHtml(
730
730
  projectDir,
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType,
9
9
  injectMediaCodecMapIntoHtml
10
- } from "./chunk-RXQU3QM4.js";
10
+ } from "./chunk-HOTGBCX7.js";
11
11
  import {
12
12
  PROXY_VARIANT_CONFIG,
13
13
  ProxyCapacityError,
@@ -18,23 +18,23 @@ import {
18
18
  recordProxyRequest,
19
19
  resolveProxy,
20
20
  resolveProxyVariantRequest
21
- } from "./chunk-EB44YMQO.js";
21
+ } from "./chunk-KUQOUWJ4.js";
22
22
  import {
23
23
  findStageProxyBox
24
- } from "./chunk-GTKUQUZ6.js";
24
+ } from "./chunk-RYBFHEMZ.js";
25
25
  import {
26
26
  resolveAutoProxy
27
- } from "./chunk-FUSUFW2L.js";
27
+ } from "./chunk-BRYOYBO5.js";
28
28
  import {
29
29
  listenOnBrowserSafePort
30
- } from "./chunk-VZENYSX7.js";
30
+ } from "./chunk-YXZ56JUN.js";
31
31
  import {
32
32
  stripSdrPngColourTags
33
- } from "./chunk-Q3OKLJ34.js";
33
+ } from "./chunk-VMTLGFAP.js";
34
34
  import {
35
35
  PREVIEW_PROXY_BOX_PARAM,
36
36
  parsePreviewProxyBox
37
- } from "./chunk-DYHAZFK3.js";
37
+ } from "./chunk-AU7VGKCP.js";
38
38
  import {
39
39
  decodeWellFormedEscapes
40
40
  } from "./chunk-KSC4O2RY.js";
@@ -10,19 +10,19 @@ import {
10
10
  import {
11
11
  pageNavigationTimeoutMs,
12
12
  windowsChromeCrashRemediation
13
- } from "./chunk-2JV6FKNZ.js";
13
+ } from "./chunk-ILCIWNPQ.js";
14
14
  import {
15
15
  resolveCompositionViewportFromHtml
16
- } from "./chunk-GTKUQUZ6.js";
16
+ } from "./chunk-RYBFHEMZ.js";
17
17
  import {
18
18
  launchManagedBrowser,
19
19
  resolveManagedGpuMode,
20
20
  rethrowAfterBrowserCleanup
21
- } from "./chunk-OWU2BURB.js";
21
+ } from "./chunk-5JMHTBGN.js";
22
22
  import {
23
23
  resolveLocalBrowserGpuMode,
24
24
  resolveLocalWebGpu
25
- } from "./chunk-EJTVBW42.js";
25
+ } from "./chunk-YBW7HTJK.js";
26
26
  import {
27
27
  c
28
28
  } from "./chunk-2GICKZ3I.js";
@@ -30,7 +30,7 @@ import {
30
30
  assertWebGpuAdapterAvailable,
31
31
  compositionRequiresWebGpu,
32
32
  oneProcessOverPipe
33
- } from "./chunk-VZENYSX7.js";
33
+ } from "./chunk-YXZ56JUN.js";
34
34
  import {
35
35
  normalizeErrorMessage
36
36
  } from "./chunk-E63BDV4Z.js";
@@ -138,7 +138,7 @@ async function waitForCompositionSettle(page, options) {
138
138
  console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
139
139
  });
140
140
  await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
141
- const { resolveConfig, waitForImagesReady } = await import("./src-JUJFZ6GC.js");
141
+ const { resolveConfig, waitForImagesReady } = await import("./src-AA5O4QMT.js");
142
142
  const imageTimeoutMs = resolveConfig().playerReadyTimeout;
143
143
  await waitForImagesReady(
144
144
  page,
@@ -187,7 +187,7 @@ async function installPageFunctionGuard(page) {
187
187
  async function openSettledCompositionPage(html, url, options) {
188
188
  const viewport = resolveCompositionViewportFromHtml(html);
189
189
  const requiresWebGpu = compositionRequiresWebGpu(html);
190
- const answer = (await import("./staticProjectServer-DLSH7DHS.js")).inProcessAnswer(url);
190
+ const answer = (await import("./staticProjectServer-MVGWIOTX.js")).inProcessAnswer(url);
191
191
  const noListen = answer !== void 0;
192
192
  let chromeBrowser;
193
193
  try {
@@ -198,7 +198,7 @@ async function openSettledCompositionPage(html, url, options) {
198
198
  options.onBrowserReady?.();
199
199
  const page = await chromeBrowser.newPage();
200
200
  await installPageFunctionGuard(page);
201
- const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-JUJFZ6GC.js");
201
+ const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-AA5O4QMT.js");
202
202
  await installMediaRenderIdBridge(page);
203
203
  await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
204
204
  await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
@@ -219,7 +219,7 @@ async function launchCompositionBrowser(html, noListen, options) {
219
219
  const { ensureBrowser, findSystemBrowser } = await import("./manager-LXWVBDLM.js");
220
220
  const browser = await ensureBrowser({ signal: options.signal });
221
221
  const puppeteer = await import("puppeteer-core");
222
- const { buildChromeArgs } = await import("./src-JUJFZ6GC.js");
222
+ const { buildChromeArgs } = await import("./src-AA5O4QMT.js");
223
223
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
224
224
  const requiresWebGpu = compositionRequiresWebGpu(html);
225
225
  let softwareWebGpu = false;
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-4EEVTNDU.js";
10
+ } from "./chunk-G2E2DHH2.js";
11
11
  import {
12
12
  findParakeet
13
13
  } from "./chunk-JZIEZCQM.js";
@@ -16,15 +16,22 @@ function redactUrlQueryStrings(value) {
16
16
  return value.replace(/\b(https?:\/\/[^\s?]+)\?[^\s]*/g, "$1?\u2026").replace(/((?:X-(?:Amz|Goog)-[\w-]*|Signature)=)[^&\s]*/gi, "$1\u2026");
17
17
  }
18
18
  var SEGMENT = String.raw`[^\s/\\'"]+`;
19
+ var FOLDER = String.raw`${SEGMENT}(?:[^\S\r\n]+(?![A-Za-z]:[\\/])${SEGMENT})*(?=[\\/])`;
19
20
  var SEGMENT_NODOT = String.raw`[^\s/\\'".]+`;
20
21
  var TOKEN_TAIL = String.raw`[^\s'")]*`;
21
- var ABSOLUTE_PATH = new RegExp(String.raw`(?<![:\w/\\])(?:[A-Za-z]:)?(?:[\\/]${SEGMENT}){2,}${TOKEN_TAIL}`, "g");
22
- var RELATIVE_PATH = new RegExp(String.raw`(?<![\w/\\.])\.{1,2}(?:[\\/]${SEGMENT})+${TOKEN_TAIL}`, "g");
22
+ var ABSOLUTE_PATH = new RegExp(
23
+ // A Windows share (`\\server\share`) starts with two separators; the first is taken as its root.
24
+ String.raw`(?<![:\w\p{L}\p{N}\p{M}/\\])(?:[A-Za-z]:|\\(?=\\[^\s\\/]))?(?:[\\/]${FOLDER})+[\\/]${SEGMENT}${TOKEN_TAIL}`,
25
+ "gu"
26
+ );
27
+ var RELATIVE_PATH = new RegExp(String.raw`(?<![\w/\\.])\.{1,2}(?:[\\/]${FOLDER})*[\\/]${SEGMENT}${TOKEN_TAIL}`, "g");
23
28
  var ASSET_BASENAME = /(?<![\w/\\])[^\s/\\'"]+\.(?:mp4|mov|mkv|webm|avi|m4v|mpe?g|ts|mp3|wav|aac|m4a|flac|ogg|opus|png|jpe?g|gif|webp|svg|html?|json|srt|vtt|ass)\b/gi;
24
29
  var BARE_RELATIVE_PATH = new RegExp([
25
30
  // Two or more separators: `customer/acme/video.mp4`. No extension needed —
26
31
  // that much structure is already a path.
27
32
  String.raw`(?<![^\s'\"(=,\[])(?:${SEGMENT}[\\/]){2,}${SEGMENT}${TOKEN_TAIL}`,
33
+ // Spaced folders only before a file name with an extension, so ffprobe's `N/A, … bitrate: N/A` is not a path.
34
+ String.raw`(?<![^\s'\"(=,\[])${SEGMENT}[\\/](?:${FOLDER}[\\/]){1,8}${SEGMENT_NODOT}\.\w{1,8}\b${TOKEN_TAIL}`,
28
35
  // One separator, but the last segment carries a file extension:
29
36
  // `assets/bgm.mp3`. That segment is dot-free on purpose — SEGMENT includes
30
37
  // `.`, so a greedy one swallows the extension this rule needs.
@@ -45,7 +52,7 @@ function redactKnownPaths(value, paths) {
45
52
  return out;
46
53
  }
47
54
  function redactFilePaths(value) {
48
- return value.replace(/file:\/\/[^\s'")]+/g, "[file-url]").replace(RELATIVE_PATH, "[path]").replace(BARE_RELATIVE_PATH, "[path]").replace(ABSOLUTE_PATH, "[path]").replace(ASSET_BASENAME, "[file]");
55
+ return value.replace(/file:\/\/[^\s'")]+/g, "[file-url]").replace(RELATIVE_PATH, "[path]").replace(ABSOLUTE_PATH, "[path]").replace(BARE_RELATIVE_PATH, "[path]").replace(ASSET_BASENAME, "[file]");
49
56
  }
50
57
  function redactTelemetryString(value, maxLength = MAX_TELEMETRY_STRING_LENGTH) {
51
58
  return truncateTelemetryString(redactFilePaths(redactUrlQueryStrings(value)), maxLength);
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeAudio
9
- } from "./chunk-7VZEOCUY.js";
9
+ } from "./chunk-J74ZUXVU.js";
10
10
  import {
11
11
  stoppedByCancelSignal
12
- } from "./chunk-RKS7GO4O.js";
12
+ } from "./chunk-DWMI7CKI.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-MYHAS5U2.js";
20
+ } from "./chunk-3VIICMJF.js";
21
21
  import {
22
22
  findFFmpeg,
23
23
  findFFprobe,
24
24
  getFFmpegInstallHint
25
- } from "./chunk-BHWXSO6T.js";
25
+ } from "./chunk-LGMRZWJS.js";
26
26
  import {
27
27
  findWavChunk
28
28
  } from "./chunk-UOFAE5RF.js";
@@ -11,7 +11,7 @@ import {
11
11
  DEFAULT_REGISTRY_URL,
12
12
  fetchItemManifest,
13
13
  fetchRegistryManifest
14
- } from "./chunk-PNE2Y42T.js";
14
+ } from "./chunk-YATFRFNH.js";
15
15
 
16
16
  // src/registry/resolver.ts
17
17
  function defaultWarn(message) {
@@ -0,0 +1,139 @@
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/errors.ts
9
+ var AuthError = class extends Error {
10
+ code;
11
+ hint;
12
+ constructor(code, message, hint) {
13
+ super(message);
14
+ this.name = "AuthError";
15
+ this.code = code;
16
+ this.hint = hint;
17
+ }
18
+ };
19
+ var ErrNotConfigured = () => new AuthError(
20
+ "NOT_CONFIGURED",
21
+ "No HeyGen credentials found",
22
+ "Run `hyperframes auth login` to sign in."
23
+ );
24
+ var ErrInvalidStore = (detail) => new AuthError(
25
+ "INVALID_STORE",
26
+ `Credential file is unreadable: ${detail}`,
27
+ "Delete ~/.hyperframes/credentials and run `hyperframes auth login` to re-create it."
28
+ );
29
+ var ErrUnauthenticated = (detail) => new AuthError(
30
+ "UNAUTHENTICATED",
31
+ detail ? `HeyGen rejected the credential: ${detail}` : "HeyGen rejected the credential",
32
+ "Run `hyperframes auth login` to re-authenticate."
33
+ );
34
+ var ErrApi = (status, detail) => new AuthError("API_ERROR", `HeyGen API error (${status}): ${detail}`);
35
+ var ErrOAuthNotConfigured = () => new AuthError(
36
+ "OAUTH_NOT_CONFIGURED",
37
+ "OAuth client is not configured",
38
+ "Set HYPERFRAMES_OAUTH_CLIENT_ID, or run `hyperframes auth login --api-key`."
39
+ );
40
+ var ErrRefreshFailed = (detail) => new AuthError(
41
+ "REFRESH_FAILED",
42
+ detail ? `Failed to refresh OAuth tokens: ${detail}` : "Failed to refresh OAuth tokens",
43
+ "Run `hyperframes auth login` to re-authenticate."
44
+ );
45
+ var ErrLoginExpired = () => new AuthError(
46
+ "LOGIN_EXPIRED",
47
+ "Your HeyGen login expired",
48
+ "Run `hyperframes auth login` to sign in again."
49
+ );
50
+ var ErrLoginChanged = () => new AuthError(
51
+ "LOGIN_CHANGED",
52
+ "Your HeyGen login changed while this command ran",
53
+ "Run the command again."
54
+ );
55
+ var ErrDeviceAuthFailed = (detail) => new AuthError(
56
+ "DEVICE_AUTH_FAILED",
57
+ `Device authorization failed: ${detail}`,
58
+ "Run `hyperframes auth login --device` to start a new code."
59
+ );
60
+ function isAuthError(err) {
61
+ return err instanceof AuthError;
62
+ }
63
+
64
+ // src/auth/config.ts
65
+ var PROD_CLIENT_ID = "Zg3LF4FCLoeJoGs2YqMtZ17g";
66
+ function oauthEnvironment() {
67
+ const value = process.env["HYPERFRAMES_ENV"] || "prod";
68
+ if (value === "prod" || value === "dev") return value;
69
+ throw new AuthError("OAUTH_NOT_CONFIGURED", "HYPERFRAMES_ENV must be prod or dev");
70
+ }
71
+ function defaultClientId() {
72
+ return oauthEnvironment() === "prod" ? PROD_CLIENT_ID : "9QoaiwCZov9O0cAkC4OZbR4p";
73
+ }
74
+ function resolveClientId() {
75
+ const id = process.env["HYPERFRAMES_OAUTH_CLIENT_ID"] || defaultClientId();
76
+ if (!id) throw ErrOAuthNotConfigured();
77
+ return id;
78
+ }
79
+ function tokenEndpoint() {
80
+ return process.env["HYPERFRAMES_OAUTH_TOKEN_URL"] || `https://api2.${oauthEnvironment() === "dev" ? "dev." : ""}heygen.com/v1/oauth/token`;
81
+ }
82
+ function authorizeEndpoint() {
83
+ return process.env["HYPERFRAMES_OAUTH_AUTHORIZE_URL"] || (oauthEnvironment() === "dev" ? "https://api2.dev.heygen.com/v1/oauth/authorize" : "https://app.heygen.com/oauth/authorize");
84
+ }
85
+ function revokeEndpoint() {
86
+ return process.env["HYPERFRAMES_OAUTH_REVOKE_URL"] || `https://api2.${oauthEnvironment() === "dev" ? "dev." : ""}heygen.com/v1/oauth/revoke`;
87
+ }
88
+ function deviceAuthorizationEndpoint() {
89
+ return process.env["HYPERFRAMES_OAUTH_DEVICE_URL"] || `https://api2.${oauthEnvironment() === "dev" ? "dev." : ""}heygen.com/v1/oauth/device_authorization`;
90
+ }
91
+ function oauthIdentity() {
92
+ return { client_id: resolveClientId(), token_endpoint: tokenEndpoint() };
93
+ }
94
+ function assertOAuthIdentity(tokens) {
95
+ const identity = oauthIdentity();
96
+ if (tokens.client_id !== identity.client_id || tokens.token_endpoint !== identity.token_endpoint) {
97
+ throw new AuthError(
98
+ "LOGIN_EXPIRED",
99
+ "This login belongs to a different OAuth client or environment",
100
+ "Run `hyperframes auth login` to sign into the selected HyperFrames environment."
101
+ );
102
+ }
103
+ }
104
+
105
+ // src/auth/paths.ts
106
+ import { homedir } from "os";
107
+ import { join } from "path";
108
+ var CREDENTIAL_FILENAME = "credentials";
109
+ function configDir() {
110
+ const root = process.env["HYPERFRAMES_CONFIG_DIR"] || join(homedir(), ".hyperframes");
111
+ return oauthEnvironment() === "dev" ? join(root, "dev") : root;
112
+ }
113
+ function credentialPath() {
114
+ return join(configDir(), CREDENTIAL_FILENAME);
115
+ }
116
+
117
+ export {
118
+ AuthError,
119
+ ErrNotConfigured,
120
+ ErrInvalidStore,
121
+ ErrUnauthenticated,
122
+ ErrApi,
123
+ ErrRefreshFailed,
124
+ ErrLoginExpired,
125
+ ErrLoginChanged,
126
+ ErrDeviceAuthFailed,
127
+ isAuthError,
128
+ oauthEnvironment,
129
+ defaultClientId,
130
+ resolveClientId,
131
+ tokenEndpoint,
132
+ authorizeEndpoint,
133
+ revokeEndpoint,
134
+ deviceAuthorizationEndpoint,
135
+ oauthIdentity,
136
+ assertOAuthIdentity,
137
+ configDir,
138
+ credentialPath
139
+ };
@@ -11,7 +11,7 @@ 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-VPA5YKEY.js";
27
+ } from "./chunk-XC2DA2IA.js";
28
28
 
29
29
  // src/utils/updateCheck.ts
30
30
  import { existsSync, readFileSync } from "fs";
@@ -59,7 +59,7 @@ import {
59
59
  warnUnknownEnumValues,
60
60
  wrapInlineScriptWithErrorBoundary,
61
61
  wrapScopedCompositionScript
62
- } from "./chunk-IVRKWQTX.js";
62
+ } from "./chunk-4I7KQWZS.js";
63
63
  import {
64
64
  cssVariableName
65
65
  } from "./chunk-VC76R6W2.js";
@@ -70,7 +70,7 @@ import {
70
70
  import {
71
71
  collectExternalStyles,
72
72
  lintHyperframeHtml
73
- } from "./chunk-JF3RF6GS.js";
73
+ } from "./chunk-MHZB6QSC.js";
74
74
  import {
75
75
  CSS_URL_RE,
76
76
  checkSubCompositionUsability,
@@ -8,13 +8,13 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-VZENYSX7.js";
11
+ } from "./chunk-YXZ56JUN.js";
12
12
  import {
13
13
  renameWithRetry
14
14
  } from "./chunk-YWRUQ7XZ.js";
15
15
  import {
16
16
  parseAnimatedGifMetadata
17
- } from "./chunk-DYHAZFK3.js";
17
+ } from "./chunk-AU7VGKCP.js";
18
18
  import {
19
19
  parseHTML
20
20
  } from "./chunk-GWTIFRF5.js";
@@ -8,14 +8,14 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-PNE2Y42T.js";
11
+ } from "./chunk-YATFRFNH.js";
12
12
  import {
13
13
  publishRegistryFile,
14
14
  registryTargetPath
15
15
  } from "./chunk-T2WJO4XM.js";
16
16
  import {
17
17
  validateVariables
18
- } from "./chunk-DYHAZFK3.js";
18
+ } from "./chunk-AU7VGKCP.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-OFQWTKPW.js";
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-QETCWXRM.js";
13
+ } from "./chunk-XKG4VTT5.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";