hyperframes 0.9.1 → 0.9.3

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 (214) hide show
  1. package/dist/{add-LA6SUF76.js → add-NWSVMTMY.js} +12 -12
  2. package/dist/{agentPromptGenerator-JJU55BVC.js → agentPromptGenerator-7WPRSD2B.js} +6 -6
  3. package/dist/{animatedGifPrep-AI2PWTUM.js → animatedGifPrep-ARJB7VKZ.js} +6 -6
  4. package/dist/api.js +19 -19
  5. package/dist/{asset-5Y5I2SRR.js → asset-PMV7EMPY.js} +2 -2
  6. package/dist/{assetCataloger-ZJL3QF7H.js → assetCataloger-CW5ZF3EA.js} +7 -7
  7. package/dist/{audio-PTC232QG.js → audio-AYMZG3JI.js} +14 -14
  8. package/dist/{auth-SSVSRIDE.js → auth-YCKUAZMW.js} +1 -1
  9. package/dist/{autoUpdate-RTYJ3N6U.js → autoUpdate-C3OVDSJ7.js} +2 -2
  10. package/dist/{backgroundChecks-5QXE3I27.js → backgroundChecks-27PYCU56.js} +3 -3
  11. package/dist/backgroundChecksWorker.js +3 -3
  12. package/dist/{batchRender-URRYTZUE.js → batchRender-PBG4CGXF.js} +3 -3
  13. package/dist/{beats-T3VU7WB6.js → beats-WETFDMWG.js} +8 -8
  14. package/dist/{benchmark-SHL3OH6E.js → benchmark-VIISD4NB.js} +8 -8
  15. package/dist/{browser-AHPIKCDX.js → browser-FWDS345L.js} +3 -3
  16. package/dist/{bundleWithLocalizedFonts-YWOC66CY.js → bundleWithLocalizedFonts-KBSF7WWN.js} +2 -2
  17. package/dist/{capture-FMGRTD4U.js → capture-4XJA235Z.js} +11 -11
  18. package/dist/{capture-G4O5MXQB.js → capture-KLDMUL25.js} +3 -3
  19. package/dist/{captureCompositionFrame-BUPQVJVL.js → captureCompositionFrame-TL5DY3IC.js} +11 -11
  20. package/dist/{catalog-V6B6RXFE.js → catalog-O2JZGWCQ.js} +12 -12
  21. package/dist/{catch-up-7KLU3YPA.js → catch-up-4LHO7VC5.js} +4 -4
  22. package/dist/{check-VM7ET6MB.js → check-GH3ESQCJ.js} +39 -39
  23. package/dist/{checkAudio-RXWKXU62.js → checkAudio-GMQUD43Q.js} +9 -9
  24. package/dist/{checkBrowser-YH43NV46.js → checkBrowser-EXB55OSU.js} +32 -32
  25. package/dist/{chunk-X67ACTZ7.js → chunk-3EUFRJDT.js} +7 -4
  26. package/dist/{chunk-DRKW2UF7.js → chunk-3PPJNMDL.js} +1 -1
  27. package/dist/{chunk-RGM5BCE3.js → chunk-3SQLCJBU.js} +1 -1
  28. package/dist/{chunk-VV3F4QJP.js → chunk-3TSTVDBN.js} +1 -1
  29. package/dist/{chunk-DKEVSKLR.js → chunk-4JRB7Z3Y.js} +1 -1
  30. package/dist/{chunk-EEOCX42I.js → chunk-4NICETCR.js} +1 -1
  31. package/dist/{chunk-QM6CELHP.js → chunk-4YHANIGZ.js} +3 -3
  32. package/dist/{chunk-TEOGTHIZ.js → chunk-52IMFRLQ.js} +14 -13
  33. package/dist/{chunk-FWOYWSRK.js → chunk-6MSBCAWN.js} +3 -3
  34. package/dist/{chunk-UZJY5S6C.js → chunk-6YT7HWVE.js} +1 -1
  35. package/dist/{chunk-6P3WIVAB.js → chunk-A37ZYNF2.js} +1 -1
  36. package/dist/{chunk-CXDZE5PF.js → chunk-AOZGJMJV.js} +1 -1
  37. package/dist/{chunk-Z4QZCJPX.js → chunk-AQ7RL2LW.js} +2 -2
  38. package/dist/{chunk-ZFQSXMX6.js → chunk-BGHKFD3T.js} +1 -1
  39. package/dist/{chunk-P3TR5I66.js → chunk-BJWGYU5Y.js} +2 -2
  40. package/dist/{chunk-UZNF24QH.js → chunk-DV5HERBR.js} +2 -2
  41. package/dist/{chunk-466STTBD.js → chunk-ELWTUL6P.js} +2 -2
  42. package/dist/{chunk-AEQV7SBT.js → chunk-EP4SZ4Q7.js} +1 -1
  43. package/dist/{chunk-F53TMQSD.js → chunk-F6OEVGWZ.js} +1 -1
  44. package/dist/{chunk-HV23H4FI.js → chunk-FHZUYZE7.js} +1 -1
  45. package/dist/{chunk-MILRLELA.js → chunk-GDYVJQIZ.js} +13 -13
  46. package/dist/{chunk-MGWULMAO.js → chunk-GUZDUCWN.js} +2 -2
  47. package/dist/{chunk-3S26BVBZ.js → chunk-GYH3IKW2.js} +3 -3
  48. package/dist/{chunk-LIUJACWM.js → chunk-HYRFAJAT.js} +1 -1
  49. package/dist/{chunk-HBQLT4LW.js → chunk-J6ILNTQN.js} +1 -1
  50. package/dist/{chunk-MKK3VHR6.js → chunk-JDM247Z3.js} +7 -7
  51. package/dist/{chunk-MWFZDRBX.js → chunk-JGLOO2TU.js} +5 -5
  52. package/dist/{chunk-YQVLBT2P.js → chunk-K2A3YASA.js} +5 -5
  53. package/dist/{chunk-3BRY4FWJ.js → chunk-KLLMWGA6.js} +1 -1
  54. package/dist/{chunk-RL5WHPX3.js → chunk-KSX76LZR.js} +51 -33
  55. package/dist/{chunk-OOYETMCB.js → chunk-KW5QUEOQ.js} +19 -19
  56. package/dist/{chunk-DWUIMFJB.js → chunk-KXKSG7YI.js} +2 -2
  57. package/dist/{chunk-MU2KWMSZ.js → chunk-L3OZV3UQ.js} +2 -2
  58. package/dist/{chunk-LFZ3QUCU.js → chunk-LF6Y2NW2.js} +1 -1
  59. package/dist/{chunk-4EBPYENN.js → chunk-LQCC4C64.js} +9 -9
  60. package/dist/{chunk-YABUBACD.js → chunk-LYRR5QEW.js} +1 -1
  61. package/dist/{chunk-TFB3I26A.js → chunk-LZRMO35E.js} +1 -1
  62. package/dist/{chunk-XOANWVIT.js → chunk-M35ASY5D.js} +1 -1
  63. package/dist/{chunk-QVIWKU4E.js → chunk-M4ZBZSNI.js} +20 -8
  64. package/dist/chunk-MFSRGVZG.js +5030 -0
  65. package/dist/{chunk-3TTZHRQV.js → chunk-N3SUUHBH.js} +1 -1
  66. package/dist/{chunk-CIB53K5W.js → chunk-N5RKJQEH.js} +1 -1
  67. package/dist/{chunk-GFD2HHF2.js → chunk-NASVSJQK.js} +1 -0
  68. package/dist/{chunk-TCC5GD2O.js → chunk-NJG3TE3S.js} +3 -3
  69. package/dist/{chunk-V3LI4PZ7.js → chunk-NJQRQEDK.js} +2 -2
  70. package/dist/{chunk-DT4WPURD.js → chunk-NLDG4RPK.js} +1 -1
  71. package/dist/{chunk-3FZJ36DK.js → chunk-NNGOKPDX.js} +1 -1
  72. package/dist/{chunk-7Y7IIMYF.js → chunk-NZ35JIRT.js} +9 -9
  73. package/dist/{chunk-KIHELC2D.js → chunk-OS7TTSND.js} +1 -1
  74. package/dist/{chunk-6CZ24YJW.js → chunk-P6HALV2D.js} +1 -1
  75. package/dist/{chunk-VV5NU3XP.js → chunk-QN4CNGPQ.js} +1 -1
  76. package/dist/{chunk-RA6V3CEH.js → chunk-QUSKUXVE.js} +2 -2
  77. package/dist/{chunk-AGYOQ6FS.js → chunk-RX6JF3NL.js} +3 -3
  78. package/dist/{chunk-Q22ZZPA7.js → chunk-RXYZSD7A.js} +2 -2
  79. package/dist/{chunk-JEFQMJQR.js → chunk-RZMWWOS7.js} +1 -1
  80. package/dist/{chunk-UJFCWYS6.js → chunk-RZPY6MDM.js} +1 -1
  81. package/dist/{chunk-64SHPFOU.js → chunk-SK3PA7HC.js} +2 -2
  82. package/dist/{chunk-IOEZGUKO.js → chunk-SRYZBN4K.js} +2 -2
  83. package/dist/{chunk-EE3ZBV3S.js → chunk-SUCPNYHK.js} +50 -3
  84. package/dist/{chunk-WYKRGEDD.js → chunk-TABWG4IT.js} +8 -1
  85. package/dist/{chunk-SJ2GRRBB.js → chunk-TVHLRGPF.js} +7 -7
  86. package/dist/{chunk-KUU6CLU7.js → chunk-UBVGTHQP.js} +11 -8
  87. package/dist/{chunk-3BG7L7NU.js → chunk-UEZAP3BO.js} +1 -1
  88. package/dist/{chunk-743K5PLC.js → chunk-UNNWK2JI.js} +2 -2
  89. package/dist/{chunk-G3GYYN42.js → chunk-UPI2EEOL.js} +1 -1
  90. package/dist/{chunk-OYJPQJLV.js → chunk-UREVHKCW.js} +43 -3
  91. package/dist/{chunk-ZM5PG3S5.js → chunk-VCJ3RLHQ.js} +2 -2
  92. package/dist/{chunk-G6OKQMJI.js → chunk-VEIGTKYZ.js} +10 -1
  93. package/dist/{chunk-KVYAHFDT.js → chunk-VUANJYUD.js} +2 -2
  94. package/dist/{chunk-XYE4IIPM.js → chunk-WFMYK76M.js} +4 -4
  95. package/dist/{chunk-MKSOLUHC.js → chunk-WGY5AKV4.js} +1 -1
  96. package/dist/{chunk-LIP2WQZD.js → chunk-WJX4A3IH.js} +13 -13
  97. package/dist/{chunk-FG54EGT2.js → chunk-X5HZ56HA.js} +1 -1
  98. package/dist/{chunk-TQ7IBVEN.js → chunk-XMTPFGPD.js} +1 -1
  99. package/dist/{chunk-UFZ6CGVH.js → chunk-YMURBIUA.js} +47 -13
  100. package/dist/{chunk-ZHC2FFUL.js → chunk-YQLIUSY7.js} +3 -3
  101. package/dist/{chunk-IVNAVSZU.js → chunk-YXCDL3RD.js} +1 -1
  102. package/dist/{chunk-LXGQEXUG.js → chunk-Z3KQYFUV.js} +3 -3
  103. package/dist/{chunk-6TYB2NGI.js → chunk-ZG3N2RPH.js} +1 -1
  104. package/dist/{clean-MQDQZQYG.js → clean-LC6RS4IG.js} +17 -17
  105. package/dist/cli.js +62 -60
  106. package/dist/{cloud-C55BDE2U.js → cloud-PIRJVOK5.js} +4 -4
  107. package/dist/{cloudrun-SSR4U6SW.js → cloudrun-BYQPGHTF.js} +4 -4
  108. package/dist/{compare-3LAT2JAL.js → compare-2ADTV43G.js} +29 -29
  109. package/dist/{compiler-VG3XLVW5.js → compiler-UEPRJKBD.js} +3 -3
  110. package/dist/{component-DFEJJRMG.js → component-BE7DH74D.js} +3 -3
  111. package/dist/{compositions-3TV3ZLYE.js → compositions-HH34BEOX.js} +10 -10
  112. package/dist/{curve-ZEZYGDID.js → curve-JX44LODX.js} +10 -10
  113. package/dist/{cuts-3GFYYAB5.js → cuts-IIXW7MYG.js} +11 -11
  114. package/dist/{delete-SAJEM2GS.js → delete-HLYUSNAQ.js} +2 -2
  115. package/dist/{deploy-ITEXLN64.js → deploy-6TJ4IYL5.js} +1 -1
  116. package/dist/{describeProject-2AOSIR73.js → describeProject-RI2A2JDQ.js} +7 -7
  117. package/dist/{diff-KBY6U375.js → diff-KIYXNVXE.js} +22 -22
  118. package/dist/{dist-33RPV7WP.js → dist-6FIIUR6D.js} +2 -2
  119. package/dist/{dist-YZJ25VQL.js → dist-IHPMKRYN.js} +1 -1
  120. package/dist/{doctor-KPPD5QGL.js → doctor-BW5SXYD6.js} +10 -10
  121. package/dist/{energy-CMQOFKWI.js → energy-Q6U4IMQP.js} +11 -11
  122. package/dist/{events-NEEC6EWY.js → events-4IWKLOCR.js} +2 -2
  123. package/dist/{events-JJ56QYE7.js → events-FD7TXLK7.js} +12 -12
  124. package/dist/{events-E7PDBLVA.js → events-P5SAJJVG.js} +3 -3
  125. package/dist/{extract-QC4CVKFU.js → extract-P5TKDTTW.js} +11 -11
  126. package/dist/{face-BCGROEQN.js → face-3FTPC2ZL.js} +11 -11
  127. package/dist/{feedback-FRYTNOKI.js → feedback-NL5UYUHT.js} +6 -6
  128. package/dist/{ffmpeg-ECBNDC2O.js → ffmpeg-BOXLIJAQ.js} +6 -6
  129. package/dist/{figma-VNEBULDB.js → figma-XWTLQXZW.js} +3 -3
  130. package/dist/fontLocalizeCli.js +10 -10
  131. package/dist/{frames-2SW5DKKS.js → frames-ZILKTSKO.js} +12 -12
  132. package/dist/{generate-RICGYHAF.js → generate-7UKX6ABW.js} +13 -13
  133. package/dist/{get-QZ4FJSK4.js → get-6JV7KGTM.js} +2 -2
  134. package/dist/{gpuPolicy-ZNG3KI5O.js → gpuPolicy-C6SQ5IY3.js} +6 -6
  135. package/dist/{grade-compare-4MPYWWC3.js → grade-compare-AMTWNUT4.js} +30 -30
  136. package/dist/{heifImagePrep-PU55SI4G.js → heifImagePrep-VL7KOCKD.js} +7 -7
  137. package/dist/{help-WJHI4CY7.js → help-6TW5UXKE.js} +1 -1
  138. package/dist/{history-25V6X7K2.js → history-BBFCPEFJ.js} +6 -6
  139. package/dist/hyperframe.manifest.json +1 -1
  140. package/dist/hyperframe.runtime.iife.js +70 -70
  141. package/dist/hyperframes-player.global.js +1 -1
  142. package/dist/{info-GEIOUKEJ.js → info-JACXETYM.js} +7 -7
  143. package/dist/{init-XIUMCSHF.js → init-JMYL22Y5.js} +27 -27
  144. package/dist/{ink-GC3PNMSW.js → ink-AW2XKRLO.js} +11 -11
  145. package/dist/{inspect-7N73GQLN.js → inspect-5WOMJTHH.js} +30 -30
  146. package/dist/{installer-76PUUFUA.js → installer-WRIPRO7P.js} +4 -4
  147. package/dist/{keyframes-KTFKX2D5.js → keyframes-GTBNJNY4.js} +6 -6
  148. package/dist/{lambda-C77S2WBA.js → lambda-Y4WNMTV5.js} +10 -10
  149. package/dist/{layout-OBZ3MIS6.js → layout-5KBIO2CY.js} +30 -30
  150. package/dist/{lint-6Z4AU6VJ.js → lint-YCZFN7EC.js} +7 -7
  151. package/dist/{lintProject-JCKFNQZM.js → lintProject-SG4KRUAV.js} +1 -1
  152. package/dist/{list-RWZ5PFV5.js → list-DQCQINX4.js} +2 -2
  153. package/dist/{localPage-3XYLIQKZ.js → localPage-GGIDTF4A.js} +6 -6
  154. package/dist/{login-NG3RBTGV.js → login-W6HPKUCC.js} +4 -4
  155. package/dist/{look-TVUFEWL2.js → look-J3EIOKIR.js} +11 -11
  156. package/dist/{manager-QUXH76BC.js → manager-GXCIO6AV.js} +7 -7
  157. package/dist/{measure-AG2ZSWIX.js → measure-CN2A3IZY.js} +11 -11
  158. package/dist/{media-treatment-IZ6NWGZY.js → media-treatment-UY5LCNM5.js} +12 -12
  159. package/dist/{media-use-6ECM25H6.js → media-use-DLUMWJDU.js} +1 -1
  160. package/dist/{models-JRLQQ6EJ.js → models-6JWAVFZX.js} +10 -10
  161. package/dist/{motionShot-I4AUSEQN.js → motionShot-2FNVPAXB.js} +14 -14
  162. package/dist/{normalize-audio-56ZQSWFL.js → normalize-audio-6KRLNKU5.js} +8 -8
  163. package/dist/{open-65XKMXFS.js → open-K5T3DAX5.js} +12 -12
  164. package/dist/{parakeetRunner-4TX6EWS5.js → parakeetRunner-FRVDYFI7.js} +11 -11
  165. package/dist/{pipeline-BJUOIKB4.js → pipeline-HZTSP2O3.js} +9 -9
  166. package/dist/{play-ZKZ2XWYK.js → play-QJGTMJJU.js} +21 -21
  167. package/dist/{preflight-2HVP2YKG.js → preflight-4UCEW3VI.js} +7 -7
  168. package/dist/{present-IFIEJJDE.js → present-HKTEDR2P.js} +16 -16
  169. package/dist/{preview-C22ZXQ7K.js → preview-LK4K5ET7.js} +18 -18
  170. package/dist/{probe-GFJCK7B6.js → probe-5FQQXNKV.js} +10 -10
  171. package/dist/{producer-SWMMOBS7.js → producer-GVXPQQ2H.js} +1 -1
  172. package/dist/{projectConfig-KQAF253E.js → projectConfig-HR6DG3LV.js} +7 -7
  173. package/dist/{publication-4TBCB2O6.js → publication-ZDDDABRK.js} +2 -2
  174. package/dist/{publish-BAG4KFYS.js → publish-UTSFWLH5.js} +10 -10
  175. package/dist/{remove-background-SPIM5UNR.js → remove-background-UCI5SJ7B.js} +10 -10
  176. package/dist/{render-HWXYMZMU.js → render-H66JS3A3.js} +5 -5
  177. package/dist/{render-ZXX3VCER.js → render-PXFSYPTM.js} +33 -33
  178. package/dist/{render-S2VA65IJ.js → render-RJLWIVGX.js} +15 -15
  179. package/dist/{render-batch-ATLJKRLE.js → render-batch-Q2LHYTF5.js} +5 -5
  180. package/dist/renderSetupWorker.js +1 -1
  181. package/dist/{resolver-KU4XYZBR.js → resolver-6WC7RO7O.js} +5 -5
  182. package/dist/{sherpa-VI2AAWOK.js → sherpa-RPI2FY7W.js} +10 -10
  183. package/dist/skills/hyperframes/SKILL.md +1 -1
  184. package/dist/skills/hyperframes/references/skill-lifecycle.md +1 -1
  185. package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -1
  186. package/dist/skills/media-use/references/heygen.md +4 -4
  187. package/dist/{skills-F5GLTKRO.js → skills-5GES277Y.js} +5 -5
  188. package/dist/{skillsUpdateCheck-4US4SMPP.js → skillsUpdateCheck-B2M6U2XL.js} +3 -3
  189. package/dist/{snapshot-47DSSS6S.js → snapshot-KG7YZVMZ.js} +35 -35
  190. package/dist/{src-TTXATWIY.js → src-B644ONLF.js} +5 -5
  191. package/dist/{src-BADMTJQD.js → src-KYGXTF6B.js} +9 -9
  192. package/dist/{staticProjectServer-N2VV2CPE.js → staticProjectServer-G3D4J7AM.js} +19 -19
  193. package/dist/studio/assets/{hyperframes-player-D2rjxvnX.js → hyperframes-player-BHCO0AJz.js} +1 -1
  194. package/dist/studio/assets/{index-Dh1BiGcb.js → index-CWzE624c.js} +155 -155
  195. package/dist/studio/assets/{index-CgtbZxHa.js → index-VhjEqQ4-.js} +1 -1
  196. package/dist/studio/index.html +1 -1
  197. package/dist/{studio-api-4VZRUVAJ.js → studio-api-OEZIX2NY.js} +17 -10
  198. package/dist/{studioServer-J55HVAF6.js → studioServer-MRXZ7ESE.js} +49 -49
  199. package/dist/{sync-52R4DHUE.js → sync-CFHYEHZY.js} +11 -11
  200. package/dist/{telemetry-ELNF3NFD.js → telemetry-PEE4QWFW.js} +3 -3
  201. package/dist/templates/_shared/AGENTS.md +1 -0
  202. package/dist/templates/_shared/CLAUDE.md +1 -0
  203. package/dist/{timeline-MWMMKAPM.js → timeline-PXGMJPF5.js} +20 -20
  204. package/dist/{tokens-NQB2AF4K.js → tokens-D4527YUF.js} +2 -2
  205. package/dist/{transcribe-ZUF2OFS4.js → transcribe-JAQAME5S.js} +17 -17
  206. package/dist/{transcribe-YHKJ4WYP.js → transcribe-K4AYVYPV.js} +9 -9
  207. package/dist/{updateCheck-JDBFGDEG.js → updateCheck-KK2T5QGE.js} +2 -2
  208. package/dist/{upgrade-REBAN2Q2.js → upgrade-WTE3UGLS.js} +2 -2
  209. package/dist/{urlDownloader-2HGS4OFI.js → urlDownloader-3OVTM6UV.js} +5 -5
  210. package/dist/{validate-HADI32OP.js → validate-PIGAXOXV.js} +23 -23
  211. package/dist/{video-3GOOXUVC.js → video-QKOH7GUF.js} +7 -7
  212. package/dist/warmCheck.js +39 -39
  213. package/package.json +1 -1
  214. package/dist/chunk-HIULMAN3.js +0 -5030
