hyperframes 0.8.166 → 0.8.167

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 (158) hide show
  1. package/dist/{add-MCSKPN2J.js → add-2FUXQRJJ.js} +11 -11
  2. package/dist/{animatedGifPrep-3HO4C3YA.js → animatedGifPrep-LJ4MZ55T.js} +6 -6
  3. package/dist/api.js +12 -12
  4. package/dist/{asset-XVO3H37J.js → asset-WJ4RZBOZ.js} +2 -2
  5. package/dist/{assetCataloger-RHSKUXJV.js → assetCataloger-YEOLIVRC.js} +6 -6
  6. package/dist/{audio-G4CPBGIP.js → audio-BMQGWYBM.js} +12 -12
  7. package/dist/{auth-GRFFMOB5.js → auth-2N7I575Y.js} +1 -1
  8. package/dist/{autoUpdate-CHDEIEGO.js → autoUpdate-QNWSYJTZ.js} +2 -2
  9. package/dist/{backgroundChecks-VAZLRTGT.js → backgroundChecks-7XFS3DIS.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-ILOPDVDM.js → batchRender-H5NAWIHY.js} +3 -3
  12. package/dist/{beats-B3BZKIWQ.js → beats-YPFOOARR.js} +4 -4
  13. package/dist/{benchmark-OAPEWN3B.js → benchmark-HPF6KC73.js} +8 -8
  14. package/dist/{browser-IG6NUNE2.js → browser-326JM225.js} +3 -3
  15. package/dist/{bundleWithLocalizedFonts-ZUM7SYTY.js → bundleWithLocalizedFonts-4L7VGKHX.js} +2 -2
  16. package/dist/{capture-XXKHHDGW.js → capture-62S3EEMN.js} +16 -51
  17. package/dist/{capture-4A3RN6PP.js → capture-R5AUVH3R.js} +3 -3
  18. package/dist/{captureTimeout-PA4FYWT5.js → captureTimeout-K2JNVVCI.js} +1 -1
  19. package/dist/{catalog-OT6XSKQS.js → catalog-GLYTZLPC.js} +11 -11
  20. package/dist/{catch-up-JEU6V6DR.js → catch-up-F7X7ITIH.js} +4 -4
  21. package/dist/{check-6FSM25VP.js → check-ZTQ4E5YO.js} +45 -45
  22. package/dist/{checkBrowser-MECIATAM.js → checkBrowser-OGMICBTZ.js} +31 -30
  23. package/dist/{chunk-DOONKIF5.js → chunk-2INCSLFS.js} +2 -2
  24. package/dist/{chunk-AKBFKGJM.js → chunk-2TD4V5YU.js} +1 -1
  25. package/dist/{chunk-KX4VIWIV.js → chunk-35GLXVUG.js} +1 -1
  26. package/dist/{chunk-WC6QG6WU.js → chunk-4PCIW2XN.js} +2 -2
  27. package/dist/{chunk-BSXI5VWK.js → chunk-4U5FN6FY.js} +4 -7
  28. package/dist/{chunk-6U47Q57N.js → chunk-55IKX25I.js} +1 -1
  29. package/dist/{chunk-QNZQTITL.js → chunk-5GMAX6HC.js} +1 -1
  30. package/dist/{chunk-ZIL7S3L6.js → chunk-5HKZOQEV.js} +1 -1
  31. package/dist/{chunk-TAANFVLO.js → chunk-5XNGYXPW.js} +1 -1
  32. package/dist/{chunk-F67VJSSH.js → chunk-6RSBA4XV.js} +1 -1
  33. package/dist/{chunk-I3B4A3LF.js → chunk-7DJLJH2Y.js} +1 -1
  34. package/dist/{chunk-KPPC3C4I.js → chunk-AATVO56S.js} +13 -13
  35. package/dist/{chunk-UKTXHF3Q.js → chunk-AURMZPQ4.js} +6 -6
  36. package/dist/{chunk-THA3FI4Z.js → chunk-BGPZWFYO.js} +2 -2
  37. package/dist/{chunk-AL7XYJTK.js → chunk-BNH73WSR.js} +2 -2
  38. package/dist/{chunk-B4VG7PGX.js → chunk-C6XFNWHU.js} +1 -1
  39. package/dist/{chunk-TPLNKI23.js → chunk-CXUV24HM.js} +1 -1
  40. package/dist/chunk-DJ6L4NZU.js +3795 -0
  41. package/dist/{chunk-BTXLF6DV.js → chunk-DWMCUUAQ.js} +1 -1
  42. package/dist/{chunk-BTTGDEGI.js → chunk-EMHFQAFH.js} +1 -1
  43. package/dist/{chunk-ULJB5UY4.js → chunk-EN4ZEUT3.js} +12 -17
  44. package/dist/{chunk-TIZRYBKL.js → chunk-FETB6SFI.js} +2 -2
  45. package/dist/{chunk-W3SLIE72.js → chunk-FJ6SHMJW.js} +10 -10
  46. package/dist/{chunk-WP4QEC2Q.js → chunk-G7HJCDEI.js} +2 -2
  47. package/dist/{chunk-FALELQTO.js → chunk-HAQ4PMF6.js} +3 -3
  48. package/dist/{chunk-ATF6UESJ.js → chunk-IDVQ5AH7.js} +1 -1
  49. package/dist/{chunk-ZUQ2K4YF.js → chunk-J4OSFRO6.js} +1 -1
  50. package/dist/{chunk-PORNXOQP.js → chunk-J53OCC2V.js} +1 -1
  51. package/dist/{chunk-L7PJO2A4.js → chunk-JK2AETXO.js} +23 -17
  52. package/dist/{chunk-CABYCNUK.js → chunk-KIWXOYBU.js} +3 -3
  53. package/dist/{chunk-HTDDV7CM.js → chunk-LF6E6N2U.js} +2 -2
  54. package/dist/{chunk-7PYUADWL.js → chunk-LJ7BKHGT.js} +1 -1
  55. package/dist/{chunk-EUCDNWPK.js → chunk-MZSP2FH7.js} +7 -7
  56. package/dist/{chunk-BIOWX4AM.js → chunk-N6HMVHOI.js} +3 -3
  57. package/dist/{chunk-25CSBTM2.js → chunk-NA7LBT7C.js} +1 -1
  58. package/dist/{chunk-4UNBVCLJ.js → chunk-OI3K7RJZ.js} +16 -16
  59. package/dist/{chunk-SZDHUSQ5.js → chunk-P7H2MOWB.js} +1 -1
  60. package/dist/{chunk-CQFNLIGE.js → chunk-PYKY63GT.js} +2 -2
  61. package/dist/{chunk-DDEFEMA3.js → chunk-Q2RNXOAQ.js} +2 -2
  62. package/dist/{chunk-MMSCLNCJ.js → chunk-Q2WGWWJ5.js} +1 -1
  63. package/dist/{chunk-APTXSODN.js → chunk-Q4ZMV6RN.js} +5 -5
  64. package/dist/{chunk-FLTPIUGU.js → chunk-QCRKQ6BY.js} +94 -2
  65. package/dist/{chunk-HLCB2VAN.js → chunk-QQCZVVUZ.js} +1 -1
  66. package/dist/{chunk-AWNBM3MZ.js → chunk-RGHQID2E.js} +3 -3
  67. package/dist/{chunk-ZH3TWH4D.js → chunk-VZG6DZ5O.js} +3 -3
  68. package/dist/{chunk-2742O5DO.js → chunk-W3B37KCA.js} +2 -1
  69. package/dist/{chunk-V652CBKA.js → chunk-Y5HGSWD6.js} +1 -1
  70. package/dist/{chunk-OBZWOV4Q.js → chunk-YKMJPYNJ.js} +2 -2
  71. package/dist/{chunk-GDJGBAV6.js → chunk-YQ5NJCC4.js} +1 -1
  72. package/dist/{chunk-2WYDNKVV.js → chunk-ZWZFBVMS.js} +4 -4
  73. package/dist/{clean-QWXJ5QJQ.js → clean-TZVC4SUY.js} +13 -13
  74. package/dist/cli.js +53 -53
  75. package/dist/{cloud-UCQ33ODM.js → cloud-G4Z54NRA.js} +4 -4
  76. package/dist/{cloudrun-2NQXQI4T.js → cloudrun-ZKWTTLXC.js} +3 -3
  77. package/dist/{compare-ZGW25GT6.js → compare-HING5JY7.js} +25 -24
  78. package/dist/{compiler-VQ7QYOSB.js → compiler-E37DHG6R.js} +3 -3
  79. package/dist/{component-W2QGYUEG.js → component-3Y6DSDDQ.js} +3 -3
  80. package/dist/{compositions-DOIAPDMU.js → compositions-7PCJJOSO.js} +10 -10
  81. package/dist/{delete-PCSBLAVX.js → delete-C5SIXVQK.js} +2 -2
  82. package/dist/{deterministicFonts-LNNVHVS2.js → deterministicFonts-35AC2PM5.js} +2 -2
  83. package/dist/{dist-ROVMAL74.js → dist-4PRLFYDO.js} +1 -1
  84. package/dist/{dist-6TKXILZL.js → dist-KGU4NOEC.js} +2 -2
  85. package/dist/{doctor-2FMEUV4B.js → doctor-6LFPX5YC.js} +8 -8
  86. package/dist/{events-V2KF4OKH.js → events-27DBZEP2.js} +2 -2
  87. package/dist/{events-QPODC7BK.js → events-YS3ENMS3.js} +3 -3
  88. package/dist/{feedback-NC2YHCYF.js → feedback-62AUX5Q6.js} +6 -6
  89. package/dist/{figma-RP23MXHX.js → figma-5CYPKHNK.js} +3 -3
  90. package/dist/fontLocalizeCli.js +12 -12
  91. package/dist/{get-FIWRIPCT.js → get-HC5BWFCU.js} +2 -2
  92. package/dist/{gpuPolicy-4YD2BS3P.js → gpuPolicy-VGSKTQFS.js} +6 -6
  93. package/dist/{grade-compare-HVLIDLEO.js → grade-compare-DASDOOLU.js} +25 -24
  94. package/dist/{help-EDA6FXKG.js → help-7MQDFXVN.js} +1 -1
  95. package/dist/{history-7Z763GGS.js → history-JV2YA7L3.js} +9 -9
  96. package/dist/hyperframe-runtime.js +62 -62
  97. package/dist/hyperframe.manifest.json +1 -1
  98. package/dist/hyperframe.runtime.iife.js +62 -62
  99. package/dist/hyperframes-player.global.js +3 -3
  100. package/dist/{info-OHDJXJKQ.js → info-63STYEXL.js} +7 -7
  101. package/dist/{init-BKYY2CXY.js → init-KBDCFLPO.js} +21 -21
  102. package/dist/{inspect-CX3AFG2K.js → inspect-NZ7UNTDK.js} +26 -25
  103. package/dist/{installer-5YWMYX5C.js → installer-T4SRTKAU.js} +4 -4
  104. package/dist/{keyframes-LBK4Y2T2.js → keyframes-3UIA2BOO.js} +6 -6
  105. package/dist/{lambda-HIC2Z3GQ.js → lambda-X6XMGMTI.js} +4 -4
  106. package/dist/{layout-NSIMPYKJ.js → layout-V2M6NI2A.js} +26 -25
  107. package/dist/{lint-YH6HNXVM.js → lint-26QGRXLI.js} +7 -7
  108. package/dist/{lintProject-BGDYHF3F.js → lintProject-HV3FBMTU.js} +1 -1
  109. package/dist/{list-KZXJYWKZ.js → list-RVNMXLPY.js} +2 -2
  110. package/dist/{login-CBNG6TFS.js → login-M2YCAF3T.js} +4 -4
  111. package/dist/{media-treatment-TZTGSXQW.js → media-treatment-6BYVQUWN.js} +9 -9
  112. package/dist/{models-6PJD6KNN.js → models-4UWTBP2J.js} +9 -9
  113. package/dist/{motionShot-ATCNOMLE.js → motionShot-UZV3LG77.js} +15 -14
  114. package/dist/{normalize-audio-JYRAP3I5.js → normalize-audio-UR6UPRSM.js} +4 -4
  115. package/dist/{open-2IWIMS7X.js → open-K4N4KEFK.js} +4 -4
  116. package/dist/{parakeetRunner-4RECECZC.js → parakeetRunner-TH572YPQ.js} +9 -9
  117. package/dist/{pipeline-W5ON6TOA.js → pipeline-4OUHSCE5.js} +6 -6
  118. package/dist/{play-UWEP74BP.js → play-GSGWTHJT.js} +17 -17
  119. package/dist/{present-LBW3UKGD.js → present-GWODJH4A.js} +13 -13
  120. package/dist/{preview-ZJVWEZDQ.js → preview-UUP7CTJM.js} +16 -16
  121. package/dist/{producer-STNCPEUU.js → producer-F3LUI2LX.js} +1 -1
  122. package/dist/{projectConfig-QIZWOCOO.js → projectConfig-LBESGIM6.js} +6 -6
  123. package/dist/{publication-YNDABZNC.js → publication-IGLVPFKB.js} +2 -2
  124. package/dist/{publish-4UNNKLPE.js → publish-GVDRYMZG.js} +8 -8
  125. package/dist/{remove-background-77IFDTYA.js → remove-background-3UDPJWO3.js} +7 -7
  126. package/dist/{render-NUZPUBQO.js → render-5VSZHPI5.js} +3 -3
  127. package/dist/{render-VFPSVKGX.js → render-C2MSWN5Q.js} +8 -8
  128. package/dist/{render-5LL5JCRH.js → render-QRPLO4OB.js} +27 -27
  129. package/dist/{render-batch-QU7ZWEJZ.js → render-batch-YHCKNGLG.js} +3 -3
  130. package/dist/renderSetupWorker.js +1 -1
  131. package/dist/{resolver-SPF7J6MA.js → resolver-K7Q63AW3.js} +4 -4
  132. package/dist/{screenshotCapture-3JXXUZND.js → screenshotCapture-XAYELJK7.js} +1 -1
  133. package/dist/{sherpa-XPHQUCHY.js → sherpa-OEIK4HXX.js} +8 -8
  134. package/dist/{skills-FVEEVJS7.js → skills-ISZSXESC.js} +5 -5
  135. package/dist/{skillsUpdateCheck-C64VYL4I.js → skillsUpdateCheck-2B3CBX4A.js} +3 -3
  136. package/dist/{snapshot-IMGLO7XP.js → snapshot-J3JKFCYO.js} +31 -30
  137. package/dist/{src-ZUYRJWHE.js → src-ICUQBWEX.js} +11 -11
  138. package/dist/{src-DG7XW5WW.js → src-MWQCXKWJ.js} +5 -5
  139. package/dist/{staticProjectServer-H6GKJPVR.js → staticProjectServer-2HPLMJLH.js} +13 -13
  140. package/dist/studio/assets/{hyperframes-player-BhRLDR30.js → hyperframes-player-CJibUtA8.js} +1 -1
  141. package/dist/studio/assets/{index-DQ_I6X0d.js → index-BS3d2Qdc.js} +97 -97
  142. package/dist/studio/assets/{index-CCRXiiFo.js → index-CDE2YLhz.js} +1 -1
  143. package/dist/studio/index.html +1 -1
  144. package/dist/{studio-api-72FF3CQG.js → studio-api-AHUWLJBD.js} +7 -7
  145. package/dist/{studioServer-2YBG4HV2.js → studioServer-IBAIGIJD.js} +50 -49
  146. package/dist/{telemetry-DCFWJC6H.js → telemetry-BSURLTGR.js} +3 -3
  147. package/dist/{timeline-IN6TQ6AQ.js → timeline-YTVVCN6P.js} +17 -17
  148. package/dist/{tokens-2ELEYMMJ.js → tokens-EIXAERED.js} +2 -2
  149. package/dist/{transcribe-GGNTXYJS.js → transcribe-2CYSICME.js} +7 -7
  150. package/dist/{transcribe-KELKHOAQ.js → transcribe-TE7EPNEM.js} +13 -13
  151. package/dist/{updateCheck-IK3VKZ2E.js → updateCheck-BI3OKPO4.js} +2 -2
  152. package/dist/{upgrade-JND5YLA5.js → upgrade-JU4JXYBU.js} +2 -2
  153. package/dist/{urlDownloader-XCHPVCAE.js → urlDownloader-IVYOAE6Q.js} +5 -5
  154. package/dist/{validate-4PJYWIXX.js → validate-I4PVO46Y.js} +20 -19
  155. package/dist/{video-53CDAVK2.js → video-WXQT3G5A.js} +6 -6
  156. package/package.json +1 -1
  157. package/dist/chunk-LGAKMIEX.js +0 -3795
  158. package/dist/{chunk-3QATT3QF.js → chunk-OZJ4L6SJ.js} +3 -3
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-APTXSODN.js";
9
+ } from "./chunk-Q4ZMV6RN.js";
10
10
  import {
11
11
  beginArtifactCapture
12
12
  } from "./chunk-JGYHWVXQ.js";
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-GMECXFAN.js";
28
28
  import {
29
29
  ITEM_TYPE_DIRS
30
- } from "./chunk-MMSCLNCJ.js";
30
+ } from "./chunk-Q2WGWWJ5.js";
31
31
  import {
32
32
  realProjectRoot
33
33
  } from "./chunk-OFQWTKPW.js";
