hyperframes 0.8.168 → 0.8.169

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 (151) hide show
  1. package/dist/{add-VCX3UE2B.js → add-7GLP4BPM.js} +11 -11
  2. package/dist/{animatedGifPrep-TWD5BNVK.js → animatedGifPrep-NEBEGVSO.js} +5 -5
  3. package/dist/api.js +11 -11
  4. package/dist/{asset-BBJ3GAL7.js → asset-RORTT5HS.js} +2 -2
  5. package/dist/{assetCataloger-S47GINRQ.js → assetCataloger-RLJ6MDGF.js} +5 -5
  6. package/dist/{audio-MEDCANA3.js → audio-OKDGU7TY.js} +11 -11
  7. package/dist/{auth-LZYMCNTB.js → auth-QWYNCU5U.js} +1 -1
  8. package/dist/{autoUpdate-AXTW2NKX.js → autoUpdate-EDJJPWAU.js} +2 -2
  9. package/dist/{backgroundChecks-3YDYYI3D.js → backgroundChecks-KQR6FGVU.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-UDE7TOKY.js → batchRender-YKTTAIHH.js} +3 -3
  12. package/dist/{beats-HHXMPMGT.js → beats-I6AGLTLW.js} +4 -4
  13. package/dist/{benchmark-2BY7PBAP.js → benchmark-NBSV7PNB.js} +8 -8
  14. package/dist/{browser-CXB4KTJP.js → browser-FPEL5FGW.js} +3 -3
  15. package/dist/{bundleWithLocalizedFonts-M7CRHOS7.js → bundleWithLocalizedFonts-TYQXMNSU.js} +2 -2
  16. package/dist/{capture-PRTE4Z7E.js → capture-5BRJJMZB.js} +2 -2
  17. package/dist/{capture-WHG37ZLF.js → capture-FXGOI23U.js} +9 -9
  18. package/dist/{catalog-WRM2373Z.js → catalog-SG3ZIS45.js} +11 -11
  19. package/dist/{catch-up-WHLD6E5F.js → catch-up-ETXUT6Q5.js} +4 -4
  20. package/dist/{check-R5E7WLKF.js → check-KXNNIEUR.js} +34 -33
  21. package/dist/{checkBrowser-Y4CZVGIV.js → checkBrowser-546UMI3N.js} +29 -29
  22. package/dist/{chunk-EXMTTXKQ.js → chunk-2F4HJFGW.js} +2 -2
  23. package/dist/{chunk-MD4S2RXW.js → chunk-5ETJPA5Z.js} +9 -9
  24. package/dist/{chunk-54MI3SGP.js → chunk-5FWVFCQM.js} +2 -2
  25. package/dist/{chunk-QKJ4KGNR.js → chunk-5SQHHBAR.js} +1 -1
  26. package/dist/{chunk-OQGORCT3.js → chunk-7635SDI5.js} +2 -2
  27. package/dist/{chunk-CAHSX6IW.js → chunk-7FHFPHEM.js} +2 -2
  28. package/dist/{chunk-ATOXD5VV.js → chunk-A6K7M46D.js} +1 -1
  29. package/dist/{chunk-LGCHE2F4.js → chunk-AP5AVVAB.js} +1 -1
  30. package/dist/chunk-BIV5HVTQ.js +3803 -0
  31. package/dist/{chunk-BC2XZL6O.js → chunk-BNEKKUPG.js} +2 -2
  32. package/dist/{chunk-4WPRJ7ID.js → chunk-CESKA6VO.js} +1 -1
  33. package/dist/{chunk-FA3TWKZO.js → chunk-CNP6AMFM.js} +2 -2
  34. package/dist/{chunk-EW2QBTYO.js → chunk-DCG22HKT.js} +10 -7
  35. package/dist/{chunk-ID7B7NGN.js → chunk-EELTMBCC.js} +1 -1
  36. package/dist/{chunk-XR3XDG7V.js → chunk-EFP25BUY.js} +1 -1
  37. package/dist/{chunk-YTZA25TZ.js → chunk-FQJDV2RI.js} +1 -1
  38. package/dist/{chunk-YULVV525.js → chunk-FSX7GTBB.js} +1 -1
  39. package/dist/{chunk-TW7H5CJO.js → chunk-GVX2443P.js} +2 -2
  40. package/dist/{chunk-C3WPYYGK.js → chunk-J5Z56PU3.js} +1 -1
  41. package/dist/{chunk-4LXK7TOM.js → chunk-JPN7SVWC.js} +7 -7
  42. package/dist/{chunk-O7BABHM4.js → chunk-K5PU5ISL.js} +1 -1
  43. package/dist/{chunk-E7CIMKJS.js → chunk-KA4LSAD5.js} +1 -1
  44. package/dist/{chunk-MOJKJ4K4.js → chunk-MCPDZWZY.js} +4 -4
  45. package/dist/{chunk-BWFUUGIZ.js → chunk-NKG3LTPI.js} +10 -5
  46. package/dist/{chunk-SYKPCN32.js → chunk-O3J7BHBU.js} +3 -1
  47. package/dist/{chunk-KDC5D5VM.js → chunk-P24X6CGY.js} +1 -1
  48. package/dist/{chunk-HL6GWREP.js → chunk-PVTHDNDZ.js} +1 -1
  49. package/dist/{chunk-DO3UPPO4.js → chunk-Q5K73VW3.js} +2 -2
  50. package/dist/{chunk-EKEK3GOB.js → chunk-QD5VJOQK.js} +3 -3
  51. package/dist/{chunk-VTBME36F.js → chunk-QLHXC4E6.js} +1 -1
  52. package/dist/{chunk-PYSGYMM4.js → chunk-RUYYAL3T.js} +2 -2
  53. package/dist/{chunk-BOT7PGM5.js → chunk-RZKQ3G6B.js} +1 -1
  54. package/dist/{chunk-LZGRJDNJ.js → chunk-S6U7YLPJ.js} +1 -1
  55. package/dist/{chunk-LUSWL6OJ.js → chunk-SJPNVLYS.js} +2 -2
  56. package/dist/{chunk-AQZZZTFL.js → chunk-T4HL3SZH.js} +1 -1
  57. package/dist/{chunk-BTCUP5ZY.js → chunk-TEFHMDVR.js} +2 -2
  58. package/dist/{chunk-4CIMRQQY.js → chunk-TVDXMJ43.js} +1 -1
  59. package/dist/{chunk-5VGEWXJL.js → chunk-U7P2XTRY.js} +2 -2
  60. package/dist/{chunk-N7QCMEQG.js → chunk-UCNQE52B.js} +7 -7
  61. package/dist/{chunk-BV2NH7ZA.js → chunk-UISU4SYG.js} +1 -1
  62. package/dist/{chunk-ATCB4PMO.js → chunk-VCXVZRR2.js} +1 -1
  63. package/dist/{chunk-UWQL2MP4.js → chunk-WAVFNZB7.js} +25 -6
  64. package/dist/{chunk-2F7S7OK2.js → chunk-WICIV6R3.js} +23 -1
  65. package/dist/{chunk-CDDIEZ4D.js → chunk-XJQ6NN2L.js} +6 -6
  66. package/dist/{chunk-RG66EU4L.js → chunk-XK5SZNYE.js} +9 -9
  67. package/dist/{chunk-4PHDDZVL.js → chunk-XZNHVWDD.js} +4 -4
  68. package/dist/{chunk-NYIKKCMC.js → chunk-YLAREDAU.js} +1 -1
  69. package/dist/{chunk-2GSGFDEP.js → chunk-YT6TFGIS.js} +7 -7
  70. package/dist/{chunk-XOODFU75.js → chunk-YZRS3COO.js} +1 -1
  71. package/dist/{chunk-NT3WPYAU.js → chunk-ZFJ5RI7A.js} +3 -3
  72. package/dist/{clean-UPXYD6VX.js → clean-ARH23EGW.js} +11 -11
  73. package/dist/cli.js +53 -53
  74. package/dist/{cloud-74GU7KDD.js → cloud-GBY7MRZM.js} +4 -4
  75. package/dist/{cloudrun-KHMVQL7C.js → cloudrun-HBVA5UZB.js} +4 -4
  76. package/dist/{compare-BG77ZXYF.js → compare-Z4YNESYN.js} +24 -24
  77. package/dist/{compiler-OSQ4L7FP.js → compiler-6WJ5SVTD.js} +2 -2
  78. package/dist/{component-34PVECJG.js → component-AR4MS4R7.js} +3 -3
  79. package/dist/{compositions-KCVIKKSR.js → compositions-ERZVZBYW.js} +9 -9
  80. package/dist/{delete-NU2ENZYQ.js → delete-NWSW3BET.js} +2 -2
  81. package/dist/{dist-3VKMLNXT.js → dist-VKLSNKRZ.js} +2 -2
  82. package/dist/{doctor-GVELHIHI.js → doctor-P4QZQRCB.js} +7 -7
  83. package/dist/{events-E6CVR42M.js → events-F2UVJQIC.js} +2 -2
  84. package/dist/{events-UP3IQXPM.js → events-SV46AWMI.js} +3 -3
  85. package/dist/{feedback-IRYQ4YKX.js → feedback-XS4IK6SW.js} +6 -6
  86. package/dist/{figma-BLQBHAPG.js → figma-DELISEUP.js} +3 -3
  87. package/dist/fontLocalizeCli.js +7 -7
  88. package/dist/{get-HESG62RX.js → get-DNGXCEFB.js} +2 -2
  89. package/dist/{gpuPolicy-CHXUX2ZT.js → gpuPolicy-JG5PUOJP.js} +5 -5
  90. package/dist/{grade-compare-ZDJMJUYY.js → grade-compare-F46JWE4O.js} +24 -24
  91. package/dist/{help-2BQBFF4Z.js → help-XVEBMX3U.js} +1 -1
  92. package/dist/{history-4IZQ6NRV.js → history-NS4PKG4S.js} +6 -6
  93. package/dist/hyperframe-runtime.js +57 -57
  94. package/dist/hyperframe.manifest.json +1 -1
  95. package/dist/hyperframe.runtime.iife.js +57 -57
  96. package/dist/hyperframes-player.global.js +1 -1
  97. package/dist/{info-JNGAI3JU.js → info-DJ6VNESS.js} +7 -7
  98. package/dist/{init-ZQO6G5C7.js → init-TSRTMVRN.js} +20 -20
  99. package/dist/{inspect-DWMKJEVE.js → inspect-VTZXXDJ4.js} +25 -25
  100. package/dist/{installer-UKZT4SKK.js → installer-3ERHU4CD.js} +4 -4
  101. package/dist/{keyframes-FC273E5N.js → keyframes-6DN7BOYJ.js} +6 -6
  102. package/dist/{lambda-GSZCV77P.js → lambda-RCOIEGL6.js} +5 -5
  103. package/dist/{layout-ASSCBJCO.js → layout-FFGRLVK4.js} +25 -25
  104. package/dist/{lint-PSCEVVNL.js → lint-MBYIDFKS.js} +6 -6
  105. package/dist/{list-KO4N2VJL.js → list-KEZDFW5R.js} +2 -2
  106. package/dist/{login-ZJEBRFV5.js → login-7ZV374QL.js} +4 -4
  107. package/dist/{media-treatment-HGHLLZR3.js → media-treatment-LGWWRXAX.js} +8 -8
  108. package/dist/{models-NTAVDCAV.js → models-TC4K6UQP.js} +8 -8
  109. package/dist/{motionShot-SJENYTRO.js → motionShot-4E3RTV5O.js} +13 -13
  110. package/dist/{normalize-audio-PQIC7IPK.js → normalize-audio-XCGB2IQP.js} +4 -4
  111. package/dist/{open-EI7UEAZZ.js → open-JNNJSNTH.js} +4 -4
  112. package/dist/{parakeetRunner-7SDEI3IZ.js → parakeetRunner-S3DG4BJB.js} +8 -8
  113. package/dist/{pipeline-EXHHCUE7.js → pipeline-3SIYCBLU.js} +5 -5
  114. package/dist/{play-Y4EMM2OJ.js → play-LBPOOD3V.js} +16 -16
  115. package/dist/{present-LFMGQGX6.js → present-PWEN5SDL.js} +12 -12
  116. package/dist/{preview-EYQG7L6X.js → preview-IS32RLKM.js} +15 -15
  117. package/dist/{producer-FKOEAHJW.js → producer-4UUUEPPS.js} +1 -1
  118. package/dist/{projectConfig-SXW3QMZE.js → projectConfig-K347VIO3.js} +6 -6
  119. package/dist/{publication-ZC4LDEXQ.js → publication-4CQS532O.js} +2 -2
  120. package/dist/{publish-4ZCLHA5W.js → publish-OJYF37FY.js} +7 -7
  121. package/dist/{remove-background-IGDRS2QV.js → remove-background-HO6YL2HU.js} +6 -6
  122. package/dist/{render-ZN777RDD.js → render-L76SEAMC.js} +3 -3
  123. package/dist/{render-TA3DG3LZ.js → render-Q6QAXJCN.js} +8 -8
  124. package/dist/{render-QJCBJQOM.js → render-QBQYF2NC.js} +23 -23
  125. package/dist/{render-batch-2JQNFAL4.js → render-batch-JLANN5Y2.js} +3 -3
  126. package/dist/{resolver-JZF5G6YC.js → resolver-EDUM4DHG.js} +4 -4
  127. package/dist/{sherpa-MDVSUF6Y.js → sherpa-QEM5XYHD.js} +7 -7
  128. package/dist/{skills-JVNMX37H.js → skills-FSZK6FIG.js} +5 -5
  129. package/dist/{skillsUpdateCheck-KNTQFGOI.js → skillsUpdateCheck-3354HXDJ.js} +3 -3
  130. package/dist/{snapshot-RDQTFIPX.js → snapshot-5VVMFEMM.js} +27 -27
  131. package/dist/{src-ZPEZRIUC.js → src-RYILCNU7.js} +6 -6
  132. package/dist/{src-5XO7KBBL.js → src-ZGMLMQ3B.js} +4 -4
  133. package/dist/{staticProjectServer-RLERPIY6.js → staticProjectServer-PIVSGEAO.js} +12 -12
  134. package/dist/studio/assets/{hyperframes-player-mYPt9XVX.js → hyperframes-player-B04Yx96S.js} +1 -1
  135. package/dist/studio/assets/{index-B-v5xQjD.js → index-D2e0J6kh.js} +4 -4
  136. package/dist/studio/assets/{index-DtHmIKM0.js → index-D9CDX_Rr.js} +1 -1
  137. package/dist/studio/index.html +1 -1
  138. package/dist/{studio-api-4INCUOCU.js → studio-api-PHADR6VB.js} +6 -6
  139. package/dist/{studioServer-DMDE7IZU.js → studioServer-5AVDKN5V.js} +36 -36
  140. package/dist/{telemetry-4Y5DYI6H.js → telemetry-JCTHMPSB.js} +3 -3
  141. package/dist/{timeline-XJRKELVE.js → timeline-QU2F6R2M.js} +14 -14
  142. package/dist/{tokens-G4VKTABI.js → tokens-YYK4G36C.js} +2 -2
  143. package/dist/{transcribe-JRSQRPVH.js → transcribe-7ORH7R6O.js} +6 -6
  144. package/dist/{transcribe-Y46B2ZVD.js → transcribe-PRG4FLLA.js} +12 -12
  145. package/dist/{updateCheck-NGYDWGQL.js → updateCheck-NV7QNANK.js} +2 -2
  146. package/dist/{upgrade-M2LQP5S7.js → upgrade-UZXN36J2.js} +2 -2
  147. package/dist/{urlDownloader-UFDUP3VF.js → urlDownloader-AW57H722.js} +4 -4
  148. package/dist/{validate-B3AUFCC5.js → validate-QD53ABUM.js} +19 -19
  149. package/dist/{video-WLCNVSVU.js → video-VLVPYQQR.js} +5 -5
  150. package/package.json +1 -1
  151. package/dist/chunk-QE7XLLGT.js +0 -3803
