hyperframes 0.8.144 → 0.8.145

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 (171) hide show
  1. package/README.md +3 -2
  2. package/dist/{add-CWRTVGDB.js → add-B6OUH46W.js} +11 -11
  3. package/dist/{animatedGifPrep-JTOHIWI4.js → animatedGifPrep-MIWRDJIO.js} +5 -5
  4. package/dist/{asset-KU2Z4UFM.js → asset-XJ2B2PU3.js} +2 -2
  5. package/dist/{assetCataloger-3CS2P7PA.js → assetCataloger-A5ZLSCMZ.js} +2 -2
  6. package/dist/{auth-IDSOIQWG.js → auth-5HOVCZMV.js} +1 -1
  7. package/dist/{autoUpdate-373B4BA2.js → autoUpdate-WVNL5K3D.js} +2 -2
  8. package/dist/{backgroundChecks-53Q3NAMG.js → backgroundChecks-IGF54SFH.js} +3 -3
  9. package/dist/backgroundChecksWorker.js +3 -3
  10. package/dist/{batchRender-UKZA6BME.js → batchRender-T6JEGCQV.js} +3 -3
  11. package/dist/{beats-N5JGEOFR.js → beats-37T6Y6QP.js} +10 -10
  12. package/dist/{benchmark-CUN3LN4V.js → benchmark-ZVVLOWPP.js} +8 -8
  13. package/dist/{browser-NCZT5AP6.js → browser-4SSJOLH4.js} +3 -3
  14. package/dist/{bundleWithLocalizedFonts-FWC7PE2D.js → bundleWithLocalizedFonts-XWK423QP.js} +2 -2
  15. package/dist/{capture-YLS32UHT.js → capture-2SF7YP57.js} +2 -2
  16. package/dist/{capture-QBLG3VJR.js → capture-KZXOPBMO.js} +8 -8
  17. package/dist/{catalog-HIWNAFHW.js → catalog-NLD4A2C6.js} +11 -11
  18. package/dist/{catch-up-HGS7KIAC.js → catch-up-4BSRN6IR.js} +4 -4
  19. package/dist/{check-FH6UYYLO.js → check-IA44QQWM.js} +28 -28
  20. package/dist/{checkBrowser-RNWNOMCZ.js → checkBrowser-VM35KZMW.js} +27 -27
  21. package/dist/{chunk-2DA2BBNY.js → chunk-3IBMBNYY.js} +1 -1
  22. package/dist/{chunk-F2SMS24Q.js → chunk-3KU3PFDW.js} +50 -80
  23. package/dist/{chunk-5WADG7PR.js → chunk-4ORLNTET.js} +1 -1
  24. package/dist/{chunk-NV4RXIQ7.js → chunk-4QWD6JYN.js} +2 -2
  25. package/dist/{chunk-A53CBD24.js → chunk-5NRXZGKK.js} +9 -9
  26. package/dist/{chunk-YJXHMIZA.js → chunk-5WVW7P23.js} +1 -1
  27. package/dist/{chunk-LFX2HEYP.js → chunk-6LGNTUZN.js} +7 -7
  28. package/dist/{chunk-7SDCIWHQ.js → chunk-ADF3X6GM.js} +2 -2
  29. package/dist/{chunk-WJB7WI4J.js → chunk-AUWHD7RA.js} +1 -1
  30. package/dist/{chunk-4OC7MQNB.js → chunk-BFACGEII.js} +2 -2
  31. package/dist/{chunk-AUBOF2PN.js → chunk-BIAC7IJT.js} +1 -1
  32. package/dist/{chunk-JEHFZQYT.js → chunk-CFUXNBWH.js} +1 -1
  33. package/dist/{chunk-Y6UPYWJS.js → chunk-DWUKJQTO.js} +2 -2
  34. package/dist/{chunk-NOPBBSLA.js → chunk-EPE2HRJK.js} +9 -9
  35. package/dist/{chunk-MXNDKDFT.js → chunk-FBCULCAL.js} +1 -1
  36. package/dist/{chunk-OUSLVRO4.js → chunk-FDT6KQV4.js} +75 -5
  37. package/dist/{chunk-GZM2EFOE.js → chunk-FXJJCPPB.js} +1 -1
  38. package/dist/{chunk-VYSUZEJG.js → chunk-GBGJ7A3D.js} +3 -3
  39. package/dist/{chunk-L5TUCXWR.js → chunk-GEMJYBRU.js} +2 -2
  40. package/dist/{chunk-4LAR447G.js → chunk-GMAJB2P6.js} +1 -1
  41. package/dist/{chunk-OIDN7G42.js → chunk-GRY3PN3K.js} +2 -2
  42. package/dist/{chunk-XGFHYAYN.js → chunk-GXJEGZL2.js} +23 -17
  43. package/dist/{chunk-GEWKFRFI.js → chunk-HB7FJOY4.js} +1 -1
  44. package/dist/{chunk-RG3QWWIE.js → chunk-ICKDMTLA.js} +1 -1
  45. package/dist/{chunk-EX6C672Y.js → chunk-IHTRYDFN.js} +1 -1
  46. package/dist/{chunk-ZOA2SC4P.js → chunk-KIFHYXPB.js} +2 -2
  47. package/dist/{chunk-I5KY7EZP.js → chunk-LAFJSYDL.js} +1 -1
  48. package/dist/{chunk-5HJ343GH.js → chunk-OB5MJR4W.js} +1 -1
  49. package/dist/{chunk-3XTEXWNN.js → chunk-OTHDVXOJ.js} +1 -1
  50. package/dist/{chunk-P6WH6QTV.js → chunk-PLR7Z6TC.js} +1 -1
  51. package/dist/{chunk-RI53TS2Y.js → chunk-QLSM7K5S.js} +2 -2
  52. package/dist/{chunk-7RAYSCYT.js → chunk-R42WWQVB.js} +1 -1
  53. package/dist/{chunk-SLCFKB3Y.js → chunk-U5QY7KTN.js} +5 -5
  54. package/dist/{chunk-5VMR4WBS.js → chunk-UXO2L7HJ.js} +98 -40
  55. package/dist/{chunk-LC3RQURJ.js → chunk-VHFEMFYL.js} +2 -2
  56. package/dist/{chunk-3VYNNWVA.js → chunk-VRW6EBHV.js} +1 -1
  57. package/dist/{chunk-KFKZ3ISO.js → chunk-XBX4QJP7.js} +1 -1
  58. package/dist/{chunk-54QISXOC.js → chunk-XIHCMVMG.js} +2 -2
  59. package/dist/{chunk-XU5GGV6R.js → chunk-ZF7SXQJ7.js} +1 -1
  60. package/dist/{chunk-RVFEDAUV.js → chunk-ZIYZ77MR.js} +3 -3
  61. package/dist/{chunk-YUAXFWSQ.js → chunk-ZSVUAVMT.js} +2 -2
  62. package/dist/{clean-KPX27IKJ.js → clean-RDKJB5FK.js} +11 -11
  63. package/dist/cli.js +52 -52
  64. package/dist/{cloud-P7DAOISN.js → cloud-QVPVVNCW.js} +4 -4
  65. package/dist/{cloudrun-XM56TBOH.js → cloudrun-3RE2UCQG.js} +3 -3
  66. package/dist/{compare-F6YAFZZM.js → compare-LEDOY7MO.js} +22 -22
  67. package/dist/{compiler-JZ4GNFMG.js → compiler-F54OZZPM.js} +6 -2
  68. package/dist/{component-3CFOGIQA.js → component-N42M67WY.js} +3 -3
  69. package/dist/{compositions-CPCMWF24.js → compositions-VB2J2LZI.js} +9 -9
  70. package/dist/{delete-GYVKOKB6.js → delete-Q6RWMJ4Z.js} +2 -2
  71. package/dist/{dist-YPWQDWJ4.js → dist-Q4BI5A73.js} +2 -2
  72. package/dist/{doctor-GWI3B6JT.js → doctor-JMMUHDRV.js} +7 -7
  73. package/dist/{events-V2QFN4YM.js → events-6ZBSIBE5.js} +2 -2
  74. package/dist/{events-BRRUDPPT.js → events-RGUAHIBW.js} +3 -3
  75. package/dist/{feedback-CXMD7FWL.js → feedback-FIID6MZW.js} +6 -6
  76. package/dist/{figma-YABDWD66.js → figma-BL3JJC36.js} +3 -3
  77. package/dist/fontLocalizeCli.js +7 -7
  78. package/dist/{get-L2SOQKHX.js → get-P46GS7S6.js} +2 -2
  79. package/dist/{gpuPolicy-NBJNWHYS.js → gpuPolicy-AQ2BPLBK.js} +5 -5
  80. package/dist/{grade-compare-STXQPKYQ.js → grade-compare-GDCWU7ZZ.js} +22 -22
  81. package/dist/{help-4H6BSFLB.js → help-HJR3RWFG.js} +1 -1
  82. package/dist/{history-4IQOLTHJ.js → history-GGO5AWJB.js} +5 -5
  83. package/dist/hyperframe-runtime.js +53 -53
  84. package/dist/hyperframe.manifest.json +1 -1
  85. package/dist/hyperframe.runtime.iife.js +53 -53
  86. package/dist/hyperframes-player.global.js +1 -1
  87. package/dist/{info-2CZOTNBC.js → info-3GFWUBJC.js} +7 -7
  88. package/dist/{init-6BXK42VS.js → init-36OPU2ZG.js} +20 -20
  89. package/dist/{inspect-VKU47TBH.js → inspect-F2HEL5ON.js} +23 -23
  90. package/dist/{installer-T2BSSUDY.js → installer-NI6P6GC4.js} +4 -4
  91. package/dist/{keyframes-IEYVHRPI.js → keyframes-7OY3LMAZ.js} +6 -6
  92. package/dist/{lambda-TIKG25CK.js → lambda-6GJIWNJ3.js} +4 -4
  93. package/dist/{layout-XOI4PT7A.js → layout-FTMLNL5A.js} +23 -23
  94. package/dist/{lint-DWCMVIX5.js → lint-U6POHUON.js} +6 -6
  95. package/dist/{list-7GXKG5QM.js → list-IP5KI5Q2.js} +2 -2
  96. package/dist/{login-BQ5L2UHX.js → login-4VWTVPHG.js} +4 -4
  97. package/dist/{media-treatment-IFB7OSZ3.js → media-treatment-XGV44AGV.js} +12 -9
  98. package/dist/{models-TY4PJ545.js → models-UCXB6UR5.js} +8 -8
  99. package/dist/{motionShot-WXMFHICW.js → motionShot-WPVNBXKA.js} +11 -11
  100. package/dist/{normalize-audio-RFD776HQ.js → normalize-audio-TYJ3UEHO.js} +4 -4
  101. package/dist/{open-7IXXGO2E.js → open-HENOLVB2.js} +4 -4
  102. package/dist/{parakeetRunner-IHLYYMTZ.js → parakeetRunner-VFQ6WFTD.js} +7 -7
  103. package/dist/{pipeline-TXKPLL2U.js → pipeline-6WPSC3H4.js} +5 -5
  104. package/dist/{play-J2KP64UK.js → play-OI53WNUM.js} +16 -16
  105. package/dist/{present-MHHNRVRA.js → present-NGMEQ4NO.js} +12 -12
  106. package/dist/{preview-CONUOFFQ.js → preview-VT2HWRWZ.js} +15 -15
  107. package/dist/{producer-ZI46K7HH.js → producer-7TYEAUF7.js} +1 -1
  108. package/dist/{projectConfig-FGGVG5MV.js → projectConfig-B2AF5DXY.js} +6 -6
  109. package/dist/{publication-TXFBMW6B.js → publication-2PANQVC6.js} +2 -2
  110. package/dist/{publish-YZSPBFRD.js → publish-O5OL42BG.js} +7 -7
  111. package/dist/{remove-background-4ATVLHLG.js → remove-background-T2JM6UVP.js} +6 -6
  112. package/dist/{render-6FBYLYGJ.js → render-OLPKOJRU.js} +8 -8
  113. package/dist/{render-GFW5BPES.js → render-W7OFXDOJ.js} +3 -3
  114. package/dist/{render-MH4IUPWB.js → render-Z253WHBK.js} +18 -18
  115. package/dist/{render-batch-XUCZ2PUJ.js → render-batch-46IIBFKL.js} +3 -3
  116. package/dist/{renderCancellation-XF7M7IUP.js → renderCancellation-QTZOCDJ2.js} +5 -5
  117. package/dist/{resolver-W7AYCQGS.js → resolver-J2PL5FVJ.js} +4 -4
  118. package/dist/{sherpa-LDUB5NLY.js → sherpa-ZF42V3RN.js} +7 -7
  119. package/dist/skills/hyperframes/scripts/lib/frame-packets-core.mjs +2 -20
  120. package/dist/skills/hyperframes/scripts/lib/main-module.mjs +13 -0
  121. package/dist/skills/hyperframes/scripts/lib/main-module.test.mjs +51 -0
  122. package/dist/skills/hyperframes/scripts/plugin-cli.mjs +4 -3
  123. package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +5 -1
  124. package/dist/skills/hyperframes-cli/SKILL.md +2 -0
  125. package/dist/skills/media-use/audio/scripts/heygen-voice.mjs +2 -2
  126. package/dist/skills/media-use/audio/scripts/lib/main-module.mjs +13 -0
  127. package/dist/skills/media-use/scripts/lib/cube-validate.mjs +2 -3
  128. package/dist/skills/media-use/scripts/lib/main-module.mjs +13 -0
  129. package/dist/{skills-VENERS5X.js → skills-ACDOO3PX.js} +5 -5
  130. package/dist/{skillsUpdateCheck-UXFYTACG.js → skillsUpdateCheck-L5OXVVPU.js} +3 -3
  131. package/dist/{snapshot-C6T74HTI.js → snapshot-UUVNZOW5.js} +23 -23
  132. package/dist/{src-VUJ2FUFK.js → src-BSLKXEGX.js} +6 -4
  133. package/dist/{src-FS5RSVEI.js → src-KS3AWFGT.js} +6 -6
  134. package/dist/{staticProjectServer-V2RZ4DWD.js → staticProjectServer-2TTVGPQH.js} +12 -12
  135. package/dist/studio/assets/{hyperframes-player-Bw_jIaSX.js → hyperframes-player-DZ5JrMDg.js} +1 -1
  136. package/dist/studio/assets/{index-DyH9dT7b.js → index-BOs6C0aZ.js} +1 -1
  137. package/dist/studio/assets/{index-Cj7W_c7p.js → index-BqFRhNZa.js} +1 -1
  138. package/dist/studio/assets/{index-BVM9NuWl.js → index-D8W0a0Z9.js} +131 -131
  139. package/dist/studio/{chunk-3GHTHPZD.js → chunk-6JY3MTIX.js} +101 -2
  140. package/dist/studio/{chunk-G3EDKRZH.js → chunk-NZPJUZKT.js} +99 -3
  141. package/dist/studio/{chunk-PEAKCOUW.js → chunk-TP6D3U37.js} +3 -100
  142. package/dist/studio/{domEditingLayers-PYST4G45.js → domEditingLayers-PTP2ICGM.js} +3 -3
  143. package/dist/studio/index.d.ts +8 -5
  144. package/dist/studio/index.html +1 -1
  145. package/dist/studio/index.js +410 -429
  146. package/dist/studio/player.js +2 -2
  147. package/dist/{studio-api-TQE7KWKO.js → studio-api-WYWF7XRC.js} +6 -6
  148. package/dist/{studioServer-CYKSQK7L.js → studioServer-3FG4YTP7.js} +37 -35
  149. package/dist/{telemetry-A23PPRD6.js → telemetry-PAOOB4T4.js} +3 -3
  150. package/dist/{timeline-T3QSGT3A.js → timeline-JIIJKKPC.js} +12 -12
  151. package/dist/{tokens-RT5HWA6C.js → tokens-3QRAM75Z.js} +2 -2
  152. package/dist/{transcribe-FOLNOC5G.js → transcribe-QSBP5MUG.js} +7 -7
  153. package/dist/{transcribe-HCF64LQK.js → transcribe-SZB6UMXE.js} +6 -6
  154. package/dist/{updateCheck-27PIP3AA.js → updateCheck-V3DSB26K.js} +2 -2
  155. package/dist/{upgrade-TVGXBUPJ.js → upgrade-L5GISOEV.js} +2 -2
  156. package/dist/{urlDownloader-KBLBJKRL.js → urlDownloader-52FERT4X.js} +4 -4
  157. package/dist/{validate-ZMYGK4QI.js → validate-HVVLX7KO.js} +17 -17
  158. package/dist/{video-AVE5GIGM.js → video-MEOWRMFG.js} +5 -5
  159. package/package.json +1 -1
  160. package/dist/studio/chunk-3GHTHPZD.js.map +0 -1
  161. package/dist/studio/chunk-EEXSYY5F.js.map +0 -1
  162. package/dist/studio/chunk-G3EDKRZH.js.map +0 -1
  163. package/dist/studio/chunk-PEAKCOUW.js.map +0 -1
  164. package/dist/studio/chunk-PZ5AY32C.js.map +0 -1
  165. package/dist/studio/chunk-Y2OHHNM2.js.map +0 -1
  166. package/dist/studio/domEditingLayers-PYST4G45.js.map +0 -1
  167. package/dist/studio/index.css.map +0 -1
  168. package/dist/studio/index.js.map +0 -1
  169. package/dist/studio/player.js.map +0 -1
  170. package/dist/studio/styles/tailwind-preset.js.map +0 -1
  171. package/dist/studio/ui.js.map +0 -1
