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
@@ -7,19 +7,19 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ambiguousIssue,
9
9
  loadBrowserScript
10
- } from "./chunk-7W4DJKZA.js";
10
+ } from "./chunk-W2LKSBX5.js";
11
11
  import {
12
12
  auditClipDurations,
13
13
  shouldIgnoreHttpError,
14
14
  shouldIgnoreRequestFailure
15
- } from "./chunk-CATLCEDQ.js";
15
+ } from "./chunk-3C6O5HV2.js";
16
16
  import {
17
17
  serveStaticProjectHtml
18
- } from "./chunk-GVHEOOGM.js";
18
+ } from "./chunk-Z3HHAFEP.js";
19
19
  import {
20
20
  STUDIO_PREVIEW_CAPTURE_MODE,
21
21
  STUDIO_PREVIEW_MARK_META
22
- } from "./chunk-GRCS7WRH.js";
22
+ } from "./chunk-5XDKFCEI.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-VAOROEWU.js";
34
+ } from "./chunk-URKDBFZV.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-FC6BAQV5.js";
48
+ } from "./chunk-R7EB4M5P.js";
49
49
  import {
50
50
  findStageProxyBox
51
- } from "./chunk-XM3NMXLX.js";
51
+ } from "./chunk-RYBFHEMZ.js";
52
52
  import {
53
53
  resolveAutoProxy
54
- } from "./chunk-VEWR5HXT.js";
54
+ } from "./chunk-BRYOYBO5.js";
55
55
  import {
56
56
  BrowserCleanupError,
57
57
  closeManagedBrowser,
58
58
  onStopSignal
59
- } from "./chunk-53ERMOK2.js";
59
+ } from "./chunk-5CXGDO74.js";
60
60
  import {
61
61
  injectTagsAtHeadStart
62
- } from "./chunk-FBQVRYMD.js";
62
+ } from "./chunk-4I7KQWZS.js";
63
63
  import {
64
64
  normalizeErrorMessage
65
65
  } from "./chunk-E63BDV4Z.js";
@@ -463,19 +463,24 @@ function elapsedText(ms) {
463
463
  function startCopyHeartbeat(sources, cached) {
464
464
  const startedAt = Date.now();
465
465
  const latest = /* @__PURE__ */ new Map();
466
+ const total = cached.filter((isCached) => !isCached).length;
467
+ let finished = 0;
466
468
  const timer = setInterval(() => {
467
469
  for (const [index, { doneSeconds, totalSeconds }] of latest) {
468
470
  if (cached[index]) continue;
469
471
  const done = totalSeconds ? `${Math.min(100, Math.floor(doneSeconds / totalSeconds * 100))}%` : "";
470
472
  console.error(
471
- `[hyperframes] browser-playable copy of ${sources[index].file}: ${done || `${Math.floor(doneSeconds)}s done`} (${elapsedText(Date.now() - startedAt)} so far)`
473
+ `[hyperframes] making browser-playable copies: ${finished} of ${total} done. ${sources[index].file}: ${done || `${Math.floor(doneSeconds)}s done`} (${elapsedText(Date.now() - startedAt)} so far)`
472
474
  );
473
475
  }
474
476
  }, COPY_HEARTBEAT_MS);
475
477
  timer.unref();
476
478
  return {
477
479
  progress: (index, progress) => void latest.set(index, progress),
478
- settled: (index) => void latest.delete(index),
480
+ settled: (index) => {
481
+ latest.delete(index);
482
+ if (!cached[index]) finished += 1;
483
+ },
479
484
  stop: () => clearInterval(timer)
480
485
  };
481
486
  }
@@ -573,7 +578,7 @@ function proxyFailedDraft(message) {
573
578
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
574
579
  }
575
580
  async function loadCheckHtmlWithDeferredMedia(dir) {
576
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-6VHTVRO3.js");
581
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-NRY45OIW.js");
577
582
  return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
578
583
  }
579
584
  function withCapturePreviewMark(html) {
@@ -635,7 +640,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
635
640
  ).map((draft) => runtimeFinding(draft, rootAnchor))
636
641
  }));
637
642
  const launchSettleMs = Date.now() - launchSettleStart;
638
- const { analyzeClipMediaFit } = await import("./src-E467QUBK.js");
643
+ const { analyzeClipMediaFit } = await import("./src-LAO5IGRI.js");
639
644
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
640
645
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
641
646
  }
