hyperframes 0.8.207 → 0.8.208

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. package/dist/{add-LXFWHBE3.js → add-XMWRBMBR.js} +14 -13
  2. package/dist/{agentPromptGenerator-D2E62ZP5.js → agentPromptGenerator-4NJ252MR.js} +6 -2
  3. package/dist/{animatedGifPrep-VBPJZKFT.js → animatedGifPrep-6XURJIPV.js} +8 -7
  4. package/dist/api.js +19 -18
  5. package/dist/{asset-JX4RW3GO.js → asset-I5GGEOB2.js} +2 -2
  6. package/dist/{assetCataloger-JKKOPBCF.js → assetCataloger-YBPXUNUP.js} +10 -8
  7. package/dist/{audio-OXQ3L6DW.js → audio-GFJCHH5W.js} +410 -128
  8. package/dist/{auth-JAL7P7ZA.js → auth-QOA55RYR.js} +4 -4
  9. package/dist/{autoUpdate-MRI2AICE.js → autoUpdate-SPS4QPJU.js} +4 -4
  10. package/dist/{backgroundChecks-ORR46PBY.js → backgroundChecks-HRJO7YK7.js} +5 -5
  11. package/dist/backgroundChecksWorker.js +5 -5
  12. package/dist/{batchRender-IFZYPGIW.js → batchRender-FBP3RKUF.js} +5 -4
  13. package/dist/{beats-UDLOEW6U.js → beats-VNGJ7F6W.js} +21 -14
  14. package/dist/{benchmark-VTVDNKSO.js → benchmark-NZ3N3MIV.js} +10 -10
  15. package/dist/{browser-QJC4BL2Y.js → browser-BD5BKRJ5.js} +8 -8
  16. package/dist/{bundleWithLocalizedFonts-Z2JTBNDS.js → bundleWithLocalizedFonts-WXVNPAWD.js} +3 -3
  17. package/dist/{capture-GLM2ACPM.js → capture-CXWXKWS5.js} +62 -36
  18. package/dist/{capture-2P4JERSX.js → capture-LMJ4TQRL.js} +52 -17
  19. package/dist/{captureCompositionFrame-A2A5MGQB.js → captureCompositionFrame-ZKVCRYYU.js} +14 -13
  20. package/dist/{captureFile-RPUEOZO6.js → captureFile-VIVGKFY4.js} +2 -1
  21. package/dist/{catalog-5ZLVUQVJ.js → catalog-WRXQSCAU.js} +14 -13
  22. package/dist/{catch-up-FRMVYJHZ.js → catch-up-MDSPABFC.js} +6 -6
  23. package/dist/{check-WVY7SM7C.js → check-SIBBK5HA.js} +42 -41
  24. package/dist/{checkAudio-PLEQY3SZ.js → checkAudio-QQBR4HR7.js} +12 -11
  25. package/dist/{checkBrowser-XSZUA2DQ.js → checkBrowser-4EBJLLIH.js} +34 -33
  26. package/dist/{chunk-XDMZY3H7.js → chunk-3O2E4Q66.js} +15 -20
  27. package/dist/{chunk-HVOTYAS4.js → chunk-43MW4SY7.js} +2 -2
  28. package/dist/{chunk-TSTONNOD.js → chunk-4F5NRJ6M.js} +2 -2
  29. package/dist/{chunk-JQ32262N.js → chunk-4HT2L6W2.js} +1 -1
  30. package/dist/{chunk-63DP5CB2.js → chunk-4KG3ESVO.js} +4 -4
  31. package/dist/{chunk-LPI7HX4G.js → chunk-4LTBQEPD.js} +2 -2
  32. package/dist/{chunk-C6KE4AFW.js → chunk-56ANHX5U.js} +1 -1
  33. package/dist/{chunk-XULJBZ7K.js → chunk-5HB4JM7H.js} +2 -2
  34. package/dist/{chunk-PL36HK3U.js → chunk-6CWKORZO.js} +3 -3
  35. package/dist/{chunk-ZF3R2IPC.js → chunk-6DSYBW7Z.js} +1 -0
  36. package/dist/{chunk-T4JGFCXU.js → chunk-6JNSYFOH.js} +4 -4
  37. package/dist/{chunk-5PYRU5DT.js → chunk-6N7D2GUV.js} +15 -15
  38. package/dist/{chunk-WL263XM2.js → chunk-6PWQH77E.js} +1 -1
  39. package/dist/{chunk-UAT2UMTP.js → chunk-6WRN4WC6.js} +1 -1
  40. package/dist/{chunk-SXOD5J7T.js → chunk-7CPI2DWL.js} +1 -1
  41. package/dist/{chunk-UYPWH7PH.js → chunk-7PAK7LZ5.js} +11 -11
  42. package/dist/{chunk-YJK6HOL5.js → chunk-B5MPMIKQ.js} +2 -2
  43. package/dist/{chunk-KDHHPJOG.js → chunk-BKDQFOKK.js} +4 -4
  44. package/dist/{chunk-LCCYYTEK.js → chunk-BLCKQPBE.js} +1 -1
  45. package/dist/chunk-BQMAPNDA.js +4830 -0
  46. package/dist/{chunk-QE4WRS3N.js → chunk-CP225S5H.js} +3 -3
  47. package/dist/{chunk-I2TDHVFV.js → chunk-CSWCZA6V.js} +2 -2
  48. package/dist/{chunk-C53ZNJDZ.js → chunk-D2CE2J2A.js} +1 -1
  49. package/dist/{chunk-NSC5A4IR.js → chunk-DHQSDCWD.js} +6 -2
  50. package/dist/chunk-DROFHVQD.js +240 -0
  51. package/dist/{chunk-NHL5CMO2.js → chunk-DXACKQ3F.js} +3 -3
  52. package/dist/{chunk-IK4JY2LI.js → chunk-EGOXYG3M.js} +2 -2
  53. package/dist/{chunk-UKM3JYNB.js → chunk-ENRFKCI6.js} +3 -3
  54. package/dist/{chunk-NWGXTUYS.js → chunk-EQBDKYXR.js} +3 -30
  55. package/dist/{chunk-4UMPIPCQ.js → chunk-ERUQ3S6D.js} +2 -2
  56. package/dist/{chunk-T2EUWCJE.js → chunk-EU7MVORF.js} +13 -1
  57. package/dist/{chunk-CVZO6TFE.js → chunk-EYEEZXLI.js} +11 -11
  58. package/dist/{chunk-ZCJ5EGLU.js → chunk-FC4WT5FX.js} +79 -1
  59. package/dist/{chunk-GXUONASF.js → chunk-FFDYRJBE.js} +24 -1
  60. package/dist/{chunk-NJNC2DQV.js → chunk-G2A6RC5R.js} +52 -9
  61. package/dist/{chunk-HTIUNMTP.js → chunk-GDZA4ALG.js} +8 -2
  62. package/dist/{chunk-H3LQ5X6Q.js → chunk-GEO6THL3.js} +61 -30
  63. package/dist/{chunk-RPZNQV6D.js → chunk-GHSO62LK.js} +2 -2
  64. package/dist/{chunk-P2I4RLJE.js → chunk-HTZJNQYI.js} +1 -1
  65. package/dist/{chunk-XKW4Z7BU.js → chunk-HUKQW4YE.js} +1 -1
  66. package/dist/{chunk-QZ2JQ6O4.js → chunk-HZN7ICAF.js} +3 -3
  67. package/dist/{chunk-DJQZ7DEH.js → chunk-IIJVSCSH.js} +15 -15
  68. package/dist/{chunk-6KCFVLO6.js → chunk-IL2TMC6F.js} +1 -1
  69. package/dist/{chunk-ZYGIDXAK.js → chunk-J67FSI3Q.js} +104 -58
  70. package/dist/{chunk-5KBMYSF2.js → chunk-K4PHB3YQ.js} +7 -2
  71. package/dist/{chunk-HM7SUIQD.js → chunk-KTWGVEN6.js} +3 -3
  72. package/dist/{chunk-6IYIS2U7.js → chunk-LSMFOZ4F.js} +2 -2
  73. package/dist/{chunk-ELP5QZWL.js → chunk-M4QZFUMW.js} +1 -1
  74. package/dist/{chunk-EG3B2VWK.js → chunk-MBGM26P5.js} +16 -21
  75. package/dist/{chunk-LK6KPVX2.js → chunk-MPO25DQW.js} +291 -160
  76. package/dist/{chunk-DML6BD4K.js → chunk-MW2NQQ6Z.js} +2 -2
  77. package/dist/{chunk-MSHL6CF2.js → chunk-MYO77JWR.js} +1 -1
  78. package/dist/{chunk-PSX5SF2N.js → chunk-NEASABW6.js} +1 -1
  79. package/dist/{chunk-VH4PNYOS.js → chunk-NZ6G5YWZ.js} +2 -2
  80. package/dist/{chunk-LXP6XWJL.js → chunk-ORFRUZPB.js} +1 -1
  81. package/dist/{chunk-UUOIH4RW.js → chunk-OTXXDONS.js} +2 -2
  82. package/dist/{chunk-526VSRZ4.js → chunk-P7WGVXR7.js} +6 -6
  83. package/dist/{chunk-HA3V4XAF.js → chunk-PKVA6MPV.js} +1 -1
  84. package/dist/{chunk-QTWXVOZI.js → chunk-PSOAGSNO.js} +2 -2
  85. package/dist/{chunk-ID766OZB.js → chunk-PWEOSJ3E.js} +3 -3
  86. package/dist/{chunk-EHFZEKQM.js → chunk-Q43YUROE.js} +1 -1
  87. package/dist/{chunk-7PJ3AJB2.js → chunk-QP2MJYTJ.js} +1 -1
  88. package/dist/{chunk-7RWUY3BJ.js → chunk-QWBVPWUI.js} +1 -1
  89. package/dist/{chunk-IYZT62UR.js → chunk-S2OLTAEL.js} +2 -2
  90. package/dist/{chunk-U32PA6DI.js → chunk-S4KHJERB.js} +1 -1
  91. package/dist/{chunk-FEO7YW7V.js → chunk-SI7QCT2J.js} +6 -6
  92. package/dist/{chunk-6Z7XDUUJ.js → chunk-SKKQMW5X.js} +1 -1
  93. package/dist/{chunk-VAVDAOUA.js → chunk-TNTGGDSD.js} +1 -1
  94. package/dist/{chunk-EGRIVMCQ.js → chunk-U6KN6OIP.js} +2 -2
  95. package/dist/{chunk-IBZHSU2J.js → chunk-ULL3U6PV.js} +1 -1
  96. package/dist/{chunk-IW5P4KK7.js → chunk-VR3JLTZD.js} +3 -3
  97. package/dist/{chunk-6KOHY5EP.js → chunk-VS4SK7BN.js} +17 -11
  98. package/dist/{chunk-6N65ZMC5.js → chunk-VYRJAQGC.js} +1 -1
  99. package/dist/{chunk-JKE24AG7.js → chunk-WABB4LZS.js} +1 -1
  100. package/dist/{chunk-I3TYUQLB.js → chunk-WNMVC3IT.js} +1 -1
  101. package/dist/{chunk-MAUGXKSI.js → chunk-X6MCIK7L.js} +100 -13
  102. package/dist/chunk-XFMO3BEN.js +71 -0
  103. package/dist/{chunk-PUIG6DHT.js → chunk-XG3IZV62.js} +7 -7
  104. package/dist/{chunk-VBPNCOD7.js → chunk-XOFBXLMG.js} +2 -2
  105. package/dist/{chunk-FVAI7AHF.js → chunk-XUQYC5DD.js} +5 -5
  106. package/dist/chunk-Z5J67X44.js +40 -0
  107. package/dist/{chunk-XAGBSYIQ.js → chunk-Z5TGBEPJ.js} +1 -1
  108. package/dist/{chunk-7JAD4MEW.js → chunk-ZA5TNF4R.js} +1 -0
  109. package/dist/{clean-TL3IPJDN.js → clean-6GX7WAEC.js} +22 -21
  110. package/dist/cli.js +56 -56
  111. package/dist/{cloud-EYMRPJNY.js → cloud-6PFJKLNL.js} +4 -4
  112. package/dist/{cloudrun-TOJ36NLX.js → cloudrun-UGG3ZFH7.js} +6 -5
  113. package/dist/{compare-MP5EOW4D.js → compare-P4EBOP4B.js} +33 -32
  114. package/dist/{compiler-NOPVLJ2S.js → compiler-PG4RKX6K.js} +3 -3
  115. package/dist/{component-ASACDCZK.js → component-SQPMI3W7.js} +3 -3
  116. package/dist/{compositions-WKNZJY34.js → compositions-KRIHY3IY.js} +14 -13
  117. package/dist/{contactSheet-YOBPATEM.js → contactSheet-RYAE7Y5D.js} +3 -2
  118. package/dist/{delete-DQTFHP3G.js → delete-T5TO4SV6.js} +7 -7
  119. package/dist/{deploy-HHCFOUFM.js → deploy-AO6LQR5G.js} +6 -6
  120. package/dist/{dist-NQEYA4ZX.js → dist-23AAB5X2.js} +2 -2
  121. package/dist/{dist-L4Z4ZEYW.js → dist-6IMEDVMC.js} +1 -1
  122. package/dist/docker/Dockerfile.render +1 -1
  123. package/dist/{doctor-JDM65CP7.js → doctor-QBUJQ655.js} +16 -15
  124. package/dist/{events-RKRHRLJD.js → events-J7CESLKQ.js} +4 -4
  125. package/dist/{events-MBRNA3UF.js → events-SIZO7YHI.js} +5 -5
  126. package/dist/{feedback-LZWIWV5J.js → feedback-74WOJ5PN.js} +12 -12
  127. package/dist/{ffmpeg-4PZKSIGE.js → ffmpeg-AKUP6U2S.js} +10 -9
  128. package/dist/{figma-QFNYUT3F.js → figma-GGMYRR4Q.js} +3 -3
  129. package/dist/fontLocalizeCli.js +11 -10
  130. package/dist/{get-2B5ENJOH.js → get-PLKAI6JM.js} +7 -7
  131. package/dist/{gpuPolicy-E5FB2GFR.js → gpuPolicy-EYDAAPJF.js} +8 -7
  132. package/dist/{grade-compare-4GUAPJHE.js → grade-compare-UADJP4AV.js} +33 -32
  133. package/dist/{heifImagePrep-C2RYIEER.js → heifImagePrep-KDF3OPOK.js} +9 -8
  134. package/dist/{help-XGDAXV67.js → help-WSQQ555Q.js} +1 -1
  135. package/dist/{history-WNFF6HGU.js → history-VSQ2DQ3V.js} +9 -9
  136. package/dist/hyperframe.manifest.json +1 -1
  137. package/dist/hyperframe.runtime.iife.js +67 -67
  138. package/dist/hyperframes-player.global.js +3 -3
  139. package/dist/{info-BR2LKGJD.js → info-MOQ4LRC3.js} +9 -9
  140. package/dist/{init-P6UWPUY3.js → init-EONQSZJG.js} +32 -31
  141. package/dist/{inspect-MSRPF7ZO.js → inspect-OLCVLHOU.js} +32 -31
  142. package/dist/{installer-MPUQS3ZX.js → installer-GHISA75B.js} +4 -4
  143. package/dist/{keyframes-J6K66QTO.js → keyframes-DGQYCY24.js} +8 -8
  144. package/dist/{lambda-LJ2OSWFJ.js → lambda-AMMWF2YH.js} +14 -13
  145. package/dist/{layout-CDY65XGA.js → layout-R6CAPGRO.js} +32 -31
  146. package/dist/{lint-CAUNBGPX.js → lint-QZJEYPHD.js} +9 -9
  147. package/dist/{lintProject-ZTSX3AWT.js → lintProject-W3YVHAGP.js} +1 -1
  148. package/dist/{list-33BYQNRZ.js → list-KCJID4SP.js} +7 -7
  149. package/dist/localPage-V3HBGM3Z.js +27 -0
  150. package/dist/{login-5QMRKOHK.js → login-7HKBEPJS.js} +7 -7
  151. package/dist/{logout-JYFWWUGK.js → logout-3IID4KXD.js} +3 -3
  152. package/dist/{manager-3JOHHPVR.js → manager-6YSKJMVD.js} +11 -10
  153. package/dist/{manager-RMYSZ3KI.js → manager-Z7W4GQGF.js} +4 -4
  154. package/dist/{media-treatment-4WP22CFN.js → media-treatment-E3DL6LEZ.js} +25 -22
  155. package/dist/{models-HPWCHAZX.js → models-URWI7YEG.js} +15 -14
  156. package/dist/{motionShot-I7GDIROQ.js → motionShot-27IXMDJK.js} +18 -17
  157. package/dist/{normalize-audio-VTMXPSC7.js → normalize-audio-WGRLPR3P.js} +9 -9
  158. package/dist/{open-SAO7OQTT.js → open-LQ35PLEN.js} +13 -13
  159. package/dist/{parakeetRunner-ZYPBIA73.js → parakeetRunner-XASVIDTI.js} +16 -15
  160. package/dist/{pipeline-VNBMR6QU.js → pipeline-GA7QVCHS.js} +11 -10
  161. package/dist/{play-7VI6A7KN.js → play-RYZP77CI.js} +21 -21
  162. package/dist/{policies-GHVXA5PE.js → policies-PKLD4UW5.js} +1 -1
  163. package/dist/{preflight-VWV7L45J.js → preflight-HJFSJXXF.js} +12 -11
  164. package/dist/{present-CSJGYOFF.js → present-YBMLOWZV.js} +17 -17
  165. package/dist/{preview-B246ZTVO.js → preview-QIRKJCRV.js} +23 -22
  166. package/dist/{producer-WJLFDVQJ.js → producer-524FDOLX.js} +1 -1
  167. package/dist/{projectConfig-OMR46ZWQ.js → projectConfig-IDQN5ZRW.js} +6 -6
  168. package/dist/{publication-AA7NNYET.js → publication-3X3IGSDO.js} +2 -2
  169. package/dist/{publish-TJ4QVVSP.js → publish-2BF7K6HX.js} +13 -13
  170. package/dist/{refresh-USSFPJAU.js → refresh-3IRHJEQA.js} +3 -3
  171. package/dist/{remove-background-LQ2V7W7N.js → remove-background-EZBCEFT6.js} +12 -11
  172. package/dist/{render-E5QJG74D.js → render-EFUA2A6A.js} +6 -5
  173. package/dist/{render-JLTNZ36U.js → render-JFMTAXHD.js} +43 -41
  174. package/dist/{render-AWEEPG3F.js → render-TEEBI2UT.js} +30 -26
  175. package/dist/{render-batch-U4T4VSCM.js → render-batch-XTYNXVSW.js} +7 -6
  176. package/dist/renderSetupWorker.js +6 -6
  177. package/dist/{resolver-GXCTUKPV.js → resolver-FZS6TN6B.js} +4 -4
  178. package/dist/{screenshotCapture-X6OKIXCB.js → screenshotCapture-HOW4VSV6.js} +3 -2
  179. package/dist/{sherpa-4VZWVHWZ.js → sherpa-TQIAIKTH.js} +15 -14
  180. package/dist/skills/hyperframes/SKILL.md +1 -1
  181. package/dist/skills/hyperframes/references/format.md +1 -0
  182. package/dist/skills/hyperframes-cli/references/beats.md +2 -0
  183. package/dist/skills/media-use/references/grading.md +2 -0
  184. package/dist/skills/media-use/references/local.md +1 -0
  185. package/dist/{skills-WUKR7SUE.js → skills-S6ZG5KKH.js} +7 -7
  186. package/dist/{skillsUpdateCheck-YXRBY3JC.js → skillsUpdateCheck-XC7JQL3F.js} +5 -5
  187. package/dist/{snapshot-Q7S2FTNG.js → snapshot-ERYZIM32.js} +66 -47
  188. package/dist/{src-ZOXUSGAP.js → src-6XOMREMS.js} +7 -6
  189. package/dist/{src-CLAALR5W.js → src-OL6RHPE4.js} +10 -9
  190. package/dist/{staticProjectServer-DQ7PIDPA.js → staticProjectServer-JYDDGPAH.js} +16 -16
  191. package/dist/{status-LR7VXITS.js → status-DTP6ZYDU.js} +3 -3
  192. package/dist/studio/assets/{hyperframes-player-Cm5aBiKq.js → hyperframes-player-5dRdMVOq.js} +3 -3
  193. package/dist/studio/assets/{index-BF9YeBnC.js → index-Bu3mJUU2.js} +71 -71
  194. package/dist/studio/assets/{index-BrqAmMRt.js → index-ZqyQ91pm.js} +1 -1
  195. package/dist/studio/index.html +1 -1
  196. package/dist/{studio-api-NUE227JM.js → studio-api-GRU4SHKD.js} +9 -9
  197. package/dist/{studioServer-HVOKP4VI.js → studioServer-OYPBEI5B.js} +54 -53
  198. package/dist/{telemetry-IHU4HL3R.js → telemetry-6BPSGY5W.js} +2 -2
  199. package/dist/{telemetry-2Y5JXLDB.js → telemetry-CPYINR63.js} +5 -5
  200. package/dist/{timeline-WOQGXFRV.js → timeline-RGK5BMPD.js} +23 -22
  201. package/dist/{tokens-T3OHTWUC.js → tokens-EX4BOWRW.js} +2 -2
  202. package/dist/{transcribe-4U74P5TG.js → transcribe-MK367I6A.js} +14 -13
  203. package/dist/{transcribe-JZ3BO546.js → transcribe-RI52JMVW.js} +21 -20
  204. package/dist/{updateCheck-6EUAGAM4.js → updateCheck-BIEJKQI4.js} +4 -4
  205. package/dist/{upgrade-55K6F4MP.js → upgrade-ES3UUI7O.js} +4 -4
  206. package/dist/{urlDownloader-47JMOLNN.js → urlDownloader-XAGYSTAG.js} +7 -6
  207. package/dist/{validate-QBJ3SBS4.js → validate-A6GZHNEI.js} +26 -25
  208. package/dist/{video-3ZAUNAR3.js → video-OEMGR3MN.js} +10 -8
  209. package/dist/warmCheck.js +42 -41
  210. package/package.json +1 -1
  211. package/dist/chunk-BDJIQZN2.js +0 -4830
  212. package/dist/{destroy-SSPAKADI.js → destroy-CGAZIL2C.js} +4 -4