@@ -26,7 +26,7 @@ import {
26
26
  renderFrameIdForRenderId,
27
27
  resolveAuthoredTimingWindow,
28
28
  toFps
29
- } from "./chunk-3VYNNWVA.js";
29
+ } from "./chunk-VRW6EBHV.js";
30
30
  import {
31
31
  AUDIO_GROUP_RENDER_ID_ATTR,
32
32
  COLOR_GRADING_SOURCE_HIDDEN_ATTR,
@@ -55,7 +55,7 @@ import {
55
55
  shiftRateLane,
56
56
  sourceTimeAt,
57
57
  timeAtSourceTime
58
- } from "./chunk-WJB7WI4J.js";
58
+ } from "./chunk-AUWHD7RA.js";
59
59
  import {
60
60
  clampAudioGain,
61
61
  isAudibleVideoElement
@@ -7834,6 +7834,11 @@ ${tail}` : windowsMessage;
7834
7834
  ffmpeg stderr (tail):
7835
7835
  ${tail}` : `FFmpeg exited with code ${exitCode}`;
7836
7836
  }
7837
+ function describeFfmpegFailure(result, timeoutMs) {
7838
+ const error = formatFfmpegError(result.exitCode, result.stderr);
7839
+ if (result.terminationReason !== "deadline") return error;
7840
+ return `FFmpeg timed out after ${timeoutMs} ms (ffmpegProcessTimeout; long renders can raise FFMPEG_PROCESS_TIMEOUT_MS). ${error}`;
7841
+ }
7837
7842
  function spawnFfmpeg(args) {
7838
7843
  const ffmpeg = spawn2(getFfmpegBinary(), args, { windowsHide: true });
7839
7844
  trackChildProcess(ffmpeg);
@@ -7857,7 +7862,16 @@ function toResult(outcome, stderr = outcome.stderr) {
7857
7862
  }
7858
7863
  return result;
7859
7864
  }
