hyperframes 0.8.170 → 0.8.172

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 (159) hide show
  1. package/dist/{add-KDCZCEMQ.js → add-TJNZWO7P.js} +12 -11
  2. package/dist/{animatedGifPrep-MVP5LCEM.js → animatedGifPrep-K4WFG6KK.js} +7 -7
  3. package/dist/api.js +13 -13
  4. package/dist/{asset-6VH3OCEC.js → asset-QN5J2P7H.js} +2 -2
  5. package/dist/{assetCataloger-RN5A2SVA.js → assetCataloger-RLFDI5YD.js} +7 -7
  6. package/dist/{audio-636CQSXK.js → audio-QJ4C3NMN.js} +16 -15
  7. package/dist/{auth-AHLKM4M2.js → auth-K7EHUGWE.js} +1 -1
  8. package/dist/{autoUpdate-5UA6TJW7.js → autoUpdate-76QXHQRT.js} +2 -2
  9. package/dist/{backgroundChecks-DP242536.js → backgroundChecks-NMYRM5LV.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-KWBVAUE3.js → batchRender-RENYERF5.js} +3 -3
  12. package/dist/{beats-HKY5L463.js → beats-ZOR2HBAR.js} +4 -4
  13. package/dist/{benchmark-4YQDVIO5.js → benchmark-CY2VFIKL.js} +8 -8
  14. package/dist/{browser-7ZPWXEYW.js → browser-NPCKLUT7.js} +3 -3
  15. package/dist/{bundleWithLocalizedFonts-42V34HJF.js → bundleWithLocalizedFonts-FKH55KKW.js} +2 -2
  16. package/dist/{capture-572X5NDD.js → capture-IC2QJMMQ.js} +11 -11
  17. package/dist/{capture-VXMUZSBI.js → capture-TMSBTUYU.js} +2 -2
  18. package/dist/{catalog-PUUTHPP7.js → catalog-N7OCMRPT.js} +12 -11
  19. package/dist/{catch-up-K6CV44WQ.js → catch-up-2MGK5I2D.js} +4 -4
  20. package/dist/{check-MBDLSWCY.js → check-NU4GL2WC.js} +37 -36
  21. package/dist/{checkBrowser-33UWWDZG.js → checkBrowser-HRXAL4QD.js} +34 -33
  22. package/dist/{chunk-T5LGOTQR.js → chunk-257IUNPQ.js} +1 -1
  23. package/dist/{chunk-WZQSL7UX.js → chunk-2VR7HIPZ.js} +2 -2
  24. package/dist/{chunk-WLNNWLIE.js → chunk-4N2YVSXH.js} +7 -7
  25. package/dist/{chunk-CFBGKAKQ.js → chunk-4UR2EQSR.js} +10 -10
  26. package/dist/{chunk-PP64Q43K.js → chunk-5B57KZJX.js} +1 -1
  27. package/dist/{chunk-IWFLMU2N.js → chunk-6BNTGNGD.js} +56 -16
  28. package/dist/{chunk-UDDJQEGS.js → chunk-6K2N6WPO.js} +22 -8
  29. package/dist/{chunk-JAERN4RH.js → chunk-7DVH2IQQ.js} +1 -1
  30. package/dist/{chunk-MSFON5DJ.js → chunk-AG2O2USE.js} +3 -3
  31. package/dist/{chunk-PH3RS5X4.js → chunk-BQYQV6JP.js} +2 -2
  32. package/dist/{chunk-WICIV6R3.js → chunk-BRHI7EIA.js} +3 -5
  33. package/dist/{chunk-PXA4S6OE.js → chunk-C2F37AXS.js} +2 -2
  34. package/dist/{chunk-AWSVUIWG.js → chunk-CDXC2UQ7.js} +1 -1
  35. package/dist/{chunk-ZINH7YA2.js → chunk-CUDHVUIF.js} +1 -1
  36. package/dist/{chunk-QO3JEPEW.js → chunk-DOV2QOFY.js} +2 -2
  37. package/dist/{chunk-EJYBYR4C.js → chunk-DQRZWV3B.js} +1 -1
  38. package/dist/{chunk-KUW4LWY6.js → chunk-EKKROA7V.js} +1 -1
  39. package/dist/{chunk-KUFEPCR3.js → chunk-FQP7TLRF.js} +2 -2
  40. package/dist/{chunk-AGHHZIZN.js → chunk-FXHGO3NH.js} +2 -2
  41. package/dist/{chunk-G6GKIAEM.js → chunk-FYR6GKFN.js} +3 -3
  42. package/dist/{chunk-PLWORQFC.js → chunk-G47TXPYN.js} +1 -1
  43. package/dist/{chunk-JGYHWVXQ.js → chunk-GMJ3ILLW.js} +34 -13
  44. package/dist/{chunk-LWB3KZ5E.js → chunk-HN5WVJZB.js} +1 -1
  45. package/dist/{chunk-2UD6O6QG.js → chunk-HZWXDKYB.js} +73 -23
  46. package/dist/chunk-JHOCK3DG.js +27 -0
  47. package/dist/{chunk-FSP2JNAP.js → chunk-K6SBDWUV.js} +1 -1
  48. package/dist/{chunk-NSJLCWLG.js → chunk-KOMXCNZX.js} +1 -1
  49. package/dist/{chunk-UUP4KOMD.js → chunk-KRMOJUVL.js} +9 -5
  50. package/dist/{chunk-AUMJ3QSO.js → chunk-KRTCHLBA.js} +2 -2
  51. package/dist/{chunk-FAORS3UR.js → chunk-M235XUHL.js} +2 -2
  52. package/dist/{chunk-GU5FLCZV.js → chunk-MEEETF7G.js} +1 -1
  53. package/dist/{chunk-PCX3YF2U.js → chunk-MFWQEG2W.js} +1 -1
  54. package/dist/{chunk-PECICVTJ.js → chunk-NLEDKGZT.js} +2 -2
  55. package/dist/{chunk-44GV6ZMC.js → chunk-NYXHZOPD.js} +22 -12
  56. package/dist/{chunk-VKFYI7AQ.js → chunk-NZ5HOUJH.js} +3 -3
  57. package/dist/{chunk-QZUVPWC4.js → chunk-PDFMNU6D.js} +1 -1
  58. package/dist/chunk-Q2E3DQII.js +3803 -0
  59. package/dist/{chunk-GG3V5BHG.js → chunk-QQI7R2QL.js} +1 -1
  60. package/dist/{chunk-4RXJG3SY.js → chunk-QVVANKN2.js} +9 -9
  61. package/dist/{chunk-GBWSBTEE.js → chunk-R2P2SANE.js} +2 -2
  62. package/dist/{chunk-YFGJVADL.js → chunk-R73GAMUQ.js} +9 -9
  63. package/dist/{chunk-T56MM7RC.js → chunk-S6JCFZVB.js} +2 -2
  64. package/dist/{chunk-4B6PUT4R.js → chunk-TV2N4UIJ.js} +1 -1
  65. package/dist/{chunk-BAW7UNLK.js → chunk-UFAKRR5G.js} +9 -9
  66. package/dist/{chunk-EHDKCMKX.js → chunk-UIDRXHUY.js} +1 -1
  67. package/dist/{chunk-2E7NDKTN.js → chunk-UNALPZL6.js} +4 -3
  68. package/dist/{chunk-NYCJCQNY.js → chunk-V5IZAL3H.js} +4 -4
  69. package/dist/{chunk-X3U6KEID.js → chunk-VQSSP7XG.js} +1 -1
  70. package/dist/{chunk-QABAVWEX.js → chunk-W47D3KOB.js} +1 -1
  71. package/dist/{chunk-OGVQJHNM.js → chunk-XEJUMBIC.js} +3 -3
  72. package/dist/{chunk-UQPH3Y45.js → chunk-YAA3AOBA.js} +2 -2
  73. package/dist/{chunk-MXMIVNUE.js → chunk-YHECAUDC.js} +39 -9
  74. package/dist/{chunk-LMMFO5UV.js → chunk-Z5ENX63S.js} +2 -2
  75. package/dist/{chunk-ERJHLFPD.js → chunk-Z6L3W5KZ.js} +2 -2
  76. package/dist/{chunk-V2T7FFPB.js → chunk-ZY43P2M7.js} +1 -1
  77. package/dist/{clean-5AXXHD45.js → clean-JDODBRVL.js} +14 -14
  78. package/dist/cli.js +53 -53
  79. package/dist/{cloud-DQCCYKOB.js → cloud-YHJZ72XP.js} +4 -4
  80. package/dist/{cloudrun-CDFL5JBL.js → cloudrun-E5EOHYTG.js} +4 -4
  81. package/dist/{compare-6RB5X3SO.js → compare-VQQXHSE3.js} +28 -27
  82. package/dist/{compiler-GU5GPO5A.js → compiler-I4GWSEK3.js} +4 -4
  83. package/dist/{component-7RRNNC5F.js → component-WOSMKPL7.js} +3 -3
  84. package/dist/{compositions-CANET3EJ.js → compositions-WLJE5752.js} +11 -11
  85. package/dist/{delete-KEZJPDWJ.js → delete-PILRKH5C.js} +2 -2
  86. package/dist/{dist-OTCFZEKF.js → dist-7TYQROOE.js} +2 -2
  87. package/dist/{dist-IDZRZHGE.js → dist-SDXOTECD.js} +2 -2
  88. package/dist/{doctor-5RAEGA6G.js → doctor-FNICQNSA.js} +9 -9
  89. package/dist/{events-4ZJSJ76H.js → events-5WNYSVPY.js} +2 -2
  90. package/dist/{events-SHOWEHI5.js → events-YXPWFV5S.js} +3 -3
  91. package/dist/{feedback-4IIGUUYZ.js → feedback-KLA5RSSN.js} +6 -6
  92. package/dist/{figma-BFDECPE5.js → figma-PQIZI67M.js} +3 -3
  93. package/dist/fontLocalizeCli.js +9 -9
  94. package/dist/{get-BO32YZUQ.js → get-OBOWSUA7.js} +2 -2
  95. package/dist/{gpuPolicy-QWJYZLVJ.js → gpuPolicy-HWH4OW6H.js} +7 -7
  96. package/dist/{grade-compare-SW4SAG5R.js → grade-compare-5IOHWZX6.js} +28 -27
  97. package/dist/{help-7AMSMPUF.js → help-K4IK2N36.js} +1 -1
  98. package/dist/{history-VXAQFJJV.js → history-AC5ZUFOX.js} +7 -7
  99. package/dist/hyperframe-runtime.js +56 -56
  100. package/dist/hyperframe.manifest.json +1 -1
  101. package/dist/hyperframe.runtime.iife.js +56 -56
  102. package/dist/hyperframes-player.global.js +3 -3
  103. package/dist/{info-KN4TX6T5.js → info-BD6555FQ.js} +7 -7
  104. package/dist/{init-7A2T7LDW.js → init-KTNJH3QB.js} +23 -22
  105. package/dist/{inspect-CCCV6JFV.js → inspect-PF2DWLRP.js} +29 -28
  106. package/dist/{installer-ZCCZUOPN.js → installer-72NGZ5BM.js} +4 -4
  107. package/dist/{keyframes-K6XNZGK3.js → keyframes-P3GRO3LL.js} +7 -7
  108. package/dist/{lambda-B2K237DX.js → lambda-XRNX7HLH.js} +5 -5
  109. package/dist/{layout-HAPR5OV4.js → layout-KN7SX3WH.js} +29 -28
  110. package/dist/{lint-3COFAXAJ.js → lint-TXBEZUA5.js} +8 -8
  111. package/dist/{lintProject-PXB5Y6TX.js → lintProject-65YGC4UB.js} +2 -2
  112. package/dist/{list-QCNHO7DR.js → list-4YL3BA2G.js} +2 -2
  113. package/dist/{login-BAFYZS6W.js → login-JUI7PHHJ.js} +4 -4
  114. package/dist/{media-treatment-C53ZBW2B.js → media-treatment-6DDWZLLE.js} +17 -20
  115. package/dist/{models-INX67ETR.js → models-CLSFYHTD.js} +10 -10
  116. package/dist/{motionShot-UOS26VLB.js → motionShot-WMJSRE67.js} +15 -15
  117. package/dist/{normalize-audio-I7HGJGA5.js → normalize-audio-YZTHI75G.js} +4 -4
  118. package/dist/{open-RFXGV4RY.js → open-VSJ3TPAB.js} +4 -4
  119. package/dist/{parakeetRunner-PCCBODBS.js → parakeetRunner-YCZT3DG2.js} +10 -10
  120. package/dist/{pipeline-GDC7SL5N.js → pipeline-RV64A4MZ.js} +7 -7
  121. package/dist/{play-DRCWK35L.js → play-CF6TJIQL.js} +20 -19
  122. package/dist/{present-HUJV553D.js → present-5XKI26BN.js} +15 -15
  123. package/dist/{preview-CZENYIGN.js → preview-RORZIRSN.js} +22 -18
  124. package/dist/{producer-23NJEJRO.js → producer-K2H3YFX5.js} +1 -1
  125. package/dist/{projectConfig-R3FCIARW.js → projectConfig-Q2ECBQUG.js} +7 -6
  126. package/dist/{publication-GY3OJ6VH.js → publication-2V3WX4HW.js} +2 -2
  127. package/dist/{publish-XBW4NVFY.js → publish-7COI3FRD.js} +10 -9
  128. package/dist/{remove-background-Q7CQ3PJF.js → remove-background-QSOESZXW.js} +8 -8
  129. package/dist/{render-DOHHCT2G.js → render-3ZLZDN64.js} +8 -8
  130. package/dist/{render-WWAXTKYR.js → render-ACRKADG6.js} +27 -26
  131. package/dist/{render-24JWWXMA.js → render-KHDJ2P4J.js} +3 -3
  132. package/dist/{render-batch-EK4ZBQHH.js → render-batch-OG3JHMDF.js} +7 -20
  133. package/dist/renderSetupWorker.js +2 -2
  134. package/dist/{resolver-5Y6VNMTC.js → resolver-ALLVWDQE.js} +5 -4
  135. package/dist/{sherpa-VMADZBF7.js → sherpa-QY3NGRLC.js} +9 -9
  136. package/dist/{skills-ONFYYL6R.js → skills-YIZYEARC.js} +5 -5
  137. package/dist/{skillsUpdateCheck-JTHZOHRT.js → skillsUpdateCheck-EXZOQQRS.js} +3 -3
  138. package/dist/{snapshot-SUA62VQ2.js → snapshot-3XMGHMRD.js} +31 -30
  139. package/dist/{src-J6KABXGZ.js → src-CGIRN4KP.js} +8 -8
  140. package/dist/{src-VFTQPSQD.js → src-RY4V2ZZT.js} +6 -6
  141. package/dist/{staticProjectServer-XQPUABYX.js → staticProjectServer-4E3ODA5P.js} +16 -15
  142. package/dist/studio/assets/{hyperframes-player-Dsmhm7Q8.js → hyperframes-player-BDj9J28W.js} +2 -2
  143. package/dist/studio/assets/{index-DT1wigvW.js → index--HWjGqrU.js} +1 -1
  144. package/dist/studio/assets/{index-CV00F8qG.js → index-CVxB8lqm.js} +101 -101
  145. package/dist/studio/index.html +1 -1
  146. package/dist/{studio-api-MBDDFEA2.js → studio-api-LTHBT45F.js} +9 -9
  147. package/dist/{studioServer-7HWDCLKT.js → studioServer-NDRRYB5V.js} +47 -41
  148. package/dist/{telemetry-763NW3QF.js → telemetry-QBHPMHPC.js} +3 -3
  149. package/dist/{timeline-ZLFPNI27.js → timeline-J22LXNAI.js} +17 -17
  150. package/dist/{tokens-RXJLVZKD.js → tokens-EAPT2GUT.js} +2 -2
  151. package/dist/{transcribe-UDISJXCZ.js → transcribe-6LCZK44H.js} +14 -14
  152. package/dist/{transcribe-IM5UNBSH.js → transcribe-L5GHBNR6.js} +8 -8
  153. package/dist/{updateCheck-V2RXHFQL.js → updateCheck-B3U7O3QS.js} +2 -2
  154. package/dist/{upgrade-MJI3EW3W.js → upgrade-UMJEDSYD.js} +2 -2
  155. package/dist/{urlDownloader-BOLOMGC7.js → urlDownloader-SRL6J4NU.js} +6 -6
  156. package/dist/{validate-IM5NPJHI.js → validate-I3KHH5Z4.js} +22 -22
  157. package/dist/{video-HUNOZDLT.js → video-HWLZYFUC.js} +7 -7
  158. package/package.json +1 -1
  159. package/dist/chunk-6M3IPJS6.js +0 -3803
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ISN5GRYI.js";
18
18
  import {
19
19
  VERSION
20
- } from "./chunk-UQPH3Y45.js";
20
+ } from "./chunk-YAA3AOBA.js";
21
21
 
