hyperframes 0.8.189 → 0.8.190-hdr.1

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 (165) hide show
  1. package/dist/{add-TIKUM2YX.js → add-42OFT2PY.js} +11 -11
  2. package/dist/{animatedGifPrep-25X4G5IE.js → animatedGifPrep-ADGDO7XY.js} +5 -5
  3. package/dist/api.js +13 -13
  4. package/dist/{asset-TPKLIP4R.js → asset-O67VPO3R.js} +2 -2
  5. package/dist/{assetCataloger-PQAIV3FI.js → assetCataloger-6XITUU4Q.js} +5 -5
  6. package/dist/{audio-6RLPKB5X.js → audio-XKJ3ZIDS.js} +11 -11
  7. package/dist/{auth-O7QSTP6Y.js → auth-OQPI6LUT.js} +1 -1
  8. package/dist/{autoUpdate-TIEJODP7.js → autoUpdate-A2N5A6DZ.js} +2 -2
  9. package/dist/{backgroundChecks-K2AXYDYG.js → backgroundChecks-WMA3TUHP.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-ORVWYJAH.js → batchRender-QZKFVWEI.js} +3 -3
  12. package/dist/{beats-2VTB2ATR.js → beats-36HTUETR.js} +4 -4
  13. package/dist/{benchmark-NLNBL6YR.js → benchmark-PPJOA4I5.js} +8 -8
  14. package/dist/{browser-M5UV6VJB.js → browser-ZVRJHCG5.js} +3 -3
  15. package/dist/{bundleWithLocalizedFonts-EDD2XDS2.js → bundleWithLocalizedFonts-R64YXJL5.js} +2 -2
  16. package/dist/{capture-JSYVNFKO.js → capture-U7E5PPGU.js} +8 -8
  17. package/dist/{capture-WHWEE5FE.js → capture-YFK4OMCA.js} +2 -2
  18. package/dist/{captureCompositionFrame-JANGQCIA.js → captureCompositionFrame-DSKY6NL7.js} +10 -10
  19. package/dist/{catalog-MPOOKNSZ.js → catalog-AYZ2KQMV.js} +11 -11
  20. package/dist/{catch-up-6KZV3UMZ.js → catch-up-EXF4BC4Z.js} +4 -4
  21. package/dist/{check-G273NWK7.js → check-4CTWFC7P.js} +32 -32
  22. package/dist/{checkBrowser-G53E2ZQI.js → checkBrowser-JCZJGHYX.js} +27 -27
  23. package/dist/{chunk-E7TI5PAQ.js → chunk-2ICQSIZZ.js} +1 -1
  24. package/dist/{chunk-74Y43RJZ.js → chunk-3B35XAD2.js} +3 -3
  25. package/dist/{chunk-QYQ2EYOI.js → chunk-3Q5WJY5E.js} +3 -3
  26. package/dist/{chunk-HXM2ISEK.js → chunk-4BINHKAB.js} +245 -208
  27. package/dist/{chunk-R5FS7GFU.js → chunk-4TFBD773.js} +1 -1
  28. package/dist/{chunk-WYCFMNU3.js → chunk-56IOFIYB.js} +1 -1
  29. package/dist/{chunk-NSJ5HD6A.js → chunk-5XD6QAMF.js} +5 -5
  30. package/dist/{chunk-WMJJCHVQ.js → chunk-6HYHHMX3.js} +2 -2
  31. package/dist/{chunk-NDBWI7OA.js → chunk-6OJBN6P4.js} +5 -5
  32. package/dist/{chunk-6RA4TWGV.js → chunk-6TBDO6H6.js} +1 -1
  33. package/dist/{chunk-M6FHSQZ3.js → chunk-7DJCW4YE.js} +3 -3
  34. package/dist/{chunk-3OLOVRWS.js → chunk-7KTMMDHC.js} +1 -1
  35. package/dist/{chunk-5544QB3U.js → chunk-A4WDFBHY.js} +1 -1
  36. package/dist/{chunk-TFUAKV6O.js → chunk-AGUVIOZR.js} +1 -1
  37. package/dist/{chunk-CTF7BYCV.js → chunk-AMGFHO6X.js} +2 -2
  38. package/dist/{chunk-B634ZCY2.js → chunk-ATQTK7CJ.js} +1 -1
  39. package/dist/{chunk-5HJJEHGE.js → chunk-AYFF3GX6.js} +1 -1
  40. package/dist/{chunk-4QFKGRTB.js → chunk-B7JFAXDP.js} +2 -2
  41. package/dist/{chunk-BZQLTNMB.js → chunk-BT64TTSE.js} +1 -1
  42. package/dist/{chunk-3X6LH25W.js → chunk-BWPY64WA.js} +1 -1
  43. package/dist/{chunk-JZDVIDFH.js → chunk-CWRAVNDW.js} +2 -2
  44. package/dist/chunk-DIV37NUE.js +3896 -0
  45. package/dist/{chunk-ANYBRVPF.js → chunk-E65UJDKR.js} +1 -1
  46. package/dist/{chunk-565X6Q4X.js → chunk-E6BMTU6F.js} +16 -8
  47. package/dist/{chunk-AQ3L7DVB.js → chunk-EPOYPP36.js} +2 -2
  48. package/dist/{chunk-TREMHDWT.js → chunk-EQXUGT5K.js} +9 -9
  49. package/dist/{chunk-ASZ4IQB4.js → chunk-EYBS6GH2.js} +2 -2
  50. package/dist/{chunk-B52BJM5K.js → chunk-EZFGQAYH.js} +2 -2
  51. package/dist/{chunk-37EPEFXM.js → chunk-GWE3UEGX.js} +1 -1
  52. package/dist/{chunk-CSYSEPWL.js → chunk-HJZ5CPZA.js} +5 -5
  53. package/dist/{chunk-44TJOEH5.js → chunk-ID4S5OVW.js} +16 -16
  54. package/dist/{chunk-HQIFMCQN.js → chunk-ILIPOK4L.js} +43 -27
  55. package/dist/{chunk-F45HHA3M.js → chunk-JVG4G46L.js} +1 -1
  56. package/dist/{chunk-AYBKDHYD.js → chunk-KVZ4ZANT.js} +1 -1
  57. package/dist/{chunk-ZPMF6GAQ.js → chunk-L34DPWY4.js} +11 -7
  58. package/dist/{chunk-OHXHBMF4.js → chunk-LJKMM3XW.js} +1 -1
  59. package/dist/{chunk-KLWUB37U.js → chunk-O6NHRPQV.js} +7 -7
  60. package/dist/{chunk-TPTQHOXU.js → chunk-OAZGGUCB.js} +9 -9
  61. package/dist/{chunk-GBT7P3OQ.js → chunk-PFMLW2WE.js} +4 -4
  62. package/dist/{chunk-FJF5JBYU.js → chunk-PWEK5IYU.js} +1 -1
  63. package/dist/{chunk-2CYM34M7.js → chunk-RDHEG7RX.js} +2 -2
  64. package/dist/{chunk-VRQU564T.js → chunk-SUSSMCWL.js} +1 -1
  65. package/dist/{chunk-4DZ3HBKF.js → chunk-T6MUUXE3.js} +1 -1
  66. package/dist/{chunk-SMF6YAUL.js → chunk-TSQAPPRS.js} +1 -1
  67. package/dist/{chunk-IFXOMIBP.js → chunk-U4DWSOH5.js} +3 -3
  68. package/dist/{chunk-E676Y7AY.js → chunk-UASUPXBJ.js} +27 -13
  69. package/dist/{chunk-GWYMAII7.js → chunk-UQMPHIOA.js} +1 -1
  70. package/dist/{chunk-T37XXYRK.js → chunk-UWSJL63I.js} +1 -1
  71. package/dist/{chunk-Z2BW2WJS.js → chunk-UZ7RJDEC.js} +1 -1
  72. package/dist/{chunk-QMFI4N7J.js → chunk-WBUO6WH6.js} +1 -1
  73. package/dist/{chunk-KS4HMJJD.js → chunk-XBZEQTBH.js} +1 -1
  74. package/dist/{chunk-HUG47UEE.js → chunk-XNLYMHX2.js} +1 -1
  75. package/dist/{chunk-JIPUWKLA.js → chunk-XRYN74FP.js} +11 -11
  76. package/dist/{chunk-XJVXROOL.js → chunk-XSDZ3H5H.js} +2 -2
  77. package/dist/{chunk-HNMDLKA4.js → chunk-YDGW5KWX.js} +1 -1
  78. package/dist/{chunk-SGFMCNLY.js → chunk-ZFFKWHXN.js} +1 -1
  79. package/dist/{chunk-IPEP346Y.js → chunk-ZKWXDQAE.js} +1 -1
  80. package/dist/{clean-PS4VYGQ6.js → clean-2JS7FOL5.js} +13 -13
  81. package/dist/cli.js +53 -53
  82. package/dist/{cloud-E47CE5VQ.js → cloud-HCB6VY6B.js} +4 -4
  83. package/dist/{cloudrun-3J4SQBXE.js → cloudrun-CTNX64R6.js} +4 -4
  84. package/dist/{compare-EAKHXBDO.js → compare-ISRKIX34.js} +24 -24
  85. package/dist/{compiler-23MT6CX6.js → compiler-EJE3HLCS.js} +2 -2
  86. package/dist/{component-QBOXYJJS.js → component-ZBPQXTNP.js} +3 -3
  87. package/dist/{compositions-QC3EO3MJ.js → compositions-WOZU3EYH.js} +9 -9
  88. package/dist/{delete-TXEOLPC6.js → delete-NX3DWOKP.js} +2 -2
  89. package/dist/{deploy-3B3WJ6PM.js → deploy-RW7L3BHN.js} +1 -1
  90. package/dist/{dist-F4UJFK4S.js → dist-NHW2JQCA.js} +2 -2
  91. package/dist/{doctor-2CRFH4B3.js → doctor-KFHSQJWL.js} +9 -9
  92. package/dist/{events-KVTX3QFV.js → events-RY3Z2CFX.js} +2 -2
  93. package/dist/{events-GUIOSBIB.js → events-YT6WKFUT.js} +3 -3
  94. package/dist/{feedback-VQIOSTIB.js → feedback-GRNEVOPP.js} +6 -6
  95. package/dist/{ffmpeg-BPCZGXFW.js → ffmpeg-BTEY5DB5.js} +5 -5
  96. package/dist/{figma-QIOKCH26.js → figma-WN7BLU45.js} +3 -3
  97. package/dist/fontLocalizeCli.js +7 -7
  98. package/dist/{get-TU45SNXF.js → get-DVXYGS3H.js} +2 -2
  99. package/dist/{gpuPolicy-AWAJBGYY.js → gpuPolicy-MWZSLJFR.js} +5 -5
  100. package/dist/{grade-compare-LDNUXX3Q.js → grade-compare-LQXE5JYS.js} +25 -25
  101. package/dist/{help-YUCHJKKL.js → help-22RCD5VH.js} +1 -1
  102. package/dist/{history-MMHFUMIG.js → history-IF553ERO.js} +6 -6
  103. package/dist/hyperframe.manifest.json +1 -1
  104. package/dist/hyperframe.runtime.iife.js +62 -62
  105. package/dist/hyperframes-player.global.js +3 -3
  106. package/dist/{info-HBHOFSC2.js → info-VQGFR3XN.js} +7 -7
  107. package/dist/{init-3E4GUXIZ.js → init-UPM6HJKO.js} +25 -25
  108. package/dist/{inspect-YNUPJVIH.js → inspect-S2XEY7E2.js} +25 -25
  109. package/dist/{installer-WLCRP33K.js → installer-PQKH2S7C.js} +4 -4
  110. package/dist/{keyframes-Z47GHCGO.js → keyframes-54Q3I2A5.js} +6 -6
  111. package/dist/{lambda-CA4PEUO2.js → lambda-6IGRFK3D.js} +6 -6
  112. package/dist/{layout-YPV6PIKF.js → layout-ZIE7P36K.js} +25 -25
  113. package/dist/{lint-3AVVQ74A.js → lint-ONB3UNVL.js} +6 -6
  114. package/dist/{list-JH52Y735.js → list-P5VNTBT4.js} +2 -2
  115. package/dist/{login-G7NPJUAW.js → login-7ROFE2PP.js} +4 -4
  116. package/dist/{manager-2LSMMZY4.js → manager-4IBU76NA.js} +6 -6
  117. package/dist/{media-treatment-BVMMD5EN.js → media-treatment-GUZYPOL5.js} +11 -11
  118. package/dist/{models-P3TNRVRV.js → models-POH5ZYWG.js} +9 -9
  119. package/dist/{motionShot-LK62QHNE.js → motionShot-TXQ7EFJW.js} +13 -13
  120. package/dist/{normalize-audio-Y7BAQ7AR.js → normalize-audio-SFFU7VUW.js} +4 -4
  121. package/dist/{open-CCFFLAT7.js → open-2MY4ESCL.js} +11 -11
  122. package/dist/{parakeetRunner-N2BWSOSD.js → parakeetRunner-7UPEE7SO.js} +10 -10
  123. package/dist/{pipeline-3VT2DQGU.js → pipeline-VZMOR53B.js} +6 -6
  124. package/dist/{play-G4I5IFHO.js → play-IOELJ2NM.js} +16 -16
  125. package/dist/{preflight-2KU2QLCZ.js → preflight-MGUBNYUV.js} +6 -6
  126. package/dist/{present-EJ7XHGQO.js → present-7LOVKMN7.js} +12 -12
  127. package/dist/{preview-O23BYFAY.js → preview-XN7YD5ZP.js} +16 -16
  128. package/dist/{producer-UJQVLKLP.js → producer-BLRL4SQP.js} +1 -1
  129. package/dist/{projectConfig-QFVIBT37.js → projectConfig-LN3NR5OM.js} +6 -6
  130. package/dist/{publication-4UYGFB2X.js → publication-TXMCS4KM.js} +2 -2
  131. package/dist/{publish-MHLVJLCR.js → publish-57VURD7Z.js} +7 -7
  132. package/dist/{remove-background-N7AHTZWP.js → remove-background-OOF3QB2R.js} +7 -7
  133. package/dist/{render-EI2ODKOP.js → render-E27W7W3K.js} +26 -26
  134. package/dist/{render-CDATEVDJ.js → render-IDI4KMVH.js} +12 -12
  135. package/dist/{render-6HQV4LZJ.js → render-SP7WAUB4.js} +5 -5
  136. package/dist/{render-batch-F7HMC7XH.js → render-batch-7ULP5RIJ.js} +5 -5
  137. package/dist/{resolver-63DB5JCY.js → resolver-D3XERO6U.js} +4 -4
  138. package/dist/{sherpa-AK3MTPL3.js → sherpa-B7HLM6FV.js} +9 -9
  139. package/dist/skills/hyperframes/references/motion.md +1 -1
  140. package/dist/{skills-EVIDL7PV.js → skills-JASL5NGP.js} +5 -5
  141. package/dist/{skillsUpdateCheck-YCNJYDJO.js → skillsUpdateCheck-OTF363HZ.js} +3 -3
  142. package/dist/{snapshot-WSYZKR3C.js → snapshot-MWBENTZA.js} +29 -29
  143. package/dist/{src-YNXBU4ZQ.js → src-65S55XOQ.js} +4 -4
  144. package/dist/{src-KTD6WTEV.js → src-OGTPL3Q6.js} +6 -6
  145. package/dist/{staticProjectServer-D2D3BKBP.js → staticProjectServer-JMFGTPMX.js} +13 -13
  146. package/dist/studio/assets/{hyperframes-player-CkK8Zijf.js → hyperframes-player-BV6dTpsG.js} +1 -1
  147. package/dist/studio/assets/{index-CESvLzz0.css → index-B3vk3hfU.css} +1 -1
  148. package/dist/studio/assets/{index-ATnRoBug.js → index-CPVUyhno.js} +1 -1
  149. package/dist/studio/assets/{index-B2JcCaRF.js → index-Ct_WfjBH.js} +127 -127
  150. package/dist/studio/index.html +2 -2
  151. package/dist/{studio-api-3ZGQPE5J.js → studio-api-SZ4OMFPN.js} +6 -6
  152. package/dist/{studioServer-VWM4J7ZP.js → studioServer-6JDUXBF7.js} +42 -42
  153. package/dist/{telemetry-BEVI64BB.js → telemetry-R7QKFTNL.js} +3 -3
  154. package/dist/{timeline-P57FUXJQ.js → timeline-GTUWGREV.js} +14 -14
  155. package/dist/{tokens-OUQY6LPD.js → tokens-2JZSWS5F.js} +2 -2
  156. package/dist/{transcribe-QUPX67KC.js → transcribe-M7OSQ5OU.js} +14 -14
  157. package/dist/{transcribe-CK66VIU4.js → transcribe-PSZC4HH6.js} +8 -8
  158. package/dist/{updateCheck-XZ43CH3L.js → updateCheck-Y4MKTYXE.js} +2 -2
  159. package/dist/{upgrade-7QQNGI7I.js → upgrade-WHEHL2KG.js} +2 -2
  160. package/dist/{urlDownloader-ESAEL6YX.js → urlDownloader-VN2X7CIY.js} +4 -4
  161. package/dist/{validate-5GZ6KFRU.js → validate-TC66RN5I.js} +19 -19
  162. package/dist/{video-AQNVR6PE.js → video-SNGPARSX.js} +5 -5
  163. package/dist/warmCheck.js +32 -32
  164. package/package.json +1 -1
  165. package/dist/chunk-BPX7LZG6.js +0 -3896