7865
+ var ABORTED_BEFORE_START = {
7866
+ success: false,
7867
+ exitCode: null,
7868
+ signal: null,
7869
+ stderr: "",
7870
+ durationMs: 0,
7871
+ terminationReason: "abort"
7872
+ };
7860
7873
  async function runFfmpeg(args, opts) {
7874
+ if (opts?.signal?.aborted) return { ...ABORTED_BEFORE_START };
7861
7875
  const timeout = opts?.timeout ?? DEFAULT_TIMEOUT;
7862
7876
  const managed = new ManagedChildProcess(spawnFfmpeg(args), {
7863
7877
  signal: opts?.signal,
@@ -7867,6 +7881,7 @@ async function runFfmpeg(args, opts) {
7867
7881
  return toResult(await managed.wait());
7868
7882
  }
7869
7883
  async function runFfmpegPipeline(producerArgs, consumerArgs, opts) {
7884
+ if (opts?.signal?.aborted) return { ...ABORTED_BEFORE_START };
7870
7885
  const deadlineAtMs = Date.now() + (opts?.timeout ?? DEFAULT_TIMEOUT);
7871
7886
  const producer = spawnFfmpeg(producerArgs);
7872
7887
  const consumer = spawnFfmpeg(consumerArgs);
@@ -8002,6 +8017,7 @@ var mediaProbeOutputSignalCaches = /* @__PURE__ */ new WeakMap();
8002
8017
  var MEDIA_PROBE_OUTPUT_CACHE_MAX_ENTRIES = 128;
8003
8018
  var AUDIO_DURATION_PROBE_MARGIN_SECONDS = 0.05;
8004
8019
  var AUDIO_DURATION_PROBE_TAIL_SECONDS = 1;
8020
+ var FFPROBE_READ_INTERVAL_EXPLICIT_FAR_END = "+2147483647";
8005
8021
  var STILL_IMAGE_DEMUXERS = /* @__PURE__ */ new Set([
8006
8022
  "apng",
8007
8023
  "bmp_pipe",
@@ -8485,7 +8501,7 @@ async function probeDecodedAudioDuration(filePath, sampleRate, startSeconds, con
8485
8501
  startSeconds,
8486
8502
  startSeconds + containerDurationSeconds - AUDIO_DURATION_PROBE_TAIL_SECONDS
8487
8503
  );
8488
- const lastFrame = await probe(`${tailStart}%`) ?? await probe();
8504
+ const lastFrame = await probe(`${tailStart}%${FFPROBE_READ_INTERVAL_EXPLICIT_FAR_END}`) ?? await probe();
8489
8505
  if (!lastFrame) return null;
8490
8506
  return lastFrame.timestamp + lastFrame.nbSamples / sampleRate - startSeconds;
8491
8507
  }
@@ -9124,7 +9140,7 @@ async function muxVideoWithAudio(videoPath, audioPath, outputPath, signal, confi
9124
9140
  success: result.success,
9125
9141
  outputPath,
9126
9142
  durationMs: result.durationMs,
9127
- error: !result.success ? formatFfmpegError(result.exitCode, result.stderr) : void 0,
9143
+ error: !result.success ? describeFfmpegFailure(result, processTimeout) : void 0,
9128
9144
  failureReason: result.failureReason
9129
9145
  };
9130
9146
  }
@@ -9216,7 +9232,7 @@ async function packageHls(videoPath, audioPath, outputDir, options) {
9216
9232
  success: result.success,
9217
9233
  outputPath: outputDir,
9218
9234
  durationMs: result.durationMs,
9219
- error: !result.success ? formatFfmpegError(result.exitCode, result.stderr) : void 0,
9235
+ error: !result.success ? describeFfmpegFailure(result, processTimeout) : void 0,
9220
9236
  failureReason: result.failureReason
9221
9237
  };
9222
9238
  }
@@ -9249,7 +9265,7 @@ async function applyFaststart(inputPath, outputPath, signal, config, fps, onSeco
9249
9265
  success: result.success,
9250
9266
  outputPath,
9251
9267
  durationMs: result.durationMs,
9252
- error: !result.success ? formatFfmpegError(result.exitCode, result.stderr) : void 0,
9268
+ error: !result.success ? describeFfmpegFailure(result, processTimeout) : void 0,
9253
9269
  failureReason: result.failureReason
9254
9270
  };
9255
9271
  }
@@ -9765,6 +9781,36 @@ import { copyFileSync as copyFileSync2, existsSync as existsSync8, linkSync as l
9765
9781
  import { join as join10 } from "path";
9766
9782
  import { cpus } from "os";
9767
9783
 
9784
+ // ../engine/src/utils/concurrencyLimit.ts
9785
+ function createConcurrencyLimit(limit) {
9786
+ let active = 0;
9787
+ const waiting = [];
9788
+ const waitForSlot = (signal) => new Promise((resolve) => {
9789
+ const granted = () => {
9790
+ signal?.removeEventListener("abort", aborted);
9791
+ resolve(true);
9792
+ };
9793
+ const aborted = () => {
9794
+ waiting.splice(waiting.indexOf(granted), 1);
9795
+ resolve(false);
9796
+ };
9797
+ waiting.push(granted);
9798
+ signal?.addEventListener("abort", aborted, { once: true });
9799
+ });
9800
+ return async (task, signal) => {
9801
+ if (signal?.aborted) return task();
9802
+ if (active < limit) active++;
9803
+ else if (!await waitForSlot(signal)) return task();
9804
+ try {
9805
+ return await task();
9806
+ } finally {
9807
+ const next = waiting.shift();
9808
+ if (next) next();
9809
+ else active--;
9810
+ }
9811
+ };
9812
+ }
9813
+
9768
9814
  // ../engine/src/services/referenceResolver.ts
9769
9815
  function findReferenceTargetEl(doc, refId) {
9770
9816
  return doc.getElementById(refId) ?? doc.querySelector(`[data-composition-id="${refId}"]`);
@@ -11623,6 +11669,8 @@ function restoreSourceColourFilter(metadata) {
11623
11669
  return tags.length > 0 ? [`setparams=${tags.map(([key, value]) => `${key}=${value}`).join(":")}`] : [];
11624
11670
  }
11625
11671
  var EXTRACTION_SEGMENT_SECONDS = 120;
11672
+ var EXTRACTION_SLOTS = Math.max(1, Math.floor(cpus().length / 2));
11673
+ var inExtractionSlot = createConcurrencyLimit(EXTRACTION_SLOTS);
11626
11674
  function splitFrameRanges(ranges, segmentFrames) {
11627
11675
  const segments = [];
11628
11676
  for (const range of ranges) {
@@ -11646,30 +11694,33 @@ async function runSegmentedExtraction(job) {
11646
11694
  while (next < segmentCount && !signal.aborted) {
11647
11695
  const index = next++;
11648
11696
  const { firstFrame, frames } = segments[index];
11649
- const result = await runFfmpeg(
11650
- [
11651
- ...decodeArgs,
11652
- "-noaccurate_seek",
11653
- "-ss",
11654
- String(startTime + firstFrame / fps),
11655
- "-i",
11656
- videoPath,
11657
- // Read one frame past the segment and keep exactly its own frames.
11658
- "-t",
11659
- String((frames + 1) / fps),
11660
- "-frames:v",
11661
- String(frames),
11662
- "-start_number",
11663
- String(firstFrame + 1),
11664
- ...filterAndEncodeArgs
11665
- ],
11666
- { ...job.runOptions, signal }
11697
+ const result = await inExtractionSlot(
11698
+ () => runFfmpeg(
11699
+ [
11700
+ ...decodeArgs,
11701
+ "-noaccurate_seek",
11702
+ "-ss",
11703
+ String(startTime + firstFrame / fps),
11704
+ "-i",
11705
+ videoPath,
11706
+ // Read one frame past the segment and keep exactly its own frames.
11707
+ "-t",
11708
+ String((frames + 1) / fps),
11709
+ "-frames:v",
11710
+ String(frames),
11711
+ "-start_number",
11712
+ String(firstFrame + 1),
11713
+ ...filterAndEncodeArgs
11714
+ ],
11715
+ { ...job.runOptions, signal }
11716
+ ),
11717
+ signal
11667
11718
  );
11668
11719
  results[index] = result;
11669
11720
  if (!result.success) failed.abort();
11670
11721
  }
11671
11722
  };
11672
- const workers = Math.min(segmentCount, Math.max(1, Math.floor(cpus().length / 2)));
11723
+ const workers = Math.min(segmentCount, EXTRACTION_SLOTS);
11673
11724
  await Promise.all(Array.from({ length: workers }, worker));
11674
11725
  const ran = results.filter(Boolean);
11675
11726
  const failure = ran.find((r) => !r.success && r.terminationReason !== "abort") ?? ran.find((r) => !r.success);
@@ -11774,20 +11825,23 @@ async function extractVideoFramesRange(videoPath, videoId, startTime, duration,
11774
11825
  if (resampleVfrToCfr) args.push("-fps_mode", "cfr", "-r", ffmpegFps);
11775
11826
  let processResult;
11776
11827
  if (resampleVfrToCfr && vfFilters.length > 0 && !isHdr && NUT_RAW_PIXEL_FORMATS.has(metadata.pixelFormat ?? "")) {
11777
- processResult = await runFfmpegPipeline(
11778
- [...args, "-an", "-sn", "-dn", "-c:v", "rawvideo", "-f", "nut", "pipe:1"],
11779
- [
11780
- "-f",
11781
- "nut",
11782
- "-i",
11783
- "pipe:0",
11784
- "-vf",
11785
- [...restoreSourceColourFilter(metadata), ...vfFilters].join(","),
11786
- "-fps_mode",
11787
- "passthrough",
11788
- ...encodeArgs
11789
- ],
11790
- runOptions
11828
+ processResult = await inExtractionSlot(
11829
+ () => runFfmpegPipeline(
11830
+ [...args, "-an", "-sn", "-dn", "-c:v", "rawvideo", "-f", "nut", "pipe:1"],
11831
+ [
11832
+ "-f",
11833
+ "nut",
11834
+ "-i",
11835
+ "pipe:0",
11836
+ "-vf",
11837
+ [...restoreSourceColourFilter(metadata), ...vfFilters].join(","),
11838
+ "-fps_mode",
11839
+ "passthrough",
11840
+ ...encodeArgs
11841
+ ],
11842
+ runOptions
11843
+ ),
11844
+ signal
11791
11845
  );
11792
11846
  } else {
11793
11847
  const filterArgs = vfFilters.length > 0 ? ["-vf", vfFilters.join(",")] : [];
@@ -11804,7 +11858,10 @@ async function extractVideoFramesRange(videoPath, videoId, startTime, duration,
11804
11858
  segmentFrames
11805
11859
  ),
11806
11860
  runOptions
11807
- }) : await runFfmpeg([...args, ...filterArgs, ...encodeArgs], runOptions);
11861
+ }) : await inExtractionSlot(
11862
+ () => runFfmpeg([...args, ...filterArgs, ...encodeArgs], runOptions),
11863
+ signal
11864
+ );
11808
11865
  }
11809
11866
  if (processResult.failureReason === "external_interruption") {
11810
11867
  throw new VideoSourceExtractionError(
@@ -16296,6 +16353,7 @@ export {
16296
16353
  analyzeCompositionHdr,
16297
16354
  isExternalFfmpegInterruption,
16298
16355
  formatFfmpegError,
16356
+ describeFfmpegFailure,
16299
16357
  runFfmpeg,
16300
16358
  probeMediaProfile,
16301
16359
  extractMediaMetadata,
@@ -20,7 +20,7 @@ import {
20
20
  DEFAULT_VP9_CPU_USED,
21
21
  SDR_RGB_TO_BT709_FILTER,
22
22
  renderProvenanceArgs
23
- } from "./chunk-5VMR4WBS.js";
23
+ } from "./chunk-UXO2L7HJ.js";
24
24
 
25
25
  // src/background-removal/pipeline.ts
26
26
  import { spawn } from "child_process";
@@ -203,7 +203,7 @@ function inferInputKind(inputPath) {
203
203
  }
204
204
  async function probeMedia(inputPath) {
205
205
  const isImage = inferInputKind(inputPath) === "image";
206
- const engine = await import("./src-VUJ2FUFK.js");
206
+ const engine = await import("./src-BSLKXEGX.js");
207
207
  const meta = await engine.extractMediaMetadata(inputPath);
208
208
  if (isImage) {
209
209
  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-WJB7WI4J.js";
12
+ } from "./chunk-AUWHD7RA.js";
13
13
  import {
14
14
  CANVAS_DIMENSIONS,
15
15
  isCompositionElement,
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-K2FLNJVB.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-RG3QWWIE.js";
12
+ } from "./chunk-ICKDMTLA.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-PBN6GBJE.js";
@@ -8,14 +8,14 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemFile,
10
10
  validRegistryItem
11
- } from "./chunk-I5KY7EZP.js";
11
+ } from "./chunk-LAFJSYDL.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-3VYNNWVA.js";
18
+ } from "./chunk-VRW6EBHV.js";
19
19
  import {
20
20
  realProjectRoot
21
21
  } from "./chunk-OFQWTKPW.js";
@@ -34,7 +34,7 @@ import {
34
34
  } from "./chunk-XUXGIA7H.js";
35
35
  import {
36
36
  VERSION
37
- } from "./chunk-4OC7MQNB.js";
37
+ } from "./chunk-BFACGEII.js";
38
38
  import {
39
39
  c
40
40
  } from "./chunk-ZTZA4UWZ.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType,
9
9
  injectMediaCodecMapIntoHtml
10
- } from "./chunk-XGFHYAYN.js";
10
+ } from "./chunk-GXJEGZL2.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-ZOA2SC4P.js";
21
+ } from "./chunk-KIFHYXPB.js";
22
22
  import {
23
23
  resolveAutoProxy
24
- } from "./chunk-JEHFZQYT.js";
24
+ } from "./chunk-CFUXNBWH.js";
25
25
  import {
26
26
  decodeWellFormedEscapes
27
27
  } from "./chunk-BSQ7XANM.js";
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-RG3QWWIE.js";
10
+ } from "./chunk-ICKDMTLA.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-XU5GGV6R.js";
13
+ } from "./chunk-ZF7SXQJ7.js";
14
14
  import {
15
15
  detectAgentRuntime
16
16
  } from "./chunk-GQJZORQP.js";