22
22
  // src/utils/updateCheck.ts
23
23
  import { existsSync, readFileSync } from "fs";
@@ -22,7 +22,7 @@ import {
22
22
  EncoderInterruptedError,
23
23
  encoderFailureError,
24
24
  prepareAnimatedGifInputs
25
- } from "./chunk-PH3RS5X4.js";
25
+ } from "./chunk-BQYQV6JP.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-VKFYI7AQ.js";
154
+ } from "./chunk-NZ5HOUJH.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-FAORS3UR.js";
167
+ } from "./chunk-M235XUHL.js";
168
168
  import {
169
169
  LOW_MEMORY_TOTAL_MB_THRESHOLD,
170
170
  getCgroupMemoryLimitMb,
@@ -190,7 +190,7 @@ import {
190
190
  resolveAbsoluteMediaStartSeconds,
191
191
  resolveAuthoredTimingWindow,
192
192
  toFps
193
- } from "./chunk-QZUVPWC4.js";
193
+ } from "./chunk-PDFMNU6D.js";
194
194
  import {
195
195
  COMPOSITION_SOURCE_URL,
196
196
  HF_COLOR_GRADING_ATTR,
@@ -218,7 +218,7 @@ import {
218
218
  shouldClampResolvedMediaDuration,
219
219
  sourceTimeAt,
220
220
  styleElementsFor
221
- } from "./chunk-6M3IPJS6.js";
221
+ } from "./chunk-Q2E3DQII.js";
222
222
  import {
223
223
  MAX_AUDIO_GAIN
224
224
  } from "./chunk-UJKQWGFF.js";