@@ -772,7 +777,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
772
777
  async function captureFindingFrames(project, options, requests, deadline) {
773
778
  if (requests.length === 0) return { written: [], inspected: [] };
774
779
  const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
775
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-6VHTVRO3.js");
780
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-NRY45OIW.js");
776
781
  return withCapturePreviewMark(
777
782
  await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
778
783
  );
@@ -1063,9 +1068,10 @@ function createPageDriver(page, clock = createRuntimeClock(), sampleLog) {
1063
1068
  screenshotFollows ? SCREENSHOT_SEEK_OPTIONS : AUDIT_SEEK_OPTIONS
1064
1069
  );
1065
1070
  },
1066
- seekGeometry: async (time) => {
1071
+ seekGeometry: async (time, { draws = false } = {}) => {
1067
1072
  clock.at(time);
1068
- 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);
1069
1075
  },
1070
1076
  collectLayout: (time, tolerance, layout) => collectLayout(page, time, tolerance, layout),
1071
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
  probeAudioTrack
9
- } from "./chunk-LRYNDYAE.js";
9
+ } from "./chunk-5SZ2HRCW.js";
10
10
  import {
11
11
  resolveWithinProject
12
12
  } from "./chunk-ALVXFXUG.js";
@@ -14,7 +14,7 @@ import {
14
14
  MAX_AUDIO_GAIN_DB,
15
15
  formatAudioGain,
16
16
  isAudibleVideoElement
17
- } from "./chunk-FBQVRYMD.js";
17
+ } from "./chunk-4I7KQWZS.js";
18
18
  import {
19
19
  findFfBinary
20
20
  } from "./chunk-VAS6HQX3.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-YDHXPY23.js";
9
+ } from "./chunk-VS7G457O.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/utils/producer.ts
9
9
  async function loadProducer() {
10
- return await import("./src-CT2X45TD.js");
10
+ return await import("./src-RIL5PHI6.js");
11
11
  }
12
12
 
13
13
  export {
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  formatVariableValidationIssue,
23
23
  validateVariables
24
- } from "./chunk-GFA5ZCVI.js";
24
+ } from "./chunk-AU7VGKCP.js";
25
25
  import {
26
26
  extractCompositionMetadata
27
27
  } from "./chunk-NHA4NRBE.js";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-TSYRN646.js";
12
12
  import {
13
13
  fetchLocalPageUrl
14
- } from "./chunk-7YUYG6S6.js";
14
+ } from "./chunk-XN22HGE7.js";
15
15
  import {
16
16
  ensureCaptureDirSync,
17
17
  writeCaptureFileSync
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-AWDFDFI3.js";
26
26
  import {
27
27
  isBlockedNetworkHost
28
- } from "./chunk-LIOE46OG.js";
28
+ } from "./chunk-TDNZIFJ2.js";
29
29
  import {
30
30
  DOMParser,
31
31
  parseHTML
@@ -4,9 +4,15 @@ 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
+ heygenUserId
9
+ } from "./chunk-PXVQOMKL.js";
7
10
  import {
8
11
  diag
9
12
  } from "./chunk-EQGKUPBJ.js";
13
+ import {
14
+ credentialPath
15
+ } from "./chunk-4WEWHZZO.js";
10
16
  import {
11
17
  getInvocationId
12
18
  } from "./chunk-54HJ63Q2.js";
@@ -23,10 +29,10 @@ import {
23
29
  } from "./chunk-FXMKHHPO.js";
24
30
  import {
25
31
  getSystemMeta
26
- } from "./chunk-5766TK7Q.js";
32
+ } from "./chunk-LAGZGKKN.js";
27
33
  import {
28
34
  hostAnswers
29
- } from "./chunk-K4WIOZFP.js";
35
+ } from "./chunk-BR2JQQC5.js";
30
36
  import {
31
37
  POSTHOG_API_KEY,
32
38
  getIdentityPersistence,
@@ -34,10 +40,10 @@ import {
34
40
  readConfig,
35
41
  telemetryRuntimeOverride,
36
42
  writeConfig
37
- } from "./chunk-ZCHULPJZ.js";
43
+ } from "./chunk-BLBMPEBX.js";
38
44
  import {
39
45
  VERSION
40
- } from "./chunk-A3ZRV44X.js";
46
+ } from "./chunk-OV6MUGZI.js";
41
47
 