@@ -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.168" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.8.168" : "0.0.0-dev";
9
+ var VERSION = true ? "0.8.169" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.8.169" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -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-ZPEZRIUC.js");
10
+ return await import("./src-RYILCNU7.js");
11
11
  }
12
12
 
13
13
  export {
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType
9
- } from "./chunk-CDDIEZ4D.js";
9
+ } from "./chunk-XJQ6NN2L.js";
10
10
  import {
11
11
  injectTagsAtHeadStart
12
- } from "./chunk-QE7XLLGT.js";
12
+ } from "./chunk-BIV5HVTQ.js";
13
13
 
14
14
  // src/utils/compositionServer.ts
15
15
  import { createHash } from "crypto";
@@ -9,25 +9,28 @@ import {
9
9
  launchManagedBrowser,
10
10
  resolveManagedGpuMode,
11
11
  rethrowAfterBrowserCleanup
12
- } from "./chunk-UWQL2MP4.js";
12
+ } from "./chunk-WAVFNZB7.js";
13
13
  import {
14
14
  resolveCompositionViewportFromHtml
15
15
  } from "./chunk-FH7WODJH.js";
16
16
  import {
17
17
  resolveDiagnosticNavigationTimeoutMs,
18
18
  windowsChromeCrashRemediation
19
- } from "./chunk-BTCUP5ZY.js";
19
+ } from "./chunk-TEFHMDVR.js";
20
+ import {
21
+ oneProcessOverPipe
22
+ } from "./chunk-WICIV6R3.js";
20
23
  import {
21
24
  resolveLocalBrowserGpuMode,
22
25
  resolveLocalWebGpu
23
- } from "./chunk-DO3UPPO4.js";
26
+ } from "./chunk-Q5K73VW3.js";
24
27
  import {
25
28
  c
26
29
  } from "./chunk-ZTZA4UWZ.js";