@@ -242,12 +242,12 @@ import {
242
242
  } from "./chunk-TWWSYAKJ.js";
243
243
  import {
244
244
  lintHyperframeHtml
245
- } from "./chunk-PLWORQFC.js";
245
+ } from "./chunk-G47TXPYN.js";
246
246
  import {
247
247
  isUnresolvedAssetPlaceholder,
248
248
  readProjectFile,
249
249
  resolveProjectRelativeSrc
250
- } from "./chunk-IWFLMU2N.js";
250
+ } from "./chunk-6BNTGNGD.js";
251
251
  import {
252
252
  checkSubCompositionUsability
253
253
  } from "./chunk-3RM2ETQT.js";
@@ -14423,7 +14423,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
14423
14423
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
14424
14424
  if (probeResult.probeSession) {
14425
14425
  try {
14426
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-VFTQPSQD.js");
14426
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-RY4V2ZZT.js");
14427
14427
  await closeCaptureSession2(probeResult.probeSession);
14428
14428
  } catch (err) {
14429
14429
  log.warn("[plan] probe session close failed", {
@@ -15963,7 +15963,7 @@ function startServer(options = {}) {
15963
15963
  });
15964
15964
  async function shutdown(signal) {
15965
15965
  log.info(`Received ${signal}, shutting down`);
15966
- const { drainBrowserPool } = await import("./src-VFTQPSQD.js");
15966
+ const { drainBrowserPool } = await import("./src-RY4V2ZZT.js");
15967
15967
  await drainBrowserPool().catch(() => {
15968
15968
  });
15969
15969
  const handle = await Promise.race([
@@ -17,14 +17,14 @@ import {
17
17
  isAllowedHtmlAttribute,
18
18
  isSafeAttributeValue,
19
19
  sanitizeRichTextChildren
20
- } from "./chunk-QZUVPWC4.js";
20
+ } from "./chunk-PDFMNU6D.js";
21
21
  import {
22
22
  decodedUrlPath,
23
23
  removeElementWithGsapCascade
24
24
  } from "./chunk-YMS5FOMC.js";
25
25
  import {
26
26
  require_dist
27
- } from "./chunk-PLWORQFC.js";
27
+ } from "./chunk-G47TXPYN.js";
28
28
  import {
29
29
  readClipTiming,
30
30
  writeClipTiming
@@ -6,22 +6,22 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-KUFEPCR3.js";
9
+ } from "./chunk-FQP7TLRF.js";
10
10
  import {
11
+ HistoryBusyError,
11
12
  beginArtifactCapture
12
- } from "./chunk-JGYHWVXQ.js";
13
+ } from "./chunk-GMJ3ILLW.js";
13
14
 
14
15
  // src/utils/artifactCapture.ts
15
16
  var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
17
+ function unlessAnotherProcessKeepsTheHistory(error) {
18
+ if (!(error instanceof HistoryBusyError)) throw error;
19
+ }
16
20
  async function captureArtifactRevision(projectDir) {
17
- return withOwner(
18
- projectDir,
19
- async (owner) => {
20
- await owner.checkpoint();
21
- return beginArtifactCapture(projectDir);
22
- },
23
- SKIP_BUSY_HISTORY
21
+ await withOwner(projectDir, (owner) => owner.checkpoint(), SKIP_BUSY_HISTORY).catch(
22
+ unlessAnotherProcessKeepsTheHistory
24
23
  );
24
+ return beginArtifactCapture(projectDir);
25
25
  }
26
26
 
27
27
  export {
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-4B6PUT4R.js";
10
+ } from "./chunk-TV2N4UIJ.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-FSP2JNAP.js";
13
+ } from "./chunk-K6SBDWUV.js";
14
14
  import {
15
15
  detectAgentRuntime
16
16
  } from "./chunk-QWQ6GQTI.js";
@@ -8,7 +8,7 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-FSP2JNAP.js";
11
+ } from "./chunk-K6SBDWUV.js";
12
12
  import {
13
13
  getPowerState
14
14
  } from "./chunk-QWQ6GQTI.js";
@@ -10,21 +10,21 @@ import {
10
10
  seekCompositionTimeline,
11
11
  waitForCompositionFonts,
12
12
  waitForRuntimeReady
13
- } from "./chunk-2UD6O6QG.js";
13
+ } from "./chunk-HZWXDKYB.js";
14
14
  import {
15
15
  gotoWhenSent,
16
16
  launchManagedBrowser,
17
17
  resolveManagedGpuMode
18
- } from "./chunk-UDDJQEGS.js";
18
+ } from "./chunk-6K2N6WPO.js";
19
19
  import {
20
20
  resolveDiagnosticNavigationTimeoutMs
21
- } from "./chunk-LMMFO5UV.js";
21
+ } from "./chunk-Z5ENX63S.js";
22
22
  import {
23
23
  resolveProject
24
- } from "./chunk-EJYBYR4C.js";
24
+ } from "./chunk-DQRZWV3B.js";
25
25
  import {
26
26
  serveStaticProjectHtml
27
- } from "./chunk-MSFON5DJ.js";
27
+ } from "./chunk-AG2O2USE.js";
28
28
  import {
29
29
  defineCommand
30
30
  } from "./chunk-S3S4TGEH.js";
