hyperframes 0.8.157 → 0.8.159

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 (155) hide show
  1. package/README.md +14 -0
  2. package/dist/{add-XKIJJAC6.js → add-7UMRT6IJ.js} +11 -11
  3. package/dist/{animatedGifPrep-MTJRHJ5G.js → animatedGifPrep-COFZMEVD.js} +5 -5
  4. package/dist/api.js +11 -11
  5. package/dist/{asset-TEWIJMG5.js → asset-N37XIJTB.js} +2 -2
  6. package/dist/{assetCataloger-DI7FC5KZ.js → assetCataloger-ZOQ67MGR.js} +2 -2
  7. package/dist/{auth-ERW6EOVW.js → auth-GKFS2PL6.js} +1 -1
  8. package/dist/{autoUpdate-IHYT5BQF.js → autoUpdate-V4PLREDQ.js} +2 -2
  9. package/dist/{backgroundChecks-DTKZTDHN.js → backgroundChecks-TVOKARY2.js} +3 -3
  10. package/dist/backgroundChecksWorker.js +3 -3
  11. package/dist/{batchRender-FTZ67377.js → batchRender-IARQXQHN.js} +3 -3
  12. package/dist/{beats-AE4ZKJ3I.js → beats-FY4UDXBL.js} +11 -10
  13. package/dist/{benchmark-Q3YSQVWW.js → benchmark-ZJYFRFYF.js} +8 -8
  14. package/dist/{browser-IRRLG5FG.js → browser-WRZOH4PD.js} +3 -3
  15. package/dist/{bundleWithLocalizedFonts-IVO43QBQ.js → bundleWithLocalizedFonts-SFHKZZAX.js} +2 -2
  16. package/dist/{capture-ANATPLOS.js → capture-KFYPMVTT.js} +18 -8
  17. package/dist/{capture-MVH3XNAE.js → capture-LLLIHYEF.js} +2 -2
  18. package/dist/{catalog-5BJJW3G4.js → catalog-QO762U7V.js} +11 -11
  19. package/dist/{catch-up-DU2O72RS.js → catch-up-MELHNTGB.js} +4 -4
  20. package/dist/{check-P5D3YU2H.js → check-RX3LTKYB.js} +38 -37
  21. package/dist/{checkBrowser-RNIDFQZZ.js → checkBrowser-EUUMEILI.js} +35 -34
  22. package/dist/{chunk-YBKIAQNU.js → chunk-24N3BB5M.js} +3 -3
  23. package/dist/{chunk-IRRRH66M.js → chunk-2CEH75X3.js} +115 -13
  24. package/dist/{chunk-LQXHRO6F.js → chunk-3W3MOLRL.js} +2 -2
  25. package/dist/{chunk-EYNN5DJG.js → chunk-4D5RBIX6.js} +30 -10
  26. package/dist/{chunk-4YDQQQY6.js → chunk-4DEBDQD4.js} +2 -2
  27. package/dist/{chunk-6B6G3QMQ.js → chunk-4IKI2RYR.js} +11 -11
  28. package/dist/{chunk-QAWCWGQG.js → chunk-5GPX4X4L.js} +2 -2
  29. package/dist/{chunk-WZBGU46C.js → chunk-5HNZQSO4.js} +1 -1
  30. package/dist/{chunk-OTG5H2VM.js → chunk-5O6I5ZV7.js} +2 -2
  31. package/dist/{chunk-ZFZNPLRJ.js → chunk-5RSV6DWB.js} +4 -3
  32. package/dist/{chunk-WK375PPO.js → chunk-5YCFHCD4.js} +2 -2
  33. package/dist/{chunk-SMPG26EL.js → chunk-6TDZJ43G.js} +1 -1
  34. package/dist/{chunk-7ZWOLEGS.js → chunk-76NO4ZRM.js} +1 -1
  35. package/dist/{chunk-3FRK53UC.js → chunk-7RTTPSXG.js} +1 -1
  36. package/dist/{chunk-ZY4A2R7C.js → chunk-7XEVZDKU.js} +7 -7
  37. package/dist/{chunk-56QTFOWH.js → chunk-A5RDOXZE.js} +1 -1
  38. package/dist/{chunk-GPUVPZRK.js → chunk-AEQWF7PE.js} +1 -1
  39. package/dist/{chunk-DRT6ZQI2.js → chunk-AFYZWHR7.js} +7 -7
  40. package/dist/{chunk-EGKIQS5J.js → chunk-AQXJC64X.js} +1 -1
  41. package/dist/{chunk-BPTKOTF2.js → chunk-BEW7RCCW.js} +1 -1
  42. package/dist/{chunk-O4ZB2LUC.js → chunk-DLQQA25O.js} +1 -1
  43. package/dist/{chunk-23VDPRQ3.js → chunk-DVAEX52Q.js} +1 -1
  44. package/dist/{chunk-J7WFHOCW.js → chunk-EGJVFPUX.js} +1 -1
  45. package/dist/{chunk-T76NSAXO.js → chunk-ESOAYGIT.js} +6 -4
  46. package/dist/{chunk-OGJFYVRC.js → chunk-EWAAH7AU.js} +1 -1
  47. package/dist/{chunk-QRPYTJBW.js → chunk-FEKRMXT6.js} +1 -1
  48. package/dist/{chunk-J6SJCYAQ.js → chunk-GGDCBVXK.js} +4 -4
  49. package/dist/{chunk-YB26LWR2.js → chunk-H6BKVVU4.js} +2 -2
  50. package/dist/{chunk-EEEUI3ON.js → chunk-HEEN6X6O.js} +15 -8
  51. package/dist/{chunk-HQG7B5ZE.js → chunk-HO3SITVT.js} +1 -1
  52. package/dist/{chunk-25IXEZXH.js → chunk-IJ7JPX4W.js} +2 -2
  53. package/dist/{chunk-UGIIDY6C.js → chunk-IKDBT5WT.js} +79 -4
  54. package/dist/{chunk-FJT35XBA.js → chunk-INNBWSZK.js} +1 -1
  55. package/dist/{chunk-SLUFA6UM.js → chunk-IWOEAWIP.js} +1 -1
  56. package/dist/{chunk-LZ7C6CXD.js → chunk-JZLFHF2M.js} +2 -2
  57. package/dist/{chunk-NIT2ZCNI.js → chunk-K5BMHQOU.js} +9 -9
  58. package/dist/{chunk-CA7IDB4Z.js → chunk-MMYY4KV3.js} +18 -3
  59. package/dist/{chunk-ZTUZDPHE.js → chunk-MTUC2Z32.js} +2 -2
  60. package/dist/{chunk-XRRZZFGI.js → chunk-NCVGBBWC.js} +1 -1
  61. package/dist/{chunk-NFX4K6OW.js → chunk-NIGOOCVS.js} +1 -1
  62. package/dist/{chunk-TQ62EMUI.js → chunk-ODE7HHNN.js} +20 -20
  63. package/dist/chunk-TWBTXEDZ.js +3795 -0
  64. package/dist/{chunk-T243WV6D.js → chunk-UK4KRTIX.js} +1 -1
  65. package/dist/{chunk-SGIZMTWO.js → chunk-V5J4XEBG.js} +1 -1
  66. package/dist/{chunk-ZZ3ZWTOI.js → chunk-WWMFR4SH.js} +1 -1
  67. package/dist/{chunk-SWRIMG46.js → chunk-YITZFHRJ.js} +1 -1
  68. package/dist/{clean-4WDZ3TFN.js → clean-RW7Z4XM6.js} +18 -18
  69. package/dist/cli.js +52 -52
  70. package/dist/{cloud-FL6VP6IU.js → cloud-EEOV7JKB.js} +4 -4
  71. package/dist/{cloudrun-STLNWUBW.js → cloudrun-EZAXYVXG.js} +3 -3
  72. package/dist/{compare-MXZ7QKBN.js → compare-5UARQFXX.js} +29 -28
  73. package/dist/{compiler-VFJVUZWR.js → compiler-THI7BXZU.js} +2 -2
  74. package/dist/{component-XKBA5ON2.js → component-AYOFPL33.js} +3 -3
  75. package/dist/{compositions-2LUY6RQW.js → compositions-XJNJBOMG.js} +9 -9
  76. package/dist/{delete-OBAOZCXI.js → delete-653AOR25.js} +2 -2
  77. package/dist/{dist-SVTSOG4Q.js → dist-DLR4X3KN.js} +2 -2
  78. package/dist/{doctor-BLXWRHAE.js → doctor-WA6VRRE7.js} +7 -7
  79. package/dist/{events-V4LYF3MW.js → events-U5COLUWT.js} +2 -2
  80. package/dist/{events-LSJDXTXK.js → events-XXBCP2I4.js} +3 -3
  81. package/dist/{feedback-LMDNGTYB.js → feedback-DX6Q3LN7.js} +8 -8
  82. package/dist/{figma-BXHFTYCT.js → figma-LCQVLBXF.js} +3 -3
  83. package/dist/fontLocalizeCli.js +8 -8
  84. package/dist/{get-2ZKWMYCG.js → get-UYNPFMHX.js} +2 -2
  85. package/dist/{gpuPolicy-VXNJ4UBN.js → gpuPolicy-YIW3HL3B.js} +5 -5
  86. package/dist/{grade-compare-F7JNDXGF.js → grade-compare-YQEYATJV.js} +28 -28
  87. package/dist/{help-WGANCPIE.js → help-FDURC7WR.js} +1 -1
  88. package/dist/{history-FILLGPWB.js → history-EU5UZLHT.js} +10 -10
  89. package/dist/hyperframe-runtime.js +55 -55
  90. package/dist/hyperframe.manifest.json +1 -1
  91. package/dist/hyperframe.runtime.iife.js +55 -55
  92. package/dist/hyperframes-player.global.js +1 -1
  93. package/dist/{info-QQJ7C6SO.js → info-7T6CK6CL.js} +7 -7
  94. package/dist/{init-BQYTOLTG.js → init-KQYSKFVU.js} +31 -26
  95. package/dist/{inspect-BTBKTW5W.js → inspect-HQBV7VHS.js} +28 -27
  96. package/dist/{installer-HF5BXXXM.js → installer-OKKPQNKS.js} +4 -4
  97. package/dist/{keyframes-Y5QDNXST.js → keyframes-SK74JHOA.js} +6 -6
  98. package/dist/{lambda-ZCX7KGTY.js → lambda-S2N4VTRO.js} +4 -4
  99. package/dist/{layout-HITFK2H5.js → layout-MTE5Y6DE.js} +28 -27
  100. package/dist/{lint-6HH5X4NJ.js → lint-FJGGJYB7.js} +8 -8
  101. package/dist/{list-KBERMLPP.js → list-MBPALK5U.js} +2 -2
  102. package/dist/{login-MZNDV73I.js → login-HDN4T5E4.js} +4 -4
  103. package/dist/{media-treatment-YACCPVXX.js → media-treatment-IP34DXWN.js} +11 -11
  104. package/dist/{models-WHDUQZQZ.js → models-W5TASRHD.js} +8 -8
  105. package/dist/{motionShot-CRQTWUJB.js → motionShot-2WYEMOPJ.js} +12 -11
  106. package/dist/{normalize-audio-Z7UQTZ5J.js → normalize-audio-F4NQPXII.js} +7 -7
  107. package/dist/{open-GM2J5QEA.js → open-DRXNALDE.js} +7 -7
  108. package/dist/{parakeetRunner-5PNBGCGH.js → parakeetRunner-VISBF2EA.js} +8 -8
  109. package/dist/{pipeline-QA2422UI.js → pipeline-A2XOVZOM.js} +5 -5
  110. package/dist/{play-JGMRZO6G.js → play-W2QELQX7.js} +26 -26
  111. package/dist/{present-SI7ZE6IB.js → present-NHYRS4F4.js} +20 -20
  112. package/dist/{preview-PZOQHOIO.js → preview-SMJVUPXE.js} +21 -21
  113. package/dist/{producer-PQMZ7OYH.js → producer-276O3CKW.js} +1 -1
  114. package/dist/{projectConfig-EYYDESVO.js → projectConfig-FXFUHFPZ.js} +6 -6
  115. package/dist/{publication-MJY3XYYV.js → publication-SSQO6ECV.js} +2 -2
  116. package/dist/{publish-UT3L777Q.js → publish-UHDKDXZI.js} +10 -10
  117. package/dist/{remove-background-HT73ZUIG.js → remove-background-IG6U56HC.js} +6 -6
  118. package/dist/{render-6CJXA7UA.js → render-6P5RSFS3.js} +12 -12
  119. package/dist/{render-YTJ3SMCD.js → render-XQONIJEJ.js} +3 -3
  120. package/dist/{render-SFIX3O3B.js → render-ZJPSLTKV.js} +49 -28
  121. package/dist/{render-batch-AFB2XK3I.js → render-batch-MH3Z6IPT.js} +3 -3
  122. package/dist/{resolver-F2D2YCSQ.js → resolver-JMSGO2JF.js} +4 -4
  123. package/dist/{sherpa-IBKSF6GX.js → sherpa-64JLV4YM.js} +7 -7
  124. package/dist/skills/hyperframes/SKILL.md +1 -1
  125. package/dist/skills/hyperframes/references/frame-worker-core.md +1 -1
  126. package/dist/skills/hyperframes/references/intent-interview.md +2 -2
  127. package/dist/skills/hyperframes/references/production-loop.md +11 -11
  128. package/dist/skills/hyperframes/references/review-loop.md +6 -6
  129. package/dist/skills/hyperframes/references/storyboard-format.md +1 -1
  130. package/dist/skills/hyperframes-cli/SKILL.md +1 -1
  131. package/dist/{skills-G26XO2BY.js → skills-UXOL62PY.js} +5 -5
  132. package/dist/{skillsUpdateCheck-ZNDQSDB4.js → skillsUpdateCheck-5Y6676K6.js} +3 -3
  133. package/dist/{snapshot-SN7I7O7I.js → snapshot-SQBPCXOV.js} +74 -48
  134. package/dist/{src-NDI4KNT3.js → src-N42CT3YR.js} +6 -4
  135. package/dist/{src-4GCHM2LX.js → src-RQMK5INS.js} +7 -7
  136. package/dist/{staticProjectServer-TTC3LYHO.js → staticProjectServer-AQXVWMLU.js} +15 -13
  137. package/dist/studio/assets/{hyperframes-player-D3ufdOJ_.js → hyperframes-player-kqB1psAJ.js} +1 -1
  138. package/dist/studio/assets/{index-7oKTFwYd.js → index-BrViH8hj.js} +1 -1
  139. package/dist/studio/assets/{index-CALVHgsJ.js → index-C3AZLr-0.js} +1 -1
  140. package/dist/studio/assets/{index-DYk4U8BS.js → index-X_d1b5vz.js} +4 -4
  141. package/dist/studio/index.html +1 -1
  142. package/dist/{studio-api-TVIDDUZG.js → studio-api-GY5D7RAP.js} +9 -9
  143. package/dist/{studioServer-WBV2Q3SH.js → studioServer-O3VONODG.js} +49 -49
  144. package/dist/{telemetry-RVFKZEOH.js → telemetry-V2K5P7CI.js} +3 -3
  145. package/dist/{timeline-BUYUBI5X.js → timeline-YU3YPLKB.js} +18 -18
  146. package/dist/{tokens-PUA5FQKP.js → tokens-NPSSSG2A.js} +2 -2
  147. package/dist/{transcribe-DZ6O6EG5.js → transcribe-BXJNS3RZ.js} +6 -6
  148. package/dist/{transcribe-L2QHSNHO.js → transcribe-FNBDG24U.js} +12 -12
  149. package/dist/{updateCheck-PULEO7CW.js → updateCheck-MB3RHSVK.js} +2 -2
  150. package/dist/{upgrade-UJJIVNHJ.js → upgrade-5VNRUR37.js} +2 -2
  151. package/dist/{urlDownloader-INLS5A6I.js → urlDownloader-WCT7FMLA.js} +4 -4
  152. package/dist/{validate-DJAZMEQB.js → validate-UXSXRCE6.js} +20 -19
  153. package/dist/{video-3GLT6U6Z.js → video-NRNQBZMV.js} +5 -5
  154. package/package.json +1 -1
  155. package/dist/chunk-LPOTN5GW.js +0 -3795