@@ -10,20 +10,21 @@ import {
10
10
  seekCompositionTimeline,
11
11
  waitForCompositionFonts,
12
12
  waitForRuntimeReady
13
- } from "./chunk-L7PJO2A4.js";
13
+ } from "./chunk-JK2AETXO.js";
14
14
  import {
15
+ gotoWhenSent,
15
16
  launchManagedBrowser,
16
17
  resolveManagedGpuMode
17
- } from "./chunk-FLTPIUGU.js";
18
+ } from "./chunk-QCRKQ6BY.js";
18
19
  import {
19
20
  resolveDiagnosticNavigationTimeoutMs
20
- } from "./chunk-GDJGBAV6.js";
21
+ } from "./chunk-YQ5NJCC4.js";
21
22
  import {
22
23
  resolveProject
23
- } from "./chunk-ATF6UESJ.js";
24
+ } from "./chunk-IDVQ5AH7.js";
24
25
  import {
25
26
  serveStaticProjectHtml
26
- } from "./chunk-CABYCNUK.js";
27
+ } from "./chunk-KIWXOYBU.js";
27
28
  import {
28
29
  defineCommand
29
30
  } from "./chunk-S3S4TGEH.js";
@@ -37,7 +38,7 @@ import {
37
38
  import {
38
39
  printDeprecationNotice,
39
40
  withMeta
40
- } from "./chunk-ZIL7S3L6.js";
41
+ } from "./chunk-5HKZOQEV.js";
41
42
  import {
42
43
  normalizeErrorMessage
43
44
  } from "./chunk-KNU5COPB.js";