@@ -19,7 +19,7 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-TCC5GD2O.js";
22
+ } from "./chunk-NJG3TE3S.js";
23
23
  import {
24
24
  DEFAULT_TARGET_LUFS,
25
25
  absoluteLoudnessPlan,
@@ -28,7 +28,7 @@ import {
28
28
  requestedProjectPath,
29
29
  requiredFfmpeg,
30
30
  resolveLocalAudioPath
31
- } from "./chunk-Z4QZCJPX.js";
31
+ } from "./chunk-AQ7RL2LW.js";
32
32
  import {
33
33
  MEDIA_LINK_ATTR,
34
34
  relinkSplitHalves
@@ -55,11 +55,11 @@ import {
55
55
  scanProjectMedia,
56
56
  shouldPrewarmProxy,
57
57
  waitForProxy
58
- } from "./chunk-QVIWKU4E.js";
58
+ } from "./chunk-M4ZBZSNI.js";
59
59
  import {
60
60
  probeAudioTrack,
61
61
  probeMediaMetadata
62
- } from "./chunk-F53TMQSD.js";
62
+ } from "./chunk-F6OEVGWZ.js";
63
63
  import {
64
64
  HistoryBusyError,
65
65
  MAX_WINDOW_IDLE_MS,
@@ -96,8 +96,9 @@ import {
96
96
  replaceFileAtomically
97
97
  } from "./chunk-A4ZTSQLW.js";
98
98
  import {
99
+ openRangeEnd,
99
100
  parseEncoderOptions
100
- } from "./chunk-G6OKQMJI.js";
101
+ } from "./chunk-VEIGTKYZ.js";
101
102
  import {
102
103
  STUDIO_MANUAL_EDITS_PATH
103
104
  } from "./chunk-EVMY7IPL.js";
