hyperframes 0.9.53 → 0.9.55
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-2LZ5XA27.js} +23 -23
- package/dist/{agentPromptGenerator-OPQZUVYC.js → agentPromptGenerator-RSFEFNFL.js} +12 -11
- package/dist/{animatedGifPrep-DEK4XZYT.js → animatedGifPrep-AX4MK2QD.js} +13 -12
- package/dist/api.d.ts +4 -2
- package/dist/api.js +51 -49
- package/dist/{appHistory-DK2XI4EZ.js → appHistory-T3ZLA7QN.js} +4 -3
- package/dist/{asset-3BIBG7LB.js → asset-XYQJVHR2.js} +2 -2
- package/dist/{assetCataloger-R4NWWO4P.js → assetCataloger-WTFR2Z5Q.js} +13 -12
- package/dist/{audio-N3DHNT3F.js → audio-U2OIHTUI.js} +93 -70
- package/dist/{auth-CBF2DVRT.js → auth-DXESNULL.js} +5 -5
- package/dist/{autoUpdate-UJB4MI4Z.js → autoUpdate-DWT4YYU2.js} +5 -5
- package/dist/{avatars-JVATTQYO.js → avatars-EL5RBI4P.js} +19 -18
- package/dist/{backgroundChecks-R7SFELIM.js → backgroundChecks-T2DL425O.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-HU756KUO.js} +14 -14
- package/dist/{benchmark-3NMJO5DK.js → benchmark-HBNCPXH5.js} +21 -20
- package/dist/{billing-76JTGOHN.js → billing-LGHM3LC7.js} +21 -21
- package/dist/{browser-5XXA4O25.js → browser-XIFUT5OB.js} +11 -11
- package/dist/{bundleWithLocalizedFonts-S7DIF43W.js → bundleWithLocalizedFonts-JPPBCCVV.js} +1 -1
- package/dist/{capture-JHMVFAUS.js → capture-B6DSZD2P.js} +4 -4
- package/dist/{capture-EV4G3SCY.js → capture-ZY7G3QSM.js} +30 -29
- package/dist/{captureCompositionFrame-3M3BFHZH.js → captureCompositionFrame-2WRG6SNW.js} +18 -17
- package/dist/{captureFile-R5JZ7WRA.js → captureFile-LXMDM5TD.js} +3 -3
- package/dist/{catalog-WVZJ6XYV.js → catalog-CUEOQ4PJ.js} +23 -23
- package/dist/{catch-up-FQ5KCZIH.js → catch-up-BAYJTXAL.js} +14 -13
- package/dist/{check-VTUVZWCF.js → check-KGXBQPRZ.js} +54 -53
- package/dist/{checkAudio-FYRBXK22.js → checkAudio-6PI7DJLP.js} +18 -17
- package/dist/{checkBrowser-EJQEWSIH.js → checkBrowser-4SGXUL27.js} +47 -46
- package/dist/{chunk-HY25JZQ2.js → chunk-26RTKW2U.js} +2 -2
- package/dist/{chunk-T3QK3VKM.js → chunk-27YDEBOP.js} +2 -2
- package/dist/{chunk-6CO6L3YP.js → chunk-2LQJHVI7.js} +2 -2
- package/dist/{chunk-KEZ7QIJN.js → chunk-2PASB3PC.js} +4 -4
- package/dist/{chunk-KKO4PRB5.js → chunk-2XZ76TF4.js} +1 -1
- package/dist/{chunk-FLPVKGBS.js → chunk-32IRBM3V.js} +3 -3
- package/dist/{chunk-BQRJZDSM.js → chunk-3ANC4SO2.js} +14 -14
- package/dist/{chunk-I7NTTMET.js → chunk-3USMIMBB.js} +97 -73
- package/dist/{chunk-XM7LOJBP.js → chunk-3WG7IC5Z.js} +1 -1
- package/dist/{chunk-FU2R6OVR.js → chunk-4IUOWNDS.js} +1 -1
- package/dist/{chunk-RH6UD7XI.js → chunk-4S53OP2C.js} +11 -11
- package/dist/{chunk-5SMHNPMW.js → chunk-4ZQG3Z3J.js} +2 -2
- package/dist/{chunk-SH6PAYUD.js → chunk-5BWIBP2F.js} +5 -5
- package/dist/{chunk-OLVZAALP.js → chunk-5HJZGP54.js} +2 -2
- package/dist/{chunk-ISVRNYE5.js → chunk-5LSMAWK5.js} +1 -1
- package/dist/{chunk-E3LZAM64.js → chunk-6BGTTCKN.js} +4 -4
- package/dist/{chunk-ZT7RB42S.js → chunk-6EG3W5AD.js} +16 -9
- package/dist/{chunk-QBDT7Z5D.js → chunk-7DJCG5ED.js} +10 -10
- package/dist/{chunk-N36NHUGP.js → chunk-7QFFS657.js} +1 -1
- package/dist/chunk-AGTBMLNM.js +42 -0
- package/dist/{chunk-7ELQHSEE.js → chunk-AHXRYOTC.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-4KRID4YV.js → chunk-BMJGWQ5X.js} +1 -1
- package/dist/{chunk-JNM4WG7C.js → chunk-BOEEHWDX.js} +1 -1
- package/dist/{chunk-GDWPLGHY.js → chunk-CAYQATCT.js} +1 -1
- package/dist/{chunk-FSBV6Z7E.js → chunk-CHQWDBUM.js} +23 -7
- package/dist/{chunk-4TJGOQER.js → chunk-CRRVULYR.js} +6 -4
- package/dist/{chunk-ES273AD6.js → chunk-DQHFS4AE.js} +4 -4
- package/dist/{chunk-HD5RVDL6.js → chunk-E2DHBP6C.js} +1 -1
- package/dist/{chunk-CTHG3WLB.js → chunk-E7GHBT2M.js} +4 -4
- package/dist/{chunk-BCJJ64JG.js → chunk-EKZ5FGV7.js} +1 -1
- package/dist/{chunk-SZGQU7EB.js → chunk-ER22SVLT.js} +1 -1
- package/dist/{chunk-2ODGEXNH.js → chunk-EUJSQHIL.js} +2 -2
- package/dist/{chunk-KCPIENND.js → chunk-EUP7ODOV.js} +1 -1
- package/dist/{chunk-UMRNTF3C.js → chunk-EXEX7TSU.js} +2 -2
- package/dist/{chunk-I2UMQAOQ.js → chunk-EXXIFMUX.js} +1 -1
- package/dist/{chunk-YT3LRZA3.js → chunk-F7B2YDPM.js} +7 -5
- package/dist/{chunk-TWI33YJP.js → chunk-FLHL32SV.js} +1 -1
- package/dist/{chunk-CYBOQOKO.js → chunk-FLQT2FVH.js} +1 -1
- package/dist/{chunk-346RTE74.js → chunk-FMYXLRJN.js} +3 -3
- package/dist/{chunk-SXZMJ7QJ.js → chunk-FOKS5HQ2.js} +4 -4
- package/dist/{chunk-3HQ4C4HI.js → chunk-FPRHOB5W.js} +3 -3
- package/dist/{chunk-XZZF6YBS.js → chunk-GKOF2RS3.js} +1 -1
- package/dist/{chunk-IU5DC4HP.js → chunk-GWSMTN55.js} +93 -23
- package/dist/{chunk-B3WRUPRS.js → chunk-HLDUHLYO.js} +4 -4
- package/dist/{chunk-43ILJV43.js → chunk-J424KJXV.js} +8 -8
- package/dist/{chunk-PCH55NAO.js → chunk-JAAIW4JR.js} +1 -1
- package/dist/{chunk-FM5JRUWL.js → chunk-JS7UI73E.js} +6 -6
- package/dist/{chunk-PUT3NPVE.js → chunk-JVA3SAGB.js} +4 -4
- package/dist/{chunk-TQKX3TA3.js → chunk-K2VFTUAA.js} +1 -1
- package/dist/{chunk-DE3JRSGT.js → chunk-KCF6Q54R.js} +1 -1
- package/dist/{chunk-LKWN2F7O.js → chunk-KD33HZPP.js} +2 -2
- package/dist/{chunk-ZK6BC3JM.js → chunk-KG24ATFM.js} +6 -6
- package/dist/{chunk-GVUG5VDL.js → chunk-KHEOHL5O.js} +1 -1
- package/dist/{chunk-FQMP2KFS.js → chunk-KVYHRUZX.js} +2 -2
- package/dist/{chunk-XWK2RSD5.js → chunk-KWTTELUY.js} +2 -2
- package/dist/{chunk-U3LWQGCD.js → chunk-L27Z3PZT.js} +1 -1
- package/dist/{chunk-YF34MK67.js → chunk-LGYCWN3Q.js} +14 -14
- package/dist/{chunk-ZFCK46UR.js → chunk-LKWWY6WN.js} +1 -1
- package/dist/{chunk-CBV4W4R3.js → chunk-MDOMSEK2.js} +2 -2
- package/dist/{chunk-RXJUMVCA.js → chunk-MDRLJ737.js} +5 -2
- package/dist/{chunk-TTP6JGIL.js → chunk-MO5NTFSC.js} +2 -2
- package/dist/{chunk-SRPPNXGX.js → chunk-MWTOYGIJ.js} +3 -3
- package/dist/{chunk-W6WVHIU7.js → chunk-N4CJSWTO.js} +2 -2
- package/dist/{chunk-PYOCEDTU.js → chunk-N7M2SNAF.js} +1 -1
- package/dist/{chunk-FZNH7SCB.js → chunk-NCSBBZQ5.js} +1 -1
- package/dist/{chunk-GZG2Z2O2.js → chunk-ND5SQJAB.js} +2 -2
- package/dist/{chunk-QXYR7LOO.js → chunk-NFLH3TQ5.js} +8 -8
- package/dist/{chunk-47IXIEBQ.js → chunk-NFNYYBD6.js} +1 -1
- package/dist/{chunk-7PBJR7WI.js → chunk-NHNFBLBM.js} +1 -1
- package/dist/{chunk-562X3KBJ.js → chunk-NISP57R3.js} +2 -2
- package/dist/{chunk-4Y5IDZOJ.js → chunk-NKAW4RVE.js} +4 -4
- package/dist/{chunk-2YSQU74C.js → chunk-NMQCIUBE.js} +5 -5
- package/dist/{chunk-35PKJPEI.js → chunk-NRGNEP3R.js} +1 -1
- package/dist/{chunk-G7GTO4YP.js → chunk-NUGAYGT3.js} +2 -2
- package/dist/{chunk-RCTY7VNK.js → chunk-O7TIBLSJ.js} +15 -101
- package/dist/{chunk-RUQ2VOD3.js → chunk-OAV5ESA6.js} +52 -17
- package/dist/{chunk-KPFJGQ6M.js → chunk-OIO7YMBP.js} +28 -30
- package/dist/{chunk-ZI3MSFSN.js → chunk-OM2WIZOR.js} +2 -2
- package/dist/{chunk-OUPWEFUM.js → chunk-ON3CGL3V.js} +1 -1
- package/dist/{chunk-IXUIJ7OL.js → chunk-OOWZ6M75.js} +3 -3
- package/dist/{chunk-5JOYZGHQ.js → chunk-OTWFSHYH.js} +3 -3
- package/dist/{chunk-KDDRDNEE.js → chunk-OWQWMQTY.js} +3 -2
- package/dist/{chunk-7FU5JCAK.js → chunk-OYEGPK3Q.js} +1 -1
- package/dist/{chunk-5A75E4OT.js → chunk-OZDELWQP.js} +2 -29
- package/dist/{chunk-XBPLO6CY.js → chunk-PCNNMAUX.js} +326 -95
- package/dist/{chunk-UAOL5PRX.js → chunk-PLFOZIEH.js} +1 -1
- package/dist/chunk-PXLGDX2S.js +104 -0
- package/dist/{chunk-G55B5LP6.js → chunk-Q42L7V5T.js} +1 -1
- package/dist/{chunk-BH5P5QZN.js → chunk-QGQYMSYM.js} +4 -4
- package/dist/{chunk-2ST2FAVH.js → chunk-QQLVSUO7.js} +2 -2
- package/dist/{chunk-Y6CLFCYX.js → chunk-QWBJABCA.js} +4 -4
- package/dist/{chunk-JCFOSR7Z.js → chunk-QX4TZ2RK.js} +86 -15
- package/dist/{chunk-WPG76RJZ.js → chunk-RBOKZ5ED.js} +1 -1
- package/dist/{chunk-IH56MGAB.js → chunk-RIAH7WEL.js} +9 -9
- package/dist/{chunk-7RHN6N5F.js → chunk-SDFGDNWV.js} +1 -1
- package/dist/{chunk-NFRKPLTJ.js → chunk-SEC76O65.js} +1 -1
- package/dist/{chunk-ZPPEZJVD.js → chunk-TEA4ZEHB.js} +71 -38
- package/dist/{chunk-G5FNJQER.js → chunk-TFVIXR6V.js} +26 -26
- package/dist/{chunk-IB5DXMAH.js → chunk-TMLKMCZK.js} +4 -4
- package/dist/{chunk-NVGB7L2M.js → chunk-TN3WGE3L.js} +3 -3
- package/dist/{chunk-FH6KC5EF.js → chunk-TPLO6NJI.js} +3 -3
- package/dist/{chunk-VCHJV7ZT.js → chunk-TULCSCC4.js} +67 -15
- package/dist/{chunk-Q5P7YJXO.js → chunk-UCLUH5AG.js} +2 -2
- package/dist/{chunk-H5K3FS4W.js → chunk-UHE44FC4.js} +3 -3
- package/dist/{chunk-3FL7MKQH.js → chunk-UHVB2TVW.js} +168 -127
- package/dist/{chunk-KLIVZ5VG.js → chunk-UHVKV5IF.js} +1 -1
- package/dist/{chunk-6F4ZVQUX.js → chunk-UV3I2TND.js} +1 -1
- package/dist/{chunk-5CRHNVJW.js → chunk-VPX4GVGQ.js} +3 -3
- package/dist/{chunk-N2YHCAFL.js → chunk-W2GXQ3CR.js} +10 -10
- package/dist/{chunk-4XETQ5LC.js → chunk-WPD7JH6F.js} +2 -2
- package/dist/{chunk-ZV3RIHRN.js → chunk-WQGQCSRY.js} +67 -27
- package/dist/{chunk-FRM4EM52.js → chunk-X4KIL5BW.js} +18 -18
- package/dist/{chunk-JHOCK3DG.js → chunk-XFF4XJZO.js} +11 -3
- package/dist/{chunk-BS36NRXV.js → chunk-XFSZ3IXC.js} +1 -1
- package/dist/chunk-XGEJPKRY.js +5069 -0
- package/dist/{chunk-I7SJBRVT.js → chunk-XLQUCTC2.js} +3 -3
- package/dist/{chunk-XJTFSMZK.js → chunk-YSN6HPD3.js} +2 -2
- package/dist/{chunk-6RPLXBZJ.js → chunk-YU5LSWA2.js} +1 -1
- package/dist/{chunk-4KS3GL5I.js → chunk-YVCPUVHV.js} +1 -1
- package/dist/chunk-YXX6CIHL.js +25 -0
- package/dist/{chunk-44OCDK5C.js → chunk-YY7ZJHL3.js} +14 -9
- package/dist/{chunk-365OGBQ2.js → chunk-ZLG2E7GC.js} +2 -2
- package/dist/{clean-KEVJGNES.js → clean-SXRW77YG.js} +29 -28
- package/dist/cli.js +67 -67
- package/dist/{cloud-EBJZO6ZY.js → cloud-LU4FVT33.js} +7 -7
- package/dist/{cloud-OR62JJDE.js → cloud-PUCWVAS2.js} +4 -4
- package/dist/{cloudrun-HPYJTM5N.js → cloudrun-SXXONVD6.js} +17 -6
- package/dist/{compare-353XZU2M.js → compare-K65FNAEA.js} +45 -44
- package/dist/{compiler-KPDUYBA5.js → compiler-QISQISFV.js} +5 -5
- package/dist/{component-5DZDY74T.js → component-YYCDOLP2.js} +3 -3
- package/dist/{compositions-VBICZHMF.js → compositions-LCQTIYIU.js} +20 -19
- package/dist/{contactSheet-O3FOOHOX.js → contactSheet-CCHQAZLA.js} +4 -4
- package/dist/{curve-KDRSQWHP.js → curve-T7JAY3EM.js} +17 -16
- package/dist/{cuts-ABAQKTF4.js → cuts-E54SOAWH.js} +18 -17
- package/dist/{delete-BXURHIL4.js → delete-GLQNSOWH.js} +12 -12
- package/dist/{deploy-4TBYCBNI.js → deploy-SPMSEG67.js} +10 -7
- package/dist/{describeProject-K62TKQLI.js → describeProject-YPTJWL3O.js} +12 -11
- package/dist/{destroy-FAJUHCW4.js → destroy-FMAAH4KQ.js} +9 -6
- package/dist/{deterministicFonts-XZIQ4PNP.js → deterministicFonts-OXGNMVJE.js} +3 -3
- package/dist/{diff-4O7ZCBM5.js → diff-OT5SHVFD.js} +46 -45
- package/dist/{dist-D67752QW.js → dist-EO7BILWH.js} +16 -15
- package/dist/{dist-F4T6FB7P.js → dist-RYTNYHMF.js} +2 -2
- package/dist/{dist-AAGJ6SXG.js → dist-T62DJJZX.js} +3 -3
- package/dist/{doctor-IEUIWBC5.js → doctor-L4SNKUBM.js} +21 -20
- package/dist/{energy-BJQTVGBO.js → energy-AXQGYZF6.js} +18 -17
- package/dist/{events-D3NBN44E.js → events-5T25R4EH.js} +6 -6
- package/dist/{events-M37XFHGJ.js → events-7QP5H6PW.js} +20 -19
- package/dist/{events-4UBI5WNS.js → events-EBA6KHJV.js} +10 -10
- package/dist/{execute-JCLM27KS.js → execute-PTHC7Y5Q.js} +35 -34
- package/dist/{extract-AYWY5PIN.js → extract-76UPXPJC.js} +18 -17
- package/dist/{face-TEHC6WYN.js → face-YZON2N2E.js} +19 -18
- package/dist/{feedback-JZDCB5N4.js → feedback-KAYKPPHI.js} +22 -21
- package/dist/{ffmpeg-JMPVMPDT.js → ffmpeg-T3KK5XKT.js} +11 -10
- package/dist/{figma-6MYT2VRV.js → figma-NJ6CAJGV.js} +3 -3
- package/dist/fontLocalizeCli.js +18 -17
- package/dist/{frames-NLFBDILH.js → frames-KNR4CSB4.js} +20 -19
- package/dist/{generate-YLPRVWHZ.js → generate-ISCPAKHT.js} +34 -33
- package/dist/{get-APCR6ZJE.js → get-X7QNC3PE.js} +12 -12
- package/dist/{gpuPolicy-YXBUP4AF.js → gpuPolicy-ZXN5S3HE.js} +11 -10
- package/dist/{grade-compare-VLWGCI4O.js → grade-compare-XD3IONCL.js} +44 -43
- package/dist/hangReport.js +2 -2
- package/dist/{heifImagePrep-UC2AV5LU.js → heifImagePrep-EFBHDH4Z.js} +14 -13
- package/dist/{help-YSBTU7WC.js → help-VUFIY5X4.js} +1 -1
- package/dist/{history-EPIGMZUN.js → history-OM3MHRB2.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-G64344ST.js} +22 -21
- package/dist/{init-BXS47X5W.js → init-2N6SDLZB.js} +37 -36
- package/dist/{ink-BWKWSIKA.js → ink-T5BJE4D2.js} +18 -17
- package/dist/{inspect-NUE2R2OF.js → inspect-6I4YSARX.js} +45 -44
- package/dist/{installer-T57TKMM6.js → installer-JNQKFCTN.js} +7 -7
- package/dist/{keyframes-WCRUYIOQ.js → keyframes-PT3H7WHD.js} +16 -16
- package/dist/{lambda-L2YNMAL5.js → lambda-NEQXIHUM.js} +17 -16
- package/dist/{layout-FXTXMDAL.js → layout-FRWUKOGX.js} +45 -44
- package/dist/{lint-IKRYTERJ.js → lint-GXPONOPU.js} +18 -18
- package/dist/{lintProject-2NDIJLD2.js → lintProject-J4YTLKPW.js} +2 -2
- package/dist/{list-BX5SCZEC.js → list-JO7WSM6Y.js} +12 -12
- package/dist/{localPage-HY3VMEYU.js → localPage-XDWFSE4K.js} +12 -11
- package/dist/{login-5IDR2M6C.js → login-XMFEIEXG.js} +5 -5
- package/dist/{logout-MTWA4BBI.js → logout-CCATTNTL.js} +1 -1
- package/dist/{look-7R4YJNX7.js → look-U77ADJ4V.js} +18 -17
- package/dist/{manager-PHCAZFHT.js → manager-RNMX2WTR.js} +12 -11
- package/dist/{manager-DBMIO5YG.js → manager-ZRETV4LQ.js} +4 -4
- package/dist/{measure-7CJ4RKSY.js → measure-JNJAPVVN.js} +11 -11
- package/dist/{media-treatment-HEW3RMDV.js → media-treatment-MFNKKPM7.js} +20 -19
- package/dist/{media-use-S5IJPK5G.js → media-use-ZKHL2IN2.js} +7 -6
- package/dist/{models-4UJY22Z3.js → models-PGO2ERAU.js} +16 -15
- package/dist/{motionShot-FLZQ75TM.js → motionShot-AG4LR5Q5.js} +22 -21
- package/dist/{normalize-audio-AN3KKSSK.js → normalize-audio-FO3JCPD3.js} +14 -14
- package/dist/{open-AHPOLDBY.js → open-ZI6KK3GM.js} +23 -22
- package/dist/{parakeetRunner-4URDK3H4.js → parakeetRunner-CBO3HRL6.js} +19 -18
- package/dist/{pipeline-O5UWLQDZ.js → pipeline-VWVNH5ZC.js} +14 -13
- package/dist/{plan-SUV7WBBJ.js → plan-UHZYW3K2.js} +27 -26
- package/dist/{play-LHMMHUUN.js → play-IVTXE4JW.js} +34 -33
- package/dist/{preflight-FLSEP55G.js → preflight-QJNKKMPE.js} +14 -13
- package/dist/{present-VEDXFFPZ.js → present-NB6DAJ6K.js} +28 -27
- package/dist/{preview-FXNPXOJL.js → preview-FIWAZ5PX.js} +37 -35
- package/dist/{probe-P6LUMX34.js → probe-VQJOUG65.js} +18 -17
- package/dist/{producer-SWV2GP4I.js → producer-NP6X5UBL.js} +1 -1
- package/dist/{projectConfig-EPOIXMHL.js → projectConfig-UVA26HJW.js} +11 -11
- package/dist/{publication-SIGMWEK3.js → publication-LYPU7NTZ.js} +5 -5
- package/dist/{publish-EVCYPK6H.js → publish-MRQ2K62E.js} +28 -28
- package/dist/{refresh-PIFEWEAL.js → refresh-X5ZLKQO5.js} +1 -1
- package/dist/{remove-background-AFXDE5YR.js → remove-background-RG6DCWOW.js} +15 -14
- package/dist/{render-MENZ6KS5.js → render-6B7YPN7H.js} +46 -42
- package/dist/{render-BCKSDBLK.js → render-CM4MCNVA.js} +6 -6
- package/dist/{render-DFUMSKVQ.js → render-XWBMMSC5.js} +60 -54
- package/dist/{render-batch-DPT67NDL.js → render-batch-Y3RRNDNJ.js} +7 -7
- package/dist/renderSetupWorker.js +6 -6
- package/dist/{resolver-EE3255VM.js → resolver-K6VAEZVH.js} +8 -8
- package/dist/{reverse-TA73U7V6.js → reverse-5RDRLKAP.js} +1 -1
- package/dist/{run-Y2ISHW5P.js → run-OQK3QU4I.js} +9 -6
- package/dist/{sam-EGFXZF56.js → sam-A4NXDWSU.js} +4 -1
- package/dist/{screenshotCapture-CEEBQ3FU.js → screenshotCapture-VDITRAK2.js} +14 -13
- package/dist/{service-6P6QVFNF.js → service-C3UT4LYP.js} +18 -17
- package/dist/{share-Q25X6AIX.js → share-JU3IDHUV.js} +23 -22
- package/dist/{sherpa-PPSJ23WI.js → sherpa-Z2Z4XLXV.js} +18 -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-24YEOJGP.js} +15 -14
- package/dist/{skillsUpdateCheck-L4TGSUN6.js → skillsUpdateCheck-5R4JJ27G.js} +6 -6
- package/dist/{snapshot-AIAJRR5C.js → snapshot-T4REEKFX.js} +72 -67
- package/dist/{src-O5P56HIK.js → src-EKGFNTTY.js} +18 -9
- package/dist/{src-UEH4H4UY.js → src-RMJVAEKT.js} +16 -15
- package/dist/{start-HY5WGCDN.js → start-E5RIH3KS.js} +32 -31
- package/dist/{staticProjectServer-WNKXSUBZ.js → staticProjectServer-LEM5W3S5.js} +28 -27
- package/dist/{status-AFDHSUGG.js → status-CSHJWWOP.js} +26 -26
- package/dist/studio/assets/{hyperframes-player-z7r-N5fm.js → hyperframes-player-BroIQA4E.js} +1 -1
- package/dist/studio/assets/{index-Dpo7Q_9-.js → index-Be7DZynj.js} +154 -154
- package/dist/studio/assets/{index-2QPHxCxy.js → index-CiF0D62S.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-BarDYEAf.js → pausedVideoDecoder-RXcvblHS.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-P72FA5XB.js → studio-api-COJYCMRI.js} +16 -15
- package/dist/{studioServer-RICH4NMX.js → studioServer-62ZTBLFM.js} +76 -73
- package/dist/{sync-J66DIXED.js → sync-CLRYHWYE.js} +18 -17
- package/dist/{synthesize-UKCQR7WW.js → synthesize-Z2H32QPU.js} +5 -5
- package/dist/{system-I5KGZTUG.js → system-2YOII5LZ.js} +3 -3
- package/dist/{telemetry-KOOKPGMR.js → telemetry-DWA36DFX.js} +10 -10
- package/dist/{templates-6DRGOTNH.js → templates-LXMQR35F.js} +22 -22
- package/dist/{timeline-UZX7366C.js → timeline-LMKTDKRT.js} +27 -26
- package/dist/{tokens-AU3BUE6U.js → tokens-VJ765KFG.js} +2 -2
- package/dist/{transcribe-OUTSVFRZ.js → transcribe-3WASFP7Z.js} +15 -14
- package/dist/{transcribe-CW5HK2OA.js → transcribe-TICRK4IY.js} +38 -37
- package/dist/{tts-X3MAUZ7E.js → tts-5YJV6UXX.js} +1 -1
- package/dist/{update-KRYJ6ACJ.js → update-Q26QGCBW.js} +17 -16
- package/dist/{updateCheck-WQVGQLCG.js → updateCheck-7R4S46TT.js} +5 -5
- package/dist/{upgrade-S54RPT3R.js → upgrade-76TFHAGI.js} +8 -8
- package/dist/{urlDownloader-MASRYSQX.js → urlDownloader-AE4UQI5A.js} +10 -9
- package/dist/{validate-4QVUHCYG.js → validate-BEYREWEL.js} +34 -33
- package/dist/{video-AEGOEGSP.js → video-47AVLNWM.js} +13 -12
- package/dist/{voices-T4U7EU5X.js → voices-5O6OAL6H.js} +31 -30
- package/dist/warmCheck.js +54 -53
- 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-TN3WGE3L.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-KG24ATFM.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,10 +205,13 @@ import {
|
|
|
203
205
|
videoStartOnMediaTimeline,
|
|
204
206
|
writeCapturedFrame,
|
|
205
207
|
writeUrlDownloadTelemetry
|
|
206
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-PCNNMAUX.js";
|
|
207
209
|
import {
|
|
208
210
|
settleOnBrowserSafePort
|
|
209
211
|
} from "./chunk-OSKSTJNQ.js";
|
|
212
|
+
import {
|
|
213
|
+
PREVIEW_FOR_ANOTHER_SITE_META
|
|
214
|
+
} from "./chunk-YXX6CIHL.js";
|
|
210
215
|
import {
|
|
211
216
|
assignBundledRuntimeCompositionIds,
|
|
212
217
|
boundMediaSrc,
|
|
@@ -219,14 +224,14 @@ import {
|
|
|
219
224
|
parsesAsScript,
|
|
220
225
|
prepareFlattenedInnerRoot,
|
|
221
226
|
stripSdrPngColourTags
|
|
222
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-JVA3SAGB.js";
|
|
223
228
|
import {
|
|
224
229
|
cannotHardLink,
|
|
225
230
|
collectScratchLeftovers,
|
|
226
231
|
createStagingDir,
|
|
227
232
|
removeScratch,
|
|
228
233
|
renameWithRetry
|
|
229
|
-
} from "./chunk-
|
|
234
|
+
} from "./chunk-KCF6Q54R.js";
|
|
230
235
|
import {
|
|
231
236
|
TRANSITIONS,
|
|
232
237
|
convertTransfer,
|
|
@@ -249,7 +254,7 @@ import {
|
|
|
249
254
|
redactTelemetryString,
|
|
250
255
|
resolveAuthoredTimingWindow,
|
|
251
256
|
toFps
|
|
252
|
-
} from "./chunk-
|
|
257
|
+
} from "./chunk-4IUOWNDS.js";
|
|
253
258
|
import {
|
|
254
259
|
CAPTURE_CANVAS_SELECTOR,
|
|
255
260
|
COMPOSITION_SOURCE_URL,
|
|
@@ -267,6 +272,7 @@ import {
|
|
|
267
272
|
injectDurations,
|
|
268
273
|
injectScriptsAtHeadStart,
|
|
269
274
|
injectScriptsIntoHtml,
|
|
275
|
+
injectTagsAtHeadStart,
|
|
270
276
|
inlineScriptRuns,
|
|
271
277
|
insertBeforeCloseTag,
|
|
272
278
|
isAlwaysAppliedStyle,
|
|
@@ -285,19 +291,19 @@ import {
|
|
|
285
291
|
sourceTimeAt,
|
|
286
292
|
styleElementsFor,
|
|
287
293
|
timeAtSourceTime
|
|
288
|
-
} from "./chunk-
|
|
294
|
+
} from "./chunk-XGEJPKRY.js";
|
|
289
295
|
import {
|
|
290
296
|
isPrivateFileUnder,
|
|
291
297
|
isSafePath,
|
|
292
|
-
|
|
293
|
-
} from "./chunk-
|
|
298
|
+
isStudioPrivatePath
|
|
299
|
+
} from "./chunk-KWTTELUY.js";
|
|
294
300
|
import {
|
|
295
301
|
chromeMajorCeiling
|
|
296
302
|
} from "./chunk-LEIR7IDJ.js";
|
|
297
303
|
import {
|
|
298
304
|
lintHyperframeHtml,
|
|
299
305
|
resolveReferencedStart
|
|
300
|
-
} from "./chunk-
|
|
306
|
+
} from "./chunk-UV3I2TND.js";
|
|
301
307
|
import {
|
|
302
308
|
isUnresolvedAssetPlaceholder,
|
|
303
309
|
namesAnotherNetworkRoot,
|
|
@@ -312,7 +318,7 @@ import {
|
|
|
312
318
|
getSystemTotalMb,
|
|
313
319
|
hostCpuCount,
|
|
314
320
|
usableCpuCount
|
|
315
|
-
} from "./chunk-
|
|
321
|
+
} from "./chunk-L27Z3PZT.js";
|
|
316
322
|
import {
|
|
317
323
|
MEDIA_START_BASIS_ATTR,
|
|
318
324
|
checkSubCompositionUsability,
|
|
@@ -367,7 +373,7 @@ import {
|
|
|
367
373
|
appendFileSync
|
|
368
374
|
} from "fs";
|
|
369
375
|
import { tmpdir as tmpdir2 } from "os";
|
|
370
|
-
import { join as join29, dirname as
|
|
376
|
+
import { join as join29, dirname as dirname12, resolve as resolve6 } from "path";
|
|
371
377
|
import { totalmem as totalmem2 } from "os";
|
|
372
378
|
import { randomUUID } from "crypto";
|
|
373
379
|
import { fileURLToPath as fileURLToPath3 } from "url";
|
|
@@ -1032,6 +1038,7 @@ var HF_BRIDGE_SCRIPT = `(function() {
|
|
|
1032
1038
|
if (bridge()) __realClearInterval(iv);
|
|
1033
1039
|
}, 50);
|
|
1034
1040
|
})();`;
|
|
1041
|
+
var OFFER_NO_FRAMING_SITE_AN_EDITING_PORT = `<meta name="${PREVIEW_FOR_ANOTHER_SITE_META}">`;
|
|
1035
1042
|
var RENDER_CAPTURE_MODE_SHIM = "globalThis.__HF_RENDER_CAPTURE_MODE = true;";
|
|
1036
1043
|
function closeFileServerSafely(fileServer, label, log = defaultLogger) {
|
|
1037
1044
|
try {
|
|
@@ -1079,10 +1086,12 @@ function createFileServer(options) {
|
|
|
1079
1086
|
const bodyScripts = options.bodyScripts ?? [buildRenderModeScript(options.fps), HF_BRIDGE_SCRIPT];
|
|
1080
1087
|
const app = new Hono();
|
|
1081
1088
|
const warnLeftOut = (line) => console.warn(`[FileServer] ${line}`);
|
|
1089
|
+
let listeningPort = -1;
|
|
1082
1090
|
app.use(async function loadEachFileOnlyAsItsNamedType(c, next) {
|
|
1083
1091
|
await next();
|
|
1084
1092
|
c.res.headers.set("X-Content-Type-Options", "nosniff");
|
|
1085
1093
|
});
|
|
1094
|
+
answerOwnLoopbackHostOnly(app, () => listeningPort);
|
|
1086
1095
|
app.get("/*", async (c) => {
|
|
1087
1096
|
let requestPath = c.req.path;
|
|
1088
1097
|
if (requestPath === "/") requestPath = "/index.html";
|
|
@@ -1092,7 +1101,7 @@ function createFileServer(options) {
|
|
|
1092
1101
|
const candidate = join(root, relativePath);
|
|
1093
1102
|
const resolveSymlinks = !allowOutsideProjectAssets && root !== compiledDir;
|
|
1094
1103
|
if (!isPathInside2(candidate, root, { resolveSymlinks })) continue;
|
|
1095
|
-
if (isPrivateFileUnder(root, candidate,
|
|
1104
|
+
if (isPrivateFileUnder(root, candidate, isStudioPrivatePath)) continue;
|
|
1096
1105
|
const checksLinks = allowOutsideProjectAssets && root !== compiledDir;
|
|
1097
1106
|
if (checksLinks && refusesOutsideLink(root, candidate, warnLeftOut)) continue;
|
|
1098
1107
|
file = openRegularFile(candidate);
|
|
@@ -1117,6 +1126,7 @@ function createFileServer(options) {
|
|
|
1117
1126
|
html = injectScriptsAtHeadStart(html, preHeadScripts);
|
|
1118
1127
|
}
|
|
1119
1128
|
html = isIndex ? injectScriptsIntoHtml(html, headScripts, bodyScripts, stripEmbeddedRuntime) : html;
|
|
1129
|
+
html = injectTagsAtHeadStart(html, OFFER_NO_FRAMING_SITE_AN_EDITING_PORT);
|
|
1120
1130
|
return c.text(html, 200, { "Content-Type": contentType });
|
|
1121
1131
|
}
|
|
1122
1132
|
if (ext === ".png") {
|
|
@@ -1178,6 +1188,7 @@ function createFileServer(options) {
|
|
|
1178
1188
|
const server = serve({ fetch: app.fetch, port, hostname: "127.0.0.1" }, (info) => {
|
|
1179
1189
|
const bound = port === 0 ? settleOnBrowserSafePort(server, "127.0.0.1") : Promise.resolve(info.port);
|
|
1180
1190
|
bound.then((boundPort) => {
|
|
1191
|
+
listeningPort = boundPort;
|
|
1181
1192
|
resolve11({
|
|
1182
1193
|
url: `http://localhost:${boundPort}`,
|
|
1183
1194
|
port: boundPort,
|
|
@@ -6579,7 +6590,7 @@ import { join as join17, relative as relative3 } from "path";
|
|
|
6579
6590
|
// ../producer/src/services/htmlCompiler.ts
|
|
6580
6591
|
import { createHash as createHash4 } from "crypto";
|
|
6581
6592
|
import { createReadStream as createReadStream2, existsSync as existsSync10, mkdirSync as mkdirSync7, readFileSync as readFileSync6 } from "fs";
|
|
6582
|
-
import { join as join16, dirname as
|
|
6593
|
+
import { join as join16, dirname as dirname7, resolve as resolve5, basename as basename4, relative as relative2, sep as sep2 } from "path";
|
|
6583
6594
|
|
|
6584
6595
|
// ../producer/src/services/bundledScripts.ts
|
|
6585
6596
|
import { existsSync as existsSync8, readFileSync as readFileSync5 } from "fs";
|
|
@@ -6740,7 +6751,7 @@ function getPositionEditsRenderScript() {
|
|
|
6740
6751
|
|
|
6741
6752
|
// ../producer/src/services/assetMediaType.ts
|
|
6742
6753
|
import { existsSync as existsSync9 } from "fs";
|
|
6743
|
-
import { join as join15 } from "path";
|
|
6754
|
+
import { dirname as dirname6, join as join15 } from "path";
|
|
6744
6755
|
var ASSET_MEDIA_TYPE_MISMATCH = "ASSET_MEDIA_TYPE_MISMATCH";
|
|
6745
6756
|
var AssetMediaTypeMismatchError = class extends Error {
|
|
6746
6757
|
// fallow-ignore-next-line unused-class-member
|
|
@@ -6780,17 +6791,17 @@ function assertAssetMediaTypeProfile(expected, profile, elementIdentity) {
|
|
|
6780
6791
|
}
|
|
6781
6792
|
]);
|
|
6782
6793
|
}
|
|
6783
|
-
function
|
|
6784
|
-
return
|
|
6794
|
+
function mediaAssetRoots(projectDir, compiledDir) {
|
|
6795
|
+
return [projectDir, compiledDir, join15(dirname6(compiledDir), "downloads")];
|
|
6785
6796
|
}
|
|
6786
6797
|
function dropMediaOutsideProject(input) {
|
|
6787
6798
|
const { projectDir, workDir, composition, log } = input;
|
|
6788
6799
|
const compiledDir = join15(workDir, "compiled");
|
|
6789
|
-
const roots =
|
|
6800
|
+
const roots = mediaAssetRoots(projectDir, compiledDir);
|
|
6790
6801
|
const staysInside = ({ id, src }) => {
|
|
6791
|
-
if (!src ||
|
|
6802
|
+
if (!src || isHttpUrl(src)) return true;
|
|
6792
6803
|
const path = resolveProjectRelativeSrc(src, projectDir, compiledDir);
|
|
6793
|
-
if (
|
|
6804
|
+
if (isInsideAssetRoots(path, roots)) return true;
|
|
6794
6805
|
if (input.allowOutsideProjectAssets) {
|
|
6795
6806
|
const refusal = outsideAssetRefusal(projectDir, path);
|
|
6796
6807
|
if (refusal) log.warn(`[Render] ${leftOutOfRender(`Media "${id}"`, src, refusal)}`);
|
|
@@ -6828,7 +6839,7 @@ async function preflightCompositionAssetMediaTypes(input) {
|
|
|
6828
6839
|
];
|
|
6829
6840
|
const byPath = /* @__PURE__ */ new Map();
|
|
6830
6841
|
for (const reference of references) {
|
|
6831
|
-
if (!reference.src ||
|
|
6842
|
+
if (!reference.src || isHttpUrl(reference.src)) continue;
|
|
6832
6843
|
const resolvedPath = resolveProjectRelativeSrc(
|
|
6833
6844
|
reference.src,
|
|
6834
6845
|
input.projectDir,
|
|
@@ -6938,7 +6949,7 @@ function resolveCompositionFile(projectDir, src, assetRoot) {
|
|
|
6938
6949
|
const file = resolveCompositionPath(projectDir, src, assetRoot);
|
|
6939
6950
|
return file !== null && COMPOSITION_FILE.test(file) ? file : null;
|
|
6940
6951
|
}
|
|
6941
|
-
var isPrivateCompositionFile = (projectDir, filePath) => isPrivateFileUnder(projectDir, filePath,
|
|
6952
|
+
var isPrivateCompositionFile = (projectDir, filePath) => isPrivateFileUnder(projectDir, filePath, isStudioPrivatePath);
|
|
6942
6953
|
function assertSubCompositionsUsable(html, projectDir, assetRoot, visited = /* @__PURE__ */ new Set()) {
|
|
6943
6954
|
const { document: document2 } = parseHTML(html);
|
|
6944
6955
|
const hosts = [...document2.querySelectorAll("[data-composition-src]")];
|
|
@@ -6957,7 +6968,10 @@ function assertSubCompositionsUsable(html, projectDir, assetRoot, visited = /* @
|
|
|
6957
6968
|
continue;
|
|
6958
6969
|
}
|
|
6959
6970
|
if (isPrivateCompositionFile(projectDir, filePath)) {
|
|
6960
|
-
problems.push({
|
|
6971
|
+
problems.push({
|
|
6972
|
+
srcPath,
|
|
6973
|
+
detail: "it is git metadata, an env file or a private tool record"
|
|
6974
|
+
});
|
|
6961
6975
|
continue;
|
|
6962
6976
|
}
|
|
6963
6977
|
if (!COMPOSITION_FILE.test(filePath)) {
|
|
@@ -7286,7 +7300,7 @@ async function parseSubCompositions(html, projectDir, downloadDir, visited = /*
|
|
|
7286
7300
|
workItems.map(async (item) => {
|
|
7287
7301
|
const { html: compiledSub } = await compileHtmlFile(
|
|
7288
7302
|
rewriteUnresolvableGsapToCdn(item.rawSubHtml, projectDir, item.srcPath),
|
|
7289
|
-
|
|
7303
|
+
dirname7(item.filePath),
|
|
7290
7304
|
downloadDir,
|
|
7291
7305
|
void 0,
|
|
7292
7306
|
urlByAbsentLocalPath,
|
|
@@ -7948,7 +7962,7 @@ function projectStylesheetFontFamilies(html, projectDir) {
|
|
|
7948
7962
|
const family = /font-family\s*:\s*([^;}]+)/i.exec(face)?.[1]?.trim().replace(/^['"]|['"]$/g, "");
|
|
7949
7963
|
const shipsFile = [...localFontFaceUrlMatches(face)].some(({ parts: [, url = ""] }) => {
|
|
7950
7964
|
const path = decodedUrlPath(url);
|
|
7951
|
-
const file = path.startsWith("/") ? resolve5(projectDir, `.${path}`) : resolve5(
|
|
7965
|
+
const file = path.startsWith("/") ? resolve5(projectDir, `.${path}`) : resolve5(dirname7(sheet), path);
|
|
7952
7966
|
return isPathInside(file, projectDir) && existsSync10(file);
|
|
7953
7967
|
});
|
|
7954
7968
|
if (family && shipsFile) families.push(family);
|
|
@@ -8014,7 +8028,7 @@ async function readLocalFont(absPath) {
|
|
|
8014
8028
|
return { kind: "inline", buffer: Buffer.concat(chunks, totalBytes) };
|
|
8015
8029
|
}
|
|
8016
8030
|
async function embedLocalFontFaces(html, projectDir, assetRoot, log = defaultLogger) {
|
|
8017
|
-
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-
|
|
8031
|
+
const { fontToDataUri: toDataUri } = await import("./deterministicFonts-OXGNMVJE.js");
|
|
8018
8032
|
let result = html;
|
|
8019
8033
|
const embeddedPaths = /* @__PURE__ */ new Set();
|
|
8020
8034
|
const dataUriByAbsolutePath = /* @__PURE__ */ new Map();
|
|
@@ -9859,6 +9873,7 @@ async function runExtractVideosStage(input) {
|
|
|
9859
9873
|
skipFrameExtractionIds = []
|
|
9860
9874
|
} = input;
|
|
9861
9875
|
const stage2Start = Date.now();
|
|
9876
|
+
const assetRoots = job.config.allowOutsideProjectAssets ? void 0 : mediaAssetRoots(projectDir, compiledDir);
|
|
9862
9877
|
const extractionPolicy = resolveVideoExtractionPolicy();
|
|
9863
9878
|
composition.videos = composition.videos.filter(
|
|
9864
9879
|
(video) => !isVideoPastTimelineEnd(video, composition.duration)
|
|
@@ -9877,7 +9892,7 @@ async function runExtractVideosStage(input) {
|
|
|
9877
9892
|
const probeFailures = await Promise.all(
|
|
9878
9893
|
composition.videos.map(async (v) => {
|
|
9879
9894
|
const videoPath = resolveProjectRelativeSrc(v.src, projectDir, compiledDir);
|
|
9880
|
-
if (!
|
|
9895
|
+
if (!opensLocally(videoPath, assetRoots)) return null;
|
|
9881
9896
|
try {
|
|
9882
9897
|
const attempted = extractionPolicy.maxTransientRetries === 0 ? { result: await extractMediaMetadata(videoPath), retries: 0 } : await runVideoExtractionWithRetry(() => extractMediaMetadata(videoPath), {
|
|
9883
9898
|
signal: abortSignal,
|
|
@@ -9915,7 +9930,7 @@ async function runExtractVideosStage(input) {
|
|
|
9915
9930
|
const probed = await Promise.all(
|
|
9916
9931
|
composition.images.map(async (img) => {
|
|
9917
9932
|
const imgPath = resolveProjectRelativeSrc(img.src, projectDir, compiledDir);
|
|
9918
|
-
if (!
|
|
9933
|
+
if (!opensLocally(imgPath, assetRoots)) return null;
|
|
9919
9934
|
const colorSpace = await probeColorSpaceSafely(imgPath, log);
|
|
9920
9935
|
if (isHdrColorSpace(colorSpace)) {
|
|
9921
9936
|
nativeHdrImageIds.add(img.id);
|
|
@@ -9934,6 +9949,7 @@ async function runExtractVideosStage(input) {
|
|
|
9934
9949
|
composition,
|
|
9935
9950
|
urlByAbsentLocalPath,
|
|
9936
9951
|
downloadDir: audioDownloadDir,
|
|
9952
|
+
allowOutsideProjectAssets: job.config.allowOutsideProjectAssets,
|
|
9937
9953
|
signal: abortSignal,
|
|
9938
9954
|
log
|
|
9939
9955
|
});
|
|
@@ -9967,6 +9983,7 @@ async function runExtractVideosStage(input) {
|
|
|
9967
9983
|
shownBoxes,
|
|
9968
9984
|
contentKeyedDirs: [join19(compiledDir, REMOTE_MEDIA_SUBDIR)],
|
|
9969
9985
|
urlByAbsentLocalPath,
|
|
9986
|
+
assetRoots,
|
|
9970
9987
|
onProgress: ({ planned = 0, done = 0 }) => {
|
|
9971
9988
|
framesPlanned += planned;
|
|
9972
9989
|
framesDone += done;
|
|
@@ -10043,10 +10060,14 @@ function isPublicHttpsUrl(url) {
|
|
|
10043
10060
|
return false;
|
|
10044
10061
|
}
|
|
10045
10062
|
}
|
|
10063
|
+
function opensLocally(path, assetRoots) {
|
|
10064
|
+
return existsSync12(path) && (!assetRoots || isInsideAssetRoots(path, assetRoots));
|
|
10065
|
+
}
|
|
10046
10066
|
function localProbeSource(src, input) {
|
|
10047
10067
|
const path = resolveProjectRelativeSrc(src, input.projectDir, input.compiledDir);
|
|
10048
10068
|
const readFrom = input.urlByAbsentLocalPath?.get(path) ?? path;
|
|
10049
|
-
|
|
10069
|
+
const roots = input.allowOutsideProjectAssets ? void 0 : mediaAssetRoots(input.projectDir, input.compiledDir);
|
|
10070
|
+
return isHttpUrl(readFrom) || opensLocally(readFrom, roots) ? readFrom : null;
|
|
10050
10071
|
}
|
|
10051
10072
|
async function remoteProbeSource(video, input) {
|
|
10052
10073
|
if (!isPublicHttpsUrl(video.src)) return null;
|
|
@@ -10175,11 +10196,11 @@ import { join as join22 } from "path";
|
|
|
10175
10196
|
|
|
10176
10197
|
// ../producer/src/services/render/audioDeliveryLimit.ts
|
|
10177
10198
|
import { existsSync as existsSync14 } from "fs";
|
|
10178
|
-
import { dirname as
|
|
10199
|
+
import { dirname as dirname9, join as join21 } from "path";
|
|
10179
10200
|
|
|
10180
10201
|
// ../producer/src/services/render/audioPadTrim.ts
|
|
10181
10202
|
import { spawn } from "child_process";
|
|
10182
|
-
import { dirname as
|
|
10203
|
+
import { dirname as dirname8, join as join20 } from "path";
|
|
10183
10204
|
|
|
10184
10205
|
// ../producer/src/services/render/audioTruePeak.ts
|
|
10185
10206
|
var toDbfs = (token) => token.toLowerCase() === "-inf" ? Number.NEGATIVE_INFINITY : Number(token);
|
|
@@ -10453,7 +10474,7 @@ async function cutSource(input, scratchDir, attenuationDb) {
|
|
|
10453
10474
|
async function enforceAacTruePeak(input) {
|
|
10454
10475
|
let scratchDir;
|
|
10455
10476
|
try {
|
|
10456
|
-
scratchDir = createStagingDir(
|
|
10477
|
+
scratchDir = createStagingDir(dirname8(input.audioPath), ".true-peak-");
|
|
10457
10478
|
const correctedPath = join20(scratchDir, "audio.m4a");
|
|
10458
10479
|
const measurements = [];
|
|
10459
10480
|
let attenuationDb = 0;
|
|
@@ -10664,7 +10685,7 @@ async function limitDeliveryPeaks(input, deps = {
|
|
|
10664
10685
|
const peak = await deps.measure(audioPath, { timeoutMs, signal });
|
|
10665
10686
|
if (peak <= AAC_DELIVERY_TRUE_PEAK_DBFS) return { success: true };
|
|
10666
10687
|
const alternating = ["a", "b"].map(
|
|
10667
|
-
(k) => join21(
|
|
10688
|
+
(k) => join21(dirname9(sourcePath), `audio-source-limited-${k}.wav`)
|
|
10668
10689
|
);
|
|
10669
10690
|
let encodedFrom;
|
|
10670
10691
|
let ceiling = AAC_DELIVERY_TRUE_PEAK_DBFS;
|
|
@@ -10822,7 +10843,8 @@ async function mixAudioForDelivery(input, duration, pcmSourcePath) {
|
|
|
10822
10843
|
masterFxChain,
|
|
10823
10844
|
urlByAbsentLocalPath,
|
|
10824
10845
|
audioSidecarUrlByLocalPath,
|
|
10825
|
-
keepEncoderInputAt: pcmSourcePath
|
|
10846
|
+
keepEncoderInputAt: pcmSourcePath,
|
|
10847
|
+
assetRoots: input.allowOutsideProjectAssets ? void 0 : mediaAssetRoots(projectDir, compiledDir)
|
|
10826
10848
|
},
|
|
10827
10849
|
compiledDir
|
|
10828
10850
|
);
|
|
@@ -11465,7 +11487,7 @@ import { join as join26 } from "path";
|
|
|
11465
11487
|
// ../producer/src/services/shaderTransitionWorkerPool.ts
|
|
11466
11488
|
import { Worker } from "worker_threads";
|
|
11467
11489
|
import { fileURLToPath as fileURLToPath2, pathToFileURL } from "url";
|
|
11468
|
-
import { dirname as
|
|
11490
|
+
import { dirname as dirname10, join as join25 } from "path";
|
|
11469
11491
|
import { createRequire } from "module";
|
|
11470
11492
|
import { existsSync as existsSync17 } from "fs";
|
|
11471
11493
|
function resolveWorkerEntry(explicit) {
|
|
@@ -11477,7 +11499,7 @@ function resolveWorkerEntry(explicit) {
|
|
|
11477
11499
|
const isTs = override.endsWith(".ts");
|
|
11478
11500
|
return { path: override, isTs };
|
|
11479
11501
|
}
|
|
11480
|
-
const moduleDir =
|
|
11502
|
+
const moduleDir = dirname10(fileURLToPath2(import.meta.url));
|
|
11481
11503
|
const jsPath = join25(moduleDir, "shaderTransitionWorker.js");
|
|
11482
11504
|
if (existsSync17(jsPath)) return { path: jsPath, isTs: false };
|
|
11483
11505
|
const tsPath = join25(moduleDir, "shaderTransitionWorker.ts");
|
|
@@ -12206,7 +12228,7 @@ import {
|
|
|
12206
12228
|
writeFileSync as writeFileSync5
|
|
12207
12229
|
} from "fs";
|
|
12208
12230
|
import { readFile as readFile2 } from "fs/promises";
|
|
12209
|
-
import { dirname as
|
|
12231
|
+
import { dirname as dirname11, join as join28 } from "path";
|
|
12210
12232
|
|
|
12211
12233
|
// ../producer/src/services/render/stages/gifEncodeArgs.ts
|
|
12212
12234
|
function fpsToFfmpegArg2(fps) {
|
|
@@ -12509,7 +12531,7 @@ async function runEncodeStage(input) {
|
|
|
12509
12531
|
const encodeResult2 = await encodeGifFromDir(framesDir, framePattern2, outputPath, {
|
|
12510
12532
|
fps: job.config.fps,
|
|
12511
12533
|
loop,
|
|
12512
|
-
palettePath: join28(
|
|
12534
|
+
palettePath: join28(dirname11(videoOnlyPath), "gif-palette.png"),
|
|
12513
12535
|
preserveAlpha: needsAlpha,
|
|
12514
12536
|
signal: abortSignal,
|
|
12515
12537
|
timeout: engineCfg.ffmpegEncodeTimeout
|
|
@@ -12953,7 +12975,7 @@ function getNextRetryWorkerCount(currentWorkers) {
|
|
|
12953
12975
|
}
|
|
12954
12976
|
function resolveRenderWorkDirPrefix(outputPath, jobId, platform2 = process.platform, systemTempDir = tmpdir2()) {
|
|
12955
12977
|
if (platform2 === "win32" || platform2 === "darwin") return join29(systemTempDir, "hf-render-");
|
|
12956
|
-
return join29(
|
|
12978
|
+
return join29(dirname12(outputPath), `work-${jobId}-`);
|
|
12957
12979
|
}
|
|
12958
12980
|
var MAX_TRANSIENT_CAPTURE_RETRIES = 1;
|
|
12959
12981
|
function isTransientCaptureRetryEligible(failureKind, missing, retriesUsed) {
|
|
@@ -13679,7 +13701,7 @@ function deVerifyFallbackTelemetry(err) {
|
|
|
13679
13701
|
};
|
|
13680
13702
|
}
|
|
13681
13703
|
function resolveRenderDebugDir() {
|
|
13682
|
-
const producerRoot = process.env.PRODUCER_RENDERS_DIR ? resolve6(process.env.PRODUCER_RENDERS_DIR, "..") : resolve6(
|
|
13704
|
+
const producerRoot = process.env.PRODUCER_RENDERS_DIR ? resolve6(process.env.PRODUCER_RENDERS_DIR, "..") : resolve6(dirname12(fileURLToPath3(import.meta.url)), "../..");
|
|
13683
13705
|
return join29(producerRoot, ".debug");
|
|
13684
13706
|
}
|
|
13685
13707
|
async function executeRenderJob(job, projectDir, outputPath, progressSink, abortSignal, assertRenderActive) {
|
|
@@ -13687,7 +13709,7 @@ async function executeRenderJob(job, projectDir, outputPath, progressSink, abort
|
|
|
13687
13709
|
validateDeliveryEncoderConfig(job.config);
|
|
13688
13710
|
validateChromaSubsamplingConfig(job.config);
|
|
13689
13711
|
const debugDir = resolveRenderDebugDir();
|
|
13690
|
-
const outputDir =
|
|
13712
|
+
const outputDir = dirname12(outputPath);
|
|
13691
13713
|
if (!existsSync20(outputDir)) mkdirSync10(outputDir, { recursive: true });
|
|
13692
13714
|
const workDir = job.config.debug ? join29(debugDir, job.id) : createRenderWorkDir(resolveRenderWorkDirPrefix(outputPath, job.id), outputDir);
|
|
13693
13715
|
const pipelineStart = Date.now();
|
|
@@ -14186,6 +14208,7 @@ async function executeRenderPipeline(input) {
|
|
|
14186
14208
|
audioGain: cfg.audioGain,
|
|
14187
14209
|
audios: composition.audios,
|
|
14188
14210
|
masterFxChain: composition.masterFxChain,
|
|
14211
|
+
allowOutsideProjectAssets: job.config.allowOutsideProjectAssets,
|
|
14189
14212
|
abortSignal: executionSignal,
|
|
14190
14213
|
assertNotAborted,
|
|
14191
14214
|
log,
|
|
@@ -15853,7 +15876,7 @@ import { tmpdir as tmpdir4 } from "os";
|
|
|
15853
15876
|
// ../producer/src/services/distributed/mp4Stitch.ts
|
|
15854
15877
|
import { createReadStream as createReadStream3, createWriteStream, mkdirSync as mkdirSync11, rmSync as rmSync11 } from "fs";
|
|
15855
15878
|
import { open } from "fs/promises";
|
|
15856
|
-
import { basename as basename6, dirname as
|
|
15879
|
+
import { basename as basename6, dirname as dirname13, join as join30 } from "path";
|
|
15857
15880
|
import { finished, pipeline } from "stream/promises";
|
|
15858
15881
|
function boxAt(src, off, at, limit) {
|
|
15859
15882
|
let size = src.readUInt32BE(off);
|
|
@@ -16217,8 +16240,8 @@ async function writeStitchedMp4(chunkPaths, outputPath, audioPath) {
|
|
|
16217
16240
|
const sourcePaths = audioPath ? [audioPath, ...chunkPaths] : chunkPaths;
|
|
16218
16241
|
const layouts = await Promise.all(sourcePaths.map((path) => readMp4Layout(fileRange(path))));
|
|
16219
16242
|
const header = audioPath ? buildStitchedHeader(layouts.slice(1), layouts[0]) : buildStitchedHeader(layouts);
|
|
16220
|
-
mkdirSync11(
|
|
16221
|
-
const workDir = createStagingDir(
|
|
16243
|
+
mkdirSync11(dirname13(outputPath), { recursive: true });
|
|
16244
|
+
const workDir = createStagingDir(dirname13(outputPath), `${basename6(outputPath)}.stitch-`);
|
|
16222
16245
|
const out = createWriteStream(join30(workDir, "out.mp4"));
|
|
16223
16246
|
try {
|
|
16224
16247
|
out.write(header);
|
|
@@ -16253,7 +16276,7 @@ import { extname as extname4, join as join32 } from "path";
|
|
|
16253
16276
|
|
|
16254
16277
|
// ../producer/src/services/distributed/shared.ts
|
|
16255
16278
|
import { execFile as execFileCallback } from "child_process";
|
|
16256
|
-
import { dirname as
|
|
16279
|
+
import { dirname as dirname14, join as join31 } from "path";
|
|
16257
16280
|
import { existsSync as existsSync21, readFileSync as readFileSync8 } from "fs";
|
|
16258
16281
|
import { fileURLToPath as fileURLToPath4 } from "url";
|
|
16259
16282
|
import { promisify as promisify2 } from "util";
|
|
@@ -16525,7 +16548,7 @@ function buildSyntheticRenderJob(input) {
|
|
|
16525
16548
|
var cachedProducerVersion = null;
|
|
16526
16549
|
function readProducerVersion() {
|
|
16527
16550
|
if (cachedProducerVersion !== null) return cachedProducerVersion;
|
|
16528
|
-
const startDir =
|
|
16551
|
+
const startDir = dirname14(fileURLToPath4(import.meta.url));
|
|
16529
16552
|
let current = startDir;
|
|
16530
16553
|
for (let i = 0; i < 10; i++) {
|
|
16531
16554
|
const candidate = join31(current, "package.json");
|
|
@@ -16539,7 +16562,7 @@ function readProducerVersion() {
|
|
|
16539
16562
|
} catch {
|
|
16540
16563
|
}
|
|
16541
16564
|
}
|
|
16542
|
-
const parent =
|
|
16565
|
+
const parent = dirname14(current);
|
|
16543
16566
|
if (parent === current) break;
|
|
16544
16567
|
current = parent;
|
|
16545
16568
|
}
|
|
@@ -18108,7 +18131,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
|
|
|
18108
18131
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
18109
18132
|
if (probeResult.probeSession) {
|
|
18110
18133
|
try {
|
|
18111
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
18134
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-EKGFNTTY.js");
|
|
18112
18135
|
await closeCaptureSession2(probeResult.probeSession);
|
|
18113
18136
|
} catch (err) {
|
|
18114
18137
|
log.warn("[plan] probe session close failed", {
|
|
@@ -18148,6 +18171,7 @@ function mixPlanAudio(c, compiledDir) {
|
|
|
18148
18171
|
compiledDir,
|
|
18149
18172
|
urlByAbsentLocalPath: c.urlByAbsentLocalPath,
|
|
18150
18173
|
audioSidecarUrlByLocalPath: c.audioSidecarUrlByLocalPath,
|
|
18174
|
+
allowOutsideProjectAssets: c.job.config.allowOutsideProjectAssets,
|
|
18151
18175
|
totalFrames: c.totalFrames,
|
|
18152
18176
|
fps: c.job.config.fps,
|
|
18153
18177
|
ffmpegProcessTimeout: c.cfg.ffmpegProcessTimeout,
|
|
@@ -18485,7 +18509,7 @@ import {
|
|
|
18485
18509
|
writeFileSync as writeFileSync11
|
|
18486
18510
|
} from "fs";
|
|
18487
18511
|
import { tmpdir as tmpdir3 } from "os";
|
|
18488
|
-
import { dirname as
|
|
18512
|
+
import { dirname as dirname16, isAbsolute as isAbsolute3, join as join41, relative as relative7, resolve as resolve8, sep as sep4 } from "path";
|
|
18489
18513
|
|
|
18490
18514
|
// ../producer/src/services/distributed/planV2Publisher.ts
|
|
18491
18515
|
import {
|
|
@@ -18497,7 +18521,7 @@ import {
|
|
|
18497
18521
|
statSync as statSync8,
|
|
18498
18522
|
writeFileSync as writeFileSync10
|
|
18499
18523
|
} from "fs";
|
|
18500
|
-
import { dirname as
|
|
18524
|
+
import { dirname as dirname15, join as join40 } from "path";
|
|
18501
18525
|
|
|
18502
18526
|
// ../producer/src/services/distributed/planV2Errors.ts
|
|
18503
18527
|
var PLAN_V2_INTEGRITY_UNRECOVERABLE = "PLAN_V2_INTEGRITY_UNRECOVERABLE";
|
|
@@ -18557,8 +18581,8 @@ var LocalPlanV2ArtifactPublisher = class {
|
|
|
18557
18581
|
}
|
|
18558
18582
|
this.destinationDir = destinationDir;
|
|
18559
18583
|
this.#linkFile = options.linkFile ?? linkSync2;
|
|
18560
|
-
mkdirSync15(
|
|
18561
|
-
this.temporaryDir = createStagingDir(
|
|
18584
|
+
mkdirSync15(dirname15(destinationDir), { recursive: true });
|
|
18585
|
+
this.temporaryDir = createStagingDir(dirname15(destinationDir), ".plan-v2-publish-");
|
|
18562
18586
|
}
|
|
18563
18587
|
async putBlob(blob) {
|
|
18564
18588
|
const digest = assertPlanV2Sha256(blob.sha256, "published blob sha256");
|
|
@@ -18570,8 +18594,8 @@ var LocalPlanV2ArtifactPublisher = class {
|
|
|
18570
18594
|
}
|
|
18571
18595
|
const destinationPath = planV2BlobPath(this.temporaryDir, digest);
|
|
18572
18596
|
if (existsSync26(destinationPath)) return;
|
|
18573
|
-
mkdirSync15(
|
|
18574
|
-
const stagingDir = createStagingDir(
|
|
18597
|
+
mkdirSync15(dirname15(destinationPath), { recursive: true });
|
|
18598
|
+
const stagingDir = createStagingDir(dirname15(destinationPath), ".plan-v2-blob-");
|
|
18575
18599
|
const temporaryPath = join40(stagingDir, "blob");
|
|
18576
18600
|
try {
|
|
18577
18601
|
try {
|
|
@@ -18861,8 +18885,8 @@ function computeManifestHash(manifest) {
|
|
|
18861
18885
|
}
|
|
18862
18886
|
function writeBlob(sourcePath, destinationPath) {
|
|
18863
18887
|
if (existsSync27(destinationPath)) return;
|
|
18864
|
-
mkdirSync16(
|
|
18865
|
-
const temporaryDir = createStagingDir(
|
|
18888
|
+
mkdirSync16(dirname16(destinationPath), { recursive: true });
|
|
18889
|
+
const temporaryDir = createStagingDir(dirname16(destinationPath), ".plan-v2-blob-");
|
|
18866
18890
|
const temporaryPath = join41(temporaryDir, "blob");
|
|
18867
18891
|
try {
|
|
18868
18892
|
copyFileSync6(sourcePath, temporaryPath);
|
|
@@ -18987,8 +19011,8 @@ function createPlanV2FromExecutionPlan(executionPlanDir, planV2Dir) {
|
|
|
18987
19011
|
if (publication.storedBlobs.length > 0) {
|
|
18988
19012
|
throw new PlanV2IntegrityError("a local plan v2 directory cannot reference remote files");
|
|
18989
19013
|
}
|
|
18990
|
-
mkdirSync16(
|
|
18991
|
-
const tempDir = createStagingDir(
|
|
19014
|
+
mkdirSync16(dirname16(planV2Dir), { recursive: true });
|
|
19015
|
+
const tempDir = createStagingDir(dirname16(planV2Dir), ".plan-v2-build-");
|
|
18992
19016
|
try {
|
|
18993
19017
|
for (const blob of publication.blobs) {
|
|
18994
19018
|
writeBlob(blob.sourcePath, planV2BlobPath(tempDir, blob.sha256));
|
|
@@ -19072,7 +19096,7 @@ async function planV2(projectDir, config, planV2Dir) {
|
|
|
19072
19096
|
}
|
|
19073
19097
|
const publisher = new LocalPlanV2ArtifactPublisher(planV2Dir);
|
|
19074
19098
|
const manifest = await planV2WithPublisher(projectDir, config, publisher, {
|
|
19075
|
-
stagingParentDir:
|
|
19099
|
+
stagingParentDir: dirname16(planV2Dir)
|
|
19076
19100
|
});
|
|
19077
19101
|
return resultFromManifest(planV2Dir, manifest);
|
|
19078
19102
|
}
|
|
@@ -19265,12 +19289,12 @@ function materializePlanV2Target(planV2Dir, target, destinationDir, options = {}
|
|
|
19265
19289
|
artifact,
|
|
19266
19290
|
sourcePath: verifyBlob(planV2Dir, artifact)
|
|
19267
19291
|
}));
|
|
19268
|
-
mkdirSync16(
|
|
19269
|
-
const tempDir = createStagingDir(
|
|
19292
|
+
mkdirSync16(dirname16(destinationDir), { recursive: true });
|
|
19293
|
+
const tempDir = createStagingDir(dirname16(destinationDir), ".plan-v2-materialize-");
|
|
19270
19294
|
try {
|
|
19271
19295
|
for (const { artifact, sourcePath } of verified) {
|
|
19272
19296
|
const destinationPath = join41(tempDir, ...artifact.path.split("/"));
|
|
19273
|
-
mkdirSync16(
|
|
19297
|
+
mkdirSync16(dirname16(destinationPath), { recursive: true });
|
|
19274
19298
|
copyFileSync6(sourcePath, destinationPath);
|
|
19275
19299
|
}
|
|
19276
19300
|
if (target.role === "chunk") materializeExtractedVideoDirectories(tempDir);
|
|
@@ -20707,7 +20731,7 @@ import {
|
|
|
20707
20731
|
rmSync as rmSync17,
|
|
20708
20732
|
createReadStream as createReadStream5
|
|
20709
20733
|
} from "fs";
|
|
20710
|
-
import { resolve as resolve10, dirname as
|
|
20734
|
+
import { resolve as resolve10, dirname as dirname18, join as join46 } from "path";
|
|
20711
20735
|
import { tmpdir as tmpdir5 } from "os";
|
|
20712
20736
|
import { parseArgs } from "util";
|
|
20713
20737
|
import { isIP } from "net";
|
|
@@ -20842,7 +20866,7 @@ async function runHyperframeLint(prepared) {
|
|
|
20842
20866
|
// ../producer/src/services/healthWorker.ts
|
|
20843
20867
|
import { Worker as Worker2 } from "worker_threads";
|
|
20844
20868
|
import { fileURLToPath as fileURLToPath5 } from "url";
|
|
20845
|
-
import { dirname as
|
|
20869
|
+
import { dirname as dirname17, join as join45 } from "path";
|
|
20846
20870
|
import { existsSync as existsSync30 } from "fs";
|
|
20847
20871
|
var DEFAULT_HEALTH_PORT = 9848;
|
|
20848
20872
|
async function startHealthWorker(options = {}) {
|
|
@@ -20917,7 +20941,7 @@ function defaultLogger2() {
|
|
|
20917
20941
|
};
|
|
20918
20942
|
}
|
|
20919
20943
|
function resolveWorkerEntry2() {
|
|
20920
|
-
const here =
|
|
20944
|
+
const here = dirname17(fileURLToPath5(import.meta.url));
|
|
20921
20945
|
const candidates = [join45(here, "healthWorkerThread.js"), join45(here, "healthWorkerThread.ts")];
|
|
20922
20946
|
for (const candidate of candidates) {
|
|
20923
20947
|
if (existsSync30(candidate)) return candidate;
|
|
@@ -21081,7 +21105,7 @@ function resolvePreparedRenderOutput(prepared, rendersDir, log, confineOutput) {
|
|
|
21081
21105
|
throw new Error("outputPath must be inside the renders directory");
|
|
21082
21106
|
}
|
|
21083
21107
|
}
|
|
21084
|
-
const outputDir =
|
|
21108
|
+
const outputDir = dirname18(absoluteOutputPath);
|
|
21085
21109
|
if (!existsSync31(outputDir)) mkdirSync19(outputDir, { recursive: true });
|
|
21086
21110
|
return { input, cleanupProjectDir, absoluteOutputPath };
|
|
21087
21111
|
}
|
|
@@ -21726,7 +21750,7 @@ function startServer(options = {}) {
|
|
|
21726
21750
|
});
|
|
21727
21751
|
async function shutdown(signal) {
|
|
21728
21752
|
log.info(`Received ${signal}, shutting down`);
|
|
21729
|
-
const { drainBrowserPool } = await import("./src-
|
|
21753
|
+
const { drainBrowserPool } = await import("./src-EKGFNTTY.js");
|
|
21730
21754
|
await drainBrowserPool().catch(() => {
|
|
21731
21755
|
});
|
|
21732
21756
|
const handle = await Promise.race([
|
|
@@ -21777,7 +21801,7 @@ import {
|
|
|
21777
21801
|
statSync as statSync12,
|
|
21778
21802
|
writeFileSync as writeFileSync14
|
|
21779
21803
|
} from "fs";
|
|
21780
|
-
import { basename as basename7, dirname as
|
|
21804
|
+
import { basename as basename7, dirname as dirname19, join as join47 } from "path";
|
|
21781
21805
|
function cfrRateControlArgs(locked) {
|
|
21782
21806
|
const preset = getEncoderPreset(locked.quality ?? "standard", "mp4");
|
|
21783
21807
|
if (locked.crf == null && locked.bitrate) {
|
|
@@ -21810,10 +21834,10 @@ async function assemble(planDir, chunkOutputs, audioPath, outputPath, options) {
|
|
|
21810
21834
|
}
|
|
21811
21835
|
const format = plan2.dimensions.format;
|
|
21812
21836
|
const cfrEncoder = cfr ? readCfrEncoder(planDir, format) : null;
|
|
21813
|
-
if (!existsSync32(
|
|
21814
|
-
mkdirSync20(
|
|
21837
|
+
if (!existsSync32(dirname19(outputPath))) {
|
|
21838
|
+
mkdirSync20(dirname19(outputPath), { recursive: true });
|
|
21815
21839
|
}
|
|
21816
|
-
const workDir = createStagingDir(
|
|
21840
|
+
const workDir = createStagingDir(dirname19(outputPath), `${basename7(outputPath)}.assemble-work-`);
|
|
21817
21841
|
const fps = { num: plan2.dimensions.fpsNum, den: plan2.dimensions.fpsDen };
|
|
21818
21842
|
const stageMs = {};
|
|
21819
21843
|
const ctx = {
|