hyperframes 0.9.51 → 0.9.53
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-SERNROOY.js → add-TZFSLV5M.js} +21 -16
- package/dist/{agentPromptGenerator-GVWX5P55.js → agentPromptGenerator-OPQZUVYC.js} +12 -17
- package/dist/{animatedGifPrep-53UU67BG.js → animatedGifPrep-DEK4XZYT.js} +15 -16
- package/dist/api.js +46 -46
- package/dist/{asset-MCBHJZCT.js → asset-3BIBG7LB.js} +2 -2
- package/dist/{assetCataloger-4DS44LB2.js → assetCataloger-R4NWWO4P.js} +13 -13
- package/dist/{audio-RCVQDNXZ.js → audio-N3DHNT3F.js} +38 -31
- package/dist/{auth-MS46YSQ5.js → auth-CBF2DVRT.js} +5 -5
- package/dist/{autoUpdate-KECZLRZD.js → autoUpdate-UJB4MI4Z.js} +5 -3
- package/dist/{avatars-VYEPMXIO.js → avatars-JVATTQYO.js} +21 -19
- package/dist/{backgroundChecks-HAX5LQ2L.js → backgroundChecks-R7SFELIM.js} +6 -4
- package/dist/backgroundChecksWorker.js +6 -5
- package/dist/{batchRender-VKM4E7PI.js → batchRender-D4VO4OCF.js} +26 -7
- package/dist/{beats-WZSPVMQ4.js → beats-UCYZ7MKK.js} +14 -14
- package/dist/{benchmark-O5GWBFWE.js → benchmark-3NMJO5DK.js} +31 -14
- package/dist/{billing-D6ZZNKPW.js → billing-76JTGOHN.js} +18 -17
- package/dist/{browser-YHAPXFOK.js → browser-5XXA4O25.js} +11 -11
- package/dist/{bundleWithLocalizedFonts-Z5IHK62J.js → bundleWithLocalizedFonts-S7DIF43W.js} +1 -1
- package/dist/{capture-VAY75ASS.js → capture-EV4G3SCY.js} +33 -34
- package/dist/{capture-5WTC5QWV.js → capture-JHMVFAUS.js} +4 -4
- package/dist/{captureCompositionFrame-6DCRCIKA.js → captureCompositionFrame-3M3BFHZH.js} +19 -19
- package/dist/{catalog-CH4H6C5E.js → catalog-WVZJ6XYV.js} +21 -16
- package/dist/{catch-up-KT6MHQBO.js → catch-up-FQ5KCZIH.js} +11 -11
- package/dist/{check-6L7IEY5U.js → check-VTUVZWCF.js} +52 -49
- package/dist/{checkAudio-EAM7FCLJ.js → checkAudio-FYRBXK22.js} +19 -19
- package/dist/{checkBrowser-IIMZI2LZ.js → checkBrowser-EJQEWSIH.js} +46 -43
- package/dist/{chunk-KQRSEH4X.js → chunk-2ODGEXNH.js} +4 -4
- package/dist/{chunk-TE3CITOB.js → chunk-2ST2FAVH.js} +2 -2
- package/dist/{chunk-PNJ4M4QZ.js → chunk-2YSQU74C.js} +9 -9
- package/dist/{chunk-XEMS4TXW.js → chunk-346RTE74.js} +1 -1
- package/dist/{chunk-Z46RV43W.js → chunk-35PKJPEI.js} +2 -2
- package/dist/{chunk-MQGRMXFN.js → chunk-365OGBQ2.js} +3 -3
- package/dist/chunk-3FHPYC6X.js +5069 -0
- package/dist/{chunk-6PXVXIC7.js → chunk-3FL7MKQH.js} +163 -60
- package/dist/{chunk-77KEU6NG.js → chunk-3HQ4C4HI.js} +2 -2
- package/dist/{chunk-K27EQ4Z4.js → chunk-43ILJV43.js} +11 -11
- package/dist/{chunk-FDBK2NOH.js → chunk-44OCDK5C.js} +4 -4
- package/dist/{chunk-RQX5C7JD.js → chunk-47IXIEBQ.js} +1 -1
- package/dist/{chunk-FCNMU7LC.js → chunk-4FOHO7GC.js} +1 -1
- package/dist/{chunk-V7M6HV23.js → chunk-4KRID4YV.js} +1 -1
- package/dist/{chunk-MR7VKWYT.js → chunk-4KS3GL5I.js} +1 -1
- package/dist/{chunk-4Q2HYZZK.js → chunk-4TJGOQER.js} +58 -3
- package/dist/{chunk-I4XV2UMQ.js → chunk-562X3KBJ.js} +2 -2
- package/dist/chunk-5A75E4OT.js +72 -0
- package/dist/{chunk-BPNCNZG5.js → chunk-5CRHNVJW.js} +3 -3
- package/dist/{chunk-22EEGJLH.js → chunk-5JOYZGHQ.js} +82 -54
- package/dist/{chunk-EMX4P4WP.js → chunk-5SMHNPMW.js} +2 -2
- package/dist/{chunk-HGDOOG4T.js → chunk-6CO6L3YP.js} +1 -1
- package/dist/{chunk-MP4TEYUJ.js → chunk-6EMFSRTW.js} +4 -1
- package/dist/{chunk-H4LCNEA2.js → chunk-6F4ZVQUX.js} +195 -128
- package/dist/{chunk-YRXIEP35.js → chunk-6RPLXBZJ.js} +89 -10
- package/dist/{chunk-7RLMDAUO.js → chunk-6T4PB35F.js} +2 -1
- package/dist/{chunk-VOJ3ICMF.js → chunk-7ELQHSEE.js} +1 -1
- package/dist/{chunk-TQMTMD72.js → chunk-7FU5JCAK.js} +1 -1
- package/dist/{chunk-5XSIAXIP.js → chunk-B3WRUPRS.js} +2 -2
- package/dist/{chunk-N5IAKDUQ.js → chunk-BCJJ64JG.js} +1 -1
- package/dist/{chunk-P3K7LZCY.js → chunk-BH5P5QZN.js} +4 -4
- package/dist/{chunk-MZD5KJDU.js → chunk-BQRJZDSM.js} +15 -15
- package/dist/{chunk-BQCW5T3M.js → chunk-BS36NRXV.js} +1 -1
- package/dist/{chunk-ACFNPUL7.js → chunk-CBV4W4R3.js} +2 -2
- package/dist/{chunk-UX2KMUKC.js → chunk-CTHG3WLB.js} +9 -9
- package/dist/{chunk-7ADDESOW.js → chunk-CYBOQOKO.js} +1 -1
- package/dist/{chunk-DPVXBVLL.js → chunk-DZWAYZG2.js} +6254 -6096
- package/dist/{chunk-COHL5422.js → chunk-E3LZAM64.js} +5 -5
- package/dist/{chunk-B2ZZYISD.js → chunk-ECGNWHFE.js} +29 -6
- package/dist/{chunk-WQ2N2AG7.js → chunk-ES273AD6.js} +3 -3
- package/dist/{chunk-R64WJS45.js → chunk-FH6KC5EF.js} +6 -6
- package/dist/{chunk-CLRM7ZI5.js → chunk-FLPVKGBS.js} +2 -2
- package/dist/{chunk-4ZNB3EXI.js → chunk-FM5JRUWL.js} +6 -6
- package/dist/{chunk-D3DY7Q6S.js → chunk-FQMP2KFS.js} +2 -2
- package/dist/{chunk-LJFGZKVL.js → chunk-FRM4EM52.js} +15 -15
- package/dist/chunk-FSBV6Z7E.js +351 -0
- package/dist/{chunk-U7ZCBWNM.js → chunk-FU2R6OVR.js} +3 -3
- package/dist/{chunk-USYPUTGC.js → chunk-FZNH7SCB.js} +1 -1
- package/dist/{chunk-IUIFNZTJ.js → chunk-G5FNJQER.js} +31 -27
- package/dist/{chunk-UZGN5MTD.js → chunk-G7GTO4YP.js} +4 -4
- package/dist/{chunk-WN4W76IQ.js → chunk-GDWPLGHY.js} +1 -1
- package/dist/{chunk-XILU2D2B.js → chunk-GVUG5VDL.js} +1 -1
- package/dist/{chunk-MRJQQDZR.js → chunk-GZG2Z2O2.js} +2 -2
- package/dist/{chunk-2BRVSU2O.js → chunk-H5K3FS4W.js} +4 -4
- package/dist/{chunk-MOTJT42J.js → chunk-HJ2YUPBF.js} +13 -1
- package/dist/{chunk-47MEWWCO.js → chunk-HY25JZQ2.js} +2 -2
- package/dist/{chunk-DONVZZLV.js → chunk-HYO4DIYT.js} +1 -1
- package/dist/{chunk-DMF4ML3Y.js → chunk-HZ2CD6RL.js} +1 -1
- package/dist/{chunk-2L2A2HRW.js → chunk-I7NTTMET.js} +326 -114
- package/dist/{chunk-PALZMYFH.js → chunk-I7SJBRVT.js} +3 -3
- package/dist/{chunk-YQSW3GXC.js → chunk-IB5DXMAH.js} +4 -4
- package/dist/{chunk-MI54IK7G.js → chunk-IEESWUIQ.js} +11 -2
- package/dist/{chunk-6MKM2RVL.js → chunk-IH2C53YV.js} +460 -1
- package/dist/{chunk-R5OSZK62.js → chunk-IH56MGAB.js} +10 -10
- package/dist/{chunk-6MYO2IHD.js → chunk-IHXMN5YH.js} +7 -0
- package/dist/{chunk-YHJOTCTV.js → chunk-IJYIIHGK.js} +10 -5
- package/dist/{chunk-UX2SUCRS.js → chunk-ISVRNYE5.js} +1 -1
- package/dist/{chunk-HZLN3V3P.js → chunk-IXUIJ7OL.js} +3 -3
- package/dist/chunk-JCFOSR7Z.js +181 -0
- package/dist/{chunk-6WHTS73J.js → chunk-JNM4WG7C.js} +1 -1
- package/dist/{chunk-WSZJS4QC.js → chunk-KDDRDNEE.js} +60 -9
- package/dist/{chunk-UAU4SIOQ.js → chunk-KEZ7QIJN.js} +6 -6
- package/dist/{chunk-SFJWTPOF.js → chunk-KKO4PRB5.js} +1 -1
- package/dist/{chunk-M3BJEZ7E.js → chunk-KPFJGQ6M.js} +45 -12
- package/dist/{chunk-CTRYPHSE.js → chunk-LKWN2F7O.js} +2 -2
- package/dist/{chunk-TJXXLWQ4.js → chunk-N2YHCAFL.js} +50 -15
- package/dist/{chunk-Z2EKCD7H.js → chunk-NCPSUM5A.js} +1 -1
- package/dist/{chunk-WIZBFUBI.js → chunk-NVGB7L2M.js} +2 -2
- package/dist/{chunk-GTCPI2UK.js → chunk-OLVZAALP.js} +2 -2
- package/dist/{chunk-UHTWJOJ6.js → chunk-OSKSTJNQ.js} +22 -3
- package/dist/{chunk-QUUZ2BGC.js → chunk-OUPWEFUM.js} +1 -1
- package/dist/{chunk-4QFWV5GQ.js → chunk-P2ZMVHTF.js} +2 -1
- package/dist/{chunk-T6VQGCN3.js → chunk-PPLFDG7N.js} +9 -5
- package/dist/{chunk-UBHBB3TB.js → chunk-PUT3NPVE.js} +43 -51
- package/dist/{chunk-IMNIW22F.js → chunk-PYOCEDTU.js} +2 -2
- package/dist/{chunk-SBQLLGXW.js → chunk-Q5P7YJXO.js} +2 -2
- package/dist/{chunk-XPAQK6E4.js → chunk-QBDT7Z5D.js} +38 -22
- package/dist/{chunk-3LIMD4YP.js → chunk-QBN2W4T3.js} +6 -8
- package/dist/{chunk-LOKPWAFW.js → chunk-QXYR7LOO.js} +7 -7
- package/dist/{chunk-BSHZIPFP.js → chunk-RH6UD7XI.js} +11 -11
- package/dist/{chunk-IZQDQ5AN.js → chunk-RUQ2VOD3.js} +3 -2
- package/dist/{chunk-FXQ5577T.js → chunk-SH6PAYUD.js} +5 -5
- package/dist/{chunk-WQ3WMTSS.js → chunk-SRPPNXGX.js} +3 -3
- package/dist/{chunk-QKCU2J2V.js → chunk-SXZMJ7QJ.js} +4 -4
- package/dist/{chunk-SMUNLDEY.js → chunk-T3QK3VKM.js} +1 -1
- package/dist/{chunk-DC7AOIHN.js → chunk-T5S7U5C6.js} +1 -1
- package/dist/{chunk-76HCZQ2W.js → chunk-TQKX3TA3.js} +1 -1
- package/dist/{chunk-ZXIWAD2G.js → chunk-TTP6JGIL.js} +2 -2
- package/dist/{chunk-AGTOSMG6.js → chunk-TWI33YJP.js} +1 -1
- package/dist/{chunk-BQWFOVLO.js → chunk-UAOL5PRX.js} +1 -1
- package/dist/{chunk-K4SWGMPO.js → chunk-VCHJV7ZT.js} +10 -9
- package/dist/{chunk-M425BL2U.js → chunk-VCKUDUPN.js} +1 -1
- package/dist/{chunk-3VPBUDK6.js → chunk-W6WVHIU7.js} +6 -3
- package/dist/{chunk-EEVDBYVF.js → chunk-WPG76RJZ.js} +1 -1
- package/dist/{chunk-KQFGINDM.js → chunk-XBPLO6CY.js} +384 -94
- package/dist/{chunk-ECJX6EJN.js → chunk-XJTFSMZK.js} +2 -2
- package/dist/{chunk-DP7LWIKE.js → chunk-XM7LOJBP.js} +1 -1
- package/dist/{chunk-ILQAOOR4.js → chunk-XZZF6YBS.js} +1 -1
- package/dist/{chunk-CTFMKRFI.js → chunk-Y6CLFCYX.js} +3 -3
- package/dist/{chunk-TQW3G23G.js → chunk-YF34MK67.js} +19 -16
- package/dist/{chunk-UX4HQHMS.js → chunk-YT3LRZA3.js} +12 -10
- package/dist/{chunk-MOR3H5FK.js → chunk-ZFCK46UR.js} +1 -1
- package/dist/{chunk-7DJVLFIL.js → chunk-ZI3MSFSN.js} +2 -2
- package/dist/{chunk-EVHZDKB2.js → chunk-ZK6BC3JM.js} +4 -4
- package/dist/{chunk-TDQUQAW5.js → chunk-ZPPEZJVD.js} +97 -39
- package/dist/{chunk-I6SCA2ME.js → chunk-ZT7RB42S.js} +43 -21
- package/dist/{chunk-EYXMXWME.js → chunk-ZV3RIHRN.js} +7 -7
- package/dist/{clean-E6CXNNF5.js → clean-KEVJGNES.js} +29 -28
- package/dist/cli.js +67 -66
- package/dist/{cloud-5C5SCK4H.js → cloud-EBJZO6ZY.js} +5 -4
- package/dist/{cloud-2M4WWTSQ.js → cloud-OR62JJDE.js} +4 -4
- package/dist/{cloudrun-EULFHQQL.js → cloudrun-HPYJTM5N.js} +9 -9
- package/dist/{compare-MHFCJIWI.js → compare-353XZU2M.js} +43 -41
- package/dist/{compiler-DUG4GFRI.js → compiler-KPDUYBA5.js} +8 -8
- package/dist/{component-KRPXKVZH.js → component-5DZDY74T.js} +3 -3
- package/dist/{compositions-MXESIGTW.js → compositions-VBICZHMF.js} +27 -20
- package/dist/{curve-BE2B7NIC.js → curve-KDRSQWHP.js} +18 -17
- package/dist/{cuts-7GJF6CE2.js → cuts-ABAQKTF4.js} +19 -18
- package/dist/{delete-6NUSXGFC.js → delete-BXURHIL4.js} +10 -7
- package/dist/{deploy-D3NO4UPN.js → deploy-4TBYCBNI.js} +7 -7
- package/dist/{describeProject-6Y7GXXYM.js → describeProject-K62TKQLI.js} +14 -14
- package/dist/{destroy-6ESKQA5T.js → destroy-FAJUHCW4.js} +6 -6
- package/dist/{deterministicFonts-QY4KNTOU.js → deterministicFonts-XZIQ4PNP.js} +3 -3
- package/dist/{diff-NB4SANJX.js → diff-4O7ZCBM5.js} +43 -41
- package/dist/{dist-MXWEGMRB.js → dist-AAGJ6SXG.js} +5 -5
- package/dist/{dist-MNFB4YKV.js → dist-D67752QW.js} +18 -18
- package/dist/{dist-2YJCNIWI.js → dist-F4T6FB7P.js} +6 -6
- package/dist/{doctor-JAZHU2BT.js → doctor-IEUIWBC5.js} +23 -18
- package/dist/{dotEnv-33RDHX7P.js → dotEnv-RZ52L7X3.js} +5 -4
- package/dist/{energy-X5E2NPBL.js → energy-BJQTVGBO.js} +19 -18
- package/dist/{events-JWW4ASN3.js → events-4UBI5WNS.js} +10 -10
- package/dist/{events-5QYPAD2S.js → events-D3NBN44E.js} +4 -4
- package/dist/{events-XA2QQBP7.js → events-M37XFHGJ.js} +21 -20
- package/dist/{execute-N7L5W7DV.js → execute-JCLM27KS.js} +36 -36
- package/dist/{extract-YQAMVIVK.js → extract-AYWY5PIN.js} +19 -18
- package/dist/{face-M7VZIIEP.js → face-TEHC6WYN.js} +20 -19
- package/dist/{feedback-DX6N4RT3.js → feedback-JZDCB5N4.js} +42 -30
- package/dist/{ffmpeg-U2UP72FB.js → ffmpeg-JMPVMPDT.js} +15 -15
- package/dist/{figma-BMMVU5ML.js → figma-6MYT2VRV.js} +3 -3
- package/dist/fontLocalizeCli.js +20 -21
- package/dist/{frames-XB4N4WW2.js → frames-NLFBDILH.js} +20 -19
- package/dist/{generate-M5ACNHVM.js → generate-YLPRVWHZ.js} +32 -30
- package/dist/{get-65JSCBTR.js → get-APCR6ZJE.js} +10 -7
- package/dist/{gpuPolicy-XC2BONM7.js → gpuPolicy-YXBUP4AF.js} +12 -12
- package/dist/{grade-compare-LPDDN5LL.js → grade-compare-VLWGCI4O.js} +43 -41
- package/dist/{gsapParser-L7TM3RGH.js → gsapParser-TSPNHW7F.js} +1 -1
- package/dist/hangReport.js +2 -1
- package/dist/{heifImagePrep-QMFBHJQG.js → heifImagePrep-UC2AV5LU.js} +16 -17
- package/dist/{help-VLKAJCUD.js → help-YSBTU7WC.js} +1 -1
- package/dist/{history-XPGU76VB.js → history-EPIGMZUN.js} +15 -14
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-DGY5NFZJ.js → info-6SF6E2T3.js} +26 -20
- package/dist/{init-OYK5QV3A.js → init-BXS47X5W.js} +40 -38
- package/dist/{ink-UJ6T72I6.js → ink-BWKWSIKA.js} +19 -18
- package/dist/{inspect-GNE5FQDJ.js → inspect-NUE2R2OF.js} +44 -41
- package/dist/{installer-FI6HT2FW.js → installer-T57TKMM6.js} +7 -7
- package/dist/{keyframes-MFGXRBMS.js → keyframes-WCRUYIOQ.js} +19 -15
- package/dist/{lambda-OOESQH7O.js → lambda-L2YNMAL5.js} +18 -18
- package/dist/{layout-67GYUHRL.js → layout-FXTXMDAL.js} +44 -41
- package/dist/{lint-GW3AGJO3.js → lint-IKRYTERJ.js} +23 -17
- package/dist/{lintProject-G4MXY4YA.js → lintProject-2NDIJLD2.js} +6 -6
- package/dist/{list-FMAPGP4I.js → list-BX5SCZEC.js} +10 -7
- package/dist/{localPage-76LUQEMF.js → localPage-HY3VMEYU.js} +12 -12
- package/dist/{login-YOMRKZTT.js → login-5IDR2M6C.js} +6 -5
- package/dist/{logout-QGNBUJKS.js → logout-MTWA4BBI.js} +2 -1
- package/dist/{look-CTRMUUY6.js → look-7R4YJNX7.js} +19 -18
- package/dist/{manager-TMKN4DX5.js → manager-DBMIO5YG.js} +2 -2
- package/dist/{manager-ZNADMKUJ.js → manager-PHCAZFHT.js} +13 -13
- package/dist/{measure-RPPQJGKH.js → measure-7CJ4RKSY.js} +11 -11
- package/dist/{media-treatment-UZ4L4MDB.js → media-treatment-HEW3RMDV.js} +22 -21
- package/dist/{media-use-B7OLG3J3.js → media-use-S5IJPK5G.js} +11 -18
- package/dist/{models-ZXXLZBLQ.js → models-4UJY22Z3.js} +16 -16
- package/dist/{motionShot-DBW6UXTD.js → motionShot-FLZQ75TM.js} +23 -23
- package/dist/{normalize-audio-L4AE5ASS.js → normalize-audio-AN3KKSSK.js} +16 -16
- package/dist/{open-YBZJF2HO.js → open-AHPOLDBY.js} +26 -20
- package/dist/{parakeetRunner-ZLFQAJ45.js → parakeetRunner-4URDK3H4.js} +17 -17
- package/dist/{pipeline-3L4HX4CH.js → pipeline-O5UWLQDZ.js} +15 -15
- package/dist/{plan-R4I5XT6L.js → plan-SUV7WBBJ.js} +25 -25
- package/dist/{play-J54FH42B.js → play-LHMMHUUN.js} +37 -33
- package/dist/{preflight-SMPZLLLL.js → preflight-FLSEP55G.js} +14 -14
- package/dist/{present-AXOSYIJE.js → present-VEDXFFPZ.js} +31 -28
- package/dist/{preview-6VDMGAQI.js → preview-FXNPXOJL.js} +41 -33
- package/dist/privateProjectFile-NN7MTTEQ.js +50 -0
- package/dist/{probe-CXIQVZAM.js → probe-P6LUMX34.js} +19 -18
- package/dist/{producer-EQOO6NE2.js → producer-SWV2GP4I.js} +1 -1
- package/dist/{projectConfig-VPL64JBD.js → projectConfig-EPOIXMHL.js} +9 -9
- package/dist/{publicNetwork-GFQID4Q6.js → publicNetwork-GW7SVP7N.js} +3 -1
- package/dist/{publication-ST3VFFWM.js → publication-SIGMWEK3.js} +5 -5
- package/dist/{publish-DCOFEASH.js → publish-EVCYPK6H.js} +45 -32
- package/dist/{refresh-6ONVQ3WV.js → refresh-PIFEWEAL.js} +2 -1
- package/dist/{remove-background-OHGBEI7B.js → remove-background-AFXDE5YR.js} +16 -16
- package/dist/{render-MG5MX45D.js → render-BCKSDBLK.js} +8 -8
- package/dist/{render-ONBJRZRU.js → render-DFUMSKVQ.js} +65 -55
- package/dist/{render-CMY2ELLE.js → render-MENZ6KS5.js} +82 -50
- package/dist/{render-batch-C3XGAQGX.js → render-batch-DPT67NDL.js} +8 -8
- package/dist/renderSetupWorker.js +8 -8
- package/dist/{resolver-AGMKICJW.js → resolver-EE3255VM.js} +7 -7
- package/dist/{reverse-UIQAE3DC.js → reverse-TA73U7V6.js} +1 -1
- package/dist/{run-NQBD5RDR.js → run-Y2ISHW5P.js} +5 -4
- package/dist/{screenshotCapture-PUK46H3O.js → screenshotCapture-CEEBQ3FU.js} +14 -14
- package/dist/{service-HULLICEP.js → service-6P6QVFNF.js} +19 -18
- package/dist/{share-VKY5LLZ7.js → share-Q25X6AIX.js} +24 -23
- package/dist/{sherpa-WDVEYQHZ.js → sherpa-PPSJ23WI.js} +16 -16
- package/dist/sherpaWorker.js +2 -2
- package/dist/skills/hyperframes-cli/references/cloud.md +1 -1
- package/dist/skills/media-use/audio/references/tts.md +3 -2
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +95 -15
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +192 -2
- package/dist/skills/media-use/references/heygen.md +1 -1
- package/dist/{skills-6K2EZEJK.js → skills-PVJJ3R2V.js} +14 -13
- package/dist/{skillsUpdateCheck-UXRH4JIW.js → skillsUpdateCheck-L4TGSUN6.js} +6 -4
- package/dist/{snapshot-UDJB33E5.js → snapshot-AIAJRR5C.js} +93 -54
- package/dist/{src-6GRYTLZ5.js → src-O5P56HIK.js} +22 -14
- package/dist/{src-66ZYEQPG.js → src-UEH4H4UY.js} +21 -20
- package/dist/{start-VJPLZ7YN.js → start-HY5WGCDN.js} +30 -28
- package/dist/{staticProjectServer-5QU3ICQV.js → staticProjectServer-WNKXSUBZ.js} +28 -27
- package/dist/{status-SZ4QKSVN.js → status-AFDHSUGG.js} +21 -20
- package/dist/studio/assets/{hyperframes-player-i4dtJlrd.js → hyperframes-player-z7r-N5fm.js} +2 -2
- package/dist/studio/assets/{index-Be_pDhIw.js → index-2QPHxCxy.js} +1 -1
- package/dist/studio/assets/{index-CU24FmKd.css → index-CRiuMxyq.css} +1 -1
- package/dist/studio/assets/{index-Dvlt50yp.js → index-Dpo7Q_9-.js} +160 -160
- package/dist/studio/assets/index-Dv67Vrl6.js +74 -0
- package/dist/studio/assets/{pausedVideoDecoder-C_20YkSR.js → pausedVideoDecoder-BarDYEAf.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-OJEU24EG.js → studio-api-P72FA5XB.js} +18 -18
- package/dist/{studioServer-VRYGQOGN.js → studioServer-RICH4NMX.js} +81 -70
- package/dist/{sync-NSGF4MPJ.js → sync-J66DIXED.js} +19 -18
- package/dist/system-I5KGZTUG.js +1 -1
- package/dist/{telemetry-Q45SZSZC.js → telemetry-KOOKPGMR.js} +10 -10
- package/dist/{templates-X7UD7HRJ.js → templates-6DRGOTNH.js} +19 -18
- package/dist/{timeline-JVN34ETY.js → timeline-UZX7366C.js} +29 -28
- package/dist/{tokens-GWFTTI5U.js → tokens-AU3BUE6U.js} +2 -2
- package/dist/{transcribe-PJRBKRPT.js → transcribe-CW5HK2OA.js} +33 -32
- package/dist/{transcribe-7MADUIYX.js → transcribe-OUTSVFRZ.js} +15 -15
- package/dist/{tts-3VHEX4RB.js → tts-X3MAUZ7E.js} +1 -1
- package/dist/{update-D3V2PW3U.js → update-KRYJ6ACJ.js} +15 -14
- package/dist/{updateCheck-5G4ZILYA.js → updateCheck-WQVGQLCG.js} +5 -3
- package/dist/{upgrade-4BNSDRCV.js → upgrade-S54RPT3R.js} +6 -4
- package/dist/{urlDownloader-RLZ7H7NM.js → urlDownloader-MASRYSQX.js} +11 -11
- package/dist/{validate-JW6LLGWB.js → validate-4QVUHCYG.js} +36 -35
- package/dist/{video-WOBS7YW2.js → video-AEGOEGSP.js} +13 -13
- package/dist/{voices-E6WE2Q2U.js → voices-T4U7EU5X.js} +29 -27
- package/dist/warmCheck.js +52 -50
- package/dist/warmCheckClient.js +2 -1
- package/package.json +1 -1
- package/dist/chunk-DQZRNGDS.js +0 -5069
- package/dist/chunk-IGLEPPTN.js +0 -24
- package/dist/chunk-L2U4ISSS.js +0 -93
- package/dist/studio/assets/index-BX3KHhGX.js +0 -71
- package/dist/{chunk-445BBSZS.js → chunk-UMRNTF3C.js} +3 -3
- package/dist/{synthesize-HOLHQCR2.js → synthesize-UKCQR7WW.js} +1 -1
|
@@ -4,18 +4,25 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
PREVIEW_ALLOWED_HOSTS_ENV,
|
|
9
|
+
PREVIEW_FOR_ANOTHER_SITE_META,
|
|
10
|
+
previewAllowedHostsFromEnv,
|
|
11
|
+
requestFromAnotherSite,
|
|
12
|
+
wildcardBindHostAllowed
|
|
13
|
+
} from "./chunk-3FL7MKQH.js";
|
|
7
14
|
import {
|
|
8
15
|
openRangeEnd
|
|
9
16
|
} from "./chunk-LD6JONPV.js";
|
|
10
17
|
import {
|
|
11
18
|
getMimeType
|
|
12
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-P2ZMVHTF.js";
|
|
13
20
|
import {
|
|
14
21
|
stripSdrPngColourTags
|
|
15
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PUT3NPVE.js";
|
|
16
23
|
import {
|
|
17
24
|
injectTagsAtHeadStart
|
|
18
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3FHPYC6X.js";
|
|
19
26
|
|
|
20
27
|
// src/utils/compositionServer.ts
|
|
21
28
|
import { createHash } from "crypto";
|
|
@@ -120,6 +127,52 @@ function buildRangeResponse(filePath, contentType, rangeHeader, ifNoneMatch) {
|
|
|
120
127
|
}
|
|
121
128
|
});
|
|
122
129
|
}
|
|
130
|
+
function refuseUnknownHosts(app) {
|
|
131
|
+
const allowedHosts = previewAllowedHostsFromEnv();
|
|
132
|
+
app.use(async function refuseUnknownHost(c, next) {
|
|
133
|
+
const host = c.req.header("host") ?? new URL(c.req.url).host;
|
|
134
|
+
if (wildcardBindHostAllowed(host, allowedHosts)) return next();
|
|
135
|
+
return c.json(
|
|
136
|
+
{
|
|
137
|
+
error: `forbidden: host "${host}" is not allowed. Set ${PREVIEW_ALLOWED_HOSTS_ENV}=${host} to allow it (comma separated for several hosts).`
|
|
138
|
+
},
|
|
139
|
+
403
|
|
140
|
+
);
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
function withoutValidators(request) {
|
|
144
|
+
const headers = new Headers(request.headers);
|
|
145
|
+
headers.delete("if-none-match");
|
|
146
|
+
headers.delete("if-modified-since");
|
|
147
|
+
return new Request(request, { headers });
|
|
148
|
+
}
|
|
149
|
+
async function markDocumentForAnotherSite(c) {
|
|
150
|
+
if (c.res.status !== 200 || !c.res.headers.get("content-type")?.startsWith("text/html")) return;
|
|
151
|
+
const headers = new Headers(c.res.headers);
|
|
152
|
+
headers.delete("content-length");
|
|
153
|
+
headers.delete("etag");
|
|
154
|
+
const marked = injectTagsAtHeadStart(
|
|
155
|
+
await c.res.text(),
|
|
156
|
+
`<meta name="${PREVIEW_FOR_ANOTHER_SITE_META}">`
|
|
157
|
+
);
|
|
158
|
+
c.res = void 0;
|
|
159
|
+
c.res = new Response(marked, { status: 200, headers });
|
|
160
|
+
}
|
|
161
|
+
function sandboxForAnotherSite(app, path) {
|
|
162
|
+
app.use(path, async function sandboxAnotherSiteLoad(c, next) {
|
|
163
|
+
const anotherSite = requestFromAnotherSite({
|
|
164
|
+
fetchSite: c.req.header("sec-fetch-site"),
|
|
165
|
+
host: c.req.header("host") ?? new URL(c.req.url).host,
|
|
166
|
+
referer: c.req.header("referer")
|
|
167
|
+
});
|
|
168
|
+
if (anotherSite) c.req.raw = withoutValidators(c.req.raw);
|
|
169
|
+
await next();
|
|
170
|
+
c.header("Vary", "Sec-Fetch-Site", { append: true });
|
|
171
|
+
if (!anotherSite) return;
|
|
172
|
+
c.header("Content-Security-Policy", "sandbox allow-scripts");
|
|
173
|
+
await markDocumentForAnotherSite(c);
|
|
174
|
+
});
|
|
175
|
+
}
|
|
123
176
|
async function listenOnFreePort(server, startPort) {
|
|
124
177
|
for (let attempt = 0; attempt < 10; attempt++) {
|
|
125
178
|
const port = startPort + attempt;
|
|
@@ -154,5 +207,7 @@ export {
|
|
|
154
207
|
assetContentType,
|
|
155
208
|
revalidatedResponse,
|
|
156
209
|
buildRangeResponse,
|
|
210
|
+
refuseUnknownHosts,
|
|
211
|
+
sandboxForAnotherSite,
|
|
157
212
|
listenOnFreePort
|
|
158
213
|
};
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GVUG5VDL.js";
|
|
10
10
|
import {
|
|
11
11
|
findPreviewServerForProject,
|
|
12
12
|
studioApiUrl
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
MAX_WINDOW_IDLE_MS,
|
|
18
18
|
openProjectHistory,
|
|
19
19
|
readProjectHistory
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-5JOYZGHQ.js";
|
|
21
21
|
|
|
22
22
|
// src/utils/historyOwner.ts
|
|
23
23
|
import { randomUUID } from "crypto";
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
trustedPathDirs
|
|
9
|
+
} from "./chunk-IU5DC4HP.js";
|
|
10
|
+
|
|
11
|
+
// src/utils/windowsExeSearch.ts
|
|
12
|
+
import { delimiter, win32 } from "path";
|
|
13
|
+
import { fileURLToPath } from "url";
|
|
14
|
+
var neverCreatedPathFolder = () => fileURLToPath(new URL("no-trusted-path-folder", import.meta.url));
|
|
15
|
+
function keyOf(env, name) {
|
|
16
|
+
return Object.keys(env).find((key) => key.toUpperCase() === name);
|
|
17
|
+
}
|
|
18
|
+
function windowsFolderKey(dir) {
|
|
19
|
+
return dir.replaceAll("/", "\\").replace(/\\+$/, "").toLowerCase();
|
|
20
|
+
}
|
|
21
|
+
function windowsSystemFolders(env) {
|
|
22
|
+
const rootKey = keyOf(env, "SYSTEMROOT");
|
|
23
|
+
const root = rootKey && env[rootKey] || "C:\\Windows";
|
|
24
|
+
const system32 = win32.join(root, "System32");
|
|
25
|
+
return new Set(
|
|
26
|
+
[
|
|
27
|
+
root,
|
|
28
|
+
system32,
|
|
29
|
+
win32.join(system32, "Wbem"),
|
|
30
|
+
win32.join(system32, "WindowsPowerShell", "v1.0")
|
|
31
|
+
].map(windowsFolderKey)
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
function unquoted(dir) {
|
|
35
|
+
return dir.length > 1 && dir.startsWith('"') && dir.endsWith('"') ? dir.slice(1, -1) : dir;
|
|
36
|
+
}
|
|
37
|
+
function windowsTrustedDirs(pathValue, env) {
|
|
38
|
+
const entries = pathValue.split(win32.delimiter).map(unquoted);
|
|
39
|
+
const trusted = new Set(trustedPathDirs(entries.join(delimiter)));
|
|
40
|
+
const system = windowsSystemFolders(env);
|
|
41
|
+
return [
|
|
42
|
+
...new Set(entries.filter((dir) => trusted.has(dir) || system.has(windowsFolderKey(dir))))
|
|
43
|
+
];
|
|
44
|
+
}
|
|
45
|
+
function withOnlyTrustedPathFolders(env, platform = process.platform) {
|
|
46
|
+
const pathKey = keyOf(env, "PATH");
|
|
47
|
+
if (!pathKey) return { ...env };
|
|
48
|
+
const value = env[pathKey] ?? "";
|
|
49
|
+
const dirs = platform === "win32" ? windowsTrustedDirs(value, env) : trustedPathDirs(value);
|
|
50
|
+
const separator = platform === "win32" ? win32.delimiter : delimiter;
|
|
51
|
+
return { ...env, [pathKey]: dirs.length > 0 ? dirs.join(separator) : neverCreatedPathFolder() };
|
|
52
|
+
}
|
|
53
|
+
function skipWorkingDirectoryInExeSearch(env = process.env, platform = process.platform) {
|
|
54
|
+
if (platform === "win32") env.NoDefaultCurrentDirectoryInExePath ??= "1";
|
|
55
|
+
}
|
|
56
|
+
function searchOnlyTrustedFolders(env = process.env, platform = process.platform) {
|
|
57
|
+
const pathKey = keyOf(env, "PATH");
|
|
58
|
+
if (pathKey) env[pathKey] = withOnlyTrustedPathFolders(env, platform)[pathKey];
|
|
59
|
+
skipWorkingDirectoryInExeSearch(env, platform);
|
|
60
|
+
}
|
|
61
|
+
var pathKeyAtStart = keyOf(process.env, "PATH");
|
|
62
|
+
var PATH_AT_START = pathKeyAtStart && process.env[pathKeyAtStart] || "";
|
|
63
|
+
function originalPath() {
|
|
64
|
+
return PATH_AT_START;
|
|
65
|
+
}
|
|
66
|
+
searchOnlyTrustedFolders();
|
|
67
|
+
|
|
68
|
+
export {
|
|
69
|
+
withOnlyTrustedPathFolders,
|
|
70
|
+
skipWorkingDirectoryInExeSearch,
|
|
71
|
+
originalPath
|
|
72
|
+
};
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NCPSUM5A.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-ZLTB7ZCQ.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_CONFIG,
|
|
15
15
|
resolvePageNavigationTimeout
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XBPLO6CY.js";
|
|
17
17
|
import {
|
|
18
18
|
parseFps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FU2R6OVR.js";
|
|
20
20
|
import {
|
|
21
21
|
failUsage
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
hyperframesCacheDir
|
|
27
27
|
} from "./chunk-JOQR4AP6.js";
|
|
28
28
|
|
|
29
|
-
// ../studio-server/dist/chunk-
|
|
29
|
+
// ../studio-server/dist/chunk-Z5DBB25C.js
|
|
30
30
|
import { randomUUID as randomUUID7 } from "crypto";
|
|
31
31
|
import { mkdir as mkdir2, readdir as readdir4, rm as rm3, rmdir, stat as stat2, writeFile as writeFile2 } from "fs/promises";
|
|
32
32
|
import {
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
statSync as statSync5,
|
|
36
36
|
mkdirSync as mkdirSync5,
|
|
37
37
|
readdirSync as readdirSync4,
|
|
38
|
-
readFileSync as
|
|
38
|
+
readFileSync as readFileSync9,
|
|
39
39
|
realpathSync,
|
|
40
40
|
rmSync as rmSync3
|
|
41
41
|
} from "fs";
|
|
@@ -45,7 +45,18 @@ import { readFileSync as readFileSync2 } from "fs";
|
|
|
45
45
|
import { isAbsolute, relative, resolve, sep } from "path";
|
|
46
46
|
import { spawnSync } from "child_process";
|
|
47
47
|
import { randomUUID as randomUUID2 } from "crypto";
|
|
48
|
-
import {
|
|
48
|
+
import {
|
|
49
|
+
closeSync,
|
|
50
|
+
constants,
|
|
51
|
+
fstatSync,
|
|
52
|
+
linkSync,
|
|
53
|
+
mkdirSync,
|
|
54
|
+
openSync,
|
|
55
|
+
readFileSync,
|
|
56
|
+
rmSync,
|
|
57
|
+
statSync,
|
|
58
|
+
writeFileSync
|
|
59
|
+
} from "fs";
|
|
49
60
|
import { uptime } from "os";
|
|
50
61
|
import { join } from "path";
|
|
51
62
|
import { createHash as createHash2 } from "crypto";
|
|
@@ -53,7 +64,7 @@ import { lstatSync, readFileSync as readFileSync3, readdirSync } from "fs";
|
|
|
53
64
|
import { lstat, readFile, readdir } from "fs/promises";
|
|
54
65
|
import { extname, isAbsolute as isAbsolute2, relative as relative2, resolve as resolve2, sep as sep2 } from "path";
|
|
55
66
|
import { createHash as createHash3, randomUUID as randomUUID3 } from "crypto";
|
|
56
|
-
import { constants, createReadStream, createWriteStream } from "fs";
|
|
67
|
+
import { constants as constants2, createReadStream, createWriteStream } from "fs";
|
|
57
68
|
import {
|
|
58
69
|
chmod,
|
|
59
70
|
copyFile,
|
|
@@ -71,7 +82,7 @@ import { pipeline } from "stream/promises";
|
|
|
71
82
|
import { resolve as resolve3 } from "path";
|
|
72
83
|
import { extname as extname2 } from "path";
|
|
73
84
|
import { randomUUID as randomUUID5 } from "crypto";
|
|
74
|
-
import { readdirSync as readdirSync2,
|
|
85
|
+
import { readdirSync as readdirSync2, renameSync, statSync as statSync3 } from "fs";
|
|
75
86
|
import { lstat as lstat2, readdir as readdir3, rm as rm2 } from "fs/promises";
|
|
76
87
|
import { tmpdir } from "os";
|
|
77
88
|
import { dirname as dirname2, join as join4 } from "path";
|
|
@@ -79,35 +90,35 @@ import { randomUUID as randomUUID4 } from "crypto";
|
|
|
79
90
|
import { existsSync, mkdirSync as mkdirSync2, readFileSync as readFileSync4, statSync as statSync2, utimesSync } from "fs";
|
|
80
91
|
import { basename, join as join3, resolve as resolve4 } from "path";
|
|
81
92
|
import { createHash as createHash5, randomUUID as randomUUID6 } from "crypto";
|
|
82
|
-
import { createReadStream as createReadStream2, existsSync as existsSync2, readFileSync as
|
|
93
|
+
import { createReadStream as createReadStream2, existsSync as existsSync2, readFileSync as readFileSync7, renameSync as renameSync2, statSync as statSync4 } from "fs";
|
|
83
94
|
import { isAbsolute as isAbsolute4, join as join7, resolve as resolve7 } from "path";
|
|
84
95
|
import { createHash as createHash4 } from "crypto";
|
|
85
96
|
import {
|
|
86
|
-
closeSync,
|
|
87
|
-
constants as
|
|
88
|
-
fstatSync,
|
|
97
|
+
closeSync as closeSync2,
|
|
98
|
+
constants as constants3,
|
|
99
|
+
fstatSync as fstatSync2,
|
|
89
100
|
lstatSync as lstatSync2,
|
|
90
|
-
openSync,
|
|
91
|
-
readFileSync as
|
|
101
|
+
openSync as openSync2,
|
|
102
|
+
readFileSync as readFileSync5,
|
|
92
103
|
unlinkSync
|
|
93
104
|
} from "fs";
|
|
94
105
|
import { isAbsolute as isAbsolute3, join as join5, relative as relative3, resolve as resolve5, sep as sep3 } from "path";
|
|
95
106
|
import {
|
|
96
|
-
closeSync as
|
|
97
|
-
constants as
|
|
98
|
-
fstatSync as
|
|
107
|
+
closeSync as closeSync3,
|
|
108
|
+
constants as constants4,
|
|
109
|
+
fstatSync as fstatSync3,
|
|
99
110
|
lstatSync as lstatSync3,
|
|
100
|
-
openSync as
|
|
111
|
+
openSync as openSync3,
|
|
101
112
|
mkdirSync as mkdirSync3,
|
|
102
|
-
readFileSync as
|
|
113
|
+
readFileSync as readFileSync6,
|
|
103
114
|
readdirSync as readdirSync3,
|
|
104
115
|
rmSync as rmSync2,
|
|
105
116
|
ftruncateSync,
|
|
106
117
|
writeSync,
|
|
107
|
-
writeFileSync as
|
|
118
|
+
writeFileSync as writeFileSync2
|
|
108
119
|
} from "fs";
|
|
109
120
|
import { dirname as dirname3, join as join6, relative as relative4, resolve as resolve6, sep as sep4 } from "path";
|
|
110
|
-
import { closeSync as
|
|
121
|
+
import { closeSync as closeSync4, constants as constants5, mkdirSync as mkdirSync4, openSync as openSync4, readFileSync as readFileSync8, writeSync as writeSync2 } from "fs";
|
|
111
122
|
import { dirname as dirname4 } from "path";
|
|
112
123
|
import { readdirSync as readdirSync5 } from "fs";
|
|
113
124
|
import { rm as rm4, stat as stat3 } from "fs/promises";
|
|
@@ -200,6 +211,9 @@ var HistoryBusyError = class extends Error {
|
|
|
200
211
|
var WINDOWS_BUSY = /* @__PURE__ */ new Set(["EPERM", "EBUSY", "EACCES"]);
|
|
201
212
|
var TAKING_MS = 2e3;
|
|
202
213
|
var BOOT_SLACK_MS = 6e4;
|
|
214
|
+
var NO_FOLLOW = constants.O_NOFOLLOW ?? 0;
|
|
215
|
+
var NON_BLOCK = constants.O_NONBLOCK ?? 0;
|
|
216
|
+
var LINKED = /* @__PURE__ */ new Set(["ELOOP", "EMLINK"]);
|
|
203
217
|
function busyOnWindows(error) {
|
|
204
218
|
return process.platform === "win32" && WINDOWS_BUSY.has(error.code ?? "");
|
|
205
219
|
}
|
|
@@ -228,17 +242,29 @@ function processStart(pid) {
|
|
|
228
242
|
return null;
|
|
229
243
|
}
|
|
230
244
|
}
|
|
245
|
+
function readPlainFile(path) {
|
|
246
|
+
const fd = openSync(path, constants.O_RDONLY | NO_FOLLOW | NON_BLOCK);
|
|
247
|
+
try {
|
|
248
|
+
return fstatSync(fd).isFile() ? readFileSync(fd, "utf-8") : null;
|
|
249
|
+
} finally {
|
|
250
|
+
closeSync(fd);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
231
253
|
function recordedStart(file, pid) {
|
|
232
254
|
try {
|
|
233
|
-
const [owner, ...start] =
|
|
255
|
+
const [owner, ...start] = (readPlainFile(`${file}.start`) ?? "").split("\n");
|
|
234
256
|
return Number(owner) === pid && start.length > 0 ? start.join("\n") : null;
|
|
235
257
|
} catch {
|
|
236
258
|
return null;
|
|
237
259
|
}
|
|
238
260
|
}
|
|
261
|
+
function replaceOwnFile(path, content) {
|
|
262
|
+
rmSync(path, { force: true });
|
|
263
|
+
replaceFileAtomically(path, content);
|
|
264
|
+
}
|
|
239
265
|
function recordStart(file) {
|
|
240
266
|
const start = processStart(process.pid);
|
|
241
|
-
if (start)
|
|
267
|
+
if (start) replaceOwnFile(`${file}.start`, `${process.pid}
|
|
242
268
|
${start}`);
|
|
243
269
|
}
|
|
244
270
|
function holdsLock(file, pid) {
|
|
@@ -256,10 +282,12 @@ function holdsLock(file, pid) {
|
|
|
256
282
|
}
|
|
257
283
|
function ownerOf(file) {
|
|
258
284
|
try {
|
|
259
|
-
const text =
|
|
260
|
-
return /^\d+$/.test(text) ? Number(text) : Number.NaN;
|
|
285
|
+
const text = readPlainFile(file);
|
|
286
|
+
return text !== null && /^\d+$/.test(text) ? Number(text) : Number.NaN;
|
|
261
287
|
} catch (error) {
|
|
262
|
-
|
|
288
|
+
const code = error.code ?? "";
|
|
289
|
+
if (code === "ENOENT") return null;
|
|
290
|
+
if (LINKED.has(code)) return Number.NaN;
|
|
263
291
|
throw error;
|
|
264
292
|
}
|
|
265
293
|
}
|
|
@@ -337,7 +365,7 @@ function advertise(urlFile, url) {
|
|
|
337
365
|
}
|
|
338
366
|
function servedBy(file, urlFile, pid) {
|
|
339
367
|
try {
|
|
340
|
-
const said = JSON.parse(
|
|
368
|
+
const said = JSON.parse(readPlainFile(urlFile) ?? "");
|
|
341
369
|
const live = said.pid === pid && holdsLock(file, pid) && ownerOf(file) === pid;
|
|
342
370
|
return live && typeof said.url === "string" ? said.url : void 0;
|
|
343
371
|
} catch {
|
|
@@ -717,7 +745,7 @@ async function readIfSmall(path) {
|
|
|
717
745
|
}
|
|
718
746
|
async function cloneOrStream(from, to) {
|
|
719
747
|
try {
|
|
720
|
-
await copyFile(from, to,
|
|
748
|
+
await copyFile(from, to, constants2.COPYFILE_FICLONE_FORCE);
|
|
721
749
|
} catch {
|
|
722
750
|
const { mode } = await stat(from);
|
|
723
751
|
await pipeline(createReadStream(from), createWriteStream(to, { mode }));
|
|
@@ -733,7 +761,7 @@ async function cloneOrCopy(from, to, hash, beforeReplace) {
|
|
|
733
761
|
await mkdir(dirname(to), { recursive: true });
|
|
734
762
|
const temp = atomicTempPath(to);
|
|
735
763
|
try {
|
|
736
|
-
await copyFile(from, temp,
|
|
764
|
+
await copyFile(from, temp, constants2.COPYFILE_FICLONE);
|
|
737
765
|
await stopServingAndClose(to);
|
|
738
766
|
try {
|
|
739
767
|
await renameWithRetryAsync(temp, to, {
|
|
@@ -1145,7 +1173,7 @@ async function bytesIn(dir) {
|
|
|
1145
1173
|
}
|
|
1146
1174
|
function prunedWithinADay(stamp, now) {
|
|
1147
1175
|
try {
|
|
1148
|
-
const last = Number(
|
|
1176
|
+
const last = Number(readPlainFile(stamp) ?? "");
|
|
1149
1177
|
return last <= now && now - last < DAY_MS;
|
|
1150
1178
|
} catch {
|
|
1151
1179
|
return false;
|
|
@@ -1157,7 +1185,7 @@ function pruneGoneProjectHistoriesDaily(historyRoot, now, { onError, budgetMs }
|
|
|
1157
1185
|
if (pruning.has(historyRoot) || prunedWithinADay(stamp, now)) return;
|
|
1158
1186
|
pruning.add(historyRoot);
|
|
1159
1187
|
setImmediate(() => {
|
|
1160
|
-
pruneWithin(historyRoot, { now, onError, budgetMs, measure: false }).then(({ finished }) => finished &&
|
|
1188
|
+
pruneWithin(historyRoot, { now, onError, budgetMs, measure: false }).then(({ finished }) => finished && replaceOwnFile(stamp, String(now))).catch((error) => onError?.(error)).finally(() => pruning.delete(historyRoot));
|
|
1161
1189
|
});
|
|
1162
1190
|
}
|
|
1163
1191
|
var kinds = ["checks", "snapshots"];
|
|
@@ -1228,10 +1256,10 @@ function restoreCleaned(state, item) {
|
|
|
1228
1256
|
function stillPendingAfterUnlink(item) {
|
|
1229
1257
|
let descriptor;
|
|
1230
1258
|
try {
|
|
1231
|
-
descriptor =
|
|
1232
|
-
const stat4 =
|
|
1259
|
+
descriptor = openSync2(item.path, constants3.O_RDONLY | constants3.O_NOFOLLOW);
|
|
1260
|
+
const stat4 = fstatSync2(descriptor);
|
|
1233
1261
|
if (!stat4.isFile() || stat4.isSymbolicLink()) return false;
|
|
1234
|
-
const hash = createHash4("sha256").update(
|
|
1262
|
+
const hash = createHash4("sha256").update(readFileSync5(descriptor)).digest("hex");
|
|
1235
1263
|
if (hash !== item.hash) return false;
|
|
1236
1264
|
const current = lstatSync2(item.path);
|
|
1237
1265
|
if (current.dev !== stat4.dev || current.ino !== stat4.ino) return false;
|
|
@@ -1240,7 +1268,7 @@ function stillPendingAfterUnlink(item) {
|
|
|
1240
1268
|
} catch (error) {
|
|
1241
1269
|
return error.code !== "ENOENT";
|
|
1242
1270
|
} finally {
|
|
1243
|
-
if (descriptor !== void 0)
|
|
1271
|
+
if (descriptor !== void 0) closeSync2(descriptor);
|
|
1244
1272
|
}
|
|
1245
1273
|
}
|
|
1246
1274
|
function finishArtifactCleanup(projectDir, state) {
|
|
@@ -1302,12 +1330,12 @@ function ownSnapshotRun(project, path) {
|
|
|
1302
1330
|
createSnapshotParents(project, root);
|
|
1303
1331
|
mkdirSync3(path);
|
|
1304
1332
|
const marker = join6(path, OWNER);
|
|
1305
|
-
const fd =
|
|
1333
|
+
const fd = openSync3(marker, "wx");
|
|
1306
1334
|
try {
|
|
1307
|
-
|
|
1308
|
-
ownedMarkers.set(marker,
|
|
1335
|
+
writeFileSync2(fd, JSON.stringify({ version: 1, pid: process.pid }));
|
|
1336
|
+
ownedMarkers.set(marker, fstatSync3(fd));
|
|
1309
1337
|
} finally {
|
|
1310
|
-
|
|
1338
|
+
closeSync3(fd);
|
|
1311
1339
|
}
|
|
1312
1340
|
}
|
|
1313
1341
|
function missingFile(error) {
|
|
@@ -1341,24 +1369,24 @@ function sameOwnerFile(before, current) {
|
|
|
1341
1369
|
return current.dev === before.dev && current.ino === before.ino;
|
|
1342
1370
|
}
|
|
1343
1371
|
function openOwner(marker, access) {
|
|
1344
|
-
const fd =
|
|
1372
|
+
const fd = openSync3(marker, access | (constants4.O_NOFOLLOW ?? 0) | (constants4.O_NONBLOCK ?? 0));
|
|
1345
1373
|
try {
|
|
1346
|
-
const current =
|
|
1374
|
+
const current = fstatSync3(fd);
|
|
1347
1375
|
const named = lstatSync3(marker);
|
|
1348
1376
|
if (!ordinaryOwner(current) || !ordinaryOwner(named) || !sameOwnerFile(named, current))
|
|
1349
1377
|
throw new Error("Snapshot owner changed while opening.");
|
|
1350
1378
|
return fd;
|
|
1351
1379
|
} catch (error) {
|
|
1352
|
-
|
|
1380
|
+
closeSync3(fd);
|
|
1353
1381
|
throw error;
|
|
1354
1382
|
}
|
|
1355
1383
|
}
|
|
1356
1384
|
function readOwner(marker) {
|
|
1357
|
-
const fd = openOwner(marker,
|
|
1385
|
+
const fd = openOwner(marker, constants4.O_RDONLY);
|
|
1358
1386
|
try {
|
|
1359
|
-
return JSON.parse(
|
|
1387
|
+
return JSON.parse(readFileSync6(fd, "utf8"));
|
|
1360
1388
|
} finally {
|
|
1361
|
-
|
|
1389
|
+
closeSync3(fd);
|
|
1362
1390
|
}
|
|
1363
1391
|
}
|
|
1364
1392
|
function releasedOwner(owner) {
|
|
@@ -1463,15 +1491,15 @@ function releaseSnapshotRun(project, path) {
|
|
|
1463
1491
|
if (!expected) return;
|
|
1464
1492
|
try {
|
|
1465
1493
|
if (dirname3(path) !== rootOf(project) || !ordinaryPath(project, path)) return;
|
|
1466
|
-
const fd = openOwner(marker,
|
|
1494
|
+
const fd = openOwner(marker, constants4.O_RDWR);
|
|
1467
1495
|
try {
|
|
1468
|
-
if (!sameOwnerFile(expected,
|
|
1469
|
-
const owner = JSON.parse(
|
|
1496
|
+
if (!sameOwnerFile(expected, fstatSync3(fd))) return;
|
|
1497
|
+
const owner = JSON.parse(readFileSync6(fd, "utf8"));
|
|
1470
1498
|
if (ownerPid(owner) !== process.pid) return;
|
|
1471
1499
|
ftruncateSync(fd, 0);
|
|
1472
1500
|
writeSync(fd, JSON.stringify({ version: 1, pid: process.pid, released: true }), 0, "utf8");
|
|
1473
1501
|
} finally {
|
|
1474
|
-
|
|
1502
|
+
closeSync3(fd);
|
|
1475
1503
|
}
|
|
1476
1504
|
} catch {
|
|
1477
1505
|
} finally {
|
|
@@ -1484,7 +1512,7 @@ function retainSnapshotOutput(project, path) {
|
|
|
1484
1512
|
if (!run) return;
|
|
1485
1513
|
createSnapshotParents(project, resolve6(path));
|
|
1486
1514
|
try {
|
|
1487
|
-
|
|
1515
|
+
writeFileSync2(
|
|
1488
1516
|
join6(run, ".user-output"),
|
|
1489
1517
|
"Explicit --output; retained until manual cleanup.\n",
|
|
1490
1518
|
{ flag: "wx" }
|
|
@@ -1511,7 +1539,7 @@ var emptyState = () => ({
|
|
|
1511
1539
|
});
|
|
1512
1540
|
function readState(dir) {
|
|
1513
1541
|
if (!existsSync2(statePath(dir))) return emptyState();
|
|
1514
|
-
const state = JSON.parse(
|
|
1542
|
+
const state = JSON.parse(readFileSync7(statePath(dir), "utf8"));
|
|
1515
1543
|
if (state.version !== 1 || !state.checks || !state.snapshots || !state.revisions || !state.files)
|
|
1516
1544
|
throw new Error("Unsupported video-state schema.");
|
|
1517
1545
|
return state;
|
|
@@ -1613,7 +1641,7 @@ async function recordArtifacts(projectDir, capture, artifactsToRecord) {
|
|
|
1613
1641
|
for (const artifact of artifactsToRecord) {
|
|
1614
1642
|
const path = artifact.kind === "check" ? artifact.report : artifact.image;
|
|
1615
1643
|
if (!path || !isAbsolute4(path)) throw new Error("Artifact needs an absolute output path.");
|
|
1616
|
-
hashes.set(artifact.id, createHash5("sha256").update(
|
|
1644
|
+
hashes.set(artifact.id, createHash5("sha256").update(readFileSync7(path)).digest("hex"));
|
|
1617
1645
|
}
|
|
1618
1646
|
const after = await beginArtifactCapture(projectDir);
|
|
1619
1647
|
const unchanged2 = after.fingerprint === capture.fingerprint;
|
|
@@ -1742,7 +1770,7 @@ function parseRecord(line) {
|
|
|
1742
1770
|
function readLog(file, onUnreadable) {
|
|
1743
1771
|
let text;
|
|
1744
1772
|
try {
|
|
1745
|
-
text =
|
|
1773
|
+
text = readFileSync8(file, "utf-8");
|
|
1746
1774
|
} catch {
|
|
1747
1775
|
return null;
|
|
1748
1776
|
}
|
|
@@ -1766,7 +1794,7 @@ function applyRecord(log, record) {
|
|
|
1766
1794
|
function saveRecord(file, log, record) {
|
|
1767
1795
|
let fd;
|
|
1768
1796
|
try {
|
|
1769
|
-
fd =
|
|
1797
|
+
fd = openSync4(file, constants5.O_WRONLY | constants5.O_APPEND);
|
|
1770
1798
|
} catch (error) {
|
|
1771
1799
|
if (error.code !== "ENOENT") throw error;
|
|
1772
1800
|
return writeLog(file, log);
|
|
@@ -1775,7 +1803,7 @@ function saveRecord(file, log, record) {
|
|
|
1775
1803
|
writeSync2(fd, `${JSON.stringify(record)}
|
|
1776
1804
|
`);
|
|
1777
1805
|
} finally {
|
|
1778
|
-
|
|
1806
|
+
closeSync4(fd);
|
|
1779
1807
|
}
|
|
1780
1808
|
}
|
|
1781
1809
|
function baselineRecord(log) {
|
|
@@ -2281,7 +2309,7 @@ var Engine = class {
|
|
|
2281
2309
|
}
|
|
2282
2310
|
readStatCache() {
|
|
2283
2311
|
try {
|
|
2284
|
-
const files = JSON.parse(
|
|
2312
|
+
const files = JSON.parse(readFileSync9(join8(this.home, "stat.json"), "utf-8"));
|
|
2285
2313
|
return new Map(Object.entries(files));
|
|
2286
2314
|
} catch {
|
|
2287
2315
|
return /* @__PURE__ */ new Map();
|
|
@@ -2290,7 +2318,7 @@ var Engine = class {
|
|
|
2290
2318
|
readAdopting() {
|
|
2291
2319
|
try {
|
|
2292
2320
|
return new Set(
|
|
2293
|
-
JSON.parse(
|
|
2321
|
+
JSON.parse(readFileSync9(join8(this.home, "adopting.json"), "utf-8"))
|
|
2294
2322
|
);
|
|
2295
2323
|
} catch {
|
|
2296
2324
|
return /* @__PURE__ */ new Set();
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XBPLO6CY.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-O5P56HIK.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -263,7 +263,9 @@ function gitBashFile(src) {
|
|
|
263
263
|
}
|
|
264
264
|
function resolveProjectRelativeSrc(src, baseDir, compiledDir) {
|
|
265
265
|
const cleanSrc = fileUrlAsPath(cleanAssetUrl(src));
|
|
266
|
-
if (isAbsolute2(cleanSrc) && existsSync(cleanSrc))
|
|
266
|
+
if (isAbsolute2(cleanSrc) && !namesAnotherNetworkRoot(baseDir, cleanSrc) && existsSync(cleanSrc)) {
|
|
267
|
+
return cleanSrc;
|
|
268
|
+
}
|
|
267
269
|
const candidates = /* @__PURE__ */ new Set();
|
|
268
270
|
for (const variant of decodeUrlPathVariants(cleanSrc)) {
|
|
269
271
|
for (const candidate of reanchoredCandidates(variant, baseDir, compiledDir)) {
|
|
@@ -337,6 +339,7 @@ export {
|
|
|
337
339
|
resolveAuthoredAssetFile,
|
|
338
340
|
resolveProjectRelativeSrc,
|
|
339
341
|
maskNonScannableRanges,
|
|
342
|
+
decodeTextHonoringBom,
|
|
340
343
|
readTextFile,
|
|
341
344
|
readProjectFile
|
|
342
345
|
};
|