27
30
  import {
28
31
  assertWebGpuAdapterAvailable,
29
32
  compositionRequiresWebGpu
30
- } from "./chunk-CAHSX6IW.js";
33
+ } from "./chunk-7FHFPHEM.js";
31
34
  import {
32
35
  normalizeErrorMessage
33
36
  } from "./chunk-KNU5COPB.js";
@@ -110,9 +113,9 @@ async function openSettledCompositionPage(html, url, options) {
110
113
  const { ensureBrowser, findSystemBrowser } = await import("./manager-HEUPD2YB.js");
111
114
  const browser = await ensureBrowser({ signal: options.signal });
112
115
  const puppeteer = await import("puppeteer-core");
113
- const { buildChromeArgs } = await import("./src-5XO7KBBL.js");
116
+ const { buildChromeArgs } = await import("./src-ZGMLMQ3B.js");
114
117
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
115
- const answer = (await import("./staticProjectServer-RLERPIY6.js")).inProcessAnswer(url);
118
+ const answer = (await import("./staticProjectServer-PIVSGEAO.js")).inProcessAnswer(url);
116
119
  const requiresWebGpu = compositionRequiresWebGpu(html);
117
120
  let softwareWebGpu = false;
118
121
  const launch = async (executablePath) => {
@@ -133,7 +136,7 @@ async function openSettledCompositionPage(html, url, options) {
133
136
  headless: true,
134
137
  signal: options.signal,
135
138
  executablePath,
136
- ...answer ? { pipe: true, args: [...args, "--single-process"] } : { args }
139
+ ...answer ? oneProcessOverPipe({ args }) : { args }
137
140
  });
138
141
  };
