@zyycn/claudex 1.0.3-fork.8ea3477 → 1.0.3-fork.d431a23
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 +39 -7
- package/dist/{chunk-zpdp8dhh.js → chunk-01tvypa6.js} +4 -4
- package/dist/{chunk-56gvmm6d.js → chunk-05dxsca7.js} +2 -2
- package/dist/{chunk-48tbj7wy.js → chunk-0ay4z15s.js} +20 -20
- package/dist/{chunk-yjj8v101.js → chunk-0b80ya38.js} +20 -19
- package/dist/{chunk-na52mk0r.js → chunk-0f1bhr68.js} +1 -1
- package/dist/{chunk-ncy1z32c.js → chunk-0kcwd0jq.js} +2 -2
- package/dist/{chunk-wh4h6pnd.js → chunk-0s7wn3ke.js} +2 -2
- package/dist/{chunk-dama2y06.js → chunk-0tzbdaqp.js} +1 -1
- package/dist/{chunk-zqftk9ez.js → chunk-0xh07eks.js} +10 -10
- package/dist/{chunk-52b01pex.js → chunk-151d156v.js} +27 -26
- package/dist/{chunk-bc024pcs.js → chunk-16dbjqb5.js} +21 -20
- package/dist/{chunk-crjq6yhx.js → chunk-1dht9e5c.js} +1 -1
- package/dist/{chunk-7g7e9act.js → chunk-1psdpke7.js} +4 -4
- package/dist/{chunk-3e6xa1xf.js → chunk-1x6kb926.js} +22 -21
- package/dist/{chunk-47mk9z0m.js → chunk-20c54nd1.js} +9 -9
- package/dist/{chunk-aaqgpqgw.js → chunk-2dcafvh4.js} +20 -19
- package/dist/{chunk-90n37wrr.js → chunk-2kj6w2ne.js} +20 -19
- package/dist/{chunk-y6gvetdv.js → chunk-2maj6294.js} +6 -6
- package/dist/{chunk-yeeh5x71.js → chunk-2qdbzanj.js} +24 -23
- package/dist/{chunk-yw6st6p0.js → chunk-2qwxn1y4.js} +20 -19
- package/dist/{chunk-4z2f0he5.js → chunk-2tjc2pqv.js} +21 -20
- package/dist/{chunk-mgn6vrbd.js → chunk-35dacgyn.js} +20 -19
- package/dist/{chunk-qgvxqs1j.js → chunk-3g6z3f4d.js} +5 -5
- package/dist/{chunk-3fa6eerj.js → chunk-3nf69n58.js} +5 -5
- package/dist/{chunk-dfrgsj5b.js → chunk-3qt05hvw.js} +1 -1
- package/dist/{chunk-hcxrs7ab.js → chunk-3x799rjw.js} +6 -6
- package/dist/{chunk-1v95gra1.js → chunk-3xx40kg6.js} +21 -20
- package/dist/{chunk-ernvc6tg.js → chunk-3zz8cc5n.js} +3 -3
- package/dist/{chunk-jncc0weh.js → chunk-41d25scr.js} +2 -2
- package/dist/{chunk-0xc21vnj.js → chunk-48ek7jsk.js} +21 -20
- package/dist/{chunk-s8h35ykn.js → chunk-4950gkct.js} +20 -19
- package/dist/{chunk-34xh1xdb.js → chunk-4a5yq2at.js} +2 -2
- package/dist/{chunk-267xk8e1.js → chunk-4c07ygn1.js} +6 -6
- package/dist/{chunk-vb439x6p.js → chunk-4dhe5zs4.js} +22 -21
- package/dist/{chunk-9z0m461t.js → chunk-4jfr5hpa.js} +1018 -853
- package/dist/{chunk-1cewx5s7.js → chunk-4t77xkzy.js} +23 -22
- package/dist/{chunk-xy5eszqt.js → chunk-4wkapvg6.js} +25 -24
- package/dist/{chunk-hm3qhyzb.js → chunk-5325b81p.js} +31 -30
- package/dist/{chunk-m5xz321k.js → chunk-54pyzhzb.js} +1 -1
- package/dist/{chunk-11xj9mwv.js → chunk-54rxez9g.js} +2 -2
- package/dist/{chunk-prvrxrf2.js → chunk-5kjev5hh.js} +3 -3
- package/dist/{chunk-2f4jrja7.js → chunk-5pa2yx5s.js} +9 -9
- package/dist/{chunk-s9q1abw7.js → chunk-5xt2d4bb.js} +23 -22
- package/dist/{chunk-pk50mryy.js → chunk-609xrcxc.js} +20 -19
- package/dist/{chunk-8chajkk7.js → chunk-6d4tx7ef.js} +18 -18
- package/dist/{chunk-rk739vnk.js → chunk-6k3xvnph.js} +2 -2
- package/dist/{chunk-0eq9w0ba.js → chunk-71t0tj24.js} +20 -19
- package/dist/chunk-74tba5ee.js +196 -0
- package/dist/{chunk-bx7mvxyt.js → chunk-759574r7.js} +31 -30
- package/dist/{chunk-rean7kct.js → chunk-7mq9sryw.js} +2 -2
- package/dist/{chunk-wr1k3cvr.js → chunk-7sp74ndb.js} +1 -1
- package/dist/{chunk-1t6z9k3a.js → chunk-7v0z5bqy.js} +28 -27
- package/dist/{chunk-yxn47tgb.js → chunk-7vnfxjhh.js} +31 -30
- package/dist/{chunk-k47b4t99.js → chunk-7z4c47b9.js} +20 -19
- package/dist/{chunk-a62pbzrb.js → chunk-7zf1x2b3.js} +2 -2
- package/dist/{chunk-x6tcd9r0.js → chunk-82h7hne4.js} +36 -35
- package/dist/{chunk-s50ktp24.js → chunk-83e9jh5s.js} +2 -2
- package/dist/{chunk-wzs27t3w.js → chunk-858mwn25.js} +20 -19
- package/dist/{chunk-jr1x6bfe.js → chunk-88cwxp5z.js} +6 -6
- package/dist/{chunk-0vkyg316.js → chunk-8b7w0cbw.js} +22 -21
- package/dist/{chunk-7t2b6skq.js → chunk-8dre20nz.js} +20 -19
- package/dist/{chunk-5scc5afj.js → chunk-8ep722jt.js} +20 -19
- package/dist/{chunk-2rcdx4ke.js → chunk-8nggptap.js} +4 -4
- package/dist/{chunk-s3aafktg.js → chunk-8q6pwy6h.js} +20 -19
- package/dist/{chunk-7sqx44pk.js → chunk-8rav9pr5.js} +1 -1
- package/dist/{chunk-sn9qfdb7.js → chunk-8zvjbcem.js} +1 -1
- package/dist/{chunk-1s4mbp7w.js → chunk-92jwtqbz.js} +1 -1
- package/dist/{chunk-0h6aw0a3.js → chunk-92pjbd7p.js} +22 -21
- package/dist/{chunk-na23wjzk.js → chunk-93ezcy89.js} +7 -7
- package/dist/{chunk-g87xrf7y.js → chunk-94e7emah.js} +20 -19
- package/dist/{chunk-7g809g0h.js → chunk-97wf9yh0.js} +21 -20
- package/dist/{chunk-k81s6dwg.js → chunk-997p0r79.js} +2 -2
- package/dist/{chunk-rvk6yqam.js → chunk-997s9kn0.js} +14 -14
- package/dist/{chunk-5w1zy489.js → chunk-99cxvn49.js} +20 -19
- package/dist/{chunk-rhv0n2y0.js → chunk-99h977n5.js} +25 -24
- package/dist/{chunk-1fzj9395.js → chunk-9nkt8391.js} +20 -19
- package/dist/{chunk-75btqgqt.js → chunk-9nqetk31.js} +32 -31
- package/dist/{chunk-tm3m9h26.js → chunk-9pmaahnk.js} +20 -19
- package/dist/{chunk-p3dpb078.js → chunk-9rae7azx.js} +20 -19
- package/dist/{chunk-2gbw5g8b.js → chunk-9z049jdh.js} +31 -30
- package/dist/{chunk-5x5e58ya.js → chunk-a11m6tpe.js} +2 -2
- package/dist/{chunk-066z3ftb.js → chunk-a4z916nj.js} +21 -20
- package/dist/{chunk-hf93m2xa.js → chunk-a5p9fg76.js} +27 -26
- package/dist/{chunk-8anb09j4.js → chunk-a7rg06b3.js} +1 -1
- package/dist/{chunk-6b09y02p.js → chunk-a80c5tv1.js} +20 -19
- package/dist/{chunk-fexemt9v.js → chunk-aav4kbc7.js} +2 -2
- package/dist/{chunk-ztz55wxk.js → chunk-acedxdha.js} +2 -2
- package/dist/{chunk-a227j0w9.js → chunk-ag8363d8.js} +5 -5
- package/dist/{chunk-ttt9vpe0.js → chunk-amtphfft.js} +1 -1
- package/dist/{chunk-d4qy15j0.js → chunk-aryqrvya.js} +2 -2
- package/dist/{chunk-bea5dax9.js → chunk-as7vdv6z.js} +21 -20
- package/dist/{chunk-k0r0zkj8.js → chunk-azt3veft.js} +22 -21
- package/dist/{chunk-vhqrdtg4.js → chunk-berqd13b.js} +21 -20
- package/dist/{chunk-n9k3xht4.js → chunk-bjqhqke0.js} +5 -5
- package/dist/{chunk-crb2km34.js → chunk-bqfwwen4.js} +22 -21
- package/dist/{chunk-c44kfkc6.js → chunk-bv8r4yd7.js} +3 -3
- package/dist/{chunk-vmc9brde.js → chunk-cbyjgrrq.js} +24 -23
- package/dist/{chunk-q6rgn5n4.js → chunk-cxmenkh7.js} +20 -19
- package/dist/{chunk-39bmsw23.js → chunk-d74evh2c.js} +2 -2
- package/dist/{chunk-q6x1cx12.js → chunk-ddyj9j66.js} +22 -21
- package/dist/{chunk-2b8rybcz.js → chunk-dh3z6my7.js} +20 -19
- package/dist/{chunk-6d2b3sxs.js → chunk-dm8qafqa.js} +20 -19
- package/dist/{chunk-zr3hd1wq.js → chunk-dr8kv7cp.js} +4 -4
- package/dist/{chunk-jscm1tx3.js → chunk-dsj68jra.js} +579 -599
- package/dist/{chunk-sg51bdbd.js → chunk-dwxam9y3.js} +1 -1
- package/dist/{chunk-tyeya5st.js → chunk-eead9ryv.js} +57 -104
- package/dist/{chunk-80x0ftcx.js → chunk-eh5r34dp.js} +2 -2
- package/dist/{chunk-6nhgz6tx.js → chunk-enejy58z.js} +13 -13
- package/dist/{chunk-w46hn7j0.js → chunk-enwnb2gj.js} +20 -19
- package/dist/{chunk-j5mmcf8q.js → chunk-exesegrx.js} +7 -7
- package/dist/{chunk-tajvq5kz.js → chunk-eycjjh2b.js} +20 -19
- package/dist/{chunk-420ct162.js → chunk-f07zgazy.js} +1 -1
- package/dist/{chunk-1as4t5kt.js → chunk-f081qy3r.js} +6 -6
- package/dist/{chunk-manwgaqb.js → chunk-f5592gzm.js} +3 -3
- package/dist/{chunk-003me4vk.js → chunk-f8g34zcq.js} +4 -4
- package/dist/chunk-f93cpmpj.js +89 -0
- package/dist/{chunk-cb96n1wn.js → chunk-fdz04ss6.js} +23 -22
- package/dist/{chunk-fxrdfygs.js → chunk-fsrhhcwg.js} +1 -1
- package/dist/{chunk-2fh7cz3s.js → chunk-fvj8fghm.js} +4 -4
- package/dist/{chunk-tp39n82r.js → chunk-g37c3hhh.js} +20 -19
- package/dist/{chunk-bz8b0rkr.js → chunk-g55bqkzn.js} +1 -1
- package/dist/{chunk-6f223q3r.js → chunk-g5mgba1d.js} +2 -2
- package/dist/{chunk-r04m54xx.js → chunk-g7rqj8dy.js} +2 -2
- package/dist/{chunk-2h9yz16j.js → chunk-g94zwa3h.js} +4 -4
- package/dist/{chunk-xnvbzn1n.js → chunk-gatv77sd.js} +8 -8
- package/dist/{chunk-pqpct87d.js → chunk-gbzk3qat.js} +20 -19
- package/dist/{chunk-mr2wt534.js → chunk-gf8n9a9t.js} +74 -72
- package/dist/{chunk-c1fryffh.js → chunk-ghxd5zkz.js} +1 -1
- package/dist/{chunk-y76a6yrx.js → chunk-gjanctrq.js} +2 -2
- package/dist/{chunk-fzj9v433.js → chunk-gjh6c2ak.js} +22 -21
- package/dist/{chunk-b0nf8thf.js → chunk-gth8x4f3.js} +98 -97
- package/dist/{chunk-3kt2yep0.js → chunk-gxff8w97.js} +1 -1
- package/dist/chunk-gxydzx89.js +145 -0
- package/dist/{chunk-gxyvncc7.js → chunk-gz02rkd2.js} +3 -3
- package/dist/{chunk-94my77mh.js → chunk-h4w37hs4.js} +3 -3
- package/dist/{chunk-tvsx8wrp.js → chunk-h9pstve3.js} +1 -1
- package/dist/{chunk-6vqtwyj6.js → chunk-ha0jdby5.js} +20 -19
- package/dist/{chunk-9442vgaf.js → chunk-he8xke2y.js} +24 -23
- package/dist/{chunk-83yfcea1.js → chunk-hsn8f18e.js} +22 -21
- package/dist/{chunk-nqjf3pve.js → chunk-hxrn7ztb.js} +1 -1
- package/dist/{chunk-xe4srnxa.js → chunk-j43mczee.js} +1 -1
- package/dist/{chunk-dg3pt430.js → chunk-j5xb9qak.js} +4 -4
- package/dist/{chunk-yspc0e6q.js → chunk-jcxvkvj5.js} +1 -1
- package/dist/chunk-jm4mqj6q.js +267 -0
- package/dist/{chunk-qtehqasq.js → chunk-jnx5ahgz.js} +1 -1
- package/dist/{chunk-zkexh4g0.js → chunk-jtbndvcb.js} +2 -2
- package/dist/{chunk-r48dfqvv.js → chunk-jwztt420.js} +3 -3
- package/dist/{chunk-fj9d53r3.js → chunk-ktjk9jh4.js} +1 -1
- package/dist/{chunk-2nrrq6tk.js → chunk-ktpa62bf.js} +30 -29
- package/dist/{chunk-hryczgx7.js → chunk-kwbfd9sg.js} +20 -19
- package/dist/{chunk-p2jjhhdq.js → chunk-kwfvjdep.js} +2 -2
- package/dist/{chunk-q0405mzj.js → chunk-mavwfmvx.js} +31 -30
- package/dist/{chunk-pr923sem.js → chunk-met7qbcb.js} +2 -2
- package/dist/{chunk-p1sd4c0p.js → chunk-mffr82hp.js} +10 -13
- package/dist/{chunk-6g268xtz.js → chunk-mhdm4ny5.js} +27 -26
- package/dist/{chunk-xt3h1z45.js → chunk-mnq190wh.js} +2 -2
- package/dist/{chunk-bnrxrbaj.js → chunk-mrr21rkt.js} +1 -1
- package/dist/{chunk-3eshd6xk.js → chunk-mw66y7pp.js} +20 -19
- package/dist/chunk-n79b3bb7.js +513 -0
- package/dist/{chunk-bnn0cewm.js → chunk-nfzts0p9.js} +2 -2
- package/dist/{chunk-hfmsbgnt.js → chunk-nm71gc3m.js} +2 -2
- package/dist/{chunk-3ytpq9cp.js → chunk-npxha4xf.js} +25 -24
- package/dist/{chunk-r7tcrqpt.js → chunk-nws4tymq.js} +23 -22
- package/dist/{chunk-xachchct.js → chunk-p3c30taw.js} +6 -6
- package/dist/{chunk-0fasmrp5.js → chunk-p3jpwzts.js} +1 -1
- package/dist/{chunk-yz5qdghx.js → chunk-pqrbzxyz.js} +44 -43
- package/dist/{chunk-1qy9mmcc.js → chunk-pvn56s1g.js} +34 -33
- package/dist/{chunk-weckdstv.js → chunk-pwv4kedx.js} +3 -3
- package/dist/{chunk-4jskmhhh.js → chunk-q4hrz6nm.js} +21 -20
- package/dist/{chunk-59xd4k12.js → chunk-q8zc8h8z.js} +4 -4
- package/dist/{chunk-yceyh928.js → chunk-qg49gbrv.js} +21 -20
- package/dist/{chunk-d2yx9c0a.js → chunk-r3f01xaz.js} +1 -1
- package/dist/{chunk-p2ph1g5r.js → chunk-rbs1rgq2.js} +1 -1
- package/dist/{chunk-ksmr3w0g.js → chunk-rbw55vhr.js} +1 -1
- package/dist/{chunk-y73vmtyg.js → chunk-rdxxvt07.js} +24 -23
- package/dist/{chunk-chh771rg.js → chunk-refjx5yn.js} +1 -1
- package/dist/{chunk-djrv0pe9.js → chunk-rjhfe015.js} +4 -4
- package/dist/{chunk-ay5fs2aa.js → chunk-rm3frtr2.js} +1 -1
- package/dist/{chunk-20ss1c7h.js → chunk-rw4v4hxm.js} +1 -1
- package/dist/{chunk-6amnmpc7.js → chunk-s14mafmw.js} +5 -5
- package/dist/{chunk-anepdxcr.js → chunk-s2cftevn.js} +22 -21
- package/dist/{chunk-e1sqeyc7.js → chunk-sbds40m8.js} +21 -20
- package/dist/{chunk-apg75xb6.js → chunk-shcbpzqs.js} +3 -3
- package/dist/{chunk-d9e4p204.js → chunk-sm1a1qn5.js} +4 -4
- package/dist/{chunk-46r7cpk9.js → chunk-sqqg5hzd.js} +2 -2
- package/dist/{chunk-g68qexsp.js → chunk-ss8krq7w.js} +35 -34
- package/dist/{chunk-636ep70s.js → chunk-t2s0j565.js} +2 -2
- package/dist/{chunk-hkx4p18v.js → chunk-t8zevpsj.js} +3 -3
- package/dist/{chunk-k57nzm5g.js → chunk-tgsd7682.js} +2 -2
- package/dist/{chunk-mp5xz5tb.js → chunk-tq0tw9ep.js} +1 -1
- package/dist/{chunk-ncp3pwsr.js → chunk-tt92a71t.js} +1 -1
- package/dist/{chunk-s8a69n2w.js → chunk-tx47rdkv.js} +2 -2
- package/dist/{chunk-3t7f3gcw.js → chunk-v5j8esjk.js} +2 -2
- package/dist/{chunk-pj2vyay0.js → chunk-vc1y7z1f.js} +27 -26
- package/dist/{chunk-ft3p5en3.js → chunk-vd86fpqw.js} +20 -19
- package/dist/{chunk-za5eeyp2.js → chunk-vdmbcfeh.js} +6 -6
- package/dist/{chunk-gjx8f6c8.js → chunk-vg1712qc.js} +20 -19
- package/dist/{chunk-35dt3y82.js → chunk-vgfb1h9e.js} +26 -25
- package/dist/{chunk-pwsr2s6a.js → chunk-vk0xk13n.js} +2 -2
- package/dist/{chunk-n3f8cmmp.js → chunk-vmdnqt4y.js} +21 -20
- package/dist/{chunk-7n35ryhw.js → chunk-vnnm4pk0.js} +1 -1
- package/dist/{chunk-t98nwe6t.js → chunk-vsy4wz8k.js} +2 -2
- package/dist/{chunk-1px7vbcw.js → chunk-w0y9mt7f.js} +14 -14
- package/dist/{chunk-z7m40dxe.js → chunk-w6bp1ymh.js} +8 -8
- package/dist/{chunk-xtp0zyj6.js → chunk-wd65wtdj.js} +2 -2
- package/dist/{chunk-jmyf3yfd.js → chunk-we8493ct.js} +2 -2
- package/dist/{chunk-kabeznf0.js → chunk-whjgee8f.js} +22 -21
- package/dist/{chunk-mz5h6z3a.js → chunk-whz8jtsd.js} +2 -2
- package/dist/chunk-wj8jabmh.js +213 -0
- package/dist/{chunk-rwctqm90.js → chunk-wjbygeh1.js} +2 -2
- package/dist/{chunk-ehbn145a.js → chunk-wrx1e6p3.js} +21 -20
- package/dist/{chunk-3ynqq29q.js → chunk-wv2b0pm3.js} +21 -20
- package/dist/{chunk-aya4d0wt.js → chunk-ww57dxhr.js} +21 -20
- package/dist/{chunk-q97q1hcg.js → chunk-wxvrvehd.js} +1 -1
- package/dist/{chunk-yzhjcs3j.js → chunk-x17h6pry.js} +23 -22
- package/dist/{chunk-xt3fpdyg.js → chunk-x28f3ake.js} +2 -2
- package/dist/{chunk-a7ygggm2.js → chunk-xcgftxc7.js} +5 -5
- package/dist/{chunk-vjfekyq3.js → chunk-xd2meab6.js} +21 -20
- package/dist/{chunk-08751ft2.js → chunk-xeb24nxz.js} +1 -1
- package/dist/{chunk-hnd3qdne.js → chunk-xmaq6yy5.js} +1 -1
- package/dist/{chunk-mcf6nr2e.js → chunk-xn8eg4bw.js} +21 -20
- package/dist/{chunk-k2hbbsmf.js → chunk-xnx436dc.js} +11 -11
- package/dist/{chunk-nsxfev6d.js → chunk-xqz4n68x.js} +2 -2
- package/dist/{chunk-w3xaxxcd.js → chunk-xseaxns1.js} +21 -20
- package/dist/{chunk-h23rtn5x.js → chunk-xsrb1xgb.js} +1 -1
- package/dist/{chunk-1kpky5bk.js → chunk-xxn5901f.js} +20 -19
- package/dist/{chunk-9gtfj9vm.js → chunk-y05tpbpc.js} +1 -1
- package/dist/{chunk-kjxsm0j9.js → chunk-y1pqjvc2.js} +7 -7
- package/dist/{chunk-ps3tzxen.js → chunk-y51tvfpw.js} +3 -3
- package/dist/{chunk-8cay10ta.js → chunk-y84v6d31.js} +21 -20
- package/dist/{chunk-0bk7kxrj.js → chunk-yav6m5dj.js} +21 -20
- package/dist/{chunk-a8f3vcch.js → chunk-ybj2cqjv.js} +3 -3
- package/dist/{chunk-b06ke6np.js → chunk-yfkwmft1.js} +1 -1
- package/dist/{chunk-mbj33rwa.js → chunk-ygs0k62z.js} +28 -27
- package/dist/{chunk-hq3ky6kx.js → chunk-yqb0r0r4.js} +21 -20
- package/dist/{chunk-ed50zw8y.js → chunk-ytsg3wx7.js} +21 -20
- package/dist/{chunk-jyp9ghx7.js → chunk-z08s0dh0.js} +3 -3
- package/dist/{chunk-xkr0p6ye.js → chunk-z533qsjj.js} +24 -23
- package/dist/{chunk-7qkp95sn.js → chunk-z9q19qkd.js} +1 -1
- package/dist/{chunk-xnakws1s.js → chunk-za03ga9b.js} +20 -19
- package/dist/{chunk-661g1y9e.js → chunk-zdxzm3yy.js} +20 -19
- package/dist/{chunk-b6ckwtkt.js → chunk-zn0zr9cf.js} +3 -3
- package/dist/{chunk-sd4w5naz.js → chunk-zn4vgg4q.js} +2 -2
- package/dist/{chunk-xtxye29p.js → chunk-zs9zwtdv.js} +1 -1
- package/dist/{chunk-agzhg6xh.js → chunk-zwf7wj14.js} +20 -19
- package/dist/{chunk-rtj91cb3.js → chunk-zy0355t4.js} +21 -20
- package/dist/{chunk-schbwy40.js → chunk-zzk81bgc.js} +20 -19
- package/dist/cli.js +5 -5
- package/package.json +1 -1
- package/dist/chunk-9gw90pr6.js +0 -143
|
@@ -9,15 +9,19 @@ import {
|
|
|
9
9
|
sendSessionActivitySignal,
|
|
10
10
|
startSessionActivity,
|
|
11
11
|
stopSessionActivity
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-zs9zwtdv.js";
|
|
13
|
+
import {
|
|
14
|
+
clearTrustedDeviceTokenCache,
|
|
15
|
+
init_trustedDevice
|
|
16
|
+
} from "./chunk-rm3frtr2.js";
|
|
13
17
|
import {
|
|
14
18
|
init_datadog,
|
|
15
19
|
shutdownDatadog
|
|
16
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-z9q19qkd.js";
|
|
17
21
|
import {
|
|
18
22
|
getTeammateModeFromSnapshot,
|
|
19
23
|
init_teammateModeSnapshot
|
|
20
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-y05tpbpc.js";
|
|
21
25
|
import {
|
|
22
26
|
DANGEROUS_uncachedSystemPromptSection,
|
|
23
27
|
clearSystemPromptSections,
|
|
@@ -25,10 +29,6 @@ import {
|
|
|
25
29
|
resolveSystemPromptSections,
|
|
26
30
|
systemPromptSection
|
|
27
31
|
} from "./chunk-t0rgmccj.js";
|
|
28
|
-
import {
|
|
29
|
-
clearTrustedDeviceTokenCache,
|
|
30
|
-
init_trustedDevice
|
|
31
|
-
} from "./chunk-ay5fs2aa.js";
|
|
32
32
|
import {
|
|
33
33
|
Byline,
|
|
34
34
|
CHROME_TOOL_SEARCH_INSTRUCTIONS,
|
|
@@ -42,7 +42,11 @@ import {
|
|
|
42
42
|
init_prompt as init_prompt3,
|
|
43
43
|
init_useShortcutDisplay,
|
|
44
44
|
useShortcutDisplay
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-y51tvfpw.js";
|
|
46
|
+
import {
|
|
47
|
+
init_p_map,
|
|
48
|
+
pMap
|
|
49
|
+
} from "./chunk-2gzv8nrw.js";
|
|
46
50
|
import {
|
|
47
51
|
chokidar_default,
|
|
48
52
|
init_chokidar
|
|
@@ -51,7 +55,7 @@ import {
|
|
|
51
55
|
getUndercoverInstructions,
|
|
52
56
|
init_undercover,
|
|
53
57
|
isUndercover
|
|
54
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-7zf1x2b3.js";
|
|
55
59
|
import {
|
|
56
60
|
calculateCommitAttribution,
|
|
57
61
|
createEmptyAttributionState,
|
|
@@ -59,7 +63,7 @@ import {
|
|
|
59
63
|
isInternalModelRepo,
|
|
60
64
|
isInternalModelRepoCached,
|
|
61
65
|
sanitizeModelName
|
|
62
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-8zvjbcem.js";
|
|
63
67
|
import {
|
|
64
68
|
init_subprocessEnv,
|
|
65
69
|
subprocessEnv
|
|
@@ -98,11 +102,11 @@ import {
|
|
|
98
102
|
unregisterTeamForSessionCleanup,
|
|
99
103
|
updateTask,
|
|
100
104
|
writeTeamFileAsync
|
|
101
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-f07zgazy.js";
|
|
102
106
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./chunk-
|
|
107
|
+
getCompanion,
|
|
108
|
+
init_companion
|
|
109
|
+
} from "./chunk-74tba5ee.js";
|
|
106
110
|
import {
|
|
107
111
|
CLAUDE_IN_CHROME_MCP_SERVER_NAME,
|
|
108
112
|
init_common,
|
|
@@ -117,13 +121,13 @@ import {
|
|
|
117
121
|
checkCachedPassesEligibility,
|
|
118
122
|
getCachedReferrerReward,
|
|
119
123
|
init_referral
|
|
120
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-7mq9sryw.js";
|
|
121
125
|
import {
|
|
122
126
|
init_useDoublePress,
|
|
123
127
|
init_useExitOnCtrlCDWithKeybindings,
|
|
124
128
|
useDoublePress,
|
|
125
129
|
useExitOnCtrlCDWithKeybindings
|
|
126
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-gjanctrq.js";
|
|
127
131
|
import {
|
|
128
132
|
READ_FILE_STATE_CACHE_SIZE,
|
|
129
133
|
cacheKeys,
|
|
@@ -138,7 +142,7 @@ import {
|
|
|
138
142
|
init_terminalSetup,
|
|
139
143
|
markBackslashReturnUsed,
|
|
140
144
|
maybeMarkProjectOnboardingComplete
|
|
141
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-83e9jh5s.js";
|
|
142
146
|
import {
|
|
143
147
|
debugBody,
|
|
144
148
|
exports_sessionIdCompat,
|
|
@@ -164,7 +168,7 @@ import {
|
|
|
164
168
|
useKeybinding,
|
|
165
169
|
useKeybindings,
|
|
166
170
|
useTerminalSize
|
|
167
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-1dht9e5c.js";
|
|
168
172
|
import {
|
|
169
173
|
Ansi,
|
|
170
174
|
CLEAR_ITERM2_PROGRESS,
|
|
@@ -229,7 +233,7 @@ import {
|
|
|
229
233
|
wrapAnsi,
|
|
230
234
|
wrapForMultiplexer,
|
|
231
235
|
wrapText
|
|
232
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-r3f01xaz.js";
|
|
233
237
|
import {
|
|
234
238
|
gt,
|
|
235
239
|
gte,
|
|
@@ -247,7 +251,7 @@ import {
|
|
|
247
251
|
getPrompt,
|
|
248
252
|
init_prompt as init_prompt2,
|
|
249
253
|
isDeferredTool
|
|
250
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-j43mczee.js";
|
|
251
255
|
import {
|
|
252
256
|
TungstenTool,
|
|
253
257
|
init_TungstenTool
|
|
@@ -257,7 +261,7 @@ import {
|
|
|
257
261
|
getBranchFromSession,
|
|
258
262
|
getOAuthHeaders,
|
|
259
263
|
init_api
|
|
260
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-amtphfft.js";
|
|
261
265
|
import {
|
|
262
266
|
init_browser,
|
|
263
267
|
openBrowser,
|
|
@@ -285,7 +289,7 @@ import {
|
|
|
285
289
|
startToolExecutionSpan,
|
|
286
290
|
startToolSpan,
|
|
287
291
|
unregisterAgent
|
|
288
|
-
} from "./chunk-
|
|
292
|
+
} from "./chunk-tx47rdkv.js";
|
|
289
293
|
import {
|
|
290
294
|
ADVISOR_BETA_HEADER,
|
|
291
295
|
AFK_MODE_BETA_HEADER,
|
|
@@ -664,7 +668,7 @@ import {
|
|
|
664
668
|
validateSettingsFileContent,
|
|
665
669
|
withOAuth401Retry,
|
|
666
670
|
writeTextContent
|
|
667
|
-
} from "./chunk-
|
|
671
|
+
} from "./chunk-mffr82hp.js";
|
|
668
672
|
import {
|
|
669
673
|
ConfigScopeSchema,
|
|
670
674
|
McpJsonConfigSchema,
|
|
@@ -4887,7 +4891,7 @@ var init_add_dir = __esm(() => {
|
|
|
4887
4891
|
name: "add-dir",
|
|
4888
4892
|
description: "Add a new working directory",
|
|
4889
4893
|
argumentHint: "<path>",
|
|
4890
|
-
load: () => import("./chunk-
|
|
4894
|
+
load: () => import("./chunk-azt3veft.js")
|
|
4891
4895
|
};
|
|
4892
4896
|
add_dir_default = addDir;
|
|
4893
4897
|
});
|
|
@@ -4913,7 +4917,7 @@ var init_btw = __esm(() => {
|
|
|
4913
4917
|
description: "Ask a quick side question without interrupting the main conversation",
|
|
4914
4918
|
immediate: true,
|
|
4915
4919
|
argumentHint: "<question>",
|
|
4916
|
-
load: () => import("./chunk-
|
|
4920
|
+
load: () => import("./chunk-8b7w0cbw.js")
|
|
4917
4921
|
};
|
|
4918
4922
|
btw_default = btw;
|
|
4919
4923
|
});
|
|
@@ -4940,175 +4944,6 @@ var init_last = __esm(() => {
|
|
|
4940
4944
|
last_default = last;
|
|
4941
4945
|
});
|
|
4942
4946
|
|
|
4943
|
-
// src/buddy/types.ts
|
|
4944
|
-
var RARITIES, c, duck, goose, blob, cat, dragon, octopus, owl, penguin, turtle, snail, ghost, axolotl, capybara, cactus, robot, rabbit, mushroom, chonk, SPECIES, EYES, HATS, STAT_NAMES, RARITY_WEIGHTS;
|
|
4945
|
-
var init_types4 = __esm(() => {
|
|
4946
|
-
RARITIES = [
|
|
4947
|
-
"common",
|
|
4948
|
-
"uncommon",
|
|
4949
|
-
"rare",
|
|
4950
|
-
"epic",
|
|
4951
|
-
"legendary"
|
|
4952
|
-
];
|
|
4953
|
-
c = String.fromCharCode;
|
|
4954
|
-
duck = c(100, 117, 99, 107);
|
|
4955
|
-
goose = c(103, 111, 111, 115, 101);
|
|
4956
|
-
blob = c(98, 108, 111, 98);
|
|
4957
|
-
cat = c(99, 97, 116);
|
|
4958
|
-
dragon = c(100, 114, 97, 103, 111, 110);
|
|
4959
|
-
octopus = c(111, 99, 116, 111, 112, 117, 115);
|
|
4960
|
-
owl = c(111, 119, 108);
|
|
4961
|
-
penguin = c(112, 101, 110, 103, 117, 105, 110);
|
|
4962
|
-
turtle = c(116, 117, 114, 116, 108, 101);
|
|
4963
|
-
snail = c(115, 110, 97, 105, 108);
|
|
4964
|
-
ghost = c(103, 104, 111, 115, 116);
|
|
4965
|
-
axolotl = c(97, 120, 111, 108, 111, 116, 108);
|
|
4966
|
-
capybara = c(99, 97, 112, 121, 98, 97, 114, 97);
|
|
4967
|
-
cactus = c(99, 97, 99, 116, 117, 115);
|
|
4968
|
-
robot = c(114, 111, 98, 111, 116);
|
|
4969
|
-
rabbit = c(114, 97, 98, 98, 105, 116);
|
|
4970
|
-
mushroom = c(109, 117, 115, 104, 114, 111, 111, 109);
|
|
4971
|
-
chonk = c(99, 104, 111, 110, 107);
|
|
4972
|
-
SPECIES = [
|
|
4973
|
-
duck,
|
|
4974
|
-
goose,
|
|
4975
|
-
blob,
|
|
4976
|
-
cat,
|
|
4977
|
-
dragon,
|
|
4978
|
-
octopus,
|
|
4979
|
-
owl,
|
|
4980
|
-
penguin,
|
|
4981
|
-
turtle,
|
|
4982
|
-
snail,
|
|
4983
|
-
ghost,
|
|
4984
|
-
axolotl,
|
|
4985
|
-
capybara,
|
|
4986
|
-
cactus,
|
|
4987
|
-
robot,
|
|
4988
|
-
rabbit,
|
|
4989
|
-
mushroom,
|
|
4990
|
-
chonk
|
|
4991
|
-
];
|
|
4992
|
-
EYES = ["\xB7", "\u2726", "\xD7", "\u25C9", "@", "\xB0"];
|
|
4993
|
-
HATS = [
|
|
4994
|
-
"none",
|
|
4995
|
-
"crown",
|
|
4996
|
-
"tophat",
|
|
4997
|
-
"propeller",
|
|
4998
|
-
"halo",
|
|
4999
|
-
"wizard",
|
|
5000
|
-
"beanie",
|
|
5001
|
-
"tinyduck"
|
|
5002
|
-
];
|
|
5003
|
-
STAT_NAMES = [
|
|
5004
|
-
"DEBUGGING",
|
|
5005
|
-
"PATIENCE",
|
|
5006
|
-
"CHAOS",
|
|
5007
|
-
"WISDOM",
|
|
5008
|
-
"SNARK"
|
|
5009
|
-
];
|
|
5010
|
-
RARITY_WEIGHTS = {
|
|
5011
|
-
common: 60,
|
|
5012
|
-
uncommon: 25,
|
|
5013
|
-
rare: 10,
|
|
5014
|
-
epic: 4,
|
|
5015
|
-
legendary: 1
|
|
5016
|
-
};
|
|
5017
|
-
});
|
|
5018
|
-
|
|
5019
|
-
// src/buddy/companion.ts
|
|
5020
|
-
function mulberry32(seed) {
|
|
5021
|
-
let a = seed >>> 0;
|
|
5022
|
-
return function() {
|
|
5023
|
-
a |= 0;
|
|
5024
|
-
a = a + 1831565813 | 0;
|
|
5025
|
-
let t = Math.imul(a ^ a >>> 15, 1 | a);
|
|
5026
|
-
t = t + Math.imul(t ^ t >>> 7, 61 | t) ^ t;
|
|
5027
|
-
return ((t ^ t >>> 14) >>> 0) / 4294967296;
|
|
5028
|
-
};
|
|
5029
|
-
}
|
|
5030
|
-
function hashString(s) {
|
|
5031
|
-
if (typeof Bun !== "undefined") {
|
|
5032
|
-
return Number(BigInt(Bun.hash(s)) & 0xffffffffn);
|
|
5033
|
-
}
|
|
5034
|
-
let h = 2166136261;
|
|
5035
|
-
for (let i = 0;i < s.length; i++) {
|
|
5036
|
-
h ^= s.charCodeAt(i);
|
|
5037
|
-
h = Math.imul(h, 16777619);
|
|
5038
|
-
}
|
|
5039
|
-
return h >>> 0;
|
|
5040
|
-
}
|
|
5041
|
-
function pick(rng, arr) {
|
|
5042
|
-
return arr[Math.floor(rng() * arr.length)];
|
|
5043
|
-
}
|
|
5044
|
-
function rollRarity(rng) {
|
|
5045
|
-
const total = Object.values(RARITY_WEIGHTS).reduce((a, b) => a + b, 0);
|
|
5046
|
-
let roll = rng() * total;
|
|
5047
|
-
for (const rarity of RARITIES) {
|
|
5048
|
-
roll -= RARITY_WEIGHTS[rarity];
|
|
5049
|
-
if (roll < 0)
|
|
5050
|
-
return rarity;
|
|
5051
|
-
}
|
|
5052
|
-
return "common";
|
|
5053
|
-
}
|
|
5054
|
-
function rollStats(rng, rarity) {
|
|
5055
|
-
const floor = RARITY_FLOOR[rarity];
|
|
5056
|
-
const peak = pick(rng, STAT_NAMES);
|
|
5057
|
-
let dump = pick(rng, STAT_NAMES);
|
|
5058
|
-
while (dump === peak)
|
|
5059
|
-
dump = pick(rng, STAT_NAMES);
|
|
5060
|
-
const stats = {};
|
|
5061
|
-
for (const name of STAT_NAMES) {
|
|
5062
|
-
if (name === peak) {
|
|
5063
|
-
stats[name] = Math.min(100, floor + 50 + Math.floor(rng() * 30));
|
|
5064
|
-
} else if (name === dump) {
|
|
5065
|
-
stats[name] = Math.max(1, floor - 10 + Math.floor(rng() * 15));
|
|
5066
|
-
} else {
|
|
5067
|
-
stats[name] = floor + Math.floor(rng() * 40);
|
|
5068
|
-
}
|
|
5069
|
-
}
|
|
5070
|
-
return stats;
|
|
5071
|
-
}
|
|
5072
|
-
function rollFrom(rng) {
|
|
5073
|
-
const rarity = rollRarity(rng);
|
|
5074
|
-
const bones = {
|
|
5075
|
-
rarity,
|
|
5076
|
-
species: pick(rng, SPECIES),
|
|
5077
|
-
eye: pick(rng, EYES),
|
|
5078
|
-
hat: rarity === "common" ? "none" : pick(rng, HATS),
|
|
5079
|
-
shiny: rng() < 0.01,
|
|
5080
|
-
stats: rollStats(rng, rarity)
|
|
5081
|
-
};
|
|
5082
|
-
return { bones, inspirationSeed: Math.floor(rng() * 1e9) };
|
|
5083
|
-
}
|
|
5084
|
-
function rollWithSeed(seed) {
|
|
5085
|
-
return rollFrom(mulberry32(hashString(seed)));
|
|
5086
|
-
}
|
|
5087
|
-
function companionUserId() {
|
|
5088
|
-
const config2 = getGlobalConfig();
|
|
5089
|
-
return config2.oauthAccount?.accountUuid ?? config2.userID ?? "anon";
|
|
5090
|
-
}
|
|
5091
|
-
function getCompanion() {
|
|
5092
|
-
const stored = getGlobalConfig().companion;
|
|
5093
|
-
if (!stored)
|
|
5094
|
-
return;
|
|
5095
|
-
const seed = stored.seed ?? companionUserId();
|
|
5096
|
-
const { bones } = rollWithSeed(seed);
|
|
5097
|
-
return { ...stored, ...bones };
|
|
5098
|
-
}
|
|
5099
|
-
var RARITY_FLOOR;
|
|
5100
|
-
var init_companion = __esm(() => {
|
|
5101
|
-
init_config2();
|
|
5102
|
-
init_types4();
|
|
5103
|
-
RARITY_FLOOR = {
|
|
5104
|
-
common: 5,
|
|
5105
|
-
uncommon: 15,
|
|
5106
|
-
rare: 25,
|
|
5107
|
-
epic: 35,
|
|
5108
|
-
legendary: 50
|
|
5109
|
-
};
|
|
5110
|
-
});
|
|
5111
|
-
|
|
5112
4947
|
// src/buddy/prompt.ts
|
|
5113
4948
|
function companionIntroText(name, species) {
|
|
5114
4949
|
return `# Companion
|
|
@@ -5117,6 +4952,28 @@ A small ${species} named ${name} sits beside the user's input box and occasional
|
|
|
5117
4952
|
|
|
5118
4953
|
When the user addresses ${name} directly (by name), its bubble will answer. Your job in that moment is to stay out of the way: respond in ONE line or less, or just answer any part of the message meant for you. Don't explain that you're not ${name} \u2014 they know. Don't narrate what ${name} might say \u2014 the bubble handles that.`;
|
|
5119
4954
|
}
|
|
4955
|
+
function getCompanionIntroAttachment(messages) {
|
|
4956
|
+
if (false)
|
|
4957
|
+
;
|
|
4958
|
+
const companion = getCompanion();
|
|
4959
|
+
if (!companion || getGlobalConfig().companionMuted)
|
|
4960
|
+
return [];
|
|
4961
|
+
for (const msg of messages ?? []) {
|
|
4962
|
+
if (msg.type !== "attachment")
|
|
4963
|
+
continue;
|
|
4964
|
+
if (msg.attachment.type !== "companion_intro")
|
|
4965
|
+
continue;
|
|
4966
|
+
if (msg.attachment.name === companion.name)
|
|
4967
|
+
return [];
|
|
4968
|
+
}
|
|
4969
|
+
return [
|
|
4970
|
+
{
|
|
4971
|
+
type: "companion_intro",
|
|
4972
|
+
name: companion.name,
|
|
4973
|
+
species: companion.species
|
|
4974
|
+
}
|
|
4975
|
+
];
|
|
4976
|
+
}
|
|
5120
4977
|
var init_prompt8 = __esm(() => {
|
|
5121
4978
|
init_config2();
|
|
5122
4979
|
init_companion();
|
|
@@ -5753,9 +5610,9 @@ var require_Alias = __commonJS((exports) => {
|
|
|
5753
5610
|
} else if (identity.isCollection(node)) {
|
|
5754
5611
|
let count2 = 0;
|
|
5755
5612
|
for (const item of node.items) {
|
|
5756
|
-
const
|
|
5757
|
-
if (
|
|
5758
|
-
count2 =
|
|
5613
|
+
const c = getAliasCount(doc, item, anchors2);
|
|
5614
|
+
if (c > count2)
|
|
5615
|
+
count2 = c;
|
|
5759
5616
|
}
|
|
5760
5617
|
return count2;
|
|
5761
5618
|
} else if (identity.isPair(node)) {
|
|
@@ -12357,7 +12214,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
12357
12214
|
if (!isAttributionHeaderEnabled()) {
|
|
12358
12215
|
return "";
|
|
12359
12216
|
}
|
|
12360
|
-
const version = `${"1.0.3-fork.
|
|
12217
|
+
const version = `${"1.0.3-fork.d431a23"}.${fingerprint}`;
|
|
12361
12218
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
12362
12219
|
const cch = "";
|
|
12363
12220
|
const workload = getWorkload();
|
|
@@ -14140,13 +13997,13 @@ var require_code = __commonJS((exports) => {
|
|
|
14140
13997
|
}
|
|
14141
13998
|
get str() {
|
|
14142
13999
|
var _a;
|
|
14143
|
-
return (_a = this._str) !== null && _a !== undefined ? _a : this._str = this._items.reduce((s,
|
|
14000
|
+
return (_a = this._str) !== null && _a !== undefined ? _a : this._str = this._items.reduce((s, c) => `${s}${c}`, "");
|
|
14144
14001
|
}
|
|
14145
14002
|
get names() {
|
|
14146
14003
|
var _a;
|
|
14147
|
-
return (_a = this._names) !== null && _a !== undefined ? _a : this._names = this._items.reduce((names,
|
|
14148
|
-
if (
|
|
14149
|
-
names[
|
|
14004
|
+
return (_a = this._names) !== null && _a !== undefined ? _a : this._names = this._items.reduce((names, c) => {
|
|
14005
|
+
if (c instanceof Name)
|
|
14006
|
+
names[c.str] = (names[c.str] || 0) + 1;
|
|
14150
14007
|
return names;
|
|
14151
14008
|
}, {});
|
|
14152
14009
|
}
|
|
@@ -14377,12 +14234,12 @@ var require_scope = __commonJS((exports) => {
|
|
|
14377
14234
|
if (nameSet.has(name))
|
|
14378
14235
|
return;
|
|
14379
14236
|
nameSet.set(name, UsedValueState.Started);
|
|
14380
|
-
let
|
|
14381
|
-
if (
|
|
14237
|
+
let c = valueCode(name);
|
|
14238
|
+
if (c) {
|
|
14382
14239
|
const def = this.opts.es5 ? exports.varKinds.var : exports.varKinds.const;
|
|
14383
|
-
code = (0, code_1._)`${code}${def} ${name} = ${
|
|
14384
|
-
} else if (
|
|
14385
|
-
code = (0, code_1._)`${code}${
|
|
14240
|
+
code = (0, code_1._)`${code}${def} ${name} = ${c};${this.opts._n}`;
|
|
14241
|
+
} else if (c = getCode === null || getCode === undefined ? undefined : getCode(name)) {
|
|
14242
|
+
code = (0, code_1._)`${code}${c}${this.opts._n}`;
|
|
14386
14243
|
} else {
|
|
14387
14244
|
throw new ValueError(name);
|
|
14388
14245
|
}
|
|
@@ -14868,11 +14725,11 @@ var require_codegen = __commonJS((exports) => {
|
|
|
14868
14725
|
add(lhs, rhs) {
|
|
14869
14726
|
return this._leafNode(new AssignOp(lhs, exports.operators.ADD, rhs));
|
|
14870
14727
|
}
|
|
14871
|
-
code(
|
|
14872
|
-
if (typeof
|
|
14873
|
-
|
|
14874
|
-
else if (
|
|
14875
|
-
this._leafNode(new AnyCode(
|
|
14728
|
+
code(c) {
|
|
14729
|
+
if (typeof c == "function")
|
|
14730
|
+
c();
|
|
14731
|
+
else if (c !== code_1.nil)
|
|
14732
|
+
this._leafNode(new AnyCode(c));
|
|
14876
14733
|
return this;
|
|
14877
14734
|
}
|
|
14878
14735
|
object(...keyValues) {
|
|
@@ -15059,24 +14916,24 @@ var require_codegen = __commonJS((exports) => {
|
|
|
15059
14916
|
return replaceName(expr);
|
|
15060
14917
|
if (!canOptimize(expr))
|
|
15061
14918
|
return expr;
|
|
15062
|
-
return new code_1._Code(expr._items.reduce((items,
|
|
15063
|
-
if (
|
|
15064
|
-
|
|
15065
|
-
if (
|
|
15066
|
-
items.push(...
|
|
14919
|
+
return new code_1._Code(expr._items.reduce((items, c) => {
|
|
14920
|
+
if (c instanceof code_1.Name)
|
|
14921
|
+
c = replaceName(c);
|
|
14922
|
+
if (c instanceof code_1._Code)
|
|
14923
|
+
items.push(...c._items);
|
|
15067
14924
|
else
|
|
15068
|
-
items.push(
|
|
14925
|
+
items.push(c);
|
|
15069
14926
|
return items;
|
|
15070
14927
|
}, []));
|
|
15071
14928
|
function replaceName(n) {
|
|
15072
|
-
const
|
|
15073
|
-
if (
|
|
14929
|
+
const c = constants[n.str];
|
|
14930
|
+
if (c === undefined || names[n.str] !== 1)
|
|
15074
14931
|
return n;
|
|
15075
14932
|
delete names[n.str];
|
|
15076
|
-
return
|
|
14933
|
+
return c;
|
|
15077
14934
|
}
|
|
15078
14935
|
function canOptimize(e) {
|
|
15079
|
-
return e instanceof code_1._Code && e._items.some((
|
|
14936
|
+
return e instanceof code_1._Code && e._items.some((c) => c instanceof code_1.Name && names[c.str] === 1 && constants[c.str] !== undefined);
|
|
15080
14937
|
}
|
|
15081
14938
|
}
|
|
15082
14939
|
function subtractNames(names, from) {
|
|
@@ -21132,13 +20989,13 @@ function getMcpInstructionsDelta(mcpClients, messages, clientSideInstructions) {
|
|
|
21132
20989
|
for (const n of msg.attachment.removedNames)
|
|
21133
20990
|
announced.delete(n);
|
|
21134
20991
|
}
|
|
21135
|
-
const connected = mcpClients.filter((
|
|
21136
|
-
const connectedNames = new Set(connected.map((
|
|
20992
|
+
const connected = mcpClients.filter((c) => c.type === "connected");
|
|
20993
|
+
const connectedNames = new Set(connected.map((c) => c.name));
|
|
21137
20994
|
const blocks = new Map;
|
|
21138
|
-
for (const
|
|
21139
|
-
if (
|
|
21140
|
-
blocks.set(
|
|
21141
|
-
${
|
|
20995
|
+
for (const c of connected) {
|
|
20996
|
+
if (c.instructions)
|
|
20997
|
+
blocks.set(c.name, `## ${c.name}
|
|
20998
|
+
${c.instructions}`);
|
|
21142
20999
|
}
|
|
21143
21000
|
for (const ci of clientSideInstructions) {
|
|
21144
21001
|
if (!connectedNames.has(ci.serverName))
|
|
@@ -21807,13 +21664,13 @@ var T, _, be, m, Re, Te, Oe, C, we, Q, se, ie, ye, j, Pe, F, Se, $e, v = "addres
|
|
|
21807
21664
|
break;
|
|
21808
21665
|
n = n.slice(l);
|
|
21809
21666
|
let p = o.join(`
|
|
21810
|
-
`),
|
|
21667
|
+
`), c = p.replace(this.rules.other.blockquoteSetextReplace, `
|
|
21811
21668
|
$1`).replace(this.rules.other.blockquoteSetextReplace2, "");
|
|
21812
21669
|
r = r ? `${r}
|
|
21813
21670
|
${p}` : p, i = i ? `${i}
|
|
21814
|
-
${
|
|
21671
|
+
${c}` : c;
|
|
21815
21672
|
let d = this.lexer.state.top;
|
|
21816
|
-
if (this.lexer.state.top = true, this.lexer.blockTokens(
|
|
21673
|
+
if (this.lexer.state.top = true, this.lexer.blockTokens(c, s, true), this.lexer.state.top = d, n.length === 0)
|
|
21817
21674
|
break;
|
|
21818
21675
|
let h = s.at(-1);
|
|
21819
21676
|
if (h?.type === "code")
|
|
@@ -21843,14 +21700,14 @@ ${c2}` : c2;
|
|
|
21843
21700
|
n = r ? `\\d{1,9}\\${n.slice(-1)}` : `\\${n}`, this.options.pedantic && (n = r ? n : "[*+-]");
|
|
21844
21701
|
let s = this.rules.other.listItemRegex(n), a = false;
|
|
21845
21702
|
for (;e; ) {
|
|
21846
|
-
let l = false, p = "",
|
|
21703
|
+
let l = false, p = "", c = "";
|
|
21847
21704
|
if (!(t = s.exec(e)) || this.rules.block.hr.test(e))
|
|
21848
21705
|
break;
|
|
21849
21706
|
p = t[0], e = e.substring(p.length);
|
|
21850
21707
|
let d = ge(t[2].split(`
|
|
21851
21708
|
`, 1)[0], t[1].length), h = e.split(`
|
|
21852
21709
|
`, 1)[0], R = !d.trim(), f = 0;
|
|
21853
|
-
if (this.options.pedantic ? (f = 2,
|
|
21710
|
+
if (this.options.pedantic ? (f = 2, c = d.trimStart()) : R ? f = t[1].length + 1 : (f = d.search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, c = d.slice(f), f += t[1].length), R && this.rules.other.blankLine.test(h) && (p += h + `
|
|
21854
21711
|
`, e = e.substring(h.length + 1), l = true), !l) {
|
|
21855
21712
|
let S = this.rules.other.nextBulletRegex(f), Y = this.rules.other.hrRegex(f), ee = this.rules.other.fencesBeginRegex(f), te = this.rules.other.headingBeginRegex(f), me = this.rules.other.htmlBeginRegex(f), xe = this.rules.other.blockquoteBeginRegex(f);
|
|
21856
21713
|
for (;e; ) {
|
|
@@ -21859,19 +21716,19 @@ ${c2}` : c2;
|
|
|
21859
21716
|
if (h = Z, this.options.pedantic ? (h = h.replace(this.rules.other.listReplaceNesting, " "), A = h) : A = h.replace(this.rules.other.tabCharGlobal, " "), ee.test(h) || te.test(h) || me.test(h) || xe.test(h) || S.test(h) || Y.test(h))
|
|
21860
21717
|
break;
|
|
21861
21718
|
if (A.search(this.rules.other.nonSpaceChar) >= f || !h.trim())
|
|
21862
|
-
|
|
21719
|
+
c += `
|
|
21863
21720
|
` + A.slice(f);
|
|
21864
21721
|
else {
|
|
21865
21722
|
if (R || d.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || ee.test(d) || te.test(d) || Y.test(d))
|
|
21866
21723
|
break;
|
|
21867
|
-
|
|
21724
|
+
c += `
|
|
21868
21725
|
` + h;
|
|
21869
21726
|
}
|
|
21870
21727
|
R = !h.trim(), p += Z + `
|
|
21871
21728
|
`, e = e.substring(Z.length + 1), d = A.slice(f);
|
|
21872
21729
|
}
|
|
21873
21730
|
}
|
|
21874
|
-
i.loose || (a ? i.loose = true : this.rules.other.doubleBlankLine.test(p) && (a = true)), i.items.push({ type: "list_item", raw: p, task: !!this.options.gfm && this.rules.other.listIsTask.test(
|
|
21731
|
+
i.loose || (a ? i.loose = true : this.rules.other.doubleBlankLine.test(p) && (a = true)), i.items.push({ type: "list_item", raw: p, task: !!this.options.gfm && this.rules.other.listIsTask.test(c), loose: false, text: c, tokens: [] }), i.raw += p;
|
|
21875
21732
|
}
|
|
21876
21733
|
let o = i.items.at(-1);
|
|
21877
21734
|
if (o)
|
|
@@ -21883,21 +21740,21 @@ ${c2}` : c2;
|
|
|
21883
21740
|
if (this.lexer.state.top = false, l.tokens = this.lexer.blockTokens(l.text, []), l.task) {
|
|
21884
21741
|
if (l.text = l.text.replace(this.rules.other.listReplaceTask, ""), l.tokens[0]?.type === "text" || l.tokens[0]?.type === "paragraph") {
|
|
21885
21742
|
l.tokens[0].raw = l.tokens[0].raw.replace(this.rules.other.listReplaceTask, ""), l.tokens[0].text = l.tokens[0].text.replace(this.rules.other.listReplaceTask, "");
|
|
21886
|
-
for (let
|
|
21887
|
-
if (this.rules.other.listIsTask.test(this.lexer.inlineQueue[
|
|
21888
|
-
this.lexer.inlineQueue[
|
|
21743
|
+
for (let c = this.lexer.inlineQueue.length - 1;c >= 0; c--)
|
|
21744
|
+
if (this.rules.other.listIsTask.test(this.lexer.inlineQueue[c].src)) {
|
|
21745
|
+
this.lexer.inlineQueue[c].src = this.lexer.inlineQueue[c].src.replace(this.rules.other.listReplaceTask, "");
|
|
21889
21746
|
break;
|
|
21890
21747
|
}
|
|
21891
21748
|
}
|
|
21892
21749
|
let p = this.rules.other.listTaskCheckbox.exec(l.raw);
|
|
21893
21750
|
if (p) {
|
|
21894
|
-
let
|
|
21895
|
-
l.checked =
|
|
21751
|
+
let c = { type: "checkbox", raw: p[0] + " ", checked: p[0] !== "[ ]" };
|
|
21752
|
+
l.checked = c.checked, i.loose ? l.tokens[0] && ["paragraph", "text"].includes(l.tokens[0].type) && "tokens" in l.tokens[0] && l.tokens[0].tokens ? (l.tokens[0].raw = c.raw + l.tokens[0].raw, l.tokens[0].text = c.raw + l.tokens[0].text, l.tokens[0].tokens.unshift(c)) : l.tokens.unshift({ type: "paragraph", raw: c.raw, text: c.raw, tokens: [c] }) : l.tokens.unshift(c);
|
|
21896
21753
|
}
|
|
21897
21754
|
}
|
|
21898
21755
|
if (!i.loose) {
|
|
21899
|
-
let p = l.tokens.filter((d) => d.type === "space"),
|
|
21900
|
-
i.loose =
|
|
21756
|
+
let p = l.tokens.filter((d) => d.type === "space"), c = p.length > 0 && p.some((d) => this.rules.other.anyLine.test(d.raw));
|
|
21757
|
+
i.loose = c;
|
|
21901
21758
|
}
|
|
21902
21759
|
}
|
|
21903
21760
|
if (i.loose)
|
|
@@ -22011,8 +21868,8 @@ ${c2}` : c2;
|
|
|
22011
21868
|
if (!r || !r[1] && !r[2] && !r[3] && !r[4] || r[4] && n.match(this.rules.other.unicodeAlphaNumeric))
|
|
22012
21869
|
return;
|
|
22013
21870
|
if (!(r[1] || r[3] || "") || !n || this.rules.inline.punctuation.exec(n)) {
|
|
22014
|
-
let s = [...r[0]].length - 1, a, o, l = s, p = 0,
|
|
22015
|
-
for (
|
|
21871
|
+
let s = [...r[0]].length - 1, a, o, l = s, p = 0, c = r[0][0] === "*" ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;
|
|
21872
|
+
for (c.lastIndex = 0, t = t.slice(-1 * e.length + s);(r = c.exec(t)) != null; ) {
|
|
22016
21873
|
if (a = r[1] || r[2] || r[3] || r[4] || r[5] || r[6], !a)
|
|
22017
21874
|
continue;
|
|
22018
21875
|
if (o = [...a].length, r[3] || r[4]) {
|
|
@@ -22063,7 +21920,7 @@ ${c2}` : c2;
|
|
|
22063
21920
|
if (l -= o, l > 0)
|
|
22064
21921
|
continue;
|
|
22065
21922
|
o = Math.min(o, o + l);
|
|
22066
|
-
let
|
|
21923
|
+
let c = [...r[0]][0].length, d = e.slice(0, s + r.index + c + o), h = d.slice(s, -s);
|
|
22067
21924
|
return { type: "del", raw: d, text: h, tokens: this.lexer.inlineTokens(h) };
|
|
22068
21925
|
}
|
|
22069
21926
|
}
|
|
@@ -22292,9 +22149,9 @@ ${c2}` : c2;
|
|
|
22292
22149
|
}
|
|
22293
22150
|
let l = e;
|
|
22294
22151
|
if (this.options.extensions?.startInline) {
|
|
22295
|
-
let p = 1 / 0,
|
|
22152
|
+
let p = 1 / 0, c = e.slice(1), d;
|
|
22296
22153
|
this.options.extensions.startInline.forEach((h) => {
|
|
22297
|
-
d = h.call({ lexer: this },
|
|
22154
|
+
d = h.call({ lexer: this }, c), typeof d == "number" && d >= 0 && (p = Math.min(p, d));
|
|
22298
22155
|
}), p < 1 / 0 && p >= 0 && (l = e.substring(0, p + 1));
|
|
22299
22156
|
}
|
|
22300
22157
|
if (o = this.tokenizer.inlineText(l)) {
|
|
@@ -22691,8 +22548,8 @@ ${e}</tr>
|
|
|
22691
22548
|
continue;
|
|
22692
22549
|
let a = s, o = n.renderer[a], l = i[a];
|
|
22693
22550
|
i[a] = (...p) => {
|
|
22694
|
-
let
|
|
22695
|
-
return
|
|
22551
|
+
let c = o.apply(i, p);
|
|
22552
|
+
return c === false && (c = l.apply(i, p)), c || "";
|
|
22696
22553
|
};
|
|
22697
22554
|
}
|
|
22698
22555
|
r.renderer = i;
|
|
@@ -22706,8 +22563,8 @@ ${e}</tr>
|
|
|
22706
22563
|
continue;
|
|
22707
22564
|
let a = s, o = n.tokenizer[a], l = i[a];
|
|
22708
22565
|
i[a] = (...p) => {
|
|
22709
|
-
let
|
|
22710
|
-
return
|
|
22566
|
+
let c = o.apply(i, p);
|
|
22567
|
+
return c === false && (c = l.apply(i, p)), c;
|
|
22711
22568
|
};
|
|
22712
22569
|
}
|
|
22713
22570
|
r.tokenizer = i;
|
|
@@ -22726,16 +22583,16 @@ ${e}</tr>
|
|
|
22726
22583
|
let d = await o.call(i, p);
|
|
22727
22584
|
return l.call(i, d);
|
|
22728
22585
|
})();
|
|
22729
|
-
let
|
|
22730
|
-
return l.call(i,
|
|
22586
|
+
let c = o.call(i, p);
|
|
22587
|
+
return l.call(i, c);
|
|
22731
22588
|
} : i[a] = (...p) => {
|
|
22732
22589
|
if (this.defaults.async)
|
|
22733
22590
|
return (async () => {
|
|
22734
22591
|
let d = await o.apply(i, p);
|
|
22735
22592
|
return d === false && (d = await l.apply(i, p)), d;
|
|
22736
22593
|
})();
|
|
22737
|
-
let
|
|
22738
|
-
return
|
|
22594
|
+
let c = o.apply(i, p);
|
|
22595
|
+
return c === false && (c = l.apply(i, p)), c;
|
|
22739
22596
|
};
|
|
22740
22597
|
}
|
|
22741
22598
|
r.hooks = i;
|
|
@@ -22770,17 +22627,17 @@ ${e}</tr>
|
|
|
22770
22627
|
return a(new Error("marked(): input parameter is of type " + Object.prototype.toString.call(n) + ", string expected"));
|
|
22771
22628
|
if (s.hooks && (s.hooks.options = s, s.hooks.block = e), s.async)
|
|
22772
22629
|
return (async () => {
|
|
22773
|
-
let o = s.hooks ? await s.hooks.preprocess(n) : n, p = await (s.hooks ? await s.hooks.provideLexer() : e ? x.lex : x.lexInline)(o, s),
|
|
22774
|
-
s.walkTokens && await Promise.all(this.walkTokens(
|
|
22775
|
-
let h = await (s.hooks ? await s.hooks.provideParser() : e ? b.parse : b.parseInline)(
|
|
22630
|
+
let o = s.hooks ? await s.hooks.preprocess(n) : n, p = await (s.hooks ? await s.hooks.provideLexer() : e ? x.lex : x.lexInline)(o, s), c = s.hooks ? await s.hooks.processAllTokens(p) : p;
|
|
22631
|
+
s.walkTokens && await Promise.all(this.walkTokens(c, s.walkTokens));
|
|
22632
|
+
let h = await (s.hooks ? await s.hooks.provideParser() : e ? b.parse : b.parseInline)(c, s);
|
|
22776
22633
|
return s.hooks ? await s.hooks.postprocess(h) : h;
|
|
22777
22634
|
})().catch(a);
|
|
22778
22635
|
try {
|
|
22779
22636
|
s.hooks && (n = s.hooks.preprocess(n));
|
|
22780
22637
|
let l = (s.hooks ? s.hooks.provideLexer() : e ? x.lex : x.lexInline)(n, s);
|
|
22781
22638
|
s.hooks && (l = s.hooks.processAllTokens(l)), s.walkTokens && this.walkTokens(l, s.walkTokens);
|
|
22782
|
-
let
|
|
22783
|
-
return s.hooks && (
|
|
22639
|
+
let c = (s.hooks ? s.hooks.provideParser() : e ? b.parse : b.parseInline)(l, s);
|
|
22640
|
+
return s.hooks && (c = s.hooks.postprocess(c)), c;
|
|
22784
22641
|
} catch (o) {
|
|
22785
22642
|
return a(o);
|
|
22786
22643
|
}
|
|
@@ -25514,7 +25371,7 @@ var init_zod_compat = __esm(() => {
|
|
|
25514
25371
|
|
|
25515
25372
|
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
25516
25373
|
var LATEST_PROTOCOL_VERSION = "2025-11-25", SUPPORTED_PROTOCOL_VERSIONS, RELATED_TASK_META_KEY = "io.modelcontextprotocol/related-task", JSONRPC_VERSION = "2.0", AssertObjectSchema, ProgressTokenSchema, CursorSchema, TaskCreationParamsSchema, TaskMetadataSchema, RelatedTaskMetadataSchema, RequestMetaSchema, BaseRequestParamsSchema, TaskAugmentedRequestParamsSchema, isTaskAugmentedRequestParams = (value) => TaskAugmentedRequestParamsSchema.safeParse(value).success, RequestSchema, NotificationsParamsSchema, NotificationSchema, ResultSchema, RequestIdSchema, JSONRPCRequestSchema, isJSONRPCRequest = (value) => JSONRPCRequestSchema.safeParse(value).success, JSONRPCNotificationSchema, isJSONRPCNotification = (value) => JSONRPCNotificationSchema.safeParse(value).success, JSONRPCResultResponseSchema, isJSONRPCResultResponse = (value) => JSONRPCResultResponseSchema.safeParse(value).success, ErrorCode, JSONRPCErrorResponseSchema, isJSONRPCErrorResponse = (value) => JSONRPCErrorResponseSchema.safeParse(value).success, JSONRPCMessageSchema, JSONRPCResponseSchema, EmptyResultSchema, CancelledNotificationParamsSchema, CancelledNotificationSchema, IconSchema, IconsSchema, BaseMetadataSchema, ImplementationSchema, FormElicitationCapabilitySchema, ElicitationCapabilitySchema, ClientTasksCapabilitySchema, ServerTasksCapabilitySchema, ClientCapabilitiesSchema, InitializeRequestParamsSchema, InitializeRequestSchema, ServerCapabilitiesSchema, InitializeResultSchema, InitializedNotificationSchema, isInitializedNotification = (value) => InitializedNotificationSchema.safeParse(value).success, PingRequestSchema, ProgressSchema, ProgressNotificationParamsSchema, ProgressNotificationSchema, PaginatedRequestParamsSchema, PaginatedRequestSchema, PaginatedResultSchema, TaskStatusSchema2, TaskSchema, CreateTaskResultSchema, TaskStatusNotificationParamsSchema, TaskStatusNotificationSchema, GetTaskRequestSchema, GetTaskResultSchema, GetTaskPayloadRequestSchema, GetTaskPayloadResultSchema, ListTasksRequestSchema, ListTasksResultSchema, CancelTaskRequestSchema, CancelTaskResultSchema, ResourceContentsSchema, TextResourceContentsSchema, Base64Schema, BlobResourceContentsSchema, RoleSchema, AnnotationsSchema, ResourceSchema, ResourceTemplateSchema, ListResourcesRequestSchema, ListResourcesResultSchema, ListResourceTemplatesRequestSchema, ListResourceTemplatesResultSchema, ResourceRequestParamsSchema, ReadResourceRequestParamsSchema, ReadResourceRequestSchema, ReadResourceResultSchema, ResourceListChangedNotificationSchema, SubscribeRequestParamsSchema, SubscribeRequestSchema, UnsubscribeRequestParamsSchema, UnsubscribeRequestSchema, ResourceUpdatedNotificationParamsSchema, ResourceUpdatedNotificationSchema, PromptArgumentSchema, PromptSchema, ListPromptsRequestSchema, ListPromptsResultSchema, GetPromptRequestParamsSchema, GetPromptRequestSchema, TextContentSchema, ImageContentSchema, AudioContentSchema, ToolUseContentSchema, EmbeddedResourceSchema, ResourceLinkSchema, ContentBlockSchema, PromptMessageSchema, GetPromptResultSchema, PromptListChangedNotificationSchema, ToolAnnotationsSchema, ToolExecutionSchema, ToolSchema, ListToolsRequestSchema, ListToolsResultSchema, CallToolResultSchema, CompatibilityCallToolResultSchema, CallToolRequestParamsSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, ListChangedOptionsBaseSchema, LoggingLevelSchema, SetLevelRequestParamsSchema, SetLevelRequestSchema, LoggingMessageNotificationParamsSchema, LoggingMessageNotificationSchema, ModelHintSchema, ModelPreferencesSchema, ToolChoiceSchema, ToolResultContentSchema, SamplingContentSchema, SamplingMessageContentBlockSchema, SamplingMessageSchema, CreateMessageRequestParamsSchema, CreateMessageRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, BooleanSchemaSchema, StringSchemaSchema, NumberSchemaSchema, UntitledSingleSelectEnumSchemaSchema, TitledSingleSelectEnumSchemaSchema, LegacyTitledEnumSchemaSchema, SingleSelectEnumSchemaSchema, UntitledMultiSelectEnumSchemaSchema, TitledMultiSelectEnumSchemaSchema, MultiSelectEnumSchemaSchema, EnumSchemaSchema, PrimitiveSchemaDefinitionSchema, ElicitRequestFormParamsSchema, ElicitRequestURLParamsSchema, ElicitRequestParamsSchema, ElicitRequestSchema, ElicitationCompleteNotificationParamsSchema, ElicitationCompleteNotificationSchema, ElicitResultSchema, ResourceTemplateReferenceSchema, PromptReferenceSchema, CompleteRequestParamsSchema, CompleteRequestSchema, CompleteResultSchema, RootSchema, ListRootsRequestSchema, ListRootsResultSchema, RootsListChangedNotificationSchema, ClientRequestSchema, ClientNotificationSchema, ClientResultSchema, ServerRequestSchema, ServerNotificationSchema, ServerResultSchema, McpError, UrlElicitationRequiredError;
|
|
25517
|
-
var
|
|
25374
|
+
var init_types4 = __esm(() => {
|
|
25518
25375
|
init_v4();
|
|
25519
25376
|
SUPPORTED_PROTOCOL_VERSIONS = [LATEST_PROTOCOL_VERSION, "2025-06-18", "2025-03-26", "2024-11-05", "2024-10-07"];
|
|
25520
25377
|
AssertObjectSchema = custom((v2) => v2 !== null && (typeof v2 === "object" || typeof v2 === "function"));
|
|
@@ -27476,7 +27333,7 @@ function mergeCapabilities(base, additional) {
|
|
|
27476
27333
|
var DEFAULT_REQUEST_TIMEOUT_MSEC = 60000;
|
|
27477
27334
|
var init_protocol = __esm(() => {
|
|
27478
27335
|
init_zod_compat();
|
|
27479
|
-
|
|
27336
|
+
init_types4();
|
|
27480
27337
|
init_interfaces();
|
|
27481
27338
|
init_zod_json_schema_compat();
|
|
27482
27339
|
});
|
|
@@ -27875,7 +27732,7 @@ class ExperimentalClientTasks {
|
|
|
27875
27732
|
}
|
|
27876
27733
|
}
|
|
27877
27734
|
var init_client3 = __esm(() => {
|
|
27878
|
-
|
|
27735
|
+
init_types4();
|
|
27879
27736
|
});
|
|
27880
27737
|
|
|
27881
27738
|
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js
|
|
@@ -27959,7 +27816,7 @@ function getSupportedElicitationModes(capabilities) {
|
|
|
27959
27816
|
var Client;
|
|
27960
27817
|
var init_client4 = __esm(() => {
|
|
27961
27818
|
init_protocol();
|
|
27962
|
-
|
|
27819
|
+
init_types4();
|
|
27963
27820
|
init_ajv_provider();
|
|
27964
27821
|
init_zod_compat();
|
|
27965
27822
|
init_client3();
|
|
@@ -29529,7 +29386,7 @@ async function registerClient(authorizationServerUrl, { metadata, clientMetadata
|
|
|
29529
29386
|
var UnauthorizedError, AUTHORIZATION_CODE_RESPONSE_TYPE = "code", AUTHORIZATION_CODE_CHALLENGE_METHOD = "S256";
|
|
29530
29387
|
var init_auth3 = __esm(() => {
|
|
29531
29388
|
init_index_node();
|
|
29532
|
-
|
|
29389
|
+
init_types4();
|
|
29533
29390
|
init_auth2();
|
|
29534
29391
|
init_auth2();
|
|
29535
29392
|
init_auth_utils();
|
|
@@ -29724,7 +29581,7 @@ var SseError;
|
|
|
29724
29581
|
var init_sse = __esm(() => {
|
|
29725
29582
|
init_dist5();
|
|
29726
29583
|
init_transport();
|
|
29727
|
-
|
|
29584
|
+
init_types4();
|
|
29728
29585
|
init_auth3();
|
|
29729
29586
|
SseError = class SseError extends Error {
|
|
29730
29587
|
constructor(code, message, event) {
|
|
@@ -29765,7 +29622,7 @@ function serializeMessage(message) {
|
|
|
29765
29622
|
`;
|
|
29766
29623
|
}
|
|
29767
29624
|
var init_stdio = __esm(() => {
|
|
29768
|
-
|
|
29625
|
+
init_types4();
|
|
29769
29626
|
});
|
|
29770
29627
|
|
|
29771
29628
|
// node_modules/.bun/@modelcontextprotocol+sdk@1.29.0/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js
|
|
@@ -30300,7 +30157,7 @@ class StreamableHTTPClientTransport {
|
|
|
30300
30157
|
var DEFAULT_STREAMABLE_HTTP_RECONNECTION_OPTIONS, StreamableHTTPError;
|
|
30301
30158
|
var init_streamableHttp = __esm(() => {
|
|
30302
30159
|
init_transport();
|
|
30303
|
-
|
|
30160
|
+
init_types4();
|
|
30304
30161
|
init_auth3();
|
|
30305
30162
|
init_stream();
|
|
30306
30163
|
DEFAULT_STREAMABLE_HTTP_RECONNECTION_OPTIONS = {
|
|
@@ -31349,10 +31206,10 @@ function toolCallOf(msg) {
|
|
|
31349
31206
|
function action(a) {
|
|
31350
31207
|
return a;
|
|
31351
31208
|
}
|
|
31352
|
-
function isApplicable(a,
|
|
31353
|
-
if (!a.types.includes(
|
|
31209
|
+
function isApplicable(a, c) {
|
|
31210
|
+
if (!a.types.includes(c.msgType))
|
|
31354
31211
|
return false;
|
|
31355
|
-
return !a.applies || a.applies(
|
|
31212
|
+
return !a.applies || a.applies(c);
|
|
31356
31213
|
}
|
|
31357
31214
|
function useSelectedMessageBg() {
|
|
31358
31215
|
return import_react.default.useContext(MessageActionsSelectedContext) ? "messageActionsBackground" : undefined;
|
|
@@ -31370,8 +31227,8 @@ function useMessageActions(cursor, setCursor, navRef, caps) {
|
|
|
31370
31227
|
"messageActions:nextUser": () => navRef.current?.navigateNextUser(),
|
|
31371
31228
|
"messageActions:top": () => navRef.current?.navigateTop(),
|
|
31372
31229
|
"messageActions:bottom": () => navRef.current?.navigateBottom(),
|
|
31373
|
-
"messageActions:escape": () => setCursor((
|
|
31374
|
-
...
|
|
31230
|
+
"messageActions:escape": () => setCursor((c) => c?.expanded ? {
|
|
31231
|
+
...c,
|
|
31375
31232
|
expanded: false
|
|
31376
31233
|
} : null),
|
|
31377
31234
|
"messageActions:ctrlc": () => setCursor(null)
|
|
@@ -31630,12 +31487,12 @@ function toolResultText(r) {
|
|
|
31630
31487
|
const b2 = r.message.content[0];
|
|
31631
31488
|
if (b2?.type !== "tool_result")
|
|
31632
31489
|
return "";
|
|
31633
|
-
const
|
|
31634
|
-
if (typeof
|
|
31635
|
-
return
|
|
31636
|
-
if (!
|
|
31490
|
+
const c = b2.content;
|
|
31491
|
+
if (typeof c === "string")
|
|
31492
|
+
return c;
|
|
31493
|
+
if (!c)
|
|
31637
31494
|
return "";
|
|
31638
|
-
return
|
|
31495
|
+
return c.flatMap((x2) => x2.type === "text" ? [x2.text] : []).join(`
|
|
31639
31496
|
`);
|
|
31640
31497
|
}
|
|
31641
31498
|
var import_compiler_runtime, import_react, jsx_dev_runtime, NAVIGABLE_TYPES, str = (k2) => (i) => typeof i[k2] === "string" ? i[k2] : undefined, PRIMARY_INPUT, MESSAGE_ACTIONS, MessageActionsSelectedContext, InVirtualListContext;
|
|
@@ -31709,24 +31566,24 @@ var init_messageActions = __esm(() => {
|
|
|
31709
31566
|
key: "enter",
|
|
31710
31567
|
label: "edit",
|
|
31711
31568
|
types: ["user"],
|
|
31712
|
-
run: (m2,
|
|
31569
|
+
run: (m2, c) => void c.edit(m2)
|
|
31713
31570
|
}), action({
|
|
31714
31571
|
key: "c",
|
|
31715
31572
|
label: "copy",
|
|
31716
31573
|
types: NAVIGABLE_TYPES,
|
|
31717
|
-
run: (m2,
|
|
31574
|
+
run: (m2, c) => c.copy(copyTextOf(m2))
|
|
31718
31575
|
}), action({
|
|
31719
31576
|
key: "p",
|
|
31720
31577
|
label: (s) => `copy ${PRIMARY_INPUT[s.toolName].label}`,
|
|
31721
31578
|
types: ["grouped_tool_use", "assistant"],
|
|
31722
31579
|
applies: (s) => s.toolName != null && (s.toolName in PRIMARY_INPUT),
|
|
31723
|
-
run: (m2,
|
|
31580
|
+
run: (m2, c) => {
|
|
31724
31581
|
const tc = toolCallOf(m2);
|
|
31725
31582
|
if (!tc)
|
|
31726
31583
|
return;
|
|
31727
31584
|
const val = PRIMARY_INPUT[tc.name]?.extract(tc.input);
|
|
31728
31585
|
if (val)
|
|
31729
|
-
|
|
31586
|
+
c.copy(val);
|
|
31730
31587
|
}
|
|
31731
31588
|
})];
|
|
31732
31589
|
MessageActionsSelectedContext = import_react.default.createContext(false);
|
|
@@ -32318,7 +32175,7 @@ var init_ListMcpResourcesTool = __esm(() => {
|
|
|
32318
32175
|
const { server: targetServer } = input;
|
|
32319
32176
|
const clientsToProcess = targetServer ? mcpClients.filter((client) => client.name === targetServer) : mcpClients;
|
|
32320
32177
|
if (targetServer && clientsToProcess.length === 0) {
|
|
32321
|
-
throw new Error(`Server "${targetServer}" not found. Available servers: ${mcpClients.map((
|
|
32178
|
+
throw new Error(`Server "${targetServer}" not found. Available servers: ${mcpClients.map((c) => c.name).join(", ")}`);
|
|
32322
32179
|
}
|
|
32323
32180
|
const results = await Promise.all(clientsToProcess.map(async (client) => {
|
|
32324
32181
|
if (client.type !== "connected")
|
|
@@ -33828,15 +33685,15 @@ function hasMalformedTokens(command, parsed) {
|
|
|
33828
33685
|
let doubleCount = 0;
|
|
33829
33686
|
let singleCount = 0;
|
|
33830
33687
|
for (let i = 0;i < command.length; i++) {
|
|
33831
|
-
const
|
|
33832
|
-
if (
|
|
33688
|
+
const c = command[i];
|
|
33689
|
+
if (c === "\\" && !inSingle) {
|
|
33833
33690
|
i++;
|
|
33834
33691
|
continue;
|
|
33835
33692
|
}
|
|
33836
|
-
if (
|
|
33693
|
+
if (c === '"' && !inSingle) {
|
|
33837
33694
|
doubleCount++;
|
|
33838
33695
|
inDouble = !inDouble;
|
|
33839
|
-
} else if (
|
|
33696
|
+
} else if (c === "'" && !inDouble) {
|
|
33840
33697
|
singleCount++;
|
|
33841
33698
|
inSingle = !inSingle;
|
|
33842
33699
|
}
|
|
@@ -34477,7 +34334,7 @@ function classifyImageError(error) {
|
|
|
34477
34334
|
}
|
|
34478
34335
|
return ERROR_TYPE_UNKNOWN;
|
|
34479
34336
|
}
|
|
34480
|
-
function
|
|
34337
|
+
function hashString(str2) {
|
|
34481
34338
|
let hash = 5381;
|
|
34482
34339
|
for (let i = 0;i < str2.length; i++) {
|
|
34483
34340
|
hash = (hash << 5) + hash + str2.charCodeAt(i) | 0;
|
|
@@ -34637,7 +34494,7 @@ async function maybeResizeAndDownsampleImageBuffer(imageBuffer, originalSize, ex
|
|
|
34637
34494
|
logEvent("tengu_image_resize_failed", {
|
|
34638
34495
|
original_size_bytes: originalSize,
|
|
34639
34496
|
error_type: errorType,
|
|
34640
|
-
error_message_hash:
|
|
34497
|
+
error_message_hash: hashString(errorMsg)
|
|
34641
34498
|
});
|
|
34642
34499
|
const detected = detectImageFormatFromBuffer(imageBuffer);
|
|
34643
34500
|
const normalizedExt = detected.slice(6);
|
|
@@ -34716,7 +34573,7 @@ async function compressImageBuffer(imageBuffer, maxBytes = IMAGE_TARGET_RAW_SIZE
|
|
|
34716
34573
|
original_size_bytes: imageBuffer.length,
|
|
34717
34574
|
max_bytes: maxBytes,
|
|
34718
34575
|
error_type: errorType,
|
|
34719
|
-
error_message_hash:
|
|
34576
|
+
error_message_hash: hashString(errorMsg)
|
|
34720
34577
|
});
|
|
34721
34578
|
if (imageBuffer.length <= maxBytes) {
|
|
34722
34579
|
const detected = detectImageFormatFromBuffer(imageBuffer);
|
|
@@ -37401,7 +37258,7 @@ async function persistFileSnapshotIfRemote() {
|
|
|
37401
37258
|
uuid: randomUUID3(),
|
|
37402
37259
|
snapshotFiles
|
|
37403
37260
|
};
|
|
37404
|
-
const { recordTranscript } = await import("./chunk-
|
|
37261
|
+
const { recordTranscript } = await import("./chunk-9rae7azx.js");
|
|
37405
37262
|
await recordTranscript([message]);
|
|
37406
37263
|
} catch (error) {
|
|
37407
37264
|
logError(error);
|
|
@@ -38461,7 +38318,7 @@ function getInstallationEnv() {
|
|
|
38461
38318
|
return;
|
|
38462
38319
|
}
|
|
38463
38320
|
function getClaudeCodeVersion() {
|
|
38464
|
-
return "1.0.3-fork.
|
|
38321
|
+
return "1.0.3-fork.d431a23";
|
|
38465
38322
|
}
|
|
38466
38323
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
38467
38324
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -38992,7 +38849,7 @@ function appendCappedMessage(prev, item) {
|
|
|
38992
38849
|
return [...prev, item];
|
|
38993
38850
|
}
|
|
38994
38851
|
var TEAMMATE_MESSAGES_UI_CAP = 50;
|
|
38995
|
-
var
|
|
38852
|
+
var init_types5 = () => {};
|
|
38996
38853
|
|
|
38997
38854
|
// src/state/selectors.ts
|
|
38998
38855
|
function getViewedTeammateTask(appState) {
|
|
@@ -39024,7 +38881,7 @@ function getActiveAgentForInput(appState) {
|
|
|
39024
38881
|
return { type: "leader" };
|
|
39025
38882
|
}
|
|
39026
38883
|
var init_selectors = __esm(() => {
|
|
39027
|
-
|
|
38884
|
+
init_types5();
|
|
39028
38885
|
});
|
|
39029
38886
|
|
|
39030
38887
|
// src/services/diagnosticTracking.ts
|
|
@@ -39225,14 +39082,14 @@ var init_diagnosticTracking = __esm(() => {
|
|
|
39225
39082
|
});
|
|
39226
39083
|
|
|
39227
39084
|
// src/types/textInputTypes.ts
|
|
39228
|
-
function isValidImagePaste(
|
|
39229
|
-
return
|
|
39085
|
+
function isValidImagePaste(c) {
|
|
39086
|
+
return c.type === "image" && c.content.length > 0;
|
|
39230
39087
|
}
|
|
39231
39088
|
function getImagePasteIds(pastedContents) {
|
|
39232
39089
|
if (!pastedContents) {
|
|
39233
39090
|
return;
|
|
39234
39091
|
}
|
|
39235
|
-
const ids = Object.values(pastedContents).filter(isValidImagePaste).map((
|
|
39092
|
+
const ids = Object.values(pastedContents).filter(isValidImagePaste).map((c) => c.id);
|
|
39236
39093
|
return ids.length > 0 ? ids : undefined;
|
|
39237
39094
|
}
|
|
39238
39095
|
var init_textInputTypes = () => {};
|
|
@@ -49588,7 +49445,7 @@ var init_promptCategory = __esm(() => {
|
|
|
49588
49445
|
import { createHash as createHash4 } from "crypto";
|
|
49589
49446
|
import { promises as fs6 } from "fs";
|
|
49590
49447
|
import { dirname as dirname16, join as join24 } from "path";
|
|
49591
|
-
function
|
|
49448
|
+
function hashString2(str2) {
|
|
49592
49449
|
return createHash4("sha256").update(str2).digest("hex");
|
|
49593
49450
|
}
|
|
49594
49451
|
function clearDumpState(agentIdOrSessionId) {
|
|
@@ -49637,7 +49494,7 @@ function dumpRequest(body, ts, state, filePath) {
|
|
|
49637
49494
|
if (!state.initialized || fingerprint !== state.lastInitFingerprint) {
|
|
49638
49495
|
const { messages: _2, ...initData } = req;
|
|
49639
49496
|
const initDataStr = jsonStringify(initData);
|
|
49640
|
-
const initDataHash =
|
|
49497
|
+
const initDataHash = hashString2(initDataStr);
|
|
49641
49498
|
state.lastInitFingerprint = fingerprint;
|
|
49642
49499
|
if (!state.initialized) {
|
|
49643
49500
|
state.initialized = true;
|
|
@@ -49906,7 +49763,7 @@ function getUnconfiguredChannels(plugin) {
|
|
|
49906
49763
|
return unconfigured;
|
|
49907
49764
|
}
|
|
49908
49765
|
function loadChannelUserConfig(plugin, serverName) {
|
|
49909
|
-
const channel = plugin.manifest.channels?.find((
|
|
49766
|
+
const channel = plugin.manifest.channels?.find((c) => c.server === serverName);
|
|
49910
49767
|
if (!channel?.userConfig) {
|
|
49911
49768
|
return;
|
|
49912
49769
|
}
|
|
@@ -50179,14 +50036,14 @@ function commandBelongsToServer(command, serverName) {
|
|
|
50179
50036
|
return name.startsWith(`mcp__${normalized}__`) || name.startsWith(`${normalized}:`);
|
|
50180
50037
|
}
|
|
50181
50038
|
function filterMcpPromptsByServer(commands, serverName) {
|
|
50182
|
-
return commands.filter((
|
|
50039
|
+
return commands.filter((c) => commandBelongsToServer(c, serverName) && !(c.type === "prompt" && c.loadedFrom === "mcp"));
|
|
50183
50040
|
}
|
|
50184
50041
|
function excludeToolsByServer(tools, serverName) {
|
|
50185
50042
|
const prefix = `mcp__${normalizeNameForMCP(serverName)}__`;
|
|
50186
50043
|
return tools.filter((tool) => !tool.name?.startsWith(prefix));
|
|
50187
50044
|
}
|
|
50188
50045
|
function excludeCommandsByServer(commands, serverName) {
|
|
50189
|
-
return commands.filter((
|
|
50046
|
+
return commands.filter((c) => !commandBelongsToServer(c, serverName));
|
|
50190
50047
|
}
|
|
50191
50048
|
function excludeResourcesByServer(resources, serverName) {
|
|
50192
50049
|
const result = { ...resources };
|
|
@@ -50208,11 +50065,11 @@ function hashMcpConfig(config2) {
|
|
|
50208
50065
|
return createHash5("sha256").update(stable).digest("hex").slice(0, 16);
|
|
50209
50066
|
}
|
|
50210
50067
|
function excludeStalePluginClients(mcp, configs) {
|
|
50211
|
-
const stale = mcp.clients.filter((
|
|
50212
|
-
const fresh = configs[
|
|
50068
|
+
const stale = mcp.clients.filter((c) => {
|
|
50069
|
+
const fresh = configs[c.name];
|
|
50213
50070
|
if (!fresh)
|
|
50214
|
-
return
|
|
50215
|
-
return hashMcpConfig(
|
|
50071
|
+
return c.config.scope === "dynamic";
|
|
50072
|
+
return hashMcpConfig(c.config) !== hashMcpConfig(fresh);
|
|
50216
50073
|
});
|
|
50217
50074
|
if (stale.length === 0) {
|
|
50218
50075
|
return { ...mcp, stale: [] };
|
|
@@ -50223,9 +50080,9 @@ function excludeStalePluginClients(mcp, configs) {
|
|
|
50223
50080
|
commands = excludeCommandsByServer(commands, s.name);
|
|
50224
50081
|
resources = excludeResourcesByServer(resources, s.name);
|
|
50225
50082
|
}
|
|
50226
|
-
const staleNames = new Set(stale.map((
|
|
50083
|
+
const staleNames = new Set(stale.map((c) => c.name));
|
|
50227
50084
|
return {
|
|
50228
|
-
clients: mcp.clients.filter((
|
|
50085
|
+
clients: mcp.clients.filter((c) => !staleNames.has(c.name)),
|
|
50229
50086
|
tools,
|
|
50230
50087
|
commands,
|
|
50231
50088
|
resources,
|
|
@@ -50699,8 +50556,8 @@ function filterMcpServersByPolicy(configs) {
|
|
|
50699
50556
|
const allowed = {};
|
|
50700
50557
|
const blocked = [];
|
|
50701
50558
|
for (const [name, config2] of Object.entries(configs)) {
|
|
50702
|
-
const
|
|
50703
|
-
if (
|
|
50559
|
+
const c = config2;
|
|
50560
|
+
if (c.type === "sdk" || isMcpServerAllowedByPolicy(name, c)) {
|
|
50704
50561
|
allowed[name] = config2;
|
|
50705
50562
|
} else {
|
|
50706
50563
|
blocked.push(name);
|
|
@@ -51283,7 +51140,7 @@ function shouldAllowManagedMcpServersOnly() {
|
|
|
51283
51140
|
return getSettingsForSource("policySettings")?.allowManagedMcpServersOnly === true;
|
|
51284
51141
|
}
|
|
51285
51142
|
function areMcpConfigsAllowedWithEnterpriseMcpConfig(configs) {
|
|
51286
|
-
return Object.values(configs).every((
|
|
51143
|
+
return Object.values(configs).every((c) => c.type === "sdk" && c.name === "claude-vscode");
|
|
51287
51144
|
}
|
|
51288
51145
|
function isDefaultDisabledBuiltin(name) {
|
|
51289
51146
|
return DEFAULT_DISABLED_BUILTIN !== null && name === DEFAULT_DISABLED_BUILTIN;
|
|
@@ -51927,7 +51784,7 @@ function computeFingerprint(messageText, version) {
|
|
|
51927
51784
|
}
|
|
51928
51785
|
function computeFingerprintFromMessages(messages) {
|
|
51929
51786
|
const firstMessageText = extractFirstMessageText(messages);
|
|
51930
|
-
return computeFingerprint(firstMessageText, "1.0.3-fork.
|
|
51787
|
+
return computeFingerprint(firstMessageText, "1.0.3-fork.d431a23");
|
|
51931
51788
|
}
|
|
51932
51789
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
51933
51790
|
var init_fingerprint = () => {};
|
|
@@ -51969,7 +51826,7 @@ async function sideQuery(opts) {
|
|
|
51969
51826
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
51970
51827
|
}
|
|
51971
51828
|
const messageText = extractFirstUserMessageText(messages);
|
|
51972
|
-
const fingerprint = computeFingerprint(messageText, "1.0.3-fork.
|
|
51829
|
+
const fingerprint = computeFingerprint(messageText, "1.0.3-fork.d431a23");
|
|
51973
51830
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
51974
51831
|
const systemBlocks = [
|
|
51975
51832
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -52693,7 +52550,7 @@ async function* runAgent({
|
|
|
52693
52550
|
}
|
|
52694
52551
|
validSkills.push({ skillName, skill });
|
|
52695
52552
|
}
|
|
52696
|
-
const { formatSkillLoadingMetadata } = await import("./chunk-
|
|
52553
|
+
const { formatSkillLoadingMetadata } = await import("./chunk-35dacgyn.js");
|
|
52697
52554
|
const loaded = await Promise.all(validSkills.map(async ({ skillName, skill }) => ({
|
|
52698
52555
|
skillName,
|
|
52699
52556
|
skill,
|
|
@@ -53034,7 +52891,7 @@ var init_agentSummary = __esm(() => {
|
|
|
53034
52891
|
|
|
53035
52892
|
// src/utils/todo/types.ts
|
|
53036
52893
|
var TodoStatusSchema, TodoItemSchema, TodoListSchema;
|
|
53037
|
-
var
|
|
52894
|
+
var init_types6 = __esm(() => {
|
|
53038
52895
|
init_v4();
|
|
53039
52896
|
init_lazySchema();
|
|
53040
52897
|
TodoStatusSchema = lazySchema(() => exports_external.enum(["pending", "in_progress", "completed"]));
|
|
@@ -53240,7 +53097,7 @@ var init_TodoWriteTool = __esm(() => {
|
|
|
53240
53097
|
init_Tool();
|
|
53241
53098
|
init_lazySchema();
|
|
53242
53099
|
init_tasks();
|
|
53243
|
-
|
|
53100
|
+
init_types6();
|
|
53244
53101
|
init_constants2();
|
|
53245
53102
|
init_constants8();
|
|
53246
53103
|
init_prompt18();
|
|
@@ -53524,13 +53381,13 @@ function cleanupTerminalModes() {
|
|
|
53524
53381
|
}
|
|
53525
53382
|
function printResumeHint() {
|
|
53526
53383
|
if (resumeHintPrinted) {
|
|
53527
|
-
return;
|
|
53384
|
+
return true;
|
|
53528
53385
|
}
|
|
53529
53386
|
if (process.stdout.isTTY && getIsInteractive() && !isSessionPersistenceDisabled()) {
|
|
53530
53387
|
try {
|
|
53531
53388
|
const sessionId = getSessionId();
|
|
53532
53389
|
if (!sessionIdExists(sessionId)) {
|
|
53533
|
-
return;
|
|
53390
|
+
return false;
|
|
53534
53391
|
}
|
|
53535
53392
|
const customTitle = getCurrentSessionTitle(sessionId);
|
|
53536
53393
|
let resumeArg;
|
|
@@ -53545,6 +53402,24 @@ Resume this session with:
|
|
|
53545
53402
|
${getCliBin()} --resume ${resumeArg}
|
|
53546
53403
|
`));
|
|
53547
53404
|
resumeHintPrinted = true;
|
|
53405
|
+
exitBoundaryPrinted = true;
|
|
53406
|
+
return true;
|
|
53407
|
+
} catch {}
|
|
53408
|
+
}
|
|
53409
|
+
return false;
|
|
53410
|
+
}
|
|
53411
|
+
function printExitBoundary(options) {
|
|
53412
|
+
if (exitBoundaryPrinted) {
|
|
53413
|
+
return;
|
|
53414
|
+
}
|
|
53415
|
+
if (printResumeHint()) {
|
|
53416
|
+
return;
|
|
53417
|
+
}
|
|
53418
|
+
if (!options?.expectFinalMessage && process.stdout.isTTY) {
|
|
53419
|
+
try {
|
|
53420
|
+
writeSync(1, `
|
|
53421
|
+
`);
|
|
53422
|
+
exitBoundaryPrinted = true;
|
|
53548
53423
|
} catch {}
|
|
53549
53424
|
}
|
|
53550
53425
|
}
|
|
@@ -53584,17 +53459,17 @@ async function gracefulShutdown(exitCode = 0, reason = "other", options) {
|
|
|
53584
53459
|
return;
|
|
53585
53460
|
}
|
|
53586
53461
|
shutdownInProgress = true;
|
|
53587
|
-
const { executeSessionEndHooks, getSessionEndHookTimeoutMs } = await import("./chunk-
|
|
53462
|
+
const { executeSessionEndHooks, getSessionEndHookTimeoutMs } = await import("./chunk-zwf7wj14.js");
|
|
53588
53463
|
const sessionEndTimeoutMs = getSessionEndHookTimeoutMs();
|
|
53589
53464
|
failsafeTimer = setTimeout((code) => {
|
|
53590
53465
|
cleanupTerminalModes();
|
|
53591
|
-
|
|
53466
|
+
printExitBoundary();
|
|
53592
53467
|
forceExit(code);
|
|
53593
53468
|
}, Math.max(5000, sessionEndTimeoutMs + 3500), exitCode);
|
|
53594
53469
|
failsafeTimer.unref();
|
|
53595
53470
|
process.exitCode = exitCode;
|
|
53596
53471
|
cleanupTerminalModes();
|
|
53597
|
-
|
|
53472
|
+
printExitBoundary({ expectFinalMessage: Boolean(options?.finalMessage) });
|
|
53598
53473
|
let cleanupTimeoutId;
|
|
53599
53474
|
try {
|
|
53600
53475
|
const cleanupPromise = (async () => {
|
|
@@ -53643,7 +53518,7 @@ async function gracefulShutdown(exitCode = 0, reason = "other", options) {
|
|
|
53643
53518
|
}
|
|
53644
53519
|
forceExit(exitCode);
|
|
53645
53520
|
}
|
|
53646
|
-
var resumeHintPrinted = false, setupGracefulShutdown, shutdownInProgress = false, failsafeTimer, orphanCheckInterval, pendingShutdown, CleanupTimeoutError;
|
|
53521
|
+
var resumeHintPrinted = false, exitBoundaryPrinted = false, setupGracefulShutdown, shutdownInProgress = false, failsafeTimer, orphanCheckInterval, pendingShutdown, CleanupTimeoutError;
|
|
53647
53522
|
var init_gracefulShutdown = __esm(() => {
|
|
53648
53523
|
init_source();
|
|
53649
53524
|
init_memoize();
|
|
@@ -54000,7 +53875,7 @@ var init_syncCache = __esm(() => {
|
|
|
54000
53875
|
|
|
54001
53876
|
// src/services/remoteManagedSettings/types.ts
|
|
54002
53877
|
var RemoteManagedSettingsResponseSchema;
|
|
54003
|
-
var
|
|
53878
|
+
var init_types7 = __esm(() => {
|
|
54004
53879
|
init_v4();
|
|
54005
53880
|
init_lazySchema();
|
|
54006
53881
|
RemoteManagedSettingsResponseSchema = lazySchema(() => exports_external.object({
|
|
@@ -54358,7 +54233,7 @@ var init_remoteManagedSettings = __esm(() => {
|
|
|
54358
54233
|
init_securityCheck();
|
|
54359
54234
|
init_syncCache();
|
|
54360
54235
|
init_syncCacheState();
|
|
54361
|
-
|
|
54236
|
+
init_types7();
|
|
54362
54237
|
POLLING_INTERVAL_MS = 60 * 60 * 1000;
|
|
54363
54238
|
});
|
|
54364
54239
|
|
|
@@ -54368,7 +54243,7 @@ async function performLogout({
|
|
|
54368
54243
|
}) {
|
|
54369
54244
|
const {
|
|
54370
54245
|
flushTelemetry
|
|
54371
|
-
} = await import("./chunk-
|
|
54246
|
+
} = await import("./chunk-93ezcy89.js");
|
|
54372
54247
|
await flushTelemetry();
|
|
54373
54248
|
await removeApiKey();
|
|
54374
54249
|
const secureStorage = getSecureStorage();
|
|
@@ -54928,9 +54803,9 @@ async function assertMinVersion() {
|
|
|
54928
54803
|
}
|
|
54929
54804
|
try {
|
|
54930
54805
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
54931
|
-
if (versionConfig.minVersion && lt("1.0.3-fork.
|
|
54806
|
+
if (versionConfig.minVersion && lt("1.0.3-fork.d431a23", versionConfig.minVersion)) {
|
|
54932
54807
|
console.error(`
|
|
54933
|
-
It looks like your version of Claude Code (${"1.0.3-fork.
|
|
54808
|
+
It looks like your version of Claude Code (${"1.0.3-fork.d431a23"}) needs an update.
|
|
54934
54809
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
54935
54810
|
|
|
54936
54811
|
To update, please run:
|
|
@@ -55146,7 +55021,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
55146
55021
|
logError(new AutoUpdaterError("Another process is currently installing an update"));
|
|
55147
55022
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
55148
55023
|
pid: process.pid,
|
|
55149
|
-
currentVersion: "1.0.3-fork.
|
|
55024
|
+
currentVersion: "1.0.3-fork.d431a23"
|
|
55150
55025
|
});
|
|
55151
55026
|
return "in_progress";
|
|
55152
55027
|
}
|
|
@@ -55155,7 +55030,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
55155
55030
|
if (!env.isRunningWithBun() && env.isNpmFromWindowsPath()) {
|
|
55156
55031
|
logError(new Error("Windows NPM detected in WSL environment"));
|
|
55157
55032
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
55158
|
-
currentVersion: "1.0.3-fork.
|
|
55033
|
+
currentVersion: "1.0.3-fork.d431a23"
|
|
55159
55034
|
});
|
|
55160
55035
|
console.error(`
|
|
55161
55036
|
Error: Windows NPM detected in WSL
|
|
@@ -55469,7 +55344,7 @@ function ripGrepRaw(args, target, abortSignal, callback, singleThread = false) {
|
|
|
55469
55344
|
child.kill();
|
|
55470
55345
|
} else {
|
|
55471
55346
|
child.kill("SIGTERM");
|
|
55472
|
-
killTimeoutId = setTimeout((
|
|
55347
|
+
killTimeoutId = setTimeout((c) => c.kill("SIGKILL"), 5000, child);
|
|
55473
55348
|
}
|
|
55474
55349
|
}, timeout);
|
|
55475
55350
|
let settled = false;
|
|
@@ -56038,7 +55913,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
56038
55913
|
}
|
|
56039
55914
|
async function getDoctorDiagnostic() {
|
|
56040
55915
|
const installationType = await getCurrentInstallationType();
|
|
56041
|
-
const version = typeof MACRO !== "undefined" ? "1.0.3-fork.
|
|
55916
|
+
const version = typeof MACRO !== "undefined" ? "1.0.3-fork.d431a23" : "unknown";
|
|
56042
55917
|
const installationPath = await getInstallationPath();
|
|
56043
55918
|
const invokedBinary = getInvokedBinary();
|
|
56044
55919
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -56329,7 +56204,7 @@ async function downloadAndVerifyBinary(binaryUrl, expectedChecksum, binaryPath,
|
|
|
56329
56204
|
};
|
|
56330
56205
|
const resetStallTimer = () => {
|
|
56331
56206
|
clearStallTimer();
|
|
56332
|
-
stallTimer = setTimeout((
|
|
56207
|
+
stallTimer = setTimeout((c) => c.abort(), getStallTimeoutMs(), controller);
|
|
56333
56208
|
};
|
|
56334
56209
|
try {
|
|
56335
56210
|
resetStallTimer();
|
|
@@ -56975,8 +56850,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
56975
56850
|
const maxVersion = await getMaxVersion();
|
|
56976
56851
|
if (maxVersion && gt(version, maxVersion)) {
|
|
56977
56852
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version} to ${maxVersion}`);
|
|
56978
|
-
if (gte("1.0.3-fork.
|
|
56979
|
-
logForDebugging(`Native installer: current version ${"1.0.3-fork.
|
|
56853
|
+
if (gte("1.0.3-fork.d431a23", maxVersion)) {
|
|
56854
|
+
logForDebugging(`Native installer: current version ${"1.0.3-fork.d431a23"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
56980
56855
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
56981
56856
|
latency_ms: Date.now() - startTime,
|
|
56982
56857
|
max_version: maxVersion,
|
|
@@ -56987,7 +56862,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
56987
56862
|
version = maxVersion;
|
|
56988
56863
|
}
|
|
56989
56864
|
}
|
|
56990
|
-
if (!forceReinstall && version === "1.0.3-fork.
|
|
56865
|
+
if (!forceReinstall && version === "1.0.3-fork.d431a23" && await versionIsAvailable(version) && await isPossibleClaudeBinary(executablePath)) {
|
|
56991
56866
|
logForDebugging(`Found ${version} at ${executablePath}, skipping install`);
|
|
56992
56867
|
logEvent("tengu_native_update_complete", {
|
|
56993
56868
|
latency_ms: Date.now() - startTime,
|
|
@@ -61704,7 +61579,7 @@ class HighlightSegmenter {
|
|
|
61704
61579
|
}
|
|
61705
61580
|
}
|
|
61706
61581
|
function reduceCodes(codes) {
|
|
61707
|
-
return reduceAnsiCodes(codes).filter((
|
|
61582
|
+
return reduceAnsiCodes(codes).filter((c) => c.code !== c.endCode);
|
|
61708
61583
|
}
|
|
61709
61584
|
var init_textHighlighting = __esm(() => {
|
|
61710
61585
|
init_build();
|
|
@@ -62092,29 +61967,29 @@ function hueToRgb(hue) {
|
|
|
62092
61967
|
const h = (hue % 360 + 360) % 360;
|
|
62093
61968
|
const s = 0.7;
|
|
62094
61969
|
const l = 0.6;
|
|
62095
|
-
const
|
|
62096
|
-
const x2 =
|
|
62097
|
-
const m2 = l -
|
|
61970
|
+
const c = (1 - Math.abs(2 * l - 1)) * s;
|
|
61971
|
+
const x2 = c * (1 - Math.abs(h / 60 % 2 - 1));
|
|
61972
|
+
const m2 = l - c / 2;
|
|
62098
61973
|
let r = 0;
|
|
62099
61974
|
let g2 = 0;
|
|
62100
61975
|
let b2 = 0;
|
|
62101
61976
|
if (h < 60) {
|
|
62102
|
-
r =
|
|
61977
|
+
r = c;
|
|
62103
61978
|
g2 = x2;
|
|
62104
61979
|
} else if (h < 120) {
|
|
62105
61980
|
r = x2;
|
|
62106
|
-
g2 =
|
|
61981
|
+
g2 = c;
|
|
62107
61982
|
} else if (h < 180) {
|
|
62108
|
-
g2 =
|
|
61983
|
+
g2 = c;
|
|
62109
61984
|
b2 = x2;
|
|
62110
61985
|
} else if (h < 240) {
|
|
62111
61986
|
g2 = x2;
|
|
62112
|
-
b2 =
|
|
61987
|
+
b2 = c;
|
|
62113
61988
|
} else if (h < 300) {
|
|
62114
61989
|
r = x2;
|
|
62115
|
-
b2 =
|
|
61990
|
+
b2 = c;
|
|
62116
61991
|
} else {
|
|
62117
|
-
r =
|
|
61992
|
+
r = c;
|
|
62118
61993
|
b2 = x2;
|
|
62119
61994
|
}
|
|
62120
61995
|
return {
|
|
@@ -63017,8 +62892,8 @@ function SelectInputOption(t0) {
|
|
|
63017
62892
|
}
|
|
63018
62893
|
return t38;
|
|
63019
62894
|
}
|
|
63020
|
-
function _temp3(
|
|
63021
|
-
return
|
|
62895
|
+
function _temp3(c) {
|
|
62896
|
+
return c.type === "image";
|
|
63022
62897
|
}
|
|
63023
62898
|
var import_compiler_runtime18, import_react16, jsx_dev_runtime22;
|
|
63024
62899
|
var init_select_input_option = __esm(() => {
|
|
@@ -64451,8 +64326,8 @@ function _temp33() {
|
|
|
64451
64326
|
flexDirection: "column"
|
|
64452
64327
|
};
|
|
64453
64328
|
}
|
|
64454
|
-
function _temp23(
|
|
64455
|
-
return
|
|
64329
|
+
function _temp23(c) {
|
|
64330
|
+
return c.type === "image";
|
|
64456
64331
|
}
|
|
64457
64332
|
function _temp10(c_0) {
|
|
64458
64333
|
return c_0.type === "image";
|
|
@@ -65332,7 +65207,7 @@ var init_TaskListV2 = __esm(() => {
|
|
|
65332
65207
|
init_stringWidth();
|
|
65333
65208
|
init_ink();
|
|
65334
65209
|
init_AppState();
|
|
65335
|
-
|
|
65210
|
+
init_types5();
|
|
65336
65211
|
init_agentColorManager();
|
|
65337
65212
|
init_agentSwarmsEnabled();
|
|
65338
65213
|
init_array();
|
|
@@ -66372,7 +66247,7 @@ function isBackgroundTask(task) {
|
|
|
66372
66247
|
}
|
|
66373
66248
|
return true;
|
|
66374
66249
|
}
|
|
66375
|
-
var
|
|
66250
|
+
var init_types8 = () => {};
|
|
66376
66251
|
|
|
66377
66252
|
// src/constants/turnCompletionVerbs.ts
|
|
66378
66253
|
var TURN_COMPLETION_VERBS;
|
|
@@ -66644,7 +66519,7 @@ var init_InProcessTeammateTask = __esm(() => {
|
|
|
66644
66519
|
init_messages2();
|
|
66645
66520
|
init_spawnInProcess();
|
|
66646
66521
|
init_framework();
|
|
66647
|
-
|
|
66522
|
+
init_types5();
|
|
66648
66523
|
InProcessTeammateTask = {
|
|
66649
66524
|
name: "InProcessTeammateTask",
|
|
66650
66525
|
type: "in_process_teammate",
|
|
@@ -67699,8 +67574,8 @@ var init_Spinner2 = __esm(() => {
|
|
|
67699
67574
|
init_Spinner();
|
|
67700
67575
|
init_SpinnerAnimationRow();
|
|
67701
67576
|
init_useSettings();
|
|
67702
|
-
|
|
67703
|
-
|
|
67577
|
+
init_types5();
|
|
67578
|
+
init_types8();
|
|
67704
67579
|
init_InProcessTeammateTask();
|
|
67705
67580
|
init_effort();
|
|
67706
67581
|
init_model();
|
|
@@ -70220,12 +70095,12 @@ async function computeDiffStatsForFile(originalFile, backupFileName) {
|
|
|
70220
70095
|
}
|
|
70221
70096
|
filesChanged.push(originalFile);
|
|
70222
70097
|
const changes = diffLines(originalContent ?? "", backupContent ?? "");
|
|
70223
|
-
changes.forEach((
|
|
70224
|
-
if (
|
|
70225
|
-
insertions +=
|
|
70098
|
+
changes.forEach((c) => {
|
|
70099
|
+
if (c.added) {
|
|
70100
|
+
insertions += c.count || 0;
|
|
70226
70101
|
}
|
|
70227
|
-
if (
|
|
70228
|
-
deletions +=
|
|
70102
|
+
if (c.removed) {
|
|
70103
|
+
deletions += c.count || 0;
|
|
70229
70104
|
}
|
|
70230
70105
|
});
|
|
70231
70106
|
} catch (error) {
|
|
@@ -74582,7 +74457,7 @@ var init_extra_usage = __esm(() => {
|
|
|
74582
74457
|
name: "extra-usage",
|
|
74583
74458
|
description: "Configure extra usage to keep working when limits are hit",
|
|
74584
74459
|
isEnabled: () => isExtraUsageAllowed() && !getIsNonInteractiveSession(),
|
|
74585
|
-
load: () => import("./chunk-
|
|
74460
|
+
load: () => import("./chunk-151d156v.js")
|
|
74586
74461
|
};
|
|
74587
74462
|
extraUsageNonInteractive = {
|
|
74588
74463
|
type: "local",
|
|
@@ -74593,7 +74468,7 @@ var init_extra_usage = __esm(() => {
|
|
|
74593
74468
|
get isHidden() {
|
|
74594
74469
|
return !getIsNonInteractiveSession();
|
|
74595
74470
|
},
|
|
74596
|
-
load: () => import("./chunk-
|
|
74471
|
+
load: () => import("./chunk-s14mafmw.js")
|
|
74597
74472
|
};
|
|
74598
74473
|
});
|
|
74599
74474
|
|
|
@@ -81663,7 +81538,7 @@ function CollapsedReadSearchContent({
|
|
|
81663
81538
|
"cherry-picked": "cherry-picked"
|
|
81664
81539
|
};
|
|
81665
81540
|
for (const kind of ["committed", "amended", "cherry-picked"]) {
|
|
81666
|
-
const shas = message.commits.filter((
|
|
81541
|
+
const shas = message.commits.filter((c) => c.kind === kind).map((c_0) => c_0.sha);
|
|
81667
81542
|
if (shas.length) {
|
|
81668
81543
|
pushPart(kind, byKind[kind], /* @__PURE__ */ jsx_dev_runtime75.jsxDEV(ThemedText, {
|
|
81669
81544
|
bold: true,
|
|
@@ -83389,7 +83264,7 @@ var init_SystemTextMessage = __esm(() => {
|
|
|
83389
83264
|
init_ThemedText();
|
|
83390
83265
|
init_CtrlOToExpand();
|
|
83391
83266
|
init_AppState();
|
|
83392
|
-
|
|
83267
|
+
init_types8();
|
|
83393
83268
|
init_pillLabel();
|
|
83394
83269
|
init_messageActions();
|
|
83395
83270
|
import_compiler_runtime69 = __toESM(require_compiler_runtime(), 1);
|
|
@@ -84629,7 +84504,7 @@ function renderToolUseMessage3({
|
|
|
84629
84504
|
if (!skill) {
|
|
84630
84505
|
return null;
|
|
84631
84506
|
}
|
|
84632
|
-
const command = commands?.find((
|
|
84507
|
+
const command = commands?.find((c) => c.name === skill);
|
|
84633
84508
|
const displayName = command?.loadedFrom === "commands_DEPRECATED" ? `/${skill}` : skill;
|
|
84634
84509
|
return displayName;
|
|
84635
84510
|
}
|
|
@@ -84809,7 +84684,7 @@ async function executeForkedSkill(command, commandName, args, context, canUseToo
|
|
|
84809
84684
|
const normalizedNew = normalizeMessages([message]);
|
|
84810
84685
|
for (const m2 of normalizedNew) {
|
|
84811
84686
|
const contentArray = m2.message?.content;
|
|
84812
|
-
const hasToolContent = Array.isArray(contentArray) && contentArray.some((
|
|
84687
|
+
const hasToolContent = Array.isArray(contentArray) && contentArray.some((c) => c.type === "tool_use" || c.type === "tool_result");
|
|
84813
84688
|
if (hasToolContent) {
|
|
84814
84689
|
onProgress({
|
|
84815
84690
|
toolUseID: `skill_${parentMessage.message.id}`,
|
|
@@ -85063,7 +84938,7 @@ var init_SkillTool = __esm(() => {
|
|
|
85063
84938
|
if (command?.type === "prompt" && command.context === "fork") {
|
|
85064
84939
|
return executeForkedSkill(command, commandName, args, context, canUseTool, parentMessage, onProgress);
|
|
85065
84940
|
}
|
|
85066
|
-
const { processPromptSlashCommand } = await import("./chunk-
|
|
84941
|
+
const { processPromptSlashCommand } = await import("./chunk-35dacgyn.js");
|
|
85067
84942
|
const processedCommand = await processPromptSlashCommand(commandName, args || "", commands, context);
|
|
85068
84943
|
if (!processedCommand.shouldQuery) {
|
|
85069
84944
|
throw new Error("Command processing failed");
|
|
@@ -90408,7 +90283,7 @@ var init_semanticBoolean = __esm(() => {
|
|
|
90408
90283
|
|
|
90409
90284
|
// src/tools/FileEditTool/types.ts
|
|
90410
90285
|
var inputSchema5, hunkSchema, gitDiffSchema, outputSchema5;
|
|
90411
|
-
var
|
|
90286
|
+
var init_types9 = __esm(() => {
|
|
90412
90287
|
init_v4();
|
|
90413
90288
|
init_lazySchema();
|
|
90414
90289
|
init_semanticBoolean();
|
|
@@ -90676,7 +90551,7 @@ function detectColorMode(theme) {
|
|
|
90676
90551
|
return ct === "truecolor" || ct === "24bit" ? "truecolor" : "color256";
|
|
90677
90552
|
}
|
|
90678
90553
|
function ansi256FromRgb(r, g2, b2) {
|
|
90679
|
-
const q2 = (
|
|
90554
|
+
const q2 = (c) => c < 48 ? 0 : c < 115 ? 1 : c < 155 ? 2 : c < 195 ? 3 : c < 235 ? 4 : 5;
|
|
90680
90555
|
const qr = q2(r);
|
|
90681
90556
|
const qg = q2(g2);
|
|
90682
90557
|
const qb = q2(b2);
|
|
@@ -90696,22 +90571,22 @@ function ansi256FromRgb(r, g2, b2) {
|
|
|
90696
90571
|
const dGrey = (r - greyRgb) ** 2 + (g2 - greyRgb) ** 2 + (b2 - greyRgb) ** 2;
|
|
90697
90572
|
return dGrey < dCube ? greyIdx : cubeIdx;
|
|
90698
90573
|
}
|
|
90699
|
-
function colorToEscape(
|
|
90700
|
-
if (
|
|
90701
|
-
const idx =
|
|
90574
|
+
function colorToEscape(c, fg, mode) {
|
|
90575
|
+
if (c.a === 0) {
|
|
90576
|
+
const idx = c.r;
|
|
90702
90577
|
if (idx < 8)
|
|
90703
90578
|
return `\x1B[${(fg ? 30 : 40) + idx}m`;
|
|
90704
90579
|
if (idx < 16)
|
|
90705
90580
|
return `\x1B[${(fg ? 90 : 100) + (idx - 8)}m`;
|
|
90706
90581
|
return `\x1B[${fg ? 38 : 48};5;${idx}m`;
|
|
90707
90582
|
}
|
|
90708
|
-
if (
|
|
90583
|
+
if (c.a === 1)
|
|
90709
90584
|
return fg ? "\x1B[39m" : "\x1B[49m";
|
|
90710
90585
|
const codeType = fg ? 38 : 48;
|
|
90711
90586
|
if (mode === "truecolor") {
|
|
90712
|
-
return `\x1B[${codeType};2;${
|
|
90587
|
+
return `\x1B[${codeType};2;${c.r};${c.g};${c.b}m`;
|
|
90713
90588
|
}
|
|
90714
|
-
return `\x1B[${codeType};5;${ansi256FromRgb(
|
|
90589
|
+
return `\x1B[${codeType};5;${ansi256FromRgb(c.r, c.g, c.b)}m`;
|
|
90715
90590
|
}
|
|
90716
90591
|
function asTerminalEscaped(blocks, mode, skipBackground, dim) {
|
|
90717
90592
|
let out = dim ? RESET + DIM : RESET;
|
|
@@ -93070,7 +92945,7 @@ var init_FileEditTool = __esm(() => {
|
|
|
93070
92945
|
init_constants6();
|
|
93071
92946
|
init_constants5();
|
|
93072
92947
|
init_prompt19();
|
|
93073
|
-
|
|
92948
|
+
init_types9();
|
|
93074
92949
|
init_UI3();
|
|
93075
92950
|
init_utils();
|
|
93076
92951
|
MAX_EDIT_FILE_SIZE = 1024 * 1024 * 1024;
|
|
@@ -93924,7 +93799,7 @@ var init_FileWriteTool = __esm(() => {
|
|
|
93924
93799
|
init_filesystem();
|
|
93925
93800
|
init_shellRuleMatching();
|
|
93926
93801
|
init_constants5();
|
|
93927
|
-
|
|
93802
|
+
init_types9();
|
|
93928
93803
|
init_prompt6();
|
|
93929
93804
|
init_UI4();
|
|
93930
93805
|
inputSchema6 = lazySchema(() => exports_external.strictObject({
|
|
@@ -96974,7 +96849,7 @@ async function readNotebook(notebookPath, cellId) {
|
|
|
96974
96849
|
const notebook = jsonParse(content);
|
|
96975
96850
|
const language = notebook.metadata.language_info?.name ?? "python";
|
|
96976
96851
|
if (cellId) {
|
|
96977
|
-
const cell = notebook.cells.find((
|
|
96852
|
+
const cell = notebook.cells.find((c) => c.id === cellId);
|
|
96978
96853
|
if (!cell) {
|
|
96979
96854
|
throw new Error(`Cell with ID "${cellId}" not found in notebook`);
|
|
96980
96855
|
}
|
|
@@ -98092,14 +97967,14 @@ function collectCandidatesByMessage(messages) {
|
|
|
98092
97967
|
return groups;
|
|
98093
97968
|
}
|
|
98094
97969
|
function partitionByPriorDecision(candidates, state) {
|
|
98095
|
-
return candidates.reduce((acc,
|
|
98096
|
-
const replacement = state.replacements.get(
|
|
97970
|
+
return candidates.reduce((acc, c) => {
|
|
97971
|
+
const replacement = state.replacements.get(c.toolUseId);
|
|
98097
97972
|
if (replacement !== undefined) {
|
|
98098
|
-
acc.mustReapply.push({ ...
|
|
98099
|
-
} else if (state.seenIds.has(
|
|
98100
|
-
acc.frozen.push(
|
|
97973
|
+
acc.mustReapply.push({ ...c, replacement });
|
|
97974
|
+
} else if (state.seenIds.has(c.toolUseId)) {
|
|
97975
|
+
acc.frozen.push(c);
|
|
98101
97976
|
} else {
|
|
98102
|
-
acc.fresh.push(
|
|
97977
|
+
acc.fresh.push(c);
|
|
98103
97978
|
}
|
|
98104
97979
|
return acc;
|
|
98105
97980
|
}, { mustReapply: [], frozen: [], fresh: [] });
|
|
@@ -98107,12 +97982,12 @@ function partitionByPriorDecision(candidates, state) {
|
|
|
98107
97982
|
function selectFreshToReplace(fresh, frozenSize, limit) {
|
|
98108
97983
|
const sorted = [...fresh].sort((a, b2) => b2.size - a.size);
|
|
98109
97984
|
const selected = [];
|
|
98110
|
-
let remaining = frozenSize + fresh.reduce((sum,
|
|
98111
|
-
for (const
|
|
97985
|
+
let remaining = frozenSize + fresh.reduce((sum, c) => sum + c.size, 0);
|
|
97986
|
+
for (const c of sorted) {
|
|
98112
97987
|
if (remaining <= limit)
|
|
98113
97988
|
break;
|
|
98114
|
-
selected.push(
|
|
98115
|
-
remaining -=
|
|
97989
|
+
selected.push(c);
|
|
97990
|
+
remaining -= c.size;
|
|
98116
97991
|
}
|
|
98117
97992
|
return selected;
|
|
98118
97993
|
}
|
|
@@ -98159,20 +98034,20 @@ async function enforceToolResultBudget(messages, state, skipToolNames = new Set)
|
|
|
98159
98034
|
let messagesOverBudget = 0;
|
|
98160
98035
|
for (const candidates of candidatesByMessage) {
|
|
98161
98036
|
const { mustReapply, frozen, fresh } = partitionByPriorDecision(candidates, state);
|
|
98162
|
-
mustReapply.forEach((
|
|
98037
|
+
mustReapply.forEach((c) => replacementMap.set(c.toolUseId, c.replacement));
|
|
98163
98038
|
reappliedCount += mustReapply.length;
|
|
98164
98039
|
if (fresh.length === 0) {
|
|
98165
|
-
candidates.forEach((
|
|
98040
|
+
candidates.forEach((c) => state.seenIds.add(c.toolUseId));
|
|
98166
98041
|
continue;
|
|
98167
98042
|
}
|
|
98168
|
-
const skipped = fresh.filter((
|
|
98169
|
-
skipped.forEach((
|
|
98170
|
-
const eligible = fresh.filter((
|
|
98171
|
-
const frozenSize = frozen.reduce((sum,
|
|
98172
|
-
const freshSize = eligible.reduce((sum,
|
|
98043
|
+
const skipped = fresh.filter((c) => shouldSkip(c.toolUseId));
|
|
98044
|
+
skipped.forEach((c) => state.seenIds.add(c.toolUseId));
|
|
98045
|
+
const eligible = fresh.filter((c) => !shouldSkip(c.toolUseId));
|
|
98046
|
+
const frozenSize = frozen.reduce((sum, c) => sum + c.size, 0);
|
|
98047
|
+
const freshSize = eligible.reduce((sum, c) => sum + c.size, 0);
|
|
98173
98048
|
const selected = frozenSize + freshSize > limit ? selectFreshToReplace(eligible, frozenSize, limit) : [];
|
|
98174
|
-
const selectedIds = new Set(selected.map((
|
|
98175
|
-
candidates.filter((
|
|
98049
|
+
const selectedIds = new Set(selected.map((c) => c.toolUseId));
|
|
98050
|
+
candidates.filter((c) => !selectedIds.has(c.toolUseId)).forEach((c) => state.seenIds.add(c.toolUseId));
|
|
98176
98051
|
if (selected.length === 0)
|
|
98177
98052
|
continue;
|
|
98178
98053
|
messagesOverBudget++;
|
|
@@ -98181,7 +98056,7 @@ async function enforceToolResultBudget(messages, state, skipToolNames = new Set)
|
|
|
98181
98056
|
if (replacementMap.size === 0 && toPersist.length === 0) {
|
|
98182
98057
|
return { messages, newlyReplaced: [] };
|
|
98183
98058
|
}
|
|
98184
|
-
const freshReplacements = await Promise.all(toPersist.map(async (
|
|
98059
|
+
const freshReplacements = await Promise.all(toPersist.map(async (c) => [c, await buildReplacement(c)]));
|
|
98185
98060
|
const newlyReplaced = [];
|
|
98186
98061
|
let replacedSize = 0;
|
|
98187
98062
|
for (const [candidate, replacement] of freshReplacements) {
|
|
@@ -98231,7 +98106,7 @@ async function applyToolResultBudget(messages, state, writeToTranscript, skipToo
|
|
|
98231
98106
|
}
|
|
98232
98107
|
function reconstructContentReplacementState(messages, records, inheritedReplacements) {
|
|
98233
98108
|
const state = createContentReplacementState();
|
|
98234
|
-
const candidateIds = new Set(collectCandidatesByMessage(messages).flat().map((
|
|
98109
|
+
const candidateIds = new Set(collectCandidatesByMessage(messages).flat().map((c) => c.toolUseId));
|
|
98235
98110
|
for (const id of candidateIds) {
|
|
98236
98111
|
state.seenIds.add(id);
|
|
98237
98112
|
}
|
|
@@ -98569,7 +98444,7 @@ async function getURLMarkdownContent(url2, abortController) {
|
|
|
98569
98444
|
}
|
|
98570
98445
|
const hostname = parsedUrl.hostname;
|
|
98571
98446
|
const settings = getSettings_DEPRECATED();
|
|
98572
|
-
if (
|
|
98447
|
+
if (settings.skipWebFetchPreflight === false) {
|
|
98573
98448
|
const checkResult = await checkDomainBlocklist(hostname);
|
|
98574
98449
|
switch (checkResult.status) {
|
|
98575
98450
|
case "allowed":
|
|
@@ -98965,7 +98840,7 @@ async function listCandidates(projectDir, doStat, projectPath) {
|
|
|
98965
98840
|
return null;
|
|
98966
98841
|
}
|
|
98967
98842
|
}));
|
|
98968
|
-
return results.filter((
|
|
98843
|
+
return results.filter((c) => c !== null);
|
|
98969
98844
|
}
|
|
98970
98845
|
var init_listSessionsImpl = __esm(() => {
|
|
98971
98846
|
init_getWorktreePathsPortable();
|
|
@@ -99031,7 +98906,7 @@ async function rollbackConsolidationLock(priorMtime) {
|
|
|
99031
98906
|
async function listSessionsTouchedSince(sinceMs) {
|
|
99032
98907
|
const dir = getProjectDir(getOriginalCwd());
|
|
99033
98908
|
const candidates = await listCandidates(dir, true);
|
|
99034
|
-
return candidates.filter((
|
|
98909
|
+
return candidates.filter((c) => c.mtime > sinceMs).map((c) => c.sessionId);
|
|
99035
98910
|
}
|
|
99036
98911
|
var LOCK_FILE = ".consolidate-lock", HOLDER_STALE_MS;
|
|
99037
98912
|
var init_consolidationLock = __esm(() => {
|
|
@@ -99992,9 +99867,9 @@ function processProgressMessages(messages, tools, isAgentRunning) {
|
|
|
99992
99867
|
const toolUseByID = new Map;
|
|
99993
99868
|
for (const msg of agentMessages) {
|
|
99994
99869
|
if (msg.data.message.type === "assistant") {
|
|
99995
|
-
for (const
|
|
99996
|
-
if (
|
|
99997
|
-
toolUseByID.set(
|
|
99870
|
+
for (const c of msg.data.message.message.content) {
|
|
99871
|
+
if (c.type === "tool_use") {
|
|
99872
|
+
toolUseByID.set(c.id, c);
|
|
99998
99873
|
}
|
|
99999
99874
|
}
|
|
100000
99875
|
}
|
|
@@ -100775,9 +100650,9 @@ function extractLastToolInfo(progressMessages, tools) {
|
|
|
100775
100650
|
continue;
|
|
100776
100651
|
}
|
|
100777
100652
|
if (pm.data.message.type === "assistant") {
|
|
100778
|
-
for (const
|
|
100779
|
-
if (
|
|
100780
|
-
toolUseByID.set(
|
|
100653
|
+
for (const c of pm.data.message.message.content) {
|
|
100654
|
+
if (c.type === "tool_use") {
|
|
100655
|
+
toolUseByID.set(c.id, c);
|
|
100781
100656
|
}
|
|
100782
100657
|
}
|
|
100783
100658
|
}
|
|
@@ -100810,10 +100685,10 @@ function extractLastToolInfo(progressMessages, tools) {
|
|
|
100810
100685
|
return false;
|
|
100811
100686
|
}
|
|
100812
100687
|
const message = msg.data.message;
|
|
100813
|
-
return message.type === "user" && message.message.content.some((
|
|
100688
|
+
return message.type === "user" && message.message.content.some((c) => c.type === "tool_result");
|
|
100814
100689
|
});
|
|
100815
100690
|
if (lastToolResult?.data.message.type === "user") {
|
|
100816
|
-
const toolResultBlock = lastToolResult.data.message.message.content.find((
|
|
100691
|
+
const toolResultBlock = lastToolResult.data.message.message.content.find((c) => c.type === "tool_result");
|
|
100817
100692
|
if (toolResultBlock?.type === "tool_result") {
|
|
100818
100693
|
const toolUseBlock = toolUseByID.get(toolResultBlock.tool_use_id);
|
|
100819
100694
|
if (toolUseBlock) {
|
|
@@ -101560,6 +101435,394 @@ ${content.trimEnd()}
|
|
|
101560
101435
|
});
|
|
101561
101436
|
});
|
|
101562
101437
|
|
|
101438
|
+
// node_modules/.bun/he@1.2.0/node_modules/he/he.js
|
|
101439
|
+
var require_he = __commonJS((exports, module) => {
|
|
101440
|
+
/*! https://mths.be/he v1.2.0 by @mathias | MIT license */
|
|
101441
|
+
(function(root) {
|
|
101442
|
+
var freeExports = typeof exports == "object" && exports;
|
|
101443
|
+
var freeModule = typeof module == "object" && module && exports == freeExports && module;
|
|
101444
|
+
var freeGlobal = typeof global == "object" && global;
|
|
101445
|
+
if (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal) {
|
|
101446
|
+
root = freeGlobal;
|
|
101447
|
+
}
|
|
101448
|
+
var regexAstralSymbols = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
|
|
101449
|
+
var regexAsciiWhitelist = /[\x01-\x7F]/g;
|
|
101450
|
+
var regexBmpWhitelist = /[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g;
|
|
101451
|
+
var regexEncodeNonAscii = /<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g;
|
|
101452
|
+
var encodeMap = { "\xAD": "shy", "\u200C": "zwnj", "\u200D": "zwj", "\u200E": "lrm", "\u2063": "ic", "\u2062": "it", "\u2061": "af", "\u200F": "rlm", "\u200B": "ZeroWidthSpace", "\u2060": "NoBreak", "\u0311": "DownBreve", "\u20DB": "tdot", "\u20DC": "DotDot", "\t": "Tab", "\n": "NewLine", "\u2008": "puncsp", "\u205F": "MediumSpace", "\u2009": "thinsp", "\u200A": "hairsp", "\u2004": "emsp13", "\u2002": "ensp", "\u2005": "emsp14", "\u2003": "emsp", "\u2007": "numsp", "\xA0": "nbsp", "\u205F\u200A": "ThickSpace", "\u203E": "oline", _: "lowbar", "\u2010": "dash", "\u2013": "ndash", "\u2014": "mdash", "\u2015": "horbar", ",": "comma", ";": "semi", "\u204F": "bsemi", ":": "colon", "\u2A74": "Colone", "!": "excl", "\xA1": "iexcl", "?": "quest", "\xBF": "iquest", ".": "period", "\u2025": "nldr", "\u2026": "mldr", "\xB7": "middot", "'": "apos", "\u2018": "lsquo", "\u2019": "rsquo", "\u201A": "sbquo", "\u2039": "lsaquo", "\u203A": "rsaquo", '"': "quot", "\u201C": "ldquo", "\u201D": "rdquo", "\u201E": "bdquo", "\xAB": "laquo", "\xBB": "raquo", "(": "lpar", ")": "rpar", "[": "lsqb", "]": "rsqb", "{": "lcub", "}": "rcub", "\u2308": "lceil", "\u2309": "rceil", "\u230A": "lfloor", "\u230B": "rfloor", "\u2985": "lopar", "\u2986": "ropar", "\u298B": "lbrke", "\u298C": "rbrke", "\u298D": "lbrkslu", "\u298E": "rbrksld", "\u298F": "lbrksld", "\u2990": "rbrkslu", "\u2991": "langd", "\u2992": "rangd", "\u2993": "lparlt", "\u2994": "rpargt", "\u2995": "gtlPar", "\u2996": "ltrPar", "\u27E6": "lobrk", "\u27E7": "robrk", "\u27E8": "lang", "\u27E9": "rang", "\u27EA": "Lang", "\u27EB": "Rang", "\u27EC": "loang", "\u27ED": "roang", "\u2772": "lbbrk", "\u2773": "rbbrk", "\u2016": "Vert", "\xA7": "sect", "\xB6": "para", "@": "commat", "*": "ast", "/": "sol", undefined: null, "&": "amp", "#": "num", "%": "percnt", "\u2030": "permil", "\u2031": "pertenk", "\u2020": "dagger", "\u2021": "Dagger", "\u2022": "bull", "\u2043": "hybull", "\u2032": "prime", "\u2033": "Prime", "\u2034": "tprime", "\u2057": "qprime", "\u2035": "bprime", "\u2041": "caret", "`": "grave", "\xB4": "acute", "\u02DC": "tilde", "^": "Hat", "\xAF": "macr", "\u02D8": "breve", "\u02D9": "dot", "\xA8": "die", "\u02DA": "ring", "\u02DD": "dblac", "\xB8": "cedil", "\u02DB": "ogon", "\u02C6": "circ", "\u02C7": "caron", "\xB0": "deg", "\xA9": "copy", "\xAE": "reg", "\u2117": "copysr", "\u2118": "wp", "\u211E": "rx", "\u2127": "mho", "\u2129": "iiota", "\u2190": "larr", "\u219A": "nlarr", "\u2192": "rarr", "\u219B": "nrarr", "\u2191": "uarr", "\u2193": "darr", "\u2194": "harr", "\u21AE": "nharr", "\u2195": "varr", "\u2196": "nwarr", "\u2197": "nearr", "\u2198": "searr", "\u2199": "swarr", "\u219D": "rarrw", "\u219D\u0338": "nrarrw", "\u219E": "Larr", "\u219F": "Uarr", "\u21A0": "Rarr", "\u21A1": "Darr", "\u21A2": "larrtl", "\u21A3": "rarrtl", "\u21A4": "mapstoleft", "\u21A5": "mapstoup", "\u21A6": "map", "\u21A7": "mapstodown", "\u21A9": "larrhk", "\u21AA": "rarrhk", "\u21AB": "larrlp", "\u21AC": "rarrlp", "\u21AD": "harrw", "\u21B0": "lsh", "\u21B1": "rsh", "\u21B2": "ldsh", "\u21B3": "rdsh", "\u21B5": "crarr", "\u21B6": "cularr", "\u21B7": "curarr", "\u21BA": "olarr", "\u21BB": "orarr", "\u21BC": "lharu", "\u21BD": "lhard", "\u21BE": "uharr", "\u21BF": "uharl", "\u21C0": "rharu", "\u21C1": "rhard", "\u21C2": "dharr", "\u21C3": "dharl", "\u21C4": "rlarr", "\u21C5": "udarr", "\u21C6": "lrarr", "\u21C7": "llarr", "\u21C8": "uuarr", "\u21C9": "rrarr", "\u21CA": "ddarr", "\u21CB": "lrhar", "\u21CC": "rlhar", "\u21D0": "lArr", "\u21CD": "nlArr", "\u21D1": "uArr", "\u21D2": "rArr", "\u21CF": "nrArr", "\u21D3": "dArr", "\u21D4": "iff", "\u21CE": "nhArr", "\u21D5": "vArr", "\u21D6": "nwArr", "\u21D7": "neArr", "\u21D8": "seArr", "\u21D9": "swArr", "\u21DA": "lAarr", "\u21DB": "rAarr", "\u21DD": "zigrarr", "\u21E4": "larrb", "\u21E5": "rarrb", "\u21F5": "duarr", "\u21FD": "loarr", "\u21FE": "roarr", "\u21FF": "hoarr", "\u2200": "forall", "\u2201": "comp", "\u2202": "part", "\u2202\u0338": "npart", "\u2203": "exist", "\u2204": "nexist", "\u2205": "empty", "\u2207": "Del", "\u2208": "in", "\u2209": "notin", "\u220B": "ni", "\u220C": "notni", "\u03F6": "bepsi", "\u220F": "prod", "\u2210": "coprod", "\u2211": "sum", "+": "plus", "\xB1": "pm", "\xF7": "div", "\xD7": "times", "<": "lt", "\u226E": "nlt", "<\u20D2": "nvlt", "=": "equals", "\u2260": "ne", "=\u20E5": "bne", "\u2A75": "Equal", ">": "gt", "\u226F": "ngt", ">\u20D2": "nvgt", "\xAC": "not", "|": "vert", "\xA6": "brvbar", "\u2212": "minus", "\u2213": "mp", "\u2214": "plusdo", "\u2044": "frasl", "\u2216": "setmn", "\u2217": "lowast", "\u2218": "compfn", "\u221A": "Sqrt", "\u221D": "prop", "\u221E": "infin", "\u221F": "angrt", "\u2220": "ang", "\u2220\u20D2": "nang", "\u2221": "angmsd", "\u2222": "angsph", "\u2223": "mid", "\u2224": "nmid", "\u2225": "par", "\u2226": "npar", "\u2227": "and", "\u2228": "or", "\u2229": "cap", "\u2229\uFE00": "caps", "\u222A": "cup", "\u222A\uFE00": "cups", "\u222B": "int", "\u222C": "Int", "\u222D": "tint", "\u2A0C": "qint", "\u222E": "oint", "\u222F": "Conint", "\u2230": "Cconint", "\u2231": "cwint", "\u2232": "cwconint", "\u2233": "awconint", "\u2234": "there4", "\u2235": "becaus", "\u2236": "ratio", "\u2237": "Colon", "\u2238": "minusd", "\u223A": "mDDot", "\u223B": "homtht", "\u223C": "sim", "\u2241": "nsim", "\u223C\u20D2": "nvsim", "\u223D": "bsim", "\u223D\u0331": "race", "\u223E": "ac", "\u223E\u0333": "acE", "\u223F": "acd", "\u2240": "wr", "\u2242": "esim", "\u2242\u0338": "nesim", "\u2243": "sime", "\u2244": "nsime", "\u2245": "cong", "\u2247": "ncong", "\u2246": "simne", "\u2248": "ap", "\u2249": "nap", "\u224A": "ape", "\u224B": "apid", "\u224B\u0338": "napid", "\u224C": "bcong", "\u224D": "CupCap", "\u226D": "NotCupCap", "\u224D\u20D2": "nvap", "\u224E": "bump", "\u224E\u0338": "nbump", "\u224F": "bumpe", "\u224F\u0338": "nbumpe", "\u2250": "doteq", "\u2250\u0338": "nedot", "\u2251": "eDot", "\u2252": "efDot", "\u2253": "erDot", "\u2254": "colone", "\u2255": "ecolon", "\u2256": "ecir", "\u2257": "cire", "\u2259": "wedgeq", "\u225A": "veeeq", "\u225C": "trie", "\u225F": "equest", "\u2261": "equiv", "\u2262": "nequiv", "\u2261\u20E5": "bnequiv", "\u2264": "le", "\u2270": "nle", "\u2264\u20D2": "nvle", "\u2265": "ge", "\u2271": "nge", "\u2265\u20D2": "nvge", "\u2266": "lE", "\u2266\u0338": "nlE", "\u2267": "gE", "\u2267\u0338": "ngE", "\u2268\uFE00": "lvnE", "\u2268": "lnE", "\u2269": "gnE", "\u2269\uFE00": "gvnE", "\u226A": "ll", "\u226A\u0338": "nLtv", "\u226A\u20D2": "nLt", "\u226B": "gg", "\u226B\u0338": "nGtv", "\u226B\u20D2": "nGt", "\u226C": "twixt", "\u2272": "lsim", "\u2274": "nlsim", "\u2273": "gsim", "\u2275": "ngsim", "\u2276": "lg", "\u2278": "ntlg", "\u2277": "gl", "\u2279": "ntgl", "\u227A": "pr", "\u2280": "npr", "\u227B": "sc", "\u2281": "nsc", "\u227C": "prcue", "\u22E0": "nprcue", "\u227D": "sccue", "\u22E1": "nsccue", "\u227E": "prsim", "\u227F": "scsim", "\u227F\u0338": "NotSucceedsTilde", "\u2282": "sub", "\u2284": "nsub", "\u2282\u20D2": "vnsub", "\u2283": "sup", "\u2285": "nsup", "\u2283\u20D2": "vnsup", "\u2286": "sube", "\u2288": "nsube", "\u2287": "supe", "\u2289": "nsupe", "\u228A\uFE00": "vsubne", "\u228A": "subne", "\u228B\uFE00": "vsupne", "\u228B": "supne", "\u228D": "cupdot", "\u228E": "uplus", "\u228F": "sqsub", "\u228F\u0338": "NotSquareSubset", "\u2290": "sqsup", "\u2290\u0338": "NotSquareSuperset", "\u2291": "sqsube", "\u22E2": "nsqsube", "\u2292": "sqsupe", "\u22E3": "nsqsupe", "\u2293": "sqcap", "\u2293\uFE00": "sqcaps", "\u2294": "sqcup", "\u2294\uFE00": "sqcups", "\u2295": "oplus", "\u2296": "ominus", "\u2297": "otimes", "\u2298": "osol", "\u2299": "odot", "\u229A": "ocir", "\u229B": "oast", "\u229D": "odash", "\u229E": "plusb", "\u229F": "minusb", "\u22A0": "timesb", "\u22A1": "sdotb", "\u22A2": "vdash", "\u22AC": "nvdash", "\u22A3": "dashv", "\u22A4": "top", "\u22A5": "bot", "\u22A7": "models", "\u22A8": "vDash", "\u22AD": "nvDash", "\u22A9": "Vdash", "\u22AE": "nVdash", "\u22AA": "Vvdash", "\u22AB": "VDash", "\u22AF": "nVDash", "\u22B0": "prurel", "\u22B2": "vltri", "\u22EA": "nltri", "\u22B3": "vrtri", "\u22EB": "nrtri", "\u22B4": "ltrie", "\u22EC": "nltrie", "\u22B4\u20D2": "nvltrie", "\u22B5": "rtrie", "\u22ED": "nrtrie", "\u22B5\u20D2": "nvrtrie", "\u22B6": "origof", "\u22B7": "imof", "\u22B8": "mumap", "\u22B9": "hercon", "\u22BA": "intcal", "\u22BB": "veebar", "\u22BD": "barvee", "\u22BE": "angrtvb", "\u22BF": "lrtri", "\u22C0": "Wedge", "\u22C1": "Vee", "\u22C2": "xcap", "\u22C3": "xcup", "\u22C4": "diam", "\u22C5": "sdot", "\u22C6": "Star", "\u22C7": "divonx", "\u22C8": "bowtie", "\u22C9": "ltimes", "\u22CA": "rtimes", "\u22CB": "lthree", "\u22CC": "rthree", "\u22CD": "bsime", "\u22CE": "cuvee", "\u22CF": "cuwed", "\u22D0": "Sub", "\u22D1": "Sup", "\u22D2": "Cap", "\u22D3": "Cup", "\u22D4": "fork", "\u22D5": "epar", "\u22D6": "ltdot", "\u22D7": "gtdot", "\u22D8": "Ll", "\u22D8\u0338": "nLl", "\u22D9": "Gg", "\u22D9\u0338": "nGg", "\u22DA\uFE00": "lesg", "\u22DA": "leg", "\u22DB": "gel", "\u22DB\uFE00": "gesl", "\u22DE": "cuepr", "\u22DF": "cuesc", "\u22E6": "lnsim", "\u22E7": "gnsim", "\u22E8": "prnsim", "\u22E9": "scnsim", "\u22EE": "vellip", "\u22EF": "ctdot", "\u22F0": "utdot", "\u22F1": "dtdot", "\u22F2": "disin", "\u22F3": "isinsv", "\u22F4": "isins", "\u22F5": "isindot", "\u22F5\u0338": "notindot", "\u22F6": "notinvc", "\u22F7": "notinvb", "\u22F9": "isinE", "\u22F9\u0338": "notinE", "\u22FA": "nisd", "\u22FB": "xnis", "\u22FC": "nis", "\u22FD": "notnivc", "\u22FE": "notnivb", "\u2305": "barwed", "\u2306": "Barwed", "\u230C": "drcrop", "\u230D": "dlcrop", "\u230E": "urcrop", "\u230F": "ulcrop", "\u2310": "bnot", "\u2312": "profline", "\u2313": "profsurf", "\u2315": "telrec", "\u2316": "target", "\u231C": "ulcorn", "\u231D": "urcorn", "\u231E": "dlcorn", "\u231F": "drcorn", "\u2322": "frown", "\u2323": "smile", "\u232D": "cylcty", "\u232E": "profalar", "\u2336": "topbot", "\u233D": "ovbar", "\u233F": "solbar", "\u237C": "angzarr", "\u23B0": "lmoust", "\u23B1": "rmoust", "\u23B4": "tbrk", "\u23B5": "bbrk", "\u23B6": "bbrktbrk", "\u23DC": "OverParenthesis", "\u23DD": "UnderParenthesis", "\u23DE": "OverBrace", "\u23DF": "UnderBrace", "\u23E2": "trpezium", "\u23E7": "elinters", "\u2423": "blank", "\u2500": "boxh", "\u2502": "boxv", "\u250C": "boxdr", "\u2510": "boxdl", "\u2514": "boxur", "\u2518": "boxul", "\u251C": "boxvr", "\u2524": "boxvl", "\u252C": "boxhd", "\u2534": "boxhu", "\u253C": "boxvh", "\u2550": "boxH", "\u2551": "boxV", "\u2552": "boxdR", "\u2553": "boxDr", "\u2554": "boxDR", "\u2555": "boxdL", "\u2556": "boxDl", "\u2557": "boxDL", "\u2558": "boxuR", "\u2559": "boxUr", "\u255A": "boxUR", "\u255B": "boxuL", "\u255C": "boxUl", "\u255D": "boxUL", "\u255E": "boxvR", "\u255F": "boxVr", "\u2560": "boxVR", "\u2561": "boxvL", "\u2562": "boxVl", "\u2563": "boxVL", "\u2564": "boxHd", "\u2565": "boxhD", "\u2566": "boxHD", "\u2567": "boxHu", "\u2568": "boxhU", "\u2569": "boxHU", "\u256A": "boxvH", "\u256B": "boxVh", "\u256C": "boxVH", "\u2580": "uhblk", "\u2584": "lhblk", "\u2588": "block", "\u2591": "blk14", "\u2592": "blk12", "\u2593": "blk34", "\u25A1": "squ", "\u25AA": "squf", "\u25AB": "EmptyVerySmallSquare", "\u25AD": "rect", "\u25AE": "marker", "\u25B1": "fltns", "\u25B3": "xutri", "\u25B4": "utrif", "\u25B5": "utri", "\u25B8": "rtrif", "\u25B9": "rtri", "\u25BD": "xdtri", "\u25BE": "dtrif", "\u25BF": "dtri", "\u25C2": "ltrif", "\u25C3": "ltri", "\u25CA": "loz", "\u25CB": "cir", "\u25EC": "tridot", "\u25EF": "xcirc", "\u25F8": "ultri", "\u25F9": "urtri", "\u25FA": "lltri", "\u25FB": "EmptySmallSquare", "\u25FC": "FilledSmallSquare", "\u2605": "starf", "\u2606": "star", "\u260E": "phone", "\u2640": "female", "\u2642": "male", "\u2660": "spades", "\u2663": "clubs", "\u2665": "hearts", "\u2666": "diams", "\u266A": "sung", "\u2713": "check", "\u2717": "cross", "\u2720": "malt", "\u2736": "sext", "\u2758": "VerticalSeparator", "\u27C8": "bsolhsub", "\u27C9": "suphsol", "\u27F5": "xlarr", "\u27F6": "xrarr", "\u27F7": "xharr", "\u27F8": "xlArr", "\u27F9": "xrArr", "\u27FA": "xhArr", "\u27FC": "xmap", "\u27FF": "dzigrarr", "\u2902": "nvlArr", "\u2903": "nvrArr", "\u2904": "nvHarr", "\u2905": "Map", "\u290C": "lbarr", "\u290D": "rbarr", "\u290E": "lBarr", "\u290F": "rBarr", "\u2910": "RBarr", "\u2911": "DDotrahd", "\u2912": "UpArrowBar", "\u2913": "DownArrowBar", "\u2916": "Rarrtl", "\u2919": "latail", "\u291A": "ratail", "\u291B": "lAtail", "\u291C": "rAtail", "\u291D": "larrfs", "\u291E": "rarrfs", "\u291F": "larrbfs", "\u2920": "rarrbfs", "\u2923": "nwarhk", "\u2924": "nearhk", "\u2925": "searhk", "\u2926": "swarhk", "\u2927": "nwnear", "\u2928": "toea", "\u2929": "tosa", "\u292A": "swnwar", "\u2933": "rarrc", "\u2933\u0338": "nrarrc", "\u2935": "cudarrr", "\u2936": "ldca", "\u2937": "rdca", "\u2938": "cudarrl", "\u2939": "larrpl", "\u293C": "curarrm", "\u293D": "cularrp", "\u2945": "rarrpl", "\u2948": "harrcir", "\u2949": "Uarrocir", "\u294A": "lurdshar", "\u294B": "ldrushar", "\u294E": "LeftRightVector", "\u294F": "RightUpDownVector", "\u2950": "DownLeftRightVector", "\u2951": "LeftUpDownVector", "\u2952": "LeftVectorBar", "\u2953": "RightVectorBar", "\u2954": "RightUpVectorBar", "\u2955": "RightDownVectorBar", "\u2956": "DownLeftVectorBar", "\u2957": "DownRightVectorBar", "\u2958": "LeftUpVectorBar", "\u2959": "LeftDownVectorBar", "\u295A": "LeftTeeVector", "\u295B": "RightTeeVector", "\u295C": "RightUpTeeVector", "\u295D": "RightDownTeeVector", "\u295E": "DownLeftTeeVector", "\u295F": "DownRightTeeVector", "\u2960": "LeftUpTeeVector", "\u2961": "LeftDownTeeVector", "\u2962": "lHar", "\u2963": "uHar", "\u2964": "rHar", "\u2965": "dHar", "\u2966": "luruhar", "\u2967": "ldrdhar", "\u2968": "ruluhar", "\u2969": "rdldhar", "\u296A": "lharul", "\u296B": "llhard", "\u296C": "rharul", "\u296D": "lrhard", "\u296E": "udhar", "\u296F": "duhar", "\u2970": "RoundImplies", "\u2971": "erarr", "\u2972": "simrarr", "\u2973": "larrsim", "\u2974": "rarrsim", "\u2975": "rarrap", "\u2976": "ltlarr", "\u2978": "gtrarr", "\u2979": "subrarr", "\u297B": "suplarr", "\u297C": "lfisht", "\u297D": "rfisht", "\u297E": "ufisht", "\u297F": "dfisht", "\u299A": "vzigzag", "\u299C": "vangrt", "\u299D": "angrtvbd", "\u29A4": "ange", "\u29A5": "range", "\u29A6": "dwangle", "\u29A7": "uwangle", "\u29A8": "angmsdaa", "\u29A9": "angmsdab", "\u29AA": "angmsdac", "\u29AB": "angmsdad", "\u29AC": "angmsdae", "\u29AD": "angmsdaf", "\u29AE": "angmsdag", "\u29AF": "angmsdah", "\u29B0": "bemptyv", "\u29B1": "demptyv", "\u29B2": "cemptyv", "\u29B3": "raemptyv", "\u29B4": "laemptyv", "\u29B5": "ohbar", "\u29B6": "omid", "\u29B7": "opar", "\u29B9": "operp", "\u29BB": "olcross", "\u29BC": "odsold", "\u29BE": "olcir", "\u29BF": "ofcir", "\u29C0": "olt", "\u29C1": "ogt", "\u29C2": "cirscir", "\u29C3": "cirE", "\u29C4": "solb", "\u29C5": "bsolb", "\u29C9": "boxbox", "\u29CD": "trisb", "\u29CE": "rtriltri", "\u29CF": "LeftTriangleBar", "\u29CF\u0338": "NotLeftTriangleBar", "\u29D0": "RightTriangleBar", "\u29D0\u0338": "NotRightTriangleBar", "\u29DC": "iinfin", "\u29DD": "infintie", "\u29DE": "nvinfin", "\u29E3": "eparsl", "\u29E4": "smeparsl", "\u29E5": "eqvparsl", "\u29EB": "lozf", "\u29F4": "RuleDelayed", "\u29F6": "dsol", "\u2A00": "xodot", "\u2A01": "xoplus", "\u2A02": "xotime", "\u2A04": "xuplus", "\u2A06": "xsqcup", "\u2A0D": "fpartint", "\u2A10": "cirfnint", "\u2A11": "awint", "\u2A12": "rppolint", "\u2A13": "scpolint", "\u2A14": "npolint", "\u2A15": "pointint", "\u2A16": "quatint", "\u2A17": "intlarhk", "\u2A22": "pluscir", "\u2A23": "plusacir", "\u2A24": "simplus", "\u2A25": "plusdu", "\u2A26": "plussim", "\u2A27": "plustwo", "\u2A29": "mcomma", "\u2A2A": "minusdu", "\u2A2D": "loplus", "\u2A2E": "roplus", "\u2A2F": "Cross", "\u2A30": "timesd", "\u2A31": "timesbar", "\u2A33": "smashp", "\u2A34": "lotimes", "\u2A35": "rotimes", "\u2A36": "otimesas", "\u2A37": "Otimes", "\u2A38": "odiv", "\u2A39": "triplus", "\u2A3A": "triminus", "\u2A3B": "tritime", "\u2A3C": "iprod", "\u2A3F": "amalg", "\u2A40": "capdot", "\u2A42": "ncup", "\u2A43": "ncap", "\u2A44": "capand", "\u2A45": "cupor", "\u2A46": "cupcap", "\u2A47": "capcup", "\u2A48": "cupbrcap", "\u2A49": "capbrcup", "\u2A4A": "cupcup", "\u2A4B": "capcap", "\u2A4C": "ccups", "\u2A4D": "ccaps", "\u2A50": "ccupssm", "\u2A53": "And", "\u2A54": "Or", "\u2A55": "andand", "\u2A56": "oror", "\u2A57": "orslope", "\u2A58": "andslope", "\u2A5A": "andv", "\u2A5B": "orv", "\u2A5C": "andd", "\u2A5D": "ord", "\u2A5F": "wedbar", "\u2A66": "sdote", "\u2A6A": "simdot", "\u2A6D": "congdot", "\u2A6D\u0338": "ncongdot", "\u2A6E": "easter", "\u2A6F": "apacir", "\u2A70": "apE", "\u2A70\u0338": "napE", "\u2A71": "eplus", "\u2A72": "pluse", "\u2A73": "Esim", "\u2A77": "eDDot", "\u2A78": "equivDD", "\u2A79": "ltcir", "\u2A7A": "gtcir", "\u2A7B": "ltquest", "\u2A7C": "gtquest", "\u2A7D": "les", "\u2A7D\u0338": "nles", "\u2A7E": "ges", "\u2A7E\u0338": "nges", "\u2A7F": "lesdot", "\u2A80": "gesdot", "\u2A81": "lesdoto", "\u2A82": "gesdoto", "\u2A83": "lesdotor", "\u2A84": "gesdotol", "\u2A85": "lap", "\u2A86": "gap", "\u2A87": "lne", "\u2A88": "gne", "\u2A89": "lnap", "\u2A8A": "gnap", "\u2A8B": "lEg", "\u2A8C": "gEl", "\u2A8D": "lsime", "\u2A8E": "gsime", "\u2A8F": "lsimg", "\u2A90": "gsiml", "\u2A91": "lgE", "\u2A92": "glE", "\u2A93": "lesges", "\u2A94": "gesles", "\u2A95": "els", "\u2A96": "egs", "\u2A97": "elsdot", "\u2A98": "egsdot", "\u2A99": "el", "\u2A9A": "eg", "\u2A9D": "siml", "\u2A9E": "simg", "\u2A9F": "simlE", "\u2AA0": "simgE", "\u2AA1": "LessLess", "\u2AA1\u0338": "NotNestedLessLess", "\u2AA2": "GreaterGreater", "\u2AA2\u0338": "NotNestedGreaterGreater", "\u2AA4": "glj", "\u2AA5": "gla", "\u2AA6": "ltcc", "\u2AA7": "gtcc", "\u2AA8": "lescc", "\u2AA9": "gescc", "\u2AAA": "smt", "\u2AAB": "lat", "\u2AAC": "smte", "\u2AAC\uFE00": "smtes", "\u2AAD": "late", "\u2AAD\uFE00": "lates", "\u2AAE": "bumpE", "\u2AAF": "pre", "\u2AAF\u0338": "npre", "\u2AB0": "sce", "\u2AB0\u0338": "nsce", "\u2AB3": "prE", "\u2AB4": "scE", "\u2AB5": "prnE", "\u2AB6": "scnE", "\u2AB7": "prap", "\u2AB8": "scap", "\u2AB9": "prnap", "\u2ABA": "scnap", "\u2ABB": "Pr", "\u2ABC": "Sc", "\u2ABD": "subdot", "\u2ABE": "supdot", "\u2ABF": "subplus", "\u2AC0": "supplus", "\u2AC1": "submult", "\u2AC2": "supmult", "\u2AC3": "subedot", "\u2AC4": "supedot", "\u2AC5": "subE", "\u2AC5\u0338": "nsubE", "\u2AC6": "supE", "\u2AC6\u0338": "nsupE", "\u2AC7": "subsim", "\u2AC8": "supsim", "\u2ACB\uFE00": "vsubnE", "\u2ACB": "subnE", "\u2ACC\uFE00": "vsupnE", "\u2ACC": "supnE", "\u2ACF": "csub", "\u2AD0": "csup", "\u2AD1": "csube", "\u2AD2": "csupe", "\u2AD3": "subsup", "\u2AD4": "supsub", "\u2AD5": "subsub", "\u2AD6": "supsup", "\u2AD7": "suphsub", "\u2AD8": "supdsub", "\u2AD9": "forkv", "\u2ADA": "topfork", "\u2ADB": "mlcp", "\u2AE4": "Dashv", "\u2AE6": "Vdashl", "\u2AE7": "Barv", "\u2AE8": "vBar", "\u2AE9": "vBarv", "\u2AEB": "Vbar", "\u2AEC": "Not", "\u2AED": "bNot", "\u2AEE": "rnmid", "\u2AEF": "cirmid", "\u2AF0": "midcir", "\u2AF1": "topcir", "\u2AF2": "nhpar", "\u2AF3": "parsim", "\u2AFD": "parsl", "\u2AFD\u20E5": "nparsl", "\u266D": "flat", "\u266E": "natur", "\u266F": "sharp", "\xA4": "curren", "\xA2": "cent", $: "dollar", "\xA3": "pound", "\xA5": "yen", "\u20AC": "euro", "\xB9": "sup1", "\xBD": "half", "\u2153": "frac13", "\xBC": "frac14", "\u2155": "frac15", "\u2159": "frac16", "\u215B": "frac18", "\xB2": "sup2", "\u2154": "frac23", "\u2156": "frac25", "\xB3": "sup3", "\xBE": "frac34", "\u2157": "frac35", "\u215C": "frac38", "\u2158": "frac45", "\u215A": "frac56", "\u215D": "frac58", "\u215E": "frac78", "\uD835\uDCB6": "ascr", "\uD835\uDD52": "aopf", "\uD835\uDD1E": "afr", "\uD835\uDD38": "Aopf", "\uD835\uDD04": "Afr", "\uD835\uDC9C": "Ascr", "\xAA": "ordf", "\xE1": "aacute", "\xC1": "Aacute", "\xE0": "agrave", "\xC0": "Agrave", "\u0103": "abreve", "\u0102": "Abreve", "\xE2": "acirc", "\xC2": "Acirc", "\xE5": "aring", "\xC5": "angst", "\xE4": "auml", "\xC4": "Auml", "\xE3": "atilde", "\xC3": "Atilde", "\u0105": "aogon", "\u0104": "Aogon", "\u0101": "amacr", "\u0100": "Amacr", "\xE6": "aelig", "\xC6": "AElig", "\uD835\uDCB7": "bscr", "\uD835\uDD53": "bopf", "\uD835\uDD1F": "bfr", "\uD835\uDD39": "Bopf", "\u212C": "Bscr", "\uD835\uDD05": "Bfr", "\uD835\uDD20": "cfr", "\uD835\uDCB8": "cscr", "\uD835\uDD54": "copf", "\u212D": "Cfr", "\uD835\uDC9E": "Cscr", "\u2102": "Copf", "\u0107": "cacute", "\u0106": "Cacute", "\u0109": "ccirc", "\u0108": "Ccirc", "\u010D": "ccaron", "\u010C": "Ccaron", "\u010B": "cdot", "\u010A": "Cdot", "\xE7": "ccedil", "\xC7": "Ccedil", "\u2105": "incare", "\uD835\uDD21": "dfr", "\u2146": "dd", "\uD835\uDD55": "dopf", "\uD835\uDCB9": "dscr", "\uD835\uDC9F": "Dscr", "\uD835\uDD07": "Dfr", "\u2145": "DD", "\uD835\uDD3B": "Dopf", "\u010F": "dcaron", "\u010E": "Dcaron", "\u0111": "dstrok", "\u0110": "Dstrok", "\xF0": "eth", "\xD0": "ETH", "\u2147": "ee", "\u212F": "escr", "\uD835\uDD22": "efr", "\uD835\uDD56": "eopf", "\u2130": "Escr", "\uD835\uDD08": "Efr", "\uD835\uDD3C": "Eopf", "\xE9": "eacute", "\xC9": "Eacute", "\xE8": "egrave", "\xC8": "Egrave", "\xEA": "ecirc", "\xCA": "Ecirc", "\u011B": "ecaron", "\u011A": "Ecaron", "\xEB": "euml", "\xCB": "Euml", "\u0117": "edot", "\u0116": "Edot", "\u0119": "eogon", "\u0118": "Eogon", "\u0113": "emacr", "\u0112": "Emacr", "\uD835\uDD23": "ffr", "\uD835\uDD57": "fopf", "\uD835\uDCBB": "fscr", "\uD835\uDD09": "Ffr", "\uD835\uDD3D": "Fopf", "\u2131": "Fscr", "\uFB00": "fflig", "\uFB03": "ffilig", "\uFB04": "ffllig", "\uFB01": "filig", fj: "fjlig", "\uFB02": "fllig", "\u0192": "fnof", "\u210A": "gscr", "\uD835\uDD58": "gopf", "\uD835\uDD24": "gfr", "\uD835\uDCA2": "Gscr", "\uD835\uDD3E": "Gopf", "\uD835\uDD0A": "Gfr", "\u01F5": "gacute", "\u011F": "gbreve", "\u011E": "Gbreve", "\u011D": "gcirc", "\u011C": "Gcirc", "\u0121": "gdot", "\u0120": "Gdot", "\u0122": "Gcedil", "\uD835\uDD25": "hfr", "\u210E": "planckh", "\uD835\uDCBD": "hscr", "\uD835\uDD59": "hopf", "\u210B": "Hscr", "\u210C": "Hfr", "\u210D": "Hopf", "\u0125": "hcirc", "\u0124": "Hcirc", "\u210F": "hbar", "\u0127": "hstrok", "\u0126": "Hstrok", "\uD835\uDD5A": "iopf", "\uD835\uDD26": "ifr", "\uD835\uDCBE": "iscr", "\u2148": "ii", "\uD835\uDD40": "Iopf", "\u2110": "Iscr", "\u2111": "Im", "\xED": "iacute", "\xCD": "Iacute", "\xEC": "igrave", "\xCC": "Igrave", "\xEE": "icirc", "\xCE": "Icirc", "\xEF": "iuml", "\xCF": "Iuml", "\u0129": "itilde", "\u0128": "Itilde", "\u0130": "Idot", "\u012F": "iogon", "\u012E": "Iogon", "\u012B": "imacr", "\u012A": "Imacr", "\u0133": "ijlig", "\u0132": "IJlig", "\u0131": "imath", "\uD835\uDCBF": "jscr", "\uD835\uDD5B": "jopf", "\uD835\uDD27": "jfr", "\uD835\uDCA5": "Jscr", "\uD835\uDD0D": "Jfr", "\uD835\uDD41": "Jopf", "\u0135": "jcirc", "\u0134": "Jcirc", "\u0237": "jmath", "\uD835\uDD5C": "kopf", "\uD835\uDCC0": "kscr", "\uD835\uDD28": "kfr", "\uD835\uDCA6": "Kscr", "\uD835\uDD42": "Kopf", "\uD835\uDD0E": "Kfr", "\u0137": "kcedil", "\u0136": "Kcedil", "\uD835\uDD29": "lfr", "\uD835\uDCC1": "lscr", "\u2113": "ell", "\uD835\uDD5D": "lopf", "\u2112": "Lscr", "\uD835\uDD0F": "Lfr", "\uD835\uDD43": "Lopf", "\u013A": "lacute", "\u0139": "Lacute", "\u013E": "lcaron", "\u013D": "Lcaron", "\u013C": "lcedil", "\u013B": "Lcedil", "\u0142": "lstrok", "\u0141": "Lstrok", "\u0140": "lmidot", "\u013F": "Lmidot", "\uD835\uDD2A": "mfr", "\uD835\uDD5E": "mopf", "\uD835\uDCC2": "mscr", "\uD835\uDD10": "Mfr", "\uD835\uDD44": "Mopf", "\u2133": "Mscr", "\uD835\uDD2B": "nfr", "\uD835\uDD5F": "nopf", "\uD835\uDCC3": "nscr", "\u2115": "Nopf", "\uD835\uDCA9": "Nscr", "\uD835\uDD11": "Nfr", "\u0144": "nacute", "\u0143": "Nacute", "\u0148": "ncaron", "\u0147": "Ncaron", "\xF1": "ntilde", "\xD1": "Ntilde", "\u0146": "ncedil", "\u0145": "Ncedil", "\u2116": "numero", "\u014B": "eng", "\u014A": "ENG", "\uD835\uDD60": "oopf", "\uD835\uDD2C": "ofr", "\u2134": "oscr", "\uD835\uDCAA": "Oscr", "\uD835\uDD12": "Ofr", "\uD835\uDD46": "Oopf", "\xBA": "ordm", "\xF3": "oacute", "\xD3": "Oacute", "\xF2": "ograve", "\xD2": "Ograve", "\xF4": "ocirc", "\xD4": "Ocirc", "\xF6": "ouml", "\xD6": "Ouml", "\u0151": "odblac", "\u0150": "Odblac", "\xF5": "otilde", "\xD5": "Otilde", "\xF8": "oslash", "\xD8": "Oslash", "\u014D": "omacr", "\u014C": "Omacr", "\u0153": "oelig", "\u0152": "OElig", "\uD835\uDD2D": "pfr", "\uD835\uDCC5": "pscr", "\uD835\uDD61": "popf", "\u2119": "Popf", "\uD835\uDD13": "Pfr", "\uD835\uDCAB": "Pscr", "\uD835\uDD62": "qopf", "\uD835\uDD2E": "qfr", "\uD835\uDCC6": "qscr", "\uD835\uDCAC": "Qscr", "\uD835\uDD14": "Qfr", "\u211A": "Qopf", "\u0138": "kgreen", "\uD835\uDD2F": "rfr", "\uD835\uDD63": "ropf", "\uD835\uDCC7": "rscr", "\u211B": "Rscr", "\u211C": "Re", "\u211D": "Ropf", "\u0155": "racute", "\u0154": "Racute", "\u0159": "rcaron", "\u0158": "Rcaron", "\u0157": "rcedil", "\u0156": "Rcedil", "\uD835\uDD64": "sopf", "\uD835\uDCC8": "sscr", "\uD835\uDD30": "sfr", "\uD835\uDD4A": "Sopf", "\uD835\uDD16": "Sfr", "\uD835\uDCAE": "Sscr", "\u24C8": "oS", "\u015B": "sacute", "\u015A": "Sacute", "\u015D": "scirc", "\u015C": "Scirc", "\u0161": "scaron", "\u0160": "Scaron", "\u015F": "scedil", "\u015E": "Scedil", "\xDF": "szlig", "\uD835\uDD31": "tfr", "\uD835\uDCC9": "tscr", "\uD835\uDD65": "topf", "\uD835\uDCAF": "Tscr", "\uD835\uDD17": "Tfr", "\uD835\uDD4B": "Topf", "\u0165": "tcaron", "\u0164": "Tcaron", "\u0163": "tcedil", "\u0162": "Tcedil", "\u2122": "trade", "\u0167": "tstrok", "\u0166": "Tstrok", "\uD835\uDCCA": "uscr", "\uD835\uDD66": "uopf", "\uD835\uDD32": "ufr", "\uD835\uDD4C": "Uopf", "\uD835\uDD18": "Ufr", "\uD835\uDCB0": "Uscr", "\xFA": "uacute", "\xDA": "Uacute", "\xF9": "ugrave", "\xD9": "Ugrave", "\u016D": "ubreve", "\u016C": "Ubreve", "\xFB": "ucirc", "\xDB": "Ucirc", "\u016F": "uring", "\u016E": "Uring", "\xFC": "uuml", "\xDC": "Uuml", "\u0171": "udblac", "\u0170": "Udblac", "\u0169": "utilde", "\u0168": "Utilde", "\u0173": "uogon", "\u0172": "Uogon", "\u016B": "umacr", "\u016A": "Umacr", "\uD835\uDD33": "vfr", "\uD835\uDD67": "vopf", "\uD835\uDCCB": "vscr", "\uD835\uDD19": "Vfr", "\uD835\uDD4D": "Vopf", "\uD835\uDCB1": "Vscr", "\uD835\uDD68": "wopf", "\uD835\uDCCC": "wscr", "\uD835\uDD34": "wfr", "\uD835\uDCB2": "Wscr", "\uD835\uDD4E": "Wopf", "\uD835\uDD1A": "Wfr", "\u0175": "wcirc", "\u0174": "Wcirc", "\uD835\uDD35": "xfr", "\uD835\uDCCD": "xscr", "\uD835\uDD69": "xopf", "\uD835\uDD4F": "Xopf", "\uD835\uDD1B": "Xfr", "\uD835\uDCB3": "Xscr", "\uD835\uDD36": "yfr", "\uD835\uDCCE": "yscr", "\uD835\uDD6A": "yopf", "\uD835\uDCB4": "Yscr", "\uD835\uDD1C": "Yfr", "\uD835\uDD50": "Yopf", "\xFD": "yacute", "\xDD": "Yacute", "\u0177": "ycirc", "\u0176": "Ycirc", "\xFF": "yuml", "\u0178": "Yuml", "\uD835\uDCCF": "zscr", "\uD835\uDD37": "zfr", "\uD835\uDD6B": "zopf", "\u2128": "Zfr", "\u2124": "Zopf", "\uD835\uDCB5": "Zscr", "\u017A": "zacute", "\u0179": "Zacute", "\u017E": "zcaron", "\u017D": "Zcaron", "\u017C": "zdot", "\u017B": "Zdot", "\u01B5": "imped", "\xFE": "thorn", "\xDE": "THORN", "\u0149": "napos", "\u03B1": "alpha", "\u0391": "Alpha", "\u03B2": "beta", "\u0392": "Beta", "\u03B3": "gamma", "\u0393": "Gamma", "\u03B4": "delta", "\u0394": "Delta", "\u03B5": "epsi", "\u03F5": "epsiv", "\u0395": "Epsilon", "\u03DD": "gammad", "\u03DC": "Gammad", "\u03B6": "zeta", "\u0396": "Zeta", "\u03B7": "eta", "\u0397": "Eta", "\u03B8": "theta", "\u03D1": "thetav", "\u0398": "Theta", "\u03B9": "iota", "\u0399": "Iota", "\u03BA": "kappa", "\u03F0": "kappav", "\u039A": "Kappa", "\u03BB": "lambda", "\u039B": "Lambda", "\u03BC": "mu", "\xB5": "micro", "\u039C": "Mu", "\u03BD": "nu", "\u039D": "Nu", "\u03BE": "xi", "\u039E": "Xi", "\u03BF": "omicron", "\u039F": "Omicron", "\u03C0": "pi", "\u03D6": "piv", "\u03A0": "Pi", "\u03C1": "rho", "\u03F1": "rhov", "\u03A1": "Rho", "\u03C3": "sigma", "\u03A3": "Sigma", "\u03C2": "sigmaf", "\u03C4": "tau", "\u03A4": "Tau", "\u03C5": "upsi", "\u03A5": "Upsilon", "\u03D2": "Upsi", "\u03C6": "phi", "\u03D5": "phiv", "\u03A6": "Phi", "\u03C7": "chi", "\u03A7": "Chi", "\u03C8": "psi", "\u03A8": "Psi", "\u03C9": "omega", "\u03A9": "ohm", "\u0430": "acy", "\u0410": "Acy", "\u0431": "bcy", "\u0411": "Bcy", "\u0432": "vcy", "\u0412": "Vcy", "\u0433": "gcy", "\u0413": "Gcy", "\u0453": "gjcy", "\u0403": "GJcy", "\u0434": "dcy", "\u0414": "Dcy", "\u0452": "djcy", "\u0402": "DJcy", "\u0435": "iecy", "\u0415": "IEcy", "\u0451": "iocy", "\u0401": "IOcy", "\u0454": "jukcy", "\u0404": "Jukcy", "\u0436": "zhcy", "\u0416": "ZHcy", "\u0437": "zcy", "\u0417": "Zcy", "\u0455": "dscy", "\u0405": "DScy", "\u0438": "icy", "\u0418": "Icy", "\u0456": "iukcy", "\u0406": "Iukcy", "\u0457": "yicy", "\u0407": "YIcy", "\u0439": "jcy", "\u0419": "Jcy", "\u0458": "jsercy", "\u0408": "Jsercy", "\u043A": "kcy", "\u041A": "Kcy", "\u045C": "kjcy", "\u040C": "KJcy", "\u043B": "lcy", "\u041B": "Lcy", "\u0459": "ljcy", "\u0409": "LJcy", "\u043C": "mcy", "\u041C": "Mcy", "\u043D": "ncy", "\u041D": "Ncy", "\u045A": "njcy", "\u040A": "NJcy", "\u043E": "ocy", "\u041E": "Ocy", "\u043F": "pcy", "\u041F": "Pcy", "\u0440": "rcy", "\u0420": "Rcy", "\u0441": "scy", "\u0421": "Scy", "\u0442": "tcy", "\u0422": "Tcy", "\u045B": "tshcy", "\u040B": "TSHcy", "\u0443": "ucy", "\u0423": "Ucy", "\u045E": "ubrcy", "\u040E": "Ubrcy", "\u0444": "fcy", "\u0424": "Fcy", "\u0445": "khcy", "\u0425": "KHcy", "\u0446": "tscy", "\u0426": "TScy", "\u0447": "chcy", "\u0427": "CHcy", "\u045F": "dzcy", "\u040F": "DZcy", "\u0448": "shcy", "\u0428": "SHcy", "\u0449": "shchcy", "\u0429": "SHCHcy", "\u044A": "hardcy", "\u042A": "HARDcy", "\u044B": "ycy", "\u042B": "Ycy", "\u044C": "softcy", "\u042C": "SOFTcy", "\u044D": "ecy", "\u042D": "Ecy", "\u044E": "yucy", "\u042E": "YUcy", "\u044F": "yacy", "\u042F": "YAcy", "\u2135": "aleph", "\u2136": "beth", "\u2137": "gimel", "\u2138": "daleth" };
|
|
101453
|
+
var regexEscape = /["&'<>`]/g;
|
|
101454
|
+
var escapeMap = {
|
|
101455
|
+
'"': """,
|
|
101456
|
+
"&": "&",
|
|
101457
|
+
"'": "'",
|
|
101458
|
+
"<": "<",
|
|
101459
|
+
">": ">",
|
|
101460
|
+
"`": "`"
|
|
101461
|
+
};
|
|
101462
|
+
var regexInvalidEntity = /&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/;
|
|
101463
|
+
var regexInvalidRawCodePoint = /[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
|
|
101464
|
+
var regexDecode = /&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g;
|
|
101465
|
+
var decodeMap = { aacute: "\xE1", Aacute: "\xC1", abreve: "\u0103", Abreve: "\u0102", ac: "\u223E", acd: "\u223F", acE: "\u223E\u0333", acirc: "\xE2", Acirc: "\xC2", acute: "\xB4", acy: "\u0430", Acy: "\u0410", aelig: "\xE6", AElig: "\xC6", af: "\u2061", afr: "\uD835\uDD1E", Afr: "\uD835\uDD04", agrave: "\xE0", Agrave: "\xC0", alefsym: "\u2135", aleph: "\u2135", alpha: "\u03B1", Alpha: "\u0391", amacr: "\u0101", Amacr: "\u0100", amalg: "\u2A3F", amp: "&", AMP: "&", and: "\u2227", And: "\u2A53", andand: "\u2A55", andd: "\u2A5C", andslope: "\u2A58", andv: "\u2A5A", ang: "\u2220", ange: "\u29A4", angle: "\u2220", angmsd: "\u2221", angmsdaa: "\u29A8", angmsdab: "\u29A9", angmsdac: "\u29AA", angmsdad: "\u29AB", angmsdae: "\u29AC", angmsdaf: "\u29AD", angmsdag: "\u29AE", angmsdah: "\u29AF", angrt: "\u221F", angrtvb: "\u22BE", angrtvbd: "\u299D", angsph: "\u2222", angst: "\xC5", angzarr: "\u237C", aogon: "\u0105", Aogon: "\u0104", aopf: "\uD835\uDD52", Aopf: "\uD835\uDD38", ap: "\u2248", apacir: "\u2A6F", ape: "\u224A", apE: "\u2A70", apid: "\u224B", apos: "'", ApplyFunction: "\u2061", approx: "\u2248", approxeq: "\u224A", aring: "\xE5", Aring: "\xC5", ascr: "\uD835\uDCB6", Ascr: "\uD835\uDC9C", Assign: "\u2254", ast: "*", asymp: "\u2248", asympeq: "\u224D", atilde: "\xE3", Atilde: "\xC3", auml: "\xE4", Auml: "\xC4", awconint: "\u2233", awint: "\u2A11", backcong: "\u224C", backepsilon: "\u03F6", backprime: "\u2035", backsim: "\u223D", backsimeq: "\u22CD", Backslash: "\u2216", Barv: "\u2AE7", barvee: "\u22BD", barwed: "\u2305", Barwed: "\u2306", barwedge: "\u2305", bbrk: "\u23B5", bbrktbrk: "\u23B6", bcong: "\u224C", bcy: "\u0431", Bcy: "\u0411", bdquo: "\u201E", becaus: "\u2235", because: "\u2235", Because: "\u2235", bemptyv: "\u29B0", bepsi: "\u03F6", bernou: "\u212C", Bernoullis: "\u212C", beta: "\u03B2", Beta: "\u0392", beth: "\u2136", between: "\u226C", bfr: "\uD835\uDD1F", Bfr: "\uD835\uDD05", bigcap: "\u22C2", bigcirc: "\u25EF", bigcup: "\u22C3", bigodot: "\u2A00", bigoplus: "\u2A01", bigotimes: "\u2A02", bigsqcup: "\u2A06", bigstar: "\u2605", bigtriangledown: "\u25BD", bigtriangleup: "\u25B3", biguplus: "\u2A04", bigvee: "\u22C1", bigwedge: "\u22C0", bkarow: "\u290D", blacklozenge: "\u29EB", blacksquare: "\u25AA", blacktriangle: "\u25B4", blacktriangledown: "\u25BE", blacktriangleleft: "\u25C2", blacktriangleright: "\u25B8", blank: "\u2423", blk12: "\u2592", blk14: "\u2591", blk34: "\u2593", block: "\u2588", bne: "=\u20E5", bnequiv: "\u2261\u20E5", bnot: "\u2310", bNot: "\u2AED", bopf: "\uD835\uDD53", Bopf: "\uD835\uDD39", bot: "\u22A5", bottom: "\u22A5", bowtie: "\u22C8", boxbox: "\u29C9", boxdl: "\u2510", boxdL: "\u2555", boxDl: "\u2556", boxDL: "\u2557", boxdr: "\u250C", boxdR: "\u2552", boxDr: "\u2553", boxDR: "\u2554", boxh: "\u2500", boxH: "\u2550", boxhd: "\u252C", boxhD: "\u2565", boxHd: "\u2564", boxHD: "\u2566", boxhu: "\u2534", boxhU: "\u2568", boxHu: "\u2567", boxHU: "\u2569", boxminus: "\u229F", boxplus: "\u229E", boxtimes: "\u22A0", boxul: "\u2518", boxuL: "\u255B", boxUl: "\u255C", boxUL: "\u255D", boxur: "\u2514", boxuR: "\u2558", boxUr: "\u2559", boxUR: "\u255A", boxv: "\u2502", boxV: "\u2551", boxvh: "\u253C", boxvH: "\u256A", boxVh: "\u256B", boxVH: "\u256C", boxvl: "\u2524", boxvL: "\u2561", boxVl: "\u2562", boxVL: "\u2563", boxvr: "\u251C", boxvR: "\u255E", boxVr: "\u255F", boxVR: "\u2560", bprime: "\u2035", breve: "\u02D8", Breve: "\u02D8", brvbar: "\xA6", bscr: "\uD835\uDCB7", Bscr: "\u212C", bsemi: "\u204F", bsim: "\u223D", bsime: "\u22CD", bsol: "\\", bsolb: "\u29C5", bsolhsub: "\u27C8", bull: "\u2022", bullet: "\u2022", bump: "\u224E", bumpe: "\u224F", bumpE: "\u2AAE", bumpeq: "\u224F", Bumpeq: "\u224E", cacute: "\u0107", Cacute: "\u0106", cap: "\u2229", Cap: "\u22D2", capand: "\u2A44", capbrcup: "\u2A49", capcap: "\u2A4B", capcup: "\u2A47", capdot: "\u2A40", CapitalDifferentialD: "\u2145", caps: "\u2229\uFE00", caret: "\u2041", caron: "\u02C7", Cayleys: "\u212D", ccaps: "\u2A4D", ccaron: "\u010D", Ccaron: "\u010C", ccedil: "\xE7", Ccedil: "\xC7", ccirc: "\u0109", Ccirc: "\u0108", Cconint: "\u2230", ccups: "\u2A4C", ccupssm: "\u2A50", cdot: "\u010B", Cdot: "\u010A", cedil: "\xB8", Cedilla: "\xB8", cemptyv: "\u29B2", cent: "\xA2", centerdot: "\xB7", CenterDot: "\xB7", cfr: "\uD835\uDD20", Cfr: "\u212D", chcy: "\u0447", CHcy: "\u0427", check: "\u2713", checkmark: "\u2713", chi: "\u03C7", Chi: "\u03A7", cir: "\u25CB", circ: "\u02C6", circeq: "\u2257", circlearrowleft: "\u21BA", circlearrowright: "\u21BB", circledast: "\u229B", circledcirc: "\u229A", circleddash: "\u229D", CircleDot: "\u2299", circledR: "\xAE", circledS: "\u24C8", CircleMinus: "\u2296", CirclePlus: "\u2295", CircleTimes: "\u2297", cire: "\u2257", cirE: "\u29C3", cirfnint: "\u2A10", cirmid: "\u2AEF", cirscir: "\u29C2", ClockwiseContourIntegral: "\u2232", CloseCurlyDoubleQuote: "\u201D", CloseCurlyQuote: "\u2019", clubs: "\u2663", clubsuit: "\u2663", colon: ":", Colon: "\u2237", colone: "\u2254", Colone: "\u2A74", coloneq: "\u2254", comma: ",", commat: "@", comp: "\u2201", compfn: "\u2218", complement: "\u2201", complexes: "\u2102", cong: "\u2245", congdot: "\u2A6D", Congruent: "\u2261", conint: "\u222E", Conint: "\u222F", ContourIntegral: "\u222E", copf: "\uD835\uDD54", Copf: "\u2102", coprod: "\u2210", Coproduct: "\u2210", copy: "\xA9", COPY: "\xA9", copysr: "\u2117", CounterClockwiseContourIntegral: "\u2233", crarr: "\u21B5", cross: "\u2717", Cross: "\u2A2F", cscr: "\uD835\uDCB8", Cscr: "\uD835\uDC9E", csub: "\u2ACF", csube: "\u2AD1", csup: "\u2AD0", csupe: "\u2AD2", ctdot: "\u22EF", cudarrl: "\u2938", cudarrr: "\u2935", cuepr: "\u22DE", cuesc: "\u22DF", cularr: "\u21B6", cularrp: "\u293D", cup: "\u222A", Cup: "\u22D3", cupbrcap: "\u2A48", cupcap: "\u2A46", CupCap: "\u224D", cupcup: "\u2A4A", cupdot: "\u228D", cupor: "\u2A45", cups: "\u222A\uFE00", curarr: "\u21B7", curarrm: "\u293C", curlyeqprec: "\u22DE", curlyeqsucc: "\u22DF", curlyvee: "\u22CE", curlywedge: "\u22CF", curren: "\xA4", curvearrowleft: "\u21B6", curvearrowright: "\u21B7", cuvee: "\u22CE", cuwed: "\u22CF", cwconint: "\u2232", cwint: "\u2231", cylcty: "\u232D", dagger: "\u2020", Dagger: "\u2021", daleth: "\u2138", darr: "\u2193", dArr: "\u21D3", Darr: "\u21A1", dash: "\u2010", dashv: "\u22A3", Dashv: "\u2AE4", dbkarow: "\u290F", dblac: "\u02DD", dcaron: "\u010F", Dcaron: "\u010E", dcy: "\u0434", Dcy: "\u0414", dd: "\u2146", DD: "\u2145", ddagger: "\u2021", ddarr: "\u21CA", DDotrahd: "\u2911", ddotseq: "\u2A77", deg: "\xB0", Del: "\u2207", delta: "\u03B4", Delta: "\u0394", demptyv: "\u29B1", dfisht: "\u297F", dfr: "\uD835\uDD21", Dfr: "\uD835\uDD07", dHar: "\u2965", dharl: "\u21C3", dharr: "\u21C2", DiacriticalAcute: "\xB4", DiacriticalDot: "\u02D9", DiacriticalDoubleAcute: "\u02DD", DiacriticalGrave: "`", DiacriticalTilde: "\u02DC", diam: "\u22C4", diamond: "\u22C4", Diamond: "\u22C4", diamondsuit: "\u2666", diams: "\u2666", die: "\xA8", DifferentialD: "\u2146", digamma: "\u03DD", disin: "\u22F2", div: "\xF7", divide: "\xF7", divideontimes: "\u22C7", divonx: "\u22C7", djcy: "\u0452", DJcy: "\u0402", dlcorn: "\u231E", dlcrop: "\u230D", dollar: "$", dopf: "\uD835\uDD55", Dopf: "\uD835\uDD3B", dot: "\u02D9", Dot: "\xA8", DotDot: "\u20DC", doteq: "\u2250", doteqdot: "\u2251", DotEqual: "\u2250", dotminus: "\u2238", dotplus: "\u2214", dotsquare: "\u22A1", doublebarwedge: "\u2306", DoubleContourIntegral: "\u222F", DoubleDot: "\xA8", DoubleDownArrow: "\u21D3", DoubleLeftArrow: "\u21D0", DoubleLeftRightArrow: "\u21D4", DoubleLeftTee: "\u2AE4", DoubleLongLeftArrow: "\u27F8", DoubleLongLeftRightArrow: "\u27FA", DoubleLongRightArrow: "\u27F9", DoubleRightArrow: "\u21D2", DoubleRightTee: "\u22A8", DoubleUpArrow: "\u21D1", DoubleUpDownArrow: "\u21D5", DoubleVerticalBar: "\u2225", downarrow: "\u2193", Downarrow: "\u21D3", DownArrow: "\u2193", DownArrowBar: "\u2913", DownArrowUpArrow: "\u21F5", DownBreve: "\u0311", downdownarrows: "\u21CA", downharpoonleft: "\u21C3", downharpoonright: "\u21C2", DownLeftRightVector: "\u2950", DownLeftTeeVector: "\u295E", DownLeftVector: "\u21BD", DownLeftVectorBar: "\u2956", DownRightTeeVector: "\u295F", DownRightVector: "\u21C1", DownRightVectorBar: "\u2957", DownTee: "\u22A4", DownTeeArrow: "\u21A7", drbkarow: "\u2910", drcorn: "\u231F", drcrop: "\u230C", dscr: "\uD835\uDCB9", Dscr: "\uD835\uDC9F", dscy: "\u0455", DScy: "\u0405", dsol: "\u29F6", dstrok: "\u0111", Dstrok: "\u0110", dtdot: "\u22F1", dtri: "\u25BF", dtrif: "\u25BE", duarr: "\u21F5", duhar: "\u296F", dwangle: "\u29A6", dzcy: "\u045F", DZcy: "\u040F", dzigrarr: "\u27FF", eacute: "\xE9", Eacute: "\xC9", easter: "\u2A6E", ecaron: "\u011B", Ecaron: "\u011A", ecir: "\u2256", ecirc: "\xEA", Ecirc: "\xCA", ecolon: "\u2255", ecy: "\u044D", Ecy: "\u042D", eDDot: "\u2A77", edot: "\u0117", eDot: "\u2251", Edot: "\u0116", ee: "\u2147", efDot: "\u2252", efr: "\uD835\uDD22", Efr: "\uD835\uDD08", eg: "\u2A9A", egrave: "\xE8", Egrave: "\xC8", egs: "\u2A96", egsdot: "\u2A98", el: "\u2A99", Element: "\u2208", elinters: "\u23E7", ell: "\u2113", els: "\u2A95", elsdot: "\u2A97", emacr: "\u0113", Emacr: "\u0112", empty: "\u2205", emptyset: "\u2205", EmptySmallSquare: "\u25FB", emptyv: "\u2205", EmptyVerySmallSquare: "\u25AB", emsp: "\u2003", emsp13: "\u2004", emsp14: "\u2005", eng: "\u014B", ENG: "\u014A", ensp: "\u2002", eogon: "\u0119", Eogon: "\u0118", eopf: "\uD835\uDD56", Eopf: "\uD835\uDD3C", epar: "\u22D5", eparsl: "\u29E3", eplus: "\u2A71", epsi: "\u03B5", epsilon: "\u03B5", Epsilon: "\u0395", epsiv: "\u03F5", eqcirc: "\u2256", eqcolon: "\u2255", eqsim: "\u2242", eqslantgtr: "\u2A96", eqslantless: "\u2A95", Equal: "\u2A75", equals: "=", EqualTilde: "\u2242", equest: "\u225F", Equilibrium: "\u21CC", equiv: "\u2261", equivDD: "\u2A78", eqvparsl: "\u29E5", erarr: "\u2971", erDot: "\u2253", escr: "\u212F", Escr: "\u2130", esdot: "\u2250", esim: "\u2242", Esim: "\u2A73", eta: "\u03B7", Eta: "\u0397", eth: "\xF0", ETH: "\xD0", euml: "\xEB", Euml: "\xCB", euro: "\u20AC", excl: "!", exist: "\u2203", Exists: "\u2203", expectation: "\u2130", exponentiale: "\u2147", ExponentialE: "\u2147", fallingdotseq: "\u2252", fcy: "\u0444", Fcy: "\u0424", female: "\u2640", ffilig: "\uFB03", fflig: "\uFB00", ffllig: "\uFB04", ffr: "\uD835\uDD23", Ffr: "\uD835\uDD09", filig: "\uFB01", FilledSmallSquare: "\u25FC", FilledVerySmallSquare: "\u25AA", fjlig: "fj", flat: "\u266D", fllig: "\uFB02", fltns: "\u25B1", fnof: "\u0192", fopf: "\uD835\uDD57", Fopf: "\uD835\uDD3D", forall: "\u2200", ForAll: "\u2200", fork: "\u22D4", forkv: "\u2AD9", Fouriertrf: "\u2131", fpartint: "\u2A0D", frac12: "\xBD", frac13: "\u2153", frac14: "\xBC", frac15: "\u2155", frac16: "\u2159", frac18: "\u215B", frac23: "\u2154", frac25: "\u2156", frac34: "\xBE", frac35: "\u2157", frac38: "\u215C", frac45: "\u2158", frac56: "\u215A", frac58: "\u215D", frac78: "\u215E", frasl: "\u2044", frown: "\u2322", fscr: "\uD835\uDCBB", Fscr: "\u2131", gacute: "\u01F5", gamma: "\u03B3", Gamma: "\u0393", gammad: "\u03DD", Gammad: "\u03DC", gap: "\u2A86", gbreve: "\u011F", Gbreve: "\u011E", Gcedil: "\u0122", gcirc: "\u011D", Gcirc: "\u011C", gcy: "\u0433", Gcy: "\u0413", gdot: "\u0121", Gdot: "\u0120", ge: "\u2265", gE: "\u2267", gel: "\u22DB", gEl: "\u2A8C", geq: "\u2265", geqq: "\u2267", geqslant: "\u2A7E", ges: "\u2A7E", gescc: "\u2AA9", gesdot: "\u2A80", gesdoto: "\u2A82", gesdotol: "\u2A84", gesl: "\u22DB\uFE00", gesles: "\u2A94", gfr: "\uD835\uDD24", Gfr: "\uD835\uDD0A", gg: "\u226B", Gg: "\u22D9", ggg: "\u22D9", gimel: "\u2137", gjcy: "\u0453", GJcy: "\u0403", gl: "\u2277", gla: "\u2AA5", glE: "\u2A92", glj: "\u2AA4", gnap: "\u2A8A", gnapprox: "\u2A8A", gne: "\u2A88", gnE: "\u2269", gneq: "\u2A88", gneqq: "\u2269", gnsim: "\u22E7", gopf: "\uD835\uDD58", Gopf: "\uD835\uDD3E", grave: "`", GreaterEqual: "\u2265", GreaterEqualLess: "\u22DB", GreaterFullEqual: "\u2267", GreaterGreater: "\u2AA2", GreaterLess: "\u2277", GreaterSlantEqual: "\u2A7E", GreaterTilde: "\u2273", gscr: "\u210A", Gscr: "\uD835\uDCA2", gsim: "\u2273", gsime: "\u2A8E", gsiml: "\u2A90", gt: ">", Gt: "\u226B", GT: ">", gtcc: "\u2AA7", gtcir: "\u2A7A", gtdot: "\u22D7", gtlPar: "\u2995", gtquest: "\u2A7C", gtrapprox: "\u2A86", gtrarr: "\u2978", gtrdot: "\u22D7", gtreqless: "\u22DB", gtreqqless: "\u2A8C", gtrless: "\u2277", gtrsim: "\u2273", gvertneqq: "\u2269\uFE00", gvnE: "\u2269\uFE00", Hacek: "\u02C7", hairsp: "\u200A", half: "\xBD", hamilt: "\u210B", hardcy: "\u044A", HARDcy: "\u042A", harr: "\u2194", hArr: "\u21D4", harrcir: "\u2948", harrw: "\u21AD", Hat: "^", hbar: "\u210F", hcirc: "\u0125", Hcirc: "\u0124", hearts: "\u2665", heartsuit: "\u2665", hellip: "\u2026", hercon: "\u22B9", hfr: "\uD835\uDD25", Hfr: "\u210C", HilbertSpace: "\u210B", hksearow: "\u2925", hkswarow: "\u2926", hoarr: "\u21FF", homtht: "\u223B", hookleftarrow: "\u21A9", hookrightarrow: "\u21AA", hopf: "\uD835\uDD59", Hopf: "\u210D", horbar: "\u2015", HorizontalLine: "\u2500", hscr: "\uD835\uDCBD", Hscr: "\u210B", hslash: "\u210F", hstrok: "\u0127", Hstrok: "\u0126", HumpDownHump: "\u224E", HumpEqual: "\u224F", hybull: "\u2043", hyphen: "\u2010", iacute: "\xED", Iacute: "\xCD", ic: "\u2063", icirc: "\xEE", Icirc: "\xCE", icy: "\u0438", Icy: "\u0418", Idot: "\u0130", iecy: "\u0435", IEcy: "\u0415", iexcl: "\xA1", iff: "\u21D4", ifr: "\uD835\uDD26", Ifr: "\u2111", igrave: "\xEC", Igrave: "\xCC", ii: "\u2148", iiiint: "\u2A0C", iiint: "\u222D", iinfin: "\u29DC", iiota: "\u2129", ijlig: "\u0133", IJlig: "\u0132", Im: "\u2111", imacr: "\u012B", Imacr: "\u012A", image: "\u2111", ImaginaryI: "\u2148", imagline: "\u2110", imagpart: "\u2111", imath: "\u0131", imof: "\u22B7", imped: "\u01B5", Implies: "\u21D2", in: "\u2208", incare: "\u2105", infin: "\u221E", infintie: "\u29DD", inodot: "\u0131", int: "\u222B", Int: "\u222C", intcal: "\u22BA", integers: "\u2124", Integral: "\u222B", intercal: "\u22BA", Intersection: "\u22C2", intlarhk: "\u2A17", intprod: "\u2A3C", InvisibleComma: "\u2063", InvisibleTimes: "\u2062", iocy: "\u0451", IOcy: "\u0401", iogon: "\u012F", Iogon: "\u012E", iopf: "\uD835\uDD5A", Iopf: "\uD835\uDD40", iota: "\u03B9", Iota: "\u0399", iprod: "\u2A3C", iquest: "\xBF", iscr: "\uD835\uDCBE", Iscr: "\u2110", isin: "\u2208", isindot: "\u22F5", isinE: "\u22F9", isins: "\u22F4", isinsv: "\u22F3", isinv: "\u2208", it: "\u2062", itilde: "\u0129", Itilde: "\u0128", iukcy: "\u0456", Iukcy: "\u0406", iuml: "\xEF", Iuml: "\xCF", jcirc: "\u0135", Jcirc: "\u0134", jcy: "\u0439", Jcy: "\u0419", jfr: "\uD835\uDD27", Jfr: "\uD835\uDD0D", jmath: "\u0237", jopf: "\uD835\uDD5B", Jopf: "\uD835\uDD41", jscr: "\uD835\uDCBF", Jscr: "\uD835\uDCA5", jsercy: "\u0458", Jsercy: "\u0408", jukcy: "\u0454", Jukcy: "\u0404", kappa: "\u03BA", Kappa: "\u039A", kappav: "\u03F0", kcedil: "\u0137", Kcedil: "\u0136", kcy: "\u043A", Kcy: "\u041A", kfr: "\uD835\uDD28", Kfr: "\uD835\uDD0E", kgreen: "\u0138", khcy: "\u0445", KHcy: "\u0425", kjcy: "\u045C", KJcy: "\u040C", kopf: "\uD835\uDD5C", Kopf: "\uD835\uDD42", kscr: "\uD835\uDCC0", Kscr: "\uD835\uDCA6", lAarr: "\u21DA", lacute: "\u013A", Lacute: "\u0139", laemptyv: "\u29B4", lagran: "\u2112", lambda: "\u03BB", Lambda: "\u039B", lang: "\u27E8", Lang: "\u27EA", langd: "\u2991", langle: "\u27E8", lap: "\u2A85", Laplacetrf: "\u2112", laquo: "\xAB", larr: "\u2190", lArr: "\u21D0", Larr: "\u219E", larrb: "\u21E4", larrbfs: "\u291F", larrfs: "\u291D", larrhk: "\u21A9", larrlp: "\u21AB", larrpl: "\u2939", larrsim: "\u2973", larrtl: "\u21A2", lat: "\u2AAB", latail: "\u2919", lAtail: "\u291B", late: "\u2AAD", lates: "\u2AAD\uFE00", lbarr: "\u290C", lBarr: "\u290E", lbbrk: "\u2772", lbrace: "{", lbrack: "[", lbrke: "\u298B", lbrksld: "\u298F", lbrkslu: "\u298D", lcaron: "\u013E", Lcaron: "\u013D", lcedil: "\u013C", Lcedil: "\u013B", lceil: "\u2308", lcub: "{", lcy: "\u043B", Lcy: "\u041B", ldca: "\u2936", ldquo: "\u201C", ldquor: "\u201E", ldrdhar: "\u2967", ldrushar: "\u294B", ldsh: "\u21B2", le: "\u2264", lE: "\u2266", LeftAngleBracket: "\u27E8", leftarrow: "\u2190", Leftarrow: "\u21D0", LeftArrow: "\u2190", LeftArrowBar: "\u21E4", LeftArrowRightArrow: "\u21C6", leftarrowtail: "\u21A2", LeftCeiling: "\u2308", LeftDoubleBracket: "\u27E6", LeftDownTeeVector: "\u2961", LeftDownVector: "\u21C3", LeftDownVectorBar: "\u2959", LeftFloor: "\u230A", leftharpoondown: "\u21BD", leftharpoonup: "\u21BC", leftleftarrows: "\u21C7", leftrightarrow: "\u2194", Leftrightarrow: "\u21D4", LeftRightArrow: "\u2194", leftrightarrows: "\u21C6", leftrightharpoons: "\u21CB", leftrightsquigarrow: "\u21AD", LeftRightVector: "\u294E", LeftTee: "\u22A3", LeftTeeArrow: "\u21A4", LeftTeeVector: "\u295A", leftthreetimes: "\u22CB", LeftTriangle: "\u22B2", LeftTriangleBar: "\u29CF", LeftTriangleEqual: "\u22B4", LeftUpDownVector: "\u2951", LeftUpTeeVector: "\u2960", LeftUpVector: "\u21BF", LeftUpVectorBar: "\u2958", LeftVector: "\u21BC", LeftVectorBar: "\u2952", leg: "\u22DA", lEg: "\u2A8B", leq: "\u2264", leqq: "\u2266", leqslant: "\u2A7D", les: "\u2A7D", lescc: "\u2AA8", lesdot: "\u2A7F", lesdoto: "\u2A81", lesdotor: "\u2A83", lesg: "\u22DA\uFE00", lesges: "\u2A93", lessapprox: "\u2A85", lessdot: "\u22D6", lesseqgtr: "\u22DA", lesseqqgtr: "\u2A8B", LessEqualGreater: "\u22DA", LessFullEqual: "\u2266", LessGreater: "\u2276", lessgtr: "\u2276", LessLess: "\u2AA1", lesssim: "\u2272", LessSlantEqual: "\u2A7D", LessTilde: "\u2272", lfisht: "\u297C", lfloor: "\u230A", lfr: "\uD835\uDD29", Lfr: "\uD835\uDD0F", lg: "\u2276", lgE: "\u2A91", lHar: "\u2962", lhard: "\u21BD", lharu: "\u21BC", lharul: "\u296A", lhblk: "\u2584", ljcy: "\u0459", LJcy: "\u0409", ll: "\u226A", Ll: "\u22D8", llarr: "\u21C7", llcorner: "\u231E", Lleftarrow: "\u21DA", llhard: "\u296B", lltri: "\u25FA", lmidot: "\u0140", Lmidot: "\u013F", lmoust: "\u23B0", lmoustache: "\u23B0", lnap: "\u2A89", lnapprox: "\u2A89", lne: "\u2A87", lnE: "\u2268", lneq: "\u2A87", lneqq: "\u2268", lnsim: "\u22E6", loang: "\u27EC", loarr: "\u21FD", lobrk: "\u27E6", longleftarrow: "\u27F5", Longleftarrow: "\u27F8", LongLeftArrow: "\u27F5", longleftrightarrow: "\u27F7", Longleftrightarrow: "\u27FA", LongLeftRightArrow: "\u27F7", longmapsto: "\u27FC", longrightarrow: "\u27F6", Longrightarrow: "\u27F9", LongRightArrow: "\u27F6", looparrowleft: "\u21AB", looparrowright: "\u21AC", lopar: "\u2985", lopf: "\uD835\uDD5D", Lopf: "\uD835\uDD43", loplus: "\u2A2D", lotimes: "\u2A34", lowast: "\u2217", lowbar: "_", LowerLeftArrow: "\u2199", LowerRightArrow: "\u2198", loz: "\u25CA", lozenge: "\u25CA", lozf: "\u29EB", lpar: "(", lparlt: "\u2993", lrarr: "\u21C6", lrcorner: "\u231F", lrhar: "\u21CB", lrhard: "\u296D", lrm: "\u200E", lrtri: "\u22BF", lsaquo: "\u2039", lscr: "\uD835\uDCC1", Lscr: "\u2112", lsh: "\u21B0", Lsh: "\u21B0", lsim: "\u2272", lsime: "\u2A8D", lsimg: "\u2A8F", lsqb: "[", lsquo: "\u2018", lsquor: "\u201A", lstrok: "\u0142", Lstrok: "\u0141", lt: "<", Lt: "\u226A", LT: "<", ltcc: "\u2AA6", ltcir: "\u2A79", ltdot: "\u22D6", lthree: "\u22CB", ltimes: "\u22C9", ltlarr: "\u2976", ltquest: "\u2A7B", ltri: "\u25C3", ltrie: "\u22B4", ltrif: "\u25C2", ltrPar: "\u2996", lurdshar: "\u294A", luruhar: "\u2966", lvertneqq: "\u2268\uFE00", lvnE: "\u2268\uFE00", macr: "\xAF", male: "\u2642", malt: "\u2720", maltese: "\u2720", map: "\u21A6", Map: "\u2905", mapsto: "\u21A6", mapstodown: "\u21A7", mapstoleft: "\u21A4", mapstoup: "\u21A5", marker: "\u25AE", mcomma: "\u2A29", mcy: "\u043C", Mcy: "\u041C", mdash: "\u2014", mDDot: "\u223A", measuredangle: "\u2221", MediumSpace: "\u205F", Mellintrf: "\u2133", mfr: "\uD835\uDD2A", Mfr: "\uD835\uDD10", mho: "\u2127", micro: "\xB5", mid: "\u2223", midast: "*", midcir: "\u2AF0", middot: "\xB7", minus: "\u2212", minusb: "\u229F", minusd: "\u2238", minusdu: "\u2A2A", MinusPlus: "\u2213", mlcp: "\u2ADB", mldr: "\u2026", mnplus: "\u2213", models: "\u22A7", mopf: "\uD835\uDD5E", Mopf: "\uD835\uDD44", mp: "\u2213", mscr: "\uD835\uDCC2", Mscr: "\u2133", mstpos: "\u223E", mu: "\u03BC", Mu: "\u039C", multimap: "\u22B8", mumap: "\u22B8", nabla: "\u2207", nacute: "\u0144", Nacute: "\u0143", nang: "\u2220\u20D2", nap: "\u2249", napE: "\u2A70\u0338", napid: "\u224B\u0338", napos: "\u0149", napprox: "\u2249", natur: "\u266E", natural: "\u266E", naturals: "\u2115", nbsp: "\xA0", nbump: "\u224E\u0338", nbumpe: "\u224F\u0338", ncap: "\u2A43", ncaron: "\u0148", Ncaron: "\u0147", ncedil: "\u0146", Ncedil: "\u0145", ncong: "\u2247", ncongdot: "\u2A6D\u0338", ncup: "\u2A42", ncy: "\u043D", Ncy: "\u041D", ndash: "\u2013", ne: "\u2260", nearhk: "\u2924", nearr: "\u2197", neArr: "\u21D7", nearrow: "\u2197", nedot: "\u2250\u0338", NegativeMediumSpace: "\u200B", NegativeThickSpace: "\u200B", NegativeThinSpace: "\u200B", NegativeVeryThinSpace: "\u200B", nequiv: "\u2262", nesear: "\u2928", nesim: "\u2242\u0338", NestedGreaterGreater: "\u226B", NestedLessLess: "\u226A", NewLine: `
|
|
101466
|
+
`, nexist: "\u2204", nexists: "\u2204", nfr: "\uD835\uDD2B", Nfr: "\uD835\uDD11", nge: "\u2271", ngE: "\u2267\u0338", ngeq: "\u2271", ngeqq: "\u2267\u0338", ngeqslant: "\u2A7E\u0338", nges: "\u2A7E\u0338", nGg: "\u22D9\u0338", ngsim: "\u2275", ngt: "\u226F", nGt: "\u226B\u20D2", ngtr: "\u226F", nGtv: "\u226B\u0338", nharr: "\u21AE", nhArr: "\u21CE", nhpar: "\u2AF2", ni: "\u220B", nis: "\u22FC", nisd: "\u22FA", niv: "\u220B", njcy: "\u045A", NJcy: "\u040A", nlarr: "\u219A", nlArr: "\u21CD", nldr: "\u2025", nle: "\u2270", nlE: "\u2266\u0338", nleftarrow: "\u219A", nLeftarrow: "\u21CD", nleftrightarrow: "\u21AE", nLeftrightarrow: "\u21CE", nleq: "\u2270", nleqq: "\u2266\u0338", nleqslant: "\u2A7D\u0338", nles: "\u2A7D\u0338", nless: "\u226E", nLl: "\u22D8\u0338", nlsim: "\u2274", nlt: "\u226E", nLt: "\u226A\u20D2", nltri: "\u22EA", nltrie: "\u22EC", nLtv: "\u226A\u0338", nmid: "\u2224", NoBreak: "\u2060", NonBreakingSpace: "\xA0", nopf: "\uD835\uDD5F", Nopf: "\u2115", not: "\xAC", Not: "\u2AEC", NotCongruent: "\u2262", NotCupCap: "\u226D", NotDoubleVerticalBar: "\u2226", NotElement: "\u2209", NotEqual: "\u2260", NotEqualTilde: "\u2242\u0338", NotExists: "\u2204", NotGreater: "\u226F", NotGreaterEqual: "\u2271", NotGreaterFullEqual: "\u2267\u0338", NotGreaterGreater: "\u226B\u0338", NotGreaterLess: "\u2279", NotGreaterSlantEqual: "\u2A7E\u0338", NotGreaterTilde: "\u2275", NotHumpDownHump: "\u224E\u0338", NotHumpEqual: "\u224F\u0338", notin: "\u2209", notindot: "\u22F5\u0338", notinE: "\u22F9\u0338", notinva: "\u2209", notinvb: "\u22F7", notinvc: "\u22F6", NotLeftTriangle: "\u22EA", NotLeftTriangleBar: "\u29CF\u0338", NotLeftTriangleEqual: "\u22EC", NotLess: "\u226E", NotLessEqual: "\u2270", NotLessGreater: "\u2278", NotLessLess: "\u226A\u0338", NotLessSlantEqual: "\u2A7D\u0338", NotLessTilde: "\u2274", NotNestedGreaterGreater: "\u2AA2\u0338", NotNestedLessLess: "\u2AA1\u0338", notni: "\u220C", notniva: "\u220C", notnivb: "\u22FE", notnivc: "\u22FD", NotPrecedes: "\u2280", NotPrecedesEqual: "\u2AAF\u0338", NotPrecedesSlantEqual: "\u22E0", NotReverseElement: "\u220C", NotRightTriangle: "\u22EB", NotRightTriangleBar: "\u29D0\u0338", NotRightTriangleEqual: "\u22ED", NotSquareSubset: "\u228F\u0338", NotSquareSubsetEqual: "\u22E2", NotSquareSuperset: "\u2290\u0338", NotSquareSupersetEqual: "\u22E3", NotSubset: "\u2282\u20D2", NotSubsetEqual: "\u2288", NotSucceeds: "\u2281", NotSucceedsEqual: "\u2AB0\u0338", NotSucceedsSlantEqual: "\u22E1", NotSucceedsTilde: "\u227F\u0338", NotSuperset: "\u2283\u20D2", NotSupersetEqual: "\u2289", NotTilde: "\u2241", NotTildeEqual: "\u2244", NotTildeFullEqual: "\u2247", NotTildeTilde: "\u2249", NotVerticalBar: "\u2224", npar: "\u2226", nparallel: "\u2226", nparsl: "\u2AFD\u20E5", npart: "\u2202\u0338", npolint: "\u2A14", npr: "\u2280", nprcue: "\u22E0", npre: "\u2AAF\u0338", nprec: "\u2280", npreceq: "\u2AAF\u0338", nrarr: "\u219B", nrArr: "\u21CF", nrarrc: "\u2933\u0338", nrarrw: "\u219D\u0338", nrightarrow: "\u219B", nRightarrow: "\u21CF", nrtri: "\u22EB", nrtrie: "\u22ED", nsc: "\u2281", nsccue: "\u22E1", nsce: "\u2AB0\u0338", nscr: "\uD835\uDCC3", Nscr: "\uD835\uDCA9", nshortmid: "\u2224", nshortparallel: "\u2226", nsim: "\u2241", nsime: "\u2244", nsimeq: "\u2244", nsmid: "\u2224", nspar: "\u2226", nsqsube: "\u22E2", nsqsupe: "\u22E3", nsub: "\u2284", nsube: "\u2288", nsubE: "\u2AC5\u0338", nsubset: "\u2282\u20D2", nsubseteq: "\u2288", nsubseteqq: "\u2AC5\u0338", nsucc: "\u2281", nsucceq: "\u2AB0\u0338", nsup: "\u2285", nsupe: "\u2289", nsupE: "\u2AC6\u0338", nsupset: "\u2283\u20D2", nsupseteq: "\u2289", nsupseteqq: "\u2AC6\u0338", ntgl: "\u2279", ntilde: "\xF1", Ntilde: "\xD1", ntlg: "\u2278", ntriangleleft: "\u22EA", ntrianglelefteq: "\u22EC", ntriangleright: "\u22EB", ntrianglerighteq: "\u22ED", nu: "\u03BD", Nu: "\u039D", num: "#", numero: "\u2116", numsp: "\u2007", nvap: "\u224D\u20D2", nvdash: "\u22AC", nvDash: "\u22AD", nVdash: "\u22AE", nVDash: "\u22AF", nvge: "\u2265\u20D2", nvgt: ">\u20D2", nvHarr: "\u2904", nvinfin: "\u29DE", nvlArr: "\u2902", nvle: "\u2264\u20D2", nvlt: "<\u20D2", nvltrie: "\u22B4\u20D2", nvrArr: "\u2903", nvrtrie: "\u22B5\u20D2", nvsim: "\u223C\u20D2", nwarhk: "\u2923", nwarr: "\u2196", nwArr: "\u21D6", nwarrow: "\u2196", nwnear: "\u2927", oacute: "\xF3", Oacute: "\xD3", oast: "\u229B", ocir: "\u229A", ocirc: "\xF4", Ocirc: "\xD4", ocy: "\u043E", Ocy: "\u041E", odash: "\u229D", odblac: "\u0151", Odblac: "\u0150", odiv: "\u2A38", odot: "\u2299", odsold: "\u29BC", oelig: "\u0153", OElig: "\u0152", ofcir: "\u29BF", ofr: "\uD835\uDD2C", Ofr: "\uD835\uDD12", ogon: "\u02DB", ograve: "\xF2", Ograve: "\xD2", ogt: "\u29C1", ohbar: "\u29B5", ohm: "\u03A9", oint: "\u222E", olarr: "\u21BA", olcir: "\u29BE", olcross: "\u29BB", oline: "\u203E", olt: "\u29C0", omacr: "\u014D", Omacr: "\u014C", omega: "\u03C9", Omega: "\u03A9", omicron: "\u03BF", Omicron: "\u039F", omid: "\u29B6", ominus: "\u2296", oopf: "\uD835\uDD60", Oopf: "\uD835\uDD46", opar: "\u29B7", OpenCurlyDoubleQuote: "\u201C", OpenCurlyQuote: "\u2018", operp: "\u29B9", oplus: "\u2295", or: "\u2228", Or: "\u2A54", orarr: "\u21BB", ord: "\u2A5D", order: "\u2134", orderof: "\u2134", ordf: "\xAA", ordm: "\xBA", origof: "\u22B6", oror: "\u2A56", orslope: "\u2A57", orv: "\u2A5B", oS: "\u24C8", oscr: "\u2134", Oscr: "\uD835\uDCAA", oslash: "\xF8", Oslash: "\xD8", osol: "\u2298", otilde: "\xF5", Otilde: "\xD5", otimes: "\u2297", Otimes: "\u2A37", otimesas: "\u2A36", ouml: "\xF6", Ouml: "\xD6", ovbar: "\u233D", OverBar: "\u203E", OverBrace: "\u23DE", OverBracket: "\u23B4", OverParenthesis: "\u23DC", par: "\u2225", para: "\xB6", parallel: "\u2225", parsim: "\u2AF3", parsl: "\u2AFD", part: "\u2202", PartialD: "\u2202", pcy: "\u043F", Pcy: "\u041F", percnt: "%", period: ".", permil: "\u2030", perp: "\u22A5", pertenk: "\u2031", pfr: "\uD835\uDD2D", Pfr: "\uD835\uDD13", phi: "\u03C6", Phi: "\u03A6", phiv: "\u03D5", phmmat: "\u2133", phone: "\u260E", pi: "\u03C0", Pi: "\u03A0", pitchfork: "\u22D4", piv: "\u03D6", planck: "\u210F", planckh: "\u210E", plankv: "\u210F", plus: "+", plusacir: "\u2A23", plusb: "\u229E", pluscir: "\u2A22", plusdo: "\u2214", plusdu: "\u2A25", pluse: "\u2A72", PlusMinus: "\xB1", plusmn: "\xB1", plussim: "\u2A26", plustwo: "\u2A27", pm: "\xB1", Poincareplane: "\u210C", pointint: "\u2A15", popf: "\uD835\uDD61", Popf: "\u2119", pound: "\xA3", pr: "\u227A", Pr: "\u2ABB", prap: "\u2AB7", prcue: "\u227C", pre: "\u2AAF", prE: "\u2AB3", prec: "\u227A", precapprox: "\u2AB7", preccurlyeq: "\u227C", Precedes: "\u227A", PrecedesEqual: "\u2AAF", PrecedesSlantEqual: "\u227C", PrecedesTilde: "\u227E", preceq: "\u2AAF", precnapprox: "\u2AB9", precneqq: "\u2AB5", precnsim: "\u22E8", precsim: "\u227E", prime: "\u2032", Prime: "\u2033", primes: "\u2119", prnap: "\u2AB9", prnE: "\u2AB5", prnsim: "\u22E8", prod: "\u220F", Product: "\u220F", profalar: "\u232E", profline: "\u2312", profsurf: "\u2313", prop: "\u221D", Proportion: "\u2237", Proportional: "\u221D", propto: "\u221D", prsim: "\u227E", prurel: "\u22B0", pscr: "\uD835\uDCC5", Pscr: "\uD835\uDCAB", psi: "\u03C8", Psi: "\u03A8", puncsp: "\u2008", qfr: "\uD835\uDD2E", Qfr: "\uD835\uDD14", qint: "\u2A0C", qopf: "\uD835\uDD62", Qopf: "\u211A", qprime: "\u2057", qscr: "\uD835\uDCC6", Qscr: "\uD835\uDCAC", quaternions: "\u210D", quatint: "\u2A16", quest: "?", questeq: "\u225F", quot: '"', QUOT: '"', rAarr: "\u21DB", race: "\u223D\u0331", racute: "\u0155", Racute: "\u0154", radic: "\u221A", raemptyv: "\u29B3", rang: "\u27E9", Rang: "\u27EB", rangd: "\u2992", range: "\u29A5", rangle: "\u27E9", raquo: "\xBB", rarr: "\u2192", rArr: "\u21D2", Rarr: "\u21A0", rarrap: "\u2975", rarrb: "\u21E5", rarrbfs: "\u2920", rarrc: "\u2933", rarrfs: "\u291E", rarrhk: "\u21AA", rarrlp: "\u21AC", rarrpl: "\u2945", rarrsim: "\u2974", rarrtl: "\u21A3", Rarrtl: "\u2916", rarrw: "\u219D", ratail: "\u291A", rAtail: "\u291C", ratio: "\u2236", rationals: "\u211A", rbarr: "\u290D", rBarr: "\u290F", RBarr: "\u2910", rbbrk: "\u2773", rbrace: "}", rbrack: "]", rbrke: "\u298C", rbrksld: "\u298E", rbrkslu: "\u2990", rcaron: "\u0159", Rcaron: "\u0158", rcedil: "\u0157", Rcedil: "\u0156", rceil: "\u2309", rcub: "}", rcy: "\u0440", Rcy: "\u0420", rdca: "\u2937", rdldhar: "\u2969", rdquo: "\u201D", rdquor: "\u201D", rdsh: "\u21B3", Re: "\u211C", real: "\u211C", realine: "\u211B", realpart: "\u211C", reals: "\u211D", rect: "\u25AD", reg: "\xAE", REG: "\xAE", ReverseElement: "\u220B", ReverseEquilibrium: "\u21CB", ReverseUpEquilibrium: "\u296F", rfisht: "\u297D", rfloor: "\u230B", rfr: "\uD835\uDD2F", Rfr: "\u211C", rHar: "\u2964", rhard: "\u21C1", rharu: "\u21C0", rharul: "\u296C", rho: "\u03C1", Rho: "\u03A1", rhov: "\u03F1", RightAngleBracket: "\u27E9", rightarrow: "\u2192", Rightarrow: "\u21D2", RightArrow: "\u2192", RightArrowBar: "\u21E5", RightArrowLeftArrow: "\u21C4", rightarrowtail: "\u21A3", RightCeiling: "\u2309", RightDoubleBracket: "\u27E7", RightDownTeeVector: "\u295D", RightDownVector: "\u21C2", RightDownVectorBar: "\u2955", RightFloor: "\u230B", rightharpoondown: "\u21C1", rightharpoonup: "\u21C0", rightleftarrows: "\u21C4", rightleftharpoons: "\u21CC", rightrightarrows: "\u21C9", rightsquigarrow: "\u219D", RightTee: "\u22A2", RightTeeArrow: "\u21A6", RightTeeVector: "\u295B", rightthreetimes: "\u22CC", RightTriangle: "\u22B3", RightTriangleBar: "\u29D0", RightTriangleEqual: "\u22B5", RightUpDownVector: "\u294F", RightUpTeeVector: "\u295C", RightUpVector: "\u21BE", RightUpVectorBar: "\u2954", RightVector: "\u21C0", RightVectorBar: "\u2953", ring: "\u02DA", risingdotseq: "\u2253", rlarr: "\u21C4", rlhar: "\u21CC", rlm: "\u200F", rmoust: "\u23B1", rmoustache: "\u23B1", rnmid: "\u2AEE", roang: "\u27ED", roarr: "\u21FE", robrk: "\u27E7", ropar: "\u2986", ropf: "\uD835\uDD63", Ropf: "\u211D", roplus: "\u2A2E", rotimes: "\u2A35", RoundImplies: "\u2970", rpar: ")", rpargt: "\u2994", rppolint: "\u2A12", rrarr: "\u21C9", Rrightarrow: "\u21DB", rsaquo: "\u203A", rscr: "\uD835\uDCC7", Rscr: "\u211B", rsh: "\u21B1", Rsh: "\u21B1", rsqb: "]", rsquo: "\u2019", rsquor: "\u2019", rthree: "\u22CC", rtimes: "\u22CA", rtri: "\u25B9", rtrie: "\u22B5", rtrif: "\u25B8", rtriltri: "\u29CE", RuleDelayed: "\u29F4", ruluhar: "\u2968", rx: "\u211E", sacute: "\u015B", Sacute: "\u015A", sbquo: "\u201A", sc: "\u227B", Sc: "\u2ABC", scap: "\u2AB8", scaron: "\u0161", Scaron: "\u0160", sccue: "\u227D", sce: "\u2AB0", scE: "\u2AB4", scedil: "\u015F", Scedil: "\u015E", scirc: "\u015D", Scirc: "\u015C", scnap: "\u2ABA", scnE: "\u2AB6", scnsim: "\u22E9", scpolint: "\u2A13", scsim: "\u227F", scy: "\u0441", Scy: "\u0421", sdot: "\u22C5", sdotb: "\u22A1", sdote: "\u2A66", searhk: "\u2925", searr: "\u2198", seArr: "\u21D8", searrow: "\u2198", sect: "\xA7", semi: ";", seswar: "\u2929", setminus: "\u2216", setmn: "\u2216", sext: "\u2736", sfr: "\uD835\uDD30", Sfr: "\uD835\uDD16", sfrown: "\u2322", sharp: "\u266F", shchcy: "\u0449", SHCHcy: "\u0429", shcy: "\u0448", SHcy: "\u0428", ShortDownArrow: "\u2193", ShortLeftArrow: "\u2190", shortmid: "\u2223", shortparallel: "\u2225", ShortRightArrow: "\u2192", ShortUpArrow: "\u2191", shy: "\xAD", sigma: "\u03C3", Sigma: "\u03A3", sigmaf: "\u03C2", sigmav: "\u03C2", sim: "\u223C", simdot: "\u2A6A", sime: "\u2243", simeq: "\u2243", simg: "\u2A9E", simgE: "\u2AA0", siml: "\u2A9D", simlE: "\u2A9F", simne: "\u2246", simplus: "\u2A24", simrarr: "\u2972", slarr: "\u2190", SmallCircle: "\u2218", smallsetminus: "\u2216", smashp: "\u2A33", smeparsl: "\u29E4", smid: "\u2223", smile: "\u2323", smt: "\u2AAA", smte: "\u2AAC", smtes: "\u2AAC\uFE00", softcy: "\u044C", SOFTcy: "\u042C", sol: "/", solb: "\u29C4", solbar: "\u233F", sopf: "\uD835\uDD64", Sopf: "\uD835\uDD4A", spades: "\u2660", spadesuit: "\u2660", spar: "\u2225", sqcap: "\u2293", sqcaps: "\u2293\uFE00", sqcup: "\u2294", sqcups: "\u2294\uFE00", Sqrt: "\u221A", sqsub: "\u228F", sqsube: "\u2291", sqsubset: "\u228F", sqsubseteq: "\u2291", sqsup: "\u2290", sqsupe: "\u2292", sqsupset: "\u2290", sqsupseteq: "\u2292", squ: "\u25A1", square: "\u25A1", Square: "\u25A1", SquareIntersection: "\u2293", SquareSubset: "\u228F", SquareSubsetEqual: "\u2291", SquareSuperset: "\u2290", SquareSupersetEqual: "\u2292", SquareUnion: "\u2294", squarf: "\u25AA", squf: "\u25AA", srarr: "\u2192", sscr: "\uD835\uDCC8", Sscr: "\uD835\uDCAE", ssetmn: "\u2216", ssmile: "\u2323", sstarf: "\u22C6", star: "\u2606", Star: "\u22C6", starf: "\u2605", straightepsilon: "\u03F5", straightphi: "\u03D5", strns: "\xAF", sub: "\u2282", Sub: "\u22D0", subdot: "\u2ABD", sube: "\u2286", subE: "\u2AC5", subedot: "\u2AC3", submult: "\u2AC1", subne: "\u228A", subnE: "\u2ACB", subplus: "\u2ABF", subrarr: "\u2979", subset: "\u2282", Subset: "\u22D0", subseteq: "\u2286", subseteqq: "\u2AC5", SubsetEqual: "\u2286", subsetneq: "\u228A", subsetneqq: "\u2ACB", subsim: "\u2AC7", subsub: "\u2AD5", subsup: "\u2AD3", succ: "\u227B", succapprox: "\u2AB8", succcurlyeq: "\u227D", Succeeds: "\u227B", SucceedsEqual: "\u2AB0", SucceedsSlantEqual: "\u227D", SucceedsTilde: "\u227F", succeq: "\u2AB0", succnapprox: "\u2ABA", succneqq: "\u2AB6", succnsim: "\u22E9", succsim: "\u227F", SuchThat: "\u220B", sum: "\u2211", Sum: "\u2211", sung: "\u266A", sup: "\u2283", Sup: "\u22D1", sup1: "\xB9", sup2: "\xB2", sup3: "\xB3", supdot: "\u2ABE", supdsub: "\u2AD8", supe: "\u2287", supE: "\u2AC6", supedot: "\u2AC4", Superset: "\u2283", SupersetEqual: "\u2287", suphsol: "\u27C9", suphsub: "\u2AD7", suplarr: "\u297B", supmult: "\u2AC2", supne: "\u228B", supnE: "\u2ACC", supplus: "\u2AC0", supset: "\u2283", Supset: "\u22D1", supseteq: "\u2287", supseteqq: "\u2AC6", supsetneq: "\u228B", supsetneqq: "\u2ACC", supsim: "\u2AC8", supsub: "\u2AD4", supsup: "\u2AD6", swarhk: "\u2926", swarr: "\u2199", swArr: "\u21D9", swarrow: "\u2199", swnwar: "\u292A", szlig: "\xDF", Tab: "\t", target: "\u2316", tau: "\u03C4", Tau: "\u03A4", tbrk: "\u23B4", tcaron: "\u0165", Tcaron: "\u0164", tcedil: "\u0163", Tcedil: "\u0162", tcy: "\u0442", Tcy: "\u0422", tdot: "\u20DB", telrec: "\u2315", tfr: "\uD835\uDD31", Tfr: "\uD835\uDD17", there4: "\u2234", therefore: "\u2234", Therefore: "\u2234", theta: "\u03B8", Theta: "\u0398", thetasym: "\u03D1", thetav: "\u03D1", thickapprox: "\u2248", thicksim: "\u223C", ThickSpace: "\u205F\u200A", thinsp: "\u2009", ThinSpace: "\u2009", thkap: "\u2248", thksim: "\u223C", thorn: "\xFE", THORN: "\xDE", tilde: "\u02DC", Tilde: "\u223C", TildeEqual: "\u2243", TildeFullEqual: "\u2245", TildeTilde: "\u2248", times: "\xD7", timesb: "\u22A0", timesbar: "\u2A31", timesd: "\u2A30", tint: "\u222D", toea: "\u2928", top: "\u22A4", topbot: "\u2336", topcir: "\u2AF1", topf: "\uD835\uDD65", Topf: "\uD835\uDD4B", topfork: "\u2ADA", tosa: "\u2929", tprime: "\u2034", trade: "\u2122", TRADE: "\u2122", triangle: "\u25B5", triangledown: "\u25BF", triangleleft: "\u25C3", trianglelefteq: "\u22B4", triangleq: "\u225C", triangleright: "\u25B9", trianglerighteq: "\u22B5", tridot: "\u25EC", trie: "\u225C", triminus: "\u2A3A", TripleDot: "\u20DB", triplus: "\u2A39", trisb: "\u29CD", tritime: "\u2A3B", trpezium: "\u23E2", tscr: "\uD835\uDCC9", Tscr: "\uD835\uDCAF", tscy: "\u0446", TScy: "\u0426", tshcy: "\u045B", TSHcy: "\u040B", tstrok: "\u0167", Tstrok: "\u0166", twixt: "\u226C", twoheadleftarrow: "\u219E", twoheadrightarrow: "\u21A0", uacute: "\xFA", Uacute: "\xDA", uarr: "\u2191", uArr: "\u21D1", Uarr: "\u219F", Uarrocir: "\u2949", ubrcy: "\u045E", Ubrcy: "\u040E", ubreve: "\u016D", Ubreve: "\u016C", ucirc: "\xFB", Ucirc: "\xDB", ucy: "\u0443", Ucy: "\u0423", udarr: "\u21C5", udblac: "\u0171", Udblac: "\u0170", udhar: "\u296E", ufisht: "\u297E", ufr: "\uD835\uDD32", Ufr: "\uD835\uDD18", ugrave: "\xF9", Ugrave: "\xD9", uHar: "\u2963", uharl: "\u21BF", uharr: "\u21BE", uhblk: "\u2580", ulcorn: "\u231C", ulcorner: "\u231C", ulcrop: "\u230F", ultri: "\u25F8", umacr: "\u016B", Umacr: "\u016A", uml: "\xA8", UnderBar: "_", UnderBrace: "\u23DF", UnderBracket: "\u23B5", UnderParenthesis: "\u23DD", Union: "\u22C3", UnionPlus: "\u228E", uogon: "\u0173", Uogon: "\u0172", uopf: "\uD835\uDD66", Uopf: "\uD835\uDD4C", uparrow: "\u2191", Uparrow: "\u21D1", UpArrow: "\u2191", UpArrowBar: "\u2912", UpArrowDownArrow: "\u21C5", updownarrow: "\u2195", Updownarrow: "\u21D5", UpDownArrow: "\u2195", UpEquilibrium: "\u296E", upharpoonleft: "\u21BF", upharpoonright: "\u21BE", uplus: "\u228E", UpperLeftArrow: "\u2196", UpperRightArrow: "\u2197", upsi: "\u03C5", Upsi: "\u03D2", upsih: "\u03D2", upsilon: "\u03C5", Upsilon: "\u03A5", UpTee: "\u22A5", UpTeeArrow: "\u21A5", upuparrows: "\u21C8", urcorn: "\u231D", urcorner: "\u231D", urcrop: "\u230E", uring: "\u016F", Uring: "\u016E", urtri: "\u25F9", uscr: "\uD835\uDCCA", Uscr: "\uD835\uDCB0", utdot: "\u22F0", utilde: "\u0169", Utilde: "\u0168", utri: "\u25B5", utrif: "\u25B4", uuarr: "\u21C8", uuml: "\xFC", Uuml: "\xDC", uwangle: "\u29A7", vangrt: "\u299C", varepsilon: "\u03F5", varkappa: "\u03F0", varnothing: "\u2205", varphi: "\u03D5", varpi: "\u03D6", varpropto: "\u221D", varr: "\u2195", vArr: "\u21D5", varrho: "\u03F1", varsigma: "\u03C2", varsubsetneq: "\u228A\uFE00", varsubsetneqq: "\u2ACB\uFE00", varsupsetneq: "\u228B\uFE00", varsupsetneqq: "\u2ACC\uFE00", vartheta: "\u03D1", vartriangleleft: "\u22B2", vartriangleright: "\u22B3", vBar: "\u2AE8", Vbar: "\u2AEB", vBarv: "\u2AE9", vcy: "\u0432", Vcy: "\u0412", vdash: "\u22A2", vDash: "\u22A8", Vdash: "\u22A9", VDash: "\u22AB", Vdashl: "\u2AE6", vee: "\u2228", Vee: "\u22C1", veebar: "\u22BB", veeeq: "\u225A", vellip: "\u22EE", verbar: "|", Verbar: "\u2016", vert: "|", Vert: "\u2016", VerticalBar: "\u2223", VerticalLine: "|", VerticalSeparator: "\u2758", VerticalTilde: "\u2240", VeryThinSpace: "\u200A", vfr: "\uD835\uDD33", Vfr: "\uD835\uDD19", vltri: "\u22B2", vnsub: "\u2282\u20D2", vnsup: "\u2283\u20D2", vopf: "\uD835\uDD67", Vopf: "\uD835\uDD4D", vprop: "\u221D", vrtri: "\u22B3", vscr: "\uD835\uDCCB", Vscr: "\uD835\uDCB1", vsubne: "\u228A\uFE00", vsubnE: "\u2ACB\uFE00", vsupne: "\u228B\uFE00", vsupnE: "\u2ACC\uFE00", Vvdash: "\u22AA", vzigzag: "\u299A", wcirc: "\u0175", Wcirc: "\u0174", wedbar: "\u2A5F", wedge: "\u2227", Wedge: "\u22C0", wedgeq: "\u2259", weierp: "\u2118", wfr: "\uD835\uDD34", Wfr: "\uD835\uDD1A", wopf: "\uD835\uDD68", Wopf: "\uD835\uDD4E", wp: "\u2118", wr: "\u2240", wreath: "\u2240", wscr: "\uD835\uDCCC", Wscr: "\uD835\uDCB2", xcap: "\u22C2", xcirc: "\u25EF", xcup: "\u22C3", xdtri: "\u25BD", xfr: "\uD835\uDD35", Xfr: "\uD835\uDD1B", xharr: "\u27F7", xhArr: "\u27FA", xi: "\u03BE", Xi: "\u039E", xlarr: "\u27F5", xlArr: "\u27F8", xmap: "\u27FC", xnis: "\u22FB", xodot: "\u2A00", xopf: "\uD835\uDD69", Xopf: "\uD835\uDD4F", xoplus: "\u2A01", xotime: "\u2A02", xrarr: "\u27F6", xrArr: "\u27F9", xscr: "\uD835\uDCCD", Xscr: "\uD835\uDCB3", xsqcup: "\u2A06", xuplus: "\u2A04", xutri: "\u25B3", xvee: "\u22C1", xwedge: "\u22C0", yacute: "\xFD", Yacute: "\xDD", yacy: "\u044F", YAcy: "\u042F", ycirc: "\u0177", Ycirc: "\u0176", ycy: "\u044B", Ycy: "\u042B", yen: "\xA5", yfr: "\uD835\uDD36", Yfr: "\uD835\uDD1C", yicy: "\u0457", YIcy: "\u0407", yopf: "\uD835\uDD6A", Yopf: "\uD835\uDD50", yscr: "\uD835\uDCCE", Yscr: "\uD835\uDCB4", yucy: "\u044E", YUcy: "\u042E", yuml: "\xFF", Yuml: "\u0178", zacute: "\u017A", Zacute: "\u0179", zcaron: "\u017E", Zcaron: "\u017D", zcy: "\u0437", Zcy: "\u0417", zdot: "\u017C", Zdot: "\u017B", zeetrf: "\u2128", ZeroWidthSpace: "\u200B", zeta: "\u03B6", Zeta: "\u0396", zfr: "\uD835\uDD37", Zfr: "\u2128", zhcy: "\u0436", ZHcy: "\u0416", zigrarr: "\u21DD", zopf: "\uD835\uDD6B", Zopf: "\u2124", zscr: "\uD835\uDCCF", Zscr: "\uD835\uDCB5", zwj: "\u200D", zwnj: "\u200C" };
|
|
101467
|
+
var decodeMapLegacy = { aacute: "\xE1", Aacute: "\xC1", acirc: "\xE2", Acirc: "\xC2", acute: "\xB4", aelig: "\xE6", AElig: "\xC6", agrave: "\xE0", Agrave: "\xC0", amp: "&", AMP: "&", aring: "\xE5", Aring: "\xC5", atilde: "\xE3", Atilde: "\xC3", auml: "\xE4", Auml: "\xC4", brvbar: "\xA6", ccedil: "\xE7", Ccedil: "\xC7", cedil: "\xB8", cent: "\xA2", copy: "\xA9", COPY: "\xA9", curren: "\xA4", deg: "\xB0", divide: "\xF7", eacute: "\xE9", Eacute: "\xC9", ecirc: "\xEA", Ecirc: "\xCA", egrave: "\xE8", Egrave: "\xC8", eth: "\xF0", ETH: "\xD0", euml: "\xEB", Euml: "\xCB", frac12: "\xBD", frac14: "\xBC", frac34: "\xBE", gt: ">", GT: ">", iacute: "\xED", Iacute: "\xCD", icirc: "\xEE", Icirc: "\xCE", iexcl: "\xA1", igrave: "\xEC", Igrave: "\xCC", iquest: "\xBF", iuml: "\xEF", Iuml: "\xCF", laquo: "\xAB", lt: "<", LT: "<", macr: "\xAF", micro: "\xB5", middot: "\xB7", nbsp: "\xA0", not: "\xAC", ntilde: "\xF1", Ntilde: "\xD1", oacute: "\xF3", Oacute: "\xD3", ocirc: "\xF4", Ocirc: "\xD4", ograve: "\xF2", Ograve: "\xD2", ordf: "\xAA", ordm: "\xBA", oslash: "\xF8", Oslash: "\xD8", otilde: "\xF5", Otilde: "\xD5", ouml: "\xF6", Ouml: "\xD6", para: "\xB6", plusmn: "\xB1", pound: "\xA3", quot: '"', QUOT: '"', raquo: "\xBB", reg: "\xAE", REG: "\xAE", sect: "\xA7", shy: "\xAD", sup1: "\xB9", sup2: "\xB2", sup3: "\xB3", szlig: "\xDF", thorn: "\xFE", THORN: "\xDE", times: "\xD7", uacute: "\xFA", Uacute: "\xDA", ucirc: "\xFB", Ucirc: "\xDB", ugrave: "\xF9", Ugrave: "\xD9", uml: "\xA8", uuml: "\xFC", Uuml: "\xDC", yacute: "\xFD", Yacute: "\xDD", yen: "\xA5", yuml: "\xFF" };
|
|
101468
|
+
var decodeMapNumeric = { "0": "\uFFFD", "128": "\u20AC", "130": "\u201A", "131": "\u0192", "132": "\u201E", "133": "\u2026", "134": "\u2020", "135": "\u2021", "136": "\u02C6", "137": "\u2030", "138": "\u0160", "139": "\u2039", "140": "\u0152", "142": "\u017D", "145": "\u2018", "146": "\u2019", "147": "\u201C", "148": "\u201D", "149": "\u2022", "150": "\u2013", "151": "\u2014", "152": "\u02DC", "153": "\u2122", "154": "\u0161", "155": "\u203A", "156": "\u0153", "158": "\u017E", "159": "\u0178" };
|
|
101469
|
+
var invalidReferenceCodePoints = [1, 2, 3, 4, 5, 6, 7, 8, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 64976, 64977, 64978, 64979, 64980, 64981, 64982, 64983, 64984, 64985, 64986, 64987, 64988, 64989, 64990, 64991, 64992, 64993, 64994, 64995, 64996, 64997, 64998, 64999, 65000, 65001, 65002, 65003, 65004, 65005, 65006, 65007, 65534, 65535, 131070, 131071, 196606, 196607, 262142, 262143, 327678, 327679, 393214, 393215, 458750, 458751, 524286, 524287, 589822, 589823, 655358, 655359, 720894, 720895, 786430, 786431, 851966, 851967, 917502, 917503, 983038, 983039, 1048574, 1048575, 1114110, 1114111];
|
|
101470
|
+
var stringFromCharCode = String.fromCharCode;
|
|
101471
|
+
var object4 = {};
|
|
101472
|
+
var hasOwnProperty = object4.hasOwnProperty;
|
|
101473
|
+
var has = function(object5, propertyName) {
|
|
101474
|
+
return hasOwnProperty.call(object5, propertyName);
|
|
101475
|
+
};
|
|
101476
|
+
var contains = function(array3, value) {
|
|
101477
|
+
var index = -1;
|
|
101478
|
+
var length = array3.length;
|
|
101479
|
+
while (++index < length) {
|
|
101480
|
+
if (array3[index] == value) {
|
|
101481
|
+
return true;
|
|
101482
|
+
}
|
|
101483
|
+
}
|
|
101484
|
+
return false;
|
|
101485
|
+
};
|
|
101486
|
+
var merge = function(options, defaults) {
|
|
101487
|
+
if (!options) {
|
|
101488
|
+
return defaults;
|
|
101489
|
+
}
|
|
101490
|
+
var result = {};
|
|
101491
|
+
var key2;
|
|
101492
|
+
for (key2 in defaults) {
|
|
101493
|
+
result[key2] = has(options, key2) ? options[key2] : defaults[key2];
|
|
101494
|
+
}
|
|
101495
|
+
return result;
|
|
101496
|
+
};
|
|
101497
|
+
var codePointToSymbol = function(codePoint, strict) {
|
|
101498
|
+
var output = "";
|
|
101499
|
+
if (codePoint >= 55296 && codePoint <= 57343 || codePoint > 1114111) {
|
|
101500
|
+
if (strict) {
|
|
101501
|
+
parseError("character reference outside the permissible Unicode range");
|
|
101502
|
+
}
|
|
101503
|
+
return "\uFFFD";
|
|
101504
|
+
}
|
|
101505
|
+
if (has(decodeMapNumeric, codePoint)) {
|
|
101506
|
+
if (strict) {
|
|
101507
|
+
parseError("disallowed character reference");
|
|
101508
|
+
}
|
|
101509
|
+
return decodeMapNumeric[codePoint];
|
|
101510
|
+
}
|
|
101511
|
+
if (strict && contains(invalidReferenceCodePoints, codePoint)) {
|
|
101512
|
+
parseError("disallowed character reference");
|
|
101513
|
+
}
|
|
101514
|
+
if (codePoint > 65535) {
|
|
101515
|
+
codePoint -= 65536;
|
|
101516
|
+
output += stringFromCharCode(codePoint >>> 10 & 1023 | 55296);
|
|
101517
|
+
codePoint = 56320 | codePoint & 1023;
|
|
101518
|
+
}
|
|
101519
|
+
output += stringFromCharCode(codePoint);
|
|
101520
|
+
return output;
|
|
101521
|
+
};
|
|
101522
|
+
var hexEscape = function(codePoint) {
|
|
101523
|
+
return "&#x" + codePoint.toString(16).toUpperCase() + ";";
|
|
101524
|
+
};
|
|
101525
|
+
var decEscape = function(codePoint) {
|
|
101526
|
+
return "&#" + codePoint + ";";
|
|
101527
|
+
};
|
|
101528
|
+
var parseError = function(message) {
|
|
101529
|
+
throw Error("Parse error: " + message);
|
|
101530
|
+
};
|
|
101531
|
+
var encode2 = function(string3, options) {
|
|
101532
|
+
options = merge(options, encode2.options);
|
|
101533
|
+
var strict = options.strict;
|
|
101534
|
+
if (strict && regexInvalidRawCodePoint.test(string3)) {
|
|
101535
|
+
parseError("forbidden code point");
|
|
101536
|
+
}
|
|
101537
|
+
var encodeEverything = options.encodeEverything;
|
|
101538
|
+
var useNamedReferences = options.useNamedReferences;
|
|
101539
|
+
var allowUnsafeSymbols = options.allowUnsafeSymbols;
|
|
101540
|
+
var escapeCodePoint = options.decimal ? decEscape : hexEscape;
|
|
101541
|
+
var escapeBmpSymbol = function(symbol) {
|
|
101542
|
+
return escapeCodePoint(symbol.charCodeAt(0));
|
|
101543
|
+
};
|
|
101544
|
+
if (encodeEverything) {
|
|
101545
|
+
string3 = string3.replace(regexAsciiWhitelist, function(symbol) {
|
|
101546
|
+
if (useNamedReferences && has(encodeMap, symbol)) {
|
|
101547
|
+
return "&" + encodeMap[symbol] + ";";
|
|
101548
|
+
}
|
|
101549
|
+
return escapeBmpSymbol(symbol);
|
|
101550
|
+
});
|
|
101551
|
+
if (useNamedReferences) {
|
|
101552
|
+
string3 = string3.replace(/>\u20D2/g, ">⃒").replace(/<\u20D2/g, "<⃒").replace(/fj/g, "fj");
|
|
101553
|
+
}
|
|
101554
|
+
if (useNamedReferences) {
|
|
101555
|
+
string3 = string3.replace(regexEncodeNonAscii, function(string4) {
|
|
101556
|
+
return "&" + encodeMap[string4] + ";";
|
|
101557
|
+
});
|
|
101558
|
+
}
|
|
101559
|
+
} else if (useNamedReferences) {
|
|
101560
|
+
if (!allowUnsafeSymbols) {
|
|
101561
|
+
string3 = string3.replace(regexEscape, function(string4) {
|
|
101562
|
+
return "&" + encodeMap[string4] + ";";
|
|
101563
|
+
});
|
|
101564
|
+
}
|
|
101565
|
+
string3 = string3.replace(/>\u20D2/g, ">⃒").replace(/<\u20D2/g, "<⃒");
|
|
101566
|
+
string3 = string3.replace(regexEncodeNonAscii, function(string4) {
|
|
101567
|
+
return "&" + encodeMap[string4] + ";";
|
|
101568
|
+
});
|
|
101569
|
+
} else if (!allowUnsafeSymbols) {
|
|
101570
|
+
string3 = string3.replace(regexEscape, escapeBmpSymbol);
|
|
101571
|
+
}
|
|
101572
|
+
return string3.replace(regexAstralSymbols, function($0) {
|
|
101573
|
+
var high = $0.charCodeAt(0);
|
|
101574
|
+
var low = $0.charCodeAt(1);
|
|
101575
|
+
var codePoint = (high - 55296) * 1024 + low - 56320 + 65536;
|
|
101576
|
+
return escapeCodePoint(codePoint);
|
|
101577
|
+
}).replace(regexBmpWhitelist, escapeBmpSymbol);
|
|
101578
|
+
};
|
|
101579
|
+
encode2.options = {
|
|
101580
|
+
allowUnsafeSymbols: false,
|
|
101581
|
+
encodeEverything: false,
|
|
101582
|
+
strict: false,
|
|
101583
|
+
useNamedReferences: false,
|
|
101584
|
+
decimal: false
|
|
101585
|
+
};
|
|
101586
|
+
var decode2 = function(html, options) {
|
|
101587
|
+
options = merge(options, decode2.options);
|
|
101588
|
+
var strict = options.strict;
|
|
101589
|
+
if (strict && regexInvalidEntity.test(html)) {
|
|
101590
|
+
parseError("malformed character reference");
|
|
101591
|
+
}
|
|
101592
|
+
return html.replace(regexDecode, function($0, $1, $2, $3, $4, $5, $6, $7, $8) {
|
|
101593
|
+
var codePoint;
|
|
101594
|
+
var semicolon;
|
|
101595
|
+
var decDigits;
|
|
101596
|
+
var hexDigits;
|
|
101597
|
+
var reference;
|
|
101598
|
+
var next;
|
|
101599
|
+
if ($1) {
|
|
101600
|
+
reference = $1;
|
|
101601
|
+
return decodeMap[reference];
|
|
101602
|
+
}
|
|
101603
|
+
if ($2) {
|
|
101604
|
+
reference = $2;
|
|
101605
|
+
next = $3;
|
|
101606
|
+
if (next && options.isAttributeValue) {
|
|
101607
|
+
if (strict && next == "=") {
|
|
101608
|
+
parseError("`&` did not start a character reference");
|
|
101609
|
+
}
|
|
101610
|
+
return $0;
|
|
101611
|
+
} else {
|
|
101612
|
+
if (strict) {
|
|
101613
|
+
parseError("named character reference was not terminated by a semicolon");
|
|
101614
|
+
}
|
|
101615
|
+
return decodeMapLegacy[reference] + (next || "");
|
|
101616
|
+
}
|
|
101617
|
+
}
|
|
101618
|
+
if ($4) {
|
|
101619
|
+
decDigits = $4;
|
|
101620
|
+
semicolon = $5;
|
|
101621
|
+
if (strict && !semicolon) {
|
|
101622
|
+
parseError("character reference was not terminated by a semicolon");
|
|
101623
|
+
}
|
|
101624
|
+
codePoint = parseInt(decDigits, 10);
|
|
101625
|
+
return codePointToSymbol(codePoint, strict);
|
|
101626
|
+
}
|
|
101627
|
+
if ($6) {
|
|
101628
|
+
hexDigits = $6;
|
|
101629
|
+
semicolon = $7;
|
|
101630
|
+
if (strict && !semicolon) {
|
|
101631
|
+
parseError("character reference was not terminated by a semicolon");
|
|
101632
|
+
}
|
|
101633
|
+
codePoint = parseInt(hexDigits, 16);
|
|
101634
|
+
return codePointToSymbol(codePoint, strict);
|
|
101635
|
+
}
|
|
101636
|
+
if (strict) {
|
|
101637
|
+
parseError("named character reference was not terminated by a semicolon");
|
|
101638
|
+
}
|
|
101639
|
+
return $0;
|
|
101640
|
+
});
|
|
101641
|
+
};
|
|
101642
|
+
decode2.options = {
|
|
101643
|
+
isAttributeValue: false,
|
|
101644
|
+
strict: false
|
|
101645
|
+
};
|
|
101646
|
+
var escape2 = function(string3) {
|
|
101647
|
+
return string3.replace(regexEscape, function($0) {
|
|
101648
|
+
return escapeMap[$0];
|
|
101649
|
+
});
|
|
101650
|
+
};
|
|
101651
|
+
var he2 = {
|
|
101652
|
+
version: "1.2.0",
|
|
101653
|
+
encode: encode2,
|
|
101654
|
+
decode: decode2,
|
|
101655
|
+
escape: escape2,
|
|
101656
|
+
unescape: decode2
|
|
101657
|
+
};
|
|
101658
|
+
if (typeof define == "function" && typeof define.amd == "object" && define.amd) {
|
|
101659
|
+
define(function() {
|
|
101660
|
+
return he2;
|
|
101661
|
+
});
|
|
101662
|
+
} else if (freeExports && !freeExports.nodeType) {
|
|
101663
|
+
if (freeModule) {
|
|
101664
|
+
freeModule.exports = he2;
|
|
101665
|
+
} else {
|
|
101666
|
+
for (var key in he2) {
|
|
101667
|
+
has(he2, key) && (freeExports[key] = he2[key]);
|
|
101668
|
+
}
|
|
101669
|
+
}
|
|
101670
|
+
} else {
|
|
101671
|
+
root.he = he2;
|
|
101672
|
+
}
|
|
101673
|
+
})(exports);
|
|
101674
|
+
});
|
|
101675
|
+
|
|
101676
|
+
// src/tools/WebSearchTool/adapters/bingAdapter.ts
|
|
101677
|
+
class BingSearchAdapter {
|
|
101678
|
+
async search(query2, options) {
|
|
101679
|
+
const { signal, onProgress, allowedDomains, blockedDomains } = options;
|
|
101680
|
+
if (signal?.aborted) {
|
|
101681
|
+
throw new AbortError;
|
|
101682
|
+
}
|
|
101683
|
+
onProgress?.({ type: "query_update", query: query2 });
|
|
101684
|
+
const url2 = `https://www.bing.com/search?q=${encodeURIComponent(query2)}&setmkt=en-US`;
|
|
101685
|
+
const abortController = new AbortController;
|
|
101686
|
+
if (signal) {
|
|
101687
|
+
signal.addEventListener("abort", () => abortController.abort(), { once: true });
|
|
101688
|
+
}
|
|
101689
|
+
let html;
|
|
101690
|
+
try {
|
|
101691
|
+
const response = await axios_default.get(url2, {
|
|
101692
|
+
signal: abortController.signal,
|
|
101693
|
+
timeout: FETCH_TIMEOUT_MS3,
|
|
101694
|
+
responseType: "text",
|
|
101695
|
+
headers: BROWSER_HEADERS
|
|
101696
|
+
});
|
|
101697
|
+
html = response.data;
|
|
101698
|
+
} catch (e) {
|
|
101699
|
+
if (axios_default.isCancel(e) || abortController.signal.aborted) {
|
|
101700
|
+
throw new AbortError;
|
|
101701
|
+
}
|
|
101702
|
+
throw e;
|
|
101703
|
+
}
|
|
101704
|
+
if (abortController.signal.aborted) {
|
|
101705
|
+
throw new AbortError;
|
|
101706
|
+
}
|
|
101707
|
+
const rawResults = extractBingResults(html);
|
|
101708
|
+
const results = rawResults.filter((r) => {
|
|
101709
|
+
if (!r.url)
|
|
101710
|
+
return false;
|
|
101711
|
+
try {
|
|
101712
|
+
const hostname = new URL(r.url).hostname;
|
|
101713
|
+
if (allowedDomains?.length && !allowedDomains.some((d) => hostname === d || hostname.endsWith("." + d))) {
|
|
101714
|
+
return false;
|
|
101715
|
+
}
|
|
101716
|
+
if (blockedDomains?.length && blockedDomains.some((d) => hostname === d || hostname.endsWith("." + d))) {
|
|
101717
|
+
return false;
|
|
101718
|
+
}
|
|
101719
|
+
} catch {
|
|
101720
|
+
return false;
|
|
101721
|
+
}
|
|
101722
|
+
return true;
|
|
101723
|
+
});
|
|
101724
|
+
onProgress?.({
|
|
101725
|
+
type: "search_results_received",
|
|
101726
|
+
resultCount: results.length,
|
|
101727
|
+
query: query2
|
|
101728
|
+
});
|
|
101729
|
+
return results;
|
|
101730
|
+
}
|
|
101731
|
+
}
|
|
101732
|
+
function extractBingResults(html) {
|
|
101733
|
+
const results = [];
|
|
101734
|
+
const algoBlockRegex = /<li\s+class="b_algo"[^>]*>([\s\S]*?)<\/li>/gi;
|
|
101735
|
+
let blockMatch;
|
|
101736
|
+
while ((blockMatch = algoBlockRegex.exec(html)) !== null) {
|
|
101737
|
+
const block = blockMatch[1];
|
|
101738
|
+
const h2LinkRegex = /<h2[^>]*>\s*<a[^>]+href="([^"]+)"[^>]*>([\s\S]*?)<\/a>/i;
|
|
101739
|
+
const linkMatch = h2LinkRegex.exec(block);
|
|
101740
|
+
if (!linkMatch)
|
|
101741
|
+
continue;
|
|
101742
|
+
const rawUrl = decodeHtmlEntities(linkMatch[1]);
|
|
101743
|
+
const titleHtml = linkMatch[2];
|
|
101744
|
+
const url2 = resolveBingUrl(rawUrl);
|
|
101745
|
+
if (!url2)
|
|
101746
|
+
continue;
|
|
101747
|
+
const title = decodeHtmlEntities(titleHtml.replace(/<[^>]+>/g, "").trim());
|
|
101748
|
+
const snippet = extractSnippet(block);
|
|
101749
|
+
results.push({ title, url: url2, snippet });
|
|
101750
|
+
}
|
|
101751
|
+
return results;
|
|
101752
|
+
}
|
|
101753
|
+
function extractSnippet(block) {
|
|
101754
|
+
const lineclampRegex = /<p[^>]*class="b_lineclamp[^"]*"[^>]*>([\s\S]*?)<\/p>/i;
|
|
101755
|
+
let match = lineclampRegex.exec(block);
|
|
101756
|
+
if (match) {
|
|
101757
|
+
return decodeHtmlEntities(match[1].replace(/<[^>]+>/g, "").trim());
|
|
101758
|
+
}
|
|
101759
|
+
const captionPRegex = /<div[^>]*class="b_caption[^"]*"[^>]*>[\s\S]*?<p[^>]*>([\s\S]*?)<\/p>/i;
|
|
101760
|
+
match = captionPRegex.exec(block);
|
|
101761
|
+
if (match) {
|
|
101762
|
+
return decodeHtmlEntities(match[1].replace(/<[^>]+>/g, "").trim());
|
|
101763
|
+
}
|
|
101764
|
+
const fallbackRegex = /<div[^>]*class="b_caption[^"]*"[^>]*>([\s\S]*?)<\/div>/i;
|
|
101765
|
+
const fallbackMatch = fallbackRegex.exec(block);
|
|
101766
|
+
if (fallbackMatch) {
|
|
101767
|
+
const text2 = fallbackMatch[1].replace(/<[^>]+>/g, "").trim();
|
|
101768
|
+
if (text2)
|
|
101769
|
+
return decodeHtmlEntities(text2);
|
|
101770
|
+
}
|
|
101771
|
+
return;
|
|
101772
|
+
}
|
|
101773
|
+
function resolveBingUrl(rawUrl) {
|
|
101774
|
+
if (rawUrl.startsWith("/") || rawUrl.startsWith("#"))
|
|
101775
|
+
return;
|
|
101776
|
+
const uMatch = rawUrl.match(/[?&]u=([a-zA-Z0-9+/_=-]+)/);
|
|
101777
|
+
if (uMatch) {
|
|
101778
|
+
const encoded = uMatch[1];
|
|
101779
|
+
if (encoded.length >= 3) {
|
|
101780
|
+
const prefix = encoded.slice(0, 2);
|
|
101781
|
+
const b64 = encoded.slice(2);
|
|
101782
|
+
try {
|
|
101783
|
+
const padded = b64.replace(/-/g, "+").replace(/_/g, "/");
|
|
101784
|
+
const decoded = Buffer.from(padded, "base64").toString("utf-8");
|
|
101785
|
+
if (decoded.startsWith("http"))
|
|
101786
|
+
return decoded;
|
|
101787
|
+
} catch {}
|
|
101788
|
+
}
|
|
101789
|
+
}
|
|
101790
|
+
if (!rawUrl.includes("bing.com"))
|
|
101791
|
+
return rawUrl;
|
|
101792
|
+
return;
|
|
101793
|
+
}
|
|
101794
|
+
var import_he, FETCH_TIMEOUT_MS3 = 30000, BROWSER_HEADERS, decodeHtmlEntities;
|
|
101795
|
+
var init_bingAdapter = __esm(() => {
|
|
101796
|
+
init_axios();
|
|
101797
|
+
init_errors();
|
|
101798
|
+
import_he = __toESM(require_he(), 1);
|
|
101799
|
+
BROWSER_HEADERS = {
|
|
101800
|
+
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0",
|
|
101801
|
+
Accept: "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8",
|
|
101802
|
+
"Accept-Language": "en-US,en;q=0.9",
|
|
101803
|
+
"Accept-Encoding": "gzip, deflate, br",
|
|
101804
|
+
"Cache-Control": "no-cache",
|
|
101805
|
+
Pragma: "no-cache",
|
|
101806
|
+
"Sec-Ch-Ua": '"Microsoft Edge";v="131", "Chromium";v="131", "Not_A Brand";v="24"',
|
|
101807
|
+
"Sec-Ch-Ua-Mobile": "?0",
|
|
101808
|
+
"Sec-Ch-Ua-Platform": '"macOS"',
|
|
101809
|
+
"Sec-Fetch-Dest": "document",
|
|
101810
|
+
"Sec-Fetch-Mode": "navigate",
|
|
101811
|
+
"Sec-Fetch-Site": "none",
|
|
101812
|
+
"Sec-Fetch-User": "?1",
|
|
101813
|
+
"Upgrade-Insecure-Requests": "1"
|
|
101814
|
+
};
|
|
101815
|
+
decodeHtmlEntities = import_he.default.decode;
|
|
101816
|
+
});
|
|
101817
|
+
|
|
101818
|
+
// src/tools/WebSearchTool/adapters/index.ts
|
|
101819
|
+
function createAdapter() {
|
|
101820
|
+
return new BingSearchAdapter;
|
|
101821
|
+
}
|
|
101822
|
+
var init_adapters = __esm(() => {
|
|
101823
|
+
init_bingAdapter();
|
|
101824
|
+
});
|
|
101825
|
+
|
|
101563
101826
|
// src/tools/WebSearchTool/UI.tsx
|
|
101564
101827
|
function getSearchSummary(results) {
|
|
101565
101828
|
let searchCount = 0;
|
|
@@ -101675,74 +101938,12 @@ var init_UI12 = __esm(() => {
|
|
|
101675
101938
|
});
|
|
101676
101939
|
|
|
101677
101940
|
// src/tools/WebSearchTool/WebSearchTool.ts
|
|
101678
|
-
function makeToolSchema(input) {
|
|
101679
|
-
return {
|
|
101680
|
-
type: "web_search_20250305",
|
|
101681
|
-
name: "web_search",
|
|
101682
|
-
allowed_domains: input.allowed_domains,
|
|
101683
|
-
blocked_domains: input.blocked_domains,
|
|
101684
|
-
max_uses: 8
|
|
101685
|
-
};
|
|
101686
|
-
}
|
|
101687
|
-
function makeOutputFromSearchResponse(result, query2, durationSeconds) {
|
|
101688
|
-
const results = [];
|
|
101689
|
-
let textAcc = "";
|
|
101690
|
-
let inText = true;
|
|
101691
|
-
for (const block of result) {
|
|
101692
|
-
if (block.type === "server_tool_use") {
|
|
101693
|
-
if (inText) {
|
|
101694
|
-
inText = false;
|
|
101695
|
-
if (textAcc.trim().length > 0) {
|
|
101696
|
-
results.push(textAcc.trim());
|
|
101697
|
-
}
|
|
101698
|
-
textAcc = "";
|
|
101699
|
-
}
|
|
101700
|
-
continue;
|
|
101701
|
-
}
|
|
101702
|
-
if (block.type === "web_search_tool_result") {
|
|
101703
|
-
if (!Array.isArray(block.content)) {
|
|
101704
|
-
const errorMessage2 = `Web search error: ${block.content.error_code}`;
|
|
101705
|
-
logError(new Error(errorMessage2));
|
|
101706
|
-
results.push(errorMessage2);
|
|
101707
|
-
continue;
|
|
101708
|
-
}
|
|
101709
|
-
const hits = block.content.map((r) => ({ title: r.title, url: r.url }));
|
|
101710
|
-
results.push({
|
|
101711
|
-
tool_use_id: block.tool_use_id,
|
|
101712
|
-
content: hits
|
|
101713
|
-
});
|
|
101714
|
-
}
|
|
101715
|
-
if (block.type === "text") {
|
|
101716
|
-
if (inText) {
|
|
101717
|
-
textAcc += block.text;
|
|
101718
|
-
} else {
|
|
101719
|
-
inText = true;
|
|
101720
|
-
textAcc = block.text;
|
|
101721
|
-
}
|
|
101722
|
-
}
|
|
101723
|
-
}
|
|
101724
|
-
if (textAcc.length) {
|
|
101725
|
-
results.push(textAcc.trim());
|
|
101726
|
-
}
|
|
101727
|
-
return {
|
|
101728
|
-
query: query2,
|
|
101729
|
-
results,
|
|
101730
|
-
durationSeconds
|
|
101731
|
-
};
|
|
101732
|
-
}
|
|
101733
101941
|
var inputSchema15, searchResultSchema, outputSchema13, WebSearchTool;
|
|
101734
101942
|
var init_WebSearchTool = __esm(() => {
|
|
101735
|
-
init_providers();
|
|
101736
101943
|
init_v4();
|
|
101737
|
-
init_growthbook();
|
|
101738
|
-
init_claude();
|
|
101739
101944
|
init_Tool();
|
|
101740
101945
|
init_lazySchema();
|
|
101741
|
-
|
|
101742
|
-
init_messages2();
|
|
101743
|
-
init_model();
|
|
101744
|
-
init_slowOperations();
|
|
101745
|
-
init_systemPromptType();
|
|
101946
|
+
init_adapters();
|
|
101746
101947
|
init_prompt11();
|
|
101747
101948
|
init_UI12();
|
|
101748
101949
|
inputSchema15 = lazySchema(() => exports_external.strictObject({
|
|
@@ -101753,7 +101954,8 @@ var init_WebSearchTool = __esm(() => {
|
|
|
101753
101954
|
searchResultSchema = lazySchema(() => {
|
|
101754
101955
|
const searchHitSchema = exports_external.object({
|
|
101755
101956
|
title: exports_external.string().describe("The title of the search result"),
|
|
101756
|
-
url: exports_external.string().describe("The URL of the search result")
|
|
101957
|
+
url: exports_external.string().describe("The URL of the search result"),
|
|
101958
|
+
snippet: exports_external.string().optional().describe("A short description of the search result")
|
|
101757
101959
|
});
|
|
101758
101960
|
return exports_external.object({
|
|
101759
101961
|
tool_use_id: exports_external.string().describe("ID of the tool use"),
|
|
@@ -101782,19 +101984,7 @@ var init_WebSearchTool = __esm(() => {
|
|
|
101782
101984
|
return summary ? `Searching for ${summary}` : "Searching the web";
|
|
101783
101985
|
},
|
|
101784
101986
|
isEnabled() {
|
|
101785
|
-
|
|
101786
|
-
const model = getMainLoopModel();
|
|
101787
|
-
if (provider === "firstParty") {
|
|
101788
|
-
return true;
|
|
101789
|
-
}
|
|
101790
|
-
if (provider === "vertex") {
|
|
101791
|
-
const supportsWebSearch = model.includes("claude-opus-4") || model.includes("claude-sonnet-4") || model.includes("claude-haiku-4");
|
|
101792
|
-
return supportsWebSearch;
|
|
101793
|
-
}
|
|
101794
|
-
if (provider === "foundry") {
|
|
101795
|
-
return true;
|
|
101796
|
-
}
|
|
101797
|
-
return false;
|
|
101987
|
+
return true;
|
|
101798
101988
|
},
|
|
101799
101989
|
get inputSchema() {
|
|
101800
101990
|
return inputSchema15();
|
|
@@ -101855,104 +102045,37 @@ var init_WebSearchTool = __esm(() => {
|
|
|
101855
102045
|
async call(input, context, _canUseTool, _parentMessage, onProgress) {
|
|
101856
102046
|
const startTime = performance.now();
|
|
101857
102047
|
const { query: query2 } = input;
|
|
101858
|
-
const
|
|
101859
|
-
|
|
101860
|
-
|
|
101861
|
-
|
|
101862
|
-
const useHaiku = getFeatureValue_CACHED_MAY_BE_STALE("tengu_plum_vx3", false);
|
|
101863
|
-
const appState = context.getAppState();
|
|
101864
|
-
const queryStream = queryModelWithStreaming({
|
|
101865
|
-
messages: [userMessage],
|
|
101866
|
-
systemPrompt: asSystemPrompt([
|
|
101867
|
-
"You are an assistant for performing a web search tool use"
|
|
101868
|
-
]),
|
|
101869
|
-
thinkingConfig: useHaiku ? { type: "disabled" } : context.options.thinkingConfig,
|
|
101870
|
-
tools: [],
|
|
102048
|
+
const adapter = createAdapter();
|
|
102049
|
+
const adapterResults = await adapter.search(query2, {
|
|
102050
|
+
allowedDomains: input.allowed_domains,
|
|
102051
|
+
blockedDomains: input.blocked_domains,
|
|
101871
102052
|
signal: context.abortController.signal,
|
|
101872
|
-
|
|
101873
|
-
|
|
101874
|
-
|
|
101875
|
-
|
|
101876
|
-
|
|
101877
|
-
|
|
101878
|
-
|
|
101879
|
-
querySource: "web_search_tool",
|
|
101880
|
-
agents: context.options.agentDefinitions.activeAgents,
|
|
101881
|
-
mcpTools: [],
|
|
101882
|
-
agentId: context.agentId,
|
|
101883
|
-
effortValue: appState.effortValue
|
|
101884
|
-
}
|
|
101885
|
-
});
|
|
101886
|
-
const allContentBlocks = [];
|
|
101887
|
-
let currentToolUseId = null;
|
|
101888
|
-
let currentToolUseJson = "";
|
|
101889
|
-
let progressCounter = 0;
|
|
101890
|
-
const toolUseQueries = new Map;
|
|
101891
|
-
for await (const event of queryStream) {
|
|
101892
|
-
if (event.type === "assistant") {
|
|
101893
|
-
const msg = event;
|
|
101894
|
-
allContentBlocks.push(...msg.message.content);
|
|
101895
|
-
continue;
|
|
101896
|
-
}
|
|
101897
|
-
if (event.type === "stream_event") {
|
|
101898
|
-
const streamEvt = event;
|
|
101899
|
-
if (streamEvt.event?.type === "content_block_start") {
|
|
101900
|
-
const contentBlock = streamEvt.event.content_block;
|
|
101901
|
-
if (contentBlock && contentBlock.type === "server_tool_use") {
|
|
101902
|
-
currentToolUseId = contentBlock.id;
|
|
101903
|
-
currentToolUseJson = "";
|
|
101904
|
-
continue;
|
|
101905
|
-
}
|
|
101906
|
-
}
|
|
101907
|
-
if (currentToolUseId && streamEvt.event?.type === "content_block_delta") {
|
|
101908
|
-
const delta = streamEvt.event.delta;
|
|
101909
|
-
if (delta?.type === "input_json_delta" && delta.partial_json) {
|
|
101910
|
-
currentToolUseJson += delta.partial_json;
|
|
101911
|
-
try {
|
|
101912
|
-
const queryMatch = currentToolUseJson.match(/"query"\s*:\s*"((?:[^"\\]|\\.)*)"/);
|
|
101913
|
-
if (queryMatch && queryMatch[1]) {
|
|
101914
|
-
const query3 = jsonParse('"' + queryMatch[1] + '"');
|
|
101915
|
-
if (!toolUseQueries.has(currentToolUseId) || toolUseQueries.get(currentToolUseId) !== query3) {
|
|
101916
|
-
toolUseQueries.set(currentToolUseId, query3);
|
|
101917
|
-
progressCounter++;
|
|
101918
|
-
if (onProgress) {
|
|
101919
|
-
onProgress({
|
|
101920
|
-
toolUseID: `search-progress-${progressCounter}`,
|
|
101921
|
-
data: {
|
|
101922
|
-
type: "query_update",
|
|
101923
|
-
query: query3
|
|
101924
|
-
}
|
|
101925
|
-
});
|
|
101926
|
-
}
|
|
101927
|
-
}
|
|
101928
|
-
}
|
|
101929
|
-
} catch {}
|
|
101930
|
-
}
|
|
101931
|
-
}
|
|
101932
|
-
if (streamEvt.event?.type === "content_block_start") {
|
|
101933
|
-
const contentBlock = streamEvt.event.content_block;
|
|
101934
|
-
if (contentBlock && contentBlock.type === "web_search_tool_result") {
|
|
101935
|
-
const toolUseId = contentBlock.tool_use_id;
|
|
101936
|
-
const actualQuery = toolUseQueries.get(toolUseId) || query2;
|
|
101937
|
-
const content = contentBlock.content;
|
|
101938
|
-
progressCounter++;
|
|
101939
|
-
if (onProgress) {
|
|
101940
|
-
onProgress({
|
|
101941
|
-
toolUseID: toolUseId || `search-progress-${progressCounter}`,
|
|
101942
|
-
data: {
|
|
101943
|
-
type: "search_results_received",
|
|
101944
|
-
resultCount: Array.isArray(content) ? content.length : 0,
|
|
101945
|
-
query: actualQuery
|
|
101946
|
-
}
|
|
101947
|
-
});
|
|
101948
|
-
}
|
|
101949
|
-
}
|
|
102053
|
+
onProgress(progress) {
|
|
102054
|
+
if (onProgress) {
|
|
102055
|
+
const progressCounter = Date.now();
|
|
102056
|
+
onProgress({
|
|
102057
|
+
toolUseID: `search-progress-${progressCounter}`,
|
|
102058
|
+
data: progress
|
|
102059
|
+
});
|
|
101950
102060
|
}
|
|
101951
102061
|
}
|
|
101952
|
-
}
|
|
102062
|
+
});
|
|
101953
102063
|
const endTime = performance.now();
|
|
101954
102064
|
const durationSeconds = (endTime - startTime) / 1000;
|
|
101955
|
-
const
|
|
102065
|
+
const results = [];
|
|
102066
|
+
if (adapterResults.length > 0) {
|
|
102067
|
+
results.push({
|
|
102068
|
+
tool_use_id: "adapter-search-1",
|
|
102069
|
+
content: adapterResults.map((r) => ({ title: r.title, url: r.url, snippet: r.snippet }))
|
|
102070
|
+
});
|
|
102071
|
+
} else {
|
|
102072
|
+
results.push("No search results found.");
|
|
102073
|
+
}
|
|
102074
|
+
const data = {
|
|
102075
|
+
query: query2,
|
|
102076
|
+
results,
|
|
102077
|
+
durationSeconds
|
|
102078
|
+
};
|
|
101956
102079
|
return { data };
|
|
101957
102080
|
},
|
|
101958
102081
|
mapToolResultToToolResultBlockParam(output, toolUseID) {
|
|
@@ -101970,8 +102093,17 @@ var init_WebSearchTool = __esm(() => {
|
|
|
101970
102093
|
`;
|
|
101971
102094
|
} else {
|
|
101972
102095
|
if (result.content?.length > 0) {
|
|
101973
|
-
formattedOutput += `Links:
|
|
101974
|
-
|
|
102096
|
+
formattedOutput += `Links:
|
|
102097
|
+
`;
|
|
102098
|
+
for (const link2 of result.content) {
|
|
102099
|
+
formattedOutput += ` - [${link2.title}](${link2.url})`;
|
|
102100
|
+
if (link2.snippet) {
|
|
102101
|
+
formattedOutput += `: ${link2.snippet}`;
|
|
102102
|
+
}
|
|
102103
|
+
formattedOutput += `
|
|
102104
|
+
`;
|
|
102105
|
+
}
|
|
102106
|
+
formattedOutput += `
|
|
101975
102107
|
`;
|
|
101976
102108
|
} else {
|
|
101977
102109
|
formattedOutput += `No links found.
|
|
@@ -102010,7 +102142,7 @@ function handlePlanApprovalResponse(taskId, _response, setAppState) {
|
|
|
102010
102142
|
setAwaitingPlanApproval(taskId, setAppState, false);
|
|
102011
102143
|
}
|
|
102012
102144
|
var init_inProcessTeammateHelpers = __esm(() => {
|
|
102013
|
-
|
|
102145
|
+
init_types5();
|
|
102014
102146
|
init_framework();
|
|
102015
102147
|
init_teammateMailbox();
|
|
102016
102148
|
});
|
|
@@ -104166,7 +104298,7 @@ var init_UI15 = __esm(() => {
|
|
|
104166
104298
|
// src/tools/ReadMcpResourceTool/ReadMcpResourceTool.ts
|
|
104167
104299
|
var inputSchema20, outputSchema17, ReadMcpResourceTool;
|
|
104168
104300
|
var init_ReadMcpResourceTool = __esm(() => {
|
|
104169
|
-
|
|
104301
|
+
init_types4();
|
|
104170
104302
|
init_v4();
|
|
104171
104303
|
init_client5();
|
|
104172
104304
|
init_Tool();
|
|
@@ -104218,7 +104350,7 @@ var init_ReadMcpResourceTool = __esm(() => {
|
|
|
104218
104350
|
const { server: serverName, uri } = input;
|
|
104219
104351
|
const client = mcpClients.find((client2) => client2.name === serverName);
|
|
104220
104352
|
if (!client) {
|
|
104221
|
-
throw new Error(`Server "${serverName}" not found. Available servers: ${mcpClients.map((
|
|
104353
|
+
throw new Error(`Server "${serverName}" not found. Available servers: ${mcpClients.map((c) => c.name).join(", ")}`);
|
|
104222
104354
|
}
|
|
104223
104355
|
if (client.type !== "connected") {
|
|
104224
104356
|
throw new Error(`Server "${serverName}" is not connected`);
|
|
@@ -104231,27 +104363,27 @@ var init_ReadMcpResourceTool = __esm(() => {
|
|
|
104231
104363
|
method: "resources/read",
|
|
104232
104364
|
params: { uri }
|
|
104233
104365
|
}, ReadResourceResultSchema);
|
|
104234
|
-
const contents = await Promise.all(result.contents.map(async (
|
|
104235
|
-
if ("text" in
|
|
104236
|
-
return { uri:
|
|
104366
|
+
const contents = await Promise.all(result.contents.map(async (c, i) => {
|
|
104367
|
+
if ("text" in c) {
|
|
104368
|
+
return { uri: c.uri, mimeType: c.mimeType, text: c.text };
|
|
104237
104369
|
}
|
|
104238
|
-
if (!("blob" in
|
|
104239
|
-
return { uri:
|
|
104370
|
+
if (!("blob" in c) || typeof c.blob !== "string") {
|
|
104371
|
+
return { uri: c.uri, mimeType: c.mimeType };
|
|
104240
104372
|
}
|
|
104241
104373
|
const persistId = `mcp-resource-${Date.now()}-${i}-${Math.random().toString(36).slice(2, 8)}`;
|
|
104242
|
-
const persisted = await persistBinaryContent(Buffer.from(
|
|
104374
|
+
const persisted = await persistBinaryContent(Buffer.from(c.blob, "base64"), c.mimeType, persistId);
|
|
104243
104375
|
if ("error" in persisted) {
|
|
104244
104376
|
return {
|
|
104245
|
-
uri:
|
|
104246
|
-
mimeType:
|
|
104377
|
+
uri: c.uri,
|
|
104378
|
+
mimeType: c.mimeType,
|
|
104247
104379
|
text: `Binary content could not be saved to disk: ${persisted.error}`
|
|
104248
104380
|
};
|
|
104249
104381
|
}
|
|
104250
104382
|
return {
|
|
104251
|
-
uri:
|
|
104252
|
-
mimeType:
|
|
104383
|
+
uri: c.uri,
|
|
104384
|
+
mimeType: c.mimeType,
|
|
104253
104385
|
blobSavedTo: persisted.filepath,
|
|
104254
|
-
text: getBinaryBlobSavedMessage(persisted.filepath,
|
|
104386
|
+
text: getBinaryBlobSavedMessage(persisted.filepath, c.mimeType, persisted.size, `[Resource from ${serverName} at ${c.uri}] `)
|
|
104255
104387
|
};
|
|
104256
104388
|
}));
|
|
104257
104389
|
return {
|
|
@@ -104461,7 +104593,7 @@ var init_ToolSearchTool = __esm(() => {
|
|
|
104461
104593
|
maybeInvalidateCache(deferredTools);
|
|
104462
104594
|
function getPendingServerNames() {
|
|
104463
104595
|
const appState = getAppState();
|
|
104464
|
-
const pending = appState.mcp.clients.filter((
|
|
104596
|
+
const pending = appState.mcp.clients.filter((c) => c.type === "pending");
|
|
104465
104597
|
return pending.length > 0 ? pending.map((s) => s.name) : undefined;
|
|
104466
104598
|
}
|
|
104467
104599
|
function logSearchOutcome(matches2, queryType) {
|
|
@@ -108211,32 +108343,32 @@ function maskBracesInQuotedContexts(cmd) {
|
|
|
108211
108343
|
let inDouble = false;
|
|
108212
108344
|
let i = 0;
|
|
108213
108345
|
while (i < cmd.length) {
|
|
108214
|
-
const
|
|
108346
|
+
const c = cmd[i];
|
|
108215
108347
|
if (inSingle) {
|
|
108216
|
-
if (
|
|
108348
|
+
if (c === "'")
|
|
108217
108349
|
inSingle = false;
|
|
108218
|
-
out.push(
|
|
108350
|
+
out.push(c === "{" ? " " : c);
|
|
108219
108351
|
i++;
|
|
108220
108352
|
} else if (inDouble) {
|
|
108221
|
-
if (
|
|
108222
|
-
out.push(
|
|
108353
|
+
if (c === "\\" && (cmd[i + 1] === '"' || cmd[i + 1] === "\\")) {
|
|
108354
|
+
out.push(c, cmd[i + 1]);
|
|
108223
108355
|
i += 2;
|
|
108224
108356
|
} else {
|
|
108225
|
-
if (
|
|
108357
|
+
if (c === '"')
|
|
108226
108358
|
inDouble = false;
|
|
108227
|
-
out.push(
|
|
108359
|
+
out.push(c === "{" ? " " : c);
|
|
108228
108360
|
i++;
|
|
108229
108361
|
}
|
|
108230
108362
|
} else {
|
|
108231
|
-
if (
|
|
108232
|
-
out.push(
|
|
108363
|
+
if (c === "\\" && i + 1 < cmd.length) {
|
|
108364
|
+
out.push(c, cmd[i + 1]);
|
|
108233
108365
|
i += 2;
|
|
108234
108366
|
} else {
|
|
108235
|
-
if (
|
|
108367
|
+
if (c === "'")
|
|
108236
108368
|
inSingle = true;
|
|
108237
|
-
else if (
|
|
108369
|
+
else if (c === '"')
|
|
108238
108370
|
inDouble = true;
|
|
108239
|
-
out.push(
|
|
108371
|
+
out.push(c);
|
|
108240
108372
|
i++;
|
|
108241
108373
|
}
|
|
108242
108374
|
}
|
|
@@ -108319,8 +108451,8 @@ function collectCommands(node, commands, varScope) {
|
|
|
108319
108451
|
const isPipeline = node.type === "pipeline";
|
|
108320
108452
|
let needsSnapshot = false;
|
|
108321
108453
|
if (!isPipeline) {
|
|
108322
|
-
for (const
|
|
108323
|
-
if (
|
|
108454
|
+
for (const c of node.children) {
|
|
108455
|
+
if (c && (c.type === "||" || c.type === "&")) {
|
|
108324
108456
|
needsSnapshot = true;
|
|
108325
108457
|
break;
|
|
108326
108458
|
}
|
|
@@ -108449,12 +108581,12 @@ function collectCommands(node, commands, varScope) {
|
|
|
108449
108581
|
}
|
|
108450
108582
|
varScope.set(loopVar, VAR_PLACEHOLDER);
|
|
108451
108583
|
const bodyScope = new Map(varScope);
|
|
108452
|
-
for (const
|
|
108453
|
-
if (!
|
|
108584
|
+
for (const c of doGroup.children) {
|
|
108585
|
+
if (!c)
|
|
108454
108586
|
continue;
|
|
108455
|
-
if (
|
|
108587
|
+
if (c.type === "do" || c.type === "done" || c.type === ";")
|
|
108456
108588
|
continue;
|
|
108457
|
-
const err = collectCommands(
|
|
108589
|
+
const err = collectCommands(c, commands, bodyScope);
|
|
108458
108590
|
if (err)
|
|
108459
108591
|
return err;
|
|
108460
108592
|
}
|
|
@@ -108474,12 +108606,12 @@ function collectCommands(node, commands, varScope) {
|
|
|
108474
108606
|
}
|
|
108475
108607
|
if (child.type === "do_group") {
|
|
108476
108608
|
const bodyScope = new Map(varScope);
|
|
108477
|
-
for (const
|
|
108478
|
-
if (!
|
|
108609
|
+
for (const c of child.children) {
|
|
108610
|
+
if (!c)
|
|
108479
108611
|
continue;
|
|
108480
|
-
if (
|
|
108612
|
+
if (c.type === "do" || c.type === "done" || c.type === ";")
|
|
108481
108613
|
continue;
|
|
108482
|
-
const err2 = collectCommands(
|
|
108614
|
+
const err2 = collectCommands(c, commands, bodyScope);
|
|
108483
108615
|
if (err2)
|
|
108484
108616
|
return err2;
|
|
108485
108617
|
}
|
|
@@ -108487,13 +108619,13 @@ function collectCommands(node, commands, varScope) {
|
|
|
108487
108619
|
}
|
|
108488
108620
|
if (child.type === "elif_clause" || child.type === "else_clause") {
|
|
108489
108621
|
const branchScope = new Map(varScope);
|
|
108490
|
-
for (const
|
|
108491
|
-
if (!
|
|
108622
|
+
for (const c of child.children) {
|
|
108623
|
+
if (!c)
|
|
108492
108624
|
continue;
|
|
108493
|
-
if (
|
|
108625
|
+
if (c.type === "elif" || c.type === "else" || c.type === "then" || c.type === ";") {
|
|
108494
108626
|
continue;
|
|
108495
108627
|
}
|
|
108496
|
-
const err2 = collectCommands(
|
|
108628
|
+
const err2 = collectCommands(c, commands, branchScope);
|
|
108497
108629
|
if (err2)
|
|
108498
108630
|
return err2;
|
|
108499
108631
|
}
|
|
@@ -108506,9 +108638,9 @@ function collectCommands(node, commands, varScope) {
|
|
|
108506
108638
|
return err;
|
|
108507
108639
|
if (!seenThen) {
|
|
108508
108640
|
for (let i = before;i < commands.length; i++) {
|
|
108509
|
-
const
|
|
108510
|
-
if (
|
|
108511
|
-
for (const a of
|
|
108641
|
+
const c = commands[i];
|
|
108642
|
+
if (c?.argv[0] === "read") {
|
|
108643
|
+
for (const a of c.argv.slice(1)) {
|
|
108512
108644
|
if (!a.startsWith("-") && /^[A-Za-z_][A-Za-z0-9_]*$/.test(a)) {
|
|
108513
108645
|
const existing = varScope.get(a);
|
|
108514
108646
|
if (existing !== undefined && !containsAnyPlaceholder(existing)) {
|
|
@@ -108591,10 +108723,10 @@ function walkTestExpr(node, argv, innerCommands, varScope) {
|
|
|
108591
108723
|
case "binary_expression":
|
|
108592
108724
|
case "negated_expression":
|
|
108593
108725
|
case "parenthesized_expression": {
|
|
108594
|
-
for (const
|
|
108595
|
-
if (!
|
|
108726
|
+
for (const c of node.children) {
|
|
108727
|
+
if (!c)
|
|
108596
108728
|
continue;
|
|
108597
|
-
const err = walkTestExpr(
|
|
108729
|
+
const err = walkTestExpr(c, argv, innerCommands, varScope);
|
|
108598
108730
|
if (err)
|
|
108599
108731
|
return err;
|
|
108600
108732
|
}
|
|
@@ -109021,7 +109153,7 @@ function extractSafeCatHeredoc(subNode) {
|
|
|
109021
109153
|
if (!child)
|
|
109022
109154
|
continue;
|
|
109023
109155
|
if (child.type === "command") {
|
|
109024
|
-
const cmdChildren = child.children.filter((
|
|
109156
|
+
const cmdChildren = child.children.filter((c) => c);
|
|
109025
109157
|
if (cmdChildren.length !== 1)
|
|
109026
109158
|
return null;
|
|
109027
109159
|
const nameNode = cmdChildren[0];
|
|
@@ -109133,13 +109265,13 @@ function walkVariableAssignment(node, innerCommands, varScope) {
|
|
|
109133
109265
|
function resolveSimpleExpansion(node, varScope, insideString) {
|
|
109134
109266
|
let varName = null;
|
|
109135
109267
|
let isSpecial = false;
|
|
109136
|
-
for (const
|
|
109137
|
-
if (
|
|
109138
|
-
varName =
|
|
109268
|
+
for (const c of node.children) {
|
|
109269
|
+
if (c?.type === "variable_name") {
|
|
109270
|
+
varName = c.text;
|
|
109139
109271
|
break;
|
|
109140
109272
|
}
|
|
109141
|
-
if (
|
|
109142
|
-
varName =
|
|
109273
|
+
if (c?.type === "special_variable_name") {
|
|
109274
|
+
varName = c.text;
|
|
109143
109275
|
isSpecial = true;
|
|
109144
109276
|
break;
|
|
109145
109277
|
}
|
|
@@ -109949,8 +110081,8 @@ function extractRedirectionNodes(rootNode) {
|
|
|
109949
110081
|
visitNodes(rootNode, (node) => {
|
|
109950
110082
|
if (node.type === "file_redirect") {
|
|
109951
110083
|
const children = node.children;
|
|
109952
|
-
const op = children.find((
|
|
109953
|
-
const target = children.find((
|
|
110084
|
+
const op = children.find((c) => c.type === ">" || c.type === ">>");
|
|
110085
|
+
const target = children.find((c) => c.type === "word");
|
|
109954
110086
|
if (op && target) {
|
|
109955
110087
|
redirections.push({
|
|
109956
110088
|
startIndex: node.startIndex,
|
|
@@ -110690,17 +110822,17 @@ function validateGitCommit(context) {
|
|
|
110690
110822
|
let inSQ = false;
|
|
110691
110823
|
let inDQ = false;
|
|
110692
110824
|
for (let i = 0;i < remainder.length; i++) {
|
|
110693
|
-
const
|
|
110694
|
-
if (
|
|
110825
|
+
const c = remainder[i];
|
|
110826
|
+
if (c === "'" && !inDQ) {
|
|
110695
110827
|
inSQ = !inSQ;
|
|
110696
110828
|
continue;
|
|
110697
110829
|
}
|
|
110698
|
-
if (
|
|
110830
|
+
if (c === '"' && !inSQ) {
|
|
110699
110831
|
inDQ = !inDQ;
|
|
110700
110832
|
continue;
|
|
110701
110833
|
}
|
|
110702
110834
|
if (!inSQ && !inDQ)
|
|
110703
|
-
unquoted +=
|
|
110835
|
+
unquoted += c;
|
|
110704
110836
|
}
|
|
110705
110837
|
if (/[<>]/.test(unquoted)) {
|
|
110706
110838
|
return {
|
|
@@ -110876,24 +111008,24 @@ function validateCarriageReturn(context) {
|
|
|
110876
111008
|
let inDoubleQuote = false;
|
|
110877
111009
|
let escaped = false;
|
|
110878
111010
|
for (let i = 0;i < originalCommand.length; i++) {
|
|
110879
|
-
const
|
|
111011
|
+
const c = originalCommand[i];
|
|
110880
111012
|
if (escaped) {
|
|
110881
111013
|
escaped = false;
|
|
110882
111014
|
continue;
|
|
110883
111015
|
}
|
|
110884
|
-
if (
|
|
111016
|
+
if (c === "\\" && !inSingleQuote) {
|
|
110885
111017
|
escaped = true;
|
|
110886
111018
|
continue;
|
|
110887
111019
|
}
|
|
110888
|
-
if (
|
|
111020
|
+
if (c === "'" && !inDoubleQuote) {
|
|
110889
111021
|
inSingleQuote = !inSingleQuote;
|
|
110890
111022
|
continue;
|
|
110891
111023
|
}
|
|
110892
|
-
if (
|
|
111024
|
+
if (c === '"' && !inSingleQuote) {
|
|
110893
111025
|
inDoubleQuote = !inDoubleQuote;
|
|
110894
111026
|
continue;
|
|
110895
111027
|
}
|
|
110896
|
-
if (
|
|
111028
|
+
if (c === "\r" && !inDoubleQuote) {
|
|
110897
111029
|
logEvent("tengu_bash_security_check_triggered", {
|
|
110898
111030
|
checkId: BASH_SECURITY_CHECK_IDS.NEWLINES,
|
|
110899
111031
|
subId: 2
|
|
@@ -113647,8 +113779,8 @@ async function bashToolHasPermission(input, context, getCommandSubcommandPrefixF
|
|
|
113647
113779
|
suggestions: []
|
|
113648
113780
|
};
|
|
113649
113781
|
}
|
|
113650
|
-
astSubcommands = astResult.commands.map((
|
|
113651
|
-
astRedirects = astResult.commands.flatMap((
|
|
113782
|
+
astSubcommands = astResult.commands.map((c) => c.text);
|
|
113783
|
+
astRedirects = astResult.commands.flatMap((c) => c.redirects);
|
|
113652
113784
|
astCommands = astResult.commands;
|
|
113653
113785
|
}
|
|
113654
113786
|
if (astResult.kind === "parse-unavailable") {
|
|
@@ -113871,7 +114003,7 @@ async function bashToolHasPermission(input, context, getCommandSubcommandPrefixF
|
|
|
113871
114003
|
const onDivergence = () => {
|
|
113872
114004
|
divergenceCount++;
|
|
113873
114005
|
};
|
|
113874
|
-
const results = await Promise.all(subcommands.map((
|
|
114006
|
+
const results = await Promise.all(subcommands.map((c) => bashCommandIsSafeAsync(c, onDivergence)));
|
|
113875
114007
|
hasPossibleCommandInjection = results.some((r) => r.behavior !== "passthrough");
|
|
113876
114008
|
if (divergenceCount > 0) {
|
|
113877
114009
|
logEvent("tengu_tree_sitter_security_divergence", {
|
|
@@ -115028,7 +115160,7 @@ var init_inProcessRunner = __esm(() => {
|
|
|
115028
115160
|
init_compact();
|
|
115029
115161
|
init_microCompact();
|
|
115030
115162
|
init_InProcessTeammateTask();
|
|
115031
|
-
|
|
115163
|
+
init_types5();
|
|
115032
115164
|
init_LocalAgentTask();
|
|
115033
115165
|
init_runAgent();
|
|
115034
115166
|
init_bashPermissions();
|
|
@@ -115646,8 +115778,8 @@ var init_PaneBackendExecutor = __esm(() => {
|
|
|
115646
115778
|
async function ensureBackendsRegistered() {
|
|
115647
115779
|
if (backendsRegistered)
|
|
115648
115780
|
return;
|
|
115649
|
-
await import("./chunk-
|
|
115650
|
-
await import("./chunk-
|
|
115781
|
+
await import("./chunk-zdxzm3yy.js");
|
|
115782
|
+
await import("./chunk-a80c5tv1.js");
|
|
115651
115783
|
backendsRegistered = true;
|
|
115652
115784
|
}
|
|
115653
115785
|
function registerTmuxBackend(backendClass) {
|
|
@@ -118296,7 +118428,7 @@ function trackGitOperations(command, exitCode, stdout) {
|
|
|
118296
118428
|
if (stdout) {
|
|
118297
118429
|
const prInfo = findPrInStdout(stdout);
|
|
118298
118430
|
if (prInfo) {
|
|
118299
|
-
import("./chunk-
|
|
118431
|
+
import("./chunk-9rae7azx.js").then(({ linkSessionToPR }) => {
|
|
118300
118432
|
import("./chunk-44fpr6jq.js").then(({ getSessionId: getSessionId2 }) => {
|
|
118301
118433
|
const sessionId = getSessionId2();
|
|
118302
118434
|
if (sessionId) {
|
|
@@ -118529,9 +118661,9 @@ function transformCommandAst(raw) {
|
|
|
118529
118661
|
const rawChildren = ensureArray(ce2.children);
|
|
118530
118662
|
if (rawChildren.length > 0) {
|
|
118531
118663
|
hasChildren = true;
|
|
118532
|
-
children.push(rawChildren.map((
|
|
118533
|
-
type: mapElementType(
|
|
118534
|
-
text:
|
|
118664
|
+
children.push(rawChildren.map((c) => ({
|
|
118665
|
+
type: mapElementType(c.type),
|
|
118666
|
+
text: c.text
|
|
118535
118667
|
})));
|
|
118536
118668
|
} else {
|
|
118537
118669
|
children.push(undefined);
|
|
@@ -119311,27 +119443,27 @@ function resolveCwdReentry(normalized) {
|
|
|
119311
119443
|
function normalizeGitPathArg(arg) {
|
|
119312
119444
|
let s = arg;
|
|
119313
119445
|
if (s.length > 0 && (PS_TOKENIZER_DASH_CHARS.has(s[0]) || s[0] === "/")) {
|
|
119314
|
-
const
|
|
119315
|
-
if (
|
|
119316
|
-
s = s.slice(
|
|
119446
|
+
const c = s.indexOf(":", 1);
|
|
119447
|
+
if (c > 0)
|
|
119448
|
+
s = s.slice(c + 1);
|
|
119317
119449
|
}
|
|
119318
119450
|
s = s.replace(/^['"]|['"]$/g, "");
|
|
119319
119451
|
s = s.replace(/`/g, "");
|
|
119320
119452
|
s = s.replace(/^(?:[A-Za-z0-9_.]+\\){0,3}FileSystem::/i, "");
|
|
119321
119453
|
s = s.replace(/^[A-Za-z]:(?![/\\])/, "");
|
|
119322
119454
|
s = s.replace(/\\/g, "/");
|
|
119323
|
-
s = s.split("/").map((
|
|
119324
|
-
if (
|
|
119325
|
-
return
|
|
119455
|
+
s = s.split("/").map((c) => {
|
|
119456
|
+
if (c === "")
|
|
119457
|
+
return c;
|
|
119326
119458
|
let prev;
|
|
119327
119459
|
do {
|
|
119328
|
-
prev =
|
|
119329
|
-
|
|
119330
|
-
if (
|
|
119331
|
-
return
|
|
119332
|
-
|
|
119333
|
-
} while (
|
|
119334
|
-
return
|
|
119460
|
+
prev = c;
|
|
119461
|
+
c = c.replace(/ +$/, "");
|
|
119462
|
+
if (c === "." || c === "..")
|
|
119463
|
+
return c;
|
|
119464
|
+
c = c.replace(/\.+$/, "");
|
|
119465
|
+
} while (c !== prev);
|
|
119466
|
+
return c || ".";
|
|
119335
119467
|
}).join("/");
|
|
119336
119468
|
s = posix4.normalize(s);
|
|
119337
119469
|
if (s.startsWith("./"))
|
|
@@ -119435,7 +119567,7 @@ function argLeaksValue(_cmd, element) {
|
|
|
119435
119567
|
if (argTypes[i] === "Parameter") {
|
|
119436
119568
|
const paramChildren = children?.[i];
|
|
119437
119569
|
if (paramChildren) {
|
|
119438
|
-
if (paramChildren.some((
|
|
119570
|
+
if (paramChildren.some((c) => c.type !== "StringConstant")) {
|
|
119439
119571
|
return true;
|
|
119440
119572
|
}
|
|
119441
119573
|
} else {
|
|
@@ -119619,7 +119751,7 @@ function isAllowlistedCommand(cmd, originalCommand) {
|
|
|
119619
119751
|
if (t === "Parameter") {
|
|
119620
119752
|
const paramChildren = cmd.children?.[i - 1];
|
|
119621
119753
|
if (paramChildren) {
|
|
119622
|
-
if (paramChildren.some((
|
|
119754
|
+
if (paramChildren.some((c) => c.type !== "StringConstant")) {
|
|
119623
119755
|
return false;
|
|
119624
119756
|
}
|
|
119625
119757
|
} else {
|
|
@@ -122254,7 +122386,7 @@ function checkDownloadCradles(parsed) {
|
|
|
122254
122386
|
}
|
|
122255
122387
|
}
|
|
122256
122388
|
const all = getAllCommands2(parsed);
|
|
122257
|
-
if (all.some((
|
|
122389
|
+
if (all.some((c) => isDownloader(c.name)) && all.some((c) => isIex(c.name))) {
|
|
122258
122390
|
return {
|
|
122259
122391
|
behavior: "ask",
|
|
122260
122392
|
message: "Command downloads and executes remote code"
|
|
@@ -123288,10 +123420,10 @@ async function powershellToolHasPermission(input, context) {
|
|
|
123288
123420
|
return true;
|
|
123289
123421
|
}
|
|
123290
123422
|
if (statement !== null) {
|
|
123291
|
-
for (const
|
|
123292
|
-
if (
|
|
123423
|
+
for (const c of statement.commands) {
|
|
123424
|
+
if (c.elementType === "CommandAst")
|
|
123293
123425
|
continue;
|
|
123294
|
-
if (isGitInternalPathPS(
|
|
123426
|
+
if (isGitInternalPathPS(c.text))
|
|
123295
123427
|
return true;
|
|
123296
123428
|
}
|
|
123297
123429
|
}
|
|
@@ -126090,7 +126222,7 @@ var init_AgentTool = __esm(() => {
|
|
|
126090
126222
|
}
|
|
126091
126223
|
const requiredMcpServers = selectedAgent.requiredMcpServers;
|
|
126092
126224
|
if (requiredMcpServers?.length) {
|
|
126093
|
-
const hasPendingRequiredServers = appState.mcp.clients.some((
|
|
126225
|
+
const hasPendingRequiredServers = appState.mcp.clients.some((c) => c.type === "pending" && requiredMcpServers.some((pattern) => c.name.toLowerCase().includes(pattern.toLowerCase())));
|
|
126094
126226
|
let currentAppState = appState;
|
|
126095
126227
|
if (hasPendingRequiredServers) {
|
|
126096
126228
|
const MAX_WAIT_MS = 30000;
|
|
@@ -126099,10 +126231,10 @@ var init_AgentTool = __esm(() => {
|
|
|
126099
126231
|
while (Date.now() < deadline) {
|
|
126100
126232
|
await sleep(POLL_INTERVAL_MS2);
|
|
126101
126233
|
currentAppState = toolUseContext.getAppState();
|
|
126102
|
-
const hasFailedRequiredServer = currentAppState.mcp.clients.some((
|
|
126234
|
+
const hasFailedRequiredServer = currentAppState.mcp.clients.some((c) => c.type === "failed" && requiredMcpServers.some((pattern) => c.name.toLowerCase().includes(pattern.toLowerCase())));
|
|
126103
126235
|
if (hasFailedRequiredServer)
|
|
126104
126236
|
break;
|
|
126105
|
-
const stillPending = currentAppState.mcp.clients.some((
|
|
126237
|
+
const stillPending = currentAppState.mcp.clients.some((c) => c.type === "pending" && requiredMcpServers.some((pattern) => c.name.toLowerCase().includes(pattern.toLowerCase())));
|
|
126106
126238
|
if (!stillPending)
|
|
126107
126239
|
break;
|
|
126108
126240
|
}
|
|
@@ -127209,7 +127341,7 @@ function isCollapsibleToolUse(msg, tools) {
|
|
|
127209
127341
|
function isCollapsibleToolResult(msg, collapsibleToolUseIds) {
|
|
127210
127342
|
if (msg.type === "user") {
|
|
127211
127343
|
const contentItems = getContentItems(msg.message?.content);
|
|
127212
|
-
const toolResults = contentItems.filter((
|
|
127344
|
+
const toolResults = contentItems.filter((c) => c.type === "tool_result");
|
|
127213
127345
|
return toolResults.length > 0 && toolResults.every((r) => collapsibleToolUseIds.has(r.tool_use_id));
|
|
127214
127346
|
}
|
|
127215
127347
|
return false;
|
|
@@ -127285,10 +127417,10 @@ function scanBashResultForGitOps(msg, group) {
|
|
|
127285
127417
|
return;
|
|
127286
127418
|
const combined = (out.stdout ?? "") + `
|
|
127287
127419
|
` + (out.stderr ?? "");
|
|
127288
|
-
for (const
|
|
127289
|
-
if (
|
|
127420
|
+
for (const c of getContentItems(msg.message?.content)) {
|
|
127421
|
+
if (c.type !== "tool_result")
|
|
127290
127422
|
continue;
|
|
127291
|
-
const toolResult =
|
|
127423
|
+
const toolResult = c;
|
|
127292
127424
|
const command = group.bashCommands?.get(toolResult.tool_use_id);
|
|
127293
127425
|
if (!command)
|
|
127294
127426
|
continue;
|
|
@@ -128820,7 +128952,9 @@ async function getAttachments(input, toolUseContext, ideSelection, queuedCommand
|
|
|
128820
128952
|
}))),
|
|
128821
128953
|
maybe("agent_listing_delta", () => Promise.resolve(getAgentListingDeltaAttachment(toolUseContext, messages))),
|
|
128822
128954
|
maybe("mcp_instructions_delta", () => Promise.resolve(getMcpInstructionsDeltaAttachment(toolUseContext.options.mcpClients, toolUseContext.options.tools, toolUseContext.options.mainLoopModel, messages))),
|
|
128823
|
-
...[
|
|
128955
|
+
...[
|
|
128956
|
+
maybe("companion_intro", () => Promise.resolve(getCompanionIntroAttachment(messages)))
|
|
128957
|
+
],
|
|
128824
128958
|
maybe("changed_files", () => getChangedFiles(context)),
|
|
128825
128959
|
maybe("nested_memory", () => getNestedMemoryAttachments(context)),
|
|
128826
128960
|
maybe("dynamic_skill", () => getDynamicSkillAttachments(context)),
|
|
@@ -129348,7 +129482,7 @@ async function processMcpResourceAttachments(input, toolUseContext) {
|
|
|
129348
129482
|
logEvent("tengu_at_mention_mcp_resource_error", {});
|
|
129349
129483
|
return null;
|
|
129350
129484
|
}
|
|
129351
|
-
const client = mcpClients.find((
|
|
129485
|
+
const client = mcpClients.find((c) => c.name === serverName);
|
|
129352
129486
|
if (!client || client.type !== "connected") {
|
|
129353
129487
|
logEvent("tengu_at_mention_mcp_resource_error", {});
|
|
129354
129488
|
return null;
|
|
@@ -132053,7 +132187,7 @@ async function checkPermissionsAndCallTool(tool, toolUseID, input, toolUseContex
|
|
|
132053
132187
|
if (error instanceof McpAuthError) {
|
|
132054
132188
|
toolUseContext.setAppState((prevState) => {
|
|
132055
132189
|
const serverName = error.serverName;
|
|
132056
|
-
const existingClientIndex = prevState.mcp.clients.findIndex((
|
|
132190
|
+
const existingClientIndex = prevState.mcp.clients.findIndex((c) => c.name === serverName);
|
|
132057
132191
|
if (existingClientIndex === -1) {
|
|
132058
132192
|
return prevState;
|
|
132059
132193
|
}
|
|
@@ -133663,7 +133797,7 @@ async function* queryLoop(params, consumedCommandUuids) {
|
|
|
133663
133797
|
maxOutputTokensOverride,
|
|
133664
133798
|
fetchOverride: dumpPromptsFetch,
|
|
133665
133799
|
mcpTools: appState.mcp.tools,
|
|
133666
|
-
hasPendingMcpServers: appState.mcp.clients.some((
|
|
133800
|
+
hasPendingMcpServers: appState.mcp.clients.some((c) => c.type === "pending"),
|
|
133667
133801
|
queryTracking,
|
|
133668
133802
|
effortValue: appState.effortValue,
|
|
133669
133803
|
advisorModel: appState.advisorModel,
|
|
@@ -134023,7 +134157,7 @@ async function* queryLoop(params, consumedCommandUuids) {
|
|
|
134023
134157
|
const toolUseIds = toolUseBlocks.map((block) => block.id);
|
|
134024
134158
|
const toolInfoForSummary = toolUseBlocks.map((block) => {
|
|
134025
134159
|
const toolResult = toolResults.find((result) => result.type === "user" && Array.isArray(result.message.content) && result.message.content.some((content) => content.type === "tool_result" && content.tool_use_id === block.id));
|
|
134026
|
-
const resultContent = toolResult?.type === "user" && Array.isArray(toolResult.message.content) ? toolResult.message.content.find((
|
|
134160
|
+
const resultContent = toolResult?.type === "user" && Array.isArray(toolResult.message.content) ? toolResult.message.content.find((c) => c.type === "tool_result" && c.tool_use_id === block.id) : undefined;
|
|
134027
134161
|
return {
|
|
134028
134162
|
name: block.name,
|
|
134029
134163
|
input: block.input,
|
|
@@ -134264,7 +134398,7 @@ function getAnthropicEnvMetadata() {
|
|
|
134264
134398
|
function getBuildAgeMinutes() {
|
|
134265
134399
|
if (false)
|
|
134266
134400
|
;
|
|
134267
|
-
const buildTime = new Date("2026-04-
|
|
134401
|
+
const buildTime = new Date("2026-04-02T16:54:30.878Z").getTime();
|
|
134268
134402
|
if (isNaN(buildTime))
|
|
134269
134403
|
return;
|
|
134270
134404
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -134613,7 +134747,7 @@ function logAPISuccessAndDuration({
|
|
|
134613
134747
|
const content = m2.message.content;
|
|
134614
134748
|
if (!Array.isArray(content))
|
|
134615
134749
|
return [];
|
|
134616
|
-
return content.filter((
|
|
134750
|
+
return content.filter((c) => typeof c !== "string" && c.type === "text").map((c) => c.text);
|
|
134617
134751
|
}).join(`
|
|
134618
134752
|
`) || undefined;
|
|
134619
134753
|
if (process.env.USER_TYPE === "ant") {
|
|
@@ -134621,7 +134755,7 @@ function logAPISuccessAndDuration({
|
|
|
134621
134755
|
const content = m2.message.content;
|
|
134622
134756
|
if (!Array.isArray(content))
|
|
134623
134757
|
return [];
|
|
134624
|
-
return content.filter((
|
|
134758
|
+
return content.filter((c) => typeof c !== "string" && c.type === "thinking").map((c) => c.thinking);
|
|
134625
134759
|
}).join(`
|
|
134626
134760
|
`) || undefined;
|
|
134627
134761
|
}
|
|
@@ -134629,7 +134763,7 @@ function logAPISuccessAndDuration({
|
|
|
134629
134763
|
const content = m2.message.content;
|
|
134630
134764
|
if (!Array.isArray(content))
|
|
134631
134765
|
return false;
|
|
134632
|
-
return content.some((
|
|
134766
|
+
return content.some((c) => typeof c !== "string" && c.type === "tool_use");
|
|
134633
134767
|
});
|
|
134634
134768
|
}
|
|
134635
134769
|
endLLMRequestSpan(llmSpan, {
|
|
@@ -138344,7 +138478,7 @@ var init_sessionFileAccessHooks = __esm(() => {
|
|
|
138344
138478
|
init_state();
|
|
138345
138479
|
init_analytics();
|
|
138346
138480
|
init_constants5();
|
|
138347
|
-
|
|
138481
|
+
init_types9();
|
|
138348
138482
|
init_FileReadTool();
|
|
138349
138483
|
init_prompt5();
|
|
138350
138484
|
init_FileWriteTool();
|
|
@@ -139418,7 +139552,7 @@ For commands that are harder to parse at a glance (piped commands, obscure flags
|
|
|
139418
139552
|
if (parsed.kind !== "simple") {
|
|
139419
139553
|
return () => true;
|
|
139420
139554
|
}
|
|
139421
|
-
const subcommands = parsed.commands.map((
|
|
139555
|
+
const subcommands = parsed.commands.map((c) => c.argv.join(" "));
|
|
139422
139556
|
return (pattern) => {
|
|
139423
139557
|
const prefix = permissionRuleExtractPrefix2(pattern);
|
|
139424
139558
|
return subcommands.some((cmd) => {
|
|
@@ -141473,7 +141607,7 @@ var init_contextAnalysis = __esm(() => {
|
|
|
141473
141607
|
|
|
141474
141608
|
// src/utils/memory/types.ts
|
|
141475
141609
|
var MEMORY_TYPE_VALUES;
|
|
141476
|
-
var
|
|
141610
|
+
var init_types10 = __esm(() => {
|
|
141477
141611
|
MEMORY_TYPE_VALUES = [
|
|
141478
141612
|
"User",
|
|
141479
141613
|
"Project",
|
|
@@ -142737,7 +142871,7 @@ var init_compact = __esm(() => {
|
|
|
142737
142871
|
init_forkedAgent();
|
|
142738
142872
|
init_hooks3();
|
|
142739
142873
|
init_log();
|
|
142740
|
-
|
|
142874
|
+
init_types10();
|
|
142741
142875
|
init_messages2();
|
|
142742
142876
|
init_path();
|
|
142743
142877
|
init_plans();
|
|
@@ -143557,8 +143691,8 @@ async function countBuiltInToolTokens(tools, getToolPermissionContext, agentInfo
|
|
|
143557
143691
|
systemToolDetails: []
|
|
143558
143692
|
};
|
|
143559
143693
|
}
|
|
143560
|
-
const { isToolSearchEnabled: isToolSearchEnabled2 } = await import("./chunk-
|
|
143561
|
-
const { isDeferredTool: isDeferredTool2 } = await import("./chunk-
|
|
143694
|
+
const { isToolSearchEnabled: isToolSearchEnabled2 } = await import("./chunk-2dcafvh4.js");
|
|
143695
|
+
const { isDeferredTool: isDeferredTool2 } = await import("./chunk-a11m6tpe.js");
|
|
143562
143696
|
const isDeferred = await isToolSearchEnabled2(model ?? "", tools, getToolPermissionContext, agentInfo?.activeAgents ?? [], "analyzeBuiltIn");
|
|
143563
143697
|
const alwaysLoadedTools = builtInTools.filter((t) => !isDeferredTool2(t));
|
|
143564
143698
|
const deferredBuiltinTools = builtInTools.filter((t) => isDeferredTool2(t));
|
|
@@ -143692,8 +143826,8 @@ async function countMcpToolTokens(tools, getToolPermissionContext, agentInfo, mo
|
|
|
143692
143826
|
}))));
|
|
143693
143827
|
const estimateTotal = estimates.reduce((s, e) => s + e, 0) || 1;
|
|
143694
143828
|
const mcpToolTokensByTool = estimates.map((e) => Math.round(e / estimateTotal * totalTokens));
|
|
143695
|
-
const { isToolSearchEnabled: isToolSearchEnabled2 } = await import("./chunk-
|
|
143696
|
-
const { isDeferredTool: isDeferredTool2 } = await import("./chunk-
|
|
143829
|
+
const { isToolSearchEnabled: isToolSearchEnabled2 } = await import("./chunk-2dcafvh4.js");
|
|
143830
|
+
const { isDeferredTool: isDeferredTool2 } = await import("./chunk-a11m6tpe.js");
|
|
143697
143831
|
const isDeferred = await isToolSearchEnabled2(model, tools, getToolPermissionContext, agentInfo?.activeAgents ?? [], "analyzeMcp");
|
|
143698
143832
|
const loadedMcpToolNames = new Set;
|
|
143699
143833
|
if (isDeferred && messages) {
|
|
@@ -143952,7 +144086,7 @@ async function analyzeContextUsage(messages, model, getToolPermissionContext, to
|
|
|
143952
144086
|
color: "purple_FOR_SUBAGENTS_ONLY"
|
|
143953
144087
|
});
|
|
143954
144088
|
}
|
|
143955
|
-
const actualUsage = cats.reduce((sum,
|
|
144089
|
+
const actualUsage = cats.reduce((sum, cat) => sum + (cat.isDeferred ? 0 : cat.tokens), 0);
|
|
143956
144090
|
let reservedTokens = 0;
|
|
143957
144091
|
let skipReservedBuffer = false;
|
|
143958
144092
|
if (false) {}
|
|
@@ -143986,11 +144120,11 @@ async function analyzeContextUsage(messages, model, getToolPermissionContext, to
|
|
|
143986
144120
|
const GRID_WIDTH = contextWindow >= 1e6 ? isNarrowScreen ? 5 : 20 : isNarrowScreen ? 5 : 10;
|
|
143987
144121
|
const GRID_HEIGHT = contextWindow >= 1e6 ? 10 : isNarrowScreen ? 5 : 10;
|
|
143988
144122
|
const TOTAL_SQUARES = GRID_WIDTH * GRID_HEIGHT;
|
|
143989
|
-
const nonDeferredCats = cats.filter((
|
|
143990
|
-
const categorySquares = nonDeferredCats.map((
|
|
143991
|
-
...
|
|
143992
|
-
squares:
|
|
143993
|
-
percentageOfTotal: Math.round(
|
|
144123
|
+
const nonDeferredCats = cats.filter((cat) => !cat.isDeferred);
|
|
144124
|
+
const categorySquares = nonDeferredCats.map((cat) => ({
|
|
144125
|
+
...cat,
|
|
144126
|
+
squares: cat.name === "Free space" ? Math.round(cat.tokens / contextWindow * TOTAL_SQUARES) : Math.max(1, Math.round(cat.tokens / contextWindow * TOTAL_SQUARES)),
|
|
144127
|
+
percentageOfTotal: Math.round(cat.tokens / contextWindow * 100)
|
|
143994
144128
|
}));
|
|
143995
144129
|
function createCategorySquares(category) {
|
|
143996
144130
|
const squares = [];
|
|
@@ -144014,10 +144148,10 @@ async function analyzeContextUsage(messages, model, getToolPermissionContext, to
|
|
|
144014
144148
|
return squares;
|
|
144015
144149
|
}
|
|
144016
144150
|
const gridSquares = [];
|
|
144017
|
-
const reservedCategory = categorySquares.find((
|
|
144018
|
-
const nonReservedCategories = categorySquares.filter((
|
|
144019
|
-
for (const
|
|
144020
|
-
const squares = createCategorySquares(
|
|
144151
|
+
const reservedCategory = categorySquares.find((cat) => cat.name === RESERVED_CATEGORY_NAME || cat.name === MANUAL_COMPACT_BUFFER_NAME);
|
|
144152
|
+
const nonReservedCategories = categorySquares.filter((cat) => cat.name !== RESERVED_CATEGORY_NAME && cat.name !== MANUAL_COMPACT_BUFFER_NAME && cat.name !== "Free space");
|
|
144153
|
+
for (const cat of nonReservedCategories) {
|
|
144154
|
+
const squares = createCategorySquares(cat);
|
|
144021
144155
|
for (const square of squares) {
|
|
144022
144156
|
if (gridSquares.length < TOTAL_SQUARES) {
|
|
144023
144157
|
gridSquares.push(square);
|
|
@@ -144025,7 +144159,7 @@ async function analyzeContextUsage(messages, model, getToolPermissionContext, to
|
|
|
144025
144159
|
}
|
|
144026
144160
|
}
|
|
144027
144161
|
const reservedSquareCount = reservedCategory ? reservedCategory.squares : 0;
|
|
144028
|
-
const freeSpaceCat = cats.find((
|
|
144162
|
+
const freeSpaceCat = cats.find((c) => c.name === "Free space");
|
|
144029
144163
|
const freeSpaceTarget = TOTAL_SQUARES - reservedSquareCount;
|
|
144030
144164
|
while (gridSquares.length < freeSpaceTarget) {
|
|
144031
144165
|
gridSquares.push({
|
|
@@ -144718,7 +144852,7 @@ function stripToolSearchFieldsFromMessages(messages) {
|
|
|
144718
144852
|
if (block.type === "tool_result") {
|
|
144719
144853
|
const toolResult = block;
|
|
144720
144854
|
if (Array.isArray(toolResult.content)) {
|
|
144721
|
-
const filteredContent = toolResult.content.filter((
|
|
144855
|
+
const filteredContent = toolResult.content.filter((c) => !isToolReferenceBlock(c));
|
|
144722
144856
|
if (filteredContent.length === 0) {
|
|
144723
144857
|
return {
|
|
144724
144858
|
...toolResult,
|
|
@@ -145905,23 +146039,23 @@ var require_parser2 = __commonJS((exports, module) => {
|
|
|
145905
146039
|
lastPos = i + 1;
|
|
145906
146040
|
}
|
|
145907
146041
|
for (;i < cssLength; i++) {
|
|
145908
|
-
var
|
|
145909
|
-
if (
|
|
146042
|
+
var c = css[i];
|
|
146043
|
+
if (c === "/" && css[i + 1] === "*") {
|
|
145910
146044
|
var j2 = css.indexOf("*/", i + 2);
|
|
145911
146045
|
if (j2 === -1)
|
|
145912
146046
|
break;
|
|
145913
146047
|
i = j2 + 1;
|
|
145914
146048
|
lastPos = i + 1;
|
|
145915
146049
|
isParenthesisOpen = false;
|
|
145916
|
-
} else if (
|
|
146050
|
+
} else if (c === "(") {
|
|
145917
146051
|
isParenthesisOpen = true;
|
|
145918
|
-
} else if (
|
|
146052
|
+
} else if (c === ")") {
|
|
145919
146053
|
isParenthesisOpen = false;
|
|
145920
|
-
} else if (
|
|
146054
|
+
} else if (c === ";") {
|
|
145921
146055
|
if (isParenthesisOpen) {} else {
|
|
145922
146056
|
addNewAttr();
|
|
145923
146057
|
}
|
|
145924
|
-
} else if (
|
|
146058
|
+
} else if (c === `
|
|
145925
146059
|
`) {
|
|
145926
146060
|
addNewAttr();
|
|
145927
146061
|
}
|
|
@@ -146312,11 +146446,11 @@ var require_default2 = __commonJS((exports) => {
|
|
|
146312
146446
|
function stripBlankChar(html) {
|
|
146313
146447
|
var chars = html.split("");
|
|
146314
146448
|
chars = chars.filter(function(char) {
|
|
146315
|
-
var
|
|
146316
|
-
if (
|
|
146449
|
+
var c = char.charCodeAt(0);
|
|
146450
|
+
if (c === 127)
|
|
146317
146451
|
return false;
|
|
146318
|
-
if (
|
|
146319
|
-
if (
|
|
146452
|
+
if (c <= 31) {
|
|
146453
|
+
if (c === 10 || c === 13)
|
|
146320
146454
|
return true;
|
|
146321
146455
|
return false;
|
|
146322
146456
|
}
|
|
@@ -146380,21 +146514,21 @@ var require_parser3 = __commonJS((exports) => {
|
|
|
146380
146514
|
var currentHtml = "";
|
|
146381
146515
|
chariterator:
|
|
146382
146516
|
for (currentPos = 0;currentPos < len; currentPos++) {
|
|
146383
|
-
var
|
|
146517
|
+
var c = html.charAt(currentPos);
|
|
146384
146518
|
if (tagStart === false) {
|
|
146385
|
-
if (
|
|
146519
|
+
if (c === "<") {
|
|
146386
146520
|
tagStart = currentPos;
|
|
146387
146521
|
continue;
|
|
146388
146522
|
}
|
|
146389
146523
|
} else {
|
|
146390
146524
|
if (quoteStart === false) {
|
|
146391
|
-
if (
|
|
146525
|
+
if (c === "<") {
|
|
146392
146526
|
rethtml += escapeHtml(html.slice(lastPos, currentPos));
|
|
146393
146527
|
tagStart = currentPos;
|
|
146394
146528
|
lastPos = currentPos;
|
|
146395
146529
|
continue;
|
|
146396
146530
|
}
|
|
146397
|
-
if (
|
|
146531
|
+
if (c === ">" || currentPos === len - 1) {
|
|
146398
146532
|
rethtml += escapeHtml(html.slice(lastPos, tagStart));
|
|
146399
146533
|
currentHtml = html.slice(tagStart, currentPos + 1);
|
|
146400
146534
|
currentTagName = getTagName(currentHtml);
|
|
@@ -146403,19 +146537,19 @@ var require_parser3 = __commonJS((exports) => {
|
|
|
146403
146537
|
tagStart = false;
|
|
146404
146538
|
continue;
|
|
146405
146539
|
}
|
|
146406
|
-
if (
|
|
146540
|
+
if (c === '"' || c === "'") {
|
|
146407
146541
|
var i = 1;
|
|
146408
146542
|
var ic = html.charAt(currentPos - i);
|
|
146409
146543
|
while (ic.trim() === "" || ic === "=") {
|
|
146410
146544
|
if (ic === "=") {
|
|
146411
|
-
quoteStart =
|
|
146545
|
+
quoteStart = c;
|
|
146412
146546
|
continue chariterator;
|
|
146413
146547
|
}
|
|
146414
146548
|
ic = html.charAt(currentPos - ++i);
|
|
146415
146549
|
}
|
|
146416
146550
|
}
|
|
146417
146551
|
} else {
|
|
146418
|
-
if (
|
|
146552
|
+
if (c === quoteStart) {
|
|
146419
146553
|
quoteStart = false;
|
|
146420
146554
|
continue;
|
|
146421
146555
|
}
|
|
@@ -146444,9 +146578,9 @@ var require_parser3 = __commonJS((exports) => {
|
|
|
146444
146578
|
retAttrs.push(ret);
|
|
146445
146579
|
}
|
|
146446
146580
|
for (var i = 0;i < len; i++) {
|
|
146447
|
-
var
|
|
146581
|
+
var c = html.charAt(i);
|
|
146448
146582
|
var v2, j2;
|
|
146449
|
-
if (tmpName === false &&
|
|
146583
|
+
if (tmpName === false && c === "=") {
|
|
146450
146584
|
tmpName = html.slice(lastPos, i);
|
|
146451
146585
|
lastPos = i + 1;
|
|
146452
146586
|
lastMarkPos = html.charAt(lastPos) === '"' || html.charAt(lastPos) === "'" ? lastPos : findNextQuotationMark(html, i + 1);
|
|
@@ -146454,7 +146588,7 @@ var require_parser3 = __commonJS((exports) => {
|
|
|
146454
146588
|
}
|
|
146455
146589
|
if (tmpName !== false) {
|
|
146456
146590
|
if (i === lastMarkPos) {
|
|
146457
|
-
j2 = html.indexOf(
|
|
146591
|
+
j2 = html.indexOf(c, i + 1);
|
|
146458
146592
|
if (j2 === -1) {
|
|
146459
146593
|
break;
|
|
146460
146594
|
} else {
|
|
@@ -146467,7 +146601,7 @@ var require_parser3 = __commonJS((exports) => {
|
|
|
146467
146601
|
}
|
|
146468
146602
|
}
|
|
146469
146603
|
}
|
|
146470
|
-
if (/\s|\n|\t/.test(
|
|
146604
|
+
if (/\s|\n|\t/.test(c)) {
|
|
146471
146605
|
html = html.replace(/\s|\n|\t/g, " ");
|
|
146472
146606
|
if (tmpName === false) {
|
|
146473
146607
|
j2 = findNextEqual(html, i);
|
|
@@ -146507,30 +146641,30 @@ var require_parser3 = __commonJS((exports) => {
|
|
|
146507
146641
|
}
|
|
146508
146642
|
function findNextEqual(str2, i) {
|
|
146509
146643
|
for (;i < str2.length; i++) {
|
|
146510
|
-
var
|
|
146511
|
-
if (
|
|
146644
|
+
var c = str2[i];
|
|
146645
|
+
if (c === " ")
|
|
146512
146646
|
continue;
|
|
146513
|
-
if (
|
|
146647
|
+
if (c === "=")
|
|
146514
146648
|
return i;
|
|
146515
146649
|
return -1;
|
|
146516
146650
|
}
|
|
146517
146651
|
}
|
|
146518
146652
|
function findNextQuotationMark(str2, i) {
|
|
146519
146653
|
for (;i < str2.length; i++) {
|
|
146520
|
-
var
|
|
146521
|
-
if (
|
|
146654
|
+
var c = str2[i];
|
|
146655
|
+
if (c === " ")
|
|
146522
146656
|
continue;
|
|
146523
|
-
if (
|
|
146657
|
+
if (c === "'" || c === '"')
|
|
146524
146658
|
return i;
|
|
146525
146659
|
return -1;
|
|
146526
146660
|
}
|
|
146527
146661
|
}
|
|
146528
146662
|
function findBeforeEqual(str2, i) {
|
|
146529
146663
|
for (;i > 0; i--) {
|
|
146530
|
-
var
|
|
146531
|
-
if (
|
|
146664
|
+
var c = str2[i];
|
|
146665
|
+
if (c === " ")
|
|
146532
146666
|
continue;
|
|
146533
|
-
if (
|
|
146667
|
+
if (c === "=")
|
|
146534
146668
|
return i;
|
|
146535
146669
|
return -1;
|
|
146536
146670
|
}
|
|
@@ -148603,22 +148737,22 @@ async function readClientSecret() {
|
|
|
148603
148737
|
process.stdin.setRawMode?.(true);
|
|
148604
148738
|
let secret = "";
|
|
148605
148739
|
const onData = (ch) => {
|
|
148606
|
-
const
|
|
148607
|
-
if (
|
|
148608
|
-
` ||
|
|
148740
|
+
const c = ch.toString();
|
|
148741
|
+
if (c === `
|
|
148742
|
+
` || c === "\r") {
|
|
148609
148743
|
process.stdin.setRawMode?.(false);
|
|
148610
148744
|
process.stdin.removeListener("data", onData);
|
|
148611
148745
|
process.stderr.write(`
|
|
148612
148746
|
`);
|
|
148613
148747
|
resolve23(secret);
|
|
148614
|
-
} else if (
|
|
148748
|
+
} else if (c === "\x03") {
|
|
148615
148749
|
process.stdin.setRawMode?.(false);
|
|
148616
148750
|
process.stdin.removeListener("data", onData);
|
|
148617
148751
|
reject2(new Error("Cancelled"));
|
|
148618
|
-
} else if (
|
|
148752
|
+
} else if (c === "\x7F" || c === "\b") {
|
|
148619
148753
|
secret = secret.slice(0, -1);
|
|
148620
148754
|
} else {
|
|
148621
|
-
secret +=
|
|
148755
|
+
secret += c;
|
|
148622
148756
|
}
|
|
148623
148757
|
};
|
|
148624
148758
|
process.stdin.on("data", onData);
|
|
@@ -148777,13 +148911,13 @@ function createMcpAuthTool(serverName, config2) {
|
|
|
148777
148911
|
...prev,
|
|
148778
148912
|
mcp: {
|
|
148779
148913
|
...prev.mcp,
|
|
148780
|
-
clients: prev.mcp.clients.map((
|
|
148914
|
+
clients: prev.mcp.clients.map((c) => c.name === serverName ? result.client : c),
|
|
148781
148915
|
tools: [
|
|
148782
148916
|
...reject_default(prev.mcp.tools, (t) => t.name?.startsWith(prefix)),
|
|
148783
148917
|
...result.tools
|
|
148784
148918
|
],
|
|
148785
148919
|
commands: [
|
|
148786
|
-
...reject_default(prev.mcp.commands, (
|
|
148920
|
+
...reject_default(prev.mcp.commands, (c) => c.name?.startsWith(prefix)),
|
|
148787
148921
|
...result.commands
|
|
148788
148922
|
],
|
|
148789
148923
|
resources: result.resources ? { ...prev.mcp.resources, [serverName]: result.resources } : prev.mcp.resources
|
|
@@ -148994,7 +149128,7 @@ class WebSocketTransport {
|
|
|
148994
149128
|
}
|
|
148995
149129
|
var WS_CONNECTING = 0, WS_OPEN = 1;
|
|
148996
149130
|
var init_mcpWebSocketTransport = __esm(() => {
|
|
148997
|
-
|
|
149131
|
+
init_types4();
|
|
148998
149132
|
init_diagLogs();
|
|
148999
149133
|
init_errors();
|
|
149000
149134
|
init_slowOperations();
|
|
@@ -149195,7 +149329,7 @@ async function runElicitationResultHooks(serverName, result, signal, mode, elici
|
|
|
149195
149329
|
}
|
|
149196
149330
|
}
|
|
149197
149331
|
var init_elicitationHandler = __esm(() => {
|
|
149198
|
-
|
|
149332
|
+
init_types4();
|
|
149199
149333
|
init_hooks3();
|
|
149200
149334
|
init_log();
|
|
149201
149335
|
init_slowOperations();
|
|
@@ -150166,7 +150300,7 @@ function wrapFetchWithTimeout(baseFetch) {
|
|
|
150166
150300
|
headers.set("accept", MCP_STREAMABLE_HTTP_ACCEPT);
|
|
150167
150301
|
}
|
|
150168
150302
|
const controller = new AbortController;
|
|
150169
|
-
const timer = setTimeout((
|
|
150303
|
+
const timer = setTimeout((c) => c.abort(new DOMException("The operation timed out.", "TimeoutError")), MCP_REQUEST_TIMEOUT_MS, controller);
|
|
150170
150304
|
timer.unref?.();
|
|
150171
150305
|
const parentSignal = init?.signal;
|
|
150172
150306
|
const abort = () => controller.abort(parentSignal?.reason);
|
|
@@ -150315,11 +150449,11 @@ async function getMcpToolsCommandsAndResources(onConnectionAttempt, mcpConfigs)
|
|
|
150315
150449
|
}
|
|
150316
150450
|
}
|
|
150317
150451
|
const totalServers = configEntries.length;
|
|
150318
|
-
const stdioCount = count(configEntries, ([_2,
|
|
150319
|
-
const sseCount = count(configEntries, ([_2,
|
|
150320
|
-
const httpCount = count(configEntries, ([_2,
|
|
150321
|
-
const sseIdeCount = count(configEntries, ([_2,
|
|
150322
|
-
const wsIdeCount = count(configEntries, ([_2,
|
|
150452
|
+
const stdioCount = count(configEntries, ([_2, c]) => c.type === "stdio");
|
|
150453
|
+
const sseCount = count(configEntries, ([_2, c]) => c.type === "sse");
|
|
150454
|
+
const httpCount = count(configEntries, ([_2, c]) => c.type === "http");
|
|
150455
|
+
const sseIdeCount = count(configEntries, ([_2, c]) => c.type === "sse-ide");
|
|
150456
|
+
const wsIdeCount = count(configEntries, ([_2, c]) => c.type === "ws-ide");
|
|
150323
150457
|
const localServers = configEntries.filter(([_2, config2]) => isLocalMcpServer(config2));
|
|
150324
150458
|
const remoteServers = configEntries.filter(([_2, config2]) => !isLocalMcpServer(config2));
|
|
150325
150459
|
const serverStats = {
|
|
@@ -150895,7 +151029,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
150895
151029
|
const client = new Client({
|
|
150896
151030
|
name: "claude-code",
|
|
150897
151031
|
title: "Claude Code",
|
|
150898
|
-
version: "1.0.3-fork.
|
|
151032
|
+
version: "1.0.3-fork.d431a23",
|
|
150899
151033
|
description: "Anthropic's agentic coding tool",
|
|
150900
151034
|
websiteUrl: PRODUCT_URL
|
|
150901
151035
|
}, {
|
|
@@ -150950,7 +151084,7 @@ var init_client5 = __esm(() => {
|
|
|
150950
151084
|
init_stdio2();
|
|
150951
151085
|
init_streamableHttp();
|
|
150952
151086
|
init_transport();
|
|
150953
|
-
|
|
151087
|
+
init_types4();
|
|
150954
151088
|
init_mapValues();
|
|
150955
151089
|
init_memoize();
|
|
150956
151090
|
init_zipObject();
|
|
@@ -151214,7 +151348,7 @@ var init_client5 = __esm(() => {
|
|
|
151214
151348
|
transport = new StreamableHTTPClientTransport(new URL(proxyUrl), transportOptions);
|
|
151215
151349
|
logMCPDebug(name, `claude.ai proxy transport created successfully`);
|
|
151216
151350
|
} else if ((serverRef.type === "stdio" || !serverRef.type) && isClaudeInChromeMCPServer(name)) {
|
|
151217
|
-
const { createChromeContext } = await import("./chunk-
|
|
151351
|
+
const { createChromeContext } = await import("./chunk-92pjbd7p.js");
|
|
151218
151352
|
const { createClaudeForChromeMcpServer } = await import("./chunk-bm1qb16p.js");
|
|
151219
151353
|
const { createLinkedTransportPair } = await import("./chunk-1h2famwb.js");
|
|
151220
151354
|
const context = createChromeContext(serverRef.env);
|
|
@@ -151257,7 +151391,7 @@ var init_client5 = __esm(() => {
|
|
|
151257
151391
|
const client = new Client({
|
|
151258
151392
|
name: "claude-code",
|
|
151259
151393
|
title: "Claude Code",
|
|
151260
|
-
version: "1.0.3-fork.
|
|
151394
|
+
version: "1.0.3-fork.d431a23",
|
|
151261
151395
|
description: "Anthropic's agentic coding tool",
|
|
151262
151396
|
websiteUrl: PRODUCT_URL
|
|
151263
151397
|
}, {
|
|
@@ -152765,7 +152899,6 @@ function getExtraBodyParams(betaHeaders) {
|
|
|
152765
152899
|
logForDebugging(`Error parsing CLAUDE_CODE_EXTRA_BODY: ${errorMessage(error)}`, { level: "error" });
|
|
152766
152900
|
}
|
|
152767
152901
|
}
|
|
152768
|
-
if (false) {}
|
|
152769
152902
|
if (betaHeaders && betaHeaders.length > 0) {
|
|
152770
152903
|
if (result.anthropic_beta && Array.isArray(result.anthropic_beta)) {
|
|
152771
152904
|
const existingHeaders = result.anthropic_beta;
|
|
@@ -157832,10 +157965,10 @@ function stripUnavailableToolReferencesFromUserMessage(message, availableToolNam
|
|
|
157832
157965
|
if (!Array.isArray(content)) {
|
|
157833
157966
|
return message;
|
|
157834
157967
|
}
|
|
157835
|
-
const hasUnavailableReference = content.some((block) => block.type === "tool_result" && Array.isArray(block.content) && block.content.some((
|
|
157836
|
-
if (!isToolReferenceBlock(
|
|
157968
|
+
const hasUnavailableReference = content.some((block) => block.type === "tool_result" && Array.isArray(block.content) && block.content.some((c) => {
|
|
157969
|
+
if (!isToolReferenceBlock(c))
|
|
157837
157970
|
return false;
|
|
157838
|
-
const toolName =
|
|
157971
|
+
const toolName = c.tool_name;
|
|
157839
157972
|
return toolName && !availableToolNames.has(normalizeLegacyToolName(toolName));
|
|
157840
157973
|
}));
|
|
157841
157974
|
if (!hasUnavailableReference) {
|
|
@@ -157849,10 +157982,10 @@ function stripUnavailableToolReferencesFromUserMessage(message, availableToolNam
|
|
|
157849
157982
|
if (block.type !== "tool_result" || !Array.isArray(block.content)) {
|
|
157850
157983
|
return block;
|
|
157851
157984
|
}
|
|
157852
|
-
const filteredContent = block.content.filter((
|
|
157853
|
-
if (!isToolReferenceBlock(
|
|
157985
|
+
const filteredContent = block.content.filter((c) => {
|
|
157986
|
+
if (!isToolReferenceBlock(c))
|
|
157854
157987
|
return true;
|
|
157855
|
-
const rawToolName =
|
|
157988
|
+
const rawToolName = c.tool_name;
|
|
157856
157989
|
if (!rawToolName)
|
|
157857
157990
|
return true;
|
|
157858
157991
|
const toolName = normalizeLegacyToolName(rawToolName);
|
|
@@ -157898,7 +158031,7 @@ function stripToolReferenceBlocksFromUserMessage(message) {
|
|
|
157898
158031
|
if (block.type !== "tool_result" || !Array.isArray(block.content)) {
|
|
157899
158032
|
return block;
|
|
157900
158033
|
}
|
|
157901
|
-
const filteredContent = block.content.filter((
|
|
158034
|
+
const filteredContent = block.content.filter((c) => !isToolReferenceBlock(c));
|
|
157902
158035
|
if (filteredContent.length === 0) {
|
|
157903
158036
|
return {
|
|
157904
158037
|
...block,
|
|
@@ -158017,10 +158150,10 @@ function sanitizeErrorToolResultContent(messages) {
|
|
|
158017
158150
|
const trContent = b2.content;
|
|
158018
158151
|
if (!Array.isArray(trContent))
|
|
158019
158152
|
return b2;
|
|
158020
|
-
if (trContent.every((
|
|
158153
|
+
if (trContent.every((c) => c.type === "text"))
|
|
158021
158154
|
return b2;
|
|
158022
158155
|
changed = true;
|
|
158023
|
-
const texts = trContent.filter((
|
|
158156
|
+
const texts = trContent.filter((c) => c.type === "text").map((c) => c.text);
|
|
158024
158157
|
const textOnly = texts.length > 0 ? [{ type: "text", text: texts.join(`
|
|
158025
158158
|
|
|
158026
158159
|
`) }] : [];
|
|
@@ -158250,7 +158383,7 @@ function normalizeMessagesForAPI(messages, tools = []) {
|
|
|
158250
158383
|
const attachmentMessage = checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_chair_sermon") ? rawAttachmentMessage.map(ensureSystemReminderWrap) : rawAttachmentMessage;
|
|
158251
158384
|
const lastMessage = last_default(result);
|
|
158252
158385
|
if (lastMessage?.type === "user") {
|
|
158253
|
-
result[result.length - 1] = attachmentMessage.reduce((p,
|
|
158386
|
+
result[result.length - 1] = attachmentMessage.reduce((p, c) => mergeUserMessagesAndToolResults(p, c), lastMessage);
|
|
158254
158387
|
return;
|
|
158255
158388
|
}
|
|
158256
158389
|
result.push(...attachmentMessage);
|
|
@@ -160138,9 +160271,9 @@ function ensureToolResultPairing(messages) {
|
|
|
160138
160271
|
continue;
|
|
160139
160272
|
}
|
|
160140
160273
|
const serverResultIds = new Set;
|
|
160141
|
-
for (const
|
|
160142
|
-
if (typeof
|
|
160143
|
-
serverResultIds.add(
|
|
160274
|
+
for (const c of msg.message.content) {
|
|
160275
|
+
if (typeof c !== "string" && "tool_use_id" in c && typeof c.tool_use_id === "string") {
|
|
160276
|
+
serverResultIds.add(c.tool_use_id);
|
|
160144
160277
|
}
|
|
160145
160278
|
}
|
|
160146
160279
|
const seenToolUseIds = new Set;
|
|
@@ -160873,7 +161006,7 @@ var init_withRetry = __esm(() => {
|
|
|
160873
161006
|
|
|
160874
161007
|
// src/services/policyLimits/types.ts
|
|
160875
161008
|
var PolicyLimitsResponseSchema;
|
|
160876
|
-
var
|
|
161009
|
+
var init_types11 = __esm(() => {
|
|
160877
161010
|
init_v4();
|
|
160878
161011
|
init_lazySchema();
|
|
160879
161012
|
PolicyLimitsResponseSchema = lazySchema(() => exports_external.object({
|
|
@@ -161030,7 +161163,7 @@ async function fetchPolicyLimits(cachedChecksum) {
|
|
|
161030
161163
|
}
|
|
161031
161164
|
const response = await axios_default.get(endpoint, {
|
|
161032
161165
|
headers,
|
|
161033
|
-
timeout:
|
|
161166
|
+
timeout: FETCH_TIMEOUT_MS4,
|
|
161034
161167
|
validateStatus: (status) => status === 200 || status === 304 || status === 404
|
|
161035
161168
|
});
|
|
161036
161169
|
if (response.status === 304) {
|
|
@@ -161252,7 +161385,7 @@ function stopBackgroundPolling2() {
|
|
|
161252
161385
|
pollingIntervalId2 = null;
|
|
161253
161386
|
}
|
|
161254
161387
|
}
|
|
161255
|
-
var CACHE_FILENAME = "policy-limits.json",
|
|
161388
|
+
var CACHE_FILENAME = "policy-limits.json", FETCH_TIMEOUT_MS4 = 1e4, DEFAULT_MAX_RETRIES3 = 5, POLLING_INTERVAL_MS2, pollingIntervalId2 = null, cleanupRegistered3 = false, loadingCompletePromise2 = null, loadingCompleteResolve2 = null, LOADING_PROMISE_TIMEOUT_MS2 = 30000, sessionCache = null, ESSENTIAL_TRAFFIC_DENY_ON_MISS;
|
|
161256
161389
|
var init_policyLimits = __esm(() => {
|
|
161257
161390
|
init_axios();
|
|
161258
161391
|
init_oauth();
|
|
@@ -161268,7 +161401,7 @@ var init_policyLimits = __esm(() => {
|
|
|
161268
161401
|
init_slowOperations();
|
|
161269
161402
|
init_userAgent();
|
|
161270
161403
|
init_withRetry();
|
|
161271
|
-
|
|
161404
|
+
init_types11();
|
|
161272
161405
|
POLLING_INTERVAL_MS2 = 60 * 60 * 1000;
|
|
161273
161406
|
ESSENTIAL_TRAFFIC_DENY_ON_MISS = new Set(["allow_product_feedback"]);
|
|
161274
161407
|
});
|
|
@@ -161286,7 +161419,7 @@ var init_feedback = __esm(() => {
|
|
|
161286
161419
|
description: `Submit feedback about Claude Code`,
|
|
161287
161420
|
argumentHint: "[report]",
|
|
161288
161421
|
isEnabled: () => !(isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) || isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) || isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY) || isEnvTruthy(process.env.DISABLE_FEEDBACK_COMMAND) || isEnvTruthy(process.env.DISABLE_BUG_COMMAND) || isEssentialTrafficOnly() || process.env.USER_TYPE === "ant" || !isPolicyAllowed("allow_product_feedback")),
|
|
161289
|
-
load: () => import("./chunk-
|
|
161422
|
+
load: () => import("./chunk-16dbjqb5.js")
|
|
161290
161423
|
};
|
|
161291
161424
|
feedback_default = feedback;
|
|
161292
161425
|
});
|
|
@@ -161300,7 +161433,7 @@ var init_clear = __esm(() => {
|
|
|
161300
161433
|
description: "Clear conversation history and free up context",
|
|
161301
161434
|
aliases: ["reset", "new"],
|
|
161302
161435
|
supportsNonInteractive: false,
|
|
161303
|
-
load: () => import("./chunk-
|
|
161436
|
+
load: () => import("./chunk-rdxxvt07.js")
|
|
161304
161437
|
};
|
|
161305
161438
|
clear_default = clear;
|
|
161306
161439
|
});
|
|
@@ -161314,7 +161447,7 @@ var init_color2 = __esm(() => {
|
|
|
161314
161447
|
description: "Set the prompt bar color for this session",
|
|
161315
161448
|
immediate: true,
|
|
161316
161449
|
argumentHint: "<color|default>",
|
|
161317
|
-
load: () => import("./chunk-
|
|
161450
|
+
load: () => import("./chunk-zzk81bgc.js")
|
|
161318
161451
|
};
|
|
161319
161452
|
color_default = color2;
|
|
161320
161453
|
});
|
|
@@ -161414,7 +161547,7 @@ var init_copy = __esm(() => {
|
|
|
161414
161547
|
type: "local-jsx",
|
|
161415
161548
|
name: "copy",
|
|
161416
161549
|
description: "Copy Claude's last response to clipboard (or /copy N for the Nth-latest)",
|
|
161417
|
-
load: () => import("./chunk-
|
|
161550
|
+
load: () => import("./chunk-2qwxn1y4.js")
|
|
161418
161551
|
};
|
|
161419
161552
|
copy_default = copy;
|
|
161420
161553
|
});
|
|
@@ -161441,7 +161574,7 @@ var init_desktop = __esm(() => {
|
|
|
161441
161574
|
get isHidden() {
|
|
161442
161575
|
return !isSupportedPlatform2();
|
|
161443
161576
|
},
|
|
161444
|
-
load: () => import("./chunk-
|
|
161577
|
+
load: () => import("./chunk-gjh6c2ak.js")
|
|
161445
161578
|
};
|
|
161446
161579
|
desktop_default = desktop;
|
|
161447
161580
|
});
|
|
@@ -161604,7 +161737,7 @@ var init_compact2 = __esm(() => {
|
|
|
161604
161737
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_COMPACT),
|
|
161605
161738
|
supportsNonInteractive: true,
|
|
161606
161739
|
argumentHint: "<optional custom summarization instructions>",
|
|
161607
|
-
load: () => import("./chunk-
|
|
161740
|
+
load: () => import("./chunk-vg1712qc.js")
|
|
161608
161741
|
};
|
|
161609
161742
|
compact_default = compact;
|
|
161610
161743
|
});
|
|
@@ -161617,7 +161750,7 @@ var init_config7 = __esm(() => {
|
|
|
161617
161750
|
type: "local-jsx",
|
|
161618
161751
|
name: "config",
|
|
161619
161752
|
description: "Open config panel",
|
|
161620
|
-
load: () => import("./chunk-
|
|
161753
|
+
load: () => import("./chunk-9z049jdh.js")
|
|
161621
161754
|
};
|
|
161622
161755
|
config_default = config2;
|
|
161623
161756
|
});
|
|
@@ -161631,7 +161764,7 @@ var init_context3 = __esm(() => {
|
|
|
161631
161764
|
description: "Visualize current context usage as a colored grid",
|
|
161632
161765
|
isEnabled: () => !getIsNonInteractiveSession(),
|
|
161633
161766
|
type: "local-jsx",
|
|
161634
|
-
load: () => import("./chunk-
|
|
161767
|
+
load: () => import("./chunk-1x6kb926.js")
|
|
161635
161768
|
};
|
|
161636
161769
|
contextNonInteractive = {
|
|
161637
161770
|
type: "local",
|
|
@@ -161644,7 +161777,7 @@ var init_context3 = __esm(() => {
|
|
|
161644
161777
|
isEnabled() {
|
|
161645
161778
|
return getIsNonInteractiveSession();
|
|
161646
161779
|
},
|
|
161647
|
-
load: () => import("./chunk-
|
|
161780
|
+
load: () => import("./chunk-2tjc2pqv.js")
|
|
161648
161781
|
};
|
|
161649
161782
|
});
|
|
161650
161783
|
|
|
@@ -161663,7 +161796,7 @@ var init_cost = __esm(() => {
|
|
|
161663
161796
|
return isClaudeAISubscriber();
|
|
161664
161797
|
},
|
|
161665
161798
|
supportsNonInteractive: true,
|
|
161666
|
-
load: () => import("./chunk-
|
|
161799
|
+
load: () => import("./chunk-99cxvn49.js")
|
|
161667
161800
|
};
|
|
161668
161801
|
cost_default = cost;
|
|
161669
161802
|
});
|
|
@@ -161675,7 +161808,7 @@ var init_diff2 = __esm(() => {
|
|
|
161675
161808
|
type: "local-jsx",
|
|
161676
161809
|
name: "diff",
|
|
161677
161810
|
description: "View uncommitted changes and per-turn diffs",
|
|
161678
|
-
load: () => import("./chunk-
|
|
161811
|
+
load: () => import("./chunk-yfkwmft1.js")
|
|
161679
161812
|
};
|
|
161680
161813
|
});
|
|
161681
161814
|
|
|
@@ -161694,7 +161827,7 @@ var init_doctor = __esm(() => {
|
|
|
161694
161827
|
description: "Diagnose and verify your Claude Code installation and settings",
|
|
161695
161828
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_DOCTOR_COMMAND),
|
|
161696
161829
|
type: "local-jsx",
|
|
161697
|
-
load: () => import("./chunk-
|
|
161830
|
+
load: () => import("./chunk-a5p9fg76.js")
|
|
161698
161831
|
};
|
|
161699
161832
|
doctor_default = doctor;
|
|
161700
161833
|
});
|
|
@@ -161706,7 +161839,7 @@ var init_memory = __esm(() => {
|
|
|
161706
161839
|
type: "local-jsx",
|
|
161707
161840
|
name: "memory",
|
|
161708
161841
|
description: "Edit Claude memory files",
|
|
161709
|
-
load: () => import("./chunk-
|
|
161842
|
+
load: () => import("./chunk-q4hrz6nm.js")
|
|
161710
161843
|
};
|
|
161711
161844
|
memory_default = memory;
|
|
161712
161845
|
});
|
|
@@ -161718,7 +161851,7 @@ var init_help = __esm(() => {
|
|
|
161718
161851
|
type: "local-jsx",
|
|
161719
161852
|
name: "help",
|
|
161720
161853
|
description: "Show help and available commands",
|
|
161721
|
-
load: () => import("./chunk-
|
|
161854
|
+
load: () => import("./chunk-z533qsjj.js")
|
|
161722
161855
|
};
|
|
161723
161856
|
help_default = help;
|
|
161724
161857
|
});
|
|
@@ -161731,7 +161864,7 @@ var init_ide2 = __esm(() => {
|
|
|
161731
161864
|
name: "ide",
|
|
161732
161865
|
description: "Manage IDE integrations and show status",
|
|
161733
161866
|
argumentHint: "[open]",
|
|
161734
|
-
load: () => import("./chunk-
|
|
161867
|
+
load: () => import("./chunk-cxmenkh7.js")
|
|
161735
161868
|
};
|
|
161736
161869
|
ide_default = ide;
|
|
161737
161870
|
});
|
|
@@ -162056,7 +162189,7 @@ var init_keybindings = __esm(() => {
|
|
|
162056
162189
|
isEnabled: () => isKeybindingCustomizationEnabled(),
|
|
162057
162190
|
supportsNonInteractive: false,
|
|
162058
162191
|
type: "local",
|
|
162059
|
-
load: () => import("./chunk-
|
|
162192
|
+
load: () => import("./chunk-berqd13b.js")
|
|
162060
162193
|
};
|
|
162061
162194
|
keybindings_default = keybindings;
|
|
162062
162195
|
});
|
|
@@ -162067,7 +162200,7 @@ var login_default = () => ({
|
|
|
162067
162200
|
name: "login",
|
|
162068
162201
|
description: hasAnthropicApiKeyAuth() ? "Switch Anthropic accounts" : "Sign in with your Anthropic account",
|
|
162069
162202
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGIN_COMMAND),
|
|
162070
|
-
load: () => import("./chunk-
|
|
162203
|
+
load: () => import("./chunk-fdz04ss6.js")
|
|
162071
162204
|
});
|
|
162072
162205
|
var init_login = __esm(() => {
|
|
162073
162206
|
init_auth();
|
|
@@ -162083,7 +162216,7 @@ var init_logout2 = __esm(() => {
|
|
|
162083
162216
|
name: "logout",
|
|
162084
162217
|
description: "Sign out from your Anthropic account",
|
|
162085
162218
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGOUT_COMMAND),
|
|
162086
|
-
load: () => import("./chunk-
|
|
162219
|
+
load: () => import("./chunk-94e7emah.js")
|
|
162087
162220
|
};
|
|
162088
162221
|
});
|
|
162089
162222
|
|
|
@@ -162097,7 +162230,7 @@ var init_install_github_app = __esm(() => {
|
|
|
162097
162230
|
description: "Set up Claude GitHub Actions for a repository",
|
|
162098
162231
|
availability: ["claude-ai", "console"],
|
|
162099
162232
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_INSTALL_GITHUB_APP_COMMAND),
|
|
162100
|
-
load: () => import("./chunk-
|
|
162233
|
+
load: () => import("./chunk-2kj6w2ne.js")
|
|
162101
162234
|
};
|
|
162102
162235
|
install_github_app_default = installGitHubApp;
|
|
162103
162236
|
});
|
|
@@ -162111,7 +162244,7 @@ var init_install_slack_app = __esm(() => {
|
|
|
162111
162244
|
description: "Install the Claude Slack app",
|
|
162112
162245
|
availability: ["claude-ai"],
|
|
162113
162246
|
supportsNonInteractive: false,
|
|
162114
|
-
load: () => import("./chunk-
|
|
162247
|
+
load: () => import("./chunk-tq0tw9ep.js")
|
|
162115
162248
|
};
|
|
162116
162249
|
install_slack_app_default = installSlackApp;
|
|
162117
162250
|
});
|
|
@@ -162131,7 +162264,7 @@ var init_mcp = __esm(() => {
|
|
|
162131
162264
|
description: "Manage MCP servers",
|
|
162132
162265
|
immediate: true,
|
|
162133
162266
|
argumentHint: "[enable|disable [server-name]]",
|
|
162134
|
-
load: () => import("./chunk-
|
|
162267
|
+
load: () => import("./chunk-5325b81p.js")
|
|
162135
162268
|
};
|
|
162136
162269
|
mcp_default = mcp;
|
|
162137
162270
|
});
|
|
@@ -162144,7 +162277,7 @@ var init_mobile = __esm(() => {
|
|
|
162144
162277
|
name: "mobile",
|
|
162145
162278
|
aliases: ["ios", "android"],
|
|
162146
162279
|
description: "Show QR code to download the Claude mobile app",
|
|
162147
|
-
load: () => import("./chunk-
|
|
162280
|
+
load: () => import("./chunk-z08s0dh0.js")
|
|
162148
162281
|
};
|
|
162149
162282
|
mobile_default = mobile;
|
|
162150
162283
|
});
|
|
@@ -162260,7 +162393,7 @@ var init_release_notes = __esm(() => {
|
|
|
162260
162393
|
name: "release-notes",
|
|
162261
162394
|
type: "local",
|
|
162262
162395
|
supportsNonInteractive: true,
|
|
162263
|
-
load: () => import("./chunk-
|
|
162396
|
+
load: () => import("./chunk-g7rqj8dy.js")
|
|
162264
162397
|
};
|
|
162265
162398
|
release_notes_default = releaseNotes;
|
|
162266
162399
|
});
|
|
@@ -162274,7 +162407,7 @@ var init_rename = __esm(() => {
|
|
|
162274
162407
|
description: "Rename the current conversation",
|
|
162275
162408
|
immediate: true,
|
|
162276
162409
|
argumentHint: "[name]",
|
|
162277
|
-
load: () => import("./chunk-
|
|
162410
|
+
load: () => import("./chunk-2qdbzanj.js")
|
|
162278
162411
|
};
|
|
162279
162412
|
rename_default = rename7;
|
|
162280
162413
|
});
|
|
@@ -162288,7 +162421,7 @@ var init_resume = __esm(() => {
|
|
|
162288
162421
|
description: "Resume a previous conversation",
|
|
162289
162422
|
aliases: ["continue"],
|
|
162290
162423
|
argumentHint: "[conversation id or search term]",
|
|
162291
|
-
load: () => import("./chunk-
|
|
162424
|
+
load: () => import("./chunk-9nqetk31.js")
|
|
162292
162425
|
};
|
|
162293
162426
|
resume_default = resume;
|
|
162294
162427
|
});
|
|
@@ -162344,7 +162477,7 @@ var init_review = __esm(() => {
|
|
|
162344
162477
|
name: "ultrareview",
|
|
162345
162478
|
description: `~10\u201320 min \xB7 Finds and verifies bugs in your branch. Runs in Claude Code on the web. See ${CCR_TERMS_URL}`,
|
|
162346
162479
|
isEnabled: () => isUltrareviewEnabled(),
|
|
162347
|
-
load: () => import("./chunk-
|
|
162480
|
+
load: () => import("./chunk-qg49gbrv.js")
|
|
162348
162481
|
};
|
|
162349
162482
|
review_default = review;
|
|
162350
162483
|
});
|
|
@@ -162362,7 +162495,7 @@ var init_session = __esm(() => {
|
|
|
162362
162495
|
get isHidden() {
|
|
162363
162496
|
return !getIsRemoteMode();
|
|
162364
162497
|
},
|
|
162365
|
-
load: () => import("./chunk-
|
|
162498
|
+
load: () => import("./chunk-4950gkct.js")
|
|
162366
162499
|
};
|
|
162367
162500
|
session_default = session;
|
|
162368
162501
|
});
|
|
@@ -162380,7 +162513,7 @@ var init_skills = __esm(() => {
|
|
|
162380
162513
|
type: "local-jsx",
|
|
162381
162514
|
name: "skills",
|
|
162382
162515
|
description: "List available skills",
|
|
162383
|
-
load: () => import("./chunk-
|
|
162516
|
+
load: () => import("./chunk-9nkt8391.js")
|
|
162384
162517
|
};
|
|
162385
162518
|
skills_default = skills;
|
|
162386
162519
|
});
|
|
@@ -162393,7 +162526,7 @@ var init_status2 = __esm(() => {
|
|
|
162393
162526
|
name: "status",
|
|
162394
162527
|
description: "Show Claude Code status including version, model, account, API connectivity, and tool statuses",
|
|
162395
162528
|
immediate: true,
|
|
162396
|
-
load: () => import("./chunk-
|
|
162529
|
+
load: () => import("./chunk-mavwfmvx.js")
|
|
162397
162530
|
};
|
|
162398
162531
|
status_default = status;
|
|
162399
162532
|
});
|
|
@@ -162406,7 +162539,7 @@ var init_tasks3 = __esm(() => {
|
|
|
162406
162539
|
name: "tasks",
|
|
162407
162540
|
aliases: ["bashes"],
|
|
162408
162541
|
description: "List and manage background tasks",
|
|
162409
|
-
load: () => import("./chunk-
|
|
162542
|
+
load: () => import("./chunk-hsn8f18e.js")
|
|
162410
162543
|
};
|
|
162411
162544
|
tasks_default = tasks;
|
|
162412
162545
|
});
|
|
@@ -162670,7 +162803,7 @@ var init_terminalSetup2 = __esm(() => {
|
|
|
162670
162803
|
name: "terminal-setup",
|
|
162671
162804
|
description: env.terminal === "Apple_Terminal" ? "Enable Option+Enter key binding for newlines and visual bell" : "Install Shift+Enter key binding for newlines",
|
|
162672
162805
|
isHidden: env.terminal !== null && env.terminal in NATIVE_CSIU_TERMINALS,
|
|
162673
|
-
load: () => import("./chunk-
|
|
162806
|
+
load: () => import("./chunk-zn0zr9cf.js")
|
|
162674
162807
|
};
|
|
162675
162808
|
terminalSetup_default = terminalSetup;
|
|
162676
162809
|
});
|
|
@@ -162683,7 +162816,7 @@ var init_usage = __esm(() => {
|
|
|
162683
162816
|
name: "usage",
|
|
162684
162817
|
description: "Show plan usage limits",
|
|
162685
162818
|
availability: ["claude-ai"],
|
|
162686
|
-
load: () => import("./chunk-
|
|
162819
|
+
load: () => import("./chunk-759574r7.js")
|
|
162687
162820
|
};
|
|
162688
162821
|
});
|
|
162689
162822
|
|
|
@@ -162694,7 +162827,7 @@ var init_theme2 = __esm(() => {
|
|
|
162694
162827
|
type: "local-jsx",
|
|
162695
162828
|
name: "theme",
|
|
162696
162829
|
description: "Change the theme",
|
|
162697
|
-
load: () => import("./chunk-
|
|
162830
|
+
load: () => import("./chunk-y84v6d31.js")
|
|
162698
162831
|
};
|
|
162699
162832
|
theme_default = theme;
|
|
162700
162833
|
});
|
|
@@ -162707,7 +162840,7 @@ var init_vim = __esm(() => {
|
|
|
162707
162840
|
description: "Toggle between Vim and Normal editing modes",
|
|
162708
162841
|
supportsNonInteractive: false,
|
|
162709
162842
|
type: "local",
|
|
162710
|
-
load: () => import("./chunk-
|
|
162843
|
+
load: () => import("./chunk-g55bqkzn.js")
|
|
162711
162844
|
};
|
|
162712
162845
|
vim_default = command5;
|
|
162713
162846
|
});
|
|
@@ -162721,7 +162854,7 @@ var init_thinkback = __esm(() => {
|
|
|
162721
162854
|
name: "think-back",
|
|
162722
162855
|
description: "Your 2025 Claude Code Year in Review",
|
|
162723
162856
|
isEnabled: () => checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_thinkback"),
|
|
162724
|
-
load: () => import("./chunk-
|
|
162857
|
+
load: () => import("./chunk-x17h6pry.js")
|
|
162725
162858
|
};
|
|
162726
162859
|
thinkback_default = thinkback;
|
|
162727
162860
|
});
|
|
@@ -162737,7 +162870,7 @@ var init_thinkback_play = __esm(() => {
|
|
|
162737
162870
|
isEnabled: () => checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_thinkback"),
|
|
162738
162871
|
isHidden: true,
|
|
162739
162872
|
supportsNonInteractive: false,
|
|
162740
|
-
load: () => import("./chunk-
|
|
162873
|
+
load: () => import("./chunk-5xt2d4bb.js")
|
|
162741
162874
|
};
|
|
162742
162875
|
thinkback_play_default = thinkbackPlay;
|
|
162743
162876
|
});
|
|
@@ -162750,7 +162883,7 @@ var init_permissions3 = __esm(() => {
|
|
|
162750
162883
|
name: "permissions",
|
|
162751
162884
|
aliases: ["allowed-tools"],
|
|
162752
162885
|
description: "Manage allow & deny tool permission rules",
|
|
162753
|
-
load: () => import("./chunk-
|
|
162886
|
+
load: () => import("./chunk-vc1y7z1f.js")
|
|
162754
162887
|
};
|
|
162755
162888
|
permissions_default = permissions;
|
|
162756
162889
|
});
|
|
@@ -162763,7 +162896,7 @@ var init_plan = __esm(() => {
|
|
|
162763
162896
|
name: "plan",
|
|
162764
162897
|
description: "Enable plan mode or view the current session plan",
|
|
162765
162898
|
argumentHint: "[open|<description>]",
|
|
162766
|
-
load: () => import("./chunk-
|
|
162899
|
+
load: () => import("./chunk-ddyj9j66.js")
|
|
162767
162900
|
};
|
|
162768
162901
|
plan_default = plan;
|
|
162769
162902
|
});
|
|
@@ -162796,7 +162929,7 @@ var init_fast = __esm(() => {
|
|
|
162796
162929
|
get immediate() {
|
|
162797
162930
|
return shouldInferenceConfigCommandBeImmediate();
|
|
162798
162931
|
},
|
|
162799
|
-
load: () => import("./chunk-
|
|
162932
|
+
load: () => import("./chunk-xn8eg4bw.js")
|
|
162800
162933
|
};
|
|
162801
162934
|
fast_default = fast;
|
|
162802
162935
|
});
|
|
@@ -162819,10 +162952,22 @@ var init_passes = __esm(() => {
|
|
|
162819
162952
|
const { eligible, hasCache } = checkCachedPassesEligibility();
|
|
162820
162953
|
return !eligible || !hasCache;
|
|
162821
162954
|
},
|
|
162822
|
-
load: () => import("./chunk-
|
|
162955
|
+
load: () => import("./chunk-vdmbcfeh.js")
|
|
162823
162956
|
};
|
|
162824
162957
|
});
|
|
162825
162958
|
|
|
162959
|
+
// src/commands/permission/index.ts
|
|
162960
|
+
var permission, permission_default;
|
|
162961
|
+
var init_permission = __esm(() => {
|
|
162962
|
+
permission = {
|
|
162963
|
+
type: "local-jsx",
|
|
162964
|
+
name: "permission",
|
|
162965
|
+
description: "Switch between Default and Full Access permission modes",
|
|
162966
|
+
load: () => import("./chunk-wj8jabmh.js")
|
|
162967
|
+
};
|
|
162968
|
+
permission_default = permission;
|
|
162969
|
+
});
|
|
162970
|
+
|
|
162826
162971
|
// src/commands/privacy-settings/index.ts
|
|
162827
162972
|
var privacySettings, privacy_settings_default;
|
|
162828
162973
|
var init_privacy_settings = __esm(() => {
|
|
@@ -162834,7 +162979,7 @@ var init_privacy_settings = __esm(() => {
|
|
|
162834
162979
|
isEnabled: () => {
|
|
162835
162980
|
return isConsumerSubscriber();
|
|
162836
162981
|
},
|
|
162837
|
-
load: () => import("./chunk-
|
|
162982
|
+
load: () => import("./chunk-as7vdv6z.js")
|
|
162838
162983
|
};
|
|
162839
162984
|
privacy_settings_default = privacySettings;
|
|
162840
162985
|
});
|
|
@@ -162847,7 +162992,7 @@ var init_hooks = __esm(() => {
|
|
|
162847
162992
|
name: "hooks",
|
|
162848
162993
|
description: "View hook configurations for tool events",
|
|
162849
162994
|
immediate: true,
|
|
162850
|
-
load: () => import("./chunk-
|
|
162995
|
+
load: () => import("./chunk-609xrcxc.js")
|
|
162851
162996
|
};
|
|
162852
162997
|
hooks_default = hooks;
|
|
162853
162998
|
});
|
|
@@ -162875,7 +163020,7 @@ var init_branch = __esm(() => {
|
|
|
162875
163020
|
aliases: ["fork"],
|
|
162876
163021
|
description: "Create a branch of the current conversation at this point",
|
|
162877
163022
|
argumentHint: "[name]",
|
|
162878
|
-
load: () => import("./chunk-
|
|
163023
|
+
load: () => import("./chunk-kwbfd9sg.js")
|
|
162879
163024
|
};
|
|
162880
163025
|
branch_default = branch;
|
|
162881
163026
|
});
|
|
@@ -162887,7 +163032,7 @@ var init_agents = __esm(() => {
|
|
|
162887
163032
|
type: "local-jsx",
|
|
162888
163033
|
name: "agents",
|
|
162889
163034
|
description: "Manage agent configurations",
|
|
162890
|
-
load: () => import("./chunk-
|
|
163035
|
+
load: () => import("./chunk-vgfb1h9e.js")
|
|
162891
163036
|
};
|
|
162892
163037
|
agents_default = agents;
|
|
162893
163038
|
});
|
|
@@ -162901,7 +163046,7 @@ var init_plugin2 = __esm(() => {
|
|
|
162901
163046
|
aliases: ["plugins", "marketplace"],
|
|
162902
163047
|
description: "Manage Claude Code plugins",
|
|
162903
163048
|
immediate: true,
|
|
162904
|
-
load: () => import("./chunk-
|
|
163049
|
+
load: () => import("./chunk-ktpa62bf.js")
|
|
162905
163050
|
};
|
|
162906
163051
|
plugin_default = plugin;
|
|
162907
163052
|
});
|
|
@@ -162914,7 +163059,7 @@ var init_reload_plugins = __esm(() => {
|
|
|
162914
163059
|
name: "reload-plugins",
|
|
162915
163060
|
description: "Activate pending plugin changes in the current session",
|
|
162916
163061
|
supportsNonInteractive: false,
|
|
162917
|
-
load: () => import("./chunk-
|
|
163062
|
+
load: () => import("./chunk-s2cftevn.js")
|
|
162918
163063
|
};
|
|
162919
163064
|
reload_plugins_default = reloadPlugins;
|
|
162920
163065
|
});
|
|
@@ -162943,7 +163088,7 @@ var init_heapdump = __esm(() => {
|
|
|
162943
163088
|
description: "Dump the JS heap to ~/Desktop",
|
|
162944
163089
|
isHidden: true,
|
|
162945
163090
|
supportsNonInteractive: true,
|
|
162946
|
-
load: () => import("./chunk-
|
|
163091
|
+
load: () => import("./chunk-kwfvjdep.js")
|
|
162947
163092
|
};
|
|
162948
163093
|
heapdump_default = heapDump;
|
|
162949
163094
|
});
|
|
@@ -162956,7 +163101,7 @@ var init_mock_limits = __esm(() => {
|
|
|
162956
163101
|
|
|
162957
163102
|
// src/bridge/types.ts
|
|
162958
163103
|
var DEFAULT_SESSION_TIMEOUT_MS, BRIDGE_LOGIN_INSTRUCTION = "Remote Control is only available with claude.ai subscriptions. Please use `/login` to sign in with your claude.ai account.", BRIDGE_LOGIN_ERROR, REMOTE_CONTROL_DISCONNECTED_MSG = "Remote Control disconnected.";
|
|
162959
|
-
var
|
|
163104
|
+
var init_types12 = __esm(() => {
|
|
162960
163105
|
DEFAULT_SESSION_TIMEOUT_MS = 24 * 60 * 60 * 1000;
|
|
162961
163106
|
BRIDGE_LOGIN_ERROR = `Error: You must be logged in to use Remote Control.
|
|
162962
163107
|
|
|
@@ -163204,7 +163349,7 @@ var BETA_HEADER = "environments-2025-11-01", SAFE_ID_PATTERN, BridgeFatalError;
|
|
|
163204
163349
|
var init_bridgeApi = __esm(() => {
|
|
163205
163350
|
init_axios();
|
|
163206
163351
|
init_debugUtils();
|
|
163207
|
-
|
|
163352
|
+
init_types12();
|
|
163208
163353
|
SAFE_ID_PATTERN = /^[a-zA-Z0-9_-]+$/;
|
|
163209
163354
|
BridgeFatalError = class BridgeFatalError extends Error {
|
|
163210
163355
|
status;
|
|
@@ -163438,7 +163583,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
163438
163583
|
var call3 = async () => {
|
|
163439
163584
|
return {
|
|
163440
163585
|
type: "text",
|
|
163441
|
-
value: `${"1.0.3-fork.
|
|
163586
|
+
value: `${"1.0.3-fork.d431a23"} (built ${"2026-04-02T16:54:30.878Z"})`
|
|
163442
163587
|
};
|
|
163443
163588
|
}, version, version_default;
|
|
163444
163589
|
var init_version = __esm(() => {
|
|
@@ -163514,7 +163659,7 @@ var init_sandbox_toggle = __esm(() => {
|
|
|
163514
163659
|
},
|
|
163515
163660
|
immediate: true,
|
|
163516
163661
|
type: "local-jsx",
|
|
163517
|
-
load: () => import("./chunk-
|
|
163662
|
+
load: () => import("./chunk-4dhe5zs4.js")
|
|
163518
163663
|
};
|
|
163519
163664
|
sandbox_toggle_default = command6;
|
|
163520
163665
|
});
|
|
@@ -163529,7 +163674,7 @@ var init_chrome = __esm(() => {
|
|
|
163529
163674
|
availability: ["claude-ai"],
|
|
163530
163675
|
isEnabled: () => !getIsNonInteractiveSession(),
|
|
163531
163676
|
type: "local-jsx",
|
|
163532
|
-
load: () => import("./chunk-
|
|
163677
|
+
load: () => import("./chunk-ww57dxhr.js")
|
|
163533
163678
|
};
|
|
163534
163679
|
chrome_default = command7;
|
|
163535
163680
|
});
|
|
@@ -163716,7 +163861,7 @@ async function writeSkillFiles(dir, files2) {
|
|
|
163716
163861
|
}
|
|
163717
163862
|
await Promise.all([...byParent].map(async ([parent, entries]) => {
|
|
163718
163863
|
await mkdir21(parent, { recursive: true, mode: 448 });
|
|
163719
|
-
await Promise.all(entries.map(([p,
|
|
163864
|
+
await Promise.all(entries.map(([p, c]) => safeWriteFile(p, c)));
|
|
163720
163865
|
}));
|
|
163721
163866
|
}
|
|
163722
163867
|
async function safeWriteFile(p, content) {
|
|
@@ -163770,7 +163915,7 @@ var init_exit = __esm(() => {
|
|
|
163770
163915
|
aliases: ["quit"],
|
|
163771
163916
|
description: "Exit the REPL",
|
|
163772
163917
|
immediate: true,
|
|
163773
|
-
load: () => import("./chunk-
|
|
163918
|
+
load: () => import("./chunk-97wf9yh0.js")
|
|
163774
163919
|
};
|
|
163775
163920
|
exit_default = exit;
|
|
163776
163921
|
});
|
|
@@ -163783,7 +163928,7 @@ var init_export = __esm(() => {
|
|
|
163783
163928
|
name: "export",
|
|
163784
163929
|
description: "Export the current conversation to a file or clipboard",
|
|
163785
163930
|
argumentHint: "[filename]",
|
|
163786
|
-
load: () => import("./chunk-
|
|
163931
|
+
load: () => import("./chunk-7vnfxjhh.js")
|
|
163787
163932
|
};
|
|
163788
163933
|
export_default = exportCommand;
|
|
163789
163934
|
});
|
|
@@ -163803,7 +163948,7 @@ var init_model2 = __esm(() => {
|
|
|
163803
163948
|
get immediate() {
|
|
163804
163949
|
return shouldInferenceConfigCommandBeImmediate();
|
|
163805
163950
|
},
|
|
163806
|
-
load: () => import("./chunk-
|
|
163951
|
+
load: () => import("./chunk-vmdnqt4y.js")
|
|
163807
163952
|
};
|
|
163808
163953
|
});
|
|
163809
163954
|
|
|
@@ -163816,7 +163961,7 @@ var init_tag = __esm(() => {
|
|
|
163816
163961
|
description: "Toggle a searchable tag on the current session",
|
|
163817
163962
|
isEnabled: () => process.env.USER_TYPE === "ant",
|
|
163818
163963
|
argumentHint: "<tag-name>",
|
|
163819
|
-
load: () => import("./chunk-
|
|
163964
|
+
load: () => import("./chunk-dm8qafqa.js")
|
|
163820
163965
|
};
|
|
163821
163966
|
tag_default = tag;
|
|
163822
163967
|
});
|
|
@@ -163847,7 +163992,7 @@ var init_remote_env = __esm(() => {
|
|
|
163847
163992
|
get isHidden() {
|
|
163848
163993
|
return !isClaudeAISubscriber() || !isPolicyAllowed("allow_remote_sessions");
|
|
163849
163994
|
},
|
|
163850
|
-
load: () => import("./chunk-
|
|
163995
|
+
load: () => import("./chunk-ytsg3wx7.js")
|
|
163851
163996
|
};
|
|
163852
163997
|
});
|
|
163853
163998
|
|
|
@@ -163862,7 +164007,7 @@ var init_upgrade = __esm(() => {
|
|
|
163862
164007
|
description: "Upgrade to Max for higher rate limits and more Opus",
|
|
163863
164008
|
availability: ["claude-ai"],
|
|
163864
164009
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_UPGRADE_COMMAND) && getSubscriptionType() !== "enterprise",
|
|
163865
|
-
load: () => import("./chunk-
|
|
164010
|
+
load: () => import("./chunk-he8xke2y.js")
|
|
163866
164011
|
};
|
|
163867
164012
|
upgrade_default = upgrade;
|
|
163868
164013
|
});
|
|
@@ -163882,7 +164027,7 @@ var init_rate_limit_options = __esm(() => {
|
|
|
163882
164027
|
return true;
|
|
163883
164028
|
},
|
|
163884
164029
|
isHidden: true,
|
|
163885
|
-
load: () => import("./chunk-
|
|
164030
|
+
load: () => import("./chunk-ygs0k62z.js")
|
|
163886
164031
|
};
|
|
163887
164032
|
rate_limit_options_default = rateLimitOptions;
|
|
163888
164033
|
});
|
|
@@ -163924,7 +164069,7 @@ var init_effort2 = __esm(() => {
|
|
|
163924
164069
|
get immediate() {
|
|
163925
164070
|
return shouldInferenceConfigCommandBeImmediate();
|
|
163926
164071
|
},
|
|
163927
|
-
load: () => import("./chunk-
|
|
164072
|
+
load: () => import("./chunk-zy0355t4.js")
|
|
163928
164073
|
};
|
|
163929
164074
|
});
|
|
163930
164075
|
|
|
@@ -163935,7 +164080,7 @@ var init_stats = __esm(() => {
|
|
|
163935
164080
|
type: "local-jsx",
|
|
163936
164081
|
name: "stats",
|
|
163937
164082
|
description: "Show your Claude Code usage statistics and activity",
|
|
163938
|
-
load: () => import("./chunk-
|
|
164083
|
+
load: () => import("./chunk-bqfwwen4.js")
|
|
163939
164084
|
};
|
|
163940
164085
|
stats_default = stats;
|
|
163941
164086
|
});
|
|
@@ -163971,6 +164116,23 @@ var init_agents_platform = __esm(() => {
|
|
|
163971
164116
|
agents_platform_default = { name: "agents-platform", type: "local", isEnabled: () => false };
|
|
163972
164117
|
});
|
|
163973
164118
|
|
|
164119
|
+
// src/commands/buddy/index.ts
|
|
164120
|
+
var exports_buddy = {};
|
|
164121
|
+
__export(exports_buddy, {
|
|
164122
|
+
default: () => buddy_default
|
|
164123
|
+
});
|
|
164124
|
+
var buddy, buddy_default;
|
|
164125
|
+
var init_buddy = __esm(() => {
|
|
164126
|
+
buddy = {
|
|
164127
|
+
type: "local",
|
|
164128
|
+
name: "buddy",
|
|
164129
|
+
description: "View and manage your companion buddy",
|
|
164130
|
+
supportsNonInteractive: false,
|
|
164131
|
+
load: () => import("./chunk-jm4mqj6q.js")
|
|
164132
|
+
};
|
|
164133
|
+
buddy_default = buddy;
|
|
164134
|
+
});
|
|
164135
|
+
|
|
163974
164136
|
// src/commands.ts
|
|
163975
164137
|
async function getSkills(cwd) {
|
|
163976
164138
|
try {
|
|
@@ -164034,13 +164196,13 @@ async function getCommands(cwd) {
|
|
|
164034
164196
|
if (dynamicSkills2.length === 0) {
|
|
164035
164197
|
return baseCommands;
|
|
164036
164198
|
}
|
|
164037
|
-
const baseCommandNames = new Set(baseCommands.map((
|
|
164199
|
+
const baseCommandNames = new Set(baseCommands.map((c) => c.name));
|
|
164038
164200
|
const uniqueDynamicSkills = dynamicSkills2.filter((s) => !baseCommandNames.has(s.name) && meetsAvailabilityRequirement(s) && isCommandEnabled(s));
|
|
164039
164201
|
if (uniqueDynamicSkills.length === 0) {
|
|
164040
164202
|
return baseCommands;
|
|
164041
164203
|
}
|
|
164042
|
-
const builtInNames = new Set(COMMANDS().map((
|
|
164043
|
-
const insertIndex = baseCommands.findIndex((
|
|
164204
|
+
const builtInNames = new Set(COMMANDS().map((c) => c.name));
|
|
164205
|
+
const insertIndex = baseCommands.findIndex((c) => builtInNames.has(c.name));
|
|
164044
164206
|
if (insertIndex === -1) {
|
|
164045
164207
|
return [...baseCommands, ...uniqueDynamicSkills];
|
|
164046
164208
|
}
|
|
@@ -164114,7 +164276,7 @@ function formatDescriptionWithSource(cmd) {
|
|
|
164114
164276
|
}
|
|
164115
164277
|
return `${cmd.description} (${getSettingSourceName(cmd.source)})`;
|
|
164116
164278
|
}
|
|
164117
|
-
var agentsPlatform, proactive = null, briefCommand = null, assistantCommand = null, bridge = null, remoteControlServerCommand = null, voiceCommand = null, forceSnip = null, workflowsCmd = null, webCmd = null, clearSkillIndexCache = null, subscribePr = null, ultraplan = null, torch = null, peersCmd = null, forkCmd = null,
|
|
164279
|
+
var agentsPlatform, proactive = null, briefCommand = null, assistantCommand = null, bridge = null, remoteControlServerCommand = null, voiceCommand = null, forceSnip = null, workflowsCmd = null, webCmd = null, clearSkillIndexCache = null, subscribePr = null, ultraplan = null, torch = null, peersCmd = null, forkCmd = null, buddy2, usageReport, INTERNAL_ONLY_COMMANDS, COMMANDS, builtInCommandNames, getWorkflowCommands = null, loadAllCommands, getSkillToolCommands, getSlashCommandToolSkills, REMOTE_SAFE_COMMANDS, BRIDGE_SAFE_COMMANDS;
|
|
164118
164280
|
var init_commands2 = __esm(() => {
|
|
164119
164281
|
init_add_dir();
|
|
164120
164282
|
init_autofix_pr();
|
|
@@ -164173,6 +164335,7 @@ var init_commands2 = __esm(() => {
|
|
|
164173
164335
|
init_plan();
|
|
164174
164336
|
init_fast();
|
|
164175
164337
|
init_passes();
|
|
164338
|
+
init_permission();
|
|
164176
164339
|
init_privacy_settings();
|
|
164177
164340
|
init_hooks();
|
|
164178
164341
|
init_files2();
|
|
@@ -164222,6 +164385,7 @@ var init_commands2 = __esm(() => {
|
|
|
164222
164385
|
init_command();
|
|
164223
164386
|
init_command();
|
|
164224
164387
|
agentsPlatform = process.env.USER_TYPE === "ant" ? (init_agents_platform(), __toCommonJS(exports_agents_platform)).default : null;
|
|
164388
|
+
buddy2 = (init_buddy(), __toCommonJS(exports_buddy)).default;
|
|
164225
164389
|
usageReport = {
|
|
164226
164390
|
type: "prompt",
|
|
164227
164391
|
name: "insights",
|
|
@@ -164230,7 +164394,7 @@ var init_commands2 = __esm(() => {
|
|
|
164230
164394
|
progressMessage: "analyzing your sessions",
|
|
164231
164395
|
source: "builtin",
|
|
164232
164396
|
async getPromptForCommand(args, context2) {
|
|
164233
|
-
const real = (await import("./chunk-
|
|
164397
|
+
const real = (await import("./chunk-wv2b0pm3.js")).default;
|
|
164234
164398
|
if (real.type !== "prompt")
|
|
164235
164399
|
throw new Error("unreachable");
|
|
164236
164400
|
return real.getPromptForCommand(args, context2);
|
|
@@ -164330,7 +164494,7 @@ var init_commands2 = __esm(() => {
|
|
|
164330
164494
|
vim_default,
|
|
164331
164495
|
...webCmd ? [webCmd] : [],
|
|
164332
164496
|
...forkCmd ? [forkCmd] : [],
|
|
164333
|
-
...
|
|
164497
|
+
...buddy2 ? [buddy2] : [],
|
|
164334
164498
|
...proactive ? [proactive] : [],
|
|
164335
164499
|
...briefCommand ? [briefCommand] : [],
|
|
164336
164500
|
...assistantCommand ? [assistantCommand] : [],
|
|
@@ -164339,6 +164503,7 @@ var init_commands2 = __esm(() => {
|
|
|
164339
164503
|
...voiceCommand ? [voiceCommand] : [],
|
|
164340
164504
|
thinkback_default,
|
|
164341
164505
|
thinkback_play_default,
|
|
164506
|
+
permission_default,
|
|
164342
164507
|
permissions_default,
|
|
164343
164508
|
plan_default,
|
|
164344
164509
|
privacy_settings_default,
|
|
@@ -164414,7 +164579,7 @@ var init_commands2 = __esm(() => {
|
|
|
164414
164579
|
summary_default,
|
|
164415
164580
|
release_notes_default,
|
|
164416
164581
|
files_default
|
|
164417
|
-
].filter((
|
|
164582
|
+
].filter((c) => c !== null));
|
|
164418
164583
|
});
|
|
164419
164584
|
|
|
164420
164585
|
// src/utils/getWorktreePaths.ts
|
|
@@ -165934,7 +166099,7 @@ async function trackSessionBranchingAnalytics(logs) {
|
|
|
165934
166099
|
if (maxCount <= 1) {
|
|
165935
166100
|
return;
|
|
165936
166101
|
}
|
|
165937
|
-
const branchCounts = Array.from(sessionIdCounts.values()).filter((
|
|
166102
|
+
const branchCounts = Array.from(sessionIdCounts.values()).filter((c) => c > 1);
|
|
165938
166103
|
const sessionsWithBranches = branchCounts.length;
|
|
165939
166104
|
const totalBranches = branchCounts.reduce((sum, count3) => sum + count3, 0);
|
|
165940
166105
|
logEvent("tengu_session_forked_branches_fetched", {
|
|
@@ -167411,7 +167576,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
167411
167576
|
init_settings2();
|
|
167412
167577
|
init_slowOperations();
|
|
167413
167578
|
init_uuid();
|
|
167414
|
-
VERSION = typeof MACRO !== "undefined" ? "1.0.3-fork.
|
|
167579
|
+
VERSION = typeof MACRO !== "undefined" ? "1.0.3-fork.d431a23" : "unknown";
|
|
167415
167580
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
167416
167581
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
167417
167582
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -168618,7 +168783,7 @@ var init_filesystem = __esm(() => {
|
|
|
168618
168783
|
});
|
|
168619
168784
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
168620
168785
|
const nonce = randomBytes14(16).toString("hex");
|
|
168621
|
-
return join72(getClaudeTempDir(), "bundled-skills", "1.0.3-fork.
|
|
168786
|
+
return join72(getClaudeTempDir(), "bundled-skills", "1.0.3-fork.d431a23", nonce);
|
|
168622
168787
|
});
|
|
168623
168788
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
168624
168789
|
});
|
|
@@ -169899,7 +170064,7 @@ var init_ssrfGuard = () => {};
|
|
|
169899
170064
|
|
|
169900
170065
|
// src/utils/hooks/execHttpHook.ts
|
|
169901
170066
|
async function getSandboxProxyConfig() {
|
|
169902
|
-
const { SandboxManager: SandboxManager3 } = await import("./chunk-
|
|
170067
|
+
const { SandboxManager: SandboxManager3 } = await import("./chunk-0b80ya38.js");
|
|
169903
170068
|
if (!SandboxManager3.isSandboxingEnabled()) {
|
|
169904
170069
|
return;
|
|
169905
170070
|
}
|
|
@@ -173628,4 +173793,4 @@ var init_sandbox_adapter = __esm(() => {
|
|
|
173628
173793
|
};
|
|
173629
173794
|
});
|
|
173630
173795
|
|
|
173631
|
-
export { LATEST_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, ErrorCode, EmptyResultSchema, InitializeRequestSchema, InitializedNotificationSchema, CreateTaskResultSchema, ResourceListChangedNotificationSchema, PromptListChangedNotificationSchema, ListToolsRequestSchema, CallToolResultSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, LoggingLevelSchema, SetLevelRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, ElicitRequestSchema, ElicitationCompleteNotificationSchema, ElicitResultSchema, ListRootsResultSchema, McpError, init_types5 as init_types, ReadBuffer, serializeMessage, init_stdio, readCustomApiStorage, writeCustomApiStorage, addSavedModelForProvider, init_customApiStorage, getEmptyToolPermissionContext, toolMatchesName, findToolByName, init_Tool, BASH_TOOL_NAME, init_toolName, GREP_TOOL_NAME, init_prompt4 as init_prompt, FILE_EDIT_TOOL_NAME, CLAUDE_FOLDER_PERMISSION_PATTERN, GLOBAL_CLAUDE_FOLDER_PERMISSION_PATTERN, init_constants5 as init_constants, FILE_READ_TOOL_NAME, init_prompt5 as init_prompt1, init_prompt6 as init_prompt2, init_prompt7 as init_prompt3, init_constants6 as init_constants1, MessageResponse, init_MessageResponse, validateDirectoryForWorkspace, addDirHelpMessage, init_validation2 as init_validation, createStore, init_store, init_voice, useMailbox, init_mailbox2 as init_mailbox, settingsChangeDetector, init_changeDetector, useSettingsChange, init_useSettingsChange, last_default, init_last, duck, goose, blob, cat, dragon, octopus, owl, penguin, turtle, snail, ghost, axolotl, capybara, cactus, robot, rabbit, mushroom, chonk, init_types4 as init_types1, getCompanion, init_companion, NO_CONTENT_MESSAGE, init_messages, parseYaml, init_yaml, FRONTMATTER_REGEX, parseFrontmatter, init_frontmatterParser, ripGrep2 as ripGrep, countFilesRoundedRg, init_ripgrep2 as init_ripgrep, isRestrictedToPluginOnly, isSourceAdminTrusted, init_pluginOnlyPolicy, CLAUDE_CONFIG_DIRECTORIES, loadMarkdownFilesForSubdir, init_markdownConfigLoader, getPluginErrorMessage, init_plugin, isBuiltinPluginId, getBuiltinPluginDefinition, init_builtinPlugins, getAddDirEnabledPlugins, init_addDirPluginSettings, SETTING_SOURCE_TO_SCOPE, parsePluginIdentifier, isOfficialMarketplaceName, scopeToSettingSource, init_pluginIdentifier, findReverseDependents, formatReverseDependentsSuffix, init_dependencyResolver, OFFICIAL_MARKETPLACE_SOURCE, OFFICIAL_MARKETPLACE_NAME, init_officialMarketplace, logPluginFetch, classifyFetchError, init_fetchTelemetry, checkGitAvailable, markGitUnavailable, init_gitAvailability, SandboxViolationStore, SandboxRuntimeConfigSchema, WEB_FETCH_TOOL_NAME, init_prompt10 as init_prompt4, resolvePathPatternForSandbox, resolveSandboxFilesystemPath, shouldAllowManagedSandboxDomainsOnly, convertToSandboxRuntimeConfig, addToExcludedCommands, SandboxManager2 as SandboxManager, init_sandbox_adapter, getPluginsDirectory, getPluginSeedDirs, pluginDataDirPath, getPluginDataDirSize, deletePluginDataDir, init_pluginDirectories, isUltrathinkEnabled, findThinkingTriggerPositions, getRainbowColor, modelSupportsAdaptiveThinking, shouldEnableThinkingByDefault, init_thinking, EFFORT_LEVELS, modelSupportsEffort, modelSupportsMaxEffort, isEffortLevel, parseEffortValue, toPersistableEffort, getInitialEffortSetting, resolvePickerEffortPersistence, getEffortEnvOverride, resolveAppliedEffort, getDisplayedEffortLevel, getEffortSuffix, convertEffortValueToLevel, getEffortValueDescription, getOpusDefaultEffortConfig, getDefaultEffortForModel, init_effort, isMcpbSource, loadMcpServerUserConfig, saveMcpServerUserConfig, loadMcpbFile, init_mcpbHandler, loadPluginOptions, savePluginOptions, deletePluginOptions, getUnconfiguredOptions, init_pluginOptionsStorage, loadPluginAgents, init_loadPluginAgents, AGENT_COLORS, AGENT_COLOR_TO_THEME_COLOR, getAgentColor, setAgentColor, init_agentColorManager, getSessionStartDate, init_common2 as init_common, init_prompt11 as init_prompt5, CLAUDE_CODE_GUIDE_AGENT_TYPE, init_claudeCodeGuideAgent, EXIT_PLAN_MODE_TOOL_NAME, EXIT_PLAN_MODE_V2_TOOL_NAME, init_constants11 as init_constants2, isBuiltInAgent, isCustomAgent, isPluginAgent, getActiveAgentsFromList, hasRequiredMcpServers, filterAgentsByMcpRequirements, getAgentDefinitionsWithOverrides, clearAgentDefinitionsCache, parseAgentFromJson, parseAgentsFromJson, parseAgentFromMarkdown, init_loadAgentsDir, SKILL_BUDGET_CONTEXT_PERCENT, CHARS_PER_TOKEN, DEFAULT_CHAR_BUDGET, MAX_LISTING_DESC_CHARS, getCharBudget, formatCommandsWithinBudget, getPrompt2 as getPrompt, getSkillToolInfo, getLimitedSkillToolCommands, clearPromptCache, getSkillInfo, init_prompt16 as init_prompt6, POWERSHELL_TOOL_NAME, init_toolName2 as init_toolName1, SHELL_TOOL_NAMES, isPowerShellToolEnabled, init_shellToolUtils, diffLines, init_libesm, resetPromptCacheBreakDetection, init_promptCacheBreakDetection, compactWarningStore, suppressCompactWarning, init_compactWarningState, resetMicrocompactState, microcompactMessages, init_microCompact, g, init_marked_esm, MAX_MEMORY_CHARACTER_COUNT, getMemoryFiles, clearMemoryFileCaches, resetGetMemoryFilesCache, getLargeMemoryFiles, getExternalClaudeMdIncludes, hasExternalClaudeMdIncludes, shouldShowClaudeMdExternalIncludesWarning, init_claudemd, setSystemPromptInjection, getGitStatus, getSystemContext, getUserContext, init_context2 as init_context, getTokenUsage, tokenCountFromLastAPIResponse, getCurrentUsage, doesMostRecentAssistantMessageExceed200k, getAssistantMessageContentLength, tokenCountWithEstimation, init_tokens, DEFAULT_SESSION_MEMORY_CONFIG, setLastSummarizedMessageId, markExtractionStarted, markExtractionCompleted, getSessionMemoryContent, setSessionMemoryConfig, getSessionMemoryConfig, recordExtractionTokenCount, isSessionMemoryInitialized, markSessionMemoryInitialized, hasMetInitializationThreshold, hasMetUpdateThreshold, getToolCallsBetweenUpdates, init_sessionMemoryUtils, uniqBy_default, init_uniqBy, inputSchema21 as inputSchema, outputSchema18 as outputSchema, clearToolSearchDescriptionCache, ToolSearchTool, init_ToolSearchTool, getSSLErrorHint, formatAPIError, init_errorUtils, init_withRetry, maybeResizeAndDownsampleImageBlock, detectImageFormatFromBase64, createImageMetadataText, init_imageResizer, asSystemPrompt, init_systemPromptType, subscribeToCommandQueue, getCommandQueueSnapshot, getCommandQueue, getCommandQueueLength, hasCommandsInQueue, enqueue, enqueuePendingNotification, dequeue, peek, dequeueAllMatching, removeByFilter, clearCommandQueue, isQueuedCommandEditable, isQueuedCommandVisible, popAllEditable, getCommandsByMaxPriority, init_messageQueueManager, setCommandLifecycleListener, notifyCommandLifecycle, init_commandLifecycle, headlessProfilerStartTurn, headlessProfilerCheckpoint, logHeadlessProfilerTurn, init_headlessProfiler, SLEEP_TOOL_NAME, init_prompt13 as init_prompt7, registerPostSamplingHook, init_postSamplingHooks, clearAllDumpState, getDumpPromptsPath, init_dumpPrompts, createAbortController, init_abortController, getCliHighlightPromise, getLanguageName, init_cliHighlight, logPermissionDecision, init_permissionLogging, tryParseShellCommand, quote, init_shellQuote, PROMPT_PREFIX, createPromptRuleContent, isClassifierPermissionsEnabled, getBashPromptAllowDescriptions, generateGenericDescription, init_bashClassifier, shouldShowAlwaysAllowOptions, getPermissionRulesForSource, init_permissionsLoader, extractRules, hasRules, applyPermissionUpdate, applyPermissionUpdates, supportsPersistence, persistPermissionUpdate, persistPermissionUpdates, init_PermissionUpdate, permissionRuleExtractPrefix, init_shellRuleMatching, setupVscodeSdkMcp, init_vscodeSdkMcp, getRateLimitWarning, getUsingOverageText, currentLimits, getRawUtilization, statusListeners, checkQuotaStatus, init_claudeAiLimits, shouldEnablePromptSuggestion, abortPromptSuggestion, tryGenerateSuggestion, logSuggestionOutcome, logSuggestionSuppressed, init_promptSuggestion, IDLE_SPECULATION_STATE, getDefaultAppState, init_AppStateStore, toArray, fromArray, init_generators, isResultSuccessful, normalizeMessage, handleOrphanedPermission, extractReadFilesFromMessages, extractBashToolsFromMessages, init_queryHelpers, abortSpeculation, handleSpeculationAccept, init_speculation, enqueueSdkEvent, drainSdkEvents, emitTaskTerminatedSdk, init_sdkEventQueue, updateTaskState, evictTerminalTask, getRunningTasks, init_framework, escapeXml, escapeXmlAttr, init_xml2 as init_xml, SYNTHETIC_OUTPUT_TOOL_NAME, isSyntheticOutputToolEnabled, createSyntheticOutputTool, init_SyntheticOutputTool, asSessionId, asAgentId, init_ids, getQuerySourceForREPL, init_promptCategory, ENTER_PLAN_MODE_TOOL_NAME, init_constants13 as init_constants3, ASK_USER_QUESTION_TOOL_NAME, init_prompt9 as init_prompt8, TODO_WRITE_TOOL_NAME, init_constants8 as init_constants4, SKILL_TOOL_NAME, init_constants10 as init_constants5, cronToHuman, init_cron, getCronFilePath, readCronTasks, hasCronTasksSync, removeCronTasks, markCronTasksFired, DEFAULT_CRON_JITTER_CONFIG, jitteredNextCronRunMs, oneShotJitteredNextCronRunMs, findMissedTasks, init_cronTasks, DEFAULT_MAX_AGE_DAYS, isKairosCronEnabled, CRON_CREATE_TOOL_NAME, CRON_DELETE_TOOL_NAME, exports_prompt, init_prompt12 as init_prompt9, init_tools, TEAM_CREATE_TOOL_NAME, init_constants20 as init_constants6, isCoordinatorMode, init_coordinatorMode, isZ4Schema, safeParse2 as safeParse, getObjectShape, init_zod_compat, Protocol, mergeCapabilities, init_protocol, AjvJsonSchemaValidator, init_ajv_provider, assertToolsCallTaskCapability, assertClientRequestTaskCapability, init_helpers, mapValues_default, init_mapValues, getRemoteSessionUrl, init_product, DEFAULT_BINDINGS, init_defaultBindings, NON_REBINDABLE, TERMINAL_RESERVED, MACOS_RESERVED, normalizeKeyForComparison, init_reservedShortcuts, isKeybindingCustomizationEnabled, getKeybindingsPath, loadKeybindingsSyncWithWarnings, getCachedKeybindingWarnings, init_loadUserBindings, getShortcutDisplay, init_shortcutFormat, isNavigableMessage, toolCallOf, MessageActionsSelectedContext, InVirtualListContext, useMessageActions, MessageActionsBar, stripSystemReminders, init_messageActions, init_prompt14 as init_prompt10, ListMcpResourcesTool, init_ListMcpResourcesTool, ProgressBar, init_ProgressBar, _baseEach_default, init__baseEach, reject_default, init_reject, loadPluginMcpServers, getUnconfiguredChannels, init_mcpPluginIntegration, fetchClaudeAIMcpConfigsIfEligible, clearClaudeAIMcpConfigsCache, hasClaudeAiMcpEverConnected, init_claudeai, getMcpServerSignature, dedupClaudeAiMcpServers, filterMcpServersByPolicy, addMcpConfig, removeMcpConfig, getMcpConfigsByScope, getMcpConfigByName, getClaudeCodeMcpConfigs, getAllMcpConfigs, parseMcpConfig, parseMcpConfigFromFilePath, doesEnterpriseMcpConfigExist, areMcpConfigsAllowedWithEnterpriseMcpConfig, isMcpServerDisabled, setMcpServerEnabled, init_config3 as init_config, filterToolsByServer, commandBelongsToServer, filterMcpPromptsByServer, excludeToolsByServer, excludeCommandsByServer, excludeResourcesByServer, excludeStalePluginClients, isMcpTool, describeMcpConfigFilePath, getScopeLabel, ensureConfigScope, ensureTransport, parseHeaders, getProjectMcpServerStatus, extractAgentMcpServers, init_utils2 as init_utils, isXaaEnabled, getXaaIdpSettings, issuerKey, getCachedIdpIdToken, saveIdpIdTokenFromJwt, clearIdpIdToken, saveIdpClientSecret, getIdpClientSecret, clearIdpClientSecret, acquireIdpIdToken, init_xaaIdpLogin, AuthenticationCancelledError, revokeServerTokens, clearServerTokensFromLocalStorage, performMCPOAuthFlow, ClaudeAuthProvider, readClientSecret, saveMcpClientSecret, clearMcpClientConfig, getMcpClientConfig, init_auth5 as init_auth, TOOL_RESULTS_SUBDIR, processToolResultBlock, provisionContentReplacementState, reconstructContentReplacementState, init_toolResultStorage, ReadMcpResourceTool, init_ReadMcpResourceTool, _baseSlice_default, init__baseSlice, capitalize_default, init_capitalize, isJetBrainsPluginInstalledCachedSync, init_jetbrains, WindowsToWSLConverter, init_idePathConversion, IdeOnboardingDialog, init_IdeOnboardingDialog, isJetBrainsIde, isSupportedVSCodeTerminal, isSupportedJetBrainsTerminal, isSupportedTerminal, getTerminalIdeType, getSortedIdeLockfiles, detectIDEs, hasAccessToIDEExtensionDiffFeature, isCursorInstalled, isWindsurfInstalled, isVSCodeInstalled, detectRunningIDEs, detectRunningIDEsCached, getConnectedIdeName, toIDEDisplayName, getConnectedIdeClient, closeOpenDiffs, initializeIdeIntegration, init_ide, recursivelySanitizeUnicode, init_sanitization, registerElicitationHandler, runElicitationHooks, runElicitationResultHooks, init_elicitationHandler, getMcpServerConnectionBatchSize, connectToServer, clearServerCache, areMcpConfigsEqual, fetchToolsForClient, fetchResourcesForClient, fetchCommandsForClient, callIdeRpc, reconnectMcpServerImpl, getMcpToolsCommandsAndResources, prefetchAllMcpResources, setupSdkMcpClients, init_client5 as init_client, isLocalShellTask, init_guards, getHookDisplayText, getAllHooks, hookSourceDescriptionDisplayString, hookSourceHeaderDisplayString, hookSourceInlineDisplayString, sortMatchersByPriority, init_hooksSettings, addSessionHook, addFunctionHook, removeSessionHook, init_sessionHooks, getDefaultSubagentModel, getAgentModelDisplay, getAgentModelOptions, init_agent, validateUuid2 as validateUuid, createAgentId, init_uuid, filterToolsForAgent, resolveAgentTools, init_agentToolUtils, useSettings, init_useSettings, applyMarkdown, init_markdown, Markdown, StreamingMarkdown, init_Markdown, isAdvisorBlock, isAdvisorEnabled, canUserConfigureAdvisor, modelSupportsAdvisor, isValidAdvisorModel, getInitialAdvisorSetting, init_advisor, checkOpus1mAccess, checkSonnet1mAccess, init_check1mAccess, getUpgradeMessage, init_contextWindowUpgradeCheck, setupGracefulShutdown, gracefulShutdownSync, isShuttingDown, gracefulShutdown, init_gracefulShutdown, getGroveSettings, markGroveNoticeViewed, updateGroveSettings, isQualifiedForGrove, getGroveNoticeConfig, calculateShouldShowGrove, checkGroveForNonInteractive, init_grove, initializePolicyLimitsLoadingPromise, isPolicyLimitsEligible, waitForPolicyLimitsToLoad, isPolicyAllowed, loadPolicyLimits, refreshPolicyLimits, init_policyLimits, isRemoteManagedSettingsEligible, init_syncCache, initializeRemoteManagedSettingsLoadingPromise, isEligibleForRemoteManagedSettings, waitForRemoteManagedSettingsToLoad, loadRemoteManagedSettings, refreshRemoteManagedSettings, init_remoteManagedSettings, performLogout, clearAuthRelatedCaches, call, init_logout, OAuthService, init_oauth2 as init_oauth, installOrUpdateClaudePackage, localInstallationExists, getShellType, init_localInstaller, assertMinVersion, getMaxVersion, getMaxVersionMessage, shouldSkipVersion, getLatestVersion, getNpmDistTags, getLatestVersionFromGcs, getGcsDistTags, installGlobalPackage, init_autoUpdater, getPackageManager, init_packageManagers, getCurrentInstallationType, getDoctorDiagnostic, init_doctorDiagnostic, getXDGStateHome, init_xdg, isPidBasedLockingEnabled, getAllLockInfo, cleanupStaleLocks, init_pidLock, checkInstall, installLatest, lockCurrentVersion, cleanupOldVersions, removeInstalledSymlink, cleanupShellAliases, cleanupNpmInstallations, init_nativeInstaller, getSettingsWithAllErrors, init_allErrors, buildSandboxProperties, buildIDEProperties, buildMcpProperties, buildMemoryDiagnostics, buildSettingSourcesProperties, buildInstallationDiagnostics, buildInstallationHealthDiagnostics, buildAccountProperties, buildAPIProviderProperties, getModelDisplayLabel, init_status, installOAuthTokens, authLogin, authStatus, authLogout, init_auth4 as init_auth1, sendNotification, init_notifier, PASTE_THRESHOLD, getImageFromClipboard, init_imagePaste, cacheImagePath, storeImage, storeImages, clearStoredImagePaths, cleanupOldImageCaches, init_imageStore, ListItem, init_ListItem, useRegisterOverlay, useIsOverlayActive, useIsModalOverlayActive, init_overlayContext, Select, init_select, buildBridgeConnectUrl, getBridgeStatus, buildIdleFooterText, buildActiveFooterText, FAILED_FOOTER_TEXT, init_bridgeStatusUtil, sample_default, init_sample, activityManager, init_activityManager, isInProcessTeammateTask, init_types6 as init_types2, TaskListV2, init_TaskListV2, useTasksV2, useTasksV2WithCollapseEffect, init_useTasksV2, toRGBColor, hueToRgb, init_utils3 as init_utils1, ShimmerChar, init_ShimmerChar, SpinnerGlyph, init_SpinnerGlyph, useShimmerAnimation, init_useShimmerAnimation, toInkColor, init_ink2 as init_ink, isBackgroundTask, init_types9 as init_types3, McpServerConfigForProcessTransportSchema, McpServerStatusSchema, PermissionUpdateSchema, PermissionModeSchema, HookEventSchema, HookInputSchema, SlashCommandSchema, AgentInfoSchema, ModelInfoSchema, AccountInfoSchema, AgentDefinitionSchema, SDKUserMessageSchema, SDKStreamlinedTextMessageSchema, SDKStreamlinedToolUseSummaryMessageSchema, SDKPostTurnSummaryMessageSchema, SDKMessageSchema, FastModeStateSchema, init_coreSchemas, readUnreadMessages, writeToMailbox, markMessagesAsRead, createIdleNotification, isPermissionRequest, isPermissionResponse, isSandboxPermissionRequest, isSandboxPermissionResponse, sendShutdownRequestToMailbox, isShutdownRequest, isPlanApprovalRequest, isShutdownApproved, isPlanApprovalResponse, isTeamPermissionUpdate, createModeSetRequestMessage, isModeSetRequest, getLastPeerDmSummary, init_teammateMailbox, permissionUpdateSchema, init_PermissionUpdateSchema, createPermissionRequest, isSwarmWorker, sendPermissionRequestViaMailbox, sendPermissionResponseViaMailbox, generateSandboxRequestId, sendSandboxPermissionRequestViaMailbox, sendSandboxPermissionResponseViaMailbox, init_permissionSync, registerPermissionCallback, hasPermissionCallback, clearAllPendingCallbacks, processMailboxPermissionResponse, registerSandboxPermissionCallback, hasSandboxPermissionCallback, processSandboxPermissionResponse, init_useSwarmPermissionPoller, registerLeaderToolUseConfirmQueue, getLeaderToolUseConfirmQueue, unregisterLeaderToolUseConfirmQueue, registerLeaderSetToolPermissionContext, unregisterLeaderSetToolPermissionContext, init_leaderPermissionBridge, exports_teammatePromptAddendum, init_teammatePromptAddendum, ensureBackendsRegistered, registerTmuxBackend, registerITermBackend, detectAndGetBackend, getBackendByType, getCachedBackend, getCachedDetectionResult, markInProcessFallback, isInProcessEnabled, getResolvedTeammateMode, getInProcessBackend, getTeammateExecutor, resetBackendDetection, init_registry, InProcessTeammateTask, injectUserMessageToTeammate, findTeammateTaskByAgentId, getAllInProcessTeammateTasks, getRunningTeammatesSorted, exports_InProcessTeammateTask, init_InProcessTeammateTask, getViewedTeammateTask, getActiveAgentForInput, init_selectors, useElapsedTime, init_useElapsedTime, SpinnerWithVerb, BriefIdleStatus, Spinner, init_Spinner2 as init_Spinner, ConsoleOAuthFlow, init_ConsoleOAuthFlow, extraUsage, init_extra_usage, useClaudeAiLimits, init_claudeAiLimitsHook, AssistantThinkingMessage, init_AssistantThinkingMessage, clearClassifierChecking, init_classifierApprovals, SentryErrorBoundary, init_SentryErrorBoundary, UserBashInputMessage, init_UserBashInputMessage, UserPlanMessage, init_UserPlanMessage, QueuedMessageProvider, init_QueuedMessageContext, UserTextMessage, init_UserTextMessage, diagnosticTracker, init_diagnosticTracking, FilePathLink, init_FilePathLink, PrBadge, init_PrBadge, getPillLabel, pillNeedsCta, init_pillLabel, OffscreenFreeze, init_OffscreenFreeze, hasThinkingContent, Message, init_Message, renderToolUseProgressMessage4 as renderToolUseProgressMessage, init_UI11 as init_UI, recordSkillUsage, getSkillUsageScore, init_skillUsageTracking, buildPluginTelemetryFields, buildPluginCommandTelemetryFields, logPluginsEnabledForSession, classifyPluginCommandError, logPluginLoadErrors, init_pluginTelemetry, runAgent, init_runAgent, TodoListSchema, init_types7 as init_types4, TodoWriteTool, init_TodoWriteTool, fetchEnvironments, init_environments, SelectMulti, init_SelectMulti, init_CustomSelect, TeleportError, init_TeleportError, KeybindingSetup, init_KeybindingProviderSetup, clearAllSessions, init_sessionIngress, fileHistoryEnabled, fileHistoryMakeSnapshot, fileHistoryRewind, fileHistoryCanRestore, fileHistoryGetDiffStats, fileHistoryHasAnyChanges, fileHistoryRestoreStateFromLog, copyFileHistoryForResume, init_fileHistory, init_outputsScanner, generateShortWordSlug, init_words, getPlanSlug, setPlanSlug, clearAllPlanSlugs, getPlansDirectory, getPlanFilePath, getPlan, copyPlanForResume, copyPlanForFork, init_plans, captureHooksConfigSnapshot, updateHooksConfigSnapshot, init_hooksConfigSnapshot, setEnvHookNotifier, initializeFileChangedWatcher, init_fileChangedWatcher, loadPluginHooks, clearPluginHookCache, pruneRemovedPluginHooks, resetHotReloadState, getPluginAffectingSettingsSnapshot, setupPluginHookHotReload, init_loadPluginHooks, takeInitialUserMessage, processSessionStartHooks, processSetupHooks, init_sessionStart, deserializeMessages, loadConversationForResume, init_conversationRecovery, downloadSessionFiles, parseFileSpecs, init_filesApi, generateTempFilePath, init_tempfile, validateGitState, processMessagesForTeleportResume, checkOutTeleportedSessionBranch, validateSessionRepository, teleportResumeCodeSession, teleportToRemoteWithErrorHandling, teleportFromSessionsAPI, pollRemoteSessionEvents, teleportToRemote, archiveRemoteSession, init_teleport, checkRemoteAgentEligibility, formatPreconditionError, registerRemoteAgentTask, restoreRemoteAgentTasks, RemoteAgentTask, getRemoteTaskSessionUrl, init_RemoteAgentTask, SkillTool, init_SkillTool, resetAllLSPDiagnosticState, init_LSPDiagnosticRegistry, loadPluginLspServers, init_lspPluginIntegration, getLspServerManager, getInitializationStatus, initializeLspServerManager, reinitializeLspServerManager, shutdownLspServerManager, init_manager, parseArguments, generateProgressiveArgumentHint, init_argumentSubstitution, clearPendingHint, markShownThisSession, subscribeToPendingHint, getPendingHintSnapshot, init_claudeCodeHints, isPluginBlockedByPolicy, init_pluginPolicy, resolvePluginHint, markHintPluginShown, disableHintRecommendations, init_hintRecommendation, CircularBuffer, init_CircularBuffer, validateBoundedIntEnvVar, init_envValidation, BASH_MAX_OUTPUT_UPPER_LIMIT, BASH_MAX_OUTPUT_DEFAULT, init_outputLimits, clearSessionEnvVars, init_sessionEnvVars, exec, setCwd, init_Shell, ShellProgressMessage, init_ShellProgressMessage, parseSedEditCommand, applySedSubstitution, init_sedEditParser, parsePowerShellCommandCached, getAllCommands2 as getAllCommands, init_parser3 as init_parser, isAllowlistedCommand, init_readOnlyValidation, NEVER_SUGGEST, init_dangerousCmdlets, PowerShellTool, exports_PowerShellTool, init_PowerShellTool, getSkillsPath, estimateSkillFrontmatterTokens, clearSkillCaches, onDynamicSkillsLoaded, clearDynamicSkills, init_loadSkillsDir, getStoredSessionCosts, restoreCostStateForSession, saveCurrentSessionCosts, formatCost, formatTotalCost, init_cost_tracker, CONTEXT_LINES, adjustHunkLineNumbers, getPatchFromContents, getPatchForDisplay, init_diff, fetchGitDiff, fetchGitDiffHunks, init_gitDiff, getColorModuleUnavailableReason, getSyntaxTheme2 as getSyntaxTheme, init_colorDiff, HighlightedCode, init_HighlightedCode, StructuredDiff, init_StructuredDiff, StructuredDiffList, init_StructuredDiffList, CHUNK_SIZE, openForScan, scanForContext, readCapped, init_readEditContext, findActualString, preserveQuoteStyle, getPatchForEdits, getEditsForPatch, init_utils as init_utils2, FileEditTool, init_FileEditTool, FileWriteTool, init_FileWriteTool, getGlobExclusionsForPluginCache, clearPluginCacheExclusions, init_orphanedPluginFilter, GrepTool, init_GrepTool, GlobTool, init_GlobTool, parseCellId, init_notebook, NotebookEditTool, init_NotebookEditTool, clearWebFetchCache, MAX_MARKDOWN_LENGTH, isPreapprovedUrl, validateURL, checkDomainBlocklist, isPermittedRedirect, getWithPermittedRedirects, getURLMarkdownContent, applyPromptToMarkdown, init_utils7 as init_utils3, WebFetchTool, init_WebFetchTool, readLastConsolidatedAt, init_consolidationLock, DreamTask, init_DreamTask, stopTask, init_stopTask, TaskStopTool, init_TaskStopTool, exports_BriefTool, init_BriefTool, TASK_MAX_OUTPUT_UPPER_LIMIT, TASK_MAX_OUTPUT_DEFAULT, init_outputFormatting, TaskOutputTool, init_TaskOutputTool, WebSearchTool, init_WebSearchTool, findInProcessTeammateTaskId, handlePlanApprovalResponse, init_inProcessTeammateHelpers, ExitPlanModeV2Tool, init_ExitPlanModeV2Tool, AskUserQuestionTool, init_AskUserQuestionTool, init_prompt23 as init_prompt11, isPlanModeInterviewPhaseEnabled, getPewterLedgerVariant, init_planModeV2, EnterPlanModeTool, init_EnterPlanModeTool, getModelOptions, init_modelOptions, init_voiceModeEnabled, validateModel, init_validateModel, registerSession, updateSessionName, updateSessionBridgeId, countConcurrentSessions, init_concurrentSessions, init_replBridgeHandle, startBackgroundSession, init_LocalMainSessionTask, buildEffectiveSystemPrompt, init_systemPrompt, resumeAgentBackground, init_resumeAgent, getAllBaseTools, filterToolsByDenyRules, getTools, assembleToolPool, init_tools2 as init_tools1, getHardcodedTeammateModelFallback, init_teammateModel, isAutoManagedMemoryFile, init_memoryFileDetection, getToolSearchOrReadInfo, getToolUseIdsFromCollapsedGroup, hasAnyToolInProgress, getDisplayMessageFromCollapsed, collapseReadSearchGroups, summarizeRecentActivities, init_collapseReadSearch, isLocalAgentTask, isPanelAgentTask, queuePendingMessage, appendMessageToLocalAgent, LocalAgentTask, killAllRunningAgentTasks, markAgentsNotified, init_LocalAgentTask, BACKGROUND_BASH_SUMMARY_PREFIX, LocalShellTask, hasForegroundTasks, backgroundAll, init_LocalShellTask, isMemoryFileAccess, registerSessionFileAccessHooks, init_sessionFileAccessHooks, BashTool, init_BashTool, getSimpleCommandPrefix, getFirstWordPrefix, clearSpeculativeChecks, init_bashPermissions, Stream, init_stream2 as init_stream, getErrorParts, init_toolErrors, startQueryProfile, queryCheckpoint, logQueryProfileReport, init_queryProfiler, isAutoDreamEnabled, init_config5 as init_config1, init_readFileInRange, initAutoDream, init_autoDream, init_tokenBudget, query, init_query, init_logging, getLastCacheSafeParams, createCacheSafeParams, prepareForkedCommandContext, extractResultText, createSubagentContext, runForkedAgent, init_forkedAgent, logPermissionContextForAnts, init_internalLogging, ERROR_MESSAGE_NOT_ENOUGH_MESSAGES, ERROR_MESSAGE_USER_ABORT, ERROR_MESSAGE_INCOMPLETE_RESPONSE, buildPostCompactMessages, mergeHookInstructions, compactConversation, partialCompactConversation, init_compact, runPostCompactCleanup, init_postCompactCleanup, loadSessionMemoryTemplate, buildSessionMemoryUpdatePrompt, init_prompts3 as init_prompts, shouldUseSessionMemoryCompaction, trySessionMemoryCompaction, init_sessionMemoryCompact, getEffectiveContextWindowSize, calculateTokenWarningState, isAutoCompactEnabled, init_autoCompact, countMcpToolTokens, analyzeContextUsage, init_analyzeContext, zodToJsonSchema3 as zodToJsonSchema, init_zodToJsonSchema2 as init_zodToJsonSchema, getAutoToolSearchCharThreshold, getToolSearchMode, modelSupportsToolReference, isToolSearchEnabledOptimistic, isToolSearchToolAvailable, isToolSearchEnabled, isToolReferenceBlock, extractDiscoveredToolNames, isDeferredToolsDeltaEnabled, getDeferredToolsDelta, init_toolSearch, roughTokenCountEstimation, init_tokenEstimation, registerFileReadListener, FileReadTool, init_FileReadTool, isValidImagePaste, init_textInputTypes, registerHookEventHandler, setAllHookEventsEnabled, init_hookEvents, finalizePendingAsyncHooks, init_AsyncHookRegistry, isHumanTurn, init_messagePredicates, getQueuedCommandAttachments, resetSentSkillNames, getAttachmentMessages, createAttachmentMessage, init_attachments2 as init_attachments, getPluginCommands, init_loadPluginCommands, isPluginZipCacheEnabled, getPluginZipCachePath, getZipCacheKnownMarketplacesPath, getZipCacheMarketplacesDir, getZipCachePluginsDir, cleanupSessionPluginCache, atomicWriteToZipCache, getMarketplaceJsonRelativePath, isMarketplaceSourceSupportedByZipCache, init_zipCache, clearAllCaches, markPluginVersionOrphaned, cleanupOrphanedPluginVersionsInBackground, init_cacheUtils, formatFailureDetails, getMarketplaceSourceDisplay, createPluginId, loadMarketplacesWithGracefulDegradation, formatMarketplaceLoadingErrors, getPluginTrustMessage, isSourceAllowedByPolicy, detectEmptyMarketplaceReason, init_marketplaceHelpers, fetchOfficialMarketplaceFromGcs, init_officialMarketplaceGcs, getMarketplacesCacheDir, clearMarketplacesCache, getDeclaredMarketplaces, saveMarketplaceToSettings, loadKnownMarketplacesConfig, loadKnownMarketplacesConfigSafe, saveKnownMarketplacesConfig, registerSeedMarketplaces, addMarketplaceSource, removeMarketplaceSource, getMarketplace, getPluginById, refreshAllMarketplaces, refreshMarketplace, setMarketplaceAutoUpdate, init_marketplaceManager, loadInstalledPluginsV2, removePluginInstallation, getInMemoryInstalledPlugins, loadInstalledPluginsFromDisk, updateInstallationPathOnDisk, initializeVersionedPlugins, isInstallationRelevantToCurrentProject, isPluginInstalled, isPluginGloballyInstalled, migrateFromEnabledPlugins, init_installedPluginsManager, getManagedPluginNames, init_managedPlugins, calculatePluginVersion, init_pluginVersioning, cacheAndRegisterPlugin, registerPluginInstallation, formatResolutionError, installResolvedPlugin, installPluginFromMarketplace, init_pluginInstallationHelpers, getVersionedCachePath, getVersionedZipCachePath, copyPluginToVersionedCache, cachePlugin, loadPluginManifest, loadAllPlugins, loadAllPluginsCacheOnly, clearPluginCache, init_pluginLoader, DEFAULT_OUTPUT_STYLE_NAME, OUTPUT_STYLE_CONFIG, getAllOutputStyles, init_outputStyles, withMemoryCorrectionHint, INTERRUPT_MESSAGE, INTERRUPT_MESSAGE_FOR_TOOL_USE, REJECT_MESSAGE, REJECT_MESSAGE_WITH_REASON_PREFIX, SUBAGENT_REJECT_MESSAGE, SUBAGENT_REJECT_MESSAGE_WITH_REASON_PREFIX, SYNTHETIC_MODEL, SYNTHETIC_MESSAGES, isSyntheticMessage, getLastAssistantMessage, hasToolCallsInLastAssistantTurn, createAssistantMessage, createUserMessage, prepareUserContent, createUserInterruptionMessage, createSyntheticUserCaveatMessage, formatCommandInputTags, createModelSwitchBreadcrumbs, extractTag, isNotEmptyMessage, deriveUUID, normalizeMessages, isToolUseResultMessage, reorderMessagesInUI, buildMessageLookups, EMPTY_LOOKUPS, EMPTY_STRING_SET, getSiblingToolUseIDsFromLookup, getProgressMessagesFromLookup, hasUnresolvedHooksFromLookup, getToolUseIDs, isSystemLocalCommandMessage, normalizeMessagesForAPI, isEmptyMessageText, stripPromptXMLTags, getToolUseID, getUserMessageText, textForResubmit, extractTextContent, getContentText, handleMessageFromStream, createSystemMessage, createPermissionRetryMessage, createScheduledTaskFireMessage, createTurnDurationMessage, createAgentsKilledMessage, createApiMetricsMessage, createCommandInputMessage, isCompactBoundaryMessage, getMessagesAfterCompactBoundary, shouldShowUserMessage, countToolCalls, stripSignatureBlocks, init_messages2 as init_messages1, startsWithApiErrorPrefix, categorizeRetryableAPIError, init_errors3 as init_errors, splitCommand_DEPRECATED, clearCommandPrefixCaches, extractOutputRedirections, init_commands, shouldUseSandbox, init_shouldUseSandbox, permissionRuleSourceDisplayString, getAllowRules, getDenyRules, getAskRules, hasPermissionsToUseTool, deletePermissionRule, init_permissions2 as init_permissions, removeDangerousPermissions, transitionPermissionMode, initialPermissionModeFromCLI, parseToolListFromCLI, initializeToolPermissionContext, getAutoModeUnavailableNotification, shouldDisableBypassPermissions, getAutoModeUnavailableReason, isBypassPermissionsModeDisabled, createDisabledBypassPermissionsContext, checkAndDisableBypassPermissions, prepareContextForPlanMode, transitionPlanAutoMode, init_permissionSetup, applySettingsChange, init_applySettingsChange, AppStateProvider, useAppState, useSetAppState, useAppStateStore, init_AppState, useNotifications, init_notifications, useClipboardImageHint, init_useClipboardImageHint, prependModeCharacterToInput, getModeFromInput, getValueFromInput, init_inputModes, cleanupOldPastes, init_pasteStore, getPastedTextRefNumLines, formatPastedTextRef, formatImageRef, parseReferences, expandPastedTextRefs, makeHistoryReader, getHistory, addToHistory, removeLastFromHistory, init_history, pushToKillRing, getLastKill, resetKillAccumulation, recordYank, yankPop, updateYankLength, resetYankState, isVimWordChar, isVimWhitespace, isVimPunctuation, Cursor, init_Cursor, useTextInput, init_useTextInput, BaseTextInput, init_BaseTextInput, TextInput, init_TextInput, getWorktreePaths, init_getWorktreePaths, isUltrareviewEnabled, init_ultrareviewEnabled, review_default, init_review, REMOTE_CONTROL_DISCONNECTED_MSG, init_types13 as init_types5, validateBridgeId, BridgeFatalError, createBridgeApiClient, isExpiredErrorType, isSuppressible403, init_bridgeApi, registerBridgeDebugHandle, clearBridgeDebugHandle, injectBridgeFault, wrapApiForFaultInjection, init_bridgeDebug, registerBundledSkill, init_bundledSkills, exit_default, init_exit, upgrade_default, init_upgrade, getCommandName, isCommandEnabled, builtInCommandNames, getCommands, clearCommandMemoizationCaches, clearCommandsCache, getSkillToolCommands, getSlashCommandToolSkills, REMOTE_SAFE_COMMANDS, isBridgeSafeCommand, filterCommandsForRemoteMode, findCommand, hasCommand, getCommand, formatDescriptionWithSource, init_commands2 as init_commands1, isTranscriptMessage, isChainParticipant, isEphemeralToolProgress, getProjectsDir2 as getProjectsDir, getTranscriptPath, getTranscriptPathForSession, MAX_TRANSCRIPT_READ_BYTES, setAgentTranscriptSubdir, clearAgentTranscriptSubdir, getAgentTranscriptPath, writeAgentMetadata, readAgentMetadata, writeRemoteAgentMetadata, readRemoteAgentMetadata, deleteRemoteAgentMetadata, listRemoteAgentMetadata, sessionIdExists, getNodeEnv, getUserType, isCustomTitleEnabled, getProjectDir, resetProjectFlushStateForTesting, resetProjectForTesting, setSessionFileForTesting, setInternalEventWriter, setInternalEventReader, setRemoteIngressUrlForTesting, recordTranscript, recordSidechainTranscript, recordQueueOperation, removeTranscriptMessage, recordFileHistorySnapshot, recordAttributionSnapshot, recordContentReplacement, resetSessionFilePointer, adoptResumedSessionFile, recordContextCollapseCommit, recordContextCollapseSnapshot, flushSessionStorage, hydrateRemoteSession, hydrateFromCCRv2InternalEvents, getFirstMeaningfulUserMessageTextContent, removeExtraFields, buildConversationChain, checkResumeConsistency, loadTranscriptFromFile, fetchLogs, saveCustomTitle, saveAiGeneratedTitle, saveTaskSummary, saveTag, linkSessionToPR, getCurrentSessionTag, getCurrentSessionTitle, getCurrentSessionAgentColor, restoreSessionMetadata, clearSessionMetadata, reAppendSessionMetadata, saveAgentName, saveAgentColor, saveAgentSetting, cacheSessionTitle, saveMode, saveWorktreeState, getSessionIdFromLog, isLiteLog, loadFullLog, searchSessionsByCustomTitle, loadTranscriptFile, clearSessionMessagesCache, doesMessageExistInSession, getLastSessionLog, loadMessageLogs, loadAllProjectsMessageLogs, loadAllProjectsMessageLogsProgressive, loadSameRepoMessageLogs, loadSameRepoMessageLogsProgressive, getAgentTranscript, extractAgentIdsFromMessages, extractTeammateTranscriptsFromTasks, loadSubagentTranscripts, loadAllSubagentTranscriptsFromDisk, isLoggableMessage, cleanMessagesForLogging, getLogByIndex, findUnresolvedToolUse, getSessionFilesWithMtime, loadAllLogsFromSessionFile, getSessionFilesLite, enrichLogs, exports_sessionStorage, init_sessionStorage, loadMemoryPrompt, init_memdir, getAgentMemoryDir, getMemoryScopeDisplay, loadAgentMemoryPrompt, init_agentMemory, normalizeCaseForComparison2 as normalizeCaseForComparison, getSessionMemoryDir, getSessionMemoryPath, isScratchpadEnabled, getScratchpadDir, ensureScratchpadDir, pathInAllowedWorkingPath, generateSuggestions, init_filesystem, getTaskOutputPath, evictTaskOutput, initTaskOutputAsSymlink, init_diskOutput, isTerminalTaskStatus, init_Task, hookJSONOutputSchema, init_hooks2 as init_hooks, createCombinedAbortSignal, init_combinedAbortSignal, registerStructuredOutputEnforcement, init_hookHelpers, getSessionEndHookTimeoutMs, shouldSkipHookDueToTrust, createBaseHookInput, getMatchingHooks, getPreToolHookBlockingMessage, getStopHookMessage, getTeammateIdleHookMessage, getTaskCreatedHookMessage, getTaskCompletedHookMessage, getUserPromptSubmitHookBlockingMessage, hasBlockingResult, executePreToolHooks, executePostToolHooks, executePostToolUseFailureHooks, executePermissionDeniedHooks2 as executePermissionDeniedHooks, executeNotificationHooks, executeStopFailureHooks, executeStopHooks, executeTeammateIdleHooks, executeTaskCreatedHooks, executeTaskCompletedHooks, executeUserPromptSubmitHooks, executeSessionStartHooks, executeSetupHooks, executeSubagentStartHooks, executePreCompactHooks, executePostCompactHooks, executeSessionEndHooks, executePermissionRequestHooks, executeConfigChangeHooks, executeCwdChangedHooks, executeFileChangedHooks, hasInstructionsLoadedHook, executeInstructionsLoadedHooks, executeElicitationHooks, executeElicitationResultHooks, executeStatusLineCommand, executeFileSuggestionCommand, hasWorktreeCreateHook, executeWorktreeCreateHook, executeWorktreeRemoveHook, init_hooks3 as init_hooks1, validateWorktreeSlug, getCurrentWorktreeSession, restoreWorktreeSession, generateTmuxSessionName, worktreeBranchName, copyWorktreeIncludeFiles, parsePRReference, isTmuxAvailable2 as isTmuxAvailable, getTmuxInstallInstructions, createTmuxSessionForWorktree, killTmuxSession, createWorktreeForSession, keepWorktree, cleanupWorktree, createAgentWorktree, removeAgentWorktree, cleanupStaleAgentWorktrees, hasWorktreeChanges, execIntoTmuxWorktree, init_worktree, getSystemPrompt, init_prompts as init_prompts1, prependUserContext, logContextMetrics, init_api2 as init_api, verifyApiKey, queryModelWithoutStreaming, updateUsage, accumulateUsage, queryHaiku, queryWithModel, init_claude, sideQuery, init_sideQuery };
|
|
173796
|
+
export { LATEST_PROTOCOL_VERSION, SUPPORTED_PROTOCOL_VERSIONS, ErrorCode, EmptyResultSchema, InitializeRequestSchema, InitializedNotificationSchema, CreateTaskResultSchema, ResourceListChangedNotificationSchema, PromptListChangedNotificationSchema, ListToolsRequestSchema, CallToolResultSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, LoggingLevelSchema, SetLevelRequestSchema, CreateMessageResultSchema, CreateMessageResultWithToolsSchema, ElicitRequestSchema, ElicitationCompleteNotificationSchema, ElicitResultSchema, ListRootsResultSchema, McpError, init_types4 as init_types, ReadBuffer, serializeMessage, init_stdio, readCustomApiStorage, writeCustomApiStorage, addSavedModelForProvider, init_customApiStorage, getEmptyToolPermissionContext, toolMatchesName, findToolByName, init_Tool, BASH_TOOL_NAME, init_toolName, GREP_TOOL_NAME, init_prompt4 as init_prompt, FILE_EDIT_TOOL_NAME, CLAUDE_FOLDER_PERMISSION_PATTERN, GLOBAL_CLAUDE_FOLDER_PERMISSION_PATTERN, init_constants5 as init_constants, FILE_READ_TOOL_NAME, init_prompt5 as init_prompt1, init_prompt6 as init_prompt2, init_prompt7 as init_prompt3, init_constants6 as init_constants1, MessageResponse, init_MessageResponse, validateDirectoryForWorkspace, addDirHelpMessage, init_validation2 as init_validation, createStore, init_store, init_voice, useMailbox, init_mailbox2 as init_mailbox, settingsChangeDetector, init_changeDetector, useSettingsChange, init_useSettingsChange, last_default, init_last, NO_CONTENT_MESSAGE, init_messages, parseYaml, init_yaml, FRONTMATTER_REGEX, parseFrontmatter, init_frontmatterParser, ripGrep2 as ripGrep, countFilesRoundedRg, init_ripgrep2 as init_ripgrep, isRestrictedToPluginOnly, isSourceAdminTrusted, init_pluginOnlyPolicy, CLAUDE_CONFIG_DIRECTORIES, loadMarkdownFilesForSubdir, init_markdownConfigLoader, getPluginErrorMessage, init_plugin, isBuiltinPluginId, getBuiltinPluginDefinition, init_builtinPlugins, getAddDirEnabledPlugins, init_addDirPluginSettings, SETTING_SOURCE_TO_SCOPE, parsePluginIdentifier, isOfficialMarketplaceName, scopeToSettingSource, init_pluginIdentifier, findReverseDependents, formatReverseDependentsSuffix, init_dependencyResolver, OFFICIAL_MARKETPLACE_SOURCE, OFFICIAL_MARKETPLACE_NAME, init_officialMarketplace, logPluginFetch, classifyFetchError, init_fetchTelemetry, checkGitAvailable, markGitUnavailable, init_gitAvailability, SandboxViolationStore, SandboxRuntimeConfigSchema, WEB_FETCH_TOOL_NAME, init_prompt10 as init_prompt4, resolvePathPatternForSandbox, resolveSandboxFilesystemPath, shouldAllowManagedSandboxDomainsOnly, convertToSandboxRuntimeConfig, addToExcludedCommands, SandboxManager2 as SandboxManager, init_sandbox_adapter, getPluginsDirectory, getPluginSeedDirs, pluginDataDirPath, getPluginDataDirSize, deletePluginDataDir, init_pluginDirectories, isUltrathinkEnabled, findThinkingTriggerPositions, getRainbowColor, modelSupportsAdaptiveThinking, shouldEnableThinkingByDefault, init_thinking, EFFORT_LEVELS, modelSupportsEffort, modelSupportsMaxEffort, isEffortLevel, parseEffortValue, toPersistableEffort, getInitialEffortSetting, resolvePickerEffortPersistence, getEffortEnvOverride, resolveAppliedEffort, getDisplayedEffortLevel, getEffortSuffix, convertEffortValueToLevel, getEffortValueDescription, getOpusDefaultEffortConfig, getDefaultEffortForModel, init_effort, isMcpbSource, loadMcpServerUserConfig, saveMcpServerUserConfig, loadMcpbFile, init_mcpbHandler, loadPluginOptions, savePluginOptions, deletePluginOptions, getUnconfiguredOptions, init_pluginOptionsStorage, loadPluginAgents, init_loadPluginAgents, AGENT_COLORS, AGENT_COLOR_TO_THEME_COLOR, getAgentColor, setAgentColor, init_agentColorManager, getSessionStartDate, init_common2 as init_common, init_prompt11 as init_prompt5, CLAUDE_CODE_GUIDE_AGENT_TYPE, init_claudeCodeGuideAgent, EXIT_PLAN_MODE_TOOL_NAME, EXIT_PLAN_MODE_V2_TOOL_NAME, init_constants11 as init_constants2, isBuiltInAgent, isCustomAgent, isPluginAgent, getActiveAgentsFromList, hasRequiredMcpServers, filterAgentsByMcpRequirements, getAgentDefinitionsWithOverrides, clearAgentDefinitionsCache, parseAgentFromJson, parseAgentsFromJson, parseAgentFromMarkdown, init_loadAgentsDir, SKILL_BUDGET_CONTEXT_PERCENT, CHARS_PER_TOKEN, DEFAULT_CHAR_BUDGET, MAX_LISTING_DESC_CHARS, getCharBudget, formatCommandsWithinBudget, getPrompt2 as getPrompt, getSkillToolInfo, getLimitedSkillToolCommands, clearPromptCache, getSkillInfo, init_prompt16 as init_prompt6, POWERSHELL_TOOL_NAME, init_toolName2 as init_toolName1, SHELL_TOOL_NAMES, isPowerShellToolEnabled, init_shellToolUtils, diffLines, init_libesm, resetPromptCacheBreakDetection, init_promptCacheBreakDetection, compactWarningStore, suppressCompactWarning, init_compactWarningState, resetMicrocompactState, microcompactMessages, init_microCompact, g, init_marked_esm, MAX_MEMORY_CHARACTER_COUNT, getMemoryFiles, clearMemoryFileCaches, resetGetMemoryFilesCache, getLargeMemoryFiles, getExternalClaudeMdIncludes, hasExternalClaudeMdIncludes, shouldShowClaudeMdExternalIncludesWarning, init_claudemd, setSystemPromptInjection, getGitStatus, getSystemContext, getUserContext, init_context2 as init_context, getTokenUsage, tokenCountFromLastAPIResponse, getCurrentUsage, doesMostRecentAssistantMessageExceed200k, getAssistantMessageContentLength, tokenCountWithEstimation, init_tokens, DEFAULT_SESSION_MEMORY_CONFIG, setLastSummarizedMessageId, markExtractionStarted, markExtractionCompleted, getSessionMemoryContent, setSessionMemoryConfig, getSessionMemoryConfig, recordExtractionTokenCount, isSessionMemoryInitialized, markSessionMemoryInitialized, hasMetInitializationThreshold, hasMetUpdateThreshold, getToolCallsBetweenUpdates, init_sessionMemoryUtils, uniqBy_default, init_uniqBy, inputSchema21 as inputSchema, outputSchema18 as outputSchema, clearToolSearchDescriptionCache, ToolSearchTool, init_ToolSearchTool, getSSLErrorHint, formatAPIError, init_errorUtils, init_withRetry, maybeResizeAndDownsampleImageBlock, detectImageFormatFromBase64, createImageMetadataText, init_imageResizer, asSystemPrompt, init_systemPromptType, subscribeToCommandQueue, getCommandQueueSnapshot, getCommandQueue, getCommandQueueLength, hasCommandsInQueue, enqueue, enqueuePendingNotification, dequeue, peek, dequeueAllMatching, removeByFilter, clearCommandQueue, isQueuedCommandEditable, isQueuedCommandVisible, popAllEditable, getCommandsByMaxPriority, init_messageQueueManager, setCommandLifecycleListener, notifyCommandLifecycle, init_commandLifecycle, headlessProfilerStartTurn, headlessProfilerCheckpoint, logHeadlessProfilerTurn, init_headlessProfiler, SLEEP_TOOL_NAME, init_prompt13 as init_prompt7, registerPostSamplingHook, init_postSamplingHooks, clearAllDumpState, getDumpPromptsPath, init_dumpPrompts, createAbortController, init_abortController, getCliHighlightPromise, getLanguageName, init_cliHighlight, logPermissionDecision, init_permissionLogging, tryParseShellCommand, quote, init_shellQuote, PROMPT_PREFIX, createPromptRuleContent, isClassifierPermissionsEnabled, getBashPromptAllowDescriptions, generateGenericDescription, init_bashClassifier, shouldShowAlwaysAllowOptions, getPermissionRulesForSource, init_permissionsLoader, extractRules, hasRules, applyPermissionUpdate, applyPermissionUpdates, supportsPersistence, persistPermissionUpdate, persistPermissionUpdates, init_PermissionUpdate, permissionRuleExtractPrefix, init_shellRuleMatching, setupVscodeSdkMcp, init_vscodeSdkMcp, getRateLimitWarning, getUsingOverageText, currentLimits, getRawUtilization, statusListeners, checkQuotaStatus, init_claudeAiLimits, shouldEnablePromptSuggestion, abortPromptSuggestion, tryGenerateSuggestion, logSuggestionOutcome, logSuggestionSuppressed, init_promptSuggestion, IDLE_SPECULATION_STATE, getDefaultAppState, init_AppStateStore, toArray, fromArray, init_generators, isResultSuccessful, normalizeMessage, handleOrphanedPermission, extractReadFilesFromMessages, extractBashToolsFromMessages, init_queryHelpers, abortSpeculation, handleSpeculationAccept, init_speculation, enqueueSdkEvent, drainSdkEvents, emitTaskTerminatedSdk, init_sdkEventQueue, updateTaskState, evictTerminalTask, getRunningTasks, init_framework, escapeXml, escapeXmlAttr, init_xml2 as init_xml, SYNTHETIC_OUTPUT_TOOL_NAME, isSyntheticOutputToolEnabled, createSyntheticOutputTool, init_SyntheticOutputTool, asSessionId, asAgentId, init_ids, getQuerySourceForREPL, init_promptCategory, ENTER_PLAN_MODE_TOOL_NAME, init_constants13 as init_constants3, ASK_USER_QUESTION_TOOL_NAME, init_prompt9 as init_prompt8, TODO_WRITE_TOOL_NAME, init_constants8 as init_constants4, SKILL_TOOL_NAME, init_constants10 as init_constants5, cronToHuman, init_cron, getCronFilePath, readCronTasks, hasCronTasksSync, removeCronTasks, markCronTasksFired, DEFAULT_CRON_JITTER_CONFIG, jitteredNextCronRunMs, oneShotJitteredNextCronRunMs, findMissedTasks, init_cronTasks, DEFAULT_MAX_AGE_DAYS, isKairosCronEnabled, CRON_CREATE_TOOL_NAME, CRON_DELETE_TOOL_NAME, exports_prompt, init_prompt12 as init_prompt9, init_tools, TEAM_CREATE_TOOL_NAME, init_constants20 as init_constants6, isCoordinatorMode, init_coordinatorMode, isZ4Schema, safeParse2 as safeParse, getObjectShape, init_zod_compat, Protocol, mergeCapabilities, init_protocol, AjvJsonSchemaValidator, init_ajv_provider, assertToolsCallTaskCapability, assertClientRequestTaskCapability, init_helpers, mapValues_default, init_mapValues, getRemoteSessionUrl, init_product, DEFAULT_BINDINGS, init_defaultBindings, NON_REBINDABLE, TERMINAL_RESERVED, MACOS_RESERVED, normalizeKeyForComparison, init_reservedShortcuts, isKeybindingCustomizationEnabled, getKeybindingsPath, loadKeybindingsSyncWithWarnings, getCachedKeybindingWarnings, init_loadUserBindings, getShortcutDisplay, init_shortcutFormat, isNavigableMessage, toolCallOf, MessageActionsSelectedContext, InVirtualListContext, useMessageActions, MessageActionsBar, stripSystemReminders, init_messageActions, init_prompt14 as init_prompt10, ListMcpResourcesTool, init_ListMcpResourcesTool, ProgressBar, init_ProgressBar, _baseEach_default, init__baseEach, reject_default, init_reject, loadPluginMcpServers, getUnconfiguredChannels, init_mcpPluginIntegration, fetchClaudeAIMcpConfigsIfEligible, clearClaudeAIMcpConfigsCache, hasClaudeAiMcpEverConnected, init_claudeai, getMcpServerSignature, dedupClaudeAiMcpServers, filterMcpServersByPolicy, addMcpConfig, removeMcpConfig, getMcpConfigsByScope, getMcpConfigByName, getClaudeCodeMcpConfigs, getAllMcpConfigs, parseMcpConfig, parseMcpConfigFromFilePath, doesEnterpriseMcpConfigExist, areMcpConfigsAllowedWithEnterpriseMcpConfig, isMcpServerDisabled, setMcpServerEnabled, init_config3 as init_config, filterToolsByServer, commandBelongsToServer, filterMcpPromptsByServer, excludeToolsByServer, excludeCommandsByServer, excludeResourcesByServer, excludeStalePluginClients, isMcpTool, describeMcpConfigFilePath, getScopeLabel, ensureConfigScope, ensureTransport, parseHeaders, getProjectMcpServerStatus, extractAgentMcpServers, init_utils2 as init_utils, isXaaEnabled, getXaaIdpSettings, issuerKey, getCachedIdpIdToken, saveIdpIdTokenFromJwt, clearIdpIdToken, saveIdpClientSecret, getIdpClientSecret, clearIdpClientSecret, acquireIdpIdToken, init_xaaIdpLogin, AuthenticationCancelledError, revokeServerTokens, clearServerTokensFromLocalStorage, performMCPOAuthFlow, ClaudeAuthProvider, readClientSecret, saveMcpClientSecret, clearMcpClientConfig, getMcpClientConfig, init_auth5 as init_auth, TOOL_RESULTS_SUBDIR, processToolResultBlock, provisionContentReplacementState, reconstructContentReplacementState, init_toolResultStorage, ReadMcpResourceTool, init_ReadMcpResourceTool, _baseSlice_default, init__baseSlice, capitalize_default, init_capitalize, isJetBrainsPluginInstalledCachedSync, init_jetbrains, WindowsToWSLConverter, init_idePathConversion, IdeOnboardingDialog, init_IdeOnboardingDialog, isJetBrainsIde, isSupportedVSCodeTerminal, isSupportedJetBrainsTerminal, isSupportedTerminal, getTerminalIdeType, getSortedIdeLockfiles, detectIDEs, hasAccessToIDEExtensionDiffFeature, isCursorInstalled, isWindsurfInstalled, isVSCodeInstalled, detectRunningIDEs, detectRunningIDEsCached, getConnectedIdeName, toIDEDisplayName, getConnectedIdeClient, closeOpenDiffs, initializeIdeIntegration, init_ide, recursivelySanitizeUnicode, init_sanitization, registerElicitationHandler, runElicitationHooks, runElicitationResultHooks, init_elicitationHandler, getMcpServerConnectionBatchSize, connectToServer, clearServerCache, areMcpConfigsEqual, fetchToolsForClient, fetchResourcesForClient, fetchCommandsForClient, callIdeRpc, reconnectMcpServerImpl, getMcpToolsCommandsAndResources, prefetchAllMcpResources, setupSdkMcpClients, init_client5 as init_client, isLocalShellTask, init_guards, getHookDisplayText, getAllHooks, hookSourceDescriptionDisplayString, hookSourceHeaderDisplayString, hookSourceInlineDisplayString, sortMatchersByPriority, init_hooksSettings, addSessionHook, addFunctionHook, removeSessionHook, init_sessionHooks, getDefaultSubagentModel, getAgentModelDisplay, getAgentModelOptions, init_agent, validateUuid2 as validateUuid, createAgentId, init_uuid, filterToolsForAgent, resolveAgentTools, init_agentToolUtils, useSettings, init_useSettings, applyMarkdown, init_markdown, Markdown, StreamingMarkdown, init_Markdown, isAdvisorBlock, isAdvisorEnabled, canUserConfigureAdvisor, modelSupportsAdvisor, isValidAdvisorModel, getInitialAdvisorSetting, init_advisor, checkOpus1mAccess, checkSonnet1mAccess, init_check1mAccess, getUpgradeMessage, init_contextWindowUpgradeCheck, setupGracefulShutdown, gracefulShutdownSync, isShuttingDown, gracefulShutdown, init_gracefulShutdown, getGroveSettings, markGroveNoticeViewed, updateGroveSettings, isQualifiedForGrove, getGroveNoticeConfig, calculateShouldShowGrove, checkGroveForNonInteractive, init_grove, initializePolicyLimitsLoadingPromise, isPolicyLimitsEligible, waitForPolicyLimitsToLoad, isPolicyAllowed, loadPolicyLimits, refreshPolicyLimits, init_policyLimits, isRemoteManagedSettingsEligible, init_syncCache, initializeRemoteManagedSettingsLoadingPromise, isEligibleForRemoteManagedSettings, waitForRemoteManagedSettingsToLoad, loadRemoteManagedSettings, refreshRemoteManagedSettings, init_remoteManagedSettings, performLogout, clearAuthRelatedCaches, call, init_logout, OAuthService, init_oauth2 as init_oauth, installOrUpdateClaudePackage, localInstallationExists, getShellType, init_localInstaller, assertMinVersion, getMaxVersion, getMaxVersionMessage, shouldSkipVersion, getLatestVersion, getNpmDistTags, getLatestVersionFromGcs, getGcsDistTags, installGlobalPackage, init_autoUpdater, getPackageManager, init_packageManagers, getCurrentInstallationType, getDoctorDiagnostic, init_doctorDiagnostic, getXDGStateHome, init_xdg, isPidBasedLockingEnabled, getAllLockInfo, cleanupStaleLocks, init_pidLock, checkInstall, installLatest, lockCurrentVersion, cleanupOldVersions, removeInstalledSymlink, cleanupShellAliases, cleanupNpmInstallations, init_nativeInstaller, getSettingsWithAllErrors, init_allErrors, buildSandboxProperties, buildIDEProperties, buildMcpProperties, buildMemoryDiagnostics, buildSettingSourcesProperties, buildInstallationDiagnostics, buildInstallationHealthDiagnostics, buildAccountProperties, buildAPIProviderProperties, getModelDisplayLabel, init_status, installOAuthTokens, authLogin, authStatus, authLogout, init_auth4 as init_auth1, sendNotification, init_notifier, PASTE_THRESHOLD, getImageFromClipboard, init_imagePaste, cacheImagePath, storeImage, storeImages, clearStoredImagePaths, cleanupOldImageCaches, init_imageStore, ListItem, init_ListItem, useRegisterOverlay, useIsOverlayActive, useIsModalOverlayActive, init_overlayContext, Select, init_select, buildBridgeConnectUrl, getBridgeStatus, buildIdleFooterText, buildActiveFooterText, FAILED_FOOTER_TEXT, init_bridgeStatusUtil, sample_default, init_sample, activityManager, init_activityManager, isInProcessTeammateTask, init_types5 as init_types1, TaskListV2, init_TaskListV2, useTasksV2, useTasksV2WithCollapseEffect, init_useTasksV2, toRGBColor, hueToRgb, init_utils3 as init_utils1, ShimmerChar, init_ShimmerChar, SpinnerGlyph, init_SpinnerGlyph, useShimmerAnimation, init_useShimmerAnimation, toInkColor, init_ink2 as init_ink, isBackgroundTask, init_types8 as init_types2, McpServerConfigForProcessTransportSchema, McpServerStatusSchema, PermissionUpdateSchema, PermissionModeSchema, HookEventSchema, HookInputSchema, SlashCommandSchema, AgentInfoSchema, ModelInfoSchema, AccountInfoSchema, AgentDefinitionSchema, SDKUserMessageSchema, SDKStreamlinedTextMessageSchema, SDKStreamlinedToolUseSummaryMessageSchema, SDKPostTurnSummaryMessageSchema, SDKMessageSchema, FastModeStateSchema, init_coreSchemas, readUnreadMessages, writeToMailbox, markMessagesAsRead, createIdleNotification, isPermissionRequest, isPermissionResponse, isSandboxPermissionRequest, isSandboxPermissionResponse, sendShutdownRequestToMailbox, isShutdownRequest, isPlanApprovalRequest, isShutdownApproved, isPlanApprovalResponse, isTeamPermissionUpdate, createModeSetRequestMessage, isModeSetRequest, getLastPeerDmSummary, init_teammateMailbox, permissionUpdateSchema, init_PermissionUpdateSchema, createPermissionRequest, isSwarmWorker, sendPermissionRequestViaMailbox, sendPermissionResponseViaMailbox, generateSandboxRequestId, sendSandboxPermissionRequestViaMailbox, sendSandboxPermissionResponseViaMailbox, init_permissionSync, registerPermissionCallback, hasPermissionCallback, clearAllPendingCallbacks, processMailboxPermissionResponse, registerSandboxPermissionCallback, hasSandboxPermissionCallback, processSandboxPermissionResponse, init_useSwarmPermissionPoller, registerLeaderToolUseConfirmQueue, getLeaderToolUseConfirmQueue, unregisterLeaderToolUseConfirmQueue, registerLeaderSetToolPermissionContext, unregisterLeaderSetToolPermissionContext, init_leaderPermissionBridge, exports_teammatePromptAddendum, init_teammatePromptAddendum, ensureBackendsRegistered, registerTmuxBackend, registerITermBackend, detectAndGetBackend, getBackendByType, getCachedBackend, getCachedDetectionResult, markInProcessFallback, isInProcessEnabled, getResolvedTeammateMode, getInProcessBackend, getTeammateExecutor, resetBackendDetection, init_registry, InProcessTeammateTask, injectUserMessageToTeammate, findTeammateTaskByAgentId, getAllInProcessTeammateTasks, getRunningTeammatesSorted, exports_InProcessTeammateTask, init_InProcessTeammateTask, getViewedTeammateTask, getActiveAgentForInput, init_selectors, useElapsedTime, init_useElapsedTime, SpinnerWithVerb, BriefIdleStatus, Spinner, init_Spinner2 as init_Spinner, ConsoleOAuthFlow, init_ConsoleOAuthFlow, extraUsage, init_extra_usage, useClaudeAiLimits, init_claudeAiLimitsHook, AssistantThinkingMessage, init_AssistantThinkingMessage, clearClassifierChecking, init_classifierApprovals, SentryErrorBoundary, init_SentryErrorBoundary, UserBashInputMessage, init_UserBashInputMessage, UserPlanMessage, init_UserPlanMessage, QueuedMessageProvider, init_QueuedMessageContext, UserTextMessage, init_UserTextMessage, diagnosticTracker, init_diagnosticTracking, FilePathLink, init_FilePathLink, PrBadge, init_PrBadge, getPillLabel, pillNeedsCta, init_pillLabel, OffscreenFreeze, init_OffscreenFreeze, hasThinkingContent, Message, init_Message, renderToolUseProgressMessage4 as renderToolUseProgressMessage, init_UI11 as init_UI, recordSkillUsage, getSkillUsageScore, init_skillUsageTracking, buildPluginTelemetryFields, buildPluginCommandTelemetryFields, logPluginsEnabledForSession, classifyPluginCommandError, logPluginLoadErrors, init_pluginTelemetry, runAgent, init_runAgent, TodoListSchema, init_types6 as init_types3, TodoWriteTool, init_TodoWriteTool, fetchEnvironments, init_environments, SelectMulti, init_SelectMulti, init_CustomSelect, TeleportError, init_TeleportError, KeybindingSetup, init_KeybindingProviderSetup, clearAllSessions, init_sessionIngress, fileHistoryEnabled, fileHistoryMakeSnapshot, fileHistoryRewind, fileHistoryCanRestore, fileHistoryGetDiffStats, fileHistoryHasAnyChanges, fileHistoryRestoreStateFromLog, copyFileHistoryForResume, init_fileHistory, init_outputsScanner, generateShortWordSlug, init_words, getPlanSlug, setPlanSlug, clearAllPlanSlugs, getPlansDirectory, getPlanFilePath, getPlan, copyPlanForResume, copyPlanForFork, init_plans, captureHooksConfigSnapshot, updateHooksConfigSnapshot, init_hooksConfigSnapshot, setEnvHookNotifier, initializeFileChangedWatcher, init_fileChangedWatcher, loadPluginHooks, clearPluginHookCache, pruneRemovedPluginHooks, resetHotReloadState, getPluginAffectingSettingsSnapshot, setupPluginHookHotReload, init_loadPluginHooks, takeInitialUserMessage, processSessionStartHooks, processSetupHooks, init_sessionStart, deserializeMessages, loadConversationForResume, init_conversationRecovery, downloadSessionFiles, parseFileSpecs, init_filesApi, generateTempFilePath, init_tempfile, validateGitState, processMessagesForTeleportResume, checkOutTeleportedSessionBranch, validateSessionRepository, teleportResumeCodeSession, teleportToRemoteWithErrorHandling, teleportFromSessionsAPI, pollRemoteSessionEvents, teleportToRemote, archiveRemoteSession, init_teleport, checkRemoteAgentEligibility, formatPreconditionError, registerRemoteAgentTask, restoreRemoteAgentTasks, RemoteAgentTask, getRemoteTaskSessionUrl, init_RemoteAgentTask, SkillTool, init_SkillTool, resetAllLSPDiagnosticState, init_LSPDiagnosticRegistry, loadPluginLspServers, init_lspPluginIntegration, getLspServerManager, getInitializationStatus, initializeLspServerManager, reinitializeLspServerManager, shutdownLspServerManager, init_manager, parseArguments, generateProgressiveArgumentHint, init_argumentSubstitution, clearPendingHint, markShownThisSession, subscribeToPendingHint, getPendingHintSnapshot, init_claudeCodeHints, isPluginBlockedByPolicy, init_pluginPolicy, resolvePluginHint, markHintPluginShown, disableHintRecommendations, init_hintRecommendation, CircularBuffer, init_CircularBuffer, validateBoundedIntEnvVar, init_envValidation, BASH_MAX_OUTPUT_UPPER_LIMIT, BASH_MAX_OUTPUT_DEFAULT, init_outputLimits, clearSessionEnvVars, init_sessionEnvVars, exec, setCwd, init_Shell, ShellProgressMessage, init_ShellProgressMessage, parseSedEditCommand, applySedSubstitution, init_sedEditParser, parsePowerShellCommandCached, getAllCommands2 as getAllCommands, init_parser3 as init_parser, isAllowlistedCommand, init_readOnlyValidation, NEVER_SUGGEST, init_dangerousCmdlets, PowerShellTool, exports_PowerShellTool, init_PowerShellTool, getSkillsPath, estimateSkillFrontmatterTokens, clearSkillCaches, onDynamicSkillsLoaded, clearDynamicSkills, init_loadSkillsDir, getStoredSessionCosts, restoreCostStateForSession, saveCurrentSessionCosts, formatCost, formatTotalCost, init_cost_tracker, CONTEXT_LINES, adjustHunkLineNumbers, getPatchFromContents, getPatchForDisplay, init_diff, fetchGitDiff, fetchGitDiffHunks, init_gitDiff, getColorModuleUnavailableReason, getSyntaxTheme2 as getSyntaxTheme, init_colorDiff, HighlightedCode, init_HighlightedCode, StructuredDiff, init_StructuredDiff, StructuredDiffList, init_StructuredDiffList, CHUNK_SIZE, openForScan, scanForContext, readCapped, init_readEditContext, findActualString, preserveQuoteStyle, getPatchForEdits, getEditsForPatch, init_utils as init_utils2, FileEditTool, init_FileEditTool, FileWriteTool, init_FileWriteTool, getGlobExclusionsForPluginCache, clearPluginCacheExclusions, init_orphanedPluginFilter, GrepTool, init_GrepTool, GlobTool, init_GlobTool, parseCellId, init_notebook, NotebookEditTool, init_NotebookEditTool, clearWebFetchCache, MAX_MARKDOWN_LENGTH, isPreapprovedUrl, validateURL, checkDomainBlocklist, isPermittedRedirect, getWithPermittedRedirects, getURLMarkdownContent, applyPromptToMarkdown, init_utils7 as init_utils3, WebFetchTool, init_WebFetchTool, readLastConsolidatedAt, init_consolidationLock, DreamTask, init_DreamTask, stopTask, init_stopTask, TaskStopTool, init_TaskStopTool, exports_BriefTool, init_BriefTool, TASK_MAX_OUTPUT_UPPER_LIMIT, TASK_MAX_OUTPUT_DEFAULT, init_outputFormatting, TaskOutputTool, init_TaskOutputTool, WebSearchTool, init_WebSearchTool, findInProcessTeammateTaskId, handlePlanApprovalResponse, init_inProcessTeammateHelpers, ExitPlanModeV2Tool, init_ExitPlanModeV2Tool, AskUserQuestionTool, init_AskUserQuestionTool, init_prompt23 as init_prompt11, isPlanModeInterviewPhaseEnabled, getPewterLedgerVariant, init_planModeV2, EnterPlanModeTool, init_EnterPlanModeTool, getModelOptions, init_modelOptions, init_voiceModeEnabled, validateModel, init_validateModel, registerSession, updateSessionName, updateSessionBridgeId, countConcurrentSessions, init_concurrentSessions, init_replBridgeHandle, startBackgroundSession, init_LocalMainSessionTask, buildEffectiveSystemPrompt, init_systemPrompt, resumeAgentBackground, init_resumeAgent, getAllBaseTools, filterToolsByDenyRules, getTools, assembleToolPool, init_tools2 as init_tools1, getHardcodedTeammateModelFallback, init_teammateModel, isAutoManagedMemoryFile, init_memoryFileDetection, getToolSearchOrReadInfo, getToolUseIdsFromCollapsedGroup, hasAnyToolInProgress, getDisplayMessageFromCollapsed, collapseReadSearchGroups, summarizeRecentActivities, init_collapseReadSearch, isLocalAgentTask, isPanelAgentTask, queuePendingMessage, appendMessageToLocalAgent, LocalAgentTask, killAllRunningAgentTasks, markAgentsNotified, init_LocalAgentTask, BACKGROUND_BASH_SUMMARY_PREFIX, LocalShellTask, hasForegroundTasks, backgroundAll, init_LocalShellTask, isMemoryFileAccess, registerSessionFileAccessHooks, init_sessionFileAccessHooks, BashTool, init_BashTool, getSimpleCommandPrefix, getFirstWordPrefix, clearSpeculativeChecks, init_bashPermissions, Stream, init_stream2 as init_stream, getErrorParts, init_toolErrors, startQueryProfile, queryCheckpoint, logQueryProfileReport, init_queryProfiler, isAutoDreamEnabled, init_config5 as init_config1, init_readFileInRange, initAutoDream, init_autoDream, init_tokenBudget, query, init_query, init_logging, getLastCacheSafeParams, createCacheSafeParams, prepareForkedCommandContext, extractResultText, createSubagentContext, runForkedAgent, init_forkedAgent, logPermissionContextForAnts, init_internalLogging, ERROR_MESSAGE_NOT_ENOUGH_MESSAGES, ERROR_MESSAGE_USER_ABORT, ERROR_MESSAGE_INCOMPLETE_RESPONSE, buildPostCompactMessages, mergeHookInstructions, compactConversation, partialCompactConversation, init_compact, runPostCompactCleanup, init_postCompactCleanup, loadSessionMemoryTemplate, buildSessionMemoryUpdatePrompt, init_prompts3 as init_prompts, shouldUseSessionMemoryCompaction, trySessionMemoryCompaction, init_sessionMemoryCompact, getEffectiveContextWindowSize, calculateTokenWarningState, isAutoCompactEnabled, init_autoCompact, countMcpToolTokens, analyzeContextUsage, init_analyzeContext, zodToJsonSchema3 as zodToJsonSchema, init_zodToJsonSchema2 as init_zodToJsonSchema, getAutoToolSearchCharThreshold, getToolSearchMode, modelSupportsToolReference, isToolSearchEnabledOptimistic, isToolSearchToolAvailable, isToolSearchEnabled, isToolReferenceBlock, extractDiscoveredToolNames, isDeferredToolsDeltaEnabled, getDeferredToolsDelta, init_toolSearch, roughTokenCountEstimation, init_tokenEstimation, registerFileReadListener, FileReadTool, init_FileReadTool, isValidImagePaste, init_textInputTypes, registerHookEventHandler, setAllHookEventsEnabled, init_hookEvents, finalizePendingAsyncHooks, init_AsyncHookRegistry, isHumanTurn, init_messagePredicates, getQueuedCommandAttachments, resetSentSkillNames, getAttachmentMessages, createAttachmentMessage, init_attachments2 as init_attachments, getPluginCommands, init_loadPluginCommands, isPluginZipCacheEnabled, getPluginZipCachePath, getZipCacheKnownMarketplacesPath, getZipCacheMarketplacesDir, getZipCachePluginsDir, cleanupSessionPluginCache, atomicWriteToZipCache, getMarketplaceJsonRelativePath, isMarketplaceSourceSupportedByZipCache, init_zipCache, clearAllCaches, markPluginVersionOrphaned, cleanupOrphanedPluginVersionsInBackground, init_cacheUtils, formatFailureDetails, getMarketplaceSourceDisplay, createPluginId, loadMarketplacesWithGracefulDegradation, formatMarketplaceLoadingErrors, getPluginTrustMessage, isSourceAllowedByPolicy, detectEmptyMarketplaceReason, init_marketplaceHelpers, fetchOfficialMarketplaceFromGcs, init_officialMarketplaceGcs, getMarketplacesCacheDir, clearMarketplacesCache, getDeclaredMarketplaces, saveMarketplaceToSettings, loadKnownMarketplacesConfig, loadKnownMarketplacesConfigSafe, saveKnownMarketplacesConfig, registerSeedMarketplaces, addMarketplaceSource, removeMarketplaceSource, getMarketplace, getPluginById, refreshAllMarketplaces, refreshMarketplace, setMarketplaceAutoUpdate, init_marketplaceManager, loadInstalledPluginsV2, removePluginInstallation, getInMemoryInstalledPlugins, loadInstalledPluginsFromDisk, updateInstallationPathOnDisk, initializeVersionedPlugins, isInstallationRelevantToCurrentProject, isPluginInstalled, isPluginGloballyInstalled, migrateFromEnabledPlugins, init_installedPluginsManager, getManagedPluginNames, init_managedPlugins, calculatePluginVersion, init_pluginVersioning, cacheAndRegisterPlugin, registerPluginInstallation, formatResolutionError, installResolvedPlugin, installPluginFromMarketplace, init_pluginInstallationHelpers, getVersionedCachePath, getVersionedZipCachePath, copyPluginToVersionedCache, cachePlugin, loadPluginManifest, loadAllPlugins, loadAllPluginsCacheOnly, clearPluginCache, init_pluginLoader, DEFAULT_OUTPUT_STYLE_NAME, OUTPUT_STYLE_CONFIG, getAllOutputStyles, init_outputStyles, withMemoryCorrectionHint, INTERRUPT_MESSAGE, INTERRUPT_MESSAGE_FOR_TOOL_USE, REJECT_MESSAGE, REJECT_MESSAGE_WITH_REASON_PREFIX, SUBAGENT_REJECT_MESSAGE, SUBAGENT_REJECT_MESSAGE_WITH_REASON_PREFIX, SYNTHETIC_MODEL, SYNTHETIC_MESSAGES, isSyntheticMessage, getLastAssistantMessage, hasToolCallsInLastAssistantTurn, createAssistantMessage, createUserMessage, prepareUserContent, createUserInterruptionMessage, createSyntheticUserCaveatMessage, formatCommandInputTags, createModelSwitchBreadcrumbs, extractTag, isNotEmptyMessage, deriveUUID, normalizeMessages, isToolUseResultMessage, reorderMessagesInUI, buildMessageLookups, EMPTY_LOOKUPS, EMPTY_STRING_SET, getSiblingToolUseIDsFromLookup, getProgressMessagesFromLookup, hasUnresolvedHooksFromLookup, getToolUseIDs, isSystemLocalCommandMessage, normalizeMessagesForAPI, isEmptyMessageText, stripPromptXMLTags, getToolUseID, getUserMessageText, textForResubmit, extractTextContent, getContentText, handleMessageFromStream, createSystemMessage, createPermissionRetryMessage, createScheduledTaskFireMessage, createTurnDurationMessage, createAgentsKilledMessage, createApiMetricsMessage, createCommandInputMessage, isCompactBoundaryMessage, getMessagesAfterCompactBoundary, shouldShowUserMessage, countToolCalls, stripSignatureBlocks, init_messages2 as init_messages1, startsWithApiErrorPrefix, categorizeRetryableAPIError, init_errors3 as init_errors, splitCommand_DEPRECATED, clearCommandPrefixCaches, extractOutputRedirections, init_commands, shouldUseSandbox, init_shouldUseSandbox, permissionRuleSourceDisplayString, getAllowRules, getDenyRules, getAskRules, hasPermissionsToUseTool, deletePermissionRule, init_permissions2 as init_permissions, removeDangerousPermissions, transitionPermissionMode, initialPermissionModeFromCLI, parseToolListFromCLI, initializeToolPermissionContext, getAutoModeUnavailableNotification, shouldDisableBypassPermissions, getAutoModeUnavailableReason, isBypassPermissionsModeDisabled, createDisabledBypassPermissionsContext, checkAndDisableBypassPermissions, prepareContextForPlanMode, transitionPlanAutoMode, init_permissionSetup, applySettingsChange, init_applySettingsChange, AppStateProvider, useAppState, useSetAppState, useAppStateStore, init_AppState, useNotifications, init_notifications, useClipboardImageHint, init_useClipboardImageHint, prependModeCharacterToInput, getModeFromInput, getValueFromInput, init_inputModes, cleanupOldPastes, init_pasteStore, getPastedTextRefNumLines, formatPastedTextRef, formatImageRef, parseReferences, expandPastedTextRefs, makeHistoryReader, getHistory, addToHistory, removeLastFromHistory, init_history, pushToKillRing, getLastKill, resetKillAccumulation, recordYank, yankPop, updateYankLength, resetYankState, isVimWordChar, isVimWhitespace, isVimPunctuation, Cursor, init_Cursor, useTextInput, init_useTextInput, BaseTextInput, init_BaseTextInput, TextInput, init_TextInput, getWorktreePaths, init_getWorktreePaths, isUltrareviewEnabled, init_ultrareviewEnabled, review_default, init_review, REMOTE_CONTROL_DISCONNECTED_MSG, init_types12 as init_types4, validateBridgeId, BridgeFatalError, createBridgeApiClient, isExpiredErrorType, isSuppressible403, init_bridgeApi, registerBridgeDebugHandle, clearBridgeDebugHandle, injectBridgeFault, wrapApiForFaultInjection, init_bridgeDebug, registerBundledSkill, init_bundledSkills, exit_default, init_exit, upgrade_default, init_upgrade, getCommandName, isCommandEnabled, builtInCommandNames, getCommands, clearCommandMemoizationCaches, clearCommandsCache, getSkillToolCommands, getSlashCommandToolSkills, REMOTE_SAFE_COMMANDS, isBridgeSafeCommand, filterCommandsForRemoteMode, findCommand, hasCommand, getCommand, formatDescriptionWithSource, init_commands2 as init_commands1, isTranscriptMessage, isChainParticipant, isEphemeralToolProgress, getProjectsDir2 as getProjectsDir, getTranscriptPath, getTranscriptPathForSession, MAX_TRANSCRIPT_READ_BYTES, setAgentTranscriptSubdir, clearAgentTranscriptSubdir, getAgentTranscriptPath, writeAgentMetadata, readAgentMetadata, writeRemoteAgentMetadata, readRemoteAgentMetadata, deleteRemoteAgentMetadata, listRemoteAgentMetadata, sessionIdExists, getNodeEnv, getUserType, isCustomTitleEnabled, getProjectDir, resetProjectFlushStateForTesting, resetProjectForTesting, setSessionFileForTesting, setInternalEventWriter, setInternalEventReader, setRemoteIngressUrlForTesting, recordTranscript, recordSidechainTranscript, recordQueueOperation, removeTranscriptMessage, recordFileHistorySnapshot, recordAttributionSnapshot, recordContentReplacement, resetSessionFilePointer, adoptResumedSessionFile, recordContextCollapseCommit, recordContextCollapseSnapshot, flushSessionStorage, hydrateRemoteSession, hydrateFromCCRv2InternalEvents, getFirstMeaningfulUserMessageTextContent, removeExtraFields, buildConversationChain, checkResumeConsistency, loadTranscriptFromFile, fetchLogs, saveCustomTitle, saveAiGeneratedTitle, saveTaskSummary, saveTag, linkSessionToPR, getCurrentSessionTag, getCurrentSessionTitle, getCurrentSessionAgentColor, restoreSessionMetadata, clearSessionMetadata, reAppendSessionMetadata, saveAgentName, saveAgentColor, saveAgentSetting, cacheSessionTitle, saveMode, saveWorktreeState, getSessionIdFromLog, isLiteLog, loadFullLog, searchSessionsByCustomTitle, loadTranscriptFile, clearSessionMessagesCache, doesMessageExistInSession, getLastSessionLog, loadMessageLogs, loadAllProjectsMessageLogs, loadAllProjectsMessageLogsProgressive, loadSameRepoMessageLogs, loadSameRepoMessageLogsProgressive, getAgentTranscript, extractAgentIdsFromMessages, extractTeammateTranscriptsFromTasks, loadSubagentTranscripts, loadAllSubagentTranscriptsFromDisk, isLoggableMessage, cleanMessagesForLogging, getLogByIndex, findUnresolvedToolUse, getSessionFilesWithMtime, loadAllLogsFromSessionFile, getSessionFilesLite, enrichLogs, exports_sessionStorage, init_sessionStorage, loadMemoryPrompt, init_memdir, getAgentMemoryDir, getMemoryScopeDisplay, loadAgentMemoryPrompt, init_agentMemory, normalizeCaseForComparison2 as normalizeCaseForComparison, getSessionMemoryDir, getSessionMemoryPath, isScratchpadEnabled, getScratchpadDir, ensureScratchpadDir, pathInAllowedWorkingPath, generateSuggestions, init_filesystem, getTaskOutputPath, evictTaskOutput, initTaskOutputAsSymlink, init_diskOutput, isTerminalTaskStatus, init_Task, hookJSONOutputSchema, init_hooks2 as init_hooks, createCombinedAbortSignal, init_combinedAbortSignal, registerStructuredOutputEnforcement, init_hookHelpers, getSessionEndHookTimeoutMs, shouldSkipHookDueToTrust, createBaseHookInput, getMatchingHooks, getPreToolHookBlockingMessage, getStopHookMessage, getTeammateIdleHookMessage, getTaskCreatedHookMessage, getTaskCompletedHookMessage, getUserPromptSubmitHookBlockingMessage, hasBlockingResult, executePreToolHooks, executePostToolHooks, executePostToolUseFailureHooks, executePermissionDeniedHooks2 as executePermissionDeniedHooks, executeNotificationHooks, executeStopFailureHooks, executeStopHooks, executeTeammateIdleHooks, executeTaskCreatedHooks, executeTaskCompletedHooks, executeUserPromptSubmitHooks, executeSessionStartHooks, executeSetupHooks, executeSubagentStartHooks, executePreCompactHooks, executePostCompactHooks, executeSessionEndHooks, executePermissionRequestHooks, executeConfigChangeHooks, executeCwdChangedHooks, executeFileChangedHooks, hasInstructionsLoadedHook, executeInstructionsLoadedHooks, executeElicitationHooks, executeElicitationResultHooks, executeStatusLineCommand, executeFileSuggestionCommand, hasWorktreeCreateHook, executeWorktreeCreateHook, executeWorktreeRemoveHook, init_hooks3 as init_hooks1, validateWorktreeSlug, getCurrentWorktreeSession, restoreWorktreeSession, generateTmuxSessionName, worktreeBranchName, copyWorktreeIncludeFiles, parsePRReference, isTmuxAvailable2 as isTmuxAvailable, getTmuxInstallInstructions, createTmuxSessionForWorktree, killTmuxSession, createWorktreeForSession, keepWorktree, cleanupWorktree, createAgentWorktree, removeAgentWorktree, cleanupStaleAgentWorktrees, hasWorktreeChanges, execIntoTmuxWorktree, init_worktree, getSystemPrompt, init_prompts as init_prompts1, prependUserContext, logContextMetrics, init_api2 as init_api, verifyApiKey, queryModelWithoutStreaming, updateUsage, accumulateUsage, queryHaiku, queryWithModel, init_claude, sideQuery, init_sideQuery };
|