hyperframes 0.8.146 → 0.8.147

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 (109) hide show
  1. package/dist/{add-6J4TLUDW.js → add-5CNUY3EW.js} +5 -5
  2. package/dist/{animatedGifPrep-TPYA45ZZ.js → animatedGifPrep-ZID2XJRQ.js} +2 -2
  3. package/dist/{asset-B4C6ZU4V.js → asset-TFEENZ7K.js} +2 -2
  4. package/dist/{auth-T2V3URGO.js → auth-EJVZW6C3.js} +1 -1
  5. package/dist/{autoUpdate-O4R7IOYP.js → autoUpdate-MBNEZ2U4.js} +2 -2
  6. package/dist/{backgroundChecks-SQHGZCSH.js → backgroundChecks-DNW5NPTY.js} +3 -3
  7. package/dist/backgroundChecksWorker.js +3 -3
  8. package/dist/{beats-RNEXDM7U.js → beats-STXBGN6Z.js} +7 -7
  9. package/dist/{benchmark-IVK6FCEU.js → benchmark-AC6IGEQP.js} +6 -6
  10. package/dist/{browser-WUE6VK2N.js → browser-FB5AK32T.js} +3 -3
  11. package/dist/{bundleWithLocalizedFonts-EEIRL7FT.js → bundleWithLocalizedFonts-HSCWGCFO.js} +1 -1
  12. package/dist/{capture-LEKIGJ4G.js → capture-I24MXH3Y.js} +4 -4
  13. package/dist/{capture-K3EONGGU.js → capture-VEIVUHWB.js} +2 -2
  14. package/dist/{catalog-IXYQ2KXW.js → catalog-JRC4VTTI.js} +5 -5
  15. package/dist/{catch-up-IIF7HKR6.js → catch-up-NTCK7Z3G.js} +4 -4
  16. package/dist/{check-W7CDOXNP.js → check-7M7W4LPN.js} +14 -14
  17. package/dist/{checkBrowser-5VSXEHBZ.js → checkBrowser-2YRVCAYB.js} +14 -14
  18. package/dist/{chunk-CVPWZ5LY.js → chunk-2IDHEEAN.js} +1 -1
  19. package/dist/{chunk-KFZUUXUN.js → chunk-3BETQ4XI.js} +2 -2
  20. package/dist/{chunk-R6R74HNZ.js → chunk-3BYMCR4O.js} +15 -13
  21. package/dist/{chunk-2NAUEDA6.js → chunk-3PPO64IB.js} +1 -1
  22. package/dist/{chunk-K7ES5RSK.js → chunk-3YUFN37G.js} +1 -1
  23. package/dist/{chunk-KG265HQ7.js → chunk-4YVMMRHR.js} +1 -1
  24. package/dist/{chunk-QSSPIATO.js → chunk-55RZG5SQ.js} +1 -1
  25. package/dist/{chunk-ETNQF37F.js → chunk-5OKZLMQK.js} +1 -1
  26. package/dist/{chunk-UOBYRLDD.js → chunk-6BSIQJPW.js} +1 -1
  27. package/dist/{chunk-UZUUVYAO.js → chunk-6WD636E5.js} +2 -2
  28. package/dist/{chunk-TH4OXAWY.js → chunk-AFIATIKS.js} +1 -1
  29. package/dist/{chunk-54UXJKFF.js → chunk-AL2YEVOT.js} +1 -1
  30. package/dist/{chunk-HBGJYBGE.js → chunk-B45OFFOQ.js} +2 -2
  31. package/dist/{chunk-AJ5R4GM6.js → chunk-BPUFVVSH.js} +1 -1
  32. package/dist/{chunk-DUU77E2S.js → chunk-DYWSCPCR.js} +7 -7
  33. package/dist/{chunk-FKLYMV3U.js → chunk-H7B6JSHI.js} +1 -1
  34. package/dist/{chunk-WU2B74TL.js → chunk-JF5L5SQ6.js} +11 -0
  35. package/dist/{chunk-VT563F4O.js → chunk-N53FLAMZ.js} +2 -2
  36. package/dist/{chunk-SYMSKGXI.js → chunk-P6HELLPU.js} +2 -2
  37. package/dist/{chunk-ZZ7H4IJ6.js → chunk-POKK6XXU.js} +6 -6
  38. package/dist/{chunk-FJLHVAPO.js → chunk-QHRPB2JQ.js} +3 -3
  39. package/dist/{chunk-TBOMPYG6.js → chunk-QTTDKWSM.js} +2 -2
  40. package/dist/{chunk-HTM4CIFS.js → chunk-SEABQTBP.js} +4 -4
  41. package/dist/{chunk-XJUZEB44.js → chunk-XOJDBRNF.js} +1 -1
  42. package/dist/{chunk-WUZ6TMAO.js → chunk-YCGU3UNU.js} +1 -1
  43. package/dist/{chunk-6TTAXMDG.js → chunk-ZLL72U3I.js} +2 -2
  44. package/dist/{chunk-4RUILXS6.js → chunk-ZQXNL5DL.js} +2 -2
  45. package/dist/{clean-2GDD2B4F.js → clean-3RY3Y2GX.js} +5 -5
  46. package/dist/cli.js +49 -49
  47. package/dist/{cloud-LUKGDTTE.js → cloud-MLPBFCVE.js} +4 -4
  48. package/dist/{compare-4P6O4ONG.js → compare-6EZX2754.js} +8 -8
  49. package/dist/{component-SDDOLNJD.js → component-F5PQHP6A.js} +3 -3
  50. package/dist/{compositions-P2L6HUVQ.js → compositions-AUHWSI2H.js} +6 -6
  51. package/dist/{delete-Q6S4BJ3F.js → delete-VUF4SHHJ.js} +2 -2
  52. package/dist/{doctor-NL73UKHV.js → doctor-3XHCA5JM.js} +4 -4
  53. package/dist/{events-AVOPOKO3.js → events-FKOIB3R3.js} +3 -3
  54. package/dist/{events-X7KPU7LG.js → events-TIU72LZM.js} +2 -2
  55. package/dist/{feedback-GJZ5NXSH.js → feedback-V6VATYBE.js} +4 -4
  56. package/dist/{figma-V7SVQQI5.js → figma-YBJM2VGE.js} +3 -3
  57. package/dist/fontLocalizeCli.js +4 -4
  58. package/dist/{get-FO3YZYEU.js → get-3YVCGZBX.js} +2 -2
  59. package/dist/{gpuPolicy-QGS4TFWP.js → gpuPolicy-ZOUG66M7.js} +2 -2
  60. package/dist/{grade-compare-7ICSN7KE.js → grade-compare-MYXIRKQI.js} +8 -8
  61. package/dist/{help-Y5LYZG7K.js → help-WFZ2SUUR.js} +1 -1
  62. package/dist/{history-RKGBRNLD.js → history-HWPRJFR5.js} +5 -5
  63. package/dist/hyperframes-player.global.js +1 -1
  64. package/dist/{info-GGUTL2NR.js → info-WJDTQ4OZ.js} +5 -5
  65. package/dist/{init-PG7NA5SQ.js → init-EXHDN7RO.js} +13 -13
  66. package/dist/{inspect-FCXUB6DE.js → inspect-EAOLZOMQ.js} +10 -10
  67. package/dist/{keyframes-R3K6WJ3N.js → keyframes-FSZYNEDN.js} +6 -6
  68. package/dist/{layout-XNIZIGA2.js → layout-M2TQ2CIX.js} +10 -10
  69. package/dist/{lint-4KDS2F4O.js → lint-7C5UPTNQ.js} +6 -6
  70. package/dist/{list-OVPURFPK.js → list-GU5KBZ73.js} +2 -2
  71. package/dist/{login-EE2AX2PE.js → login-ZL2NYBIZ.js} +4 -4
  72. package/dist/{media-treatment-UDUEOP67.js → media-treatment-QC3TAHVU.js} +5 -5
  73. package/dist/{models-LPK2O4B2.js → models-A54I4QR5.js} +5 -5
  74. package/dist/{motionShot-G76XBOYI.js → motionShot-ZXPK562F.js} +5 -5
  75. package/dist/{normalize-audio-TUKWZ3OR.js → normalize-audio-CAP3DAE6.js} +4 -4
  76. package/dist/{open-7XB2TGVB.js → open-GUSBNMDB.js} +4 -4
  77. package/dist/{parakeetRunner-DL556HXL.js → parakeetRunner-GCCH72CO.js} +4 -4
  78. package/dist/{pipeline-34N5DLWU.js → pipeline-SCJ2MWYH.js} +2 -2
  79. package/dist/{play-DDA2UUQF.js → play-FP2QLMGM.js} +4 -4
  80. package/dist/{present-LLNRKXF5.js → present-H5SA4APW.js} +4 -4
  81. package/dist/{preview-H3ZZS46F.js → preview-ATPVKA6K.js} +8 -8
  82. package/dist/{producer-IFQOZK2G.js → producer-VBYUC27R.js} +1 -1
  83. package/dist/{remove-background-GNKRMFQS.js → remove-background-GA6F7JZW.js} +3 -3
  84. package/dist/{render-JM6KNRIA.js → render-KUVZFNQD.js} +8 -8
  85. package/dist/{render-KTTC3EE5.js → render-XCYXFZTL.js} +5 -5
  86. package/dist/{renderCancellation-GP3XD2FS.js → renderCancellation-NIXEWRAO.js} +2 -2
  87. package/dist/{sherpa-MZP3MV2X.js → sherpa-IQY52XU6.js} +4 -4
  88. package/dist/{skills-OET4XSHR.js → skills-JSSAEKUW.js} +5 -5
  89. package/dist/{skillsUpdateCheck-IPFSKKJD.js → skillsUpdateCheck-XE5E2K2F.js} +3 -3
  90. package/dist/{snapshot-EC4N75MS.js → snapshot-QMQOE2DD.js} +10 -10
  91. package/dist/{src-LIERUCFW.js → src-2GMPFYHL.js} +1 -1
  92. package/dist/{src-ZZQJOKO6.js → src-R55QLGWI.js} +3 -3
  93. package/dist/studio/assets/{hyperframes-player-tkxyWf5H.js → hyperframes-player-_eMxRXF_.js} +1 -1
  94. package/dist/studio/assets/{index-BrdqOkqP.js → index-6okhHdnH.js} +1 -1
  95. package/dist/studio/assets/{index-Dllxg4aU.js → index-CEq9KmY2.js} +1 -1
  96. package/dist/studio/assets/{index-Cg48BxAo.js → index-bXzd7tvF.js} +4 -4
  97. package/dist/studio/index.html +1 -1
  98. package/dist/{studioServer-GJVVJUEL.js → studioServer-Q4MT44LT.js} +15 -15
  99. package/dist/{telemetry-ZQ5XVE6Z.js → telemetry-V5JYZDS4.js} +3 -3
  100. package/dist/{timeline-I2T5WIPD.js → timeline-KTCTOKF5.js} +6 -6
  101. package/dist/{tokens-ONUWOXEX.js → tokens-ZHREZPK6.js} +2 -2
  102. package/dist/{transcribe-BCQMA537.js → transcribe-4QDEWCE6.js} +7 -7
  103. package/dist/{transcribe-ZLJF7V5Y.js → transcribe-CRAV4FU3.js} +3 -3
  104. package/dist/{updateCheck-ZWHDXF73.js → updateCheck-E7RMSK3E.js} +2 -2
  105. package/dist/{upgrade-32JGFZWS.js → upgrade-27PFTDCV.js} +2 -2
  106. package/dist/{urlDownloader-EVDP43GM.js → urlDownloader-EAF6PLUP.js} +1 -1
  107. package/dist/{validate-G4PUGQCI.js → validate-OKNFDBMG.js} +10 -10
  108. package/dist/{video-TILEY3VJ.js → video-IEVS4FIH.js} +2 -2
  109. package/package.json +1 -1