139
142
  let chromeBrowser;
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-GMECXFAN.js";
28
28
  import {
29
29
  ITEM_TYPE_DIRS
30
- } from "./chunk-SYKPCN32.js";
30
+ } from "./chunk-O3J7BHBU.js";
31
31
  import {
32
32
  realProjectRoot
33
33
  } from "./chunk-OFQWTKPW.js";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
13
- } from "./chunk-SYKPCN32.js";
13
+ } from "./chunk-O3J7BHBU.js";
14
14
  import {
15
15
  parseHTML
16
16
  } from "./chunk-SDYDNHEE.js";
@@ -8,7 +8,7 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-YULVV525.js";
11
+ } from "./chunk-FSX7GTBB.js";
12
12
  import {
13
13
  getPowerState
14
14
  } from "./chunk-QWQ6GQTI.js";
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-XUXGIA7H.js";
30
30
  import {
31
31
  VERSION
32
- } from "./chunk-BC2XZL6O.js";
32
+ } from "./chunk-BNEKKUPG.js";
33
33
  import {
34
34
  CANARIES,
35
35
  canaryEnvVar,
@@ -8,10 +8,10 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-CAHSX6IW.js";
11
+ } from "./chunk-7FHFPHEM.js";
12
12
  import {
13
13
  parseAnimatedGifMetadata
14
- } from "./chunk-SYKPCN32.js";
14
+ } from "./chunk-O3J7BHBU.js";
15
15
  import {
16
16
  parseHTML
17
17
  } from "./chunk-SDYDNHEE.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-ID7B7NGN.js";