@@ -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.207" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.8.207" : "0.0.0-dev";
9
+ var VERSION = true ? "0.8.208" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.8.208" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
1278
1278
  } catch (err) {
1279
1279
  if (err instanceof Error) {
1280
1280
  try {
1281
- const { trackCommandFailure } = await import("./events-MBRNA3UF.js");
1281
+ const { trackCommandFailure } = await import("./events-SIZO7YHI.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-ISN5GRYI.js";
13
13
  import {
14
14
  normalizeErrorMessage
15
- } from "./chunk-T2EUWCJE.js";
15
+ } from "./chunk-EU7MVORF.js";
16
16
 
17
17
  // src/telemetry/posthogKey.ts
18
18
  var POSTHOG_API_KEY = "phc_zjjbX0PnWxERXrMHhkEJWj9A9BhGVLRReICgsfTMmpx";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  updateCheckDisabled
9
- } from "./chunk-EGRIVMCQ.js";
9
+ } from "./chunk-U6KN6OIP.js";
10
10
  import {
11
11
  hostAnswers
12
12
  } from "./chunk-K4WIOZFP.js";
@@ -14,7 +14,7 @@ import {
14
14
  readConfig,
15
15
  readConfigFresh,
16
16
  writeConfig
17
- } from "./chunk-PSX5SF2N.js";
17
+ } from "./chunk-NEASABW6.js";
18
18
 
