hyperframes 0.8.140 → 0.8.141

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 (149) hide show
  1. package/dist/{add-7SPPQB64.js → add-KH2CF4FD.js} +11 -11
  2. package/dist/{animatedGifPrep-HN3CJSFX.js → animatedGifPrep-QO4BSKR7.js} +5 -5
  3. package/dist/{asset-AZMFUTRL.js → asset-4RDZILVJ.js} +2 -2
  4. package/dist/{assetCataloger-TQUWYLHE.js → assetCataloger-WGR4LYYN.js} +2 -2
  5. package/dist/{auth-XGY74R4A.js → auth-WYQCOYE5.js} +1 -1
  6. package/dist/{autoUpdate-44NTJBQU.js → autoUpdate-PC5TN3NL.js} +2 -2
  7. package/dist/{backgroundChecks-ET4DJEPG.js → backgroundChecks-7M3T44EP.js} +3 -3
  8. package/dist/backgroundChecksWorker.js +3 -3
  9. package/dist/{batchRender-HTWWNF3P.js → batchRender-GOLLOE4V.js} +3 -3
  10. package/dist/{beats-4GYTZUZG.js → beats-XJ7WP6QS.js} +10 -10
  11. package/dist/{benchmark-CJQHE3QN.js → benchmark-HCGFBEZJ.js} +8 -8
  12. package/dist/{browser-NXOVPGDG.js → browser-VQKO2FKG.js} +3 -3
  13. package/dist/{bundleWithLocalizedFonts-6PJP54TC.js → bundleWithLocalizedFonts-FH7PHTTX.js} +2 -2
  14. package/dist/{capture-EHOMO4MP.js → capture-TFZZSF6F.js} +8 -8
  15. package/dist/{capture-5EHGRJZM.js → capture-XD3P3YQR.js} +2 -2
  16. package/dist/{catalog-PTX5Z52R.js → catalog-4S33QWJJ.js} +11 -11
  17. package/dist/{catch-up-I45SPSCU.js → catch-up-RW7YXXNT.js} +4 -4
  18. package/dist/{check-LJ7LG7OI.js → check-XVTRRN4Y.js} +28 -28
  19. package/dist/{checkBrowser-6EK5E4PG.js → checkBrowser-HZXJ2EDU.js} +27 -27
  20. package/dist/{chunk-PFJFHNU3.js → chunk-34TXESM7.js} +3 -3
  21. package/dist/{chunk-6U3MN4HW.js → chunk-35RSNI77.js} +1 -1
  22. package/dist/{chunk-LQG6GPVK.js → chunk-3A5AAPMP.js} +1 -1
  23. package/dist/{chunk-QG3PDRSO.js → chunk-3NBKW2QJ.js} +1 -1
  24. package/dist/{chunk-MTVDXB6S.js → chunk-4BB7V6AI.js} +21 -13
  25. package/dist/{chunk-QP3BRKGF.js → chunk-6E6CM7WS.js} +19 -1
  26. package/dist/{chunk-MU6C2VP6.js → chunk-6IFXWJDX.js} +2 -2
  27. package/dist/{chunk-MHK5DE2P.js → chunk-6Q6FR4KH.js} +22 -14
  28. package/dist/{chunk-R4QIE6UY.js → chunk-7M4KAPAA.js} +92 -31
  29. package/dist/{chunk-JSGANFFH.js → chunk-7XTZVLE6.js} +1 -1
  30. package/dist/{chunk-QBK7WKHT.js → chunk-A7YQNIQT.js} +1 -1
  31. package/dist/{chunk-KMKWRIMC.js → chunk-AVWEIOEN.js} +1 -1
  32. package/dist/{chunk-IRBESGJ7.js → chunk-BM5PX3DJ.js} +1 -1
  33. package/dist/{chunk-WKTHUC2R.js → chunk-E4BSCXMU.js} +1 -1
  34. package/dist/{chunk-TPECLKPA.js → chunk-E6SDW5FV.js} +2 -2
  35. package/dist/{chunk-TYT2TLJR.js → chunk-EKA4ZZBI.js} +1 -1
  36. package/dist/{chunk-IFY57LUW.js → chunk-GS6FE3IW.js} +1 -1
  37. package/dist/{chunk-ASW6NWON.js → chunk-IKVBTDLO.js} +1 -1
  38. package/dist/{chunk-SLEPCESN.js → chunk-INI3TM6I.js} +2 -2
  39. package/dist/{chunk-2GMKWYEH.js → chunk-IO7ZIDRP.js} +9 -9
  40. package/dist/{chunk-F3SPK6SO.js → chunk-IV7EI5E2.js} +1 -1
  41. package/dist/{chunk-DDQ4LOML.js → chunk-IYFKBFTW.js} +1 -1
  42. package/dist/{chunk-PE2I3AFA.js → chunk-J5IPIQU2.js} +1 -1
  43. package/dist/{chunk-L2H2L22P.js → chunk-K2GOFLTX.js} +2 -2
  44. package/dist/{chunk-X3X3VETN.js → chunk-KFH6UD26.js} +3 -3
  45. package/dist/{chunk-VVJFZU6B.js → chunk-L3JSAB4L.js} +2 -2
  46. package/dist/{chunk-BJ5JWOES.js → chunk-N77KD7ZZ.js} +1 -1
  47. package/dist/{chunk-KJLY2SDJ.js → chunk-NORZWWLK.js} +2 -2
  48. package/dist/{chunk-BQKEGPPL.js → chunk-O3SKIXQK.js} +1 -1
  49. package/dist/{chunk-ABJNXQUA.js → chunk-OLDDJS3S.js} +7 -7
  50. package/dist/{chunk-KECV5G4V.js → chunk-P6E4HFFU.js} +9 -9
  51. package/dist/{chunk-5IKJONRY.js → chunk-Q65ZQFF2.js} +1 -1
  52. package/dist/{chunk-WQBA3MH4.js → chunk-R7UDXKI3.js} +2 -2
  53. package/dist/{chunk-C2JUHIG5.js → chunk-RCFCZT5O.js} +1 -1
  54. package/dist/{chunk-PUBKHEEA.js → chunk-RPYPW5NN.js} +9 -9
  55. package/dist/chunk-SYKKFAUW.js +3711 -0
  56. package/dist/{chunk-PB3P4MKP.js → chunk-TC2FBZJZ.js} +1 -1
  57. package/dist/{chunk-MUINFURL.js → chunk-W6HTOVHU.js} +2 -2
  58. package/dist/{chunk-KFQNMY36.js → chunk-XDSOIJC3.js} +5 -5
  59. package/dist/{chunk-DQNOPYAG.js → chunk-XWVGSEUT.js} +1 -1
  60. package/dist/{chunk-PPKFM5WE.js → chunk-YURXPGAM.js} +2 -2
  61. package/dist/{clean-Y3AQITOX.js → clean-L2E4VD57.js} +11 -11
  62. package/dist/cli.js +52 -52
  63. package/dist/{cloud-TDPOMBZF.js → cloud-IDUQRYLO.js} +4 -4
  64. package/dist/{cloudrun-FPAVAVHP.js → cloudrun-R3JXWXGG.js} +3 -3
  65. package/dist/{compare-LHL225ND.js → compare-VYBWSP3Y.js} +22 -22
  66. package/dist/{compiler-RTU3KTLF.js → compiler-ACHWOU5N.js} +2 -2
  67. package/dist/{component-L2YX7J56.js → component-PYYV2V3F.js} +3 -3
  68. package/dist/{compositions-V2UZKG7S.js → compositions-B5GQSXH7.js} +9 -9
  69. package/dist/{delete-OXZEXUQY.js → delete-EAX2U3WI.js} +2 -2
  70. package/dist/{deterministicFonts-GTITFRSJ.js → deterministicFonts-F6WIVL2W.js} +1 -1
  71. package/dist/{dist-N33CM63P.js → dist-ROUDWGLO.js} +8 -2
  72. package/dist/{doctor-MWTPSIVD.js → doctor-PJX7MLFG.js} +7 -7
  73. package/dist/{events-4TZGQZWF.js → events-SBC54MHO.js} +2 -2
  74. package/dist/{events-7VJJGC3D.js → events-YFFXKAQQ.js} +3 -3
  75. package/dist/{feedback-HSGAPVN7.js → feedback-UETLWREV.js} +6 -6
  76. package/dist/{figma-AMC6FAK3.js → figma-QDSJPIRW.js} +3 -3
  77. package/dist/fontLocalizeCli.js +8 -8
  78. package/dist/{get-Y7DFEFYM.js → get-B5TS6C7H.js} +2 -2
  79. package/dist/{gpuPolicy-A45VSUKR.js → gpuPolicy-LYOVBAJP.js} +5 -5
  80. package/dist/{grade-compare-ERSA3OUI.js → grade-compare-LBIHMAUN.js} +22 -22
  81. package/dist/{help-TW2AADLZ.js → help-XBP6A6LT.js} +1 -1
  82. package/dist/{history-DKGDSVWF.js → history-2S42ZXKL.js} +5 -5
  83. package/dist/hyperframe-runtime.js +54 -54
  84. package/dist/hyperframe.manifest.json +1 -1
  85. package/dist/hyperframe.runtime.iife.js +54 -54
  86. package/dist/hyperframes-player.global.js +3 -3
  87. package/dist/{info-I3NRRNX4.js → info-I2VDAWT7.js} +7 -7
  88. package/dist/{init-5Y3ZWZNF.js → init-BGHSDODI.js} +20 -20
  89. package/dist/{inspect-BJQKBB3X.js → inspect-MZK5B5RP.js} +23 -23
  90. package/dist/{installer-27K4JS2I.js → installer-LL4QAKFW.js} +4 -4
  91. package/dist/{keyframes-6V2NZO22.js → keyframes-2EBF7OSS.js} +6 -6
  92. package/dist/{lambda-AIMF3K4A.js → lambda-XKFPAOFE.js} +4 -4
  93. package/dist/{layout-YAPEBTU4.js → layout-TP5ERKEF.js} +23 -23
  94. package/dist/{lint-3LWWUIV7.js → lint-FQ6CEI7E.js} +6 -6
  95. package/dist/{list-NTSGEZJ6.js → list-FRNUJXZ3.js} +2 -2
  96. package/dist/{login-ZTDFGCCW.js → login-C25QU3BQ.js} +4 -4
  97. package/dist/{media-treatment-ARHX446F.js → media-treatment-DCANGWSV.js} +8 -8
  98. package/dist/{models-VHNQVTHG.js → models-GOD6ARB3.js} +6 -6
  99. package/dist/{motionShot-35HCSNCI.js → motionShot-FSKETANX.js} +11 -11
  100. package/dist/{normalize-audio-AUC73JH3.js → normalize-audio-C2IM7OID.js} +4 -4
  101. package/dist/{open-C5LVNU3U.js → open-VVISXIII.js} +4 -4
  102. package/dist/{pipeline-4GDTK54T.js → pipeline-7YHZPYIS.js} +5 -5
  103. package/dist/{play-U7UANF7Z.js → play-DSELK7G3.js} +16 -16
  104. package/dist/{present-X6V6TX3E.js → present-N72YFDKP.js} +12 -12
  105. package/dist/{preview-K43RTRU2.js → preview-XTYN4NJ2.js} +15 -15
  106. package/dist/{producer-PVMFMW23.js → producer-NDCU3MHK.js} +1 -1
  107. package/dist/{projectConfig-PI6MEN2T.js → projectConfig-MH4QU4AC.js} +6 -6
  108. package/dist/{publication-67C7KVTL.js → publication-KUSHI5MG.js} +2 -2
  109. package/dist/{publish-RBV7EAMH.js → publish-3XEEFWMF.js} +7 -7
  110. package/dist/{remove-background-Z2ECZX2Q.js → remove-background-2QKJ7XOD.js} +6 -6
  111. package/dist/{render-YBS3XGRJ.js → render-2DVYTVLQ.js} +18 -18
  112. package/dist/{render-2GQMQBU3.js → render-75E342ZU.js} +3 -3
  113. package/dist/{render-EFU4BZRZ.js → render-S73DW4KK.js} +8 -8
  114. package/dist/{render-batch-QC64OTB5.js → render-batch-YURBS54Q.js} +3 -3
  115. package/dist/{renderCancellation-NTVU7IMB.js → renderCancellation-373ASJTO.js} +5 -5
  116. package/dist/{resolver-GBWYG3EI.js → resolver-FE3GBZ4T.js} +4 -4
  117. package/dist/{sherpa-ZW6PWJS4.js → sherpa-B2D3AGP6.js} +6 -6
  118. package/dist/skills/media-use/SKILL.md +6 -4
  119. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +47 -4
  120. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +125 -18
  121. package/dist/skills/media-use/references/setup-providers.md +13 -0
  122. package/dist/{skills-VKZAX5AS.js → skills-ICJ22CZZ.js} +5 -5
  123. package/dist/{skillsUpdateCheck-PAY2OPDE.js → skillsUpdateCheck-GXZN56I5.js} +3 -3
  124. package/dist/{snapshot-SD5R3NWX.js → snapshot-XHKOAWF4.js} +23 -23
  125. package/dist/{src-RXTXL3VL.js → src-74PFDTDX.js} +7 -7
  126. package/dist/{src-7SSERHNP.js → src-I7UC3JTL.js} +4 -4
  127. package/dist/{staticProjectServer-XELJXX4J.js → staticProjectServer-2DGKD6TF.js} +12 -12
  128. package/dist/studio/assets/hyperframes-player-5Vx2AiUz.js +473 -0
  129. package/dist/studio/assets/{index-CWfuDCoA.js → index-BAnh7cSQ.js} +1 -1
  130. package/dist/studio/assets/{index-VAHDM_zL.js → index-C0thd4eM.js} +114 -114
  131. package/dist/studio/assets/{index-Dr3Bo9uH.js → index-P8fgj_Xa.js} +1 -1
  132. package/dist/studio/index.html +1 -1
  133. package/dist/studio/index.js +20 -0
  134. package/dist/studio/index.js.map +1 -1
  135. package/dist/{studio-api-4FNUZPJ4.js → studio-api-PROBO7JG.js} +6 -6
  136. package/dist/{studioServer-GHLL3F2M.js → studioServer-ID6UV2NE.js} +34 -34
  137. package/dist/{telemetry-7AO77PMH.js → telemetry-65LFHIWH.js} +3 -3
  138. package/dist/{timeline-6LTHSRXM.js → timeline-6UV3JJXD.js} +12 -12
  139. package/dist/{tokens-K6B46KNL.js → tokens-HIL4TZXI.js} +2 -2
  140. package/dist/{transcribe-CLLISRLZ.js → transcribe-TIO6W3EQ.js} +6 -6
  141. package/dist/{transcribe-K2OU6FZF.js → transcribe-V7F6QDSN.js} +6 -6
  142. package/dist/{updateCheck-X6UQBS6I.js → updateCheck-GZELANMA.js} +2 -2
  143. package/dist/{upgrade-BZFKEADI.js → upgrade-BX3KDDZJ.js} +2 -2
  144. package/dist/{urlDownloader-VAVUXYEQ.js → urlDownloader-R76OHFIE.js} +4 -4
  145. package/dist/{validate-VO5KEXWN.js → validate-7UX4I443.js} +14 -14
  146. package/dist/{video-JV6Y4UJR.js → video-RVGYEFQU.js} +5 -5
  147. package/package.json +1 -1
  148. package/dist/chunk-B3I3XJ47.js +0 -3711
  149. package/dist/studio/assets/hyperframes-player-BLuyxnK7.js +0 -473