@@ -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-ASZ4IQB4.js";
9
+ } from "./chunk-EYBS6GH2.js";
10
10
 
11
11
  // src/registry/compatibility.ts
12
12
  import { compareVersions } from "compare-versions";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  readCompositionFps
9
- } from "./chunk-HUG47UEE.js";
9
+ } from "./chunk-XNLYMHX2.js";
10
10
  import {
11
11
  errorBox
12
12
  } from "./chunk-K2FLNJVB.js";
@@ -16,10 +16,10 @@ import {
16
16
  import {
17
17
  DEFAULT_CONFIG,
18
18
  resolvePageNavigationTimeout
19
- } from "./chunk-HXM2ISEK.js";
19
+ } from "./chunk-4BINHKAB.js";
20
20
  import {
21
21
  parseFps
22
- } from "./chunk-WYCFMNU3.js";
22
+ } from "./chunk-56IOFIYB.js";
23
23
 
24
24
  // src/browser/windowsCrash.ts
25
25
  var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
@@ -43,8 +43,8 @@ function windowsChromeCrashRemediation(errorMessage) {
43
43
  }
44
44
 
45
45
  // src/utils/renderArgs.ts
46
- import { readFileSync } from "fs";
47
- import { resolve, sep } from "path";
46
+ import { readFileSync, realpathSync } from "fs";
47
+ import { isAbsolute, relative, resolve, sep } from "path";
48
48
  var MIN_PAGE_NAVIGATION_TIMEOUT_MS = 1;