@@ -38,7 +38,7 @@ import {
38
38
  import {
39
39
  printDeprecationNotice,
40
40
  withMeta
41
- } from "./chunk-GG3V5BHG.js";
41
+ } from "./chunk-QQI7R2QL.js";
42
42
  import {
43
43
  normalizeErrorMessage
44
44
  } from "./chunk-KNU5COPB.js";
@@ -709,7 +709,7 @@ async function collectTweenBoundaries(page) {
709
709
  });
710
710
  }
711
711
  async function bundleProjectHtml(projectDir) {
712
- const { bundleToSingleHtml } = await import("./compiler-GU5GPO5A.js");
712
+ const { bundleToSingleHtml } = await import("./compiler-I4GWSEK3.js");
713
713
  return bundleToSingleHtml(projectDir);
714
714
  }
715
715
  async function alignViewportToComposition(page, url) {
@@ -728,13 +728,13 @@ async function alignViewportToComposition(page, url) {
728
728
  async function runLayoutAudit(projectDir, opts) {
729
729
  const { ensureBrowser } = await import("./manager-HEUPD2YB.js");
730
730
  const puppeteer = await import("puppeteer-core");
731
- const { buildChromeArgs } = await import("./src-VFTQPSQD.js");
731
+ const { buildChromeArgs } = await import("./src-RY4V2ZZT.js");
732
732
  const {
733
733
  assertWebGpuAdapterAvailable,
734
734
  compositionRequiresWebGpu,
735
735
  resolveLocalBrowserGpuMode,
736
736
  resolveLocalWebGpu
737
- } = await import("./gpuPolicy-QWJYZLVJ.js");
737
+ } = await import("./gpuPolicy-HWH4OW6H.js");
738
738
  const html = await bundleProjectHtml(projectDir);
739
739
  const server = await serveStaticProjectHtml(
740
740
  projectDir,
@@ -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-GG3V5BHG.js";
9
+ } from "./chunk-QQI7R2QL.js";
10
10
  import {
11
11
  hostAnswers
12
12
  } from "./chunk-K4WIOZFP.js";
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-GMECXFAN.js";
28
28
  import {
29
29
  ITEM_TYPE_DIRS
30
- } from "./chunk-QZUVPWC4.js";
30
+ } from "./chunk-PDFMNU6D.js";
31
31
  import {
32
32
  realProjectRoot
33
33
  } from "./chunk-OFQWTKPW.js";
@@ -2866,7 +2866,7 @@ async function fetchRegistryManifest(baseUrl = DEFAULT_REGISTRY_URL, options) {
2866
2866
  return cached?.data;
2867
2867
  }
2868
2868
  }