@@ -115,7 +116,7 @@ import {
115
116
  ensureHfIds,
116
117
  stampHfIdsInPlace,
117
118
  stripSdrPngColourTags
118
- } from "./chunk-ZM5PG3S5.js";
119
+ } from "./chunk-VCJ3RLHQ.js";
119
120
  import {
120
121
  PREVIEW_PROXY_BOX_PARAM,
121
122
  PREVIEW_PROXY_LIGHT_PARAM,
@@ -127,7 +128,7 @@ import {
127
128
  fpsToNumber,
128
129
  parseFps,
129
130
  parsePreviewProxyBox
130
- } from "./chunk-VV3F4QJP.js";
131
+ } from "./chunk-3TSTVDBN.js";
131
132
  import {
132
133
  GSAP_BASE_URL_META,
133
134
  gsapCdnDist,
@@ -149,7 +150,7 @@ import {
149
150
  resolveRateSpec,
150
151
  sourceTimeAt,
151
152
  stripEmbeddedRuntimeScripts
152
- } from "./chunk-HIULMAN3.js";
153
+ } from "./chunk-MFSRGVZG.js";
153
154
  import {
154
155
  ProjectRootMissingError,
155
156
  folderGone,
@@ -194,7 +195,7 @@ import {
194
195
  simple
195
196
  } from "./chunk-WC4MTXGN.js";
196
197
 
197
- // ../studio-server/dist/chunk-FJBJJURY.js
198
+ // ../studio-server/dist/chunk-7ROCGO5U.js
198
199
  import { createHash } from "crypto";
199
200
  import { closeSync, constants, fstatSync, openSync, readFileSync, writeFileSync } from "fs";
200
201
  import { dirname, join } from "path";
@@ -202,36 +203,51 @@ var isCompositionSource = (html) => /data-composition-id\s*=/.test(html);
202
203
  var STAMP_RECORD = join(".hyperframes", "hf-ids-stamped.json");
203
204
  var contentHash = (text2) => createHash("sha1").update(text2).digest("base64url");
204
205
  function stampProjectHfIds(projectDir) {
206
+ const pass = stampPass(projectDir);
207
+ while (!pass.next().done) ;
208
+ }
209
+ async function stampProjectHfIdsAsync(projectDir) {
210
+ const pass = stampPass(projectDir);
211
+ while (!pass.next().done) await new Promise((resolve7) => setImmediate(resolve7));
212
+ }
213
+ function* stampPass(projectDir) {
205
214
  const recordPath = join(projectDir, STAMP_RECORD);
206
- let last = {};
207
- try {
208
- last = JSON.parse(readFileSync(recordPath, "utf-8"));
209
- } catch {
210
- }
215
+ const last = readStampRecord(recordPath);
211
216
  const next = {};
212
217
  for (const file of walkDir(projectDir)) {
213
218
  if (!file.endsWith(".html") || isInHiddenOrVendorDir(file)) continue;
214
- const absPath = join(projectDir, file);
215
- let html;
216
- try {
217
- html = readFileSync(absPath, "utf-8");
218
- } catch {
219
- continue;
220
- }
221
- let hash = contentHash(html);
222
- if (last[file] !== hash && isCompositionSource(html)) {
223
- const stamped = stampFileHfIds(absPath);
224
- if (stamped === null) continue;
225
- hash = contentHash(stamped);
226
- }
227
- next[file] = hash;
219
+ const hash = hashAfterStamp(join(projectDir, file), last[file]);
220
+ if (hash !== null) next[file] = hash;
221
+ yield;
228
222
  }
223
+ writeStampRecord(projectDir, recordPath, next);
224
+ }
225
+ function readStampRecord(recordPath) {
226
+ try {
227
+ return JSON.parse(readFileSync(recordPath, "utf-8"));
228
+ } catch {
229
+ return {};
230
+ }
231
+ }
232
+ function writeStampRecord(projectDir, recordPath, next) {
229
233
  try {
230
234
  mkdirWithinProject(projectDir, dirname(recordPath));
231
235
  writeFileSync(recordPath, JSON.stringify(next));
232
236
  } catch {
233
237
  }
234
238
  }
239
+ function hashAfterStamp(absPath, recorded) {
240
+ let html;
241
+ try {
242
+ html = readFileSync(absPath, "utf-8");
243
+ } catch {
244
+ return null;
245
+ }
246
+ const hash = contentHash(html);
247
+ if (recorded === hash || !isCompositionSource(html)) return hash;
248
+ const stamped = stampFileHfIds(absPath);
249
+ return stamped === null ? null : contentHash(stamped);
250
+ }
235
251
  function openNoFollow(filePath, flags) {
236
252
  const noFollow = constants.O_NOFOLLOW ?? 0;
237
253
  try {
@@ -324,7 +340,7 @@ function clearElementScreenshotIsolation() {
324
340
  page.__hfThumbnailFaded = [];
325
341
  }
326
342
 
327
- // ../studio-server/dist/chunk-JVMMZB22.js
343
+ // ../studio-server/dist/chunk-PN2VGFAA.js
328
344
  import { resolve } from "path";
329
345
  function isAutoProxyEnabled(adapter) {
330
346
  return adapter.autoProxy !== false;
@@ -5601,7 +5617,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
5601
5617
  let block = extractGsapScriptBlock(html);
5602
5618
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
5603
5619
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
5604
- const { GSAP_CDN } = await import("./dist-33RPV7WP.js");
5620
+ const { GSAP_CDN } = await import("./dist-6FIIUR6D.js");
5605
5621
  const bootstrap = [
5606
5622
  `<script src="${GSAP_CDN}"></script>`,
5607
5623
  "<script>",
@@ -7998,9 +8014,10 @@ ${etag}`;
7998
8014
  if (c.req.query(PREVIEW_PROXY_RETRY_PARAM) !== void 0) {
7999
8015
  retryProxyCopy(project.dir, file, proxyVariant, proxyBox);
8000
8016
  }
8001
- const priority = c.req.header(PREVIEW_PROXY_PRIORITY_HEADER) === "1";
8017
+ const asked = c.req.header(PREVIEW_PROXY_PRIORITY_HEADER);
8018
+ const urgency = asked === "0" ? { background: true } : { priority: asked === "1" };
8002
8019
  servedPath = await waitForProxy(
8003
- resolveProxy(project.dir, file, proxyVariant, proxyBox, { priority }),
8020
+ resolveProxy(project.dir, file, proxyVariant, proxyBox, urgency),
8004
8021
  0
8005
8022
  );
8006
8023
  } catch (err) {
@@ -8036,7 +8053,7 @@ ${etag}`;
8036
8053
  const match = rangeHeader ? /bytes=(\d+)-(\d*)/.exec(rangeHeader) : null;
8037
8054
  if (match) {
8038
8055
  const start = parseInt(match[1], 10);
8039
- const end = match[2] ? parseInt(match[2], 10) : totalSize - 1;
8056
+ const end = match[2] ? parseInt(match[2], 10) : openRangeEnd(start, totalSize - 1, servedContentType);
8040
8057
  const safeEnd = Math.min(end, totalSize - 1);
8041
8058
  if (start > safeEnd) {
8042
8059
  return new Response(null, {
@@ -10197,6 +10214,7 @@ function updateBackgroundRemovalProgress(state, event) {
10197
10214
 
10198
10215
  export {
10199
10216
  stampProjectHfIds,
10217
+ stampProjectHfIdsAsync,
10200
10218
  getElementScreenshotClip,
10201
10219
  clearElementScreenshotIsolation,
10202
10220
  injectMediaCodecMapIntoHtml,
@@ -17,7 +17,7 @@ import {
17
17
  finishCheckSnapshots,
18
18
  preResolveHostileMediaProxies,
19
19
  rectToBbox
20
- } from "./chunk-LIP2WQZD.js";
20
+ } from "./chunk-WJX4A3IH.js";
21
21
  import {
22
22
  CONTENT_OVERLAP_HELD_ERROR_MS,
23
23
  DEFAULT_MAX_STATIC_SEC,
@@ -38,11 +38,11 @@ import {
38
38
  mergeSampleTimes,
39
39
  parseAt,
40
40
  readMotionSpec
41
- } from "./chunk-4EBPYENN.js";
41
+ } from "./chunk-LQCC4C64.js";
42
42
  import {
43
43
  collectProjectMedia,
44
44
  mediaPath
45
- } from "./chunk-UZNF24QH.js";
45
+ } from "./chunk-DV5HERBR.js";
46
46
  import {
47
47
  findingAtRoot,
48
48
  findingElementKey,
@@ -51,13 +51,13 @@ import {
51
51
  } from "./chunk-TQBQYO4L.js";
52
52
  import {
53
53
  captureArtifactRevision
54
- } from "./chunk-YABUBACD.js";
54
+ } from "./chunk-LYRR5QEW.js";
55
55
  import {
56
56
  trackLintRun
57
- } from "./chunk-LXGQEXUG.js";
57
+ } from "./chunk-Z3KQYFUV.js";
58
58
  import {
59
59
  resolveProject
60
- } from "./chunk-HV23H4FI.js";
60
+ } from "./chunk-FHZUYZE7.js";
61
61
  import {
62
62
  recordArtifacts
63
63
  } from "./chunk-UGUYWTWD.js";
@@ -69,17 +69,17 @@ import {
69
69
  closeManagedBrowser,
70
70
  onStopSignal,
71
71
  registerBrowserSessionCleanup
72
- } from "./chunk-MGWULMAO.js";
72
+ } from "./chunk-GUZDUCWN.js";
73
73
  import {
74
74
  resolveLocalBrowserGpuMode
75
- } from "./chunk-IOEZGUKO.js";
75
+ } from "./chunk-SRYZBN4K.js";
76
76
  import {
77
77
  trackCheckReport,
78
78
  trackCommandFailure
79
- } from "./chunk-MKSOLUHC.js";
79
+ } from "./chunk-WGY5AKV4.js";
80
80
  import {
81
81
  swallowedFlagUsageError
82
- } from "./chunk-ZFQSXMX6.js";
82
+ } from "./chunk-BGHKFD3T.js";
83
83
  import {
84
84
  defineCommand
85
85
  } from "./chunk-DL4OD7IA.js";
@@ -96,14 +96,14 @@ import {
96
96
  extractMediaMetadata,
97
97
  findHdrAutoPromotion,
98
98
  gradingKeepsSdr
99
- } from "./chunk-OYJPQJLV.js";
99
+ } from "./chunk-UREVHKCW.js";
100
100
  import {
101
101
  lintProject,
102
102
  shouldBlockRender
103
- } from "./chunk-GFD2HHF2.js";
103
+ } from "./chunk-NASVSJQK.js";
104
104
  import {
105
105
  withMeta
106
- } from "./chunk-VV5NU3XP.js";
106
+ } from "./chunk-QN4CNGPQ.js";
107
107
  import {
108
108
  recordLastCheck
109
109
  } from "./chunk-BLBMPEBX.js";