@@ -4,26 +4,26 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
- import {
8
- serveStaticProjectHtml
9
- } from "./chunk-UGIIDY6C.js";
10
7
  import {
11
8
  AUDIT_SEEK_OPTIONS,
12
9
  installPageFunctionGuard,
13
10
  seekCompositionTimeline,
14
11
  waitForCompositionFonts,
15
12
  waitForRuntimeReady
16
- } from "./chunk-EYNN5DJG.js";
13
+ } from "./chunk-4D5RBIX6.js";
17
14
  import {
18
15
  launchManagedBrowser,
19
16
  resolveManagedGpuMode
20
- } from "./chunk-CA7IDB4Z.js";
17
+ } from "./chunk-MMYY4KV3.js";
21
18
  import {
22
19
  resolveDiagnosticNavigationTimeoutMs
23
- } from "./chunk-J7WFHOCW.js";
20
+ } from "./chunk-EGJVFPUX.js";
24
21
  import {
25
22
  resolveProject
26
- } from "./chunk-WZBGU46C.js";
23
+ } from "./chunk-5HNZQSO4.js";
24
+ import {
25
+ serveStaticProjectHtml
26
+ } from "./chunk-IKDBT5WT.js";
27
27
  import {
28
28
  defineCommand
29
29
  } from "./chunk-S3S4TGEH.js";
