claude-code-best 1.6.0 → 1.7.1
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 +6 -2
- package/dist/{chunk-06m6yjnz.js → chunk-0c09ctw9.js} +3 -3
- package/dist/{chunk-p9raznh3.js → chunk-0ngjj5zb.js} +3 -3
- package/dist/{chunk-pnce43w9.js → chunk-0p4mywr8.js} +2 -2
- package/dist/{chunk-w00zsb2e.js → chunk-0qwr9vf2.js} +25 -26
- package/dist/{chunk-kvz1fqtz.js → chunk-0s3cknq8.js} +24 -25
- package/dist/{chunk-rge50hxa.js → chunk-0ze72jkx.js} +1 -1
- package/dist/{chunk-85ynz1j4.js → chunk-0zmd6k77.js} +1 -1
- package/dist/{chunk-9k8waat0.js → chunk-10gqkqqz.js} +24 -25
- package/dist/{chunk-3rr6w2ew.js → chunk-13x7ae5g.js} +24 -25
- package/dist/{chunk-y95s36q8.js → chunk-159snprv.js} +2 -2
- package/dist/{chunk-v4tyc9gy.js → chunk-1aqf1eg0.js} +24 -25
- package/dist/{chunk-nyq7azad.js → chunk-1d5kftp0.js} +1 -1
- package/dist/{chunk-yp3temxc.js → chunk-1pgh0hcx.js} +26 -27
- package/dist/{chunk-qen353t0.js → chunk-1rzfwk2p.js} +24 -25
- package/dist/{chunk-e1mt3gg8.js → chunk-1t3qp5zp.js} +78 -80
- package/dist/{chunk-ajnpkybt.js → chunk-28j1411k.js} +24 -25
- package/dist/{chunk-7b36p1rr.js → chunk-29ctb65b.js} +24 -25
- package/dist/{chunk-rme80k7z.js → chunk-2anby6jt.js} +24 -25
- package/dist/{chunk-ver1drq7.js → chunk-2fwc58n0.js} +25 -26
- package/dist/{chunk-qz2x630m.js → chunk-2s7htg5e.js} +16 -2
- package/dist/{chunk-ycsyvjd6.js → chunk-2t2hv89z.js} +1 -1
- package/dist/{chunk-wajqaecc.js → chunk-2xwg4n4g.js} +27 -28
- package/dist/{chunk-nehh8v1w.js → chunk-32ygj603.js} +50333 -50254
- package/dist/{chunk-w2c4y3h3.js → chunk-33azshn2.js} +27 -28
- package/dist/{chunk-44ypq71y.js → chunk-3bk19qqw.js} +25 -26
- package/dist/{chunk-06mn6y9e.js → chunk-3c2cmpad.js} +1 -1
- package/dist/{chunk-h8pwq0c0.js → chunk-3gqkm6yb.js} +8 -8
- package/dist/{chunk-5ne8b76c.js → chunk-3htwv7nq.js} +2 -2
- package/dist/{chunk-kh6aet31.js → chunk-3ncvsf7c.js} +17 -38
- package/dist/{chunk-zq6xjwh3.js → chunk-3psgp9hy.js} +5 -5
- package/dist/{chunk-65g56cef.js → chunk-3rqtjbmd.js} +1 -1
- package/dist/{chunk-cp6aw4b4.js → chunk-3tkw60y5.js} +2 -2
- package/dist/{chunk-94hgh8xm.js → chunk-3vwx2q69.js} +24 -25
- package/dist/{chunk-1ebsk0bq.js → chunk-3vxjpetx.js} +24 -25
- package/dist/{chunk-dwjty9de.js → chunk-3xk7kshk.js} +2 -2
- package/dist/{chunk-a33jdcj1.js → chunk-3zqa8xjd.js} +24 -25
- package/dist/{chunk-6bjq92fz.js → chunk-41a24qdp.js} +2 -2
- package/dist/{chunk-0pzfy07n.js → chunk-43m821vy.js} +1 -1
- package/dist/{chunk-sbrdj4q3.js → chunk-454aqavg.js} +1 -1
- package/dist/{chunk-mwt5qpts.js → chunk-4esnbhta.js} +1 -1
- package/dist/{chunk-qdrvshg5.js → chunk-4pbcb5we.js} +29 -30
- package/dist/{chunk-39ze6y2t.js → chunk-4sa9n0cc.js} +25 -26
- package/dist/{chunk-kvpx7b12.js → chunk-4swx4ppb.js} +3 -3
- package/dist/{chunk-47s3xqt9.js → chunk-4td4spg0.js} +2 -2
- package/dist/{chunk-wvd95cw9.js → chunk-4ttn9vdv.js} +25 -26
- package/dist/{chunk-7fj174qp.js → chunk-5274x45m.js} +34 -35
- package/dist/{chunk-jactbmbc.js → chunk-527hbcfv.js} +2 -2
- package/dist/{chunk-6ak9m2p0.js → chunk-5624a5q2.js} +24 -25
- package/dist/{chunk-cqwrkb5q.js → chunk-57mqw5p6.js} +3 -3
- package/dist/{chunk-c4r5wn2p.js → chunk-59xacw9j.js} +2 -2
- package/dist/{chunk-j4wjjr40.js → chunk-5d3jbcpt.js} +3 -3
- package/dist/{chunk-5xh2w8rj.js → chunk-5hke2tf3.js} +35 -36
- package/dist/{chunk-4s7j9adp.js → chunk-5kh1acbv.js} +2 -2
- package/dist/{chunk-k5dy4wb2.js → chunk-5mwkjx3k.js} +25 -26
- package/dist/{chunk-y67tx39r.js → chunk-5p8ydq9g.js} +34 -35
- package/dist/{chunk-md6ph7f0.js → chunk-5qtkp2mj.js} +1 -1
- package/dist/{chunk-sqv5v9c6.js → chunk-5smkgqwr.js} +25 -26
- package/dist/{chunk-d1jh53n4.js → chunk-5v3y1psy.js} +3 -3
- package/dist/{chunk-r7zah2mc.js → chunk-5zxeyaxz.js} +1 -1
- package/dist/{chunk-rg6d1z8c.js → chunk-6fzr4kj4.js} +24 -25
- package/dist/{chunk-q81p4xbk.js → chunk-6h63mvk4.js} +25 -26
- package/dist/{chunk-zekf5a9w.js → chunk-6jz7s6wz.js} +24 -25
- package/dist/{chunk-1wpa6fka.js → chunk-6kac1qfb.js} +2 -2
- package/dist/{chunk-hbwk1t3g.js → chunk-6trp0r8x.js} +4 -4
- package/dist/{chunk-134aw5qc.js → chunk-6v436rfb.js} +3 -3
- package/dist/{chunk-308sj730.js → chunk-6wfhbzc1.js} +1 -1
- package/dist/{chunk-07z315wh.js → chunk-6yaz584z.js} +2 -2
- package/dist/{chunk-px928s01.js → chunk-6zp1wxjy.js} +25 -26
- package/dist/{chunk-emssbp9c.js → chunk-72yz0tbm.js} +25 -26
- package/dist/{chunk-zhx5p7mj.js → chunk-78jkzq3m.js} +1 -1
- package/dist/{chunk-6h6kzvyd.js → chunk-7c5jg6w0.js} +3 -3
- package/dist/{chunk-y5e58z24.js → chunk-7f1c6gzw.js} +29 -29
- package/dist/{chunk-yqkgtdqz.js → chunk-7jzmgpwq.js} +1 -1
- package/dist/{chunk-rsvbqdc6.js → chunk-7k1vz9j7.js} +24 -25
- package/dist/{chunk-cbhg7pj8.js → chunk-7qjg6ecw.js} +1 -1
- package/dist/{chunk-g6vy1g36.js → chunk-7ts1dfw3.js} +3 -3
- package/dist/{chunk-d2jpnp1j.js → chunk-7xt30t8j.js} +1 -1
- package/dist/{chunk-mprra2ge.js → chunk-7z02mx79.js} +3 -3
- package/dist/{chunk-c3mws4gv.js → chunk-85vs8p09.js} +27 -28
- package/dist/{chunk-0se18bzm.js → chunk-87ktxdyf.js} +13 -13
- package/dist/{chunk-j13qvqst.js → chunk-8ahndzg3.js} +3 -3
- package/dist/{chunk-ktbb0528.js → chunk-8bv0e23a.js} +26 -27
- package/dist/{chunk-yhdzck3b.js → chunk-8chp8mep.js} +24 -25
- package/dist/{chunk-dyhfjckm.js → chunk-8edksjra.js} +30 -26
- package/dist/{chunk-5314bzte.js → chunk-8ftek32t.js} +33 -34
- package/dist/{chunk-zz66k2ez.js → chunk-8g20wmye.js} +1 -1
- package/dist/{chunk-ppksn8yg.js → chunk-8h534ffy.js} +2 -2
- package/dist/{chunk-m2rc6fxg.js → chunk-8jqwxzkc.js} +1 -1
- package/dist/{chunk-yj1vmad8.js → chunk-8tz982yk.js} +17 -17
- package/dist/{chunk-q43nehrh.js → chunk-8vbb72kn.js} +24 -25
- package/dist/{chunk-4fknb3yz.js → chunk-90r6cwe0.js} +24 -25
- package/dist/{chunk-h0pp1v1m.js → chunk-92an7ayz.js} +28 -29
- package/dist/{chunk-10cr56hf.js → chunk-976es2gw.js} +24 -25
- package/dist/{chunk-cqz41311.js → chunk-99jf37qt.js} +1 -1
- package/dist/{chunk-bawcaat7.js → chunk-99jj8hq0.js} +1 -1
- package/dist/{chunk-5cterfds.js → chunk-9d0cdgqk.js} +26 -27
- package/dist/{chunk-pv1bgw16.js → chunk-9h5kjyz6.js} +1 -1
- package/dist/{chunk-zkqthrgd.js → chunk-9nj9z5w4.js} +2 -2
- package/dist/{chunk-0qqb0pcj.js → chunk-9t3fsv08.js} +52 -33
- package/dist/{chunk-f1ezy2yk.js → chunk-9wmb8pbp.js} +50 -51
- package/dist/{chunk-x60tn182.js → chunk-a251a9yn.js} +25 -26
- package/dist/{chunk-sv1jx42g.js → chunk-a66wkpe1.js} +2 -2
- package/dist/{chunk-zpbfhwew.js → chunk-a734d8qw.js} +24 -25
- package/dist/{chunk-6fxgxep6.js → chunk-a8p5sccb.js} +24 -25
- package/dist/{chunk-0q9r518q.js → chunk-ac5h7yj3.js} +1 -1
- package/dist/{chunk-jjfb9xkf.js → chunk-acf8z8f0.js} +25 -26
- package/dist/{chunk-wy3sjey8.js → chunk-ad8yskjg.js} +7 -7
- package/dist/{chunk-0tqzdxqw.js → chunk-adgq2xrm.js} +26 -27
- package/dist/{chunk-7x5pcgr0.js → chunk-agafwya0.js} +26 -27
- package/dist/{chunk-g7mr4f8y.js → chunk-ah7mjy7m.js} +1 -1
- package/dist/{chunk-fkst9y52.js → chunk-aqsytazx.js} +27 -28
- package/dist/{chunk-gdyrr85k.js → chunk-b0d13c2p.js} +2 -2
- package/dist/{chunk-b0bf2sqg.js → chunk-b1c83rp3.js} +28 -29
- package/dist/{chunk-xd29hj1a.js → chunk-bbarqta5.js} +27 -28
- package/dist/{chunk-gj9bqfc2.js → chunk-bemrbvxn.js} +24 -25
- package/dist/{chunk-a192bpp1.js → chunk-bsxwq6wk.js} +2 -2
- package/dist/{chunk-thmz4cyz.js → chunk-bz7qbebs.js} +2 -2
- package/dist/{chunk-7aeaqhm1.js → chunk-c7ync67t.js} +36 -37
- package/dist/{chunk-e3jmg7e5.js → chunk-c8r8xswc.js} +4 -4
- package/dist/{chunk-yc3kze6y.js → chunk-c9dk9fcp.js} +2 -2
- package/dist/{chunk-ag04ase9.js → chunk-cdrf73bv.js} +2 -2
- package/dist/{chunk-95p9p170.js → chunk-cgmrvbzg.js} +25 -26
- package/dist/{chunk-b58x866s.js → chunk-cjfde8zr.js} +1 -1
- package/dist/{chunk-rqf449vt.js → chunk-cmcps3hb.js} +17 -14
- package/dist/{chunk-1ryd6gyb.js → chunk-cnd92kkv.js} +2 -2
- package/dist/{chunk-kshqjtzm.js → chunk-cqg0jpf0.js} +2 -2
- package/dist/{chunk-0csmqakm.js → chunk-crzsqmrp.js} +27 -28
- package/dist/{chunk-t8wb28tm.js → chunk-cy4vhwn9.js} +4 -4
- package/dist/{chunk-0sh5qnk3.js → chunk-czk5dj1k.js} +26 -27
- package/dist/{chunk-jcevw63x.js → chunk-d0s6je8y.js} +25 -26
- package/dist/{chunk-91zvakzj.js → chunk-d2k2nd81.js} +24 -25
- package/dist/{chunk-ry1rbeg5.js → chunk-d92fkt8t.js} +25 -26
- package/dist/{chunk-ygtndzqg.js → chunk-dd7cd60d.js} +1 -1
- package/dist/{chunk-abpv3h3w.js → chunk-dhkqn4cx.js} +2 -2
- package/dist/{chunk-rjkj7jer.js → chunk-dq88f05s.js} +3 -3
- package/dist/{chunk-whxjwnvb.js → chunk-drf04be7.js} +1 -1
- package/dist/{chunk-nvq0epw8.js → chunk-dvacj3hy.js} +11 -11
- package/dist/{chunk-50rsg15x.js → chunk-dwcvzh7c.js} +24 -25
- package/dist/{chunk-8gm38e53.js → chunk-egftt541.js} +5 -13
- package/dist/{chunk-a4c8335e.js → chunk-emdhqhpz.js} +3 -3
- package/dist/{chunk-pecyc6nt.js → chunk-eshe1h5d.js} +32 -33
- package/dist/{chunk-jbesshrj.js → chunk-exg3rcwd.js} +4 -4
- package/dist/{chunk-cxr3qzs0.js → chunk-exsn5kbc.js} +1 -1
- package/dist/{chunk-y42s2taw.js → chunk-ezjyxmd6.js} +2 -2
- package/dist/{chunk-ekcy0g71.js → chunk-f0npx03p.js} +27 -8
- package/dist/{chunk-74cyd8qq.js → chunk-f5n9xgty.js} +5 -5
- package/dist/{chunk-r2hd5qwm.js → chunk-f9zfgp9z.js} +24 -25
- package/dist/{chunk-pgxmen7y.js → chunk-fa26a2kj.js} +1 -1
- package/dist/{chunk-03pxpgsk.js → chunk-fcq32njc.js} +24 -25
- package/dist/{chunk-adfv28ck.js → chunk-ftnbkxjd.js} +24 -25
- package/dist/{chunk-3ej29w97.js → chunk-g6ggcdfp.js} +1 -1
- package/dist/{chunk-4d87ycm5.js → chunk-gahdg9eg.js} +4 -4
- package/dist/{chunk-xzkm1zm3.js → chunk-gc3rpswm.js} +7 -7
- package/dist/{chunk-171ys6p9.js → chunk-gekga3t8.js} +25 -26
- package/dist/{chunk-ejwcg9k5.js → chunk-gfmnv4sw.js} +24 -25
- package/dist/{chunk-6x09gscy.js → chunk-gh2za219.js} +24 -25
- package/dist/{chunk-1j463dgb.js → chunk-gmqwpspe.js} +1 -1
- package/dist/{chunk-c51kc9ft.js → chunk-gn1vfpnz.js} +1 -1
- package/dist/{chunk-sgv6dbk2.js → chunk-gwjvek8c.js} +2 -2
- package/dist/{chunk-tzn82398.js → chunk-gy2g40hz.js} +24 -25
- package/dist/{chunk-aq13zzcw.js → chunk-hdp53a1q.js} +24 -25
- package/dist/{chunk-0zph8kyb.js → chunk-hey01bfc.js} +24 -25
- package/dist/{chunk-sj11hr56.js → chunk-hggtxg0z.js} +3 -3
- package/dist/{chunk-qqwrjgam.js → chunk-hjcvyd9p.js} +24 -25
- package/dist/{chunk-ey4va1qr.js → chunk-hjeggsvc.js} +2 -2
- package/dist/{chunk-0vgcyat9.js → chunk-hmkqf3tt.js} +1 -1
- package/dist/{chunk-bns8g2cj.js → chunk-hpe26xgr.js} +79 -81
- package/dist/{chunk-9y0taj70.js → chunk-hppzt3z5.js} +29 -30
- package/dist/{chunk-rb00sxw7.js → chunk-hsj11c60.js} +25 -26
- package/dist/{chunk-c64ry269.js → chunk-hwfzned5.js} +4 -4
- package/dist/{chunk-p6f47ypa.js → chunk-hx8ew6xa.js} +1 -1
- package/dist/{chunk-53mgjwd6.js → chunk-jgstrga8.js} +1 -1
- package/dist/{chunk-fn2vs9hb.js → chunk-jh1w72m7.js} +33 -34
- package/dist/{chunk-x3hrdpd6.js → chunk-jhb5106z.js} +24 -25
- package/dist/{chunk-z52hn3h6.js → chunk-jttde3gs.js} +5 -5
- package/dist/{chunk-gsdwrr0f.js → chunk-jwzf6vjq.js} +24 -25
- package/dist/{chunk-2skr6ggk.js → chunk-k86h2fq9.js} +1 -1
- package/dist/{chunk-f87zx0bj.js → chunk-kcrbc7wt.js} +1 -1
- package/dist/{chunk-a9jrmw2h.js → chunk-kj91v0p4.js} +2 -2
- package/dist/{chunk-mxvqgdj8.js → chunk-kysfemxk.js} +32 -33
- package/dist/{chunk-q5wsqgve.js → chunk-kztb46h8.js} +2 -2
- package/dist/{chunk-zweqc4ry.js → chunk-m2yy0z7c.js} +3 -3
- package/dist/{chunk-agt82k0f.js → chunk-m4k0tm46.js} +25 -26
- package/dist/{chunk-qmsjx927.js → chunk-m55cw2y2.js} +382 -538
- package/dist/{chunk-yq43dnat.js → chunk-m731v50h.js} +6 -6
- package/dist/{chunk-e54he73v.js → chunk-m9j1gq7j.js} +2 -2
- package/dist/{chunk-xf6zn9jz.js → chunk-mc9aszcn.js} +1 -1
- package/dist/{chunk-3tczd1p8.js → chunk-mhqjrbp0.js} +24 -25
- package/dist/{chunk-f4rc3jj7.js → chunk-mwwp9dgw.js} +2 -2
- package/dist/{chunk-ds10vpga.js → chunk-mzfyfvh5.js} +24 -25
- package/dist/{chunk-rw43gzsy.js → chunk-n27rch8j.js} +25 -26
- package/dist/{chunk-gkqbnqr8.js → chunk-n3r510xt.js} +10 -12
- package/dist/{chunk-bbc5yd2h.js → chunk-n7kfjdve.js} +3 -3
- package/dist/{chunk-m42p34q4.js → chunk-nbsvxhjr.js} +25 -26
- package/dist/{chunk-yr83kgph.js → chunk-ncpqwh68.js} +1 -1
- package/dist/{chunk-3wbysqws.js → chunk-ncx1pp7g.js} +24 -25
- package/dist/{chunk-60pvx0fx.js → chunk-ngbfawym.js} +32 -33
- package/dist/{chunk-34qagrt3.js → chunk-nhbkbd1f.js} +2 -2
- package/dist/{chunk-cbzg4y4z.js → chunk-nkv7saz9.js} +25 -26
- package/dist/{chunk-az64prfn.js → chunk-nxqpc74h.js} +30 -31
- package/dist/{chunk-mtb9jksc.js → chunk-p33nsn47.js} +2 -2
- package/dist/{chunk-nzwe039f.js → chunk-p6kqfq6s.js} +1 -1
- package/dist/{chunk-rzz0ky77.js → chunk-p8swyrrr.js} +26 -27
- package/dist/{chunk-ays4sybp.js → chunk-p8wd2hpz.js} +30 -31
- package/dist/{chunk-746917xk.js → chunk-pepwaf4z.js} +31 -32
- package/dist/{chunk-hpfsana2.js → chunk-pfctams2.js} +3 -3
- package/dist/{chunk-7pw8dkf7.js → chunk-pg4ns7bn.js} +24 -25
- package/dist/{chunk-b9wvecb6.js → chunk-pj15qn94.js} +2 -2
- package/dist/{chunk-58aj9t44.js → chunk-pvbg5723.js} +24 -25
- package/dist/{chunk-n34x6ydg.js → chunk-q0scmm56.js} +24 -25
- package/dist/{chunk-gz5sw8ec.js → chunk-qdcpgz77.js} +24 -25
- package/dist/{chunk-seaqx2xz.js → chunk-qe9ap7mj.js} +5 -5
- package/dist/{chunk-yzx3mhfd.js → chunk-qehnkvgn.js} +8 -6
- package/dist/{chunk-1yzj5w28.js → chunk-qn3a0ch4.js} +1 -1
- package/dist/{chunk-ydtqbv0r.js → chunk-qs9y9v0y.js} +27 -28
- package/dist/{chunk-0kg58054.js → chunk-qvb08vv4.js} +24 -25
- package/dist/{chunk-rjx0fay6.js → chunk-qyjby32e.js} +24 -25
- package/dist/{chunk-ccxc4g6y.js → chunk-r453sj7a.js} +3 -3
- package/dist/{chunk-zx869svr.js → chunk-r4cdes3k.js} +25 -26
- package/dist/{chunk-fyppj0s5.js → chunk-r78dg9rx.js} +1 -1
- package/dist/{chunk-9vg0wt19.js → chunk-r831z87c.js} +3 -3
- package/dist/{chunk-q9v6t824.js → chunk-rfdvmqc4.js} +24 -25
- package/dist/{chunk-vf16vmtr.js → chunk-rnphw3pw.js} +1 -1
- package/dist/{chunk-6qsge7da.js → chunk-rpafryd7.js} +22 -22
- package/dist/{chunk-wvp5h5j8.js → chunk-ryb93gts.js} +2 -2
- package/dist/{chunk-f6x2dabv.js → chunk-ryj1xxgn.js} +24 -25
- package/dist/{chunk-rspzhczd.js → chunk-s3nsatw9.js} +1 -1
- package/dist/{chunk-gnwm68rh.js → chunk-s41rqgf2.js} +2 -2
- package/dist/{chunk-d1t759t1.js → chunk-sf19h717.js} +1 -1
- package/dist/{chunk-e6edx3eb.js → chunk-sg02hj5r.js} +3 -3
- package/dist/{chunk-ftqyzt0w.js → chunk-sg7dejrd.js} +25 -26
- package/dist/{chunk-pp3c140v.js → chunk-sh9j8sgp.js} +4 -4
- package/dist/{chunk-rkqe8ywr.js → chunk-sjbn0eqb.js} +24 -25
- package/dist/{chunk-q89s5acn.js → chunk-swh40jcw.js} +2 -2
- package/dist/{chunk-8tqx39vg.js → chunk-t43s8bwd.js} +3 -3
- package/dist/{chunk-426m2t3a.js → chunk-tadz0hym.js} +1 -1
- package/dist/{chunk-bkjzr981.js → chunk-tapm15b9.js} +10 -10
- package/dist/{chunk-pf6ze0mr.js → chunk-tgt3623c.js} +30 -31
- package/dist/{chunk-hkchf08w.js → chunk-ttgvtyb5.js} +24 -25
- package/dist/{chunk-gg5vzvhe.js → chunk-tv5197w6.js} +1 -1
- package/dist/{chunk-mrx1ay1p.js → chunk-tytsc11v.js} +1 -1
- package/dist/{chunk-kz6a7hzx.js → chunk-v72fz5hw.js} +2 -2
- package/dist/{chunk-h315493b.js → chunk-v8n18ewx.js} +2 -2
- package/dist/{chunk-t16k5sv4.js → chunk-vcpexdw9.js} +2 -2
- package/dist/{chunk-jmxcwen4.js → chunk-vf13ggaj.js} +24 -25
- package/dist/{chunk-wyv1z1b7.js → chunk-vf2dqqhs.js} +3 -3
- package/dist/{chunk-8zpdvq7r.js → chunk-vfqxcf67.js} +1 -1
- package/dist/{chunk-fnqtbr1f.js → chunk-vgdk00ze.js} +24 -25
- package/dist/{chunk-m48p4tpv.js → chunk-vmj7f4a7.js} +1 -1
- package/dist/{chunk-6s72v4cn.js → chunk-vq81m5fm.js} +32 -33
- package/dist/{chunk-11s8ja9h.js → chunk-vv3hxs3x.js} +1 -1
- package/dist/{chunk-k8s1cmpk.js → chunk-vvy91fcr.js} +3 -3
- package/dist/{chunk-td5bnk16.js → chunk-w5fb1y8v.js} +33 -34
- package/dist/{chunk-kt45abd3.js → chunk-w6yrxbxt.js} +24 -25
- package/dist/{chunk-bbab5hte.js → chunk-w9715pqa.js} +26 -27
- package/dist/{chunk-gd2c7a9v.js → chunk-wcqpnaad.js} +2 -2
- package/dist/{chunk-m7jkrk2p.js → chunk-wfmyeq3f.js} +3 -3
- package/dist/{chunk-s4h3n17v.js → chunk-whnnhpa8.js} +1 -1
- package/dist/{chunk-5mqd2nb5.js → chunk-wn8zajg9.js} +1 -1
- package/dist/{chunk-f3rgk7zh.js → chunk-wnps2f33.js} +2 -2
- package/dist/{chunk-d6z2a4bb.js → chunk-ww537qan.js} +2 -2
- package/dist/{chunk-vtw7z0p1.js → chunk-x147kecy.js} +24 -25
- package/dist/{chunk-6rzyg6qc.js → chunk-x5cjnyr2.js} +24 -25
- package/dist/{chunk-ymhf5px9.js → chunk-x63ew4nn.js} +8 -14
- package/dist/{chunk-w3wtq4vr.js → chunk-xazem2ke.js} +2 -2
- package/dist/{chunk-gpp3naz2.js → chunk-xbd5xr0e.js} +2 -2
- package/dist/{chunk-89897ka6.js → chunk-xfvv998z.js} +26 -27
- package/dist/{chunk-aj56gg1d.js → chunk-xha6t8sn.js} +12 -12
- package/dist/{chunk-4pkmtpbv.js → chunk-xkz41e03.js} +25 -26
- package/dist/{chunk-0s5h04k6.js → chunk-xrf86y61.js} +2 -2
- package/dist/{chunk-dary341z.js → chunk-xvbybbm6.js} +1 -1
- package/dist/{chunk-bk7n75d7.js → chunk-xx15jahw.js} +1 -1
- package/dist/{chunk-k9w37ktg.js → chunk-y0xdf5aq.js} +1 -1
- package/dist/{chunk-gyg3e5n2.js → chunk-y2ekvktv.js} +24 -25
- package/dist/{chunk-8gxa3q8d.js → chunk-ycpxbk4a.js} +24 -25
- package/dist/{chunk-618bg2z2.js → chunk-ydv6pk66.js} +2 -2
- package/dist/{chunk-5ss9rm4g.js → chunk-yh1xdret.js} +26 -27
- package/dist/{chunk-st6dn7d4.js → chunk-ymfvs6p1.js} +2 -2
- package/dist/{chunk-rzdb5b22.js → chunk-yxgwra7k.js} +26 -27
- package/dist/{chunk-kwhj0s9x.js → chunk-yxkp6jz3.js} +1 -1
- package/dist/{chunk-q7222c4p.js → chunk-z64dk2r9.js} +2 -2
- package/dist/{chunk-rx52t8zw.js → chunk-zgq9nbdw.js} +5 -5
- package/dist/{chunk-9jnvqv6b.js → chunk-zhatzwbm.js} +25 -26
- package/dist/{chunk-60rz26e5.js → chunk-zhew19nt.js} +4 -4
- package/dist/{chunk-vj8ddv39.js → chunk-zjtthr66.js} +1 -1
- package/dist/{chunk-kretxzeq.js → chunk-zqzdwcb1.js} +3 -3
- package/dist/{chunk-72gnr238.js → chunk-zvgeyn9q.js} +118 -134
- package/dist/cli.js +25 -25
- package/package.json +2 -1
- package/dist/chunk-8f3tna8d.js +0 -116
- package/dist/chunk-cfv996bs.js +0 -22
- package/dist/chunk-zkzfb3h2.js +0 -109
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
initializeTeammateContextFromSession,
|
|
10
10
|
recordTipShown,
|
|
11
11
|
shouldShowDesktopUpsellStartup
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-n3r510xt.js";
|
|
13
13
|
import {
|
|
14
14
|
useManagePlugins
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-8ahndzg3.js";
|
|
16
16
|
import {
|
|
17
17
|
applySkillImprovement,
|
|
18
18
|
startBackgroundHousekeeping
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-f0npx03p.js";
|
|
20
20
|
import {
|
|
21
21
|
SANDBOX_NETWORK_ACCESS_TOOL_NAME,
|
|
22
22
|
createCronScheduler,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
init_cronJitterConfig,
|
|
27
27
|
init_cronScheduler,
|
|
28
28
|
reconcileMarketplaces
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-0ngjj5zb.js";
|
|
30
30
|
import {
|
|
31
31
|
computeStandaloneAgentContext,
|
|
32
32
|
exitRestoredWorktree,
|
|
@@ -34,17 +34,13 @@ import {
|
|
|
34
34
|
restoreSessionStateFromLog,
|
|
35
35
|
restoreWorktreeForResume,
|
|
36
36
|
skillChangeDetector
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import {
|
|
39
|
-
AUTO_MODE_DESCRIPTION,
|
|
40
|
-
AutoModeOptInDialog
|
|
41
|
-
} from "./chunk-zkzfb3h2.js";
|
|
37
|
+
} from "./chunk-gahdg9eg.js";
|
|
42
38
|
import {
|
|
43
39
|
useFpsMetrics
|
|
44
40
|
} from "./chunk-x0ym1db4.js";
|
|
45
41
|
import {
|
|
46
42
|
BoundedUUIDSet
|
|
47
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-rnphw3pw.js";
|
|
48
44
|
import {
|
|
49
45
|
consumeEarlyInput
|
|
50
46
|
} from "./chunk-46fcr28b.js";
|
|
@@ -57,21 +53,21 @@ import {
|
|
|
57
53
|
messagesAfterAreOnlySynthetic,
|
|
58
54
|
processUserInput,
|
|
59
55
|
selectableUserMessagesFilter
|
|
60
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-ad8yskjg.js";
|
|
61
57
|
import {
|
|
62
58
|
init_sprites,
|
|
63
59
|
renderFace,
|
|
64
60
|
renderSprite,
|
|
65
61
|
spriteFrameCount
|
|
66
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-1d5kftp0.js";
|
|
67
63
|
import {
|
|
68
64
|
exports_useVoice,
|
|
69
65
|
init_useVoice
|
|
70
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-3psgp9hy.js";
|
|
71
67
|
import {
|
|
72
68
|
RemoteCallout,
|
|
73
69
|
init_RemoteCallout
|
|
74
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-5v3y1psy.js";
|
|
75
71
|
import {
|
|
76
72
|
PermissionDialog,
|
|
77
73
|
PermissionRequestTitle,
|
|
@@ -81,28 +77,28 @@ import {
|
|
|
81
77
|
import {
|
|
82
78
|
ExitFlow,
|
|
83
79
|
init_ExitFlow
|
|
84
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-tv5197w6.js";
|
|
85
81
|
import {
|
|
86
82
|
init_exportRenderer,
|
|
87
83
|
renderMessagesToPlainText
|
|
88
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-m9j1gq7j.js";
|
|
89
85
|
import {
|
|
90
86
|
init_useMergedTools,
|
|
91
87
|
useMergedTools
|
|
92
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-ezjyxmd6.js";
|
|
93
89
|
import {
|
|
94
90
|
init_toolPool,
|
|
95
91
|
mergeAndFilterTools
|
|
96
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-b0d13c2p.js";
|
|
97
93
|
import {
|
|
98
94
|
init_refresh,
|
|
99
95
|
refreshActivePlugins
|
|
100
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-yxkp6jz3.js";
|
|
101
97
|
import {
|
|
102
98
|
init_setup,
|
|
103
99
|
isChromeExtensionInstalled,
|
|
104
100
|
shouldEnableClaudeInChrome
|
|
105
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-8jqwxzkc.js";
|
|
106
102
|
import {
|
|
107
103
|
init_autoModeDenials,
|
|
108
104
|
recordAutoModeDenial
|
|
@@ -112,7 +108,7 @@ import {
|
|
|
112
108
|
getFastIconString,
|
|
113
109
|
init_FastIcon,
|
|
114
110
|
init_fast
|
|
115
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-swh40jcw.js";
|
|
116
112
|
import {
|
|
117
113
|
BackgroundTasksDialog,
|
|
118
114
|
enterTeammateView,
|
|
@@ -123,22 +119,22 @@ import {
|
|
|
123
119
|
isTerminalStatus,
|
|
124
120
|
shouldHideTasksFooter,
|
|
125
121
|
stopOrDismissAgent
|
|
126
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-sg02hj5r.js";
|
|
127
123
|
import {
|
|
128
124
|
fromSDKCompactMetadata,
|
|
129
125
|
init_mappers
|
|
130
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-r78dg9rx.js";
|
|
131
127
|
import {
|
|
132
128
|
init_Dialog
|
|
133
129
|
} from "./chunk-w5j0dhpp.js";
|
|
134
130
|
import {
|
|
135
131
|
generateSessionName,
|
|
136
132
|
init_generateSessionName
|
|
137
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-m2yy0z7c.js";
|
|
138
134
|
import {
|
|
139
135
|
generateSessionTitle,
|
|
140
136
|
init_sessionTitle
|
|
141
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-a66wkpe1.js";
|
|
142
138
|
import {
|
|
143
139
|
Fuse,
|
|
144
140
|
init_fuse
|
|
@@ -153,7 +149,7 @@ import {
|
|
|
153
149
|
useSetPromptOverlay,
|
|
154
150
|
useSetPromptOverlayDialog,
|
|
155
151
|
useUnseenDivider
|
|
156
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-87ktxdyf.js";
|
|
157
153
|
import {
|
|
158
154
|
MCPConnectionManager,
|
|
159
155
|
filterPermissionRelayClients,
|
|
@@ -161,16 +157,16 @@ import {
|
|
|
161
157
|
init_channelPermissions,
|
|
162
158
|
shortRequestId,
|
|
163
159
|
truncateForPreview
|
|
164
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-cy4vhwn9.js";
|
|
165
161
|
import {
|
|
166
162
|
init_pluginAutoupdate,
|
|
167
163
|
onPluginsAutoUpdated
|
|
168
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-6trp0r8x.js";
|
|
169
165
|
import {
|
|
170
166
|
CHANNEL_PERMISSION_REQUEST_METHOD,
|
|
171
167
|
findChannelEntry,
|
|
172
168
|
init_channelNotification
|
|
173
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-0p4mywr8.js";
|
|
174
170
|
import {
|
|
175
171
|
$toString,
|
|
176
172
|
init_server
|
|
@@ -178,18 +174,18 @@ import {
|
|
|
178
174
|
import {
|
|
179
175
|
init_useSettingsErrors,
|
|
180
176
|
useSettingsErrors
|
|
181
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-7xt30t8j.js";
|
|
182
178
|
import {
|
|
183
179
|
detectUnreachableRules,
|
|
184
180
|
init_shadowedRuleDetection
|
|
185
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-7qjg6ecw.js";
|
|
186
182
|
import {
|
|
187
183
|
PromptInputHelpMenu,
|
|
188
184
|
init_PromptInputHelpMenu,
|
|
189
185
|
init_utils as init_utils3,
|
|
190
186
|
isNonSpacePrintable,
|
|
191
187
|
isVimModeEnabled
|
|
192
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-emdhqhpz.js";
|
|
193
189
|
import {
|
|
194
190
|
editFileInEditor,
|
|
195
191
|
editPromptInEditor,
|
|
@@ -197,11 +193,11 @@ import {
|
|
|
197
193
|
init_editor,
|
|
198
194
|
init_promptEditor,
|
|
199
195
|
openFileInExternalEditor
|
|
200
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-0zmd6k77.js";
|
|
201
197
|
import {
|
|
202
198
|
getResolvedLanguage,
|
|
203
199
|
init_language
|
|
204
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-whnnhpa8.js";
|
|
205
201
|
import {
|
|
206
202
|
ModelPicker,
|
|
207
203
|
effortLevelToSymbol,
|
|
@@ -210,19 +206,19 @@ import {
|
|
|
210
206
|
init_ModelPicker,
|
|
211
207
|
init_extraUsage,
|
|
212
208
|
isBilledAsExtraUsage
|
|
213
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-n7kfjdve.js";
|
|
214
210
|
import {
|
|
215
211
|
init_useSearchInput,
|
|
216
212
|
useSearchInput
|
|
217
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-exsn5kbc.js";
|
|
218
214
|
import {
|
|
219
215
|
init_Feedback,
|
|
220
216
|
redactSensitiveInfo
|
|
221
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-7ts1dfw3.js";
|
|
222
218
|
import {
|
|
223
219
|
clearConversation,
|
|
224
220
|
init_conversation
|
|
225
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-exg3rcwd.js";
|
|
226
222
|
import {
|
|
227
223
|
applyFileSuggestion,
|
|
228
224
|
findLongestCommonPrefix,
|
|
@@ -230,7 +226,7 @@ import {
|
|
|
230
226
|
init_fileSuggestions,
|
|
231
227
|
onIndexBuildComplete,
|
|
232
228
|
startBackgroundCacheRefresh
|
|
233
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-gc3rpswm.js";
|
|
234
230
|
import {
|
|
235
231
|
getDirectoryCompletions,
|
|
236
232
|
getPathCompletions,
|
|
@@ -240,22 +236,20 @@ import {
|
|
|
240
236
|
import {
|
|
241
237
|
PromptInputFooterSuggestions,
|
|
242
238
|
init_PromptInputFooterSuggestions
|
|
243
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-tytsc11v.js";
|
|
244
240
|
import {
|
|
245
241
|
findBtwTriggerPositions,
|
|
246
242
|
init_sideQuestion
|
|
247
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-59xacw9j.js";
|
|
248
244
|
import {
|
|
249
245
|
checkAndDisableAutoModeIfNeeded,
|
|
250
|
-
checkAndDisableBypassPermissionsIfNeeded,
|
|
251
246
|
init_bypassPermissionsKillswitch,
|
|
252
|
-
useKickOffCheckAndDisableAutoModeIfNeeded
|
|
253
|
-
|
|
254
|
-
} from "./chunk-kh6aet31.js";
|
|
247
|
+
useKickOffCheckAndDisableAutoModeIfNeeded
|
|
248
|
+
} from "./chunk-3ncvsf7c.js";
|
|
255
249
|
import {
|
|
256
250
|
init_useMainLoopModel,
|
|
257
251
|
useMainLoopModel
|
|
258
|
-
} from "./chunk-
|
|
252
|
+
} from "./chunk-kj91v0p4.js";
|
|
259
253
|
import {
|
|
260
254
|
attachNdjsonFramer,
|
|
261
255
|
init_ndjsonFramer
|
|
@@ -393,6 +387,7 @@ import {
|
|
|
393
387
|
createPromptRuleContent,
|
|
394
388
|
createScheduledTaskFireMessage,
|
|
395
389
|
createSystemMessage,
|
|
390
|
+
createTrace,
|
|
396
391
|
createTurnDurationMessage,
|
|
397
392
|
createUserMessage,
|
|
398
393
|
dequeue,
|
|
@@ -402,6 +397,7 @@ import {
|
|
|
402
397
|
diagnosticTracker,
|
|
403
398
|
disableHintRecommendations,
|
|
404
399
|
doesMostRecentAssistantMessageExceed200k,
|
|
400
|
+
endTrace,
|
|
405
401
|
enqueue,
|
|
406
402
|
enqueuePendingNotification,
|
|
407
403
|
ensureBackendsRegistered,
|
|
@@ -666,6 +662,7 @@ import {
|
|
|
666
662
|
init_ink,
|
|
667
663
|
init_inputModes,
|
|
668
664
|
init_installedPluginsManager,
|
|
665
|
+
init_langfuse,
|
|
669
666
|
init_leaderPermissionBridge,
|
|
670
667
|
init_loadAgentsDir,
|
|
671
668
|
init_localInstaller,
|
|
@@ -792,6 +789,7 @@ import {
|
|
|
792
789
|
isInProcessTeammateTask,
|
|
793
790
|
isJetBrainsIde,
|
|
794
791
|
isKairosCronEnabled,
|
|
792
|
+
isLangfuseEnabled,
|
|
795
793
|
isLocalAgentTask,
|
|
796
794
|
isLoggableMessage,
|
|
797
795
|
isModeSetRequest,
|
|
@@ -904,7 +902,6 @@ import {
|
|
|
904
902
|
sendSandboxPermissionRequestViaMailbox,
|
|
905
903
|
sendSandboxPermissionResponseViaMailbox,
|
|
906
904
|
sendShutdownRequestToMailbox,
|
|
907
|
-
setAutoModeActive,
|
|
908
905
|
setEnvHookNotifier,
|
|
909
906
|
setPlanSlug,
|
|
910
907
|
setReplBridgeHandle,
|
|
@@ -960,14 +957,14 @@ import {
|
|
|
960
957
|
verifyApiKey,
|
|
961
958
|
withMemoryCorrectionHint,
|
|
962
959
|
writeToMailbox
|
|
963
|
-
} from "./chunk-
|
|
960
|
+
} from "./chunk-32ygj603.js";
|
|
964
961
|
import {
|
|
965
962
|
init_undercover,
|
|
966
963
|
isUndercover
|
|
967
|
-
} from "./chunk-
|
|
964
|
+
} from "./chunk-cnd92kkv.js";
|
|
968
965
|
import {
|
|
969
966
|
init_commitAttribution
|
|
970
|
-
} from "./chunk-
|
|
967
|
+
} from "./chunk-vfqxcf67.js";
|
|
971
968
|
import {
|
|
972
969
|
DEFAULT_TASKS_MODE_TASK_LIST_ID,
|
|
973
970
|
claimTask,
|
|
@@ -989,7 +986,7 @@ import {
|
|
|
989
986
|
syncTeammateMode,
|
|
990
987
|
unassignTeammateTasks,
|
|
991
988
|
updateTask
|
|
992
|
-
} from "./chunk-
|
|
989
|
+
} from "./chunk-xvbybbm6.js";
|
|
993
990
|
import {
|
|
994
991
|
asSystemPrompt,
|
|
995
992
|
emitTaskTerminatedSdk,
|
|
@@ -1003,15 +1000,15 @@ import {
|
|
|
1003
1000
|
notifyAutomationStateChanged,
|
|
1004
1001
|
setNextTickAt,
|
|
1005
1002
|
shouldTick
|
|
1006
|
-
} from "./chunk-
|
|
1003
|
+
} from "./chunk-78jkzq3m.js";
|
|
1007
1004
|
import {
|
|
1008
1005
|
escapeXml,
|
|
1009
1006
|
init_xml as init_xml2
|
|
1010
|
-
} from "./chunk-
|
|
1007
|
+
} from "./chunk-vv3hxs3x.js";
|
|
1011
1008
|
import {
|
|
1012
1009
|
init_bridgeEnabled,
|
|
1013
1010
|
isBridgeEnabled
|
|
1014
|
-
} from "./chunk-
|
|
1011
|
+
} from "./chunk-mwwp9dgw.js";
|
|
1015
1012
|
import {
|
|
1016
1013
|
CLAUDE_IN_CHROME_MCP_SERVER_NAME,
|
|
1017
1014
|
init_common,
|
|
@@ -1022,7 +1019,7 @@ import {
|
|
|
1022
1019
|
getCompanion,
|
|
1023
1020
|
init_companion,
|
|
1024
1021
|
init_types
|
|
1025
|
-
} from "./chunk-
|
|
1022
|
+
} from "./chunk-3c2cmpad.js";
|
|
1026
1023
|
import {
|
|
1027
1024
|
init_shellQuote,
|
|
1028
1025
|
quote,
|
|
@@ -1032,7 +1029,7 @@ import {
|
|
|
1032
1029
|
init_useDoublePress,
|
|
1033
1030
|
init_useExitOnCtrlCDWithKeybindings,
|
|
1034
1031
|
useExitOnCtrlCDWithKeybindings
|
|
1035
|
-
} from "./chunk-
|
|
1032
|
+
} from "./chunk-gwjvek8c.js";
|
|
1036
1033
|
import {
|
|
1037
1034
|
READ_FILE_STATE_CACHE_SIZE,
|
|
1038
1035
|
createFileStateCacheWithSizeLimit,
|
|
@@ -1044,21 +1041,25 @@ import {
|
|
|
1044
1041
|
init_projectOnboardingState,
|
|
1045
1042
|
init_terminalSetup,
|
|
1046
1043
|
maybeMarkProjectOnboardingComplete
|
|
1047
|
-
} from "./chunk-
|
|
1044
|
+
} from "./chunk-tadz0hym.js";
|
|
1048
1045
|
import {
|
|
1049
1046
|
init_useKeybinding
|
|
1050
1047
|
} from "./chunk-rd2884ff.js";
|
|
1048
|
+
import {
|
|
1049
|
+
init_poorMode,
|
|
1050
|
+
isPoorModeActive
|
|
1051
|
+
} from "./chunk-2t2hv89z.js";
|
|
1051
1052
|
import {
|
|
1052
1053
|
hasVoiceAuth,
|
|
1053
1054
|
init_voiceModeEnabled,
|
|
1054
1055
|
isVoiceGrowthBookEnabled
|
|
1055
|
-
} from "./chunk-
|
|
1056
|
+
} from "./chunk-7jzmgpwq.js";
|
|
1056
1057
|
import {
|
|
1057
1058
|
getOAuthHeaders,
|
|
1058
1059
|
init_api,
|
|
1059
1060
|
prepareApiRequest,
|
|
1060
1061
|
updateSessionTitle
|
|
1061
|
-
} from "./chunk-
|
|
1062
|
+
} from "./chunk-ac5h7yj3.js";
|
|
1062
1063
|
import {
|
|
1063
1064
|
init_browser,
|
|
1064
1065
|
openBrowser
|
|
@@ -1068,7 +1069,7 @@ import {
|
|
|
1068
1069
|
init_events,
|
|
1069
1070
|
init_sessionTracing,
|
|
1070
1071
|
logOTelEvent
|
|
1071
|
-
} from "./chunk-
|
|
1072
|
+
} from "./chunk-qn3a0ch4.js";
|
|
1072
1073
|
import {
|
|
1073
1074
|
IT2_COMMAND,
|
|
1074
1075
|
init_detection,
|
|
@@ -1104,6 +1105,7 @@ import {
|
|
|
1104
1105
|
countCharInString,
|
|
1105
1106
|
detectEncodingForResolvedPath,
|
|
1106
1107
|
firstLineOf,
|
|
1108
|
+
getAPIProvider,
|
|
1107
1109
|
getAnthropicApiKeyWithSource,
|
|
1108
1110
|
getApiKeyFromApiKeyHelper,
|
|
1109
1111
|
getApiKeyHelperElapsedMs,
|
|
@@ -1127,7 +1129,6 @@ import {
|
|
|
1127
1129
|
getSmallFastModel,
|
|
1128
1130
|
getSubscriptionType,
|
|
1129
1131
|
getUserAgent,
|
|
1130
|
-
hasAutoModeOptIn,
|
|
1131
1132
|
hasClaudeAiBillingAccess,
|
|
1132
1133
|
hasConsoleBillingAccess,
|
|
1133
1134
|
init_PermissionMode,
|
|
@@ -1151,6 +1152,7 @@ import {
|
|
|
1151
1152
|
init_model,
|
|
1152
1153
|
init_paths,
|
|
1153
1154
|
init_permissionRuleParser,
|
|
1155
|
+
init_providers,
|
|
1154
1156
|
init_schemas,
|
|
1155
1157
|
init_settings1 as init_settings,
|
|
1156
1158
|
init_stringUtils,
|
|
@@ -1192,7 +1194,7 @@ import {
|
|
|
1192
1194
|
toExternalPermissionMode,
|
|
1193
1195
|
truncateToLines,
|
|
1194
1196
|
updateSettingsForSource
|
|
1195
|
-
} from "./chunk-
|
|
1197
|
+
} from "./chunk-cmcps3hb.js";
|
|
1196
1198
|
import {
|
|
1197
1199
|
init_json,
|
|
1198
1200
|
safeParseJSON
|
|
@@ -2846,7 +2848,7 @@ function formatIdleDuration(minutes) {
|
|
|
2846
2848
|
// src/screens/REPL.tsx
|
|
2847
2849
|
init_notifications();
|
|
2848
2850
|
init_notifier();
|
|
2849
|
-
var
|
|
2851
|
+
var React47 = __toESM(require_react(), 1);
|
|
2850
2852
|
var import_react125 = __toESM(require_react(), 1);
|
|
2851
2853
|
|
|
2852
2854
|
// src/services/preventSleep.ts
|
|
@@ -3530,8 +3532,8 @@ function useReplBridge(messages, setMessages, abortControllerRef, commands, main
|
|
|
3530
3532
|
}
|
|
3531
3533
|
if (cancelled)
|
|
3532
3534
|
return;
|
|
3533
|
-
const { initReplBridge } = await import("./chunk-
|
|
3534
|
-
const { shouldShowAppUpgradeMessage } = await import("./chunk-
|
|
3535
|
+
const { initReplBridge } = await import("./chunk-5hke2tf3.js");
|
|
3536
|
+
const { shouldShowAppUpgradeMessage } = await import("./chunk-hwfzned5.js");
|
|
3535
3537
|
let perpetual = false;
|
|
3536
3538
|
if (true) {
|
|
3537
3539
|
const { isAssistantMode } = await import("./chunk-0786r5qj.js");
|
|
@@ -3543,7 +3545,7 @@ function useReplBridge(messages, setMessages, abortControllerRef, commands, main
|
|
|
3543
3545
|
if (!fields)
|
|
3544
3546
|
return;
|
|
3545
3547
|
const { uuid } = fields;
|
|
3546
|
-
const { resolveAndPrepend } = await import("./chunk-
|
|
3548
|
+
const { resolveAndPrepend } = await import("./chunk-vf2dqqhs.js");
|
|
3547
3549
|
const rawContent = fields.content;
|
|
3548
3550
|
let sanitized = typeof rawContent === "string" ? rawContent : rawContent;
|
|
3549
3551
|
if (false) {}
|
|
@@ -6735,6 +6737,7 @@ init_errors();
|
|
|
6735
6737
|
init_lazySchema();
|
|
6736
6738
|
init_log();
|
|
6737
6739
|
init_model();
|
|
6740
|
+
init_poorMode();
|
|
6738
6741
|
init_sideQuery();
|
|
6739
6742
|
init_slowOperations();
|
|
6740
6743
|
var RISK_LEVEL_NUMERIC = {
|
|
@@ -6833,7 +6836,7 @@ Recent conversation context:
|
|
|
6833
6836
|
${conversationContext}` : ""}
|
|
6834
6837
|
|
|
6835
6838
|
Explain this command in context.`;
|
|
6836
|
-
const model = getMainLoopModel();
|
|
6839
|
+
const model = isPoorModeActive() ? getSmallFastModel() : getMainLoopModel();
|
|
6837
6840
|
const response = await sideQuery({
|
|
6838
6841
|
model,
|
|
6839
6842
|
system: SYSTEM_PROMPT,
|
|
@@ -16256,49 +16259,23 @@ function isMacosOptionChar(char) {
|
|
|
16256
16259
|
// src/components/PromptInput/PromptInput.tsx
|
|
16257
16260
|
init_log();
|
|
16258
16261
|
init_model();
|
|
16259
|
-
init_autoModeState();
|
|
16260
16262
|
|
|
16261
16263
|
// src/utils/permissions/getNextPermissionMode.ts
|
|
16262
|
-
init_debug();
|
|
16263
16264
|
init_permissionSetup();
|
|
16264
|
-
function canCycleToAuto(ctx) {
|
|
16265
|
-
if (true) {
|
|
16266
|
-
const gateEnabled = isAutoModeGateEnabled();
|
|
16267
|
-
const can = !!ctx.isAutoModeAvailable && gateEnabled;
|
|
16268
|
-
if (!can) {
|
|
16269
|
-
logForDebugging(`[auto-mode] canCycleToAuto=false: ctx.isAutoModeAvailable=${ctx.isAutoModeAvailable} isAutoModeGateEnabled=${gateEnabled} reason=${getAutoModeUnavailableReason()}`);
|
|
16270
|
-
}
|
|
16271
|
-
return can;
|
|
16272
|
-
}
|
|
16273
|
-
return false;
|
|
16274
|
-
}
|
|
16275
16265
|
function getNextPermissionMode(toolPermissionContext, _teamContext) {
|
|
16276
16266
|
switch (toolPermissionContext.mode) {
|
|
16277
16267
|
case "default":
|
|
16278
|
-
if (process.env.USER_TYPE === "ant") {
|
|
16279
|
-
if (toolPermissionContext.isBypassPermissionsModeAvailable) {
|
|
16280
|
-
return "bypassPermissions";
|
|
16281
|
-
}
|
|
16282
|
-
if (canCycleToAuto(toolPermissionContext)) {
|
|
16283
|
-
return "auto";
|
|
16284
|
-
}
|
|
16285
|
-
return "default";
|
|
16286
|
-
}
|
|
16287
16268
|
return "acceptEdits";
|
|
16288
16269
|
case "acceptEdits":
|
|
16289
16270
|
return "plan";
|
|
16290
16271
|
case "plan":
|
|
16272
|
+
return "auto";
|
|
16273
|
+
case "auto":
|
|
16291
16274
|
if (toolPermissionContext.isBypassPermissionsModeAvailable) {
|
|
16292
16275
|
return "bypassPermissions";
|
|
16293
16276
|
}
|
|
16294
|
-
if (canCycleToAuto(toolPermissionContext)) {
|
|
16295
|
-
return "auto";
|
|
16296
|
-
}
|
|
16297
16277
|
return "default";
|
|
16298
16278
|
case "bypassPermissions":
|
|
16299
|
-
if (canCycleToAuto(toolPermissionContext)) {
|
|
16300
|
-
return "auto";
|
|
16301
|
-
}
|
|
16302
16279
|
return "default";
|
|
16303
16280
|
case "dontAsk":
|
|
16304
16281
|
return "default";
|
|
@@ -16315,10 +16292,8 @@ function cyclePermissionMode(toolPermissionContext, teamContext) {
|
|
|
16315
16292
|
}
|
|
16316
16293
|
|
|
16317
16294
|
// src/components/PromptInput/PromptInput.tsx
|
|
16318
|
-
init_permissionSetup();
|
|
16319
16295
|
init_platform();
|
|
16320
16296
|
init_promptEditor();
|
|
16321
|
-
init_settings();
|
|
16322
16297
|
init_sideQuestion();
|
|
16323
16298
|
init_registry();
|
|
16324
16299
|
init_teamHelpers();
|
|
@@ -20901,9 +20876,6 @@ function PromptInput({
|
|
|
20901
20876
|
const [showHistoryPicker, setShowHistoryPicker] = import_react65.useState(false);
|
|
20902
20877
|
const [showFastModePicker, setShowFastModePicker] = import_react65.useState(false);
|
|
20903
20878
|
const [showThinkingToggle, setShowThinkingToggle] = import_react65.useState(false);
|
|
20904
|
-
const [showAutoModeOptIn, setShowAutoModeOptIn] = import_react65.useState(false);
|
|
20905
|
-
const [previousModeBeforeAuto, setPreviousModeBeforeAuto] = import_react65.useState(null);
|
|
20906
|
-
const autoModeOptInTimeoutRef = import_react65.useRef(null);
|
|
20907
20879
|
const isCursorOnFirstLine = import_react65.useMemo(() => {
|
|
20908
20880
|
const firstNewlineIndex = input.indexOf(`
|
|
20909
20881
|
`);
|
|
@@ -21769,52 +21741,8 @@ function PromptInput({
|
|
|
21769
21741
|
}
|
|
21770
21742
|
return;
|
|
21771
21743
|
}
|
|
21772
|
-
logForDebugging(`[auto-mode] handleCycleMode: currentMode=${toolPermissionContext.mode}
|
|
21744
|
+
logForDebugging(`[auto-mode] handleCycleMode: currentMode=${toolPermissionContext.mode}`);
|
|
21773
21745
|
const nextMode = getNextPermissionMode(toolPermissionContext, teamContext);
|
|
21774
|
-
let isEnteringAutoModeFirstTime = false;
|
|
21775
|
-
if (true) {
|
|
21776
|
-
isEnteringAutoModeFirstTime = nextMode === "auto" && toolPermissionContext.mode !== "auto" && !hasAutoModeOptIn() && !viewingAgentTaskId;
|
|
21777
|
-
}
|
|
21778
|
-
if (true) {
|
|
21779
|
-
if (isEnteringAutoModeFirstTime) {
|
|
21780
|
-
setPreviousModeBeforeAuto(toolPermissionContext.mode);
|
|
21781
|
-
setAppState((prev) => ({
|
|
21782
|
-
...prev,
|
|
21783
|
-
toolPermissionContext: {
|
|
21784
|
-
...prev.toolPermissionContext,
|
|
21785
|
-
mode: "auto"
|
|
21786
|
-
}
|
|
21787
|
-
}));
|
|
21788
|
-
setToolPermissionContext({
|
|
21789
|
-
...toolPermissionContext,
|
|
21790
|
-
mode: "auto"
|
|
21791
|
-
});
|
|
21792
|
-
if (autoModeOptInTimeoutRef.current) {
|
|
21793
|
-
clearTimeout(autoModeOptInTimeoutRef.current);
|
|
21794
|
-
}
|
|
21795
|
-
autoModeOptInTimeoutRef.current = setTimeout((setShowAutoModeOptIn2, autoModeOptInTimeoutRef2) => {
|
|
21796
|
-
setShowAutoModeOptIn2(true);
|
|
21797
|
-
autoModeOptInTimeoutRef2.current = null;
|
|
21798
|
-
}, 400, setShowAutoModeOptIn, autoModeOptInTimeoutRef);
|
|
21799
|
-
if (helpOpen) {
|
|
21800
|
-
setHelpOpen(false);
|
|
21801
|
-
}
|
|
21802
|
-
return;
|
|
21803
|
-
}
|
|
21804
|
-
}
|
|
21805
|
-
if (true) {
|
|
21806
|
-
if (showAutoModeOptIn || autoModeOptInTimeoutRef.current) {
|
|
21807
|
-
if (showAutoModeOptIn) {
|
|
21808
|
-
logEvent("tengu_auto_mode_opt_in_dialog_decline", {});
|
|
21809
|
-
}
|
|
21810
|
-
setShowAutoModeOptIn(false);
|
|
21811
|
-
if (autoModeOptInTimeoutRef.current) {
|
|
21812
|
-
clearTimeout(autoModeOptInTimeoutRef.current);
|
|
21813
|
-
autoModeOptInTimeoutRef.current = null;
|
|
21814
|
-
}
|
|
21815
|
-
setPreviousModeBeforeAuto(null);
|
|
21816
|
-
}
|
|
21817
|
-
}
|
|
21818
21746
|
const { context: preparedContext } = cyclePermissionMode(toolPermissionContext, teamContext);
|
|
21819
21747
|
logEvent("tengu_mode_cycle", {
|
|
21820
21748
|
to: nextMode
|
|
@@ -21843,72 +21771,10 @@ function PromptInput({
|
|
|
21843
21771
|
}, [
|
|
21844
21772
|
toolPermissionContext,
|
|
21845
21773
|
teamContext,
|
|
21846
|
-
viewingAgentTaskId,
|
|
21847
21774
|
viewedTeammate,
|
|
21848
21775
|
setAppState,
|
|
21849
21776
|
setToolPermissionContext,
|
|
21850
|
-
helpOpen
|
|
21851
|
-
showAutoModeOptIn
|
|
21852
|
-
]);
|
|
21853
|
-
const handleAutoModeOptInAccept = import_react65.useCallback(() => {
|
|
21854
|
-
if (true) {
|
|
21855
|
-
setShowAutoModeOptIn(false);
|
|
21856
|
-
setPreviousModeBeforeAuto(null);
|
|
21857
|
-
const strippedContext = transitionPermissionMode(previousModeBeforeAuto ?? toolPermissionContext.mode, "auto", toolPermissionContext);
|
|
21858
|
-
setAppState((prev) => ({
|
|
21859
|
-
...prev,
|
|
21860
|
-
toolPermissionContext: {
|
|
21861
|
-
...strippedContext,
|
|
21862
|
-
mode: "auto"
|
|
21863
|
-
}
|
|
21864
|
-
}));
|
|
21865
|
-
setToolPermissionContext({
|
|
21866
|
-
...strippedContext,
|
|
21867
|
-
mode: "auto"
|
|
21868
|
-
});
|
|
21869
|
-
if (helpOpen) {
|
|
21870
|
-
setHelpOpen(false);
|
|
21871
|
-
}
|
|
21872
|
-
}
|
|
21873
|
-
}, [
|
|
21874
|
-
helpOpen,
|
|
21875
|
-
setHelpOpen,
|
|
21876
|
-
previousModeBeforeAuto,
|
|
21877
|
-
toolPermissionContext,
|
|
21878
|
-
setAppState,
|
|
21879
|
-
setToolPermissionContext
|
|
21880
|
-
]);
|
|
21881
|
-
const handleAutoModeOptInDecline = import_react65.useCallback(() => {
|
|
21882
|
-
if (true) {
|
|
21883
|
-
logForDebugging(`[auto-mode] handleAutoModeOptInDecline: reverting to ${previousModeBeforeAuto}, setting isAutoModeAvailable=false`);
|
|
21884
|
-
setShowAutoModeOptIn(false);
|
|
21885
|
-
if (autoModeOptInTimeoutRef.current) {
|
|
21886
|
-
clearTimeout(autoModeOptInTimeoutRef.current);
|
|
21887
|
-
autoModeOptInTimeoutRef.current = null;
|
|
21888
|
-
}
|
|
21889
|
-
if (previousModeBeforeAuto) {
|
|
21890
|
-
setAutoModeActive(false);
|
|
21891
|
-
setAppState((prev) => ({
|
|
21892
|
-
...prev,
|
|
21893
|
-
toolPermissionContext: {
|
|
21894
|
-
...prev.toolPermissionContext,
|
|
21895
|
-
mode: previousModeBeforeAuto,
|
|
21896
|
-
isAutoModeAvailable: false
|
|
21897
|
-
}
|
|
21898
|
-
}));
|
|
21899
|
-
setToolPermissionContext({
|
|
21900
|
-
...toolPermissionContext,
|
|
21901
|
-
mode: previousModeBeforeAuto,
|
|
21902
|
-
isAutoModeAvailable: false
|
|
21903
|
-
});
|
|
21904
|
-
setPreviousModeBeforeAuto(null);
|
|
21905
|
-
}
|
|
21906
|
-
}
|
|
21907
|
-
}, [
|
|
21908
|
-
previousModeBeforeAuto,
|
|
21909
|
-
toolPermissionContext,
|
|
21910
|
-
setAppState,
|
|
21911
|
-
setToolPermissionContext
|
|
21777
|
+
helpOpen
|
|
21912
21778
|
]);
|
|
21913
21779
|
const handleImagePaste = import_react65.useCallback(() => {
|
|
21914
21780
|
getImageFromClipboard().then((imageData) => {
|
|
@@ -22353,11 +22219,7 @@ function PromptInput({
|
|
|
22353
22219
|
handleThinkingCancel,
|
|
22354
22220
|
messages.length
|
|
22355
22221
|
]);
|
|
22356
|
-
|
|
22357
|
-
onAccept: handleAutoModeOptInAccept,
|
|
22358
|
-
onDecline: handleAutoModeOptInDecline
|
|
22359
|
-
}, undefined, false, undefined, this) : null, [showAutoModeOptIn, handleAutoModeOptInAccept, handleAutoModeOptInDecline]);
|
|
22360
|
-
useSetPromptOverlayDialog(isFullscreenEnvEnabled() ? autoModeOptInDialog : null);
|
|
22222
|
+
useSetPromptOverlayDialog(null);
|
|
22361
22223
|
if (showBashesDialog) {
|
|
22362
22224
|
return /* @__PURE__ */ jsx_dev_runtime67.jsxDEV(BackgroundTasksDialog, {
|
|
22363
22225
|
onDone: () => setShowBashesDialog(false),
|
|
@@ -22587,11 +22449,10 @@ function PromptInput({
|
|
|
22587
22449
|
historyFailedMatch,
|
|
22588
22450
|
onOpenTasksDialog: isFullscreenEnvEnabled() ? handleOpenTasksDialog : undefined
|
|
22589
22451
|
}, undefined, false, undefined, this),
|
|
22590
|
-
isFullscreenEnvEnabled() ? null : autoModeOptInDialog,
|
|
22591
22452
|
isFullscreenEnvEnabled() ? /* @__PURE__ */ jsx_dev_runtime67.jsxDEV(ThemedBox_default, {
|
|
22592
22453
|
position: "absolute",
|
|
22593
22454
|
marginTop: briefOwnsGap ? -2 : -1,
|
|
22594
|
-
height: suggestions.length === 0
|
|
22455
|
+
height: suggestions.length === 0 ? 1 : 0,
|
|
22595
22456
|
width: "100%",
|
|
22596
22457
|
paddingLeft: 2,
|
|
22597
22458
|
paddingRight: 1,
|
|
@@ -28558,6 +28419,9 @@ init_model();
|
|
|
28558
28419
|
init_systemPromptType();
|
|
28559
28420
|
init_language();
|
|
28560
28421
|
init_claude();
|
|
28422
|
+
init_langfuse();
|
|
28423
|
+
init_state();
|
|
28424
|
+
init_providers();
|
|
28561
28425
|
init_sessionMemoryUtils();
|
|
28562
28426
|
var RECENT_MESSAGE_WINDOW = 30;
|
|
28563
28427
|
var PROMPT_EN = "The user stepped away and is coming back. Write exactly 1-3 short sentences. Start by stating the high-level task \u2014 what they are building or debugging, not implementation details. Next: the concrete next step. Skip status reports and commit recaps.";
|
|
@@ -28574,6 +28438,13 @@ async function generateAwaySummary(messages, signal) {
|
|
|
28574
28438
|
if (messages.length === 0) {
|
|
28575
28439
|
return null;
|
|
28576
28440
|
}
|
|
28441
|
+
const model = getSmallFastModel();
|
|
28442
|
+
const langfuseTrace = isLangfuseEnabled() ? createTrace({
|
|
28443
|
+
sessionId: getSessionId(),
|
|
28444
|
+
model,
|
|
28445
|
+
provider: getAPIProvider(),
|
|
28446
|
+
name: "away-summary"
|
|
28447
|
+
}) : null;
|
|
28577
28448
|
try {
|
|
28578
28449
|
const memory = await getSessionMemoryContent();
|
|
28579
28450
|
const recent = messages.slice(-RECENT_MESSAGE_WINDOW);
|
|
@@ -28586,26 +28457,30 @@ async function generateAwaySummary(messages, signal) {
|
|
|
28586
28457
|
signal,
|
|
28587
28458
|
options: {
|
|
28588
28459
|
getToolPermissionContext: async () => getEmptyToolPermissionContext(),
|
|
28589
|
-
model
|
|
28460
|
+
model,
|
|
28590
28461
|
toolChoice: undefined,
|
|
28591
28462
|
isNonInteractiveSession: false,
|
|
28592
28463
|
hasAppendSystemPrompt: false,
|
|
28593
28464
|
agents: [],
|
|
28594
28465
|
querySource: "away_summary",
|
|
28595
28466
|
mcpTools: [],
|
|
28596
|
-
skipCacheWrite: true
|
|
28467
|
+
skipCacheWrite: true,
|
|
28468
|
+
langfuseTrace
|
|
28597
28469
|
}
|
|
28598
28470
|
});
|
|
28599
28471
|
if (response.isApiErrorMessage) {
|
|
28600
28472
|
logForDebugging(`[awaySummary] API error: ${getAssistantMessageText(response)}`);
|
|
28473
|
+
endTrace(langfuseTrace, undefined, "error");
|
|
28601
28474
|
return null;
|
|
28602
28475
|
}
|
|
28476
|
+
endTrace(langfuseTrace);
|
|
28603
28477
|
return getAssistantMessageText(response);
|
|
28604
28478
|
} catch (err) {
|
|
28605
28479
|
if (err instanceof APIUserAbortError || signal.aborted) {
|
|
28606
28480
|
return null;
|
|
28607
28481
|
}
|
|
28608
28482
|
logForDebugging(`[awaySummary] generation failed: ${err}`);
|
|
28483
|
+
endTrace(langfuseTrace, undefined, "error");
|
|
28609
28484
|
return null;
|
|
28610
28485
|
}
|
|
28611
28486
|
}
|
|
@@ -29540,43 +29415,14 @@ function useMcpConnectivityStatus({
|
|
|
29540
29415
|
}, [addNotification, mcpClients]);
|
|
29541
29416
|
}
|
|
29542
29417
|
|
|
29543
|
-
// src/
|
|
29544
|
-
|
|
29545
|
-
|
|
29546
|
-
init_AppState();
|
|
29547
|
-
init_permissionSetup();
|
|
29418
|
+
// src/components/AutoModeOptInDialog.tsx
|
|
29419
|
+
init_analytics();
|
|
29420
|
+
init_src();
|
|
29548
29421
|
init_settings();
|
|
29422
|
+
init_CustomSelect();
|
|
29549
29423
|
var import_react107 = __toESM(require_react(), 1);
|
|
29550
|
-
|
|
29551
|
-
|
|
29552
|
-
const mode = useAppState((s) => s.toolPermissionContext.mode);
|
|
29553
|
-
const isAutoModeAvailable = useAppState((s) => s.toolPermissionContext.isAutoModeAvailable);
|
|
29554
|
-
const shownRef = import_react107.useRef(false);
|
|
29555
|
-
const prevModeRef = import_react107.useRef(mode);
|
|
29556
|
-
import_react107.useEffect(() => {
|
|
29557
|
-
const prevMode = prevModeRef.current;
|
|
29558
|
-
prevModeRef.current = mode;
|
|
29559
|
-
if (false)
|
|
29560
|
-
;
|
|
29561
|
-
if (getIsRemoteMode())
|
|
29562
|
-
return;
|
|
29563
|
-
if (shownRef.current)
|
|
29564
|
-
return;
|
|
29565
|
-
const wrappedPastAutoSlot = mode === "default" && prevMode !== "default" && prevMode !== "auto" && !isAutoModeAvailable && hasAutoModeOptIn();
|
|
29566
|
-
if (!wrappedPastAutoSlot)
|
|
29567
|
-
return;
|
|
29568
|
-
const reason = getAutoModeUnavailableReason();
|
|
29569
|
-
if (!reason)
|
|
29570
|
-
return;
|
|
29571
|
-
shownRef.current = true;
|
|
29572
|
-
addNotification({
|
|
29573
|
-
key: "auto-mode-unavailable",
|
|
29574
|
-
text: getAutoModeUnavailableNotification(reason),
|
|
29575
|
-
color: "warning",
|
|
29576
|
-
priority: "medium"
|
|
29577
|
-
});
|
|
29578
|
-
}, [mode, isAutoModeAvailable, addNotification]);
|
|
29579
|
-
}
|
|
29424
|
+
var jsx_dev_runtime81 = __toESM(require_jsx_dev_runtime(), 1);
|
|
29425
|
+
var AUTO_MODE_DESCRIPTION = "Auto mode lets Claude handle permission prompts automatically \u2014 Claude checks each tool call for risky actions and prompt injection before executing. Actions Claude identifies as safe are executed, while actions Claude identifies as risky are blocked and Claude may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. Claude can make mistakes that allow harmful commands to run, it's recommended to only use in isolated environments. Shift+Tab to change mode.";
|
|
29580
29426
|
|
|
29581
29427
|
// src/hooks/notifs/useLspInitializationNotification.tsx
|
|
29582
29428
|
init_dist();
|
|
@@ -29587,15 +29433,15 @@ init_manager();
|
|
|
29587
29433
|
init_AppState();
|
|
29588
29434
|
init_debug();
|
|
29589
29435
|
init_envUtils();
|
|
29590
|
-
var
|
|
29591
|
-
var
|
|
29436
|
+
var React35 = __toESM(require_react(), 1);
|
|
29437
|
+
var jsx_dev_runtime82 = __toESM(require_jsx_dev_runtime(), 1);
|
|
29592
29438
|
var LSP_POLL_INTERVAL_MS = 5000;
|
|
29593
29439
|
function useLspInitializationNotification() {
|
|
29594
29440
|
const { addNotification } = useNotifications();
|
|
29595
29441
|
const setAppState = useSetAppState();
|
|
29596
|
-
const [shouldPoll, setShouldPoll] =
|
|
29597
|
-
const notifiedErrorsRef =
|
|
29598
|
-
const addError =
|
|
29442
|
+
const [shouldPoll, setShouldPoll] = React35.useState(() => isEnvTruthy("true"));
|
|
29443
|
+
const notifiedErrorsRef = React35.useRef(new Set);
|
|
29444
|
+
const addError = React35.useCallback((source, errorMessage2) => {
|
|
29599
29445
|
const errorKey = `${source}:${errorMessage2}`;
|
|
29600
29446
|
if (notifiedErrorsRef.current.has(errorKey)) {
|
|
29601
29447
|
return;
|
|
@@ -29631,9 +29477,9 @@ function useLspInitializationNotification() {
|
|
|
29631
29477
|
const displayName = source.startsWith("plugin:") ? source.split(":")[1] ?? source : source;
|
|
29632
29478
|
addNotification({
|
|
29633
29479
|
key: `lsp-error-${source}`,
|
|
29634
|
-
jsx: /* @__PURE__ */
|
|
29480
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime82.jsxDEV(jsx_dev_runtime82.Fragment, {
|
|
29635
29481
|
children: [
|
|
29636
|
-
/* @__PURE__ */
|
|
29482
|
+
/* @__PURE__ */ jsx_dev_runtime82.jsxDEV(ThemedText, {
|
|
29637
29483
|
color: "error",
|
|
29638
29484
|
children: [
|
|
29639
29485
|
"LSP for ",
|
|
@@ -29641,7 +29487,7 @@ function useLspInitializationNotification() {
|
|
|
29641
29487
|
" failed"
|
|
29642
29488
|
]
|
|
29643
29489
|
}, undefined, true, undefined, this),
|
|
29644
|
-
/* @__PURE__ */
|
|
29490
|
+
/* @__PURE__ */ jsx_dev_runtime82.jsxDEV(ThemedText, {
|
|
29645
29491
|
dimColor: true,
|
|
29646
29492
|
children: " \xB7 /plugin for details"
|
|
29647
29493
|
}, undefined, false, undefined, this)
|
|
@@ -29651,7 +29497,7 @@ function useLspInitializationNotification() {
|
|
|
29651
29497
|
timeoutMs: 8000
|
|
29652
29498
|
});
|
|
29653
29499
|
}, [addNotification, setAppState]);
|
|
29654
|
-
const poll =
|
|
29500
|
+
const poll = React35.useCallback(() => {
|
|
29655
29501
|
if (getIsRemoteMode())
|
|
29656
29502
|
return;
|
|
29657
29503
|
if (getIsScrollDraining())
|
|
@@ -29676,7 +29522,7 @@ function useLspInitializationNotification() {
|
|
|
29676
29522
|
}
|
|
29677
29523
|
}, [addError]);
|
|
29678
29524
|
useInterval(poll, shouldPoll ? LSP_POLL_INTERVAL_MS : null);
|
|
29679
|
-
|
|
29525
|
+
React35.useEffect(() => {
|
|
29680
29526
|
if (getIsRemoteMode() || !shouldPoll)
|
|
29681
29527
|
return;
|
|
29682
29528
|
poll();
|
|
@@ -29690,7 +29536,7 @@ init_AppState();
|
|
|
29690
29536
|
init_config2();
|
|
29691
29537
|
init_debug();
|
|
29692
29538
|
init_log();
|
|
29693
|
-
var
|
|
29539
|
+
var React37 = __toESM(require_react(), 1);
|
|
29694
29540
|
import { extname as extname2, join as join4 } from "path";
|
|
29695
29541
|
|
|
29696
29542
|
// src/utils/plugins/lspRecommendation.ts
|
|
@@ -29905,12 +29751,12 @@ init_state();
|
|
|
29905
29751
|
init_src();
|
|
29906
29752
|
init_log();
|
|
29907
29753
|
init_marketplaceManager();
|
|
29908
|
-
var
|
|
29909
|
-
var
|
|
29754
|
+
var React36 = __toESM(require_react(), 1);
|
|
29755
|
+
var jsx_dev_runtime83 = __toESM(require_jsx_dev_runtime(), 1);
|
|
29910
29756
|
function usePluginRecommendationBase() {
|
|
29911
|
-
const [recommendation, setRecommendation] =
|
|
29912
|
-
const isCheckingRef =
|
|
29913
|
-
const tryResolve =
|
|
29757
|
+
const [recommendation, setRecommendation] = React36.useState(null);
|
|
29758
|
+
const isCheckingRef = React36.useRef(false);
|
|
29759
|
+
const tryResolve = React36.useCallback((resolve) => {
|
|
29914
29760
|
if (getIsRemoteMode())
|
|
29915
29761
|
return;
|
|
29916
29762
|
if (recommendation)
|
|
@@ -29925,7 +29771,7 @@ function usePluginRecommendationBase() {
|
|
|
29925
29771
|
isCheckingRef.current = false;
|
|
29926
29772
|
});
|
|
29927
29773
|
}, [recommendation]);
|
|
29928
|
-
const clearRecommendation =
|
|
29774
|
+
const clearRecommendation = React36.useCallback(() => setRecommendation(null), []);
|
|
29929
29775
|
return { recommendation, clearRecommendation, tryResolve };
|
|
29930
29776
|
}
|
|
29931
29777
|
async function installPluginAndNotify(pluginId, pluginName, keyPrefix, addNotification, install) {
|
|
@@ -29937,7 +29783,7 @@ async function installPluginAndNotify(pluginId, pluginName, keyPrefix, addNotifi
|
|
|
29937
29783
|
await install(pluginData);
|
|
29938
29784
|
addNotification({
|
|
29939
29785
|
key: `${keyPrefix}-installed`,
|
|
29940
|
-
jsx: /* @__PURE__ */
|
|
29786
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedText, {
|
|
29941
29787
|
color: "success",
|
|
29942
29788
|
children: [
|
|
29943
29789
|
figures_default.tick,
|
|
@@ -29953,7 +29799,7 @@ async function installPluginAndNotify(pluginId, pluginName, keyPrefix, addNotifi
|
|
|
29953
29799
|
logError(error);
|
|
29954
29800
|
addNotification({
|
|
29955
29801
|
key: `${keyPrefix}-install-failed`,
|
|
29956
|
-
jsx: /* @__PURE__ */
|
|
29802
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedText, {
|
|
29957
29803
|
color: "error",
|
|
29958
29804
|
children: [
|
|
29959
29805
|
"Failed to install ",
|
|
@@ -29971,9 +29817,9 @@ var TIMEOUT_THRESHOLD_MS = 28000;
|
|
|
29971
29817
|
function useLspPluginRecommendation() {
|
|
29972
29818
|
const trackedFiles = useAppState((s) => s.fileHistory.trackedFiles);
|
|
29973
29819
|
const { addNotification } = useNotifications();
|
|
29974
|
-
const checkedFilesRef =
|
|
29820
|
+
const checkedFilesRef = React37.useRef(new Set);
|
|
29975
29821
|
const { recommendation, clearRecommendation, tryResolve } = usePluginRecommendationBase();
|
|
29976
|
-
|
|
29822
|
+
React37.useEffect(() => {
|
|
29977
29823
|
tryResolve(async () => {
|
|
29978
29824
|
if (hasShownLspRecommendationThisSession())
|
|
29979
29825
|
return null;
|
|
@@ -30006,7 +29852,7 @@ function useLspPluginRecommendation() {
|
|
|
30006
29852
|
return null;
|
|
30007
29853
|
});
|
|
30008
29854
|
}, [trackedFiles, tryResolve]);
|
|
30009
|
-
const handleResponse =
|
|
29855
|
+
const handleResponse = React37.useCallback((response) => {
|
|
30010
29856
|
if (!recommendation)
|
|
30011
29857
|
return;
|
|
30012
29858
|
const { pluginId, pluginName, shownAt } = recommendation;
|
|
@@ -30055,8 +29901,8 @@ function useLspPluginRecommendation() {
|
|
|
30055
29901
|
init_src();
|
|
30056
29902
|
init_select();
|
|
30057
29903
|
init_PermissionDialog();
|
|
30058
|
-
var
|
|
30059
|
-
var
|
|
29904
|
+
var React38 = __toESM(require_react(), 1);
|
|
29905
|
+
var jsx_dev_runtime84 = __toESM(require_jsx_dev_runtime(), 1);
|
|
30060
29906
|
var AUTO_DISMISS_MS2 = 30000;
|
|
30061
29907
|
function LspRecommendationMenu({
|
|
30062
29908
|
pluginName,
|
|
@@ -30064,9 +29910,9 @@ function LspRecommendationMenu({
|
|
|
30064
29910
|
fileExtension,
|
|
30065
29911
|
onResponse
|
|
30066
29912
|
}) {
|
|
30067
|
-
const onResponseRef =
|
|
29913
|
+
const onResponseRef = React38.useRef(onResponse);
|
|
30068
29914
|
onResponseRef.current = onResponse;
|
|
30069
|
-
|
|
29915
|
+
React38.useEffect(() => {
|
|
30070
29916
|
const timeoutId = setTimeout((ref) => ref.current("no"), AUTO_DISMISS_MS2, onResponseRef);
|
|
30071
29917
|
return () => clearTimeout(timeoutId);
|
|
30072
29918
|
}, []);
|
|
@@ -30088,10 +29934,10 @@ function LspRecommendationMenu({
|
|
|
30088
29934
|
}
|
|
30089
29935
|
const options = [
|
|
30090
29936
|
{
|
|
30091
|
-
label: /* @__PURE__ */
|
|
29937
|
+
label: /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
30092
29938
|
children: [
|
|
30093
29939
|
"Yes, install ",
|
|
30094
|
-
/* @__PURE__ */
|
|
29940
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
30095
29941
|
bold: true,
|
|
30096
29942
|
children: pluginName
|
|
30097
29943
|
}, undefined, false, undefined, this)
|
|
@@ -30104,10 +29950,10 @@ function LspRecommendationMenu({
|
|
|
30104
29950
|
value: "no"
|
|
30105
29951
|
},
|
|
30106
29952
|
{
|
|
30107
|
-
label: /* @__PURE__ */
|
|
29953
|
+
label: /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
30108
29954
|
children: [
|
|
30109
29955
|
"Never for ",
|
|
30110
|
-
/* @__PURE__ */
|
|
29956
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
30111
29957
|
bold: true,
|
|
30112
29958
|
children: pluginName
|
|
30113
29959
|
}, undefined, false, undefined, this)
|
|
@@ -30120,27 +29966,27 @@ function LspRecommendationMenu({
|
|
|
30120
29966
|
value: "disable"
|
|
30121
29967
|
}
|
|
30122
29968
|
];
|
|
30123
|
-
return /* @__PURE__ */
|
|
29969
|
+
return /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(PermissionDialog, {
|
|
30124
29970
|
title: "LSP Plugin Recommendation",
|
|
30125
|
-
children: /* @__PURE__ */
|
|
29971
|
+
children: /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedBox_default, {
|
|
30126
29972
|
flexDirection: "column",
|
|
30127
29973
|
paddingX: 2,
|
|
30128
29974
|
paddingY: 1,
|
|
30129
29975
|
children: [
|
|
30130
|
-
/* @__PURE__ */
|
|
29976
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedBox_default, {
|
|
30131
29977
|
marginBottom: 1,
|
|
30132
|
-
children: /* @__PURE__ */
|
|
29978
|
+
children: /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
30133
29979
|
dimColor: true,
|
|
30134
29980
|
children: "LSP provides code intelligence like go-to-definition and error checking"
|
|
30135
29981
|
}, undefined, false, undefined, this)
|
|
30136
29982
|
}, undefined, false, undefined, this),
|
|
30137
|
-
/* @__PURE__ */
|
|
29983
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedBox_default, {
|
|
30138
29984
|
children: [
|
|
30139
|
-
/* @__PURE__ */
|
|
29985
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
30140
29986
|
dimColor: true,
|
|
30141
29987
|
children: "Plugin:"
|
|
30142
29988
|
}, undefined, false, undefined, this),
|
|
30143
|
-
/* @__PURE__ */
|
|
29989
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
30144
29990
|
children: [
|
|
30145
29991
|
" ",
|
|
30146
29992
|
pluginName
|
|
@@ -30148,19 +29994,19 @@ function LspRecommendationMenu({
|
|
|
30148
29994
|
}, undefined, true, undefined, this)
|
|
30149
29995
|
]
|
|
30150
29996
|
}, undefined, true, undefined, this),
|
|
30151
|
-
pluginDescription && /* @__PURE__ */
|
|
30152
|
-
children: /* @__PURE__ */
|
|
29997
|
+
pluginDescription && /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedBox_default, {
|
|
29998
|
+
children: /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
30153
29999
|
dimColor: true,
|
|
30154
30000
|
children: pluginDescription
|
|
30155
30001
|
}, undefined, false, undefined, this)
|
|
30156
30002
|
}, undefined, false, undefined, this),
|
|
30157
|
-
/* @__PURE__ */
|
|
30003
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedBox_default, {
|
|
30158
30004
|
children: [
|
|
30159
|
-
/* @__PURE__ */
|
|
30005
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
30160
30006
|
dimColor: true,
|
|
30161
30007
|
children: "Triggered by:"
|
|
30162
30008
|
}, undefined, false, undefined, this),
|
|
30163
|
-
/* @__PURE__ */
|
|
30009
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
30164
30010
|
children: [
|
|
30165
30011
|
" ",
|
|
30166
30012
|
fileExtension,
|
|
@@ -30169,14 +30015,14 @@ function LspRecommendationMenu({
|
|
|
30169
30015
|
}, undefined, true, undefined, this)
|
|
30170
30016
|
]
|
|
30171
30017
|
}, undefined, true, undefined, this),
|
|
30172
|
-
/* @__PURE__ */
|
|
30018
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedBox_default, {
|
|
30173
30019
|
marginTop: 1,
|
|
30174
|
-
children: /* @__PURE__ */
|
|
30020
|
+
children: /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
30175
30021
|
children: "Would you like to install this LSP plugin?"
|
|
30176
30022
|
}, undefined, false, undefined, this)
|
|
30177
30023
|
}, undefined, false, undefined, this),
|
|
30178
|
-
/* @__PURE__ */
|
|
30179
|
-
children: /* @__PURE__ */
|
|
30024
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedBox_default, {
|
|
30025
|
+
children: /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(Select, {
|
|
30180
30026
|
options,
|
|
30181
30027
|
onChange: onSelect,
|
|
30182
30028
|
onCancel: () => onResponse("no")
|
|
@@ -30194,12 +30040,12 @@ init_claudeCodeHints();
|
|
|
30194
30040
|
init_debug();
|
|
30195
30041
|
init_hintRecommendation();
|
|
30196
30042
|
init_pluginInstallationHelpers();
|
|
30197
|
-
var
|
|
30043
|
+
var React39 = __toESM(require_react(), 1);
|
|
30198
30044
|
function useClaudeCodeHintRecommendation() {
|
|
30199
|
-
const pendingHint =
|
|
30045
|
+
const pendingHint = React39.useSyncExternalStore(subscribeToPendingHint, getPendingHintSnapshot);
|
|
30200
30046
|
const { addNotification } = useNotifications();
|
|
30201
30047
|
const { recommendation, clearRecommendation, tryResolve } = usePluginRecommendationBase();
|
|
30202
|
-
|
|
30048
|
+
React39.useEffect(() => {
|
|
30203
30049
|
if (!pendingHint)
|
|
30204
30050
|
return;
|
|
30205
30051
|
tryResolve(async () => {
|
|
@@ -30214,7 +30060,7 @@ function useClaudeCodeHintRecommendation() {
|
|
|
30214
30060
|
return resolved;
|
|
30215
30061
|
});
|
|
30216
30062
|
}, [pendingHint, tryResolve]);
|
|
30217
|
-
const handleResponse =
|
|
30063
|
+
const handleResponse = React39.useCallback((response) => {
|
|
30218
30064
|
if (!recommendation)
|
|
30219
30065
|
return;
|
|
30220
30066
|
markHintPluginShown(recommendation.pluginId);
|
|
@@ -30255,8 +30101,8 @@ function useClaudeCodeHintRecommendation() {
|
|
|
30255
30101
|
init_src();
|
|
30256
30102
|
init_select();
|
|
30257
30103
|
init_PermissionDialog();
|
|
30258
|
-
var
|
|
30259
|
-
var
|
|
30104
|
+
var React40 = __toESM(require_react(), 1);
|
|
30105
|
+
var jsx_dev_runtime85 = __toESM(require_jsx_dev_runtime(), 1);
|
|
30260
30106
|
var AUTO_DISMISS_MS3 = 30000;
|
|
30261
30107
|
function PluginHintMenu({
|
|
30262
30108
|
pluginName,
|
|
@@ -30265,9 +30111,9 @@ function PluginHintMenu({
|
|
|
30265
30111
|
sourceCommand,
|
|
30266
30112
|
onResponse
|
|
30267
30113
|
}) {
|
|
30268
|
-
const onResponseRef =
|
|
30114
|
+
const onResponseRef = React40.useRef(onResponse);
|
|
30269
30115
|
onResponseRef.current = onResponse;
|
|
30270
|
-
|
|
30116
|
+
React40.useEffect(() => {
|
|
30271
30117
|
const timeoutId = setTimeout((ref) => ref.current("no"), AUTO_DISMISS_MS3, onResponseRef);
|
|
30272
30118
|
return () => clearTimeout(timeoutId);
|
|
30273
30119
|
}, []);
|
|
@@ -30285,10 +30131,10 @@ function PluginHintMenu({
|
|
|
30285
30131
|
}
|
|
30286
30132
|
const options = [
|
|
30287
30133
|
{
|
|
30288
|
-
label: /* @__PURE__ */
|
|
30134
|
+
label: /* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedText, {
|
|
30289
30135
|
children: [
|
|
30290
30136
|
"Yes, install ",
|
|
30291
|
-
/* @__PURE__ */
|
|
30137
|
+
/* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedText, {
|
|
30292
30138
|
bold: true,
|
|
30293
30139
|
children: pluginName
|
|
30294
30140
|
}, undefined, false, undefined, this)
|
|
@@ -30305,20 +30151,20 @@ function PluginHintMenu({
|
|
|
30305
30151
|
value: "disable"
|
|
30306
30152
|
}
|
|
30307
30153
|
];
|
|
30308
|
-
return /* @__PURE__ */
|
|
30154
|
+
return /* @__PURE__ */ jsx_dev_runtime85.jsxDEV(PermissionDialog, {
|
|
30309
30155
|
title: "Plugin Recommendation",
|
|
30310
|
-
children: /* @__PURE__ */
|
|
30156
|
+
children: /* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedBox_default, {
|
|
30311
30157
|
flexDirection: "column",
|
|
30312
30158
|
paddingX: 2,
|
|
30313
30159
|
paddingY: 1,
|
|
30314
30160
|
children: [
|
|
30315
|
-
/* @__PURE__ */
|
|
30161
|
+
/* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedBox_default, {
|
|
30316
30162
|
marginBottom: 1,
|
|
30317
|
-
children: /* @__PURE__ */
|
|
30163
|
+
children: /* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedText, {
|
|
30318
30164
|
dimColor: true,
|
|
30319
30165
|
children: [
|
|
30320
30166
|
"The ",
|
|
30321
|
-
/* @__PURE__ */
|
|
30167
|
+
/* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedText, {
|
|
30322
30168
|
bold: true,
|
|
30323
30169
|
children: sourceCommand
|
|
30324
30170
|
}, undefined, false, undefined, this),
|
|
@@ -30326,13 +30172,13 @@ function PluginHintMenu({
|
|
|
30326
30172
|
]
|
|
30327
30173
|
}, undefined, true, undefined, this)
|
|
30328
30174
|
}, undefined, false, undefined, this),
|
|
30329
|
-
/* @__PURE__ */
|
|
30175
|
+
/* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedBox_default, {
|
|
30330
30176
|
children: [
|
|
30331
|
-
/* @__PURE__ */
|
|
30177
|
+
/* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedText, {
|
|
30332
30178
|
dimColor: true,
|
|
30333
30179
|
children: "Plugin:"
|
|
30334
30180
|
}, undefined, false, undefined, this),
|
|
30335
|
-
/* @__PURE__ */
|
|
30181
|
+
/* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedText, {
|
|
30336
30182
|
children: [
|
|
30337
30183
|
" ",
|
|
30338
30184
|
pluginName
|
|
@@ -30340,13 +30186,13 @@ function PluginHintMenu({
|
|
|
30340
30186
|
}, undefined, true, undefined, this)
|
|
30341
30187
|
]
|
|
30342
30188
|
}, undefined, true, undefined, this),
|
|
30343
|
-
/* @__PURE__ */
|
|
30189
|
+
/* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedBox_default, {
|
|
30344
30190
|
children: [
|
|
30345
|
-
/* @__PURE__ */
|
|
30191
|
+
/* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedText, {
|
|
30346
30192
|
dimColor: true,
|
|
30347
30193
|
children: "Marketplace:"
|
|
30348
30194
|
}, undefined, false, undefined, this),
|
|
30349
|
-
/* @__PURE__ */
|
|
30195
|
+
/* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedText, {
|
|
30350
30196
|
children: [
|
|
30351
30197
|
" ",
|
|
30352
30198
|
marketplaceName
|
|
@@ -30354,20 +30200,20 @@ function PluginHintMenu({
|
|
|
30354
30200
|
}, undefined, true, undefined, this)
|
|
30355
30201
|
]
|
|
30356
30202
|
}, undefined, true, undefined, this),
|
|
30357
|
-
pluginDescription && /* @__PURE__ */
|
|
30358
|
-
children: /* @__PURE__ */
|
|
30203
|
+
pluginDescription && /* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedBox_default, {
|
|
30204
|
+
children: /* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedText, {
|
|
30359
30205
|
dimColor: true,
|
|
30360
30206
|
children: pluginDescription
|
|
30361
30207
|
}, undefined, false, undefined, this)
|
|
30362
30208
|
}, undefined, false, undefined, this),
|
|
30363
|
-
/* @__PURE__ */
|
|
30209
|
+
/* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedBox_default, {
|
|
30364
30210
|
marginTop: 1,
|
|
30365
|
-
children: /* @__PURE__ */
|
|
30211
|
+
children: /* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedText, {
|
|
30366
30212
|
children: "Would you like to install it?"
|
|
30367
30213
|
}, undefined, false, undefined, this)
|
|
30368
30214
|
}, undefined, false, undefined, this),
|
|
30369
|
-
/* @__PURE__ */
|
|
30370
|
-
children: /* @__PURE__ */
|
|
30215
|
+
/* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedBox_default, {
|
|
30216
|
+
children: /* @__PURE__ */ jsx_dev_runtime85.jsxDEV(Select, {
|
|
30371
30217
|
options,
|
|
30372
30218
|
onChange: onSelect,
|
|
30373
30219
|
onCancel: () => onResponse("no")
|
|
@@ -30386,7 +30232,7 @@ init_AppState();
|
|
|
30386
30232
|
init_debug();
|
|
30387
30233
|
init_stringUtils();
|
|
30388
30234
|
var import_react108 = __toESM(require_react(), 1);
|
|
30389
|
-
var
|
|
30235
|
+
var jsx_dev_runtime86 = __toESM(require_jsx_dev_runtime(), 1);
|
|
30390
30236
|
function usePluginInstallationStatus() {
|
|
30391
30237
|
const { addNotification } = useNotifications();
|
|
30392
30238
|
const installationStatus = useAppState((s) => s.plugins.installationStatus);
|
|
@@ -30423,9 +30269,9 @@ function usePluginInstallationStatus() {
|
|
|
30423
30269
|
logForDebugging(`Adding notification for ${totalFailed} failed installations`);
|
|
30424
30270
|
addNotification({
|
|
30425
30271
|
key: "plugin-install-failed",
|
|
30426
|
-
jsx: /* @__PURE__ */
|
|
30272
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime86.jsxDEV(jsx_dev_runtime86.Fragment, {
|
|
30427
30273
|
children: [
|
|
30428
|
-
/* @__PURE__ */
|
|
30274
|
+
/* @__PURE__ */ jsx_dev_runtime86.jsxDEV(ThemedText, {
|
|
30429
30275
|
color: "error",
|
|
30430
30276
|
children: [
|
|
30431
30277
|
totalFailed,
|
|
@@ -30434,7 +30280,7 @@ function usePluginInstallationStatus() {
|
|
|
30434
30280
|
" failed to install"
|
|
30435
30281
|
]
|
|
30436
30282
|
}, undefined, true, undefined, this),
|
|
30437
|
-
/* @__PURE__ */
|
|
30283
|
+
/* @__PURE__ */ jsx_dev_runtime86.jsxDEV(ThemedText, {
|
|
30438
30284
|
dimColor: true,
|
|
30439
30285
|
children: " \xB7 /plugin for details"
|
|
30440
30286
|
}, undefined, false, undefined, this)
|
|
@@ -30457,7 +30303,7 @@ init_src();
|
|
|
30457
30303
|
init_debug();
|
|
30458
30304
|
init_pluginAutoupdate();
|
|
30459
30305
|
var import_react109 = __toESM(require_react(), 1);
|
|
30460
|
-
var
|
|
30306
|
+
var jsx_dev_runtime87 = __toESM(require_jsx_dev_runtime(), 1);
|
|
30461
30307
|
function usePluginAutoupdateNotification() {
|
|
30462
30308
|
const { addNotification } = useNotifications();
|
|
30463
30309
|
const [updatedPlugins, setUpdatedPlugins] = import_react109.useState([]);
|
|
@@ -30483,9 +30329,9 @@ function usePluginAutoupdateNotification() {
|
|
|
30483
30329
|
const displayNames = pluginNames.length <= 2 ? pluginNames.join(" and ") : `${pluginNames.length} plugins`;
|
|
30484
30330
|
addNotification({
|
|
30485
30331
|
key: "plugin-autoupdate-restart",
|
|
30486
|
-
jsx: /* @__PURE__ */
|
|
30332
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime87.jsxDEV(jsx_dev_runtime87.Fragment, {
|
|
30487
30333
|
children: [
|
|
30488
|
-
/* @__PURE__ */
|
|
30334
|
+
/* @__PURE__ */ jsx_dev_runtime87.jsxDEV(ThemedText, {
|
|
30489
30335
|
color: "success",
|
|
30490
30336
|
children: [
|
|
30491
30337
|
pluginNames.length === 1 ? "Plugin" : "Plugins",
|
|
@@ -30494,7 +30340,7 @@ function usePluginAutoupdateNotification() {
|
|
|
30494
30340
|
displayNames
|
|
30495
30341
|
]
|
|
30496
30342
|
}, undefined, true, undefined, this),
|
|
30497
|
-
/* @__PURE__ */
|
|
30343
|
+
/* @__PURE__ */ jsx_dev_runtime87.jsxDEV(ThemedText, {
|
|
30498
30344
|
dimColor: true,
|
|
30499
30345
|
children: " \xB7 Run /reload-plugins to apply"
|
|
30500
30346
|
}, undefined, false, undefined, this)
|
|
@@ -30651,7 +30497,7 @@ init_UserTextMessage();
|
|
|
30651
30497
|
init_src();
|
|
30652
30498
|
init_awsAuthStatusManager();
|
|
30653
30499
|
var import_react110 = __toESM(require_react(), 1);
|
|
30654
|
-
var
|
|
30500
|
+
var jsx_dev_runtime88 = __toESM(require_jsx_dev_runtime(), 1);
|
|
30655
30501
|
var URL_RE = /https?:\/\/\S+/;
|
|
30656
30502
|
function AwsAuthStatusBox() {
|
|
30657
30503
|
const [status, setStatus] = import_react110.useState(AwsAuthStatusManager.getInstance().getStatus());
|
|
@@ -30665,25 +30511,25 @@ function AwsAuthStatusBox() {
|
|
|
30665
30511
|
if (!status.isAuthenticating && !status.error) {
|
|
30666
30512
|
return null;
|
|
30667
30513
|
}
|
|
30668
|
-
return /* @__PURE__ */
|
|
30514
|
+
return /* @__PURE__ */ jsx_dev_runtime88.jsxDEV(ThemedBox_default, {
|
|
30669
30515
|
flexDirection: "column",
|
|
30670
30516
|
borderStyle: "round",
|
|
30671
30517
|
borderColor: "permission",
|
|
30672
30518
|
paddingX: 1,
|
|
30673
30519
|
marginY: 1,
|
|
30674
30520
|
children: [
|
|
30675
|
-
/* @__PURE__ */
|
|
30521
|
+
/* @__PURE__ */ jsx_dev_runtime88.jsxDEV(ThemedText, {
|
|
30676
30522
|
bold: true,
|
|
30677
30523
|
color: "permission",
|
|
30678
30524
|
children: "Cloud Authentication"
|
|
30679
30525
|
}, undefined, false, undefined, this),
|
|
30680
|
-
status.output.length > 0 && /* @__PURE__ */
|
|
30526
|
+
status.output.length > 0 && /* @__PURE__ */ jsx_dev_runtime88.jsxDEV(ThemedBox_default, {
|
|
30681
30527
|
flexDirection: "column",
|
|
30682
30528
|
marginTop: 1,
|
|
30683
30529
|
children: status.output.slice(-5).map((line, index) => {
|
|
30684
30530
|
const m = line.match(URL_RE);
|
|
30685
30531
|
if (!m) {
|
|
30686
|
-
return /* @__PURE__ */
|
|
30532
|
+
return /* @__PURE__ */ jsx_dev_runtime88.jsxDEV(ThemedText, {
|
|
30687
30533
|
dimColor: true,
|
|
30688
30534
|
children: line
|
|
30689
30535
|
}, index, false, undefined, this);
|
|
@@ -30692,11 +30538,11 @@ function AwsAuthStatusBox() {
|
|
|
30692
30538
|
const start = m.index ?? 0;
|
|
30693
30539
|
const before = line.slice(0, start);
|
|
30694
30540
|
const after = line.slice(start + url.length);
|
|
30695
|
-
return /* @__PURE__ */
|
|
30541
|
+
return /* @__PURE__ */ jsx_dev_runtime88.jsxDEV(ThemedText, {
|
|
30696
30542
|
dimColor: true,
|
|
30697
30543
|
children: [
|
|
30698
30544
|
before,
|
|
30699
|
-
/* @__PURE__ */
|
|
30545
|
+
/* @__PURE__ */ jsx_dev_runtime88.jsxDEV(Link, {
|
|
30700
30546
|
url,
|
|
30701
30547
|
children: url
|
|
30702
30548
|
}, undefined, false, undefined, this),
|
|
@@ -30705,9 +30551,9 @@ function AwsAuthStatusBox() {
|
|
|
30705
30551
|
}, index, true, undefined, this);
|
|
30706
30552
|
})
|
|
30707
30553
|
}, undefined, false, undefined, this),
|
|
30708
|
-
status.error && /* @__PURE__ */
|
|
30554
|
+
status.error && /* @__PURE__ */ jsx_dev_runtime88.jsxDEV(ThemedBox_default, {
|
|
30709
30555
|
marginTop: 1,
|
|
30710
|
-
children: /* @__PURE__ */
|
|
30556
|
+
children: /* @__PURE__ */ jsx_dev_runtime88.jsxDEV(ThemedText, {
|
|
30711
30557
|
color: "error",
|
|
30712
30558
|
children: status.error
|
|
30713
30559
|
}, undefined, false, undefined, this)
|
|
@@ -30725,7 +30571,7 @@ init_auth();
|
|
|
30725
30571
|
init_billing();
|
|
30726
30572
|
init_state();
|
|
30727
30573
|
var import_react111 = __toESM(require_react(), 1);
|
|
30728
|
-
var
|
|
30574
|
+
var jsx_dev_runtime89 = __toESM(require_jsx_dev_runtime(), 1);
|
|
30729
30575
|
function useRateLimitWarningNotification(model) {
|
|
30730
30576
|
const { addNotification } = useNotifications();
|
|
30731
30577
|
const claudeAiLimits = useClaudeAiLimits();
|
|
@@ -30764,8 +30610,8 @@ function useRateLimitWarningNotification(model) {
|
|
|
30764
30610
|
shownWarningRef.current = rateLimitWarning;
|
|
30765
30611
|
addNotification({
|
|
30766
30612
|
key: "rate-limit-warning",
|
|
30767
|
-
jsx: /* @__PURE__ */
|
|
30768
|
-
children: /* @__PURE__ */
|
|
30613
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime89.jsxDEV(ThemedText, {
|
|
30614
|
+
children: /* @__PURE__ */ jsx_dev_runtime89.jsxDEV(ThemedText, {
|
|
30769
30615
|
color: "warning",
|
|
30770
30616
|
children: rateLimitWarning
|
|
30771
30617
|
}, undefined, false, undefined, this)
|
|
@@ -30832,7 +30678,7 @@ init_config2();
|
|
|
30832
30678
|
init_ide();
|
|
30833
30679
|
init_state();
|
|
30834
30680
|
var import_react113 = __toESM(require_react(), 1);
|
|
30835
|
-
var
|
|
30681
|
+
var jsx_dev_runtime90 = __toESM(require_jsx_dev_runtime(), 1);
|
|
30836
30682
|
var MAX_IDE_HINT_SHOW_COUNT = 5;
|
|
30837
30683
|
function useIDEStatusIndicator({
|
|
30838
30684
|
ideSelection,
|
|
@@ -30869,11 +30715,11 @@ function useIDEStatusIndicator({
|
|
|
30869
30715
|
}));
|
|
30870
30716
|
addNotification2({
|
|
30871
30717
|
key: "ide-status-hint",
|
|
30872
|
-
jsx: /* @__PURE__ */
|
|
30718
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedText, {
|
|
30873
30719
|
dimColor: true,
|
|
30874
30720
|
children: [
|
|
30875
30721
|
"/ide for ",
|
|
30876
|
-
/* @__PURE__ */
|
|
30722
|
+
/* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedText, {
|
|
30877
30723
|
color: "ide",
|
|
30878
30724
|
children: ideName2
|
|
30879
30725
|
}, undefined, false, undefined, this)
|
|
@@ -30986,7 +30832,7 @@ init_auth();
|
|
|
30986
30832
|
init_src();
|
|
30987
30833
|
init_analytics();
|
|
30988
30834
|
init_config2();
|
|
30989
|
-
var
|
|
30835
|
+
var jsx_dev_runtime91 = __toESM(require_jsx_dev_runtime(), 1);
|
|
30990
30836
|
var MAX_SHOW_COUNT = 3;
|
|
30991
30837
|
function useCanSwitchToExistingSubscription() {
|
|
30992
30838
|
useStartupNotification(async () => {
|
|
@@ -31003,13 +30849,13 @@ function useCanSwitchToExistingSubscription() {
|
|
|
31003
30849
|
logEvent("tengu_switch_to_subscription_notice_shown", {});
|
|
31004
30850
|
return {
|
|
31005
30851
|
key: "switch-to-subscription",
|
|
31006
|
-
jsx: /* @__PURE__ */
|
|
30852
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime91.jsxDEV(ThemedText, {
|
|
31007
30853
|
color: "suggestion",
|
|
31008
30854
|
children: [
|
|
31009
30855
|
"Use your existing Claude ",
|
|
31010
30856
|
subscriptionType,
|
|
31011
30857
|
" plan with Claude Code",
|
|
31012
|
-
/* @__PURE__ */
|
|
30858
|
+
/* @__PURE__ */ jsx_dev_runtime91.jsxDEV(ThemedText, {
|
|
31013
30859
|
color: "text",
|
|
31014
30860
|
dimColor: true,
|
|
31015
30861
|
children: [
|
|
@@ -31204,7 +31050,7 @@ init_src();
|
|
|
31204
31050
|
init_src();
|
|
31205
31051
|
init_useKeybinding();
|
|
31206
31052
|
var import_react116 = __toESM(require_react(), 1);
|
|
31207
|
-
var
|
|
31053
|
+
var jsx_dev_runtime92 = __toESM(require_jsx_dev_runtime(), 1);
|
|
31208
31054
|
function AutoRunIssueNotification({
|
|
31209
31055
|
onRun,
|
|
31210
31056
|
onCancel,
|
|
@@ -31218,22 +31064,22 @@ function AutoRunIssueNotification({
|
|
|
31218
31064
|
onRun();
|
|
31219
31065
|
}
|
|
31220
31066
|
}, [onRun]);
|
|
31221
|
-
return /* @__PURE__ */
|
|
31067
|
+
return /* @__PURE__ */ jsx_dev_runtime92.jsxDEV(ThemedBox_default, {
|
|
31222
31068
|
flexDirection: "column",
|
|
31223
31069
|
marginTop: 1,
|
|
31224
31070
|
children: [
|
|
31225
|
-
/* @__PURE__ */
|
|
31226
|
-
children: /* @__PURE__ */
|
|
31071
|
+
/* @__PURE__ */ jsx_dev_runtime92.jsxDEV(ThemedBox_default, {
|
|
31072
|
+
children: /* @__PURE__ */ jsx_dev_runtime92.jsxDEV(ThemedText, {
|
|
31227
31073
|
bold: true,
|
|
31228
31074
|
children: "Running feedback capture..."
|
|
31229
31075
|
}, undefined, false, undefined, this)
|
|
31230
31076
|
}, undefined, false, undefined, this),
|
|
31231
|
-
/* @__PURE__ */
|
|
31232
|
-
children: /* @__PURE__ */
|
|
31077
|
+
/* @__PURE__ */ jsx_dev_runtime92.jsxDEV(ThemedBox_default, {
|
|
31078
|
+
children: /* @__PURE__ */ jsx_dev_runtime92.jsxDEV(ThemedText, {
|
|
31233
31079
|
dimColor: true,
|
|
31234
31080
|
children: [
|
|
31235
31081
|
"Press ",
|
|
31236
|
-
/* @__PURE__ */
|
|
31082
|
+
/* @__PURE__ */ jsx_dev_runtime92.jsxDEV(KeyboardShortcutHint, {
|
|
31237
31083
|
shortcut: "Esc",
|
|
31238
31084
|
action: "cancel"
|
|
31239
31085
|
}, undefined, false, undefined, this),
|
|
@@ -31241,8 +31087,8 @@ function AutoRunIssueNotification({
|
|
|
31241
31087
|
]
|
|
31242
31088
|
}, undefined, true, undefined, this)
|
|
31243
31089
|
}, undefined, false, undefined, this),
|
|
31244
|
-
/* @__PURE__ */
|
|
31245
|
-
children: /* @__PURE__ */
|
|
31090
|
+
/* @__PURE__ */ jsx_dev_runtime92.jsxDEV(ThemedBox_default, {
|
|
31091
|
+
children: /* @__PURE__ */ jsx_dev_runtime92.jsxDEV(ThemedText, {
|
|
31246
31092
|
dimColor: true,
|
|
31247
31093
|
children: [
|
|
31248
31094
|
"Reason: ",
|
|
@@ -31289,35 +31135,35 @@ var TungstenLiveMonitor = () => null;
|
|
|
31289
31135
|
// src/components/PromptInput/IssueFlagBanner.tsx
|
|
31290
31136
|
init_figures2();
|
|
31291
31137
|
init_src();
|
|
31292
|
-
var
|
|
31138
|
+
var jsx_dev_runtime93 = __toESM(require_jsx_dev_runtime(), 1);
|
|
31293
31139
|
function IssueFlagBanner() {
|
|
31294
31140
|
if (process.env.USER_TYPE !== "ant") {
|
|
31295
31141
|
return null;
|
|
31296
31142
|
}
|
|
31297
|
-
return /* @__PURE__ */
|
|
31143
|
+
return /* @__PURE__ */ jsx_dev_runtime93.jsxDEV(ThemedBox_default, {
|
|
31298
31144
|
flexDirection: "row",
|
|
31299
31145
|
marginTop: 1,
|
|
31300
31146
|
width: "100%",
|
|
31301
31147
|
children: [
|
|
31302
|
-
/* @__PURE__ */
|
|
31148
|
+
/* @__PURE__ */ jsx_dev_runtime93.jsxDEV(ThemedBox_default, {
|
|
31303
31149
|
minWidth: 2,
|
|
31304
|
-
children: /* @__PURE__ */
|
|
31150
|
+
children: /* @__PURE__ */ jsx_dev_runtime93.jsxDEV(ThemedText, {
|
|
31305
31151
|
color: "warning",
|
|
31306
31152
|
children: FLAG_ICON
|
|
31307
31153
|
}, undefined, false, undefined, this)
|
|
31308
31154
|
}, undefined, false, undefined, this),
|
|
31309
|
-
/* @__PURE__ */
|
|
31155
|
+
/* @__PURE__ */ jsx_dev_runtime93.jsxDEV(ThemedText, {
|
|
31310
31156
|
children: [
|
|
31311
|
-
/* @__PURE__ */
|
|
31157
|
+
/* @__PURE__ */ jsx_dev_runtime93.jsxDEV(ThemedText, {
|
|
31312
31158
|
dimColor: true,
|
|
31313
31159
|
children: "[ANT-ONLY] "
|
|
31314
31160
|
}, undefined, false, undefined, this),
|
|
31315
|
-
/* @__PURE__ */
|
|
31161
|
+
/* @__PURE__ */ jsx_dev_runtime93.jsxDEV(ThemedText, {
|
|
31316
31162
|
color: "warning",
|
|
31317
31163
|
bold: true,
|
|
31318
31164
|
children: "Something off with Claude?"
|
|
31319
31165
|
}, undefined, false, undefined, this),
|
|
31320
|
-
/* @__PURE__ */
|
|
31166
|
+
/* @__PURE__ */ jsx_dev_runtime93.jsxDEV(ThemedText, {
|
|
31321
31167
|
dimColor: true,
|
|
31322
31168
|
children: " /issue to report it"
|
|
31323
31169
|
}, undefined, false, undefined, this)
|
|
@@ -31434,7 +31280,7 @@ function useIssueFlagBanner(messages, submitCount) {
|
|
|
31434
31280
|
init_state();
|
|
31435
31281
|
init_src();
|
|
31436
31282
|
var import_react118 = __toESM(require_react(), 1);
|
|
31437
|
-
var
|
|
31283
|
+
var jsx_dev_runtime94 = __toESM(require_jsx_dev_runtime(), 1);
|
|
31438
31284
|
function shouldShowDevBar() {
|
|
31439
31285
|
return true;
|
|
31440
31286
|
}
|
|
@@ -31447,7 +31293,7 @@ function DevBar() {
|
|
|
31447
31293
|
return null;
|
|
31448
31294
|
}
|
|
31449
31295
|
const recentOps = slowOps.slice(-3).map((op) => `${op.operation} (${Math.round(op.durationMs)}ms)`).join(" \xB7 ");
|
|
31450
|
-
return /* @__PURE__ */
|
|
31296
|
+
return /* @__PURE__ */ jsx_dev_runtime94.jsxDEV(ThemedText, {
|
|
31451
31297
|
wrap: "truncate-end",
|
|
31452
31298
|
color: "warning",
|
|
31453
31299
|
children: [
|
|
@@ -31474,8 +31320,8 @@ init_cwd();
|
|
|
31474
31320
|
init_path();
|
|
31475
31321
|
init_sessionStorage();
|
|
31476
31322
|
init_overlayContext();
|
|
31477
|
-
var
|
|
31478
|
-
var
|
|
31323
|
+
var React43 = __toESM(require_react(), 1);
|
|
31324
|
+
var jsx_dev_runtime95 = __toESM(require_jsx_dev_runtime(), 1);
|
|
31479
31325
|
import { join as join5 } from "path";
|
|
31480
31326
|
import { stat as stat2, writeFile as writeFile2 } from "fs/promises";
|
|
31481
31327
|
var MAX_VISIBLE_LINES = 24;
|
|
@@ -31497,12 +31343,12 @@ function UltraplanChoiceDialog({
|
|
|
31497
31343
|
useRegisterOverlay("ultraplan-choice");
|
|
31498
31344
|
const setAppState = useSetAppState();
|
|
31499
31345
|
const { rows, columns } = useTerminalSize();
|
|
31500
|
-
const visibleHeight =
|
|
31501
|
-
const wrappedLines =
|
|
31346
|
+
const visibleHeight = React43.useMemo(() => Math.min(MAX_VISIBLE_LINES, Math.max(1, Math.floor(rows / 2) - CHROME_LINES)), [rows]);
|
|
31347
|
+
const wrappedLines = React43.useMemo(() => wrapText(plan, Math.max(1, columns - 4), "wrap").split(`
|
|
31502
31348
|
`), [plan, columns]);
|
|
31503
31349
|
const maxOffset = Math.max(0, wrappedLines.length - visibleHeight);
|
|
31504
|
-
const [scrollOffset, setScrollOffset] =
|
|
31505
|
-
|
|
31350
|
+
const [scrollOffset, setScrollOffset] = React43.useState(0);
|
|
31351
|
+
React43.useEffect(() => {
|
|
31506
31352
|
setScrollOffset((prev) => Math.min(prev, maxOffset));
|
|
31507
31353
|
}, [maxOffset]);
|
|
31508
31354
|
const isScrollable = wrappedLines.length > visibleHeight;
|
|
@@ -31522,7 +31368,7 @@ function UltraplanChoiceDialog({
|
|
|
31522
31368
|
`);
|
|
31523
31369
|
const canScrollUp = scrollOffset > 0;
|
|
31524
31370
|
const canScrollDown = scrollOffset < maxOffset;
|
|
31525
|
-
const handleChoice =
|
|
31371
|
+
const handleChoice = React43.useCallback(async (choice) => {
|
|
31526
31372
|
switch (choice) {
|
|
31527
31373
|
case "here":
|
|
31528
31374
|
enqueuePendingNotification({
|
|
@@ -31587,7 +31433,7 @@ Implement this plan.`,
|
|
|
31587
31433
|
readFileState,
|
|
31588
31434
|
setConversationId
|
|
31589
31435
|
]);
|
|
31590
|
-
const options =
|
|
31436
|
+
const options = React43.useMemo(() => [
|
|
31591
31437
|
{
|
|
31592
31438
|
label: "Implement here",
|
|
31593
31439
|
value: "here",
|
|
@@ -31604,23 +31450,23 @@ Implement this plan.`,
|
|
|
31604
31450
|
description: "Don't implement \u2014 save plan and return"
|
|
31605
31451
|
}
|
|
31606
31452
|
], []);
|
|
31607
|
-
return /* @__PURE__ */
|
|
31453
|
+
return /* @__PURE__ */ jsx_dev_runtime95.jsxDEV(Dialog, {
|
|
31608
31454
|
title: "Ultraplan approved",
|
|
31609
31455
|
subtitle: "How should the plan be implemented?",
|
|
31610
31456
|
onCancel: () => {},
|
|
31611
31457
|
hideInputGuide: true,
|
|
31612
|
-
children: /* @__PURE__ */
|
|
31458
|
+
children: /* @__PURE__ */ jsx_dev_runtime95.jsxDEV(ThemedBox_default, {
|
|
31613
31459
|
flexDirection: "column",
|
|
31614
31460
|
marginBottom: 1,
|
|
31615
31461
|
children: [
|
|
31616
|
-
/* @__PURE__ */
|
|
31462
|
+
/* @__PURE__ */ jsx_dev_runtime95.jsxDEV(ThemedBox_default, {
|
|
31617
31463
|
flexDirection: "column",
|
|
31618
31464
|
marginBottom: 1,
|
|
31619
31465
|
children: [
|
|
31620
|
-
/* @__PURE__ */
|
|
31466
|
+
/* @__PURE__ */ jsx_dev_runtime95.jsxDEV(ThemedText, {
|
|
31621
31467
|
children: visibleText
|
|
31622
31468
|
}, undefined, false, undefined, this),
|
|
31623
|
-
isScrollable && /* @__PURE__ */
|
|
31469
|
+
isScrollable && /* @__PURE__ */ jsx_dev_runtime95.jsxDEV(ThemedText, {
|
|
31624
31470
|
dimColor: true,
|
|
31625
31471
|
children: [
|
|
31626
31472
|
canScrollUp ? figures_default.arrowUp : " ",
|
|
@@ -31636,7 +31482,7 @@ Implement this plan.`,
|
|
|
31636
31482
|
}, undefined, true, undefined, this)
|
|
31637
31483
|
]
|
|
31638
31484
|
}, undefined, true, undefined, this),
|
|
31639
|
-
/* @__PURE__ */
|
|
31485
|
+
/* @__PURE__ */ jsx_dev_runtime95.jsxDEV(Select, {
|
|
31640
31486
|
options,
|
|
31641
31487
|
onChange: (value) => void handleChoice(value)
|
|
31642
31488
|
}, undefined, false, undefined, this)
|
|
@@ -31653,8 +31499,8 @@ init_AppState();
|
|
|
31653
31499
|
init_config2();
|
|
31654
31500
|
init_ultraplan();
|
|
31655
31501
|
init_prompt5();
|
|
31656
|
-
var
|
|
31657
|
-
var
|
|
31502
|
+
var React44 = __toESM(require_react(), 1);
|
|
31503
|
+
var jsx_dev_runtime96 = __toESM(require_jsx_dev_runtime(), 1);
|
|
31658
31504
|
function dispatchShowTermsLink() {
|
|
31659
31505
|
return !getGlobalConfig().hasSeenUltraplanTerms;
|
|
31660
31506
|
}
|
|
@@ -31662,14 +31508,14 @@ function dispatchPromptIdentifier() {
|
|
|
31662
31508
|
return getPromptIdentifier();
|
|
31663
31509
|
}
|
|
31664
31510
|
function UltraplanLaunchDialog({ onChoice }) {
|
|
31665
|
-
const [showTermsLink] =
|
|
31666
|
-
const [promptIdentifier] =
|
|
31667
|
-
const dialogConfig =
|
|
31511
|
+
const [showTermsLink] = React44.useState(dispatchShowTermsLink);
|
|
31512
|
+
const [promptIdentifier] = React44.useState(dispatchPromptIdentifier);
|
|
31513
|
+
const dialogConfig = React44.useMemo(() => {
|
|
31668
31514
|
return getDialogConfig(promptIdentifier);
|
|
31669
31515
|
}, [promptIdentifier]);
|
|
31670
31516
|
const isBridgeEnabled2 = useAppState((state) => state.replBridgeEnabled);
|
|
31671
31517
|
const setAppState = useSetAppState();
|
|
31672
|
-
const handleChoice =
|
|
31518
|
+
const handleChoice = React44.useCallback((value) => {
|
|
31673
31519
|
const disconnectedBridge = value === "run" && isBridgeEnabled2;
|
|
31674
31520
|
if (disconnectedBridge) {
|
|
31675
31521
|
setAppState((prev) => {
|
|
@@ -31689,7 +31535,7 @@ function UltraplanLaunchDialog({ onChoice }) {
|
|
|
31689
31535
|
}
|
|
31690
31536
|
onChoice(value, { disconnectedBridge, promptIdentifier });
|
|
31691
31537
|
}, [onChoice, isBridgeEnabled2, setAppState, showTermsLink]);
|
|
31692
|
-
const handleCancel =
|
|
31538
|
+
const handleCancel = React44.useCallback(() => {
|
|
31693
31539
|
handleChoice("cancel");
|
|
31694
31540
|
}, [handleChoice]);
|
|
31695
31541
|
const runDescription = isBridgeEnabled2 ? "Disable remote control and launch in Claude Code on the web" : "launch in Claude Code on the web";
|
|
@@ -31701,26 +31547,26 @@ function UltraplanLaunchDialog({ onChoice }) {
|
|
|
31701
31547
|
},
|
|
31702
31548
|
{ label: "Not now", value: "cancel" }
|
|
31703
31549
|
];
|
|
31704
|
-
return /* @__PURE__ */
|
|
31550
|
+
return /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(Dialog, {
|
|
31705
31551
|
title: "Run ultraplan in the cloud?",
|
|
31706
31552
|
subtitle: dialogConfig.timeEstimate,
|
|
31707
31553
|
onCancel: handleCancel,
|
|
31708
|
-
children: /* @__PURE__ */
|
|
31554
|
+
children: /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedBox_default, {
|
|
31709
31555
|
flexDirection: "column",
|
|
31710
31556
|
gap: 1,
|
|
31711
31557
|
children: [
|
|
31712
|
-
/* @__PURE__ */
|
|
31558
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedBox_default, {
|
|
31713
31559
|
flexDirection: "column",
|
|
31714
31560
|
children: [
|
|
31715
|
-
/* @__PURE__ */
|
|
31561
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
31716
31562
|
dimColor: true,
|
|
31717
31563
|
children: dialogConfig.dialogBody
|
|
31718
31564
|
}, undefined, false, undefined, this),
|
|
31719
|
-
showTermsLink ? /* @__PURE__ */
|
|
31565
|
+
showTermsLink ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
31720
31566
|
dimColor: true,
|
|
31721
31567
|
children: [
|
|
31722
31568
|
"For more information on Claude Code on the web:",
|
|
31723
|
-
/* @__PURE__ */
|
|
31569
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(Link, {
|
|
31724
31570
|
url: CCR_TERMS_URL,
|
|
31725
31571
|
children: CCR_TERMS_URL
|
|
31726
31572
|
}, undefined, false, undefined, this)
|
|
@@ -31728,11 +31574,11 @@ function UltraplanLaunchDialog({ onChoice }) {
|
|
|
31728
31574
|
}, undefined, true, undefined, this) : null
|
|
31729
31575
|
]
|
|
31730
31576
|
}, undefined, true, undefined, this),
|
|
31731
|
-
/* @__PURE__ */
|
|
31577
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
31732
31578
|
dimColor: true,
|
|
31733
31579
|
children: isBridgeEnabled2 ? "This will disable Remote Control for this session." : dialogConfig.dialogPipeline
|
|
31734
31580
|
}, undefined, false, undefined, this),
|
|
31735
|
-
/* @__PURE__ */
|
|
31581
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(Select, {
|
|
31736
31582
|
options,
|
|
31737
31583
|
onChange: handleChoice
|
|
31738
31584
|
}, undefined, false, undefined, this)
|
|
@@ -32375,7 +32221,7 @@ function applyModalPagerAction(s, act, onBeforeJump) {
|
|
|
32375
32221
|
init_messageActions();
|
|
32376
32222
|
init_src();
|
|
32377
32223
|
init_attachments();
|
|
32378
|
-
var
|
|
32224
|
+
var jsx_dev_runtime97 = __toESM(require_jsx_dev_runtime(), 1);
|
|
32379
32225
|
var useVoiceIntegration2 = (init_useVoiceIntegration(), __toCommonJS(exports_useVoiceIntegration)).useVoiceIntegration;
|
|
32380
32226
|
var VoiceKeybindingHandler2 = (init_useVoiceIntegration(), __toCommonJS(exports_useVoiceIntegration)).VoiceKeybindingHandler;
|
|
32381
32227
|
var useFrustrationDetection2 = process.env.USER_TYPE === "ant" ? (init_useFrustrationDetection(), __toCommonJS(exports_useFrustrationDetection)).useFrustrationDetection : () => ({ state: "closed", handleTranscriptSelect: () => {} });
|
|
@@ -32424,7 +32270,7 @@ function TranscriptModeFooter({
|
|
|
32424
32270
|
}) {
|
|
32425
32271
|
const toggleShortcut = useShortcutDisplay("app:toggleTranscript", "Global", "ctrl+o");
|
|
32426
32272
|
const showAllShortcut = useShortcutDisplay("transcript:toggleShowAll", "Transcript", "ctrl+e");
|
|
32427
|
-
return /* @__PURE__ */
|
|
32273
|
+
return /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedBox_default, {
|
|
32428
32274
|
noSelect: true,
|
|
32429
32275
|
alignItems: "center",
|
|
32430
32276
|
alignSelf: "center",
|
|
@@ -32437,7 +32283,7 @@ function TranscriptModeFooter({
|
|
|
32437
32283
|
paddingLeft: 2,
|
|
32438
32284
|
width: "100%",
|
|
32439
32285
|
children: [
|
|
32440
|
-
/* @__PURE__ */
|
|
32286
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
32441
32287
|
dimColor: true,
|
|
32442
32288
|
children: [
|
|
32443
32289
|
"Showing detailed transcript \xB7 ",
|
|
@@ -32446,24 +32292,24 @@ function TranscriptModeFooter({
|
|
|
32446
32292
|
searchBadge ? " \xB7 n/N to navigate" : virtualScroll ? ` \xB7 ${figures_default.arrowUp}${figures_default.arrowDown} scroll \xB7 home/end top/bottom` : suppressShowAll ? "" : ` \xB7 ${showAllShortcut} to ${showAllInTranscript ? "collapse" : "show all"}`
|
|
32447
32293
|
]
|
|
32448
32294
|
}, undefined, true, undefined, this),
|
|
32449
|
-
status ? /* @__PURE__ */
|
|
32295
|
+
status ? /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(jsx_dev_runtime97.Fragment, {
|
|
32450
32296
|
children: [
|
|
32451
|
-
/* @__PURE__ */
|
|
32297
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedBox_default, {
|
|
32452
32298
|
flexGrow: 1
|
|
32453
32299
|
}, undefined, false, undefined, this),
|
|
32454
|
-
/* @__PURE__ */
|
|
32300
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
32455
32301
|
children: [
|
|
32456
32302
|
status,
|
|
32457
32303
|
" "
|
|
32458
32304
|
]
|
|
32459
32305
|
}, undefined, true, undefined, this)
|
|
32460
32306
|
]
|
|
32461
|
-
}, undefined, true, undefined, this) : searchBadge ? /* @__PURE__ */
|
|
32307
|
+
}, undefined, true, undefined, this) : searchBadge ? /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(jsx_dev_runtime97.Fragment, {
|
|
32462
32308
|
children: [
|
|
32463
|
-
/* @__PURE__ */
|
|
32309
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedBox_default, {
|
|
32464
32310
|
flexGrow: 1
|
|
32465
32311
|
}, undefined, false, undefined, this),
|
|
32466
|
-
/* @__PURE__ */
|
|
32312
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
32467
32313
|
dimColor: true,
|
|
32468
32314
|
children: [
|
|
32469
32315
|
searchBadge.current,
|
|
@@ -32492,8 +32338,8 @@ function TranscriptSearchBar({
|
|
|
32492
32338
|
onExit: () => onClose(query2),
|
|
32493
32339
|
onCancel
|
|
32494
32340
|
});
|
|
32495
|
-
const [indexStatus, setIndexStatus] =
|
|
32496
|
-
|
|
32341
|
+
const [indexStatus, setIndexStatus] = React47.useState("building");
|
|
32342
|
+
React47.useEffect(() => {
|
|
32497
32343
|
let alive = true;
|
|
32498
32344
|
const warm = jumpRef.current?.warmSearchIndex;
|
|
32499
32345
|
if (!warm) {
|
|
@@ -32524,7 +32370,7 @@ function TranscriptSearchBar({
|
|
|
32524
32370
|
}, [query2, warmDone]);
|
|
32525
32371
|
const off = cursorOffset;
|
|
32526
32372
|
const cursorChar = off < query2.length ? query2[off] : " ";
|
|
32527
|
-
return /* @__PURE__ */
|
|
32373
|
+
return /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedBox_default, {
|
|
32528
32374
|
borderTopDimColor: true,
|
|
32529
32375
|
borderBottom: false,
|
|
32530
32376
|
borderLeft: false,
|
|
@@ -32535,36 +32381,36 @@ function TranscriptSearchBar({
|
|
|
32535
32381
|
width: "100%",
|
|
32536
32382
|
noSelect: true,
|
|
32537
32383
|
children: [
|
|
32538
|
-
/* @__PURE__ */
|
|
32384
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
32539
32385
|
children: "/"
|
|
32540
32386
|
}, undefined, false, undefined, this),
|
|
32541
|
-
/* @__PURE__ */
|
|
32387
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
32542
32388
|
children: query2.slice(0, off)
|
|
32543
32389
|
}, undefined, false, undefined, this),
|
|
32544
|
-
/* @__PURE__ */
|
|
32390
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
32545
32391
|
inverse: true,
|
|
32546
32392
|
children: cursorChar
|
|
32547
32393
|
}, undefined, false, undefined, this),
|
|
32548
|
-
off < query2.length && /* @__PURE__ */
|
|
32394
|
+
off < query2.length && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
32549
32395
|
children: query2.slice(off + 1)
|
|
32550
32396
|
}, undefined, false, undefined, this),
|
|
32551
|
-
/* @__PURE__ */
|
|
32397
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedBox_default, {
|
|
32552
32398
|
flexGrow: 1
|
|
32553
32399
|
}, undefined, false, undefined, this),
|
|
32554
|
-
indexStatus === "building" ? /* @__PURE__ */
|
|
32400
|
+
indexStatus === "building" ? /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
32555
32401
|
dimColor: true,
|
|
32556
32402
|
children: "indexing\u2026 "
|
|
32557
|
-
}, undefined, false, undefined, this) : indexStatus ? /* @__PURE__ */
|
|
32403
|
+
}, undefined, false, undefined, this) : indexStatus ? /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
32558
32404
|
dimColor: true,
|
|
32559
32405
|
children: [
|
|
32560
32406
|
"indexed in ",
|
|
32561
32407
|
indexStatus.ms,
|
|
32562
32408
|
"ms "
|
|
32563
32409
|
]
|
|
32564
|
-
}, undefined, true, undefined, this) : count2 === 0 && query2 ? /* @__PURE__ */
|
|
32410
|
+
}, undefined, true, undefined, this) : count2 === 0 && query2 ? /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
32565
32411
|
color: "error",
|
|
32566
32412
|
children: "no matches "
|
|
32567
|
-
}, undefined, false, undefined, this) : count2 > 0 ? /* @__PURE__ */
|
|
32413
|
+
}, undefined, false, undefined, this) : count2 > 0 ? /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
32568
32414
|
dimColor: true,
|
|
32569
32415
|
children: [
|
|
32570
32416
|
current,
|
|
@@ -32687,11 +32533,10 @@ function REPL({
|
|
|
32687
32533
|
const mainLoopModel = useMainLoopModel();
|
|
32688
32534
|
const [localCommands, setLocalCommands] = import_react125.useState(initialCommands);
|
|
32689
32535
|
useSkillsChange(isRemoteSession ? undefined : getProjectRoot(), setLocalCommands);
|
|
32690
|
-
const proactiveActive =
|
|
32691
|
-
const proactiveNextTickAt =
|
|
32536
|
+
const proactiveActive = React47.useSyncExternalStore(proactiveModule3?.subscribeToProactiveChanges ?? PROACTIVE_NO_OP_SUBSCRIBE, proactiveModule3?.isProactiveActive ?? PROACTIVE_FALSE);
|
|
32537
|
+
const proactiveNextTickAt = React47.useSyncExternalStore(proactiveModule3?.subscribeToProactiveChanges ?? PROACTIVE_NO_OP_SUBSCRIBE, proactiveModule3?.getNextTickAt ?? PROACTIVE_NULL);
|
|
32692
32538
|
const isBriefOnly = useAppState((s) => s.isBriefOnly);
|
|
32693
32539
|
const localTools = import_react125.useMemo(() => getTools(toolPermissionContext), [toolPermissionContext, proactiveActive, isBriefOnly]);
|
|
32694
|
-
useKickOffCheckAndDisableBypassPermissionsIfNeeded();
|
|
32695
32540
|
useKickOffCheckAndDisableAutoModeIfNeeded();
|
|
32696
32541
|
const [dynamicMcpConfig, setDynamicMcpConfig] = import_react125.useState(initialDynamicMcpConfig);
|
|
32697
32542
|
const onChangeDynamicMcpConfig = import_react125.useCallback((config) => {
|
|
@@ -32724,7 +32569,6 @@ function REPL({
|
|
|
32724
32569
|
useCanSwitchToExistingSubscription();
|
|
32725
32570
|
useIDEStatusIndicator({ ideSelection, mcpClients, ideInstallationStatus });
|
|
32726
32571
|
useMcpConnectivityStatus({ mcpClients });
|
|
32727
|
-
useAutoModeUnavailableNotification();
|
|
32728
32572
|
usePluginInstallationStatus();
|
|
32729
32573
|
usePluginAutoupdateNotification();
|
|
32730
32574
|
useSettingsErrors();
|
|
@@ -32798,36 +32642,36 @@ function REPL({
|
|
|
32798
32642
|
const scrollRef = import_react125.useRef(null);
|
|
32799
32643
|
const modalScrollRef = import_react125.useRef(null);
|
|
32800
32644
|
const lastUserScrollTsRef = import_react125.useRef(0);
|
|
32801
|
-
const queryGuard =
|
|
32802
|
-
const isQueryActive =
|
|
32803
|
-
const [isExternalLoading, setIsExternalLoadingRaw] =
|
|
32645
|
+
const queryGuard = React47.useRef(new QueryGuard).current;
|
|
32646
|
+
const isQueryActive = React47.useSyncExternalStore(queryGuard.subscribe, queryGuard.getSnapshot);
|
|
32647
|
+
const [isExternalLoading, setIsExternalLoadingRaw] = React47.useState(remoteSessionConfig?.hasInitialPrompt ?? false);
|
|
32804
32648
|
const isLoading = isQueryActive || isExternalLoading;
|
|
32805
|
-
const [userInputOnProcessing, setUserInputOnProcessingRaw] =
|
|
32806
|
-
const userInputBaselineRef =
|
|
32807
|
-
const userMessagePendingRef =
|
|
32808
|
-
const loadingStartTimeRef =
|
|
32809
|
-
const totalPausedMsRef =
|
|
32810
|
-
const pauseStartTimeRef =
|
|
32811
|
-
const resetTimingRefs =
|
|
32649
|
+
const [userInputOnProcessing, setUserInputOnProcessingRaw] = React47.useState(undefined);
|
|
32650
|
+
const userInputBaselineRef = React47.useRef(0);
|
|
32651
|
+
const userMessagePendingRef = React47.useRef(false);
|
|
32652
|
+
const loadingStartTimeRef = React47.useRef(0);
|
|
32653
|
+
const totalPausedMsRef = React47.useRef(0);
|
|
32654
|
+
const pauseStartTimeRef = React47.useRef(null);
|
|
32655
|
+
const resetTimingRefs = React47.useCallback(() => {
|
|
32812
32656
|
loadingStartTimeRef.current = Date.now();
|
|
32813
32657
|
totalPausedMsRef.current = 0;
|
|
32814
32658
|
pauseStartTimeRef.current = null;
|
|
32815
32659
|
}, []);
|
|
32816
|
-
const wasQueryActiveRef =
|
|
32660
|
+
const wasQueryActiveRef = React47.useRef(false);
|
|
32817
32661
|
if (isQueryActive && !wasQueryActiveRef.current) {
|
|
32818
32662
|
resetTimingRefs();
|
|
32819
32663
|
}
|
|
32820
32664
|
wasQueryActiveRef.current = isQueryActive;
|
|
32821
|
-
const setIsExternalLoading =
|
|
32665
|
+
const setIsExternalLoading = React47.useCallback((value) => {
|
|
32822
32666
|
setIsExternalLoadingRaw(value);
|
|
32823
32667
|
if (value)
|
|
32824
32668
|
resetTimingRefs();
|
|
32825
32669
|
}, [resetTimingRefs]);
|
|
32826
|
-
const swarmStartTimeRef =
|
|
32827
|
-
const swarmBudgetInfoRef =
|
|
32828
|
-
const focusedInputDialogRef =
|
|
32670
|
+
const swarmStartTimeRef = React47.useRef(null);
|
|
32671
|
+
const swarmBudgetInfoRef = React47.useRef(undefined);
|
|
32672
|
+
const focusedInputDialogRef = React47.useRef(undefined);
|
|
32829
32673
|
const PROMPT_SUPPRESSION_MS = 1500;
|
|
32830
|
-
const [isPromptInputActive, setIsPromptInputActive] =
|
|
32674
|
+
const [isPromptInputActive, setIsPromptInputActive] = React47.useState(false);
|
|
32831
32675
|
const [autoUpdaterResult, setAutoUpdaterResult] = import_react125.useState(null);
|
|
32832
32676
|
import_react125.useEffect(() => {
|
|
32833
32677
|
if (autoUpdaterResult?.notifications) {
|
|
@@ -32857,9 +32701,9 @@ function REPL({
|
|
|
32857
32701
|
import_react125.useEffect(() => {
|
|
32858
32702
|
if (process.env.USER_TYPE === "ant") {
|
|
32859
32703
|
(async () => {
|
|
32860
|
-
const { isInternalModelRepo } = await import("./chunk-
|
|
32704
|
+
const { isInternalModelRepo } = await import("./chunk-s41rqgf2.js");
|
|
32861
32705
|
await isInternalModelRepo();
|
|
32862
|
-
const { shouldShowUndercoverAutoNotice } = await import("./chunk-
|
|
32706
|
+
const { shouldShowUndercoverAutoNotice } = await import("./chunk-7z02mx79.js");
|
|
32863
32707
|
if (shouldShowUndercoverAutoNotice()) {
|
|
32864
32708
|
setShowUndercoverCallout(true);
|
|
32865
32709
|
}
|
|
@@ -33106,7 +32950,7 @@ function REPL({
|
|
|
33106
32950
|
const terminalFocusRef = import_react125.useRef(isTerminalFocused);
|
|
33107
32951
|
terminalFocusRef.current = isTerminalFocused;
|
|
33108
32952
|
const [theme] = useTheme();
|
|
33109
|
-
const tipPickedThisTurnRef =
|
|
32953
|
+
const tipPickedThisTurnRef = React47.useRef(false);
|
|
33110
32954
|
const pickNewSpinnerTip = import_react125.useCallback(() => {
|
|
33111
32955
|
if (tipPickedThisTurnRef.current)
|
|
33112
32956
|
return;
|
|
@@ -33632,13 +33476,13 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
33632
33476
|
logForDebugging(`sandbox disabled: ${reason}`, { level: "warn" });
|
|
33633
33477
|
addNotification({
|
|
33634
33478
|
key: "sandbox-unavailable",
|
|
33635
|
-
jsx: /* @__PURE__ */
|
|
33479
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(jsx_dev_runtime97.Fragment, {
|
|
33636
33480
|
children: [
|
|
33637
|
-
/* @__PURE__ */
|
|
33481
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
33638
33482
|
color: "warning",
|
|
33639
33483
|
children: "sandbox disabled"
|
|
33640
33484
|
}, undefined, false, undefined, this),
|
|
33641
|
-
/* @__PURE__ */
|
|
33485
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
33642
33486
|
dimColor: true,
|
|
33643
33487
|
children: " \xB7 /sandbox"
|
|
33644
33488
|
}, undefined, false, undefined, this)
|
|
@@ -33991,7 +33835,7 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
33991
33835
|
}
|
|
33992
33836
|
queryCheckpoint("query_context_loading_start");
|
|
33993
33837
|
const [, , defaultSystemPrompt, baseUserContext, systemContext] = await Promise.all([
|
|
33994
|
-
|
|
33838
|
+
undefined,
|
|
33995
33839
|
checkAndDisableAutoModeIfNeeded(toolPermissionContext, setAppState, store.getState().fastMode),
|
|
33996
33840
|
getSystemPrompt(freshTools, mainLoopModelParam, Array.from(toolPermissionContext.additionalWorkingDirectories.keys()), freshMcpClients),
|
|
33997
33841
|
getUserContext(),
|
|
@@ -34201,7 +34045,7 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
34201
34045
|
async function processInitialMessage(initialMsg) {
|
|
34202
34046
|
if (initialMsg.clearContext) {
|
|
34203
34047
|
const oldPlanSlug = initialMsg.message.planContent ? getPlanSlug() : undefined;
|
|
34204
|
-
const { clearConversation: clearConversation2 } = await import("./chunk-
|
|
34048
|
+
const { clearConversation: clearConversation2 } = await import("./chunk-2xwg4n4g.js");
|
|
34205
34049
|
await clearConversation2({
|
|
34206
34050
|
setMessages,
|
|
34207
34051
|
readFileState: readFileState.current,
|
|
@@ -34554,7 +34398,7 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
34554
34398
|
logForDebugging(`resumeAgentBackground failed: ${errorMessage(err)}`);
|
|
34555
34399
|
addNotification({
|
|
34556
34400
|
key: `resume-agent-failed-${task.id}`,
|
|
34557
|
-
jsx: /* @__PURE__ */
|
|
34401
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
34558
34402
|
color: "error",
|
|
34559
34403
|
children: [
|
|
34560
34404
|
"Failed to resume agent: ",
|
|
@@ -34614,7 +34458,7 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
34614
34458
|
}
|
|
34615
34459
|
const showWorktree = getCurrentWorktreeSession() !== null;
|
|
34616
34460
|
if (showWorktree) {
|
|
34617
|
-
setExitFlow(/* @__PURE__ */
|
|
34461
|
+
setExitFlow(/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ExitFlow, {
|
|
34618
34462
|
showWorktree: true,
|
|
34619
34463
|
onDone: () => {},
|
|
34620
34464
|
onCancel: () => {
|
|
@@ -34873,21 +34717,21 @@ ${fileList}`);
|
|
|
34873
34717
|
const idleMinutes = (Date.now() - lqct) / 60000;
|
|
34874
34718
|
addNotif({
|
|
34875
34719
|
key: "idle-return-hint",
|
|
34876
|
-
jsx: mode === "hint_v2" ? /* @__PURE__ */
|
|
34720
|
+
jsx: mode === "hint_v2" ? /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(jsx_dev_runtime97.Fragment, {
|
|
34877
34721
|
children: [
|
|
34878
|
-
/* @__PURE__ */
|
|
34722
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
34879
34723
|
dimColor: true,
|
|
34880
34724
|
children: "new task? "
|
|
34881
34725
|
}, undefined, false, undefined, this),
|
|
34882
|
-
/* @__PURE__ */
|
|
34726
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
34883
34727
|
color: "suggestion",
|
|
34884
34728
|
children: "/clear"
|
|
34885
34729
|
}, undefined, false, undefined, this),
|
|
34886
|
-
/* @__PURE__ */
|
|
34730
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
34887
34731
|
dimColor: true,
|
|
34888
34732
|
children: " to save "
|
|
34889
34733
|
}, undefined, false, undefined, this),
|
|
34890
|
-
/* @__PURE__ */
|
|
34734
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
34891
34735
|
color: "suggestion",
|
|
34892
34736
|
children: [
|
|
34893
34737
|
formattedTokens,
|
|
@@ -34895,7 +34739,7 @@ ${fileList}`);
|
|
|
34895
34739
|
]
|
|
34896
34740
|
}, undefined, true, undefined, this)
|
|
34897
34741
|
]
|
|
34898
|
-
}, undefined, true, undefined, this) : /* @__PURE__ */
|
|
34742
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedText, {
|
|
34899
34743
|
color: "warning",
|
|
34900
34744
|
children: [
|
|
34901
34745
|
"new task? /clear to save ",
|
|
@@ -35140,8 +34984,8 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35140
34984
|
});
|
|
35141
34985
|
const { setQuery: setHighlight, scanElement, setPositions } = useSearchHighlight();
|
|
35142
34986
|
const transcriptCols = useTerminalSize().columns;
|
|
35143
|
-
const prevColsRef =
|
|
35144
|
-
|
|
34987
|
+
const prevColsRef = React47.useRef(transcriptCols);
|
|
34988
|
+
React47.useEffect(() => {
|
|
35145
34989
|
if (prevColsRef.current !== transcriptCols) {
|
|
35146
34990
|
prevColsRef.current = transcriptCols;
|
|
35147
34991
|
if (searchQuery || searchOpen) {
|
|
@@ -35241,7 +35085,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35241
35085
|
useTeammateViewAutoExit();
|
|
35242
35086
|
if (screen === "transcript") {
|
|
35243
35087
|
const transcriptScrollRef = isFullscreenEnvEnabled() && !disableVirtualScroll && !dumpMode ? scrollRef : undefined;
|
|
35244
|
-
const transcriptMessagesElement = /* @__PURE__ */
|
|
35088
|
+
const transcriptMessagesElement = /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(Messages, {
|
|
35245
35089
|
messages: transcriptMessages,
|
|
35246
35090
|
tools,
|
|
35247
35091
|
commands,
|
|
@@ -35266,51 +35110,51 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35266
35110
|
setPositions,
|
|
35267
35111
|
disableRenderCap: dumpMode
|
|
35268
35112
|
}, undefined, false, undefined, this);
|
|
35269
|
-
const transcriptToolJSX = toolJSX && /* @__PURE__ */
|
|
35113
|
+
const transcriptToolJSX = toolJSX && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedBox_default, {
|
|
35270
35114
|
flexDirection: "column",
|
|
35271
35115
|
width: "100%",
|
|
35272
35116
|
children: toolJSX.jsx
|
|
35273
35117
|
}, undefined, false, undefined, this);
|
|
35274
|
-
const transcriptReturn = /* @__PURE__ */
|
|
35118
|
+
const transcriptReturn = /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(KeybindingSetup, {
|
|
35275
35119
|
children: [
|
|
35276
|
-
/* @__PURE__ */
|
|
35120
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(AnimatedTerminalTitle, {
|
|
35277
35121
|
isAnimating: titleIsAnimating,
|
|
35278
35122
|
title: terminalTitle,
|
|
35279
35123
|
disabled: titleDisabled,
|
|
35280
35124
|
noPrefix: showStatusInTerminalTab
|
|
35281
35125
|
}, undefined, false, undefined, this),
|
|
35282
|
-
/* @__PURE__ */
|
|
35126
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(GlobalKeybindingHandlers, {
|
|
35283
35127
|
...globalKeybindingProps
|
|
35284
35128
|
}, undefined, false, undefined, this),
|
|
35285
|
-
/* @__PURE__ */
|
|
35129
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(VoiceKeybindingHandler2, {
|
|
35286
35130
|
voiceHandleKeyEvent: voice.handleKeyEvent,
|
|
35287
35131
|
stripTrailing: voice.stripTrailing,
|
|
35288
35132
|
resetAnchor: voice.resetAnchor,
|
|
35289
35133
|
isActive: !toolJSX?.isLocalJSXCommand
|
|
35290
35134
|
}, undefined, false, undefined, this),
|
|
35291
|
-
/* @__PURE__ */
|
|
35135
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(CommandKeybindingHandlers, {
|
|
35292
35136
|
onSubmit,
|
|
35293
35137
|
isActive: !toolJSX?.isLocalJSXCommand
|
|
35294
35138
|
}, undefined, false, undefined, this),
|
|
35295
|
-
transcriptScrollRef ? /* @__PURE__ */
|
|
35139
|
+
transcriptScrollRef ? /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ScrollKeybindingHandler, {
|
|
35296
35140
|
scrollRef,
|
|
35297
35141
|
isActive: focusedInputDialog !== "ultraplan-choice",
|
|
35298
35142
|
isModal: !searchOpen,
|
|
35299
35143
|
onScroll: () => jumpRef.current?.disarmSearch()
|
|
35300
35144
|
}, undefined, false, undefined, this) : null,
|
|
35301
|
-
/* @__PURE__ */
|
|
35145
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(CancelRequestHandler, {
|
|
35302
35146
|
...cancelRequestProps
|
|
35303
35147
|
}, undefined, false, undefined, this),
|
|
35304
|
-
transcriptScrollRef ? /* @__PURE__ */
|
|
35148
|
+
transcriptScrollRef ? /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(FullscreenLayout, {
|
|
35305
35149
|
scrollRef,
|
|
35306
|
-
scrollable: /* @__PURE__ */
|
|
35150
|
+
scrollable: /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(jsx_dev_runtime97.Fragment, {
|
|
35307
35151
|
children: [
|
|
35308
35152
|
transcriptMessagesElement,
|
|
35309
35153
|
transcriptToolJSX,
|
|
35310
|
-
/* @__PURE__ */
|
|
35154
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(SandboxViolationExpandedView, {}, undefined, false, undefined, this)
|
|
35311
35155
|
]
|
|
35312
35156
|
}, undefined, true, undefined, this),
|
|
35313
|
-
bottom: searchOpen ? /* @__PURE__ */
|
|
35157
|
+
bottom: searchOpen ? /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(TranscriptSearchBar, {
|
|
35314
35158
|
jumpRef,
|
|
35315
35159
|
initialQuery: "",
|
|
35316
35160
|
count: searchCount,
|
|
@@ -35331,18 +35175,18 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35331
35175
|
setHighlight(searchQuery);
|
|
35332
35176
|
},
|
|
35333
35177
|
setHighlight
|
|
35334
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */
|
|
35178
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(TranscriptModeFooter, {
|
|
35335
35179
|
showAllInTranscript,
|
|
35336
35180
|
virtualScroll: true,
|
|
35337
35181
|
status: editorStatus || undefined,
|
|
35338
35182
|
searchBadge: searchQuery && searchCount > 0 ? { current: searchCurrent, count: searchCount } : undefined
|
|
35339
35183
|
}, undefined, false, undefined, this)
|
|
35340
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */
|
|
35184
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(jsx_dev_runtime97.Fragment, {
|
|
35341
35185
|
children: [
|
|
35342
35186
|
transcriptMessagesElement,
|
|
35343
35187
|
transcriptToolJSX,
|
|
35344
|
-
/* @__PURE__ */
|
|
35345
|
-
/* @__PURE__ */
|
|
35188
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(SandboxViolationExpandedView, {}, undefined, false, undefined, this),
|
|
35189
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(TranscriptModeFooter, {
|
|
35346
35190
|
showAllInTranscript,
|
|
35347
35191
|
virtualScroll: false,
|
|
35348
35192
|
suppressShowAll: dumpMode,
|
|
@@ -35353,7 +35197,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35353
35197
|
]
|
|
35354
35198
|
}, undefined, true, undefined, this);
|
|
35355
35199
|
if (transcriptScrollRef) {
|
|
35356
|
-
return /* @__PURE__ */
|
|
35200
|
+
return /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(AlternateScreen, {
|
|
35357
35201
|
mouseTracking: isMouseTrackingEnabled(),
|
|
35358
35202
|
children: transcriptReturn
|
|
35359
35203
|
}, undefined, false, undefined, this);
|
|
@@ -35366,7 +35210,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35366
35210
|
const usesSyncMessages = showStreamingText || !isLoading;
|
|
35367
35211
|
const displayedMessages = viewedAgentTask ? viewedAgentTask.messages ?? [] : usesSyncMessages ? messages : deferredMessages;
|
|
35368
35212
|
const placeholderText = userInputOnProcessing && !viewedAgentTask && displayedMessages.length <= userInputBaselineRef.current ? userInputOnProcessing : undefined;
|
|
35369
|
-
const toolPermissionOverlay = focusedInputDialog === "tool-permission" ? /* @__PURE__ */
|
|
35213
|
+
const toolPermissionOverlay = focusedInputDialog === "tool-permission" ? /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(PermissionRequest, {
|
|
35370
35214
|
onDone: () => setToolUseConfirmQueue(([_, ...tail]) => tail),
|
|
35371
35215
|
onReject: handleQueuedCommandOnCancel,
|
|
35372
35216
|
toolUseConfirm: toolUseConfirmQueue[0],
|
|
@@ -35379,43 +35223,43 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35379
35223
|
const companionVisible = !toolJSX?.shouldHidePromptInput && !focusedInputDialog && !showBashesDialog;
|
|
35380
35224
|
const toolJsxCentered = isFullscreenEnvEnabled() && toolJSX?.isLocalJSXCommand === true;
|
|
35381
35225
|
const centeredModal = toolJsxCentered ? toolJSX.jsx : null;
|
|
35382
|
-
const mainReturn = /* @__PURE__ */
|
|
35226
|
+
const mainReturn = /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(KeybindingSetup, {
|
|
35383
35227
|
children: [
|
|
35384
|
-
/* @__PURE__ */
|
|
35228
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(AnimatedTerminalTitle, {
|
|
35385
35229
|
isAnimating: titleIsAnimating,
|
|
35386
35230
|
title: terminalTitle,
|
|
35387
35231
|
disabled: titleDisabled,
|
|
35388
35232
|
noPrefix: showStatusInTerminalTab
|
|
35389
35233
|
}, undefined, false, undefined, this),
|
|
35390
|
-
/* @__PURE__ */
|
|
35234
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(GlobalKeybindingHandlers, {
|
|
35391
35235
|
...globalKeybindingProps
|
|
35392
35236
|
}, undefined, false, undefined, this),
|
|
35393
|
-
/* @__PURE__ */
|
|
35237
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(VoiceKeybindingHandler2, {
|
|
35394
35238
|
voiceHandleKeyEvent: voice.handleKeyEvent,
|
|
35395
35239
|
stripTrailing: voice.stripTrailing,
|
|
35396
35240
|
resetAnchor: voice.resetAnchor,
|
|
35397
35241
|
isActive: !toolJSX?.isLocalJSXCommand
|
|
35398
35242
|
}, undefined, false, undefined, this),
|
|
35399
|
-
/* @__PURE__ */
|
|
35243
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(CommandKeybindingHandlers, {
|
|
35400
35244
|
onSubmit,
|
|
35401
35245
|
isActive: !toolJSX?.isLocalJSXCommand
|
|
35402
35246
|
}, undefined, false, undefined, this),
|
|
35403
|
-
/* @__PURE__ */
|
|
35247
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ScrollKeybindingHandler, {
|
|
35404
35248
|
scrollRef,
|
|
35405
35249
|
isActive: isFullscreenEnvEnabled() && (centeredModal != null || !focusedInputDialog || focusedInputDialog === "tool-permission"),
|
|
35406
35250
|
onScroll: composedOnScroll
|
|
35407
35251
|
}, undefined, false, undefined, this),
|
|
35408
35252
|
null,
|
|
35409
|
-
/* @__PURE__ */
|
|
35253
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(CancelRequestHandler, {
|
|
35410
35254
|
...cancelRequestProps
|
|
35411
35255
|
}, undefined, false, undefined, this),
|
|
35412
|
-
/* @__PURE__ */
|
|
35256
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(MCPConnectionManager, {
|
|
35413
35257
|
dynamicMcpConfig,
|
|
35414
35258
|
isStrictMcpConfig: strictMcpConfig,
|
|
35415
|
-
children: /* @__PURE__ */
|
|
35259
|
+
children: /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(FullscreenLayout, {
|
|
35416
35260
|
scrollRef,
|
|
35417
35261
|
overlay: toolPermissionOverlay,
|
|
35418
|
-
bottomFloat: companionVisible && !companionNarrow ? /* @__PURE__ */
|
|
35262
|
+
bottomFloat: companionVisible && !companionNarrow ? /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(CompanionFloatingBubble, {}, undefined, false, undefined, this) : undefined,
|
|
35419
35263
|
modal: centeredModal,
|
|
35420
35264
|
modalScrollRef,
|
|
35421
35265
|
dividerYRef,
|
|
@@ -35426,10 +35270,10 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35426
35270
|
setCursor(null);
|
|
35427
35271
|
jumpToNew(scrollRef.current);
|
|
35428
35272
|
},
|
|
35429
|
-
scrollable: /* @__PURE__ */
|
|
35273
|
+
scrollable: /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(jsx_dev_runtime97.Fragment, {
|
|
35430
35274
|
children: [
|
|
35431
|
-
/* @__PURE__ */
|
|
35432
|
-
/* @__PURE__ */
|
|
35275
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(TeammateViewHeader, {}, undefined, false, undefined, this),
|
|
35276
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(Messages, {
|
|
35433
35277
|
messages: displayedMessages,
|
|
35434
35278
|
tools,
|
|
35435
35279
|
commands,
|
|
@@ -35454,23 +35298,23 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35454
35298
|
setCursor,
|
|
35455
35299
|
cursorNavRef
|
|
35456
35300
|
}, undefined, false, undefined, this),
|
|
35457
|
-
/* @__PURE__ */
|
|
35458
|
-
!disabled && placeholderText && !centeredModal && /* @__PURE__ */
|
|
35301
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(AwsAuthStatusBox, {}, undefined, false, undefined, this),
|
|
35302
|
+
!disabled && placeholderText && !centeredModal && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(UserTextMessage, {
|
|
35459
35303
|
param: { text: placeholderText, type: "text" },
|
|
35460
35304
|
addMargin: true,
|
|
35461
35305
|
verbose
|
|
35462
35306
|
}, undefined, false, undefined, this),
|
|
35463
|
-
toolJSX && !(toolJSX.isLocalJSXCommand && toolJSX.isImmediate) && !toolJsxCentered && /* @__PURE__ */
|
|
35307
|
+
toolJSX && !(toolJSX.isLocalJSXCommand && toolJSX.isImmediate) && !toolJsxCentered && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedBox_default, {
|
|
35464
35308
|
flexDirection: "column",
|
|
35465
35309
|
width: "100%",
|
|
35466
35310
|
children: toolJSX.jsx
|
|
35467
35311
|
}, undefined, false, undefined, this),
|
|
35468
|
-
process.env.USER_TYPE === "ant" && /* @__PURE__ */
|
|
35312
|
+
process.env.USER_TYPE === "ant" && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(TungstenLiveMonitor, {}, undefined, false, undefined, this),
|
|
35469
35313
|
null,
|
|
35470
|
-
/* @__PURE__ */
|
|
35314
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedBox_default, {
|
|
35471
35315
|
flexGrow: 1
|
|
35472
35316
|
}, undefined, false, undefined, this),
|
|
35473
|
-
showSpinner && /* @__PURE__ */
|
|
35317
|
+
showSpinner && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(SpinnerWithVerb, {
|
|
35474
35318
|
mode: streamMode,
|
|
35475
35319
|
spinnerTip,
|
|
35476
35320
|
responseLengthRef,
|
|
@@ -35486,35 +35330,35 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35486
35330
|
hasActiveTools: inProgressToolUseIDs.size > 0,
|
|
35487
35331
|
leaderIsIdle: !isLoading
|
|
35488
35332
|
}, undefined, false, undefined, this),
|
|
35489
|
-
!showSpinner && !isLoading && !userInputOnProcessing && !hasRunningTeammates && isBriefOnly && !viewedAgentTask && /* @__PURE__ */
|
|
35490
|
-
isFullscreenEnvEnabled() && /* @__PURE__ */
|
|
35333
|
+
!showSpinner && !isLoading && !userInputOnProcessing && !hasRunningTeammates && isBriefOnly && !viewedAgentTask && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(BriefIdleStatus, {}, undefined, false, undefined, this),
|
|
35334
|
+
isFullscreenEnvEnabled() && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(PromptInputQueuedCommands, {}, undefined, false, undefined, this)
|
|
35491
35335
|
]
|
|
35492
35336
|
}, undefined, true, undefined, this),
|
|
35493
|
-
bottom: /* @__PURE__ */
|
|
35337
|
+
bottom: /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedBox_default, {
|
|
35494
35338
|
flexDirection: companionNarrow ? "column" : "row",
|
|
35495
35339
|
width: "100%",
|
|
35496
35340
|
alignItems: companionNarrow ? undefined : "flex-end",
|
|
35497
35341
|
children: [
|
|
35498
|
-
companionNarrow && isFullscreenEnvEnabled() && companionVisible ? /* @__PURE__ */
|
|
35499
|
-
/* @__PURE__ */
|
|
35342
|
+
companionNarrow && isFullscreenEnvEnabled() && companionVisible ? /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(CompanionSprite, {}, undefined, false, undefined, this) : null,
|
|
35343
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedBox_default, {
|
|
35500
35344
|
flexDirection: "column",
|
|
35501
35345
|
flexGrow: 1,
|
|
35502
35346
|
children: [
|
|
35503
35347
|
permissionStickyFooter,
|
|
35504
|
-
toolJSX?.isLocalJSXCommand && toolJSX.isImmediate && !toolJsxCentered && /* @__PURE__ */
|
|
35348
|
+
toolJSX?.isLocalJSXCommand && toolJSX.isImmediate && !toolJsxCentered && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedBox_default, {
|
|
35505
35349
|
flexDirection: "column",
|
|
35506
35350
|
width: "100%",
|
|
35507
35351
|
children: toolJSX.jsx
|
|
35508
35352
|
}, undefined, false, undefined, this),
|
|
35509
|
-
!showSpinner && !toolJSX?.isLocalJSXCommand && showExpandedTodos && tasksV2 && tasksV2.length > 0 && /* @__PURE__ */
|
|
35353
|
+
!showSpinner && !toolJSX?.isLocalJSXCommand && showExpandedTodos && tasksV2 && tasksV2.length > 0 && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ThemedBox_default, {
|
|
35510
35354
|
width: "100%",
|
|
35511
35355
|
flexDirection: "column",
|
|
35512
|
-
children: /* @__PURE__ */
|
|
35356
|
+
children: /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(TaskListV2, {
|
|
35513
35357
|
tasks: tasksV2,
|
|
35514
35358
|
isStandalone: true
|
|
35515
35359
|
}, undefined, false, undefined, this)
|
|
35516
35360
|
}, undefined, false, undefined, this),
|
|
35517
|
-
focusedInputDialog === "sandbox-permission" && /* @__PURE__ */
|
|
35361
|
+
focusedInputDialog === "sandbox-permission" && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(SandboxPermissionRequest, {
|
|
35518
35362
|
hostPattern: sandboxPermissionRequestQueue[0].hostPattern,
|
|
35519
35363
|
onUserResponse: (response) => {
|
|
35520
35364
|
const { allow, persistToSettings } = response;
|
|
@@ -35554,7 +35398,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35554
35398
|
}
|
|
35555
35399
|
}
|
|
35556
35400
|
}, sandboxPermissionRequestQueue[0].hostPattern.host, false, undefined, this),
|
|
35557
|
-
focusedInputDialog === "prompt" && /* @__PURE__ */
|
|
35401
|
+
focusedInputDialog === "prompt" && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(PromptDialog, {
|
|
35558
35402
|
title: promptQueue[0].title,
|
|
35559
35403
|
toolInputSummary: promptQueue[0].toolInputSummary,
|
|
35560
35404
|
request: promptQueue[0].request,
|
|
@@ -35576,15 +35420,15 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35576
35420
|
setPromptQueue(([, ...tail]) => tail);
|
|
35577
35421
|
}
|
|
35578
35422
|
}, promptQueue[0].request.prompt, false, undefined, this),
|
|
35579
|
-
pendingWorkerRequest && /* @__PURE__ */
|
|
35423
|
+
pendingWorkerRequest && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(WorkerPendingPermission, {
|
|
35580
35424
|
toolName: pendingWorkerRequest.toolName,
|
|
35581
35425
|
description: pendingWorkerRequest.description
|
|
35582
35426
|
}, undefined, false, undefined, this),
|
|
35583
|
-
pendingSandboxRequest && /* @__PURE__ */
|
|
35427
|
+
pendingSandboxRequest && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(WorkerPendingPermission, {
|
|
35584
35428
|
toolName: "Network Access",
|
|
35585
35429
|
description: `Waiting for leader to approve network access to ${pendingSandboxRequest.host}`
|
|
35586
35430
|
}, undefined, false, undefined, this),
|
|
35587
|
-
focusedInputDialog === "worker-sandbox-permission" && /* @__PURE__ */
|
|
35431
|
+
focusedInputDialog === "worker-sandbox-permission" && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(SandboxPermissionRequest, {
|
|
35588
35432
|
hostPattern: {
|
|
35589
35433
|
host: workerSandboxPermissions.queue[0].host,
|
|
35590
35434
|
port: undefined
|
|
@@ -35624,7 +35468,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35624
35468
|
}));
|
|
35625
35469
|
}
|
|
35626
35470
|
}, workerSandboxPermissions.queue[0].requestId, false, undefined, this),
|
|
35627
|
-
focusedInputDialog === "elicitation" && /* @__PURE__ */
|
|
35471
|
+
focusedInputDialog === "elicitation" && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(ElicitationDialog, {
|
|
35628
35472
|
event: elicitation.queue[0],
|
|
35629
35473
|
onResponse: (action, content) => {
|
|
35630
35474
|
const currentRequest = elicitation.queue[0];
|
|
@@ -35652,7 +35496,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35652
35496
|
currentRequest?.onWaitingDismiss?.(action);
|
|
35653
35497
|
}
|
|
35654
35498
|
}, elicitation.queue[0].serverName + ":" + String(elicitation.queue[0].requestId), false, undefined, this),
|
|
35655
|
-
focusedInputDialog === "cost" && /* @__PURE__ */
|
|
35499
|
+
focusedInputDialog === "cost" && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(CostThresholdDialog, {
|
|
35656
35500
|
onDone: () => {
|
|
35657
35501
|
setShowCostDialog(false);
|
|
35658
35502
|
setHaveShownCostDialog(true);
|
|
@@ -35663,7 +35507,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35663
35507
|
logEvent("tengu_cost_threshold_acknowledged", {});
|
|
35664
35508
|
}
|
|
35665
35509
|
}, undefined, false, undefined, this),
|
|
35666
|
-
focusedInputDialog === "idle-return" && idleReturnPending && /* @__PURE__ */
|
|
35510
|
+
focusedInputDialog === "idle-return" && idleReturnPending && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(IdleReturnDialog, {
|
|
35667
35511
|
idleMinutes: idleReturnPending.idleMinutes,
|
|
35668
35512
|
totalInputTokens: getTotalInputTokens(),
|
|
35669
35513
|
onDone: async (action) => {
|
|
@@ -35687,7 +35531,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35687
35531
|
});
|
|
35688
35532
|
}
|
|
35689
35533
|
if (action === "clear") {
|
|
35690
|
-
const { clearConversation: clearConversation2 } = await import("./chunk-
|
|
35534
|
+
const { clearConversation: clearConversation2 } = await import("./chunk-2xwg4n4g.js");
|
|
35691
35535
|
await clearConversation2({
|
|
35692
35536
|
setMessages,
|
|
35693
35537
|
readFileState: readFileState.current,
|
|
@@ -35710,11 +35554,11 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35710
35554
|
});
|
|
35711
35555
|
}
|
|
35712
35556
|
}, undefined, false, undefined, this),
|
|
35713
|
-
focusedInputDialog === "ide-onboarding" && /* @__PURE__ */
|
|
35557
|
+
focusedInputDialog === "ide-onboarding" && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(IdeOnboardingDialog, {
|
|
35714
35558
|
onDone: () => setShowIdeOnboarding(false),
|
|
35715
35559
|
installationStatus: ideInstallationStatus
|
|
35716
35560
|
}, undefined, false, undefined, this),
|
|
35717
|
-
process.env.USER_TYPE === "ant" && focusedInputDialog === "model-switch" && AntModelSwitchCallout2 && /* @__PURE__ */
|
|
35561
|
+
process.env.USER_TYPE === "ant" && focusedInputDialog === "model-switch" && AntModelSwitchCallout2 && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(AntModelSwitchCallout2, {
|
|
35718
35562
|
onDone: (selection, modelAlias) => {
|
|
35719
35563
|
setShowModelSwitchCallout(false);
|
|
35720
35564
|
if (selection === "switch" && modelAlias) {
|
|
@@ -35726,10 +35570,10 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35726
35570
|
}
|
|
35727
35571
|
}
|
|
35728
35572
|
}, undefined, false, undefined, this),
|
|
35729
|
-
process.env.USER_TYPE === "ant" && focusedInputDialog === "undercover-callout" && UndercoverAutoCallout2 && /* @__PURE__ */
|
|
35573
|
+
process.env.USER_TYPE === "ant" && focusedInputDialog === "undercover-callout" && UndercoverAutoCallout2 && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(UndercoverAutoCallout2, {
|
|
35730
35574
|
onDone: () => setShowUndercoverCallout(false)
|
|
35731
35575
|
}, undefined, false, undefined, this),
|
|
35732
|
-
focusedInputDialog === "effort-callout" && /* @__PURE__ */
|
|
35576
|
+
focusedInputDialog === "effort-callout" && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(EffortCallout, {
|
|
35733
35577
|
model: mainLoopModel,
|
|
35734
35578
|
onDone: (selection) => {
|
|
35735
35579
|
setShowEffortCallout(false);
|
|
@@ -35741,7 +35585,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35741
35585
|
}
|
|
35742
35586
|
}
|
|
35743
35587
|
}, undefined, false, undefined, this),
|
|
35744
|
-
focusedInputDialog === "remote-callout" && /* @__PURE__ */
|
|
35588
|
+
focusedInputDialog === "remote-callout" && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(RemoteCallout, {
|
|
35745
35589
|
onDone: (selection) => {
|
|
35746
35590
|
setAppState((prev) => {
|
|
35747
35591
|
if (!prev.showRemoteCallout)
|
|
@@ -35759,23 +35603,23 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35759
35603
|
}
|
|
35760
35604
|
}, undefined, false, undefined, this),
|
|
35761
35605
|
exitFlow,
|
|
35762
|
-
focusedInputDialog === "plugin-hint" && hintRecommendation && /* @__PURE__ */
|
|
35606
|
+
focusedInputDialog === "plugin-hint" && hintRecommendation && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(PluginHintMenu, {
|
|
35763
35607
|
pluginName: hintRecommendation.pluginName,
|
|
35764
35608
|
pluginDescription: hintRecommendation.pluginDescription,
|
|
35765
35609
|
marketplaceName: hintRecommendation.marketplaceName,
|
|
35766
35610
|
sourceCommand: hintRecommendation.sourceCommand,
|
|
35767
35611
|
onResponse: handleHintResponse
|
|
35768
35612
|
}, undefined, false, undefined, this),
|
|
35769
|
-
focusedInputDialog === "lsp-recommendation" && lspRecommendation && /* @__PURE__ */
|
|
35613
|
+
focusedInputDialog === "lsp-recommendation" && lspRecommendation && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(LspRecommendationMenu, {
|
|
35770
35614
|
pluginName: lspRecommendation.pluginName,
|
|
35771
35615
|
pluginDescription: lspRecommendation.pluginDescription,
|
|
35772
35616
|
fileExtension: lspRecommendation.fileExtension,
|
|
35773
35617
|
onResponse: handleLspResponse
|
|
35774
35618
|
}, undefined, false, undefined, this),
|
|
35775
|
-
focusedInputDialog === "desktop-upsell" && /* @__PURE__ */
|
|
35619
|
+
focusedInputDialog === "desktop-upsell" && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(DesktopUpsellStartup, {
|
|
35776
35620
|
onDone: () => setShowDesktopUpsellStartup(false)
|
|
35777
35621
|
}, undefined, false, undefined, this),
|
|
35778
|
-
focusedInputDialog === "ultraplan-choice" && ultraplanPendingChoice && /* @__PURE__ */
|
|
35622
|
+
focusedInputDialog === "ultraplan-choice" && ultraplanPendingChoice && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(UltraplanChoiceDialog, {
|
|
35779
35623
|
plan: ultraplanPendingChoice.plan,
|
|
35780
35624
|
sessionId: ultraplanPendingChoice.sessionId,
|
|
35781
35625
|
taskId: ultraplanPendingChoice.taskId,
|
|
@@ -35784,7 +35628,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35784
35628
|
getAppState: () => store.getState(),
|
|
35785
35629
|
setConversationId
|
|
35786
35630
|
}, undefined, false, undefined, this),
|
|
35787
|
-
focusedInputDialog === "ultraplan-launch" && ultraplanLaunchPending && /* @__PURE__ */
|
|
35631
|
+
focusedInputDialog === "ultraplan-launch" && ultraplanLaunchPending && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(UltraplanLaunchDialog, {
|
|
35788
35632
|
onChoice: (choice, opts) => {
|
|
35789
35633
|
const blurb = ultraplanLaunchPending.blurb;
|
|
35790
35634
|
setAppState((prev) => prev.ultraplanLaunchPending ? { ...prev, ultraplanLaunchPending: undefined } : prev);
|
|
@@ -35824,21 +35668,21 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35824
35668
|
}
|
|
35825
35669
|
}, undefined, false, undefined, this),
|
|
35826
35670
|
mrRender(),
|
|
35827
|
-
!toolJSX?.shouldHidePromptInput && !focusedInputDialog && !isExiting && !disabled && !cursor && /* @__PURE__ */
|
|
35671
|
+
!toolJSX?.shouldHidePromptInput && !focusedInputDialog && !isExiting && !disabled && !cursor && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(jsx_dev_runtime97.Fragment, {
|
|
35828
35672
|
children: [
|
|
35829
|
-
autoRunIssueReason && /* @__PURE__ */
|
|
35673
|
+
autoRunIssueReason && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(AutoRunIssueNotification, {
|
|
35830
35674
|
onRun: handleAutoRunIssue,
|
|
35831
35675
|
onCancel: handleCancelAutoRunIssue,
|
|
35832
35676
|
reason: getAutoRunIssueReasonText(autoRunIssueReason)
|
|
35833
35677
|
}, undefined, false, undefined, this),
|
|
35834
|
-
postCompactSurvey.state !== "closed" ? /* @__PURE__ */
|
|
35678
|
+
postCompactSurvey.state !== "closed" ? /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(FeedbackSurvey, {
|
|
35835
35679
|
state: postCompactSurvey.state,
|
|
35836
35680
|
lastResponse: postCompactSurvey.lastResponse,
|
|
35837
35681
|
handleSelect: postCompactSurvey.handleSelect,
|
|
35838
35682
|
inputValue,
|
|
35839
35683
|
setInputValue,
|
|
35840
35684
|
onRequestFeedback: handleSurveyRequestFeedback
|
|
35841
|
-
}, undefined, false, undefined, this) : memorySurvey.state !== "closed" ? /* @__PURE__ */
|
|
35685
|
+
}, undefined, false, undefined, this) : memorySurvey.state !== "closed" ? /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(FeedbackSurvey, {
|
|
35842
35686
|
state: memorySurvey.state,
|
|
35843
35687
|
lastResponse: memorySurvey.lastResponse,
|
|
35844
35688
|
handleSelect: memorySurvey.handleSelect,
|
|
@@ -35847,7 +35691,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35847
35691
|
setInputValue,
|
|
35848
35692
|
onRequestFeedback: handleSurveyRequestFeedback,
|
|
35849
35693
|
message: "How well did Claude use its memory? (optional)"
|
|
35850
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */
|
|
35694
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(FeedbackSurvey, {
|
|
35851
35695
|
state: feedbackSurvey.state,
|
|
35852
35696
|
lastResponse: feedbackSurvey.lastResponse,
|
|
35853
35697
|
handleSelect: feedbackSurvey.handleSelect,
|
|
@@ -35856,7 +35700,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35856
35700
|
setInputValue,
|
|
35857
35701
|
onRequestFeedback: didAutoRunIssueRef.current ? undefined : handleSurveyRequestFeedback
|
|
35858
35702
|
}, undefined, false, undefined, this),
|
|
35859
|
-
frustrationDetection.state !== "closed" && /* @__PURE__ */
|
|
35703
|
+
frustrationDetection.state !== "closed" && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(FeedbackSurvey, {
|
|
35860
35704
|
state: frustrationDetection.state,
|
|
35861
35705
|
lastResponse: null,
|
|
35862
35706
|
handleSelect: () => {},
|
|
@@ -35864,7 +35708,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35864
35708
|
inputValue,
|
|
35865
35709
|
setInputValue
|
|
35866
35710
|
}, undefined, false, undefined, this),
|
|
35867
|
-
process.env.USER_TYPE === "ant" && skillImprovementSurvey.suggestion && /* @__PURE__ */
|
|
35711
|
+
process.env.USER_TYPE === "ant" && skillImprovementSurvey.suggestion && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(SkillImprovementSurvey, {
|
|
35868
35712
|
isOpen: skillImprovementSurvey.isOpen,
|
|
35869
35713
|
skillName: skillImprovementSurvey.suggestion.skillName,
|
|
35870
35714
|
updates: skillImprovementSurvey.suggestion.updates,
|
|
@@ -35872,8 +35716,8 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35872
35716
|
inputValue,
|
|
35873
35717
|
setInputValue
|
|
35874
35718
|
}, undefined, false, undefined, this),
|
|
35875
|
-
showIssueFlagBanner && /* @__PURE__ */
|
|
35876
|
-
/* @__PURE__ */
|
|
35719
|
+
showIssueFlagBanner && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(IssueFlagBanner, {}, undefined, false, undefined, this),
|
|
35720
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(PromptInput_default, {
|
|
35877
35721
|
debug,
|
|
35878
35722
|
ideSelection,
|
|
35879
35723
|
hasSuppressedDialogs: !!hasSuppressedDialogs,
|
|
@@ -35915,16 +35759,16 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
35915
35759
|
insertTextRef,
|
|
35916
35760
|
voiceInterimRange: voice.interimRange
|
|
35917
35761
|
}, undefined, false, undefined, this),
|
|
35918
|
-
/* @__PURE__ */
|
|
35762
|
+
/* @__PURE__ */ jsx_dev_runtime97.jsxDEV(SessionBackgroundHint, {
|
|
35919
35763
|
onBackgroundSession: handleBackgroundSession,
|
|
35920
35764
|
isLoading
|
|
35921
35765
|
}, undefined, false, undefined, this)
|
|
35922
35766
|
]
|
|
35923
35767
|
}, undefined, true, undefined, this),
|
|
35924
|
-
cursor && /* @__PURE__ */
|
|
35768
|
+
cursor && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(MessageActionsBar, {
|
|
35925
35769
|
cursor
|
|
35926
35770
|
}, undefined, false, undefined, this),
|
|
35927
|
-
focusedInputDialog === "message-selector" && /* @__PURE__ */
|
|
35771
|
+
focusedInputDialog === "message-selector" && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(MessageSelector, {
|
|
35928
35772
|
messages,
|
|
35929
35773
|
preselectedMessage: messageSelectorPreselect,
|
|
35930
35774
|
onPreRestore: onCancel,
|
|
@@ -36007,10 +35851,10 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
36007
35851
|
setMessageSelectorPreselect(undefined);
|
|
36008
35852
|
}
|
|
36009
35853
|
}, undefined, false, undefined, this),
|
|
36010
|
-
process.env.USER_TYPE === "ant" && /* @__PURE__ */
|
|
35854
|
+
process.env.USER_TYPE === "ant" && /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(DevBar, {}, undefined, false, undefined, this)
|
|
36011
35855
|
]
|
|
36012
35856
|
}, undefined, true, undefined, this),
|
|
36013
|
-
!(companionNarrow && isFullscreenEnvEnabled()) && companionVisible ? /* @__PURE__ */
|
|
35857
|
+
!(companionNarrow && isFullscreenEnvEnabled()) && companionVisible ? /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(CompanionSprite, {}, undefined, false, undefined, this) : null
|
|
36014
35858
|
]
|
|
36015
35859
|
}, undefined, true, undefined, this)
|
|
36016
35860
|
}, undefined, false, undefined, this)
|
|
@@ -36018,7 +35862,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
36018
35862
|
]
|
|
36019
35863
|
}, undefined, true, undefined, this);
|
|
36020
35864
|
if (isFullscreenEnvEnabled()) {
|
|
36021
|
-
return /* @__PURE__ */
|
|
35865
|
+
return /* @__PURE__ */ jsx_dev_runtime97.jsxDEV(AlternateScreen, {
|
|
36022
35866
|
mouseTracking: isMouseTrackingEnabled(),
|
|
36023
35867
|
children: mainReturn
|
|
36024
35868
|
}, undefined, false, undefined, this);
|