hyperframes 0.8.208 → 0.8.209

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 (190) hide show
  1. package/dist/{add-XMWRBMBR.js → add-VZKUIZEH.js} +14 -13
  2. package/dist/{animatedGifPrep-6XURJIPV.js → animatedGifPrep-PN4G4YPJ.js} +8 -6
  3. package/dist/api.js +19 -16
  4. package/dist/{appHistory-HIBH6XZW.js → appHistory-OHYU5ZBQ.js} +3 -2
  5. package/dist/{asset-I5GGEOB2.js → asset-I4PHGE57.js} +2 -2
  6. package/dist/{assetCataloger-YBPXUNUP.js → assetCataloger-LRAUXQ46.js} +8 -6
  7. package/dist/{audio-GFJCHH5W.js → audio-T7SAVYED.js} +27 -18
  8. package/dist/{auth-QOA55RYR.js → auth-GP6HTQT3.js} +1 -1
  9. package/dist/{autoUpdate-SPS4QPJU.js → autoUpdate-Z6GFPZAG.js} +2 -2
  10. package/dist/{backgroundChecks-HRJO7YK7.js → backgroundChecks-ZJ7JV52S.js} +3 -3
  11. package/dist/backgroundChecksWorker.js +3 -3
  12. package/dist/{batchRender-FBP3RKUF.js → batchRender-J3ETE23Y.js} +3 -3
  13. package/dist/{beats-VNGJ7F6W.js → beats-WF4FJCM5.js} +13 -10
  14. package/dist/{benchmark-NZ3N3MIV.js → benchmark-B7UPP4PQ.js} +8 -8
  15. package/dist/{browser-BD5BKRJ5.js → browser-SIUYD43U.js} +3 -3
  16. package/dist/{bundleWithLocalizedFonts-WXVNPAWD.js → bundleWithLocalizedFonts-RRGFY3XV.js} +2 -2
  17. package/dist/{capture-LMJ4TQRL.js → capture-J3GLHUKI.js} +2 -2
  18. package/dist/{capture-CXWXKWS5.js → capture-VYS4PCCJ.js} +13 -12
  19. package/dist/{captureCompositionFrame-ZKVCRYYU.js → captureCompositionFrame-SVLMPQYC.js} +13 -12
  20. package/dist/{catalog-WRXQSCAU.js → catalog-DVBNR422.js} +14 -13
  21. package/dist/{catch-up-MDSPABFC.js → catch-up-OBPMV7KG.js} +7 -6
  22. package/dist/{check-SIBBK5HA.js → check-MEALXNZK.js} +42 -40
  23. package/dist/{checkAudio-QQBR4HR7.js → checkAudio-RZ7WQYVN.js} +21 -12
  24. package/dist/{checkBrowser-4EBJLLIH.js → checkBrowser-2LEQ2LSX.js} +35 -33
  25. package/dist/{chunk-P7WGVXR7.js → chunk-3A4SB326.js} +6 -6
  26. package/dist/{chunk-FFDYRJBE.js → chunk-3PTZ2TD4.js} +1 -1
  27. package/dist/{chunk-4HT2L6W2.js → chunk-3PUXUIWB.js} +1 -1
  28. package/dist/chunk-3RATCY3W.js +205 -0
  29. package/dist/{chunk-X6MCIK7L.js → chunk-4BXEPVSA.js} +17 -11
  30. package/dist/{chunk-XOFBXLMG.js → chunk-5T4DP25D.js} +5 -3
  31. package/dist/{chunk-ULL3U6PV.js → chunk-66PNSZ7K.js} +1 -1
  32. package/dist/chunk-7VZEOCUY.js +98 -0
  33. package/dist/{chunk-TNTGGDSD.js → chunk-A7GDBL6D.js} +1 -1
  34. package/dist/{chunk-6WRN4WC6.js → chunk-AQTODJWP.js} +1 -1
  35. package/dist/{chunk-K4PHB3YQ.js → chunk-BYPDKF36.js} +1 -1
  36. package/dist/{chunk-MBGM26P5.js → chunk-CA3PXWN4.js} +1 -1
  37. package/dist/{chunk-SI7QCT2J.js → chunk-CBM4ZUVN.js} +5 -5
  38. package/dist/{chunk-IL2TMC6F.js → chunk-CIDCNE2D.js} +21 -5
  39. package/dist/chunk-D3MUHMFG.js +16 -0
  40. package/dist/{chunk-6N7D2GUV.js → chunk-D6T5BNSK.js} +17 -16
  41. package/dist/{chunk-XG3IZV62.js → chunk-DR47DSOY.js} +5 -5
  42. package/dist/{chunk-B5MPMIKQ.js → chunk-DVIX7UPH.js} +2 -2
  43. package/dist/{chunk-PSOAGSNO.js → chunk-EA5FUMJN.js} +1 -1
  44. package/dist/{chunk-VR3JLTZD.js → chunk-EVYDKSML.js} +3 -3
  45. package/dist/{chunk-XUQYC5DD.js → chunk-F4O4G4ZW.js} +5 -5
  46. package/dist/{chunk-VS4SK7BN.js → chunk-FB5BXGGF.js} +7 -7
  47. package/dist/{chunk-IIJVSCSH.js → chunk-GQZHLF5P.js} +13 -13
  48. package/dist/{chunk-J67FSI3Q.js → chunk-H7B526GH.js} +19 -16
  49. package/dist/{chunk-CSWCZA6V.js → chunk-I3ICHLHV.js} +2 -2
  50. package/dist/{chunk-EYEEZXLI.js → chunk-IJPFVMIE.js} +9 -9
  51. package/dist/{chunk-MPO25DQW.js → chunk-IQNS7O4W.js} +117 -135
  52. package/dist/{chunk-3O2E4Q66.js → chunk-J7A73K2B.js} +35 -22
  53. package/dist/{chunk-GHSO62LK.js → chunk-JC6BAQOG.js} +4 -10
  54. package/dist/{chunk-PKVA6MPV.js → chunk-JJRMN2RV.js} +63 -200
  55. package/dist/{chunk-XMRA7CQG.js → chunk-KCLBO65Y.js} +1 -1
  56. package/dist/{chunk-CP225S5H.js → chunk-KGBFHYHX.js} +4 -4
  57. package/dist/{chunk-QP2MJYTJ.js → chunk-L5XVBFUM.js} +1 -1
  58. package/dist/{chunk-DHQSDCWD.js → chunk-L7MGVFR4.js} +2 -1
  59. package/dist/{chunk-WNMVC3IT.js → chunk-LJ7H2A2C.js} +1 -1
  60. package/dist/{chunk-NZ6G5YWZ.js → chunk-LV4NWCJS.js} +1 -1
  61. package/dist/{chunk-QWBVPWUI.js → chunk-MI4V4HPE.js} +1 -1
  62. package/dist/{chunk-7CPI2DWL.js → chunk-MKALOCDV.js} +1 -1
  63. package/dist/{chunk-ENRFKCI6.js → chunk-MVNTJGDX.js} +3 -3
  64. package/dist/{chunk-GEO6THL3.js → chunk-NJZRXELC.js} +28 -25
  65. package/dist/{chunk-EOVYQ3IG.js → chunk-NQ2INEHX.js} +17 -17
  66. package/dist/{chunk-BLCKQPBE.js → chunk-NXNDHV26.js} +1 -1
  67. package/dist/{chunk-WABB4LZS.js → chunk-OK3QLJSF.js} +1 -1
  68. package/dist/{chunk-4KG3ESVO.js → chunk-OML6HQQN.js} +1 -1
  69. package/dist/{chunk-OTXXDONS.js → chunk-P2FSCR5B.js} +2 -2
  70. package/dist/{chunk-FC4WT5FX.js → chunk-P327BIJR.js} +1 -14
  71. package/dist/{chunk-43MW4SY7.js → chunk-P3OKYRGA.js} +3 -3
  72. package/dist/{chunk-S4KHJERB.js → chunk-PYVYF64E.js} +1 -1
  73. package/dist/{chunk-CZUAX3BV.js → chunk-QIDN4ML5.js} +1 -1
  74. package/dist/{chunk-DXACKQ3F.js → chunk-QIKZ2HZJ.js} +3 -3
  75. package/dist/{chunk-EGOXYG3M.js → chunk-R52YM6ZK.js} +1 -1
  76. package/dist/{chunk-MW2NQQ6Z.js → chunk-RAONLDN5.js} +2 -2
  77. package/dist/{chunk-MYO77JWR.js → chunk-RJO4X3AA.js} +1 -1
  78. package/dist/{chunk-LSMFOZ4F.js → chunk-RVG2JNDU.js} +1 -1
  79. package/dist/{chunk-7PAK7LZ5.js → chunk-SE6S4SGZ.js} +11 -13
  80. package/dist/{chunk-G2A6RC5R.js → chunk-SNLXWCET.js} +64 -48
  81. package/dist/{chunk-4F5NRJ6M.js → chunk-SOXQXX2M.js} +2 -2
  82. package/dist/{chunk-U6KN6OIP.js → chunk-SPMKVI6H.js} +1 -1
  83. package/dist/{chunk-6CWKORZO.js → chunk-SWHCYFEF.js} +27 -5
  84. package/dist/{chunk-PWEOSJ3E.js → chunk-TF7YE7J5.js} +3 -3
  85. package/dist/{chunk-Z5TGBEPJ.js → chunk-TSM67ADU.js} +1 -1
  86. package/dist/{chunk-BKDQFOKK.js → chunk-U5IZUWBW.js} +3 -3
  87. package/dist/{chunk-6JNSYFOH.js → chunk-V4VXWOIF.js} +3 -3
  88. package/dist/{chunk-ORFRUZPB.js → chunk-W32DVMX3.js} +2 -2
  89. package/dist/{chunk-4LTBQEPD.js → chunk-WLVHSGVL.js} +2 -2
  90. package/dist/chunk-XCIHCPJK.js +106 -0
  91. package/dist/{chunk-HUKQW4YE.js → chunk-Y2EVJBR6.js} +1 -1
  92. package/dist/{chunk-HZN7ICAF.js → chunk-YCGLT5B4.js} +1 -1
  93. package/dist/{chunk-5PCALX6G.js → chunk-YIFEK3UD.js} +1 -1
  94. package/dist/{chunk-6DSYBW7Z.js → chunk-YRO3PXWU.js} +1 -85
  95. package/dist/{chunk-5HB4JM7H.js → chunk-Z67J3TTU.js} +5 -3
  96. package/dist/{chunk-SKKQMW5X.js → chunk-ZMIRSWN6.js} +1 -1
  97. package/dist/{chunk-S2OLTAEL.js → chunk-ZPILPVYU.js} +2 -2
  98. package/dist/chunk-ZXTSUXSL.js +4870 -0
  99. package/dist/{clean-6GX7WAEC.js → clean-VWCYLOVI.js} +20 -17
  100. package/dist/cli.js +55 -55
  101. package/dist/{cloud-6PFJKLNL.js → cloud-HU3RXCVE.js} +4 -4
  102. package/dist/{cloudrun-UGG3ZFH7.js → cloudrun-OST6QBYD.js} +4 -4
  103. package/dist/commands/layout-audit.browser.js +1 -0
  104. package/dist/{compare-P4EBOP4B.js → compare-U2MJWZAH.js} +32 -30
  105. package/dist/{compiler-PG4RKX6K.js → compiler-DSP4MVEC.js} +5 -3
  106. package/dist/{component-SQPMI3W7.js → component-EC5XU6KR.js} +3 -3
  107. package/dist/{compositions-KRIHY3IY.js → compositions-AKYCTF4G.js} +12 -10
  108. package/dist/{delete-T5TO4SV6.js → delete-Z5MOEZM2.js} +5 -4
  109. package/dist/{deploy-AO6LQR5G.js → deploy-Y4LFVYXT.js} +1 -1
  110. package/dist/{dist-6IMEDVMC.js → dist-73YTUT3W.js} +1 -1
  111. package/dist/{dist-23AAB5X2.js → dist-JJL4QUDL.js} +2 -2
  112. package/dist/{doctor-QBUJQ655.js → doctor-7234U557.js} +12 -10
  113. package/dist/{events-J7CESLKQ.js → events-RUIZNTG3.js} +2 -2
  114. package/dist/{events-SIZO7YHI.js → events-SII53QYO.js} +3 -3
  115. package/dist/{feedback-74WOJ5PN.js → feedback-6CCDDQ36.js} +7 -7
  116. package/dist/{ffmpeg-AKUP6U2S.js → ffmpeg-C4VWK4M2.js} +8 -6
  117. package/dist/{figma-GGMYRR4Q.js → figma-GAN63U5U.js} +3 -3
  118. package/dist/fontLocalizeCli.js +11 -9
  119. package/dist/{get-PLKAI6JM.js → get-RZGUHZB4.js} +5 -4
  120. package/dist/{gpuPolicy-EYDAAPJF.js → gpuPolicy-BGJRCLP4.js} +8 -6
  121. package/dist/{grade-compare-UADJP4AV.js → grade-compare-XOBN52WV.js} +33 -31
  122. package/dist/{heifImagePrep-KDF3OPOK.js → heifImagePrep-DCHSYGW7.js} +9 -7
  123. package/dist/{help-WSQQ555Q.js → help-O2IV6PUC.js} +1 -1
  124. package/dist/{history-VSQ2DQ3V.js → history-GPTEM4UX.js} +9 -8
  125. package/dist/hyperframe.manifest.json +1 -1
  126. package/dist/hyperframe.runtime.iife.js +64 -64
  127. package/dist/hyperframes-player.global.js +1 -1
  128. package/dist/{info-MOQ4LRC3.js → info-7Y3JPN7C.js} +7 -7
  129. package/dist/{init-EONQSZJG.js → init-L6W5WG5K.js} +34 -29
  130. package/dist/{inspect-OLCVLHOU.js → inspect-MQZANGQY.js} +33 -31
  131. package/dist/{installer-GHISA75B.js → installer-DCIMLYB6.js} +4 -4
  132. package/dist/{keyframes-DGQYCY24.js → keyframes-WNJIKL4G.js} +6 -6
  133. package/dist/{lambda-AMMWF2YH.js → lambda-FEA4SSFK.js} +12 -10
  134. package/dist/{layout-R6CAPGRO.js → layout-AUQAYDJU.js} +33 -31
  135. package/dist/{lint-QZJEYPHD.js → lint-A33IHYID.js} +7 -7
  136. package/dist/{lintProject-W3YVHAGP.js → lintProject-KCN7MRBN.js} +1 -1
  137. package/dist/{list-KCJID4SP.js → list-56JHCET6.js} +5 -4
  138. package/dist/{login-7HKBEPJS.js → login-HUOM4GNP.js} +4 -4
  139. package/dist/{manager-6YSKJMVD.js → manager-SDRJOMPR.js} +9 -7
  140. package/dist/{media-treatment-E3DL6LEZ.js → media-treatment-5TGZOD67.js} +14 -12
  141. package/dist/{models-URWI7YEG.js → models-ABDX6TXI.js} +12 -10
  142. package/dist/{motionShot-27IXMDJK.js → motionShot-AV2WRH2C.js} +16 -15
  143. package/dist/{normalize-audio-WGRLPR3P.js → normalize-audio-M7T25DST.js} +10 -7
  144. package/dist/{open-LQ35PLEN.js → open-IRNZY5XN.js} +15 -14
  145. package/dist/{parakeetRunner-XASVIDTI.js → parakeetRunner-2EJUIMOJ.js} +16 -13
  146. package/dist/{pipeline-GA7QVCHS.js → pipeline-QGKOJKXS.js} +9 -7
  147. package/dist/{play-RYZP77CI.js → play-2SQLHM5B.js} +24 -21
  148. package/dist/{preflight-HJFSJXXF.js → preflight-ZHXMG2SM.js} +9 -7
  149. package/dist/{present-YBMLOWZV.js → present-RERVL6R7.js} +19 -16
  150. package/dist/{preview-QIRKJCRV.js → preview-S6RQOMHE.js} +22 -20
  151. package/dist/{producer-524FDOLX.js → producer-DBRGH2FI.js} +1 -1
  152. package/dist/{projectConfig-IDQN5ZRW.js → projectConfig-TUMDULTL.js} +9 -8
  153. package/dist/{publication-3X3IGSDO.js → publication-7VGXIFVZ.js} +2 -2
  154. package/dist/{publish-2BF7K6HX.js → publish-KJB2AGHL.js} +14 -11
  155. package/dist/{remove-background-EZBCEFT6.js → remove-background-EFWXPLS4.js} +10 -8
  156. package/dist/{render-TEEBI2UT.js → render-5O5ARP6C.js} +49 -50
  157. package/dist/{render-JFMTAXHD.js → render-7S6UBLOE.js} +36 -36
  158. package/dist/{render-EFUA2A6A.js → render-HV6AA22W.js} +5 -5
  159. package/dist/{render-batch-XTYNXVSW.js → render-batch-7UEOULJJ.js} +5 -5
  160. package/dist/renderSetupWorker.js +1 -1
  161. package/dist/{resolver-FZS6TN6B.js → resolver-HFTEER5V.js} +4 -4
  162. package/dist/{sherpa-TQIAIKTH.js → sherpa-HSSM76FL.js} +15 -12
  163. package/dist/{skills-S6ZG5KKH.js → skills-RQO5K6WL.js} +5 -5
  164. package/dist/{skillsUpdateCheck-XC7JQL3F.js → skillsUpdateCheck-S5WL2YLZ.js} +3 -3
  165. package/dist/{snapshot-ERYZIM32.js → snapshot-4RGI235E.js} +86 -52
  166. package/dist/{src-6XOMREMS.js → src-ALOV4D57.js} +24 -9
  167. package/dist/{src-OL6RHPE4.js → src-D75YYW2M.js} +10 -8
  168. package/dist/{staticProjectServer-JYDDGPAH.js → staticProjectServer-DIHWPJ6B.js} +21 -18
  169. package/dist/studio/assets/{hyperframes-player-5dRdMVOq.js → hyperframes-player-CMH8OeX2.js} +1 -1
  170. package/dist/studio/assets/{index-Bu3mJUU2.js → index-DQam8zzE.js} +4 -4
  171. package/dist/studio/assets/{index-ZqyQ91pm.js → index-DjHzuJGR.js} +1 -1
  172. package/dist/studio/index.html +1 -1
  173. package/dist/{studio-api-GRU4SHKD.js → studio-api-A2VSWTVF.js} +13 -10
  174. package/dist/{studioServer-OYPBEI5B.js → studioServer-PECYWZHS.js} +53 -51
  175. package/dist/{synthesize-QZHRXGRY.js → synthesize-RVE7IUOJ.js} +3 -2
  176. package/dist/{telemetry-CPYINR63.js → telemetry-YDGXGOLH.js} +3 -3
  177. package/dist/{timeline-RGK5BMPD.js → timeline-5WUEEKZ3.js} +21 -18
  178. package/dist/{tokens-EX4BOWRW.js → tokens-XVFZPIUZ.js} +2 -2
  179. package/dist/{transcribe-RI52JMVW.js → transcribe-QWDUIJWK.js} +20 -17
  180. package/dist/{transcribe-MK367I6A.js → transcribe-TTJ6CDQT.js} +12 -9
  181. package/dist/{tts-AY4JO5NQ.js → tts-AGMCPQXE.js} +1 -1
  182. package/dist/{updateCheck-BIEJKQI4.js → updateCheck-P7STSJ6Q.js} +2 -2
  183. package/dist/{upgrade-ES3UUI7O.js → upgrade-NEIZ3KVL.js} +2 -2
  184. package/dist/{urlDownloader-XAGYSTAG.js → urlDownloader-ZZFNGZNG.js} +7 -5
  185. package/dist/{validate-A6GZHNEI.js → validate-T2SLBOXG.js} +26 -24
  186. package/dist/{video-OEMGR3MN.js → video-7OHSBSRT.js} +8 -6
  187. package/dist/warmCheck.js +42 -40
  188. package/package.json +1 -1
  189. package/dist/chunk-BQMAPNDA.js +0 -4830
  190. package/dist/chunk-DKPNNYBZ.js +0 -44