2869
- async function fetchItemManifest(name, type, baseUrl = DEFAULT_REGISTRY_URL) {
2869
+ async function fetchItemManifest(name, type, baseUrl = DEFAULT_REGISTRY_URL, options) {
2870
2870
  if (!validRegistryName(name) || !Object.hasOwn(ITEM_TYPE_DIRS, type))
2871
2871
  throw new Error("Invalid registry item name or type");
2872
2872
  const dir = ITEM_TYPE_DIRS[type];
@@ -2874,7 +2874,8 @@ async function fetchItemManifest(name, type, baseUrl = DEFAULT_REGISTRY_URL) {
2874
2874
  const url = registryPathUrl(baseUrl, dir, name, "registry-item.json");
2875
2875
  const cacheFile = cachePath(baseUrl, `${dir}__${name}`);
2876
2876
  const cached = readCacheEntry(cacheFile, validate);
2877
- if (cached && isFresh(cached)) return cached.data;
2877
+ if (cached && (isFresh(cached) || options?.cacheOnly)) return cached.data;
2878
+ if (options?.cacheOnly) throw new Error("not fetched after an earlier registry timeout");
2878
2879
  try {
2879
2880
  const item = await fetchJson(url, validate);
2880
2881
  writeCache(cacheFile, item);
@@ -6,21 +6,21 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-KUW4LWY6.js";
9
+ } from "./chunk-EKKROA7V.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-PECICVTJ.js";
15
+ } from "./chunk-NLEDKGZT.js";
16
16
  import {
17
17
  initialModelForLanguage,
18
18
  transcribe
19
- } from "./chunk-V2T7FFPB.js";
19
+ } from "./chunk-ZY43P2M7.js";
20
20
  import {
21
21
  createRenderCancellationScope,
22
22
  stoppedByCancelSignal
23
- } from "./chunk-AWSVUIWG.js";
23
+ } from "./chunk-CDXC2UQ7.js";
24
24
  import {
25
25
  formatSrt,
26
26
  formatVtt,
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-ERJHLFPD.js";
13
+ } from "./chunk-Z6L3W5KZ.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  artifactDirectory,
9
9
  finishSnapshotRun