@@ -7,15 +7,15 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  createRenderCancellationScope,
9
9
  stoppedByCancelSignal
10
- } from "./chunk-LQG6GPVK.js";
11
- import "./chunk-TPECLKPA.js";
12
- import "./chunk-6U3MN4HW.js";
10
+ } from "./chunk-3A5AAPMP.js";
11
+ import "./chunk-E6SDW5FV.js";
12
+ import "./chunk-35RSNI77.js";
13
13
  import "./chunk-A4KQZXZI.js";
14
14
  import "./chunk-USDEMXXL.js";
15
- import "./chunk-QP3BRKGF.js";
15
+ import "./chunk-6E6CM7WS.js";
16
16
  import "./chunk-OZUQF4NB.js";
17
17
  import "./chunk-DPVXBVLL.js";
18
- import "./chunk-B3I3XJ47.js";
18
+ import "./chunk-SYKKFAUW.js";
19
19
  import "./chunk-VC76R6W2.js";
20
20
  import "./chunk-YA62XGXS.js";
21
21
  import "./chunk-OFQWTKPW.js";
@@ -11,15 +11,15 @@ import {
11
11
  resolveItemWithDependencies,
12
12
  resolveItemsByTag,
13
13
  unreachableRegistryMessage
14
- } from "./chunk-ASW6NWON.js";
15
- import "./chunk-5IKJONRY.js";
14
+ } from "./chunk-IKVBTDLO.js";
15
+ import "./chunk-Q65ZQFF2.js";
16
16
  import "./chunk-AWDFDFI3.js";