@@ -708,7 +709,7 @@ async function collectTweenBoundaries(page) {
708
709
  });
709
710
  }
710
711
  async function bundleProjectHtml(projectDir) {
711
- const { bundleToSingleHtml } = await import("./compiler-VQ7QYOSB.js");
712
+ const { bundleToSingleHtml } = await import("./compiler-E37DHG6R.js");
712
713
  return bundleToSingleHtml(projectDir);
713
714
  }
714
715
  async function alignViewportToComposition(page, url) {
@@ -722,21 +723,18 @@ async function alignViewportToComposition(page, url) {
722
723
  };
723
724
  });
724
725
  await page.setViewport(size);
725
- await page.goto(url, {
726
- waitUntil: "domcontentloaded",
727
- timeout: resolveDiagnosticNavigationTimeoutMs()
728
- });
726
+ await gotoWhenSent(page, url, resolveDiagnosticNavigationTimeoutMs());
729
727
  }
730
728
  async function runLayoutAudit(projectDir, opts) {
731
729
  const { ensureBrowser } = await import("./manager-HEUPD2YB.js");
732
730
  const puppeteer = await import("puppeteer-core");
733
- const { buildChromeArgs } = await import("./src-DG7XW5WW.js");
731
+ const { buildChromeArgs } = await import("./src-MWQCXKWJ.js");
734
732
  const {
735
733
  assertWebGpuAdapterAvailable,
736
734
  compositionRequiresWebGpu,
737
735
  resolveLocalBrowserGpuMode,
738
736
  resolveLocalWebGpu
739
- } = await import("./gpuPolicy-4YD2BS3P.js");
737
+ } = await import("./gpuPolicy-VGSKTQFS.js");
740
738
  const html = await bundleProjectHtml(projectDir);
