@zyycn/claudex 1.0.3-fork.8ea3477 → 1.0.3-fork.a9b3a37
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/README.md +60 -7
- package/dist/{chunk-hcxrs7ab.js → chunk-06973ktt.js} +6 -6
- package/dist/{chunk-ft3p5en3.js → chunk-084jnnsm.js} +21 -19
- package/dist/{chunk-r7tcrqpt.js → chunk-0b76bzeb.js} +24 -22
- package/dist/{chunk-anepdxcr.js → chunk-0c8t5wgs.js} +23 -21
- package/dist/{chunk-ttt9vpe0.js → chunk-0pvns28z.js} +1 -1
- package/dist/{chunk-4z2f0he5.js → chunk-0x83pwyd.js} +22 -20
- package/dist/{chunk-2nrrq6tk.js → chunk-0zwxqkw7.js} +31 -29
- package/dist/{chunk-59xd4k12.js → chunk-130qck8r.js} +4 -4
- package/dist/{chunk-vmc9brde.js → chunk-14ff60r2.js} +25 -23
- package/dist/{chunk-r48dfqvv.js → chunk-17nhka6a.js} +3 -3
- package/dist/{chunk-c1fryffh.js → chunk-19py02yz.js} +1 -1
- package/dist/{chunk-cb96n1wn.js → chunk-1ap9whm2.js} +24 -22
- package/dist/{chunk-aaqgpqgw.js → chunk-1dq7qs4f.js} +21 -19
- package/dist/{chunk-hfmsbgnt.js → chunk-1j20e0bw.js} +2 -2
- package/dist/{chunk-3t7f3gcw.js → chunk-1mv79877.js} +2 -2
- package/dist/{chunk-nsxfev6d.js → chunk-1n1wdeyv.js} +2 -2
- package/dist/{chunk-zqftk9ez.js → chunk-1n50ngc5.js} +10 -10
- package/dist/{chunk-2h9yz16j.js → chunk-1sn71a2p.js} +4 -4
- package/dist/{chunk-gxyvncc7.js → chunk-2c1142r1.js} +3 -3
- package/dist/{chunk-52b01pex.js → chunk-2f40w4yc.js} +28 -26
- package/dist/chunk-2he8t2j3.js +146 -0
- package/dist/{chunk-m5xz321k.js → chunk-2praq4hf.js} +1 -1
- package/dist/{chunk-vjfekyq3.js → chunk-39b1ttqp.js} +22 -20
- package/dist/{chunk-1as4t5kt.js → chunk-3w1pffnk.js} +6 -6
- package/dist/{chunk-xnvbzn1n.js → chunk-3yzc3r09.js} +8 -8
- package/dist/{chunk-k57nzm5g.js → chunk-4441e6e8.js} +2 -2
- package/dist/{chunk-t98nwe6t.js → chunk-47k0n04n.js} +2 -2
- package/dist/{chunk-sg51bdbd.js → chunk-49mx8p72.js} +1 -1
- package/dist/{chunk-r04m54xx.js → chunk-4aqmtdsh.js} +2 -2
- package/dist/{chunk-4jskmhhh.js → chunk-4b9hz79s.js} +22 -20
- package/dist/{chunk-xtxye29p.js → chunk-4gb4jcae.js} +1 -1
- package/dist/{chunk-90n37wrr.js → chunk-4ge37q5v.js} +21 -19
- package/dist/{chunk-1s4mbp7w.js → chunk-4hrwhgnt.js} +1 -1
- package/dist/{chunk-a7ygggm2.js → chunk-4v7xmgwg.js} +5 -5
- package/dist/{chunk-20ss1c7h.js → chunk-4zszsr3d.js} +1 -1
- package/dist/{chunk-7t2b6skq.js → chunk-5dy2mq2s.js} +21 -19
- package/dist/{chunk-6f223q3r.js → chunk-5ewbmq51.js} +2 -2
- package/dist/{chunk-xt3fpdyg.js → chunk-5np5psed.js} +2 -2
- package/dist/{chunk-xnakws1s.js → chunk-5s3z4ryw.js} +21 -19
- package/dist/{chunk-zpdp8dhh.js → chunk-62a7pt5j.js} +4 -4
- package/dist/{chunk-y6gvetdv.js → chunk-64zb16c3.js} +6 -6
- package/dist/{chunk-hq3ky6kx.js → chunk-665xkk6x.js} +22 -20
- package/dist/{chunk-2rcdx4ke.js → chunk-6mdwbdym.js} +4 -4
- package/dist/{chunk-yeeh5x71.js → chunk-6n1r2p8z.js} +25 -23
- package/dist/{chunk-yw6st6p0.js → chunk-6qnw0n5s.js} +21 -19
- package/dist/{chunk-ncp3pwsr.js → chunk-6wkr3xjq.js} +1 -1
- package/dist/{chunk-rtj91cb3.js → chunk-6wt53y7g.js} +22 -20
- package/dist/{chunk-8anb09j4.js → chunk-6zv0d2kc.js} +1 -1
- package/dist/{chunk-dama2y06.js → chunk-7az2ht56.js} +1 -1
- package/dist/{chunk-0eq9w0ba.js → chunk-7je0mt3r.js} +21 -19
- package/dist/{chunk-j5mmcf8q.js → chunk-7me54hcp.js} +7 -7
- package/dist/{chunk-bnrxrbaj.js → chunk-7tem80ke.js} +1 -1
- package/dist/{chunk-6nhgz6tx.js → chunk-84d3gc0g.js} +13 -13
- package/dist/{chunk-jscm1tx3.js → chunk-8ascyn1p.js} +579 -599
- package/dist/{chunk-3ynqq29q.js → chunk-8f974eqm.js} +22 -20
- package/dist/{chunk-pr923sem.js → chunk-8fza560r.js} +2 -2
- package/dist/{chunk-x6tcd9r0.js → chunk-8r62fvs8.js} +37 -35
- package/dist/{chunk-chh771rg.js → chunk-8sbhzhz1.js} +1 -1
- package/dist/{chunk-bx7mvxyt.js → chunk-8vtc73vf.js} +32 -30
- package/dist/{chunk-1px7vbcw.js → chunk-8ykfj9za.js} +14 -14
- package/dist/{chunk-manwgaqb.js → chunk-90ywjdzd.js} +3 -3
- package/dist/{chunk-ztz55wxk.js → chunk-92srwrsp.js} +2 -2
- package/dist/{chunk-y73vmtyg.js → chunk-96zz7jw5.js} +25 -23
- package/dist/{chunk-75btqgqt.js → chunk-98ggz2vq.js} +33 -31
- package/dist/{chunk-9gtfj9vm.js → chunk-99ct662a.js} +1 -1
- package/dist/{chunk-3eshd6xk.js → chunk-99z4zccg.js} +21 -19
- package/dist/{chunk-sn9qfdb7.js → chunk-9jn1g9a1.js} +1 -1
- package/dist/chunk-9mb6vndn.js +931 -0
- package/dist/{chunk-kjxsm0j9.js → chunk-9v2mbbed.js} +7 -7
- package/dist/{chunk-2f4jrja7.js → chunk-a6djdknt.js} +9 -9
- package/dist/{chunk-pqpct87d.js → chunk-abbydcr6.js} +21 -19
- package/dist/{chunk-q97q1hcg.js → chunk-abrdbxsn.js} +1 -1
- package/dist/chunk-ad4kk9pb.js +513 -0
- package/dist/{chunk-bc024pcs.js → chunk-ag111drv.js} +22 -20
- package/dist/{chunk-aya4d0wt.js → chunk-am9hgp5e.js} +22 -20
- package/dist/{chunk-yzhjcs3j.js → chunk-azeheegy.js} +24 -22
- package/dist/{chunk-bnn0cewm.js → chunk-b12w0m6z.js} +2 -2
- package/dist/{chunk-6amnmpc7.js → chunk-b6rg49xb.js} +5 -5
- package/dist/{chunk-94my77mh.js → chunk-bn0efp54.js} +3 -3
- package/dist/{chunk-mcf6nr2e.js → chunk-bvbxgbs4.js} +22 -20
- package/dist/{chunk-hf93m2xa.js → chunk-c419n5qc.js} +28 -26
- package/dist/{chunk-rean7kct.js → chunk-c4hrtcnx.js} +2 -2
- package/dist/{chunk-d9e4p204.js → chunk-c7c0r19d.js} +4 -4
- package/dist/{chunk-schbwy40.js → chunk-c8zjkmvq.js} +21 -19
- package/dist/{chunk-6d2b3sxs.js → chunk-cf7scvxg.js} +21 -19
- package/dist/{chunk-b0nf8thf.js → chunk-cfwy63tr.js} +104 -97
- package/dist/{chunk-xy5eszqt.js → chunk-cgjjrggk.js} +26 -24
- package/dist/{chunk-jncc0weh.js → chunk-chqyztkr.js} +2 -2
- package/dist/{chunk-47mk9z0m.js → chunk-cnyk1ctm.js} +9 -9
- package/dist/{chunk-tajvq5kz.js → chunk-cxhqwyf6.js} +21 -19
- package/dist/{chunk-k81s6dwg.js → chunk-d34qwk2x.js} +2 -2
- package/dist/{chunk-b06ke6np.js → chunk-d47363a6.js} +1 -1
- package/dist/{chunk-q0405mzj.js → chunk-d5dytqpw.js} +32 -30
- package/dist/{chunk-2gbw5g8b.js → chunk-d6h3wkrk.js} +32 -30
- package/dist/{chunk-h23rtn5x.js → chunk-d7fn5zhp.js} +1 -1
- package/dist/{chunk-hm3qhyzb.js → chunk-darnt057.js} +32 -30
- package/dist/{chunk-fexemt9v.js → chunk-darv57kz.js} +2 -2
- package/dist/{chunk-xt3h1z45.js → chunk-de7x3b1g.js} +2 -2
- package/dist/{chunk-6g268xtz.js → chunk-dfqng68x.js} +28 -26
- package/dist/{chunk-066z3ftb.js → chunk-dg1mkga0.js} +22 -20
- package/dist/{chunk-g68qexsp.js → chunk-djkmry9d.js} +36 -34
- package/dist/{chunk-kabeznf0.js → chunk-dm97n55b.js} +23 -21
- package/dist/{chunk-rvk6yqam.js → chunk-dn07jhhm.js} +14 -14
- package/dist/{chunk-ernvc6tg.js → chunk-dqrrbgsm.js} +3 -3
- package/dist/{chunk-agzhg6xh.js → chunk-drv3f2hs.js} +21 -19
- package/dist/{chunk-2fh7cz3s.js → chunk-dt49c0y0.js} +4 -4
- package/dist/{chunk-qtehqasq.js → chunk-e2x4hgc7.js} +1 -1
- package/dist/{chunk-2b8rybcz.js → chunk-e6mck590.js} +21 -19
- package/dist/{chunk-yspc0e6q.js → chunk-e95azkk3.js} +1 -1
- package/dist/{chunk-a62pbzrb.js → chunk-egy1njgz.js} +2 -2
- package/dist/{chunk-39bmsw23.js → chunk-ekmrrm19.js} +2 -2
- package/dist/{chunk-djrv0pe9.js → chunk-f2gbaq7d.js} +4 -4
- package/dist/{chunk-zr3hd1wq.js → chunk-f58psqbe.js} +5 -4
- package/dist/{chunk-k47b4t99.js → chunk-f5h8v918.js} +21 -19
- package/dist/{chunk-8cay10ta.js → chunk-f6tpw8hh.js} +22 -20
- package/dist/{chunk-1t6z9k3a.js → chunk-f8k5gtp5.js} +29 -27
- package/dist/{chunk-nqjf3pve.js → chunk-f90pbhsc.js} +1 -1
- package/dist/{chunk-rwctqm90.js → chunk-fb5cn1v8.js} +2 -2
- package/dist/{chunk-rk739vnk.js → chunk-fcmbdh78.js} +2 -2
- package/dist/{chunk-tp39n82r.js → chunk-fhe3my9e.js} +21 -19
- package/dist/{chunk-0fasmrp5.js → chunk-fkdvrdab.js} +1 -1
- package/dist/{chunk-pwsr2s6a.js → chunk-fmt8rbwh.js} +2 -2
- package/dist/{chunk-661g1y9e.js → chunk-fnv28bt7.js} +21 -19
- package/dist/{chunk-6b09y02p.js → chunk-fp1t2005.js} +21 -19
- package/dist/{chunk-n9k3xht4.js → chunk-fp6nrrd1.js} +5 -5
- package/dist/{chunk-35dt3y82.js → chunk-ftephsgx.js} +27 -25
- package/dist/{chunk-s8a69n2w.js → chunk-fzzsh5jr.js} +2 -2
- package/dist/{chunk-0xc21vnj.js → chunk-g20zq9sc.js} +22 -20
- package/dist/{chunk-mz5h6z3a.js → chunk-g3abxtbe.js} +2 -2
- package/dist/{chunk-bea5dax9.js → chunk-g61yhp0s.js} +22 -20
- package/dist/{chunk-34xh1xdb.js → chunk-gj2aww50.js} +2 -2
- package/dist/{chunk-a227j0w9.js → chunk-gj6v8q4e.js} +5 -5
- package/dist/{chunk-w46hn7j0.js → chunk-gr4rwetp.js} +21 -19
- package/dist/{chunk-3kt2yep0.js → chunk-gse3aa2a.js} +1 -1
- package/dist/{chunk-83yfcea1.js → chunk-gxvwxz66.js} +23 -21
- package/dist/{chunk-k0r0zkj8.js → chunk-h1rasc14.js} +23 -21
- package/dist/{chunk-5w1zy489.js → chunk-h4bhsw4n.js} +21 -19
- package/dist/{chunk-ay5fs2aa.js → chunk-h8g4dzh8.js} +1 -1
- package/dist/{chunk-jyp9ghx7.js → chunk-hg501pmq.js} +3 -3
- package/dist/{chunk-11xj9mwv.js → chunk-hj4x9zk8.js} +2 -2
- package/dist/{chunk-dg3pt430.js → chunk-hmhrq2c7.js} +4 -4
- package/dist/{chunk-1cewx5s7.js → chunk-hs3w3w48.js} +24 -22
- package/dist/{chunk-dfrgsj5b.js → chunk-ht87sq0p.js} +1 -1
- package/dist/{chunk-7g7e9act.js → chunk-j04bfarv.js} +4 -4
- package/dist/{chunk-tm3m9h26.js → chunk-j44z925j.js} +21 -19
- package/dist/{chunk-sd4w5naz.js → chunk-j7kr6c3p.js} +2 -2
- package/dist/{chunk-hnd3qdne.js → chunk-j7wkazh6.js} +1 -1
- package/dist/{chunk-0vkyg316.js → chunk-j9achhav.js} +23 -21
- package/dist/{chunk-7g809g0h.js → chunk-jas28x9w.js} +22 -20
- package/dist/chunk-jyd9pzyv.js +214 -0
- package/dist/{chunk-xkr0p6ye.js → chunk-kbb8csvp.js} +25 -23
- package/dist/{chunk-08751ft2.js → chunk-kj9f4vyt.js} +1 -1
- package/dist/{chunk-003me4vk.js → chunk-kjh99nmb.js} +4 -4
- package/dist/{chunk-vb439x6p.js → chunk-kn5pdd6x.js} +23 -21
- package/dist/{chunk-qgvxqs1j.js → chunk-kt1gknd2.js} +5 -5
- package/dist/{chunk-420ct162.js → chunk-kvws173j.js} +1 -1
- package/dist/{chunk-n3f8cmmp.js → chunk-kx9tqgwq.js} +22 -20
- package/dist/{chunk-bz8b0rkr.js → chunk-kxhsazvf.js} +1 -1
- package/dist/{chunk-q6x1cx12.js → chunk-m00g4ezf.js} +23 -21
- package/dist/{chunk-crjq6yhx.js → chunk-m57bemwn.js} +1 -1
- package/dist/{chunk-ehbn145a.js → chunk-mektrcb1.js} +22 -20
- package/dist/{chunk-y76a6yrx.js → chunk-mjvfs5k9.js} +2 -2
- package/dist/{chunk-w3xaxxcd.js → chunk-mk8kcgc9.js} +22 -20
- package/dist/{chunk-d4qy15j0.js → chunk-mkxqam7r.js} +2 -2
- package/dist/{chunk-pj2vyay0.js → chunk-mqe5zpyz.js} +28 -26
- package/dist/{chunk-1v95gra1.js → chunk-mqy6tpwy.js} +22 -20
- package/dist/{chunk-wr1k3cvr.js → chunk-mrkeczhn.js} +1 -1
- package/dist/chunk-mx28h61f.js +1147 -0
- package/dist/{chunk-wzs27t3w.js → chunk-n4h3qpm3.js} +21 -19
- package/dist/{chunk-ps3tzxen.js → chunk-nctfkq2d.js} +3 -3
- package/dist/{chunk-p2ph1g5r.js → chunk-ndey6hfx.js} +1 -1
- package/dist/{chunk-pk50mryy.js → chunk-nedg1yap.js} +21 -19
- package/dist/chunk-nrt4dy44.js +33312 -0
- package/dist/{chunk-xtp0zyj6.js → chunk-p5bgy9mh.js} +2 -2
- package/dist/{chunk-fzj9v433.js → chunk-p6cjpprs.js} +23 -21
- package/dist/{chunk-ksmr3w0g.js → chunk-p9qsxyjh.js} +1 -1
- package/dist/{chunk-1kpky5bk.js → chunk-pbx4p95k.js} +21 -19
- package/dist/{chunk-267xk8e1.js → chunk-pfkeata6.js} +6 -6
- package/dist/{chunk-1fzj9395.js → chunk-ph4fg5fy.js} +21 -19
- package/dist/{chunk-yceyh928.js → chunk-pspxzja4.js} +22 -20
- package/dist/{chunk-p2jjhhdq.js → chunk-pty6sd0g.js} +2 -2
- package/dist/{chunk-yjj8v101.js → chunk-pzw9dhq6.js} +21 -19
- package/dist/{chunk-jr1x6bfe.js → chunk-q03xj3ed.js} +6 -6
- package/dist/{chunk-7n35ryhw.js → chunk-q5dnjg69.js} +1 -1
- package/dist/chunk-q6qah661.js +196 -0
- package/dist/{chunk-s3aafktg.js → chunk-q6r63hnb.js} +21 -19
- package/dist/{chunk-5scc5afj.js → chunk-q835wq7s.js} +21 -19
- package/dist/{chunk-weckdstv.js → chunk-q8921s0c.js} +3 -3
- package/dist/chunk-q9apfqve.js +267 -0
- package/dist/{chunk-tvsx8wrp.js → chunk-q9pqkg5g.js} +1 -1
- package/dist/{chunk-na52mk0r.js → chunk-qavhysjp.js} +1 -1
- package/dist/{chunk-gjx8f6c8.js → chunk-qbj95e60.js} +21 -19
- package/dist/{chunk-prvrxrf2.js → chunk-qewm8tr9.js} +3 -3
- package/dist/{chunk-3e6xa1xf.js → chunk-qhzmdhbs.js} +23 -21
- package/dist/{chunk-mbj33rwa.js → chunk-qpnp2gsg.js} +29 -27
- package/dist/{chunk-fj9d53r3.js → chunk-qqp9j0jg.js} +1 -1
- package/dist/chunk-qwzhna0x.js +90 -0
- package/dist/{chunk-80x0ftcx.js → chunk-r2nxnbb3.js} +2 -2
- package/dist/{chunk-636ep70s.js → chunk-r3qyd4fy.js} +2 -2
- package/dist/{chunk-s9q1abw7.js → chunk-rfh7wv4a.js} +24 -22
- package/dist/{chunk-3fa6eerj.js → chunk-rfmeje1q.js} +5 -5
- package/dist/{chunk-crb2km34.js → chunk-rpxxag8n.js} +23 -21
- package/dist/{chunk-fxrdfygs.js → chunk-rtdvpmg3.js} +1 -1
- package/dist/{chunk-xachchct.js → chunk-s09p0nt3.js} +6 -6
- package/dist/{chunk-a8f3vcch.js → chunk-s6zdgyz5.js} +3 -3
- package/dist/{chunk-xe4srnxa.js → chunk-s9bkn7g1.js} +1 -1
- package/dist/{chunk-g87xrf7y.js → chunk-sf62rgd7.js} +21 -19
- package/dist/{chunk-b6ckwtkt.js → chunk-sfakn9kj.js} +3 -3
- package/dist/{chunk-c44kfkc6.js → chunk-spak4v3m.js} +3 -3
- package/dist/{chunk-z7m40dxe.js → chunk-sxrfd12q.js} +8 -8
- package/dist/{chunk-e1sqeyc7.js → chunk-t96ndax1.js} +22 -20
- package/dist/{chunk-q6rgn5n4.js → chunk-tc953t29.js} +21 -19
- package/dist/{chunk-mr2wt534.js → chunk-tebne2tj.js} +75 -72
- package/dist/{chunk-hryczgx7.js → chunk-tfg1cy4k.js} +21 -19
- package/dist/{chunk-d2yx9c0a.js → chunk-tm00c4mc.js} +1 -1
- package/dist/{chunk-48tbj7wy.js → chunk-v6cn9qy6.js} +20 -20
- package/dist/{chunk-s50ktp24.js → chunk-vnwvjfv9.js} +2 -2
- package/dist/{chunk-k2hbbsmf.js → chunk-vqzzy0vg.js} +11 -11
- package/dist/{chunk-0h6aw0a3.js → chunk-vy34hngg.js} +23 -21
- package/dist/{chunk-yz5qdghx.js → chunk-w30k8gq1.js} +45 -43
- package/dist/{chunk-tyeya5st.js → chunk-w5pgk5dc.js} +58 -104
- package/dist/{chunk-56gvmm6d.js → chunk-wb726dmj.js} +8 -2
- package/dist/{chunk-wh4h6pnd.js → chunk-we7bev8q.js} +2 -2
- package/dist/{chunk-9442vgaf.js → chunk-wj632b9e.js} +25 -23
- package/dist/{chunk-p3dpb078.js → chunk-wmv6cz3m.js} +21 -19
- package/dist/{chunk-hkx4p18v.js → chunk-wn15scks.js} +3 -3
- package/dist/{chunk-za5eeyp2.js → chunk-wqmgj845.js} +6 -6
- package/dist/{chunk-rhv0n2y0.js → chunk-wwf359v0.js} +26 -24
- package/dist/{chunk-apg75xb6.js → chunk-wxyyfxwr.js} +3 -3
- package/dist/{chunk-3ytpq9cp.js → chunk-x39ts21q.js} +26 -24
- package/dist/{chunk-5x5e58ya.js → chunk-x3g7n56x.js} +2 -2
- package/dist/{chunk-ed50zw8y.js → chunk-x556ezr2.js} +22 -20
- package/dist/{chunk-vhqrdtg4.js → chunk-xcmqpwbh.js} +22 -20
- package/dist/{chunk-zkexh4g0.js → chunk-xdkftwgb.js} +2 -2
- package/dist/{chunk-8chajkk7.js → chunk-xdms244j.js} +18 -18
- package/dist/{chunk-46r7cpk9.js → chunk-xm87cqje.js} +2 -2
- package/dist/{chunk-9z0m461t.js → chunk-xvnkzjs9.js} +1030 -854
- package/dist/{chunk-0bk7kxrj.js → chunk-xy5p8xma.js} +22 -20
- package/dist/{chunk-6vqtwyj6.js → chunk-y7h6g9zb.js} +21 -19
- package/dist/{chunk-mgn6vrbd.js → chunk-y8xa1pb2.js} +21 -19
- package/dist/{chunk-p1sd4c0p.js → chunk-ycd61p2g.js} +174 -143
- package/dist/{chunk-1qy9mmcc.js → chunk-z5ks3che.js} +35 -33
- package/dist/{chunk-mp5xz5tb.js → chunk-z5mep7nd.js} +1 -1
- package/dist/{chunk-yxn47tgb.js → chunk-zcgf7m9j.js} +32 -30
- package/dist/{chunk-ncy1z32c.js → chunk-zds3vpmv.js} +2 -2
- package/dist/{chunk-7sqx44pk.js → chunk-ze4es8f3.js} +1 -1
- package/dist/{chunk-jmyf3yfd.js → chunk-zrtbtra8.js} +2 -2
- package/dist/{chunk-s8h35ykn.js → chunk-zv1dqx0b.js} +21 -19
- package/dist/cli.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-7qkp95sn.js +0 -246
- package/dist/chunk-9gw90pr6.js +0 -143
- package/dist/chunk-na23wjzk.js +0 -2057
|
@@ -15,42 +15,44 @@ import {
|
|
|
15
15
|
installOrUpdateClaudePackage,
|
|
16
16
|
localInstallationExists,
|
|
17
17
|
removeInstalledSymlink
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import"./chunk-
|
|
20
|
-
import"./chunk-
|
|
21
|
-
import"./chunk-
|
|
18
|
+
} from "./chunk-xvnkzjs9.js";
|
|
19
|
+
import"./chunk-4gb4jcae.js";
|
|
20
|
+
import"./chunk-h8g4dzh8.js";
|
|
21
|
+
import"./chunk-nrt4dy44.js";
|
|
22
|
+
import"./chunk-99ct662a.js";
|
|
22
23
|
import"./chunk-t0rgmccj.js";
|
|
23
|
-
import"./chunk-
|
|
24
|
-
import"./chunk-
|
|
24
|
+
import"./chunk-nctfkq2d.js";
|
|
25
|
+
import"./chunk-2gzv8nrw.js";
|
|
25
26
|
import"./chunk-ehtwnxpg.js";
|
|
26
|
-
import"./chunk-
|
|
27
|
-
import"./chunk-
|
|
27
|
+
import"./chunk-egy1njgz.js";
|
|
28
|
+
import"./chunk-9jn1g9a1.js";
|
|
28
29
|
import"./chunk-vhjx5fag.js";
|
|
29
|
-
import"./chunk-
|
|
30
|
-
import"./chunk-
|
|
30
|
+
import"./chunk-kvws173j.js";
|
|
31
|
+
import"./chunk-q6qah661.js";
|
|
31
32
|
import"./chunk-j5hc27hv.js";
|
|
32
33
|
import"./chunk-cgfdkzhb.js";
|
|
33
|
-
import"./chunk-
|
|
34
|
-
import"./chunk-
|
|
34
|
+
import"./chunk-c4hrtcnx.js";
|
|
35
|
+
import"./chunk-mjvfs5k9.js";
|
|
35
36
|
import"./chunk-9gbamk79.js";
|
|
36
37
|
import {
|
|
37
38
|
init_completionCache,
|
|
38
39
|
regenerateCompletionCache
|
|
39
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-vnwvjfv9.js";
|
|
40
41
|
import"./chunk-gv0tqhg0.js";
|
|
41
|
-
import"./chunk-
|
|
42
|
-
import"./chunk-
|
|
42
|
+
import"./chunk-m57bemwn.js";
|
|
43
|
+
import"./chunk-tm00c4mc.js";
|
|
43
44
|
import"./chunk-7m2nd8da.js";
|
|
44
45
|
import {
|
|
45
46
|
gte,
|
|
46
47
|
init_semver
|
|
47
48
|
} from "./chunk-ps49ymvj.js";
|
|
48
49
|
import"./chunk-g338npwr.js";
|
|
49
|
-
import"./chunk-
|
|
50
|
+
import"./chunk-s9bkn7g1.js";
|
|
50
51
|
import"./chunk-zk2wsm7d.js";
|
|
51
|
-
import"./chunk-
|
|
52
|
+
import"./chunk-0pvns28z.js";
|
|
52
53
|
import"./chunk-7e6ahfxz.js";
|
|
53
|
-
import"./chunk-
|
|
54
|
+
import"./chunk-fzzsh5jr.js";
|
|
55
|
+
import"./chunk-mx28h61f.js";
|
|
54
56
|
import {
|
|
55
57
|
getGlobalConfig,
|
|
56
58
|
getInitialSettings,
|
|
@@ -59,7 +61,7 @@ import {
|
|
|
59
61
|
init_source,
|
|
60
62
|
saveGlobalConfig,
|
|
61
63
|
source_default
|
|
62
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-ycd61p2g.js";
|
|
63
65
|
import"./chunk-eebcvtbb.js";
|
|
64
66
|
import"./chunk-xq4cfvpn.js";
|
|
65
67
|
import"./chunk-4qz9vbs1.js";
|
|
@@ -133,7 +135,7 @@ init_semver();
|
|
|
133
135
|
init_settings();
|
|
134
136
|
async function update() {
|
|
135
137
|
logEvent("tengu_update_check", {});
|
|
136
|
-
writeToStdout(`Current version: ${"1.0.3-fork.
|
|
138
|
+
writeToStdout(`Current version: ${"1.0.3-fork.a9b3a37"}
|
|
137
139
|
`);
|
|
138
140
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
139
141
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -208,8 +210,8 @@ async function update() {
|
|
|
208
210
|
writeToStdout(`Claude is managed by Homebrew.
|
|
209
211
|
`);
|
|
210
212
|
const latest = await getLatestVersion(channel);
|
|
211
|
-
if (latest && !gte("1.0.3-fork.
|
|
212
|
-
writeToStdout(`Update available: ${"1.0.3-fork.
|
|
213
|
+
if (latest && !gte("1.0.3-fork.a9b3a37", latest)) {
|
|
214
|
+
writeToStdout(`Update available: ${"1.0.3-fork.a9b3a37"} \u2192 ${latest}
|
|
213
215
|
`);
|
|
214
216
|
writeToStdout(`
|
|
215
217
|
`);
|
|
@@ -225,8 +227,8 @@ async function update() {
|
|
|
225
227
|
writeToStdout(`Claude is managed by winget.
|
|
226
228
|
`);
|
|
227
229
|
const latest = await getLatestVersion(channel);
|
|
228
|
-
if (latest && !gte("1.0.3-fork.
|
|
229
|
-
writeToStdout(`Update available: ${"1.0.3-fork.
|
|
230
|
+
if (latest && !gte("1.0.3-fork.a9b3a37", latest)) {
|
|
231
|
+
writeToStdout(`Update available: ${"1.0.3-fork.a9b3a37"} \u2192 ${latest}
|
|
230
232
|
`);
|
|
231
233
|
writeToStdout(`
|
|
232
234
|
`);
|
|
@@ -242,8 +244,8 @@ async function update() {
|
|
|
242
244
|
writeToStdout(`Claude is managed by apk.
|
|
243
245
|
`);
|
|
244
246
|
const latest = await getLatestVersion(channel);
|
|
245
|
-
if (latest && !gte("1.0.3-fork.
|
|
246
|
-
writeToStdout(`Update available: ${"1.0.3-fork.
|
|
247
|
+
if (latest && !gte("1.0.3-fork.a9b3a37", latest)) {
|
|
248
|
+
writeToStdout(`Update available: ${"1.0.3-fork.a9b3a37"} \u2192 ${latest}
|
|
247
249
|
`);
|
|
248
250
|
writeToStdout(`
|
|
249
251
|
`);
|
|
@@ -308,11 +310,11 @@ async function update() {
|
|
|
308
310
|
`);
|
|
309
311
|
await gracefulShutdown(1);
|
|
310
312
|
}
|
|
311
|
-
if (result.latestVersion === "1.0.3-fork.
|
|
312
|
-
writeToStdout(source_default.green(`Claude Code is up to date (${"1.0.3-fork.
|
|
313
|
+
if (result.latestVersion === "1.0.3-fork.a9b3a37") {
|
|
314
|
+
writeToStdout(source_default.green(`Claude Code is up to date (${"1.0.3-fork.a9b3a37"})`) + `
|
|
313
315
|
`);
|
|
314
316
|
} else {
|
|
315
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.0.3-fork.
|
|
317
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.0.3-fork.a9b3a37"} to version ${result.latestVersion}`) + `
|
|
316
318
|
`);
|
|
317
319
|
await regenerateCompletionCache();
|
|
318
320
|
}
|
|
@@ -372,12 +374,12 @@ async function update() {
|
|
|
372
374
|
`);
|
|
373
375
|
await gracefulShutdown(1);
|
|
374
376
|
}
|
|
375
|
-
if (latestVersion === "1.0.3-fork.
|
|
376
|
-
writeToStdout(source_default.green(`Claude Code is up to date (${"1.0.3-fork.
|
|
377
|
+
if (latestVersion === "1.0.3-fork.a9b3a37") {
|
|
378
|
+
writeToStdout(source_default.green(`Claude Code is up to date (${"1.0.3-fork.a9b3a37"})`) + `
|
|
377
379
|
`);
|
|
378
380
|
await gracefulShutdown(0);
|
|
379
381
|
}
|
|
380
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"1.0.3-fork.
|
|
382
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"1.0.3-fork.a9b3a37"})
|
|
381
383
|
`);
|
|
382
384
|
writeToStdout(`Installing update...
|
|
383
385
|
`);
|
|
@@ -422,7 +424,7 @@ async function update() {
|
|
|
422
424
|
logForDebugging(`update: Installation status: ${status}`);
|
|
423
425
|
switch (status) {
|
|
424
426
|
case "success":
|
|
425
|
-
writeToStdout(source_default.green(`Successfully updated from ${"1.0.3-fork.
|
|
427
|
+
writeToStdout(source_default.green(`Successfully updated from ${"1.0.3-fork.a9b3a37"} to version ${latestVersion}`) + `
|
|
426
428
|
`);
|
|
427
429
|
await regenerateCompletionCache();
|
|
428
430
|
break;
|
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
import {
|
|
3
3
|
init_exportRenderer,
|
|
4
4
|
renderMessagesToPlainText
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import"./chunk-
|
|
7
|
-
import"./chunk-
|
|
8
|
-
import"./chunk-
|
|
9
|
-
import"./chunk-
|
|
10
|
-
import"./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
14
|
-
import"./chunk-
|
|
15
|
-
import"./chunk-
|
|
5
|
+
} from "./chunk-6mdwbdym.js";
|
|
6
|
+
import"./chunk-xdms244j.js";
|
|
7
|
+
import"./chunk-62a7pt5j.js";
|
|
8
|
+
import"./chunk-2c1142r1.js";
|
|
9
|
+
import"./chunk-spak4v3m.js";
|
|
10
|
+
import"./chunk-6zv0d2kc.js";
|
|
11
|
+
import"./chunk-fkdvrdab.js";
|
|
12
|
+
import"./chunk-92srwrsp.js";
|
|
13
|
+
import"./chunk-ze4es8f3.js";
|
|
14
|
+
import"./chunk-d34qwk2x.js";
|
|
15
|
+
import"./chunk-1j20e0bw.js";
|
|
16
16
|
import {
|
|
17
17
|
Select,
|
|
18
18
|
TextInput,
|
|
19
19
|
init_TextInput,
|
|
20
20
|
init_select
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import"./chunk-
|
|
23
|
-
import"./chunk-
|
|
24
|
-
import"./chunk-
|
|
21
|
+
} from "./chunk-xvnkzjs9.js";
|
|
22
|
+
import"./chunk-4gb4jcae.js";
|
|
23
|
+
import"./chunk-h8g4dzh8.js";
|
|
24
|
+
import"./chunk-nrt4dy44.js";
|
|
25
|
+
import"./chunk-99ct662a.js";
|
|
25
26
|
import"./chunk-t0rgmccj.js";
|
|
26
|
-
import"./chunk-ay5fs2aa.js";
|
|
27
27
|
import {
|
|
28
28
|
Byline,
|
|
29
29
|
ConfigurableShortcutHint,
|
|
@@ -33,45 +33,47 @@ import {
|
|
|
33
33
|
init_ConfigurableShortcutHint,
|
|
34
34
|
init_Dialog,
|
|
35
35
|
init_KeyboardShortcutHint
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-nctfkq2d.js";
|
|
37
|
+
import"./chunk-2gzv8nrw.js";
|
|
37
38
|
import"./chunk-ehtwnxpg.js";
|
|
38
|
-
import"./chunk-
|
|
39
|
-
import"./chunk-
|
|
39
|
+
import"./chunk-egy1njgz.js";
|
|
40
|
+
import"./chunk-9jn1g9a1.js";
|
|
40
41
|
import"./chunk-vhjx5fag.js";
|
|
41
|
-
import"./chunk-
|
|
42
|
-
import"./chunk-
|
|
42
|
+
import"./chunk-kvws173j.js";
|
|
43
|
+
import"./chunk-q6qah661.js";
|
|
43
44
|
import"./chunk-j5hc27hv.js";
|
|
44
45
|
import"./chunk-cgfdkzhb.js";
|
|
45
|
-
import"./chunk-
|
|
46
|
-
import"./chunk-
|
|
46
|
+
import"./chunk-c4hrtcnx.js";
|
|
47
|
+
import"./chunk-mjvfs5k9.js";
|
|
47
48
|
import"./chunk-9gbamk79.js";
|
|
48
|
-
import"./chunk-
|
|
49
|
+
import"./chunk-vnwvjfv9.js";
|
|
49
50
|
import"./chunk-gv0tqhg0.js";
|
|
50
51
|
import {
|
|
51
52
|
init_useKeybinding,
|
|
52
53
|
init_useTerminalSize,
|
|
53
54
|
useKeybinding,
|
|
54
55
|
useTerminalSize
|
|
55
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-m57bemwn.js";
|
|
56
57
|
import {
|
|
57
58
|
ThemedBox_default,
|
|
58
59
|
ThemedText,
|
|
59
60
|
init_ink,
|
|
60
61
|
init_osc,
|
|
61
62
|
setClipboard
|
|
62
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-tm00c4mc.js";
|
|
63
64
|
import"./chunk-7m2nd8da.js";
|
|
64
65
|
import"./chunk-ps49ymvj.js";
|
|
65
66
|
import {
|
|
66
67
|
require_jsx_dev_runtime,
|
|
67
68
|
require_react
|
|
68
69
|
} from "./chunk-g338npwr.js";
|
|
69
|
-
import"./chunk-
|
|
70
|
+
import"./chunk-s9bkn7g1.js";
|
|
70
71
|
import"./chunk-zk2wsm7d.js";
|
|
71
|
-
import"./chunk-
|
|
72
|
+
import"./chunk-0pvns28z.js";
|
|
72
73
|
import"./chunk-7e6ahfxz.js";
|
|
73
|
-
import"./chunk-
|
|
74
|
-
import"./chunk-
|
|
74
|
+
import"./chunk-fzzsh5jr.js";
|
|
75
|
+
import"./chunk-mx28h61f.js";
|
|
76
|
+
import"./chunk-ycd61p2g.js";
|
|
75
77
|
import"./chunk-eebcvtbb.js";
|
|
76
78
|
import"./chunk-xq4cfvpn.js";
|
|
77
79
|
import"./chunk-4qz9vbs1.js";
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
getTeammateModeFromSnapshot,
|
|
7
7
|
init_teammateModeSnapshot,
|
|
8
8
|
setCliTeammateModeOverride
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import"./chunk-
|
|
9
|
+
} from "./chunk-99ct662a.js";
|
|
10
|
+
import"./chunk-ycd61p2g.js";
|
|
11
11
|
import"./chunk-eebcvtbb.js";
|
|
12
12
|
import"./chunk-xq4cfvpn.js";
|
|
13
13
|
import"./chunk-4qz9vbs1.js";
|
|
@@ -27,8 +27,8 @@ import {
|
|
|
27
27
|
trackFileCreation,
|
|
28
28
|
trackFileDeletion,
|
|
29
29
|
trackFileModification
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import"./chunk-
|
|
30
|
+
} from "./chunk-9jn1g9a1.js";
|
|
31
|
+
import"./chunk-ycd61p2g.js";
|
|
32
32
|
import"./chunk-eebcvtbb.js";
|
|
33
33
|
import"./chunk-xq4cfvpn.js";
|
|
34
34
|
import"./chunk-4qz9vbs1.js";
|
|
@@ -6,50 +6,52 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
init_AppState,
|
|
8
8
|
useAppState
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import"./chunk-
|
|
11
|
-
import"./chunk-
|
|
12
|
-
import"./chunk-
|
|
9
|
+
} from "./chunk-xvnkzjs9.js";
|
|
10
|
+
import"./chunk-4gb4jcae.js";
|
|
11
|
+
import"./chunk-h8g4dzh8.js";
|
|
12
|
+
import"./chunk-nrt4dy44.js";
|
|
13
|
+
import"./chunk-99ct662a.js";
|
|
13
14
|
import"./chunk-t0rgmccj.js";
|
|
14
|
-
import"./chunk-
|
|
15
|
-
import"./chunk-
|
|
15
|
+
import"./chunk-nctfkq2d.js";
|
|
16
|
+
import"./chunk-2gzv8nrw.js";
|
|
16
17
|
import"./chunk-ehtwnxpg.js";
|
|
17
|
-
import"./chunk-
|
|
18
|
-
import"./chunk-
|
|
18
|
+
import"./chunk-egy1njgz.js";
|
|
19
|
+
import"./chunk-9jn1g9a1.js";
|
|
19
20
|
import"./chunk-vhjx5fag.js";
|
|
20
|
-
import"./chunk-
|
|
21
|
-
import"./chunk-
|
|
21
|
+
import"./chunk-kvws173j.js";
|
|
22
|
+
import"./chunk-q6qah661.js";
|
|
22
23
|
import"./chunk-j5hc27hv.js";
|
|
23
24
|
import"./chunk-cgfdkzhb.js";
|
|
24
|
-
import"./chunk-
|
|
25
|
-
import"./chunk-
|
|
25
|
+
import"./chunk-c4hrtcnx.js";
|
|
26
|
+
import"./chunk-mjvfs5k9.js";
|
|
26
27
|
import"./chunk-9gbamk79.js";
|
|
27
|
-
import"./chunk-
|
|
28
|
+
import"./chunk-vnwvjfv9.js";
|
|
28
29
|
import"./chunk-gv0tqhg0.js";
|
|
29
30
|
import {
|
|
30
31
|
Pane,
|
|
31
32
|
init_Pane,
|
|
32
33
|
init_useKeybinding,
|
|
33
34
|
useKeybinding
|
|
34
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-m57bemwn.js";
|
|
35
36
|
import {
|
|
36
37
|
ThemedBox_default,
|
|
37
38
|
ThemedText,
|
|
38
39
|
init_ink,
|
|
39
40
|
require_compiler_runtime
|
|
40
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-tm00c4mc.js";
|
|
41
42
|
import"./chunk-7m2nd8da.js";
|
|
42
43
|
import"./chunk-ps49ymvj.js";
|
|
43
44
|
import {
|
|
44
45
|
require_jsx_dev_runtime,
|
|
45
46
|
require_react
|
|
46
47
|
} from "./chunk-g338npwr.js";
|
|
47
|
-
import"./chunk-
|
|
48
|
+
import"./chunk-s9bkn7g1.js";
|
|
48
49
|
import"./chunk-zk2wsm7d.js";
|
|
49
|
-
import"./chunk-
|
|
50
|
+
import"./chunk-0pvns28z.js";
|
|
50
51
|
import"./chunk-7e6ahfxz.js";
|
|
51
|
-
import"./chunk-
|
|
52
|
-
import"./chunk-
|
|
52
|
+
import"./chunk-fzzsh5jr.js";
|
|
53
|
+
import"./chunk-mx28h61f.js";
|
|
54
|
+
import"./chunk-ycd61p2g.js";
|
|
53
55
|
import"./chunk-eebcvtbb.js";
|
|
54
56
|
import"./chunk-xq4cfvpn.js";
|
|
55
57
|
import"./chunk-4qz9vbs1.js";
|
package/dist/cli.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
// src/entrypoints/cli.tsx
|
|
13
13
|
init_cliBranding();
|
|
14
14
|
function getCliVersion() {
|
|
15
|
-
return typeof MACRO !== "undefined" ? "1.0.3-fork.
|
|
15
|
+
return typeof MACRO !== "undefined" ? "1.0.3-fork.a9b3a37" : process.env.npm_package_version?.trim() || "dev";
|
|
16
16
|
}
|
|
17
17
|
process.env.COREPACK_ENABLE_AUTO_PIN = "0";
|
|
18
18
|
if (process.env.CLAUDE_CODE_REMOTE === "true") {
|
|
@@ -33,7 +33,7 @@ async function main() {
|
|
|
33
33
|
if (false) {}
|
|
34
34
|
if (process.argv[2] === "--claude-in-chrome-mcp") {
|
|
35
35
|
profileCheckpoint("cli_claude_in_chrome_mcp_path");
|
|
36
|
-
const { runClaudeInChromeMcpServer } = await import("./chunk-
|
|
36
|
+
const { runClaudeInChromeMcpServer } = await import("./chunk-vy34hngg.js");
|
|
37
37
|
await runClaudeInChromeMcpServer();
|
|
38
38
|
return;
|
|
39
39
|
} else if (process.argv[2] === "--chrome-native-host") {
|
|
@@ -60,11 +60,11 @@ async function main() {
|
|
|
60
60
|
const hasTmuxFlag = args.includes("--tmux") || args.includes("--tmux=classic");
|
|
61
61
|
if (hasTmuxFlag && (args.includes("-w") || args.includes("--worktree") || args.some((a) => a.startsWith("--worktree=")))) {
|
|
62
62
|
profileCheckpoint("cli_tmux_worktree_fast_path");
|
|
63
|
-
const { enableConfigs } = await import("./chunk-
|
|
63
|
+
const { enableConfigs } = await import("./chunk-e95azkk3.js");
|
|
64
64
|
enableConfigs();
|
|
65
65
|
const { isWorktreeModeEnabled } = await import("./chunk-pwwa7s62.js");
|
|
66
66
|
if (isWorktreeModeEnabled()) {
|
|
67
|
-
const { execIntoTmuxWorktree } = await import("./chunk-
|
|
67
|
+
const { execIntoTmuxWorktree } = await import("./chunk-pbx4p95k.js");
|
|
68
68
|
const result = await execIntoTmuxWorktree(args);
|
|
69
69
|
if (result.handled) {
|
|
70
70
|
return;
|
|
@@ -84,7 +84,7 @@ async function main() {
|
|
|
84
84
|
const { startCapturingEarlyInput } = await import("./chunk-ywxd4qw4.js");
|
|
85
85
|
startCapturingEarlyInput();
|
|
86
86
|
profileCheckpoint("cli_before_main_import");
|
|
87
|
-
const { main: cliMain } = await import("./chunk-
|
|
87
|
+
const { main: cliMain } = await import("./chunk-cfwy63tr.js");
|
|
88
88
|
profileCheckpoint("cli_after_main_import");
|
|
89
89
|
await cliMain();
|
|
90
90
|
profileCheckpoint("cli_after_main_complete");
|
package/package.json
CHANGED
package/dist/chunk-7qkp95sn.js
DELETED
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
MODEL_COSTS,
|
|
4
|
-
getAPIProvider,
|
|
5
|
-
getCanonicalName,
|
|
6
|
-
getEventMetadata,
|
|
7
|
-
getOrCreateUserID,
|
|
8
|
-
init_config,
|
|
9
|
-
init_config1 as init_config2,
|
|
10
|
-
init_metadata,
|
|
11
|
-
init_model,
|
|
12
|
-
init_modelCost,
|
|
13
|
-
init_providers,
|
|
14
|
-
isAnalyticsDisabled
|
|
15
|
-
} from "./chunk-p1sd4c0p.js";
|
|
16
|
-
import {
|
|
17
|
-
init_log,
|
|
18
|
-
logError
|
|
19
|
-
} from "./chunk-yysj6sxt.js";
|
|
20
|
-
import {
|
|
21
|
-
init_memoize,
|
|
22
|
-
memoize_default
|
|
23
|
-
} from "./chunk-hqmz36b3.js";
|
|
24
|
-
import {
|
|
25
|
-
axios_default,
|
|
26
|
-
init_axios
|
|
27
|
-
} from "./chunk-xszk7n10.js";
|
|
28
|
-
import {
|
|
29
|
-
__esm
|
|
30
|
-
} from "./chunk-qp2qdcda.js";
|
|
31
|
-
|
|
32
|
-
// src/services/analytics/datadog.ts
|
|
33
|
-
import { createHash } from "crypto";
|
|
34
|
-
function camelToSnakeCase(str) {
|
|
35
|
-
return str.replace(/[A-Z]/g, (letter) => `_${letter.toLowerCase()}`);
|
|
36
|
-
}
|
|
37
|
-
async function flushLogs() {
|
|
38
|
-
if (logBatch.length === 0)
|
|
39
|
-
return;
|
|
40
|
-
const logsToSend = logBatch;
|
|
41
|
-
logBatch = [];
|
|
42
|
-
try {
|
|
43
|
-
await axios_default.post(DATADOG_LOGS_ENDPOINT, logsToSend, {
|
|
44
|
-
headers: {
|
|
45
|
-
"Content-Type": "application/json",
|
|
46
|
-
"DD-API-KEY": DATADOG_CLIENT_TOKEN
|
|
47
|
-
},
|
|
48
|
-
timeout: NETWORK_TIMEOUT_MS
|
|
49
|
-
});
|
|
50
|
-
} catch (error) {
|
|
51
|
-
logError(error);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
function scheduleFlush() {
|
|
55
|
-
if (flushTimer)
|
|
56
|
-
return;
|
|
57
|
-
flushTimer = setTimeout(() => {
|
|
58
|
-
flushTimer = null;
|
|
59
|
-
flushLogs();
|
|
60
|
-
}, getFlushIntervalMs()).unref();
|
|
61
|
-
}
|
|
62
|
-
async function shutdownDatadog() {
|
|
63
|
-
if (flushTimer) {
|
|
64
|
-
clearTimeout(flushTimer);
|
|
65
|
-
flushTimer = null;
|
|
66
|
-
}
|
|
67
|
-
await flushLogs();
|
|
68
|
-
}
|
|
69
|
-
async function trackDatadogEvent(eventName, properties) {
|
|
70
|
-
if (true) {
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
if (getAPIProvider() !== "firstParty") {
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
let initialized = datadogInitialized;
|
|
77
|
-
if (initialized === null) {
|
|
78
|
-
initialized = await initializeDatadog();
|
|
79
|
-
}
|
|
80
|
-
if (!initialized || !DATADOG_ALLOWED_EVENTS.has(eventName)) {
|
|
81
|
-
return;
|
|
82
|
-
}
|
|
83
|
-
try {
|
|
84
|
-
const metadata = await getEventMetadata({
|
|
85
|
-
model: properties.model,
|
|
86
|
-
betas: properties.betas
|
|
87
|
-
});
|
|
88
|
-
const { envContext, ...restMetadata } = metadata;
|
|
89
|
-
const allData = {
|
|
90
|
-
...restMetadata,
|
|
91
|
-
...envContext,
|
|
92
|
-
...properties,
|
|
93
|
-
userBucket: getUserBucket()
|
|
94
|
-
};
|
|
95
|
-
if (typeof allData.toolName === "string" && allData.toolName.startsWith("mcp__")) {
|
|
96
|
-
allData.toolName = "mcp";
|
|
97
|
-
}
|
|
98
|
-
if (process.env.USER_TYPE !== "ant" && typeof allData.model === "string") {
|
|
99
|
-
const shortName = getCanonicalName(allData.model.replace(/\[1m]$/i, ""));
|
|
100
|
-
allData.model = shortName in MODEL_COSTS ? shortName : "other";
|
|
101
|
-
}
|
|
102
|
-
if (typeof allData.version === "string") {
|
|
103
|
-
allData.version = allData.version.replace(/^(\d+\.\d+\.\d+-dev\.\d{8})\.t\d+\.sha[a-f0-9]+$/, "$1");
|
|
104
|
-
}
|
|
105
|
-
if (allData.status !== undefined && allData.status !== null) {
|
|
106
|
-
const statusCode = String(allData.status);
|
|
107
|
-
allData.http_status = statusCode;
|
|
108
|
-
const firstDigit = statusCode.charAt(0);
|
|
109
|
-
if (firstDigit >= "1" && firstDigit <= "5") {
|
|
110
|
-
allData.http_status_range = `${firstDigit}xx`;
|
|
111
|
-
}
|
|
112
|
-
delete allData.status;
|
|
113
|
-
}
|
|
114
|
-
const allDataRecord = allData;
|
|
115
|
-
const tags = [
|
|
116
|
-
`event:${eventName}`,
|
|
117
|
-
...TAG_FIELDS.filter((field) => allDataRecord[field] !== undefined && allDataRecord[field] !== null).map((field) => `${camelToSnakeCase(field)}:${allDataRecord[field]}`)
|
|
118
|
-
];
|
|
119
|
-
const log = {
|
|
120
|
-
ddsource: "nodejs",
|
|
121
|
-
ddtags: tags.join(","),
|
|
122
|
-
message: eventName,
|
|
123
|
-
service: "claude-code",
|
|
124
|
-
hostname: "claude-code",
|
|
125
|
-
env: process.env.USER_TYPE
|
|
126
|
-
};
|
|
127
|
-
for (const [key, value] of Object.entries(allData)) {
|
|
128
|
-
if (value !== undefined && value !== null) {
|
|
129
|
-
log[camelToSnakeCase(key)] = value;
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
logBatch.push(log);
|
|
133
|
-
if (logBatch.length >= MAX_BATCH_SIZE) {
|
|
134
|
-
if (flushTimer) {
|
|
135
|
-
clearTimeout(flushTimer);
|
|
136
|
-
flushTimer = null;
|
|
137
|
-
}
|
|
138
|
-
flushLogs();
|
|
139
|
-
} else {
|
|
140
|
-
scheduleFlush();
|
|
141
|
-
}
|
|
142
|
-
} catch (error) {
|
|
143
|
-
logError(error);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
function getFlushIntervalMs() {
|
|
147
|
-
return parseInt(process.env.CLAUDE_CODE_DATADOG_FLUSH_INTERVAL_MS || "", 10) || DEFAULT_FLUSH_INTERVAL_MS;
|
|
148
|
-
}
|
|
149
|
-
var DATADOG_LOGS_ENDPOINT = "https://http-intake.logs.us5.datadoghq.com/api/v2/logs", DATADOG_CLIENT_TOKEN = "pubbbf48e6d78dae54bceaa4acf463299bf", DEFAULT_FLUSH_INTERVAL_MS = 15000, MAX_BATCH_SIZE = 100, NETWORK_TIMEOUT_MS = 5000, DATADOG_ALLOWED_EVENTS, TAG_FIELDS, logBatch, flushTimer = null, datadogInitialized = null, initializeDatadog, NUM_USER_BUCKETS = 30, getUserBucket;
|
|
150
|
-
var init_datadog = __esm(() => {
|
|
151
|
-
init_axios();
|
|
152
|
-
init_memoize();
|
|
153
|
-
init_config2();
|
|
154
|
-
init_log();
|
|
155
|
-
init_model();
|
|
156
|
-
init_providers();
|
|
157
|
-
init_modelCost();
|
|
158
|
-
init_config();
|
|
159
|
-
init_metadata();
|
|
160
|
-
DATADOG_ALLOWED_EVENTS = new Set([
|
|
161
|
-
"chrome_bridge_connection_succeeded",
|
|
162
|
-
"chrome_bridge_connection_failed",
|
|
163
|
-
"chrome_bridge_disconnected",
|
|
164
|
-
"chrome_bridge_tool_call_completed",
|
|
165
|
-
"chrome_bridge_tool_call_error",
|
|
166
|
-
"chrome_bridge_tool_call_started",
|
|
167
|
-
"chrome_bridge_tool_call_timeout",
|
|
168
|
-
"tengu_api_error",
|
|
169
|
-
"tengu_api_success",
|
|
170
|
-
"tengu_brief_mode_enabled",
|
|
171
|
-
"tengu_brief_mode_toggled",
|
|
172
|
-
"tengu_brief_send",
|
|
173
|
-
"tengu_cancel",
|
|
174
|
-
"tengu_compact_failed",
|
|
175
|
-
"tengu_exit",
|
|
176
|
-
"tengu_flicker",
|
|
177
|
-
"tengu_init",
|
|
178
|
-
"tengu_model_fallback_triggered",
|
|
179
|
-
"tengu_oauth_error",
|
|
180
|
-
"tengu_oauth_success",
|
|
181
|
-
"tengu_oauth_token_refresh_failure",
|
|
182
|
-
"tengu_oauth_token_refresh_success",
|
|
183
|
-
"tengu_oauth_token_refresh_lock_acquiring",
|
|
184
|
-
"tengu_oauth_token_refresh_lock_acquired",
|
|
185
|
-
"tengu_oauth_token_refresh_starting",
|
|
186
|
-
"tengu_oauth_token_refresh_completed",
|
|
187
|
-
"tengu_oauth_token_refresh_lock_releasing",
|
|
188
|
-
"tengu_oauth_token_refresh_lock_released",
|
|
189
|
-
"tengu_query_error",
|
|
190
|
-
"tengu_session_file_read",
|
|
191
|
-
"tengu_started",
|
|
192
|
-
"tengu_tool_use_error",
|
|
193
|
-
"tengu_tool_use_granted_in_prompt_permanent",
|
|
194
|
-
"tengu_tool_use_granted_in_prompt_temporary",
|
|
195
|
-
"tengu_tool_use_rejected_in_prompt",
|
|
196
|
-
"tengu_tool_use_success",
|
|
197
|
-
"tengu_uncaught_exception",
|
|
198
|
-
"tengu_unhandled_rejection",
|
|
199
|
-
"tengu_voice_recording_started",
|
|
200
|
-
"tengu_voice_toggled",
|
|
201
|
-
"tengu_team_mem_sync_pull",
|
|
202
|
-
"tengu_team_mem_sync_push",
|
|
203
|
-
"tengu_team_mem_sync_started",
|
|
204
|
-
"tengu_team_mem_entries_capped"
|
|
205
|
-
]);
|
|
206
|
-
TAG_FIELDS = [
|
|
207
|
-
"arch",
|
|
208
|
-
"clientType",
|
|
209
|
-
"errorType",
|
|
210
|
-
"http_status_range",
|
|
211
|
-
"http_status",
|
|
212
|
-
"kairosActive",
|
|
213
|
-
"model",
|
|
214
|
-
"platform",
|
|
215
|
-
"provider",
|
|
216
|
-
"skillMode",
|
|
217
|
-
"subscriptionType",
|
|
218
|
-
"toolName",
|
|
219
|
-
"userBucket",
|
|
220
|
-
"userType",
|
|
221
|
-
"version",
|
|
222
|
-
"versionBase"
|
|
223
|
-
];
|
|
224
|
-
logBatch = [];
|
|
225
|
-
initializeDatadog = memoize_default(async () => {
|
|
226
|
-
if (isAnalyticsDisabled()) {
|
|
227
|
-
datadogInitialized = false;
|
|
228
|
-
return false;
|
|
229
|
-
}
|
|
230
|
-
try {
|
|
231
|
-
datadogInitialized = true;
|
|
232
|
-
return true;
|
|
233
|
-
} catch (error) {
|
|
234
|
-
logError(error);
|
|
235
|
-
datadogInitialized = false;
|
|
236
|
-
return false;
|
|
237
|
-
}
|
|
238
|
-
});
|
|
239
|
-
getUserBucket = memoize_default(() => {
|
|
240
|
-
const userId = getOrCreateUserID();
|
|
241
|
-
const hash = createHash("sha256").update(userId).digest("hex");
|
|
242
|
-
return parseInt(hash.slice(0, 8), 16) % NUM_USER_BUCKETS;
|
|
243
|
-
});
|
|
244
|
-
});
|
|
245
|
-
|
|
246
|
-
export { shutdownDatadog, trackDatadogEvent, init_datadog };
|