@@ -2362,7 +2362,7 @@ function resolveMotionSpec(projectDir) {
2362
2362
  };
2363
2363
  }
2364
2364
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2365
- const module = await import("./checkBrowser-YH43NV46.js");
2365
+ const module = await import("./checkBrowser-EXB55OSU.js");
2366
2366
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2367
2367
  }
2368
2368
  var adoptedBrowser;
@@ -2376,7 +2376,7 @@ async function prelaunchBrowser(project, options) {
2376
2376
  if (adopted) return adopted;
2377
2377
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2378
2378
  if (html === void 0) return void 0;
2379
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-BUPQVJVL.js");
2379
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-TL5DY3IC.js");
2380
2380
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2381
2381
  }
2382
2382
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -2388,11 +2388,11 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
2388
2388
  return relative(projectDir, path);
2389
2389
  }
2390
2390
  async function captureFindingFrames(project, options, requests, deadline) {
2391
- const module = await import("./checkBrowser-YH43NV46.js");
2391
+ const module = await import("./checkBrowser-EXB55OSU.js");
2392
2392
  return module.captureFindingFrames(project, options, requests, deadline);
2393
2393
  }
2394
2394
  async function captureFindingCrops(project, options, requests, deadline) {
2395
- const module = await import("./checkBrowser-YH43NV46.js");
2395
+ const module = await import("./checkBrowser-EXB55OSU.js");
2396
2396
  return module.captureFindingCrops(project, options, requests, deadline);
2397
2397
  }