@@ -6,18 +6,18 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  redactHome
9
- } from "./chunk-VYSUZEJG.js";
9
+ } from "./chunk-GBGJ7A3D.js";
10
10
  import "./chunk-Z27A7NUB.js";
11
11
  import "./chunk-5ETJX6WM.js";
12
12
  import {
13
13
  loadProducer
14
- } from "./chunk-GEWKFRFI.js";
14
+ } from "./chunk-HB7FJOY4.js";
15
15
  import "./chunk-3DKN5WKL.js";
16
16
  import {
17
17
  formatBytes
18
18
  } from "./chunk-K2FLNJVB.js";
19
- import "./chunk-XGFHYAYN.js";
20
- import "./chunk-YJXHMIZA.js";
19
+ import "./chunk-GXJEGZL2.js";
20
+ import "./chunk-5WVW7P23.js";
21
21
  import {
22
22
  DEFAULT_HISTORY_ROOT,
23
23
  listProjectHistories,
@@ -27,7 +27,7 @@ import "./chunk-DDIVWXN7.js";
27
27
  import {
28
28
  CACHE_DIR_NAME,
29
29
  cleanupProxyCache
30
- } from "./chunk-ZOA2SC4P.js";
30
+ } from "./chunk-KIFHYXPB.js";
31
31
  import "./chunk-G75ENCEZ.js";