17
17
  import "./chunk-P6LJ4Y32.js";
18
18
  import "./chunk-GMECXFAN.js";
19
- import "./chunk-QP3BRKGF.js";
19
+ import "./chunk-6E6CM7WS.js";
20
20
  import "./chunk-OZUQF4NB.js";
21
21
  import "./chunk-DPVXBVLL.js";
22
- import "./chunk-B3I3XJ47.js";
22
+ import "./chunk-SYKKFAUW.js";
23
23
  import "./chunk-VC76R6W2.js";
24
24
  import "./chunk-YA62XGXS.js";
25
25
  import "./chunk-OFQWTKPW.js";
@@ -21,26 +21,26 @@ import "./chunk-EOVYQ3IG.js";
21
21
  import {
22
22
  getPreparedWavDurationSeconds,
23
23
  prepareWav
24
- } from "./chunk-F3SPK6SO.js";
24
+ } from "./chunk-IV7EI5E2.js";
25
25
  import {
26
26
  emitWords
27
27
  } from "./chunk-6IHWCZ3W.js";
28
28
  import {
29
29
  stoppedByCancelSignal
30
- } from "./chunk-LQG6GPVK.js";
30
+ } from "./chunk-3A5AAPMP.js";
31
31
  import "./chunk-6BEFEWFB.js";
32
32
  import "./chunk-PXSM4HPB.js";
33
33
  import "./chunk-WCJGTLPF.js";
34
34
  import "./chunk-TVCRUG2S.js";
35
35
  import "./chunk-AMKC3AXA.js";
36
- import "./chunk-TPECLKPA.js";
37
- import "./chunk-6U3MN4HW.js";
36
+ import "./chunk-E6SDW5FV.js";
37
+ import "./chunk-35RSNI77.js";
38
38
  import "./chunk-A4KQZXZI.js";
39
39
  import "./chunk-USDEMXXL.js";
40
- import "./chunk-QP3BRKGF.js";
40
+ import "./chunk-6E6CM7WS.js";
41
41
  import "./chunk-OZUQF4NB.js";
42
42
  import "./chunk-DPVXBVLL.js";
43
- import "./chunk-B3I3XJ47.js";
43
+ import "./chunk-SYKKFAUW.js";
44
44
  import "./chunk-VC76R6W2.js";
45
45
  import "./chunk-YA62XGXS.js";