2398
2398
  async function inspectProjectMedia(project, dependencies) {
@@ -2414,7 +2414,7 @@ function collectMedia(project) {
2414
2414
  return collectProjectMedia(project.dir);
2415
2415
  }
2416
2416
  async function inspectAudio(project, media) {
2417
- const module = await import("./checkAudio-RXWKXU62.js");
2417
+ const module = await import("./checkAudio-GMQUD43Q.js");
2418
2418
  return module.inspectAudio(project.dir, relative(project.dir, project.indexPath), media);
2419
2419
  }
2420
2420
  function audioCheckFailure(project, error) {
@@ -2488,7 +2488,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
2488
2488
  }
2489
2489
  },
2490
2490
  async prepareMedia(project, options) {
2491
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-YWOC66CY.js");
2491
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-KBSF7WWN.js");
2492
2492
  const html = await bundleWithLocalizedFonts(project.dir);
2493
2493
  return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
2494
2494
  },
@@ -21,10 +21,10 @@ import {
21
21
  emitWords,
22
22
  getPreparedWavDurationSeconds,
23
23
  prepareWav
24
- } from "./chunk-FWOYWSRK.js";
24
+ } from "./chunk-6MSBCAWN.js";
25
25
  import {
26
26
  stoppedByCancelSignal
27
- } from "./chunk-DT4WPURD.js";
27
+ } from "./chunk-NLDG4RPK.js";
28
28
  import {
29
29
  verifies
30
30
  } from "./chunk-RZ6CXJ56.js";
