hyperframes 0.8.217 → 0.8.219

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 (187) hide show
  1. package/dist/{add-AXTSRFNT.js → add-2MXC4QCY.js} +6 -6
  2. package/dist/{agentPromptGenerator-52346WSZ.js → agentPromptGenerator-FIT75HWJ.js} +5 -5
  3. package/dist/{animatedGifPrep-WZHO7ZUA.js → animatedGifPrep-MFUNECD3.js} +5 -5
  4. package/dist/api.js +16 -16
  5. package/dist/{asset-T2CE34TV.js → asset-T6BI53SJ.js} +2 -2
  6. package/dist/{assetCataloger-2KABZLU3.js → assetCataloger-DP4SHXWI.js} +6 -6
  7. package/dist/{audio-6I2AK3TZ.js → audio-SRQLO7BP.js} +14 -14
  8. package/dist/{auth-B3LLOMAG.js → auth-JONDB26P.js} +8 -7
  9. package/dist/{autoUpdate-TTY4BTMM.js → autoUpdate-YKJOOXCI.js} +2 -2
  10. package/dist/{backgroundChecks-WKW5CTCV.js → backgroundChecks-GSTIIVNR.js} +3 -3
  11. package/dist/backgroundChecksWorker.js +3 -3
  12. package/dist/{beats-5WAAC5HT.js → beats-OOVMTM4B.js} +9 -9
  13. package/dist/{benchmark-KFYDNWZ7.js → benchmark-WBFYHOSI.js} +7 -7
  14. package/dist/{browser-LK4FYQXO.js → browser-AZZAO24H.js} +5 -5
  15. package/dist/{bundleWithLocalizedFonts-NRY45OIW.js → bundleWithLocalizedFonts-GP4MD6DJ.js} +2 -2
  16. package/dist/{capture-DXRZI2WW.js → capture-MGRV5VWE.js} +11 -11
  17. package/dist/{capture-SCXKM2WO.js → capture-PN7GEEAB.js} +3 -3
  18. package/dist/{captureCompositionFrame-NDQEZBHR.js → captureCompositionFrame-JYGGPKFZ.js} +8 -8
  19. package/dist/{catalog-7WRGMHVI.js → catalog-D42NLFZT.js} +6 -6
  20. package/dist/{catch-up-6QEJHTFF.js → catch-up-TUL26VOB.js} +5 -5
  21. package/dist/{check-HNONMHQD.js → check-DBBH7DI3.js} +30 -30
  22. package/dist/{checkAudio-OLNSZWWX.js → checkAudio-UJ7XTDRD.js} +8 -8
  23. package/dist/{checkBrowser-L2L2EEJD.js → checkBrowser-3YIZYXIR.js} +24 -24
  24. package/dist/{chunk-6YGTOBXW.js → chunk-2UT32TJS.js} +1 -1
  25. package/dist/{chunk-4JHZBIBW.js → chunk-33XQUQKN.js} +1 -1
  26. package/dist/{chunk-UGQFQDSV.js → chunk-35JKCWYI.js} +1 -1
  27. package/dist/{chunk-2Q4CL6AB.js → chunk-3KDODK5M.js} +4 -1
  28. package/dist/{chunk-OQRO2MEK.js → chunk-3MTNYVWM.js} +2 -2
  29. package/dist/{chunk-YQY4KVP4.js → chunk-3VIICMJF.js} +1 -1
  30. package/dist/{chunk-PNBH4ZY7.js → chunk-473HMKSC.js} +2 -2
  31. package/dist/{chunk-CH4RRRGC.js → chunk-4OWVRHSV.js} +5 -5
  32. package/dist/{chunk-K2666FKT.js → chunk-542VETC5.js} +1 -1
  33. package/dist/{chunk-2JUNPJUM.js → chunk-576ATOOU.js} +2 -2
  34. package/dist/{chunk-UQSBVZ3H.js → chunk-5UIODBMI.js} +7 -4
  35. package/dist/{chunk-VS7G457O.js → chunk-64MFJSGZ.js} +1 -1
  36. package/dist/{chunk-H47FQDFU.js → chunk-7ZRXSZF6.js} +1 -1
  37. package/dist/{chunk-VAS6HQX3.js → chunk-BIROA7JM.js} +32 -3
  38. package/dist/{chunk-ESZ6YPQM.js → chunk-BKHRAHV6.js} +2 -2
  39. package/dist/{chunk-DEWCAOOL.js → chunk-BRU66Q24.js} +2 -2
  40. package/dist/{chunk-KH5XMMSM.js → chunk-BT5UT4XT.js} +2 -2
  41. package/dist/{chunk-XN22HGE7.js → chunk-C2G23WQQ.js} +1 -1
  42. package/dist/{chunk-3MUFCWGK.js → chunk-CBZN5JIK.js} +3 -3
  43. package/dist/{chunk-3C6O5HV2.js → chunk-CPKBAMI3.js} +12 -12
  44. package/dist/{chunk-OV6MUGZI.js → chunk-DMUDI5IH.js} +2 -2
  45. package/dist/{chunk-5HGUY24Y.js → chunk-DWMI7CKI.js} +1 -1
  46. package/dist/{chunk-JY27IRDR.js → chunk-FAIFPYRO.js} +1 -1
  47. package/dist/{chunk-3YCAGPZK.js → chunk-FC7QIE5X.js} +21 -21
  48. package/dist/{chunk-NWD2KKM5.js → chunk-FWWJRJB5.js} +1 -1
  49. package/dist/{chunk-WKNWKORX.js → chunk-G2E2DHH2.js} +3 -3
  50. package/dist/{chunk-QRIC4WOO.js → chunk-G7ZTD2KJ.js} +9 -3
  51. package/dist/{chunk-R7EB4M5P.js → chunk-GGDVZ7O4.js} +9 -9
  52. package/dist/{chunk-QY7RG6K3.js → chunk-GP5X7V6U.js} +1 -1
  53. package/dist/{chunk-L4BRJVGC.js → chunk-IGZHC55Z.js} +2 -2
  54. package/dist/{chunk-62ER6HGC.js → chunk-ILCIWNPQ.js} +1 -1
  55. package/dist/{chunk-7VZEOCUY.js → chunk-J74ZUXVU.js} +1 -1
  56. package/dist/{chunk-5SZ2HRCW.js → chunk-JH2AO4ZW.js} +1 -1
  57. package/dist/{chunk-5CXGDO74.js → chunk-KENUKJRG.js} +2 -2
  58. package/dist/{chunk-P42DLWIY.js → chunk-KK5MZQXG.js} +2 -2
  59. package/dist/{chunk-URKDBFZV.js → chunk-KUQOUWJ4.js} +2 -2
  60. package/dist/{chunk-ST5EBZTO.js → chunk-LGMRZWJS.js} +9 -3
  61. package/dist/{chunk-O44FYXH5.js → chunk-LIWBGRPD.js} +2 -2
  62. package/dist/{chunk-Z3HHAFEP.js → chunk-LJUFR7G5.js} +4 -4
  63. package/dist/{chunk-UVXIJYZY.js → chunk-MESSJFK3.js} +249 -298
  64. package/dist/{chunk-JF3RF6GS.js → chunk-MHZB6QSC.js} +1 -1
  65. package/dist/{chunk-CBCZBHGK.js → chunk-NHXGFQWQ.js} +2 -2
  66. package/dist/{chunk-WGHUHNXI.js → chunk-NP2QEAEW.js} +7 -7
  67. package/dist/{chunk-JMGMOK4Z.js → chunk-O7YOS36L.js} +12 -5
  68. package/dist/{chunk-W2LKSBX5.js → chunk-QE5JXNSW.js} +24 -17
  69. package/dist/{chunk-KLGJ2R4V.js → chunk-QEKP7XCN.js} +2 -2
  70. package/dist/{chunk-TCVI4ZGS.js → chunk-TCV7N2UY.js} +1 -1
  71. package/dist/{chunk-5XDKFCEI.js → chunk-TNQ4SSTR.js} +6 -6
  72. package/dist/{chunk-G35NVFZF.js → chunk-U2EUCTYQ.js} +4 -4
  73. package/dist/{chunk-RLT45AWC.js → chunk-UDBW6TK4.js} +1 -1
  74. package/dist/{chunk-V4AS2BNU.js → chunk-UGDLT4LZ.js} +3 -3
  75. package/dist/{chunk-HPRR3WD7.js → chunk-UR6L2DXM.js} +14 -10
  76. package/dist/chunk-VLA6UJGH.js +139 -0
  77. package/dist/{chunk-64TWYU4M.js → chunk-VO7IEWOH.js} +5 -5
  78. package/dist/{chunk-MK4R3APQ.js → chunk-VP5KECBU.js} +1 -1
  79. package/dist/{chunk-UZPWLXO6.js → chunk-WUABYDXU.js} +1 -1
  80. package/dist/{chunk-MGZKDR6R.js → chunk-XUOLKUE7.js} +1 -1
  81. package/dist/{chunk-EAUUGY4R.js → chunk-XUTPVELE.js} +3 -3
  82. package/dist/{chunk-42K4JLQO.js → chunk-XXLG7GCA.js} +1 -1
  83. package/dist/{chunk-PPMLF76Z.js → chunk-YSTBSLWY.js} +1 -1
  84. package/dist/{chunk-TDNZIFJ2.js → chunk-YXZ56JUN.js} +2 -2
  85. package/dist/{chunk-LPJMACTI.js → chunk-Z537IJJH.js} +4 -4
  86. package/dist/{clean-2CK4S5ES.js → clean-YERX334S.js} +16 -16
  87. package/dist/cli.js +53 -53
  88. package/dist/{cloud-QRSJMVGW.js → cloud-5XFWROJK.js} +4 -4
  89. package/dist/commands/layout-audit.browser.js +25 -1
  90. package/dist/{compare-ASV5QBD2.js → compare-THYM62NL.js} +21 -21
  91. package/dist/{compiler-CG2EXM75.js → compiler-SLKHXYCO.js} +3 -3
  92. package/dist/{component-24XLTKUQ.js → component-N4FFNYA5.js} +3 -3
  93. package/dist/{compositions-AN7ETEKG.js → compositions-XCM3Z65K.js} +10 -10
  94. package/dist/{delete-OMKQ3XTL.js → delete-6PIKDOKV.js} +6 -6
  95. package/dist/{deploy-3M6QRT2H.js → deploy-PT77AP6G.js} +1 -1
  96. package/dist/{dist-KXFW5H5Q.js → dist-XXBCSQYF.js} +2 -2
  97. package/dist/{doctor-ABYFP2LY.js → doctor-KLDSXKUM.js} +10 -10
  98. package/dist/{events-P5AFL2VZ.js → events-KEJFQQDQ.js} +4 -4
  99. package/dist/{events-64QVWKTU.js → events-OHISH3KL.js} +3 -3
  100. package/dist/{feedback-LQ2TT4XL.js → feedback-VTLWYGLQ.js} +9 -9
  101. package/dist/{ffmpeg-Y6NMFQ5J.js → ffmpeg-SG3AYA6M.js} +5 -5
  102. package/dist/{figma-R75KTFW4.js → figma-5AHFOYPG.js} +3 -3
  103. package/dist/fontLocalizeCli.js +8 -8
  104. package/dist/{get-KB67C2T7.js → get-5VTBUZIR.js} +6 -6
  105. package/dist/{gpuPolicy-4ERRTA5U.js → gpuPolicy-ODODH5JV.js} +5 -5
  106. package/dist/{grade-compare-NPVETP7T.js → grade-compare-25HQJORH.js} +22 -22
  107. package/dist/{heifImagePrep-ABLYQMTO.js → heifImagePrep-SPBGWX2L.js} +6 -6
  108. package/dist/{help-ZNJG5OJO.js → help-3AZ4ZSWZ.js} +1 -1
  109. package/dist/{history-HUBQPMLX.js → history-KZFZ2MJI.js} +7 -7
  110. package/dist/hyperframes-player.global.js +1 -1
  111. package/dist/{info-KDSQGWE5.js → info-XNYSD2SN.js} +6 -6
  112. package/dist/{init-QEPNUQB2.js → init-C76MX2UE.js} +23 -23
  113. package/dist/{inspect-27GJ5ZUI.js → inspect-OWDJTC64.js} +22 -22
  114. package/dist/{keyframes-E2NNHMNK.js → keyframes-ZBIWACNT.js} +7 -7
  115. package/dist/{lambda-QQ2VVPRQ.js → lambda-XS3E4XSL.js} +6 -6
  116. package/dist/{layout-NQQZ5KR7.js → layout-HLU3IVDX.js} +22 -22
  117. package/dist/{lint-DUYKX36O.js → lint-DUJ5PM56.js} +9 -9
  118. package/dist/{lintProject-SZIPPOJR.js → lintProject-I4XPWIQZ.js} +2 -2
  119. package/dist/{list-HIZY6RSP.js → list-KRDQLHDH.js} +6 -6
  120. package/dist/{localPage-U2RMKIMN.js → localPage-KXNSCQIQ.js} +5 -5
  121. package/dist/{login-CLP2ZTEW.js → login-4P7LCOB5.js} +9 -8
  122. package/dist/{logout-CXGSSQ4Q.js → logout-6VFJ7WMW.js} +4 -4
  123. package/dist/{manager-LXWVBDLM.js → manager-I4ROBMYK.js} +1 -1
  124. package/dist/{manager-CXRLWAKH.js → manager-USFB6SE2.js} +6 -6
  125. package/dist/{media-treatment-GSWIAGS4.js → media-treatment-JOZB3MTT.js} +12 -12
  126. package/dist/{media-use-ZRHFRO46.js → media-use-ZNTB7W6N.js} +85 -10
  127. package/dist/{models-TPHYQXOL.js → models-RZRXHIER.js} +9 -9
  128. package/dist/{motionShot-7UX4TKHZ.js → motionShot-3SHLRT3L.js} +12 -12
  129. package/dist/{normalize-audio-WBTJDFS7.js → normalize-audio-SL2ATLJM.js} +16 -10
  130. package/dist/{open-P7Z2PIPR.js → open-TCGY4NB2.js} +5 -5
  131. package/dist/{parakeetRunner-F2OX525D.js → parakeetRunner-ZBO4LR7M.js} +11 -11
  132. package/dist/{pipeline-2ZDZGL4J.js → pipeline-7D36B3FW.js} +8 -8
  133. package/dist/{play-YCH7MRNX.js → play-CTBPJFBX.js} +15 -15
  134. package/dist/{preflight-MTMSPVCR.js → preflight-GFWIOUO3.js} +7 -7
  135. package/dist/{present-L4HNZ2HU.js → present-GXOHUNFP.js} +15 -15
  136. package/dist/{preview-RWX74O5J.js → preview-BWCEXEII.js} +12 -12
  137. package/dist/{producer-UI4FXLPQ.js → producer-UME4Q4HH.js} +1 -1
  138. package/dist/{publish-T56AYTZU.js → publish-ZGW46SKV.js} +9 -9
  139. package/dist/{refresh-VJ4FQVH2.js → refresh-I6ITGHKL.js} +5 -4
  140. package/dist/{remove-background-4Y56FLXV.js → remove-background-YSJ7XFPQ.js} +9 -9
  141. package/dist/{render-IJ7L24RF.js → render-Q2VLJGFV.js} +27 -27
  142. package/dist/{render-UBDIHGEG.js → render-QFIWTDK3.js} +18 -18
  143. package/dist/renderSetupWorker.js +3 -3
  144. package/dist/{sherpa-6GOUBSP2.js → sherpa-YKK3LRSI.js} +10 -10
  145. package/dist/skills/hyperframes-cli/references/cloud.md +4 -4
  146. package/dist/skills/media-use/SKILL.md +3 -1
  147. package/dist/skills/media-use/audio/references/bgm.md +1 -1
  148. package/dist/skills/media-use/audio/references/requirements.md +9 -9
  149. package/dist/skills/media-use/audio/references/tts.md +11 -11
  150. package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +1 -1
  151. package/dist/skills/media-use/audio/scripts/heygen-tts.mjs +1 -1
  152. package/dist/skills/media-use/audio/scripts/lib/audio-meta.test.mjs +1 -1
  153. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +23 -7
  154. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +68 -10
  155. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +1 -1
  156. package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +2 -2
  157. package/dist/skills/media-use/references/operations.md +11 -9
  158. package/dist/skills/media-use/references/setup-providers.md +30 -30
  159. package/dist/skills/media-use/scripts/lib/heygen-cli.mjs +2 -2
  160. package/dist/skills/media-use/scripts/lib/telemetry.mjs +2 -1
  161. package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +49 -4
  162. package/dist/{skills-MAJGGJKJ.js → skills-5ENIWSB2.js} +6 -6
  163. package/dist/{skillsUpdateCheck-X6AIBUUG.js → skillsUpdateCheck-7GDJNW5A.js} +3 -3
  164. package/dist/{snapshot-JKKWQSMQ.js → snapshot-O3JXB3VM.js} +26 -26
  165. package/dist/{src-LAO5IGRI.js → src-6T5KES5G.js} +4 -4
  166. package/dist/{src-RIL5PHI6.js → src-MT7UQJT5.js} +7 -7
  167. package/dist/{staticProjectServer-YF5AZXGR.js → staticProjectServer-UP22EGMU.js} +11 -11
  168. package/dist/{status-TJFZFDGS.js → status-63BKLDVW.js} +40 -11
  169. package/dist/studio/assets/{hyperframes-player-Cf9gtxqa.js → hyperframes-player-B83GGznX.js} +1 -1
  170. package/dist/studio/assets/{index-zVoFhoyD.js → index-B9gVTopE.js} +4 -4
  171. package/dist/studio/assets/{index-CW5fPxU8.js → index-Ca_tSAqR.js} +1 -1
  172. package/dist/studio/index.html +1 -1
  173. package/dist/{studio-api-Q2U6752S.js → studio-api-Q6KSNU77.js} +8 -8
  174. package/dist/{studioServer-SPU4MINT.js → studioServer-44OR56TK.js} +36 -36
  175. package/dist/{telemetry-W7CBBWIN.js → telemetry-2N7DLYCQ.js} +4 -4
  176. package/dist/{timeline-L26OBLW2.js → timeline-MT56A3HB.js} +16 -16
  177. package/dist/{tokens-PNNCTOYV.js → tokens-V6O4I5IX.js} +2 -2
  178. package/dist/{transcribe-PPZFOWMB.js → transcribe-GGV4YEF3.js} +9 -9
  179. package/dist/{transcribe-XZCZTOPU.js → transcribe-ZCJ6WB6R.js} +16 -16
  180. package/dist/{updateCheck-SNRZKRO2.js → updateCheck-ZBBUGX3A.js} +2 -2
  181. package/dist/{upgrade-WEU5MYWF.js → upgrade-L7SM3TPB.js} +2 -2
  182. package/dist/{urlDownloader-55NQFDIH.js → urlDownloader-HTBT6K5N.js} +4 -4
  183. package/dist/{validate-4QEMOBFD.js → validate-WXKYRV2E.js} +20 -20
  184. package/dist/{video-VYOWJDYM.js → video-JH5WQC2I.js} +6 -6
  185. package/dist/warmCheck.js +30 -30
  186. package/package.json +1 -1
  187. package/dist/chunk-4WEWHZZO.js +0 -24
