@namzu/cli 62.0.0 → 62.1.0
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/CHANGELOG.md +72 -0
- package/dist/bin.js +1 -1
- package/dist/chunks/{acp-ZOYZKSSE.js → acp-6CGBHCQA.js} +144 -142
- package/dist/chunks/acp-6CGBHCQA.js.map +6 -0
- package/dist/chunks/{activity-command-6QJS2HHJ.js → activity-command-LBFSBUTO.js} +15 -15
- package/dist/chunks/{add-ODDH7BKR.js → add-QKYYI3YT.js} +34 -34
- package/dist/chunks/{agent-CJHQKHCT.js → agent-JIYXK5JR.js} +59 -59
- package/dist/chunks/agent-session-NMIKA55B.js +103 -0
- package/dist/chunks/{apply-at-exit-3CLS5UIJ.js → apply-at-exit-7RHQBQPY.js} +7 -7
- package/dist/chunks/{archive-7P2BFGJU.js → archive-J4ZUAJ2G.js} +13 -13
- package/dist/chunks/{auth-AJJVDYZS.js → auth-UJVEA47C.js} +13 -13
- package/dist/chunks/{bin-main-N4HEBMLG.js → bin-main-ZH7BZUOM.js} +9 -9
- package/dist/chunks/{binding-CR4HQSQ6.js → binding-3PCEKVOO.js} +3 -3
- package/dist/chunks/{browser-M3SO5WL7.js → browser-A67ROZXW.js} +7 -7
- package/dist/chunks/{chat-YZXLDJEA.js → chat-UU23NM3Q.js} +18 -18
- package/dist/chunks/{chunk-WNCN7H7N.js → chunk-224LDNU5.js} +3 -3
- package/dist/chunks/{chunk-PEHXWJ2M.js → chunk-25VC6FKF.js} +3 -3
- package/dist/chunks/{chunk-AA2WIPDO.js → chunk-2AMVNSDK.js} +4 -4
- package/dist/chunks/{chunk-BRQWRDRX.js → chunk-33U2WYBU.js} +97 -99
- package/dist/chunks/chunk-33U2WYBU.js.map +6 -0
- package/dist/chunks/{chunk-DOB3X7GV.js → chunk-35JUKJRN.js} +2 -2
- package/dist/chunks/{chunk-WNNRTDIR.js → chunk-37ZR2RAN.js} +61 -13
- package/dist/chunks/chunk-37ZR2RAN.js.map +6 -0
- package/dist/chunks/{chunk-2WVKPFUZ.js → chunk-3FYZVHC5.js} +6 -6
- package/dist/chunks/{chunk-NFSIMJV6.js → chunk-3L5ICOUV.js} +3 -3
- package/dist/chunks/{chunk-AYW6CLMU.js → chunk-3LZDJBR4.js} +3 -3
- package/dist/chunks/{chunk-POEF6EMV.js → chunk-3T2SSK3Z.js} +4 -4
- package/dist/chunks/{chunk-K427MVQW.js → chunk-46VWCTBU.js} +3 -3
- package/dist/chunks/{chunk-D52V2ESQ.js → chunk-47HEFQUP.js} +2 -2
- package/dist/chunks/{chunk-U3WWDJMM.js → chunk-4EL7KEYZ.js} +3 -3
- package/dist/chunks/{chunk-BUQ4PNJZ.js → chunk-4LHHK42J.js} +2 -2
- package/dist/chunks/{chunk-AX65J6BY.js → chunk-5CS5WG6N.js} +20 -20
- package/dist/chunks/{chunk-P7HBUWYJ.js → chunk-5HRR6OQX.js} +7 -7
- package/dist/chunks/{chunk-XEHRRJKG.js → chunk-6MT5PLKV.js} +2 -2
- package/dist/chunks/{chunk-J2T2CZH5.js → chunk-6RDYLP52.js} +2 -2
- package/dist/chunks/{chunk-BXCAFOOE.js → chunk-6W6ILBXE.js} +15 -9
- package/dist/chunks/chunk-6W6ILBXE.js.map +6 -0
- package/dist/chunks/{chunk-EZWVFGCN.js → chunk-72VCA33E.js} +2 -2
- package/dist/chunks/{chunk-C5BFHARA.js → chunk-73QLEKJH.js} +6 -6
- package/dist/chunks/{chunk-MSCXXLWD.js → chunk-7BZZGFKW.js} +4 -4
- package/dist/chunks/{chunk-VEN56GHK.js → chunk-7ENFV3XO.js} +2 -2
- package/dist/chunks/{chunk-QAQIHOU3.js → chunk-7P4QN2RO.js} +3 -3
- package/dist/chunks/{chunk-BEN46ZSV.js → chunk-7WU6QNGO.js} +2 -2
- package/dist/chunks/{chunk-2VXLC3R3.js → chunk-7ZEX6QP7.js} +3 -3
- package/dist/chunks/{chunk-OIGJLSDO.js → chunk-AD7Z5UEB.js} +2 -2
- package/dist/chunks/{chunk-KJMEQL42.js → chunk-AHFKN3F5.js} +2 -2
- package/dist/chunks/{chunk-US5WLUOG.js → chunk-AV3WM4TM.js} +19 -8
- package/dist/chunks/chunk-AV3WM4TM.js.map +6 -0
- package/dist/chunks/{chunk-KFFNADSK.js → chunk-BXO7FXUF.js} +2 -2
- package/dist/chunks/{chunk-A73AFEQT.js → chunk-C56SXFLU.js} +10 -10
- package/dist/chunks/{chunk-6I7M4QYH.js → chunk-CN4W3FVM.js} +5 -5
- package/dist/chunks/{chunk-RHAGQ36V.js → chunk-CNTMRBQT.js} +2 -2
- package/dist/chunks/{chunk-OCZ4VX2S.js → chunk-DCNCIL5A.js} +4 -4
- package/dist/chunks/{chunk-Q7LWS64N.js → chunk-DHRN4HVT.js} +6 -6
- package/dist/chunks/{chunk-42W3V7XG.js → chunk-E2LKNISN.js} +3 -3
- package/dist/chunks/{chunk-U64L35WP.js → chunk-E6BMB5D4.js} +3 -3
- package/dist/chunks/{chunk-FUNLX5HS.js → chunk-EE4ROHCL.js} +5 -5
- package/dist/chunks/{chunk-N3UAJR6E.js → chunk-ENKSNZTO.js} +11 -3
- package/dist/chunks/{chunk-N3UAJR6E.js.map → chunk-ENKSNZTO.js.map} +1 -1
- package/dist/chunks/{chunk-V5RAONF5.js → chunk-EV7PYTOP.js} +2 -2
- package/dist/chunks/{chunk-HT57JV6J.js → chunk-FHR5FWGS.js} +4 -4
- package/dist/chunks/{chunk-DV6RUBQX.js → chunk-FPKL3N3J.js} +3 -3
- package/dist/chunks/{chunk-TUFBZUQ6.js → chunk-FSY26KLI.js} +3 -3
- package/dist/chunks/{chunk-ADLC3X3H.js → chunk-G3R447P4.js} +4 -4
- package/dist/chunks/{chunk-OH2OQ23P.js → chunk-GPYNBNZV.js} +2 -2
- package/dist/chunks/{chunk-AMDHAFS7.js → chunk-GQU2MHNZ.js} +8 -8
- package/dist/chunks/{chunk-5PRXG5O4.js → chunk-H2FQ4QLS.js} +6 -6
- package/dist/chunks/{chunk-67SHGC27.js → chunk-H3763MSH.js} +3 -3
- package/dist/chunks/{chunk-6PTUG5RV.js → chunk-IWPDMUHJ.js} +2 -2
- package/dist/chunks/{chunk-H3B7QLDY.js → chunk-IX4KSPGQ.js} +5 -5
- package/dist/chunks/{chunk-QOSFSIVL.js → chunk-J35W6BKJ.js} +2 -2
- package/dist/chunks/{chunk-YW4543IU.js → chunk-J3BP3W2N.js} +2 -2
- package/dist/chunks/{chunk-72VM5GMJ.js → chunk-J6XAYUON.js} +3 -3
- package/dist/chunks/{chunk-D4XEV3XS.js → chunk-JWZLFRII.js} +2 -2
- package/dist/chunks/{chunk-CKR7247U.js → chunk-K3PXRK3Z.js} +8 -8
- package/dist/chunks/{chunk-5F72I2UH.js → chunk-K6M4OTHF.js} +3 -3
- package/dist/chunks/{chunk-OJHZBH75.js → chunk-KCEVJCGE.js} +11 -11
- package/dist/chunks/{chunk-NQ53XPIN.js → chunk-KID2I7VD.js} +2 -2
- package/dist/chunks/{chunk-ULUAX2JS.js → chunk-KK6CWJFZ.js} +2 -2
- package/dist/chunks/{chunk-QNIQAAX7.js → chunk-KKFKXDT4.js} +3 -3
- package/dist/chunks/{chunk-JJ7RB62R.js → chunk-KXGVJ55A.js} +5 -5
- package/dist/chunks/{chunk-ZH7MLQCI.js → chunk-L4QIJVNX.js} +4 -4
- package/dist/chunks/{chunk-TGAV3EAS.js → chunk-LAU4ESKV.js} +5 -4
- package/dist/chunks/chunk-LAU4ESKV.js.map +6 -0
- package/dist/chunks/{chunk-CJ3K2BSQ.js → chunk-LIX2TWWW.js} +64 -798
- package/dist/chunks/chunk-LIX2TWWW.js.map +6 -0
- package/dist/chunks/{chunk-MOJ2ELAF.js → chunk-LJWCYIQV.js} +10 -10
- package/dist/chunks/{chunk-DL3UT5SO.js → chunk-LO7LBC5T.js} +2 -2
- package/dist/chunks/{chunk-IULTYOEN.js → chunk-LPYA4GW7.js} +16 -16
- package/dist/chunks/{chunk-6PNYCYHO.js → chunk-LUH7N5AG.js} +3 -3
- package/dist/chunks/{chunk-XZ47DBWY.js → chunk-LWBPCNGV.js} +2 -2
- package/dist/chunks/{chunk-54PT3PJZ.js → chunk-LYTU6DQ7.js} +2 -2
- package/dist/chunks/chunk-M3Z7V3DJ.js +568 -0
- package/dist/chunks/chunk-M3Z7V3DJ.js.map +6 -0
- package/dist/chunks/{chunk-KEFCK3KU.js → chunk-MAFRPAQY.js} +13 -518
- package/dist/chunks/chunk-MAFRPAQY.js.map +6 -0
- package/dist/chunks/{chunk-CPM223M5.js → chunk-MGU27EKU.js} +2 -2
- package/dist/chunks/{chunk-UX5OQJII.js → chunk-MNSSDI5Y.js} +3 -3
- package/dist/chunks/{chunk-TF4HDGCY.js → chunk-MYSCS3LD.js} +2 -2
- package/dist/chunks/{chunk-L64U2I4J.js → chunk-MZWFJMIM.js} +5 -5
- package/dist/chunks/{chunk-WFCKZ2IX.js → chunk-N7BCFEJJ.js} +2 -2
- package/dist/chunks/{chunk-JGF7X65K.js → chunk-NE2J7UOC.js} +2 -2
- package/dist/chunks/{chunk-S7XQVBC7.js → chunk-NEAH7HVP.js} +26 -5
- package/dist/chunks/chunk-NEAH7HVP.js.map +6 -0
- package/dist/chunks/{chunk-JAJRZSOH.js → chunk-NGGXYIAN.js} +4 -4
- package/dist/chunks/{chunk-AZX32C4J.js → chunk-NV3AX3OX.js} +4 -4
- package/dist/chunks/{chunk-Q7YWSR2R.js → chunk-O4WK5FUN.js} +88 -60
- package/dist/chunks/chunk-O4WK5FUN.js.map +6 -0
- package/dist/chunks/{chunk-AFU7WXAZ.js → chunk-ODPKECHM.js} +3 -3
- package/dist/chunks/{chunk-B6JUB5HZ.js → chunk-OFUZHNUY.js} +5 -5
- package/dist/chunks/{chunk-Q56NYYTR.js → chunk-OICFYPUQ.js} +44 -44
- package/dist/chunks/{chunk-BJBNTKB3.js → chunk-ON7XQGDA.js} +4 -4
- package/dist/chunks/{chunk-HH5VGFFN.js → chunk-ONKMPBPP.js} +2 -2
- package/dist/chunks/{chunk-DU5OE5ES.js → chunk-OT6WAUFD.js} +8 -8
- package/dist/chunks/{chunk-BUVIHQNI.js → chunk-OTVNG2RH.js} +3 -3
- package/dist/chunks/{chunk-YGGJK45A.js → chunk-P72VIXPI.js} +2 -2
- package/dist/chunks/{chunk-5S76UPIY.js → chunk-PH2VOYXI.js} +10 -9
- package/dist/chunks/chunk-PH2VOYXI.js.map +6 -0
- package/dist/chunks/{chunk-STGOHHWW.js → chunk-PPXMVZZM.js} +3 -3
- package/dist/chunks/{chunk-TUHSRGMP.js → chunk-PR3MVT6X.js} +6 -6
- package/dist/chunks/{chunk-TUHSRGMP.js.map → chunk-PR3MVT6X.js.map} +1 -1
- package/dist/chunks/{chunk-WYQAUERM.js → chunk-Q3ZCXNLT.js} +4 -4
- package/dist/chunks/{chunk-V64YKHJD.js → chunk-Q4LY4V73.js} +5 -5
- package/dist/chunks/{chunk-UJDNT44S.js → chunk-QH55BL6G.js} +3 -3
- package/dist/chunks/{chunk-7YNKZZ4E.js → chunk-QK3MI3SB.js} +49 -19
- package/dist/chunks/chunk-QK3MI3SB.js.map +6 -0
- package/dist/chunks/{chunk-C3LYWLXF.js → chunk-QS3W6PHW.js} +7 -7
- package/dist/chunks/{chunk-MWW6FVKA.js → chunk-RAD42QX6.js} +2 -2
- package/dist/chunks/{chunk-34BTV64A.js → chunk-RF6XIV7O.js} +5 -5
- package/dist/chunks/{chunk-P243T5OG.js → chunk-RLT3CQPF.js} +4 -4
- package/dist/chunks/{chunk-XF3HSQOR.js → chunk-S3MI73RJ.js} +3 -3
- package/dist/chunks/{chunk-OGDCTQSN.js → chunk-S4O2YFPC.js} +13 -13
- package/dist/chunks/{chunk-XPHJBBXH.js → chunk-S5XNNB36.js} +1409 -651
- package/dist/chunks/chunk-S5XNNB36.js.map +6 -0
- package/dist/chunks/{chunk-BMK5OURE.js → chunk-SIJ5UTXM.js} +3 -3
- package/dist/chunks/chunk-SJIDADHD.js +800 -0
- package/dist/chunks/chunk-SJIDADHD.js.map +6 -0
- package/dist/chunks/{chunk-5AM3AURF.js → chunk-SOFHWWJH.js} +2 -2
- package/dist/chunks/{chunk-OKVCLTYB.js → chunk-SOUXHV54.js} +2 -2
- package/dist/chunks/{chunk-GQ3L6SJB.js → chunk-SRY4THD4.js} +9 -9
- package/dist/chunks/{chunk-OZ2C5MPW.js → chunk-ST23JVRU.js} +5 -5
- package/dist/chunks/{chunk-K6FQ5ZH6.js → chunk-SUR4OMA6.js} +9 -9
- package/dist/chunks/{chunk-FV6QX5N6.js → chunk-SVQV6RXR.js} +3 -3
- package/dist/chunks/{chunk-GSXJOUKF.js → chunk-T7LGBJ3Y.js} +2 -2
- package/dist/chunks/{chunk-K2LAFXS3.js → chunk-T7WRPQ65.js} +2 -2
- package/dist/chunks/{chunk-AEAJGPDR.js → chunk-TIXLIDHF.js} +2 -2
- package/dist/chunks/{chunk-FOZ2UUM3.js → chunk-TJVM2KTD.js} +9 -9
- package/dist/chunks/{chunk-S3HMURFS.js → chunk-TQGVEISD.js} +2 -2
- package/dist/chunks/{chunk-T6SBGDRT.js → chunk-UI7QTTM2.js} +6 -6
- package/dist/chunks/{chunk-I4U75RHE.js → chunk-UM3XWJVJ.js} +2 -2
- package/dist/chunks/{chunk-T4737SRH.js → chunk-UOX7WH3J.js} +3 -3
- package/dist/chunks/{chunk-HJ4K7D5N.js → chunk-UP77FF2W.js} +3 -3
- package/dist/chunks/{chunk-FCYLTB5A.js → chunk-VISMRN4J.js} +4 -4
- package/dist/chunks/{chunk-D4MTLAJN.js → chunk-VPWFFR5J.js} +2 -2
- package/dist/chunks/{chunk-YR325CKB.js → chunk-VQN7GC3B.js} +12 -12
- package/dist/chunks/{chunk-RKDRG4NX.js → chunk-W7XW3NXA.js} +4 -4
- package/dist/chunks/{chunk-XC4KZY2A.js → chunk-WSB2MCTI.js} +2 -2
- package/dist/chunks/{chunk-4ZGZJ6F5.js → chunk-WSPWJYLQ.js} +7 -7
- package/dist/chunks/{chunk-R7OKPWPT.js → chunk-XGEW2R3P.js} +2 -2
- package/dist/chunks/{chunk-5O4CABZS.js → chunk-XVKQQTVV.js} +2 -2
- package/dist/chunks/{chunk-55E3S7ZA.js → chunk-XXXJOYTQ.js} +2 -2
- package/dist/chunks/{chunk-WYYJJAXJ.js → chunk-Y24UJ26G.js} +3 -3
- package/dist/chunks/{chunk-KUXW74VV.js → chunk-YFIKYLOB.js} +9 -9
- package/dist/chunks/{chunk-2CPWLGHD.js → chunk-YXQG466V.js} +3 -3
- package/dist/chunks/{chunk-PILOWM4F.js → chunk-ZACF6CVM.js} +2 -2
- package/dist/chunks/{cli-runtime-KA4RC4V4.js → cli-runtime-RAHU2FF7.js} +24 -24
- package/dist/chunks/{commands-DXH5JRFP.js → commands-252QNZKK.js} +6 -6
- package/dist/chunks/{config-OOGXFNA3.js → config-CX6PRTEY.js} +14 -14
- package/dist/chunks/{cost-6KJARIGM.js → cost-L3RROPK6.js} +5 -5
- package/dist/chunks/{crash-report-3ZOEHHEI.js → crash-report-NND4WWJA.js} +6 -6
- package/dist/chunks/{desktop-host-schedule-tool-4RMIUJF6.js → desktop-host-schedule-tool-IKWEHI4H.js} +33 -33
- package/dist/chunks/{dist-4L2V72GD.js → dist-2MHNJVOM.js} +14 -2
- package/dist/chunks/{dist-NVBSFLTI.js → dist-3DMPFVGW.js} +3 -3
- package/dist/chunks/{dist-Y52DNARF.js → dist-7TMA3NQ7.js} +2 -2
- package/dist/chunks/{dist-L7TD2FDZ.js → dist-DFKDXC5Q.js} +2 -2
- package/dist/chunks/{dist-SIFEVDTY.js → dist-MFWZVDSA.js} +2 -2
- package/dist/chunks/{dist-5F5CZWFT.js → dist-TH2HM2GH.js} +2 -2
- package/dist/chunks/{dist-G7UUXIXJ.js → dist-UAUXP4UC.js} +2 -2
- package/dist/chunks/{dist-K72ZLN23.js → dist-YXOQEPCZ.js} +2 -2
- package/dist/chunks/{doctor-VNOAZO3I.js → doctor-O5OZR6YG.js} +49 -46
- package/dist/chunks/{drain-Y3SESO5B.js → drain-LUUO4FI3.js} +22 -22
- package/dist/chunks/{entry-YV4QH7DR.js → entry-XPFYPIDS.js} +6 -6
- package/dist/chunks/{eval-BVNJ4K5Y.js → eval-V4HUXXC2.js} +18 -12
- package/dist/chunks/{eval-BVNJ4K5Y.js.map → eval-V4HUXXC2.js.map} +1 -1
- package/dist/chunks/{exec-HY5HAUFA.js → exec-QYZKP6RS.js} +72 -54
- package/dist/chunks/exec-QYZKP6RS.js.map +6 -0
- package/dist/chunks/{extension-QCXFSOMC.js → extension-AVJ2LV2G.js} +6 -6
- package/dist/chunks/{feed-FWRV24AI.js → feed-UKN7XNCC.js} +4 -4
- package/dist/chunks/{home-RXA7GMAW.js → home-A7434CUG.js} +3 -3
- package/dist/chunks/{homes-RI3FTXOG.js → homes-U4IALPDB.js} +5 -5
- package/dist/chunks/{hooks-JPFB27RR.js → hooks-TQ7KEIX5.js} +24 -24
- package/dist/chunks/{hooks-report-KM6KRZRW.js → hooks-report-R6KBKZOI.js} +20 -20
- package/dist/chunks/{host-JZPZJICP.js → host-S2OSQNIF.js} +12 -12
- package/dist/chunks/{host-queries-3NYSJCGN.js → host-queries-VKIZCSD3.js} +18 -18
- package/dist/chunks/{installed-list-FT4FSKGM.js → installed-list-VGP7FMFB.js} +4 -4
- package/dist/chunks/{launch-UESAO3GK.js → launch-LWAQXYIA.js} +29 -29
- package/dist/chunks/{learn-3TU3ZLHJ.js → learn-GIKQBJN5.js} +18 -18
- package/dist/chunks/{learn-builtin-J2KRSGUB.js → learn-builtin-HOFMWHQP.js} +21 -21
- package/dist/chunks/{lifecycle-OWLUGMJN.js → lifecycle-4OBW7B42.js} +39 -39
- package/dist/chunks/{list-BIVADLIP.js → list-O2I3ECME.js} +20 -20
- package/dist/chunks/{live-MW4OA6OG.js → live-DCRF5F6P.js} +49 -45
- package/dist/chunks/{load-ZXUDPY34.js → load-LHCKRZFB.js} +11 -11
- package/dist/chunks/{logs-5ZGRVNF4.js → logs-UMD7HBUO.js} +4 -4
- package/dist/chunks/{mcp-DTMEZ6I6.js → mcp-35NTHODS.js} +27 -27
- package/dist/chunks/{mcp-serve-GMWIFBPW.js → mcp-serve-PCEC55MI.js} +19 -19
- package/dist/chunks/{message-command-KAJR3QEG.js → message-command-34BVXT5R.js} +65 -65
- package/dist/chunks/{open-3YROUC7F.js → open-DK276PG4.js} +8 -8
- package/dist/chunks/{operator-tools-6SDUBJON.js → operator-tools-RG247DOI.js} +16 -16
- package/dist/chunks/{output-schema-XV4RVXXK.js → output-schema-WBFGDY7D.js} +3 -3
- package/dist/chunks/{pal-RK5QZ4LQ.js → pal-OBXTNMGX.js} +16 -16
- package/dist/chunks/{peers-YQ4US53G.js → peers-RBR7QYPG.js} +9 -9
- package/dist/chunks/{peers-HLFUEQJJ.js → peers-ZSKWVLA4.js} +21 -21
- package/dist/chunks/{plugin-5RL3RPR3.js → plugin-PBIAJSYH.js} +52 -51
- package/dist/chunks/plugin-PBIAJSYH.js.map +6 -0
- package/dist/chunks/{providers-DEBQUBNW.js → providers-EW4LE5AZ.js} +11 -11
- package/dist/chunks/{providers-75MC4K7W.js → providers-V4MMZ7X5.js} +18 -18
- package/dist/chunks/{pty-GTQFDVCO.js → pty-XV7IOHGX.js} +3 -3
- package/dist/chunks/resume-GA7INROY.js +27 -0
- package/dist/chunks/{resume-command-6UAIWTCL.js → resume-command-VABS2KGI.js} +4 -4
- package/dist/chunks/{running-5YF7VHTF.js → running-LDQLXUGW.js} +4 -4
- package/dist/chunks/{schedule-D7NLKN4F.js → schedule-L5AAS4JQ.js} +12 -12
- package/dist/chunks/{send-IB7CNIDR.js → send-2KB5VRUT.js} +20 -20
- package/dist/chunks/send-person-EFHYG2GX.js +34 -0
- package/dist/chunks/{servers-ZP6DRGF2.js → servers-WIKRFBKU.js} +8 -8
- package/dist/chunks/{service-K4ZLR63R.js → service-LXQA5RI7.js} +40 -40
- package/dist/chunks/{session-options-TG26QZZ6.js → session-options-2LDJWGYZ.js} +5 -5
- package/dist/chunks/{setting-cli-IU6A6I6W.js → setting-cli-6T6H6TJ7.js} +14 -14
- package/dist/chunks/{skills-3HLNJWGS.js → skills-YAIICRGB.js} +28 -28
- package/dist/chunks/{source-deliveries-45TER3PU.js → source-deliveries-VB4F2DV5.js} +18 -18
- package/dist/chunks/{start-check-2WETAK5Z.js → start-check-TE3CE7NZ.js} +2 -2
- package/dist/chunks/{startup-failure-JMIJL67P.js → startup-failure-PBWJF4DV.js} +2 -2
- package/dist/chunks/{state-MJNHJ5FV.js → state-UGZ334GT.js} +21 -21
- package/dist/chunks/{store-E7VNPPQT.js → store-3REZKYH5.js} +9 -9
- package/dist/chunks/{store-U2O2Y22S.js → store-75XB557Z.js} +13 -13
- package/dist/chunks/{store-X3LC5BJX.js → store-RV6QGLU2.js} +4 -4
- package/dist/chunks/{store-SPOO5FU6.js → store-VQ5OTKXT.js} +3 -3
- package/dist/chunks/{tui-TVWSUSQH.js → tui-IEPKJA46.js} +202 -108
- package/dist/chunks/tui-IEPKJA46.js.map +6 -0
- package/dist/chunks/{update-3HG4RCUQ.js → update-NPWMEWAL.js} +8 -8
- package/dist/chunks/{watch-JHR5PG25.js → watch-SI7TFFVA.js} +112 -111
- package/dist/chunks/watch-SI7TFFVA.js.map +6 -0
- package/dist/chunks/{windows-home-6PZ2XTQH.js → windows-home-4XSPGUOR.js} +5 -5
- package/dist/chunks/{workspaces-PMOLQDFU.js → workspaces-UB6NF7LY.js} +17 -17
- package/dist/chunks/{worktree-NLBILYL2.js → worktree-QCSW5VQC.js} +29 -29
- package/dist/commands/eval.d.ts.map +1 -1
- package/dist/commands/exec.d.ts.map +1 -1
- package/dist/config/hook-common-shape.d.ts.map +1 -1
- package/dist/config/hooks-report.d.ts +1 -1
- package/dist/config/hooks-report.d.ts.map +1 -1
- package/dist/config/load.d.ts.map +1 -1
- package/dist/index.js +49 -46
- package/dist/integrations/mcp/servers.d.ts +13 -0
- package/dist/integrations/mcp/servers.d.ts.map +1 -1
- package/dist/integrations/plugins/hook-entries.d.ts.map +1 -1
- package/dist/integrations/plugins/remote-marketplace.d.ts +12 -0
- package/dist/integrations/plugins/remote-marketplace.d.ts.map +1 -1
- package/dist/integrations/plugins/runtime.d.ts +1 -1
- package/dist/integrations/plugins/runtime.d.ts.map +1 -1
- package/dist/integrations/plugins/surface.d.ts +2 -2
- package/dist/integrations/plugins/surface.d.ts.map +1 -1
- package/dist/integrations/sessions/store.d.ts +2 -0
- package/dist/integrations/sessions/store.d.ts.map +1 -1
- package/dist/integrations/state/project-lookup.d.ts.map +1 -1
- package/dist/integrations/subagents/agent-hooks.d.ts.map +1 -1
- package/dist/integrations/subagents/worktree-driver.d.ts +11 -0
- package/dist/integrations/subagents/worktree-driver.d.ts.map +1 -1
- package/dist/integrations/trust/folder-grants.d.ts.map +1 -1
- package/dist/integrations/worktrees/managed.d.ts +35 -2
- package/dist/integrations/worktrees/managed.d.ts.map +1 -1
- package/dist/sdk-peer.js +13 -1
- package/dist/skills/skill-hooks.d.ts.map +1 -1
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/StatusBar.d.ts +1 -5
- package/dist/tui/StatusBar.d.ts.map +1 -1
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/index.d.ts.map +1 -1
- package/dist/tui/slashCommands.d.ts.map +1 -1
- package/dist/tui/status-line/run-command.d.ts +5 -1
- package/dist/tui/status-line/run-command.d.ts.map +1 -1
- package/dist/tui/terminal-reply-filter.d.ts +49 -0
- package/dist/tui/terminal-reply-filter.d.ts.map +1 -0
- package/package.json +2 -2
- package/dist/chunks/acp-ZOYZKSSE.js.map +0 -6
- package/dist/chunks/agent-session-LHCPW65J.js +0 -103
- package/dist/chunks/chunk-5S76UPIY.js.map +0 -6
- package/dist/chunks/chunk-7YNKZZ4E.js.map +0 -6
- package/dist/chunks/chunk-BBTPD3DU.js +0 -19
- package/dist/chunks/chunk-BBTPD3DU.js.map +0 -6
- package/dist/chunks/chunk-BRQWRDRX.js.map +0 -6
- package/dist/chunks/chunk-BXCAFOOE.js.map +0 -6
- package/dist/chunks/chunk-CJ3K2BSQ.js.map +0 -6
- package/dist/chunks/chunk-KEFCK3KU.js.map +0 -6
- package/dist/chunks/chunk-Q7YWSR2R.js.map +0 -6
- package/dist/chunks/chunk-S7XQVBC7.js.map +0 -6
- package/dist/chunks/chunk-TGAV3EAS.js.map +0 -6
- package/dist/chunks/chunk-US5WLUOG.js.map +0 -6
- package/dist/chunks/chunk-WNNRTDIR.js.map +0 -6
- package/dist/chunks/chunk-XPHJBBXH.js.map +0 -6
- package/dist/chunks/exec-HY5HAUFA.js.map +0 -6
- package/dist/chunks/plugin-5RL3RPR3.js.map +0 -6
- package/dist/chunks/resume-GWI4C4UT.js +0 -27
- package/dist/chunks/send-person-ELJOZHST.js +0 -34
- package/dist/chunks/tui-TVWSUSQH.js.map +0 -6
- package/dist/chunks/watch-JHR5PG25.js.map +0 -6
- /package/dist/chunks/{activity-command-6QJS2HHJ.js.map → activity-command-LBFSBUTO.js.map} +0 -0
- /package/dist/chunks/{add-ODDH7BKR.js.map → add-QKYYI3YT.js.map} +0 -0
- /package/dist/chunks/{agent-CJHQKHCT.js.map → agent-JIYXK5JR.js.map} +0 -0
- /package/dist/chunks/{agent-session-LHCPW65J.js.map → agent-session-NMIKA55B.js.map} +0 -0
- /package/dist/chunks/{apply-at-exit-3CLS5UIJ.js.map → apply-at-exit-7RHQBQPY.js.map} +0 -0
- /package/dist/chunks/{archive-7P2BFGJU.js.map → archive-J4ZUAJ2G.js.map} +0 -0
- /package/dist/chunks/{auth-AJJVDYZS.js.map → auth-UJVEA47C.js.map} +0 -0
- /package/dist/chunks/{bin-main-N4HEBMLG.js.map → bin-main-ZH7BZUOM.js.map} +0 -0
- /package/dist/chunks/{binding-CR4HQSQ6.js.map → binding-3PCEKVOO.js.map} +0 -0
- /package/dist/chunks/{browser-M3SO5WL7.js.map → browser-A67ROZXW.js.map} +0 -0
- /package/dist/chunks/{chat-YZXLDJEA.js.map → chat-UU23NM3Q.js.map} +0 -0
- /package/dist/chunks/{chunk-WNCN7H7N.js.map → chunk-224LDNU5.js.map} +0 -0
- /package/dist/chunks/{chunk-PEHXWJ2M.js.map → chunk-25VC6FKF.js.map} +0 -0
- /package/dist/chunks/{chunk-AA2WIPDO.js.map → chunk-2AMVNSDK.js.map} +0 -0
- /package/dist/chunks/{chunk-DOB3X7GV.js.map → chunk-35JUKJRN.js.map} +0 -0
- /package/dist/chunks/{chunk-2WVKPFUZ.js.map → chunk-3FYZVHC5.js.map} +0 -0
- /package/dist/chunks/{chunk-NFSIMJV6.js.map → chunk-3L5ICOUV.js.map} +0 -0
- /package/dist/chunks/{chunk-AYW6CLMU.js.map → chunk-3LZDJBR4.js.map} +0 -0
- /package/dist/chunks/{chunk-POEF6EMV.js.map → chunk-3T2SSK3Z.js.map} +0 -0
- /package/dist/chunks/{chunk-K427MVQW.js.map → chunk-46VWCTBU.js.map} +0 -0
- /package/dist/chunks/{chunk-D52V2ESQ.js.map → chunk-47HEFQUP.js.map} +0 -0
- /package/dist/chunks/{chunk-U3WWDJMM.js.map → chunk-4EL7KEYZ.js.map} +0 -0
- /package/dist/chunks/{chunk-BUQ4PNJZ.js.map → chunk-4LHHK42J.js.map} +0 -0
- /package/dist/chunks/{chunk-AX65J6BY.js.map → chunk-5CS5WG6N.js.map} +0 -0
- /package/dist/chunks/{chunk-P7HBUWYJ.js.map → chunk-5HRR6OQX.js.map} +0 -0
- /package/dist/chunks/{chunk-XEHRRJKG.js.map → chunk-6MT5PLKV.js.map} +0 -0
- /package/dist/chunks/{chunk-J2T2CZH5.js.map → chunk-6RDYLP52.js.map} +0 -0
- /package/dist/chunks/{chunk-EZWVFGCN.js.map → chunk-72VCA33E.js.map} +0 -0
- /package/dist/chunks/{chunk-C5BFHARA.js.map → chunk-73QLEKJH.js.map} +0 -0
- /package/dist/chunks/{chunk-MSCXXLWD.js.map → chunk-7BZZGFKW.js.map} +0 -0
- /package/dist/chunks/{chunk-VEN56GHK.js.map → chunk-7ENFV3XO.js.map} +0 -0
- /package/dist/chunks/{chunk-QAQIHOU3.js.map → chunk-7P4QN2RO.js.map} +0 -0
- /package/dist/chunks/{chunk-BEN46ZSV.js.map → chunk-7WU6QNGO.js.map} +0 -0
- /package/dist/chunks/{chunk-2VXLC3R3.js.map → chunk-7ZEX6QP7.js.map} +0 -0
- /package/dist/chunks/{chunk-OIGJLSDO.js.map → chunk-AD7Z5UEB.js.map} +0 -0
- /package/dist/chunks/{chunk-KJMEQL42.js.map → chunk-AHFKN3F5.js.map} +0 -0
- /package/dist/chunks/{chunk-KFFNADSK.js.map → chunk-BXO7FXUF.js.map} +0 -0
- /package/dist/chunks/{chunk-A73AFEQT.js.map → chunk-C56SXFLU.js.map} +0 -0
- /package/dist/chunks/{chunk-6I7M4QYH.js.map → chunk-CN4W3FVM.js.map} +0 -0
- /package/dist/chunks/{chunk-RHAGQ36V.js.map → chunk-CNTMRBQT.js.map} +0 -0
- /package/dist/chunks/{chunk-OCZ4VX2S.js.map → chunk-DCNCIL5A.js.map} +0 -0
- /package/dist/chunks/{chunk-Q7LWS64N.js.map → chunk-DHRN4HVT.js.map} +0 -0
- /package/dist/chunks/{chunk-42W3V7XG.js.map → chunk-E2LKNISN.js.map} +0 -0
- /package/dist/chunks/{chunk-U64L35WP.js.map → chunk-E6BMB5D4.js.map} +0 -0
- /package/dist/chunks/{chunk-FUNLX5HS.js.map → chunk-EE4ROHCL.js.map} +0 -0
- /package/dist/chunks/{chunk-V5RAONF5.js.map → chunk-EV7PYTOP.js.map} +0 -0
- /package/dist/chunks/{chunk-HT57JV6J.js.map → chunk-FHR5FWGS.js.map} +0 -0
- /package/dist/chunks/{chunk-DV6RUBQX.js.map → chunk-FPKL3N3J.js.map} +0 -0
- /package/dist/chunks/{chunk-TUFBZUQ6.js.map → chunk-FSY26KLI.js.map} +0 -0
- /package/dist/chunks/{chunk-ADLC3X3H.js.map → chunk-G3R447P4.js.map} +0 -0
- /package/dist/chunks/{chunk-OH2OQ23P.js.map → chunk-GPYNBNZV.js.map} +0 -0
- /package/dist/chunks/{chunk-AMDHAFS7.js.map → chunk-GQU2MHNZ.js.map} +0 -0
- /package/dist/chunks/{chunk-5PRXG5O4.js.map → chunk-H2FQ4QLS.js.map} +0 -0
- /package/dist/chunks/{chunk-67SHGC27.js.map → chunk-H3763MSH.js.map} +0 -0
- /package/dist/chunks/{chunk-6PTUG5RV.js.map → chunk-IWPDMUHJ.js.map} +0 -0
- /package/dist/chunks/{chunk-H3B7QLDY.js.map → chunk-IX4KSPGQ.js.map} +0 -0
- /package/dist/chunks/{chunk-QOSFSIVL.js.map → chunk-J35W6BKJ.js.map} +0 -0
- /package/dist/chunks/{chunk-YW4543IU.js.map → chunk-J3BP3W2N.js.map} +0 -0
- /package/dist/chunks/{chunk-72VM5GMJ.js.map → chunk-J6XAYUON.js.map} +0 -0
- /package/dist/chunks/{chunk-D4XEV3XS.js.map → chunk-JWZLFRII.js.map} +0 -0
- /package/dist/chunks/{chunk-CKR7247U.js.map → chunk-K3PXRK3Z.js.map} +0 -0
- /package/dist/chunks/{chunk-5F72I2UH.js.map → chunk-K6M4OTHF.js.map} +0 -0
- /package/dist/chunks/{chunk-OJHZBH75.js.map → chunk-KCEVJCGE.js.map} +0 -0
- /package/dist/chunks/{chunk-NQ53XPIN.js.map → chunk-KID2I7VD.js.map} +0 -0
- /package/dist/chunks/{chunk-ULUAX2JS.js.map → chunk-KK6CWJFZ.js.map} +0 -0
- /package/dist/chunks/{chunk-QNIQAAX7.js.map → chunk-KKFKXDT4.js.map} +0 -0
- /package/dist/chunks/{chunk-JJ7RB62R.js.map → chunk-KXGVJ55A.js.map} +0 -0
- /package/dist/chunks/{chunk-ZH7MLQCI.js.map → chunk-L4QIJVNX.js.map} +0 -0
- /package/dist/chunks/{chunk-MOJ2ELAF.js.map → chunk-LJWCYIQV.js.map} +0 -0
- /package/dist/chunks/{chunk-DL3UT5SO.js.map → chunk-LO7LBC5T.js.map} +0 -0
- /package/dist/chunks/{chunk-IULTYOEN.js.map → chunk-LPYA4GW7.js.map} +0 -0
- /package/dist/chunks/{chunk-6PNYCYHO.js.map → chunk-LUH7N5AG.js.map} +0 -0
- /package/dist/chunks/{chunk-XZ47DBWY.js.map → chunk-LWBPCNGV.js.map} +0 -0
- /package/dist/chunks/{chunk-54PT3PJZ.js.map → chunk-LYTU6DQ7.js.map} +0 -0
- /package/dist/chunks/{chunk-CPM223M5.js.map → chunk-MGU27EKU.js.map} +0 -0
- /package/dist/chunks/{chunk-UX5OQJII.js.map → chunk-MNSSDI5Y.js.map} +0 -0
- /package/dist/chunks/{chunk-TF4HDGCY.js.map → chunk-MYSCS3LD.js.map} +0 -0
- /package/dist/chunks/{chunk-L64U2I4J.js.map → chunk-MZWFJMIM.js.map} +0 -0
- /package/dist/chunks/{chunk-WFCKZ2IX.js.map → chunk-N7BCFEJJ.js.map} +0 -0
- /package/dist/chunks/{chunk-JGF7X65K.js.map → chunk-NE2J7UOC.js.map} +0 -0
- /package/dist/chunks/{chunk-JAJRZSOH.js.map → chunk-NGGXYIAN.js.map} +0 -0
- /package/dist/chunks/{chunk-AZX32C4J.js.map → chunk-NV3AX3OX.js.map} +0 -0
- /package/dist/chunks/{chunk-AFU7WXAZ.js.map → chunk-ODPKECHM.js.map} +0 -0
- /package/dist/chunks/{chunk-B6JUB5HZ.js.map → chunk-OFUZHNUY.js.map} +0 -0
- /package/dist/chunks/{chunk-Q56NYYTR.js.map → chunk-OICFYPUQ.js.map} +0 -0
- /package/dist/chunks/{chunk-BJBNTKB3.js.map → chunk-ON7XQGDA.js.map} +0 -0
- /package/dist/chunks/{chunk-HH5VGFFN.js.map → chunk-ONKMPBPP.js.map} +0 -0
- /package/dist/chunks/{chunk-DU5OE5ES.js.map → chunk-OT6WAUFD.js.map} +0 -0
- /package/dist/chunks/{chunk-BUVIHQNI.js.map → chunk-OTVNG2RH.js.map} +0 -0
- /package/dist/chunks/{chunk-YGGJK45A.js.map → chunk-P72VIXPI.js.map} +0 -0
- /package/dist/chunks/{chunk-STGOHHWW.js.map → chunk-PPXMVZZM.js.map} +0 -0
- /package/dist/chunks/{chunk-WYQAUERM.js.map → chunk-Q3ZCXNLT.js.map} +0 -0
- /package/dist/chunks/{chunk-V64YKHJD.js.map → chunk-Q4LY4V73.js.map} +0 -0
- /package/dist/chunks/{chunk-UJDNT44S.js.map → chunk-QH55BL6G.js.map} +0 -0
- /package/dist/chunks/{chunk-C3LYWLXF.js.map → chunk-QS3W6PHW.js.map} +0 -0
- /package/dist/chunks/{chunk-MWW6FVKA.js.map → chunk-RAD42QX6.js.map} +0 -0
- /package/dist/chunks/{chunk-34BTV64A.js.map → chunk-RF6XIV7O.js.map} +0 -0
- /package/dist/chunks/{chunk-P243T5OG.js.map → chunk-RLT3CQPF.js.map} +0 -0
- /package/dist/chunks/{chunk-XF3HSQOR.js.map → chunk-S3MI73RJ.js.map} +0 -0
- /package/dist/chunks/{chunk-OGDCTQSN.js.map → chunk-S4O2YFPC.js.map} +0 -0
- /package/dist/chunks/{chunk-BMK5OURE.js.map → chunk-SIJ5UTXM.js.map} +0 -0
- /package/dist/chunks/{chunk-5AM3AURF.js.map → chunk-SOFHWWJH.js.map} +0 -0
- /package/dist/chunks/{chunk-OKVCLTYB.js.map → chunk-SOUXHV54.js.map} +0 -0
- /package/dist/chunks/{chunk-GQ3L6SJB.js.map → chunk-SRY4THD4.js.map} +0 -0
- /package/dist/chunks/{chunk-OZ2C5MPW.js.map → chunk-ST23JVRU.js.map} +0 -0
- /package/dist/chunks/{chunk-K6FQ5ZH6.js.map → chunk-SUR4OMA6.js.map} +0 -0
- /package/dist/chunks/{chunk-FV6QX5N6.js.map → chunk-SVQV6RXR.js.map} +0 -0
- /package/dist/chunks/{chunk-GSXJOUKF.js.map → chunk-T7LGBJ3Y.js.map} +0 -0
- /package/dist/chunks/{chunk-K2LAFXS3.js.map → chunk-T7WRPQ65.js.map} +0 -0
- /package/dist/chunks/{chunk-AEAJGPDR.js.map → chunk-TIXLIDHF.js.map} +0 -0
- /package/dist/chunks/{chunk-FOZ2UUM3.js.map → chunk-TJVM2KTD.js.map} +0 -0
- /package/dist/chunks/{chunk-S3HMURFS.js.map → chunk-TQGVEISD.js.map} +0 -0
- /package/dist/chunks/{chunk-T6SBGDRT.js.map → chunk-UI7QTTM2.js.map} +0 -0
- /package/dist/chunks/{chunk-I4U75RHE.js.map → chunk-UM3XWJVJ.js.map} +0 -0
- /package/dist/chunks/{chunk-T4737SRH.js.map → chunk-UOX7WH3J.js.map} +0 -0
- /package/dist/chunks/{chunk-HJ4K7D5N.js.map → chunk-UP77FF2W.js.map} +0 -0
- /package/dist/chunks/{chunk-FCYLTB5A.js.map → chunk-VISMRN4J.js.map} +0 -0
- /package/dist/chunks/{chunk-D4MTLAJN.js.map → chunk-VPWFFR5J.js.map} +0 -0
- /package/dist/chunks/{chunk-YR325CKB.js.map → chunk-VQN7GC3B.js.map} +0 -0
- /package/dist/chunks/{chunk-RKDRG4NX.js.map → chunk-W7XW3NXA.js.map} +0 -0
- /package/dist/chunks/{chunk-XC4KZY2A.js.map → chunk-WSB2MCTI.js.map} +0 -0
- /package/dist/chunks/{chunk-4ZGZJ6F5.js.map → chunk-WSPWJYLQ.js.map} +0 -0
- /package/dist/chunks/{chunk-R7OKPWPT.js.map → chunk-XGEW2R3P.js.map} +0 -0
- /package/dist/chunks/{chunk-5O4CABZS.js.map → chunk-XVKQQTVV.js.map} +0 -0
- /package/dist/chunks/{chunk-55E3S7ZA.js.map → chunk-XXXJOYTQ.js.map} +0 -0
- /package/dist/chunks/{chunk-WYYJJAXJ.js.map → chunk-Y24UJ26G.js.map} +0 -0
- /package/dist/chunks/{chunk-KUXW74VV.js.map → chunk-YFIKYLOB.js.map} +0 -0
- /package/dist/chunks/{chunk-2CPWLGHD.js.map → chunk-YXQG466V.js.map} +0 -0
- /package/dist/chunks/{chunk-PILOWM4F.js.map → chunk-ZACF6CVM.js.map} +0 -0
- /package/dist/chunks/{cli-runtime-KA4RC4V4.js.map → cli-runtime-RAHU2FF7.js.map} +0 -0
- /package/dist/chunks/{commands-DXH5JRFP.js.map → commands-252QNZKK.js.map} +0 -0
- /package/dist/chunks/{config-OOGXFNA3.js.map → config-CX6PRTEY.js.map} +0 -0
- /package/dist/chunks/{cost-6KJARIGM.js.map → cost-L3RROPK6.js.map} +0 -0
- /package/dist/chunks/{crash-report-3ZOEHHEI.js.map → crash-report-NND4WWJA.js.map} +0 -0
- /package/dist/chunks/{desktop-host-schedule-tool-4RMIUJF6.js.map → desktop-host-schedule-tool-IKWEHI4H.js.map} +0 -0
- /package/dist/chunks/{dist-4L2V72GD.js.map → dist-2MHNJVOM.js.map} +0 -0
- /package/dist/chunks/{dist-NVBSFLTI.js.map → dist-3DMPFVGW.js.map} +0 -0
- /package/dist/chunks/{dist-Y52DNARF.js.map → dist-7TMA3NQ7.js.map} +0 -0
- /package/dist/chunks/{dist-L7TD2FDZ.js.map → dist-DFKDXC5Q.js.map} +0 -0
- /package/dist/chunks/{dist-SIFEVDTY.js.map → dist-MFWZVDSA.js.map} +0 -0
- /package/dist/chunks/{dist-5F5CZWFT.js.map → dist-TH2HM2GH.js.map} +0 -0
- /package/dist/chunks/{dist-G7UUXIXJ.js.map → dist-UAUXP4UC.js.map} +0 -0
- /package/dist/chunks/{dist-K72ZLN23.js.map → dist-YXOQEPCZ.js.map} +0 -0
- /package/dist/chunks/{doctor-VNOAZO3I.js.map → doctor-O5OZR6YG.js.map} +0 -0
- /package/dist/chunks/{drain-Y3SESO5B.js.map → drain-LUUO4FI3.js.map} +0 -0
- /package/dist/chunks/{entry-YV4QH7DR.js.map → entry-XPFYPIDS.js.map} +0 -0
- /package/dist/chunks/{extension-QCXFSOMC.js.map → extension-AVJ2LV2G.js.map} +0 -0
- /package/dist/chunks/{feed-FWRV24AI.js.map → feed-UKN7XNCC.js.map} +0 -0
- /package/dist/chunks/{home-RXA7GMAW.js.map → home-A7434CUG.js.map} +0 -0
- /package/dist/chunks/{homes-RI3FTXOG.js.map → homes-U4IALPDB.js.map} +0 -0
- /package/dist/chunks/{hooks-JPFB27RR.js.map → hooks-TQ7KEIX5.js.map} +0 -0
- /package/dist/chunks/{hooks-report-KM6KRZRW.js.map → hooks-report-R6KBKZOI.js.map} +0 -0
- /package/dist/chunks/{host-JZPZJICP.js.map → host-S2OSQNIF.js.map} +0 -0
- /package/dist/chunks/{host-queries-3NYSJCGN.js.map → host-queries-VKIZCSD3.js.map} +0 -0
- /package/dist/chunks/{installed-list-FT4FSKGM.js.map → installed-list-VGP7FMFB.js.map} +0 -0
- /package/dist/chunks/{launch-UESAO3GK.js.map → launch-LWAQXYIA.js.map} +0 -0
- /package/dist/chunks/{learn-3TU3ZLHJ.js.map → learn-GIKQBJN5.js.map} +0 -0
- /package/dist/chunks/{learn-builtin-J2KRSGUB.js.map → learn-builtin-HOFMWHQP.js.map} +0 -0
- /package/dist/chunks/{lifecycle-OWLUGMJN.js.map → lifecycle-4OBW7B42.js.map} +0 -0
- /package/dist/chunks/{list-BIVADLIP.js.map → list-O2I3ECME.js.map} +0 -0
- /package/dist/chunks/{live-MW4OA6OG.js.map → live-DCRF5F6P.js.map} +0 -0
- /package/dist/chunks/{load-ZXUDPY34.js.map → load-LHCKRZFB.js.map} +0 -0
- /package/dist/chunks/{logs-5ZGRVNF4.js.map → logs-UMD7HBUO.js.map} +0 -0
- /package/dist/chunks/{mcp-DTMEZ6I6.js.map → mcp-35NTHODS.js.map} +0 -0
- /package/dist/chunks/{mcp-serve-GMWIFBPW.js.map → mcp-serve-PCEC55MI.js.map} +0 -0
- /package/dist/chunks/{message-command-KAJR3QEG.js.map → message-command-34BVXT5R.js.map} +0 -0
- /package/dist/chunks/{open-3YROUC7F.js.map → open-DK276PG4.js.map} +0 -0
- /package/dist/chunks/{operator-tools-6SDUBJON.js.map → operator-tools-RG247DOI.js.map} +0 -0
- /package/dist/chunks/{output-schema-XV4RVXXK.js.map → output-schema-WBFGDY7D.js.map} +0 -0
- /package/dist/chunks/{pal-RK5QZ4LQ.js.map → pal-OBXTNMGX.js.map} +0 -0
- /package/dist/chunks/{peers-YQ4US53G.js.map → peers-RBR7QYPG.js.map} +0 -0
- /package/dist/chunks/{peers-HLFUEQJJ.js.map → peers-ZSKWVLA4.js.map} +0 -0
- /package/dist/chunks/{providers-DEBQUBNW.js.map → providers-EW4LE5AZ.js.map} +0 -0
- /package/dist/chunks/{providers-75MC4K7W.js.map → providers-V4MMZ7X5.js.map} +0 -0
- /package/dist/chunks/{pty-GTQFDVCO.js.map → pty-XV7IOHGX.js.map} +0 -0
- /package/dist/chunks/{resume-GWI4C4UT.js.map → resume-GA7INROY.js.map} +0 -0
- /package/dist/chunks/{resume-command-6UAIWTCL.js.map → resume-command-VABS2KGI.js.map} +0 -0
- /package/dist/chunks/{running-5YF7VHTF.js.map → running-LDQLXUGW.js.map} +0 -0
- /package/dist/chunks/{schedule-D7NLKN4F.js.map → schedule-L5AAS4JQ.js.map} +0 -0
- /package/dist/chunks/{send-IB7CNIDR.js.map → send-2KB5VRUT.js.map} +0 -0
- /package/dist/chunks/{send-person-ELJOZHST.js.map → send-person-EFHYG2GX.js.map} +0 -0
- /package/dist/chunks/{servers-ZP6DRGF2.js.map → servers-WIKRFBKU.js.map} +0 -0
- /package/dist/chunks/{service-K4ZLR63R.js.map → service-LXQA5RI7.js.map} +0 -0
- /package/dist/chunks/{session-options-TG26QZZ6.js.map → session-options-2LDJWGYZ.js.map} +0 -0
- /package/dist/chunks/{setting-cli-IU6A6I6W.js.map → setting-cli-6T6H6TJ7.js.map} +0 -0
- /package/dist/chunks/{skills-3HLNJWGS.js.map → skills-YAIICRGB.js.map} +0 -0
- /package/dist/chunks/{source-deliveries-45TER3PU.js.map → source-deliveries-VB4F2DV5.js.map} +0 -0
- /package/dist/chunks/{start-check-2WETAK5Z.js.map → start-check-TE3CE7NZ.js.map} +0 -0
- /package/dist/chunks/{startup-failure-JMIJL67P.js.map → startup-failure-PBWJF4DV.js.map} +0 -0
- /package/dist/chunks/{state-MJNHJ5FV.js.map → state-UGZ334GT.js.map} +0 -0
- /package/dist/chunks/{store-E7VNPPQT.js.map → store-3REZKYH5.js.map} +0 -0
- /package/dist/chunks/{store-SPOO5FU6.js.map → store-75XB557Z.js.map} +0 -0
- /package/dist/chunks/{store-U2O2Y22S.js.map → store-RV6QGLU2.js.map} +0 -0
- /package/dist/chunks/{store-X3LC5BJX.js.map → store-VQ5OTKXT.js.map} +0 -0
- /package/dist/chunks/{update-3HG4RCUQ.js.map → update-NPWMEWAL.js.map} +0 -0
- /package/dist/chunks/{windows-home-6PZ2XTQH.js.map → windows-home-4XSPGUOR.js.map} +0 -0
- /package/dist/chunks/{workspaces-PMOLQDFU.js.map → workspaces-UB6NF7LY.js.map} +0 -0
- /package/dist/chunks/{worktree-NLBILYL2.js.map → worktree-QCSW5VQC.js.map} +0 -0
|
@@ -7,45 +7,37 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
listMarkdownNames,
|
|
9
9
|
resolvePluginFileDirs
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6W6ILBXE.js";
|
|
11
11
|
import {
|
|
12
12
|
ENTRY_SIDECAR_KEEPS,
|
|
13
13
|
INSTALL_MANIFEST_VERSION,
|
|
14
14
|
LOCAL_UPLOADS_MARKETPLACE,
|
|
15
|
-
admissionScope,
|
|
16
|
-
currentEnabledAnswer,
|
|
17
15
|
installManifestPath,
|
|
18
|
-
installedPluginRefusal,
|
|
19
|
-
installedRefusalText,
|
|
20
16
|
isConfigFile,
|
|
21
17
|
isExecutablePath,
|
|
22
18
|
isInsidePluginCache,
|
|
23
|
-
loadInstalledManifest,
|
|
24
19
|
manifestDigest,
|
|
25
20
|
readCatalog,
|
|
26
21
|
readInstallManifest,
|
|
27
|
-
readLayers,
|
|
28
22
|
readRecordLayer,
|
|
29
23
|
recordLayerPath,
|
|
30
24
|
resolveEntrySource,
|
|
31
25
|
setEnabledPlugin,
|
|
32
26
|
setExtraKnownMarketplace,
|
|
33
27
|
sha256Hex,
|
|
34
|
-
surfaceDigest
|
|
35
|
-
|
|
36
|
-
} from "./chunk-MSCXXLWD.js";
|
|
28
|
+
surfaceDigest
|
|
29
|
+
} from "./chunk-7BZZGFKW.js";
|
|
37
30
|
import {
|
|
38
31
|
readPluginHookEntriesOf
|
|
39
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-PR3MVT6X.js";
|
|
40
33
|
import {
|
|
41
34
|
readSkillHooks
|
|
42
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-E2LKNISN.js";
|
|
43
36
|
import {
|
|
44
37
|
PLUGIN_ID_PATTERN,
|
|
45
38
|
installManifestsFolder,
|
|
46
39
|
installedPluginDataFolder,
|
|
47
40
|
installedPluginsPath,
|
|
48
|
-
isPluginId,
|
|
49
41
|
isReservedPluginDir,
|
|
50
42
|
marketplacesFolder,
|
|
51
43
|
pluginCacheFolder,
|
|
@@ -53,12 +45,11 @@ import {
|
|
|
53
45
|
putInstallRecord,
|
|
54
46
|
putKnownMarketplace,
|
|
55
47
|
readInstalledPlugins,
|
|
56
|
-
readKnownMarketplaces,
|
|
57
48
|
realPathOrResolved,
|
|
58
49
|
removeInstallRecord,
|
|
59
50
|
samePath,
|
|
60
51
|
splitPluginId
|
|
61
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-XGEW2R3P.js";
|
|
62
53
|
import {
|
|
63
54
|
describeSource,
|
|
64
55
|
gitUrlOf,
|
|
@@ -67,21 +58,18 @@ import {
|
|
|
67
58
|
isCommitId,
|
|
68
59
|
repoPathProblem,
|
|
69
60
|
sourceRefusal
|
|
70
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-37ZR2RAN.js";
|
|
71
62
|
import {
|
|
72
63
|
parseSkillMarkdown
|
|
73
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-46VWCTBU.js";
|
|
74
65
|
import {
|
|
75
|
-
StateFileBusyError,
|
|
76
|
-
StateFileUnreadableError,
|
|
77
66
|
unreadableStateFile,
|
|
78
67
|
withStateFileLock
|
|
79
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-47HEFQUP.js";
|
|
80
69
|
import {
|
|
81
70
|
EXIT_DATAERR,
|
|
82
71
|
EXIT_FAIL,
|
|
83
72
|
EXIT_NOINPUT,
|
|
84
|
-
EXIT_OK,
|
|
85
73
|
EXIT_UNAVAILABLE,
|
|
86
74
|
EXIT_UNTRUSTED,
|
|
87
75
|
EXIT_USAGE
|
|
@@ -106,15 +94,11 @@ import {
|
|
|
106
94
|
readCommonLayout,
|
|
107
95
|
resolveWithinReal,
|
|
108
96
|
scanHookModule
|
|
109
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-S5XNNB36.js";
|
|
110
98
|
import {
|
|
111
99
|
__name
|
|
112
100
|
} from "./chunk-76FLAFCG.js";
|
|
113
101
|
|
|
114
|
-
// src/commands/plugin-records.ts
|
|
115
|
-
import { lstatSync as lstatSync6, readdirSync as readdirSync5 } from "node:fs";
|
|
116
|
-
import { join as join8, resolve as resolve2 } from "node:path";
|
|
117
|
-
|
|
118
102
|
// src/integrations/plugins/manifest-details.ts
|
|
119
103
|
import { readFile, stat } from "node:fs/promises";
|
|
120
104
|
import { join } from "node:path";
|
|
@@ -161,19 +145,6 @@ async function readPluginManifestDetails(rootDir, given) {
|
|
|
161
145
|
}
|
|
162
146
|
__name(readPluginManifestDetails, "readPluginManifestDetails");
|
|
163
147
|
|
|
164
|
-
// src/integrations/plugins/remote-marketplace.ts
|
|
165
|
-
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
166
|
-
import { lstatSync as lstatSync5, mkdirSync as mkdirSync6, renameSync as renameSync3 } from "node:fs";
|
|
167
|
-
import { isAbsolute as isAbsolute2, join as join7, relative as relative2 } from "node:path";
|
|
168
|
-
|
|
169
|
-
// src/integrations/plugins/fetch/index.ts
|
|
170
|
-
import { lstatSync as lstatSync2, mkdirSync as mkdirSync3, writeFileSync } from "node:fs";
|
|
171
|
-
import { join as join3 } from "node:path";
|
|
172
|
-
|
|
173
|
-
// src/integrations/plugins/fetch/archive.ts
|
|
174
|
-
import { mkdirSync as mkdirSync2, rmSync as rmSync3 } from "node:fs";
|
|
175
|
-
import { dirname as dirname2 } from "node:path";
|
|
176
|
-
|
|
177
148
|
// src/integrations/plugins/fetch/git.ts
|
|
178
149
|
import { execFile, spawn } from "node:child_process";
|
|
179
150
|
import {
|
|
@@ -222,12 +193,12 @@ function gitTimeoutMs(env = process.env) {
|
|
|
222
193
|
__name(gitTimeoutMs, "gitTimeoutMs");
|
|
223
194
|
function killProcessTree(pid, platform) {
|
|
224
195
|
if (platform === "win32") {
|
|
225
|
-
return new Promise((
|
|
196
|
+
return new Promise((resolve2) => {
|
|
226
197
|
execFile(
|
|
227
198
|
join2(process.env.SystemRoot ?? "C:\\Windows", "System32", "taskkill.exe"),
|
|
228
199
|
["/PID", String(pid), "/T", "/F"],
|
|
229
200
|
{ windowsHide: true, timeout: 5e3 },
|
|
230
|
-
() =>
|
|
201
|
+
() => resolve2()
|
|
231
202
|
);
|
|
232
203
|
});
|
|
233
204
|
}
|
|
@@ -242,7 +213,7 @@ function killProcessTree(pid, platform) {
|
|
|
242
213
|
}
|
|
243
214
|
__name(killProcessTree, "killProcessTree");
|
|
244
215
|
function measureFolder(dir, maxFiles) {
|
|
245
|
-
let
|
|
216
|
+
let bytes = 0;
|
|
246
217
|
let files = 0;
|
|
247
218
|
const walk = /* @__PURE__ */ __name((path) => {
|
|
248
219
|
let entries;
|
|
@@ -258,14 +229,14 @@ function measureFolder(dir, maxFiles) {
|
|
|
258
229
|
else {
|
|
259
230
|
files += 1;
|
|
260
231
|
try {
|
|
261
|
-
|
|
232
|
+
bytes += lstatSync(child).size;
|
|
262
233
|
} catch {
|
|
263
234
|
}
|
|
264
235
|
}
|
|
265
236
|
}
|
|
266
237
|
}, "walk");
|
|
267
238
|
walk(dir);
|
|
268
|
-
return { bytes
|
|
239
|
+
return { bytes, files };
|
|
269
240
|
}
|
|
270
241
|
__name(measureFolder, "measureFolder");
|
|
271
242
|
var live = /* @__PURE__ */ new Map();
|
|
@@ -319,7 +290,7 @@ function createGitRunner(deps = {}) {
|
|
|
319
290
|
const later = deps.setTimeout ?? ((fn, ms) => setTimeout(fn, ms));
|
|
320
291
|
const cancel = deps.clearTimeout ?? ((handle) => clearTimeout(handle));
|
|
321
292
|
const sizeOf = deps.sizeOf ?? measureFolder;
|
|
322
|
-
return (args, options) => new Promise((
|
|
293
|
+
return (args, options) => new Promise((resolve2) => {
|
|
323
294
|
let stdout = "";
|
|
324
295
|
let stderr = "";
|
|
325
296
|
let done = false;
|
|
@@ -340,7 +311,7 @@ function createGitRunner(deps = {}) {
|
|
|
340
311
|
live.delete(pid);
|
|
341
312
|
if (live.size === 0) unhook();
|
|
342
313
|
}
|
|
343
|
-
|
|
314
|
+
resolve2({ code, stdout, stderr, timedOut, missing, ...oversize ? { oversize } : {} });
|
|
344
315
|
}, "finish");
|
|
345
316
|
const stop = /* @__PURE__ */ __name(() => {
|
|
346
317
|
if (stopping) return;
|
|
@@ -705,6 +676,14 @@ async function cloneRepository(request, options = {}) {
|
|
|
705
676
|
}
|
|
706
677
|
__name(cloneRepository, "cloneRepository");
|
|
707
678
|
|
|
679
|
+
// src/integrations/plugins/fetch/index.ts
|
|
680
|
+
import { lstatSync as lstatSync2, mkdirSync as mkdirSync3, writeFileSync } from "node:fs";
|
|
681
|
+
import { join as join3 } from "node:path";
|
|
682
|
+
|
|
683
|
+
// src/integrations/plugins/fetch/archive.ts
|
|
684
|
+
import { mkdirSync as mkdirSync2, rmSync as rmSync3 } from "node:fs";
|
|
685
|
+
import { dirname as dirname2 } from "node:path";
|
|
686
|
+
|
|
708
687
|
// src/integrations/plugins/fetch/url.ts
|
|
709
688
|
import { createHash } from "node:crypto";
|
|
710
689
|
import { closeSync as closeSync2, openSync as openSync2, rmSync as rmSync2, writeSync } from "node:fs";
|
|
@@ -916,12 +895,12 @@ async function download(request, options = {}) {
|
|
|
916
895
|
__name(download, "download");
|
|
917
896
|
async function downloadToFile(request, dest, options = {}) {
|
|
918
897
|
const hash = createHash("sha256");
|
|
919
|
-
let
|
|
898
|
+
let bytes = 0;
|
|
920
899
|
const fd = openSync2(dest, "w", 384);
|
|
921
900
|
try {
|
|
922
901
|
await transfer(request, options, (chunk) => {
|
|
923
902
|
hash.update(chunk);
|
|
924
|
-
|
|
903
|
+
bytes += chunk.byteLength;
|
|
925
904
|
let written = 0;
|
|
926
905
|
while (written < chunk.byteLength)
|
|
927
906
|
written += writeSync(fd, chunk, written, chunk.byteLength - written);
|
|
@@ -932,11 +911,11 @@ async function downloadToFile(request, dest, options = {}) {
|
|
|
932
911
|
throw error;
|
|
933
912
|
}
|
|
934
913
|
closeSync2(fd);
|
|
935
|
-
return { sha256: hash.digest("hex"), bytes
|
|
914
|
+
return { sha256: hash.digest("hex"), bytes };
|
|
936
915
|
}
|
|
937
916
|
__name(downloadToFile, "downloadToFile");
|
|
938
917
|
async function fetchCatalogText(url, options = {}) {
|
|
939
|
-
const
|
|
918
|
+
const bytes = await download(
|
|
940
919
|
{
|
|
941
920
|
url,
|
|
942
921
|
maxBytes: CATALOG_DOWNLOAD_MAX_BYTES,
|
|
@@ -946,14 +925,14 @@ async function fetchCatalogText(url, options = {}) {
|
|
|
946
925
|
},
|
|
947
926
|
options
|
|
948
927
|
);
|
|
949
|
-
return
|
|
928
|
+
return bytes.toString("utf8");
|
|
950
929
|
}
|
|
951
930
|
__name(fetchCatalogText, "fetchCatalogText");
|
|
952
931
|
|
|
953
932
|
// src/integrations/plugins/fetch/archive.ts
|
|
954
933
|
async function downloadArchive(url, dest, expectedSha256, options = {}) {
|
|
955
934
|
mkdirSync2(dirname2(dest), { recursive: true, mode: 448 });
|
|
956
|
-
const { sha256, bytes
|
|
935
|
+
const { sha256, bytes } = await downloadToFile(
|
|
957
936
|
{
|
|
958
937
|
url,
|
|
959
938
|
maxBytes: ARCHIVE_DOWNLOAD_MAX_BYTES,
|
|
@@ -972,7 +951,7 @@ async function downloadArchive(url, dest, expectedSha256, options = {}) {
|
|
|
972
951
|
"digest"
|
|
973
952
|
);
|
|
974
953
|
}
|
|
975
|
-
return { file: dest, sha256, bytes
|
|
954
|
+
return { file: dest, sha256, bytes };
|
|
976
955
|
}
|
|
977
956
|
__name(downloadArchive, "downloadArchive");
|
|
978
957
|
|
|
@@ -1187,6 +1166,12 @@ function entryRow(event, entry) {
|
|
|
1187
1166
|
type: "prompt",
|
|
1188
1167
|
run: String(entry.prompt ?? "").replace(/\s+/g, " ").slice(0, 200)
|
|
1189
1168
|
};
|
|
1169
|
+
if (entry.type === "mcp_tool")
|
|
1170
|
+
return {
|
|
1171
|
+
...base,
|
|
1172
|
+
type: "mcp_tool",
|
|
1173
|
+
run: `${String(entry.server ?? "")}/${String(entry.tool ?? "")}`
|
|
1174
|
+
};
|
|
1190
1175
|
const args = Array.isArray(entry.args) ? entry.args.map(String) : [];
|
|
1191
1176
|
return { ...base, type: "command", run: [String(entry.command ?? ""), ...args].join(" ") };
|
|
1192
1177
|
}
|
|
@@ -2122,8 +2107,8 @@ __name(listDirs, "listDirs");
|
|
|
2122
2107
|
function findPrunable(home, now) {
|
|
2123
2108
|
const records = readRecords(home);
|
|
2124
2109
|
const used = /* @__PURE__ */ new Set();
|
|
2125
|
-
for (const
|
|
2126
|
-
for (const r of
|
|
2110
|
+
for (const list of records.values())
|
|
2111
|
+
for (const r of list) used.add(realPathOrResolved(r.installPath));
|
|
2127
2112
|
const items = [];
|
|
2128
2113
|
const kept = [];
|
|
2129
2114
|
for (const market of listDirs(pluginCacheFolder(home)))
|
|
@@ -2194,6 +2179,9 @@ function prune(home, now, apply) {
|
|
|
2194
2179
|
__name(prune, "prune");
|
|
2195
2180
|
|
|
2196
2181
|
// src/integrations/plugins/remote-marketplace.ts
|
|
2182
|
+
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
2183
|
+
import { lstatSync as lstatSync5, mkdirSync as mkdirSync6, renameSync as renameSync3 } from "node:fs";
|
|
2184
|
+
import { isAbsolute as isAbsolute2, join as join7, relative as relative2 } from "node:path";
|
|
2197
2185
|
var oneLine = /* @__PURE__ */ __name((value) => terminalDisplayText(value).replace(/[\t\n\r]+/g, " "), "oneLine");
|
|
2198
2186
|
var MARKETPLACE_NOTICE = [
|
|
2199
2187
|
"Plugins from a marketplace can run programs on this computer, with access to",
|
|
@@ -2382,6 +2370,21 @@ function isInside(outer, inner) {
|
|
|
2382
2370
|
return rel !== "" && !rel.startsWith("..") && !isAbsolute2(rel);
|
|
2383
2371
|
}
|
|
2384
2372
|
__name(isInside, "isInside");
|
|
2373
|
+
function marketplaceRefreshSkip(market, policy) {
|
|
2374
|
+
const kind = market.source.source;
|
|
2375
|
+
if (kind === "directory" || kind === "file") return void 0;
|
|
2376
|
+
const refusal = sourceRefusal(market.source, policy);
|
|
2377
|
+
if (refusal !== void 0)
|
|
2378
|
+
return {
|
|
2379
|
+
outcome: "failed",
|
|
2380
|
+
message: refusal === "blocked" ? "refreshing it is turned off in your settings." : "refreshing it is not allowed: your settings do not name it among the marketplaces that may be used."
|
|
2381
|
+
};
|
|
2382
|
+
const ref = typeof market.source.ref === "string" ? market.source.ref : void 0;
|
|
2383
|
+
if (ref !== void 0 && isCommitId(ref))
|
|
2384
|
+
return { outcome: "pinned", message: `pinned at ${ref.slice(0, 7)}` };
|
|
2385
|
+
return void 0;
|
|
2386
|
+
}
|
|
2387
|
+
__name(marketplaceRefreshSkip, "marketplaceRefreshSkip");
|
|
2385
2388
|
async function refreshRemoteMarketplace(market, options) {
|
|
2386
2389
|
const { home } = options;
|
|
2387
2390
|
const describe = options.describe ?? failureText;
|
|
@@ -2393,19 +2396,11 @@ async function refreshRemoteMarketplace(market, options) {
|
|
|
2393
2396
|
newer: [],
|
|
2394
2397
|
...partial
|
|
2395
2398
|
}), "row");
|
|
2396
|
-
const
|
|
2397
|
-
const refusal = sourceRefusal(market.source, {
|
|
2399
|
+
const skip = marketplaceRefreshSkip(market, {
|
|
2398
2400
|
blocked: options.blockedMarketplaces,
|
|
2399
2401
|
allowed: options.allowedMarketplaces
|
|
2400
2402
|
});
|
|
2401
|
-
if (
|
|
2402
|
-
return row({
|
|
2403
|
-
outcome: "failed",
|
|
2404
|
-
message: refusal === "blocked" ? "refreshing it is turned off in your settings." : "refreshing it is not allowed: your settings do not name it among the marketplaces that may be used."
|
|
2405
|
-
});
|
|
2406
|
-
const ref = typeof market.source.ref === "string" ? market.source.ref : void 0;
|
|
2407
|
-
if ((kind === "github" || kind === "git") && ref !== void 0 && isCommitId(ref))
|
|
2408
|
-
return row({ outcome: "pinned", message: `pinned at ${ref.slice(0, 7)}` });
|
|
2403
|
+
if (skip !== void 0) return row(skip);
|
|
2409
2404
|
if (!isInside(marketplacesFolder(home), market.installLocation))
|
|
2410
2405
|
return row({
|
|
2411
2406
|
outcome: "failed",
|
|
@@ -2469,738 +2464,16 @@ function failureText(error) {
|
|
|
2469
2464
|
}
|
|
2470
2465
|
__name(failureText, "failureText");
|
|
2471
2466
|
|
|
2472
|
-
// src/commands/plugin-records.ts
|
|
2473
|
-
var PLUGIN_RECORD_VERBS = ["list", "details", "enable", "disable"];
|
|
2474
|
-
var PLUGIN_RECORD_HELP = [
|
|
2475
|
-
"Usage:",
|
|
2476
|
-
" namzu plugin list [--cwd <dir>] [--json]",
|
|
2477
|
-
" namzu plugin details <id> [--cwd <dir>] [--json]",
|
|
2478
|
-
" namzu plugin enable <id> [--scope user|project|local] [--cwd <dir>] [--json]",
|
|
2479
|
-
" namzu plugin disable <id> [--scope user|project|local] [--cwd <dir>] [--json]",
|
|
2480
|
-
"",
|
|
2481
|
-
"list The installed plugins that apply here: id, version, scope, on or off, and what needs attention.",
|
|
2482
|
-
"details One plugin: what it brings by its exact names, the record, who turned it on, where its data is.",
|
|
2483
|
-
"enable Record a yes for an installed plugin. It takes effect in new conversations.",
|
|
2484
|
-
"disable Record a no. Nothing is removed; the plugin stays installed.",
|
|
2485
|
-
"",
|
|
2486
|
-
"An id is <name>@<marketplace>; a bare name works when only one installed plugin has it.",
|
|
2487
|
-
"Without --scope a user plugin is changed in your own settings file, and a project plugin in",
|
|
2488
|
-
"this computer\u2019s file for the folder (.namzu/settings.local.json), so a shared file is not",
|
|
2489
|
-
"edited by a toggle. --scope project edits the shared .namzu/settings.json.",
|
|
2490
|
-
"",
|
|
2491
|
-
"Options:",
|
|
2492
|
-
" --scope user|project|local The record to act on, and the settings file it is written to",
|
|
2493
|
-
" --cwd <dir> The folder whose project plugins are meant (default: here)",
|
|
2494
|
-
" --json Print one JSON object on standard output",
|
|
2495
|
-
"",
|
|
2496
|
-
"Exit status: 0 done, 1 something failed, 64 the command line is wrong,",
|
|
2497
|
-
"66 not installed or a record could not be read, 77 the folder is not trusted."
|
|
2498
|
-
].join("\n");
|
|
2499
|
-
function parseFlags(args) {
|
|
2500
|
-
let json = false;
|
|
2501
|
-
let scope;
|
|
2502
|
-
let cwd;
|
|
2503
|
-
const positional = [];
|
|
2504
|
-
for (let i = 0; i < args.length; i++) {
|
|
2505
|
-
const arg = args[i];
|
|
2506
|
-
const value = /* @__PURE__ */ __name((name) => {
|
|
2507
|
-
if (arg === name) return args[++i];
|
|
2508
|
-
if (arg.startsWith(`${name}=`)) return arg.slice(name.length + 1);
|
|
2509
|
-
return void 0;
|
|
2510
|
-
}, "value");
|
|
2511
|
-
if (arg === "--json") json = true;
|
|
2512
|
-
else if (arg === "--scope" || arg.startsWith("--scope=")) {
|
|
2513
|
-
const v = value("--scope");
|
|
2514
|
-
if (v !== "user" && v !== "project" && v !== "local")
|
|
2515
|
-
return { json, positional, error: "--scope is user, project or local." };
|
|
2516
|
-
scope = v;
|
|
2517
|
-
} else if (arg === "--cwd" || arg.startsWith("--cwd=")) {
|
|
2518
|
-
const v = value("--cwd");
|
|
2519
|
-
if (v === void 0 || v === "") return { json, positional, error: "--cwd needs a folder." };
|
|
2520
|
-
cwd = v;
|
|
2521
|
-
} else if (arg.startsWith("-") && arg !== "-")
|
|
2522
|
-
return { json, positional, error: `unknown option: ${arg}` };
|
|
2523
|
-
else positional.push(arg);
|
|
2524
|
-
}
|
|
2525
|
-
return { json, ...scope ? { scope } : {}, ...cwd ? { cwd } : {}, positional };
|
|
2526
|
-
}
|
|
2527
|
-
__name(parseFlags, "parseFlags");
|
|
2528
|
-
function failure(deps, json, command, code, message, extra = {}) {
|
|
2529
|
-
if (json) deps.out(`${JSON.stringify({ command, outcome: "failed", message, ...extra })}
|
|
2530
|
-
`);
|
|
2531
|
-
else deps.err(`${message}
|
|
2532
|
-
`);
|
|
2533
|
-
return code;
|
|
2534
|
-
}
|
|
2535
|
-
__name(failure, "failure");
|
|
2536
|
-
function stateFailure(error) {
|
|
2537
|
-
if (error instanceof StateFileUnreadableError)
|
|
2538
|
-
return {
|
|
2539
|
-
code: EXIT_NOINPUT,
|
|
2540
|
-
message: `The install record could not be read, so nothing was changed: ${error.file}
|
|
2541
|
-
${error.sentence((p) => p)}`
|
|
2542
|
-
};
|
|
2543
|
-
if (error instanceof StateFileBusyError)
|
|
2544
|
-
return { code: EXIT_FAIL, message: error.sentence((p) => p) };
|
|
2545
|
-
return { code: EXIT_FAIL, message: error instanceof Error ? error.message : String(error) };
|
|
2546
|
-
}
|
|
2547
|
-
__name(stateFailure, "stateFailure");
|
|
2548
|
-
function resolveId(deps, json, command, arg) {
|
|
2549
|
-
const read = readInstalledPlugins(deps.namzuHome);
|
|
2550
|
-
if (read.state === "unreadable")
|
|
2551
|
-
return failure(
|
|
2552
|
-
deps,
|
|
2553
|
-
json,
|
|
2554
|
-
command,
|
|
2555
|
-
EXIT_NOINPUT,
|
|
2556
|
-
`The install record could not be read, so nothing was changed: ${installedPluginsPath(deps.namzuHome)} (${read.reason}). Fix or remove the file, then try again.`
|
|
2557
|
-
);
|
|
2558
|
-
if (isPluginId(arg)) {
|
|
2559
|
-
const records = read.plugins.get(arg);
|
|
2560
|
-
if (!records)
|
|
2561
|
-
return failure(
|
|
2562
|
-
deps,
|
|
2563
|
-
json,
|
|
2564
|
-
command,
|
|
2565
|
-
EXIT_NOINPUT,
|
|
2566
|
-
`${arg} is not installed on this computer.`,
|
|
2567
|
-
{
|
|
2568
|
-
id: arg
|
|
2569
|
-
}
|
|
2570
|
-
);
|
|
2571
|
-
return { id: arg, records };
|
|
2572
|
-
}
|
|
2573
|
-
if (arg.includes("@") || arg === "")
|
|
2574
|
-
return failure(
|
|
2575
|
-
deps,
|
|
2576
|
-
json,
|
|
2577
|
-
command,
|
|
2578
|
-
EXIT_USAGE,
|
|
2579
|
-
`"${arg}" is not a plugin id (name@marketplace).`
|
|
2580
|
-
);
|
|
2581
|
-
const matches = [...read.plugins.keys()].filter((id2) => splitPluginId(id2).name === arg);
|
|
2582
|
-
if (matches.length === 0)
|
|
2583
|
-
return failure(deps, json, command, EXIT_NOINPUT, `${arg} is not installed on this computer.`);
|
|
2584
|
-
if (matches.length > 1)
|
|
2585
|
-
return failure(
|
|
2586
|
-
deps,
|
|
2587
|
-
json,
|
|
2588
|
-
command,
|
|
2589
|
-
EXIT_USAGE,
|
|
2590
|
-
`More than one installed plugin is named ${arg}: ${matches.join(", ")}. Name one of them.`,
|
|
2591
|
-
{ matches }
|
|
2592
|
-
);
|
|
2593
|
-
const id = matches[0];
|
|
2594
|
-
return { id, records: read.plugins.get(id) };
|
|
2595
|
-
}
|
|
2596
|
-
__name(resolveId, "resolveId");
|
|
2597
|
-
function applicable(records, cwd, trusted) {
|
|
2598
|
-
const rank = { local: 3, project: 2, user: 1 };
|
|
2599
|
-
const here = [];
|
|
2600
|
-
let unread = 0;
|
|
2601
|
-
for (const record of records) {
|
|
2602
|
-
if (record.scope === "user") here.push(record);
|
|
2603
|
-
else if (record.projectPath !== void 0 && samePath(record.projectPath, cwd)) {
|
|
2604
|
-
if (trusted) here.push(record);
|
|
2605
|
-
else unread++;
|
|
2606
|
-
}
|
|
2607
|
-
}
|
|
2608
|
-
here.sort((a, b) => rank[b.scope] - rank[a.scope]);
|
|
2609
|
-
return { here, unread };
|
|
2610
|
-
}
|
|
2611
|
-
__name(applicable, "applicable");
|
|
2612
|
-
function contextOf(deps, flags) {
|
|
2613
|
-
const cwd = resolve2(deps.cwd(), flags.cwd ?? ".");
|
|
2614
|
-
return { cwd: realPathOrResolved(cwd), trusted: deps.isTrusted(cwd) };
|
|
2615
|
-
}
|
|
2616
|
-
__name(contextOf, "contextOf");
|
|
2617
|
-
function layerSentence(by, answer) {
|
|
2618
|
-
if (by === void 0) return "no setting says so";
|
|
2619
|
-
return by === "user" ? `your settings say ${answer ? "yes" : "no"}` : by === "project" ? `the folder\u2019s shared settings say ${answer ? "yes" : "no"}` : `this computer\u2019s settings for the folder say ${answer ? "yes" : "no"}`;
|
|
2620
|
-
}
|
|
2621
|
-
__name(layerSentence, "layerSentence");
|
|
2622
|
-
function candidateFor(id, record, answer) {
|
|
2623
|
-
return {
|
|
2624
|
-
id,
|
|
2625
|
-
name: splitPluginId(id).name,
|
|
2626
|
-
record,
|
|
2627
|
-
scope: admissionScope(record.scope),
|
|
2628
|
-
installPath: realPathOrResolved(record.installPath),
|
|
2629
|
-
answer
|
|
2630
|
-
};
|
|
2631
|
-
}
|
|
2632
|
-
__name(candidateFor, "candidateFor");
|
|
2633
|
-
var CLASH_ALLOWED_SCOPES = ["project", "user"];
|
|
2634
|
-
async function nameClashes(deps, ctx, plugins) {
|
|
2635
|
-
const names = /* @__PURE__ */ new Set();
|
|
2636
|
-
try {
|
|
2637
|
-
const discovered = await discoverAllPluginDirs(ctx.cwd, {
|
|
2638
|
-
enabled: true,
|
|
2639
|
-
autoDiscovery: true,
|
|
2640
|
-
allowedScopes: CLASH_ALLOWED_SCOPES,
|
|
2641
|
-
userRoot: deps.namzuHome
|
|
2642
|
-
});
|
|
2643
|
-
for (const scope of CLASH_ALLOWED_SCOPES)
|
|
2644
|
-
for (const dir of discovered[scope]) {
|
|
2645
|
-
if (scope === "user" && isReservedPluginDir(deps.namzuHome, dir)) continue;
|
|
2646
|
-
try {
|
|
2647
|
-
names.add((await loadPluginManifest(dir, { skillsSupported: true })).name);
|
|
2648
|
-
} catch {
|
|
2649
|
-
}
|
|
2650
|
-
}
|
|
2651
|
-
} catch {
|
|
2652
|
-
}
|
|
2653
|
-
const candidates = [];
|
|
2654
|
-
for (const [id, records] of plugins) {
|
|
2655
|
-
const chosen = applicable(records, ctx.cwd, ctx.trusted).here[0];
|
|
2656
|
-
if (chosen === void 0) continue;
|
|
2657
|
-
if (!verifyInstalledCopy(deps.namzuHome, id, chosen.installPath, chosen.surfaceSha256).ok)
|
|
2658
|
-
continue;
|
|
2659
|
-
candidates.push({ id, at: chosen.installedAt ?? "" });
|
|
2660
|
-
}
|
|
2661
|
-
candidates.sort((a, b) => a.at.localeCompare(b.at) || a.id.localeCompare(b.id));
|
|
2662
|
-
const clashes = /* @__PURE__ */ new Map();
|
|
2663
|
-
for (const { id } of candidates) {
|
|
2664
|
-
const { name } = splitPluginId(id);
|
|
2665
|
-
if (names.has(name))
|
|
2666
|
-
clashes.set(id, `${id} will not load: the name "${name}" is already used by another plugin.`);
|
|
2667
|
-
else names.add(name);
|
|
2668
|
-
}
|
|
2669
|
-
return clashes;
|
|
2670
|
-
}
|
|
2671
|
-
__name(nameClashes, "nameClashes");
|
|
2672
|
-
async function runList(deps, flags) {
|
|
2673
|
-
const command = "plugin list";
|
|
2674
|
-
if (flags.positional.length > 0)
|
|
2675
|
-
return failure(deps, flags.json, command, EXIT_USAGE, "plugin list takes no arguments.");
|
|
2676
|
-
const ctx = contextOf(deps, flags);
|
|
2677
|
-
const read = readInstalledPlugins(deps.namzuHome);
|
|
2678
|
-
if (read.state === "unreadable")
|
|
2679
|
-
return failure(
|
|
2680
|
-
deps,
|
|
2681
|
-
flags.json,
|
|
2682
|
-
command,
|
|
2683
|
-
EXIT_NOINPUT,
|
|
2684
|
-
`The install record could not be read: ${installedPluginsPath(deps.namzuHome)} (${read.reason}). Nothing was changed.`
|
|
2685
|
-
);
|
|
2686
|
-
const layers = readLayers(deps.namzuHome, ctx.cwd, ctx.trusted);
|
|
2687
|
-
const problems = read.invalid.map((bad) => `${bad.id}: ${bad.reason}`);
|
|
2688
|
-
for (const [layer, layerRead] of Object.entries(layers)) {
|
|
2689
|
-
if (layerRead?.state === "unreadable")
|
|
2690
|
-
problems.push(
|
|
2691
|
-
`${recordLayerPath(layer, { home: deps.namzuHome, cwd: ctx.cwd })} could not be read (${layerRead.reason}), so what it says was not used`
|
|
2692
|
-
);
|
|
2693
|
-
}
|
|
2694
|
-
const clashes = await nameClashes(deps, ctx, read.plugins);
|
|
2695
|
-
const known = readKnownMarketplaces(deps.namzuHome);
|
|
2696
|
-
const rows = [];
|
|
2697
|
-
let unread = 0;
|
|
2698
|
-
for (const [id, records] of [...read.plugins.entries()].sort(([a], [b]) => a.localeCompare(b))) {
|
|
2699
|
-
const found = applicable(records, ctx.cwd, ctx.trusted);
|
|
2700
|
-
unread += found.unread;
|
|
2701
|
-
if (found.here.length === 0) continue;
|
|
2702
|
-
const answer = currentEnabledAnswer(
|
|
2703
|
-
{ home: deps.namzuHome, cwd: ctx.cwd, projectTrusted: ctx.trusted },
|
|
2704
|
-
id
|
|
2705
|
-
);
|
|
2706
|
-
for (const record of found.here) {
|
|
2707
|
-
const verdict = verifyInstalledCopy(
|
|
2708
|
-
deps.namzuHome,
|
|
2709
|
-
id,
|
|
2710
|
-
record.installPath,
|
|
2711
|
-
record.surfaceSha256
|
|
2712
|
-
);
|
|
2713
|
-
const notes = record.findings.filter(
|
|
2714
|
-
(f) => f.level === "notUsed" || f.level === "refused"
|
|
2715
|
-
).length;
|
|
2716
|
-
const { name, marketplace } = splitPluginId(id);
|
|
2717
|
-
const clash = verdict.ok ? clashes.get(id) : void 0;
|
|
2718
|
-
const problem = verdict.ok ? clash : verdict.message;
|
|
2719
|
-
rows.push({
|
|
2720
|
-
id,
|
|
2721
|
-
name,
|
|
2722
|
-
marketplace,
|
|
2723
|
-
version: record.version ?? null,
|
|
2724
|
-
scope: record.scope,
|
|
2725
|
-
...record.projectPath ? { projectPath: record.projectPath } : {},
|
|
2726
|
-
enabled: answer.on,
|
|
2727
|
-
enabledBy: answer.by ?? null,
|
|
2728
|
-
state: problem !== void 0 ? "blocked" : answer.on ? "on" : "off",
|
|
2729
|
-
attention: notes + (problem !== void 0 ? 1 : 0),
|
|
2730
|
-
...problem !== void 0 ? { problem } : {},
|
|
2731
|
-
source: known.state !== "unreadable" ? known.marketplaces.get(marketplace)?.source ?? null : null,
|
|
2732
|
-
layout: record.layout ?? null,
|
|
2733
|
-
installPath: record.installPath
|
|
2734
|
-
});
|
|
2735
|
-
}
|
|
2736
|
-
}
|
|
2737
|
-
const asked = [];
|
|
2738
|
-
for (const layer of ["project", "local"]) {
|
|
2739
|
-
const layerRead = layers[layer];
|
|
2740
|
-
if (layerRead === void 0 || layerRead.state === "unreadable") continue;
|
|
2741
|
-
for (const [id, value] of layerRead.enabledPlugins) {
|
|
2742
|
-
if (!value) continue;
|
|
2743
|
-
const have = rows.some((row) => row.id === id);
|
|
2744
|
-
if (!have) asked.push({ id, layer, installed: false });
|
|
2745
|
-
}
|
|
2746
|
-
}
|
|
2747
|
-
const declared = [];
|
|
2748
|
-
for (const layer of ["project", "local"]) {
|
|
2749
|
-
const layerRead = layers[layer];
|
|
2750
|
-
if (layerRead === void 0 || layerRead.state === "unreadable") continue;
|
|
2751
|
-
for (const market of layerRead.marketplaces.values())
|
|
2752
|
-
declared.push({
|
|
2753
|
-
name: market.name,
|
|
2754
|
-
layer,
|
|
2755
|
-
source: market.source,
|
|
2756
|
-
added: known.state !== "unreadable" && known.marketplaces.has(market.name)
|
|
2757
|
-
});
|
|
2758
|
-
}
|
|
2759
|
-
const notice = unread > 0 ? `${unread} plugin ${unread === 1 ? "record" : "records"} for this folder ${unread === 1 ? "was" : "were"} not read because the folder is not trusted yet.` : void 0;
|
|
2760
|
-
if (flags.json) {
|
|
2761
|
-
deps.out(
|
|
2762
|
-
`${JSON.stringify({
|
|
2763
|
-
command,
|
|
2764
|
-
cwd: ctx.cwd,
|
|
2765
|
-
trusted: ctx.trusted,
|
|
2766
|
-
loading: deps.loadingOn ? "on" : "off",
|
|
2767
|
-
plugins: rows,
|
|
2768
|
-
asked,
|
|
2769
|
-
declaredMarketplaces: declared,
|
|
2770
|
-
problems,
|
|
2771
|
-
...notice ? { notice } : {}
|
|
2772
|
-
})}
|
|
2773
|
-
`
|
|
2774
|
-
);
|
|
2775
|
-
return EXIT_OK;
|
|
2776
|
-
}
|
|
2777
|
-
const lines = [];
|
|
2778
|
-
if (rows.length === 0) lines.push("No plugins are installed here.");
|
|
2779
|
-
else {
|
|
2780
|
-
const width = /* @__PURE__ */ __name((pick) => Math.max(...rows.map((row) => pick(row).length)), "width");
|
|
2781
|
-
const wId = width((r) => oneLine(r.id));
|
|
2782
|
-
const wVer = width((r) => oneLine(r.version ?? "-"));
|
|
2783
|
-
const wScope = width((r) => r.scope);
|
|
2784
|
-
for (const row of rows) {
|
|
2785
|
-
lines.push(
|
|
2786
|
-
`${oneLine(row.id).padEnd(wId)} ${oneLine(row.version ?? "-").padEnd(wVer)} ${row.scope.padEnd(wScope)} ${row.state}${row.attention > 0 ? ` (${row.attention} to look at)` : ""}`
|
|
2787
|
-
);
|
|
2788
|
-
if (row.problem) lines.push(` ${oneLine(row.problem)}`);
|
|
2789
|
-
}
|
|
2790
|
-
}
|
|
2791
|
-
for (const ask of asked)
|
|
2792
|
-
lines.push(`${oneLine(ask.id)} is asked for here and is not installed on this computer.`);
|
|
2793
|
-
for (const market of declared)
|
|
2794
|
-
lines.push(
|
|
2795
|
-
`${oneLine(market.name)} is declared by this project, ${market.added ? "and added" : "not added"}.`
|
|
2796
|
-
);
|
|
2797
|
-
for (const problem of problems) lines.push(`Not used: ${oneLine(problem)}`);
|
|
2798
|
-
if (notice) lines.push(notice);
|
|
2799
|
-
if (!deps.loadingOn && rows.length > 0)
|
|
2800
|
-
lines.push(
|
|
2801
|
-
"Plugin loading is off, so none of these run. Turn it on: namzu config set plugins.enabled true"
|
|
2802
|
-
);
|
|
2803
|
-
deps.out(`${lines.join("\n")}
|
|
2804
|
-
`);
|
|
2805
|
-
return EXIT_OK;
|
|
2806
|
-
}
|
|
2807
|
-
__name(runList, "runList");
|
|
2808
|
-
function dataSize(path) {
|
|
2809
|
-
let total = 0;
|
|
2810
|
-
let seen = 0;
|
|
2811
|
-
const walk = /* @__PURE__ */ __name((dir) => {
|
|
2812
|
-
for (const entry of readdirSync5(dir)) {
|
|
2813
|
-
if (++seen > 2e4) return;
|
|
2814
|
-
const full = join8(dir, entry);
|
|
2815
|
-
const stat2 = lstatSync6(full);
|
|
2816
|
-
if (stat2.isDirectory()) walk(full);
|
|
2817
|
-
else total += stat2.size;
|
|
2818
|
-
}
|
|
2819
|
-
}, "walk");
|
|
2820
|
-
try {
|
|
2821
|
-
if (!lstatSync6(path).isDirectory()) return null;
|
|
2822
|
-
walk(path);
|
|
2823
|
-
return total;
|
|
2824
|
-
} catch {
|
|
2825
|
-
return null;
|
|
2826
|
-
}
|
|
2827
|
-
}
|
|
2828
|
-
__name(dataSize, "dataSize");
|
|
2829
|
-
async function runDetails(deps, flags) {
|
|
2830
|
-
const command = "plugin details";
|
|
2831
|
-
if (flags.positional.length !== 1)
|
|
2832
|
-
return failure(deps, flags.json, command, EXIT_USAGE, "plugin details takes one plugin id.");
|
|
2833
|
-
const ctx = contextOf(deps, flags);
|
|
2834
|
-
const resolved = resolveId(deps, flags.json, command, flags.positional[0]);
|
|
2835
|
-
if (typeof resolved === "number") return resolved;
|
|
2836
|
-
const { id } = resolved;
|
|
2837
|
-
const found = applicable(resolved.records, ctx.cwd, ctx.trusted);
|
|
2838
|
-
if (found.here.length === 0)
|
|
2839
|
-
return failure(
|
|
2840
|
-
deps,
|
|
2841
|
-
flags.json,
|
|
2842
|
-
command,
|
|
2843
|
-
found.unread > 0 ? EXIT_UNTRUSTED : EXIT_NOINPUT,
|
|
2844
|
-
found.unread > 0 ? "This folder is not trusted yet. Open it with namzu once, or use --scope user." : `${id} is not installed for this folder or for you.`,
|
|
2845
|
-
{ id }
|
|
2846
|
-
);
|
|
2847
|
-
const record = found.here[0];
|
|
2848
|
-
const answer = currentEnabledAnswer(
|
|
2849
|
-
{ home: deps.namzuHome, cwd: ctx.cwd, projectTrusted: ctx.trusted },
|
|
2850
|
-
id
|
|
2851
|
-
);
|
|
2852
|
-
const verdict = verifyInstalledCopy(deps.namzuHome, id, record.installPath, record.surfaceSha256);
|
|
2853
|
-
const all = readInstalledPlugins(deps.namzuHome);
|
|
2854
|
-
const clash = verdict.ok && all.state !== "unreadable" ? (await nameClashes(deps, ctx, all.plugins)).get(id) : void 0;
|
|
2855
|
-
const blockedBy = verdict.ok ? clash : verdict.message;
|
|
2856
|
-
const manifestRead = readInstallManifest(deps.namzuHome, id);
|
|
2857
|
-
const { name, marketplace } = splitPluginId(id);
|
|
2858
|
-
const known = readKnownMarketplaces(deps.namzuHome);
|
|
2859
|
-
const source = known.state !== "unreadable" ? known.marketplaces.get(marketplace)?.source ?? null : null;
|
|
2860
|
-
const dataPath = installedPluginDataFolder(deps.namzuHome, id);
|
|
2861
|
-
let inventory;
|
|
2862
|
-
if (verdict.ok) {
|
|
2863
|
-
try {
|
|
2864
|
-
const candidate = candidateFor(id, record, answer);
|
|
2865
|
-
const manifest = await loadInstalledManifest(candidate, {
|
|
2866
|
-
home: deps.namzuHome,
|
|
2867
|
-
cwd: ctx.cwd,
|
|
2868
|
-
installedNames: /* @__PURE__ */ new Set()
|
|
2869
|
-
});
|
|
2870
|
-
const details = await readPluginManifestDetails(candidate.installPath, manifest);
|
|
2871
|
-
const prefix = `${manifest.name}__`;
|
|
2872
|
-
const files = /* @__PURE__ */ __name((declared) => resolvePluginFileDirs(
|
|
2873
|
-
manifest.name,
|
|
2874
|
-
candidate.installPath,
|
|
2875
|
-
declared,
|
|
2876
|
-
manifest.layout
|
|
2877
|
-
).dirs.flatMap(
|
|
2878
|
-
(source2) => listMarkdownNames(source2.dir, source2.only).map((file) => `${prefix}${file}`)
|
|
2879
|
-
), "files");
|
|
2880
|
-
const hookRead = readPluginHookEntriesOf({ rootDir: candidate.installPath, manifest });
|
|
2881
|
-
inventory = {
|
|
2882
|
-
description: manifest.description,
|
|
2883
|
-
hooks: Object.entries(hookRead.hooks).filter(([, entries]) => (entries?.length ?? 0) > 0).map(([event, entries]) => `${event} (${entries?.length ?? 0})`),
|
|
2884
|
-
skills: (details.skills ?? []).map((skill) => skill.name),
|
|
2885
|
-
commands: files(manifest.commands),
|
|
2886
|
-
agents: files(manifest.agents),
|
|
2887
|
-
servers: (manifest.mcpServers ?? []).map((server) => server.name),
|
|
2888
|
-
...details.author ? { author: details.author } : {}
|
|
2889
|
-
};
|
|
2890
|
-
} catch (error) {
|
|
2891
|
-
inventory = { error: error instanceof Error ? error.message : String(error) };
|
|
2892
|
-
}
|
|
2893
|
-
}
|
|
2894
|
-
const surface = manifestRead.state === "ok" ? manifestRead.manifest.surface : null;
|
|
2895
|
-
const output = {
|
|
2896
|
-
command,
|
|
2897
|
-
id,
|
|
2898
|
-
name,
|
|
2899
|
-
marketplace,
|
|
2900
|
-
enabled: answer.on,
|
|
2901
|
-
enabledBy: answer.by ?? null,
|
|
2902
|
-
verification: verdict.ok ? clash !== void 0 ? { ok: false, code: "name-clash", message: clash } : { ok: true } : { ok: false, code: verdict.code, message: verdict.message },
|
|
2903
|
-
records: found.here.map((r) => ({
|
|
2904
|
-
scope: r.scope,
|
|
2905
|
-
...r.projectPath ? { projectPath: r.projectPath } : {},
|
|
2906
|
-
installPath: r.installPath,
|
|
2907
|
-
version: r.version ?? null,
|
|
2908
|
-
installedAt: r.installedAt ?? null,
|
|
2909
|
-
lastUpdated: r.lastUpdated ?? null,
|
|
2910
|
-
gitCommitSha: r.gitCommitSha ?? null,
|
|
2911
|
-
layout: r.layout ?? null,
|
|
2912
|
-
findings: r.findings
|
|
2913
|
-
})),
|
|
2914
|
-
origin: source ?? (manifestRead.state === "ok" ? manifestRead.manifest.installedFrom ?? null : null),
|
|
2915
|
-
surface,
|
|
2916
|
-
surfaceSha256: manifestRead.state === "ok" ? manifestRead.manifest.surfaceSha256 : null,
|
|
2917
|
-
executableFiles: manifestRead.state === "ok" ? manifestRead.manifest.executable : [],
|
|
2918
|
-
consent: manifestRead.state === "ok" ? manifestRead.manifest.consent ?? null : null,
|
|
2919
|
-
data: { path: dataPath, bytes: dataSize(dataPath) },
|
|
2920
|
-
inventory: inventory ?? null
|
|
2921
|
-
};
|
|
2922
|
-
if (flags.json) {
|
|
2923
|
-
deps.out(`${JSON.stringify(output)}
|
|
2924
|
-
`);
|
|
2925
|
-
return EXIT_OK;
|
|
2926
|
-
}
|
|
2927
|
-
const lines = [`${oneLine(id)}${record.version ? ` ${oneLine(record.version)}` : ""}`];
|
|
2928
|
-
const inv = inventory;
|
|
2929
|
-
if (inv?.description) lines.push(oneLine(inv.description));
|
|
2930
|
-
lines.push(
|
|
2931
|
-
` State: ${answer.on ? "on" : "off"} (${layerSentence(answer.by, answer.on)})`,
|
|
2932
|
-
` Scope: ${found.here.map((r) => r.scope).join(", ")}`,
|
|
2933
|
-
` Origin: ${source ? oneLine(JSON.stringify(source)) : `marketplace ${marketplace}`}`,
|
|
2934
|
-
` Folder: ${oneLine(record.installPath)}`,
|
|
2935
|
-
` Data: ${oneLine(dataPath)}${output.data.bytes === null ? " (none yet)" : ` (${output.data.bytes} bytes)`}`
|
|
2936
|
-
);
|
|
2937
|
-
if (blockedBy !== void 0) lines.push(` Blocked: ${oneLine(blockedBy)}`);
|
|
2938
|
-
const listed = /* @__PURE__ */ __name((label, items) => {
|
|
2939
|
-
if (Array.isArray(items) && items.length > 0)
|
|
2940
|
-
lines.push(` ${label}${items.map((item) => oneLine(String(item))).join(", ")}`);
|
|
2941
|
-
}, "listed");
|
|
2942
|
-
if (inventory) {
|
|
2943
|
-
listed("Skills: ", inventory.skills);
|
|
2944
|
-
listed("Commands: ", inventory.commands);
|
|
2945
|
-
listed("Agents: ", inventory.agents);
|
|
2946
|
-
listed("Hooks: ", inventory.hooks);
|
|
2947
|
-
listed("Servers: ", inventory.servers);
|
|
2948
|
-
}
|
|
2949
|
-
if (manifestRead.state === "ok") {
|
|
2950
|
-
lines.push(
|
|
2951
|
-
` Checked before it loads: ${manifestRead.manifest.executable.length} ${manifestRead.manifest.executable.length === 1 ? "file" : "files"}, surface sha256:${manifestRead.manifest.surfaceSha256.slice(0, 12)}`
|
|
2952
|
-
);
|
|
2953
|
-
const consent = manifestRead.manifest.consent;
|
|
2954
|
-
if (consent && typeof consent.at === "string")
|
|
2955
|
-
lines.push(
|
|
2956
|
-
` Accepted: ${oneLine(consent.at)}${typeof consent.by === "string" ? ` by ${oneLine(consent.by)}` : ""}`
|
|
2957
|
-
);
|
|
2958
|
-
}
|
|
2959
|
-
for (const finding of record.findings)
|
|
2960
|
-
if (finding.level === "notUsed" || finding.level === "refused")
|
|
2961
|
-
lines.push(
|
|
2962
|
-
` ${finding.level === "refused" ? "Refused" : "Not used"}: ${oneLine(finding.message)}`
|
|
2963
|
-
);
|
|
2964
|
-
deps.out(`${lines.join("\n")}
|
|
2965
|
-
`);
|
|
2966
|
-
return EXIT_OK;
|
|
2967
|
-
}
|
|
2968
|
-
__name(runDetails, "runDetails");
|
|
2969
|
-
async function runToggle(deps, flags, enable) {
|
|
2970
|
-
const command = enable ? "plugin enable" : "plugin disable";
|
|
2971
|
-
const verb = enable ? "on" : "off";
|
|
2972
|
-
if (flags.positional.length !== 1)
|
|
2973
|
-
return failure(deps, flags.json, command, EXIT_USAGE, `${command} takes one plugin id.`);
|
|
2974
|
-
const ctx = contextOf(deps, flags);
|
|
2975
|
-
const untrusted = "This folder is not trusted yet. Open it with namzu once, or use --scope user.";
|
|
2976
|
-
if (!ctx.trusted && (flags.scope === "project" || flags.scope === "local"))
|
|
2977
|
-
return failure(deps, flags.json, command, EXIT_UNTRUSTED, untrusted);
|
|
2978
|
-
const resolved = resolveId(deps, flags.json, command, flags.positional[0]);
|
|
2979
|
-
if (typeof resolved === "number") return resolved;
|
|
2980
|
-
const { id } = resolved;
|
|
2981
|
-
const found = applicable(resolved.records, ctx.cwd, ctx.trusted);
|
|
2982
|
-
const chosen = flags.scope ? found.here.find((r) => r.scope === flags.scope) : found.here[0];
|
|
2983
|
-
if (chosen === void 0) {
|
|
2984
|
-
if (!flags.scope && found.unread > 0)
|
|
2985
|
-
return failure(deps, flags.json, command, EXIT_UNTRUSTED, untrusted, { id });
|
|
2986
|
-
return failure(
|
|
2987
|
-
deps,
|
|
2988
|
-
flags.json,
|
|
2989
|
-
command,
|
|
2990
|
-
EXIT_NOINPUT,
|
|
2991
|
-
flags.scope ? `${id} is not installed at scope ${flags.scope} here.` : `${id} is not installed for this folder or for you.`,
|
|
2992
|
-
{ id }
|
|
2993
|
-
);
|
|
2994
|
-
}
|
|
2995
|
-
if (enable) {
|
|
2996
|
-
const refusal = installedPluginRefusal(deps.namzuHome, id, {
|
|
2997
|
-
blocked: deps.blockedMarketplaces,
|
|
2998
|
-
allowed: deps.allowedMarketplaces
|
|
2999
|
-
});
|
|
3000
|
-
if (refusal !== void 0)
|
|
3001
|
-
return failure(deps, flags.json, command, EXIT_UNTRUSTED, installedRefusalText(id, refusal), {
|
|
3002
|
-
id
|
|
3003
|
-
});
|
|
3004
|
-
}
|
|
3005
|
-
const layer = flags.scope ?? (chosen.scope === "user" ? "user" : "local");
|
|
3006
|
-
const path = recordLayerPath(layer, { home: deps.namzuHome, cwd: ctx.cwd });
|
|
3007
|
-
const own = readRecordLayer(path);
|
|
3008
|
-
if (own.state === "unreadable")
|
|
3009
|
-
return failure(
|
|
3010
|
-
deps,
|
|
3011
|
-
flags.json,
|
|
3012
|
-
command,
|
|
3013
|
-
EXIT_NOINPUT,
|
|
3014
|
-
`The plugin records in ${path} could not be read (${own.reason}), so nothing was changed.`,
|
|
3015
|
-
{ id }
|
|
3016
|
-
);
|
|
3017
|
-
let changed = false;
|
|
3018
|
-
if (own.enabledPlugins.get(id) !== enable) {
|
|
3019
|
-
try {
|
|
3020
|
-
setEnabledPlugin(path, deps.namzuHome, id, enable);
|
|
3021
|
-
changed = true;
|
|
3022
|
-
} catch (error) {
|
|
3023
|
-
const failed = stateFailure(error);
|
|
3024
|
-
return failure(deps, flags.json, command, failed.code, failed.message, { id });
|
|
3025
|
-
}
|
|
3026
|
-
}
|
|
3027
|
-
const answer = currentEnabledAnswer(
|
|
3028
|
-
{ home: deps.namzuHome, cwd: ctx.cwd, projectTrusted: ctx.trusted },
|
|
3029
|
-
id
|
|
3030
|
-
);
|
|
3031
|
-
const notes = [];
|
|
3032
|
-
if (answer.on !== enable)
|
|
3033
|
-
notes.push(
|
|
3034
|
-
`It is still ${answer.on ? "on" : "off"} here: ${layerSentence(answer.by, answer.on)}.`
|
|
3035
|
-
);
|
|
3036
|
-
if (enable) {
|
|
3037
|
-
const verdict = verifyInstalledCopy(
|
|
3038
|
-
deps.namzuHome,
|
|
3039
|
-
id,
|
|
3040
|
-
chosen.installPath,
|
|
3041
|
-
chosen.surfaceSha256
|
|
3042
|
-
);
|
|
3043
|
-
const all = readInstalledPlugins(deps.namzuHome);
|
|
3044
|
-
const blocked = !verdict.ok ? verdict.message : all.state !== "unreadable" ? (await nameClashes(deps, ctx, all.plugins)).get(id) : void 0;
|
|
3045
|
-
if (blocked !== void 0) notes.push(`It is still blocked and will not load: ${blocked}`);
|
|
3046
|
-
}
|
|
3047
|
-
if (enable && !deps.loadingOn)
|
|
3048
|
-
notes.push(
|
|
3049
|
-
"Plugin loading is off, so it will not run until you run: namzu config set plugins.enabled true"
|
|
3050
|
-
);
|
|
3051
|
-
const message = changed ? `Turned ${verb} ${id} (scope: ${layer}). It takes effect in new conversations.` : `${id} is already ${verb} at scope ${layer}.`;
|
|
3052
|
-
if (flags.json)
|
|
3053
|
-
deps.out(
|
|
3054
|
-
`${JSON.stringify({
|
|
3055
|
-
command,
|
|
3056
|
-
outcome: changed ? enable ? "enabled" : "disabled" : "unchanged",
|
|
3057
|
-
id,
|
|
3058
|
-
scope: layer,
|
|
3059
|
-
message,
|
|
3060
|
-
effective: { enabled: answer.on, by: answer.by ?? null },
|
|
3061
|
-
loading: deps.loadingOn ? "on" : "off",
|
|
3062
|
-
...notes.length > 0 ? { notes } : {}
|
|
3063
|
-
})}
|
|
3064
|
-
`
|
|
3065
|
-
);
|
|
3066
|
-
else deps.out(`${[message, ...notes].join("\n")}
|
|
3067
|
-
`);
|
|
3068
|
-
return EXIT_OK;
|
|
3069
|
-
}
|
|
3070
|
-
__name(runToggle, "runToggle");
|
|
3071
|
-
async function runPluginRecords(verb, args, deps) {
|
|
3072
|
-
const flags = parseFlags(args);
|
|
3073
|
-
if (flags.error) return failure(deps, flags.json, `plugin ${verb}`, EXIT_USAGE, flags.error);
|
|
3074
|
-
switch (verb) {
|
|
3075
|
-
case "list":
|
|
3076
|
-
return runList(deps, flags);
|
|
3077
|
-
case "details":
|
|
3078
|
-
return runDetails(deps, flags);
|
|
3079
|
-
case "enable":
|
|
3080
|
-
return runToggle(deps, flags, true);
|
|
3081
|
-
case "disable":
|
|
3082
|
-
return runToggle(deps, flags, false);
|
|
3083
|
-
}
|
|
3084
|
-
}
|
|
3085
|
-
__name(runPluginRecords, "runPluginRecords");
|
|
3086
|
-
|
|
3087
|
-
// src/integrations/plugins/install-preview.ts
|
|
3088
|
-
var one = /* @__PURE__ */ __name((value) => terminalDisplayText(value).replace(/[\t\n\r]+/g, " "), "one");
|
|
3089
|
-
function list(items) {
|
|
3090
|
-
return items.map(one).join(", ");
|
|
3091
|
-
}
|
|
3092
|
-
__name(list, "list");
|
|
3093
|
-
function bytes(count) {
|
|
3094
|
-
return count < 1024 ? `${count} B` : `${(count / 1024).toFixed(1)} KB`;
|
|
3095
|
-
}
|
|
3096
|
-
__name(bytes, "bytes");
|
|
3097
|
-
function runsLines(surface) {
|
|
3098
|
-
const lines = [];
|
|
3099
|
-
for (const hook2 of surface.hooks)
|
|
3100
|
-
lines.push(
|
|
3101
|
-
` hook ${one(hook2.event)}${hook2.matcher !== void 0 ? ` ${one(hook2.matcher)}` : ""} -> ${hook2.type === "command" ? "" : `${hook2.type}: `}${one(hook2.run)}`
|
|
3102
|
-
);
|
|
3103
|
-
for (const hook2 of surface.fileHooks)
|
|
3104
|
-
lines.push(
|
|
3105
|
-
` hook ${one(hook2.event)} in ${hook2.kind} ${one(hook2.name)} -> ${hook2.type === "command" ? "" : `${hook2.type}: `}${one(hook2.run)}`
|
|
3106
|
-
);
|
|
3107
|
-
for (const server of surface.mcpLocal)
|
|
3108
|
-
lines.push(
|
|
3109
|
-
` server ${one(server.name)} -> ${one([server.command, ...server.args].join(" "))}${Object.keys(server.env).length > 0 ? ` (environment: ${list(Object.keys(server.env))})` : ""}${server.needsSetup === true ? " (needs setup: not started until its variables are set)" : ""}`
|
|
3110
|
-
);
|
|
3111
|
-
for (const server of surface.mcpRemote)
|
|
3112
|
-
lines.push(
|
|
3113
|
-
` server ${one(server.name)} -> ${one(server.origin)} (asks you before it connects${server.sendsEnv.length > 0 ? `; would send ${server.sendsEnv.map((name) => `$${one(name)}`).join(", ")}` : ""}${server.headers.length > 0 ? `; headers: ${list(server.headers)}` : ""}${server.needsSetup === true ? "; needs setup" : ""})`
|
|
3114
|
-
);
|
|
3115
|
-
for (const module of surface.modules)
|
|
3116
|
-
lines.push(
|
|
3117
|
-
module.refused !== void 0 ? ` module ${one(module.path)} (not run: ${one(module.refused)}; a tool call is refused while it stays refused)` : module.tool === true ? ` module ${one(module.path)} (tools: JavaScript that runs inside the session when the plugin is turned on; what it declares is not read before it runs)` : module.isolated === true ? ` module ${one(module.path)} (runs in a worker with your permissions${module.declares !== void 0 && module.declares.length > 0 ? `; ${list(module.declares)}` : ""})` : ` module ${one(module.path)} (JavaScript that runs inside the session; what it declares is not read before it runs)`
|
|
3118
|
-
);
|
|
3119
|
-
const moduleTools = new Set(surface.modules.filter((m) => m.tool === true).map((m) => m.path));
|
|
3120
|
-
for (const script of surface.scripts)
|
|
3121
|
-
lines.push(
|
|
3122
|
-
` script ${one(script.path)} (${bytes(script.bytes)}${script.exec ? ", executable" : ""}${moduleTools.has(script.path) ? "; also imported as a module" : ""})`
|
|
3123
|
-
);
|
|
3124
|
-
return lines;
|
|
3125
|
-
}
|
|
3126
|
-
__name(runsLines, "runsLines");
|
|
3127
|
-
function renderInstallPreview(plan, options) {
|
|
3128
|
-
const lines = [
|
|
3129
|
-
options.headline ?? `Install ${one(plan.name)} ${one(plan.version)} from ${one(plan.marketplace)}${plan.commit !== void 0 ? ` (commit ${plan.commit.slice(0, 7)})` : ""}? ${options.scopeLine}`,
|
|
3130
|
-
""
|
|
3131
|
-
];
|
|
3132
|
-
if (options.changes !== void 0 && options.changes.length > 0) {
|
|
3133
|
-
lines.push(" What changed since the version you have:");
|
|
3134
|
-
for (const change of options.changes) lines.push(` ${one(change)}`);
|
|
3135
|
-
lines.push("");
|
|
3136
|
-
}
|
|
3137
|
-
const { inventory, surface } = plan;
|
|
3138
|
-
if (inventory.skills.length > 0)
|
|
3139
|
-
lines.push(` Skills (${inventory.skills.length}): ${list(inventory.skills)}`);
|
|
3140
|
-
if (inventory.commands.length > 0)
|
|
3141
|
-
lines.push(
|
|
3142
|
-
` Commands (${inventory.commands.length}): ${inventory.commands.map((name) => `/${one(name)}`).join(", ")}`
|
|
3143
|
-
);
|
|
3144
|
-
if (inventory.agents.length > 0)
|
|
3145
|
-
lines.push(` Agents (${inventory.agents.length}): ${list(inventory.agents)}`);
|
|
3146
|
-
const runs = runsLines(surface);
|
|
3147
|
-
lines.push(
|
|
3148
|
-
runs.length > 0 ? " Runs on this computer:" : " Runs on this computer: nothing found."
|
|
3149
|
-
);
|
|
3150
|
-
lines.push(...runs);
|
|
3151
|
-
if (surface.unpinnedDownload) lines.push(" This download is not pinned to a digest.");
|
|
3152
|
-
for (const tools of surface.allowedTools)
|
|
3153
|
-
lines.push(` Pre-approves tools: ${tools.kind} ${one(tools.name)} allows ${list(tools.tools)}`);
|
|
3154
|
-
const listedElsewhere = /* @__PURE__ */ new Set(["mcp-server-remote", "mcp-needs-setup"]);
|
|
3155
|
-
const notUsed = plan.findings.filter((f) => f.level === "notUsed" && !listedElsewhere.has(f.code));
|
|
3156
|
-
if (notUsed.length > 0)
|
|
3157
|
-
lines.push(
|
|
3158
|
-
` Not used by Namzu: ${[...new Set(notUsed.map((f) => f.field ?? f.code))].map(one).join(", ")}`
|
|
3159
|
-
);
|
|
3160
|
-
for (const finding of plan.findings.filter((f) => f.level === "refused"))
|
|
3161
|
-
lines.push(` Left out: ${one(finding.message)}`);
|
|
3162
|
-
for (const warning of plan.warnings) lines.push(` Note: ${one(warning)}`);
|
|
3163
|
-
lines.push(
|
|
3164
|
-
"",
|
|
3165
|
-
"This plugin runs programs on your computer with your permissions. Namzu cannot",
|
|
3166
|
-
"check what they do. Install only plugins you trust.",
|
|
3167
|
-
`Surface: sha256:${plan.digest}`
|
|
3168
|
-
);
|
|
3169
|
-
return lines.join("\n");
|
|
3170
|
-
}
|
|
3171
|
-
__name(renderInstallPreview, "renderInstallPreview");
|
|
3172
|
-
|
|
3173
|
-
// src/integrations/plugins/update-compare.ts
|
|
3174
|
-
var OWN_MANIFESTS = /* @__PURE__ */ new Set([
|
|
3175
|
-
PLUGIN_MANIFEST_FILENAME,
|
|
3176
|
-
`${COMMON_MANIFEST_DIR}/${PLUGIN_MANIFEST_FILENAME}`
|
|
3177
|
-
]);
|
|
3178
|
-
function compareUpdate(recorded, plan) {
|
|
3179
|
-
const before = recorded.surface;
|
|
3180
|
-
const changes = surfaceChanges(before, plan.surface);
|
|
3181
|
-
const manifestChanged = recorded.manifestSha256 !== manifestDigest(plan.manifest);
|
|
3182
|
-
const nothingRunsDifferently = JSON.stringify(before) === JSON.stringify(plan.surface) && [.../* @__PURE__ */ new Set([...Object.keys(plan.files), ...Object.keys(recorded.files)])].filter((path) => plan.files[path] !== recorded.files[path]).every((path) => {
|
|
3183
|
-
if (path.split("/").pop() === PLUGIN_MANIFEST_FILENAME)
|
|
3184
|
-
return OWN_MANIFESTS.has(path) && !manifestChanged;
|
|
3185
|
-
return !isExecutablePath(path, 0) && !plan.surface.scripts.some((script) => script.path === path);
|
|
3186
|
-
});
|
|
3187
|
-
return {
|
|
3188
|
-
changes: recorded.manifestSha256 !== void 0 && manifestChanged ? [...changes, "the plugin manifest changed"] : changes,
|
|
3189
|
-
unchangedSurface: recorded.surfaceSha256 === plan.digest || nothingRunsDifferently
|
|
3190
|
-
};
|
|
3191
|
-
}
|
|
3192
|
-
__name(compareUpdate, "compareUpdate");
|
|
3193
|
-
|
|
3194
2467
|
export {
|
|
3195
2468
|
readPluginManifestDetails,
|
|
3196
2469
|
FetchError,
|
|
3197
2470
|
fetchMarketplace,
|
|
3198
2471
|
hashExecutableFiles,
|
|
2472
|
+
surfaceChanges,
|
|
3199
2473
|
PlanRefusal,
|
|
3200
2474
|
discardStaging,
|
|
3201
2475
|
usedPluginNames,
|
|
3202
2476
|
planInstall,
|
|
3203
|
-
renderInstallPreview,
|
|
3204
2477
|
SimulatedCrash,
|
|
3205
2478
|
InstallConflict,
|
|
3206
2479
|
trashFolder,
|
|
@@ -3227,14 +2500,7 @@ export {
|
|
|
3227
2500
|
newerVersions,
|
|
3228
2501
|
withBlockList,
|
|
3229
2502
|
isInside,
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
PLUGIN_RECORD_VERBS,
|
|
3233
|
-
PLUGIN_RECORD_HELP,
|
|
3234
|
-
failure,
|
|
3235
|
-
stateFailure,
|
|
3236
|
-
resolveId,
|
|
3237
|
-
applicable,
|
|
3238
|
-
runPluginRecords
|
|
2503
|
+
marketplaceRefreshSkip,
|
|
2504
|
+
refreshRemoteMarketplace
|
|
3239
2505
|
};
|
|
3240
|
-
//# sourceMappingURL=chunk-
|
|
2506
|
+
//# sourceMappingURL=chunk-LIX2TWWW.js.map
|