@@ -11,10 +11,10 @@ import {
11
11
  DEFAULT_REGISTRY_URL,
12
12
  fetchItemManifest,
13
13
  fetchRegistryManifest
14
- } from "./chunk-CXDZE5PF.js";
14
+ } from "./chunk-AOZGJMJV.js";
15
15
  import {
16
16
  closestNames
17
- } from "./chunk-WYKRGEDD.js";
17
+ } from "./chunk-TABWG4IT.js";
18
18
 
19
19
  // src/registry/resolver.ts
20
20
  function defaultWarn(message) {
@@ -43,7 +43,7 @@ import {
43
43
  } from "./chunk-BLBMPEBX.js";
44
44
  import {
45
45
  VERSION
46
- } from "./chunk-P3TR5I66.js";
46
+ } from "./chunk-BJWGYU5Y.js";
47
47
 
48
48
  // src/telemetry/transport.ts
49
49
  import { spawn } from "child_process";
@@ -9,27 +9,27 @@ import {
9
9
  } from "./chunk-TQBQYO4L.js";
10
10
  import {
11
11
  resolveProject
12
- } from "./chunk-HV23H4FI.js";
12
+ } from "./chunk-FHZUYZE7.js";
13
13
  import {
14
14
  serveStaticProjectHtml
15
- } from "./chunk-KUU6CLU7.js";
15
+ } from "./chunk-UBVGTHQP.js";
16
16
  import {
17
17
  AUDIT_SEEK_OPTIONS,
18
18
  installPageFunctionGuard,
19
19
  seekCompositionTimeline,
20
20
  waitForCompositionFonts,
21
21
  waitForRuntimeReady
22
- } from "./chunk-7Y7IIMYF.js";
22
+ } from "./chunk-NZ35JIRT.js";
23
23
  import {
24
24
  gotoWhenSent
25
25
  } from "./chunk-RXFKSZN2.js";