19
19
  // src/utils/skillsManifest.ts
20
20
  import { execFile } from "child_process";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-XKW4Z7BU.js";
15
+ } from "./chunk-HUKQW4YE.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { readFileSync, writeFileSync } from "fs";
@@ -8,14 +8,14 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-XKW4Z7BU.js";
11
+ } from "./chunk-HUKQW4YE.js";
12
12
  import {
13
13
  publishRegistryFile,
14
14
  registryTargetPath
15
15
  } from "./chunk-GMECXFAN.js";
16
16
  import {
17
17
  validateVariables
18
- } from "./chunk-7RWUY3BJ.js";
18
+ } from "./chunk-QWBVPWUI.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-OFQWTKPW.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType,
9
9
  injectMediaCodecMapIntoHtml
10
- } from "./chunk-NJNC2DQV.js";
10
+ } from "./chunk-G2A6RC5R.js";
11
11
  import {
12
12
  PROXY_VARIANT_CONFIG,
13
13
  ProxyCapacityError,
@@ -18,20 +18,20 @@ import {
18
18
  recordProxyRequest,
19
19
  resolveProxy,
20
20
  resolveProxyVariantRequest
21
- } from "./chunk-HA3V4XAF.js";
21
+ } from "./chunk-PKVA6MPV.js";
22
22
  import {
23
23
  findStageProxyBox
24
- } from "./chunk-IBZHSU2J.js";
24
+ } from "./chunk-ULL3U6PV.js";
25
25
  import {
26
26
  resolveAutoProxy
27
- } from "./chunk-LXP6XWJL.js";
27
+ } from "./chunk-ORFRUZPB.js";
28
28
  import {
29
29
  stripSdrPngColourTags
30
- } from "./chunk-RPZNQV6D.js";
30
+ } from "./chunk-GHSO62LK.js";
31
31
  import {
32
32
  PREVIEW_PROXY_BOX_PARAM,
33
33
  parsePreviewProxyBox
34
- } from "./chunk-7RWUY3BJ.js";
34
+ } from "./chunk-QWBVPWUI.js";
35
35
  import {
36
36
  decodeWellFormedEscapes
37
37
  } from "./chunk-SE2MXV2N.js";