42
48
  // src/telemetry/transport.ts
43
49
  import { spawn } from "child_process";
@@ -155,8 +161,8 @@ function resolveCanary(name) {
155
161
  decisions.clear();
156
162
  decisionsTelemetryPosture = posture;
157
163
  }
158
- const cached = decisions.get(name);
159
- if (cached) return cached;
164
+ const cached2 = decisions.get(name);
165
+ if (cached2) return cached2;
160
166
  const decision = decideCanary(name);
161
167
  decisions.set(name, decision);
162
168
  return decision;
@@ -186,6 +192,35 @@ function canaryEventProperties() {
186
192
  );
187
193
  }
188
194
 
195
+ // src/telemetry/signedInUser.ts
196
+ import { closeSync, fstatSync, openSync, readFileSync } from "fs";
197
+ var cached;
198
+ function usernameOf(parsed) {
199
+ if (!parsed || typeof parsed !== "object") return void 0;
200
+ const { user, api_key, oauth } = parsed;
201
+ if (!api_key && !oauth) return void 0;
202
+ if (!user || typeof user !== "object") return void 0;
203
+ const name = user.username;
204
+ return typeof name === "string" && name.trim() ? name : void 0;
205
+ }
206
+ function signedInHeygenUsername() {
207
+ const path = credentialPath();
208
+ let fd;
209
+ try {
210
+ fd = openSync(path, "r");
211
+ const { mtimeMs } = fstatSync(fd);
212
+ if (cached?.path === path && cached.mtimeMs === mtimeMs) return cached.username;
213
+ const username = usernameOf(JSON.parse(readFileSync(fd, "utf8")));
214
+ cached = { path, mtimeMs, username };
215
+ return username;
216
+ } catch {
217
+ cached = void 0;
218
+ return void 0;
219
+ } finally {
220
+ if (fd !== void 0) closeSync(fd);
221
+ }
222
+ }
223
+
189
224
  // src/telemetry/client.ts
190
225
  var telemetryEnabled = null;
191
226
  function shouldTrack() {
@@ -204,6 +239,7 @@ function resetTelemetryPostureCache() {
204
239
  function trackEvent(event, properties = {}, distinctId) {
205
240
  if (!shouldTrack()) return;
206
241
  const sys = getSystemMeta();
242
+ const heygenUsername = signedInHeygenUsername();
207
243
  enqueue(
208
244
  event,
209
245
  {
@@ -259,9 +295,10 @@ function trackEvent(event, properties = {}, distinctId) {
259
295
  // never pay for it. See telemetry/canary.ts.
260
296
  ...canaryEventProperties(),
261
297
  agent_env_hints: sys.agent_env_hints ?? void 0,
262
- client: sys.client ?? void 0
298
+ client: sys.client ?? void 0,
299
+ heygen_username: heygenUsername
263
300
  },
264
- distinctId
301
+ distinctId ?? (heygenUsername ? heygenUserId(heygenUsername) : void 0)
265
302
  );
266
303
  }
267
304
  function showTelemetryNotice() {
@@ -271,10 +308,12 @@ function showTelemetryNotice() {
271
308
  config.telemetryNoticeShown = true;
272
309
  writeConfig(config);
273
310
  diag.notice();
274
- diag.notice(` ${c.dim("Hyperframes collects anonymous usage data to improve the tool.")}`);
311
+ diag.notice(
312
+ ` ${c.dim("Hyperframes collects usage data to improve the tool, anonymous until you sign in.")}`
313
+ );
275
314
  diag.notice(` ${c.dim("File paths and composition content are never collected.")}`);
276
315
  diag.notice(
277
- ` ${c.dim("If you sign in to HeyGen, your account (email, or username) is linked to your usage.")}`
316
+ ` ${c.dim("If you sign in to HeyGen, your account (email and username) is linked to your usage.")}`
278
317
  );
279
318
  diag.notice();
280
319
  diag.notice(` ${c.dim("Disable anytime:")} ${c.accent("hyperframes telemetry disable")}`);
@@ -10,29 +10,29 @@ import {
10
10
  import {
11
11
  RegistryCompatibilityError,
12
12
  gateRegistryItemsCompatibility
13
- } from "./chunk-BRTWBGFE.js";
13
+ } from "./chunk-6YGTOBXW.js";
14
14
  import {
15
15
  DEFAULT_PROJECT_CONFIG,
16
16
  createProjectConfig,
17
17
  loadProjectConfig,
18
18
  projectConfigPath,
19
19
  recordProjectRegistryItems
20
- } from "./chunk-VEWR5HXT.js";
20
+ } from "./chunk-BRYOYBO5.js";
21
21
  import {
22
22
  resolveItemWithDependencies,
23
23
  resolveItemsByTag
24
- } from "./chunk-JMSS47CW.js";
24
+ } from "./chunk-UWV753SJ.js";
25
25
  import {
26
26
  InvalidVariableValuesError,
27
27
  prepareItem,
28
28
  publishItem
29
- } from "./chunk-MYDM4PQL.js";
29
+ } from "./chunk-VTLIN7XN.js";
30
30
  import {
31
31
  DEFAULT_REGISTRY_URL
32
- } from "./chunk-UR6QODTY.js";
32
+ } from "./chunk-YATFRFNH.js";
33
33
  import {
34
34
  trackRegistryItemAdded
35
- } from "./chunk-4NJ57TSE.js";
35
+ } from "./chunk-QY7RG6K3.js";
36
36
  import {
37
37
  defineCommand
38
38
  } from "./chunk-DL4OD7IA.js";
