hyperframes 0.9.59 → 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/dist/{add-C7J7HSLI.js → add-LNPIKHAX.js} +26 -27
- package/dist/{agentPromptGenerator-GCLJUGVE.js → agentPromptGenerator-N3HL4JWM.js} +15 -17
- package/dist/{animatedGifPrep-JPQZPZC4.js → animatedGifPrep-SEPXIM4W.js} +20 -21
- package/dist/api.d.ts +8 -1
- package/dist/api.js +58 -58
- package/dist/{appHistory-TQ6JAEP5.js → appHistory-ASGUPUUV.js} +5 -6
- package/dist/{asset-HQEPGBDJ.js → asset-3L2G3ROU.js} +15 -5
- package/dist/{assetCataloger-LMPPKPF6.js → assetCataloger-3D75A6GI.js} +16 -18
- package/dist/{audio-FD2EBZ6D.js → audio-U4W5ZWQ7.js} +45 -45
- package/dist/{auth-JA7XH6NG.js → auth-V4G5ZE3P.js} +4 -4
- package/dist/{autoUpdate-WKW2OMIY.js → autoUpdate-QYKF3DDS.js} +4 -4
- package/dist/{avatars-Q7U6CO4X.js → avatars-SB2XCDWJ.js} +23 -25
- package/dist/{backgroundChecks-H2SOS2CM.js → backgroundChecks-KHBYRE6J.js} +5 -5
- package/dist/backgroundChecksWorker.js +5 -5
- package/dist/{batchRender-75OLVMZY.js → batchRender-6S5GMICZ.js} +7 -9
- package/dist/{beats-R4EHWWJN.js → beats-7YLYCCMD.js} +16 -18
- package/dist/{benchmark-F5OHG3Q3.js → benchmark-IBX7ZWVU.js} +27 -27
- package/dist/{billing-LBRSBVXQ.js → billing-EAHOGMQW.js} +21 -23
- package/dist/{browser-CNTCFZOG.js → browser-XKYRXDJW.js} +13 -15
- package/dist/{bundleWithLocalizedFonts-RVF7AFP5.js → bundleWithLocalizedFonts-ZFX7TSWT.js} +1 -1
- package/dist/{capture-CTRZEZTC.js → capture-4WKQKMXG.js} +10 -12
- package/dist/{capture-DLYM3V5F.js → capture-IBOCZ2MK.js} +43 -41
- package/dist/{captureCompositionFrame-2O2HP6SK.js → captureCompositionFrame-HZA3LNU3.js} +22 -24
- package/dist/{captureFile-W7ZDDBCD.js → captureFile-Z7HQDRC2.js} +4 -5
- package/dist/{catalog-6XL63LU3.js → catalog-TSXQTLKM.js} +28 -30
- package/dist/{catch-up-AOFQWE6O.js → catch-up-LD2B5CE3.js} +15 -17
- package/dist/{check-5V7K4RL6.js → check-TEZKUD26.js} +62 -63
- package/dist/{checkAudio-4YUTDQSQ.js → checkAudio-3GM74ZGV.js} +18 -20
- package/dist/{checkBrowser-BAWRZZZU.js → checkBrowser-OFH3I7Q6.js} +52 -53
- package/dist/{chunk-6ATP7YPZ.js → chunk-22B53HD3.js} +9 -4
- package/dist/{chunk-7Q4EGB3N.js → chunk-2CNVJQKU.js} +1 -1
- package/dist/{chunk-7XOORL2Q.js → chunk-2H4SJSUS.js} +10 -10
- package/dist/{chunk-EGZQX3UX.js → chunk-2SPQTJA2.js} +24 -22
- package/dist/{chunk-HY7FPTBD.js → chunk-32H642MS.js} +2 -2
- package/dist/{chunk-MHF5F4FF.js → chunk-3GF72UPC.js} +74 -15
- package/dist/chunk-3HJX4F2S.js +39 -0
- package/dist/{chunk-7YRZBB4C.js → chunk-3ROFCQAW.js} +1 -1
- package/dist/{chunk-B653JKWT.js → chunk-3W2ORSFV.js} +4 -4
- package/dist/{chunk-R3ONQOLE.js → chunk-4AMOVEV7.js} +11 -11
- package/dist/{chunk-KQHDFVFF.js → chunk-4EWS3KP3.js} +2 -2
- package/dist/{chunk-O733DEVT.js → chunk-4ORH2OXS.js} +1 -1
- package/dist/{chunk-VPPKUCSP.js → chunk-4SDNEKTL.js} +2 -2
- package/dist/{chunk-AEXDJU77.js → chunk-4T45V6GF.js} +1 -1
- package/dist/{chunk-MVA4OQL7.js → chunk-4ZLWEPK4.js} +1 -1
- package/dist/{chunk-2ARKMOCD.js → chunk-5F2ULLFW.js} +6 -6
- package/dist/{chunk-CIXP5G7Z.js → chunk-5GUYYSVT.js} +1 -1
- package/dist/{chunk-JQ7BPN2R.js → chunk-5RM7274K.js} +3 -3
- package/dist/{chunk-TVWDS5AT.js → chunk-5T2LNQAH.js} +46 -18
- package/dist/{chunk-C3NDLM4S.js → chunk-5ZAM42GH.js} +2 -2
- package/dist/{chunk-5IE5ZI66.js → chunk-62UUXB3F.js} +1 -1
- package/dist/{chunk-5T6HPV25.js → chunk-63CSQYYO.js} +2 -2
- package/dist/{chunk-R4EWRIDL.js → chunk-6B2TH52B.js} +8 -1
- package/dist/{chunk-Z2U7ELGP.js → chunk-6KU6TCSS.js} +2 -2
- package/dist/{chunk-ZQIMO52O.js → chunk-6NDSDQCR.js} +59 -24
- package/dist/{chunk-65X2G57W.js → chunk-6OKMCIDU.js} +4 -4
- package/dist/{chunk-LZWG4GCC.js → chunk-6P7FLYOR.js} +55 -125
- package/dist/{chunk-FQ26QE5N.js → chunk-6R22Y26Z.js} +1 -1
- package/dist/{chunk-WQGDE3L6.js → chunk-6X2CLRU7.js} +1 -1
- package/dist/{chunk-OV5OSN74.js → chunk-6ZU654EU.js} +3 -3
- package/dist/{chunk-6LGB4MVX.js → chunk-73NC557V.js} +1 -1
- package/dist/{chunk-AQIHV4PM.js → chunk-7463BOQJ.js} +2 -2
- package/dist/{chunk-I6OSAVHD.js → chunk-7AP5C4C2.js} +7 -11
- package/dist/{chunk-JLMMY3UI.js → chunk-7DMES2F3.js} +2 -2
- package/dist/{chunk-RKIF4EU7.js → chunk-7GDEQJSL.js} +14 -14
- package/dist/{chunk-ECGNWHFE.js → chunk-A2ZUVULS.js} +88 -2
- package/dist/{chunk-OPIS2YMA.js → chunk-ADQ7XZE5.js} +6 -6
- package/dist/{chunk-ZIYYSD6S.js → chunk-B5JWBMDR.js} +79 -40
- package/dist/{chunk-PLOCYJ5U.js → chunk-B5TLZC2D.js} +11 -4
- package/dist/{chunk-UNB2DFR2.js → chunk-BAU3ASNM.js} +3 -3
- package/dist/{chunk-DSCMYTKJ.js → chunk-BHZZM2PK.js} +3 -3
- package/dist/chunk-BNH2IKGV.js +5101 -0
- package/dist/{chunk-SO7FT7YA.js → chunk-BNO5RN55.js} +33 -32
- package/dist/{chunk-TNFTRLLJ.js → chunk-C2GAAMZ3.js} +3 -3
- package/dist/{chunk-TIBFCGLT.js → chunk-C7IEAEKF.js} +1 -1
- package/dist/{chunk-EUVU5JS4.js → chunk-CAAUQUCW.js} +23 -9
- package/dist/{chunk-GMIFMRWR.js → chunk-CPHK3XMF.js} +6 -6
- package/dist/{chunk-SGQKP2JT.js → chunk-CPLVXXRS.js} +2 -2
- package/dist/{chunk-KYXH4JWF.js → chunk-CRX444MF.js} +18 -17
- package/dist/{chunk-6R4MEYWD.js → chunk-CRZ7FUMI.js} +2 -2
- package/dist/{chunk-I5H2FPNP.js → chunk-CSWJCRDU.js} +1 -1
- package/dist/{chunk-PSREPOJ4.js → chunk-CT54FOTS.js} +18 -14
- package/dist/{chunk-TJGGLLQJ.js → chunk-CYM53TWZ.js} +28 -14
- package/dist/chunk-D37I36FY.js +21 -0
- package/dist/{chunk-3RTZ2UX7.js → chunk-DD37XZVE.js} +1 -1
- package/dist/{chunk-QKHW5NXL.js → chunk-DWGDP537.js} +2 -2
- package/dist/chunk-EDH2DMXM.js +113 -0
- package/dist/{chunk-PCHUX7Y5.js → chunk-ENKXJNKX.js} +2 -2
- package/dist/{chunk-VXRTE7MZ.js → chunk-ERYGKPIR.js} +1 -1
- package/dist/{chunk-HOIEN7O4.js → chunk-F6PI5O3H.js} +3 -1
- package/dist/{chunk-PHYFZXOS.js → chunk-FLJ4S7NA.js} +2 -2
- package/dist/{chunk-3DFEBAWJ.js → chunk-FU62NEWC.js} +2 -2
- package/dist/{chunk-PDT6CBK2.js → chunk-G7HO2FFX.js} +3 -3
- package/dist/chunk-GADMF4BL.js +170 -0
- package/dist/{chunk-HXFGAI6L.js → chunk-GNRC4L6F.js} +16 -16
- package/dist/{chunk-XZ6THYIK.js → chunk-GYPZTG46.js} +5 -5
- package/dist/{chunk-GYJ7AJXN.js → chunk-H4HYZUE3.js} +1 -1
- package/dist/{chunk-URHIQHDR.js → chunk-H6Y4XOSP.js} +14 -12
- package/dist/{chunk-TIZC4XKU.js → chunk-HAMPVCRY.js} +2 -2
- package/dist/{chunk-677JGYQL.js → chunk-HLVNKNSW.js} +1 -0
- package/dist/{chunk-YMKCJRVK.js → chunk-HTHLFEO2.js} +1 -1
- package/dist/{chunk-RAOGN2HG.js → chunk-ICZWQNBR.js} +1 -1
- package/dist/{chunk-4STRMCGD.js → chunk-IIXSSRUR.js} +4 -4
- package/dist/{chunk-4QSDXDLV.js → chunk-ILKK6F5E.js} +3 -3
- package/dist/{chunk-ORKZUTZW.js → chunk-IOWECUEU.js} +1 -1
- package/dist/{chunk-T5QI7ZL2.js → chunk-IT2YUKYY.js} +5 -5
- package/dist/{chunk-SXCM6VY3.js → chunk-IU6AC3WL.js} +1 -1
- package/dist/{chunk-WDMSNDHS.js → chunk-J56ZJFSF.js} +285 -114
- package/dist/{chunk-POFQOZOF.js → chunk-KBEC6VQS.js} +426 -185
- package/dist/{chunk-ELDZ6C3R.js → chunk-KTY46LIH.js} +7 -3
- package/dist/{chunk-XXOEYRD5.js → chunk-KYZEK7QF.js} +2 -2
- package/dist/{chunk-N6QWL3E7.js → chunk-L7MFHIG7.js} +2 -2
- package/dist/{chunk-ISSG4PUD.js → chunk-LGIWC6KN.js} +3 -3
- package/dist/{chunk-CC72LTIT.js → chunk-LTXZLTXW.js} +180 -202
- package/dist/{chunk-WI3FM54X.js → chunk-LULZFFDN.js} +3 -3
- package/dist/{chunk-FFL5R2EZ.js → chunk-LV2ETFC5.js} +4 -4
- package/dist/{chunk-K2WLOTTF.js → chunk-LYTELQL2.js} +2 -4
- package/dist/{chunk-RHFB457E.js → chunk-LZSSGF7G.js} +3 -3
- package/dist/chunk-MERWX4DZ.js +159 -0
- package/dist/{chunk-H3TD4VKX.js → chunk-MJBBKSKB.js} +1 -1
- package/dist/{chunk-QHVE6AFU.js → chunk-MPVJI4SE.js} +1 -1
- package/dist/{chunk-BMTT2T7M.js → chunk-MPX3FO4A.js} +5 -5
- package/dist/{chunk-SC7SX2I3.js → chunk-MQCIX6O2.js} +4 -4
- package/dist/{chunk-ODLSLYJR.js → chunk-MTCVUAUK.js} +2 -2
- package/dist/{chunk-J4OHC5FU.js → chunk-NK2UW3WR.js} +1 -1
- package/dist/{chunk-7CI5MLCC.js → chunk-NOJRZCN3.js} +26 -11
- package/dist/{chunk-3QMGLSKC.js → chunk-NU7BEOCX.js} +2 -2
- package/dist/chunk-NY6E4272.js +112 -0
- package/dist/{chunk-L4MXZHRB.js → chunk-OBP5WNKP.js} +3 -3
- package/dist/{chunk-JUUOYXWH.js → chunk-OGOR22GY.js} +2 -2
- package/dist/{chunk-XWV6BOCG.js → chunk-OPUR2XQ2.js} +5 -5
- package/dist/{chunk-JT7RXK2N.js → chunk-OW6MOJSR.js} +1 -1
- package/dist/{chunk-4VJQVTQI.js → chunk-PAHTZDMZ.js} +1 -1
- package/dist/{chunk-FC77MYAD.js → chunk-PPETKAEO.js} +1 -1
- package/dist/{chunk-6VY52EVW.js → chunk-PQ2OPPGP.js} +7 -3
- package/dist/{chunk-KK5Z5XQ3.js → chunk-PTGNUVCB.js} +3 -0
- package/dist/{chunk-HTISHNLA.js → chunk-Q7IOMZ5X.js} +1 -1
- package/dist/{chunk-PMKWTXHE.js → chunk-R2LBMDYH.js} +2 -2
- package/dist/{chunk-QBN2W4T3.js → chunk-RC2DDVX5.js} +1 -1
- package/dist/{chunk-ZMLZRMG7.js → chunk-RDJOA5MM.js} +2 -2
- package/dist/{chunk-J3H6QDDY.js → chunk-RF3DT4CS.js} +1 -1
- package/dist/{chunk-WRSGWDDB.js → chunk-RJCQZMNI.js} +9 -9
- package/dist/{chunk-QC35TPEE.js → chunk-RRI7NGQZ.js} +6 -6
- package/dist/{chunk-RDWGNSVI.js → chunk-RSYV6NNI.js} +2 -2
- package/dist/{chunk-6EMFSRTW.js → chunk-S35RUNXJ.js} +7 -0
- package/dist/{chunk-KGPHUBBA.js → chunk-SCEBICAQ.js} +1 -1
- package/dist/{chunk-VFGFXE6J.js → chunk-SDIQEPAR.js} +1 -1
- package/dist/{chunk-OF7SQ77J.js → chunk-SIQGTRZ5.js} +1 -1
- package/dist/{chunk-QVHDAS3L.js → chunk-SQI2MWJE.js} +4 -4
- package/dist/{chunk-2LJPBYKI.js → chunk-SYMLVFQF.js} +1 -1
- package/dist/{chunk-QJ2BV7FM.js → chunk-TJAFCC37.js} +9 -9
- package/dist/{chunk-6T4PB35F.js → chunk-TRQDC2UC.js} +9 -2
- package/dist/{chunk-PYRM3OAI.js → chunk-TRVWLAQ3.js} +11 -13
- package/dist/{chunk-HLOJSBGC.js → chunk-TTRX7NM3.js} +9 -9
- package/dist/{chunk-763UG5II.js → chunk-UEJMLVGW.js} +8 -8
- package/dist/{chunk-LTOUXR3X.js → chunk-UX5KLSAJ.js} +73 -75
- package/dist/{chunk-L456Q4KU.js → chunk-VJVTGSGW.js} +1 -1
- package/dist/{chunk-RX67N2PU.js → chunk-VM2VBJRC.js} +31 -2
- package/dist/{chunk-K33E3YNK.js → chunk-VNWPHKKI.js} +10 -10
- package/dist/{chunk-XXJBWKDS.js → chunk-VRUVJTFW.js} +17 -17
- package/dist/{chunk-WTZT6FSK.js → chunk-VSS3OAZB.js} +1 -1
- package/dist/{chunk-6UAYOSE7.js → chunk-VZM7AFUH.js} +9 -9
- package/dist/{chunk-6K6RIX2A.js → chunk-W772ZFTE.js} +21 -6
- package/dist/{chunk-THGJTFYB.js → chunk-WTO3A7ET.js} +86 -6
- package/dist/{chunk-YBYNBKCN.js → chunk-WTS245RC.js} +2 -2
- package/dist/{chunk-UBNJWS2H.js → chunk-WTUDKVWQ.js} +3 -3
- package/dist/{chunk-BTXYXM2A.js → chunk-WVCCSYZC.js} +17 -17
- package/dist/{chunk-FGJUVWAM.js → chunk-X3NGTIE3.js} +1 -1
- package/dist/{chunk-DCRHNRUY.js → chunk-XLG3JMSS.js} +5 -5
- package/dist/{chunk-D44MBZI6.js → chunk-Y53Z2M77.js} +2 -2
- package/dist/{chunk-WKE3WTIU.js → chunk-YB2ZJJFJ.js} +1 -1
- package/dist/{chunk-LSGJY2FG.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-HYXQR5I3.js → chunk-Z55ASKZE.js} +1 -1
- package/dist/{chunk-OYKAS3J5.js → chunk-ZBDITGMP.js} +3 -3
- package/dist/{chunk-CAMD2NBN.js → chunk-ZGSGBGTB.js} +2 -2
- package/dist/{clean-Z5REUSNY.js → clean-RJKQ23WH.js} +36 -37
- package/dist/cli.js +74 -75
- package/dist/{cloud-NJ7G3NF3.js → cloud-R3NQSUTQ.js} +4 -4
- package/dist/{cloud-QP5R6B6A.js → cloud-VUR3ZO6O.js} +8 -9
- package/dist/{cloudrun-CPAZLNTW.js → cloudrun-SZYAYV7N.js} +19 -12
- package/dist/{compare-T5CHD25P.js → compare-AO5VJBJW.js} +70 -92
- package/dist/{compiler-QVDXN4OS.js → compiler-65SP7M2P.js} +7 -9
- package/dist/{component-QMZ46KTE.js → component-WGTPAIKX.js} +8 -10
- package/dist/{compositions-JHYYNBAK.js → compositions-HWM6DNJA.js} +21 -23
- package/dist/{contactSheet-7SPGUTDV.js → contactSheet-ROUVWDRO.js} +5 -6
- package/dist/{curve-ON6QQY7T.js → curve-PLPTMDS4.js} +20 -22
- package/dist/{cuts-K4FOVP4E.js → cuts-T5GYTDUA.js} +21 -23
- package/dist/{delete-6WFQ3FC2.js → delete-6WE3N3VO.js} +26 -15
- package/dist/{deploy-UAZQ5PBA.js → deploy-GYY6CYQD.js} +12 -13
- package/dist/{describeProject-7W6BN5A2.js → describeProject-UQQ2GGIX.js} +15 -17
- package/dist/{destroy-4B4OVPHJ.js → destroy-WSGREGAG.js} +12 -13
- package/dist/{deterministicFonts-VLIVGXUQ.js → deterministicFonts-JER4GPCM.js} +4 -5
- package/dist/{diff-ZSA37QQS.js → diff-JQBZUPKG.js} +57 -54
- package/dist/{dist-ACT5C6ME.js → dist-6EF2P3P7.js} +4 -4
- package/dist/{dist-VRYZIJFZ.js → dist-HF753IX4.js} +5 -8
- package/dist/{dist-2O52E7QZ.js → dist-JRJHFP27.js} +20 -21
- package/dist/{doctor-RXQ2Y2YY.js → doctor-SPJ5AJKX.js} +23 -25
- package/dist/{dotEnv-RZ52L7X3.js → dotEnv-7JWLJ2TG.js} +11 -3
- package/dist/{energy-DRA3DCRO.js → energy-KPDVIZ5D.js} +21 -23
- package/dist/{events-AJNF2C3H.js → events-4WAMG3JE.js} +10 -12
- package/dist/{events-4SNBQE3M.js → events-P4223ZZZ.js} +23 -25
- package/dist/{events-GA3YM3WT.js → events-XON5I7VU.js} +5 -5
- package/dist/{execute-6LTZRWE4.js → execute-CN5FLBYU.js} +49 -46
- package/dist/{extract-XZQN654B.js → extract-ABSBKYYH.js} +21 -23
- package/dist/{face-RKUNVSN3.js → face-PLPQ5335.js} +22 -24
- package/dist/{feedback-AL7NPPMZ.js → feedback-QPQ4G72X.js} +62 -38
- package/dist/{ffmpeg-BEL7EZBA.js → ffmpeg-F3XK57IP.js} +14 -16
- package/dist/{figma-IZ3NH2KZ.js → figma-S5CVANVZ.js} +3 -3
- package/dist/fontLocalizeCli.js +26 -27
- package/dist/{frames-AYE53CSZ.js → frames-F4QEQB4V.js} +23 -25
- package/dist/{generate-BZ4EVVQI.js → generate-O3OPOCHP.js} +37 -39
- package/dist/{get-2GG4NSOK.js → get-P7LQ7U22.js} +26 -15
- package/dist/{gpuPolicy-W2ZGBXNG.js → gpuPolicy-JPRDRQWU.js} +14 -16
- package/dist/{grade-compare-65NWHVXK.js → grade-compare-6UZ6SK4J.js} +50 -51
- package/dist/hangReport.js +2 -2
- package/dist/{heifImagePrep-MRQ4KKDF.js → heifImagePrep-3PDFNYIE.js} +21 -22
- package/dist/{help-TEQWNNPI.js → help-DLOCAL7E.js} +1 -1
- package/dist/{history-MVNPETRW.js → history-YIJVOGH7.js} +23 -25
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-NGNTHWYX.js → info-FVYJNNQL.js} +23 -25
- package/dist/{init-H7SUGVZX.js → init-V45K4VAG.js} +41 -43
- package/dist/{ink-CPZ4YZFM.js → ink-P72OB7L4.js} +21 -23
- package/dist/{inspect-GZBQ7XN7.js → inspect-3W2IG3JF.js} +53 -54
- package/dist/{installer-ZTHYVK4L.js → installer-QGDTFTDU.js} +8 -10
- package/dist/{keyframes-B52LQUOI.js → keyframes-57OPHIR2.js} +77 -28
- package/dist/{lambda-SZDQJMKA.js → lambda-EQZS7UMO.js} +32 -26
- package/dist/{layout-BOUOG2D2.js → layout-KSWMO6MH.js} +53 -54
- package/dist/{lint-H4OWI5JN.js → lint-WIYBGVF2.js} +18 -20
- package/dist/{lintProject-P4EAXFU2.js → lintProject-N3UN6HEE.js} +4 -4
- package/dist/{list-VNEYACGL.js → list-3FQAHEE2.js} +27 -16
- package/dist/{localPage-ZP7WVA2N.js → localPage-G2QEA7JL.js} +15 -17
- package/dist/{login-RUDOUO5Z.js → login-C3U6WSHF.js} +6 -6
- package/dist/{logout-5ZO6ZNS3.js → logout-525LWS6J.js} +2 -2
- package/dist/{look-G3NVPKXZ.js → look-U5LWOI4H.js} +21 -23
- package/dist/{manager-KWNID2ZA.js → manager-C5S25OOK.js} +5 -5
- package/dist/{manager-NXH2NJC6.js → manager-ZVYDWLHI.js} +16 -18
- package/dist/{measure-5PVIZ2W2.js → measure-R2KZIHXT.js} +11 -11
- package/dist/{media-treatment-T5QJI4PQ.js → media-treatment-FAW5ZLT7.js} +29 -29
- package/dist/{media-use-RTN3SMVY.js → media-use-CPTT2ZDE.js} +12 -8
- package/dist/{models-J2CJ7EVX.js → models-53JHNGSL.js} +20 -22
- package/dist/{motionShot-HU7P26WJ.js → motionShot-K5ZHHHE6.js} +28 -30
- package/dist/{normalize-44E7R6T5.js → normalize-TBACWMEK.js} +4 -5
- package/dist/{normalize-audio-2YFTP2T6.js → normalize-audio-EOO2ORPP.js} +20 -21
- package/dist/{open-RSCNUV6E.js → open-3YABRCER.js} +26 -28
- package/dist/{parakeetRunner-BUY25EIR.js → parakeetRunner-TLZC2WAJ.js} +24 -26
- package/dist/{pipeline-A4RL5R5P.js → pipeline-LZ73CHLB.js} +20 -20
- package/dist/{plan-7WYNPILA.js → plan-3QQZ57IC.js} +31 -33
- package/dist/{play-UKHFNMYZ.js → play-ESWP4SF2.js} +44 -43
- package/dist/{preflight-2VFCT3PI.js → preflight-7G5OBMAA.js} +17 -19
- package/dist/{present-ZUGFCQOF.js → present-5ER4JKR5.js} +36 -37
- package/dist/{preview-BT2ZFYMC.js → preview-62XOVSXM.js} +50 -50
- package/dist/privateProjectFile-6NPNZXK3.js +65 -0
- package/dist/{probe-2CLEK2UT.js → probe-CFOGEVFU.js} +21 -23
- package/dist/{producer-HCAMS55D.js → producer-LLE32VVO.js} +1 -1
- package/dist/{progress-5A4N7PTR.js → progress-PT3NAFVP.js} +5 -6
- package/dist/{projectConfig-2KJ2PXIM.js → projectConfig-R54UDB5Y.js} +11 -13
- package/dist/{publication-AR63EGJF.js → publication-TOBV6M4Q.js} +6 -8
- package/dist/{publish-EGKYOJWV.js → publish-QVNH5PXC.js} +63 -42
- package/dist/receivedRecordFollow-U43DTVLP.js +54 -0
- package/dist/{refresh-GYRLZ7DZ.js → refresh-HK4YEHWC.js} +2 -2
- package/dist/{remove-background-IQQPMM24.js → remove-background-XHE6JL35.js} +21 -21
- package/dist/{render-HJRMJYTA.js → render-7JJ2DFEB.js} +12 -13
- package/dist/{render-ROJ5X53T.js → render-GRZMK6ET.js} +128 -87
- package/dist/{render-YNSZYEEK.js → render-WK3D5VOW.js} +141 -114
- package/dist/{render-batch-MXYDIHRO.js → render-batch-KFEZFJXB.js} +12 -13
- package/dist/renderSetupWorker.js +9 -9
- package/dist/{resolver-SPLAVF76.js → resolver-N4U52UK5.js} +8 -10
- package/dist/{reverse-CE6OGBB7.js → reverse-6AOA3PXF.js} +1 -1
- package/dist/{run-YVNJJL26.js → run-M2J3ZJ3W.js} +11 -12
- package/dist/{sam-2D3BUTL7.js → sam-O7Y2CCK3.js} +4 -4
- package/dist/{screenshotCapture-DRO7VMNI.js → screenshotCapture-UXJZ7D3L.js} +17 -19
- package/dist/{service-K65JYG4O.js → service-DBNZZLPU.js} +22 -24
- package/dist/{share-CSVWF6SB.js → share-6P7S3USP.js} +26 -28
- package/dist/{sherpa-JE6AFUEV.js → sherpa-CXEHEVAJ.js} +23 -25
- package/dist/sherpaWorker.js +6 -7
- package/dist/{sites-QCGTWVNF.js → sites-R5F5FNAL.js} +6 -6
- package/dist/skills/hyperframes/scripts/locate.mjs +13 -19
- 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/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-L3BXM7VJ.js → skills-RMIHFNI6.js} +15 -17
- package/dist/{skillsUpdateCheck-VUENI5OR.js → skillsUpdateCheck-EHOSL2AC.js} +5 -5
- package/dist/{snapshot-GI2GWIF6.js → snapshot-DQK3P7TF.js} +97 -84
- package/dist/{src-ZXZO5RCJ.js → src-4INHWM6L.js} +29 -30
- package/dist/{src-B646B52O.js → src-BNSCFKOD.js} +17 -19
- package/dist/{start-ZNGKXRNE.js → start-KPCEUG5K.js} +43 -37
- package/dist/{state-7CJBWHXJ.js → state-5LE7AN6F.js} +5 -6
- package/dist/{staticProjectServer-46T6YTPF.js → staticProjectServer-VCS4TOU2.js} +33 -34
- package/dist/{status-7SWTPLVI.js → status-WBNQSG4H.js} +23 -25
- package/dist/studio/assets/{hyperframes-player-bya4hgms.js → hyperframes-player-Cm0hYGm2.js} +1 -1
- package/dist/studio/assets/{index-Bxh5lW0C.js → index-BGrNWeLK.js} +199 -199
- package/dist/studio/assets/{index--dcfSUzI.js → index-REqr_dLu.js} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-BKym1jA6.js → pausedVideoDecoder-DqLDSq8J.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-4XKM5HDR.js → studio-api-RAW4CIPR.js} +20 -21
- package/dist/{studioSelectionClient-S46TNAAZ.js → studioSelectionClient-PLBQBLCJ.js} +2 -2
- package/dist/{studioServer-4TWRIZNU.js → studioServer-5PWBZADN.js} +260 -117
- package/dist/subCompositionWorker.js +60 -54
- package/dist/{sync-R3K6LYB3.js → sync-PM2WLBUC.js} +21 -23
- package/dist/{synthesize-OZ3SJTOF.js → synthesize-NGU4DRKC.js} +10 -9
- package/dist/{system-LZ4PMOJD.js → system-PKL4Y4MX.js} +3 -3
- package/dist/{telemetry-WSBY25O3.js → telemetry-4BST73P2.js} +10 -12
- package/dist/{templates-ITP6ISAF.js → templates-G3XOWYXG.js} +24 -26
- package/dist/{timeline-U7GJMYKV.js → timeline-E6ZXYGQR.js} +36 -37
- package/dist/{tokens-3YTSUU27.js → tokens-KRHXM44C.js} +15 -5
- package/dist/{transcribe-QHHY5M3G.js → transcribe-RJ3GOCJL.js} +44 -46
- package/dist/{transcribe-ISCBYWN4.js → transcribe-TKV3POYD.js} +20 -22
- package/dist/{tts-24IJXIT2.js → tts-EPXRE275.js} +20 -4
- package/dist/{update-SVEH2GOL.js → update-TO7MLJCS.js} +17 -19
- package/dist/{updateCheck-MDG7N7VO.js → updateCheck-5AY447D5.js} +4 -4
- package/dist/{upgrade-6CGAI4OR.js → upgrade-BLZWWXYL.js} +8 -9
- package/dist/{urlDownloader-VPQTIGEH.js → urlDownloader-ME67HQ4O.js} +13 -15
- package/dist/{validate-QUB4KCEQ.js → validate-SRBV5NFV.js} +41 -42
- package/dist/{video-PUGZ5UHS.js → video-JPESR36I.js} +17 -19
- package/dist/{voices-4UO5AYLS.js → voices-AECYKXGA.js} +34 -36
- package/dist/warmCheck.js +62 -63
- package/dist/warmCheckClient.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-6VY6WTY5.js +0 -279
- package/dist/chunk-NI7JVGOE.js +0 -5083
- package/dist/chunk-NLN5NY3P.js +0 -34
- package/dist/chunk-UVZIABYZ.js +0 -40
- package/dist/chunk-VC76R6W2.js +0 -27
- /package/dist/{chunk-YXX6CIHL.js → chunk-BWFNWEUO.js} +0 -0
|
@@ -11,19 +11,19 @@ import {
|
|
|
11
11
|
isHistoryId,
|
|
12
12
|
openProjectHistory,
|
|
13
13
|
readProjectHistory
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5T2LNQAH.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveProject
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KYZEK7QF.js";
|
|
18
18
|
import {
|
|
19
19
|
findPreviewServerForProject,
|
|
20
20
|
studioApiUrl
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-62UUXB3F.js";
|
|
22
22
|
import {
|
|
23
23
|
readRecord,
|
|
24
24
|
removeRecord,
|
|
25
25
|
writeRecord
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OW6MOJSR.js";
|
|
27
27
|
|
|
28
28
|
// src/utils/historyOwner.ts
|
|
29
29
|
import { randomUUID } from "crypto";
|
|
@@ -144,6 +144,13 @@ function previewOwner(route) {
|
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
|
+
async function relistWrites(projectDir, entry) {
|
|
148
|
+
if (!entry?.files.length) return;
|
|
149
|
+
const { relistHistoryWrites } = await import("./receivedRecordFollow-U43DTVLP.js");
|
|
150
|
+
await relistHistoryWrites(projectDir, entry).catch(
|
|
151
|
+
(error) => console.warn(`Could not update the received-files record: ${String(error)}`)
|
|
152
|
+
);
|
|
153
|
+
}
|
|
147
154
|
async function directOwner(projectDir, ownerWaitMs = historyDeps.ownerWaitMs) {
|
|
148
155
|
let turn = null;
|
|
149
156
|
const history = await openProjectHistory({
|
|
@@ -171,8 +178,16 @@ async function directOwner(projectDir, ownerWaitMs = historyDeps.ownerWaitMs) {
|
|
|
171
178
|
list: async () => history.list(),
|
|
172
179
|
peek: async (point) => history.peek(point),
|
|
173
180
|
blob: (hash) => history.readBlob(hash),
|
|
174
|
-
undo: (id, who, mode) =>
|
|
175
|
-
|
|
181
|
+
undo: async (id, who, mode) => {
|
|
182
|
+
const undone = await history.undo(id, { who, ...mode && { mode } });
|
|
183
|
+
if (undone.ok) await relistWrites(projectDir, undone.entry);
|
|
184
|
+
return undone;
|
|
185
|
+
},
|
|
186
|
+
restore: async (point, who) => {
|
|
187
|
+
const restored = await history.restore(point, who);
|
|
188
|
+
await relistWrites(projectDir, restored);
|
|
189
|
+
return restored;
|
|
190
|
+
},
|
|
176
191
|
pin: async (id, pinned) => history.pin(id, pinned),
|
|
177
192
|
// Opening filed every earlier write; the turn's own writes are filed to it when the next open passes it.
|
|
178
193
|
begin: async () => ({ id: randomUUID(), startedAt: historyDeps.now() }),
|
|
@@ -6,21 +6,30 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
RENDER_TEMP_DIR
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-F6PI5O3H.js";
|
|
10
10
|
import {
|
|
11
11
|
mkdirWithinProject,
|
|
12
12
|
realpath,
|
|
13
13
|
resolveWithinProject,
|
|
14
14
|
toolTrustedFileKind
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3GF72UPC.js";
|
|
16
16
|
import {
|
|
17
17
|
isStudioPrivatePath,
|
|
18
18
|
projectPathSegments
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PTGNUVCB.js";
|
|
20
20
|
|
|
21
|
-
// ../studio-server/dist/chunk-
|
|
21
|
+
// ../studio-server/dist/chunk-NIOUHXBV.js
|
|
22
22
|
import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "path";
|
|
23
|
-
import {
|
|
23
|
+
import {
|
|
24
|
+
closeSync,
|
|
25
|
+
constants,
|
|
26
|
+
fstatSync,
|
|
27
|
+
lstatSync,
|
|
28
|
+
openSync,
|
|
29
|
+
readdirSync,
|
|
30
|
+
readFileSync,
|
|
31
|
+
statSync
|
|
32
|
+
} from "fs";
|
|
24
33
|
function resolveWithinProject2(base, relativePath) {
|
|
25
34
|
const resolved = resolveWithinProject(base, relativePath);
|
|
26
35
|
return resolved && !isPrivateProjectFile(base, resolved) ? resolved : null;
|
|
@@ -53,8 +62,48 @@ function isWritableProjectPath(relPath) {
|
|
|
53
62
|
);
|
|
54
63
|
}
|
|
55
64
|
function isWritableProjectFile(projectDir, filePath) {
|
|
56
|
-
return projectRelatives(projectDir, filePath).every(
|
|
65
|
+
return projectRelatives(projectDir, filePath).every(
|
|
66
|
+
(path) => isWritableInProject(projectDir, path)
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
function isWritableInProject(projectDir, relPath) {
|
|
70
|
+
return isWritableProjectPath(relPath) && !scriptsPackageRuns(projectDir).has(foldedPath(relPath));
|
|
71
|
+
}
|
|
72
|
+
var SCRIPT_FILE = /\.[cm]?[jt]sx?$/;
|
|
73
|
+
var SHELL_WORD_BREAKS = /[\s;&|()<>"'`=,]+/;
|
|
74
|
+
var NO_SCRIPTS = /* @__PURE__ */ new Set();
|
|
75
|
+
var packageScripts = /* @__PURE__ */ new Map();
|
|
76
|
+
var foldedPath = (path) => projectPathSegments(path).filter((segment) => segment !== "" && segment !== ".").join("/");
|
|
77
|
+
function scriptsPackageRuns(projectDir) {
|
|
78
|
+
const path = join(projectDir, "package.json");
|
|
79
|
+
const stat = statSync(path, { throwIfNoEntry: false });
|
|
80
|
+
if (!stat?.isFile()) return NO_SCRIPTS;
|
|
81
|
+
const key = `${stat.ino}:${stat.size}:${stat.mtimeMs}`;
|
|
82
|
+
const cached = packageScripts.get(path);
|
|
83
|
+
if (cached?.stat === key) return cached.files;
|
|
84
|
+
const files = scriptFilesNamedBy(readPackageJson(path));
|
|
85
|
+
packageScripts.set(path, { stat: key, files });
|
|
86
|
+
return files;
|
|
87
|
+
}
|
|
88
|
+
function readPackageJson(path) {
|
|
89
|
+
try {
|
|
90
|
+
return JSON.parse(readFileSync(path, "utf-8"));
|
|
91
|
+
} catch {
|
|
92
|
+
return null;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
function scriptFilesNamedBy(pkg) {
|
|
96
|
+
if (!pkg || typeof pkg !== "object") return NO_SCRIPTS;
|
|
97
|
+
const { main, bin, scripts } = pkg;
|
|
98
|
+
const words = [main, ...valuesOf(bin), ...valuesOf(scripts)].flatMap(
|
|
99
|
+
(value) => typeof value === "string" ? value.split(SHELL_WORD_BREAKS) : []
|
|
100
|
+
);
|
|
101
|
+
const files = words.filter(
|
|
102
|
+
(word) => SCRIPT_FILE.test(word) && !word.split(/[\\/]/).includes("..")
|
|
103
|
+
);
|
|
104
|
+
return new Set(files.map(foldedPath));
|
|
57
105
|
}
|
|
106
|
+
var valuesOf = (value) => typeof value === "string" ? [value] : value && typeof value === "object" ? Object.values(value) : [];
|
|
58
107
|
function toolTrustedFileWithin(projectDir, dir) {
|
|
59
108
|
return protectedEntryWithin(dir, projectRelativePath(projectDir, dir));
|
|
60
109
|
}
|
|
@@ -113,6 +162,34 @@ function isLinkFreeWithinProject(root, dir) {
|
|
|
113
162
|
}
|
|
114
163
|
return true;
|
|
115
164
|
}
|
|
165
|
+
function isProjectCacheFile(root, file) {
|
|
166
|
+
if (!isLinkFreeWithinProject(root, dirname(file))) return false;
|
|
167
|
+
const stat = lstatSync(file, { throwIfNoEntry: false });
|
|
168
|
+
return stat !== void 0 && isPlainFileWithOneName(stat);
|
|
169
|
+
}
|
|
170
|
+
var isPlainFileWithOneName = (stat) => stat.isFile() && stat.nlink === 1;
|
|
171
|
+
var NO_FOLLOW_READ = constants.O_RDONLY | (constants.O_NOFOLLOW ?? 0) | (constants.O_NONBLOCK ?? 0);
|
|
172
|
+
var sameFile = (a, b) => a !== void 0 && !a.isSymbolicLink() && a.dev === b.dev && a.ino === b.ino;
|
|
173
|
+
function readProjectCacheFile(root, file, maxBytes) {
|
|
174
|
+
if (!isLinkFreeWithinProject(root, dirname(file))) return null;
|
|
175
|
+
let fd;
|
|
176
|
+
try {
|
|
177
|
+
fd = openSync(file, NO_FOLLOW_READ);
|
|
178
|
+
} catch {
|
|
179
|
+
return null;
|
|
180
|
+
}
|
|
181
|
+
try {
|
|
182
|
+
const stat = fstatSync(fd);
|
|
183
|
+
if (!isPlainFileWithOneName(stat) || stat.size > maxBytes) return null;
|
|
184
|
+
if (constants.O_NOFOLLOW === void 0 && !sameFile(lstatSync(file, { throwIfNoEntry: false }), stat))
|
|
185
|
+
return null;
|
|
186
|
+
return readFileSync(fd);
|
|
187
|
+
} catch {
|
|
188
|
+
return null;
|
|
189
|
+
} finally {
|
|
190
|
+
closeSync(fd);
|
|
191
|
+
}
|
|
192
|
+
}
|
|
116
193
|
function mkdirOwnedWithinProject(root, dir) {
|
|
117
194
|
if (!isLinkFreeWithinProject(root, dir)) throw new Error(`A link stands in for a folder: ${dir}`);
|
|
118
195
|
mkdirWithinProject(root, dir);
|
|
@@ -163,12 +240,15 @@ export {
|
|
|
163
240
|
isPrivateProjectPath,
|
|
164
241
|
isPrivateProjectFile,
|
|
165
242
|
isWritableProjectFile,
|
|
243
|
+
isWritableInProject,
|
|
166
244
|
toolTrustedFileWithin,
|
|
167
245
|
resolveWritableWithinProject,
|
|
168
246
|
pinWritableWithinProject,
|
|
169
247
|
pinWithinProject,
|
|
170
248
|
pinProjectRecord,
|
|
171
249
|
isLinkFreeWithinProject,
|
|
250
|
+
isProjectCacheFile,
|
|
251
|
+
readProjectCacheFile,
|
|
172
252
|
mkdirOwnedWithinProject,
|
|
173
253
|
isInHiddenOrVendorDir,
|
|
174
254
|
walkDir
|
|
@@ -7,11 +7,11 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
createStagingDir,
|
|
9
9
|
renameWithRetry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LYTELQL2.js";
|
|
11
11
|
import {
|
|
12
12
|
mkdirWithinProject,
|
|
13
13
|
realpath
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3GF72UPC.js";
|
|
15
15
|
|
|
16
16
|
// src/registry/publication.ts
|
|
17
17
|
import { lstatSync, chmodSync, rmSync, writeFileSync } from "fs";
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
alive,
|
|
9
9
|
readHolder,
|
|
10
10
|
release
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MTCVUAUK.js";
|
|
12
12
|
import {
|
|
13
13
|
shouldTrack
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NU7BEOCX.js";
|
|
15
15
|
import {
|
|
16
16
|
createFileAtomically
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LYTELQL2.js";
|
|
18
18
|
import {
|
|
19
19
|
processIdentity
|
|
20
20
|
} from "./chunk-A7NRMVUG.js";
|
|
@@ -10,20 +10,20 @@ import {
|
|
|
10
10
|
resolveCliChromeGpuMode,
|
|
11
11
|
seekCompositionTimeline,
|
|
12
12
|
waitForRuntimeReady
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7GDEQJSL.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveCompositionViewportFromHtml
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
resolveProject
|
|
19
|
-
} from "./chunk-XXOEYRD5.js";
|
|
16
|
+
} from "./chunk-3ROFCQAW.js";
|
|
20
17
|
import {
|
|
21
18
|
pageNavigationTimeoutMs
|
|
22
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SQI2MWJE.js";
|
|
20
|
+
import {
|
|
21
|
+
resolveProject
|
|
22
|
+
} from "./chunk-KYZEK7QF.js";
|
|
23
23
|
import {
|
|
24
24
|
launchManagedBrowser,
|
|
25
25
|
resolveManagedGpuMode
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OPUR2XQ2.js";
|
|
27
27
|
import {
|
|
28
28
|
defineCommand
|
|
29
29
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -32,18 +32,18 @@ import {
|
|
|
32
32
|
} from "./chunk-JCNPHRGX.js";
|
|
33
33
|
import {
|
|
34
34
|
resolveNaturalMediaTimelineDuration
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-BNH2IKGV.js";
|
|
36
36
|
import {
|
|
37
37
|
terminalText,
|
|
38
38
|
terminalTextDeep
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-3GF72UPC.js";
|
|
40
40
|
import {
|
|
41
41
|
decodeWellFormedEscapes
|
|
42
42
|
} from "./chunk-IH2C53YV.js";
|
|
43
43
|
import {
|
|
44
44
|
printDeprecationNotice,
|
|
45
45
|
withMeta
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-FU62NEWC.js";
|
|
47
47
|
import {
|
|
48
48
|
failureMessage,
|
|
49
49
|
jsonFailure
|
|
@@ -271,7 +271,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
271
271
|
async function localizeRemoteAssets(html) {
|
|
272
272
|
let dir;
|
|
273
273
|
try {
|
|
274
|
-
const { loadProducer } = await import("./producer-
|
|
274
|
+
const { loadProducer } = await import("./producer-LLE32VVO.js");
|
|
275
275
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
276
276
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
277
277
|
const assetDir = dir;
|
|
@@ -292,10 +292,10 @@ async function localizeRemoteAssets(html) {
|
|
|
292
292
|
}
|
|
293
293
|
async function validateInBrowser(project, opts) {
|
|
294
294
|
const projectDir = project.dir;
|
|
295
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
296
|
-
const { ensureBrowser } = await import("./manager-
|
|
297
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
298
|
-
const { lintProject } = await import("./lintProject-
|
|
295
|
+
const { bundleToSingleHtml } = await import("./compiler-65SP7M2P.js");
|
|
296
|
+
const { ensureBrowser } = await import("./manager-C5S25OOK.js");
|
|
297
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-VCS4TOU2.js");
|
|
298
|
+
const { lintProject } = await import("./lintProject-N3UN6HEE.js");
|
|
299
299
|
const lintResult = await lintProject(projectDir);
|
|
300
300
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
301
301
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -316,9 +316,9 @@ async function validateInBrowser(project, opts) {
|
|
|
316
316
|
try {
|
|
317
317
|
const browser = await ensureBrowser();
|
|
318
318
|
const puppeteer = await import("puppeteer-core");
|
|
319
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
319
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-BNSCFKOD.js");
|
|
320
320
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
321
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
321
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-JPRDRQWU.js");
|
|
322
322
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
323
323
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
324
324
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-EXA6R6SW.js";
|
|
10
10
|
import {
|
|
11
11
|
projectCopyHint
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FLJ4S7NA.js";
|
|
13
13
|
import {
|
|
14
14
|
R
|
|
15
15
|
} from "./chunk-OH3MUFZG.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-JJ47LVJ7.js";
|
|
22
22
|
import {
|
|
23
23
|
trackSkillsInstallSkipped
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-22B53HD3.js";
|
|
25
25
|
import {
|
|
26
26
|
diag
|
|
27
27
|
} from "./chunk-NGRWDXRZ.js";
|
|
@@ -42,11 +42,11 @@ import {
|
|
|
42
42
|
isCoreSkill,
|
|
43
43
|
presentSkills,
|
|
44
44
|
retiredSkillNotice
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-DWGDP537.js";
|
|
46
46
|
import {
|
|
47
47
|
NO_UPDATE_NOTICE,
|
|
48
48
|
withMeta
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-FU62NEWC.js";
|
|
50
50
|
import {
|
|
51
51
|
failureMessage,
|
|
52
52
|
jsonFailure
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
} from "./chunk-U7M4SZUB.js";
|
|
58
58
|
import {
|
|
59
59
|
VERSION
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-7DMES2F3.js";
|
|
61
61
|
|
|
62
62
|
// src/commands/skills.ts
|
|
63
63
|
import { execFileSync, spawn } from "child_process";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LTXZLTXW.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-BNSCFKOD.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
GSAP_CDN_VERSION,
|
|
9
9
|
gsapCdnDist
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MPVJI4SE.js";
|
|
11
11
|
|
|
12
12
|
// src/server/readBundleFile.ts
|
|
13
13
|
import { openSync, fstatSync, closeSync, statSync, readFileSync, constants } from "fs";
|
|
@@ -105,6 +105,87 @@ function buildChromeLaunchEnv(env = process.env) {
|
|
|
105
105
|
return chromeEnv;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
+
// ../core/dist/chromeSandbox.js
|
|
109
|
+
import { existsSync, readFileSync } from "fs";
|
|
110
|
+
var NO_SANDBOX_ARGS = ["--no-sandbox", "--disable-setuid-sandbox", "--no-zygote"];
|
|
111
|
+
var SANDBOX_START_FAILURE = /No usable sandbox|Running as root without --no-sandbox|Failed to move to new namespace/;
|
|
112
|
+
function readTrimmed(path) {
|
|
113
|
+
try {
|
|
114
|
+
return readFileSync(path, "utf8").trim();
|
|
115
|
+
} catch {
|
|
116
|
+
return void 0;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
var currentHost = () => ({
|
|
120
|
+
platform: process.platform,
|
|
121
|
+
env: process.env,
|
|
122
|
+
uid: process.getuid?.(),
|
|
123
|
+
exists: existsSync,
|
|
124
|
+
read: readTrimmed
|
|
125
|
+
});
|
|
126
|
+
var SERVERLESS_OR_ORCHESTRATED_ENV = [
|
|
127
|
+
"AWS_LAMBDA_FUNCTION_NAME",
|
|
128
|
+
"AWS_EXECUTION_ENV",
|
|
129
|
+
"K_SERVICE",
|
|
130
|
+
"CLOUD_RUN_JOB",
|
|
131
|
+
"KUBERNETES_SERVICE_HOST"
|
|
132
|
+
];
|
|
133
|
+
var CONTAINER_MARKERS = ["/.dockerenv", "/run/.containerenv"];
|
|
134
|
+
var USERNS_BLOCKED_SYSCTLS = [
|
|
135
|
+
["/proc/sys/kernel/apparmor_restrict_unprivileged_userns", "1"],
|
|
136
|
+
["/proc/sys/kernel/unprivileged_userns_clone", "0"]
|
|
137
|
+
];
|
|
138
|
+
function linuxCannotSandbox({ env, uid, exists, read }) {
|
|
139
|
+
return uid === 0 || SERVERLESS_OR_ORCHESTRATED_ENV.some((name) => !!env[name]) || CONTAINER_MARKERS.some((path) => exists(path)) || USERNS_BLOCKED_SYSCTLS.some(([path, blocked]) => read(path) === blocked);
|
|
140
|
+
}
|
|
141
|
+
function chromeSandboxEnabled(host = currentHost()) {
|
|
142
|
+
const override = host.env.HYPERFRAMES_CHROME_SANDBOX;
|
|
143
|
+
if (override === "0" || override === "1")
|
|
144
|
+
return override === "1";
|
|
145
|
+
return host.platform !== "linux" || !linuxCannotSandbox(host);
|
|
146
|
+
}
|
|
147
|
+
function chromeSandboxArgs(sandbox = chromeSandboxEnabled()) {
|
|
148
|
+
return sandbox ? [] : NO_SANDBOX_ARGS;
|
|
149
|
+
}
|
|
150
|
+
function withoutChromeSandbox(args) {
|
|
151
|
+
return [...args.filter((arg) => !NO_SANDBOX_ARGS.includes(arg)), ...NO_SANDBOX_ARGS];
|
|
152
|
+
}
|
|
153
|
+
var sandboxRefused = false;
|
|
154
|
+
var closedTargetRetries = 0;
|
|
155
|
+
var warned = false;
|
|
156
|
+
function chromeNamedSandboxFailure(error) {
|
|
157
|
+
return error instanceof Error && SANDBOX_START_FAILURE.test(error.message);
|
|
158
|
+
}
|
|
159
|
+
function sandboxStartFailure(error) {
|
|
160
|
+
return chromeNamedSandboxFailure(error) || error instanceof Error && error.name === "TargetCloseError";
|
|
161
|
+
}
|
|
162
|
+
function startsWithChromeSandboxFallback(args, starts2, platform = process.platform, env = process.env) {
|
|
163
|
+
if (starts2([...args]))
|
|
164
|
+
return true;
|
|
165
|
+
const sandboxed = platform === "linux" && !args.includes("--no-sandbox");
|
|
166
|
+
return sandboxed && env.HYPERFRAMES_CHROME_SANDBOX !== "1" && starts2(withoutChromeSandbox(args));
|
|
167
|
+
}
|
|
168
|
+
async function launchWithChromeSandboxFallback(args, launch, platform = process.platform, env = process.env) {
|
|
169
|
+
const sandboxed = platform === "linux" && !args.includes("--no-sandbox");
|
|
170
|
+
const sandboxRequired = env.HYPERFRAMES_CHROME_SANDBOX === "1";
|
|
171
|
+
if (sandboxed && sandboxRefused && !sandboxRequired)
|
|
172
|
+
return launch(withoutChromeSandbox(args));
|
|
173
|
+
try {
|
|
174
|
+
return await launch([...args]);
|
|
175
|
+
} catch (error) {
|
|
176
|
+
if (!sandboxed || sandboxRequired || !sandboxStartFailure(error))
|
|
177
|
+
throw error;
|
|
178
|
+
const browser = await launch(withoutChromeSandbox(args));
|
|
179
|
+
if (chromeNamedSandboxFailure(error) || ++closedTargetRetries >= 2)
|
|
180
|
+
sandboxRefused = true;
|
|
181
|
+
if (!warned) {
|
|
182
|
+
warned = true;
|
|
183
|
+
console.warn("[hyperframes] Chrome could not start with its sandbox on this host (user namespaces are likely restricted), so it runs without it. Set HYPERFRAMES_CHROME_SANDBOX=0 to skip the sandboxed attempt.");
|
|
184
|
+
}
|
|
185
|
+
return browser;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
108
189
|
// ../engine/src/services/chromeHostCeiling.ts
|
|
109
190
|
import { spawnSync } from "child_process";
|
|
110
191
|
import { createHash } from "crypto";
|
|
@@ -220,17 +301,20 @@ function compareBrowserVersionsDescending(left, right) {
|
|
|
220
301
|
}
|
|
221
302
|
var starts = /* @__PURE__ */ new Map();
|
|
222
303
|
var debug = debuglog("hyperframes:browser");
|
|
223
|
-
function shellStarts(binary, timeoutMs = 1e4) {
|
|
304
|
+
function shellStarts(binary, timeoutMs = 1e4, sandbox = chromeSandboxEnabled()) {
|
|
224
305
|
let answer = starts.get(binary);
|
|
225
306
|
if (answer === void 0) {
|
|
226
|
-
const probe = [
|
|
227
|
-
answer =
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
307
|
+
const probe = [...chromeSandboxArgs(sandbox), "--dump-dom", "about:blank"];
|
|
308
|
+
answer = startsWithChromeSandboxFallback(
|
|
309
|
+
probe,
|
|
310
|
+
(args) => spawnSync(binary, args, {
|
|
311
|
+
env: buildChromeLaunchEnv(),
|
|
312
|
+
stdio: "ignore",
|
|
313
|
+
timeout: timeoutMs,
|
|
314
|
+
killSignal: "SIGKILL",
|
|
315
|
+
windowsHide: true
|
|
316
|
+
})?.status === 0
|
|
317
|
+
);
|
|
234
318
|
if (!answer) debug("skipping %s: it did not start", binary);
|
|
235
319
|
starts.set(binary, answer);
|
|
236
320
|
}
|
|
@@ -263,6 +347,9 @@ function browserPathFromEnv(env = process.env) {
|
|
|
263
347
|
|
|
264
348
|
export {
|
|
265
349
|
buildChromeLaunchEnv,
|
|
350
|
+
chromeSandboxEnabled,
|
|
351
|
+
chromeSandboxArgs,
|
|
352
|
+
launchWithChromeSandboxFallback,
|
|
266
353
|
chromeMajorCeiling,
|
|
267
354
|
exceedsChromeCeiling,
|
|
268
355
|
managedChromeVersion,
|