49
49
  var MAX_PAGE_NAVIGATION_TIMEOUT_SECONDS = 86400;
50
50
  function parseBrowserTimeoutMsArg(raw) {
@@ -113,12 +113,13 @@ function normalizeCompositionEntryArg(raw) {
113
113
  function hasExplicitCompositionArg(raw) {
114
114
  return normalizeCompositionEntryArg(raw) !== void 0;
115
115
  }
116
- function parseCompositionEntryArg(raw, projectDir, stat) {
116
+ function parseCompositionEntryArg(raw, projectDir, stat, real = realpathOrSame) {
117
117
  const trimmed = normalizeCompositionEntryArg(raw);
118
118
  if (!trimmed) return { ok: true, value: void 0 };
119
119
  const absProjectDir = resolve(projectDir);
120
120
  const entryPath = resolve(absProjectDir, trimmed);
121
- if (entryPath !== absProjectDir && !entryPath.startsWith(absProjectDir + sep)) {
121
+ const relativeEntry = [absProjectDir, real(absProjectDir)].flatMap((root) => [entryPath, real(entryPath)].map((path) => relative(root, path))).find((rel) => rel !== ".." && !rel.startsWith(`..${sep}`) && !isAbsolute(rel));
122
+ if (relativeEntry === void 0) {
122
123
  return { ok: false, error: { kind: "outside-project", entryFile: trimmed } };
123
124
  }
124
125
  let entryStat;
@@ -130,7 +131,14 @@ function parseCompositionEntryArg(raw, projectDir, stat) {
130
131
  if (!entryStat.isFile()) {
131
132
  return { ok: false, error: { kind: "not-a-file", entryFile: trimmed } };
132
133
  }
133
- return { ok: true, value: trimmed };
134
+ return { ok: true, value: relativeEntry.split(sep).join("/") };
135
+ }
136
+ function realpathOrSame(path) {
137
+ try {
138
+ return realpathSync(path);
139
+ } catch {
140
+ return path;
141
+ }
134
142
  }
135
143
  function compositionEntryErrorMessage(error) {
136
144
  switch (error.kind) {
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType
9
- } from "./chunk-ZPMF6GAQ.js";
9
+ } from "./chunk-L34DPWY4.js";
10
10
  import {
11
11
  injectTagsAtHeadStart
12
- } from "./chunk-BPX7LZG6.js";
12
+ } from "./chunk-DIV37NUE.js";
13
13
 
14
14
  // src/utils/compositionServer.ts
15
15
  import { createHash } from "crypto";
@@ -8,31 +8,31 @@ import {
8
8
  launchManagedBrowser,
9
9
  resolveManagedGpuMode,
10
10
  rethrowAfterBrowserCleanup
11
- } from "./chunk-HNMDLKA4.js";
11
+ } from "./chunk-YDGW5KWX.js";
12
12
  import {
13
13
  gotoWhenSent
14
14
  } from "./chunk-MOEGCMKI.js";
15
15
  import {
16
16
  pageNavigationTimeoutMs,
17
17
  windowsChromeCrashRemediation
18
- } from "./chunk-565X6Q4X.js";
18
+ } from "./chunk-E6BMTU6F.js";
19
19
  import {
20
20
  oneProcessOverPipe
21
21
  } from "./chunk-DKPNNYBZ.js";
22
22
  import {
23
23
  resolveCompositionViewportFromHtml
24
- } from "./chunk-SGFMCNLY.js";
24
+ } from "./chunk-ZFFKWHXN.js";
25
25
  import {
26
26
  resolveLocalBrowserGpuMode,
27
27
  resolveLocalWebGpu
28
- } from "./chunk-B52BJM5K.js";
28
+ } from "./chunk-EZFGQAYH.js";
29
29
  import {
30
30
  c
31
31
  } from "./chunk-ZTZA4UWZ.js";
