hyperframes 0.9.53 → 0.9.54
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-TZFSLV5M.js → add-OVHVUHQR.js} +22 -22
- package/dist/{agentPromptGenerator-OPQZUVYC.js → agentPromptGenerator-L2B3HMHF.js} +11 -11
- package/dist/{animatedGifPrep-DEK4XZYT.js → animatedGifPrep-YMJH33FX.js} +12 -12
- package/dist/api.js +49 -48
- package/dist/{appHistory-DK2XI4EZ.js → appHistory-T3ZLA7QN.js} +4 -3
- package/dist/{asset-3BIBG7LB.js → asset-ORCN4EVH.js} +2 -2
- package/dist/{assetCataloger-R4NWWO4P.js → assetCataloger-X23VB66T.js} +12 -12
- package/dist/{audio-N3DHNT3F.js → audio-NHNXBUI2.js} +92 -70
- package/dist/{auth-CBF2DVRT.js → auth-DQDDXQFC.js} +5 -5
- package/dist/{autoUpdate-UJB4MI4Z.js → autoUpdate-LF7BJN34.js} +5 -5
- package/dist/{avatars-JVATTQYO.js → avatars-KFUMWRVX.js} +18 -18
- package/dist/{backgroundChecks-R7SFELIM.js → backgroundChecks-Y6RHADW6.js} +6 -6
- package/dist/backgroundChecksWorker.js +6 -6
- package/dist/{batchRender-D4VO4OCF.js → batchRender-CMG4SVBX.js} +4 -4
- package/dist/{beats-UCYZ7MKK.js → beats-JXZBK7JI.js} +14 -14
- package/dist/{benchmark-3NMJO5DK.js → benchmark-CLU6JUGY.js} +21 -20
- package/dist/{billing-76JTGOHN.js → billing-5GMYFDMC.js} +20 -20
- package/dist/{browser-5XXA4O25.js → browser-S4R6LZMF.js} +11 -11
- package/dist/{bundleWithLocalizedFonts-S7DIF43W.js → bundleWithLocalizedFonts-SFUFSBEU.js} +1 -1
- package/dist/{capture-EV4G3SCY.js → capture-A3FLQIDI.js} +29 -29
- package/dist/{capture-JHMVFAUS.js → capture-NL7V23HG.js} +4 -4
- package/dist/{captureCompositionFrame-3M3BFHZH.js → captureCompositionFrame-R7GYVNTF.js} +17 -17
- package/dist/{captureFile-R5JZ7WRA.js → captureFile-LXMDM5TD.js} +3 -3
- package/dist/{catalog-WVZJ6XYV.js → catalog-42I7W7AU.js} +22 -22
- package/dist/{catch-up-FQ5KCZIH.js → catch-up-TFSQZQZD.js} +14 -13
- package/dist/{check-VTUVZWCF.js → check-CXRQZBLD.js} +52 -52
- package/dist/{checkAudio-FYRBXK22.js → checkAudio-AJUH6RU6.js} +17 -17
- package/dist/{checkBrowser-EJQEWSIH.js → checkBrowser-4BLSYI25.js} +45 -45
- package/dist/{chunk-HY25JZQ2.js → chunk-26RTKW2U.js} +2 -2
- package/dist/{chunk-KEZ7QIJN.js → chunk-2PASB3PC.js} +4 -4
- package/dist/{chunk-ES273AD6.js → chunk-32DAUKF5.js} +4 -4
- package/dist/{chunk-2ODGEXNH.js → chunk-3IHRXHJQ.js} +2 -2
- package/dist/{chunk-CBV4W4R3.js → chunk-3IUBSGD2.js} +2 -2
- package/dist/{chunk-IH56MGAB.js → chunk-3NPZZT2K.js} +9 -9
- package/dist/{chunk-UAOL5PRX.js → chunk-3NXY6O4X.js} +1 -1
- package/dist/{chunk-FU2R6OVR.js → chunk-4IUOWNDS.js} +1 -1
- package/dist/{chunk-FZNH7SCB.js → chunk-4NG5GSTO.js} +1 -1
- package/dist/{chunk-IB5DXMAH.js → chunk-4Q3Q4NFK.js} +4 -4
- package/dist/{chunk-ZV3RIHRN.js → chunk-4WK4O5FI.js} +5 -5
- package/dist/{chunk-N2YHCAFL.js → chunk-4ZFNNWUX.js} +10 -10
- package/dist/{chunk-OLVZAALP.js → chunk-5HJZGP54.js} +2 -2
- package/dist/{chunk-CTHG3WLB.js → chunk-5XLTJMCN.js} +4 -4
- package/dist/{chunk-GZG2Z2O2.js → chunk-63ESYLBY.js} +2 -2
- package/dist/{chunk-FLPVKGBS.js → chunk-6SRBTOGD.js} +3 -3
- package/dist/{chunk-TTP6JGIL.js → chunk-73UFPVUC.js} +2 -2
- package/dist/{chunk-KLIVZ5VG.js → chunk-75TCOXNT.js} +1 -1
- package/dist/{chunk-ZI3MSFSN.js → chunk-77U3646W.js} +2 -2
- package/dist/{chunk-NVGB7L2M.js → chunk-7RGWVZOS.js} +3 -3
- package/dist/{chunk-CYBOQOKO.js → chunk-7RI3U46M.js} +1 -1
- package/dist/{chunk-G7GTO4YP.js → chunk-7WRLK2K4.js} +2 -2
- package/dist/{chunk-LKWN2F7O.js → chunk-AROERRUJ.js} +2 -2
- package/dist/{chunk-HJ2YUPBF.js → chunk-ATKA5KHE.js} +3 -3
- package/dist/{chunk-NCPSUM5A.js → chunk-AU4ZBCR3.js} +1 -1
- package/dist/{chunk-HZ2CD6RL.js → chunk-AYESPEPQ.js} +1 -1
- package/dist/{chunk-4FOHO7GC.js → chunk-B5HSHXE2.js} +2 -2
- package/dist/{chunk-43ILJV43.js → chunk-B6AK5P2D.js} +8 -8
- package/dist/{chunk-PUT3NPVE.js → chunk-BBDWXUO3.js} +4 -4
- package/dist/{chunk-E3LZAM64.js → chunk-BDWLBCTG.js} +4 -4
- package/dist/{chunk-5SMHNPMW.js → chunk-BNONW4QT.js} +2 -2
- package/dist/{chunk-2YSQU74C.js → chunk-C7LNWZ7G.js} +5 -5
- package/dist/{chunk-GDWPLGHY.js → chunk-CAYQATCT.js} +1 -1
- package/dist/{chunk-ZPPEZJVD.js → chunk-CBCB6GPL.js} +17 -11
- package/dist/{chunk-U3LWQGCD.js → chunk-CIYNUD7Q.js} +1 -1
- package/dist/{chunk-3HQ4C4HI.js → chunk-CNZOKODL.js} +3 -3
- package/dist/{chunk-YF34MK67.js → chunk-CWXJZB44.js} +14 -14
- package/dist/{chunk-QXYR7LOO.js → chunk-D4EGZYDN.js} +8 -8
- package/dist/{chunk-KKO4PRB5.js → chunk-DOLVT6CH.js} +1 -1
- package/dist/{chunk-Q5P7YJXO.js → chunk-DVTRMGYG.js} +2 -2
- package/dist/{chunk-ZT7RB42S.js → chunk-DWDCE4PO.js} +16 -9
- package/dist/{chunk-I7SJBRVT.js → chunk-DXVK3NMV.js} +3 -3
- package/dist/{chunk-HD5RVDL6.js → chunk-E2DHBP6C.js} +1 -1
- package/dist/{chunk-IU5DC4HP.js → chunk-E7T5SMDK.js} +44 -15
- package/dist/{chunk-JNM4WG7C.js → chunk-E7X54BVP.js} +1 -1
- package/dist/{chunk-FQMP2KFS.js → chunk-EA5W2DWO.js} +2 -2
- package/dist/{chunk-4TJGOQER.js → chunk-EB4IWBBC.js} +3 -3
- package/dist/{chunk-346RTE74.js → chunk-EKANCN4D.js} +3 -3
- package/dist/{chunk-BCJJ64JG.js → chunk-EKCGL4MV.js} +1 -1
- package/dist/{chunk-2ST2FAVH.js → chunk-ELA3IV4P.js} +2 -2
- package/dist/{chunk-SZGQU7EB.js → chunk-ER22SVLT.js} +1 -1
- package/dist/{chunk-I2UMQAOQ.js → chunk-EXXIFMUX.js} +1 -1
- package/dist/{chunk-W6WVHIU7.js → chunk-EZQJFCWA.js} +2 -2
- package/dist/{chunk-562X3KBJ.js → chunk-F64VFCVC.js} +2 -2
- package/dist/{chunk-YT3LRZA3.js → chunk-F7B2YDPM.js} +7 -5
- package/dist/{chunk-SH6PAYUD.js → chunk-FICKJQU2.js} +5 -5
- package/dist/{chunk-6CO6L3YP.js → chunk-FUPEHRNT.js} +2 -2
- package/dist/{chunk-XBPLO6CY.js → chunk-GA6QR6LN.js} +286 -94
- package/dist/{chunk-BH5P5QZN.js → chunk-GEUM7NDY.js} +4 -4
- package/dist/{chunk-JCFOSR7Z.js → chunk-GIOLHGCC.js} +4 -4
- package/dist/{chunk-44OCDK5C.js → chunk-H2GJDFF6.js} +4 -4
- package/dist/{chunk-BS36NRXV.js → chunk-H5KHQ6KS.js} +1 -1
- package/dist/{chunk-TWI33YJP.js → chunk-H7DKHNBF.js} +1 -1
- package/dist/{chunk-G5FNJQER.js → chunk-IB6FFEDH.js} +26 -26
- package/dist/{chunk-NFRKPLTJ.js → chunk-IR2GEREV.js} +1 -1
- package/dist/{chunk-PCH55NAO.js → chunk-JAAIW4JR.js} +1 -1
- package/dist/{chunk-I7NTTMET.js → chunk-JRSBBFUU.js} +91 -73
- package/dist/{chunk-ISVRNYE5.js → chunk-JSYLOPVJ.js} +1 -1
- package/dist/{chunk-DE3JRSGT.js → chunk-KCF6Q54R.js} +1 -1
- package/dist/{chunk-ZK6BC3JM.js → chunk-KTLRJZFK.js} +6 -6
- package/dist/{chunk-XWK2RSD5.js → chunk-KWTTELUY.js} +2 -2
- package/dist/{chunk-GVUG5VDL.js → chunk-KYUCSRZU.js} +1 -1
- package/dist/{chunk-ZFCK46UR.js → chunk-LKWWY6WN.js} +1 -1
- package/dist/{chunk-XZZF6YBS.js → chunk-LRXARA5O.js} +1 -1
- package/dist/{chunk-5A75E4OT.js → chunk-MEGSQW2I.js} +1 -1
- package/dist/{chunk-UMRNTF3C.js → chunk-MPU2CRFV.js} +2 -2
- package/dist/{chunk-PYOCEDTU.js → chunk-N7M2SNAF.js} +1 -1
- package/dist/{chunk-365OGBQ2.js → chunk-NCLBKHCX.js} +2 -2
- package/dist/{chunk-4Y5IDZOJ.js → chunk-NKAW4RVE.js} +4 -4
- package/dist/{chunk-4KRID4YV.js → chunk-NKUUNSII.js} +1 -1
- package/dist/{chunk-35PKJPEI.js → chunk-NRGNEP3R.js} +1 -1
- package/dist/{chunk-T3QK3VKM.js → chunk-O6E5HSVF.js} +2 -2
- package/dist/{chunk-RCTY7VNK.js → chunk-O7TIBLSJ.js} +15 -101
- package/dist/{chunk-KPFJGQ6M.js → chunk-OIO7YMBP.js} +28 -30
- package/dist/{chunk-OUPWEFUM.js → chunk-ON3CGL3V.js} +1 -1
- package/dist/{chunk-5JOYZGHQ.js → chunk-OTWFSHYH.js} +3 -3
- package/dist/{chunk-7FU5JCAK.js → chunk-OWS4ZWEY.js} +1 -1
- package/dist/{chunk-N36NHUGP.js → chunk-P4YIRU76.js} +1 -1
- package/dist/{chunk-H5K3FS4W.js → chunk-PAA5FUUL.js} +3 -3
- package/dist/{chunk-3FL7MKQH.js → chunk-PLOVBMJF.js} +32 -27
- package/dist/chunk-PXLGDX2S.js +104 -0
- package/dist/{chunk-RH6UD7XI.js → chunk-Q3ESTCZH.js} +11 -11
- package/dist/{chunk-G55B5LP6.js → chunk-Q42L7V5T.js} +1 -1
- package/dist/{chunk-FRM4EM52.js → chunk-QGKRHG4Q.js} +15 -15
- package/dist/{chunk-SXZMJ7QJ.js → chunk-QKYGGUOQ.js} +4 -4
- package/dist/{chunk-WPG76RJZ.js → chunk-QONV77VI.js} +1 -1
- package/dist/{chunk-B3WRUPRS.js → chunk-RBBWUYMG.js} +4 -4
- package/dist/{chunk-Y6CLFCYX.js → chunk-RXSPJW77.js} +4 -4
- package/dist/{chunk-XM7LOJBP.js → chunk-RZJ7BHXB.js} +1 -1
- package/dist/{chunk-7RHN6N5F.js → chunk-SDFGDNWV.js} +1 -1
- package/dist/{chunk-FH6KC5EF.js → chunk-SOMX57XG.js} +3 -3
- package/dist/{chunk-QBDT7Z5D.js → chunk-SUG2AA33.js} +10 -10
- package/dist/{chunk-RUQ2VOD3.js → chunk-SULPT5X6.js} +52 -17
- package/dist/{chunk-7ELQHSEE.js → chunk-SVIA7POL.js} +1 -1
- package/dist/{chunk-FSBV6Z7E.js → chunk-SWAG64KW.js} +23 -7
- package/dist/{chunk-VCHJV7ZT.js → chunk-TM7D3NOR.js} +30 -12
- package/dist/{chunk-KCPIENND.js → chunk-TMV76KPG.js} +1 -1
- package/dist/{chunk-6F4ZVQUX.js → chunk-TRAPS5WB.js} +1 -1
- package/dist/{chunk-XJTFSMZK.js → chunk-TW4DB2NK.js} +2 -2
- package/dist/{chunk-5CRHNVJW.js → chunk-UZJ7Y7WU.js} +3 -3
- package/dist/{chunk-SRPPNXGX.js → chunk-VT2K6I4A.js} +3 -3
- package/dist/{chunk-IXUIJ7OL.js → chunk-WAAXVZIT.js} +3 -3
- package/dist/{chunk-4XETQ5LC.js → chunk-WPD7JH6F.js} +2 -2
- package/dist/{chunk-FM5JRUWL.js → chunk-WPSPW7SI.js} +6 -6
- package/dist/{chunk-TQKX3TA3.js → chunk-X6TDH2OM.js} +1 -1
- package/dist/chunk-XGEJPKRY.js +5069 -0
- package/dist/{chunk-47IXIEBQ.js → chunk-Y6UCMYJZ.js} +1 -1
- package/dist/{chunk-7PBJR7WI.js → chunk-YBLBI3O2.js} +1 -1
- package/dist/{chunk-KDDRDNEE.js → chunk-YNF3SH26.js} +1 -1
- package/dist/{chunk-6RPLXBZJ.js → chunk-YU5LSWA2.js} +1 -1
- package/dist/{chunk-BQRJZDSM.js → chunk-YUDWGRNZ.js} +14 -14
- package/dist/{chunk-4KS3GL5I.js → chunk-YVCPUVHV.js} +1 -1
- package/dist/{clean-KEVJGNES.js → clean-JK4VQMTH.js} +28 -28
- package/dist/cli.js +67 -67
- package/dist/{cloud-OR62JJDE.js → cloud-JZ2WKHQG.js} +4 -4
- package/dist/{cloud-EBJZO6ZY.js → cloud-LU4FVT33.js} +7 -7
- package/dist/{cloudrun-HPYJTM5N.js → cloudrun-QBXSGBGX.js} +6 -6
- package/dist/{compare-353XZU2M.js → compare-YE5BTDCG.js} +43 -43
- package/dist/{compiler-KPDUYBA5.js → compiler-QEA5UQRG.js} +5 -5
- package/dist/{component-5DZDY74T.js → component-MGT5ZJ4M.js} +3 -3
- package/dist/{compositions-VBICZHMF.js → compositions-7OF6FDCH.js} +19 -19
- package/dist/{contactSheet-O3FOOHOX.js → contactSheet-CCHQAZLA.js} +4 -4
- package/dist/{curve-KDRSQWHP.js → curve-JQLVUDXR.js} +16 -16
- package/dist/{cuts-ABAQKTF4.js → cuts-MCJP6LMJ.js} +17 -17
- package/dist/{delete-BXURHIL4.js → delete-PUYEW3RJ.js} +12 -12
- package/dist/{deploy-4TBYCBNI.js → deploy-M4XGMJM5.js} +7 -7
- package/dist/{describeProject-K62TKQLI.js → describeProject-P7CBZ6NW.js} +11 -11
- package/dist/{destroy-FAJUHCW4.js → destroy-6XJWSH2A.js} +6 -6
- package/dist/{deterministicFonts-XZIQ4PNP.js → deterministicFonts-OXGNMVJE.js} +3 -3
- package/dist/{diff-4O7ZCBM5.js → diff-BATSO64W.js} +44 -44
- package/dist/{dist-F4T6FB7P.js → dist-G6W7GKGP.js} +2 -2
- package/dist/{dist-D67752QW.js → dist-PC3EMMET.js} +15 -15
- package/dist/{dist-AAGJ6SXG.js → dist-T62DJJZX.js} +3 -3
- package/dist/{doctor-IEUIWBC5.js → doctor-ONTGSPYF.js} +20 -20
- package/dist/{energy-BJQTVGBO.js → energy-FNZICGW2.js} +17 -17
- package/dist/{events-M37XFHGJ.js → events-6TNBAVVY.js} +19 -19
- package/dist/{events-D3NBN44E.js → events-ENJZNXWG.js} +6 -6
- package/dist/{events-4UBI5WNS.js → events-LBHSU7C2.js} +10 -10
- package/dist/{execute-JCLM27KS.js → execute-RXTEBACV.js} +33 -33
- package/dist/{extract-AYWY5PIN.js → extract-F2CWTMLX.js} +17 -17
- package/dist/{face-TEHC6WYN.js → face-7HL4CP32.js} +18 -18
- package/dist/{feedback-JZDCB5N4.js → feedback-4NDDMECH.js} +22 -21
- package/dist/{ffmpeg-JMPVMPDT.js → ffmpeg-3LL345SO.js} +10 -10
- package/dist/{figma-6MYT2VRV.js → figma-474E54NB.js} +3 -3
- package/dist/fontLocalizeCli.js +17 -17
- package/dist/{frames-NLFBDILH.js → frames-EZWGM7QQ.js} +19 -19
- package/dist/{generate-YLPRVWHZ.js → generate-I75DZWDU.js} +32 -32
- package/dist/{get-APCR6ZJE.js → get-BHU6CBWO.js} +12 -12
- package/dist/{gpuPolicy-YXBUP4AF.js → gpuPolicy-6J2STCV2.js} +10 -10
- package/dist/{grade-compare-VLWGCI4O.js → grade-compare-D4TBMCBG.js} +42 -42
- package/dist/hangReport.js +2 -2
- package/dist/{heifImagePrep-UC2AV5LU.js → heifImagePrep-VLYGRKSS.js} +13 -13
- package/dist/{help-YSBTU7WC.js → help-2CUXKYJ6.js} +1 -1
- package/dist/{history-EPIGMZUN.js → history-LVAVYTAN.js} +17 -17
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-6SF6E2T3.js → info-SUZOEH6L.js} +21 -21
- package/dist/{init-BXS47X5W.js → init-XI5QN3A6.js} +35 -35
- package/dist/{ink-BWKWSIKA.js → ink-OVDZOCQJ.js} +17 -17
- package/dist/{inspect-NUE2R2OF.js → inspect-INBCGPBD.js} +43 -43
- package/dist/{installer-T57TKMM6.js → installer-JNQKFCTN.js} +7 -7
- package/dist/{keyframes-WCRUYIOQ.js → keyframes-LYZJK4RH.js} +16 -16
- package/dist/{lambda-L2YNMAL5.js → lambda-DUDXZV6X.js} +15 -15
- package/dist/{layout-FXTXMDAL.js → layout-JKUJW6A4.js} +43 -43
- package/dist/{lint-IKRYTERJ.js → lint-NKDC7IJ2.js} +18 -18
- package/dist/{lintProject-2NDIJLD2.js → lintProject-5Z34NNS4.js} +2 -2
- package/dist/{list-BX5SCZEC.js → list-5HUMDJYL.js} +12 -12
- package/dist/{localPage-HY3VMEYU.js → localPage-RRBRFR4Y.js} +11 -11
- package/dist/{login-5IDR2M6C.js → login-C3SHKITR.js} +5 -5
- package/dist/{logout-MTWA4BBI.js → logout-CCATTNTL.js} +1 -1
- package/dist/{look-7R4YJNX7.js → look-3TX2U4BE.js} +17 -17
- package/dist/{manager-DBMIO5YG.js → manager-45VB2G5F.js} +4 -4
- package/dist/{manager-PHCAZFHT.js → manager-MOR255LW.js} +11 -11
- package/dist/{measure-7CJ4RKSY.js → measure-ZAKBHNGY.js} +11 -11
- package/dist/{media-treatment-HEW3RMDV.js → media-treatment-QJ35DSED.js} +19 -19
- package/dist/{media-use-S5IJPK5G.js → media-use-YBKHJVXL.js} +7 -6
- package/dist/{models-4UJY22Z3.js → models-OQHKG7B4.js} +15 -15
- package/dist/{motionShot-FLZQ75TM.js → motionShot-TWQTREFH.js} +21 -21
- package/dist/{normalize-audio-AN3KKSSK.js → normalize-audio-PXHPUOMD.js} +14 -14
- package/dist/{open-AHPOLDBY.js → open-TVGO5KVF.js} +22 -21
- package/dist/{parakeetRunner-4URDK3H4.js → parakeetRunner-MVJMZSIG.js} +18 -18
- package/dist/{pipeline-O5UWLQDZ.js → pipeline-4S5UE4O4.js} +13 -13
- package/dist/{plan-SUV7WBBJ.js → plan-AMBZUX55.js} +25 -25
- package/dist/{play-LHMMHUUN.js → play-KEAESNBM.js} +32 -32
- package/dist/{preflight-FLSEP55G.js → preflight-K3CM3W55.js} +13 -13
- package/dist/{present-VEDXFFPZ.js → present-42WDBGBA.js} +27 -27
- package/dist/{preview-FXNPXOJL.js → preview-KSHBU7ZR.js} +35 -34
- package/dist/{probe-P6LUMX34.js → probe-TMSXGCL4.js} +17 -17
- package/dist/{producer-SWV2GP4I.js → producer-KXRSJPJF.js} +1 -1
- package/dist/{projectConfig-EPOIXMHL.js → projectConfig-LOHNVOJG.js} +10 -10
- package/dist/{publication-SIGMWEK3.js → publication-LYPU7NTZ.js} +5 -5
- package/dist/{publish-EVCYPK6H.js → publish-PYZXDQJW.js} +27 -27
- package/dist/{refresh-PIFEWEAL.js → refresh-X5ZLKQO5.js} +1 -1
- package/dist/{remove-background-AFXDE5YR.js → remove-background-HVX52VOF.js} +14 -14
- package/dist/{render-DFUMSKVQ.js → render-57ZYQ53S.js} +53 -52
- package/dist/{render-MENZ6KS5.js → render-5KMA5P2U.js} +42 -41
- package/dist/{render-BCKSDBLK.js → render-CM4MCNVA.js} +6 -6
- package/dist/{render-batch-DPT67NDL.js → render-batch-URBBGOVC.js} +6 -6
- package/dist/renderSetupWorker.js +6 -6
- package/dist/{resolver-EE3255VM.js → resolver-UPUCU4XT.js} +7 -7
- package/dist/{reverse-TA73U7V6.js → reverse-UYS7KVE2.js} +1 -1
- package/dist/{run-Y2ISHW5P.js → run-4LNEWQLG.js} +9 -6
- package/dist/{screenshotCapture-CEEBQ3FU.js → screenshotCapture-IF5AO5XM.js} +13 -13
- package/dist/{service-6P6QVFNF.js → service-OEOC34BD.js} +17 -17
- package/dist/{share-Q25X6AIX.js → share-NS7CMVSU.js} +22 -22
- package/dist/{sherpa-PPSJ23WI.js → sherpa-QBTXL6JA.js} +17 -17
- package/dist/sherpaWorker.js +3 -3
- package/dist/skills/hyperframes-cli/references/cloud.md +1 -1
- package/dist/skills/media-use/audio/references/requirements.md +7 -7
- package/dist/skills/media-use/audio/references/tts.md +6 -5
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +18 -72
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +51 -67
- package/dist/skills/media-use/references/heygen.md +1 -1
- package/dist/{skills-PVJJ3R2V.js → skills-S5U2MQAI.js} +14 -14
- package/dist/{skillsUpdateCheck-L4TGSUN6.js → skillsUpdateCheck-UZ7CZ6VC.js} +6 -6
- package/dist/{snapshot-AIAJRR5C.js → snapshot-YWFWQTAV.js} +70 -66
- package/dist/{src-UEH4H4UY.js → src-N2SMYJ44.js} +15 -15
- package/dist/{src-O5P56HIK.js → src-UQ3K3UW2.js} +17 -9
- package/dist/{start-HY5WGCDN.js → start-4IA5GG5D.js} +30 -30
- package/dist/{staticProjectServer-WNKXSUBZ.js → staticProjectServer-5JP25RRX.js} +26 -26
- package/dist/{status-AFDHSUGG.js → status-ITCKXFBF.js} +25 -25
- package/dist/studio/assets/{hyperframes-player-z7r-N5fm.js → hyperframes-player-Oju91F6x.js} +1 -1
- package/dist/studio/assets/{index-Dpo7Q_9-.js → index-B0VEzzD2.js} +154 -154
- package/dist/studio/assets/{index-2QPHxCxy.js → index-XEm_N45R.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-BarDYEAf.js → pausedVideoDecoder-p6zibxVM.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-P72FA5XB.js → studio-api-GENM2XVL.js} +15 -15
- package/dist/{studioServer-RICH4NMX.js → studioServer-SWR5Q3PD.js} +74 -72
- package/dist/{sync-J66DIXED.js → sync-CK6TTCXO.js} +17 -17
- package/dist/{synthesize-UKCQR7WW.js → synthesize-EXNEBJSY.js} +5 -5
- package/dist/{system-I5KGZTUG.js → system-JBPJHNTG.js} +3 -3
- package/dist/{telemetry-KOOKPGMR.js → telemetry-T4HQ6AKZ.js} +10 -10
- package/dist/{templates-6DRGOTNH.js → templates-7O7NOIUC.js} +21 -21
- package/dist/{timeline-UZX7366C.js → timeline-P2PLN53O.js} +26 -26
- package/dist/{tokens-AU3BUE6U.js → tokens-SPQN27VG.js} +2 -2
- package/dist/{transcribe-OUTSVFRZ.js → transcribe-SCZG6IM4.js} +14 -14
- package/dist/{transcribe-CW5HK2OA.js → transcribe-YJQ3DDDI.js} +36 -36
- package/dist/{tts-X3MAUZ7E.js → tts-5OAB5XX6.js} +1 -1
- package/dist/{update-KRYJ6ACJ.js → update-JYPZW35A.js} +16 -16
- package/dist/{updateCheck-WQVGQLCG.js → updateCheck-5M2JJTH3.js} +5 -5
- package/dist/{upgrade-S54RPT3R.js → upgrade-BP62FM6V.js} +8 -8
- package/dist/{urlDownloader-MASRYSQX.js → urlDownloader-WOZQCE6P.js} +9 -9
- package/dist/{validate-4QVUHCYG.js → validate-NEC5QLH7.js} +33 -33
- package/dist/{video-AEGOEGSP.js → video-XEEBISSO.js} +12 -12
- package/dist/{voices-T4U7EU5X.js → voices-GCHA27JA.js} +29 -29
- package/dist/warmCheck.js +52 -52
- package/dist/warmCheckClient.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-3FHPYC6X.js +0 -5069
- package/dist/privateProjectFile-NN7MTTEQ.js +0 -50
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
iterateFontFamilyDeclarations,
|
|
12
12
|
normalizeSystemFontPrimaryFamilies,
|
|
13
13
|
resolveFontFamilyDeclarationFamilies
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YU5LSWA2.js";
|
|
15
15
|
import {
|
|
16
16
|
Semaphore,
|
|
17
17
|
prepareHeifImageInputs,
|
|
18
18
|
withMediaProbeSlot
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-7RGWVZOS.js";
|
|
20
20
|
import {
|
|
21
21
|
EncoderInterruptedError,
|
|
22
22
|
encoderFailureError,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
refusesOutsideLink,
|
|
31
31
|
resolveRenderPaths,
|
|
32
32
|
toExternalAssetKey
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-KTLRJZFK.js";
|
|
34
34
|
import {
|
|
35
35
|
createStudioPositionSeekReapplyScript,
|
|
36
36
|
openRangeEnd,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
} from "./chunk-LD6JONPV.js";
|
|
39
39
|
import {
|
|
40
40
|
RENDER_TEMP_DIR
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ER22SVLT.js";
|
|
42
42
|
import {
|
|
43
43
|
BROWSER_GPU_NOT_SOFTWARE,
|
|
44
44
|
CaptureFailure,
|
|
@@ -57,6 +57,7 @@ import {
|
|
|
57
57
|
aacSegmentCount,
|
|
58
58
|
analyzeCompositionHdr,
|
|
59
59
|
analyzeKeyframeIntervals,
|
|
60
|
+
answerOwnLoopbackHostOnly,
|
|
60
61
|
appendRateCapArgs,
|
|
61
62
|
appendRenderProvenanceArgs,
|
|
62
63
|
appendSoftwareEncoderThreadsArg,
|
|
@@ -140,6 +141,7 @@ import {
|
|
|
140
141
|
isDrawElementVerificationError,
|
|
141
142
|
isHdrColorSpace,
|
|
142
143
|
isHttpUrl,
|
|
144
|
+
isInsideAssetRoots,
|
|
143
145
|
isMemoryExhaustionError,
|
|
144
146
|
isNotMediaPayload,
|
|
145
147
|
isProresProfile,
|
|
@@ -203,7 +205,7 @@ import {
|
|
|
203
205
|
videoStartOnMediaTimeline,
|
|
204
206
|
writeCapturedFrame,
|
|
205
207
|
writeUrlDownloadTelemetry
|
|
206
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-GA6QR6LN.js";
|
|
207
209
|
import {
|
|
208
210
|
settleOnBrowserSafePort
|
|
209
211
|
} from "./chunk-OSKSTJNQ.js";
|
|
@@ -219,14 +221,14 @@ import {
|
|
|
219
221
|
parsesAsScript,
|
|
220
222
|
prepareFlattenedInnerRoot,
|
|
221
223
|
stripSdrPngColourTags
|
|
222
|
-
} from "./chunk-
|
|
224
|
+
} from "./chunk-BBDWXUO3.js";
|
|
223
225
|
import {
|
|
224
226
|
cannotHardLink,
|
|
225
227
|
collectScratchLeftovers,
|
|
226
228
|
createStagingDir,
|
|
227
229
|
removeScratch,
|
|
228
230
|
renameWithRetry
|
|
229
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-KCF6Q54R.js";
|
|
230
232
|
import {
|
|
231
233
|
TRANSITIONS,
|
|
232
234
|
convertTransfer,
|
|
@@ -249,7 +251,7 @@ import {
|
|
|
249
251
|
redactTelemetryString,
|
|
250
252
|
resolveAuthoredTimingWindow,
|
|
251
253
|
toFps
|
|
252
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-4IUOWNDS.js";
|
|
253
255
|
import {
|
|
254
256
|
CAPTURE_CANVAS_SELECTOR,
|
|
255
257
|
COMPOSITION_SOURCE_URL,
|
|
@@ -285,19 +287,19 @@ import {
|
|
|
285
287
|
sourceTimeAt,
|
|
286
288
|
styleElementsFor,
|
|
287
289
|
timeAtSourceTime
|
|
288
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-XGEJPKRY.js";
|
|
289
291
|
import {
|
|
290
292
|
isPrivateFileUnder,
|
|
291
293
|
isSafePath,
|
|
292
|
-
|
|
293
|
-
} from "./chunk-
|
|
294
|
+
isStudioPrivatePath
|
|
295
|
+
} from "./chunk-KWTTELUY.js";
|
|
294
296
|
import {
|
|
295
297
|
chromeMajorCeiling
|
|
296
298
|
} from "./chunk-LEIR7IDJ.js";
|
|
297
299
|
import {
|
|
298
300
|
lintHyperframeHtml,
|
|
299
301
|
resolveReferencedStart
|
|
300
|
-
} from "./chunk-
|
|
302
|
+
} from "./chunk-TRAPS5WB.js";
|
|
301
303
|
import {
|
|
302
304
|
isUnresolvedAssetPlaceholder,
|
|
303
305
|
namesAnotherNetworkRoot,
|
|
@@ -312,7 +314,7 @@ import {
|
|
|
312
314
|
getSystemTotalMb,
|
|
313
315
|
hostCpuCount,
|
|
314
316
|
usableCpuCount
|
|
315
|
-
} from "./chunk-
|
|
317
|
+
} from "./chunk-CIYNUD7Q.js";
|
|
316
318
|
import {
|
|
317
319
|
MEDIA_START_BASIS_ATTR,
|
|
318
320
|
checkSubCompositionUsability,
|
|
@@ -367,7 +369,7 @@ import {
|
|
|
367
369
|
appendFileSync
|
|
368
370
|
} from "fs";
|
|
369
371
|
import { tmpdir as tmpdir2 } from "os";
|
|
370
|
-
import { join as join29, dirname as
|
|
372
|
+
import { join as join29, dirname as dirname12, resolve as resolve6 } from "path";
|
|
371
373
|
import { totalmem as totalmem2 } from "os";
|
|
372
374
|
import { randomUUID } from "crypto";
|
|
373
375
|
import { fileURLToPath as fileURLToPath3 } from "url";
|
|
@@ -1079,10 +1081,12 @@ function createFileServer(options) {
|
|
|
1079
1081
|
const bodyScripts = options.bodyScripts ?? [buildRenderModeScript(options.fps), HF_BRIDGE_SCRIPT];
|
|
1080
1082
|
const app = new Hono();
|
|
1081
1083
|
const warnLeftOut = (line) => console.warn(`[FileServer] ${line}`);
|
|
1084
|
+
let listeningPort = -1;
|
|
1082
1085
|
app.use(async function loadEachFileOnlyAsItsNamedType(c, next) {
|
|
1083
1086
|
await next();
|
|
1084
1087
|
c.res.headers.set("X-Content-Type-Options", "nosniff");
|
|
1085
1088
|
});
|
|
1089
|
+
answerOwnLoopbackHostOnly(app, () => listeningPort);
|
|
1086
1090
|
app.get("/*", async (c) => {
|
|
1087
1091
|
let requestPath = c.req.path;
|
|
1088
1092
|
if (requestPath === "/") requestPath = "/index.html";
|
|
@@ -1092,7 +1096,7 @@ function createFileServer(options) {
|
|
|
1092
1096
|
const candidate = join(root, relativePath);
|
|
1093
1097
|
const resolveSymlinks = !allowOutsideProjectAssets && root !== compiledDir;
|
|
1094
1098
|
if (!isPathInside2(candidate, root, { resolveSymlinks })) continue;
|
|
1095
|
-
if (isPrivateFileUnder(root, candidate,
|
|
1099
|
+
if (isPrivateFileUnder(root, candidate, isStudioPrivatePath)) continue;
|
|
1096
1100
|
const checksLinks = allowOutsideProjectAssets && root !== compiledDir;
|
|
1097
1101
|
if (checksLinks && refusesOutsideLink(root, candidate, warnLeftOut)) continue;
|
|
1098
1102
|
file = openRegularFile(candidate);
|
|
@@ -1178,6 +1182,7 @@ function createFileServer(options) {
|
|
|
1178
1182
|
const server = serve({ fetch: app.fetch, port, hostname: "127.0.0.1" }, (info) => {
|
|
1179
1183
|
const bound = port === 0 ? settleOnBrowserSafePort(server, "127.0.0.1") : Promise.resolve(info.port);
|
|
1180
1184
|
bound.then((boundPort) => {
|
|
1185
|
+
listeningPort = boundPort;
|
|
1181
1186
|
resolve11({
|
|
1182
1187
|
url: `http://localhost:${boundPort}`,
|
|
1183
1188
|
port: boundPort,
|
|
@@ -6579,7 +6584,7 @@ import { join as join17, relative as relative3 } from "path";
|
|
|
6579
6584
|
// ../producer/src/services/htmlCompiler.ts
|
|
6580
6585
|
import { createHash as createHash4 } from "crypto";
|
|
6581
6586
|
import { createReadStream as createReadStream2, existsSync as existsSync10, mkdirSync as mkdirSync7, readFileSync as readFileSync6 } from "fs";
|
|
6582
|
-
import { join as join16, dirname as
|
|
6587
|
+
import { join as join16, dirname as dirname7, resolve as resolve5, basename as basename4, relative as relative2, sep as sep2 } from "path";
|
|
6583
6588
|
|
|
6584
6589
|
// ../producer/src/services/bundledScripts.ts
|
|
6585
6590
|
import { existsSync as existsSync8, readFileSync as readFileSync5 } from "fs";
|
|
@@ -6740,7 +6745,7 @@ function getPositionEditsRenderScript() {
|
|
|
6740
6745
|
|
|
6741
6746
|
// ../producer/src/services/assetMediaType.ts
|
|
6742
6747
|
import { existsSync as existsSync9 } from "fs";
|
|
6743
|
-
import { join as join15 } from "path";
|
|
6748
|
+
import { dirname as dirname6, join as join15 } from "path";
|
|
6744
6749
|
var ASSET_MEDIA_TYPE_MISMATCH = "ASSET_MEDIA_TYPE_MISMATCH";
|
|
6745
6750
|
var AssetMediaTypeMismatchError = class extends Error {
|
|
6746
6751
|
// fallow-ignore-next-line unused-class-member
|
|
@@ -6780,17 +6785,17 @@ function assertAssetMediaTypeProfile(expected, profile, elementIdentity) {
|
|
|
6780
6785
|
}
|
|
6781
6786
|
]);
|
|
6782
6787
|
}
|
|
6783
|
-
function
|
|
6784
|
-
return
|
|
6788
|
+
function mediaAssetRoots(projectDir, compiledDir) {
|
|
6789
|
+
return [projectDir, compiledDir, join15(dirname6(compiledDir), "downloads")];
|
|
6785
6790
|
}
|
|
6786
6791
|
function dropMediaOutsideProject(input) {
|
|
6787
6792
|
const { projectDir, workDir, composition, log } = input;
|
|
6788
6793
|
const compiledDir = join15(workDir, "compiled");
|
|
6789
|
-
const roots =
|
|
6794
|
+
const roots = mediaAssetRoots(projectDir, compiledDir);
|
|
6790
6795
|
const staysInside = ({ id, src }) => {
|
|
6791
|
-
if (!src ||
|
|
6796
|
+
if (!src || isHttpUrl(src)) return true;
|
|
6792
6797
|
const path = resolveProjectRelativeSrc(src, projectDir, compiledDir);
|
|
6793
|
-
if (
|
|
6798
|
+
if (isInsideAssetRoots(path, roots)) return true;
|
|
6794
6799
|
if (input.allowOutsideProjectAssets) {
|
|
6795
6800
|
const refusal = outsideAssetRefusal(projectDir, path);
|
|
6796
6801
|
if (refusal) log.warn(`[Render] ${leftOutOfRender(`Media "${id}"`, src, refusal)}`);
|
|
@@ -6828,7 +6833,7 @@ async function preflightCompositionAssetMediaTypes(input) {
|
|
|
6828
6833
|
];
|
|
6829
6834
|
const byPath = /* @__PURE__ */ new Map();
|
|
6830
6835
|
for (const reference of references) {
|
|
6831
|
-
if (!reference.src ||
|
|
6836
|
+
if (!reference.src || isHttpUrl(reference.src)) continue;
|
|
6832
6837
|
const resolvedPath = resolveProjectRelativeSrc(
|
|
6833
6838
|
reference.src,
|
|
6834
6839
|
input.projectDir,
|
|
@@ -6938,7 +6943,7 @@ function resolveCompositionFile(projectDir, src, assetRoot) {
|
|
|
6938
6943
|
const file = resolveCompositionPath(projectDir, src, assetRoot);
|
|
6939
6944
|
return file !== null && COMPOSITION_FILE.test(file) ? file : null;
|
|
6940
6945
|
}
|
|
6941
|
-
var isPrivateCompositionFile = (projectDir, filePath) => isPrivateFileUnder(projectDir, filePath,
|
|
6946
|
+
var isPrivateCompositionFile = (projectDir, filePath) => isPrivateFileUnder(projectDir, filePath, isStudioPrivatePath);
|
|
6942
6947
|
function assertSubCompositionsUsable(html, projectDir, assetRoot, visited = /* @__PURE__ */ new Set()) {
|
|
6943
6948
|
const { document: document2 } = parseHTML(html);
|
|
6944
6949
|
const hosts = [...document2.querySelectorAll("[data-composition-src]")];
|
|
@@ -6957,7 +6962,10 @@ function assertSubCompositionsUsable(html, projectDir, assetRoot, visited = /* @
|
|
|
6957
6962
|
continue;
|
|
6958
6963
|
}
|
|
6959
6964
|
if (isPrivateCompositionFile(projectDir, filePath)) {
|
|
6960
|
-
problems.push({
|
|
6965
|
+
problems.push({
|
|
6966
|
+
srcPath,
|
|
6967
|
+
detail: "it is git metadata, an env file or a private tool record"
|
|
6968
|
+
});
|
|
6961
6969
|
continue;
|
|
6962
6970
|
}
|
|
6963
6971
|
if (!COMPOSITION_FILE.test(filePath)) {
|
|
@@ -7286,7 +7294,7 @@ async function parseSubCompositions(html, projectDir, downloadDir, visited = /*
|
|
|
7286
7294
|
workItems.map(async (item) => {
|
|
7287
7295
|
const { html: compiledSub } = await compileHtmlFile(
|
|
7288
7296
|
rewriteUnresolvableGsapToCdn(item.rawSubHtml, projectDir, item.srcPath),
|
|
7289
|
-
|
|
7297
|
+
dirname7(item.filePath),
|
|
7290
7298
|
downloadDir,
|
|
7291
7299
|
void 0,
|
|
7292
7300
|
urlByAbsentLocalPath,
|
|
@@ -7948,7 +7956,7 @@ function projectStylesheetFontFamilies(html, projectDir) {
|
|
|
7948
7956
|
const family = /font-family\s*:\s*([^;}]+)/i.exec(face)?.[1]?.trim().replace(/^['"]|['"]$/g, "");
|
|
7949
7957
|
const shipsFile = [...localFontFaceUrlMatches(face)].some(({ parts: [, url = ""] }) => {
|
|
7950
7958
|
const path = decodedUrlPath(url);
|
|
7951
|
-
const file = path.startsWith("/") ? resolve5(projectDir, `.${path}`) : resolve5(
|
|
7959
|
+
const file = path.startsWith("/") ? resolve5(projectDir, `.${path}`) : resolve5(dirname7(sheet), path);
|
|
7952
7960
|
return isPathInside(file, projectDir) && existsSync10(file);
|
|
7953
7961
|
});
|
|
7954
7962
|
if (family && shipsFile) families.push(family);
|
|
@@ -8014,7 +8022,7 @@ async function readLocalFont(absPath) {
|
|
|
8014
8022
|
return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
|
|
8015
8023
|
}
|
|
8016
8024
|
async function embedLocalFontFaces(html, projectDir, assetRoot, log = defaultLogger) {
|
|
8017
|
-
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-
|
|
8025
|
+
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-OXGNMVJE.js");
|
|
8018
8026
|
let result = html;
|
|
8019
8027
|
const embeddedPaths = /* @__PURE__ */ new Set();
|
|
8020
8028
|
const dataUriByAbsolutePath = /* @__PURE__ */ new Map();
|
|
@@ -9859,6 +9867,7 @@ async function runExtractVideosStage(input) {
|
|
|
9859
9867
|
skipFrameExtractionIds = []
|
|
9860
9868
|
} = input;
|
|
9861
9869
|
const stage2Start = Date.now();
|
|
9870
|
+
const assetRoots = job.config.allowOutsideProjectAssets ? void 0 : mediaAssetRoots(projectDir, compiledDir);
|
|
9862
9871
|
const extractionPolicy = resolveVideoExtractionPolicy();
|
|
9863
9872
|
composition.videos = composition.videos.filter(
|
|
9864
9873
|
(video) => !isVideoPastTimelineEnd(video, composition.duration)
|
|
@@ -9877,7 +9886,7 @@ async function runExtractVideosStage(input) {
|
|
|
9877
9886
|
const probeFailures = await Promise.all(
|
|
9878
9887
|
composition.videos.map(async (v) => {
|
|
9879
9888
|
const videoPath = resolveProjectRelativeSrc(v.src, projectDir, compiledDir);
|
|
9880
|
-
if (!
|
|
9889
|
+
if (!opensLocally(videoPath, assetRoots)) return null;
|
|
9881
9890
|
try {
|
|
9882
9891
|
const attempted = extractionPolicy.maxTransientRetries === 0 ? { result: await extractMediaMetadata(videoPath), retries: 0 } : await runVideoExtractionWithRetry(() => extractMediaMetadata(videoPath), {
|
|
9883
9892
|
signal: abortSignal,
|
|
@@ -9915,7 +9924,7 @@ async function runExtractVideosStage(input) {
|
|
|
9915
9924
|
const probed = await Promise.all(
|
|
9916
9925
|
composition.images.map(async (img) => {
|
|
9917
9926
|
const imgPath = resolveProjectRelativeSrc(img.src, projectDir, compiledDir);
|
|
9918
|
-
if (!
|
|
9927
|
+
if (!opensLocally(imgPath, assetRoots)) return null;
|
|
9919
9928
|
const colorSpace = await probeColorSpaceSafely(imgPath, log);
|
|
9920
9929
|
if (isHdrColorSpace(colorSpace)) {
|
|
9921
9930
|
nativeHdrImageIds.add(img.id);
|
|
@@ -9934,6 +9943,7 @@ async function runExtractVideosStage(input) {
|
|
|
9934
9943
|
composition,
|
|
9935
9944
|
urlByAbsentLocalPath,
|
|
9936
9945
|
downloadDir: audioDownloadDir,
|
|
9946
|
+
allowOutsideProjectAssets: job.config.allowOutsideProjectAssets,
|
|
9937
9947
|
signal: abortSignal,
|
|
9938
9948
|
log
|
|
9939
9949
|
});
|
|
@@ -9967,6 +9977,7 @@ async function runExtractVideosStage(input) {
|
|
|
9967
9977
|
shownBoxes,
|
|
9968
9978
|
contentKeyedDirs: [join19(compiledDir, REMOTE_MEDIA_SUBDIR)],
|
|
9969
9979
|
urlByAbsentLocalPath,
|
|
9980
|
+
assetRoots,
|
|
9970
9981
|
onProgress: ({ planned = 0, done = 0 }) => {
|
|
9971
9982
|
framesPlanned += planned;
|
|
9972
9983
|
framesDone += done;
|
|
@@ -10043,10 +10054,14 @@ function isPublicHttpsUrl(url) {
|
|
|
10043
10054
|
return false;
|
|
10044
10055
|
}
|
|
10045
10056
|
}
|
|
10057
|
+
function opensLocally(path, assetRoots) {
|
|
10058
|
+
return existsSync12(path) && (!assetRoots || isInsideAssetRoots(path, assetRoots));
|
|
10059
|
+
}
|
|
10046
10060
|
function localProbeSource(src, input) {
|
|
10047
10061
|
const path = resolveProjectRelativeSrc(src, input.projectDir, input.compiledDir);
|
|
10048
10062
|
const readFrom = input.urlByAbsentLocalPath?.get(path) ?? path;
|
|
10049
|
-
|
|
10063
|
+
const roots = input.allowOutsideProjectAssets ? void 0 : mediaAssetRoots(input.projectDir, input.compiledDir);
|
|
10064
|
+
return isHttpUrl(readFrom) || opensLocally(readFrom, roots) ? readFrom : null;
|
|
10050
10065
|
}
|
|
10051
10066
|
async function remoteProbeSource(video, input) {
|
|
10052
10067
|
if (!isPublicHttpsUrl(video.src)) return null;
|
|
@@ -10175,11 +10190,11 @@ import { join as join22 } from "path";
|
|
|
10175
10190
|
|
|
10176
10191
|
// ../producer/src/services/render/audioDeliveryLimit.ts
|
|
10177
10192
|
import { existsSync as existsSync14 } from "fs";
|
|
10178
|
-
import { dirname as
|
|
10193
|
+
import { dirname as dirname9, join as join21 } from "path";
|
|
10179
10194
|
|
|
10180
10195
|
// ../producer/src/services/render/audioPadTrim.ts
|
|
10181
10196
|
import { spawn } from "child_process";
|
|
10182
|
-
import { dirname as
|
|
10197
|
+
import { dirname as dirname8, join as join20 } from "path";
|
|
10183
10198
|
|
|
10184
10199
|
// ../producer/src/services/render/audioTruePeak.ts
|
|
10185
10200
|
var toDbfs = (token) => token.toLowerCase() === "-inf" ? Number.NEGATIVE_INFINITY : Number(token);
|
|
@@ -10453,7 +10468,7 @@ async function cutSource(input, scratchDir, attenuationDb) {
|
|
|
10453
10468
|
async function enforceAacTruePeak(input) {
|
|
10454
10469
|
let scratchDir;
|
|
10455
10470
|
try {
|
|
10456
|
-
scratchDir = createStagingDir(
|
|
10471
|
+
scratchDir = createStagingDir(dirname8(input.audioPath), ".true-peak-");
|
|
10457
10472
|
const correctedPath = join20(scratchDir, "audio.m4a");
|
|
10458
10473
|
const measurements = [];
|
|
10459
10474
|
let attenuationDb = 0;
|
|
@@ -10664,7 +10679,7 @@ async function limitDeliveryPeaks(input, deps = {
|
|
|
10664
10679
|
const peak = await deps.measure(audioPath, { timeoutMs, signal });
|
|
10665
10680
|
if (peak <= AAC_DELIVERY_TRUE_PEAK_DBFS) return { success: true };
|
|
10666
10681
|
const alternating = ["a", "b"].map(
|
|
10667
|
-
(k) => join21(
|
|
10682
|
+
(k) => join21(dirname9(sourcePath), `audio-source-limited-${k}.wav`)
|
|
10668
10683
|
);
|
|
10669
10684
|
let encodedFrom;
|
|
10670
10685
|
let ceiling = AAC_DELIVERY_TRUE_PEAK_DBFS;
|
|
@@ -10822,7 +10837,8 @@ async function mixAudioForDelivery(input, duration, pcmSourcePath) {
|
|
|
10822
10837
|
masterFxChain,
|
|
10823
10838
|
urlByAbsentLocalPath,
|
|
10824
10839
|
audioSidecarUrlByLocalPath,
|
|
10825
|
-
keepEncoderInputAt: pcmSourcePath
|
|
10840
|
+
keepEncoderInputAt: pcmSourcePath,
|
|
10841
|
+
assetRoots: input.allowOutsideProjectAssets ? void 0 : mediaAssetRoots(projectDir, compiledDir)
|
|
10826
10842
|
},
|
|
10827
10843
|
compiledDir
|
|
10828
10844
|
);
|
|
@@ -11465,7 +11481,7 @@ import { join as join26 } from "path";
|
|
|
11465
11481
|
// ../producer/src/services/shaderTransitionWorkerPool.ts
|
|
11466
11482
|
import { Worker } from "worker_threads";
|
|
11467
11483
|
import { fileURLToPath as fileURLToPath2, pathToFileURL } from "url";
|
|
11468
|
-
import { dirname as
|
|
11484
|
+
import { dirname as dirname10, join as join25 } from "path";
|
|
11469
11485
|
import { createRequire } from "module";
|
|
11470
11486
|
import { existsSync as existsSync17 } from "fs";
|
|
11471
11487
|
function resolveWorkerEntry(explicit) {
|
|
@@ -11477,7 +11493,7 @@ function resolveWorkerEntry(explicit) {
|
|
|
11477
11493
|
const isTs = override.endsWith(".ts");
|
|
11478
11494
|
return { path: override, isTs };
|
|
11479
11495
|
}
|
|
11480
|
-
const moduleDir =
|
|
11496
|
+
const moduleDir = dirname10(fileURLToPath2(import.meta.url));
|
|
11481
11497
|
const jsPath = join25(moduleDir, "shaderTransitionWorker.js");
|
|
11482
11498
|
if (existsSync17(jsPath)) return { path: jsPath, isTs: false };
|
|
11483
11499
|
const tsPath = join25(moduleDir, "shaderTransitionWorker.ts");
|
|
@@ -12206,7 +12222,7 @@ import {
|
|
|
12206
12222
|
writeFileSync as writeFileSync5
|
|
12207
12223
|
} from "fs";
|
|
12208
12224
|
import { readFile as readFile2 } from "fs/promises";
|
|
12209
|
-
import { dirname as
|
|
12225
|
+
import { dirname as dirname11, join as join28 } from "path";
|
|
12210
12226
|
|
|
12211
12227
|
// ../producer/src/services/render/stages/gifEncodeArgs.ts
|
|
12212
12228
|
function fpsToFfmpegArg2(fps) {
|
|
@@ -12509,7 +12525,7 @@ async function runEncodeStage(input) {
|
|
|
12509
12525
|
const encodeResult2 = await encodeGifFromDir(framesDir, framePattern2, outputPath, {
|
|
12510
12526
|
fps: job.config.fps,
|
|
12511
12527
|
loop,
|
|
12512
|
-
palettePath: join28(
|
|
12528
|
+
palettePath: join28(dirname11(videoOnlyPath), "gif-palette.png"),
|
|
12513
12529
|
preserveAlpha: needsAlpha,
|
|
12514
12530
|
signal: abortSignal,
|
|
12515
12531
|
timeout: engineCfg.ffmpegEncodeTimeout
|
|
@@ -12953,7 +12969,7 @@ function getNextRetryWorkerCount(currentWorkers) {
|
|
|
12953
12969
|
}
|
|
12954
12970
|
function resolveRenderWorkDirPrefix(outputPath, jobId, platform2 = process.platform, systemTempDir = tmpdir2()) {
|
|
12955
12971
|
if (platform2 === "win32" || platform2 === "darwin") return join29(systemTempDir, "hf-render-");
|
|
12956
|
-
return join29(
|
|
12972
|
+
return join29(dirname12(outputPath), `work-${jobId}-`);
|
|
12957
12973
|
}
|
|
12958
12974
|
var MAX_TRANSIENT_CAPTURE_RETRIES = 1;
|
|
12959
12975
|
function isTransientCaptureRetryEligible(failureKind, missing, retriesUsed) {
|
|
@@ -13679,7 +13695,7 @@ function deVerifyFallbackTelemetry(err) {
|
|
|
13679
13695
|
};
|
|
13680
13696
|
}
|
|
13681
13697
|
function resolveRenderDebugDir() {
|
|
13682
|
-
const producerRoot = process.env.PRODUCER_RENDERS_DIR ? resolve6(process.env.PRODUCER_RENDERS_DIR, "..") : resolve6(
|
|
13698
|
+
const producerRoot = process.env.PRODUCER_RENDERS_DIR ? resolve6(process.env.PRODUCER_RENDERS_DIR, "..") : resolve6(dirname12(fileURLToPath3(import.meta.url)), "../..");
|
|
13683
13699
|
return join29(producerRoot, ".debug");
|
|
13684
13700
|
}
|
|
13685
13701
|
async function executeRenderJob(job, projectDir, outputPath, progressSink, abortSignal, assertRenderActive) {
|
|
@@ -13687,7 +13703,7 @@ async function executeRenderJob(job, projectDir, outputPath, progressSink, abort
|
|
|
13687
13703
|
validateDeliveryEncoderConfig(job.config);
|
|
13688
13704
|
validateChromaSubsamplingConfig(job.config);
|
|
13689
13705
|
const debugDir = resolveRenderDebugDir();
|
|
13690
|
-
const outputDir =
|
|
13706
|
+
const outputDir = dirname12(outputPath);
|
|
13691
13707
|
if (!existsSync20(outputDir)) mkdirSync10(outputDir, { recursive: true });
|
|
13692
13708
|
const workDir = job.config.debug ? join29(debugDir, job.id) : createRenderWorkDir(resolveRenderWorkDirPrefix(outputPath, job.id), outputDir);
|
|
13693
13709
|
const pipelineStart = Date.now();
|
|
@@ -14186,6 +14202,7 @@ async function executeRenderPipeline(input) {
|
|
|
14186
14202
|
audioGain: cfg.audioGain,
|
|
14187
14203
|
audios: composition.audios,
|
|
14188
14204
|
masterFxChain: composition.masterFxChain,
|
|
14205
|
+
allowOutsideProjectAssets: job.config.allowOutsideProjectAssets,
|
|
14189
14206
|
abortSignal: executionSignal,
|
|
14190
14207
|
assertNotAborted,
|
|
14191
14208
|
log,
|
|
@@ -15853,7 +15870,7 @@ import { tmpdir as tmpdir4 } from "os";
|
|
|
15853
15870
|
// ../producer/src/services/distributed/mp4Stitch.ts
|
|
15854
15871
|
import { createReadStream as createReadStream3, createWriteStream, mkdirSync as mkdirSync11, rmSync as rmSync11 } from "fs";
|
|
15855
15872
|
import { open } from "fs/promises";
|
|
15856
|
-
import { basename as basename6, dirname as
|
|
15873
|
+
import { basename as basename6, dirname as dirname13, join as join30 } from "path";
|
|
15857
15874
|
import { finished, pipeline } from "stream/promises";
|
|
15858
15875
|
function boxAt(src, off, at, limit) {
|
|
15859
15876
|
let size = src.readUInt32BE(off);
|
|
@@ -16217,8 +16234,8 @@ async function writeStitchedMp4(chunkPaths, outputPath, audioPath) {
|
|
|
16217
16234
|
const sourcePaths = audioPath ? [audioPath, ...chunkPaths] : chunkPaths;
|
|
16218
16235
|
const layouts = await Promise.all(sourcePaths.map((path) => readMp4Layout(fileRange(path))));
|
|
16219
16236
|
const header = audioPath ? buildStitchedHeader(layouts.slice(1), layouts[0]) : buildStitchedHeader(layouts);
|
|
16220
|
-
mkdirSync11(
|
|
16221
|
-
const workDir = createStagingDir(
|
|
16237
|
+
mkdirSync11(dirname13(outputPath), { recursive: true });
|
|
16238
|
+
const workDir = createStagingDir(dirname13(outputPath), `${basename6(outputPath)}.stitch-`);
|
|
16222
16239
|
const out = createWriteStream(join30(workDir, "out.mp4"));
|
|
16223
16240
|
try {
|
|
16224
16241
|
out.write(header);
|
|
@@ -16253,7 +16270,7 @@ import { extname as extname4, join as join32 } from "path";
|
|
|
16253
16270
|
|
|
16254
16271
|
// ../producer/src/services/distributed/shared.ts
|
|
16255
16272
|
import { execFile as execFileCallback } from "child_process";
|
|
16256
|
-
import { dirname as
|
|
16273
|
+
import { dirname as dirname14, join as join31 } from "path";
|
|
16257
16274
|
import { existsSync as existsSync21, readFileSync as readFileSync8 } from "fs";
|
|
16258
16275
|
import { fileURLToPath as fileURLToPath4 } from "url";
|
|
16259
16276
|
import { promisify as promisify2 } from "util";
|
|
@@ -16525,7 +16542,7 @@ function buildSyntheticRenderJob(input) {
|
|
|
16525
16542
|
var cachedProducerVersion = null;
|
|
16526
16543
|
function readProducerVersion() {
|
|
16527
16544
|
if (cachedProducerVersion !== null) return cachedProducerVersion;
|
|
16528
|
-
const startDir =
|
|
16545
|
+
const startDir = dirname14(fileURLToPath4(import.meta.url));
|
|
16529
16546
|
let current = startDir;
|
|
16530
16547
|
for (let i = 0; i < 10; i++) {
|
|
16531
16548
|
const candidate = join31(current, "package.json");
|
|
@@ -16539,7 +16556,7 @@ function readProducerVersion() {
|
|
|
16539
16556
|
} catch {
|
|
16540
16557
|
}
|
|
16541
16558
|
}
|
|
16542
|
-
const parent =
|
|
16559
|
+
const parent = dirname14(current);
|
|
16543
16560
|
if (parent === current) break;
|
|
16544
16561
|
current = parent;
|
|
16545
16562
|
}
|
|
@@ -18108,7 +18125,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
18108
18125
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
18109
18126
|
if (probeResult.probeSession) {
|
|
18110
18127
|
try {
|
|
18111
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
18128
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-UQ3K3UW2.js");
|
|
18112
18129
|
await closeCaptureSession2(probeResult.probeSession);
|
|
18113
18130
|
} catch (err) {
|
|
18114
18131
|
log.warn("[plan] probe session close failed", {
|
|
@@ -18148,6 +18165,7 @@ function mixPlanAudio(c, compiledDir) {
|
|
|
18148
18165
|
compiledDir,
|
|
18149
18166
|
urlByAbsentLocalPath: c.urlByAbsentLocalPath,
|
|
18150
18167
|
audioSidecarUrlByLocalPath: c.audioSidecarUrlByLocalPath,
|
|
18168
|
+
allowOutsideProjectAssets: c.job.config.allowOutsideProjectAssets,
|
|
18151
18169
|
totalFrames: c.totalFrames,
|
|
18152
18170
|
fps: c.job.config.fps,
|
|
18153
18171
|
ffmpegProcessTimeout: c.cfg.ffmpegProcessTimeout,
|
|
@@ -18485,7 +18503,7 @@ import {
|
|
|
18485
18503
|
writeFileSync as writeFileSync11
|
|
18486
18504
|
} from "fs";
|
|
18487
18505
|
import { tmpdir as tmpdir3 } from "os";
|
|
18488
|
-
import { dirname as
|
|
18506
|
+
import { dirname as dirname16, isAbsolute as isAbsolute3, join as join41, relative as relative7, resolve as resolve8, sep as sep4 } from "path";
|
|
18489
18507
|
|
|
18490
18508
|
// ../producer/src/services/distributed/planV2Publisher.ts
|
|
18491
18509
|
import {
|
|
@@ -18497,7 +18515,7 @@ import {
|
|
|
18497
18515
|
statSync as statSync8,
|
|
18498
18516
|
writeFileSync as writeFileSync10
|
|
18499
18517
|
} from "fs";
|
|
18500
|
-
import { dirname as
|
|
18518
|
+
import { dirname as dirname15, join as join40 } from "path";
|
|
18501
18519
|
|
|
18502
18520
|
// ../producer/src/services/distributed/planV2Errors.ts
|
|
18503
18521
|
var PLAN_V2_INTEGRITY_UNRECOVERABLE = "PLAN_V2_INTEGRITY_UNRECOVERABLE";
|
|
@@ -18557,8 +18575,8 @@ var LocalPlanV2ArtifactPublisher = class {
|
|
|
18557
18575
|
}
|
|
18558
18576
|
this.destinationDir = destinationDir;
|
|
18559
18577
|
this.#linkFile = options.linkFile ?? linkSync2;
|
|
18560
|
-
mkdirSync15(
|
|
18561
|
-
this.temporaryDir = createStagingDir(
|
|
18578
|
+
mkdirSync15(dirname15(destinationDir), { recursive: true });
|
|
18579
|
+
this.temporaryDir = createStagingDir(dirname15(destinationDir), ".plan-v2-publish-");
|
|
18562
18580
|
}
|
|
18563
18581
|
async putBlob(blob) {
|
|
18564
18582
|
const digest = assertPlanV2Sha256(blob.sha256, "published blob sha256");
|
|
@@ -18570,8 +18588,8 @@ var LocalPlanV2ArtifactPublisher = class {
|
|
|
18570
18588
|
}
|
|
18571
18589
|
const destinationPath = planV2BlobPath(this.temporaryDir, digest);
|
|
18572
18590
|
if (existsSync26(destinationPath)) return;
|
|
18573
|
-
mkdirSync15(
|
|
18574
|
-
const stagingDir = createStagingDir(
|
|
18591
|
+
mkdirSync15(dirname15(destinationPath), { recursive: true });
|
|
18592
|
+
const stagingDir = createStagingDir(dirname15(destinationPath), ".plan-v2-blob-");
|
|
18575
18593
|
const temporaryPath = join40(stagingDir, "blob");
|
|
18576
18594
|
try {
|
|
18577
18595
|
try {
|
|
@@ -18861,8 +18879,8 @@ function computeManifestHash(manifest) {
|
|
|
18861
18879
|
}
|
|
18862
18880
|
function writeBlob(sourcePath, destinationPath) {
|
|
18863
18881
|
if (existsSync27(destinationPath)) return;
|
|
18864
|
-
mkdirSync16(
|
|
18865
|
-
const temporaryDir = createStagingDir(
|
|
18882
|
+
mkdirSync16(dirname16(destinationPath), { recursive: true });
|
|
18883
|
+
const temporaryDir = createStagingDir(dirname16(destinationPath), ".plan-v2-blob-");
|
|
18866
18884
|
const temporaryPath = join41(temporaryDir, "blob");
|
|
18867
18885
|
try {
|
|
18868
18886
|
copyFileSync6(sourcePath, temporaryPath);
|
|
@@ -18987,8 +19005,8 @@ function createPlanV2FromExecutionPlan(executionPlanDir, planV2Dir) {
|
|
|
18987
19005
|
if (publication.storedBlobs.length > 0) {
|
|
18988
19006
|
throw new PlanV2IntegrityError("a local plan v2 directory cannot reference remote files");
|
|
18989
19007
|
}
|
|
18990
|
-
mkdirSync16(
|
|
18991
|
-
const tempDir = createStagingDir(
|
|
19008
|
+
mkdirSync16(dirname16(planV2Dir), { recursive: true });
|
|
19009
|
+
const tempDir = createStagingDir(dirname16(planV2Dir), ".plan-v2-build-");
|
|
18992
19010
|
try {
|
|
18993
19011
|
for (const blob of publication.blobs) {
|
|
18994
19012
|
writeBlob(blob.sourcePath, planV2BlobPath(tempDir, blob.sha256));
|
|
@@ -19072,7 +19090,7 @@ async function planV2(projectDir, config, planV2Dir) {
|
|
|
19072
19090
|
}
|
|
19073
19091
|
const publisher = new LocalPlanV2ArtifactPublisher(planV2Dir);
|
|
19074
19092
|
const manifest = await planV2WithPublisher(projectDir, config, publisher, {
|
|
19075
|
-
stagingParentDir:
|
|
19093
|
+
stagingParentDir: dirname16(planV2Dir)
|
|
19076
19094
|
});
|
|
19077
19095
|
return resultFromManifest(planV2Dir, manifest);
|
|
19078
19096
|
}
|
|
@@ -19265,12 +19283,12 @@ function materializePlanV2Target(planV2Dir, target, destinationDir, options = {}
|
|
|
19265
19283
|
artifact,
|
|
19266
19284
|
sourcePath: verifyBlob(planV2Dir, artifact)
|
|
19267
19285
|
}));
|
|
19268
|
-
mkdirSync16(
|
|
19269
|
-
const tempDir = createStagingDir(
|
|
19286
|
+
mkdirSync16(dirname16(destinationDir), { recursive: true });
|
|
19287
|
+
const tempDir = createStagingDir(dirname16(destinationDir), ".plan-v2-materialize-");
|
|
19270
19288
|
try {
|
|
19271
19289
|
for (const { artifact, sourcePath } of verified) {
|
|
19272
19290
|
const destinationPath = join41(tempDir, ...artifact.path.split("/"));
|
|
19273
|
-
mkdirSync16(
|
|
19291
|
+
mkdirSync16(dirname16(destinationPath), { recursive: true });
|
|
19274
19292
|
copyFileSync6(sourcePath, destinationPath);
|
|
19275
19293
|
}
|
|
19276
19294
|
if (target.role === "chunk") materializeExtractedVideoDirectories(tempDir);
|
|
@@ -20707,7 +20725,7 @@ import {
|
|
|
20707
20725
|
rmSync as rmSync17,
|
|
20708
20726
|
createReadStream as createReadStream5
|
|
20709
20727
|
} from "fs";
|
|
20710
|
-
import { resolve as resolve10, dirname as
|
|
20728
|
+
import { resolve as resolve10, dirname as dirname18, join as join46 } from "path";
|
|
20711
20729
|
import { tmpdir as tmpdir5 } from "os";
|
|
20712
20730
|
import { parseArgs } from "util";
|
|
20713
20731
|
import { isIP } from "net";
|
|
@@ -20842,7 +20860,7 @@ async function runHyperframeLint(prepared) {
|
|
|
20842
20860
|
// ../producer/src/services/healthWorker.ts
|
|
20843
20861
|
import { Worker as Worker2 } from "worker_threads";
|
|
20844
20862
|
import { fileURLToPath as fileURLToPath5 } from "url";
|
|
20845
|
-
import { dirname as
|
|
20863
|
+
import { dirname as dirname17, join as join45 } from "path";
|
|
20846
20864
|
import { existsSync as existsSync30 } from "fs";
|
|
20847
20865
|
var DEFAULT_HEALTH_PORT = 9848;
|
|
20848
20866
|
async function startHealthWorker(options = {}) {
|
|
@@ -20917,7 +20935,7 @@ function defaultLogger2() {
|
|
|
20917
20935
|
};
|
|
20918
20936
|
}
|
|
20919
20937
|
function resolveWorkerEntry2() {
|
|
20920
|
-
const here =
|
|
20938
|
+
const here = dirname17(fileURLToPath5(import.meta.url));
|
|
20921
20939
|
const candidates = [join45(here, "healthWorkerThread.js"), join45(here, "healthWorkerThread.ts")];
|
|
20922
20940
|
for (const candidate of candidates) {
|
|
20923
20941
|
if (existsSync30(candidate)) return candidate;
|
|
@@ -21081,7 +21099,7 @@ function resolvePreparedRenderOutput(prepared, rendersDir, log, confineOutput) {
|
|
|
21081
21099
|
throw new Error("outputPath must be inside the renders directory");
|
|
21082
21100
|
}
|
|
21083
21101
|
}
|
|
21084
|
-
const outputDir =
|
|
21102
|
+
const outputDir = dirname18(absoluteOutputPath);
|
|
21085
21103
|
if (!existsSync31(outputDir)) mkdirSync19(outputDir, { recursive: true });
|
|
21086
21104
|
return { input, cleanupProjectDir, absoluteOutputPath };
|
|
21087
21105
|
}
|
|
@@ -21726,7 +21744,7 @@ function startServer(options = {}) {
|
|
|
21726
21744
|
});
|
|
21727
21745
|
async function shutdown(signal) {
|
|
21728
21746
|
log.info(`Received ${signal}, shutting down`);
|
|
21729
|
-
const { drainBrowserPool } = await import("./src-
|
|
21747
|
+
const { drainBrowserPool } = await import("./src-UQ3K3UW2.js");
|
|
21730
21748
|
await drainBrowserPool().catch(() => {
|
|
21731
21749
|
});
|
|
21732
21750
|
const handle = await Promise.race([
|
|
@@ -21777,7 +21795,7 @@ import {
|
|
|
21777
21795
|
statSync as statSync12,
|
|
21778
21796
|
writeFileSync as writeFileSync14
|
|
21779
21797
|
} from "fs";
|
|
21780
|
-
import { basename as basename7, dirname as
|
|
21798
|
+
import { basename as basename7, dirname as dirname19, join as join47 } from "path";
|
|
21781
21799
|
function cfrRateControlArgs(locked) {
|
|
21782
21800
|
const preset = getEncoderPreset(locked.quality ?? "standard", "mp4");
|
|
21783
21801
|
if (locked.crf == null && locked.bitrate) {
|
|
@@ -21810,10 +21828,10 @@ async function assemble(planDir, chunkOutputs, audioPath, outputPath, options) {
|
|
|
21810
21828
|
}
|
|
21811
21829
|
const format = plan2.dimensions.format;
|
|
21812
21830
|
const cfrEncoder = cfr ? readCfrEncoder(planDir, format) : null;
|
|
21813
|
-
if (!existsSync32(
|
|
21814
|
-
mkdirSync20(
|
|
21831
|
+
if (!existsSync32(dirname19(outputPath))) {
|
|
21832
|
+
mkdirSync20(dirname19(outputPath), { recursive: true });
|
|
21815
21833
|
}
|
|
21816
|
-
const workDir = createStagingDir(
|
|
21834
|
+
const workDir = createStagingDir(dirname19(outputPath), `${basename7(outputPath)}.assemble-work-`);
|
|
21817
21835
|
const fps = { num: plan2.dimensions.fpsNum, den: plan2.dimensions.fpsDen };
|
|
21818
21836
|
const stageMs = {};
|
|
21819
21837
|
const ctx = {
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
realpath
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KWTTELUY.js";
|
|
10
10
|
|
|
11
11
|
// ../core/dist/removeScratch.js
|
|
12
12
|
import { AsyncLocalStorage } from "async_hooks";
|