741
739
  const server = await serveStaticProjectHtml(
742
740
  projectDir,
@@ -761,10 +759,7 @@ async function runLayoutAudit(projectDir, opts) {
761
759
  const page = await chromeBrowser.newPage();
762
760
  await installPageFunctionGuard(page);
763
761
  await page.setViewport({ width: 1920, height: 1080 });
764
- await page.goto(server.url, {
765
- waitUntil: "domcontentloaded",
766
- timeout: resolveDiagnosticNavigationTimeoutMs()
767
- });
762
+ await gotoWhenSent(page, server.url, resolveDiagnosticNavigationTimeoutMs());
768
763
  await assertWebGpuAdapterAvailable(page, requiresWebGpu, softwareWebGpu);
769
764
  await alignViewportToComposition(page, server.url);
770
765
  await waitForRuntimeReady(page, opts.timeout);
@@ -8,10 +8,10 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-BSXI5VWK.js";
11
+ } from "./chunk-4U5FN6FY.js";
12
12
  import {
13
13
  parseAnimatedGifMetadata
14
- } from "./chunk-MMSCLNCJ.js";
14
+ } from "./chunk-Q2WGWWJ5.js";
15
15
  import {
16
16
  parseHTML
17
17
  } from "./chunk-SDYDNHEE.js";