@@ -37,7 +37,7 @@ import {
37
37
  import {
38
38
  printDeprecationNotice,
39
39
  withMeta
40
- } from "./chunk-O4ZB2LUC.js";
40
+ } from "./chunk-DLQQA25O.js";
41
41
  import {
42
42
  normalizeErrorMessage
43
43
  } from "./chunk-KNU5COPB.js";
@@ -708,7 +708,7 @@ async function collectTweenBoundaries(page) {
708
708
  });
709
709
  }
710
710
  async function bundleProjectHtml(projectDir) {
711
- const { bundleToSingleHtml } = await import("./compiler-VFJVUZWR.js");
711
+ const { bundleToSingleHtml } = await import("./compiler-THI7BXZU.js");
712
712
  return bundleToSingleHtml(projectDir);
713
713
  }
714
714
  async function alignViewportToComposition(page, url) {
@@ -730,13 +730,13 @@ async function alignViewportToComposition(page, url) {
730
730
  async function runLayoutAudit(projectDir, opts) {
731
731
  const { ensureBrowser } = await import("./manager-ZLJD3EAY.js");
732
732
  const puppeteer = await import("puppeteer-core");
733
- const { buildChromeArgs } = await import("./src-NDI4KNT3.js");
733
+ const { buildChromeArgs } = await import("./src-N42CT3YR.js");
734
734
  const {
735
735
  assertWebGpuAdapterAvailable,
736
736
  compositionRequiresWebGpu,
737
737
  resolveLocalBrowserGpuMode,
738
738
  resolveLocalWebGpu
739
- } = await import("./gpuPolicy-VXNJ4UBN.js");
739
+ } = await import("./gpuPolicy-YIW3HL3B.js");
740
740
  const html = await bundleProjectHtml(projectDir);
741
741
  const server = await serveStaticProjectHtml(
742
742
  projectDir,
@@ -20,7 +20,7 @@ import {
20
20
  typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-SWRIMG46.js";
23
+ } from "./chunk-YITZFHRJ.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-S3S4TGEH.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-RVFKZEOH.js");
232
+ const { trackFigmaImport } = await import("./telemetry-V2K5P7CI.js");
233
233
  trackFigmaImport({
234
234
  phase: "asset",
235
235
  reused: results.every((r) => r.reused),
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-K2FLNJVB.js";
10
10
  import {
11
11
  trackCommandFailure
12
- } from "./chunk-XRRZZFGI.js";
12
+ } from "./chunk-NCVGBBWC.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-PBN6GBJE.js";
@@ -20,7 +20,7 @@ import {
20
20
  SDR_RGB_TO_BT709_FILTER,
21
21
  SDR_RGB_TO_TAGGED_BT709_FILTER,
22
22
  renderProvenanceArgs
23
- } from "./chunk-IRRRH66M.js";
23
+ } from "./chunk-2CEH75X3.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-NDI4KNT3.js");
273
+ const engine = await import("./src-N42CT3YR.js");
274
274
  const meta = await engine.extractMediaMetadata(inputPath);
275
275
  if (isImage) {
276
276
  return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
@@ -9,7 +9,7 @@ import {
9
9
  formatPreviewProxyBox,
10
10
  hdrToSdrToneMapFilter,
11
11
  parseFirstFrameColour
12
- } from "./chunk-SGIZMTWO.js";
12
+ } from "./chunk-V5J4XEBG.js";
13
13
  import {
14
14
  decodeAuthoredAttribute,
15
15
  scanHtmlOpeningTags
@@ -32,7 +32,7 @@ import {
32
32
  rewriteAssetPath
33
33
  } from "./chunk-BSQ7XANM.js";
34
34
 
35
- // ../studio-server/dist/chunk-FKJBNFWA.js
35
+ // ../studio-server/dist/chunk-EZMTFRUX.js
36
36
  import { statSync } from "fs";
37
37
  import { sep } from "path";
38
38
  import { execFile } from "child_process";
@@ -174,6 +174,7 @@ var BROWSER_HOSTILE_CODECS = {
174
174
  // Windows/Linux and Firefox everywhere need the substitute.
175
175
  hevc: { representativeMime: 'video/mp4; codecs="hvc1.1.6.L120.B0"', prewarm: true },
176
176
  prores: { representativeMime: null, prewarm: true },
177
+ theora: { representativeMime: 'video/ogg; codecs="theora"', prewarm: true },
177
178
  // Every mainstream engine decodes AV1 and VP9, so canPlayType keeps the
178
179
  // original and only the rare browser that cannot pays for a transcode.
179
180
  av1: { representativeMime: 'video/mp4; codecs="av01.0.08M.08"', prewarm: false },
@@ -336,7 +337,7 @@ async function scanProjectMediaCodecMap(projectDir, htmlSources, options = {}) {
336
337
  return map;
337
338
  }
338
339
 
339
- // ../studio-server/dist/chunk-JTPV2T3F.js
340
+ // ../studio-server/dist/chunk-XRUVTG5G.js
340
341
  import { spawn } from "child_process";
341
342
  import { createHash, randomUUID } from "crypto";
342
343
  import { existsSync as existsSync2, renameSync, statSync as statSync2, unlinkSync as unlinkSync2, utimesSync } from "fs";
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getMimeType
9
- } from "./chunk-TQ62EMUI.js";
9
+ } from "./chunk-ODE7HHNN.js";
10
10
  import {
11
11
  injectTagsAtHeadStart
12
- } from "./chunk-LPOTN5GW.js";
12
+ } from "./chunk-TWBTXEDZ.js";
13
13
 
