@namzu/cli 62.0.1 → 63.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 +145 -0
- package/dist/bin.js +1 -1
- package/dist/checkpoints/manifest.d.ts.map +1 -1
- package/dist/checkpoints/store.d.ts.map +1 -1
- package/dist/chunks/{acp-XDHKC3S3.js → acp-5UY6W7DP.js} +160 -150
- package/dist/chunks/acp-5UY6W7DP.js.map +6 -0
- package/dist/chunks/{activity-command-IPUTIWSY.js → activity-command-LKFDX4Y3.js} +16 -15
- package/dist/chunks/activity-command-LKFDX4Y3.js.map +6 -0
- package/dist/chunks/{add-V25Q5HXG.js → add-RNTXN545.js} +70 -39
- package/dist/chunks/add-RNTXN545.js.map +6 -0
- package/dist/chunks/{agent-I7EPRW2H.js → agent-RVTT22XL.js} +65 -63
- package/dist/chunks/agent-session-SNTV4WJB.js +105 -0
- package/dist/chunks/{apply-at-exit-FR464TY4.js → apply-at-exit-4VEPIGG6.js} +8 -7
- package/dist/chunks/apply-at-exit-4VEPIGG6.js.map +6 -0
- package/dist/chunks/{archive-XXGELXD4.js → archive-SUVDTGMZ.js} +14 -13
- package/dist/chunks/archive-SUVDTGMZ.js.map +6 -0
- package/dist/chunks/{auth-MPYY5JGI.js → auth-UDHGYPMT.js} +15 -14
- package/dist/chunks/auth-UDHGYPMT.js.map +6 -0
- package/dist/chunks/{bin-main-XOHYP3G4.js → bin-main-3IIARSC5.js} +11 -10
- package/dist/chunks/bin-main-3IIARSC5.js.map +6 -0
- package/dist/chunks/{binding-5GGFSURJ.js → binding-AVL54CBF.js} +3 -3
- package/dist/chunks/{browser-KGFFFY3K.js → browser-AYBO33ZR.js} +7 -7
- package/dist/chunks/{chat-HPKRZNH3.js → chat-A7OAT7GU.js} +19 -18
- package/dist/chunks/chat-A7OAT7GU.js.map +6 -0
- package/dist/chunks/{chunk-JAN5CCP6.js → chunk-3F5YRA4T.js} +8 -7
- package/dist/chunks/chunk-3F5YRA4T.js.map +6 -0
- package/dist/chunks/{chunk-PSWUXFIH.js → chunk-3GGLAPPV.js} +6 -6
- package/dist/chunks/{chunk-D6D5D6UJ.js → chunk-3GVS745R.js} +2 -2
- package/dist/chunks/{chunk-GQGUPWXT.js → chunk-3HHWM67Q.js} +3 -3
- package/dist/chunks/{chunk-W2OTZAXB.js → chunk-3HUEBQAN.js} +4 -4
- package/dist/chunks/{chunk-WUGXLX6O.js → chunk-3TURVGJT.js} +2 -2
- package/dist/chunks/{chunk-YLAWGDZY.js → chunk-43NXEWX4.js} +2 -2
- package/dist/chunks/{chunk-ECWJCDCK.js → chunk-47SP3GJ4.js} +2 -2
- package/dist/chunks/{chunk-IWVZTMTO.js → chunk-4EDVII4B.js} +3 -3
- package/dist/chunks/{chunk-I32DOGZZ.js → chunk-4IBNEQPZ.js} +10 -9
- package/dist/chunks/chunk-4IBNEQPZ.js.map +6 -0
- package/dist/chunks/{chunk-HNR6STBM.js → chunk-4LMAEQ42.js} +2 -2
- package/dist/chunks/{chunk-JBZ4QYXQ.js → chunk-53JCP2MA.js} +3 -3
- package/dist/chunks/{chunk-JBZ4QYXQ.js.map → chunk-53JCP2MA.js.map} +1 -1
- package/dist/chunks/{chunk-Y7HOTNZR.js → chunk-563QO54Z.js} +2372 -1886
- package/dist/chunks/chunk-563QO54Z.js.map +6 -0
- package/dist/chunks/{chunk-BLAZEM4K.js → chunk-5BDR52OS.js} +3 -3
- package/dist/chunks/{chunk-RNWMX73V.js → chunk-5N55CGZG.js} +2 -2
- package/dist/chunks/{chunk-MB5EOUEL.js → chunk-5QUYAINU.js} +5 -4
- package/dist/chunks/chunk-5QUYAINU.js.map +6 -0
- package/dist/chunks/chunk-5VW3COA7.js +31 -0
- package/dist/chunks/chunk-5VW3COA7.js.map +6 -0
- package/dist/chunks/{chunk-CFVWDSLP.js → chunk-657OVGTQ.js} +8 -8
- package/dist/chunks/{chunk-HHMZIAE7.js → chunk-66ZJ7T5L.js} +2 -2
- package/dist/chunks/{chunk-3H4L2VND.js → chunk-6PHA4NAI.js} +4 -4
- package/dist/chunks/{chunk-WUS3BMCC.js → chunk-6TTWYQB6.js} +3 -3
- package/dist/chunks/{chunk-FLSWKVLP.js → chunk-753XP2BL.js} +97 -31
- package/dist/chunks/chunk-753XP2BL.js.map +6 -0
- package/dist/chunks/{chunk-WAHSZG2X.js → chunk-75YGSZN7.js} +2 -2
- package/dist/chunks/{chunk-VZTSMFNP.js → chunk-7ADQK225.js} +48 -48
- package/dist/chunks/{chunk-MHAHZX7U.js → chunk-7CWYOHH6.js} +3 -3
- package/dist/chunks/{chunk-TECFNZPY.js → chunk-7NXIEDP2.js} +12 -12
- package/dist/chunks/{chunk-HNLFFNCE.js → chunk-7SMNXLWZ.js} +2 -2
- package/dist/chunks/{chunk-5CN3PILD.js → chunk-7WXVKMYK.js} +3 -3
- package/dist/chunks/{chunk-OFATBCW3.js → chunk-A54JD4WN.js} +3 -3
- package/dist/chunks/{chunk-MD6OIFFN.js → chunk-A64DKLIG.js} +15 -11
- package/dist/chunks/{chunk-MD6OIFFN.js.map → chunk-A64DKLIG.js.map} +1 -1
- package/dist/chunks/{chunk-RFW54PAJ.js → chunk-AHGZMLSO.js} +4 -4
- package/dist/chunks/{chunk-JIZVBGOC.js → chunk-BA2RCXPX.js} +4 -4
- package/dist/chunks/{chunk-6SQX7MYY.js → chunk-BEXWYA6H.js} +2 -2
- package/dist/chunks/{chunk-UYEYPKTN.js → chunk-BM2BFZF4.js} +5 -5
- package/dist/chunks/{chunk-Y7GNAKOV.js → chunk-C2YEOD55.js} +7 -4
- package/dist/chunks/chunk-C2YEOD55.js.map +6 -0
- package/dist/chunks/{chunk-5RAKWCRN.js → chunk-CHH5AZNT.js} +2 -2
- package/dist/chunks/{chunk-NP7ZN2MJ.js → chunk-CPTB7QDI.js} +2 -2
- package/dist/chunks/{chunk-GI2HAEIZ.js → chunk-CQTOBLCN.js} +3 -3
- package/dist/chunks/{chunk-WZPEJ7TC.js → chunk-CROAHDJY.js} +15 -519
- package/dist/chunks/chunk-CROAHDJY.js.map +6 -0
- package/dist/chunks/{chunk-XFXDGALU.js → chunk-DO3GU4FK.js} +3 -3
- package/dist/chunks/{chunk-7AZTWFS7.js → chunk-DOIULYV5.js} +138 -62
- package/dist/chunks/chunk-DOIULYV5.js.map +6 -0
- package/dist/chunks/{chunk-6VAF56WU.js → chunk-DQ4MBWB3.js} +7 -7
- package/dist/chunks/{chunk-NZPMAK4R.js → chunk-EG4HMJEH.js} +2 -2
- package/dist/chunks/{chunk-LJSMDUFY.js → chunk-EKSS7K4J.js} +3 -3
- package/dist/chunks/{chunk-2Y3AG5SV.js → chunk-EOUCWHCH.js} +6 -5
- package/dist/chunks/{chunk-VRZQ35XP.js → chunk-ERVENGWO.js} +5 -5
- package/dist/chunks/{chunk-ZM5E5GJM.js → chunk-ESWXVRT2.js} +2 -2
- package/dist/chunks/{chunk-2XFMPGZR.js → chunk-EUUBG4H4.js} +68 -27
- package/dist/chunks/chunk-EUUBG4H4.js.map +6 -0
- package/dist/chunks/{chunk-RJNQRL5C.js → chunk-F2RV4OA4.js} +2 -2
- package/dist/chunks/{chunk-DD4YRQRY.js → chunk-F73RCHO5.js} +13 -13
- package/dist/chunks/{chunk-K3BICM3T.js → chunk-F7JILDDN.js} +7 -7
- package/dist/chunks/{chunk-L55M6CYI.js → chunk-FTGVYRYH.js} +3 -3
- package/dist/chunks/{chunk-OT2R6PIV.js → chunk-GDD3DEG5.js} +9 -10
- package/dist/chunks/chunk-GDD3DEG5.js.map +6 -0
- package/dist/chunks/{chunk-RY4DDC4G.js → chunk-GEIXXTUE.js} +2 -2
- package/dist/chunks/{chunk-YC4FEFC6.js → chunk-GH7JRINW.js} +5 -5
- package/dist/chunks/{chunk-DVIFMGRP.js → chunk-GRA35IM2.js} +2 -2
- package/dist/chunks/{chunk-ODQMMH6C.js → chunk-GSR55RZE.js} +7 -4
- package/dist/chunks/chunk-GSR55RZE.js.map +6 -0
- package/dist/chunks/chunk-H4TBL7OK.js +19 -0
- package/dist/chunks/chunk-H4TBL7OK.js.map +6 -0
- package/dist/chunks/{chunk-MHJU6VYG.js → chunk-HBA5EVRI.js} +4 -4
- package/dist/chunks/{chunk-FEUHUXWS.js → chunk-HFV342VZ.js} +4 -4
- package/dist/chunks/{chunk-YCKZCLQS.js → chunk-HKZWHWOH.js} +6 -6
- package/dist/chunks/{chunk-PD3HXBQJ.js → chunk-HOXYIKMC.js} +2 -2
- package/dist/chunks/{chunk-KQV475J4.js → chunk-IBCCCCIV.js} +11 -9
- package/dist/chunks/chunk-IBCCCCIV.js.map +6 -0
- package/dist/chunks/{chunk-5P3DXU4Y.js → chunk-IHER3BWG.js} +2 -2
- package/dist/chunks/{chunk-NNFYDBI7.js → chunk-IIIAY4M2.js} +2 -2
- package/dist/chunks/{chunk-HIQPFIIA.js → chunk-IL54Z65P.js} +6 -4
- package/dist/chunks/chunk-IL54Z65P.js.map +6 -0
- package/dist/chunks/{chunk-Q3XC7YNF.js → chunk-IOAXQS7P.js} +2 -2
- package/dist/chunks/{chunk-QR5CH34W.js → chunk-IPTMKDPN.js} +21 -21
- package/dist/chunks/{chunk-43GB5MUE.js → chunk-J3F7WCZ3.js} +2 -2
- package/dist/chunks/{chunk-4UX36WUG.js → chunk-JEQ3CPTD.js} +20 -9
- package/dist/chunks/chunk-JEQ3CPTD.js.map +6 -0
- package/dist/chunks/{chunk-5ZPOPPZS.js → chunk-JERXIPYY.js} +8 -6
- package/dist/chunks/chunk-JERXIPYY.js.map +6 -0
- package/dist/chunks/{chunk-OAJIF4BZ.js → chunk-JJ2SALR4.js} +2 -2
- package/dist/chunks/{chunk-P65AXQPL.js → chunk-JNPVJV3O.js} +2 -2
- package/dist/chunks/{chunk-PPEFN2RU.js → chunk-JSUYTWJF.js} +2 -2
- package/dist/chunks/{chunk-6VJLJOXM.js → chunk-JVNRECP6.js} +3 -3
- package/dist/chunks/{chunk-Q3JPM2YR.js → chunk-KJ2EUIHQ.js} +3 -3
- package/dist/chunks/{chunk-MN7H3I6K.js → chunk-KOULA2IJ.js} +2 -2
- package/dist/chunks/{chunk-ZF3PIJU3.js → chunk-L36PRWOF.js} +3 -3
- package/dist/chunks/{chunk-DV6W7RWZ.js → chunk-L5CQ7VIP.js} +3 -3
- package/dist/chunks/{chunk-JF3HXJFC.js → chunk-LLEAN4PC.js} +2 -2
- package/dist/chunks/{chunk-S7LDCBOF.js → chunk-LVXE26A7.js} +3 -3
- package/dist/chunks/{chunk-2IK7T634.js → chunk-LWWG6H7T.js} +3 -3
- package/dist/chunks/{chunk-SIFGFAJK.js → chunk-MBHWHIID.js} +132 -826
- package/dist/chunks/chunk-MBHWHIID.js.map +6 -0
- package/dist/chunks/{chunk-3NF6AVW4.js → chunk-MRDJXO22.js} +5 -2
- package/dist/chunks/chunk-MRDJXO22.js.map +6 -0
- package/dist/chunks/{chunk-6NNRR7U5.js → chunk-NBAKCWV3.js} +26 -5
- package/dist/chunks/chunk-NBAKCWV3.js.map +6 -0
- package/dist/chunks/{chunk-FRID6OTI.js → chunk-NBS2755S.js} +6 -6
- package/dist/chunks/{chunk-HJ7F7C73.js → chunk-NJJ2N524.js} +6 -6
- package/dist/chunks/{chunk-L3VPXYCF.js → chunk-NK3MIAYC.js} +4 -4
- package/dist/chunks/{chunk-DOENBH7Q.js → chunk-NNWLIZFE.js} +3 -2
- package/dist/chunks/chunk-NNWLIZFE.js.map +6 -0
- package/dist/chunks/{chunk-ES5JVNIN.js → chunk-NUJZCC2Z.js} +10 -3
- package/dist/chunks/{chunk-ES5JVNIN.js.map → chunk-NUJZCC2Z.js.map} +1 -1
- package/dist/chunks/{chunk-PJ6IEIKJ.js → chunk-NUSWQJLL.js} +15 -6
- package/dist/chunks/chunk-NUSWQJLL.js.map +6 -0
- package/dist/chunks/{chunk-YFH6PPLO.js → chunk-O7VPHSES.js} +2 -2
- package/dist/chunks/{chunk-IYTFRC6Q.js → chunk-OBBMS3N6.js} +6 -6
- package/dist/chunks/{chunk-IYTFRC6Q.js.map → chunk-OBBMS3N6.js.map} +1 -1
- package/dist/chunks/{chunk-2PAS45UY.js → chunk-OBK74OZW.js} +2 -2
- package/dist/chunks/{chunk-LCF3ZVDZ.js → chunk-OCJ2WBZ4.js} +3 -3
- package/dist/chunks/{chunk-AVCIXXYB.js → chunk-OCYOGXXP.js} +5 -5
- package/dist/chunks/{chunk-GHYEVNIG.js → chunk-OOOCVY35.js} +16 -11
- package/dist/chunks/chunk-OOOCVY35.js.map +6 -0
- package/dist/chunks/{chunk-GI7I4Z3C.js → chunk-OUQUYAI2.js} +5 -5
- package/dist/chunks/{chunk-NRIXMFMF.js → chunk-OUTD6IWW.js} +3 -3
- package/dist/chunks/{chunk-RFCS6LFH.js → chunk-P4BEZ7QW.js} +3 -3
- package/dist/chunks/{chunk-W2FQ5ZYB.js → chunk-PBHPPUUI.js} +8 -8
- package/dist/chunks/{chunk-ID7UHZRL.js → chunk-PL5IX645.js} +249 -32
- package/dist/chunks/chunk-PL5IX645.js.map +6 -0
- package/dist/chunks/{chunk-BKVZRD7Z.js → chunk-PQI2WTH5.js} +2 -2
- package/dist/chunks/{chunk-F4VM5RP6.js → chunk-PYXKPC7C.js} +2 -2
- package/dist/chunks/{chunk-DCGBINKP.js → chunk-QZTC5Q7S.js} +2 -2
- package/dist/chunks/{chunk-JCXGOCDK.js → chunk-R3P3IGP2.js} +776 -333
- package/dist/chunks/chunk-R3P3IGP2.js.map +6 -0
- package/dist/chunks/{chunk-FPVI455T.js → chunk-R63TUS2G.js} +6 -3
- package/dist/chunks/chunk-R63TUS2G.js.map +6 -0
- package/dist/chunks/{chunk-PM5FTMHH.js → chunk-RECTI7QY.js} +2 -2
- package/dist/chunks/chunk-RNOCPBLC.js +24 -0
- package/dist/chunks/chunk-RNOCPBLC.js.map +6 -0
- package/dist/chunks/chunk-RUGV5FZY.js +595 -0
- package/dist/chunks/chunk-RUGV5FZY.js.map +6 -0
- package/dist/chunks/{chunk-I3O2GYYO.js → chunk-RVC77FRV.js} +2 -2
- package/dist/chunks/{chunk-WMFEVIDC.js → chunk-SCDI2SR6.js} +3 -3
- package/dist/chunks/{chunk-6LFX4W7C.js → chunk-SE5YB5OI.js} +9 -6
- package/dist/chunks/chunk-SE5YB5OI.js.map +6 -0
- package/dist/chunks/{chunk-F3DXPL7W.js → chunk-TPFYLED7.js} +5 -5
- package/dist/chunks/{chunk-Z5Y4B2YZ.js → chunk-UAF72QNW.js} +3 -3
- package/dist/chunks/{chunk-FHFVXJYD.js → chunk-UEHFBJEE.js} +10 -10
- package/dist/chunks/chunk-UH33ZMUF.js +45 -0
- package/dist/chunks/chunk-UH33ZMUF.js.map +6 -0
- package/dist/chunks/{chunk-3R2WLJTS.js → chunk-UKWCQVKF.js} +3 -3
- package/dist/chunks/{chunk-67YA6NCA.js → chunk-UZLUUHOZ.js} +3 -3
- package/dist/chunks/{chunk-MAYUNNCO.js → chunk-V4FAKLV3.js} +6 -6
- package/dist/chunks/{chunk-X53XISBP.js → chunk-V6SFWKAD.js} +11 -3
- package/dist/chunks/{chunk-X53XISBP.js.map → chunk-V6SFWKAD.js.map} +1 -1
- package/dist/chunks/{chunk-KXT5I2IA.js → chunk-VAIQQX7N.js} +3 -3
- package/dist/chunks/{chunk-54PRSLXD.js → chunk-VAZ2M63R.js} +5 -5
- package/dist/chunks/{chunk-Z3334TMV.js → chunk-VBWNQCWH.js} +10 -10
- package/dist/chunks/{chunk-E7SV3COW.js → chunk-VH7IAD76.js} +9 -9
- package/dist/chunks/{chunk-VR26KRXW.js → chunk-VIV4RAVR.js} +4 -4
- package/dist/chunks/{chunk-R3PJX3K2.js → chunk-VSYNI2G3.js} +3 -3
- package/dist/chunks/{chunk-J72ATHQJ.js → chunk-VU6GSZ7Z.js} +2840 -1286
- package/dist/chunks/chunk-VU6GSZ7Z.js.map +6 -0
- package/dist/chunks/{chunk-ZPWHSJZL.js → chunk-VZU6C7BV.js} +41 -167
- package/dist/chunks/chunk-VZU6C7BV.js.map +6 -0
- package/dist/chunks/{chunk-HOPL46NH.js → chunk-W63W23XF.js} +8 -5
- package/dist/chunks/chunk-W63W23XF.js.map +6 -0
- package/dist/chunks/{chunk-GL74BFJI.js → chunk-WLKRDSHZ.js} +52 -14
- package/dist/chunks/chunk-WLKRDSHZ.js.map +6 -0
- package/dist/chunks/{chunk-WDMO2XAW.js → chunk-WNONDNGT.js} +2 -2
- package/dist/chunks/{chunk-2DMP56LU.js → chunk-WSH45EZX.js} +4 -4
- package/dist/chunks/{chunk-SXLTOS4V.js → chunk-XMNW2HXH.js} +2 -2
- package/dist/chunks/{chunk-PPDREHTL.js → chunk-XR6IVMWO.js} +3 -3
- package/dist/chunks/{chunk-T6C246EO.js → chunk-XU5FZM42.js} +62 -14
- package/dist/chunks/chunk-XU5FZM42.js.map +6 -0
- package/dist/chunks/{chunk-GNTKC72Z.js → chunk-XUWIPS3I.js} +2 -2
- package/dist/chunks/{chunk-WD362LUZ.js → chunk-YVTWQWWO.js} +3 -3
- package/dist/chunks/{chunk-C3JE4IVH.js → chunk-ZG4VG2VM.js} +4 -4
- package/dist/chunks/{chunk-4L67MGBK.js → chunk-ZHYHS7RM.js} +24 -9
- package/dist/chunks/{chunk-4L67MGBK.js.map → chunk-ZHYHS7RM.js.map} +1 -1
- package/dist/chunks/{chunk-7TDOAGVX.js → chunk-ZKNCORQE.js} +105 -105
- package/dist/chunks/{chunk-7TDOAGVX.js.map → chunk-ZKNCORQE.js.map} +1 -1
- package/dist/chunks/chunk-ZMOQMEJG.js +800 -0
- package/dist/chunks/chunk-ZMOQMEJG.js.map +6 -0
- package/dist/chunks/{chunk-HWYK5R5V.js → chunk-ZMOVFV2S.js} +5 -4
- package/dist/chunks/chunk-ZMOVFV2S.js.map +6 -0
- package/dist/chunks/{chunk-5CZ4LVMK.js → chunk-ZNEBRE4R.js} +4 -4
- package/dist/chunks/{chunk-ALONJM6J.js → chunk-ZVEFONXX.js} +40 -36
- package/dist/chunks/chunk-ZVEFONXX.js.map +6 -0
- package/dist/chunks/{chunk-7L5SU6SJ.js → chunk-ZWTW3MCF.js} +15 -9
- package/dist/chunks/chunk-ZWTW3MCF.js.map +6 -0
- package/dist/chunks/{cli-runtime-O6RCYI3Y.js → cli-runtime-RPIDV2T2.js} +26 -25
- package/dist/chunks/cli-runtime-RPIDV2T2.js.map +6 -0
- package/dist/chunks/{commands-E5ZM2I2Z.js → commands-6AI3A4MU.js} +6 -6
- package/dist/chunks/{computer-AWBPOB3P.js → computer-GABH2PJF.js} +8 -2
- package/dist/chunks/computer-GABH2PJF.js.map +6 -0
- package/dist/chunks/{config-EBPES6V6.js → config-RG4QEUWC.js} +16 -15
- package/dist/chunks/config-RG4QEUWC.js.map +6 -0
- package/dist/chunks/{cost-QRWAQ3XB.js → cost-XQXENUFJ.js} +6 -5
- package/dist/chunks/{crash-report-ANVLQYLO.js → crash-report-UMVAQVML.js} +6 -6
- package/dist/chunks/{debug-KE3MFMW5.js → debug-DX3SZNDB.js} +3 -2
- package/dist/chunks/debug-DX3SZNDB.js.map +6 -0
- package/dist/chunks/{desktop-host-schedule-tool-RG4EV45N.js → desktop-host-schedule-tool-ETKLWMES.js} +37 -36
- package/dist/chunks/desktop-host-schedule-tool-ETKLWMES.js.map +6 -0
- package/dist/chunks/{devtools-V6SF7RES.js → devtools-4ANMDCAD.js} +2 -2
- package/dist/chunks/{dist-ACZRXAK4.js → dist-47PEKUSC.js} +3 -3
- package/dist/chunks/{dist-EKAXB5R5.js → dist-52RJSSLN.js} +2 -2
- package/dist/chunks/{dist-FVTPQX57.js → dist-6R46NFFA.js} +2 -2
- package/dist/chunks/{dist-CM4LL25P.js → dist-CSDSHVMB.js} +2 -2
- package/dist/chunks/{dist-ROGRBORV.js → dist-KP4M7FMR.js} +4 -4
- package/dist/chunks/{dist-TEJDPUVZ.js → dist-NWF4I73Q.js} +2 -2
- package/dist/chunks/{dist-N32BP5B4.js → dist-S5TPXI7T.js} +36 -2
- package/dist/chunks/{dist-Y3CNYMQK.js → dist-X46OQA2D.js} +2 -2
- package/dist/chunks/doctor-BNC2BDUE.js +103 -0
- package/dist/chunks/{drain-H6TQDCQI.js → drain-XAV6YJMP.js} +24 -23
- package/dist/chunks/drain-XAV6YJMP.js.map +6 -0
- package/dist/chunks/{entry-4TMEDNAU.js → entry-MV2FROEW.js} +7 -7
- package/dist/chunks/{eval-6O2RPJ35.js → eval-S3CYPO3Q.js} +20 -13
- package/dist/chunks/eval-S3CYPO3Q.js.map +6 -0
- package/dist/chunks/{exec-W5QZD5IX.js → exec-IPMED3LW.js} +104 -94
- package/dist/chunks/exec-IPMED3LW.js.map +6 -0
- package/dist/chunks/{extension-7PBXYICA.js → extension-7A2DOXFH.js} +6 -6
- package/dist/chunks/{feed-FQKHFH3J.js → feed-TCK7FRZT.js} +6 -6
- package/dist/chunks/{home-5EQVZ7PU.js → home-5DEGDKXE.js} +3 -3
- package/dist/chunks/{homes-IIDNJKRK.js → homes-JINW3ER5.js} +6 -6
- package/dist/chunks/{hooks-NDWCMIVN.js → hooks-TLD27EOH.js} +26 -25
- package/dist/chunks/hooks-TLD27EOH.js.map +6 -0
- package/dist/chunks/{hooks-report-CAWNXYJS.js → hooks-report-QGXYZRZ7.js} +22 -21
- package/dist/chunks/{host-HGZEZXLB.js → host-GXJ46HB3.js} +16 -15
- package/dist/chunks/host-queries-V4JMMMMA.js +41 -0
- package/dist/chunks/{installed-list-OJNSGNIT.js → installed-list-D55C5TLT.js} +4 -4
- package/dist/chunks/{launch-NVHWNZSA.js → launch-QCCCQPOH.js} +31 -30
- package/dist/chunks/launch-QCCCQPOH.js.map +6 -0
- package/dist/chunks/{learn-FLJL53VN.js → learn-OQZQEZ3R.js} +19 -18
- package/dist/chunks/learn-OQZQEZ3R.js.map +6 -0
- package/dist/chunks/{learn-builtin-XJLP6EZ3.js → learn-builtin-SD4XQYI3.js} +22 -21
- package/dist/chunks/learn-builtin-SD4XQYI3.js.map +6 -0
- package/dist/chunks/{lifecycle-I5PHIQPV.js → lifecycle-JPDGDRYE.js} +45 -42
- package/dist/chunks/{list-BAQT6SDH.js → list-GPE5NJKI.js} +23 -22
- package/dist/chunks/live-SPWADZ36.js +102 -0
- package/dist/chunks/{load-WSB7ECXC.js → load-2YNIEXSX.js} +13 -12
- package/dist/chunks/{logs-WN65RRIX.js → logs-CEPX5RE5.js} +5 -5
- package/dist/chunks/{mcp-D3BUCLEX.js → mcp-YDLZXAW7.js} +73 -35
- package/dist/chunks/mcp-YDLZXAW7.js.map +6 -0
- package/dist/chunks/{mcp-serve-QRXGVK26.js → mcp-serve-7GWX3NPG.js} +21 -20
- package/dist/chunks/mcp-serve-7GWX3NPG.js.map +6 -0
- package/dist/chunks/{message-command-A4AEJCMT.js → message-command-P5OHIHTN.js} +71 -69
- package/dist/chunks/message-command-P5OHIHTN.js.map +6 -0
- package/dist/chunks/{open-AOHMCTVP.js → open-CDO3SOA6.js} +9 -8
- package/dist/chunks/{operator-tools-LHXXEP4G.js → operator-tools-LLMFGJWF.js} +17 -16
- package/dist/chunks/operator-tools-LLMFGJWF.js.map +6 -0
- package/dist/chunks/{output-schema-QHSTBSFC.js → output-schema-QEGZNUXU.js} +3 -3
- package/dist/chunks/{pal-NI3NH6SX.js → pal-6HU3SIRK.js} +18 -17
- package/dist/chunks/pal-6HU3SIRK.js.map +6 -0
- package/dist/chunks/{palette-4MBGX2Y6.js → palette-XDUNIBWY.js} +4 -4
- package/dist/chunks/{peers-B5TCECUP.js → peers-3HG3Q2UM.js} +23 -22
- package/dist/chunks/peers-3HG3Q2UM.js.map +6 -0
- package/dist/chunks/{peers-3QLWWGWY.js → peers-6C6C5L7Y.js} +10 -9
- package/dist/chunks/{plugin-GUNR5UED.js → plugin-XF2AUQGU.js} +54 -52
- package/dist/chunks/plugin-XF2AUQGU.js.map +6 -0
- package/dist/chunks/{providers-A6Q444EB.js → providers-3ZDAUZXM.js} +13 -12
- package/dist/chunks/{providers-G2UTRKAK.js → providers-XM3A6XKJ.js} +19 -18
- package/dist/chunks/providers-XM3A6XKJ.js.map +6 -0
- package/dist/chunks/{pty-M4K6JLLS.js → pty-6TGE7IRC.js} +3 -3
- package/dist/chunks/resume-Z3AX3TDI.js +28 -0
- package/dist/chunks/{resume-command-JUKPZVVL.js → resume-command-2BRKX2ZI.js} +5 -5
- package/dist/chunks/{running-ZPS6OB4K.js → running-SNBGNQ3V.js} +5 -4
- package/dist/chunks/{schedule-PCKX74XC.js → schedule-2W7QMK6F.js} +31 -13
- package/dist/chunks/schedule-2W7QMK6F.js.map +6 -0
- package/dist/chunks/{send-6R5NCGY5.js → send-WKTQWKPD.js} +21 -20
- package/dist/chunks/send-person-GA6BJ3O5.js +35 -0
- package/dist/chunks/{servers-F23WQJDI.js → servers-P2EAWI7V.js} +9 -8
- package/dist/chunks/{service-NI642AJQ.js → service-NKDFC3B2.js} +160 -63
- package/dist/chunks/service-NKDFC3B2.js.map +6 -0
- package/dist/chunks/{session-options-CRFJNFLM.js → session-options-IOWCEDFD.js} +5 -5
- package/dist/chunks/{setting-cli-QEUWWR2W.js → setting-cli-5ZGTJ7FY.js} +16 -15
- package/dist/chunks/{skills-VDOUBAYU.js → skills-DHTBS74G.js} +30 -29
- package/dist/chunks/skills-DHTBS74G.js.map +6 -0
- package/dist/chunks/{source-deliveries-VWFHCFRQ.js → source-deliveries-MMJWFEFZ.js} +22 -21
- package/dist/chunks/{start-check-K6BTRM72.js → start-check-6ZVFZLFJ.js} +2 -2
- package/dist/chunks/{startup-failure-WREVDPC2.js → startup-failure-FVAZ3RNE.js} +2 -2
- package/dist/chunks/{state-LJR3IEAF.js → state-AQGQ3OBN.js} +23 -22
- package/dist/chunks/state-AQGQ3OBN.js.map +6 -0
- package/dist/chunks/{store-C7SEV4YB.js → store-4XNFBA6T.js} +4 -4
- package/dist/chunks/{store-L7CJVHD7.js → store-E6HVKQI2.js} +3 -3
- package/dist/chunks/{store-T7M3ICIS.js → store-EQF6SI3V.js} +10 -9
- package/dist/chunks/{store-U5LOY365.js → store-PBAF2V3P.js} +14 -13
- package/dist/chunks/{tui-5YVBMPEE.js → tui-MB4LQWG5.js} +377 -153
- package/dist/chunks/tui-MB4LQWG5.js.map +6 -0
- package/dist/chunks/{update-RO3UZBFM.js → update-XWSTXMX4.js} +9 -8
- package/dist/chunks/update-XWSTXMX4.js.map +6 -0
- package/dist/chunks/{watch-4CX3QMDL.js → watch-2WWQKUBG.js} +121 -117
- package/dist/chunks/watch-2WWQKUBG.js.map +6 -0
- package/dist/chunks/{windows-home-WVGVXCRL.js → windows-home-7N24MLWN.js} +6 -5
- package/dist/chunks/{workspaces-B46MHVPJ.js → workspaces-HZXB4D7R.js} +21 -20
- package/dist/chunks/workspaces-HZXB4D7R.js.map +6 -0
- package/dist/chunks/{worktree-57C3ECED.js → worktree-TQNJ24GP.js} +31 -30
- package/dist/chunks/worktree-TQNJ24GP.js.map +6 -0
- package/dist/chunks/{wrapper-XHVFM6KS.js → wrapper-7A4PWBS7.js} +2 -2
- package/dist/commands/actions/schedule.d.ts.map +1 -1
- package/dist/commands/desktop-host-memory.d.ts.map +1 -1
- package/dist/commands/desktop-host.d.ts +4 -4
- package/dist/commands/eval.d.ts.map +1 -1
- package/dist/commands/exec-json.d.ts.map +1 -1
- package/dist/commands/exec.d.ts.map +1 -1
- package/dist/commands/mcp.d.ts.map +1 -1
- package/dist/commands/schedule.d.ts.map +1 -1
- package/dist/computer/sentences.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/config/user-config.d.ts.map +1 -1
- package/dist/index.js +55 -51
- package/dist/integrations/auto-update/state.d.ts.map +1 -1
- package/dist/integrations/harness/model-cache.d.ts.map +1 -1
- package/dist/integrations/learning/generator-state.d.ts.map +1 -1
- package/dist/integrations/mcp/project-file.d.ts.map +1 -1
- package/dist/integrations/mcp/servers.d.ts +13 -0
- package/dist/integrations/mcp/servers.d.ts.map +1 -1
- package/dist/integrations/network/control.d.ts.map +1 -1
- package/dist/integrations/network/role-store.d.ts.map +1 -1
- package/dist/integrations/notifications/sound.d.ts.map +1 -1
- package/dist/integrations/plugins/fetch/git.d.ts +12 -0
- package/dist/integrations/plugins/fetch/git.d.ts.map +1 -1
- package/dist/integrations/plugins/fetch/url.d.ts.map +1 -1
- package/dist/integrations/plugins/hook-entries.d.ts.map +1 -1
- package/dist/integrations/plugins/install.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 +7 -2
- 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/providers/codex-account.d.ts.map +1 -1
- package/dist/integrations/providers/credential-store.d.ts.map +1 -1
- package/dist/integrations/providers/harness-credentials.d.ts.map +1 -1
- package/dist/integrations/providers/windows-home.d.ts.map +1 -1
- package/dist/integrations/sessions/prompt-history.d.ts.map +1 -1
- package/dist/integrations/sessions/store.d.ts +6 -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/hard-stop.d.ts +12 -0
- package/dist/integrations/subagents/hard-stop.d.ts.map +1 -0
- package/dist/integrations/subagents/helper-providers.d.ts +25 -0
- package/dist/integrations/subagents/helper-providers.d.ts.map +1 -0
- package/dist/integrations/subagents/replay.d.ts.map +1 -1
- package/dist/integrations/subagents/runtime.d.ts +18 -0
- package/dist/integrations/subagents/runtime.d.ts.map +1 -1
- package/dist/integrations/subagents/worktree-driver.d.ts +52 -0
- package/dist/integrations/subagents/worktree-driver.d.ts.map +1 -1
- package/dist/integrations/teams/enabled.d.ts +12 -3
- package/dist/integrations/teams/enabled.d.ts.map +1 -1
- package/dist/integrations/teams/host.d.ts +10 -2
- package/dist/integrations/teams/host.d.ts.map +1 -1
- package/dist/integrations/teams/runner.d.ts +6 -1
- package/dist/integrations/teams/runner.d.ts.map +1 -1
- package/dist/integrations/teams/unattended.d.ts +19 -0
- package/dist/integrations/teams/unattended.d.ts.map +1 -0
- package/dist/integrations/trust/folder-grants.d.ts.map +1 -1
- package/dist/integrations/workflows/guidance.d.ts.map +1 -1
- package/dist/integrations/worktrees/managed.d.ts +49 -2
- package/dist/integrations/worktrees/managed.d.ts.map +1 -1
- package/dist/memory/curation-runtime.d.ts +15 -2
- package/dist/memory/curation-runtime.d.ts.map +1 -1
- package/dist/memory/curator.d.ts +10 -4
- package/dist/memory/curator.d.ts.map +1 -1
- package/dist/memory/inbox.d.ts +17 -0
- package/dist/memory/inbox.d.ts.map +1 -1
- package/dist/memory/presentation.d.ts +5 -0
- package/dist/memory/presentation.d.ts.map +1 -1
- package/dist/pals/desktop-communication.d.ts +4 -4
- package/dist/pals/desktop-communication.d.ts.map +1 -1
- package/dist/pals/guest-mcp-transport.d.ts +3 -25
- package/dist/pals/guest-mcp-transport.d.ts.map +1 -1
- package/dist/permissions/local-settings.d.ts.map +1 -1
- package/dist/schedule/build.d.ts +11 -0
- package/dist/schedule/build.d.ts.map +1 -1
- package/dist/schedule/commands/add.d.ts +8 -1
- package/dist/schedule/commands/add.d.ts.map +1 -1
- package/dist/schedule/commands/lifecycle.d.ts.map +1 -1
- package/dist/schedule/commands/list.d.ts.map +1 -1
- package/dist/schedule/commands/service.d.ts.map +1 -1
- package/dist/schedule/daemon/daemon.d.ts +8 -1
- package/dist/schedule/daemon/daemon.d.ts.map +1 -1
- package/dist/schedule/daemon/pinned.d.ts +48 -0
- package/dist/schedule/daemon/pinned.d.ts.map +1 -0
- package/dist/schedule/fire/fire.d.ts +11 -1
- package/dist/schedule/fire/fire.d.ts.map +1 -1
- package/dist/schedule/service/index.d.ts.map +1 -1
- package/dist/schedule/store/jobs.d.ts.map +1 -1
- package/dist/schedule/store/state.d.ts +6 -0
- package/dist/schedule/store/state.d.ts.map +1 -1
- package/dist/schedule/types.d.ts +16 -0
- package/dist/schedule/types.d.ts.map +1 -1
- package/dist/sdk-peer.js +35 -1
- package/dist/skills/skill-hooks.d.ts.map +1 -1
- package/dist/startup-record.d.ts.map +1 -1
- package/dist/temp-name.d.ts +11 -0
- package/dist/temp-name.d.ts.map +1 -0
- package/dist/tui/App.d.ts +0 -12
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/ArmedWord.d.ts +30 -0
- package/dist/tui/ArmedWord.d.ts.map +1 -0
- package/dist/tui/Composer.d.ts.map +1 -1
- package/dist/tui/QuestionDialog.d.ts +8 -6
- package/dist/tui/QuestionDialog.d.ts.map +1 -1
- package/dist/tui/StatusBar.d.ts +7 -1
- package/dist/tui/StatusBar.d.ts.map +1 -1
- package/dist/tui/agent-transcript-rows.d.ts +7 -2
- package/dist/tui/agent-transcript-rows.d.ts.map +1 -1
- package/dist/tui/agent.d.ts +53 -2
- package/dist/tui/agent.d.ts.map +1 -1
- package/dist/tui/answered-questions.d.ts +34 -0
- package/dist/tui/answered-questions.d.ts.map +1 -0
- package/dist/tui/attachment-rows.d.ts.map +1 -1
- package/dist/tui/away-recap.d.ts +10 -4
- package/dist/tui/away-recap.d.ts.map +1 -1
- package/dist/tui/background-eviction.d.ts +46 -0
- package/dist/tui/background-eviction.d.ts.map +1 -0
- package/dist/tui/cross-session-history.d.ts +3 -1
- package/dist/tui/cross-session-history.d.ts.map +1 -1
- package/dist/tui/early-input.d.ts +37 -22
- package/dist/tui/early-input.d.ts.map +1 -1
- package/dist/tui/hypermode.d.ts +1 -1
- package/dist/tui/hypermode.d.ts.map +1 -1
- package/dist/tui/index.d.ts.map +1 -1
- package/dist/tui/paint/cursor-report.d.ts +42 -0
- package/dist/tui/paint/cursor-report.d.ts.map +1 -0
- package/dist/tui/paint/live-paint.d.ts +25 -9
- package/dist/tui/paint/live-paint.d.ts.map +1 -1
- package/dist/tui/question-dialog.d.ts +2 -7
- package/dist/tui/question-dialog.d.ts.map +1 -1
- package/dist/tui/restored-rows.d.ts.map +1 -1
- package/dist/tui/schedule/host-commands.d.ts.map +1 -1
- package/dist/tui/schedule/tool-host.d.ts.map +1 -1
- package/dist/tui/skills/suggestion-ledger.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 +2 -0
- package/dist/tui/terminal-reply-filter.d.ts.map +1 -1
- package/dist/tui/theme-palettes.d.ts +13 -3
- package/dist/tui/theme-palettes.d.ts.map +1 -1
- package/dist/tui/tool-end-rows.d.ts +3 -0
- package/dist/tui/tool-end-rows.d.ts.map +1 -1
- package/dist/tui/triggers/detect.d.ts +11 -4
- package/dist/tui/triggers/detect.d.ts.map +1 -1
- package/dist/tui/triggers/registry.d.ts +8 -0
- package/dist/tui/triggers/registry.d.ts.map +1 -1
- package/dist/tui/typed-answer.d.ts +44 -0
- package/dist/tui/typed-answer.d.ts.map +1 -0
- package/dist/tui/zoom/gesture.d.ts +9 -1
- package/dist/tui/zoom/gesture.d.ts.map +1 -1
- package/package.json +7 -7
- package/skills/workflow-authoring/SKILL.md +16 -1
- package/dist/chunks/acp-XDHKC3S3.js.map +0 -6
- package/dist/chunks/activity-command-IPUTIWSY.js.map +0 -6
- package/dist/chunks/add-V25Q5HXG.js.map +0 -6
- package/dist/chunks/agent-session-KUU5HEMJ.js +0 -103
- package/dist/chunks/apply-at-exit-FR464TY4.js.map +0 -6
- package/dist/chunks/archive-XXGELXD4.js.map +0 -6
- package/dist/chunks/auth-MPYY5JGI.js.map +0 -6
- package/dist/chunks/bin-main-XOHYP3G4.js.map +0 -6
- package/dist/chunks/chat-HPKRZNH3.js.map +0 -6
- package/dist/chunks/chunk-2XFMPGZR.js.map +0 -6
- package/dist/chunks/chunk-3NF6AVW4.js.map +0 -6
- package/dist/chunks/chunk-4UX36WUG.js.map +0 -6
- package/dist/chunks/chunk-5ZPOPPZS.js.map +0 -6
- package/dist/chunks/chunk-6LFX4W7C.js.map +0 -6
- package/dist/chunks/chunk-6NNRR7U5.js.map +0 -6
- package/dist/chunks/chunk-7AZTWFS7.js.map +0 -6
- package/dist/chunks/chunk-7L5SU6SJ.js.map +0 -6
- package/dist/chunks/chunk-ALONJM6J.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-DOENBH7Q.js.map +0 -6
- package/dist/chunks/chunk-FLSWKVLP.js.map +0 -6
- package/dist/chunks/chunk-FPVI455T.js.map +0 -6
- package/dist/chunks/chunk-GHYEVNIG.js.map +0 -6
- package/dist/chunks/chunk-GL74BFJI.js.map +0 -6
- package/dist/chunks/chunk-HIQPFIIA.js.map +0 -6
- package/dist/chunks/chunk-HOPL46NH.js.map +0 -6
- package/dist/chunks/chunk-HWYK5R5V.js.map +0 -6
- package/dist/chunks/chunk-I32DOGZZ.js.map +0 -6
- package/dist/chunks/chunk-ID7UHZRL.js.map +0 -6
- package/dist/chunks/chunk-J72ATHQJ.js.map +0 -6
- package/dist/chunks/chunk-JAN5CCP6.js.map +0 -6
- package/dist/chunks/chunk-JCXGOCDK.js.map +0 -6
- package/dist/chunks/chunk-KQV475J4.js.map +0 -6
- package/dist/chunks/chunk-MB5EOUEL.js.map +0 -6
- package/dist/chunks/chunk-ODQMMH6C.js.map +0 -6
- package/dist/chunks/chunk-OT2R6PIV.js.map +0 -6
- package/dist/chunks/chunk-PJ6IEIKJ.js.map +0 -6
- package/dist/chunks/chunk-SIFGFAJK.js.map +0 -6
- package/dist/chunks/chunk-T6C246EO.js.map +0 -6
- package/dist/chunks/chunk-WZPEJ7TC.js.map +0 -6
- package/dist/chunks/chunk-Y7GNAKOV.js.map +0 -6
- package/dist/chunks/chunk-Y7HOTNZR.js.map +0 -6
- package/dist/chunks/chunk-ZPWHSJZL.js.map +0 -6
- package/dist/chunks/cli-runtime-O6RCYI3Y.js.map +0 -6
- package/dist/chunks/computer-AWBPOB3P.js.map +0 -6
- package/dist/chunks/config-EBPES6V6.js.map +0 -6
- package/dist/chunks/debug-KE3MFMW5.js.map +0 -6
- package/dist/chunks/desktop-host-schedule-tool-RG4EV45N.js.map +0 -6
- package/dist/chunks/doctor-Y6STEUN5.js +0 -99
- package/dist/chunks/drain-H6TQDCQI.js.map +0 -6
- package/dist/chunks/eval-6O2RPJ35.js.map +0 -6
- package/dist/chunks/exec-W5QZD5IX.js.map +0 -6
- package/dist/chunks/hooks-NDWCMIVN.js.map +0 -6
- package/dist/chunks/host-queries-DOXYXFOD.js +0 -40
- package/dist/chunks/launch-NVHWNZSA.js.map +0 -6
- package/dist/chunks/learn-FLJL53VN.js.map +0 -6
- package/dist/chunks/learn-builtin-XJLP6EZ3.js.map +0 -6
- package/dist/chunks/live-UXV3V4JM.js +0 -97
- package/dist/chunks/mcp-D3BUCLEX.js.map +0 -6
- package/dist/chunks/mcp-serve-QRXGVK26.js.map +0 -6
- package/dist/chunks/message-command-A4AEJCMT.js.map +0 -6
- package/dist/chunks/operator-tools-LHXXEP4G.js.map +0 -6
- package/dist/chunks/pal-NI3NH6SX.js.map +0 -6
- package/dist/chunks/peers-B5TCECUP.js.map +0 -6
- package/dist/chunks/plugin-GUNR5UED.js.map +0 -6
- package/dist/chunks/providers-G2UTRKAK.js.map +0 -6
- package/dist/chunks/resume-RXOBUAEA.js +0 -27
- package/dist/chunks/schedule-PCKX74XC.js.map +0 -6
- package/dist/chunks/send-person-I7B6Y2V3.js +0 -34
- package/dist/chunks/service-NI642AJQ.js.map +0 -6
- package/dist/chunks/skills-VDOUBAYU.js.map +0 -6
- package/dist/chunks/state-LJR3IEAF.js.map +0 -6
- package/dist/chunks/tui-5YVBMPEE.js.map +0 -6
- package/dist/chunks/update-RO3UZBFM.js.map +0 -6
- package/dist/chunks/watch-4CX3QMDL.js.map +0 -6
- package/dist/chunks/workspaces-B46MHVPJ.js.map +0 -6
- package/dist/chunks/worktree-57C3ECED.js.map +0 -6
- /package/dist/chunks/{agent-I7EPRW2H.js.map → agent-RVTT22XL.js.map} +0 -0
- /package/dist/chunks/{agent-session-KUU5HEMJ.js.map → agent-session-SNTV4WJB.js.map} +0 -0
- /package/dist/chunks/{binding-5GGFSURJ.js.map → binding-AVL54CBF.js.map} +0 -0
- /package/dist/chunks/{browser-KGFFFY3K.js.map → browser-AYBO33ZR.js.map} +0 -0
- /package/dist/chunks/{chunk-PSWUXFIH.js.map → chunk-3GGLAPPV.js.map} +0 -0
- /package/dist/chunks/{chunk-D6D5D6UJ.js.map → chunk-3GVS745R.js.map} +0 -0
- /package/dist/chunks/{chunk-GQGUPWXT.js.map → chunk-3HHWM67Q.js.map} +0 -0
- /package/dist/chunks/{chunk-W2OTZAXB.js.map → chunk-3HUEBQAN.js.map} +0 -0
- /package/dist/chunks/{chunk-WUGXLX6O.js.map → chunk-3TURVGJT.js.map} +0 -0
- /package/dist/chunks/{chunk-YLAWGDZY.js.map → chunk-43NXEWX4.js.map} +0 -0
- /package/dist/chunks/{chunk-ECWJCDCK.js.map → chunk-47SP3GJ4.js.map} +0 -0
- /package/dist/chunks/{chunk-IWVZTMTO.js.map → chunk-4EDVII4B.js.map} +0 -0
- /package/dist/chunks/{chunk-HNR6STBM.js.map → chunk-4LMAEQ42.js.map} +0 -0
- /package/dist/chunks/{chunk-BLAZEM4K.js.map → chunk-5BDR52OS.js.map} +0 -0
- /package/dist/chunks/{chunk-RNWMX73V.js.map → chunk-5N55CGZG.js.map} +0 -0
- /package/dist/chunks/{chunk-CFVWDSLP.js.map → chunk-657OVGTQ.js.map} +0 -0
- /package/dist/chunks/{chunk-HHMZIAE7.js.map → chunk-66ZJ7T5L.js.map} +0 -0
- /package/dist/chunks/{chunk-3H4L2VND.js.map → chunk-6PHA4NAI.js.map} +0 -0
- /package/dist/chunks/{chunk-WUS3BMCC.js.map → chunk-6TTWYQB6.js.map} +0 -0
- /package/dist/chunks/{chunk-WAHSZG2X.js.map → chunk-75YGSZN7.js.map} +0 -0
- /package/dist/chunks/{chunk-VZTSMFNP.js.map → chunk-7ADQK225.js.map} +0 -0
- /package/dist/chunks/{chunk-MHAHZX7U.js.map → chunk-7CWYOHH6.js.map} +0 -0
- /package/dist/chunks/{chunk-TECFNZPY.js.map → chunk-7NXIEDP2.js.map} +0 -0
- /package/dist/chunks/{chunk-HNLFFNCE.js.map → chunk-7SMNXLWZ.js.map} +0 -0
- /package/dist/chunks/{chunk-5CN3PILD.js.map → chunk-7WXVKMYK.js.map} +0 -0
- /package/dist/chunks/{chunk-OFATBCW3.js.map → chunk-A54JD4WN.js.map} +0 -0
- /package/dist/chunks/{chunk-RFW54PAJ.js.map → chunk-AHGZMLSO.js.map} +0 -0
- /package/dist/chunks/{chunk-JIZVBGOC.js.map → chunk-BA2RCXPX.js.map} +0 -0
- /package/dist/chunks/{chunk-6SQX7MYY.js.map → chunk-BEXWYA6H.js.map} +0 -0
- /package/dist/chunks/{chunk-UYEYPKTN.js.map → chunk-BM2BFZF4.js.map} +0 -0
- /package/dist/chunks/{chunk-5RAKWCRN.js.map → chunk-CHH5AZNT.js.map} +0 -0
- /package/dist/chunks/{chunk-NP7ZN2MJ.js.map → chunk-CPTB7QDI.js.map} +0 -0
- /package/dist/chunks/{chunk-GI2HAEIZ.js.map → chunk-CQTOBLCN.js.map} +0 -0
- /package/dist/chunks/{chunk-XFXDGALU.js.map → chunk-DO3GU4FK.js.map} +0 -0
- /package/dist/chunks/{chunk-6VAF56WU.js.map → chunk-DQ4MBWB3.js.map} +0 -0
- /package/dist/chunks/{chunk-NZPMAK4R.js.map → chunk-EG4HMJEH.js.map} +0 -0
- /package/dist/chunks/{chunk-LJSMDUFY.js.map → chunk-EKSS7K4J.js.map} +0 -0
- /package/dist/chunks/{chunk-2Y3AG5SV.js.map → chunk-EOUCWHCH.js.map} +0 -0
- /package/dist/chunks/{chunk-VRZQ35XP.js.map → chunk-ERVENGWO.js.map} +0 -0
- /package/dist/chunks/{chunk-ZM5E5GJM.js.map → chunk-ESWXVRT2.js.map} +0 -0
- /package/dist/chunks/{chunk-RJNQRL5C.js.map → chunk-F2RV4OA4.js.map} +0 -0
- /package/dist/chunks/{chunk-DD4YRQRY.js.map → chunk-F73RCHO5.js.map} +0 -0
- /package/dist/chunks/{chunk-K3BICM3T.js.map → chunk-F7JILDDN.js.map} +0 -0
- /package/dist/chunks/{chunk-L55M6CYI.js.map → chunk-FTGVYRYH.js.map} +0 -0
- /package/dist/chunks/{chunk-RY4DDC4G.js.map → chunk-GEIXXTUE.js.map} +0 -0
- /package/dist/chunks/{chunk-YC4FEFC6.js.map → chunk-GH7JRINW.js.map} +0 -0
- /package/dist/chunks/{chunk-DVIFMGRP.js.map → chunk-GRA35IM2.js.map} +0 -0
- /package/dist/chunks/{chunk-MHJU6VYG.js.map → chunk-HBA5EVRI.js.map} +0 -0
- /package/dist/chunks/{chunk-FEUHUXWS.js.map → chunk-HFV342VZ.js.map} +0 -0
- /package/dist/chunks/{chunk-YCKZCLQS.js.map → chunk-HKZWHWOH.js.map} +0 -0
- /package/dist/chunks/{chunk-PD3HXBQJ.js.map → chunk-HOXYIKMC.js.map} +0 -0
- /package/dist/chunks/{chunk-5P3DXU4Y.js.map → chunk-IHER3BWG.js.map} +0 -0
- /package/dist/chunks/{chunk-NNFYDBI7.js.map → chunk-IIIAY4M2.js.map} +0 -0
- /package/dist/chunks/{chunk-Q3XC7YNF.js.map → chunk-IOAXQS7P.js.map} +0 -0
- /package/dist/chunks/{chunk-QR5CH34W.js.map → chunk-IPTMKDPN.js.map} +0 -0
- /package/dist/chunks/{chunk-43GB5MUE.js.map → chunk-J3F7WCZ3.js.map} +0 -0
- /package/dist/chunks/{chunk-OAJIF4BZ.js.map → chunk-JJ2SALR4.js.map} +0 -0
- /package/dist/chunks/{chunk-P65AXQPL.js.map → chunk-JNPVJV3O.js.map} +0 -0
- /package/dist/chunks/{chunk-PPEFN2RU.js.map → chunk-JSUYTWJF.js.map} +0 -0
- /package/dist/chunks/{chunk-6VJLJOXM.js.map → chunk-JVNRECP6.js.map} +0 -0
- /package/dist/chunks/{chunk-Q3JPM2YR.js.map → chunk-KJ2EUIHQ.js.map} +0 -0
- /package/dist/chunks/{chunk-MN7H3I6K.js.map → chunk-KOULA2IJ.js.map} +0 -0
- /package/dist/chunks/{chunk-ZF3PIJU3.js.map → chunk-L36PRWOF.js.map} +0 -0
- /package/dist/chunks/{chunk-DV6W7RWZ.js.map → chunk-L5CQ7VIP.js.map} +0 -0
- /package/dist/chunks/{chunk-JF3HXJFC.js.map → chunk-LLEAN4PC.js.map} +0 -0
- /package/dist/chunks/{chunk-S7LDCBOF.js.map → chunk-LVXE26A7.js.map} +0 -0
- /package/dist/chunks/{chunk-2IK7T634.js.map → chunk-LWWG6H7T.js.map} +0 -0
- /package/dist/chunks/{chunk-FRID6OTI.js.map → chunk-NBS2755S.js.map} +0 -0
- /package/dist/chunks/{chunk-HJ7F7C73.js.map → chunk-NJJ2N524.js.map} +0 -0
- /package/dist/chunks/{chunk-L3VPXYCF.js.map → chunk-NK3MIAYC.js.map} +0 -0
- /package/dist/chunks/{chunk-YFH6PPLO.js.map → chunk-O7VPHSES.js.map} +0 -0
- /package/dist/chunks/{chunk-2PAS45UY.js.map → chunk-OBK74OZW.js.map} +0 -0
- /package/dist/chunks/{chunk-LCF3ZVDZ.js.map → chunk-OCJ2WBZ4.js.map} +0 -0
- /package/dist/chunks/{chunk-AVCIXXYB.js.map → chunk-OCYOGXXP.js.map} +0 -0
- /package/dist/chunks/{chunk-GI7I4Z3C.js.map → chunk-OUQUYAI2.js.map} +0 -0
- /package/dist/chunks/{chunk-NRIXMFMF.js.map → chunk-OUTD6IWW.js.map} +0 -0
- /package/dist/chunks/{chunk-RFCS6LFH.js.map → chunk-P4BEZ7QW.js.map} +0 -0
- /package/dist/chunks/{chunk-W2FQ5ZYB.js.map → chunk-PBHPPUUI.js.map} +0 -0
- /package/dist/chunks/{chunk-BKVZRD7Z.js.map → chunk-PQI2WTH5.js.map} +0 -0
- /package/dist/chunks/{chunk-F4VM5RP6.js.map → chunk-PYXKPC7C.js.map} +0 -0
- /package/dist/chunks/{chunk-DCGBINKP.js.map → chunk-QZTC5Q7S.js.map} +0 -0
- /package/dist/chunks/{chunk-PM5FTMHH.js.map → chunk-RECTI7QY.js.map} +0 -0
- /package/dist/chunks/{chunk-I3O2GYYO.js.map → chunk-RVC77FRV.js.map} +0 -0
- /package/dist/chunks/{chunk-WMFEVIDC.js.map → chunk-SCDI2SR6.js.map} +0 -0
- /package/dist/chunks/{chunk-F3DXPL7W.js.map → chunk-TPFYLED7.js.map} +0 -0
- /package/dist/chunks/{chunk-Z5Y4B2YZ.js.map → chunk-UAF72QNW.js.map} +0 -0
- /package/dist/chunks/{chunk-FHFVXJYD.js.map → chunk-UEHFBJEE.js.map} +0 -0
- /package/dist/chunks/{chunk-3R2WLJTS.js.map → chunk-UKWCQVKF.js.map} +0 -0
- /package/dist/chunks/{chunk-67YA6NCA.js.map → chunk-UZLUUHOZ.js.map} +0 -0
- /package/dist/chunks/{chunk-MAYUNNCO.js.map → chunk-V4FAKLV3.js.map} +0 -0
- /package/dist/chunks/{chunk-KXT5I2IA.js.map → chunk-VAIQQX7N.js.map} +0 -0
- /package/dist/chunks/{chunk-54PRSLXD.js.map → chunk-VAZ2M63R.js.map} +0 -0
- /package/dist/chunks/{chunk-Z3334TMV.js.map → chunk-VBWNQCWH.js.map} +0 -0
- /package/dist/chunks/{chunk-E7SV3COW.js.map → chunk-VH7IAD76.js.map} +0 -0
- /package/dist/chunks/{chunk-VR26KRXW.js.map → chunk-VIV4RAVR.js.map} +0 -0
- /package/dist/chunks/{chunk-R3PJX3K2.js.map → chunk-VSYNI2G3.js.map} +0 -0
- /package/dist/chunks/{chunk-WDMO2XAW.js.map → chunk-WNONDNGT.js.map} +0 -0
- /package/dist/chunks/{chunk-2DMP56LU.js.map → chunk-WSH45EZX.js.map} +0 -0
- /package/dist/chunks/{chunk-SXLTOS4V.js.map → chunk-XMNW2HXH.js.map} +0 -0
- /package/dist/chunks/{chunk-PPDREHTL.js.map → chunk-XR6IVMWO.js.map} +0 -0
- /package/dist/chunks/{chunk-GNTKC72Z.js.map → chunk-XUWIPS3I.js.map} +0 -0
- /package/dist/chunks/{chunk-WD362LUZ.js.map → chunk-YVTWQWWO.js.map} +0 -0
- /package/dist/chunks/{chunk-C3JE4IVH.js.map → chunk-ZG4VG2VM.js.map} +0 -0
- /package/dist/chunks/{chunk-5CZ4LVMK.js.map → chunk-ZNEBRE4R.js.map} +0 -0
- /package/dist/chunks/{commands-E5ZM2I2Z.js.map → commands-6AI3A4MU.js.map} +0 -0
- /package/dist/chunks/{cost-QRWAQ3XB.js.map → cost-XQXENUFJ.js.map} +0 -0
- /package/dist/chunks/{crash-report-ANVLQYLO.js.map → crash-report-UMVAQVML.js.map} +0 -0
- /package/dist/chunks/{devtools-V6SF7RES.js.map → devtools-4ANMDCAD.js.map} +0 -0
- /package/dist/chunks/{dist-ACZRXAK4.js.map → dist-47PEKUSC.js.map} +0 -0
- /package/dist/chunks/{dist-EKAXB5R5.js.map → dist-52RJSSLN.js.map} +0 -0
- /package/dist/chunks/{dist-FVTPQX57.js.map → dist-6R46NFFA.js.map} +0 -0
- /package/dist/chunks/{dist-CM4LL25P.js.map → dist-CSDSHVMB.js.map} +0 -0
- /package/dist/chunks/{dist-N32BP5B4.js.map → dist-KP4M7FMR.js.map} +0 -0
- /package/dist/chunks/{dist-TEJDPUVZ.js.map → dist-NWF4I73Q.js.map} +0 -0
- /package/dist/chunks/{dist-ROGRBORV.js.map → dist-S5TPXI7T.js.map} +0 -0
- /package/dist/chunks/{dist-Y3CNYMQK.js.map → dist-X46OQA2D.js.map} +0 -0
- /package/dist/chunks/{doctor-Y6STEUN5.js.map → doctor-BNC2BDUE.js.map} +0 -0
- /package/dist/chunks/{entry-4TMEDNAU.js.map → entry-MV2FROEW.js.map} +0 -0
- /package/dist/chunks/{extension-7PBXYICA.js.map → extension-7A2DOXFH.js.map} +0 -0
- /package/dist/chunks/{feed-FQKHFH3J.js.map → feed-TCK7FRZT.js.map} +0 -0
- /package/dist/chunks/{home-5EQVZ7PU.js.map → home-5DEGDKXE.js.map} +0 -0
- /package/dist/chunks/{homes-IIDNJKRK.js.map → homes-JINW3ER5.js.map} +0 -0
- /package/dist/chunks/{hooks-report-CAWNXYJS.js.map → hooks-report-QGXYZRZ7.js.map} +0 -0
- /package/dist/chunks/{host-HGZEZXLB.js.map → host-GXJ46HB3.js.map} +0 -0
- /package/dist/chunks/{host-queries-DOXYXFOD.js.map → host-queries-V4JMMMMA.js.map} +0 -0
- /package/dist/chunks/{installed-list-OJNSGNIT.js.map → installed-list-D55C5TLT.js.map} +0 -0
- /package/dist/chunks/{lifecycle-I5PHIQPV.js.map → lifecycle-JPDGDRYE.js.map} +0 -0
- /package/dist/chunks/{list-BAQT6SDH.js.map → list-GPE5NJKI.js.map} +0 -0
- /package/dist/chunks/{live-UXV3V4JM.js.map → live-SPWADZ36.js.map} +0 -0
- /package/dist/chunks/{load-WSB7ECXC.js.map → load-2YNIEXSX.js.map} +0 -0
- /package/dist/chunks/{logs-WN65RRIX.js.map → logs-CEPX5RE5.js.map} +0 -0
- /package/dist/chunks/{open-AOHMCTVP.js.map → open-CDO3SOA6.js.map} +0 -0
- /package/dist/chunks/{output-schema-QHSTBSFC.js.map → output-schema-QEGZNUXU.js.map} +0 -0
- /package/dist/chunks/{palette-4MBGX2Y6.js.map → palette-XDUNIBWY.js.map} +0 -0
- /package/dist/chunks/{peers-3QLWWGWY.js.map → peers-6C6C5L7Y.js.map} +0 -0
- /package/dist/chunks/{providers-A6Q444EB.js.map → providers-3ZDAUZXM.js.map} +0 -0
- /package/dist/chunks/{pty-M4K6JLLS.js.map → pty-6TGE7IRC.js.map} +0 -0
- /package/dist/chunks/{resume-RXOBUAEA.js.map → resume-Z3AX3TDI.js.map} +0 -0
- /package/dist/chunks/{resume-command-JUKPZVVL.js.map → resume-command-2BRKX2ZI.js.map} +0 -0
- /package/dist/chunks/{running-ZPS6OB4K.js.map → running-SNBGNQ3V.js.map} +0 -0
- /package/dist/chunks/{send-6R5NCGY5.js.map → send-WKTQWKPD.js.map} +0 -0
- /package/dist/chunks/{send-person-I7B6Y2V3.js.map → send-person-GA6BJ3O5.js.map} +0 -0
- /package/dist/chunks/{servers-F23WQJDI.js.map → servers-P2EAWI7V.js.map} +0 -0
- /package/dist/chunks/{session-options-CRFJNFLM.js.map → session-options-IOWCEDFD.js.map} +0 -0
- /package/dist/chunks/{setting-cli-QEUWWR2W.js.map → setting-cli-5ZGTJ7FY.js.map} +0 -0
- /package/dist/chunks/{source-deliveries-VWFHCFRQ.js.map → source-deliveries-MMJWFEFZ.js.map} +0 -0
- /package/dist/chunks/{start-check-K6BTRM72.js.map → start-check-6ZVFZLFJ.js.map} +0 -0
- /package/dist/chunks/{startup-failure-WREVDPC2.js.map → startup-failure-FVAZ3RNE.js.map} +0 -0
- /package/dist/chunks/{store-C7SEV4YB.js.map → store-4XNFBA6T.js.map} +0 -0
- /package/dist/chunks/{store-L7CJVHD7.js.map → store-E6HVKQI2.js.map} +0 -0
- /package/dist/chunks/{store-T7M3ICIS.js.map → store-EQF6SI3V.js.map} +0 -0
- /package/dist/chunks/{store-U5LOY365.js.map → store-PBAF2V3P.js.map} +0 -0
- /package/dist/chunks/{windows-home-WVGVXCRL.js.map → windows-home-7N24MLWN.js.map} +0 -0
- /package/dist/chunks/{wrapper-XHVFM6KS.js.map → wrapper-7A4PWBS7.js.map} +0 -0
|
@@ -7,45 +7,37 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
listMarkdownNames,
|
|
9
9
|
resolvePluginFileDirs
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZWTW3MCF.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-MHJU6VYG.js";
|
|
28
|
+
surfaceDigest
|
|
29
|
+
} from "./chunk-HBA5EVRI.js";
|
|
37
30
|
import {
|
|
38
31
|
readPluginHookEntriesOf
|
|
39
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-OBBMS3N6.js";
|
|
40
33
|
import {
|
|
41
34
|
readSkillHooks
|
|
42
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-L36PRWOF.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-3GVS745R.js";
|
|
62
53
|
import {
|
|
63
54
|
describeSource,
|
|
64
55
|
gitUrlOf,
|
|
@@ -67,25 +58,25 @@ import {
|
|
|
67
58
|
isCommitId,
|
|
68
59
|
repoPathProblem,
|
|
69
60
|
sourceRefusal
|
|
70
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-XU5FZM42.js";
|
|
71
62
|
import {
|
|
72
63
|
parseSkillMarkdown
|
|
73
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-7CWYOHH6.js";
|
|
74
65
|
import {
|
|
75
|
-
StateFileBusyError,
|
|
76
|
-
StateFileUnreadableError,
|
|
77
66
|
unreadableStateFile,
|
|
78
67
|
withStateFileLock
|
|
79
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-IOAXQS7P.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
|
|
88
76
|
} from "./chunk-24V2WEKR.js";
|
|
77
|
+
import {
|
|
78
|
+
temporaryNameFor
|
|
79
|
+
} from "./chunk-H4TBL7OK.js";
|
|
89
80
|
import {
|
|
90
81
|
terminalDisplayText
|
|
91
82
|
} from "./chunk-I4GTRFPK.js";
|
|
@@ -93,6 +84,7 @@ import {
|
|
|
93
84
|
COMMON_MANIFEST_DIR,
|
|
94
85
|
COMMON_MARKETPLACE_FILE,
|
|
95
86
|
PLUGIN_MANIFEST_FILENAME,
|
|
87
|
+
checkedAddresses,
|
|
96
88
|
discoverAllPluginDirs,
|
|
97
89
|
findCommonLayoutRoot,
|
|
98
90
|
hookModuleConsentEntry,
|
|
@@ -101,20 +93,16 @@ import {
|
|
|
101
93
|
loadPluginManifestWithFindings,
|
|
102
94
|
locateHookModule,
|
|
103
95
|
parsePluginManifestText,
|
|
104
|
-
|
|
96
|
+
pinnedFetch,
|
|
105
97
|
proxyConfigured,
|
|
106
98
|
readCommonLayout,
|
|
107
99
|
resolveWithinReal,
|
|
108
100
|
scanHookModule
|
|
109
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-VU6GSZ7Z.js";
|
|
110
102
|
import {
|
|
111
103
|
__name
|
|
112
104
|
} from "./chunk-76FLAFCG.js";
|
|
113
105
|
|
|
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
106
|
// src/integrations/plugins/manifest-details.ts
|
|
119
107
|
import { readFile, stat } from "node:fs/promises";
|
|
120
108
|
import { join } from "node:path";
|
|
@@ -161,19 +149,6 @@ async function readPluginManifestDetails(rootDir, given) {
|
|
|
161
149
|
}
|
|
162
150
|
__name(readPluginManifestDetails, "readPluginManifestDetails");
|
|
163
151
|
|
|
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
152
|
// src/integrations/plugins/fetch/git.ts
|
|
178
153
|
import { execFile, spawn } from "node:child_process";
|
|
179
154
|
import {
|
|
@@ -187,6 +162,7 @@ import {
|
|
|
187
162
|
readdirSync,
|
|
188
163
|
rmSync
|
|
189
164
|
} from "node:fs";
|
|
165
|
+
import { isIP } from "node:net";
|
|
190
166
|
import { dirname, join as join2 } from "node:path";
|
|
191
167
|
var FetchError = class extends Error {
|
|
192
168
|
constructor(code, message, kind) {
|
|
@@ -222,12 +198,12 @@ function gitTimeoutMs(env = process.env) {
|
|
|
222
198
|
__name(gitTimeoutMs, "gitTimeoutMs");
|
|
223
199
|
function killProcessTree(pid, platform) {
|
|
224
200
|
if (platform === "win32") {
|
|
225
|
-
return new Promise((
|
|
201
|
+
return new Promise((resolve2) => {
|
|
226
202
|
execFile(
|
|
227
203
|
join2(process.env.SystemRoot ?? "C:\\Windows", "System32", "taskkill.exe"),
|
|
228
204
|
["/PID", String(pid), "/T", "/F"],
|
|
229
205
|
{ windowsHide: true, timeout: 5e3 },
|
|
230
|
-
() =>
|
|
206
|
+
() => resolve2()
|
|
231
207
|
);
|
|
232
208
|
});
|
|
233
209
|
}
|
|
@@ -242,7 +218,7 @@ function killProcessTree(pid, platform) {
|
|
|
242
218
|
}
|
|
243
219
|
__name(killProcessTree, "killProcessTree");
|
|
244
220
|
function measureFolder(dir, maxFiles) {
|
|
245
|
-
let
|
|
221
|
+
let bytes = 0;
|
|
246
222
|
let files = 0;
|
|
247
223
|
const walk = /* @__PURE__ */ __name((path) => {
|
|
248
224
|
let entries;
|
|
@@ -258,14 +234,14 @@ function measureFolder(dir, maxFiles) {
|
|
|
258
234
|
else {
|
|
259
235
|
files += 1;
|
|
260
236
|
try {
|
|
261
|
-
|
|
237
|
+
bytes += lstatSync(child).size;
|
|
262
238
|
} catch {
|
|
263
239
|
}
|
|
264
240
|
}
|
|
265
241
|
}
|
|
266
242
|
}, "walk");
|
|
267
243
|
walk(dir);
|
|
268
|
-
return { bytes
|
|
244
|
+
return { bytes, files };
|
|
269
245
|
}
|
|
270
246
|
__name(measureFolder, "measureFolder");
|
|
271
247
|
var live = /* @__PURE__ */ new Map();
|
|
@@ -319,7 +295,7 @@ function createGitRunner(deps = {}) {
|
|
|
319
295
|
const later = deps.setTimeout ?? ((fn, ms) => setTimeout(fn, ms));
|
|
320
296
|
const cancel = deps.clearTimeout ?? ((handle) => clearTimeout(handle));
|
|
321
297
|
const sizeOf = deps.sizeOf ?? measureFolder;
|
|
322
|
-
return (args, options) => new Promise((
|
|
298
|
+
return (args, options) => new Promise((resolve2) => {
|
|
323
299
|
let stdout = "";
|
|
324
300
|
let stderr = "";
|
|
325
301
|
let done = false;
|
|
@@ -340,7 +316,7 @@ function createGitRunner(deps = {}) {
|
|
|
340
316
|
live.delete(pid);
|
|
341
317
|
if (live.size === 0) unhook();
|
|
342
318
|
}
|
|
343
|
-
|
|
319
|
+
resolve2({ code, stdout, stderr, timedOut, missing, ...oversize ? { oversize } : {} });
|
|
344
320
|
}, "finish");
|
|
345
321
|
const stop = /* @__PURE__ */ __name(() => {
|
|
346
322
|
if (stopping) return;
|
|
@@ -462,6 +438,27 @@ function gitHostOf(url) {
|
|
|
462
438
|
}
|
|
463
439
|
}
|
|
464
440
|
__name(gitHostOf, "gitHostOf");
|
|
441
|
+
function gitPinFor(url, host, addresses) {
|
|
442
|
+
if (addresses.length === 0 || isIP(host.replace(/^\[|\]$/g, "")) !== 0) return void 0;
|
|
443
|
+
const https = /^https:\/\//i.test(url);
|
|
444
|
+
let port = "";
|
|
445
|
+
if (/^[a-z][a-z0-9+.-]*:\/\//i.test(url)) {
|
|
446
|
+
try {
|
|
447
|
+
port = new URL(url).port;
|
|
448
|
+
} catch {
|
|
449
|
+
return void 0;
|
|
450
|
+
}
|
|
451
|
+
}
|
|
452
|
+
if (https)
|
|
453
|
+
return {
|
|
454
|
+
settings: ["-c", `http.curloptResolve=${host}:${port || "443"}:${addresses.join(",")}`],
|
|
455
|
+
sshOptions: ""
|
|
456
|
+
};
|
|
457
|
+
const first = addresses[0];
|
|
458
|
+
const alias = port !== "" && port !== "22" ? `[${host}]:${port}` : host;
|
|
459
|
+
return { settings: [], sshOptions: ` -o HostName=${first} -o HostKeyAlias=${alias}` };
|
|
460
|
+
}
|
|
461
|
+
__name(gitPinFor, "gitPinFor");
|
|
465
462
|
function hostOf(url) {
|
|
466
463
|
const scp = /^[^@/]+@([^:/]+):/.exec(url);
|
|
467
464
|
if (scp !== null) return scp[1];
|
|
@@ -536,12 +533,15 @@ function explainGitFailure(run, url, timeoutMs) {
|
|
|
536
533
|
}
|
|
537
534
|
__name(explainGitFailure, "explainGitFailure");
|
|
538
535
|
var Git = class {
|
|
539
|
-
constructor(options, dest) {
|
|
536
|
+
constructor(options, dest, pin) {
|
|
540
537
|
this.options = options;
|
|
541
538
|
this.dest = dest;
|
|
542
539
|
const allowFile = options.allowFileProtocol === true;
|
|
543
|
-
|
|
544
|
-
|
|
540
|
+
const env = gitEnvironment(options.env ?? process.env, allowFile);
|
|
541
|
+
if (pin !== void 0 && pin.sshOptions !== "")
|
|
542
|
+
env.GIT_SSH_COMMAND = `${env.GIT_SSH_COMMAND ?? "ssh"}${pin.sshOptions}`;
|
|
543
|
+
this.env = env;
|
|
544
|
+
this.settings = [...gitSettings(allowFile, process.platform), ...pin?.settings ?? []];
|
|
545
545
|
this.timeoutMs = options.timeoutMs ?? gitTimeoutMs(options.env ?? process.env);
|
|
546
546
|
this.runner = options.runner ?? defaultRunner;
|
|
547
547
|
}
|
|
@@ -611,15 +611,19 @@ async function cloneRepository(request, options = {}) {
|
|
|
611
611
|
`${hostOf(request.url)} cannot be used: ${problem}.`,
|
|
612
612
|
"address"
|
|
613
613
|
);
|
|
614
|
+
let pin;
|
|
614
615
|
if (!allowFile) {
|
|
615
616
|
const host = gitHostOf(request.url);
|
|
616
|
-
const
|
|
617
|
+
const checked = host === void 0 ? void 0 : await checkedAddresses(host, {
|
|
617
618
|
...options.resolve !== void 0 ? { resolve: options.resolve } : {},
|
|
618
619
|
// Only Git over https goes through a proxy; ssh resolves the name on this machine.
|
|
619
620
|
proxied: /^https:\/\//i.test(request.url) ? options.proxied ?? proxyConfigured(options.env ?? process.env, host) : false,
|
|
620
621
|
...options.signal !== void 0 ? { signal: options.signal } : {}
|
|
621
622
|
});
|
|
622
623
|
if (options.signal?.aborted) throw cancelledFetch();
|
|
624
|
+
const where = checked?.problem;
|
|
625
|
+
if (host !== void 0 && checked !== void 0)
|
|
626
|
+
pin = gitPinFor(request.url, host, checked.addresses);
|
|
623
627
|
if (where !== void 0)
|
|
624
628
|
throw new FetchError(
|
|
625
629
|
EXIT_UNTRUSTED,
|
|
@@ -633,7 +637,7 @@ async function cloneRepository(request, options = {}) {
|
|
|
633
637
|
if (bad !== void 0) throw new FetchError(EXIT_USAGE, bad, "path");
|
|
634
638
|
}
|
|
635
639
|
const url = options.rewriteUrl?.(request.url) ?? request.url;
|
|
636
|
-
const git = new Git(options, request.dest);
|
|
640
|
+
const git = new Git(options, request.dest, pin);
|
|
637
641
|
const byId = request.sha ?? (request.ref !== void 0 && isCommitId(request.ref) ? request.ref : void 0);
|
|
638
642
|
const filter = sparse.length > 0 ? ["--filter=blob:none"] : [];
|
|
639
643
|
mkdirSync(request.dest, { recursive: true, mode: 448 });
|
|
@@ -705,6 +709,14 @@ async function cloneRepository(request, options = {}) {
|
|
|
705
709
|
}
|
|
706
710
|
__name(cloneRepository, "cloneRepository");
|
|
707
711
|
|
|
712
|
+
// src/integrations/plugins/fetch/index.ts
|
|
713
|
+
import { lstatSync as lstatSync2, mkdirSync as mkdirSync3, writeFileSync } from "node:fs";
|
|
714
|
+
import { join as join3 } from "node:path";
|
|
715
|
+
|
|
716
|
+
// src/integrations/plugins/fetch/archive.ts
|
|
717
|
+
import { mkdirSync as mkdirSync2, rmSync as rmSync3 } from "node:fs";
|
|
718
|
+
import { dirname as dirname2 } from "node:path";
|
|
719
|
+
|
|
708
720
|
// src/integrations/plugins/fetch/url.ts
|
|
709
721
|
import { createHash } from "node:crypto";
|
|
710
722
|
import { closeSync as closeSync2, openSync as openSync2, rmSync as rmSync2, writeSync } from "node:fs";
|
|
@@ -730,24 +742,29 @@ function isArchiveType(contentType) {
|
|
|
730
742
|
__name(isArchiveType, "isArchiveType");
|
|
731
743
|
async function addressProblem(url, declared, options, signal) {
|
|
732
744
|
if (isBlockedSource({ source: "url", url: declared }, options.blockedMarketplaces))
|
|
733
|
-
return
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
745
|
+
return {
|
|
746
|
+
refused: new FetchError(
|
|
747
|
+
EXIT_UNTRUSTED,
|
|
748
|
+
`${url.hostname} is on the list of sources turned off in your settings, so nothing was downloaded from it.`,
|
|
749
|
+
"blocked"
|
|
750
|
+
)
|
|
751
|
+
};
|
|
752
|
+
if (options.allowLoopbackHttp === true && url.hostname === "127.0.0.1") return {};
|
|
753
|
+
const proxied = options.proxied ?? proxyConfigured(options.env ?? process.env, url.hostname);
|
|
754
|
+
const { problem, addresses } = await checkedAddresses(url.hostname, {
|
|
740
755
|
...options.resolve !== void 0 ? { resolve: options.resolve } : {},
|
|
741
|
-
proxied
|
|
756
|
+
proxied,
|
|
742
757
|
signal
|
|
743
758
|
});
|
|
744
|
-
if (problem === void 0) return
|
|
745
|
-
if (signal.aborted) return cancelledFetch();
|
|
746
|
-
return
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
759
|
+
if (problem === void 0) return proxied || addresses.length === 0 ? {} : { pin: addresses };
|
|
760
|
+
if (signal.aborted) return { refused: cancelledFetch() };
|
|
761
|
+
return {
|
|
762
|
+
refused: new FetchError(
|
|
763
|
+
EXIT_UNTRUSTED,
|
|
764
|
+
`${url.hostname} was not used: ${problem}. Namzu does not download from inside this computer's own network.`,
|
|
765
|
+
"private-address"
|
|
766
|
+
)
|
|
767
|
+
};
|
|
751
768
|
}
|
|
752
769
|
__name(addressProblem, "addressProblem");
|
|
753
770
|
async function transfer(request, options, onChunk) {
|
|
@@ -779,20 +796,22 @@ async function transfer(request, options, onChunk) {
|
|
|
779
796
|
try {
|
|
780
797
|
let named = request.url;
|
|
781
798
|
for (let hop = 0; ; hop++) {
|
|
782
|
-
const refused = await addressProblem(current, named, options, controller.signal);
|
|
799
|
+
const { refused, pin } = await addressProblem(current, named, options, controller.signal);
|
|
783
800
|
if (refused !== void 0) {
|
|
784
801
|
if (options.signal?.aborted) throw cancelledFetch();
|
|
785
802
|
throw refused;
|
|
786
803
|
}
|
|
787
804
|
let response;
|
|
788
805
|
try {
|
|
789
|
-
|
|
806
|
+
const headers = {
|
|
807
|
+
accept: "application/json, text/plain;q=0.9, */*;q=0.1",
|
|
808
|
+
"user-agent": "namzu-plugins"
|
|
809
|
+
};
|
|
810
|
+
response = pin !== void 0 && options.fetchImpl === void 0 ? await pinnedFetch(current, { headers, signal: controller.signal }, pin) : await fetcher(current.toString(), {
|
|
790
811
|
redirect: "manual",
|
|
791
812
|
signal: controller.signal,
|
|
792
|
-
headers
|
|
793
|
-
|
|
794
|
-
"user-agent": "namzu-plugins"
|
|
795
|
-
}
|
|
813
|
+
headers,
|
|
814
|
+
...pin !== void 0 ? { pinnedAddresses: pin } : {}
|
|
796
815
|
});
|
|
797
816
|
} catch {
|
|
798
817
|
if (options.signal?.aborted) throw cancelledFetch();
|
|
@@ -916,12 +935,12 @@ async function download(request, options = {}) {
|
|
|
916
935
|
__name(download, "download");
|
|
917
936
|
async function downloadToFile(request, dest, options = {}) {
|
|
918
937
|
const hash = createHash("sha256");
|
|
919
|
-
let
|
|
938
|
+
let bytes = 0;
|
|
920
939
|
const fd = openSync2(dest, "w", 384);
|
|
921
940
|
try {
|
|
922
941
|
await transfer(request, options, (chunk) => {
|
|
923
942
|
hash.update(chunk);
|
|
924
|
-
|
|
943
|
+
bytes += chunk.byteLength;
|
|
925
944
|
let written = 0;
|
|
926
945
|
while (written < chunk.byteLength)
|
|
927
946
|
written += writeSync(fd, chunk, written, chunk.byteLength - written);
|
|
@@ -932,11 +951,11 @@ async function downloadToFile(request, dest, options = {}) {
|
|
|
932
951
|
throw error;
|
|
933
952
|
}
|
|
934
953
|
closeSync2(fd);
|
|
935
|
-
return { sha256: hash.digest("hex"), bytes
|
|
954
|
+
return { sha256: hash.digest("hex"), bytes };
|
|
936
955
|
}
|
|
937
956
|
__name(downloadToFile, "downloadToFile");
|
|
938
957
|
async function fetchCatalogText(url, options = {}) {
|
|
939
|
-
const
|
|
958
|
+
const bytes = await download(
|
|
940
959
|
{
|
|
941
960
|
url,
|
|
942
961
|
maxBytes: CATALOG_DOWNLOAD_MAX_BYTES,
|
|
@@ -946,14 +965,14 @@ async function fetchCatalogText(url, options = {}) {
|
|
|
946
965
|
},
|
|
947
966
|
options
|
|
948
967
|
);
|
|
949
|
-
return
|
|
968
|
+
return bytes.toString("utf8");
|
|
950
969
|
}
|
|
951
970
|
__name(fetchCatalogText, "fetchCatalogText");
|
|
952
971
|
|
|
953
972
|
// src/integrations/plugins/fetch/archive.ts
|
|
954
973
|
async function downloadArchive(url, dest, expectedSha256, options = {}) {
|
|
955
974
|
mkdirSync2(dirname2(dest), { recursive: true, mode: 448 });
|
|
956
|
-
const { sha256, bytes
|
|
975
|
+
const { sha256, bytes } = await downloadToFile(
|
|
957
976
|
{
|
|
958
977
|
url,
|
|
959
978
|
maxBytes: ARCHIVE_DOWNLOAD_MAX_BYTES,
|
|
@@ -972,7 +991,7 @@ async function downloadArchive(url, dest, expectedSha256, options = {}) {
|
|
|
972
991
|
"digest"
|
|
973
992
|
);
|
|
974
993
|
}
|
|
975
|
-
return { file: dest, sha256, bytes
|
|
994
|
+
return { file: dest, sha256, bytes };
|
|
976
995
|
}
|
|
977
996
|
__name(downloadArchive, "downloadArchive");
|
|
978
997
|
|
|
@@ -1187,6 +1206,12 @@ function entryRow(event, entry) {
|
|
|
1187
1206
|
type: "prompt",
|
|
1188
1207
|
run: String(entry.prompt ?? "").replace(/\s+/g, " ").slice(0, 200)
|
|
1189
1208
|
};
|
|
1209
|
+
if (entry.type === "mcp_tool")
|
|
1210
|
+
return {
|
|
1211
|
+
...base,
|
|
1212
|
+
type: "mcp_tool",
|
|
1213
|
+
run: `${String(entry.server ?? "")}/${String(entry.tool ?? "")}`
|
|
1214
|
+
};
|
|
1190
1215
|
const args = Array.isArray(entry.args) ? entry.args.map(String) : [];
|
|
1191
1216
|
return { ...base, type: "command", run: [String(entry.command ?? ""), ...args].join(" ") };
|
|
1192
1217
|
}
|
|
@@ -1810,7 +1835,7 @@ function readRecords(home) {
|
|
|
1810
1835
|
__name(readRecords, "readRecords");
|
|
1811
1836
|
function writeJsonAtomic(path, value) {
|
|
1812
1837
|
mkdirSync5(dirname4(path), { recursive: true, mode: 448 });
|
|
1813
|
-
const tmp =
|
|
1838
|
+
const tmp = temporaryNameFor(path);
|
|
1814
1839
|
writeFileSync3(tmp, `${JSON.stringify(value, null, 2)}
|
|
1815
1840
|
`, { mode: 384 });
|
|
1816
1841
|
renameSync2(tmp, path);
|
|
@@ -2122,8 +2147,8 @@ __name(listDirs, "listDirs");
|
|
|
2122
2147
|
function findPrunable(home, now) {
|
|
2123
2148
|
const records = readRecords(home);
|
|
2124
2149
|
const used = /* @__PURE__ */ new Set();
|
|
2125
|
-
for (const
|
|
2126
|
-
for (const r of
|
|
2150
|
+
for (const list of records.values())
|
|
2151
|
+
for (const r of list) used.add(realPathOrResolved(r.installPath));
|
|
2127
2152
|
const items = [];
|
|
2128
2153
|
const kept = [];
|
|
2129
2154
|
for (const market of listDirs(pluginCacheFolder(home)))
|
|
@@ -2194,6 +2219,9 @@ function prune(home, now, apply) {
|
|
|
2194
2219
|
__name(prune, "prune");
|
|
2195
2220
|
|
|
2196
2221
|
// src/integrations/plugins/remote-marketplace.ts
|
|
2222
|
+
import { randomUUID as randomUUID3 } from "node:crypto";
|
|
2223
|
+
import { lstatSync as lstatSync5, mkdirSync as mkdirSync6, renameSync as renameSync3 } from "node:fs";
|
|
2224
|
+
import { isAbsolute as isAbsolute2, join as join7, relative as relative2 } from "node:path";
|
|
2197
2225
|
var oneLine = /* @__PURE__ */ __name((value) => terminalDisplayText(value).replace(/[\t\n\r]+/g, " "), "oneLine");
|
|
2198
2226
|
var MARKETPLACE_NOTICE = [
|
|
2199
2227
|
"Plugins from a marketplace can run programs on this computer, with access to",
|
|
@@ -2382,6 +2410,21 @@ function isInside(outer, inner) {
|
|
|
2382
2410
|
return rel !== "" && !rel.startsWith("..") && !isAbsolute2(rel);
|
|
2383
2411
|
}
|
|
2384
2412
|
__name(isInside, "isInside");
|
|
2413
|
+
function marketplaceRefreshSkip(market, policy) {
|
|
2414
|
+
const kind = market.source.source;
|
|
2415
|
+
if (kind === "directory" || kind === "file") return void 0;
|
|
2416
|
+
const refusal = sourceRefusal(market.source, policy);
|
|
2417
|
+
if (refusal !== void 0)
|
|
2418
|
+
return {
|
|
2419
|
+
outcome: "failed",
|
|
2420
|
+
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."
|
|
2421
|
+
};
|
|
2422
|
+
const ref = typeof market.source.ref === "string" ? market.source.ref : void 0;
|
|
2423
|
+
if (ref !== void 0 && isCommitId(ref))
|
|
2424
|
+
return { outcome: "pinned", message: `pinned at ${ref.slice(0, 7)}` };
|
|
2425
|
+
return void 0;
|
|
2426
|
+
}
|
|
2427
|
+
__name(marketplaceRefreshSkip, "marketplaceRefreshSkip");
|
|
2385
2428
|
async function refreshRemoteMarketplace(market, options) {
|
|
2386
2429
|
const { home } = options;
|
|
2387
2430
|
const describe = options.describe ?? failureText;
|
|
@@ -2393,19 +2436,11 @@ async function refreshRemoteMarketplace(market, options) {
|
|
|
2393
2436
|
newer: [],
|
|
2394
2437
|
...partial
|
|
2395
2438
|
}), "row");
|
|
2396
|
-
const
|
|
2397
|
-
const refusal = sourceRefusal(market.source, {
|
|
2439
|
+
const skip = marketplaceRefreshSkip(market, {
|
|
2398
2440
|
blocked: options.blockedMarketplaces,
|
|
2399
2441
|
allowed: options.allowedMarketplaces
|
|
2400
2442
|
});
|
|
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)}` });
|
|
2443
|
+
if (skip !== void 0) return row(skip);
|
|
2409
2444
|
if (!isInside(marketplacesFolder(home), market.installLocation))
|
|
2410
2445
|
return row({
|
|
2411
2446
|
outcome: "failed",
|
|
@@ -2469,738 +2504,16 @@ function failureText(error) {
|
|
|
2469
2504
|
}
|
|
2470
2505
|
__name(failureText, "failureText");
|
|
2471
2506
|
|
|
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
2507
|
export {
|
|
3195
2508
|
readPluginManifestDetails,
|
|
3196
2509
|
FetchError,
|
|
3197
2510
|
fetchMarketplace,
|
|
3198
2511
|
hashExecutableFiles,
|
|
2512
|
+
surfaceChanges,
|
|
3199
2513
|
PlanRefusal,
|
|
3200
2514
|
discardStaging,
|
|
3201
2515
|
usedPluginNames,
|
|
3202
2516
|
planInstall,
|
|
3203
|
-
renderInstallPreview,
|
|
3204
2517
|
SimulatedCrash,
|
|
3205
2518
|
InstallConflict,
|
|
3206
2519
|
trashFolder,
|
|
@@ -3227,14 +2540,7 @@ export {
|
|
|
3227
2540
|
newerVersions,
|
|
3228
2541
|
withBlockList,
|
|
3229
2542
|
isInside,
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
PLUGIN_RECORD_VERBS,
|
|
3233
|
-
PLUGIN_RECORD_HELP,
|
|
3234
|
-
failure,
|
|
3235
|
-
stateFailure,
|
|
3236
|
-
resolveId,
|
|
3237
|
-
applicable,
|
|
3238
|
-
runPluginRecords
|
|
2543
|
+
marketplaceRefreshSkip,
|
|
2544
|
+
refreshRemoteMarketplace
|
|
3239
2545
|
};
|
|
3240
|
-
//# sourceMappingURL=chunk-
|
|
2546
|
+
//# sourceMappingURL=chunk-MBHWHIID.js.map
|