15
+ } from "./chunk-EELTMBCC.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { readFileSync, writeFileSync } from "fs";
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  RegistryCompatibilityError,
9
9
  gateRegistryItemsCompatibility
10
- } from "./chunk-XOODFU75.js";
10
+ } from "./chunk-YZRS3COO.js";
11
11
  import {
12
12
  DEFAULT_PROJECT_CONFIG,
13
13
  createProjectConfig,
14
14
  loadProjectConfig,
15
15
  projectConfigPath,
16
16
  recordProjectRegistryItems
17
- } from "./chunk-C3WPYYGK.js";
17
+ } from "./chunk-J5Z56PU3.js";
18
18
  import {
19
19
  resolveItemWithDependencies,
20
20
  resolveItemsByTag
21
- } from "./chunk-QKJ4KGNR.js";
21
+ } from "./chunk-5SQHHBAR.js";
22
22
  import {
23
23
  InvalidVariableValuesError,
24
24
  prepareItem,
25
25
  publishItem
26
- } from "./chunk-54MI3SGP.js";
26
+ } from "./chunk-5FWVFCQM.js";
27
27
  import {
28
28
  DEFAULT_REGISTRY_URL
29
- } from "./chunk-ID7B7NGN.js";
29
+ } from "./chunk-EELTMBCC.js";
30
30
  import {
31
31
  trackRegistryItemAdded
32
- } from "./chunk-YTZA25TZ.js";
32
+ } from "./chunk-FQJDV2RI.js";
33
33
  import {
34
34
  defineCommand
35
35
  } from "./chunk-S3S4TGEH.js";
@@ -41,7 +41,7 @@ import {
41
41
  } from "./chunk-ZTZA4UWZ.js";
42
42
  import {
43
43
  ITEM_TYPE_DIRS
44
- } from "./chunk-SYKPCN32.js";
44
+ } from "./chunk-O3J7BHBU.js";
45
45
  import {
46
46
  isProjectRootMissing,
47
47
  realpath
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ISN5GRYI.js";
18
18
  import {
19
19
  VERSION
20
- } from "./chunk-BC2XZL6O.js";
20
+ } from "./chunk-BNEKKUPG.js";
21
21
 
22
22
  // src/utils/updateCheck.ts
23
23
  import { existsSync, readFileSync } from "fs";
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-AWDFDFI3.js";
15
15
  import {
16
16
  isBlockedNetworkHost
17
- } from "./chunk-CAHSX6IW.js";
17
+ } from "./chunk-7FHFPHEM.js";
18
18
  import {
19
19
  DOMParser,
20
20
  parseHTML
@@ -6,21 +6,21 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-LZGRJDNJ.js";
9
+ } from "./chunk-S6U7YLPJ.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-5VGEWXJL.js";
15
+ } from "./chunk-U7P2XTRY.js";
16
16
  import {
17
17
  initialModelForLanguage,
18
18
  transcribe
19
- } from "./chunk-BV2NH7ZA.js";
19
+ } from "./chunk-UISU4SYG.js";
20
20
  import {
21
21
  createRenderCancellationScope,
22
22
  stoppedByCancelSignal
23
- } from "./chunk-ATOXD5VV.js";
23
+ } from "./chunk-A6K7M46D.js";
24
24
  import {
25
25
  formatSrt,
26
26
  formatVtt,
@@ -6,17 +6,22 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-2GSGFDEP.js";
9
+ } from "./chunk-YT6TFGIS.js";
10
10
  import {
11
11
  beginArtifactCapture
12
12
  } from "./chunk-JGYHWVXQ.js";
13
13
 
14
14
  // src/utils/artifactCapture.ts
15
+ var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
15
16
  async function captureArtifactRevision(projectDir) {
16
- return withOwner(projectDir, async (owner) => {
17
- await owner.checkpoint();
18
- return beginArtifactCapture(projectDir);
19
- });
17
+ return withOwner(
18
+ projectDir,
19
+ async (owner) => {
20
+ await owner.checkpoint();
21
+ return beginArtifactCapture(projectDir);
22
+ },
23
+ SKIP_BUSY_HISTORY
24
+ );
20
25
  }