@@ -9,17 +9,17 @@ import {
9
9
  resolveCliChromeGpuMode,
10
10
  seekCompositionTimeline,
11
11
  waitForRuntimeReady
12
- } from "./chunk-L7PJO2A4.js";
12
+ } from "./chunk-JK2AETXO.js";
13
13
  import {
14
14
  launchManagedBrowser,
15
15
  resolveManagedGpuMode
16
- } from "./chunk-FLTPIUGU.js";
16
+ } from "./chunk-QCRKQ6BY.js";
17
17
  import {
18
18
  resolveCompositionViewportFromHtml
19
19
  } from "./chunk-FH7WODJH.js";
20
20
  import {
21
21
  resolveProject
22
- } from "./chunk-ATF6UESJ.js";
22
+ } from "./chunk-IDVQ5AH7.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-ZIL7S3L6.js";
36
+ } from "./chunk-5HKZOQEV.js";
37
37
  import {
38
38
  decodeWellFormedEscapes
39
39
  } from "./chunk-BSQ7XANM.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-STNCPEUU.js");
231
+ const { loadProducer } = await import("./producer-F3LUI2LX.js");
232
232
  const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
233
233
  dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
234
234
  const assetDir = dir;
@@ -249,10 +249,10 @@ async function localizeRemoteAssets(html) {
249
249
  }
250
250
  async function validateInBrowser(project, opts) {
251
251
  const projectDir = project.dir;
252
- const { bundleToSingleHtml } = await import("./compiler-VQ7QYOSB.js");
252
+ const { bundleToSingleHtml } = await import("./compiler-E37DHG6R.js");
253
253
  const { ensureBrowser } = await import("./manager-HEUPD2YB.js");
254
- const { serveStaticProjectHtml } = await import("./staticProjectServer-H6GKJPVR.js");
255
- const { lintProject } = await import("./lintProject-BGDYHF3F.js");
254
+ const { serveStaticProjectHtml } = await import("./staticProjectServer-2HPLMJLH.js");
255
+ const { lintProject } = await import("./lintProject-HV3FBMTU.js");
256
256
  const lintResult = await lintProject(projectDir);
257
257
  const compositionErrors = extractCompositionErrorsFromLint(lintResult);
258
258
  const html = await bundleToSingleHtml(projectDir);
@@ -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-DG7XW5WW.js");
276
+ const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-MWQCXKWJ.js");
277
277
  const requestedGpuMode = resolveCliChromeGpuMode();
278
- const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-4YD2BS3P.js");
278
+ const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-VGSKTQFS.js");
279
279
  const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
280
280
  const requiresWebGpu = compositionRequiresWebGpu(html);
281
281
  const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-V652CBKA.js";
10
+ } from "./chunk-Y5HGSWD6.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-B4VG7PGX.js";
13
+ } from "./chunk-C6XFNWHU.js";
14
14
  import {
15
15
  detectAgentRuntime
16
16
  } from "./chunk-QWQ6GQTI.js";
@@ -18,7 +18,7 @@ import {
18
18
  extractMediaMetadata,
19
19
  resolveReferencedDuration,
20
20
  resolveReferencedStart
21
- } from "./chunk-BSXI5VWK.js";
21
+ } from "./chunk-4U5FN6FY.js";
22
22
  import {
23
23
  byStart,
24
24
  compositionOriginSeconds,
@@ -27,14 +27,14 @@ import {
27
27
  hostInPointSeconds,
28
28
  parseFpsWithDefault,
29
29
  resolveMediaStartSeconds
30
- } from "./chunk-MMSCLNCJ.js";
30
+ } from "./chunk-Q2WGWWJ5.js";
31
31
  import {
32
32
  HF_AUDIO_AUTOMATION_ATTR,
33
33
  HF_AUDIO_FX_ATTR,
34
34
  parseAudioFxChain,
35
35
  parseAutomation,
36
36
  resolveAutomation
37
- } from "./chunk-LGAKMIEX.js";
37
+ } from "./chunk-DJ6L4NZU.js";
38
38
  import {
39
39
  topLevelElements,
40
40
  trackKindOf
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-K2FLNJVB.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-V652CBKA.js";
12
+ } from "./chunk-Y5HGSWD6.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-PBN6GBJE.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-BTTGDEGI.js";
15
+ } from "./chunk-EMHFQAFH.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { readFileSync, writeFileSync } from "fs";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-WC6QG6WU.js";
10
+ } from "./chunk-4PCIW2XN.js";
11
11
  import {
12
12
  findParakeet
13
13
  } from "./chunk-JZIEZCQM.js";
@@ -5,28 +5,29 @@ 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
+ gotoWhenSent,
8
9
  launchManagedBrowser,
9
10
  resolveManagedGpuMode,
10
11
  rethrowAfterBrowserCleanup
11
- } from "./chunk-FLTPIUGU.js";
12
+ } from "./chunk-QCRKQ6BY.js";
12
13
  import {
13
14
  resolveCompositionViewportFromHtml
14
15
  } from "./chunk-FH7WODJH.js";