10
- } from "./chunk-JGYHWVXQ.js";
10
+ } from "./chunk-GMJ3ILLW.js";
11
11
 
12
12
  // src/utils/checkSnapshotDirectory.ts
13
13
  import { resolve } from "path";
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-4B6PUT4R.js";
10
+ } from "./chunk-TV2N4UIJ.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-FSP2JNAP.js";
13
+ } from "./chunk-K6SBDWUV.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
17
- } from "./chunk-PLWORQFC.js";
17
+ } from "./chunk-G47TXPYN.js";
18
18
 
19
19
  // src/telemetry/lintStreaks.ts
20
20
  import { createHash } from "crypto";
@@ -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.170" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.8.170" : "0.0.0-dev";
9
+ var VERSION = true ? "0.8.172" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.8.172" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -19,7 +19,7 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-GBWSBTEE.js";
22
+ } from "./chunk-R2P2SANE.js";
23
23
  import {
24
24
  MEDIA_LINK_ATTR,
25
25
  relinkSplitHalves
@@ -54,8 +54,9 @@ import {
54
54
  scanProjectMediaCodecMap,
55
55
  shouldPrewarmProxy,
56
56
  waitForProxy
57
- } from "./chunk-AGHHZIZN.js";
57
+ } from "./chunk-FXHGO3NH.js";
58
58
  import {
59
+ HistoryBusyError,
59
60
  MAX_WINDOW_IDLE_MS,
60
61
  STUDIO_SIGNATURE_MANIFEST_PATHS,
61
62
  UNDO_MODES,
@@ -67,7 +68,7 @@ import {
67
68
  resolveProjectAndSignature,
68
69
  resolveProjectSignature,
69
70
  settledFileTag
70
- } from "./chunk-JGYHWVXQ.js";
71
+ } from "./chunk-GMJ3ILLW.js";
71
72
  import {
72
73
  STUDIO_MOTION_PATH,
73
74
  createStudioMotionRenderBodyScript,
@@ -102,7 +103,7 @@ import {
102
103
  } from "./chunk-EOVYQ3IG.js";
103
104
  import {
104
105
  addScenePartsManifest
105
- } from "./chunk-FAORS3UR.js";
106
+ } from "./chunk-M235XUHL.js";
106
107
  import {
107
108
  ensureHfIds,
108
109
  stampHfIdsInPlace
@@ -116,7 +117,7 @@ import {
116
117
  parseFps,
117
118
  parsePreviewProxyBox,
118
119
  sameInstant
119
- } from "./chunk-QZUVPWC4.js";
120
+ } from "./chunk-PDFMNU6D.js";
120
121
  import {
121
122
  AFTER_FONTS_SCRIPT_TYPE,
122
123
  RUNTIME_BOOTSTRAP_ATTR,
@@ -130,7 +131,7 @@ import {
130
131
  resolveRateSpec,
131
132
  sourceTimeAt,
132
133
  stripEmbeddedRuntimeScripts
133
- } from "./chunk-6M3IPJS6.js";
134
+ } from "./chunk-Q2E3DQII.js";
134
135
  import {
135
136
  HTML_ATTRIBUTE_ENTITIES,
136
137
  MagicString,
@@ -150,7 +151,7 @@ import {
150
151
  import {
151
152
  isWithinProjectRoot,
152
153
  readProjectFile
153
- } from "./chunk-IWFLMU2N.js";
154
+ } from "./chunk-6BNTGNGD.js";
154
155
  import {
155
156
  FFPROBE_PATH_ENV,
156
157
  findFfBinary
@@ -5496,7 +5497,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
5496
5497
  let block = extractGsapScriptBlock(html);
5497
5498
  if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
5498
5499
  const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
5499
- const { GSAP_CDN } = await import("./dist-IDZRZHGE.js");
5500
+ const { GSAP_CDN } = await import("./dist-SDXOTECD.js");
5500
5501
  const bootstrap = [
5501
5502
  `<script src="${GSAP_CDN}"></script>`,
5502
5503
  "<script>",
@@ -9679,6 +9680,33 @@ function nextStep(history, direction) {
9679
9680
  const paths = target.files.map((file) => file.path);
9680
9681
  return { id: target.id, label: target.label, endedAt: target.endedAt, paths };
9681
9682
  }
9683
+ var LOOPBACK = /* @__PURE__ */ new Set(["127.0.0.1", "localhost", "[::1]"]);
9684
+ var FORWARD_DEADLINE_MS = 5e3;
9685
+ function ownerRoute(c, error) {
9686
+ if (!(error instanceof HistoryBusyError) || !error.url || !URL.canParse(error.url)) return null;
9687
+ const owner = new URL(error.url);
9688
+ if (owner.protocol !== "http:" || !LOOPBACK.has(owner.hostname)) return null;
9689
+ const rest = c.req.path.replace(/^.*?\/projects\/[^/]+\/history/, "");
9690
+ return `${owner.href.replace(/\/$/, "")}${rest}${new URL(c.req.url).search}`;
9691
+ }
9692
+ async function forward(c, target) {
9693
+ const token = c.req.header("X-Hyperframes-Write-Token");
9694
+ const reads = c.req.method === "GET" || c.req.method === "HEAD";
9695
+ const reply = await fetch(target, {
9696
+ method: c.req.method,
9697
+ headers: {
9698
+ "content-type": c.req.header("content-type") ?? "application/json",
9699
+ ...token && { "X-Hyperframes-Write-Token": token }
9700
+ },
9701
+ ...!reads && { body: await c.req.arrayBuffer() },
9702
+ signal: AbortSignal.timeout(FORWARD_DEADLINE_MS)
9703
+ });
9704
+ const type = reply.headers.get("content-type") ?? "application/json";
9705
+ return new Response(await reply.arrayBuffer(), {
9706
+ status: reply.status,
9707
+ headers: { "content-type": type }
9708
+ });
9709
+ }
9682
9710
  async function withHistory(adapter, c, task) {
9683
9711
  try {
9684
9712
  const history = await historyOf(adapter, c);
@@ -9686,7 +9714,9 @@ async function withHistory(adapter, c, task) {
9686
9714
  const result = await task(history, await bodyOf(c));
9687
9715
  return result instanceof Response ? result : c.json(result ?? null);
9688
9716
  } catch (error) {
9689
- return c.json({ error: error instanceof Error ? error.message : String(error) }, 409);
9717
+ const target = ownerRoute(c, error);
9718
+ const forwarded = target && await forward(c, target).catch(() => null);
9719
+ return forwarded || c.json({ error: error instanceof Error ? error.message : String(error) }, 409);
9690
9720
  }
9691
9721
  }
9692
9722
  function registerHistoryRoutes(api, adapter) {
@@ -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-JAERN4RH.js";
9
+ } from "./chunk-7DVH2IQQ.js";
10
10
  import {
11
11
  errorBox
12
12
  } from "./chunk-K2FLNJVB.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-PBN6GBJE.js";
16
16
  import {
17
17
  parseFps
18
- } from "./chunk-QZUVPWC4.js";
18
+ } from "./chunk-PDFMNU6D.js";
19
19
 
20
20
  // src/browser/windowsCrash.ts
21
21
  var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
@@ -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-VKFYI7AQ.js";
23
+ } from "./chunk-NZ5HOUJH.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-VFTQPSQD.js");
273
+ const engine = await import("./src-RY4V2ZZT.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 };
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  stoppedByCancelSignal
9
- } from "./chunk-AWSVUIWG.js";
9
+ } from "./chunk-CDXC2UQ7.js";
10
10
  import {
11
11
  DEFAULT_MODEL,
12
12
  ensureModel,
@@ -6,28 +6,28 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  redactHome
9
- } from "./chunk-G6GKIAEM.js";
9
+ } from "./chunk-FYR6GKFN.js";
10
10
  import "./chunk-Z27A7NUB.js";
