hyperframes 0.9.30 → 0.9.32
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-JBBBMWP4.js → add-HYI4YJC5.js} +16 -16
- package/dist/{agentPromptGenerator-NJL6ZJQA.js → agentPromptGenerator-JAQNBEUZ.js} +35 -18
- package/dist/{animatedGifPrep-AVZAMI2D.js → animatedGifPrep-DVYRCZVR.js} +10 -10
- package/dist/api.js +40 -36
- package/dist/{appHistory-DLDRURHW.js → appHistory-WZIHFCPK.js} +3 -3
- package/dist/{asset-VFG5LF4B.js → asset-7FG3M3FQ.js} +2 -2
- package/dist/{assetCataloger-WGNEAI5A.js → assetCataloger-QDQZYHUC.js} +12 -12
- package/dist/{audio-URYC7ND7.js → audio-R6ZG62DU.js} +20 -19
- package/dist/{auth-E4ZBU47K.js → auth-IPDYZXOG.js} +2 -2
- package/dist/{autoUpdate-CEYR6IHF.js → autoUpdate-GAEDDZRN.js} +2 -2
- package/dist/{avatars-ZPRQ3ZCD.js → avatars-A45VFUZ4.js} +14 -14
- package/dist/{backgroundChecks-BL4XMMXE.js → backgroundChecks-US74BS6V.js} +3 -3
- package/dist/backgroundChecksWorker.js +4 -4
- package/dist/{batchRender-FK7U2GUF.js → batchRender-VBSYVQA7.js} +5 -5
- package/dist/{beats-XK4QL74K.js → beats-UPJ3KANG.js} +12 -12
- package/dist/{benchmark-MABRDF7U.js → benchmark-2RWYJGL2.js} +10 -10
- package/dist/{billing-2CABBLDC.js → billing-MD66MJTA.js} +15 -15
- package/dist/{browser-SHU4XK5O.js → browser-JXCS62NX.js} +7 -7
- package/dist/{bundleWithLocalizedFonts-W7SSOXOO.js → bundleWithLocalizedFonts-RAD7BNJF.js} +1 -1
- package/dist/{capture-CFESIHJR.js → capture-DJ4WRP62.js} +52 -28
- package/dist/{capture-VPWHIN5C.js → capture-M6DT5WZT.js} +4 -4
- package/dist/{captureCompositionFrame-MT3CHQJ6.js → captureCompositionFrame-IRXG7ZFU.js} +17 -16
- package/dist/{captureFile-O7JMINHC.js → captureFile-Y2ZMB7HK.js} +3 -3
- package/dist/{catalog-BBPONQOO.js → catalog-GW45OWKU.js} +16 -16
- package/dist/{catch-up-DEZVG3A5.js → catch-up-YKJQ4IYC.js} +10 -10
- package/dist/{check-LIC6DYFD.js → check-7QTKMPGA.js} +49 -48
- package/dist/{checkAudio-RHF5CWWX.js → checkAudio-7WHUYGUZ.js} +14 -14
- package/dist/{checkBrowser-LUHIFDJZ.js → checkBrowser-USAOWTAF.js} +42 -41
- package/dist/chunk-262ADJJN.js +193 -0
- package/dist/{chunk-2YZ6GA4E.js → chunk-2NMBD5AH.js} +1 -1
- package/dist/{chunk-BUYUJ3EV.js → chunk-2T7EDEKE.js} +7 -7
- package/dist/{chunk-NTNS5EFN.js → chunk-2W4VQ3YZ.js} +2 -2
- package/dist/{chunk-YNRQTFYH.js → chunk-2Z42EUHG.js} +2 -2
- package/dist/{chunk-RYT22J4V.js → chunk-3367VNGK.js} +2 -2
- package/dist/{chunk-UPVM6UDG.js → chunk-34S7GYVK.js} +9 -4
- package/dist/{chunk-QBRBXVCE.js → chunk-3HT3UGF2.js} +1 -1
- package/dist/{chunk-AOPNJEQC.js → chunk-3PHCFSPD.js} +2 -2
- package/dist/{chunk-NFUXYBOR.js → chunk-3R2X2VKB.js} +2 -2
- package/dist/{chunk-RCYKUNVZ.js → chunk-4CSZZXL6.js} +3 -3
- package/dist/{chunk-JLUOG6S2.js → chunk-4FTJE22M.js} +2 -2
- package/dist/{chunk-Q7FX7HOX.js → chunk-5FFYMVRD.js} +2 -2
- package/dist/{chunk-TNZ2EF2Y.js → chunk-5GXMZIQZ.js} +8 -8
- package/dist/{chunk-VMLPDIR6.js → chunk-5VN7ZXJR.js} +3 -3
- package/dist/{chunk-VEIGTKYZ.js → chunk-64F653HO.js} +36 -9
- package/dist/{chunk-VPQXRTEW.js → chunk-6BI6URO2.js} +8 -7
- package/dist/{chunk-WJPEMXI3.js → chunk-6MTSP2XE.js} +8 -8
- package/dist/{chunk-5RLMHG3E.js → chunk-6NNLDCX4.js} +1 -1
- package/dist/{chunk-3OA75WJW.js → chunk-6RFCS4IU.js} +9 -4
- package/dist/{chunk-76MHB2H6.js → chunk-6SNGKC6B.js} +1 -1
- package/dist/{chunk-SWOAB4GM.js → chunk-77UB5EHM.js} +1 -1
- package/dist/{chunk-J4Z7LQKU.js → chunk-ADP2GIBS.js} +2 -2
- package/dist/{chunk-CWN75OWQ.js → chunk-AOQRVS63.js} +13 -3
- package/dist/{chunk-6FHIR4KD.js → chunk-AWT5FHTN.js} +1 -1
- package/dist/{chunk-GQNV4DG6.js → chunk-AZ2QJETV.js} +1 -1
- package/dist/{chunk-AGHSWES2.js → chunk-BA3EQ2KL.js} +3 -3
- package/dist/{chunk-J3OVTOVC.js → chunk-CHJGVW5W.js} +15 -2
- package/dist/{chunk-TCQKCUDA.js → chunk-CKJDY6EK.js} +1 -1
- package/dist/{chunk-SPPSVPY7.js → chunk-CMYUPVMI.js} +2 -2
- package/dist/{chunk-S3S3IHCR.js → chunk-D6BV6TTI.js} +1 -1
- package/dist/{chunk-7DMIAJD7.js → chunk-D7NNNL2K.js} +13 -13
- package/dist/{chunk-FNC3JNO7.js → chunk-E5S4QMX7.js} +2 -2
- package/dist/{chunk-RZK5ZGVX.js → chunk-EBG5RCPM.js} +4 -4
- package/dist/{chunk-7GJKUOPX.js → chunk-EJPWGGPK.js} +68 -26
- package/dist/{chunk-G3WGKT3B.js → chunk-EXW2LV4K.js} +141 -71
- package/dist/{chunk-F2GWIWHN.js → chunk-G2XAFJ2B.js} +2 -2
- package/dist/{chunk-OSDNRYQJ.js → chunk-G6JLFSII.js} +9 -73
- package/dist/{chunk-FJQGA6H6.js → chunk-G7NKYELQ.js} +23 -15
- package/dist/{chunk-FRBQ3FIM.js → chunk-GBIASKIH.js} +1 -1
- package/dist/{chunk-XVDXYUQJ.js → chunk-GCJRV7LU.js} +28 -8
- package/dist/{chunk-UTU3HSJS.js → chunk-GJUL3PRV.js} +4 -4
- package/dist/{chunk-BIQJKM2O.js → chunk-GOMTMQRT.js} +1 -1
- package/dist/{chunk-VHOETOGT.js → chunk-GTHRXU37.js} +15 -15
- package/dist/{chunk-AMZ22QP7.js → chunk-GWSCUFGL.js} +2 -2
- package/dist/{chunk-5QGDLMU3.js → chunk-H4C3P2KV.js} +3 -3
- package/dist/{chunk-V4Z37HFN.js → chunk-H7AJLEBR.js} +26 -23
- package/dist/{chunk-B23DUMZ4.js → chunk-HDCVU64B.js} +1 -1
- package/dist/{chunk-LMCFILEY.js → chunk-HWMNSWEA.js} +6 -6
- package/dist/{chunk-NZUUKNNZ.js → chunk-HXQDDCGY.js} +1 -1
- package/dist/{chunk-OFQWTKPW.js → chunk-HZTRKUKE.js} +8 -2
- package/dist/{chunk-AW2M5TZW.js → chunk-I3QXWJ7V.js} +7 -7
- package/dist/{chunk-IEXRKKHC.js → chunk-IEEIPTDW.js} +1 -1
- package/dist/{chunk-MSL2BS73.js → chunk-JHX76QFC.js} +1 -1
- package/dist/{chunk-MVJ7AX6W.js → chunk-JMV63CNH.js} +14 -11
- package/dist/{chunk-V4ZFL2E2.js → chunk-K72X2YXR.js} +3 -3
- package/dist/{chunk-F4Z2UPAA.js → chunk-KAG5KXNO.js} +2 -2
- package/dist/{chunk-IYYZMZD2.js → chunk-KFXHBP2E.js} +2 -2
- package/dist/{chunk-YAKPBJOU.js → chunk-KG3TONXU.js} +6 -6
- package/dist/{chunk-HYRPH6LL.js → chunk-KRWPTZBY.js} +2 -5
- package/dist/{chunk-2II5FCVK.js → chunk-KXOKZJBZ.js} +10 -10
- package/dist/{chunk-ZGQZTSP2.js → chunk-L72MPEM2.js} +1 -1
- package/dist/{chunk-BJYCLZBQ.js → chunk-LBQQNNRC.js} +1 -1
- package/dist/{chunk-SP5GQGP2.js → chunk-LHFBKUVY.js} +2 -2
- package/dist/{chunk-5IAFM6M5.js → chunk-LJMTEZOP.js} +10 -10
- package/dist/{chunk-NLKHXPTZ.js → chunk-LXIEKLAC.js} +5 -5
- package/dist/{chunk-PVRJKEU5.js → chunk-M6FNCANA.js} +1 -1
- package/dist/{chunk-WGVWW6O4.js → chunk-M6LAGO6O.js} +2 -2
- package/dist/{chunk-EPOBJVVG.js → chunk-MYFAVVA6.js} +22 -22
- package/dist/{chunk-XEPGN46Q.js → chunk-N6Y645MX.js} +1 -1
- package/dist/{chunk-IOPIOX5K.js → chunk-N7C7U3ZR.js} +7 -4
- package/dist/{chunk-EBU7T3WZ.js → chunk-NNOAOQLT.js} +2 -2
- package/dist/{chunk-6LCIO2YY.js → chunk-NXSKZE3C.js} +2 -2
- package/dist/{chunk-DYKBB5HB.js → chunk-P5E3RHW3.js} +2 -2
- package/dist/{chunk-IX3K55NA.js → chunk-P7TCIUP2.js} +4 -4
- package/dist/{chunk-YJYEKNJG.js → chunk-PVSRPNIV.js} +1 -1
- package/dist/{chunk-5SDUQLZ3.js → chunk-PXDRW3QN.js} +1 -1
- package/dist/{chunk-MKZ34726.js → chunk-PXY3JZP2.js} +2 -2
- package/dist/{chunk-HCC7XLD7.js → chunk-RCRUWNQ4.js} +3 -3
- package/dist/{chunk-GGDJLN5I.js → chunk-REJ4NIBY.js} +1 -1
- package/dist/{chunk-PGZSYDLZ.js → chunk-SFPIVVUE.js} +2 -2
- package/dist/{chunk-LDTJCZZ2.js → chunk-SIRYW7SY.js} +2 -2
- package/dist/{chunk-SHOE3UR6.js → chunk-SVI2CJ6R.js} +1 -1
- package/dist/{chunk-JVAD6LD7.js → chunk-SXOIG6VG.js} +540 -390
- package/dist/chunk-TFBPCJPG.js +26 -0
- package/dist/{chunk-74PW4UVC.js → chunk-TLUDJLBN.js} +1 -1
- package/dist/{chunk-P74B5H73.js → chunk-TTSLKH63.js} +3 -3
- package/dist/chunk-TVQNABOI.js +82 -0
- package/dist/{chunk-CK3DD2MC.js → chunk-TZH6HNZH.js} +2 -2
- package/dist/{chunk-3F2DTPBD.js → chunk-UC4X6I35.js} +6 -0
- package/dist/{chunk-3JFV42QB.js → chunk-UWMOMAYI.js} +35 -7
- package/dist/{chunk-DJVSNDF3.js → chunk-VB3JZKMN.js} +104 -14
- package/dist/{chunk-JHOPRAJN.js → chunk-VK3MQSA2.js} +11 -5
- package/dist/{chunk-YZH2IWEE.js → chunk-W3HNLDK6.js} +2 -2
- package/dist/{chunk-KMGF6GJU.js → chunk-WLNQAJQC.js} +2 -2
- package/dist/{chunk-LRDS7MG5.js → chunk-WTO4DHBH.js} +1 -1
- package/dist/{chunk-ALVXFXUG.js → chunk-WXOOAAT4.js} +27 -4
- package/dist/{chunk-J7PDBGQM.js → chunk-X6DWLN55.js} +3 -3
- package/dist/{chunk-NBF7SU6Q.js → chunk-XB7HE2R5.js} +3 -3
- package/dist/{chunk-2QUQKYOK.js → chunk-XDRSEU2I.js} +63 -33
- package/dist/{chunk-XKSHWUIF.js → chunk-XH6LGDIB.js} +4 -4
- package/dist/{chunk-HKWKMXAC.js → chunk-XPT4GC6X.js} +6 -6
- package/dist/{chunk-2NK3K7JL.js → chunk-Y3YHDU7T.js} +1 -1
- package/dist/{chunk-SWC3QIEH.js → chunk-YAS347ZS.js} +1 -1
- package/dist/chunk-YAZQBB2S.js +5049 -0
- package/dist/{chunk-4TCEF2I7.js → chunk-YCTWMO3G.js} +1 -1
- package/dist/{chunk-NHJ5YUBZ.js → chunk-YIE5FU73.js} +3 -3
- package/dist/{chunk-HLRYLZFX.js → chunk-YMIEJZB6.js} +3 -3
- package/dist/{chunk-WCSEEQ5R.js → chunk-Z6X64P6C.js} +3 -3
- package/dist/{chunk-54FVSPRH.js → chunk-ZIYXPDKY.js} +2 -2
- package/dist/{clean-AGQEPUBC.js → clean-MJBET4EN.js} +26 -26
- package/dist/cli.js +64 -64
- package/dist/{cloud-H5HJH6SD.js → cloud-WEDQYHZE.js} +4 -4
- package/dist/{cloud-TDXVUIUM.js → cloud-Z4Q76MLS.js} +3 -3
- package/dist/{cloudrun-7BR5FKOC.js → cloudrun-2KGSRAKA.js} +7 -7
- package/dist/{compare-YWZ6O2FL.js → compare-MJKWQOD7.js} +41 -40
- package/dist/{compiler-ZSIKBZBR.js → compiler-ETXRTUQC.js} +6 -6
- package/dist/{component-MX2PJOTA.js → component-PZGKEJ6L.js} +3 -3
- package/dist/{compositions-PLT4OLGR.js → compositions-N3FEEWH7.js} +14 -14
- package/dist/{contactSheet-PZXG3REG.js → contactSheet-HZMP42FZ.js} +4 -4
- package/dist/{curve-BJYCZUEY.js → curve-MWABBM7Q.js} +14 -14
- package/dist/{cuts-TWAVF7WI.js → cuts-BQFSSNY7.js} +15 -15
- package/dist/{delete-3KCBCPBD.js → delete-HPHGJABK.js} +5 -5
- package/dist/deploy-JY2QOB5F.js +213 -0
- package/dist/{describeProject-HZLM3B55.js → describeProject-S6AGYZWL.js} +11 -11
- package/dist/{destroy-4DOMPOYB.js → destroy-AZK7J4IR.js} +19 -15
- package/dist/{deterministicFonts-SKRN3TCP.js → deterministicFonts-2ZPRAI3C.js} +4 -4
- package/dist/{diff-XC6IU3IY.js → diff-XDNFCAU4.js} +36 -36
- package/dist/{dist-EFXKPJJT.js → dist-6EE3Y4M7.js} +3 -3
- package/dist/{dist-M5WQQ6WE.js → dist-EYEYDD4F.js} +20 -18
- package/dist/{dist-QRXJMFI7.js → dist-TYGDYK56.js} +4 -4
- package/dist/docs/rendering.md +2 -0
- package/dist/{doctor-VRUSZ6GH.js → doctor-6IRSMKZD.js} +16 -16
- package/dist/{energy-VNAAJYAW.js → energy-VCJ2FJEF.js} +15 -15
- package/dist/{events-MR72RS47.js → events-DNTIMCUM.js} +17 -17
- package/dist/{events-WZJTLFCQ.js → events-M6A7BT3V.js} +7 -7
- package/dist/{events-6WYNARX7.js → events-QQYBD7JM.js} +2 -2
- package/dist/{extract-MKOCZIFN.js → extract-X3IVXYHX.js} +15 -15
- package/dist/{face-NIV5ZSUX.js → face-MZHXKBDB.js} +16 -16
- package/dist/{feedback-A4F4G5JO.js → feedback-TAMGYFUO.js} +15 -11
- package/dist/{ffmpeg-OAKTUK5S.js → ffmpeg-XWPYYYB6.js} +10 -10
- package/dist/{figma-4WZIDYAD.js → figma-WMD7AR2S.js} +3 -3
- package/dist/fontLocalizeCli.js +17 -17
- package/dist/{frames-DAKLRIWG.js → frames-OU2UOLBU.js} +17 -17
- package/dist/{generate-NRPHH4NJ.js → generate-6F6QEFXW.js} +26 -26
- package/dist/{get-ISXQCK3G.js → get-VVDO7DXG.js} +5 -5
- package/dist/{gpuPolicy-SLVPAQK2.js → gpuPolicy-CVNSHXHJ.js} +10 -10
- package/dist/{grade-compare-TVMAAZVC.js → grade-compare-O6LY2U73.js} +40 -39
- package/dist/{gsapParser-3H7ON3DO.js → gsapParser-L7TM3RGH.js} +49 -26
- package/dist/hangReport.js +1 -1
- package/dist/{heifImagePrep-BOIWW7FW.js → heifImagePrep-J6TILZTM.js} +11 -11
- package/dist/{help-ZOYDS3YW.js → help-XLSTTDHR.js} +1 -1
- package/dist/{history-CLGGMJ7Z.js → history-DBCCWBDG.js} +13 -13
- 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-ZTFII4N4.js → info-E46BWAQ7.js} +16 -16
- package/dist/{init-RCDPQKFA.js → init-23TG5W7S.js} +33 -33
- package/dist/{ink-2ATPIDWC.js → ink-6UFSNJRW.js} +15 -15
- package/dist/{inspect-GDMUC5F6.js → inspect-RKI6XACH.js} +40 -39
- package/dist/{installer-VPGNKCEU.js → installer-JWPK75BR.js} +8 -8
- package/dist/{keyframes-EPAX446T.js → keyframes-J65V5A2G.js} +10 -10
- package/dist/{lambda-HG6Y6KOH.js → lambda-RZSXXBJU.js} +19 -19
- package/dist/{layout-KXBKGHOS.js → layout-RJQUOYWB.js} +40 -39
- package/dist/{lint-O62OPAW7.js → lint-4TUHKKA2.js} +12 -12
- package/dist/{lintProject-5CBL7VFV.js → lintProject-R6RTBSCZ.js} +3 -3
- package/dist/{list-4HWWKMM6.js → list-HOD2N4VS.js} +5 -5
- package/dist/{localPage-66UVNGQR.js → localPage-TC4NC3VL.js} +11 -11
- package/dist/{login-2H4XMPUT.js → login-NTOS3HKD.js} +4 -4
- package/dist/{look-W6PV445D.js → look-GC63E2I7.js} +15 -15
- package/dist/{manager-ML4OLLSM.js → manager-FICBET24.js} +11 -11
- package/dist/{measure-CWOXQCGH.js → measure-WTQCSQ55.js} +11 -11
- package/dist/{media-treatment-SDGXF2PK.js → media-treatment-KTZ6X2P2.js} +16 -16
- package/dist/{media-use-NWNX24MD.js → media-use-K75FDXJ3.js} +10 -5
- package/dist/{models-J2P2DLSA.js → models-JKOA542M.js} +14 -14
- package/dist/{motionShot-VQ2KFPMR.js → motionShot-A3TYKTQU.js} +20 -19
- package/dist/{normalize-audio-MABOG5XR.js → normalize-audio-7JUM42YB.js} +12 -12
- package/dist/{open-KWTFPDML.js → open-F6GI4TRA.js} +18 -18
- package/dist/{parakeetRunner-GP47AAVT.js → parakeetRunner-6XIAKJLS.js} +17 -17
- package/dist/{pipeline-5HUQFOCY.js → pipeline-7P7LGGQG.js} +13 -13
- package/dist/{play-6MSC2ZCU.js → play-DYOZLKWX.js} +36 -30
- package/dist/{preflight-NTJMXUS2.js → preflight-VM4HSRBY.js} +11 -11
- package/dist/{present-X5T75QS4.js → present-IINIEZJC.js} +30 -24
- package/dist/{preview-7NW7RUET.js → preview-NJO2UXWJ.js} +35 -26
- package/dist/{probe-XTZVXTQ2.js → probe-LQQHFX5Q.js} +15 -15
- package/dist/{producer-ZZROH3WZ.js → producer-LH2SZHJ2.js} +1 -1
- package/dist/{progress-TGYZ2TKQ.js → progress-IY6U35WH.js} +1 -1
- package/dist/{projectConfig-UHYPGWD5.js → projectConfig-BLACFLUW.js} +11 -11
- package/dist/{publication-5KOANEHK.js → publication-NFF2BXIE.js} +6 -6
- package/dist/{publish-3BBHK2NK.js → publish-JST5Y4UR.js} +19 -17
- package/dist/{remove-background-W7WMLL5C.js → remove-background-WUBESLWN.js} +14 -14
- package/dist/{render-5G6745C3.js → render-4KWUUC5H.js} +81 -44
- package/dist/{render-ZGCH2FZJ.js → render-DA4V7CEE.js} +8 -8
- package/dist/{render-ZIBXBMNI.js → render-R4VNR4E2.js} +34 -30
- package/dist/{render-batch-ONWJJ627.js → render-batch-JMPG4RLT.js} +8 -8
- package/dist/renderSetupWorker.js +4 -4
- package/dist/{resolver-ZWNLOG6O.js → resolver-PNIFIDIE.js} +8 -8
- package/dist/{reverse-5YTLWWDZ.js → reverse-4NI7D2C3.js} +1 -1
- package/dist/{run-24USN7TA.js → run-FWBIBLYE.js} +4 -3
- package/dist/{screenshotCapture-ZZE3GMOF.js → screenshotCapture-KOLNFU7W.js} +13 -12
- package/dist/{sherpa-7ISRANWA.js → sherpa-W3BMN67E.js} +16 -16
- package/dist/sherpaWorker.js +1 -1
- package/dist/{sites-LILUBMRM.js → sites-QK3F4AUS.js} +1 -1
- package/dist/skills/hyperframes-cli/references/preview-render.md +1 -0
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +15 -4
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +42 -6
- package/dist/skills/media-use/audio/scripts/lib/python.mjs +17 -2
- package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +50 -4
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +11 -1
- package/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +2 -1
- package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +31 -0
- package/dist/{skills-YMSZHKK4.js → skills-KQQVUFGO.js} +10 -10
- package/dist/{skillsUpdateCheck-YJYYN5CH.js → skillsUpdateCheck-VY5PS46S.js} +3 -3
- package/dist/{snapshot-4MZGXL4A.js → snapshot-VIEJQAUB.js} +82 -56
- package/dist/{src-NIMSUB4P.js → src-HHPRCLEW.js} +11 -9
- package/dist/{src-CHPZUZZ3.js → src-MQU5F7GJ.js} +15 -15
- package/dist/{start-FPEBVENS.js → start-ZBNNVFMU.js} +24 -24
- package/dist/{state-W3AS6O2J.js → state-7OIPR4BG.js} +1 -1
- package/dist/{staticProjectServer-XZNME57Y.js → staticProjectServer-VPGZWJF4.js} +27 -27
- package/dist/{status-7TRDJU47.js → status-RBZJYT7T.js} +17 -17
- package/dist/studio/assets/{codec-B1UWDNJp.js → codec-Bz1jsLs8.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-DQd2VPm2.js → hyperframes-player-cdH5Sz_t.js} +1 -1
- package/dist/studio/assets/{index-gkyTLE7n.js → index-D1l7izdf.js} +176 -176
- package/dist/studio/assets/{index-B7CtVv8e.js → index-DFRbcd5J.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-Bfv1WSlz.js → pausedVideoDecoder-CgV8YB6S.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-JKJXAELI.js → studio-api-EPZGLIWW.js} +20 -18
- package/dist/{studioServer-UCRCZOLS.js → studioServer-YFQQ2ESJ.js} +72 -62
- package/dist/{sync-E72XNR2G.js → sync-FRT55PVW.js} +15 -15
- package/dist/{synthesize-MDW4ZWTN.js → synthesize-FR5KPBRP.js} +4 -4
- package/dist/{telemetry-L5D3U4IO.js → telemetry-HAPPFR7P.js} +7 -7
- package/dist/{templates-O7HEL7HC.js → templates-2IHYIWMA.js} +15 -15
- package/dist/{timeline-QTODTYKQ.js → timeline-AY2F7BJF.js} +25 -25
- package/dist/{tokens-D7JYFE2K.js → tokens-B3G257V3.js} +2 -2
- package/dist/{transcribe-FGVGCTEU.js → transcribe-EGQD32PT.js} +14 -14
- package/dist/{transcribe-D2WFL2RO.js → transcribe-RJCILGPA.js} +30 -30
- package/dist/{tts-IXX2HHHJ.js → tts-ZE776B4I.js} +1 -1
- package/dist/{update-SCMEUTRM.js → update-XTFIGQKW.js} +12 -11
- package/dist/{updateCheck-KNTQDXMN.js → updateCheck-M6YC52A4.js} +2 -2
- package/dist/{upgrade-V2BP5PAQ.js → upgrade-AKLIZKAO.js} +5 -3
- package/dist/{urlDownloader-4RWM3UH2.js → urlDownloader-57A7Q7FC.js} +9 -9
- package/dist/{validate-W3E6QVJ6.js → validate-YWSXJL54.js} +32 -31
- package/dist/{video-KC4AFMAY.js → video-I5DDNK3Y.js} +12 -12
- package/dist/{voices-7N6QU3C6.js → voices-IBMJU73H.js} +24 -24
- package/dist/warmCheck.js +50 -49
- package/dist/warmCheckClient.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2X4PQEYM.js +0 -34
- package/dist/chunk-F24B2PLD.js +0 -5049
- package/dist/deploy-KWTMJNBL.js +0 -361
|
@@ -0,0 +1,193 @@
|
|
|
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
|
+
isMissingPackageError
|
|
9
|
+
} from "./chunk-UY3H42VE.js";
|
|
10
|
+
import {
|
|
11
|
+
cliSourced
|
|
12
|
+
} from "./chunk-LSUM6RTW.js";
|
|
13
|
+
import {
|
|
14
|
+
downloadFile
|
|
15
|
+
} from "./chunk-R4EWRIDL.js";
|
|
16
|
+
import {
|
|
17
|
+
hyperframesCacheDir
|
|
18
|
+
} from "./chunk-JOQR4AP6.js";
|
|
19
|
+
import {
|
|
20
|
+
VERSION
|
|
21
|
+
} from "./chunk-LHFBKUVY.js";
|
|
22
|
+
|
|
23
|
+
// src/commands/lambda/prebuiltHandler.ts
|
|
24
|
+
import { createHash } from "crypto";
|
|
25
|
+
import {
|
|
26
|
+
copyFileSync,
|
|
27
|
+
createReadStream,
|
|
28
|
+
existsSync,
|
|
29
|
+
mkdirSync,
|
|
30
|
+
readdirSync,
|
|
31
|
+
renameSync,
|
|
32
|
+
unlinkSync
|
|
33
|
+
} from "fs";
|
|
34
|
+
import { dirname, join } from "path";
|
|
35
|
+
var DOCS_URL = cliSourced("https://hyperframes.heygen.com/deploy/aws-lambda");
|
|
36
|
+
var HANDLER_CACHE_DIR = hyperframesCacheDir("lambda-handler");
|
|
37
|
+
var defaultDeps = {
|
|
38
|
+
loadAdapter: () => import("@hyperframes/aws-lambda/sdk"),
|
|
39
|
+
download: downloadFile,
|
|
40
|
+
cacheDir: HANDLER_CACHE_DIR,
|
|
41
|
+
log: (line) => console.log(line)
|
|
42
|
+
};
|
|
43
|
+
function noHandlerMessage(adapterInstalled) {
|
|
44
|
+
const adapter = adapterInstalled ? " - The installed @hyperframes/aws-lambda has no prebuilt handler for its version. Install one that does:\n" : " - Install the Lambda adapter; its release pins the prebuilt handler:\n";
|
|
45
|
+
return "[lambda deploy] This is not a HyperFrames checkout, and no prebuilt Lambda handler is available.\n" + adapter + ` npm install -g @hyperframes/aws-lambda@${VERSION}
|
|
46
|
+
- Or run from a hyperframes checkout, or set HYPERFRAMES_REPO_ROOT to one.
|
|
47
|
+
Docs: ${DOCS_URL}`;
|
|
48
|
+
}
|
|
49
|
+
async function sha256File(path) {
|
|
50
|
+
const hash = createHash("sha256");
|
|
51
|
+
for await (const chunk of createReadStream(path)) hash.update(chunk);
|
|
52
|
+
return hash.digest("hex");
|
|
53
|
+
}
|
|
54
|
+
async function fetchPinned(pinned, asset, deps) {
|
|
55
|
+
const dir = join(deps.cacheDir, `${pinned.version}-${pinned.sha256}`);
|
|
56
|
+
const file = join(dir, asset.fileName);
|
|
57
|
+
if (existsSync(file) && await sha256File(file) === pinned.sha256) {
|
|
58
|
+
deps.log(`\u2192 Using verified ${asset.label} ${pinned.version} from ${dir}`);
|
|
59
|
+
return file;
|
|
60
|
+
}
|
|
61
|
+
const url = asset.urlOverride ?? pinned.url;
|
|
62
|
+
deps.log(`\u2192 Downloading ${asset.label} ${pinned.version} (${pinned.bytes} bytes)`);
|
|
63
|
+
mkdirSync(dir, { recursive: true });
|
|
64
|
+
const partial = `${file}.download`;
|
|
65
|
+
await deps.download(url, partial, { maxBytes: pinned.bytes });
|
|
66
|
+
const actual = await sha256File(partial);
|
|
67
|
+
if (actual !== pinned.sha256) {
|
|
68
|
+
unlinkSync(partial);
|
|
69
|
+
const urlWithoutCredentials = url.split("?")[0];
|
|
70
|
+
throw new Error(
|
|
71
|
+
`[lambda deploy] Refusing the ${asset.label} from ${urlWithoutCredentials}: sha256 ${actual} does not match the ${pinned.sha256} pinned by @hyperframes/aws-lambda@${pinned.version}.`
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
renameSync(partial, file);
|
|
75
|
+
deps.log(`\u2192 Verified sha256 ${pinned.sha256}`);
|
|
76
|
+
return file;
|
|
77
|
+
}
|
|
78
|
+
async function stagePrebuiltHandler(deps = defaultDeps) {
|
|
79
|
+
let sdk;
|
|
80
|
+
try {
|
|
81
|
+
sdk = await deps.loadAdapter();
|
|
82
|
+
} catch (err) {
|
|
83
|
+
if (isMissingPackageError(err, "@hyperframes/aws-lambda"))
|
|
84
|
+
throw new Error(noHandlerMessage(false));
|
|
85
|
+
throw err;
|
|
86
|
+
}
|
|
87
|
+
const pinned = sdk.prebuiltHandler?.();
|
|
88
|
+
if (!pinned) throw new Error(noHandlerMessage(true));
|
|
89
|
+
const zip = await fetchPinned(
|
|
90
|
+
pinned,
|
|
91
|
+
{
|
|
92
|
+
fileName: "handler.zip",
|
|
93
|
+
label: "handler ZIP",
|
|
94
|
+
urlOverride: process.env.HYPERFRAMES_LAMBDA_HANDLER_URL
|
|
95
|
+
},
|
|
96
|
+
deps
|
|
97
|
+
);
|
|
98
|
+
const dir = dirname(zip);
|
|
99
|
+
const templateDir = dirname(pinned.templatePath);
|
|
100
|
+
for (const file of readdirSync(templateDir).filter((name) => name.endsWith(".yaml"))) {
|
|
101
|
+
copyFileSync(join(templateDir, file), join(dir, file));
|
|
102
|
+
}
|
|
103
|
+
return dir;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// src/commands/lambda/repoRoot.ts
|
|
107
|
+
import { existsSync as existsSync2 } from "fs";
|
|
108
|
+
import { dirname as dirname2, resolve } from "path";
|
|
109
|
+
import { fileURLToPath } from "url";
|
|
110
|
+
function repoRoot() {
|
|
111
|
+
const override = process.env.HYPERFRAMES_REPO_ROOT;
|
|
112
|
+
if (override) {
|
|
113
|
+
if (existsSync2(resolve(override, "packages", "aws-lambda", "package.json"))) return override;
|
|
114
|
+
throw new Error(
|
|
115
|
+
"[hyperframes lambda] HYPERFRAMES_REPO_ROOT is not a hyperframes checkout (no packages/aws-lambda/package.json there). Point it at the repo root, or unset it."
|
|
116
|
+
);
|
|
117
|
+
}
|
|
118
|
+
let dir = dirname2(fileURLToPath(import.meta.url));
|
|
119
|
+
for (let depth = 0; depth < 12; depth++) {
|
|
120
|
+
if (existsSync2(resolve(dir, "packages", "aws-lambda", "package.json"))) {
|
|
121
|
+
return dir;
|
|
122
|
+
}
|
|
123
|
+
const parent = dirname2(dir);
|
|
124
|
+
if (parent === dir) break;
|
|
125
|
+
dir = parent;
|
|
126
|
+
}
|
|
127
|
+
return void 0;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
// src/commands/lambda/videoImage.ts
|
|
131
|
+
import { spawnSync } from "child_process";
|
|
132
|
+
import { mkdtempSync, rmSync } from "fs";
|
|
133
|
+
import { tmpdir } from "os";
|
|
134
|
+
import { join as join2 } from "path";
|
|
135
|
+
function videoRepositoryName(stackName) {
|
|
136
|
+
return `${stackName.toLowerCase()}-video`;
|
|
137
|
+
}
|
|
138
|
+
async function pushVideoImage(opts, deps = defaultDeps) {
|
|
139
|
+
const sdk = await deps.loadAdapter();
|
|
140
|
+
const tarball = await videoImageTarball(sdk, opts.inCheckout, deps);
|
|
141
|
+
if (!sdk.ensureEcrRepository || !sdk.pushImageToEcr) {
|
|
142
|
+
throw new Error(noVideoImageMessage(opts.inCheckout));
|
|
143
|
+
}
|
|
144
|
+
const layoutDir = mkdtempSync(join2(tmpdir(), "hf-video-image-"));
|
|
145
|
+
try {
|
|
146
|
+
const untar = spawnSync("tar", ["-xf", tarball, "-C", layoutDir], { stdio: "inherit" });
|
|
147
|
+
if (untar.status !== 0) {
|
|
148
|
+
throw new Error(
|
|
149
|
+
`[lambda deploy] tar could not extract ${tarball} (exit ${untar.status ?? "unknown"})`
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
const repositoryName = videoRepositoryName(opts.stackName);
|
|
153
|
+
const { repositoryUri } = await sdk.ensureEcrRepository({
|
|
154
|
+
region: opts.region,
|
|
155
|
+
repositoryName,
|
|
156
|
+
tags: [{ Key: "hyperframes:stack", Value: opts.stackName }]
|
|
157
|
+
});
|
|
158
|
+
deps.log(`\u2192 Pushing the arm64 video image to ${repositoryUri}`);
|
|
159
|
+
const pushed = await sdk.pushImageToEcr({
|
|
160
|
+
region: opts.region,
|
|
161
|
+
layoutDir,
|
|
162
|
+
repositoryName,
|
|
163
|
+
repositoryUri,
|
|
164
|
+
tag: "video",
|
|
165
|
+
log: deps.log
|
|
166
|
+
});
|
|
167
|
+
if (pushed.os !== "linux" || pushed.architecture !== "arm64") {
|
|
168
|
+
throw new Error(
|
|
169
|
+
`[lambda deploy] ${tarball} is a ${pushed.os}/${pushed.architecture} image; the video function needs linux/arm64.`
|
|
170
|
+
);
|
|
171
|
+
}
|
|
172
|
+
return { imageUri: pushed.imageUri, repositoryName };
|
|
173
|
+
} finally {
|
|
174
|
+
rmSync(layoutDir, { recursive: true, force: true });
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
async function videoImageTarball(sdk, inCheckout, deps) {
|
|
178
|
+
const local = process.env.HYPERFRAMES_LAMBDA_VIDEO_IMAGE;
|
|
179
|
+
if (local) return local;
|
|
180
|
+
const pinned = inCheckout ? void 0 : sdk.prebuiltVideoImage?.();
|
|
181
|
+
if (!pinned) throw new Error(noVideoImageMessage(inCheckout));
|
|
182
|
+
return fetchPinned(pinned, { fileName: "video-arm64.oci.tar", label: "arm64 video image" }, deps);
|
|
183
|
+
}
|
|
184
|
+
function noVideoImageMessage(inCheckout) {
|
|
185
|
+
return inCheckout ? "[lambda deploy] An arm64 deploy from a checkout needs an image built from that checkout: build packages/aws-lambda/image's `video` target as an OCI tarball and set HYPERFRAMES_LAMBDA_VIDEO_IMAGE to it, or pass --video-arch x86_64." : "[lambda deploy] The installed @hyperframes/aws-lambda pins no arm64 video image. Install a newer one, or pass --video-arch x86_64.";
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export {
|
|
189
|
+
stagePrebuiltHandler,
|
|
190
|
+
repoRoot,
|
|
191
|
+
videoRepositoryName,
|
|
192
|
+
pushVideoImage
|
|
193
|
+
};
|
|
@@ -6,34 +6,34 @@ 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-HXQDDCGY.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YMIEJZB6.js";
|
|
16
16
|
import {
|
|
17
17
|
idempotencyKey,
|
|
18
18
|
runJob
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GWSCUFGL.js";
|
|
20
20
|
import {
|
|
21
21
|
projectOf,
|
|
22
22
|
runFfmpeg
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-2NMBD5AH.js";
|
|
24
24
|
import {
|
|
25
25
|
initialModelForLanguage,
|
|
26
26
|
transcribe
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XH6LGDIB.js";
|
|
28
28
|
import {
|
|
29
29
|
createRenderCancellationScope,
|
|
30
30
|
stoppedByCancelSignal
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-D6BV6TTI.js";
|
|
32
32
|
import {
|
|
33
33
|
DEFAULT_MODEL,
|
|
34
34
|
findWhisper,
|
|
35
35
|
isWhisperUnavailable
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-GCJRV7LU.js";
|
|
37
37
|
import {
|
|
38
38
|
formatSrt,
|
|
39
39
|
formatVtt,
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
flush,
|
|
9
9
|
shouldTrack,
|
|
10
10
|
trackEvent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PVSRPNIV.js";
|
|
12
12
|
import {
|
|
13
13
|
MOTION_BLUR_FINGERPRINT_FIELDS,
|
|
14
14
|
redactTelemetryString
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3367VNGK.js";
|
|
16
16
|
import {
|
|
17
17
|
getPowerState
|
|
18
18
|
} from "./chunk-FOZBANEN.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HDCVU64B.js";
|
|
10
10
|
import {
|
|
11
11
|
findPreviewServerForProject,
|
|
12
12
|
studioApiUrl
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
MAX_WINDOW_IDLE_MS,
|
|
18
18
|
openProjectHistory,
|
|
19
19
|
readProjectHistory
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XDRSEU2I.js";
|
|
21
21
|
|
|
22
22
|
// src/utils/historyOwner.ts
|
|
23
23
|
import { randomUUID } from "crypto";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveNaturalMediaTimelineDuration,
|
|
23
23
|
resolveTimedImageDurationSeconds,
|
|
24
24
|
unitFloatToByte
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-YAZQBB2S.js";
|
|
26
26
|
import {
|
|
27
27
|
COLOR_GROUP_ATTR,
|
|
28
28
|
COLOR_GROUP_TAG,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
isTextElement,
|
|
45
45
|
keyframesToGsapAnimations,
|
|
46
46
|
serializeGsapAnimations
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-N7C7U3ZR.js";
|
|
48
48
|
import {
|
|
49
49
|
parseHTML
|
|
50
50
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-CPHQTXP5.js";
|
|
26
26
|
import {
|
|
27
27
|
VERSION
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-LHFBKUVY.js";
|
|
29
29
|
|
|
30
30
|
// src/utils/updateCheck.ts
|
|
31
31
|
import { existsSync as existsSync2, readFileSync as readFileSync3 } from "fs";
|
|
@@ -194,7 +194,10 @@ function installChannelLabel(channel) {
|
|
|
194
194
|
function runningInstall() {
|
|
195
195
|
const path = resolveEntry();
|
|
196
196
|
if (process.env["HYPERFRAMES_PLUGIN_VERSION"]) return { channel: "plugin", path };
|
|
197
|
-
|
|
197
|
+
return installAt(path);
|
|
198
|
+
}
|
|
199
|
+
function installAt(path) {
|
|
200
|
+
const installer = detectInstaller(path);
|
|
198
201
|
if (installer.kind !== "skip") return { channel: installer.kind, path };
|
|
199
202
|
if (!path) return { channel: "unknown", path };
|
|
200
203
|
if (isWorkspaceLink(path)) return { channel: "workspace", path };
|
|
@@ -247,6 +250,7 @@ function packageVersionAbove(entry) {
|
|
|
247
250
|
}
|
|
248
251
|
return null;
|
|
249
252
|
}
|
|
253
|
+
var UPDATABLE_CHANNELS = /* @__PURE__ */ new Set(["npm", "pnpm", "bun", "brew", "project"]);
|
|
250
254
|
function resolvedOrNull(path) {
|
|
251
255
|
try {
|
|
252
256
|
return realpathSync(path);
|
|
@@ -273,8 +277,9 @@ function shadowingInstall(current) {
|
|
|
273
277
|
const global = firstGlobalOnPath(resolveEntry());
|
|
274
278
|
const version = global ? packageVersionAbove(global) : null;
|
|
275
279
|
if (!global || !version || !isOlder(version, current)) return null;
|
|
276
|
-
const
|
|
277
|
-
|
|
280
|
+
const install = installAt(global);
|
|
281
|
+
if (!UPDATABLE_CHANNELS.has(install.channel)) return null;
|
|
282
|
+
return { version, updateCommand: updateCommandFor(install, current) };
|
|
278
283
|
}
|
|
279
284
|
|
|
280
285
|
// src/utils/projectPin.ts
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveCaptureBrowserGpuMode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SIRYW7SY.js";
|
|
10
10
|
import {
|
|
11
11
|
explainChromeLaunchFailure,
|
|
12
12
|
inAgentSandbox,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
oneProcessOverPipe,
|
|
16
16
|
pipeLaunchClosedOnMac,
|
|
17
17
|
sandboxDeniedRemediation
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EJPWGGPK.js";
|
|
19
19
|
import {
|
|
20
20
|
processIsAlive
|
|
21
21
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
parseFirstFrameColour,
|
|
17
17
|
parseKeyframeTransfers,
|
|
18
18
|
readsKeyframeTransfers
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3367VNGK.js";
|
|
20
20
|
import {
|
|
21
21
|
findFfBinary
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KRWPTZBY.js";
|
|
23
23
|
|
|
24
24
|
// ../studio-server/dist/chunk-IMOR42OE.js
|
|
25
25
|
import { execFile } from "child_process";
|
|
@@ -7,14 +7,14 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2W4VQ3YZ.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PVSRPNIV.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VB3JZKMN.js";
|
|
18
18
|
|
|
19
19
|
// src/telemetry/lintStreaks.ts
|
|
20
20
|
import { createHash } from "crypto";
|
|
@@ -14,12 +14,12 @@ import {
|
|
|
14
14
|
} from "./chunk-ZB2XGJSP.js";
|
|
15
15
|
import {
|
|
16
16
|
createStagingDir
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IEEIPTDW.js";
|
|
18
18
|
import {
|
|
19
19
|
FONT_ALIAS_MAP,
|
|
20
20
|
fontShorthandFamilies,
|
|
21
21
|
resolveAliasDisplayName
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-N7C7U3ZR.js";
|
|
23
23
|
import {
|
|
24
24
|
parseHTML
|
|
25
25
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getCachedGpuEncoder
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EJPWGGPK.js";
|
|
10
10
|
import {
|
|
11
11
|
runCancellableProcess
|
|
12
12
|
} from "./chunk-X6JUUQCM.js";
|
|
13
13
|
import {
|
|
14
14
|
findFfBinary,
|
|
15
15
|
getSkippedX86Binary
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KRWPTZBY.js";
|
|
17
17
|
import {
|
|
18
18
|
detectWsl
|
|
19
19
|
} from "./chunk-7KDQAD2W.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JHX76QFC.js";
|
|
11
11
|
import {
|
|
12
12
|
readJsonFlag
|
|
13
13
|
} from "./chunk-EHZESMRB.js";
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
loadProjectConfig,
|
|
18
18
|
projectConfigPath,
|
|
19
19
|
recordProjectRegistryItems
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KFXHBP2E.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveItemWithDependencies,
|
|
23
23
|
resolveItemsByTag
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AWT5FHTN.js";
|
|
25
25
|
import {
|
|
26
26
|
InvalidVariableValuesError,
|
|
27
27
|
prepareItem,
|
|
28
28
|
publishItem
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UWMOMAYI.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_REGISTRY_URL
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-JMV63CNH.js";
|
|
33
33
|
import {
|
|
34
34
|
trackRegistryItemAdded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-2W4VQ3YZ.js";
|
|
36
36
|
import {
|
|
37
37
|
defineCommand
|
|
38
38
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -41,11 +41,11 @@ import {
|
|
|
41
41
|
} from "./chunk-JCNPHRGX.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-3367VNGK.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-HZTRKUKE.js";
|
|
49
49
|
import {
|
|
50
50
|
parseHTML
|
|
51
51
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
alive,
|
|
9
9
|
readHolder,
|
|
10
10
|
release
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-REJ4NIBY.js";
|
|
12
12
|
import {
|
|
13
13
|
shouldTrack
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PVSRPNIV.js";
|
|
15
15
|
import {
|
|
16
16
|
createFileAtomically
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IEEIPTDW.js";
|
|
18
18
|
import {
|
|
19
19
|
processIdentity
|
|
20
20
|
} from "./chunk-PV4XID2A.js";
|
|
@@ -5,12 +5,13 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
|
-
// ../studio-server/dist/chunk-
|
|
8
|
+
// ../studio-server/dist/chunk-NCLQRSFL.js
|
|
9
9
|
var CRF_MAX_BY_FORMAT = { mp4: 51, webm: 63 };
|
|
10
10
|
var VIDEO_BITRATE = /^\d+(\.\d+)?[kKmMgG]?$/;
|
|
11
11
|
var VIDEO_FRAME_FORMATS = ["auto", "jpg", "png"];
|
|
12
12
|
var HDR_MODES = ["auto", "force-hdr", "force-sdr"];
|
|
13
13
|
var PRORES_PROFILES = ["4444", "hq", "422", "lt", "proxy"];
|
|
14
|
+
var CHROMA_SUBSAMPLINGS = ["420", "444"];
|
|
14
15
|
var isSet = (value) => value !== void 0 && value !== null;
|
|
15
16
|
function oneOf(value, allowed) {
|
|
16
17
|
return typeof value === "string" && allowed.includes(value);
|
|
@@ -78,14 +79,39 @@ function parseProres(value, format) {
|
|
|
78
79
|
}
|
|
79
80
|
return { ok: true, options: format === "mov" ? { proresProfile: value } : {} };
|
|
80
81
|
}
|
|
82
|
+
function parseChromaSubsampling(body, format) {
|
|
83
|
+
const chromaSubsampling = body.chromaSubsampling;
|
|
84
|
+
if (!isSet(chromaSubsampling)) return { ok: true, options: {} };
|
|
85
|
+
if (!oneOf(chromaSubsampling, CHROMA_SUBSAMPLINGS)) {
|
|
86
|
+
return {
|
|
87
|
+
ok: false,
|
|
88
|
+
error: `chromaSubsampling must be one of ${CHROMA_SUBSAMPLINGS.join(", ")}`
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
if (chromaSubsampling === "444") {
|
|
92
|
+
if (format !== "mp4") {
|
|
93
|
+
return { ok: false, error: `chromaSubsampling "444" supports mp4 only (got ${format})` };
|
|
94
|
+
}
|
|
95
|
+
if (body.gpu === true) {
|
|
96
|
+
return { ok: false, error: 'chromaSubsampling "444" requires the software encoder, not gpu' };
|
|
97
|
+
}
|
|
98
|
+
if (body.hdrMode === "force-hdr") {
|
|
99
|
+
return { ok: false, error: 'chromaSubsampling "444" is SDR only, not force-hdr' };
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return { ok: true, options: { chromaSubsampling } };
|
|
103
|
+
}
|
|
81
104
|
function parseEncoderOptions(body, format) {
|
|
82
|
-
const
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
105
|
+
const options = {};
|
|
106
|
+
for (const parsed of [
|
|
107
|
+
parseRateControl(body, format),
|
|
108
|
+
parseDelivery(body, format),
|
|
109
|
+
parseProres(body.proresProfile, format),
|
|
110
|
+
parseChromaSubsampling(body, format)
|
|
111
|
+
]) {
|
|
112
|
+
if (!parsed.ok) return parsed;
|
|
113
|
+
Object.assign(options, parsed.options);
|
|
114
|
+
}
|
|
89
115
|
if (isSet(body.gifLoop)) {
|
|
90
116
|
if (typeof body.gifLoop !== "number" || !Number.isInteger(body.gifLoop) || body.gifLoop < 0 || body.gifLoop > 65535) {
|
|
91
117
|
return { ok: false, error: "gifLoop must be an integer from 0 to 65535" };
|
|
@@ -118,7 +144,8 @@ function encoderJobOptions(opts) {
|
|
|
118
144
|
...maxBitrate ? { maxBitrate } : {},
|
|
119
145
|
...bufferSize ? { bufferSize } : {},
|
|
120
146
|
...opts.videoFrameFormat ? { videoFrameFormat: opts.videoFrameFormat } : {},
|
|
121
|
-
...opts.hdrMode ? { hdrMode: opts.hdrMode } : {}
|
|
147
|
+
...opts.hdrMode ? { hdrMode: opts.hdrMode } : {},
|
|
148
|
+
...opts.chromaSubsampling ? { chromaSubsampling: opts.chromaSubsampling } : {}
|
|
122
149
|
};
|
|
123
150
|
}
|
|
124
151
|
|
|
@@ -18,6 +18,9 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
c
|
|
20
20
|
} from "./chunk-JCNPHRGX.js";
|
|
21
|
+
import {
|
|
22
|
+
replaceFileAtomically
|
|
23
|
+
} from "./chunk-IEEIPTDW.js";
|
|
21
24
|
import {
|
|
22
25
|
NO_UPDATE_NOTICE,
|
|
23
26
|
checkForUpdate,
|
|
@@ -27,7 +30,7 @@ import {
|
|
|
27
30
|
rewritePinnedHyperframesText,
|
|
28
31
|
rewriteProjectPinnedScripts,
|
|
29
32
|
withMeta
|
|
30
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-34S7GYVK.js";
|
|
31
34
|
import {
|
|
32
35
|
setCommandExitCode
|
|
33
36
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -36,11 +39,11 @@ import {
|
|
|
36
39
|
} from "./chunk-CPHQTXP5.js";
|
|
37
40
|
import {
|
|
38
41
|
VERSION
|
|
39
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-LHFBKUVY.js";
|
|
40
43
|
|
|
41
44
|
// src/commands/upgrade.ts
|
|
42
45
|
import { execFileSync } from "child_process";
|
|
43
|
-
import { existsSync, readFileSync, writeFileSync,
|
|
46
|
+
import { existsSync, readFileSync, writeFileSync, readdirSync } from "fs";
|
|
44
47
|
import { join, resolve } from "path";
|
|
45
48
|
var examples = [
|
|
46
49
|
["Check for updates interactively", "hyperframes upgrade"],
|
|
@@ -228,10 +231,8 @@ async function upgradeProjectPins(dir, opts) {
|
|
|
228
231
|
});
|
|
229
232
|
if (rewrite.changed && !opts.check) {
|
|
230
233
|
raw.scripts = rewrite.scripts;
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
`, "utf-8");
|
|
234
|
-
renameSync(tmp, pkgPath);
|
|
234
|
+
replaceFileAtomically(pkgPath, `${JSON.stringify(raw, null, 2)}
|
|
235
|
+
`);
|
|
235
236
|
}
|
|
236
237
|
if (!opts.check) {
|
|
237
238
|
for (const wrapper of wrapperRewrites) {
|
|
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findStageProxyBox
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LBQQNNRC.js";
|
|
10
10
|
import {
|
|
11
11
|
getMimeType,
|
|
12
12
|
injectMediaCodecMapIntoHtml
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EXW2LV4K.js";
|
|
14
14
|
import {
|
|
15
15
|
PROXY_VARIANT_CONFIG,
|
|
16
16
|
ProxyCapacityError,
|
|
@@ -21,23 +21,23 @@ import {
|
|
|
21
21
|
recordProxyRequest,
|
|
22
22
|
resolveProxy,
|
|
23
23
|
resolveProxyVariantRequest
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-H7AJLEBR.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-KFXHBP2E.js";
|
|
28
28
|
import {
|
|
29
29
|
openRangeEnd
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-64F653HO.js";
|
|
31
31
|
import {
|
|
32
32
|
listenOnBrowserSafePort
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-EJPWGGPK.js";
|
|
34
34
|
import {
|
|
35
35
|
stripSdrPngColourTags
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YIE5FU73.js";
|
|
37
37
|
import {
|
|
38
38
|
PREVIEW_PROXY_BOX_PARAM,
|
|
39
39
|
parsePreviewProxyBox
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-3367VNGK.js";
|
|
41
41
|
import {
|
|
42
42
|
decodeWellFormedEscapes
|
|
43
43
|
} from "./chunk-6MKM2RVL.js";
|