15
16
  import {
16
17
  resolveDiagnosticNavigationTimeoutMs,
17
18
  windowsChromeCrashRemediation
18
- } from "./chunk-GDJGBAV6.js";
19
+ } from "./chunk-YQ5NJCC4.js";
19
20
  import {
20
21
  resolveLocalBrowserGpuMode,
21
22
  resolveLocalWebGpu
22
- } from "./chunk-AL7XYJTK.js";
23
+ } from "./chunk-BNH73WSR.js";
23
24
  import {
24
25
  c
25
26
  } from "./chunk-ZTZA4UWZ.js";
26
27
  import {
27
28
  assertWebGpuAdapterAvailable,
28
29
  compositionRequiresWebGpu
29
- } from "./chunk-BSXI5VWK.js";
30
+ } from "./chunk-4U5FN6FY.js";
30
31
  import {
31
32
  normalizeErrorMessage
32
33
  } from "./chunk-KNU5COPB.js";
@@ -47,7 +48,8 @@ var DENSE_GEOMETRY_SEEK_OPTIONS = {
47
48
  ...AUDIT_SEEK_OPTIONS,
48
49
  animationFrameSettle: "none",
49
50
  waitForFontsMs: 0,
50
- settleMs: 0
51
+ settleMs: 0,
52
+ waitForVideoFrames: false
51
53
  };
52
54
  function resolveCliChromeGpuMode(envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
53
55
  return resolveLocalBrowserGpuMode(void 0, envMode);
@@ -108,9 +110,9 @@ async function openSettledCompositionPage(html, url, options) {
108
110
  const { ensureBrowser, findSystemBrowser } = await import("./manager-HEUPD2YB.js");
109
111
  const browser = await ensureBrowser({ signal: options.signal });
110
112
  const puppeteer = await import("puppeteer-core");
111
- const { buildChromeArgs } = await import("./src-DG7XW5WW.js");
113
+ const { buildChromeArgs } = await import("./src-MWQCXKWJ.js");
112
114
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
113
- const answer = (await import("./staticProjectServer-H6GKJPVR.js")).inProcessAnswer(url);
115
+ const answer = (await import("./staticProjectServer-2HPLMJLH.js")).inProcessAnswer(url);
114
116
  const requiresWebGpu = compositionRequiresWebGpu(html);
115
117
  let softwareWebGpu = false;
116
118
  const launch = async (executablePath) => {
@@ -169,10 +171,11 @@ ${remediation}`,
169
171
  await page.setViewport(viewport);
170
172
  if (answer) await answerPageInProcess(page, url, answer);
171
173
  await options.beforeNavigate?.(page);
172
- await page.goto(url, {
173
- waitUntil: "domcontentloaded",
174
- timeout: resolveDiagnosticNavigationTimeoutMs(process.env, options.navigationTimeoutMs)
175
- });
174
+ await gotoWhenSent(
175
+ page,
176
+ url,
177
+ resolveDiagnosticNavigationTimeoutMs(process.env, options.navigationTimeoutMs)
178
+ );
176
179
  await assertWebGpuAdapterAvailable(page, requiresWebGpu, softwareWebGpu);
177
180
  const renderReadyTimedOut = !await waitForCompositionSettle(page, options);
178
181
  return { browser: chromeBrowser, page, renderReadyTimedOut };
@@ -227,12 +230,15 @@ async function seekCompositionTimeline(page, timeSeconds, options = {}) {
227
230
  options.fallbackToBridgeAndTimelines === true,
228
231
  options.exactTime === true
229
232
  );
230
- await page.evaluate(async () => {
231
- const waitForCompletion = Reflect.get(window, "__hfWaitForSeekCompletion");
232
- if (typeof waitForCompletion === "function") {
233
- await Reflect.apply(waitForCompletion, window, []);
234
- }
235
- });
233
+ await page.evaluate(
234
+ async (barrier) => {
235
+ const waitForCompletion = Reflect.get(window, "__hfWaitForSeekCompletion");
236
+ if (typeof waitForCompletion === "function") {
237
+ await Reflect.apply(waitForCompletion, window, [barrier]);
238
+ }
239
+ },
240
+ { videoFrames: options.waitForVideoFrames !== false }
241
+ );
236
242
  const animationFrameSettle = options.animationFrameSettle ?? "race";
237
243
  if (animationFrameSettle === "race") {
238
244
  await page.evaluate(`new Promise(function(r) {
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType,
9
9
  injectMediaCodecMapIntoHtml
10
- } from "./chunk-UKTXHF3Q.js";
10
+ } from "./chunk-AURMZPQ4.js";
11
11
  import {
12
12
  PROXY_VARIANT_CONFIG,
13
13
  ProxyCapacityError,
@@ -18,10 +18,10 @@ import {
18
18
  recordProxyRequest,
19
19
  resolveProxy,
20
20
  resolveProxyVariantRequest
21
- } from "./chunk-SZDHUSQ5.js";
21
+ } from "./chunk-P7H2MOWB.js";
22
22
  import {
23
23
  resolveAutoProxy
24
- } from "./chunk-ZUQ2K4YF.js";
24
+ } from "./chunk-J4OSFRO6.js";
25
25
  import {
26
26
  decodeWellFormedEscapes
27
27
  } from "./chunk-BSQ7XANM.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.166" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.8.166" : "0.0.0-dev";
9
+ var VERSION = true ? "0.8.167" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.8.167" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -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-ZIL7S3L6.js";
9
+ } from "./chunk-5HKZOQEV.js";
10
10
  import {
11
11
  hostAnswers
12
12
  } from "./chunk-K4WIOZFP.js";
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  RegistryCompatibilityError,
9
9
  gateRegistryItemsCompatibility
10
- } from "./chunk-25CSBTM2.js";
10
+ } from "./chunk-NA7LBT7C.js";
11
11
  import {
12
12
  DEFAULT_PROJECT_CONFIG,
13
13
  createProjectConfig,
14
14
  loadProjectConfig,
15
15
  projectConfigPath,
16
16
  recordProjectRegistryItems
17
- } from "./chunk-ZUQ2K4YF.js";
17
+ } from "./chunk-J4OSFRO6.js";
18
18
  import {
19
19
  resolveItemWithDependencies,
20
20
  resolveItemsByTag
21
- } from "./chunk-AKBFKGJM.js";
21
+ } from "./chunk-2TD4V5YU.js";
22
22
  import {
23
23
  InvalidVariableValuesError,
24
24
  prepareItem,
25
25
  publishItem
26
- } from "./chunk-CQFNLIGE.js";
26
+ } from "./chunk-PYKY63GT.js";
27
27
  import {
28
28
  DEFAULT_REGISTRY_URL
29
- } from "./chunk-BTTGDEGI.js";
29
+ } from "./chunk-EMHFQAFH.js";
30
30
  import {
31
31
  trackRegistryItemAdded
32
- } from "./chunk-V652CBKA.js";
32
+ } from "./chunk-Y5HGSWD6.js";
33
33
  import {
34
34
  defineCommand
35
35
  } from "./chunk-S3S4TGEH.js";