@@ -14,7 +14,7 @@ import {
14
14
  hdrToSdrToneMapFilter,
15
15
  isHeavyForPreview,
16
16
  parseFirstFrameColour
17
- } from "./chunk-7RWUY3BJ.js";
17
+ } from "./chunk-QWBVPWUI.js";
18
18
  import {
19
19
  mkdirWithinProject,
20
20
  realProjectRoot,
@@ -34,10 +34,10 @@ import {
34
34
  readConfig,
35
35
  telemetryRuntimeOverride,
36
36
  writeConfig
37
- } from "./chunk-PSX5SF2N.js";
37
+ } from "./chunk-NEASABW6.js";
38
38
  import {
39
39
  VERSION
40
- } from "./chunk-DML6BD4K.js";
40
+ } from "./chunk-MW2NQQ6Z.js";
41
41
 
42
42
  // src/telemetry/transport.ts
43
43
  import { spawn } from "child_process";
@@ -12,15 +12,15 @@ import {
12
12
  ensureHfIds,
13
13
  mintHfId,
14
14
  walkCompositionDescendants
15
- } from "./chunk-RPZNQV6D.js";
15
+ } from "./chunk-GHSO62LK.js";
16
16
  import {
17
17
  isAllowedHtmlAttribute,
18
18
  isSafeAttributeValue,
19
19
  sanitizeRichTextChildren
20
- } from "./chunk-7RWUY3BJ.js";
20
+ } from "./chunk-QWBVPWUI.js";
21
21
  import {
22
22
  require_dist
23
- } from "./chunk-ZCJ5EGLU.js";
23
+ } from "./chunk-FC4WT5FX.js";
24
24
  import {
25
25
  readClipTiming,
26
26
  readMediaOffsetSeconds,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-KGPLIH7B.js";
10
10
  import {
11
11
  normalizeErrorMessage
12
- } from "./chunk-T2EUWCJE.js";
12
+ } from "./chunk-EU7MVORF.js";
13
13
 