@@ -8,12 +8,12 @@ import {
8
8
  Semaphore,
9
9
  prepareHeifImageInputs,
10
10
  withMediaProbeSlot
11
- } from "./chunk-2JUNPJUM.js";
11
+ } from "./chunk-576ATOOU.js";
12
12
  import {
13
13
  EncoderInterruptedError,
14
14
  encoderFailureError,
15
15
  prepareAnimatedGifInputs
16
- } from "./chunk-MK4R3APQ.js";
16
+ } from "./chunk-VP5KECBU.js";
17
17
  import {
18
18
  GENERIC_FAMILIES,
19
19
  collectFontFamilyCustomProperties,
@@ -174,7 +174,7 @@ import {
174
174
  videoAudioId,
175
175
  videoStartOnMediaTimeline,
176
176
  writeCapturedFrame
177
- } from "./chunk-TDNZIFJ2.js";
177
+ } from "./chunk-YXZ56JUN.js";
178
178
  import {
179
179
  assignBundledRuntimeCompositionIds,
180
180
  emitMountedModuleScripts,
@@ -186,7 +186,7 @@ import {
186
186
  parsesAsScript,
187
187
  prepareFlattenedInnerRoot,
188
188
  stripSdrPngColourTags
189
- } from "./chunk-2Q4CL6AB.js";
189
+ } from "./chunk-3KDODK5M.js";
190
190
  import {
191
191
  collectScratchLeftovers,
192
192
  removeScratch,
@@ -258,7 +258,7 @@ import {
258
258
  import {
259
259
  lintHyperframeHtml,
260
260
  resolveReferencedStart
261
- } from "./chunk-JF3RF6GS.js";
261
+ } from "./chunk-MHZB6QSC.js";
262
262
  import {
263
263
  isUnresolvedAssetPlaceholder,
264
264
  readProjectFile,
@@ -16511,7 +16511,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
16511
16511
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
16512
16512
  if (probeResult.probeSession) {
16513
16513
  try {
16514
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-LAO5IGRI.js");
16514
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-6T5KES5G.js");
16515
16515
  await closeCaptureSession2(probeResult.probeSession);
16516
16516
  } catch (err) {
16517
16517
  log.warn("[plan] probe session close failed", {
@@ -18226,7 +18226,7 @@ function startServer(options = {}) {
18226
18226
  });
18227
18227
  async function shutdown(signal) {
18228
18228
  log.info(`Received ${signal}, shutting down`);
18229
- const { drainBrowserPool } = await import("./src-LAO5IGRI.js");
18229
+ const { drainBrowserPool } = await import("./src-6T5KES5G.js");
18230
18230
  await drainBrowserPool().catch(() => {
18231
18231
  });
18232
18232
  const handle = await Promise.race([
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeAudioTrack
9
- } from "./chunk-5SZ2HRCW.js";
9
+ } from "./chunk-JH2AO4ZW.js";
10
10
  import {
11
11
  resolveWithinProject
12
12
  } from "./chunk-ALVXFXUG.js";
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-4I7KQWZS.js";
18
18
  import {
19
19
  findFfBinary
20
- } from "./chunk-VAS6HQX3.js";
20
+ } from "./chunk-BIROA7JM.js";
21
21
  import {
22
22
  decodeWellFormedEscapes,
23
23
  decodedUrlPath,
@@ -27,7 +27,7 @@ import {
27
27
  decodeAuthoredAttribute
28
28
  } from "./chunk-NHA4NRBE.js";
29
29
 
30
- // ../studio-server/dist/chunk-EGNSA3MU.js
30
+ // ../studio-server/dist/chunk-H4NVSSDJ.js
31
31
  import { execFile } from "child_process";
32
32
  import { isAbsolute, relative, resolve } from "path";
33
33
  import { promisify } from "util";
@@ -381,10 +381,12 @@ function absoluteLoudnessPlan(track, targetLufs = DEFAULT_TARGET_LUFS) {
381
381
  ["gain-ceiling", MAX_AUDIO_GAIN_DB],
382
382
  ["true-peak", peakRoomDb]
383
383
  ];
384
- const [limitedBy, appliedGainDb] = limits.reduce(
384
+ const [limitedBy, limitedGainDb] = limits.reduce(
385
385
  (lowest, candidate) => candidate[1] < lowest[1] - 1e-9 ? candidate : lowest
386
386
  );
387
387
  const previousGainDb = track.volume > 0 ? gainDb(track.volume) : 0;
388
+ const limitCannotCutAWantedBoost = wantedGainDb > previousGainDb;
389
+ const appliedGainDb = limitCannotCutAWantedBoost ? Math.max(limitedGainDb, previousGainDb) : limitedGainDb;
388
390
  return {
389
391
  targetId: track.id,
390
392
  targetLufs,
@@ -398,6 +400,10 @@ function absoluteLoudnessPlan(track, targetLufs = DEFAULT_TARGET_LUFS) {
398
400
  limitedBy
399
401
  };
400
402
  }
403
+ function absoluteOutcome(plan, tolerance) {
404
+ if (Math.abs(plan.changeDb) > tolerance) return "change";
405
+ return Math.abs(plan.projectedLufs - plan.targetLufs) <= tolerance ? "matched" : "held";
406
+ }
401
407
 
402
408
  export {
403
409
  requestSubPath,
@@ -411,5 +417,6 @@ export {
411
417
  measureAudio,
412
418
  requiredFfmpeg,
413
419
  DEFAULT_TARGET_LUFS,
414
- absoluteLoudnessPlan
420
+ absoluteLoudnessPlan,
421
+ absoluteOutcome
415
422
  };
@@ -9,27 +9,27 @@ import {
9
9
  } from "./chunk-TQBQYO4L.js";
10
10
  import {
11
11
  resolveProject
12
- } from "./chunk-NWD2KKM5.js";
12
+ } from "./chunk-FWWJRJB5.js";
13
13
  import {
14
14
  serveStaticProjectHtml
15
- } from "./chunk-Z3HHAFEP.js";
15
+ } from "./chunk-LJUFR7G5.js";
16
16
  import {
17
17
  AUDIT_SEEK_OPTIONS,
18
18
  installPageFunctionGuard,
19
19
  seekCompositionTimeline,
20
20
  waitForCompositionFonts,
21
21
  waitForRuntimeReady
22
- } from "./chunk-R7EB4M5P.js";
22
+ } from "./chunk-GGDVZ7O4.js";
23
23
  import {
24
24
  gotoWhenSent
25
25
  } from "./chunk-SGTEKMJW.js";
26
26
  import {
27
27
  pageNavigationTimeoutMs
28
- } from "./chunk-62ER6HGC.js";
28
+ } from "./chunk-ILCIWNPQ.js";
29
29
  import {
30
30
  launchManagedBrowser,
31
31
  resolveManagedGpuMode
32
- } from "./chunk-5CXGDO74.js";
32
+ } from "./chunk-KENUKJRG.js";
33
33
  import {
34
34
  defineCommand
35
35
  } from "./chunk-DL4OD7IA.js";
@@ -39,7 +39,7 @@ import {
39
39
  import {
40
40
  printDeprecationNotice,
41
41
  withMeta
42
- } from "./chunk-H47FQDFU.js";
42
+ } from "./chunk-7ZRXSZF6.js";
43
43
  import {
44
44
  failureMessage,
45
45
  jsonFailure
@@ -140,7 +140,7 @@ var TEXT_AGNOSTIC_KEY_CODES = /* @__PURE__ */ new Set([
140
140
  "content_overlap",
141
141
  "text_occluded"
142
142
  ]);
143
- function collapseStaticLayoutIssues(issues, totalSampleCount) {
143
+ function collapseStaticLayoutIssues(issues, totalSampleCount, sampleTimes) {
144
144
  const groups = /* @__PURE__ */ new Map();
145
145
  for (const issue of issues) {
146
146
  const key = staticIssueKey(issue);
@@ -173,7 +173,8 @@ function collapseStaticLayoutIssues(issues, totalSampleCount) {
173
173
  times: [...new Set(times)].sort((a, b) => a - b)
174
174
  },
175
175
  multiSampleRun,
176
- sampleCount
176
+ sampleCount,
177
+ sampleTimes
177
178
  )
178
179
  );
179
180
  }
@@ -199,16 +200,22 @@ function longestContiguousRun(times) {
199
200
  function coverTier(issue, sampleCount) {
200
201
  return (issue.occurrences ?? 1) * 2 >= sampleCount ? issue : { ...issue, severity: "info" };
201
202
  }
202
- function tierIssue(issue, multiSampleRun, sampleCount) {
203
+ function tierIssue(issue, multiSampleRun, sampleCount, sampleTimes) {
203
204
  if (multiSampleRun && issue.code === "canvas_covered") return coverTier(issue, sampleCount);
204
- return applyPersistenceTier(issue, multiSampleRun);
205
+ return applyPersistenceTier(issue, multiSampleRun, sampleTimes);
205
206
  }
206
- function applyPersistenceTier(issue, multiSampleRun) {
207
+ function caughtForWholeLifetime(issue, sampleTimes) {
208
+ if (!issue.lifetime || !sampleTimes) return false;
209
+ const { start, end } = issue.lifetime;
210
+ const sampled = sampleTimes.filter((time) => time >= start && time < end).length;
211
+ return (issue.occurrences ?? 1) >= sampled;
212
+ }
213
+ function applyPersistenceTier(issue, multiSampleRun, sampleTimes) {
207
214
  if (!multiSampleRun) return issue;
208
215
  if (!PERSISTENCE_TIERED_CODES.has(issue.code)) return issue;
209
216
  const occurrences = issue.occurrences ?? 1;
210
217
  if (occurrences <= 1) {
211
- return { ...issue, severity: "info" };
218
+ return caughtForWholeLifetime(issue, sampleTimes) ? issue : { ...issue, severity: "info" };
212
219
  }
213
220
  if (issue.code === "content_overlap" && isContentOverlapHeldLongEnough(issue, occurrences)) {
214
221
  return { ...issue, severity: "error" };
@@ -699,7 +706,7 @@ async function collectTweenBoundaries(page) {
699
706
  });
700
707
  }
701
708
  async function bundleProjectHtml(projectDir) {
702
- const { bundleToSingleHtml } = await import("./compiler-CG2EXM75.js");
709
+ const { bundleToSingleHtml } = await import("./compiler-SLKHXYCO.js");
703
710
  return bundleToSingleHtml(projectDir);
704
711
  }
705
712
  async function alignViewportToComposition(page, url) {
@@ -716,15 +723,15 @@ async function alignViewportToComposition(page, url) {
716
723
  await gotoWhenSent(page, url, pageNavigationTimeoutMs());
717
724
  }
718
725
  async function runLayoutAudit(projectDir, opts) {
719
- const { ensureBrowser } = await import("./manager-LXWVBDLM.js");
726
+ const { ensureBrowser } = await import("./manager-I4ROBMYK.js");
720
727
  const puppeteer = await import("puppeteer-core");
721
- const { buildChromeArgs } = await import("./src-LAO5IGRI.js");
728
+ const { buildChromeArgs } = await import("./src-6T5KES5G.js");
722
729
  const {
723
730
  assertWebGpuAdapterAvailable,
724
731
  compositionRequiresWebGpu,
725
732
  resolveLocalBrowserGpuMode,
726
733
  resolveLocalWebGpu
727
- } = await import("./gpuPolicy-4ERRTA5U.js");
734
+ } = await import("./gpuPolicy-ODODH5JV.js");
728
735
  const html = await bundleProjectHtml(projectDir);
729
736
  const server = await serveStaticProjectHtml(
730
737
  projectDir,
@@ -991,7 +998,7 @@ function createInspectCommand(commandName) {
991
998
  `${c.warn("\u26A0")} ${result.transitionSamplesDropped} transition sample(s) omitted by --max-transition-samples; raise or drop it to sample every boundary`
992
999
  );
993
1000
  }
994
- const allIssues = collapseStatic ? collapseStaticLayoutIssues(result.rawIssues, result.samples.length) : result.rawIssues;
1001
+ const allIssues = collapseStatic ? collapseStaticLayoutIssues(result.rawIssues, result.samples.length, result.samples) : result.rawIssues;
995
1002
  const limited = limitLayoutIssues(allIssues, maxIssues);
996
1003
  const summary = summarizeLayoutIssues(allIssues);
997
1004
  const ok = summary.errorCount === 0 && (!strict || summary.warningCount === 0);
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-EQGKUPBJ.js";
13
13
  import {
14
14
  credentialPath
15
- } from "./chunk-4WEWHZZO.js";
15
+ } from "./chunk-VLA6UJGH.js";
16
16
  import {
17
17
  getInvocationId
18
18
  } from "./chunk-54HJ63Q2.js";
@@ -43,7 +43,7 @@ import {
43
43
  } from "./chunk-BLBMPEBX.js";
44
44
  import {
45
45
  VERSION
46
- } from "./chunk-OV6MUGZI.js";
46
+ } from "./chunk-DMUDI5IH.js";
47
47
 
48
48
  // src/telemetry/transport.ts
49
49
  import { spawn } from "child_process";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-WKNWKORX.js";
10
+ } from "./chunk-G2E2DHH2.js";
11
11
  import {
12
12
  findParakeet
13
13
  } from "./chunk-JZIEZCQM.js";
@@ -19,7 +19,7 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-O44FYXH5.js";
22
+ } from "./chunk-LIWBGRPD.js";
23
23
  import {
24
24
  MEDIA_LINK_ATTR,
25
25
  relinkSplitHalves
@@ -32,7 +32,7 @@ import {
32
32
  requestedProjectPath,
33
33
  requiredFfmpeg,
34
34
  resolveLocalAudioPath
35
- } from "./chunk-JMGMOK4Z.js";
35
+ } from "./chunk-O7YOS36L.js";
36
36
  import {
37
37
  HistoryBusyError,
38
38
  MAX_WINDOW_IDLE_MS,
@@ -70,11 +70,11 @@ import {
70
70
  scanProjectMedia,
71
71
  shouldPrewarmProxy,
72
72
  waitForProxy
73
- } from "./chunk-URKDBFZV.js";
73
+ } from "./chunk-KUQOUWJ4.js";
74
74
  import {
75
75
  probeAudioTrack,
76
76
  probeMediaMetadata
77
- } from "./chunk-5SZ2HRCW.js";
77
+ } from "./chunk-JH2AO4ZW.js";
78
78
  import {
79
79
  STUDIO_MOTION_PATH,
80
80
  createStudioMotionRenderBodyScript,
@@ -115,7 +115,7 @@ import {
115
115
  ensureHfIds,
116
116
  stampHfIdsInPlace,
117
117
  stripSdrPngColourTags
118
- } from "./chunk-2Q4CL6AB.js";
118
+ } from "./chunk-3KDODK5M.js";
119
119
  import {
120
120
  GSAP_BASE_URL_META,
121
121
  PREVIEW_PROXY_BOX_PARAM,
@@ -159,7 +159,7 @@ import {
159
159
  import {
160
160
  FFPROBE_PATH_ENV,
161
161
  findFfBinary
162
- } from "./chunk-VAS6HQX3.js";
162
+ } from "./chunk-BIROA7JM.js";
163
163
  import {
164
164
  isWithinProjectRoot,
165
165
  readProjectFile
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  probeAudio
9
- } from "./chunk-7VZEOCUY.js";
9
+ } from "./chunk-J74ZUXVU.js";
10
10
  import {
11
11
  stoppedByCancelSignal
12
- } from "./chunk-5HGUY24Y.js";
12
+ } from "./chunk-DWMI7CKI.js";
13
13
  import {
14
14
  DEFAULT_MODEL,
15
15
  ensureModel,
@@ -17,12 +17,12 @@ import {
17
17
  hasFFmpeg,
18
18
  pinnedWhisperModel,
19
19
  sha256File
20
- } from "./chunk-YQY4KVP4.js";
20
+ } from "./chunk-3VIICMJF.js";
21
21
  import {
22
22
  findFFmpeg,
23
23
  findFFprobe,
24
24
  getFFmpegInstallHint
25
- } from "./chunk-ST5EBZTO.js";
25
+ } from "./chunk-LGMRZWJS.js";
26
26
  import {
27
27
  findWavChunk
28
28
  } from "./chunk-UOFAE5RF.js";
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
1278
1278
  } catch (err) {
1279
1279
  if (err instanceof Error) {
1280
1280
  try {
1281
- const { trackCommandFailure } = await import("./events-P5AFL2VZ.js");
1281
+ const { trackCommandFailure } = await import("./events-KEJFQQDQ.js");
1282
1282
  trackCommandFailure(
1283
1283
  command,
1284
1284
  err,
@@ -11,11 +11,11 @@ import {
11
11
  distroLabel,
12
12
  getFFmpegInstallHint,
13
13
  parseLddMissingLibs
14
- } from "./chunk-ST5EBZTO.js";
14
+ } from "./chunk-LGMRZWJS.js";
15
15
  import {
16
16
  ensureBrowser,
17
17
  findBrowser
18
- } from "./chunk-QRIC4WOO.js";
18
+ } from "./chunk-G7ZTD2KJ.js";
19
19
  import {
20
20
  runCancellableProcess
21
21
  } from "./chunk-X6JUUQCM.js";
@@ -26,7 +26,7 @@ import {
26
26
  FFMPEG_PATH_ENV,
27
27
  FFPROBE_PATH_ENV,
28
28
  findFfBinary
29
- } from "./chunk-VAS6HQX3.js";
29
+ } from "./chunk-BIROA7JM.js";
30
30
  import {
31
31
  normalizeErrorMessage
32
32
  } from "./chunk-E63BDV4Z.js";
@@ -7,19 +7,19 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  ambiguousIssue,
9
9
  loadBrowserScript
10
- } from "./chunk-W2LKSBX5.js";
10
+ } from "./chunk-QE5JXNSW.js";
11
11
  import {
12
12
  auditClipDurations,
13
13
  shouldIgnoreHttpError,
14
14
  shouldIgnoreRequestFailure
15
- } from "./chunk-3C6O5HV2.js";
15
+ } from "./chunk-CPKBAMI3.js";
16
16
  import {
17
17
  serveStaticProjectHtml
18
- } from "./chunk-Z3HHAFEP.js";
18
+ } from "./chunk-LJUFR7G5.js";
19
19
  import {
20
20
  STUDIO_PREVIEW_CAPTURE_MODE,
21
21
  STUDIO_PREVIEW_MARK_META
22
- } from "./chunk-5XDKFCEI.js";
22
+ } from "./chunk-TNQ4SSTR.js";
23
23
  import {
24
24
  artifactDirectory,
25
25
  finishSnapshotRun
@@ -31,7 +31,7 @@ import {
31
31
  proxyVariantFor,
32
32
  resolveProxies,
33
33
  scanProjectMediaCodecMap
34
- } from "./chunk-URKDBFZV.js";
34
+ } from "./chunk-KUQOUWJ4.js";
35
35
  import {
36
36
  AUDIT_SEEK_OPTIONS,
37
37
  DEFAULT_ZOOM_PADDING_PX,
@@ -45,7 +45,7 @@ import {
45
45
  seekCompositionTimeline,
46
46
  seekInPage,
47
47
  waitForPreferredSeekTarget
48
- } from "./chunk-R7EB4M5P.js";
48
+ } from "./chunk-GGDVZ7O4.js";
49
49
  import {
50
50
  findStageProxyBox
51
51
  } from "./chunk-RYBFHEMZ.js";