@@ -12,16 +12,20 @@ import {
12
12
  atomicTempPath,
13
13
  isAtomicTempPath,
14
14
  replaceFileAtomically
15
- } from "./chunk-EOVYQ3IG.js";
15
+ } from "./chunk-NQ2INEHX.js";
16
16
  import {
17
17
  isProjectIgnoredDir
18
18
  } from "./chunk-EVMY7IPL.js";
19
+ import {
20
+ renameWithRetry,
21
+ renameWithRetryAsync
22
+ } from "./chunk-XCIHCPJK.js";
19
23
  import {
20
24
  isSafePath,
21
25
  mkdirWithinProject
22
26
  } from "./chunk-OFQWTKPW.js";
23
27
 
24
- // ../studio-server/dist/chunk-WAMZ2Z5O.js
28
+ // ../studio-server/dist/chunk-BWZMWYB2.js
25
29
  import { randomUUID as randomUUID7 } from "crypto";
26
30
  import { mkdir as mkdir2, readdir as readdir3, rm as rm3, rmdir, stat as stat2, writeFile } from "fs/promises";
27
31
  import {
@@ -48,13 +52,13 @@ import { createHash as createHash2 } from "crypto";
48
52
  import { lstatSync, readFileSync as readFileSync3, readdirSync } from "fs";
49
53
  import { extname, isAbsolute as isAbsolute2, relative as relative2, resolve as resolve2, sep as sep2 } from "path";
50
54
  import { createHash as createHash3, randomUUID as randomUUID3 } from "crypto";
51
- import { constants, createReadStream, createWriteStream, renameSync } from "fs";
52
- import { copyFile, mkdir, readdir, readFile, rename, rm, stat } from "fs/promises";
55
+ import { constants, createReadStream, createWriteStream } from "fs";
56
+ import { copyFile, mkdir, readdir, readFile, rm, stat } from "fs/promises";
53
57
  import { dirname, join as join2 } from "path";
54
58
  import { pipeline } from "stream/promises";
55
59
  import { extname as extname2 } from "path";
56
60
  import { randomUUID as randomUUID5 } from "crypto";
57
- import { readdirSync as readdirSync2, readFileSync as readFileSync5, renameSync as renameSync2, statSync as statSync3, writeFileSync as writeFileSync3 } from "fs";
61
+ import { readdirSync as readdirSync2, readFileSync as readFileSync5, renameSync, statSync as statSync3, writeFileSync as writeFileSync3 } from "fs";
58
62
  import { lstat, readdir as readdir2, rm as rm2 } from "fs/promises";
59
63
  import { tmpdir } from "os";
60
64
  import { dirname as dirname2, join as join4 } from "path";
@@ -62,7 +66,7 @@ import { randomUUID as randomUUID4 } from "crypto";
62
66
  import { existsSync, mkdirSync as mkdirSync2, readFileSync as readFileSync4, statSync as statSync2, writeFileSync as writeFileSync2 } from "fs";
63
67
  import { basename, join as join3, resolve as resolve3 } from "path";
64
68
  import { createHash as createHash5, randomUUID as randomUUID6 } from "crypto";
65
- import { createReadStream as createReadStream2, existsSync as existsSync2, readFileSync as readFileSync8, renameSync as renameSync3, statSync as statSync4 } from "fs";
69
+ import { createReadStream as createReadStream2, existsSync as existsSync2, readFileSync as readFileSync8, renameSync as renameSync2, statSync as statSync4 } from "fs";
66
70
  import { isAbsolute as isAbsolute4, join as join7, resolve as resolve6 } from "path";
67
71
  import { createHash as createHash4 } from "crypto";
68
72
  import {
@@ -262,14 +266,15 @@ function claim(file) {
262
266
  const draft = `${file}-${process.pid}-${randomUUID2()}.tmp`;
263
267
  writeFileSync(draft, String(process.pid));
264
268
  try {
265
- linkSync(draft, file);
266
- recordStart(file);
267
- return true;
268
- } catch (error) {
269
- const code = error.code ?? "";
270
- if (code === "EEXIST") return false;
271
- if (!NO_HARD_LINKS.has(code)) throw error;
272
- return createExclusively(file);
269
+ try {
270
+ linkSync(draft, file);
271
+ } catch (error) {
272
+ const code = error.code ?? "";
273
+ if (code === "EEXIST") return false;
274
+ if (!NO_HARD_LINKS.has(code)) throw error;
275
+ return createExclusively(file);
276
+ }
277
+ return recordOwnership(file);
273
278
  } finally {
274
279
  rmSync(draft, { force: true });
275
280
  }
@@ -277,12 +282,20 @@ function claim(file) {
277
282
  function createExclusively(file) {
278
283
  try {
279
284
  writeFileSync(file, String(process.pid), { flag: "wx" });
280
- recordStart(file);
281
- return true;
282
285
  } catch (error) {
283
286
  if (error.code !== "EEXIST") throw error;
284
287
  return false;
285
288
  }
289
+ return recordOwnership(file);
290
+ }
291
+ function recordOwnership(file) {
292
+ try {
293
+ recordStart(file);
294
+ return true;
295
+ } catch (error) {
296
+ releaseOwn(file);
297
+ throw error;
298
+ }
286
299
  }
287
300
  function releaseOwn(file) {
288
301
  if (ownerOf(file) !== process.pid) return;
@@ -595,7 +608,7 @@ async function cloneOrCopy(from, to, beforeReplace) {
595
608
  try {
596
609
  await copyFile(from, temp, constants.COPYFILE_FICLONE);
597
610
  beforeReplace?.();
598
- renameSync(temp, to);
611
+ renameWithRetry(temp, to);
599
612
  } catch (error) {
600
613
  await rm(temp, { force: true });
601
614
  throw error;
@@ -651,7 +664,7 @@ async function openBlobStore(dir) {
651
664
  }
652
665
  await mkdir(dirname(blobPath(dir, hash)), { recursive: true });
653
666
  const size = (await stat(temp)).size;
654
- await rename(temp, blobPath(dir, hash));
667
+ await renameWithRetryAsync(temp, blobPath(dir, hash));
655
668
  sizes.set(hash, size);
656
669
  total += size;
657
670
  return hash;
@@ -675,7 +688,7 @@ async function openBlobStore(dir) {
675
688
  }
676
689
  const to = blobPath(asideDir, hash);
677
690
  await mkdir(dirname(to), { recursive: true });
678
- const moved = remove && await rename(absPath, to).then(
691
+ const moved = remove && await renameWithRetryAsync(absPath, to).then(
679
692
  () => true,
680
693
  () => false
681
694
  );
@@ -685,7 +698,7 @@ async function openBlobStore(dir) {
685
698
  await rm(temp, { force: true });
686
699
  throw error;
687
700
  });
688
- await rename(temp, to);
701
+ await renameWithRetryAsync(temp, to);
689
702
  }
690
703
  asideSizes.set(hash, (await stat(to)).size);
691
704
  holds.set(hash, /* @__PURE__ */ new Set([path]));
@@ -886,7 +899,7 @@ function recheckAndMoveAway(historyRoot, id, { now, dryRun, tempDir }) {
886
899
  if (projectDir === null) return null;
887
900
  if (dryRun) return { projectDir, trash: null };
888
901
  const trash = join4(historyRoot, `${PRUNED_PREFIX}${id}-${randomUUID5()}`);
889
- renameSync2(home, trash);
902
+ renameSync(home, trash);
890
903
  return { projectDir, trash };
891
904
  }
892
905
  function abandonedProject(home, id, now, tempDir) {
@@ -1308,7 +1321,7 @@ async function updateState(dir, update) {
1308
1321
  state = readState(dir);
1309
1322
  } catch (error) {
1310
1323
  if (!(error instanceof SyntaxError)) throw error;
1311
- renameSync3(statePath(dir), `${statePath(dir)}.invalid-${randomUUID6()}`);
1324
+ renameSync2(statePath(dir), `${statePath(dir)}.invalid-${randomUUID6()}`);
1312
1325
  state = emptyState();
1313
1326
  }
1314
1327
  update(state);
@@ -16,7 +16,6 @@ import {
16
16
  SCENE_PARTS_META,
17
17
  SCENE_PART_ATTR,
18
18
  assignMediaRenderIds,
19
- buildVariablesByCompScript,
20
19
  clampDurations,
21
20
  compileTimingAttrs,
22
21
  compositionStyle,
@@ -25,6 +24,7 @@ import {
25
24
  cssStyleMergeKey,
26
25
  dedupeFontFaceRules,
27
26
  deferScriptsUntilFonts,
27
+ emitVariablesByCompScript,
28
28
  enumerateNestedCompositionHosts,
29
29
  escapeCssAttributeValue,
30
30
  escapeCssIdentifier,
@@ -59,7 +59,7 @@ import {
59
59
  warnUnknownEnumValues,
60
60
  wrapInlineScriptWithErrorBoundary,
61
61
  wrapScopedCompositionScript
62
- } from "./chunk-BQMAPNDA.js";
62
+ } from "./chunk-ZXTSUXSL.js";
63
63
  import {
64
64
  cssVariableName
65
65
  } from "./chunk-VC76R6W2.js";
@@ -69,7 +69,7 @@ import {
69
69
  } from "./chunk-OFQWTKPW.js";
70
70
  import {
71
71
  lintHyperframeHtml
72
- } from "./chunk-FC4WT5FX.js";
72
+ } from "./chunk-P327BIJR.js";
73
73
  import {
74
74
  CSS_URL_RE,
75
75
  checkSubCompositionUsability,
@@ -2462,13 +2462,7 @@ async function bundleProject(projectDir, options) {
2462
2462
  pushRun(styleRuns, void 0, css);
2463
2463
  for (const chunk of compScriptChunks)
2464
2464
  pushRun(scriptRuns, void 0, chunk);
2465
- const variablesByCompScript = buildVariablesByCompScript(compVariablesByComp);
2466
- if (variablesByCompScript) {
2467
- if (scriptRuns[0] && !scriptRuns[0].scene)
2468
- scriptRuns[0].chunks.unshift(variablesByCompScript);
2469
- else
2470
- scriptRuns.unshift({ chunks: [variablesByCompScript] });
2471
- }
2465
+ emitVariablesByCompScript(document, compVariablesByComp);
2472
2466
  for (const { scene, chunks } of styleRuns) {
2473
2467
  const join = scene ? joinCssHoistingImports : (css) => css.join("\n\n");
2474
2468
  for (const style of styleElementsFor(document, chunks, join)) {
@@ -5,16 +5,17 @@ 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
- alphaDecoderFor,
9
- videoStreamHasAlpha
8
+ probeFirstFrameColour,
9
+ probeMediaMetadata
10
+ } from "./chunk-3RATCY3W.js";
11
+ import {
12
+ alphaDecoderFor
10
13
  } from "./chunk-5S7W3TUO.js";
11
14
  import {
12
- firstFrameColourArgs,
13
15
  formatPreviewProxyBox,
14
16
  hdrToSdrToneMapFilter,
15
- isHeavyForPreview,
16
- parseFirstFrameColour
17
- } from "./chunk-QWBVPWUI.js";
17
+ isHeavyForPreview
18
+ } from "./chunk-MI4V4HPE.js";
18
19
  import {
19
20
  mkdirWithinProject,
20
21
  realProjectRoot,
@@ -37,168 +38,31 @@ import {
37
38
  scanHtmlOpeningTags
38
39
  } from "./chunk-NHA4NRBE.js";
39
40
 
40
- // ../studio-server/dist/chunk-JKPLDWAB.js
41
+ // ../studio-server/dist/chunk-FUTDRYQK.js
41
42
  import { statSync } from "fs";
42
43
  import { sep } from "path";
43
- import { execFile } from "child_process";
44
- import { extname } from "path";
45
- var execFileRunner = (command, args, options) => new Promise((resolvePromise) => {
46
- execFile(
47
- command,
48
- args,
49
- { timeout: options?.timeout, maxBuffer: options?.maxBuffer, windowsHide: true },
50
- (error, stdout, stderr) => {
51
- if (error && error.code === "ENOENT") {
52
- resolvePromise({ status: null, stdout: "", stderr: "", error });
53
- return;
54
- }
55
- if (error) {
56
- const status = typeof error.code === "number" ? error.code : 1;
57
- resolvePromise({ status, stdout: stdout ?? "", stderr: stderr ?? "" });
58
- return;
59
- }
60
- resolvePromise({ status: 0, stdout: stdout ?? "", stderr: stderr ?? "" });
61
- }
62
- );
63
- });
64
- var VIDEO_EXT = /* @__PURE__ */ new Set([
65
- ".mp4",
66
- ".mov",
67
- ".webm",
68
- ".mkv",
69
- ".avi",
70
- ".m4v",
71
- ".mxf",
72
- ".mts",
73
- ".m2ts",
74
- ".ts"
75
- ]);
76
- var IMAGE_EXT = /* @__PURE__ */ new Set([".jpg", ".jpeg", ".png", ".webp", ".avif"]);
77
- var AUDIO_EXT = /* @__PURE__ */ new Set([".mp3", ".wav", ".ogg", ".m4a", ".aac", ".flac"]);
78
- function lower(value) {
79
- return value?.toLowerCase() ?? "";
80
- }
81
- function inferKindFromPath(path) {
82
- const ext = extname(path).toLowerCase();
83
- if (VIDEO_EXT.has(ext)) return "video";
84
- if (IMAGE_EXT.has(ext)) return "image";
85
- if (AUDIO_EXT.has(ext)) return "audio";
86
- return "unknown";
87
- }
88
- function colorLabel(input) {
89
- if (input.isHdr) {
90
- if (input.hdrTransfer === "pq") return "HDR PQ";
91
- if (input.hdrTransfer === "hlg") return "HDR HLG";
92
- return "HDR";
93
- }
94
- if (input.colorPrimaries.includes("bt709") || input.colorSpace.includes("bt709") || input.colorTransfer.includes("bt709")) {
95
- return "SDR Rec.709";
96
- }
97
- return "SDR/unknown";
98
- }
99
- function classifyMediaColor(stream) {
100
- const colorPrimaries = lower(stream?.color_primaries);
101
- const colorSpace = lower(stream?.color_space);
102
- const colorTransfer = lower(stream?.color_transfer);
103
- const isHdr = colorPrimaries.includes("bt2020") || colorSpace.includes("bt2020") || colorTransfer === "smpte2084" || colorTransfer === "arib-std-b67";
104
- const hdrTransfer = isHdr ? colorTransfer === "smpte2084" ? "pq" : colorTransfer === "arib-std-b67" ? "hlg" : "unknown" : null;
105
- return {
106
- dynamicRange: stream ? isHdr ? "hdr" : "sdr" : "unknown",
107
- hdrTransfer,
108
- label: stream ? colorLabel({ isHdr, hdrTransfer, colorPrimaries, colorSpace, colorTransfer }) : "Unknown",
109
- isHdr,
110
- codecName: stream?.codec_name,
111
- profile: stream?.profile,
112
- pixelFormat: stream?.pix_fmt,
113
- colorSpace: stream?.color_space,
114
- colorTransfer: stream?.color_transfer,
115
- colorPrimaries: stream?.color_primaries,
116
- bitsPerRawSample: stream?.bits_per_raw_sample
117
- };
118
- }
119
- async function probeFirstFrameColour(filePath, runner = execFileRunner) {
120
- const ffmpegPath = findFfBinary("ffmpeg", { configuredMustExist: true }) ?? (runner === execFileRunner ? void 0 : "ffmpeg");
121
- if (!ffmpegPath) return {};
122
- const result = await runner(ffmpegPath, firstFrameColourArgs(filePath), {
123
- timeout: 15e3,
124
- maxBuffer: 1024 * 1024
125
- });
126
- return result.status === 0 ? parseFirstFrameColour(String(result.stderr)) : {};
127
- }
128
- function bitDepthOf(stream) {
129
- const raw = Number(stream.bits_per_raw_sample);
130
- if (Number.isFinite(raw) && raw > 0) return raw;
131
- const suffixed = /(\d{1,3})(?:le|be)$/.exec(stream.pix_fmt ?? "");
132
- return suffixed ? Number(suffixed[1]) : 8;
133
- }
134
- function sourceFactsOf(stream, formatBitrate) {
135
- if (!stream?.width || !stream.height) return void 0;
136
- const bitrate = Number(stream.bit_rate ?? formatBitrate);
137
- return {
138
- width: stream.width,
139
- height: stream.height,
140
- bitDepth: bitDepthOf(stream),
141
- bitrate: Number.isFinite(bitrate) ? bitrate : 0
142
- };
143
- }
144
- var STREAM_SUMMARY_MAX = 12;
145
- function summarizeStream(stream) {
146
- const flags = Object.entries(stream.disposition ?? {}).filter(([, on]) => on === 1).map(([name]) => name);
147
- return `${stream.codec_type ?? "?"}:${stream.codec_name ?? "?"}[${flags.join(",")}]`;
148
- }
149
- function metadataFromProbe(kind, parsed) {
150
- const stream = parsed.streams?.find((item) => {
151
- if (kind === "image") return item.codec_type === "video";
152
- return item.codec_type === kind && item.disposition?.attached_pic !== 1;
44
+ import { spawn } from "child_process";
45
+ var checks = /* @__PURE__ */ new Map();
46
+ function ffmpegHasHdrFilters(ffmpegPath) {
47
+ const known = checks.get(ffmpegPath);
48
+ if (known) return known;
49
+ const check = new Promise((resolveCheck) => {
50
+ const proc = spawn(ffmpegPath, ["-hide_banner", "-filters"], {
51
+ stdio: ["ignore", "pipe", "pipe"],
52
+ windowsHide: true
53
+ });
54
+ let stdout = "";
55
+ proc.stdout?.on("data", (chunk) => {
56
+ stdout += chunk.toString();
57
+ });
58
+ proc.on("error", () => resolveCheck(false));
59
+ proc.on(
60
+ "close",
61
+ (code) => resolveCheck(code === 0 && /\bzscale\b/.test(stdout) && /\btonemap\b/.test(stdout))
62
+ );
153
63
  });
154
- const metadata = {
155
- kind,
156
- color: classifyMediaColor(stream),
157
- streams: (parsed.streams ?? []).slice(0, STREAM_SUMMARY_MAX).map(summarizeStream)
158
- };
159
- if (kind === "video") {
160
- metadata.hasAudio = (parsed.streams ?? []).some((item) => item.codec_type === "audio");
161
- metadata.hasAlpha = stream !== void 0 && videoStreamHasAlpha(stream);
162
- const duration = Number(parsed.format?.duration);
163
- if (Number.isFinite(duration) && duration > 0) metadata.durationSeconds = duration;
164
- metadata.source = sourceFactsOf(stream, parsed.format?.bit_rate);
165
- }
166
- return metadata;
167
- }
168
- async function probeMediaMetadata(filePath, runner = execFileRunner) {
169
- const kind = inferKindFromPath(filePath);
170
- if (kind === "audio" || kind === "unknown") {
171
- return { kind, color: classifyMediaColor(null) };
172
- }
173
- const ffprobePath = findFfBinary("ffprobe", { configuredMustExist: true }) ?? (runner === execFileRunner ? void 0 : "ffprobe");
174
- if (!ffprobePath) {
175
- return { kind, color: classifyMediaColor(null), probeError: "ffprobe unavailable" };
176
- }
177
- const result = await runner(
178
- ffprobePath,
179
- [
180
- "-v",
181
- "error",
182
- "-show_entries",
183
- "stream=codec_type,codec_name,profile,pix_fmt,color_space,color_transfer,color_primaries,bits_per_raw_sample,width,height,bit_rate:stream_disposition:stream_tags=alpha_mode:format=duration,bit_rate",
184
- "-of",
185
- "json",
186
- "--",
187
- filePath
188
- ],
189
- { timeout: 15e3, maxBuffer: 1024 * 1024 }
190
- );
191
- if (result.error?.code === "ENOENT") {
192
- return { kind, color: classifyMediaColor(null), probeError: "ffprobe unavailable" };
193
- }
194
- if (result.status !== 0) {
195
- return { kind, color: classifyMediaColor(null), probeError: "ffprobe failed" };
196
- }
197
- try {
198
- return metadataFromProbe(kind, JSON.parse(String(result.stdout || "{}")));
199
- } catch {
200
- return { kind, color: classifyMediaColor(null), probeError: "ffprobe returned invalid json" };
201
- }
64
+ checks.set(ffmpegPath, check);
65
+ return check;
202
66
  }
203
67
  var BROWSER_HOSTILE_CODECS = {
204
68
  // HEVC decode is platform-bound, not absent: macOS Chrome answers
@@ -269,12 +133,13 @@ function decideMediaProxyEligibility(facts, lightBox) {
269
133
  }
270
134
  return { eligible: false, reason: "browser_safe_codec" };
271
135
  }
272
- function codecFactsFor(codecName, hasAlpha, source) {
136
+ function codecFactsFor(codecName, hasAlpha, source, toneMapsToSdr = false) {
273
137
  const hostile = hostileCodecEntry(codecName);
274
138
  return {
275
139
  codecName,
276
- browserHostile: hostile !== void 0,
277
- representativeMime: hostile?.representativeMime ?? null,
140
+ browserHostile: hostile !== void 0 || toneMapsToSdr,
141
+ // An HDR clip is never 'playable' for preview, whatever its codec: it takes the SDR copy the export uses.
142
+ representativeMime: toneMapsToSdr ? null : hostile?.representativeMime ?? null,
278
143
  hasAlpha,
279
144
  ...source && { source }
280
145
  };
@@ -285,7 +150,22 @@ async function probeCodecFacts(filePath, runner) {
285
150
  if (metadata.kind !== "video") return null;
286
151
  const codecName = metadata.color.codecName;
287
152
  if (!codecName) return null;
288
- return codecFactsFor(codecName, metadata.hasAlpha === true, metadata.source);
153
+ const hasAlpha = metadata.hasAlpha === true;
154
+ const toneMaps = !hasAlpha && await toneMapsHdr(metadata.color.hdrTransfer);
155
+ return codecFactsFor(codecName, hasAlpha, metadata.source, toneMaps);
156
+ }
157
+ var warnedNoHdrFilters = false;
158
+ async function toneMapsHdr(hdrTransfer) {
159
+ if (hdrTransfer !== "pq" && hdrTransfer !== "hlg") return false;
160
+ const ffmpegPath = findFfBinary("ffmpeg");
161
+ if (ffmpegPath && await ffmpegHasHdrFilters(ffmpegPath)) return true;
162
+ if (!warnedNoHdrFilters) {
163
+ warnedNoHdrFilters = true;
164
+ console.warn(
165
+ `[hyperframes] A video in this project is HDR, but this ffmpeg has no zscale/tonemap (libzimg), so the preview plays it as the browser shows it and will not match an SDR export. Install an ffmpeg with libzimg.`
166
+ );
167
+ }
168
+ return false;
289
169
  }
290
170
  function createMediaCodecProbeCache() {
291
171
  return /* @__PURE__ */ new Map();
@@ -378,8 +258,8 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
378
258
  return (await scanProjectMedia(projectDir, htmlSources, options)).codecMap;
379
259
  }
380
260
 
381
- // ../studio-server/dist/chunk-MNJZQCBL.js
382
- import { spawn } from "child_process";
261
+ // ../studio-server/dist/chunk-2B5SR4RJ.js
262
+ import { spawn as spawn2 } from "child_process";
383
263
  import { randomUUID } from "crypto";
384
264
  import {
385
265
  existsSync as existsSync4,
@@ -393,7 +273,7 @@ import {
393
273
  import { availableParallelism, tmpdir, totalmem } from "os";
394
274
  import { basename as basename3, dirname as dirname3, extname as extname3, isAbsolute, join as join4, relative, resolve, sep as sep2 } from "path";
395
275
  import { existsSync, readdirSync, statSync as statSync2, unlinkSync } from "fs";
396
- import { extname as extname2, join } from "path";
276
+ import { extname, join } from "path";
397
277
  import { createHash } from "crypto";
398
278
  import {
399
279
  closeSync,
@@ -405,7 +285,7 @@ import {
405
285
  statSync as statSync22,
406
286
  writeFileSync
407
287
  } from "fs";
408
- import { basename, dirname, extname as extname22, join as join2 } from "path";
288
+ import { basename, dirname, extname as extname2, join as join2 } from "path";
409
289
  import {
410
290
  closeSync as closeSync2,
411
291
  existsSync as existsSync3,
@@ -474,7 +354,7 @@ function readCacheInventory(cacheDir, protectedPaths, now, staleTempMs) {
474
354
  if (leftoverIsDead(cacheDir, dirent.name, stat.mtimeMs, protectedPaths, now, staleTempMs)) {
475
355
  staleTemps.push(entry);
476
356
  }
477
- } else if (TRANSCODER_PROXY_NAME.test(dirent.name) && PROXY_EXTENSIONS.has(extname2(dirent.name))) {
357
+ } else if (TRANSCODER_PROXY_NAME.test(dirent.name) && PROXY_EXTENSIONS.has(extname(dirent.name))) {
478
358
  entries.push(entry);
479
359
  }
480
360
  }
@@ -569,7 +449,7 @@ function sourceSizeBytes(sourcePath) {
569
449
  }
570
450
  }
571
451
  function fastIndexPath(cachePath) {
572
- return join2(dirname(cachePath), `.fast-${basename(cachePath, extname22(cachePath))}`);
452
+ return join2(dirname(cachePath), `.fast-${basename(cachePath, extname2(cachePath))}`);
573
453
  }
574
454
  function contentIndexPath(cacheDir, contentKey) {
575
455
  return join2(cacheDir, `.content-${contentKey}`);
@@ -836,29 +716,8 @@ function markCacheEntryUsed(cachePath) {
836
716
  }
837
717
  }
838
718
  var failedTranscodes = /* @__PURE__ */ new Map();
839
- var hdrFilterCheck;
840
- function ensureHdrFilters(ffmpegPath) {
841
- if (hdrFilterCheck?.ffmpegPath === ffmpegPath) return hdrFilterCheck.promise;
842
- const promise = new Promise((resolveCheck, rejectCheck) => {
843
- const proc = spawn(ffmpegPath, ["-hide_banner", "-filters"], {
844
- stdio: ["ignore", "pipe", "pipe"],
845
- windowsHide: true
846
- });
847
- let stdout = "";
848
- proc.stdout?.on("data", (chunk) => {
849
- stdout += chunk.toString();
850
- });
851
- proc.on("error", () => rejectCheck(new FfmpegMissingFilterError()));
852
- proc.on("close", (code) => {
853
- if (code !== 0 || !/\bzscale\b/.test(stdout) || !/\btonemap\b/.test(stdout)) {
854
- rejectCheck(new FfmpegMissingFilterError());
855
- } else {
856
- resolveCheck();
857
- }
858
- });
859
- });
860
- hdrFilterCheck = { ffmpegPath, promise };
861
- return promise;
719
+ async function ensureHdrFilters(ffmpegPath) {
720
+ if (!await ffmpegHasHdrFilters(ffmpegPath)) throw new FfmpegMissingFilterError();
862
721
  }
863
722
  function rememberFailure(cachePath, error) {
864
723
  const ttlMs = error instanceof FfmpegUnavailableError || error instanceof FfmpegMissingFilterError ? ENVIRONMENT_FAILURE_TTL_MS : FAILURE_CACHE_TTL_MS;
@@ -1115,6 +974,10 @@ async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, sign
1115
974
  const videoFilter = await buildVideoFilter(ffmpegPath, sourcePath, metadata, keepsAlpha, box);
1116
975
  const alphaDecoder = keepsAlpha ? alphaDecoderFor(metadata.color.codecName) : null;
1117
976
  const decoderArgs = alphaDecoder ? ["-c:v", alphaDecoder] : [];
977
+ const streamArgs = [
978
+ ...["-map", "0:V:0"],
979
+ ...metadata.audioStream === void 0 ? [] : ["-map", `0:a:${metadata.audioStream}`]
980
+ ];
1118
981
  const totalSeconds = metadata.durationSeconds;
1119
982
  const gate = keepsAlpha ? ALPHA_PIECE_GATE : UNGATED;
1120
983
  const vp8Threads = (pieces) => [
@@ -1132,6 +995,7 @@ async function runFfmpeg(sourcePath, outputPath, chunkPrefix, variant, box, sign
1132
995
  ...decoderArgs,
1133
996
  "-i",
1134
997
  sourcePath,
998
+ ...streamArgs,
1135
999
  ...range ? ["-t", String(range.lengthSeconds)] : [],
1136
1000
  "-vf",
1137
1001
  videoFilter,
@@ -1186,7 +1050,7 @@ var OUT_TIME = /^out_time_(?:us|ms)=(\d+)$/;
1186
1050
  function spawnFfmpeg(ffmpegPath, args, stallMs, signal, onProgress) {
1187
1051
  return new Promise((resolvePromise, reject) => {
1188
1052
  signal.throwIfAborted();
1189
- const proc = spawn(ffmpegPath, args, {
1053
+ const proc = spawn2(ffmpegPath, args, {
1190
1054
  stdio: ["ignore", "pipe", "pipe"],
1191
1055
  killSignal: "SIGKILL",
1192
1056
  signal,
@@ -1424,7 +1288,6 @@ function joinJob(promise, job, signal) {
1424
1288
  }
1425
1289
 
1426
1290
  export {
1427
- probeMediaMetadata,
1428
1291
  shouldPrewarmProxy,
1429
1292
  recordProxyPrewarm,
1430
1293
  recordProxyRequest,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  createFileAtomically
9
- } from "./chunk-EOVYQ3IG.js";
9
+ } from "./chunk-NQ2INEHX.js";
10
10
 
11
11
  // src/utils/writeNewFile.ts
12
12
  function writeNewFileSync(filePath, content) {
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  downloadToFile
9
- } from "./chunk-CZUAX3BV.js";
9
+ } from "./chunk-QIDN4ML5.js";
10
10
  import {
11
11
  CACHE_DIR,
12
12
  PINNED_PACKAGES,
@@ -21,13 +21,13 @@ import {
21
21
  emitWords,
22
22
  getPreparedWavDurationSeconds,
23
23
  prepareWav
24
- } from "./chunk-6CWKORZO.js";
24
+ } from "./chunk-SWHCYFEF.js";
25
25
  import {
26
26
  stoppedByCancelSignal
27
- } from "./chunk-LSMFOZ4F.js";
27
+ } from "./chunk-RVG2JNDU.js";
28
28
  import {
29
29
  verifies
30
- } from "./chunk-4HT2L6W2.js";
30
+ } from "./chunk-3PUXUIWB.js";
31
31
  import {
32
32
  PARAKEET_MODEL_LABEL,
33
33
  SHERPA_ERROR_PREFIX,
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
13
- } from "./chunk-QWBVPWUI.js";
13
+ } from "./chunk-MI4V4HPE.js";
14
14
  import {
15
15
  parseHTML
16
16
  } from "./chunk-GWTIFRF5.js";
@@ -8,7 +8,7 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-PSOAGSNO.js";
11
+ } from "./chunk-EA5FUMJN.js";
12
12
  import {
13
13
  CliRuntimeError
14
14
  } from "./chunk-JVBRJMOP.js";
@@ -554,6 +554,7 @@ function trackCheckReport(props) {
554
554
  contrast_warnings: props.contrastWarnings,
555
555
  craft_warnings: props.craftWarnings,
556
556
  launch_settle_ms: props.launchSettleMs,
557
+ render_ready_timed_out: props.renderReadyTimedOut,
557
558
  seek_loop_ms: props.seekLoopMs,
558
559
  contrast_ms: props.contrastMs,
559
560
  grid_ms: props.gridMs,
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-BKDQFOKK.js";
13
+ } from "./chunk-U5IZUWBW.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -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-U6KN6OIP.js";
9
+ } from "./chunk-SPMKVI6H.js";
10
10
  import {
11
11
  hostAnswers
12
12
  } from "./chunk-K4WIOZFP.js";
@@ -9,7 +9,7 @@ import {
9
9
  parseStrictFiniteTimingNumber,
10
10
  resolveNaturalMediaTimelineDuration,
11
11
  resolveTimedImageDurationSeconds
12
- } from "./chunk-BQMAPNDA.js";
12
+ } from "./chunk-ZXTSUXSL.js";
13
13
  import {
14
14
  COMPOSITION_ATTRIBUTES,
15
15
  MEDIA_START_BASIS_ATTR,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCompositionDimensions
9
- } from "./chunk-ULL3U6PV.js";
9
+ } from "./chunk-66PNSZ7K.js";
10
10
  import {
11
11
  outputResolutionForSize
12
12
  } from "./chunk-NHA4NRBE.js";