14
14
  // src/renderSetupWorkerLifecycle.ts
15
15
  var RENDER_SETUP_SIGNALS = ["SIGINT", "SIGTERM", "SIGHUP"];
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
13
- } from "./chunk-7RWUY3BJ.js";
13
+ } from "./chunk-QWBVPWUI.js";
14
14
  import {
15
15
  parseHTML
16
16
  } from "./chunk-GWTIFRF5.js";
@@ -9,7 +9,7 @@ import {
9
9
  parseStrictFiniteTimingNumber,
10
10
  resolveNaturalMediaTimelineDuration,
11
11
  resolveTimedImageDurationSeconds
12
- } from "./chunk-BDJIQZN2.js";
12
+ } from "./chunk-BQMAPNDA.js";
13
13
  import {
14
14
  COMPOSITION_ATTRIBUTES,
15
15
  MEDIA_START_BASIS_ATTR,
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-I2TDHVFV.js";
9
+ } from "./chunk-CSWCZA6V.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
13
- } from "./chunk-XDMZY3H7.js";
13
+ } from "./chunk-3O2E4Q66.js";
14
14
 
15
15
  // src/utils/artifactCapture.ts
16
16
  var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
@@ -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-CLAALR5W.js");
10
+ return await import("./src-OL6RHPE4.js");
11
11
  }
