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
@@ -42,7 +42,7 @@ import {
42
42
  renderFrameIdForRenderId,
43
43
  resolveAuthoredTimingWindow,
44
44
  toFps
45
- } from "./chunk-GFA5ZCVI.js";
45
+ } from "./chunk-AU7VGKCP.js";
46
46
  import {
47
47
  AUDIO_GROUP_RENDER_ID_ATTR,
48
48
  AUTHORED_SOURCE_BEGIN,
@@ -85,11 +85,11 @@ import {
85
85
  sourceTimeAt,
86
86
  timeAtSourceTime,
87
87
  volumeSegmentSampleCount
88
- } from "./chunk-FBQVRYMD.js";
88
+ } from "./chunk-4I7KQWZS.js";
89
89
  import {
90
90
  redactTelemetryString,
91
91
  redactUrlQueryStrings
92
- } from "./chunk-634HSJ3J.js";
92
+ } from "./chunk-TK7THLRO.js";
93
93
  import {
94
94
  withHyperframesBrowserMarker
95
95
  } from "./chunk-K4MJX7SR.js";
@@ -122,9 +122,13 @@ import {
122
122
  import {
123
123
  LOW_MEMORY_TOTAL_MB_THRESHOLD,
124
124
  getAvailableMemoryMb,
125
+ getCgroupCpuLimit,
125
126
  getSystemTotalMb,
126
127
  isLowMemorySystem
127
- } from "./chunk-32NEJ553.js";
128
+ } from "./chunk-FBN2M2HK.js";
129
+ import {
130
+ fetchGoesThroughEnvProxy
131
+ } from "./chunk-QBXDU24O.js";
128
132
  import {
129
133
  describeWslGpuAccess,
130
134
  detectWsl
@@ -197,6 +201,7 @@ var OPTIONAL_ENGINE_CONFIG_FIELDS = [
197
201
  "expectedChromiumMajor",
198
202
  "pageSideCompositingAutoDisabled",
199
203
  "forceScreenshotExplicitlyOptedOut",
204
+ "beginFrameFirstFrameDeadlineMs",
200
205
  "streamingEncodeAutoDisabledOnWin32Compound",
201
206
  "runtimeManifestPath",
202
207
  "extractCacheDir"
@@ -279,6 +284,9 @@ function validateEngineConfigScalars(config) {
279
284
  if (typeof config.jpegQuality === "number" && config.jpegQuality > 100) {
280
285
  throw new Error("Engine config jpegQuality must be <= 100");
281
286
  }
287
+ if (config.beginFrameFirstFrameDeadlineMs !== void 0) {
288
+ assertEngineConfigNumber(config, "beginFrameFirstFrameDeadlineMs", 1, true);
289
+ }
282
290
  }
283
291
  function validateEngineConfigParallelism(config) {
284
292
  if (config.concurrency !== "auto" && (typeof config.concurrency !== "number" || !Number.isInteger(config.concurrency) || config.concurrency < 1)) {
@@ -4871,41 +4879,51 @@ async function scanCssEffects(page, collect) {
4871
4879
 
4872
4880
  // ../engine/src/services/riskFrames.ts
4873
4881
  var SCAN_CHUNK_FRAMES = 240;
4882
+ var SCAN_BUDGET_MS = 12e4;
4874
4883
  var MAX_RISK_FRAME_FRACTION = 0.6;
4875
4884
  var RISK_RENDER_ADDED_BYTES = 1e9;
4876
4885
  var RISK_RENDER_HEADROOM_BYTES = 15e8;
4877
4886
  var PIXELS_1080P = 1920 * 1080;
4878
4887
  var RISK_RANGE_HYSTERESIS_FRAMES = 12;
4879
- async function scanCssEffectLiveFrames(page, fps, totalFrames, maxFrames) {
4888
+ async function scanChunk(page, times) {
4889
+ return page.evaluate(async (ts) => {
4890
+ const w = window;
4891
+ const targets = w.__hfCssFxTargets ?? [];
4892
+ const paints = (el) => getComputedStyle(el).visibility !== "hidden" || Array.from(el.querySelectorAll("*")).some(
4893
+ (d) => getComputedStyle(d).visibility === "visible"
4894
+ );
4895
+ const shows = (el) => {
4896
+ for (let n = el; n; n = n.parentElement) {
4897
+ const cs = getComputedStyle(n);
4898
+ if (cs.display === "none" || Number(cs.opacity) === 0) return false;
4899
+ }
4900
+ return paints(el);
4901
+ };
4902
+ const out = [];
4903
+ for (let i = 0; i < ts.length; i++) {
4904
+ w.__hf?.seek?.(ts[i]);
4905
+ await w.__hfWaitForSeekCompletion?.();
4906
+ if (targets.some(shows)) out.push(i);
4907
+ }
4908
+ return out;
4909
+ }, times);
4910
+ }
4911
+ async function scanCssEffectLiveFrames(page, fps, totalFrames, maxFrames, { budgetMs = SCAN_BUDGET_MS, now = () => performance.now(), onProgress } = {}) {
4880
4912
  const live = /* @__PURE__ */ new Set();
4881
- for (let from = 0; from < totalFrames; from += SCAN_CHUNK_FRAMES) {
4913
+ const started = now();
4914
+ for (let from = 0; from < totalFrames && live.size <= maxFrames; from += SCAN_CHUNK_FRAMES) {
4915
+ const to = Math.min(totalFrames, from + SCAN_CHUNK_FRAMES);
4882
4916
  const times = [];
4883
- for (let f = from; f < Math.min(totalFrames, from + SCAN_CHUNK_FRAMES); f++) {
4884
- times.push(quantizeTimeToFrame(f / fps, fps));
4885
- }
4886
- const hits = await page.evaluate(async (ts) => {
4887
- const w = window;
4888
- const targets = w.__hfCssFxTargets ?? [];
4889
- const paints = (el) => getComputedStyle(el).visibility !== "hidden" || Array.from(el.querySelectorAll("*")).some(
4890
- (d) => getComputedStyle(d).visibility === "visible"
4917
+ for (let f = from; f < to; f++) times.push(quantizeTimeToFrame(f / fps, fps));
4918
+ for (const i of await scanChunk(page, times)) live.add(from + i);
4919
+ onProgress?.(to, totalFrames);
4920
+ const projectedMs = (now() - started) / to * totalFrames;
4921
+ if (to < totalFrames && projectedMs > budgetMs) {
4922
+ console.error(
4923
+ `[engine] fast capture: the effect scan of ${totalFrames} frames would take ${Math.round(projectedMs / 1e3)} s, over its ${budgetMs / 1e3} s budget`
4891
4924
  );
4892
- const shows = (el) => {
4893
- for (let n = el; n; n = n.parentElement) {
4894
- const cs = getComputedStyle(n);
4895
- if (cs.display === "none" || Number(cs.opacity) === 0) return false;
4896
- }
4897
- return paints(el);
4898
- };
4899
- const out = [];
4900
- for (let i = 0; i < ts.length; i++) {
4901
- w.__hf?.seek?.(ts[i]);
4902
- await w.__hfWaitForSeekCompletion?.();
4903
- if (targets.some(shows)) out.push(i);
4904
- }
4905
- return out;
4906
- }, times);
4907
- for (const i of hits) live.add(from + i);
4908
- if (live.size > maxFrames) break;
4925
+ return null;
4926
+ }
4909
4927
  }
4910
4928
  return live.size > maxFrames ? null : live;
4911
4929
  }
@@ -5825,7 +5843,8 @@ async function cssEffectRiskFrames(session, totalFrames) {
5825
5843
  scratch.page,
5826
5844
  fps,
5827
5845
  totalFrames,
5828
- totalFrames * MAX_RISK_FRAME_FRACTION
5846
+ totalFrames * MAX_RISK_FRAME_FRACTION,
5847
+ { onProgress: session.options.onEffectScanProgress }
5829
5848
  );
5830
5849
  return live && withFramesAfterCallback(live, scan.callbackFrom, fps, totalFrames);
5831
5850
  } catch (error) {
@@ -8228,6 +8247,10 @@ async function getCompositionDuration(session) {
8228
8247
  return window.__hf?.duration ?? 0;
8229
8248
  });
8230
8249
  }
8250
+ async function getCompositionLengthSource(session) {
8251
+ if (!session.isInitialized) throw new Error("[FrameCapture] Session not initialized");
8252
+ return session.page.evaluate(() => window.__hf?.lengthSource ?? null);
8253
+ }
8231
8254
  function computeDeVerifySampleFractions(k) {
8232
8255
  if (k <= 0) return [];
8233
8256
  if (k === 1) return [0.95];
@@ -9941,6 +9964,7 @@ function appendSoftwareEncoderThreadsArg(args, encoder, parallelism = availableP
9941
9964
 
9942
9965
  // ../engine/src/utils/renderProvenance.ts
9943
9966
  import { readFileSync as readFileSync2 } from "fs";
9967
+ import { createRequire } from "module";
9944
9968
  import { dirname, join as join7 } from "path";
9945
9969
  import { fileURLToPath } from "url";
9946
9970
  var PROVENANCE_RENDERER_TAG = "hyperframes_renderer";
@@ -9968,9 +9992,23 @@ function resolveOwnVersionFrom(startDir) {
9968
9992
  if (parent === dir) break;
9969
9993
  dir = parent;
9970
9994
  }
9995
+ const installed = installedEngineVersion(startDir);
9996
+ if (installed) return installed;
9971
9997
  reportUnresolved(`no package.json matching ${OWN_PACKAGE_NAME} within ${MAX_WALK_DEPTH} levels`);
9972
9998
  return UNRESOLVED_VERSION;
9973
9999
  }
10000
+ function installedEngineVersion(fromDir) {
10001
+ try {
10002
+ const path = createRequire(join7(fromDir, "index.js")).resolve(
10003
+ "@hyperframes/engine/package.json"
10004
+ );
10005
+ const pkg = JSON.parse(readFileSync2(path, "utf8"));
10006
+ if (pkg.name === "@hyperframes/engine" && typeof pkg.version === "string" && pkg.version)
10007
+ return pkg.version;
10008
+ } catch {
10009
+ }
10010
+ return void 0;
10011
+ }
9974
10012
  function reportUnresolved(reason) {
9975
10013
  console.warn(
9976
10014
  `[renderProvenance] could not resolve the engine version (${reason}); stamping ${PROVENANCE_VERSION_TAG}="${UNRESOLVED_VERSION}". This is a lookup failure, not a version - do not treat it as one.`
@@ -10014,7 +10052,7 @@ function readRenderProvenance(tags) {
10014
10052
  var ENCODER_PRESETS = {
10015
10053
  draft: { preset: "ultrafast", quality: 28, codec: "h264" },
10016
10054
  standard: { preset: "medium", quality: 18, codec: "h264" },
10017
- high: { preset: "slow", quality: 15, codec: "h264" }
10055
+ high: { preset: "fast", quality: 15, codec: "h264" }
10018
10056
  };
10019
10057
  function appendEncodeTimeoutMessage(error, timedOut, timeoutMs) {
10020
10058
  if (!timedOut) return error;
@@ -11336,6 +11374,7 @@ import {
11336
11374
  unlinkSync
11337
11375
  } from "fs";
11338
11376
  import { createHash, randomUUID as randomUUID2 } from "crypto";
11377
+ import dns from "dns";
11339
11378
  import { BlockList, isIP } from "net";
11340
11379
  import { dirname as dirname4, extname as extname2, join as join10 } from "path";
11341
11380
  import { Readable, Transform } from "stream";
@@ -11634,6 +11673,42 @@ async function acquireCachePathLock(localPath, timeoutMs, signal) {
11634
11673
  }
11635
11674
  var REDIRECT_STATUSES = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
11636
11675
  var MAX_REDIRECTS = 5;
11676
+ var NON_PUBLIC_ADDRESS_CODE = "HF_NON_PUBLIC_ADDRESS";
11677
+ var publicOnlyLookup = (hostname, options, callback) => {
11678
+ dns.lookup(hostname, { ...options, all: true }, (error, answers) => {
11679
+ if (error) return callback(error, "", 0);
11680
+ if (answers.length === 0 || answers.some((a) => isBlockedNetworkHost(a.address.split("%")[0]))) {
11681
+ const refused = Object.assign(new Error("host resolves to a non-public address"), {
11682
+ code: NON_PUBLIC_ADDRESS_CODE
11683
+ });
11684
+ return callback(refused, "", 0);
11685
+ }
11686
+ if (options.all) return callback(null, answers);
11687
+ return callback(null, answers[0].address, answers[0].family);
11688
+ });
11689
+ };
11690
+ var undiciTransport;
11691
+ var fetchPublic = async (url, init) => {
11692
+ if (fetchGoesThroughEnvProxy()) return fetch(url, init);
11693
+ undiciTransport ??= import("undici").then(({ Agent, fetch: undiciFetch }) => {
11694
+ const dispatcher = new Agent({ connect: { lookup: publicOnlyLookup } });
11695
+ return (target, options) => undiciFetch(target, { ...options, dispatcher });
11696
+ });
11697
+ return (await undiciTransport)(url, init);
11698
+ };
11699
+ var downloadFetch = fetchPublic;
11700
+ function _setDownloadFetchForTests(replacement) {
11701
+ downloadFetch = replacement ?? fetchPublic;
11702
+ }
11703
+ function refusedNonPublicAddress(error) {
11704
+ for (let depth = 0; error && depth < 4; depth += 1) {
11705
+ if (typeof error === "object" && "code" in error && error.code === NON_PUBLIC_ADDRESS_CODE) {
11706
+ return true;
11707
+ }
11708
+ error = typeof error === "object" && "cause" in error ? error.cause : void 0;
11709
+ }
11710
+ return false;
11711
+ }
11637
11712
  function assertAllowedDownloadUrl(url, redirect) {
11638
11713
  try {
11639
11714
  assertPublicHttpsUrl(url);
@@ -11673,10 +11748,17 @@ async function fetchWithValidatedRedirects(initialUrl, controller) {
11673
11748
  let currentUrl = initialUrl;
11674
11749
  for (let redirects = 0; ; redirects += 1) {
11675
11750
  assertAllowedDownloadUrl(currentUrl, redirects > 0);
11676
- const response = await fetch(currentUrl, {
11751
+ const response = await downloadFetch(currentUrl, {
11677
11752
  signal: controller.signal,
11678
11753
  redirect: "manual",
11679
11754
  headers: { "accept-encoding": "identity" }
11755
+ }).catch((error) => {
11756
+ if (!refusedNonPublicAddress(error)) throw error;
11757
+ throw new UrlDownloadError(
11758
+ "http_rejected",
11759
+ false,
11760
+ redirects > 0 ? "Download redirect target is not permitted" : "Download URL is not permitted"
11761
+ );
11680
11762
  });
11681
11763
  if (!REDIRECT_STATUSES.has(response.status)) return { response, finalUrl: currentUrl };
11682
11764
  await cancelResponseBody(response);
@@ -14690,7 +14772,9 @@ async function measureVideoShownBoxes(page, videoIds, times) {
14690
14772
  const fullSize = /* @__PURE__ */ new Set();
14691
14773
  const gradedThroughGroup = (video) => {
14692
14774
  const groupId = video.getAttribute(groupAttr);
14693
- const group = groupId ? document.getElementById(groupId) : null;
14775
+ if (!groupId) return false;
14776
+ const scope = video.closest("[data-composition-id]");
14777
+ const group = scope && Array.from(scope.getElementsByTagName(groupTag)).find((g) => g.id === groupId) || document.getElementById(groupId);
14694
14778
  return group?.localName === groupTag && group.hasAttribute(gradingAttr);
14695
14779
  };
14696
14780
  const keepsFullSize = (video) => {
@@ -17606,7 +17690,9 @@ async function readWebGlVendorInfoFromCanvas(page) {
17606
17690
  // ../engine/src/services/parallelCoordinator.ts
17607
17691
  var MEMORY_PER_WORKER_MB = 1536;
17608
17692
  var HEAP_RESERVED_MB = 1024;
17609
- var HEAP_PER_WORKER_MB = 640;
17693
+ var HEAP_PER_WORKER_MB = 320;
17694
+ var DESKTOP_HEAP_PER_WORKER_MB = 640;
17695
+ var inDesktopApp = () => Boolean(process.versions.electron) || /^desktop\//.test(process.env.HYPERFRAMES_CLIENT ?? "");
17610
17696
  var APPLE_DISK_HEAP_PER_WORKER_MB = 128;
17611
17697
  var APPLE_DISK_CORES_PER_WORKER = 1.75;
17612
17698
  var APPLE_DISK_MAX_WORKERS = 8;
@@ -17661,10 +17747,14 @@ function computeWorkerSizing(totalFrames, requested, config) {
17661
17747
  const heapBasedWorkers = Math.max(
17662
17748
  1,
17663
17749
  Math.floor(
17664
- (heapLimitMb - HEAP_RESERVED_MB) / (appleDisk ? APPLE_DISK_HEAP_PER_WORKER_MB : HEAP_PER_WORKER_MB)
17750
+ (heapLimitMb - HEAP_RESERVED_MB) / (appleDisk ? APPLE_DISK_HEAP_PER_WORKER_MB : inDesktopApp() ? DESKTOP_HEAP_PER_WORKER_MB : HEAP_PER_WORKER_MB)
17665
17751
  )
17666
17752
  );
17667
- const cpuBasedWorkers = Math.max(1, cpuCount - 2);
17753
+ const cpuQuota = getCgroupCpuLimit();
17754
+ const cpuBasedWorkers = Math.max(
17755
+ 1,
17756
+ cpuQuota === null ? cpuCount - 2 : Math.min(cpuCount - 2, Math.floor(cpuQuota))
17757
+ );
17668
17758
  const memoryBasedWorkers = Math.max(1, Math.floor(totalMemoryMb * 0.5 / MEMORY_PER_WORKER_MB));
17669
17759
  const frameBasedWorkers = Math.floor(totalFrames / MIN_FRAMES_PER_WORKER);
17670
17760
  const captureCostMultiplier = Math.max(1, config?.captureCostMultiplier ?? 1);
@@ -18891,6 +18981,7 @@ export {
18891
18981
  closeCaptureSession,
18892
18982
  prepareCaptureSessionForReuse,
18893
18983
  getCompositionDuration,
18984
+ getCompositionLengthSource,
18894
18985
  percentileOf,
18895
18986
  getCapturePerfSummary,
18896
18987
  frameSequencePath,
@@ -18961,6 +19052,7 @@ export {
18961
19052
  writeUrlDownloadTelemetry,
18962
19053
  isBlockedNetworkHost,
18963
19054
  assertPublicHttpsUrl,
19055
+ _setDownloadFetchForTests,
18964
19056
  fetchPublicHttpsText,
18965
19057
  downloadToTemp,
18966
19058
  isHttpUrl,
@@ -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);
@@ -12,7 +12,7 @@ import {
12
12
  forceRefreshCredentials,
13
13
  resolveCloudAuthHeaders,
14
14
  resolveCloudBaseUrl
15
- } from "./chunk-VVDHSRKD.js";
15
+ } from "./chunk-PPMLF76Z.js";
16
16
  import {
17
17
  errorBox
18
18
  } from "./chunk-5ZBMHUY2.js";
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  refreshIfNeeded
9
- } from "./chunk-VVDHSRKD.js";
9
+ } from "./chunk-PPMLF76Z.js";
10
10
  import {
11
11
  buildAuthHeaders,
12
12
  envCredentialVar,
13
13
  isAuthError,
14
14
  isTokenExpired,
15
15
  tryResolveCredential
16
- } from "./chunk-7TWX4Y7I.js";
16
+ } from "./chunk-UVXIJYZY.js";
17
17
  import {
18
18
  rewriteSrcsetUrls
19
- } from "./chunk-FBQVRYMD.js";
19
+ } from "./chunk-4I7KQWZS.js";
20
20
  import {
21
21
  CSS_URL_RE,
22
22
  isNonRelativeUrl,
@@ -29,6 +29,9 @@ import {
29
29
  import {
30
30
  parseHTML
31
31
  } from "./chunk-GWTIFRF5.js";
32
+ import {
33
+ envProxyEnabled
34
+ } from "./chunk-QBXDU24O.js";
32
35
 
33
36
  // src/utils/projectLink.ts
34
37
  import { randomUUID } from "crypto";
@@ -272,8 +275,7 @@ function proxySupportHint() {
272
275
  const proxyConfigured = ["HTTPS_PROXY", "HTTP_PROXY", "https_proxy", "http_proxy"].some(
273
276
  (key) => Boolean(process.env[key]?.trim())
274
277
  );
275
- const proxyEnabled = process.env["NODE_USE_ENV_PROXY"] === "1" || process.execArgv.includes("--use-env-proxy") || process.env["NODE_OPTIONS"]?.split(/\s+/u).includes("--use-env-proxy") === true;
276
- if (!proxyConfigured || proxyEnabled) return "";
278
+ if (!proxyConfigured || envProxyEnabled()) return "";
277
279
  return ". Proxy variables are set but ignored by Node fetch; if this network requires them, retry with NODE_USE_ENV_PROXY=1 (Node 22.21+)";
278
280
  }
279
281
  function describeFetchFailure(error) {
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeFirstFrameColour,
9
9
  probeMediaMetadata
10
- } from "./chunk-LRYNDYAE.js";
10
+ } from "./chunk-5SZ2HRCW.js";
11
11
  import {
12
12
  alphaDecoderFor
13
13
  } from "./chunk-5S7W3TUO.js";
@@ -15,7 +15,7 @@ import {
15
15
  formatPreviewProxyBox,
16
16
  hdrToSdrToneMapFilter,
17
17
  isHeavyForPreview
18
- } from "./chunk-GFA5ZCVI.js";
18
+ } from "./chunk-AU7VGKCP.js";
19
19
  import {
20
20
  mkdirWithinProject,
21
21
  realProjectRoot,
@@ -4,6 +4,9 @@ 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
+ credentialPath
9
+ } from "./chunk-4WEWHZZO.js";
7
10
  import {
8
11
  c
9
12
  } from "./chunk-2GICKZ3I.js";
@@ -14,19 +17,6 @@ import {
14
17
  normalizeErrorMessage
15
18
  } from "./chunk-E63BDV4Z.js";
16
19
 
17
- // src/auth/paths.ts
18
- import { homedir } from "os";
19
- import { join } from "path";
20
- var CREDENTIAL_FILENAME = "credentials";
21
- function configDir() {
22
- const override = process.env["HEYGEN_CONFIG_DIR"];
23
- if (override && override.length > 0) return override;
24
- return join(homedir(), ".heygen");
25
- }
26
- function credentialPath() {
27
- return join(configDir(), CREDENTIAL_FILENAME);
28
- }
29
-
30
20
  // src/auth/errors.ts
31
21
  var AuthError = class extends Error {
32
22
  code;
@@ -1201,8 +1191,6 @@ async function safeText2(res) {
1201
1191
  }
1202
1192
 
1203
1193
  export {
1204
- configDir,
1205
- credentialPath,
1206
1194
  isAuthError,
1207
1195
  readStore,
1208
1196
  writeStore,
@@ -11,7 +11,7 @@ import {
11
11
  DEFAULT_REGISTRY_URL,
12
12
  fetchItemManifest,
13
13
  fetchRegistryManifest
14
- } from "./chunk-UR6QODTY.js";
14
+ } from "./chunk-YATFRFNH.js";
15
15
 
16
16
  // src/registry/resolver.ts
17
17
  function defaultWarn(message) {
@@ -11,7 +11,7 @@ import {
11
11
  PRORES_PROFILE_NAMES,
12
12
  appendRateCapArgs,
13
13
  isProresProfile
14
- } from "./chunk-LIOE46OG.js";
14
+ } from "./chunk-TDNZIFJ2.js";
15
15
  import {
16
16
  failUsage
17
17
  } from "./chunk-DP5LF7GF.js";
@@ -11,17 +11,17 @@ import {
11
11
  distroLabel,
12
12
  getFFmpegInstallHint,
13
13
  parseLddMissingLibs
14
- } from "./chunk-HQRI2NT3.js";
14
+ } from "./chunk-ST5EBZTO.js";
15
15
  import {
16
16
  ensureBrowser,
17
17
  findBrowser
18
- } from "./chunk-ZE57TSS6.js";
18
+ } from "./chunk-QRIC4WOO.js";
19
19
  import {
20
20
  runCancellableProcess
21
21
  } from "./chunk-X6JUUQCM.js";
22
22
  import {
23
23
  getFreeDiskMb
24
- } from "./chunk-5766TK7Q.js";
24
+ } from "./chunk-LAGZGKKN.js";
25
25
  import {
26
26
  FFMPEG_PATH_ENV,
27
27
  FFPROBE_PATH_ENV,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-VILE6GFD.js";
9
+ } from "./chunk-NWD2KKM5.js";
10
10
  import {
11
11
  DEFAULT_HISTORY_ROOT,
12
12
  HistoryBusyError,
@@ -8,14 +8,14 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-UR6QODTY.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-GFA5ZCVI.js";
18
+ } from "./chunk-AU7VGKCP.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-OFQWTKPW.js";
@@ -9,27 +9,27 @@ import {
9
9
  } from "./chunk-TQBQYO4L.js";
10
10
  import {
11
11
  resolveProject
12
- } from "./chunk-VILE6GFD.js";
12
+ } from "./chunk-NWD2KKM5.js";
13
13
  import {
14
14
  serveStaticProjectHtml
15
- } from "./chunk-GVHEOOGM.js";
15
+ } from "./chunk-Z3HHAFEP.js";
16
16
  import {
17
17
  AUDIT_SEEK_OPTIONS,
18
18
  installPageFunctionGuard,
19
19
  seekCompositionTimeline,
20
20
  waitForCompositionFonts,
21
21
  waitForRuntimeReady
22
- } from "./chunk-FC6BAQV5.js";
22
+ } from "./chunk-R7EB4M5P.js";
23
23
  import {
24
24
  gotoWhenSent
25
- } from "./chunk-7J6LQ3SQ.js";
25
+ } from "./chunk-SGTEKMJW.js";
26
26
  import {
27
27
  pageNavigationTimeoutMs
28
- } from "./chunk-3AAAA3KH.js";
28
+ } from "./chunk-62ER6HGC.js";
29
29
  import {
30
30
  launchManagedBrowser,
31
31
  resolveManagedGpuMode
32
- } from "./chunk-53ERMOK2.js";
32
+ } from "./chunk-5CXGDO74.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-XWMY7FIW.js";
42
+ } from "./chunk-H47FQDFU.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-YUM2ODOP.js");
702
+ const { bundleToSingleHtml } = await import("./compiler-CG2EXM75.js");
703
703
  return bundleToSingleHtml(projectDir);
704
704
  }
705
705
  async function alignViewportToComposition(page, url) {
@@ -716,15 +716,15 @@ async function alignViewportToComposition(page, url) {
716
716
  await gotoWhenSent(page, url, pageNavigationTimeoutMs());
717
717
  }
718
718
  async function runLayoutAudit(projectDir, opts) {
719
- const { ensureBrowser } = await import("./manager-IZIK7BHN.js");
719
+ const { ensureBrowser } = await import("./manager-LXWVBDLM.js");
720
720
  const puppeteer = await import("puppeteer-core");
721
- const { buildChromeArgs } = await import("./src-E467QUBK.js");
721
+ const { buildChromeArgs } = await import("./src-LAO5IGRI.js");
722
722
  const {
723
723
  assertWebGpuAdapterAvailable,
724
724
  compositionRequiresWebGpu,
725
725
  resolveLocalBrowserGpuMode,
726
726
  resolveLocalWebGpu
727
- } = await import("./gpuPolicy-GTBFSUHB.js");
727
+ } = await import("./gpuPolicy-4ERRTA5U.js");
728
728
  const html = await bundleProjectHtml(projectDir);
729
729
  const server = await serveStaticProjectHtml(
730
730
  projectDir,