14
14
  // src/utils/compositionServer.ts
15
15
  import { createHash } from "crypto";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-ZTUZDPHE.js";
9
+ } from "./chunk-MTUC2Z32.js";
10
10
 
11
11
  // src/registry/compatibility.ts
12
12
  import { compareVersions } from "compare-versions";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-4YDQQQY6.js";
10
+ } from "./chunk-4DEBDQD4.js";
11
11
  import {
12
12
  findParakeet
13
13
  } from "./chunk-JZIEZCQM.js";
@@ -8,7 +8,7 @@ import {
8
8
  DEFAULT_REGISTRY_URL,
9
9
  fetchItemManifest,
10
10
  fetchRegistryManifest
11
- } from "./chunk-QRPYTJBW.js";
11
+ } from "./chunk-FEKRMXT6.js";
12
12
 
13
13
  // src/registry/resolver.ts
14
14
  function defaultWarn(message) {
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  RegistryCompatibilityError,
9
9
  gateRegistryItemsCompatibility
10
- } from "./chunk-SMPG26EL.js";
10
+ } from "./chunk-6TDZJ43G.js";
11
11
  import {
12
12
  DEFAULT_PROJECT_CONFIG,
13
13
  createProjectConfig,
14
14
  loadProjectConfig,
15
15
  projectConfigPath,
16
16
  recordProjectRegistryItems
17
- } from "./chunk-GPUVPZRK.js";
17
+ } from "./chunk-AEQWF7PE.js";
18
18
  import {
19
19
  resolveItemWithDependencies,
20
20
  resolveItemsByTag
21
- } from "./chunk-3FRK53UC.js";
21
+ } from "./chunk-7RTTPSXG.js";
22
22
  import {
23
23
  InvalidVariableValuesError,
24
24
  prepareItem,
25
25
  publishItem
26
- } from "./chunk-LQXHRO6F.js";
26
+ } from "./chunk-3W3MOLRL.js";
27
27
  import {
28
28
  DEFAULT_REGISTRY_URL
29
- } from "./chunk-QRPYTJBW.js";
29
+ } from "./chunk-FEKRMXT6.js";
30
30
  import {
31
31
  trackRegistryItemAdded
32
- } from "./chunk-XRRZZFGI.js";
32
+ } from "./chunk-NCVGBBWC.js";
33
33
  import {
34
34
  defineCommand
35
35
  } from "./chunk-S3S4TGEH.js";