12
12
 
13
13
  export {
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-LCCYYTEK.js";
9
+ } from "./chunk-BLCKQPBE.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-QE4WRS3N.js";
15
+ } from "./chunk-CP225S5H.js";
16
16
  import {
17
17
  initialModelForLanguage,
18
18
  transcribe
19
- } from "./chunk-PL36HK3U.js";
19
+ } from "./chunk-6CWKORZO.js";
20
20
  import {
21
21
  createRenderCancellationScope,
22
22
  stoppedByCancelSignal
23
- } from "./chunk-6IYIS2U7.js";
23
+ } from "./chunk-LSMFOZ4F.js";
24
24
  import {
25
25
  DEFAULT_MODEL,
26
26
  findWhisper,
27
27
  isWhisperUnavailable
28
- } from "./chunk-JQ32262N.js";
28
+ } from "./chunk-4HT2L6W2.js";
29
29
  import {
30
30
  formatSrt,
31
31
  formatVtt,
@@ -43,7 +43,7 @@ import {
43
43
  } from "./chunk-IR35BCLK.js";
44
44
  import {
45
45
  normalizeErrorMessage
46
- } from "./chunk-T2EUWCJE.js";
46
+ } from "./chunk-EU7MVORF.js";
47
47
 
48
48
  // src/api/transcribe.ts
49
49
  import { existsSync, realpathSync, rmSync, statSync, writeFileSync } from "fs";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-DML6BD4K.js";
9
+ } from "./chunk-MW2NQQ6Z.js";
10
10
 
11
11
  // src/registry/compatibility.ts
12
12
  import { compareVersions } from "compare-versions";
@@ -11,7 +11,7 @@ import {
11
11
  DEFAULT_REGISTRY_URL,
12
12
  fetchItemManifest,
13
13
  fetchRegistryManifest
14
- } from "./chunk-XKW4Z7BU.js";
14
+ } from "./chunk-HUKQW4YE.js";
15
15
 
16
16
  // src/registry/resolver.ts
17
17
  function defaultWarn(message) {
@@ -11,13 +11,13 @@ import {
11
11
  readConfig,
12
12
  readConfigFresh,
13
13
  writeConfig
14
- } from "./chunk-PSX5SF2N.js";
14
+ } from "./chunk-NEASABW6.js";
15
15
  import {
16
16
  isDevMode
17
17
  } from "./chunk-ISN5GRYI.js";
18
18
  import {
19
19
  VERSION
20
- } from "./chunk-DML6BD4K.js";
20
+ } from "./chunk-MW2NQQ6Z.js";
21
21
 
22
22
  // src/utils/updateCheck.ts
23
23
  import { existsSync, readFileSync } from "fs";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  quantizePreviewProxyBox
9
- } from "./chunk-7RWUY3BJ.js";
9
+ } from "./chunk-QWBVPWUI.js";
10
10
  import {
11
11
  parseHTML
12
12
  } from "./chunk-GWTIFRF5.js";
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-NSC5A4IR.js";
10
+ } from "./chunk-DHQSDCWD.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-QTWXVOZI.js";
13
+ } from "./chunk-PSOAGSNO.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
17
- } from "./chunk-ZCJ5EGLU.js";
17
+ } from "./chunk-FC4WT5FX.js";
18
18
 
19
19
  // src/telemetry/lintStreaks.ts
20
20
  import { createHash } from "crypto";
@@ -4,32 +4,35 @@ 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
+ readJsonFlag
9
+ } from "./chunk-XFMO3BEN.js";
7
10
  import {
8
11
  RegistryCompatibilityError,
9
12
  gateRegistryItemsCompatibility
10
- } from "./chunk-6Z7XDUUJ.js";
13
+ } from "./chunk-SKKQMW5X.js";
11
14
  import {
12
15
  DEFAULT_PROJECT_CONFIG,
13
16
  createProjectConfig,
14
17
  loadProjectConfig,
15
18
  projectConfigPath,
16
19
  recordProjectRegistryItems
17
- } from "./chunk-LXP6XWJL.js";
20
+ } from "./chunk-ORFRUZPB.js";
18
21
  import {
19
22
  resolveItemWithDependencies,
20
23
  resolveItemsByTag
21
- } from "./chunk-VAVDAOUA.js";
24
+ } from "./chunk-TNTGGDSD.js";
22
25
  import {
23
26
  InvalidVariableValuesError,
24
27
  prepareItem,
25
28
  publishItem
26
- } from "./chunk-UUOIH4RW.js";
29
+ } from "./chunk-OTXXDONS.js";
27
30
  import {
28
31
  DEFAULT_REGISTRY_URL
29
- } from "./chunk-XKW4Z7BU.js";
32
+ } from "./chunk-HUKQW4YE.js";
30
33
  import {
31
34
  trackRegistryItemAdded
32
- } from "./chunk-NSC5A4IR.js";
35
+ } from "./chunk-DHQSDCWD.js";
33
36
  import {
34
37
  defineCommand
35
38
  } from "./chunk-S3S4TGEH.js";
@@ -41,7 +44,7 @@ import {
41
44
  } from "./chunk-ZTZA4UWZ.js";