26
26
  import {
27
27
  pageNavigationTimeoutMs
28
- } from "./chunk-AGYOQ6FS.js";
28
+ } from "./chunk-RX6JF3NL.js";
29
29
  import {
30
30
  launchManagedBrowser,
31
31
  resolveManagedGpuMode
32
- } from "./chunk-MGWULMAO.js";
32
+ } from "./chunk-GUZDUCWN.js";
33
33
  import {
34
34
  readJsonFileText
35
35
  } from "./chunk-EHZESMRB.js";
@@ -42,7 +42,7 @@ import {
42
42
  import {
43
43
  printDeprecationNotice,
44
44
  withMeta
45
- } from "./chunk-VV5NU3XP.js";
45
+ } from "./chunk-QN4CNGPQ.js";
46
46
  import {
47
47
  failureMessage,
48
48
  jsonFailure
@@ -709,7 +709,7 @@ async function collectTweenBoundaries(page) {
709
709
  });
710
710
  }
711
711
  async function bundleProjectHtml(projectDir) {
712
- const { bundleToSingleHtml } = await import("./compiler-VG3XLVW5.js");
712
+ const { bundleToSingleHtml } = await import("./compiler-UEPRJKBD.js");
713
713
  return bundleToSingleHtml(projectDir);
714
714
  }
715
715
  async function alignViewportToComposition(page, url) {
@@ -728,13 +728,13 @@ async function alignViewportToComposition(page, url) {
728
728
  async function runLayoutAudit(projectDir, opts) {
729
729
  const { ensureBrowser } = await import("./manager-SAXHANEY.js");
730
730
  const puppeteer = await import("puppeteer-core");
731
- const { buildChromeArgs } = await import("./src-TTXATWIY.js");
731
+ const { buildChromeArgs } = await import("./src-B644ONLF.js");
732
732
  const {
733
733
  assertWebGpuAdapterAvailable,
734
734
  compositionRequiresWebGpu,
735
735
  resolveLocalBrowserGpuMode,
736
736
  resolveLocalWebGpu
737
- } = await import("./gpuPolicy-ZNG3KI5O.js");
737
+ } = await import("./gpuPolicy-C6SQ5IY3.js");
738
738
  const html = await bundleProjectHtml(projectDir);
739
739
  const server = await serveStaticProjectHtml(
740
740
  projectDir,
@@ -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-LIUJACWM.js";
9
+ } from "./chunk-HYRFAJAT.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-CXDZE5PF.js";
15
+ } from "./chunk-AOZGJMJV.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { readFileSync, writeFileSync } from "fs";
@@ -10,7 +10,7 @@ import {
10
10
  ratioOf,
11
11
  readClip,
12
12
  round
13
- } from "./chunk-AEQV7SBT.js";
13
+ } from "./chunk-EP4SZ4Q7.js";
14
14
 
