hyperframes 0.8.200 → 0.8.201

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 (191) hide show
  1. package/dist/{add-MFJDOJHQ.js → add-33XNCMY4.js} +14 -17
  2. package/dist/{animatedGifPrep-WBZ2VVP6.js → animatedGifPrep-MI7Z4OYQ.js} +8 -11
  3. package/dist/api.js +16 -19
  4. package/dist/{asset-PTAQLOR6.js → asset-RMRQN24O.js} +2 -2
  5. package/dist/{assetCataloger-N3UGZ2RC.js → assetCataloger-KWTQNFUU.js} +8 -11
  6. package/dist/{audio-CPHWRLC4.js → audio-SQDZZS6X.js} +33 -31
  7. package/dist/{auth-ZWOJIYK7.js → auth-PNC6K5ZD.js} +2 -2
  8. package/dist/{autoUpdate-DO74673A.js → autoUpdate-MBZFLUF2.js} +2 -2
  9. package/dist/{backgroundChecks-HOAN7YB6.js → backgroundChecks-ZMSPA6TK.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-AZFHTPSV.js → batchRender-2MMOZRMW.js} +5 -7
  12. package/dist/{beats-JRMM6JQQ.js → beats-GDLNPR4A.js} +32 -23
  13. package/dist/{benchmark-2PEQUV7H.js → benchmark-AUKB3XDF.js} +11 -13
  14. package/dist/{browser-2D6IHFO6.js → browser-C3AU5TST.js} +5 -5
  15. package/dist/{bundleWithLocalizedFonts-ERB43NFP.js → bundleWithLocalizedFonts-G3UT65XI.js} +2 -2
  16. package/dist/{capture-WNC2DWF7.js → capture-EKNPCFPF.js} +15 -17
  17. package/dist/{capture-3ODEX55X.js → capture-XGBPNGC5.js} +2 -2
  18. package/dist/{captureCompositionFrame-JXXTHR7J.js → captureCompositionFrame-4HHLPTDH.js} +13 -16
  19. package/dist/{catalog-MHTRTKSY.js → catalog-HLDNEJX3.js} +14 -17
  20. package/dist/{catch-up-XNDRKMKL.js → catch-up-LRFV4LJO.js} +5 -5
  21. package/dist/{check-7IB355TM.js → check-XWHWGNYE.js} +39 -42
  22. package/dist/{checkBrowser-E3ZCTAGY.js → checkBrowser-KSOBXPJ3.js} +34 -37
  23. package/dist/{chunk-MMQ52NIZ.js → chunk-2BGOB2QK.js} +500 -17
  24. package/dist/{chunk-5ULL3P6S.js → chunk-2FA53V5S.js} +2 -2
  25. package/dist/{chunk-PFFR4NQV.js → chunk-3J5KO4EJ.js} +8 -10
  26. package/dist/{chunk-FTD5QXGF.js → chunk-47NZWTJL.js} +2 -2
  27. package/dist/{chunk-HXHSGDU6.js → chunk-53E45AKI.js} +60 -34
  28. package/dist/{chunk-TOC6E65N.js → chunk-6UFEOVR5.js} +2 -2
  29. package/dist/{chunk-I4VEFPZE.js → chunk-6XGO7ZKS.js} +1 -1
  30. package/dist/{chunk-G7RKSAKS.js → chunk-74UH2KGI.js} +28 -6
  31. package/dist/{chunk-7LRVGYKZ.js → chunk-7EJ7OZGC.js} +16 -3
  32. package/dist/{chunk-7D7V3UDI.js → chunk-7WEGIXI3.js} +2 -2
  33. package/dist/{chunk-NC3TVM27.js → chunk-A7YO6YSD.js} +6 -6
  34. package/dist/{chunk-OE7AUN6G.js → chunk-AK2MOAJY.js} +82 -34
  35. package/dist/{chunk-3XXSRN36.js → chunk-B67P2WP3.js} +2 -2
  36. package/dist/chunk-B7CYKBXQ.js +36 -0
  37. package/dist/{chunk-63JJFXAD.js → chunk-CD5ZU6PN.js} +6 -6
  38. package/dist/{chunk-IC6BO4GU.js → chunk-CV32PRH3.js} +65 -21
  39. package/dist/{chunk-Q5IJYX7X.js → chunk-DS3XITZ5.js} +2 -2
  40. package/dist/{chunk-XV7ZNBVY.js → chunk-DWULQYOQ.js} +3 -3
  41. package/dist/{chunk-VHBBV5DH.js → chunk-ERUINDRT.js} +62 -25
  42. package/dist/{chunk-FMTJ4I6I.js → chunk-FDWN4XAD.js} +1 -1
  43. package/dist/{chunk-57Y5X4VU.js → chunk-GC6N2LH5.js} +10 -12
  44. package/dist/{chunk-5CTORVUM.js → chunk-GHROWWUN.js} +32 -1
  45. package/dist/{chunk-ZFBET3PD.js → chunk-GKXH4C2B.js} +1 -1
  46. package/dist/{chunk-63S4VUOL.js → chunk-GNX3BCQP.js} +1 -1
  47. package/dist/{chunk-HBRPELT6.js → chunk-I4DHHX7E.js} +3 -3
  48. package/dist/{chunk-TDF2O2RM.js → chunk-IDRUJFT4.js} +2 -2
  49. package/dist/{chunk-H2X4TQVK.js → chunk-IFOZZYHK.js} +7 -7
  50. package/dist/{chunk-VFLBOKDI.js → chunk-IHQBTZHE.js} +3 -3
  51. package/dist/{chunk-KPUTRG54.js → chunk-IIH24PKY.js} +2 -2
  52. package/dist/{chunk-BIZPUWBG.js → chunk-ITJAHKYO.js} +1 -1
  53. package/dist/{chunk-6JR2XUEE.js → chunk-IXXVS2Z4.js} +1 -1
  54. package/dist/{chunk-QP4UWICL.js → chunk-JOI7TNCX.js} +2 -2
  55. package/dist/{chunk-RFQ6BIRL.js → chunk-JXLHLR26.js} +1 -1
  56. package/dist/{chunk-DY53XJ3P.js → chunk-K2AUGELJ.js} +1 -1
  57. package/dist/{chunk-733CEBPF.js → chunk-L33EDCSR.js} +5 -5
  58. package/dist/{chunk-7NWSVRFE.js → chunk-LVEXHBSH.js} +1 -1
  59. package/dist/{chunk-XOTUPVIF.js → chunk-MSGWR7WP.js} +9 -1
  60. package/dist/{chunk-ACH5ZR7X.js → chunk-ORMTNJBS.js} +3 -3
  61. package/dist/{chunk-DRTUJVLE.js → chunk-Q537KXWA.js} +153 -44
  62. package/dist/{chunk-7WV27W7R.js → chunk-Q6SHXSZX.js} +2 -2
  63. package/dist/{chunk-QDK7XCOB.js → chunk-QB4K2EWI.js} +1 -1
  64. package/dist/{chunk-BQA3X7TI.js → chunk-QSFWGZG6.js} +4 -6
  65. package/dist/{chunk-D35MPIGJ.js → chunk-QTWSMJ22.js} +15 -15
  66. package/dist/{chunk-4UPGPCMB.js → chunk-QXBZ6VBL.js} +1 -1
  67. package/dist/{chunk-FZ3R5XOH.js → chunk-QYTGUWNF.js} +1 -1
  68. package/dist/{chunk-JBQNDHRT.js → chunk-RVKJDAYE.js} +1 -1
  69. package/dist/{chunk-32V3VHMK.js → chunk-SEAHCCQ4.js} +6 -43
  70. package/dist/{chunk-GR2G5L2O.js → chunk-SGKG7DNX.js} +3 -3
  71. package/dist/{chunk-KVFSXCN6.js → chunk-SIZYTGG4.js} +1 -1
  72. package/dist/{chunk-3YGSZSEN.js → chunk-SZNCAINN.js} +1 -1
  73. package/dist/{chunk-I6A2B3IJ.js → chunk-T33GLS6C.js} +3 -3
  74. package/dist/{chunk-OYVVDYM6.js → chunk-TAXGZAXM.js} +10 -10
  75. package/dist/{chunk-FTUKOLLB.js → chunk-TOT3CLUK.js} +1 -1
  76. package/dist/{chunk-TTFHBTXQ.js → chunk-TYRDDIIH.js} +1 -1
  77. package/dist/{chunk-ML4IULLQ.js → chunk-U2EK5MFR.js} +10 -10
  78. package/dist/{chunk-QXPZGDTI.js → chunk-UIIGEPYY.js} +3 -3
  79. package/dist/{chunk-UUFY6A7I.js → chunk-UKB62QOT.js} +131 -92
  80. package/dist/{chunk-4VZAIVZQ.js → chunk-UOSTDTBF.js} +1 -1
  81. package/dist/{chunk-IW4LKYDY.js → chunk-VCVUEK65.js} +3 -3
  82. package/dist/{chunk-TUVNQA5B.js → chunk-VF2VMKNI.js} +3 -3
  83. package/dist/{chunk-QYQY5ACN.js → chunk-VKTUZP7U.js} +1 -1
  84. package/dist/{chunk-ISN6BAZX.js → chunk-WO3XZ6HC.js} +1 -1
  85. package/dist/{chunk-HN6TP4D2.js → chunk-X72DJZCM.js} +1 -1
  86. package/dist/{chunk-PGDWNIOK.js → chunk-XDMZY3H7.js} +57 -5
  87. package/dist/{chunk-BERGVZKN.js → chunk-XG365L6T.js} +1 -1
  88. package/dist/{chunk-GYSPF5ZT.js → chunk-XHVQIOOF.js} +19 -19
  89. package/dist/{chunk-OMXXJSCK.js → chunk-XONIZ5CH.js} +13 -13
  90. package/dist/{chunk-2LKHE32Z.js → chunk-YBJECXQJ.js} +5 -5
  91. package/dist/{chunk-WAG4AX5C.js → chunk-YTBE4JCX.js} +1 -1
  92. package/dist/{chunk-VLVQQJOX.js → chunk-ZDVJXWEG.js} +22 -3
  93. package/dist/chunk-ZKHXN2BV.js +3983 -0
  94. package/dist/{clean-BOYUTBAU.js → clean-EUKURSX2.js} +21 -24
  95. package/dist/cli.js +54 -54
  96. package/dist/{cloud-3O2MEZO4.js → cloud-LJDRNQ2N.js} +4 -4
  97. package/dist/{cloudrun-MCTN22O6.js → cloudrun-AXVFD6KV.js} +7 -9
  98. package/dist/{compare-A57RHCPB.js → compare-T3LMATAF.js} +31 -34
  99. package/dist/{compiler-LVNWLZCX.js → compiler-KH6DMHIJ.js} +6 -10
  100. package/dist/{component-MIJC3LWO.js → component-2FOHCMP2.js} +3 -3
  101. package/dist/{compositions-OUNZAEC3.js → compositions-REQ6ARAO.js} +13 -16
  102. package/dist/{delete-X6Q3S3SL.js → delete-KEPP2QAZ.js} +2 -2
  103. package/dist/{deploy-XXMIXGUF.js → deploy-N756FEME.js} +1 -1
  104. package/dist/{deterministicFonts-RMA7GDJC.js → deterministicFonts-4FULD3AS.js} +2 -2
  105. package/dist/{dist-2UO4RVFN.js → dist-5ULOGA6A.js} +28 -16
  106. package/dist/{dist-ONHJ6ZDA.js → dist-TFHABY7N.js} +2 -4
  107. package/dist/{doctor-ASSDEPCO.js → doctor-2SJPC4WZ.js} +14 -17
  108. package/dist/{dotEnv-64S3VKGH.js → dotEnv-RPHCAUBZ.js} +1 -1
  109. package/dist/{events-DVWSV3TQ.js → events-24ZE2PKB.js} +4 -4
  110. package/dist/{events-4ULC5VUK.js → events-U53QH4XZ.js} +3 -3
  111. package/dist/{feedback-OB3NJPNF.js → feedback-QFMLDLUN.js} +10 -12
  112. package/dist/{ffmpeg-JH3JXES2.js → ffmpeg-7XNWNO7M.js} +8 -11
  113. package/dist/{figma-GV4OGXC2.js → figma-B4JO44CV.js} +3 -3
  114. package/dist/fontLocalizeCli.js +11 -14
  115. package/dist/{get-FLMCUJGR.js → get-7CFVCINR.js} +2 -2
  116. package/dist/{gpuPolicy-RZ2OUY4M.js → gpuPolicy-MU7CFSAF.js} +8 -11
  117. package/dist/{grade-compare-O62JAOA7.js → grade-compare-Q23U2HGS.js} +32 -35
  118. package/dist/{help-6POZ4GNV.js → help-M67MEDV3.js} +1 -1
  119. package/dist/{history-72ZIF5WR.js → history-I2PZXOFL.js} +8 -8
  120. package/dist/hyperframe.manifest.json +1 -1
  121. package/dist/hyperframe.runtime.iife.js +65 -64
  122. package/dist/hyperframes-player.global.js +3 -3
  123. package/dist/{info-GGIFZ5CT.js → info-Z2MX54IE.js} +10 -12
  124. package/dist/{init-QYRN6HG2.js → init-SWH5KZO2.js} +29 -32
  125. package/dist/{inspect-KSL4YVIU.js → inspect-WBBDB3YS.js} +32 -35
  126. package/dist/{installer-ENQCLSJQ.js → installer-DQIHGUBJ.js} +6 -9
  127. package/dist/{keyframes-6PNLGKOO.js → keyframes-PSNEUS6P.js} +7 -7
  128. package/dist/{lambda-3RFOOJV6.js → lambda-KSZFMQ3L.js} +9 -11
  129. package/dist/{layout-3XFC6N3L.js → layout-AAOI7W2M.js} +32 -35
  130. package/dist/{lint-5XGLCTV5.js → lint-GGNVITIK.js} +9 -11
  131. package/dist/{lintProject-FKPKSU6M.js → lintProject-Q36Y3AHA.js} +2 -4
  132. package/dist/{list-B76BTLOM.js → list-OFPDL2AM.js} +2 -2
  133. package/dist/{login-MNXS7GEL.js → login-MZAHGGP4.js} +4 -4
  134. package/dist/{manager-BWU4U7DV.js → manager-F34TSFV6.js} +2 -2
  135. package/dist/{manager-QZZVJV7Z.js → manager-ZOFTZTRY.js} +9 -12
  136. package/dist/{media-treatment-J3OWRCBF.js → media-treatment-PF67GSUD.js} +66 -42
  137. package/dist/{models-MCDUTV54.js → models-WR7CL54R.js} +12 -15
  138. package/dist/{motionShot-RWEH3VWI.js → motionShot-ISLDWLIU.js} +17 -20
  139. package/dist/{normalize-audio-N7VRZODX.js → normalize-audio-D7AH5GFZ.js} +44 -26
  140. package/dist/{open-ROUFAVKD.js → open-HPVBB2CX.js} +14 -17
  141. package/dist/{parakeetRunner-PTVV5M44.js → parakeetRunner-P6PE4WXG.js} +13 -16
  142. package/dist/{pipeline-HN5KMORF.js → pipeline-XKBZG2CM.js} +9 -12
  143. package/dist/{play-AO7AF4Y4.js → play-QXHO47ZH.js} +23 -26
  144. package/dist/{preflight-ARNDDFGX.js → preflight-KZCU66ES.js} +11 -14
  145. package/dist/{present-FBPKUC5R.js → present-ERGC5PR4.js} +19 -22
  146. package/dist/{preview-35X5G426.js → preview-AGTOQIE7.js} +20 -23
  147. package/dist/{producer-FVGPLR5E.js → producer-4ONVM5A2.js} +1 -1
  148. package/dist/{projectConfig-SRUJLOHL.js → projectConfig-7T4VY6RJ.js} +8 -11
  149. package/dist/{publication-XH2BRL3V.js → publication-J5TS5VR3.js} +4 -6
  150. package/dist/{publish-RI4ZQZNT.js → publish-BSOVXRF4.js} +11 -14
  151. package/dist/{remove-background-J22P5JFW.js → remove-background-645NVCGL.js} +10 -13
  152. package/dist/{render-UXYZN6D2.js → render-55TYPJ5U.js} +7 -9
  153. package/dist/{render-2EZQT4IS.js → render-IAVH33YG.js} +37 -33
  154. package/dist/{render-IJUKJILU.js → render-R3L44QAP.js} +34 -37
  155. package/dist/{render-batch-X34UZ442.js → render-batch-JWWLQ7ZC.js} +7 -9
  156. package/dist/renderSetupWorker.js +4 -6
  157. package/dist/{resolver-UUEIRLMY.js → resolver-DBAFWC4F.js} +6 -8
  158. package/dist/{sherpa-FI4VNAFT.js → sherpa-UPWG6TKY.js} +12 -15
  159. package/dist/skills/hyperframes/references/runtimes.md +26 -0
  160. package/dist/skills/media-use/references/mixing.md +1 -1
  161. package/dist/skills/media-use/scripts/lib/grade-analyzer.mjs +38 -26
  162. package/dist/{skills-LGKXQFW7.js → skills-ILH52UL4.js} +6 -6
  163. package/dist/{skillsUpdateCheck-NDPKSX3H.js → skillsUpdateCheck-ZHFDGMEL.js} +3 -3
  164. package/dist/{snapshot-JM6427YW.js → snapshot-WMVHIQVQ.js} +93 -60
  165. package/dist/{src-26NBARTO.js → src-46QTOHZE.js} +10 -13
  166. package/dist/{src-WEECPY6E.js → src-HPLELQRK.js} +11 -10
  167. package/dist/{staticProjectServer-I5WGMJOV.js → staticProjectServer-FHP2YQFV.js} +19 -22
  168. package/dist/{status-SCCC7A6N.js → status-LR7VXITS.js} +1 -1
  169. package/dist/studio/assets/{hyperframes-player-LmRUJE8q.js → hyperframes-player-BNeO6YSP.js} +1 -1
  170. package/dist/studio/assets/{index-BmTWk8xf.js → index-CZWE0FI8.js} +162 -162
  171. package/dist/studio/assets/{index-CKNiEwbW.js → index-DiNYtcMK.js} +1 -1
  172. package/dist/studio/index.html +1 -1
  173. package/dist/{studio-api-N774Q4NO.js → studio-api-5YHQ4Y2D.js} +12 -15
  174. package/dist/{studioServer-KZIM5UBJ.js → studioServer-P6IC76SV.js} +53 -56
  175. package/dist/{system-HV7PYIXE.js → system-YD4AW5ZX.js} +1 -1
  176. package/dist/{telemetry-JIETM7WP.js → telemetry-WZ7OGFWQ.js} +4 -4
  177. package/dist/{timeline-JJ6JG7GQ.js → timeline-U6S7BGMI.js} +23 -25
  178. package/dist/{tokens-VOIMSCGX.js → tokens-FPUYNZSV.js} +2 -2
  179. package/dist/{transcribe-2V23EQHD.js → transcribe-DJX4E2PE.js} +18 -21
  180. package/dist/{transcribe-7BDHDQVP.js → transcribe-DZHTKXI5.js} +11 -14
  181. package/dist/{updateCheck-7B7L3UWO.js → updateCheck-2LHWRDE7.js} +2 -2
  182. package/dist/{upgrade-TUA2QZTY.js → upgrade-WAQHCAUS.js} +2 -2
  183. package/dist/{urlDownloader-CGV6EYL7.js → urlDownloader-HZQPXQET.js} +7 -10
  184. package/dist/{validate-JLCXEI2U.js → validate-D6XJ7OSS.js} +26 -29
  185. package/dist/{video-TI3EOA2D.js → video-A4CQ4WDL.js} +8 -11
  186. package/dist/warmCheck.js +39 -42
  187. package/package.json +1 -1
  188. package/dist/chunk-BSQ7XANM.js +0 -210
  189. package/dist/chunk-PKZ7RK5N.js +0 -281
  190. package/dist/chunk-PW22CDII.js +0 -3901
  191. package/dist/chunk-X7HBSTCZ.js +0 -53