@@ -41,7 +41,7 @@ import {
41
41
  } from "./chunk-ZTZA4UWZ.js";
42
42
  import {
43
43
  ITEM_TYPE_DIRS
44
- } from "./chunk-SGIZMTWO.js";
44
+ } from "./chunk-V5J4XEBG.js";
45
45
  import {
46
46
  isProjectRootMissing,
47
47
  realpath
@@ -14,7 +14,7 @@ import {
14
14
  isAllowedHtmlAttribute,
15
15
  isSafeAttributeValue,
16
16
  sanitizeRichTextChildren
17
- } from "./chunk-SGIZMTWO.js";
17
+ } from "./chunk-V5J4XEBG.js";
18
18
  import {
19
19
  decodedUrlPath,
20
20
  removeElementWithGsapCascade
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-HVW7ABXD.js";
13
13
  import {
14
14
  DEFAULT_REGISTRY_URL
15
- } from "./chunk-QRPYTJBW.js";
15
+ } from "./chunk-FEKRMXT6.js";
16
16
 
17
17
  // src/utils/projectConfig.ts
18
18
  import { readFileSync, writeFileSync } from "fs";
@@ -4,6 +4,13 @@ import { dirname as __hf_dirname } from "node:path";
4
4
  var require = __hf_createRequire(import.meta.url);