@@ -41,7 +41,7 @@ import {
41
41
  } from "./chunk-2GICKZ3I.js";
42
42
  import {
43
43
  ITEM_TYPE_DIRS
44
- } from "./chunk-GFA5ZCVI.js";
44
+ } from "./chunk-AU7VGKCP.js";
45
45
  import {
46
46
  isProjectRootMissing,
47
47
  realpath
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getSystemTotalMb
9
- } from "./chunk-32NEJ553.js";
9
+ } from "./chunk-FBN2M2HK.js";
10
10
  import {
11
11
  detectAgentHints,
12
12
  detectAgentRuntime,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCompositionDimensions
9
- } from "./chunk-XM3NMXLX.js";
9
+ } from "./chunk-RYBFHEMZ.js";
10
10
  import {
11
11
  outputResolutionForSize
12
12
  } from "./chunk-NHA4NRBE.js";
@@ -10,21 +10,21 @@ import {
10
10
  } from "./chunk-Y65ZU7XY.js";
11
11
  import {
12
12
  downloadFile
13
- } from "./chunk-FJ646TIT.js";
13
+ } from "./chunk-R4EWRIDL.js";
14
14
  import {
15
15
  findFFmpeg,
16
16
  findFFprobe,
17
17
  getFFmpegInstallHint
18
- } from "./chunk-HQRI2NT3.js";
18
+ } from "./chunk-ST5EBZTO.js";
19
19
  import {
20
20
  registerBrowserSessionCleanup
21
- } from "./chunk-53ERMOK2.js";
21
+ } from "./chunk-5CXGDO74.js";
22
22
  import {
23
23
  DEFAULT_VP9_CPU_USED,
24
24
  SDR_RGB_TO_BT709_FILTER,
25
25
  SDR_RGB_TO_TAGGED_BT709_FILTER,
26
26
  renderProvenanceArgs
27
- } from "./chunk-LIOE46OG.js";
27
+ } from "./chunk-TDNZIFJ2.js";
28
28
  import {
29
29
  runCancellableProcess
30
30
  } from "./chunk-X6JUUQCM.js";
@@ -391,7 +391,7 @@ async function decoderTransposesDimensions(inputPath) {
391
391
  }
392
392
  async function probeMedia(inputPath) {
393
393
  const isImage = inferInputKind(inputPath) === "image";
394
- const engine = await import("./src-E467QUBK.js");
394
+ const engine = await import("./src-LAO5IGRI.js");
395
395
  const meta = await engine.extractMediaMetadata(inputPath);
396
396
  if (isImage) {
397
397
  return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-ISTUBRV3.js";
13
+ } from "./chunk-LPJMACTI.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -8,13 +8,13 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-LIOE46OG.js";
11
+ } from "./chunk-TDNZIFJ2.js";
12
12
  import {
13
13
  renameWithRetry
14
14
  } from "./chunk-YWRUQ7XZ.js";