@@ -41,7 +41,7 @@ import {
41
41
  } from "./chunk-ZTZA4UWZ.js";
42
42
  import {
43
43
  ITEM_TYPE_DIRS
44
- } from "./chunk-MMSCLNCJ.js";
44
+ } from "./chunk-Q2WGWWJ5.js";
45
45
  import {
46
46
  isProjectRootMissing,
47
47
  realpath
@@ -32,21 +32,21 @@ import {
32
32
  import {
33
33
  getUpdateMeta,
34
34
  withMeta
35
- } from "./chunk-ZIL7S3L6.js";
35
+ } from "./chunk-5HKZOQEV.js";
36
36
  import {
37
37
  CONFIG_PATH,
38
38
  withFileLock
39
39
  } from "./chunk-XUXGIA7H.js";
40
40
  import {
41
41
  VERSION
42
- } from "./chunk-HTDDV7CM.js";
42
+ } from "./chunk-LF6E6N2U.js";
43
43
  import {
44
44
  OPTIONAL_PACKAGES,
45
45
  installedOptionalPackageVersion
46
46
  } from "./chunk-3DKN5WKL.js";
47
47
  import {
48
48
  resolveExtractCacheDir
49
- } from "./chunk-BSXI5VWK.js";
49
+ } from "./chunk-4U5FN6FY.js";
50
50
  import {
51
51
  normalizeErrorMessage
52
52
  } from "./chunk-KNU5COPB.js";
@@ -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-HTDDV7CM.js";
9
+ } from "./chunk-LF6E6N2U.js";
10
10
 
11
11
  // src/registry/compatibility.ts
12
12
  import { compareVersions } from "compare-versions";
@@ -4,6 +4,12 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ parseEncoderOptions
9
+ } from "./chunk-KLIKCX6Q.js";
10
+ import {
11
+ createStudioPositionSeekReapplyScript
12
+ } from "./chunk-EOOEC32M.js";
7
13
  import {
8
14
  GENERIC_FAMILIES,
9
15
  collectFontFamilyCustomProperties,
@@ -11,18 +17,12 @@ import {
11
17
  iterateFontFamilyDeclarations,
12
18
  normalizeSystemFontPrimaryFamilies,
13
19
  resolveFontFamilyDeclarationFamilies
14
- } from "./chunk-3QATT3QF.js";
20
+ } from "./chunk-OZJ4L6SJ.js";
15
21
  import {
16
22
  EncoderInterruptedError,
17
23
  encoderFailureError,
18
24
  prepareAnimatedGifInputs
19
- } from "./chunk-TIZRYBKL.js";
20
- import {
21
- parseEncoderOptions
22
- } from "./chunk-KLIKCX6Q.js";
23
- import {
24
- createStudioPositionSeekReapplyScript
25
- } from "./chunk-EOOEC32M.js";
25
+ } from "./chunk-FETB6SFI.js";
26
26
  import {
27
27
  BROWSER_GPU_NOT_SOFTWARE,
28
28
  CaptureFailure,
@@ -151,7 +151,7 @@ import {
151
151
  validateEngineConfigSnapshot,
152
152
  verifyDiskDrawElementSamples,
153
153
  writeCapturedFrame
154
- } from "./chunk-BSXI5VWK.js";
154
+ } from "./chunk-4U5FN6FY.js";
155
155
  import {
156
156
  assignBundledRuntimeCompositionIds,
157
157
  buildVariablesByCompScript,
@@ -164,7 +164,7 @@ import {
164
164
  isTemplateEntry,
165
165
  parsesAsScript,
166
166
  prepareFlattenedInnerRoot
167
- } from "./chunk-KPPC3C4I.js";
167
+ } from "./chunk-AATVO56S.js";
168
168
  import {
169
169
  LOW_MEMORY_TOTAL_MB_THRESHOLD,
170
170
  getCgroupMemoryLimitMb,
@@ -188,7 +188,7 @@ import {
188
188
  resolveAbsoluteMediaStartSeconds,
189
189
  resolveAuthoredTimingWindow,
190
190
  toFps
191
- } from "./chunk-MMSCLNCJ.js";
191
+ } from "./chunk-Q2WGWWJ5.js";
192
192
  import {
193
193
  COMPOSITION_SOURCE_URL,
194
194
  HF_COLOR_GRADING_ATTR,
@@ -216,7 +216,7 @@ import {
216
216
  shouldClampResolvedMediaDuration,
217
217
  sourceTimeAt,
218
218
  styleElementsFor
219
- } from "./chunk-LGAKMIEX.js";
219
+ } from "./chunk-DJ6L4NZU.js";
220
220
  import {
221
221
  MAX_AUDIO_GAIN
222
222
  } from "./chunk-UJKQWGFF.js";