32
32
  import {
33
33
  assertWebGpuAdapterAvailable,
34
34
  compositionRequiresWebGpu
35
- } from "./chunk-HXM2ISEK.js";
35
+ } from "./chunk-4BINHKAB.js";
36
36
  import {
37
37
  normalizeErrorMessage
38
38
  } from "./chunk-KNU5COPB.js";
@@ -138,7 +138,7 @@ async function waitForCompositionSettle(page, options) {
138
138
  console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
139
139
  });
140
140
  await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
141
- const { resolveConfig, waitForImagesReady } = await import("./src-YNXBU4ZQ.js");
141
+ const { resolveConfig, waitForImagesReady } = await import("./src-65S55XOQ.js");
142
142
  const imageTimeoutMs = resolveConfig().playerReadyTimeout;
143
143
  await waitForImagesReady(
144
144
  page,
@@ -187,7 +187,7 @@ async function installPageFunctionGuard(page) {
187
187
  async function openSettledCompositionPage(html, url, options) {
188
188
  const viewport = resolveCompositionViewportFromHtml(html);
189
189
  const requiresWebGpu = compositionRequiresWebGpu(html);
190
- const answer = (await import("./staticProjectServer-D2D3BKBP.js")).inProcessAnswer(url);
190
+ const answer = (await import("./staticProjectServer-JMFGTPMX.js")).inProcessAnswer(url);
191
191
  const noListen = answer !== void 0;
192
192
  let chromeBrowser;
193
193
  try {
@@ -198,7 +198,7 @@ async function openSettledCompositionPage(html, url, options) {
198
198
  options.onBrowserReady?.();
199
199
  const page = await chromeBrowser.newPage();
200
200
  await installPageFunctionGuard(page);
201
- const { installMediaRenderIdBridge } = await import("./src-YNXBU4ZQ.js");
201
+ const { installMediaRenderIdBridge } = await import("./src-65S55XOQ.js");
202
202
  await installMediaRenderIdBridge(page);
203
203
  await page.setViewport(viewport);
204
204
  if (answer) await answerPageInProcess(page, url, answer);
@@ -217,7 +217,7 @@ async function launchCompositionBrowser(html, noListen, options) {
217
217
  const { ensureBrowser, findSystemBrowser } = await import("./manager-UHWEKPXC.js");
218
218
  const browser = await ensureBrowser({ signal: options.signal });
219
219
  const puppeteer = await import("puppeteer-core");
220
- const { buildChromeArgs } = await import("./src-YNXBU4ZQ.js");
220
+ const { buildChromeArgs } = await import("./src-65S55XOQ.js");
221
221
  const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
222
222
  const requiresWebGpu = compositionRequiresWebGpu(html);
223
223
  let softwareWebGpu = false;
@@ -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.189" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.8.189" : "0.0.0-dev";
9
+ var VERSION = true ? "0.8.190-hdr.1" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.8.190-hdr.1" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveConfig,
9
9
  usesSoftwareWebGpu
10
- } from "./chunk-HXM2ISEK.js";
10
+ } from "./chunk-4BINHKAB.js";
11
11
 
12
12
  // src/browser/gpuPolicy.ts
13
13
  function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
17
17
  return "auto";
18
18
  }
19
19
  async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
20
- const { resolveBrowserGpuMode } = await import("./src-YNXBU4ZQ.js");
20
+ const { resolveBrowserGpuMode } = await import("./src-65S55XOQ.js");
21
21
  return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
22
22
  }
23
23
  function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-K2FLNJVB.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-IPEP346Y.js";
12
+ } from "./chunk-ZKWXDQAE.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-JVBRJMOP.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType,
9
9
  injectMediaCodecMapIntoHtml
10
- } from "./chunk-ZPMF6GAQ.js";
10
+ } from "./chunk-L34DPWY4.js";
11
11
  import {
12
12
  PROXY_VARIANT_CONFIG,
13
13
  ProxyCapacityError,
@@ -18,17 +18,17 @@ import {
18
18
  recordProxyRequest,
19
19
  resolveProxy,
20
20
  resolveProxyVariantRequest
21
- } from "./chunk-BZQLTNMB.js";
21
+ } from "./chunk-BT64TTSE.js";
22
22
  import {
23
23
  findStageProxyBox
24
- } from "./chunk-SGFMCNLY.js";
24
+ } from "./chunk-ZFFKWHXN.js";
25
25
  import {
26
26
  resolveAutoProxy
27
- } from "./chunk-Z2BW2WJS.js";
27
+ } from "./chunk-UZ7RJDEC.js";
28
28
  import {
29
29
  PREVIEW_PROXY_BOX_PARAM,
30
30
  parsePreviewProxyBox
31
- } from "./chunk-WYCFMNU3.js";
31
+ } from "./chunk-56IOFIYB.js";
32
32
  import {
33
33
  decodeWellFormedEscapes
34
34
  } from "./chunk-BSQ7XANM.js";