15
15
  import {
16
16
  parseAnimatedGifMetadata
17
- } from "./chunk-GFA5ZCVI.js";
17
+ } from "./chunk-AU7VGKCP.js";
18
18
  import {
19
19
  parseHTML
20
20
  } from "./chunk-GWTIFRF5.js";
@@ -564,6 +564,29 @@ function* rhythmSteps(signal) {
564
564
  entry.rhythm ??= yield* rhythmOf(entry.frames);
565
565
  return entry.rhythm;
566
566
  }
567
+ var SPAN_SECONDS = 6;
568
+ function localBeatEvidence(signal, times, beatSeconds) {
569
+ const { broad, fps } = onsetCurves(bandFramesOf(signal));
570
+ const half = Math.round(SPAN_SECONDS / 2 * fps);
571
+ const whole = beatSeconds ?? medianInterval(times) ?? 0;
572
+ if (whole * fps < 2)
573
+ return times.map(() => ({ confidence: 0, lift: 0 }));
574
+ const local = smoothed(broad, whole * fps);
575
+ return times.map((t) => {
576
+ const centre = Math.round((t - ONSET_LAG_SECONDS) * fps);
577
+ const from = Math.max(0, centre - half);
578
+ const to = Math.min(broad.length, centre + half);
579
+ const near = times.filter((other) => Math.abs(other - t) * fps <= half);
580
+ const lag = Math.round((beatSeconds ?? medianInterval(near) ?? whole) * fps);
581
+ const ac = autocorrelation(broad.subarray(from, to), lag + 1);
582
+ const clarity = Math.max(ac[lag - 1] ?? 0, ac[lag] ?? 0, ac[lag + 1] ?? 0);
583
+ const span = local.subarray(from, to);
584
+ const mean2 = span.reduce((sum, v) => sum + v, 0) / (span.length || 1);
585
+ const peak = Math.max(...[-2, -1, 0, 1, 2].map((d) => local[centre + d] ?? 0));
586
+ const lift = mean2 > 0 ? peak / mean2 - 1 : 0;
587
+ return { confidence: beatConfidence(clarity, lift), lift };
588
+ });
589
+ }
567
590
 
568
591
  // ../core/dist/audioSnap.js
569
592
  function nearestIndex(sorted, t) {
@@ -1223,10 +1246,12 @@ export {
1223
1246
  PITCH_RATE,
1224
1247
  pitchTrack,
1225
1248
  medianInterval,
1249
+ STEADY_BEAT_CONFIDENCE,
1226
1250
  tempoOf,
1227
1251
  bandFramesOf,
1228
1252
  rhythm,
1229
1253
  rhythmSteps,
1254
+ localBeatEvidence,
1230
1255
  snapper,
1231
1256
  runLadder,
1232
1257
  signalDuration,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-5ZBMHUY2.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-4NJ57TSE.js";
12
+ } from "./chunk-QY7RG6K3.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-DP5LF7GF.js";
@@ -12,12 +12,12 @@ import {
12
12
  ensureHfIds,
13
13
  mintHfId,
14
14
  walkCompositionDescendants
15
- } from "./chunk-4HMG5CQJ.js";
15
+ } from "./chunk-2Q4CL6AB.js";
16
16
  import {
17
17
  isAllowedHtmlAttribute,
18
18
  isSafeAttributeValue,
19
19
  sanitizeRichTextChildren
20
- } from "./chunk-GFA5ZCVI.js";
20
+ } from "./chunk-AU7VGKCP.js";
21
21
  import {
22
22
  require_dist
23
23
  } from "./chunk-JF3RF6GS.js";
@@ -14,24 +14,24 @@ import {
14
14
  } from "./chunk-VZBJ5BQF.js";