11
11
  import "./chunk-5ETJX6WM.js";
12
12
  import {
13
13
  loadProducer
14
- } from "./chunk-NSJLCWLG.js";
14
+ } from "./chunk-KOMXCNZX.js";
15
15
  import {
16
16
  formatBytes
17
17
  } from "./chunk-K2FLNJVB.js";
18
- import "./chunk-MXMIVNUE.js";
19
- import "./chunk-GBWSBTEE.js";
18
+ import "./chunk-YHECAUDC.js";
19
+ import "./chunk-R2P2SANE.js";
20
20
  import "./chunk-6JR2XUEE.js";
21
21
  import "./chunk-C6TPGUWD.js";
22
22
  import {
23
23
  CACHE_DIR_NAME,
24
24
  cleanupProxyCache
25
- } from "./chunk-AGHHZIZN.js";
25
+ } from "./chunk-FXHGO3NH.js";
26
26
  import {
27
27
  DEFAULT_HISTORY_ROOT,
28
28
  listProjectHistories,
29
29
  pruneGoneProjectHistories
30
- } from "./chunk-JGYHWVXQ.js";
30
+ } from "./chunk-GMJ3ILLW.js";
31
31
  import "./chunk-FFDC5OWV.js";
32
32
  import "./chunk-A2DMF2Q6.js";