@@ -8,20 +8,20 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-BERGVZKN.js";
11
+ } from "./chunk-XG365L6T.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-G7RKSAKS.js";
18
+ } from "./chunk-74UH2KGI.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-OFQWTKPW.js";
22
22
  import {
23
23
  isCompositionVariable
24
- } from "./chunk-PKZ7RK5N.js";
24
+ } from "./chunk-2BGOB2QK.js";
25
25
 
26
26
  // src/registry/installer.ts
27
27
  import { createHash } from "crypto";
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-7WV27W7R.js";
10
+ } from "./chunk-Q6SHXSZX.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-QP4UWICL.js";
13
+ } from "./chunk-JOI7TNCX.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
17
- } from "./chunk-IC6BO4GU.js";
17
+ } from "./chunk-CV32PRH3.js";
18
18
 
19
19
  // src/telemetry/lintStreaks.ts
20
20
  import { createHash } from "crypto";
@@ -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-QP4UWICL.js";
9
+ } from "./chunk-JOI7TNCX.js";
10
10
 
11
11
  // src/telemetry/renderObservability.ts
12
12
  function renderObservabilityTelemetryPayload(observability) {
@@ -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-DVWSV3TQ.js");
1281
+ const { trackCommandFailure } = await import("./events-24ZE2PKB.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-HBRPELT6.js";
10
+ } from "./chunk-I4DHHX7E.js";
11
11
  import {
12
12
  findParakeet
13
13
  } from "./chunk-JZIEZCQM.js";
@@ -21,7 +21,7 @@ import {
21
21
  mkdirWithinProject
22
22
  } from "./chunk-OFQWTKPW.js";
23
23
 
24
- // ../studio-server/dist/chunk-VKQTZKGA.js
24
+ // ../studio-server/dist/chunk-OSZE5WT3.js
25
25
  import { randomUUID as randomUUID7 } from "crypto";
26
26
  import { mkdir as mkdir2, readdir as readdir3, rm as rm3, rmdir, stat as stat2, writeFile } from "fs/promises";
27
27
  import {
@@ -39,6 +39,7 @@ import { dirname as dirname5, isAbsolute as isAbsolute5, join as join8, relative
39
39
  import { createHash, randomUUID } from "crypto";
40
40
  import { readFileSync as readFileSync2 } from "fs";
41
41
  import { isAbsolute, relative, resolve, sep } from "path";
42
+ import { spawnSync } from "child_process";
42
43
  import { randomUUID as randomUUID2 } from "crypto";
43
44
  import {
44
45
  linkSync,
@@ -49,6 +50,7 @@ import {
49
50
  statSync,
50
51
  writeFileSync
51
52
  } from "fs";
53
+ import { uptime } from "os";
52
54
  import { join } from "path";
53
55
  import { createHash as createHash2 } from "crypto";
54
56
  import { lstatSync, readFileSync as readFileSync3, readdirSync } from "fs";
@@ -189,6 +191,7 @@ var HistoryBusyError = class extends Error {
189
191
  var WINDOWS_BUSY = /* @__PURE__ */ new Set(["EPERM", "EBUSY", "EACCES"]);
190
192
  var NO_HARD_LINKS = /* @__PURE__ */ new Set(["ENOTSUP", "EOPNOTSUPP", "ENOSYS", "EPERM"]);
191
193
  var TAKING_MS = 2e3;
194
+ var BOOT_SLACK_MS = 6e4;
192
195
  function busyOnWindows(error) {
193
196
  return process.platform === "win32" && WINDOWS_BUSY.has(error.code ?? "");
194
197
  }
@@ -201,6 +204,48 @@ function alive(pid) {
201
204
  return error.code === "EPERM";
202
205
  }
203
206
  }
207
+ function processStart(pid) {
208
+ try {
209
+ if (process.platform === "linux") {
210
+ const stat4 = readFileSync(`/proc/${pid}/stat`, "utf-8");
211
+ return stat4.slice(stat4.lastIndexOf(")") + 2).split(" ")[19] ?? null;
212
+ }
213
+ if (process.platform === "win32") return null;
214
+ const ps = spawnSync("ps", ["-o", "lstart=", "-p", String(pid)], {
215
+ encoding: "utf-8",
216
+ env: { ...process.env, LC_ALL: "C" }
217
+ });
218
+ return ps.status === 0 ? ps.stdout.trim() || null : null;
219
+ } catch {
220
+ return null;
221
+ }
222
+ }
223
+ function recordedStart(file, pid) {
224
+ try {
225
+ const [owner, ...start] = readFileSync(`${file}.start`, "utf-8").split("\n");
226
+ return Number(owner) === pid && start.length > 0 ? start.join("\n") : null;
227
+ } catch {
228
+ return null;
229
+ }
230
+ }
231
+ function recordStart(file) {
232
+ const start = processStart(process.pid);
233
+ if (start) writeFileSync(`${file}.start`, `${process.pid}
234
+ ${start}`);
235
+ }
236
+ function holdsLock(file, pid) {
237
+ if (!alive(pid)) return false;
238
+ const recorded = recordedStart(file, pid);
239
+ if (recorded !== null) {
240
+ const now = processStart(pid);
241
+ return now === null || now === recorded;
242
+ }
243
+ try {
244
+ return statSync(file).mtimeMs > Date.now() - uptime() * 1e3 - BOOT_SLACK_MS;
245
+ } catch {
246
+ return true;
247
+ }
248
+ }
204
249
  function ownerOf(file) {
205
250
  try {
206
251
  const text = readFileSync(file, "utf-8");
@@ -219,13 +264,14 @@ function beingTaken(file) {
219
264
  }
220
265
  }
221
266
  function deadHolder(file, pid) {
222
- return !alive(pid) && !beingTaken(file);
267
+ return !holdsLock(file, pid) && !beingTaken(file);
223
268
  }
224
269
  function claim(file) {
225
270
  const draft = `${file}-${process.pid}-${randomUUID2()}.tmp`;
226
271
  writeFileSync(draft, String(process.pid));
227
272
  try {
228
273
  linkSync(draft, file);
274
+ recordStart(file);
229
275
  return true;
230
276
  } catch (error) {
231
277
  const code = error.code ?? "";
@@ -239,6 +285,7 @@ function claim(file) {
239
285
  function createExclusively(file) {
240
286
  try {
241
287
  writeFileSync(file, String(process.pid), { flag: "wx" });
288
+ recordStart(file);
242
289
  return true;
243
290
  } catch (error) {
244
291
  if (error.code !== "EEXIST") throw error;
@@ -246,7 +293,9 @@ function createExclusively(file) {
246
293
  }
247
294
  }
248
295
  function releaseOwn(file) {
249
- if (ownerOf(file) === process.pid) rmSync(file, { force: true });
296
+ if (ownerOf(file) !== process.pid) return;
297
+ rmSync(file, { force: true });
298
+ rmSync(`${file}.start`, { force: true });
250
299
  }
251
300
  function evictDeadOwner(file) {
252
301
  const evictor = `${file}.evict`;
@@ -257,7 +306,10 @@ function evictDeadOwner(file) {
257
306
  }
258
307
  try {
259
308
  const pid = ownerOf(file);
260
- if (pid !== null && deadHolder(file, pid)) rmSync(file, { force: true });
309
+ if (pid !== null && deadHolder(file, pid)) {
310
+ rmSync(file, { force: true });
311
+ rmSync(`${file}.start`, { force: true });
312
+ }
261
313
  return true;
262
314
  } finally {
263
315
  releaseOwn(evictor);
@@ -272,7 +324,7 @@ function advertise(urlFile, url) {
272
324
  function servedBy(file, urlFile, pid) {
273
325
  try {
274
326
  const said = JSON.parse(readFileSync(urlFile, "utf-8"));
275
- const live = said.pid === pid && alive(pid) && ownerOf(file) === pid;
327
+ const live = said.pid === pid && holdsLock(file, pid) && ownerOf(file) === pid;
276
328
  return live && typeof said.url === "string" ? said.url : void 0;
277
329
  } catch {
278
330
  return void 0;
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-GMECXFAN.js";
28
28
  import {
29
29
  ITEM_TYPE_DIRS
30
- } from "./chunk-G7RKSAKS.js";
30
+ } from "./chunk-74UH2KGI.js";
31
31
  import {
32
32
  realProjectRoot
33
33
  } from "./chunk-OFQWTKPW.js";
@@ -11,20 +11,20 @@ import {
11
11
  } from "./chunk-57GN6KWT.js";
12
12
  import {
13
13
  captureArtifactRevision
14
- } from "./chunk-7D7V3UDI.js";
14
+ } from "./chunk-7WEGIXI3.js";
15
15
  import {
16
16
  loadProducer
17
- } from "./chunk-KVFSXCN6.js";
17
+ } from "./chunk-SIZYTGG4.js";
18
18
  import {
19
19
  trackLintRun
20
- } from "./chunk-TUVNQA5B.js";
20
+ } from "./chunk-VF2VMKNI.js";
21
21
  import {
22
22
  beginCheckSnapshots,
23
23
  checkSnapshotDirectory,
24
24
  finishCheckSnapshots,
25
25
  preResolveHostileMediaProxies,
26
26
  rectToBbox
27
- } from "./chunk-OMXXJSCK.js";
27
+ } from "./chunk-XONIZ5CH.js";
28
28
  import {
29
29
  CONTENT_OVERLAP_HELD_ERROR_MS,
30
30
  DEFAULT_MAX_STATIC_SEC,
@@ -47,29 +47,29 @@ import {
47
47
  mergeSampleTimes,
48
48
  parseAt,
49
49
  readMotionSpec
50
- } from "./chunk-OYVVDYM6.js";
50
+ } from "./chunk-TAXGZAXM.js";
51
51
  import {
52
52
  resolveProject
53
- } from "./chunk-BIZPUWBG.js";
53
+ } from "./chunk-ITJAHKYO.js";
54
54
  import {
55
55
  recordArtifacts
56
- } from "./chunk-PGDWNIOK.js";
56
+ } from "./chunk-XDMZY3H7.js";
57
57
  import {
58
58
  BrowserCleanupError,
59
59
  closeManagedBrowser,
60
60
  onStopSignal,
61
61
  registerBrowserSessionCleanup
62
- } from "./chunk-TTFHBTXQ.js";
62
+ } from "./chunk-TYRDDIIH.js";
63
63
  import {
64
64
  withRemainingBudget
65
65
  } from "./chunk-EHSBBBR2.js";
66
66
  import {
67
67
  resolveLocalBrowserGpuMode
68
- } from "./chunk-3XXSRN36.js";
68
+ } from "./chunk-B67P2WP3.js";
69
69
  import {
70
70
  trackCheckReport,
71
71
  trackCommandFailure
72
- } from "./chunk-7WV27W7R.js";
72
+ } from "./chunk-Q6SHXSZX.js";
73
73
  import {
74
74
  swallowedFlagUsageError
75
75
  } from "./chunk-HTIUNMTP.js";
@@ -89,17 +89,17 @@ import {
89
89
  import {
90
90
  extractMediaMetadata,
91
91
  findHdrAutoPromotion
92
- } from "./chunk-UUFY6A7I.js";
92
+ } from "./chunk-UKB62QOT.js";
93
93
  import {
94
94
  lintProject,
95
95
  shouldBlockRender
96
- } from "./chunk-IC6BO4GU.js";
96
+ } from "./chunk-CV32PRH3.js";
97
97
  import {
98
98
  resolveProjectRelativeSrc
99
99
  } from "./chunk-6BNTGNGD.js";
100
100
  import {
101
101
  withMeta
102
- } from "./chunk-3YGSZSEN.js";
102
+ } from "./chunk-SZNCAINN.js";
103
103
  import {
104
104
  normalizeErrorMessage
105
105
  } from "./chunk-T2EUWCJE.js";
@@ -288,7 +288,7 @@ var CRAFT_THRESHOLDS = {
288
288
  };
289
289
  var T = CRAFT_THRESHOLDS;
290
290
  var ZERO_BBOX = { x: 0, y: 0, width: 0, height: 0 };
291
- var WORD_RUNS = /[\p{L}\p{M}\p{N}%$]+/gu;
291
+ var WORD_RUNS = /[\p{L}\p{M}\p{N}%$]+(?:['’][\p{L}\p{M}\p{N}]+)*/gu;
292
292
  var WORD_SEGMENTER = new Intl.Segmenter("ja", { granularity: "word" });
293
293
  function readingWords(text) {
294
294
  const runs = text.toLowerCase().normalize("NFC").match(WORD_RUNS) ?? [];
@@ -636,7 +636,7 @@ function round(value) {
636
636
 
637
637
  // src/utils/hdrPromotion.ts
638
638
  async function bundleProjectHtml(projectDir) {
639
- const { bundleToSingleHtml } = await import("./compiler-LVNWLZCX.js");
639
+ const { bundleToSingleHtml } = await import("./compiler-KH6DMHIJ.js");
640
640
  return bundleToSingleHtml(projectDir);
641
641
  }
642
642
  async function collectBundledRenderMedia(html) {
@@ -2209,7 +2209,7 @@ function resolveMotionSpec(projectDir) {
2209
2209
  };
2210
2210
  }
2211
2211
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2212
- const module = await import("./checkBrowser-E3ZCTAGY.js");
2212
+ const module = await import("./checkBrowser-KSOBXPJ3.js");
2213
2213
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2214
2214
  }
2215
2215
  var adoptedBrowser;
@@ -2223,7 +2223,7 @@ async function prelaunchBrowser(project, options) {
2223
2223
  if (adopted) return adopted;
2224
2224
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2225
2225
  if (html === void 0) return void 0;
2226
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-JXXTHR7J.js");
2226
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-4HHLPTDH.js");
2227
2227
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2228
2228
  }
2229
2229
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -2235,7 +2235,7 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
2235
2235
  return relative(projectDir, path);
2236
2236
  }
2237
2237
  async function captureFindingCrops(project, options, requests, deadline) {
2238
- const module = await import("./checkBrowser-E3ZCTAGY.js");
2238
+ const module = await import("./checkBrowser-KSOBXPJ3.js");
2239
2239
  return module.captureFindingCrops(project, options, requests, deadline);
2240
2240
  }
2241
2241
  var DEFAULT_DEPENDENCIES2 = {
@@ -2274,7 +2274,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
2274
2274
  }
2275
2275
  },
2276
2276
  async prepareMedia(project, options) {
2277
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-ERB43NFP.js");
2277
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-G3UT65XI.js");
2278
2278
  const html = await bundleWithLocalizedFonts(project.dir);
2279
2279
  return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
2280
2280
  },
@@ -7,23 +7,23 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ambiguousIssue,
9
9
  loadBrowserScript
10
- } from "./chunk-OYVVDYM6.js";
10
+ } from "./chunk-TAXGZAXM.js";
11
11
  import {
12
12
  auditClipDurations,
13
13
  shouldIgnoreHttpError,
14
14
  shouldIgnoreRequestFailure
15
- } from "./chunk-D35MPIGJ.js";
15
+ } from "./chunk-QTWSMJ22.js";
16
16
  import {
17
17
  serveStaticProjectHtml
18
- } from "./chunk-NC3TVM27.js";
18
+ } from "./chunk-A7YO6YSD.js";
19
19
  import {
20
20
  STUDIO_PREVIEW_CAPTURE_MODE,
21
21
  STUDIO_PREVIEW_MARK_META
22
- } from "./chunk-HXHSGDU6.js";
22
+ } from "./chunk-53E45AKI.js";
23
23
  import {
24
24
  artifactDirectory,
25
25
  finishSnapshotRun
26
- } from "./chunk-PGDWNIOK.js";
26
+ } from "./chunk-XDMZY3H7.js";
27
27
  import {
28
28
  FfmpegUnavailableError,
29
29
  decideMediaProxyEligibility,
@@ -31,7 +31,7 @@ import {
31
31
  proxyVariantFor,
32
32
  resolveProxies,
33
33
  scanProjectMediaCodecMap
34
- } from "./chunk-DRTUJVLE.js";
34
+ } from "./chunk-Q537KXWA.js";
35
35
  import {
36
36
  AUDIT_SEEK_OPTIONS,
37
37
  DEFAULT_ZOOM_PADDING_PX,
@@ -45,21 +45,21 @@ import {
45
45
  seekCompositionTimeline,
46
46
  seekInPage,
47
47
  waitForPreferredSeekTarget
48
- } from "./chunk-ML4IULLQ.js";
48
+ } from "./chunk-U2EK5MFR.js";
49
49
  import {
50
50
  BrowserCleanupError,
51
51
  closeManagedBrowser,
52
52
  onStopSignal
53
- } from "./chunk-TTFHBTXQ.js";
53
+ } from "./chunk-TYRDDIIH.js";
54
54
  import {
55
55
  findStageProxyBox
56
- } from "./chunk-ZFBET3PD.js";
56
+ } from "./chunk-GKXH4C2B.js";
57
57
  import {
58
58
  resolveAutoProxy
59
- } from "./chunk-4VZAIVZQ.js";
59
+ } from "./chunk-UOSTDTBF.js";
60
60
  import {
61
61
  injectTagsAtHeadStart
62
- } from "./chunk-PW22CDII.js";
62
+ } from "./chunk-ZKHXN2BV.js";
63
63
  import {
64
64
  normalizeErrorMessage
65
65
  } from "./chunk-T2EUWCJE.js";