32
32
  import "./chunk-EOVYQ3IG.js";
33
33
  import "./chunk-DIRJ322I.js";
@@ -49,12 +49,12 @@ import {
49
49
  directorySizeBytes,
50
50
  gcExtractionCache,
51
51
  resolveExtractCacheDir
52
- } from "./chunk-5VMR4WBS.js";
53
- import "./chunk-OUSLVRO4.js";
52
+ } from "./chunk-UXO2L7HJ.js";
53
+ import "./chunk-FDT6KQV4.js";
54
54
  import "./chunk-NE55C6S5.js";
55
55
  import "./chunk-USDEMXXL.js";
56
- import "./chunk-3VYNNWVA.js";
57
- import "./chunk-WJB7WI4J.js";
56
+ import "./chunk-VRW6EBHV.js";
57
+ import "./chunk-AUWHD7RA.js";
58
58
  import "./chunk-VC76R6W2.js";
59
59
  import "./chunk-YA62XGXS.js";
60
60
  import "./chunk-MQZVBHEY.js";
@@ -77,12 +77,12 @@ import "./chunk-2PSPARWP.js";
77
77
  import "./chunk-T42U2W2R.js";
78
78
  import {
79
79
  withMeta
80
- } from "./chunk-P6WH6QTV.js";
80
+ } from "./chunk-PLR7Z6TC.js";
81
81
  import "./chunk-K4WIOZFP.js";
