@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,13 +9,10 @@ import {
|
|
|
9
9
|
initializeTeammateContextFromSession,
|
|
10
10
|
recordTipShown,
|
|
11
11
|
shouldShowDesktopUpsellStartup
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-xnx436dc.js";
|
|
13
13
|
import {
|
|
14
14
|
useManagePlugins
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import {
|
|
17
|
-
BoundedUUIDSet
|
|
18
|
-
} from "./chunk-bnrxrbaj.js";
|
|
15
|
+
} from "./chunk-t8zevpsj.js";
|
|
19
16
|
import {
|
|
20
17
|
MessageSelector,
|
|
21
18
|
createCronScheduler,
|
|
@@ -29,7 +26,7 @@ import {
|
|
|
29
26
|
processUserInput,
|
|
30
27
|
reconcileMarketplaces,
|
|
31
28
|
selectableUserMessagesFilter
|
|
32
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-0xh07eks.js";
|
|
33
30
|
import {
|
|
34
31
|
computeStandaloneAgentContext,
|
|
35
32
|
exitRestoredWorktree,
|
|
@@ -37,60 +34,69 @@ import {
|
|
|
37
34
|
restoreSessionStateFromLog,
|
|
38
35
|
restoreWorktreeForResume,
|
|
39
36
|
skillChangeDetector
|
|
40
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-xcgftxc7.js";
|
|
41
38
|
import {
|
|
42
39
|
applySkillImprovement,
|
|
43
40
|
startBackgroundHousekeeping
|
|
44
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-rjhfe015.js";
|
|
42
|
+
import {
|
|
43
|
+
BoundedUUIDSet
|
|
44
|
+
} from "./chunk-mrr21rkt.js";
|
|
45
45
|
import {
|
|
46
46
|
PermissionDialog,
|
|
47
47
|
PermissionRequestTitle
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-hxrn7ztb.js";
|
|
49
49
|
import {
|
|
50
50
|
useFpsMetrics
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-dwxam9y3.js";
|
|
52
|
+
import {
|
|
53
|
+
init_sprites,
|
|
54
|
+
renderFace,
|
|
55
|
+
renderSprite,
|
|
56
|
+
spriteFrameCount
|
|
57
|
+
} from "./chunk-n79b3bb7.js";
|
|
58
|
+
import {
|
|
59
|
+
init_exportRenderer,
|
|
60
|
+
renderMessagesToPlainText
|
|
61
|
+
} from "./chunk-8nggptap.js";
|
|
52
62
|
import {
|
|
53
63
|
init_refresh,
|
|
54
64
|
refreshActivePlugins
|
|
55
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-h9pstve3.js";
|
|
56
66
|
import {
|
|
57
67
|
init_setup,
|
|
58
68
|
isChromeExtensionInstalled,
|
|
59
69
|
shouldEnableClaudeInChrome
|
|
60
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-aryqrvya.js";
|
|
61
71
|
import {
|
|
62
72
|
ExitFlow,
|
|
63
73
|
init_ExitFlow
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import {
|
|
66
|
-
init_exportRenderer,
|
|
67
|
-
renderMessagesToPlainText
|
|
68
|
-
} from "./chunk-2rcdx4ke.js";
|
|
74
|
+
} from "./chunk-shcbpzqs.js";
|
|
69
75
|
import {
|
|
70
76
|
FastModePicker,
|
|
71
77
|
getFastIconString,
|
|
72
78
|
init_FastIcon,
|
|
73
79
|
init_fast
|
|
74
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-ag8363d8.js";
|
|
75
81
|
import {
|
|
76
82
|
init_useMergedTools,
|
|
77
83
|
useMergedTools
|
|
78
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-41d25scr.js";
|
|
79
85
|
import {
|
|
80
86
|
init_toolPool,
|
|
81
87
|
mergeAndFilterTools
|
|
82
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-eh5r34dp.js";
|
|
83
89
|
import {
|
|
84
90
|
init_autoModeDenials
|
|
85
91
|
} from "./chunk-0paqc2yw.js";
|
|
86
92
|
import {
|
|
87
93
|
generateSessionName,
|
|
88
94
|
init_generateSessionName
|
|
89
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-mnq190wh.js";
|
|
90
96
|
import {
|
|
91
97
|
generateSessionTitle,
|
|
92
98
|
init_sessionTitle
|
|
93
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-0tzbdaqp.js";
|
|
94
100
|
import {
|
|
95
101
|
FullscreenLayout,
|
|
96
102
|
Messages,
|
|
@@ -101,7 +107,7 @@ import {
|
|
|
101
107
|
useSetPromptOverlay,
|
|
102
108
|
useSetPromptOverlayDialog,
|
|
103
109
|
useUnseenDivider
|
|
104
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-6d4tx7ef.js";
|
|
105
111
|
import {
|
|
106
112
|
BackgroundTasksDialog,
|
|
107
113
|
enterTeammateView,
|
|
@@ -114,11 +120,11 @@ import {
|
|
|
114
120
|
launchUltraplan as launchUltraplan2,
|
|
115
121
|
shouldHideTasksFooter,
|
|
116
122
|
stopOrDismissAgent
|
|
117
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-20c54nd1.js";
|
|
118
124
|
import {
|
|
119
125
|
fromSDKCompactMetadata,
|
|
120
126
|
init_mappers
|
|
121
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-wxvrvehd.js";
|
|
122
128
|
import {
|
|
123
129
|
$toString,
|
|
124
130
|
init_server
|
|
@@ -129,23 +135,23 @@ import {
|
|
|
129
135
|
init_utils as init_utils3,
|
|
130
136
|
isNonSpacePrintable,
|
|
131
137
|
isVimModeEnabled
|
|
132
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-3nf69n58.js";
|
|
133
139
|
import {
|
|
134
140
|
MCPConnectionManager,
|
|
135
141
|
init_MCPConnectionManager,
|
|
136
142
|
init_channelPermissions
|
|
137
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-q8zc8h8z.js";
|
|
138
144
|
import {
|
|
139
145
|
init_channelNotification
|
|
140
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-wjbygeh1.js";
|
|
141
147
|
import {
|
|
142
148
|
init_pluginAutoupdate,
|
|
143
149
|
onPluginsAutoUpdated
|
|
144
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-f5592gzm.js";
|
|
145
151
|
import {
|
|
146
152
|
init_bridgeEnabled,
|
|
147
153
|
isBridgeEnabled
|
|
148
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-fsrhhcwg.js";
|
|
149
155
|
import {
|
|
150
156
|
ModelPicker,
|
|
151
157
|
effortLevelToSymbol,
|
|
@@ -154,20 +160,20 @@ import {
|
|
|
154
160
|
init_ModelPicker,
|
|
155
161
|
init_extraUsage,
|
|
156
162
|
isBilledAsExtraUsage
|
|
157
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-3x799rjw.js";
|
|
158
164
|
import {
|
|
159
165
|
init_SearchBox,
|
|
160
166
|
init_useSearchInput,
|
|
161
167
|
useSearchInput
|
|
162
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-h4w37hs4.js";
|
|
163
169
|
import {
|
|
164
170
|
init_useSettingsErrors,
|
|
165
171
|
useSettingsErrors
|
|
166
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-v5j8esjk.js";
|
|
167
173
|
import {
|
|
168
174
|
detectUnreachableRules,
|
|
169
175
|
init_shadowedRuleDetection
|
|
170
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-tt92a71t.js";
|
|
171
177
|
import {
|
|
172
178
|
editFileInEditor,
|
|
173
179
|
editPromptInEditor,
|
|
@@ -175,7 +181,7 @@ import {
|
|
|
175
181
|
init_editor,
|
|
176
182
|
init_promptEditor,
|
|
177
183
|
openFileInExternalEditor
|
|
178
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-vk0xk13n.js";
|
|
179
185
|
import {
|
|
180
186
|
applyFileSuggestion,
|
|
181
187
|
findLongestCommonPrefix,
|
|
@@ -183,10 +189,10 @@ import {
|
|
|
183
189
|
init_fileSuggestions,
|
|
184
190
|
onIndexBuildComplete,
|
|
185
191
|
startBackgroundCacheRefresh
|
|
186
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-nfzts0p9.js";
|
|
187
193
|
import {
|
|
188
194
|
init_LoadingState
|
|
189
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-jtbndvcb.js";
|
|
190
196
|
import {
|
|
191
197
|
getDirectoryCompletions,
|
|
192
198
|
getPathCompletions,
|
|
@@ -196,25 +202,25 @@ import {
|
|
|
196
202
|
import {
|
|
197
203
|
PromptInputFooterSuggestions,
|
|
198
204
|
init_PromptInputFooterSuggestions
|
|
199
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-acedxdha.js";
|
|
200
206
|
import {
|
|
201
207
|
findBtwTriggerPositions,
|
|
202
208
|
init_sideQuestion
|
|
203
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-gxff8w97.js";
|
|
204
210
|
import {
|
|
205
211
|
init_Feedback,
|
|
206
212
|
redactSensitiveInfo
|
|
207
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-w6bp1ymh.js";
|
|
208
214
|
import {
|
|
209
215
|
checkAndDisableBypassPermissionsIfNeeded,
|
|
210
216
|
init_bypassPermissionsKillswitch,
|
|
211
217
|
useKickOffCheckAndDisableAutoModeIfNeeded,
|
|
212
218
|
useKickOffCheckAndDisableBypassPermissionsIfNeeded
|
|
213
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-xmaq6yy5.js";
|
|
214
220
|
import {
|
|
215
221
|
init_useMainLoopModel,
|
|
216
222
|
useMainLoopModel
|
|
217
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-997p0r79.js";
|
|
218
224
|
import {
|
|
219
225
|
AGENT_COLORS,
|
|
220
226
|
AGENT_COLOR_TO_THEME_COLOR,
|
|
@@ -302,22 +308,16 @@ import {
|
|
|
302
308
|
asSessionId,
|
|
303
309
|
asSystemPrompt,
|
|
304
310
|
assembleToolPool,
|
|
305
|
-
axolotl,
|
|
306
311
|
backgroundAll,
|
|
307
|
-
blob,
|
|
308
312
|
buildActiveFooterText,
|
|
309
313
|
buildEffectiveSystemPrompt,
|
|
310
314
|
buildIdleFooterText,
|
|
311
315
|
cacheAndRegisterPlugin,
|
|
312
316
|
cacheImagePath,
|
|
313
|
-
cactus,
|
|
314
317
|
calculateTokenWarningState,
|
|
315
318
|
callIdeRpc,
|
|
316
|
-
capybara,
|
|
317
|
-
cat,
|
|
318
319
|
checkGitAvailable,
|
|
319
320
|
checkInstall,
|
|
320
|
-
chonk,
|
|
321
321
|
cleanMessagesForLogging,
|
|
322
322
|
clearClassifierChecking,
|
|
323
323
|
clearCommandMemoizationCaches,
|
|
@@ -356,8 +356,6 @@ import {
|
|
|
356
356
|
diagnosticTracker,
|
|
357
357
|
disableHintRecommendations,
|
|
358
358
|
doesMostRecentAssistantMessageExceed200k,
|
|
359
|
-
dragon,
|
|
360
|
-
duck,
|
|
361
359
|
emitTaskTerminatedSdk,
|
|
362
360
|
enqueue,
|
|
363
361
|
enqueuePendingNotification,
|
|
@@ -417,7 +415,6 @@ import {
|
|
|
417
415
|
getCommandQueueLength,
|
|
418
416
|
getCommandQueueSnapshot,
|
|
419
417
|
getCommands,
|
|
420
|
-
getCompanion,
|
|
421
418
|
getConnectedIdeClient,
|
|
422
419
|
getConnectedIdeName,
|
|
423
420
|
getContentText,
|
|
@@ -485,8 +482,6 @@ import {
|
|
|
485
482
|
getUsingOverageText,
|
|
486
483
|
getValueFromInput,
|
|
487
484
|
getViewedTeammateTask,
|
|
488
|
-
ghost,
|
|
489
|
-
goose,
|
|
490
485
|
gracefulShutdown,
|
|
491
486
|
gracefulShutdownSync,
|
|
492
487
|
handleMessageFromStream,
|
|
@@ -569,7 +564,6 @@ import {
|
|
|
569
564
|
init_commands1 as init_commands2,
|
|
570
565
|
init_compact,
|
|
571
566
|
init_compactWarningState,
|
|
572
|
-
init_companion,
|
|
573
567
|
init_concurrentSessions,
|
|
574
568
|
init_constants as init_constants3,
|
|
575
569
|
init_constants2 as init_constants4,
|
|
@@ -686,9 +680,8 @@ import {
|
|
|
686
680
|
init_toolName1 as init_toolName2,
|
|
687
681
|
init_toolResultStorage,
|
|
688
682
|
init_tools1 as init_tools,
|
|
689
|
-
init_types1 as
|
|
690
|
-
init_types2,
|
|
691
|
-
init_types3,
|
|
683
|
+
init_types1 as init_types2,
|
|
684
|
+
init_types2 as init_types3,
|
|
692
685
|
init_ultrareviewEnabled,
|
|
693
686
|
init_uniqBy,
|
|
694
687
|
init_useClipboardImageHint,
|
|
@@ -767,13 +760,10 @@ import {
|
|
|
767
760
|
markMessagesAsRead,
|
|
768
761
|
markShownThisSession,
|
|
769
762
|
maybeResizeAndDownsampleImageBlock,
|
|
770
|
-
mushroom,
|
|
771
763
|
normalizeCaseForComparison,
|
|
772
764
|
normalizeMessages,
|
|
773
765
|
normalizeMessagesForAPI,
|
|
774
|
-
octopus,
|
|
775
766
|
openForScan,
|
|
776
|
-
owl,
|
|
777
767
|
parseArguments,
|
|
778
768
|
parseCellId,
|
|
779
769
|
parsePowerShellCommandCached,
|
|
@@ -782,7 +772,6 @@ import {
|
|
|
782
772
|
partialCompactConversation,
|
|
783
773
|
pathInAllowedWorkingPath,
|
|
784
774
|
peek,
|
|
785
|
-
penguin,
|
|
786
775
|
permissionRuleExtractPrefix,
|
|
787
776
|
persistPermissionUpdate,
|
|
788
777
|
persistPermissionUpdates,
|
|
@@ -799,7 +788,6 @@ import {
|
|
|
799
788
|
queryHaiku,
|
|
800
789
|
queuePendingMessage,
|
|
801
790
|
quote,
|
|
802
|
-
rabbit,
|
|
803
791
|
readCapped,
|
|
804
792
|
readUnreadMessages,
|
|
805
793
|
reconstructContentReplacementState,
|
|
@@ -821,7 +809,6 @@ import {
|
|
|
821
809
|
restoreRemoteAgentTasks,
|
|
822
810
|
restoreSessionMetadata,
|
|
823
811
|
resumeAgentBackground,
|
|
824
|
-
robot,
|
|
825
812
|
runPostCompactCleanup,
|
|
826
813
|
saveAgentName,
|
|
827
814
|
saveCurrentSessionCosts,
|
|
@@ -844,7 +831,6 @@ import {
|
|
|
844
831
|
shouldUseSandbox,
|
|
845
832
|
shouldUseSessionMemoryCompaction,
|
|
846
833
|
sideQuery,
|
|
847
|
-
snail,
|
|
848
834
|
splitCommand_DEPRECATED,
|
|
849
835
|
startBackgroundSession,
|
|
850
836
|
startQueryProfile,
|
|
@@ -859,7 +845,6 @@ import {
|
|
|
859
845
|
tokenCountFromLastAPIResponse,
|
|
860
846
|
transitionPermissionMode,
|
|
861
847
|
tryParseShellCommand,
|
|
862
|
-
turtle,
|
|
863
848
|
uniqBy_default,
|
|
864
849
|
unregisterLeaderSetToolPermissionContext,
|
|
865
850
|
unregisterLeaderToolUseConfirmQueue,
|
|
@@ -883,7 +868,7 @@ import {
|
|
|
883
868
|
verifyApiKey,
|
|
884
869
|
withMemoryCorrectionHint,
|
|
885
870
|
writeToMailbox
|
|
886
|
-
} from "./chunk-
|
|
871
|
+
} from "./chunk-4jfr5hpa.js";
|
|
887
872
|
import {
|
|
888
873
|
Byline,
|
|
889
874
|
ConfigurableShortcutHint,
|
|
@@ -895,14 +880,14 @@ import {
|
|
|
895
880
|
init_KeyboardShortcutHint,
|
|
896
881
|
init_useShortcutDisplay,
|
|
897
882
|
useShortcutDisplay
|
|
898
|
-
} from "./chunk-
|
|
883
|
+
} from "./chunk-y51tvfpw.js";
|
|
899
884
|
import {
|
|
900
885
|
init_undercover,
|
|
901
886
|
isUndercover
|
|
902
|
-
} from "./chunk-
|
|
887
|
+
} from "./chunk-7zf1x2b3.js";
|
|
903
888
|
import {
|
|
904
889
|
init_commitAttribution
|
|
905
|
-
} from "./chunk-
|
|
890
|
+
} from "./chunk-8zvjbcem.js";
|
|
906
891
|
import {
|
|
907
892
|
DEFAULT_TASKS_MODE_TASK_LIST_ID,
|
|
908
893
|
claimTask,
|
|
@@ -922,7 +907,13 @@ import {
|
|
|
922
907
|
syncTeammateMode,
|
|
923
908
|
unassignTeammateTasks,
|
|
924
909
|
updateTask
|
|
925
|
-
} from "./chunk-
|
|
910
|
+
} from "./chunk-f07zgazy.js";
|
|
911
|
+
import {
|
|
912
|
+
RARITY_COLORS,
|
|
913
|
+
getCompanion,
|
|
914
|
+
init_companion,
|
|
915
|
+
init_types
|
|
916
|
+
} from "./chunk-74tba5ee.js";
|
|
926
917
|
import {
|
|
927
918
|
CLAUDE_IN_CHROME_MCP_SERVER_NAME,
|
|
928
919
|
init_common
|
|
@@ -932,7 +923,7 @@ import {
|
|
|
932
923
|
init_useExitOnCtrlCDWithKeybindings,
|
|
933
924
|
useDoublePress,
|
|
934
925
|
useExitOnCtrlCDWithKeybindings
|
|
935
|
-
} from "./chunk-
|
|
926
|
+
} from "./chunk-gjanctrq.js";
|
|
936
927
|
import {
|
|
937
928
|
READ_FILE_STATE_CACHE_SIZE,
|
|
938
929
|
createFileStateCacheWithSizeLimit,
|
|
@@ -944,7 +935,7 @@ import {
|
|
|
944
935
|
init_projectOnboardingState,
|
|
945
936
|
init_terminalSetup,
|
|
946
937
|
maybeMarkProjectOnboardingComplete
|
|
947
|
-
} from "./chunk-
|
|
938
|
+
} from "./chunk-83e9jh5s.js";
|
|
948
939
|
import {
|
|
949
940
|
Divider,
|
|
950
941
|
Pane,
|
|
@@ -958,7 +949,7 @@ import {
|
|
|
958
949
|
useOptionalKeybindingContext,
|
|
959
950
|
useRegisterKeybindingContext,
|
|
960
951
|
useTerminalSize
|
|
961
|
-
} from "./chunk-
|
|
952
|
+
} from "./chunk-1dht9e5c.js";
|
|
962
953
|
import {
|
|
963
954
|
Ansi,
|
|
964
955
|
Box_default,
|
|
@@ -1021,7 +1012,7 @@ import {
|
|
|
1021
1012
|
use_input_default,
|
|
1022
1013
|
use_stdin_default,
|
|
1023
1014
|
wrapText
|
|
1024
|
-
} from "./chunk-
|
|
1015
|
+
} from "./chunk-r3f01xaz.js";
|
|
1025
1016
|
import {
|
|
1026
1017
|
consumeEarlyInput,
|
|
1027
1018
|
init_earlyInput
|
|
@@ -1038,7 +1029,7 @@ import {
|
|
|
1038
1029
|
import {
|
|
1039
1030
|
init_api,
|
|
1040
1031
|
updateSessionTitle
|
|
1041
|
-
} from "./chunk-
|
|
1032
|
+
} from "./chunk-amtphfft.js";
|
|
1042
1033
|
import {
|
|
1043
1034
|
init_browser,
|
|
1044
1035
|
openBrowser
|
|
@@ -1048,7 +1039,7 @@ import {
|
|
|
1048
1039
|
init_events,
|
|
1049
1040
|
init_sessionTracing,
|
|
1050
1041
|
logOTelEvent
|
|
1051
|
-
} from "./chunk-
|
|
1042
|
+
} from "./chunk-tx47rdkv.js";
|
|
1052
1043
|
import {
|
|
1053
1044
|
ALLOWED_OFFICIAL_MARKETPLACE_NAMES,
|
|
1054
1045
|
AwsAuthStatusManager,
|
|
@@ -1157,7 +1148,7 @@ import {
|
|
|
1157
1148
|
toExternalPermissionMode,
|
|
1158
1149
|
truncateToLines,
|
|
1159
1150
|
updateSettingsForSource
|
|
1160
|
-
} from "./chunk-
|
|
1151
|
+
} from "./chunk-mffr82hp.js";
|
|
1161
1152
|
import {
|
|
1162
1153
|
init_json,
|
|
1163
1154
|
safeParseJSON
|
|
@@ -15013,444 +15004,199 @@ init_AppState();
|
|
|
15013
15004
|
init_config2();
|
|
15014
15005
|
init_fullscreen();
|
|
15015
15006
|
init_companion();
|
|
15007
|
+
init_sprites();
|
|
15008
|
+
init_types();
|
|
15016
15009
|
var import_compiler_runtime31 = __toESM(require_compiler_runtime(), 1);
|
|
15017
15010
|
var import_react27 = __toESM(require_react(), 1);
|
|
15018
|
-
|
|
15019
|
-
// src/buddy/sprites.ts
|
|
15020
|
-
init_types();
|
|
15021
|
-
var BODIES = {
|
|
15022
|
-
[duck]: [
|
|
15023
|
-
[
|
|
15024
|
-
" ",
|
|
15025
|
-
" __ ",
|
|
15026
|
-
" <({E} )___ ",
|
|
15027
|
-
" ( ._> ",
|
|
15028
|
-
" `--\xB4 "
|
|
15029
|
-
],
|
|
15030
|
-
[
|
|
15031
|
-
" ",
|
|
15032
|
-
" __ ",
|
|
15033
|
-
" <({E} )___ ",
|
|
15034
|
-
" ( ._> ",
|
|
15035
|
-
" `--\xB4~ "
|
|
15036
|
-
],
|
|
15037
|
-
[
|
|
15038
|
-
" ",
|
|
15039
|
-
" __ ",
|
|
15040
|
-
" <({E} )___ ",
|
|
15041
|
-
" ( .__> ",
|
|
15042
|
-
" `--\xB4 "
|
|
15043
|
-
]
|
|
15044
|
-
],
|
|
15045
|
-
[goose]: [
|
|
15046
|
-
[
|
|
15047
|
-
" ",
|
|
15048
|
-
" ({E}> ",
|
|
15049
|
-
" || ",
|
|
15050
|
-
" _(__)_ ",
|
|
15051
|
-
" ^^^^ "
|
|
15052
|
-
],
|
|
15053
|
-
[
|
|
15054
|
-
" ",
|
|
15055
|
-
" ({E}> ",
|
|
15056
|
-
" || ",
|
|
15057
|
-
" _(__)_ ",
|
|
15058
|
-
" ^^^^ "
|
|
15059
|
-
],
|
|
15060
|
-
[
|
|
15061
|
-
" ",
|
|
15062
|
-
" ({E}>> ",
|
|
15063
|
-
" || ",
|
|
15064
|
-
" _(__)_ ",
|
|
15065
|
-
" ^^^^ "
|
|
15066
|
-
]
|
|
15067
|
-
],
|
|
15068
|
-
[blob]: [
|
|
15069
|
-
[
|
|
15070
|
-
" ",
|
|
15071
|
-
" .----. ",
|
|
15072
|
-
" ( {E} {E} ) ",
|
|
15073
|
-
" ( ) ",
|
|
15074
|
-
" `----\xB4 "
|
|
15075
|
-
],
|
|
15076
|
-
[
|
|
15077
|
-
" ",
|
|
15078
|
-
" .------. ",
|
|
15079
|
-
" ( {E} {E} ) ",
|
|
15080
|
-
" ( ) ",
|
|
15081
|
-
" `------\xB4 "
|
|
15082
|
-
],
|
|
15083
|
-
[
|
|
15084
|
-
" ",
|
|
15085
|
-
" .--. ",
|
|
15086
|
-
" ({E} {E}) ",
|
|
15087
|
-
" ( ) ",
|
|
15088
|
-
" `--\xB4 "
|
|
15089
|
-
]
|
|
15090
|
-
],
|
|
15091
|
-
[cat]: [
|
|
15092
|
-
[
|
|
15093
|
-
" ",
|
|
15094
|
-
" /\\_/\\ ",
|
|
15095
|
-
" ( {E} {E}) ",
|
|
15096
|
-
" ( \u03C9 ) ",
|
|
15097
|
-
' (")_(") '
|
|
15098
|
-
],
|
|
15099
|
-
[
|
|
15100
|
-
" ",
|
|
15101
|
-
" /\\_/\\ ",
|
|
15102
|
-
" ( {E} {E}) ",
|
|
15103
|
-
" ( \u03C9 ) ",
|
|
15104
|
-
' (")_(")~ '
|
|
15105
|
-
],
|
|
15106
|
-
[
|
|
15107
|
-
" ",
|
|
15108
|
-
" /\\-/\\ ",
|
|
15109
|
-
" ( {E} {E}) ",
|
|
15110
|
-
" ( \u03C9 ) ",
|
|
15111
|
-
' (")_(") '
|
|
15112
|
-
]
|
|
15113
|
-
],
|
|
15114
|
-
[dragon]: [
|
|
15115
|
-
[
|
|
15116
|
-
" ",
|
|
15117
|
-
" /^\\ /^\\ ",
|
|
15118
|
-
" < {E} {E} > ",
|
|
15119
|
-
" ( ~~ ) ",
|
|
15120
|
-
" `-vvvv-\xB4 "
|
|
15121
|
-
],
|
|
15122
|
-
[
|
|
15123
|
-
" ",
|
|
15124
|
-
" /^\\ /^\\ ",
|
|
15125
|
-
" < {E} {E} > ",
|
|
15126
|
-
" ( ) ",
|
|
15127
|
-
" `-vvvv-\xB4 "
|
|
15128
|
-
],
|
|
15129
|
-
[
|
|
15130
|
-
" ~ ~ ",
|
|
15131
|
-
" /^\\ /^\\ ",
|
|
15132
|
-
" < {E} {E} > ",
|
|
15133
|
-
" ( ~~ ) ",
|
|
15134
|
-
" `-vvvv-\xB4 "
|
|
15135
|
-
]
|
|
15136
|
-
],
|
|
15137
|
-
[octopus]: [
|
|
15138
|
-
[
|
|
15139
|
-
" ",
|
|
15140
|
-
" .----. ",
|
|
15141
|
-
" ( {E} {E} ) ",
|
|
15142
|
-
" (______) ",
|
|
15143
|
-
" /\\/\\/\\/\\ "
|
|
15144
|
-
],
|
|
15145
|
-
[
|
|
15146
|
-
" ",
|
|
15147
|
-
" .----. ",
|
|
15148
|
-
" ( {E} {E} ) ",
|
|
15149
|
-
" (______) ",
|
|
15150
|
-
" \\/\\/\\/\\/ "
|
|
15151
|
-
],
|
|
15152
|
-
[
|
|
15153
|
-
" o ",
|
|
15154
|
-
" .----. ",
|
|
15155
|
-
" ( {E} {E} ) ",
|
|
15156
|
-
" (______) ",
|
|
15157
|
-
" /\\/\\/\\/\\ "
|
|
15158
|
-
]
|
|
15159
|
-
],
|
|
15160
|
-
[owl]: [
|
|
15161
|
-
[
|
|
15162
|
-
" ",
|
|
15163
|
-
" /\\ /\\ ",
|
|
15164
|
-
" (({E})({E})) ",
|
|
15165
|
-
" ( >< ) ",
|
|
15166
|
-
" `----\xB4 "
|
|
15167
|
-
],
|
|
15168
|
-
[
|
|
15169
|
-
" ",
|
|
15170
|
-
" /\\ /\\ ",
|
|
15171
|
-
" (({E})({E})) ",
|
|
15172
|
-
" ( >< ) ",
|
|
15173
|
-
" .----. "
|
|
15174
|
-
],
|
|
15175
|
-
[
|
|
15176
|
-
" ",
|
|
15177
|
-
" /\\ /\\ ",
|
|
15178
|
-
" (({E})(-)) ",
|
|
15179
|
-
" ( >< ) ",
|
|
15180
|
-
" `----\xB4 "
|
|
15181
|
-
]
|
|
15182
|
-
],
|
|
15183
|
-
[penguin]: [
|
|
15184
|
-
[
|
|
15185
|
-
" ",
|
|
15186
|
-
" .---. ",
|
|
15187
|
-
" ({E}>{E}) ",
|
|
15188
|
-
" /( )\\ ",
|
|
15189
|
-
" `---\xB4 "
|
|
15190
|
-
],
|
|
15191
|
-
[
|
|
15192
|
-
" ",
|
|
15193
|
-
" .---. ",
|
|
15194
|
-
" ({E}>{E}) ",
|
|
15195
|
-
" |( )| ",
|
|
15196
|
-
" `---\xB4 "
|
|
15197
|
-
],
|
|
15198
|
-
[
|
|
15199
|
-
" .---. ",
|
|
15200
|
-
" ({E}>{E}) ",
|
|
15201
|
-
" /( )\\ ",
|
|
15202
|
-
" `---\xB4 ",
|
|
15203
|
-
" ~ ~ "
|
|
15204
|
-
]
|
|
15205
|
-
],
|
|
15206
|
-
[turtle]: [
|
|
15207
|
-
[
|
|
15208
|
-
" ",
|
|
15209
|
-
" _,--._ ",
|
|
15210
|
-
" ( {E} {E} ) ",
|
|
15211
|
-
" /[______]\\ ",
|
|
15212
|
-
" `` `` "
|
|
15213
|
-
],
|
|
15214
|
-
[
|
|
15215
|
-
" ",
|
|
15216
|
-
" _,--._ ",
|
|
15217
|
-
" ( {E} {E} ) ",
|
|
15218
|
-
" /[______]\\ ",
|
|
15219
|
-
" `` `` "
|
|
15220
|
-
],
|
|
15221
|
-
[
|
|
15222
|
-
" ",
|
|
15223
|
-
" _,--._ ",
|
|
15224
|
-
" ( {E} {E} ) ",
|
|
15225
|
-
" /[======]\\ ",
|
|
15226
|
-
" `` `` "
|
|
15227
|
-
]
|
|
15228
|
-
],
|
|
15229
|
-
[snail]: [
|
|
15230
|
-
[
|
|
15231
|
-
" ",
|
|
15232
|
-
" {E} .--. ",
|
|
15233
|
-
" \\ ( @ ) ",
|
|
15234
|
-
" \\_`--\xB4 ",
|
|
15235
|
-
" ~~~~~~~ "
|
|
15236
|
-
],
|
|
15237
|
-
[
|
|
15238
|
-
" ",
|
|
15239
|
-
" {E} .--. ",
|
|
15240
|
-
" | ( @ ) ",
|
|
15241
|
-
" \\_`--\xB4 ",
|
|
15242
|
-
" ~~~~~~~ "
|
|
15243
|
-
],
|
|
15244
|
-
[
|
|
15245
|
-
" ",
|
|
15246
|
-
" {E} .--. ",
|
|
15247
|
-
" \\ ( @ ) ",
|
|
15248
|
-
" \\_`--\xB4 ",
|
|
15249
|
-
" ~~~~~~ "
|
|
15250
|
-
]
|
|
15251
|
-
],
|
|
15252
|
-
[ghost]: [
|
|
15253
|
-
[
|
|
15254
|
-
" ",
|
|
15255
|
-
" .----. ",
|
|
15256
|
-
" / {E} {E} \\ ",
|
|
15257
|
-
" | | ",
|
|
15258
|
-
" ~`~``~`~ "
|
|
15259
|
-
],
|
|
15260
|
-
[
|
|
15261
|
-
" ",
|
|
15262
|
-
" .----. ",
|
|
15263
|
-
" / {E} {E} \\ ",
|
|
15264
|
-
" | | ",
|
|
15265
|
-
" `~`~~`~` "
|
|
15266
|
-
],
|
|
15267
|
-
[
|
|
15268
|
-
" ~ ~ ",
|
|
15269
|
-
" .----. ",
|
|
15270
|
-
" / {E} {E} \\ ",
|
|
15271
|
-
" | | ",
|
|
15272
|
-
" ~~`~~`~~ "
|
|
15273
|
-
]
|
|
15274
|
-
],
|
|
15275
|
-
[axolotl]: [
|
|
15276
|
-
[
|
|
15277
|
-
" ",
|
|
15278
|
-
"}~(______)~{",
|
|
15279
|
-
"}~({E} .. {E})~{",
|
|
15280
|
-
" ( .--. ) ",
|
|
15281
|
-
" (_/ \\_) "
|
|
15282
|
-
],
|
|
15283
|
-
[
|
|
15284
|
-
" ",
|
|
15285
|
-
"~}(______){~",
|
|
15286
|
-
"~}({E} .. {E}){~",
|
|
15287
|
-
" ( .--. ) ",
|
|
15288
|
-
" (_/ \\_) "
|
|
15289
|
-
],
|
|
15290
|
-
[
|
|
15291
|
-
" ",
|
|
15292
|
-
"}~(______)~{",
|
|
15293
|
-
"}~({E} .. {E})~{",
|
|
15294
|
-
" ( -- ) ",
|
|
15295
|
-
" ~_/ \\_~ "
|
|
15296
|
-
]
|
|
15297
|
-
],
|
|
15298
|
-
[capybara]: [
|
|
15299
|
-
[
|
|
15300
|
-
" ",
|
|
15301
|
-
" n______n ",
|
|
15302
|
-
" ( {E} {E} ) ",
|
|
15303
|
-
" ( oo ) ",
|
|
15304
|
-
" `------\xB4 "
|
|
15305
|
-
],
|
|
15306
|
-
[
|
|
15307
|
-
" ",
|
|
15308
|
-
" n______n ",
|
|
15309
|
-
" ( {E} {E} ) ",
|
|
15310
|
-
" ( Oo ) ",
|
|
15311
|
-
" `------\xB4 "
|
|
15312
|
-
],
|
|
15313
|
-
[
|
|
15314
|
-
" ~ ~ ",
|
|
15315
|
-
" u______n ",
|
|
15316
|
-
" ( {E} {E} ) ",
|
|
15317
|
-
" ( oo ) ",
|
|
15318
|
-
" `------\xB4 "
|
|
15319
|
-
]
|
|
15320
|
-
],
|
|
15321
|
-
[cactus]: [
|
|
15322
|
-
[
|
|
15323
|
-
" ",
|
|
15324
|
-
" n ____ n ",
|
|
15325
|
-
" | |{E} {E}| | ",
|
|
15326
|
-
" |_| |_| ",
|
|
15327
|
-
" | | "
|
|
15328
|
-
],
|
|
15329
|
-
[
|
|
15330
|
-
" ",
|
|
15331
|
-
" ____ ",
|
|
15332
|
-
" n |{E} {E}| n ",
|
|
15333
|
-
" |_| |_| ",
|
|
15334
|
-
" | | "
|
|
15335
|
-
],
|
|
15336
|
-
[
|
|
15337
|
-
" n n ",
|
|
15338
|
-
" | ____ | ",
|
|
15339
|
-
" | |{E} {E}| | ",
|
|
15340
|
-
" |_| |_| ",
|
|
15341
|
-
" | | "
|
|
15342
|
-
]
|
|
15343
|
-
],
|
|
15344
|
-
[robot]: [
|
|
15345
|
-
[
|
|
15346
|
-
" ",
|
|
15347
|
-
" .[||]. ",
|
|
15348
|
-
" [ {E} {E} ] ",
|
|
15349
|
-
" [ ==== ] ",
|
|
15350
|
-
" `------\xB4 "
|
|
15351
|
-
],
|
|
15352
|
-
[
|
|
15353
|
-
" ",
|
|
15354
|
-
" .[||]. ",
|
|
15355
|
-
" [ {E} {E} ] ",
|
|
15356
|
-
" [ -==- ] ",
|
|
15357
|
-
" `------\xB4 "
|
|
15358
|
-
],
|
|
15359
|
-
[
|
|
15360
|
-
" * ",
|
|
15361
|
-
" .[||]. ",
|
|
15362
|
-
" [ {E} {E} ] ",
|
|
15363
|
-
" [ ==== ] ",
|
|
15364
|
-
" `------\xB4 "
|
|
15365
|
-
]
|
|
15366
|
-
],
|
|
15367
|
-
[rabbit]: [
|
|
15368
|
-
[
|
|
15369
|
-
" ",
|
|
15370
|
-
" (\\__/) ",
|
|
15371
|
-
" ( {E} {E} ) ",
|
|
15372
|
-
" =( .. )= ",
|
|
15373
|
-
' (")__(") '
|
|
15374
|
-
],
|
|
15375
|
-
[
|
|
15376
|
-
" ",
|
|
15377
|
-
" (|__/) ",
|
|
15378
|
-
" ( {E} {E} ) ",
|
|
15379
|
-
" =( .. )= ",
|
|
15380
|
-
' (")__(") '
|
|
15381
|
-
],
|
|
15382
|
-
[
|
|
15383
|
-
" ",
|
|
15384
|
-
" (\\__/) ",
|
|
15385
|
-
" ( {E} {E} ) ",
|
|
15386
|
-
" =( . . )= ",
|
|
15387
|
-
' (")__(") '
|
|
15388
|
-
]
|
|
15389
|
-
],
|
|
15390
|
-
[mushroom]: [
|
|
15391
|
-
[
|
|
15392
|
-
" ",
|
|
15393
|
-
" .-o-OO-o-. ",
|
|
15394
|
-
"(__________)",
|
|
15395
|
-
" |{E} {E}| ",
|
|
15396
|
-
" |____| "
|
|
15397
|
-
],
|
|
15398
|
-
[
|
|
15399
|
-
" ",
|
|
15400
|
-
" .-O-oo-O-. ",
|
|
15401
|
-
"(__________)",
|
|
15402
|
-
" |{E} {E}| ",
|
|
15403
|
-
" |____| "
|
|
15404
|
-
],
|
|
15405
|
-
[
|
|
15406
|
-
" . o . ",
|
|
15407
|
-
" .-o-OO-o-. ",
|
|
15408
|
-
"(__________)",
|
|
15409
|
-
" |{E} {E}| ",
|
|
15410
|
-
" |____| "
|
|
15411
|
-
]
|
|
15412
|
-
],
|
|
15413
|
-
[chonk]: [
|
|
15414
|
-
[
|
|
15415
|
-
" ",
|
|
15416
|
-
" /\\ /\\ ",
|
|
15417
|
-
" ( {E} {E} ) ",
|
|
15418
|
-
" ( .. ) ",
|
|
15419
|
-
" `------\xB4 "
|
|
15420
|
-
],
|
|
15421
|
-
[
|
|
15422
|
-
" ",
|
|
15423
|
-
" /\\ /| ",
|
|
15424
|
-
" ( {E} {E} ) ",
|
|
15425
|
-
" ( .. ) ",
|
|
15426
|
-
" `------\xB4 "
|
|
15427
|
-
],
|
|
15428
|
-
[
|
|
15429
|
-
" ",
|
|
15430
|
-
" /\\ /\\ ",
|
|
15431
|
-
" ( {E} {E} ) ",
|
|
15432
|
-
" ( .. ) ",
|
|
15433
|
-
" `------\xB4~ "
|
|
15434
|
-
]
|
|
15435
|
-
]
|
|
15436
|
-
};
|
|
15437
|
-
|
|
15438
|
-
// src/buddy/CompanionSprite.tsx
|
|
15439
|
-
init_types();
|
|
15440
15011
|
var jsx_dev_runtime38 = __toESM(require_jsx_dev_runtime(), 1);
|
|
15012
|
+
var TICK_MS = 500;
|
|
15013
|
+
var BUBBLE_SHOW = 20;
|
|
15014
|
+
var FADE_WINDOW = 6;
|
|
15015
|
+
var PET_BURST_MS = 2500;
|
|
15016
|
+
var IDLE_SEQUENCE = [0, 0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 2, 0, 0, 0];
|
|
15441
15017
|
var H = figures_default.heart;
|
|
15442
15018
|
var PET_HEARTS = [` ${H} ${H} `, ` ${H} ${H} ${H} `, ` ${H} ${H} ${H} `, `${H} ${H} ${H} `, "\xB7 \xB7 \xB7 "];
|
|
15019
|
+
function wrap(text, width) {
|
|
15020
|
+
const words = text.split(" ");
|
|
15021
|
+
const lines = [];
|
|
15022
|
+
let cur = "";
|
|
15023
|
+
for (const w of words) {
|
|
15024
|
+
if (cur.length + w.length + 1 > width && cur) {
|
|
15025
|
+
lines.push(cur);
|
|
15026
|
+
cur = w;
|
|
15027
|
+
} else {
|
|
15028
|
+
cur = cur ? `${cur} ${w}` : w;
|
|
15029
|
+
}
|
|
15030
|
+
}
|
|
15031
|
+
if (cur)
|
|
15032
|
+
lines.push(cur);
|
|
15033
|
+
return lines;
|
|
15034
|
+
}
|
|
15035
|
+
function SpeechBubble(t0) {
|
|
15036
|
+
const $ = import_compiler_runtime31.c(31);
|
|
15037
|
+
const {
|
|
15038
|
+
text,
|
|
15039
|
+
color: color2,
|
|
15040
|
+
fading,
|
|
15041
|
+
tail
|
|
15042
|
+
} = t0;
|
|
15043
|
+
let T0;
|
|
15044
|
+
let borderColor;
|
|
15045
|
+
let t1;
|
|
15046
|
+
let t2;
|
|
15047
|
+
let t3;
|
|
15048
|
+
let t4;
|
|
15049
|
+
let t5;
|
|
15050
|
+
let t6;
|
|
15051
|
+
if ($[0] !== color2 || $[1] !== fading || $[2] !== text) {
|
|
15052
|
+
const lines = wrap(text, 30);
|
|
15053
|
+
borderColor = fading ? "inactive" : color2;
|
|
15054
|
+
T0 = ThemedBox_default;
|
|
15055
|
+
t1 = "column";
|
|
15056
|
+
t2 = "round";
|
|
15057
|
+
t3 = borderColor;
|
|
15058
|
+
t4 = 1;
|
|
15059
|
+
t5 = 34;
|
|
15060
|
+
let t72;
|
|
15061
|
+
if ($[11] !== fading) {
|
|
15062
|
+
t72 = (l, i) => /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedText, {
|
|
15063
|
+
italic: true,
|
|
15064
|
+
dimColor: !fading,
|
|
15065
|
+
color: fading ? "inactive" : undefined,
|
|
15066
|
+
children: l
|
|
15067
|
+
}, i, false, undefined, this);
|
|
15068
|
+
$[11] = fading;
|
|
15069
|
+
$[12] = t72;
|
|
15070
|
+
} else {
|
|
15071
|
+
t72 = $[12];
|
|
15072
|
+
}
|
|
15073
|
+
t6 = lines.map(t72);
|
|
15074
|
+
$[0] = color2;
|
|
15075
|
+
$[1] = fading;
|
|
15076
|
+
$[2] = text;
|
|
15077
|
+
$[3] = T0;
|
|
15078
|
+
$[4] = borderColor;
|
|
15079
|
+
$[5] = t1;
|
|
15080
|
+
$[6] = t2;
|
|
15081
|
+
$[7] = t3;
|
|
15082
|
+
$[8] = t4;
|
|
15083
|
+
$[9] = t5;
|
|
15084
|
+
$[10] = t6;
|
|
15085
|
+
} else {
|
|
15086
|
+
T0 = $[3];
|
|
15087
|
+
borderColor = $[4];
|
|
15088
|
+
t1 = $[5];
|
|
15089
|
+
t2 = $[6];
|
|
15090
|
+
t3 = $[7];
|
|
15091
|
+
t4 = $[8];
|
|
15092
|
+
t5 = $[9];
|
|
15093
|
+
t6 = $[10];
|
|
15094
|
+
}
|
|
15095
|
+
let t7;
|
|
15096
|
+
if ($[13] !== T0 || $[14] !== t1 || $[15] !== t2 || $[16] !== t3 || $[17] !== t4 || $[18] !== t5 || $[19] !== t6) {
|
|
15097
|
+
t7 = /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(T0, {
|
|
15098
|
+
flexDirection: t1,
|
|
15099
|
+
borderStyle: t2,
|
|
15100
|
+
borderColor: t3,
|
|
15101
|
+
paddingX: t4,
|
|
15102
|
+
width: t5,
|
|
15103
|
+
children: t6
|
|
15104
|
+
}, undefined, false, undefined, this);
|
|
15105
|
+
$[13] = T0;
|
|
15106
|
+
$[14] = t1;
|
|
15107
|
+
$[15] = t2;
|
|
15108
|
+
$[16] = t3;
|
|
15109
|
+
$[17] = t4;
|
|
15110
|
+
$[18] = t5;
|
|
15111
|
+
$[19] = t6;
|
|
15112
|
+
$[20] = t7;
|
|
15113
|
+
} else {
|
|
15114
|
+
t7 = $[20];
|
|
15115
|
+
}
|
|
15116
|
+
const bubble = t7;
|
|
15117
|
+
if (tail === "right") {
|
|
15118
|
+
let t82;
|
|
15119
|
+
if ($[21] !== borderColor) {
|
|
15120
|
+
t82 = /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedText, {
|
|
15121
|
+
color: borderColor,
|
|
15122
|
+
children: "\u2500"
|
|
15123
|
+
}, undefined, false, undefined, this);
|
|
15124
|
+
$[21] = borderColor;
|
|
15125
|
+
$[22] = t82;
|
|
15126
|
+
} else {
|
|
15127
|
+
t82 = $[22];
|
|
15128
|
+
}
|
|
15129
|
+
let t92;
|
|
15130
|
+
if ($[23] !== bubble || $[24] !== t82) {
|
|
15131
|
+
t92 = /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedBox_default, {
|
|
15132
|
+
flexDirection: "row",
|
|
15133
|
+
alignItems: "center",
|
|
15134
|
+
children: [
|
|
15135
|
+
bubble,
|
|
15136
|
+
t82
|
|
15137
|
+
]
|
|
15138
|
+
}, undefined, true, undefined, this);
|
|
15139
|
+
$[23] = bubble;
|
|
15140
|
+
$[24] = t82;
|
|
15141
|
+
$[25] = t92;
|
|
15142
|
+
} else {
|
|
15143
|
+
t92 = $[25];
|
|
15144
|
+
}
|
|
15145
|
+
return t92;
|
|
15146
|
+
}
|
|
15147
|
+
let t8;
|
|
15148
|
+
if ($[26] !== borderColor) {
|
|
15149
|
+
t8 = /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedBox_default, {
|
|
15150
|
+
flexDirection: "column",
|
|
15151
|
+
alignItems: "flex-end",
|
|
15152
|
+
paddingRight: 6,
|
|
15153
|
+
children: [
|
|
15154
|
+
/* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedText, {
|
|
15155
|
+
color: borderColor,
|
|
15156
|
+
children: "\u2572 "
|
|
15157
|
+
}, undefined, false, undefined, this),
|
|
15158
|
+
/* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedText, {
|
|
15159
|
+
color: borderColor,
|
|
15160
|
+
children: "\u2572"
|
|
15161
|
+
}, undefined, false, undefined, this)
|
|
15162
|
+
]
|
|
15163
|
+
}, undefined, true, undefined, this);
|
|
15164
|
+
$[26] = borderColor;
|
|
15165
|
+
$[27] = t8;
|
|
15166
|
+
} else {
|
|
15167
|
+
t8 = $[27];
|
|
15168
|
+
}
|
|
15169
|
+
let t9;
|
|
15170
|
+
if ($[28] !== bubble || $[29] !== t8) {
|
|
15171
|
+
t9 = /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedBox_default, {
|
|
15172
|
+
flexDirection: "column",
|
|
15173
|
+
alignItems: "flex-end",
|
|
15174
|
+
marginRight: 1,
|
|
15175
|
+
children: [
|
|
15176
|
+
bubble,
|
|
15177
|
+
t8
|
|
15178
|
+
]
|
|
15179
|
+
}, undefined, true, undefined, this);
|
|
15180
|
+
$[28] = bubble;
|
|
15181
|
+
$[29] = t8;
|
|
15182
|
+
$[30] = t9;
|
|
15183
|
+
} else {
|
|
15184
|
+
t9 = $[30];
|
|
15185
|
+
}
|
|
15186
|
+
return t9;
|
|
15187
|
+
}
|
|
15443
15188
|
var MIN_COLS_FOR_FULL_SPRITE = 100;
|
|
15444
15189
|
var SPRITE_BODY_WIDTH = 12;
|
|
15445
15190
|
var NAME_ROW_PAD = 2;
|
|
15446
15191
|
var SPRITE_PADDING_X = 2;
|
|
15447
15192
|
var BUBBLE_WIDTH = 36;
|
|
15193
|
+
var NARROW_QUIP_CAP = 24;
|
|
15448
15194
|
function spriteColWidth(nameWidth) {
|
|
15449
15195
|
return Math.max(SPRITE_BODY_WIDTH, nameWidth + NAME_ROW_PAD);
|
|
15450
15196
|
}
|
|
15451
15197
|
function companionReservedColumns(terminalColumns, speaking) {
|
|
15452
|
-
if (
|
|
15453
|
-
|
|
15198
|
+
if (false)
|
|
15199
|
+
;
|
|
15454
15200
|
const companion = getCompanion();
|
|
15455
15201
|
if (!companion || getGlobalConfig().companionMuted)
|
|
15456
15202
|
return 0;
|
|
@@ -15460,6 +15206,232 @@ function companionReservedColumns(terminalColumns, speaking) {
|
|
|
15460
15206
|
const bubble = speaking && !isFullscreenActive() ? BUBBLE_WIDTH : 0;
|
|
15461
15207
|
return spriteColWidth(nameWidth) + SPRITE_PADDING_X + bubble;
|
|
15462
15208
|
}
|
|
15209
|
+
function CompanionSprite() {
|
|
15210
|
+
const reaction = useAppState((s) => s.companionReaction);
|
|
15211
|
+
const petAt = useAppState((s) => s.companionPetAt);
|
|
15212
|
+
const focused = useAppState((s) => s.footerSelection === "companion");
|
|
15213
|
+
const setAppState = useSetAppState();
|
|
15214
|
+
const {
|
|
15215
|
+
columns
|
|
15216
|
+
} = useTerminalSize();
|
|
15217
|
+
const [tick, setTick] = import_react27.useState(0);
|
|
15218
|
+
const lastSpokeTick = import_react27.useRef(0);
|
|
15219
|
+
const [{
|
|
15220
|
+
petStartTick,
|
|
15221
|
+
forPetAt
|
|
15222
|
+
}, setPetStart] = import_react27.useState({
|
|
15223
|
+
petStartTick: 0,
|
|
15224
|
+
forPetAt: petAt
|
|
15225
|
+
});
|
|
15226
|
+
if (petAt !== forPetAt) {
|
|
15227
|
+
setPetStart({
|
|
15228
|
+
petStartTick: tick,
|
|
15229
|
+
forPetAt: petAt
|
|
15230
|
+
});
|
|
15231
|
+
}
|
|
15232
|
+
import_react27.useEffect(() => {
|
|
15233
|
+
const timer = setInterval((setT) => setT((t) => t + 1), TICK_MS, setTick);
|
|
15234
|
+
return () => clearInterval(timer);
|
|
15235
|
+
}, []);
|
|
15236
|
+
import_react27.useEffect(() => {
|
|
15237
|
+
if (!reaction)
|
|
15238
|
+
return;
|
|
15239
|
+
lastSpokeTick.current = tick;
|
|
15240
|
+
const timer = setTimeout((setA) => setA((prev) => prev.companionReaction === undefined ? prev : {
|
|
15241
|
+
...prev,
|
|
15242
|
+
companionReaction: undefined
|
|
15243
|
+
}), BUBBLE_SHOW * TICK_MS, setAppState);
|
|
15244
|
+
return () => clearTimeout(timer);
|
|
15245
|
+
}, [reaction, setAppState]);
|
|
15246
|
+
if (false)
|
|
15247
|
+
;
|
|
15248
|
+
const companion = getCompanion();
|
|
15249
|
+
if (!companion || getGlobalConfig().companionMuted)
|
|
15250
|
+
return null;
|
|
15251
|
+
const color2 = RARITY_COLORS[companion.rarity];
|
|
15252
|
+
const colWidth = spriteColWidth(stringWidth(companion.name));
|
|
15253
|
+
const bubbleAge = reaction ? tick - lastSpokeTick.current : 0;
|
|
15254
|
+
const fading = reaction !== undefined && bubbleAge >= BUBBLE_SHOW - FADE_WINDOW;
|
|
15255
|
+
const petAge = petAt ? tick - petStartTick : Infinity;
|
|
15256
|
+
const petting = petAge * TICK_MS < PET_BURST_MS;
|
|
15257
|
+
if (columns < MIN_COLS_FOR_FULL_SPRITE) {
|
|
15258
|
+
const quip = reaction && reaction.length > NARROW_QUIP_CAP ? reaction.slice(0, NARROW_QUIP_CAP - 1) + "\u2026" : reaction;
|
|
15259
|
+
const label = quip ? `"${quip}"` : focused ? ` ${companion.name} ` : companion.name;
|
|
15260
|
+
return /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedBox_default, {
|
|
15261
|
+
paddingX: 1,
|
|
15262
|
+
alignSelf: "flex-end",
|
|
15263
|
+
children: /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedText, {
|
|
15264
|
+
children: [
|
|
15265
|
+
petting && /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedText, {
|
|
15266
|
+
color: "autoAccept",
|
|
15267
|
+
children: [
|
|
15268
|
+
figures_default.heart,
|
|
15269
|
+
" "
|
|
15270
|
+
]
|
|
15271
|
+
}, undefined, true, undefined, this),
|
|
15272
|
+
/* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedText, {
|
|
15273
|
+
bold: true,
|
|
15274
|
+
color: color2,
|
|
15275
|
+
children: renderFace(companion)
|
|
15276
|
+
}, undefined, false, undefined, this),
|
|
15277
|
+
" ",
|
|
15278
|
+
/* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedText, {
|
|
15279
|
+
italic: true,
|
|
15280
|
+
dimColor: !focused && !reaction,
|
|
15281
|
+
bold: focused,
|
|
15282
|
+
inverse: focused && !reaction,
|
|
15283
|
+
color: reaction ? fading ? "inactive" : color2 : focused ? color2 : undefined,
|
|
15284
|
+
children: label
|
|
15285
|
+
}, undefined, false, undefined, this)
|
|
15286
|
+
]
|
|
15287
|
+
}, undefined, true, undefined, this)
|
|
15288
|
+
}, undefined, false, undefined, this);
|
|
15289
|
+
}
|
|
15290
|
+
const frameCount = spriteFrameCount(companion.species);
|
|
15291
|
+
const heartFrame = petting ? PET_HEARTS[petAge % PET_HEARTS.length] : null;
|
|
15292
|
+
let spriteFrame;
|
|
15293
|
+
let blink = false;
|
|
15294
|
+
if (reaction || petting) {
|
|
15295
|
+
spriteFrame = tick % frameCount;
|
|
15296
|
+
} else {
|
|
15297
|
+
const step = IDLE_SEQUENCE[tick % IDLE_SEQUENCE.length];
|
|
15298
|
+
if (step === -1) {
|
|
15299
|
+
spriteFrame = 0;
|
|
15300
|
+
blink = true;
|
|
15301
|
+
} else {
|
|
15302
|
+
spriteFrame = step % frameCount;
|
|
15303
|
+
}
|
|
15304
|
+
}
|
|
15305
|
+
const body = renderSprite(companion, spriteFrame).map((line) => blink ? line.replaceAll(companion.eye, "-") : line);
|
|
15306
|
+
const sprite = heartFrame ? [heartFrame, ...body] : body;
|
|
15307
|
+
const spriteColumn = /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedBox_default, {
|
|
15308
|
+
flexDirection: "column",
|
|
15309
|
+
flexShrink: 0,
|
|
15310
|
+
alignItems: "center",
|
|
15311
|
+
width: colWidth,
|
|
15312
|
+
children: [
|
|
15313
|
+
sprite.map((line, i) => /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedText, {
|
|
15314
|
+
color: i === 0 && heartFrame ? "autoAccept" : color2,
|
|
15315
|
+
children: line
|
|
15316
|
+
}, i, false, undefined, this)),
|
|
15317
|
+
/* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedText, {
|
|
15318
|
+
italic: true,
|
|
15319
|
+
bold: focused,
|
|
15320
|
+
dimColor: !focused,
|
|
15321
|
+
color: focused ? color2 : undefined,
|
|
15322
|
+
inverse: focused,
|
|
15323
|
+
children: focused ? ` ${companion.name} ` : companion.name
|
|
15324
|
+
}, undefined, false, undefined, this)
|
|
15325
|
+
]
|
|
15326
|
+
}, undefined, true, undefined, this);
|
|
15327
|
+
if (!reaction) {
|
|
15328
|
+
return /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedBox_default, {
|
|
15329
|
+
paddingX: 1,
|
|
15330
|
+
children: spriteColumn
|
|
15331
|
+
}, undefined, false, undefined, this);
|
|
15332
|
+
}
|
|
15333
|
+
if (isFullscreenActive()) {
|
|
15334
|
+
return /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedBox_default, {
|
|
15335
|
+
paddingX: 1,
|
|
15336
|
+
children: spriteColumn
|
|
15337
|
+
}, undefined, false, undefined, this);
|
|
15338
|
+
}
|
|
15339
|
+
return /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedBox_default, {
|
|
15340
|
+
flexDirection: "row",
|
|
15341
|
+
alignItems: "flex-end",
|
|
15342
|
+
paddingX: 1,
|
|
15343
|
+
flexShrink: 0,
|
|
15344
|
+
children: [
|
|
15345
|
+
/* @__PURE__ */ jsx_dev_runtime38.jsxDEV(SpeechBubble, {
|
|
15346
|
+
text: reaction,
|
|
15347
|
+
color: color2,
|
|
15348
|
+
fading,
|
|
15349
|
+
tail: "right"
|
|
15350
|
+
}, undefined, false, undefined, this),
|
|
15351
|
+
spriteColumn
|
|
15352
|
+
]
|
|
15353
|
+
}, undefined, true, undefined, this);
|
|
15354
|
+
}
|
|
15355
|
+
function CompanionFloatingBubble() {
|
|
15356
|
+
const $ = import_compiler_runtime31.c(8);
|
|
15357
|
+
const reaction = useAppState(_temp27);
|
|
15358
|
+
let t0;
|
|
15359
|
+
if ($[0] !== reaction) {
|
|
15360
|
+
t0 = {
|
|
15361
|
+
tick: 0,
|
|
15362
|
+
forReaction: reaction
|
|
15363
|
+
};
|
|
15364
|
+
$[0] = reaction;
|
|
15365
|
+
$[1] = t0;
|
|
15366
|
+
} else {
|
|
15367
|
+
t0 = $[1];
|
|
15368
|
+
}
|
|
15369
|
+
const [t1, setTick] = import_react27.useState(t0);
|
|
15370
|
+
const {
|
|
15371
|
+
tick,
|
|
15372
|
+
forReaction
|
|
15373
|
+
} = t1;
|
|
15374
|
+
if (reaction !== forReaction) {
|
|
15375
|
+
setTick({
|
|
15376
|
+
tick: 0,
|
|
15377
|
+
forReaction: reaction
|
|
15378
|
+
});
|
|
15379
|
+
}
|
|
15380
|
+
let t2;
|
|
15381
|
+
let t3;
|
|
15382
|
+
if ($[2] !== reaction) {
|
|
15383
|
+
t2 = () => {
|
|
15384
|
+
if (!reaction) {
|
|
15385
|
+
return;
|
|
15386
|
+
}
|
|
15387
|
+
const timer = setInterval(_temp36, TICK_MS, setTick);
|
|
15388
|
+
return () => clearInterval(timer);
|
|
15389
|
+
};
|
|
15390
|
+
t3 = [reaction];
|
|
15391
|
+
$[2] = reaction;
|
|
15392
|
+
$[3] = t2;
|
|
15393
|
+
$[4] = t3;
|
|
15394
|
+
} else {
|
|
15395
|
+
t2 = $[3];
|
|
15396
|
+
t3 = $[4];
|
|
15397
|
+
}
|
|
15398
|
+
import_react27.useEffect(t2, t3);
|
|
15399
|
+
if (!reaction) {
|
|
15400
|
+
return null;
|
|
15401
|
+
}
|
|
15402
|
+
const companion = getCompanion();
|
|
15403
|
+
if (!companion || getGlobalConfig().companionMuted) {
|
|
15404
|
+
return null;
|
|
15405
|
+
}
|
|
15406
|
+
const t4 = tick >= BUBBLE_SHOW - FADE_WINDOW;
|
|
15407
|
+
let t5;
|
|
15408
|
+
if ($[5] !== reaction || $[6] !== t4) {
|
|
15409
|
+
t5 = /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(SpeechBubble, {
|
|
15410
|
+
text: reaction,
|
|
15411
|
+
color: RARITY_COLORS[companion.rarity],
|
|
15412
|
+
fading: t4,
|
|
15413
|
+
tail: "down"
|
|
15414
|
+
}, undefined, false, undefined, this);
|
|
15415
|
+
$[5] = reaction;
|
|
15416
|
+
$[6] = t4;
|
|
15417
|
+
$[7] = t5;
|
|
15418
|
+
} else {
|
|
15419
|
+
t5 = $[7];
|
|
15420
|
+
}
|
|
15421
|
+
return t5;
|
|
15422
|
+
}
|
|
15423
|
+
function _temp36(set) {
|
|
15424
|
+
return set(_temp26);
|
|
15425
|
+
}
|
|
15426
|
+
function _temp26(s_0) {
|
|
15427
|
+
return {
|
|
15428
|
+
...s_0,
|
|
15429
|
+
tick: s_0.tick + 1
|
|
15430
|
+
};
|
|
15431
|
+
}
|
|
15432
|
+
function _temp27(s) {
|
|
15433
|
+
return s.companionReaction;
|
|
15434
|
+
}
|
|
15463
15435
|
|
|
15464
15436
|
// src/buddy/useBuddyNotification.tsx
|
|
15465
15437
|
init_notifications();
|
|
@@ -15483,7 +15455,7 @@ function RainbowText(t0) {
|
|
|
15483
15455
|
let t1;
|
|
15484
15456
|
if ($[0] !== text) {
|
|
15485
15457
|
t1 = /* @__PURE__ */ jsx_dev_runtime39.jsxDEV(jsx_dev_runtime39.Fragment, {
|
|
15486
|
-
children: [...text].map(
|
|
15458
|
+
children: [...text].map(_temp29)
|
|
15487
15459
|
}, undefined, false, undefined, this);
|
|
15488
15460
|
$[0] = text;
|
|
15489
15461
|
$[1] = t1;
|
|
@@ -15492,7 +15464,7 @@ function RainbowText(t0) {
|
|
|
15492
15464
|
}
|
|
15493
15465
|
return t1;
|
|
15494
15466
|
}
|
|
15495
|
-
function
|
|
15467
|
+
function _temp29(ch, i) {
|
|
15496
15468
|
return /* @__PURE__ */ jsx_dev_runtime39.jsxDEV(ThemedText, {
|
|
15497
15469
|
color: getRainbowColor(i),
|
|
15498
15470
|
children: ch
|
|
@@ -15508,9 +15480,7 @@ function useBuddyNotification() {
|
|
|
15508
15480
|
let t1;
|
|
15509
15481
|
if ($[0] !== addNotification || $[1] !== removeNotification) {
|
|
15510
15482
|
t0 = () => {
|
|
15511
|
-
if (
|
|
15512
|
-
return;
|
|
15513
|
-
}
|
|
15483
|
+
if (false) {}
|
|
15514
15484
|
const config = getGlobalConfig();
|
|
15515
15485
|
if (config.companion || !isBuddyTeaserWindow()) {
|
|
15516
15486
|
return;
|
|
@@ -15537,8 +15507,8 @@ function useBuddyNotification() {
|
|
|
15537
15507
|
import_react28.useEffect(t0, t1);
|
|
15538
15508
|
}
|
|
15539
15509
|
function findBuddyTriggerPositions(text) {
|
|
15540
|
-
if (
|
|
15541
|
-
|
|
15510
|
+
if (false)
|
|
15511
|
+
;
|
|
15542
15512
|
const triggers = [];
|
|
15543
15513
|
const re = /\/buddy\b/g;
|
|
15544
15514
|
let m;
|
|
@@ -15634,7 +15604,7 @@ var import_semver = __toESM(require_semver(), 1);
|
|
|
15634
15604
|
function getSemverPart(version) {
|
|
15635
15605
|
return `${import_semver.major(version, { loose: true })}.${import_semver.minor(version, { loose: true })}.${import_semver.patch(version, { loose: true })}`;
|
|
15636
15606
|
}
|
|
15637
|
-
function useUpdateNotification(updatedVersion, initialVersion = "1.0.3-fork.
|
|
15607
|
+
function useUpdateNotification(updatedVersion, initialVersion = "1.0.3-fork.d431a23") {
|
|
15638
15608
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react31.useState(() => getSemverPart(initialVersion));
|
|
15639
15609
|
if (!updatedVersion) {
|
|
15640
15610
|
return null;
|
|
@@ -15679,7 +15649,7 @@ function AutoUpdater({
|
|
|
15679
15649
|
return;
|
|
15680
15650
|
}
|
|
15681
15651
|
if (false) {}
|
|
15682
|
-
const currentVersion = "1.0.3-fork.
|
|
15652
|
+
const currentVersion = "1.0.3-fork.d431a23";
|
|
15683
15653
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
15684
15654
|
let latestVersion = await getLatestVersion(channel);
|
|
15685
15655
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -15888,12 +15858,12 @@ function NativeAutoUpdater({
|
|
|
15888
15858
|
logEvent("tengu_native_auto_updater_start", {});
|
|
15889
15859
|
try {
|
|
15890
15860
|
const maxVersion = await getMaxVersion();
|
|
15891
|
-
if (maxVersion && gt("1.0.3-fork.
|
|
15861
|
+
if (maxVersion && gt("1.0.3-fork.d431a23", maxVersion)) {
|
|
15892
15862
|
const msg = await getMaxVersionMessage();
|
|
15893
15863
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
15894
15864
|
}
|
|
15895
15865
|
const result = await installLatest(channel);
|
|
15896
|
-
const currentVersion = "1.0.3-fork.
|
|
15866
|
+
const currentVersion = "1.0.3-fork.d431a23";
|
|
15897
15867
|
const latencyMs = Date.now() - startTime;
|
|
15898
15868
|
if (result.lockFailed) {
|
|
15899
15869
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -16039,17 +16009,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
16039
16009
|
const maxVersion = await getMaxVersion();
|
|
16040
16010
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
16041
16011
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
16042
|
-
if (gte("1.0.3-fork.
|
|
16043
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.0.3-fork.
|
|
16012
|
+
if (gte("1.0.3-fork.d431a23", maxVersion)) {
|
|
16013
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"1.0.3-fork.d431a23"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
16044
16014
|
setUpdateAvailable(false);
|
|
16045
16015
|
return;
|
|
16046
16016
|
}
|
|
16047
16017
|
latest = maxVersion;
|
|
16048
16018
|
}
|
|
16049
|
-
const hasUpdate = latest && !gte("1.0.3-fork.
|
|
16019
|
+
const hasUpdate = latest && !gte("1.0.3-fork.d431a23", latest) && !shouldSkipVersion(latest);
|
|
16050
16020
|
setUpdateAvailable(!!hasUpdate);
|
|
16051
16021
|
if (hasUpdate) {
|
|
16052
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.0.3-fork.
|
|
16022
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"1.0.3-fork.d431a23"} -> ${latest}`);
|
|
16053
16023
|
}
|
|
16054
16024
|
};
|
|
16055
16025
|
$[0] = t1;
|
|
@@ -16083,7 +16053,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
16083
16053
|
wrap: "truncate",
|
|
16084
16054
|
children: [
|
|
16085
16055
|
"currentVersion: ",
|
|
16086
|
-
"1.0.3-fork.
|
|
16056
|
+
"1.0.3-fork.d431a23"
|
|
16087
16057
|
]
|
|
16088
16058
|
}, undefined, true, undefined, this);
|
|
16089
16059
|
$[3] = verbose;
|
|
@@ -16568,7 +16538,7 @@ function Notifications(t0) {
|
|
|
16568
16538
|
const {
|
|
16569
16539
|
status: ideStatus
|
|
16570
16540
|
} = useIdeConnectionStatus(mcpClients);
|
|
16571
|
-
const notifications = useAppState(
|
|
16541
|
+
const notifications = useAppState(_temp30);
|
|
16572
16542
|
const {
|
|
16573
16543
|
addNotification,
|
|
16574
16544
|
removeNotification
|
|
@@ -16587,7 +16557,7 @@ function Notifications(t0) {
|
|
|
16587
16557
|
timeoutMs: isError ? 8000 : 5000
|
|
16588
16558
|
});
|
|
16589
16559
|
});
|
|
16590
|
-
return
|
|
16560
|
+
return _temp28;
|
|
16591
16561
|
};
|
|
16592
16562
|
t6 = [addNotification];
|
|
16593
16563
|
$[5] = addNotification;
|
|
@@ -16714,10 +16684,10 @@ function Notifications(t0) {
|
|
|
16714
16684
|
}
|
|
16715
16685
|
return t14;
|
|
16716
16686
|
}
|
|
16717
|
-
function
|
|
16687
|
+
function _temp28() {
|
|
16718
16688
|
return setEnvHookNotifier(null);
|
|
16719
16689
|
}
|
|
16720
|
-
function
|
|
16690
|
+
function _temp30(s) {
|
|
16721
16691
|
return s.notifications;
|
|
16722
16692
|
}
|
|
16723
16693
|
function NotificationContent({
|
|
@@ -20633,9 +20603,9 @@ function BridgeDialog(t0) {
|
|
|
20633
20603
|
onDone
|
|
20634
20604
|
} = t0;
|
|
20635
20605
|
useRegisterOverlay("bridge-dialog", undefined);
|
|
20636
|
-
const connected = useAppState(
|
|
20637
|
-
const sessionActive = useAppState(
|
|
20638
|
-
const reconnecting = useAppState(
|
|
20606
|
+
const connected = useAppState(_temp31);
|
|
20607
|
+
const sessionActive = useAppState(_temp210);
|
|
20608
|
+
const reconnecting = useAppState(_temp37);
|
|
20639
20609
|
const connectUrl = useAppState(_temp45);
|
|
20640
20610
|
const sessionUrl = useAppState(_temp53);
|
|
20641
20611
|
const error = useAppState(_temp63);
|
|
@@ -21063,13 +21033,13 @@ function _temp53(s_3) {
|
|
|
21063
21033
|
function _temp45(s_2) {
|
|
21064
21034
|
return s_2.replBridgeConnectUrl;
|
|
21065
21035
|
}
|
|
21066
|
-
function
|
|
21036
|
+
function _temp37(s_1) {
|
|
21067
21037
|
return s_1.replBridgeReconnecting;
|
|
21068
21038
|
}
|
|
21069
|
-
function
|
|
21039
|
+
function _temp210(s_0) {
|
|
21070
21040
|
return s_0.replBridgeSessionActive;
|
|
21071
21041
|
}
|
|
21072
|
-
function
|
|
21042
|
+
function _temp31(s) {
|
|
21073
21043
|
return s.replBridgeConnected;
|
|
21074
21044
|
}
|
|
21075
21045
|
|
|
@@ -21150,12 +21120,12 @@ function CoordinatorTaskPanel() {
|
|
|
21150
21120
|
}, undefined, true, undefined, this);
|
|
21151
21121
|
}
|
|
21152
21122
|
function useCoordinatorTaskCount() {
|
|
21153
|
-
const tasks = useAppState(
|
|
21123
|
+
const tasks = useAppState(_temp38);
|
|
21154
21124
|
let t0;
|
|
21155
21125
|
t0 = 0;
|
|
21156
21126
|
return t0;
|
|
21157
21127
|
}
|
|
21158
|
-
function
|
|
21128
|
+
function _temp38(s) {
|
|
21159
21129
|
return s.tasks;
|
|
21160
21130
|
}
|
|
21161
21131
|
function MainLine(t0) {
|
|
@@ -21614,7 +21584,7 @@ function ThinkingToggle(t0) {
|
|
|
21614
21584
|
defaultFocusValue: currentValue ? "true" : "false",
|
|
21615
21585
|
options,
|
|
21616
21586
|
onChange: handleSelectChange,
|
|
21617
|
-
onCancel: onCancel ??
|
|
21587
|
+
onCancel: onCancel ?? _temp40,
|
|
21618
21588
|
visibleOptionCount: 2
|
|
21619
21589
|
}, undefined, false, undefined, this)
|
|
21620
21590
|
}, undefined, false, undefined, this)
|
|
@@ -21691,7 +21661,7 @@ function ThinkingToggle(t0) {
|
|
|
21691
21661
|
}
|
|
21692
21662
|
return t11;
|
|
21693
21663
|
}
|
|
21694
|
-
function
|
|
21664
|
+
function _temp40() {}
|
|
21695
21665
|
|
|
21696
21666
|
// src/components/PromptInput/PromptInput.tsx
|
|
21697
21667
|
init_BackgroundTasksDialog();
|
|
@@ -22156,7 +22126,7 @@ function TeammateDetailView(t0) {
|
|
|
22156
22126
|
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
22157
22127
|
t4 = (input) => {
|
|
22158
22128
|
if (input === "p") {
|
|
22159
|
-
setPromptExpanded(
|
|
22129
|
+
setPromptExpanded(_temp41);
|
|
22160
22130
|
}
|
|
22161
22131
|
};
|
|
22162
22132
|
$[6] = t4;
|
|
@@ -22247,7 +22217,7 @@ function TeammateDetailView(t0) {
|
|
|
22247
22217
|
bold: true,
|
|
22248
22218
|
children: "Tasks"
|
|
22249
22219
|
}, undefined, false, undefined, this),
|
|
22250
|
-
teammateTasks.map(
|
|
22220
|
+
teammateTasks.map(_temp211)
|
|
22251
22221
|
]
|
|
22252
22222
|
}, undefined, true, undefined, this);
|
|
22253
22223
|
$[23] = teammateTasks;
|
|
@@ -22340,7 +22310,7 @@ function TeammateDetailView(t0) {
|
|
|
22340
22310
|
}
|
|
22341
22311
|
return t13;
|
|
22342
22312
|
}
|
|
22343
|
-
function
|
|
22313
|
+
function _temp211(task_0) {
|
|
22344
22314
|
return /* @__PURE__ */ jsx_dev_runtime60.jsxDEV(ThemedText, {
|
|
22345
22315
|
color: task_0.status === "completed" ? "success" : undefined,
|
|
22346
22316
|
children: [
|
|
@@ -22350,7 +22320,7 @@ function _temp210(task_0) {
|
|
|
22350
22320
|
]
|
|
22351
22321
|
}, task_0.id, true, undefined, this);
|
|
22352
22322
|
}
|
|
22353
|
-
function
|
|
22323
|
+
function _temp41(prev) {
|
|
22354
22324
|
return !prev;
|
|
22355
22325
|
}
|
|
22356
22326
|
async function killTeammate(paneId, backendType, teamName, teammateId, teammateName, setAppState) {
|
|
@@ -23575,7 +23545,7 @@ function VimTextInput(props) {
|
|
|
23575
23545
|
const t11 = props.multiline;
|
|
23576
23546
|
const t12 = props.showCursor ? " " : "";
|
|
23577
23547
|
const t13 = props.highlightPastedText;
|
|
23578
|
-
const t14 = isTerminalFocused ? source_default.inverse :
|
|
23548
|
+
const t14 = isTerminalFocused ? source_default.inverse : _temp46;
|
|
23579
23549
|
let t15;
|
|
23580
23550
|
if ($[0] !== theme) {
|
|
23581
23551
|
t15 = color("text", theme);
|
|
@@ -23688,7 +23658,7 @@ function VimTextInput(props) {
|
|
|
23688
23658
|
}
|
|
23689
23659
|
return t19;
|
|
23690
23660
|
}
|
|
23691
|
-
function
|
|
23661
|
+
function _temp46(text) {
|
|
23692
23662
|
return text;
|
|
23693
23663
|
}
|
|
23694
23664
|
|
|
@@ -23780,7 +23750,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
23780
23750
|
project_dir: getOriginalCwd(),
|
|
23781
23751
|
added_dirs: addedDirs
|
|
23782
23752
|
},
|
|
23783
|
-
version: "1.0.3-fork.
|
|
23753
|
+
version: "1.0.3-fork.d431a23",
|
|
23784
23754
|
output_style: {
|
|
23785
23755
|
name: outputStyleName
|
|
23786
23756
|
},
|
|
@@ -24090,18 +24060,18 @@ function BackgroundTaskStatus(t0) {
|
|
|
24090
24060
|
const {
|
|
24091
24061
|
columns
|
|
24092
24062
|
} = useTerminalSize();
|
|
24093
|
-
const tasks = useAppState(
|
|
24094
|
-
const viewingAgentTaskId = useAppState(
|
|
24063
|
+
const tasks = useAppState(_temp48);
|
|
24064
|
+
const viewingAgentTaskId = useAppState(_temp212);
|
|
24095
24065
|
let t3;
|
|
24096
24066
|
if ($[0] !== tasks) {
|
|
24097
|
-
t3 = Object.values(tasks ?? {}).filter(
|
|
24067
|
+
t3 = Object.values(tasks ?? {}).filter(_temp39);
|
|
24098
24068
|
$[0] = tasks;
|
|
24099
24069
|
$[1] = t3;
|
|
24100
24070
|
} else {
|
|
24101
24071
|
t3 = $[1];
|
|
24102
24072
|
}
|
|
24103
24073
|
const runningTasks = t3;
|
|
24104
|
-
const expandedView = useAppState(
|
|
24074
|
+
const expandedView = useAppState(_temp47);
|
|
24105
24075
|
const showSpinnerTree = expandedView === "teammates";
|
|
24106
24076
|
const allTeammates = !showSpinnerTree && runningTasks.length > 0 && runningTasks.every(_temp54);
|
|
24107
24077
|
let t4;
|
|
@@ -24376,16 +24346,16 @@ function _temp64(t_1) {
|
|
|
24376
24346
|
function _temp54(t_0) {
|
|
24377
24347
|
return t_0.type === "in_process_teammate";
|
|
24378
24348
|
}
|
|
24379
|
-
function
|
|
24349
|
+
function _temp47(s_1) {
|
|
24380
24350
|
return s_1.expandedView;
|
|
24381
24351
|
}
|
|
24382
|
-
function
|
|
24352
|
+
function _temp39(t) {
|
|
24383
24353
|
return isBackgroundTask(t) && true;
|
|
24384
24354
|
}
|
|
24385
|
-
function
|
|
24355
|
+
function _temp212(s_0) {
|
|
24386
24356
|
return s_0.viewingAgentTaskId;
|
|
24387
24357
|
}
|
|
24388
|
-
function
|
|
24358
|
+
function _temp48(s) {
|
|
24389
24359
|
return s.tasks;
|
|
24390
24360
|
}
|
|
24391
24361
|
function AgentPill(t0) {
|
|
@@ -24603,7 +24573,7 @@ function TeamStatus(t0) {
|
|
|
24603
24573
|
const teamContext = useAppState(_temp49);
|
|
24604
24574
|
let t1;
|
|
24605
24575
|
if ($[0] !== teamContext) {
|
|
24606
|
-
t1 = teamContext ? Object.values(teamContext.teammates).filter(
|
|
24576
|
+
t1 = teamContext ? Object.values(teamContext.teammates).filter(_temp213).length : 0;
|
|
24607
24577
|
$[0] = teamContext;
|
|
24608
24578
|
$[1] = t1;
|
|
24609
24579
|
} else {
|
|
@@ -24679,7 +24649,7 @@ function TeamStatus(t0) {
|
|
|
24679
24649
|
}
|
|
24680
24650
|
return t6;
|
|
24681
24651
|
}
|
|
24682
|
-
function
|
|
24652
|
+
function _temp213(t) {
|
|
24683
24653
|
return t.name !== "team-lead";
|
|
24684
24654
|
}
|
|
24685
24655
|
function _temp49(s) {
|
|
@@ -26071,10 +26041,7 @@ function PromptInput({
|
|
|
26071
26041
|
const {
|
|
26072
26042
|
companion: _companion,
|
|
26073
26043
|
companionMuted
|
|
26074
|
-
} =
|
|
26075
|
-
companion: undefined,
|
|
26076
|
-
companionMuted: undefined
|
|
26077
|
-
};
|
|
26044
|
+
} = getGlobalConfig();
|
|
26078
26045
|
const companionFooterVisible = !!_companion && !companionMuted;
|
|
26079
26046
|
const briefOwnsGap = false;
|
|
26080
26047
|
const mainLoopModel_ = useAppState((s) => s.mainLoopModel);
|
|
@@ -27115,7 +27082,10 @@ function PromptInput({
|
|
|
27115
27082
|
}
|
|
27116
27083
|
switch (footerItemSelected) {
|
|
27117
27084
|
case "companion":
|
|
27118
|
-
if (
|
|
27085
|
+
if (true) {
|
|
27086
|
+
selectFooterItem(null);
|
|
27087
|
+
onSubmit("/buddy");
|
|
27088
|
+
}
|
|
27119
27089
|
break;
|
|
27120
27090
|
case "tasks":
|
|
27121
27091
|
if (isTeammateMode) {
|
|
@@ -27282,7 +27252,7 @@ function PromptInput({
|
|
|
27282
27252
|
});
|
|
27283
27253
|
}, [effortNotificationText, addNotification, removeNotification]);
|
|
27284
27254
|
useBuddyNotification();
|
|
27285
|
-
const companionSpeaking =
|
|
27255
|
+
const companionSpeaking = useAppState((s) => s.companionReaction !== undefined);
|
|
27286
27256
|
const {
|
|
27287
27257
|
columns,
|
|
27288
27258
|
rows
|
|
@@ -32116,7 +32086,7 @@ function SessionBackgroundHint(t0) {
|
|
|
32116
32086
|
if (hasForegroundTasks(state)) {
|
|
32117
32087
|
backgroundAll(() => appStateStore.getState(), setAppState);
|
|
32118
32088
|
if (!getGlobalConfig().hasUsedBackgroundTask) {
|
|
32119
|
-
saveGlobalConfig(
|
|
32089
|
+
saveGlobalConfig(_temp214);
|
|
32120
32090
|
}
|
|
32121
32091
|
} else {
|
|
32122
32092
|
if (isEnvTruthy("false") && isLoading) {
|
|
@@ -32179,7 +32149,7 @@ function SessionBackgroundHint(t0) {
|
|
|
32179
32149
|
}
|
|
32180
32150
|
return t5;
|
|
32181
32151
|
}
|
|
32182
|
-
function
|
|
32152
|
+
function _temp214(c) {
|
|
32183
32153
|
return c.hasUsedBackgroundTask ? c : {
|
|
32184
32154
|
...c,
|
|
32185
32155
|
hasUsedBackgroundTask: true
|
|
@@ -32753,7 +32723,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
32753
32723
|
} catch {}
|
|
32754
32724
|
const data = {
|
|
32755
32725
|
trigger,
|
|
32756
|
-
version: "1.0.3-fork.
|
|
32726
|
+
version: "1.0.3-fork.d431a23",
|
|
32757
32727
|
platform: process.platform,
|
|
32758
32728
|
transcript,
|
|
32759
32729
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -33345,7 +33315,7 @@ function usePostCompactSurvey(messages, isLoading, t0, t1) {
|
|
|
33345
33315
|
const seenCompactBoundaries = import_react98.useRef(t4);
|
|
33346
33316
|
const pendingCompactBoundaryUuid = import_react98.useRef(null);
|
|
33347
33317
|
const onOpen = _temp59;
|
|
33348
|
-
const onSelect =
|
|
33318
|
+
const onSelect = _temp215;
|
|
33349
33319
|
let t5;
|
|
33350
33320
|
if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
33351
33321
|
t5 = {
|
|
@@ -33383,7 +33353,7 @@ function usePostCompactSurvey(messages, isLoading, t0, t1) {
|
|
|
33383
33353
|
import_react98.useEffect(t6, t7);
|
|
33384
33354
|
let t8;
|
|
33385
33355
|
if ($[7] !== messages) {
|
|
33386
|
-
t8 = new Set(messages.filter(
|
|
33356
|
+
t8 = new Set(messages.filter(_temp311).map(_temp410));
|
|
33387
33357
|
$[7] = messages;
|
|
33388
33358
|
$[8] = t8;
|
|
33389
33359
|
} else {
|
|
@@ -33459,13 +33429,13 @@ function usePostCompactSurvey(messages, isLoading, t0, t1) {
|
|
|
33459
33429
|
}
|
|
33460
33430
|
return t11;
|
|
33461
33431
|
}
|
|
33462
|
-
function
|
|
33432
|
+
function _temp410(msg_0) {
|
|
33463
33433
|
return msg_0.uuid;
|
|
33464
33434
|
}
|
|
33465
|
-
function
|
|
33435
|
+
function _temp311(msg) {
|
|
33466
33436
|
return isCompactBoundaryMessage(msg);
|
|
33467
33437
|
}
|
|
33468
|
-
function
|
|
33438
|
+
function _temp215(appearanceId_0, selected) {
|
|
33469
33439
|
const smCompactionEnabled_0 = shouldUseSessionMemoryCompaction();
|
|
33470
33440
|
logEvent("tengu_post_compact_survey_event", {
|
|
33471
33441
|
event_type: "responded",
|
|
@@ -33891,9 +33861,9 @@ function useStartupNotification(compute) {
|
|
|
33891
33861
|
|
|
33892
33862
|
// src/hooks/notifs/useInstallMessages.tsx
|
|
33893
33863
|
function useInstallMessages() {
|
|
33894
|
-
useStartupNotification(
|
|
33864
|
+
useStartupNotification(_temp216);
|
|
33895
33865
|
}
|
|
33896
|
-
async function
|
|
33866
|
+
async function _temp216() {
|
|
33897
33867
|
const messages = await checkInstall();
|
|
33898
33868
|
return messages.map(_temp60);
|
|
33899
33869
|
}
|
|
@@ -34787,9 +34757,9 @@ function useMcpConnectivityStatus(t0) {
|
|
|
34787
34757
|
return;
|
|
34788
34758
|
}
|
|
34789
34759
|
const failedLocalClients = mcpClients.filter(_temp69);
|
|
34790
|
-
const failedClaudeAiClients = mcpClients.filter(
|
|
34791
|
-
const needsAuthLocalServers = mcpClients.filter(
|
|
34792
|
-
const needsAuthClaudeAiServers = mcpClients.filter(
|
|
34760
|
+
const failedClaudeAiClients = mcpClients.filter(_temp217);
|
|
34761
|
+
const needsAuthLocalServers = mcpClients.filter(_temp312);
|
|
34762
|
+
const needsAuthClaudeAiServers = mcpClients.filter(_temp412);
|
|
34793
34763
|
if (failedLocalClients.length === 0 && failedClaudeAiClients.length === 0 && needsAuthLocalServers.length === 0 && needsAuthClaudeAiServers.length === 0) {
|
|
34794
34764
|
return;
|
|
34795
34765
|
}
|
|
@@ -34904,13 +34874,13 @@ function useMcpConnectivityStatus(t0) {
|
|
|
34904
34874
|
}
|
|
34905
34875
|
import_react104.useEffect(t2, t3);
|
|
34906
34876
|
}
|
|
34907
|
-
function
|
|
34877
|
+
function _temp412(client_2) {
|
|
34908
34878
|
return client_2.type === "needs-auth" && client_2.config.type === "claudeai-proxy" && hasClaudeAiMcpEverConnected(client_2.name);
|
|
34909
34879
|
}
|
|
34910
|
-
function
|
|
34880
|
+
function _temp312(client_1) {
|
|
34911
34881
|
return client_1.type === "needs-auth" && client_1.config.type !== "claudeai-proxy";
|
|
34912
34882
|
}
|
|
34913
|
-
function
|
|
34883
|
+
function _temp217(client_0) {
|
|
34914
34884
|
return client_0.type === "failed" && client_0.config.type === "claudeai-proxy" && hasClaudeAiMcpEverConnected(client_0.name);
|
|
34915
34885
|
}
|
|
34916
34886
|
function _temp69(client) {
|
|
@@ -34993,7 +34963,7 @@ function useLspInitializationNotification() {
|
|
|
34993
34963
|
notifiedErrorsRef.current.add(errorKey);
|
|
34994
34964
|
logForDebugging(`LSP error: ${source} - ${errorMessage4}`);
|
|
34995
34965
|
setAppState((prev) => {
|
|
34996
|
-
const existingKeys = new Set(prev.plugins.errors.map(
|
|
34966
|
+
const existingKeys = new Set(prev.plugins.errors.map(_temp218));
|
|
34997
34967
|
const stateErrorKey = `generic-error:${source}:${errorMessage4}`;
|
|
34998
34968
|
if (existingKeys.has(stateErrorKey)) {
|
|
34999
34969
|
return prev;
|
|
@@ -35095,7 +35065,7 @@ function useLspInitializationNotification() {
|
|
|
35095
35065
|
}
|
|
35096
35066
|
React33.useEffect(t3, t4);
|
|
35097
35067
|
}
|
|
35098
|
-
function
|
|
35068
|
+
function _temp218(e) {
|
|
35099
35069
|
if (e.type === "generic-error") {
|
|
35100
35070
|
return `generic-error:${e.source}:${e.error}`;
|
|
35101
35071
|
}
|
|
@@ -35535,7 +35505,7 @@ function useLspPluginRecommendation() {
|
|
|
35535
35505
|
break bb60;
|
|
35536
35506
|
}
|
|
35537
35507
|
case "disable": {
|
|
35538
|
-
saveGlobalConfig(
|
|
35508
|
+
saveGlobalConfig(_temp219);
|
|
35539
35509
|
}
|
|
35540
35510
|
}
|
|
35541
35511
|
clearRecommendation();
|
|
@@ -35562,7 +35532,7 @@ function useLspPluginRecommendation() {
|
|
|
35562
35532
|
}
|
|
35563
35533
|
return t4;
|
|
35564
35534
|
}
|
|
35565
|
-
function
|
|
35535
|
+
function _temp219(current) {
|
|
35566
35536
|
if (current.lspRecommendationDisabled) {
|
|
35567
35537
|
return current;
|
|
35568
35538
|
}
|
|
@@ -35976,7 +35946,7 @@ function usePluginInstallationStatus() {
|
|
|
35976
35946
|
}
|
|
35977
35947
|
let t12;
|
|
35978
35948
|
if ($[1] !== installationStatus.marketplaces) {
|
|
35979
|
-
t12 = installationStatus.marketplaces.filter(
|
|
35949
|
+
t12 = installationStatus.marketplaces.filter(_temp220);
|
|
35980
35950
|
$[1] = installationStatus.marketplaces;
|
|
35981
35951
|
$[2] = t12;
|
|
35982
35952
|
} else {
|
|
@@ -35985,7 +35955,7 @@ function usePluginInstallationStatus() {
|
|
|
35985
35955
|
const failedMarketplaces = t12;
|
|
35986
35956
|
let t22;
|
|
35987
35957
|
if ($[3] !== installationStatus.plugins) {
|
|
35988
|
-
t22 = installationStatus.plugins.filter(
|
|
35958
|
+
t22 = installationStatus.plugins.filter(_temp313);
|
|
35989
35959
|
$[3] = installationStatus.plugins;
|
|
35990
35960
|
$[4] = t22;
|
|
35991
35961
|
} else {
|
|
@@ -36076,10 +36046,10 @@ function usePluginInstallationStatus() {
|
|
|
36076
36046
|
}
|
|
36077
36047
|
import_react106.useEffect(t1, t2);
|
|
36078
36048
|
}
|
|
36079
|
-
function
|
|
36049
|
+
function _temp313(p) {
|
|
36080
36050
|
return p.status === "failed";
|
|
36081
36051
|
}
|
|
36082
|
-
function
|
|
36052
|
+
function _temp220(m) {
|
|
36083
36053
|
return m.status === "failed";
|
|
36084
36054
|
}
|
|
36085
36055
|
function _temp74(s) {
|
|
@@ -36690,7 +36660,7 @@ function useIDEStatusIndicator(t0) {
|
|
|
36690
36660
|
if (hasShownHintRef.current || (getGlobalConfig().ideHintShownCount ?? 0) >= MAX_IDE_HINT_SHOW_COUNT) {
|
|
36691
36661
|
return;
|
|
36692
36662
|
}
|
|
36693
|
-
const timeoutId = setTimeout(
|
|
36663
|
+
const timeoutId = setTimeout(_temp221, 3000, hasShownHintRef, addNotification);
|
|
36694
36664
|
return () => clearTimeout(timeoutId);
|
|
36695
36665
|
};
|
|
36696
36666
|
t3 = [addNotification, removeNotification, ideStatus, showJetBrainsInfo];
|
|
@@ -36795,7 +36765,7 @@ function useIDEStatusIndicator(t0) {
|
|
|
36795
36765
|
}
|
|
36796
36766
|
import_react111.useEffect(t8, t9);
|
|
36797
36767
|
}
|
|
36798
|
-
function
|
|
36768
|
+
function _temp221(hasShownHintRef_0, addNotification_0) {
|
|
36799
36769
|
detectIDEs(true).then((infos) => {
|
|
36800
36770
|
const ideName_0 = infos[0]?.name;
|
|
36801
36771
|
if (ideName_0 && !hasShownHintRef_0.current) {
|
|
@@ -36880,9 +36850,9 @@ init_config2();
|
|
|
36880
36850
|
var jsx_dev_runtime96 = __toESM(require_jsx_dev_runtime(), 1);
|
|
36881
36851
|
var MAX_SHOW_COUNT = 3;
|
|
36882
36852
|
function useCanSwitchToExistingSubscription() {
|
|
36883
|
-
useStartupNotification(
|
|
36853
|
+
useStartupNotification(_temp222);
|
|
36884
36854
|
}
|
|
36885
|
-
async function
|
|
36855
|
+
async function _temp222() {
|
|
36886
36856
|
if ((getGlobalConfig().subscriptionNoticeCount ?? 0) >= MAX_SHOW_COUNT) {
|
|
36887
36857
|
return null;
|
|
36888
36858
|
}
|
|
@@ -37036,7 +37006,7 @@ function useFastModeNotification() {
|
|
|
37036
37006
|
});
|
|
37037
37007
|
} else {
|
|
37038
37008
|
if (isFastMode) {
|
|
37039
|
-
setAppState(
|
|
37009
|
+
setAppState(_temp223);
|
|
37040
37010
|
addNotification({
|
|
37041
37011
|
key: ORG_CHANGED_KEY,
|
|
37042
37012
|
color: "warning",
|
|
@@ -37069,7 +37039,7 @@ function useFastModeNotification() {
|
|
|
37069
37039
|
return;
|
|
37070
37040
|
}
|
|
37071
37041
|
return onFastModeOverageRejection((message) => {
|
|
37072
|
-
setAppState(
|
|
37042
|
+
setAppState(_temp314);
|
|
37073
37043
|
addNotification({
|
|
37074
37044
|
key: OVERAGE_REJECTED_KEY,
|
|
37075
37045
|
color: "warning",
|
|
@@ -37136,13 +37106,13 @@ function useFastModeNotification() {
|
|
|
37136
37106
|
}
|
|
37137
37107
|
import_react113.useEffect(t4, t5);
|
|
37138
37108
|
}
|
|
37139
|
-
function
|
|
37109
|
+
function _temp314(prev_0) {
|
|
37140
37110
|
return {
|
|
37141
37111
|
...prev_0,
|
|
37142
37112
|
fastMode: false
|
|
37143
37113
|
};
|
|
37144
37114
|
}
|
|
37145
|
-
function
|
|
37115
|
+
function _temp223(prev) {
|
|
37146
37116
|
return {
|
|
37147
37117
|
...prev,
|
|
37148
37118
|
fastMode: false
|
|
@@ -38409,7 +38379,7 @@ function AnimatedTerminalTitle(t0) {
|
|
|
38409
38379
|
if (disabled || noPrefix || !isAnimating || !terminalFocused) {
|
|
38410
38380
|
return;
|
|
38411
38381
|
}
|
|
38412
|
-
const interval = setInterval(
|
|
38382
|
+
const interval = setInterval(_temp224, TITLE_ANIMATION_INTERVAL_MS, setFrame);
|
|
38413
38383
|
return () => clearInterval(interval);
|
|
38414
38384
|
};
|
|
38415
38385
|
t2 = [disabled, noPrefix, isAnimating, terminalFocused];
|
|
@@ -38428,7 +38398,7 @@ function AnimatedTerminalTitle(t0) {
|
|
|
38428
38398
|
useTerminalTitle(disabled ? null : noPrefix ? title : `${prefix} ${title}`);
|
|
38429
38399
|
return null;
|
|
38430
38400
|
}
|
|
38431
|
-
function
|
|
38401
|
+
function _temp224(setFrame_0) {
|
|
38432
38402
|
return setFrame_0(_temp87);
|
|
38433
38403
|
}
|
|
38434
38404
|
function _temp87(f) {
|
|
@@ -38715,11 +38685,11 @@ function REPL({
|
|
|
38715
38685
|
(async () => {
|
|
38716
38686
|
const {
|
|
38717
38687
|
isInternalModelRepo
|
|
38718
|
-
} = await import("./chunk-
|
|
38688
|
+
} = await import("./chunk-we8493ct.js");
|
|
38719
38689
|
await isInternalModelRepo();
|
|
38720
38690
|
const {
|
|
38721
38691
|
shouldShowUndercoverAutoNotice
|
|
38722
|
-
} = await import("./chunk-
|
|
38692
|
+
} = await import("./chunk-jwztt420.js");
|
|
38723
38693
|
if (shouldShowUndercoverAutoNotice()) {
|
|
38724
38694
|
setShowUndercoverCallout(true);
|
|
38725
38695
|
}
|
|
@@ -38851,7 +38821,12 @@ function REPL({
|
|
|
38851
38821
|
onScrollAway(handle);
|
|
38852
38822
|
if (false)
|
|
38853
38823
|
;
|
|
38854
|
-
if (
|
|
38824
|
+
if (true) {
|
|
38825
|
+
setAppState((prev) => prev.companionReaction === undefined ? prev : {
|
|
38826
|
+
...prev,
|
|
38827
|
+
companionReaction: undefined
|
|
38828
|
+
});
|
|
38829
|
+
}
|
|
38855
38830
|
}
|
|
38856
38831
|
}, [onRepin, onScrollAway, maybeLoadOlder, setAppState]);
|
|
38857
38832
|
const awaitPendingHooks = useDeferredHookMessages(pendingHookMessages, setMessages);
|
|
@@ -39795,7 +39770,12 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
39795
39770
|
})) {
|
|
39796
39771
|
onQueryEvent(event);
|
|
39797
39772
|
}
|
|
39798
|
-
if (
|
|
39773
|
+
if (true) {
|
|
39774
|
+
fireCompanionObserver(messagesRef.current, (reaction) => setAppState((prev) => prev.companionReaction === reaction ? prev : {
|
|
39775
|
+
...prev,
|
|
39776
|
+
companionReaction: reaction
|
|
39777
|
+
}));
|
|
39778
|
+
}
|
|
39799
39779
|
queryCheckpoint("query_end");
|
|
39800
39780
|
if (process.env.USER_TYPE === "ant" && apiMetricsRef.current.length > 0) {
|
|
39801
39781
|
const entries = apiMetricsRef.current;
|
|
@@ -39933,7 +39913,7 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
39933
39913
|
const oldPlanSlug = initialMsg.message.planContent ? getPlanSlug() : undefined;
|
|
39934
39914
|
const {
|
|
39935
39915
|
clearConversation
|
|
39936
|
-
} = await import("./chunk-
|
|
39916
|
+
} = await import("./chunk-cbyjgrrq.js");
|
|
39937
39917
|
await clearConversation({
|
|
39938
39918
|
setMessages,
|
|
39939
39919
|
readFileState: readFileState.current,
|
|
@@ -41083,7 +41063,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
41083
41063
|
children: /* @__PURE__ */ jsx_dev_runtime100.jsxDEV(FullscreenLayout, {
|
|
41084
41064
|
scrollRef,
|
|
41085
41065
|
overlay: toolPermissionOverlay,
|
|
41086
|
-
bottomFloat: undefined,
|
|
41066
|
+
bottomFloat: companionVisible && !companionNarrow ? /* @__PURE__ */ jsx_dev_runtime100.jsxDEV(CompanionFloatingBubble, {}, undefined, false, undefined, this) : undefined,
|
|
41087
41067
|
modal: centeredModal,
|
|
41088
41068
|
modalScrollRef,
|
|
41089
41069
|
dividerYRef,
|
|
@@ -41162,11 +41142,11 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
41162
41142
|
]
|
|
41163
41143
|
}, undefined, true, undefined, this),
|
|
41164
41144
|
bottom: /* @__PURE__ */ jsx_dev_runtime100.jsxDEV(ThemedBox_default, {
|
|
41165
|
-
flexDirection: "row",
|
|
41145
|
+
flexDirection: companionNarrow ? "column" : "row",
|
|
41166
41146
|
width: "100%",
|
|
41167
|
-
alignItems: "flex-end",
|
|
41147
|
+
alignItems: companionNarrow ? undefined : "flex-end",
|
|
41168
41148
|
children: [
|
|
41169
|
-
null,
|
|
41149
|
+
companionNarrow && isFullscreenEnvEnabled() && companionVisible ? /* @__PURE__ */ jsx_dev_runtime100.jsxDEV(CompanionSprite, {}, undefined, false, undefined, this) : null,
|
|
41170
41150
|
/* @__PURE__ */ jsx_dev_runtime100.jsxDEV(ThemedBox_default, {
|
|
41171
41151
|
flexDirection: "column",
|
|
41172
41152
|
flexGrow: 1,
|
|
@@ -41368,7 +41348,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
41368
41348
|
if (action === "clear") {
|
|
41369
41349
|
const {
|
|
41370
41350
|
clearConversation
|
|
41371
|
-
} = await import("./chunk-
|
|
41351
|
+
} = await import("./chunk-cbyjgrrq.js");
|
|
41372
41352
|
await clearConversation({
|
|
41373
41353
|
setMessages,
|
|
41374
41354
|
readFileState: readFileState.current,
|
|
@@ -41635,7 +41615,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
41635
41615
|
process.env.USER_TYPE === "ant" && /* @__PURE__ */ jsx_dev_runtime100.jsxDEV(DevBar, {}, undefined, false, undefined, this)
|
|
41636
41616
|
]
|
|
41637
41617
|
}, undefined, true, undefined, this),
|
|
41638
|
-
null
|
|
41618
|
+
!(companionNarrow && isFullscreenEnvEnabled()) && companionVisible ? /* @__PURE__ */ jsx_dev_runtime100.jsxDEV(CompanionSprite, {}, undefined, false, undefined, this) : null
|
|
41639
41619
|
]
|
|
41640
41620
|
}, undefined, true, undefined, this)
|
|
41641
41621
|
}, undefined, false, undefined, this)
|