@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
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
+
calculateCondensedLogoLayout,
|
|
4
|
+
calculateInfoPillValueWidth,
|
|
5
|
+
calculateInfoPillWidth,
|
|
3
6
|
calculateLayoutDimensions,
|
|
4
7
|
calculateOptimalLeftWidth,
|
|
5
8
|
formatModelAndBilling,
|
|
@@ -10,7 +13,7 @@ import {
|
|
|
10
13
|
getRecentReleaseNotesSync,
|
|
11
14
|
init_logoV2Utils,
|
|
12
15
|
truncatePath
|
|
13
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-wmejnje8.js";
|
|
14
17
|
import {
|
|
15
18
|
init_systemTheme,
|
|
16
19
|
resolveThemeSetting
|
|
@@ -18,23 +21,23 @@ import {
|
|
|
18
21
|
import {
|
|
19
22
|
checkForReleaseNotesSync,
|
|
20
23
|
init_releaseNotes
|
|
21
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-at0k7eqj.js";
|
|
22
25
|
import {
|
|
23
26
|
AGENT_DESCRIPTIONS_THRESHOLD,
|
|
24
27
|
getAgentDescriptionsTotalTokens,
|
|
25
28
|
init_statusNoticeHelpers
|
|
26
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-aghqm7cp.js";
|
|
27
30
|
import {
|
|
28
31
|
OverageCreditUpsell,
|
|
29
32
|
createOverageCreditFeed,
|
|
30
33
|
incrementOverageCreditUpsellSeenCount,
|
|
31
34
|
init_OverageCreditUpsell,
|
|
32
35
|
useShowOverageCreditUpsell
|
|
33
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-fz3xtmax.js";
|
|
34
37
|
import {
|
|
35
38
|
PromptInputFooterSuggestions_default,
|
|
36
39
|
init_PromptInputFooterSuggestions
|
|
37
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-kw569tcv.js";
|
|
38
41
|
import {
|
|
39
42
|
ModalContext,
|
|
40
43
|
init_modalContext
|
|
@@ -42,7 +45,7 @@ import {
|
|
|
42
45
|
import {
|
|
43
46
|
init_useMainLoopModel,
|
|
44
47
|
useMainLoopModel
|
|
45
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-hqzh5gj7.js";
|
|
46
49
|
import {
|
|
47
50
|
AssistantThinkingMessage,
|
|
48
51
|
BACKGROUND_BASH_SUMMARY_PREFIX,
|
|
@@ -122,32 +125,32 @@ import {
|
|
|
122
125
|
toolCallOf,
|
|
123
126
|
useAppState,
|
|
124
127
|
useShortcutDisplay
|
|
125
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-b94ss7th.js";
|
|
126
129
|
import {
|
|
127
130
|
exports_proactive,
|
|
128
131
|
init_proactive
|
|
129
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-41246kaz.js";
|
|
130
133
|
import {
|
|
131
134
|
getBuiltinPlugins,
|
|
132
135
|
init_builtinPlugins
|
|
133
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-8dsmcq3w.js";
|
|
134
137
|
import {
|
|
135
138
|
checkCachedPassesEligibility,
|
|
136
139
|
formatCreditAmount,
|
|
137
140
|
getCachedReferrerReward,
|
|
138
141
|
getCachedRemainingPasses,
|
|
139
142
|
init_referral
|
|
140
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-nh12n4bh.js";
|
|
141
144
|
import {
|
|
142
145
|
getSteps,
|
|
143
146
|
incrementProjectOnboardingSeenCount,
|
|
144
147
|
init_projectOnboardingState,
|
|
145
148
|
shouldShowProjectOnboarding
|
|
146
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-6b2n30vp.js";
|
|
147
150
|
import {
|
|
148
151
|
init_voiceModeEnabled,
|
|
149
152
|
isVoiceModeEnabled
|
|
150
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-dp4hee08.js";
|
|
151
154
|
import {
|
|
152
155
|
init_browser,
|
|
153
156
|
openBrowser,
|
|
@@ -179,7 +182,7 @@ import {
|
|
|
179
182
|
plural,
|
|
180
183
|
renderModelSetting,
|
|
181
184
|
saveGlobalConfig
|
|
182
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-9tpg56r8.js";
|
|
183
186
|
import {
|
|
184
187
|
init_sleep,
|
|
185
188
|
sleep
|
|
@@ -252,9 +255,7 @@ import {
|
|
|
252
255
|
} from "./chunk-hhsxm2yr.js";
|
|
253
256
|
|
|
254
257
|
// src/context/promptOverlayContext.tsx
|
|
255
|
-
function PromptOverlayProvider({
|
|
256
|
-
children
|
|
257
|
-
}) {
|
|
258
|
+
function PromptOverlayProvider({ children }) {
|
|
258
259
|
const [data, setData] = import_react.useState(null);
|
|
259
260
|
const [dialog, setDialog] = import_react.useState(null);
|
|
260
261
|
return /* @__PURE__ */ jsx_dev_runtime.jsxDEV(SetContext.Provider, {
|
|
@@ -1234,10 +1235,7 @@ var init_Feed = __esm(() => {
|
|
|
1234
1235
|
});
|
|
1235
1236
|
|
|
1236
1237
|
// src/components/LogoV2/FeedColumn.tsx
|
|
1237
|
-
function FeedColumn({
|
|
1238
|
-
feeds,
|
|
1239
|
-
maxWidth
|
|
1240
|
-
}) {
|
|
1238
|
+
function FeedColumn({ feeds, maxWidth }) {
|
|
1241
1239
|
const feedWidths = feeds.map((feed) => calculateFeedWidth(feed));
|
|
1242
1240
|
const maxOfAllFeeds = Math.max(...feedWidths);
|
|
1243
1241
|
const actualWidth = Math.min(maxOfAllFeeds, maxWidth);
|
|
@@ -1430,6 +1428,49 @@ var init_AnimatedClawd = __esm(() => {
|
|
|
1430
1428
|
IDLE = { pose: "default", offset: 0 };
|
|
1431
1429
|
});
|
|
1432
1430
|
|
|
1431
|
+
// src/components/LogoV2/InfoPill.tsx
|
|
1432
|
+
function InfoPill({ label, color: color2 = "claude", children }) {
|
|
1433
|
+
return /* @__PURE__ */ jsx_dev_runtime8.jsxDEV(ThemedText, {
|
|
1434
|
+
wrap: "truncate",
|
|
1435
|
+
children: [
|
|
1436
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(ThemedText, {
|
|
1437
|
+
color: color2,
|
|
1438
|
+
children: "["
|
|
1439
|
+
}, undefined, false, undefined, this),
|
|
1440
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(ThemedText, {
|
|
1441
|
+
color: color2,
|
|
1442
|
+
bold: true,
|
|
1443
|
+
children: label
|
|
1444
|
+
}, undefined, false, undefined, this),
|
|
1445
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(ThemedText, {
|
|
1446
|
+
dimColor: true,
|
|
1447
|
+
children: ": "
|
|
1448
|
+
}, undefined, false, undefined, this),
|
|
1449
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(ThemedText, {
|
|
1450
|
+
children
|
|
1451
|
+
}, undefined, false, undefined, this),
|
|
1452
|
+
/* @__PURE__ */ jsx_dev_runtime8.jsxDEV(ThemedText, {
|
|
1453
|
+
color: color2,
|
|
1454
|
+
children: "]"
|
|
1455
|
+
}, undefined, false, undefined, this)
|
|
1456
|
+
]
|
|
1457
|
+
}, undefined, true, undefined, this);
|
|
1458
|
+
}
|
|
1459
|
+
function InfoPillRow({ children }) {
|
|
1460
|
+
return /* @__PURE__ */ jsx_dev_runtime8.jsxDEV(ThemedBox_default, {
|
|
1461
|
+
flexDirection: "row",
|
|
1462
|
+
flexWrap: "wrap",
|
|
1463
|
+
columnGap: 1,
|
|
1464
|
+
justifyContent: "center",
|
|
1465
|
+
children
|
|
1466
|
+
}, undefined, false, undefined, this);
|
|
1467
|
+
}
|
|
1468
|
+
var jsx_dev_runtime8;
|
|
1469
|
+
var init_InfoPill = __esm(() => {
|
|
1470
|
+
init_src();
|
|
1471
|
+
jsx_dev_runtime8 = __toESM(require_jsx_dev_runtime(), 1);
|
|
1472
|
+
});
|
|
1473
|
+
|
|
1433
1474
|
// src/components/LogoV2/GuestPassesUpsell.tsx
|
|
1434
1475
|
function resetIfPassesRefreshed() {
|
|
1435
1476
|
const remaining = getCachedRemainingPasses();
|
|
@@ -1477,20 +1518,20 @@ function incrementGuestPassesSeenCount() {
|
|
|
1477
1518
|
}
|
|
1478
1519
|
function GuestPassesUpsell() {
|
|
1479
1520
|
const reward = getCachedReferrerReward();
|
|
1480
|
-
return /* @__PURE__ */
|
|
1521
|
+
return /* @__PURE__ */ jsx_dev_runtime9.jsxDEV(ThemedText, {
|
|
1481
1522
|
dimColor: true,
|
|
1482
1523
|
children: [
|
|
1483
|
-
/* @__PURE__ */
|
|
1524
|
+
/* @__PURE__ */ jsx_dev_runtime9.jsxDEV(ThemedText, {
|
|
1484
1525
|
color: "claude",
|
|
1485
1526
|
children: "[\u273B]"
|
|
1486
1527
|
}, undefined, false, undefined, this),
|
|
1487
1528
|
" ",
|
|
1488
|
-
/* @__PURE__ */
|
|
1529
|
+
/* @__PURE__ */ jsx_dev_runtime9.jsxDEV(ThemedText, {
|
|
1489
1530
|
color: "claude",
|
|
1490
1531
|
children: "[\u273B]"
|
|
1491
1532
|
}, undefined, false, undefined, this),
|
|
1492
1533
|
" ",
|
|
1493
|
-
/* @__PURE__ */
|
|
1534
|
+
/* @__PURE__ */ jsx_dev_runtime9.jsxDEV(ThemedText, {
|
|
1494
1535
|
color: "claude",
|
|
1495
1536
|
children: "[\u273B]"
|
|
1496
1537
|
}, undefined, false, undefined, this),
|
|
@@ -1500,14 +1541,14 @@ function GuestPassesUpsell() {
|
|
|
1500
1541
|
]
|
|
1501
1542
|
}, undefined, true, undefined, this);
|
|
1502
1543
|
}
|
|
1503
|
-
var import_react4,
|
|
1544
|
+
var import_react4, jsx_dev_runtime9;
|
|
1504
1545
|
var init_GuestPassesUpsell = __esm(() => {
|
|
1505
1546
|
init_src();
|
|
1506
1547
|
init_analytics();
|
|
1507
1548
|
init_referral();
|
|
1508
1549
|
init_config();
|
|
1509
1550
|
import_react4 = __toESM(require_react(), 1);
|
|
1510
|
-
|
|
1551
|
+
jsx_dev_runtime9 = __toESM(require_jsx_dev_runtime(), 1);
|
|
1511
1552
|
});
|
|
1512
1553
|
|
|
1513
1554
|
// src/components/LogoV2/CondensedLogo.tsx
|
|
@@ -1531,66 +1572,83 @@ function CondensedLogo() {
|
|
|
1531
1572
|
incrementOverageCreditUpsellSeenCount();
|
|
1532
1573
|
}
|
|
1533
1574
|
}, [showOverageCreditUpsell, showGuestPassesUpsell]);
|
|
1534
|
-
const textWidth =
|
|
1535
|
-
const
|
|
1536
|
-
const truncatedVersion = truncate(version, Math.max(
|
|
1575
|
+
const { direction, textWidth } = calculateCondensedLogoLayout(columns);
|
|
1576
|
+
const versionValueWidth = calculateInfoPillValueWidth(textWidth, "RedScope");
|
|
1577
|
+
const truncatedVersion = truncate(version, Math.max(versionValueWidth - 1, 1));
|
|
1537
1578
|
const effortSuffix = getEffortSuffix(model, effortValue);
|
|
1538
1579
|
const { shouldSplit, truncatedModel, truncatedBilling } = formatModelAndBilling(modelDisplayName + effortSuffix, billingType, textWidth);
|
|
1539
|
-
const
|
|
1540
|
-
const
|
|
1541
|
-
const cwdAvailableWidth = agentName ? textWidth -
|
|
1542
|
-
const truncatedCwd = truncatePath(cwd,
|
|
1543
|
-
return /* @__PURE__ */
|
|
1544
|
-
children: /* @__PURE__ */
|
|
1545
|
-
flexDirection:
|
|
1546
|
-
gap: 2,
|
|
1580
|
+
const truncatedAgentName = agentName ? truncate(`@${agentName}`, calculateInfoPillValueWidth(textWidth, "agent")) : undefined;
|
|
1581
|
+
const usedAgentWidth = truncatedAgentName ? calculateInfoPillWidth("agent", truncatedAgentName) + 1 : 0;
|
|
1582
|
+
const cwdAvailableWidth = agentName ? textWidth - usedAgentWidth : textWidth;
|
|
1583
|
+
const truncatedCwd = truncatePath(cwd, calculateInfoPillValueWidth(cwdAvailableWidth, "cwd"));
|
|
1584
|
+
return /* @__PURE__ */ jsx_dev_runtime10.jsxDEV(OffscreenFreeze, {
|
|
1585
|
+
children: /* @__PURE__ */ jsx_dev_runtime10.jsxDEV(ThemedBox_default, {
|
|
1586
|
+
flexDirection: direction,
|
|
1587
|
+
gap: direction === "row" ? 2 : 1,
|
|
1547
1588
|
alignItems: "center",
|
|
1548
1589
|
children: [
|
|
1549
|
-
isFullscreenEnvEnabled() ? /* @__PURE__ */
|
|
1550
|
-
/* @__PURE__ */
|
|
1590
|
+
isFullscreenEnvEnabled() ? /* @__PURE__ */ jsx_dev_runtime10.jsxDEV(AnimatedClawd, {}, undefined, false, undefined, this) : /* @__PURE__ */ jsx_dev_runtime10.jsxDEV(Clawd, {}, undefined, false, undefined, this),
|
|
1591
|
+
/* @__PURE__ */ jsx_dev_runtime10.jsxDEV(ThemedBox_default, {
|
|
1551
1592
|
flexDirection: "column",
|
|
1593
|
+
width: textWidth,
|
|
1552
1594
|
children: [
|
|
1553
|
-
/* @__PURE__ */
|
|
1595
|
+
/* @__PURE__ */ jsx_dev_runtime10.jsxDEV(InfoPillRow, {
|
|
1596
|
+
children: /* @__PURE__ */ jsx_dev_runtime10.jsxDEV(InfoPill, {
|
|
1597
|
+
label: "RedScope",
|
|
1598
|
+
color: "claude",
|
|
1599
|
+
children: [
|
|
1600
|
+
"v",
|
|
1601
|
+
truncatedVersion
|
|
1602
|
+
]
|
|
1603
|
+
}, undefined, true, undefined, this)
|
|
1604
|
+
}, undefined, false, undefined, this),
|
|
1605
|
+
shouldSplit ? /* @__PURE__ */ jsx_dev_runtime10.jsxDEV(jsx_dev_runtime10.Fragment, {
|
|
1554
1606
|
children: [
|
|
1555
|
-
/* @__PURE__ */
|
|
1556
|
-
|
|
1557
|
-
|
|
1607
|
+
/* @__PURE__ */ jsx_dev_runtime10.jsxDEV(InfoPillRow, {
|
|
1608
|
+
children: /* @__PURE__ */ jsx_dev_runtime10.jsxDEV(InfoPill, {
|
|
1609
|
+
label: "model",
|
|
1610
|
+
color: "success",
|
|
1611
|
+
children: truncatedModel
|
|
1612
|
+
}, undefined, false, undefined, this)
|
|
1558
1613
|
}, undefined, false, undefined, this),
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
}, undefined, true, undefined, this)
|
|
1614
|
+
/* @__PURE__ */ jsx_dev_runtime10.jsxDEV(InfoPillRow, {
|
|
1615
|
+
children: /* @__PURE__ */ jsx_dev_runtime10.jsxDEV(InfoPill, {
|
|
1616
|
+
label: "billing",
|
|
1617
|
+
color: "warning",
|
|
1618
|
+
children: truncatedBilling
|
|
1619
|
+
}, undefined, false, undefined, this)
|
|
1620
|
+
}, undefined, false, undefined, this)
|
|
1567
1621
|
]
|
|
1568
|
-
}, undefined, true, undefined, this),
|
|
1569
|
-
shouldSplit ? /* @__PURE__ */ jsx_dev_runtime9.jsxDEV(jsx_dev_runtime9.Fragment, {
|
|
1622
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime10.jsxDEV(InfoPillRow, {
|
|
1570
1623
|
children: [
|
|
1571
|
-
/* @__PURE__ */
|
|
1572
|
-
|
|
1624
|
+
/* @__PURE__ */ jsx_dev_runtime10.jsxDEV(InfoPill, {
|
|
1625
|
+
label: "model",
|
|
1626
|
+
color: "success",
|
|
1573
1627
|
children: truncatedModel
|
|
1574
1628
|
}, undefined, false, undefined, this),
|
|
1575
|
-
/* @__PURE__ */
|
|
1576
|
-
|
|
1629
|
+
/* @__PURE__ */ jsx_dev_runtime10.jsxDEV(InfoPill, {
|
|
1630
|
+
label: "billing",
|
|
1631
|
+
color: "warning",
|
|
1577
1632
|
children: truncatedBilling
|
|
1578
1633
|
}, undefined, false, undefined, this)
|
|
1579
1634
|
]
|
|
1580
|
-
}, undefined, true, undefined, this)
|
|
1581
|
-
|
|
1635
|
+
}, undefined, true, undefined, this),
|
|
1636
|
+
/* @__PURE__ */ jsx_dev_runtime10.jsxDEV(InfoPillRow, {
|
|
1582
1637
|
children: [
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1638
|
+
truncatedAgentName && /* @__PURE__ */ jsx_dev_runtime10.jsxDEV(InfoPill, {
|
|
1639
|
+
label: "agent",
|
|
1640
|
+
color: "permission",
|
|
1641
|
+
children: truncatedAgentName
|
|
1642
|
+
}, undefined, false, undefined, this),
|
|
1643
|
+
/* @__PURE__ */ jsx_dev_runtime10.jsxDEV(InfoPill, {
|
|
1644
|
+
label: "cwd",
|
|
1645
|
+
color: "inactive",
|
|
1646
|
+
children: truncatedCwd
|
|
1647
|
+
}, undefined, false, undefined, this)
|
|
1586
1648
|
]
|
|
1587
1649
|
}, undefined, true, undefined, this),
|
|
1588
|
-
/* @__PURE__ */
|
|
1589
|
-
|
|
1590
|
-
children: agentName ? `@${agentName} \xB7 ${truncatedCwd}` : truncatedCwd
|
|
1591
|
-
}, undefined, false, undefined, this),
|
|
1592
|
-
showGuestPassesUpsell && /* @__PURE__ */ jsx_dev_runtime9.jsxDEV(GuestPassesUpsell, {}, undefined, false, undefined, this),
|
|
1593
|
-
!showGuestPassesUpsell && showOverageCreditUpsell && /* @__PURE__ */ jsx_dev_runtime9.jsxDEV(OverageCreditUpsell, {
|
|
1650
|
+
showGuestPassesUpsell && /* @__PURE__ */ jsx_dev_runtime10.jsxDEV(GuestPassesUpsell, {}, undefined, false, undefined, this),
|
|
1651
|
+
!showGuestPassesUpsell && showOverageCreditUpsell && /* @__PURE__ */ jsx_dev_runtime10.jsxDEV(OverageCreditUpsell, {
|
|
1594
1652
|
maxWidth: textWidth,
|
|
1595
1653
|
twoLine: true
|
|
1596
1654
|
}, undefined, false, undefined, this)
|
|
@@ -1600,7 +1658,7 @@ function CondensedLogo() {
|
|
|
1600
1658
|
}, undefined, true, undefined, this)
|
|
1601
1659
|
}, undefined, false, undefined, this);
|
|
1602
1660
|
}
|
|
1603
|
-
var import_react5,
|
|
1661
|
+
var import_react5, jsx_dev_runtime10;
|
|
1604
1662
|
var init_CondensedLogo = __esm(() => {
|
|
1605
1663
|
init_useMainLoopModel();
|
|
1606
1664
|
init_useTerminalSize();
|
|
@@ -1614,10 +1672,11 @@ var init_CondensedLogo = __esm(() => {
|
|
|
1614
1672
|
init_OffscreenFreeze();
|
|
1615
1673
|
init_AnimatedClawd();
|
|
1616
1674
|
init_Clawd();
|
|
1675
|
+
init_InfoPill();
|
|
1617
1676
|
init_GuestPassesUpsell();
|
|
1618
1677
|
init_OverageCreditUpsell();
|
|
1619
1678
|
import_react5 = __toESM(require_react(), 1);
|
|
1620
|
-
|
|
1679
|
+
jsx_dev_runtime10 = __toESM(require_jsx_dev_runtime(), 1);
|
|
1621
1680
|
});
|
|
1622
1681
|
|
|
1623
1682
|
// src/components/LogoV2/EmergencyTip.tsx
|
|
@@ -1637,10 +1696,10 @@ function EmergencyTip() {
|
|
|
1637
1696
|
if (!shouldShow) {
|
|
1638
1697
|
return null;
|
|
1639
1698
|
}
|
|
1640
|
-
return /* @__PURE__ */
|
|
1699
|
+
return /* @__PURE__ */ jsx_dev_runtime11.jsxDEV(ThemedBox_default, {
|
|
1641
1700
|
paddingLeft: 2,
|
|
1642
1701
|
flexDirection: "column",
|
|
1643
|
-
children: /* @__PURE__ */
|
|
1702
|
+
children: /* @__PURE__ */ jsx_dev_runtime11.jsxDEV(ThemedText, {
|
|
1644
1703
|
...tip.color === "warning" ? { color: "warning" } : tip.color === "error" ? { color: "error" } : { dimColor: true },
|
|
1645
1704
|
children: tip.tip
|
|
1646
1705
|
}, undefined, false, undefined, this)
|
|
@@ -1649,20 +1708,18 @@ function EmergencyTip() {
|
|
|
1649
1708
|
function getTipOfFeed() {
|
|
1650
1709
|
return getDynamicConfig_CACHED_MAY_BE_STALE(CONFIG_NAME, DEFAULT_TIP);
|
|
1651
1710
|
}
|
|
1652
|
-
var import_react6,
|
|
1711
|
+
var import_react6, jsx_dev_runtime11, CONFIG_NAME = "tengu-top-of-feed-tip", DEFAULT_TIP;
|
|
1653
1712
|
var init_EmergencyTip = __esm(() => {
|
|
1654
1713
|
init_src();
|
|
1655
1714
|
init_growthbook();
|
|
1656
1715
|
init_config();
|
|
1657
1716
|
import_react6 = __toESM(require_react(), 1);
|
|
1658
|
-
|
|
1717
|
+
jsx_dev_runtime11 = __toESM(require_jsx_dev_runtime(), 1);
|
|
1659
1718
|
DEFAULT_TIP = { tip: "", color: "dim" };
|
|
1660
1719
|
});
|
|
1661
1720
|
|
|
1662
1721
|
// src/components/LogoV2/AnimatedAsterisk.tsx
|
|
1663
|
-
function AnimatedAsterisk({
|
|
1664
|
-
char = TEARDROP_ASTERISK
|
|
1665
|
-
}) {
|
|
1722
|
+
function AnimatedAsterisk({ char = TEARDROP_ASTERISK }) {
|
|
1666
1723
|
const [reducedMotion] = import_react7.useState(() => getInitialSettings().prefersReducedMotion ?? false);
|
|
1667
1724
|
const [done, setDone] = import_react7.useState(reducedMotion);
|
|
1668
1725
|
const startTimeRef = import_react7.useRef(null);
|
|
@@ -1674,9 +1731,9 @@ function AnimatedAsterisk({
|
|
|
1674
1731
|
return () => clearTimeout(t);
|
|
1675
1732
|
}, [done]);
|
|
1676
1733
|
if (done) {
|
|
1677
|
-
return /* @__PURE__ */
|
|
1734
|
+
return /* @__PURE__ */ jsx_dev_runtime12.jsxDEV(ThemedBox_default, {
|
|
1678
1735
|
ref,
|
|
1679
|
-
children: /* @__PURE__ */
|
|
1736
|
+
children: /* @__PURE__ */ jsx_dev_runtime12.jsxDEV(ThemedText, {
|
|
1680
1737
|
color: SETTLED_GREY,
|
|
1681
1738
|
children: char
|
|
1682
1739
|
}, undefined, false, undefined, this)
|
|
@@ -1687,22 +1744,22 @@ function AnimatedAsterisk({
|
|
|
1687
1744
|
}
|
|
1688
1745
|
const elapsed = time - startTimeRef.current;
|
|
1689
1746
|
const hue = elapsed / SWEEP_DURATION_MS * 360 % 360;
|
|
1690
|
-
return /* @__PURE__ */
|
|
1747
|
+
return /* @__PURE__ */ jsx_dev_runtime12.jsxDEV(ThemedBox_default, {
|
|
1691
1748
|
ref,
|
|
1692
|
-
children: /* @__PURE__ */
|
|
1749
|
+
children: /* @__PURE__ */ jsx_dev_runtime12.jsxDEV(ThemedText, {
|
|
1693
1750
|
color: toRGBColor(hueToRgb(hue)),
|
|
1694
1751
|
children: char
|
|
1695
1752
|
}, undefined, false, undefined, this)
|
|
1696
1753
|
}, undefined, false, undefined, this);
|
|
1697
1754
|
}
|
|
1698
|
-
var import_react7,
|
|
1755
|
+
var import_react7, jsx_dev_runtime12, SWEEP_DURATION_MS = 1500, SWEEP_COUNT = 2, TOTAL_ANIMATION_MS, SETTLED_GREY;
|
|
1699
1756
|
var init_AnimatedAsterisk = __esm(() => {
|
|
1700
1757
|
init_figures2();
|
|
1701
1758
|
init_src();
|
|
1702
1759
|
init_settings();
|
|
1703
1760
|
init_utils();
|
|
1704
1761
|
import_react7 = __toESM(require_react(), 1);
|
|
1705
|
-
|
|
1762
|
+
jsx_dev_runtime12 = __toESM(require_jsx_dev_runtime(), 1);
|
|
1706
1763
|
TOTAL_ANIMATION_MS = SWEEP_DURATION_MS * SWEEP_COUNT;
|
|
1707
1764
|
SETTLED_GREY = toRGBColor({ r: 153, g: 153, b: 153 });
|
|
1708
1765
|
});
|
|
@@ -1725,23 +1782,20 @@ function Opus1mMergeNotice() {
|
|
|
1725
1782
|
}, [show]);
|
|
1726
1783
|
if (!show)
|
|
1727
1784
|
return null;
|
|
1728
|
-
return /* @__PURE__ */
|
|
1785
|
+
return /* @__PURE__ */ jsx_dev_runtime13.jsxDEV(ThemedBox_default, {
|
|
1729
1786
|
paddingLeft: 2,
|
|
1730
1787
|
children: [
|
|
1731
|
-
/* @__PURE__ */
|
|
1788
|
+
/* @__PURE__ */ jsx_dev_runtime13.jsxDEV(AnimatedAsterisk, {
|
|
1732
1789
|
char: UP_ARROW
|
|
1733
1790
|
}, undefined, false, undefined, this),
|
|
1734
|
-
/* @__PURE__ */
|
|
1791
|
+
/* @__PURE__ */ jsx_dev_runtime13.jsxDEV(ThemedText, {
|
|
1735
1792
|
dimColor: true,
|
|
1736
|
-
children:
|
|
1737
|
-
|
|
1738
|
-
"Opus now defaults to 1M context \xB7 5x more room, same pricing"
|
|
1739
|
-
]
|
|
1740
|
-
}, undefined, true, undefined, this)
|
|
1793
|
+
children: " Opus now defaults to 1M context \xB7 5x more room, same pricing"
|
|
1794
|
+
}, undefined, false, undefined, this)
|
|
1741
1795
|
]
|
|
1742
1796
|
}, undefined, true, undefined, this);
|
|
1743
1797
|
}
|
|
1744
|
-
var import_react8,
|
|
1798
|
+
var import_react8, jsx_dev_runtime13, MAX_SHOW_COUNT = 6;
|
|
1745
1799
|
var init_Opus1mMergeNotice = __esm(() => {
|
|
1746
1800
|
init_figures2();
|
|
1747
1801
|
init_src();
|
|
@@ -1749,12 +1803,12 @@ var init_Opus1mMergeNotice = __esm(() => {
|
|
|
1749
1803
|
init_model();
|
|
1750
1804
|
init_AnimatedAsterisk();
|
|
1751
1805
|
import_react8 = __toESM(require_react(), 1);
|
|
1752
|
-
|
|
1806
|
+
jsx_dev_runtime13 = __toESM(require_jsx_dev_runtime(), 1);
|
|
1753
1807
|
});
|
|
1754
1808
|
|
|
1755
1809
|
// src/components/LogoV2/VoiceModeNotice.tsx
|
|
1756
1810
|
function VoiceModeNotice() {
|
|
1757
|
-
return /* @__PURE__ */
|
|
1811
|
+
return /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(VoiceModeNoticeInner, {}, undefined, false, undefined, this);
|
|
1758
1812
|
}
|
|
1759
1813
|
function VoiceModeNoticeInner() {
|
|
1760
1814
|
const [show] = import_react9.useState(() => isVoiceModeEnabled() && getInitialSettings().voiceEnabled !== true && (getGlobalConfig().voiceNoticeSeenCount ?? 0) < MAX_SHOW_COUNT2 && !shouldShowOpus1mMergeNotice());
|
|
@@ -1770,18 +1824,18 @@ function VoiceModeNoticeInner() {
|
|
|
1770
1824
|
}, [show]);
|
|
1771
1825
|
if (!show)
|
|
1772
1826
|
return null;
|
|
1773
|
-
return /* @__PURE__ */
|
|
1827
|
+
return /* @__PURE__ */ jsx_dev_runtime14.jsxDEV(ThemedBox_default, {
|
|
1774
1828
|
paddingLeft: 2,
|
|
1775
1829
|
children: [
|
|
1776
|
-
/* @__PURE__ */
|
|
1777
|
-
/* @__PURE__ */
|
|
1830
|
+
/* @__PURE__ */ jsx_dev_runtime14.jsxDEV(AnimatedAsterisk, {}, undefined, false, undefined, this),
|
|
1831
|
+
/* @__PURE__ */ jsx_dev_runtime14.jsxDEV(ThemedText, {
|
|
1778
1832
|
dimColor: true,
|
|
1779
1833
|
children: " Voice mode is now available \xB7 /voice to enable"
|
|
1780
1834
|
}, undefined, false, undefined, this)
|
|
1781
1835
|
]
|
|
1782
1836
|
}, undefined, true, undefined, this);
|
|
1783
1837
|
}
|
|
1784
|
-
var import_react9,
|
|
1838
|
+
var import_react9, jsx_dev_runtime14, MAX_SHOW_COUNT2 = 3;
|
|
1785
1839
|
var init_VoiceModeNotice = __esm(() => {
|
|
1786
1840
|
init_src();
|
|
1787
1841
|
init_config();
|
|
@@ -1790,7 +1844,7 @@ var init_VoiceModeNotice = __esm(() => {
|
|
|
1790
1844
|
init_AnimatedAsterisk();
|
|
1791
1845
|
init_Opus1mMergeNotice();
|
|
1792
1846
|
import_react9 = __toESM(require_react(), 1);
|
|
1793
|
-
|
|
1847
|
+
jsx_dev_runtime14 = __toESM(require_jsx_dev_runtime(), 1);
|
|
1794
1848
|
});
|
|
1795
1849
|
|
|
1796
1850
|
// src/components/LogoV2/GateOverridesWarning.tsx
|
|
@@ -1831,18 +1885,18 @@ function ChannelsNotice() {
|
|
|
1831
1885
|
return null;
|
|
1832
1886
|
const hasNonDev = channels.some((c) => !c.dev);
|
|
1833
1887
|
const flag = getHasDevChannels() && hasNonDev ? "Channels" : getHasDevChannels() ? "--dangerously-load-development-channels" : "--channels";
|
|
1834
|
-
return /* @__PURE__ */
|
|
1888
|
+
return /* @__PURE__ */ jsx_dev_runtime15.jsxDEV(ThemedBox_default, {
|
|
1835
1889
|
paddingLeft: 2,
|
|
1836
1890
|
flexDirection: "column",
|
|
1837
1891
|
children: [
|
|
1838
|
-
/* @__PURE__ */
|
|
1892
|
+
/* @__PURE__ */ jsx_dev_runtime15.jsxDEV(ThemedText, {
|
|
1839
1893
|
color: "error",
|
|
1840
1894
|
children: [
|
|
1841
1895
|
"Listening for channel messages from: ",
|
|
1842
1896
|
list
|
|
1843
1897
|
]
|
|
1844
1898
|
}, undefined, true, undefined, this),
|
|
1845
|
-
/* @__PURE__ */
|
|
1899
|
+
/* @__PURE__ */ jsx_dev_runtime15.jsxDEV(ThemedText, {
|
|
1846
1900
|
dimColor: true,
|
|
1847
1901
|
children: [
|
|
1848
1902
|
"Experimental \xB7 inbound messages will be pushed into this session, this carries prompt injection risks. Restart RedScope AI without ",
|
|
@@ -1850,7 +1904,7 @@ function ChannelsNotice() {
|
|
|
1850
1904
|
" to disable."
|
|
1851
1905
|
]
|
|
1852
1906
|
}, undefined, true, undefined, this),
|
|
1853
|
-
unmatched.map((u) => /* @__PURE__ */
|
|
1907
|
+
unmatched.map((u) => /* @__PURE__ */ jsx_dev_runtime15.jsxDEV(ThemedText, {
|
|
1854
1908
|
color: "warning",
|
|
1855
1909
|
children: [
|
|
1856
1910
|
formatEntry(u.entry),
|
|
@@ -1897,7 +1951,7 @@ function findUnmatched(entries, deps) {
|
|
|
1897
1951
|
}
|
|
1898
1952
|
return out;
|
|
1899
1953
|
}
|
|
1900
|
-
var import_react10,
|
|
1954
|
+
var import_react10, jsx_dev_runtime15;
|
|
1901
1955
|
var init_ChannelsNotice = __esm(() => {
|
|
1902
1956
|
init_state();
|
|
1903
1957
|
init_builtinPlugins();
|
|
@@ -1905,7 +1959,7 @@ var init_ChannelsNotice = __esm(() => {
|
|
|
1905
1959
|
init_config2();
|
|
1906
1960
|
init_installedPluginsManager();
|
|
1907
1961
|
import_react10 = __toESM(require_react(), 1);
|
|
1908
|
-
|
|
1962
|
+
jsx_dev_runtime15 = __toESM(require_jsx_dev_runtime(), 1);
|
|
1909
1963
|
});
|
|
1910
1964
|
|
|
1911
1965
|
// src/components/LogoV2/LogoV2.tsx
|
|
@@ -1935,13 +1989,13 @@ function LogoV2() {
|
|
|
1935
1989
|
const { hasReleaseNotes } = checkForReleaseNotesSync(config.lastReleaseNotesSeen);
|
|
1936
1990
|
import_react11.useEffect(() => {
|
|
1937
1991
|
const currentConfig = getGlobalConfig();
|
|
1938
|
-
if (currentConfig.lastReleaseNotesSeen === "1.0.
|
|
1992
|
+
if (currentConfig.lastReleaseNotesSeen === "1.0.3") {
|
|
1939
1993
|
return;
|
|
1940
1994
|
}
|
|
1941
1995
|
saveGlobalConfig((current) => {
|
|
1942
|
-
if (current.lastReleaseNotesSeen === "1.0.
|
|
1996
|
+
if (current.lastReleaseNotesSeen === "1.0.3")
|
|
1943
1997
|
return current;
|
|
1944
|
-
return { ...current, lastReleaseNotesSeen: "1.0.
|
|
1998
|
+
return { ...current, lastReleaseNotesSeen: "1.0.3" };
|
|
1945
1999
|
});
|
|
1946
2000
|
if (showOnboarding) {
|
|
1947
2001
|
incrementProjectOnboardingSeenCount();
|
|
@@ -1957,39 +2011,29 @@ function LogoV2() {
|
|
|
1957
2011
|
if (showOverageCreditUpsell && !showOnboarding && !showGuestPassesUpsell && !isCondensedMode) {
|
|
1958
2012
|
incrementOverageCreditUpsellSeenCount();
|
|
1959
2013
|
}
|
|
1960
|
-
}, [
|
|
1961
|
-
showOverageCreditUpsell,
|
|
1962
|
-
showOnboarding,
|
|
1963
|
-
showGuestPassesUpsell,
|
|
1964
|
-
isCondensedMode
|
|
1965
|
-
]);
|
|
2014
|
+
}, [showOverageCreditUpsell, showOnboarding, showGuestPassesUpsell, isCondensedMode]);
|
|
1966
2015
|
const model = useMainLoopModel();
|
|
1967
2016
|
const fullModelDisplayName = renderModelSetting(model);
|
|
1968
|
-
const {
|
|
1969
|
-
version,
|
|
1970
|
-
cwd,
|
|
1971
|
-
billingType,
|
|
1972
|
-
agentName: agentNameFromSettings
|
|
1973
|
-
} = getLogoDisplayData();
|
|
2017
|
+
const { version, cwd, billingType, agentName: agentNameFromSettings } = getLogoDisplayData();
|
|
1974
2018
|
const agentName = agent ?? agentNameFromSettings;
|
|
1975
2019
|
const effortSuffix = getEffortSuffix(model, effortValue);
|
|
1976
2020
|
const modelDisplayName = truncate(fullModelDisplayName + effortSuffix, LEFT_PANEL_MAX_WIDTH - 20);
|
|
1977
2021
|
if (!hasReleaseNotes && !showOnboarding && !isEnvTruthy(process.env.CLAUDE_CODE_FORCE_FULL_LOGO)) {
|
|
1978
|
-
return /* @__PURE__ */
|
|
2022
|
+
return /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(jsx_dev_runtime16.Fragment, {
|
|
1979
2023
|
children: [
|
|
1980
|
-
/* @__PURE__ */
|
|
1981
|
-
/* @__PURE__ */
|
|
1982
|
-
/* @__PURE__ */
|
|
1983
|
-
ChannelsNoticeModule && /* @__PURE__ */
|
|
1984
|
-
isDebugMode() && /* @__PURE__ */
|
|
2024
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(CondensedLogo, {}, undefined, false, undefined, this),
|
|
2025
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(VoiceModeNotice, {}, undefined, false, undefined, this),
|
|
2026
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(Opus1mMergeNotice, {}, undefined, false, undefined, this),
|
|
2027
|
+
ChannelsNoticeModule && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ChannelsNoticeModule.ChannelsNotice, {}, undefined, false, undefined, this),
|
|
2028
|
+
isDebugMode() && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
1985
2029
|
paddingLeft: 2,
|
|
1986
2030
|
flexDirection: "column",
|
|
1987
2031
|
children: [
|
|
1988
|
-
/* @__PURE__ */
|
|
2032
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
1989
2033
|
color: "warning",
|
|
1990
2034
|
children: "Debug mode enabled"
|
|
1991
2035
|
}, undefined, false, undefined, this),
|
|
1992
|
-
/* @__PURE__ */
|
|
2036
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
1993
2037
|
dimColor: true,
|
|
1994
2038
|
children: [
|
|
1995
2039
|
"Logging to: ",
|
|
@@ -1998,29 +2042,29 @@ function LogoV2() {
|
|
|
1998
2042
|
}, undefined, true, undefined, this)
|
|
1999
2043
|
]
|
|
2000
2044
|
}, undefined, true, undefined, this),
|
|
2001
|
-
/* @__PURE__ */
|
|
2002
|
-
process.env.CLAUDE_CODE_TMUX_SESSION && /* @__PURE__ */
|
|
2045
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(EmergencyTip, {}, undefined, false, undefined, this),
|
|
2046
|
+
process.env.CLAUDE_CODE_TMUX_SESSION && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2003
2047
|
paddingLeft: 2,
|
|
2004
2048
|
flexDirection: "column",
|
|
2005
2049
|
children: [
|
|
2006
|
-
/* @__PURE__ */
|
|
2050
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2007
2051
|
dimColor: true,
|
|
2008
2052
|
children: [
|
|
2009
2053
|
"tmux session: ",
|
|
2010
2054
|
process.env.CLAUDE_CODE_TMUX_SESSION
|
|
2011
2055
|
]
|
|
2012
2056
|
}, undefined, true, undefined, this),
|
|
2013
|
-
/* @__PURE__ */
|
|
2057
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2014
2058
|
dimColor: true,
|
|
2015
2059
|
children: process.env.CLAUDE_CODE_TMUX_PREFIX_CONFLICTS ? `Detach: ${process.env.CLAUDE_CODE_TMUX_PREFIX} ${process.env.CLAUDE_CODE_TMUX_PREFIX} d (press prefix twice - RedScope uses ${process.env.CLAUDE_CODE_TMUX_PREFIX})` : `Detach: ${process.env.CLAUDE_CODE_TMUX_PREFIX} d`
|
|
2016
2060
|
}, undefined, false, undefined, this)
|
|
2017
2061
|
]
|
|
2018
2062
|
}, undefined, true, undefined, this),
|
|
2019
|
-
announcement && /* @__PURE__ */
|
|
2063
|
+
announcement && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2020
2064
|
paddingLeft: 2,
|
|
2021
2065
|
flexDirection: "column",
|
|
2022
2066
|
children: [
|
|
2023
|
-
!process.env.IS_DEMO && config.oauthAccount?.organizationName && /* @__PURE__ */
|
|
2067
|
+
!process.env.IS_DEMO && config.oauthAccount?.organizationName && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2024
2068
|
dimColor: true,
|
|
2025
2069
|
children: [
|
|
2026
2070
|
"Message from ",
|
|
@@ -2028,42 +2072,42 @@ function LogoV2() {
|
|
|
2028
2072
|
":"
|
|
2029
2073
|
]
|
|
2030
2074
|
}, undefined, true, undefined, this),
|
|
2031
|
-
/* @__PURE__ */
|
|
2075
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2032
2076
|
children: announcement
|
|
2033
2077
|
}, undefined, false, undefined, this)
|
|
2034
2078
|
]
|
|
2035
2079
|
}, undefined, true, undefined, this),
|
|
2036
|
-
process.env.USER_TYPE === "ant" && !process.env.DEMO_VERSION && /* @__PURE__ */
|
|
2080
|
+
process.env.USER_TYPE === "ant" && !process.env.DEMO_VERSION && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2037
2081
|
paddingLeft: 2,
|
|
2038
2082
|
flexDirection: "column",
|
|
2039
|
-
children: /* @__PURE__ */
|
|
2083
|
+
children: /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2040
2084
|
dimColor: true,
|
|
2041
2085
|
children: "Use /issue to report model behavior issues"
|
|
2042
2086
|
}, undefined, false, undefined, this)
|
|
2043
2087
|
}, undefined, false, undefined, this),
|
|
2044
|
-
process.env.USER_TYPE === "ant" && !process.env.DEMO_VERSION && /* @__PURE__ */
|
|
2088
|
+
process.env.USER_TYPE === "ant" && !process.env.DEMO_VERSION && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2045
2089
|
paddingLeft: 2,
|
|
2046
2090
|
flexDirection: "column",
|
|
2047
2091
|
children: [
|
|
2048
|
-
/* @__PURE__ */
|
|
2092
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2049
2093
|
color: "warning",
|
|
2050
2094
|
children: "[ANT-ONLY] Logs:"
|
|
2051
2095
|
}, undefined, false, undefined, this),
|
|
2052
|
-
/* @__PURE__ */
|
|
2096
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2053
2097
|
dimColor: true,
|
|
2054
2098
|
children: [
|
|
2055
2099
|
"API calls: ",
|
|
2056
2100
|
getDisplayPath(getDumpPromptsPath())
|
|
2057
2101
|
]
|
|
2058
2102
|
}, undefined, true, undefined, this),
|
|
2059
|
-
/* @__PURE__ */
|
|
2103
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2060
2104
|
dimColor: true,
|
|
2061
2105
|
children: [
|
|
2062
2106
|
"Debug logs: ",
|
|
2063
2107
|
getDisplayPath(getDebugLogPath())
|
|
2064
2108
|
]
|
|
2065
2109
|
}, undefined, true, undefined, this),
|
|
2066
|
-
isDetailedProfilingEnabled() && /* @__PURE__ */
|
|
2110
|
+
isDetailedProfilingEnabled() && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2067
2111
|
dimColor: true,
|
|
2068
2112
|
children: [
|
|
2069
2113
|
"Startup Perf: ",
|
|
@@ -2072,8 +2116,8 @@ function LogoV2() {
|
|
|
2072
2116
|
}, undefined, true, undefined, this)
|
|
2073
2117
|
]
|
|
2074
2118
|
}, undefined, true, undefined, this),
|
|
2075
|
-
process.env.USER_TYPE === "ant" && /* @__PURE__ */
|
|
2076
|
-
process.env.USER_TYPE === "ant" && /* @__PURE__ */
|
|
2119
|
+
process.env.USER_TYPE === "ant" && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(GateOverridesWarning, {}, undefined, false, undefined, this),
|
|
2120
|
+
process.env.USER_TYPE === "ant" && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ExperimentEnrollmentNotice, {}, undefined, false, undefined, this)
|
|
2077
2121
|
]
|
|
2078
2122
|
}, undefined, true, undefined, this);
|
|
2079
2123
|
}
|
|
@@ -2083,18 +2127,24 @@ function LogoV2() {
|
|
|
2083
2127
|
const compactBorderTitle = color("claude", userTheme)(" RedScope AI ");
|
|
2084
2128
|
if (layoutMode === "compact") {
|
|
2085
2129
|
const layoutWidth = 4;
|
|
2130
|
+
const contentWidth = Math.max(columns - layoutWidth, 1);
|
|
2086
2131
|
let welcomeMessage2 = formatWelcomeMessage(username);
|
|
2087
|
-
if (stringWidth(welcomeMessage2) >
|
|
2132
|
+
if (stringWidth(welcomeMessage2) > contentWidth) {
|
|
2088
2133
|
welcomeMessage2 = formatWelcomeMessage(null);
|
|
2089
2134
|
}
|
|
2090
|
-
const
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2135
|
+
const {
|
|
2136
|
+
shouldSplit: compactShouldSplit,
|
|
2137
|
+
truncatedModel: compactModel,
|
|
2138
|
+
truncatedBilling: compactBilling
|
|
2139
|
+
} = formatModelAndBilling(modelDisplayName, billingType, contentWidth);
|
|
2140
|
+
const compactAgentName = agentName ? truncate(`@${agentName}`, calculateInfoPillValueWidth(contentWidth, "agent")) : undefined;
|
|
2141
|
+
const compactUsedAgentWidth = compactAgentName ? calculateInfoPillWidth("agent", compactAgentName) + 1 : 0;
|
|
2142
|
+
const cwdAvailableWidth2 = compactAgentName ? contentWidth - compactUsedAgentWidth : contentWidth;
|
|
2143
|
+
const truncatedCwd2 = truncatePath(cwd, calculateInfoPillValueWidth(cwdAvailableWidth2, "cwd"));
|
|
2144
|
+
return /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(jsx_dev_runtime16.Fragment, {
|
|
2095
2145
|
children: [
|
|
2096
|
-
/* @__PURE__ */
|
|
2097
|
-
children: /* @__PURE__ */
|
|
2146
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(OffscreenFreeze, {
|
|
2147
|
+
children: /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2098
2148
|
flexDirection: "column",
|
|
2099
2149
|
borderStyle: "round",
|
|
2100
2150
|
borderColor: "claude",
|
|
@@ -2109,58 +2159,98 @@ function LogoV2() {
|
|
|
2109
2159
|
alignItems: "center",
|
|
2110
2160
|
width: columns,
|
|
2111
2161
|
children: [
|
|
2112
|
-
/* @__PURE__ */
|
|
2162
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2113
2163
|
bold: true,
|
|
2114
2164
|
children: welcomeMessage2
|
|
2115
2165
|
}, undefined, false, undefined, this),
|
|
2116
|
-
/* @__PURE__ */
|
|
2166
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2117
2167
|
marginY: 1,
|
|
2118
|
-
children: /* @__PURE__ */
|
|
2119
|
-
}, undefined, false, undefined, this),
|
|
2120
|
-
/* @__PURE__ */ jsx_dev_runtime15.jsxDEV(ThemedText, {
|
|
2121
|
-
dimColor: true,
|
|
2122
|
-
children: modelDisplayName
|
|
2123
|
-
}, undefined, false, undefined, this),
|
|
2124
|
-
/* @__PURE__ */ jsx_dev_runtime15.jsxDEV(ThemedText, {
|
|
2125
|
-
dimColor: true,
|
|
2126
|
-
children: billingType
|
|
2168
|
+
children: /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(Clawd, {}, undefined, false, undefined, this)
|
|
2127
2169
|
}, undefined, false, undefined, this),
|
|
2128
|
-
/* @__PURE__ */
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2170
|
+
compactShouldSplit ? /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(jsx_dev_runtime16.Fragment, {
|
|
2171
|
+
children: [
|
|
2172
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPillRow, {
|
|
2173
|
+
children: /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPill, {
|
|
2174
|
+
label: "model",
|
|
2175
|
+
color: "success",
|
|
2176
|
+
children: compactModel
|
|
2177
|
+
}, undefined, false, undefined, this)
|
|
2178
|
+
}, undefined, false, undefined, this),
|
|
2179
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPillRow, {
|
|
2180
|
+
children: /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPill, {
|
|
2181
|
+
label: "billing",
|
|
2182
|
+
color: "warning",
|
|
2183
|
+
children: compactBilling
|
|
2184
|
+
}, undefined, false, undefined, this)
|
|
2185
|
+
}, undefined, false, undefined, this)
|
|
2186
|
+
]
|
|
2187
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPillRow, {
|
|
2188
|
+
children: [
|
|
2189
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPill, {
|
|
2190
|
+
label: "model",
|
|
2191
|
+
color: "success",
|
|
2192
|
+
children: compactModel
|
|
2193
|
+
}, undefined, false, undefined, this),
|
|
2194
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPill, {
|
|
2195
|
+
label: "billing",
|
|
2196
|
+
color: "warning",
|
|
2197
|
+
children: compactBilling
|
|
2198
|
+
}, undefined, false, undefined, this)
|
|
2199
|
+
]
|
|
2200
|
+
}, undefined, true, undefined, this),
|
|
2201
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPillRow, {
|
|
2202
|
+
children: [
|
|
2203
|
+
compactAgentName && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPill, {
|
|
2204
|
+
label: "agent",
|
|
2205
|
+
color: "permission",
|
|
2206
|
+
children: compactAgentName
|
|
2207
|
+
}, undefined, false, undefined, this),
|
|
2208
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPill, {
|
|
2209
|
+
label: "cwd",
|
|
2210
|
+
color: "inactive",
|
|
2211
|
+
children: truncatedCwd2
|
|
2212
|
+
}, undefined, false, undefined, this)
|
|
2213
|
+
]
|
|
2214
|
+
}, undefined, true, undefined, this)
|
|
2132
2215
|
]
|
|
2133
2216
|
}, undefined, true, undefined, this)
|
|
2134
2217
|
}, undefined, false, undefined, this),
|
|
2135
|
-
/* @__PURE__ */
|
|
2136
|
-
/* @__PURE__ */
|
|
2137
|
-
ChannelsNoticeModule && /* @__PURE__ */
|
|
2138
|
-
showSandboxStatus && /* @__PURE__ */
|
|
2218
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(VoiceModeNotice, {}, undefined, false, undefined, this),
|
|
2219
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(Opus1mMergeNotice, {}, undefined, false, undefined, this),
|
|
2220
|
+
ChannelsNoticeModule && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ChannelsNoticeModule.ChannelsNotice, {}, undefined, false, undefined, this),
|
|
2221
|
+
showSandboxStatus && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2139
2222
|
marginTop: 1,
|
|
2140
2223
|
flexDirection: "column",
|
|
2141
|
-
children: /* @__PURE__ */
|
|
2224
|
+
children: /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2142
2225
|
color: "warning",
|
|
2143
2226
|
children: "Your bash commands will be sandboxed. Disable with /sandbox."
|
|
2144
2227
|
}, undefined, false, undefined, this)
|
|
2145
2228
|
}, undefined, false, undefined, this),
|
|
2146
|
-
process.env.USER_TYPE === "ant" && /* @__PURE__ */
|
|
2147
|
-
process.env.USER_TYPE === "ant" && /* @__PURE__ */
|
|
2229
|
+
process.env.USER_TYPE === "ant" && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(GateOverridesWarning, {}, undefined, false, undefined, this),
|
|
2230
|
+
process.env.USER_TYPE === "ant" && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ExperimentEnrollmentNotice, {}, undefined, false, undefined, this)
|
|
2148
2231
|
]
|
|
2149
2232
|
}, undefined, true, undefined, this);
|
|
2150
2233
|
}
|
|
2151
2234
|
const welcomeMessage = formatWelcomeMessage(username);
|
|
2152
|
-
const
|
|
2153
|
-
const
|
|
2154
|
-
const
|
|
2155
|
-
const cwdAvailableWidth = agentName ? LEFT_PANEL_MAX_WIDTH - cwdAtPrefix.length - stringWidth(agentName) - cwdSeparator.length : LEFT_PANEL_MAX_WIDTH;
|
|
2235
|
+
const organizationName = !process.env.IS_DEMO ? config.oauthAccount?.organizationName : undefined;
|
|
2236
|
+
const modelLine = organizationName ? `${modelDisplayName} | ${billingType} | ${organizationName}` : `${modelDisplayName} | ${billingType}`;
|
|
2237
|
+
const cwdAvailableWidth = agentName ? LEFT_PANEL_MAX_WIDTH - stringWidth(agentName) - 18 : LEFT_PANEL_MAX_WIDTH - 7;
|
|
2156
2238
|
const truncatedCwd = truncatePath(cwd, Math.max(cwdAvailableWidth, 10));
|
|
2157
|
-
const cwdLine = agentName ? `@${agentName}
|
|
2239
|
+
const cwdLine = agentName ? `@${agentName} | ${truncatedCwd}` : truncatedCwd;
|
|
2158
2240
|
const optimalLeftWidth = calculateOptimalLeftWidth(welcomeMessage, cwdLine, modelLine);
|
|
2159
2241
|
const { leftWidth, rightWidth } = calculateLayoutDimensions(columns, layoutMode, optimalLeftWidth);
|
|
2160
|
-
|
|
2242
|
+
const {
|
|
2243
|
+
shouldSplit: leftPanelShouldSplit,
|
|
2244
|
+
truncatedModel: leftPanelModel,
|
|
2245
|
+
truncatedBilling: leftPanelBilling
|
|
2246
|
+
} = formatModelAndBilling(modelDisplayName, billingType, leftWidth);
|
|
2247
|
+
const leftPanelAgentName = agentName ? truncate(`@${agentName}`, calculateInfoPillValueWidth(leftWidth, "agent")) : undefined;
|
|
2248
|
+
const leftPanelUsedAgentWidth = leftPanelAgentName ? calculateInfoPillWidth("agent", leftPanelAgentName) + 1 : 0;
|
|
2249
|
+
const leftPanelCwd = truncatePath(cwd, calculateInfoPillValueWidth(leftPanelAgentName ? leftWidth - leftPanelUsedAgentWidth : leftWidth, "cwd"));
|
|
2250
|
+
return /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(jsx_dev_runtime16.Fragment, {
|
|
2161
2251
|
children: [
|
|
2162
|
-
/* @__PURE__ */
|
|
2163
|
-
children: /* @__PURE__ */
|
|
2252
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(OffscreenFreeze, {
|
|
2253
|
+
children: /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2164
2254
|
flexDirection: "column",
|
|
2165
2255
|
borderStyle: "round",
|
|
2166
2256
|
borderColor: "claude",
|
|
@@ -2170,43 +2260,87 @@ function LogoV2() {
|
|
|
2170
2260
|
align: "start",
|
|
2171
2261
|
offset: 3
|
|
2172
2262
|
},
|
|
2173
|
-
children: /* @__PURE__ */
|
|
2263
|
+
children: /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2174
2264
|
flexDirection: layoutMode === "horizontal" ? "row" : "column",
|
|
2175
2265
|
paddingX: 1,
|
|
2176
2266
|
gap: 1,
|
|
2177
2267
|
children: [
|
|
2178
|
-
/* @__PURE__ */
|
|
2268
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2179
2269
|
flexDirection: "column",
|
|
2180
2270
|
width: leftWidth,
|
|
2181
2271
|
justifyContent: "space-between",
|
|
2182
2272
|
alignItems: "center",
|
|
2183
2273
|
minHeight: 9,
|
|
2184
2274
|
children: [
|
|
2185
|
-
/* @__PURE__ */
|
|
2275
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2186
2276
|
marginTop: 1,
|
|
2187
|
-
children: /* @__PURE__ */
|
|
2277
|
+
children: /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2188
2278
|
bold: true,
|
|
2189
2279
|
children: welcomeMessage
|
|
2190
2280
|
}, undefined, false, undefined, this)
|
|
2191
2281
|
}, undefined, false, undefined, this),
|
|
2192
|
-
/* @__PURE__ */
|
|
2193
|
-
/* @__PURE__ */
|
|
2282
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(Clawd, {}, undefined, false, undefined, this),
|
|
2283
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2194
2284
|
flexDirection: "column",
|
|
2195
2285
|
alignItems: "center",
|
|
2196
2286
|
children: [
|
|
2197
|
-
/* @__PURE__ */
|
|
2198
|
-
|
|
2199
|
-
|
|
2287
|
+
leftPanelShouldSplit ? /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(jsx_dev_runtime16.Fragment, {
|
|
2288
|
+
children: [
|
|
2289
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPillRow, {
|
|
2290
|
+
children: /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPill, {
|
|
2291
|
+
label: "model",
|
|
2292
|
+
color: "success",
|
|
2293
|
+
children: leftPanelModel
|
|
2294
|
+
}, undefined, false, undefined, this)
|
|
2295
|
+
}, undefined, false, undefined, this),
|
|
2296
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPillRow, {
|
|
2297
|
+
children: /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPill, {
|
|
2298
|
+
label: "billing",
|
|
2299
|
+
color: "warning",
|
|
2300
|
+
children: leftPanelBilling
|
|
2301
|
+
}, undefined, false, undefined, this)
|
|
2302
|
+
}, undefined, false, undefined, this)
|
|
2303
|
+
]
|
|
2304
|
+
}, undefined, true, undefined, this) : /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPillRow, {
|
|
2305
|
+
children: [
|
|
2306
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPill, {
|
|
2307
|
+
label: "model",
|
|
2308
|
+
color: "success",
|
|
2309
|
+
children: leftPanelModel
|
|
2310
|
+
}, undefined, false, undefined, this),
|
|
2311
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPill, {
|
|
2312
|
+
label: "billing",
|
|
2313
|
+
color: "warning",
|
|
2314
|
+
children: leftPanelBilling
|
|
2315
|
+
}, undefined, false, undefined, this)
|
|
2316
|
+
]
|
|
2317
|
+
}, undefined, true, undefined, this),
|
|
2318
|
+
organizationName && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPillRow, {
|
|
2319
|
+
children: /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPill, {
|
|
2320
|
+
label: "org",
|
|
2321
|
+
color: "permission",
|
|
2322
|
+
children: truncate(organizationName, LEFT_PANEL_MAX_WIDTH - 8)
|
|
2323
|
+
}, undefined, false, undefined, this)
|
|
2200
2324
|
}, undefined, false, undefined, this),
|
|
2201
|
-
/* @__PURE__ */
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2325
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPillRow, {
|
|
2326
|
+
children: [
|
|
2327
|
+
leftPanelAgentName && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPill, {
|
|
2328
|
+
label: "agent",
|
|
2329
|
+
color: "permission",
|
|
2330
|
+
children: leftPanelAgentName
|
|
2331
|
+
}, undefined, false, undefined, this),
|
|
2332
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(InfoPill, {
|
|
2333
|
+
label: "cwd",
|
|
2334
|
+
color: "inactive",
|
|
2335
|
+
children: leftPanelCwd
|
|
2336
|
+
}, undefined, false, undefined, this)
|
|
2337
|
+
]
|
|
2338
|
+
}, undefined, true, undefined, this)
|
|
2205
2339
|
]
|
|
2206
2340
|
}, undefined, true, undefined, this)
|
|
2207
2341
|
]
|
|
2208
2342
|
}, undefined, true, undefined, this),
|
|
2209
|
-
layoutMode === "horizontal" && /* @__PURE__ */
|
|
2343
|
+
layoutMode === "horizontal" && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2210
2344
|
height: "100%",
|
|
2211
2345
|
borderStyle: "single",
|
|
2212
2346
|
borderColor: "claude",
|
|
@@ -2215,38 +2349,26 @@ function LogoV2() {
|
|
|
2215
2349
|
borderBottom: false,
|
|
2216
2350
|
borderLeft: false
|
|
2217
2351
|
}, undefined, false, undefined, this),
|
|
2218
|
-
layoutMode === "horizontal" && /* @__PURE__ */
|
|
2219
|
-
feeds: showOnboarding ? [
|
|
2220
|
-
createProjectOnboardingFeed(getSteps()),
|
|
2221
|
-
createRecentActivityFeed(activities)
|
|
2222
|
-
] : showGuestPassesUpsell ? [
|
|
2223
|
-
createRecentActivityFeed(activities),
|
|
2224
|
-
createGuestPassesFeed()
|
|
2225
|
-
] : showOverageCreditUpsell ? [
|
|
2226
|
-
createRecentActivityFeed(activities),
|
|
2227
|
-
createOverageCreditFeed()
|
|
2228
|
-
] : [
|
|
2229
|
-
createRecentActivityFeed(activities),
|
|
2230
|
-
createWhatsNewFeed(changelog)
|
|
2231
|
-
],
|
|
2352
|
+
layoutMode === "horizontal" && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(FeedColumn, {
|
|
2353
|
+
feeds: showOnboarding ? [createProjectOnboardingFeed(getSteps()), createRecentActivityFeed(activities)] : showGuestPassesUpsell ? [createRecentActivityFeed(activities), createGuestPassesFeed()] : showOverageCreditUpsell ? [createRecentActivityFeed(activities), createOverageCreditFeed()] : [createRecentActivityFeed(activities), createWhatsNewFeed(changelog)],
|
|
2232
2354
|
maxWidth: rightWidth
|
|
2233
2355
|
}, undefined, false, undefined, this)
|
|
2234
2356
|
]
|
|
2235
2357
|
}, undefined, true, undefined, this)
|
|
2236
2358
|
}, undefined, false, undefined, this)
|
|
2237
2359
|
}, undefined, false, undefined, this),
|
|
2238
|
-
/* @__PURE__ */
|
|
2239
|
-
/* @__PURE__ */
|
|
2240
|
-
ChannelsNoticeModule && /* @__PURE__ */
|
|
2241
|
-
isDebugMode() && /* @__PURE__ */
|
|
2360
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(VoiceModeNotice, {}, undefined, false, undefined, this),
|
|
2361
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(Opus1mMergeNotice, {}, undefined, false, undefined, this),
|
|
2362
|
+
ChannelsNoticeModule && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ChannelsNoticeModule.ChannelsNotice, {}, undefined, false, undefined, this),
|
|
2363
|
+
isDebugMode() && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2242
2364
|
paddingLeft: 2,
|
|
2243
2365
|
flexDirection: "column",
|
|
2244
2366
|
children: [
|
|
2245
|
-
/* @__PURE__ */
|
|
2367
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2246
2368
|
color: "warning",
|
|
2247
2369
|
children: "Debug mode enabled"
|
|
2248
2370
|
}, undefined, false, undefined, this),
|
|
2249
|
-
/* @__PURE__ */
|
|
2371
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2250
2372
|
dimColor: true,
|
|
2251
2373
|
children: [
|
|
2252
2374
|
"Logging to: ",
|
|
@@ -2255,29 +2377,29 @@ function LogoV2() {
|
|
|
2255
2377
|
}, undefined, true, undefined, this)
|
|
2256
2378
|
]
|
|
2257
2379
|
}, undefined, true, undefined, this),
|
|
2258
|
-
/* @__PURE__ */
|
|
2259
|
-
process.env.CLAUDE_CODE_TMUX_SESSION && /* @__PURE__ */
|
|
2380
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(EmergencyTip, {}, undefined, false, undefined, this),
|
|
2381
|
+
process.env.CLAUDE_CODE_TMUX_SESSION && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2260
2382
|
paddingLeft: 2,
|
|
2261
2383
|
flexDirection: "column",
|
|
2262
2384
|
children: [
|
|
2263
|
-
/* @__PURE__ */
|
|
2385
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2264
2386
|
dimColor: true,
|
|
2265
2387
|
children: [
|
|
2266
2388
|
"tmux session: ",
|
|
2267
2389
|
process.env.CLAUDE_CODE_TMUX_SESSION
|
|
2268
2390
|
]
|
|
2269
2391
|
}, undefined, true, undefined, this),
|
|
2270
|
-
/* @__PURE__ */
|
|
2392
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2271
2393
|
dimColor: true,
|
|
2272
2394
|
children: process.env.CLAUDE_CODE_TMUX_PREFIX_CONFLICTS ? `Detach: ${process.env.CLAUDE_CODE_TMUX_PREFIX} ${process.env.CLAUDE_CODE_TMUX_PREFIX} d (press prefix twice - RedScope uses ${process.env.CLAUDE_CODE_TMUX_PREFIX})` : `Detach: ${process.env.CLAUDE_CODE_TMUX_PREFIX} d`
|
|
2273
2395
|
}, undefined, false, undefined, this)
|
|
2274
2396
|
]
|
|
2275
2397
|
}, undefined, true, undefined, this),
|
|
2276
|
-
announcement && /* @__PURE__ */
|
|
2398
|
+
announcement && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2277
2399
|
paddingLeft: 2,
|
|
2278
2400
|
flexDirection: "column",
|
|
2279
2401
|
children: [
|
|
2280
|
-
!process.env.IS_DEMO && config.oauthAccount?.organizationName && /* @__PURE__ */
|
|
2402
|
+
!process.env.IS_DEMO && config.oauthAccount?.organizationName && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2281
2403
|
dimColor: true,
|
|
2282
2404
|
children: [
|
|
2283
2405
|
"Message from ",
|
|
@@ -2285,50 +2407,50 @@ function LogoV2() {
|
|
|
2285
2407
|
":"
|
|
2286
2408
|
]
|
|
2287
2409
|
}, undefined, true, undefined, this),
|
|
2288
|
-
/* @__PURE__ */
|
|
2410
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2289
2411
|
children: announcement
|
|
2290
2412
|
}, undefined, false, undefined, this)
|
|
2291
2413
|
]
|
|
2292
2414
|
}, undefined, true, undefined, this),
|
|
2293
|
-
showSandboxStatus && /* @__PURE__ */
|
|
2415
|
+
showSandboxStatus && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2294
2416
|
paddingLeft: 2,
|
|
2295
2417
|
flexDirection: "column",
|
|
2296
|
-
children: /* @__PURE__ */
|
|
2418
|
+
children: /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2297
2419
|
color: "warning",
|
|
2298
2420
|
children: "Your bash commands will be sandboxed. Disable with /sandbox."
|
|
2299
2421
|
}, undefined, false, undefined, this)
|
|
2300
2422
|
}, undefined, false, undefined, this),
|
|
2301
|
-
process.env.USER_TYPE === "ant" && !process.env.DEMO_VERSION && /* @__PURE__ */
|
|
2423
|
+
process.env.USER_TYPE === "ant" && !process.env.DEMO_VERSION && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2302
2424
|
paddingLeft: 2,
|
|
2303
2425
|
flexDirection: "column",
|
|
2304
|
-
children: /* @__PURE__ */
|
|
2426
|
+
children: /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2305
2427
|
dimColor: true,
|
|
2306
2428
|
children: "Use /issue to report model behavior issues"
|
|
2307
2429
|
}, undefined, false, undefined, this)
|
|
2308
2430
|
}, undefined, false, undefined, this),
|
|
2309
|
-
process.env.USER_TYPE === "ant" && !process.env.DEMO_VERSION && /* @__PURE__ */
|
|
2431
|
+
process.env.USER_TYPE === "ant" && !process.env.DEMO_VERSION && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedBox_default, {
|
|
2310
2432
|
paddingLeft: 2,
|
|
2311
2433
|
flexDirection: "column",
|
|
2312
2434
|
children: [
|
|
2313
|
-
/* @__PURE__ */
|
|
2435
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2314
2436
|
color: "warning",
|
|
2315
2437
|
children: "[ANT-ONLY] Logs:"
|
|
2316
2438
|
}, undefined, false, undefined, this),
|
|
2317
|
-
/* @__PURE__ */
|
|
2439
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2318
2440
|
dimColor: true,
|
|
2319
2441
|
children: [
|
|
2320
2442
|
"API calls: ",
|
|
2321
2443
|
getDisplayPath(getDumpPromptsPath())
|
|
2322
2444
|
]
|
|
2323
2445
|
}, undefined, true, undefined, this),
|
|
2324
|
-
/* @__PURE__ */
|
|
2446
|
+
/* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2325
2447
|
dimColor: true,
|
|
2326
2448
|
children: [
|
|
2327
2449
|
"Debug logs: ",
|
|
2328
2450
|
getDisplayPath(getDebugLogPath())
|
|
2329
2451
|
]
|
|
2330
2452
|
}, undefined, true, undefined, this),
|
|
2331
|
-
isDetailedProfilingEnabled() && /* @__PURE__ */
|
|
2453
|
+
isDetailedProfilingEnabled() && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ThemedText, {
|
|
2332
2454
|
dimColor: true,
|
|
2333
2455
|
children: [
|
|
2334
2456
|
"Startup Perf: ",
|
|
@@ -2337,12 +2459,12 @@ function LogoV2() {
|
|
|
2337
2459
|
}, undefined, true, undefined, this)
|
|
2338
2460
|
]
|
|
2339
2461
|
}, undefined, true, undefined, this),
|
|
2340
|
-
process.env.USER_TYPE === "ant" && /* @__PURE__ */
|
|
2341
|
-
process.env.USER_TYPE === "ant" && /* @__PURE__ */
|
|
2462
|
+
process.env.USER_TYPE === "ant" && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(GateOverridesWarning, {}, undefined, false, undefined, this),
|
|
2463
|
+
process.env.USER_TYPE === "ant" && /* @__PURE__ */ jsx_dev_runtime16.jsxDEV(ExperimentEnrollmentNotice, {}, undefined, false, undefined, this)
|
|
2342
2464
|
]
|
|
2343
2465
|
}, undefined, true, undefined, this);
|
|
2344
2466
|
}
|
|
2345
|
-
var import_react11,
|
|
2467
|
+
var import_react11, jsx_dev_runtime16, ChannelsNoticeModule, LEFT_PANEL_MAX_WIDTH = 50;
|
|
2346
2468
|
var init_LogoV2 = __esm(() => {
|
|
2347
2469
|
init_src();
|
|
2348
2470
|
init_useTerminalSize();
|
|
@@ -2358,6 +2480,7 @@ var init_LogoV2 = __esm(() => {
|
|
|
2358
2480
|
init_debug();
|
|
2359
2481
|
init_projectOnboardingState();
|
|
2360
2482
|
init_CondensedLogo();
|
|
2483
|
+
init_InfoPill();
|
|
2361
2484
|
init_OffscreenFreeze();
|
|
2362
2485
|
init_releaseNotes();
|
|
2363
2486
|
init_dumpPrompts();
|
|
@@ -2376,15 +2499,12 @@ var init_LogoV2 = __esm(() => {
|
|
|
2376
2499
|
init_useMainLoopModel();
|
|
2377
2500
|
init_model();
|
|
2378
2501
|
import_react11 = __toESM(require_react(), 1);
|
|
2379
|
-
|
|
2502
|
+
jsx_dev_runtime16 = __toESM(require_jsx_dev_runtime(), 1);
|
|
2380
2503
|
ChannelsNoticeModule = (init_ChannelsNotice(), __toCommonJS(exports_ChannelsNotice));
|
|
2381
2504
|
});
|
|
2382
2505
|
|
|
2383
2506
|
// src/components/MessageModel.tsx
|
|
2384
|
-
function MessageModel({
|
|
2385
|
-
message,
|
|
2386
|
-
isTranscriptMode
|
|
2387
|
-
}) {
|
|
2507
|
+
function MessageModel({ message, isTranscriptMode }) {
|
|
2388
2508
|
const content = message.message?.content;
|
|
2389
2509
|
const contentArray = Array.isArray(content) ? content : [];
|
|
2390
2510
|
const shouldShowModel = isTranscriptMode && message.type === "assistant" && message.message?.model && contentArray.some((c) => c?.type === "text");
|
|
@@ -2392,25 +2512,22 @@ function MessageModel({
|
|
|
2392
2512
|
return null;
|
|
2393
2513
|
}
|
|
2394
2514
|
const model = message.message.model;
|
|
2395
|
-
return /* @__PURE__ */
|
|
2515
|
+
return /* @__PURE__ */ jsx_dev_runtime17.jsxDEV(ThemedBox_default, {
|
|
2396
2516
|
minWidth: stringWidth(model) + 8,
|
|
2397
|
-
children: /* @__PURE__ */
|
|
2517
|
+
children: /* @__PURE__ */ jsx_dev_runtime17.jsxDEV(ThemedText, {
|
|
2398
2518
|
dimColor: true,
|
|
2399
2519
|
children: model
|
|
2400
2520
|
}, undefined, false, undefined, this)
|
|
2401
2521
|
}, undefined, false, undefined, this);
|
|
2402
2522
|
}
|
|
2403
|
-
var
|
|
2523
|
+
var jsx_dev_runtime17;
|
|
2404
2524
|
var init_MessageModel = __esm(() => {
|
|
2405
2525
|
init_src();
|
|
2406
|
-
|
|
2526
|
+
jsx_dev_runtime17 = __toESM(require_jsx_dev_runtime(), 1);
|
|
2407
2527
|
});
|
|
2408
2528
|
|
|
2409
2529
|
// src/components/MessageTimestamp.tsx
|
|
2410
|
-
function MessageTimestamp({
|
|
2411
|
-
message,
|
|
2412
|
-
isTranscriptMode
|
|
2413
|
-
}) {
|
|
2530
|
+
function MessageTimestamp({ message, isTranscriptMode }) {
|
|
2414
2531
|
const shouldShowTimestamp = isTranscriptMode && message.timestamp && message.type === "assistant" && (Array.isArray(message.message.content) ? message.message.content.some((c) => c.type === "text") : false);
|
|
2415
2532
|
if (!shouldShowTimestamp) {
|
|
2416
2533
|
return null;
|
|
@@ -2420,18 +2537,18 @@ function MessageTimestamp({
|
|
|
2420
2537
|
minute: "2-digit",
|
|
2421
2538
|
hour12: true
|
|
2422
2539
|
});
|
|
2423
|
-
return /* @__PURE__ */
|
|
2540
|
+
return /* @__PURE__ */ jsx_dev_runtime18.jsxDEV(ThemedBox_default, {
|
|
2424
2541
|
minWidth: stringWidth(formattedTimestamp),
|
|
2425
|
-
children: /* @__PURE__ */
|
|
2542
|
+
children: /* @__PURE__ */ jsx_dev_runtime18.jsxDEV(ThemedText, {
|
|
2426
2543
|
dimColor: true,
|
|
2427
2544
|
children: formattedTimestamp
|
|
2428
2545
|
}, undefined, false, undefined, this)
|
|
2429
2546
|
}, undefined, false, undefined, this);
|
|
2430
2547
|
}
|
|
2431
|
-
var
|
|
2548
|
+
var jsx_dev_runtime18;
|
|
2432
2549
|
var init_MessageTimestamp = __esm(() => {
|
|
2433
2550
|
init_src();
|
|
2434
|
-
|
|
2551
|
+
jsx_dev_runtime18 = __toESM(require_jsx_dev_runtime(), 1);
|
|
2435
2552
|
});
|
|
2436
2553
|
|
|
2437
2554
|
// src/components/MessageRow.tsx
|
|
@@ -2513,8 +2630,8 @@ function MessageRowImpl({
|
|
|
2513
2630
|
shouldAnimate = !toolUseID || inProgressToolUseIDs.has(toolUseID);
|
|
2514
2631
|
}
|
|
2515
2632
|
}
|
|
2516
|
-
const hasMetadata = isTranscriptMode && displayMsg.type === "assistant" &&
|
|
2517
|
-
const messageEl = /* @__PURE__ */
|
|
2633
|
+
const hasMetadata = isTranscriptMode && displayMsg.type === "assistant" && Array.isArray(displayMsg.message.content) && displayMsg.message.content.some((c) => c.type === "text") && (displayMsg.timestamp || displayMsg.message.model);
|
|
2634
|
+
const messageEl = /* @__PURE__ */ jsx_dev_runtime19.jsxDEV(Message, {
|
|
2518
2635
|
message: msg,
|
|
2519
2636
|
lookups,
|
|
2520
2637
|
addMargin: !hasMetadata,
|
|
@@ -2536,26 +2653,26 @@ function MessageRowImpl({
|
|
|
2536
2653
|
shouldCollapseDiffs
|
|
2537
2654
|
}, undefined, false, undefined, this);
|
|
2538
2655
|
if (!hasMetadata) {
|
|
2539
|
-
return /* @__PURE__ */
|
|
2656
|
+
return /* @__PURE__ */ jsx_dev_runtime19.jsxDEV(OffscreenFreeze, {
|
|
2540
2657
|
children: messageEl
|
|
2541
2658
|
}, undefined, false, undefined, this);
|
|
2542
2659
|
}
|
|
2543
|
-
return /* @__PURE__ */
|
|
2544
|
-
children: /* @__PURE__ */
|
|
2660
|
+
return /* @__PURE__ */ jsx_dev_runtime19.jsxDEV(OffscreenFreeze, {
|
|
2661
|
+
children: /* @__PURE__ */ jsx_dev_runtime19.jsxDEV(ThemedBox_default, {
|
|
2545
2662
|
width: columns,
|
|
2546
2663
|
flexDirection: "column",
|
|
2547
2664
|
children: [
|
|
2548
|
-
/* @__PURE__ */
|
|
2665
|
+
/* @__PURE__ */ jsx_dev_runtime19.jsxDEV(ThemedBox_default, {
|
|
2549
2666
|
flexDirection: "row",
|
|
2550
2667
|
justifyContent: "flex-end",
|
|
2551
2668
|
gap: 1,
|
|
2552
2669
|
marginTop: 1,
|
|
2553
2670
|
children: [
|
|
2554
|
-
/* @__PURE__ */
|
|
2671
|
+
/* @__PURE__ */ jsx_dev_runtime19.jsxDEV(MessageTimestamp, {
|
|
2555
2672
|
message: displayMsg,
|
|
2556
2673
|
isTranscriptMode
|
|
2557
2674
|
}, undefined, false, undefined, this),
|
|
2558
|
-
/* @__PURE__ */
|
|
2675
|
+
/* @__PURE__ */ jsx_dev_runtime19.jsxDEV(MessageModel, {
|
|
2559
2676
|
message: displayMsg,
|
|
2560
2677
|
isTranscriptMode
|
|
2561
2678
|
}, undefined, false, undefined, this)
|
|
@@ -2625,7 +2742,7 @@ function areMessageRowPropsEqual(prev, next) {
|
|
|
2625
2742
|
return false;
|
|
2626
2743
|
return true;
|
|
2627
2744
|
}
|
|
2628
|
-
var React4,
|
|
2745
|
+
var React4, jsx_dev_runtime19, firstBlock = (content) => {
|
|
2629
2746
|
if (!Array.isArray(content))
|
|
2630
2747
|
return;
|
|
2631
2748
|
const b = content[0];
|
|
@@ -2643,7 +2760,7 @@ var init_MessageRow = __esm(() => {
|
|
|
2643
2760
|
init_MessageTimestamp();
|
|
2644
2761
|
init_OffscreenFreeze();
|
|
2645
2762
|
React4 = __toESM(require_react(), 1);
|
|
2646
|
-
|
|
2763
|
+
jsx_dev_runtime19 = __toESM(require_jsx_dev_runtime(), 1);
|
|
2647
2764
|
MessageRow = React4.memo(MessageRowImpl, areMessageRowPropsEqual);
|
|
2648
2765
|
});
|
|
2649
2766
|
|
|
@@ -2652,7 +2769,7 @@ import { relative } from "path";
|
|
|
2652
2769
|
function getActiveNotices(context) {
|
|
2653
2770
|
return statusNoticeDefinitions.filter((notice) => notice.isActive(context));
|
|
2654
2771
|
}
|
|
2655
|
-
var
|
|
2772
|
+
var jsx_dev_runtime20, largeMemoryFilesNotice, claudeAiSubscriberExternalTokenNotice, apiKeyConflictNotice, bothAuthMethodsNotice, largeAgentDescriptionsNotice, jetbrainsPluginNotice, statusNoticeDefinitions;
|
|
2656
2773
|
var init_statusNoticeDefinitions = __esm(() => {
|
|
2657
2774
|
init_src();
|
|
2658
2775
|
init_claudemd();
|
|
@@ -2663,28 +2780,28 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
2663
2780
|
init_statusNoticeHelpers();
|
|
2664
2781
|
init_ide();
|
|
2665
2782
|
init_jetbrains();
|
|
2666
|
-
|
|
2783
|
+
jsx_dev_runtime20 = __toESM(require_jsx_dev_runtime(), 1);
|
|
2667
2784
|
largeMemoryFilesNotice = {
|
|
2668
2785
|
id: "large-memory-files",
|
|
2669
2786
|
type: "warning",
|
|
2670
2787
|
isActive: (ctx) => getLargeMemoryFiles(ctx.memoryFiles).length > 0,
|
|
2671
2788
|
render: (ctx) => {
|
|
2672
2789
|
const largeMemoryFiles = getLargeMemoryFiles(ctx.memoryFiles);
|
|
2673
|
-
return /* @__PURE__ */
|
|
2790
|
+
return /* @__PURE__ */ jsx_dev_runtime20.jsxDEV(jsx_dev_runtime20.Fragment, {
|
|
2674
2791
|
children: largeMemoryFiles.map((file) => {
|
|
2675
2792
|
const displayPath = file.path.startsWith(getCwd()) ? relative(getCwd(), file.path) : file.path;
|
|
2676
|
-
return /* @__PURE__ */
|
|
2793
|
+
return /* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedBox_default, {
|
|
2677
2794
|
flexDirection: "row",
|
|
2678
2795
|
children: [
|
|
2679
|
-
/* @__PURE__ */
|
|
2796
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2680
2797
|
color: "warning",
|
|
2681
2798
|
children: figures_default.warning
|
|
2682
2799
|
}, undefined, false, undefined, this),
|
|
2683
|
-
/* @__PURE__ */
|
|
2800
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2684
2801
|
color: "warning",
|
|
2685
2802
|
children: [
|
|
2686
2803
|
"Large ",
|
|
2687
|
-
/* @__PURE__ */
|
|
2804
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2688
2805
|
bold: true,
|
|
2689
2806
|
children: displayPath
|
|
2690
2807
|
}, undefined, false, undefined, this),
|
|
@@ -2693,7 +2810,7 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
2693
2810
|
" chars > ",
|
|
2694
2811
|
formatNumber(MAX_MEMORY_CHARACTER_COUNT),
|
|
2695
2812
|
")",
|
|
2696
|
-
/* @__PURE__ */
|
|
2813
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2697
2814
|
dimColor: true,
|
|
2698
2815
|
children: " \xB7 /memory to edit"
|
|
2699
2816
|
}, undefined, false, undefined, this)
|
|
@@ -2714,15 +2831,15 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
2714
2831
|
},
|
|
2715
2832
|
render: () => {
|
|
2716
2833
|
const authTokenInfo = getAuthTokenSource();
|
|
2717
|
-
return /* @__PURE__ */
|
|
2834
|
+
return /* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedBox_default, {
|
|
2718
2835
|
flexDirection: "row",
|
|
2719
2836
|
marginTop: 1,
|
|
2720
2837
|
children: [
|
|
2721
|
-
/* @__PURE__ */
|
|
2838
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2722
2839
|
color: "warning",
|
|
2723
2840
|
children: figures_default.warning
|
|
2724
2841
|
}, undefined, false, undefined, this),
|
|
2725
|
-
/* @__PURE__ */
|
|
2842
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2726
2843
|
color: "warning",
|
|
2727
2844
|
children: [
|
|
2728
2845
|
"Auth conflict: Using ",
|
|
@@ -2750,15 +2867,15 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
2750
2867
|
const { source: apiKeySource } = getAnthropicApiKeyWithSource({
|
|
2751
2868
|
skipRetrievingKeyFromApiKeyHelper: true
|
|
2752
2869
|
});
|
|
2753
|
-
return /* @__PURE__ */
|
|
2870
|
+
return /* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedBox_default, {
|
|
2754
2871
|
flexDirection: "row",
|
|
2755
2872
|
marginTop: 1,
|
|
2756
2873
|
children: [
|
|
2757
|
-
/* @__PURE__ */
|
|
2874
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2758
2875
|
color: "warning",
|
|
2759
2876
|
children: figures_default.warning
|
|
2760
2877
|
}, undefined, false, undefined, this),
|
|
2761
|
-
/* @__PURE__ */
|
|
2878
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2762
2879
|
color: "warning",
|
|
2763
2880
|
children: [
|
|
2764
2881
|
"Auth conflict: Using ",
|
|
@@ -2787,18 +2904,18 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
2787
2904
|
skipRetrievingKeyFromApiKeyHelper: true
|
|
2788
2905
|
});
|
|
2789
2906
|
const authTokenInfo = getAuthTokenSource();
|
|
2790
|
-
return /* @__PURE__ */
|
|
2907
|
+
return /* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedBox_default, {
|
|
2791
2908
|
flexDirection: "column",
|
|
2792
2909
|
marginTop: 1,
|
|
2793
2910
|
children: [
|
|
2794
|
-
/* @__PURE__ */
|
|
2911
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedBox_default, {
|
|
2795
2912
|
flexDirection: "row",
|
|
2796
2913
|
children: [
|
|
2797
|
-
/* @__PURE__ */
|
|
2914
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2798
2915
|
color: "warning",
|
|
2799
2916
|
children: figures_default.warning
|
|
2800
2917
|
}, undefined, false, undefined, this),
|
|
2801
|
-
/* @__PURE__ */
|
|
2918
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2802
2919
|
color: "warning",
|
|
2803
2920
|
children: [
|
|
2804
2921
|
"Auth conflict: Both a token (",
|
|
@@ -2810,11 +2927,11 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
2810
2927
|
}, undefined, true, undefined, this)
|
|
2811
2928
|
]
|
|
2812
2929
|
}, undefined, true, undefined, this),
|
|
2813
|
-
/* @__PURE__ */
|
|
2930
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedBox_default, {
|
|
2814
2931
|
flexDirection: "column",
|
|
2815
2932
|
marginLeft: 3,
|
|
2816
2933
|
children: [
|
|
2817
|
-
/* @__PURE__ */
|
|
2934
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2818
2935
|
color: "warning",
|
|
2819
2936
|
children: [
|
|
2820
2937
|
"\xB7 Trying to use ",
|
|
@@ -2824,7 +2941,7 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
2824
2941
|
apiKeySource === "ANTHROPIC_API_KEY" ? 'Unset the ANTHROPIC_API_KEY environment variable, or redscope /logout then say "No" to the API key approval before login.' : apiKeySource === "apiKeyHelper" ? "Unset the apiKeyHelper setting." : "redscope /logout"
|
|
2825
2942
|
]
|
|
2826
2943
|
}, undefined, true, undefined, this),
|
|
2827
|
-
/* @__PURE__ */
|
|
2944
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2828
2945
|
color: "warning",
|
|
2829
2946
|
children: [
|
|
2830
2947
|
"\xB7 Trying to use ",
|
|
@@ -2849,14 +2966,14 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
2849
2966
|
},
|
|
2850
2967
|
render: (context) => {
|
|
2851
2968
|
const totalTokens = getAgentDescriptionsTotalTokens(context.agentDefinitions);
|
|
2852
|
-
return /* @__PURE__ */
|
|
2969
|
+
return /* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedBox_default, {
|
|
2853
2970
|
flexDirection: "row",
|
|
2854
2971
|
children: [
|
|
2855
|
-
/* @__PURE__ */
|
|
2972
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2856
2973
|
color: "warning",
|
|
2857
2974
|
children: figures_default.warning
|
|
2858
2975
|
}, undefined, false, undefined, this),
|
|
2859
|
-
/* @__PURE__ */
|
|
2976
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2860
2977
|
color: "warning",
|
|
2861
2978
|
children: [
|
|
2862
2979
|
"Large cumulative agent descriptions will impact performance (~",
|
|
@@ -2864,7 +2981,7 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
2864
2981
|
" tokens > ",
|
|
2865
2982
|
formatNumber(AGENT_DESCRIPTIONS_THRESHOLD),
|
|
2866
2983
|
")",
|
|
2867
|
-
/* @__PURE__ */
|
|
2984
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2868
2985
|
dimColor: true,
|
|
2869
2986
|
children: " \xB7 /agents to manage"
|
|
2870
2987
|
}, undefined, false, undefined, this)
|
|
@@ -2891,25 +3008,25 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
2891
3008
|
render: () => {
|
|
2892
3009
|
const ideType = getTerminalIdeType();
|
|
2893
3010
|
const ideName = toIDEDisplayName(ideType);
|
|
2894
|
-
return /* @__PURE__ */
|
|
3011
|
+
return /* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedBox_default, {
|
|
2895
3012
|
flexDirection: "row",
|
|
2896
3013
|
gap: 1,
|
|
2897
3014
|
marginLeft: 1,
|
|
2898
3015
|
children: [
|
|
2899
|
-
/* @__PURE__ */
|
|
3016
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2900
3017
|
color: "ide",
|
|
2901
3018
|
children: figures_default.arrowUp
|
|
2902
3019
|
}, undefined, false, undefined, this),
|
|
2903
|
-
/* @__PURE__ */
|
|
3020
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2904
3021
|
children: [
|
|
2905
3022
|
"Install the ",
|
|
2906
|
-
/* @__PURE__ */
|
|
3023
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2907
3024
|
color: "ide",
|
|
2908
3025
|
children: ideName
|
|
2909
3026
|
}, undefined, false, undefined, this),
|
|
2910
3027
|
" plugin from the JetBrains Marketplace:",
|
|
2911
3028
|
" ",
|
|
2912
|
-
/* @__PURE__ */
|
|
3029
|
+
/* @__PURE__ */ jsx_dev_runtime20.jsxDEV(ThemedText, {
|
|
2913
3030
|
bold: true,
|
|
2914
3031
|
children: "https://docs.claude.com/s/claude-code-jetbrains"
|
|
2915
3032
|
}, undefined, false, undefined, this)
|
|
@@ -2930,9 +3047,7 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
2930
3047
|
});
|
|
2931
3048
|
|
|
2932
3049
|
// src/components/StatusNotices.tsx
|
|
2933
|
-
function StatusNotices({
|
|
2934
|
-
agentDefinitions
|
|
2935
|
-
} = {}) {
|
|
3050
|
+
function StatusNotices({ agentDefinitions } = {}) {
|
|
2936
3051
|
const context = {
|
|
2937
3052
|
config: getGlobalConfig(),
|
|
2938
3053
|
agentDefinitions,
|
|
@@ -2942,15 +3057,15 @@ function StatusNotices({
|
|
|
2942
3057
|
if (activeNotices.length === 0) {
|
|
2943
3058
|
return null;
|
|
2944
3059
|
}
|
|
2945
|
-
return /* @__PURE__ */
|
|
3060
|
+
return /* @__PURE__ */ jsx_dev_runtime21.jsxDEV(ThemedBox_default, {
|
|
2946
3061
|
flexDirection: "column",
|
|
2947
3062
|
paddingLeft: 1,
|
|
2948
|
-
children: activeNotices.map((notice) => /* @__PURE__ */
|
|
3063
|
+
children: activeNotices.map((notice) => /* @__PURE__ */ jsx_dev_runtime21.jsxDEV(React5.Fragment, {
|
|
2949
3064
|
children: notice.render(context)
|
|
2950
3065
|
}, notice.id, false, undefined, this))
|
|
2951
3066
|
}, undefined, false, undefined, this);
|
|
2952
3067
|
}
|
|
2953
|
-
var React5, import_react12,
|
|
3068
|
+
var React5, import_react12, jsx_dev_runtime21;
|
|
2954
3069
|
var init_StatusNotices = __esm(() => {
|
|
2955
3070
|
init_src();
|
|
2956
3071
|
init_claudemd();
|
|
@@ -2958,7 +3073,7 @@ var init_StatusNotices = __esm(() => {
|
|
|
2958
3073
|
init_statusNoticeDefinitions();
|
|
2959
3074
|
React5 = __toESM(require_react(), 1);
|
|
2960
3075
|
import_react12 = __toESM(require_react(), 1);
|
|
2961
|
-
|
|
3076
|
+
jsx_dev_runtime21 = __toESM(require_jsx_dev_runtime(), 1);
|
|
2962
3077
|
});
|
|
2963
3078
|
|
|
2964
3079
|
// src/hooks/useVirtualScroll.ts
|
|
@@ -3285,7 +3400,7 @@ function VirtualItem({
|
|
|
3285
3400
|
onLeaveK,
|
|
3286
3401
|
renderItem
|
|
3287
3402
|
}) {
|
|
3288
|
-
return /* @__PURE__ */
|
|
3403
|
+
return /* @__PURE__ */ jsx_dev_runtime22.jsxDEV(ThemedBox_default, {
|
|
3289
3404
|
ref: measureRef(k),
|
|
3290
3405
|
flexDirection: "column",
|
|
3291
3406
|
backgroundColor: expanded ? "userMessageBackgroundHover" : undefined,
|
|
@@ -3293,7 +3408,7 @@ function VirtualItem({
|
|
|
3293
3408
|
onClick: clickable ? (e) => onClickK(msg, e.cellIsBlank) : undefined,
|
|
3294
3409
|
onMouseEnter: clickable ? () => onEnterK(k) : undefined,
|
|
3295
3410
|
onMouseLeave: clickable ? () => onLeaveK(k) : undefined,
|
|
3296
|
-
children: /* @__PURE__ */
|
|
3411
|
+
children: /* @__PURE__ */ jsx_dev_runtime22.jsxDEV(TextHoverColorContext.Provider, {
|
|
3297
3412
|
value: hovered && !expanded ? "text" : undefined,
|
|
3298
3413
|
children: renderItem(msg, idx)
|
|
3299
3414
|
}, undefined, false, undefined, this)
|
|
@@ -3665,9 +3780,9 @@ function VirtualMessageList({
|
|
|
3665
3780
|
const onLeaveK = import_react14.useCallback((k) => {
|
|
3666
3781
|
handlersRef.current.setHoveredKey((prev) => prev === k ? null : prev);
|
|
3667
3782
|
}, []);
|
|
3668
|
-
return /* @__PURE__ */
|
|
3783
|
+
return /* @__PURE__ */ jsx_dev_runtime22.jsxDEV(jsx_dev_runtime22.Fragment, {
|
|
3669
3784
|
children: [
|
|
3670
|
-
/* @__PURE__ */
|
|
3785
|
+
/* @__PURE__ */ jsx_dev_runtime22.jsxDEV(ThemedBox_default, {
|
|
3671
3786
|
ref: spacerRef,
|
|
3672
3787
|
height: topSpacer,
|
|
3673
3788
|
flexShrink: 0
|
|
@@ -3678,7 +3793,7 @@ function VirtualMessageList({
|
|
|
3678
3793
|
const clickable = !!onItemClick && (isItemClickable?.(msg) ?? true);
|
|
3679
3794
|
const hovered = clickable && hoveredKey === k;
|
|
3680
3795
|
const expanded = isItemExpanded?.(msg);
|
|
3681
|
-
return /* @__PURE__ */
|
|
3796
|
+
return /* @__PURE__ */ jsx_dev_runtime22.jsxDEV(VirtualItem, {
|
|
3682
3797
|
itemKey: k,
|
|
3683
3798
|
msg,
|
|
3684
3799
|
idx,
|
|
@@ -3692,11 +3807,11 @@ function VirtualMessageList({
|
|
|
3692
3807
|
renderItem
|
|
3693
3808
|
}, k, false, undefined, this);
|
|
3694
3809
|
}),
|
|
3695
|
-
bottomSpacer > 0 && /* @__PURE__ */
|
|
3810
|
+
bottomSpacer > 0 && /* @__PURE__ */ jsx_dev_runtime22.jsxDEV(ThemedBox_default, {
|
|
3696
3811
|
height: bottomSpacer,
|
|
3697
3812
|
flexShrink: 0
|
|
3698
3813
|
}, undefined, false, undefined, this),
|
|
3699
|
-
trackStickyPrompt && /* @__PURE__ */
|
|
3814
|
+
trackStickyPrompt && /* @__PURE__ */ jsx_dev_runtime22.jsxDEV(StickyTracker, {
|
|
3700
3815
|
messages,
|
|
3701
3816
|
start,
|
|
3702
3817
|
end,
|
|
@@ -3812,7 +3927,7 @@ function StickyTracker({
|
|
|
3812
3927
|
});
|
|
3813
3928
|
return null;
|
|
3814
3929
|
}
|
|
3815
|
-
var import_react14,
|
|
3930
|
+
var import_react14, jsx_dev_runtime22, HEADROOM = 3, fallbackLowerCache, STICKY_TEXT_CAP = 500, promptTextCache, NOOP_UNSUB2 = () => {};
|
|
3816
3931
|
var init_VirtualMessageList = __esm(() => {
|
|
3817
3932
|
init_useVirtualScroll();
|
|
3818
3933
|
init_src();
|
|
@@ -3823,7 +3938,7 @@ var init_VirtualMessageList = __esm(() => {
|
|
|
3823
3938
|
init_transcriptSearch();
|
|
3824
3939
|
init_messageActions();
|
|
3825
3940
|
import_react14 = __toESM(require_react(), 1);
|
|
3826
|
-
|
|
3941
|
+
jsx_dev_runtime22 = __toESM(require_jsx_dev_runtime(), 1);
|
|
3827
3942
|
fallbackLowerCache = new WeakMap;
|
|
3828
3943
|
promptTextCache = new WeakMap;
|
|
3829
3944
|
});
|
|
@@ -3960,7 +4075,7 @@ function shouldRenderStatically(message, streamingToolUseIDs, inProgressToolUseI
|
|
|
3960
4075
|
return true;
|
|
3961
4076
|
}
|
|
3962
4077
|
}
|
|
3963
|
-
var React6, import_react15,
|
|
4078
|
+
var React6, import_react15, jsx_dev_runtime23, LogoHeader, proactiveModule, BRIEF_TOOL_NAME, SEND_USER_FILE_TOOL_NAME, MAX_MESSAGES_TO_SHOW_IN_TRANSCRIPT_MODE = 30, MAX_MESSAGES_WITHOUT_VIRTUALIZATION = 200, MESSAGE_CAP_STEP = 50, MessagesImpl = ({
|
|
3964
4079
|
messages,
|
|
3965
4080
|
tools,
|
|
3966
4081
|
commands,
|
|
@@ -4163,7 +4278,7 @@ var React6, import_react15, jsx_dev_runtime22, LogoHeader, proactiveModule, BRIE
|
|
|
4163
4278
|
const DIFF_COLLAPSE_DISTANCE = 0;
|
|
4164
4279
|
const shouldCollapseDiffs = renderableMessages.length - 1 - index > DIFF_COLLAPSE_DISTANCE;
|
|
4165
4280
|
const k = messageKey(msg);
|
|
4166
|
-
const row = /* @__PURE__ */
|
|
4281
|
+
const row = /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(MessageRow, {
|
|
4167
4282
|
message: msg,
|
|
4168
4283
|
isUserContinuation,
|
|
4169
4284
|
hasContentAfter,
|
|
@@ -4182,15 +4297,15 @@ var React6, import_react15, jsx_dev_runtime22, LogoHeader, proactiveModule, BRIE
|
|
|
4182
4297
|
lookups,
|
|
4183
4298
|
shouldCollapseDiffs
|
|
4184
4299
|
}, k, false, undefined, this);
|
|
4185
|
-
const wrapped = /* @__PURE__ */
|
|
4300
|
+
const wrapped = /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(MessageActionsSelectedContext.Provider, {
|
|
4186
4301
|
value: index === selectedIdx,
|
|
4187
4302
|
children: row
|
|
4188
4303
|
}, k, false, undefined, this);
|
|
4189
4304
|
if (unseenDivider && index === dividerBeforeIndex) {
|
|
4190
4305
|
return [
|
|
4191
|
-
/* @__PURE__ */
|
|
4306
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsxDEV(ThemedBox_default, {
|
|
4192
4307
|
marginTop: 1,
|
|
4193
|
-
children: /* @__PURE__ */
|
|
4308
|
+
children: /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(Divider, {
|
|
4194
4309
|
title: `${unseenDivider.count} new ${plural(unseenDivider.count, "message")}`,
|
|
4195
4310
|
width: columns,
|
|
4196
4311
|
color: "inactive"
|
|
@@ -4221,22 +4336,22 @@ var React6, import_react15, jsx_dev_runtime22, LogoHeader, proactiveModule, BRIE
|
|
|
4221
4336
|
searchTextCache2.current.set(msg, lowered);
|
|
4222
4337
|
return lowered;
|
|
4223
4338
|
}, [tools, lookups]);
|
|
4224
|
-
return /* @__PURE__ */
|
|
4339
|
+
return /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(jsx_dev_runtime23.Fragment, {
|
|
4225
4340
|
children: [
|
|
4226
|
-
!hideLogo && !(renderRange && renderRange[0] > 0) && /* @__PURE__ */
|
|
4341
|
+
!hideLogo && !(renderRange && renderRange[0] > 0) && /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(LogoHeader, {
|
|
4227
4342
|
agentDefinitions
|
|
4228
4343
|
}, undefined, false, undefined, this),
|
|
4229
|
-
hasTruncatedMessages && /* @__PURE__ */
|
|
4344
|
+
hasTruncatedMessages && /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(Divider, {
|
|
4230
4345
|
title: `${toggleShowAllShortcut} to show ${source_default.bold(hiddenMessageCount)} previous messages`,
|
|
4231
4346
|
width: columns
|
|
4232
4347
|
}, undefined, false, undefined, this),
|
|
4233
|
-
isTranscriptMode && showAllInTranscript && hiddenMessageCount > 0 && !disableRenderCap && /* @__PURE__ */
|
|
4348
|
+
isTranscriptMode && showAllInTranscript && hiddenMessageCount > 0 && !disableRenderCap && /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(Divider, {
|
|
4234
4349
|
title: `${toggleShowAllShortcut} to hide ${source_default.bold(hiddenMessageCount)} previous messages`,
|
|
4235
4350
|
width: columns
|
|
4236
4351
|
}, undefined, false, undefined, this),
|
|
4237
|
-
virtualScrollRuntimeGate ? /* @__PURE__ */
|
|
4352
|
+
virtualScrollRuntimeGate ? /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(InVirtualListContext.Provider, {
|
|
4238
4353
|
value: true,
|
|
4239
|
-
children: /* @__PURE__ */
|
|
4354
|
+
children: /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(VirtualMessageList, {
|
|
4240
4355
|
messages: renderableMessages,
|
|
4241
4356
|
scrollRef,
|
|
4242
4357
|
columns,
|
|
@@ -4256,33 +4371,33 @@ var React6, import_react15, jsx_dev_runtime22, LogoHeader, proactiveModule, BRIE
|
|
|
4256
4371
|
extractSearchText
|
|
4257
4372
|
}, undefined, false, undefined, this)
|
|
4258
4373
|
}, undefined, false, undefined, this) : renderableMessages.flatMap(renderMessageRow),
|
|
4259
|
-
streamingText && !isBriefOnly && /* @__PURE__ */
|
|
4374
|
+
streamingText && !isBriefOnly && /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(ThemedBox_default, {
|
|
4260
4375
|
alignItems: "flex-start",
|
|
4261
4376
|
flexDirection: "row",
|
|
4262
4377
|
marginTop: 1,
|
|
4263
4378
|
width: "100%",
|
|
4264
|
-
children: /* @__PURE__ */
|
|
4379
|
+
children: /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(ThemedBox_default, {
|
|
4265
4380
|
flexDirection: "row",
|
|
4266
4381
|
children: [
|
|
4267
|
-
/* @__PURE__ */
|
|
4382
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsxDEV(ThemedBox_default, {
|
|
4268
4383
|
minWidth: 2,
|
|
4269
|
-
children: /* @__PURE__ */
|
|
4384
|
+
children: /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(ThemedText, {
|
|
4270
4385
|
color: "text",
|
|
4271
4386
|
children: BLACK_CIRCLE
|
|
4272
4387
|
}, undefined, false, undefined, this)
|
|
4273
4388
|
}, undefined, false, undefined, this),
|
|
4274
|
-
/* @__PURE__ */
|
|
4389
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsxDEV(ThemedBox_default, {
|
|
4275
4390
|
flexDirection: "column",
|
|
4276
|
-
children: /* @__PURE__ */
|
|
4391
|
+
children: /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(StreamingMarkdown, {
|
|
4277
4392
|
children: streamingText
|
|
4278
4393
|
}, undefined, false, undefined, this)
|
|
4279
4394
|
}, undefined, false, undefined, this)
|
|
4280
4395
|
]
|
|
4281
4396
|
}, undefined, true, undefined, this)
|
|
4282
4397
|
}, undefined, false, undefined, this),
|
|
4283
|
-
isStreamingThinkingVisible && streamingThinking && !isBriefOnly && /* @__PURE__ */
|
|
4398
|
+
isStreamingThinkingVisible && streamingThinking && !isBriefOnly && /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(ThemedBox_default, {
|
|
4284
4399
|
marginTop: 1,
|
|
4285
|
-
children: /* @__PURE__ */
|
|
4400
|
+
children: /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(AssistantThinkingMessage, {
|
|
4286
4401
|
param: {
|
|
4287
4402
|
type: "thinking",
|
|
4288
4403
|
thinking: streamingThinking.thinking
|
|
@@ -4330,19 +4445,19 @@ var init_Messages = __esm(() => {
|
|
|
4330
4445
|
init_VirtualMessageList();
|
|
4331
4446
|
React6 = __toESM(require_react(), 1);
|
|
4332
4447
|
import_react15 = __toESM(require_react(), 1);
|
|
4333
|
-
|
|
4448
|
+
jsx_dev_runtime23 = __toESM(require_jsx_dev_runtime(), 1);
|
|
4334
4449
|
LogoHeader = React6.memo(function LogoHeader2({
|
|
4335
4450
|
agentDefinitions
|
|
4336
4451
|
}) {
|
|
4337
|
-
return /* @__PURE__ */
|
|
4338
|
-
children: /* @__PURE__ */
|
|
4452
|
+
return /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(OffscreenFreeze, {
|
|
4453
|
+
children: /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(ThemedBox_default, {
|
|
4339
4454
|
flexDirection: "column",
|
|
4340
4455
|
gap: 1,
|
|
4341
4456
|
children: [
|
|
4342
|
-
/* @__PURE__ */
|
|
4343
|
-
/* @__PURE__ */
|
|
4457
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsxDEV(LogoV2, {}, undefined, false, undefined, this),
|
|
4458
|
+
/* @__PURE__ */ jsx_dev_runtime23.jsxDEV(React6.Suspense, {
|
|
4344
4459
|
fallback: null,
|
|
4345
|
-
children: /* @__PURE__ */
|
|
4460
|
+
children: /* @__PURE__ */ jsx_dev_runtime23.jsxDEV(StatusNotices, {
|
|
4346
4461
|
agentDefinitions
|
|
4347
4462
|
}, undefined, false, undefined, this)
|
|
4348
4463
|
}, undefined, false, undefined, this)
|