@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,338 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
BROWSER_TOOLS,
|
|
4
|
+
init_src
|
|
5
|
+
} from "./chunk-gyj242zr.js";
|
|
6
|
+
import {
|
|
7
|
+
getChromeSystemPrompt,
|
|
8
|
+
init_prompt
|
|
9
|
+
} from "./chunk-tggpkxkz.js";
|
|
10
|
+
import {
|
|
11
|
+
CLAUDE_IN_CHROME_MCP_SERVER_NAME,
|
|
12
|
+
getAllBrowserDataPaths,
|
|
13
|
+
getAllNativeMessagingHostsDirs,
|
|
14
|
+
getAllWindowsRegistryKeys,
|
|
15
|
+
init_common,
|
|
16
|
+
openInChrome
|
|
17
|
+
} from "./chunk-j5hc27hv.js";
|
|
18
|
+
import {
|
|
19
|
+
getFeatureValue_CACHED_MAY_BE_STALE,
|
|
20
|
+
getGlobalConfig,
|
|
21
|
+
init_config1 as init_config,
|
|
22
|
+
init_growthbook,
|
|
23
|
+
saveGlobalConfig
|
|
24
|
+
} from "./chunk-3tqnjgfx.js";
|
|
25
|
+
import {
|
|
26
|
+
getPlatform,
|
|
27
|
+
init_platform
|
|
28
|
+
} from "./chunk-nj17bhkh.js";
|
|
29
|
+
import {
|
|
30
|
+
init_bundledMode,
|
|
31
|
+
isInBundledMode
|
|
32
|
+
} from "./chunk-wn2268qd.js";
|
|
33
|
+
import {
|
|
34
|
+
execFileNoThrowWithCwd,
|
|
35
|
+
init_execFileNoThrow
|
|
36
|
+
} from "./chunk-gzzfhtdv.js";
|
|
37
|
+
import {
|
|
38
|
+
init_debug,
|
|
39
|
+
init_errors,
|
|
40
|
+
init_slowOperations,
|
|
41
|
+
isFsInaccessible,
|
|
42
|
+
jsonStringify,
|
|
43
|
+
logForDebugging
|
|
44
|
+
} from "./chunk-sbbj6ta3.js";
|
|
45
|
+
import {
|
|
46
|
+
getClaudeConfigHomeDir,
|
|
47
|
+
init_envUtils,
|
|
48
|
+
isEnvDefinedFalsy,
|
|
49
|
+
isEnvTruthy
|
|
50
|
+
} from "./chunk-raqgs410.js";
|
|
51
|
+
import {
|
|
52
|
+
getIsInteractive,
|
|
53
|
+
getIsNonInteractiveSession,
|
|
54
|
+
getSessionBypassPermissionsMode,
|
|
55
|
+
init_state
|
|
56
|
+
} from "./chunk-qqfa0dqg.js";
|
|
57
|
+
import {
|
|
58
|
+
__esm
|
|
59
|
+
} from "./chunk-qp2qdcda.js";
|
|
60
|
+
|
|
61
|
+
// src/utils/claudeInChrome/setupPortable.ts
|
|
62
|
+
import { readdir } from "fs/promises";
|
|
63
|
+
import { join } from "path";
|
|
64
|
+
function getExtensionIds() {
|
|
65
|
+
return process.env.USER_TYPE === "ant" ? [PROD_EXTENSION_ID, DEV_EXTENSION_ID, ANT_EXTENSION_ID] : [PROD_EXTENSION_ID];
|
|
66
|
+
}
|
|
67
|
+
async function detectExtensionInstallationPortable(browserPaths, log) {
|
|
68
|
+
if (browserPaths.length === 0) {
|
|
69
|
+
log?.(`[Claude in Chrome] No browser paths to check`);
|
|
70
|
+
return { isInstalled: false, browser: null };
|
|
71
|
+
}
|
|
72
|
+
const extensionIds = getExtensionIds();
|
|
73
|
+
for (const { browser, path: browserBasePath } of browserPaths) {
|
|
74
|
+
let browserProfileEntries = [];
|
|
75
|
+
try {
|
|
76
|
+
browserProfileEntries = await readdir(browserBasePath, {
|
|
77
|
+
withFileTypes: true
|
|
78
|
+
});
|
|
79
|
+
} catch (e) {
|
|
80
|
+
if (isFsInaccessible(e))
|
|
81
|
+
continue;
|
|
82
|
+
throw e;
|
|
83
|
+
}
|
|
84
|
+
const profileDirs = browserProfileEntries.filter((entry) => entry.isDirectory()).filter((entry) => entry.name === "Default" || entry.name.startsWith("Profile ")).map((entry) => entry.name);
|
|
85
|
+
if (profileDirs.length > 0) {
|
|
86
|
+
log?.(`[Claude in Chrome] Found ${browser} profiles: ${profileDirs.join(", ")}`);
|
|
87
|
+
}
|
|
88
|
+
for (const profile of profileDirs) {
|
|
89
|
+
for (const extensionId of extensionIds) {
|
|
90
|
+
const extensionPath = join(browserBasePath, profile, "Extensions", extensionId);
|
|
91
|
+
try {
|
|
92
|
+
await readdir(extensionPath);
|
|
93
|
+
log?.(`[Claude in Chrome] Extension ${extensionId} found in ${browser} ${profile}`);
|
|
94
|
+
return { isInstalled: true, browser };
|
|
95
|
+
} catch {}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
log?.(`[Claude in Chrome] Extension not found in any browser`);
|
|
100
|
+
return { isInstalled: false, browser: null };
|
|
101
|
+
}
|
|
102
|
+
async function isChromeExtensionInstalledPortable(browserPaths, log) {
|
|
103
|
+
const result = await detectExtensionInstallationPortable(browserPaths, log);
|
|
104
|
+
return result.isInstalled;
|
|
105
|
+
}
|
|
106
|
+
var PROD_EXTENSION_ID = "fcoeoabgfenejglbffodgkkbkcdhcgfn", DEV_EXTENSION_ID = "dihbgbndebgnbjfmelmegjepbnkhlgni", ANT_EXTENSION_ID = "dngcpimnedloihjnnfngkgjoidhnaolf";
|
|
107
|
+
var init_setupPortable = __esm(() => {
|
|
108
|
+
init_errors();
|
|
109
|
+
});
|
|
110
|
+
|
|
111
|
+
// src/utils/claudeInChrome/setup.ts
|
|
112
|
+
import { chmod, mkdir, readFile, writeFile } from "fs/promises";
|
|
113
|
+
import { homedir } from "os";
|
|
114
|
+
import { join as join2 } from "path";
|
|
115
|
+
import { fileURLToPath } from "url";
|
|
116
|
+
function shouldEnableClaudeInChrome(chromeFlag) {
|
|
117
|
+
if (getIsNonInteractiveSession() && chromeFlag !== true) {
|
|
118
|
+
return false;
|
|
119
|
+
}
|
|
120
|
+
if (chromeFlag === true) {
|
|
121
|
+
return true;
|
|
122
|
+
}
|
|
123
|
+
if (chromeFlag === false) {
|
|
124
|
+
return false;
|
|
125
|
+
}
|
|
126
|
+
if (isEnvTruthy(process.env.CLAUDE_CODE_ENABLE_CFC)) {
|
|
127
|
+
return true;
|
|
128
|
+
}
|
|
129
|
+
if (isEnvDefinedFalsy(process.env.CLAUDE_CODE_ENABLE_CFC)) {
|
|
130
|
+
return false;
|
|
131
|
+
}
|
|
132
|
+
const config = getGlobalConfig();
|
|
133
|
+
if (config.claudeInChromeDefaultEnabled !== undefined) {
|
|
134
|
+
return config.claudeInChromeDefaultEnabled;
|
|
135
|
+
}
|
|
136
|
+
return false;
|
|
137
|
+
}
|
|
138
|
+
function shouldAutoEnableClaudeInChrome() {
|
|
139
|
+
if (shouldAutoEnable !== undefined) {
|
|
140
|
+
return shouldAutoEnable;
|
|
141
|
+
}
|
|
142
|
+
shouldAutoEnable = getIsInteractive() && isChromeExtensionInstalled_CACHED_MAY_BE_STALE() && (process.env.USER_TYPE === "ant" || getFeatureValue_CACHED_MAY_BE_STALE("tengu_chrome_auto_enable", false));
|
|
143
|
+
return shouldAutoEnable;
|
|
144
|
+
}
|
|
145
|
+
function setupClaudeInChrome() {
|
|
146
|
+
const isNativeBuild = isInBundledMode();
|
|
147
|
+
const allowedTools = BROWSER_TOOLS.map((tool) => `mcp__claude-in-chrome__${tool.name}`);
|
|
148
|
+
const env = {};
|
|
149
|
+
if (getSessionBypassPermissionsMode()) {
|
|
150
|
+
env.CLAUDE_CHROME_PERMISSION_MODE = "skip_all_permission_checks";
|
|
151
|
+
}
|
|
152
|
+
const hasEnv = Object.keys(env).length > 0;
|
|
153
|
+
if (isNativeBuild) {
|
|
154
|
+
const execCommand = `"${process.execPath}" --chrome-native-host`;
|
|
155
|
+
createWrapperScript(execCommand).then((manifestBinaryPath) => installChromeNativeHostManifest(manifestBinaryPath)).catch((e) => logForDebugging(`[Claude in Chrome] Failed to install native host: ${e}`, { level: "error" }));
|
|
156
|
+
return {
|
|
157
|
+
mcpConfig: {
|
|
158
|
+
[CLAUDE_IN_CHROME_MCP_SERVER_NAME]: {
|
|
159
|
+
type: "stdio",
|
|
160
|
+
command: process.execPath,
|
|
161
|
+
args: ["--claude-in-chrome-mcp"],
|
|
162
|
+
scope: "dynamic",
|
|
163
|
+
...hasEnv && { env }
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
allowedTools,
|
|
167
|
+
systemPrompt: getChromeSystemPrompt()
|
|
168
|
+
};
|
|
169
|
+
} else {
|
|
170
|
+
const __filename2 = fileURLToPath(import.meta.url);
|
|
171
|
+
const __dirname2 = join2(__filename2, "..");
|
|
172
|
+
const cliPath = join2(__dirname2, "cli.js");
|
|
173
|
+
createWrapperScript(`"${process.execPath}" "${cliPath}" --chrome-native-host`).then((manifestBinaryPath) => installChromeNativeHostManifest(manifestBinaryPath)).catch((e) => logForDebugging(`[Claude in Chrome] Failed to install native host: ${e}`, { level: "error" }));
|
|
174
|
+
const mcpConfig = {
|
|
175
|
+
[CLAUDE_IN_CHROME_MCP_SERVER_NAME]: {
|
|
176
|
+
type: "stdio",
|
|
177
|
+
command: process.execPath,
|
|
178
|
+
args: [`${cliPath}`, "--claude-in-chrome-mcp"],
|
|
179
|
+
scope: "dynamic",
|
|
180
|
+
...hasEnv && { env }
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
return {
|
|
184
|
+
mcpConfig,
|
|
185
|
+
allowedTools,
|
|
186
|
+
systemPrompt: getChromeSystemPrompt()
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
function getNativeMessagingHostsDirs() {
|
|
191
|
+
const platform = getPlatform();
|
|
192
|
+
if (platform === "windows") {
|
|
193
|
+
const home = homedir();
|
|
194
|
+
const appData = process.env.APPDATA || join2(home, "AppData", "Local");
|
|
195
|
+
return [join2(appData, "Claude Code", "ChromeNativeHost")];
|
|
196
|
+
}
|
|
197
|
+
return getAllNativeMessagingHostsDirs().map(({ path }) => path);
|
|
198
|
+
}
|
|
199
|
+
async function installChromeNativeHostManifest(manifestBinaryPath) {
|
|
200
|
+
const manifestDirs = getNativeMessagingHostsDirs();
|
|
201
|
+
if (manifestDirs.length === 0) {
|
|
202
|
+
throw Error("Claude in Chrome Native Host not supported on this platform");
|
|
203
|
+
}
|
|
204
|
+
const manifest = {
|
|
205
|
+
name: NATIVE_HOST_IDENTIFIER,
|
|
206
|
+
description: "Claude Code Browser Extension Native Host",
|
|
207
|
+
path: manifestBinaryPath,
|
|
208
|
+
type: "stdio",
|
|
209
|
+
allowed_origins: [
|
|
210
|
+
`chrome-extension://fcoeoabgfenejglbffodgkkbkcdhcgfn/`,
|
|
211
|
+
...process.env.USER_TYPE === "ant" ? [
|
|
212
|
+
"chrome-extension://dihbgbndebgnbjfmelmegjepbnkhlgni/",
|
|
213
|
+
"chrome-extension://dngcpimnedloihjnnfngkgjoidhnaolf/"
|
|
214
|
+
] : []
|
|
215
|
+
]
|
|
216
|
+
};
|
|
217
|
+
const manifestContent = jsonStringify(manifest, null, 2);
|
|
218
|
+
let anyManifestUpdated = false;
|
|
219
|
+
for (const manifestDir of manifestDirs) {
|
|
220
|
+
const manifestPath = join2(manifestDir, NATIVE_HOST_MANIFEST_NAME);
|
|
221
|
+
const existingContent = await readFile(manifestPath, "utf-8").catch(() => null);
|
|
222
|
+
if (existingContent === manifestContent) {
|
|
223
|
+
continue;
|
|
224
|
+
}
|
|
225
|
+
try {
|
|
226
|
+
await mkdir(manifestDir, { recursive: true });
|
|
227
|
+
await writeFile(manifestPath, manifestContent);
|
|
228
|
+
logForDebugging(`[Claude in Chrome] Installed native host manifest at: ${manifestPath}`);
|
|
229
|
+
anyManifestUpdated = true;
|
|
230
|
+
} catch (error) {
|
|
231
|
+
logForDebugging(`[Claude in Chrome] Failed to install manifest at ${manifestPath}: ${error}`);
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
if (getPlatform() === "windows") {
|
|
235
|
+
const manifestPath = join2(manifestDirs[0], NATIVE_HOST_MANIFEST_NAME);
|
|
236
|
+
registerWindowsNativeHosts(manifestPath);
|
|
237
|
+
}
|
|
238
|
+
if (anyManifestUpdated) {
|
|
239
|
+
isChromeExtensionInstalled().then((isInstalled) => {
|
|
240
|
+
if (isInstalled) {
|
|
241
|
+
logForDebugging(`[Claude in Chrome] First-time install detected, opening reconnect page in browser`);
|
|
242
|
+
openInChrome(CHROME_EXTENSION_RECONNECT_URL);
|
|
243
|
+
} else {
|
|
244
|
+
logForDebugging(`[Claude in Chrome] First-time install detected, but extension not installed, skipping reconnect`);
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
function registerWindowsNativeHosts(manifestPath) {
|
|
250
|
+
const registryKeys = getAllWindowsRegistryKeys();
|
|
251
|
+
for (const { browser, key } of registryKeys) {
|
|
252
|
+
const fullKey = `${key}\\${NATIVE_HOST_IDENTIFIER}`;
|
|
253
|
+
execFileNoThrowWithCwd("reg", [
|
|
254
|
+
"add",
|
|
255
|
+
fullKey,
|
|
256
|
+
"/ve",
|
|
257
|
+
"/t",
|
|
258
|
+
"REG_SZ",
|
|
259
|
+
"/d",
|
|
260
|
+
manifestPath,
|
|
261
|
+
"/f"
|
|
262
|
+
]).then((result) => {
|
|
263
|
+
if (result.code === 0) {
|
|
264
|
+
logForDebugging(`[Claude in Chrome] Registered native host for ${browser} in Windows registry: ${fullKey}`);
|
|
265
|
+
} else {
|
|
266
|
+
logForDebugging(`[Claude in Chrome] Failed to register native host for ${browser} in Windows registry: ${result.stderr}`);
|
|
267
|
+
}
|
|
268
|
+
});
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
async function createWrapperScript(command) {
|
|
272
|
+
const platform = getPlatform();
|
|
273
|
+
const chromeDir = join2(getClaudeConfigHomeDir(), "chrome");
|
|
274
|
+
const wrapperPath = platform === "windows" ? join2(chromeDir, "chrome-native-host.bat") : join2(chromeDir, "chrome-native-host");
|
|
275
|
+
const scriptContent = platform === "windows" ? `@echo off
|
|
276
|
+
REM Chrome native host wrapper script
|
|
277
|
+
REM Generated by Claude Code - do not edit manually
|
|
278
|
+
${command}
|
|
279
|
+
` : `#!/bin/sh
|
|
280
|
+
# Chrome native host wrapper script
|
|
281
|
+
# Generated by Claude Code - do not edit manually
|
|
282
|
+
exec ${command}
|
|
283
|
+
`;
|
|
284
|
+
const existingContent = await readFile(wrapperPath, "utf-8").catch(() => null);
|
|
285
|
+
if (existingContent === scriptContent) {
|
|
286
|
+
return wrapperPath;
|
|
287
|
+
}
|
|
288
|
+
await mkdir(chromeDir, { recursive: true });
|
|
289
|
+
await writeFile(wrapperPath, scriptContent);
|
|
290
|
+
if (platform !== "windows") {
|
|
291
|
+
await chmod(wrapperPath, 493);
|
|
292
|
+
}
|
|
293
|
+
logForDebugging(`[Claude in Chrome] Created Chrome native host wrapper script: ${wrapperPath}`);
|
|
294
|
+
return wrapperPath;
|
|
295
|
+
}
|
|
296
|
+
function isChromeExtensionInstalled_CACHED_MAY_BE_STALE() {
|
|
297
|
+
isChromeExtensionInstalled().then((isInstalled) => {
|
|
298
|
+
if (!isInstalled) {
|
|
299
|
+
return;
|
|
300
|
+
}
|
|
301
|
+
const config = getGlobalConfig();
|
|
302
|
+
if (config.cachedChromeExtensionInstalled !== isInstalled) {
|
|
303
|
+
saveGlobalConfig((prev) => ({
|
|
304
|
+
...prev,
|
|
305
|
+
cachedChromeExtensionInstalled: isInstalled
|
|
306
|
+
}));
|
|
307
|
+
}
|
|
308
|
+
});
|
|
309
|
+
const cached = getGlobalConfig().cachedChromeExtensionInstalled;
|
|
310
|
+
return cached ?? false;
|
|
311
|
+
}
|
|
312
|
+
async function isChromeExtensionInstalled() {
|
|
313
|
+
const browserPaths = getAllBrowserDataPaths();
|
|
314
|
+
if (browserPaths.length === 0) {
|
|
315
|
+
logForDebugging(`[Claude in Chrome] Unsupported platform for extension detection: ${getPlatform()}`);
|
|
316
|
+
return false;
|
|
317
|
+
}
|
|
318
|
+
return isChromeExtensionInstalledPortable(browserPaths, logForDebugging);
|
|
319
|
+
}
|
|
320
|
+
var CHROME_EXTENSION_RECONNECT_URL = "https://clau.de/chrome/reconnect", NATIVE_HOST_IDENTIFIER = "com.anthropic.claude_code_browser_extension", NATIVE_HOST_MANIFEST_NAME, shouldAutoEnable = undefined;
|
|
321
|
+
var init_setup = __esm(() => {
|
|
322
|
+
init_src();
|
|
323
|
+
init_state();
|
|
324
|
+
init_growthbook();
|
|
325
|
+
init_bundledMode();
|
|
326
|
+
init_config();
|
|
327
|
+
init_debug();
|
|
328
|
+
init_envUtils();
|
|
329
|
+
init_execFileNoThrow();
|
|
330
|
+
init_platform();
|
|
331
|
+
init_slowOperations();
|
|
332
|
+
init_common();
|
|
333
|
+
init_prompt();
|
|
334
|
+
init_setupPortable();
|
|
335
|
+
NATIVE_HOST_MANIFEST_NAME = `${NATIVE_HOST_IDENTIFIER}.json`;
|
|
336
|
+
});
|
|
337
|
+
|
|
338
|
+
export { shouldEnableClaudeInChrome, shouldAutoEnableClaudeInChrome, setupClaudeInChrome, isChromeExtensionInstalled, init_setup };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
require_dist_cjs as require_dist_cjs2
|
|
4
|
+
} from "./chunk-n0qaeaa5.js";
|
|
5
|
+
import {
|
|
6
|
+
require_client
|
|
7
|
+
} from "./chunk-b4wg70y1.js";
|
|
8
|
+
import {
|
|
9
|
+
require_dist_cjs
|
|
10
|
+
} from "./chunk-hk9xz7gk.js";
|
|
11
|
+
import {
|
|
12
|
+
__esm,
|
|
13
|
+
__require,
|
|
14
|
+
__toESM
|
|
15
|
+
} from "./chunk-qp2qdcda.js";
|
|
16
|
+
|
|
17
|
+
// node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.27/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromWebToken.js
|
|
18
|
+
var fromWebToken = (init) => async (awsIdentityProperties) => {
|
|
19
|
+
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken");
|
|
20
|
+
const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
|
|
21
|
+
let { roleAssumerWithWebIdentity } = init;
|
|
22
|
+
if (!roleAssumerWithWebIdentity) {
|
|
23
|
+
const { getDefaultRoleAssumerWithWebIdentity } = await import("./chunk-q7bxdsfd.js").then((m)=>__toESM(m.default,1));
|
|
24
|
+
roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
|
|
25
|
+
...init.clientConfig,
|
|
26
|
+
credentialProviderLogger: init.logger,
|
|
27
|
+
parentClientConfig: {
|
|
28
|
+
...awsIdentityProperties?.callerClientConfig,
|
|
29
|
+
...init.parentClientConfig
|
|
30
|
+
}
|
|
31
|
+
}, init.clientPlugins);
|
|
32
|
+
}
|
|
33
|
+
return roleAssumerWithWebIdentity({
|
|
34
|
+
RoleArn: roleArn,
|
|
35
|
+
RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`,
|
|
36
|
+
WebIdentityToken: webIdentityToken,
|
|
37
|
+
ProviderId: providerId,
|
|
38
|
+
PolicyArns: policyArns,
|
|
39
|
+
Policy: policy,
|
|
40
|
+
DurationSeconds: durationSeconds
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
var init_fromWebToken = () => {};
|
|
44
|
+
|
|
45
|
+
// node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.27/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/fromTokenFile.js
|
|
46
|
+
import { readFileSync } from "fs";
|
|
47
|
+
var import_client, import_property_provider, import_shared_ini_file_loader, ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE", ENV_ROLE_ARN = "AWS_ROLE_ARN", ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME", fromTokenFile = (init = {}) => async (awsIdentityProperties) => {
|
|
48
|
+
init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile");
|
|
49
|
+
const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];
|
|
50
|
+
const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];
|
|
51
|
+
const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME];
|
|
52
|
+
if (!webIdentityTokenFile || !roleArn) {
|
|
53
|
+
throw new import_property_provider.CredentialsProviderError("Web identity configuration not specified", {
|
|
54
|
+
logger: init.logger
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
const credentials = await fromWebToken({
|
|
58
|
+
...init,
|
|
59
|
+
webIdentityToken: import_shared_ini_file_loader.externalDataInterceptor?.getTokenRecord?.()[webIdentityTokenFile] ?? readFileSync(webIdentityTokenFile, { encoding: "ascii" }),
|
|
60
|
+
roleArn,
|
|
61
|
+
roleSessionName
|
|
62
|
+
})(awsIdentityProperties);
|
|
63
|
+
if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) {
|
|
64
|
+
import_client.setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h");
|
|
65
|
+
}
|
|
66
|
+
return credentials;
|
|
67
|
+
};
|
|
68
|
+
var init_fromTokenFile = __esm(() => {
|
|
69
|
+
init_fromWebToken();
|
|
70
|
+
import_client = __toESM(require_client(), 1);
|
|
71
|
+
import_property_provider = __toESM(require_dist_cjs(), 1);
|
|
72
|
+
import_shared_ini_file_loader = __toESM(require_dist_cjs2(), 1);
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
// node_modules/.bun/@aws-sdk+credential-provider-web-identity@3.972.27/node_modules/@aws-sdk/credential-provider-web-identity/dist-es/index.js
|
|
76
|
+
var init_dist_es = __esm(() => {
|
|
77
|
+
init_fromTokenFile();
|
|
78
|
+
init_fromWebToken();
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
export { fromWebToken, fromTokenFile, init_dist_es };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
require_compiler_runtime
|
|
4
|
+
} from "./chunk-zp37prdd.js";
|
|
5
|
+
import {
|
|
6
|
+
require_jsx_dev_runtime,
|
|
7
|
+
require_react
|
|
8
|
+
} from "./chunk-g338npwr.js";
|
|
9
|
+
import {
|
|
10
|
+
__toESM
|
|
11
|
+
} from "./chunk-qp2qdcda.js";
|
|
12
|
+
|
|
13
|
+
// src/context/fpsMetrics.tsx
|
|
14
|
+
var import_compiler_runtime = __toESM(require_compiler_runtime(), 1);
|
|
15
|
+
var import_react = __toESM(require_react(), 1);
|
|
16
|
+
var jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
|
|
17
|
+
var FpsMetricsContext = import_react.createContext(undefined);
|
|
18
|
+
function FpsMetricsProvider(t0) {
|
|
19
|
+
const $ = import_compiler_runtime.c(3);
|
|
20
|
+
const {
|
|
21
|
+
getFpsMetrics,
|
|
22
|
+
children
|
|
23
|
+
} = t0;
|
|
24
|
+
let t1;
|
|
25
|
+
if ($[0] !== children || $[1] !== getFpsMetrics) {
|
|
26
|
+
t1 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(FpsMetricsContext.Provider, {
|
|
27
|
+
value: getFpsMetrics,
|
|
28
|
+
children
|
|
29
|
+
}, undefined, false, undefined, this);
|
|
30
|
+
$[0] = children;
|
|
31
|
+
$[1] = getFpsMetrics;
|
|
32
|
+
$[2] = t1;
|
|
33
|
+
} else {
|
|
34
|
+
t1 = $[2];
|
|
35
|
+
}
|
|
36
|
+
return t1;
|
|
37
|
+
}
|
|
38
|
+
function useFpsMetrics() {
|
|
39
|
+
return import_react.useContext(FpsMetricsContext);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { FpsMetricsProvider, useFpsMetrics };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
getSettingsWithAllErrors,
|
|
4
|
+
init_allErrors,
|
|
5
|
+
init_notifications,
|
|
6
|
+
init_useSettingsChange,
|
|
7
|
+
useNotifications,
|
|
8
|
+
useSettingsChange
|
|
9
|
+
} from "./chunk-730qrdey.js";
|
|
10
|
+
import {
|
|
11
|
+
require_compiler_runtime
|
|
12
|
+
} from "./chunk-zp37prdd.js";
|
|
13
|
+
import {
|
|
14
|
+
require_react
|
|
15
|
+
} from "./chunk-g338npwr.js";
|
|
16
|
+
import {
|
|
17
|
+
getIsRemoteMode,
|
|
18
|
+
init_state
|
|
19
|
+
} from "./chunk-qqfa0dqg.js";
|
|
20
|
+
import {
|
|
21
|
+
__esm,
|
|
22
|
+
__toESM
|
|
23
|
+
} from "./chunk-qp2qdcda.js";
|
|
24
|
+
|
|
25
|
+
// src/hooks/notifs/useSettingsErrors.tsx
|
|
26
|
+
function useSettingsErrors() {
|
|
27
|
+
const $ = import_compiler_runtime.c(6);
|
|
28
|
+
const {
|
|
29
|
+
addNotification,
|
|
30
|
+
removeNotification
|
|
31
|
+
} = useNotifications();
|
|
32
|
+
const [errors_0, setErrors] = import_react.useState(_temp);
|
|
33
|
+
let t0;
|
|
34
|
+
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
35
|
+
t0 = () => {
|
|
36
|
+
const {
|
|
37
|
+
errors: errors_1
|
|
38
|
+
} = getSettingsWithAllErrors();
|
|
39
|
+
setErrors(errors_1);
|
|
40
|
+
};
|
|
41
|
+
$[0] = t0;
|
|
42
|
+
} else {
|
|
43
|
+
t0 = $[0];
|
|
44
|
+
}
|
|
45
|
+
const handleSettingsChange = t0;
|
|
46
|
+
useSettingsChange(handleSettingsChange);
|
|
47
|
+
let t1;
|
|
48
|
+
let t2;
|
|
49
|
+
if ($[1] !== addNotification || $[2] !== errors_0 || $[3] !== removeNotification) {
|
|
50
|
+
t1 = () => {
|
|
51
|
+
if (getIsRemoteMode()) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
if (errors_0.length > 0) {
|
|
55
|
+
const message = `Found ${errors_0.length} settings ${errors_0.length === 1 ? "issue" : "issues"} \xB7 /doctor for details`;
|
|
56
|
+
addNotification({
|
|
57
|
+
key: SETTINGS_ERRORS_NOTIFICATION_KEY,
|
|
58
|
+
text: message,
|
|
59
|
+
color: "warning",
|
|
60
|
+
priority: "high",
|
|
61
|
+
timeoutMs: 60000
|
|
62
|
+
});
|
|
63
|
+
} else {
|
|
64
|
+
removeNotification(SETTINGS_ERRORS_NOTIFICATION_KEY);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
t2 = [errors_0, addNotification, removeNotification];
|
|
68
|
+
$[1] = addNotification;
|
|
69
|
+
$[2] = errors_0;
|
|
70
|
+
$[3] = removeNotification;
|
|
71
|
+
$[4] = t1;
|
|
72
|
+
$[5] = t2;
|
|
73
|
+
} else {
|
|
74
|
+
t1 = $[4];
|
|
75
|
+
t2 = $[5];
|
|
76
|
+
}
|
|
77
|
+
import_react.useEffect(t1, t2);
|
|
78
|
+
return errors_0;
|
|
79
|
+
}
|
|
80
|
+
function _temp() {
|
|
81
|
+
const {
|
|
82
|
+
errors
|
|
83
|
+
} = getSettingsWithAllErrors();
|
|
84
|
+
return errors;
|
|
85
|
+
}
|
|
86
|
+
var import_compiler_runtime, import_react, SETTINGS_ERRORS_NOTIFICATION_KEY = "settings-errors";
|
|
87
|
+
var init_useSettingsErrors = __esm(() => {
|
|
88
|
+
init_notifications();
|
|
89
|
+
init_state();
|
|
90
|
+
init_allErrors();
|
|
91
|
+
init_useSettingsChange();
|
|
92
|
+
import_compiler_runtime = __toESM(require_compiler_runtime(), 1);
|
|
93
|
+
import_react = __toESM(require_react(), 1);
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
export { useSettingsErrors, init_useSettingsErrors };
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
ClaudeMdExternalIncludesDialog,
|
|
4
|
+
init_ClaudeMdExternalIncludesDialog
|
|
5
|
+
} from "./chunk-kz5tvd47.js";
|
|
6
|
+
import"./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_ClaudeMdExternalIncludesDialog();
|
|
85
|
+
|
|
86
|
+
export {
|
|
87
|
+
ClaudeMdExternalIncludesDialog
|
|
88
|
+
};
|