15
15
  // src/measure/energy.ts
16
16
  var ENERGY_RATE = 12;
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeFirstFrameColour,
9
9
  probeMediaMetadata
10
- } from "./chunk-F53TMQSD.js";
10
+ } from "./chunk-F6OEVGWZ.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-VV3F4QJP.js";
18
+ } from "./chunk-3TSTVDBN.js";
19
19
  import {
20
20
  mkdirWithinProject,
21
21
  realProjectRoot,
@@ -258,7 +258,7 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
258
258
  return (await scanProjectMedia(projectDir, htmlSources, options)).codecMap;
259
259
  }
260
260
 
261
- // ../studio-server/dist/chunk-G4VPDLXC.js
261
+ // ../studio-server/dist/chunk-CEQWOCYI.js
262
262
  import { spawn as spawn2 } from "child_process";
263
263
  import { randomUUID } from "crypto";
264
264
  import {
@@ -270,7 +270,7 @@ import {
270
270
  utimesSync,
271
271
  writeFileSync as writeFileSync2
272
272
  } from "fs";
273
- import { availableParallelism, tmpdir, totalmem } from "os";
273
+ import os, { availableParallelism, tmpdir, totalmem } from "os";
274
274
  import { basename as basename3, dirname as dirname3, extname as extname4, isAbsolute, join as join4, relative, resolve, sep as sep2 } from "path";
275
275
  import { existsSync, readdirSync, statSync as statSync2, unlinkSync } from "fs";
276
276
  import { extname, join } from "path";
@@ -551,6 +551,7 @@ function boundedEnvInteger(name, fallback, min, max) {
551
551
  return Number.isSafeInteger(parsed) && parsed >= min && parsed <= max ? parsed : fallback;
552
552
  }
553
553
  var MAX_CONCURRENT_TRANSCODES = boundedEnvInteger("HYPERFRAMES_PROXY_MAX_CONCURRENCY", 2, 1, 16);
554
+ var BACKGROUND_NICENESS = 19;
554
555
  var MAX_QUEUED_TRANSCODES = boundedEnvInteger("HYPERFRAMES_PROXY_MAX_QUEUE", 8, 0, 256);
555
556
  var STDERR_TAIL_MAX_CHARS = 4e3;
556
557
  var TRANSCODE_STALL_MS = boundedEnvInteger(
@@ -985,7 +986,7 @@ async function buildVideoFilter(ffmpegPath, sourcePath, metadata, keepsAlpha, bo
985
986
  `format=${pixelFormat}`
986
987
  ].join(",") : [evenScale, `format=${pixelFormat}`].join(",");
987
988
  }
988
- async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, signal, onProgress) {
989
+ async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, signal, onProgress, isBackground = () => false) {
989
990
  const metadata = await probeMediaMetadata(sourcePath);
990
991
  const ffmpegPath = findFfBinary("ffmpeg", { configuredMustExist: true });
991
992
  if (!ffmpegPath) {
@@ -1026,7 +1027,8 @@ async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, sign
1026
1027
  ],
1027
1028
  TRANSCODE_STALL_MS,
1028
1029
  pieceSignal,
1029
- onEncoded
1030
+ onEncoded,
1031
+ isBackground()
1030
1032
  );
1031
1033
  const ranges = chunkRanges(totalSeconds);
1032
1034
  try {
@@ -1068,7 +1070,14 @@ function concatArgs(listPath, target, variant) {
1068
1070
  ];
1069
1071
  }
1070
1072
  var OUT_TIME = /^out_time_(?:us|ms)=(\d+)$/;
1071
- function spawnFfmpeg(ffmpegPath, args, stallMs, signal, onProgress) {
1073
+ function lowerPriorityUnlessExited(pid) {
1074
+ try {
1075
+ os.setPriority(pid, BACKGROUND_NICENESS);
1076
+ } catch {
1077
+ return;
1078
+ }
1079
+ }
1080
+ function spawnFfmpeg(ffmpegPath, args, stallMs, signal, onProgress, background = false) {
1072
1081
  return new Promise((resolvePromise, reject) => {
1073
1082
  signal.throwIfAborted();
1074
1083
  const proc = spawn2(ffmpegPath, args, {
@@ -1077,6 +1086,7 @@ function spawnFfmpeg(ffmpegPath, args, stallMs, signal, onProgress) {
1077
1086
  signal,
1078
1087
  windowsHide: true
1079
1088
  });
1089
+ if (background && proc.pid !== void 0) lowerPriorityUnlessExited(proc.pid);
1080
1090
  let stalled = false;
1081
1091
  let timer;
1082
1092
  const armStall = () => {
@@ -1182,7 +1192,8 @@ async function transcodeToCache(job, projectDir, absoluteSourcePath, cachePath,
1182
1192
  variant,
1183
1193
  box,
1184
1194
  job.abandoned.signal,
1185
- (progress) => reportProgress(job, progress)
1195
+ (progress) => reportProgress(job, progress),
1196
+ () => job.background && !job.priority
1186
1197
  );
1187
1198
  renameSync(tempPath, cachePath);
1188
1199
  writeCopyIndex(contentIndex, cachePath);
@@ -1235,6 +1246,7 @@ async function resolveProxy(projectDir, absoluteSourcePath, variant = "h264", bo
1235
1246
  const job = {
1236
1247
  cachePath,
1237
1248
  priority: options.priority === true,
1249
+ background: options.background === true,
1238
1250
  callers: 0,
1239
1251
  abandoned: new AbortController(),
1240
1252
  progress: /* @__PURE__ */ new Set()