@@ -56,7 +56,7 @@ import {
56
56
  BrowserCleanupError,
57
57
  closeManagedBrowser,
58
58
  onStopSignal
59
- } from "./chunk-5CXGDO74.js";
59
+ } from "./chunk-KENUKJRG.js";
60
60
  import {
61
61
  injectTagsAtHeadStart
62
62
  } from "./chunk-4I7KQWZS.js";
@@ -578,7 +578,7 @@ function proxyFailedDraft(message) {
578
578
  return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
579
579
  }
580
580
  async function loadCheckHtmlWithDeferredMedia(dir) {
581
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-NRY45OIW.js");
581
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-GP4MD6DJ.js");
582
582
  return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
583
583
  }
584
584
  function withCapturePreviewMark(html) {
@@ -640,7 +640,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
640
640
  ).map((draft) => runtimeFinding(draft, rootAnchor))
641
641
  }));
642
642
  const launchSettleMs = Date.now() - launchSettleStart;
643
- const { analyzeClipMediaFit } = await import("./src-LAO5IGRI.js");
643
+ const { analyzeClipMediaFit } = await import("./src-6T5KES5G.js");
644
644
  for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
645
645
  drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
646
646
  }
@@ -777,7 +777,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
777
777
  async function captureFindingFrames(project, options, requests, deadline) {
778
778
  if (requests.length === 0) return { written: [], inspected: [] };
779
779
  const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
780
- const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-NRY45OIW.js");
780
+ const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-GP4MD6DJ.js");
781
781
  return withCapturePreviewMark(
782
782
  await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
783
783
  );
@@ -1851,6 +1851,10 @@ function assignOptionalLayoutFields(issue, value) {
1851
1851
  if (overflow) issue.overflow = overflow;
1852
1852
  const coveredFraction = numberValue(value, "coveredFraction");
1853
1853
  if (coveredFraction !== null) issue.coveredFraction = coveredFraction;
1854
+ const lifetime = recordField(value, "lifetime");
1855
+ const start = lifetime ? numberValue(lifetime, "start") : null;
1856
+ const end = lifetime ? numberValue(lifetime, "end") : null;
1857
+ if (start !== null && end !== null) issue.lifetime = { start, end };
1854
1858
  }
1855
1859
  function recordField(value, key) {
1856
1860
  if (!isRecord(value)) return null;
@@ -0,0 +1,139 @@
1
+ import { createRequire as __hf_createRequire } from "node:module";
2
+ import { fileURLToPath as __hf_fileURLToPath } from "node:url";
3
+ import { dirname as __hf_dirname } from "node:path";
4
+ var require = __hf_createRequire(import.meta.url);
5
+ var __filename = __hf_fileURLToPath(import.meta.url);
6
+ var __dirname = __hf_dirname(__filename);
7
+
8
+ // src/auth/errors.ts
9
+ var AuthError = class extends Error {
10
+ code;
11
+ hint;
12
+ constructor(code, message, hint) {
13
+ super(message);
14
+ this.name = "AuthError";
15
+ this.code = code;
16
+ this.hint = hint;
17
+ }
18
+ };
19
+ var ErrNotConfigured = () => new AuthError(
20
+ "NOT_CONFIGURED",
21
+ "No HeyGen credentials found",
22
+ "Run `hyperframes auth login` to sign in."
23
+ );
24
+ var ErrInvalidStore = (detail) => new AuthError(
25
+ "INVALID_STORE",
26
+ `Credential file is unreadable: ${detail}`,
27
+ "Delete ~/.hyperframes/credentials and run `hyperframes auth login` to re-create it."
28
+ );
29
+ var ErrUnauthenticated = (detail) => new AuthError(
30
+ "UNAUTHENTICATED",
31
+ detail ? `HeyGen rejected the credential: ${detail}` : "HeyGen rejected the credential",
32
+ "Run `hyperframes auth login` to re-authenticate."
33
+ );
34
+ var ErrApi = (status, detail) => new AuthError("API_ERROR", `HeyGen API error (${status}): ${detail}`);
35
+ var ErrOAuthNotConfigured = () => new AuthError(
36
+ "OAUTH_NOT_CONFIGURED",
37
+ "OAuth client is not configured",
38
+ "Set HYPERFRAMES_OAUTH_CLIENT_ID, or run `hyperframes auth login --api-key`."
39
+ );
40
+ var ErrRefreshFailed = (detail) => new AuthError(
41
+ "REFRESH_FAILED",
42
+ detail ? `Failed to refresh OAuth tokens: ${detail}` : "Failed to refresh OAuth tokens",
43
+ "Run `hyperframes auth login` to re-authenticate."
44
+ );
45
+ var ErrLoginExpired = () => new AuthError(
46
+ "LOGIN_EXPIRED",
47
+ "Your HeyGen login expired",
48
+ "Run `hyperframes auth login` to sign in again."
49
+ );
50
+ var ErrLoginChanged = () => new AuthError(
51
+ "LOGIN_CHANGED",
52
+ "Your HeyGen login changed while this command ran",
53
+ "Run the command again."
54
+ );
55
+ var ErrDeviceAuthFailed = (detail) => new AuthError(
56
+ "DEVICE_AUTH_FAILED",
57
+ `Device authorization failed: ${detail}`,
58
+ "Run `hyperframes auth login --device` to start a new code."
59
+ );
60
+ function isAuthError(err) {
61
+ return err instanceof AuthError;
62
+ }
63
+
64
+ // src/auth/config.ts
65
+ var PROD_CLIENT_ID = "Zg3LF4FCLoeJoGs2YqMtZ17g";
66
+ function oauthEnvironment() {
67
+ const value = process.env["HYPERFRAMES_ENV"] || "prod";
68
+ if (value === "prod" || value === "dev") return value;
69
+ throw new AuthError("OAUTH_NOT_CONFIGURED", "HYPERFRAMES_ENV must be prod or dev");
70
+ }
71
+ function defaultClientId() {
72
+ return oauthEnvironment() === "prod" ? PROD_CLIENT_ID : "9QoaiwCZov9O0cAkC4OZbR4p";
73
+ }
74
+ function resolveClientId() {
75
+ const id = process.env["HYPERFRAMES_OAUTH_CLIENT_ID"] || defaultClientId();
76
+ if (!id) throw ErrOAuthNotConfigured();
77
+ return id;
78
+ }
79
+ function tokenEndpoint() {
80
+ return process.env["HYPERFRAMES_OAUTH_TOKEN_URL"] || `https://api2.${oauthEnvironment() === "dev" ? "dev." : ""}heygen.com/v1/oauth/token`;
81
+ }
82
+ function authorizeEndpoint() {
83
+ return process.env["HYPERFRAMES_OAUTH_AUTHORIZE_URL"] || (oauthEnvironment() === "dev" ? "https://api2.dev.heygen.com/v1/oauth/authorize" : "https://app.heygen.com/oauth/authorize");
84
+ }
85
+ function revokeEndpoint() {
86
+ return process.env["HYPERFRAMES_OAUTH_REVOKE_URL"] || `https://api2.${oauthEnvironment() === "dev" ? "dev." : ""}heygen.com/v1/oauth/revoke`;
87
+ }
88
+ function deviceAuthorizationEndpoint() {
89
+ return process.env["HYPERFRAMES_OAUTH_DEVICE_URL"] || `https://api2.${oauthEnvironment() === "dev" ? "dev." : ""}heygen.com/v1/oauth/device_authorization`;
90
+ }
91
+ function oauthIdentity() {
92
+ return { client_id: resolveClientId(), token_endpoint: tokenEndpoint() };
93
+ }
94
+ function assertOAuthIdentity(tokens) {
95
+ const identity = oauthIdentity();
96
+ if (tokens.client_id !== identity.client_id || tokens.token_endpoint !== identity.token_endpoint) {
97
+ throw new AuthError(
98
+ "LOGIN_EXPIRED",
99
+ "This login belongs to a different OAuth client or environment",
100
+ "Run `hyperframes auth login` to sign into the selected HyperFrames environment."
101
+ );
102
+ }
103
+ }
104
+
105
+ // src/auth/paths.ts
106
+ import { homedir } from "os";
107
+ import { join } from "path";
108
+ var CREDENTIAL_FILENAME = "credentials";
109
+ function configDir() {
110
+ const root = process.env["HYPERFRAMES_CONFIG_DIR"] || join(homedir(), ".hyperframes");
111
+ return oauthEnvironment() === "dev" ? join(root, "dev") : root;
112
+ }
113
+ function credentialPath() {
114
+ return join(configDir(), CREDENTIAL_FILENAME);
115
+ }
116
+
117
+ export {
118
+ AuthError,
119
+ ErrNotConfigured,
120
+ ErrInvalidStore,
121
+ ErrUnauthenticated,
122
+ ErrApi,
123
+ ErrRefreshFailed,
124
+ ErrLoginExpired,
125
+ ErrLoginChanged,
126
+ ErrDeviceAuthFailed,
127
+ isAuthError,
128
+ oauthEnvironment,
129
+ defaultClientId,
130
+ resolveClientId,
131
+ tokenEndpoint,
132
+ authorizeEndpoint,
133
+ revokeEndpoint,
134
+ deviceAuthorizationEndpoint,
135
+ oauthIdentity,
136
+ assertOAuthIdentity,
137
+ configDir,
138
+ credentialPath
139
+ };
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-5ETJX6WM.js";
17
17
  import {
18
18
  runEnvironmentChecks
19
- } from "./chunk-V4AS2BNU.js";
19
+ } from "./chunk-UGDLT4LZ.js";
20
20
  import {
21
21
  OPTIONAL_PACKAGES,
22
22
  installedOptionalPackageVersion
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-2GICKZ3I.js";
30
30
  import {
31
31
  resolveExtractCacheDir
32
- } from "./chunk-TDNZIFJ2.js";
32
+ } from "./chunk-YXZ56JUN.js";
33
33
  import {
34
34
  getFreeDiskMb,
35
35
  getShmSizeMb,
@@ -41,14 +41,14 @@ import {
41
41
  import {
42
42
  getUpdateMeta,
43
43
  withMeta
44
- } from "./chunk-H47FQDFU.js";
44
+ } from "./chunk-7ZRXSZF6.js";
45
45
  import {
46
46
  CONFIG_PATH,
47
47
  withFileLock
48
48
  } from "./chunk-BLBMPEBX.js";
49
49
  import {
50
50
  VERSION
51
- } from "./chunk-OV6MUGZI.js";
51
+ } from "./chunk-DMUDI5IH.js";
52
52
  import {
53
53
  normalizeErrorMessage
54
54
  } from "./chunk-E63BDV4Z.js";
@@ -240,7 +240,7 @@ function checkEnvironment() {
240
240
  return { ok: true, detail: parts.join(" \xB7 ") };
241
241
  }
242
242
  async function checkWhisper() {
243
- const { findWhisper, getInstallInstructions } = await import("./manager-CXRLWAKH.js");
243
+ const { findWhisper, getInstallInstructions } = await import("./manager-USFB6SE2.js");
244
244
  const result = findWhisper();
245
245
  if (result) {
246
246
  return { ok: true, detail: result.executablePath };
@@ -8,7 +8,7 @@ import {
8
8
  DEFAULT_VP9_CPU_USED,
9
9
  isHttpUrl,
10
10
  runFfmpeg
11
- } from "./chunk-TDNZIFJ2.js";
11
+ } from "./chunk-YXZ56JUN.js";
12
12
  import {
13
13
  renameWithRetry
14
14
  } from "./chunk-YWRUQ7XZ.js";
@@ -11,7 +11,7 @@ import {
11
11
  PRORES_PROFILE_NAMES,
12
12
  appendRateCapArgs,
13
13
  isProresProfile
14
- } from "./chunk-TDNZIFJ2.js";
14
+ } from "./chunk-YXZ56JUN.js";
15
15
  import {
16
16
  failUsage
17
17
  } from "./chunk-DP5LF7GF.js";
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-LPJMACTI.js";
13
+ } from "./chunk-Z537IJJH.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";