@redscope-ai/redscope 1.0.1 → 1.0.3
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.en.md +227 -0
- package/README.md +220 -217
- package/dist/{chunk-3x0s9z1q.js → chunk-023acdm0.js} +25 -25
- package/dist/{chunk-m7r5vcgq.js → chunk-06jm5f5w.js} +3 -3
- package/dist/{chunk-facpqya9.js → chunk-06w1r147.js} +2 -2
- package/dist/{chunk-9vfydwy6.js → chunk-0avzafsa.js} +2 -5
- package/dist/{chunk-rrk7d1rq.js → chunk-0c1e6nsn.js} +25 -25
- package/dist/{chunk-dgpvgy8x.js → chunk-0cw0nqjs.js} +3 -1
- package/dist/{chunk-3em6npyp.js → chunk-0jka50w4.js} +3 -3
- package/dist/{chunk-7rjwrny5.js → chunk-0rbc26z4.js} +26 -31
- package/dist/{chunk-s6m0q0ay.js → chunk-0rf3q4pf.js} +39 -80
- package/dist/{chunk-hb9ktw1z.js → chunk-0svk90hg.js} +25 -25
- package/dist/{chunk-38ss09df.js → chunk-0vzzrkz4.js} +25 -25
- package/dist/{chunk-95drsk81.js → chunk-0wcq2t8n.js} +2 -2
- package/dist/{chunk-3byh4jew.js → chunk-0yxm7z9z.js} +3 -3
- package/dist/{chunk-xkpkfzk8.js → chunk-123bvtj1.js} +30 -48
- package/dist/{chunk-djgf5xch.js → chunk-12hpfrr1.js} +25 -25
- package/dist/{chunk-byq8np07.js → chunk-15tat68f.js} +2 -2
- package/dist/{chunk-ebmxh8nf.js → chunk-16ykprvr.js} +1 -1
- package/dist/{chunk-zrewvwc3.js → chunk-17dcqvgw.js} +1 -1
- package/dist/{chunk-mmm8kj27.js → chunk-192cahpv.js} +38 -50
- package/dist/{chunk-nkk989sg.js → chunk-21c75grh.js} +27 -27
- package/dist/{chunk-cdw0xw6e.js → chunk-21rqe34c.js} +25 -25
- package/dist/{chunk-48ba4bv3.js → chunk-24dea3bm.js} +26 -26
- package/dist/{chunk-118jdzmk.js → chunk-24gt9tem.js} +4 -4
- package/dist/{chunk-2zeke2mx.js → chunk-257f88xy.js} +25 -25
- package/dist/{chunk-etsm0ajc.js → chunk-25a7e2b2.js} +2 -3
- package/dist/{chunk-g1cwsyvs.js → chunk-27jq35w7.js} +2 -4
- package/dist/{chunk-xymn8svx.js → chunk-2gr8wd1e.js} +31 -31
- package/dist/{chunk-9fc170m9.js → chunk-2hhnyc9z.js} +1 -1
- package/dist/{chunk-ps28aehs.js → chunk-2r358tjd.js} +3 -3
- package/dist/{chunk-m1xjf821.js → chunk-2wtxmesv.js} +1 -1
- package/dist/{chunk-wqwj2tpk.js → chunk-34dbp6b1.js} +51 -162
- package/dist/{chunk-3y22e541.js → chunk-36hnfrpk.js} +25 -25
- package/dist/{chunk-az9kwsq6.js → chunk-36qfna0k.js} +49 -29
- package/dist/{chunk-3s34rpkc.js → chunk-38cze5hg.js} +4 -4
- package/dist/{chunk-zaavsjhp.js → chunk-38qbfqxd.js} +28 -26
- package/dist/{chunk-845qrs4g.js → chunk-392qkvj0.js} +1 -1
- package/dist/{chunk-2y9tthav.js → chunk-3brgt1g6.js} +3 -3
- package/dist/{chunk-vjef66jt.js → chunk-3df47gdq.js} +3 -3
- package/dist/{chunk-jmvph1v2.js → chunk-3e4mz6v4.js} +26 -26
- package/dist/{chunk-pe2aev4q.js → chunk-3ehdg9ak.js} +1 -1
- package/dist/{chunk-35c7a56h.js → chunk-3gv7d6fm.js} +8 -8
- package/dist/{chunk-y7sm71r6.js → chunk-3hp43psz.js} +25 -25
- package/dist/{chunk-qf0neqhd.js → chunk-3psr6x6b.js} +2 -2
- package/dist/{chunk-hae38370.js → chunk-3x87ez75.js} +1 -1
- package/dist/{chunk-ws8ktkp2.js → chunk-3z9myktf.js} +40 -63
- package/dist/{chunk-3tmdbgn2.js → chunk-41246kaz.js} +1 -1
- package/dist/{chunk-m89pwye4.js → chunk-420rqw3z.js} +30 -29
- package/dist/{chunk-f3az90wc.js → chunk-4380xxa3.js} +2 -2
- package/dist/{chunk-g9x2ap0b.js → chunk-43rvg1zq.js} +3 -3
- package/dist/{chunk-yvxcjtz7.js → chunk-449d7km7.js} +25 -25
- package/dist/{chunk-k6mma3ve.js → chunk-4b63tj55.js} +1 -1
- package/dist/{chunk-msq2j1xq.js → chunk-4baty7hv.js} +2 -2
- package/dist/{chunk-9rhnq6vb.js → chunk-4f0xjp4j.js} +26 -26
- package/dist/{chunk-hpz6p72y.js → chunk-4g8b675z.js} +1 -1
- package/dist/{chunk-nh067a2v.js → chunk-4hys4qgz.js} +26 -26
- package/dist/{chunk-wpq11vtx.js → chunk-4pdg7btc.js} +29 -37
- package/dist/{chunk-dskw04f8.js → chunk-4yx011va.js} +2 -2
- package/dist/{chunk-96km1ywr.js → chunk-53smzk07.js} +1 -1
- package/dist/{chunk-teeb7f70.js → chunk-58q8wak5.js} +2 -2
- package/dist/{chunk-6vf405r0.js → chunk-5a87wve4.js} +1 -1
- package/dist/{chunk-kv5gqm4t.js → chunk-5f669g1y.js} +34 -34
- package/dist/{chunk-v1gzhmc4.js → chunk-5hfkz8z3.js} +26 -29
- package/dist/{chunk-gehsdyty.js → chunk-5ms6ey49.js} +10 -10
- package/dist/{chunk-4hpf2hs5.js → chunk-5n03fg3b.js} +33 -33
- package/dist/{chunk-gn4ts3wj.js → chunk-5qrv6nyj.js} +30 -34
- package/dist/{chunk-t3cdrybs.js → chunk-5xzdjshx.js} +4 -4
- package/dist/{chunk-nybfe7qh.js → chunk-62jt470s.js} +28 -28
- package/dist/{chunk-108674yb.js → chunk-651s7b3k.js} +3 -3
- package/dist/{chunk-1prwdfyt.js → chunk-6b2n30vp.js} +11 -3
- package/dist/{chunk-fp7kqndy.js → chunk-6drv9gkd.js} +1 -1
- package/dist/{chunk-pwvv7adz.js → chunk-6h02w7mw.js} +31 -31
- package/dist/{chunk-qaa5zdf5.js → chunk-6hvaee4x.js} +7 -7
- package/dist/{chunk-6m4f9pt8.js → chunk-6myhvvnb.js} +3 -3
- package/dist/{chunk-dn38ghbx.js → chunk-6rana23t.js} +25 -25
- package/dist/{chunk-5vgs6h6r.js → chunk-6tm0pvfz.js} +25 -25
- package/dist/{chunk-qgn7adb3.js → chunk-70x23w21.js} +3 -3
- package/dist/{chunk-1zmk2k73.js → chunk-71bfm075.js} +5 -14
- package/dist/{chunk-jyc9ee3b.js → chunk-71ty5kab.js} +26 -28
- package/dist/{chunk-xcbtmk08.js → chunk-72f32e05.js} +4 -4
- package/dist/{chunk-tvjm482f.js → chunk-77cdmh9s.js} +2 -2
- package/dist/{chunk-es80866m.js → chunk-7bb4vr99.js} +4 -4
- package/dist/{chunk-ayp1cck9.js → chunk-7e312nps.js} +28 -35
- package/dist/{chunk-03sgymkc.js → chunk-7g1ate44.js} +3 -3
- package/dist/{chunk-gkwfk6pk.js → chunk-7gcjspsw.js} +2 -2
- package/dist/{chunk-pysmrsg6.js → chunk-7hsebpzz.js} +25 -25
- package/dist/{chunk-40ew9zet.js → chunk-7k2k3bms.js} +4 -4
- package/dist/{chunk-fgewf3s5.js → chunk-82de4zqa.js} +1 -1
- package/dist/{chunk-xxxb7ay6.js → chunk-85jwc8ct.js} +1 -1
- package/dist/{chunk-5k0h7yng.js → chunk-8dsmcq3w.js} +1 -1
- package/dist/{chunk-fktq06we.js → chunk-8dxjycb5.js} +1 -1
- package/dist/{chunk-aqy4rhff.js → chunk-8fkhrc99.js} +28 -28
- package/dist/{chunk-bt0jjtxe.js → chunk-8gyxs2mr.js} +11 -15
- package/dist/{chunk-ynwz88mf.js → chunk-8jaazkcj.js} +28 -28
- package/dist/{chunk-shqdbrjy.js → chunk-8jzdq5e3.js} +25 -25
- package/dist/{chunk-tnkxj15w.js → chunk-8p35ye53.js} +2 -2
- package/dist/{chunk-btvdr85j.js → chunk-8q5tkq8h.js} +3 -10
- package/dist/{chunk-pxm90z87.js → chunk-8wv5ta2v.js} +1 -1
- package/dist/{chunk-c92b3yxx.js → chunk-8yk09jf7.js} +1 -6
- package/dist/{chunk-m34de98f.js → chunk-90mtjp37.js} +25 -25
- package/dist/{chunk-24x4tpcg.js → chunk-9f6wwesg.js} +1 -1
- package/dist/{chunk-bbtb1e16.js → chunk-9ga8nhmh.js} +5 -5
- package/dist/{chunk-y1q7rt9n.js → chunk-9hbhydvp.js} +9 -1
- package/dist/{chunk-h3vhqwda.js → chunk-9jztbykz.js} +3 -3
- package/dist/{chunk-z5bh8n1z.js → chunk-9kbb2tkx.js} +27 -31
- package/dist/{chunk-8gf0j7a3.js → chunk-9m216tqg.js} +3 -3
- package/dist/{chunk-42aq57ss.js → chunk-9ntm4n7z.js} +26 -26
- package/dist/{chunk-cqpdmmd2.js → chunk-9sbrrmez.js} +53 -53
- package/dist/{chunk-f6cd6jxz.js → chunk-9sm4ege9.js} +2 -2
- package/dist/{chunk-0d4ekx1g.js → chunk-9t2bqb6a.js} +1 -1
- package/dist/{chunk-sqb9zs51.js → chunk-9tbt0tz4.js} +2 -2
- package/dist/{chunk-t263bh1j.js → chunk-9tpg56r8.js} +10 -10
- package/dist/{chunk-8xnm5637.js → chunk-9zyj24r6.js} +1 -3
- package/dist/{chunk-46bx77pc.js → chunk-a2dhamw6.js} +3 -3
- package/dist/{chunk-2hssetay.js → chunk-a61hmmch.js} +29 -36
- package/dist/{chunk-6c6ajnxc.js → chunk-a771zcw5.js} +23 -14
- package/dist/{chunk-k2rnemk9.js → chunk-a9280tpx.js} +40 -70
- package/dist/{chunk-8fxs2ek5.js → chunk-aabp3a25.js} +2 -2
- package/dist/{chunk-kapm0z1r.js → chunk-ab6vt3av.js} +3 -3
- package/dist/{chunk-zr2r1pp2.js → chunk-aghqm7cp.js} +1 -1
- package/dist/{chunk-crcnq5mc.js → chunk-ahsxxya9.js} +2 -2
- package/dist/{chunk-dew0tnpy.js → chunk-anqc1vt9.js} +4 -5
- package/dist/{chunk-rdr4pc38.js → chunk-ar9m0mhy.js} +3 -3
- package/dist/{chunk-n7avn8wg.js → chunk-at0k7eqj.js} +3 -3
- package/dist/{chunk-bzkz1ky7.js → chunk-b1y3s14w.js} +25 -25
- package/dist/{chunk-h9y0jnsy.js → chunk-b34jxkk8.js} +1 -1
- package/dist/{chunk-4h7xy4dh.js → chunk-b502p09b.js} +26 -26
- package/dist/{chunk-m8d8228q.js → chunk-b60rrn7g.js} +2 -2
- package/dist/{chunk-gnw38h0h.js → chunk-b68d32sc.js} +1 -1
- package/dist/{chunk-wadkkd06.js → chunk-b6q03jm8.js} +1 -1
- package/dist/{chunk-y17h3nem.js → chunk-b94ss7th.js} +383 -511
- package/dist/{chunk-zx3t16wy.js → chunk-ba1vxwa1.js} +3 -3
- package/dist/{chunk-ke2xr0zp.js → chunk-be6vpz65.js} +26 -26
- package/dist/{chunk-5grskch0.js → chunk-bss7me0y.js} +2 -2
- package/dist/{chunk-v6xy1kav.js → chunk-bt3v9b0h.js} +1 -1
- package/dist/{chunk-6pp44ghd.js → chunk-bvef4qyt.js} +2 -2
- package/dist/{chunk-69b48vvv.js → chunk-byap8c9b.js} +31 -31
- package/dist/{chunk-cfmqtqkn.js → chunk-c49174me.js} +25 -25
- package/dist/{chunk-5acyx193.js → chunk-c6m406sh.js} +143 -155
- package/dist/{chunk-k71bwvbw.js → chunk-c9typ3gb.js} +4 -4
- package/dist/{chunk-d8nsyprn.js → chunk-c9ys0mwc.js} +25 -25
- package/dist/{chunk-b5z2220y.js → chunk-ca3vzvgb.js} +31 -100
- package/dist/{chunk-hmrpceqa.js → chunk-cb26shy6.js} +26 -26
- package/dist/{chunk-16bhs1p0.js → chunk-cdt0ke60.js} +4 -4
- package/dist/{chunk-zavsx6cm.js → chunk-cfr43xmx.js} +36 -40
- package/dist/{chunk-15s0b32z.js → chunk-cmk2h8qj.js} +2 -2
- package/dist/{chunk-6mtezaym.js → chunk-cnsdtq6g.js} +1 -1
- package/dist/{chunk-v1txebaq.js → chunk-cqt1d235.js} +7 -7
- package/dist/{chunk-jkxvsyw2.js → chunk-crbaqxvp.js} +26 -28
- package/dist/{chunk-7cbah69x.js → chunk-cvby21xy.js} +2 -2
- package/dist/{chunk-tdp8bfv9.js → chunk-d5jz3f04.js} +30 -30
- package/dist/{chunk-yc1stfve.js → chunk-d6h68rz1.js} +35 -6
- package/dist/{chunk-3zvf9eb0.js → chunk-d7xyzd78.js} +26 -26
- package/dist/{chunk-1vsyejd5.js → chunk-d9epkj9j.js} +27 -32
- package/dist/{chunk-5r5hs5my.js → chunk-dbw5akz5.js} +3 -3
- package/dist/{chunk-569r8cxc.js → chunk-dby9tdb2.js} +2 -2
- package/dist/{chunk-rsqb6k6s.js → chunk-dp4hee08.js} +1 -1
- package/dist/{chunk-wf8nkt8n.js → chunk-dtzw81qk.js} +26 -26
- package/dist/{chunk-rpnc9jnq.js → chunk-dy0d3azb.js} +26 -26
- package/dist/{chunk-7n6v7ekm.js → chunk-e1qjcy3t.js} +33 -33
- package/dist/{chunk-py80f1er.js → chunk-e2vw8fnp.js} +1 -1
- package/dist/{chunk-ybdfv1s0.js → chunk-e4mxbs7d.js} +26 -26
- package/dist/{chunk-qdbrpgaa.js → chunk-e8y0f1x6.js} +27 -27
- package/dist/{chunk-cvz1013b.js → chunk-e9fr4ty1.js} +26 -26
- package/dist/{chunk-dgg25rc9.js → chunk-eb7me6rb.js} +3 -3
- package/dist/{chunk-eb1tdxht.js → chunk-edh2j03b.js} +33 -31
- package/dist/{chunk-dmpht44r.js → chunk-ep4mg38n.js} +25 -25
- package/dist/{chunk-x05pr8cv.js → chunk-exbhf2jv.js} +1 -1
- package/dist/{chunk-vqge5991.js → chunk-f14rjxna.js} +28 -28
- package/dist/{chunk-x4k49p69.js → chunk-f5rmx8bc.js} +1 -1
- package/dist/{chunk-h52jr0s2.js → chunk-fb3pkd06.js} +4 -4
- package/dist/{chunk-3r0chvv3.js → chunk-ffjggx50.js} +4 -4
- package/dist/{chunk-y0jpkqb0.js → chunk-ffjh6d8h.js} +1 -1
- package/dist/{chunk-py4a4pqa.js → chunk-fh7znw23.js} +3 -3
- package/dist/{chunk-m3fpv9m4.js → chunk-fn3yf8bk.js} +25 -25
- package/dist/{chunk-bxfjr8qb.js → chunk-fnnydvgk.js} +1 -4
- package/dist/{chunk-gqxhxbrm.js → chunk-fwm9m18x.js} +27 -27
- package/dist/{chunk-0aga5p4j.js → chunk-fxeh76ke.js} +9 -14
- package/dist/{chunk-k7zhd1n9.js → chunk-fz3xtmax.js} +3 -6
- package/dist/{chunk-x467jkr2.js → chunk-g3vt8j66.js} +3 -3
- package/dist/{chunk-wjrh437v.js → chunk-g8j9w65z.js} +25 -25
- package/dist/{chunk-2r0xe849.js → chunk-gat2rqe3.js} +2 -2
- package/dist/{chunk-1cp4tssa.js → chunk-gbz90cv0.js} +29 -29
- package/dist/{chunk-pgzra72s.js → chunk-gk4qt842.js} +1 -1
- package/dist/{chunk-0ftxzg6b.js → chunk-gm93y7fr.js} +4 -4
- package/dist/{chunk-j67j0q8e.js → chunk-gtyc70v3.js} +31 -31
- package/dist/{chunk-ccpnm053.js → chunk-gz78s9g7.js} +4 -12
- package/dist/{chunk-1x33yqwv.js → chunk-h097dbka.js} +12 -17
- package/dist/{chunk-g9rfhsrg.js → chunk-h82jhs55.js} +27 -30
- package/dist/{chunk-crrygp6w.js → chunk-h9sg6p3n.js} +50 -41
- package/dist/{chunk-0v6nwehr.js → chunk-hafb4dd5.js} +3 -3
- package/dist/{chunk-w3hh65pc.js → chunk-hk680c8v.js} +1 -1
- package/dist/{chunk-ygps2yzm.js → chunk-hqzh5gj7.js} +2 -2
- package/dist/{chunk-nvyayxg0.js → chunk-hs3svh16.js} +2 -2
- package/dist/{chunk-ws23ec48.js → chunk-hs6ef6rn.js} +31 -31
- package/dist/{chunk-bm4zs1ey.js → chunk-hv3kvkak.js} +1 -1
- package/dist/{chunk-6j53g6b7.js → chunk-hx4rsg90.js} +450 -765
- package/dist/{chunk-rtfaxrgn.js → chunk-hxkjw3ze.js} +28 -28
- package/dist/{chunk-vy3ymppm.js → chunk-jefhpktc.js} +3 -3
- package/dist/{chunk-g7e0x5ps.js → chunk-k04vcf1j.js} +25 -25
- package/dist/{chunk-39pep784.js → chunk-k1ykjp3a.js} +25 -25
- package/dist/{chunk-0x1h010f.js → chunk-k31kre8q.js} +33 -32
- package/dist/{chunk-b20ya4fm.js → chunk-k840zqh9.js} +17 -17
- package/dist/{chunk-9q08s5jb.js → chunk-k8n9ccw9.js} +2 -2
- package/dist/{chunk-42tbpab3.js → chunk-k9fq0b0p.js} +33 -33
- package/dist/{chunk-awktpdj2.js → chunk-kbsg78a2.js} +26 -26
- package/dist/{chunk-rnpzn3ta.js → chunk-kcyjy5xm.js} +26 -26
- package/dist/{chunk-ydqv268k.js → chunk-keh8g5s4.js} +25 -25
- package/dist/{chunk-hadfe3zm.js → chunk-kg0qj6wr.js} +4 -4
- package/dist/{chunk-ss3gcwt8.js → chunk-ks8085nc.js} +1 -1
- package/dist/{chunk-a9t328ze.js → chunk-kw569tcv.js} +1 -1
- package/dist/{chunk-71tg4ah6.js → chunk-kxnysa9r.js} +4 -4
- package/dist/{chunk-0f0krwqd.js → chunk-m1axrn8w.js} +32 -32
- package/dist/{chunk-67k6y6sx.js → chunk-m3af8apr.js} +24 -54
- package/dist/{chunk-tz6g7907.js → chunk-m64yv2y0.js} +39 -41
- package/dist/{chunk-d9q04mc9.js → chunk-mbq17qwc.js} +5 -5
- package/dist/{chunk-dcj7m5pd.js → chunk-me221fnz.js} +25 -25
- package/dist/{chunk-0vfyxe04.js → chunk-mfsg67f4.js} +1 -1
- package/dist/{chunk-fvchxg7c.js → chunk-mgdqb67t.js} +4 -4
- package/dist/{chunk-hnjaedaa.js → chunk-mk3eatzp.js} +28 -28
- package/dist/{chunk-1j4w27aj.js → chunk-mw4pkrhb.js} +3 -3
- package/dist/{chunk-vzemy9p2.js → chunk-mz54mwcm.js} +28 -28
- package/dist/{chunk-h1q62w9b.js → chunk-n48pdt6g.js} +3 -3
- package/dist/{chunk-d7nnxg9e.js → chunk-n6enq39f.js} +37 -37
- package/dist/{chunk-sve527ec.js → chunk-n820cs8x.js} +2 -2
- package/dist/{chunk-z0npj10a.js → chunk-nej6tppj.js} +4 -6
- package/dist/{chunk-j9dwehfy.js → chunk-nh12n4bh.js} +2 -2
- package/dist/{chunk-09c7zbha.js → chunk-nr314e0d.js} +5 -5
- package/dist/{chunk-3bwpr51s.js → chunk-nr6yeqg9.js} +3 -3
- package/dist/{chunk-nv2g7kqb.js → chunk-nsth4egq.js} +32 -28
- package/dist/{chunk-bavt4d1a.js → chunk-nsx63tpq.js} +1 -1
- package/dist/{chunk-9cvrchzr.js → chunk-nw1pq2at.js} +1 -1
- package/dist/{chunk-823jkeqf.js → chunk-p0580tk6.js} +26 -26
- package/dist/{chunk-hyk17mxm.js → chunk-p0kfxg23.js} +27 -27
- package/dist/{chunk-v31etvwf.js → chunk-p940kef5.js} +25 -25
- package/dist/{chunk-t32dbdts.js → chunk-p9pbmsh1.js} +30 -30
- package/dist/{chunk-cg31rs9z.js → chunk-phebstzk.js} +26 -26
- package/dist/{chunk-wjdayz24.js → chunk-pptkgmn7.js} +1 -1
- package/dist/{chunk-m9h3teqm.js → chunk-pxz1x6kh.js} +3 -3
- package/dist/{chunk-0e923q9e.js → chunk-q0aaftyt.js} +2 -2
- package/dist/{chunk-0fgy0a2d.js → chunk-q5f19xja.js} +25 -25
- package/dist/{chunk-6fj6gfav.js → chunk-q5sy5h1w.js} +28 -28
- package/dist/{chunk-p2cv4ef0.js → chunk-q6caans4.js} +27 -27
- package/dist/{chunk-rzkybj9n.js → chunk-q739gaap.js} +31 -41
- package/dist/{chunk-q1tk35hj.js → chunk-q8n4x9kw.js} +4 -4
- package/dist/{chunk-0zccbj4r.js → chunk-q9jgf0an.js} +25 -25
- package/dist/{chunk-f478jc4c.js → chunk-qckzcfcp.js} +3 -3
- package/dist/{chunk-6zctverb.js → chunk-qd0ga24g.js} +3 -3
- package/dist/{chunk-vbc622dg.js → chunk-qfjfx6yb.js} +28 -34
- package/dist/{chunk-5s9zywdh.js → chunk-qj6admze.js} +4 -4
- package/dist/{chunk-ps6w3af1.js → chunk-qjv1t29g.js} +25 -25
- package/dist/{chunk-g05nms9h.js → chunk-qsqdaj65.js} +12 -6
- package/dist/{chunk-jqdfj5r0.js → chunk-qsrqzd71.js} +26 -26
- package/dist/{chunk-14ed0z0n.js → chunk-r34bn98d.js} +448 -333
- package/dist/{chunk-3n2zxf7j.js → chunk-r6rma3r3.js} +4 -4
- package/dist/{chunk-yjt3sgjs.js → chunk-ra7g8h1f.js} +28 -28
- package/dist/{chunk-zgrdt130.js → chunk-rg5hp66e.js} +7 -3
- package/dist/{chunk-f1ax7nvc.js → chunk-rmqha52m.js} +25 -25
- package/dist/{chunk-6wnv7pvf.js → chunk-rq6mrzb1.js} +85 -85
- package/dist/{chunk-ae0pyyzd.js → chunk-rs7bqp82.js} +25 -25
- package/dist/{chunk-fjc6m366.js → chunk-s45v4e5b.js} +25 -25
- package/dist/{chunk-rr02mk1q.js → chunk-s54nb94b.js} +1 -1
- package/dist/{chunk-y5gs640e.js → chunk-s8s5fbgx.js} +87 -89
- package/dist/{chunk-c4j1fctq.js → chunk-sa0ckby8.js} +2 -2
- package/dist/{chunk-kjqpx8kt.js → chunk-scs3m9tx.js} +43 -94
- package/dist/{chunk-fj2cq7s4.js → chunk-sjgmqp2w.js} +1 -1
- package/dist/{chunk-ssczwcf7.js → chunk-srmck8jr.js} +25 -25
- package/dist/{chunk-43pkxev1.js → chunk-sy8a49a7.js} +2 -2
- package/dist/{chunk-563qvm6y.js → chunk-sz157krv.js} +5 -5
- package/dist/{chunk-dgz3j4vs.js → chunk-t5em6b88.js} +5 -5
- package/dist/{chunk-je0n4kr7.js → chunk-t9m3ynjv.js} +32 -43
- package/dist/{chunk-f6bbf75e.js → chunk-tcpzqhch.js} +26 -26
- package/dist/{chunk-xq2yjg05.js → chunk-th02syc4.js} +2 -2
- package/dist/{chunk-0fhmr0w0.js → chunk-tj8vee5h.js} +25 -25
- package/dist/{chunk-e1pt9qq3.js → chunk-tt8q5jqt.js} +3 -3
- package/dist/{chunk-fk5rrpbs.js → chunk-twppwq9t.js} +6 -6
- package/dist/{chunk-k8hqc8kk.js → chunk-v45x0kzq.js} +3 -3
- package/dist/{chunk-ctv9nhb5.js → chunk-v8kvm848.js} +27 -31
- package/dist/{chunk-vrjk4ey8.js → chunk-vcn8ntbt.js} +1 -1
- package/dist/{chunk-5zvszqae.js → chunk-vgp7ftmh.js} +26 -26
- package/dist/{chunk-fzw6qvhh.js → chunk-vmw0f2vb.js} +1 -1
- package/dist/{chunk-sfkan82x.js → chunk-vn4g4kzp.js} +26 -30
- package/dist/{chunk-kfhkg7qp.js → chunk-vphcxpa0.js} +2 -2
- package/dist/{chunk-0bdvjksk.js → chunk-vxrvxpk6.js} +26 -26
- package/dist/{chunk-j02knw02.js → chunk-w38bdthg.js} +25 -25
- package/dist/{chunk-95m5b0fy.js → chunk-w55k75ab.js} +6 -6
- package/dist/{chunk-0hkfswxx.js → chunk-w5ne5kr5.js} +25 -25
- package/dist/{chunk-3vp3npqs.js → chunk-wf85md09.js} +26 -26
- package/dist/{chunk-6jr014y7.js → chunk-wjsqsgvr.js} +1 -1
- package/dist/{chunk-f6etzstn.js → chunk-wkfq88s2.js} +25 -25
- package/dist/{chunk-j39n8136.js → chunk-wmejnje8.js} +34 -11
- package/dist/{chunk-5t8rj3qk.js → chunk-wqkdzceb.js} +26 -26
- package/dist/{chunk-entm41av.js → chunk-wtxd6zqw.js} +5 -8
- package/dist/{chunk-7tzsnskf.js → chunk-wvc5h7ep.js} +8 -18
- package/dist/{chunk-f6mtzdnc.js → chunk-x38a88r9.js} +2 -2
- package/dist/{chunk-5k0bqs70.js → chunk-x5tx9xjq.js} +28 -28
- package/dist/{chunk-khwsewb1.js → chunk-x8jmvzma.js} +2 -2
- package/dist/{chunk-hbwv4pg2.js → chunk-xckfwab3.js} +7 -5
- package/dist/{chunk-c728egv6.js → chunk-xdzskw1y.js} +3 -3
- package/dist/{chunk-7h0rfam8.js → chunk-xn2dy3ff.js} +6 -3
- package/dist/{chunk-3aem7zks.js → chunk-xpf0ymhb.js} +3 -3
- package/dist/{chunk-7d4qj7x6.js → chunk-xq6p48ky.js} +25 -25
- package/dist/{chunk-q2v1ets7.js → chunk-xt2bqzxe.js} +2 -2
- package/dist/{chunk-nza6ynqp.js → chunk-y417hrr3.js} +35 -35
- package/dist/{chunk-dnhmt0sr.js → chunk-y4cb00jx.js} +26 -26
- package/dist/{chunk-1bq60sj9.js → chunk-y6czm2zy.js} +4 -4
- package/dist/{chunk-3nc53wc5.js → chunk-y7ag4tfw.js} +27 -27
- package/dist/{chunk-ep8gv0kh.js → chunk-yh5mx1xd.js} +1 -1
- package/dist/{chunk-b7ers7bt.js → chunk-ynnaxrvh.js} +28 -28
- package/dist/{chunk-n9a6nfb9.js → chunk-yzdsedpf.js} +25 -25
- package/dist/{chunk-cyjw15hx.js → chunk-yzne8ytc.js} +8 -8
- package/dist/{chunk-3p2a8cpm.js → chunk-z1xsp1ja.js} +133 -46
- package/dist/{chunk-9d2vdwte.js → chunk-z39yj8k7.js} +26 -26
- package/dist/{chunk-5qwpmkmq.js → chunk-z3fy2b85.js} +25 -25
- package/dist/{chunk-jtgqqwn4.js → chunk-z3h3135b.js} +27 -27
- package/dist/{chunk-zzyjmv18.js → chunk-zaz2gasg.js} +27 -29
- package/dist/{chunk-37vs8xyg.js → chunk-zbz2njft.js} +25 -25
- package/dist/{chunk-5m91jbvf.js → chunk-ze330qed.js} +1 -1
- package/dist/{chunk-nznt5ava.js → chunk-zg49xts1.js} +27 -30
- package/dist/{chunk-82n8rzw3.js → chunk-zhy65y6c.js} +2 -2
- package/dist/{chunk-d12hy4az.js → chunk-zj2k6w98.js} +27 -27
- package/dist/{chunk-km2hp5am.js → chunk-zm6f40ah.js} +26 -29
- package/dist/{chunk-1ga8essc.js → chunk-zv55yge8.js} +5 -5
- package/dist/{chunk-0wf4mnzq.js → chunk-zvdp16j4.js} +34 -37
- package/dist/{chunk-4q3p3v9n.js → chunk-zvr93wd4.js} +29 -34
- package/dist/{chunk-4r6e6awv.js → chunk-zxcwc1br.js} +2 -2
- package/dist/{chunk-yny74qhh.js → chunk-zxsteqwm.js} +1 -1
- package/dist/cli.js +27 -27
- package/package.json +1 -1
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
initializeTeammateContextFromSession,
|
|
10
10
|
recordTipShown,
|
|
11
11
|
shouldShowDesktopUpsellStartup
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5ms6ey49.js";
|
|
13
13
|
import {
|
|
14
14
|
useManagePlugins
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-qd0ga24g.js";
|
|
16
16
|
import {
|
|
17
17
|
applySkillImprovement,
|
|
18
18
|
startBackgroundHousekeeping
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-cqt1d235.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-pxz1x6kh.js";
|
|
30
30
|
import {
|
|
31
31
|
computeStandaloneAgentContext,
|
|
32
32
|
exitRestoredWorktree,
|
|
@@ -34,16 +34,16 @@ import {
|
|
|
34
34
|
restoreSessionStateFromLog,
|
|
35
35
|
restoreWorktreeForResume,
|
|
36
36
|
skillChangeDetector
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-sz157krv.js";
|
|
38
38
|
import {
|
|
39
39
|
BoundedUUIDSet
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-9f6wwesg.js";
|
|
41
41
|
import {
|
|
42
42
|
consumeEarlyInput
|
|
43
43
|
} from "./chunk-a15bwzv6.js";
|
|
44
44
|
import {
|
|
45
45
|
useFpsMetrics
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-fnnydvgk.js";
|
|
47
47
|
import {
|
|
48
48
|
MessageSelector,
|
|
49
49
|
buildSystemInitMessage,
|
|
@@ -53,27 +53,27 @@ import {
|
|
|
53
53
|
messagesAfterAreOnlySynthetic,
|
|
54
54
|
processUserInput,
|
|
55
55
|
selectableUserMessagesFilter
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-8gyxs2mr.js";
|
|
57
57
|
import {
|
|
58
58
|
init_sprites,
|
|
59
59
|
renderFace,
|
|
60
60
|
renderSprite,
|
|
61
61
|
spriteFrameCount
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-sjgmqp2w.js";
|
|
63
63
|
import {
|
|
64
64
|
RemoteCallout,
|
|
65
65
|
init_RemoteCallout
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-5xzdjshx.js";
|
|
67
67
|
import {
|
|
68
68
|
PermissionDialog,
|
|
69
69
|
PermissionRequestTitle,
|
|
70
70
|
init_PermissionDialog,
|
|
71
71
|
init_PermissionRequestTitle
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-8yk09jf7.js";
|
|
73
73
|
import {
|
|
74
74
|
exports_useVoice,
|
|
75
75
|
init_useVoice
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-qsqdaj65.js";
|
|
77
77
|
import {
|
|
78
78
|
getPipeDisplayRole,
|
|
79
79
|
getPipeIpc,
|
|
@@ -81,32 +81,32 @@ import {
|
|
|
81
81
|
init_pipeTransport,
|
|
82
82
|
init_teamDiscovery,
|
|
83
83
|
isPipeControlled
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-hv3kvkak.js";
|
|
85
85
|
import {
|
|
86
86
|
ExitFlow,
|
|
87
87
|
init_ExitFlow
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-8q5tkq8h.js";
|
|
89
89
|
import {
|
|
90
90
|
init_exportRenderer,
|
|
91
91
|
renderMessagesToPlainText
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-nej6tppj.js";
|
|
93
93
|
import {
|
|
94
94
|
init_setup,
|
|
95
95
|
isChromeExtensionInstalled,
|
|
96
96
|
shouldEnableClaudeInChrome
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-hk680c8v.js";
|
|
98
98
|
import {
|
|
99
99
|
init_useMergedTools,
|
|
100
100
|
useMergedTools
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-9sm4ege9.js";
|
|
102
102
|
import {
|
|
103
103
|
init_toolPool,
|
|
104
104
|
mergeAndFilterTools
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-b60rrn7g.js";
|
|
106
106
|
import {
|
|
107
107
|
init_refresh,
|
|
108
108
|
refreshActivePlugins
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-f5rmx8bc.js";
|
|
110
110
|
import {
|
|
111
111
|
init_autoModeDenials,
|
|
112
112
|
recordAutoModeDenial
|
|
@@ -116,7 +116,7 @@ import {
|
|
|
116
116
|
getFastIconString,
|
|
117
117
|
init_FastIcon,
|
|
118
118
|
init_fast
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-15tat68f.js";
|
|
120
120
|
import {
|
|
121
121
|
BackgroundTasksDialog,
|
|
122
122
|
enterTeammateView,
|
|
@@ -127,22 +127,22 @@ import {
|
|
|
127
127
|
isTerminalStatus,
|
|
128
128
|
shouldHideTasksFooter,
|
|
129
129
|
stopOrDismissAgent
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-ca3vzvgb.js";
|
|
131
131
|
import {
|
|
132
132
|
fromSDKCompactMetadata,
|
|
133
133
|
init_mappers
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-vcn8ntbt.js";
|
|
135
135
|
import {
|
|
136
136
|
init_Dialog
|
|
137
137
|
} from "./chunk-kxwava1g.js";
|
|
138
138
|
import {
|
|
139
139
|
generateSessionName,
|
|
140
140
|
init_generateSessionName
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-3df47gdq.js";
|
|
142
142
|
import {
|
|
143
143
|
generateSessionTitle,
|
|
144
144
|
init_sessionTitle
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-06w1r147.js";
|
|
146
146
|
import {
|
|
147
147
|
Fuse,
|
|
148
148
|
init_fuse
|
|
@@ -157,11 +157,11 @@ import {
|
|
|
157
157
|
useSetPromptOverlay,
|
|
158
158
|
useSetPromptOverlayDialog,
|
|
159
159
|
useUnseenDivider
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-r34bn98d.js";
|
|
161
161
|
import {
|
|
162
162
|
getResolvedLanguage,
|
|
163
163
|
init_language
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-4b63tj55.js";
|
|
165
165
|
import {
|
|
166
166
|
MCPConnectionManager,
|
|
167
167
|
filterPermissionRelayClients,
|
|
@@ -169,16 +169,16 @@ import {
|
|
|
169
169
|
init_channelPermissions,
|
|
170
170
|
shortRequestId,
|
|
171
171
|
truncateForPreview
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-zv55yge8.js";
|
|
173
173
|
import {
|
|
174
174
|
init_pluginAutoupdate,
|
|
175
175
|
onPluginsAutoUpdated
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-q8n4x9kw.js";
|
|
177
177
|
import {
|
|
178
178
|
CHANNEL_PERMISSION_REQUEST_METHOD,
|
|
179
179
|
findChannelEntry,
|
|
180
180
|
init_channelNotification
|
|
181
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-4380xxa3.js";
|
|
182
182
|
import {
|
|
183
183
|
$toString,
|
|
184
184
|
init_server
|
|
@@ -186,18 +186,18 @@ import {
|
|
|
186
186
|
import {
|
|
187
187
|
init_useSettingsErrors,
|
|
188
188
|
useSettingsErrors
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-exbhf2jv.js";
|
|
190
190
|
import {
|
|
191
191
|
detectUnreachableRules,
|
|
192
192
|
init_shadowedRuleDetection
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-8dxjycb5.js";
|
|
194
194
|
import {
|
|
195
195
|
PromptInputHelpMenu,
|
|
196
196
|
init_PromptInputHelpMenu,
|
|
197
197
|
init_utils as init_utils3,
|
|
198
198
|
isNonSpacePrintable,
|
|
199
199
|
isVimModeEnabled
|
|
200
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-n48pdt6g.js";
|
|
201
201
|
import {
|
|
202
202
|
editFileInEditor,
|
|
203
203
|
editPromptInEditor,
|
|
@@ -205,11 +205,11 @@ import {
|
|
|
205
205
|
init_editor,
|
|
206
206
|
init_promptEditor,
|
|
207
207
|
openFileInExternalEditor
|
|
208
|
-
} from "./chunk-
|
|
208
|
+
} from "./chunk-85jwc8ct.js";
|
|
209
209
|
import {
|
|
210
210
|
clearConversation,
|
|
211
211
|
init_conversation
|
|
212
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-ffjggx50.js";
|
|
213
213
|
import {
|
|
214
214
|
applyFileSuggestion,
|
|
215
215
|
findLongestCommonPrefix,
|
|
@@ -217,7 +217,7 @@ import {
|
|
|
217
217
|
init_fileSuggestions,
|
|
218
218
|
onIndexBuildComplete,
|
|
219
219
|
startBackgroundCacheRefresh
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-yzne8ytc.js";
|
|
221
221
|
import {
|
|
222
222
|
ModelPicker,
|
|
223
223
|
effortLevelToSymbol,
|
|
@@ -226,38 +226,38 @@ import {
|
|
|
226
226
|
init_ModelPicker,
|
|
227
227
|
init_extraUsage,
|
|
228
228
|
isBilledAsExtraUsage
|
|
229
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-eb7me6rb.js";
|
|
230
230
|
import {
|
|
231
231
|
init_useSearchInput,
|
|
232
232
|
useSearchInput
|
|
233
|
-
} from "./chunk-
|
|
233
|
+
} from "./chunk-6drv9gkd.js";
|
|
234
234
|
import {
|
|
235
235
|
getDirectoryCompletions,
|
|
236
236
|
getPathCompletions,
|
|
237
237
|
init_directoryCompletion,
|
|
238
238
|
isPathLikeToken
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-b34jxkk8.js";
|
|
240
240
|
import {
|
|
241
241
|
PromptInputFooterSuggestions,
|
|
242
242
|
init_PromptInputFooterSuggestions
|
|
243
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-kw569tcv.js";
|
|
244
244
|
import {
|
|
245
245
|
findBtwTriggerPositions,
|
|
246
246
|
init_sideQuestion
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-4yx011va.js";
|
|
248
248
|
import {
|
|
249
249
|
init_Feedback,
|
|
250
250
|
redactSensitiveInfo
|
|
251
|
-
} from "./chunk-
|
|
251
|
+
} from "./chunk-fxeh76ke.js";
|
|
252
252
|
import {
|
|
253
253
|
checkAndDisableAutoModeIfNeeded,
|
|
254
254
|
init_bypassPermissionsKillswitch,
|
|
255
255
|
useKickOffCheckAndDisableAutoModeIfNeeded
|
|
256
|
-
} from "./chunk-
|
|
256
|
+
} from "./chunk-yh5mx1xd.js";
|
|
257
257
|
import {
|
|
258
258
|
init_useMainLoopModel,
|
|
259
259
|
useMainLoopModel
|
|
260
|
-
} from "./chunk-
|
|
260
|
+
} from "./chunk-hqzh5gj7.js";
|
|
261
261
|
import {
|
|
262
262
|
AGENT_COLORS,
|
|
263
263
|
AGENT_COLOR_TO_THEME_COLOR,
|
|
@@ -545,7 +545,6 @@ import {
|
|
|
545
545
|
handlePlanApprovalResponse,
|
|
546
546
|
handleSpeculationAccept,
|
|
547
547
|
hasAccessToIDEExtensionDiffFeature,
|
|
548
|
-
hasClaudeAiMcpEverConnected,
|
|
549
548
|
hasCommand,
|
|
550
549
|
hasCommandsInQueue,
|
|
551
550
|
hasForegroundTasks,
|
|
@@ -619,7 +618,6 @@ import {
|
|
|
619
618
|
init_claudeAiLimits,
|
|
620
619
|
init_claudeAiLimitsHook,
|
|
621
620
|
init_claudeCodeHints,
|
|
622
|
-
init_claudeai,
|
|
623
621
|
init_claudemd,
|
|
624
622
|
init_cliHighlight,
|
|
625
623
|
init_client,
|
|
@@ -959,11 +957,11 @@ import {
|
|
|
959
957
|
verifyApiKey,
|
|
960
958
|
withMemoryCorrectionHint,
|
|
961
959
|
writeToMailbox
|
|
962
|
-
} from "./chunk-
|
|
960
|
+
} from "./chunk-b94ss7th.js";
|
|
963
961
|
import {
|
|
964
962
|
init_undercover,
|
|
965
963
|
isUndercover
|
|
966
|
-
} from "./chunk-
|
|
964
|
+
} from "./chunk-58q8wak5.js";
|
|
967
965
|
import {
|
|
968
966
|
asSystemPrompt,
|
|
969
967
|
emitTaskTerminatedSdk,
|
|
@@ -977,11 +975,11 @@ import {
|
|
|
977
975
|
notifyAutomationStateChanged,
|
|
978
976
|
setNextTickAt,
|
|
979
977
|
shouldTick
|
|
980
|
-
} from "./chunk-
|
|
978
|
+
} from "./chunk-41246kaz.js";
|
|
981
979
|
import {
|
|
982
980
|
incrementPromptCount,
|
|
983
981
|
init_commitAttribution
|
|
984
|
-
} from "./chunk-
|
|
982
|
+
} from "./chunk-nw1pq2at.js";
|
|
985
983
|
import {
|
|
986
984
|
DEFAULT_TASKS_MODE_TASK_LIST_ID,
|
|
987
985
|
claimTask,
|
|
@@ -1003,15 +1001,15 @@ import {
|
|
|
1003
1001
|
syncTeammateMode,
|
|
1004
1002
|
unassignTeammateTasks,
|
|
1005
1003
|
updateTask
|
|
1006
|
-
} from "./chunk-
|
|
1004
|
+
} from "./chunk-82de4zqa.js";
|
|
1007
1005
|
import {
|
|
1008
1006
|
init_bridgeEnabled,
|
|
1009
1007
|
isBridgeEnabled
|
|
1010
|
-
} from "./chunk-
|
|
1008
|
+
} from "./chunk-7bb4vr99.js";
|
|
1011
1009
|
import {
|
|
1012
1010
|
escapeXml,
|
|
1013
1011
|
init_xml as init_xml2
|
|
1014
|
-
} from "./chunk-
|
|
1012
|
+
} from "./chunk-8dsmcq3w.js";
|
|
1015
1013
|
import {
|
|
1016
1014
|
CLAUDE_IN_CHROME_MCP_SERVER_NAME,
|
|
1017
1015
|
init_common,
|
|
@@ -1022,7 +1020,7 @@ import {
|
|
|
1022
1020
|
getCompanion,
|
|
1023
1021
|
init_companion,
|
|
1024
1022
|
init_types
|
|
1025
|
-
} from "./chunk-
|
|
1023
|
+
} from "./chunk-vmw0f2vb.js";
|
|
1026
1024
|
import {
|
|
1027
1025
|
init_shellQuote,
|
|
1028
1026
|
quote,
|
|
@@ -1038,31 +1036,31 @@ import {
|
|
|
1038
1036
|
init_useDoublePress,
|
|
1039
1037
|
init_useExitOnCtrlCDWithKeybindings,
|
|
1040
1038
|
useExitOnCtrlCDWithKeybindings
|
|
1041
|
-
} from "./chunk-
|
|
1039
|
+
} from "./chunk-nh12n4bh.js";
|
|
1042
1040
|
import {
|
|
1043
1041
|
getNativeCSIuTerminalDisplayName,
|
|
1044
1042
|
init_projectOnboardingState,
|
|
1045
1043
|
init_terminalSetup,
|
|
1046
1044
|
maybeMarkProjectOnboardingComplete
|
|
1047
|
-
} from "./chunk-
|
|
1045
|
+
} from "./chunk-6b2n30vp.js";
|
|
1048
1046
|
import {
|
|
1049
1047
|
init_useKeybinding
|
|
1050
1048
|
} from "./chunk-65zbgg1n.js";
|
|
1051
1049
|
import {
|
|
1052
1050
|
init_poorMode,
|
|
1053
1051
|
isPoorModeActive
|
|
1054
|
-
} from "./chunk-
|
|
1052
|
+
} from "./chunk-wjsqsgvr.js";
|
|
1055
1053
|
import {
|
|
1056
1054
|
hasVoiceAuth,
|
|
1057
1055
|
init_voiceModeEnabled,
|
|
1058
1056
|
isVoiceGrowthBookEnabled
|
|
1059
|
-
} from "./chunk-
|
|
1057
|
+
} from "./chunk-dp4hee08.js";
|
|
1060
1058
|
import {
|
|
1061
1059
|
getOAuthHeaders,
|
|
1062
1060
|
init_api,
|
|
1063
1061
|
prepareApiRequest,
|
|
1064
1062
|
updateSessionTitle
|
|
1065
|
-
} from "./chunk-
|
|
1063
|
+
} from "./chunk-mfsg67f4.js";
|
|
1066
1064
|
import {
|
|
1067
1065
|
init_browser,
|
|
1068
1066
|
openBrowser
|
|
@@ -1084,7 +1082,7 @@ import {
|
|
|
1084
1082
|
init_events,
|
|
1085
1083
|
init_sessionTracing,
|
|
1086
1084
|
logOTelEvent
|
|
1087
|
-
} from "./chunk-
|
|
1085
|
+
} from "./chunk-cvby21xy.js";
|
|
1088
1086
|
import {
|
|
1089
1087
|
ALLOWED_OFFICIAL_MARKETPLACE_NAMES,
|
|
1090
1088
|
AwsAuthStatusManager,
|
|
@@ -1193,7 +1191,7 @@ import {
|
|
|
1193
1191
|
toExternalPermissionMode,
|
|
1194
1192
|
truncateToLines,
|
|
1195
1193
|
updateSettingsForSource
|
|
1196
|
-
} from "./chunk-
|
|
1194
|
+
} from "./chunk-9tpg56r8.js";
|
|
1197
1195
|
import {
|
|
1198
1196
|
init_json,
|
|
1199
1197
|
safeParseJSON
|
|
@@ -1203,7 +1201,7 @@ import {
|
|
|
1203
1201
|
getDirectoryForPath,
|
|
1204
1202
|
init_path,
|
|
1205
1203
|
toRelativePath
|
|
1206
|
-
} from "./chunk-
|
|
1204
|
+
} from "./chunk-9hbhydvp.js";
|
|
1207
1205
|
import {
|
|
1208
1206
|
count,
|
|
1209
1207
|
getAgentName,
|
|
@@ -1942,8 +1940,7 @@ function MonitorPermissionRequest({
|
|
|
1942
1940
|
children: [
|
|
1943
1941
|
"Yes, and don",
|
|
1944
1942
|
"\u2019",
|
|
1945
|
-
"t ask again for",
|
|
1946
|
-
" ",
|
|
1943
|
+
"t ask again for ",
|
|
1947
1944
|
/* @__PURE__ */ jsx_dev_runtime36.jsxDEV(ThemedText, {
|
|
1948
1945
|
bold: true,
|
|
1949
1946
|
children: toolUseConfirm.tool.name
|
|
@@ -2178,7 +2175,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
2178
2175
|
} catch {}
|
|
2179
2176
|
const data = {
|
|
2180
2177
|
trigger,
|
|
2181
|
-
version: "1.0.
|
|
2178
|
+
version: "1.0.3",
|
|
2182
2179
|
platform: process.platform,
|
|
2183
2180
|
transcript,
|
|
2184
2181
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -2508,7 +2505,10 @@ function useVoiceKeybindingHandler({
|
|
|
2508
2505
|
return { ...prev, voiceWarmingUp: false };
|
|
2509
2506
|
});
|
|
2510
2507
|
if (bareChar !== null) {
|
|
2511
|
-
recordingFloorRef.current = stripTrailing(charsInInputRef.current + repeatCount, {
|
|
2508
|
+
recordingFloorRef.current = stripTrailing(charsInInputRef.current + repeatCount, {
|
|
2509
|
+
char: bareChar,
|
|
2510
|
+
anchor: true
|
|
2511
|
+
});
|
|
2512
2512
|
charsInInputRef.current = 0;
|
|
2513
2513
|
voiceHandleKeyEvent();
|
|
2514
2514
|
} else {
|
|
@@ -2905,11 +2905,7 @@ init_format();
|
|
|
2905
2905
|
init_CustomSelect();
|
|
2906
2906
|
init_src();
|
|
2907
2907
|
var jsx_dev_runtime2 = __toESM(require_jsx_dev_runtime(), 1);
|
|
2908
|
-
function IdleReturnDialog({
|
|
2909
|
-
idleMinutes,
|
|
2910
|
-
totalInputTokens,
|
|
2911
|
-
onDone
|
|
2912
|
-
}) {
|
|
2908
|
+
function IdleReturnDialog({ idleMinutes, totalInputTokens, onDone }) {
|
|
2913
2909
|
const formattedIdle = formatIdleDuration(idleMinutes);
|
|
2914
2910
|
const formattedTokens = formatTokens(totalInputTokens);
|
|
2915
2911
|
return /* @__PURE__ */ jsx_dev_runtime2.jsxDEV(Dialog, {
|
|
@@ -3145,10 +3141,7 @@ init_figures2();
|
|
|
3145
3141
|
init_src();
|
|
3146
3142
|
init_ink();
|
|
3147
3143
|
var jsx_dev_runtime3 = __toESM(require_jsx_dev_runtime(), 1);
|
|
3148
|
-
function WorkerBadge({
|
|
3149
|
-
name,
|
|
3150
|
-
color: color2
|
|
3151
|
-
}) {
|
|
3144
|
+
function WorkerBadge({ name, color: color2 }) {
|
|
3152
3145
|
const inkColor = toInkColor(color2);
|
|
3153
3146
|
return /* @__PURE__ */ jsx_dev_runtime3.jsxDEV(ThemedBox_default, {
|
|
3154
3147
|
flexDirection: "row",
|
|
@@ -3172,10 +3165,7 @@ function WorkerBadge({
|
|
|
3172
3165
|
|
|
3173
3166
|
// src/components/permissions/WorkerPendingPermission.tsx
|
|
3174
3167
|
var jsx_dev_runtime4 = __toESM(require_jsx_dev_runtime(), 1);
|
|
3175
|
-
function WorkerPendingPermission({
|
|
3176
|
-
toolName,
|
|
3177
|
-
description
|
|
3178
|
-
}) {
|
|
3168
|
+
function WorkerPendingPermission({ toolName, description }) {
|
|
3179
3169
|
const teamName = getTeamName();
|
|
3180
3170
|
const agentName = getAgentName();
|
|
3181
3171
|
const agentColor = getTeammateColor();
|
|
@@ -3576,7 +3566,9 @@ function useReplBridge(messages, setMessages, abortControllerRef, commands, main
|
|
|
3576
3566
|
})
|
|
3577
3567
|
]);
|
|
3578
3568
|
} catch (err) {
|
|
3579
|
-
logForDebugging(`[bridge:repl] Failed to send system/init: ${errorMessage(err)}`, {
|
|
3569
|
+
logForDebugging(`[bridge:repl] Failed to send system/init: ${errorMessage(err)}`, {
|
|
3570
|
+
level: "error"
|
|
3571
|
+
});
|
|
3580
3572
|
}
|
|
3581
3573
|
})();
|
|
3582
3574
|
}
|
|
@@ -3644,11 +3636,11 @@ function useReplBridge(messages, setMessages, abortControllerRef, commands, main
|
|
|
3644
3636
|
}
|
|
3645
3637
|
if (cancelled)
|
|
3646
3638
|
return;
|
|
3647
|
-
const { initReplBridge } = await import("./chunk-
|
|
3648
|
-
const { shouldShowAppUpgradeMessage } = await import("./chunk-
|
|
3639
|
+
const { initReplBridge } = await import("./chunk-h9sg6p3n.js");
|
|
3640
|
+
const { shouldShowAppUpgradeMessage } = await import("./chunk-mbq17qwc.js");
|
|
3649
3641
|
let perpetual = false;
|
|
3650
3642
|
if (true) {
|
|
3651
|
-
const { isAssistantMode } = await import("./chunk-
|
|
3643
|
+
const { isAssistantMode } = await import("./chunk-3e4mz6v4.js");
|
|
3652
3644
|
perpetual = isAssistantMode();
|
|
3653
3645
|
}
|
|
3654
3646
|
async function handleInboundMessage(msg) {
|
|
@@ -3657,7 +3649,7 @@ function useReplBridge(messages, setMessages, abortControllerRef, commands, main
|
|
|
3657
3649
|
if (!fields)
|
|
3658
3650
|
return;
|
|
3659
3651
|
const { uuid } = fields;
|
|
3660
|
-
const { resolveAndPrepend } = await import("./chunk-
|
|
3652
|
+
const { resolveAndPrepend } = await import("./chunk-mgdqb67t.js");
|
|
3661
3653
|
const rawContent = fields.content;
|
|
3662
3654
|
let sanitized = typeof rawContent === "string" ? rawContent : rawContent;
|
|
3663
3655
|
if (false) {}
|
|
@@ -3941,13 +3933,7 @@ function useReplBridge(messages, setMessages, abortControllerRef, commands, main
|
|
|
3941
3933
|
transcriptResetPendingRef.current = false;
|
|
3942
3934
|
};
|
|
3943
3935
|
}
|
|
3944
|
-
}, [
|
|
3945
|
-
replBridgeEnabled,
|
|
3946
|
-
replBridgeOutboundOnly,
|
|
3947
|
-
setAppState,
|
|
3948
|
-
setMessages,
|
|
3949
|
-
addNotification
|
|
3950
|
-
]);
|
|
3936
|
+
}, [replBridgeEnabled, replBridgeOutboundOnly, setAppState, setMessages, addNotification]);
|
|
3951
3937
|
import_react2.useEffect(() => {
|
|
3952
3938
|
if (true) {
|
|
3953
3939
|
if (!replBridgeConnected)
|
|
@@ -4388,11 +4374,8 @@ function QuestionNavigationBar({
|
|
|
4388
4374
|
children: [
|
|
4389
4375
|
!hideArrows && /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(ThemedText, {
|
|
4390
4376
|
color: currentQuestionIndex === 0 ? "inactive" : undefined,
|
|
4391
|
-
children:
|
|
4392
|
-
|
|
4393
|
-
" "
|
|
4394
|
-
]
|
|
4395
|
-
}, undefined, true, undefined, this),
|
|
4377
|
+
children: "\u2190 "
|
|
4378
|
+
}, undefined, false, undefined, this),
|
|
4396
4379
|
questions.map((q, index) => {
|
|
4397
4380
|
const isSelected = index === currentQuestionIndex;
|
|
4398
4381
|
const isAnswered = q?.question && !!answers[q.question];
|
|
@@ -4440,11 +4423,8 @@ function QuestionNavigationBar({
|
|
|
4440
4423
|
}, "submit", false, undefined, this),
|
|
4441
4424
|
!hideArrows && /* @__PURE__ */ jsx_dev_runtime7.jsxDEV(ThemedText, {
|
|
4442
4425
|
color: currentQuestionIndex === questions.length ? "inactive" : undefined,
|
|
4443
|
-
children:
|
|
4444
|
-
|
|
4445
|
-
"\u2192"
|
|
4446
|
-
]
|
|
4447
|
-
}, undefined, true, undefined, this)
|
|
4426
|
+
children: " \u2192"
|
|
4427
|
+
}, undefined, false, undefined, this)
|
|
4448
4428
|
]
|
|
4449
4429
|
}, undefined, true, undefined, this);
|
|
4450
4430
|
}
|
|
@@ -4811,8 +4791,7 @@ function PreviewQuestionView({
|
|
|
4811
4791
|
editorName
|
|
4812
4792
|
]
|
|
4813
4793
|
}, undefined, true, undefined, this),
|
|
4814
|
-
" "
|
|
4815
|
-
"\xB7 Esc to cancel"
|
|
4794
|
+
" \xB7 Esc to cancel"
|
|
4816
4795
|
]
|
|
4817
4796
|
}, undefined, true, undefined, this)
|
|
4818
4797
|
}, undefined, false, undefined, this)
|
|
@@ -5111,8 +5090,7 @@ function QuestionView({
|
|
|
5111
5090
|
editorName
|
|
5112
5091
|
]
|
|
5113
5092
|
}, undefined, true, undefined, this),
|
|
5114
|
-
" "
|
|
5115
|
-
"\xB7 Esc to cancel"
|
|
5093
|
+
" \xB7 Esc to cancel"
|
|
5116
5094
|
]
|
|
5117
5095
|
}, undefined, true, undefined, this)
|
|
5118
5096
|
}, undefined, false, undefined, this)
|
|
@@ -5476,14 +5454,7 @@ function AskUserQuestionPermissionRequestBody({
|
|
|
5476
5454
|
onDone();
|
|
5477
5455
|
onReject();
|
|
5478
5456
|
toolUseConfirm.onReject();
|
|
5479
|
-
}, [
|
|
5480
|
-
onDone,
|
|
5481
|
-
onReject,
|
|
5482
|
-
toolUseConfirm,
|
|
5483
|
-
metadataSource,
|
|
5484
|
-
questions.length,
|
|
5485
|
-
isInPlanMode
|
|
5486
|
-
]);
|
|
5457
|
+
}, [onDone, onReject, toolUseConfirm, metadataSource, questions.length, isInPlanMode]);
|
|
5487
5458
|
const handleRespondToClaude = import_react10.useCallback(async () => {
|
|
5488
5459
|
const questionsWithAnswers = questions.map((q) => {
|
|
5489
5460
|
const answer = answers[q.question];
|
|
@@ -5513,15 +5484,7 @@ ${questionsWithAnswers}`;
|
|
|
5513
5484
|
const imageBlocks = await convertImagesToBlocks(allImageAttachments);
|
|
5514
5485
|
onDone();
|
|
5515
5486
|
toolUseConfirm.onReject(feedback, imageBlocks && imageBlocks.length > 0 ? imageBlocks : undefined);
|
|
5516
|
-
}, [
|
|
5517
|
-
questions,
|
|
5518
|
-
answers,
|
|
5519
|
-
onDone,
|
|
5520
|
-
toolUseConfirm,
|
|
5521
|
-
metadataSource,
|
|
5522
|
-
isInPlanMode,
|
|
5523
|
-
allImageAttachments
|
|
5524
|
-
]);
|
|
5487
|
+
}, [questions, answers, onDone, toolUseConfirm, metadataSource, isInPlanMode, allImageAttachments]);
|
|
5525
5488
|
const handleFinishPlanInterview = import_react10.useCallback(async () => {
|
|
5526
5489
|
const questionsWithAnswers = questions.map((q) => {
|
|
5527
5490
|
const answer = answers[q.question];
|
|
@@ -5549,15 +5512,7 @@ ${questionsWithAnswers}`;
|
|
|
5549
5512
|
const imageBlocks = await convertImagesToBlocks(allImageAttachments);
|
|
5550
5513
|
onDone();
|
|
5551
5514
|
toolUseConfirm.onReject(feedback, imageBlocks && imageBlocks.length > 0 ? imageBlocks : undefined);
|
|
5552
|
-
}, [
|
|
5553
|
-
questions,
|
|
5554
|
-
answers,
|
|
5555
|
-
onDone,
|
|
5556
|
-
toolUseConfirm,
|
|
5557
|
-
metadataSource,
|
|
5558
|
-
isInPlanMode,
|
|
5559
|
-
allImageAttachments
|
|
5560
|
-
]);
|
|
5515
|
+
}, [questions, answers, onDone, toolUseConfirm, metadataSource, isInPlanMode, allImageAttachments]);
|
|
5561
5516
|
const submitAnswers = import_react10.useCallback(async (answersToSubmit) => {
|
|
5562
5517
|
if (metadataSource) {
|
|
5563
5518
|
logEvent("tengu_ask_user_question_accepted", {
|
|
@@ -5589,15 +5544,7 @@ ${questionsWithAnswers}`;
|
|
|
5589
5544
|
const contentBlocks = await convertImagesToBlocks(allImageAttachments);
|
|
5590
5545
|
onDone();
|
|
5591
5546
|
toolUseConfirm.onAllow(updatedInput, [], undefined, contentBlocks && contentBlocks.length > 0 ? contentBlocks : undefined);
|
|
5592
|
-
}, [
|
|
5593
|
-
toolUseConfirm,
|
|
5594
|
-
onDone,
|
|
5595
|
-
metadataSource,
|
|
5596
|
-
questions,
|
|
5597
|
-
questionStates,
|
|
5598
|
-
isInPlanMode,
|
|
5599
|
-
allImageAttachments
|
|
5600
|
-
]);
|
|
5547
|
+
}, [toolUseConfirm, onDone, metadataSource, questions, questionStates, isInPlanMode, allImageAttachments]);
|
|
5601
5548
|
const handleQuestionAnswer = import_react10.useCallback((questionText, label, textInput, shouldAdvance = true) => {
|
|
5602
5549
|
let answer;
|
|
5603
5550
|
const isMultiSelect = Array.isArray(label);
|
|
@@ -5624,13 +5571,7 @@ ${questionsWithAnswers}`;
|
|
|
5624
5571
|
return;
|
|
5625
5572
|
}
|
|
5626
5573
|
setAnswer(questionText, answer, shouldAdvance);
|
|
5627
|
-
}, [
|
|
5628
|
-
setAnswer,
|
|
5629
|
-
questions.length,
|
|
5630
|
-
answers,
|
|
5631
|
-
submitAnswers,
|
|
5632
|
-
pastedContentsByQuestion
|
|
5633
|
-
]);
|
|
5574
|
+
}, [setAnswer, questions.length, answers, submitAnswers, pastedContentsByQuestion]);
|
|
5634
5575
|
function handleFinalResponse(value) {
|
|
5635
5576
|
if (value === "cancel") {
|
|
5636
5577
|
handleCancel();
|
|
@@ -6476,10 +6417,7 @@ function decisionReasonDisplayString(decisionReason) {
|
|
|
6476
6417
|
return "";
|
|
6477
6418
|
}
|
|
6478
6419
|
}
|
|
6479
|
-
function PermissionDecisionInfoItem({
|
|
6480
|
-
title,
|
|
6481
|
-
decisionReason
|
|
6482
|
-
}) {
|
|
6420
|
+
function PermissionDecisionInfoItem({ title, decisionReason }) {
|
|
6483
6421
|
const [theme] = useTheme();
|
|
6484
6422
|
function formatDecisionReason() {
|
|
6485
6423
|
switch (decisionReason.type) {
|
|
@@ -6538,9 +6476,7 @@ function PermissionDecisionInfoItem({
|
|
|
6538
6476
|
]
|
|
6539
6477
|
}, undefined, true, undefined, this);
|
|
6540
6478
|
}
|
|
6541
|
-
function SuggestedRules({
|
|
6542
|
-
suggestions
|
|
6543
|
-
}) {
|
|
6479
|
+
function SuggestedRules({ suggestions }) {
|
|
6544
6480
|
const rules = extractRules(suggestions);
|
|
6545
6481
|
if (rules.length === 0)
|
|
6546
6482
|
return null;
|
|
@@ -6554,8 +6490,7 @@ function SuggestedRules({
|
|
|
6554
6490
|
" "
|
|
6555
6491
|
]
|
|
6556
6492
|
}, undefined, true, undefined, this),
|
|
6557
|
-
"Suggested rules:",
|
|
6558
|
-
" ",
|
|
6493
|
+
"Suggested rules: ",
|
|
6559
6494
|
/* @__PURE__ */ jsx_dev_runtime13.jsxDEV(Ansi, {
|
|
6560
6495
|
children: rules.map((rule) => source_default.bold(permissionRuleValueToString(rule))).join(", ")
|
|
6561
6496
|
}, undefined, false, undefined, this)
|
|
@@ -6707,10 +6642,7 @@ function SuggestionDisplay({
|
|
|
6707
6642
|
]
|
|
6708
6643
|
}, undefined, true, undefined, this);
|
|
6709
6644
|
}
|
|
6710
|
-
function PermissionDecisionDebugInfo({
|
|
6711
|
-
permissionResult,
|
|
6712
|
-
toolName
|
|
6713
|
-
}) {
|
|
6645
|
+
function PermissionDecisionDebugInfo({ permissionResult, toolName }) {
|
|
6714
6646
|
const toolPermissionContext = useAppState((s) => s.toolPermissionContext);
|
|
6715
6647
|
const decisionReason = permissionResult.decisionReason;
|
|
6716
6648
|
const suggestions = "suggestions" in permissionResult ? permissionResult.suggestions : undefined;
|
|
@@ -7068,9 +7000,7 @@ function usePermissionExplainerUI(props) {
|
|
|
7068
7000
|
}, { context: "Confirmation", isActive: enabled });
|
|
7069
7001
|
return { visible, enabled, promise };
|
|
7070
7002
|
}
|
|
7071
|
-
function ExplanationResult({
|
|
7072
|
-
promise
|
|
7073
|
-
}) {
|
|
7003
|
+
function ExplanationResult({ promise }) {
|
|
7074
7004
|
const explanation = import_react13.use(promise);
|
|
7075
7005
|
if (!explanation) {
|
|
7076
7006
|
return /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(ThemedBox_default, {
|
|
@@ -7165,10 +7095,7 @@ function FileEditToolDiff(props) {
|
|
|
7165
7095
|
}, undefined, false, undefined, this)
|
|
7166
7096
|
}, undefined, false, undefined, this);
|
|
7167
7097
|
}
|
|
7168
|
-
function DiffBody({
|
|
7169
|
-
promise,
|
|
7170
|
-
file_path
|
|
7171
|
-
}) {
|
|
7098
|
+
function DiffBody({ promise, file_path }) {
|
|
7172
7099
|
const { patch, firstLine, fileContent } = import_react14.use(promise);
|
|
7173
7100
|
const { columns } = useTerminalSize();
|
|
7174
7101
|
return /* @__PURE__ */ jsx_dev_runtime15.jsxDEV(DiffFrame, {
|
|
@@ -7182,10 +7109,7 @@ function DiffBody({
|
|
|
7182
7109
|
}, undefined, false, undefined, this)
|
|
7183
7110
|
}, undefined, false, undefined, this);
|
|
7184
7111
|
}
|
|
7185
|
-
function DiffFrame({
|
|
7186
|
-
children,
|
|
7187
|
-
placeholder
|
|
7188
|
-
}) {
|
|
7112
|
+
function DiffFrame({ children, placeholder }) {
|
|
7189
7113
|
return /* @__PURE__ */ jsx_dev_runtime15.jsxDEV(ThemedBox_default, {
|
|
7190
7114
|
flexDirection: "column",
|
|
7191
7115
|
children: /* @__PURE__ */ jsx_dev_runtime15.jsxDEV(ThemedBox_default, {
|
|
@@ -7529,8 +7453,7 @@ function ShowInIDEPrompt({
|
|
|
7529
7453
|
children: [
|
|
7530
7454
|
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
7531
7455
|
children: [
|
|
7532
|
-
"Do you want to make this edit to",
|
|
7533
|
-
" ",
|
|
7456
|
+
"Do you want to make this edit to ",
|
|
7534
7457
|
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
7535
7458
|
bold: true,
|
|
7536
7459
|
children: basename2(filePath)
|
|
@@ -8135,10 +8058,7 @@ function FilePermissionDialog({
|
|
|
8135
8058
|
|
|
8136
8059
|
// src/components/permissions/SedEditPermissionRequest/SedEditPermissionRequest.tsx
|
|
8137
8060
|
var jsx_dev_runtime19 = __toESM(require_jsx_dev_runtime(), 1);
|
|
8138
|
-
function SedEditPermissionRequest({
|
|
8139
|
-
sedInfo,
|
|
8140
|
-
...props
|
|
8141
|
-
}) {
|
|
8061
|
+
function SedEditPermissionRequest({ sedInfo, ...props }) {
|
|
8142
8062
|
const { filePath } = sedInfo;
|
|
8143
8063
|
const contentPromise = import_react18.useMemo(() => (async () => {
|
|
8144
8064
|
const encoding = detectEncodingForResolvedPath(filePath);
|
|
@@ -8210,8 +8130,7 @@ function SedEditPermissionRequestInner({
|
|
|
8210
8130
|
subtitle: relative3(getCwd(), filePath),
|
|
8211
8131
|
question: /* @__PURE__ */ jsx_dev_runtime19.jsxDEV(ThemedText, {
|
|
8212
8132
|
children: [
|
|
8213
|
-
"Do you want to make this edit to",
|
|
8214
|
-
" ",
|
|
8133
|
+
"Do you want to make this edit to ",
|
|
8215
8134
|
/* @__PURE__ */ jsx_dev_runtime19.jsxDEV(ThemedText, {
|
|
8216
8135
|
bold: true,
|
|
8217
8136
|
children: basename4(filePath)
|
|
@@ -8394,8 +8313,7 @@ function commandListDisplay(commands) {
|
|
|
8394
8313
|
bold: true,
|
|
8395
8314
|
children: commands.slice(0, -1).join(", ")
|
|
8396
8315
|
}, undefined, false, undefined, this),
|
|
8397
|
-
", and",
|
|
8398
|
-
" ",
|
|
8316
|
+
", and ",
|
|
8399
8317
|
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
8400
8318
|
bold: true,
|
|
8401
8319
|
children: commands.slice(-1)[0]
|
|
@@ -8532,8 +8450,7 @@ function generateShellSuggestionsLabel(suggestions, shellToolName, commandTransf
|
|
|
8532
8450
|
children: [
|
|
8533
8451
|
"Yes, and don't ask again for ",
|
|
8534
8452
|
commandListDisplayTruncated(shellCommands),
|
|
8535
|
-
" commands in",
|
|
8536
|
-
" ",
|
|
8453
|
+
" commands in ",
|
|
8537
8454
|
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
8538
8455
|
bold: true,
|
|
8539
8456
|
children: getOriginalCwd()
|
|
@@ -8560,8 +8477,7 @@ function generateShellSuggestionsLabel(suggestions, shellToolName, commandTransf
|
|
|
8560
8477
|
children: [
|
|
8561
8478
|
"Yes, and allow access to ",
|
|
8562
8479
|
formatPathList(allPaths),
|
|
8563
|
-
" and",
|
|
8564
|
-
" ",
|
|
8480
|
+
" and ",
|
|
8565
8481
|
commandListDisplayTruncated(shellCommands),
|
|
8566
8482
|
" commands"
|
|
8567
8483
|
]
|
|
@@ -8571,8 +8487,7 @@ function generateShellSuggestionsLabel(suggestions, shellToolName, commandTransf
|
|
|
8571
8487
|
children: [
|
|
8572
8488
|
"Yes, and allow ",
|
|
8573
8489
|
formatPathList(allPaths),
|
|
8574
|
-
" access and",
|
|
8575
|
-
" ",
|
|
8490
|
+
" access and ",
|
|
8576
8491
|
commandListDisplayTruncated(shellCommands),
|
|
8577
8492
|
" commands"
|
|
8578
8493
|
]
|
|
@@ -8681,14 +8596,7 @@ function bashToolUseOptions({
|
|
|
8681
8596
|
// src/components/permissions/BashPermissionRequest/BashPermissionRequest.tsx
|
|
8682
8597
|
var jsx_dev_runtime21 = __toESM(require_jsx_dev_runtime(), 1);
|
|
8683
8598
|
function BashPermissionRequest(props) {
|
|
8684
|
-
const {
|
|
8685
|
-
toolUseConfirm,
|
|
8686
|
-
toolUseContext,
|
|
8687
|
-
onDone,
|
|
8688
|
-
onReject,
|
|
8689
|
-
verbose,
|
|
8690
|
-
workerBadge
|
|
8691
|
-
} = props;
|
|
8599
|
+
const { toolUseConfirm, toolUseContext, onDone, onReject, verbose, workerBadge } = props;
|
|
8692
8600
|
const { command, description } = BashTool.inputSchema.parse(toolUseConfirm.input);
|
|
8693
8601
|
const sedInfo = parseSedEditCommand(command);
|
|
8694
8602
|
if (sedInfo) {
|
|
@@ -8752,10 +8660,7 @@ function BashPermissionRequestInner({
|
|
|
8752
8660
|
});
|
|
8753
8661
|
const [showPermissionDebug, setShowPermissionDebug] = import_react20.useState(false);
|
|
8754
8662
|
const [classifierDescription, setClassifierDescription] = import_react20.useState(description || "");
|
|
8755
|
-
const [
|
|
8756
|
-
initialClassifierDescriptionEmpty,
|
|
8757
|
-
setInitialClassifierDescriptionEmpty
|
|
8758
|
-
] = import_react20.useState(!description?.trim());
|
|
8663
|
+
const [initialClassifierDescriptionEmpty, setInitialClassifierDescriptionEmpty] = import_react20.useState(!description?.trim());
|
|
8759
8664
|
import_react20.useEffect(() => {
|
|
8760
8665
|
if (!isClassifierPermissionsEnabled())
|
|
8761
8666
|
return;
|
|
@@ -9993,8 +9898,8 @@ function FallbackPermissionRequest({
|
|
|
9993
9898
|
bold: true,
|
|
9994
9899
|
children: userFacingName
|
|
9995
9900
|
}, undefined, false, undefined, this),
|
|
9901
|
+
" commands in",
|
|
9996
9902
|
" ",
|
|
9997
|
-
"commands in ",
|
|
9998
9903
|
/* @__PURE__ */ jsx_dev_runtime25.jsxDEV(ThemedText, {
|
|
9999
9904
|
bold: true,
|
|
10000
9905
|
children: originalCwd
|
|
@@ -10115,8 +10020,7 @@ function FileEditPermissionRequest(props) {
|
|
|
10115
10020
|
subtitle: relative4(getCwd(), file_path),
|
|
10116
10021
|
question: /* @__PURE__ */ jsx_dev_runtime26.jsxDEV(ThemedText, {
|
|
10117
10022
|
children: [
|
|
10118
|
-
"Do you want to make this edit to",
|
|
10119
|
-
" ",
|
|
10023
|
+
"Do you want to make this edit to ",
|
|
10120
10024
|
/* @__PURE__ */ jsx_dev_runtime26.jsxDEV(ThemedText, {
|
|
10121
10025
|
bold: true,
|
|
10122
10026
|
children: basename6(file_path)
|
|
@@ -10126,9 +10030,7 @@ function FileEditPermissionRequest(props) {
|
|
|
10126
10030
|
}, undefined, true, undefined, this),
|
|
10127
10031
|
content: /* @__PURE__ */ jsx_dev_runtime26.jsxDEV(FileEditToolDiff, {
|
|
10128
10032
|
file_path,
|
|
10129
|
-
edits: [
|
|
10130
|
-
{ old_string, new_string, replace_all: replace_all || false }
|
|
10131
|
-
]
|
|
10033
|
+
edits: [{ old_string, new_string, replace_all: replace_all || false }]
|
|
10132
10034
|
}, undefined, false, undefined, this),
|
|
10133
10035
|
path: file_path,
|
|
10134
10036
|
completionType: "str_replace_single",
|
|
@@ -10222,12 +10124,7 @@ init_HighlightedCode();
|
|
|
10222
10124
|
init_StructuredDiff();
|
|
10223
10125
|
var import_react24 = __toESM(require_react(), 1);
|
|
10224
10126
|
var jsx_dev_runtime28 = __toESM(require_jsx_dev_runtime(), 1);
|
|
10225
|
-
function FileWriteToolDiff({
|
|
10226
|
-
file_path,
|
|
10227
|
-
content,
|
|
10228
|
-
fileExists,
|
|
10229
|
-
oldContent
|
|
10230
|
-
}) {
|
|
10127
|
+
function FileWriteToolDiff({ file_path, content, fileExists, oldContent }) {
|
|
10231
10128
|
const { columns } = useTerminalSize();
|
|
10232
10129
|
const hunks = import_react24.useMemo(() => {
|
|
10233
10130
|
if (!fileExists) {
|
|
@@ -10906,13 +10803,7 @@ function PowerShellPermissionRequest(props) {
|
|
|
10906
10803
|
noInputMode,
|
|
10907
10804
|
editablePrefix,
|
|
10908
10805
|
onEditablePrefixChange
|
|
10909
|
-
}), [
|
|
10910
|
-
toolUseConfirm,
|
|
10911
|
-
yesInputMode,
|
|
10912
|
-
noInputMode,
|
|
10913
|
-
editablePrefix,
|
|
10914
|
-
onEditablePrefixChange
|
|
10915
|
-
]);
|
|
10806
|
+
}), [toolUseConfirm, yesInputMode, noInputMode, editablePrefix, onEditablePrefixChange]);
|
|
10916
10807
|
const handleToggleDebug = import_react27.useCallback(() => {
|
|
10917
10808
|
setShowPermissionDebug((prev) => !prev);
|
|
10918
10809
|
}, []);
|
|
@@ -11845,11 +11736,7 @@ function formatDateDisplay(isoValue, schema) {
|
|
|
11845
11736
|
return isoValue;
|
|
11846
11737
|
}
|
|
11847
11738
|
}
|
|
11848
|
-
function ElicitationDialog({
|
|
11849
|
-
event,
|
|
11850
|
-
onResponse,
|
|
11851
|
-
onWaitingDismiss
|
|
11852
|
-
}) {
|
|
11739
|
+
function ElicitationDialog({ event, onResponse, onWaitingDismiss }) {
|
|
11853
11740
|
if (event.params.mode === "url") {
|
|
11854
11741
|
return /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ElicitationURLDialog, {
|
|
11855
11742
|
event,
|
|
@@ -13039,13 +12926,7 @@ init_useKeybinding();
|
|
|
13039
12926
|
init_select();
|
|
13040
12927
|
init_PermissionDialog();
|
|
13041
12928
|
var jsx_dev_runtime39 = __toESM(require_jsx_dev_runtime(), 1);
|
|
13042
|
-
function PromptDialog({
|
|
13043
|
-
title,
|
|
13044
|
-
toolInputSummary,
|
|
13045
|
-
request,
|
|
13046
|
-
onRespond,
|
|
13047
|
-
onAbort
|
|
13048
|
-
}) {
|
|
12929
|
+
function PromptDialog({ title, toolInputSummary, request, onRespond, onAbort }) {
|
|
13049
12930
|
useKeybinding("app:interrupt", onAbort, { isActive: true });
|
|
13050
12931
|
const options = request.options.map((opt) => ({
|
|
13051
12932
|
label: opt.label,
|
|
@@ -13483,10 +13364,7 @@ init_ConfigurableShortcutHint();
|
|
|
13483
13364
|
import { basename as basename9 } from "path";
|
|
13484
13365
|
init_src();
|
|
13485
13366
|
var jsx_dev_runtime41 = __toESM(require_jsx_dev_runtime(), 1);
|
|
13486
|
-
function IdeStatusIndicator({
|
|
13487
|
-
ideSelection,
|
|
13488
|
-
mcpClients
|
|
13489
|
-
}) {
|
|
13367
|
+
function IdeStatusIndicator({ ideSelection, mcpClients }) {
|
|
13490
13368
|
const { status: ideStatus } = useIdeConnectionStatus(mcpClients);
|
|
13491
13369
|
const shouldShowIdeSelection = ideStatus === "connected" && (ideSelection?.filePath || ideSelection?.text && ideSelection.lineCount > 0);
|
|
13492
13370
|
if (ideStatus === null || !shouldShowIdeSelection || !ideSelection) {
|
|
@@ -13586,9 +13464,7 @@ function useCompactWarningSuppression() {
|
|
|
13586
13464
|
// src/components/TokenWarning.tsx
|
|
13587
13465
|
init_contextWindowUpgradeCheck();
|
|
13588
13466
|
var jsx_dev_runtime43 = __toESM(require_jsx_dev_runtime(), 1);
|
|
13589
|
-
function CollapseLabel({
|
|
13590
|
-
upgradeMessage
|
|
13591
|
-
}) {
|
|
13467
|
+
function CollapseLabel({ upgradeMessage }) {
|
|
13592
13468
|
const { getStats, subscribe } = (init_contextCollapse(), __toCommonJS(exports_contextCollapse));
|
|
13593
13469
|
const snapshot = import_react40.useSyncExternalStore(subscribe, () => {
|
|
13594
13470
|
const s = getStats();
|
|
@@ -13784,12 +13660,7 @@ function Notifications({
|
|
|
13784
13660
|
} else {
|
|
13785
13661
|
removeNotification("external-editor-hint");
|
|
13786
13662
|
}
|
|
13787
|
-
}, [
|
|
13788
|
-
shouldShowExternalEditorHint,
|
|
13789
|
-
editor,
|
|
13790
|
-
addNotification,
|
|
13791
|
-
removeNotification
|
|
13792
|
-
]);
|
|
13663
|
+
}, [shouldShowExternalEditorHint, editor, addNotification, removeNotification]);
|
|
13793
13664
|
return /* @__PURE__ */ jsx_dev_runtime46.jsxDEV(SentryErrorBoundary, {
|
|
13794
13665
|
children: /* @__PURE__ */ jsx_dev_runtime46.jsxDEV(ThemedBox_default, {
|
|
13795
13666
|
flexDirection: "column",
|
|
@@ -16665,13 +16536,7 @@ function MainLine({
|
|
|
16665
16536
|
}, undefined, true, undefined, this)
|
|
16666
16537
|
}, undefined, false, undefined, this);
|
|
16667
16538
|
}
|
|
16668
|
-
function AgentLine({
|
|
16669
|
-
task,
|
|
16670
|
-
name,
|
|
16671
|
-
isSelected,
|
|
16672
|
-
isViewed,
|
|
16673
|
-
onClick
|
|
16674
|
-
}) {
|
|
16539
|
+
function AgentLine({ task, name, isSelected, isViewed, onClick }) {
|
|
16675
16540
|
const { columns } = useTerminalSize();
|
|
16676
16541
|
const [hover, setHover] = React24.useState(false);
|
|
16677
16542
|
const isRunning = !isTerminalStatus(task.status);
|
|
@@ -18634,7 +18499,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
18634
18499
|
project_dir: getOriginalCwd(),
|
|
18635
18500
|
added_dirs: addedDirs
|
|
18636
18501
|
},
|
|
18637
|
-
version: "1.0.
|
|
18502
|
+
version: "1.0.3",
|
|
18638
18503
|
output_style: {
|
|
18639
18504
|
name: outputStyleName
|
|
18640
18505
|
},
|
|
@@ -18686,11 +18551,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
18686
18551
|
function getLastAssistantMessageId(messages) {
|
|
18687
18552
|
return getLastAssistantMessage(messages)?.uuid ?? null;
|
|
18688
18553
|
}
|
|
18689
|
-
function StatusLineInner({
|
|
18690
|
-
messagesRef,
|
|
18691
|
-
lastAssistantMessageId,
|
|
18692
|
-
vimMode
|
|
18693
|
-
}) {
|
|
18554
|
+
function StatusLineInner({ messagesRef, lastAssistantMessageId, vimMode }) {
|
|
18694
18555
|
const abortControllerRef = import_react56.useRef(undefined);
|
|
18695
18556
|
const permissionMode = useAppState((s) => s.toolPermissionContext.mode);
|
|
18696
18557
|
const additionalWorkingDirectories = useAppState((s) => s.toolPermissionContext.additionalWorkingDirectories);
|
|
@@ -18760,13 +18621,7 @@ function StatusLineInner({
|
|
|
18760
18621
|
previousStateRef.current.mainLoopModel = mainLoopModel;
|
|
18761
18622
|
scheduleUpdate();
|
|
18762
18623
|
}
|
|
18763
|
-
}, [
|
|
18764
|
-
lastAssistantMessageId,
|
|
18765
|
-
permissionMode,
|
|
18766
|
-
vimMode,
|
|
18767
|
-
mainLoopModel,
|
|
18768
|
-
scheduleUpdate
|
|
18769
|
-
]);
|
|
18624
|
+
}, [lastAssistantMessageId, permissionMode, vimMode, mainLoopModel, scheduleUpdate]);
|
|
18770
18625
|
const statusLineCommand = settings?.statusLine?.command;
|
|
18771
18626
|
const isFirstSettingsRender = import_react56.useRef(true);
|
|
18772
18627
|
import_react56.useEffect(() => {
|
|
@@ -19048,14 +18903,7 @@ function BackgroundTaskStatus({
|
|
|
19048
18903
|
]
|
|
19049
18904
|
}, undefined, true, undefined, this);
|
|
19050
18905
|
}
|
|
19051
|
-
function AgentPill({
|
|
19052
|
-
name,
|
|
19053
|
-
color: color2,
|
|
19054
|
-
isSelected,
|
|
19055
|
-
isViewed,
|
|
19056
|
-
isIdle,
|
|
19057
|
-
onClick
|
|
19058
|
-
}) {
|
|
18906
|
+
function AgentPill({ name, color: color2, isSelected, isViewed, isIdle, onClick }) {
|
|
19059
18907
|
const [hover, setHover] = import_react57.useState(false);
|
|
19060
18908
|
const highlighted = isSelected || hover;
|
|
19061
18909
|
let label;
|
|
@@ -19154,10 +19002,7 @@ init_agentSwarmsEnabled();
|
|
|
19154
19002
|
init_src();
|
|
19155
19003
|
init_AppState();
|
|
19156
19004
|
var jsx_dev_runtime60 = __toESM(require_jsx_dev_runtime(), 1);
|
|
19157
|
-
function TeamStatus({
|
|
19158
|
-
teamsSelected,
|
|
19159
|
-
showHint
|
|
19160
|
-
}) {
|
|
19005
|
+
function TeamStatus({ teamsSelected, showHint }) {
|
|
19161
19006
|
const teamContext = useAppState((s) => s.teamContext);
|
|
19162
19007
|
const totalTeammates = teamContext ? Object.values(teamContext.teammates).filter((t) => t.name !== "team-lead").length : 0;
|
|
19163
19008
|
if (totalTeammates === 0) {
|
|
@@ -19202,11 +19047,7 @@ init_state();
|
|
|
19202
19047
|
init_src();
|
|
19203
19048
|
init_TextInput();
|
|
19204
19049
|
var jsx_dev_runtime61 = __toESM(require_jsx_dev_runtime(), 1);
|
|
19205
|
-
function HistorySearchInput({
|
|
19206
|
-
value,
|
|
19207
|
-
onChange,
|
|
19208
|
-
historyFailedMatch
|
|
19209
|
-
}) {
|
|
19050
|
+
function HistorySearchInput({ value, onChange, historyFailedMatch }) {
|
|
19210
19051
|
return /* @__PURE__ */ jsx_dev_runtime61.jsxDEV(ThemedBox_default, {
|
|
19211
19052
|
gap: 1,
|
|
19212
19053
|
children: [
|
|
@@ -19409,6 +19250,19 @@ function getShortCwdLabel() {
|
|
|
19409
19250
|
const cwd = getCwd();
|
|
19410
19251
|
return basename12(cwd) || cwd;
|
|
19411
19252
|
}
|
|
19253
|
+
function FooterInfoItem({ children, color: color2 }) {
|
|
19254
|
+
return /* @__PURE__ */ jsx_dev_runtime62.jsxDEV(ThemedText, {
|
|
19255
|
+
color: color2,
|
|
19256
|
+
children: [
|
|
19257
|
+
"[",
|
|
19258
|
+
/* @__PURE__ */ jsx_dev_runtime62.jsxDEV(ThemedText, {
|
|
19259
|
+
color: color2,
|
|
19260
|
+
children
|
|
19261
|
+
}, undefined, false, undefined, this),
|
|
19262
|
+
"]"
|
|
19263
|
+
]
|
|
19264
|
+
}, undefined, true, undefined, this);
|
|
19265
|
+
}
|
|
19412
19266
|
function ProactiveCountdown() {
|
|
19413
19267
|
const nextTickAt = import_react59.useSyncExternalStore(proactiveModule?.subscribeToProactiveChanges ?? NO_OP_SUBSCRIBE, proactiveModule?.getNextTickAt ?? NULL, NULL);
|
|
19414
19268
|
const [remainingSeconds, setRemainingSeconds] = import_react59.useState(null);
|
|
@@ -19430,8 +19284,7 @@ function ProactiveCountdown() {
|
|
|
19430
19284
|
return /* @__PURE__ */ jsx_dev_runtime62.jsxDEV(ThemedText, {
|
|
19431
19285
|
dimColor: true,
|
|
19432
19286
|
children: [
|
|
19433
|
-
"waiting",
|
|
19434
|
-
" ",
|
|
19287
|
+
"waiting ",
|
|
19435
19288
|
formatDuration(remainingSeconds * 1000, { mostSignificantOnly: true })
|
|
19436
19289
|
]
|
|
19437
19290
|
}, undefined, true, undefined, this);
|
|
@@ -19617,53 +19470,47 @@ function ModeIndicator({
|
|
|
19617
19470
|
...process.env.USER_TYPE === "ant" && hasTmuxSession ? [/* @__PURE__ */ jsx_dev_runtime62.jsxDEV(TungstenPill, {
|
|
19618
19471
|
selected: tmuxSelected
|
|
19619
19472
|
}, "tmux", false, undefined, this)] : [],
|
|
19620
|
-
...isAgentSwarmsEnabled() && hasTeams ? [
|
|
19621
|
-
|
|
19622
|
-
|
|
19623
|
-
|
|
19624
|
-
|
|
19625
|
-
|
|
19626
|
-
|
|
19627
|
-
|
|
19628
|
-
|
|
19629
|
-
|
|
19630
|
-
|
|
19631
|
-
}, "pr-status", false, undefined, this)
|
|
19632
|
-
] : [],
|
|
19633
|
-
/* @__PURE__ */ jsx_dev_runtime62.jsxDEV(ThemedText, {
|
|
19634
|
-
dimColor: true,
|
|
19473
|
+
...isAgentSwarmsEnabled() && hasTeams ? [/* @__PURE__ */ jsx_dev_runtime62.jsxDEV(TeamStatus, {
|
|
19474
|
+
teamsSelected,
|
|
19475
|
+
showHint: showHint && !hasBackgroundTasks
|
|
19476
|
+
}, "teams", false, undefined, this)] : [],
|
|
19477
|
+
...shouldShowPrStatus ? [/* @__PURE__ */ jsx_dev_runtime62.jsxDEV(PrBadge, {
|
|
19478
|
+
number: prStatus.number,
|
|
19479
|
+
url: prStatus.url,
|
|
19480
|
+
reviewState: prStatus.reviewState
|
|
19481
|
+
}, "pr-status", false, undefined, this)] : [],
|
|
19482
|
+
/* @__PURE__ */ jsx_dev_runtime62.jsxDEV(FooterInfoItem, {
|
|
19483
|
+
color: "claude",
|
|
19635
19484
|
children: [
|
|
19636
19485
|
"v",
|
|
19637
|
-
"1.0.
|
|
19486
|
+
"1.0.3"
|
|
19638
19487
|
]
|
|
19639
19488
|
}, "version", true, undefined, this),
|
|
19640
|
-
/* @__PURE__ */ jsx_dev_runtime62.jsxDEV(
|
|
19641
|
-
|
|
19642
|
-
color: permissionSummaryColor,
|
|
19489
|
+
/* @__PURE__ */ jsx_dev_runtime62.jsxDEV(FooterInfoItem, {
|
|
19490
|
+
color: permissionSummaryColor ?? "success",
|
|
19643
19491
|
children: permissionModeFooterLabel(effectivePermissionMode)
|
|
19644
19492
|
}, "permission-summary", false, undefined, this),
|
|
19645
19493
|
...columns >= 70 ? [
|
|
19646
|
-
/* @__PURE__ */ jsx_dev_runtime62.jsxDEV(
|
|
19647
|
-
|
|
19494
|
+
/* @__PURE__ */ jsx_dev_runtime62.jsxDEV(FooterInfoItem, {
|
|
19495
|
+
color: "cyan_FOR_SUBAGENTS_ONLY",
|
|
19648
19496
|
children: shortCwd
|
|
19649
19497
|
}, "cwd", false, undefined, this)
|
|
19650
19498
|
] : [],
|
|
19651
19499
|
...columns >= 90 ? [
|
|
19652
|
-
/* @__PURE__ */ jsx_dev_runtime62.jsxDEV(
|
|
19653
|
-
|
|
19500
|
+
/* @__PURE__ */ jsx_dev_runtime62.jsxDEV(FooterInfoItem, {
|
|
19501
|
+
color: "ide",
|
|
19654
19502
|
children: configMode
|
|
19655
19503
|
}, "config-mode", false, undefined, this)
|
|
19656
19504
|
] : [],
|
|
19657
19505
|
...columns >= 110 ? [
|
|
19658
|
-
/* @__PURE__ */ jsx_dev_runtime62.jsxDEV(
|
|
19659
|
-
|
|
19506
|
+
/* @__PURE__ */ jsx_dev_runtime62.jsxDEV(FooterInfoItem, {
|
|
19507
|
+
color: "warning",
|
|
19660
19508
|
children: shortModel
|
|
19661
19509
|
}, "model", false, undefined, this)
|
|
19662
19510
|
] : [],
|
|
19663
19511
|
...rssState ? [
|
|
19664
|
-
/* @__PURE__ */ jsx_dev_runtime62.jsxDEV(
|
|
19665
|
-
|
|
19666
|
-
color: rssState.level === "error" ? "error" : rssState.level === "warning" ? "warning" : undefined,
|
|
19512
|
+
/* @__PURE__ */ jsx_dev_runtime62.jsxDEV(FooterInfoItem, {
|
|
19513
|
+
color: rssState.level === "error" ? "error" : rssState.level === "warning" ? "warning" : "purple_FOR_SUBAGENTS_ONLY",
|
|
19667
19514
|
children: rssState.text
|
|
19668
19515
|
}, "rss", false, undefined, this)
|
|
19669
19516
|
] : []
|
|
@@ -19685,11 +19532,7 @@ function ModeIndicator({
|
|
|
19685
19532
|
parts.push(...hintParts);
|
|
19686
19533
|
}
|
|
19687
19534
|
if (hasTeammatePills) {
|
|
19688
|
-
const otherParts = [
|
|
19689
|
-
...modePart ? [modePart] : [],
|
|
19690
|
-
...parts,
|
|
19691
|
-
...isViewingCompletedTeammate ? [] : hintParts
|
|
19692
|
-
];
|
|
19535
|
+
const otherParts = [...modePart ? [modePart] : [], ...parts, ...isViewingCompletedTeammate ? [] : hintParts];
|
|
19693
19536
|
return /* @__PURE__ */ jsx_dev_runtime62.jsxDEV(ThemedBox_default, {
|
|
19694
19537
|
flexDirection: "column",
|
|
19695
19538
|
children: [
|
|
@@ -19912,6 +19755,25 @@ function PromptInputFooter({
|
|
|
19912
19755
|
const suppressHint = suppressHintFromProps || statusLineShouldDisplay(settings) || isSearching;
|
|
19913
19756
|
const overlayData = import_react60.useMemo(() => isFullscreen && suggestions.length ? { suggestions, selectedSuggestion, maxColumnWidth } : null, [isFullscreen, suggestions, selectedSuggestion, maxColumnWidth]);
|
|
19914
19757
|
useSetPromptOverlay(overlayData);
|
|
19758
|
+
if (exitMessage.show) {
|
|
19759
|
+
return /* @__PURE__ */ jsx_dev_runtime63.jsxDEV(ThemedBox_default, {
|
|
19760
|
+
paddingX: 2,
|
|
19761
|
+
height: 1,
|
|
19762
|
+
overflow: "hidden",
|
|
19763
|
+
children: /* @__PURE__ */ jsx_dev_runtime63.jsxDEV(ThemedText, {
|
|
19764
|
+
color: "warning",
|
|
19765
|
+
wrap: "truncate",
|
|
19766
|
+
children: [
|
|
19767
|
+
"Press ",
|
|
19768
|
+
/* @__PURE__ */ jsx_dev_runtime63.jsxDEV(ThemedText, {
|
|
19769
|
+
bold: true,
|
|
19770
|
+
children: exitMessage.key ?? "Ctrl-C"
|
|
19771
|
+
}, undefined, false, undefined, this),
|
|
19772
|
+
" again to exit"
|
|
19773
|
+
]
|
|
19774
|
+
}, undefined, true, undefined, this)
|
|
19775
|
+
}, undefined, false, undefined, this);
|
|
19776
|
+
}
|
|
19915
19777
|
if (suggestions.length && !isFullscreen) {
|
|
19916
19778
|
return /* @__PURE__ */ jsx_dev_runtime63.jsxDEV(ThemedBox_default, {
|
|
19917
19779
|
paddingX: 2,
|
|
@@ -20239,10 +20101,7 @@ function getTeammateThemeColor() {
|
|
|
20239
20101
|
}
|
|
20240
20102
|
return;
|
|
20241
20103
|
}
|
|
20242
|
-
function PromptChar({
|
|
20243
|
-
isLoading,
|
|
20244
|
-
themeColor
|
|
20245
|
-
}) {
|
|
20104
|
+
function PromptChar({ isLoading, themeColor }) {
|
|
20246
20105
|
const teammateColor = themeColor;
|
|
20247
20106
|
const isAnt = process.env.USER_TYPE === "ant";
|
|
20248
20107
|
const color2 = teammateColor ?? (isAnt ? "subtle" : undefined);
|
|
@@ -22112,7 +21971,7 @@ function PromptInput({
|
|
|
22112
21971
|
onHistoryUp: handleHistoryUp,
|
|
22113
21972
|
onHistoryDown: handleHistoryDown,
|
|
22114
21973
|
onHistoryReset: resetHistory,
|
|
22115
|
-
placeholder,
|
|
21974
|
+
placeholder: exitMessage.show ? "" : placeholder,
|
|
22116
21975
|
onExit,
|
|
22117
21976
|
onExitMessage: (show, key) => setExitMessage({ show, key }),
|
|
22118
21977
|
onImagePaste,
|
|
@@ -22125,7 +21984,7 @@ function PromptInput({
|
|
|
22125
21984
|
onPaste: onTextPaste,
|
|
22126
21985
|
onIsPastingChange: setIsPasting,
|
|
22127
21986
|
focus: !isSearchingHistory && !isModalOverlayActive && !footerItemSelected,
|
|
22128
|
-
showCursor: !footerItemSelected && !isSearchingHistory && !cursorAtImageChip,
|
|
21987
|
+
showCursor: !exitMessage.show && !footerItemSelected && !isSearchingHistory && !cursorAtImageChip,
|
|
22129
21988
|
argumentHint: commandArgumentHint,
|
|
22130
21989
|
onUndo: canUndo ? () => {
|
|
22131
21990
|
const previousState = undo();
|
|
@@ -22136,7 +21995,7 @@ function PromptInput({
|
|
|
22136
21995
|
}
|
|
22137
21996
|
} : undefined,
|
|
22138
21997
|
highlights: combinedHighlights,
|
|
22139
|
-
inlineGhostText,
|
|
21998
|
+
inlineGhostText: exitMessage.show ? undefined : inlineGhostText,
|
|
22140
21999
|
inputFilter: lazySpaceInputFilter
|
|
22141
22000
|
};
|
|
22142
22001
|
const getBorderColor = () => {
|
|
@@ -22302,7 +22161,7 @@ function PromptInput({
|
|
|
22302
22161
|
isFullscreenEnvEnabled() ? /* @__PURE__ */ jsx_dev_runtime67.jsxDEV(ThemedBox_default, {
|
|
22303
22162
|
position: "absolute",
|
|
22304
22163
|
marginTop: briefOwnsGap ? -2 : -1,
|
|
22305
|
-
height: suggestions.length === 0 ? 1 : 0,
|
|
22164
|
+
height: suggestions.length === 0 && !exitMessage.show ? 1 : 0,
|
|
22306
22165
|
width: "100%",
|
|
22307
22166
|
paddingLeft: 2,
|
|
22308
22167
|
paddingRight: 1,
|
|
@@ -22506,7 +22365,10 @@ function convertCompactBoundaryMessage(msg) {
|
|
|
22506
22365
|
function convertSDKMessage(msg, opts) {
|
|
22507
22366
|
switch (msg.type) {
|
|
22508
22367
|
case "assistant":
|
|
22509
|
-
return {
|
|
22368
|
+
return {
|
|
22369
|
+
type: "message",
|
|
22370
|
+
message: convertAssistantMessage(msg)
|
|
22371
|
+
};
|
|
22510
22372
|
case "user": {
|
|
22511
22373
|
const userMsg = msg;
|
|
22512
22374
|
const content = userMsg.message?.content;
|
|
@@ -22538,10 +22400,16 @@ function convertSDKMessage(msg, opts) {
|
|
|
22538
22400
|
return { type: "ignored" };
|
|
22539
22401
|
}
|
|
22540
22402
|
case "stream_event":
|
|
22541
|
-
return {
|
|
22403
|
+
return {
|
|
22404
|
+
type: "stream_event",
|
|
22405
|
+
event: convertStreamEvent(msg)
|
|
22406
|
+
};
|
|
22542
22407
|
case "result":
|
|
22543
22408
|
if (msg.subtype !== "success") {
|
|
22544
|
-
return {
|
|
22409
|
+
return {
|
|
22410
|
+
type: "message",
|
|
22411
|
+
message: convertResultMessage(msg)
|
|
22412
|
+
};
|
|
22545
22413
|
}
|
|
22546
22414
|
return { type: "ignored" };
|
|
22547
22415
|
case "system": {
|
|
@@ -22563,7 +22431,10 @@ function convertSDKMessage(msg, opts) {
|
|
|
22563
22431
|
return { type: "ignored" };
|
|
22564
22432
|
}
|
|
22565
22433
|
case "tool_progress":
|
|
22566
|
-
return {
|
|
22434
|
+
return {
|
|
22435
|
+
type: "message",
|
|
22436
|
+
message: convertToolProgressMessage(msg)
|
|
22437
|
+
};
|
|
22567
22438
|
case "auth_status":
|
|
22568
22439
|
logForDebugging("[sdkMessageAdapter] Ignoring auth_status message");
|
|
22569
22440
|
return { type: "ignored" };
|
|
@@ -24112,13 +23983,7 @@ function GlobalKeybindingHandlers({
|
|
|
24112
23983
|
if (onExitTranscript) {
|
|
24113
23984
|
onExitTranscript();
|
|
24114
23985
|
}
|
|
24115
|
-
}, [
|
|
24116
|
-
setScreen,
|
|
24117
|
-
showAllInTranscript,
|
|
24118
|
-
setShowAllInTranscript,
|
|
24119
|
-
messageCount,
|
|
24120
|
-
onExitTranscript
|
|
24121
|
-
]);
|
|
23986
|
+
}, [setScreen, showAllInTranscript, setShowAllInTranscript, messageCount, onExitTranscript]);
|
|
24122
23987
|
const handleToggleBrief = import_react77.useCallback(() => {
|
|
24123
23988
|
if (true) {
|
|
24124
23989
|
const { isBriefEnabled } = (init_BriefTool(), __toCommonJS(exports_BriefTool));
|
|
@@ -24188,10 +24053,7 @@ var NOOP_HELPERS = {
|
|
|
24188
24053
|
clearBuffer: () => {},
|
|
24189
24054
|
resetHistory: () => {}
|
|
24190
24055
|
};
|
|
24191
|
-
function CommandKeybindingHandlers({
|
|
24192
|
-
onSubmit,
|
|
24193
|
-
isActive = true
|
|
24194
|
-
}) {
|
|
24056
|
+
function CommandKeybindingHandlers({ onSubmit, isActive = true }) {
|
|
24195
24057
|
const keybindingContext = useOptionalKeybindingContext();
|
|
24196
24058
|
const isModalOverlayActive = useIsModalOverlayActive();
|
|
24197
24059
|
const commandActions = import_react78.useMemo(() => {
|
|
@@ -26941,13 +26803,7 @@ function useIDEIntegration({
|
|
|
26941
26803
|
});
|
|
26942
26804
|
}
|
|
26943
26805
|
initializeIdeIntegration(addIde, ideToInstallExtension, () => setShowIdeOnboarding(true), (status) => setIDEInstallationState(status));
|
|
26944
|
-
}, [
|
|
26945
|
-
autoConnectIdeFlag,
|
|
26946
|
-
ideToInstallExtension,
|
|
26947
|
-
setDynamicMcpConfig,
|
|
26948
|
-
setShowIdeOnboarding,
|
|
26949
|
-
setIDEInstallationState
|
|
26950
|
-
]);
|
|
26806
|
+
}, [autoConnectIdeFlag, ideToInstallExtension, setDynamicMcpConfig, setShowIdeOnboarding, setIDEInstallationState]);
|
|
26951
26807
|
}
|
|
26952
26808
|
|
|
26953
26809
|
// src/screens/REPL.tsx
|
|
@@ -26969,10 +26825,7 @@ init_envUtils();
|
|
|
26969
26825
|
init_src();
|
|
26970
26826
|
var import_react93 = __toESM(require_react(), 1);
|
|
26971
26827
|
var jsx_dev_runtime72 = __toESM(require_jsx_dev_runtime(), 1);
|
|
26972
|
-
function SessionBackgroundHint({
|
|
26973
|
-
onBackgroundSession,
|
|
26974
|
-
isLoading
|
|
26975
|
-
}) {
|
|
26828
|
+
function SessionBackgroundHint({ onBackgroundSession, isLoading }) {
|
|
26976
26829
|
const setAppState = useSetAppState();
|
|
26977
26830
|
const appStateStore = useAppStateStore();
|
|
26978
26831
|
const [showSessionHint, setShowSessionHint] = import_react93.useState(false);
|
|
@@ -27246,18 +27099,13 @@ function EffortCallout({ model, onDone }) {
|
|
|
27246
27099
|
}, undefined, true, undefined, this)
|
|
27247
27100
|
}, undefined, false, undefined, this);
|
|
27248
27101
|
}
|
|
27249
|
-
function EffortIndicatorSymbol({
|
|
27250
|
-
level
|
|
27251
|
-
}) {
|
|
27102
|
+
function EffortIndicatorSymbol({ level }) {
|
|
27252
27103
|
return /* @__PURE__ */ jsx_dev_runtime73.jsxDEV(ThemedText, {
|
|
27253
27104
|
color: "suggestion",
|
|
27254
27105
|
children: effortLevelToSymbol(level)
|
|
27255
27106
|
}, undefined, false, undefined, this);
|
|
27256
27107
|
}
|
|
27257
|
-
function EffortOptionLabel({
|
|
27258
|
-
level,
|
|
27259
|
-
text
|
|
27260
|
-
}) {
|
|
27108
|
+
function EffortOptionLabel({ level, text }) {
|
|
27261
27109
|
return /* @__PURE__ */ jsx_dev_runtime73.jsxDEV(jsx_dev_runtime73.Fragment, {
|
|
27262
27110
|
children: [
|
|
27263
27111
|
/* @__PURE__ */ jsx_dev_runtime73.jsxDEV(EffortIndicatorSymbol, {
|
|
@@ -27383,12 +27231,7 @@ function useSurveyState({
|
|
|
27383
27231
|
showThanksThenClose();
|
|
27384
27232
|
}
|
|
27385
27233
|
return false;
|
|
27386
|
-
}, [
|
|
27387
|
-
showThanksThenClose,
|
|
27388
|
-
onSelect,
|
|
27389
|
-
shouldShowTranscriptPrompt,
|
|
27390
|
-
onTranscriptPromptShown
|
|
27391
|
-
]);
|
|
27234
|
+
}, [showThanksThenClose, onSelect, shouldShowTranscriptPrompt, onTranscriptPromptShown]);
|
|
27392
27235
|
const handleTranscriptSelect = import_react97.useCallback((selected) => {
|
|
27393
27236
|
switch (selected) {
|
|
27394
27237
|
case "yes":
|
|
@@ -27820,15 +27663,7 @@ function useMemorySurvey(messages, isLoading, hasActivePrompt = false, { enabled
|
|
|
27820
27663
|
if (Math.random() < SURVEY_PROBABILITY) {
|
|
27821
27664
|
open();
|
|
27822
27665
|
}
|
|
27823
|
-
}, [
|
|
27824
|
-
enabled,
|
|
27825
|
-
state,
|
|
27826
|
-
isLoading,
|
|
27827
|
-
hasActivePrompt,
|
|
27828
|
-
lastAssistant,
|
|
27829
|
-
messages,
|
|
27830
|
-
open
|
|
27831
|
-
]);
|
|
27666
|
+
}, [enabled, state, isLoading, hasActivePrompt, lastAssistant, messages, open]);
|
|
27832
27667
|
return { state, lastResponse, handleSelect, handleTranscriptSelect };
|
|
27833
27668
|
}
|
|
27834
27669
|
|
|
@@ -27932,16 +27767,7 @@ function usePostCompactSurvey(messages, isLoading, hasActivePrompt = false, { en
|
|
|
27932
27767
|
seenCompactBoundaries.current = new Set(currentCompactBoundaries);
|
|
27933
27768
|
pendingCompactBoundaryUuid.current = newBoundaries[newBoundaries.length - 1];
|
|
27934
27769
|
}
|
|
27935
|
-
}, [
|
|
27936
|
-
enabled,
|
|
27937
|
-
currentCompactBoundaries,
|
|
27938
|
-
state,
|
|
27939
|
-
isLoading,
|
|
27940
|
-
hasActivePrompt,
|
|
27941
|
-
gateEnabled,
|
|
27942
|
-
messages,
|
|
27943
|
-
open
|
|
27944
|
-
]);
|
|
27770
|
+
}, [enabled, currentCompactBoundaries, state, isLoading, hasActivePrompt, gateEnabled, messages, open]);
|
|
27945
27771
|
return { state, lastResponse, handleSelect };
|
|
27946
27772
|
}
|
|
27947
27773
|
|
|
@@ -27960,11 +27786,7 @@ var inputToResponse2 = {
|
|
|
27960
27786
|
"3": "dont_ask_again"
|
|
27961
27787
|
};
|
|
27962
27788
|
var isValidResponseInput2 = (input) => RESPONSE_INPUTS2.includes(input);
|
|
27963
|
-
function TranscriptSharePrompt({
|
|
27964
|
-
onSelect,
|
|
27965
|
-
inputValue,
|
|
27966
|
-
setInputValue
|
|
27967
|
-
}) {
|
|
27789
|
+
function TranscriptSharePrompt({ onSelect, inputValue, setInputValue }) {
|
|
27968
27790
|
useDebouncedDigitInput({
|
|
27969
27791
|
inputValue,
|
|
27970
27792
|
setInputValue,
|
|
@@ -28795,12 +28617,7 @@ var ClaudeInChromePromptNotificationSchema = lazySchema(() => exports_external.o
|
|
|
28795
28617
|
prompt: exports_external.string(),
|
|
28796
28618
|
image: exports_external.object({
|
|
28797
28619
|
type: exports_external.literal("base64"),
|
|
28798
|
-
media_type: exports_external.enum([
|
|
28799
|
-
"image/jpeg",
|
|
28800
|
-
"image/png",
|
|
28801
|
-
"image/gif",
|
|
28802
|
-
"image/webp"
|
|
28803
|
-
]),
|
|
28620
|
+
media_type: exports_external.enum(["image/jpeg", "image/png", "image/gif", "image/webp"]),
|
|
28804
28621
|
data: exports_external.string()
|
|
28805
28622
|
}).optional(),
|
|
28806
28623
|
tabId: exports_external.number().optional()
|
|
@@ -29066,8 +28883,7 @@ function SandboxViolationExpandedView() {
|
|
|
29066
28883
|
children: [
|
|
29067
28884
|
"\u29C8 Sandbox blocked ",
|
|
29068
28885
|
totalCount,
|
|
29069
|
-
" total",
|
|
29070
|
-
" ",
|
|
28886
|
+
" total ",
|
|
29071
28887
|
totalCount === 1 ? "operation" : "operations"
|
|
29072
28888
|
]
|
|
29073
28889
|
}, undefined, true, undefined, this)
|
|
@@ -29105,126 +28921,21 @@ init_useSettingsErrors();
|
|
|
29105
28921
|
|
|
29106
28922
|
// src/hooks/notifs/useMcpConnectivityStatus.tsx
|
|
29107
28923
|
init_notifications();
|
|
29108
|
-
init_state();
|
|
29109
|
-
init_src();
|
|
29110
|
-
init_claudeai();
|
|
29111
28924
|
var import_react106 = __toESM(require_react(), 1);
|
|
29112
|
-
var jsx_dev_runtime80 = __toESM(require_jsx_dev_runtime(), 1);
|
|
29113
28925
|
var EMPTY_MCP_CLIENTS = [];
|
|
29114
|
-
|
|
29115
|
-
|
|
29116
|
-
|
|
29117
|
-
|
|
28926
|
+
var MCP_FOOTER_NOTIFICATION_KEYS = [
|
|
28927
|
+
"mcp-failed",
|
|
28928
|
+
"mcp-claudeai-failed",
|
|
28929
|
+
"mcp-needs-auth",
|
|
28930
|
+
"mcp-claudeai-needs-auth"
|
|
28931
|
+
];
|
|
28932
|
+
function useMcpConnectivityStatus({ mcpClients = EMPTY_MCP_CLIENTS }) {
|
|
28933
|
+
const { removeNotification } = useNotifications();
|
|
29118
28934
|
import_react106.useEffect(() => {
|
|
29119
|
-
|
|
29120
|
-
|
|
29121
|
-
const failedLocalClients = mcpClients.filter((client) => client.type === "failed" && client.config.type !== "sse-ide" && client.config.type !== "ws-ide" && client.config.type !== "claudeai-proxy");
|
|
29122
|
-
const failedClaudeAiClients = mcpClients.filter((client) => client.type === "failed" && client.config.type === "claudeai-proxy" && hasClaudeAiMcpEverConnected(client.name));
|
|
29123
|
-
const needsAuthLocalServers = mcpClients.filter((client) => client.type === "needs-auth" && client.config.type !== "claudeai-proxy");
|
|
29124
|
-
const needsAuthClaudeAiServers = mcpClients.filter((client) => client.type === "needs-auth" && client.config.type === "claudeai-proxy" && hasClaudeAiMcpEverConnected(client.name));
|
|
29125
|
-
if (failedLocalClients.length === 0 && failedClaudeAiClients.length === 0 && needsAuthLocalServers.length === 0 && needsAuthClaudeAiServers.length === 0) {
|
|
29126
|
-
return;
|
|
29127
|
-
}
|
|
29128
|
-
if (failedLocalClients.length > 0) {
|
|
29129
|
-
addNotification({
|
|
29130
|
-
key: "mcp-failed",
|
|
29131
|
-
jsx: /* @__PURE__ */ jsx_dev_runtime80.jsxDEV(jsx_dev_runtime80.Fragment, {
|
|
29132
|
-
children: [
|
|
29133
|
-
/* @__PURE__ */ jsx_dev_runtime80.jsxDEV(ThemedText, {
|
|
29134
|
-
color: "error",
|
|
29135
|
-
children: [
|
|
29136
|
-
failedLocalClients.length,
|
|
29137
|
-
" MCP",
|
|
29138
|
-
" ",
|
|
29139
|
-
failedLocalClients.length === 1 ? "server" : "servers",
|
|
29140
|
-
" failed"
|
|
29141
|
-
]
|
|
29142
|
-
}, undefined, true, undefined, this),
|
|
29143
|
-
/* @__PURE__ */ jsx_dev_runtime80.jsxDEV(ThemedText, {
|
|
29144
|
-
dimColor: true,
|
|
29145
|
-
children: " \xB7 /mcp"
|
|
29146
|
-
}, undefined, false, undefined, this)
|
|
29147
|
-
]
|
|
29148
|
-
}, undefined, true, undefined, this),
|
|
29149
|
-
priority: "medium"
|
|
29150
|
-
});
|
|
29151
|
-
}
|
|
29152
|
-
if (failedClaudeAiClients.length > 0) {
|
|
29153
|
-
addNotification({
|
|
29154
|
-
key: "mcp-claudeai-failed",
|
|
29155
|
-
jsx: /* @__PURE__ */ jsx_dev_runtime80.jsxDEV(jsx_dev_runtime80.Fragment, {
|
|
29156
|
-
children: [
|
|
29157
|
-
/* @__PURE__ */ jsx_dev_runtime80.jsxDEV(ThemedText, {
|
|
29158
|
-
color: "error",
|
|
29159
|
-
children: [
|
|
29160
|
-
failedClaudeAiClients.length,
|
|
29161
|
-
" claude.ai",
|
|
29162
|
-
" ",
|
|
29163
|
-
failedClaudeAiClients.length === 1 ? "connector" : "connectors",
|
|
29164
|
-
" ",
|
|
29165
|
-
"unavailable"
|
|
29166
|
-
]
|
|
29167
|
-
}, undefined, true, undefined, this),
|
|
29168
|
-
/* @__PURE__ */ jsx_dev_runtime80.jsxDEV(ThemedText, {
|
|
29169
|
-
dimColor: true,
|
|
29170
|
-
children: " \xB7 /mcp"
|
|
29171
|
-
}, undefined, false, undefined, this)
|
|
29172
|
-
]
|
|
29173
|
-
}, undefined, true, undefined, this),
|
|
29174
|
-
priority: "medium"
|
|
29175
|
-
});
|
|
29176
|
-
}
|
|
29177
|
-
if (needsAuthLocalServers.length > 0) {
|
|
29178
|
-
addNotification({
|
|
29179
|
-
key: "mcp-needs-auth",
|
|
29180
|
-
jsx: /* @__PURE__ */ jsx_dev_runtime80.jsxDEV(jsx_dev_runtime80.Fragment, {
|
|
29181
|
-
children: [
|
|
29182
|
-
/* @__PURE__ */ jsx_dev_runtime80.jsxDEV(ThemedText, {
|
|
29183
|
-
color: "warning",
|
|
29184
|
-
children: [
|
|
29185
|
-
needsAuthLocalServers.length,
|
|
29186
|
-
" MCP",
|
|
29187
|
-
" ",
|
|
29188
|
-
needsAuthLocalServers.length === 1 ? "server needs" : "servers need",
|
|
29189
|
-
" ",
|
|
29190
|
-
"auth"
|
|
29191
|
-
]
|
|
29192
|
-
}, undefined, true, undefined, this),
|
|
29193
|
-
/* @__PURE__ */ jsx_dev_runtime80.jsxDEV(ThemedText, {
|
|
29194
|
-
dimColor: true,
|
|
29195
|
-
children: " \xB7 /mcp"
|
|
29196
|
-
}, undefined, false, undefined, this)
|
|
29197
|
-
]
|
|
29198
|
-
}, undefined, true, undefined, this),
|
|
29199
|
-
priority: "medium"
|
|
29200
|
-
});
|
|
29201
|
-
}
|
|
29202
|
-
if (needsAuthClaudeAiServers.length > 0) {
|
|
29203
|
-
addNotification({
|
|
29204
|
-
key: "mcp-claudeai-needs-auth",
|
|
29205
|
-
jsx: /* @__PURE__ */ jsx_dev_runtime80.jsxDEV(jsx_dev_runtime80.Fragment, {
|
|
29206
|
-
children: [
|
|
29207
|
-
/* @__PURE__ */ jsx_dev_runtime80.jsxDEV(ThemedText, {
|
|
29208
|
-
color: "warning",
|
|
29209
|
-
children: [
|
|
29210
|
-
needsAuthClaudeAiServers.length,
|
|
29211
|
-
" claude.ai",
|
|
29212
|
-
" ",
|
|
29213
|
-
needsAuthClaudeAiServers.length === 1 ? "connector needs" : "connectors need",
|
|
29214
|
-
" ",
|
|
29215
|
-
"auth"
|
|
29216
|
-
]
|
|
29217
|
-
}, undefined, true, undefined, this),
|
|
29218
|
-
/* @__PURE__ */ jsx_dev_runtime80.jsxDEV(ThemedText, {
|
|
29219
|
-
dimColor: true,
|
|
29220
|
-
children: " \xB7 /mcp"
|
|
29221
|
-
}, undefined, false, undefined, this)
|
|
29222
|
-
]
|
|
29223
|
-
}, undefined, true, undefined, this),
|
|
29224
|
-
priority: "medium"
|
|
29225
|
-
});
|
|
28935
|
+
for (const key of MCP_FOOTER_NOTIFICATION_KEYS) {
|
|
28936
|
+
removeNotification(key);
|
|
29226
28937
|
}
|
|
29227
|
-
}, [
|
|
28938
|
+
}, [removeNotification, mcpClients]);
|
|
29228
28939
|
}
|
|
29229
28940
|
|
|
29230
28941
|
// src/components/AutoModeOptInDialog.tsx
|
|
@@ -29233,7 +28944,7 @@ init_src();
|
|
|
29233
28944
|
init_settings();
|
|
29234
28945
|
init_CustomSelect();
|
|
29235
28946
|
var import_react107 = __toESM(require_react(), 1);
|
|
29236
|
-
var
|
|
28947
|
+
var jsx_dev_runtime80 = __toESM(require_jsx_dev_runtime(), 1);
|
|
29237
28948
|
var AUTO_MODE_DESCRIPTION = "Auto mode lets RedScope AI handle permission prompts automatically. RedScope AI checks each tool call for risky actions and prompt injection before executing. Actions it identifies as safe are executed, while actions it identifies as risky are blocked and RedScope AI may try a different approach. Ideal for long-running tasks. Sessions are slightly more expensive. RedScope AI can make mistakes that allow harmful commands to run; it's recommended to only use auto mode in isolated environments. Shift+Tab to change mode.";
|
|
29238
28949
|
|
|
29239
28950
|
// src/hooks/notifs/useLspInitializationNotification.tsx
|
|
@@ -29246,7 +28957,7 @@ init_AppState();
|
|
|
29246
28957
|
init_debug();
|
|
29247
28958
|
init_envUtils();
|
|
29248
28959
|
var React35 = __toESM(require_react(), 1);
|
|
29249
|
-
var
|
|
28960
|
+
var jsx_dev_runtime81 = __toESM(require_jsx_dev_runtime(), 1);
|
|
29250
28961
|
var LSP_POLL_INTERVAL_MS = 5000;
|
|
29251
28962
|
function useLspInitializationNotification() {
|
|
29252
28963
|
const { addNotification } = useNotifications();
|
|
@@ -29289,9 +29000,9 @@ function useLspInitializationNotification() {
|
|
|
29289
29000
|
const displayName = source.startsWith("plugin:") ? source.split(":")[1] ?? source : source;
|
|
29290
29001
|
addNotification({
|
|
29291
29002
|
key: `lsp-error-${source}`,
|
|
29292
|
-
jsx: /* @__PURE__ */
|
|
29003
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime81.jsxDEV(jsx_dev_runtime81.Fragment, {
|
|
29293
29004
|
children: [
|
|
29294
|
-
/* @__PURE__ */
|
|
29005
|
+
/* @__PURE__ */ jsx_dev_runtime81.jsxDEV(ThemedText, {
|
|
29295
29006
|
color: "error",
|
|
29296
29007
|
children: [
|
|
29297
29008
|
"LSP for ",
|
|
@@ -29299,7 +29010,7 @@ function useLspInitializationNotification() {
|
|
|
29299
29010
|
" failed"
|
|
29300
29011
|
]
|
|
29301
29012
|
}, undefined, true, undefined, this),
|
|
29302
|
-
/* @__PURE__ */
|
|
29013
|
+
/* @__PURE__ */ jsx_dev_runtime81.jsxDEV(ThemedText, {
|
|
29303
29014
|
dimColor: true,
|
|
29304
29015
|
children: " \xB7 /plugin for details"
|
|
29305
29016
|
}, undefined, false, undefined, this)
|
|
@@ -29564,7 +29275,7 @@ init_src();
|
|
|
29564
29275
|
init_log();
|
|
29565
29276
|
init_marketplaceManager();
|
|
29566
29277
|
var React36 = __toESM(require_react(), 1);
|
|
29567
|
-
var
|
|
29278
|
+
var jsx_dev_runtime82 = __toESM(require_jsx_dev_runtime(), 1);
|
|
29568
29279
|
function usePluginRecommendationBase() {
|
|
29569
29280
|
const [recommendation, setRecommendation] = React36.useState(null);
|
|
29570
29281
|
const isCheckingRef = React36.useRef(false);
|
|
@@ -29595,7 +29306,7 @@ async function installPluginAndNotify(pluginId, pluginName, keyPrefix, addNotifi
|
|
|
29595
29306
|
await install(pluginData);
|
|
29596
29307
|
addNotification({
|
|
29597
29308
|
key: `${keyPrefix}-installed`,
|
|
29598
|
-
jsx: /* @__PURE__ */
|
|
29309
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime82.jsxDEV(ThemedText, {
|
|
29599
29310
|
color: "success",
|
|
29600
29311
|
children: [
|
|
29601
29312
|
figures_default.tick,
|
|
@@ -29611,7 +29322,7 @@ async function installPluginAndNotify(pluginId, pluginName, keyPrefix, addNotifi
|
|
|
29611
29322
|
logError(error);
|
|
29612
29323
|
addNotification({
|
|
29613
29324
|
key: `${keyPrefix}-install-failed`,
|
|
29614
|
-
jsx: /* @__PURE__ */
|
|
29325
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime82.jsxDEV(ThemedText, {
|
|
29615
29326
|
color: "error",
|
|
29616
29327
|
children: [
|
|
29617
29328
|
"Failed to install ",
|
|
@@ -29714,7 +29425,7 @@ init_src();
|
|
|
29714
29425
|
init_select();
|
|
29715
29426
|
init_PermissionDialog();
|
|
29716
29427
|
var React38 = __toESM(require_react(), 1);
|
|
29717
|
-
var
|
|
29428
|
+
var jsx_dev_runtime83 = __toESM(require_jsx_dev_runtime(), 1);
|
|
29718
29429
|
var AUTO_DISMISS_MS2 = 30000;
|
|
29719
29430
|
function LspRecommendationMenu({
|
|
29720
29431
|
pluginName,
|
|
@@ -29746,10 +29457,10 @@ function LspRecommendationMenu({
|
|
|
29746
29457
|
}
|
|
29747
29458
|
const options = [
|
|
29748
29459
|
{
|
|
29749
|
-
label: /* @__PURE__ */
|
|
29460
|
+
label: /* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedText, {
|
|
29750
29461
|
children: [
|
|
29751
29462
|
"Yes, install ",
|
|
29752
|
-
/* @__PURE__ */
|
|
29463
|
+
/* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedText, {
|
|
29753
29464
|
bold: true,
|
|
29754
29465
|
children: pluginName
|
|
29755
29466
|
}, undefined, false, undefined, this)
|
|
@@ -29762,10 +29473,10 @@ function LspRecommendationMenu({
|
|
|
29762
29473
|
value: "no"
|
|
29763
29474
|
},
|
|
29764
29475
|
{
|
|
29765
|
-
label: /* @__PURE__ */
|
|
29476
|
+
label: /* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedText, {
|
|
29766
29477
|
children: [
|
|
29767
29478
|
"Never for ",
|
|
29768
|
-
/* @__PURE__ */
|
|
29479
|
+
/* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedText, {
|
|
29769
29480
|
bold: true,
|
|
29770
29481
|
children: pluginName
|
|
29771
29482
|
}, undefined, false, undefined, this)
|
|
@@ -29778,27 +29489,27 @@ function LspRecommendationMenu({
|
|
|
29778
29489
|
value: "disable"
|
|
29779
29490
|
}
|
|
29780
29491
|
];
|
|
29781
|
-
return /* @__PURE__ */
|
|
29492
|
+
return /* @__PURE__ */ jsx_dev_runtime83.jsxDEV(PermissionDialog, {
|
|
29782
29493
|
title: "LSP Plugin Recommendation",
|
|
29783
|
-
children: /* @__PURE__ */
|
|
29494
|
+
children: /* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedBox_default, {
|
|
29784
29495
|
flexDirection: "column",
|
|
29785
29496
|
paddingX: 2,
|
|
29786
29497
|
paddingY: 1,
|
|
29787
29498
|
children: [
|
|
29788
|
-
/* @__PURE__ */
|
|
29499
|
+
/* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedBox_default, {
|
|
29789
29500
|
marginBottom: 1,
|
|
29790
|
-
children: /* @__PURE__ */
|
|
29501
|
+
children: /* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedText, {
|
|
29791
29502
|
dimColor: true,
|
|
29792
29503
|
children: "LSP provides code intelligence like go-to-definition and error checking"
|
|
29793
29504
|
}, undefined, false, undefined, this)
|
|
29794
29505
|
}, undefined, false, undefined, this),
|
|
29795
|
-
/* @__PURE__ */
|
|
29506
|
+
/* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedBox_default, {
|
|
29796
29507
|
children: [
|
|
29797
|
-
/* @__PURE__ */
|
|
29508
|
+
/* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedText, {
|
|
29798
29509
|
dimColor: true,
|
|
29799
29510
|
children: "Plugin:"
|
|
29800
29511
|
}, undefined, false, undefined, this),
|
|
29801
|
-
/* @__PURE__ */
|
|
29512
|
+
/* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedText, {
|
|
29802
29513
|
children: [
|
|
29803
29514
|
" ",
|
|
29804
29515
|
pluginName
|
|
@@ -29806,19 +29517,19 @@ function LspRecommendationMenu({
|
|
|
29806
29517
|
}, undefined, true, undefined, this)
|
|
29807
29518
|
]
|
|
29808
29519
|
}, undefined, true, undefined, this),
|
|
29809
|
-
pluginDescription && /* @__PURE__ */
|
|
29810
|
-
children: /* @__PURE__ */
|
|
29520
|
+
pluginDescription && /* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedBox_default, {
|
|
29521
|
+
children: /* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedText, {
|
|
29811
29522
|
dimColor: true,
|
|
29812
29523
|
children: pluginDescription
|
|
29813
29524
|
}, undefined, false, undefined, this)
|
|
29814
29525
|
}, undefined, false, undefined, this),
|
|
29815
|
-
/* @__PURE__ */
|
|
29526
|
+
/* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedBox_default, {
|
|
29816
29527
|
children: [
|
|
29817
|
-
/* @__PURE__ */
|
|
29528
|
+
/* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedText, {
|
|
29818
29529
|
dimColor: true,
|
|
29819
29530
|
children: "Triggered by:"
|
|
29820
29531
|
}, undefined, false, undefined, this),
|
|
29821
|
-
/* @__PURE__ */
|
|
29532
|
+
/* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedText, {
|
|
29822
29533
|
children: [
|
|
29823
29534
|
" ",
|
|
29824
29535
|
fileExtension,
|
|
@@ -29827,14 +29538,14 @@ function LspRecommendationMenu({
|
|
|
29827
29538
|
}, undefined, true, undefined, this)
|
|
29828
29539
|
]
|
|
29829
29540
|
}, undefined, true, undefined, this),
|
|
29830
|
-
/* @__PURE__ */
|
|
29541
|
+
/* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedBox_default, {
|
|
29831
29542
|
marginTop: 1,
|
|
29832
|
-
children: /* @__PURE__ */
|
|
29543
|
+
children: /* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedText, {
|
|
29833
29544
|
children: "Would you like to install this LSP plugin?"
|
|
29834
29545
|
}, undefined, false, undefined, this)
|
|
29835
29546
|
}, undefined, false, undefined, this),
|
|
29836
|
-
/* @__PURE__ */
|
|
29837
|
-
children: /* @__PURE__ */
|
|
29547
|
+
/* @__PURE__ */ jsx_dev_runtime83.jsxDEV(ThemedBox_default, {
|
|
29548
|
+
children: /* @__PURE__ */ jsx_dev_runtime83.jsxDEV(Select, {
|
|
29838
29549
|
options,
|
|
29839
29550
|
onChange: onSelect,
|
|
29840
29551
|
onCancel: () => onResponse("no")
|
|
@@ -29914,7 +29625,7 @@ init_src();
|
|
|
29914
29625
|
init_select();
|
|
29915
29626
|
init_PermissionDialog();
|
|
29916
29627
|
var React40 = __toESM(require_react(), 1);
|
|
29917
|
-
var
|
|
29628
|
+
var jsx_dev_runtime84 = __toESM(require_jsx_dev_runtime(), 1);
|
|
29918
29629
|
var AUTO_DISMISS_MS3 = 30000;
|
|
29919
29630
|
function PluginHintMenu({
|
|
29920
29631
|
pluginName,
|
|
@@ -29943,10 +29654,10 @@ function PluginHintMenu({
|
|
|
29943
29654
|
}
|
|
29944
29655
|
const options = [
|
|
29945
29656
|
{
|
|
29946
|
-
label: /* @__PURE__ */
|
|
29657
|
+
label: /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
29947
29658
|
children: [
|
|
29948
29659
|
"Yes, install ",
|
|
29949
|
-
/* @__PURE__ */
|
|
29660
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
29950
29661
|
bold: true,
|
|
29951
29662
|
children: pluginName
|
|
29952
29663
|
}, undefined, false, undefined, this)
|
|
@@ -29963,20 +29674,20 @@ function PluginHintMenu({
|
|
|
29963
29674
|
value: "disable"
|
|
29964
29675
|
}
|
|
29965
29676
|
];
|
|
29966
|
-
return /* @__PURE__ */
|
|
29677
|
+
return /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(PermissionDialog, {
|
|
29967
29678
|
title: "Plugin Recommendation",
|
|
29968
|
-
children: /* @__PURE__ */
|
|
29679
|
+
children: /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedBox_default, {
|
|
29969
29680
|
flexDirection: "column",
|
|
29970
29681
|
paddingX: 2,
|
|
29971
29682
|
paddingY: 1,
|
|
29972
29683
|
children: [
|
|
29973
|
-
/* @__PURE__ */
|
|
29684
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedBox_default, {
|
|
29974
29685
|
marginBottom: 1,
|
|
29975
|
-
children: /* @__PURE__ */
|
|
29686
|
+
children: /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
29976
29687
|
dimColor: true,
|
|
29977
29688
|
children: [
|
|
29978
29689
|
"The ",
|
|
29979
|
-
/* @__PURE__ */
|
|
29690
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
29980
29691
|
bold: true,
|
|
29981
29692
|
children: sourceCommand
|
|
29982
29693
|
}, undefined, false, undefined, this),
|
|
@@ -29984,13 +29695,13 @@ function PluginHintMenu({
|
|
|
29984
29695
|
]
|
|
29985
29696
|
}, undefined, true, undefined, this)
|
|
29986
29697
|
}, undefined, false, undefined, this),
|
|
29987
|
-
/* @__PURE__ */
|
|
29698
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedBox_default, {
|
|
29988
29699
|
children: [
|
|
29989
|
-
/* @__PURE__ */
|
|
29700
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
29990
29701
|
dimColor: true,
|
|
29991
29702
|
children: "Plugin:"
|
|
29992
29703
|
}, undefined, false, undefined, this),
|
|
29993
|
-
/* @__PURE__ */
|
|
29704
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
29994
29705
|
children: [
|
|
29995
29706
|
" ",
|
|
29996
29707
|
pluginName
|
|
@@ -29998,13 +29709,13 @@ function PluginHintMenu({
|
|
|
29998
29709
|
}, undefined, true, undefined, this)
|
|
29999
29710
|
]
|
|
30000
29711
|
}, undefined, true, undefined, this),
|
|
30001
|
-
/* @__PURE__ */
|
|
29712
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedBox_default, {
|
|
30002
29713
|
children: [
|
|
30003
|
-
/* @__PURE__ */
|
|
29714
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
30004
29715
|
dimColor: true,
|
|
30005
29716
|
children: "Marketplace:"
|
|
30006
29717
|
}, undefined, false, undefined, this),
|
|
30007
|
-
/* @__PURE__ */
|
|
29718
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
30008
29719
|
children: [
|
|
30009
29720
|
" ",
|
|
30010
29721
|
marketplaceName
|
|
@@ -30012,20 +29723,20 @@ function PluginHintMenu({
|
|
|
30012
29723
|
}, undefined, true, undefined, this)
|
|
30013
29724
|
]
|
|
30014
29725
|
}, undefined, true, undefined, this),
|
|
30015
|
-
pluginDescription && /* @__PURE__ */
|
|
30016
|
-
children: /* @__PURE__ */
|
|
29726
|
+
pluginDescription && /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedBox_default, {
|
|
29727
|
+
children: /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
30017
29728
|
dimColor: true,
|
|
30018
29729
|
children: pluginDescription
|
|
30019
29730
|
}, undefined, false, undefined, this)
|
|
30020
29731
|
}, undefined, false, undefined, this),
|
|
30021
|
-
/* @__PURE__ */
|
|
29732
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedBox_default, {
|
|
30022
29733
|
marginTop: 1,
|
|
30023
|
-
children: /* @__PURE__ */
|
|
29734
|
+
children: /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedText, {
|
|
30024
29735
|
children: "Would you like to install it?"
|
|
30025
29736
|
}, undefined, false, undefined, this)
|
|
30026
29737
|
}, undefined, false, undefined, this),
|
|
30027
|
-
/* @__PURE__ */
|
|
30028
|
-
children: /* @__PURE__ */
|
|
29738
|
+
/* @__PURE__ */ jsx_dev_runtime84.jsxDEV(ThemedBox_default, {
|
|
29739
|
+
children: /* @__PURE__ */ jsx_dev_runtime84.jsxDEV(Select, {
|
|
30029
29740
|
options,
|
|
30030
29741
|
onChange: onSelect,
|
|
30031
29742
|
onCancel: () => onResponse("no")
|
|
@@ -30044,7 +29755,7 @@ init_AppState();
|
|
|
30044
29755
|
init_debug();
|
|
30045
29756
|
init_stringUtils();
|
|
30046
29757
|
var import_react108 = __toESM(require_react(), 1);
|
|
30047
|
-
var
|
|
29758
|
+
var jsx_dev_runtime85 = __toESM(require_jsx_dev_runtime(), 1);
|
|
30048
29759
|
function usePluginInstallationStatus() {
|
|
30049
29760
|
const { addNotification } = useNotifications();
|
|
30050
29761
|
const installationStatus = useAppState((s) => s.plugins.installationStatus);
|
|
@@ -30081,9 +29792,9 @@ function usePluginInstallationStatus() {
|
|
|
30081
29792
|
logForDebugging(`Adding notification for ${totalFailed} failed installations`);
|
|
30082
29793
|
addNotification({
|
|
30083
29794
|
key: "plugin-install-failed",
|
|
30084
|
-
jsx: /* @__PURE__ */
|
|
29795
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime85.jsxDEV(jsx_dev_runtime85.Fragment, {
|
|
30085
29796
|
children: [
|
|
30086
|
-
/* @__PURE__ */
|
|
29797
|
+
/* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedText, {
|
|
30087
29798
|
color: "error",
|
|
30088
29799
|
children: [
|
|
30089
29800
|
totalFailed,
|
|
@@ -30092,7 +29803,7 @@ function usePluginInstallationStatus() {
|
|
|
30092
29803
|
" failed to install"
|
|
30093
29804
|
]
|
|
30094
29805
|
}, undefined, true, undefined, this),
|
|
30095
|
-
/* @__PURE__ */
|
|
29806
|
+
/* @__PURE__ */ jsx_dev_runtime85.jsxDEV(ThemedText, {
|
|
30096
29807
|
dimColor: true,
|
|
30097
29808
|
children: " \xB7 /plugin for details"
|
|
30098
29809
|
}, undefined, false, undefined, this)
|
|
@@ -30100,12 +29811,7 @@ function usePluginInstallationStatus() {
|
|
|
30100
29811
|
}, undefined, true, undefined, this),
|
|
30101
29812
|
priority: "medium"
|
|
30102
29813
|
});
|
|
30103
|
-
}, [
|
|
30104
|
-
addNotification,
|
|
30105
|
-
totalFailed,
|
|
30106
|
-
failedMarketplacesCount,
|
|
30107
|
-
failedPluginsCount
|
|
30108
|
-
]);
|
|
29814
|
+
}, [addNotification, totalFailed, failedMarketplacesCount, failedPluginsCount]);
|
|
30109
29815
|
}
|
|
30110
29816
|
|
|
30111
29817
|
// src/hooks/notifs/usePluginAutoupdateNotification.tsx
|
|
@@ -30115,7 +29821,7 @@ init_src();
|
|
|
30115
29821
|
init_debug();
|
|
30116
29822
|
init_pluginAutoupdate();
|
|
30117
29823
|
var import_react109 = __toESM(require_react(), 1);
|
|
30118
|
-
var
|
|
29824
|
+
var jsx_dev_runtime86 = __toESM(require_jsx_dev_runtime(), 1);
|
|
30119
29825
|
function usePluginAutoupdateNotification() {
|
|
30120
29826
|
const { addNotification } = useNotifications();
|
|
30121
29827
|
const [updatedPlugins, setUpdatedPlugins] = import_react109.useState([]);
|
|
@@ -30141,18 +29847,17 @@ function usePluginAutoupdateNotification() {
|
|
|
30141
29847
|
const displayNames = pluginNames.length <= 2 ? pluginNames.join(" and ") : `${pluginNames.length} plugins`;
|
|
30142
29848
|
addNotification({
|
|
30143
29849
|
key: "plugin-autoupdate-restart",
|
|
30144
|
-
jsx: /* @__PURE__ */
|
|
29850
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime86.jsxDEV(jsx_dev_runtime86.Fragment, {
|
|
30145
29851
|
children: [
|
|
30146
|
-
/* @__PURE__ */
|
|
29852
|
+
/* @__PURE__ */ jsx_dev_runtime86.jsxDEV(ThemedText, {
|
|
30147
29853
|
color: "success",
|
|
30148
29854
|
children: [
|
|
30149
29855
|
pluginNames.length === 1 ? "Plugin" : "Plugins",
|
|
30150
|
-
" updated:",
|
|
30151
|
-
" ",
|
|
29856
|
+
" updated: ",
|
|
30152
29857
|
displayNames
|
|
30153
29858
|
]
|
|
30154
29859
|
}, undefined, true, undefined, this),
|
|
30155
|
-
/* @__PURE__ */
|
|
29860
|
+
/* @__PURE__ */ jsx_dev_runtime86.jsxDEV(ThemedText, {
|
|
30156
29861
|
dimColor: true,
|
|
30157
29862
|
children: " \xB7 Run /reload-plugins to apply"
|
|
30158
29863
|
}, undefined, false, undefined, this)
|
|
@@ -30309,7 +30014,7 @@ init_UserTextMessage();
|
|
|
30309
30014
|
init_src();
|
|
30310
30015
|
init_awsAuthStatusManager();
|
|
30311
30016
|
var import_react110 = __toESM(require_react(), 1);
|
|
30312
|
-
var
|
|
30017
|
+
var jsx_dev_runtime87 = __toESM(require_jsx_dev_runtime(), 1);
|
|
30313
30018
|
var URL_RE = /https?:\/\/\S+/;
|
|
30314
30019
|
function AwsAuthStatusBox() {
|
|
30315
30020
|
const [status, setStatus] = import_react110.useState(AwsAuthStatusManager.getInstance().getStatus());
|
|
@@ -30323,25 +30028,25 @@ function AwsAuthStatusBox() {
|
|
|
30323
30028
|
if (!status.isAuthenticating && !status.error) {
|
|
30324
30029
|
return null;
|
|
30325
30030
|
}
|
|
30326
|
-
return /* @__PURE__ */
|
|
30031
|
+
return /* @__PURE__ */ jsx_dev_runtime87.jsxDEV(ThemedBox_default, {
|
|
30327
30032
|
flexDirection: "column",
|
|
30328
30033
|
borderStyle: "round",
|
|
30329
30034
|
borderColor: "permission",
|
|
30330
30035
|
paddingX: 1,
|
|
30331
30036
|
marginY: 1,
|
|
30332
30037
|
children: [
|
|
30333
|
-
/* @__PURE__ */
|
|
30038
|
+
/* @__PURE__ */ jsx_dev_runtime87.jsxDEV(ThemedText, {
|
|
30334
30039
|
bold: true,
|
|
30335
30040
|
color: "permission",
|
|
30336
30041
|
children: "Cloud Authentication"
|
|
30337
30042
|
}, undefined, false, undefined, this),
|
|
30338
|
-
status.output.length > 0 && /* @__PURE__ */
|
|
30043
|
+
status.output.length > 0 && /* @__PURE__ */ jsx_dev_runtime87.jsxDEV(ThemedBox_default, {
|
|
30339
30044
|
flexDirection: "column",
|
|
30340
30045
|
marginTop: 1,
|
|
30341
30046
|
children: status.output.slice(-5).map((line, index) => {
|
|
30342
30047
|
const m = line.match(URL_RE);
|
|
30343
30048
|
if (!m) {
|
|
30344
|
-
return /* @__PURE__ */
|
|
30049
|
+
return /* @__PURE__ */ jsx_dev_runtime87.jsxDEV(ThemedText, {
|
|
30345
30050
|
dimColor: true,
|
|
30346
30051
|
children: line
|
|
30347
30052
|
}, index, false, undefined, this);
|
|
@@ -30350,11 +30055,11 @@ function AwsAuthStatusBox() {
|
|
|
30350
30055
|
const start = m.index ?? 0;
|
|
30351
30056
|
const before = line.slice(0, start);
|
|
30352
30057
|
const after = line.slice(start + url.length);
|
|
30353
|
-
return /* @__PURE__ */
|
|
30058
|
+
return /* @__PURE__ */ jsx_dev_runtime87.jsxDEV(ThemedText, {
|
|
30354
30059
|
dimColor: true,
|
|
30355
30060
|
children: [
|
|
30356
30061
|
before,
|
|
30357
|
-
/* @__PURE__ */
|
|
30062
|
+
/* @__PURE__ */ jsx_dev_runtime87.jsxDEV(Link, {
|
|
30358
30063
|
url,
|
|
30359
30064
|
children: url
|
|
30360
30065
|
}, undefined, false, undefined, this),
|
|
@@ -30363,9 +30068,9 @@ function AwsAuthStatusBox() {
|
|
|
30363
30068
|
}, index, true, undefined, this);
|
|
30364
30069
|
})
|
|
30365
30070
|
}, undefined, false, undefined, this),
|
|
30366
|
-
status.error && /* @__PURE__ */
|
|
30071
|
+
status.error && /* @__PURE__ */ jsx_dev_runtime87.jsxDEV(ThemedBox_default, {
|
|
30367
30072
|
marginTop: 1,
|
|
30368
|
-
children: /* @__PURE__ */
|
|
30073
|
+
children: /* @__PURE__ */ jsx_dev_runtime87.jsxDEV(ThemedText, {
|
|
30369
30074
|
color: "error",
|
|
30370
30075
|
children: status.error
|
|
30371
30076
|
}, undefined, false, undefined, this)
|
|
@@ -30383,7 +30088,7 @@ init_auth();
|
|
|
30383
30088
|
init_billing();
|
|
30384
30089
|
init_state();
|
|
30385
30090
|
var import_react111 = __toESM(require_react(), 1);
|
|
30386
|
-
var
|
|
30091
|
+
var jsx_dev_runtime88 = __toESM(require_jsx_dev_runtime(), 1);
|
|
30387
30092
|
function useRateLimitWarningNotification(model) {
|
|
30388
30093
|
const { addNotification } = useNotifications();
|
|
30389
30094
|
const claudeAiLimits = useClaudeAiLimits();
|
|
@@ -30422,8 +30127,8 @@ function useRateLimitWarningNotification(model) {
|
|
|
30422
30127
|
shownWarningRef.current = rateLimitWarning;
|
|
30423
30128
|
addNotification({
|
|
30424
30129
|
key: "rate-limit-warning",
|
|
30425
|
-
jsx: /* @__PURE__ */
|
|
30426
|
-
children: /* @__PURE__ */
|
|
30130
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime88.jsxDEV(ThemedText, {
|
|
30131
|
+
children: /* @__PURE__ */ jsx_dev_runtime88.jsxDEV(ThemedText, {
|
|
30427
30132
|
color: "warning",
|
|
30428
30133
|
children: rateLimitWarning
|
|
30429
30134
|
}, undefined, false, undefined, this)
|
|
@@ -30490,13 +30195,9 @@ init_config2();
|
|
|
30490
30195
|
init_ide();
|
|
30491
30196
|
init_state();
|
|
30492
30197
|
var import_react113 = __toESM(require_react(), 1);
|
|
30493
|
-
var
|
|
30198
|
+
var jsx_dev_runtime89 = __toESM(require_jsx_dev_runtime(), 1);
|
|
30494
30199
|
var MAX_IDE_HINT_SHOW_COUNT = 5;
|
|
30495
|
-
function useIDEStatusIndicator({
|
|
30496
|
-
ideSelection,
|
|
30497
|
-
mcpClients,
|
|
30498
|
-
ideInstallationStatus
|
|
30499
|
-
}) {
|
|
30200
|
+
function useIDEStatusIndicator({ ideSelection, mcpClients, ideInstallationStatus }) {
|
|
30500
30201
|
const { addNotification, removeNotification } = useNotifications();
|
|
30501
30202
|
const { status: ideStatus, ideName } = useIdeConnectionStatus(mcpClients);
|
|
30502
30203
|
const hasShownHintRef = import_react113.useRef(false);
|
|
@@ -30527,11 +30228,11 @@ function useIDEStatusIndicator({
|
|
|
30527
30228
|
}));
|
|
30528
30229
|
addNotification2({
|
|
30529
30230
|
key: "ide-status-hint",
|
|
30530
|
-
jsx: /* @__PURE__ */
|
|
30231
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime89.jsxDEV(ThemedText, {
|
|
30531
30232
|
dimColor: true,
|
|
30532
30233
|
children: [
|
|
30533
30234
|
"/ide for ",
|
|
30534
|
-
/* @__PURE__ */
|
|
30235
|
+
/* @__PURE__ */ jsx_dev_runtime89.jsxDEV(ThemedText, {
|
|
30535
30236
|
color: "ide",
|
|
30536
30237
|
children: ideName2
|
|
30537
30238
|
}, undefined, false, undefined, this)
|
|
@@ -30557,14 +30258,7 @@ function useIDEStatusIndicator({
|
|
|
30557
30258
|
color: "error",
|
|
30558
30259
|
priority: "medium"
|
|
30559
30260
|
});
|
|
30560
|
-
}, [
|
|
30561
|
-
addNotification,
|
|
30562
|
-
removeNotification,
|
|
30563
|
-
ideStatus,
|
|
30564
|
-
ideName,
|
|
30565
|
-
showIDEInstallError,
|
|
30566
|
-
showJetBrainsInfo
|
|
30567
|
-
]);
|
|
30261
|
+
}, [addNotification, removeNotification, ideStatus, ideName, showIDEInstallError, showJetBrainsInfo]);
|
|
30568
30262
|
import_react113.useEffect(() => {
|
|
30569
30263
|
if (getIsRemoteMode())
|
|
30570
30264
|
return;
|
|
@@ -30644,7 +30338,7 @@ init_auth();
|
|
|
30644
30338
|
init_src();
|
|
30645
30339
|
init_analytics();
|
|
30646
30340
|
init_config2();
|
|
30647
|
-
var
|
|
30341
|
+
var jsx_dev_runtime90 = __toESM(require_jsx_dev_runtime(), 1);
|
|
30648
30342
|
var MAX_SHOW_COUNT = 3;
|
|
30649
30343
|
function useCanSwitchToExistingSubscription() {
|
|
30650
30344
|
useStartupNotification(async () => {
|
|
@@ -30661,13 +30355,13 @@ function useCanSwitchToExistingSubscription() {
|
|
|
30661
30355
|
logEvent("tengu_switch_to_subscription_notice_shown", {});
|
|
30662
30356
|
return {
|
|
30663
30357
|
key: "switch-to-subscription",
|
|
30664
|
-
jsx: /* @__PURE__ */
|
|
30358
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedText, {
|
|
30665
30359
|
color: "suggestion",
|
|
30666
30360
|
children: [
|
|
30667
30361
|
"Use your existing Claude ",
|
|
30668
30362
|
subscriptionType,
|
|
30669
30363
|
" plan with RedScope AI",
|
|
30670
|
-
/* @__PURE__ */
|
|
30364
|
+
/* @__PURE__ */ jsx_dev_runtime90.jsxDEV(ThemedText, {
|
|
30671
30365
|
color: "text",
|
|
30672
30366
|
dimColor: true,
|
|
30673
30367
|
children: [
|
|
@@ -30862,12 +30556,8 @@ init_src();
|
|
|
30862
30556
|
init_src();
|
|
30863
30557
|
init_useKeybinding();
|
|
30864
30558
|
var import_react116 = __toESM(require_react(), 1);
|
|
30865
|
-
var
|
|
30866
|
-
function AutoRunIssueNotification({
|
|
30867
|
-
onRun,
|
|
30868
|
-
onCancel,
|
|
30869
|
-
reason
|
|
30870
|
-
}) {
|
|
30559
|
+
var jsx_dev_runtime91 = __toESM(require_jsx_dev_runtime(), 1);
|
|
30560
|
+
function AutoRunIssueNotification({ onRun, onCancel, reason }) {
|
|
30871
30561
|
const hasRunRef = import_react116.useRef(false);
|
|
30872
30562
|
useKeybinding("confirm:no", onCancel, { context: "Confirmation" });
|
|
30873
30563
|
import_react116.useEffect(() => {
|
|
@@ -30876,22 +30566,22 @@ function AutoRunIssueNotification({
|
|
|
30876
30566
|
onRun();
|
|
30877
30567
|
}
|
|
30878
30568
|
}, [onRun]);
|
|
30879
|
-
return /* @__PURE__ */
|
|
30569
|
+
return /* @__PURE__ */ jsx_dev_runtime91.jsxDEV(ThemedBox_default, {
|
|
30880
30570
|
flexDirection: "column",
|
|
30881
30571
|
marginTop: 1,
|
|
30882
30572
|
children: [
|
|
30883
|
-
/* @__PURE__ */
|
|
30884
|
-
children: /* @__PURE__ */
|
|
30573
|
+
/* @__PURE__ */ jsx_dev_runtime91.jsxDEV(ThemedBox_default, {
|
|
30574
|
+
children: /* @__PURE__ */ jsx_dev_runtime91.jsxDEV(ThemedText, {
|
|
30885
30575
|
bold: true,
|
|
30886
30576
|
children: "Running feedback capture..."
|
|
30887
30577
|
}, undefined, false, undefined, this)
|
|
30888
30578
|
}, undefined, false, undefined, this),
|
|
30889
|
-
/* @__PURE__ */
|
|
30890
|
-
children: /* @__PURE__ */
|
|
30579
|
+
/* @__PURE__ */ jsx_dev_runtime91.jsxDEV(ThemedBox_default, {
|
|
30580
|
+
children: /* @__PURE__ */ jsx_dev_runtime91.jsxDEV(ThemedText, {
|
|
30891
30581
|
dimColor: true,
|
|
30892
30582
|
children: [
|
|
30893
30583
|
"Press ",
|
|
30894
|
-
/* @__PURE__ */
|
|
30584
|
+
/* @__PURE__ */ jsx_dev_runtime91.jsxDEV(KeyboardShortcutHint, {
|
|
30895
30585
|
shortcut: "Esc",
|
|
30896
30586
|
action: "cancel"
|
|
30897
30587
|
}, undefined, false, undefined, this),
|
|
@@ -30899,8 +30589,8 @@ function AutoRunIssueNotification({
|
|
|
30899
30589
|
]
|
|
30900
30590
|
}, undefined, true, undefined, this)
|
|
30901
30591
|
}, undefined, false, undefined, this),
|
|
30902
|
-
/* @__PURE__ */
|
|
30903
|
-
children: /* @__PURE__ */
|
|
30592
|
+
/* @__PURE__ */ jsx_dev_runtime91.jsxDEV(ThemedBox_default, {
|
|
30593
|
+
children: /* @__PURE__ */ jsx_dev_runtime91.jsxDEV(ThemedText, {
|
|
30904
30594
|
dimColor: true,
|
|
30905
30595
|
children: [
|
|
30906
30596
|
"Reason: ",
|
|
@@ -30947,35 +30637,35 @@ var TungstenLiveMonitor = () => null;
|
|
|
30947
30637
|
// src/components/PromptInput/IssueFlagBanner.tsx
|
|
30948
30638
|
init_figures2();
|
|
30949
30639
|
init_src();
|
|
30950
|
-
var
|
|
30640
|
+
var jsx_dev_runtime92 = __toESM(require_jsx_dev_runtime(), 1);
|
|
30951
30641
|
function IssueFlagBanner() {
|
|
30952
30642
|
if (process.env.USER_TYPE !== "ant") {
|
|
30953
30643
|
return null;
|
|
30954
30644
|
}
|
|
30955
|
-
return /* @__PURE__ */
|
|
30645
|
+
return /* @__PURE__ */ jsx_dev_runtime92.jsxDEV(ThemedBox_default, {
|
|
30956
30646
|
flexDirection: "row",
|
|
30957
30647
|
marginTop: 1,
|
|
30958
30648
|
width: "100%",
|
|
30959
30649
|
children: [
|
|
30960
|
-
/* @__PURE__ */
|
|
30650
|
+
/* @__PURE__ */ jsx_dev_runtime92.jsxDEV(ThemedBox_default, {
|
|
30961
30651
|
minWidth: 2,
|
|
30962
|
-
children: /* @__PURE__ */
|
|
30652
|
+
children: /* @__PURE__ */ jsx_dev_runtime92.jsxDEV(ThemedText, {
|
|
30963
30653
|
color: "warning",
|
|
30964
30654
|
children: FLAG_ICON
|
|
30965
30655
|
}, undefined, false, undefined, this)
|
|
30966
30656
|
}, undefined, false, undefined, this),
|
|
30967
|
-
/* @__PURE__ */
|
|
30657
|
+
/* @__PURE__ */ jsx_dev_runtime92.jsxDEV(ThemedText, {
|
|
30968
30658
|
children: [
|
|
30969
|
-
/* @__PURE__ */
|
|
30659
|
+
/* @__PURE__ */ jsx_dev_runtime92.jsxDEV(ThemedText, {
|
|
30970
30660
|
dimColor: true,
|
|
30971
30661
|
children: "[ANT-ONLY] "
|
|
30972
30662
|
}, undefined, false, undefined, this),
|
|
30973
|
-
/* @__PURE__ */
|
|
30663
|
+
/* @__PURE__ */ jsx_dev_runtime92.jsxDEV(ThemedText, {
|
|
30974
30664
|
color: "warning",
|
|
30975
30665
|
bold: true,
|
|
30976
30666
|
children: "Something off with RedScope AI?"
|
|
30977
30667
|
}, undefined, false, undefined, this),
|
|
30978
|
-
/* @__PURE__ */
|
|
30668
|
+
/* @__PURE__ */ jsx_dev_runtime92.jsxDEV(ThemedText, {
|
|
30979
30669
|
dimColor: true,
|
|
30980
30670
|
children: " /issue to report it"
|
|
30981
30671
|
}, undefined, false, undefined, this)
|
|
@@ -31092,7 +30782,7 @@ function useIssueFlagBanner(messages, submitCount) {
|
|
|
31092
30782
|
init_state();
|
|
31093
30783
|
init_src();
|
|
31094
30784
|
var import_react118 = __toESM(require_react(), 1);
|
|
31095
|
-
var
|
|
30785
|
+
var jsx_dev_runtime93 = __toESM(require_jsx_dev_runtime(), 1);
|
|
31096
30786
|
function shouldShowDevBar() {
|
|
31097
30787
|
return true;
|
|
31098
30788
|
}
|
|
@@ -31105,7 +30795,7 @@ function DevBar() {
|
|
|
31105
30795
|
return null;
|
|
31106
30796
|
}
|
|
31107
30797
|
const recentOps = slowOps.slice(-3).map((op) => `${op.operation} (${Math.round(op.durationMs)}ms)`).join(" \xB7 ");
|
|
31108
|
-
return /* @__PURE__ */
|
|
30798
|
+
return /* @__PURE__ */ jsx_dev_runtime93.jsxDEV(ThemedText, {
|
|
31109
30799
|
wrap: "truncate-end",
|
|
31110
30800
|
color: "warning",
|
|
31111
30801
|
children: [
|
|
@@ -31133,7 +30823,7 @@ init_path();
|
|
|
31133
30823
|
init_sessionStorage();
|
|
31134
30824
|
init_overlayContext();
|
|
31135
30825
|
var React43 = __toESM(require_react(), 1);
|
|
31136
|
-
var
|
|
30826
|
+
var jsx_dev_runtime94 = __toESM(require_jsx_dev_runtime(), 1);
|
|
31137
30827
|
import { join as join4 } from "path";
|
|
31138
30828
|
import { stat as stat2, writeFile } from "fs/promises";
|
|
31139
30829
|
var MAX_VISIBLE_LINES = 24;
|
|
@@ -31253,23 +30943,23 @@ Implement this plan.`,
|
|
|
31253
30943
|
description: "Don't implement \u2014 save plan and return"
|
|
31254
30944
|
}
|
|
31255
30945
|
], []);
|
|
31256
|
-
return /* @__PURE__ */
|
|
30946
|
+
return /* @__PURE__ */ jsx_dev_runtime94.jsxDEV(Dialog, {
|
|
31257
30947
|
title: "Ultraplan approved",
|
|
31258
30948
|
subtitle: "How should the plan be implemented?",
|
|
31259
30949
|
onCancel: () => {},
|
|
31260
30950
|
hideInputGuide: true,
|
|
31261
|
-
children: /* @__PURE__ */
|
|
30951
|
+
children: /* @__PURE__ */ jsx_dev_runtime94.jsxDEV(ThemedBox_default, {
|
|
31262
30952
|
flexDirection: "column",
|
|
31263
30953
|
marginBottom: 1,
|
|
31264
30954
|
children: [
|
|
31265
|
-
/* @__PURE__ */
|
|
30955
|
+
/* @__PURE__ */ jsx_dev_runtime94.jsxDEV(ThemedBox_default, {
|
|
31266
30956
|
flexDirection: "column",
|
|
31267
30957
|
marginBottom: 1,
|
|
31268
30958
|
children: [
|
|
31269
|
-
/* @__PURE__ */
|
|
30959
|
+
/* @__PURE__ */ jsx_dev_runtime94.jsxDEV(ThemedText, {
|
|
31270
30960
|
children: visibleText
|
|
31271
30961
|
}, undefined, false, undefined, this),
|
|
31272
|
-
isScrollable && /* @__PURE__ */
|
|
30962
|
+
isScrollable && /* @__PURE__ */ jsx_dev_runtime94.jsxDEV(ThemedText, {
|
|
31273
30963
|
dimColor: true,
|
|
31274
30964
|
children: [
|
|
31275
30965
|
canScrollUp ? figures_default.arrowUp : " ",
|
|
@@ -31285,7 +30975,7 @@ Implement this plan.`,
|
|
|
31285
30975
|
}, undefined, true, undefined, this)
|
|
31286
30976
|
]
|
|
31287
30977
|
}, undefined, true, undefined, this),
|
|
31288
|
-
/* @__PURE__ */
|
|
30978
|
+
/* @__PURE__ */ jsx_dev_runtime94.jsxDEV(Select, {
|
|
31289
30979
|
options,
|
|
31290
30980
|
onChange: (value) => void handleChoice(value)
|
|
31291
30981
|
}, undefined, false, undefined, this)
|
|
@@ -31303,7 +30993,7 @@ init_config2();
|
|
|
31303
30993
|
init_ultraplan();
|
|
31304
30994
|
init_prompt5();
|
|
31305
30995
|
var React44 = __toESM(require_react(), 1);
|
|
31306
|
-
var
|
|
30996
|
+
var jsx_dev_runtime95 = __toESM(require_jsx_dev_runtime(), 1);
|
|
31307
30997
|
function dispatchShowTermsLink() {
|
|
31308
30998
|
return !getGlobalConfig().hasSeenUltraplanTerms;
|
|
31309
30999
|
}
|
|
@@ -31350,26 +31040,26 @@ function UltraplanLaunchDialog({ onChoice }) {
|
|
|
31350
31040
|
},
|
|
31351
31041
|
{ label: "Not now", value: "cancel" }
|
|
31352
31042
|
];
|
|
31353
|
-
return /* @__PURE__ */
|
|
31043
|
+
return /* @__PURE__ */ jsx_dev_runtime95.jsxDEV(Dialog, {
|
|
31354
31044
|
title: "Run ultraplan in the cloud?",
|
|
31355
31045
|
subtitle: dialogConfig.timeEstimate,
|
|
31356
31046
|
onCancel: handleCancel,
|
|
31357
|
-
children: /* @__PURE__ */
|
|
31047
|
+
children: /* @__PURE__ */ jsx_dev_runtime95.jsxDEV(ThemedBox_default, {
|
|
31358
31048
|
flexDirection: "column",
|
|
31359
31049
|
gap: 1,
|
|
31360
31050
|
children: [
|
|
31361
|
-
/* @__PURE__ */
|
|
31051
|
+
/* @__PURE__ */ jsx_dev_runtime95.jsxDEV(ThemedBox_default, {
|
|
31362
31052
|
flexDirection: "column",
|
|
31363
31053
|
children: [
|
|
31364
|
-
/* @__PURE__ */
|
|
31054
|
+
/* @__PURE__ */ jsx_dev_runtime95.jsxDEV(ThemedText, {
|
|
31365
31055
|
dimColor: true,
|
|
31366
31056
|
children: dialogConfig.dialogBody
|
|
31367
31057
|
}, undefined, false, undefined, this),
|
|
31368
|
-
showTermsLink ? /* @__PURE__ */
|
|
31058
|
+
showTermsLink ? /* @__PURE__ */ jsx_dev_runtime95.jsxDEV(ThemedText, {
|
|
31369
31059
|
dimColor: true,
|
|
31370
31060
|
children: [
|
|
31371
31061
|
"For more information on RedScope AI on the web:",
|
|
31372
|
-
/* @__PURE__ */
|
|
31062
|
+
/* @__PURE__ */ jsx_dev_runtime95.jsxDEV(Link, {
|
|
31373
31063
|
url: CCR_TERMS_URL,
|
|
31374
31064
|
children: CCR_TERMS_URL
|
|
31375
31065
|
}, undefined, false, undefined, this)
|
|
@@ -31377,11 +31067,11 @@ function UltraplanLaunchDialog({ onChoice }) {
|
|
|
31377
31067
|
}, undefined, true, undefined, this) : null
|
|
31378
31068
|
]
|
|
31379
31069
|
}, undefined, true, undefined, this),
|
|
31380
|
-
/* @__PURE__ */
|
|
31070
|
+
/* @__PURE__ */ jsx_dev_runtime95.jsxDEV(ThemedText, {
|
|
31381
31071
|
dimColor: true,
|
|
31382
31072
|
children: isBridgeEnabled2 ? "This will disable Remote Control for this session." : dialogConfig.dialogPipeline
|
|
31383
31073
|
}, undefined, false, undefined, this),
|
|
31384
|
-
/* @__PURE__ */
|
|
31074
|
+
/* @__PURE__ */ jsx_dev_runtime95.jsxDEV(Select, {
|
|
31385
31075
|
options,
|
|
31386
31076
|
onChange: handleChoice
|
|
31387
31077
|
}, undefined, false, undefined, this)
|
|
@@ -31592,12 +31282,7 @@ function initAndLogWheelAccel() {
|
|
|
31592
31282
|
var AUTOSCROLL_LINES = 2;
|
|
31593
31283
|
var AUTOSCROLL_INTERVAL_MS = 50;
|
|
31594
31284
|
var AUTOSCROLL_MAX_TICKS = 200;
|
|
31595
|
-
function ScrollKeybindingHandler({
|
|
31596
|
-
scrollRef,
|
|
31597
|
-
isActive,
|
|
31598
|
-
onScroll,
|
|
31599
|
-
isModal = false
|
|
31600
|
-
}) {
|
|
31285
|
+
function ScrollKeybindingHandler({ scrollRef, isActive, onScroll, isModal = false }) {
|
|
31601
31286
|
const selection = useSelection();
|
|
31602
31287
|
const { addNotification } = useNotifications();
|
|
31603
31288
|
const wheelAccel = import_react120.useRef(null);
|
|
@@ -32024,7 +31709,7 @@ function applyModalPagerAction(s, act, onBeforeJump) {
|
|
|
32024
31709
|
init_messageActions();
|
|
32025
31710
|
init_src();
|
|
32026
31711
|
init_attachments();
|
|
32027
|
-
var
|
|
31712
|
+
var jsx_dev_runtime96 = __toESM(require_jsx_dev_runtime(), 1);
|
|
32028
31713
|
var useVoiceIntegration2 = (init_useVoiceIntegration(), __toCommonJS(exports_useVoiceIntegration)).useVoiceIntegration;
|
|
32029
31714
|
var VoiceKeybindingHandler2 = (init_useVoiceIntegration(), __toCommonJS(exports_useVoiceIntegration)).VoiceKeybindingHandler;
|
|
32030
31715
|
var useFrustrationDetection2 = process.env.USER_TYPE === "ant" ? (init_useFrustrationDetection(), __toCommonJS(exports_useFrustrationDetection)).useFrustrationDetection : () => ({ state: "closed", handleTranscriptSelect: () => {} });
|
|
@@ -32073,7 +31758,7 @@ function TranscriptModeFooter({
|
|
|
32073
31758
|
}) {
|
|
32074
31759
|
const toggleShortcut = useShortcutDisplay("app:toggleTranscript", "Global", "ctrl+o");
|
|
32075
31760
|
const showAllShortcut = useShortcutDisplay("transcript:toggleShowAll", "Transcript", "ctrl+e");
|
|
32076
|
-
return /* @__PURE__ */
|
|
31761
|
+
return /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedBox_default, {
|
|
32077
31762
|
noSelect: true,
|
|
32078
31763
|
alignItems: "center",
|
|
32079
31764
|
alignSelf: "center",
|
|
@@ -32086,7 +31771,7 @@ function TranscriptModeFooter({
|
|
|
32086
31771
|
paddingLeft: 2,
|
|
32087
31772
|
width: "100%",
|
|
32088
31773
|
children: [
|
|
32089
|
-
/* @__PURE__ */
|
|
31774
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
32090
31775
|
dimColor: true,
|
|
32091
31776
|
children: [
|
|
32092
31777
|
"Showing detailed transcript \xB7 ",
|
|
@@ -32095,24 +31780,24 @@ function TranscriptModeFooter({
|
|
|
32095
31780
|
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"}`
|
|
32096
31781
|
]
|
|
32097
31782
|
}, undefined, true, undefined, this),
|
|
32098
|
-
status ? /* @__PURE__ */
|
|
31783
|
+
status ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(jsx_dev_runtime96.Fragment, {
|
|
32099
31784
|
children: [
|
|
32100
|
-
/* @__PURE__ */
|
|
31785
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedBox_default, {
|
|
32101
31786
|
flexGrow: 1
|
|
32102
31787
|
}, undefined, false, undefined, this),
|
|
32103
|
-
/* @__PURE__ */
|
|
31788
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
32104
31789
|
children: [
|
|
32105
31790
|
status,
|
|
32106
31791
|
" "
|
|
32107
31792
|
]
|
|
32108
31793
|
}, undefined, true, undefined, this)
|
|
32109
31794
|
]
|
|
32110
|
-
}, undefined, true, undefined, this) : searchBadge ? /* @__PURE__ */
|
|
31795
|
+
}, undefined, true, undefined, this) : searchBadge ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(jsx_dev_runtime96.Fragment, {
|
|
32111
31796
|
children: [
|
|
32112
|
-
/* @__PURE__ */
|
|
31797
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedBox_default, {
|
|
32113
31798
|
flexGrow: 1
|
|
32114
31799
|
}, undefined, false, undefined, this),
|
|
32115
|
-
/* @__PURE__ */
|
|
31800
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
32116
31801
|
dimColor: true,
|
|
32117
31802
|
children: [
|
|
32118
31803
|
searchBadge.current,
|
|
@@ -32176,7 +31861,7 @@ function TranscriptSearchBar({
|
|
|
32176
31861
|
}, [jumpRef, query2, setHighlight, warmDone]);
|
|
32177
31862
|
const off = cursorOffset;
|
|
32178
31863
|
const cursorChar = off < query2.length ? query2[off] : " ";
|
|
32179
|
-
return /* @__PURE__ */
|
|
31864
|
+
return /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedBox_default, {
|
|
32180
31865
|
borderTopDimColor: true,
|
|
32181
31866
|
borderBottom: false,
|
|
32182
31867
|
borderLeft: false,
|
|
@@ -32187,36 +31872,36 @@ function TranscriptSearchBar({
|
|
|
32187
31872
|
width: "100%",
|
|
32188
31873
|
noSelect: true,
|
|
32189
31874
|
children: [
|
|
32190
|
-
/* @__PURE__ */
|
|
31875
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
32191
31876
|
children: "/"
|
|
32192
31877
|
}, undefined, false, undefined, this),
|
|
32193
|
-
/* @__PURE__ */
|
|
31878
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
32194
31879
|
children: query2.slice(0, off)
|
|
32195
31880
|
}, undefined, false, undefined, this),
|
|
32196
|
-
/* @__PURE__ */
|
|
31881
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
32197
31882
|
inverse: true,
|
|
32198
31883
|
children: cursorChar
|
|
32199
31884
|
}, undefined, false, undefined, this),
|
|
32200
|
-
off < query2.length && /* @__PURE__ */
|
|
31885
|
+
off < query2.length && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
32201
31886
|
children: query2.slice(off + 1)
|
|
32202
31887
|
}, undefined, false, undefined, this),
|
|
32203
|
-
/* @__PURE__ */
|
|
31888
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedBox_default, {
|
|
32204
31889
|
flexGrow: 1
|
|
32205
31890
|
}, undefined, false, undefined, this),
|
|
32206
|
-
indexStatus === "building" ? /* @__PURE__ */
|
|
31891
|
+
indexStatus === "building" ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
32207
31892
|
dimColor: true,
|
|
32208
31893
|
children: "indexing\u2026 "
|
|
32209
|
-
}, undefined, false, undefined, this) : indexStatus ? /* @__PURE__ */
|
|
31894
|
+
}, undefined, false, undefined, this) : indexStatus ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
32210
31895
|
dimColor: true,
|
|
32211
31896
|
children: [
|
|
32212
31897
|
"indexed in ",
|
|
32213
31898
|
indexStatus.ms,
|
|
32214
31899
|
"ms "
|
|
32215
31900
|
]
|
|
32216
|
-
}, undefined, true, undefined, this) : count2 === 0 && query2 ? /* @__PURE__ */
|
|
31901
|
+
}, undefined, true, undefined, this) : count2 === 0 && query2 ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
32217
31902
|
color: "error",
|
|
32218
31903
|
children: "no matches "
|
|
32219
|
-
}, undefined, false, undefined, this) : count2 > 0 ? /* @__PURE__ */
|
|
31904
|
+
}, undefined, false, undefined, this) : count2 > 0 ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
32220
31905
|
dimColor: true,
|
|
32221
31906
|
children: [
|
|
32222
31907
|
current,
|
|
@@ -32507,9 +32192,9 @@ function REPL({
|
|
|
32507
32192
|
import_react126.useEffect(() => {
|
|
32508
32193
|
if (process.env.USER_TYPE === "ant") {
|
|
32509
32194
|
(async () => {
|
|
32510
|
-
const { isInternalModelRepo } = await import("./chunk-
|
|
32195
|
+
const { isInternalModelRepo } = await import("./chunk-0yxm7z9z.js");
|
|
32511
32196
|
await isInternalModelRepo();
|
|
32512
|
-
const { shouldShowUndercoverAutoNotice } = await import("./chunk-
|
|
32197
|
+
const { shouldShowUndercoverAutoNotice } = await import("./chunk-cdt0ke60.js");
|
|
32513
32198
|
if (shouldShowUndercoverAutoNotice()) {
|
|
32514
32199
|
setShowUndercoverCallout(true);
|
|
32515
32200
|
}
|
|
@@ -32954,7 +32639,7 @@ function REPL({
|
|
|
32954
32639
|
saveCurrentSessionCosts();
|
|
32955
32640
|
resetCostState();
|
|
32956
32641
|
switchSession(asSessionId(sessionId), log.fullPath ? dirname(log.fullPath) : null);
|
|
32957
|
-
const { renameRecordingForSession } = await import("./chunk-
|
|
32642
|
+
const { renameRecordingForSession } = await import("./chunk-dby9tdb2.js");
|
|
32958
32643
|
await renameRecordingForSession();
|
|
32959
32644
|
await resetSessionFilePointer();
|
|
32960
32645
|
clearSessionMetadata();
|
|
@@ -33261,13 +32946,13 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
33261
32946
|
logForDebugging(`sandbox disabled: ${reason}`, { level: "warn" });
|
|
33262
32947
|
addNotification({
|
|
33263
32948
|
key: "sandbox-unavailable",
|
|
33264
|
-
jsx: /* @__PURE__ */
|
|
32949
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(jsx_dev_runtime96.Fragment, {
|
|
33265
32950
|
children: [
|
|
33266
|
-
/* @__PURE__ */
|
|
32951
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
33267
32952
|
color: "warning",
|
|
33268
32953
|
children: "sandbox disabled"
|
|
33269
32954
|
}, undefined, false, undefined, this),
|
|
33270
|
-
/* @__PURE__ */
|
|
32955
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
33271
32956
|
dimColor: true,
|
|
33272
32957
|
children: " \xB7 /sandbox"
|
|
33273
32958
|
}, undefined, false, undefined, this)
|
|
@@ -33842,7 +33527,7 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
33842
33527
|
async function processInitialMessage(initialMsg) {
|
|
33843
33528
|
if (initialMsg.clearContext) {
|
|
33844
33529
|
const oldPlanSlug = initialMsg.message.planContent ? getPlanSlug() : undefined;
|
|
33845
|
-
const { clearConversation: clearConversation2 } = await import("./chunk-
|
|
33530
|
+
const { clearConversation: clearConversation2 } = await import("./chunk-mk3eatzp.js");
|
|
33846
33531
|
await clearConversation2({
|
|
33847
33532
|
setMessages,
|
|
33848
33533
|
readFileState: readFileState.current,
|
|
@@ -34208,7 +33893,7 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
34208
33893
|
logForDebugging(`resumeAgentBackground failed: ${errorMessage(err)}`);
|
|
34209
33894
|
addNotification({
|
|
34210
33895
|
key: `resume-agent-failed-${task.id}`,
|
|
34211
|
-
jsx: /* @__PURE__ */
|
|
33896
|
+
jsx: /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
34212
33897
|
color: "error",
|
|
34213
33898
|
children: [
|
|
34214
33899
|
"Failed to resume agent: ",
|
|
@@ -34268,7 +33953,7 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
34268
33953
|
}
|
|
34269
33954
|
const showWorktree = getCurrentWorktreeSession() !== null;
|
|
34270
33955
|
if (showWorktree) {
|
|
34271
|
-
setExitFlow(/* @__PURE__ */
|
|
33956
|
+
setExitFlow(/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ExitFlow, {
|
|
34272
33957
|
showWorktree: true,
|
|
34273
33958
|
onDone: () => {},
|
|
34274
33959
|
onCancel: () => {
|
|
@@ -34527,21 +34212,21 @@ ${fileList}`);
|
|
|
34527
34212
|
const idleMinutes = (Date.now() - lqct) / 60000;
|
|
34528
34213
|
addNotif({
|
|
34529
34214
|
key: "idle-return-hint",
|
|
34530
|
-
jsx: mode === "hint_v2" ? /* @__PURE__ */
|
|
34215
|
+
jsx: mode === "hint_v2" ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(jsx_dev_runtime96.Fragment, {
|
|
34531
34216
|
children: [
|
|
34532
|
-
/* @__PURE__ */
|
|
34217
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
34533
34218
|
dimColor: true,
|
|
34534
34219
|
children: "new task? "
|
|
34535
34220
|
}, undefined, false, undefined, this),
|
|
34536
|
-
/* @__PURE__ */
|
|
34221
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
34537
34222
|
color: "suggestion",
|
|
34538
34223
|
children: "/clear"
|
|
34539
34224
|
}, undefined, false, undefined, this),
|
|
34540
|
-
/* @__PURE__ */
|
|
34225
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
34541
34226
|
dimColor: true,
|
|
34542
34227
|
children: " to save "
|
|
34543
34228
|
}, undefined, false, undefined, this),
|
|
34544
|
-
/* @__PURE__ */
|
|
34229
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
34545
34230
|
color: "suggestion",
|
|
34546
34231
|
children: [
|
|
34547
34232
|
formattedTokens,
|
|
@@ -34549,7 +34234,7 @@ ${fileList}`);
|
|
|
34549
34234
|
]
|
|
34550
34235
|
}, undefined, true, undefined, this)
|
|
34551
34236
|
]
|
|
34552
|
-
}, undefined, true, undefined, this) : /* @__PURE__ */
|
|
34237
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedText, {
|
|
34553
34238
|
color: "warning",
|
|
34554
34239
|
children: [
|
|
34555
34240
|
"new task? /clear to save ",
|
|
@@ -34899,7 +34584,7 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
34899
34584
|
useTeammateViewAutoExit();
|
|
34900
34585
|
if (screen === "transcript") {
|
|
34901
34586
|
const transcriptScrollRef = isFullscreenEnvEnabled() && !disableVirtualScroll && !dumpMode ? scrollRef : undefined;
|
|
34902
|
-
const transcriptMessagesElement = /* @__PURE__ */
|
|
34587
|
+
const transcriptMessagesElement = /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(Messages, {
|
|
34903
34588
|
messages: transcriptMessages,
|
|
34904
34589
|
tools,
|
|
34905
34590
|
commands,
|
|
@@ -34924,51 +34609,51 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
34924
34609
|
setPositions,
|
|
34925
34610
|
disableRenderCap: dumpMode
|
|
34926
34611
|
}, undefined, false, undefined, this);
|
|
34927
|
-
const transcriptToolJSX = toolJSX && /* @__PURE__ */
|
|
34612
|
+
const transcriptToolJSX = toolJSX && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedBox_default, {
|
|
34928
34613
|
flexDirection: "column",
|
|
34929
34614
|
width: "100%",
|
|
34930
34615
|
children: toolJSX.jsx
|
|
34931
34616
|
}, undefined, false, undefined, this);
|
|
34932
|
-
const transcriptReturn = /* @__PURE__ */
|
|
34617
|
+
const transcriptReturn = /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(KeybindingSetup, {
|
|
34933
34618
|
children: [
|
|
34934
|
-
/* @__PURE__ */
|
|
34619
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(AnimatedTerminalTitle, {
|
|
34935
34620
|
isAnimating: titleIsAnimating,
|
|
34936
34621
|
title: terminalTitle,
|
|
34937
34622
|
disabled: titleDisabled,
|
|
34938
34623
|
noPrefix: showStatusInTerminalTab
|
|
34939
34624
|
}, undefined, false, undefined, this),
|
|
34940
|
-
/* @__PURE__ */
|
|
34625
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(GlobalKeybindingHandlers, {
|
|
34941
34626
|
...globalKeybindingProps
|
|
34942
34627
|
}, undefined, false, undefined, this),
|
|
34943
|
-
/* @__PURE__ */
|
|
34628
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(VoiceKeybindingHandler2, {
|
|
34944
34629
|
voiceHandleKeyEvent: voice.handleKeyEvent,
|
|
34945
34630
|
stripTrailing: voice.stripTrailing,
|
|
34946
34631
|
resetAnchor: voice.resetAnchor,
|
|
34947
34632
|
isActive: !toolJSX?.isLocalJSXCommand
|
|
34948
34633
|
}, undefined, false, undefined, this),
|
|
34949
|
-
/* @__PURE__ */
|
|
34634
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(CommandKeybindingHandlers, {
|
|
34950
34635
|
onSubmit,
|
|
34951
34636
|
isActive: !toolJSX?.isLocalJSXCommand
|
|
34952
34637
|
}, undefined, false, undefined, this),
|
|
34953
|
-
transcriptScrollRef ? /* @__PURE__ */
|
|
34638
|
+
transcriptScrollRef ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ScrollKeybindingHandler, {
|
|
34954
34639
|
scrollRef,
|
|
34955
34640
|
isActive: focusedInputDialog !== "ultraplan-choice",
|
|
34956
34641
|
isModal: !searchOpen,
|
|
34957
34642
|
onScroll: () => jumpRef.current?.disarmSearch()
|
|
34958
34643
|
}, undefined, false, undefined, this) : null,
|
|
34959
|
-
/* @__PURE__ */
|
|
34644
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(CancelRequestHandler, {
|
|
34960
34645
|
...cancelRequestProps
|
|
34961
34646
|
}, undefined, false, undefined, this),
|
|
34962
|
-
transcriptScrollRef ? /* @__PURE__ */
|
|
34647
|
+
transcriptScrollRef ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(FullscreenLayout, {
|
|
34963
34648
|
scrollRef,
|
|
34964
|
-
scrollable: /* @__PURE__ */
|
|
34649
|
+
scrollable: /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(jsx_dev_runtime96.Fragment, {
|
|
34965
34650
|
children: [
|
|
34966
34651
|
transcriptMessagesElement,
|
|
34967
34652
|
transcriptToolJSX,
|
|
34968
|
-
/* @__PURE__ */
|
|
34653
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(SandboxViolationExpandedView, {}, undefined, false, undefined, this)
|
|
34969
34654
|
]
|
|
34970
34655
|
}, undefined, true, undefined, this),
|
|
34971
|
-
bottom: searchOpen ? /* @__PURE__ */
|
|
34656
|
+
bottom: searchOpen ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(TranscriptSearchBar, {
|
|
34972
34657
|
jumpRef,
|
|
34973
34658
|
initialQuery: "",
|
|
34974
34659
|
count: searchCount,
|
|
@@ -34989,18 +34674,18 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
34989
34674
|
setHighlight(searchQuery);
|
|
34990
34675
|
},
|
|
34991
34676
|
setHighlight
|
|
34992
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */
|
|
34677
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(TranscriptModeFooter, {
|
|
34993
34678
|
showAllInTranscript,
|
|
34994
34679
|
virtualScroll: true,
|
|
34995
34680
|
status: editorStatus || undefined,
|
|
34996
34681
|
searchBadge: searchQuery && searchCount > 0 ? { current: searchCurrent, count: searchCount } : undefined
|
|
34997
34682
|
}, undefined, false, undefined, this)
|
|
34998
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */
|
|
34683
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(jsx_dev_runtime96.Fragment, {
|
|
34999
34684
|
children: [
|
|
35000
34685
|
transcriptMessagesElement,
|
|
35001
34686
|
transcriptToolJSX,
|
|
35002
|
-
/* @__PURE__ */
|
|
35003
|
-
/* @__PURE__ */
|
|
34687
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(SandboxViolationExpandedView, {}, undefined, false, undefined, this),
|
|
34688
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(TranscriptModeFooter, {
|
|
35004
34689
|
showAllInTranscript,
|
|
35005
34690
|
virtualScroll: false,
|
|
35006
34691
|
suppressShowAll: dumpMode,
|
|
@@ -35011,7 +34696,7 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35011
34696
|
]
|
|
35012
34697
|
}, undefined, true, undefined, this);
|
|
35013
34698
|
if (transcriptScrollRef) {
|
|
35014
|
-
return /* @__PURE__ */
|
|
34699
|
+
return /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(AlternateScreen, {
|
|
35015
34700
|
mouseTracking: isMouseTrackingEnabled(),
|
|
35016
34701
|
children: transcriptReturn
|
|
35017
34702
|
}, undefined, false, undefined, this);
|
|
@@ -35024,7 +34709,7 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35024
34709
|
const usesSyncMessages = showStreamingText || !isLoading;
|
|
35025
34710
|
const displayedMessages = viewedAgentTask ? viewedAgentTask.messages ?? [] : usesSyncMessages ? messages : deferredMessages;
|
|
35026
34711
|
const placeholderText = userInputOnProcessing && !viewedAgentTask && displayedMessages.length <= userInputBaselineRef.current ? userInputOnProcessing : undefined;
|
|
35027
|
-
const toolPermissionOverlay = focusedInputDialog === "tool-permission" ? /* @__PURE__ */
|
|
34712
|
+
const toolPermissionOverlay = focusedInputDialog === "tool-permission" ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(PermissionRequest, {
|
|
35028
34713
|
onDone: () => setToolUseConfirmQueue(([_, ...tail]) => tail),
|
|
35029
34714
|
onReject: handleQueuedCommandOnCancel,
|
|
35030
34715
|
toolUseConfirm: toolUseConfirmQueue[0],
|
|
@@ -35037,43 +34722,43 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35037
34722
|
const companionVisible = !toolJSX?.shouldHidePromptInput && !focusedInputDialog && !showBashesDialog;
|
|
35038
34723
|
const toolJsxCentered = isFullscreenEnvEnabled() && toolJSX?.isLocalJSXCommand === true;
|
|
35039
34724
|
const centeredModal = toolJsxCentered ? toolJSX.jsx : null;
|
|
35040
|
-
const mainReturn = /* @__PURE__ */
|
|
34725
|
+
const mainReturn = /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(KeybindingSetup, {
|
|
35041
34726
|
children: [
|
|
35042
|
-
/* @__PURE__ */
|
|
34727
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(AnimatedTerminalTitle, {
|
|
35043
34728
|
isAnimating: titleIsAnimating,
|
|
35044
34729
|
title: terminalTitle,
|
|
35045
34730
|
disabled: titleDisabled,
|
|
35046
34731
|
noPrefix: showStatusInTerminalTab
|
|
35047
34732
|
}, undefined, false, undefined, this),
|
|
35048
|
-
/* @__PURE__ */
|
|
34733
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(GlobalKeybindingHandlers, {
|
|
35049
34734
|
...globalKeybindingProps
|
|
35050
34735
|
}, undefined, false, undefined, this),
|
|
35051
|
-
/* @__PURE__ */
|
|
34736
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(VoiceKeybindingHandler2, {
|
|
35052
34737
|
voiceHandleKeyEvent: voice.handleKeyEvent,
|
|
35053
34738
|
stripTrailing: voice.stripTrailing,
|
|
35054
34739
|
resetAnchor: voice.resetAnchor,
|
|
35055
34740
|
isActive: !toolJSX?.isLocalJSXCommand
|
|
35056
34741
|
}, undefined, false, undefined, this),
|
|
35057
|
-
/* @__PURE__ */
|
|
34742
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(CommandKeybindingHandlers, {
|
|
35058
34743
|
onSubmit,
|
|
35059
34744
|
isActive: !toolJSX?.isLocalJSXCommand
|
|
35060
34745
|
}, undefined, false, undefined, this),
|
|
35061
|
-
/* @__PURE__ */
|
|
34746
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ScrollKeybindingHandler, {
|
|
35062
34747
|
scrollRef,
|
|
35063
34748
|
isActive: isFullscreenEnvEnabled() && (centeredModal != null || !focusedInputDialog || focusedInputDialog === "tool-permission"),
|
|
35064
34749
|
onScroll: composedOnScroll
|
|
35065
34750
|
}, undefined, false, undefined, this),
|
|
35066
34751
|
null,
|
|
35067
|
-
/* @__PURE__ */
|
|
34752
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(CancelRequestHandler, {
|
|
35068
34753
|
...cancelRequestProps
|
|
35069
34754
|
}, undefined, false, undefined, this),
|
|
35070
|
-
/* @__PURE__ */
|
|
34755
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(MCPConnectionManager, {
|
|
35071
34756
|
dynamicMcpConfig,
|
|
35072
34757
|
isStrictMcpConfig: strictMcpConfig,
|
|
35073
|
-
children: /* @__PURE__ */
|
|
34758
|
+
children: /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(FullscreenLayout, {
|
|
35074
34759
|
scrollRef,
|
|
35075
34760
|
overlay: toolPermissionOverlay,
|
|
35076
|
-
bottomFloat: companionVisible && !companionNarrow ? /* @__PURE__ */
|
|
34761
|
+
bottomFloat: companionVisible && !companionNarrow ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(CompanionFloatingBubble, {}, undefined, false, undefined, this) : undefined,
|
|
35077
34762
|
modal: centeredModal,
|
|
35078
34763
|
modalScrollRef,
|
|
35079
34764
|
dividerYRef,
|
|
@@ -35084,10 +34769,10 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35084
34769
|
setCursor(null);
|
|
35085
34770
|
jumpToNew(scrollRef.current);
|
|
35086
34771
|
},
|
|
35087
|
-
scrollable: /* @__PURE__ */
|
|
34772
|
+
scrollable: /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(jsx_dev_runtime96.Fragment, {
|
|
35088
34773
|
children: [
|
|
35089
|
-
/* @__PURE__ */
|
|
35090
|
-
/* @__PURE__ */
|
|
34774
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(TeammateViewHeader, {}, undefined, false, undefined, this),
|
|
34775
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(Messages, {
|
|
35091
34776
|
messages: displayedMessages,
|
|
35092
34777
|
tools,
|
|
35093
34778
|
commands,
|
|
@@ -35112,22 +34797,22 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35112
34797
|
setCursor,
|
|
35113
34798
|
cursorNavRef
|
|
35114
34799
|
}, undefined, false, undefined, this),
|
|
35115
|
-
/* @__PURE__ */
|
|
35116
|
-
!disabled && placeholderText && !centeredModal && /* @__PURE__ */
|
|
34800
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(AwsAuthStatusBox, {}, undefined, false, undefined, this),
|
|
34801
|
+
!disabled && placeholderText && !centeredModal && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(UserTextMessage, {
|
|
35117
34802
|
param: { text: placeholderText, type: "text" },
|
|
35118
34803
|
addMargin: true,
|
|
35119
34804
|
verbose
|
|
35120
34805
|
}, undefined, false, undefined, this),
|
|
35121
|
-
toolJSX && !(toolJSX.isLocalJSXCommand && toolJSX.isImmediate) && !toolJsxCentered && /* @__PURE__ */
|
|
34806
|
+
toolJSX && !(toolJSX.isLocalJSXCommand && toolJSX.isImmediate) && !toolJsxCentered && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedBox_default, {
|
|
35122
34807
|
flexDirection: "column",
|
|
35123
34808
|
width: "100%",
|
|
35124
34809
|
children: toolJSX.jsx
|
|
35125
34810
|
}, undefined, false, undefined, this),
|
|
35126
|
-
process.env.USER_TYPE === "ant" && /* @__PURE__ */
|
|
35127
|
-
/* @__PURE__ */
|
|
34811
|
+
process.env.USER_TYPE === "ant" && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(TungstenLiveMonitor, {}, undefined, false, undefined, this),
|
|
34812
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedBox_default, {
|
|
35128
34813
|
flexGrow: 1
|
|
35129
34814
|
}, undefined, false, undefined, this),
|
|
35130
|
-
showSpinner && /* @__PURE__ */
|
|
34815
|
+
showSpinner && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(SpinnerWithVerb, {
|
|
35131
34816
|
mode: streamMode,
|
|
35132
34817
|
spinnerTip,
|
|
35133
34818
|
responseLengthRef,
|
|
@@ -35143,35 +34828,35 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35143
34828
|
hasActiveTools: inProgressToolUseIDs.size > 0,
|
|
35144
34829
|
leaderIsIdle: !isLoading
|
|
35145
34830
|
}, undefined, false, undefined, this),
|
|
35146
|
-
!showSpinner && !isLoading && !userInputOnProcessing && !hasRunningTeammates && isBriefOnly && !viewedAgentTask && /* @__PURE__ */
|
|
35147
|
-
isFullscreenEnvEnabled() && /* @__PURE__ */
|
|
34831
|
+
!showSpinner && !isLoading && !userInputOnProcessing && !hasRunningTeammates && isBriefOnly && !viewedAgentTask && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(BriefIdleStatus, {}, undefined, false, undefined, this),
|
|
34832
|
+
isFullscreenEnvEnabled() && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(PromptInputQueuedCommands, {}, undefined, false, undefined, this)
|
|
35148
34833
|
]
|
|
35149
34834
|
}, undefined, true, undefined, this),
|
|
35150
|
-
bottom: /* @__PURE__ */
|
|
34835
|
+
bottom: /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedBox_default, {
|
|
35151
34836
|
flexDirection: companionNarrow ? "column" : "row",
|
|
35152
34837
|
width: "100%",
|
|
35153
34838
|
alignItems: companionNarrow ? undefined : "flex-end",
|
|
35154
34839
|
children: [
|
|
35155
|
-
companionNarrow && isFullscreenEnvEnabled() && companionVisible ? /* @__PURE__ */
|
|
35156
|
-
/* @__PURE__ */
|
|
34840
|
+
companionNarrow && isFullscreenEnvEnabled() && companionVisible ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(CompanionSprite, {}, undefined, false, undefined, this) : null,
|
|
34841
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedBox_default, {
|
|
35157
34842
|
flexDirection: "column",
|
|
35158
34843
|
flexGrow: 1,
|
|
35159
34844
|
children: [
|
|
35160
34845
|
permissionStickyFooter,
|
|
35161
|
-
toolJSX?.isLocalJSXCommand && toolJSX.isImmediate && !toolJsxCentered && /* @__PURE__ */
|
|
34846
|
+
toolJSX?.isLocalJSXCommand && toolJSX.isImmediate && !toolJsxCentered && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedBox_default, {
|
|
35162
34847
|
flexDirection: "column",
|
|
35163
34848
|
width: "100%",
|
|
35164
34849
|
children: toolJSX.jsx
|
|
35165
34850
|
}, undefined, false, undefined, this),
|
|
35166
|
-
!showSpinner && !toolJSX?.isLocalJSXCommand && showExpandedTodos && tasksV2 && tasksV2.length > 0 && /* @__PURE__ */
|
|
34851
|
+
!showSpinner && !toolJSX?.isLocalJSXCommand && showExpandedTodos && tasksV2 && tasksV2.length > 0 && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ThemedBox_default, {
|
|
35167
34852
|
width: "100%",
|
|
35168
34853
|
flexDirection: "column",
|
|
35169
|
-
children: /* @__PURE__ */
|
|
34854
|
+
children: /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(TaskListV2, {
|
|
35170
34855
|
tasks: tasksV2,
|
|
35171
34856
|
isStandalone: true
|
|
35172
34857
|
}, undefined, false, undefined, this)
|
|
35173
34858
|
}, undefined, false, undefined, this),
|
|
35174
|
-
focusedInputDialog === "sandbox-permission" && /* @__PURE__ */
|
|
34859
|
+
focusedInputDialog === "sandbox-permission" && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(SandboxPermissionRequest, {
|
|
35175
34860
|
hostPattern: sandboxPermissionRequestQueue[0].hostPattern,
|
|
35176
34861
|
onUserResponse: (response) => {
|
|
35177
34862
|
const { allow, persistToSettings } = response;
|
|
@@ -35211,7 +34896,7 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35211
34896
|
}
|
|
35212
34897
|
}
|
|
35213
34898
|
}, sandboxPermissionRequestQueue[0].hostPattern.host, false, undefined, this),
|
|
35214
|
-
focusedInputDialog === "prompt" && /* @__PURE__ */
|
|
34899
|
+
focusedInputDialog === "prompt" && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(PromptDialog, {
|
|
35215
34900
|
title: promptQueue[0].title,
|
|
35216
34901
|
toolInputSummary: promptQueue[0].toolInputSummary,
|
|
35217
34902
|
request: promptQueue[0].request,
|
|
@@ -35233,15 +34918,15 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35233
34918
|
setPromptQueue(([, ...tail]) => tail);
|
|
35234
34919
|
}
|
|
35235
34920
|
}, promptQueue[0].request.prompt, false, undefined, this),
|
|
35236
|
-
pendingWorkerRequest && /* @__PURE__ */
|
|
34921
|
+
pendingWorkerRequest && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(WorkerPendingPermission, {
|
|
35237
34922
|
toolName: pendingWorkerRequest.toolName,
|
|
35238
34923
|
description: pendingWorkerRequest.description
|
|
35239
34924
|
}, undefined, false, undefined, this),
|
|
35240
|
-
pendingSandboxRequest && /* @__PURE__ */
|
|
34925
|
+
pendingSandboxRequest && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(WorkerPendingPermission, {
|
|
35241
34926
|
toolName: "Network Access",
|
|
35242
34927
|
description: `Waiting for leader to approve network access to ${pendingSandboxRequest.host}`
|
|
35243
34928
|
}, undefined, false, undefined, this),
|
|
35244
|
-
focusedInputDialog === "worker-sandbox-permission" && /* @__PURE__ */
|
|
34929
|
+
focusedInputDialog === "worker-sandbox-permission" && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(SandboxPermissionRequest, {
|
|
35245
34930
|
hostPattern: {
|
|
35246
34931
|
host: workerSandboxPermissions.queue[0].host,
|
|
35247
34932
|
port: undefined
|
|
@@ -35281,7 +34966,7 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35281
34966
|
}));
|
|
35282
34967
|
}
|
|
35283
34968
|
}, workerSandboxPermissions.queue[0].requestId, false, undefined, this),
|
|
35284
|
-
focusedInputDialog === "elicitation" && /* @__PURE__ */
|
|
34969
|
+
focusedInputDialog === "elicitation" && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(ElicitationDialog, {
|
|
35285
34970
|
event: elicitation.queue[0],
|
|
35286
34971
|
onResponse: (action, content) => {
|
|
35287
34972
|
const currentRequest = elicitation.queue[0];
|
|
@@ -35309,7 +34994,7 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35309
34994
|
currentRequest?.onWaitingDismiss?.(action);
|
|
35310
34995
|
}
|
|
35311
34996
|
}, elicitation.queue[0].serverName + ":" + String(elicitation.queue[0].requestId), false, undefined, this),
|
|
35312
|
-
focusedInputDialog === "cost" && /* @__PURE__ */
|
|
34997
|
+
focusedInputDialog === "cost" && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(CostThresholdDialog, {
|
|
35313
34998
|
onDone: () => {
|
|
35314
34999
|
setShowCostDialog(false);
|
|
35315
35000
|
setHaveShownCostDialog(true);
|
|
@@ -35320,7 +35005,7 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35320
35005
|
logEvent("tengu_cost_threshold_acknowledged", {});
|
|
35321
35006
|
}
|
|
35322
35007
|
}, undefined, false, undefined, this),
|
|
35323
|
-
focusedInputDialog === "idle-return" && idleReturnPending && /* @__PURE__ */
|
|
35008
|
+
focusedInputDialog === "idle-return" && idleReturnPending && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(IdleReturnDialog, {
|
|
35324
35009
|
idleMinutes: idleReturnPending.idleMinutes,
|
|
35325
35010
|
totalInputTokens: getTotalInputTokens(),
|
|
35326
35011
|
onDone: async (action) => {
|
|
@@ -35344,7 +35029,7 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35344
35029
|
});
|
|
35345
35030
|
}
|
|
35346
35031
|
if (action === "clear") {
|
|
35347
|
-
const { clearConversation: clearConversation2 } = await import("./chunk-
|
|
35032
|
+
const { clearConversation: clearConversation2 } = await import("./chunk-mk3eatzp.js");
|
|
35348
35033
|
await clearConversation2({
|
|
35349
35034
|
setMessages,
|
|
35350
35035
|
readFileState: readFileState.current,
|
|
@@ -35367,11 +35052,11 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35367
35052
|
});
|
|
35368
35053
|
}
|
|
35369
35054
|
}, undefined, false, undefined, this),
|
|
35370
|
-
focusedInputDialog === "ide-onboarding" && /* @__PURE__ */
|
|
35055
|
+
focusedInputDialog === "ide-onboarding" && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(IdeOnboardingDialog, {
|
|
35371
35056
|
onDone: () => setShowIdeOnboarding(false),
|
|
35372
35057
|
installationStatus: ideInstallationStatus
|
|
35373
35058
|
}, undefined, false, undefined, this),
|
|
35374
|
-
process.env.USER_TYPE === "ant" && focusedInputDialog === "model-switch" && AntModelSwitchCallout2 && /* @__PURE__ */
|
|
35059
|
+
process.env.USER_TYPE === "ant" && focusedInputDialog === "model-switch" && AntModelSwitchCallout2 && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(AntModelSwitchCallout2, {
|
|
35375
35060
|
onDone: (selection, modelAlias) => {
|
|
35376
35061
|
setShowModelSwitchCallout(false);
|
|
35377
35062
|
if (selection === "switch" && modelAlias) {
|
|
@@ -35383,10 +35068,10 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35383
35068
|
}
|
|
35384
35069
|
}
|
|
35385
35070
|
}, undefined, false, undefined, this),
|
|
35386
|
-
process.env.USER_TYPE === "ant" && focusedInputDialog === "undercover-callout" && UndercoverAutoCallout2 && /* @__PURE__ */
|
|
35071
|
+
process.env.USER_TYPE === "ant" && focusedInputDialog === "undercover-callout" && UndercoverAutoCallout2 && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(UndercoverAutoCallout2, {
|
|
35387
35072
|
onDone: () => setShowUndercoverCallout(false)
|
|
35388
35073
|
}, undefined, false, undefined, this),
|
|
35389
|
-
focusedInputDialog === "effort-callout" && /* @__PURE__ */
|
|
35074
|
+
focusedInputDialog === "effort-callout" && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(EffortCallout, {
|
|
35390
35075
|
model: mainLoopModel,
|
|
35391
35076
|
onDone: (selection) => {
|
|
35392
35077
|
setShowEffortCallout(false);
|
|
@@ -35398,7 +35083,7 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35398
35083
|
}
|
|
35399
35084
|
}
|
|
35400
35085
|
}, undefined, false, undefined, this),
|
|
35401
|
-
focusedInputDialog === "remote-callout" && /* @__PURE__ */
|
|
35086
|
+
focusedInputDialog === "remote-callout" && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(RemoteCallout, {
|
|
35402
35087
|
onDone: (selection) => {
|
|
35403
35088
|
setAppState((prev) => {
|
|
35404
35089
|
if (!prev.showRemoteCallout)
|
|
@@ -35416,23 +35101,23 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35416
35101
|
}
|
|
35417
35102
|
}, undefined, false, undefined, this),
|
|
35418
35103
|
exitFlow,
|
|
35419
|
-
focusedInputDialog === "plugin-hint" && hintRecommendation && /* @__PURE__ */
|
|
35104
|
+
focusedInputDialog === "plugin-hint" && hintRecommendation && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(PluginHintMenu, {
|
|
35420
35105
|
pluginName: hintRecommendation.pluginName,
|
|
35421
35106
|
pluginDescription: hintRecommendation.pluginDescription,
|
|
35422
35107
|
marketplaceName: hintRecommendation.marketplaceName,
|
|
35423
35108
|
sourceCommand: hintRecommendation.sourceCommand,
|
|
35424
35109
|
onResponse: handleHintResponse
|
|
35425
35110
|
}, undefined, false, undefined, this),
|
|
35426
|
-
focusedInputDialog === "lsp-recommendation" && lspRecommendation && /* @__PURE__ */
|
|
35111
|
+
focusedInputDialog === "lsp-recommendation" && lspRecommendation && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(LspRecommendationMenu, {
|
|
35427
35112
|
pluginName: lspRecommendation.pluginName,
|
|
35428
35113
|
pluginDescription: lspRecommendation.pluginDescription,
|
|
35429
35114
|
fileExtension: lspRecommendation.fileExtension,
|
|
35430
35115
|
onResponse: handleLspResponse
|
|
35431
35116
|
}, undefined, false, undefined, this),
|
|
35432
|
-
focusedInputDialog === "desktop-upsell" && /* @__PURE__ */
|
|
35117
|
+
focusedInputDialog === "desktop-upsell" && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(DesktopUpsellStartup, {
|
|
35433
35118
|
onDone: () => setShowDesktopUpsellStartup(false)
|
|
35434
35119
|
}, undefined, false, undefined, this),
|
|
35435
|
-
focusedInputDialog === "ultraplan-choice" && ultraplanPendingChoice && /* @__PURE__ */
|
|
35120
|
+
focusedInputDialog === "ultraplan-choice" && ultraplanPendingChoice && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(UltraplanChoiceDialog, {
|
|
35436
35121
|
plan: ultraplanPendingChoice.plan,
|
|
35437
35122
|
sessionId: ultraplanPendingChoice.sessionId,
|
|
35438
35123
|
taskId: ultraplanPendingChoice.taskId,
|
|
@@ -35441,7 +35126,7 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35441
35126
|
getAppState: () => store.getState(),
|
|
35442
35127
|
setConversationId
|
|
35443
35128
|
}, undefined, false, undefined, this),
|
|
35444
|
-
focusedInputDialog === "ultraplan-launch" && ultraplanLaunchPending && /* @__PURE__ */
|
|
35129
|
+
focusedInputDialog === "ultraplan-launch" && ultraplanLaunchPending && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(UltraplanLaunchDialog, {
|
|
35445
35130
|
onChoice: (choice, opts) => {
|
|
35446
35131
|
const blurb = ultraplanLaunchPending.blurb;
|
|
35447
35132
|
setAppState((prev) => prev.ultraplanLaunchPending ? { ...prev, ultraplanLaunchPending: undefined } : prev);
|
|
@@ -35481,21 +35166,21 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35481
35166
|
}
|
|
35482
35167
|
}, undefined, false, undefined, this),
|
|
35483
35168
|
mrRender(),
|
|
35484
|
-
!toolJSX?.shouldHidePromptInput && !focusedInputDialog && !isExiting && !disabled && !cursor && /* @__PURE__ */
|
|
35169
|
+
!toolJSX?.shouldHidePromptInput && !focusedInputDialog && !isExiting && !disabled && !cursor && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(jsx_dev_runtime96.Fragment, {
|
|
35485
35170
|
children: [
|
|
35486
|
-
autoRunIssueReason && /* @__PURE__ */
|
|
35171
|
+
autoRunIssueReason && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(AutoRunIssueNotification, {
|
|
35487
35172
|
onRun: handleAutoRunIssue,
|
|
35488
35173
|
onCancel: handleCancelAutoRunIssue,
|
|
35489
35174
|
reason: getAutoRunIssueReasonText(autoRunIssueReason)
|
|
35490
35175
|
}, undefined, false, undefined, this),
|
|
35491
|
-
postCompactSurvey.state !== "closed" ? /* @__PURE__ */
|
|
35176
|
+
postCompactSurvey.state !== "closed" ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(FeedbackSurvey, {
|
|
35492
35177
|
state: postCompactSurvey.state,
|
|
35493
35178
|
lastResponse: postCompactSurvey.lastResponse,
|
|
35494
35179
|
handleSelect: postCompactSurvey.handleSelect,
|
|
35495
35180
|
inputValue,
|
|
35496
35181
|
setInputValue,
|
|
35497
35182
|
onRequestFeedback: handleSurveyRequestFeedback
|
|
35498
|
-
}, undefined, false, undefined, this) : memorySurvey.state !== "closed" ? /* @__PURE__ */
|
|
35183
|
+
}, undefined, false, undefined, this) : memorySurvey.state !== "closed" ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(FeedbackSurvey, {
|
|
35499
35184
|
state: memorySurvey.state,
|
|
35500
35185
|
lastResponse: memorySurvey.lastResponse,
|
|
35501
35186
|
handleSelect: memorySurvey.handleSelect,
|
|
@@ -35504,7 +35189,7 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35504
35189
|
setInputValue,
|
|
35505
35190
|
onRequestFeedback: handleSurveyRequestFeedback,
|
|
35506
35191
|
message: "How well did Claude use its memory? (optional)"
|
|
35507
|
-
}, undefined, false, undefined, this) : /* @__PURE__ */
|
|
35192
|
+
}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(FeedbackSurvey, {
|
|
35508
35193
|
state: feedbackSurvey.state,
|
|
35509
35194
|
lastResponse: feedbackSurvey.lastResponse,
|
|
35510
35195
|
handleSelect: feedbackSurvey.handleSelect,
|
|
@@ -35513,7 +35198,7 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35513
35198
|
setInputValue,
|
|
35514
35199
|
onRequestFeedback: didAutoRunIssueRef.current ? undefined : handleSurveyRequestFeedback
|
|
35515
35200
|
}, undefined, false, undefined, this),
|
|
35516
|
-
frustrationDetection.state !== "closed" && /* @__PURE__ */
|
|
35201
|
+
frustrationDetection.state !== "closed" && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(FeedbackSurvey, {
|
|
35517
35202
|
state: frustrationDetection.state,
|
|
35518
35203
|
lastResponse: null,
|
|
35519
35204
|
handleSelect: () => {},
|
|
@@ -35521,7 +35206,7 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35521
35206
|
inputValue,
|
|
35522
35207
|
setInputValue
|
|
35523
35208
|
}, undefined, false, undefined, this),
|
|
35524
|
-
skillImprovementSurvey.suggestion && /* @__PURE__ */
|
|
35209
|
+
skillImprovementSurvey.suggestion && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(SkillImprovementSurvey, {
|
|
35525
35210
|
isOpen: skillImprovementSurvey.isOpen,
|
|
35526
35211
|
skillName: skillImprovementSurvey.suggestion.skillName,
|
|
35527
35212
|
updates: skillImprovementSurvey.suggestion.updates,
|
|
@@ -35529,8 +35214,8 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35529
35214
|
inputValue,
|
|
35530
35215
|
setInputValue
|
|
35531
35216
|
}, undefined, false, undefined, this),
|
|
35532
|
-
showIssueFlagBanner && /* @__PURE__ */
|
|
35533
|
-
/* @__PURE__ */
|
|
35217
|
+
showIssueFlagBanner && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(IssueFlagBanner, {}, undefined, false, undefined, this),
|
|
35218
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(PromptInput_default, {
|
|
35534
35219
|
debug,
|
|
35535
35220
|
ideSelection,
|
|
35536
35221
|
hasSuppressedDialogs: !!hasSuppressedDialogs,
|
|
@@ -35572,16 +35257,16 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35572
35257
|
insertTextRef,
|
|
35573
35258
|
voiceInterimRange: voice.interimRange
|
|
35574
35259
|
}, undefined, false, undefined, this),
|
|
35575
|
-
/* @__PURE__ */
|
|
35260
|
+
/* @__PURE__ */ jsx_dev_runtime96.jsxDEV(SessionBackgroundHint, {
|
|
35576
35261
|
onBackgroundSession: handleBackgroundSession,
|
|
35577
35262
|
isLoading
|
|
35578
35263
|
}, undefined, false, undefined, this)
|
|
35579
35264
|
]
|
|
35580
35265
|
}, undefined, true, undefined, this),
|
|
35581
|
-
cursor && /* @__PURE__ */
|
|
35266
|
+
cursor && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(MessageActionsBar, {
|
|
35582
35267
|
cursor
|
|
35583
35268
|
}, undefined, false, undefined, this),
|
|
35584
|
-
focusedInputDialog === "message-selector" && /* @__PURE__ */
|
|
35269
|
+
focusedInputDialog === "message-selector" && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(MessageSelector, {
|
|
35585
35270
|
messages,
|
|
35586
35271
|
preselectedMessage: messageSelectorPreselect,
|
|
35587
35272
|
onPreRestore: onCancel,
|
|
@@ -35664,10 +35349,10 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35664
35349
|
setMessageSelectorPreselect(undefined);
|
|
35665
35350
|
}
|
|
35666
35351
|
}, undefined, false, undefined, this),
|
|
35667
|
-
process.env.USER_TYPE === "ant" && /* @__PURE__ */
|
|
35352
|
+
process.env.USER_TYPE === "ant" && /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(DevBar, {}, undefined, false, undefined, this)
|
|
35668
35353
|
]
|
|
35669
35354
|
}, undefined, true, undefined, this),
|
|
35670
|
-
!(companionNarrow && isFullscreenEnvEnabled()) && companionVisible ? /* @__PURE__ */
|
|
35355
|
+
!(companionNarrow && isFullscreenEnvEnabled()) && companionVisible ? /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(CompanionSprite, {}, undefined, false, undefined, this) : null
|
|
35671
35356
|
]
|
|
35672
35357
|
}, undefined, true, undefined, this)
|
|
35673
35358
|
}, undefined, false, undefined, this)
|
|
@@ -35675,7 +35360,7 @@ Note: ctrl + z now suspends RedScope AI, ctrl + _ undoes input.
|
|
|
35675
35360
|
]
|
|
35676
35361
|
}, undefined, true, undefined, this);
|
|
35677
35362
|
if (isFullscreenEnvEnabled()) {
|
|
35678
|
-
return /* @__PURE__ */
|
|
35363
|
+
return /* @__PURE__ */ jsx_dev_runtime96.jsxDEV(AlternateScreen, {
|
|
35679
35364
|
mouseTracking: isMouseTrackingEnabled(),
|
|
35680
35365
|
children: mainReturn
|
|
35681
35366
|
}, undefined, false, undefined, this);
|