@zyycn/claudex 1.0.3-fork.1453470
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/LICENSE.md +5 -0
- package/README.md +490 -0
- package/bin/claudex.js +40 -0
- package/dist/chunk-00xcm9ma.js +21933 -0
- package/dist/chunk-06saje2v.js +39 -0
- package/dist/chunk-0731m51q.js +8 -0
- package/dist/chunk-07q1ebdc.js +1581 -0
- package/dist/chunk-0cm1btdy.js +258 -0
- package/dist/chunk-0m99m848.js +674 -0
- package/dist/chunk-0paqc2yw.js +15 -0
- package/dist/chunk-0q2xkmse.js +58 -0
- package/dist/chunk-0vkfrmqm.js +690 -0
- package/dist/chunk-0xjaqda8.js +1124 -0
- package/dist/chunk-104enera.js +2838 -0
- package/dist/chunk-1141xmr4.js +8 -0
- package/dist/chunk-14as9yqj.js +287 -0
- package/dist/chunk-14jv3jm7.js +17 -0
- package/dist/chunk-1601tsaf.js +6109 -0
- package/dist/chunk-197dj5s7.js +275 -0
- package/dist/chunk-1ax9sgfe.js +107 -0
- package/dist/chunk-1cbn5kxf.js +7 -0
- package/dist/chunk-1dagmjxx.js +496 -0
- package/dist/chunk-1e0rncz4.js +440 -0
- package/dist/chunk-1h2famwb.js +49 -0
- package/dist/chunk-1hr1qamm.js +347 -0
- package/dist/chunk-1q1et22j.js +164 -0
- package/dist/chunk-1vh98qr0.js +4521 -0
- package/dist/chunk-1xkekb9y.js +19 -0
- package/dist/chunk-218tsjb7.js +2644 -0
- package/dist/chunk-238g70xa.js +36 -0
- package/dist/chunk-27xc1csx.js +104 -0
- package/dist/chunk-29pk8qx4.js +2336 -0
- package/dist/chunk-2a42s11t.js +412 -0
- package/dist/chunk-2eykm0j0.js +20 -0
- package/dist/chunk-2fwze72g.js +24 -0
- package/dist/chunk-2gzv8nrw.js +205 -0
- package/dist/chunk-2k995y2x.js +880 -0
- package/dist/chunk-2nayx6q1.js +63 -0
- package/dist/chunk-2t1frg13.js +716 -0
- package/dist/chunk-2t3vw4tx.js +22820 -0
- package/dist/chunk-2tvta4r1.js +276 -0
- package/dist/chunk-30rst83v.js +168 -0
- package/dist/chunk-357zqad6.js +85 -0
- package/dist/chunk-36nhmzjx.js +71 -0
- package/dist/chunk-3803xm8e.js +10476 -0
- package/dist/chunk-38700exh.js +42 -0
- package/dist/chunk-3c25bcsw.js +17 -0
- package/dist/chunk-3h8a89gy.js +46 -0
- package/dist/chunk-3jdqfdj5.js +93 -0
- package/dist/chunk-3jmv6cad.js +91 -0
- package/dist/chunk-3kgnmgyg.js +173 -0
- package/dist/chunk-3nk79af8.js +8 -0
- package/dist/chunk-3peatsdv.js +41 -0
- package/dist/chunk-3tqnjgfx.js +16415 -0
- package/dist/chunk-3vs3nm7w.js +31 -0
- package/dist/chunk-3w6s9m5w.js +16 -0
- package/dist/chunk-3z6xe0z5.js +159 -0
- package/dist/chunk-41rz4mzb.js +277 -0
- package/dist/chunk-41z3jj0a.js +56 -0
- package/dist/chunk-44fpr6jq.js +434 -0
- package/dist/chunk-4955sd1a.js +94 -0
- package/dist/chunk-495d85x1.js +8066 -0
- package/dist/chunk-4av3760g.js +128 -0
- package/dist/chunk-4b16ycde.js +268 -0
- package/dist/chunk-4bjnawcq.js +301 -0
- package/dist/chunk-4g3v8y12.js +23 -0
- package/dist/chunk-4jm600zv.js +13 -0
- package/dist/chunk-4kheks3z.js +513 -0
- package/dist/chunk-4m4hyh1h.js +162 -0
- package/dist/chunk-4qz9vbs1.js +349 -0
- package/dist/chunk-4rs8bmvr.js +196 -0
- package/dist/chunk-4tskdppn.js +281 -0
- package/dist/chunk-4vp8gkjg.js +400 -0
- package/dist/chunk-4zfkzkt6.js +37 -0
- package/dist/chunk-526cgeb7.js +61 -0
- package/dist/chunk-55wgxwa9.js +13877 -0
- package/dist/chunk-56jgazae.js +28 -0
- package/dist/chunk-58ehr4xs.js +459 -0
- package/dist/chunk-5h0tb1wb.js +91 -0
- package/dist/chunk-5r0rd14p.js +522 -0
- package/dist/chunk-5t7kf175.js +40 -0
- package/dist/chunk-61awbwy1.js +648 -0
- package/dist/chunk-65s8h28p.js +123 -0
- package/dist/chunk-68zrgehv.js +120 -0
- package/dist/chunk-6b1fr6n7.js +117 -0
- package/dist/chunk-6bd8brc4.js +48 -0
- package/dist/chunk-6dj5t602.js +341 -0
- package/dist/chunk-6gr3c3w9.js +378 -0
- package/dist/chunk-6gz76344.js +1493 -0
- package/dist/chunk-6jcffd48.js +643 -0
- package/dist/chunk-6mjm0xrg.js +253 -0
- package/dist/chunk-6mtvk568.js +89 -0
- package/dist/chunk-6n2qgm9v.js +8 -0
- package/dist/chunk-6n3ckbjv.js +348 -0
- package/dist/chunk-6nwxg1wn.js +40 -0
- package/dist/chunk-6p1yy212.js +779 -0
- package/dist/chunk-6r1adgey.js +109 -0
- package/dist/chunk-6s43cqmc.js +420 -0
- package/dist/chunk-6tq2v3rk.js +186 -0
- package/dist/chunk-730qrdey.js +173526 -0
- package/dist/chunk-73rpbt04.js +1947 -0
- package/dist/chunk-75pprgct.js +165 -0
- package/dist/chunk-760252na.js +101 -0
- package/dist/chunk-7739pg2c.js +4261 -0
- package/dist/chunk-77b9hpzq.js +373 -0
- package/dist/chunk-7aw745vx.js +40175 -0
- package/dist/chunk-7cgwfdew.js +225 -0
- package/dist/chunk-7e0f3syh.js +458 -0
- package/dist/chunk-7e6ahfxz.js +61 -0
- package/dist/chunk-7jakcwb2.js +3445 -0
- package/dist/chunk-7kky1hfh.js +92 -0
- package/dist/chunk-7m2nd8da.js +110 -0
- package/dist/chunk-7q237ftq.js +1585 -0
- package/dist/chunk-7tkfa40b.js +790 -0
- package/dist/chunk-7v6gz550.js +849 -0
- package/dist/chunk-7wm5s02e.js +216 -0
- package/dist/chunk-7x11xrtw.js +38 -0
- package/dist/chunk-7xyswgjh.js +8 -0
- package/dist/chunk-7zaxrfnt.js +42 -0
- package/dist/chunk-7zbnzxqn.js +116 -0
- package/dist/chunk-7zd6zng2.js +107 -0
- package/dist/chunk-83hfzbx3.js +10 -0
- package/dist/chunk-87ffvh11.js +105 -0
- package/dist/chunk-899qbava.js +107 -0
- package/dist/chunk-8bedvdm1.js +32 -0
- package/dist/chunk-8c94hy8y.js +123 -0
- package/dist/chunk-8ew3mqvp.js +153 -0
- package/dist/chunk-8hq5kk3y.js +44 -0
- package/dist/chunk-8jq0b9dd.js +2057 -0
- package/dist/chunk-8tnsngw2.js +31 -0
- package/dist/chunk-8x3n4n3s.js +1551 -0
- package/dist/chunk-8y12jxg8.js +10 -0
- package/dist/chunk-8ymf4e6z.js +48 -0
- package/dist/chunk-90wp6wez.js +10510 -0
- package/dist/chunk-926wns55.js +127 -0
- package/dist/chunk-9aqjhv75.js +604 -0
- package/dist/chunk-9btg8g3w.js +111 -0
- package/dist/chunk-9dk9pm7z.js +87 -0
- package/dist/chunk-9gbamk79.js +93 -0
- package/dist/chunk-9k27xdmg.js +542 -0
- package/dist/chunk-9k2drwej.js +106 -0
- package/dist/chunk-9x5zgy22.js +12 -0
- package/dist/chunk-9zg3gwdm.js +41634 -0
- package/dist/chunk-a064vv85.js +674 -0
- package/dist/chunk-a1gt3qge.js +328 -0
- package/dist/chunk-a8ejc632.js +3094 -0
- package/dist/chunk-a9vdeb6y.js +258 -0
- package/dist/chunk-a9zh40sj.js +48 -0
- package/dist/chunk-adhxmj22.js +86 -0
- package/dist/chunk-af8a6k9v.js +195 -0
- package/dist/chunk-ahcsxfaq.js +812 -0
- package/dist/chunk-ar1vk71q.js +220 -0
- package/dist/chunk-atz9g9e3.js +160 -0
- package/dist/chunk-b0b9ky2w.js +87 -0
- package/dist/chunk-b4wg70y1.js +54 -0
- package/dist/chunk-b75fzr8e.js +969 -0
- package/dist/chunk-b7ab6apt.js +98 -0
- package/dist/chunk-b7cywkg9.js +908 -0
- package/dist/chunk-b89h5a6c.js +269 -0
- package/dist/chunk-b8x1gk3y.js +1299 -0
- package/dist/chunk-b9kme9pv.js +38 -0
- package/dist/chunk-bfw2dvsc.js +654 -0
- package/dist/chunk-bha97m81.js +267 -0
- package/dist/chunk-bjqw6798.js +328 -0
- package/dist/chunk-bm1qb16p.js +17 -0
- package/dist/chunk-bq49tmzw.js +642 -0
- package/dist/chunk-bqfnp99q.js +477 -0
- package/dist/chunk-bsst5zkx.js +534 -0
- package/dist/chunk-bvp4dgm4.js +182 -0
- package/dist/chunk-bxxg6sdr.js +176 -0
- package/dist/chunk-bzdmqgbz.js +106 -0
- package/dist/chunk-c0383q54.js +1873 -0
- package/dist/chunk-c6pqnmxz.js +92 -0
- package/dist/chunk-c84cgat5.js +692 -0
- package/dist/chunk-c88ad6hr.js +54 -0
- package/dist/chunk-cb9fgtbm.js +726 -0
- package/dist/chunk-cdz5yb0r.js +57 -0
- package/dist/chunk-cfkzkjn9.js +745 -0
- package/dist/chunk-cfmxfyg6.js +224 -0
- package/dist/chunk-cfv996bs.js +22 -0
- package/dist/chunk-cgfdkzhb.js +12 -0
- package/dist/chunk-cheg55f3.js +605 -0
- package/dist/chunk-cq8s6gda.js +54 -0
- package/dist/chunk-cr3259a6.js +756 -0
- package/dist/chunk-cvkdw06a.js +752 -0
- package/dist/chunk-cx75kdrc.js +47 -0
- package/dist/chunk-czensfac.js +476 -0
- package/dist/chunk-d3js9jm5.js +281 -0
- package/dist/chunk-d9kz373t.js +122 -0
- package/dist/chunk-db4echta.js +98 -0
- package/dist/chunk-dbew99r4.js +318 -0
- package/dist/chunk-dbzgpyb7.js +3418 -0
- package/dist/chunk-dbzm0jxw.js +66 -0
- package/dist/chunk-dgqrcy74.js +48 -0
- package/dist/chunk-dnh7jtpb.js +37 -0
- package/dist/chunk-ds5nkfg0.js +1095 -0
- package/dist/chunk-dstxhxsx.js +121 -0
- package/dist/chunk-dv1wfr85.js +6373 -0
- package/dist/chunk-e5pntxye.js +37 -0
- package/dist/chunk-eebcvtbb.js +1646 -0
- package/dist/chunk-ehtwnxpg.js +1591 -0
- package/dist/chunk-enpkjp09.js +202 -0
- package/dist/chunk-enqchn86.js +229 -0
- package/dist/chunk-eqp1rfft.js +17 -0
- package/dist/chunk-etamtd56.js +167 -0
- package/dist/chunk-evb24rwp.js +469 -0
- package/dist/chunk-evgp57w2.js +69 -0
- package/dist/chunk-ewadzrm8.js +103 -0
- package/dist/chunk-ezf1ppbj.js +208 -0
- package/dist/chunk-f5ma3nh5.js +3436 -0
- package/dist/chunk-f6tfp1jv.js +115 -0
- package/dist/chunk-fbpftpf0.js +69 -0
- package/dist/chunk-fbv4apne.js +51 -0
- package/dist/chunk-fgebe8s1.js +119 -0
- package/dist/chunk-fh2tsdgg.js +83 -0
- package/dist/chunk-fyc5fepv.js +10 -0
- package/dist/chunk-fz0qs5hv.js +196 -0
- package/dist/chunk-g0j0t6qk.js +26 -0
- package/dist/chunk-g10m43cg.js +713 -0
- package/dist/chunk-g338npwr.js +1061 -0
- package/dist/chunk-g3jde8ef.js +99 -0
- package/dist/chunk-g3t0act8.js +8 -0
- package/dist/chunk-g4he0n52.js +527 -0
- package/dist/chunk-g5az2c6a.js +155 -0
- package/dist/chunk-g97qe5j6.js +90 -0
- package/dist/chunk-gdr19kp1.js +802 -0
- package/dist/chunk-gmaybtrd.js +726 -0
- package/dist/chunk-gqp7j1pk.js +283 -0
- package/dist/chunk-gshz06b1.js +5398 -0
- package/dist/chunk-gv0tqhg0.js +118 -0
- package/dist/chunk-gvhssfc5.js +155 -0
- package/dist/chunk-gy0rcgj2.js +9194 -0
- package/dist/chunk-gyj242zr.js +20 -0
- package/dist/chunk-gzzfhtdv.js +7189 -0
- package/dist/chunk-h0qngp9w.js +157 -0
- package/dist/chunk-h0rbjg6x.js +55 -0
- package/dist/chunk-hakdhagh.js +16606 -0
- package/dist/chunk-hh7cmy4k.js +20 -0
- package/dist/chunk-hjakzpqc.js +70 -0
- package/dist/chunk-hk9xz7gk.js +118 -0
- package/dist/chunk-hqmz36b3.js +552 -0
- package/dist/chunk-hzhe8ygc.js +547 -0
- package/dist/chunk-j2k4p94p.js +55 -0
- package/dist/chunk-j3a4p81y.js +184 -0
- package/dist/chunk-j4fb0y95.js +247 -0
- package/dist/chunk-j5hc27hv.js +444 -0
- package/dist/chunk-j64ga6ta.js +8035 -0
- package/dist/chunk-j8xzqet7.js +116 -0
- package/dist/chunk-jc8jhcwz.js +198 -0
- package/dist/chunk-jce5r25x.js +18 -0
- package/dist/chunk-jcnp9j3v.js +1154 -0
- package/dist/chunk-jd32zbps.js +15 -0
- package/dist/chunk-jdgeec04.js +4249 -0
- package/dist/chunk-jhbnb87k.js +26 -0
- package/dist/chunk-jhyqz4ns.js +1556 -0
- package/dist/chunk-jnhkref0.js +30 -0
- package/dist/chunk-jpp9dqv4.js +6956 -0
- package/dist/chunk-jw9hq3rg.js +702 -0
- package/dist/chunk-jx817w05.js +11 -0
- package/dist/chunk-jzhcme7n.js +1318 -0
- package/dist/chunk-jzmz18nn.js +65 -0
- package/dist/chunk-k0p9w03v.js +4957 -0
- package/dist/chunk-k2aj61ee.js +27 -0
- package/dist/chunk-k4sev2n6.js +28 -0
- package/dist/chunk-k7k2y0qv.js +469 -0
- package/dist/chunk-kgf50mqk.js +60 -0
- package/dist/chunk-kjcfwnj1.js +247 -0
- package/dist/chunk-kjtm8wb0.js +95 -0
- package/dist/chunk-knzevfpr.js +229 -0
- package/dist/chunk-krw2vdg2.js +44 -0
- package/dist/chunk-kwekc97v.js +18 -0
- package/dist/chunk-kz5tvd47.js +212 -0
- package/dist/chunk-m67n5wzy.js +61 -0
- package/dist/chunk-m94gp2rw.js +5019 -0
- package/dist/chunk-mdz0t7r4.js +89 -0
- package/dist/chunk-mmmjegxm.js +184 -0
- package/dist/chunk-mncjx567.js +53 -0
- package/dist/chunk-mt25echc.js +6157 -0
- package/dist/chunk-mtcm9j6q.js +644 -0
- package/dist/chunk-myh82e4t.js +244 -0
- package/dist/chunk-n0qaeaa5.js +256 -0
- package/dist/chunk-n18624dq.js +131 -0
- package/dist/chunk-n1gcz9xn.js +103 -0
- package/dist/chunk-n1h5c74g.js +307 -0
- package/dist/chunk-n1pva86g.js +133 -0
- package/dist/chunk-n60m0dep.js +584 -0
- package/dist/chunk-n6gk18y0.js +250 -0
- package/dist/chunk-n7ttdtk0.js +641 -0
- package/dist/chunk-n8326eqb.js +655 -0
- package/dist/chunk-ndmk8yet.js +222 -0
- package/dist/chunk-nh4bndav.js +74 -0
- package/dist/chunk-nj0xc01y.js +90 -0
- package/dist/chunk-nj17bhkh.js +125 -0
- package/dist/chunk-nka1g8f4.js +773 -0
- package/dist/chunk-nm970nr7.js +145 -0
- package/dist/chunk-nmw6qveb.js +101 -0
- package/dist/chunk-nq0fxyxh.js +752 -0
- package/dist/chunk-nsw7n8c5.js +246 -0
- package/dist/chunk-nt837qt9.js +21 -0
- package/dist/chunk-nw5xe0mg.js +130 -0
- package/dist/chunk-nwsmn6zm.js +15 -0
- package/dist/chunk-nyefvg0p.js +105 -0
- package/dist/chunk-p2816w9z.js +1486 -0
- package/dist/chunk-p2d5nh3g.js +342 -0
- package/dist/chunk-p331ghzg.js +391 -0
- package/dist/chunk-p5x1s3vx.js +93 -0
- package/dist/chunk-p81favnw.js +62 -0
- package/dist/chunk-pe2yzwmw.js +102 -0
- package/dist/chunk-pe6w0anj.js +780 -0
- package/dist/chunk-pgjc4ya7.js +177 -0
- package/dist/chunk-pmsp9ed2.js +34 -0
- package/dist/chunk-ppwjyveh.js +8 -0
- package/dist/chunk-ps49ymvj.js +43 -0
- package/dist/chunk-ps540063.js +826 -0
- package/dist/chunk-ptvb90nk.js +90 -0
- package/dist/chunk-pwwa7s62.js +11 -0
- package/dist/chunk-pxdkbxs2.js +97 -0
- package/dist/chunk-py5y9jh1.js +38 -0
- package/dist/chunk-pym4ctcb.js +376 -0
- package/dist/chunk-pza5nphx.js +698 -0
- package/dist/chunk-q0sq5qtt.js +606 -0
- package/dist/chunk-q25bjaev.js +15 -0
- package/dist/chunk-q2rb0hsc.js +192 -0
- package/dist/chunk-q7bxdsfd.js +22 -0
- package/dist/chunk-qbt1tq74.js +145 -0
- package/dist/chunk-qhqhf88n.js +130 -0
- package/dist/chunk-qnfx3qtx.js +617 -0
- package/dist/chunk-qp2qdcda.js +100 -0
- package/dist/chunk-qp869k8g.js +69 -0
- package/dist/chunk-qpkz2rcx.js +83 -0
- package/dist/chunk-qqfa0dqg.js +2343 -0
- package/dist/chunk-qw8vnxtf.js +169 -0
- package/dist/chunk-qx65dt48.js +299 -0
- package/dist/chunk-qz2x630m.js +49145 -0
- package/dist/chunk-r12gdn3d.js +99 -0
- package/dist/chunk-r4dttv31.js +71 -0
- package/dist/chunk-r6b58y3x.js +17 -0
- package/dist/chunk-r9me94js.js +84 -0
- package/dist/chunk-r9r8nt97.js +765 -0
- package/dist/chunk-raqgs410.js +116 -0
- package/dist/chunk-re8evv5h.js +216 -0
- package/dist/chunk-res15ktd.js +18 -0
- package/dist/chunk-rhxgs39k.js +208 -0
- package/dist/chunk-rn0v1hk8.js +34 -0
- package/dist/chunk-rtgznsee.js +43 -0
- package/dist/chunk-rv01ch9w.js +117 -0
- package/dist/chunk-rwbhn5vg.js +120 -0
- package/dist/chunk-rysbfwvp.js +849 -0
- package/dist/chunk-s3pzvdss.js +50 -0
- package/dist/chunk-s66y2n3j.js +94 -0
- package/dist/chunk-samn3teq.js +998 -0
- package/dist/chunk-sbbj6ta3.js +1711 -0
- package/dist/chunk-sd36yzx8.js +954 -0
- package/dist/chunk-sd92cfq6.js +71 -0
- package/dist/chunk-sdj9b9wh.js +782 -0
- package/dist/chunk-shb6nvk6.js +27 -0
- package/dist/chunk-skbaxc8w.js +266 -0
- package/dist/chunk-sm5gbd0n.js +93 -0
- package/dist/chunk-sm7pm2be.js +114 -0
- package/dist/chunk-sp1beegb.js +24 -0
- package/dist/chunk-sw7ramwg.js +333 -0
- package/dist/chunk-swg7z17h.js +40 -0
- package/dist/chunk-szj5wvdy.js +28 -0
- package/dist/chunk-t0rgmccj.js +39 -0
- package/dist/chunk-t3360k46.js +75 -0
- package/dist/chunk-te2byqrn.js +265 -0
- package/dist/chunk-tggpkxkz.js +463 -0
- package/dist/chunk-tj6kpqkn.js +338 -0
- package/dist/chunk-tjk56vh8.js +81 -0
- package/dist/chunk-tn9vdsk8.js +42 -0
- package/dist/chunk-tnkpg5zy.js +96 -0
- package/dist/chunk-tp1jevns.js +88 -0
- package/dist/chunk-ts2p6bv1.js +224 -0
- package/dist/chunk-ttk5dzz8.js +25 -0
- package/dist/chunk-tw1qdn17.js +273 -0
- package/dist/chunk-v0kjwb0t.js +432 -0
- package/dist/chunk-v0zymd55.js +97 -0
- package/dist/chunk-v19nxarv.js +145 -0
- package/dist/chunk-v1kzp02e.js +785 -0
- package/dist/chunk-v2ezs6e1.js +102 -0
- package/dist/chunk-v3m9g5sk.js +5954 -0
- package/dist/chunk-v78fj8by.js +145 -0
- package/dist/chunk-v7n7nnwc.js +63 -0
- package/dist/chunk-v90xv5n9.js +157 -0
- package/dist/chunk-v9g1vkw6.js +490 -0
- package/dist/chunk-v9smspw2.js +4301 -0
- package/dist/chunk-vaangq3b.js +91 -0
- package/dist/chunk-vav0bknn.js +3205 -0
- package/dist/chunk-vd3bb2zh.js +173 -0
- package/dist/chunk-vest0y6x.js +3830 -0
- package/dist/chunk-vf5sd1nq.js +12 -0
- package/dist/chunk-vfkbphk7.js +110 -0
- package/dist/chunk-vfz0cnrr.js +538 -0
- package/dist/chunk-vhjx5fag.js +56 -0
- package/dist/chunk-vm90ex8p.js +87 -0
- package/dist/chunk-vn4hnzzj.js +1391 -0
- package/dist/chunk-vnhf95xv.js +1921 -0
- package/dist/chunk-vqk1n5qr.js +63 -0
- package/dist/chunk-vqv555ym.js +154 -0
- package/dist/chunk-vqvd3qz0.js +151 -0
- package/dist/chunk-vry2drqk.js +3059 -0
- package/dist/chunk-vwtd8nde.js +154 -0
- package/dist/chunk-vx361530.js +1015 -0
- package/dist/chunk-vyjeh50y.js +2149 -0
- package/dist/chunk-w100pzs6.js +41 -0
- package/dist/chunk-wfz0qffj.js +3939 -0
- package/dist/chunk-wg4dbja0.js +472 -0
- package/dist/chunk-wgcssf6v.js +722 -0
- package/dist/chunk-wgx66wsj.js +79 -0
- package/dist/chunk-wn0553ta.js +566 -0
- package/dist/chunk-wn2268qd.js +335 -0
- package/dist/chunk-wnd5166q.js +32 -0
- package/dist/chunk-wrhhmkf7.js +16 -0
- package/dist/chunk-wsswrgqp.js +339 -0
- package/dist/chunk-wx6ww2hs.js +89 -0
- package/dist/chunk-wzpdet3m.js +843 -0
- package/dist/chunk-x6r4v44b.js +8 -0
- package/dist/chunk-x8b7vft8.js +132 -0
- package/dist/chunk-xbtacp2f.js +4389 -0
- package/dist/chunk-xfxyj6qk.js +79 -0
- package/dist/chunk-xq4cfvpn.js +213 -0
- package/dist/chunk-xsq9ae7x.js +90 -0
- package/dist/chunk-xszk7n10.js +14358 -0
- package/dist/chunk-xv3era3s.js +8 -0
- package/dist/chunk-y1784krc.js +19 -0
- package/dist/chunk-y2ymcvfg.js +287 -0
- package/dist/chunk-y3kmy2bv.js +306 -0
- package/dist/chunk-y43rmrar.js +438 -0
- package/dist/chunk-ya2a18ws.js +59 -0
- package/dist/chunk-ybcvr9fg.js +73 -0
- package/dist/chunk-ybe68nyc.js +387 -0
- package/dist/chunk-yqddvpyv.js +100 -0
- package/dist/chunk-yr403t45.js +140 -0
- package/dist/chunk-ys4nx5va.js +90 -0
- package/dist/chunk-ysvwcdav.js +9300 -0
- package/dist/chunk-ytvzxnx2.js +862 -0
- package/dist/chunk-ywxd4qw4.js +22 -0
- package/dist/chunk-yysj6sxt.js +336 -0
- package/dist/chunk-z21fwesz.js +32 -0
- package/dist/chunk-z2dp53wn.js +17 -0
- package/dist/chunk-z84vgtw3.js +87 -0
- package/dist/chunk-z8fszc51.js +1322 -0
- package/dist/chunk-z97w0agx.js +444 -0
- package/dist/chunk-z9pphyhq.js +500 -0
- package/dist/chunk-zc6g0qqe.js +29 -0
- package/dist/chunk-zk2wsm7d.js +15 -0
- package/dist/chunk-zngsje4b.js +257 -0
- package/dist/chunk-zp37prdd.js +26840 -0
- package/dist/chunk-zsfxha74.js +17655 -0
- package/dist/chunk-ztmjzgq7.js +524 -0
- package/dist/chunk-zx7pgp71.js +20 -0
- package/dist/chunk-zy31eks8.js +372 -0
- package/dist/cli.js +92 -0
- package/package.json +36 -0
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
detectAndUninstallDelistedPlugins
|
|
4
|
+
} from "./chunk-b0b9ky2w.js";
|
|
5
|
+
import {
|
|
6
|
+
getFlaggedPlugins,
|
|
7
|
+
init_pluginFlagging
|
|
8
|
+
} from "./chunk-z9pphyhq.js";
|
|
9
|
+
import {
|
|
10
|
+
getPluginCommands,
|
|
11
|
+
init_AppState,
|
|
12
|
+
init_loadPluginAgents,
|
|
13
|
+
init_loadPluginCommands,
|
|
14
|
+
init_loadPluginHooks,
|
|
15
|
+
init_lspPluginIntegration,
|
|
16
|
+
init_manager,
|
|
17
|
+
init_mcpPluginIntegration,
|
|
18
|
+
init_notifications,
|
|
19
|
+
init_pluginLoader,
|
|
20
|
+
loadAllPlugins,
|
|
21
|
+
loadPluginAgents,
|
|
22
|
+
loadPluginHooks,
|
|
23
|
+
loadPluginLspServers,
|
|
24
|
+
loadPluginMcpServers,
|
|
25
|
+
reinitializeLspServerManager,
|
|
26
|
+
useAppState,
|
|
27
|
+
useNotifications,
|
|
28
|
+
useSetAppState
|
|
29
|
+
} from "./chunk-730qrdey.js";
|
|
30
|
+
import {
|
|
31
|
+
require_react
|
|
32
|
+
} from "./chunk-g338npwr.js";
|
|
33
|
+
import {
|
|
34
|
+
count,
|
|
35
|
+
init_array
|
|
36
|
+
} from "./chunk-b75fzr8e.js";
|
|
37
|
+
import {
|
|
38
|
+
init_analytics,
|
|
39
|
+
logEvent
|
|
40
|
+
} from "./chunk-h0rbjg6x.js";
|
|
41
|
+
import {
|
|
42
|
+
init_diagLogs,
|
|
43
|
+
logForDiagnosticsNoPII
|
|
44
|
+
} from "./chunk-b8x1gk3y.js";
|
|
45
|
+
import {
|
|
46
|
+
init_log,
|
|
47
|
+
logError
|
|
48
|
+
} from "./chunk-yysj6sxt.js";
|
|
49
|
+
import {
|
|
50
|
+
init_debug,
|
|
51
|
+
init_errors,
|
|
52
|
+
logForDebugging,
|
|
53
|
+
toError
|
|
54
|
+
} from "./chunk-sbbj6ta3.js";
|
|
55
|
+
import {
|
|
56
|
+
__toESM
|
|
57
|
+
} from "./chunk-qp2qdcda.js";
|
|
58
|
+
|
|
59
|
+
// src/hooks/useManagePlugins.ts
|
|
60
|
+
init_notifications();
|
|
61
|
+
init_analytics();
|
|
62
|
+
init_manager();
|
|
63
|
+
init_AppState();
|
|
64
|
+
init_array();
|
|
65
|
+
init_debug();
|
|
66
|
+
init_diagLogs();
|
|
67
|
+
init_errors();
|
|
68
|
+
init_log();
|
|
69
|
+
init_loadPluginAgents();
|
|
70
|
+
init_loadPluginCommands();
|
|
71
|
+
init_loadPluginHooks();
|
|
72
|
+
init_lspPluginIntegration();
|
|
73
|
+
init_mcpPluginIntegration();
|
|
74
|
+
var import_react = __toESM(require_react(), 1);
|
|
75
|
+
init_pluginFlagging();
|
|
76
|
+
init_pluginLoader();
|
|
77
|
+
function useManagePlugins({
|
|
78
|
+
enabled = true
|
|
79
|
+
} = {}) {
|
|
80
|
+
const setAppState = useSetAppState();
|
|
81
|
+
const needsRefresh = useAppState((s) => s.plugins.needsRefresh);
|
|
82
|
+
const { addNotification } = useNotifications();
|
|
83
|
+
const initialPluginLoad = import_react.useCallback(async () => {
|
|
84
|
+
try {
|
|
85
|
+
const { enabled: enabled2, disabled, errors } = await loadAllPlugins();
|
|
86
|
+
await detectAndUninstallDelistedPlugins();
|
|
87
|
+
const flagged = getFlaggedPlugins();
|
|
88
|
+
if (Object.keys(flagged).length > 0) {
|
|
89
|
+
addNotification({
|
|
90
|
+
key: "plugin-delisted-flagged",
|
|
91
|
+
text: "Plugins flagged. Check /plugins",
|
|
92
|
+
color: "warning",
|
|
93
|
+
priority: "high"
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
let commands = [];
|
|
97
|
+
let agents = [];
|
|
98
|
+
try {
|
|
99
|
+
commands = await getPluginCommands();
|
|
100
|
+
} catch (error) {
|
|
101
|
+
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
102
|
+
errors.push({
|
|
103
|
+
type: "generic-error",
|
|
104
|
+
source: "plugin-commands",
|
|
105
|
+
error: `Failed to load plugin commands: ${errorMessage}`
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
try {
|
|
109
|
+
agents = await loadPluginAgents();
|
|
110
|
+
} catch (error) {
|
|
111
|
+
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
112
|
+
errors.push({
|
|
113
|
+
type: "generic-error",
|
|
114
|
+
source: "plugin-agents",
|
|
115
|
+
error: `Failed to load plugin agents: ${errorMessage}`
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
try {
|
|
119
|
+
await loadPluginHooks();
|
|
120
|
+
} catch (error) {
|
|
121
|
+
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
122
|
+
errors.push({
|
|
123
|
+
type: "generic-error",
|
|
124
|
+
source: "plugin-hooks",
|
|
125
|
+
error: `Failed to load plugin hooks: ${errorMessage}`
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
const mcpServerCounts = await Promise.all(enabled2.map(async (p) => {
|
|
129
|
+
if (p.mcpServers)
|
|
130
|
+
return Object.keys(p.mcpServers).length;
|
|
131
|
+
const servers = await loadPluginMcpServers(p, errors);
|
|
132
|
+
if (servers)
|
|
133
|
+
p.mcpServers = servers;
|
|
134
|
+
return servers ? Object.keys(servers).length : 0;
|
|
135
|
+
}));
|
|
136
|
+
const mcp_count = mcpServerCounts.reduce((sum, n) => sum + n, 0);
|
|
137
|
+
const lspServerCounts = await Promise.all(enabled2.map(async (p) => {
|
|
138
|
+
if (p.lspServers)
|
|
139
|
+
return Object.keys(p.lspServers).length;
|
|
140
|
+
const servers = await loadPluginLspServers(p, errors);
|
|
141
|
+
if (servers)
|
|
142
|
+
p.lspServers = servers;
|
|
143
|
+
return servers ? Object.keys(servers).length : 0;
|
|
144
|
+
}));
|
|
145
|
+
const lsp_count = lspServerCounts.reduce((sum, n) => sum + n, 0);
|
|
146
|
+
reinitializeLspServerManager();
|
|
147
|
+
setAppState((prevState) => {
|
|
148
|
+
const existingLspErrors = prevState.plugins.errors.filter((e) => e.source === "lsp-manager" || e.source.startsWith("plugin:"));
|
|
149
|
+
const newErrorKeys = new Set(errors.map((e) => e.type === "generic-error" ? `generic-error:${e.source}:${e.error}` : `${e.type}:${e.source}`));
|
|
150
|
+
const filteredExisting = existingLspErrors.filter((e) => {
|
|
151
|
+
const key = e.type === "generic-error" ? `generic-error:${e.source}:${e.error}` : `${e.type}:${e.source}`;
|
|
152
|
+
return !newErrorKeys.has(key);
|
|
153
|
+
});
|
|
154
|
+
const mergedErrors = [...filteredExisting, ...errors];
|
|
155
|
+
return {
|
|
156
|
+
...prevState,
|
|
157
|
+
plugins: {
|
|
158
|
+
...prevState.plugins,
|
|
159
|
+
enabled: enabled2,
|
|
160
|
+
disabled,
|
|
161
|
+
commands,
|
|
162
|
+
errors: mergedErrors
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
});
|
|
166
|
+
logForDebugging(`Loaded plugins - Enabled: ${enabled2.length}, Disabled: ${disabled.length}, Commands: ${commands.length}, Agents: ${agents.length}, Errors: ${errors.length}`);
|
|
167
|
+
const hook_count = enabled2.reduce((sum, p) => {
|
|
168
|
+
if (!p.hooksConfig)
|
|
169
|
+
return sum;
|
|
170
|
+
return sum + Object.values(p.hooksConfig).reduce((s, matchers) => s + (matchers?.reduce((h, m) => h + m.hooks.length, 0) ?? 0), 0);
|
|
171
|
+
}, 0);
|
|
172
|
+
return {
|
|
173
|
+
enabled_count: enabled2.length,
|
|
174
|
+
disabled_count: disabled.length,
|
|
175
|
+
inline_count: count(enabled2, (p) => p.source.endsWith("@inline")),
|
|
176
|
+
marketplace_count: count(enabled2, (p) => !p.source.endsWith("@inline")),
|
|
177
|
+
error_count: errors.length,
|
|
178
|
+
skill_count: commands.length,
|
|
179
|
+
agent_count: agents.length,
|
|
180
|
+
hook_count,
|
|
181
|
+
mcp_count,
|
|
182
|
+
lsp_count,
|
|
183
|
+
ant_enabled_names: process.env.USER_TYPE === "ant" && enabled2.length > 0 ? enabled2.map((p) => p.name).sort().join(",") : undefined
|
|
184
|
+
};
|
|
185
|
+
} catch (error) {
|
|
186
|
+
const errorObj = toError(error);
|
|
187
|
+
logError(errorObj);
|
|
188
|
+
logForDebugging(`Error loading plugins: ${error}`);
|
|
189
|
+
setAppState((prevState) => {
|
|
190
|
+
const existingLspErrors = prevState.plugins.errors.filter((e) => e.source === "lsp-manager" || e.source.startsWith("plugin:"));
|
|
191
|
+
const newError = {
|
|
192
|
+
type: "generic-error",
|
|
193
|
+
source: "plugin-system",
|
|
194
|
+
error: errorObj.message
|
|
195
|
+
};
|
|
196
|
+
return {
|
|
197
|
+
...prevState,
|
|
198
|
+
plugins: {
|
|
199
|
+
...prevState.plugins,
|
|
200
|
+
enabled: [],
|
|
201
|
+
disabled: [],
|
|
202
|
+
commands: [],
|
|
203
|
+
errors: [...existingLspErrors, newError]
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
});
|
|
207
|
+
return {
|
|
208
|
+
enabled_count: 0,
|
|
209
|
+
disabled_count: 0,
|
|
210
|
+
inline_count: 0,
|
|
211
|
+
marketplace_count: 0,
|
|
212
|
+
error_count: 1,
|
|
213
|
+
skill_count: 0,
|
|
214
|
+
agent_count: 0,
|
|
215
|
+
hook_count: 0,
|
|
216
|
+
mcp_count: 0,
|
|
217
|
+
lsp_count: 0,
|
|
218
|
+
load_failed: true,
|
|
219
|
+
ant_enabled_names: undefined
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
}, [setAppState, addNotification]);
|
|
223
|
+
import_react.useEffect(() => {
|
|
224
|
+
if (!enabled)
|
|
225
|
+
return;
|
|
226
|
+
initialPluginLoad().then((metrics) => {
|
|
227
|
+
const { ant_enabled_names, ...baseMetrics } = metrics;
|
|
228
|
+
const allMetrics = {
|
|
229
|
+
...baseMetrics,
|
|
230
|
+
has_custom_plugin_cache_dir: !!process.env.CLAUDE_CODE_PLUGIN_CACHE_DIR
|
|
231
|
+
};
|
|
232
|
+
logEvent("tengu_plugins_loaded", {
|
|
233
|
+
...allMetrics,
|
|
234
|
+
...ant_enabled_names !== undefined && {
|
|
235
|
+
enabled_names: ant_enabled_names
|
|
236
|
+
}
|
|
237
|
+
});
|
|
238
|
+
logForDiagnosticsNoPII("info", "tengu_plugins_loaded", allMetrics);
|
|
239
|
+
});
|
|
240
|
+
}, [initialPluginLoad, enabled]);
|
|
241
|
+
import_react.useEffect(() => {
|
|
242
|
+
if (!enabled || !needsRefresh)
|
|
243
|
+
return;
|
|
244
|
+
addNotification({
|
|
245
|
+
key: "plugin-reload-pending",
|
|
246
|
+
text: "Plugins changed. Run /reload-plugins to activate.",
|
|
247
|
+
color: "suggestion",
|
|
248
|
+
priority: "low"
|
|
249
|
+
});
|
|
250
|
+
}, [enabled, needsRefresh, addNotification]);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export { useManagePlugins };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
init_sessionFileAccessHooks,
|
|
4
|
+
isMemoryFileAccess,
|
|
5
|
+
registerSessionFileAccessHooks
|
|
6
|
+
} from "./chunk-730qrdey.js";
|
|
7
|
+
import"./chunk-cfmxfyg6.js";
|
|
8
|
+
import"./chunk-vwtd8nde.js";
|
|
9
|
+
import"./chunk-nsw7n8c5.js";
|
|
10
|
+
import"./chunk-v7n7nnwc.js";
|
|
11
|
+
import"./chunk-t0rgmccj.js";
|
|
12
|
+
import"./chunk-tggpkxkz.js";
|
|
13
|
+
import"./chunk-2gzv8nrw.js";
|
|
14
|
+
import"./chunk-ehtwnxpg.js";
|
|
15
|
+
import"./chunk-xfxyj6qk.js";
|
|
16
|
+
import"./chunk-n8326eqb.js";
|
|
17
|
+
import"./chunk-vhjx5fag.js";
|
|
18
|
+
import"./chunk-ps540063.js";
|
|
19
|
+
import"./chunk-fz0qs5hv.js";
|
|
20
|
+
import"./chunk-j5hc27hv.js";
|
|
21
|
+
import"./chunk-cgfdkzhb.js";
|
|
22
|
+
import"./chunk-re8evv5h.js";
|
|
23
|
+
import"./chunk-g3jde8ef.js";
|
|
24
|
+
import"./chunk-9gbamk79.js";
|
|
25
|
+
import"./chunk-6p1yy212.js";
|
|
26
|
+
import"./chunk-gv0tqhg0.js";
|
|
27
|
+
import"./chunk-gdr19kp1.js";
|
|
28
|
+
import"./chunk-zp37prdd.js";
|
|
29
|
+
import"./chunk-7m2nd8da.js";
|
|
30
|
+
import"./chunk-ps49ymvj.js";
|
|
31
|
+
import"./chunk-g338npwr.js";
|
|
32
|
+
import"./chunk-ya2a18ws.js";
|
|
33
|
+
import"./chunk-zk2wsm7d.js";
|
|
34
|
+
import"./chunk-14as9yqj.js";
|
|
35
|
+
import"./chunk-7e6ahfxz.js";
|
|
36
|
+
import"./chunk-vn4hnzzj.js";
|
|
37
|
+
import"./chunk-3tqnjgfx.js";
|
|
38
|
+
import"./chunk-eebcvtbb.js";
|
|
39
|
+
import"./chunk-xq4cfvpn.js";
|
|
40
|
+
import"./chunk-4qz9vbs1.js";
|
|
41
|
+
import"./chunk-gmaybtrd.js";
|
|
42
|
+
import"./chunk-b75fzr8e.js";
|
|
43
|
+
import"./chunk-g0j0t6qk.js";
|
|
44
|
+
import"./chunk-3c25bcsw.js";
|
|
45
|
+
import"./chunk-nj17bhkh.js";
|
|
46
|
+
import"./chunk-55wgxwa9.js";
|
|
47
|
+
import"./chunk-vqk1n5qr.js";
|
|
48
|
+
import"./chunk-4jm600zv.js";
|
|
49
|
+
import"./chunk-wn2268qd.js";
|
|
50
|
+
import"./chunk-vqvd3qz0.js";
|
|
51
|
+
import"./chunk-f5ma3nh5.js";
|
|
52
|
+
import"./chunk-qz2x630m.js";
|
|
53
|
+
import"./chunk-d9kz373t.js";
|
|
54
|
+
import"./chunk-p2816w9z.js";
|
|
55
|
+
import"./chunk-v9smspw2.js";
|
|
56
|
+
import"./chunk-v1kzp02e.js";
|
|
57
|
+
import"./chunk-0vkfrmqm.js";
|
|
58
|
+
import"./chunk-0xjaqda8.js";
|
|
59
|
+
import"./chunk-res15ktd.js";
|
|
60
|
+
import"./chunk-wgcssf6v.js";
|
|
61
|
+
import"./chunk-cdz5yb0r.js";
|
|
62
|
+
import"./chunk-h0rbjg6x.js";
|
|
63
|
+
import"./chunk-dstxhxsx.js";
|
|
64
|
+
import"./chunk-b8x1gk3y.js";
|
|
65
|
+
import"./chunk-9k2drwej.js";
|
|
66
|
+
import"./chunk-qnfx3qtx.js";
|
|
67
|
+
import"./chunk-fbpftpf0.js";
|
|
68
|
+
import"./chunk-3vs3nm7w.js";
|
|
69
|
+
import"./chunk-gzzfhtdv.js";
|
|
70
|
+
import"./chunk-yysj6sxt.js";
|
|
71
|
+
import"./chunk-8tnsngw2.js";
|
|
72
|
+
import"./chunk-8bedvdm1.js";
|
|
73
|
+
import"./chunk-7wm5s02e.js";
|
|
74
|
+
import"./chunk-sbbj6ta3.js";
|
|
75
|
+
import"./chunk-fbv4apne.js";
|
|
76
|
+
import"./chunk-raqgs410.js";
|
|
77
|
+
import"./chunk-qqfa0dqg.js";
|
|
78
|
+
import"./chunk-hqmz36b3.js";
|
|
79
|
+
import"./chunk-4g3v8y12.js";
|
|
80
|
+
import"./chunk-7739pg2c.js";
|
|
81
|
+
import"./chunk-xszk7n10.js";
|
|
82
|
+
import"./chunk-sdj9b9wh.js";
|
|
83
|
+
import"./chunk-qp2qdcda.js";
|
|
84
|
+
init_sessionFileAccessHooks();
|
|
85
|
+
|
|
86
|
+
export {
|
|
87
|
+
registerSessionFileAccessHooks,
|
|
88
|
+
isMemoryFileAccess
|
|
89
|
+
};
|
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
describeMcpConfigFilePath,
|
|
4
|
+
getMcpConfigsByScope,
|
|
5
|
+
getScopeLabel,
|
|
6
|
+
init_config,
|
|
7
|
+
init_utils
|
|
8
|
+
} from "./chunk-730qrdey.js";
|
|
9
|
+
import {
|
|
10
|
+
Link,
|
|
11
|
+
ThemedBox_default,
|
|
12
|
+
ThemedText,
|
|
13
|
+
init_ink,
|
|
14
|
+
require_compiler_runtime
|
|
15
|
+
} from "./chunk-zp37prdd.js";
|
|
16
|
+
import {
|
|
17
|
+
require_jsx_dev_runtime
|
|
18
|
+
} from "./chunk-g338npwr.js";
|
|
19
|
+
import {
|
|
20
|
+
__esm,
|
|
21
|
+
__toESM
|
|
22
|
+
} from "./chunk-qp2qdcda.js";
|
|
23
|
+
|
|
24
|
+
// src/components/mcp/McpParsingWarnings.tsx
|
|
25
|
+
function McpConfigErrorSection(t0) {
|
|
26
|
+
const $ = import_compiler_runtime.c(26);
|
|
27
|
+
const {
|
|
28
|
+
scope,
|
|
29
|
+
parsingErrors,
|
|
30
|
+
warnings
|
|
31
|
+
} = t0;
|
|
32
|
+
const hasErrors = parsingErrors.length > 0;
|
|
33
|
+
const hasWarnings = warnings.length > 0;
|
|
34
|
+
if (!hasErrors && !hasWarnings) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
let t1;
|
|
38
|
+
if ($[0] !== hasErrors || $[1] !== hasWarnings) {
|
|
39
|
+
t1 = (hasErrors || hasWarnings) && /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
40
|
+
color: hasErrors ? "error" : "warning",
|
|
41
|
+
children: [
|
|
42
|
+
"[",
|
|
43
|
+
hasErrors ? "Failed to parse" : "Contains warnings",
|
|
44
|
+
"]",
|
|
45
|
+
" "
|
|
46
|
+
]
|
|
47
|
+
}, undefined, true, undefined, this);
|
|
48
|
+
$[0] = hasErrors;
|
|
49
|
+
$[1] = hasWarnings;
|
|
50
|
+
$[2] = t1;
|
|
51
|
+
} else {
|
|
52
|
+
t1 = $[2];
|
|
53
|
+
}
|
|
54
|
+
let t2;
|
|
55
|
+
if ($[3] !== scope) {
|
|
56
|
+
t2 = getScopeLabel(scope);
|
|
57
|
+
$[3] = scope;
|
|
58
|
+
$[4] = t2;
|
|
59
|
+
} else {
|
|
60
|
+
t2 = $[4];
|
|
61
|
+
}
|
|
62
|
+
let t3;
|
|
63
|
+
if ($[5] !== t2) {
|
|
64
|
+
t3 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
65
|
+
children: t2
|
|
66
|
+
}, undefined, false, undefined, this);
|
|
67
|
+
$[5] = t2;
|
|
68
|
+
$[6] = t3;
|
|
69
|
+
} else {
|
|
70
|
+
t3 = $[6];
|
|
71
|
+
}
|
|
72
|
+
let t4;
|
|
73
|
+
if ($[7] !== t1 || $[8] !== t3) {
|
|
74
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
75
|
+
children: [
|
|
76
|
+
t1,
|
|
77
|
+
t3
|
|
78
|
+
]
|
|
79
|
+
}, undefined, true, undefined, this);
|
|
80
|
+
$[7] = t1;
|
|
81
|
+
$[8] = t3;
|
|
82
|
+
$[9] = t4;
|
|
83
|
+
} else {
|
|
84
|
+
t4 = $[9];
|
|
85
|
+
}
|
|
86
|
+
let t5;
|
|
87
|
+
if ($[10] === Symbol.for("react.memo_cache_sentinel")) {
|
|
88
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
89
|
+
dimColor: true,
|
|
90
|
+
children: "Location: "
|
|
91
|
+
}, undefined, false, undefined, this);
|
|
92
|
+
$[10] = t5;
|
|
93
|
+
} else {
|
|
94
|
+
t5 = $[10];
|
|
95
|
+
}
|
|
96
|
+
let t6;
|
|
97
|
+
if ($[11] !== scope) {
|
|
98
|
+
t6 = describeMcpConfigFilePath(scope);
|
|
99
|
+
$[11] = scope;
|
|
100
|
+
$[12] = t6;
|
|
101
|
+
} else {
|
|
102
|
+
t6 = $[12];
|
|
103
|
+
}
|
|
104
|
+
let t7;
|
|
105
|
+
if ($[13] !== t6) {
|
|
106
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
107
|
+
children: [
|
|
108
|
+
t5,
|
|
109
|
+
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
110
|
+
dimColor: true,
|
|
111
|
+
children: t6
|
|
112
|
+
}, undefined, false, undefined, this)
|
|
113
|
+
]
|
|
114
|
+
}, undefined, true, undefined, this);
|
|
115
|
+
$[13] = t6;
|
|
116
|
+
$[14] = t7;
|
|
117
|
+
} else {
|
|
118
|
+
t7 = $[14];
|
|
119
|
+
}
|
|
120
|
+
let t8;
|
|
121
|
+
if ($[15] !== parsingErrors) {
|
|
122
|
+
t8 = parsingErrors.map(_temp);
|
|
123
|
+
$[15] = parsingErrors;
|
|
124
|
+
$[16] = t8;
|
|
125
|
+
} else {
|
|
126
|
+
t8 = $[16];
|
|
127
|
+
}
|
|
128
|
+
let t9;
|
|
129
|
+
if ($[17] !== warnings) {
|
|
130
|
+
t9 = warnings.map(_temp2);
|
|
131
|
+
$[17] = warnings;
|
|
132
|
+
$[18] = t9;
|
|
133
|
+
} else {
|
|
134
|
+
t9 = $[18];
|
|
135
|
+
}
|
|
136
|
+
let t10;
|
|
137
|
+
if ($[19] !== t8 || $[20] !== t9) {
|
|
138
|
+
t10 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
139
|
+
marginLeft: 1,
|
|
140
|
+
flexDirection: "column",
|
|
141
|
+
children: [
|
|
142
|
+
t8,
|
|
143
|
+
t9
|
|
144
|
+
]
|
|
145
|
+
}, undefined, true, undefined, this);
|
|
146
|
+
$[19] = t8;
|
|
147
|
+
$[20] = t9;
|
|
148
|
+
$[21] = t10;
|
|
149
|
+
} else {
|
|
150
|
+
t10 = $[21];
|
|
151
|
+
}
|
|
152
|
+
let t11;
|
|
153
|
+
if ($[22] !== t10 || $[23] !== t4 || $[24] !== t7) {
|
|
154
|
+
t11 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
155
|
+
flexDirection: "column",
|
|
156
|
+
marginTop: 1,
|
|
157
|
+
children: [
|
|
158
|
+
t4,
|
|
159
|
+
t7,
|
|
160
|
+
t10
|
|
161
|
+
]
|
|
162
|
+
}, undefined, true, undefined, this);
|
|
163
|
+
$[22] = t10;
|
|
164
|
+
$[23] = t4;
|
|
165
|
+
$[24] = t7;
|
|
166
|
+
$[25] = t11;
|
|
167
|
+
} else {
|
|
168
|
+
t11 = $[25];
|
|
169
|
+
}
|
|
170
|
+
return t11;
|
|
171
|
+
}
|
|
172
|
+
function _temp2(warning, i_0) {
|
|
173
|
+
const serverName_0 = warning.mcpErrorMetadata?.serverName;
|
|
174
|
+
return /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
175
|
+
children: /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
176
|
+
children: [
|
|
177
|
+
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
178
|
+
dimColor: true,
|
|
179
|
+
children: "\u2514 "
|
|
180
|
+
}, undefined, false, undefined, this),
|
|
181
|
+
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
182
|
+
color: "warning",
|
|
183
|
+
children: "[Warning]"
|
|
184
|
+
}, undefined, false, undefined, this),
|
|
185
|
+
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
186
|
+
dimColor: true,
|
|
187
|
+
children: [
|
|
188
|
+
" ",
|
|
189
|
+
serverName_0 && `[${serverName_0}] `,
|
|
190
|
+
warning.path && warning.path !== "" ? `${warning.path}: ` : "",
|
|
191
|
+
warning.message
|
|
192
|
+
]
|
|
193
|
+
}, undefined, true, undefined, this)
|
|
194
|
+
]
|
|
195
|
+
}, undefined, true, undefined, this)
|
|
196
|
+
}, `warning-${i_0}`, false, undefined, this);
|
|
197
|
+
}
|
|
198
|
+
function _temp(error, i) {
|
|
199
|
+
const serverName = error.mcpErrorMetadata?.serverName;
|
|
200
|
+
return /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
201
|
+
children: /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
202
|
+
children: [
|
|
203
|
+
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
204
|
+
dimColor: true,
|
|
205
|
+
children: "\u2514 "
|
|
206
|
+
}, undefined, false, undefined, this),
|
|
207
|
+
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
208
|
+
color: "error",
|
|
209
|
+
children: "[Error]"
|
|
210
|
+
}, undefined, false, undefined, this),
|
|
211
|
+
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
212
|
+
dimColor: true,
|
|
213
|
+
children: [
|
|
214
|
+
" ",
|
|
215
|
+
serverName && `[${serverName}] `,
|
|
216
|
+
error.path && error.path !== "" ? `${error.path}: ` : "",
|
|
217
|
+
error.message
|
|
218
|
+
]
|
|
219
|
+
}, undefined, true, undefined, this)
|
|
220
|
+
]
|
|
221
|
+
}, undefined, true, undefined, this)
|
|
222
|
+
}, `error-${i}`, false, undefined, this);
|
|
223
|
+
}
|
|
224
|
+
function McpParsingWarnings() {
|
|
225
|
+
const $ = import_compiler_runtime.c(6);
|
|
226
|
+
let t0;
|
|
227
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
228
|
+
t0 = {
|
|
229
|
+
scope: "user",
|
|
230
|
+
config: getMcpConfigsByScope("user")
|
|
231
|
+
};
|
|
232
|
+
$[0] = t0;
|
|
233
|
+
} else {
|
|
234
|
+
t0 = $[0];
|
|
235
|
+
}
|
|
236
|
+
let t1;
|
|
237
|
+
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
238
|
+
t1 = {
|
|
239
|
+
scope: "project",
|
|
240
|
+
config: getMcpConfigsByScope("project")
|
|
241
|
+
};
|
|
242
|
+
$[1] = t1;
|
|
243
|
+
} else {
|
|
244
|
+
t1 = $[1];
|
|
245
|
+
}
|
|
246
|
+
let t2;
|
|
247
|
+
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
248
|
+
t2 = {
|
|
249
|
+
scope: "local",
|
|
250
|
+
config: getMcpConfigsByScope("local")
|
|
251
|
+
};
|
|
252
|
+
$[2] = t2;
|
|
253
|
+
} else {
|
|
254
|
+
t2 = $[2];
|
|
255
|
+
}
|
|
256
|
+
let t3;
|
|
257
|
+
if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
258
|
+
t3 = [t0, t1, t2, {
|
|
259
|
+
scope: "enterprise",
|
|
260
|
+
config: getMcpConfigsByScope("enterprise")
|
|
261
|
+
}];
|
|
262
|
+
$[3] = t3;
|
|
263
|
+
} else {
|
|
264
|
+
t3 = $[3];
|
|
265
|
+
}
|
|
266
|
+
const scopes = t3;
|
|
267
|
+
const hasParsingErrors = scopes.some(_temp3);
|
|
268
|
+
const hasWarnings = scopes.some(_temp4);
|
|
269
|
+
if (!hasParsingErrors && !hasWarnings) {
|
|
270
|
+
return null;
|
|
271
|
+
}
|
|
272
|
+
let t4;
|
|
273
|
+
if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
|
|
274
|
+
t4 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
275
|
+
bold: true,
|
|
276
|
+
children: "MCP Config Diagnostics"
|
|
277
|
+
}, undefined, false, undefined, this);
|
|
278
|
+
$[4] = t4;
|
|
279
|
+
} else {
|
|
280
|
+
t4 = $[4];
|
|
281
|
+
}
|
|
282
|
+
let t5;
|
|
283
|
+
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
284
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
285
|
+
flexDirection: "column",
|
|
286
|
+
marginTop: 1,
|
|
287
|
+
marginBottom: 1,
|
|
288
|
+
children: [
|
|
289
|
+
t4,
|
|
290
|
+
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
291
|
+
marginTop: 1,
|
|
292
|
+
children: /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
293
|
+
dimColor: true,
|
|
294
|
+
children: [
|
|
295
|
+
"For help configuring MCP servers, see:",
|
|
296
|
+
" ",
|
|
297
|
+
/* @__PURE__ */ jsx_dev_runtime.jsxDEV(Link, {
|
|
298
|
+
url: "https://code.claude.com/docs/en/mcp",
|
|
299
|
+
children: "https://code.claude.com/docs/en/mcp"
|
|
300
|
+
}, undefined, false, undefined, this)
|
|
301
|
+
]
|
|
302
|
+
}, undefined, true, undefined, this)
|
|
303
|
+
}, undefined, false, undefined, this),
|
|
304
|
+
scopes.map(_temp5)
|
|
305
|
+
]
|
|
306
|
+
}, undefined, true, undefined, this);
|
|
307
|
+
$[5] = t5;
|
|
308
|
+
} else {
|
|
309
|
+
t5 = $[5];
|
|
310
|
+
}
|
|
311
|
+
return t5;
|
|
312
|
+
}
|
|
313
|
+
function _temp5(t0) {
|
|
314
|
+
const {
|
|
315
|
+
scope,
|
|
316
|
+
config: config_1
|
|
317
|
+
} = t0;
|
|
318
|
+
return /* @__PURE__ */ jsx_dev_runtime.jsxDEV(McpConfigErrorSection, {
|
|
319
|
+
scope,
|
|
320
|
+
parsingErrors: filterErrors(config_1.errors, "fatal"),
|
|
321
|
+
warnings: filterErrors(config_1.errors, "warning")
|
|
322
|
+
}, scope, false, undefined, this);
|
|
323
|
+
}
|
|
324
|
+
function _temp4(t0) {
|
|
325
|
+
const {
|
|
326
|
+
config: config_0
|
|
327
|
+
} = t0;
|
|
328
|
+
return filterErrors(config_0.errors, "warning").length > 0;
|
|
329
|
+
}
|
|
330
|
+
function _temp3(t0) {
|
|
331
|
+
const {
|
|
332
|
+
config
|
|
333
|
+
} = t0;
|
|
334
|
+
return filterErrors(config.errors, "fatal").length > 0;
|
|
335
|
+
}
|
|
336
|
+
function filterErrors(errors, severity) {
|
|
337
|
+
return errors.filter((e) => e.mcpErrorMetadata?.severity === severity);
|
|
338
|
+
}
|
|
339
|
+
var import_compiler_runtime, jsx_dev_runtime;
|
|
340
|
+
var init_McpParsingWarnings = __esm(() => {
|
|
341
|
+
init_config();
|
|
342
|
+
init_utils();
|
|
343
|
+
init_ink();
|
|
344
|
+
import_compiler_runtime = __toESM(require_compiler_runtime(), 1);
|
|
345
|
+
jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
|
|
346
|
+
});
|
|
347
|
+
|
|
348
|
+
export { McpParsingWarnings, init_McpParsingWarnings };
|