hyperframes 0.9.11 → 0.9.12

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 (148) hide show
  1. package/dist/{add-IAFJH5RC.js → add-NLR4EVAF.js} +5 -5
  2. package/dist/api.js +6 -5
  3. package/dist/{asset-UR4PH6KJ.js → asset-7NPBAXDA.js} +2 -2
  4. package/dist/{audio-HZJ7QZQR.js → audio-ZNVUZH44.js} +9 -8
  5. package/dist/{auth-UBNAW62X.js → auth-PTVZNLE6.js} +1 -1
  6. package/dist/{autoUpdate-DDFTFHRP.js → autoUpdate-QJPCV7FB.js} +2 -2
  7. package/dist/{backgroundChecks-H3TNVYJV.js → backgroundChecks-UA6LCZAG.js} +3 -3
  8. package/dist/backgroundChecksWorker.js +3 -3
  9. package/dist/{batchRender-ZDL65J7N.js → batchRender-W4RXBUNE.js} +6 -3
  10. package/dist/{beats-HOIQSFFP.js → beats-IG7C72YF.js} +4 -4
  11. package/dist/{benchmark-ZYOQV7DK.js → benchmark-YUD3XIT2.js} +6 -6
  12. package/dist/{browser-PLFK53IZ.js → browser-TZILXH5J.js} +3 -3
  13. package/dist/{bundleWithLocalizedFonts-TH5SLG6O.js → bundleWithLocalizedFonts-BOIW3CIU.js} +1 -1
  14. package/dist/{catalog-CGT32566.js → catalog-AMPL57XF.js} +5 -5
  15. package/dist/{catch-up-TMYPXRKC.js → catch-up-WQ7ZRRFT.js} +4 -4
  16. package/dist/{check-4O5J4OWS.js → check-ZPBF3X5D.js} +14 -14
  17. package/dist/{checkAudio-AAVDZFIQ.js → checkAudio-IG3BOW2G.js} +2 -2
  18. package/dist/{checkBrowser-3OCZBJC7.js → checkBrowser-AIUIKFMJ.js} +8 -8
  19. package/dist/{chunk-YTNHZT47.js → chunk-3IKLV3D4.js} +1 -1
  20. package/dist/chunk-3S27CPV7.js +17 -0
  21. package/dist/{chunk-SUM3VFPQ.js → chunk-4XGASFTP.js} +2 -2
  22. package/dist/{chunk-XTYNW745.js → chunk-5WHGO5XU.js} +1 -1
  23. package/dist/{chunk-BBMMVLA3.js → chunk-64ZWPFAX.js} +1 -1
  24. package/dist/{chunk-MZHCA5KY.js → chunk-6IFY3ZQC.js} +2 -2
  25. package/dist/{chunk-CN3Q4CDK.js → chunk-6NKEEHFR.js} +8 -13
  26. package/dist/{chunk-ZUACTOAB.js → chunk-73EXHUMD.js} +1 -1
  27. package/dist/{chunk-DI3ZFBZ3.js → chunk-7XKWBMBL.js} +5 -3
  28. package/dist/{chunk-4ILKN2MX.js → chunk-B3IE7CN2.js} +2 -2
  29. package/dist/{chunk-KNOIX2U5.js → chunk-BW2RIJKV.js} +235 -192
  30. package/dist/{chunk-LWFXO732.js → chunk-FFUBISTD.js} +1 -1
  31. package/dist/{chunk-33K2UZBX.js → chunk-JKSASCBT.js} +2 -2
  32. package/dist/{chunk-WJ7E5J77.js → chunk-KDOJX2HU.js} +3 -3
  33. package/dist/{chunk-4YCNVKJX.js → chunk-KT4KPBI7.js} +1 -1
  34. package/dist/{chunk-37537KOL.js → chunk-LIN633KG.js} +2 -2
  35. package/dist/{chunk-OQGA4QBD.js → chunk-LO3EX3YP.js} +2 -2
  36. package/dist/{chunk-YJZYUXHQ.js → chunk-NTHJJ6JT.js} +2 -2
  37. package/dist/{chunk-LNTUFRZD.js → chunk-OQKAP6X4.js} +1 -1
  38. package/dist/{chunk-OKD2LP73.js → chunk-P3KBDUNS.js} +1 -1
  39. package/dist/{chunk-CUYVIDGF.js → chunk-P7Y2YCOF.js} +1 -1
  40. package/dist/{chunk-T4ELNOK6.js → chunk-Q225NLQL.js} +1 -1
  41. package/dist/{chunk-6DHC3MVK.js → chunk-QFZ3ZSXI.js} +1 -1
  42. package/dist/{chunk-7ZBMUKHY.js → chunk-RFTLWXEX.js} +2 -2
  43. package/dist/{chunk-G3ERWPNV.js → chunk-TNTQ7H24.js} +15 -1
  44. package/dist/{chunk-JT2ZGKKB.js → chunk-UH62KSYV.js} +1 -1
  45. package/dist/{chunk-EL2DMHA5.js → chunk-URJ7T6T6.js} +1 -1
  46. package/dist/{chunk-6JDNEQV5.js → chunk-VECINIPA.js} +1 -1
  47. package/dist/{chunk-CD65TPHT.js → chunk-VUMGJLRB.js} +1 -1
  48. package/dist/{chunk-OQHC5YIB.js → chunk-VWQY3A64.js} +1 -1
  49. package/dist/{chunk-I4XTKG2B.js → chunk-WQ4SMZDF.js} +2 -2
  50. package/dist/{chunk-IQ5OMRLK.js → chunk-WTGG734B.js} +2 -2
  51. package/dist/{chunk-QM4OL5MZ.js → chunk-X6XIY4JY.js} +4 -4
  52. package/dist/{chunk-IMK55N3Z.js → chunk-XJG65BB2.js} +4 -4
  53. package/dist/{chunk-SRVAYGTN.js → chunk-XZP5OW5V.js} +5 -4
  54. package/dist/{chunk-VWUUNGSV.js → chunk-YEBIOQRI.js} +1 -1
  55. package/dist/{chunk-6Y7WZTHJ.js → chunk-Z2DJSEQC.js} +13 -13
  56. package/dist/{chunk-NO6F7CLR.js → chunk-Z4GE5BXC.js} +5 -2
  57. package/dist/{clean-2FWZPS4J.js → clean-343XOJT3.js} +4 -4
  58. package/dist/cli.js +56 -56
  59. package/dist/{cloud-2UFI7NLD.js → cloud-2YS272KD.js} +4 -4
  60. package/dist/{cloud-Z3FNCC4T.js → cloud-B6SGMECY.js} +2 -1
  61. package/dist/{compare-HKRLSFTU.js → compare-KXCTMXFX.js} +8 -5
  62. package/dist/{component-F43F3363.js → component-ZUDCIGGD.js} +3 -3
  63. package/dist/{compositions-FFXCISLD.js → compositions-FNFI2QOA.js} +5 -5
  64. package/dist/{curve-RHSJUG5P.js → curve-5BMBBCSZ.js} +3 -3
  65. package/dist/{cuts-KVFY3U6C.js → cuts-OKUA6BWH.js} +3 -3
  66. package/dist/{delete-O7IZKKUN.js → delete-FYMFNSED.js} +5 -4
  67. package/dist/{deploy-PZAAUW75.js → deploy-YZU2YITA.js} +1 -1
  68. package/dist/{diff-OMNILRNN.js → diff-5X6I6EG5.js} +8 -7
  69. package/dist/{doctor-4HZN7ZVI.js → doctor-3DXWW63F.js} +3 -3
  70. package/dist/{energy-N3ZIPHTP.js → energy-4HY7COXH.js} +3 -3
  71. package/dist/{events-56A5D6DK.js → events-JAGPGK7R.js} +3 -3
  72. package/dist/{events-VAJ4Y6XF.js → events-TFVE7AUR.js} +2 -2
  73. package/dist/{events-TUTAERAN.js → events-ULVZ7V2C.js} +4 -4
  74. package/dist/{extract-NJMZEOLG.js → extract-5KTFRIH2.js} +9 -6
  75. package/dist/{face-KLV4W6CP.js → face-T6D34LR7.js} +6 -5
  76. package/dist/{feedback-4VEKGVLN.js → feedback-QQQYENCU.js} +4 -4
  77. package/dist/{figma-6XDKKOA6.js → figma-4RODZMCT.js} +3 -3
  78. package/dist/fontLocalizeCli.js +2 -2
  79. package/dist/{frames-IAMGMNCA.js → frames-L43TSSAY.js} +3 -3
  80. package/dist/{generate-FMATRA3L.js → generate-7HZKBLPZ.js} +5 -4
  81. package/dist/{get-JKA3APWR.js → get-MXKV4NUL.js} +5 -4
  82. package/dist/{grade-compare-TCLCDUG5.js → grade-compare-KNXFKMFI.js} +8 -6
  83. package/dist/{help-TWDOQJDN.js → help-YN43ORVX.js} +1 -1
  84. package/dist/{history-SOWVZUAB.js → history-VAMN53LT.js} +6 -6
  85. package/dist/hyperframes-player.global.js +1 -1
  86. package/dist/{info-JDINBZLH.js → info-QKEEGK2R.js} +5 -5
  87. package/dist/{init-ACNL6AFC.js → init-AAA44PYH.js} +6 -6
  88. package/dist/{ink-WNEJROFH.js → ink-V6CEFYB6.js} +3 -3
  89. package/dist/{inspect-37AMWUW3.js → inspect-5JGTWCYO.js} +6 -6
  90. package/dist/{keyframes-LMUFQW4Z.js → keyframes-FJNUSXAF.js} +6 -6
  91. package/dist/{lambda-DRGDNEW6.js → lambda-RYCG67CX.js} +1 -1
  92. package/dist/{layout-E63HPSXW.js → layout-DXIPVY3W.js} +6 -6
  93. package/dist/{lint-HNZPRCXH.js → lint-JZADWIMR.js} +6 -6
  94. package/dist/{list-UMR5VN2M.js → list-YRLUJMP6.js} +5 -4
  95. package/dist/{login-OXOPCSUY.js → login-H74JDEJ2.js} +4 -4
  96. package/dist/{look-DFQJP2LY.js → look-WVGBBYFE.js} +3 -3
  97. package/dist/{measure-Y2VXF6LJ.js → measure-DWQHHY3H.js} +11 -11
  98. package/dist/{media-treatment-U2PDH4P3.js → media-treatment-JHDDWRFU.js} +5 -5
  99. package/dist/{media-use-KGNGAQQP.js → media-use-5SDC3MCE.js} +2 -2
  100. package/dist/{models-HATSG3VK.js → models-6SOW23N6.js} +3 -3
  101. package/dist/{motionShot-45M7MSFQ.js → motionShot-B4K6LEU3.js} +5 -2
  102. package/dist/{normalize-audio-SOXEVIKM.js → normalize-audio-O6STMACD.js} +4 -4
  103. package/dist/{open-LRPNBFRW.js → open-VRCTXBD3.js} +4 -4
  104. package/dist/{parakeetRunner-A7Z6CQOT.js → parakeetRunner-MNOIBRZZ.js} +4 -3
  105. package/dist/{play-HTHDFMOU.js → play-5WUZGJ4B.js} +4 -4
  106. package/dist/{present-LQ4PJTP4.js → present-W7OODR7J.js} +4 -4
  107. package/dist/{preview-CTEDNFN3.js → preview-NOQSYZAD.js} +5 -5
  108. package/dist/{probe-6IZD5TPR.js → probe-WFIYEXM5.js} +5 -4
  109. package/dist/{producer-4CR46ON4.js → producer-HI6M6755.js} +1 -1
  110. package/dist/{render-JHSMAWED.js → render-74JIGKTN.js} +10 -9
  111. package/dist/{render-VZLEKSHR.js → render-GYQZQB2O.js} +16 -13
  112. package/dist/{reverse-SCXEQVRH.js → reverse-NEC42AID.js} +1 -1
  113. package/dist/{run-GRCZ6JO5.js → run-Z6AW753F.js} +2 -2
  114. package/dist/{sherpa-EENLR3RM.js → sherpa-2ROE6TLC.js} +3 -2
  115. package/dist/skills/hyperframes/SKILL.md +2 -2
  116. package/dist/skills/hyperframes/references/plugin-installation.md +5 -6
  117. package/dist/skills/hyperframes/references/skill-lifecycle.md +15 -10
  118. package/dist/skills/hyperframes/scripts/plugin-cli.mjs +2 -2
  119. package/dist/skills/hyperframes-cli/SKILL.md +3 -3
  120. package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +10 -14
  121. package/dist/skills/media-use/SKILL.md +1 -1
  122. package/dist/skills/media-use/audio/scripts/lib/sfx.mjs +2 -2
  123. package/dist/{skills-4TSYBAGW.js → skills-R56MSU2Y.js} +6 -6
  124. package/dist/{skillsUpdateCheck-MGXL5VXL.js → skillsUpdateCheck-I6G3MQWO.js} +3 -3
  125. package/dist/{snapshot-P27Y3NJE.js → snapshot-J2NU7WTJ.js} +8 -8
  126. package/dist/{src-MWO2XBSA.js → src-5XQ6A3VE.js} +1 -1
  127. package/dist/{start-L5M26YD5.js → start-VUMSNLKC.js} +5 -4
  128. package/dist/studio/assets/{hyperframes-player-BbRz52ui.js → hyperframes-player-Dw-0BWQW.js} +1 -1
  129. package/dist/studio/assets/{index-D3y5mWmH.js → index-BNZeN67E.js} +4 -4
  130. package/dist/studio/assets/{index-CCSgOq2L.js → index-NwWb1W86.js} +1 -1
  131. package/dist/studio/index.html +1 -1
  132. package/dist/{studioServer-J5RPUMHP.js → studioServer-XGR4YPXX.js} +7 -7
  133. package/dist/{sync-FHT2CHKU.js → sync-ZIMGTQEN.js} +3 -3
  134. package/dist/{synthesize-YYT7UON6.js → synthesize-S3FF5KXC.js} +4 -1
  135. package/dist/{telemetry-JWEOBK3Q.js → telemetry-PT5KSL5T.js} +3 -3
  136. package/dist/{templates-7DIQ52Y4.js → templates-7AT45DZI.js} +4 -1
  137. package/dist/{timeline-ZO3PNIET.js → timeline-IH422KGC.js} +5 -5
  138. package/dist/{tokens-X6OTCQCV.js → tokens-ZVJMHDTM.js} +2 -2
  139. package/dist/{transcribe-KNO3BK5S.js → transcribe-FRRXA77O.js} +8 -7
  140. package/dist/{tts-JHGGL7GL.js → tts-IMW74GBX.js} +1 -1
  141. package/dist/{update-WXGSPMEG.js → update-E2RIAV5T.js} +7 -7
  142. package/dist/{updateCheck-OBYSCTWV.js → updateCheck-EII7XDIR.js} +2 -2
  143. package/dist/{upgrade-YCCIVSI6.js → upgrade-BKGP2TM7.js} +3 -3
  144. package/dist/{upload-L5TSWWIU.js → upload-HMRWGZIO.js} +1 -1
  145. package/dist/{validate-TDVQ2B6Y.js → validate-M4FZVBRP.js} +6 -6
  146. package/dist/{voices-2LIY4CYK.js → voices-E5RUGLJK.js} +3 -3
  147. package/dist/warmCheck.js +14 -14
  148. package/package.json +1 -1