33
33
  import "./chunk-5CS4T6C6.js";
@@ -47,12 +47,12 @@ import "./chunk-7FMUTGOH.js";
47
47
  import "./chunk-XRKMITSS.js";
48
48
  import {
49
49
  withMeta
50
- } from "./chunk-GG3V5BHG.js";
50
+ } from "./chunk-QQI7R2QL.js";
51
51
  import "./chunk-K4WIOZFP.js";
52
52
  import "./chunk-XUXGIA7H.js";
53
53
  import "./chunk-WERLJGIC.js";
54
54
  import "./chunk-ISN5GRYI.js";
55
- import "./chunk-UQPH3Y45.js";
55
+ import "./chunk-YAA3AOBA.js";
56
56
  import "./chunk-3DKN5WKL.js";
57
57
  import "./chunk-EOVYQ3IG.js";
58
58
  import "./chunk-6BEFEWFB.js";
@@ -63,13 +63,13 @@ import {
63
63
  directorySizeBytes,
64
64
  gcExtractionCache,
65
65
  resolveExtractCacheDir
66
- } from "./chunk-VKFYI7AQ.js";
67
- import "./chunk-FAORS3UR.js";
66
+ } from "./chunk-NZ5HOUJH.js";
67
+ import "./chunk-M235XUHL.js";
68
68
  import "./chunk-KCF6GHJP.js";
69
69
  import "./chunk-JYVGYKXG.js";
70
70
  import "./chunk-7KDQAD2W.js";
71
- import "./chunk-QZUVPWC4.js";
72
- import "./chunk-6M3IPJS6.js";
71
+ import "./chunk-PDFMNU6D.js";
72
+ import "./chunk-Q2E3DQII.js";
73
73
  import "./chunk-VC76R6W2.js";
74
74
  import "./chunk-UJKQWGFF.js";
75
75
  import "./chunk-YMS5FOMC.js";
@@ -80,8 +80,8 @@ import "./chunk-FXMKHHPO.js";
80
80
  import "./chunk-RQVDTPGD.js";
81
81
  import "./chunk-D3ZWBHZP.js";
82
82
  import "./chunk-TWWSYAKJ.js";
83
- import "./chunk-PLWORQFC.js";
84
- import "./chunk-IWFLMU2N.js";
83
+ import "./chunk-G47TXPYN.js";
84
+ import "./chunk-6BNTGNGD.js";
85
85
  import "./chunk-OYLO6TYK.js";
86
86
  import "./chunk-VAS6HQX3.js";
87
87
  import "./chunk-3RM2ETQT.js";