46
46
  import "./chunk-OFQWTKPW.js";
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: media-use
3
- description: Agent Media OS for a HyperFrames project. Resolve BGM, SFX, image, icon, brand logo, voice, color grade, or LUT into a frozen local file or paste-ready block + ledger record (one verb, `resolve`); generate via TTS / music / image models when the catalog misses; produce voiceover, transcription, captions, and background removal through one shared audio engine; operate on media (cut / reframe / transform); and reuse assets across projects. Also use for vague feedback that real footage looks dark, flat, boring, should feel retro/camcorder/print/ASCII, needs privacy, or needs a media reveal. When the host app provides its own music or sound-effect tools, use those for music and sound effects; `resolve --type bgm|sfx` needs the heygen CLI.
3
+ description: Agent Media OS for a HyperFrames project. Resolve BGM, SFX, image, icon, brand logo, voice, color grade, or LUT into a frozen local file or paste-ready block + ledger record (one verb, `resolve`); generate via TTS / music / image models when the catalog misses; produce voiceover, transcription, captions, and background removal through one shared audio engine; operate on media (cut / reframe / transform); and reuse assets across projects. Also use for vague feedback that real footage looks dark, flat, boring, should feel retro/camcorder/print/ASCII, needs privacy, or needs a media reveal. When the host app provides its own music or sound-effect tools, use those for music and sound effects; `resolve --type bgm|sfx` needs the heygen CLI. When `HEYGEN_API_BASE` is set, HeyGen calls go through that host with no CLI sign-in.
4
4
  ---
5
5
 
6
6
  **Plugin installs:** Before setup or freshness commands, follow [plugin execution rules](../hyperframes/references/plugin-installation.md) when this skill is inside a HyperFrames plugin. Standalone installs keep the update instructions below.
@@ -9,11 +9,13 @@ description: Agent Media OS for a HyperFrames project. Resolve BGM, SFX, image,
9
9
 
10
10
  The media OS for HyperFrames: resolve · generate · operate · remember — every media type, one skill, zero context noise.
11
11
 
12
- First run, when you will use HeyGen media (catalog search, TTS, avatar video): install and sign in to the `heygen` CLI (the free-usage path), then verify with `npx hyperframes media-use resolve --doctor`. Setup and providers: `references/setup-providers.md`.
12
+ Only when `HEYGEN_API_BASE` is set in your environment (a host app set it and pays for HeyGen with its own key): HeyGen media is already paid for. Do not ask the person to install or sign in to the `heygen` CLI and do not offer its OAuth allowance; catalog search, TTS and avatar calls here go through the host. When that same host also gives you its own HeyGen tools, use those first. When a call through the host is refused, tell the person the host's message as written (it names the fix, such as adding or replacing the key in the app's Settings) and stop; do not switch to another provider unless they ask.
13
13
 
14
- Music and sound effects inside a host app: when the app you run in gives you its own music or sound-effect tools, use those. `resolve --type bgm` and `--type sfx` search the HeyGen catalog through the `heygen` CLI; without it they fail and say so (`sfx` still answers from its bundled library).
14
+ First run otherwise (no `HEYGEN_API_BASE`), when you will use HeyGen media (catalog search, TTS, avatar video): install and sign in to the `heygen` CLI (the free-usage path), then verify with `npx hyperframes media-use resolve --doctor`. Setup and providers: `references/setup-providers.md`.
15
15
 
16
- Before generating a voiceover or an avatar video, tell the person: signing in to the heygen CLI with OAuth (`heygen auth login --oauth`) gives a free allowance for TTS voiceover and avatar videos, while an API key bills API credits.
16
+ Music and sound effects inside a host app: when the app you run in gives you its own music or sound-effect tools, use those. Without `HEYGEN_API_BASE`, `resolve --type bgm` and `--type sfx` search the HeyGen catalog through the `heygen` CLI; without it they fail and say so (`sfx` still answers from its bundled library).
17
+
18
+ Without `HEYGEN_API_BASE`, before generating a voiceover or an avatar video, tell the person: signing in to the heygen CLI with OAuth (`heygen auth login --oauth`) gives a free allowance for TTS voiceover and avatar videos, while an API key bills API credits.
17
19
 
18
20
  ## Resolve — the one verb
19
21
 
@@ -1,16 +1,51 @@
1
1
  import { fetchMedia } from "../../../scripts/lib/media-fetch.mjs";
2
2
  // heygen.mjs — vendored HeyGen REST helpers (auth + transport) for the audio
3
3
  // pipeline. The credential resolver matches the hyperframes CLI auth: first
4
- // usable source wins — a host-injected OAuth $HEYGEN_ACCESS_TOKEN (Bearer) →
4
+ // usable source wins — a host gateway ($HEYGEN_API_BASE with its own
5
+ // $HEYGEN_API_KEY) → a host-injected OAuth $HEYGEN_ACCESS_TOKEN (Bearer) →
5
6
  // $HEYGEN_API_KEY / $HYPERFRAMES_API_KEY → a nearby .env → ~/.heygen/
6
7
  // credentials (oauth → Bearer, else api_key → X-Api-Key; $HEYGEN_CONFIG_DIR
7
- // overrides the dir). Vendored so the skill ships standalone. Pure node.
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.
10
+ // Vendored so the skill ships standalone. Pure node.
8
11
 
9
12
  import { mkdirSync, readFileSync, writeFileSync } from "node:fs";
10
13
  import { homedir } from "node:os";
11
14
  import { dirname, join, resolve } from "node:path";
12
15
 
13
16
  export const HEYGEN_BASE = "https://api.heygen.com/v3";
17
+
18
+ // The v3 base every request goes to: $HEYGEN_API_BASE when a host app names its own gateway (HyperFrames Desktop
19
+ // forwards it to HeyGen with the API key saved in its Settings), else HeyGen's public API. Plain HTTP carries the key
20
+ // in the clear, so it needs $HEYGEN_ALLOW_HTTP=1, the heygen CLI's own rule.
21
+ export function heygenBase() {
22
+ const host = process.env.HEYGEN_API_BASE?.trim().replace(/\/+$/, "");
23
+ if (!host) return HEYGEN_BASE;
24
+ if (host.startsWith("http://") && process.env.HEYGEN_ALLOW_HTTP !== "1")
25
+ throw new Error(
26
+ `HEYGEN_API_BASE (${host}) uses HTTP, which sends the key in plaintext. Set HEYGEN_ALLOW_HTTP=1 to allow it.`,
27
+ );
28
+ return `${host}/v3`;
29
+ }
30
+
31
+ // No base override, or one on HeyGen's own hosts (a canary or dev API).
32
+ function heygenOwnBase() {
33
+ const host = process.env.HEYGEN_API_BASE?.trim();
34
+ if (!host) return true;
35
+ try {
36
+ const name = new URL(host).hostname;
37
+ return name === "heygen.com" || name.endsWith(".heygen.com");
38
+ } catch {
39
+ return false;
40
+ }
41
+ }
42
+
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
+ const hostGatewayKey = () =>
46
+ process.env.HEYGEN_API_BASE?.trim() && process.env.HEYGEN_API_KEY
47
+ ? process.env.HEYGEN_API_KEY
48
+ : null;
14
49
  export const HEYGEN_CLI_SOURCE_HEADERS = { "X-HeyGen-Source": "cli" };