5
5
  var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
+ import {
8
+ resolveProject
9
+ } from "./chunk-5HNZQSO4.js";
10
+ import {
11
+ findPreviewServerForProject,
12
+ studioApiUrl
13
+ } from "./chunk-DQBY7FRR.js";
7
14
  import {
8
15
  DEFAULT_HISTORY_ROOT,
9
16
  HistoryBusyError,
@@ -11,13 +18,6 @@ import {
11
18
  openProjectHistory,
12
19
  readProjectHistory
13
20
  } from "./chunk-6PIGOKTE.js";
14
- import {
15
- resolveProject
16
- } from "./chunk-WZBGU46C.js";
17
- import {
18
- findPreviewServerForProject,
19
- studioApiUrl
20
- } from "./chunk-DQBY7FRR.js";
21
21
 
22
22
  // src/utils/historyOwner.ts
23
23
  import { randomUUID } from "crypto";
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-AWDFDFI3.js";
15
15
  import {
16
16
  isBlockedNetworkHost
17
- } from "./chunk-IRRRH66M.js";
17
+ } from "./chunk-2CEH75X3.js";
18
18
  import {
19
19
  DOMParser,
20
20
  parseHTML
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  withOwner
9
- } from "./chunk-DRT6ZQI2.js";
9
+ } from "./chunk-AFYZWHR7.js";
10
10
  import {
11
11
  beginArtifactCapture
12
12
  } from "./chunk-6PIGOKTE.js";
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ISN5GRYI.js";
18
18
  import {
19
19
  VERSION
20
- } from "./chunk-ZTUZDPHE.js";
20
+ } from "./chunk-MTUC2Z32.js";
21
21
 
22
22
  // src/utils/updateCheck.ts
23
23
  import { existsSync, readFileSync } from "fs";
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-OTG5H2VM.js";
13
+ } from "./chunk-5O6I5ZV7.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-PBN6GBJE.js";
16
16
  import {
17
17
  parseFps
18
- } from "./chunk-SGIZMTWO.js";
18
+ } from "./chunk-V5J4XEBG.js";
19
19
 
