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
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-R52YM6ZK.js";
|
|
19
19
|
import {
|
|
20
20
|
DEFAULT_VP9_CPU_USED,
|
|
21
21
|
SDR_RGB_TO_BT709_FILTER,
|
|
22
22
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
23
23
|
renderProvenanceArgs
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IQNS7O4W.js";
|
|
25
25
|
import {
|
|
26
26
|
runCancellableProcess
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-Q43YUROE.js";
|
|
28
28
|
|
|
29
29
|
// src/background-removal/pipeline.ts
|
|
30
30
|
import { spawn } from "child_process";
|
|
@@ -317,7 +317,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
317
317
|
}
|
|
318
318
|
async function probeMedia(inputPath) {
|
|
319
319
|
const isImage = inferInputKind(inputPath) === "image";
|
|
320
|
-
const engine = await import("./src-
|
|
320
|
+
const engine = await import("./src-ALOV4D57.js");
|
|
321
321
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
322
322
|
if (isImage) {
|
|
323
323
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-L7MGVFR4.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EA5FUMJN.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-ZTZA4UWZ.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
readConfig,
|
|
22
22
|
writeConfig
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NEASABW6.js";
|
|
24
24
|
|
|
25
25
|
// src/telemetry/feedback.ts
|
|
26
26
|
import * as readline from "readline";
|
|
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
|
|
|
84
84
|
try {
|
|
85
85
|
const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
|
|
86
86
|
import("./system-YD4AW5ZX.js"),
|
|
87
|
-
import("./ffmpeg-
|
|
87
|
+
import("./ffmpeg-C4VWK4M2.js")
|
|
88
88
|
]);
|
|
89
89
|
const sys = getSystemMeta();
|
|
90
90
|
const parts = [
|
|
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeNewFileSync
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KCLBO65Y.js";
|
|
10
10
|
import {
|
|
11
11
|
normalizeSkillSlug
|
|
12
12
|
} from "./chunk-HVW7ABXD.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_REGISTRY_URL
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Y2EVJBR6.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/projectConfig.ts
|
|
18
18
|
import { readFileSync, writeFileSync } from "fs";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-IQNS7O4W.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-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-ALOV4D57.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -0,0 +1,106 @@
|
|
|
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
|
+
// ../core/dist/removeScratch.js
|
|
9
|
+
import { AsyncLocalStorage } from "async_hooks";
|
|
10
|
+
import { rmSync } from "fs";
|
|
11
|
+
var collecting = new AsyncLocalStorage();
|
|
12
|
+
function removeScratch(path) {
|
|
13
|
+
try {
|
|
14
|
+
rmSync(path, { recursive: true, force: true });
|
|
15
|
+
} catch {
|
|
16
|
+
collecting.getStore()?.push(path);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
async function collectScratchLeftovers(run, report) {
|
|
20
|
+
const left = [];
|
|
21
|
+
try {
|
|
22
|
+
return await collecting.run(left, run);
|
|
23
|
+
} finally {
|
|
24
|
+
report(left);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// ../core/dist/renameWithRetry.js
|
|
29
|
+
import { copyFileSync, renameSync } from "fs";
|
|
30
|
+
import { copyFile, rename } from "fs/promises";
|
|
31
|
+
var RETRYABLE = /* @__PURE__ */ new Set(["EPERM", "EACCES", "EBUSY"]);
|
|
32
|
+
var BACKOFF_MS = [10, 20, 40, 80, 160, 320, 640];
|
|
33
|
+
function isRetryable(error, platform) {
|
|
34
|
+
if (platform !== "win32")
|
|
35
|
+
return false;
|
|
36
|
+
return RETRYABLE.has(error?.code ?? "");
|
|
37
|
+
}
|
|
38
|
+
function nextStep(error, attempt, options, platform) {
|
|
39
|
+
if (!isRetryable(error, platform))
|
|
40
|
+
return "throw";
|
|
41
|
+
if (attempt < BACKOFF_MS.length)
|
|
42
|
+
return "wait";
|
|
43
|
+
return options.copyFallback ? "copy" : "throw";
|
|
44
|
+
}
|
|
45
|
+
function sleepSync(ms) {
|
|
46
|
+
Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, ms);
|
|
47
|
+
}
|
|
48
|
+
function renameWithRetry(from, to, options = {}) {
|
|
49
|
+
const doRename = options.rename ?? renameSync;
|
|
50
|
+
const doCopy = options.copy ?? copyFileSync;
|
|
51
|
+
const platform = options.platform ?? process.platform;
|
|
52
|
+
for (let attempt = 0; ; attempt++) {
|
|
53
|
+
try {
|
|
54
|
+
doRename(from, to);
|
|
55
|
+
return;
|
|
56
|
+
} catch (error) {
|
|
57
|
+
const step = nextStep(error, attempt, options, platform);
|
|
58
|
+
if (step === "throw")
|
|
59
|
+
throw error;
|
|
60
|
+
if (step === "wait") {
|
|
61
|
+
sleepSync(BACKOFF_MS[attempt]);
|
|
62
|
+
continue;
|
|
63
|
+
}
|
|
64
|
+
try {
|
|
65
|
+
doCopy(from, to);
|
|
66
|
+
} catch {
|
|
67
|
+
throw error;
|
|
68
|
+
}
|
|
69
|
+
removeScratch(from);
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
async function renameWithRetryAsync(from, to, options = {}) {
|
|
75
|
+
const doRename = options.rename ?? rename;
|
|
76
|
+
const doCopy = options.copy ?? copyFile;
|
|
77
|
+
const platform = options.platform ?? process.platform;
|
|
78
|
+
for (let attempt = 0; ; attempt++) {
|
|
79
|
+
try {
|
|
80
|
+
await doRename(from, to);
|
|
81
|
+
return;
|
|
82
|
+
} catch (error) {
|
|
83
|
+
const step = nextStep(error, attempt, options, platform);
|
|
84
|
+
if (step === "throw")
|
|
85
|
+
throw error;
|
|
86
|
+
if (step === "wait") {
|
|
87
|
+
await new Promise((resolve) => setTimeout(resolve, BACKOFF_MS[attempt]));
|
|
88
|
+
continue;
|
|
89
|
+
}
|
|
90
|
+
try {
|
|
91
|
+
await doCopy(from, to);
|
|
92
|
+
} catch {
|
|
93
|
+
throw error;
|
|
94
|
+
}
|
|
95
|
+
removeScratch(from);
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export {
|
|
102
|
+
removeScratch,
|
|
103
|
+
collectScratchLeftovers,
|
|
104
|
+
renameWithRetry,
|
|
105
|
+
renameWithRetryAsync
|
|
106
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
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/utils/jsonFlag.ts
|
|
9
|
+
import { readFileSync } from "fs";
|
|
10
|
+
import { resolve } from "path";
|
|
11
|
+
function decode(bytes) {
|
|
12
|
+
if (bytes[0] === 255 && bytes[1] === 254)
|
|
13
|
+
return bytes.toString("utf16le").replace(/^\uFEFF/, "");
|
|
14
|
+
return bytes.toString("utf8").replace(/^\uFEFF/, "");
|
|
15
|
+
}
|
|
16
|
+
var defaultIO = {
|
|
17
|
+
readFile: (path) => decode(readFileSync(resolve(path))),
|
|
18
|
+
readStdin: () => decode(readFileSync(0))
|
|
19
|
+
};
|
|
20
|
+
var JsonFlagReadError = class extends Error {
|
|
21
|
+
constructor(path, cause) {
|
|
22
|
+
super(`${path}: ${cause}`);
|
|
23
|
+
this.path = path;
|
|
24
|
+
this.cause = cause;
|
|
25
|
+
}
|
|
26
|
+
path;
|
|
27
|
+
cause;
|
|
28
|
+
};
|
|
29
|
+
function isJsonScalar(text) {
|
|
30
|
+
try {
|
|
31
|
+
JSON.parse(text);
|
|
32
|
+
return true;
|
|
33
|
+
} catch {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
var errorText = (error) => error instanceof Error ? error.message : String(error);
|
|
38
|
+
function readJsonFlagText(value, partialIo = {}) {
|
|
39
|
+
const io = { ...defaultIO, ...partialIo };
|
|
40
|
+
const trimmed = value.trim();
|
|
41
|
+
if (trimmed.startsWith("{") || trimmed.startsWith("[") || isJsonScalar(trimmed)) return value;
|
|
42
|
+
const source = trimmed === "-" ? "stdin" : value;
|
|
43
|
+
try {
|
|
44
|
+
return trimmed === "-" ? io.readStdin() : io.readFile(value);
|
|
45
|
+
} catch (error) {
|
|
46
|
+
throw new JsonFlagReadError(source, errorText(error));
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
var inlineJsonHint = (flag) => `PowerShell strips the quotes from inline JSON; pass a file (${flag} payload.json) or pipe it (${flag} -)`;
|
|
50
|
+
function readJsonFlag(flag, value, io) {
|
|
51
|
+
let text;
|
|
52
|
+
try {
|
|
53
|
+
text = readJsonFlagText(value, io);
|
|
54
|
+
} catch (error) {
|
|
55
|
+
if (!(error instanceof JsonFlagReadError)) throw error;
|
|
56
|
+
throw new Error(`Could not read ${flag}: ${error.message}`);
|
|
57
|
+
}
|
|
58
|
+
try {
|
|
59
|
+
return JSON.parse(text);
|
|
60
|
+
} catch (error) {
|
|
61
|
+
const hint = /^\s*[{[]/.test(text) ? ` (${inlineJsonHint(flag)})` : "";
|
|
62
|
+
throw new Error(`Could not parse ${flag} JSON: ${errorText(error)}${hint}`);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export {
|
|
67
|
+
JsonFlagReadError,
|
|
68
|
+
readJsonFlagText,
|
|
69
|
+
inlineJsonHint,
|
|
70
|
+
readJsonFlag
|
|
71
|
+
};
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
refreshIfNeeded
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VYRJAQGC.js";
|
|
10
10
|
import {
|
|
11
11
|
buildAuthHeaders,
|
|
12
12
|
envCredentialVar,
|
|
13
13
|
isAuthError,
|
|
14
14
|
isTokenExpired,
|
|
15
15
|
tryResolveCredential
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-M4QZFUMW.js";
|
|
17
17
|
import {
|
|
18
18
|
rewriteSrcsetUrls
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZXTSUXSL.js";
|
|
20
20
|
import {
|
|
21
21
|
CSS_URL_RE,
|
|
22
22
|
isNonRelativeUrl,
|
|
@@ -4,9 +4,6 @@ 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
|
-
findFfBinary
|
|
9
|
-
} from "./chunk-VAS6HQX3.js";
|
|
10
7
|
|
|
11
8
|
// ../core/dist/audioSteps.js
|
|
12
9
|
function finish(steps) {
|
|
@@ -1128,85 +1125,6 @@ var signalProvider = {
|
|
|
1128
1125
|
}
|
|
1129
1126
|
};
|
|
1130
1127
|
|
|
1131
|
-
// src/audio/analysis/decode.ts
|
|
1132
|
-
import { execFile } from "child_process";
|
|
1133
|
-
import { promisify } from "util";
|
|
1134
|
-
var run = promisify(execFile);
|
|
1135
|
-
function requiredBinary(name) {
|
|
1136
|
-
const path = findFfBinary(name, { configuredMustExist: true });
|
|
1137
|
-
if (!path) throw new Error(`${name} is required to analyze audio; run: npx hyperframes doctor`);
|
|
1138
|
-
return path;
|
|
1139
|
-
}
|
|
1140
|
-
async function probeAudio(file) {
|
|
1141
|
-
const { stdout } = await run(
|
|
1142
|
-
requiredBinary("ffprobe"),
|
|
1143
|
-
[
|
|
1144
|
-
"-v",
|
|
1145
|
-
"error",
|
|
1146
|
-
"-select_streams",
|
|
1147
|
-
"a:0",
|
|
1148
|
-
"-show_streams",
|
|
1149
|
-
"-show_format",
|
|
1150
|
-
"-of",
|
|
1151
|
-
"json",
|
|
1152
|
-
"--",
|
|
1153
|
-
file
|
|
1154
|
-
],
|
|
1155
|
-
{ maxBuffer: 8 * 1024 * 1024, windowsHide: true }
|
|
1156
|
-
);
|
|
1157
|
-
const parsed = JSON.parse(stdout);
|
|
1158
|
-
const stream = parsed.streams?.[0];
|
|
1159
|
-
if (!stream) return null;
|
|
1160
|
-
return {
|
|
1161
|
-
sampleRate: Number(stream.sample_rate),
|
|
1162
|
-
channels: stream.channels ?? 1,
|
|
1163
|
-
duration: Number(stream.duration ?? parsed.format?.duration ?? 0)
|
|
1164
|
-
};
|
|
1165
|
-
}
|
|
1166
|
-
async function decodeAudio(file, window = {}, probed, format = {}) {
|
|
1167
|
-
const probedInfo = probed ?? await probeAudio(file);
|
|
1168
|
-
if (!probedInfo) return null;
|
|
1169
|
-
const info = {
|
|
1170
|
-
...probedInfo,
|
|
1171
|
-
sampleRate: format.sampleRate ?? probedInfo.sampleRate,
|
|
1172
|
-
channels: format.mono ? 1 : probedInfo.channels
|
|
1173
|
-
};
|
|
1174
|
-
const seek = window.from ? ["-ss", String(window.from)] : [];
|
|
1175
|
-
const length = window.seconds === void 0 ? [] : ["-t", String(window.seconds)];
|
|
1176
|
-
const { stdout } = await run(
|
|
1177
|
-
requiredBinary("ffmpeg"),
|
|
1178
|
-
[
|
|
1179
|
-
"-v",
|
|
1180
|
-
"error",
|
|
1181
|
-
...seek,
|
|
1182
|
-
"-i",
|
|
1183
|
-
file,
|
|
1184
|
-
...length,
|
|
1185
|
-
"-map",
|
|
1186
|
-
"0:a:0",
|
|
1187
|
-
...format.mono ? ["-ac", "1"] : [],
|
|
1188
|
-
...format.sampleRate ? ["-ar", String(format.sampleRate)] : [],
|
|
1189
|
-
"-f",
|
|
1190
|
-
"f32le",
|
|
1191
|
-
"-acodec",
|
|
1192
|
-
"pcm_f32le",
|
|
1193
|
-
"-"
|
|
1194
|
-
],
|
|
1195
|
-
{ encoding: "buffer", maxBuffer: 2 * 1024 * 1024 * 1024, windowsHide: true }
|
|
1196
|
-
);
|
|
1197
|
-
const bytes = stdout.byteLength - stdout.byteLength % 4;
|
|
1198
|
-
const interleaved = new Float32Array(
|
|
1199
|
-
stdout.buffer.slice(stdout.byteOffset, stdout.byteOffset + bytes)
|
|
1200
|
-
);
|
|
1201
|
-
const frames = Math.floor(interleaved.length / info.channels);
|
|
1202
|
-
const channels = Array.from({ length: info.channels }, (_, c) => {
|
|
1203
|
-
const samples = new Float32Array(frames);
|
|
1204
|
-
for (let i = 0; i < frames; i++) samples[i] = interleaved[i * info.channels + c];
|
|
1205
|
-
return samples;
|
|
1206
|
-
});
|
|
1207
|
-
return { signal: { sampleRate: info.sampleRate, channels }, stream: info };
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
1128
|
export {
|
|
1211
1129
|
finish,
|
|
1212
1130
|
medianInterval,
|
|
@@ -1219,8 +1137,7 @@ export {
|
|
|
1219
1137
|
signalDuration,
|
|
1220
1138
|
energyMixSteps,
|
|
1221
1139
|
envelope,
|
|
1140
|
+
loudness,
|
|
1222
1141
|
silence,
|
|
1223
|
-
signalProvider
|
|
1224
|
-
probeAudio,
|
|
1225
|
-
decodeAudio
|
|
1142
|
+
signalProvider
|
|
1226
1143
|
};
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
// ../core/dist/removeTree.js
|
|
9
|
+
import { rmSync } from "fs";
|
|
10
|
+
import { rm } from "fs/promises";
|
|
11
|
+
var RETRY = { recursive: true, force: true, maxRetries: 10, retryDelay: 100 };
|
|
12
|
+
function refusal(path, error) {
|
|
13
|
+
const reason = error instanceof Error ? error.message : String(error);
|
|
14
|
+
return `[cleanup] could not remove ${path}: ${reason}`;
|
|
15
|
+
}
|
|
16
|
+
function removeTreeWithRetry(path, remove = rmSync) {
|
|
17
|
+
remove(path, RETRY);
|
|
18
|
+
}
|
|
19
|
+
async function removeTreeWithRetryAsync(path, remove = rm) {
|
|
20
|
+
await remove(path, RETRY);
|
|
21
|
+
}
|
|
22
|
+
function removeTreeBestEffort(path, options = {}) {
|
|
23
|
+
try {
|
|
24
|
+
removeTreeWithRetry(path, options.remove);
|
|
25
|
+
} catch (error) {
|
|
26
|
+
(options.warn ?? console.warn)(refusal(path, error));
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
async function removeTreeBestEffortAsync(path, options = {}) {
|
|
30
|
+
try {
|
|
31
|
+
await removeTreeWithRetryAsync(path, options.remove);
|
|
32
|
+
} catch (error) {
|
|
33
|
+
(options.warn ?? console.warn)(refusal(path, error));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export {
|
|
38
|
+
removeTreeBestEffort,
|
|
39
|
+
removeTreeBestEffortAsync
|
|
40
|
+
};
|
|
@@ -7,12 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
|
-
renameWithRetry,
|
|
11
10
|
runFfmpeg
|
|
12
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-IQNS7O4W.js";
|
|
12
|
+
import {
|
|
13
|
+
renameWithRetry
|
|
14
|
+
} from "./chunk-XCIHCPJK.js";
|
|
13
15
|
import {
|
|
14
16
|
parseAnimatedGifMetadata
|
|
15
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MI4V4HPE.js";
|
|
16
18
|
import {
|
|
17
19
|
parseHTML
|
|
18
20
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -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-
|
|
9
|
+
} from "./chunk-RAONLDN5.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
withOwner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-I3ICHLHV.js";
|
|
10
10
|
import {
|
|
11
11
|
HistoryBusyError,
|
|
12
12
|
beginArtifactCapture
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-J7A73K2B.js";
|
|
14
14
|
|
|
15
15
|
// src/utils/artifactCapture.ts
|
|
16
16
|
var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
|