15
50
  // Tool-attribution sent on EVERY media-use HeyGen call regardless of auth type, so
16
51
  // the backend can isolate media-use consumption from other free TTS / avatar video.
@@ -29,6 +64,10 @@ function envFileText(path) {
29
64
  }
30
65
  }
31
66
 
67
+ // A host app sets these in the environment it spawns, never in a project file: a project's .env naming its own base
68
+ // would send the person's shell HEYGEN_API_KEY to that host.
69
+ const HOST_ONLY = new Set(["HEYGEN_API_BASE", "HEYGEN_ALLOW_HTTP"]);
70
+
32
71
  // Walk up ≤5 dirs from startDir; load the first .env (shell env always wins).
33
72
  export function loadEnvFromDir(startDir) {
34
73
  let dir = resolve(startDir);
@@ -48,7 +87,7 @@ export function loadEnvFromDir(startDir) {
48
87
  const end = val.indexOf(q, 1);
49
88
  val = end > 0 ? val.slice(1, end) : val.slice(1);
50
89
  }
51
- if (!(key in process.env)) process.env[key] = val;
90
+ if (!HOST_ONLY.has(key) && !(key in process.env)) process.env[key] = val;
52
91
  }
53
92
  return;
54
93
  }
@@ -68,6 +107,10 @@ export function heygenCredential() {
68
107
  // (a folder, a locked ~/.heygen), so heygenAuthHeaders can say to fix that path: logging in again would fail there too.
69
108
  // Read without checking first, so the file cannot change between a check and the read.
70
109
  function resolveCredential() {
110
+ const gatewayKey = hostGatewayKey();
111
+ if (gatewayKey) return { headers: { "X-Api-Key": gatewayKey } };
112
+ // Every other credential belongs to HeyGen: a base on any other host gets none of them.
113
+ if (!heygenOwnBase()) return null;
71
114
  const accessToken = process.env.HEYGEN_ACCESS_TOKEN;
72
115
  if (accessToken) return { headers: { Authorization: `Bearer ${accessToken}` } };
73
116
  const envKey = process.env.HEYGEN_API_KEY || process.env.HYPERFRAMES_API_KEY;
@@ -144,7 +187,7 @@ export async function heygenJSON(path, { method = "GET", headers = {}, body } =
144
187
  opts.headers["Content-Type"] = "application/json";
145
188
  opts.body = JSON.stringify(body);
146
189
  }
147
- const res = await fetch(`${HEYGEN_BASE}${path}`, opts);
190
+ const res = await fetch(`${heygenBase()}${path}`, opts);
148
191
  if (!res.ok) {
149
192
  const detail = await res.text().catch(() => "");
150
193
  const message = `HeyGen ${method} ${path} → HTTP ${res.status}${detail ? `\n${detail.slice(0, 300)}` : ""}`;
@@ -1,36 +1,47 @@
1
1
  import { test } from "node:test";
2
2
  import assert from "node:assert/strict";
3
3
  import { mkdirSync, mkdtempSync, rmSync, symlinkSync, writeFileSync } from "node:fs";
4
+ import { createServer } from "node:http";
4
5
  import { tmpdir } from "node:os";
5
6
  import { join } from "node:path";
6
7
  import {
7
8
  heygenAuthHeaders,
8
9
  heygenAuthMethod,
10
+ heygenBase,
9
11
  heygenCredential,
12
+ heygenJSON,
10
13
  loadEnvFromDir,
11
14
  } from "./heygen.mjs";
12
15
 
16
+ const HEYGEN_ENV = [
17
+ "HEYGEN_ACCESS_TOKEN",
18
+ "HEYGEN_API_KEY",
19
+ "HYPERFRAMES_API_KEY",
20
+ "HEYGEN_CONFIG_DIR",
21
+ "HEYGEN_API_BASE",
22
+ "HEYGEN_ALLOW_HTTP",
23
+ ];
24
+
25
+ // Runs fn with every HeyGen variable unset, then puts them back; an async fn restores once it settles.
13
26
  function withCleanHeygenEnv(fn) {
14
- const previousAccessToken = process.env.HEYGEN_ACCESS_TOKEN;
15
- const previousApiKey = process.env.HEYGEN_API_KEY;
16
- const previousHyperframesApiKey = process.env.HYPERFRAMES_API_KEY;
17
- const previousConfigDir = process.env.HEYGEN_CONFIG_DIR;
27
+ const previous = Object.fromEntries(HEYGEN_ENV.map((name) => [name, process.env[name]]));
28
+ const restore = () => {
29
+ for (const [name, value] of Object.entries(previous)) {
30
+ if (value === undefined) delete process.env[name];
31
+ else process.env[name] = value;
32
+ }
33
+ };
34
+ for (const name of HEYGEN_ENV) delete process.env[name];
35
+ let result;
18
36
  try {
19
- delete process.env.HEYGEN_ACCESS_TOKEN;
20
- delete process.env.HEYGEN_API_KEY;
21
- delete process.env.HYPERFRAMES_API_KEY;
22
- delete process.env.HEYGEN_CONFIG_DIR;
23
- return fn();
24
- } finally {
25
- if (previousAccessToken === undefined) delete process.env.HEYGEN_ACCESS_TOKEN;
26
- else process.env.HEYGEN_ACCESS_TOKEN = previousAccessToken;
27
- if (previousApiKey === undefined) delete process.env.HEYGEN_API_KEY;
28
- else process.env.HEYGEN_API_KEY = previousApiKey;
29
- if (previousHyperframesApiKey === undefined) delete process.env.HYPERFRAMES_API_KEY;
30
- else process.env.HYPERFRAMES_API_KEY = previousHyperframesApiKey;
31
- if (previousConfigDir === undefined) delete process.env.HEYGEN_CONFIG_DIR;
32
- else process.env.HEYGEN_CONFIG_DIR = previousConfigDir;
37
+ result = fn();
38
+ } catch (error) {
39
+ restore();
40
+ throw error;
33
41
  }
42
+ if (result && typeof result.then === "function") return result.finally(restore);
43
+ restore();
44
+ return result;
34
45
  }
35
46
 
36
47
  test("heygenAuthHeaders does not tag API-key requests as CLI traffic, but still carries the media-use tool tag", () => {
@@ -138,6 +149,27 @@ test("loadEnvFromDir skips a .env folder and loads the .env file above it", () =
138
149
  }
139
150
  });
140
151
 
152
+ test("a project's .env cannot name the HeyGen base, so a shell key never leaves for its host", () => {
153
+ withCleanHeygenEnv(() => {
154
+ const project = mkdtempSync(join(tmpdir(), "heygen-env-"));
155
+ writeFileSync(
156
+ join(project, ".env"),
157
+ "HEYGEN_API_BASE=https://proxy.example.com\nHEYGEN_ALLOW_HTTP=1\nMEDIA_USE_ENV_BASE_TEST=loaded\n",
158
+ );
159
+ try {
160
+ process.env.HEYGEN_API_KEY = "hg_shell_real";
161
+ loadEnvFromDir(project);
162
+ assert.equal(process.env.MEDIA_USE_ENV_BASE_TEST, "loaded");
163
+ assert.equal(process.env.HEYGEN_API_BASE, undefined);
164
+ assert.equal(process.env.HEYGEN_ALLOW_HTTP, undefined);
165
+ assert.equal(heygenBase(), "https://api.heygen.com/v3");
166
+ } finally {
167
+ delete process.env.MEDIA_USE_ENV_BASE_TEST;
168
+ rmSync(project, { recursive: true, force: true });
169
+ }
170
+ });
171
+ });
172
+
141
173
  test("heygenAuthMethod returns null when the credentials path is a folder", () => {
142
174
  withCleanHeygenEnv(() => {
143
175
  const dir = mkdtempSync(join(tmpdir(), "heygen-cred-"));
@@ -183,3 +215,78 @@ test("heygenAuthHeaders says to fix an unreadable credentials path, and to log i
183
215
  }
184
216
  });
185
217
  });
218
+
219
+ test("heygenBase is HeyGen's public API unless a host names another", () => {
220
+ withCleanHeygenEnv(() => {
221
+ assert.equal(heygenBase(), "https://api.heygen.com/v3");
222
+ process.env.HEYGEN_API_BASE = "https://api-canary.heygen.com/";
223
+ assert.equal(heygenBase(), "https://api-canary.heygen.com/v3");
224
+ });
225
+ });
226
+
227
+ test("heygenBase refuses a plain-HTTP host unless HEYGEN_ALLOW_HTTP is set, as the heygen CLI does", () => {
228
+ withCleanHeygenEnv(() => {
229
+ process.env.HEYGEN_API_BASE = "http://127.0.0.1:4100";
230
+ assert.throws(() => heygenBase(), /HEYGEN_ALLOW_HTTP=1/);
231
+ process.env.HEYGEN_ALLOW_HTTP = "1";
232
+ assert.equal(heygenBase(), "http://127.0.0.1:4100/v3");
233
+ });
234
+ });
235
+
236
+ test("a host gateway (HEYGEN_API_BASE with its own HEYGEN_API_KEY) wins over a host OAuth token", () => {
237
+ withCleanHeygenEnv(() => {
238
+ process.env.HEYGEN_API_BASE = "http://127.0.0.1:4100";
239
+ process.env.HEYGEN_ALLOW_HTTP = "1";
240
+ process.env.HEYGEN_API_KEY = "gateway-token";
241
+ process.env.HEYGEN_ACCESS_TOKEN = "at_host";
242
+ assert.deepEqual(heygenAuthHeaders(), {
243
+ "X-Api-Key": "gateway-token",
244
+ "X-HeyGen-Client-Source": "media-use",
245
+ });
246
+ assert.equal(heygenAuthMethod(), "api_key");
247
+ });
248
+ });
249
+
250
+ test("heygenJSON sends its request to the host's HEYGEN_API_BASE with the host's key", async () => {
251
+ /** @type {{ url?: string, key?: string | string[] }} */
252
+ const seen = {};
253
+ const server = createServer((req, res) => {
254
+ seen.url = req.url;
255
+ seen.key = req.headers["x-api-key"];
256
+ res.writeHead(200, { "content-type": "application/json" }).end('{"data":[]}');
257
+ });
258
+ await new Promise((done) => server.listen(0, "127.0.0.1", done));
259
+ const { port } = /** @type {import("node:net").AddressInfo} */ (server.address());
260
+ try {
261
+ await withCleanHeygenEnv(async () => {
262
+ process.env.HEYGEN_API_BASE = `http://127.0.0.1:${port}`;
263
+ process.env.HEYGEN_ALLOW_HTTP = "1";
264
+ process.env.HEYGEN_API_KEY = "gateway-token";
265
+ const reply = await heygenJSON("/voices?limit=1", { headers: heygenAuthHeaders() });
266
+ assert.deepEqual(reply, { data: [] });
267
+ });
268
+ assert.equal(seen.url, "/v3/voices?limit=1");
269
+ assert.equal(seen.key, "gateway-token");
270
+ } finally {
271
+ server.close();
272
+ }
273
+ });
274
+
275
+ test("a base that isn't HeyGen's gets no stored or host OAuth credential, only a key named for it", () => {
276
+ withCleanHeygenEnv(() => {
277
+ const dir = mkdtempSync(join(tmpdir(), "heygen-cred-"));
278
+ try {
279
+ process.env.HEYGEN_CONFIG_DIR = dir;
280
+ writeFileSync(join(dir, "credentials"), JSON.stringify({ api_key: "hg_stored" }));
281
+ process.env.HEYGEN_ACCESS_TOKEN = "at_host";
282
+ process.env.HEYGEN_API_BASE = "https://proxy.example.com";
283
+ assert.equal(heygenCredential(), null);
284
+ assert.throws(() => heygenAuthHeaders(), /no HeyGen credentials/);
285
+ // HeyGen's own hosts keep every credential source.
286
+ process.env.HEYGEN_API_BASE = "https://api-canary.heygen.com";
287
+ assert.equal(heygenAuthMethod(), "oauth");
288
+ } finally {
289
+ rmSync(dir, { recursive: true, force: true });
290
+ }
291
+ });
292
+ });
@@ -15,6 +15,19 @@ This unlocks the FREE path for bgm/sfx/image/icon catalog search, TTS (voice), a
15
15
  npx hyperframes media-use resolve --doctor
16
16
  ```
17
17
 
18
+ ## Host HeyGen access (no CLI sign-in)
19
+
20
+ A host app can give media-use HeyGen access of its own by setting
21
+ `HEYGEN_API_BASE` (its gateway), `HEYGEN_API_KEY` (the token that gateway
22
+ accepts) and, for a loopback gateway, `HEYGEN_ALLOW_HTTP=1`. The gateway adds
23
+ the host's key, so it never enters the agent's environment, and every
24
+ call is charged to that key's API credits. The `heygen` CLI honours the same
25
+ variables, so `resolve` (bgm/sfx/image/icon/voice/avatar-video) and the audio
26
+ engine's TTS all go through the host. With host access, skip CLI install and
27
+ sign-in, prefer the host's own HeyGen tools where it has them, never fall back
28
+ to a local or third-party generator on your own, and relay a refused call's
29
+ message (for example "add a key in Settings > Account") as written.
30
+
18
31
  ## Providers
19
32
 
20
33
  media-use holds no keys; every external tool owns its auth. Generation is
@@ -9,8 +9,8 @@ import {
9
9
  } from "./chunk-6BEFEWFB.js";
10
10
  import {
11
11
  trackSkillsInstallSkipped
12
- } from "./chunk-JSGANFFH.js";
13
- import "./chunk-C2JUHIG5.js";
12
+ } from "./chunk-7XTZVLE6.js";
13
+ import "./chunk-RCFCZT5O.js";
14
14
  import {
15
15
  diag
16
16
  } from "./chunk-VWG7OQKU.js";
@@ -39,15 +39,15 @@ import {
39
39
  isCoreSkill,
40
40
  presentSkills,
41
41
  pruneOrphanedLockEntries
42
- } from "./chunk-IFY57LUW.js";
42
+ } from "./chunk-GS6FE3IW.js";
43
43
  import {
44
44
  withMeta
45
- } from "./chunk-DDQ4LOML.js";
45
+ } from "./chunk-IYFKBFTW.js";
46
46
  import "./chunk-K4WIOZFP.js";
47
47
  import "./chunk-XUXGIA7H.js";
48
48
  import "./chunk-WERLJGIC.js";
49
49
  import "./chunk-ISN5GRYI.js";
50
- import "./chunk-MUINFURL.js";
50
+ import "./chunk-W6HTOVHU.js";
51
51
  import "./chunk-KNU5COPB.js";
52
52
  import {
53
53
  c
@@ -9,13 +9,13 @@ import {
9
9
  printSkillsUpdateNotice,
10
10
  refreshSkillsCache,
11
11
  skillsCheckDue
12
- } from "./chunk-IFY57LUW.js";
13
- import "./chunk-DDQ4LOML.js";
12
+ } from "./chunk-GS6FE3IW.js";
13
+ import "./chunk-IYFKBFTW.js";
14
14
  import "./chunk-K4WIOZFP.js";
15
15
  import "./chunk-XUXGIA7H.js";
16
16
  import "./chunk-WERLJGIC.js";
17
17
  import "./chunk-ISN5GRYI.js";
18
- import "./chunk-MUINFURL.js";
18
+ import "./chunk-W6HTOVHU.js";
19
19
  import "./chunk-KNU5COPB.js";
20
20
  import "./chunk-M2WBOQ2Q.js";
21
21
  export {
@@ -9,16 +9,16 @@ import {
9
9
  } from "./chunk-KZI44OPA.js";
10
10
  import {
11
11
  serveStaticProjectHtml
12
- } from "./chunk-PFJFHNU3.js";
12
+ } from "./chunk-34TXESM7.js";
13
13
  import {
14
14
  formatLintFindings
15
15
  } from "./chunk-6CSYCFQV.js";
16
16
  import "./chunk-XUHOIDKG.js";
17
17
  import "./chunk-X7MTZ4T2.js";
18
- import "./chunk-KJLY2SDJ.js";
18
+ import "./chunk-NORZWWLK.js";
19
19
  import {
20
20
  resolveProject
21
- } from "./chunk-PB3P4MKP.js";
21
+ } from "./chunk-TC2FBZJZ.js";
22
22
  import {
23
23
  loadOptionalPackage
24
24
  } from "./chunk-3DKN5WKL.js";
@@ -30,31 +30,31 @@ import {
30
30
  resolveCropRegion,
31
31
  runFfmpegOnce,
32
32
  seekCompositionTimeline
33
- } from "./chunk-KFQNMY36.js";
33
+ } from "./chunk-XDSOIJC3.js";
34
34
  import "./chunk-5Z63TBTX.js";
35
- import "./chunk-BQKEGPPL.js";
36
- import "./chunk-TYT2TLJR.js";
35
+ import "./chunk-O3SKIXQK.js";
36
+ import "./chunk-EKA4ZZBI.js";
37
37
  import "./chunk-YEIFI443.js";
38
38
  import "./chunk-IHFUKJOR.js";
39
- import "./chunk-MHK5DE2P.js";
40
- import "./chunk-QBK7WKHT.js";
39
+ import "./chunk-6Q6FR4KH.js";
40
+ import "./chunk-A7YQNIQT.js";
41
41
  import "./chunk-QZ3AZTXI.js";
42
42
  import "./chunk-U7E736AJ.js";
43
- import "./chunk-MTVDXB6S.js";
43
+ import "./chunk-4BB7V6AI.js";
44
44
  import "./chunk-G75ENCEZ.js";
45
45
  import "./chunk-EOVYQ3IG.js";
46
46
  import {
47
47
  resolveLocalBrowserGpuMode
48
- } from "./chunk-PE2I3AFA.js";
48
+ } from "./chunk-J5IPIQU2.js";
49
49
  import "./chunk-PFCFR3KZ.js";
50
- import "./chunk-KMKWRIMC.js";
50
+ import "./chunk-AVWEIOEN.js";
51
51
  import "./chunk-XT7X6QCP.js";
52
52
  import "./chunk-4YYJOFKS.js";
53
53
  import "./chunk-HVW7ABXD.js";
54
54
  import "./chunk-6BEFEWFB.js";
55
- import "./chunk-ASW6NWON.js";
56
- import "./chunk-VVJFZU6B.js";
57
- import "./chunk-5IKJONRY.js";
55
+ import "./chunk-IKVBTDLO.js";
56
+ import "./chunk-L3JSAB4L.js";
57
+ import "./chunk-Q65ZQFF2.js";
58
58
  import "./chunk-AWDFDFI3.js";
59
59
  import "./chunk-P6LJ4Y32.js";
60
60
  import {
@@ -63,8 +63,8 @@ import {
63
63
  getFFmpegInstallHint
64
64
  } from "./chunk-TVCRUG2S.js";
65
65
  import "./chunk-374QQGBQ.js";
66
- import "./chunk-JSGANFFH.js";
67
- import "./chunk-C2JUHIG5.js";
66
+ import "./chunk-7XTZVLE6.js";
67
+ import "./chunk-RCFCZT5O.js";
68
68
  import "./chunk-VWG7OQKU.js";
69
69
  import "./chunk-GQJZORQP.js";
70
70
  import "./chunk-AMKC3AXA.js";
@@ -78,21 +78,21 @@ import {
78
78
  } from "./chunk-PBN6GBJE.js";
79
79
  import "./chunk-KC5XXX3X.js";
80
80
  import "./chunk-TJSTGSAW.js";
81
- import "./chunk-TPECLKPA.js";
82
- import "./chunk-6U3MN4HW.js";
81
+ import "./chunk-E6SDW5FV.js";
82
+ import "./chunk-35RSNI77.js";
83
83
  import "./chunk-A4KQZXZI.js";
84
84
  import "./chunk-USDEMXXL.js";
85
85
  import {
86
86
  isClipVisibleAt,
87
87
  isInClipWindow
88
- } from "./chunk-QP3BRKGF.js";
88
+ } from "./chunk-6E6CM7WS.js";
89
89
  import "./chunk-OZUQF4NB.js";
90
90
  import "./chunk-DPVXBVLL.js";
91
91
  import {
92
92
  readElementRateSpec,
93
93
  sourceTimeAt,
94
94
  timeAtSourceTime
95
- } from "./chunk-B3I3XJ47.js";
95
+ } from "./chunk-SYKKFAUW.js";
96
96
  import "./chunk-VC76R6W2.js";
97
97
  import "./chunk-YA62XGXS.js";
98
98
  import "./chunk-OFQWTKPW.js";
@@ -122,7 +122,7 @@ import "./chunk-K4WIOZFP.js";
122
122
  import "./chunk-XUXGIA7H.js";
123
123
  import "./chunk-WERLJGIC.js";
124
124
  import "./chunk-ISN5GRYI.js";
125
- import "./chunk-MUINFURL.js";
125
+ import "./chunk-W6HTOVHU.js";
126
126
  import {
127
127
  normalizeErrorMessage
128
128
  } from "./chunk-KNU5COPB.js";
@@ -372,7 +372,7 @@ function computeSnapshotTimes(duration, opts) {
372
372
  return { times: times.map(round), appendedTail: false };
373
373
  }
374
374
  async function captureSnapshots(projectDir, opts) {
375
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-6PJP54TC.js");
375
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-FH7PHTTX.js");
376
376
  const numFrames = opts.frames ?? 5;
377
377
  const html = await bundleWithLocalizedFonts(projectDir);
378
378
  const server = await serveStaticProjectHtml(projectDir, html, void 0, [], opts.autoProxy);
@@ -445,7 +445,7 @@ async function captureSnapshots(projectDir, opts) {
445
445
  let syncVideoFrameVisibility = null;
446
446
  let extractMediaMetadata = null;
447
447
  try {
448
- const engine = await import("./src-7SSERHNP.js");
448
+ const engine = await import("./src-I7UC3JTL.js");
449
449
  injectVideoFramesBatch = engine.injectVideoFramesBatch;
450
450
  syncVideoFrameVisibility = engine.syncVideoFrameVisibility;
451
451
  extractMediaMetadata = engine.extractMediaMetadata;
@@ -69,16 +69,16 @@ import {
69
69
  serializeRenderRequest,
70
70
  startServer,
71
71
  validatePlanV2MaterializedTarget
72
- } from "./chunk-KECV5G4V.js";
72
+ } from "./chunk-P6E4HFFU.js";
73
73
  import {
74
74
  FONT_FETCH_FAILED,
75
75
  FONT_FETCH_UNAVAILABLE,
76
76
  FontFetchError,
77
77
  FontFetchUnavailableError,
78
78
  injectDeterministicFontFaces
79
- } from "./chunk-R4QIE6UY.js";
79
+ } from "./chunk-7M4KAPAA.js";
80
80
  import "./chunk-FI4I7CME.js";
81
- import "./chunk-SLEPCESN.js";
81
+ import "./chunk-INI3TM6I.js";
82
82
  import "./chunk-KC5XXX3X.js";
83
83
  import "./chunk-TJSTGSAW.js";
84
84
  import "./chunk-BZ56MTDX.js";
@@ -95,16 +95,16 @@ import {
95
95
  isTransientBrowserError,
96
96
  prepareCaptureSessionForReuse,
97
97
  resolveConfig
98
- } from "./chunk-TPECLKPA.js";
99
- import "./chunk-6U3MN4HW.js";
98
+ } from "./chunk-E6SDW5FV.js";
99
+ import "./chunk-35RSNI77.js";
100
100
  import "./chunk-A4KQZXZI.js";
101
101
  import "./chunk-USDEMXXL.js";
102
102
  import {
103
103
  quantizeTimeToFrame
104
- } from "./chunk-QP3BRKGF.js";
104
+ } from "./chunk-6E6CM7WS.js";
105
105
  import "./chunk-OZUQF4NB.js";
106
106
  import "./chunk-DPVXBVLL.js";
107
- import "./chunk-B3I3XJ47.js";
107
+ import "./chunk-SYKKFAUW.js";
108
108
  import "./chunk-VC76R6W2.js";
109
109
  import "./chunk-YA62XGXS.js";
110
110
  import "./chunk-OFQWTKPW.js";
@@ -209,8 +209,8 @@ import {
209
209
  verifyGpuParity,
210
210
  writeCapturedFrame,
211
211
  writeUrlDownloadTelemetry
212
- } from "./chunk-TPECLKPA.js";
213
- import "./chunk-6U3MN4HW.js";
212
+ } from "./chunk-E6SDW5FV.js";
213
+ import "./chunk-35RSNI77.js";
214
214
  import "./chunk-A4KQZXZI.js";
215
215
  import {
216
216
  LOW_MEMORY_TOTAL_MB_THRESHOLD,
@@ -221,10 +221,10 @@ import {
221
221
  import {
222
222
  MEDIA_VISUAL_STYLE_PROPERTIES,
223
223
  quantizeTimeToFrame
224
- } from "./chunk-QP3BRKGF.js";
224
+ } from "./chunk-6E6CM7WS.js";
225
225
  import "./chunk-OZUQF4NB.js";
226
226
  import "./chunk-DPVXBVLL.js";
227
- import "./chunk-B3I3XJ47.js";
227
+ import "./chunk-SYKKFAUW.js";
228
228
  import "./chunk-VC76R6W2.js";
229
229
  import "./chunk-YA62XGXS.js";
230
230
  import "./chunk-OFQWTKPW.js";