42
45
  import {
43
46
  ITEM_TYPE_DIRS
44
- } from "./chunk-7RWUY3BJ.js";
47
+ } from "./chunk-QWBVPWUI.js";
45
48
  import {
46
49
  isProjectRootMissing,
47
50
  realpath
@@ -160,9 +163,12 @@ function parseVariableValues(raw) {
160
163
  if (raw === void 0) return null;
161
164
  let parsed;
162
165
  try {
163
- parsed = JSON.parse(raw);
164
- } catch {
165
- throw new AddError("--vars must be a JSON object of variable values", "invalid-vars");
166
+ parsed = readJsonFlag("--vars", raw);
167
+ } catch (error) {
168
+ throw new AddError(
169
+ `--vars must be a JSON object of variable values (${error instanceof Error ? error.message : String(error)})`,
170
+ "invalid-vars"
171
+ );
166
172
  }
167
173
  if (!parsed || typeof parsed !== "object" || Array.isArray(parsed)) {
168
174
  throw new AddError("--vars must be a JSON object of variable values", "invalid-vars");
@@ -349,7 +355,7 @@ var add_default = defineCommand({
349
355
  },
350
356
  vars: {
351
357
  type: "string",
352
- description: "JSON of variable values to bake into the printed snippet, as copied from a catalog page"
358
+ description: "JSON of variable values to bake into the printed snippet, as copied from a catalog page; or a JSON file path, or - for stdin"
353
359
  },
354
360
  force: {
355
361
  type: "boolean",
@@ -9,7 +9,7 @@ import {
9
9
  buildAuthHeaders,
10
10
  refreshTokens,
11
11
  resolveCredential
12
- } from "./chunk-ELP5QZWL.js";
12
+ } from "./chunk-M4QZFUMW.js";
13
13
 
14
14
  // src/cloud/auth.ts
15
15
  async function resolveCloudAuthHeaders() {
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-JVBRJMOP.js";
13
13
  import {
14
14
  appendRateCapArgs
15
- } from "./chunk-LK6KPVX2.js";
15
+ } from "./chunk-MPO25DQW.js";
16
16
 
17
17
  // src/utils/deliveryFlags.ts
18
18
  var deliveryFlagArgs = {
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-KDHHPJOG.js";
13
+ } from "./chunk-BKDQFOKK.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -14,10 +14,13 @@ import {
14
14
  } from "./chunk-DKPNNYBZ.js";
15
15
  import {
16
16
  resolveCaptureBrowserGpuMode
17
- } from "./chunk-LPI7HX4G.js";
17
+ } from "./chunk-4LTBQEPD.js";
18
18
  import {
19
19
  requestCliExit
20
20
  } from "./chunk-JVBRJMOP.js";
21
+ import {
22
+ explainChromeLaunchFailure
23
+ } from "./chunk-MPO25DQW.js";
21
24
  import {
22
25
  processIsAlive
23
26
  } from "./chunk-KGPLIH7B.js";
@@ -26,7 +29,53 @@ import {
26
29
  } from "./chunk-K4MJX7SR.js";
27
30
  import {
28
31
  normalizeErrorMessage
29
- } from "./chunk-T2EUWCJE.js";
32
+ } from "./chunk-EU7MVORF.js";
33
+
34
+ // src/browser/chromeTree.ts
35
+ import { execFile } from "child_process";
36
+ import { promisify } from "util";
37
+ var PS_TIMEOUT_MS = 2e3;
38
+ async function processTable() {
39
+ let stdout;
40
+ try {
41
+ ({ stdout } = await promisify(execFile)("ps", ["-axo", "pid=,ppid=,command="], {
42
+ maxBuffer: 16 * 1024 * 1024,
43
+ timeout: PS_TIMEOUT_MS
44
+ }));
45
+ } catch (error) {
46
+ if (error.killed) return [];
47
+ throw error;
48
+ }
49
+ return stdout.split("\n").flatMap((line) => {
50
+ const row = /^\s*(\d+)\s+(\d+)\s+(.*)$/.exec(line);
51
+ return row ? [{ pid: Number(row[1]), ppid: Number(row[2]), command: row[3] }] : [];
52
+ });
53
+ }
54
+ async function chromeDescendants(rootPid) {
55
+ const table = await processTable();
56
+ const found = [];
57
+ const queue = [rootPid];
58
+ while (queue.length > 0) {
59
+ const parent = queue.shift();
60
+ for (const row of table) {
61
+ if (row.ppid !== parent) continue;
62
+ found.push({ pid: row.pid, command: row.command });
63
+ queue.push(row.pid);
64
+ }
65
+ }
66
+ return found;
67
+ }
68
+ async function reapChromeTree(members) {
69
+ if (members.length === 0) return;
70
+ const commands = new Map((await processTable()).map((row) => [row.pid, row.command]));
71
+ for (const { pid, command } of members) {
72
+ if (commands.get(pid) !== command) continue;
73
+ try {
74
+ process.kill(pid, "SIGKILL");
75
+ } catch {
76
+ }
77
+ }
78
+ }
30
79
 
31
80
  // src/browser/windowsChromeWatchdog.ts
32
81
  import { spawn } from "child_process";
@@ -84,9 +133,11 @@ var browsers = /* @__PURE__ */ new Set();
84
133
  var closing = /* @__PURE__ */ new WeakMap();
85
134
  var watchdogs = /* @__PURE__ */ new WeakMap();
86
135
  var pending = /* @__PURE__ */ new Map();
136
+ var diagnosing = /* @__PURE__ */ new Set();
87
137
  var sessionCleanups = /* @__PURE__ */ new Set();
88
138
  var CLOSE_GRACE_MS = 1e3;
89
139
  var LAUNCH_TIMEOUT_MS = 3e4;
140
+ var SLOW_START_NOTICE_MS = 5e3;
90
141
  var EXIT_POLL_MS = 50;
91
142
  var listening = false;
92
143
  var shutdown;
@@ -120,11 +171,15 @@ async function resolveManagedGpuMode(requestedMode, chromePath, context = {}) {
120
171
  return resolveCaptureBrowserGpuMode(requestedMode, chromePath, {
121
172
  launch: async (puppeteer, options) => {
122
173
  context.signal?.throwIfAborted();
123
- const browser = await launchManagedBrowser(puppeteer, {
124
- ...options,
125
- ...context.noListen ? oneProcessOverPipe(options) : {},
126
- signal: context.signal
127
- });
174
+ const browser = await launchManagedBrowser(
175
+ puppeteer,
176
+ {
177
+ ...options,
178
+ ...context.noListen ? oneProcessOverPipe(options) : {},
179
+ signal: context.signal
180
+ },
181
+ { diagnose: false }
182
+ );
128
183
  try {
129
184
  context.onBrowser?.(browser);
130
185
  } catch (error) {
@@ -135,24 +190,45 @@ async function resolveManagedGpuMode(requestedMode, chromePath, context = {}) {
135
190
  close: closeManagedBrowser
136
191
  });
137
192
  }
138
- async function launchManagedBrowser(puppeteer, options) {
193
+ async function launchManagedBrowser(puppeteer, options, { diagnose = true } = {}) {
139
194
  const sandboxed = isOneProcessOverPipe(options) || inAgentSandbox();
140
195
  try {
141
196
  return await launchOwnedBrowser(puppeteer, sandboxed ? oneProcessOverPipe(options) : options);
142
197
  } catch (error) {
143
198
  const unnamedSeatbelt = !sandboxed && (machServiceDenied(normalizeErrorMessage(error)) || pipeLaunchClosedOnMac(error));
144
- if (!unnamedSeatbelt) throw withRemediation(error);
199
+ if (!unnamedSeatbelt)
200
+ throw await withStartupDiagnosis(withRemediation(error), puppeteer, options, diagnose);
145
201
  return launchOwnedBrowser(puppeteer, oneProcessOverPipe(options)).catch(
146
- (retryError) => {
147
- throw withRemediation(retryError);
202
+ async (retryError) => {
203
+ throw await withStartupDiagnosis(withRemediation(retryError), puppeteer, options, diagnose);
148
204
  }
149
205
  );
150
206
  }
151
207
  }
208
+ async function withStartupDiagnosis(error, puppeteer, options, diagnose) {
209
+ if (!diagnose || !options.executablePath || options.signal?.aborted || shutdown) return error;
210
+ if (!(error instanceof Error)) return error;
211
+ if (sandboxDeniedRemediation(normalizeErrorMessage(error))) return error;
212
+ const args = await (async () => puppeteer.defaultArgs({
213
+ headless: options.headless ?? true,
214
+ args: withHyperframesBrowserMarker(options.args)
215
+ }))().catch(() => void 0);
216
+ if (!args) return error;
217
+ const abort = new AbortController();
218
+ diagnosing.add(abort);
219
+ try {
220
+ return await explainChromeLaunchFailure(error, options.executablePath, args, abort.signal);
221
+ } finally {
222
+ diagnosing.delete(abort);
223
+ }
224
+ }
152
225
  function withRemediation(error) {
153
226
  const remediation = sandboxDeniedRemediation(normalizeErrorMessage(error));
154
227
  return remediation ? new Error(remediation, { cause: error }) : error;
155
228
  }
229
+ function destroyBrowserPipes(child) {
230
+ for (const pipe of child.stdio ?? []) pipe?.destroy();
231
+ }
156
232
  async function launchOwnedBrowser(puppeteer, options) {
157
233
  if (shutdown) throw new Error("The CLI is stopping; no browser can start.");
158
234
  ownSignals();
@@ -175,6 +251,7 @@ async function launchOwnedBrowser(puppeteer, options) {
175
251
  () => abort.abort(new Error(`The browser did not finish starting within ${limit} ms.`)),
176
252
  limit
177
253
  ) : void 0;
254
+ const slow = setTimeout(() => console.error("Chrome is still starting..."), SLOW_START_NOTICE_MS);
178
255
  pending.set(launch, abort);
179
256
  try {
180
257
  const browser = await launch;
@@ -183,10 +260,14 @@ async function launchOwnedBrowser(puppeteer, options) {
183
260
  browsers.add(browser);
184
261
  const watchdog = watchChromeTree(child, launchedAt);
185
262
  if (watchdog) watchdogs.set(browser, watchdog);
186
- child.once("exit", () => browsers.delete(browser));
263
+ child.once("exit", () => {
264
+ browsers.delete(browser);
265
+ destroyBrowserPipes(child);
266
+ });
187
267
  return browser;
188
268
  } finally {
189
269
  clearTimeout(timer);
270
+ clearTimeout(slow);
190
271
  pending.delete(launch);
191
272
  }
192
273
  }
@@ -199,7 +280,7 @@ function untilLaunchOrAbort(launch, signal) {
199
280
  return Promise.race([launch, aborted]);
200
281
  }
201
282
  async function closeManagedBrowsers() {
202
- for (const abort of pending.values()) abort.abort();
283
+ for (const abort of [...pending.values(), ...diagnosing]) abort.abort();
203
284
  await Promise.allSettled(pending.keys());
204
285
  const results = await Promise.allSettled([...browsers].map(closeManagedBrowser));
205
286
  results.push(...await Promise.allSettled([...sessionCleanups].map((cleanup) => cleanup())));
@@ -240,10 +321,15 @@ async function closeBrowser(browser) {
240
321
  watchdogs.get(browser)?.release(clean);
241
322
  }
242
323
  }
324
+ async function descendantsToReap(pid) {
325
+ if (pid === void 0 || process.platform === "win32") return [];
326
+ return chromeDescendants(pid).catch(() => []);
327
+ }
243
328
  async function closedWithoutKill(browser) {
244
329
  const child = browser.process();
245
330
  if (!child) throw new Error("A managed browser lost its owned process.");
246
331
  if (child.exitCode !== null || child.signalCode !== null) return false;
332
+ const tree = await descendantsToReap(child.pid);
247
333
  const exited = new Promise((resolve) => child.once("exit", () => resolve()));
248
334
  let timer;
249
335
  let poll;
@@ -270,6 +356,7 @@ async function closedWithoutKill(browser) {
270
356
  }, EXIT_POLL_MS);
271
357
  });
272
358
  await Promise.race([exited, goneBeforeExitEvent, exitLimit]);
359
+ await reapChromeTree(tree).catch(() => void 0);
273
360
  return clean;
274
361
  } finally {
275
362
  clearTimeout(timer);