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
|
@@ -6,9 +6,9 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
downloadToFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PAHTZDMZ.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
OPTIONAL_CACHE_DIR,
|
|
12
12
|
PINNED_PACKAGES,
|
|
13
13
|
install,
|
|
14
14
|
installedPackagePath,
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
pinnedPackageBesideCli,
|
|
17
17
|
runNpm,
|
|
18
18
|
sweepStaleStaging
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-LB6ZAP4I.js";
|
|
20
20
|
import {
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-RRI7NGQZ.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ICZWQNBR.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
30
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -35,22 +35,23 @@ import {
|
|
|
35
35
|
SHERPA_WINDOW_PREFIX,
|
|
36
36
|
mergeWindowsToWords,
|
|
37
37
|
writeParakeetTranscript
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-63CSQYYO.js";
|
|
39
39
|
import {
|
|
40
|
+
ensurePrivateCacheDir,
|
|
40
41
|
hyperframesCacheDir
|
|
41
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-KUJJJBV2.js";
|
|
42
43
|
|
|
43
44
|
// src/whisper/sherpa.ts
|
|
44
45
|
import { execFile, spawn } from "child_process";
|
|
45
46
|
import { randomUUID } from "crypto";
|
|
46
47
|
import { mkdirSync, renameSync, rmSync, statSync } from "fs";
|
|
47
|
-
import { join } from "path";
|
|
48
|
+
import { dirname, join } from "path";
|
|
48
49
|
import { createInterface } from "readline";
|
|
49
50
|
import { fileURLToPath } from "url";
|
|
50
51
|
var RUNTIME = "sherpa-onnx-node";
|
|
51
52
|
var RUNTIME_VERSION = PINNED_PACKAGES[RUNTIME];
|
|
52
53
|
var SHERPA_RUNTIME_DIR = join(
|
|
53
|
-
|
|
54
|
+
OPTIONAL_CACHE_DIR,
|
|
54
55
|
`${RUNTIME}@${RUNTIME_VERSION}-${process.platform}-${process.arch}`
|
|
55
56
|
);
|
|
56
57
|
var MODEL_REPO = "csukuangfj/sherpa-onnx-nemo-parakeet-tdt-0.6b-v3-int8";
|
|
@@ -192,6 +193,7 @@ async function installSherpaRuntime({
|
|
|
192
193
|
} = {}) {
|
|
193
194
|
const present = await selectRuntime(dir, cliUrl, 6e4, signal);
|
|
194
195
|
if (present.status === "ready") return { installed: false, runtimePath: present.path };
|
|
196
|
+
ensurePrivateCacheDir(dirname(dir), dirname(dir));
|
|
195
197
|
rmSync(dir, { recursive: true, force: true });
|
|
196
198
|
const native = sherpaPlatformPackage();
|
|
197
199
|
await install(dir, RUNTIME, RUNTIME_VERSION, (args, cwd) => run([...args, native], signal, cwd));
|
|
@@ -6,46 +6,52 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
refreshIfNeeded
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4ZLWEPK4.js";
|
|
10
10
|
import {
|
|
11
11
|
envCredentialVar,
|
|
12
12
|
isTokenExpired,
|
|
13
13
|
tryResolveCredential
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SCEBICAQ.js";
|
|
15
15
|
import {
|
|
16
16
|
buildAuthHeaders
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TFAKFI3R.js";
|
|
18
18
|
import {
|
|
19
19
|
isHiddenProjectFile,
|
|
20
20
|
isPrivateCompositionFile,
|
|
21
21
|
linksToPrivateOutsideFile,
|
|
22
22
|
receivedFiles
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-Z3BPDCRV.js";
|
|
24
24
|
import {
|
|
25
|
+
INCLUDE_OUTSIDE_FILES_HINT,
|
|
25
26
|
isCopiedOutsideFileType,
|
|
26
27
|
isPrivateOutsideFile,
|
|
27
28
|
isUploadedOutsideFileType,
|
|
28
29
|
leftOutWarning,
|
|
29
30
|
linksOutside
|
|
30
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-B5TLZC2D.js";
|
|
31
32
|
import {
|
|
32
33
|
isAuthError
|
|
33
34
|
} from "./chunk-DMW5SSUN.js";
|
|
35
|
+
import {
|
|
36
|
+
readRecord,
|
|
37
|
+
recordKind,
|
|
38
|
+
writeRecord
|
|
39
|
+
} from "./chunk-OW6MOJSR.js";
|
|
34
40
|
import {
|
|
35
41
|
realFilePath
|
|
36
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-WTO3A7ET.js";
|
|
37
43
|
import {
|
|
38
44
|
terminalText
|
|
39
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-3GF72UPC.js";
|
|
40
46
|
import {
|
|
41
47
|
projectIgnore
|
|
42
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-TTRX7NM3.js";
|
|
43
49
|
import {
|
|
44
50
|
collectSubCompositionSrcs,
|
|
45
51
|
decodeTextHonoringBom,
|
|
46
52
|
namesAnotherNetworkRoot,
|
|
47
53
|
resolveCompositionSrc
|
|
48
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-S35RUNXJ.js";
|
|
49
55
|
import {
|
|
50
56
|
cssUrlMatches,
|
|
51
57
|
isNonRelativeUrl,
|
|
@@ -56,7 +62,7 @@ import {
|
|
|
56
62
|
import {
|
|
57
63
|
decodeUrlPathVariants,
|
|
58
64
|
encodeUrlPath
|
|
59
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-4NDSGKPO.js";
|
|
60
66
|
import {
|
|
61
67
|
parseHTML
|
|
62
68
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -64,6 +70,9 @@ import {
|
|
|
64
70
|
hyperframesConfigDir,
|
|
65
71
|
seededConfigFile
|
|
66
72
|
} from "./chunk-GR2E54E6.js";
|
|
73
|
+
import {
|
|
74
|
+
CliRuntimeError
|
|
75
|
+
} from "./chunk-U7M4SZUB.js";
|
|
67
76
|
import {
|
|
68
77
|
envProxyEnabled
|
|
69
78
|
} from "./chunk-QBXDU24O.js";
|
|
@@ -74,16 +83,22 @@ import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
|
|
|
74
83
|
import { join, resolve } from "path";
|
|
75
84
|
var configDir = () => hyperframesConfigDir();
|
|
76
85
|
var projectsFile = () => seededConfigFile("projects.json");
|
|
77
|
-
function
|
|
86
|
+
function jsonObject(text) {
|
|
78
87
|
try {
|
|
79
|
-
|
|
80
|
-
const parsed = JSON.parse(readFileSync(path, "utf-8"));
|
|
88
|
+
const parsed = JSON.parse(text);
|
|
81
89
|
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) return null;
|
|
82
90
|
return parsed;
|
|
83
91
|
} catch {
|
|
84
92
|
return null;
|
|
85
93
|
}
|
|
86
94
|
}
|
|
95
|
+
function readJsonRecord(path) {
|
|
96
|
+
try {
|
|
97
|
+
return existsSync(path) ? jsonObject(readFileSync(path, "utf-8")) : null;
|
|
98
|
+
} catch {
|
|
99
|
+
return null;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
87
102
|
function isProjectLink(value) {
|
|
88
103
|
if (typeof value !== "object" || value === null || Array.isArray(value)) return false;
|
|
89
104
|
const link = value;
|
|
@@ -131,8 +146,17 @@ var TEAM_PROJECT_FILE = "project.json";
|
|
|
131
146
|
function teamProjectPath(projectDir) {
|
|
132
147
|
return join(resolve(projectDir), TEAM_PROJECT_DIR, TEAM_PROJECT_FILE);
|
|
133
148
|
}
|
|
149
|
+
var MAX_TEAM_PROJECT_BYTES = 64 * 1024;
|
|
134
150
|
function readTeamProject(projectDir) {
|
|
135
|
-
const
|
|
151
|
+
const kind = recordKind(resolve(projectDir), TEAM_PROJECT_FILE);
|
|
152
|
+
if (kind === "absent") return null;
|
|
153
|
+
if (kind === "other")
|
|
154
|
+
throw new CliRuntimeError(
|
|
155
|
+
`${teamProjectPath(projectDir)} is a link or not a plain file, or ${TEAM_PROJECT_DIR} is not a real folder. Remove it and publish again.`
|
|
156
|
+
);
|
|
157
|
+
const record = jsonObject(
|
|
158
|
+
readRecord(resolve(projectDir), TEAM_PROJECT_FILE, MAX_TEAM_PROJECT_BYTES)
|
|
159
|
+
);
|
|
136
160
|
if (!record || typeof record.projectId !== "string" || record.projectId.length === 0) return null;
|
|
137
161
|
const spaceId = typeof record.spaceId === "string" && record.spaceId.length > 0 ? record.spaceId : void 0;
|
|
138
162
|
return { projectId: record.projectId, ...spaceId ? { spaceId } : {} };
|
|
@@ -143,9 +167,9 @@ function writeTeamProject(projectDir, team) {
|
|
|
143
167
|
projectId: team.projectId,
|
|
144
168
|
...team.spaceId ? { spaceId: team.spaceId } : {}
|
|
145
169
|
};
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
`);
|
|
170
|
+
if (!writeRecord(resolve(projectDir), TEAM_PROJECT_FILE, `${JSON.stringify(body, null, 2)}
|
|
171
|
+
`))
|
|
172
|
+
throw new Error(`Could not write ${file}`);
|
|
149
173
|
return file;
|
|
150
174
|
}
|
|
151
175
|
|
|
@@ -163,14 +187,24 @@ function leftOutReference(projectDir, file, reference, absPath, reason) {
|
|
|
163
187
|
const { path, levels_up } = outsideFileReference(projectDir, file, reference, absPath);
|
|
164
188
|
return { file, reference, path, reason, levels_up };
|
|
165
189
|
}
|
|
166
|
-
function
|
|
167
|
-
|
|
168
|
-
const lines = references.map(
|
|
190
|
+
function outsideFileLines(references) {
|
|
191
|
+
return references.map(
|
|
169
192
|
({ file, reference, path }) => terminalText(
|
|
170
193
|
file === reference ? ` ${path} (linked from ${file})` : ` ${path} (referenced by ${file})`
|
|
171
194
|
)
|
|
172
195
|
);
|
|
173
|
-
|
|
196
|
+
}
|
|
197
|
+
var fileCount = (references) => references.length === 1 ? "1 file" : `${references.length} files`;
|
|
198
|
+
function outsideFilesNotice(references) {
|
|
199
|
+
const heading = `Uploading ${fileCount(references)} from outside the project folder:`;
|
|
200
|
+
return [heading, ...outsideFileLines(references)].join("\n");
|
|
201
|
+
}
|
|
202
|
+
function outsideFilesQuestion(references) {
|
|
203
|
+
return [
|
|
204
|
+
`The project uses ${fileCount(references)} from outside its folder:`,
|
|
205
|
+
...outsideFileLines(references),
|
|
206
|
+
"Upload them too? Yes is remembered for this project; No leaves them out."
|
|
207
|
+
].join("\n");
|
|
174
208
|
}
|
|
175
209
|
|
|
176
210
|
// src/utils/publishProject.ts
|
|
@@ -212,8 +246,8 @@ function parsePublishedProjectResponse(payload) {
|
|
|
212
246
|
const url = stringField(data, "url");
|
|
213
247
|
const claimToken = stringField(data, "claim_token") ?? "";
|
|
214
248
|
const claimed = data["claimed"] === true;
|
|
215
|
-
const
|
|
216
|
-
if (!projectId || !title || !url || typeof
|
|
249
|
+
const fileCount2 = data["file_count"];
|
|
250
|
+
if (!projectId || !title || !url || typeof fileCount2 !== "number") {
|
|
217
251
|
return null;
|
|
218
252
|
}
|
|
219
253
|
if (!claimed && !claimToken) {
|
|
@@ -222,7 +256,7 @@ function parsePublishedProjectResponse(payload) {
|
|
|
222
256
|
return {
|
|
223
257
|
projectId,
|
|
224
258
|
title,
|
|
225
|
-
fileCount,
|
|
259
|
+
fileCount: fileCount2,
|
|
226
260
|
url,
|
|
227
261
|
claimToken,
|
|
228
262
|
claimed
|
|
@@ -437,7 +471,12 @@ function stageFile(absPath, onDiskMinBytes) {
|
|
|
437
471
|
function addExternalAsset(ctx, absPath, entryPath, rawPath) {
|
|
438
472
|
const existing = ctx.externalMap.get(absPath);
|
|
439
473
|
if (existing) return existing;
|
|
440
|
-
|
|
474
|
+
const reference = outsideFileReference(ctx.absProjectDir, entryPath, rawPath, absPath);
|
|
475
|
+
if (ctx.notApproved.has(absPath) || ctx.onOutsideFile?.(reference) === false) {
|
|
476
|
+
ctx.notApproved.add(absPath);
|
|
477
|
+
leaveOut(ctx, entryPath, rawPath, absPath, "not_approved");
|
|
478
|
+
return null;
|
|
479
|
+
}
|
|
441
480
|
const rel = relative2(ctx.absProjectDir, absPath).replaceAll("\\", "/");
|
|
442
481
|
const stripped = rel.replace(/^(?:\.\.\/)+/, "");
|
|
443
482
|
let archivePath = archiveKey(`${EXT_ASSETS_PREFIX}/${stripped}`);
|
|
@@ -457,17 +496,18 @@ function staysOut(ctx, rel) {
|
|
|
457
496
|
return !rel || ctx.fileContents.has(rel) || ctx.walkedLeftOut.has(rel) || rel.split("/").some(shouldIgnoreSegment);
|
|
458
497
|
}
|
|
459
498
|
var loadableReference = (absProjectDir, absPath) => isCopiedOutsideFileType(absPath) || !isHiddenProjectFile(absProjectDir, absPath);
|
|
460
|
-
function referencedFileLeftOut(ctx, entryPath, absPath) {
|
|
499
|
+
function referencedFileLeftOut(ctx, entryPath, rel, absPath) {
|
|
461
500
|
if (linksToPrivateOutsideFile(ctx.absProjectDir, absPath)) return "blocklisted";
|
|
462
501
|
if (isPrivateCompositionFile(ctx.absProjectDir, absPath)) return "private";
|
|
463
|
-
if (
|
|
502
|
+
if (linksOutside(ctx.absProjectDir, absPath) && ctx.received(entryPath)) return "received";
|
|
464
503
|
if (!loadableReference(ctx.absProjectDir, absPath)) return "private";
|
|
504
|
+
if (!linkOutsideApproved(ctx.absProjectDir, rel, absPath, ctx.onOutsideFile))
|
|
505
|
+
return "not_approved";
|
|
465
506
|
return null;
|
|
466
507
|
}
|
|
467
|
-
function
|
|
468
|
-
if (onOutsideFile
|
|
469
|
-
|
|
470
|
-
}
|
|
508
|
+
function linkOutsideApproved(absProjectDir, file, absPath, onOutsideFile) {
|
|
509
|
+
if (!onOutsideFile || !linksOutside(absProjectDir, absPath)) return true;
|
|
510
|
+
return onOutsideFile(outsideFileReference(absProjectDir, file, file, absPath)) !== false;
|
|
471
511
|
}
|
|
472
512
|
function includeReferencedProjectFile(ctx, resolvedPath, rawPath, requireOnDisk, entryPath) {
|
|
473
513
|
const fromRoot = resolve2(ctx.absProjectDir, rawPath);
|
|
@@ -481,9 +521,8 @@ function includeReferencedProjectFile(ctx, resolvedPath, rawPath, requireOnDisk,
|
|
|
481
521
|
continue;
|
|
482
522
|
}
|
|
483
523
|
if (!statSync(absPath).isFile()) return;
|
|
484
|
-
const reason = referencedFileLeftOut(ctx, entryPath, absPath);
|
|
524
|
+
const reason = referencedFileLeftOut(ctx, entryPath, rel, absPath);
|
|
485
525
|
if (reason) return leaveOut(ctx, entryPath, rawPath, absPath, reason);
|
|
486
|
-
reportProjectLinkOutside(ctx.absProjectDir, rel, absPath, ctx.onOutsideFile);
|
|
487
526
|
ctx.fileContents.set(rel, stageFile(absPath, ctx.onDiskMinBytes));
|
|
488
527
|
return;
|
|
489
528
|
}
|
|
@@ -492,8 +531,17 @@ function includeReferencedProjectFile(ctx, resolvedPath, rawPath, requireOnDisk,
|
|
|
492
531
|
}
|
|
493
532
|
var HARD_REFERENCES = /* @__PURE__ */ new Set(["video[src]", "audio[src]", "img[src]", "video[poster]"]);
|
|
494
533
|
var relativeToProject = (ctx, absPath) => encodeUrlPath(relative2(ctx.absProjectDir, absPath).replaceAll("\\", "/"));
|
|
534
|
+
var UNCHECKED_NOTE = " The project has too many folders to search them all for received-files records, so every file counts as received.";
|
|
535
|
+
function strictNote(received, reason) {
|
|
536
|
+
if (reason !== "received") return "";
|
|
537
|
+
if (received.unchecked) return UNCHECKED_NOTE;
|
|
538
|
+
if (received.gone === void 0) return "";
|
|
539
|
+
return terminalText(
|
|
540
|
+
` ${received.gone} is listed as received but is gone, so every page, stylesheet, script and SVG counts as received. To clear this, put the file back, or take its line out of .hyperframes/received-files.json once you know where its content went.`
|
|
541
|
+
);
|
|
542
|
+
}
|
|
495
543
|
function leaveOut(ctx, entryPath, rawPath, absPath, reason = "blocklisted") {
|
|
496
|
-
const warning = leftOutWarning2(entryPath, rawPath, reason)
|
|
544
|
+
const warning = `${leftOutWarning2(entryPath, rawPath, reason)}${strictNote(ctx.received, reason)}`;
|
|
497
545
|
if (ctx.leftOut.has(warning)) return;
|
|
498
546
|
ctx.leftOut.add(warning);
|
|
499
547
|
ctx.onLeftOut?.(
|
|
@@ -530,7 +578,11 @@ function archiveTargetOf(ctx, absPath, rawPath, options) {
|
|
|
530
578
|
} catch {
|
|
531
579
|
return void 0;
|
|
532
580
|
}
|
|
533
|
-
return
|
|
581
|
+
return externalArchiveTarget(ctx, absPath, options.entryPath, rawPath);
|
|
582
|
+
}
|
|
583
|
+
function externalArchiveTarget(ctx, absPath, entryPath, rawPath) {
|
|
584
|
+
const archivePath = addExternalAsset(ctx, absPath, entryPath, rawPath);
|
|
585
|
+
return archivePath === null ? void 0 : encodeUrlPath(archivePath);
|
|
534
586
|
}
|
|
535
587
|
function splitPathSuffix(rawPath) {
|
|
536
588
|
const cut = rawPath.search(/(?<!^[\\/]{2})[?#]/);
|
|
@@ -672,6 +724,7 @@ function localizeExternalAssets(absProjectDir, fileContents, onDiskMinBytes = In
|
|
|
672
724
|
externalMap: /* @__PURE__ */ new Map(),
|
|
673
725
|
usedArchivePaths: /* @__PURE__ */ new Set(),
|
|
674
726
|
leftOut: /* @__PURE__ */ new Set(),
|
|
727
|
+
notApproved: /* @__PURE__ */ new Set(),
|
|
675
728
|
onLeftOut,
|
|
676
729
|
onOutsideFile,
|
|
677
730
|
received: receivedFiles(absProjectDir),
|
|
@@ -712,12 +765,13 @@ function composeNamesInText(fileContents, filePaths) {
|
|
|
712
765
|
var WALKED_LEFT_OUT = {
|
|
713
766
|
private: "holds secrets or tool data (an env file, Git data, credentials, agent or editor state, or Studio records)",
|
|
714
767
|
blocklisted: "links to a file outside the project in a private location",
|
|
715
|
-
received: "links to a file outside the project and came in with an imported project"
|
|
768
|
+
received: "links to a file outside the project and came in with an imported project",
|
|
769
|
+
not_approved: "links to a file outside the project that was not approved for upload"
|
|
716
770
|
};
|
|
717
771
|
function walkedFileLeftOut(absProjectDir, filePath, absPath, received) {
|
|
718
772
|
if (linksToPrivateOutsideFile(absProjectDir, absPath)) return "blocklisted";
|
|
719
773
|
if (isPrivateCompositionFile(absProjectDir, absPath)) return "private";
|
|
720
|
-
if (
|
|
774
|
+
if (linksOutside(absProjectDir, absPath) && received(filePath)) return "received";
|
|
721
775
|
return null;
|
|
722
776
|
}
|
|
723
777
|
function stagePublishFiles(projectDir, onDiskMinBytes, onLeftOut, onOutsideFile, entry = "index.html") {
|
|
@@ -738,7 +792,7 @@ function stagePublishFiles(projectDir, onDiskMinBytes, onLeftOut, onOutsideFile,
|
|
|
738
792
|
const reason = walkedFileLeftOut(absProjectDir, filePath, absPath, received);
|
|
739
793
|
if (reason) {
|
|
740
794
|
onLeftOut?.(
|
|
741
|
-
`${filePath} ${WALKED_LEFT_OUT[reason]}; it was left out of the upload
|
|
795
|
+
`${filePath} ${WALKED_LEFT_OUT[reason]}; it was left out of the upload.${strictNote(received, reason)}`,
|
|
742
796
|
leftOutReference(absProjectDir, filePath, filePath, absPath, reason)
|
|
743
797
|
);
|
|
744
798
|
walkedLeftOut.add(archiveKey(filePath));
|
|
@@ -752,7 +806,14 @@ function stagePublishFiles(projectDir, onDiskMinBytes, onLeftOut, onOutsideFile,
|
|
|
752
806
|
);
|
|
753
807
|
}
|
|
754
808
|
diskPathOf.set(key, filePath);
|
|
755
|
-
|
|
809
|
+
if (!linkOutsideApproved(absProjectDir, filePath, absPath, onOutsideFile)) {
|
|
810
|
+
onLeftOut?.(
|
|
811
|
+
`${filePath} ${WALKED_LEFT_OUT.not_approved}; it was left out of the upload. ${INCLUDE_OUTSIDE_FILES_HINT}`,
|
|
812
|
+
leftOutReference(absProjectDir, filePath, filePath, absPath, "not_approved")
|
|
813
|
+
);
|
|
814
|
+
walkedLeftOut.add(key);
|
|
815
|
+
continue;
|
|
816
|
+
}
|
|
756
817
|
fileContents.set(key, stageFile(absPath, onDiskMinBytes));
|
|
757
818
|
}
|
|
758
819
|
composeNamesInText(fileContents, filePaths);
|
|
@@ -896,7 +957,7 @@ async function publishProjectArchiveStaged(apiBaseUrl, title, archive, isPublic,
|
|
|
896
957
|
async function publishProjectArchive(projectDir, opts = {}) {
|
|
897
958
|
const isPublic = opts.public === true;
|
|
898
959
|
const title = basename(projectDir);
|
|
899
|
-
const archive = opts.archive ?? createPublishArchive(projectDir);
|
|
960
|
+
const archive = opts.archive ?? createPublishArchive(projectDir, void 0, () => false);
|
|
900
961
|
const apiBaseUrl = getPublishApiBaseUrl();
|
|
901
962
|
const credential = await resolvePublishCredential(opts.credential);
|
|
902
963
|
const authHeaders = credential ? buildAuthHeaders(credential) : {};
|
|
@@ -941,6 +1002,7 @@ export {
|
|
|
941
1002
|
readTeamProject,
|
|
942
1003
|
writeTeamProject,
|
|
943
1004
|
outsideFilesNotice,
|
|
1005
|
+
outsideFilesQuestion,
|
|
944
1006
|
resolvePublishCredential,
|
|
945
1007
|
TEXT_FILE_EXTS,
|
|
946
1008
|
stagedSize,
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
CONVERTIBLE_IMAGE_EXTS,
|
|
13
13
|
VIDEO_EXTS,
|
|
14
14
|
isControlByte
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TRQDC2UC.js";
|
|
16
16
|
import {
|
|
17
17
|
realFilePath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WTO3A7ET.js";
|
|
19
19
|
|
|
20
20
|
// ../studio-server/dist/helpers/outsideFile.js
|
|
21
21
|
import { closeSync, constants, fstatSync, openSync, readSync } from "fs";
|
|
@@ -112,8 +112,11 @@ var WHY = {
|
|
|
112
112
|
private: "which holds secrets or tool data",
|
|
113
113
|
blocklisted: "which is outside the project in a private location",
|
|
114
114
|
received: "which leads outside the project and came in with an imported project",
|
|
115
|
-
network_share: "which is on another computer's network share or is a Windows device path"
|
|
115
|
+
network_share: "which is on another computer's network share or is a Windows device path",
|
|
116
|
+
script: "which is a script outside the project",
|
|
117
|
+
not_approved: "which is outside the project and was not approved for upload"
|
|
116
118
|
};
|
|
119
|
+
var INCLUDE_OUTSIDE_FILES_HINT = "Pass --include-outside-files to upload it.";
|
|
117
120
|
var COPIED_TYPES = {
|
|
118
121
|
upload: "an image, video, audio, font or CSS file",
|
|
119
122
|
render: "an image, video, audio, font, CSS or JS file"
|
|
@@ -121,7 +124,10 @@ var COPIED_TYPES = {
|
|
|
121
124
|
function leftOutWarning(file, reference, reason, from = "upload") {
|
|
122
125
|
const why = reason === "file_type" ? `which is outside the project and is not ${COPIED_TYPES[from]}` : WHY[reason];
|
|
123
126
|
const warning = `${file} references ${reference}, ${why}; it was left out of the ${from}.`;
|
|
124
|
-
|
|
127
|
+
if (reason === "file_type") return `${warning} Move it into the project to include it.`;
|
|
128
|
+
if (reason === "not_approved") return `${warning} ${INCLUDE_OUTSIDE_FILES_HINT}`;
|
|
129
|
+
if (reason !== "script") return warning;
|
|
130
|
+
return `${warning} Move it into the project, or pass --include-outside-files to hyperframes render, to run it.`;
|
|
125
131
|
}
|
|
126
132
|
|
|
127
133
|
export {
|
|
@@ -130,5 +136,6 @@ export {
|
|
|
130
136
|
isEnvOrGitPath,
|
|
131
137
|
isPrivateOutsideFile,
|
|
132
138
|
linksOutside,
|
|
139
|
+
INCLUDE_OUTSIDE_FILES_HINT,
|
|
133
140
|
leftOutWarning
|
|
134
141
|
};
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
ensureHfIds,
|
|
13
13
|
mintHfId,
|
|
14
14
|
walkCompositionDescendants
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7AP5C4C2.js";
|
|
16
16
|
import {
|
|
17
17
|
isAllowedHtmlAttribute,
|
|
18
18
|
isSafeAttributeValue,
|
|
19
19
|
sanitizeRichTextChildren
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MPVJI4SE.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TTRX7NM3.js";
|
|
24
24
|
import {
|
|
25
25
|
SPLIT_BOUNDARY_EPSILON_S,
|
|
26
26
|
readClipTiming,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
import {
|
|
32
32
|
decodedUrlPath,
|
|
33
33
|
removeElementWithGsapCascade
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-4NDSGKPO.js";
|
|
35
35
|
import {
|
|
36
36
|
parseHTML
|
|
37
37
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
q,
|
|
12
12
|
spinner,
|
|
13
13
|
ye
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OH3MUFZG.js";
|
|
15
15
|
import {
|
|
16
16
|
defineCommand
|
|
17
17
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-JCNPHRGX.js";
|
|
21
21
|
import {
|
|
22
22
|
replaceFileAtomically
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LYTELQL2.js";
|
|
24
24
|
import {
|
|
25
25
|
NO_UPDATE_NOTICE,
|
|
26
26
|
checkForUpdate,
|
|
@@ -31,16 +31,16 @@ import {
|
|
|
31
31
|
rewriteProjectPinnedScripts,
|
|
32
32
|
updateChannel,
|
|
33
33
|
withMeta
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FU62NEWC.js";
|
|
35
35
|
import {
|
|
36
36
|
setCommandExitCode
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-U7M4SZUB.js";
|
|
38
38
|
import {
|
|
39
39
|
isUnattended
|
|
40
40
|
} from "./chunk-CPHQTXP5.js";
|
|
41
41
|
import {
|
|
42
42
|
VERSION
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-7DMES2F3.js";
|
|
44
44
|
|
|
45
45
|
// src/commands/upgrade.ts
|
|
46
46
|
import { execFileSync } from "child_process";
|