82
82
  import "./chunk-XUXGIA7H.js";
83
83
  import "./chunk-WERLJGIC.js";
84
84
  import "./chunk-ISN5GRYI.js";
85
- import "./chunk-4OC7MQNB.js";
85
+ import "./chunk-BFACGEII.js";
86
86
  import "./chunk-KNU5COPB.js";
87
87
  import "./chunk-3GXQPCJC.js";
88
88
  import {
package/dist/cli.js CHANGED
@@ -40,7 +40,7 @@ import {
40
40
  } from "./chunk-ISN5GRYI.js";
41
41
  import {
42
42
  VERSION
43
- } from "./chunk-4OC7MQNB.js";
43
+ } from "./chunk-BFACGEII.js";
44
44
  import "./chunk-ZTZA4UWZ.js";
45
45
  import "./chunk-M2WBOQ2Q.js";
46
46
 
@@ -91,7 +91,7 @@ function guardLeafFlags(cmd, path, ctx, rawArgs) {
91
91
  }
92
92
  async function reportCommandFailure(command2, err) {
93
93
  try {
94
- const { trackCommandFailure } = await import("./events-BRRUDPPT.js");
94
+ const { trackCommandFailure } = await import("./events-RGUAHIBW.js");
95
95
  trackCommandFailure(command2, err);
96
96
  } catch {
97
97
  }
@@ -163,54 +163,54 @@ async function assertStudioWorkspaceBuilt() {
163
163
  });
164
164
  }