@@ -8,7 +8,10 @@ import {
8
8
  jsonArg,
9
9
  runMeasure,
10
10
  videoArg
11
- } from "./chunk-VWUUNGSV.js";
11
+ } from "./chunk-YEBIOQRI.js";
12
+ import {
13
+ makeOutputFolder
14
+ } from "./chunk-3S27CPV7.js";
12
15
  import {
13
16
  Fix,
14
17
  ffmpegBin,
@@ -22,7 +25,6 @@ import {
22
25
 
23
26
  // src/commands/measure/probe.ts
24
27
  import { execFileSync } from "child_process";
25
- import { mkdirSync } from "fs";
26
28
  import { dirname, resolve } from "path";
27
29
  var examples = [
28
30
  [
@@ -59,7 +61,7 @@ function normalize(info, out) {
59
61
  "zscale=t=linear:npl=100,format=gbrpf32le,zscale=p=bt709,tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv"
60
62
  );
61
63
  }
62
- mkdirSync(dirname(out), { recursive: true });
64
+ makeOutputFolder(dirname(out));
63
65
  runFfmpeg([
64
66
  ...["-y", "-i", info.path, "-vf", [...filters, "format=yuv420p"].join(",")],
65
67
  ...["-c:v", "libx264", "-crf", "12", "-preset", "medium", "-c:a", "aac", "-b:a", "192k", out]
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-TQBQYO4L.js";
10
10
  import {
11
11
  resolveProject
12
- } from "./chunk-BBMMVLA3.js";
12
+ } from "./chunk-64ZWPFAX.js";
13
13
  import {
14
14
  serveStaticProjectHtml
15
15
  } from "./chunk-2VYAX3ZD.js";
@@ -42,7 +42,7 @@ import {
42
42
  import {
43
43
  printDeprecationNotice,
44
44
  withMeta
45
- } from "./chunk-4YCNVKJX.js";
45
+ } from "./chunk-KT4KPBI7.js";
46
46
  import {
47
47
  failureMessage,
48
48
  jsonFailure
@@ -4995,194 +4995,8 @@ function startRenderEtaGuard(options) {
4995
4995
  return stop;
4996
4996
  }
4997
4997
 
4998
- // ../producer/src/services/render/segmentManifest.ts
4999
- import { createHash as createHash2 } from "crypto";
5000
- import { existsSync as existsSync7, mkdirSync as mkdirSync4, readFileSync as readFileSync4, statSync as statSync4, writeFileSync as writeFileSync3 } from "fs";
5001
- import { join as join11 } from "path";
5002
- var MANIFEST_FILENAME = "segments.json";
5003
- function computeSegmentPlanHash(input) {
5004
- const ordered = [
5005
- input.compositionHash,
5006
- input.cliVersion,
5007
- String(input.totalFrames),
5008
- String(input.segmentFrames),
5009
- `${input.fps.num}/${input.fps.den}`,
5010
- `${input.width}x${input.height}`,
5011
- input.codec,
5012
- input.preset,
5013
- input.quality === void 0 ? "" : String(input.quality),
5014
- input.bitrate ?? "",
5015
- input.pixelFormat ?? "",
5016
- input.imageFormat,
5017
- input.useGpu ? "gpu" : "cpu",
5018
- `${input.outputWidth}x${input.outputHeight}`,
5019
- input.motionBlur,
5020
- input.pageMotionBlur ?? "",
5021
- input.captureQuality === void 0 ? "" : String(input.captureQuality)
5022
- ];
5023
- const delivery = [input.maxBitrate, input.bufferSize, input.gopSize].map((v) => v ?? "");
5024
- if (delivery.some((v) => v !== "")) ordered.push(...delivery.map(String));
5025
- return createHash2("sha256").update(ordered.join(" ")).digest("hex").slice(0, 16);
5026
- }
5027
- function segmentDirFor(projectRendersDir, planHash) {
5028
- return join11(projectRendersDir, ".hf-segments", planHash);
5029
- }
5030
- function hasNumber(value, key) {
5031
- return key in value && typeof Reflect.get(value, key) === "number";
5032
- }
5033
- function hasString(value, key) {
5034
- return key in value && typeof Reflect.get(value, key) === "string";
5035
- }
5036
- function isEntry(value) {
5037
- if (typeof value !== "object" || value === null) return false;
5038
- return hasNumber(value, "index") && hasNumber(value, "startFrame") && hasNumber(value, "endFrame") && hasString(value, "path") && hasNumber(value, "bytes") && hasString(value, "completedAt");
5039
- }
5040
- function isManifest(value) {
5041
- if (typeof value !== "object" || value === null) return false;
5042
- const completed = Reflect.get(value, "completed");
5043
- return Reflect.get(value, "version") === 1 && hasString(value, "planHash") && hasNumber(value, "totalFrames") && hasNumber(value, "segmentFrames") && Array.isArray(completed) && completed.every(isEntry);
5044
- }
5045
- function readSegmentManifest(segmentDir) {
5046
- const path = join11(segmentDir, MANIFEST_FILENAME);
5047
- if (!existsSync7(path)) return null;
5048
- try {
5049
- const parsed = JSON.parse(readFileSync4(path, "utf-8"));
5050
- return isManifest(parsed) ? parsed : null;
5051
- } catch {
5052
- return null;
5053
- }
5054
- }
5055
- function writeSegmentManifest(segmentDir, manifest) {
5056
- mkdirSync4(segmentDir, { recursive: true });
5057
- const tmp = join11(segmentDir, `${MANIFEST_FILENAME}.${process.pid}.tmp`);
5058
- writeFileSync3(tmp, JSON.stringify(manifest, null, 2), "utf-8");
5059
- renameWithRetry(tmp, join11(segmentDir, MANIFEST_FILENAME));
5060
- }
5061
- async function probeSegmentFrameCount(path, probe) {
5062
- try {
5063
- const meta = await probe(path);
5064
- if (!Number.isFinite(meta.videoStreamDurationSeconds) || !Number.isFinite(meta.fps))
5065
- return null;
5066
- if (meta.fps <= 0) return null;
5067
- return Math.round(meta.videoStreamDurationSeconds * meta.fps);
5068
- } catch {
5069
- return null;
5070
- }
5071
- }
5072
- async function validateCompletedSegments(manifest, expectedHash, probeFrames) {
5073
- const ok = /* @__PURE__ */ new Set();
5074
- if (manifest.planHash !== expectedHash) return ok;
5075
- for (const entry of manifest.completed) {
5076
- if (!existsSync7(entry.path)) continue;
5077
- const size = statSync4(entry.path).size;
5078
- if (size <= 0 || size !== entry.bytes) continue;
5079
- const frames = await probeFrames(entry.path);
5080
- if (frames !== entry.endFrame - entry.startFrame) continue;
5081
- ok.add(entry.index);
5082
- }
5083
- return ok;
5084
- }
5085
-
5086
- // ../producer/src/services/render/hdrMode.ts
5087
- function formatDowngradeWarning(outputFormat, forcedHdrWithoutSources) {
5088
- const hdrSourceReason = forcedHdrWithoutSources ? "HDR was forced without detected HDR sources" : "HDR source detected";
5089
- const formatReason = outputFormat === "hls" ? "HLS output is SDR-only (H.264 in MPEG-TS)" : "HDR + alpha is not supported";
5090
- return `[Render] ${hdrSourceReason}, but format is "${outputFormat}", so falling back to SDR. ${formatReason}. Use --format mp4 for HDR10 output.`;
5091
- }
5092
- function findRenderHdrAutoPromotionTrigger(input) {
5093
- for (const extracted of input.extractionResult?.extracted ?? []) {
5094
- if (!isHdrColorSpace(extracted.metadata.colorSpace)) continue;
5095
- const source = input.videos.find(({ id }) => id === extracted.videoId)?.src;
5096
- if (source) return source;
5097
- }
5098
- return input.images.find(({ id }) => input.nativeHdrImageIds.has(id))?.src;
5099
- }
5100
- function logGradingResolution(input, hdrMode, effectiveHdr, hasHdrSource) {
5101
- const keptSdr = hasHdrSource && gradingKeepsSdr(hdrMode, input.media);
5102
- if (keptSdr) {
5103
- input.log.warn(
5104
- "[Render] HDR source detected, but color grading is SDR-only, so rendering SDR: HDR sources are tone-mapped before the grade. Use --hdr to force HDR output (grades stay SDR)."
5105
- );
5106
- } else if (effectiveHdr && [...input.media.videos, ...input.media.images].some((m) => m.graded)) {
5107
- input.log.warn(
5108
- "[Render] HDR output with graded media: color grading is SDR-only, so graded elements are graded in SDR and placed in the HDR output."
5109
- );
5110
- }
5111
- return keptSdr;
5112
- }
5113
- function logHdrResolution(input, hdrMode, effectiveHdr, forcedHdrWithoutSources, hasHdrSource) {
5114
- const keptSdrForGrading = logGradingResolution(input, hdrMode, effectiveHdr, hasHdrSource);
5115
- if (forcedHdrWithoutSources) {
5116
- input.log.warn(
5117
- "[Render] HDR forced by --hdr flag, but no HDR sources were detected, defaulting to HLG. SDR-only compositions may look perceptually wrong on HDR displays."
5118
- );
5119
- }
5120
- if (!effectiveHdr) {
5121
- if (keptSdrForGrading) return;
5122
- input.log.info(
5123
- hdrMode === "force-sdr" ? "[Render] SDR forced by --sdr flag" : "[Render] No HDR sources detected, rendering SDR"
5124
- );
5125
- return;
5126
- }
5127
- if (hdrMode === "auto") {
5128
- input.log.warn(
5129
- formatHdrAutoPromotionWarning({
5130
- triggeringAsset: sanitizeHdrAutoPromotionAsset(
5131
- input.autoPromotionTrigger ?? "an HDR-tagged asset"
5132
- ),
5133
- output: HDR_AUTO_PROMOTION_PIPELINE
5134
- })
5135
- );
5136
- return;
5137
- }
5138
- const reason = forcedHdrWithoutSources ? "forced by --hdr flag (no HDR sources detected, defaulting to HLG)" : "forced by --hdr flag";
5139
- input.log.info(
5140
- `[Render] HDR ${reason}, output: ${effectiveHdr.transfer.toUpperCase()} (BT.2020, 10-bit H.265)`
5141
- );
5142
- }
5143
- function formatCarriesHdr(format) {
5144
- return format === "mp4";
5145
- }
5146
- function rendersSdrOnly(config, media) {
5147
- return config.hdrMode === "force-sdr" || gradingKeepsSdr(config.hdrMode, media) || !formatCarriesHdr(config.format ?? "mp4");
5148
- }
5149
- function resolveEffectiveHdrMode(input) {
5150
- const hdrMode = input.hdrMode ?? "auto";
5151
- const videoColorSpaces = (input.extractionResult?.extracted ?? []).map(
5152
- (ext) => ext.metadata.colorSpace
5153
- );
5154
- const allColorSpaces = [...videoColorSpaces, ...input.imageColorSpaces];
5155
- const info = allColorSpaces.length > 0 ? analyzeCompositionHdr(allColorSpaces) : null;
5156
- let effectiveHdr;
5157
- let forcedHdrWithoutSources = false;
5158
- if (hdrMode === "force-sdr" || gradingKeepsSdr(hdrMode, input.media)) {
5159
- effectiveHdr = void 0;
5160
- } else if (hdrMode === "force-hdr") {
5161
- if (info?.hasHdr && info.dominantTransfer) {
5162
- effectiveHdr = { transfer: info.dominantTransfer };
5163
- } else {
5164
- effectiveHdr = { transfer: "hlg" };
5165
- forcedHdrWithoutSources = true;
5166
- }
5167
- } else if (info?.hasHdr && info.dominantTransfer) {
5168
- effectiveHdr = { transfer: info.dominantTransfer };
5169
- }
5170
- if (effectiveHdr && !formatCarriesHdr(input.outputFormat)) {
5171
- input.log.warn(formatDowngradeWarning(input.outputFormat, forcedHdrWithoutSources));
5172
- effectiveHdr = void 0;
5173
- }
5174
- logHdrResolution(input, hdrMode, effectiveHdr, forcedHdrWithoutSources, info?.hasHdr === true);
5175
- return effectiveHdr;
5176
- }
5177
-
5178
- // ../producer/src/services/render/captureBeyondViewport.ts
5179
- function resolveVideoCaptureBeyondViewport(videoCount) {
5180
- if (videoCount <= 0) return void 0;
5181
- return true;
5182
- }
5183
-
5184
4998
  // ../producer/src/services/render/captureCost.ts
5185
- import { join as join12 } from "path";
4999
+ import { join as join11 } from "path";
5186
5000
  var CAPTURE_CALIBRATION_TARGET_MS = 600;
5187
5001
  var MAX_MEASURED_CAPTURE_COST_MULTIPLIER = 8;
5188
5002
  var CAPTURE_CALIBRATION_PROTOCOL_TIMEOUT_MS = 3e4;
@@ -5378,6 +5192,7 @@ async function runCaptureCalibration(input) {
5378
5192
  let probeSession = input.probeSession;
5379
5193
  let forceScreenshot = input.forceScreenshot;
5380
5194
  let lastBrowserConsole = [];
5195
+ let calibrationEvaluateTimedOut = false;
5381
5196
  const fps = fpsToNumber(job.config.fps);
5382
5197
  const sessionRef = { current: null };
5383
5198
  const runOneCalibration = async (sessionDir, sessionCfg) => {
@@ -5418,11 +5233,12 @@ async function runCaptureCalibration(input) {
5418
5233
  });
5419
5234
  let calibration;
5420
5235
  try {
5421
- calibration = await runOneCalibration(join12(workDir, "capture-calibration"), calibrationCfg);
5236
+ calibration = await runOneCalibration(join11(workDir, "capture-calibration"), calibrationCfg);
5422
5237
  } catch (error) {
5423
5238
  const shouldFallback = !forceScreenshot && shouldFallbackToScreenshotAfterCalibrationError(error);
5424
5239
  if (!shouldFallback) {
5425
5240
  calibration = createFailedCaptureCalibrationEstimate("calibration-failed");
5241
+ calibrationEvaluateTimedOut = isEvaluateTimeout(error);
5426
5242
  log.warn("[Render] Auto-worker calibration failed; using conservative worker budget.", {
5427
5243
  protocolTimeout: calibrationCfg.protocolTimeout,
5428
5244
  error: error instanceof Error ? error.message : String(error)
@@ -5451,11 +5267,12 @@ async function runCaptureCalibration(input) {
5451
5267
  const screenshotCfg = createCaptureCalibrationConfig({ ...cfg, forceScreenshot: true });
5452
5268
  try {
5453
5269
  calibration = await runOneCalibration(
5454
- join12(workDir, "capture-calibration-screenshot"),
5270
+ join11(workDir, "capture-calibration-screenshot"),
5455
5271
  screenshotCfg
5456
5272
  );
5457
5273
  } catch (fallbackError) {
5458
5274
  calibration = createFailedCaptureCalibrationEstimate("calibration-screenshot-failed");
5275
+ calibrationEvaluateTimedOut = isEvaluateTimeout(fallbackError);
5459
5276
  log.warn(
5460
5277
  "[Render] Screenshot auto-worker calibration failed after BeginFrame fallback; using conservative worker budget.",
5461
5278
  {
@@ -5472,7 +5289,16 @@ async function runCaptureCalibration(input) {
5472
5289
  });
5473
5290
  }
5474
5291
  }
5475
- return { calibration, forceScreenshot, probeSession, lastBrowserConsole };
5292
+ return {
5293
+ calibration,
5294
+ forceScreenshot,
5295
+ probeSession,
5296
+ lastBrowserConsole,
5297
+ calibrationEvaluateTimedOut
5298
+ };
5299
+ }
5300
+ function isEvaluateTimeout(error) {
5301
+ return /Runtime\.evaluate timed out/i.test(normalizeErrorMessage(error));
5476
5302
  }
5477
5303
  function shouldFallbackToScreenshotAfterCalibrationError(error) {
5478
5304
  const message = normalizeErrorMessage(error);
@@ -5481,6 +5307,215 @@ function shouldFallbackToScreenshotAfterCalibrationError(error) {
5481
5307
  );
5482
5308
  }
5483
5309
 
5310
+ // ../producer/src/services/render/pageNeverReady.ts
5311
+ var PAGE_NEVER_READY = "PAGE_NEVER_READY";
5312
+ var PageNeverReadyError = class extends Error {
5313
+ code = PAGE_NEVER_READY;
5314
+ // The producer server reads these off the error for the wire envelope.
5315
+ owner = "user";
5316
+ retryable = false;
5317
+ constructor(cause) {
5318
+ super(
5319
+ "The composition page never became ready: it did not answer browser commands during calibration or capture, and no frame was captured. Its script may never return.",
5320
+ { cause }
5321
+ );
5322
+ this.name = "PageNeverReadyError";
5323
+ }
5324
+ };
5325
+ function checkPageNeverReady(input) {
5326
+ const { calibrationEvaluateTimedOut, framesRendered, error } = input;
5327
+ if (!calibrationEvaluateTimedOut || framesRendered > 0 || !isEvaluateTimeout(error)) {
5328
+ return void 0;
5329
+ }
5330
+ return new PageNeverReadyError(error);
5331
+ }
5332
+
5333
+ // ../producer/src/services/render/segmentManifest.ts
5334
+ import { createHash as createHash2 } from "crypto";
5335
+ import { existsSync as existsSync7, mkdirSync as mkdirSync4, readFileSync as readFileSync4, statSync as statSync4, writeFileSync as writeFileSync3 } from "fs";
5336
+ import { join as join12 } from "path";
5337
+ var MANIFEST_FILENAME = "segments.json";
5338
+ function computeSegmentPlanHash(input) {
5339
+ const ordered = [
5340
+ input.compositionHash,
5341
+ input.cliVersion,
5342
+ String(input.totalFrames),
5343
+ String(input.segmentFrames),
5344
+ `${input.fps.num}/${input.fps.den}`,
5345
+ `${input.width}x${input.height}`,
5346
+ input.codec,
5347
+ input.preset,
5348
+ input.quality === void 0 ? "" : String(input.quality),
5349
+ input.bitrate ?? "",
5350
+ input.pixelFormat ?? "",
5351
+ input.imageFormat,
5352
+ input.useGpu ? "gpu" : "cpu",
5353
+ `${input.outputWidth}x${input.outputHeight}`,
5354
+ input.motionBlur,
5355
+ input.pageMotionBlur ?? "",
5356
+ input.captureQuality === void 0 ? "" : String(input.captureQuality)
5357
+ ];
5358
+ const delivery = [input.maxBitrate, input.bufferSize, input.gopSize].map((v) => v ?? "");
5359
+ if (delivery.some((v) => v !== "")) ordered.push(...delivery.map(String));
5360
+ return createHash2("sha256").update(ordered.join(" ")).digest("hex").slice(0, 16);
5361
+ }
5362
+ function segmentDirFor(projectRendersDir, planHash) {
5363
+ return join12(projectRendersDir, ".hf-segments", planHash);
5364
+ }
5365
+ function hasNumber(value, key) {
5366
+ return key in value && typeof Reflect.get(value, key) === "number";
5367
+ }
5368
+ function hasString(value, key) {
5369
+ return key in value && typeof Reflect.get(value, key) === "string";
5370
+ }
5371
+ function isEntry(value) {
5372
+ if (typeof value !== "object" || value === null) return false;
5373
+ return hasNumber(value, "index") && hasNumber(value, "startFrame") && hasNumber(value, "endFrame") && hasString(value, "path") && hasNumber(value, "bytes") && hasString(value, "completedAt");
5374
+ }
5375
+ function isManifest(value) {
5376
+ if (typeof value !== "object" || value === null) return false;
5377
+ const completed = Reflect.get(value, "completed");
5378
+ return Reflect.get(value, "version") === 1 && hasString(value, "planHash") && hasNumber(value, "totalFrames") && hasNumber(value, "segmentFrames") && Array.isArray(completed) && completed.every(isEntry);
5379
+ }
5380
+ function readSegmentManifest(segmentDir) {
5381
+ const path = join12(segmentDir, MANIFEST_FILENAME);
5382
+ if (!existsSync7(path)) return null;
5383
+ try {
5384
+ const parsed = JSON.parse(readFileSync4(path, "utf-8"));
5385
+ return isManifest(parsed) ? parsed : null;
5386
+ } catch {
5387
+ return null;
5388
+ }
5389
+ }
5390
+ function writeSegmentManifest(segmentDir, manifest) {
5391
+ mkdirSync4(segmentDir, { recursive: true });
5392
+ const tmp = join12(segmentDir, `${MANIFEST_FILENAME}.${process.pid}.tmp`);
5393
+ writeFileSync3(tmp, JSON.stringify(manifest, null, 2), "utf-8");
5394
+ renameWithRetry(tmp, join12(segmentDir, MANIFEST_FILENAME));
5395
+ }
5396
+ async function probeSegmentFrameCount(path, probe) {
5397
+ try {
5398
+ const meta = await probe(path);
5399
+ if (!Number.isFinite(meta.videoStreamDurationSeconds) || !Number.isFinite(meta.fps))
5400
+ return null;
5401
+ if (meta.fps <= 0) return null;
5402
+ return Math.round(meta.videoStreamDurationSeconds * meta.fps);
5403
+ } catch {
5404
+ return null;
5405
+ }
5406
+ }
5407
+ async function validateCompletedSegments(manifest, expectedHash, probeFrames) {
5408
+ const ok = /* @__PURE__ */ new Set();
5409
+ if (manifest.planHash !== expectedHash) return ok;
5410
+ for (const entry of manifest.completed) {
5411
+ if (!existsSync7(entry.path)) continue;
5412
+ const size = statSync4(entry.path).size;
5413
+ if (size <= 0 || size !== entry.bytes) continue;
5414
+ const frames = await probeFrames(entry.path);
5415
+ if (frames !== entry.endFrame - entry.startFrame) continue;
5416
+ ok.add(entry.index);
5417
+ }
5418
+ return ok;
5419
+ }
5420
+
5421
+ // ../producer/src/services/render/hdrMode.ts
5422
+ function formatDowngradeWarning(outputFormat, forcedHdrWithoutSources) {
5423
+ const hdrSourceReason = forcedHdrWithoutSources ? "HDR was forced without detected HDR sources" : "HDR source detected";
5424
+ const formatReason = outputFormat === "hls" ? "HLS output is SDR-only (H.264 in MPEG-TS)" : "HDR + alpha is not supported";
5425
+ return `[Render] ${hdrSourceReason}, but format is "${outputFormat}", so falling back to SDR. ${formatReason}. Use --format mp4 for HDR10 output.`;
5426
+ }
5427
+ function findRenderHdrAutoPromotionTrigger(input) {
5428
+ for (const extracted of input.extractionResult?.extracted ?? []) {
5429
+ if (!isHdrColorSpace(extracted.metadata.colorSpace)) continue;
5430
+ const source = input.videos.find(({ id }) => id === extracted.videoId)?.src;
5431
+ if (source) return source;
5432
+ }
5433
+ return input.images.find(({ id }) => input.nativeHdrImageIds.has(id))?.src;
5434
+ }
5435
+ function logGradingResolution(input, hdrMode, effectiveHdr, hasHdrSource) {
5436
+ const keptSdr = hasHdrSource && gradingKeepsSdr(hdrMode, input.media);
5437
+ if (keptSdr) {
5438
+ input.log.warn(
5439
+ "[Render] HDR source detected, but color grading is SDR-only, so rendering SDR: HDR sources are tone-mapped before the grade. Use --hdr to force HDR output (grades stay SDR)."
5440
+ );
5441
+ } else if (effectiveHdr && [...input.media.videos, ...input.media.images].some((m) => m.graded)) {
5442
+ input.log.warn(
5443
+ "[Render] HDR output with graded media: color grading is SDR-only, so graded elements are graded in SDR and placed in the HDR output."
5444
+ );
5445
+ }
5446
+ return keptSdr;
5447
+ }
5448
+ function logHdrResolution(input, hdrMode, effectiveHdr, forcedHdrWithoutSources, hasHdrSource) {
5449
+ const keptSdrForGrading = logGradingResolution(input, hdrMode, effectiveHdr, hasHdrSource);
5450
+ if (forcedHdrWithoutSources) {
5451
+ input.log.warn(
5452
+ "[Render] HDR forced by --hdr flag, but no HDR sources were detected, defaulting to HLG. SDR-only compositions may look perceptually wrong on HDR displays."
5453
+ );
5454
+ }
5455
+ if (!effectiveHdr) {
5456
+ if (keptSdrForGrading) return;
5457
+ input.log.info(
5458
+ hdrMode === "force-sdr" ? "[Render] SDR forced by --sdr flag" : "[Render] No HDR sources detected, rendering SDR"
5459
+ );
5460
+ return;
5461
+ }
5462
+ if (hdrMode === "auto") {
5463
+ input.log.warn(
5464
+ formatHdrAutoPromotionWarning({
5465
+ triggeringAsset: sanitizeHdrAutoPromotionAsset(
5466
+ input.autoPromotionTrigger ?? "an HDR-tagged asset"
5467
+ ),
5468
+ output: HDR_AUTO_PROMOTION_PIPELINE
5469
+ })
5470
+ );
5471
+ return;
5472
+ }
5473
+ const reason = forcedHdrWithoutSources ? "forced by --hdr flag (no HDR sources detected, defaulting to HLG)" : "forced by --hdr flag";
5474
+ input.log.info(
5475
+ `[Render] HDR ${reason}, output: ${effectiveHdr.transfer.toUpperCase()} (BT.2020, 10-bit H.265)`
5476
+ );
5477
+ }
5478
+ function formatCarriesHdr(format) {
5479
+ return format === "mp4";
5480
+ }
5481
+ function rendersSdrOnly(config, media) {
5482
+ return config.hdrMode === "force-sdr" || gradingKeepsSdr(config.hdrMode, media) || !formatCarriesHdr(config.format ?? "mp4");
5483
+ }
5484
+ function resolveEffectiveHdrMode(input) {
5485
+ const hdrMode = input.hdrMode ?? "auto";
5486
+ const videoColorSpaces = (input.extractionResult?.extracted ?? []).map(
5487
+ (ext) => ext.metadata.colorSpace
5488
+ );
5489
+ const allColorSpaces = [...videoColorSpaces, ...input.imageColorSpaces];
5490
+ const info = allColorSpaces.length > 0 ? analyzeCompositionHdr(allColorSpaces) : null;
5491
+ let effectiveHdr;
5492
+ let forcedHdrWithoutSources = false;
5493
+ if (hdrMode === "force-sdr" || gradingKeepsSdr(hdrMode, input.media)) {
5494
+ effectiveHdr = void 0;
5495
+ } else if (hdrMode === "force-hdr") {
5496
+ if (info?.hasHdr && info.dominantTransfer) {
5497
+ effectiveHdr = { transfer: info.dominantTransfer };
5498
+ } else {
5499
+ effectiveHdr = { transfer: "hlg" };
5500
+ forcedHdrWithoutSources = true;
5501
+ }
5502
+ } else if (info?.hasHdr && info.dominantTransfer) {
5503
+ effectiveHdr = { transfer: info.dominantTransfer };
5504
+ }
5505
+ if (effectiveHdr && !formatCarriesHdr(input.outputFormat)) {
5506
+ input.log.warn(formatDowngradeWarning(input.outputFormat, forcedHdrWithoutSources));
5507
+ effectiveHdr = void 0;
5508
+ }
5509
+ logHdrResolution(input, hdrMode, effectiveHdr, forcedHdrWithoutSources, info?.hasHdr === true);
5510
+ return effectiveHdr;
5511
+ }
5512
+
5513
+ // ../producer/src/services/render/captureBeyondViewport.ts
5514
+ function resolveVideoCaptureBeyondViewport(videoCount) {
5515
+ if (videoCount <= 0) return void 0;
5516
+ return true;
5517
+ }
5518
+
5484
5519
  // ../producer/src/services/render/observability.ts
5485
5520
  import { createHash as createHash3 } from "crypto";
5486
5521
  var MAX_EVENTS = 160;
@@ -12670,6 +12705,7 @@ async function executeRenderPipeline(input) {
12670
12705
  const onProgress = execution.onProgress;
12671
12706
  const tooSlow = new AbortController();
12672
12707
  let tooSlowError;
12708
+ let calibrationEvaluateTimedOut = false;
12673
12709
  const executionSignal = job.config.maxRenderMs ? AbortSignal.any([tooSlow.signal, ...execution.signal ? [execution.signal] : []]) : execution.signal;
12674
12710
  let fileServer = null;
12675
12711
  let probeSession = null;
@@ -13412,6 +13448,7 @@ async function executeRenderPipeline(input) {
13412
13448
  { heartbeatMessage: "browser calibrating (frames not started)" }
13413
13449
  );
13414
13450
  captureCalibration = outcome.calibration;
13451
+ calibrationEvaluateTimedOut = outcome.calibrationEvaluateTimedOut;
13415
13452
  captureForceScreenshot = outcome.forceScreenshot;
13416
13453
  updateCaptureObservability({ forceScreenshot: captureForceScreenshot });
13417
13454
  probeSession = outcome.probeSession;
@@ -14562,7 +14599,12 @@ async function executeRenderPipeline(input) {
14562
14599
  await eventPublisher.flush();
14563
14600
  } catch (caught) {
14564
14601
  await pendingAudio;
14565
- const error = surfaceScriptFailure(tooSlowError ?? caught, job);
14602
+ const pageNeverReady = checkPageNeverReady({
14603
+ calibrationEvaluateTimedOut,
14604
+ framesRendered: job.framesRendered ?? 0,
14605
+ error: caught
14606
+ });
14607
+ const error = surfaceScriptFailure(tooSlowError ?? pageNeverReady ?? caught, job);
14566
14608
  if (!tooSlowError && (error instanceof RenderCancelledError || executionSignal?.aborted)) {
14567
14609
  job.error = error instanceof Error ? error.message : "render_cancelled";
14568
14610
  updateJobStatus(job, "cancelled", "Render cancelled", job.progress, onProgress);
@@ -18949,7 +18991,8 @@ var SAFE_RENDER_ERROR_CODES = /* @__PURE__ */ new Set([
18949
18991
  "VIDEO_EXTRACTION_FAILED",
18950
18992
  "ENCODER_INTERRUPTED",
18951
18993
  "RENDER_TOO_SLOW",
18952
- "RENDER_STAGE_STALLED"
18994
+ "RENDER_STAGE_STALLED",
18995
+ "PAGE_NEVER_READY"
18953
18996
  ]);
18954
18997
  function extractSafeRenderErrorCode(error) {
18955
18998
  if (typeof error !== "object" || error === null || !("code" in error)) return void 0;
@@ -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-JT2ZGKKB.js";
9
+ } from "./chunk-UH62KSYV.js";
10
10
 
11
11
  // src/telemetry/renderObservability.ts
12
12
  function renderObservabilityTelemetryPayload(observability) {
@@ -20,7 +20,7 @@ import {
20
20
  typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-6JDNEQV5.js";
23
+ } from "./chunk-VECINIPA.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-DL4OD7IA.js";
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
229
229
  rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
230
230
  );
231
231
  }
232
- const { trackFigmaImport } = await import("./telemetry-JWEOBK3Q.js");
232
+ const { trackFigmaImport } = await import("./telemetry-PT5KSL5T.js");
233
233
  trackFigmaImport({
234
234
  phase: "asset",
235
235
  reused: results.every((r) => r.reused),
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveProject
9
- } from "./chunk-BBMMVLA3.js";
9
+ } from "./chunk-64ZWPFAX.js";
10
10
  import {
11
11
  installPageFunctionGuard,
12
12
  resolveCliChromeGpuMode,
@@ -38,7 +38,7 @@ import {
38
38
  import {
39
39
  printDeprecationNotice,
40
40
  withMeta
41
- } from "./chunk-4YCNVKJX.js";
41
+ } from "./chunk-KT4KPBI7.js";
42
42
  import {
43
43
  failureMessage,
44
44
  jsonFailure
@@ -253,7 +253,7 @@ function extractCompositionErrorsFromLint(lintResult) {
253
253
  async function localizeRemoteAssets(html) {
254
254
  let dir;
255
255
  try {
256
- const { loadProducer } = await import("./producer-4CR46ON4.js");
256
+ const { loadProducer } = await import("./producer-HI6M6755.js");
257
257
  const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
258
258
  dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
259
259
  const assetDir = dir;
@@ -25,7 +25,7 @@ import {
25
25
  } from "./chunk-J3RXEDR2.js";
26
26
  import {
27
27
  VERSION
28
- } from "./chunk-I4XTKG2B.js";
28
+ } from "./chunk-WQ4SMZDF.js";
29
29
 
30
30
  // src/utils/updateCheck.ts
31
31
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-6DHC3MVK.js";
10
+ } from "./chunk-QFZ3ZSXI.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-JT2ZGKKB.js";
13
+ } from "./chunk-UH62KSYV.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-2GICKZ3I.js";
@@ -44,14 +44,14 @@ import {
44
44
  runningInstall,
45
45
  updateCommandFor,
46
46
  withMeta
47
- } from "./chunk-4YCNVKJX.js";
47
+ } from "./chunk-KT4KPBI7.js";
48
48
  import {
49
49
  CONFIG_PATH,
50
50
  withFileLock
51
51
  } from "./chunk-BONBJJ35.js";
52
52
  import {
53
53
  VERSION
54
- } from "./chunk-I4XTKG2B.js";
54
+ } from "./chunk-WQ4SMZDF.js";
55
55
  import {
56
56
  normalizeErrorMessage
57
57
  } from "./chunk-E63BDV4Z.js";
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parakeetRunner
9
- } from "./chunk-XTYNW745.js";
9
+ } from "./chunk-5WHGO5XU.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-YTNHZT47.js";
15
+ } from "./chunk-3IKLV3D4.js";
16
16
  import {
17
17
  idempotencyKey,
18
18
  runJob
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-HBAUU3IK.js";
20
20
  import {
21
21
  uploadAssetViaDirectUpload
22
- } from "./chunk-G3ERWPNV.js";
22
+ } from "./chunk-TNTQ7H24.js";
23
23
  import {
24
24
  refreshIfNeeded,
25
25
  resolveCloudBaseUrl