claude-code-best 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-4gpt5ay1.js → chunk-00vfg42v.js} +57 -55
- package/dist/{chunk-0w8eb8gt.js → chunk-01ysfcs0.js} +6 -8
- package/dist/{chunk-q223vmcc.js → chunk-04ws37gv.js} +6 -8
- package/dist/{chunk-cnggqnzm.js → chunk-0b0fq180.js} +26 -26
- package/dist/{chunk-53sfy7n4.js → chunk-0cs46nj6.js} +59 -58
- package/dist/chunk-0fzcyd0s.js +116 -0
- package/dist/{chunk-7nebst32.js → chunk-0knhp7v5.js} +2 -2
- package/dist/{chunk-ebzv9705.js → chunk-0xth516w.js} +14 -14
- package/dist/{chunk-r4hf85nn.js → chunk-0y6h57c5.js} +6 -6
- package/dist/{chunk-mdk5vcer.js → chunk-196qs1ty.js} +29 -28
- package/dist/chunk-1d39h7zf.js +57 -0
- package/dist/{chunk-k8vb990d.js → chunk-1k3ahc24.js} +55 -53
- package/dist/{chunk-yatby2yh.js → chunk-1nhx3qpn.js} +2 -2
- package/dist/{chunk-qga7he5v.js → chunk-1qbype3e.js} +9 -9
- package/dist/{chunk-txz05nf1.js → chunk-1r70yykn.js} +3 -3
- package/dist/{chunk-21pvq2fw.js → chunk-1x1wb96n.js} +58 -56
- package/dist/{chunk-nnbp6hww.js → chunk-1yscv3t1.js} +7 -9
- package/dist/{chunk-3wjy1cpr.js → chunk-27ppq985.js} +7 -9
- package/dist/{chunk-rck3g0jk.js → chunk-28a1ffp7.js} +55 -52
- package/dist/{chunk-kyvg0zcc.js → chunk-2ag1bjqx.js} +4 -4
- package/dist/{chunk-fsrg55vw.js → chunk-2cz1rwf3.js} +21 -20
- package/dist/{chunk-v1chtgnf.js → chunk-2m6jk78c.js} +1 -1
- package/dist/{chunk-nt5vedsr.js → chunk-2mhgyhns.js} +1 -1
- package/dist/{chunk-n5pe3jtt.js → chunk-2pjptqfa.js} +2 -2
- package/dist/{chunk-ptxwtjpj.js → chunk-2qfb22ax.js} +15 -15
- package/dist/{chunk-j5pcp6j1.js → chunk-2rcaw0yh.js} +4 -4
- package/dist/{chunk-ewb2cm8z.js → chunk-2rtngpm1.js} +8 -10
- package/dist/{chunk-6k1w8x4k.js → chunk-2tzmvvew.js} +56 -53
- package/dist/{chunk-fezbtqkp.js → chunk-2xrp0wp0.js} +66 -64
- package/dist/{chunk-mqqg7cf6.js → chunk-313nbvgt.js} +5 -5
- package/dist/chunk-3e2a6c4k.js +33 -0
- package/dist/{chunk-bx6g17ek.js → chunk-3fnhdnj6.js} +21 -20
- package/dist/{chunk-4nf1ec4f.js → chunk-3g6kvmg4.js} +6 -8
- package/dist/{chunk-vqrph16d.js → chunk-3mapywg0.js} +2 -2
- package/dist/{chunk-tw4tjc73.js → chunk-3rk983b5.js} +1 -1
- package/dist/chunk-3vc6mx77.js +119 -0
- package/dist/{chunk-w64rnehj.js → chunk-3yzyedet.js} +22 -21
- package/dist/{chunk-xqf27kff.js → chunk-40w1c21c.js} +54 -51
- package/dist/{chunk-y0fvv8rp.js → chunk-4brmjvph.js} +4 -4
- package/dist/{chunk-hz4cc1fy.js → chunk-4er46edn.js} +65 -137
- package/dist/{chunk-cyxsqapw.js → chunk-4h9ek408.js} +7 -9
- package/dist/chunk-4mdqm8b7.js +115 -0
- package/dist/{chunk-cqndxy46.js → chunk-4qjh89qr.js} +1 -1
- package/dist/chunk-506gq3zq.js +104 -0
- package/dist/{chunk-enzrrdn4.js → chunk-5158j5ph.js} +8 -10
- package/dist/{chunk-nrgyjw8e.js → chunk-524xgs6r.js} +7 -7
- package/dist/{chunk-34vnwd0v.js → chunk-52rnpp5t.js} +16 -18
- package/dist/{chunk-y81y5v3d.js → chunk-54bwa086.js} +57 -53
- package/dist/{chunk-7w2h14a6.js → chunk-5famfv4a.js} +22 -21
- package/dist/{chunk-kmgp6prw.js → chunk-5khwvj1z.js} +112 -5
- package/dist/{chunk-zhq7vk2g.js → chunk-5m7095hq.js} +24 -24
- package/dist/{chunk-nskrydpn.js → chunk-5mv51kkx.js} +55 -52
- package/dist/{chunk-9gpr8jae.js → chunk-5vqwq0f9.js} +55 -52
- package/dist/{chunk-s26mv9yh.js → chunk-5zbp0a48.js} +7 -8
- package/dist/{chunk-a27gcyws.js → chunk-60xm3v9r.js} +3 -3
- package/dist/chunk-6356tyx5.js +32 -0
- package/dist/{chunk-mcwdvkc5.js → chunk-66s9m31j.js} +22 -21
- package/dist/{chunk-mg88phh5.js → chunk-6ebb5ym0.js} +54 -51
- package/dist/{chunk-29p0hjfs.js → chunk-6f0296p8.js} +5 -7
- package/dist/{chunk-d6ecf8f1.js → chunk-6gftrxn5.js} +83 -78
- package/dist/{chunk-erjs2wr4.js → chunk-6h1reb8m.js} +21 -20
- package/dist/{chunk-fy6tp8zj.js → chunk-6pb9n4m3.js} +2 -2
- package/dist/{chunk-ardzdtan.js → chunk-6y2wszkc.js} +1 -1
- package/dist/{chunk-g3t3tpmr.js → chunk-6y8e5c85.js} +23 -21
- package/dist/{chunk-crvsdcfv.js → chunk-718k4vsj.js} +58 -56
- package/dist/{chunk-5hjsrynt.js → chunk-72091jsk.js} +1 -1
- package/dist/{chunk-00b2znqm.js → chunk-760hjt0a.js} +3 -3
- package/dist/chunk-77dnrj5q.js +119 -0
- package/dist/{chunk-gfc6zk7q.js → chunk-77w9ffyy.js} +5 -5
- package/dist/{chunk-xaw4scep.js → chunk-78009jh9.js} +2 -2
- package/dist/{chunk-qbmbmhef.js → chunk-79vh2q13.js} +54 -51
- package/dist/{chunk-swjmy1ec.js → chunk-7ba2qns8.js} +21 -20
- package/dist/{chunk-p88crc0s.js → chunk-7dy65axk.js} +21 -20
- package/dist/{chunk-erxndz83.js → chunk-7kfps7yt.js} +7 -9
- package/dist/{chunk-g9t81ym4.js → chunk-7r3d9nyj.js} +55 -52
- package/dist/{chunk-9je35yst.js → chunk-7yfxza07.js} +16 -22
- package/dist/chunk-7zw138yt.js +32 -0
- package/dist/{chunk-6ye6d9gw.js → chunk-81dxa3fd.js} +1 -1
- package/dist/{chunk-cyjjqcs3.js → chunk-86jhenxk.js} +62 -53
- package/dist/{chunk-s7gt9pbp.js → chunk-88mfsn97.js} +55 -52
- package/dist/{chunk-beq5rrj7.js → chunk-8gs07wbw.js} +18 -18
- package/dist/{chunk-3gww1j1y.js → chunk-8h4gpg9r.js} +73 -113
- package/dist/{chunk-brnc96x6.js → chunk-8h7bg6q9.js} +203 -24
- package/dist/chunk-8mspr5sg.js +47 -0
- package/dist/{chunk-8833n19q.js → chunk-8pskaz4y.js} +9 -11
- package/dist/{chunk-akkp39da.js → chunk-8xbwczap.js} +54 -51
- package/dist/{chunk-4krsdy3p.js → chunk-8xsjtkh4.js} +4 -4
- package/dist/{chunk-90vttb3v.js → chunk-8y0ghcs4.js} +65 -62
- package/dist/chunk-8zzqydag.js +101 -0
- package/dist/{chunk-ccb92crb.js → chunk-924n94wb.js} +21 -20
- package/dist/{chunk-0asd58w2.js → chunk-92p2k7yk.js} +11 -11
- package/dist/{chunk-3gtk4mh3.js → chunk-93cd0z7w.js} +62 -60
- package/dist/{chunk-0kp39at8.js → chunk-97svwq59.js} +69 -67
- package/dist/{chunk-adjan1zm.js → chunk-99cjjht1.js} +56 -54
- package/dist/{chunk-pedmqmrf.js → chunk-9awawyvh.js} +6 -6
- package/dist/{chunk-ns11b23b.js → chunk-9b6wqcyk.js} +56 -53
- package/dist/{chunk-vjvstd86.js → chunk-9datyj43.js} +2 -2
- package/dist/{chunk-n1pa72ns.js → chunk-9qh5f9r3.js} +7 -12
- package/dist/{chunk-v7vav1dg.js → chunk-9revwk5g.js} +55 -52
- package/dist/{chunk-5yd55bg7.js → chunk-a0m994d6.js} +54 -51
- package/dist/{chunk-5526qw2k.js → chunk-a0qhdfct.js} +49 -160
- package/dist/{chunk-z6gvvfmf.js → chunk-a5w8nyhg.js} +2 -2
- package/dist/{chunk-etg0he8j.js → chunk-a85wqwq4.js} +54 -51
- package/dist/{chunk-6ad36q0w.js → chunk-a92eevfn.js} +6 -8
- package/dist/{chunk-2katyzq9.js → chunk-ab6gc90x.js} +3 -5
- package/dist/{chunk-j50zvssc.js → chunk-ad6rg8vz.js} +5 -5
- package/dist/{chunk-smskbnfh.js → chunk-admwpsa6.js} +10 -14
- package/dist/{chunk-djp9rrcq.js → chunk-ahexmj4s.js} +24 -26
- package/dist/{chunk-g5w87dmr.js → chunk-att0rknb.js} +2 -2
- package/dist/{chunk-prgsmrmy.js → chunk-axenqvc8.js} +2 -2
- package/dist/{chunk-157v5wtn.js → chunk-azq1qstz.js} +10 -14
- package/dist/{chunk-q6d7rjw1.js → chunk-b125aa22.js} +55 -53
- package/dist/{chunk-hhx05ny2.js → chunk-b4wfv4fx.js} +69 -67
- package/dist/{chunk-ns3babbs.js → chunk-b5wxetbv.js} +224 -1
- package/dist/chunk-b62vj92a.js +94 -0
- package/dist/{chunk-vcv8kqah.js → chunk-b6drr9se.js} +59 -57
- package/dist/chunk-b7kfr260.js +168 -0
- package/dist/chunk-b9pqgq8z.js +37 -0
- package/dist/{chunk-3c0rxf7q.js → chunk-bevwqet9.js} +62 -60
- package/dist/{chunk-jz86pz25.js → chunk-bgf5zvvv.js} +88 -86
- package/dist/{chunk-607fe07t.js → chunk-bq8zdg7m.js} +54 -51
- package/dist/{chunk-386z9vh4.js → chunk-bww2h6d4.js} +56 -53
- package/dist/{chunk-8j0cag62.js → chunk-bx165r58.js} +1 -1
- package/dist/{chunk-mmc59v16.js → chunk-c092k38b.js} +3335 -1687
- package/dist/{chunk-t76a178c.js → chunk-c0avjkfn.js} +54 -51
- package/dist/{chunk-d92pjy0h.js → chunk-c3s22pgw.js} +57 -54
- package/dist/{chunk-8favkbxx.js → chunk-c4g5qaey.js} +5 -5
- package/dist/{chunk-ap1ykep6.js → chunk-c6nthjxa.js} +6 -4
- package/dist/{chunk-m77e1esy.js → chunk-c7d1acex.js} +5 -7
- package/dist/{chunk-wmbpegg3.js → chunk-c7t69jmn.js} +1 -1
- package/dist/{chunk-c1jzx2gv.js → chunk-cg3bb5pe.js} +9 -9
- package/dist/{chunk-m8v1x99r.js → chunk-chzfw06n.js} +3 -5
- package/dist/{chunk-cr6s4vp6.js → chunk-cm2xfg7q.js} +13 -15
- package/dist/{chunk-sfs23jb0.js → chunk-crj9bjh5.js} +54 -51
- package/dist/{chunk-v4nrk2f9.js → chunk-cstkqpd5.js} +7 -8
- package/dist/{chunk-cd6mvmte.js → chunk-ctj2ehwz.js} +55 -52
- package/dist/{chunk-29yjrfeq.js → chunk-cwwfyvbq.js} +6 -4
- package/dist/{chunk-jver0cay.js → chunk-cxf9amp4.js} +2 -3
- package/dist/chunk-cxmyg49v.js +104 -0
- package/dist/{chunk-5wb5ym2h.js → chunk-cy1z66c2.js} +3 -5
- package/dist/{chunk-ndgnv15y.js → chunk-d2q17m4k.js} +56 -54
- package/dist/{chunk-r8cbwyz2.js → chunk-d2wzkwws.js} +65 -62
- package/dist/{chunk-x4t0n8t3.js → chunk-d4qdesrx.js} +3 -4
- package/dist/{chunk-v47r6dev.js → chunk-d4zyytan.js} +57 -54
- package/dist/{chunk-2j4wdmkt.js → chunk-d57t992t.js} +9 -96
- package/dist/{chunk-688ah6p4.js → chunk-dafnbqhh.js} +72 -70
- package/dist/{chunk-tjbjxrqz.js → chunk-dfcm57ek.js} +6 -6
- package/dist/{chunk-p78dmmrg.js → chunk-dgnwk906.js} +56 -54
- package/dist/{chunk-agabmbjf.js → chunk-dhwpmz98.js} +57 -54
- package/dist/{chunk-w5f4g9ty.js → chunk-djzvjzdg.js} +3 -3
- package/dist/chunk-dm5e2sj0.js +187 -0
- package/dist/{chunk-7cfbwd7q.js → chunk-dnpy3zcs.js} +59 -56
- package/dist/{chunk-2eb66dha.js → chunk-drvfxfe5.js} +25 -24
- package/dist/{chunk-s95y1wsx.js → chunk-dv4dsh0t.js} +7 -7
- package/dist/{chunk-mfmqxvy3.js → chunk-dyp88vca.js} +60 -58
- package/dist/{chunk-4drmj637.js → chunk-dytg8n15.js} +12 -12
- package/dist/{chunk-zda436nm.js → chunk-e1bt4m2g.js} +2 -2
- package/dist/{chunk-mh9bbz4s.js → chunk-e23snepr.js} +3 -3
- package/dist/{chunk-xe4dvfz2.js → chunk-e6sqr0av.js} +54 -51
- package/dist/{chunk-79wycw4g.js → chunk-e9eyqwk5.js} +399 -279
- package/dist/{chunk-2wvxqpfc.js → chunk-efkjha6m.js} +8 -9
- package/dist/{chunk-vvsc8651.js → chunk-ekpm458a.js} +63 -61
- package/dist/{chunk-vf3etxnx.js → chunk-emxnq07z.js} +1 -1
- package/dist/{chunk-a5b9swcd.js → chunk-erkssp71.js} +54 -51
- package/dist/{chunk-ajs8dza3.js → chunk-es08rrda.js} +54 -51
- package/dist/{chunk-zh7z8zmq.js → chunk-ewxpkqxt.js} +8 -8
- package/dist/{chunk-e5mw3cyw.js → chunk-f25pnrvx.js} +4 -6
- package/dist/chunk-f2y3t9hh.js +295 -0
- package/dist/{chunk-0n0r9fwa.js → chunk-f31b63fd.js} +1 -1
- package/dist/{chunk-2dsqf7sp.js → chunk-f57cvf1d.js} +1 -1
- package/dist/{chunk-w8hh0w92.js → chunk-f872fekv.js} +54 -51
- package/dist/{chunk-s0c72pgz.js → chunk-faey4sqw.js} +55 -52
- package/dist/{chunk-p9rdn455.js → chunk-fbbjchdz.js} +56 -54
- package/dist/{chunk-7hftfbxa.js → chunk-fbedkst6.js} +6 -8
- package/dist/{chunk-9msn8xwq.js → chunk-fckykghd.js} +2 -3
- package/dist/{chunk-v3kfrhgg.js → chunk-fdbvcs34.js} +7 -9
- package/dist/{chunk-ypgs2acw.js → chunk-ffpz33kr.js} +22 -21
- package/dist/{chunk-xsevshsa.js → chunk-ffvja87d.js} +8 -10
- package/dist/{chunk-2mbctja8.js → chunk-fjpdtr6s.js} +9 -9
- package/dist/{chunk-9tgts6mc.js → chunk-fnpd8cnq.js} +1 -1
- package/dist/{chunk-x7jtxq14.js → chunk-fxpsa506.js} +3 -5
- package/dist/{chunk-86epd45z.js → chunk-fxrrsvnw.js} +23 -27
- package/dist/chunk-fz4wmnm6.js +157 -0
- package/dist/{chunk-9qbwahdr.js → chunk-g3dbfhxa.js} +4 -6
- package/dist/{chunk-77dn0tk8.js → chunk-g86dg6h5.js} +5 -5
- package/dist/{chunk-v9bnkmpp.js → chunk-gc4x22mt.js} +55 -52
- package/dist/{chunk-hcwq2bw3.js → chunk-gfxebcsw.js} +27 -27
- package/dist/chunk-ghbtnfr2.js +117 -0
- package/dist/{chunk-8cn35yvf.js → chunk-gqftywrx.js} +22 -21
- package/dist/{chunk-c4y7537k.js → chunk-gwrngewt.js} +3 -3
- package/dist/{chunk-ns09xpt7.js → chunk-gxfbedta.js} +1 -1
- package/dist/{chunk-fq1j9zm0.js → chunk-gybj15eh.js} +2 -3
- package/dist/{chunk-tr91zear.js → chunk-h0vzd5vg.js} +15 -15
- package/dist/{chunk-rfnh6gdw.js → chunk-h14dkna4.js} +22 -21
- package/dist/{chunk-jhbtp60e.js → chunk-h26xfh6d.js} +21 -20
- package/dist/{chunk-amyrs3hm.js → chunk-h2vfn30x.js} +4 -4
- package/dist/{chunk-3fjgkntc.js → chunk-h37gar4j.js} +1 -1
- package/dist/{chunk-n4by7yk8.js → chunk-h4k9kgjw.js} +55 -52
- package/dist/{chunk-hy2yy9dj.js → chunk-hc1tkwfn.js} +3 -5
- package/dist/{chunk-cj8t81dc.js → chunk-hf086e2e.js} +54 -51
- package/dist/{chunk-gyzh9997.js → chunk-hhwqk5as.js} +54 -51
- package/dist/{chunk-3ef0cpf6.js → chunk-hjw03d0k.js} +56 -54
- package/dist/{chunk-dtv3phgm.js → chunk-hkh1vbm6.js} +54 -51
- package/dist/{chunk-81dq52pk.js → chunk-hnxmafvc.js} +2 -2
- package/dist/{chunk-cj8m3h8r.js → chunk-hqpzpr71.js} +2 -2
- package/dist/{chunk-qkwmefpm.js → chunk-hrz2d28r.js} +58 -56
- package/dist/chunk-hxb3js2g.js +91 -0
- package/dist/{chunk-j06y02aw.js → chunk-hxc8e6wd.js} +1 -1
- package/dist/chunk-hyy2fcba.js +351 -0
- package/dist/{chunk-deatxv64.js → chunk-hyz9tx05.js} +15 -17
- package/dist/{chunk-b2vzxkee.js → chunk-j34h8cfj.js} +22 -21
- package/dist/{chunk-w74twxev.js → chunk-j5w0b4d2.js} +22 -21
- package/dist/{chunk-z6q66vf8.js → chunk-j66ragf9.js} +1 -1
- package/dist/chunk-j7b884wk.js +397 -0
- package/dist/{chunk-z9f8mvd1.js → chunk-ja21qbpj.js} +61 -58
- package/dist/{chunk-fsqp1hdd.js → chunk-ja3eb4h9.js} +2 -2
- package/dist/{chunk-4f4jqsza.js → chunk-jac470kz.js} +1 -1
- package/dist/{chunk-x3p67k4j.js → chunk-jaqtnpbt.js} +2 -2
- package/dist/{chunk-yg0h97bm.js → chunk-jc5dtv57.js} +56 -54
- package/dist/{chunk-pzxksam8.js → chunk-jda4vjad.js} +54 -51
- package/dist/{chunk-drnxbc1w.js → chunk-jeqt4y47.js} +2 -2
- package/dist/{chunk-vq51wj3f.js → chunk-jga4j8jp.js} +55 -53
- package/dist/{chunk-q7e35wkk.js → chunk-jge10dbd.js} +4 -6
- package/dist/{chunk-2c4003f8.js → chunk-jhbj5mnf.js} +54 -51
- package/dist/{chunk-6b45etp0.js → chunk-jje04m6z.js} +2 -2
- package/dist/{chunk-5wzcv9gh.js → chunk-jnfd01as.js} +9 -11
- package/dist/chunk-jpbkdg47.js +131 -0
- package/dist/{chunk-1j332jvg.js → chunk-jwb3bqa7.js} +26 -30
- package/dist/{chunk-fjh0vhqw.js → chunk-jy4dnnjk.js} +5 -5
- package/dist/{chunk-zjhz0qyc.js → chunk-k27dq4vd.js} +56 -53
- package/dist/{chunk-jjcks6sw.js → chunk-k81zec2p.js} +1 -1
- package/dist/{chunk-fxqp3yt4.js → chunk-kb2b4rkg.js} +4 -5
- package/dist/{chunk-43b84za2.js → chunk-kbsckx2r.js} +3 -3
- package/dist/{chunk-6wpr3tjc.js → chunk-kvezjrjy.js} +54 -51
- package/dist/{chunk-2smwf3e9.js → chunk-kw2ymvyv.js} +6 -8
- package/dist/{chunk-1neq14g8.js → chunk-kymh4vxw.js} +54 -51
- package/dist/{chunk-0rbezx7s.js → chunk-kz3q1ce0.js} +54 -51
- package/dist/chunk-m089kb0s.js +312 -0
- package/dist/{chunk-0qe6jzfm.js → chunk-m1efbjqe.js} +54 -51
- package/dist/chunk-m1xw79dd.js +1757 -0
- package/dist/{chunk-2x5az5dc.js → chunk-m365zhp8.js} +55 -52
- package/dist/{chunk-ytwnb2km.js → chunk-m97dyxn0.js} +57 -56
- package/dist/{chunk-e4jqbn4d.js → chunk-m9w972ny.js} +2 -4
- package/dist/{chunk-eserktyd.js → chunk-mb93ek5j.js} +4 -6
- package/dist/{chunk-t5vfbd78.js → chunk-mgjc0yj9.js} +55 -53
- package/dist/{chunk-50xwa16q.js → chunk-mh2pdxpc.js} +56 -54
- package/dist/{chunk-hnx0eg6x.js → chunk-mkae8zj9.js} +3 -3
- package/dist/{chunk-7750n93j.js → chunk-mmq55gyp.js} +4 -4
- package/dist/{chunk-cdqf4qst.js → chunk-ndrn50x0.js} +55 -53
- package/dist/{chunk-mt10f1tp.js → chunk-ng2xq7ey.js} +3 -3
- package/dist/{chunk-vdv5g7q5.js → chunk-nsbpzpmf.js} +57 -55
- package/dist/{chunk-5xjn56aq.js → chunk-nz7sgbbr.js} +5 -5
- package/dist/{chunk-5840qkdv.js → chunk-nzfwsrd7.js} +3 -3
- package/dist/{chunk-nzrgdzqp.js → chunk-p3zbzfbn.js} +3 -3
- package/dist/{chunk-25yy8wx5.js → chunk-p5jssxha.js} +23 -23
- package/dist/{chunk-4581z0wr.js → chunk-p7es39d1.js} +46 -121
- package/dist/{chunk-qwj4n799.js → chunk-p7pj6wf8.js} +1 -1
- package/dist/{chunk-qqfr3g23.js → chunk-p9f12fp9.js} +56 -53
- package/dist/chunk-pb73zgyd.js +55 -0
- package/dist/chunk-prpjmapz.js +117 -0
- package/dist/{chunk-gc91es60.js → chunk-ps01q3n9.js} +60 -59
- package/dist/{chunk-k5kw9hyy.js → chunk-q19p9j0v.js} +5 -5
- package/dist/{chunk-wm9c1620.js → chunk-q7e12ymw.js} +4 -4
- package/dist/{chunk-4169yf5x.js → chunk-qgajfxr7.js} +7 -7
- package/dist/{chunk-53vj9v9s.js → chunk-qgnsf30p.js} +23 -22
- package/dist/{chunk-b0x349dj.js → chunk-qs2atqgy.js} +56 -54
- package/dist/chunk-r469z4mx.js +183 -0
- package/dist/chunk-r5mqktt5.js +100 -0
- package/dist/chunk-r854e43q.js +25 -0
- package/dist/{chunk-4f5xrg8h.js → chunk-rbgr86hh.js} +55 -53
- package/dist/{chunk-m08081ys.js → chunk-rbvawtdz.js} +55 -52
- package/dist/chunk-rce8gj2b.js +93 -0
- package/dist/{chunk-t0twk3e5.js → chunk-rd2884ff.js} +1 -1
- package/dist/{chunk-qxy16bqn.js → chunk-reqz49y3.js} +310 -186
- package/dist/{chunk-xayw54gs.js → chunk-rhjb0dgd.js} +23 -22
- package/dist/{chunk-ptpynwv2.js → chunk-rq1nfp7x.js} +56 -54
- package/dist/{chunk-4m47hfh0.js → chunk-rsr0mksm.js} +57 -55
- package/dist/{chunk-txeekahj.js → chunk-rz3rq0gt.js} +4 -6
- package/dist/{chunk-3ah2pq1f.js → chunk-rz69sqyh.js} +66 -64
- package/dist/{chunk-5km8j211.js → chunk-s2n5kxm0.js} +5 -5
- package/dist/{chunk-3b9ar57s.js → chunk-s39ksgef.js} +4 -6
- package/dist/{chunk-vmb323h1.js → chunk-s70z817q.js} +199 -198
- package/dist/{chunk-6yahjmr9.js → chunk-se153zng.js} +1 -1
- package/dist/chunk-spqq5qf1.js +116 -0
- package/dist/{chunk-pc4szfak.js → chunk-srnstx2s.js} +22 -21
- package/dist/{chunk-s9nr589x.js → chunk-sv7afh51.js} +6 -8
- package/dist/{chunk-ts2892h4.js → chunk-swzfr1f5.js} +23 -22
- package/dist/{chunk-2apay7a3.js → chunk-t2822cex.js} +59 -56
- package/dist/{chunk-tgav5bz9.js → chunk-t2re5hhc.js} +121 -116
- package/dist/{chunk-m007chff.js → chunk-t7e9etws.js} +23 -25
- package/dist/{chunk-xmretc2b.js → chunk-tnx1zk9t.js} +58 -55
- package/dist/{chunk-ne7y2xb5.js → chunk-tw24rz1x.js} +11 -13
- package/dist/{chunk-r8m19xnp.js → chunk-v038k0we.js} +4 -6
- package/dist/{chunk-8n7czf03.js → chunk-v2qqkqxp.js} +55 -52
- package/dist/{chunk-fjne3x6c.js → chunk-v4qke3cz.js} +8 -8
- package/dist/{chunk-1zjrec16.js → chunk-v6p3019x.js} +23 -22
- package/dist/{chunk-egwqdd9k.js → chunk-vatz6gan.js} +25 -27
- package/dist/chunk-vfmx405p.js +14 -0
- package/dist/{chunk-xjcmfp13.js → chunk-vnn4x6jw.js} +58 -55
- package/dist/{chunk-fbs21kq9.js → chunk-vpe2s4eq.js} +7 -9
- package/dist/{chunk-2t5ve6ev.js → chunk-vsbyhpfy.js} +1 -1
- package/dist/{chunk-rywnz223.js → chunk-w0pf4mvz.js} +12 -16
- package/dist/chunk-w5j0dhpp.js +14 -0
- package/dist/{chunk-zkv7atzf.js → chunk-w7zp9j8v.js} +69 -67
- package/dist/{chunk-d2vb6m9e.js → chunk-wd8mqz95.js} +3 -5
- package/dist/chunk-wj0c0zfa.js +36 -0
- package/dist/{chunk-1e8f0nx0.js → chunk-wqdr8v9x.js} +54 -51
- package/dist/{chunk-vpp13z80.js → chunk-wxa2hdfg.js} +2 -2
- package/dist/{chunk-wh42d494.js → chunk-wy3f5b81.js} +55 -52
- package/dist/{chunk-5dn1m1r7.js → chunk-x0ym1db4.js} +2 -4
- package/dist/{chunk-y315v6st.js → chunk-x1t80e36.js} +38 -38
- package/dist/{chunk-x0qzkte0.js → chunk-x63c39tp.js} +5 -7
- package/dist/{chunk-8fwh1vg6.js → chunk-x6622cb2.js} +22 -21
- package/dist/{chunk-wcxc5m91.js → chunk-x95fhbwq.js} +1 -1
- package/dist/{chunk-4vjvqns0.js → chunk-x9gbnheg.js} +8 -10
- package/dist/{chunk-mhd4n6av.js → chunk-xahpt5e2.js} +3 -5
- package/dist/{chunk-6sqsx9jy.js → chunk-xct1m4sf.js} +22 -21
- package/dist/chunk-xee276gg.js +367 -0
- package/dist/{chunk-n8whv674.js → chunk-xfkf8q6w.js} +5 -6
- package/dist/chunk-xhesahm0.js +15 -0
- package/dist/{chunk-s4erjnky.js → chunk-xk1wdwxq.js} +56 -53
- package/dist/{chunk-bv1k9d6v.js → chunk-xpj4qca4.js} +54 -51
- package/dist/{chunk-h6wkvzrd.js → chunk-xqk8srdh.js} +6 -8
- package/dist/{chunk-39zy97qa.js → chunk-xsc3ccj0.js} +3 -3
- package/dist/{chunk-qpprdv6x.js → chunk-xwc8e4yv.js} +2 -2
- package/dist/{chunk-vchfbqh0.js → chunk-xxmxv448.js} +8 -9
- package/dist/{chunk-gra7rch0.js → chunk-xz7cf7fa.js} +65 -62
- package/dist/{chunk-h65cdcmj.js → chunk-y3qdyf8r.js} +27 -26
- package/dist/{chunk-j5eb93j4.js → chunk-y48wfwm4.js} +1 -517
- package/dist/{chunk-p2pgnk1y.js → chunk-y7vzcjyn.js} +56 -54
- package/dist/chunk-yb03gvd8.js +271 -0
- package/dist/chunk-yem3ge7z.js +182 -0
- package/dist/{chunk-7p1esgzf.js → chunk-yf5qwpnp.js} +3 -3
- package/dist/{chunk-vjbm6e89.js → chunk-yrnbgtk0.js} +25 -24
- package/dist/{chunk-pp11ggs7.js → chunk-yrs92qya.js} +5 -7
- package/dist/{chunk-sjr9vygr.js → chunk-ys6cza46.js} +7 -9
- package/dist/{chunk-45bbgebk.js → chunk-yvgmpc5z.js} +5 -5
- package/dist/{chunk-v88g6btg.js → chunk-yxr0yf6h.js} +4 -4
- package/dist/{chunk-e6rrn2tj.js → chunk-yyc1yvnr.js} +55 -53
- package/dist/{chunk-edz2xqmx.js → chunk-z0vk43bt.js} +65 -62
- package/dist/{chunk-zrrd9egx.js → chunk-z1seyvya.js} +55 -52
- package/dist/{chunk-rejx7z4t.js → chunk-z6hqga26.js} +3 -4
- package/dist/{chunk-d3paf9v2.js → chunk-z7hv619f.js} +54 -51
- package/dist/{chunk-ew9re4pd.js → chunk-zb0mctxm.js} +6 -6
- package/dist/{chunk-zddcrj90.js → chunk-zhyc7npp.js} +54 -51
- package/dist/{chunk-ysdxmhpv.js → chunk-zvegtrc4.js} +59 -56
- package/dist/{chunk-evww0yyb.js → chunk-zwsrj2yy.js} +9 -11
- package/dist/cli.js +53 -23
- package/package.json +4 -2
- package/dist/chunk-0731m51q.js +0 -8
- package/dist/chunk-0ctfznp2.js +0 -176
- package/dist/chunk-2fwze72g.js +0 -24
- package/dist/chunk-3ev51j3h.js +0 -117
- package/dist/chunk-4vj2d7dz.js +0 -116
- package/dist/chunk-6cqap182.js +0 -113
- package/dist/chunk-74v2mh4t.js +0 -40
- package/dist/chunk-75fdprgp.js +0 -254
- package/dist/chunk-9fsvmcz5.js +0 -112
- package/dist/chunk-azksrewr.js +0 -113
- package/dist/chunk-fve53rbk.js +0 -22
- package/dist/chunk-mz2rbmwe.js +0 -114
- package/dist/chunk-npf5eh3g.js +0 -8
- package/dist/chunk-ppwjyveh.js +0 -8
- package/dist/chunk-r1gkg1zh.js +0 -114
- package/dist/chunk-vxnvzfnv.js +0 -233
- package/dist/chunk-w5b8wpff.js +0 -1026
- package/dist/chunk-x6r4v44b.js +0 -8
- package/dist/chunk-y2x0t2gb.js +0 -116
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
useManagePlugins
|
|
4
|
-
} from "./chunk-4vjvqns0.js";
|
|
5
2
|
import {
|
|
6
3
|
DesktopUpsellStartup,
|
|
7
4
|
RemoteSessionManager,
|
|
@@ -12,7 +9,13 @@ import {
|
|
|
12
9
|
initializeTeammateContextFromSession,
|
|
13
10
|
recordTipShown,
|
|
14
11
|
shouldShowDesktopUpsellStartup
|
|
15
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-jwb3bqa7.js";
|
|
13
|
+
import {
|
|
14
|
+
useManagePlugins
|
|
15
|
+
} from "./chunk-x9gbnheg.js";
|
|
16
|
+
import {
|
|
17
|
+
BoundedUUIDSet
|
|
18
|
+
} from "./chunk-vpe2s4eq.js";
|
|
16
19
|
import {
|
|
17
20
|
createCronScheduler,
|
|
18
21
|
diffMarketplaces,
|
|
@@ -20,7 +23,7 @@ import {
|
|
|
20
23
|
init_cronJitterConfig,
|
|
21
24
|
init_cronScheduler,
|
|
22
25
|
reconcileMarketplaces
|
|
23
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2qfb22ax.js";
|
|
24
27
|
import {
|
|
25
28
|
computeStandaloneAgentContext,
|
|
26
29
|
exitRestoredWorktree,
|
|
@@ -28,26 +31,23 @@ import {
|
|
|
28
31
|
restoreSessionStateFromLog,
|
|
29
32
|
restoreWorktreeForResume,
|
|
30
33
|
skillChangeDetector
|
|
31
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-fjpdtr6s.js";
|
|
32
35
|
import {
|
|
33
36
|
applySkillImprovement,
|
|
34
37
|
startBackgroundHousekeeping
|
|
35
|
-
} from "./chunk-
|
|
36
|
-
import {
|
|
37
|
-
BoundedUUIDSet
|
|
38
|
-
} from "./chunk-fbs21kq9.js";
|
|
38
|
+
} from "./chunk-dytg8n15.js";
|
|
39
39
|
import {
|
|
40
40
|
PermissionDialog,
|
|
41
41
|
PermissionRequestTitle,
|
|
42
42
|
init_PermissionDialog,
|
|
43
43
|
init_PermissionRequestTitle
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-2pjptqfa.js";
|
|
45
|
+
import {
|
|
46
|
+
useFpsMetrics
|
|
47
|
+
} from "./chunk-x0ym1db4.js";
|
|
45
48
|
import {
|
|
46
49
|
consumeEarlyInput
|
|
47
50
|
} from "./chunk-46fcr28b.js";
|
|
48
|
-
import {
|
|
49
|
-
useFpsMetrics
|
|
50
|
-
} from "./chunk-5dn1m1r7.js";
|
|
51
51
|
import {
|
|
52
52
|
MessageSelector,
|
|
53
53
|
findUltraplanTriggerPositions,
|
|
@@ -56,36 +56,36 @@ import {
|
|
|
56
56
|
messagesAfterAreOnlySynthetic,
|
|
57
57
|
processUserInput,
|
|
58
58
|
selectableUserMessagesFilter
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-cm2xfg7q.js";
|
|
60
60
|
import {
|
|
61
61
|
exports_useVoice,
|
|
62
62
|
init_useVoice
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-tw24rz1x.js";
|
|
64
|
+
import {
|
|
65
|
+
init_setup,
|
|
66
|
+
isChromeExtensionInstalled,
|
|
67
|
+
shouldEnableClaudeInChrome
|
|
68
|
+
} from "./chunk-5158j5ph.js";
|
|
64
69
|
import {
|
|
65
70
|
ExitFlow,
|
|
66
71
|
init_ExitFlow
|
|
67
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-3g6kvmg4.js";
|
|
68
73
|
import {
|
|
69
74
|
init_exportRenderer,
|
|
70
75
|
renderMessagesToPlainText
|
|
71
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-kw2ymvyv.js";
|
|
72
77
|
import {
|
|
73
78
|
init_useMergedTools,
|
|
74
79
|
useMergedTools
|
|
75
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-60xm3v9r.js";
|
|
76
81
|
import {
|
|
77
82
|
init_toolPool,
|
|
78
83
|
mergeAndFilterTools
|
|
79
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-xwc8e4yv.js";
|
|
80
85
|
import {
|
|
81
86
|
init_refresh,
|
|
82
87
|
refreshActivePlugins
|
|
83
|
-
} from "./chunk-
|
|
84
|
-
import {
|
|
85
|
-
init_setup,
|
|
86
|
-
isChromeExtensionInstalled,
|
|
87
|
-
shouldEnableClaudeInChrome
|
|
88
|
-
} from "./chunk-enzrrdn4.js";
|
|
88
|
+
} from "./chunk-c7d1acex.js";
|
|
89
89
|
import {
|
|
90
90
|
init_autoModeDenials
|
|
91
91
|
} from "./chunk-0paqc2yw.js";
|
|
@@ -94,31 +94,15 @@ import {
|
|
|
94
94
|
getFastIconString,
|
|
95
95
|
init_FastIcon,
|
|
96
96
|
init_fast
|
|
97
|
-
} from "./chunk-
|
|
98
|
-
import {
|
|
99
|
-
BackgroundTasksDialog,
|
|
100
|
-
enterTeammateView,
|
|
101
|
-
exitTeammateView,
|
|
102
|
-
init_BackgroundTasksDialog,
|
|
103
|
-
init_Dialog,
|
|
104
|
-
init_taskStatusUtils,
|
|
105
|
-
init_teammateViewHelpers,
|
|
106
|
-
isTerminalStatus,
|
|
107
|
-
shouldHideTasksFooter,
|
|
108
|
-
stopOrDismissAgent
|
|
109
|
-
} from "./chunk-9je35yst.js";
|
|
110
|
-
import {
|
|
111
|
-
fromSDKCompactMetadata,
|
|
112
|
-
init_mappers
|
|
113
|
-
} from "./chunk-w5f4g9ty.js";
|
|
97
|
+
} from "./chunk-1yscv3t1.js";
|
|
114
98
|
import {
|
|
115
99
|
generateSessionName,
|
|
116
100
|
init_generateSessionName
|
|
117
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-1qbype3e.js";
|
|
118
102
|
import {
|
|
119
103
|
generateSessionTitle,
|
|
120
104
|
init_sessionTitle
|
|
121
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-c6nthjxa.js";
|
|
122
106
|
import {
|
|
123
107
|
Fuse,
|
|
124
108
|
init_fuse
|
|
@@ -133,7 +117,29 @@ import {
|
|
|
133
117
|
useSetPromptOverlay,
|
|
134
118
|
useSetPromptOverlayDialog,
|
|
135
119
|
useUnseenDivider
|
|
136
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-vatz6gan.js";
|
|
121
|
+
import {
|
|
122
|
+
BackgroundTasksDialog,
|
|
123
|
+
enterTeammateView,
|
|
124
|
+
exitTeammateView,
|
|
125
|
+
init_BackgroundTasksDialog,
|
|
126
|
+
init_taskStatusUtils,
|
|
127
|
+
init_teammateViewHelpers,
|
|
128
|
+
isTerminalStatus,
|
|
129
|
+
shouldHideTasksFooter,
|
|
130
|
+
stopOrDismissAgent
|
|
131
|
+
} from "./chunk-7yfxza07.js";
|
|
132
|
+
import {
|
|
133
|
+
fromSDKCompactMetadata,
|
|
134
|
+
init_mappers
|
|
135
|
+
} from "./chunk-djzvjzdg.js";
|
|
136
|
+
import {
|
|
137
|
+
init_Dialog
|
|
138
|
+
} from "./chunk-w5j0dhpp.js";
|
|
139
|
+
import {
|
|
140
|
+
getResolvedLanguage,
|
|
141
|
+
init_language
|
|
142
|
+
} from "./chunk-wj0c0zfa.js";
|
|
137
143
|
import {
|
|
138
144
|
MCPConnectionManager,
|
|
139
145
|
filterPermissionRelayClients,
|
|
@@ -141,16 +147,16 @@ import {
|
|
|
141
147
|
init_channelPermissions,
|
|
142
148
|
shortRequestId,
|
|
143
149
|
truncateForPreview
|
|
144
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-admwpsa6.js";
|
|
145
151
|
import {
|
|
146
152
|
init_pluginAutoupdate,
|
|
147
153
|
onPluginsAutoUpdated
|
|
148
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-ffvja87d.js";
|
|
149
155
|
import {
|
|
150
156
|
CHANNEL_PERMISSION_REQUEST_METHOD,
|
|
151
157
|
findChannelEntry,
|
|
152
158
|
init_channelNotification
|
|
153
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-yvgmpc5z.js";
|
|
154
160
|
import {
|
|
155
161
|
$toString,
|
|
156
162
|
init_server
|
|
@@ -158,18 +164,11 @@ import {
|
|
|
158
164
|
import {
|
|
159
165
|
init_useSettingsErrors,
|
|
160
166
|
useSettingsErrors
|
|
161
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-att0rknb.js";
|
|
162
168
|
import {
|
|
163
169
|
detectUnreachableRules,
|
|
164
170
|
init_shadowedRuleDetection
|
|
165
|
-
} from "./chunk-
|
|
166
|
-
import {
|
|
167
|
-
PromptInputHelpMenu,
|
|
168
|
-
init_PromptInputHelpMenu,
|
|
169
|
-
init_utils as init_utils3,
|
|
170
|
-
isNonSpacePrintable,
|
|
171
|
-
isVimModeEnabled
|
|
172
|
-
} from "./chunk-s95y1wsx.js";
|
|
171
|
+
} from "./chunk-4qjh89qr.js";
|
|
173
172
|
import {
|
|
174
173
|
editFileInEditor,
|
|
175
174
|
editPromptInEditor,
|
|
@@ -177,11 +176,30 @@ import {
|
|
|
177
176
|
init_editor,
|
|
178
177
|
init_promptEditor,
|
|
179
178
|
openFileInExternalEditor
|
|
180
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-q19p9j0v.js";
|
|
180
|
+
import {
|
|
181
|
+
PromptInputHelpMenu,
|
|
182
|
+
init_PromptInputHelpMenu,
|
|
183
|
+
init_utils as init_utils3,
|
|
184
|
+
isNonSpacePrintable,
|
|
185
|
+
isVimModeEnabled
|
|
186
|
+
} from "./chunk-dv4dsh0t.js";
|
|
187
|
+
import {
|
|
188
|
+
clearConversation,
|
|
189
|
+
init_conversation
|
|
190
|
+
} from "./chunk-4brmjvph.js";
|
|
191
|
+
import {
|
|
192
|
+
applyFileSuggestion,
|
|
193
|
+
findLongestCommonPrefix,
|
|
194
|
+
generateFileSuggestions,
|
|
195
|
+
init_fileSuggestions,
|
|
196
|
+
onIndexBuildComplete,
|
|
197
|
+
startBackgroundCacheRefresh
|
|
198
|
+
} from "./chunk-hyz9tx05.js";
|
|
181
199
|
import {
|
|
182
200
|
init_bridgeEnabled,
|
|
183
201
|
isBridgeEnabled
|
|
184
|
-
} from "./chunk-
|
|
202
|
+
} from "./chunk-yxr0yf6h.js";
|
|
185
203
|
import {
|
|
186
204
|
ModelPicker,
|
|
187
205
|
effortLevelToSymbol,
|
|
@@ -190,51 +208,43 @@ import {
|
|
|
190
208
|
init_ModelPicker,
|
|
191
209
|
init_extraUsage,
|
|
192
210
|
isBilledAsExtraUsage
|
|
193
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-4h9ek408.js";
|
|
194
212
|
import {
|
|
195
213
|
init_useSearchInput,
|
|
196
214
|
useSearchInput
|
|
197
|
-
} from "./chunk-
|
|
198
|
-
import {
|
|
199
|
-
init_Feedback,
|
|
200
|
-
redactSensitiveInfo
|
|
201
|
-
} from "./chunk-ebzv9705.js";
|
|
202
|
-
import {
|
|
203
|
-
clearConversation,
|
|
204
|
-
init_conversation
|
|
205
|
-
} from "./chunk-y0fvv8rp.js";
|
|
206
|
-
import {
|
|
207
|
-
applyFileSuggestion,
|
|
208
|
-
findLongestCommonPrefix,
|
|
209
|
-
generateFileSuggestions,
|
|
210
|
-
init_fileSuggestions,
|
|
211
|
-
onIndexBuildComplete,
|
|
212
|
-
startBackgroundCacheRefresh
|
|
213
|
-
} from "./chunk-deatxv64.js";
|
|
215
|
+
} from "./chunk-yf5qwpnp.js";
|
|
214
216
|
import {
|
|
215
217
|
getDirectoryCompletions,
|
|
216
218
|
getPathCompletions,
|
|
217
219
|
init_directoryCompletion,
|
|
218
220
|
isPathLikeToken
|
|
219
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-nzfwsrd7.js";
|
|
220
222
|
import {
|
|
221
223
|
PromptInputFooterSuggestions,
|
|
222
224
|
init_PromptInputFooterSuggestions
|
|
223
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-yrs92qya.js";
|
|
224
226
|
import {
|
|
225
227
|
findBtwTriggerPositions,
|
|
226
228
|
init_sideQuestion
|
|
227
|
-
} from "./chunk-
|
|
229
|
+
} from "./chunk-cwwfyvbq.js";
|
|
230
|
+
import {
|
|
231
|
+
init_Feedback,
|
|
232
|
+
redactSensitiveInfo
|
|
233
|
+
} from "./chunk-0xth516w.js";
|
|
234
|
+
import {
|
|
235
|
+
attachNdjsonFramer,
|
|
236
|
+
init_ndjsonFramer
|
|
237
|
+
} from "./chunk-r854e43q.js";
|
|
228
238
|
import {
|
|
229
239
|
checkAndDisableBypassPermissionsIfNeeded,
|
|
230
240
|
init_bypassPermissionsKillswitch,
|
|
231
241
|
useKickOffCheckAndDisableAutoModeIfNeeded,
|
|
232
242
|
useKickOffCheckAndDisableBypassPermissionsIfNeeded
|
|
233
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-jaqtnpbt.js";
|
|
234
244
|
import {
|
|
235
245
|
init_useMainLoopModel,
|
|
236
246
|
useMainLoopModel
|
|
237
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-760hjt0a.js";
|
|
238
248
|
import {
|
|
239
249
|
AGENT_COLORS,
|
|
240
250
|
AGENT_COLOR_TO_THEME_COLOR,
|
|
@@ -323,7 +333,6 @@ import {
|
|
|
323
333
|
archiveRemoteSession,
|
|
324
334
|
asAgentId,
|
|
325
335
|
asSessionId,
|
|
326
|
-
asSystemPrompt,
|
|
327
336
|
assembleToolPool,
|
|
328
337
|
axolotl,
|
|
329
338
|
backgroundAll,
|
|
@@ -362,12 +371,14 @@ import {
|
|
|
362
371
|
createApiMetricsMessage,
|
|
363
372
|
createAssistantMessage,
|
|
364
373
|
createAttachmentMessage,
|
|
374
|
+
createAutonomyQueuedPrompt,
|
|
365
375
|
createAwaySummaryMessage,
|
|
366
376
|
createBaseHookInput,
|
|
367
377
|
createCommandInputMessage,
|
|
368
378
|
createIdleNotification,
|
|
369
379
|
createModeSetRequestMessage,
|
|
370
380
|
createPermissionRequest,
|
|
381
|
+
createProactiveAutonomyCommands,
|
|
371
382
|
createPromptRuleContent,
|
|
372
383
|
createScheduledTaskFireMessage,
|
|
373
384
|
createSystemMessage,
|
|
@@ -415,6 +426,8 @@ import {
|
|
|
415
426
|
fileHistoryMakeSnapshot,
|
|
416
427
|
fileHistoryRestoreStateFromLog,
|
|
417
428
|
fileHistoryRewind,
|
|
429
|
+
finalizeAutonomyRunCompleted,
|
|
430
|
+
finalizeAutonomyRunFailed,
|
|
418
431
|
findActualString,
|
|
419
432
|
findInProcessTeammateTaskId,
|
|
420
433
|
findTeammateTaskByAgentId,
|
|
@@ -590,6 +603,7 @@ import {
|
|
|
590
603
|
init_argumentSubstitution,
|
|
591
604
|
init_attachments,
|
|
592
605
|
init_autoCompact,
|
|
606
|
+
init_autonomyRuns,
|
|
593
607
|
init_bashClassifier,
|
|
594
608
|
init_bashPermissions,
|
|
595
609
|
init_bridgeStatusUtil,
|
|
@@ -711,7 +725,6 @@ import {
|
|
|
711
725
|
init_sessionMemoryUtils,
|
|
712
726
|
init_sessionStart,
|
|
713
727
|
init_sessionStorage,
|
|
714
|
-
init_shellQuote,
|
|
715
728
|
init_shellRuleMatching,
|
|
716
729
|
init_shortcutFormat,
|
|
717
730
|
init_shouldUseSandbox,
|
|
@@ -759,6 +772,7 @@ import {
|
|
|
759
772
|
isAutoCompactEnabled,
|
|
760
773
|
isAutoManagedMemoryFile,
|
|
761
774
|
isBackgroundTask,
|
|
775
|
+
isBgSession,
|
|
762
776
|
isChainParticipant,
|
|
763
777
|
isClassifierPermissionsEnabled,
|
|
764
778
|
isCommandEnabled,
|
|
@@ -814,6 +828,8 @@ import {
|
|
|
814
828
|
logSuggestionSuppressed,
|
|
815
829
|
makeHistoryReader,
|
|
816
830
|
markAgentsNotified,
|
|
831
|
+
markAutonomyRunFailed,
|
|
832
|
+
markAutonomyRunRunning,
|
|
817
833
|
markGitUnavailable,
|
|
818
834
|
markHintPluginShown,
|
|
819
835
|
markMessagesAsRead,
|
|
@@ -853,7 +869,6 @@ import {
|
|
|
853
869
|
queryHaiku,
|
|
854
870
|
queryModelWithoutStreaming,
|
|
855
871
|
queuePendingMessage,
|
|
856
|
-
quote,
|
|
857
872
|
rabbit,
|
|
858
873
|
readCapped,
|
|
859
874
|
readUnreadMessages,
|
|
@@ -915,11 +930,11 @@ import {
|
|
|
915
930
|
toRGBColor,
|
|
916
931
|
tokenCountFromLastAPIResponse,
|
|
917
932
|
transitionPermissionMode,
|
|
918
|
-
tryParseShellCommand,
|
|
919
933
|
turtle,
|
|
920
934
|
uniqBy_default,
|
|
921
935
|
unregisterLeaderSetToolPermissionContext,
|
|
922
936
|
unregisterLeaderToolUseConfirmQueue,
|
|
937
|
+
updateSessionActivity,
|
|
923
938
|
updateSessionName,
|
|
924
939
|
updateTaskState,
|
|
925
940
|
useAppState,
|
|
@@ -945,14 +960,10 @@ import {
|
|
|
945
960
|
verifyApiKey,
|
|
946
961
|
withMemoryCorrectionHint,
|
|
947
962
|
writeToMailbox
|
|
948
|
-
} from "./chunk-
|
|
963
|
+
} from "./chunk-c092k38b.js";
|
|
949
964
|
import {
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
} from "./chunk-z6gvvfmf.js";
|
|
953
|
-
import {
|
|
954
|
-
init_commitAttribution
|
|
955
|
-
} from "./chunk-5km8j211.js";
|
|
965
|
+
asSystemPrompt
|
|
966
|
+
} from "./chunk-m1xw79dd.js";
|
|
956
967
|
import {
|
|
957
968
|
DEFAULT_TASKS_MODE_TASK_LIST_ID,
|
|
958
969
|
claimTask,
|
|
@@ -972,17 +983,29 @@ import {
|
|
|
972
983
|
syncTeammateMode,
|
|
973
984
|
unassignTeammateTasks,
|
|
974
985
|
updateTask
|
|
975
|
-
} from "./chunk-
|
|
986
|
+
} from "./chunk-8pskaz4y.js";
|
|
987
|
+
import {
|
|
988
|
+
init_undercover,
|
|
989
|
+
isUndercover
|
|
990
|
+
} from "./chunk-a5w8nyhg.js";
|
|
991
|
+
import {
|
|
992
|
+
init_commitAttribution
|
|
993
|
+
} from "./chunk-s2n5kxm0.js";
|
|
976
994
|
import {
|
|
977
995
|
CLAUDE_IN_CHROME_MCP_SERVER_NAME,
|
|
978
996
|
init_common,
|
|
979
997
|
isTrackedClaudeInChromeTabId
|
|
980
|
-
} from "./chunk-
|
|
998
|
+
} from "./chunk-sv7afh51.js";
|
|
999
|
+
import {
|
|
1000
|
+
init_shellQuote,
|
|
1001
|
+
quote,
|
|
1002
|
+
tryParseShellCommand
|
|
1003
|
+
} from "./chunk-j7b884wk.js";
|
|
981
1004
|
import {
|
|
982
1005
|
init_useDoublePress,
|
|
983
1006
|
init_useExitOnCtrlCDWithKeybindings,
|
|
984
1007
|
useExitOnCtrlCDWithKeybindings
|
|
985
|
-
} from "./chunk-
|
|
1008
|
+
} from "./chunk-qgajfxr7.js";
|
|
986
1009
|
import {
|
|
987
1010
|
READ_FILE_STATE_CACHE_SIZE,
|
|
988
1011
|
createFileStateCacheWithSizeLimit,
|
|
@@ -994,43 +1017,43 @@ import {
|
|
|
994
1017
|
init_projectOnboardingState,
|
|
995
1018
|
init_terminalSetup,
|
|
996
1019
|
maybeMarkProjectOnboardingComplete
|
|
997
|
-
} from "./chunk-
|
|
1020
|
+
} from "./chunk-a0qhdfct.js";
|
|
998
1021
|
import {
|
|
999
1022
|
init_useKeybinding
|
|
1000
|
-
} from "./chunk-
|
|
1023
|
+
} from "./chunk-rd2884ff.js";
|
|
1001
1024
|
import {
|
|
1002
1025
|
hasVoiceAuth,
|
|
1003
1026
|
init_voiceModeEnabled,
|
|
1004
1027
|
isVoiceGrowthBookEnabled
|
|
1005
|
-
} from "./chunk-
|
|
1028
|
+
} from "./chunk-fnpd8cnq.js";
|
|
1006
1029
|
import {
|
|
1007
1030
|
IT2_COMMAND,
|
|
1008
1031
|
init_detection,
|
|
1009
1032
|
isInsideTmux,
|
|
1010
1033
|
isInsideTmuxSync
|
|
1011
|
-
} from "./chunk-
|
|
1034
|
+
} from "./chunk-wxa2hdfg.js";
|
|
1012
1035
|
import {
|
|
1013
1036
|
TEAM_LEAD_NAME,
|
|
1014
1037
|
TMUX_COMMAND,
|
|
1015
1038
|
getSwarmSocketName,
|
|
1016
1039
|
init_constants as init_constants7
|
|
1017
1040
|
} from "./chunk-4jm600zv.js";
|
|
1018
|
-
import {
|
|
1019
|
-
init_browser,
|
|
1020
|
-
openBrowser
|
|
1021
|
-
} from "./chunk-2dsqf7sp.js";
|
|
1022
1041
|
import {
|
|
1023
1042
|
getOAuthHeaders,
|
|
1024
1043
|
init_api,
|
|
1025
1044
|
prepareApiRequest,
|
|
1026
1045
|
updateSessionTitle
|
|
1027
|
-
} from "./chunk-
|
|
1046
|
+
} from "./chunk-fdbvcs34.js";
|
|
1047
|
+
import {
|
|
1048
|
+
init_browser,
|
|
1049
|
+
openBrowser
|
|
1050
|
+
} from "./chunk-f57cvf1d.js";
|
|
1028
1051
|
import {
|
|
1029
1052
|
endInteractionSpan,
|
|
1030
1053
|
init_events,
|
|
1031
1054
|
init_sessionTracing,
|
|
1032
1055
|
logOTelEvent
|
|
1033
|
-
} from "./chunk-
|
|
1056
|
+
} from "./chunk-xahpt5e2.js";
|
|
1034
1057
|
import {
|
|
1035
1058
|
ALLOWED_OFFICIAL_MARKETPLACE_NAMES,
|
|
1036
1059
|
AwsAuthStatusManager,
|
|
@@ -1137,17 +1160,17 @@ import {
|
|
|
1137
1160
|
toExternalPermissionMode,
|
|
1138
1161
|
truncateToLines,
|
|
1139
1162
|
updateSettingsForSource
|
|
1140
|
-
} from "./chunk-
|
|
1163
|
+
} from "./chunk-p7es39d1.js";
|
|
1141
1164
|
import {
|
|
1142
1165
|
init_json,
|
|
1143
1166
|
safeParseJSON
|
|
1144
|
-
} from "./chunk-
|
|
1167
|
+
} from "./chunk-mkae8zj9.js";
|
|
1145
1168
|
import {
|
|
1146
1169
|
expandPath,
|
|
1147
1170
|
getDirectoryForPath,
|
|
1148
1171
|
init_path,
|
|
1149
1172
|
toRelativePath
|
|
1150
|
-
} from "./chunk-
|
|
1173
|
+
} from "./chunk-cxmyg49v.js";
|
|
1151
1174
|
import {
|
|
1152
1175
|
count,
|
|
1153
1176
|
getAgentName,
|
|
@@ -1170,7 +1193,7 @@ import {
|
|
|
1170
1193
|
import {
|
|
1171
1194
|
getPlatform,
|
|
1172
1195
|
init_platform
|
|
1173
|
-
} from "./chunk-
|
|
1196
|
+
} from "./chunk-0knhp7v5.js";
|
|
1174
1197
|
import {
|
|
1175
1198
|
init_v4
|
|
1176
1199
|
} from "./chunk-8g747a8x.js";
|
|
@@ -1181,14 +1204,16 @@ import {
|
|
|
1181
1204
|
extractCommandArguments,
|
|
1182
1205
|
init_parser,
|
|
1183
1206
|
parseCommand
|
|
1184
|
-
} from "./chunk-
|
|
1207
|
+
} from "./chunk-c7t69jmn.js";
|
|
1185
1208
|
import {
|
|
1186
1209
|
env,
|
|
1187
1210
|
getHostPlatformForAnalytics,
|
|
1211
|
+
init_env
|
|
1212
|
+
} from "./chunk-9qh5f9r3.js";
|
|
1213
|
+
import {
|
|
1188
1214
|
init_bundledMode,
|
|
1189
|
-
init_env,
|
|
1190
1215
|
isInBundledMode
|
|
1191
|
-
} from "./chunk-
|
|
1216
|
+
} from "./chunk-xhesahm0.js";
|
|
1192
1217
|
import {
|
|
1193
1218
|
getOauthConfig,
|
|
1194
1219
|
init_oauth
|
|
@@ -1201,7 +1226,7 @@ import {
|
|
|
1201
1226
|
formatTokens,
|
|
1202
1227
|
init_format,
|
|
1203
1228
|
truncateToWidth
|
|
1204
|
-
} from "./chunk-
|
|
1229
|
+
} from "./chunk-axenqvc8.js";
|
|
1205
1230
|
import {
|
|
1206
1231
|
firstGrapheme,
|
|
1207
1232
|
getGraphemeSegmenter,
|
|
@@ -1258,13 +1283,11 @@ import {
|
|
|
1258
1283
|
use_input_default,
|
|
1259
1284
|
use_stdin_default,
|
|
1260
1285
|
wrapText
|
|
1261
|
-
} from "./chunk-
|
|
1262
|
-
import {
|
|
1263
|
-
require_jsx_dev_runtime
|
|
1264
|
-
} from "./chunk-vxnvzfnv.js";
|
|
1286
|
+
} from "./chunk-m9w972ny.js";
|
|
1265
1287
|
import {
|
|
1288
|
+
require_jsx_dev_runtime,
|
|
1266
1289
|
require_react
|
|
1267
|
-
} from "./chunk-
|
|
1290
|
+
} from "./chunk-b5wxetbv.js";
|
|
1268
1291
|
import {
|
|
1269
1292
|
init_analytics,
|
|
1270
1293
|
logEvent
|
|
@@ -1276,15 +1299,15 @@ import {
|
|
|
1276
1299
|
init_diagLogs,
|
|
1277
1300
|
init_git,
|
|
1278
1301
|
logForDiagnosticsNoPII
|
|
1279
|
-
} from "./chunk-
|
|
1302
|
+
} from "./chunk-9awawyvh.js";
|
|
1280
1303
|
import {
|
|
1281
1304
|
init_memoize,
|
|
1282
1305
|
memoizeWithLRU
|
|
1283
|
-
} from "./chunk-
|
|
1306
|
+
} from "./chunk-hqpzpr71.js";
|
|
1284
1307
|
import {
|
|
1285
1308
|
execFileNoThrow,
|
|
1286
1309
|
init_execFileNoThrow
|
|
1287
|
-
} from "./chunk-
|
|
1310
|
+
} from "./chunk-hnxmafvc.js";
|
|
1288
1311
|
import {
|
|
1289
1312
|
getCwd,
|
|
1290
1313
|
init_cwd
|
|
@@ -1302,34 +1325,32 @@ import {
|
|
|
1302
1325
|
init_log,
|
|
1303
1326
|
init_xml,
|
|
1304
1327
|
logError
|
|
1305
|
-
} from "./chunk-
|
|
1328
|
+
} from "./chunk-wd8mqz95.js";
|
|
1306
1329
|
import {
|
|
1307
1330
|
init_which,
|
|
1308
1331
|
which
|
|
1309
|
-
} from "./chunk-
|
|
1332
|
+
} from "./chunk-vsbyhpfy.js";
|
|
1310
1333
|
import {
|
|
1311
1334
|
figures_default,
|
|
1312
1335
|
init_figures
|
|
1313
1336
|
} from "./chunk-qajrkk97.js";
|
|
1314
1337
|
import {
|
|
1338
|
+
AbortError,
|
|
1339
|
+
errorMessage,
|
|
1315
1340
|
getFsImplementation,
|
|
1316
1341
|
init_cleanupRegistry,
|
|
1317
1342
|
init_debug,
|
|
1343
|
+
init_errors,
|
|
1318
1344
|
init_fsOperations,
|
|
1319
1345
|
init_slowOperations,
|
|
1346
|
+
isENOENT,
|
|
1320
1347
|
jsonParse,
|
|
1321
1348
|
jsonStringify,
|
|
1322
1349
|
logForDebugging,
|
|
1323
1350
|
registerCleanup,
|
|
1324
|
-
safeResolvePath
|
|
1325
|
-
} from "./chunk-kmgp6prw.js";
|
|
1326
|
-
import {
|
|
1327
|
-
AbortError,
|
|
1328
|
-
errorMessage,
|
|
1329
|
-
init_errors,
|
|
1330
|
-
isENOENT,
|
|
1351
|
+
safeResolvePath,
|
|
1331
1352
|
toError
|
|
1332
|
-
} from "./chunk-
|
|
1353
|
+
} from "./chunk-5khwvj1z.js";
|
|
1333
1354
|
import {
|
|
1334
1355
|
createSignal,
|
|
1335
1356
|
getAllowedChannels,
|
|
@@ -2491,12 +2512,15 @@ function useProactive(opts) {
|
|
|
2491
2512
|
scheduleTick();
|
|
2492
2513
|
return;
|
|
2493
2514
|
}
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2515
|
+
(async () => {
|
|
2516
|
+
const commands = await createProactiveAutonomyCommands({
|
|
2517
|
+
basePrompt: `<${TICK_TAG}>${new Date().toLocaleTimeString()}</${TICK_TAG}>`,
|
|
2518
|
+
currentDir: getCwd()
|
|
2519
|
+
});
|
|
2520
|
+
for (const command of commands) {
|
|
2521
|
+
optsRef.current.onQueueTick(command);
|
|
2522
|
+
}
|
|
2523
|
+
})();
|
|
2500
2524
|
scheduleTick();
|
|
2501
2525
|
}, TICK_INTERVAL_MS);
|
|
2502
2526
|
}
|
|
@@ -2517,6 +2541,8 @@ function useProactive(opts) {
|
|
|
2517
2541
|
var import_react125, TICK_INTERVAL_MS = 30000;
|
|
2518
2542
|
var init_useProactive = __esm(() => {
|
|
2519
2543
|
init_xml();
|
|
2544
|
+
init_cwd();
|
|
2545
|
+
init_autonomyRuns();
|
|
2520
2546
|
init_proactive();
|
|
2521
2547
|
import_react125 = __toESM(require_react(), 1);
|
|
2522
2548
|
});
|
|
@@ -2538,29 +2564,66 @@ function useScheduledTasks({
|
|
|
2538
2564
|
import_react126.useEffect(() => {
|
|
2539
2565
|
if (!isKairosCronEnabled())
|
|
2540
2566
|
return;
|
|
2541
|
-
const enqueueForLead = (prompt) =>
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2567
|
+
const enqueueForLead = async (prompt) => {
|
|
2568
|
+
const command = await createAutonomyQueuedPrompt({
|
|
2569
|
+
basePrompt: prompt,
|
|
2570
|
+
trigger: "scheduled-task",
|
|
2571
|
+
currentDir: getCwd(),
|
|
2572
|
+
workload: WORKLOAD_CRON
|
|
2573
|
+
});
|
|
2574
|
+
if (!command) {
|
|
2575
|
+
return;
|
|
2576
|
+
}
|
|
2577
|
+
enqueuePendingNotification(command);
|
|
2578
|
+
};
|
|
2548
2579
|
const scheduler = createCronScheduler({
|
|
2549
|
-
onFire:
|
|
2580
|
+
onFire: (prompt) => {
|
|
2581
|
+
enqueueForLead(prompt);
|
|
2582
|
+
},
|
|
2550
2583
|
onFireTask: (task) => {
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2584
|
+
(async () => {
|
|
2585
|
+
if (task.agentId) {
|
|
2586
|
+
const teammate = findTeammateTaskByAgentId(task.agentId, store.getState().tasks);
|
|
2587
|
+
if (teammate && !isTerminalTaskStatus(teammate.status)) {
|
|
2588
|
+
const command2 = await createAutonomyQueuedPrompt({
|
|
2589
|
+
basePrompt: task.prompt,
|
|
2590
|
+
trigger: "scheduled-task",
|
|
2591
|
+
currentDir: getCwd(),
|
|
2592
|
+
sourceId: task.id,
|
|
2593
|
+
sourceLabel: task.prompt,
|
|
2594
|
+
workload: WORKLOAD_CRON
|
|
2595
|
+
});
|
|
2596
|
+
if (!command2) {
|
|
2597
|
+
return;
|
|
2598
|
+
}
|
|
2599
|
+
const injected = injectUserMessageToTeammate(teammate.id, command2.value, {
|
|
2600
|
+
autonomyRunId: command2.autonomy?.runId,
|
|
2601
|
+
origin: command2.origin
|
|
2602
|
+
}, setAppState);
|
|
2603
|
+
if (!injected && command2.autonomy?.runId) {
|
|
2604
|
+
await markAutonomyRunFailed(command2.autonomy.runId, `Teammate ${task.agentId} exited before the scheduled message could be delivered.`);
|
|
2605
|
+
}
|
|
2606
|
+
return;
|
|
2607
|
+
}
|
|
2608
|
+
logForDebugging(`[ScheduledTasks] teammate ${task.agentId} gone, removing orphaned cron ${task.id}`);
|
|
2609
|
+
removeCronTasks([task.id]);
|
|
2555
2610
|
return;
|
|
2556
2611
|
}
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2612
|
+
const command = await createAutonomyQueuedPrompt({
|
|
2613
|
+
basePrompt: task.prompt,
|
|
2614
|
+
trigger: "scheduled-task",
|
|
2615
|
+
currentDir: getCwd(),
|
|
2616
|
+
sourceId: task.id,
|
|
2617
|
+
sourceLabel: task.prompt,
|
|
2618
|
+
workload: WORKLOAD_CRON
|
|
2619
|
+
});
|
|
2620
|
+
if (!command) {
|
|
2621
|
+
return;
|
|
2622
|
+
}
|
|
2623
|
+
const msg = createScheduledTaskFireMessage(`Running scheduled task (${formatCronFireTime(new Date)})`);
|
|
2624
|
+
setMessages((prev) => [...prev, msg]);
|
|
2625
|
+
enqueuePendingNotification(command);
|
|
2626
|
+
})();
|
|
2564
2627
|
},
|
|
2565
2628
|
isLoading: () => isLoadingRef.current,
|
|
2566
2629
|
assistantMode,
|
|
@@ -2585,9 +2648,12 @@ var init_useScheduledTasks = __esm(() => {
|
|
|
2585
2648
|
init_Task();
|
|
2586
2649
|
init_InProcessTeammateTask();
|
|
2587
2650
|
init_prompt3();
|
|
2651
|
+
init_cwd();
|
|
2588
2652
|
init_cronJitterConfig();
|
|
2589
2653
|
init_cronScheduler();
|
|
2590
2654
|
init_cronTasks();
|
|
2655
|
+
init_autonomyRuns();
|
|
2656
|
+
init_autonomyRuns();
|
|
2591
2657
|
init_debug();
|
|
2592
2658
|
init_messageQueueManager();
|
|
2593
2659
|
init_messages();
|
|
@@ -2637,6 +2703,7 @@ init_src();
|
|
|
2637
2703
|
init_exportRenderer();
|
|
2638
2704
|
init_editor();
|
|
2639
2705
|
init_src();
|
|
2706
|
+
import { spawnSync } from "child_process";
|
|
2640
2707
|
import { dirname, join as join6 } from "path";
|
|
2641
2708
|
import { tmpdir } from "os";
|
|
2642
2709
|
import { writeFile as writeFile3 } from "fs/promises";
|
|
@@ -2904,6 +2971,7 @@ class QueryGuard {
|
|
|
2904
2971
|
// src/screens/REPL.tsx
|
|
2905
2972
|
init_envUtils();
|
|
2906
2973
|
init_format();
|
|
2974
|
+
init_autonomyRuns();
|
|
2907
2975
|
init_teamHelpers();
|
|
2908
2976
|
init_permissionSync();
|
|
2909
2977
|
init_useSwarmPermissionPoller();
|
|
@@ -17859,30 +17927,11 @@ var import_react62 = __toESM(require_react(), 1);
|
|
|
17859
17927
|
// src/utils/pipeTransport.ts
|
|
17860
17928
|
init_envUtils();
|
|
17861
17929
|
init_log();
|
|
17930
|
+
init_ndjsonFramer();
|
|
17862
17931
|
import { createServer, createConnection } from "net";
|
|
17863
17932
|
import { mkdir, unlink, readdir, writeFile } from "fs/promises";
|
|
17864
17933
|
import { join as join2 } from "path";
|
|
17865
17934
|
import { EventEmitter } from "events";
|
|
17866
|
-
|
|
17867
|
-
// src/utils/ndjsonFramer.ts
|
|
17868
|
-
function attachNdjsonFramer(socket, onMessage, parse = (text) => JSON.parse(text)) {
|
|
17869
|
-
let buffer = "";
|
|
17870
|
-
socket.on("data", (chunk) => {
|
|
17871
|
-
buffer += chunk.toString();
|
|
17872
|
-
const lines = buffer.split(`
|
|
17873
|
-
`);
|
|
17874
|
-
buffer = lines.pop() ?? "";
|
|
17875
|
-
for (const line of lines) {
|
|
17876
|
-
if (!line.trim())
|
|
17877
|
-
continue;
|
|
17878
|
-
try {
|
|
17879
|
-
onMessage(parse(line));
|
|
17880
|
-
} catch {}
|
|
17881
|
-
}
|
|
17882
|
-
});
|
|
17883
|
-
}
|
|
17884
|
-
|
|
17885
|
-
// src/utils/pipeTransport.ts
|
|
17886
17935
|
function getPipesDir() {
|
|
17887
17936
|
return join2(getClaudeConfigHomeDir(), "pipes");
|
|
17888
17937
|
}
|
|
@@ -24200,6 +24249,7 @@ function useTeammateViewAutoExit() {
|
|
|
24200
24249
|
init_errors();
|
|
24201
24250
|
init_messagePredicates();
|
|
24202
24251
|
init_log();
|
|
24252
|
+
init_cwd();
|
|
24203
24253
|
|
|
24204
24254
|
// src/hooks/useCanUseTool.tsx
|
|
24205
24255
|
init_sdk();
|
|
@@ -24255,10 +24305,13 @@ import { randomUUID as randomUUID7 } from "crypto";
|
|
|
24255
24305
|
import { randomUUID as randomUUID6 } from "crypto";
|
|
24256
24306
|
var pendingPipePermissions = new Map;
|
|
24257
24307
|
var _pipeRelay = null;
|
|
24308
|
+
var _relayMuted = false;
|
|
24258
24309
|
function getPipeSender() {
|
|
24259
24310
|
return _pipeRelay ?? null;
|
|
24260
24311
|
}
|
|
24261
24312
|
function tryRelayPipePermissionRequest(toolUseConfirm, onResponse) {
|
|
24313
|
+
if (_relayMuted)
|
|
24314
|
+
return null;
|
|
24262
24315
|
const send = getPipeSender();
|
|
24263
24316
|
if (!send)
|
|
24264
24317
|
return null;
|
|
@@ -24284,6 +24337,8 @@ function forgetPipePermissionRequest(requestId) {
|
|
|
24284
24337
|
function notifyPipePermissionCancel(requestId, reason) {
|
|
24285
24338
|
if (!requestId)
|
|
24286
24339
|
return;
|
|
24340
|
+
if (_relayMuted)
|
|
24341
|
+
return;
|
|
24287
24342
|
const send = getPipeSender();
|
|
24288
24343
|
if (!send)
|
|
24289
24344
|
return;
|
|
@@ -24959,6 +25014,7 @@ init_fileHistory();
|
|
|
24959
25014
|
init_gracefulShutdown();
|
|
24960
25015
|
init_messageQueueManager();
|
|
24961
25016
|
init_model();
|
|
25017
|
+
init_autonomyRuns();
|
|
24962
25018
|
init_queryProfiler();
|
|
24963
25019
|
init_workloadContext();
|
|
24964
25020
|
function exit() {
|
|
@@ -25180,89 +25236,118 @@ async function executeUserInput(params) {
|
|
|
25180
25236
|
const commands = queuedCommands ?? [];
|
|
25181
25237
|
const firstWorkload = commands[0]?.workload;
|
|
25182
25238
|
const turnWorkload = firstWorkload !== undefined && commands.every((c) => c.workload === firstWorkload) ? firstWorkload : undefined;
|
|
25183
|
-
|
|
25184
|
-
|
|
25185
|
-
|
|
25186
|
-
|
|
25187
|
-
|
|
25188
|
-
|
|
25189
|
-
|
|
25190
|
-
|
|
25191
|
-
|
|
25192
|
-
|
|
25193
|
-
|
|
25194
|
-
|
|
25195
|
-
|
|
25196
|
-
|
|
25197
|
-
|
|
25198
|
-
|
|
25199
|
-
|
|
25200
|
-
|
|
25201
|
-
|
|
25202
|
-
|
|
25203
|
-
|
|
25204
|
-
|
|
25205
|
-
|
|
25206
|
-
|
|
25207
|
-
|
|
25208
|
-
|
|
25209
|
-
|
|
25210
|
-
|
|
25239
|
+
let autonomyRunIds;
|
|
25240
|
+
try {
|
|
25241
|
+
await runWithWorkload(turnWorkload, async () => {
|
|
25242
|
+
for (let i = 0;i < commands.length; i++) {
|
|
25243
|
+
const cmd = commands[i];
|
|
25244
|
+
const isFirst = i === 0;
|
|
25245
|
+
if (cmd.autonomy?.runId) {
|
|
25246
|
+
(autonomyRunIds ??= []).push(cmd.autonomy.runId);
|
|
25247
|
+
await markAutonomyRunRunning(cmd.autonomy.runId);
|
|
25248
|
+
}
|
|
25249
|
+
const result = await processUserInput({
|
|
25250
|
+
input: cmd.value,
|
|
25251
|
+
preExpansionInput: cmd.preExpansionValue,
|
|
25252
|
+
mode: cmd.mode,
|
|
25253
|
+
setToolJSX,
|
|
25254
|
+
context: makeContext(),
|
|
25255
|
+
pastedContents: isFirst ? cmd.pastedContents : undefined,
|
|
25256
|
+
messages,
|
|
25257
|
+
setUserInputOnProcessing: isFirst ? setUserInputOnProcessing : undefined,
|
|
25258
|
+
isAlreadyProcessing: !isFirst,
|
|
25259
|
+
querySource,
|
|
25260
|
+
canUseTool,
|
|
25261
|
+
uuid: cmd.uuid,
|
|
25262
|
+
ideSelection: isFirst ? ideSelection : undefined,
|
|
25263
|
+
skipSlashCommands: cmd.skipSlashCommands,
|
|
25264
|
+
bridgeOrigin: cmd.bridgeOrigin,
|
|
25265
|
+
isMeta: cmd.isMeta,
|
|
25266
|
+
skipAttachments: !isFirst
|
|
25267
|
+
});
|
|
25268
|
+
const origin = cmd.origin ?? (cmd.mode === "task-notification" ? { kind: "task-notification" } : undefined);
|
|
25269
|
+
if (origin) {
|
|
25270
|
+
for (const m of result.messages) {
|
|
25271
|
+
if (m.type === "user")
|
|
25272
|
+
m.origin = origin;
|
|
25273
|
+
}
|
|
25274
|
+
}
|
|
25275
|
+
newMessages.push(...result.messages);
|
|
25276
|
+
if (isFirst) {
|
|
25277
|
+
shouldQuery = result.shouldQuery;
|
|
25278
|
+
allowedTools = result.allowedTools;
|
|
25279
|
+
model = result.model;
|
|
25280
|
+
effort = result.effort;
|
|
25281
|
+
nextInput = result.nextInput;
|
|
25282
|
+
submitNextInput = result.submitNextInput;
|
|
25211
25283
|
}
|
|
25212
25284
|
}
|
|
25213
|
-
|
|
25214
|
-
if (
|
|
25215
|
-
|
|
25216
|
-
|
|
25217
|
-
|
|
25218
|
-
|
|
25219
|
-
|
|
25220
|
-
|
|
25285
|
+
queryCheckpoint("query_process_user_input_end");
|
|
25286
|
+
if (fileHistoryEnabled()) {
|
|
25287
|
+
queryCheckpoint("query_file_history_snapshot_start");
|
|
25288
|
+
newMessages.filter(selectableUserMessagesFilter).forEach((message) => {
|
|
25289
|
+
fileHistoryMakeSnapshot((updater) => {
|
|
25290
|
+
setAppState((prev) => ({
|
|
25291
|
+
...prev,
|
|
25292
|
+
fileHistory: updater(prev.fileHistory)
|
|
25293
|
+
}));
|
|
25294
|
+
}, message.uuid);
|
|
25295
|
+
});
|
|
25296
|
+
queryCheckpoint("query_file_history_snapshot_end");
|
|
25221
25297
|
}
|
|
25222
|
-
|
|
25223
|
-
|
|
25224
|
-
|
|
25225
|
-
|
|
25226
|
-
|
|
25227
|
-
|
|
25228
|
-
|
|
25229
|
-
|
|
25230
|
-
|
|
25231
|
-
|
|
25232
|
-
|
|
25233
|
-
|
|
25234
|
-
queryCheckpoint("query_file_history_snapshot_end");
|
|
25235
|
-
}
|
|
25236
|
-
if (newMessages.length) {
|
|
25237
|
-
resetHistory();
|
|
25238
|
-
setToolJSX({
|
|
25239
|
-
jsx: null,
|
|
25240
|
-
shouldHidePromptInput: false,
|
|
25241
|
-
clearLocalJSX: true
|
|
25242
|
-
});
|
|
25243
|
-
const primaryCmd = commands[0];
|
|
25244
|
-
const primaryMode = primaryCmd?.mode ?? "prompt";
|
|
25245
|
-
const primaryInput = primaryCmd && typeof primaryCmd.value === "string" ? primaryCmd.value : undefined;
|
|
25246
|
-
const shouldCallBeforeQuery = primaryMode === "prompt";
|
|
25247
|
-
await onQuery(newMessages, abortController, shouldQuery, allowedTools ?? [], model ? resolveSkillModelOverride(model, mainLoopModel) : mainLoopModel, shouldCallBeforeQuery ? onBeforeQuery : undefined, primaryInput, effort);
|
|
25248
|
-
} else {
|
|
25249
|
-
queryGuard.cancelReservation();
|
|
25250
|
-
setToolJSX({
|
|
25251
|
-
jsx: null,
|
|
25252
|
-
shouldHidePromptInput: false,
|
|
25253
|
-
clearLocalJSX: true
|
|
25254
|
-
});
|
|
25255
|
-
resetHistory();
|
|
25256
|
-
setAbortController(null);
|
|
25257
|
-
}
|
|
25258
|
-
if (nextInput) {
|
|
25259
|
-
if (submitNextInput) {
|
|
25260
|
-
enqueue({ value: nextInput, mode: "prompt" });
|
|
25298
|
+
if (newMessages.length) {
|
|
25299
|
+
resetHistory();
|
|
25300
|
+
setToolJSX({
|
|
25301
|
+
jsx: null,
|
|
25302
|
+
shouldHidePromptInput: false,
|
|
25303
|
+
clearLocalJSX: true
|
|
25304
|
+
});
|
|
25305
|
+
const primaryCmd = commands[0];
|
|
25306
|
+
const primaryMode = primaryCmd?.mode ?? "prompt";
|
|
25307
|
+
const primaryInput = primaryCmd && typeof primaryCmd.value === "string" ? primaryCmd.value : undefined;
|
|
25308
|
+
const shouldCallBeforeQuery = primaryMode === "prompt";
|
|
25309
|
+
await onQuery(newMessages, abortController, shouldQuery, allowedTools ?? [], model ? resolveSkillModelOverride(model, mainLoopModel) : mainLoopModel, shouldCallBeforeQuery ? onBeforeQuery : undefined, primaryInput, effort);
|
|
25261
25310
|
} else {
|
|
25262
|
-
|
|
25311
|
+
queryGuard.cancelReservation();
|
|
25312
|
+
setToolJSX({
|
|
25313
|
+
jsx: null,
|
|
25314
|
+
shouldHidePromptInput: false,
|
|
25315
|
+
clearLocalJSX: true
|
|
25316
|
+
});
|
|
25317
|
+
resetHistory();
|
|
25318
|
+
setAbortController(null);
|
|
25319
|
+
}
|
|
25320
|
+
if (nextInput) {
|
|
25321
|
+
if (submitNextInput) {
|
|
25322
|
+
enqueue({ value: nextInput, mode: "prompt" });
|
|
25323
|
+
} else {
|
|
25324
|
+
params.onInputChange(nextInput);
|
|
25325
|
+
}
|
|
25326
|
+
}
|
|
25327
|
+
});
|
|
25328
|
+
if (autonomyRunIds?.length) {
|
|
25329
|
+
for (const runId of autonomyRunIds) {
|
|
25330
|
+
const nextCommands = await finalizeAutonomyRunCompleted({
|
|
25331
|
+
runId,
|
|
25332
|
+
priority: "later",
|
|
25333
|
+
workload: turnWorkload
|
|
25334
|
+
});
|
|
25335
|
+
for (const nextCommand of nextCommands) {
|
|
25336
|
+
enqueue(nextCommand);
|
|
25337
|
+
}
|
|
25263
25338
|
}
|
|
25264
25339
|
}
|
|
25265
|
-
})
|
|
25340
|
+
} catch (error) {
|
|
25341
|
+
if (autonomyRunIds?.length) {
|
|
25342
|
+
for (const runId of autonomyRunIds) {
|
|
25343
|
+
await finalizeAutonomyRunFailed({
|
|
25344
|
+
runId,
|
|
25345
|
+
error: String(error)
|
|
25346
|
+
});
|
|
25347
|
+
}
|
|
25348
|
+
}
|
|
25349
|
+
throw error;
|
|
25350
|
+
}
|
|
25266
25351
|
} finally {
|
|
25267
25352
|
queryGuard.cancelReservation();
|
|
25268
25353
|
setUserInputOnProcessing(undefined);
|
|
@@ -27760,15 +27845,19 @@ init_debug();
|
|
|
27760
27845
|
init_messages();
|
|
27761
27846
|
init_model();
|
|
27762
27847
|
init_systemPromptType();
|
|
27848
|
+
init_language();
|
|
27763
27849
|
init_claude();
|
|
27764
27850
|
init_sessionMemoryUtils();
|
|
27765
27851
|
var RECENT_MESSAGE_WINDOW = 30;
|
|
27852
|
+
var PROMPT_EN = "The user stepped away and is coming back. Write exactly 1-3 short sentences. Start by stating the high-level task \u2014 what they are building or debugging, not implementation details. Next: the concrete next step. Skip status reports and commit recaps.";
|
|
27853
|
+
var PROMPT_ZH = "\u7528\u6237\u79BB\u5F00\u540E\u56DE\u6765\u4E86\u3002\u7528\u4E2D\u6587\u5199 1-3 \u53E5\u8BDD\u3002\u5148\u8BF4\u660E\u7528\u6237\u5728\u505A\u4EC0\u4E48\uFF08\u9AD8\u5C42\u76EE\u6807\uFF0C\u4E0D\u662F\u5B9E\u73B0\u7EC6\u8282\uFF09\uFF0C\u7136\u540E\u8BF4\u660E\u4E0B\u4E00\u6B65\u5177\u4F53\u64CD\u4F5C\u3002\u4E0D\u8981\u5199\u72B6\u6001\u62A5\u544A\u6216\u63D0\u4EA4\u603B\u7ED3\u3002";
|
|
27766
27854
|
function buildAwaySummaryPrompt(memory) {
|
|
27767
27855
|
const memoryBlock = memory ? `Session memory (broader context):
|
|
27768
27856
|
${memory}
|
|
27769
27857
|
|
|
27770
27858
|
` : "";
|
|
27771
|
-
|
|
27859
|
+
const prompt = getResolvedLanguage() === "zh" ? PROMPT_ZH : PROMPT_EN;
|
|
27860
|
+
return `${memoryBlock}${prompt}`;
|
|
27772
27861
|
}
|
|
27773
27862
|
async function generateAwaySummary(messages, signal) {
|
|
27774
27863
|
if (messages.length === 0) {
|
|
@@ -31600,6 +31689,9 @@ var usePipeRelay = () => ({ relayPipeMessage: () => false, pipeReturnHadErrorRef
|
|
|
31600
31689
|
var usePipePermissionForward = () => {
|
|
31601
31690
|
return;
|
|
31602
31691
|
};
|
|
31692
|
+
var usePipeMuteSync = () => {
|
|
31693
|
+
return;
|
|
31694
|
+
};
|
|
31603
31695
|
var usePipeRouter = () => ({ routeToSelectedPipes: () => false });
|
|
31604
31696
|
var AntModelSwitchCallout2 = process.env.USER_TYPE === "ant" ? (init_AntModelSwitchCallout(), __toCommonJS(exports_AntModelSwitchCallout)).AntModelSwitchCallout : null;
|
|
31605
31697
|
var shouldShowAntModelSwitch = process.env.USER_TYPE === "ant" ? (init_AntModelSwitchCallout(), __toCommonJS(exports_AntModelSwitchCallout)).shouldShowModelSwitchCallout : () => false;
|
|
@@ -32052,9 +32144,9 @@ function REPL({
|
|
|
32052
32144
|
import_react128.useEffect(() => {
|
|
32053
32145
|
if (process.env.USER_TYPE === "ant") {
|
|
32054
32146
|
(async () => {
|
|
32055
|
-
const { isInternalModelRepo } = await import("./chunk-
|
|
32147
|
+
const { isInternalModelRepo } = await import("./chunk-j34h8cfj.js");
|
|
32056
32148
|
await isInternalModelRepo();
|
|
32057
|
-
const { shouldShowUndercoverAutoNotice } = await import("./chunk-
|
|
32149
|
+
const { shouldShowUndercoverAutoNotice } = await import("./chunk-swzfr1f5.js");
|
|
32058
32150
|
if (shouldShowUndercoverAutoNotice()) {
|
|
32059
32151
|
setShowUndercoverCallout(true);
|
|
32060
32152
|
}
|
|
@@ -32107,7 +32199,9 @@ function REPL({
|
|
|
32107
32199
|
const sessionStatus = isWaitingForApproval || isShowingLocalJSXCommand ? "waiting" : isLoading ? "busy" : "idle";
|
|
32108
32200
|
const waitingFor = sessionStatus !== "waiting" ? undefined : toolUseConfirmQueue.length > 0 ? `approve ${toolUseConfirmQueue[0].tool.name}` : pendingWorkerRequest ? "worker request" : pendingSandboxRequest ? "sandbox request" : isShowingLocalJSXCommand ? "dialog open" : "input needed";
|
|
32109
32201
|
import_react128.useEffect(() => {
|
|
32110
|
-
if (
|
|
32202
|
+
if (true) {
|
|
32203
|
+
updateSessionActivity({ status: sessionStatus, waitingFor });
|
|
32204
|
+
}
|
|
32111
32205
|
}, [sessionStatus, waitingFor]);
|
|
32112
32206
|
const tabStatusGateEnabled = getFeatureValue_CACHED_MAY_BE_STALE("tengu_terminal_sidebar", false);
|
|
32113
32207
|
const showStatusInTerminalTab = tabStatusGateEnabled && (getGlobalConfig().showStatusInTerminalTab ?? false);
|
|
@@ -32487,7 +32581,7 @@ function REPL({
|
|
|
32487
32581
|
saveCurrentSessionCosts();
|
|
32488
32582
|
resetCostState();
|
|
32489
32583
|
switchSession(asSessionId(sessionId), log.fullPath ? dirname(log.fullPath) : null);
|
|
32490
|
-
const { renameRecordingForSession } = await import("./chunk-
|
|
32584
|
+
const { renameRecordingForSession } = await import("./chunk-ewxpkqxt.js");
|
|
32491
32585
|
await renameRecordingForSession();
|
|
32492
32586
|
await resetSessionFilePointer();
|
|
32493
32587
|
clearSessionMetadata();
|
|
@@ -33336,7 +33430,7 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
33336
33430
|
async function processInitialMessage(initialMsg) {
|
|
33337
33431
|
if (initialMsg.clearContext) {
|
|
33338
33432
|
const oldPlanSlug = initialMsg.message.planContent ? getPlanSlug() : undefined;
|
|
33339
|
-
const { clearConversation: clearConversation2 } = await import("./chunk-
|
|
33433
|
+
const { clearConversation: clearConversation2 } = await import("./chunk-4mdqm8b7.js");
|
|
33340
33434
|
await clearConversation2({
|
|
33341
33435
|
setMessages,
|
|
33342
33436
|
readFileState: readFileState.current,
|
|
@@ -33354,21 +33448,13 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
33354
33448
|
setPlanSlug(getSessionId(), oldPlanSlug);
|
|
33355
33449
|
}
|
|
33356
33450
|
}
|
|
33357
|
-
const shouldStorePlanForVerification = initialMsg.message.planContent && process.env.USER_TYPE === "ant" && isEnvTruthy(undefined);
|
|
33358
33451
|
setAppState((prev) => {
|
|
33359
33452
|
let updatedToolPermissionContext = initialMsg.mode ? applyPermissionUpdates(prev.toolPermissionContext, buildPermissionUpdates(initialMsg.mode, initialMsg.allowedPrompts)) : prev.toolPermissionContext;
|
|
33360
33453
|
if (false) {}
|
|
33361
33454
|
return {
|
|
33362
33455
|
...prev,
|
|
33363
33456
|
initialMessage: null,
|
|
33364
|
-
toolPermissionContext: updatedToolPermissionContext
|
|
33365
|
-
...shouldStorePlanForVerification ? {
|
|
33366
|
-
pendingPlanVerification: {
|
|
33367
|
-
plan: initialMsg.message.planContent,
|
|
33368
|
-
verificationStarted: false,
|
|
33369
|
-
verificationCompleted: false
|
|
33370
|
-
}
|
|
33371
|
-
} : {}
|
|
33457
|
+
toolPermissionContext: updatedToolPermissionContext
|
|
33372
33458
|
};
|
|
33373
33459
|
});
|
|
33374
33460
|
if (fileHistoryEnabled()) {
|
|
@@ -33703,7 +33789,7 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
33703
33789
|
});
|
|
33704
33790
|
}
|
|
33705
33791
|
} else {
|
|
33706
|
-
injectUserMessageToTeammate(task.id, input, setAppState);
|
|
33792
|
+
injectUserMessageToTeammate(task.id, input, undefined, setAppState);
|
|
33707
33793
|
}
|
|
33708
33794
|
setInputValue("");
|
|
33709
33795
|
helpers.setCursorOffset(0);
|
|
@@ -33744,7 +33830,11 @@ Error: sandbox required but unavailable: ${reason}
|
|
|
33744
33830
|
}, []);
|
|
33745
33831
|
const handleExit = import_react128.useCallback(async () => {
|
|
33746
33832
|
setIsExiting(true);
|
|
33747
|
-
if (
|
|
33833
|
+
if (isBgSession()) {
|
|
33834
|
+
spawnSync("tmux", ["detach-client"], { stdio: "ignore" });
|
|
33835
|
+
setIsExiting(false);
|
|
33836
|
+
return;
|
|
33837
|
+
}
|
|
33748
33838
|
const showWorktree = getCurrentWorktreeSession() !== null;
|
|
33749
33839
|
if (showWorktree) {
|
|
33750
33840
|
setExitFlow(/* @__PURE__ */ jsx_dev_runtime99.jsxDEV(ExitFlow, {
|
|
@@ -34054,19 +34144,49 @@ ${fileList}`);
|
|
|
34054
34144
|
idleHintShownRef.current = false;
|
|
34055
34145
|
};
|
|
34056
34146
|
}, [lastQueryCompletionTime, isLoading, addNotification, removeNotification]);
|
|
34057
|
-
const handleIncomingPrompt = import_react128.useCallback((
|
|
34147
|
+
const handleIncomingPrompt = import_react128.useCallback((input, options) => {
|
|
34058
34148
|
if (queryGuard.isActive)
|
|
34059
34149
|
return false;
|
|
34060
34150
|
if (getCommandQueue().some((cmd) => cmd.mode === "prompt" || cmd.mode === "bash")) {
|
|
34061
34151
|
return false;
|
|
34062
34152
|
}
|
|
34153
|
+
const queuedCommand = typeof input === "string" ? {
|
|
34154
|
+
value: input,
|
|
34155
|
+
mode: "prompt",
|
|
34156
|
+
isMeta: options?.isMeta ? true : undefined
|
|
34157
|
+
} : input;
|
|
34063
34158
|
const newAbortController = createAbortController();
|
|
34064
34159
|
setAbortController(newAbortController);
|
|
34065
34160
|
const userMessage = createUserMessage({
|
|
34066
|
-
content,
|
|
34067
|
-
isMeta:
|
|
34161
|
+
content: queuedCommand.value,
|
|
34162
|
+
isMeta: queuedCommand.isMeta ? true : undefined,
|
|
34163
|
+
origin: queuedCommand.origin
|
|
34164
|
+
});
|
|
34165
|
+
const autonomyRunId = queuedCommand.autonomy?.runId;
|
|
34166
|
+
if (autonomyRunId) {
|
|
34167
|
+
markAutonomyRunRunning(autonomyRunId);
|
|
34168
|
+
}
|
|
34169
|
+
onQuery([userMessage], newAbortController, true, [], mainLoopModel).then(() => {
|
|
34170
|
+
if (autonomyRunId) {
|
|
34171
|
+
finalizeAutonomyRunCompleted({
|
|
34172
|
+
runId: autonomyRunId,
|
|
34173
|
+
currentDir: getCwd(),
|
|
34174
|
+
priority: "later"
|
|
34175
|
+
}).then((nextCommands) => {
|
|
34176
|
+
for (const command of nextCommands) {
|
|
34177
|
+
enqueue(command);
|
|
34178
|
+
}
|
|
34179
|
+
});
|
|
34180
|
+
}
|
|
34181
|
+
}).catch((error) => {
|
|
34182
|
+
if (autonomyRunId) {
|
|
34183
|
+
finalizeAutonomyRunFailed({
|
|
34184
|
+
runId: autonomyRunId,
|
|
34185
|
+
error: String(error)
|
|
34186
|
+
});
|
|
34187
|
+
}
|
|
34188
|
+
logError(toError(error));
|
|
34068
34189
|
});
|
|
34069
|
-
onQuery([userMessage], newAbortController, true, [], mainLoopModel);
|
|
34070
34190
|
return true;
|
|
34071
34191
|
}, [onQuery, mainLoopModel, store]);
|
|
34072
34192
|
const { relayPipeMessage, pipeReturnHadErrorRef } = usePipeRelay();
|
|
@@ -34082,6 +34202,7 @@ ${fileList}`);
|
|
|
34082
34202
|
useSlaveNotifications();
|
|
34083
34203
|
const pipeIpcState = useAppState((s) => getPipeIpc(s));
|
|
34084
34204
|
usePipePermissionForward({ store, tools, setMessages, setToolUseConfirmQueue, getToolUseContext, mainLoopModel });
|
|
34205
|
+
usePipeMuteSync({ setToolUseConfirmQueue });
|
|
34085
34206
|
usePipeIpc({ store, handleIncomingPrompt });
|
|
34086
34207
|
const { routeToSelectedPipes } = usePipeRouter({ store, setAppState, addNotification });
|
|
34087
34208
|
if (true) {
|
|
@@ -34100,8 +34221,7 @@ ${fileList}`);
|
|
|
34100
34221
|
queuedCommandsLength: queuedCommands.length,
|
|
34101
34222
|
hasActiveLocalJsxUI: isShowingLocalJSXCommand,
|
|
34102
34223
|
isInPlanMode: toolPermissionContext.mode === "plan",
|
|
34103
|
-
|
|
34104
|
-
onQueueTick: (prompt) => enqueue({ mode: "prompt", value: prompt, isMeta: true })
|
|
34224
|
+
onQueueTick: (command) => enqueue(command)
|
|
34105
34225
|
});
|
|
34106
34226
|
import_react128.useEffect(() => {
|
|
34107
34227
|
if (queuedCommands.some((cmd) => cmd.priority === "now")) {
|
|
@@ -34758,7 +34878,7 @@ Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
|
|
|
34758
34878
|
});
|
|
34759
34879
|
}
|
|
34760
34880
|
if (action === "clear") {
|
|
34761
|
-
const { clearConversation: clearConversation2 } = await import("./chunk-
|
|
34881
|
+
const { clearConversation: clearConversation2 } = await import("./chunk-4mdqm8b7.js");
|
|
34762
34882
|
await clearConversation2({
|
|
34763
34883
|
setMessages,
|
|
34764
34884
|
readFileState: readFileState.current,
|