@@ -11,20 +11,20 @@ import {
11
11
  } from "./chunk-57GN6KWT.js";
12
12
  import {
13
13
  captureArtifactRevision
14
- } from "./chunk-AYBKDHYD.js";
14
+ } from "./chunk-KVZ4ZANT.js";
15
15
  import {
16
16
  loadProducer
17
- } from "./chunk-KS4HMJJD.js";
17
+ } from "./chunk-XBZEQTBH.js";
18
18
  import {
19
19
  trackLintRun
20
- } from "./chunk-CTF7BYCV.js";
20
+ } from "./chunk-AMGFHO6X.js";
21
21
  import {
22
22
  beginCheckSnapshots,
23
23
  checkSnapshotDirectory,
24
24
  finishCheckSnapshots,
25
25
  preResolveHostileMediaProxies,
26
26
  rectToBbox
27
- } from "./chunk-E676Y7AY.js";
27
+ } from "./chunk-UASUPXBJ.js";
28
28
  import {
29
29
  CONTENT_OVERLAP_HELD_ERROR_MS,
30
30
  DEFAULT_MAX_STATIC_SEC,
@@ -47,27 +47,27 @@ import {
47
47
  mergeSampleTimes,
48
48
  parseAt,
49
49
  readMotionSpec
50
- } from "./chunk-TPTQHOXU.js";
50
+ } from "./chunk-OAZGGUCB.js";
51
51
  import {
52
52
  resolveProject
53
- } from "./chunk-37EPEFXM.js";
53
+ } from "./chunk-GWE3UEGX.js";
54
54
  import {
55
55
  recordArtifacts
56
56
  } from "./chunk-TMBUBLZB.js";
57
57
  import {
58
58
  BrowserCleanupError,
59
59
  closeManagedBrowser
60
- } from "./chunk-HNMDLKA4.js";
60
+ } from "./chunk-YDGW5KWX.js";
61
61
  import {
62
62
  withRemainingBudget
63
63
  } from "./chunk-EHSBBBR2.js";
64
64
  import {
65
65
  resolveLocalBrowserGpuMode
66
- } from "./chunk-B52BJM5K.js";
66
+ } from "./chunk-EZFGQAYH.js";
67
67
  import {
68
68
  trackCheckReport,
69
69
  trackCommandFailure
70
- } from "./chunk-IPEP346Y.js";
70
+ } from "./chunk-ZKWXDQAE.js";
71
71
  import {
72
72
  swallowedFlagUsageError
73
73
  } from "./chunk-HTIUNMTP.js";
