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
|
@@ -10,16 +10,19 @@ import {
|
|
|
10
10
|
parseNumbers,
|
|
11
11
|
parseRoi,
|
|
12
12
|
probeVideo
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZBDITGMP.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-JCNPHRGX.js";
|
|
17
|
+
import {
|
|
18
|
+
terminalLines
|
|
19
|
+
} from "./chunk-3GF72UPC.js";
|
|
17
20
|
import {
|
|
18
21
|
withMeta
|
|
19
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FU62NEWC.js";
|
|
20
23
|
import {
|
|
21
24
|
failCommand
|
|
22
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-U7M4SZUB.js";
|
|
23
26
|
import {
|
|
24
27
|
normalizeErrorMessage
|
|
25
28
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -41,7 +44,8 @@ async function runMeasure(work) {
|
|
|
41
44
|
})
|
|
42
45
|
)
|
|
43
46
|
);
|
|
44
|
-
if (process.stdout.isTTY)
|
|
47
|
+
if (process.stdout.isTTY)
|
|
48
|
+
console.error(`${c.error("\u2717")} ${terminalLines(normalizeErrorMessage(err))}`);
|
|
45
49
|
failCommand(1, err);
|
|
46
50
|
}
|
|
47
51
|
}
|
|
@@ -0,0 +1,211 @@
|
|
|
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
|
+
|
|
8
|
+
// ../core/dist/cacheDir.js
|
|
9
|
+
import { chmodSync, lstatSync, mkdirSync, readdirSync, readlinkSync, realpathSync } from "fs";
|
|
10
|
+
import { homedir } from "os";
|
|
11
|
+
import { dirname, isAbsolute, join, relative, resolve, sep } from "path";
|
|
12
|
+
var userCacheRoot = () => join(homedir(), ".cache", "hyperframes");
|
|
13
|
+
var GROUP_OR_WORLD_WRITE = 18;
|
|
14
|
+
var WITHOUT_GROUP_OR_WORLD_WRITE = 4077;
|
|
15
|
+
var STICKY = 512;
|
|
16
|
+
var ownedByAnotherAccount = (stat, uid) => stat.uid !== uid && stat.uid !== 0;
|
|
17
|
+
var stickyFolder = (stat) => stat.isDirectory() && (stat.mode & STICKY) !== 0;
|
|
18
|
+
var anotherAccountCanWrite = (stat, uid, insideRoot) => ownedByAnotherAccount(stat, uid) || !stat.isSymbolicLink() && (stat.mode & GROUP_OR_WORLD_WRITE) !== 0 && (insideRoot || !stickyFolder(stat));
|
|
19
|
+
var lstatIfPresent = (path) => lstatSync(path, { throwIfNoEntry: false });
|
|
20
|
+
function resolvedPath(path) {
|
|
21
|
+
try {
|
|
22
|
+
return realpathSync(path);
|
|
23
|
+
} catch (error) {
|
|
24
|
+
if (!(error instanceof Error && "code" in error && error.code === "ENOENT"))
|
|
25
|
+
throw error;
|
|
26
|
+
const parent = dirname(path);
|
|
27
|
+
return parent === path ? path : join(resolvedPath(parent), relative(parent, path));
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
function within(path, top) {
|
|
31
|
+
const suffix = relative(top, path);
|
|
32
|
+
return suffix !== ".." && !suffix.startsWith(".." + sep) && !isAbsolute(suffix);
|
|
33
|
+
}
|
|
34
|
+
function linkTargetPath(path) {
|
|
35
|
+
const link = readlinkSync(path);
|
|
36
|
+
return isAbsolute(link) ? link : dirname(path) + sep + link;
|
|
37
|
+
}
|
|
38
|
+
function firstWritableByAnother(path, top, uid, links = /* @__PURE__ */ new Set()) {
|
|
39
|
+
for (let at = path; ; at = dirname(at)) {
|
|
40
|
+
const stat = lstatIfPresent(at);
|
|
41
|
+
if (stat && anotherAccountCanWrite(stat, uid, within(at, top)))
|
|
42
|
+
return at;
|
|
43
|
+
if (stat?.isSymbolicLink()) {
|
|
44
|
+
if (links.has(at))
|
|
45
|
+
return at;
|
|
46
|
+
links.add(at);
|
|
47
|
+
const foreign = firstWritableByAnother(linkTargetPath(at), top, uid, links);
|
|
48
|
+
if (foreign)
|
|
49
|
+
return foreign;
|
|
50
|
+
links.delete(at);
|
|
51
|
+
}
|
|
52
|
+
if (at === dirname(at))
|
|
53
|
+
return void 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
function hyperframesCacheDir(...parts) {
|
|
57
|
+
const named = process.env["HYPERFRAMES_CACHE_DIR"];
|
|
58
|
+
return join(named ? resolve(named) : userCacheRoot(), ...parts);
|
|
59
|
+
}
|
|
60
|
+
function namedCacheDir(...parts) {
|
|
61
|
+
return process.env["HYPERFRAMES_CACHE_DIR"] ? hyperframesCacheDir(...parts) : void 0;
|
|
62
|
+
}
|
|
63
|
+
function foreignWritablePath(path, root) {
|
|
64
|
+
const uid = process.getuid?.();
|
|
65
|
+
if (uid === void 0)
|
|
66
|
+
return void 0;
|
|
67
|
+
const top = resolve(root);
|
|
68
|
+
const at = resolve(path);
|
|
69
|
+
const lexical = firstWritableByAnother(at, top, uid);
|
|
70
|
+
if (lexical || !within(at, top))
|
|
71
|
+
return lexical;
|
|
72
|
+
const realTop = resolvedPath(top);
|
|
73
|
+
const real = resolvedPath(at);
|
|
74
|
+
return within(real, realTop) ? firstWritableByAnother(real, realTop, uid) : at;
|
|
75
|
+
}
|
|
76
|
+
function foreignWritableTree(path, root) {
|
|
77
|
+
if (process.getuid?.() === void 0)
|
|
78
|
+
return void 0;
|
|
79
|
+
const initial = foreignWritablePath(path, root);
|
|
80
|
+
if (initial)
|
|
81
|
+
return initial;
|
|
82
|
+
const top = resolvedPath(root);
|
|
83
|
+
const pending = [resolvedPath(path)];
|
|
84
|
+
const visited = /* @__PURE__ */ new Set();
|
|
85
|
+
for (const at of pending) {
|
|
86
|
+
const foreign = foreignWritablePath(at, top);
|
|
87
|
+
if (foreign)
|
|
88
|
+
return foreign;
|
|
89
|
+
const real = resolvedPath(at);
|
|
90
|
+
if (visited.has(real))
|
|
91
|
+
continue;
|
|
92
|
+
visited.add(real);
|
|
93
|
+
const stat = lstatIfPresent(real);
|
|
94
|
+
if (!stat)
|
|
95
|
+
return at;
|
|
96
|
+
if (stat.isDirectory())
|
|
97
|
+
for (const name of readdirSync(real))
|
|
98
|
+
pending.push(join(real, name));
|
|
99
|
+
}
|
|
100
|
+
return void 0;
|
|
101
|
+
}
|
|
102
|
+
var CacheFolderNotPrivate = class extends Error {
|
|
103
|
+
path;
|
|
104
|
+
constructor(path) {
|
|
105
|
+
super(`${path} can be changed by another user account, so HyperFrames will not install or run code from it. If you own this directory, remove its group/other write permissions (chmod go-w). Otherwise set HYPERFRAMES_CACHE_DIR to a private directory whose parents are also private. An existing group-writable ~/.cache is refused; its permissions are never changed automatically.`);
|
|
106
|
+
this.path = path;
|
|
107
|
+
this.name = "CacheFolderNotPrivate";
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
function assertPrivateCachePath(path, root) {
|
|
111
|
+
const foreign = foreignWritablePath(path, root);
|
|
112
|
+
if (foreign)
|
|
113
|
+
throw new CacheFolderNotPrivate(foreign);
|
|
114
|
+
return path;
|
|
115
|
+
}
|
|
116
|
+
function ensurePrivateCacheDir(path, root, mode = 448) {
|
|
117
|
+
const top = resolve(root);
|
|
118
|
+
const target = resolve(path);
|
|
119
|
+
if (!within(target, top))
|
|
120
|
+
throw new Error(`${target} is not inside ${top}`);
|
|
121
|
+
const uid = process.getuid?.();
|
|
122
|
+
if (uid === void 0) {
|
|
123
|
+
mkdirSync(target, { recursive: true, mode });
|
|
124
|
+
return target;
|
|
125
|
+
}
|
|
126
|
+
assertPrivateCachePath(dirname(top), top);
|
|
127
|
+
mkdirSync(dirname(top), { recursive: true, mode: 448 });
|
|
128
|
+
let at = top;
|
|
129
|
+
for (const name of ["", ...relative(top, target).split(sep).filter(Boolean)]) {
|
|
130
|
+
at = join(at, name);
|
|
131
|
+
try {
|
|
132
|
+
mkdirSync(at, { mode });
|
|
133
|
+
} catch (error) {
|
|
134
|
+
if (!(error instanceof Error && "code" in error && error.code === "EEXIST"))
|
|
135
|
+
throw error;
|
|
136
|
+
}
|
|
137
|
+
const stat = lstatSync(at);
|
|
138
|
+
if (!stat.isDirectory() && !stat.isSymbolicLink())
|
|
139
|
+
throw new CacheFolderNotPrivate(at);
|
|
140
|
+
if (stat.isDirectory() && stat.uid === uid && (stat.mode & GROUP_OR_WORLD_WRITE) !== 0)
|
|
141
|
+
chmodSync(at, stat.mode & WITHOUT_GROUP_OR_WORLD_WRITE);
|
|
142
|
+
assertPrivateCachePath(at, top);
|
|
143
|
+
}
|
|
144
|
+
return assertPrivateCachePath(target, top);
|
|
145
|
+
}
|
|
146
|
+
function trustedCacheRoot() {
|
|
147
|
+
const root = hyperframesCacheDir();
|
|
148
|
+
return foreignWritablePath(root, root) ? userCacheRoot() : root;
|
|
149
|
+
}
|
|
150
|
+
function sealCacheInstall(path, root) {
|
|
151
|
+
const uid = process.getuid?.();
|
|
152
|
+
if (uid === void 0)
|
|
153
|
+
return;
|
|
154
|
+
const top = resolve(root);
|
|
155
|
+
const target = resolve(path);
|
|
156
|
+
if (!within(target, top) || !within(resolvedPath(target), resolvedPath(top)))
|
|
157
|
+
throw new CacheFolderNotPrivate(target);
|
|
158
|
+
assertPrivateCachePath(dirname(top), top);
|
|
159
|
+
const sealPermissions = (at, stat) => {
|
|
160
|
+
if (ownedByAnotherAccount(stat, uid))
|
|
161
|
+
throw new CacheFolderNotPrivate(at);
|
|
162
|
+
if ((stat.mode & GROUP_OR_WORLD_WRITE) === 0)
|
|
163
|
+
return;
|
|
164
|
+
if (stat.uid !== uid)
|
|
165
|
+
throw new CacheFolderNotPrivate(at);
|
|
166
|
+
chmodSync(at, stat.mode & WITHOUT_GROUP_OR_WORLD_WRITE);
|
|
167
|
+
};
|
|
168
|
+
const links = [];
|
|
169
|
+
const seal = (at) => {
|
|
170
|
+
const stat = lstatIfPresent(at);
|
|
171
|
+
if (!stat)
|
|
172
|
+
return;
|
|
173
|
+
if (stat.isSymbolicLink()) {
|
|
174
|
+
links.push(at);
|
|
175
|
+
return;
|
|
176
|
+
}
|
|
177
|
+
sealPermissions(at, stat);
|
|
178
|
+
if (stat.isDirectory())
|
|
179
|
+
for (const name of readdirSync(at))
|
|
180
|
+
seal(join(at, name));
|
|
181
|
+
};
|
|
182
|
+
for (let at = top; ; ) {
|
|
183
|
+
if (at === target)
|
|
184
|
+
break;
|
|
185
|
+
sealDirectory(at);
|
|
186
|
+
const next = relative(at, target).split(sep)[0];
|
|
187
|
+
if (!next)
|
|
188
|
+
break;
|
|
189
|
+
at = join(at, next);
|
|
190
|
+
}
|
|
191
|
+
seal(target);
|
|
192
|
+
for (const link of links)
|
|
193
|
+
assertPrivateCachePath(link, top);
|
|
194
|
+
function sealDirectory(at) {
|
|
195
|
+
const stat = lstatIfPresent(at);
|
|
196
|
+
if (stat?.isDirectory())
|
|
197
|
+
sealPermissions(at, stat);
|
|
198
|
+
assertPrivateCachePath(at, top);
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export {
|
|
203
|
+
hyperframesCacheDir,
|
|
204
|
+
namedCacheDir,
|
|
205
|
+
foreignWritablePath,
|
|
206
|
+
foreignWritableTree,
|
|
207
|
+
assertPrivateCachePath,
|
|
208
|
+
ensurePrivateCacheDir,
|
|
209
|
+
trustedCacheRoot,
|
|
210
|
+
sealCacheInstall
|
|
211
|
+
};
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
sanitizeSuccessfulExitCode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-U7M4SZUB.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/render-success-state.ts
|
|
12
12
|
var renderSucceeded = false;
|
|
@@ -4,15 +4,15 @@ 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
|
-
errorBox
|
|
9
|
-
} from "./chunk-ZLTB7ZCQ.js";
|
|
10
7
|
import {
|
|
11
8
|
trackCommandFailure
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-22B53HD3.js";
|
|
10
|
+
import {
|
|
11
|
+
errorBox
|
|
12
|
+
} from "./chunk-PQ2OPPGP.js";
|
|
13
13
|
import {
|
|
14
14
|
failCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-U7M4SZUB.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/project.ts
|
|
18
18
|
import { existsSync, statSync } from "fs";
|
|
@@ -11,14 +11,17 @@ import {
|
|
|
11
11
|
DEFAULT_REGISTRY_URL,
|
|
12
12
|
fetchItemManifest,
|
|
13
13
|
fetchRegistryManifest
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-C2GAAMZ3.js";
|
|
15
15
|
import {
|
|
16
16
|
closestNames
|
|
17
17
|
} from "./chunk-YAROSZMP.js";
|
|
18
|
+
import {
|
|
19
|
+
terminalText
|
|
20
|
+
} from "./chunk-3GF72UPC.js";
|
|
18
21
|
|
|
19
22
|
// src/registry/resolver.ts
|
|
20
23
|
function defaultWarn(message) {
|
|
21
|
-
process.stderr.write(`hyperframes:registry ${message}
|
|
24
|
+
process.stderr.write(`hyperframes:registry ${terminalText(message)}
|
|
22
25
|
`);
|
|
23
26
|
}
|
|
24
27
|
async function listRegistryItems(filter, options = {}) {
|
|
@@ -8,15 +8,18 @@ import {
|
|
|
8
8
|
buildNpmCommand
|
|
9
9
|
} from "./chunk-6BEFEWFB.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
ensurePrivateCacheDir,
|
|
12
|
+
foreignWritablePath,
|
|
13
|
+
foreignWritableTree,
|
|
14
|
+
sealCacheInstall,
|
|
15
|
+
trustedCacheRoot
|
|
16
|
+
} from "./chunk-KUJJJBV2.js";
|
|
13
17
|
|
|
14
18
|
// src/utils/optionalPackages.ts
|
|
15
19
|
import { spawn } from "child_process";
|
|
16
20
|
import { randomUUID } from "crypto";
|
|
17
21
|
import {
|
|
18
22
|
existsSync,
|
|
19
|
-
mkdirSync,
|
|
20
23
|
readdirSync,
|
|
21
24
|
readFileSync,
|
|
22
25
|
realpathSync,
|
|
@@ -35,15 +38,15 @@ var PINNED_PACKAGES = {
|
|
|
35
38
|
...OPTIONAL_PACKAGES,
|
|
36
39
|
"sherpa-onnx-node": "1.13.8"
|
|
37
40
|
};
|
|
38
|
-
var
|
|
41
|
+
var OPTIONAL_CACHE_DIR = join(trustedCacheRoot(), "optional");
|
|
39
42
|
var SHARP_VERSION = "0.35.5";
|
|
40
|
-
function optionalPackageDir(name, cacheDir =
|
|
43
|
+
function optionalPackageDir(name, cacheDir = OPTIONAL_CACHE_DIR) {
|
|
41
44
|
return join(cacheDir, `${name.replace("/", "__")}@${versionOf(name)}`);
|
|
42
45
|
}
|
|
43
46
|
function versionOf(name) {
|
|
44
47
|
return name === "sharp" ? SHARP_VERSION : OPTIONAL_PACKAGES[name];
|
|
45
48
|
}
|
|
46
|
-
function installedOptionalPackageVersion(name, cacheDir =
|
|
49
|
+
function installedOptionalPackageVersion(name, cacheDir = OPTIONAL_CACHE_DIR, cliUrl = import.meta.url) {
|
|
47
50
|
if (pinnedPackageBesideCli(name, cliUrl)?.resolution === "entry") return OPTIONAL_PACKAGES[name];
|
|
48
51
|
const dir = optionalPackageDir(name, cacheDir);
|
|
49
52
|
try {
|
|
@@ -148,12 +151,15 @@ var NETWORK_FAILURE = /ENOTFOUND|ETIMEDOUT|EAI_AGAIN|ECONNRESET|ECONNREFUSED|net
|
|
|
148
151
|
function manifestPath(dir, name) {
|
|
149
152
|
return join(dir, "node_modules", name, "package.json");
|
|
150
153
|
}
|
|
154
|
+
var writableByOthers = (dir, file) => !!foreignWritablePath(file, dirname(dir));
|
|
151
155
|
function isInstalled(dir, name) {
|
|
152
|
-
|
|
156
|
+
const manifest = manifestPath(dir, name);
|
|
157
|
+
return existsSync(manifest) && !foreignWritableTree(dir, dirname(dir));
|
|
153
158
|
}
|
|
154
159
|
function installedPackagePath(dir, name) {
|
|
155
160
|
if (!isInstalled(dir, name)) return null;
|
|
156
|
-
|
|
161
|
+
const entry = createRequire(join(dir, "package.json")).resolve(name);
|
|
162
|
+
return writableByOthers(dir, entry) ? null : entry;
|
|
157
163
|
}
|
|
158
164
|
function loadInstalled(dir, name) {
|
|
159
165
|
const entry = installedPackagePath(dir, name);
|
|
@@ -231,9 +237,10 @@ function sweepStaleStaging(dir) {
|
|
|
231
237
|
}
|
|
232
238
|
}
|
|
233
239
|
async function install(dir, name, version, run = (args, cwd) => runNpm(args, void 0, cwd)) {
|
|
240
|
+
ensurePrivateCacheDir(dirname(dir), dirname(dir));
|
|
234
241
|
sweepStaleStaging(dir);
|
|
235
242
|
const staging = `${dir}.tmp-${process.pid}-${randomUUID().slice(0, 8)}`;
|
|
236
|
-
|
|
243
|
+
ensurePrivateCacheDir(staging, dirname(dir));
|
|
237
244
|
writeFileSync(join(staging, "package.json"), "{}");
|
|
238
245
|
try {
|
|
239
246
|
await run(
|
|
@@ -251,6 +258,7 @@ async function install(dir, name, version, run = (args, cwd) => runNpm(args, voi
|
|
|
251
258
|
staging
|
|
252
259
|
);
|
|
253
260
|
if (isInstalled(dir, name)) return;
|
|
261
|
+
sealCacheInstall(staging, dirname(dir));
|
|
254
262
|
rmSync(dir, { recursive: true, force: true });
|
|
255
263
|
renameSync(staging, dir);
|
|
256
264
|
} catch (err) {
|
|
@@ -260,7 +268,7 @@ async function install(dir, name, version, run = (args, cwd) => runNpm(args, voi
|
|
|
260
268
|
}
|
|
261
269
|
}
|
|
262
270
|
var defaultDeps = {
|
|
263
|
-
cacheDir:
|
|
271
|
+
cacheDir: OPTIONAL_CACHE_DIR,
|
|
264
272
|
loadBesideCli: (name) => name === "sharp" ? null : loadBesideCli(name),
|
|
265
273
|
loadInstalled,
|
|
266
274
|
install,
|
|
@@ -270,7 +278,7 @@ var defaultDeps = {
|
|
|
270
278
|
export {
|
|
271
279
|
OPTIONAL_PACKAGES,
|
|
272
280
|
PINNED_PACKAGES,
|
|
273
|
-
|
|
281
|
+
OPTIONAL_CACHE_DIR,
|
|
274
282
|
installedOptionalPackageVersion,
|
|
275
283
|
loadInstalledOptionalPackage,
|
|
276
284
|
loadOptionalPackage,
|
|
@@ -7,25 +7,29 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
runCancellableProcess,
|
|
9
9
|
runRenderSetupWorker
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Q4FVSYTD.js";
|
|
11
11
|
import {
|
|
12
12
|
getFreeDiskMb
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YB2ZJJFJ.js";
|
|
14
14
|
import {
|
|
15
15
|
browserPathFromEnv,
|
|
16
16
|
isPinnedHeadlessShell,
|
|
17
17
|
managedChromeVersion,
|
|
18
18
|
pickSharedShell
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YWUE4CRU.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
assertPrivateCachePath,
|
|
22
|
+
ensurePrivateCacheDir,
|
|
23
|
+
foreignWritableTree,
|
|
24
|
+
sealCacheInstall,
|
|
25
|
+
trustedCacheRoot
|
|
26
|
+
} from "./chunk-KUJJJBV2.js";
|
|
23
27
|
import {
|
|
24
28
|
normalizeErrorMessage
|
|
25
29
|
} from "./chunk-E63BDV4Z.js";
|
|
26
30
|
import {
|
|
27
31
|
findTrustedExecutable
|
|
28
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-VM2VBJRC.js";
|
|
29
33
|
|
|
30
34
|
// src/browser/manager.ts
|
|
31
35
|
import { spawnSync } from "child_process";
|
|
@@ -153,8 +157,8 @@ Fix: run \`npm install\` or \`bun install\` to restore missing packages, then re
|
|
|
153
157
|
);
|
|
154
158
|
}
|
|
155
159
|
}
|
|
156
|
-
var CACHE_ROOT_DIR =
|
|
157
|
-
var CACHE_DIR =
|
|
160
|
+
var CACHE_ROOT_DIR = trustedCacheRoot();
|
|
161
|
+
var CACHE_DIR = join(CACHE_ROOT_DIR, "chrome");
|
|
158
162
|
var ARCHIVE_PLUS_UNPACKED_SHELL_MB = 512;
|
|
159
163
|
var PUPPETEER_CACHE_DIR = join(homedir(), ".cache", "puppeteer", "chrome-headless-shell");
|
|
160
164
|
var INSTALL_LOCK_DIR = join(CACHE_ROOT_DIR, ".chrome.install.lock");
|
|
@@ -221,7 +225,7 @@ function touchInstallLock() {
|
|
|
221
225
|
}
|
|
222
226
|
}
|
|
223
227
|
async function withInstallLock(fn, timings = INSTALL_LOCK_TIMINGS) {
|
|
224
|
-
|
|
228
|
+
ensurePrivateCacheDir(CACHE_ROOT_DIR, CACHE_ROOT_DIR);
|
|
225
229
|
let deadline = Date.now() + timings.staleMs;
|
|
226
230
|
const waitStart = Date.now();
|
|
227
231
|
let lastNoticeMs = 0;
|
|
@@ -326,7 +330,7 @@ async function findFromHyperframesCache() {
|
|
|
326
330
|
const match = installed.find(
|
|
327
331
|
(b) => b.browser === Browser.CHROMEHEADLESSSHELL && b.buildId === managedChromeVersion() && b.platform === hostPlatform
|
|
328
332
|
);
|
|
329
|
-
if (match && isPinnedHeadlessShell(match.executablePath)) {
|
|
333
|
+
if (match && isPinnedHeadlessShell(match.executablePath) && !foreignWritableTree(dirname2(match.executablePath), CACHE_ROOT_DIR)) {
|
|
330
334
|
return { result: { executablePath: match.executablePath, source: "cache" } };
|
|
331
335
|
}
|
|
332
336
|
if (match) {
|
|
@@ -404,7 +408,7 @@ async function findBrowser() {
|
|
|
404
408
|
if (fromCache.result) return fromCache.result;
|
|
405
409
|
if (fromCache.staleHyperframesCachePath) {
|
|
406
410
|
console.warn(
|
|
407
|
-
`[browser] Cached binary missing
|
|
411
|
+
`[browser] Cached binary missing, not the pinned build, or writable by another account at ${fromCache.staleHyperframesCachePath} \u2014 re-downloading...`
|
|
408
412
|
);
|
|
409
413
|
try {
|
|
410
414
|
return await withInstallLock(() => downloadBrowser());
|
|
@@ -498,7 +502,7 @@ async function ensureBrowserInCurrentProcess(options) {
|
|
|
498
502
|
if (fromCache.result) return fromCache.result;
|
|
499
503
|
if (fromCache.staleHyperframesCachePath) {
|
|
500
504
|
console.warn(
|
|
501
|
-
`[browser] Cached binary missing
|
|
505
|
+
`[browser] Cached binary missing, not the pinned build, or writable by another account at ${fromCache.staleHyperframesCachePath} \u2014 re-downloading...`
|
|
502
506
|
);
|
|
503
507
|
return withInstallLock(() => downloadBrowser(options));
|
|
504
508
|
}
|
|
@@ -661,7 +665,11 @@ async function downloadBrowser(options) {
|
|
|
661
665
|
const stagingDir = join(CACHE_ROOT_DIR, `${STAGING_PREFIX}${randomUUID()}`);
|
|
662
666
|
const clearStaging = () => rmSync(stagingDir, { recursive: true, force: true, maxRetries: 3, retryDelay: 100 });
|
|
663
667
|
const unzipLog = { lines: [] };
|
|
664
|
-
const
|
|
668
|
+
const install = stagedInstaller(browsers, platform, stagingDir, options, unzipLog);
|
|
669
|
+
const runInstall = () => {
|
|
670
|
+
ensurePrivateCacheDir(stagingDir, CACHE_ROOT_DIR);
|
|
671
|
+
return install();
|
|
672
|
+
};
|
|
665
673
|
try {
|
|
666
674
|
const staged = await retryWhileLocked(
|
|
667
675
|
() => retryOnStall(
|
|
@@ -710,7 +718,8 @@ function assertExecutableUnpacked(stagingDir, executablePath) {
|
|
|
710
718
|
function moveStagedInstallIntoCache(stagingDir, staged) {
|
|
711
719
|
const target = join(CACHE_DIR, relative(stagingDir, staged.path));
|
|
712
720
|
const aside = join(CACHE_ROOT_DIR, `${REPLACED_PREFIX}${randomUUID()}`);
|
|
713
|
-
|
|
721
|
+
sealCacheInstall(staged.path, stagingDir);
|
|
722
|
+
ensurePrivateCacheDir(dirname2(target), CACHE_ROOT_DIR, 493);
|
|
714
723
|
let replaced = false;
|
|
715
724
|
try {
|
|
716
725
|
renameSync(target, aside);
|
|
@@ -725,7 +734,11 @@ function moveStagedInstallIntoCache(stagingDir, staged) {
|
|
|
725
734
|
throw err;
|
|
726
735
|
}
|
|
727
736
|
if (replaced) removeLeftover(aside);
|
|
728
|
-
|
|
737
|
+
sealCacheInstall(target, CACHE_ROOT_DIR);
|
|
738
|
+
return assertPrivateCachePath(
|
|
739
|
+
join(target, relative(staged.path, staged.executablePath)),
|
|
740
|
+
CACHE_ROOT_DIR
|
|
741
|
+
);
|
|
729
742
|
}
|
|
730
743
|
var STAGING_PREFIX = ".chrome-staging-";
|
|
731
744
|
var REPLACED_PREFIX = ".chrome-replaced-";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
CliUsageError,
|
|
10
10
|
failCommand,
|
|
11
11
|
failUsage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-U7M4SZUB.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/jsonError.ts
|
|
15
15
|
import { format, stripVTControlCharacters } from "util";
|
|
@@ -33,6 +33,7 @@ var noticeDepth = 0;
|
|
|
33
33
|
function recordFailure(message, hint) {
|
|
34
34
|
reported = { message, hint };
|
|
35
35
|
}
|
|
36
|
+
var failureShown = () => reported !== void 0;
|
|
36
37
|
function asNotice(write) {
|
|
37
38
|
noticeDepth++;
|
|
38
39
|
try {
|
|
@@ -95,7 +96,7 @@ function withHint(body, hint) {
|
|
|
95
96
|
return hint ? { ...body, hint: stripVTControlCharacters(hint) } : body;
|
|
96
97
|
}
|
|
97
98
|
function errorCode(error, result) {
|
|
98
|
-
if (error instanceof CliUsageError) return error.code;
|
|
99
|
+
if (error instanceof CliUsageError || error instanceof CliRuntimeError) return error.code;
|
|
99
100
|
return result.kind === "usage_error" ? "usage_error" : "runtime_error";
|
|
100
101
|
}
|
|
101
102
|
function ownMessage(error) {
|
|
@@ -124,6 +125,7 @@ export {
|
|
|
124
125
|
failCaught,
|
|
125
126
|
writeJsonFailure,
|
|
126
127
|
recordFailure,
|
|
128
|
+
failureShown,
|
|
127
129
|
asNotice,
|
|
128
130
|
failureMessage,
|
|
129
131
|
watchOutput,
|