21
26
 
22
27
  export {
@@ -9,7 +9,7 @@ import {
9
9
  parseStrictFiniteTimingNumber,
10
10
  resolveNaturalMediaTimelineDuration,
11
11
  resolveTimedImageDurationSeconds
12
- } from "./chunk-QE7XLLGT.js";
12
+ } from "./chunk-BIV5HVTQ.js";
13
13
  import {
14
14
  CANVAS_DIMENSIONS,
15
15
  isCompositionElement,
@@ -120,6 +120,8 @@ function parseFpsWithDefault(input) {
120
120
  return { ok: true, value: { num: 30, den: 1 } };
121
121
  return parseFps(input);
122
122
  }
123
+
124
+ // ../core/dist/distributedFps.js
123
125
  var DISTRIBUTED_FPS = [24, 25, 30, 60];
124
126
  function isDistributedFps(value) {
125
127
  return DISTRIBUTED_FPS.includes(value);
@@ -40,7 +40,7 @@ import {
40
40
  stripEmbeddedRuntimeScripts,
41
41
  styleElementsFor,
42
42
  warnUnknownEnumValues
43
- } from "./chunk-QE7XLLGT.js";
43
+ } from "./chunk-BIV5HVTQ.js";
44
44
  import {
45
45
  cssVariableName
46
46
  } from "./chunk-VC76R6W2.js";
@@ -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-UP3IQXPM.js");
1281
+ const { trackCommandFailure } = await import("./events-SV46AWMI.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveConfig,
9
9
  usesSoftwareWebGpu
10
- } from "./chunk-CAHSX6IW.js";
10
+ } from "./chunk-7FHFPHEM.js";
11
11
 
12
12
  // src/browser/gpuPolicy.ts
13
13
  function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
17
17
  return "auto";
18
18
  }
19
19
  async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
20
- const { resolveBrowserGpuMode } = await import("./src-5XO7KBBL.js");
20
+ const { resolveBrowserGpuMode } = await import("./src-ZGMLMQ3B.js");
21
21
  return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
22
22
  }
23
23
  function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType,
9
9
  injectMediaCodecMapIntoHtml
10
- } from "./chunk-CDDIEZ4D.js";
10
+ } from "./chunk-XJQ6NN2L.js";
11
11
  import {
12
12
  PROXY_VARIANT_CONFIG,
13
13
  ProxyCapacityError,
@@ -18,10 +18,10 @@ import {
18
18
  recordProxyRequest,
19
19
  resolveProxy,
20
20
  resolveProxyVariantRequest
21
- } from "./chunk-AQZZZTFL.js";
21
+ } from "./chunk-T4HL3SZH.js";
22
22
  import {
23
23
  resolveAutoProxy
24
- } from "./chunk-C3WPYYGK.js";
24
+ } from "./chunk-J5Z56PU3.js";
25
25
  import {
26
26
  decodeWellFormedEscapes
27
27
  } from "./chunk-BSQ7XANM.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  shouldTrack
9
- } from "./chunk-YULVV525.js";
9
+ } from "./chunk-FSX7GTBB.js";
10
10
 
11
11
  // src/telemetry/renderObservability.ts
12
12
  function renderObservabilityTelemetryPayload(observability) {
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-YTZA25TZ.js";
10
+ } from "./chunk-FQJDV2RI.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-YULVV525.js";
13
+ } from "./chunk-FSX7GTBB.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
@@ -19,7 +19,7 @@ import {
19
19
  import {
20
20
  formatVariableValidationIssue,
21
21
  validateVariables
22
- } from "./chunk-SYKPCN32.js";
22
+ } from "./chunk-O3J7BHBU.js";
23
23
  import {
24
24
  extractCompositionMetadata
25
25
  } from "./chunk-YMS5FOMC.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-5VGEWXJL.js";
10
+ } from "./chunk-U7P2XTRY.js";
11
11
  import {
12
12
  findParakeet
13
13
  } from "./chunk-JZIEZCQM.js";
@@ -20,7 +20,7 @@ import {
20
20
  SDR_RGB_TO_BT709_FILTER,
21
21
  SDR_RGB_TO_TAGGED_BT709_FILTER,
22
22
  renderProvenanceArgs
23
- } from "./chunk-CAHSX6IW.js";
23
+ } from "./chunk-7FHFPHEM.js";
24
24
 
25
25
  // src/background-removal/pipeline.ts
26
26
  import { spawn } from "child_process";
@@ -270,7 +270,7 @@ function inferInputKind(inputPath) {
270
270
  }