@@ -87,7 +87,7 @@ import {
87
87
  import {
88
88
  extractMediaMetadata,
89
89
  findHdrAutoPromotion
90
- } from "./chunk-HXM2ISEK.js";
90
+ } from "./chunk-4BINHKAB.js";
91
91
  import {
92
92
  lintProject,
93
93
  shouldBlockRender
@@ -97,7 +97,7 @@ import {
97
97
  } from "./chunk-6BNTGNGD.js";
98
98
  import {
99
99
  withMeta
100
- } from "./chunk-OHXHBMF4.js";
100
+ } from "./chunk-LJKMM3XW.js";
101
101
  import {
102
102
  normalizeErrorMessage
103
103
  } from "./chunk-KNU5COPB.js";
@@ -613,7 +613,7 @@ function round(value) {
613
613
 
614
614
  // src/utils/hdrPromotion.ts
615
615
  async function bundleProjectHtml(projectDir) {
616
- const { bundleToSingleHtml } = await import("./compiler-23MT6CX6.js");
616
+ const { bundleToSingleHtml } = await import("./compiler-EJE3HLCS.js");
617
617
  return bundleToSingleHtml(projectDir);
618
618
  }
619
619
  async function collectBundledRenderMedia(html) {
@@ -2155,7 +2155,7 @@ function resolveMotionSpec(projectDir) {
2155
2155
  };
2156
2156
  }
2157
2157
  async function runBrowserCheck(project, options, motion, deadline, prelaunched) {
2158
- const module = await import("./checkBrowser-G53E2ZQI.js");
2158
+ const module = await import("./checkBrowser-JCZJGHYX.js");
2159
2159
  return module.runBrowserCheck(project, options, motion, runAuditGrid, deadline, prelaunched);
2160
2160
  }
2161
2161
  var adoptedBrowser;
@@ -2169,7 +2169,7 @@ async function prelaunchBrowser(project, options) {
2169
2169
  if (adopted) return adopted;
2170
2170
  const html = await readFile(project.indexPath, "utf8").catch(() => void 0);
2171
2171
  if (html === void 0) return void 0;
2172
- const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-JANGQCIA.js");
2172
+ const { prelaunchCompositionBrowser } = await import("./captureCompositionFrame-DSKY6NL7.js");
2173
2173
  return prelaunchCompositionBrowser(html, options.browserGpuMode);
2174
2174
  }
2175
2175
  async function writeSnapshot(projectDir, index, time, pngBase64) {
@@ -2181,7 +2181,7 @@ async function writeSnapshot(projectDir, index, time, pngBase64) {
2181
2181
  return relative(projectDir, path);
2182
2182
  }
2183
2183
  async function captureFindingCrops(project, options, requests, deadline) {
2184
- const module = await import("./checkBrowser-G53E2ZQI.js");
2184
+ const module = await import("./checkBrowser-JCZJGHYX.js");
2185
2185
  return module.captureFindingCrops(project, options, requests, deadline);
2186
2186
  }
2187
2187
  var DEFAULT_DEPENDENCIES2 = {
@@ -2220,7 +2220,7 @@ var DEFAULT_COMMAND_DEPENDENCIES = {
2220
2220
  }
2221
2221
  },
2222
2222
  async prepareMedia(project, options) {
2223
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-EDD2XDS2.js");
2223
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-R64YXJL5.js");
2224
2224
  const html = await bundleWithLocalizedFonts(project.dir);
2225
2225
  return (await preResolveHostileMediaProxies(project.dir, html, options.autoProxy)).files;
2226
2226
  },
@@ -8,7 +8,7 @@ import {
8
8
  EncoderInterruptedError,
9
9
  encoderFailureError,
10
10
  prepareAnimatedGifInputs
11
- } from "./chunk-XJVXROOL.js";
11
+ } from "./chunk-XSDZ3H5H.js";
12
12
  import {
13
13
  GENERIC_FAMILIES,
14
14
  collectFontFamilyCustomProperties,
@@ -156,7 +156,7 @@ import {
156
156
  validateEngineConfigSnapshot,
157
157
  verifyDiskDrawElementSamples,
158
158
  writeCapturedFrame
159
- } from "./chunk-HXM2ISEK.js";
159
+ } from "./chunk-4BINHKAB.js";
160
160
  import {
161
161
  DISTRIBUTED_FPS,
162
162
  HF_VFX_ATTR,
@@ -171,7 +171,7 @@ import {
171
171
  parseVfxChain,
172
172
  resolveAuthoredTimingWindow,
173
173
  toFps
174
- } from "./chunk-WYCFMNU3.js";
174
+ } from "./chunk-56IOFIYB.js";
175
175
  import {
176
176
  assignBundledRuntimeCompositionIds,
177
177
  buildVariablesByCompScript,
@@ -184,7 +184,7 @@ import {
184
184
  isTemplateEntry,
185
185
  parsesAsScript,
186
186
  prepareFlattenedInnerRoot
187
- } from "./chunk-SMF6YAUL.js";
187
+ } from "./chunk-TSQAPPRS.js";
188
188
  import {
189
189
  COMPOSITION_SOURCE_URL,
190
190
  HF_COLOR_GRADING_ATTR,
@@ -212,7 +212,7 @@ import {
212
212
  shouldClampResolvedMediaDuration,
213
213
  sourceTimeAt,
214
214
  styleElementsFor
215
- } from "./chunk-BPX7LZG6.js";
215
+ } from "./chunk-DIV37NUE.js";
216
216
  import {
217
217
  MAX_AUDIO_GAIN
218
218
  } from "./chunk-X7HBSTCZ.js";
@@ -1413,6 +1413,14 @@ function materializeExtractedFramesForCompiledDir(extracted, compiledDir, option
1413
1413
  }
1414
1414
  }
1415
1415
 
1416
+ // ../producer/src/services/render/frameCacheBudget.ts
1417
+ function frameCacheOptions(cfg, workers) {
1418
+ return {
1419
+ frameDataUriCacheLimit: cfg.frameDataUriCacheLimit,
1420
+ frameDataUriCacheBytesLimitMb: Math.floor(cfg.frameDataUriCacheBytesLimitMb / (workers || 1))
1421
+ };
1422
+ }
1423
+
1416
1424
  // ../producer/src/services/render/cleanup.ts
1417
1425
  import { freemem } from "os";
1418
1426
 
@@ -12103,10 +12111,7 @@ async function executeRenderPipeline(input) {
12103
12111
  });