20
20
  // src/browser/windowsCrash.ts
21
21
  var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
@@ -8,10 +8,10 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-IRRRH66M.js";
11
+ } from "./chunk-2CEH75X3.js";
12
12
  import {
13
13
  parseAnimatedGifMetadata
14
- } from "./chunk-SGIZMTWO.js";
14
+ } from "./chunk-V5J4XEBG.js";
15
15
  import {
16
16
  parseHTML
17
17
  } from "./chunk-SDYDNHEE.js";
@@ -37,15 +37,17 @@ var EncoderInterruptedError = class extends Error {
37
37
  retryable = true;
38
38
  /** Retained inside the producer for diagnostics; never copied to the wire envelope. */
39
39
  diagnosticMessage;
40
- constructor(prefix, diagnosticMessage) {
40
+ audioFailures;
41
+ constructor(prefix, diagnosticMessage, audioFailures = []) {
41
42
  super(`${prefix}: encoder process was interrupted by the host lifecycle`);
42
43
  this.name = "EncoderInterruptedError";
43
44
  this.diagnosticMessage = diagnosticMessage;
45
+ this.audioFailures = audioFailures;
44
46
  }
45
47
  };
46
48
  function encoderFailureError(prefix, result) {
47
49
  const message = `${prefix}: ${result.error ?? "unknown encoder failure"}`;
48
- return result.failureReason === "external_interruption" ? new EncoderInterruptedError(prefix, message) : new Error(message);
50
+ return result.failureReason === "external_interruption" ? new EncoderInterruptedError(prefix, message, result.audioFailures) : new Error(message);
49
51
  }
50
52
 
51
53
  // ../producer/src/services/animatedGifPrep.ts
@@ -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-O4ZB2LUC.js";
9
+ } from "./chunk-DLQQA25O.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-SGIZMTWO.js";
30
+ } from "./chunk-V5J4XEBG.js";
31
31
  import {
32
32
  realProjectRoot
33
33
  } from "./chunk-OFQWTKPW.js";
@@ -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-7ZWOLEGS.js";
9
+ } from "./chunk-76NO4ZRM.js";
10
10
  import {
11
11
  DecodeCancelled,
12
12
  prepareSherpaWav,
13
13
  sherpaUnsupportedReason,
14
14
  transcribeWithSherpa
15
- } from "./chunk-4YDQQQY6.js";
15
+ } from "./chunk-4DEBDQD4.js";
16
16
  import {
17
17
  initialModelForLanguage,
18
18
  transcribe
19
- } from "./chunk-ZZ3ZWTOI.js";
19
+ } from "./chunk-WWMFR4SH.js";
20
20
  import {
21
21
  createRenderCancellationScope,
22
22
  stoppedByCancelSignal
23
- } from "./chunk-T243WV6D.js";
23
+ } from "./chunk-UK4KRTIX.js";
24
24
  import {
25
25
  formatSrt,
26
26
  formatVtt,
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveConfig,
9
9
  usesSoftwareWebGpu
10
- } from "./chunk-IRRRH66M.js";
10
+ } from "./chunk-2CEH75X3.js";
11
11
 
12
12
  // src/browser/gpuPolicy.ts
13
13
  function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
17
17
  return "auto";
18
18
  }
19
19
  async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
20
- const { resolveBrowserGpuMode } = await import("./src-NDI4KNT3.js");
20
+ const { resolveBrowserGpuMode } = await import("./src-N42CT3YR.js");
21
21
  return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
22
22
  }
23
23
  function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
@@ -16,7 +16,7 @@ import {
16
16
  EncoderInterruptedError,
17
17
  encoderFailureError,
18
18
  prepareAnimatedGifInputs
19
- } from "./chunk-T76NSAXO.js";
19
+ } from "./chunk-ESOAYGIT.js";
20
20
  import {
21
21
  parseEncoderOptions
22
22
  } from "./chunk-KLIKCX6Q.js";
