hyperframes 0.9.58 → 0.9.61
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/bin/hyperframes.mjs +3 -1
- package/dist/{add-JQUKPSEZ.js → add-LNPIKHAX.js} +33 -32
- package/dist/{agentPromptGenerator-3NEY7FPP.js → agentPromptGenerator-N3HL4JWM.js} +19 -20
- package/dist/{animatedGifPrep-VMUZ6IVJ.js → animatedGifPrep-SEPXIM4W.js} +24 -24
- package/dist/api.d.ts +8 -1
- package/dist/api.js +70 -69
- package/dist/{appHistory-JNI6IOR6.js → appHistory-ASGUPUUV.js} +6 -6
- package/dist/{asset-ZT3VXZ67.js → asset-3L2G3ROU.js} +17 -7
- package/dist/{assetCataloger-D2DV65BA.js → assetCataloger-3D75A6GI.js} +21 -22
- package/dist/{audio-LD5H2R5V.js → audio-U4W5ZWQ7.js} +54 -53
- package/dist/{auth-4FPYYMSH.js → auth-V4G5ZE3P.js} +4 -4
- package/dist/{autoUpdate-5ZKSFCG4.js → autoUpdate-QYKF3DDS.js} +6 -6
- package/dist/{avatars-DCLFE7VG.js → avatars-SB2XCDWJ.js} +31 -32
- package/dist/{backgroundChecks-UZA3F46H.js → backgroundChecks-KHBYRE6J.js} +16 -9
- package/dist/backgroundChecksWorker.js +9 -9
- package/dist/{batchRender-TAUW3CT2.js → batchRender-6S5GMICZ.js} +13 -14
- package/dist/{beats-X3LCR6OG.js → beats-7YLYCCMD.js} +21 -22
- package/dist/{benchmark-DNZQT3YQ.js → benchmark-IBX7ZWVU.js} +37 -35
- package/dist/{billing-4BFUAHWX.js → billing-EAHOGMQW.js} +28 -29
- package/dist/{browser-5J2MTDB6.js → browser-XKYRXDJW.js} +23 -24
- package/dist/{bundleWithLocalizedFonts-XWK47ZVF.js → bundleWithLocalizedFonts-ZFX7TSWT.js} +1 -1
- package/dist/{capture-TVYTKWTG.js → capture-4WKQKMXG.js} +38 -17
- package/dist/{capture-2YSVFKWV.js → capture-IBOCZ2MK.js} +56 -50
- package/dist/{captureCompositionFrame-L765HLCT.js → captureCompositionFrame-HZA3LNU3.js} +29 -30
- package/dist/{captureFile-DOCK42K3.js → captureFile-Z7HQDRC2.js} +4 -4
- package/dist/captureProxy-4K3J652A.js +23 -0
- package/dist/{catalog-CHGGRRQX.js → catalog-TSXQTLKM.js} +45 -43
- package/dist/{catch-up-OCFU6ZR3.js → catch-up-LD2B5CE3.js} +35 -29
- package/dist/{check-LWK4Z7FI.js → check-TEZKUD26.js} +72 -72
- package/dist/{checkAudio-R5ORBXBO.js → checkAudio-3GM74ZGV.js} +22 -23
- package/dist/{checkBrowser-6SH73T47.js → checkBrowser-OFH3I7Q6.js} +62 -62
- package/dist/{chunk-2WA62M3B.js → chunk-22B53HD3.js} +10 -5
- package/dist/{chunk-K2EJQ44S.js → chunk-2CNVJQKU.js} +1 -1
- package/dist/{chunk-XMT4MG6W.js → chunk-2H4SJSUS.js} +14 -14
- package/dist/{chunk-6RPKPL22.js → chunk-2SPQTJA2.js} +25 -23
- package/dist/{chunk-GIVMQDSK.js → chunk-32H642MS.js} +2 -2
- package/dist/chunk-3GF72UPC.js +256 -0
- package/dist/chunk-3HJX4F2S.js +39 -0
- package/dist/{chunk-VXE46PXX.js → chunk-3JVTHNDH.js} +1 -1
- package/dist/{chunk-H3LEOZVK.js → chunk-3ROFCQAW.js} +1 -1
- package/dist/{chunk-NLVIE7VN.js → chunk-3W2ORSFV.js} +4 -4
- package/dist/{chunk-4QPT3IEL.js → chunk-4AMOVEV7.js} +181 -59
- package/dist/{chunk-A4L7G74T.js → chunk-4EWS3KP3.js} +3 -3
- package/dist/{chunk-AJ7YRQS4.js → chunk-4ORH2OXS.js} +2 -2
- package/dist/{chunk-2GRCLLKU.js → chunk-4SDNEKTL.js} +4 -4
- package/dist/{chunk-CDNVZEGQ.js → chunk-4T45V6GF.js} +5 -2
- package/dist/{chunk-GDIBE57N.js → chunk-4ZLWEPK4.js} +2 -2
- package/dist/{chunk-CRPLPK6J.js → chunk-5F2ULLFW.js} +7 -7
- package/dist/{chunk-O5U3Y5DX.js → chunk-5GUYYSVT.js} +1 -1
- package/dist/{chunk-EOXNEA4Z.js → chunk-5RM7274K.js} +21 -9
- package/dist/{chunk-E4IR34CF.js → chunk-5T2LNQAH.js} +58 -20
- package/dist/{chunk-M5TTYUZM.js → chunk-5ZAM42GH.js} +6 -6
- package/dist/{chunk-5IE5ZI66.js → chunk-62UUXB3F.js} +1 -1
- package/dist/{chunk-A4YRESMH.js → chunk-63CSQYYO.js} +2 -2
- package/dist/{chunk-R4EWRIDL.js → chunk-6B2TH52B.js} +8 -1
- package/dist/{chunk-X3IVUSOX.js → chunk-6KU6TCSS.js} +3 -3
- package/dist/{chunk-DHVRVI7F.js → chunk-6NDSDQCR.js} +62 -27
- package/dist/{chunk-O4K22EFS.js → chunk-6OKMCIDU.js} +24 -14
- package/dist/{chunk-D3M5VOC5.js → chunk-6P7FLYOR.js} +55 -125
- package/dist/{chunk-JQZ5WP7L.js → chunk-6R22Y26Z.js} +1 -1
- package/dist/{chunk-2SJNGWSY.js → chunk-6X2CLRU7.js} +1 -1
- package/dist/{chunk-PYTF6VHF.js → chunk-6ZU654EU.js} +3 -3
- package/dist/{chunk-G3U5CUF3.js → chunk-73NC557V.js} +2 -2
- package/dist/{chunk-7WAWUQDQ.js → chunk-7463BOQJ.js} +4 -4
- package/dist/{chunk-4N3WOFP3.js → chunk-7AP5C4C2.js} +19 -19
- package/dist/{chunk-FFOFGL2O.js → chunk-7DMES2F3.js} +2 -2
- package/dist/{chunk-Y6CZFX5X.js → chunk-7GDEQJSL.js} +28 -19
- package/dist/{chunk-ECGNWHFE.js → chunk-A2ZUVULS.js} +88 -2
- package/dist/{chunk-CNAOJ7XI.js → chunk-A7NRMVUG.js} +1 -1
- package/dist/{chunk-TLGQQ324.js → chunk-ADQ7XZE5.js} +11 -9
- package/dist/{chunk-M3IHARIW.js → chunk-B5JWBMDR.js} +102 -40
- package/dist/{chunk-7ZHBY7T5.js → chunk-B5TLZC2D.js} +11 -4
- package/dist/{chunk-DH3M5X3Y.js → chunk-BAU3ASNM.js} +4 -4
- package/dist/{chunk-ELRE6LVJ.js → chunk-BHZZM2PK.js} +5 -5
- package/dist/chunk-BNH2IKGV.js +5101 -0
- package/dist/{chunk-ROESFEBP.js → chunk-BNO5RN55.js} +74 -66
- package/dist/{chunk-EWKJDXH6.js → chunk-C2GAAMZ3.js} +4 -4
- package/dist/{chunk-OMZSPAK5.js → chunk-C7IEAEKF.js} +1 -1
- package/dist/{chunk-ZFOV3R2L.js → chunk-CAAUQUCW.js} +23 -9
- package/dist/{chunk-CPDPSNSB.js → chunk-CPHK3XMF.js} +7 -7
- package/dist/{chunk-NJPLH762.js → chunk-CPLVXXRS.js} +4 -4
- package/dist/{chunk-AMS7Q7P7.js → chunk-CRX444MF.js} +22 -21
- package/dist/{chunk-4LZSNWFJ.js → chunk-CRZ7FUMI.js} +3 -3
- package/dist/{chunk-VI2LLFW6.js → chunk-CSWJCRDU.js} +2 -2
- package/dist/{chunk-37Y334MN.js → chunk-CT54FOTS.js} +18 -14
- package/dist/{chunk-CGODFJZ7.js → chunk-CYM53TWZ.js} +32 -18
- package/dist/chunk-D37I36FY.js +21 -0
- package/dist/{chunk-LO5USUM4.js → chunk-DD37XZVE.js} +1 -1
- package/dist/{chunk-OD7XWF5T.js → chunk-DWGDP537.js} +12 -6
- package/dist/chunk-EDH2DMXM.js +113 -0
- package/dist/{chunk-TAXMLPTE.js → chunk-ENKXJNKX.js} +2 -2
- package/dist/{chunk-UJTLTFB6.js → chunk-ERYGKPIR.js} +1 -1
- package/dist/{chunk-HOIEN7O4.js → chunk-F6PI5O3H.js} +3 -1
- package/dist/{chunk-GVIJFPZV.js → chunk-FLJ4S7NA.js} +2 -2
- package/dist/{chunk-KYKQO4VN.js → chunk-FU62NEWC.js} +3 -3
- package/dist/{chunk-MPC3OODR.js → chunk-G7HO2FFX.js} +4 -4
- package/dist/chunk-GADMF4BL.js +170 -0
- package/dist/{chunk-DWFWF6IR.js → chunk-GNRC4L6F.js} +34 -242
- package/dist/{chunk-BSFTB6AM.js → chunk-GYPZTG46.js} +12 -6
- package/dist/{chunk-OL7RHRNJ.js → chunk-H4HYZUE3.js} +2 -2
- package/dist/{chunk-V3O4AFO3.js → chunk-H6Y4XOSP.js} +17 -15
- package/dist/{chunk-PGITR2WX.js → chunk-HAMPVCRY.js} +4 -4
- package/dist/{chunk-677JGYQL.js → chunk-HLVNKNSW.js} +1 -0
- package/dist/{chunk-HFIVZJJD.js → chunk-HTHLFEO2.js} +1 -1
- package/dist/{chunk-SM5PNCDI.js → chunk-ICZWQNBR.js} +2 -2
- package/dist/{chunk-HTGJOOXE.js → chunk-IIXSSRUR.js} +4 -4
- package/dist/{chunk-GEOJA37C.js → chunk-ILKK6F5E.js} +3 -3
- package/dist/{chunk-IHXMN5YH.js → chunk-IOWECUEU.js} +2 -2
- package/dist/{chunk-SE4NOUB6.js → chunk-IT2YUKYY.js} +5 -5
- package/dist/chunk-IU6AC3WL.js +125 -0
- package/dist/{chunk-IGZQYMZA.js → chunk-J56ZJFSF.js} +303 -123
- package/dist/{chunk-5SGGOZNL.js → chunk-KBEC6VQS.js} +595 -206
- package/dist/{chunk-WEU6WLVT.js → chunk-KTY46LIH.js} +8 -4
- package/dist/chunk-KUJJJBV2.js +211 -0
- package/dist/{chunk-CHCMXYER.js → chunk-KVIXXJLO.js} +1 -1
- package/dist/{chunk-XYP4T6TQ.js → chunk-KYZEK7QF.js} +5 -5
- package/dist/{chunk-UGKUGYHD.js → chunk-L7MFHIG7.js} +5 -2
- package/dist/{chunk-YTHXSYYB.js → chunk-LB6ZAP4I.js} +19 -11
- package/dist/{chunk-SV72WLBE.js → chunk-LGIWC6KN.js} +28 -15
- package/dist/{chunk-ADVVQX4I.js → chunk-LMNCEQCC.js} +4 -2
- package/dist/{chunk-VLFBOKZX.js → chunk-LTXZLTXW.js} +304 -234
- package/dist/{chunk-WJIWXHXK.js → chunk-LULZFFDN.js} +3 -3
- package/dist/{chunk-CGJIMWNU.js → chunk-LV2ETFC5.js} +5 -5
- package/dist/{chunk-DL6PEJWH.js → chunk-LYTELQL2.js} +2 -4
- package/dist/{chunk-W2OXNTHG.js → chunk-LZSSGF7G.js} +3 -3
- package/dist/chunk-MERWX4DZ.js +159 -0
- package/dist/{chunk-CVTIGS5K.js → chunk-MJBBKSKB.js} +1 -1
- package/dist/{chunk-5IUVWP3A.js → chunk-MPVJI4SE.js} +2 -2
- package/dist/{chunk-7WYJXKIG.js → chunk-MPX3FO4A.js} +5 -5
- package/dist/{chunk-ERDQIRUL.js → chunk-MQCIX6O2.js} +20 -10
- package/dist/{chunk-ZO5NHAF3.js → chunk-MTCVUAUK.js} +10 -4
- package/dist/{chunk-E26Z73S3.js → chunk-MTKXKULM.js} +2 -2
- package/dist/{chunk-MCDNAIFF.js → chunk-NGRWDXRZ.js} +1 -1
- package/dist/{chunk-FNXU56VT.js → chunk-NK2UW3WR.js} +1 -1
- package/dist/{chunk-PS7WBIPK.js → chunk-NOJRZCN3.js} +33 -18
- package/dist/{chunk-JOOKM2NC.js → chunk-NU7BEOCX.js} +3 -3
- package/dist/chunk-NY6E4272.js +112 -0
- package/dist/{chunk-JZVI2TMX.js → chunk-OBP5WNKP.js} +3 -3
- package/dist/{chunk-AM4Y3XMR.js → chunk-OGOR22GY.js} +4 -4
- package/dist/{chunk-D2LIT7UR.js → chunk-OH3MUFZG.js} +1 -1
- package/dist/{chunk-DX5Y3L5B.js → chunk-OPUR2XQ2.js} +6 -6
- package/dist/{chunk-SYKUNH25.js → chunk-OW6MOJSR.js} +59 -7
- package/dist/{chunk-XCJ2YYMV.js → chunk-P5M3IEXO.js} +1 -1
- package/dist/{chunk-D2LSYXLW.js → chunk-PAHTZDMZ.js} +1 -1
- package/dist/{chunk-OSKSTJNQ.js → chunk-PJQVJSMG.js} +21 -12
- package/dist/{chunk-72GTIFAI.js → chunk-POVOGRMU.js} +2 -2
- package/dist/{chunk-U5MILT4G.js → chunk-PPETKAEO.js} +1 -1
- package/dist/{chunk-ZLTB7ZCQ.js → chunk-PQ2OPPGP.js} +8 -4
- package/dist/chunk-PTGNUVCB.js +112 -0
- package/dist/{chunk-X6JUUQCM.js → chunk-Q4FVSYTD.js} +5 -2
- package/dist/{chunk-MYETYFDI.js → chunk-Q7IOMZ5X.js} +2 -2
- package/dist/{chunk-GRSZAGJB.js → chunk-R2LBMDYH.js} +2 -2
- package/dist/{chunk-QBN2W4T3.js → chunk-RC2DDVX5.js} +1 -1
- package/dist/{chunk-VSM7OIG2.js → chunk-RDJOA5MM.js} +2 -2
- package/dist/{chunk-OEGWTN6N.js → chunk-RF3DT4CS.js} +1 -1
- package/dist/{chunk-WGHJUGNU.js → chunk-RJCQZMNI.js} +10 -10
- package/dist/{chunk-B2WXMYMA.js → chunk-RPICLHBJ.js} +1 -1
- package/dist/{chunk-7ECPFKQV.js → chunk-RRI7NGQZ.js} +37 -13
- package/dist/{chunk-X3UXEB2U.js → chunk-RSYV6NNI.js} +2 -2
- package/dist/{chunk-6EMFSRTW.js → chunk-S35RUNXJ.js} +7 -0
- package/dist/{chunk-QGQCWG7F.js → chunk-SCEBICAQ.js} +2 -2
- package/dist/{chunk-JKLWQUSV.js → chunk-SDIQEPAR.js} +1 -1
- package/dist/{chunk-3VMZQQUI.js → chunk-SIQGTRZ5.js} +1 -1
- package/dist/{chunk-N6PAWR5C.js → chunk-SQI2MWJE.js} +5 -5
- package/dist/{chunk-BSDUTNFX.js → chunk-SYMLVFQF.js} +1 -1
- package/dist/{chunk-XMAU5ZQX.js → chunk-TFAKFI3R.js} +1 -1
- package/dist/{chunk-SNKBI4YB.js → chunk-TJAFCC37.js} +9 -9
- package/dist/{chunk-6T4PB35F.js → chunk-TRQDC2UC.js} +9 -2
- package/dist/{chunk-4NNYYCJN.js → chunk-TRVWLAQ3.js} +25 -21
- package/dist/{chunk-UDLWVQ74.js → chunk-TTRX7NM3.js} +35 -21
- package/dist/{chunk-66W5IWLO.js → chunk-U7M4SZUB.js} +13 -2
- package/dist/{chunk-TLDIP7Y3.js → chunk-UEJMLVGW.js} +16 -17
- package/dist/{chunk-ZAWQJOTW.js → chunk-UX5KLSAJ.js} +74 -76
- package/dist/{chunk-O2BLY7PO.js → chunk-VJVTGSGW.js} +1 -1
- package/dist/{chunk-IE6BIB3L.js → chunk-VM2VBJRC.js} +34 -3
- package/dist/{chunk-AM6UYKVR.js → chunk-VNWPHKKI.js} +11 -11
- package/dist/{chunk-WQZQMADW.js → chunk-VRUVJTFW.js} +244 -28
- package/dist/{chunk-37VS6QY6.js → chunk-VSS3OAZB.js} +1 -1
- package/dist/{chunk-H7DTMLAR.js → chunk-VZM7AFUH.js} +39 -24
- package/dist/{chunk-WLNHZ2OM.js → chunk-W772ZFTE.js} +21 -6
- package/dist/{chunk-3GKGBYW3.js → chunk-WTO3A7ET.js} +120 -9
- package/dist/{chunk-ALD7JBPV.js → chunk-WTS245RC.js} +2 -2
- package/dist/{chunk-VBEDZGBW.js → chunk-WTUDKVWQ.js} +74 -19
- package/dist/{chunk-OPSGEOCO.js → chunk-WVCCSYZC.js} +53 -31
- package/dist/{chunk-ZCLC3KVY.js → chunk-X3NGTIE3.js} +1 -1
- package/dist/{chunk-RV3HR3BZ.js → chunk-XLG3JMSS.js} +9 -9
- package/dist/{chunk-ZYNNZ5DE.js → chunk-Y53Z2M77.js} +2 -2
- package/dist/{chunk-O2INZCGB.js → chunk-YB2ZJJFJ.js} +1 -1
- package/dist/{chunk-J6VYWZSO.js → chunk-YLC67YFR.js} +1 -1
- package/dist/{chunk-6LU6JICP.js → chunk-YWUE4CRU.js} +96 -9
- package/dist/chunk-Z3BPDCRV.js +537 -0
- package/dist/{chunk-I6V25IXG.js → chunk-Z55ASKZE.js} +2 -2
- package/dist/{chunk-EZJHKHWU.js → chunk-ZBDITGMP.js} +3 -3
- package/dist/{chunk-MSC5KBCE.js → chunk-ZGSGBGTB.js} +32 -24
- package/dist/{clean-6ODSABBF.js → clean-RJKQ23WH.js} +46 -46
- package/dist/cli.js +120 -77
- package/dist/{cloud-IMYQB5RC.js → cloud-R3NQSUTQ.js} +4 -4
- package/dist/{cloud-NTKLXMBS.js → cloud-VUR3ZO6O.js} +10 -10
- package/dist/{cloudrun-JNLDP33J.js → cloudrun-SZYAYV7N.js} +24 -16
- package/dist/{compare-VLYZ6ZS4.js → compare-AO5VJBJW.js} +79 -100
- package/dist/{compiler-7M2UCEWG.js → compiler-65SP7M2P.js} +9 -10
- package/dist/{component-KMUHKZ4R.js → component-WGTPAIKX.js} +23 -9
- package/dist/{compositions-ESLWNOMS.js → compositions-HWM6DNJA.js} +28 -29
- package/dist/{contactSheet-4YF7U6U7.js → contactSheet-ROUVWDRO.js} +7 -7
- package/dist/{curve-7RPSNRPE.js → curve-PLPTMDS4.js} +27 -28
- package/dist/{cuts-KBAAZSPS.js → cuts-T5GYTDUA.js} +28 -29
- package/dist/{delete-EP5Z7HKF.js → delete-6WE3N3VO.js} +33 -21
- package/dist/{deploy-MVR63JLD.js → deploy-GYY6CYQD.js} +14 -13
- package/dist/{describeProject-NBVZT5EN.js → describeProject-UQQ2GGIX.js} +19 -20
- package/dist/{destroy-DQKIT574.js → destroy-WSGREGAG.js} +14 -13
- package/dist/{deterministicFonts-LYBMXXBW.js → deterministicFonts-JER4GPCM.js} +7 -7
- package/dist/{diff-RI3FTMOZ.js → diff-JQBZUPKG.js} +305 -114
- package/dist/{dist-LRGTXDSM.js → dist-6EF2P3P7.js} +6 -5
- package/dist/{dist-G7VFX23I.js → dist-HF753IX4.js} +12 -10
- package/dist/{dist-TOOMD57O.js → dist-JRJHFP27.js} +24 -24
- package/dist/{docs-YTM4NX2R.js → docs-3OAPSKPG.js} +1 -1
- package/dist/{doctor-43YNRCRB.js → doctor-SPJ5AJKX.js} +31 -32
- package/dist/{dotEnv-RZ52L7X3.js → dotEnv-7JWLJ2TG.js} +11 -3
- package/dist/{energy-YCH36KCC.js → energy-KPDVIZ5D.js} +28 -29
- package/dist/{events-VUR27EF6.js → events-4WAMG3JE.js} +15 -16
- package/dist/{events-6RJBITYN.js → events-P4223ZZZ.js} +30 -31
- package/dist/{events-JCPYG3CD.js → events-XON5I7VU.js} +9 -9
- package/dist/{execute-OXMKWIFI.js → execute-CN5FLBYU.js} +57 -53
- package/dist/{extract-XGD2RDEX.js → extract-ABSBKYYH.js} +29 -30
- package/dist/{face-XCNWNTGN.js → face-PLPQ5335.js} +29 -30
- package/dist/{feedback-JNFDVBFV.js → feedback-QPQ4G72X.js} +70 -44
- package/dist/{ffmpeg-YQLAJUEA.js → ffmpeg-F3XK57IP.js} +19 -20
- package/dist/{figma-XXGHYEB3.js → figma-S5CVANVZ.js} +3 -3
- package/dist/fontLocalizeCli.js +29 -29
- package/dist/{frames-PEMWFRRY.js → frames-F4QEQB4V.js} +30 -31
- package/dist/{generate-H5M4QSJR.js → generate-O3OPOCHP.js} +46 -47
- package/dist/{get-R6Y2OE5P.js → get-P7LQ7U22.js} +29 -17
- package/dist/{gpuPolicy-2WVDQYZA.js → gpuPolicy-JPRDRQWU.js} +18 -19
- package/dist/{grade-compare-KFXPZFDL.js → grade-compare-6UZ6SK4J.js} +61 -61
- package/dist/hangReport.js +2 -2
- package/dist/{heifImagePrep-VLKYA5QZ.js → heifImagePrep-3PDFNYIE.js} +25 -25
- package/dist/{help-T3XUX5RI.js → help-DLOCAL7E.js} +1 -1
- package/dist/{history-QJPUCUUC.js → history-YIJVOGH7.js} +29 -30
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +14 -6
- package/dist/{info-556DHJHJ.js → info-FVYJNNQL.js} +33 -34
- package/dist/{init-P62TPWR3.js → init-V45K4VAG.js} +54 -53
- package/dist/{ink-SRN65OZH.js → ink-P72OB7L4.js} +28 -29
- package/dist/{inspect-U5FWQQFB.js → inspect-3W2IG3JF.js} +63 -59
- package/dist/{installer-3TNMANQV.js → installer-QGDTFTDU.js} +11 -12
- package/dist/{keyframes-FPGEFGCH.js → keyframes-57OPHIR2.js} +111 -49
- package/dist/{lambda-YJY2MYWL.js → lambda-EQZS7UMO.js} +40 -33
- package/dist/{layout-QIKSVA44.js → layout-KSWMO6MH.js} +63 -61
- package/dist/{lint-RD33ESM5.js → lint-WIYBGVF2.js} +23 -24
- package/dist/{lintProject-ZWLXB3A2.js → lintProject-N3UN6HEE.js} +6 -5
- package/dist/{list-FFO3WOB2.js → list-3FQAHEE2.js} +32 -20
- package/dist/{localPage-DHIBMNJH.js → localPage-G2QEA7JL.js} +19 -20
- package/dist/{login-IMFRQOEQ.js → login-C3U6WSHF.js} +10 -10
- package/dist/{logout-SLBKP67J.js → logout-525LWS6J.js} +5 -5
- package/dist/{look-ZZHJYSPC.js → look-U5LWOI4H.js} +28 -29
- package/dist/{manager-U4WEPCLV.js → manager-C5S25OOK.js} +7 -7
- package/dist/{manager-V4LGD4HB.js → manager-ZVYDWLHI.js} +21 -22
- package/dist/{measure-ZRBVN45B.js → measure-R2KZIHXT.js} +11 -11
- package/dist/{media-treatment-3I2CMQJZ.js → media-treatment-FAW5ZLT7.js} +37 -36
- package/dist/{media-use-2OYJ3CCN.js → media-use-CPTT2ZDE.js} +14 -10
- package/dist/{models-PRW7EWSV.js → models-53JHNGSL.js} +31 -32
- package/dist/{motionShot-VWILMLHQ.js → motionShot-K5ZHHHE6.js} +33 -34
- package/dist/{normalize-PGMS24I2.js → normalize-TBACWMEK.js} +4 -1
- package/dist/{normalize-audio-42XMF35K.js → normalize-audio-EOO2ORPP.js} +25 -25
- package/dist/{oauth-V3HSFZRE.js → oauth-E5QBYYTX.js} +2 -2
- package/dist/{open-D52MJZQA.js → open-3YABRCER.js} +34 -35
- package/dist/{parakeetRunner-ZR2JWQZH.js → parakeetRunner-TLZC2WAJ.js} +31 -32
- package/dist/{pipeline-W3H4JA6H.js → pipeline-LZ73CHLB.js} +27 -26
- package/dist/{plan-2HQOFJO7.js → plan-3QQZ57IC.js} +38 -39
- package/dist/{play-G5XDRDIZ.js → play-ESWP4SF2.js} +53 -50
- package/dist/{policies-5RUNO47I.js → policies-XG6OTGQC.js} +2 -2
- package/dist/{preflight-W2JDYF3T.js → preflight-7G5OBMAA.js} +22 -23
- package/dist/{present-CYMTHQFM.js → present-5ER4JKR5.js} +45 -44
- package/dist/{preview-DTQPQZTK.js → preview-62XOVSXM.js} +61 -60
- package/dist/privateProjectFile-6NPNZXK3.js +65 -0
- package/dist/{probe-WZJK3YQI.js → probe-CFOGEVFU.js} +28 -29
- package/dist/{producer-2BSMSO6I.js → producer-LLE32VVO.js} +1 -1
- package/dist/{progress-KRDVC24C.js → progress-PT3NAFVP.js} +6 -5
- package/dist/{projectConfig-BYRVYLCC.js → projectConfig-R54UDB5Y.js} +14 -15
- package/dist/{prompts-7VQEH645.js → prompts-XC3IBT4D.js} +2 -2
- package/dist/{publicNetwork-GW7SVP7N.js → publicNetwork-66HWFKYG.js} +3 -1
- package/dist/{publication-UCFJLELD.js → publication-TOBV6M4Q.js} +8 -9
- package/dist/{publish-KXVPSWCO.js → publish-QVNH5PXC.js} +107 -76
- package/dist/receivedRecordFollow-U43DTVLP.js +54 -0
- package/dist/{refresh-2GVNKDQE.js → refresh-HK4YEHWC.js} +5 -5
- package/dist/{remove-background-O7BZNS3X.js → remove-background-XHE6JL35.js} +31 -30
- package/dist/{render-TYS3LCIQ.js → render-7JJ2DFEB.js} +16 -15
- package/dist/{render-QOWXGWQZ.js → render-GRZMK6ET.js} +143 -100
- package/dist/{render-DGAP4Q2Z.js → render-WK3D5VOW.js} +173 -138
- package/dist/{render-batch-TEQRGAUC.js → render-batch-KFEZFJXB.js} +20 -18
- package/dist/renderSetupWorker.js +23 -13
- package/dist/{resolver-RN2JGGQL.js → resolver-N4U52UK5.js} +11 -12
- package/dist/{reverse-FUARFEG2.js → reverse-6AOA3PXF.js} +1 -1
- package/dist/{run-V722HMUG.js → run-M2J3ZJ3W.js} +14 -14
- package/dist/runtimeVersion.js +6 -1
- package/dist/{sam-KHLM2DJA.js → sam-O7Y2CCK3.js} +5 -5
- package/dist/{screenshotCapture-4BB4LUMX.js → screenshotCapture-UXJZ7D3L.js} +21 -22
- package/dist/{service-ZPCHJY6B.js → service-DBNZZLPU.js} +31 -31
- package/dist/{share-PXUN7AH7.js → share-6P7S3USP.js} +36 -36
- package/dist/{sherpa-LT6Y7IGM.js → sherpa-CXEHEVAJ.js} +30 -31
- package/dist/sherpaWorker.js +6 -6
- package/dist/{sites-WWCABDSX.js → sites-R5F5FNAL.js} +9 -6
- package/dist/skills/hyperframes/scripts/locate.mjs +13 -19
- package/dist/skills/hyperframes-cli/references/lambda.md +1 -1
- package/dist/skills/media-use/audio/references/tts-to-captions.md +1 -1
- package/dist/skills/media-use/audio/references/tts.md +6 -6
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +143 -2
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +12 -2
- package/dist/skills/media-use/scripts/lib/candidates.mjs +3 -2
- package/dist/skills/media-use/scripts/lib/credit-limit.d.mts +1 -1
- package/dist/skills/media-use/scripts/lib/credit-limit.mjs +14 -9
- package/dist/skills/media-use/scripts/lib/terminal-text.d.mts +1 -0
- package/dist/skills/media-use/scripts/lib/terminal-text.mjs +12 -0
- package/dist/skills/media-use/scripts/resolve.mjs +21 -15
- package/dist/{skills-G63W5GD5.js → skills-RMIHFNI6.js} +21 -22
- package/dist/{skillsUpdateCheck-2T3JVDAA.js → skillsUpdateCheck-EHOSL2AC.js} +7 -7
- package/dist/{snapshot-EVSKTVDG.js → snapshot-DQK3P7TF.js} +114 -90
- package/dist/{src-K5FSMLTB.js → src-4INHWM6L.js} +29 -29
- package/dist/{src-R57EQQSI.js → src-BNSCFKOD.js} +25 -22
- package/dist/{start-XBCYKGBV.js → start-KPCEUG5K.js} +52 -45
- package/dist/{state-FO64CPYE.js → state-5LE7AN6F.js} +6 -5
- package/dist/{staticProjectServer-Q6VR7CXT.js → staticProjectServer-VCS4TOU2.js} +37 -37
- package/dist/{status-E5XIWRCQ.js → status-WBNQSG4H.js} +31 -32
- package/dist/studio/assets/hyperframes-player-Cm0hYGm2.js +573 -0
- package/dist/studio/assets/{index-D7ICtobF.js → index-BGrNWeLK.js} +199 -199
- package/dist/studio/assets/{index-ww7-RmuM.js → index-REqr_dLu.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-Dbe8Cmab.js → pausedVideoDecoder-DqLDSq8J.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-GMJVYGET.js → studio-api-RAW4CIPR.js} +24 -24
- package/dist/{studioSelectionClient-S46TNAAZ.js → studioSelectionClient-PLBQBLCJ.js} +2 -2
- package/dist/{studioServer-MIQCMK6U.js → studioServer-5PWBZADN.js} +357 -163
- package/dist/subCompositionWorker.js +62 -55
- package/dist/{sync-WJOFN6VN.js → sync-PM2WLBUC.js} +28 -29
- package/dist/{synthesize-FXM7ZD6J.js → synthesize-NGU4DRKC.js} +24 -14
- package/dist/{system-DBUN5UDD.js → system-PKL4Y4MX.js} +3 -3
- package/dist/{telemetry-HZ4P4DMC.js → telemetry-4BST73P2.js} +15 -16
- package/dist/{telemetry-M722DCXI.js → telemetry-UC4MSMG3.js} +1 -1
- package/dist/{templates-KFZZSSKW.js → templates-G3XOWYXG.js} +36 -31
- package/dist/{timeline-5M6DPCXF.js → timeline-E6ZXYGQR.js} +50 -46
- package/dist/{tokens-H4NPNRFR.js → tokens-KRHXM44C.js} +17 -7
- package/dist/{transcribe-6STI2ALX.js → transcribe-RJ3GOCJL.js} +56 -57
- package/dist/{transcribe-7PE5UH7J.js → transcribe-TKV3POYD.js} +26 -27
- package/dist/{tts-D7CLD3AD.js → tts-EPXRE275.js} +26 -10
- package/dist/{update-H3T3AVVG.js → update-TO7MLJCS.js} +23 -24
- package/dist/{updateCheck-TLCXUNBV.js → updateCheck-5AY447D5.js} +6 -6
- package/dist/{upgrade-BZVTMCQU.js → upgrade-BLZWWXYL.js} +11 -11
- package/dist/{urlDownloader-FJXNC3IM.js → urlDownloader-ME67HQ4O.js} +17 -18
- package/dist/{validate-WTRVCEL5.js → validate-SRBV5NFV.js} +53 -49
- package/dist/{video-TVO2U5F2.js → video-JPESR36I.js} +38 -34
- package/dist/{voices-F3EW43LX.js → voices-AECYKXGA.js} +43 -44
- package/dist/warmCheck.js +73 -73
- package/dist/warmCheckClient.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-23SG3B6M.js +0 -81
- package/dist/chunk-2RUCE54M.js +0 -5083
- package/dist/chunk-HFUI6LVF.js +0 -34
- package/dist/chunk-JOQR4AP6.js +0 -22
- package/dist/chunk-MK23FXLH.js +0 -21
- package/dist/chunk-SALNTRJA.js +0 -204
- package/dist/chunk-VC76R6W2.js +0 -27
- package/dist/chunk-Z642P33A.js +0 -270
- package/dist/studio/assets/hyperframes-player-B78JDyI_.js +0 -565
- package/dist/{chunk-7IMHPBSH.js → chunk-4NDSGKPO.js} +3 -3
- /package/dist/{chunk-YXX6CIHL.js → chunk-BWFNWEUO.js} +0 -0
|
@@ -5,13 +5,14 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
+
isWritableInProject,
|
|
8
9
|
mkdirOwnedWithinProject,
|
|
9
10
|
pinProjectRecord,
|
|
10
11
|
realFilePath
|
|
11
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WTO3A7ET.js";
|
|
12
13
|
import {
|
|
13
14
|
isProjectIgnoredDir
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-F6PI5O3H.js";
|
|
15
16
|
import {
|
|
16
17
|
atomicTempPath,
|
|
17
18
|
cannotHardLink,
|
|
@@ -20,20 +21,23 @@ import {
|
|
|
20
21
|
refuseReadOnly,
|
|
21
22
|
renameWithRetryAsync,
|
|
22
23
|
replaceFileAtomically
|
|
23
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LYTELQL2.js";
|
|
24
25
|
import {
|
|
25
26
|
isSafePath,
|
|
26
27
|
realProjectRoot,
|
|
27
28
|
realpath
|
|
28
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-3GF72UPC.js";
|
|
29
30
|
import {
|
|
30
31
|
namesAnotherNetworkRoot
|
|
31
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-S35RUNXJ.js";
|
|
33
|
+
import {
|
|
34
|
+
isStudioPrivatePath
|
|
35
|
+
} from "./chunk-PTGNUVCB.js";
|
|
32
36
|
import {
|
|
33
37
|
hyperframesCacheDir
|
|
34
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-KUJJJBV2.js";
|
|
35
39
|
|
|
36
|
-
// ../studio-server/dist/chunk-
|
|
40
|
+
// ../studio-server/dist/chunk-ALDXTRE6.js
|
|
37
41
|
import { spawnSync } from "child_process";
|
|
38
42
|
import { randomUUID } from "crypto";
|
|
39
43
|
import {
|
|
@@ -652,7 +656,7 @@ async function stopServingAndClose(path) {
|
|
|
652
656
|
);
|
|
653
657
|
}
|
|
654
658
|
|
|
655
|
-
// ../studio-server/dist/chunk-
|
|
659
|
+
// ../studio-server/dist/chunk-YBAMOQND.js
|
|
656
660
|
import { randomUUID as randomUUID5 } from "crypto";
|
|
657
661
|
import { mkdir as mkdir2, readdir as readdir3, rm as rm3, rmdir, stat as stat2, writeFile as writeFile2 } from "fs/promises";
|
|
658
662
|
import {
|
|
@@ -2032,7 +2036,7 @@ async function inFirstCopySlot(copy) {
|
|
|
2032
2036
|
var MEDIA_LEDGER = ".media/manifest.jsonl";
|
|
2033
2037
|
var KEPT_HIDDEN_PATHS = /* @__PURE__ */ new Set([...STUDIO_SIGNATURE_MANIFEST_PATHS, MEDIA_LEDGER]);
|
|
2034
2038
|
function isHistoryPath(path) {
|
|
2035
|
-
if (!isRelativeProjectPath(path)) return false;
|
|
2039
|
+
if (!isRelativeProjectPath(path) || isStudioPrivatePath(path)) return false;
|
|
2036
2040
|
if (KEPT_HIDDEN_PATHS.has(path)) return true;
|
|
2037
2041
|
return !path.split("/").some((segment) => segment.startsWith("."));
|
|
2038
2042
|
}
|
|
@@ -2049,6 +2053,12 @@ function peekOf(log, point) {
|
|
|
2049
2053
|
const files = manifestAt(log, point);
|
|
2050
2054
|
return files && Object.fromEntries(files);
|
|
2051
2055
|
}
|
|
2056
|
+
function namesBlob(log, hash) {
|
|
2057
|
+
for (const kept of log.baseline.values()) if (kept === hash) return true;
|
|
2058
|
+
return log.entries.some(
|
|
2059
|
+
(entry) => entry.files.some((file) => file.before === hash || file.after === hash)
|
|
2060
|
+
);
|
|
2061
|
+
}
|
|
2052
2062
|
function withoutHiddenPaths(log) {
|
|
2053
2063
|
for (const path of log.baseline.keys()) if (!isHistoryPath(path)) log.baseline.delete(path);
|
|
2054
2064
|
for (const entry of log.entries)
|
|
@@ -2107,6 +2117,20 @@ function chainBackFrom(byAfter, hash) {
|
|
|
2107
2117
|
}
|
|
2108
2118
|
return chain;
|
|
2109
2119
|
}
|
|
2120
|
+
var SEEN_PER_PATH = 32;
|
|
2121
|
+
var SeenVersions = class extends Map {
|
|
2122
|
+
note(path, hash) {
|
|
2123
|
+
const hashes = this.get(path) ?? /* @__PURE__ */ new Set();
|
|
2124
|
+
hashes.delete(hash);
|
|
2125
|
+
hashes.add(hash);
|
|
2126
|
+
const oldest = hashes.values().next().value;
|
|
2127
|
+
if (hashes.size > SEEN_PER_PATH && oldest !== void 0) hashes.delete(oldest);
|
|
2128
|
+
this.set(path, hashes);
|
|
2129
|
+
}
|
|
2130
|
+
sawAt(path, hash) {
|
|
2131
|
+
return hash && this.get(path)?.has(hash) ? hash : void 0;
|
|
2132
|
+
}
|
|
2133
|
+
};
|
|
2110
2134
|
function addChange(group, path, before, after) {
|
|
2111
2135
|
const earlier = group.changes.get(path);
|
|
2112
2136
|
const from = earlier ? earlier.before : before;
|
|
@@ -2123,13 +2147,16 @@ function keepTargetsOfItsFiles(entry) {
|
|
|
2123
2147
|
return entry;
|
|
2124
2148
|
}
|
|
2125
2149
|
var TrackedFiles = class extends Map {
|
|
2126
|
-
constructor(changed) {
|
|
2150
|
+
constructor(changed, seen) {
|
|
2127
2151
|
super();
|
|
2128
2152
|
this.changed = changed;
|
|
2153
|
+
this.seen = seen;
|
|
2129
2154
|
}
|
|
2130
2155
|
changed;
|
|
2156
|
+
seen;
|
|
2131
2157
|
set(path, file) {
|
|
2132
2158
|
this.changed();
|
|
2159
|
+
this.seen(path, file.hash);
|
|
2133
2160
|
return super.set(path, file);
|
|
2134
2161
|
}
|
|
2135
2162
|
delete(path) {
|
|
@@ -2159,7 +2186,11 @@ var Engine = class {
|
|
|
2159
2186
|
home;
|
|
2160
2187
|
log = { baseline: /* @__PURE__ */ new Map(), entries: [], pins: /* @__PURE__ */ new Set() };
|
|
2161
2188
|
owesVideoState = true;
|
|
2162
|
-
|
|
2189
|
+
seen = new SeenVersions();
|
|
2190
|
+
tracked = new TrackedFiles(
|
|
2191
|
+
() => this.owesVideoState = true,
|
|
2192
|
+
(path, hash) => this.seen.note(path, hash)
|
|
2193
|
+
);
|
|
2163
2194
|
windows = [];
|
|
2164
2195
|
outside = null;
|
|
2165
2196
|
/** A coalescing claim, open until another key, its idle timer, an operation, a window, or another write. */
|
|
@@ -2275,6 +2306,8 @@ var Engine = class {
|
|
|
2275
2306
|
if (!replaced || replaced === after) return;
|
|
2276
2307
|
const path = relative3(realDir, absPath).split(sep3).join("/");
|
|
2277
2308
|
if (!isHistoryPath(path)) return;
|
|
2309
|
+
this.seen.note(path, replaced);
|
|
2310
|
+
this.seen.note(path, after);
|
|
2278
2311
|
this.overwritten.set(
|
|
2279
2312
|
path,
|
|
2280
2313
|
chainBackFrom(this.overwritten.get(path), replaced).set(after, replaced)
|
|
@@ -2573,17 +2606,18 @@ var Engine = class {
|
|
|
2573
2606
|
const untouched = (change) => takenPaths.has(change.path) || (this.tracked.get(change.path)?.hash ?? null) === change.after;
|
|
2574
2607
|
return group && taken.every((change) => after(change.path, change.before) === change.before) && [...group.changes.values()].every(untouched) ? group : null;
|
|
2575
2608
|
}
|
|
2609
|
+
studioWouldWrite = (path) => isWritableInProject(this.dir, path);
|
|
2576
2610
|
logPath(path) {
|
|
2577
2611
|
return relative3(this.dir, resolve5(this.dir, path)).split(sep3).join("/");
|
|
2578
2612
|
}
|
|
2579
2613
|
/** Takes `paths`' uncommitted changes from others, cut at what `who` overwrote. */
|
|
2580
2614
|
async takeClaimed(who, paths, overwrote) {
|
|
2581
|
-
const wanted = new Set(paths.map((path) => this.logPath(path)));
|
|
2615
|
+
const wanted = new Set(paths.map((path) => this.logPath(path)).filter(this.studioWouldWrite));
|
|
2582
2616
|
const at = new Map(
|
|
2583
|
-
Object.entries(overwrote).map(([path, version]) =>
|
|
2584
|
-
this.logPath(path)
|
|
2585
|
-
hashOfVersion(version)
|
|
2586
|
-
|
|
2617
|
+
Object.entries(overwrote).map(([path, version]) => {
|
|
2618
|
+
const logPath = this.logPath(path);
|
|
2619
|
+
return [logPath, this.seen.sawAt(logPath, hashOfVersion(version))];
|
|
2620
|
+
})
|
|
2587
2621
|
);
|
|
2588
2622
|
const others = this.windows.filter((open2) => !sameWho(open2.who, who));
|
|
2589
2623
|
const groups = this.outside ? [this.outside, ...others] : others;
|
|
@@ -2837,7 +2871,9 @@ var Engine = class {
|
|
|
2837
2871
|
/** Writes `target` (path to hash, null deletes) as one entry of `who`'s. */
|
|
2838
2872
|
async writeAs(who, label, target, extra) {
|
|
2839
2873
|
this.assertWritable();
|
|
2840
|
-
const changes = [...target].filter(
|
|
2874
|
+
const changes = [...target].filter(
|
|
2875
|
+
([path, hash]) => this.studioWouldWrite(path) && (this.tracked.get(path)?.hash ?? null) !== hash
|
|
2876
|
+
).sort(([, a], [, b]) => Number(a !== null) - Number(b !== null));
|
|
2841
2877
|
const setAsideByDeletesFirst = new Set(
|
|
2842
2878
|
changes.filter(([, hash]) => hash === null).map(([path]) => this.tracked.get(path)?.hash)
|
|
2843
2879
|
);
|
|
@@ -2929,8 +2965,9 @@ var Engine = class {
|
|
|
2929
2965
|
}
|
|
2930
2966
|
next(direction, who) {
|
|
2931
2967
|
const mine = (author) => sameWho(author, who) || sameWho(author, OUTSIDE);
|
|
2968
|
+
const writes = (paths) => [...paths].some(this.studioWouldWrite);
|
|
2932
2969
|
const pending = [...[...this.windows].reverse(), this.outside, this.claimed?.group].find(
|
|
2933
|
-
(group) => group
|
|
2970
|
+
(group) => group && writes(group.changes.keys()) && mine(group.who)
|
|
2934
2971
|
);
|
|
2935
2972
|
if (pending) return direction === "back" ? this.pendingEntry(pending) : void 0;
|
|
2936
2973
|
const everyone = this.options.undoScope === "everyone";
|
|
@@ -2938,7 +2975,7 @@ var Engine = class {
|
|
|
2938
2975
|
return stepTarget(
|
|
2939
2976
|
this.log.entries,
|
|
2940
2977
|
direction,
|
|
2941
|
-
(entry) => entry.files.
|
|
2978
|
+
(entry) => writes(entry.files.map((file) => file.path)) && (mine(entry.who) || everyone && !ofOpenTurn(entry))
|
|
2942
2979
|
);
|
|
2943
2980
|
}
|
|
2944
2981
|
/** A pending group as the entry it becomes once committed (a window's part gets a fresh id). */
|
|
@@ -3057,6 +3094,7 @@ var Engine = class {
|
|
|
3057
3094
|
},
|
|
3058
3095
|
readBlob: async (hash) => {
|
|
3059
3096
|
this.assertOpen();
|
|
3097
|
+
if (!namesBlob(this.log, hash)) throw new Error("That is not a history blob.");
|
|
3060
3098
|
return this.blobs.read(hash);
|
|
3061
3099
|
},
|
|
3062
3100
|
pin: (id, pinned) => {
|
|
@@ -3150,7 +3188,7 @@ function readProjectHistory(options) {
|
|
|
3150
3188
|
list: () => listOf(log),
|
|
3151
3189
|
peek: (point) => peekOf(log, point),
|
|
3152
3190
|
readBlob: async (hash) => {
|
|
3153
|
-
if (!home) throw new Error("That is not a history blob.");
|
|
3191
|
+
if (!home || !namesBlob(log, hash)) throw new Error("That is not a history blob.");
|
|
3154
3192
|
return readBlob(join8(home, "blobs"), hash);
|
|
3155
3193
|
}
|
|
3156
3194
|
};
|
|
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ensureDOMParser
|
|
9
9
|
} from "./chunk-ZBAF6L74.js";
|
|
10
|
-
import {
|
|
11
|
-
errorBox
|
|
12
|
-
} from "./chunk-ZLTB7ZCQ.js";
|
|
13
10
|
import {
|
|
14
11
|
JsonFlagReadError,
|
|
15
12
|
inlineJsonHint,
|
|
16
13
|
readJsonFlagText,
|
|
17
14
|
unreadableJsonHint
|
|
18
15
|
} from "./chunk-EHZESMRB.js";
|
|
16
|
+
import {
|
|
17
|
+
errorBox
|
|
18
|
+
} from "./chunk-PQ2OPPGP.js";
|
|
19
19
|
import {
|
|
20
20
|
c
|
|
21
21
|
} from "./chunk-JCNPHRGX.js";
|
|
22
22
|
import {
|
|
23
23
|
formatVariableValidationIssue,
|
|
24
24
|
validateVariables
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-MPVJI4SE.js";
|
|
26
26
|
import {
|
|
27
27
|
extractCompositionMetadata
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4NDSGKPO.js";
|
|
29
29
|
import {
|
|
30
30
|
failCommand,
|
|
31
31
|
failUsage
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-U7M4SZUB.js";
|
|
33
33
|
|
|
34
34
|
// src/utils/variables.ts
|
|
35
35
|
import { readFileSync } from "fs";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-HU2SPFNG.js";
|
|
13
13
|
import {
|
|
14
14
|
replaceFileAtomically
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LYTELQL2.js";
|
|
16
16
|
import {
|
|
17
17
|
findTrustedExecutable
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VM2VBJRC.js";
|
|
19
19
|
|
|
20
20
|
// src/whisper/parakeet.ts
|
|
21
21
|
import { execFileSync } from "child_process";
|
|
@@ -325,11 +325,18 @@ async function downloadToPart(url, dest, options) {
|
|
|
325
325
|
}
|
|
326
326
|
await publishPart(part, dest, options);
|
|
327
327
|
}
|
|
328
|
+
async function keepsDest(dest, waited, options) {
|
|
329
|
+
if (!existsSync(dest)) return false;
|
|
330
|
+
if (!options.keepExisting) return waited;
|
|
331
|
+
if (await options.keepExisting(dest)) return true;
|
|
332
|
+
removePartialFile(dest);
|
|
333
|
+
return false;
|
|
334
|
+
}
|
|
328
335
|
async function downloadFile(url, dest, options = {}) {
|
|
329
336
|
const lock = `${dest}.lock`;
|
|
330
337
|
const { owner, waited } = await acquireLock(lock, options.signal);
|
|
331
338
|
try {
|
|
332
|
-
if (!(waited
|
|
339
|
+
if (!await keepsDest(dest, waited, options)) await downloadToPart(url, dest, options);
|
|
333
340
|
} finally {
|
|
334
341
|
heldLocks.delete(owner);
|
|
335
342
|
if (readLock(lock) === owner) removePartialFile(lock);
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
readRecordTail,
|
|
11
11
|
recordChangedAt,
|
|
12
12
|
replaceFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OW6MOJSR.js";
|
|
14
14
|
import {
|
|
15
15
|
realpath
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3GF72UPC.js";
|
|
17
17
|
import {
|
|
18
18
|
namedCacheDir
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KUJJJBV2.js";
|
|
20
20
|
|
|
21
21
|
// src/utils/appHistory.ts
|
|
22
22
|
import { createHash } from "crypto";
|
|
@@ -13,36 +13,36 @@ import {
|
|
|
13
13
|
rewriteHtmlAttributes,
|
|
14
14
|
rewriteStyleBlocks,
|
|
15
15
|
stagedSize
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-B5JWBMDR.js";
|
|
17
17
|
import {
|
|
18
18
|
probeAudio
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NK2UW3WR.js";
|
|
20
20
|
import {
|
|
21
21
|
findFFmpeg,
|
|
22
22
|
findFFprobe,
|
|
23
23
|
getFFmpegInstallHint
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import {
|
|
26
|
-
formatBytes
|
|
27
|
-
} from "./chunk-ZLTB7ZCQ.js";
|
|
24
|
+
} from "./chunk-CRZ7FUMI.js";
|
|
28
25
|
import {
|
|
29
26
|
runWithConcurrencyLimit
|
|
30
27
|
} from "./chunk-XFF4XJZO.js";
|
|
28
|
+
import {
|
|
29
|
+
formatBytes
|
|
30
|
+
} from "./chunk-PQ2OPPGP.js";
|
|
31
31
|
import {
|
|
32
32
|
AUDIO_EXTS,
|
|
33
33
|
CONVERTIBLE_IMAGE_EXTS,
|
|
34
|
-
MEDIA_INPUT_ARGS,
|
|
35
34
|
VIDEO_EXTS,
|
|
35
|
+
mediaInputArgs,
|
|
36
36
|
startsAsMediaPlaylist
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-TRQDC2UC.js";
|
|
38
38
|
import {
|
|
39
39
|
parseAnimatedGifMetadata
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-MPVJI4SE.js";
|
|
41
41
|
import {
|
|
42
42
|
cleanAssetUrl,
|
|
43
43
|
isRemoteOrInlineUrl,
|
|
44
44
|
resolveLocalAssetCandidates
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-S35RUNXJ.js";
|
|
46
46
|
import {
|
|
47
47
|
readAuthoredDurationSeconds,
|
|
48
48
|
readMediaOffsetSeconds,
|
|
@@ -54,10 +54,13 @@ import {
|
|
|
54
54
|
} from "./chunk-GWTIFRF5.js";
|
|
55
55
|
import {
|
|
56
56
|
hyperframesCacheDir
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-KUJJJBV2.js";
|
|
58
|
+
import {
|
|
59
|
+
followFfmpegProgress
|
|
60
|
+
} from "./chunk-VM2VBJRC.js";
|
|
58
61
|
|
|
59
62
|
// src/cloud/offload.ts
|
|
60
|
-
import { execFile } from "child_process";
|
|
63
|
+
import { execFile, spawn } from "child_process";
|
|
61
64
|
import { createHash } from "crypto";
|
|
62
65
|
import {
|
|
63
66
|
closeSync,
|
|
@@ -186,6 +189,7 @@ var OFFLOAD_MIN_BYTES = 5 * 1024 * 1024;
|
|
|
186
189
|
var OFFLOAD_CONCURRENCY = 8;
|
|
187
190
|
var MiB = 1024 * 1024;
|
|
188
191
|
var AUDIO_MAX_BYTES = 15e8;
|
|
192
|
+
var CACHE_CHECK_TIMEOUT_MS = 1e4;
|
|
189
193
|
var ACCEPTED = {
|
|
190
194
|
".mp4": { contentType: "video/mp4", maxBytes: 200 * MiB },
|
|
191
195
|
".m4v": { contentType: "video/mp4", maxBytes: 200 * MiB },
|
|
@@ -247,11 +251,15 @@ function writeCache(path, cache) {
|
|
|
247
251
|
renameSync(tmp, path);
|
|
248
252
|
}
|
|
249
253
|
async function stillServed(entry, fetchImpl) {
|
|
254
|
+
const controller = new AbortController();
|
|
255
|
+
const timer = setTimeout(() => controller.abort(), CACHE_CHECK_TIMEOUT_MS);
|
|
250
256
|
try {
|
|
251
|
-
const res = await fetchImpl(entry.url, { method: "HEAD" });
|
|
257
|
+
const res = await fetchImpl(entry.url, { method: "HEAD", signal: controller.signal });
|
|
252
258
|
return res.ok && Number(res.headers.get("content-length")) === entry.size_bytes;
|
|
253
259
|
} catch {
|
|
254
260
|
return false;
|
|
261
|
+
} finally {
|
|
262
|
+
clearTimeout(timer);
|
|
255
263
|
}
|
|
256
264
|
}
|
|
257
265
|
function mediaKind(path) {
|
|
@@ -274,7 +282,7 @@ async function probeVideo(path) {
|
|
|
274
282
|
"stream=codec_name,pix_fmt,color_primaries,color_transfer,color_space:stream_tags",
|
|
275
283
|
"-of",
|
|
276
284
|
"json",
|
|
277
|
-
...
|
|
285
|
+
...mediaInputArgs(path),
|
|
278
286
|
"--",
|
|
279
287
|
path
|
|
280
288
|
]);
|
|
@@ -311,13 +319,13 @@ function hdrColorArgs({ color }) {
|
|
|
311
319
|
}
|
|
312
320
|
var seconds = (t) => (Math.floor(t * 1e6) / 1e6).toFixed(6);
|
|
313
321
|
async function segmentArgs(sourcePath, decoder, segments, media) {
|
|
314
|
-
if (media === "image") return [...decoder, ...
|
|
322
|
+
if (media === "image") return [...decoder, ...mediaInputArgs(sourcePath), "-i", sourcePath];
|
|
315
323
|
const audio = await keptAudio(sourcePath, media);
|
|
316
324
|
const cuts = segments?.length ? segments : [void 0];
|
|
317
325
|
const inputs = cuts.flatMap((s) => [
|
|
318
326
|
...decoder,
|
|
319
327
|
...seekArgs(s),
|
|
320
|
-
...
|
|
328
|
+
...mediaInputArgs(sourcePath),
|
|
321
329
|
"-i",
|
|
322
330
|
sourcePath
|
|
323
331
|
]);
|
|
@@ -328,7 +336,7 @@ async function segmentArgs(sourcePath, decoder, segments, media) {
|
|
|
328
336
|
];
|
|
329
337
|
}
|
|
330
338
|
async function keptAudio(sourcePath, media) {
|
|
331
|
-
const audio = (await probeAudio(sourcePath,
|
|
339
|
+
const audio = (await probeAudio(sourcePath, mediaInputArgs(sourcePath)))?.audioStream ?? null;
|
|
332
340
|
if (media === "audio" && audio === null) {
|
|
333
341
|
throw new Error("the file has no audio track ffmpeg can decode");
|
|
334
342
|
}
|
|
@@ -373,7 +381,7 @@ async function durationSeconds(sourcePath) {
|
|
|
373
381
|
"format=duration",
|
|
374
382
|
"-of",
|
|
375
383
|
"csv=p=0",
|
|
376
|
-
...
|
|
384
|
+
...mediaInputArgs(sourcePath),
|
|
377
385
|
"--",
|
|
378
386
|
sourcePath
|
|
379
387
|
]);
|
|
@@ -382,9 +390,10 @@ async function durationSeconds(sourcePath) {
|
|
|
382
390
|
}
|
|
383
391
|
var capOf = (presetName) => ACCEPTED[REENCODE_PRESETS[presetName].ext]?.maxBytes ?? 0;
|
|
384
392
|
var playedSeconds = (segments) => segments.reduce((sum, s) => sum + s.end - s.start, 0);
|
|
393
|
+
var outputSeconds = (sourcePath, segments) => segments?.length ? Promise.resolve(playedSeconds(segments)) : durationSeconds(sourcePath);
|
|
385
394
|
async function limitFor(sourcePath, presetName, segments, maxBytes = capOf(presetName)) {
|
|
386
395
|
if (mediaOf(presetName) !== "video") return [];
|
|
387
|
-
const seconds2 =
|
|
396
|
+
const seconds2 = await outputSeconds(sourcePath, segments);
|
|
388
397
|
const limit = sizeLimitArgs({
|
|
389
398
|
maxBytes,
|
|
390
399
|
seconds: seconds2 ?? 0,
|
|
@@ -392,17 +401,37 @@ async function limitFor(sourcePath, presetName, segments, maxBytes = capOf(prese
|
|
|
392
401
|
});
|
|
393
402
|
return presetName === "alphaVideo" && limit.length ? [...limit, "-b:v", limit[1]] : limit;
|
|
394
403
|
}
|
|
395
|
-
|
|
404
|
+
function runFfmpeg(ffmpeg, args, onSeconds) {
|
|
405
|
+
return new Promise((resolve2, reject) => {
|
|
406
|
+
const proc = spawn(ffmpeg, ["-progress", "pipe:1", "-nostats", ...args], {
|
|
407
|
+
stdio: ["ignore", "pipe", "pipe"],
|
|
408
|
+
windowsHide: true
|
|
409
|
+
});
|
|
410
|
+
followFfmpegProgress(proc.stdout, onSeconds);
|
|
411
|
+
let stderr = "";
|
|
412
|
+
proc.stderr.on("data", (chunk) => {
|
|
413
|
+
stderr = (stderr + chunk.toString()).slice(-16384);
|
|
414
|
+
});
|
|
415
|
+
proc.on("error", reject);
|
|
416
|
+
proc.on("close", (code, signal) => {
|
|
417
|
+
if (code === 0) return resolve2();
|
|
418
|
+
const ended = signal ? `was ended by ${signal}` : `exited with code ${code}`;
|
|
419
|
+
reject(new Error(`ffmpeg ${ended}: ${stderr.trim()}`));
|
|
420
|
+
});
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
async function ffmpegReencode(sourcePath, presetName, segments, onProgress) {
|
|
396
424
|
const ffmpeg = findFFmpeg();
|
|
397
425
|
if (!ffmpeg) throw new Error(`Re-encoding needs ffmpeg. Install it: ${getFFmpegInstallHint()}`);
|
|
398
426
|
const preset = REENCODE_PRESETS[presetName];
|
|
399
427
|
const probe = preset.contentType.startsWith("video/") ? await probeVideo(sourcePath) : void 0;
|
|
400
428
|
const decoder = probe ? alphaDecoderArgs(probe) : [];
|
|
401
429
|
const color = presetName === "hdrVideo" && probe ? hdrColorArgs(probe) : [];
|
|
430
|
+
const totalSeconds = onProgress ? await outputSeconds(sourcePath, segments) : null;
|
|
402
431
|
const workDir = mkdtempSync(join(tmpdir(), "hf-offload-"));
|
|
403
432
|
const outPath = join(workDir, `${basename2(sourcePath, extname(sourcePath))}${preset.ext}`);
|
|
404
433
|
try {
|
|
405
|
-
await
|
|
434
|
+
await runFfmpeg(
|
|
406
435
|
ffmpeg,
|
|
407
436
|
[
|
|
408
437
|
"-v",
|
|
@@ -415,7 +444,7 @@ async function ffmpegReencode(sourcePath, presetName, segments) {
|
|
|
415
444
|
...preset.audio,
|
|
416
445
|
outPath
|
|
417
446
|
],
|
|
418
|
-
|
|
447
|
+
(doneSeconds) => onProgress?.(doneSeconds, totalSeconds)
|
|
419
448
|
);
|
|
420
449
|
return {
|
|
421
450
|
bytes: readChecked(outPath, ({ size }) => assertFitsAsset(sourcePath, outPath, size)),
|
|
@@ -446,7 +475,7 @@ async function isAnimatedImage(path) {
|
|
|
446
475
|
"stream=nb_frames",
|
|
447
476
|
"-of",
|
|
448
477
|
"csv=p=0",
|
|
449
|
-
...
|
|
478
|
+
...mediaInputArgs(path),
|
|
450
479
|
"--",
|
|
451
480
|
path
|
|
452
481
|
]);
|
|
@@ -469,7 +498,7 @@ async function trimGrid(sourcePath, kind) {
|
|
|
469
498
|
"stream=r_frame_rate,avg_frame_rate",
|
|
470
499
|
"-of",
|
|
471
500
|
"csv=p=0",
|
|
472
|
-
...
|
|
501
|
+
...mediaInputArgs(sourcePath),
|
|
473
502
|
"--",
|
|
474
503
|
sourcePath
|
|
475
504
|
]);
|
|
@@ -494,7 +523,7 @@ async function hasVideoStream(sourcePath) {
|
|
|
494
523
|
"stream=codec_type",
|
|
495
524
|
"-of",
|
|
496
525
|
"csv=p=0",
|
|
497
|
-
...
|
|
526
|
+
...mediaInputArgs(sourcePath),
|
|
498
527
|
"--",
|
|
499
528
|
sourcePath
|
|
500
529
|
]);
|
|
@@ -648,7 +677,13 @@ async function uploadPlanned(ctx, upload, path, staged, plan) {
|
|
|
648
677
|
}
|
|
649
678
|
async function uploadOnce(ctx, upload, path, staged, plan) {
|
|
650
679
|
const filename = basename2(path);
|
|
651
|
-
const
|
|
680
|
+
const report = ctx.opts.onReencodeProgress;
|
|
681
|
+
const file = plan.preset ? await ctx.reencoder.run(
|
|
682
|
+
plan.sourcePath,
|
|
683
|
+
plan.preset,
|
|
684
|
+
plan.segments,
|
|
685
|
+
report && ((doneSeconds, totalSeconds) => report({ path, doneSeconds, totalSeconds }))
|
|
686
|
+
) : Buffer.isBuffer(staged) ? { bytes: staged, filename, contentType: plan.contentType } : { path: staged.absPath, size: staged.size, filename, contentType: plan.contentType };
|
|
652
687
|
if (plan.preset && !Buffer.isBuffer(staged)) assertUnchanged(staged);
|
|
653
688
|
const size = "bytes" in file ? file.bytes.byteLength : file.size;
|
|
654
689
|
assertFitsAsset(path, file.filename, size);
|
|
@@ -667,7 +702,7 @@ async function prepareEntryGifs(ctx, fileMap) {
|
|
|
667
702
|
if (!html || !/\.gif\b/i.test(html)) return;
|
|
668
703
|
const sourceAssets = entryGifSources(ctx, entryPath, html);
|
|
669
704
|
if (!sourceAssets) return;
|
|
670
|
-
const prep = ctx.opts.gifPrep ?? (await import("./src-
|
|
705
|
+
const prep = ctx.opts.gifPrep ?? (await import("./src-4INHWM6L.js")).prepareAnimatedGifInputs;
|
|
671
706
|
const outputDir = mkdtempSync(join(tmpdir(), "hf-offload-gif-"));
|
|
672
707
|
ctx.tempFiles.push(outputDir);
|
|
673
708
|
const result = await prep(html, {
|
|
@@ -8,20 +8,21 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-C2GAAMZ3.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WTS245RC.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MPVJI4SE.js";
|
|
19
19
|
import {
|
|
20
|
-
realProjectRoot
|
|
21
|
-
|
|
20
|
+
realProjectRoot,
|
|
21
|
+
toolTrustedFileKind
|
|
22
|
+
} from "./chunk-3GF72UPC.js";
|
|
22
23
|
import {
|
|
23
24
|
isCompositionVariable
|
|
24
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-4NDSGKPO.js";
|
|
25
26
|
|
|
26
27
|
// src/registry/installer.ts
|
|
27
28
|
import { createHash } from "crypto";
|
|
@@ -164,13 +165,10 @@ function hasLocalEdits(record, target, onDisk) {
|
|
|
164
165
|
function keptByProject(record, destPath, target, force) {
|
|
165
166
|
return !force && existsSync(destPath) && hasLocalEdits(record, target, readFileSync(destPath));
|
|
166
167
|
}
|
|
167
|
-
var PROJECT_FILES = /* @__PURE__ */ new Set(["package.json", "hyperframes.json", "hyperframes.lock.json"]);
|
|
168
168
|
var EXAMPLE_DOTFILES = /* @__PURE__ */ new Set([".gitignore"]);
|
|
169
169
|
var isShortName = (part) => /~\d+(\.|$)/.test(part);
|
|
170
170
|
var STANDARD_INSTALL_DIRS = ["compositions", "assets", "models", "lib"];
|
|
171
171
|
var ROOT_NOTES = /* @__PURE__ */ new Set(["template.md"]);
|
|
172
|
-
var AGENT_INSTRUCTIONS = /^(agents?|claude|gemini|qwen|crush|warp|conventions|copilot-instructions)(\.[a-z]+)?\.md$/;
|
|
173
|
-
var EXECUTABLE = /\.(exe|com|bat|cmd|ps1|psm1|vbs|vbe|wsf|hta|msi|scr|pif|cpl|lnk|dll|so|dylib|node|sh|bash|zsh|command|jar|appimage|py|rb|pl|php)$/;
|
|
174
172
|
function withoutTrailingDotsOrSpaces(part) {
|
|
175
173
|
let end = part.length;
|
|
176
174
|
while (end > 0 && (part[end - 1] === "." || part[end - 1] === " ")) end--;
|
|
@@ -197,7 +195,10 @@ function isHiddenConfigFile(file, example) {
|
|
|
197
195
|
}
|
|
198
196
|
var CONFIG_TARGET_RULES = [
|
|
199
197
|
["it writes into git metadata", (dirs, file) => [...dirs, file].includes(".git")],
|
|
200
|
-
[
|
|
198
|
+
[
|
|
199
|
+
"it uses a Windows short name",
|
|
200
|
+
(_dirs, _file, _example, _installDirs, trusted) => trusted === "short-name"
|
|
201
|
+
],
|
|
201
202
|
["it writes into a hidden tool directory", (dirs) => dirs.some((dir) => dir.startsWith("."))],
|
|
202
203
|
[
|
|
203
204
|
"it writes a hidden configuration file",
|
|
@@ -205,11 +206,17 @@ var CONFIG_TARGET_RULES = [
|
|
|
205
206
|
],
|
|
206
207
|
[
|
|
207
208
|
"it would replace project configuration",
|
|
208
|
-
(_dirs,
|
|
209
|
+
(_dirs, _file, example, _installDirs, trusted) => trusted === "project-config" && !example || trusted === "lock-file" || trusted === "tool-config"
|
|
209
210
|
],
|
|
210
211
|
["it writes into node_modules", (dirs) => dirs.includes("node_modules")],
|
|
211
|
-
[
|
|
212
|
-
|
|
212
|
+
[
|
|
213
|
+
"it writes an agent instruction file",
|
|
214
|
+
(_dirs, _file, _example, _installDirs, trusted) => trusted === "agent-instructions"
|
|
215
|
+
],
|
|
216
|
+
[
|
|
217
|
+
"it writes a program or script",
|
|
218
|
+
(_dirs, _file, _example, _installDirs, trusted) => trusted === "program"
|
|
219
|
+
],
|
|
213
220
|
[
|
|
214
221
|
"it writes outside the project's blocks, components and assets folders",
|
|
215
222
|
(dirs, file, example, installDirs) => !example && installDirs !== null && !inInstallDir(dirs, installDirs) && !(dirs.length === 0 && ROOT_NOTES.has(file))
|
|
@@ -219,7 +226,10 @@ function configTargetError(target, type, installDirs) {
|
|
|
219
226
|
const parts = targetSegments(target);
|
|
220
227
|
const file = parts.pop() ?? "";
|
|
221
228
|
const example = type === "hyperframes:example";
|
|
222
|
-
|
|
229
|
+
const trusted = toolTrustedFileKind(target);
|
|
230
|
+
return CONFIG_TARGET_RULES.find(
|
|
231
|
+
([, applies]) => applies(parts, file, example, installDirs, trusted)
|
|
232
|
+
)?.[0] ?? null;
|
|
223
233
|
}
|
|
224
234
|
function assertSafeTarget(destDir, target, type, installDirs) {
|
|
225
235
|
if (isAbsolute(target)) {
|