12104
12112
  }
12105
12113
  });
12106
- const createRenderVideoFrameInjector = () => createVideoFrameInjector(frameLookup, {
12107
- frameDataUriCacheLimit: cfg.frameDataUriCacheLimit,
12108
- frameDataUriCacheBytesLimitMb: cfg.frameDataUriCacheBytesLimitMb
12109
- });
12114
+ const createRenderVideoFrameInjector = () => createVideoFrameInjector(frameLookup, frameCacheOptions(cfg, workerCount));
12110
12115
  let captureCalibration;
12111
12116
  const htmlInCanvasDetected = compiled.renderModeHints.reasons.some(
12112
12117
  (r) => r.code === "htmlInCanvas"
@@ -13715,12 +13720,13 @@ var RenderChunkValidationError = class extends Error {
13715
13720
  this.code = code;
13716
13721
  }
13717
13722
  };
13718
- function createChunkVideoFrameInjectorFactory(frameLookup) {
13719
- if (!(frameLookup instanceof Promise)) return () => createVideoFrameInjector(frameLookup);
13723
+ function createChunkVideoFrameInjectorFactory(frameLookup, options) {
13724
+ if (!(frameLookup instanceof Promise))
13725
+ return () => createVideoFrameInjector(frameLookup, options);
13720
13726
  return () => {
13721
13727
  let hook;
13722
13728
  return async (page, time, heldVideoTime) => {
13723
- hook ??= createVideoFrameInjector(await frameLookup);
13729
+ hook ??= createVideoFrameInjector(await frameLookup, options);
13724
13730
  await hook?.(page, time, heldVideoTime);
13725
13731
  };
13726
13732
  };
@@ -15500,7 +15506,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
15500
15506
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
15501
15507
  if (probeResult.probeSession) {
15502
15508
  try {
15503
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-YNXBU4ZQ.js");
15509
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-65S55XOQ.js");
15504
15510
  await closeCaptureSession2(probeResult.probeSession);
15505
15511
  } catch (err) {
15506
15512
  log.warn("[plan] probe session close failed", {
@@ -17149,7 +17155,7 @@ function startServer(options = {}) {
17149
17155
  });
17150
17156
  async function shutdown(signal) {
17151
17157
  log.info(`Received ${signal}, shutting down`);
17152
- const { drainBrowserPool } = await import("./src-YNXBU4ZQ.js");
17158
+ const { drainBrowserPool } = await import("./src-65S55XOQ.js");
17153
17159
  await drainBrowserPool().catch(() => {
17154
17160
  });
17155
17161
  const handle = await Promise.race([
@@ -18207,7 +18213,7 @@ function cfrEncodeArgs(inputArgs, encoder, fpsArg) {
18207
18213
  "-r",
18208
18214
  fpsArg
18209
18215
  ];
18210
- appendSoftwareEncoderThreadsArg(args);
18216
+ appendSoftwareEncoderThreadsArg(args, "libx264");
18211
18217
  return args;
18212
18218
  }
18213
18219
  async function reencodeCfr(ctx, chunkPaths, encoder) {
@@ -18446,6 +18452,23 @@ async function createVerifiedDistributedCaptureSession(serverUrl, framesDir, cap
18446
18452
  function isCaptureMode(value) {
18447
18453
  return value === "beginframe" || value === "screenshot" || value === "drawelement";
18448
18454
  }
18455
+ var MixedCaptureModesError = class extends Error {
18456
+ constructor(modes) {
18457
+ super(`[renderChunk] capture workers reported inconsistent modes: ${modes.join(",")}`);
18458
+ this.modes = modes;
18459
+ this.name = "MixedCaptureModesError";
18460
+ }
18461
+ modes;
18462
+ };
18463
+ function observedChunkCaptureMode(perfs) {
18464
+ const modes = [...new Set(perfs.map((perf) => perf.captureMode))];
18465
+ if (modes.length > 1) throw new MixedCaptureModesError(modes);
18466
+ const [mode] = modes;
18467
+ if (!mode || !isCaptureMode(mode)) {
18468
+ throw new Error(`[renderChunk] capture workers reported an invalid mode: ${mode ?? "<none>"}`);
18469
+ }
18470
+ return mode;
18471
+ }
18449
18472
  function shouldRetryChunkCaptureWithScreenshot(error) {
18450
18473
  const failure = classifyCaptureFailure(error);
18451
18474
  if (failure.kind === "cancelled" || failure.kind === "memory_exhaustion") return false;
@@ -18743,7 +18766,10 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
18743
18766
  ) : null;
18744
18767
  videoFrameLookup?.catch(() => {
18745
18768
  });
18746
- const createChunkVideoFrameInjector = createChunkVideoFrameInjectorFactory(videoFrameLookup);
18769
+ const createChunkVideoFrameInjector = createChunkVideoFrameInjectorFactory(
18770
+ videoFrameLookup,
18771
+ frameCacheOptions(cfg, chunkWorkerCount)
18772
+ );
18747
18773
  const captureStarted = Date.now();
18748
18774
  captureMode = await runCaptureWithScreenshotFallback({
18749
18775
  forceScreenshot: forceScreenshotForChunk,
@@ -18797,17 +18823,7 @@ async function renderChunk(planDir, chunkIndex, outputChunkPath, options) {
18797
18823
  },
18798
18824
  frameRange: range
18799
18825
  });
18800
- const observedModes = new Set(capturePerfs.map((perf) => perf.captureMode));
18801
- if (observedModes.size !== 1 || ![...observedModes].every(isCaptureMode)) {
18802
- throw new Error(
18803
- `[renderChunk] capture workers reported invalid or inconsistent modes: ${[...observedModes].join(",") || "<none>"}`
18804
- );
18805
- }
18806
- const [observedMode] = observedModes;
18807
- if (!observedMode || !isCaptureMode(observedMode)) {
18808
- throw new Error("[renderChunk] capture completed without an observed mode");
18809
- }
18810
- return observedMode;
18826
+ return observedChunkCaptureMode(capturePerfs);
18811
18827
  },
18812
18828
  resetForScreenshotRetry: () => {
18813
18829
  rmSync16(workDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
@@ -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-T37XXYRK.js";
9
+ } from "./chunk-UWSJL63I.js";
10
10
 
11
11
  // src/telemetry/renderObservability.ts
12
12
  function renderObservabilityTelemetryPayload(observability) {
@@ -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-4DZ3HBKF.js";
9
+ } from "./chunk-T6MUUXE3.js";
10
10
  import {
11
11
  HistoryBusyError,
12
12
  beginArtifactCapture
@@ -19,7 +19,7 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-2CYM34M7.js";
22
+ } from "./chunk-RDHEG7RX.js";
23
23
  import {
24
24
  MEDIA_LINK_ATTR,
25
25
  relinkSplitHalves
@@ -68,7 +68,7 @@ import {
68
68
  scanProjectMediaCodecMap,
69
69
  shouldPrewarmProxy,
70
70
  waitForProxy
71
- } from "./chunk-BZQLTNMB.js";
71
+ } from "./chunk-BT64TTSE.js";
72
72
  import {
73
73
  STUDIO_MOTION_PATH,
74
74
  createStudioMotionRenderBodyScript,
@@ -109,12 +109,12 @@ import {
109
109
  motionPathPluginUrl,
110
110
  parseFps,
111
111
  parsePreviewProxyBox
112
- } from "./chunk-WYCFMNU3.js";
112
+ } from "./chunk-56IOFIYB.js";
113
113
  import {
114
114
  addScenePartsManifest,
115
115
  ensureHfIds,
116
116
  stampHfIdsInPlace
117
- } from "./chunk-SMF6YAUL.js";
117
+ } from "./chunk-TSQAPPRS.js";
118
118
  import {
119
119
  AFTER_FONTS_SCRIPT_TYPE,
120
120
  RUNTIME_BOOTSTRAP_ATTR,
@@ -128,7 +128,7 @@ import {
128
128
  resolveRateSpec,
129
129
  sourceTimeAt,
130
130
  stripEmbeddedRuntimeScripts
131
- } from "./chunk-BPX7LZG6.js";
131
+ } from "./chunk-DIV37NUE.js";
132
132
  import {
133
133
  HTML_ATTRIBUTE_ENTITIES,
134
134
  MagicString,
@@ -3640,6 +3640,7 @@ import { createHash as createHash22 } from "crypto";
3640
3640
 
3641
3641
  // ../core/dist/studioPreviewMark.js
3642
3642
  var STUDIO_PREVIEW_MARK_META = "hyperframes-studio-preview";
3643
+ var STUDIO_PREVIEW_CAPTURE_MODE = "capture";
3643
3644
  var STUDIO_PREVIEW_LAZY_ATTR = "data-hf-preview-lazy";
3644
3645
  var STUDIO_PREVIEW_ERRORS = "__hfPreviewErrors";
3645
3646
 
@@ -5499,7 +5500,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
5499
5500
  let block = extractGsapScriptBlock(html);
5500
5501
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
5501
5502
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
5502
- const { GSAP_CDN } = await import("./dist-F4UJFK4S.js");
5503
+ const { GSAP_CDN } = await import("./dist-NHW2JQCA.js");
5503
5504
  const bootstrap = [
5504
5505
  `<script src="${GSAP_CDN}"></script>`,
5505
5506
  "<script>",
@@ -7548,7 +7549,10 @@ var PREVIEW_CAPTURE_PARAM = "hf-capture";
7548
7549
  var EARLY_ERRORS_SCRIPT = `<script>(function(){var seen=window.${STUDIO_PREVIEW_ERRORS}=[];
7549
7550
  addEventListener("error",function(e){seen.push(e.message||String(e))});})();</script>`;
7550
7551
  function injectStudioPreviewAugmentations(html, adapter, projectDir, activeCompositionPath, capture) {
7551
- const marked = capture ? html : injectTagsAtHeadStart(
7552
+ const marked = capture ? injectTagsAtHeadStart(
7553
+ html,
7554
+ `<meta name="${STUDIO_PREVIEW_MARK_META}" content="${STUDIO_PREVIEW_CAPTURE_MODE}">`
7555
+ ) : injectTagsAtHeadStart(
7552
7556
  lazyPreviewImages(html),
7553
7557
  `<meta name="${STUDIO_PREVIEW_MARK_META}">${EARLY_ERRORS_SCRIPT}`
7554
7558
  );
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ISN5GRYI.js";
18
18
  import {
19
19
  VERSION
20
- } from "./chunk-ASZ4IQB4.js";
20
+ } from "./chunk-EYBS6GH2.js";
21
21
 
22
22
  // src/utils/updateCheck.ts
23
23
  import { existsSync, readFileSync } from "fs";
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  RegistryCompatibilityError,
9
9
  gateRegistryItemsCompatibility
10
- } from "./chunk-ANYBRVPF.js";
10
+ } from "./chunk-E65UJDKR.js";
11
11
  import {
12
12
  DEFAULT_PROJECT_CONFIG,
13
13
  createProjectConfig,
14
14
  loadProjectConfig,
15
15
  projectConfigPath,
16
16
  recordProjectRegistryItems
17
- } from "./chunk-Z2BW2WJS.js";
17
+ } from "./chunk-UZ7RJDEC.js";
18
18
  import {
19
19
  resolveItemWithDependencies,
20
20
  resolveItemsByTag
21
- } from "./chunk-VRQU564T.js";
21
+ } from "./chunk-SUSSMCWL.js";
22
22
  import {
23
23
  InvalidVariableValuesError,
24
24
  prepareItem,
25
25
  publishItem
26
- } from "./chunk-WMJJCHVQ.js";
26
+ } from "./chunk-6HYHHMX3.js";
27
27
  import {
28
28
  DEFAULT_REGISTRY_URL
29
- } from "./chunk-5HJJEHGE.js";
29
+ } from "./chunk-AYFF3GX6.js";
30
30
  import {
31
31
  trackRegistryItemAdded
32
- } from "./chunk-IPEP346Y.js";
32
+ } from "./chunk-ZKWXDQAE.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-WYCFMNU3.js";
44
+ } from "./chunk-56IOFIYB.js";
45
45
  import {
46
46
  isProjectRootMissing,
47
47
  realpath