@@ -45,6 +45,7 @@ import {
45
45
  assertConfiguredFfmpegBinariesExist,
46
46
  assertMediaPayload,
47
47
  assertSwiftShader,
48
+ audioFailureDiagnostics,
48
49
  augmentPageNavigationTimeoutError,
49
50
  augmentProtocolTimeoutError,
50
51
  blitRgb48leAffine,
@@ -150,7 +151,7 @@ import {
150
151
  validateEngineConfigSnapshot,
151
152
  verifyDiskDrawElementSamples,
152
153
  writeCapturedFrame
153
- } from "./chunk-IRRRH66M.js";
154
+ } from "./chunk-2CEH75X3.js";
154
155
  import {
155
156
  assignBundledRuntimeCompositionIds,
156
157
  buildVariablesByCompScript,
@@ -163,7 +164,7 @@ import {
163
164
  isTemplateEntry,
164
165
  parsesAsScript,
165
166
  prepareFlattenedInnerRoot
166
- } from "./chunk-FJT35XBA.js";
167
+ } from "./chunk-INNBWSZK.js";
167
168
  import {
168
169
  LOW_MEMORY_TOTAL_MB_THRESHOLD,
169
170
  getCgroupMemoryLimitMb,
@@ -187,7 +188,7 @@ import {
187
188
  resolveAbsoluteMediaStartSeconds,
188
189
  resolveAuthoredTimingWindow,
189
190
  toFps
190
- } from "./chunk-SGIZMTWO.js";
191
+ } from "./chunk-V5J4XEBG.js";
191
192
  import {
192
193
  COMPOSITION_SOURCE_URL,
193
194
  HF_COLOR_GRADING_ATTR,
@@ -215,7 +216,7 @@ import {
215
216
  shouldClampResolvedMediaDuration,
216
217
  sourceTimeAt,
217
218
  styleElementsFor
218
- } from "./chunk-LPOTN5GW.js";
219
+ } from "./chunk-TWBTXEDZ.js";
219
220
  import {
220
221
  MAX_AUDIO_GAIN
221
222
  } from "./chunk-UJKQWGFF.js";
@@ -8304,6 +8305,9 @@ function appendAutoDetectedVideoAudio(composition, extracted) {
8304
8305
 
8305
8306
  // ../producer/src/services/render/stages/audioStage.ts
8306
8307
  import { join as join16 } from "path";
8308
+ function triggerFirst(failures, trigger) {
8309
+ return [trigger, ...(failures ?? []).filter((failure) => failure !== trigger)];
8310
+ }
8307
8311
  async function runAudioStage(input) {
8308
8312
  const {
8309
8313
  projectDir,
@@ -8369,7 +8373,8 @@ async function runAudioStage(input) {
8369
8373
  if (interrupted) {
8370
8374
  throw encoderFailureError("Audio processing failed", {
8371
8375
  error: interrupted.detail,
8372
- failureReason: "external_interruption"
8376
+ failureReason: "external_interruption",
8377
+ audioFailures: audioFailureDiagnostics(triggerFirst(audioResult.failures, interrupted))
8373
8378
  });
8374
8379
  }
8375
8380
  hasAudio = audioResult.success;
@@ -11765,6 +11770,7 @@ async function executeRenderPipeline(input) {
11765
11770
  message: `Audio mix failed; output would be video-only: ${audioResult.audioError}`,
11766
11771
  details: {
11767
11772
  mediaType: "audio",
11773
+ audioFailures: audioFailureDiagnostics(audioFailures),
11768
11774
  failureReasons: [...new Set(audioFailures.map((failure) => failure.reason))],
11769
11775
  failureStages: [...new Set(audioFailures.map((failure) => failure.stage))],
11770
11776
  failureOwner,
@@ -14416,7 +14422,7 @@ function startServer(options = {}) {
14416
14422
  });
14417
14423
  async function shutdown(signal) {
14418
14424
  log.info(`Received ${signal}, shutting down`);
14419
- const { drainBrowserPool } = await import("./src-NDI4KNT3.js");
14425
+ const { drainBrowserPool } = await import("./src-N42CT3YR.js");
14420
14426
  await drainBrowserPool().catch(() => {
14421
14427
  });
14422
14428
  const handle = await Promise.race([
@@ -15222,6 +15228,7 @@ function applyDistributedAudioWarningPolicy(job, audioError, audioFailures = [],
15222
15228
  message: `Audio mix failed; output would be video-only: ${audioError}`,
15223
15229
  details: {
15224
15230
  mediaType: "audio",
15231
+ audioFailures: audioFailureDiagnostics(audioFailures),
15225
15232
  failureReasons: [...new Set(audioFailures.map((failure) => failure.reason))],
15226
15233
  failureStages: [...new Set(audioFailures.map((failure) => failure.stage))],
15227
15234
  failureOwner,
@@ -15602,7 +15609,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
15602
15609
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
15603
15610
  if (probeResult.probeSession) {
15604
15611
  try {
15605
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-NDI4KNT3.js");
15612
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-N42CT3YR.js");
15606
15613
  await closeCaptureSession2(probeResult.probeSession);
15607
15614
  } catch (err) {
15608
15615
  log.warn("[plan] probe session close failed", {
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-XUXGIA7H.js";
30
30
  import {
31
31
  VERSION
32
- } from "./chunk-ZTUZDPHE.js";
32
+ } from "./chunk-MTUC2Z32.js";
33
33
  import {
34
34
  CANARIES,
35
35
  canaryEnvVar,
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-XRRZZFGI.js";
10
+ } from "./chunk-NCVGBBWC.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-HQG7B5ZE.js";
13
+ } from "./chunk-HO3SITVT.js";
14
14
  import {
15
15
  detectAgentRuntime
16
16
  } from "./chunk-QWQ6GQTI.js";