165
165
  var commandLoaders = {
166
- init: () => import("./init-6BXK42VS.js").then((m) => m.default),
167
- add: () => import("./add-CWRTVGDB.js").then((m) => m.default),
168
- catalog: () => import("./catalog-HIWNAFHW.js").then((m) => m.default),
166
+ init: () => import("./init-36OPU2ZG.js").then((m) => m.default),
167
+ add: () => import("./add-B6OUH46W.js").then((m) => m.default),
168
+ catalog: () => import("./catalog-NLD4A2C6.js").then((m) => m.default),
169
169
  "media-use": () => import("./media-use-4XXGABIL.js").then((m) => m.default),
170
- play: () => import("./play-J2KP64UK.js").then((m) => m.default),
171
- present: () => import("./present-MHHNRVRA.js").then((m) => m.default),
172
- preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-CONUOFFQ.js").then((m) => m.default)),
173
- publish: () => import("./publish-YZSPBFRD.js").then((m) => m.default),
174
- open: () => import("./open-7IXXGO2E.js").then((m) => m.default),
175
- "catch-up": () => import("./catch-up-HGS7KIAC.js").then((m) => m.default),
176
- render: () => import("./render-MH4IUPWB.js").then((m) => m.default),
177
- lint: () => import("./lint-DWCMVIX5.js").then((m) => m.default),
178
- check: () => import("./check-FH6UYYLO.js").then((m) => m.default),
179
- beats: () => import("./beats-N5JGEOFR.js").then((m) => m.default),
180
- "normalize-audio": () => import("./normalize-audio-RFD776HQ.js").then((m) => m.default),
181
- inspect: () => import("./inspect-VKU47TBH.js").then((m) => m.default),
182
- keyframes: () => import("./keyframes-IEYVHRPI.js").then((m) => m.default),
183
- layout: () => import("./layout-XOI4PT7A.js").then((m) => m.default),
184
- info: () => import("./info-2CZOTNBC.js").then((m) => m.default),
185
- compositions: () => import("./compositions-CPCMWF24.js").then((m) => m.default),
186
- timeline: () => import("./timeline-T3QSGT3A.js").then((m) => m.default),
187
- history: () => import("./history-4IQOLTHJ.js").then((m) => m.default),
188
- benchmark: () => import("./benchmark-CUN3LN4V.js").then((m) => m.default),
189
- browser: () => import("./browser-NCZT5AP6.js").then((m) => m.default),
190
- "remove-background": () => import("./remove-background-4ATVLHLG.js").then((m) => m.default),
191
- transcribe: () => import("./transcribe-FOLNOC5G.js").then((m) => m.default),
170
+ play: () => import("./play-OI53WNUM.js").then((m) => m.default),
171
+ present: () => import("./present-NGMEQ4NO.js").then((m) => m.default),
172
+ preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-VT2HWRWZ.js").then((m) => m.default)),
173
+ publish: () => import("./publish-O5OL42BG.js").then((m) => m.default),
174
+ open: () => import("./open-HENOLVB2.js").then((m) => m.default),
175
+ "catch-up": () => import("./catch-up-4BSRN6IR.js").then((m) => m.default),
176
+ render: () => import("./render-Z253WHBK.js").then((m) => m.default),
177
+ lint: () => import("./lint-U6POHUON.js").then((m) => m.default),
178
+ check: () => import("./check-IA44QQWM.js").then((m) => m.default),
179
+ beats: () => import("./beats-37T6Y6QP.js").then((m) => m.default),
180
+ "normalize-audio": () => import("./normalize-audio-TYJ3UEHO.js").then((m) => m.default),
181
+ inspect: () => import("./inspect-F2HEL5ON.js").then((m) => m.default),
182
+ keyframes: () => import("./keyframes-7OY3LMAZ.js").then((m) => m.default),
183
+ layout: () => import("./layout-FTMLNL5A.js").then((m) => m.default),
184
+ info: () => import("./info-3GFWUBJC.js").then((m) => m.default),
185
+ compositions: () => import("./compositions-VB2J2LZI.js").then((m) => m.default),
186
+ timeline: () => import("./timeline-JIIJKKPC.js").then((m) => m.default),
187
+ history: () => import("./history-GGO5AWJB.js").then((m) => m.default),
188
+ benchmark: () => import("./benchmark-ZVVLOWPP.js").then((m) => m.default),
189
+ browser: () => import("./browser-4SSJOLH4.js").then((m) => m.default),
190
+ "remove-background": () => import("./remove-background-T2JM6UVP.js").then((m) => m.default),
191
+ transcribe: () => import("./transcribe-QSBP5MUG.js").then((m) => m.default),
192
192
  usage: () => import("./usage-EC3KFUIJ.js").then((m) => m.default),
193
- models: () => import("./models-TY4PJ545.js").then((m) => m.default),
193
+ models: () => import("./models-UCXB6UR5.js").then((m) => m.default),
194
194
  tts: () => import("./tts-B6AHFQEO.js").then((m) => m.default),
195
195
  docs: () => import("./docs-MPOM3PHH.js").then((m) => m.default),
196
- doctor: () => import("./doctor-GWI3B6JT.js").then((m) => m.default),
197
- clean: () => import("./clean-KPX27IKJ.js").then((m) => m.default),
198
- upgrade: () => import("./upgrade-TVGXBUPJ.js").then((m) => m.default),
199
- skills: () => import("./skills-VENERS5X.js").then((m) => m.default),
200
- feedback: () => import("./feedback-CXMD7FWL.js").then((m) => m.default),
196
+ doctor: () => import("./doctor-JMMUHDRV.js").then((m) => m.default),
197
+ clean: () => import("./clean-RDKJB5FK.js").then((m) => m.default),
198
+ upgrade: () => import("./upgrade-L5GISOEV.js").then((m) => m.default),
199
+ skills: () => import("./skills-ACDOO3PX.js").then((m) => m.default),
200
+ feedback: () => import("./feedback-FIID6MZW.js").then((m) => m.default),
201
201
  telemetry: () => import("./telemetry-W5AKPI4R.js").then((m) => m.default),
202
- events: () => import("./events-V2QFN4YM.js").then((m) => m.default),
203
- validate: () => import("./validate-ZMYGK4QI.js").then((m) => m.default),
204
- snapshot: () => import("./snapshot-C6T74HTI.js").then((m) => m.default),
205
- "media-treatment": () => import("./media-treatment-IFB7OSZ3.js").then((m) => m.mediaTreatmentCommand),
206
- "grade-compare": () => import("./grade-compare-STXQPKYQ.js").then((m) => m.default),
207
- compare: () => import("./compare-F6YAFZZM.js").then((m) => m.default),
208
- capture: () => import("./capture-YLS32UHT.js").then((m) => m.default),
209
- lambda: () => import("./lambda-TIKG25CK.js").then((m) => m.default),
210
- cloudrun: () => import("./cloudrun-XM56TBOH.js").then((m) => m.default),
211
- cloud: () => import("./cloud-P7DAOISN.js").then((m) => m.default),
212
- auth: () => import("./auth-IDSOIQWG.js").then((m) => m.default),
213
- figma: () => import("./figma-YABDWD66.js").then((m) => m.default)
202
+ events: () => import("./events-6ZBSIBE5.js").then((m) => m.default),
203
+ validate: () => import("./validate-HVVLX7KO.js").then((m) => m.default),
204
+ snapshot: () => import("./snapshot-UUVNZOW5.js").then((m) => m.default),
205
+ "media-treatment": () => import("./media-treatment-XGV44AGV.js").then((m) => m.mediaTreatmentCommand),
206
+ "grade-compare": () => import("./grade-compare-GDCWU7ZZ.js").then((m) => m.default),
207
+ compare: () => import("./compare-LEDOY7MO.js").then((m) => m.default),
208
+ capture: () => import("./capture-2SF7YP57.js").then((m) => m.default),
209
+ lambda: () => import("./lambda-6GJIWNJ3.js").then((m) => m.default),
210
+ cloudrun: () => import("./cloudrun-3RE2UCQG.js").then((m) => m.default),
211
+ cloud: () => import("./cloud-QVPVVNCW.js").then((m) => m.default),
212
+ auth: () => import("./auth-5HOVCZMV.js").then((m) => m.default),
213
+ figma: () => import("./figma-BL3JJC36.js").then((m) => m.default)
214
214
  };