@@ -16,7 +16,7 @@ import {
16
16
  EncoderInterruptedError,
17
17
  encoderFailureError,
18
18
  prepareAnimatedGifInputs
19
- } from "./chunk-KG265HQ7.js";
19
+ } from "./chunk-4YVMMRHR.js";
20
20
  import {
21
21
  createStudioPositionSeekReapplyScript
22
22
  } from "./chunk-EOOEC32M.js";
@@ -145,7 +145,7 @@ import {
145
145
  validateEngineConfigSnapshot,
146
146
  verifyDiskDrawElementSamples,
147
147
  writeCapturedFrame
148
- } from "./chunk-WU2B74TL.js";
148
+ } from "./chunk-JF5L5SQ6.js";
149
149
  import {
150
150
  assignBundledRuntimeCompositionIds,
151
151
  buildVariablesByCompScript,
@@ -3476,12 +3476,13 @@ function buildRenderPerfSummary(input) {
3476
3476
  // ../producer/src/services/render/stages/captureStreamingStage.ts
3477
3477
  var DEFAULT_CAPTURE_STALL_MS = 6e4;
3478
3478
  var DE_STALL_POLL_MS = 5e3;
3479
+ var STALL_ADVICE = "Chrome stopped answering. If another app is keeping the GPU or CPU busy (a 3D render, a game, another export), let it finish or render one job at a time, then retry.";
3479
3480
  var ParallelCaptureStallError = class extends Error {
3480
3481
  variant;
3481
3482
  constructor(args) {
3482
3483
  const phases = args.phaseSummary ? ` Last worker phases: ${args.phaseSummary}.` : "";
3483
3484
  super(
3484
- args.variant === "drain" ? `[Render] Parallel ${args.captureLabel} capture stalled: no frame progress for ${args.stallTimeoutMs}ms (stuck at ${args.lastCapturedFrames}/${args.totalFrames}).${phases}` : `[Render] Parallel ${args.captureLabel} capture stalled after ${args.stallTimeoutMs}ms with no frame progress (last frame ${args.lastCapturedFrames}/${args.totalFrames}); retrying on a fresh screenshot session.${phases}`
3485
+ (args.variant === "drain" ? `[Render] Parallel ${args.captureLabel} capture stalled: no frame progress for ${args.stallTimeoutMs}ms (stuck at ${args.lastCapturedFrames}/${args.totalFrames}).${phases}` : `[Render] Parallel ${args.captureLabel} capture stalled after ${args.stallTimeoutMs}ms with no frame progress (last frame ${args.lastCapturedFrames}/${args.totalFrames}); retrying on a fresh screenshot session.${phases}`) + ` ${STALL_ADVICE}`
3485
3486
  );
3486
3487
  this.name = "ParallelCaptureStallError";
3487
3488
  this.variant = args.variant;
@@ -3499,12 +3500,13 @@ function captureModeLabel(mode) {
3499
3500
  }
3500
3501
  var SequentialCaptureStallError = class extends Error {
3501
3502
  captureMode;
3502
- constructor(captureMode, stallTimeoutMs, frameIndex, totalFrames) {
3503
+ constructor(session, stallTimeoutMs, frameIndex, totalFrames) {
3504
+ const step = session.captureStep ? ` while ${session.captureStep}` : "";
3503
3505
  super(
3504
- `[Render] Sequential ${captureModeLabel(captureMode)} capture stalled: no frame progress for ${stallTimeoutMs}ms (stuck at frame ${frameIndex}/${totalFrames}).`
3506
+ `[Render] Sequential ${captureModeLabel(session.captureMode)} capture stalled: no frame progress for ${stallTimeoutMs}ms (stuck at frame ${frameIndex}/${totalFrames}${step}). ` + STALL_ADVICE
3505
3507
  );
3506
3508
  this.name = "SequentialCaptureStallError";
3507
- this.captureMode = captureMode;
3509
+ this.captureMode = session.captureMode;
3508
3510
  }
3509
3511
  };
3510
3512
  function raceAgainstStall(promise, deadlineMs, input, signal) {
@@ -3513,9 +3515,9 @@ function raceAgainstStall(promise, deadlineMs, input, signal) {
3513
3515
  () => {
3514
3516
  reject(
3515
3517
  signal?.aborted ? new Error(
3516
- `[Render] Sequential ${captureModeLabel(input.captureMode)} capture aborted while a capture call was in flight (frame ${input.frameIndex}/${input.totalFrames}).`
3518
+ `[Render] Sequential ${captureModeLabel(input.session.captureMode)} capture aborted while a capture call was in flight (frame ${input.frameIndex}/${input.totalFrames}).`
3517
3519
  ) : new SequentialCaptureStallError(
3518
- input.captureMode,
3520
+ input.session,
3519
3521
  input.stallTimeoutMs,
3520
3522
  input.frameIndex,
3521
3523
  input.totalFrames
@@ -3643,7 +3645,7 @@ async function runWorkerEncodePipelineLoop(session, totalFrames, job, currentEnc
3643
3645
  const captureWithStallGuard = (idx, promise) => raceAgainstStall(
3644
3646
  promise,
3645
3647
  stallTimeoutMs - (Date.now() - lastProgressAt),
3646
- { captureMode: session.captureMode, frameIndex: idx, totalFrames, stallTimeoutMs },
3648
+ { session, frameIndex: idx, totalFrames, stallTimeoutMs },
3647
3649
  abortSignal
3648
3650
  );
3649
3651
  const drainPrev = async () => {
@@ -3997,7 +3999,7 @@ async function runCaptureStreamingStage(input) {
3997
3999
  const { buffer } = await raceAgainstStall(
3998
4000
  captureFrameToBuffer(session, i, time),
3999
4001
  stallTimeoutMs - (Date.now() - lastProgressAt),
4000
- { captureMode: session.captureMode, frameIndex: i, totalFrames, stallTimeoutMs },
4002
+ { session, frameIndex: i, totalFrames, stallTimeoutMs },
4001
4003
  abortSignal
4002
4004
  );
4003
4005
  await reorderBuffer.waitForFrame(i);
@@ -4086,7 +4088,7 @@ async function captureSegmentFrames(ctx, segment, encoder) {
4086
4088
  ctx.captureFrame(ctx.session, i, time),
4087
4089
  ctx.stallTimeoutMs - (Date.now() - lastProgressAt),
4088
4090
  {
4089
- captureMode: ctx.session.captureMode,
4091
+ session: ctx.session,
4090
4092
  frameIndex: i,
4091
4093
  totalFrames: ctx.totalFrames,
4092
4094
  stallTimeoutMs: ctx.stallTimeoutMs
@@ -14308,7 +14310,7 @@ function startServer(options = {}) {
14308
14310
  });
14309
14311
  async function shutdown(signal) {
14310
14312
  log.info(`Received ${signal}, shutting down`);
14311
- const { drainBrowserPool } = await import("./src-LIERUCFW.js");
14313
+ const { drainBrowserPool } = await import("./src-2GMPFYHL.js");
14312
14314
  await drainBrowserPool().catch(() => {
14313
14315
  });
14314
14316
  const handle = await Promise.race([
@@ -15493,7 +15495,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
15493
15495
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
15494
15496
  if (probeResult.probeSession) {
15495
15497
  try {
15496
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-LIERUCFW.js");
15498
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-2GMPFYHL.js");
15497
15499
  await closeCaptureSession2(probeResult.probeSession);
15498
15500
  } catch (err) {
15499
15501
  log.warn("[plan] probe session close failed", {
@@ -34,7 +34,7 @@ import {
34
34
  } from "./chunk-XUXGIA7H.js";
35
35
  import {
36
36
  VERSION
37
- } from "./chunk-TBOMPYG6.js";
37
+ } from "./chunk-QTTDKWSM.js";
38
38
  import {
39
39
  c
40
40
  } from "./chunk-ZTZA4UWZ.js";
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ISN5GRYI.js";
18
18
  import {
19
19
  VERSION
20
- } from "./chunk-TBOMPYG6.js";
20
+ } from "./chunk-QTTDKWSM.js";
21
21
 
22
22
  // src/utils/updateCheck.ts
23
23
  import { existsSync, readFileSync } from "fs";
@@ -8,7 +8,7 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-WU2B74TL.js";
11
+ } from "./chunk-JF5L5SQ6.js";
12
12
  import {
13
13
  parseAnimatedGifMetadata
14
14
  } from "./chunk-BAKPN2D2.js";
@@ -8,7 +8,7 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-2NAUEDA6.js";
11
+ } from "./chunk-3PPO64IB.js";
12
12
  import {
13
13
  getPowerState
14
14
  } from "./chunk-XBSPQ52S.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-AVOPOKO3.js");
1281
+ const { trackCommandFailure } = await import("./events-FKOIB3R3.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-TBOMPYG6.js";
9
+ } from "./chunk-QTTDKWSM.js";
10
10
 
11
11
  // src/registry/compatibility.ts
12
12
  import { compareVersions } from "compare-versions";
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-QSSPIATO.js";
10
+ } from "./chunk-55RZG5SQ.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-2NAUEDA6.js";
13
+ } from "./chunk-3PPO64IB.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-K2FLNJVB.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-QSSPIATO.js";
12
+ } from "./chunk-55RZG5SQ.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-PBN6GBJE.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  setHostHandlesSigint
9
- } from "./chunk-WU2B74TL.js";
9
+ } from "./chunk-JF5L5SQ6.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -20,13 +20,13 @@ import {
20
20
  import {
21
21
  getPreparedWavDurationSeconds,
22
22
  prepareWav
23
- } from "./chunk-CVPWZ5LY.js";
23
+ } from "./chunk-2IDHEEAN.js";
24
24
  import {
25
25
  emitWords
26
26
  } from "./chunk-6IHWCZ3W.js";
27
27
  import {
28
28
  stoppedByCancelSignal
29
- } from "./chunk-54UXJKFF.js";
29
+ } from "./chunk-AL2YEVOT.js";
30
30
  import {
31
31
  PARAKEET_MODEL_LABEL,
32
32
  SHERPA_ERROR_PREFIX,
@@ -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-ZZQJOKO6.js");
10
+ return await import("./src-R55QLGWI.js");
11
11
  }
12
12
 
13
13
  export {
@@ -6,20 +6,20 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-TH4OXAWY.js";
9
+ } from "./chunk-AFIATIKS.js";
10
10
  import {
11
11
  installPageFunctionGuard,
12
12
  resolveCliChromeGpuMode,
13
13
  seekCompositionTimeline,
14
14
  waitForRuntimeReady
15
- } from "./chunk-HTM4CIFS.js";
15
+ } from "./chunk-SEABQTBP.js";
16
16
  import {
17
17
  resolveCompositionViewportFromHtml
18
18
  } from "./chunk-FH7WODJH.js";
19
19
  import {
20
20
  launchManagedBrowser,
21
21
  resolveManagedGpuMode
22
- } from "./chunk-XJUZEB44.js";
22
+ } from "./chunk-XOJDBRNF.js";
23
23
  import {
24
24
  defineCommand
25
25
  } from "./chunk-S3S4TGEH.js";
@@ -33,7 +33,7 @@ import {
33
33
  import {
34
34
  printDeprecationNotice,
35
35
  withMeta
36
- } from "./chunk-K7ES5RSK.js";
36
+ } from "./chunk-3YUFN37G.js";
37
37
  import {
38
38
  normalizeErrorMessage
39
39
  } from "./chunk-KNU5COPB.js";
@@ -228,7 +228,7 @@ function extractCompositionErrorsFromLint(lintResult) {
228
228
  async function localizeRemoteAssets(html) {
229
229
  let dir;
230
230
  try {
231
- const { loadProducer } = await import("./producer-IFQOZK2G.js");
231
+ const { loadProducer } = await import("./producer-VBYUC27R.js");
232
232
  const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
233
233
  dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
234
234
  const assetDir = dir;
@@ -273,9 +273,9 @@ async function validateInBrowser(project, opts) {
273
273
  try {
274
274
  const browser = await ensureBrowser();
275
275
  const puppeteer = await import("puppeteer-core");
276
- const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-LIERUCFW.js");
276
+ const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-2GMPFYHL.js");
277
277
  const requestedGpuMode = resolveCliChromeGpuMode();
278
- const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-QGS4TFWP.js");
278
+ const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-ZOUG66M7.js");
279
279
  const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
280
280
  const requiresWebGpu = compositionRequiresWebGpu(html);
281
281
  const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-AWDFDFI3.js";
15
15
  import {
16
16
  isBlockedNetworkHost
17
- } from "./chunk-WU2B74TL.js";
17
+ } from "./chunk-JF5L5SQ6.js";
18
18
  import {
19
19
  DOMParser,
20
20
  parseHTML
@@ -6105,20 +6105,26 @@ async function prepareFrameForCapture(session, frameIndex, time, seekOptions, he
6105
6105
  seekOptions?.subFrameDivisions
6106
6106
  );
6107
6107
  const seekStart = Date.now();
6108
+ session.captureStep = "seeking the timeline";
6108
6109
  const hasPendingComposite = await seekPageTimeline(page, quantizedTime, seekOptions);
6110
+ session.captureStep = "decoding CSS background images";
6109
6111
  await decodeDynamicCssBackgroundImages(page);
6110
6112
  const seekMs = Date.now() - seekStart;
6111
6113
  const beforeCaptureStart = Date.now();
6112
6114
  if (session.onBeforeCapture) {
6115
+ session.captureStep = "injecting video frames";
6113
6116
  await session.onBeforeCapture(page, quantizedTime, heldVideoTime);
6114
6117
  }
6118
+ session.captureStep = "waiting for page seek handlers";
6115
6119
  await waitForPendingSeekCompletion(page);
6120
+ session.captureStep = "loading color-grading LUTs";
6116
6121
  await page.evaluate(async () => {
6117
6122
  const runtime = window.__hf?.colorGrading;
6118
6123
  await runtime?.waitForActiveLuts?.();
6119
6124
  });
6120
6125
  const beforeCaptureMs = Date.now() - beforeCaptureStart;
6121
6126
  if (hasPendingComposite && session.captureMode !== "beginframe" && session.captureMode !== "drawelement") {
6127
+ session.captureStep = "compositing the page";
6122
6128
  await page.evaluate(async () => {
6123
6129
  const w = window;
6124
6130
  if (typeof w.__hf_page_composite_prepare === "function") {
@@ -6138,6 +6144,7 @@ async function prepareFrameForCapture(session, frameIndex, time, seekOptions, he
6138
6144
  }
6139
6145
  });
6140
6146
  }
6147
+ session.captureStep = "capturing the frame";
6141
6148
  return { quantizedTime, seekMs, beforeCaptureMs };
6142
6149
  }
6143
6150
  function computeAuthoredClipBoundaryFrames(schedule, fps) {
@@ -6868,10 +6875,12 @@ async function captureAccumulatedFrame(session, frameIndex, absFrameIndex, plan)
6868
6875
  const fps = fpsToNumber(session.options.fps);
6869
6876
  const frameTime = quantizeSeekTime(absFrameIndex / fps, fps);
6870
6877
  const eventfulSeekStart = Date.now();
6878
+ session.captureStep = "seeking the timeline";
6871
6879
  await seekPageTimeline(session.page, frameTime, void 0);
6872
6880
  const totals = { seekMs: Date.now() - eventfulSeekStart, beforeCaptureMs: 0, screenshotMs: 0 };
6873
6881
  if (session.onBeforeCapture) {
6874
6882
  const injectStart = Date.now();
6883
+ session.captureStep = "injecting video frames";
6875
6884
  await session.onBeforeCapture(session.page, frameTime, frameTime);
6876
6885
  totals.beforeCaptureMs += Date.now() - injectStart;
6877
6886
  }
@@ -6910,6 +6919,7 @@ async function captureAccumulatedFrame(session, frameIndex, absFrameIndex, plan)
6910
6919
  accumulator.add(sample.buffer);
6911
6920
  }
6912
6921
  const restoreSeekStart = Date.now();
6922
+ session.captureStep = "seeking the timeline";
6913
6923
  await seekPageTimeline(session.page, frameTime, { suppressEvents: true });
6914
6924
  totals.seekMs += Date.now() - restoreSeekStart;
6915
6925
  const blended = accumulator.finish();
@@ -7083,6 +7093,7 @@ async function captureFramesBatchPipelined(session, frameIndices, times) {
7083
7093
  const startTime = Date.now();
7084
7094
  const fps = fpsToNumber(options.fps);
7085
7095
  const quantized = times.map((t) => quantizeTimeToFrame(t, fps));
7096
+ session.captureStep = "capturing the frame";
7086
7097
  const { encodeResults, failedAt, error } = await produceDrawElementFrameBatch(
7087
7098
  page,
7088
7099
  quantized,
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  RegistryCompatibilityError,
9
9
  gateRegistryItemsCompatibility
10
- } from "./chunk-UOBYRLDD.js";
10
+ } from "./chunk-6BSIQJPW.js";
11
11
  import {
12
12
  DEFAULT_PROJECT_CONFIG,
13
13
  createProjectConfig,
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-XVIYZU3D.js";
30
30
  import {
31
31
  trackRegistryItemAdded
32
- } from "./chunk-QSSPIATO.js";
32
+ } from "./chunk-55RZG5SQ.js";
33
33
  import {
34
34
  defineCommand
35
35
  } from "./chunk-S3S4TGEH.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveConfig,
9
9
  usesSoftwareWebGpu
10
- } from "./chunk-WU2B74TL.js";
10
+ } from "./chunk-JF5L5SQ6.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) {
20
- const { resolveBrowserGpuMode } = await import("./src-LIERUCFW.js");
20
+ const { resolveBrowserGpuMode } = await import("./src-2GMPFYHL.js");
21
21
  return resolveBrowserGpuMode(requestedMode, { chromePath });
22
22
  }
23
23
  function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
@@ -9,18 +9,18 @@ import {
9
9
  } from "./chunk-EGO6Z24R.js";
10
10
  import {
11
11
  resolveProject
12
- } from "./chunk-TH4OXAWY.js";
12
+ } from "./chunk-AFIATIKS.js";
13
13
  import {
14
14
  AUDIT_SEEK_OPTIONS,
15
15
  installPageFunctionGuard,
16
16
  seekCompositionTimeline,
17
17
  waitForCompositionFonts,
18
18
  waitForRuntimeReady
19
- } from "./chunk-HTM4CIFS.js";
19
+ } from "./chunk-SEABQTBP.js";
20
20
  import {
21
21
  launchManagedBrowser,
22
22
  resolveManagedGpuMode
23
- } from "./chunk-XJUZEB44.js";
23
+ } from "./chunk-XOJDBRNF.js";
24
24
  import {
25
25
  resolveDiagnosticNavigationTimeoutMs
26
26
  } from "./chunk-3HSWLZ6S.js";
@@ -34,7 +34,7 @@ import {
34
34
  import {
35
35
  printDeprecationNotice,
36
36
  withMeta
37
- } from "./chunk-K7ES5RSK.js";
37
+ } from "./chunk-3YUFN37G.js";
38
38
  import {
39
39
  normalizeErrorMessage
40
40
  } from "./chunk-KNU5COPB.js";
@@ -729,13 +729,13 @@ async function alignViewportToComposition(page, url) {
729
729
  async function runLayoutAudit(projectDir, opts) {
730
730
  const { ensureBrowser } = await import("./manager-BPSR6D3V.js");
731
731
  const puppeteer = await import("puppeteer-core");
732
- const { buildChromeArgs } = await import("./src-LIERUCFW.js");
732
+ const { buildChromeArgs } = await import("./src-2GMPFYHL.js");
733
733
  const {
734
734
  assertWebGpuAdapterAvailable,
735
735
  compositionRequiresWebGpu,
736
736
  resolveLocalBrowserGpuMode,
737
737
  resolveLocalWebGpu
738
- } = await import("./gpuPolicy-QGS4TFWP.js");
738
+ } = await import("./gpuPolicy-ZOUG66M7.js");
739
739
  const html = await bundleProjectHtml(projectDir);
740
740
  const server = await serveStaticProjectHtml(
741
741
  projectDir,
@@ -32,18 +32,18 @@ import {
32
32
  } from "./chunk-S3S4TGEH.js";
33
33
  import {
34
34
  resolveExtractCacheDir
35
- } from "./chunk-WU2B74TL.js";
35
+ } from "./chunk-JF5L5SQ6.js";
36
36
  import {
37
37
  getUpdateMeta,
38
38
  withMeta
39
- } from "./chunk-K7ES5RSK.js";
39
+ } from "./chunk-3YUFN37G.js";
40
40
  import {
41
41
  CONFIG_PATH,
42
42
  withFileLock
43
43
  } from "./chunk-XUXGIA7H.js";
44
44
  import {
45
45
  VERSION
46
- } from "./chunk-TBOMPYG6.js";
46
+ } from "./chunk-QTTDKWSM.js";
47
47
  import {
48
48
  normalizeErrorMessage
49
49
  } from "./chunk-KNU5COPB.js";
@@ -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.146" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.8.146" : "0.0.0-dev";
9
+ var VERSION = true ? "0.8.147" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.8.147" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  launchManagedBrowser,
12
12
  resolveManagedGpuMode
13
- } from "./chunk-XJUZEB44.js";
13
+ } from "./chunk-XOJDBRNF.js";
14
14
  import {
15
15
  resolveDiagnosticNavigationTimeoutMs,
16
16
  windowsChromeCrashRemediation
@@ -18,11 +18,11 @@ import {
18
18
  import {
19
19
  resolveLocalBrowserGpuMode,
20
20
  resolveLocalWebGpu
21
- } from "./chunk-SYMSKGXI.js";
21
+ } from "./chunk-P6HELLPU.js";
22
22
  import {
23
23
  assertWebGpuAdapterAvailable,
24
24
  compositionRequiresWebGpu
25
- } from "./chunk-WU2B74TL.js";
25
+ } from "./chunk-JF5L5SQ6.js";
26
26
  import {
27
27
  normalizeErrorMessage
28
28
  } from "./chunk-KNU5COPB.js";
@@ -107,7 +107,7 @@ async function openSettledCompositionPage(html, url, options) {
107
107
  const { ensureBrowser, findSystemBrowser } = await import("./manager-BPSR6D3V.js");
108
108
  const browser = await ensureBrowser();
109
109
  const puppeteer = await import("puppeteer-core");
110
- const { buildChromeArgs } = await import("./src-LIERUCFW.js");
110
+ const { buildChromeArgs } = await import("./src-2GMPFYHL.js");
111
111
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
112
112
  const requiresWebGpu = compositionRequiresWebGpu(html);
113
113
  let softwareWebGpu = false;
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveCaptureBrowserGpuMode
9
- } from "./chunk-SYMSKGXI.js";
9
+ } from "./chunk-P6HELLPU.js";
10
10
  import {
11
11
  requestCliExit
12
12
  } from "./chunk-PBN6GBJE.js";
@@ -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-K7ES5RSK.js";
9
+ } from "./chunk-3YUFN37G.js";
10
10
  import {
11
11
  hostAnswers
12
12
  } from "./chunk-K4WIOZFP.js";
@@ -20,7 +20,7 @@ import {
20
20
  typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-ETNQF37F.js";
23
+ } from "./chunk-5OKZLMQK.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-S3S4TGEH.js";
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
229
229
  rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
230
230
  );
