@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,438 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
LoadingState,
|
|
4
|
+
init_LoadingState
|
|
5
|
+
} from "./chunk-v0zymd55.js";
|
|
6
|
+
import {
|
|
7
|
+
flushSessionStorage,
|
|
8
|
+
gracefulShutdown,
|
|
9
|
+
init_gracefulShutdown,
|
|
10
|
+
init_sessionStorage
|
|
11
|
+
} from "./chunk-730qrdey.js";
|
|
12
|
+
import {
|
|
13
|
+
ThemedBox_default,
|
|
14
|
+
ThemedText,
|
|
15
|
+
init_ink,
|
|
16
|
+
require_compiler_runtime,
|
|
17
|
+
use_input_default
|
|
18
|
+
} from "./chunk-zp37prdd.js";
|
|
19
|
+
import {
|
|
20
|
+
gte,
|
|
21
|
+
init_semver
|
|
22
|
+
} from "./chunk-ps49ymvj.js";
|
|
23
|
+
import {
|
|
24
|
+
require_jsx_dev_runtime,
|
|
25
|
+
require_react
|
|
26
|
+
} from "./chunk-g338npwr.js";
|
|
27
|
+
import {
|
|
28
|
+
init_browser,
|
|
29
|
+
openBrowser
|
|
30
|
+
} from "./chunk-7e6ahfxz.js";
|
|
31
|
+
import {
|
|
32
|
+
init_file,
|
|
33
|
+
pathExists
|
|
34
|
+
} from "./chunk-3tqnjgfx.js";
|
|
35
|
+
import {
|
|
36
|
+
require_semver
|
|
37
|
+
} from "./chunk-0vkfrmqm.js";
|
|
38
|
+
import {
|
|
39
|
+
execFileNoThrow,
|
|
40
|
+
init_execFileNoThrow
|
|
41
|
+
} from "./chunk-gzzfhtdv.js";
|
|
42
|
+
import {
|
|
43
|
+
getCwd,
|
|
44
|
+
init_cwd
|
|
45
|
+
} from "./chunk-8bedvdm1.js";
|
|
46
|
+
import {
|
|
47
|
+
errorMessage,
|
|
48
|
+
init_debug,
|
|
49
|
+
init_errors,
|
|
50
|
+
logForDebugging
|
|
51
|
+
} from "./chunk-sbbj6ta3.js";
|
|
52
|
+
import {
|
|
53
|
+
getSessionId,
|
|
54
|
+
init_state
|
|
55
|
+
} from "./chunk-qqfa0dqg.js";
|
|
56
|
+
import {
|
|
57
|
+
__esm,
|
|
58
|
+
__toESM
|
|
59
|
+
} from "./chunk-qp2qdcda.js";
|
|
60
|
+
|
|
61
|
+
// src/utils/desktopDeepLink.ts
|
|
62
|
+
import { readdir } from "fs/promises";
|
|
63
|
+
import { join } from "path";
|
|
64
|
+
function isDevMode() {
|
|
65
|
+
if (true) {
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
const pathsToCheck = [process.argv[1] || "", process.execPath || ""];
|
|
69
|
+
const buildDirs = [
|
|
70
|
+
"/build-ant/",
|
|
71
|
+
"/build-ant-native/",
|
|
72
|
+
"/build-external/",
|
|
73
|
+
"/build-external-native/"
|
|
74
|
+
];
|
|
75
|
+
return pathsToCheck.some((p) => buildDirs.some((dir) => p.includes(dir)));
|
|
76
|
+
}
|
|
77
|
+
function buildDesktopDeepLink(sessionId) {
|
|
78
|
+
const protocol = isDevMode() ? "claude-dev" : "claude";
|
|
79
|
+
const url = new URL(`${protocol}://resume`);
|
|
80
|
+
url.searchParams.set("session", sessionId);
|
|
81
|
+
url.searchParams.set("cwd", getCwd());
|
|
82
|
+
return url.toString();
|
|
83
|
+
}
|
|
84
|
+
async function isDesktopInstalled() {
|
|
85
|
+
if (isDevMode()) {
|
|
86
|
+
return true;
|
|
87
|
+
}
|
|
88
|
+
const platform = process.platform;
|
|
89
|
+
if (platform === "darwin") {
|
|
90
|
+
return pathExists("/Applications/Claude.app");
|
|
91
|
+
} else if (platform === "linux") {
|
|
92
|
+
const { code, stdout } = await execFileNoThrow("xdg-mime", [
|
|
93
|
+
"query",
|
|
94
|
+
"default",
|
|
95
|
+
"x-scheme-handler/claude"
|
|
96
|
+
]);
|
|
97
|
+
return code === 0 && stdout.trim().length > 0;
|
|
98
|
+
} else if (platform === "win32") {
|
|
99
|
+
const { code } = await execFileNoThrow("reg", [
|
|
100
|
+
"query",
|
|
101
|
+
"HKEY_CLASSES_ROOT\\claude",
|
|
102
|
+
"/ve"
|
|
103
|
+
]);
|
|
104
|
+
return code === 0;
|
|
105
|
+
}
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
async function getDesktopVersion() {
|
|
109
|
+
const platform = process.platform;
|
|
110
|
+
if (platform === "darwin") {
|
|
111
|
+
const { code, stdout } = await execFileNoThrow("defaults", [
|
|
112
|
+
"read",
|
|
113
|
+
"/Applications/Claude.app/Contents/Info.plist",
|
|
114
|
+
"CFBundleShortVersionString"
|
|
115
|
+
]);
|
|
116
|
+
if (code !== 0) {
|
|
117
|
+
return null;
|
|
118
|
+
}
|
|
119
|
+
const version = stdout.trim();
|
|
120
|
+
return version.length > 0 ? version : null;
|
|
121
|
+
} else if (platform === "win32") {
|
|
122
|
+
const localAppData = process.env.LOCALAPPDATA;
|
|
123
|
+
if (!localAppData) {
|
|
124
|
+
return null;
|
|
125
|
+
}
|
|
126
|
+
const installDir = join(localAppData, "AnthropicClaude");
|
|
127
|
+
try {
|
|
128
|
+
const entries = await readdir(installDir);
|
|
129
|
+
const versions = entries.filter((e) => e.startsWith("app-")).map((e) => e.slice(4)).filter((v) => import_semver.coerce(v) !== null).sort((a, b) => {
|
|
130
|
+
const ca = import_semver.coerce(a);
|
|
131
|
+
const cb = import_semver.coerce(b);
|
|
132
|
+
return ca.compare(cb);
|
|
133
|
+
});
|
|
134
|
+
return versions.length > 0 ? versions[versions.length - 1] : null;
|
|
135
|
+
} catch {
|
|
136
|
+
return null;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
return null;
|
|
140
|
+
}
|
|
141
|
+
async function getDesktopInstallStatus() {
|
|
142
|
+
const installed = await isDesktopInstalled();
|
|
143
|
+
if (!installed) {
|
|
144
|
+
return { status: "not-installed" };
|
|
145
|
+
}
|
|
146
|
+
let version;
|
|
147
|
+
try {
|
|
148
|
+
version = await getDesktopVersion();
|
|
149
|
+
} catch {
|
|
150
|
+
return { status: "ready", version: "unknown" };
|
|
151
|
+
}
|
|
152
|
+
if (!version) {
|
|
153
|
+
return { status: "ready", version: "unknown" };
|
|
154
|
+
}
|
|
155
|
+
const coerced = import_semver.coerce(version);
|
|
156
|
+
if (!coerced || !gte(coerced.version, MIN_DESKTOP_VERSION)) {
|
|
157
|
+
return { status: "version-too-old", version };
|
|
158
|
+
}
|
|
159
|
+
return { status: "ready", version };
|
|
160
|
+
}
|
|
161
|
+
async function openDeepLink(deepLinkUrl) {
|
|
162
|
+
const platform = process.platform;
|
|
163
|
+
logForDebugging(`Opening deep link: ${deepLinkUrl}`);
|
|
164
|
+
if (platform === "darwin") {
|
|
165
|
+
if (isDevMode()) {
|
|
166
|
+
const { code: code2 } = await execFileNoThrow("osascript", [
|
|
167
|
+
"-e",
|
|
168
|
+
`tell application "Electron" to open location "${deepLinkUrl}"`
|
|
169
|
+
]);
|
|
170
|
+
return code2 === 0;
|
|
171
|
+
}
|
|
172
|
+
const { code } = await execFileNoThrow("open", [deepLinkUrl]);
|
|
173
|
+
return code === 0;
|
|
174
|
+
} else if (platform === "linux") {
|
|
175
|
+
const { code } = await execFileNoThrow("xdg-open", [deepLinkUrl]);
|
|
176
|
+
return code === 0;
|
|
177
|
+
} else if (platform === "win32") {
|
|
178
|
+
const { code } = await execFileNoThrow("cmd", [
|
|
179
|
+
"/c",
|
|
180
|
+
"start",
|
|
181
|
+
"",
|
|
182
|
+
deepLinkUrl
|
|
183
|
+
]);
|
|
184
|
+
return code === 0;
|
|
185
|
+
}
|
|
186
|
+
return false;
|
|
187
|
+
}
|
|
188
|
+
async function openCurrentSessionInDesktop() {
|
|
189
|
+
const sessionId = getSessionId();
|
|
190
|
+
const installed = await isDesktopInstalled();
|
|
191
|
+
if (!installed) {
|
|
192
|
+
return {
|
|
193
|
+
success: false,
|
|
194
|
+
error: "Claude Desktop is not installed. Install it from https://claude.ai/download"
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
const deepLinkUrl = buildDesktopDeepLink(sessionId);
|
|
198
|
+
const opened = await openDeepLink(deepLinkUrl);
|
|
199
|
+
if (!opened) {
|
|
200
|
+
return {
|
|
201
|
+
success: false,
|
|
202
|
+
error: "Failed to open Claude Desktop. Please try opening it manually.",
|
|
203
|
+
deepLinkUrl
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
return { success: true, deepLinkUrl };
|
|
207
|
+
}
|
|
208
|
+
var import_semver, MIN_DESKTOP_VERSION = "1.1.2396";
|
|
209
|
+
var init_desktopDeepLink = __esm(() => {
|
|
210
|
+
init_state();
|
|
211
|
+
init_cwd();
|
|
212
|
+
init_debug();
|
|
213
|
+
init_execFileNoThrow();
|
|
214
|
+
init_file();
|
|
215
|
+
init_semver();
|
|
216
|
+
import_semver = __toESM(require_semver(), 1);
|
|
217
|
+
});
|
|
218
|
+
|
|
219
|
+
// src/components/DesktopHandoff.tsx
|
|
220
|
+
function getDownloadUrl() {
|
|
221
|
+
switch (process.platform) {
|
|
222
|
+
case "win32":
|
|
223
|
+
return "https://claude.ai/api/desktop/win32/x64/exe/latest/redirect";
|
|
224
|
+
default:
|
|
225
|
+
return "https://claude.ai/api/desktop/darwin/universal/dmg/latest/redirect";
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
function DesktopHandoff(t0) {
|
|
229
|
+
const $ = import_compiler_runtime.c(20);
|
|
230
|
+
const {
|
|
231
|
+
onDone
|
|
232
|
+
} = t0;
|
|
233
|
+
const [state, setState] = import_react.useState("checking");
|
|
234
|
+
const [error, setError] = import_react.useState(null);
|
|
235
|
+
const [downloadMessage, setDownloadMessage] = import_react.useState("");
|
|
236
|
+
let t1;
|
|
237
|
+
if ($[0] !== error || $[1] !== onDone || $[2] !== state) {
|
|
238
|
+
t1 = (input) => {
|
|
239
|
+
if (state === "error") {
|
|
240
|
+
onDone(error ?? "Unknown error", {
|
|
241
|
+
display: "system"
|
|
242
|
+
});
|
|
243
|
+
return;
|
|
244
|
+
}
|
|
245
|
+
if (state === "prompt-download") {
|
|
246
|
+
if (input === "y" || input === "Y") {
|
|
247
|
+
openBrowser(getDownloadUrl()).catch(_temp);
|
|
248
|
+
onDone(`Starting download. Re-run /desktop once you\u2019ve installed the app.
|
|
249
|
+
Learn more at ${DESKTOP_DOCS_URL}`, {
|
|
250
|
+
display: "system"
|
|
251
|
+
});
|
|
252
|
+
} else {
|
|
253
|
+
if (input === "n" || input === "N") {
|
|
254
|
+
onDone(`The desktop app is required for /desktop. Learn more at ${DESKTOP_DOCS_URL}`, {
|
|
255
|
+
display: "system"
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
};
|
|
261
|
+
$[0] = error;
|
|
262
|
+
$[1] = onDone;
|
|
263
|
+
$[2] = state;
|
|
264
|
+
$[3] = t1;
|
|
265
|
+
} else {
|
|
266
|
+
t1 = $[3];
|
|
267
|
+
}
|
|
268
|
+
use_input_default(t1);
|
|
269
|
+
let t2;
|
|
270
|
+
let t3;
|
|
271
|
+
if ($[4] !== onDone) {
|
|
272
|
+
t2 = () => {
|
|
273
|
+
const performHandoff = async function performHandoff2() {
|
|
274
|
+
setState("checking");
|
|
275
|
+
const installStatus = await getDesktopInstallStatus();
|
|
276
|
+
if (installStatus.status === "not-installed") {
|
|
277
|
+
setDownloadMessage("Claude Desktop is not installed.");
|
|
278
|
+
setState("prompt-download");
|
|
279
|
+
return;
|
|
280
|
+
}
|
|
281
|
+
if (installStatus.status === "version-too-old") {
|
|
282
|
+
setDownloadMessage(`Claude Desktop needs to be updated (found v${installStatus.version}, need v1.1.2396+).`);
|
|
283
|
+
setState("prompt-download");
|
|
284
|
+
return;
|
|
285
|
+
}
|
|
286
|
+
setState("flushing");
|
|
287
|
+
await flushSessionStorage();
|
|
288
|
+
setState("opening");
|
|
289
|
+
const result = await openCurrentSessionInDesktop();
|
|
290
|
+
if (!result.success) {
|
|
291
|
+
setError(result.error ?? "Failed to open Claude Desktop");
|
|
292
|
+
setState("error");
|
|
293
|
+
return;
|
|
294
|
+
}
|
|
295
|
+
setState("success");
|
|
296
|
+
setTimeout(_temp2, 500, onDone);
|
|
297
|
+
};
|
|
298
|
+
performHandoff().catch((err) => {
|
|
299
|
+
setError(errorMessage(err));
|
|
300
|
+
setState("error");
|
|
301
|
+
});
|
|
302
|
+
};
|
|
303
|
+
t3 = [onDone];
|
|
304
|
+
$[4] = onDone;
|
|
305
|
+
$[5] = t2;
|
|
306
|
+
$[6] = t3;
|
|
307
|
+
} else {
|
|
308
|
+
t2 = $[5];
|
|
309
|
+
t3 = $[6];
|
|
310
|
+
}
|
|
311
|
+
import_react.useEffect(t2, t3);
|
|
312
|
+
if (state === "error") {
|
|
313
|
+
let t42;
|
|
314
|
+
if ($[7] !== error) {
|
|
315
|
+
t42 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
316
|
+
color: "error",
|
|
317
|
+
children: [
|
|
318
|
+
"Error: ",
|
|
319
|
+
error
|
|
320
|
+
]
|
|
321
|
+
}, undefined, true, undefined, this);
|
|
322
|
+
$[7] = error;
|
|
323
|
+
$[8] = t42;
|
|
324
|
+
} else {
|
|
325
|
+
t42 = $[8];
|
|
326
|
+
}
|
|
327
|
+
let t52;
|
|
328
|
+
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
329
|
+
t52 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
330
|
+
dimColor: true,
|
|
331
|
+
children: "Press any key to continue\u2026"
|
|
332
|
+
}, undefined, false, undefined, this);
|
|
333
|
+
$[9] = t52;
|
|
334
|
+
} else {
|
|
335
|
+
t52 = $[9];
|
|
336
|
+
}
|
|
337
|
+
let t62;
|
|
338
|
+
if ($[10] !== t42) {
|
|
339
|
+
t62 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
340
|
+
flexDirection: "column",
|
|
341
|
+
paddingX: 2,
|
|
342
|
+
children: [
|
|
343
|
+
t42,
|
|
344
|
+
t52
|
|
345
|
+
]
|
|
346
|
+
}, undefined, true, undefined, this);
|
|
347
|
+
$[10] = t42;
|
|
348
|
+
$[11] = t62;
|
|
349
|
+
} else {
|
|
350
|
+
t62 = $[11];
|
|
351
|
+
}
|
|
352
|
+
return t62;
|
|
353
|
+
}
|
|
354
|
+
if (state === "prompt-download") {
|
|
355
|
+
let t42;
|
|
356
|
+
if ($[12] !== downloadMessage) {
|
|
357
|
+
t42 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
358
|
+
children: downloadMessage
|
|
359
|
+
}, undefined, false, undefined, this);
|
|
360
|
+
$[12] = downloadMessage;
|
|
361
|
+
$[13] = t42;
|
|
362
|
+
} else {
|
|
363
|
+
t42 = $[13];
|
|
364
|
+
}
|
|
365
|
+
let t52;
|
|
366
|
+
if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
|
|
367
|
+
t52 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedText, {
|
|
368
|
+
children: "Download now? (y/n)"
|
|
369
|
+
}, undefined, false, undefined, this);
|
|
370
|
+
$[14] = t52;
|
|
371
|
+
} else {
|
|
372
|
+
t52 = $[14];
|
|
373
|
+
}
|
|
374
|
+
let t62;
|
|
375
|
+
if ($[15] !== t42) {
|
|
376
|
+
t62 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(ThemedBox_default, {
|
|
377
|
+
flexDirection: "column",
|
|
378
|
+
paddingX: 2,
|
|
379
|
+
children: [
|
|
380
|
+
t42,
|
|
381
|
+
t52
|
|
382
|
+
]
|
|
383
|
+
}, undefined, true, undefined, this);
|
|
384
|
+
$[15] = t42;
|
|
385
|
+
$[16] = t62;
|
|
386
|
+
} else {
|
|
387
|
+
t62 = $[16];
|
|
388
|
+
}
|
|
389
|
+
return t62;
|
|
390
|
+
}
|
|
391
|
+
let t4;
|
|
392
|
+
if ($[17] === Symbol.for("react.memo_cache_sentinel")) {
|
|
393
|
+
t4 = {
|
|
394
|
+
checking: "Checking for Claude Desktop\u2026",
|
|
395
|
+
flushing: "Saving session\u2026",
|
|
396
|
+
opening: "Opening Claude Desktop\u2026",
|
|
397
|
+
success: "Opening in Claude Desktop\u2026"
|
|
398
|
+
};
|
|
399
|
+
$[17] = t4;
|
|
400
|
+
} else {
|
|
401
|
+
t4 = $[17];
|
|
402
|
+
}
|
|
403
|
+
const messages = t4;
|
|
404
|
+
const t5 = messages[state];
|
|
405
|
+
let t6;
|
|
406
|
+
if ($[18] !== t5) {
|
|
407
|
+
t6 = /* @__PURE__ */ jsx_dev_runtime.jsxDEV(LoadingState, {
|
|
408
|
+
message: t5
|
|
409
|
+
}, undefined, false, undefined, this);
|
|
410
|
+
$[18] = t5;
|
|
411
|
+
$[19] = t6;
|
|
412
|
+
} else {
|
|
413
|
+
t6 = $[19];
|
|
414
|
+
}
|
|
415
|
+
return t6;
|
|
416
|
+
}
|
|
417
|
+
async function _temp2(onDone_0) {
|
|
418
|
+
onDone_0("Session transferred to Claude Desktop", {
|
|
419
|
+
display: "system"
|
|
420
|
+
});
|
|
421
|
+
await gracefulShutdown(0, "other");
|
|
422
|
+
}
|
|
423
|
+
function _temp() {}
|
|
424
|
+
var import_compiler_runtime, import_react, jsx_dev_runtime, DESKTOP_DOCS_URL = "https://clau.de/desktop";
|
|
425
|
+
var init_DesktopHandoff = __esm(() => {
|
|
426
|
+
init_ink();
|
|
427
|
+
init_browser();
|
|
428
|
+
init_desktopDeepLink();
|
|
429
|
+
init_errors();
|
|
430
|
+
init_gracefulShutdown();
|
|
431
|
+
init_sessionStorage();
|
|
432
|
+
init_LoadingState();
|
|
433
|
+
import_compiler_runtime = __toESM(require_compiler_runtime(), 1);
|
|
434
|
+
import_react = __toESM(require_react(), 1);
|
|
435
|
+
jsx_dev_runtime = __toESM(require_jsx_dev_runtime(), 1);
|
|
436
|
+
});
|
|
437
|
+
|
|
438
|
+
export { DesktopHandoff, init_DesktopHandoff };
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
getFeatureValue_CACHED_MAY_BE_STALE,
|
|
4
|
+
init_constants1 as init_constants,
|
|
5
|
+
init_growthbook
|
|
6
|
+
} from "./chunk-3tqnjgfx.js";
|
|
7
|
+
import {
|
|
8
|
+
init_state
|
|
9
|
+
} from "./chunk-qqfa0dqg.js";
|
|
10
|
+
import {
|
|
11
|
+
__esm
|
|
12
|
+
} from "./chunk-qp2qdcda.js";
|
|
13
|
+
|
|
14
|
+
// src/tools/ToolSearchTool/constants.ts
|
|
15
|
+
var TOOL_SEARCH_TOOL_NAME = "ToolSearch";
|
|
16
|
+
var init_constants2 = () => {};
|
|
17
|
+
|
|
18
|
+
// src/tools/ToolSearchTool/prompt.ts
|
|
19
|
+
function getToolLocationHint() {
|
|
20
|
+
const deltaEnabled = process.env.USER_TYPE === "ant" || getFeatureValue_CACHED_MAY_BE_STALE("tengu_glacier_2xr", false);
|
|
21
|
+
return deltaEnabled ? "Deferred tools appear by name in <system-reminder> messages." : "Deferred tools appear by name in <available-deferred-tools> messages.";
|
|
22
|
+
}
|
|
23
|
+
function isDeferredTool(tool) {
|
|
24
|
+
if (tool.alwaysLoad === true)
|
|
25
|
+
return false;
|
|
26
|
+
if (tool.isMcp === true)
|
|
27
|
+
return true;
|
|
28
|
+
if (tool.name === TOOL_SEARCH_TOOL_NAME)
|
|
29
|
+
return false;
|
|
30
|
+
if (false) {}
|
|
31
|
+
if (false) {}
|
|
32
|
+
if (false) {}
|
|
33
|
+
return tool.shouldDefer === true;
|
|
34
|
+
}
|
|
35
|
+
function formatDeferredToolLine(tool) {
|
|
36
|
+
return tool.name;
|
|
37
|
+
}
|
|
38
|
+
function getPrompt() {
|
|
39
|
+
return PROMPT_HEAD + getToolLocationHint() + PROMPT_TAIL;
|
|
40
|
+
}
|
|
41
|
+
var PROMPT_HEAD = `Fetches full schema definitions for deferred tools so they can be called.
|
|
42
|
+
|
|
43
|
+
`, PROMPT_TAIL = ` Until fetched, only the name is known \u2014 there is no parameter schema, so the tool cannot be invoked. This tool takes a query, matches it against the deferred tool list, and returns the matched tools' complete JSONSchema definitions inside a <functions> block. Once a tool's schema appears in that result, it is callable exactly like any tool defined at the top of the prompt.
|
|
44
|
+
|
|
45
|
+
Result format: each matched tool appears as one <function>{"description": "...", "name": "...", "parameters": {...}}</function> line inside the <functions> block \u2014 the same encoding as the tool list at the top of this prompt.
|
|
46
|
+
|
|
47
|
+
Query forms:
|
|
48
|
+
- "select:Read,Edit,Grep" \u2014 fetch these exact tools by name
|
|
49
|
+
- "notebook jupyter" \u2014 keyword search, up to max_results best matches
|
|
50
|
+
- "+slack send" \u2014 require "slack" in the name, rank by remaining terms`;
|
|
51
|
+
var init_prompt = __esm(() => {
|
|
52
|
+
init_state();
|
|
53
|
+
init_growthbook();
|
|
54
|
+
init_constants();
|
|
55
|
+
init_constants2();
|
|
56
|
+
init_constants2();
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
export { TOOL_SEARCH_TOOL_NAME, isDeferredTool, formatDeferredToolLine, getPrompt, init_prompt };
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
addHiddenPaneId,
|
|
4
|
+
cleanupSessionTeams,
|
|
5
|
+
cleanupTeamDirectories,
|
|
6
|
+
getTeamDir,
|
|
7
|
+
getTeamFilePath,
|
|
8
|
+
init_teamHelpers,
|
|
9
|
+
inputSchema,
|
|
10
|
+
readTeamFile,
|
|
11
|
+
readTeamFileAsync,
|
|
12
|
+
registerTeamForSessionCleanup,
|
|
13
|
+
removeHiddenPaneId,
|
|
14
|
+
removeMemberByAgentId,
|
|
15
|
+
removeMemberFromTeam,
|
|
16
|
+
removeTeammateFromTeamFile,
|
|
17
|
+
sanitizeAgentName,
|
|
18
|
+
sanitizeName,
|
|
19
|
+
setMemberActive,
|
|
20
|
+
setMemberMode,
|
|
21
|
+
setMultipleMemberModes,
|
|
22
|
+
syncTeammateMode,
|
|
23
|
+
unregisterTeamForSessionCleanup,
|
|
24
|
+
writeTeamFileAsync
|
|
25
|
+
} from "./chunk-ps540063.js";
|
|
26
|
+
import"./chunk-b75fzr8e.js";
|
|
27
|
+
import"./chunk-g0j0t6qk.js";
|
|
28
|
+
import"./chunk-55wgxwa9.js";
|
|
29
|
+
import"./chunk-4jm600zv.js";
|
|
30
|
+
import"./chunk-v1kzp02e.js";
|
|
31
|
+
import"./chunk-b8x1gk3y.js";
|
|
32
|
+
import"./chunk-9k2drwej.js";
|
|
33
|
+
import"./chunk-qnfx3qtx.js";
|
|
34
|
+
import"./chunk-fbpftpf0.js";
|
|
35
|
+
import"./chunk-3vs3nm7w.js";
|
|
36
|
+
import"./chunk-gzzfhtdv.js";
|
|
37
|
+
import"./chunk-yysj6sxt.js";
|
|
38
|
+
import"./chunk-8tnsngw2.js";
|
|
39
|
+
import"./chunk-8bedvdm1.js";
|
|
40
|
+
import"./chunk-7wm5s02e.js";
|
|
41
|
+
import"./chunk-sbbj6ta3.js";
|
|
42
|
+
import"./chunk-fbv4apne.js";
|
|
43
|
+
import"./chunk-raqgs410.js";
|
|
44
|
+
import"./chunk-qqfa0dqg.js";
|
|
45
|
+
import"./chunk-hqmz36b3.js";
|
|
46
|
+
import"./chunk-4g3v8y12.js";
|
|
47
|
+
import"./chunk-7739pg2c.js";
|
|
48
|
+
import"./chunk-qp2qdcda.js";
|
|
49
|
+
init_teamHelpers();
|
|
50
|
+
|
|
51
|
+
export {
|
|
52
|
+
writeTeamFileAsync,
|
|
53
|
+
unregisterTeamForSessionCleanup,
|
|
54
|
+
syncTeammateMode,
|
|
55
|
+
setMultipleMemberModes,
|
|
56
|
+
setMemberMode,
|
|
57
|
+
setMemberActive,
|
|
58
|
+
sanitizeName,
|
|
59
|
+
sanitizeAgentName,
|
|
60
|
+
removeTeammateFromTeamFile,
|
|
61
|
+
removeMemberFromTeam,
|
|
62
|
+
removeMemberByAgentId,
|
|
63
|
+
removeHiddenPaneId,
|
|
64
|
+
registerTeamForSessionCleanup,
|
|
65
|
+
readTeamFileAsync,
|
|
66
|
+
readTeamFile,
|
|
67
|
+
inputSchema,
|
|
68
|
+
getTeamFilePath,
|
|
69
|
+
getTeamDir,
|
|
70
|
+
cleanupTeamDirectories,
|
|
71
|
+
cleanupSessionTeams,
|
|
72
|
+
addHiddenPaneId
|
|
73
|
+
};
|