215
215
  var subCommands = Object.fromEntries(
216
216
  Object.entries(commandLoaders).map(([name, load]) => [name, trackCommandFailures(load)])
@@ -234,7 +234,7 @@ var _printStalePinNotice;
234
234
  var _printSkillsUpdateNotice;
235
235
  var telemetryReady = Promise.resolve();
236
236
  if (!isHelp && command !== "telemetry" && command !== "events" && command !== "usage" && command !== "unknown") {
237
- telemetryReady = import("./telemetry-A23PPRD6.js").then((mod) => {
237
+ telemetryReady = import("./telemetry-PAOOB4T4.js").then((mod) => {
238
238
  _flushSync = mod.flushSync;
239
239
  _trackCliError = mod.trackCliError;
240
240
  _trackCommandResult = mod.trackCommandResult;
@@ -244,23 +244,23 @@ if (!isHelp && command !== "telemetry" && command !== "events" && command !== "u
244
244
  });
245
245
  }
246
246
  if (!isHelp && !hasJsonFlag && command !== "upgrade" && command !== "events" && command !== "telemetry" && command !== "skills" && command !== "usage") {
247
- import("./autoUpdate-373B4BA2.js").then((mod) => mod.reportCompletedUpdate()).catch(() => {
247
+ import("./autoUpdate-WVNL5K3D.js").then((mod) => mod.reportCompletedUpdate()).catch(() => {
248
248
  });
249
- import("./updateCheck-27PIP3AA.js").then(async (mod) => {
249
+ import("./updateCheck-V3DSB26K.js").then(async (mod) => {
250
250
  _printUpdateNotice = mod.printUpdateNotice;
251
251
  _printStalePinNotice = mod.printStalePinNotice;
252
252
  const result = mod.cachedUpdateCheck();
253
253
  if (result.updateAvailable) {
254
- const auto = await import("./autoUpdate-373B4BA2.js").catch(() => null);
254
+ const auto = await import("./autoUpdate-WVNL5K3D.js").catch(() => null);
255
255
  auto?.scheduleBackgroundInstall(result.latest, result.current);
256
256
  }
257
257
  }).catch(() => {
258
258
  });
259
- import("./skillsUpdateCheck-UXFYTACG.js").then((mod) => {
259
+ import("./skillsUpdateCheck-L5OXVVPU.js").then((mod) => {
260
260
  _printSkillsUpdateNotice = mod.printSkillsUpdateNotice;
261
261
  }).catch(() => {
262
262
  });
263
- import("./backgroundChecks-53Q3NAMG.js").then((mod) => mod.launchBackgroundChecks()).catch(() => {
263
+ import("./backgroundChecks-IGF54SFH.js").then((mod) => mod.launchBackgroundChecks()).catch(() => {
264
264
  });
265
265
  }
266
266
  var _appHistoryNotice = null;
@@ -378,7 +378,7 @@ process.on("unhandledRejection", (reason) => {
378
378
  emitCliErrorEvent("unhandled_rejection", error);
379
379
  });
380
380
  async function showUsage(cmd, parent) {
381
- const { showUsage: impl } = await import("./help-4H6BSFLB.js");
381
+ const { showUsage: impl } = await import("./help-HJR3RWFG.js");
382
382
  return impl(cmd, parent);
383
383
  }
384
384
  async function showRequestedUsage() {
@@ -55,10 +55,10 @@ ${c.bold("AUTH:")}
55
55
  var cloud_default = defineCommand({
56
56
  meta: { name: "cloud", description: "Render HyperFrames compositions on the HeyGen cloud" },
57
57
  subCommands: {
58
- render: () => import("./render-6FBYLYGJ.js").then((m) => m.default),
59
- list: () => import("./list-7GXKG5QM.js").then((m) => m.default),
60
- get: () => import("./get-L2SOQKHX.js").then((m) => m.default),
61
- delete: () => import("./delete-GYVKOKB6.js").then((m) => m.default)
58
+ render: () => import("./render-OLPKOJRU.js").then((m) => m.default),
59
+ list: () => import("./list-IP5KI5Q2.js").then((m) => m.default),
60
+ get: () => import("./get-P46GS7S6.js").then((m) => m.default),
61
+ delete: () => import("./delete-Q6RWMJ4Z.js").then((m) => m.default)
62
62
  },
63
63
  async run({ args }) {
64
64
  if (!args._?.[0]) console.log(HELP);
@@ -11,7 +11,7 @@ import {
11
11
  reportVariableIssues,
12
12
  resolveVariablesArg,
13
13
  validateVariablesAgainstProject
14
- } from "./chunk-7RAYSCYT.js";
14
+ } from "./chunk-R42WWQVB.js";
15
15
  import {
16
16
  readAllowedCompositionFpsFromDir
17
17
  } from "./chunk-WPNE5NEP.js";
@@ -23,8 +23,8 @@ import {
23
23
  import {
24
24
  failCommand
25
25
  } from "./chunk-PBN6GBJE.js";
26
- import "./chunk-3VYNNWVA.js";
27
- import "./chunk-WJB7WI4J.js";
26
+ import "./chunk-VRW6EBHV.js";
27
+ import "./chunk-AUWHD7RA.js";
28
28
  import "./chunk-VC76R6W2.js";
29
29
  import "./chunk-YA62XGXS.js";
30
30
  import "./chunk-MQZVBHEY.js";