hyperframes 0.8.207 → 0.8.209
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.
- package/dist/{add-LXFWHBE3.js → add-VZKUIZEH.js} +17 -15
- package/dist/{agentPromptGenerator-D2E62ZP5.js → agentPromptGenerator-4NJ252MR.js} +6 -2
- package/dist/{animatedGifPrep-VBPJZKFT.js → animatedGifPrep-PN4G4YPJ.js} +10 -7
- package/dist/api.js +24 -20
- package/dist/{appHistory-HIBH6XZW.js → appHistory-OHYU5ZBQ.js} +3 -2
- package/dist/{asset-JX4RW3GO.js → asset-I4PHGE57.js} +2 -2
- package/dist/{assetCataloger-JKKOPBCF.js → assetCataloger-LRAUXQ46.js} +12 -8
- package/dist/{audio-OXQ3L6DW.js → audio-T7SAVYED.js} +424 -133
- package/dist/{auth-JAL7P7ZA.js → auth-GP6HTQT3.js} +4 -4
- package/dist/{autoUpdate-MRI2AICE.js → autoUpdate-Z6GFPZAG.js} +4 -4
- package/dist/{backgroundChecks-ORR46PBY.js → backgroundChecks-ZJ7JV52S.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-IFZYPGIW.js → batchRender-J3ETE23Y.js} +5 -4
- package/dist/{beats-UDLOEW6U.js → beats-WF4FJCM5.js} +25 -15
- package/dist/{benchmark-VTVDNKSO.js → benchmark-B7UPP4PQ.js} +10 -10
- package/dist/{browser-QJC4BL2Y.js → browser-SIUYD43U.js} +8 -8
- package/dist/{bundleWithLocalizedFonts-Z2JTBNDS.js → bundleWithLocalizedFonts-RRGFY3XV.js} +3 -3
- package/dist/{capture-2P4JERSX.js → capture-J3GLHUKI.js} +52 -17
- package/dist/{capture-GLM2ACPM.js → capture-VYS4PCCJ.js} +66 -39
- package/dist/{captureCompositionFrame-A2A5MGQB.js → captureCompositionFrame-SVLMPQYC.js} +16 -14
- package/dist/{captureFile-RPUEOZO6.js → captureFile-VIVGKFY4.js} +2 -1
- package/dist/{catalog-5ZLVUQVJ.js → catalog-DVBNR422.js} +17 -15
- package/dist/{catch-up-FRMVYJHZ.js → catch-up-OBPMV7KG.js} +9 -8
- package/dist/{check-WVY7SM7C.js → check-MEALXNZK.js} +47 -44
- package/dist/{checkAudio-PLEQY3SZ.js → checkAudio-RZ7WQYVN.js} +23 -13
- package/dist/{checkBrowser-XSZUA2DQ.js → checkBrowser-2LEQ2LSX.js} +39 -36
- package/dist/{chunk-526VSRZ4.js → chunk-3A4SB326.js} +6 -6
- package/dist/{chunk-GXUONASF.js → chunk-3PTZ2TD4.js} +25 -2
- package/dist/{chunk-JQ32262N.js → chunk-3PUXUIWB.js} +1 -1
- package/dist/chunk-3RATCY3W.js +205 -0
- package/dist/{chunk-MAUGXKSI.js → chunk-4BXEPVSA.js} +113 -20
- package/dist/{chunk-C6KE4AFW.js → chunk-56ANHX5U.js} +1 -1
- package/dist/{chunk-VBPNCOD7.js → chunk-5T4DP25D.js} +5 -3
- package/dist/{chunk-IBZHSU2J.js → chunk-66PNSZ7K.js} +1 -1
- package/dist/{chunk-WL263XM2.js → chunk-6PWQH77E.js} +1 -1
- package/dist/chunk-7VZEOCUY.js +98 -0
- package/dist/{chunk-VAVDAOUA.js → chunk-A7GDBL6D.js} +1 -1
- package/dist/{chunk-UAT2UMTP.js → chunk-AQTODJWP.js} +1 -1
- package/dist/{chunk-5KBMYSF2.js → chunk-BYPDKF36.js} +7 -2
- package/dist/{chunk-EG3B2VWK.js → chunk-CA3PXWN4.js} +16 -21
- package/dist/{chunk-FEO7YW7V.js → chunk-CBM4ZUVN.js} +6 -6
- package/dist/{chunk-6KCFVLO6.js → chunk-CIDCNE2D.js} +21 -5
- package/dist/{chunk-C53ZNJDZ.js → chunk-D2CE2J2A.js} +1 -1
- package/dist/chunk-D3MUHMFG.js +16 -0
- package/dist/{chunk-5PYRU5DT.js → chunk-D6T5BNSK.js} +18 -17
- package/dist/{chunk-PUIG6DHT.js → chunk-DR47DSOY.js} +7 -7
- package/dist/chunk-DROFHVQD.js +240 -0
- package/dist/{chunk-YJK6HOL5.js → chunk-DVIX7UPH.js} +2 -2
- package/dist/{chunk-QTWXVOZI.js → chunk-EA5FUMJN.js} +2 -2
- package/dist/{chunk-NWGXTUYS.js → chunk-EQBDKYXR.js} +3 -30
- package/dist/{chunk-4UMPIPCQ.js → chunk-ERUQ3S6D.js} +2 -2
- package/dist/{chunk-T2EUWCJE.js → chunk-EU7MVORF.js} +13 -1
- package/dist/{chunk-IW5P4KK7.js → chunk-EVYDKSML.js} +3 -3
- package/dist/{chunk-FVAI7AHF.js → chunk-F4O4G4ZW.js} +5 -5
- package/dist/{chunk-6KOHY5EP.js → chunk-FB5BXGGF.js} +17 -11
- package/dist/{chunk-HTIUNMTP.js → chunk-GDZA4ALG.js} +8 -2
- package/dist/{chunk-DJQZ7DEH.js → chunk-GQZHLF5P.js} +15 -15
- package/dist/{chunk-ZYGIDXAK.js → chunk-H7B526GH.js} +114 -65
- package/dist/{chunk-P2I4RLJE.js → chunk-HTZJNQYI.js} +1 -1
- package/dist/{chunk-I2TDHVFV.js → chunk-I3ICHLHV.js} +2 -2
- package/dist/{chunk-CVZO6TFE.js → chunk-IJPFVMIE.js} +11 -11
- package/dist/{chunk-LK6KPVX2.js → chunk-IQNS7O4W.js} +403 -290
- package/dist/{chunk-XDMZY3H7.js → chunk-J7A73K2B.js} +43 -35
- package/dist/{chunk-RPZNQV6D.js → chunk-JC6BAQOG.js} +4 -10
- package/dist/{chunk-HA3V4XAF.js → chunk-JJRMN2RV.js} +63 -200
- package/dist/{chunk-XMRA7CQG.js → chunk-KCLBO65Y.js} +1 -1
- package/dist/{chunk-QE4WRS3N.js → chunk-KGBFHYHX.js} +4 -4
- package/dist/{chunk-HM7SUIQD.js → chunk-KTWGVEN6.js} +3 -3
- package/dist/{chunk-7PJ3AJB2.js → chunk-L5XVBFUM.js} +1 -1
- package/dist/{chunk-NSC5A4IR.js → chunk-L7MGVFR4.js} +7 -2
- package/dist/{chunk-I3TYUQLB.js → chunk-LJ7H2A2C.js} +1 -1
- package/dist/{chunk-VH4PNYOS.js → chunk-LV4NWCJS.js} +2 -2
- package/dist/{chunk-ELP5QZWL.js → chunk-M4QZFUMW.js} +1 -1
- package/dist/{chunk-7RWUY3BJ.js → chunk-MI4V4HPE.js} +1 -1
- package/dist/{chunk-SXOD5J7T.js → chunk-MKALOCDV.js} +1 -1
- package/dist/{chunk-UKM3JYNB.js → chunk-MVNTJGDX.js} +3 -3
- package/dist/{chunk-PSX5SF2N.js → chunk-NEASABW6.js} +1 -1
- package/dist/{chunk-H3LQ5X6Q.js → chunk-NJZRXELC.js} +68 -34
- package/dist/{chunk-EOVYQ3IG.js → chunk-NQ2INEHX.js} +17 -17
- package/dist/{chunk-LCCYYTEK.js → chunk-NXNDHV26.js} +1 -1
- package/dist/{chunk-JKE24AG7.js → chunk-OK3QLJSF.js} +1 -1
- package/dist/{chunk-63DP5CB2.js → chunk-OML6HQQN.js} +4 -4
- package/dist/{chunk-UUOIH4RW.js → chunk-P2FSCR5B.js} +2 -2
- package/dist/{chunk-ZCJ5EGLU.js → chunk-P327BIJR.js} +66 -1
- package/dist/{chunk-HVOTYAS4.js → chunk-P3OKYRGA.js} +3 -3
- package/dist/{chunk-U32PA6DI.js → chunk-PYVYF64E.js} +1 -1
- package/dist/{chunk-EHFZEKQM.js → chunk-Q43YUROE.js} +1 -1
- package/dist/{chunk-CZUAX3BV.js → chunk-QIDN4ML5.js} +1 -1
- package/dist/{chunk-NHL5CMO2.js → chunk-QIKZ2HZJ.js} +3 -3
- package/dist/{chunk-IK4JY2LI.js → chunk-R52YM6ZK.js} +2 -2
- package/dist/{chunk-DML6BD4K.js → chunk-RAONLDN5.js} +2 -2
- package/dist/{chunk-MSHL6CF2.js → chunk-RJO4X3AA.js} +1 -1
- package/dist/{chunk-6IYIS2U7.js → chunk-RVG2JNDU.js} +2 -2
- package/dist/{chunk-UYPWH7PH.js → chunk-SE6S4SGZ.js} +13 -15
- package/dist/{chunk-NJNC2DQV.js → chunk-SNLXWCET.js} +105 -46
- package/dist/{chunk-TSTONNOD.js → chunk-SOXQXX2M.js} +2 -2
- package/dist/{chunk-EGRIVMCQ.js → chunk-SPMKVI6H.js} +2 -2
- package/dist/{chunk-PL36HK3U.js → chunk-SWHCYFEF.js} +27 -5
- package/dist/{chunk-ID766OZB.js → chunk-TF7YE7J5.js} +3 -3
- package/dist/{chunk-XAGBSYIQ.js → chunk-TSM67ADU.js} +1 -1
- package/dist/{chunk-KDHHPJOG.js → chunk-U5IZUWBW.js} +4 -4
- package/dist/{chunk-T4JGFCXU.js → chunk-V4VXWOIF.js} +4 -4
- package/dist/{chunk-6N65ZMC5.js → chunk-VYRJAQGC.js} +1 -1
- package/dist/{chunk-LXP6XWJL.js → chunk-W32DVMX3.js} +2 -2
- package/dist/{chunk-LPI7HX4G.js → chunk-WLVHSGVL.js} +2 -2
- package/dist/chunk-XCIHCPJK.js +106 -0
- package/dist/chunk-XFMO3BEN.js +71 -0
- package/dist/{chunk-XKW4Z7BU.js → chunk-Y2EVJBR6.js} +1 -1
- package/dist/{chunk-QZ2JQ6O4.js → chunk-YCGLT5B4.js} +3 -3
- package/dist/{chunk-5PCALX6G.js → chunk-YIFEK3UD.js} +1 -1
- package/dist/{chunk-ZF3R2IPC.js → chunk-YRO3PXWU.js} +2 -85
- package/dist/chunk-Z5J67X44.js +40 -0
- package/dist/{chunk-XULJBZ7K.js → chunk-Z67J3TTU.js} +5 -3
- package/dist/{chunk-7JAD4MEW.js → chunk-ZA5TNF4R.js} +1 -0
- package/dist/{chunk-6Z7XDUUJ.js → chunk-ZMIRSWN6.js} +1 -1
- package/dist/{chunk-IYZT62UR.js → chunk-ZPILPVYU.js} +2 -2
- package/dist/chunk-ZXTSUXSL.js +4870 -0
- package/dist/{clean-TL3IPJDN.js → clean-VWCYLOVI.js} +26 -22
- package/dist/cli.js +58 -58
- package/dist/{cloud-EYMRPJNY.js → cloud-HU3RXCVE.js} +4 -4
- package/dist/{cloudrun-TOJ36NLX.js → cloudrun-OST6QBYD.js} +6 -5
- package/dist/commands/layout-audit.browser.js +1 -0
- package/dist/{compare-MP5EOW4D.js → compare-U2MJWZAH.js} +38 -35
- package/dist/{compiler-NOPVLJ2S.js → compiler-DSP4MVEC.js} +5 -3
- package/dist/{component-ASACDCZK.js → component-EC5XU6KR.js} +3 -3
- package/dist/{compositions-WKNZJY34.js → compositions-AKYCTF4G.js} +16 -13
- package/dist/{contactSheet-YOBPATEM.js → contactSheet-RYAE7Y5D.js} +3 -2
- package/dist/{delete-DQTFHP3G.js → delete-Z5MOEZM2.js} +10 -9
- package/dist/{deploy-HHCFOUFM.js → deploy-Y4LFVYXT.js} +6 -6
- package/dist/{dist-L4Z4ZEYW.js → dist-73YTUT3W.js} +1 -1
- package/dist/{dist-NQEYA4ZX.js → dist-JJL4QUDL.js} +2 -2
- package/dist/docker/Dockerfile.render +1 -1
- package/dist/{doctor-JDM65CP7.js → doctor-7234U557.js} +18 -15
- package/dist/{events-RKRHRLJD.js → events-RUIZNTG3.js} +4 -4
- package/dist/{events-MBRNA3UF.js → events-SII53QYO.js} +5 -5
- package/dist/{feedback-LZWIWV5J.js → feedback-6CCDDQ36.js} +12 -12
- package/dist/{ffmpeg-4PZKSIGE.js → ffmpeg-C4VWK4M2.js} +12 -9
- package/dist/{figma-QFNYUT3F.js → figma-GAN63U5U.js} +3 -3
- package/dist/fontLocalizeCli.js +13 -10
- package/dist/{get-2B5ENJOH.js → get-RZGUHZB4.js} +10 -9
- package/dist/{gpuPolicy-E5FB2GFR.js → gpuPolicy-BGJRCLP4.js} +10 -7
- package/dist/{grade-compare-4GUAPJHE.js → grade-compare-XOBN52WV.js} +38 -35
- package/dist/{heifImagePrep-C2RYIEER.js → heifImagePrep-DCHSYGW7.js} +11 -8
- package/dist/{help-XGDAXV67.js → help-O2IV6PUC.js} +1 -1
- package/dist/{history-WNFF6HGU.js → history-GPTEM4UX.js} +11 -10
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-BR2LKGJD.js → info-7Y3JPN7C.js} +9 -9
- package/dist/{init-P6UWPUY3.js → init-L6W5WG5K.js} +40 -34
- package/dist/{inspect-MSRPF7ZO.js → inspect-MQZANGQY.js} +37 -34
- package/dist/{installer-MPUQS3ZX.js → installer-DCIMLYB6.js} +4 -4
- package/dist/{keyframes-J6K66QTO.js → keyframes-WNJIKL4G.js} +8 -8
- package/dist/{lambda-LJ2OSWFJ.js → lambda-FEA4SSFK.js} +16 -13
- package/dist/{layout-CDY65XGA.js → layout-AUQAYDJU.js} +37 -34
- package/dist/{lint-CAUNBGPX.js → lint-A33IHYID.js} +9 -9
- package/dist/{lintProject-ZTSX3AWT.js → lintProject-KCN7MRBN.js} +1 -1
- package/dist/{list-33BYQNRZ.js → list-56JHCET6.js} +10 -9
- package/dist/localPage-V3HBGM3Z.js +27 -0
- package/dist/{login-5QMRKOHK.js → login-HUOM4GNP.js} +7 -7
- package/dist/{logout-JYFWWUGK.js → logout-3IID4KXD.js} +3 -3
- package/dist/{manager-3JOHHPVR.js → manager-SDRJOMPR.js} +13 -10
- package/dist/{manager-RMYSZ3KI.js → manager-Z7W4GQGF.js} +4 -4
- package/dist/{media-treatment-4WP22CFN.js → media-treatment-5TGZOD67.js} +27 -22
- package/dist/{models-HPWCHAZX.js → models-ABDX6TXI.js} +17 -14
- package/dist/{motionShot-I7GDIROQ.js → motionShot-AV2WRH2C.js} +20 -18
- package/dist/{normalize-audio-VTMXPSC7.js → normalize-audio-M7T25DST.js} +12 -9
- package/dist/{open-SAO7OQTT.js → open-IRNZY5XN.js} +17 -16
- package/dist/{parakeetRunner-ZYPBIA73.js → parakeetRunner-2EJUIMOJ.js} +21 -17
- package/dist/{pipeline-VNBMR6QU.js → pipeline-QGKOJKXS.js} +13 -10
- package/dist/{play-7VI6A7KN.js → play-2SQLHM5B.js} +26 -23
- package/dist/{policies-GHVXA5PE.js → policies-PKLD4UW5.js} +1 -1
- package/dist/{preflight-VWV7L45J.js → preflight-ZHXMG2SM.js} +14 -11
- package/dist/{present-CSJGYOFF.js → present-RERVL6R7.js} +21 -18
- package/dist/{preview-B246ZTVO.js → preview-S6RQOMHE.js} +28 -25
- package/dist/{producer-WJLFDVQJ.js → producer-DBRGH2FI.js} +1 -1
- package/dist/{projectConfig-OMR46ZWQ.js → projectConfig-TUMDULTL.js} +9 -8
- package/dist/{publication-AA7NNYET.js → publication-7VGXIFVZ.js} +2 -2
- package/dist/{publish-TJ4QVVSP.js → publish-KJB2AGHL.js} +18 -15
- package/dist/{refresh-USSFPJAU.js → refresh-3IRHJEQA.js} +3 -3
- package/dist/{remove-background-LQ2V7W7N.js → remove-background-EFWXPLS4.js} +14 -11
- package/dist/{render-AWEEPG3F.js → render-5O5ARP6C.js} +65 -62
- package/dist/{render-JLTNZ36U.js → render-7S6UBLOE.js} +50 -48
- package/dist/{render-E5QJG74D.js → render-HV6AA22W.js} +6 -5
- package/dist/{render-batch-U4T4VSCM.js → render-batch-7UEOULJJ.js} +7 -6
- package/dist/renderSetupWorker.js +6 -6
- package/dist/{resolver-GXCTUKPV.js → resolver-HFTEER5V.js} +4 -4
- package/dist/{screenshotCapture-X6OKIXCB.js → screenshotCapture-HOW4VSV6.js} +3 -2
- package/dist/{sherpa-4VZWVHWZ.js → sherpa-HSSM76FL.js} +20 -16
- package/dist/skills/hyperframes/SKILL.md +1 -1
- package/dist/skills/hyperframes/references/format.md +1 -0
- package/dist/skills/hyperframes-cli/references/beats.md +2 -0
- package/dist/skills/media-use/references/grading.md +2 -0
- package/dist/skills/media-use/references/local.md +1 -0
- package/dist/{skills-WUKR7SUE.js → skills-RQO5K6WL.js} +7 -7
- package/dist/{skillsUpdateCheck-YXRBY3JC.js → skillsUpdateCheck-S5WL2YLZ.js} +5 -5
- package/dist/{snapshot-Q7S2FTNG.js → snapshot-4RGI235E.js} +119 -66
- package/dist/{src-ZOXUSGAP.js → src-ALOV4D57.js} +26 -10
- package/dist/{src-CLAALR5W.js → src-D75YYW2M.js} +12 -9
- package/dist/{staticProjectServer-DQ7PIDPA.js → staticProjectServer-DIHWPJ6B.js} +21 -18
- package/dist/{status-LR7VXITS.js → status-DTP6ZYDU.js} +3 -3
- package/dist/studio/assets/{hyperframes-player-Cm5aBiKq.js → hyperframes-player-CMH8OeX2.js} +3 -3
- package/dist/studio/assets/{index-BF9YeBnC.js → index-DQam8zzE.js} +71 -71
- package/dist/studio/assets/{index-BrqAmMRt.js → index-DjHzuJGR.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-NUE227JM.js → studio-api-A2VSWTVF.js} +13 -10
- package/dist/{studioServer-HVOKP4VI.js → studioServer-PECYWZHS.js} +60 -57
- package/dist/{synthesize-QZHRXGRY.js → synthesize-RVE7IUOJ.js} +3 -2
- package/dist/{telemetry-IHU4HL3R.js → telemetry-6BPSGY5W.js} +2 -2
- package/dist/{telemetry-2Y5JXLDB.js → telemetry-YDGXGOLH.js} +5 -5
- package/dist/{timeline-WOQGXFRV.js → timeline-5WUEEKZ3.js} +27 -23
- package/dist/{tokens-T3OHTWUC.js → tokens-XVFZPIUZ.js} +2 -2
- package/dist/{transcribe-JZ3BO546.js → transcribe-QWDUIJWK.js} +26 -22
- package/dist/{transcribe-4U74P5TG.js → transcribe-TTJ6CDQT.js} +17 -13
- package/dist/{tts-AY4JO5NQ.js → tts-AGMCPQXE.js} +1 -1
- package/dist/{updateCheck-6EUAGAM4.js → updateCheck-P7STSJ6Q.js} +4 -4
- package/dist/{upgrade-55K6F4MP.js → upgrade-NEIZ3KVL.js} +4 -4
- package/dist/{urlDownloader-47JMOLNN.js → urlDownloader-ZZFNGZNG.js} +9 -6
- package/dist/{validate-QBJ3SBS4.js → validate-T2SLBOXG.js} +30 -27
- package/dist/{video-3ZAUNAR3.js → video-7OHSBSRT.js} +12 -8
- package/dist/warmCheck.js +47 -44
- package/package.json +1 -1
- package/dist/chunk-BDJIQZN2.js +0 -4830
- package/dist/chunk-DKPNNYBZ.js +0 -44
- package/dist/{destroy-SSPAKADI.js → destroy-CGAZIL2C.js} +4 -4
|
@@ -0,0 +1,98 @@
|
|
|
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
|
+
import {
|
|
8
|
+
decodableAudioStream
|
|
9
|
+
} from "./chunk-D3MUHMFG.js";
|
|
10
|
+
import {
|
|
11
|
+
findFfBinary
|
|
12
|
+
} from "./chunk-VAS6HQX3.js";
|
|
13
|
+
|
|
14
|
+
// src/audio/analysis/decode.ts
|
|
15
|
+
import { execFile } from "child_process";
|
|
16
|
+
import { promisify } from "util";
|
|
17
|
+
var run = promisify(execFile);
|
|
18
|
+
function requiredBinary(name) {
|
|
19
|
+
const path = findFfBinary(name, { configuredMustExist: true });
|
|
20
|
+
if (!path) throw new Error(`${name} is required to analyze audio; run: npx hyperframes doctor`);
|
|
21
|
+
return path;
|
|
22
|
+
}
|
|
23
|
+
async function probeAudio(file) {
|
|
24
|
+
const { stdout } = await run(
|
|
25
|
+
requiredBinary("ffprobe"),
|
|
26
|
+
[
|
|
27
|
+
"-v",
|
|
28
|
+
"error",
|
|
29
|
+
"-select_streams",
|
|
30
|
+
"a",
|
|
31
|
+
"-show_streams",
|
|
32
|
+
"-show_format",
|
|
33
|
+
"-of",
|
|
34
|
+
"json",
|
|
35
|
+
"--",
|
|
36
|
+
file
|
|
37
|
+
],
|
|
38
|
+
{ maxBuffer: 8 * 1024 * 1024, windowsHide: true }
|
|
39
|
+
);
|
|
40
|
+
const parsed = JSON.parse(stdout);
|
|
41
|
+
const index = decodableAudioStream(parsed.streams ?? []);
|
|
42
|
+
const stream = index === null ? void 0 : parsed.streams?.[index];
|
|
43
|
+
if (index === null || !stream) return null;
|
|
44
|
+
return {
|
|
45
|
+
audioStream: index,
|
|
46
|
+
sampleRate: Number(stream.sample_rate),
|
|
47
|
+
channels: stream.channels ?? 1,
|
|
48
|
+
duration: Number(stream.duration ?? parsed.format?.duration ?? 0)
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
async function decodeAudio(file, window = {}, probed, format = {}) {
|
|
52
|
+
const probedInfo = probed ?? await probeAudio(file);
|
|
53
|
+
if (!probedInfo) return null;
|
|
54
|
+
const info = {
|
|
55
|
+
...probedInfo,
|
|
56
|
+
sampleRate: format.sampleRate ?? probedInfo.sampleRate,
|
|
57
|
+
channels: format.mono ? 1 : probedInfo.channels
|
|
58
|
+
};
|
|
59
|
+
const seek = window.from ? ["-ss", String(window.from)] : [];
|
|
60
|
+
const length = window.seconds === void 0 ? [] : ["-t", String(window.seconds)];
|
|
61
|
+
const { stdout } = await run(
|
|
62
|
+
requiredBinary("ffmpeg"),
|
|
63
|
+
[
|
|
64
|
+
"-v",
|
|
65
|
+
"error",
|
|
66
|
+
...seek,
|
|
67
|
+
"-i",
|
|
68
|
+
file,
|
|
69
|
+
...length,
|
|
70
|
+
"-map",
|
|
71
|
+
`0:a:${probedInfo.audioStream}`,
|
|
72
|
+
...format.mono ? ["-ac", "1"] : [],
|
|
73
|
+
...format.sampleRate ? ["-ar", String(format.sampleRate)] : [],
|
|
74
|
+
"-f",
|
|
75
|
+
"f32le",
|
|
76
|
+
"-acodec",
|
|
77
|
+
"pcm_f32le",
|
|
78
|
+
"-"
|
|
79
|
+
],
|
|
80
|
+
{ encoding: "buffer", maxBuffer: 2 * 1024 * 1024 * 1024, windowsHide: true }
|
|
81
|
+
);
|
|
82
|
+
const bytes = stdout.byteLength - stdout.byteLength % 4;
|
|
83
|
+
const interleaved = new Float32Array(
|
|
84
|
+
stdout.buffer.slice(stdout.byteOffset, stdout.byteOffset + bytes)
|
|
85
|
+
);
|
|
86
|
+
const frames = Math.floor(interleaved.length / info.channels);
|
|
87
|
+
const channels = Array.from({ length: info.channels }, (_, c) => {
|
|
88
|
+
const samples = new Float32Array(frames);
|
|
89
|
+
for (let i = 0; i < frames; i++) samples[i] = interleaved[i * info.channels + c];
|
|
90
|
+
return samples;
|
|
91
|
+
});
|
|
92
|
+
return { signal: { sampleRate: info.sampleRate, channels }, stream: info };
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export {
|
|
96
|
+
probeAudio,
|
|
97
|
+
decodeAudio
|
|
98
|
+
};
|
|
@@ -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-
|
|
9
|
+
} from "./chunk-EA5FUMJN.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -9,10 +9,13 @@ import {
|
|
|
9
9
|
connectAuthority,
|
|
10
10
|
openUpstreamTunnel
|
|
11
11
|
} from "./chunk-TSYRN646.js";
|
|
12
|
+
import {
|
|
13
|
+
fetchLocalPageUrl
|
|
14
|
+
} from "./chunk-DROFHVQD.js";
|
|
12
15
|
import {
|
|
13
16
|
ensureCaptureDirSync,
|
|
14
17
|
writeCaptureFileSync
|
|
15
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EQBDKYXR.js";
|
|
16
19
|
import {
|
|
17
20
|
loadSharp
|
|
18
21
|
} from "./chunk-EXAX37XR.js";
|
|
@@ -22,7 +25,7 @@ import {
|
|
|
22
25
|
} from "./chunk-AWDFDFI3.js";
|
|
23
26
|
import {
|
|
24
27
|
isBlockedNetworkHost
|
|
25
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-IQNS7O4W.js";
|
|
26
29
|
import {
|
|
27
30
|
DOMParser,
|
|
28
31
|
parseHTML
|
|
@@ -1077,6 +1080,8 @@ function isPrivateUrl(url) {
|
|
|
1077
1080
|
}
|
|
1078
1081
|
var MAX_FETCH_REDIRECTS = 5;
|
|
1079
1082
|
async function safeFetch(url, init) {
|
|
1083
|
+
const local = fetchLocalPageUrl(url, init);
|
|
1084
|
+
if (local) return local;
|
|
1080
1085
|
let current = url;
|
|
1081
1086
|
for (let hop = 0; hop <= MAX_FETCH_REDIRECTS; hop++) {
|
|
1082
1087
|
if (isPrivateUrl(current)) return null;
|
|
@@ -7,6 +7,11 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ensureDOMParser
|
|
9
9
|
} from "./chunk-ZBAF6L74.js";
|
|
10
|
+
import {
|
|
11
|
+
JsonFlagReadError,
|
|
12
|
+
inlineJsonHint,
|
|
13
|
+
readJsonFlagText
|
|
14
|
+
} from "./chunk-XFMO3BEN.js";
|
|
10
15
|
import {
|
|
11
16
|
errorBox
|
|
12
17
|
} from "./chunk-K2FLNJVB.js";
|
|
@@ -19,36 +24,26 @@ import {
|
|
|
19
24
|
import {
|
|
20
25
|
formatVariableValidationIssue,
|
|
21
26
|
validateVariables
|
|
22
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-MI4V4HPE.js";
|
|
23
28
|
import {
|
|
24
29
|
extractCompositionMetadata
|
|
25
30
|
} from "./chunk-NHA4NRBE.js";
|
|
26
31
|
|
|
27
32
|
// src/utils/variables.ts
|
|
28
33
|
import { readFileSync } from "fs";
|
|
29
|
-
|
|
30
|
-
function parseVariablesArg(inline, filePath, readFile = (p) => readFileSync(resolve(p), "utf8")) {
|
|
34
|
+
function parseVariablesArg(inline, filePath, readFile, readStdin) {
|
|
31
35
|
if (inline != null && filePath != null) {
|
|
32
36
|
return { ok: false, error: { kind: "conflict" } };
|
|
33
37
|
}
|
|
38
|
+
const value = inline ?? filePath;
|
|
39
|
+
const source = inline != null ? "inline" : "file";
|
|
34
40
|
let raw;
|
|
35
|
-
|
|
36
|
-
if (inline != null) {
|
|
37
|
-
raw = inline;
|
|
38
|
-
source = "inline";
|
|
39
|
-
} else if (filePath != null) {
|
|
41
|
+
if (value != null) {
|
|
40
42
|
try {
|
|
41
|
-
raw = readFile
|
|
42
|
-
source = "file";
|
|
43
|
+
raw = readJsonFlagText(value, { readFile, readStdin });
|
|
43
44
|
} catch (error) {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
error: {
|
|
47
|
-
kind: "read-error",
|
|
48
|
-
path: filePath,
|
|
49
|
-
cause: error instanceof Error ? error.message : String(error)
|
|
50
|
-
}
|
|
51
|
-
};
|
|
45
|
+
if (!(error instanceof JsonFlagReadError)) throw error;
|
|
46
|
+
return { ok: false, error: { kind: "read-error", path: error.path, cause: error.cause } };
|
|
52
47
|
}
|
|
53
48
|
}
|
|
54
49
|
if (raw == null) return { ok: true, value: void 0 };
|
|
@@ -60,7 +55,7 @@ function parseVariablesArg(inline, filePath, readFile = (p) => readFileSync(reso
|
|
|
60
55
|
ok: false,
|
|
61
56
|
error: {
|
|
62
57
|
kind: "parse-error",
|
|
63
|
-
source
|
|
58
|
+
source,
|
|
64
59
|
cause: error instanceof Error ? error.message : String(error)
|
|
65
60
|
}
|
|
66
61
|
};
|
|
@@ -79,13 +74,13 @@ function variablesErrorMessage(error) {
|
|
|
79
74
|
};
|
|
80
75
|
case "read-error":
|
|
81
76
|
return {
|
|
82
|
-
title: "Could not read
|
|
77
|
+
title: "Could not read the variables JSON",
|
|
83
78
|
message: `${error.path}: ${error.cause}`
|
|
84
79
|
};
|
|
85
80
|
case "parse-error":
|
|
86
81
|
return {
|
|
87
82
|
title: error.source === "file" ? "Invalid JSON in --variables-file" : "Invalid JSON in --variables",
|
|
88
|
-
message: error.cause
|
|
83
|
+
message: error.source === "inline" ? `${error.cause} (${inlineJsonHint("--variables")})` : error.cause
|
|
89
84
|
};
|
|
90
85
|
case "shape-error":
|
|
91
86
|
return {
|
|
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NXNDHV26.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KGBFHYHX.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SWHCYFEF.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RVG2JNDU.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_MODEL,
|
|
26
26
|
findWhisper,
|
|
27
27
|
isWhisperUnavailable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-3PUXUIWB.js";
|
|
29
29
|
import {
|
|
30
30
|
formatSrt,
|
|
31
31
|
formatVtt,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from "./chunk-IR35BCLK.js";
|
|
44
44
|
import {
|
|
45
45
|
normalizeErrorMessage
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-EU7MVORF.js";
|
|
47
47
|
|
|
48
48
|
// src/api/transcribe.ts
|
|
49
49
|
import { existsSync, realpathSync, rmSync, statSync, writeFileSync } from "fs";
|
|
@@ -4,6 +4,9 @@ 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
|
+
probeAudioTrack
|
|
9
|
+
} from "./chunk-3RATCY3W.js";
|
|
7
10
|
import {
|
|
8
11
|
resolveWithinProject
|
|
9
12
|
} from "./chunk-ALVXFXUG.js";
|
|
@@ -11,7 +14,7 @@ import {
|
|
|
11
14
|
MAX_AUDIO_GAIN_DB,
|
|
12
15
|
formatAudioGain,
|
|
13
16
|
isAudibleVideoElement
|
|
14
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZXTSUXSL.js";
|
|
15
18
|
import {
|
|
16
19
|
findFfBinary
|
|
17
20
|
} from "./chunk-VAS6HQX3.js";
|
|
@@ -24,7 +27,7 @@ import {
|
|
|
24
27
|
decodeAuthoredAttribute
|
|
25
28
|
} from "./chunk-NHA4NRBE.js";
|
|
26
29
|
|
|
27
|
-
// ../studio-server/dist/chunk-
|
|
30
|
+
// ../studio-server/dist/chunk-EGNSA3MU.js
|
|
28
31
|
import { execFile } from "child_process";
|
|
29
32
|
import { isAbsolute, relative, resolve } from "path";
|
|
30
33
|
import { promisify } from "util";
|
|
@@ -329,16 +332,29 @@ function updateAudioVolume(html, id, volume) {
|
|
|
329
332
|
}
|
|
330
333
|
return html.slice(0, insertion) + ` data-volume="${value}"` + html.slice(insertion);
|
|
331
334
|
}
|
|
332
|
-
function loudnessMeasureArgs(file, tag) {
|
|
335
|
+
function loudnessMeasureArgs(file, tag, stream) {
|
|
333
336
|
const args = ["-hide_banner", "-nostats"];
|
|
334
337
|
if (tag.mediaStart > 0) args.push("-ss", String(tag.mediaStart));
|
|
335
338
|
const sourceSpan = tag.duration === null ? null : tag.duration * (tag.playbackRate ?? 1);
|
|
336
339
|
if (sourceSpan !== null && sourceSpan > 0) args.push("-t", String(sourceSpan));
|
|
337
|
-
args.push(
|
|
340
|
+
args.push(
|
|
341
|
+
"-i",
|
|
342
|
+
file,
|
|
343
|
+
"-map",
|
|
344
|
+
`0:a:${stream}`,
|
|
345
|
+
"-vn",
|
|
346
|
+
"-af",
|
|
347
|
+
"ebur128=peak=true",
|
|
348
|
+
"-f",
|
|
349
|
+
"null",
|
|
350
|
+
"-"
|
|
351
|
+
);
|
|
338
352
|
return args;
|
|
339
353
|
}
|
|
340
354
|
async function measureAudio(ffmpegPath, file, tag) {
|
|
341
|
-
const
|
|
355
|
+
const track = await probeAudioTrack(file);
|
|
356
|
+
if (!track) throw new Error("no audio stream to measure");
|
|
357
|
+
const result = await execFileAsync(ffmpegPath, loudnessMeasureArgs(file, tag, track.stream), {
|
|
342
358
|
encoding: "utf8",
|
|
343
359
|
maxBuffer: 16 * 1024 * 1024,
|
|
344
360
|
timeout: FFMPEG_TIMEOUT_MS,
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
// ../parsers/dist/mediaStreams.js
|
|
9
|
+
function decodableAudioStream(streams) {
|
|
10
|
+
const index = streams.filter((stream) => stream.codec_type === "audio").findIndex((stream) => stream.codec_name !== void 0);
|
|
11
|
+
return index < 0 ? null : index;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export {
|
|
15
|
+
decodableAudioStream
|
|
16
|
+
};
|
|
@@ -7,23 +7,23 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IJPFVMIE.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GQZHLF5P.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3A4SB326.js";
|
|
19
19
|
import {
|
|
20
20
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
21
21
|
STUDIO_PREVIEW_MARK_META
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SNLXWCET.js";
|
|
23
23
|
import {
|
|
24
24
|
artifactDirectory,
|
|
25
25
|
finishSnapshotRun
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-J7A73K2B.js";
|
|
27
27
|
import {
|
|
28
28
|
FfmpegUnavailableError,
|
|
29
29
|
decideMediaProxyEligibility,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
proxyVariantFor,
|
|
32
32
|
resolveProxies,
|
|
33
33
|
scanProjectMediaCodecMap
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-JJRMN2RV.js";
|
|
35
35
|
import {
|
|
36
36
|
AUDIT_SEEK_OPTIONS,
|
|
37
37
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -45,24 +45,24 @@ import {
|
|
|
45
45
|
seekCompositionTimeline,
|
|
46
46
|
seekInPage,
|
|
47
47
|
waitForPreferredSeekTarget
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-SE6S4SGZ.js";
|
|
49
49
|
import {
|
|
50
50
|
BrowserCleanupError,
|
|
51
51
|
closeManagedBrowser,
|
|
52
52
|
onStopSignal
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-4BXEPVSA.js";
|
|
54
54
|
import {
|
|
55
55
|
findStageProxyBox
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-66PNSZ7K.js";
|
|
57
57
|
import {
|
|
58
58
|
resolveAutoProxy
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-W32DVMX3.js";
|
|
60
60
|
import {
|
|
61
61
|
injectTagsAtHeadStart
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-ZXTSUXSL.js";
|
|
63
63
|
import {
|
|
64
64
|
normalizeErrorMessage
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-EU7MVORF.js";
|
|
66
66
|
|
|
67
67
|
// src/utils/checkProgress.ts
|
|
68
68
|
function logCheckProgress(stage, done, total) {
|
|
@@ -573,7 +573,7 @@ function proxyFailedDraft(message) {
|
|
|
573
573
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
574
574
|
}
|
|
575
575
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
576
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
576
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-RRGFY3XV.js");
|
|
577
577
|
return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
|
|
578
578
|
}
|
|
579
579
|
function withCapturePreviewMark(html) {
|
|
@@ -612,7 +612,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
612
612
|
const session = await openSettledCompositionPage(html, server.url, {
|
|
613
613
|
navigationTimeoutMs: options.timeout,
|
|
614
614
|
renderReadyTimeoutMs: options.timeout,
|
|
615
|
-
renderReadyWarningSuffix: "
|
|
615
|
+
renderReadyWarningSuffix: "the scene may still be building, so results can miss late content; raise --timeout (for example 20s)",
|
|
616
616
|
prelaunched,
|
|
617
617
|
browserGpuMode: options.browserGpuMode ?? resolveCliChromeGpuMode(),
|
|
618
618
|
signal: deadline?.signal,
|
|
@@ -635,7 +635,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
635
635
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
636
636
|
}));
|
|
637
637
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
638
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
638
|
+
const { analyzeClipMediaFit } = await import("./src-ALOV4D57.js");
|
|
639
639
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
640
640
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
641
641
|
}
|
|
@@ -663,6 +663,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
663
663
|
return {
|
|
664
664
|
...result,
|
|
665
665
|
timings: { ...result.timings, launchSettleMs },
|
|
666
|
+
renderReadyTimedOut: session.renderReadyTimedOut,
|
|
666
667
|
runtimeFindings: dropFailedProxyEchoes(
|
|
667
668
|
dropMotionBlurConsoleEcho(keepBrokenImageAborts(merged, broken), blur),
|
|
668
669
|
failedPaths
|
|
@@ -722,7 +723,7 @@ async function openHelperSession(html, url, options, deadline, owner) {
|
|
|
722
723
|
const session = await openSettledCompositionPage(html, url, {
|
|
723
724
|
navigationTimeoutMs: options.timeout,
|
|
724
725
|
renderReadyTimeoutMs: options.timeout,
|
|
725
|
-
renderReadyWarningSuffix: "
|
|
726
|
+
renderReadyWarningSuffix: "the scene may still be building, so results can miss late content; raise --timeout (for example 20s)",
|
|
726
727
|
browserGpuMode: options.browserGpuMode ?? resolveCliChromeGpuMode(),
|
|
727
728
|
signal: owner.signal,
|
|
728
729
|
onBrowser: owner.onBrowser,
|
|
@@ -771,7 +772,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
771
772
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
772
773
|
if (requests.length === 0) return { written: [], inspected: [] };
|
|
773
774
|
const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
|
|
774
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
775
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-RRGFY3XV.js");
|
|
775
776
|
return withCapturePreviewMark(
|
|
776
777
|
await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
|
|
777
778
|
);
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-5ETJX6WM.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OML6HQQN.js";
|
|
20
20
|
import {
|
|
21
21
|
OPTIONAL_PACKAGES,
|
|
22
22
|
installedOptionalPackageVersion
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-ZTZA4UWZ.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveExtractCacheDir
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-IQNS7O4W.js";
|
|
33
33
|
import {
|
|
34
34
|
getFreeDiskMb,
|
|
35
35
|
getShmSizeMb,
|
|
@@ -41,17 +41,17 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
getUpdateMeta,
|
|
43
43
|
withMeta
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-SPMKVI6H.js";
|
|
45
45
|
import {
|
|
46
46
|
CONFIG_PATH,
|
|
47
47
|
withFileLock
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-NEASABW6.js";
|
|
49
49
|
import {
|
|
50
50
|
VERSION
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-RAONLDN5.js";
|
|
52
52
|
import {
|
|
53
53
|
normalizeErrorMessage
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-EU7MVORF.js";
|
|
55
55
|
|
|
56
56
|
// src/commands/doctor.ts
|
|
57
57
|
import { execFileSync, execSync } from "child_process";
|
|
@@ -234,7 +234,7 @@ function checkEnvironment() {
|
|
|
234
234
|
return { ok: true, detail: parts.join(" \xB7 ") };
|
|
235
235
|
}
|
|
236
236
|
async function checkWhisper() {
|
|
237
|
-
const { findWhisper, getInstallInstructions } = await import("./manager-
|
|
237
|
+
const { findWhisper, getInstallInstructions } = await import("./manager-SDRJOMPR.js");
|
|
238
238
|
const result = findWhisper();
|
|
239
239
|
if (result) {
|
|
240
240
|
return { ok: true, detail: result.executablePath };
|