271
271
  async function probeMedia(inputPath) {
272
272
  const isImage = inferInputKind(inputPath) === "image";
273
- const engine = await import("./src-5XO7KBBL.js");
273
+ const engine = await import("./src-ZGMLMQ3B.js");
274
274
  const meta = await engine.extractMediaMetadata(inputPath);
275
275
  if (isImage) {
276
276
  return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
@@ -9,7 +9,7 @@ import {
9
9
  formatPreviewProxyBox,
10
10
  hdrToSdrToneMapFilter,
11
11
  parseFirstFrameColour
12
- } from "./chunk-SYKPCN32.js";
12
+ } from "./chunk-O3J7BHBU.js";
13
13
  import {
14
14
  decodeAuthoredAttribute,
15
15
  scanHtmlOpeningTags
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  readCompositionFps
9
- } from "./chunk-XR3XDG7V.js";
9
+ } from "./chunk-EFP25BUY.js";
10
10
  import {
11
11
  errorBox
12
12
  } from "./chunk-K2FLNJVB.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-PBN6GBJE.js";
16
16
  import {
17
17
  parseFps
18
- } from "./chunk-SYKPCN32.js";
18
+ } from "./chunk-O3J7BHBU.js";
19
19
 
20
20
  // src/browser/windowsCrash.ts
21
21
  var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
@@ -17,7 +17,7 @@ import {
17
17
  isAllowedHtmlAttribute,
18
18
  isSafeAttributeValue,
19
19
  sanitizeRichTextChildren
20
- } from "./chunk-SYKPCN32.js";
20
+ } from "./chunk-O3J7BHBU.js";
21
21
  import {
22
22
  decodedUrlPath,
23
23
  removeElementWithGsapCascade
@@ -21,10 +21,10 @@ import {
21
21
  emitWords,
22
22
  getPreparedWavDurationSeconds,
23
23
  prepareWav
24
- } from "./chunk-BV2NH7ZA.js";
24
+ } from "./chunk-UISU4SYG.js";
25
25
  import {
26
26
  stoppedByCancelSignal
27
- } from "./chunk-ATOXD5VV.js";
27
+ } from "./chunk-A6K7M46D.js";
28
28
  import {
29
29
  PARAKEET_MODEL_LABEL,
30
30
  SHERPA_ERROR_PREFIX,
@@ -22,7 +22,7 @@ import {
22
22
  EncoderInterruptedError,
23
23
  encoderFailureError,
24
24
  prepareAnimatedGifInputs
25
- } from "./chunk-TW7H5CJO.js";
25
+ } from "./chunk-GVX2443P.js";
26
26
  import {
27
27
  BROWSER_GPU_NOT_SOFTWARE,
28
28
  CaptureFailure,
@@ -151,7 +151,7 @@ import {
151
151
  validateEngineConfigSnapshot,
152
152
  verifyDiskDrawElementSamples,
153
153
  writeCapturedFrame
154
- } from "./chunk-CAHSX6IW.js";
154
+ } from "./chunk-7FHFPHEM.js";
155
155
  import {
156
156
  assignBundledRuntimeCompositionIds,
157
157
  buildVariablesByCompScript,
@@ -164,7 +164,7 @@ import {
164
164
  isTemplateEntry,
165
165
  parsesAsScript,
166
166
  prepareFlattenedInnerRoot
167
- } from "./chunk-KDC5D5VM.js";
167
+ } from "./chunk-P24X6CGY.js";
168
168
  import {
169
169
  LOW_MEMORY_TOTAL_MB_THRESHOLD,
170
170
  getCgroupMemoryLimitMb,
@@ -190,7 +190,7 @@ import {
190
190
  resolveAbsoluteMediaStartSeconds,
191
191
  resolveAuthoredTimingWindow,
192
192
  toFps
193
- } from "./chunk-SYKPCN32.js";
193
+ } from "./chunk-O3J7BHBU.js";
194
194
  import {
195
195
  COMPOSITION_SOURCE_URL,
196
196
  HF_COLOR_GRADING_ATTR,
@@ -218,7 +218,7 @@ import {
218
218
  shouldClampResolvedMediaDuration,
219
219
  sourceTimeAt,
220
220
  styleElementsFor
221
- } from "./chunk-QE7XLLGT.js";
221
+ } from "./chunk-BIV5HVTQ.js";
222
222
  import {
223
223
  MAX_AUDIO_GAIN
224
224
  } from "./chunk-UJKQWGFF.js";