@@ -240,7 +240,7 @@ import {
240
240
  } from "./chunk-TWWSYAKJ.js";
241
241
  import {
242
242
  lintHyperframeHtml
243
- } from "./chunk-2742O5DO.js";
243
+ } from "./chunk-W3B37KCA.js";
244
244
  import {
245
245
  isUnresolvedAssetPlaceholder,
246
246
  readProjectFile,
@@ -6572,7 +6572,7 @@ async function readLocalFont(absPath) {
6572
6572
  return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
6573
6573
  }
6574
6574
  async function embedLocalFontFaces(html, projectDir) {
6575
- const { fontToDataUri: toDataUri } = await import("./deterministicFonts-LNNVHVS2.js");
6575
+ const { fontToDataUri: toDataUri } = await import("./deterministicFonts-35AC2PM5.js");
6576
6576
  const styleBlockRe = /<style\b[^>]*>([\s\S]*?)<\/style>/gi;
6577
6577
  const fontFaceRe = /@font-face\s*\{([^}]*)\}/gi;
6578
6578
  let result = html;
@@ -14423,7 +14423,7 @@ function startServer(options = {}) {
14423
14423
  });
14424
14424
  async function shutdown(signal) {
14425
14425
  log.info(`Received ${signal}, shutting down`);
14426
- const { drainBrowserPool } = await import("./src-DG7XW5WW.js");
14426
+ const { drainBrowserPool } = await import("./src-MWQCXKWJ.js");
14427
14427
  await drainBrowserPool().catch(() => {
14428
14428
  });
14429
14429
  const handle = await Promise.race([
@@ -15610,7 +15610,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
15610
15610
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
15611
15611
  if (probeResult.probeSession) {
15612
15612
  try {
15613
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-DG7XW5WW.js");
15613
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-MWQCXKWJ.js");
15614
15614
  await closeCaptureSession2(probeResult.probeSession);
15615
15615
  } catch (err) {
15616
15616
  log.warn("[plan] probe session close failed", {
@@ -9,7 +9,7 @@ import {
9
9
  formatPreviewProxyBox,
10
10
  hdrToSdrToneMapFilter,
11
11
  parseFirstFrameColour
12
- } from "./chunk-MMSCLNCJ.js";
12
+ } from "./chunk-Q2WGWWJ5.js";
13
13
  import {
14
14
  decodeAuthoredAttribute,
15
15
  scanHtmlOpeningTags
@@ -8,14 +8,14 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-BTTGDEGI.js";
11
+ } from "./chunk-EMHFQAFH.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-MMSCLNCJ.js";
18
+ } from "./chunk-Q2WGWWJ5.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-OFQWTKPW.js";
@@ -20,7 +20,7 @@ import {
20
20
  SDR_RGB_TO_BT709_FILTER,
21
21
  SDR_RGB_TO_TAGGED_BT709_FILTER,
22
22
  renderProvenanceArgs
23
- } from "./chunk-BSXI5VWK.js";
23
+ } from "./chunk-4U5FN6FY.js";
24
24
 
25
25
  // src/background-removal/pipeline.ts
26
26
  import { spawn } from "child_process";
@@ -270,7 +270,7 @@ function inferInputKind(inputPath) {
270
270
  }
271
271
  async function probeMedia(inputPath) {
272
272
  const isImage = inferInputKind(inputPath) === "image";
273
- const engine = await import("./src-DG7XW5WW.js");
273
+ const engine = await import("./src-MWQCXKWJ.js");
274
274
  const meta = await engine.extractMediaMetadata(inputPath);
275
275
  if (isImage) {
276
276
  return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
@@ -9,7 +9,7 @@ import {
9
9
  parseStrictFiniteTimingNumber,
10
10
  resolveNaturalMediaTimelineDuration,
11
11
  resolveTimedImageDurationSeconds
12
- } from "./chunk-LGAKMIEX.js";
12
+ } from "./chunk-DJ6L4NZU.js";
13
13
  import {
14
14
  CANVAS_DIMENSIONS,
15
15
  isCompositionElement,
@@ -6,11 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-ATF6UESJ.js";
10
- import {
11
- findPreviewServerForProject,
12
- studioApiUrl
13
- } from "./chunk-DQBY7FRR.js";
9
+ } from "./chunk-IDVQ5AH7.js";
14
10
  import {
15
11
  DEFAULT_HISTORY_ROOT,
16
12
  HistoryBusyError,
@@ -18,6 +14,10 @@ import {
18
14
  openProjectHistory,
19
15
  readProjectHistory
20
16
  } from "./chunk-JGYHWVXQ.js";
17
+ import {
18
+ findPreviewServerForProject,
19
+ studioApiUrl
20
+ } from "./chunk-DQBY7FRR.js";
21
21
 
22
22
  // src/utils/historyOwner.ts
23
23
  import { randomUUID } from "crypto";