claude-code-best 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -11
- package/dist/{chunk-d4qdesrx.js → chunk-0051wr8d.js} +2 -2
- package/dist/{chunk-77dnrj5q.js → chunk-03spjt6z.js} +42 -42
- package/dist/{chunk-ekpm458a.js → chunk-057p2c7q.js} +44 -44
- package/dist/{chunk-jy4dnnjk.js → chunk-05p2rq7p.js} +9 -7
- package/dist/{chunk-c4g5qaey.js → chunk-0bged80h.js} +4 -4
- package/dist/{chunk-w0pf4mvz.js → chunk-0ks6dz1s.js} +7 -7
- package/dist/{chunk-nz7sgbbr.js → chunk-0m3cqq85.js} +4 -4
- package/dist/{chunk-3g6kvmg4.js → chunk-0nae74g7.js} +2 -2
- package/dist/{chunk-cxmyg49v.js → chunk-0spb0sqd.js} +2 -2
- package/dist/{chunk-jnfd01as.js → chunk-0w7nszy9.js} +5 -5
- package/dist/{chunk-jge10dbd.js → chunk-0x2wtgpc.js} +1 -1
- package/dist/{chunk-t2822cex.js → chunk-0x6bwqtj.js} +39 -39
- package/dist/{chunk-a85wqwq4.js → chunk-12yafvjz.js} +36 -36
- package/dist/{chunk-3vc6mx77.js → chunk-136cpn7r.js} +43 -43
- package/dist/{chunk-rhjb0dgd.js → chunk-140880hg.js} +11 -11
- package/dist/{chunk-zb0mctxm.js → chunk-18dacfjw.js} +3 -3
- package/dist/{chunk-ja21qbpj.js → chunk-1avwhb0y.js} +42 -42
- package/dist/{chunk-dyp88vca.js → chunk-1byxenrx.js} +38 -38
- package/dist/{chunk-bevwqet9.js → chunk-1cvzdf3f.js} +41 -41
- package/dist/{chunk-nsbpzpmf.js → chunk-1nxqqjjt.js} +37 -37
- package/dist/{chunk-tw24rz1x.js → chunk-1q3ht06y.js} +7 -7
- package/dist/{chunk-j5w0b4d2.js → chunk-1re18c21.js} +11 -11
- package/dist/{chunk-jwb3bqa7.js → chunk-1t58cm9p.js} +13 -13
- package/dist/{chunk-79vh2q13.js → chunk-20k0vm6d.js} +36 -36
- package/dist/{chunk-p5jssxha.js → chunk-25c7xvcj.js} +10 -10
- package/dist/{chunk-2qfb22ax.js → chunk-2aqy976t.js} +11 -9
- package/dist/{chunk-gwrngewt.js → chunk-2c5g8fre.js} +2 -2
- package/dist/{chunk-8zzqydag.js → chunk-2f1f034j.js} +4 -4
- package/dist/{chunk-e23snepr.js → chunk-2nwebta4.js} +2 -2
- package/dist/{chunk-xee276gg.js → chunk-2pnjckz1.js} +36 -36
- package/dist/{chunk-rbvawtdz.js → chunk-2q5mzsfz.js} +37 -37
- package/dist/{chunk-jaqtnpbt.js → chunk-2tahgz0j.js} +1 -1
- package/dist/{chunk-8y0ghcs4.js → chunk-30qe8vg5.js} +46 -46
- package/dist/{chunk-2cz1rwf3.js → chunk-36p752m8.js} +10 -10
- package/dist/{chunk-1x1wb96n.js → chunk-37gp1zzs.js} +39 -39
- package/dist/{chunk-reqz49y3.js → chunk-385yn056.js} +79 -78
- package/dist/{chunk-p3zbzfbn.js → chunk-3ayj5sjm.js} +3 -3
- package/dist/{chunk-66s9m31j.js → chunk-3dnzff6j.js} +11 -11
- package/dist/{chunk-s70z817q.js → chunk-3gx9gg4n.js} +133 -134
- package/dist/{chunk-ahexmj4s.js → chunk-3j2q2rdk.js} +20 -20
- package/dist/{chunk-h26xfh6d.js → chunk-3t37as7j.js} +10 -10
- package/dist/{chunk-wxa2hdfg.js → chunk-3twcp74a.js} +1 -1
- package/dist/{chunk-f57cvf1d.js → chunk-3xzcr9ha.js} +1 -1
- package/dist/{chunk-3yzyedet.js → chunk-3zzgpj8d.js} +11 -11
- package/dist/{chunk-h37gar4j.js → chunk-41qawevz.js} +1 -1
- package/dist/{chunk-efkjha6m.js → chunk-469hyn07.js} +5 -5
- package/dist/{chunk-zvegtrc4.js → chunk-4d6ryx98.js} +41 -41
- package/dist/{chunk-00vfg42v.js → chunk-4e1mxma5.js} +37 -37
- package/dist/{chunk-f872fekv.js → chunk-4g82v54s.js} +36 -36
- package/dist/{chunk-81dxa3fd.js → chunk-4j0dtzpj.js} +1 -1
- package/dist/{chunk-gqftywrx.js → chunk-4n8p6kj0.js} +11 -11
- package/dist/{chunk-5m7095hq.js → chunk-4qenyk9g.js} +12 -12
- package/dist/{chunk-j34h8cfj.js → chunk-4t38jjwb.js} +11 -11
- package/dist/{chunk-yxr0yf6h.js → chunk-51a8mdyr.js} +2 -2
- package/dist/{chunk-cm2xfg7q.js → chunk-57zs28dc.js} +12 -11
- package/dist/{chunk-hqpzpr71.js → chunk-5aw4k8fc.js} +1 -1
- package/dist/{chunk-vpe2s4eq.js → chunk-5c6rsxsf.js} +67 -3
- package/dist/{chunk-1nhx3qpn.js → chunk-5smyhzmn.js} +2 -2
- package/dist/{chunk-fdbvcs34.js → chunk-5t6qedbx.js} +3 -3
- package/dist/{chunk-yrnbgtk0.js → chunk-5tf3y2x4.js} +14 -14
- package/dist/{chunk-6356tyx5.js → chunk-5xbvemsj.js} +4 -4
- package/dist/{chunk-1yscv3t1.js → chunk-5y175yzc.js} +2 -2
- package/dist/{chunk-0y6h57c5.js → chunk-61nfv7fe.js} +4 -4
- package/dist/{chunk-7dy65axk.js → chunk-68d95r50.js} +10 -10
- package/dist/{chunk-ewxpkqxt.js → chunk-69rtrkmf.js} +6 -6
- package/dist/{chunk-jda4vjad.js → chunk-6er7h0ce.js} +36 -36
- package/dist/{chunk-ja3eb4h9.js → chunk-6j28h9yw.js} +1 -1
- package/dist/{chunk-m97dyxn0.js → chunk-6mr0jg0z.js} +36 -36
- package/dist/{chunk-1k3ahc24.js → chunk-6p49gxps.js} +36 -36
- package/dist/{chunk-yrs92qya.js → chunk-6pn8yw8f.js} +1 -1
- package/dist/{chunk-sv7afh51.js → chunk-6qj1adtm.js} +2 -2
- package/dist/{chunk-7zw138yt.js → chunk-6xbff4vx.js} +1 -1
- package/dist/{chunk-e9eyqwk5.js → chunk-6y2fbkkx.js} +130 -80
- package/dist/{chunk-a92eevfn.js → chunk-70r0vj1c.js} +3 -3
- package/dist/{chunk-9revwk5g.js → chunk-7290d32y.js} +37 -37
- package/dist/{chunk-9awawyvh.js → chunk-73pxnrgv.js} +4 -4
- package/dist/{chunk-d2wzkwws.js → chunk-76vhxz6d.js} +45 -45
- package/dist/{chunk-3fnhdnj6.js → chunk-796j6qp5.js} +10 -10
- package/dist/{chunk-xxmxv448.js → chunk-7aa7tk3e.js} +5 -5
- package/dist/{chunk-v4qke3cz.js → chunk-7r1n0c67.js} +3 -3
- package/dist/{chunk-dm5e2sj0.js → chunk-7sn5nw7n.js} +36 -36
- package/dist/{chunk-506gq3zq.js → chunk-7zj334zr.js} +11 -11
- package/dist/{chunk-es08rrda.js → chunk-81amwnap.js} +36 -36
- package/dist/{chunk-7kfps7yt.js → chunk-8cb8dhn1.js} +1 -1
- package/dist/{chunk-m365zhp8.js → chunk-8dmvv3vh.js} +37 -37
- package/dist/{chunk-nzfwsrd7.js → chunk-8h43r0g4.js} +2 -2
- package/dist/{chunk-zhyc7npp.js → chunk-8k3skcxp.js} +36 -36
- package/dist/{chunk-3mapywg0.js → chunk-8mt5w0hv.js} +2 -2
- package/dist/{chunk-crj9bjh5.js → chunk-8nq3rcrh.js} +36 -36
- package/dist/{chunk-0cs46nj6.js → chunk-8wegtg2m.js} +36 -36
- package/dist/{chunk-a0qhdfct.js → chunk-8zdrx5jf.js} +6 -6
- package/dist/{chunk-h4k9kgjw.js → chunk-8zy4rsnp.js} +37 -37
- package/dist/{chunk-qgnsf30p.js → chunk-90d9rpg3.js} +12 -12
- package/dist/{chunk-7ba2qns8.js → chunk-90vj8x7v.js} +10 -10
- package/dist/{chunk-y7vzcjyn.js → chunk-91e25as4.js} +36 -36
- package/dist/{chunk-z0vk43bt.js → chunk-927q4w00.js} +45 -45
- package/dist/{chunk-cxf9amp4.js → chunk-94jwe227.js} +1 -1
- package/dist/{chunk-52rnpp5t.js → chunk-957q89kn.js} +8 -8
- package/dist/{chunk-xpj4qca4.js → chunk-95qc0qm2.js} +36 -36
- package/dist/{chunk-bww2h6d4.js → chunk-95t31nbm.js} +38 -38
- package/dist/{chunk-x63c39tp.js → chunk-98z3psrf.js} +2 -2
- package/dist/{chunk-hnxmafvc.js → chunk-99zt59gg.js} +1 -1
- package/dist/{chunk-admwpsa6.js → chunk-9ceyr5ed.js} +5 -5
- package/dist/{chunk-4brmjvph.js → chunk-9t3jghwt.js} +26 -6
- package/dist/{chunk-1r70yykn.js → chunk-a53nf3qs.js} +1 -1
- package/dist/{chunk-z1seyvya.js → chunk-ab2ksmbe.js} +37 -37
- package/dist/{chunk-6gftrxn5.js → chunk-aew7yrsf.js} +47 -47
- package/dist/{chunk-dhwpmz98.js → chunk-af58qhb4.js} +39 -39
- package/dist/{chunk-196qs1ty.js → chunk-anw7kmsz.js} +16 -16
- package/dist/{chunk-88mfsn97.js → chunk-aq013trm.js} +37 -37
- package/dist/{chunk-b4wfv4fx.js → chunk-axc8en7y.js} +47 -47
- package/dist/{chunk-bx165r58.js → chunk-b4byq7f8.js} +1 -1
- package/dist/{chunk-wy3f5b81.js → chunk-bcqk9yw1.js} +37 -37
- package/dist/{chunk-86jhenxk.js → chunk-bdy2epzn.js} +37 -37
- package/dist/{chunk-b6drr9se.js → chunk-behtrnvw.js} +39 -39
- package/dist/{chunk-swzfr1f5.js → chunk-bf9fz19d.js} +12 -12
- package/dist/{chunk-0fzcyd0s.js → chunk-bgbyse6n.js} +42 -42
- package/dist/{chunk-3e2a6c4k.js → chunk-bgt8qg6a.js} +3 -3
- package/dist/{chunk-v6p3019x.js → chunk-bhp62x16.js} +12 -12
- package/dist/{chunk-ndrn50x0.js → chunk-bnnfby0p.js} +36 -36
- package/dist/{chunk-h0vzd5vg.js → chunk-bnsgd143.js} +6 -6
- package/dist/{chunk-6ebb5ym0.js → chunk-bp52cyyh.js} +36 -36
- package/dist/{chunk-kw2ymvyv.js → chunk-bvvnv69h.js} +2 -2
- package/dist/{chunk-ghbtnfr2.js → chunk-bx1aj5va.js} +39 -39
- package/dist/{chunk-ctj2ehwz.js → chunk-bxecxvr6.js} +37 -37
- package/dist/{chunk-k81zec2p.js → chunk-c7vjkt02.js} +1 -1
- package/dist/{chunk-97svwq59.js → chunk-c965t34b.js} +48 -48
- package/dist/{chunk-h14dkna4.js → chunk-c9f9bxyz.js} +11 -11
- package/dist/{chunk-z6hqga26.js → chunk-cbew0pjr.js} +1 -1
- package/dist/{chunk-srnstx2s.js → chunk-ckan2z85.js} +11 -11
- package/dist/{chunk-rsr0mksm.js → chunk-cqqbkkf0.js} +36 -36
- package/dist/{chunk-4h9ek408.js → chunk-cwbdfjp9.js} +3 -3
- package/dist/{chunk-qgajfxr7.js → chunk-d127m8zb.js} +3 -3
- package/dist/{chunk-hf086e2e.js → chunk-d161bz6z.js} +36 -36
- package/dist/{chunk-kz3q1ce0.js → chunk-d3kt34ew.js} +36 -36
- package/dist/{chunk-hkh1vbm6.js → chunk-d4a8wx96.js} +36 -36
- package/dist/{chunk-fxrrsvnw.js → chunk-d68resa3.js} +13 -13
- package/dist/{chunk-g86dg6h5.js → chunk-d6pvxq4t.js} +2 -2
- package/dist/{chunk-j7b884wk.js → chunk-d6v6abvy.js} +1 -1
- package/dist/{chunk-04ws37gv.js → chunk-d6ytdgha.js} +2 -2
- package/dist/{chunk-hyy2fcba.js → chunk-d9y7sf7e.js} +37 -37
- package/dist/{chunk-6pb9n4m3.js → chunk-daycsk4d.js} +1 -1
- package/dist/{chunk-28a1ffp7.js → chunk-dcekzc4y.js} +36 -36
- package/dist/{chunk-313nbvgt.js → chunk-dgz6h4qd.js} +4 -4
- package/dist/{chunk-mgjc0yj9.js → chunk-dmcepess.js} +36 -36
- package/dist/{chunk-9datyj43.js → chunk-dpzdk73b.js} +1 -1
- package/dist/{chunk-54bwa086.js → chunk-dttqmtms.js} +38 -38
- package/dist/{chunk-5zbp0a48.js → chunk-dy8tttdp.js} +4 -4
- package/dist/{chunk-vnn4x6jw.js → chunk-dyaf8e7s.js} +38 -39
- package/dist/{chunk-hjw03d0k.js → chunk-e7m4m372.js} +37 -37
- package/dist/{chunk-bgf5zvvv.js → chunk-e90spxq9.js} +57 -48
- package/dist/{chunk-azq1qstz.js → chunk-edyny263.js} +4 -4
- package/dist/{chunk-bq8zdg7m.js → chunk-en7bhyyg.js} +36 -36
- package/dist/{chunk-x1t80e36.js → chunk-eqt6c9hn.js} +35 -23
- package/dist/{chunk-spqq5qf1.js → chunk-ermp1abj.js} +40 -40
- package/dist/{chunk-w7zp9j8v.js → chunk-f081fc9h.js} +47 -47
- package/dist/{chunk-99cjjht1.js → chunk-f4cbehwk.js} +36 -36
- package/dist/{chunk-1qbype3e.js → chunk-f5h4mxdx.js} +4 -4
- package/dist/{chunk-5158j5ph.js → chunk-fbkfb5yy.js} +4 -4
- package/dist/{chunk-dnpy3zcs.js → chunk-fh1ax1cg.js} +37 -37
- package/dist/{chunk-dytg8n15.js → chunk-fhz29daj.js} +7 -7
- package/dist/{chunk-c0avjkfn.js → chunk-fjg2v3kn.js} +36 -36
- package/dist/{chunk-72091jsk.js → chunk-fqfhd27m.js} +1 -1
- package/dist/{chunk-cwwfyvbq.js → chunk-fr9p38bg.js} +2 -2
- package/dist/{chunk-zwsrj2yy.js → chunk-frnvg2zn.js} +6 -5
- package/dist/{chunk-ys6cza46.js → chunk-fsq6r5fm.js} +3 -3
- package/dist/{chunk-c7d1acex.js → chunk-fy965myk.js} +2 -2
- package/dist/{chunk-jhbj5mnf.js → chunk-gccn64qd.js} +36 -36
- package/dist/{chunk-dv4dsh0t.js → chunk-ggntxyqw.js} +4 -4
- package/dist/{chunk-2ag1bjqx.js → chunk-gsfvjkxs.js} +2 -2
- package/dist/{chunk-d2q17m4k.js → chunk-gss0qg24.js} +37 -37
- package/dist/{chunk-xfkf8q6w.js → chunk-gtzjdd18.js} +4 -4
- package/dist/{chunk-524xgs6r.js → chunk-gwhnvzbg.js} +5 -5
- package/dist/{chunk-92p2k7yk.js → chunk-gxnyeps9.js} +3 -3
- package/dist/{chunk-mkae8zj9.js → chunk-h3p151fx.js} +2 -2
- package/dist/{chunk-xz7cf7fa.js → chunk-hb2tgq01.js} +45 -45
- package/dist/{chunk-k27dq4vd.js → chunk-hmx6fwqe.js} +38 -38
- package/dist/{chunk-c6nthjxa.js → chunk-hp4cdr1t.js} +3 -3
- package/dist/{chunk-d4zyytan.js → chunk-hqsvvf0s.js} +76 -51
- package/dist/{chunk-hhwqk5as.js → chunk-ht4k8qc2.js} +36 -36
- package/dist/{chunk-6f0296p8.js → chunk-j71410ke.js} +2 -2
- package/dist/{chunk-kb2b4rkg.js → chunk-jd2r7m9t.js} +3 -3
- package/dist/{chunk-718k4vsj.js → chunk-jhq4q5mx.js} +36 -36
- package/dist/{chunk-dgnwk906.js → chunk-jjj6rejt.js} +36 -36
- package/dist/{chunk-8gs07wbw.js → chunk-jtmqgw9b.js} +8 -8
- package/dist/{chunk-5famfv4a.js → chunk-jz4f7zpz.js} +11 -11
- package/dist/{chunk-60xm3v9r.js → chunk-jzj3p696.js} +2 -2
- package/dist/{chunk-xahpt5e2.js → chunk-k523rbgc.js} +1 -1
- package/dist/{chunk-m1xw79dd.js → chunk-k7aebzb7.js} +258 -4
- package/dist/{chunk-xct1m4sf.js → chunk-k83gceng.js} +11 -11
- package/dist/{chunk-ffpz33kr.js → chunk-kay473m2.js} +11 -11
- package/dist/{chunk-djzvjzdg.js → chunk-kbys4txa.js} +2 -2
- package/dist/{chunk-yvgmpc5z.js → chunk-kntspztd.js} +5 -5
- package/dist/{chunk-rbgr86hh.js → chunk-m6h8sefk.js} +36 -36
- package/dist/{chunk-4er46edn.js → chunk-m8j8f4rm.js} +36 -36
- package/dist/{chunk-8h4gpg9r.js → chunk-mb0j3qcs.js} +36 -36
- package/dist/{chunk-8xbwczap.js → chunk-mgdpdt82.js} +36 -36
- package/dist/{chunk-rz69sqyh.js → chunk-mmegp36z.js} +42 -42
- package/dist/{chunk-dafnbqhh.js → chunk-mw1qkqcc.js} +49 -50
- package/dist/{chunk-4mdqm8b7.js → chunk-mxezad7a.js} +39 -39
- package/dist/{chunk-2rcaw0yh.js → chunk-n01yv986.js} +3 -3
- package/dist/{chunk-xqk8srdh.js → chunk-n3pqr3pc.js} +1 -1
- package/dist/{chunk-mmq55gyp.js → chunk-n3r19e7j.js} +2 -2
- package/dist/{chunk-m1efbjqe.js → chunk-n7e9fm08.js} +36 -36
- package/dist/{chunk-5mv51kkx.js → chunk-n9pjjkmd.js} +37 -37
- package/dist/{chunk-yyc1yvnr.js → chunk-nbr86en0.js} +36 -36
- package/dist/{chunk-6y8e5c85.js → chunk-nkz07g41.js} +12 -12
- package/dist/{chunk-vatz6gan.js → chunk-nm2nptw1.js} +19 -17
- package/dist/{chunk-rq1nfp7x.js → chunk-nrnctdca.js} +36 -36
- package/dist/{chunk-2mhgyhns.js → chunk-nt2esar1.js} +1 -1
- package/dist/{chunk-77w9ffyy.js → chunk-p0mmn00m.js} +3 -3
- package/dist/{chunk-wj0c0zfa.js → chunk-p466g3q9.js} +1 -1
- package/dist/{chunk-fz4wmnm6.js → chunk-p5816r2t.js} +2 -2
- package/dist/{chunk-g3dbfhxa.js → chunk-p5fg24e5.js} +2 -2
- package/dist/{chunk-924n94wb.js → chunk-p6zb606e.js} +10 -10
- package/dist/{chunk-jac470kz.js → chunk-padnh4m8.js} +1 -1
- package/dist/{chunk-a0m994d6.js → chunk-pe5vktd8.js} +36 -36
- package/dist/{chunk-0b0fq180.js → chunk-pjvrckqq.js} +13 -13
- package/dist/{chunk-0knhp7v5.js → chunk-pjz4m7pd.js} +1 -1
- package/dist/{chunk-p7es39d1.js → chunk-pp51xf04.js} +9 -9
- package/dist/{chunk-9b6wqcyk.js → chunk-ptkr15ng.js} +38 -38
- package/dist/{chunk-ng2xq7ey.js → chunk-q180111z.js} +2 -2
- package/dist/{chunk-jga4j8jp.js → chunk-q2g2za2r.js} +36 -36
- package/dist/{chunk-fbedkst6.js → chunk-qfr1sn45.js} +2 -2
- package/dist/{chunk-ffvja87d.js → chunk-qgtt30h3.js} +5 -5
- package/dist/{chunk-yb03gvd8.js → chunk-qkxfahwy.js} +39 -39
- package/dist/{chunk-rz3rq0gt.js → chunk-qppzesmk.js} +1 -1
- package/dist/{chunk-fbbjchdz.js → chunk-r2e2d9te.js} +37 -37
- package/dist/{chunk-rce8gj2b.js → chunk-r4sr5fcm.js} +11 -11
- package/dist/{chunk-0xth516w.js → chunk-r5eka7tm.js} +6 -6
- package/dist/{chunk-mh2pdxpc.js → chunk-r5jmfhb0.js} +37 -37
- package/dist/{chunk-jje04m6z.js → chunk-r770mj33.js} +2 -2
- package/dist/{chunk-c3s22pgw.js → chunk-rnwcyhhr.js} +39 -39
- package/dist/{chunk-hc1tkwfn.js → chunk-rs9c0tp6.js} +1 -1
- package/dist/{chunk-p9f12fp9.js → chunk-rvt67hgh.js} +38 -38
- package/dist/{chunk-h2vfn30x.js → chunk-rxtbs7n0.js} +3 -3
- package/dist/{chunk-f2y3t9hh.js → chunk-s2a06w54.js} +37 -37
- package/dist/{chunk-4qjh89qr.js → chunk-s5kja2qn.js} +1 -1
- package/dist/{chunk-93cd0z7w.js → chunk-s72mp5r4.js} +41 -41
- package/dist/{chunk-e6sqr0av.js → chunk-s99sq9ns.js} +36 -36
- package/dist/{chunk-gc4x22mt.js → chunk-sg1qd2yq.js} +37 -37
- package/dist/{chunk-hyz9tx05.js → chunk-sgxttpf4.js} +12 -12
- package/dist/{chunk-hxb3js2g.js → chunk-sjj998mb.js} +4 -4
- package/dist/{chunk-t2re5hhc.js → chunk-skd3bkmx.js} +93 -94
- package/dist/{chunk-t7e9etws.js → chunk-swyjab92.js} +13 -13
- package/dist/{chunk-2xrp0wp0.js → chunk-sx14s38q.js} +45 -45
- package/dist/{chunk-hrz2d28r.js → chunk-sz611c7y.js} +37 -37
- package/dist/{chunk-fjpdtr6s.js → chunk-szcsdmpv.js} +5 -5
- package/dist/{chunk-r469z4mx.js → chunk-t7gpw9nw.js} +3 -3
- package/dist/{chunk-cstkqpd5.js → chunk-tbas522c.js} +4 -4
- package/dist/{chunk-x9gbnheg.js → chunk-tjntxkt8.js} +5 -5
- package/dist/{chunk-78009jh9.js → chunk-trt2sfjg.js} +1 -1
- package/dist/{chunk-fnpd8cnq.js → chunk-v134wa9t.js} +1 -1
- package/dist/{chunk-5vqwq0f9.js → chunk-v1sfwgy2.js} +37 -37
- package/dist/{chunk-7yfxza07.js → chunk-v6vnhsk9.js} +4 -4
- package/dist/{chunk-yf5qwpnp.js → chunk-ve35wfqa.js} +1 -1
- package/dist/{chunk-8xsjtkh4.js → chunk-vf30axzz.js} +3 -3
- package/dist/{chunk-xk1wdwxq.js → chunk-vg3exmen.js} +36 -36
- package/dist/{chunk-se153zng.js → chunk-vk9rhhqy.js} +1 -1
- package/dist/{chunk-wd8mqz95.js → chunk-vp2p7azg.js} +2 -2
- package/dist/{chunk-8h7bg6q9.js → chunk-vq6he9z3.js} +8 -8
- package/dist/{chunk-z7hv619f.js → chunk-vqsjg97m.js} +36 -36
- package/dist/{chunk-x6622cb2.js → chunk-vqtate03.js} +11 -11
- package/dist/{chunk-8pskaz4y.js → chunk-vrpq3d3m.js} +5 -5
- package/dist/{chunk-7r3d9nyj.js → chunk-vrt7c6k9.js} +37 -37
- package/dist/{chunk-8mspr5sg.js → chunk-vsd9yrbq.js} +2 -2
- package/dist/{chunk-2rtngpm1.js → chunk-vyemja4g.js} +3 -3
- package/dist/{chunk-att0rknb.js → chunk-w2fv2vbn.js} +1 -1
- package/dist/{chunk-c092k38b.js → chunk-w3h4a3kh.js} +596 -504
- package/dist/{chunk-r5mqktt5.js → chunk-w669wpk5.js} +1 -1
- package/dist/{chunk-wqdr8v9x.js → chunk-w78h4cpg.js} +36 -36
- package/dist/{chunk-a5w8nyhg.js → chunk-wf0tb0v2.js} +2 -2
- package/dist/{chunk-q19p9j0v.js → chunk-wfmkfs38.js} +1 -1
- package/dist/{chunk-27ppq985.js → chunk-wqmpewdd.js} +5 -5
- package/dist/{chunk-f31b63fd.js → chunk-wrbh0cfk.js} +1 -1
- package/dist/{chunk-faey4sqw.js → chunk-wtmv0phz.js} +37 -37
- package/dist/{chunk-6h1reb8m.js → chunk-wvc46bgr.js} +10 -10
- package/dist/{chunk-m089kb0s.js → chunk-wxt5dmty.js} +8 -8
- package/dist/{chunk-f25pnrvx.js → chunk-x03eqvrv.js} +1 -1
- package/dist/{chunk-drvfxfe5.js → chunk-x1ja2cne.js} +14 -14
- package/dist/{chunk-kbsckx2r.js → chunk-x5k1etjx.js} +2 -2
- package/dist/{chunk-e1bt4m2g.js → chunk-x8s2ysqw.js} +2 -2
- package/dist/{chunk-01ysfcs0.js → chunk-xcx7yh0e.js} +3 -3
- package/dist/{chunk-gfxebcsw.js → chunk-xpk6dapv.js} +11 -11
- package/dist/{chunk-d57t992t.js → chunk-xpsb3jm8.js} +2 -2
- package/dist/{chunk-b9pqgq8z.js → chunk-xr75ftr6.js} +1 -1
- package/dist/{chunk-jc5dtv57.js → chunk-xt7s28fx.js} +36 -36
- package/dist/{chunk-tnx1zk9t.js → chunk-xt8gvmsx.js} +36 -36
- package/dist/{chunk-qs2atqgy.js → chunk-xz76edqf.js} +37 -37
- package/dist/{chunk-40w1c21c.js → chunk-y07sc1z5.js} +36 -36
- package/dist/{chunk-2tzmvvew.js → chunk-y2e98987.js} +37 -37
- package/dist/{chunk-q7e12ymw.js → chunk-y3wg874f.js} +3 -3
- package/dist/{chunk-760hjt0a.js → chunk-yg5r52h3.js} +2 -2
- package/dist/{chunk-kvezjrjy.js → chunk-yh01ya6y.js} +36 -36
- package/dist/{chunk-erkssp71.js → chunk-yh18j16m.js} +36 -36
- package/dist/{chunk-prpjmapz.js → chunk-yhpxy5st.js} +39 -39
- package/dist/chunk-ynywa4qc.js +181 -0
- package/dist/{chunk-jpbkdg47.js → chunk-ypmj8k22.js} +3 -3
- package/dist/{chunk-b125aa22.js → chunk-ys9yeb7q.js} +36 -36
- package/dist/{chunk-v2qqkqxp.js → chunk-ytew4nzj.js} +37 -37
- package/dist/{chunk-s2n5kxm0.js → chunk-ytrefhw5.js} +4 -4
- package/dist/{chunk-kymh4vxw.js → chunk-yvypnga9.js} +36 -36
- package/dist/{chunk-ps01q3n9.js → chunk-yzggptj9.js} +36 -36
- package/dist/{chunk-gxfbedta.js → chunk-zc5b1zt8.js} +1 -1
- package/dist/{chunk-xwc8e4yv.js → chunk-ze24rc11.js} +2 -2
- package/dist/{chunk-cg3bb5pe.js → chunk-zpr7s3f8.js} +6 -6
- package/dist/{chunk-b62vj92a.js → chunk-zvdc0eh1.js} +1 -1
- package/dist/{chunk-y3qdyf8r.js → chunk-zzv0m6zw.js} +16 -16
- package/dist/cli.js +21 -21
- package/package.json +3 -3
- package/dist/chunk-j66ragf9.js +0 -61
- package/dist/chunk-yem3ge7z.js +0 -182
|
@@ -2,24 +2,31 @@
|
|
|
2
2
|
import {
|
|
3
3
|
EMPTY_USAGE,
|
|
4
4
|
asSystemPrompt,
|
|
5
|
+
emitTaskTerminatedSdk,
|
|
6
|
+
enqueueSdkEvent,
|
|
7
|
+
exports_proactive,
|
|
5
8
|
extractConnectionErrorDetails,
|
|
6
9
|
formatAPIError,
|
|
7
10
|
getSSLErrorHint,
|
|
8
11
|
getSessionIngressAuthToken,
|
|
12
|
+
init_proactive,
|
|
9
13
|
init_rcDebugLog,
|
|
14
|
+
init_sdkEventQueue,
|
|
10
15
|
init_sessionActivity,
|
|
11
16
|
init_sessionIngressAuth,
|
|
17
|
+
init_sessionState,
|
|
12
18
|
init_src as init_src2,
|
|
13
19
|
isSessionActivityTrackingActive,
|
|
20
|
+
notifyAutomationStateChanged,
|
|
14
21
|
rcLog,
|
|
15
22
|
sendSessionActivitySignal,
|
|
16
23
|
startSessionActivity,
|
|
17
24
|
stopSessionActivity
|
|
18
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-k7aebzb7.js";
|
|
19
26
|
import {
|
|
20
27
|
getTeammateModeFromSnapshot,
|
|
21
28
|
init_teammateModeSnapshot
|
|
22
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-x5k1etjx.js";
|
|
23
30
|
import {
|
|
24
31
|
DANGEROUS_uncachedSystemPromptSection,
|
|
25
32
|
clearSystemPromptSections,
|
|
@@ -30,7 +37,7 @@ import {
|
|
|
30
37
|
import {
|
|
31
38
|
clearTrustedDeviceTokenCache,
|
|
32
39
|
init_trustedDevice
|
|
33
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-98z3psrf.js";
|
|
34
41
|
import {
|
|
35
42
|
getUserBinDir,
|
|
36
43
|
getXDGCacheHome,
|
|
@@ -44,7 +51,7 @@ import {
|
|
|
44
51
|
parsePluginIdentifier,
|
|
45
52
|
scopeToSettingSource,
|
|
46
53
|
settingSourceToScope
|
|
47
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-c7vjkt02.js";
|
|
48
55
|
import {
|
|
49
56
|
CHROME_TOOL_SEARCH_INSTRUCTIONS,
|
|
50
57
|
init_prompt as init_prompt3
|
|
@@ -83,7 +90,7 @@ import {
|
|
|
83
90
|
unregisterTeamForSessionCleanup,
|
|
84
91
|
updateTask,
|
|
85
92
|
writeTeamFileAsync
|
|
86
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-vrpq3d3m.js";
|
|
87
94
|
import {
|
|
88
95
|
init_p_map,
|
|
89
96
|
pMap
|
|
@@ -96,7 +103,7 @@ import {
|
|
|
96
103
|
getUndercoverInstructions,
|
|
97
104
|
init_undercover,
|
|
98
105
|
isUndercover
|
|
99
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-wf0tb0v2.js";
|
|
100
107
|
import {
|
|
101
108
|
calculateCommitAttribution,
|
|
102
109
|
createEmptyAttributionState,
|
|
@@ -104,7 +111,7 @@ import {
|
|
|
104
111
|
isInternalModelRepo,
|
|
105
112
|
isInternalModelRepoCached,
|
|
106
113
|
sanitizeModelName
|
|
107
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-ytrefhw5.js";
|
|
108
115
|
import {
|
|
109
116
|
init_worktreeModeEnabled,
|
|
110
117
|
isWorktreeModeEnabled
|
|
@@ -117,13 +124,13 @@ import {
|
|
|
117
124
|
captureException,
|
|
118
125
|
closeSentry,
|
|
119
126
|
init_sentry
|
|
120
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-dpzdk73b.js";
|
|
121
128
|
import {
|
|
122
129
|
CLAUDE_IN_CHROME_MCP_SERVER_NAME,
|
|
123
130
|
init_common as init_common2,
|
|
124
131
|
isClaudeInChromeMCPServer,
|
|
125
132
|
trackClaudeInChromeTabId
|
|
126
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-6qj1adtm.js";
|
|
127
134
|
import {
|
|
128
135
|
hasMalformedTokens,
|
|
129
136
|
hasShellQuoteSingleQuoteBug,
|
|
@@ -131,7 +138,7 @@ import {
|
|
|
131
138
|
quote,
|
|
132
139
|
require_shell_quote,
|
|
133
140
|
tryParseShellCommand
|
|
134
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-d6v6abvy.js";
|
|
135
142
|
import {
|
|
136
143
|
checkCachedPassesEligibility,
|
|
137
144
|
getCachedReferrerReward,
|
|
@@ -139,7 +146,7 @@ import {
|
|
|
139
146
|
init_useDoublePress,
|
|
140
147
|
init_useExitOnCtrlCDWithKeybindings,
|
|
141
148
|
useExitOnCtrlCDWithKeybindings
|
|
142
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-d127m8zb.js";
|
|
143
150
|
import {
|
|
144
151
|
READ_FILE_STATE_CACHE_SIZE,
|
|
145
152
|
cacheKeys,
|
|
@@ -154,7 +161,7 @@ import {
|
|
|
154
161
|
init_terminalSetup,
|
|
155
162
|
markBackslashReturnUsed,
|
|
156
163
|
maybeMarkProjectOnboardingComplete
|
|
157
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-8zdrx5jf.js";
|
|
158
165
|
import {
|
|
159
166
|
gt,
|
|
160
167
|
gte,
|
|
@@ -180,11 +187,11 @@ import {
|
|
|
180
187
|
getBridgeBaseUrl,
|
|
181
188
|
init_bridgeConfig,
|
|
182
189
|
isSelfHostedBridge
|
|
183
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-padnh4m8.js";
|
|
184
191
|
import {
|
|
185
192
|
init_poorMode,
|
|
186
193
|
isPoorModeActive
|
|
187
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-41qawevz.js";
|
|
188
195
|
import {
|
|
189
196
|
checkComputerUseLock,
|
|
190
197
|
init_computerUseLock,
|
|
@@ -194,7 +201,7 @@ import {
|
|
|
194
201
|
init_voiceModeEnabled,
|
|
195
202
|
isVoiceGrowthBookEnabled,
|
|
196
203
|
isVoiceModeEnabled
|
|
197
|
-
} from "./chunk-
|
|
204
|
+
} from "./chunk-v134wa9t.js";
|
|
198
205
|
import {
|
|
199
206
|
init_detection,
|
|
200
207
|
isInITerm2,
|
|
@@ -202,7 +209,7 @@ import {
|
|
|
202
209
|
isInsideTmuxSync,
|
|
203
210
|
isIt2CliAvailable,
|
|
204
211
|
isTmuxAvailable
|
|
205
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-3twcp74a.js";
|
|
206
213
|
import {
|
|
207
214
|
SWARM_SESSION_NAME,
|
|
208
215
|
TEAMMATE_COMMAND_ENV_VAR,
|
|
@@ -216,12 +223,12 @@ import {
|
|
|
216
223
|
getOAuthHeaders,
|
|
217
224
|
init_api,
|
|
218
225
|
isTransientNetworkError
|
|
219
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-5t6qedbx.js";
|
|
220
227
|
import {
|
|
221
228
|
init_browser,
|
|
222
229
|
openBrowser,
|
|
223
230
|
openPath
|
|
224
|
-
} from "./chunk-
|
|
231
|
+
} from "./chunk-3xzcr9ha.js";
|
|
225
232
|
import {
|
|
226
233
|
OTLPTraceExporter,
|
|
227
234
|
init_esm as init_esm2
|
|
@@ -248,7 +255,7 @@ import {
|
|
|
248
255
|
startToolExecutionSpan,
|
|
249
256
|
startToolSpan,
|
|
250
257
|
unregisterAgent
|
|
251
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-k523rbgc.js";
|
|
252
259
|
import {
|
|
253
260
|
BasicTracerProvider,
|
|
254
261
|
BatchSpanProcessor,
|
|
@@ -261,15 +268,15 @@ import {
|
|
|
261
268
|
init_hostAdapter,
|
|
262
269
|
init_stdio,
|
|
263
270
|
serializeMessage
|
|
264
|
-
} from "./chunk-
|
|
271
|
+
} from "./chunk-d6pvxq4t.js";
|
|
265
272
|
import {
|
|
266
273
|
getChicagoCoordinateMode,
|
|
267
274
|
init_gates
|
|
268
|
-
} from "./chunk-
|
|
275
|
+
} from "./chunk-nt2esar1.js";
|
|
269
276
|
import {
|
|
270
277
|
init_datadog,
|
|
271
278
|
shutdownDatadog
|
|
272
|
-
} from "./chunk-
|
|
279
|
+
} from "./chunk-5smyhzmn.js";
|
|
273
280
|
import {
|
|
274
281
|
DEFAULT_GRANT_FLAGS,
|
|
275
282
|
bindSessionContext,
|
|
@@ -658,7 +665,7 @@ import {
|
|
|
658
665
|
validateSettingsFileContent,
|
|
659
666
|
withOAuth401Retry,
|
|
660
667
|
writeTextContent
|
|
661
|
-
} from "./chunk-
|
|
668
|
+
} from "./chunk-pp51xf04.js";
|
|
662
669
|
import {
|
|
663
670
|
ConfigScopeSchema,
|
|
664
671
|
McpJsonConfigSchema,
|
|
@@ -667,7 +674,7 @@ import {
|
|
|
667
674
|
init_types as init_types2,
|
|
668
675
|
parseJSONL,
|
|
669
676
|
safeParseJSON
|
|
670
|
-
} from "./chunk-
|
|
677
|
+
} from "./chunk-h3p151fx.js";
|
|
671
678
|
import {
|
|
672
679
|
containsPathTraversal,
|
|
673
680
|
expandPath,
|
|
@@ -675,7 +682,7 @@ import {
|
|
|
675
682
|
init_path,
|
|
676
683
|
normalizePathForConfigKey,
|
|
677
684
|
toRelativePath
|
|
678
|
-
} from "./chunk-
|
|
685
|
+
} from "./chunk-0spb0sqd.js";
|
|
679
686
|
import {
|
|
680
687
|
check,
|
|
681
688
|
count,
|
|
@@ -745,7 +752,7 @@ import {
|
|
|
745
752
|
init_windowsPaths,
|
|
746
753
|
posixPathToWindowsPath,
|
|
747
754
|
windowsPathToPosixPath
|
|
748
|
-
} from "./chunk-
|
|
755
|
+
} from "./chunk-xpsb3jm8.js";
|
|
749
756
|
import {
|
|
750
757
|
init_lazySchema,
|
|
751
758
|
lazySchema
|
|
@@ -753,7 +760,7 @@ import {
|
|
|
753
760
|
import {
|
|
754
761
|
getPlatform,
|
|
755
762
|
init_platform
|
|
756
|
-
} from "./chunk-
|
|
763
|
+
} from "./chunk-pjz4m7pd.js";
|
|
757
764
|
import {
|
|
758
765
|
init_sleep,
|
|
759
766
|
sleep
|
|
@@ -763,7 +770,7 @@ import {
|
|
|
763
770
|
getProcessCommand,
|
|
764
771
|
init_genericProcessUtils,
|
|
765
772
|
isProcessRunning
|
|
766
|
-
} from "./chunk-
|
|
773
|
+
} from "./chunk-zvdc0eh1.js";
|
|
767
774
|
import {
|
|
768
775
|
AjvJsonSchemaValidator,
|
|
769
776
|
CallToolResultSchema,
|
|
@@ -985,7 +992,7 @@ import {
|
|
|
985
992
|
init_detectRepository,
|
|
986
993
|
parseGitHubRepository,
|
|
987
994
|
parseGitRemote
|
|
988
|
-
} from "./chunk-
|
|
995
|
+
} from "./chunk-trt2sfjg.js";
|
|
989
996
|
import {
|
|
990
997
|
findCanonicalGitRoot,
|
|
991
998
|
findGitRoot,
|
|
@@ -1012,11 +1019,11 @@ import {
|
|
|
1012
1019
|
resolveRef,
|
|
1013
1020
|
stashToCleanState,
|
|
1014
1021
|
withDiagnosticsTiming
|
|
1015
|
-
} from "./chunk-
|
|
1022
|
+
} from "./chunk-73pxnrgv.js";
|
|
1016
1023
|
import {
|
|
1017
1024
|
init_memoize as init_memoize2,
|
|
1018
1025
|
memoizeWithLRU
|
|
1019
|
-
} from "./chunk-
|
|
1026
|
+
} from "./chunk-5aw4k8fc.js";
|
|
1020
1027
|
import {
|
|
1021
1028
|
L,
|
|
1022
1029
|
init_index_min
|
|
@@ -1026,7 +1033,7 @@ import {
|
|
|
1026
1033
|
execFileNoThrowWithCwd,
|
|
1027
1034
|
execSyncWithDefaults_DEPRECATED,
|
|
1028
1035
|
init_execFileNoThrow
|
|
1029
|
-
} from "./chunk-
|
|
1036
|
+
} from "./chunk-99zt59gg.js";
|
|
1030
1037
|
import {
|
|
1031
1038
|
getCwd,
|
|
1032
1039
|
init_cwd,
|
|
@@ -1069,7 +1076,7 @@ import {
|
|
|
1069
1076
|
logMCPError,
|
|
1070
1077
|
sortLogs,
|
|
1071
1078
|
stripIdeContextTags
|
|
1072
|
-
} from "./chunk-
|
|
1079
|
+
} from "./chunk-vp2p7azg.js";
|
|
1073
1080
|
import {
|
|
1074
1081
|
djb2Hash,
|
|
1075
1082
|
hashContent,
|
|
@@ -1604,7 +1611,7 @@ var init_add_dir = __esm(() => {
|
|
|
1604
1611
|
name: "add-dir",
|
|
1605
1612
|
description: "Add a new working directory",
|
|
1606
1613
|
argumentHint: "<path>",
|
|
1607
|
-
load: () => import("./chunk-
|
|
1614
|
+
load: () => import("./chunk-37gp1zzs.js")
|
|
1608
1615
|
};
|
|
1609
1616
|
add_dir_default = addDir;
|
|
1610
1617
|
});
|
|
@@ -1630,7 +1637,7 @@ var init_btw = __esm(() => {
|
|
|
1630
1637
|
description: "Ask a quick side question without interrupting the main conversation",
|
|
1631
1638
|
immediate: true,
|
|
1632
1639
|
argumentHint: "<question>",
|
|
1633
|
-
load: () => import("./chunk-
|
|
1640
|
+
load: () => import("./chunk-fh1ax1cg.js")
|
|
1634
1641
|
};
|
|
1635
1642
|
btw_default = btw;
|
|
1636
1643
|
});
|
|
@@ -12106,106 +12113,6 @@ var init_mcpInstructionsDelta = __esm(() => {
|
|
|
12106
12113
|
var CYBER_RISK_INSTRUCTION = `IMPORTANT: Assist with authorized security testing, defensive security, CTF challenges, and educational contexts. Refuse requests for destructive techniques, DoS attacks, mass targeting, supply chain compromise, or detection evasion for malicious purposes. Dual-use security tools (C2 frameworks, credential testing, exploit development) require clear authorization context: pentesting engagements, CTF competitions, security research, or defensive use cases.`;
|
|
12107
12114
|
var init_cyberRiskInstruction = () => {};
|
|
12108
12115
|
|
|
12109
|
-
// src/proactive/index.ts
|
|
12110
|
-
var exports_proactive = {};
|
|
12111
|
-
__export(exports_proactive, {
|
|
12112
|
-
subscribeToProactiveChanges: () => subscribeToProactiveChanges,
|
|
12113
|
-
shouldTick: () => shouldTick,
|
|
12114
|
-
setNextTickAt: () => setNextTickAt,
|
|
12115
|
-
setContextBlocked: () => setContextBlocked,
|
|
12116
|
-
resumeProactive: () => resumeProactive,
|
|
12117
|
-
pauseProactive: () => pauseProactive,
|
|
12118
|
-
isProactivePaused: () => isProactivePaused,
|
|
12119
|
-
isProactiveActive: () => isProactiveActive,
|
|
12120
|
-
isContextBlocked: () => isContextBlocked,
|
|
12121
|
-
getNextTickAt: () => getNextTickAt,
|
|
12122
|
-
getActivationSource: () => getActivationSource,
|
|
12123
|
-
deactivateProactive: () => deactivateProactive,
|
|
12124
|
-
activateProactive: () => activateProactive
|
|
12125
|
-
});
|
|
12126
|
-
function notify() {
|
|
12127
|
-
for (const cb of listeners) {
|
|
12128
|
-
try {
|
|
12129
|
-
cb();
|
|
12130
|
-
} catch {}
|
|
12131
|
-
}
|
|
12132
|
-
}
|
|
12133
|
-
function isProactiveActive() {
|
|
12134
|
-
return active;
|
|
12135
|
-
}
|
|
12136
|
-
function activateProactive(source) {
|
|
12137
|
-
if (active)
|
|
12138
|
-
return;
|
|
12139
|
-
active = true;
|
|
12140
|
-
paused = false;
|
|
12141
|
-
contextBlocked = false;
|
|
12142
|
-
activationSource = source;
|
|
12143
|
-
notify();
|
|
12144
|
-
}
|
|
12145
|
-
function deactivateProactive() {
|
|
12146
|
-
if (!active)
|
|
12147
|
-
return;
|
|
12148
|
-
active = false;
|
|
12149
|
-
paused = false;
|
|
12150
|
-
contextBlocked = false;
|
|
12151
|
-
nextTickAt = null;
|
|
12152
|
-
activationSource = undefined;
|
|
12153
|
-
notify();
|
|
12154
|
-
}
|
|
12155
|
-
function isProactivePaused() {
|
|
12156
|
-
return paused;
|
|
12157
|
-
}
|
|
12158
|
-
function pauseProactive() {
|
|
12159
|
-
if (!active || paused)
|
|
12160
|
-
return;
|
|
12161
|
-
paused = true;
|
|
12162
|
-
nextTickAt = null;
|
|
12163
|
-
notify();
|
|
12164
|
-
}
|
|
12165
|
-
function resumeProactive() {
|
|
12166
|
-
if (!active || !paused)
|
|
12167
|
-
return;
|
|
12168
|
-
paused = false;
|
|
12169
|
-
notify();
|
|
12170
|
-
}
|
|
12171
|
-
function setContextBlocked(blocked) {
|
|
12172
|
-
if (contextBlocked === blocked)
|
|
12173
|
-
return;
|
|
12174
|
-
contextBlocked = blocked;
|
|
12175
|
-
if (blocked) {
|
|
12176
|
-
nextTickAt = null;
|
|
12177
|
-
}
|
|
12178
|
-
notify();
|
|
12179
|
-
}
|
|
12180
|
-
function isContextBlocked() {
|
|
12181
|
-
return contextBlocked;
|
|
12182
|
-
}
|
|
12183
|
-
function setNextTickAt(ts) {
|
|
12184
|
-
nextTickAt = ts;
|
|
12185
|
-
notify();
|
|
12186
|
-
}
|
|
12187
|
-
function getNextTickAt() {
|
|
12188
|
-
if (!active || paused || contextBlocked)
|
|
12189
|
-
return null;
|
|
12190
|
-
return nextTickAt;
|
|
12191
|
-
}
|
|
12192
|
-
function getActivationSource() {
|
|
12193
|
-
return activationSource;
|
|
12194
|
-
}
|
|
12195
|
-
function subscribeToProactiveChanges(cb) {
|
|
12196
|
-
listeners.add(cb);
|
|
12197
|
-
return () => {
|
|
12198
|
-
listeners.delete(cb);
|
|
12199
|
-
};
|
|
12200
|
-
}
|
|
12201
|
-
function shouldTick() {
|
|
12202
|
-
return active && !paused && !contextBlocked;
|
|
12203
|
-
}
|
|
12204
|
-
var active = false, paused = false, contextBlocked = false, nextTickAt = null, activationSource, listeners;
|
|
12205
|
-
var init_proactive = __esm(() => {
|
|
12206
|
-
listeners = new Set;
|
|
12207
|
-
});
|
|
12208
|
-
|
|
12209
12116
|
// src/constants/apiLimits.ts
|
|
12210
12117
|
var API_IMAGE_MAX_BASE64_SIZE, IMAGE_TARGET_RAW_SIZE, IMAGE_MAX_WIDTH = 2000, IMAGE_MAX_HEIGHT = 2000, PDF_TARGET_RAW_SIZE, API_PDF_MAX_PAGES = 100, PDF_EXTRACT_SIZE_THRESHOLD, PDF_MAX_EXTRACT_SIZE, PDF_MAX_PAGES_PER_READ = 20, PDF_AT_MENTION_INLINE_THRESHOLD = 10, API_MAX_MEDIA_PER_REQUEST = 100;
|
|
12211
12118
|
var init_apiLimits = __esm(() => {
|
|
@@ -14594,7 +14501,7 @@ var init_applySettingsChange = __esm(() => {
|
|
|
14594
14501
|
// src/state/store.ts
|
|
14595
14502
|
function createStore(initialState, onChange) {
|
|
14596
14503
|
let state = initialState;
|
|
14597
|
-
const
|
|
14504
|
+
const listeners = new Set;
|
|
14598
14505
|
return {
|
|
14599
14506
|
getState: () => state,
|
|
14600
14507
|
setState: (updater) => {
|
|
@@ -14604,12 +14511,12 @@ function createStore(initialState, onChange) {
|
|
|
14604
14511
|
return;
|
|
14605
14512
|
state = next;
|
|
14606
14513
|
onChange?.({ newState: next, oldState: prev });
|
|
14607
|
-
for (const listener of
|
|
14514
|
+
for (const listener of listeners)
|
|
14608
14515
|
listener();
|
|
14609
14516
|
},
|
|
14610
14517
|
subscribe: (listener) => {
|
|
14611
|
-
|
|
14612
|
-
return () =>
|
|
14518
|
+
listeners.add(listener);
|
|
14519
|
+
return () => listeners.delete(listener);
|
|
14613
14520
|
}
|
|
14614
14521
|
};
|
|
14615
14522
|
}
|
|
@@ -32561,7 +32468,7 @@ function trackGitOperations(command, exitCode, stdout) {
|
|
|
32561
32468
|
if (stdout) {
|
|
32562
32469
|
const prInfo = findPrInStdout(stdout);
|
|
32563
32470
|
if (prInfo) {
|
|
32564
|
-
import("./chunk-
|
|
32471
|
+
import("./chunk-n7e9fm08.js").then(({ linkSessionToPR }) => {
|
|
32565
32472
|
import("./chunk-m1tjr9xq.js").then(({ getSessionId: getSessionId2 }) => {
|
|
32566
32473
|
const sessionId = getSessionId2();
|
|
32567
32474
|
if (sessionId) {
|
|
@@ -45488,7 +45395,7 @@ async function persistFileSnapshotIfRemote() {
|
|
|
45488
45395
|
uuid: randomUUID4(),
|
|
45489
45396
|
snapshotFiles
|
|
45490
45397
|
};
|
|
45491
|
-
const { recordTranscript } = await import("./chunk-
|
|
45398
|
+
const { recordTranscript } = await import("./chunk-n7e9fm08.js");
|
|
45492
45399
|
await recordTranscript([message]);
|
|
45493
45400
|
} catch (error) {
|
|
45494
45401
|
logError(error);
|
|
@@ -48102,8 +48009,8 @@ function addToTotalModelUsage(cost, usage, model) {
|
|
|
48102
48009
|
contextWindow: 0,
|
|
48103
48010
|
maxOutputTokens: 0
|
|
48104
48011
|
};
|
|
48105
|
-
modelUsage.inputTokens += usage.input_tokens;
|
|
48106
|
-
modelUsage.outputTokens += usage.output_tokens;
|
|
48012
|
+
modelUsage.inputTokens += usage.input_tokens ?? 0;
|
|
48013
|
+
modelUsage.outputTokens += usage.output_tokens ?? 0;
|
|
48107
48014
|
modelUsage.cacheReadInputTokens += usage.cache_read_input_tokens ?? 0;
|
|
48108
48015
|
modelUsage.cacheCreationInputTokens += usage.cache_creation_input_tokens ?? 0;
|
|
48109
48016
|
modelUsage.webSearchRequests += usage.server_tool_use?.web_search_requests ?? 0;
|
|
@@ -48979,6 +48886,39 @@ function objectGroupBy(items, keySelector) {
|
|
|
48979
48886
|
var init_objectGroupBy = () => {};
|
|
48980
48887
|
|
|
48981
48888
|
// src/utils/messageQueueManager.ts
|
|
48889
|
+
var exports_messageQueueManager = {};
|
|
48890
|
+
__export(exports_messageQueueManager, {
|
|
48891
|
+
subscribeToPendingNotifications: () => subscribeToPendingNotifications,
|
|
48892
|
+
subscribeToCommandQueue: () => subscribeToCommandQueue,
|
|
48893
|
+
resetPendingNotifications: () => resetPendingNotifications,
|
|
48894
|
+
resetCommandQueue: () => resetCommandQueue,
|
|
48895
|
+
removeByFilter: () => removeByFilter,
|
|
48896
|
+
remove: () => remove,
|
|
48897
|
+
recheckPendingNotifications: () => recheckPendingNotifications,
|
|
48898
|
+
recheckCommandQueue: () => recheckCommandQueue,
|
|
48899
|
+
popAllEditable: () => popAllEditable,
|
|
48900
|
+
peek: () => peek,
|
|
48901
|
+
isSlashCommand: () => isSlashCommand,
|
|
48902
|
+
isQueuedCommandVisible: () => isQueuedCommandVisible,
|
|
48903
|
+
isQueuedCommandEditable: () => isQueuedCommandEditable,
|
|
48904
|
+
isPromptInputModeEditable: () => isPromptInputModeEditable,
|
|
48905
|
+
hasPendingNotifications: () => hasPendingNotifications,
|
|
48906
|
+
hasCommandsInQueue: () => hasCommandsInQueue,
|
|
48907
|
+
getPendingNotificationsSnapshot: () => getPendingNotificationsSnapshot,
|
|
48908
|
+
getPendingNotificationsCount: () => getPendingNotificationsCount,
|
|
48909
|
+
getCommandsByMaxPriority: () => getCommandsByMaxPriority,
|
|
48910
|
+
getCommandQueueSnapshot: () => getCommandQueueSnapshot,
|
|
48911
|
+
getCommandQueueLength: () => getCommandQueueLength,
|
|
48912
|
+
getCommandQueue: () => getCommandQueue,
|
|
48913
|
+
enqueuePendingNotification: () => enqueuePendingNotification,
|
|
48914
|
+
enqueue: () => enqueue,
|
|
48915
|
+
dequeuePendingNotification: () => dequeuePendingNotification,
|
|
48916
|
+
dequeueAllMatching: () => dequeueAllMatching,
|
|
48917
|
+
dequeueAll: () => dequeueAll,
|
|
48918
|
+
dequeue: () => dequeue,
|
|
48919
|
+
clearPendingNotifications: () => clearPendingNotifications,
|
|
48920
|
+
clearCommandQueue: () => clearCommandQueue
|
|
48921
|
+
});
|
|
48982
48922
|
function logOperation(operation, content) {
|
|
48983
48923
|
const sessionId = getSessionId();
|
|
48984
48924
|
const queueOp = {
|
|
@@ -49006,6 +48946,11 @@ function getCommandQueueLength() {
|
|
|
49006
48946
|
function hasCommandsInQueue() {
|
|
49007
48947
|
return commandQueue.length > 0;
|
|
49008
48948
|
}
|
|
48949
|
+
function recheckCommandQueue() {
|
|
48950
|
+
if (commandQueue.length > 0) {
|
|
48951
|
+
notifySubscribers();
|
|
48952
|
+
}
|
|
48953
|
+
}
|
|
49009
48954
|
function enqueue(command) {
|
|
49010
48955
|
commandQueue.push({ ...command, priority: command.priority ?? "next" });
|
|
49011
48956
|
notifySubscribers();
|
|
@@ -49039,6 +48984,18 @@ function dequeue(filter) {
|
|
|
49039
48984
|
logOperation("dequeue");
|
|
49040
48985
|
return dequeued;
|
|
49041
48986
|
}
|
|
48987
|
+
function dequeueAll() {
|
|
48988
|
+
if (commandQueue.length === 0) {
|
|
48989
|
+
return [];
|
|
48990
|
+
}
|
|
48991
|
+
const commands = [...commandQueue];
|
|
48992
|
+
commandQueue.length = 0;
|
|
48993
|
+
notifySubscribers();
|
|
48994
|
+
for (const _cmd of commands) {
|
|
48995
|
+
logOperation("dequeue");
|
|
48996
|
+
}
|
|
48997
|
+
return commands;
|
|
48998
|
+
}
|
|
49042
48999
|
function peek(filter) {
|
|
49043
49000
|
if (commandQueue.length === 0) {
|
|
49044
49001
|
return;
|
|
@@ -49119,6 +49076,10 @@ function clearCommandQueue() {
|
|
|
49119
49076
|
commandQueue.length = 0;
|
|
49120
49077
|
notifySubscribers();
|
|
49121
49078
|
}
|
|
49079
|
+
function resetCommandQueue() {
|
|
49080
|
+
commandQueue.length = 0;
|
|
49081
|
+
snapshot = Object.freeze([]);
|
|
49082
|
+
}
|
|
49122
49083
|
function isPromptInputModeEditable(mode) {
|
|
49123
49084
|
return !NON_EDITABLE_MODES.has(mode);
|
|
49124
49085
|
}
|
|
@@ -49189,14 +49150,20 @@ function popAllEditable(currentInput, currentCursorOffset) {
|
|
|
49189
49150
|
notifySubscribers();
|
|
49190
49151
|
return { text: newInput, cursorOffset, images };
|
|
49191
49152
|
}
|
|
49153
|
+
function getPendingNotificationsSnapshot() {
|
|
49154
|
+
return snapshot;
|
|
49155
|
+
}
|
|
49156
|
+
function dequeuePendingNotification() {
|
|
49157
|
+
return dequeue();
|
|
49158
|
+
}
|
|
49192
49159
|
function getCommandsByMaxPriority(maxPriority) {
|
|
49193
49160
|
const threshold = PRIORITY_ORDER[maxPriority];
|
|
49194
49161
|
return commandQueue.filter((cmd) => PRIORITY_ORDER[cmd.priority ?? "next"] <= threshold);
|
|
49195
49162
|
}
|
|
49196
49163
|
function isSlashCommand(cmd) {
|
|
49197
|
-
return typeof cmd.value === "string" && cmd.value.trim().startsWith("/") && !cmd.skipSlashCommands;
|
|
49164
|
+
return typeof cmd.value === "string" && cmd.value.trim().startsWith("/") && (!cmd.skipSlashCommands || cmd.bridgeOrigin === true);
|
|
49198
49165
|
}
|
|
49199
|
-
var commandQueue, snapshot, queueChanged, subscribeToCommandQueue, PRIORITY_ORDER, NON_EDITABLE_MODES;
|
|
49166
|
+
var commandQueue, snapshot, queueChanged, subscribeToCommandQueue, PRIORITY_ORDER, NON_EDITABLE_MODES, subscribeToPendingNotifications, hasPendingNotifications, getPendingNotificationsCount, recheckPendingNotifications, resetPendingNotifications, clearPendingNotifications;
|
|
49200
49167
|
var init_messageQueueManager = __esm(() => {
|
|
49201
49168
|
init_state();
|
|
49202
49169
|
init_messages2();
|
|
@@ -49215,46 +49182,12 @@ var init_messageQueueManager = __esm(() => {
|
|
|
49215
49182
|
NON_EDITABLE_MODES = new Set([
|
|
49216
49183
|
"task-notification"
|
|
49217
49184
|
]);
|
|
49218
|
-
|
|
49219
|
-
|
|
49220
|
-
|
|
49221
|
-
|
|
49222
|
-
|
|
49223
|
-
|
|
49224
|
-
return;
|
|
49225
|
-
}
|
|
49226
|
-
if (queue.length >= MAX_QUEUE_SIZE) {
|
|
49227
|
-
queue.shift();
|
|
49228
|
-
}
|
|
49229
|
-
queue.push(event);
|
|
49230
|
-
}
|
|
49231
|
-
function drainSdkEvents() {
|
|
49232
|
-
if (queue.length === 0) {
|
|
49233
|
-
return [];
|
|
49234
|
-
}
|
|
49235
|
-
const events = queue.splice(0);
|
|
49236
|
-
return events.map((e) => ({
|
|
49237
|
-
...e,
|
|
49238
|
-
uuid: randomUUID5(),
|
|
49239
|
-
session_id: getSessionId()
|
|
49240
|
-
}));
|
|
49241
|
-
}
|
|
49242
|
-
function emitTaskTerminatedSdk(taskId, status, opts) {
|
|
49243
|
-
enqueueSdkEvent({
|
|
49244
|
-
type: "system",
|
|
49245
|
-
subtype: "task_notification",
|
|
49246
|
-
task_id: taskId,
|
|
49247
|
-
tool_use_id: opts?.toolUseId,
|
|
49248
|
-
status,
|
|
49249
|
-
output_file: opts?.outputFile ?? "",
|
|
49250
|
-
summary: opts?.summary ?? "",
|
|
49251
|
-
usage: opts?.usage
|
|
49252
|
-
});
|
|
49253
|
-
}
|
|
49254
|
-
var MAX_QUEUE_SIZE = 1000, queue;
|
|
49255
|
-
var init_sdkEventQueue = __esm(() => {
|
|
49256
|
-
init_state();
|
|
49257
|
-
queue = [];
|
|
49185
|
+
subscribeToPendingNotifications = subscribeToCommandQueue;
|
|
49186
|
+
hasPendingNotifications = hasCommandsInQueue;
|
|
49187
|
+
getPendingNotificationsCount = getCommandQueueLength;
|
|
49188
|
+
recheckPendingNotifications = recheckCommandQueue;
|
|
49189
|
+
resetPendingNotifications = resetCommandQueue;
|
|
49190
|
+
clearPendingNotifications = clearCommandQueue;
|
|
49258
49191
|
});
|
|
49259
49192
|
|
|
49260
49193
|
// src/utils/task/framework.ts
|
|
@@ -49705,12 +49638,12 @@ var init_AsyncHookRegistry = __esm(() => {
|
|
|
49705
49638
|
});
|
|
49706
49639
|
|
|
49707
49640
|
// src/services/lsp/LSPDiagnosticRegistry.ts
|
|
49708
|
-
import { randomUUID as
|
|
49641
|
+
import { randomUUID as randomUUID5 } from "crypto";
|
|
49709
49642
|
function registerPendingLSPDiagnostic({
|
|
49710
49643
|
serverName,
|
|
49711
49644
|
files
|
|
49712
49645
|
}) {
|
|
49713
|
-
const diagnosticId =
|
|
49646
|
+
const diagnosticId = randomUUID5();
|
|
49714
49647
|
logForDebugging(`LSP Diagnostics: Registering ${files.length} diagnostic file(s) from ${serverName} (ID: ${diagnosticId})`);
|
|
49715
49648
|
pendingDiagnostics.set(diagnosticId, {
|
|
49716
49649
|
serverName,
|
|
@@ -51934,7 +51867,7 @@ var init_snipCompact = () => {};
|
|
|
51934
51867
|
// src/utils/attachments.ts
|
|
51935
51868
|
import { readdir as readdir7, stat as stat8 } from "fs/promises";
|
|
51936
51869
|
import { dirname as dirname9, parse as parse2, relative as relative2, resolve as resolve10 } from "path";
|
|
51937
|
-
import { randomUUID as
|
|
51870
|
+
import { randomUUID as randomUUID6 } from "crypto";
|
|
51938
51871
|
async function getAttachments(input, toolUseContext, ideSelection, queuedCommands, messages, querySource, options) {
|
|
51939
51872
|
if (isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_ATTACHMENTS) || isEnvTruthy(process.env.CLAUDE_CODE_SIMPLE)) {
|
|
51940
51873
|
return getQueuedCommandAttachments(queuedCommands);
|
|
@@ -53101,7 +53034,7 @@ function createAttachmentMessage(attachment) {
|
|
|
53101
53034
|
return {
|
|
53102
53035
|
attachment,
|
|
53103
53036
|
type: "attachment",
|
|
53104
|
-
uuid:
|
|
53037
|
+
uuid: randomUUID6(),
|
|
53105
53038
|
timestamp: new Date().toISOString()
|
|
53106
53039
|
};
|
|
53107
53040
|
}
|
|
@@ -60624,7 +60557,7 @@ var init_xaaIdpLogin = __esm(() => {
|
|
|
60624
60557
|
});
|
|
60625
60558
|
|
|
60626
60559
|
// src/services/mcp/auth.ts
|
|
60627
|
-
import { createHash as createHash7, randomBytes as randomBytes8, randomUUID as
|
|
60560
|
+
import { createHash as createHash7, randomBytes as randomBytes8, randomUUID as randomUUID7 } from "crypto";
|
|
60628
60561
|
import { mkdir as mkdir11 } from "fs/promises";
|
|
60629
60562
|
import { createServer as createServer5 } from "http";
|
|
60630
60563
|
import { join as join40 } from "path";
|
|
@@ -61042,7 +60975,7 @@ async function performMCPOAuthFlow(serverName, serverConfig, onAuthorizationUrl,
|
|
|
61042
60975
|
scope: cachedStepUpScope,
|
|
61043
60976
|
resourceMetadataUrl
|
|
61044
60977
|
};
|
|
61045
|
-
const flowAttemptId =
|
|
60978
|
+
const flowAttemptId = randomUUID7();
|
|
61046
60979
|
logEvent("tengu_mcp_oauth_flow_start", {
|
|
61047
60980
|
flowAttemptId,
|
|
61048
60981
|
isOAuthFlow: true,
|
|
@@ -62687,8 +62620,8 @@ var init_mcpWebSocketTransport = __esm(() => {
|
|
|
62687
62620
|
function getElicitationMode(params) {
|
|
62688
62621
|
return params.mode === "url" ? "url" : "form";
|
|
62689
62622
|
}
|
|
62690
|
-
function findElicitationInQueue(
|
|
62691
|
-
return
|
|
62623
|
+
function findElicitationInQueue(queue, serverName, elicitationId) {
|
|
62624
|
+
return queue.findIndex((e) => e.serverName === serverName && e.params.mode === "url" && ("elicitationId" in e.params) && e.params.elicitationId === elicitationId);
|
|
62692
62625
|
}
|
|
62693
62626
|
function registerElicitationHandler(client, serverName, setAppState) {
|
|
62694
62627
|
try {
|
|
@@ -62765,9 +62698,9 @@ function registerElicitationHandler(client, serverName, setAppState) {
|
|
|
62765
62698
|
if (idx === -1)
|
|
62766
62699
|
return prev;
|
|
62767
62700
|
found = true;
|
|
62768
|
-
const
|
|
62769
|
-
|
|
62770
|
-
return { ...prev, elicitation: { queue
|
|
62701
|
+
const queue = [...prev.elicitation.queue];
|
|
62702
|
+
queue[idx] = { ...queue[idx], completed: true };
|
|
62703
|
+
return { ...prev, elicitation: { queue } };
|
|
62771
62704
|
});
|
|
62772
62705
|
if (!found) {
|
|
62773
62706
|
logMCPDebug(serverName, `Ignoring completion notification for unknown elicitation: ${elicitationId}`);
|
|
@@ -75899,10 +75832,10 @@ function useNotifications() {
|
|
|
75899
75832
|
}, []);
|
|
75900
75833
|
return { addNotification, removeNotification };
|
|
75901
75834
|
}
|
|
75902
|
-
function getNext(
|
|
75903
|
-
if (
|
|
75835
|
+
function getNext(queue) {
|
|
75836
|
+
if (queue.length === 0)
|
|
75904
75837
|
return;
|
|
75905
|
-
return
|
|
75838
|
+
return queue.reduce((min, n) => PRIORITIES[n.priority] < PRIORITIES[min.priority] ? n : min);
|
|
75906
75839
|
}
|
|
75907
75840
|
var import_react10, DEFAULT_TIMEOUT_MS = 8000, currentTimeoutId = null, PRIORITIES;
|
|
75908
75841
|
var init_notifications = __esm(() => {
|
|
@@ -78274,9 +78207,9 @@ var init_BaseTextInput = __esm(() => {
|
|
|
78274
78207
|
// src/components/Spinner/utils.ts
|
|
78275
78208
|
function getDefaultCharacters() {
|
|
78276
78209
|
if (process.env.TERM === "xterm-ghostty") {
|
|
78277
|
-
return ["\xB7", "\u2722", "\
|
|
78210
|
+
return ["\xB7", "\u2722", "\u2731", "\u2736", "\u273B", "*"];
|
|
78278
78211
|
}
|
|
78279
|
-
return process.platform === "darwin" ? ["\xB7", "\u2722", "\
|
|
78212
|
+
return process.platform === "darwin" ? ["\xB7", "\u2722", "\u2731", "\u2736", "\u273B", "\u273D"] : ["\xB7", "\u2722", "\u2731", "\u2736", "\u273B", "\u273D"];
|
|
78280
78213
|
}
|
|
78281
78214
|
function interpolateColor(color1, color2, t) {
|
|
78282
78215
|
return {
|
|
@@ -81690,7 +81623,7 @@ var init_client5 = __esm(() => {
|
|
|
81690
81623
|
transport = new StreamableHTTPClientTransport(new URL(proxyUrl), transportOptions);
|
|
81691
81624
|
logMCPDebug(name, `claude.ai proxy transport created successfully`);
|
|
81692
81625
|
} else if ((serverRef.type === "stdio" || !serverRef.type) && isClaudeInChromeMCPServer(name)) {
|
|
81693
|
-
const { createChromeContext } = await import("./chunk-
|
|
81626
|
+
const { createChromeContext } = await import("./chunk-hmx6fwqe.js");
|
|
81694
81627
|
const { createClaudeForChromeMcpServer } = await import("./chunk-dm3n2qgd.js");
|
|
81695
81628
|
const { createLinkedTransportPair: createLinkedTransportPair2 } = await import("./chunk-1h2famwb.js");
|
|
81696
81629
|
const context = createChromeContext(serverRef.env);
|
|
@@ -81700,7 +81633,7 @@ var init_client5 = __esm(() => {
|
|
|
81700
81633
|
transport = clientTransport;
|
|
81701
81634
|
logMCPDebug(name, `In-process Chrome MCP server started`);
|
|
81702
81635
|
} else if ((serverRef.type === "stdio" || !serverRef.type) && isComputerUseMCPServer(name)) {
|
|
81703
|
-
const { createComputerUseMcpServerForCli } = await import("./chunk-
|
|
81636
|
+
const { createComputerUseMcpServerForCli } = await import("./chunk-anw7kmsz.js");
|
|
81704
81637
|
const { createLinkedTransportPair: createLinkedTransportPair2 } = await import("./chunk-1h2famwb.js");
|
|
81705
81638
|
inProcessServer = await createComputerUseMcpServerForCli();
|
|
81706
81639
|
const [clientTransport, serverTransport] = createLinkedTransportPair2();
|
|
@@ -84573,13 +84506,13 @@ var require_connection = __commonJS((exports) => {
|
|
|
84573
84506
|
function createNotificationQueueKey() {
|
|
84574
84507
|
return "not-" + (++notificationSequenceNumber).toString();
|
|
84575
84508
|
}
|
|
84576
|
-
function addMessageToQueue(
|
|
84509
|
+
function addMessageToQueue(queue, message) {
|
|
84577
84510
|
if (messages_1.Message.isRequest(message)) {
|
|
84578
|
-
|
|
84511
|
+
queue.set(createRequestQueueKey(message.id), message);
|
|
84579
84512
|
} else if (messages_1.Message.isResponse(message)) {
|
|
84580
|
-
|
|
84513
|
+
queue.set(createResponseQueueKey(message.id), message);
|
|
84581
84514
|
} else {
|
|
84582
|
-
|
|
84515
|
+
queue.set(createNotificationQueueKey(), message);
|
|
84583
84516
|
}
|
|
84584
84517
|
}
|
|
84585
84518
|
function cancelUndispatched(_message) {
|
|
@@ -88576,11 +88509,11 @@ function charWidth(ch) {
|
|
|
88576
88509
|
function wrapText3(h, width, theme) {
|
|
88577
88510
|
const newLines = [];
|
|
88578
88511
|
for (const line of h.lines) {
|
|
88579
|
-
const
|
|
88512
|
+
const queue = line.slice();
|
|
88580
88513
|
let cur = [];
|
|
88581
88514
|
let curW = 0;
|
|
88582
|
-
while (
|
|
88583
|
-
const [style, text2] =
|
|
88515
|
+
while (queue.length > 0) {
|
|
88516
|
+
const [style, text2] = queue.shift();
|
|
88584
88517
|
const tw = stringWidth2(text2);
|
|
88585
88518
|
if (curW + tw <= width) {
|
|
88586
88519
|
cur.push([style, text2]);
|
|
@@ -88602,7 +88535,7 @@ function wrapText3(h, width, theme) {
|
|
|
88602
88535
|
bytePos = firstCp > 65535 ? 2 : 1;
|
|
88603
88536
|
} else {
|
|
88604
88537
|
newLines.push(cur);
|
|
88605
|
-
|
|
88538
|
+
queue.unshift([style, text2]);
|
|
88606
88539
|
cur = [];
|
|
88607
88540
|
curW = 0;
|
|
88608
88541
|
continue;
|
|
@@ -88610,7 +88543,7 @@ function wrapText3(h, width, theme) {
|
|
|
88610
88543
|
}
|
|
88611
88544
|
cur.push([style, text2.slice(0, bytePos)]);
|
|
88612
88545
|
newLines.push(cur);
|
|
88613
|
-
|
|
88546
|
+
queue.unshift([style, text2.slice(bytePos)]);
|
|
88614
88547
|
cur = [];
|
|
88615
88548
|
curW = 0;
|
|
88616
88549
|
}
|
|
@@ -89306,9 +89239,9 @@ function formatDiff(lines, startingLineNumber, width, dim, overrideTheme) {
|
|
|
89306
89239
|
function numberDiffLines(diff, startLine) {
|
|
89307
89240
|
let i = startLine;
|
|
89308
89241
|
const result = [];
|
|
89309
|
-
const
|
|
89310
|
-
while (
|
|
89311
|
-
const current =
|
|
89242
|
+
const queue = [...diff];
|
|
89243
|
+
while (queue.length > 0) {
|
|
89244
|
+
const current = queue.shift();
|
|
89312
89245
|
const { code, type, originalCode, wordDiff: wordDiff2, matchedLine } = current;
|
|
89313
89246
|
const line = {
|
|
89314
89247
|
code,
|
|
@@ -89330,9 +89263,9 @@ function numberDiffLines(diff, startLine) {
|
|
|
89330
89263
|
case "remove": {
|
|
89331
89264
|
result.push(line);
|
|
89332
89265
|
let numRemoved = 0;
|
|
89333
|
-
while (
|
|
89266
|
+
while (queue[0]?.type === "remove") {
|
|
89334
89267
|
i++;
|
|
89335
|
-
const current2 =
|
|
89268
|
+
const current2 = queue.shift();
|
|
89336
89269
|
const { code: code2, type: type2, originalCode: originalCode2, wordDiff: wordDiff3, matchedLine: matchedLine2 } = current2;
|
|
89337
89270
|
const line2 = {
|
|
89338
89271
|
code: code2,
|
|
@@ -93050,6 +92983,9 @@ function updateProgressFromMessage(tracker, message, resolveActivityDescription,
|
|
|
93050
92983
|
return;
|
|
93051
92984
|
}
|
|
93052
92985
|
const usage = message.message.usage;
|
|
92986
|
+
if (!usage) {
|
|
92987
|
+
return;
|
|
92988
|
+
}
|
|
93053
92989
|
tracker.latestInputTokens = usage.input_tokens + (usage.cache_creation_input_tokens ?? 0) + (usage.cache_read_input_tokens ?? 0);
|
|
93054
92990
|
tracker.cumulativeOutputTokens += usage.output_tokens;
|
|
93055
92991
|
for (const content of message.message.content ?? []) {
|
|
@@ -104787,7 +104723,7 @@ var init_MonitorMcpTask = __esm(() => {
|
|
|
104787
104723
|
});
|
|
104788
104724
|
|
|
104789
104725
|
// packages/builtin-tools/src/tools/AgentTool/runAgent.ts
|
|
104790
|
-
import { randomUUID as
|
|
104726
|
+
import { randomUUID as randomUUID8 } from "crypto";
|
|
104791
104727
|
async function initializeAgentMcpServers(agentDefinition, parentClients) {
|
|
104792
104728
|
if (!agentDefinition.mcpServers?.length) {
|
|
104793
104729
|
return {
|
|
@@ -104973,7 +104909,7 @@ async function* runAgent({
|
|
|
104973
104909
|
type: "hook_additional_context",
|
|
104974
104910
|
content: additionalContexts,
|
|
104975
104911
|
hookName: "SubagentStart",
|
|
104976
|
-
toolUseID:
|
|
104912
|
+
toolUseID: randomUUID8(),
|
|
104977
104913
|
hookEvent: "SubagentStart"
|
|
104978
104914
|
});
|
|
104979
104915
|
initialMessages.push(contextMessage);
|
|
@@ -104999,7 +104935,7 @@ async function* runAgent({
|
|
|
104999
104935
|
}
|
|
105000
104936
|
validSkills.push({ skillName, skill });
|
|
105001
104937
|
}
|
|
105002
|
-
const { formatSkillLoadingMetadata } = await import("./chunk-
|
|
104938
|
+
const { formatSkillLoadingMetadata } = await import("./chunk-jhq4q5mx.js");
|
|
105003
104939
|
const loaded = await Promise.all(validSkills.map(async ({ skillName, skill }) => ({
|
|
105004
104940
|
skillName,
|
|
105005
104941
|
skill,
|
|
@@ -106001,7 +105937,7 @@ async function gracefulShutdown(exitCode = 0, reason = "other", options) {
|
|
|
106001
105937
|
return;
|
|
106002
105938
|
}
|
|
106003
105939
|
shutdownInProgress = true;
|
|
106004
|
-
const { executeSessionEndHooks, getSessionEndHookTimeoutMs } = await import("./chunk-
|
|
105940
|
+
const { executeSessionEndHooks, getSessionEndHookTimeoutMs } = await import("./chunk-s99sq9ns.js");
|
|
106005
105941
|
const sessionEndTimeoutMs = getSessionEndHookTimeoutMs();
|
|
106006
105942
|
failsafeTimer = setTimeout((code) => {
|
|
106007
105943
|
cleanupTerminalModes();
|
|
@@ -106780,7 +106716,7 @@ var init_remoteManagedSettings = __esm(() => {
|
|
|
106780
106716
|
async function performLogout({
|
|
106781
106717
|
clearOnboarding = false
|
|
106782
106718
|
}) {
|
|
106783
|
-
const { flushTelemetry } = await import("./chunk-
|
|
106719
|
+
const { flushTelemetry } = await import("./chunk-xpk6dapv.js");
|
|
106784
106720
|
await flushTelemetry();
|
|
106785
106721
|
await removeApiKey();
|
|
106786
106722
|
const secureStorage = getSecureStorage();
|
|
@@ -112644,7 +112580,7 @@ var init_autonomyPersistence = __esm(() => {
|
|
|
112644
112580
|
});
|
|
112645
112581
|
|
|
112646
112582
|
// src/utils/autonomyFlows.ts
|
|
112647
|
-
import { randomUUID as
|
|
112583
|
+
import { randomUUID as randomUUID9 } from "crypto";
|
|
112648
112584
|
import { mkdir as mkdir18, writeFile as writeFile21 } from "fs/promises";
|
|
112649
112585
|
import { dirname as dirname28, join as join61, resolve as resolve23 } from "path";
|
|
112650
112586
|
function cloneFlowStep(step) {
|
|
@@ -112743,7 +112679,7 @@ function buildManagedState(steps) {
|
|
|
112743
112679
|
return {
|
|
112744
112680
|
currentStepIndex: 0,
|
|
112745
112681
|
steps: steps.map((step) => ({
|
|
112746
|
-
stepId:
|
|
112682
|
+
stepId: randomUUID9(),
|
|
112747
112683
|
name: step.name,
|
|
112748
112684
|
prompt: step.prompt,
|
|
112749
112685
|
status: "pending",
|
|
@@ -112854,7 +112790,7 @@ async function startManagedAutonomyFlow(params) {
|
|
|
112854
112790
|
stepIndex: 0
|
|
112855
112791
|
} : undefined;
|
|
112856
112792
|
const next = normalizeFlowRecord({
|
|
112857
|
-
flowId: current?.flowId ??
|
|
112793
|
+
flowId: current?.flowId ?? randomUUID9(),
|
|
112858
112794
|
flowKey,
|
|
112859
112795
|
syncMode: "managed",
|
|
112860
112796
|
ownerKey: params.ownerKey ?? current?.ownerKey ?? DEFAULT_AUTONOMY_OWNER_KEY,
|
|
@@ -113318,7 +113254,7 @@ var init_autonomyFlows = __esm(() => {
|
|
|
113318
113254
|
});
|
|
113319
113255
|
|
|
113320
113256
|
// src/utils/autonomyRuns.ts
|
|
113321
|
-
import { randomUUID as
|
|
113257
|
+
import { randomUUID as randomUUID10 } from "crypto";
|
|
113322
113258
|
import { mkdir as mkdir19, writeFile as writeFile22 } from "fs/promises";
|
|
113323
113259
|
import { dirname as dirname29, join as join62, resolve as resolve24 } from "path";
|
|
113324
113260
|
function truncatePromptPreview(prompt) {
|
|
@@ -113384,7 +113320,7 @@ async function createAutonomyRun(params) {
|
|
|
113384
113320
|
const rootDir = resolve24(params.rootDir ?? getProjectRoot());
|
|
113385
113321
|
const currentDir = resolve24(params.currentDir ?? rootDir);
|
|
113386
113322
|
const record2 = {
|
|
113387
|
-
runId:
|
|
113323
|
+
runId: randomUUID10(),
|
|
113388
113324
|
runtime: params.runtime ?? (params.flow ? "flow_step" : "automatic"),
|
|
113389
113325
|
trigger: params.trigger,
|
|
113390
113326
|
status: "queued",
|
|
@@ -114078,10 +114014,10 @@ var init_InProcessTeammateTask = __esm(() => {
|
|
|
114078
114014
|
// src/hooks/useElapsedTime.ts
|
|
114079
114015
|
function useElapsedTime(startTime, isRunning, ms = 1000, pausedMs = 0, endTime) {
|
|
114080
114016
|
const get = () => formatDuration(Math.max(0, (endTime ?? Date.now()) - startTime - pausedMs));
|
|
114081
|
-
const subscribe = import_react32.useCallback((
|
|
114017
|
+
const subscribe = import_react32.useCallback((notify) => {
|
|
114082
114018
|
if (!isRunning)
|
|
114083
114019
|
return () => {};
|
|
114084
|
-
const interval = setInterval(
|
|
114020
|
+
const interval = setInterval(notify, ms);
|
|
114085
114021
|
return () => clearInterval(interval);
|
|
114086
114022
|
}, [isRunning, ms]);
|
|
114087
114023
|
return import_react32.useSyncExternalStore(subscribe, get, get);
|
|
@@ -115520,19 +115456,19 @@ function OAuthStatusMessage({
|
|
|
115520
115456
|
}, { context: "Confirmation" });
|
|
115521
115457
|
const columns = useTerminalSize().columns - 20;
|
|
115522
115458
|
const renderRow = (field, label, opts) => {
|
|
115523
|
-
const
|
|
115459
|
+
const active = activeField === field;
|
|
115524
115460
|
const val = displayValues[field];
|
|
115525
115461
|
return /* @__PURE__ */ jsx_dev_runtime50.jsxDEV(ThemedBox_default, {
|
|
115526
115462
|
children: [
|
|
115527
115463
|
/* @__PURE__ */ jsx_dev_runtime50.jsxDEV(ThemedText, {
|
|
115528
|
-
backgroundColor:
|
|
115529
|
-
color:
|
|
115464
|
+
backgroundColor: active ? "suggestion" : undefined,
|
|
115465
|
+
color: active ? "inverseText" : undefined,
|
|
115530
115466
|
children: ` ${label} `
|
|
115531
115467
|
}, undefined, false, undefined, this),
|
|
115532
115468
|
/* @__PURE__ */ jsx_dev_runtime50.jsxDEV(ThemedText, {
|
|
115533
115469
|
children: " "
|
|
115534
115470
|
}, undefined, false, undefined, this),
|
|
115535
|
-
|
|
115471
|
+
active ? /* @__PURE__ */ jsx_dev_runtime50.jsxDEV(TextInput, {
|
|
115536
115472
|
value: inputValue,
|
|
115537
115473
|
onChange: setInputValue,
|
|
115538
115474
|
onSubmit: handleEnter,
|
|
@@ -115713,19 +115649,19 @@ function OAuthStatusMessage({
|
|
|
115713
115649
|
}, { context: "Confirmation" });
|
|
115714
115650
|
const openaiColumns = useTerminalSize().columns - 20;
|
|
115715
115651
|
const renderOpenAIRow = (field, label, opts) => {
|
|
115716
|
-
const
|
|
115652
|
+
const active = activeField === field;
|
|
115717
115653
|
const val = openaiDisplayValues[field];
|
|
115718
115654
|
return /* @__PURE__ */ jsx_dev_runtime50.jsxDEV(ThemedBox_default, {
|
|
115719
115655
|
children: [
|
|
115720
115656
|
/* @__PURE__ */ jsx_dev_runtime50.jsxDEV(ThemedText, {
|
|
115721
|
-
backgroundColor:
|
|
115722
|
-
color:
|
|
115657
|
+
backgroundColor: active ? "suggestion" : undefined,
|
|
115658
|
+
color: active ? "inverseText" : undefined,
|
|
115723
115659
|
children: ` ${label} `
|
|
115724
115660
|
}, undefined, false, undefined, this),
|
|
115725
115661
|
/* @__PURE__ */ jsx_dev_runtime50.jsxDEV(ThemedText, {
|
|
115726
115662
|
children: " "
|
|
115727
115663
|
}, undefined, false, undefined, this),
|
|
115728
|
-
|
|
115664
|
+
active ? /* @__PURE__ */ jsx_dev_runtime50.jsxDEV(TextInput, {
|
|
115729
115665
|
value: openaiInputValue,
|
|
115730
115666
|
onChange: setOpenaiInputValue,
|
|
115731
115667
|
onSubmit: handleOpenAIEnter,
|
|
@@ -115907,19 +115843,19 @@ function OAuthStatusMessage({
|
|
|
115907
115843
|
}, { context: "Confirmation" });
|
|
115908
115844
|
const geminiColumns = useTerminalSize().columns - 20;
|
|
115909
115845
|
const renderGeminiRow = (field, label, opts) => {
|
|
115910
|
-
const
|
|
115846
|
+
const active = activeField === field;
|
|
115911
115847
|
const val = geminiDisplayValues[field];
|
|
115912
115848
|
return /* @__PURE__ */ jsx_dev_runtime50.jsxDEV(ThemedBox_default, {
|
|
115913
115849
|
children: [
|
|
115914
115850
|
/* @__PURE__ */ jsx_dev_runtime50.jsxDEV(ThemedText, {
|
|
115915
|
-
backgroundColor:
|
|
115916
|
-
color:
|
|
115851
|
+
backgroundColor: active ? "suggestion" : undefined,
|
|
115852
|
+
color: active ? "inverseText" : undefined,
|
|
115917
115853
|
children: ` ${label} `
|
|
115918
115854
|
}, undefined, false, undefined, this),
|
|
115919
115855
|
/* @__PURE__ */ jsx_dev_runtime50.jsxDEV(ThemedText, {
|
|
115920
115856
|
children: " "
|
|
115921
115857
|
}, undefined, false, undefined, this),
|
|
115922
|
-
|
|
115858
|
+
active ? /* @__PURE__ */ jsx_dev_runtime50.jsxDEV(TextInput, {
|
|
115923
115859
|
value: geminiInputValue,
|
|
115924
115860
|
onChange: setGeminiInputValue,
|
|
115925
115861
|
onSubmit: handleGeminiEnter,
|
|
@@ -117416,7 +117352,7 @@ async function loadConversationForResume(source, sourceJsonlFile) {
|
|
|
117416
117352
|
let skip = new Set;
|
|
117417
117353
|
if (true) {
|
|
117418
117354
|
try {
|
|
117419
|
-
const { listAllLiveSessions } = await import("./chunk-
|
|
117355
|
+
const { listAllLiveSessions } = await import("./chunk-t7gpw9nw.js");
|
|
117420
117356
|
const live = await listAllLiveSessions();
|
|
117421
117357
|
skip = new Set(live.flatMap((s) => s.kind && s.kind !== "interactive" && s.sessionId ? [s.sessionId] : []));
|
|
117422
117358
|
} catch {}
|
|
@@ -117503,7 +117439,7 @@ var init_conversationRecovery = __esm(() => {
|
|
|
117503
117439
|
});
|
|
117504
117440
|
|
|
117505
117441
|
// src/services/api/filesApi.ts
|
|
117506
|
-
import { randomUUID as
|
|
117442
|
+
import { randomUUID as randomUUID11 } from "crypto";
|
|
117507
117443
|
import * as fs7 from "fs/promises";
|
|
117508
117444
|
import * as path8 from "path";
|
|
117509
117445
|
function getDefaultApiBaseUrl() {
|
|
@@ -117687,7 +117623,7 @@ async function uploadFile(filePath, relativePath, config3, opts) {
|
|
|
117687
117623
|
success: false
|
|
117688
117624
|
};
|
|
117689
117625
|
}
|
|
117690
|
-
const boundary = `----FormBoundary${
|
|
117626
|
+
const boundary = `----FormBoundary${randomUUID11()}`;
|
|
117691
117627
|
const filename = path8.basename(relativePath);
|
|
117692
117628
|
const bodyParts = [];
|
|
117693
117629
|
bodyParts.push(Buffer.from(`--${boundary}\r
|
|
@@ -117826,11 +117762,11 @@ var init_filesApi = __esm(() => {
|
|
|
117826
117762
|
});
|
|
117827
117763
|
|
|
117828
117764
|
// src/utils/tempfile.ts
|
|
117829
|
-
import { createHash as createHash14, randomUUID as
|
|
117765
|
+
import { createHash as createHash14, randomUUID as randomUUID12 } from "crypto";
|
|
117830
117766
|
import { tmpdir as tmpdir5 } from "os";
|
|
117831
117767
|
import { join as join64 } from "path";
|
|
117832
117768
|
function generateTempFilePath(prefix = "claude-prompt", extension = ".md", options) {
|
|
117833
|
-
const id = options?.contentHash ? createHash14("sha256").update(options.contentHash).digest("hex").slice(0, 16) :
|
|
117769
|
+
const id = options?.contentHash ? createHash14("sha256").update(options.contentHash).digest("hex").slice(0, 16) : randomUUID12();
|
|
117834
117770
|
return join64(tmpdir5(), `${prefix}-${id}${extension}`);
|
|
117835
117771
|
}
|
|
117836
117772
|
var init_tempfile = () => {};
|
|
@@ -117993,7 +117929,7 @@ var init_gitBundle = __esm(() => {
|
|
|
117993
117929
|
});
|
|
117994
117930
|
|
|
117995
117931
|
// src/utils/teleport.tsx
|
|
117996
|
-
import { randomUUID as
|
|
117932
|
+
import { randomUUID as randomUUID13 } from "crypto";
|
|
117997
117933
|
function createTeleportResumeSystemMessage(branchError) {
|
|
117998
117934
|
if (branchError === null) {
|
|
117999
117935
|
return createSystemMessage("Session resumed", "suggestion");
|
|
@@ -118661,7 +118597,7 @@ async function teleportToRemote(options) {
|
|
|
118661
118597
|
type: "event",
|
|
118662
118598
|
data: {
|
|
118663
118599
|
type: "control_request",
|
|
118664
|
-
request_id: `set-mode-${
|
|
118600
|
+
request_id: `set-mode-${randomUUID13()}`,
|
|
118665
118601
|
request: {
|
|
118666
118602
|
subtype: "set_permission_mode",
|
|
118667
118603
|
mode: options.permissionMode,
|
|
@@ -118674,7 +118610,7 @@ async function teleportToRemote(options) {
|
|
|
118674
118610
|
events.push({
|
|
118675
118611
|
type: "event",
|
|
118676
118612
|
data: {
|
|
118677
|
-
uuid:
|
|
118613
|
+
uuid: randomUUID13(),
|
|
118678
118614
|
session_id: "",
|
|
118679
118615
|
type: "user",
|
|
118680
118616
|
parent_tool_use_id: null,
|
|
@@ -122100,13 +122036,13 @@ function createInProcessCanUseTool(identity, abortController, onPermissionWaitMs
|
|
|
122100
122036
|
decisionMade = true;
|
|
122101
122037
|
reportPermissionWait();
|
|
122102
122038
|
resolve25({ behavior: "ask", message: SUBAGENT_REJECT_MESSAGE });
|
|
122103
|
-
setToolUseConfirmQueue((
|
|
122039
|
+
setToolUseConfirmQueue((queue) => queue.filter((item) => item.toolUseID !== toolUseID));
|
|
122104
122040
|
};
|
|
122105
122041
|
abortController.signal.addEventListener("abort", onAbortListener, {
|
|
122106
122042
|
once: true
|
|
122107
122043
|
});
|
|
122108
|
-
setToolUseConfirmQueue((
|
|
122109
|
-
...
|
|
122044
|
+
setToolUseConfirmQueue((queue) => [
|
|
122045
|
+
...queue,
|
|
122110
122046
|
{
|
|
122111
122047
|
assistantMessage,
|
|
122112
122048
|
tool,
|
|
@@ -122169,7 +122105,7 @@ function createInProcessCanUseTool(identity, abortController, onPermissionWaitMs
|
|
|
122169
122105
|
decisionMade = true;
|
|
122170
122106
|
abortController.signal.removeEventListener("abort", onAbortListener);
|
|
122171
122107
|
reportPermissionWait();
|
|
122172
|
-
setToolUseConfirmQueue((
|
|
122108
|
+
setToolUseConfirmQueue((queue2) => queue2.filter((item) => item.toolUseID !== toolUseID));
|
|
122173
122109
|
resolve25({
|
|
122174
122110
|
...freshResult,
|
|
122175
122111
|
updatedInput: input,
|
|
@@ -123005,9 +122941,9 @@ class InProcessBackend {
|
|
|
123005
122941
|
}
|
|
123006
122942
|
const isRunning = task.status === "running";
|
|
123007
122943
|
const isAborted = task.abortController?.signal.aborted ?? true;
|
|
123008
|
-
const
|
|
123009
|
-
logForDebugging(`[InProcessBackend] isActive() for ${agentId}: ${
|
|
123010
|
-
return
|
|
122944
|
+
const active = isRunning && !isAborted;
|
|
122945
|
+
logForDebugging(`[InProcessBackend] isActive() for ${agentId}: ${active} (running=${isRunning}, aborted=${isAborted})`);
|
|
122946
|
+
return active;
|
|
123011
122947
|
}
|
|
123012
122948
|
}
|
|
123013
122949
|
function createInProcessBackend() {
|
|
@@ -123252,7 +123188,7 @@ function clearTeammateColors() {
|
|
|
123252
123188
|
colorIndex = 0;
|
|
123253
123189
|
}
|
|
123254
123190
|
async function isInsideTmux2() {
|
|
123255
|
-
const { isInsideTmux: checkTmux } = await import("./chunk-
|
|
123191
|
+
const { isInsideTmux: checkTmux } = await import("./chunk-7r1n0c67.js");
|
|
123256
123192
|
return checkTmux();
|
|
123257
123193
|
}
|
|
123258
123194
|
async function createTeammatePaneInSwarmView(teammateName, teammateColor) {
|
|
@@ -123448,8 +123384,8 @@ var init_PaneBackendExecutor = __esm(() => {
|
|
|
123448
123384
|
async function ensureBackendsRegistered() {
|
|
123449
123385
|
if (backendsRegistered)
|
|
123450
123386
|
return;
|
|
123451
|
-
await import("./chunk-
|
|
123452
|
-
await import("./chunk-
|
|
123387
|
+
await import("./chunk-w78h4cpg.js");
|
|
123388
|
+
await import("./chunk-y07sc1z5.js");
|
|
123453
123389
|
backendsRegistered = true;
|
|
123454
123390
|
}
|
|
123455
123391
|
function registerTmuxBackend(backendClass) {
|
|
@@ -125219,7 +125155,7 @@ var init_extra_usage = __esm(() => {
|
|
|
125219
125155
|
name: "extra-usage",
|
|
125220
125156
|
description: "Configure extra usage to keep working when limits are hit",
|
|
125221
125157
|
isEnabled: () => isExtraUsageAllowed() && !getIsNonInteractiveSession(),
|
|
125222
|
-
load: () => import("./chunk-
|
|
125158
|
+
load: () => import("./chunk-136cpn7r.js")
|
|
125223
125159
|
};
|
|
125224
125160
|
extraUsageNonInteractive = {
|
|
125225
125161
|
type: "local",
|
|
@@ -125230,7 +125166,7 @@ var init_extra_usage = __esm(() => {
|
|
|
125230
125166
|
get isHidden() {
|
|
125231
125167
|
return !getIsNonInteractiveSession();
|
|
125232
125168
|
},
|
|
125233
|
-
load: () => import("./chunk-
|
|
125169
|
+
load: () => import("./chunk-zzv0m6zw.js")
|
|
125234
125170
|
};
|
|
125235
125171
|
});
|
|
125236
125172
|
|
|
@@ -132464,7 +132400,7 @@ var init_SkillTool = __esm(() => {
|
|
|
132464
132400
|
if (command?.type === "prompt" && command.context === "fork") {
|
|
132465
132401
|
return executeForkedSkill(command, commandName, args, context2, canUseTool, parentMessage, onProgress);
|
|
132466
132402
|
}
|
|
132467
|
-
const { processPromptSlashCommand } = await import("./chunk-
|
|
132403
|
+
const { processPromptSlashCommand } = await import("./chunk-jhq4q5mx.js");
|
|
132468
132404
|
const processedCommand = await processPromptSlashCommand(commandName, args || "", commands, context2);
|
|
132469
132405
|
if (!processedCommand.shouldQuery) {
|
|
132470
132406
|
throw new Error("Command processing failed");
|
|
@@ -139225,7 +139161,7 @@ var init_ConfigTool = __esm(() => {
|
|
|
139225
139161
|
renderToolUseRejectedMessage: renderToolUseRejectedMessage8,
|
|
139226
139162
|
async call({ setting, value }, context2) {
|
|
139227
139163
|
if (setting === "voiceEnabled") {
|
|
139228
|
-
const { isVoiceGrowthBookEnabled: isVoiceGrowthBookEnabled2 } = await import("./chunk-
|
|
139164
|
+
const { isVoiceGrowthBookEnabled: isVoiceGrowthBookEnabled2 } = await import("./chunk-3zzgpj8d.js");
|
|
139229
139165
|
if (!isVoiceGrowthBookEnabled2()) {
|
|
139230
139166
|
return {
|
|
139231
139167
|
data: { success: false, error: `Unknown setting: "${setting}"` }
|
|
@@ -139318,9 +139254,9 @@ var init_ConfigTool = __esm(() => {
|
|
|
139318
139254
|
}
|
|
139319
139255
|
}
|
|
139320
139256
|
if (setting === "voiceEnabled" && finalValue === true) {
|
|
139321
|
-
const { isVoiceModeEnabled: isVoiceModeEnabled2 } = await import("./chunk-
|
|
139257
|
+
const { isVoiceModeEnabled: isVoiceModeEnabled2 } = await import("./chunk-3zzgpj8d.js");
|
|
139322
139258
|
if (!isVoiceModeEnabled2()) {
|
|
139323
|
-
const { isAnthropicAuthEnabled } = await import("./chunk-
|
|
139259
|
+
const { isAnthropicAuthEnabled } = await import("./chunk-wvc46bgr.js");
|
|
139324
139260
|
return {
|
|
139325
139261
|
data: {
|
|
139326
139262
|
success: false,
|
|
@@ -139328,12 +139264,12 @@ var init_ConfigTool = __esm(() => {
|
|
|
139328
139264
|
}
|
|
139329
139265
|
};
|
|
139330
139266
|
}
|
|
139331
|
-
const { isVoiceStreamAvailable } = await import("./chunk-
|
|
139267
|
+
const { isVoiceStreamAvailable } = await import("./chunk-jz4f7zpz.js");
|
|
139332
139268
|
const {
|
|
139333
139269
|
checkRecordingAvailability,
|
|
139334
139270
|
checkVoiceDependencies,
|
|
139335
139271
|
requestMicrophonePermission
|
|
139336
|
-
} = await import("./chunk-
|
|
139272
|
+
} = await import("./chunk-0051wr8d.js");
|
|
139337
139273
|
const recording = await checkRecordingAvailability();
|
|
139338
139274
|
if (!recording.available) {
|
|
139339
139275
|
return {
|
|
@@ -139411,7 +139347,7 @@ var init_ConfigTool = __esm(() => {
|
|
|
139411
139347
|
}
|
|
139412
139348
|
}
|
|
139413
139349
|
if (setting === "voiceEnabled") {
|
|
139414
|
-
const { settingsChangeDetector: settingsChangeDetector2 } = await import("./chunk-
|
|
139350
|
+
const { settingsChangeDetector: settingsChangeDetector2 } = await import("./chunk-8k3skcxp.js");
|
|
139415
139351
|
settingsChangeDetector2.notifyChange("userSettings");
|
|
139416
139352
|
}
|
|
139417
139353
|
if (config3.appStateKey) {
|
|
@@ -140397,11 +140333,29 @@ var exports_SleepTool = {};
|
|
|
140397
140333
|
__export(exports_SleepTool, {
|
|
140398
140334
|
SleepTool: () => SleepTool
|
|
140399
140335
|
});
|
|
140400
|
-
|
|
140336
|
+
function isProactiveAutomationEnabled() {
|
|
140337
|
+
if (false) {}
|
|
140338
|
+
const mod = (init_proactive(), __toCommonJS(exports_proactive));
|
|
140339
|
+
return mod.isProactiveActive();
|
|
140340
|
+
}
|
|
140341
|
+
function isProactiveSleepAllowed() {
|
|
140342
|
+
if (false) {}
|
|
140343
|
+
const mod = (init_proactive(), __toCommonJS(exports_proactive));
|
|
140344
|
+
return mod.isProactiveActive();
|
|
140345
|
+
}
|
|
140346
|
+
function hasQueuedWakeSignal() {
|
|
140347
|
+
const queue = (init_messageQueueManager(), __toCommonJS(exports_messageQueueManager));
|
|
140348
|
+
return queue.hasCommandsInQueue();
|
|
140349
|
+
}
|
|
140350
|
+
function shouldInterruptSleep() {
|
|
140351
|
+
return !isProactiveSleepAllowed() || hasQueuedWakeSignal();
|
|
140352
|
+
}
|
|
140353
|
+
var SLEEP_WAKE_CHECK_INTERVAL_MS = 500, inputSchema34, SleepTool;
|
|
140401
140354
|
var init_SleepTool = __esm(() => {
|
|
140402
140355
|
init_v4();
|
|
140403
140356
|
init_Tool();
|
|
140404
140357
|
init_lazySchema();
|
|
140358
|
+
init_sessionState();
|
|
140405
140359
|
init_prompt15();
|
|
140406
140360
|
inputSchema34 = lazySchema(() => exports_external.strictObject({
|
|
140407
140361
|
duration_seconds: exports_external.number().describe("How long to sleep in seconds. Can be interrupted by the user at any time.")
|
|
@@ -140426,6 +140380,9 @@ var init_SleepTool = __esm(() => {
|
|
|
140426
140380
|
isReadOnly() {
|
|
140427
140381
|
return true;
|
|
140428
140382
|
},
|
|
140383
|
+
interruptBehavior() {
|
|
140384
|
+
return "cancel";
|
|
140385
|
+
},
|
|
140429
140386
|
userFacingName() {
|
|
140430
140387
|
return SLEEP_TOOL_NAME;
|
|
140431
140388
|
},
|
|
@@ -140442,35 +140399,71 @@ var init_SleepTool = __esm(() => {
|
|
|
140442
140399
|
};
|
|
140443
140400
|
},
|
|
140444
140401
|
async call(input, context2) {
|
|
140445
|
-
if (
|
|
140446
|
-
|
|
140447
|
-
|
|
140448
|
-
|
|
140449
|
-
|
|
140450
|
-
|
|
140451
|
-
|
|
140452
|
-
}
|
|
140453
|
-
};
|
|
140454
|
-
}
|
|
140402
|
+
if (shouldInterruptSleep()) {
|
|
140403
|
+
return {
|
|
140404
|
+
data: {
|
|
140405
|
+
slept_seconds: 0,
|
|
140406
|
+
interrupted: true
|
|
140407
|
+
}
|
|
140408
|
+
};
|
|
140455
140409
|
}
|
|
140456
140410
|
const { duration_seconds } = input;
|
|
140457
140411
|
const startTime = Date.now();
|
|
140412
|
+
const sleepUntil = startTime + duration_seconds * 1000;
|
|
140413
|
+
if (isProactiveAutomationEnabled()) {
|
|
140414
|
+
notifyAutomationStateChanged({
|
|
140415
|
+
enabled: true,
|
|
140416
|
+
phase: "sleeping",
|
|
140417
|
+
next_tick_at: null,
|
|
140418
|
+
sleep_until: sleepUntil
|
|
140419
|
+
});
|
|
140420
|
+
}
|
|
140458
140421
|
try {
|
|
140459
140422
|
await new Promise((resolve25, reject2) => {
|
|
140460
|
-
|
|
140461
|
-
|
|
140462
|
-
|
|
140463
|
-
|
|
140464
|
-
|
|
140465
|
-
}, { once: true });
|
|
140466
|
-
const proactiveCheck = setInterval(() => {
|
|
140467
|
-
const mod = (init_proactive(), __toCommonJS(exports_proactive));
|
|
140468
|
-
if (!mod.isProactiveActive()) {
|
|
140423
|
+
let timer = null;
|
|
140424
|
+
let wakeCheck = null;
|
|
140425
|
+
let settled = false;
|
|
140426
|
+
const cleanup = () => {
|
|
140427
|
+
if (timer !== null) {
|
|
140469
140428
|
clearTimeout(timer);
|
|
140470
|
-
|
|
140471
|
-
|
|
140429
|
+
timer = null;
|
|
140430
|
+
}
|
|
140431
|
+
if (wakeCheck !== null) {
|
|
140432
|
+
clearInterval(wakeCheck);
|
|
140433
|
+
wakeCheck = null;
|
|
140434
|
+
}
|
|
140435
|
+
context2.abortController.signal.removeEventListener("abort", onAbort);
|
|
140436
|
+
};
|
|
140437
|
+
const finish = () => {
|
|
140438
|
+
if (settled)
|
|
140439
|
+
return;
|
|
140440
|
+
settled = true;
|
|
140441
|
+
cleanup();
|
|
140442
|
+
resolve25();
|
|
140443
|
+
};
|
|
140444
|
+
const interrupt = () => {
|
|
140445
|
+
if (settled)
|
|
140446
|
+
return;
|
|
140447
|
+
settled = true;
|
|
140448
|
+
cleanup();
|
|
140449
|
+
reject2(new Error("interrupted"));
|
|
140450
|
+
};
|
|
140451
|
+
const onAbort = () => {
|
|
140452
|
+
interrupt();
|
|
140453
|
+
};
|
|
140454
|
+
timer = setTimeout(finish, duration_seconds * 1000);
|
|
140455
|
+
if (context2.abortController.signal.aborted) {
|
|
140456
|
+
interrupt();
|
|
140457
|
+
return;
|
|
140458
|
+
}
|
|
140459
|
+
context2.abortController.signal.addEventListener("abort", onAbort, {
|
|
140460
|
+
once: true
|
|
140461
|
+
});
|
|
140462
|
+
wakeCheck = setInterval(() => {
|
|
140463
|
+
if (shouldInterruptSleep()) {
|
|
140464
|
+
interrupt();
|
|
140472
140465
|
}
|
|
140473
|
-
},
|
|
140466
|
+
}, SLEEP_WAKE_CHECK_INTERVAL_MS);
|
|
140474
140467
|
});
|
|
140475
140468
|
return {
|
|
140476
140469
|
data: {
|
|
@@ -140486,6 +140479,13 @@ var init_SleepTool = __esm(() => {
|
|
|
140486
140479
|
interrupted: true
|
|
140487
140480
|
}
|
|
140488
140481
|
};
|
|
140482
|
+
} finally {
|
|
140483
|
+
notifyAutomationStateChanged(isProactiveAutomationEnabled() ? {
|
|
140484
|
+
enabled: true,
|
|
140485
|
+
phase: null,
|
|
140486
|
+
next_tick_at: null,
|
|
140487
|
+
sleep_until: null
|
|
140488
|
+
} : null);
|
|
140489
140489
|
}
|
|
140490
140490
|
}
|
|
140491
140491
|
});
|
|
@@ -141256,7 +141256,7 @@ Guidelines:
|
|
|
141256
141256
|
let fileUuid;
|
|
141257
141257
|
if (appState.replBridgeEnabled) {
|
|
141258
141258
|
try {
|
|
141259
|
-
const { uploadBriefAttachment } = await import("./chunk-
|
|
141259
|
+
const { uploadBriefAttachment } = await import("./chunk-r4sr5fcm.js");
|
|
141260
141260
|
fileUuid = await uploadBriefAttachment(file_path, fileSize, {
|
|
141261
141261
|
replBridgeEnabled: true,
|
|
141262
141262
|
signal: context2.abortController.signal
|
|
@@ -141875,6 +141875,10 @@ var init_concurrentSessions = __esm(() => {
|
|
|
141875
141875
|
});
|
|
141876
141876
|
|
|
141877
141877
|
// src/bridge/replBridgeHandle.ts
|
|
141878
|
+
function getReplBridgeHandle() {
|
|
141879
|
+
return handle;
|
|
141880
|
+
}
|
|
141881
|
+
var handle = null;
|
|
141878
141882
|
var init_replBridgeHandle = __esm(() => {
|
|
141879
141883
|
init_concurrentSessions();
|
|
141880
141884
|
init_sessionIdCompat();
|
|
@@ -143252,12 +143256,12 @@ function setPendingHint(hint) {
|
|
|
143252
143256
|
if (shownThisSession)
|
|
143253
143257
|
return;
|
|
143254
143258
|
pendingHint = hint;
|
|
143255
|
-
|
|
143259
|
+
notify();
|
|
143256
143260
|
}
|
|
143257
143261
|
function clearPendingHint() {
|
|
143258
143262
|
if (pendingHint !== null) {
|
|
143259
143263
|
pendingHint = null;
|
|
143260
|
-
|
|
143264
|
+
notify();
|
|
143261
143265
|
}
|
|
143262
143266
|
}
|
|
143263
143267
|
function markShownThisSession() {
|
|
@@ -143269,7 +143273,7 @@ function getPendingHintSnapshot() {
|
|
|
143269
143273
|
function hasShownHintThisSession() {
|
|
143270
143274
|
return shownThisSession;
|
|
143271
143275
|
}
|
|
143272
|
-
var SUPPORTED_VERSIONS, SUPPORTED_TYPES, HINT_TAG_RE, ATTR_RE, pendingHint = null, shownThisSession = false, pendingHintChanged,
|
|
143276
|
+
var SUPPORTED_VERSIONS, SUPPORTED_TYPES, HINT_TAG_RE, ATTR_RE, pendingHint = null, shownThisSession = false, pendingHintChanged, notify, subscribeToPendingHint;
|
|
143273
143277
|
var init_claudeCodeHints = __esm(() => {
|
|
143274
143278
|
init_debug();
|
|
143275
143279
|
init_signal();
|
|
@@ -143278,7 +143282,7 @@ var init_claudeCodeHints = __esm(() => {
|
|
|
143278
143282
|
HINT_TAG_RE = /^[ \t]*<claude-code-hint\s+([^>]*?)\s*\/>[ \t]*$/gm;
|
|
143279
143283
|
ATTR_RE = /(\w+)=(?:"([^"]*)"|([^\s/>]+))/g;
|
|
143280
143284
|
pendingHintChanged = createSignal();
|
|
143281
|
-
|
|
143285
|
+
notify = pendingHintChanged.emit;
|
|
143282
143286
|
subscribeToPendingHint = pendingHintChanged.subscribe;
|
|
143283
143287
|
});
|
|
143284
143288
|
|
|
@@ -149013,7 +149017,7 @@ async function* runPowerShellCommand({
|
|
|
149013
149017
|
}
|
|
149014
149018
|
const resultPromise = shellCommand.result;
|
|
149015
149019
|
async function spawnBackgroundTask() {
|
|
149016
|
-
const
|
|
149020
|
+
const handle2 = await spawnShellTask({
|
|
149017
149021
|
command,
|
|
149018
149022
|
description: description || command,
|
|
149019
149023
|
shellCommand,
|
|
@@ -149026,7 +149030,7 @@ async function* runPowerShellCommand({
|
|
|
149026
149030
|
},
|
|
149027
149031
|
setAppState
|
|
149028
149032
|
});
|
|
149029
|
-
return
|
|
149033
|
+
return handle2.taskId;
|
|
149030
149034
|
}
|
|
149031
149035
|
function startBackgrounding(eventName, backgroundFn) {
|
|
149032
149036
|
if (foregroundTaskId) {
|
|
@@ -151751,7 +151755,7 @@ var init_queryHelpers = __esm(() => {
|
|
|
151751
151755
|
});
|
|
151752
151756
|
|
|
151753
151757
|
// src/services/PromptSuggestion/speculation.ts
|
|
151754
|
-
import { randomUUID as
|
|
151758
|
+
import { randomUUID as randomUUID14 } from "crypto";
|
|
151755
151759
|
import { rm as rm8 } from "fs";
|
|
151756
151760
|
import { appendFile as appendFile2, copyFile as copyFile7, mkdir as mkdir23 } from "fs/promises";
|
|
151757
151761
|
import { dirname as dirname31, isAbsolute as isAbsolute18, join as join68, relative as relative15 } from "path";
|
|
@@ -151941,7 +151945,7 @@ async function startSpeculation(suggestionText, context2, setAppState, isPipelin
|
|
|
151941
151945
|
if (!isSpeculationEnabled())
|
|
151942
151946
|
return;
|
|
151943
151947
|
abortSpeculation(setAppState);
|
|
151944
|
-
const id =
|
|
151948
|
+
const id = randomUUID14().slice(0, 8);
|
|
151945
151949
|
const abortController = createChildAbortController(context2.toolUseContext.abortController);
|
|
151946
151950
|
if (abortController.signal.aborted)
|
|
151947
151951
|
return;
|
|
@@ -153671,7 +153675,7 @@ async function* runShellCommand({
|
|
|
153671
153675
|
});
|
|
153672
153676
|
const resultPromise = shellCommand.result;
|
|
153673
153677
|
async function spawnBackgroundTask() {
|
|
153674
|
-
const
|
|
153678
|
+
const handle2 = await spawnShellTask({
|
|
153675
153679
|
command,
|
|
153676
153680
|
description: description || command,
|
|
153677
153681
|
shellCommand,
|
|
@@ -153684,7 +153688,7 @@ async function* runShellCommand({
|
|
|
153684
153688
|
},
|
|
153685
153689
|
setAppState
|
|
153686
153690
|
});
|
|
153687
|
-
return
|
|
153691
|
+
return handle2.taskId;
|
|
153688
153692
|
}
|
|
153689
153693
|
function startBackgrounding(eventName, backgroundFn) {
|
|
153690
153694
|
if (foregroundTaskId) {
|
|
@@ -154335,7 +154339,7 @@ ${stderr}` : stdout;
|
|
|
154335
154339
|
});
|
|
154336
154340
|
|
|
154337
154341
|
// src/utils/promptShellExecution.ts
|
|
154338
|
-
import { randomUUID as
|
|
154342
|
+
import { randomUUID as randomUUID15 } from "crypto";
|
|
154339
154343
|
async function executeShellCommandsInPrompt(text2, context2, slashCommandName, shell) {
|
|
154340
154344
|
let result = text2;
|
|
154341
154345
|
const shellTool = shell === "powershell" && isPowerShellToolEnabled() ? getPowerShellTool2() : BashTool;
|
|
@@ -154351,7 +154355,7 @@ async function executeShellCommandsInPrompt(text2, context2, slashCommandName, s
|
|
|
154351
154355
|
throw new MalformedCommandError(`Shell command permission check failed for pattern "${match[0]}": ${permissionResult.message || "Permission denied"}`);
|
|
154352
154356
|
}
|
|
154353
154357
|
const { data } = await shellTool.call({ command }, context2);
|
|
154354
|
-
const toolResultBlock = await processToolResultBlock(shellTool, data,
|
|
154358
|
+
const toolResultBlock = await processToolResultBlock(shellTool, data, randomUUID15());
|
|
154355
154359
|
const output = typeof toolResultBlock.content === "string" ? toolResultBlock.content : formatBashOutput(data.stdout, data.stderr);
|
|
154356
154360
|
result = result.replace(match[0], () => output);
|
|
154357
154361
|
} catch (e) {
|
|
@@ -155104,8 +155108,8 @@ async function countBuiltInToolTokens(tools, getToolPermissionContext, agentInfo
|
|
|
155104
155108
|
systemToolDetails: []
|
|
155105
155109
|
};
|
|
155106
155110
|
}
|
|
155107
|
-
const { isToolSearchEnabled: isToolSearchEnabled2 } = await import("./chunk-
|
|
155108
|
-
const { isDeferredTool: isDeferredTool2 } = await import("./chunk-
|
|
155111
|
+
const { isToolSearchEnabled: isToolSearchEnabled2 } = await import("./chunk-d4a8wx96.js");
|
|
155112
|
+
const { isDeferredTool: isDeferredTool2 } = await import("./chunk-95qc0qm2.js");
|
|
155109
155113
|
const isDeferred = await isToolSearchEnabled2(model ?? "", tools, getToolPermissionContext, agentInfo?.activeAgents ?? [], "analyzeBuiltIn");
|
|
155110
155114
|
const alwaysLoadedTools = builtInTools.filter((t) => !isDeferredTool2(t));
|
|
155111
155115
|
const deferredBuiltinTools = builtInTools.filter((t) => isDeferredTool2(t));
|
|
@@ -155239,8 +155243,8 @@ async function countMcpToolTokens(tools, getToolPermissionContext, agentInfo, mo
|
|
|
155239
155243
|
}))));
|
|
155240
155244
|
const estimateTotal = estimates.reduce((s, e) => s + e, 0) || 1;
|
|
155241
155245
|
const mcpToolTokensByTool = estimates.map((e) => Math.round(e / estimateTotal * totalTokens));
|
|
155242
|
-
const { isToolSearchEnabled: isToolSearchEnabled2 } = await import("./chunk-
|
|
155243
|
-
const { isDeferredTool: isDeferredTool2 } = await import("./chunk-
|
|
155246
|
+
const { isToolSearchEnabled: isToolSearchEnabled2 } = await import("./chunk-d4a8wx96.js");
|
|
155247
|
+
const { isDeferredTool: isDeferredTool2 } = await import("./chunk-95qc0qm2.js");
|
|
155244
155248
|
const isDeferred = await isToolSearchEnabled2(model, tools, getToolPermissionContext, agentInfo?.activeAgents ?? [], "analyzeMcp");
|
|
155245
155249
|
const loadedMcpToolNames = new Set;
|
|
155246
155250
|
if (isDeferred && messages) {
|
|
@@ -156002,7 +156006,7 @@ var init_toolSearch = __esm(() => {
|
|
|
156002
156006
|
});
|
|
156003
156007
|
|
|
156004
156008
|
// src/services/vcr.ts
|
|
156005
|
-
import { createHash as createHash15, randomUUID as
|
|
156009
|
+
import { createHash as createHash15, randomUUID as randomUUID16 } from "crypto";
|
|
156006
156010
|
import { mkdir as mkdir24, readFile as readFile24, writeFile as writeFile27 } from "fs/promises";
|
|
156007
156011
|
import { dirname as dirname33, join as join70 } from "path";
|
|
156008
156012
|
function shouldUseVCR() {
|
|
@@ -156055,7 +156059,7 @@ async function withVCR(messages, f) {
|
|
|
156055
156059
|
try {
|
|
156056
156060
|
const cached3 = jsonParse(await readFile24(filename, { encoding: "utf8" }));
|
|
156057
156061
|
cached3.output.forEach(addCachedCostToTotalSessionCost);
|
|
156058
|
-
return cached3.output.map((message, index) => mapMessage(message, hydrateValue, index,
|
|
156062
|
+
return cached3.output.map((message, index) => mapMessage(message, hydrateValue, index, randomUUID16()));
|
|
156059
156063
|
} catch (e) {
|
|
156060
156064
|
const code = getErrnoCode(e);
|
|
156061
156065
|
if (code !== "ENOENT") {
|
|
@@ -156547,7 +156551,10 @@ function getAssistantMessageId(message) {
|
|
|
156547
156551
|
return;
|
|
156548
156552
|
}
|
|
156549
156553
|
function getTokenCountFromUsage(usage) {
|
|
156550
|
-
|
|
156554
|
+
if (!usage) {
|
|
156555
|
+
return 0;
|
|
156556
|
+
}
|
|
156557
|
+
return (usage.input_tokens ?? 0) + (usage.cache_creation_input_tokens ?? 0) + (usage.cache_read_input_tokens ?? 0) + (usage.output_tokens ?? 0);
|
|
156551
156558
|
}
|
|
156552
156559
|
function tokenCountFromLastAPIResponse(messages) {
|
|
156553
156560
|
let i = messages.length - 1;
|
|
@@ -158852,7 +158859,7 @@ async function* handleStopHooks(messagesForQuery, assistantMessages, systemPromp
|
|
|
158852
158859
|
new Promise((r) => setTimeout(r, 60000).unref())
|
|
158853
158860
|
]);
|
|
158854
158861
|
}
|
|
158855
|
-
const poorMode = (await import("./chunk-
|
|
158862
|
+
const poorMode = (await import("./chunk-vqtate03.js")).isPoorModeActive();
|
|
158856
158863
|
if (!isBareMode()) {
|
|
158857
158864
|
if (!isEnvDefinedFalsy(process.env.CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION) && !poorMode) {
|
|
158858
158865
|
executePromptSuggestion(stopHookContext);
|
|
@@ -158866,7 +158873,7 @@ async function* handleStopHooks(messagesForQuery, assistantMessages, systemPromp
|
|
|
158866
158873
|
}
|
|
158867
158874
|
if (!toolUseContext.agentId) {
|
|
158868
158875
|
try {
|
|
158869
|
-
const { cleanupComputerUseAfterTurn } = await import("./chunk-
|
|
158876
|
+
const { cleanupComputerUseAfterTurn } = await import("./chunk-n3pqr3pc.js");
|
|
158870
158877
|
await cleanupComputerUseAfterTurn(toolUseContext);
|
|
158871
158878
|
} catch {}
|
|
158872
158879
|
}
|
|
@@ -159103,13 +159110,13 @@ var init_config6 = __esm(() => {
|
|
|
159103
159110
|
});
|
|
159104
159111
|
|
|
159105
159112
|
// src/query/deps.ts
|
|
159106
|
-
import { randomUUID as
|
|
159113
|
+
import { randomUUID as randomUUID17 } from "crypto";
|
|
159107
159114
|
function productionDeps() {
|
|
159108
159115
|
return {
|
|
159109
159116
|
callModel: queryModelWithStreaming,
|
|
159110
159117
|
microcompact: microcompactMessages,
|
|
159111
159118
|
autocompact: autoCompactIfNeeded,
|
|
159112
|
-
uuid:
|
|
159119
|
+
uuid: randomUUID17
|
|
159113
159120
|
};
|
|
159114
159121
|
}
|
|
159115
159122
|
var init_deps = __esm(() => {
|
|
@@ -159708,7 +159715,7 @@ async function* queryLoop(params, consumedCommandUuids) {
|
|
|
159708
159715
|
}
|
|
159709
159716
|
if (!toolUseContext.agentId) {
|
|
159710
159717
|
try {
|
|
159711
|
-
const { cleanupComputerUseAfterTurn } = await import("./chunk-
|
|
159718
|
+
const { cleanupComputerUseAfterTurn } = await import("./chunk-n3pqr3pc.js");
|
|
159712
159719
|
await cleanupComputerUseAfterTurn(toolUseContext);
|
|
159713
159720
|
} catch {}
|
|
159714
159721
|
}
|
|
@@ -159987,7 +159994,7 @@ async function* queryLoop(params, consumedCommandUuids) {
|
|
|
159987
159994
|
if (toolUseContext.abortController.signal.aborted) {
|
|
159988
159995
|
if (!toolUseContext.agentId) {
|
|
159989
159996
|
try {
|
|
159990
|
-
const { cleanupComputerUseAfterTurn } = await import("./chunk-
|
|
159997
|
+
const { cleanupComputerUseAfterTurn } = await import("./chunk-n3pqr3pc.js");
|
|
159991
159998
|
await cleanupComputerUseAfterTurn(toolUseContext);
|
|
159992
159999
|
} catch {}
|
|
159993
160000
|
}
|
|
@@ -160191,7 +160198,7 @@ function createDenialTrackingState() {
|
|
|
160191
160198
|
var init_denialTracking = () => {};
|
|
160192
160199
|
|
|
160193
160200
|
// src/utils/forkedAgent.ts
|
|
160194
|
-
import { randomUUID as
|
|
160201
|
+
import { randomUUID as randomUUID18 } from "crypto";
|
|
160195
160202
|
function saveCacheSafeParams(params) {
|
|
160196
160203
|
lastCacheSafeParams = params;
|
|
160197
160204
|
}
|
|
@@ -160300,7 +160307,7 @@ function createSubagentContext(parentContext, overrides) {
|
|
|
160300
160307
|
agentId: overrides?.agentId ?? createAgentId(),
|
|
160301
160308
|
agentType: overrides?.agentType,
|
|
160302
160309
|
queryTracking: {
|
|
160303
|
-
chainId:
|
|
160310
|
+
chainId: randomUUID18(),
|
|
160304
160311
|
depth: (parentContext.queryTracking?.depth ?? -1) + 1
|
|
160305
160312
|
},
|
|
160306
160313
|
fileReadingLimits: parentContext.fileReadingLimits,
|
|
@@ -161981,7 +161988,7 @@ function getSessionSpecificGuidanceSection(enabledTools, skillToolCommands) {
|
|
|
161981
161988
|
] : [],
|
|
161982
161989
|
hasSkills ? `/<skill-name> (e.g., /commit) is shorthand for users to invoke a user-invocable skill. When executed, the skill gets expanded to a full prompt. Use the ${SKILL_TOOL_NAME} tool to execute them. IMPORTANT: Only use ${SKILL_TOOL_NAME} for skills listed in its user-invocable skills section - do not guess or use built-in CLI commands.` : null,
|
|
161983
161990
|
DISCOVER_SKILLS_TOOL_NAME !== null && hasSkills && enabledTools.has(DISCOVER_SKILLS_TOOL_NAME) ? getDiscoverSkillsGuidance() : null,
|
|
161984
|
-
hasAgentTool && true && getFeatureValue_CACHED_MAY_BE_STALE("tengu_hive_evidence", false) ? `The contract: when non-trivial implementation happens on your turn, independent adversarial verification must happen before you report completion \u2014 regardless of who did the implementing (you directly, a fork you spawned, or a subagent). You are the one reporting to the user; you own the gate. Non-trivial means: 3+ file edits, backend/API changes, or infrastructure changes. Spawn the ${AGENT_TOOL_NAME} tool with subagent_type="${VERIFICATION_AGENT_TYPE}". Your own checks, caveats, and a fork's self-checks do NOT substitute \u2014 only the verifier assigns a verdict; you cannot self-assign PARTIAL. Pass the original user request, all files changed (by anyone), the approach, and the plan file path if applicable. Flag concerns if you have them but do NOT share test results or claim things work. On FAIL: fix, resume the verifier with its findings plus your fix, repeat until PASS. On PASS: spot-check it \u2014 re-run 2-3 commands from its report, confirm every PASS has a Command run block with output that matches your re-run. If any PASS lacks a command block or diverges, resume the verifier with the specifics. On PARTIAL (from the verifier): report what passed and what could not be verified.` : null
|
|
161991
|
+
hasAgentTool && true && getFeatureValue_CACHED_MAY_BE_STALE("tengu_hive_evidence", false) && !isPoorModeActive() ? `The contract: when non-trivial implementation happens on your turn, independent adversarial verification must happen before you report completion \u2014 regardless of who did the implementing (you directly, a fork you spawned, or a subagent). You are the one reporting to the user; you own the gate. Non-trivial means: 3+ file edits, backend/API changes, or infrastructure changes. Spawn the ${AGENT_TOOL_NAME} tool with subagent_type="${VERIFICATION_AGENT_TYPE}". Your own checks, caveats, and a fork's self-checks do NOT substitute \u2014 only the verifier assigns a verdict; you cannot self-assign PARTIAL. Pass the original user request, all files changed (by anyone), the approach, and the plan file path if applicable. Flag concerns if you have them but do NOT share test results or claim things work. On FAIL: fix, resume the verifier with its findings plus your fix, repeat until PASS. On PASS: spot-check it \u2014 re-run 2-3 commands from its report, confirm every PASS has a Command run block with output that matches your re-run. If any PASS lacks a command block or diverges, resume the verifier with the specifics. On PARTIAL (from the verifier): report what passed and what could not be verified.` : null
|
|
161985
161992
|
].filter((item) => item !== null);
|
|
161986
161993
|
if (items.length === 0)
|
|
161987
161994
|
return null;
|
|
@@ -162322,6 +162329,7 @@ var init_prompts3 = __esm(() => {
|
|
|
162322
162329
|
init_worktree();
|
|
162323
162330
|
init_common3();
|
|
162324
162331
|
init_settings2();
|
|
162332
|
+
init_poorMode();
|
|
162325
162333
|
init_constants2();
|
|
162326
162334
|
init_prompt6();
|
|
162327
162335
|
init_prompt5();
|
|
@@ -162890,24 +162898,65 @@ function insertBlockAfterToolResults(content, block) {
|
|
|
162890
162898
|
var init_contentArray = () => {};
|
|
162891
162899
|
|
|
162892
162900
|
// src/services/langfuse/convert.ts
|
|
162893
|
-
function
|
|
162894
|
-
|
|
162895
|
-
|
|
162896
|
-
|
|
162897
|
-
|
|
162898
|
-
|
|
162901
|
+
function toContentPart(block) {
|
|
162902
|
+
const type = block.type;
|
|
162903
|
+
if (type === "text") {
|
|
162904
|
+
return { type: "text", text: String(block.text ?? "") };
|
|
162905
|
+
}
|
|
162906
|
+
if (type === "thinking" || type === "redacted_thinking") {
|
|
162907
|
+
return { type: "thinking", thinking: String(block.thinking ?? "[redacted]") };
|
|
162908
|
+
}
|
|
162909
|
+
if (type === "image") {
|
|
162910
|
+
return { type: "text", text: "[image]" };
|
|
162911
|
+
}
|
|
162912
|
+
if (type === "document") {
|
|
162913
|
+
const name = block.source?.filename ?? block.title ?? "document";
|
|
162914
|
+
return { type: "text", text: `[document: ${name}]` };
|
|
162915
|
+
}
|
|
162916
|
+
if (type === "server_tool_use" || type === "web_search_tool_result" || type === "tool_search_tool_result") {
|
|
162917
|
+
return { type, id: String(block.id ?? ""), name: String(block.name ?? type) };
|
|
162918
|
+
}
|
|
162919
|
+
const safe = { type: type ?? "unknown" };
|
|
162920
|
+
for (const [k2, v2] of Object.entries(block)) {
|
|
162921
|
+
if (typeof v2 === "string" || typeof v2 === "number" || typeof v2 === "boolean")
|
|
162922
|
+
safe[k2] = v2;
|
|
162923
|
+
}
|
|
162924
|
+
return safe;
|
|
162925
|
+
}
|
|
162926
|
+
function extractToolCalls(content) {
|
|
162927
|
+
const toolCalls = [];
|
|
162928
|
+
const rest = [];
|
|
162899
162929
|
for (const block of content) {
|
|
162900
|
-
if (!block || typeof block !== "object")
|
|
162930
|
+
if (!block || typeof block !== "object") {
|
|
162931
|
+
rest.push(block);
|
|
162901
162932
|
continue;
|
|
162933
|
+
}
|
|
162902
162934
|
const b2 = block;
|
|
162903
|
-
|
|
162904
|
-
|
|
162905
|
-
|
|
162906
|
-
|
|
162907
|
-
|
|
162908
|
-
|
|
162909
|
-
|
|
162910
|
-
|
|
162935
|
+
if (b2.type === "tool_use") {
|
|
162936
|
+
toolCalls.push({
|
|
162937
|
+
id: String(b2.id ?? ""),
|
|
162938
|
+
type: "function",
|
|
162939
|
+
function: {
|
|
162940
|
+
name: String(b2.name ?? ""),
|
|
162941
|
+
arguments: typeof b2.input === "string" ? b2.input : JSON.stringify(b2.input ?? {})
|
|
162942
|
+
}
|
|
162943
|
+
});
|
|
162944
|
+
} else {
|
|
162945
|
+
rest.push(block);
|
|
162946
|
+
}
|
|
162947
|
+
}
|
|
162948
|
+
return { tool_calls: toolCalls, rest };
|
|
162949
|
+
}
|
|
162950
|
+
function extractToolResults(content) {
|
|
162951
|
+
const toolMessages = [];
|
|
162952
|
+
const rest = [];
|
|
162953
|
+
for (const block of content) {
|
|
162954
|
+
if (!block || typeof block !== "object") {
|
|
162955
|
+
rest.push(block);
|
|
162956
|
+
continue;
|
|
162957
|
+
}
|
|
162958
|
+
const b2 = block;
|
|
162959
|
+
if (b2.type === "tool_result") {
|
|
162911
162960
|
const resultContent = Array.isArray(b2.content) ? b2.content.map((c2) => {
|
|
162912
162961
|
if (c2.type === "text")
|
|
162913
162962
|
return String(c2.text ?? "");
|
|
@@ -162918,25 +162967,23 @@ function normalizeContent(content) {
|
|
|
162918
162967
|
return `[${String(c2.type ?? "unknown")}]`;
|
|
162919
162968
|
}).join(`
|
|
162920
162969
|
`) : String(b2.content ?? "");
|
|
162921
|
-
|
|
162922
|
-
|
|
162923
|
-
|
|
162924
|
-
|
|
162925
|
-
|
|
162926
|
-
parts.push({ type: "text", text: `[document: ${name}]` });
|
|
162927
|
-
} else if (type === "server_tool_use" || type === "web_search_tool_result" || type === "tool_search_tool_result") {
|
|
162928
|
-
parts.push({ type, id: String(b2.id ?? ""), name: String(b2.name ?? type) });
|
|
162970
|
+
toolMessages.push({
|
|
162971
|
+
role: "tool",
|
|
162972
|
+
tool_call_id: String(b2.tool_use_id ?? ""),
|
|
162973
|
+
content: resultContent
|
|
162974
|
+
});
|
|
162929
162975
|
} else {
|
|
162930
|
-
|
|
162931
|
-
for (const [k2, v2] of Object.entries(b2)) {
|
|
162932
|
-
if (typeof v2 === "string" || typeof v2 === "number" || typeof v2 === "boolean")
|
|
162933
|
-
safe[k2] = v2;
|
|
162934
|
-
}
|
|
162935
|
-
parts.push(safe);
|
|
162976
|
+
rest.push(block);
|
|
162936
162977
|
}
|
|
162937
162978
|
}
|
|
162938
|
-
|
|
162939
|
-
|
|
162979
|
+
return { toolMessages, rest };
|
|
162980
|
+
}
|
|
162981
|
+
function collapseContent(parts) {
|
|
162982
|
+
if (parts.length === 0)
|
|
162983
|
+
return "";
|
|
162984
|
+
if (parts.every((p) => p.type === "text")) {
|
|
162985
|
+
return parts.map((p) => p.text).join(`
|
|
162986
|
+
`);
|
|
162940
162987
|
}
|
|
162941
162988
|
return parts;
|
|
162942
162989
|
}
|
|
@@ -162960,7 +163007,27 @@ function convertMessagesToLangfuse(messages, systemPrompt) {
|
|
|
162960
163007
|
if (!inner)
|
|
162961
163008
|
continue;
|
|
162962
163009
|
const role = inner.role ?? toRole(msg);
|
|
162963
|
-
|
|
163010
|
+
const rawContent = inner.content;
|
|
163011
|
+
if (typeof rawContent === "string" || !Array.isArray(rawContent)) {
|
|
163012
|
+
result.push({ role, content: String(rawContent ?? "") });
|
|
163013
|
+
continue;
|
|
163014
|
+
}
|
|
163015
|
+
if (role === "assistant") {
|
|
163016
|
+
const { tool_calls, rest } = extractToolCalls(rawContent);
|
|
163017
|
+
const parts = rest.filter((b2) => b2 != null && typeof b2 === "object").map((b2) => toContentPart(b2)).filter((p) => p !== null);
|
|
163018
|
+
result.push({
|
|
163019
|
+
role: "assistant",
|
|
163020
|
+
content: collapseContent(parts),
|
|
163021
|
+
...tool_calls.length > 0 && { tool_calls }
|
|
163022
|
+
});
|
|
163023
|
+
} else {
|
|
163024
|
+
const { toolMessages, rest } = extractToolResults(rawContent);
|
|
163025
|
+
const parts = rest.filter((b2) => b2 != null && typeof b2 === "object").map((b2) => toContentPart(b2)).filter((p) => p !== null);
|
|
163026
|
+
if (parts.length > 0 || toolMessages.length === 0) {
|
|
163027
|
+
result.push({ role: "user", content: collapseContent(parts) });
|
|
163028
|
+
}
|
|
163029
|
+
result.push(...toolMessages);
|
|
163030
|
+
}
|
|
162964
163031
|
}
|
|
162965
163032
|
return result;
|
|
162966
163033
|
}
|
|
@@ -162980,14 +163047,22 @@ function convertToolsToLangfuse(tools) {
|
|
|
162980
163047
|
function convertOutputToLangfuse(messages) {
|
|
162981
163048
|
if (messages.length === 0)
|
|
162982
163049
|
return null;
|
|
162983
|
-
|
|
162984
|
-
const
|
|
162985
|
-
|
|
162986
|
-
|
|
162987
|
-
|
|
162988
|
-
|
|
162989
|
-
|
|
162990
|
-
|
|
163050
|
+
const convert = (msg) => {
|
|
163051
|
+
const rawContent = msg.message?.content;
|
|
163052
|
+
if (typeof rawContent === "string" || !Array.isArray(rawContent)) {
|
|
163053
|
+
return { role: "assistant", content: String(rawContent ?? "") };
|
|
163054
|
+
}
|
|
163055
|
+
const { tool_calls, rest } = extractToolCalls(rawContent);
|
|
163056
|
+
const parts = rest.filter((b2) => b2 != null && typeof b2 === "object").map((b2) => toContentPart(b2)).filter((p) => p !== null);
|
|
163057
|
+
return {
|
|
163058
|
+
role: "assistant",
|
|
163059
|
+
content: collapseContent(parts),
|
|
163060
|
+
...tool_calls.length > 0 && { tool_calls }
|
|
163061
|
+
};
|
|
163062
|
+
};
|
|
163063
|
+
if (messages.length === 1)
|
|
163064
|
+
return convert(messages[0]);
|
|
163065
|
+
return messages.map(convert);
|
|
162991
163066
|
}
|
|
162992
163067
|
var init_convert = () => {};
|
|
162993
163068
|
|
|
@@ -163046,7 +163121,7 @@ function getAnthropicEnvMetadata() {
|
|
|
163046
163121
|
function getBuildAgeMinutes() {
|
|
163047
163122
|
if (false)
|
|
163048
163123
|
;
|
|
163049
|
-
const buildTime = new Date("2026-04-
|
|
163124
|
+
const buildTime = new Date("2026-04-18T13:43:07.898Z").getTime();
|
|
163050
163125
|
if (isNaN(buildTime))
|
|
163051
163126
|
return;
|
|
163052
163127
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -163483,7 +163558,7 @@ var init_logging = __esm(() => {
|
|
|
163483
163558
|
});
|
|
163484
163559
|
|
|
163485
163560
|
// src/services/api/claude.ts
|
|
163486
|
-
import { randomUUID as
|
|
163561
|
+
import { randomUUID as randomUUID19 } from "crypto";
|
|
163487
163562
|
function getExtraBodyParams(betaHeaders) {
|
|
163488
163563
|
const extraBodyStr = process.env.CLAUDE_CODE_EXTRA_BODY;
|
|
163489
163564
|
let result = {};
|
|
@@ -164003,17 +164078,17 @@ async function* queryModel(messages, systemPrompt, thinkingConfig, tools, signal
|
|
|
164003
164078
|
}
|
|
164004
164079
|
messagesForAPI = stripExcessMediaItems(messagesForAPI, API_MAX_MEDIA_PER_REQUEST);
|
|
164005
164080
|
if (getAPIProvider() === "openai") {
|
|
164006
|
-
const { queryModelOpenAI } = await import("./chunk-
|
|
164081
|
+
const { queryModelOpenAI } = await import("./chunk-mb0j3qcs.js");
|
|
164007
164082
|
yield* queryModelOpenAI(messagesForAPI, systemPrompt, filteredTools, signal, options);
|
|
164008
164083
|
return;
|
|
164009
164084
|
}
|
|
164010
164085
|
if (getAPIProvider() === "gemini") {
|
|
164011
|
-
const { queryModelGemini } = await import("./chunk-
|
|
164086
|
+
const { queryModelGemini } = await import("./chunk-d9y7sf7e.js");
|
|
164012
164087
|
yield* queryModelGemini(messagesForAPI, systemPrompt, filteredTools, signal, options, thinkingConfig);
|
|
164013
164088
|
return;
|
|
164014
164089
|
}
|
|
164015
164090
|
if (getAPIProvider() === "grok") {
|
|
164016
|
-
const { queryModelGrok } = await import("./chunk-
|
|
164091
|
+
const { queryModelGrok } = await import("./chunk-m8j8f4rm.js");
|
|
164017
164092
|
yield* queryModelGrok(messagesForAPI, systemPrompt, filteredTools, signal, options);
|
|
164018
164093
|
return;
|
|
164019
164094
|
}
|
|
@@ -164302,7 +164377,7 @@ ${deferredToolList}
|
|
|
164302
164377
|
if (!options.agentId) {
|
|
164303
164378
|
headlessProfilerCheckpoint("api_request_sent");
|
|
164304
164379
|
}
|
|
164305
|
-
clientRequestId = getAPIProvider() === "firstParty" && isFirstPartyAnthropicBaseUrl() ?
|
|
164380
|
+
clientRequestId = getAPIProvider() === "firstParty" && isFirstPartyAnthropicBaseUrl() ? randomUUID19() : undefined;
|
|
164306
164381
|
const result = await anthropic.beta.messages.create({ ...params, stream: true }, {
|
|
164307
164382
|
signal,
|
|
164308
164383
|
...clientRequestId && {
|
|
@@ -164530,11 +164605,12 @@ ${deferredToolList}
|
|
|
164530
164605
|
const m2 = {
|
|
164531
164606
|
message: {
|
|
164532
164607
|
...partialMessage,
|
|
164608
|
+
usage: partialMessage.usage ?? { ...EMPTY_USAGE },
|
|
164533
164609
|
content: normalizeContentFromAPI([contentBlock], tools, options.agentId)
|
|
164534
164610
|
},
|
|
164535
164611
|
requestId: streamRequestId ?? undefined,
|
|
164536
164612
|
type: "assistant",
|
|
164537
|
-
uuid:
|
|
164613
|
+
uuid: randomUUID19(),
|
|
164538
164614
|
timestamp: new Date().toISOString(),
|
|
164539
164615
|
...process.env.USER_TYPE === "ant" && research !== undefined && { research },
|
|
164540
164616
|
...advisorModel && { advisorModel }
|
|
@@ -164716,7 +164792,7 @@ ${deferredToolList}
|
|
|
164716
164792
|
},
|
|
164717
164793
|
requestId: streamRequestId ?? undefined,
|
|
164718
164794
|
type: "assistant",
|
|
164719
|
-
uuid:
|
|
164795
|
+
uuid: randomUUID19(),
|
|
164720
164796
|
timestamp: new Date().toISOString(),
|
|
164721
164797
|
...process.env.USER_TYPE === "ant" && research !== undefined && {
|
|
164722
164798
|
research
|
|
@@ -164770,7 +164846,7 @@ ${deferredToolList}
|
|
|
164770
164846
|
},
|
|
164771
164847
|
requestId: streamRequestId ?? undefined,
|
|
164772
164848
|
type: "assistant",
|
|
164773
|
-
uuid:
|
|
164849
|
+
uuid: randomUUID19(),
|
|
164774
164850
|
timestamp: new Date().toISOString(),
|
|
164775
164851
|
...process.env.USER_TYPE === "ant" && research !== undefined && { research },
|
|
164776
164852
|
...advisorModel && { advisorModel }
|
|
@@ -167905,7 +167981,7 @@ ${EXPLANATORY_FEATURE_PROMPT}`
|
|
|
167905
167981
|
});
|
|
167906
167982
|
|
|
167907
167983
|
// src/utils/messages.ts
|
|
167908
|
-
import { randomUUID as
|
|
167984
|
+
import { randomUUID as randomUUID20 } from "crypto";
|
|
167909
167985
|
function getTeammateMailbox() {
|
|
167910
167986
|
return init_teammateMailbox(), __toCommonJS(exports_teammateMailbox);
|
|
167911
167987
|
}
|
|
@@ -167972,10 +168048,10 @@ function baseCreateAssistantMessage({
|
|
|
167972
168048
|
}) {
|
|
167973
168049
|
return {
|
|
167974
168050
|
type: "assistant",
|
|
167975
|
-
uuid:
|
|
168051
|
+
uuid: randomUUID20(),
|
|
167976
168052
|
timestamp: new Date().toISOString(),
|
|
167977
168053
|
message: {
|
|
167978
|
-
id:
|
|
168054
|
+
id: randomUUID20(),
|
|
167979
168055
|
container: null,
|
|
167980
168056
|
model: SYNTHETIC_MODEL,
|
|
167981
168057
|
role: "assistant",
|
|
@@ -168056,7 +168132,7 @@ function createUserMessage({
|
|
|
168056
168132
|
isVirtual,
|
|
168057
168133
|
isCompactSummary,
|
|
168058
168134
|
summarizeMetadata,
|
|
168059
|
-
uuid: uuid3 ||
|
|
168135
|
+
uuid: uuid3 || randomUUID20(),
|
|
168060
168136
|
timestamp: timestamp ?? new Date().toISOString(),
|
|
168061
168137
|
toolUseResult,
|
|
168062
168138
|
mcpMeta,
|
|
@@ -168125,7 +168201,7 @@ function createProgressMessage({
|
|
|
168125
168201
|
data,
|
|
168126
168202
|
toolUseID,
|
|
168127
168203
|
parentToolUseID,
|
|
168128
|
-
uuid:
|
|
168204
|
+
uuid: randomUUID20(),
|
|
168129
168205
|
timestamp: new Date().toISOString()
|
|
168130
168206
|
};
|
|
168131
168207
|
}
|
|
@@ -170549,7 +170625,7 @@ function createSystemMessage(content, level, toolUseID, preventContinuation) {
|
|
|
170549
170625
|
content,
|
|
170550
170626
|
isMeta: false,
|
|
170551
170627
|
timestamp: new Date().toISOString(),
|
|
170552
|
-
uuid:
|
|
170628
|
+
uuid: randomUUID20(),
|
|
170553
170629
|
toolUseID,
|
|
170554
170630
|
level,
|
|
170555
170631
|
...preventContinuation && { preventContinuation }
|
|
@@ -170564,7 +170640,7 @@ function createPermissionRetryMessage(commands) {
|
|
|
170564
170640
|
level: "info",
|
|
170565
170641
|
isMeta: false,
|
|
170566
170642
|
timestamp: new Date().toISOString(),
|
|
170567
|
-
uuid:
|
|
170643
|
+
uuid: randomUUID20()
|
|
170568
170644
|
};
|
|
170569
170645
|
}
|
|
170570
170646
|
function createScheduledTaskFireMessage(content) {
|
|
@@ -170574,7 +170650,7 @@ function createScheduledTaskFireMessage(content) {
|
|
|
170574
170650
|
content,
|
|
170575
170651
|
isMeta: false,
|
|
170576
170652
|
timestamp: new Date().toISOString(),
|
|
170577
|
-
uuid:
|
|
170653
|
+
uuid: randomUUID20()
|
|
170578
170654
|
};
|
|
170579
170655
|
}
|
|
170580
170656
|
function createStopHookSummaryMessage(hookCount, hookInfos, hookErrors, preventedContinuation, stopReason, hasOutput, level, toolUseID, hookLabel, totalDurationMs) {
|
|
@@ -170589,7 +170665,7 @@ function createStopHookSummaryMessage(hookCount, hookInfos, hookErrors, prevente
|
|
|
170589
170665
|
hasOutput,
|
|
170590
170666
|
level,
|
|
170591
170667
|
timestamp: new Date().toISOString(),
|
|
170592
|
-
uuid:
|
|
170668
|
+
uuid: randomUUID20(),
|
|
170593
170669
|
toolUseID,
|
|
170594
170670
|
hookLabel: hookLabel ?? "",
|
|
170595
170671
|
totalDurationMs
|
|
@@ -170605,7 +170681,7 @@ function createTurnDurationMessage(durationMs, budget, messageCount) {
|
|
|
170605
170681
|
budgetNudges: budget?.nudges,
|
|
170606
170682
|
messageCount,
|
|
170607
170683
|
timestamp: new Date().toISOString(),
|
|
170608
|
-
uuid:
|
|
170684
|
+
uuid: randomUUID20(),
|
|
170609
170685
|
isMeta: false
|
|
170610
170686
|
};
|
|
170611
170687
|
}
|
|
@@ -170615,7 +170691,7 @@ function createAwaySummaryMessage(content) {
|
|
|
170615
170691
|
subtype: "away_summary",
|
|
170616
170692
|
content,
|
|
170617
170693
|
timestamp: new Date().toISOString(),
|
|
170618
|
-
uuid:
|
|
170694
|
+
uuid: randomUUID20(),
|
|
170619
170695
|
isMeta: false
|
|
170620
170696
|
};
|
|
170621
170697
|
}
|
|
@@ -170625,7 +170701,7 @@ function createMemorySavedMessage(writtenPaths) {
|
|
|
170625
170701
|
subtype: "memory_saved",
|
|
170626
170702
|
writtenPaths,
|
|
170627
170703
|
timestamp: new Date().toISOString(),
|
|
170628
|
-
uuid:
|
|
170704
|
+
uuid: randomUUID20(),
|
|
170629
170705
|
isMeta: false
|
|
170630
170706
|
};
|
|
170631
170707
|
}
|
|
@@ -170634,7 +170710,7 @@ function createAgentsKilledMessage() {
|
|
|
170634
170710
|
type: "system",
|
|
170635
170711
|
subtype: "agents_killed",
|
|
170636
170712
|
timestamp: new Date().toISOString(),
|
|
170637
|
-
uuid:
|
|
170713
|
+
uuid: randomUUID20(),
|
|
170638
170714
|
isMeta: false
|
|
170639
170715
|
};
|
|
170640
170716
|
}
|
|
@@ -170654,7 +170730,7 @@ function createApiMetricsMessage(metrics) {
|
|
|
170654
170730
|
classifierCount: metrics.classifierCount,
|
|
170655
170731
|
configWriteCount: metrics.configWriteCount,
|
|
170656
170732
|
timestamp: new Date().toISOString(),
|
|
170657
|
-
uuid:
|
|
170733
|
+
uuid: randomUUID20(),
|
|
170658
170734
|
isMeta: false
|
|
170659
170735
|
};
|
|
170660
170736
|
}
|
|
@@ -170665,7 +170741,7 @@ function createCommandInputMessage(content) {
|
|
|
170665
170741
|
content,
|
|
170666
170742
|
level: "info",
|
|
170667
170743
|
timestamp: new Date().toISOString(),
|
|
170668
|
-
uuid:
|
|
170744
|
+
uuid: randomUUID20(),
|
|
170669
170745
|
isMeta: false
|
|
170670
170746
|
};
|
|
170671
170747
|
}
|
|
@@ -170676,7 +170752,7 @@ function createCompactBoundaryMessage(trigger, preTokens, lastPreCompactMessageU
|
|
|
170676
170752
|
content: `Conversation compacted`,
|
|
170677
170753
|
isMeta: false,
|
|
170678
170754
|
timestamp: new Date().toISOString(),
|
|
170679
|
-
uuid:
|
|
170755
|
+
uuid: randomUUID20(),
|
|
170680
170756
|
level: "info",
|
|
170681
170757
|
compactMetadata: {
|
|
170682
170758
|
trigger,
|
|
@@ -170700,7 +170776,7 @@ function createSystemAPIErrorMessage(error40, retryInMs, retryAttempt, maxRetrie
|
|
|
170700
170776
|
retryAttempt,
|
|
170701
170777
|
maxRetries,
|
|
170702
170778
|
timestamp: new Date().toISOString(),
|
|
170703
|
-
uuid:
|
|
170779
|
+
uuid: randomUUID20()
|
|
170704
170780
|
};
|
|
170705
170781
|
}
|
|
170706
170782
|
function isCompactBoundaryMessage(message) {
|
|
@@ -170974,7 +171050,7 @@ function createToolUseSummaryMessage(summary, precedingToolUseIds) {
|
|
|
170974
171050
|
type: "tool_use_summary",
|
|
170975
171051
|
summary,
|
|
170976
171052
|
precedingToolUseIds,
|
|
170977
|
-
uuid:
|
|
171053
|
+
uuid: randomUUID20(),
|
|
170978
171054
|
timestamp: new Date().toISOString()
|
|
170979
171055
|
};
|
|
170980
171056
|
}
|
|
@@ -172158,7 +172234,7 @@ var init_feedback = __esm(() => {
|
|
|
172158
172234
|
description: `Submit feedback about Claude Code`,
|
|
172159
172235
|
argumentHint: "[report]",
|
|
172160
172236
|
isEnabled: () => !(isEnvTruthy(process.env.CLAUDE_CODE_USE_BEDROCK) || isEnvTruthy(process.env.CLAUDE_CODE_USE_VERTEX) || isEnvTruthy(process.env.CLAUDE_CODE_USE_FOUNDRY) || isEnvTruthy(process.env.DISABLE_FEEDBACK_COMMAND) || isEnvTruthy(process.env.DISABLE_BUG_COMMAND) || isEssentialTrafficOnly() || process.env.USER_TYPE === "ant" || !isPolicyAllowed("allow_product_feedback")),
|
|
172161
|
-
load: () => import("./chunk-
|
|
172237
|
+
load: () => import("./chunk-8zy4rsnp.js")
|
|
172162
172238
|
};
|
|
172163
172239
|
feedback_default = feedback;
|
|
172164
172240
|
});
|
|
@@ -172172,7 +172248,7 @@ var init_clear = __esm(() => {
|
|
|
172172
172248
|
description: "Clear conversation history and free up context",
|
|
172173
172249
|
aliases: ["reset", "new"],
|
|
172174
172250
|
supportsNonInteractive: false,
|
|
172175
|
-
load: () => import("./chunk-
|
|
172251
|
+
load: () => import("./chunk-af58qhb4.js")
|
|
172176
172252
|
};
|
|
172177
172253
|
clear_default = clear;
|
|
172178
172254
|
});
|
|
@@ -172186,7 +172262,7 @@ var init_color = __esm(() => {
|
|
|
172186
172262
|
description: "Set the prompt bar color for this session",
|
|
172187
172263
|
immediate: true,
|
|
172188
172264
|
argumentHint: "<color|default>",
|
|
172189
|
-
load: () => import("./chunk-
|
|
172265
|
+
load: () => import("./chunk-en7bhyyg.js")
|
|
172190
172266
|
};
|
|
172191
172267
|
color_default = color2;
|
|
172192
172268
|
});
|
|
@@ -172286,7 +172362,7 @@ var init_copy = __esm(() => {
|
|
|
172286
172362
|
type: "local-jsx",
|
|
172287
172363
|
name: "copy",
|
|
172288
172364
|
description: "Copy Claude's last response to clipboard (or /copy N for the Nth-latest)",
|
|
172289
|
-
load: () => import("./chunk-
|
|
172365
|
+
load: () => import("./chunk-m6h8sefk.js")
|
|
172290
172366
|
};
|
|
172291
172367
|
copy_default = copy;
|
|
172292
172368
|
});
|
|
@@ -172313,7 +172389,7 @@ var init_desktop = __esm(() => {
|
|
|
172313
172389
|
get isHidden() {
|
|
172314
172390
|
return !isSupportedPlatform3();
|
|
172315
172391
|
},
|
|
172316
|
-
load: () => import("./chunk-
|
|
172392
|
+
load: () => import("./chunk-sg1qd2yq.js")
|
|
172317
172393
|
};
|
|
172318
172394
|
desktop_default = desktop;
|
|
172319
172395
|
});
|
|
@@ -172476,7 +172552,7 @@ var init_compact2 = __esm(() => {
|
|
|
172476
172552
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_COMPACT),
|
|
172477
172553
|
supportsNonInteractive: true,
|
|
172478
172554
|
argumentHint: "<optional custom summarization instructions>",
|
|
172479
|
-
load: () => import("./chunk-
|
|
172555
|
+
load: () => import("./chunk-yvypnga9.js")
|
|
172480
172556
|
};
|
|
172481
172557
|
compact_default = compact;
|
|
172482
172558
|
});
|
|
@@ -172489,7 +172565,7 @@ var init_config7 = __esm(() => {
|
|
|
172489
172565
|
type: "local-jsx",
|
|
172490
172566
|
name: "config",
|
|
172491
172567
|
description: "Open config panel",
|
|
172492
|
-
load: () => import("./chunk-
|
|
172568
|
+
load: () => import("./chunk-hb2tgq01.js")
|
|
172493
172569
|
};
|
|
172494
172570
|
config_default = config3;
|
|
172495
172571
|
});
|
|
@@ -172503,7 +172579,7 @@ var init_context3 = __esm(() => {
|
|
|
172503
172579
|
description: "Visualize current context usage as a colored grid",
|
|
172504
172580
|
isEnabled: () => !getIsNonInteractiveSession(),
|
|
172505
172581
|
type: "local-jsx",
|
|
172506
|
-
load: () => import("./chunk-
|
|
172582
|
+
load: () => import("./chunk-dcekzc4y.js")
|
|
172507
172583
|
};
|
|
172508
172584
|
contextNonInteractive = {
|
|
172509
172585
|
type: "local",
|
|
@@ -172516,7 +172592,7 @@ var init_context3 = __esm(() => {
|
|
|
172516
172592
|
isEnabled() {
|
|
172517
172593
|
return getIsNonInteractiveSession();
|
|
172518
172594
|
},
|
|
172519
|
-
load: () => import("./chunk-
|
|
172595
|
+
load: () => import("./chunk-wtmv0phz.js")
|
|
172520
172596
|
};
|
|
172521
172597
|
});
|
|
172522
172598
|
|
|
@@ -172535,7 +172611,7 @@ var init_cost = __esm(() => {
|
|
|
172535
172611
|
return isClaudeAISubscriber();
|
|
172536
172612
|
},
|
|
172537
172613
|
supportsNonInteractive: true,
|
|
172538
|
-
load: () => import("./chunk-
|
|
172614
|
+
load: () => import("./chunk-6er7h0ce.js")
|
|
172539
172615
|
};
|
|
172540
172616
|
cost_default = cost;
|
|
172541
172617
|
});
|
|
@@ -172547,7 +172623,7 @@ var init_diff2 = __esm(() => {
|
|
|
172547
172623
|
type: "local-jsx",
|
|
172548
172624
|
name: "diff",
|
|
172549
172625
|
description: "View uncommitted changes and per-turn diffs",
|
|
172550
|
-
load: () => import("./chunk-
|
|
172626
|
+
load: () => import("./chunk-94jwe227.js")
|
|
172551
172627
|
};
|
|
172552
172628
|
});
|
|
172553
172629
|
|
|
@@ -172566,7 +172642,7 @@ var init_doctor = __esm(() => {
|
|
|
172566
172642
|
description: "Diagnose and verify your Claude Code installation and settings",
|
|
172567
172643
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_DOCTOR_COMMAND),
|
|
172568
172644
|
type: "local-jsx",
|
|
172569
|
-
load: () => import("./chunk-
|
|
172645
|
+
load: () => import("./chunk-1avwhb0y.js")
|
|
172570
172646
|
};
|
|
172571
172647
|
doctor_default = doctor;
|
|
172572
172648
|
});
|
|
@@ -172578,7 +172654,7 @@ var init_memory = __esm(() => {
|
|
|
172578
172654
|
type: "local-jsx",
|
|
172579
172655
|
name: "memory",
|
|
172580
172656
|
description: "Edit Claude memory files",
|
|
172581
|
-
load: () => import("./chunk-
|
|
172657
|
+
load: () => import("./chunk-1nxqqjjt.js")
|
|
172582
172658
|
};
|
|
172583
172659
|
memory_default = memory;
|
|
172584
172660
|
});
|
|
@@ -172590,7 +172666,7 @@ var init_help = __esm(() => {
|
|
|
172590
172666
|
type: "local-jsx",
|
|
172591
172667
|
name: "help",
|
|
172592
172668
|
description: "Show help and available commands",
|
|
172593
|
-
load: () => import("./chunk-
|
|
172669
|
+
load: () => import("./chunk-sz611c7y.js")
|
|
172594
172670
|
};
|
|
172595
172671
|
help_default = help;
|
|
172596
172672
|
});
|
|
@@ -172603,7 +172679,7 @@ var init_ide2 = __esm(() => {
|
|
|
172603
172679
|
name: "ide",
|
|
172604
172680
|
description: "Manage IDE integrations and show status",
|
|
172605
172681
|
argumentHint: "[open]",
|
|
172606
|
-
load: () => import("./chunk-
|
|
172682
|
+
load: () => import("./chunk-nbr86en0.js")
|
|
172607
172683
|
};
|
|
172608
172684
|
ide_default = ide;
|
|
172609
172685
|
});
|
|
@@ -173126,7 +173202,7 @@ var init_keybindings = __esm(() => {
|
|
|
173126
173202
|
isEnabled: () => isKeybindingCustomizationEnabled(),
|
|
173127
173203
|
supportsNonInteractive: false,
|
|
173128
173204
|
type: "local",
|
|
173129
|
-
load: () => import("./chunk-
|
|
173205
|
+
load: () => import("./chunk-4e1mxma5.js")
|
|
173130
173206
|
};
|
|
173131
173207
|
keybindings_default = keybindings;
|
|
173132
173208
|
});
|
|
@@ -173140,7 +173216,7 @@ var init_lang = __esm(() => {
|
|
|
173140
173216
|
description: "Set display language (en/zh/auto)",
|
|
173141
173217
|
immediate: true,
|
|
173142
173218
|
argumentHint: "<en|zh|auto>",
|
|
173143
|
-
load: () => import("./chunk-
|
|
173219
|
+
load: () => import("./chunk-7zj334zr.js")
|
|
173144
173220
|
};
|
|
173145
173221
|
lang_default = lang;
|
|
173146
173222
|
});
|
|
@@ -173151,7 +173227,7 @@ var login_default = () => ({
|
|
|
173151
173227
|
name: "login",
|
|
173152
173228
|
description: hasAnthropicApiKeyAuth() ? "Switch Anthropic accounts" : "Sign in with your Anthropic account",
|
|
173153
173229
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGIN_COMMAND),
|
|
173154
|
-
load: () => import("./chunk-
|
|
173230
|
+
load: () => import("./chunk-yhpxy5st.js")
|
|
173155
173231
|
});
|
|
173156
173232
|
var init_login = __esm(() => {
|
|
173157
173233
|
init_auth();
|
|
@@ -173167,7 +173243,7 @@ var init_logout2 = __esm(() => {
|
|
|
173167
173243
|
name: "logout",
|
|
173168
173244
|
description: "Sign out from your Anthropic account",
|
|
173169
173245
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_LOGOUT_COMMAND),
|
|
173170
|
-
load: () => import("./chunk-
|
|
173246
|
+
load: () => import("./chunk-gccn64qd.js")
|
|
173171
173247
|
};
|
|
173172
173248
|
});
|
|
173173
173249
|
|
|
@@ -173181,7 +173257,7 @@ var init_install_github_app = __esm(() => {
|
|
|
173181
173257
|
description: "Set up Claude GitHub Actions for a repository",
|
|
173182
173258
|
availability: ["claude-ai", "console"],
|
|
173183
173259
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_INSTALL_GITHUB_APP_COMMAND),
|
|
173184
|
-
load: () => import("./chunk-
|
|
173260
|
+
load: () => import("./chunk-nrnctdca.js")
|
|
173185
173261
|
};
|
|
173186
173262
|
install_github_app_default = installGitHubApp;
|
|
173187
173263
|
});
|
|
@@ -173195,7 +173271,7 @@ var init_install_slack_app = __esm(() => {
|
|
|
173195
173271
|
description: "Install the Claude Slack app",
|
|
173196
173272
|
availability: ["claude-ai"],
|
|
173197
173273
|
supportsNonInteractive: false,
|
|
173198
|
-
load: () => import("./chunk-
|
|
173274
|
+
load: () => import("./chunk-4n8p6kj0.js")
|
|
173199
173275
|
};
|
|
173200
173276
|
install_slack_app_default = installSlackApp;
|
|
173201
173277
|
});
|
|
@@ -173215,7 +173291,7 @@ var init_mcp = __esm(() => {
|
|
|
173215
173291
|
description: "Manage MCP servers",
|
|
173216
173292
|
immediate: true,
|
|
173217
173293
|
argumentHint: "[enable|disable [server-name]]",
|
|
173218
|
-
load: () => import("./chunk-
|
|
173294
|
+
load: () => import("./chunk-f081fc9h.js")
|
|
173219
173295
|
};
|
|
173220
173296
|
mcp_default = mcp;
|
|
173221
173297
|
});
|
|
@@ -173344,7 +173420,7 @@ var init_release_notes = __esm(() => {
|
|
|
173344
173420
|
name: "release-notes",
|
|
173345
173421
|
type: "local",
|
|
173346
173422
|
supportsNonInteractive: true,
|
|
173347
|
-
load: () => import("./chunk-
|
|
173423
|
+
load: () => import("./chunk-3dnzff6j.js")
|
|
173348
173424
|
};
|
|
173349
173425
|
release_notes_default = releaseNotes;
|
|
173350
173426
|
});
|
|
@@ -173358,7 +173434,7 @@ var init_rename = __esm(() => {
|
|
|
173358
173434
|
description: "Rename the current conversation",
|
|
173359
173435
|
immediate: true,
|
|
173360
173436
|
argumentHint: "[name]",
|
|
173361
|
-
load: () => import("./chunk-
|
|
173437
|
+
load: () => import("./chunk-0x6bwqtj.js")
|
|
173362
173438
|
};
|
|
173363
173439
|
rename_default = rename7;
|
|
173364
173440
|
});
|
|
@@ -173372,7 +173448,7 @@ var init_resume = __esm(() => {
|
|
|
173372
173448
|
description: "Resume a previous conversation",
|
|
173373
173449
|
aliases: ["continue"],
|
|
173374
173450
|
argumentHint: "[conversation id or search term]",
|
|
173375
|
-
load: () => import("./chunk-
|
|
173451
|
+
load: () => import("./chunk-c965t34b.js")
|
|
173376
173452
|
};
|
|
173377
173453
|
resume_default = resume;
|
|
173378
173454
|
});
|
|
@@ -173428,7 +173504,7 @@ var init_review = __esm(() => {
|
|
|
173428
173504
|
name: "ultrareview",
|
|
173429
173505
|
description: `~10\u201320 min \xB7 Finds and verifies bugs in your branch. Runs in Claude Code on the web. See ${CCR_TERMS_URL}`,
|
|
173430
173506
|
isEnabled: () => isUltrareviewEnabled(),
|
|
173431
|
-
load: () => import("./chunk-
|
|
173507
|
+
load: () => import("./chunk-xz76edqf.js")
|
|
173432
173508
|
};
|
|
173433
173509
|
review_default = review;
|
|
173434
173510
|
});
|
|
@@ -173446,7 +173522,7 @@ var init_session = __esm(() => {
|
|
|
173446
173522
|
get isHidden() {
|
|
173447
173523
|
return !getIsRemoteMode();
|
|
173448
173524
|
},
|
|
173449
|
-
load: () => import("./chunk-
|
|
173525
|
+
load: () => import("./chunk-xt7s28fx.js")
|
|
173450
173526
|
};
|
|
173451
173527
|
session_default = session;
|
|
173452
173528
|
});
|
|
@@ -173464,7 +173540,7 @@ var init_skills = __esm(() => {
|
|
|
173464
173540
|
type: "local-jsx",
|
|
173465
173541
|
name: "skills",
|
|
173466
173542
|
description: "List available skills",
|
|
173467
|
-
load: () => import("./chunk-
|
|
173543
|
+
load: () => import("./chunk-dmcepess.js")
|
|
173468
173544
|
};
|
|
173469
173545
|
skills_default = skills;
|
|
173470
173546
|
});
|
|
@@ -173477,7 +173553,7 @@ var init_status2 = __esm(() => {
|
|
|
173477
173553
|
name: "status",
|
|
173478
173554
|
description: "Show Claude Code status including version, model, account, API connectivity, and tool statuses",
|
|
173479
173555
|
immediate: true,
|
|
173480
|
-
load: () => import("./chunk-
|
|
173556
|
+
load: () => import("./chunk-927q4w00.js")
|
|
173481
173557
|
};
|
|
173482
173558
|
status_default = status;
|
|
173483
173559
|
});
|
|
@@ -173490,7 +173566,7 @@ var init_tasks3 = __esm(() => {
|
|
|
173490
173566
|
name: "tasks",
|
|
173491
173567
|
aliases: ["bashes"],
|
|
173492
173568
|
description: "List and manage background tasks",
|
|
173493
|
-
load: () => import("./chunk-
|
|
173569
|
+
load: () => import("./chunk-dttqmtms.js")
|
|
173494
173570
|
};
|
|
173495
173571
|
tasks_default = tasks;
|
|
173496
173572
|
});
|
|
@@ -173754,7 +173830,7 @@ var init_terminalSetup2 = __esm(() => {
|
|
|
173754
173830
|
name: "terminal-setup",
|
|
173755
173831
|
description: env.terminal === "Apple_Terminal" ? "Enable Option+Enter key binding for newlines and visual bell" : "Install Shift+Enter key binding for newlines",
|
|
173756
173832
|
isHidden: env.terminal !== null && env.terminal in NATIVE_CSIU_TERMINALS,
|
|
173757
|
-
load: () => import("./chunk-
|
|
173833
|
+
load: () => import("./chunk-nkz07g41.js")
|
|
173758
173834
|
};
|
|
173759
173835
|
terminalSetup_default = terminalSetup;
|
|
173760
173836
|
});
|
|
@@ -173767,7 +173843,7 @@ var init_usage = __esm(() => {
|
|
|
173767
173843
|
name: "usage",
|
|
173768
173844
|
description: "Show plan usage limits",
|
|
173769
173845
|
availability: ["claude-ai"],
|
|
173770
|
-
load: () => import("./chunk-
|
|
173846
|
+
load: () => import("./chunk-76vhxz6d.js")
|
|
173771
173847
|
};
|
|
173772
173848
|
});
|
|
173773
173849
|
|
|
@@ -173778,7 +173854,7 @@ var init_theme2 = __esm(() => {
|
|
|
173778
173854
|
type: "local-jsx",
|
|
173779
173855
|
name: "theme",
|
|
173780
173856
|
description: "Change the theme",
|
|
173781
|
-
load: () => import("./chunk-
|
|
173857
|
+
load: () => import("./chunk-bcqk9yw1.js")
|
|
173782
173858
|
};
|
|
173783
173859
|
theme_default = theme;
|
|
173784
173860
|
});
|
|
@@ -173791,7 +173867,7 @@ var init_vim = __esm(() => {
|
|
|
173791
173867
|
description: "Toggle between Vim and Normal editing modes",
|
|
173792
173868
|
supportsNonInteractive: false,
|
|
173793
173869
|
type: "local",
|
|
173794
|
-
load: () => import("./chunk-
|
|
173870
|
+
load: () => import("./chunk-68d95r50.js")
|
|
173795
173871
|
};
|
|
173796
173872
|
vim_default = command5;
|
|
173797
173873
|
});
|
|
@@ -173805,7 +173881,7 @@ var init_thinkback = __esm(() => {
|
|
|
173805
173881
|
name: "think-back",
|
|
173806
173882
|
description: "Your 2025 Claude Code Year in Review",
|
|
173807
173883
|
isEnabled: () => checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_thinkback"),
|
|
173808
|
-
load: () => import("./chunk-
|
|
173884
|
+
load: () => import("./chunk-bx1aj5va.js")
|
|
173809
173885
|
};
|
|
173810
173886
|
thinkback_default = thinkback;
|
|
173811
173887
|
});
|
|
@@ -173821,7 +173897,7 @@ var init_thinkback_play = __esm(() => {
|
|
|
173821
173897
|
isEnabled: () => checkStatsigFeatureGate_CACHED_MAY_BE_STALE("tengu_thinkback"),
|
|
173822
173898
|
isHidden: true,
|
|
173823
173899
|
supportsNonInteractive: false,
|
|
173824
|
-
load: () => import("./chunk-
|
|
173900
|
+
load: () => import("./chunk-rnwcyhhr.js")
|
|
173825
173901
|
};
|
|
173826
173902
|
thinkback_play_default = thinkbackPlay;
|
|
173827
173903
|
});
|
|
@@ -173834,7 +173910,7 @@ var init_permissions3 = __esm(() => {
|
|
|
173834
173910
|
name: "permissions",
|
|
173835
173911
|
aliases: ["allowed-tools"],
|
|
173836
173912
|
description: "Manage allow & deny tool permission rules",
|
|
173837
|
-
load: () => import("./chunk-
|
|
173913
|
+
load: () => import("./chunk-s72mp5r4.js")
|
|
173838
173914
|
};
|
|
173839
173915
|
permissions_default = permissions;
|
|
173840
173916
|
});
|
|
@@ -173843,11 +173919,19 @@ var init_permissions3 = __esm(() => {
|
|
|
173843
173919
|
var plan, plan_default;
|
|
173844
173920
|
var init_plan = __esm(() => {
|
|
173845
173921
|
plan = {
|
|
173922
|
+
bridgeSafe: true,
|
|
173923
|
+
getBridgeInvocationError(args) {
|
|
173924
|
+
const subcommand = args.trim().split(/\s+/)[0];
|
|
173925
|
+
if (subcommand === "open") {
|
|
173926
|
+
return "Opening the local editor via /plan open isn't available over Remote Control.";
|
|
173927
|
+
}
|
|
173928
|
+
return;
|
|
173929
|
+
},
|
|
173846
173930
|
type: "local-jsx",
|
|
173847
173931
|
name: "plan",
|
|
173848
173932
|
description: "Enable plan mode or view the current session plan",
|
|
173849
173933
|
argumentHint: "[open|<description>]",
|
|
173850
|
-
load: () => import("./chunk-
|
|
173934
|
+
load: () => import("./chunk-y2e98987.js")
|
|
173851
173935
|
};
|
|
173852
173936
|
plan_default = plan;
|
|
173853
173937
|
});
|
|
@@ -173880,7 +173964,7 @@ var init_fast = __esm(() => {
|
|
|
173880
173964
|
get immediate() {
|
|
173881
173965
|
return shouldInferenceConfigCommandBeImmediate();
|
|
173882
173966
|
},
|
|
173883
|
-
load: () => import("./chunk-
|
|
173967
|
+
load: () => import("./chunk-ytew4nzj.js")
|
|
173884
173968
|
};
|
|
173885
173969
|
fast_default = fast;
|
|
173886
173970
|
});
|
|
@@ -173903,7 +173987,7 @@ var init_passes = __esm(() => {
|
|
|
173903
173987
|
const { eligible, hasCache } = checkCachedPassesEligibility();
|
|
173904
173988
|
return !eligible || !hasCache;
|
|
173905
173989
|
},
|
|
173906
|
-
load: () => import("./chunk-
|
|
173990
|
+
load: () => import("./chunk-pjvrckqq.js")
|
|
173907
173991
|
};
|
|
173908
173992
|
});
|
|
173909
173993
|
|
|
@@ -173918,7 +174002,7 @@ var init_privacy_settings = __esm(() => {
|
|
|
173918
174002
|
isEnabled: () => {
|
|
173919
174003
|
return isConsumerSubscriber();
|
|
173920
174004
|
},
|
|
173921
|
-
load: () => import("./chunk-
|
|
174005
|
+
load: () => import("./chunk-8dmvv3vh.js")
|
|
173922
174006
|
};
|
|
173923
174007
|
privacy_settings_default = privacySettings;
|
|
173924
174008
|
});
|
|
@@ -173931,7 +174015,7 @@ var init_hooks = __esm(() => {
|
|
|
173931
174015
|
name: "hooks",
|
|
173932
174016
|
description: "View hook configurations for tool events",
|
|
173933
174017
|
immediate: true,
|
|
173934
|
-
load: () => import("./chunk-
|
|
174018
|
+
load: () => import("./chunk-jjj6rejt.js")
|
|
173935
174019
|
};
|
|
173936
174020
|
hooks_default = hooks;
|
|
173937
174021
|
});
|
|
@@ -173959,7 +174043,7 @@ var init_branch = __esm(() => {
|
|
|
173959
174043
|
aliases: [],
|
|
173960
174044
|
description: "Create a branch of the current conversation at this point",
|
|
173961
174045
|
argumentHint: "[name]",
|
|
173962
|
-
load: () => import("./chunk-
|
|
174046
|
+
load: () => import("./chunk-mgdpdt82.js")
|
|
173963
174047
|
};
|
|
173964
174048
|
branch_default = branch;
|
|
173965
174049
|
});
|
|
@@ -173971,7 +174055,7 @@ var init_agents = __esm(() => {
|
|
|
173971
174055
|
type: "local-jsx",
|
|
173972
174056
|
name: "agents",
|
|
173973
174057
|
description: "Manage agent configurations",
|
|
173974
|
-
load: () => import("./chunk-
|
|
174058
|
+
load: () => import("./chunk-mmegp36z.js")
|
|
173975
174059
|
};
|
|
173976
174060
|
agents_default = agents;
|
|
173977
174061
|
});
|
|
@@ -173985,7 +174069,7 @@ var init_plugin2 = __esm(() => {
|
|
|
173985
174069
|
aliases: ["plugins", "marketplace"],
|
|
173986
174070
|
description: "Manage Claude Code plugins",
|
|
173987
174071
|
immediate: true,
|
|
173988
|
-
load: () => import("./chunk-
|
|
174072
|
+
load: () => import("./chunk-30qe8vg5.js")
|
|
173989
174073
|
};
|
|
173990
174074
|
plugin_default = plugin;
|
|
173991
174075
|
});
|
|
@@ -173998,7 +174082,7 @@ var init_reload_plugins = __esm(() => {
|
|
|
173998
174082
|
name: "reload-plugins",
|
|
173999
174083
|
description: "Activate pending plugin changes in the current session",
|
|
174000
174084
|
supportsNonInteractive: false,
|
|
174001
|
-
load: () => import("./chunk-
|
|
174085
|
+
load: () => import("./chunk-rvt67hgh.js")
|
|
174002
174086
|
};
|
|
174003
174087
|
reload_plugins_default = reloadPlugins;
|
|
174004
174088
|
});
|
|
@@ -174027,7 +174111,7 @@ var init_heapdump = __esm(() => {
|
|
|
174027
174111
|
description: "Dump the JS heap to ~/Desktop",
|
|
174028
174112
|
isHidden: true,
|
|
174029
174113
|
supportsNonInteractive: true,
|
|
174030
|
-
load: () => import("./chunk-
|
|
174114
|
+
load: () => import("./chunk-25c7xvcj.js")
|
|
174031
174115
|
};
|
|
174032
174116
|
heapdump_default = heapDump;
|
|
174033
174117
|
});
|
|
@@ -174524,7 +174608,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
174524
174608
|
var call3 = async () => {
|
|
174525
174609
|
return {
|
|
174526
174610
|
type: "text",
|
|
174527
|
-
value: `${"2.1.888"} (built ${"2026-04-
|
|
174611
|
+
value: `${"2.1.888"} (built ${"2026-04-18T13:43:07.898Z"})`
|
|
174528
174612
|
};
|
|
174529
174613
|
}, version2, version_default;
|
|
174530
174614
|
var init_version = __esm(() => {
|
|
@@ -174600,7 +174684,7 @@ var init_sandbox_toggle = __esm(() => {
|
|
|
174600
174684
|
},
|
|
174601
174685
|
immediate: true,
|
|
174602
174686
|
type: "local-jsx",
|
|
174603
|
-
load: () => import("./chunk-
|
|
174687
|
+
load: () => import("./chunk-vg3exmen.js")
|
|
174604
174688
|
};
|
|
174605
174689
|
sandbox_toggle_default = command6;
|
|
174606
174690
|
});
|
|
@@ -174615,7 +174699,7 @@ var init_chrome = __esm(() => {
|
|
|
174615
174699
|
availability: [],
|
|
174616
174700
|
isEnabled: () => !getIsNonInteractiveSession(),
|
|
174617
174701
|
type: "local-jsx",
|
|
174618
|
-
load: () => import("./chunk-
|
|
174702
|
+
load: () => import("./chunk-r2e2d9te.js")
|
|
174619
174703
|
};
|
|
174620
174704
|
chrome_default = command7;
|
|
174621
174705
|
});
|
|
@@ -174628,7 +174712,7 @@ var init_stickers = __esm(() => {
|
|
|
174628
174712
|
name: "stickers",
|
|
174629
174713
|
description: "Order Claude Code stickers",
|
|
174630
174714
|
supportsNonInteractive: false,
|
|
174631
|
-
load: () => import("./chunk-
|
|
174715
|
+
load: () => import("./chunk-jd2r7m9t.js")
|
|
174632
174716
|
};
|
|
174633
174717
|
stickers_default = stickers;
|
|
174634
174718
|
});
|
|
@@ -175380,7 +175464,7 @@ var init_exit = __esm(() => {
|
|
|
175380
175464
|
aliases: ["quit"],
|
|
175381
175465
|
description: "Exit the REPL",
|
|
175382
175466
|
immediate: true,
|
|
175383
|
-
load: () => import("./chunk-
|
|
175467
|
+
load: () => import("./chunk-bdy2epzn.js")
|
|
175384
175468
|
};
|
|
175385
175469
|
exit_default = exit;
|
|
175386
175470
|
});
|
|
@@ -175393,7 +175477,7 @@ var init_export = __esm(() => {
|
|
|
175393
175477
|
name: "export",
|
|
175394
175478
|
description: "Export the current conversation to a file or clipboard",
|
|
175395
175479
|
argumentHint: "[filename]",
|
|
175396
|
-
load: () => import("./chunk-
|
|
175480
|
+
load: () => import("./chunk-axc8en7y.js")
|
|
175397
175481
|
};
|
|
175398
175482
|
export_default = exportCommand;
|
|
175399
175483
|
});
|
|
@@ -175413,7 +175497,7 @@ var init_model2 = __esm(() => {
|
|
|
175413
175497
|
get immediate() {
|
|
175414
175498
|
return shouldInferenceConfigCommandBeImmediate();
|
|
175415
175499
|
},
|
|
175416
|
-
load: () => import("./chunk-
|
|
175500
|
+
load: () => import("./chunk-gss0qg24.js")
|
|
175417
175501
|
};
|
|
175418
175502
|
});
|
|
175419
175503
|
|
|
@@ -175426,7 +175510,7 @@ var init_tag = __esm(() => {
|
|
|
175426
175510
|
description: "Toggle a searchable tag on the current session",
|
|
175427
175511
|
isEnabled: () => process.env.USER_TYPE === "ant",
|
|
175428
175512
|
argumentHint: "<tag-name>",
|
|
175429
|
-
load: () => import("./chunk-
|
|
175513
|
+
load: () => import("./chunk-q2g2za2r.js")
|
|
175430
175514
|
};
|
|
175431
175515
|
tag_default = tag;
|
|
175432
175516
|
});
|
|
@@ -175457,7 +175541,7 @@ var init_remote_env = __esm(() => {
|
|
|
175457
175541
|
get isHidden() {
|
|
175458
175542
|
return !isClaudeAISubscriber() || !isPolicyAllowed("allow_remote_sessions");
|
|
175459
175543
|
},
|
|
175460
|
-
load: () => import("./chunk-
|
|
175544
|
+
load: () => import("./chunk-f4cbehwk.js")
|
|
175461
175545
|
};
|
|
175462
175546
|
});
|
|
175463
175547
|
|
|
@@ -175472,7 +175556,7 @@ var init_upgrade = __esm(() => {
|
|
|
175472
175556
|
description: "Upgrade to Max for higher rate limits and more Opus",
|
|
175473
175557
|
availability: ["claude-ai"],
|
|
175474
175558
|
isEnabled: () => !isEnvTruthy(process.env.DISABLE_UPGRADE_COMMAND) && getSubscriptionType() !== "enterprise",
|
|
175475
|
-
load: () => import("./chunk-
|
|
175559
|
+
load: () => import("./chunk-ermp1abj.js")
|
|
175476
175560
|
};
|
|
175477
175561
|
upgrade_default = upgrade;
|
|
175478
175562
|
});
|
|
@@ -175492,7 +175576,7 @@ var init_rate_limit_options = __esm(() => {
|
|
|
175492
175576
|
return true;
|
|
175493
175577
|
},
|
|
175494
175578
|
isHidden: true,
|
|
175495
|
-
load: () => import("./chunk-
|
|
175579
|
+
load: () => import("./chunk-057p2c7q.js")
|
|
175496
175580
|
};
|
|
175497
175581
|
rate_limit_options_default = rateLimitOptions;
|
|
175498
175582
|
});
|
|
@@ -175540,7 +175624,7 @@ var init_effort2 = __esm(() => {
|
|
|
175540
175624
|
get immediate() {
|
|
175541
175625
|
return shouldInferenceConfigCommandBeImmediate();
|
|
175542
175626
|
},
|
|
175543
|
-
load: () => import("./chunk-
|
|
175627
|
+
load: () => import("./chunk-r5jmfhb0.js")
|
|
175544
175628
|
};
|
|
175545
175629
|
});
|
|
175546
175630
|
|
|
@@ -175551,7 +175635,7 @@ var init_stats = __esm(() => {
|
|
|
175551
175635
|
type: "local-jsx",
|
|
175552
175636
|
name: "stats",
|
|
175553
175637
|
description: "Show your Claude Code usage statistics and activity",
|
|
175554
|
-
load: () => import("./chunk-
|
|
175638
|
+
load: () => import("./chunk-yzggptj9.js")
|
|
175555
175639
|
};
|
|
175556
175640
|
stats_default = stats;
|
|
175557
175641
|
});
|
|
@@ -175596,6 +175680,7 @@ __export(exports_proactive2, {
|
|
|
175596
175680
|
var proactive, proactive_default;
|
|
175597
175681
|
var init_proactive2 = __esm(() => {
|
|
175598
175682
|
proactive = {
|
|
175683
|
+
bridgeSafe: true,
|
|
175599
175684
|
type: "local-jsx",
|
|
175600
175685
|
name: "proactive",
|
|
175601
175686
|
description: "Toggle proactive (autonomous) mode",
|
|
@@ -175734,7 +175819,7 @@ var init_assistant = __esm(() => {
|
|
|
175734
175819
|
return !isAssistantEnabled();
|
|
175735
175820
|
},
|
|
175736
175821
|
immediate: true,
|
|
175737
|
-
load: () => import("./chunk-
|
|
175822
|
+
load: () => import("./chunk-s2a06w54.js")
|
|
175738
175823
|
};
|
|
175739
175824
|
assistant_default = assistant;
|
|
175740
175825
|
});
|
|
@@ -175757,7 +175842,7 @@ var init_voice2 = __esm(() => {
|
|
|
175757
175842
|
return !isVoiceModeEnabled();
|
|
175758
175843
|
},
|
|
175759
175844
|
supportsNonInteractive: false,
|
|
175760
|
-
load: () => import("./chunk-
|
|
175845
|
+
load: () => import("./chunk-4d6ryx98.js")
|
|
175761
175846
|
};
|
|
175762
175847
|
voice_default = voice;
|
|
175763
175848
|
});
|
|
@@ -175803,7 +175888,7 @@ Example: /monitor watch -n 5 git status`, { display: "system" });
|
|
|
175803
175888
|
const { getTaskOutputPath: getTaskOutputPath2 } = (init_diskOutput(), __toCommonJS(exports_diskOutput));
|
|
175804
175889
|
try {
|
|
175805
175890
|
const shellCommand = await exec2(command8, context3.abortController.signal, "bash");
|
|
175806
|
-
const
|
|
175891
|
+
const handle2 = await spawnShellTask2({
|
|
175807
175892
|
command: command8,
|
|
175808
175893
|
description: command8,
|
|
175809
175894
|
shellCommand,
|
|
@@ -175815,8 +175900,8 @@ Example: /monitor watch -n 5 git status`, { display: "system" });
|
|
|
175815
175900
|
getAppState: context3.getAppState,
|
|
175816
175901
|
setAppState: context3.setAppState
|
|
175817
175902
|
});
|
|
175818
|
-
const outputFile = getTaskOutputPath2(
|
|
175819
|
-
onDone(`Monitor started (${
|
|
175903
|
+
const outputFile = getTaskOutputPath2(handle2.taskId);
|
|
175904
|
+
onDone(`Monitor started (${handle2.taskId}). Press Shift+Down to view.
|
|
175820
175905
|
Output: ${outputFile}`, { display: "system" });
|
|
175821
175906
|
} catch (err) {
|
|
175822
175907
|
onDone(`Monitor failed: ${err instanceof Error ? err.message : String(err)}`, { display: "system" });
|
|
@@ -175882,7 +175967,7 @@ var exports_force_snip = {};
|
|
|
175882
175967
|
__export(exports_force_snip, {
|
|
175883
175968
|
default: () => force_snip_default
|
|
175884
175969
|
});
|
|
175885
|
-
import { randomUUID as
|
|
175970
|
+
import { randomUUID as randomUUID21 } from "crypto";
|
|
175886
175971
|
var call7 = async (_args, context3) => {
|
|
175887
175972
|
const { messages, setMessages } = context3;
|
|
175888
175973
|
if (messages.length === 0) {
|
|
@@ -175895,7 +175980,7 @@ var call7 = async (_args, context3) => {
|
|
|
175895
175980
|
content: "[snip] Conversation history before this point has been snipped.",
|
|
175896
175981
|
isMeta: true,
|
|
175897
175982
|
timestamp: new Date().toISOString(),
|
|
175898
|
-
uuid:
|
|
175983
|
+
uuid: randomUUID21(),
|
|
175899
175984
|
snipMetadata: {
|
|
175900
175985
|
removedUuids
|
|
175901
175986
|
}
|
|
@@ -176444,12 +176529,12 @@ Session: ${url3}`,
|
|
|
176444
176529
|
}
|
|
176445
176530
|
async function launchUltraplan(opts) {
|
|
176446
176531
|
const { blurb, seedPlan, promptIdentifier, getAppState, setAppState, signal, disconnectedBridge, onSessionReady } = opts;
|
|
176447
|
-
const { ultraplanSessionUrl:
|
|
176448
|
-
if (
|
|
176532
|
+
const { ultraplanSessionUrl: active, ultraplanLaunching } = getAppState();
|
|
176533
|
+
if (active || ultraplanLaunching) {
|
|
176449
176534
|
logEvent("tengu_ultraplan_create_failed", {
|
|
176450
|
-
reason:
|
|
176535
|
+
reason: active ? "already_polling" : "already_launching"
|
|
176451
176536
|
});
|
|
176452
|
-
return buildAlreadyActiveMessage(
|
|
176537
|
+
return buildAlreadyActiveMessage(active);
|
|
176453
176538
|
}
|
|
176454
176539
|
if (!blurb && !seedPlan) {
|
|
176455
176540
|
return [
|
|
@@ -176584,12 +176669,12 @@ var ULTRAPLAN_TIMEOUT_MS, CCR_TERMS_URL2 = "https://code.claude.com/docs/en/clau
|
|
|
176584
176669
|
onDone(msg, { display: "system" });
|
|
176585
176670
|
return null;
|
|
176586
176671
|
}
|
|
176587
|
-
const { ultraplanSessionUrl:
|
|
176588
|
-
if (
|
|
176672
|
+
const { ultraplanSessionUrl: active, ultraplanLaunching } = context3.getAppState();
|
|
176673
|
+
if (active || ultraplanLaunching) {
|
|
176589
176674
|
logEvent("tengu_ultraplan_create_failed", {
|
|
176590
|
-
reason:
|
|
176675
|
+
reason: active ? "already_polling" : "already_launching"
|
|
176591
176676
|
});
|
|
176592
|
-
onDone(buildAlreadyActiveMessage(
|
|
176677
|
+
onDone(buildAlreadyActiveMessage(active), { display: "system" });
|
|
176593
176678
|
return null;
|
|
176594
176679
|
}
|
|
176595
176680
|
context3.setAppState((prev) => ({ ...prev, ultraplanLaunchPending: { blurb } }));
|
|
@@ -176646,7 +176731,7 @@ var init_daemon = __esm(() => {
|
|
|
176646
176731
|
return true;
|
|
176647
176732
|
return false;
|
|
176648
176733
|
},
|
|
176649
|
-
load: () => import("./chunk-
|
|
176734
|
+
load: () => import("./chunk-vsd9yrbq.js")
|
|
176650
176735
|
};
|
|
176651
176736
|
daemon_default = daemon;
|
|
176652
176737
|
});
|
|
@@ -176668,7 +176753,7 @@ var init_job = __esm(() => {
|
|
|
176668
176753
|
return true;
|
|
176669
176754
|
return false;
|
|
176670
176755
|
},
|
|
176671
|
-
load: () => import("./chunk-
|
|
176756
|
+
load: () => import("./chunk-6xbff4vx.js")
|
|
176672
176757
|
};
|
|
176673
176758
|
job_default = job;
|
|
176674
176759
|
});
|
|
@@ -176685,7 +176770,7 @@ var init_fork = __esm(() => {
|
|
|
176685
176770
|
name: "fork",
|
|
176686
176771
|
description: "Fork the current session into a new sub-agent",
|
|
176687
176772
|
argumentHint: "<prompt>",
|
|
176688
|
-
load: () => import("./chunk-
|
|
176773
|
+
load: () => import("./chunk-yh01ya6y.js")
|
|
176689
176774
|
};
|
|
176690
176775
|
fork_default = fork;
|
|
176691
176776
|
});
|
|
@@ -176702,7 +176787,7 @@ var init_poor = __esm(() => {
|
|
|
176702
176787
|
name: "poor",
|
|
176703
176788
|
description: "Toggle poor mode \u2014 disable extract_memories and prompt_suggestion to save tokens",
|
|
176704
176789
|
supportsNonInteractive: false,
|
|
176705
|
-
load: () => import("./chunk-
|
|
176790
|
+
load: () => import("./chunk-1re18c21.js")
|
|
176706
176791
|
};
|
|
176707
176792
|
poor_default = poor;
|
|
176708
176793
|
});
|
|
@@ -176804,10 +176889,16 @@ function getMcpSkillCommands(mcpCommands) {
|
|
|
176804
176889
|
}
|
|
176805
176890
|
function isBridgeSafeCommand(cmd) {
|
|
176806
176891
|
if (cmd.type === "local-jsx")
|
|
176807
|
-
return
|
|
176892
|
+
return cmd.bridgeSafe === true;
|
|
176808
176893
|
if (cmd.type === "prompt")
|
|
176809
176894
|
return true;
|
|
176810
|
-
return BRIDGE_SAFE_COMMANDS.has(cmd);
|
|
176895
|
+
return cmd.bridgeSafe === true || BRIDGE_SAFE_COMMANDS.has(cmd);
|
|
176896
|
+
}
|
|
176897
|
+
function getBridgeCommandSafety(cmd, args) {
|
|
176898
|
+
if (!isBridgeSafeCommand(cmd))
|
|
176899
|
+
return { ok: false };
|
|
176900
|
+
const reason = cmd.getBridgeInvocationError?.(args);
|
|
176901
|
+
return reason ? { ok: false, reason } : { ok: true };
|
|
176811
176902
|
}
|
|
176812
176903
|
function filterCommandsForRemoteMode(commands) {
|
|
176813
176904
|
return commands.filter((cmd) => REMOTE_SAFE_COMMANDS.has(cmd));
|
|
@@ -176982,7 +177073,7 @@ var init_commands2 = __esm(() => {
|
|
|
176982
177073
|
progressMessage: "analyzing your sessions",
|
|
176983
177074
|
source: "builtin",
|
|
176984
177075
|
async getPromptForCommand(args, context3) {
|
|
176985
|
-
const real = (await import("./chunk-
|
|
177076
|
+
const real = (await import("./chunk-xt8gvmsx.js")).default;
|
|
176986
177077
|
if (real.type !== "prompt")
|
|
176987
177078
|
throw new Error("unreachable");
|
|
176988
177079
|
return real.getPromptForCommand(args, context3);
|
|
@@ -177170,6 +177261,7 @@ var init_commands2 = __esm(() => {
|
|
|
177170
177261
|
btw_default,
|
|
177171
177262
|
feedback_default,
|
|
177172
177263
|
plan_default,
|
|
177264
|
+
proactive2,
|
|
177173
177265
|
keybindings_default,
|
|
177174
177266
|
statusline_default,
|
|
177175
177267
|
stickers_default,
|
|
@@ -177554,12 +177646,12 @@ class Project {
|
|
|
177554
177646
|
}
|
|
177555
177647
|
enqueueWrite(filePath, entry) {
|
|
177556
177648
|
return new Promise((resolve31) => {
|
|
177557
|
-
let
|
|
177558
|
-
if (!
|
|
177559
|
-
|
|
177560
|
-
this.writeQueues.set(filePath,
|
|
177649
|
+
let queue = this.writeQueues.get(filePath);
|
|
177650
|
+
if (!queue) {
|
|
177651
|
+
queue = [];
|
|
177652
|
+
this.writeQueues.set(filePath, queue);
|
|
177561
177653
|
}
|
|
177562
|
-
|
|
177654
|
+
queue.push({ entry, resolve: resolve31 });
|
|
177563
177655
|
this.scheduleDrain();
|
|
177564
177656
|
});
|
|
177565
177657
|
}
|
|
@@ -177586,11 +177678,11 @@ class Project {
|
|
|
177586
177678
|
}
|
|
177587
177679
|
}
|
|
177588
177680
|
async drainWriteQueue() {
|
|
177589
|
-
for (const [filePath,
|
|
177590
|
-
if (
|
|
177681
|
+
for (const [filePath, queue] of this.writeQueues) {
|
|
177682
|
+
if (queue.length === 0) {
|
|
177591
177683
|
continue;
|
|
177592
177684
|
}
|
|
177593
|
-
const batch =
|
|
177685
|
+
const batch = queue.splice(0);
|
|
177594
177686
|
let content = "";
|
|
177595
177687
|
const resolvers = [];
|
|
177596
177688
|
for (const { entry, resolve: resolve31 } of batch) {
|
|
@@ -177614,8 +177706,8 @@ class Project {
|
|
|
177614
177706
|
}
|
|
177615
177707
|
}
|
|
177616
177708
|
}
|
|
177617
|
-
for (const [filePath,
|
|
177618
|
-
if (
|
|
177709
|
+
for (const [filePath, queue] of this.writeQueues) {
|
|
177710
|
+
if (queue.length === 0) {
|
|
177619
177711
|
this.writeQueues.delete(filePath);
|
|
177620
177712
|
}
|
|
177621
177713
|
}
|
|
@@ -181545,14 +181637,14 @@ class DiskTaskOutput {
|
|
|
181545
181637
|
return this.#fileHandle.appendFile(this.#queueToBuffers());
|
|
181546
181638
|
}
|
|
181547
181639
|
#queueToBuffers() {
|
|
181548
|
-
const
|
|
181640
|
+
const queue = this.#queue.splice(0, this.#queue.length);
|
|
181549
181641
|
let totalLength = 0;
|
|
181550
|
-
for (const str2 of
|
|
181642
|
+
for (const str2 of queue) {
|
|
181551
181643
|
totalLength += Buffer.byteLength(str2, "utf8");
|
|
181552
181644
|
}
|
|
181553
181645
|
const buffer = Buffer.allocUnsafe(totalLength);
|
|
181554
181646
|
let offset = 0;
|
|
181555
|
-
for (const str2 of
|
|
181647
|
+
for (const str2 of queue) {
|
|
181556
181648
|
offset += buffer.write(str2, offset, "utf8");
|
|
181557
181649
|
}
|
|
181558
181650
|
return buffer;
|
|
@@ -182236,9 +182328,9 @@ var init_hookHelpers = __esm(() => {
|
|
|
182236
182328
|
});
|
|
182237
182329
|
|
|
182238
182330
|
// src/utils/hooks/execPromptHook.ts
|
|
182239
|
-
import { randomUUID as
|
|
182331
|
+
import { randomUUID as randomUUID22 } from "crypto";
|
|
182240
182332
|
async function execPromptHook(hook, hookName, hookEvent, jsonInput, signal, toolUseContext, messages, toolUseID) {
|
|
182241
|
-
const effectiveToolUseID = toolUseID || `hook-${
|
|
182333
|
+
const effectiveToolUseID = toolUseID || `hook-${randomUUID22()}`;
|
|
182242
182334
|
try {
|
|
182243
182335
|
const processedPrompt = addArgumentsToPrompt(hook.prompt, jsonInput);
|
|
182244
182336
|
logForDebugging(`Hooks: Processing prompt hook with prompt: ${processedPrompt}`);
|
|
@@ -182393,9 +182485,9 @@ var init_execPromptHook = __esm(() => {
|
|
|
182393
182485
|
});
|
|
182394
182486
|
|
|
182395
182487
|
// src/utils/hooks/execAgentHook.ts
|
|
182396
|
-
import { randomUUID as
|
|
182488
|
+
import { randomUUID as randomUUID23 } from "crypto";
|
|
182397
182489
|
async function execAgentHook(hook, hookName, hookEvent, jsonInput, signal, toolUseContext, toolUseID, _messages, agentName) {
|
|
182398
|
-
const effectiveToolUseID = toolUseID || `hook-${
|
|
182490
|
+
const effectiveToolUseID = toolUseID || `hook-${randomUUID23()}`;
|
|
182399
182491
|
const transcriptPath = toolUseContext.agentId ? getAgentTranscriptPath(toolUseContext.agentId) : getTranscriptPath();
|
|
182400
182492
|
const hookStartTime = Date.now();
|
|
182401
182493
|
try {
|
|
@@ -182430,7 +182522,7 @@ When done, return your result using the ${SYNTHETIC_OUTPUT_TOOL_NAME} tool with:
|
|
|
182430
182522
|
]);
|
|
182431
182523
|
const model = hook.model ?? getSmallFastModel();
|
|
182432
182524
|
const MAX_AGENT_TURNS = 50;
|
|
182433
|
-
const hookAgentId = asAgentId(`hook-agent-${
|
|
182525
|
+
const hookAgentId = asAgentId(`hook-agent-${randomUUID23()}`);
|
|
182434
182526
|
const agentToolUseContext = {
|
|
182435
182527
|
...toolUseContext,
|
|
182436
182528
|
agentId: hookAgentId,
|
|
@@ -182769,7 +182861,7 @@ var init_ssrfGuard = () => {};
|
|
|
182769
182861
|
|
|
182770
182862
|
// src/utils/hooks/execHttpHook.ts
|
|
182771
182863
|
async function getSandboxProxyConfig() {
|
|
182772
|
-
const { SandboxManager: SandboxManager3 } = await import("./chunk-
|
|
182864
|
+
const { SandboxManager: SandboxManager3 } = await import("./chunk-vqsjg97m.js");
|
|
182773
182865
|
if (!SandboxManager3.isSandboxingEnabled()) {
|
|
182774
182866
|
return;
|
|
182775
182867
|
}
|
|
@@ -182881,7 +182973,7 @@ var init_execHttpHook = __esm(() => {
|
|
|
182881
182973
|
// src/utils/hooks.ts
|
|
182882
182974
|
import { basename as basename31 } from "path";
|
|
182883
182975
|
import { spawn as spawn8 } from "child_process";
|
|
182884
|
-
import { randomUUID as
|
|
182976
|
+
import { randomUUID as randomUUID24 } from "crypto";
|
|
182885
182977
|
function getSessionEndHookTimeoutMs() {
|
|
182886
182978
|
const raw = process.env.CLAUDE_CODE_SESSIONEND_HOOKS_TIMEOUT_MS;
|
|
182887
182979
|
const parsed = raw ? parseInt(raw, 10) : NaN;
|
|
@@ -183943,7 +184035,7 @@ async function* executeHooks({
|
|
|
183943
184035
|
parentToolUseID: toolUseID,
|
|
183944
184036
|
toolUseID,
|
|
183945
184037
|
timestamp: new Date().toISOString(),
|
|
183946
|
-
uuid:
|
|
184038
|
+
uuid: randomUUID24()
|
|
183947
184039
|
}
|
|
183948
184040
|
};
|
|
183949
184041
|
}
|
|
@@ -184005,7 +184097,7 @@ async function* executeHooks({
|
|
|
184005
184097
|
const { signal: abortSignal, cleanup } = createCombinedAbortSignal(signal, {
|
|
184006
184098
|
timeoutMs: commandTimeoutMs
|
|
184007
184099
|
});
|
|
184008
|
-
const hookId =
|
|
184100
|
+
const hookId = randomUUID24();
|
|
184009
184101
|
const hookStartMs = Date.now();
|
|
184010
184102
|
const hookCommand = getHookDisplayText(hook);
|
|
184011
184103
|
try {
|
|
@@ -184654,7 +184746,7 @@ async function executeHooksOutsideREPL({
|
|
|
184654
184746
|
const callbackTimeoutMs = hook.timeout ? hook.timeout * 1000 : timeoutMs;
|
|
184655
184747
|
const { signal: abortSignal2, cleanup: cleanup2 } = createCombinedAbortSignal(signal, { timeoutMs: callbackTimeoutMs });
|
|
184656
184748
|
try {
|
|
184657
|
-
const toolUseID =
|
|
184749
|
+
const toolUseID = randomUUID24();
|
|
184658
184750
|
const json2 = await hook.callback(hookInput, toolUseID, abortSignal2, hookIndex);
|
|
184659
184751
|
cleanup2?.();
|
|
184660
184752
|
if (isAsyncHookJSONOutput(json2)) {
|
|
@@ -184767,7 +184859,7 @@ async function executeHooksOutsideREPL({
|
|
|
184767
184859
|
const commandTimeoutMs = hook.timeout ? hook.timeout * 1000 : timeoutMs;
|
|
184768
184860
|
const { signal: abortSignal, cleanup } = createCombinedAbortSignal(signal, { timeoutMs: commandTimeoutMs });
|
|
184769
184861
|
try {
|
|
184770
|
-
const result = await execCommandHook(hook, hookEvent, hookName, jsonInput, abortSignal,
|
|
184862
|
+
const result = await execCommandHook(hook, hookEvent, hookName, jsonInput, abortSignal, randomUUID24(), hookIndex, pluginRoot, pluginId);
|
|
184771
184863
|
cleanup?.();
|
|
184772
184864
|
if (result.aborted) {
|
|
184773
184865
|
logForDebugging(`${hookName} [${hook.command}] cancelled`);
|
|
@@ -184971,7 +185063,7 @@ async function* executeStopHooks(permissionMode, signal, timeoutMs = TOOL_HOOK_E
|
|
|
184971
185063
|
};
|
|
184972
185064
|
yield* executeHooks({
|
|
184973
185065
|
hookInput,
|
|
184974
|
-
toolUseID:
|
|
185066
|
+
toolUseID: randomUUID24(),
|
|
184975
185067
|
signal,
|
|
184976
185068
|
timeoutMs,
|
|
184977
185069
|
toolUseContext,
|
|
@@ -184988,7 +185080,7 @@ async function* executeTeammateIdleHooks(teammateName, teamName, permissionMode,
|
|
|
184988
185080
|
};
|
|
184989
185081
|
yield* executeHooks({
|
|
184990
185082
|
hookInput,
|
|
184991
|
-
toolUseID:
|
|
185083
|
+
toolUseID: randomUUID24(),
|
|
184992
185084
|
signal,
|
|
184993
185085
|
timeoutMs
|
|
184994
185086
|
});
|
|
@@ -185005,7 +185097,7 @@ async function* executeTaskCreatedHooks(taskId, taskSubject, taskDescription, te
|
|
|
185005
185097
|
};
|
|
185006
185098
|
yield* executeHooks({
|
|
185007
185099
|
hookInput,
|
|
185008
|
-
toolUseID:
|
|
185100
|
+
toolUseID: randomUUID24(),
|
|
185009
185101
|
signal,
|
|
185010
185102
|
timeoutMs,
|
|
185011
185103
|
toolUseContext
|
|
@@ -185023,7 +185115,7 @@ async function* executeTaskCompletedHooks(taskId, taskSubject, taskDescription,
|
|
|
185023
185115
|
};
|
|
185024
185116
|
yield* executeHooks({
|
|
185025
185117
|
hookInput,
|
|
185026
|
-
toolUseID:
|
|
185118
|
+
toolUseID: randomUUID24(),
|
|
185027
185119
|
signal,
|
|
185028
185120
|
timeoutMs,
|
|
185029
185121
|
toolUseContext
|
|
@@ -185042,7 +185134,7 @@ async function* executeUserPromptSubmitHooks(prompt, permissionMode, toolUseCont
|
|
|
185042
185134
|
};
|
|
185043
185135
|
yield* executeHooks({
|
|
185044
185136
|
hookInput,
|
|
185045
|
-
toolUseID:
|
|
185137
|
+
toolUseID: randomUUID24(),
|
|
185046
185138
|
signal: toolUseContext.abortController.signal,
|
|
185047
185139
|
timeoutMs: TOOL_HOOK_EXECUTION_TIMEOUT_MS,
|
|
185048
185140
|
toolUseContext,
|
|
@@ -185059,7 +185151,7 @@ async function* executeSessionStartHooks(source, sessionId, agentType, model, si
|
|
|
185059
185151
|
};
|
|
185060
185152
|
yield* executeHooks({
|
|
185061
185153
|
hookInput,
|
|
185062
|
-
toolUseID:
|
|
185154
|
+
toolUseID: randomUUID24(),
|
|
185063
185155
|
matchQuery: source,
|
|
185064
185156
|
signal,
|
|
185065
185157
|
timeoutMs,
|
|
@@ -185074,7 +185166,7 @@ async function* executeSetupHooks(trigger, signal, timeoutMs = TOOL_HOOK_EXECUTI
|
|
|
185074
185166
|
};
|
|
185075
185167
|
yield* executeHooks({
|
|
185076
185168
|
hookInput,
|
|
185077
|
-
toolUseID:
|
|
185169
|
+
toolUseID: randomUUID24(),
|
|
185078
185170
|
matchQuery: trigger,
|
|
185079
185171
|
signal,
|
|
185080
185172
|
timeoutMs,
|
|
@@ -185090,7 +185182,7 @@ async function* executeSubagentStartHooks(agentId, agentType, signal, timeoutMs
|
|
|
185090
185182
|
};
|
|
185091
185183
|
yield* executeHooks({
|
|
185092
185184
|
hookInput,
|
|
185093
|
-
toolUseID:
|
|
185185
|
+
toolUseID: randomUUID24(),
|
|
185094
185186
|
matchQuery: agentType,
|
|
185095
185187
|
signal,
|
|
185096
185188
|
timeoutMs
|
|
@@ -185455,7 +185547,7 @@ async function executeStatusLineCommand(statusLineInput, signal, timeoutMs = 500
|
|
|
185455
185547
|
const abortSignal = signal || AbortSignal.timeout(timeoutMs);
|
|
185456
185548
|
try {
|
|
185457
185549
|
const jsonInput = jsonStringify(statusLineInput);
|
|
185458
|
-
const result = await execCommandHook(statusLine, "StatusLine", "statusLine", jsonInput, abortSignal,
|
|
185550
|
+
const result = await execCommandHook(statusLine, "StatusLine", "statusLine", jsonInput, abortSignal, randomUUID24());
|
|
185459
185551
|
if (result.aborted) {
|
|
185460
185552
|
return;
|
|
185461
185553
|
}
|
|
@@ -185499,7 +185591,7 @@ async function executeFileSuggestionCommand(fileSuggestionInput, signal, timeout
|
|
|
185499
185591
|
try {
|
|
185500
185592
|
const jsonInput = jsonStringify(fileSuggestionInput);
|
|
185501
185593
|
const hook = { type: "command", command: fileSuggestion.command };
|
|
185502
|
-
const result = await execCommandHook(hook, "FileSuggestion", "FileSuggestion", jsonInput, abortSignal,
|
|
185594
|
+
const result = await execCommandHook(hook, "FileSuggestion", "FileSuggestion", jsonInput, abortSignal, randomUUID24());
|
|
185503
185595
|
if (result.aborted || result.status !== 0) {
|
|
185504
185596
|
return [];
|
|
185505
185597
|
}
|
|
@@ -186008,4 +186100,4 @@ var init_changeDetector = __esm(() => {
|
|
|
186008
186100
|
};
|
|
186009
186101
|
});
|
|
186010
186102
|
|
|
186011
|
-
export { getEmptyToolPermissionContext, toolMatchesName, findToolByName, init_Tool, BASH_TOOL_NAME, init_toolName, GREP_TOOL_NAME, init_prompt4 as init_prompt, FILE_EDIT_TOOL_NAME, CLAUDE_FOLDER_PERMISSION_PATTERN, GLOBAL_CLAUDE_FOLDER_PERMISSION_PATTERN, init_constants5 as init_constants, FILE_READ_TOOL_NAME, init_prompt5 as init_prompt1, init_prompt6 as init_prompt2, init_prompt7 as init_prompt3, init_constants6 as init_constants1, MessageResponse, init_MessageResponse, validateDirectoryForWorkspace, addDirHelpMessage, init_validation2 as init_validation, createStore, init_store, useVoiceState, useSetVoiceState, useGetVoiceState, init_voice, useMailbox, init_mailbox2 as init_mailbox, initialize3 as initialize, dispose2 as dispose, subscribe2 as subscribe, notifyChange, resetForTesting, settingsChangeDetector, init_changeDetector, useSettingsChange, init_useSettingsChange, last_default, init_last, duck, goose, blob, cat, dragon, octopus, owl, penguin, turtle, snail, ghost, axolotl, capybara, cactus, robot, rabbit, mushroom, chonk, init_types6 as init_types, getCompanion, init_companion, NO_CONTENT_MESSAGE, init_messages, parseYaml, init_yaml, FRONTMATTER_REGEX, parseFrontmatter, init_frontmatterParser, ripGrep2 as ripGrep, countFilesRoundedRg, init_ripgrep2 as init_ripgrep, isRestrictedToPluginOnly, isSourceAdminTrusted, init_pluginOnlyPolicy, CLAUDE_CONFIG_DIRECTORIES, extractDescriptionFromMarkdown, getProjectDirsUpToHome, loadMarkdownFilesForSubdir, init_markdownConfigLoader, getPluginErrorMessage, init_plugin, isBuiltinPluginId, getBuiltinPluginDefinition, init_builtinPlugins, getAddDirEnabledPlugins, init_addDirPluginSettings, findReverseDependents, formatReverseDependentsSuffix, init_dependencyResolver, OFFICIAL_MARKETPLACE_SOURCE, OFFICIAL_MARKETPLACE_NAME, init_officialMarketplace, logPluginFetch, classifyFetchError, init_fetchTelemetry, checkGitAvailable, markGitUnavailable, init_gitAvailability, SandboxViolationStore, SandboxRuntimeConfigSchema, WEB_FETCH_TOOL_NAME, init_prompt10 as init_prompt4, resolvePathPatternForSandbox, resolveSandboxFilesystemPath, shouldAllowManagedSandboxDomainsOnly, convertToSandboxRuntimeConfig, addToExcludedCommands, SandboxManager2 as SandboxManager, init_sandbox_adapter, getPluginsDirectory, getPluginSeedDirs, pluginDataDirPath, getPluginDataDirSize, deletePluginDataDir, init_pluginDirectories, isUltrathinkEnabled, findThinkingTriggerPositions, getRainbowColor, modelSupportsAdaptiveThinking, shouldEnableThinkingByDefault, init_thinking, EFFORT_LEVELS, modelSupportsEffort, modelSupportsMaxEffort, isEffortLevel, parseEffortValue, toPersistableEffort, getInitialEffortSetting, resolvePickerEffortPersistence, getEffortEnvOverride, resolveAppliedEffort, getDisplayedEffortLevel, getEffortSuffix, convertEffortValueToLevel, getEffortValueDescription, getOpusDefaultEffortConfig, getDefaultEffortForModel, init_effort, isMcpbSource, loadMcpServerUserConfig, saveMcpServerUserConfig, loadMcpbFile, init_mcpbHandler, loadPluginOptions, savePluginOptions, deletePluginOptions, getUnconfiguredOptions, init_pluginOptionsStorage, loadPluginAgents, init_loadPluginAgents, AGENT_COLORS, AGENT_COLOR_TO_THEME_COLOR, getAgentColor, setAgentColor, init_agentColorManager, getSessionStartDate, init_common3 as init_common, init_prompt11 as init_prompt5, CLAUDE_CODE_GUIDE_AGENT_TYPE, init_claudeCodeGuideAgent, EXIT_PLAN_MODE_TOOL_NAME, EXIT_PLAN_MODE_V2_TOOL_NAME, init_constants11 as init_constants2, ENTER_PLAN_MODE_TOOL_NAME, init_constants13 as init_constants3, ASK_USER_QUESTION_TOOL_NAME, init_prompt9 as init_prompt6, TODO_WRITE_TOOL_NAME, init_constants8 as init_constants4, POWERSHELL_TOOL_NAME, init_toolName2 as init_toolName1, SHELL_TOOL_NAMES, isPowerShellToolEnabled, init_shellToolUtils, SKILL_TOOL_NAME, init_constants10 as init_constants5, TOOL_SEARCH_TOOL_NAME, exports_prompt2 as exports_prompt, init_prompt12 as init_prompt7, SYNTHETIC_OUTPUT_TOOL_NAME, isSyntheticOutputToolEnabled, createSyntheticOutputTool, init_SyntheticOutputTool, TEAM_CREATE_TOOL_NAME, init_constants18 as init_constants6, isCoordinatorMode, exports_coordinatorMode, init_coordinatorMode, isInForkChild, init_forkSubagent, isDeferredTool, formatDeferredToolLine, getPrompt, init_prompt13 as init_prompt8, cronToHuman, init_cron, getCronFilePath, readCronTasks, hasCronTasksSync, removeCronTasks, markCronTasksFired, DEFAULT_CRON_JITTER_CONFIG, jitteredNextCronRunMs, oneShotJitteredNextCronRunMs, findMissedTasks, init_cronTasks, DEFAULT_MAX_AGE_DAYS, isKairosCronEnabled, CRON_CREATE_TOOL_NAME, CRON_DELETE_TOOL_NAME, CRON_LIST_TOOL_NAME, exports_prompt3 as exports_prompt1, init_prompt14 as init_prompt9, COORDINATOR_MODE_ALLOWED_TOOLS, init_tools, isBuiltInAgent, isCustomAgent, isPluginAgent, getActiveAgentsFromList, hasRequiredMcpServers, filterAgentsByMcpRequirements, getAgentDefinitionsWithOverrides, clearAgentDefinitionsCache, parseAgentFromJson, parseAgentsFromJson, parseAgentFromMarkdown, exports_loadAgentsDir, init_loadAgentsDir, SKILL_BUDGET_CONTEXT_PERCENT, CHARS_PER_TOKEN, DEFAULT_CHAR_BUDGET, MAX_LISTING_DESC_CHARS, getCharBudget, formatCommandsWithinBudget, getPrompt2 as getPrompt1, getSkillToolInfo, getLimitedSkillToolCommands, clearPromptCache, getSkillInfo, init_prompt18 as init_prompt10, diffLines, init_libesm, notifyCompaction, resetPromptCacheBreakDetection, init_promptCacheBreakDetection, compactWarningStore, suppressCompactWarning, init_compactWarningState, resetMicrocompactState, microcompactMessages, init_microCompact, g, init_marked_esm, MAX_MEMORY_CHARACTER_COUNT, getMemoryFiles, clearMemoryFileCaches, resetGetMemoryFilesCache, getLargeMemoryFiles, getExternalClaudeMdIncludes, hasExternalClaudeMdIncludes, shouldShowClaudeMdExternalIncludesWarning, init_claudemd, setSystemPromptInjection, getGitStatus, getSystemContext, getUserContext, init_context2 as init_context, getTokenUsage, tokenCountFromLastAPIResponse, getCurrentUsage, doesMostRecentAssistantMessageExceed200k, getAssistantMessageContentLength, tokenCountWithEstimation, init_tokens, DEFAULT_SESSION_MEMORY_CONFIG, setLastSummarizedMessageId, markExtractionStarted, markExtractionCompleted, getSessionMemoryContent, setSessionMemoryConfig, getSessionMemoryConfig, recordExtractionTokenCount, isSessionMemoryInitialized, markSessionMemoryInitialized, hasMetInitializationThreshold, hasMetUpdateThreshold, getToolCallsBetweenUpdates, init_sessionMemoryUtils, uniqBy_default, init_uniqBy, inputSchema13 as inputSchema, outputSchema12 as outputSchema, clearToolSearchDescriptionCache, ToolSearchTool, init_ToolSearchTool, init_withRetry, maybeResizeAndDownsampleImageBlock, detectImageFormatFromBase64, createImageMetadataText, init_imageResizer, init_systemPromptType, subscribeToCommandQueue, getCommandQueueSnapshot, getCommandQueue, getCommandQueueLength, hasCommandsInQueue, enqueue, enqueuePendingNotification, dequeue, peek, dequeueAllMatching, removeByFilter, clearCommandQueue, isQueuedCommandEditable, isQueuedCommandVisible, popAllEditable, getCommandsByMaxPriority, init_messageQueueManager, setCommandLifecycleListener, notifyCommandLifecycle, init_commandLifecycle, headlessProfilerStartTurn, headlessProfilerCheckpoint, logHeadlessProfilerTurn, init_headlessProfiler, SLEEP_TOOL_NAME, init_prompt15 as init_prompt11, registerPostSamplingHook, init_postSamplingHooks, clearAllDumpState, getDumpPromptsPath, init_dumpPrompts, createAbortController, init_abortController, getCliHighlightPromise, getLanguageName, init_cliHighlight, logPermissionDecision, init_permissionLogging, PROMPT_PREFIX, createPromptRuleContent, isClassifierPermissionsEnabled, getBashPromptAllowDescriptions, generateGenericDescription, init_bashClassifier, shouldShowAlwaysAllowOptions, getPermissionRulesForSource, init_permissionsLoader, extractRules, hasRules, applyPermissionUpdate, applyPermissionUpdates, supportsPersistence, persistPermissionUpdate, persistPermissionUpdates, init_PermissionUpdate, permissionRuleExtractPrefix, init_shellRuleMatching, setupVscodeSdkMcp, init_vscodeSdkMcp, getRateLimitWarning, getUsingOverageText, currentLimits, getRawUtilization, statusListeners, checkQuotaStatus, init_claudeAiLimits, shouldEnablePromptSuggestion, abortPromptSuggestion, tryGenerateSuggestion, logSuggestionOutcome, logSuggestionSuppressed, init_promptSuggestion, IDLE_SPECULATION_STATE, getDefaultAppState, init_AppStateStore, toArray, fromArray, init_generators, initLangfuse, shutdownLangfuse, init_langfuse, isResultSuccessful, normalizeMessage, handleOrphanedPermission, extractReadFilesFromMessages, extractBashToolsFromMessages, init_queryHelpers, abortSpeculation, handleSpeculationAccept, init_speculation, enqueueSdkEvent, drainSdkEvents, emitTaskTerminatedSdk, init_sdkEventQueue, updateTaskState, evictTerminalTask, getRunningTasks, init_framework, escapeXml, escapeXmlAttr, init_xml2 as init_xml, asSessionId, asAgentId, init_ids, getQuerySourceForREPL, init_promptCategory, mapValues_default, init_mapValues, getRemoteSessionUrl, init_product, DEFAULT_BINDINGS, init_defaultBindings, NON_REBINDABLE, TERMINAL_RESERVED, MACOS_RESERVED, normalizeKeyForComparison, init_reservedShortcuts, isKeybindingCustomizationEnabled, getKeybindingsPath, loadKeybindingsSyncWithWarnings, getCachedKeybindingWarnings, init_loadUserBindings, init_resolver, getShortcutDisplay, init_shortcutFormat, init_KeybindingContext, useShortcutDisplay, init_useShortcutDisplay, isNavigableMessage, toolCallOf, MessageActionsSelectedContext, InVirtualListContext, useMessageActions, MessageActionsBar, stripSystemReminders, init_messageActions, sliceAnsi, init_sliceAnsi, init_prompt16 as init_prompt12, init_useTerminalSize, ListMcpResourcesTool, init_ListMcpResourcesTool, _baseEach_default, init__baseEach, reject_default, init_reject, loadPluginMcpServers, getUnconfiguredChannels, init_mcpPluginIntegration, fetchClaudeAIMcpConfigsIfEligible, clearClaudeAIMcpConfigsCache, hasClaudeAiMcpEverConnected, init_claudeai, getMcpServerSignature, dedupClaudeAiMcpServers, filterMcpServersByPolicy, addMcpConfig, removeMcpConfig, getMcpConfigsByScope, getMcpConfigByName, getClaudeCodeMcpConfigs, getAllMcpConfigs, parseMcpConfig, parseMcpConfigFromFilePath, doesEnterpriseMcpConfigExist, areMcpConfigsAllowedWithEnterpriseMcpConfig, isMcpServerDisabled, setMcpServerEnabled, init_config3 as init_config, filterToolsByServer, commandBelongsToServer, filterMcpPromptsByServer, excludeToolsByServer, excludeCommandsByServer, excludeResourcesByServer, excludeStalePluginClients, isMcpTool, describeMcpConfigFilePath, getScopeLabel, ensureConfigScope, ensureTransport, parseHeaders, getProjectMcpServerStatus, extractAgentMcpServers, init_utils3 as init_utils, isXaaEnabled, getXaaIdpSettings, issuerKey, getCachedIdpIdToken, saveIdpIdTokenFromJwt, clearIdpIdToken, saveIdpClientSecret, getIdpClientSecret, clearIdpClientSecret, acquireIdpIdToken, init_xaaIdpLogin, AuthenticationCancelledError, revokeServerTokens, clearServerTokensFromLocalStorage, performMCPOAuthFlow, ClaudeAuthProvider, readClientSecret, saveMcpClientSecret, clearMcpClientConfig, getMcpClientConfig, init_auth4 as init_auth, TOOL_RESULTS_SUBDIR, processToolResultBlock, provisionContentReplacementState, reconstructContentReplacementState, init_toolResultStorage, ReadMcpResourceTool, init_ReadMcpResourceTool, _baseSlice_default, init__baseSlice, capitalize_default, init_capitalize, isJetBrainsPluginInstalledCachedSync, init_jetbrains, WindowsToWSLConverter, init_idePathConversion, IdeOnboardingDialog, init_IdeOnboardingDialog, isJetBrainsIde, isSupportedVSCodeTerminal, isSupportedJetBrainsTerminal, isSupportedTerminal, getTerminalIdeType, getSortedIdeLockfiles, detectIDEs, hasAccessToIDEExtensionDiffFeature, isCursorInstalled, isWindsurfInstalled, isVSCodeInstalled, detectRunningIDEs, detectRunningIDEsCached, getConnectedIdeName, toIDEDisplayName, getConnectedIdeClient, closeOpenDiffs, initializeIdeIntegration, init_ide, registerElicitationHandler, runElicitationHooks, runElicitationResultHooks, init_elicitationHandler, PASTE_THRESHOLD, getImageFromClipboard, init_imagePaste, cacheImagePath, storeImage, storeImages, clearStoredImagePaths, cleanupOldImageCaches, init_imageStore, ConfigurableShortcutHint, init_ConfigurableShortcutHint, useRegisterOverlay, useIsOverlayActive, useIsModalOverlayActive, init_overlayContext, Select, init_select, getMcpServerConnectionBatchSize, connectToServer, clearServerCache, areMcpConfigsEqual, fetchToolsForClient, fetchResourcesForClient, fetchCommandsForClient, callIdeRpc, reconnectMcpServerImpl, getMcpToolsCommandsAndResources, prefetchAllMcpResources, setupSdkMcpClients, init_client5 as init_client, isLocalShellTask, init_guards, getHookDisplayText, getAllHooks, hookSourceDescriptionDisplayString, hookSourceHeaderDisplayString, hookSourceInlineDisplayString, sortMatchersByPriority, init_hooksSettings, addSessionHook, addFunctionHook, removeSessionHook, init_sessionHooks, getDefaultSubagentModel, getAgentModelDisplay, getAgentModelOptions, init_agent, validateUuid2 as validateUuid, createAgentId, init_uuid, filterToolsForAgent, resolveAgentTools, init_agentToolUtils, useSettings, init_useSettings, applyMarkdown, init_markdown, Markdown, StreamingMarkdown, init_Markdown, isAdvisorBlock, isAdvisorEnabled, canUserConfigureAdvisor, modelSupportsAdvisor, isValidAdvisorModel, getInitialAdvisorSetting, init_advisor, isFullscreenEnvEnabled, isMouseTrackingEnabled, isFullscreenActive, maybeGetTmuxMouseHint, init_fullscreen, checkOpus1mAccess, checkSonnet1mAccess, init_check1mAccess, getUpgradeMessage, init_contextWindowUpgradeCheck, setupGracefulShutdown, gracefulShutdownSync, isShuttingDown, gracefulShutdown, init_gracefulShutdown, getGroveSettings, markGroveNoticeViewed, updateGroveSettings, isQualifiedForGrove, getGroveNoticeConfig, calculateShouldShowGrove, checkGroveForNonInteractive, init_grove, initializePolicyLimitsLoadingPromise, isPolicyLimitsEligible, waitForPolicyLimitsToLoad, isPolicyAllowed, loadPolicyLimits, refreshPolicyLimits, init_policyLimits, initializeRemoteManagedSettingsLoadingPromise, isEligibleForRemoteManagedSettings, waitForRemoteManagedSettingsToLoad, loadRemoteManagedSettings, refreshRemoteManagedSettings, init_remoteManagedSettings, performLogout, clearAuthRelatedCaches, call, init_logout, OAuthService, init_oauth2 as init_oauth, getShellType, init_localInstaller, getNpmDistTags, getGcsDistTags, init_autoUpdater, getCurrentInstallationType, getDoctorDiagnostic, init_doctorDiagnostic, isPidBasedLockingEnabled, getAllLockInfo, cleanupStaleLocks, init_pidLock, checkInstall, installLatest, lockCurrentVersion, cleanupOldVersions, cleanupShellAliases, cleanupNpmInstallations, init_nativeInstaller, getSettingsWithAllErrors, init_allErrors, buildSandboxProperties, buildIDEProperties, buildMcpProperties, buildMemoryDiagnostics, buildSettingSourcesProperties, buildInstallationDiagnostics, buildInstallationHealthDiagnostics, buildAccountProperties, buildAPIProviderProperties, getModelDisplayLabel, init_status, installOAuthTokens, authLogin, authStatus, authLogout, init_auth5 as init_auth1, sendNotification, init_notifier, buildBridgeConnectUrl, getBridgeStatus, buildIdleFooterText, buildActiveFooterText, FAILED_FOOTER_TEXT, init_bridgeStatusUtil, sample_default, init_sample, activityManager, init_activityManager, isInProcessTeammateTask, init_types7 as init_types1, init_ThemedText, TaskListV2, init_TaskListV2, useTasksV2, useTasksV2WithCollapseEffect, init_useTasksV2, getTheme, themeColorToAnsi, init_theme, interpolateColor, toRGBColor, hueToRgb, init_utils4 as init_utils1, ShimmerChar, init_ShimmerChar, SpinnerGlyph, init_SpinnerGlyph, useShimmerAnimation, init_useShimmerAnimation, toInkColor, init_ink, isBackgroundTask, init_types12 as init_types2, prepareAutonomyTurnPrompt, init_autonomyAuthority, markAutonomyRunRunning, markAutonomyRunFailed, finalizeAutonomyRunCompleted, finalizeAutonomyRunFailed, createAutonomyQueuedPrompt, commitAutonomyQueuedPrompt, createProactiveAutonomyCommands, init_autonomyRuns, McpServerConfigForProcessTransportSchema, McpServerStatusSchema, PermissionUpdateSchema, PermissionModeSchema, HookEventSchema, HookInputSchema, SlashCommandSchema, AgentInfoSchema, ModelInfoSchema, AccountInfoSchema, AgentDefinitionSchema, SDKUserMessageSchema, SDKStreamlinedTextMessageSchema, SDKStreamlinedToolUseSummaryMessageSchema, SDKPostTurnSummaryMessageSchema, SDKMessageSchema, FastModeStateSchema, init_coreSchemas, readUnreadMessages, writeToMailbox, markMessagesAsRead, createIdleNotification, isPermissionRequest, isPermissionResponse, isSandboxPermissionRequest, isSandboxPermissionResponse, sendShutdownRequestToMailbox, isShutdownRequest, isPlanApprovalRequest, isShutdownApproved, isPlanApprovalResponse, isTeamPermissionUpdate, createModeSetRequestMessage, isModeSetRequest, getLastPeerDmSummary, init_teammateMailbox, permissionUpdateSchema, init_PermissionUpdateSchema, createPermissionRequest, isSwarmWorker, sendPermissionRequestViaMailbox, sendPermissionResponseViaMailbox, generateSandboxRequestId, sendSandboxPermissionRequestViaMailbox, sendSandboxPermissionResponseViaMailbox, init_permissionSync, registerPermissionCallback, hasPermissionCallback, clearAllPendingCallbacks, processMailboxPermissionResponse, registerSandboxPermissionCallback, hasSandboxPermissionCallback, processSandboxPermissionResponse, init_useSwarmPermissionPoller, registerLeaderToolUseConfirmQueue, getLeaderToolUseConfirmQueue, unregisterLeaderToolUseConfirmQueue, registerLeaderSetToolPermissionContext, unregisterLeaderSetToolPermissionContext, init_leaderPermissionBridge, exports_teammatePromptAddendum, init_teammatePromptAddendum, ensureBackendsRegistered, registerTmuxBackend, registerITermBackend, detectAndGetBackend, getBackendByType, getCachedBackend, getCachedDetectionResult, markInProcessFallback, isInProcessEnabled, getResolvedTeammateMode, getInProcessBackend, getTeammateExecutor, resetBackendDetection, init_registry, InProcessTeammateTask, injectUserMessageToTeammate, findTeammateTaskByAgentId, getAllInProcessTeammateTasks, getRunningTeammatesSorted, exports_InProcessTeammateTask, init_InProcessTeammateTask, getViewedTeammateTask, getActiveAgentForInput, init_selectors, useElapsedTime, init_useElapsedTime, SpinnerWithVerb, BriefIdleStatus, Spinner, init_Spinner2 as init_Spinner, ConsoleOAuthFlow, init_ConsoleOAuthFlow, extraUsage, init_extra_usage, useClaudeAiLimits, init_claudeAiLimitsHook, AssistantThinkingMessage, init_AssistantThinkingMessage, clearClassifierChecking, init_classifierApprovals, SentryErrorBoundary, init_SentryErrorBoundary, FilePathLink, init_FilePathLink, UserBashInputMessage, init_UserBashInputMessage, UserPlanMessage, init_UserPlanMessage, QueuedMessageProvider, init_QueuedMessageContext, UserTextMessage, init_UserTextMessage, diagnosticTracker, init_diagnosticTracking, PrBadge, init_PrBadge, getPillLabel, pillNeedsCta, init_pillLabel, OffscreenFreeze, init_OffscreenFreeze, exports_snipProjection, init_snipProjection, exports_snipCompact, init_snipCompact, hasThinkingContent, Message, init_Message, renderToolUseProgressMessage4 as renderToolUseProgressMessage, init_UI11 as init_UI, recordSkillUsage, getSkillUsageScore, init_skillUsageTracking, buildPluginTelemetryFields, buildPluginCommandTelemetryFields, logPluginsEnabledForSession, classifyPluginCommandError, logPluginLoadErrors, init_pluginTelemetry, exports_MonitorMcpTask, init_MonitorMcpTask, runAgent, init_runAgent, TodoListSchema, init_types10 as init_types3, TodoWriteTool, init_TodoWriteTool, fetchEnvironments, createDefaultCloudEnvironment, init_environments, checkRepoForRemoteAccess, init_preconditions, SelectMulti, init_SelectMulti, init_CustomSelect, TeleportError, init_TeleportError, KeybindingSetup2 as KeybindingSetup, init_KeybindingProviderSetup, clearAllSessions, init_sessionIngress, fileHistoryEnabled, fileHistoryMakeSnapshot, fileHistoryRewind, fileHistoryCanRestore, fileHistoryGetDiffStats, fileHistoryHasAnyChanges, fileHistoryRestoreStateFromLog, copyFileHistoryForResume, init_fileHistory, init_outputsScanner, generateShortWordSlug, init_words, getPlanSlug, setPlanSlug, clearAllPlanSlugs, getPlansDirectory, getPlanFilePath, getPlan, copyPlanForResume, copyPlanForFork, init_plans, captureHooksConfigSnapshot, updateHooksConfigSnapshot, init_hooksConfigSnapshot, setEnvHookNotifier, initializeFileChangedWatcher, init_fileChangedWatcher, loadPluginHooks, clearPluginHookCache, pruneRemovedPluginHooks, resetHotReloadState, getPluginAffectingSettingsSnapshot, setupPluginHookHotReload, init_loadPluginHooks, takeInitialUserMessage, processSessionStartHooks, processSetupHooks, init_sessionStart, deserializeMessages, loadConversationForResume, init_conversationRecovery, downloadSessionFiles, parseFileSpecs, init_filesApi, generateTempFilePath, init_tempfile, validateGitState, processMessagesForTeleportResume, checkOutTeleportedSessionBranch, validateSessionRepository, teleportResumeCodeSession, teleportToRemoteWithErrorHandling, teleportFromSessionsAPI, pollRemoteSessionEvents, teleportToRemote, archiveRemoteSession, init_teleport, checkRemoteAgentEligibility, formatPreconditionError, registerRemoteAgentTask, restoreRemoteAgentTasks, RemoteAgentTask, getRemoteTaskSessionUrl, init_RemoteAgentTask, SkillTool, init_SkillTool, resetAllLSPDiagnosticState, init_LSPDiagnosticRegistry, loadPluginLspServers, init_lspPluginIntegration, getLspServerManager, getInitializationStatus, initializeLspServerManager, reinitializeLspServerManager, shutdownLspServerManager, init_manager2 as init_manager, parseArguments, generateProgressiveArgumentHint, init_argumentSubstitution, clearPendingHint, markShownThisSession, subscribeToPendingHint, getPendingHintSnapshot, init_claudeCodeHints, isPluginBlockedByPolicy, init_pluginPolicy, resolvePluginHint, markHintPluginShown, disableHintRecommendations, init_hintRecommendation, CircularBuffer, init_CircularBuffer, validateBoundedIntEnvVar, init_envValidation, BASH_MAX_OUTPUT_UPPER_LIMIT, BASH_MAX_OUTPUT_DEFAULT, init_outputLimits, clearSessionEnvVars, init_sessionEnvVars, exec, setCwd, init_Shell, ShellProgressMessage, init_ShellProgressMessage, parseSedEditCommand, applySedSubstitution, init_sedEditParser, parsePowerShellCommandCached, getAllCommands2 as getAllCommands, init_parser3 as init_parser, isAllowlistedCommand, init_readOnlyValidation2 as init_readOnlyValidation, NEVER_SUGGEST, init_dangerousCmdlets, PowerShellTool, exports_PowerShellTool, init_PowerShellTool, getSkillsPath, estimateSkillFrontmatterTokens, clearSkillCaches, onDynamicSkillsLoaded, clearDynamicSkills, init_loadSkillsDir, getStoredSessionCosts, restoreCostStateForSession, saveCurrentSessionCosts, formatCost, formatTotalCost, addToTotalSessionCost, init_cost_tracker, CONTEXT_LINES, adjustHunkLineNumbers, getPatchFromContents, getPatchForDisplay, init_diff, fetchGitDiff, fetchGitDiffHunks, init_gitDiff, getColorModuleUnavailableReason, getSyntaxTheme2 as getSyntaxTheme, init_colorDiff, HighlightedCode, init_HighlightedCode, StructuredDiff, init_StructuredDiff, StructuredDiffList, init_StructuredDiffList, CHUNK_SIZE, openForScan, scanForContext, readCapped, init_readEditContext, findActualString, preserveQuoteStyle, getPatchForEdits, getEditsForPatch, init_utils2, FileEditTool, init_FileEditTool, FileWriteTool, init_FileWriteTool, getGlobExclusionsForPluginCache, clearPluginCacheExclusions, init_orphanedPluginFilter, GrepTool, init_GrepTool, GlobTool, init_GlobTool, parseCellId, init_notebook, NotebookEditTool, init_NotebookEditTool, clearWebFetchCache, MAX_MARKDOWN_LENGTH, isPreapprovedUrl, validateURL, checkDomainBlocklist, isPermittedRedirect, getWithPermittedRedirects, getURLMarkdownContent, applyPromptToMarkdown, init_utils7 as init_utils3, WebFetchTool, init_WebFetchTool, listSessionsImpl, init_listSessionsImpl, readLastConsolidatedAt, recordConsolidation, init_consolidationLock, DreamTask, init_DreamTask, exports_LocalWorkflowTask, init_LocalWorkflowTask, stopTask, init_stopTask, TaskStopTool, init_TaskStopTool, exports_BriefTool, init_BriefTool, TASK_MAX_OUTPUT_UPPER_LIMIT, TASK_MAX_OUTPUT_DEFAULT, init_outputFormatting, TaskOutputTool, init_TaskOutputTool, WebSearchTool, init_WebSearchTool, findInProcessTeammateTaskId, handlePlanApprovalResponse, init_inProcessTeammateHelpers, ExitPlanModeV2Tool, init_ExitPlanModeV2Tool, AskUserQuestionTool, init_AskUserQuestionTool, init_prompt27 as init_prompt13, isPlanModeInterviewPhaseEnabled, getPewterLedgerVariant, init_planModeV2, EnterPlanModeTool, init_EnterPlanModeTool, getModelOptions, init_modelOptions, validateModel, init_validateModel, isProactiveActive, isProactivePaused, isContextBlocked, setNextTickAt, shouldTick, exports_proactive, init_proactive, REMOTE_TRIGGER_TOOL_NAME, init_prompt36 as init_prompt14, exports_MonitorTool, init_MonitorTool, isBgSession, registerSession, updateSessionName, updateSessionBridgeId, updateSessionActivity, countConcurrentSessions, init_concurrentSessions, init_replBridgeHandle, startBackgroundSession, init_LocalMainSessionTask, buildEffectiveSystemPrompt, init_systemPrompt, resumeAgentBackground, init_resumeAgent, exports_WorkflowTool, init_WorkflowTool, getAllBaseTools, filterToolsByDenyRules, getTools, assembleToolPool, init_tools2 as init_tools1, getHardcodedTeammateModelFallback, init_teammateModel, AgentTool, init_AgentTool, isAutoManagedMemoryFile, init_memoryFileDetection, getToolSearchOrReadInfo, getToolUseIdsFromCollapsedGroup, hasAnyToolInProgress, getDisplayMessageFromCollapsed, collapseReadSearchGroups, summarizeRecentActivities, init_collapseReadSearch, isLocalAgentTask, isPanelAgentTask, queuePendingMessage, appendMessageToLocalAgent, LocalAgentTask, killAllRunningAgentTasks, markAgentsNotified, init_LocalAgentTask, BACKGROUND_BASH_SUMMARY_PREFIX, LocalShellTask, hasForegroundTasks, backgroundAll, init_LocalShellTask, isMemoryFileAccess, registerSessionFileAccessHooks, init_sessionFileAccessHooks, BashTool, init_BashTool, getSimpleCommandPrefix, getFirstWordPrefix, clearSpeculativeChecks, init_bashPermissions, Stream, init_stream2 as init_stream, getErrorParts, init_toolErrors, startQueryProfile, queryCheckpoint, logQueryProfileReport, init_queryProfiler, isAutoDreamEnabled, init_config5 as init_config1, init_readFileInRange, exports_extractMemories, init_extractMemories, buildConsolidationPrompt, init_consolidationPrompt, initAutoDream, init_autoDream, parseTokenBudget, findTokenBudgetPositions, init_tokenBudget, exports_contextCollapse, init_contextCollapse, query, init_query, getLastCacheSafeParams, createCacheSafeParams, prepareForkedCommandContext, extractResultText, createSubagentContext, runForkedAgent, init_forkedAgent, logPermissionContextForAnts, init_internalLogging, ERROR_MESSAGE_NOT_ENOUGH_MESSAGES, ERROR_MESSAGE_USER_ABORT, ERROR_MESSAGE_INCOMPLETE_RESPONSE, buildPostCompactMessages, mergeHookInstructions, compactConversation, partialCompactConversation, init_compact, runPostCompactCleanup, init_postCompactCleanup, loadSessionMemoryTemplate, buildSessionMemoryUpdatePrompt, init_prompts, shouldUseSessionMemoryCompaction, trySessionMemoryCompaction, init_sessionMemoryCompact, getEffectiveContextWindowSize, calculateTokenWarningState, isAutoCompactEnabled, init_autoCompact, countMcpToolTokens, analyzeContextUsage, init_analyzeContext, zodToJsonSchema, init_zodToJsonSchema, getAutoToolSearchCharThreshold, getToolSearchMode, modelSupportsToolReference, isToolSearchEnabledOptimistic, isToolSearchToolAvailable, isToolSearchEnabled, isToolReferenceBlock, extractDiscoveredToolNames, isDeferredToolsDeltaEnabled, getDeferredToolsDelta, init_toolSearch, roughTokenCountEstimation, init_tokenEstimation, registerFileReadListener, FileReadTool, init_FileReadTool, isValidImagePaste, init_textInputTypes, registerHookEventHandler, setAllHookEventsEnabled, init_hookEvents, finalizePendingAsyncHooks, init_AsyncHookRegistry, isHumanTurn, init_messagePredicates, getQueuedCommandAttachments, resetSentSkillNames, getAttachmentMessages, createAttachmentMessage, init_attachments2 as init_attachments, getPluginCommands, init_loadPluginCommands, isPluginZipCacheEnabled, getPluginZipCachePath, getZipCacheKnownMarketplacesPath, getZipCacheMarketplacesDir, getZipCachePluginsDir, cleanupSessionPluginCache, atomicWriteToZipCache, getMarketplaceJsonRelativePath, isMarketplaceSourceSupportedByZipCache, init_zipCache, clearAllCaches, markPluginVersionOrphaned, cleanupOrphanedPluginVersionsInBackground, init_cacheUtils, formatFailureDetails, getMarketplaceSourceDisplay, createPluginId, loadMarketplacesWithGracefulDegradation, formatMarketplaceLoadingErrors, getPluginTrustMessage, isSourceAllowedByPolicy, detectEmptyMarketplaceReason, init_marketplaceHelpers, fetchOfficialMarketplaceFromGcs, init_officialMarketplaceGcs, getMarketplacesCacheDir, clearMarketplacesCache, getDeclaredMarketplaces, saveMarketplaceToSettings, loadKnownMarketplacesConfig, loadKnownMarketplacesConfigSafe, saveKnownMarketplacesConfig, registerSeedMarketplaces, addMarketplaceSource, removeMarketplaceSource, getMarketplace, getPluginById, refreshAllMarketplaces, refreshMarketplace, setMarketplaceAutoUpdate, init_marketplaceManager, loadInstalledPluginsV2, removePluginInstallation, getInMemoryInstalledPlugins, loadInstalledPluginsFromDisk, updateInstallationPathOnDisk, initializeVersionedPlugins, isInstallationRelevantToCurrentProject, isPluginInstalled, isPluginGloballyInstalled, migrateFromEnabledPlugins, init_installedPluginsManager, getManagedPluginNames, init_managedPlugins, calculatePluginVersion, init_pluginVersioning, cacheAndRegisterPlugin, registerPluginInstallation, formatResolutionError, installResolvedPlugin, installPluginFromMarketplace, init_pluginInstallationHelpers, getVersionedCachePath, getVersionedZipCachePath, copyPluginToVersionedCache, cachePlugin, loadPluginManifest, loadAllPlugins, loadAllPluginsCacheOnly, clearPluginCache, init_pluginLoader, DEFAULT_OUTPUT_STYLE_NAME, OUTPUT_STYLE_CONFIG, getAllOutputStyles, init_outputStyles, withMemoryCorrectionHint, INTERRUPT_MESSAGE, INTERRUPT_MESSAGE_FOR_TOOL_USE, REJECT_MESSAGE, REJECT_MESSAGE_WITH_REASON_PREFIX, SUBAGENT_REJECT_MESSAGE, SUBAGENT_REJECT_MESSAGE_WITH_REASON_PREFIX, SYNTHETIC_MODEL, SYNTHETIC_MESSAGES, isSyntheticMessage, getLastAssistantMessage, hasToolCallsInLastAssistantTurn, createAssistantMessage, createAssistantAPIErrorMessage, createUserMessage, prepareUserContent, createUserInterruptionMessage, createSyntheticUserCaveatMessage, formatCommandInputTags, createModelSwitchBreadcrumbs, extractTag, isNotEmptyMessage, deriveUUID, normalizeMessages, isToolUseResultMessage, reorderMessagesInUI, buildMessageLookups, EMPTY_LOOKUPS, EMPTY_STRING_SET, getSiblingToolUseIDsFromLookup, getProgressMessagesFromLookup, hasUnresolvedHooksFromLookup, getToolUseIDs, isSystemLocalCommandMessage, normalizeMessagesForAPI, normalizeContentFromAPI, isEmptyMessageText, stripPromptXMLTags, getToolUseID, getAssistantMessageText, getUserMessageText, textForResubmit, extractTextContent, getContentText, handleMessageFromStream, createSystemMessage, createPermissionRetryMessage, createScheduledTaskFireMessage, createTurnDurationMessage, createAwaySummaryMessage, createAgentsKilledMessage, createApiMetricsMessage, createCommandInputMessage, isCompactBoundaryMessage, getMessagesAfterCompactBoundary, shouldShowUserMessage, countToolCalls, stripSignatureBlocks, init_messages2 as init_messages1, startsWithApiErrorPrefix, categorizeRetryableAPIError, init_errors6 as init_errors, splitCommand_DEPRECATED, clearCommandPrefixCaches, extractOutputRedirections, init_commands, shouldUseSandbox, init_shouldUseSandbox, permissionRuleSourceDisplayString, getAllowRules, getDenyRules, getAskRules, hasPermissionsToUseTool, deletePermissionRule, init_permissions2 as init_permissions, removeDangerousPermissions, transitionPermissionMode, initialPermissionModeFromCLI, parseToolListFromCLI, initializeToolPermissionContext, getAutoModeUnavailableNotification, shouldDisableBypassPermissions, getAutoModeUnavailableReason, isBypassPermissionsModeDisabled, createDisabledBypassPermissionsContext, checkAndDisableBypassPermissions, prepareContextForPlanMode, transitionPlanAutoMode, init_permissionSetup, applySettingsChange, init_applySettingsChange, AppStateProvider, useAppState, useSetAppState, useAppStateStore, init_AppState, useNotifications, init_notifications, useClipboardImageHint, init_useClipboardImageHint, prependModeCharacterToInput, getModeFromInput, getValueFromInput, init_inputModes, cleanupOldPastes, init_pasteStore, getPastedTextRefNumLines, formatPastedTextRef, formatImageRef, parseReferences, expandPastedTextRefs, makeHistoryReader, getHistory, addToHistory, removeLastFromHistory, init_history, pushToKillRing, getLastKill, resetKillAccumulation, recordYank, yankPop, updateYankLength, resetYankState, isVimWordChar, isVimWhitespace, isVimPunctuation, Cursor, init_Cursor, useTextInput, init_useTextInput, BaseTextInput, init_BaseTextInput, TextInput, init_TextInput, getWorktreePaths, init_getWorktreePaths, isUltrareviewEnabled, init_ultrareviewEnabled, review_default, init_review, DEFAULT_SESSION_TIMEOUT_MS, BRIDGE_LOGIN_ERROR, init_types15 as init_types4, getPromptIdentifier, getDialogConfig, init_prompt42 as init_prompt15, CCR_TERMS_URL2 as CCR_TERMS_URL, stopUltraplan, launchUltraplan, init_ultraplan, validateBridgeId, BridgeFatalError, createBridgeApiClient, isExpiredErrorType, isSuppressible403, init_bridgeApi, registerBridgeDebugHandle, clearBridgeDebugHandle, injectBridgeFault, wrapApiForFaultInjection, init_bridgeDebug, SAFE_ENV_VARS3 as SAFE_ENV_VARS, init_managedEnvConstants, applySafeConfigEnvironmentVariables, applyConfigEnvironmentVariables, init_managedEnv, registerBundledSkill, init_bundledSkills, exit_default, init_exit, upgrade_default, init_upgrade, getCommandName, isCommandEnabled, INTERNAL_ONLY_COMMANDS, builtInCommandNames, getCommands, clearCommandMemoizationCaches, clearCommandsCache, getSkillToolCommands, getSlashCommandToolSkills, REMOTE_SAFE_COMMANDS, isBridgeSafeCommand, filterCommandsForRemoteMode, findCommand, hasCommand, getCommand, formatDescriptionWithSource, init_commands2 as init_commands1, isTranscriptMessage, isChainParticipant, isEphemeralToolProgress, getProjectsDir2 as getProjectsDir, getTranscriptPath, getTranscriptPathForSession, MAX_TRANSCRIPT_READ_BYTES, setAgentTranscriptSubdir, clearAgentTranscriptSubdir, getAgentTranscriptPath, writeAgentMetadata, readAgentMetadata, writeRemoteAgentMetadata, readRemoteAgentMetadata, deleteRemoteAgentMetadata, listRemoteAgentMetadata, sessionIdExists, getNodeEnv, getUserType, isCustomTitleEnabled, getProjectDir, resetProjectFlushStateForTesting, resetProjectForTesting, setSessionFileForTesting, setInternalEventWriter, setInternalEventReader, setRemoteIngressUrlForTesting, recordTranscript, recordSidechainTranscript, recordQueueOperation, removeTranscriptMessage, recordFileHistorySnapshot, recordAttributionSnapshot, recordContentReplacement, resetSessionFilePointer, adoptResumedSessionFile, recordContextCollapseCommit, recordContextCollapseSnapshot, flushSessionStorage, hydrateRemoteSession, hydrateFromCCRv2InternalEvents, getFirstMeaningfulUserMessageTextContent, removeExtraFields, buildConversationChain, checkResumeConsistency, loadTranscriptFromFile, fetchLogs, saveCustomTitle, saveAiGeneratedTitle, saveTaskSummary, saveTag, linkSessionToPR, getCurrentSessionTag, getCurrentSessionTitle, getCurrentSessionAgentColor, restoreSessionMetadata, clearSessionMetadata, reAppendSessionMetadata, saveAgentName, saveAgentColor, saveAgentSetting, cacheSessionTitle, saveMode, saveWorktreeState, getSessionIdFromLog, isLiteLog, loadFullLog, searchSessionsByCustomTitle, loadTranscriptFile, clearSessionMessagesCache, doesMessageExistInSession, getLastSessionLog, loadMessageLogs, loadAllProjectsMessageLogs, loadAllProjectsMessageLogsProgressive, loadSameRepoMessageLogs, loadSameRepoMessageLogsProgressive, getAgentTranscript, extractAgentIdsFromMessages, extractTeammateTranscriptsFromTasks, loadSubagentTranscripts, loadAllSubagentTranscriptsFromDisk, isLoggableMessage, cleanMessagesForLogging, getLogByIndex, findUnresolvedToolUse, getSessionFilesWithMtime, loadAllLogsFromSessionFile, getSessionFilesLite, enrichLogs, exports_sessionStorage, init_sessionStorage, loadMemoryPrompt, init_memdir, getAgentMemoryDir, getMemoryScopeDisplay, loadAgentMemoryPrompt, init_agentMemory, normalizeCaseForComparison2 as normalizeCaseForComparison, getSessionMemoryDir, getSessionMemoryPath, isScratchpadEnabled, getScratchpadDir, ensureScratchpadDir, pathInAllowedWorkingPath, generateSuggestions, init_filesystem, getTaskOutputPath, evictTaskOutput, initTaskOutputAsSymlink, init_diskOutput, isTerminalTaskStatus, init_Task, hookJSONOutputSchema, init_hooks2 as init_hooks, createCombinedAbortSignal, init_combinedAbortSignal, registerStructuredOutputEnforcement, init_hookHelpers, getSessionEndHookTimeoutMs, shouldSkipHookDueToTrust, createBaseHookInput, getMatchingHooks, getPreToolHookBlockingMessage, getStopHookMessage, getTeammateIdleHookMessage, getTaskCreatedHookMessage, getTaskCompletedHookMessage, getUserPromptSubmitHookBlockingMessage, hasBlockingResult, executePreToolHooks, executePostToolHooks, executePostToolUseFailureHooks, executePermissionDeniedHooks2 as executePermissionDeniedHooks, executeNotificationHooks, executeStopFailureHooks, executeStopHooks, executeTeammateIdleHooks, executeTaskCreatedHooks, executeTaskCompletedHooks, executeUserPromptSubmitHooks, executeSessionStartHooks, executeSetupHooks, executeSubagentStartHooks, executePreCompactHooks, executePostCompactHooks, executeSessionEndHooks, executePermissionRequestHooks, executeConfigChangeHooks, executeCwdChangedHooks, executeFileChangedHooks, hasInstructionsLoadedHook, executeInstructionsLoadedHooks, executeElicitationHooks, executeElicitationResultHooks, executeStatusLineCommand, executeFileSuggestionCommand, hasWorktreeCreateHook, executeWorktreeCreateHook, executeWorktreeRemoveHook, init_hooks3 as init_hooks1, validateWorktreeSlug, getCurrentWorktreeSession, restoreWorktreeSession, generateTmuxSessionName, worktreeBranchName, copyWorktreeIncludeFiles, parsePRReference, isTmuxAvailable2 as isTmuxAvailable, getTmuxInstallInstructions, createTmuxSessionForWorktree, killTmuxSession, createWorktreeForSession, keepWorktree, cleanupWorktree, createAgentWorktree, removeAgentWorktree, cleanupStaleAgentWorktrees, hasWorktreeChanges, execIntoTmuxWorktree, init_worktree, getSystemPrompt, init_prompts3 as init_prompts1, toolToAPISchema, prependUserContext, logContextMetrics, init_api3 as init_api, verifyApiKey, queryModelWithoutStreaming, updateUsage, accumulateUsage, queryHaiku, queryWithModel, init_claude, sideQuery, init_sideQuery };
|
|
186103
|
+
export { getEmptyToolPermissionContext, toolMatchesName, findToolByName, init_Tool, BASH_TOOL_NAME, init_toolName, GREP_TOOL_NAME, init_prompt4 as init_prompt, FILE_EDIT_TOOL_NAME, CLAUDE_FOLDER_PERMISSION_PATTERN, GLOBAL_CLAUDE_FOLDER_PERMISSION_PATTERN, init_constants5 as init_constants, FILE_READ_TOOL_NAME, init_prompt5 as init_prompt1, init_prompt6 as init_prompt2, init_prompt7 as init_prompt3, init_constants6 as init_constants1, MessageResponse, init_MessageResponse, validateDirectoryForWorkspace, addDirHelpMessage, init_validation2 as init_validation, createStore, init_store, useVoiceState, useSetVoiceState, useGetVoiceState, init_voice, useMailbox, init_mailbox2 as init_mailbox, initialize3 as initialize, dispose2 as dispose, subscribe2 as subscribe, notifyChange, resetForTesting, settingsChangeDetector, init_changeDetector, useSettingsChange, init_useSettingsChange, last_default, init_last, duck, goose, blob, cat, dragon, octopus, owl, penguin, turtle, snail, ghost, axolotl, capybara, cactus, robot, rabbit, mushroom, chonk, init_types6 as init_types, getCompanion, init_companion, NO_CONTENT_MESSAGE, init_messages, parseYaml, init_yaml, FRONTMATTER_REGEX, parseFrontmatter, init_frontmatterParser, ripGrep2 as ripGrep, countFilesRoundedRg, init_ripgrep2 as init_ripgrep, isRestrictedToPluginOnly, isSourceAdminTrusted, init_pluginOnlyPolicy, CLAUDE_CONFIG_DIRECTORIES, extractDescriptionFromMarkdown, getProjectDirsUpToHome, loadMarkdownFilesForSubdir, init_markdownConfigLoader, getPluginErrorMessage, init_plugin, isBuiltinPluginId, getBuiltinPluginDefinition, init_builtinPlugins, getAddDirEnabledPlugins, init_addDirPluginSettings, findReverseDependents, formatReverseDependentsSuffix, init_dependencyResolver, OFFICIAL_MARKETPLACE_SOURCE, OFFICIAL_MARKETPLACE_NAME, init_officialMarketplace, logPluginFetch, classifyFetchError, init_fetchTelemetry, checkGitAvailable, markGitUnavailable, init_gitAvailability, SandboxViolationStore, SandboxRuntimeConfigSchema, WEB_FETCH_TOOL_NAME, init_prompt10 as init_prompt4, resolvePathPatternForSandbox, resolveSandboxFilesystemPath, shouldAllowManagedSandboxDomainsOnly, convertToSandboxRuntimeConfig, addToExcludedCommands, SandboxManager2 as SandboxManager, init_sandbox_adapter, getPluginsDirectory, getPluginSeedDirs, pluginDataDirPath, getPluginDataDirSize, deletePluginDataDir, init_pluginDirectories, isUltrathinkEnabled, findThinkingTriggerPositions, getRainbowColor, modelSupportsAdaptiveThinking, shouldEnableThinkingByDefault, init_thinking, EFFORT_LEVELS, modelSupportsEffort, modelSupportsMaxEffort, isEffortLevel, parseEffortValue, toPersistableEffort, getInitialEffortSetting, resolvePickerEffortPersistence, getEffortEnvOverride, resolveAppliedEffort, getDisplayedEffortLevel, getEffortSuffix, convertEffortValueToLevel, getEffortValueDescription, getOpusDefaultEffortConfig, getDefaultEffortForModel, init_effort, isMcpbSource, loadMcpServerUserConfig, saveMcpServerUserConfig, loadMcpbFile, init_mcpbHandler, loadPluginOptions, savePluginOptions, deletePluginOptions, getUnconfiguredOptions, init_pluginOptionsStorage, loadPluginAgents, init_loadPluginAgents, AGENT_COLORS, AGENT_COLOR_TO_THEME_COLOR, getAgentColor, setAgentColor, init_agentColorManager, getSessionStartDate, init_common3 as init_common, init_prompt11 as init_prompt5, CLAUDE_CODE_GUIDE_AGENT_TYPE, init_claudeCodeGuideAgent, EXIT_PLAN_MODE_TOOL_NAME, EXIT_PLAN_MODE_V2_TOOL_NAME, init_constants11 as init_constants2, ENTER_PLAN_MODE_TOOL_NAME, init_constants13 as init_constants3, ASK_USER_QUESTION_TOOL_NAME, init_prompt9 as init_prompt6, TODO_WRITE_TOOL_NAME, init_constants8 as init_constants4, POWERSHELL_TOOL_NAME, init_toolName2 as init_toolName1, SHELL_TOOL_NAMES, isPowerShellToolEnabled, init_shellToolUtils, SKILL_TOOL_NAME, init_constants10 as init_constants5, TOOL_SEARCH_TOOL_NAME, exports_prompt2 as exports_prompt, init_prompt12 as init_prompt7, SYNTHETIC_OUTPUT_TOOL_NAME, isSyntheticOutputToolEnabled, createSyntheticOutputTool, init_SyntheticOutputTool, TEAM_CREATE_TOOL_NAME, init_constants18 as init_constants6, isCoordinatorMode, exports_coordinatorMode, init_coordinatorMode, isInForkChild, init_forkSubagent, isDeferredTool, formatDeferredToolLine, getPrompt, init_prompt13 as init_prompt8, cronToHuman, init_cron, getCronFilePath, readCronTasks, hasCronTasksSync, removeCronTasks, markCronTasksFired, DEFAULT_CRON_JITTER_CONFIG, jitteredNextCronRunMs, oneShotJitteredNextCronRunMs, findMissedTasks, init_cronTasks, DEFAULT_MAX_AGE_DAYS, isKairosCronEnabled, CRON_CREATE_TOOL_NAME, CRON_DELETE_TOOL_NAME, CRON_LIST_TOOL_NAME, exports_prompt3 as exports_prompt1, init_prompt14 as init_prompt9, COORDINATOR_MODE_ALLOWED_TOOLS, init_tools, isBuiltInAgent, isCustomAgent, isPluginAgent, getActiveAgentsFromList, hasRequiredMcpServers, filterAgentsByMcpRequirements, getAgentDefinitionsWithOverrides, clearAgentDefinitionsCache, parseAgentFromJson, parseAgentsFromJson, parseAgentFromMarkdown, exports_loadAgentsDir, init_loadAgentsDir, SKILL_BUDGET_CONTEXT_PERCENT, CHARS_PER_TOKEN, DEFAULT_CHAR_BUDGET, MAX_LISTING_DESC_CHARS, getCharBudget, formatCommandsWithinBudget, getPrompt2 as getPrompt1, getSkillToolInfo, getLimitedSkillToolCommands, clearPromptCache, getSkillInfo, init_prompt18 as init_prompt10, diffLines, init_libesm, notifyCompaction, resetPromptCacheBreakDetection, init_promptCacheBreakDetection, compactWarningStore, suppressCompactWarning, init_compactWarningState, resetMicrocompactState, microcompactMessages, init_microCompact, g, init_marked_esm, MAX_MEMORY_CHARACTER_COUNT, getMemoryFiles, clearMemoryFileCaches, resetGetMemoryFilesCache, getLargeMemoryFiles, getExternalClaudeMdIncludes, hasExternalClaudeMdIncludes, shouldShowClaudeMdExternalIncludesWarning, init_claudemd, setSystemPromptInjection, getGitStatus, getSystemContext, getUserContext, init_context2 as init_context, getTokenUsage, tokenCountFromLastAPIResponse, getCurrentUsage, doesMostRecentAssistantMessageExceed200k, getAssistantMessageContentLength, tokenCountWithEstimation, init_tokens, DEFAULT_SESSION_MEMORY_CONFIG, setLastSummarizedMessageId, markExtractionStarted, markExtractionCompleted, getSessionMemoryContent, setSessionMemoryConfig, getSessionMemoryConfig, recordExtractionTokenCount, isSessionMemoryInitialized, markSessionMemoryInitialized, hasMetInitializationThreshold, hasMetUpdateThreshold, getToolCallsBetweenUpdates, init_sessionMemoryUtils, uniqBy_default, init_uniqBy, inputSchema13 as inputSchema, outputSchema12 as outputSchema, clearToolSearchDescriptionCache, ToolSearchTool, init_ToolSearchTool, init_withRetry, maybeResizeAndDownsampleImageBlock, detectImageFormatFromBase64, createImageMetadataText, init_imageResizer, init_systemPromptType, subscribeToCommandQueue, getCommandQueueSnapshot, getCommandQueue, getCommandQueueLength, hasCommandsInQueue, enqueue, enqueuePendingNotification, dequeue, peek, dequeueAllMatching, removeByFilter, clearCommandQueue, isQueuedCommandEditable, isQueuedCommandVisible, popAllEditable, getCommandsByMaxPriority, init_messageQueueManager, setCommandLifecycleListener, notifyCommandLifecycle, init_commandLifecycle, headlessProfilerStartTurn, headlessProfilerCheckpoint, logHeadlessProfilerTurn, init_headlessProfiler, SLEEP_TOOL_NAME, init_prompt15 as init_prompt11, registerPostSamplingHook, init_postSamplingHooks, clearAllDumpState, getDumpPromptsPath, init_dumpPrompts, createAbortController, init_abortController, getCliHighlightPromise, getLanguageName, init_cliHighlight, logPermissionDecision, init_permissionLogging, PROMPT_PREFIX, createPromptRuleContent, isClassifierPermissionsEnabled, getBashPromptAllowDescriptions, generateGenericDescription, init_bashClassifier, shouldShowAlwaysAllowOptions, getPermissionRulesForSource, init_permissionsLoader, extractRules, hasRules, applyPermissionUpdate, applyPermissionUpdates, supportsPersistence, persistPermissionUpdate, persistPermissionUpdates, init_PermissionUpdate, permissionRuleExtractPrefix, init_shellRuleMatching, setupVscodeSdkMcp, init_vscodeSdkMcp, getRateLimitWarning, getUsingOverageText, currentLimits, getRawUtilization, statusListeners, checkQuotaStatus, init_claudeAiLimits, shouldEnablePromptSuggestion, abortPromptSuggestion, tryGenerateSuggestion, logSuggestionOutcome, logSuggestionSuppressed, init_promptSuggestion, IDLE_SPECULATION_STATE, getDefaultAppState, init_AppStateStore, toArray, fromArray, init_generators, initLangfuse, shutdownLangfuse, init_langfuse, isResultSuccessful, normalizeMessage, handleOrphanedPermission, extractReadFilesFromMessages, extractBashToolsFromMessages, init_queryHelpers, abortSpeculation, handleSpeculationAccept, init_speculation, updateTaskState, evictTerminalTask, getRunningTasks, init_framework, escapeXml, escapeXmlAttr, init_xml2 as init_xml, asSessionId, asAgentId, init_ids, getQuerySourceForREPL, init_promptCategory, mapValues_default, init_mapValues, getRemoteSessionUrl, init_product, DEFAULT_BINDINGS, init_defaultBindings, NON_REBINDABLE, TERMINAL_RESERVED, MACOS_RESERVED, normalizeKeyForComparison, init_reservedShortcuts, isKeybindingCustomizationEnabled, getKeybindingsPath, loadKeybindingsSyncWithWarnings, getCachedKeybindingWarnings, init_loadUserBindings, init_resolver, getShortcutDisplay, init_shortcutFormat, init_KeybindingContext, useShortcutDisplay, init_useShortcutDisplay, isNavigableMessage, toolCallOf, MessageActionsSelectedContext, InVirtualListContext, useMessageActions, MessageActionsBar, stripSystemReminders, init_messageActions, sliceAnsi, init_sliceAnsi, init_prompt16 as init_prompt12, init_useTerminalSize, ListMcpResourcesTool, init_ListMcpResourcesTool, _baseEach_default, init__baseEach, reject_default, init_reject, loadPluginMcpServers, getUnconfiguredChannels, init_mcpPluginIntegration, fetchClaudeAIMcpConfigsIfEligible, clearClaudeAIMcpConfigsCache, hasClaudeAiMcpEverConnected, init_claudeai, getMcpServerSignature, dedupClaudeAiMcpServers, filterMcpServersByPolicy, addMcpConfig, removeMcpConfig, getMcpConfigsByScope, getMcpConfigByName, getClaudeCodeMcpConfigs, getAllMcpConfigs, parseMcpConfig, parseMcpConfigFromFilePath, doesEnterpriseMcpConfigExist, areMcpConfigsAllowedWithEnterpriseMcpConfig, isMcpServerDisabled, setMcpServerEnabled, init_config3 as init_config, filterToolsByServer, commandBelongsToServer, filterMcpPromptsByServer, excludeToolsByServer, excludeCommandsByServer, excludeResourcesByServer, excludeStalePluginClients, isMcpTool, describeMcpConfigFilePath, getScopeLabel, ensureConfigScope, ensureTransport, parseHeaders, getProjectMcpServerStatus, extractAgentMcpServers, init_utils3 as init_utils, isXaaEnabled, getXaaIdpSettings, issuerKey, getCachedIdpIdToken, saveIdpIdTokenFromJwt, clearIdpIdToken, saveIdpClientSecret, getIdpClientSecret, clearIdpClientSecret, acquireIdpIdToken, init_xaaIdpLogin, AuthenticationCancelledError, revokeServerTokens, clearServerTokensFromLocalStorage, performMCPOAuthFlow, ClaudeAuthProvider, readClientSecret, saveMcpClientSecret, clearMcpClientConfig, getMcpClientConfig, init_auth4 as init_auth, TOOL_RESULTS_SUBDIR, processToolResultBlock, provisionContentReplacementState, reconstructContentReplacementState, init_toolResultStorage, ReadMcpResourceTool, init_ReadMcpResourceTool, _baseSlice_default, init__baseSlice, capitalize_default, init_capitalize, isJetBrainsPluginInstalledCachedSync, init_jetbrains, WindowsToWSLConverter, init_idePathConversion, IdeOnboardingDialog, init_IdeOnboardingDialog, isJetBrainsIde, isSupportedVSCodeTerminal, isSupportedJetBrainsTerminal, isSupportedTerminal, getTerminalIdeType, getSortedIdeLockfiles, detectIDEs, hasAccessToIDEExtensionDiffFeature, isCursorInstalled, isWindsurfInstalled, isVSCodeInstalled, detectRunningIDEs, detectRunningIDEsCached, getConnectedIdeName, toIDEDisplayName, getConnectedIdeClient, closeOpenDiffs, initializeIdeIntegration, init_ide, registerElicitationHandler, runElicitationHooks, runElicitationResultHooks, init_elicitationHandler, PASTE_THRESHOLD, getImageFromClipboard, init_imagePaste, cacheImagePath, storeImage, storeImages, clearStoredImagePaths, cleanupOldImageCaches, init_imageStore, ConfigurableShortcutHint, init_ConfigurableShortcutHint, useRegisterOverlay, useIsOverlayActive, useIsModalOverlayActive, init_overlayContext, Select, init_select, getMcpServerConnectionBatchSize, connectToServer, clearServerCache, areMcpConfigsEqual, fetchToolsForClient, fetchResourcesForClient, fetchCommandsForClient, callIdeRpc, reconnectMcpServerImpl, getMcpToolsCommandsAndResources, prefetchAllMcpResources, setupSdkMcpClients, init_client5 as init_client, isLocalShellTask, init_guards, getHookDisplayText, getAllHooks, hookSourceDescriptionDisplayString, hookSourceHeaderDisplayString, hookSourceInlineDisplayString, sortMatchersByPriority, init_hooksSettings, addSessionHook, addFunctionHook, removeSessionHook, init_sessionHooks, getDefaultSubagentModel, getAgentModelDisplay, getAgentModelOptions, init_agent, validateUuid2 as validateUuid, createAgentId, init_uuid, filterToolsForAgent, resolveAgentTools, init_agentToolUtils, useSettings, init_useSettings, applyMarkdown, init_markdown, Markdown, StreamingMarkdown, init_Markdown, isAdvisorBlock, isAdvisorEnabled, canUserConfigureAdvisor, modelSupportsAdvisor, isValidAdvisorModel, getInitialAdvisorSetting, init_advisor, isFullscreenEnvEnabled, isMouseTrackingEnabled, isFullscreenActive, maybeGetTmuxMouseHint, init_fullscreen, checkOpus1mAccess, checkSonnet1mAccess, init_check1mAccess, getUpgradeMessage, init_contextWindowUpgradeCheck, setupGracefulShutdown, gracefulShutdownSync, isShuttingDown, gracefulShutdown, init_gracefulShutdown, getGroveSettings, markGroveNoticeViewed, updateGroveSettings, isQualifiedForGrove, getGroveNoticeConfig, calculateShouldShowGrove, checkGroveForNonInteractive, init_grove, initializePolicyLimitsLoadingPromise, isPolicyLimitsEligible, waitForPolicyLimitsToLoad, isPolicyAllowed, loadPolicyLimits, refreshPolicyLimits, init_policyLimits, initializeRemoteManagedSettingsLoadingPromise, isEligibleForRemoteManagedSettings, waitForRemoteManagedSettingsToLoad, loadRemoteManagedSettings, refreshRemoteManagedSettings, init_remoteManagedSettings, performLogout, clearAuthRelatedCaches, call, init_logout, OAuthService, init_oauth2 as init_oauth, getShellType, init_localInstaller, getNpmDistTags, getGcsDistTags, init_autoUpdater, getCurrentInstallationType, getDoctorDiagnostic, init_doctorDiagnostic, isPidBasedLockingEnabled, getAllLockInfo, cleanupStaleLocks, init_pidLock, checkInstall, installLatest, lockCurrentVersion, cleanupOldVersions, cleanupShellAliases, cleanupNpmInstallations, init_nativeInstaller, getSettingsWithAllErrors, init_allErrors, buildSandboxProperties, buildIDEProperties, buildMcpProperties, buildMemoryDiagnostics, buildSettingSourcesProperties, buildInstallationDiagnostics, buildInstallationHealthDiagnostics, buildAccountProperties, buildAPIProviderProperties, getModelDisplayLabel, init_status, installOAuthTokens, authLogin, authStatus, authLogout, init_auth5 as init_auth1, sendNotification, init_notifier, buildBridgeConnectUrl, getBridgeStatus, buildIdleFooterText, buildActiveFooterText, FAILED_FOOTER_TEXT, init_bridgeStatusUtil, sample_default, init_sample, activityManager, init_activityManager, isInProcessTeammateTask, init_types7 as init_types1, init_ThemedText, TaskListV2, init_TaskListV2, useTasksV2, useTasksV2WithCollapseEffect, init_useTasksV2, getTheme, themeColorToAnsi, init_theme, interpolateColor, toRGBColor, hueToRgb, init_utils4 as init_utils1, ShimmerChar, init_ShimmerChar, SpinnerGlyph, init_SpinnerGlyph, useShimmerAnimation, init_useShimmerAnimation, toInkColor, init_ink, isBackgroundTask, init_types12 as init_types2, prepareAutonomyTurnPrompt, init_autonomyAuthority, markAutonomyRunRunning, markAutonomyRunFailed, finalizeAutonomyRunCompleted, finalizeAutonomyRunFailed, createAutonomyQueuedPrompt, commitAutonomyQueuedPrompt, createProactiveAutonomyCommands, init_autonomyRuns, McpServerConfigForProcessTransportSchema, McpServerStatusSchema, PermissionUpdateSchema, PermissionModeSchema, HookEventSchema, HookInputSchema, SlashCommandSchema, AgentInfoSchema, ModelInfoSchema, AccountInfoSchema, AgentDefinitionSchema, SDKUserMessageSchema, SDKStreamlinedTextMessageSchema, SDKStreamlinedToolUseSummaryMessageSchema, SDKPostTurnSummaryMessageSchema, SDKMessageSchema, FastModeStateSchema, init_coreSchemas, readUnreadMessages, writeToMailbox, markMessagesAsRead, createIdleNotification, isPermissionRequest, isPermissionResponse, isSandboxPermissionRequest, isSandboxPermissionResponse, sendShutdownRequestToMailbox, isShutdownRequest, isPlanApprovalRequest, isShutdownApproved, isPlanApprovalResponse, isTeamPermissionUpdate, createModeSetRequestMessage, isModeSetRequest, getLastPeerDmSummary, init_teammateMailbox, permissionUpdateSchema, init_PermissionUpdateSchema, createPermissionRequest, isSwarmWorker, sendPermissionRequestViaMailbox, sendPermissionResponseViaMailbox, generateSandboxRequestId, sendSandboxPermissionRequestViaMailbox, sendSandboxPermissionResponseViaMailbox, init_permissionSync, registerPermissionCallback, hasPermissionCallback, clearAllPendingCallbacks, processMailboxPermissionResponse, registerSandboxPermissionCallback, hasSandboxPermissionCallback, processSandboxPermissionResponse, init_useSwarmPermissionPoller, registerLeaderToolUseConfirmQueue, getLeaderToolUseConfirmQueue, unregisterLeaderToolUseConfirmQueue, registerLeaderSetToolPermissionContext, unregisterLeaderSetToolPermissionContext, init_leaderPermissionBridge, exports_teammatePromptAddendum, init_teammatePromptAddendum, ensureBackendsRegistered, registerTmuxBackend, registerITermBackend, detectAndGetBackend, getBackendByType, getCachedBackend, getCachedDetectionResult, markInProcessFallback, isInProcessEnabled, getResolvedTeammateMode, getInProcessBackend, getTeammateExecutor, resetBackendDetection, init_registry, InProcessTeammateTask, injectUserMessageToTeammate, findTeammateTaskByAgentId, getAllInProcessTeammateTasks, getRunningTeammatesSorted, exports_InProcessTeammateTask, init_InProcessTeammateTask, getViewedTeammateTask, getActiveAgentForInput, init_selectors, useElapsedTime, init_useElapsedTime, SpinnerWithVerb, BriefIdleStatus, Spinner, init_Spinner2 as init_Spinner, ConsoleOAuthFlow, init_ConsoleOAuthFlow, extraUsage, init_extra_usage, useClaudeAiLimits, init_claudeAiLimitsHook, AssistantThinkingMessage, init_AssistantThinkingMessage, clearClassifierChecking, init_classifierApprovals, SentryErrorBoundary, init_SentryErrorBoundary, FilePathLink, init_FilePathLink, UserBashInputMessage, init_UserBashInputMessage, UserPlanMessage, init_UserPlanMessage, QueuedMessageProvider, init_QueuedMessageContext, UserTextMessage, init_UserTextMessage, diagnosticTracker, init_diagnosticTracking, PrBadge, init_PrBadge, getPillLabel, pillNeedsCta, init_pillLabel, OffscreenFreeze, init_OffscreenFreeze, exports_snipProjection, init_snipProjection, exports_snipCompact, init_snipCompact, hasThinkingContent, Message, init_Message, renderToolUseProgressMessage4 as renderToolUseProgressMessage, init_UI11 as init_UI, recordSkillUsage, getSkillUsageScore, init_skillUsageTracking, buildPluginTelemetryFields, buildPluginCommandTelemetryFields, logPluginsEnabledForSession, classifyPluginCommandError, logPluginLoadErrors, init_pluginTelemetry, exports_MonitorMcpTask, init_MonitorMcpTask, runAgent, init_runAgent, TodoListSchema, init_types10 as init_types3, TodoWriteTool, init_TodoWriteTool, fetchEnvironments, createDefaultCloudEnvironment, init_environments, checkRepoForRemoteAccess, init_preconditions, SelectMulti, init_SelectMulti, init_CustomSelect, TeleportError, init_TeleportError, KeybindingSetup2 as KeybindingSetup, init_KeybindingProviderSetup, clearAllSessions, init_sessionIngress, fileHistoryEnabled, fileHistoryMakeSnapshot, fileHistoryRewind, fileHistoryCanRestore, fileHistoryGetDiffStats, fileHistoryHasAnyChanges, fileHistoryRestoreStateFromLog, copyFileHistoryForResume, init_fileHistory, init_outputsScanner, generateShortWordSlug, init_words, getPlanSlug, setPlanSlug, clearAllPlanSlugs, getPlansDirectory, getPlanFilePath, getPlan, copyPlanForResume, copyPlanForFork, init_plans, captureHooksConfigSnapshot, updateHooksConfigSnapshot, init_hooksConfigSnapshot, setEnvHookNotifier, initializeFileChangedWatcher, init_fileChangedWatcher, loadPluginHooks, clearPluginHookCache, pruneRemovedPluginHooks, resetHotReloadState, getPluginAffectingSettingsSnapshot, setupPluginHookHotReload, init_loadPluginHooks, takeInitialUserMessage, processSessionStartHooks, processSetupHooks, init_sessionStart, deserializeMessages, loadConversationForResume, init_conversationRecovery, downloadSessionFiles, parseFileSpecs, init_filesApi, generateTempFilePath, init_tempfile, validateGitState, processMessagesForTeleportResume, checkOutTeleportedSessionBranch, validateSessionRepository, teleportResumeCodeSession, teleportToRemoteWithErrorHandling, teleportFromSessionsAPI, pollRemoteSessionEvents, teleportToRemote, archiveRemoteSession, init_teleport, checkRemoteAgentEligibility, formatPreconditionError, registerRemoteAgentTask, restoreRemoteAgentTasks, RemoteAgentTask, getRemoteTaskSessionUrl, init_RemoteAgentTask, SkillTool, init_SkillTool, resetAllLSPDiagnosticState, init_LSPDiagnosticRegistry, loadPluginLspServers, init_lspPluginIntegration, getLspServerManager, getInitializationStatus, initializeLspServerManager, reinitializeLspServerManager, shutdownLspServerManager, init_manager2 as init_manager, parseArguments, generateProgressiveArgumentHint, init_argumentSubstitution, clearPendingHint, markShownThisSession, subscribeToPendingHint, getPendingHintSnapshot, init_claudeCodeHints, isPluginBlockedByPolicy, init_pluginPolicy, resolvePluginHint, markHintPluginShown, disableHintRecommendations, init_hintRecommendation, CircularBuffer, init_CircularBuffer, validateBoundedIntEnvVar, init_envValidation, BASH_MAX_OUTPUT_UPPER_LIMIT, BASH_MAX_OUTPUT_DEFAULT, init_outputLimits, clearSessionEnvVars, init_sessionEnvVars, exec, setCwd, init_Shell, ShellProgressMessage, init_ShellProgressMessage, parseSedEditCommand, applySedSubstitution, init_sedEditParser, parsePowerShellCommandCached, getAllCommands2 as getAllCommands, init_parser3 as init_parser, isAllowlistedCommand, init_readOnlyValidation2 as init_readOnlyValidation, NEVER_SUGGEST, init_dangerousCmdlets, PowerShellTool, exports_PowerShellTool, init_PowerShellTool, getSkillsPath, estimateSkillFrontmatterTokens, clearSkillCaches, onDynamicSkillsLoaded, clearDynamicSkills, init_loadSkillsDir, getStoredSessionCosts, restoreCostStateForSession, saveCurrentSessionCosts, formatCost, formatTotalCost, addToTotalSessionCost, init_cost_tracker, CONTEXT_LINES, adjustHunkLineNumbers, getPatchFromContents, getPatchForDisplay, init_diff, fetchGitDiff, fetchGitDiffHunks, init_gitDiff, getColorModuleUnavailableReason, getSyntaxTheme2 as getSyntaxTheme, init_colorDiff, HighlightedCode, init_HighlightedCode, StructuredDiff, init_StructuredDiff, StructuredDiffList, init_StructuredDiffList, CHUNK_SIZE, openForScan, scanForContext, readCapped, init_readEditContext, findActualString, preserveQuoteStyle, getPatchForEdits, getEditsForPatch, init_utils2, FileEditTool, init_FileEditTool, FileWriteTool, init_FileWriteTool, getGlobExclusionsForPluginCache, clearPluginCacheExclusions, init_orphanedPluginFilter, GrepTool, init_GrepTool, GlobTool, init_GlobTool, parseCellId, init_notebook, NotebookEditTool, init_NotebookEditTool, clearWebFetchCache, MAX_MARKDOWN_LENGTH, isPreapprovedUrl, validateURL, checkDomainBlocklist, isPermittedRedirect, getWithPermittedRedirects, getURLMarkdownContent, applyPromptToMarkdown, init_utils7 as init_utils3, WebFetchTool, init_WebFetchTool, listSessionsImpl, init_listSessionsImpl, readLastConsolidatedAt, recordConsolidation, init_consolidationLock, DreamTask, init_DreamTask, exports_LocalWorkflowTask, init_LocalWorkflowTask, stopTask, init_stopTask, TaskStopTool, init_TaskStopTool, exports_BriefTool, init_BriefTool, TASK_MAX_OUTPUT_UPPER_LIMIT, TASK_MAX_OUTPUT_DEFAULT, init_outputFormatting, TaskOutputTool, init_TaskOutputTool, WebSearchTool, init_WebSearchTool, findInProcessTeammateTaskId, handlePlanApprovalResponse, init_inProcessTeammateHelpers, ExitPlanModeV2Tool, init_ExitPlanModeV2Tool, AskUserQuestionTool, init_AskUserQuestionTool, init_prompt27 as init_prompt13, isPlanModeInterviewPhaseEnabled, getPewterLedgerVariant, init_planModeV2, EnterPlanModeTool, init_EnterPlanModeTool, getModelOptions, init_modelOptions, validateModel, init_validateModel, REMOTE_TRIGGER_TOOL_NAME, init_prompt36 as init_prompt14, exports_MonitorTool, init_MonitorTool, isBgSession, registerSession, updateSessionName, updateSessionBridgeId, updateSessionActivity, countConcurrentSessions, init_concurrentSessions, getReplBridgeHandle, init_replBridgeHandle, startBackgroundSession, init_LocalMainSessionTask, buildEffectiveSystemPrompt, init_systemPrompt, resumeAgentBackground, init_resumeAgent, exports_WorkflowTool, init_WorkflowTool, getAllBaseTools, filterToolsByDenyRules, getTools, assembleToolPool, init_tools2 as init_tools1, getHardcodedTeammateModelFallback, init_teammateModel, AgentTool, init_AgentTool, isAutoManagedMemoryFile, init_memoryFileDetection, getToolSearchOrReadInfo, getToolUseIdsFromCollapsedGroup, hasAnyToolInProgress, getDisplayMessageFromCollapsed, collapseReadSearchGroups, summarizeRecentActivities, init_collapseReadSearch, isLocalAgentTask, isPanelAgentTask, queuePendingMessage, appendMessageToLocalAgent, LocalAgentTask, killAllRunningAgentTasks, markAgentsNotified, init_LocalAgentTask, BACKGROUND_BASH_SUMMARY_PREFIX, LocalShellTask, hasForegroundTasks, backgroundAll, init_LocalShellTask, isMemoryFileAccess, registerSessionFileAccessHooks, init_sessionFileAccessHooks, BashTool, init_BashTool, getSimpleCommandPrefix, getFirstWordPrefix, clearSpeculativeChecks, init_bashPermissions, Stream, init_stream2 as init_stream, getErrorParts, init_toolErrors, startQueryProfile, queryCheckpoint, logQueryProfileReport, init_queryProfiler, isAutoDreamEnabled, init_config5 as init_config1, init_readFileInRange, exports_extractMemories, init_extractMemories, buildConsolidationPrompt, init_consolidationPrompt, initAutoDream, init_autoDream, parseTokenBudget, findTokenBudgetPositions, init_tokenBudget, exports_contextCollapse, init_contextCollapse, query, init_query, getLastCacheSafeParams, createCacheSafeParams, prepareForkedCommandContext, extractResultText, createSubagentContext, runForkedAgent, init_forkedAgent, logPermissionContextForAnts, init_internalLogging, ERROR_MESSAGE_NOT_ENOUGH_MESSAGES, ERROR_MESSAGE_USER_ABORT, ERROR_MESSAGE_INCOMPLETE_RESPONSE, buildPostCompactMessages, mergeHookInstructions, compactConversation, partialCompactConversation, init_compact, runPostCompactCleanup, init_postCompactCleanup, loadSessionMemoryTemplate, buildSessionMemoryUpdatePrompt, init_prompts, shouldUseSessionMemoryCompaction, trySessionMemoryCompaction, init_sessionMemoryCompact, getEffectiveContextWindowSize, calculateTokenWarningState, isAutoCompactEnabled, init_autoCompact, countMcpToolTokens, analyzeContextUsage, init_analyzeContext, zodToJsonSchema, init_zodToJsonSchema, getAutoToolSearchCharThreshold, getToolSearchMode, modelSupportsToolReference, isToolSearchEnabledOptimistic, isToolSearchToolAvailable, isToolSearchEnabled, isToolReferenceBlock, extractDiscoveredToolNames, isDeferredToolsDeltaEnabled, getDeferredToolsDelta, init_toolSearch, roughTokenCountEstimation, init_tokenEstimation, registerFileReadListener, FileReadTool, init_FileReadTool, isValidImagePaste, init_textInputTypes, registerHookEventHandler, setAllHookEventsEnabled, init_hookEvents, finalizePendingAsyncHooks, init_AsyncHookRegistry, isHumanTurn, init_messagePredicates, getQueuedCommandAttachments, resetSentSkillNames, getAttachmentMessages, createAttachmentMessage, init_attachments2 as init_attachments, getPluginCommands, init_loadPluginCommands, isPluginZipCacheEnabled, getPluginZipCachePath, getZipCacheKnownMarketplacesPath, getZipCacheMarketplacesDir, getZipCachePluginsDir, cleanupSessionPluginCache, atomicWriteToZipCache, getMarketplaceJsonRelativePath, isMarketplaceSourceSupportedByZipCache, init_zipCache, clearAllCaches, markPluginVersionOrphaned, cleanupOrphanedPluginVersionsInBackground, init_cacheUtils, formatFailureDetails, getMarketplaceSourceDisplay, createPluginId, loadMarketplacesWithGracefulDegradation, formatMarketplaceLoadingErrors, getPluginTrustMessage, isSourceAllowedByPolicy, detectEmptyMarketplaceReason, init_marketplaceHelpers, fetchOfficialMarketplaceFromGcs, init_officialMarketplaceGcs, getMarketplacesCacheDir, clearMarketplacesCache, getDeclaredMarketplaces, saveMarketplaceToSettings, loadKnownMarketplacesConfig, loadKnownMarketplacesConfigSafe, saveKnownMarketplacesConfig, registerSeedMarketplaces, addMarketplaceSource, removeMarketplaceSource, getMarketplace, getPluginById, refreshAllMarketplaces, refreshMarketplace, setMarketplaceAutoUpdate, init_marketplaceManager, loadInstalledPluginsV2, removePluginInstallation, getInMemoryInstalledPlugins, loadInstalledPluginsFromDisk, updateInstallationPathOnDisk, initializeVersionedPlugins, isInstallationRelevantToCurrentProject, isPluginInstalled, isPluginGloballyInstalled, migrateFromEnabledPlugins, init_installedPluginsManager, getManagedPluginNames, init_managedPlugins, calculatePluginVersion, init_pluginVersioning, cacheAndRegisterPlugin, registerPluginInstallation, formatResolutionError, installResolvedPlugin, installPluginFromMarketplace, init_pluginInstallationHelpers, getVersionedCachePath, getVersionedZipCachePath, copyPluginToVersionedCache, cachePlugin, loadPluginManifest, loadAllPlugins, loadAllPluginsCacheOnly, clearPluginCache, init_pluginLoader, DEFAULT_OUTPUT_STYLE_NAME, OUTPUT_STYLE_CONFIG, getAllOutputStyles, init_outputStyles, withMemoryCorrectionHint, INTERRUPT_MESSAGE, INTERRUPT_MESSAGE_FOR_TOOL_USE, REJECT_MESSAGE, REJECT_MESSAGE_WITH_REASON_PREFIX, SUBAGENT_REJECT_MESSAGE, SUBAGENT_REJECT_MESSAGE_WITH_REASON_PREFIX, SYNTHETIC_MODEL, SYNTHETIC_MESSAGES, isSyntheticMessage, getLastAssistantMessage, hasToolCallsInLastAssistantTurn, createAssistantMessage, createAssistantAPIErrorMessage, createUserMessage, prepareUserContent, createUserInterruptionMessage, createSyntheticUserCaveatMessage, formatCommandInputTags, createModelSwitchBreadcrumbs, extractTag, isNotEmptyMessage, deriveUUID, normalizeMessages, isToolUseResultMessage, reorderMessagesInUI, buildMessageLookups, EMPTY_LOOKUPS, EMPTY_STRING_SET, getSiblingToolUseIDsFromLookup, getProgressMessagesFromLookup, hasUnresolvedHooksFromLookup, getToolUseIDs, isSystemLocalCommandMessage, normalizeMessagesForAPI, normalizeContentFromAPI, isEmptyMessageText, stripPromptXMLTags, getToolUseID, getAssistantMessageText, getUserMessageText, textForResubmit, extractTextContent, getContentText, handleMessageFromStream, createSystemMessage, createPermissionRetryMessage, createScheduledTaskFireMessage, createTurnDurationMessage, createAwaySummaryMessage, createAgentsKilledMessage, createApiMetricsMessage, createCommandInputMessage, isCompactBoundaryMessage, getMessagesAfterCompactBoundary, shouldShowUserMessage, countToolCalls, stripSignatureBlocks, init_messages2 as init_messages1, startsWithApiErrorPrefix, categorizeRetryableAPIError, init_errors6 as init_errors, splitCommand_DEPRECATED, clearCommandPrefixCaches, extractOutputRedirections, init_commands, shouldUseSandbox, init_shouldUseSandbox, permissionRuleSourceDisplayString, getAllowRules, getDenyRules, getAskRules, hasPermissionsToUseTool, deletePermissionRule, init_permissions2 as init_permissions, removeDangerousPermissions, transitionPermissionMode, initialPermissionModeFromCLI, parseToolListFromCLI, initializeToolPermissionContext, getAutoModeUnavailableNotification, shouldDisableBypassPermissions, getAutoModeUnavailableReason, isBypassPermissionsModeDisabled, createDisabledBypassPermissionsContext, checkAndDisableBypassPermissions, prepareContextForPlanMode, transitionPlanAutoMode, init_permissionSetup, applySettingsChange, init_applySettingsChange, AppStateProvider, useAppState, useSetAppState, useAppStateStore, init_AppState, useNotifications, init_notifications, useClipboardImageHint, init_useClipboardImageHint, prependModeCharacterToInput, getModeFromInput, getValueFromInput, init_inputModes, cleanupOldPastes, init_pasteStore, getPastedTextRefNumLines, formatPastedTextRef, formatImageRef, parseReferences, expandPastedTextRefs, makeHistoryReader, getHistory, addToHistory, removeLastFromHistory, init_history, pushToKillRing, getLastKill, resetKillAccumulation, recordYank, yankPop, updateYankLength, resetYankState, isVimWordChar, isVimWhitespace, isVimPunctuation, Cursor, init_Cursor, useTextInput, init_useTextInput, BaseTextInput, init_BaseTextInput, TextInput, init_TextInput, getWorktreePaths, init_getWorktreePaths, isUltrareviewEnabled, init_ultrareviewEnabled, review_default, init_review, DEFAULT_SESSION_TIMEOUT_MS, BRIDGE_LOGIN_ERROR, init_types15 as init_types4, getPromptIdentifier, getDialogConfig, init_prompt42 as init_prompt15, CCR_TERMS_URL2 as CCR_TERMS_URL, stopUltraplan, launchUltraplan, init_ultraplan, validateBridgeId, BridgeFatalError, createBridgeApiClient, isExpiredErrorType, isSuppressible403, init_bridgeApi, registerBridgeDebugHandle, clearBridgeDebugHandle, injectBridgeFault, wrapApiForFaultInjection, init_bridgeDebug, SAFE_ENV_VARS3 as SAFE_ENV_VARS, init_managedEnvConstants, applySafeConfigEnvironmentVariables, applyConfigEnvironmentVariables, init_managedEnv, registerBundledSkill, init_bundledSkills, exit_default, init_exit, upgrade_default, init_upgrade, getCommandName, isCommandEnabled, INTERNAL_ONLY_COMMANDS, builtInCommandNames, getCommands, clearCommandMemoizationCaches, clearCommandsCache, getSkillToolCommands, getSlashCommandToolSkills, REMOTE_SAFE_COMMANDS, getBridgeCommandSafety, filterCommandsForRemoteMode, findCommand, hasCommand, getCommand, formatDescriptionWithSource, init_commands2 as init_commands1, isTranscriptMessage, isChainParticipant, isEphemeralToolProgress, getProjectsDir2 as getProjectsDir, getTranscriptPath, getTranscriptPathForSession, MAX_TRANSCRIPT_READ_BYTES, setAgentTranscriptSubdir, clearAgentTranscriptSubdir, getAgentTranscriptPath, writeAgentMetadata, readAgentMetadata, writeRemoteAgentMetadata, readRemoteAgentMetadata, deleteRemoteAgentMetadata, listRemoteAgentMetadata, sessionIdExists, getNodeEnv, getUserType, isCustomTitleEnabled, getProjectDir, resetProjectFlushStateForTesting, resetProjectForTesting, setSessionFileForTesting, setInternalEventWriter, setInternalEventReader, setRemoteIngressUrlForTesting, recordTranscript, recordSidechainTranscript, recordQueueOperation, removeTranscriptMessage, recordFileHistorySnapshot, recordAttributionSnapshot, recordContentReplacement, resetSessionFilePointer, adoptResumedSessionFile, recordContextCollapseCommit, recordContextCollapseSnapshot, flushSessionStorage, hydrateRemoteSession, hydrateFromCCRv2InternalEvents, getFirstMeaningfulUserMessageTextContent, removeExtraFields, buildConversationChain, checkResumeConsistency, loadTranscriptFromFile, fetchLogs, saveCustomTitle, saveAiGeneratedTitle, saveTaskSummary, saveTag, linkSessionToPR, getCurrentSessionTag, getCurrentSessionTitle, getCurrentSessionAgentColor, restoreSessionMetadata, clearSessionMetadata, reAppendSessionMetadata, saveAgentName, saveAgentColor, saveAgentSetting, cacheSessionTitle, saveMode, saveWorktreeState, getSessionIdFromLog, isLiteLog, loadFullLog, searchSessionsByCustomTitle, loadTranscriptFile, clearSessionMessagesCache, doesMessageExistInSession, getLastSessionLog, loadMessageLogs, loadAllProjectsMessageLogs, loadAllProjectsMessageLogsProgressive, loadSameRepoMessageLogs, loadSameRepoMessageLogsProgressive, getAgentTranscript, extractAgentIdsFromMessages, extractTeammateTranscriptsFromTasks, loadSubagentTranscripts, loadAllSubagentTranscriptsFromDisk, isLoggableMessage, cleanMessagesForLogging, getLogByIndex, findUnresolvedToolUse, getSessionFilesWithMtime, loadAllLogsFromSessionFile, getSessionFilesLite, enrichLogs, exports_sessionStorage, init_sessionStorage, loadMemoryPrompt, init_memdir, getAgentMemoryDir, getMemoryScopeDisplay, loadAgentMemoryPrompt, init_agentMemory, normalizeCaseForComparison2 as normalizeCaseForComparison, getSessionMemoryDir, getSessionMemoryPath, isScratchpadEnabled, getScratchpadDir, ensureScratchpadDir, pathInAllowedWorkingPath, generateSuggestions, init_filesystem, getTaskOutputPath, evictTaskOutput, initTaskOutputAsSymlink, init_diskOutput, isTerminalTaskStatus, init_Task, hookJSONOutputSchema, init_hooks2 as init_hooks, createCombinedAbortSignal, init_combinedAbortSignal, registerStructuredOutputEnforcement, init_hookHelpers, getSessionEndHookTimeoutMs, shouldSkipHookDueToTrust, createBaseHookInput, getMatchingHooks, getPreToolHookBlockingMessage, getStopHookMessage, getTeammateIdleHookMessage, getTaskCreatedHookMessage, getTaskCompletedHookMessage, getUserPromptSubmitHookBlockingMessage, hasBlockingResult, executePreToolHooks, executePostToolHooks, executePostToolUseFailureHooks, executePermissionDeniedHooks2 as executePermissionDeniedHooks, executeNotificationHooks, executeStopFailureHooks, executeStopHooks, executeTeammateIdleHooks, executeTaskCreatedHooks, executeTaskCompletedHooks, executeUserPromptSubmitHooks, executeSessionStartHooks, executeSetupHooks, executeSubagentStartHooks, executePreCompactHooks, executePostCompactHooks, executeSessionEndHooks, executePermissionRequestHooks, executeConfigChangeHooks, executeCwdChangedHooks, executeFileChangedHooks, hasInstructionsLoadedHook, executeInstructionsLoadedHooks, executeElicitationHooks, executeElicitationResultHooks, executeStatusLineCommand, executeFileSuggestionCommand, hasWorktreeCreateHook, executeWorktreeCreateHook, executeWorktreeRemoveHook, init_hooks3 as init_hooks1, validateWorktreeSlug, getCurrentWorktreeSession, restoreWorktreeSession, generateTmuxSessionName, worktreeBranchName, copyWorktreeIncludeFiles, parsePRReference, isTmuxAvailable2 as isTmuxAvailable, getTmuxInstallInstructions, createTmuxSessionForWorktree, killTmuxSession, createWorktreeForSession, keepWorktree, cleanupWorktree, createAgentWorktree, removeAgentWorktree, cleanupStaleAgentWorktrees, hasWorktreeChanges, execIntoTmuxWorktree, init_worktree, getSystemPrompt, init_prompts3 as init_prompts1, toolToAPISchema, prependUserContext, logContextMetrics, init_api3 as init_api, verifyApiKey, queryModelWithoutStreaming, updateUsage, accumulateUsage, queryHaiku, queryWithModel, init_claude, sideQuery, init_sideQuery };
|