@@ -14390,7 +14390,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
14390
14390
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
14391
14391
  if (probeResult.probeSession) {
14392
14392
  try {
14393
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-5XO7KBBL.js");
14393
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-ZGMLMQ3B.js");
14394
14394
  await closeCaptureSession2(probeResult.probeSession);
14395
14395
  } catch (err) {
14396
14396
  log.warn("[plan] probe session close failed", {
@@ -15917,7 +15917,7 @@ function startServer(options = {}) {
15917
15917
  });
15918
15918
  async function shutdown(signal) {
15919
15919
  log.info(`Received ${signal}, shutting down`);
15920
- const { drainBrowserPool } = await import("./src-5XO7KBBL.js");
15920
+ const { drainBrowserPool } = await import("./src-ZGMLMQ3B.js");
15921
15921
  await drainBrowserPool().catch(() => {
15922
15922
  });
15923
15923
  const handle = await Promise.race([
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  stoppedByCancelSignal
9
- } from "./chunk-ATOXD5VV.js";
9
+ } from "./chunk-A6K7M46D.js";
10
10
  import {
11
11
  DEFAULT_MODEL,
12
12
  ensureModel,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  updateNoticesSuppressed
9
- } from "./chunk-O7BABHM4.js";
9
+ } from "./chunk-K5PU5ISL.js";
10
10
  import {
11
11
  hostAnswers
12
12
  } from "./chunk-K4WIOZFP.js";
@@ -5,11 +5,15 @@ var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
+ inAgentSandbox,
9
+ isOneProcessOverPipe,
10
+ machServiceDenied,
11
+ oneProcessOverPipe,
8
12
  sandboxDeniedRemediation
9
- } from "./chunk-2F7S7OK2.js";
13
+ } from "./chunk-WICIV6R3.js";
10
14
  import {
11
15
  resolveCaptureBrowserGpuMode
12
- } from "./chunk-DO3UPPO4.js";
16
+ } from "./chunk-Q5K73VW3.js";
13
17
  import {
14
18
  isNavigationTimeoutError,
15
19
  withRemainingBudget
@@ -59,7 +63,7 @@ async function resolveManagedGpuMode(requestedMode, chromePath, context = {}) {
59
63
  context.signal?.throwIfAborted();
60
64
  const browser = await launchManagedBrowser(puppeteer, {
61
65
  ...options,
62
- ...context.noListen ? { pipe: true, args: [...options.args ?? [], "--single-process"] } : {},
66
+ ...context.noListen ? oneProcessOverPipe(options) : {},
63
67
  signal: context.signal
64
68
  });
65
69
  try {
@@ -73,6 +77,24 @@ async function resolveManagedGpuMode(requestedMode, chromePath, context = {}) {
73
77
  });
74
78
  }
75
79
  async function launchManagedBrowser(puppeteer, options) {
80
+ const sandboxed = isOneProcessOverPipe(options) || inAgentSandbox();
81
+ try {
82
+ return await launchOwnedBrowser(puppeteer, sandboxed ? oneProcessOverPipe(options) : options);
83
+ } catch (error) {
84
+ const unnamedSeatbelt = !sandboxed && machServiceDenied(normalizeErrorMessage(error));
85
+ if (!unnamedSeatbelt) throw withRemediation(error);
86
+ return launchOwnedBrowser(puppeteer, oneProcessOverPipe(options)).catch(
87
+ (retryError) => {
88
+ throw withRemediation(retryError);
89
+ }
90
+ );
91
+ }
92
+ }
93
+ function withRemediation(error) {
94
+ const remediation = sandboxDeniedRemediation(normalizeErrorMessage(error));
95
+ return remediation ? new Error(remediation, { cause: error }) : error;
96
+ }
97
+ async function launchOwnedBrowser(puppeteer, options) {
76
98
  if (shutdown) throw new Error("The CLI is stopping; no browser can start.");
77
99
  ownSignals();
78
100
  const abort = new AbortController();
@@ -91,9 +113,6 @@ async function launchManagedBrowser(puppeteer, options) {
91
113
  browsers.add(browser);
92
114
  child.once("exit", () => browsers.delete(browser));
93
115
  return browser;
94
- } catch (error) {
95
- const remediation = sandboxDeniedRemediation(normalizeErrorMessage(error));
96
- throw remediation ? new Error(remediation, { cause: error }) : error;
97
116
  } finally {
98
117
  pending.delete(launch);
99
118
  }
@@ -7,8 +7,26 @@ var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/browser/sandboxDenied.ts
9
9
  var MACH_SERVICE_DENIED = /bootstrap_check_in\b[^\n]*Permission denied/;
10
+ var SINGLE_PROCESS = "--single-process";
11
+ function machServiceDenied(errorMessage) {
12
+ return MACH_SERVICE_DENIED.test(errorMessage);
13
+ }
14
+ function inAgentSandbox(env = process.env, platform = process.platform) {
15
+ return platform === "darwin" && env.CODEX_SANDBOX === "seatbelt";
16
+ }
17
+ function oneProcessOverPipe(options) {
18
+ const args = options.args ?? [];
19
+ return {
20
+ ...options,
21
+ pipe: true,
22
+ args: args.includes(SINGLE_PROCESS) ? args : [...args, SINGLE_PROCESS]
23
+ };
24
+ }
25
+ function isOneProcessOverPipe(options) {
26
+ return options.pipe === true && (options.args ?? []).includes(SINGLE_PROCESS);
27
+ }
10
28
  function sandboxDeniedRemediation(errorMessage) {
11
- if (!MACH_SERVICE_DENIED.test(errorMessage)) return void 0;
29
+ if (!machServiceDenied(errorMessage)) return void 0;
12
30
  return [
13
31
  "The browser can't start inside this sandbox: macOS refused Chrome's mach service (bootstrap_check_in: Permission denied).",
14
32
  "Rerun this command with escalation, outside the sandbox."
@@ -16,5 +34,9 @@ function sandboxDeniedRemediation(errorMessage) {
16
34
  }
17
35
 
18
36
  export {
37
+ machServiceDenied,
38
+ inAgentSandbox,
39
+ oneProcessOverPipe,
40
+ isOneProcessOverPipe,
19
41
  sandboxDeniedRemediation
20
42
  };