15
15
  import {
16
16
  readCompositionFps
17
- } from "./chunk-6UUPTWUG.js";
17
+ } from "./chunk-GHWV6PIS.js";
18
18
  import {
19
19
  HF_AUDIO_GROUP_ATTR,
20
20
  extractAudioMetadata,
21
21
  extractMediaMetadata
22
- } from "./chunk-LIOE46OG.js";
22
+ } from "./chunk-TDNZIFJ2.js";
23
23
  import {
24
24
  byStart,
25
25
  fpsToNumber,
26
26
  parseFpsWithDefault
27
- } from "./chunk-GFA5ZCVI.js";
27
+ } from "./chunk-AU7VGKCP.js";
28
28
  import {
29
29
  HF_AUDIO_AUTOMATION_ATTR,
30
30
  HF_AUDIO_FX_ATTR,
31
31
  parseAudioFxChain,
32
32
  parseAutomation,
33
33
  resolveAutomation
34
- } from "./chunk-FBQVRYMD.js";
34
+ } from "./chunk-4I7KQWZS.js";
35
35
  import {
36
36
  resolveReferencedDuration,
37
37
  resolveReferencedStart
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/version.ts
9
- var VERSION = true ? "0.8.214" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.8.214" : "0.0.0-dev";
9
+ var VERSION = true ? "0.8.217" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.8.217" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType
9
- } from "./chunk-GRCS7WRH.js";
9
+ } from "./chunk-5XDKFCEI.js";
10
10
  import {
11
11
  stripSdrPngColourTags
12
- } from "./chunk-4HMG5CQJ.js";
12
+ } from "./chunk-2Q4CL6AB.js";
13
13
  import {
14
14
  injectTagsAtHeadStart
15
- } from "./chunk-FBQVRYMD.js";
15
+ } from "./chunk-4I7KQWZS.js";
16
16
 
17
17
  // src/utils/compositionServer.ts
18
18
  import { createHash } from "crypto";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveConfig,
9
9
  usesSoftwareWebGpu
10
- } from "./chunk-LIOE46OG.js";
10
+ } from "./chunk-TDNZIFJ2.js";
11
11
 
12
12
  // src/browser/gpuPolicy.ts
13
13
  function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
17
17
  return "auto";
18
18
  }
19
19
  async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
20
- const { resolveBrowserGpuMode } = await import("./src-E467QUBK.js");
20
+ const { resolveBrowserGpuMode } = await import("./src-LAO5IGRI.js");
21
21
  return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
22
22
  }
23
23
  function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
@@ -9,7 +9,7 @@ import {
9
9
  buildAuthHeaders,
10
10
  refreshTokens,
11
11
  resolveCredential
12
- } from "./chunk-7TWX4Y7I.js";
12
+ } from "./chunk-UVXIJYZY.js";
13
13
 
14
14
  // src/cloud/auth.ts
15
15
  async function resolveCloudAuthHeaders() {
@@ -0,0 +1,39 @@
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/telemetryIdentity.ts
9
+ import { createHash } from "crypto";
10
+ var UUID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
11
+ function heygenUserId(username) {
12
+ if (UUID_PATTERN.test(username)) return username;
13
+ const hash = createHash("sha256").update(username).digest();
14
+ hash[6] = hash[6] & 15 | 80;
15
+ hash[8] = hash[8] & 63 | 128;
16
+ const hex = hash.toString("hex");
17
+ return [
18
+ hex.slice(0, 8),
19
+ hex.slice(8, 12),
20
+ hex.slice(12, 16),
21
+ hex.slice(16, 20),
22
+ hex.slice(20, 32)
23
+ ].join("-");
24
+ }
25
+ function telemetryIdentity(user) {
26
+ const email = user.email?.trim().toLowerCase() || void 0;
27
+ const username = user.username?.trim() ? user.username : void 0;
28
+ const traits = {};
29
+ if (email) traits.email = email;
30
+ if (username) traits.heygen_username = username;
31
+ if (username) return { distinctId: heygenUserId(username), traits };
32
+ if (email) return { distinctId: email, traits };
33
+ return void 0;
34
+ }
35
+
36
+ export {
37
+ heygenUserId,
38
+ telemetryIdentity
39
+ };
@@ -0,0 +1,20 @@
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
+ // ../core/dist/envProxy.js
9
+ function envProxyEnabled(env = process.env, execArgv = process.execArgv) {
10
+ const flags = [...execArgv, ...env["NODE_OPTIONS"]?.split(/\s+/u) ?? []];
11
+ return env["NODE_USE_ENV_PROXY"] === "1" || flags.includes("--use-env-proxy");
12
+ }
13
+ function fetchGoesThroughEnvProxy(env = process.env, execArgv = process.execArgv) {
14
+ return Boolean((env["HTTPS_PROXY"] ?? env["https_proxy"])?.trim()) && envProxyEnabled(env, execArgv);
15
+ }
16
+
17
+ export {
18
+ envProxyEnabled,
19
+ fetchGoesThroughEnvProxy
20
+ };