@@ -434,7 +434,7 @@ function proxyFailedDraft(message) {
434
434
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
435
435
  }
436
436
  async function loadCheckHtmlWithDeferredMedia(dir) {
437
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-ERB43NFP.js");
437
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-G3UT65XI.js");
438
438
  return injectTagsAtHeadStart(
439
439
  await bundleWithLocalizedFonts(dir),
440
440
  `<meta name="${STUDIO_PREVIEW_MARK_META}" content="${STUDIO_PREVIEW_CAPTURE_MODE}">`
@@ -493,7 +493,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
493
493
  ).map((draft) => runtimeFinding(draft, rootAnchor))
494
494
  }));
495
495
  const launchSettleMs = Date.now() - launchSettleStart;
496
- const { analyzeClipMediaFit } = await import("./src-WEECPY6E.js");
496
+ const { analyzeClipMediaFit } = await import("./src-HPLELQRK.js");
497
497
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
498
498
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
499
499
  }
@@ -7,16 +7,16 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-7WV27W7R.js";
10
+ } from "./chunk-Q6SHXSZX.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-QP4UWICL.js";
13
+ } from "./chunk-JOI7TNCX.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-ZTZA4UWZ.js";
17
17
  import {
18
18
  detectAgentRuntime
19
- } from "./chunk-BQA3X7TI.js";
19
+ } from "./chunk-QSFWGZG6.js";
20
20
  import {
21
21
  readConfig,
22
22
  writeConfig
@@ -83,8 +83,8 @@ async function maybePromptRenderFeedback(opts) {
83
83
  async function getDoctorSummary() {
84
84
  try {
85
85
  const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
86
- import("./system-HV7PYIXE.js"),
87
- import("./ffmpeg-JH3JXES2.js")
86
+ import("./system-YD4AW5ZX.js"),
87
+ import("./ffmpeg-7XNWNO7M.js")
88
88
  ]);
89
89
  const sys = getSystemMeta();
90
90
  const parts = [
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
13
- } from "./chunk-G7RKSAKS.js";
13
+ } from "./chunk-74UH2KGI.js";
14
14
  import {
15
15
  parseHTML
16
16
  } from "./chunk-SDYDNHEE.js";
@@ -14,15 +14,18 @@ import {
14
14
  isTokenExpired,
15
15
  tryResolveCredential
16
16
  } from "./chunk-ELP5QZWL.js";
17
+ import {
18
+ rewriteSrcsetUrls
19
+ } from "./chunk-ZKHXN2BV.js";
17
20
  import {
18
21
  decodeUrlPathVariants,
19
22
  encodeUrlPath
20
- } from "./chunk-XOTUPVIF.js";
23
+ } from "./chunk-MSGWR7WP.js";
21
24
  import {
22
25
  CSS_URL_RE,
23
26
  isNonRelativeUrl,
24
27
  isPathInside
25
- } from "./chunk-BSQ7XANM.js";
28
+ } from "./chunk-2BGOB2QK.js";
26
29
  import {
27
30
  parseHTML
28
31
  } from "./chunk-SDYDNHEE.js";