231
231
  }
232
- const { trackFigmaImport } = await import("./telemetry-ZQ5XVE6Z.js");
232
+ const { trackFigmaImport } = await import("./telemetry-V5JYZDS4.js");
233
233
  trackFigmaImport({
234
234
  phase: "asset",
235
235
  reused: results.every((r) => r.reused),
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-QSSPIATO.js";
10
+ } from "./chunk-55RZG5SQ.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-2NAUEDA6.js";
13
+ } from "./chunk-3PPO64IB.js";
14
14
  import {
15
15
  detectAgentRuntime
16
16
  } from "./chunk-XBSPQ52S.js";
@@ -6,12 +6,12 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  redactHome
9
- } from "./chunk-FJLHVAPO.js";
9
+ } from "./chunk-QHRPB2JQ.js";
10
10
  import "./chunk-Z27A7NUB.js";
11
11
  import "./chunk-5ETJX6WM.js";
12
12
  import {
13
13
  loadProducer
14
- } from "./chunk-AJ5R4GM6.js";
14
+ } from "./chunk-BPUFVVSH.js";
15
15
  import "./chunk-3DKN5WKL.js";
16
16
  import {
17
17
  formatBytes
@@ -49,7 +49,7 @@ import {
49
49
  directorySizeBytes,
50
50
  gcExtractionCache,
51
51
  resolveExtractCacheDir
52
- } from "./chunk-WU2B74TL.js";
52
+ } from "./chunk-JF5L5SQ6.js";
53
53
  import "./chunk-JBQJKC23.js";
54
54
  import "./chunk-NE55C6S5.js";
55
55
  import "./chunk-JYVGYKXG.js";
@@ -77,12 +77,12 @@ import "./chunk-2PSPARWP.js";
77
77
  import "./chunk-IXLUTE6N.js";
78
78
  import {
79
79
  withMeta
80
- } from "./chunk-K7ES5RSK.js";
80
+ } from "./chunk-3YUFN37G.js";
81
81
  import "./chunk-K4WIOZFP.js";
82
82
  import "./chunk-XUXGIA7H.js";
83
83
  import "./chunk-WERLJGIC.js";
84
84
  import "./chunk-ISN5GRYI.js";
85
- import "./chunk-TBOMPYG6.js";
85
+ import "./chunk-QTTDKWSM.js";
86
86
  import "./chunk-KNU5COPB.js";
87
87
  import "./chunk-3GXQPCJC.js";
88
88
  import {