hyperframes 0.9.31 → 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-53MR45WI.js → add-HYI4YJC5.js} +16 -16
- package/dist/{agentPromptGenerator-NXF7237H.js → agentPromptGenerator-JAQNBEUZ.js} +35 -18
- package/dist/{animatedGifPrep-XF6VJW22.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-Y3YAVXJ3.js → asset-7FG3M3FQ.js} +2 -2
- package/dist/{assetCataloger-DRLH2VFH.js → assetCataloger-QDQZYHUC.js} +12 -12
- package/dist/{audio-TRDZQ2NW.js → audio-R6ZG62DU.js} +20 -19
- package/dist/{auth-MN66MWGN.js → auth-IPDYZXOG.js} +2 -2
- package/dist/{autoUpdate-KAIIQJBV.js → autoUpdate-GAEDDZRN.js} +2 -2
- package/dist/{avatars-F2COSI7P.js → avatars-A45VFUZ4.js} +14 -14
- package/dist/{backgroundChecks-36UG4V5N.js → backgroundChecks-US74BS6V.js} +3 -3
- package/dist/backgroundChecksWorker.js +4 -4
- package/dist/{batchRender-CI6OFGS5.js → batchRender-VBSYVQA7.js} +5 -5
- package/dist/{beats-GBCNB763.js → beats-UPJ3KANG.js} +12 -12
- package/dist/{benchmark-AHHMJBDN.js → benchmark-2RWYJGL2.js} +10 -10
- package/dist/{billing-HME22C5A.js → billing-MD66MJTA.js} +15 -15
- package/dist/{browser-VZTIOZI3.js → browser-JXCS62NX.js} +7 -7
- package/dist/{bundleWithLocalizedFonts-XLFSHMET.js → bundleWithLocalizedFonts-RAD7BNJF.js} +1 -1
- package/dist/{capture-ZILHWIOF.js → capture-DJ4WRP62.js} +52 -29
- package/dist/{capture-NU2ZIXJB.js → capture-M6DT5WZT.js} +4 -4
- package/dist/{captureCompositionFrame-ZWVKRKLL.js → captureCompositionFrame-IRXG7ZFU.js} +17 -17
- package/dist/{captureFile-O7JMINHC.js → captureFile-Y2ZMB7HK.js} +3 -3
- package/dist/{catalog-NVEGPXGE.js → catalog-GW45OWKU.js} +16 -16
- package/dist/{catch-up-W7ST5JSZ.js → catch-up-YKJQ4IYC.js} +10 -10
- package/dist/{check-BZ652RYH.js → check-7QTKMPGA.js} +49 -49
- package/dist/{checkAudio-5NVSRMGL.js → checkAudio-7WHUYGUZ.js} +14 -14
- package/dist/{checkBrowser-YN454IBU.js → checkBrowser-USAOWTAF.js} +42 -42
- package/dist/chunk-262ADJJN.js +193 -0
- package/dist/{chunk-SCWMPY3F.js → chunk-2NMBD5AH.js} +1 -1
- package/dist/{chunk-RHUYVGFO.js → chunk-2T7EDEKE.js} +7 -7
- package/dist/{chunk-OJSOH2LS.js → chunk-2W4VQ3YZ.js} +2 -2
- package/dist/{chunk-RJA64ACI.js → chunk-2Z42EUHG.js} +2 -2
- package/dist/{chunk-HM3PIREE.js → chunk-3367VNGK.js} +2 -2
- package/dist/{chunk-RLYYA6IR.js → chunk-34S7GYVK.js} +1 -1
- package/dist/{chunk-TEOIEMTR.js → chunk-3HT3UGF2.js} +1 -1
- package/dist/{chunk-AQJA7TAQ.js → chunk-3PHCFSPD.js} +2 -2
- package/dist/{chunk-BJSUKOWW.js → chunk-3R2X2VKB.js} +2 -2
- package/dist/{chunk-OOEZ3FT3.js → chunk-4CSZZXL6.js} +3 -3
- package/dist/{chunk-JLUOG6S2.js → chunk-4FTJE22M.js} +2 -2
- package/dist/{chunk-O7ZX5DHD.js → chunk-5FFYMVRD.js} +2 -2
- package/dist/{chunk-6WHOI52Z.js → chunk-5GXMZIQZ.js} +8 -8
- package/dist/{chunk-Q7EIUAYK.js → chunk-5VN7ZXJR.js} +3 -3
- package/dist/{chunk-VEIGTKYZ.js → chunk-64F653HO.js} +36 -9
- package/dist/{chunk-X3HQA3YE.js → chunk-6BI6URO2.js} +8 -7
- package/dist/{chunk-Q77TZ76B.js → chunk-6MTSP2XE.js} +8 -8
- package/dist/{chunk-7XZS4PNM.js → chunk-6NNLDCX4.js} +1 -1
- package/dist/{chunk-3OA75WJW.js → chunk-6RFCS4IU.js} +9 -4
- package/dist/{chunk-IIMW46LC.js → chunk-6SNGKC6B.js} +1 -1
- package/dist/{chunk-SWOAB4GM.js → chunk-77UB5EHM.js} +1 -1
- package/dist/{chunk-URXVZMSI.js → chunk-ADP2GIBS.js} +2 -2
- package/dist/{chunk-CWN75OWQ.js → chunk-AOQRVS63.js} +13 -3
- package/dist/{chunk-RVI665CP.js → chunk-AWT5FHTN.js} +1 -1
- package/dist/{chunk-G5DZZEQF.js → chunk-AZ2QJETV.js} +1 -1
- package/dist/{chunk-YJVJCNK4.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-GFDXA5QO.js → chunk-CMYUPVMI.js} +2 -2
- package/dist/{chunk-DFSAC4F4.js → chunk-D6BV6TTI.js} +1 -1
- package/dist/{chunk-OZNJ2QD5.js → chunk-D7NNNL2K.js} +13 -13
- package/dist/{chunk-MMAPQWUP.js → chunk-E5S4QMX7.js} +2 -2
- package/dist/{chunk-G5S72X6Q.js → chunk-EBG5RCPM.js} +4 -4
- package/dist/{chunk-R5U5PFDJ.js → chunk-EJPWGGPK.js} +68 -26
- package/dist/{chunk-FKW5FP4C.js → chunk-EXW2LV4K.js} +114 -74
- package/dist/{chunk-F2GWIWHN.js → chunk-G2XAFJ2B.js} +2 -2
- package/dist/{chunk-P7LZ2WSQ.js → chunk-G6JLFSII.js} +2 -2
- package/dist/{chunk-LHBQW4GJ.js → chunk-G7NKYELQ.js} +23 -15
- package/dist/{chunk-FRBQ3FIM.js → chunk-GBIASKIH.js} +1 -1
- package/dist/{chunk-W4OMDRZF.js → chunk-GCJRV7LU.js} +28 -8
- package/dist/{chunk-AWL5M7BX.js → chunk-GJUL3PRV.js} +4 -4
- package/dist/{chunk-BIQJKM2O.js → chunk-GOMTMQRT.js} +1 -1
- package/dist/{chunk-5AMGFTMU.js → chunk-GTHRXU37.js} +15 -15
- package/dist/{chunk-GRHBVTBK.js → chunk-GWSCUFGL.js} +2 -2
- package/dist/{chunk-SQ63BIR2.js → chunk-H4C3P2KV.js} +3 -3
- package/dist/{chunk-FK3KV32T.js → chunk-H7AJLEBR.js} +26 -23
- package/dist/{chunk-L6ZLOJBI.js → chunk-HDCVU64B.js} +1 -1
- package/dist/{chunk-Y6RU3H6C.js → chunk-HWMNSWEA.js} +6 -6
- package/dist/{chunk-WSPGX2SM.js → chunk-HXQDDCGY.js} +1 -1
- package/dist/{chunk-OFQWTKPW.js → chunk-HZTRKUKE.js} +8 -2
- package/dist/{chunk-CUORARXJ.js → chunk-I3QXWJ7V.js} +7 -7
- package/dist/{chunk-IEXRKKHC.js → chunk-IEEIPTDW.js} +1 -1
- package/dist/{chunk-MX3UCKZR.js → chunk-JHX76QFC.js} +1 -1
- package/dist/{chunk-C4U6FRZH.js → chunk-JMV63CNH.js} +14 -11
- package/dist/{chunk-4HSE3FWO.js → chunk-K72X2YXR.js} +3 -3
- package/dist/{chunk-OB6DVKHE.js → chunk-KAG5KXNO.js} +2 -2
- package/dist/{chunk-J5LQW6VB.js → chunk-KFXHBP2E.js} +2 -2
- package/dist/{chunk-MQOO5Z4U.js → chunk-KG3TONXU.js} +6 -6
- package/dist/{chunk-HYRPH6LL.js → chunk-KRWPTZBY.js} +2 -5
- package/dist/{chunk-KKUBMYCY.js → chunk-KXOKZJBZ.js} +10 -10
- package/dist/{chunk-XDIHAX2C.js → chunk-L72MPEM2.js} +1 -1
- package/dist/{chunk-RBECDLMQ.js → chunk-LBQQNNRC.js} +1 -1
- package/dist/{chunk-CP4FVXKZ.js → chunk-LHFBKUVY.js} +2 -2
- package/dist/{chunk-RLQOYHXT.js → chunk-LJMTEZOP.js} +10 -10
- package/dist/{chunk-3SZ43GZG.js → chunk-LXIEKLAC.js} +5 -5
- package/dist/{chunk-KAICKZZK.js → chunk-M6FNCANA.js} +1 -1
- package/dist/{chunk-ZOOY4LEZ.js → chunk-M6LAGO6O.js} +2 -2
- package/dist/{chunk-5Q3TTLGB.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-B7H5RCKP.js → chunk-NNOAOQLT.js} +2 -2
- package/dist/{chunk-56MGA4FM.js → chunk-NXSKZE3C.js} +2 -2
- package/dist/{chunk-RCWPVC4M.js → chunk-P5E3RHW3.js} +2 -2
- package/dist/{chunk-SEVZKBMA.js → chunk-P7TCIUP2.js} +4 -4
- package/dist/{chunk-5BIMSULZ.js → chunk-PVSRPNIV.js} +1 -1
- package/dist/{chunk-5SDUQLZ3.js → chunk-PXDRW3QN.js} +1 -1
- package/dist/{chunk-GSXHYLW4.js → chunk-PXY3JZP2.js} +2 -2
- package/dist/{chunk-T54RTTFW.js → chunk-RCRUWNQ4.js} +3 -3
- package/dist/{chunk-GGDJLN5I.js → chunk-REJ4NIBY.js} +1 -1
- package/dist/{chunk-BCMR6DE4.js → chunk-SFPIVVUE.js} +2 -2
- package/dist/{chunk-T7PFJH2B.js → chunk-SIRYW7SY.js} +2 -2
- package/dist/{chunk-SHOE3UR6.js → chunk-SVI2CJ6R.js} +1 -1
- package/dist/{chunk-ZSELEQI2.js → chunk-SXOIG6VG.js} +186 -52
- package/dist/chunk-TFBPCJPG.js +26 -0
- package/dist/{chunk-JULHFF3J.js → chunk-TLUDJLBN.js} +1 -1
- package/dist/{chunk-5YYGPTBP.js → chunk-TTSLKH63.js} +3 -3
- package/dist/{chunk-XB77LMOP.js → chunk-TVQNABOI.js} +1 -1
- package/dist/{chunk-K7JA32EI.js → chunk-TZH6HNZH.js} +2 -2
- package/dist/{chunk-3F2DTPBD.js → chunk-UC4X6I35.js} +6 -0
- package/dist/{chunk-PGGMJW7B.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-5HVQV4H4.js → chunk-W3HNLDK6.js} +2 -2
- package/dist/{chunk-44VR2CWT.js → chunk-WLNQAJQC.js} +2 -2
- package/dist/{chunk-O4Z4D4KA.js → chunk-WTO4DHBH.js} +1 -1
- package/dist/{chunk-ALVXFXUG.js → chunk-WXOOAAT4.js} +27 -4
- package/dist/{chunk-6VNDEMSP.js → chunk-X6DWLN55.js} +3 -3
- package/dist/{chunk-IHWNDG5C.js → chunk-XB7HE2R5.js} +3 -3
- package/dist/{chunk-VPPJIWVG.js → chunk-XDRSEU2I.js} +14 -14
- package/dist/{chunk-CWOUPW5E.js → chunk-XH6LGDIB.js} +4 -4
- package/dist/{chunk-3DIYMOES.js → chunk-XPT4GC6X.js} +6 -6
- package/dist/{chunk-ZQYRP22G.js → chunk-Y3YHDU7T.js} +1 -1
- package/dist/{chunk-SWC3QIEH.js → chunk-YAS347ZS.js} +1 -1
- package/dist/{chunk-ELWX6CAA.js → chunk-YAZQBB2S.js} +1 -1
- package/dist/{chunk-5LLDGJGZ.js → chunk-YCTWMO3G.js} +1 -1
- package/dist/{chunk-OBRKDUCE.js → chunk-YIE5FU73.js} +3 -3
- package/dist/{chunk-KAHWO4XC.js → chunk-YMIEJZB6.js} +3 -3
- package/dist/{chunk-22PWPQVX.js → chunk-Z6X64P6C.js} +3 -3
- package/dist/{chunk-54FVSPRH.js → chunk-ZIYXPDKY.js} +2 -2
- package/dist/{clean-WYXHI2DO.js → clean-MJBET4EN.js} +26 -26
- package/dist/cli.js +64 -64
- package/dist/{cloud-X52P5AIE.js → cloud-WEDQYHZE.js} +4 -4
- package/dist/{cloud-TDXVUIUM.js → cloud-Z4Q76MLS.js} +3 -3
- package/dist/{cloudrun-36IR6ZKU.js → cloudrun-2KGSRAKA.js} +7 -7
- package/dist/{compare-R2KXOV2I.js → compare-MJKWQOD7.js} +41 -41
- package/dist/{compiler-FRWUFIQC.js → compiler-ETXRTUQC.js} +6 -6
- package/dist/{component-TIBQY7KQ.js → component-PZGKEJ6L.js} +3 -3
- package/dist/{compositions-NQPORXIX.js → compositions-N3FEEWH7.js} +14 -14
- package/dist/{contactSheet-PZXG3REG.js → contactSheet-HZMP42FZ.js} +4 -4
- package/dist/{curve-DTLRPBSB.js → curve-MWABBM7Q.js} +14 -14
- package/dist/{cuts-73HKU767.js → cuts-BQFSSNY7.js} +15 -15
- package/dist/{delete-HIHA436T.js → delete-HPHGJABK.js} +5 -5
- package/dist/deploy-JY2QOB5F.js +213 -0
- package/dist/{describeProject-4A5UXQ25.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-JPADFUMV.js → diff-XDNFCAU4.js} +36 -36
- package/dist/{dist-EFXKPJJT.js → dist-6EE3Y4M7.js} +3 -3
- package/dist/{dist-KWXQYTRT.js → dist-EYEYDD4F.js} +18 -18
- package/dist/{dist-FKEKIXVL.js → dist-TYGDYK56.js} +4 -4
- package/dist/docs/rendering.md +2 -0
- package/dist/{doctor-3OO3CONL.js → doctor-6IRSMKZD.js} +16 -16
- package/dist/{energy-XFPN5YIL.js → energy-VCJ2FJEF.js} +15 -15
- package/dist/{events-QWPZT3EQ.js → events-DNTIMCUM.js} +17 -17
- package/dist/{events-G2MME5LQ.js → events-M6A7BT3V.js} +7 -7
- package/dist/{events-6ONCYFB5.js → events-QQYBD7JM.js} +2 -2
- package/dist/{extract-3EV72SMY.js → extract-X3IVXYHX.js} +15 -15
- package/dist/{face-JZS6P3AT.js → face-MZHXKBDB.js} +16 -16
- package/dist/{feedback-JVWBHRQG.js → feedback-TAMGYFUO.js} +15 -11
- package/dist/{ffmpeg-XDAITYSU.js → ffmpeg-XWPYYYB6.js} +10 -10
- package/dist/{figma-KPHTDMCQ.js → figma-WMD7AR2S.js} +3 -3
- package/dist/fontLocalizeCli.js +17 -17
- package/dist/{frames-KRVRJTKC.js → frames-OU2UOLBU.js} +17 -17
- package/dist/{generate-X2MYGFZX.js → generate-6F6QEFXW.js} +26 -26
- package/dist/{get-QM24BI7N.js → get-VVDO7DXG.js} +5 -5
- package/dist/{gpuPolicy-EFJJLHVV.js → gpuPolicy-CVNSHXHJ.js} +10 -10
- package/dist/{grade-compare-W5N5LH4X.js → grade-compare-O6LY2U73.js} +40 -40
- package/dist/{gsapParser-3H7ON3DO.js → gsapParser-L7TM3RGH.js} +49 -26
- package/dist/hangReport.js +1 -1
- package/dist/{heifImagePrep-X5QRRVTV.js → heifImagePrep-J6TILZTM.js} +11 -11
- package/dist/{help-LWS4YWMO.js → help-XLSTTDHR.js} +1 -1
- package/dist/{history-SG34LBJY.js → history-DBCCWBDG.js} +13 -13
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-2FC43IYB.js → info-E46BWAQ7.js} +16 -16
- package/dist/{init-GKY5OKDV.js → init-23TG5W7S.js} +33 -33
- package/dist/{ink-7UK6YCUY.js → ink-6UFSNJRW.js} +15 -15
- package/dist/{inspect-ZB2NTNQA.js → inspect-RKI6XACH.js} +40 -40
- package/dist/{installer-GALVXWPC.js → installer-JWPK75BR.js} +8 -8
- package/dist/{keyframes-LSP4FLHT.js → keyframes-J65V5A2G.js} +10 -10
- package/dist/{lambda-3F32DRYF.js → lambda-RZSXXBJU.js} +19 -19
- package/dist/{layout-XPGS3QTX.js → layout-RJQUOYWB.js} +40 -40
- package/dist/{lint-Q5SO57RK.js → lint-4TUHKKA2.js} +12 -12
- package/dist/{lintProject-5CBL7VFV.js → lintProject-R6RTBSCZ.js} +3 -3
- package/dist/{list-FL5RYSFT.js → list-HOD2N4VS.js} +5 -5
- package/dist/{localPage-IOHQETQT.js → localPage-TC4NC3VL.js} +11 -11
- package/dist/{login-D4TCWDDW.js → login-NTOS3HKD.js} +4 -4
- package/dist/{look-G2BT4E4A.js → look-GC63E2I7.js} +15 -15
- package/dist/{manager-F6WI43DQ.js → manager-FICBET24.js} +11 -11
- package/dist/{measure-VXQQHYMZ.js → measure-WTQCSQ55.js} +11 -11
- package/dist/{media-treatment-ZXA3JZSL.js → media-treatment-KTZ6X2P2.js} +16 -16
- package/dist/{media-use-63LZFAID.js → media-use-K75FDXJ3.js} +10 -5
- package/dist/{models-MWUVU4CY.js → models-JKOA542M.js} +14 -14
- package/dist/{motionShot-U4YDT7UV.js → motionShot-A3TYKTQU.js} +20 -20
- package/dist/{normalize-audio-T5QJWU4P.js → normalize-audio-7JUM42YB.js} +12 -12
- package/dist/{open-DRLXHOW2.js → open-F6GI4TRA.js} +18 -18
- package/dist/{parakeetRunner-5OHEB3XZ.js → parakeetRunner-6XIAKJLS.js} +17 -17
- package/dist/{pipeline-MAIRRYD6.js → pipeline-7P7LGGQG.js} +13 -13
- package/dist/{play-33A3EXX3.js → play-DYOZLKWX.js} +36 -30
- package/dist/{preflight-HSWMKB2Q.js → preflight-VM4HSRBY.js} +11 -11
- package/dist/{present-HJIFEIDH.js → present-IINIEZJC.js} +30 -24
- package/dist/{preview-J6Z6RKMN.js → preview-NJO2UXWJ.js} +25 -25
- package/dist/{probe-RA4VOGYY.js → probe-LQQHFX5Q.js} +15 -15
- package/dist/{producer-KWP2B4A5.js → producer-LH2SZHJ2.js} +1 -1
- package/dist/{progress-TGYZ2TKQ.js → progress-IY6U35WH.js} +1 -1
- package/dist/{projectConfig-3YIGHLNE.js → projectConfig-BLACFLUW.js} +11 -11
- package/dist/{publication-QRUY2WJK.js → publication-NFF2BXIE.js} +6 -6
- package/dist/{publish-GV3I3GUL.js → publish-JST5Y4UR.js} +19 -17
- package/dist/{remove-background-UUITKXEQ.js → remove-background-WUBESLWN.js} +14 -14
- package/dist/{render-EC67XXR2.js → render-4KWUUC5H.js} +75 -45
- package/dist/{render-NHVDJRFD.js → render-DA4V7CEE.js} +8 -8
- package/dist/{render-ZITQXHJP.js → render-R4VNR4E2.js} +34 -30
- package/dist/{render-batch-RII4F3PD.js → render-batch-JMPG4RLT.js} +8 -8
- package/dist/renderSetupWorker.js +4 -4
- package/dist/{resolver-R3FXDZKS.js → resolver-PNIFIDIE.js} +8 -8
- package/dist/{reverse-2GJ5Y3WM.js → reverse-4NI7D2C3.js} +1 -1
- package/dist/{run-24USN7TA.js → run-FWBIBLYE.js} +4 -3
- package/dist/{screenshotCapture-TEQVEBWB.js → screenshotCapture-KOLNFU7W.js} +13 -13
- package/dist/{sherpa-YIJR47GX.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-DM3XC7RQ.js → skills-KQQVUFGO.js} +10 -10
- package/dist/{skillsUpdateCheck-ZHVFEOEN.js → skillsUpdateCheck-VY5PS46S.js} +3 -3
- package/dist/{snapshot-72RQQXHW.js → snapshot-VIEJQAUB.js} +82 -57
- package/dist/{src-C43KUEBY.js → src-HHPRCLEW.js} +11 -9
- package/dist/{src-SPFGPZZQ.js → src-MQU5F7GJ.js} +15 -15
- package/dist/{start-FSYSYLI7.js → start-ZBNNVFMU.js} +24 -24
- package/dist/{state-W3AS6O2J.js → state-7OIPR4BG.js} +1 -1
- package/dist/{staticProjectServer-RHBRRGPK.js → staticProjectServer-VPGZWJF4.js} +27 -27
- package/dist/{status-TE74GP4Q.js → status-RBZJYT7T.js} +17 -17
- package/dist/studio/assets/{codec-DXM4vA6G.js → codec-Bz1jsLs8.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-D_016Ubp.js → hyperframes-player-cdH5Sz_t.js} +1 -1
- package/dist/studio/assets/{index-Ob53qo6K.js → index-D1l7izdf.js} +176 -176
- package/dist/studio/assets/{index-Bw4stQMm.js → index-DFRbcd5J.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-vbdgaMqL.js → pausedVideoDecoder-CgV8YB6S.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-JAOHMYPG.js → studio-api-EPZGLIWW.js} +18 -18
- package/dist/{studioServer-RHCPM4CN.js → studioServer-YFQQ2ESJ.js} +68 -62
- package/dist/{sync-UZJ7DOUA.js → sync-FRT55PVW.js} +15 -15
- package/dist/{synthesize-MDW4ZWTN.js → synthesize-FR5KPBRP.js} +4 -4
- package/dist/{telemetry-TFOEA2PM.js → telemetry-HAPPFR7P.js} +7 -7
- package/dist/{templates-2AHM5TZ3.js → templates-2IHYIWMA.js} +15 -15
- package/dist/{timeline-ZGV323MP.js → timeline-AY2F7BJF.js} +25 -25
- package/dist/{tokens-ERUFEWUA.js → tokens-B3G257V3.js} +2 -2
- package/dist/{transcribe-M5UZ2XFG.js → transcribe-EGQD32PT.js} +14 -14
- package/dist/{transcribe-6HLYS7NV.js → transcribe-RJCILGPA.js} +30 -30
- package/dist/{tts-IXX2HHHJ.js → tts-ZE776B4I.js} +1 -1
- package/dist/{update-JDVI2XTM.js → update-XTFIGQKW.js} +12 -11
- package/dist/{updateCheck-GDTYPXKO.js → updateCheck-M6YC52A4.js} +2 -2
- package/dist/{upgrade-SJKYBA4X.js → upgrade-AKLIZKAO.js} +5 -3
- package/dist/{urlDownloader-2QCNXXUG.js → urlDownloader-57A7Q7FC.js} +9 -9
- package/dist/{validate-IUTHTA2N.js → validate-YWSXJL54.js} +32 -32
- package/dist/{video-4BJ7WHI2.js → video-I5DDNK3Y.js} +12 -12
- package/dist/{voices-UDSFBPZX.js → voices-IBMJU73H.js} +24 -24
- package/dist/warmCheck.js +50 -50
- package/dist/warmCheckClient.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-2X4PQEYM.js +0 -34
- package/dist/deploy-EB3FS2BT.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";
|
|
@@ -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";
|