@@ -463,6 +466,21 @@ function rewriteStyleBlocks(document, referrerAbsDir, entryPath, resolveTarget)
463
466
  }
464
467
  return modified;
465
468
  }
469
+ function rewriteHtmlSrcsets(document, referrerAbsDir, entryPath, resolveTarget) {
470
+ let modified = false;
471
+ for (const el of document.querySelectorAll("[srcset]")) {
472
+ const srcset = el.getAttribute("srcset");
473
+ if (!srcset) continue;
474
+ const rewritten = rewriteSrcsetUrls(srcset, (url) => {
475
+ const target = resolveTarget(url, referrerAbsDir);
476
+ return target ? referenceFrom(entryPath, target) : url;
477
+ });
478
+ if (rewritten === srcset) continue;
479
+ el.setAttribute("srcset", rewritten);
480
+ modified = true;
481
+ }
482
+ return modified;
483
+ }
466
484
  function localizeHtmlEntry(ctx, entryPath, content) {
467
485
  const referrerAbsDir = resolve2(ctx.absProjectDir, dirname(entryPath));
468
486
  const { document } = parseHTML(content.toString("utf-8"));
@@ -471,7 +489,8 @@ function localizeHtmlEntry(ctx, entryPath, content) {
471
489
  attrs: ["src", "href", "poster"]
472
490
  });
473
491
  const stylesChanged = rewriteStyleBlocks(document, referrerAbsDir, entryPath, resolveTarget);
474
- if (attrsChanged || stylesChanged) {
492
+ const srcsetsChanged = rewriteHtmlSrcsets(document, referrerAbsDir, entryPath, resolveTarget);
493
+ if (attrsChanged || stylesChanged || srcsetsChanged) {
475
494
  ctx.fileContents.set(entryPath, Buffer.from(document.toString(), "utf-8"));
476
495
  }
477
496
  }