claude-code-best 1.4.1 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -11
- package/dist/{chunk-d4qdesrx.js → chunk-0051wr8d.js} +2 -2
- package/dist/{chunk-z6hqga26.js → chunk-01pfrqr8.js} +3 -3
- package/dist/{chunk-yrs92qya.js → chunk-045t7r98.js} +2 -2
- package/dist/{chunk-xwc8e4yv.js → chunk-05tebmww.js} +2 -2
- package/dist/chunk-0786r5qj.js +26 -0
- package/dist/{chunk-c3s22pgw.js → chunk-0925w20x.js} +49 -46
- package/dist/{chunk-2ag1bjqx.js → chunk-0bthwtc4.js} +2 -2
- package/dist/{chunk-chzfw06n.js → chunk-0cshr8vt.js} +1 -1
- package/dist/{chunk-xz7cf7fa.js → chunk-0dwxmzv5.js} +54 -52
- package/dist/{chunk-1k3ahc24.js → chunk-0grvs3fk.js} +46 -43
- package/dist/{chunk-2rcaw0yh.js → chunk-0mzj4pd6.js} +3 -3
- package/dist/{chunk-1r70yykn.js → chunk-0tqqepp7.js} +1 -1
- package/dist/{chunk-xee276gg.js → chunk-0w1sq2wh.js} +46 -43
- package/dist/{chunk-6f0296p8.js → chunk-11rpa5zm.js} +3 -3
- package/dist/{chunk-gwrngewt.js → chunk-13z0sgs1.js} +2 -2
- package/dist/{chunk-28a1ffp7.js → chunk-1c9eqthz.js} +46 -43
- package/dist/{chunk-jhbj5mnf.js → chunk-1dnx9t9k.js} +46 -43
- package/dist/{chunk-t7e9etws.js → chunk-1e3vcw6m.js} +103 -25
- package/dist/chunk-1ed27xte.js +395 -0
- package/dist/chunk-1f59hhb4.js +436 -0
- package/dist/{chunk-ja21qbpj.js → chunk-1feqvkrs.js} +52 -49
- package/dist/chunk-1gj0pnga.js +394 -0
- package/dist/{chunk-c4g5qaey.js → chunk-1j57r4bp.js} +4 -4
- package/dist/{chunk-qs2atqgy.js → chunk-1jp931g0.js} +47 -44
- package/dist/{chunk-x63c39tp.js → chunk-1nkqjw8f.js} +2 -2
- package/dist/{chunk-86jhenxk.js → chunk-1vddy71a.js} +47 -44
- package/dist/{chunk-jc5dtv57.js → chunk-25bv0psg.js} +46 -43
- package/dist/{chunk-ja3eb4h9.js → chunk-27ezf4tc.js} +1 -1
- package/dist/{chunk-8zzqydag.js → chunk-2f1f034j.js} +4 -4
- package/dist/{chunk-v038k0we.js → chunk-2hwxpswc.js} +2 -2
- package/dist/{chunk-a92eevfn.js → chunk-2rdnvcex.js} +3 -3
- package/dist/{chunk-0y6h57c5.js → chunk-309spvbz.js} +5 -5
- package/dist/{chunk-m97dyxn0.js → chunk-32p0jkaj.js} +46 -43
- package/dist/{chunk-swzfr1f5.js → chunk-34ct1dk0.js} +15 -15
- package/dist/{chunk-jy4dnnjk.js → chunk-35bdpz91.js} +9 -7
- package/dist/{chunk-ys6cza46.js → chunk-35c6r949.js} +3 -3
- package/dist/{chunk-hjw03d0k.js → chunk-35nbv64e.js} +47 -44
- package/dist/{chunk-8gs07wbw.js → chunk-3c1emyyp.js} +10 -10
- package/dist/{chunk-dafnbqhh.js → chunk-3czpsqvd.js} +61 -59
- package/dist/{chunk-fnpd8cnq.js → chunk-3e41bc8q.js} +1 -1
- package/dist/{chunk-5famfv4a.js → chunk-3jhddwfc.js} +14 -14
- package/dist/{chunk-54bwa086.js → chunk-3me3nd70.js} +48 -45
- package/dist/{chunk-y7vzcjyn.js → chunk-3nxv7rc1.js} +46 -43
- package/dist/{chunk-wxa2hdfg.js → chunk-3twcp74a.js} +1 -1
- package/dist/{chunk-f57cvf1d.js → chunk-3xzcr9ha.js} +1 -1
- package/dist/{chunk-2xrp0wp0.js → chunk-3ybsbz1m.js} +55 -52
- package/dist/{chunk-qgnsf30p.js → chunk-40k3k0bt.js} +15 -15
- package/dist/{chunk-9datyj43.js → chunk-43v0vw9y.js} +1 -1
- package/dist/{chunk-efkjha6m.js → chunk-469hyn07.js} +5 -5
- package/dist/{chunk-rbvawtdz.js → chunk-49hrrcw1.js} +47 -44
- package/dist/{chunk-81dxa3fd.js → chunk-4j0dtzpj.js} +1 -1
- package/dist/{chunk-4brmjvph.js → chunk-4qv97nv2.js} +28 -8
- package/dist/{chunk-yyc1yvnr.js → chunk-4v58psnx.js} +46 -43
- package/dist/{chunk-djzvjzdg.js → chunk-541f5hfx.js} +2 -2
- package/dist/{chunk-dyp88vca.js → chunk-572eqfcb.js} +48 -45
- package/dist/{chunk-hqpzpr71.js → chunk-5aw4k8fc.js} +1 -1
- package/dist/{chunk-erkssp71.js → chunk-5b3k6tpd.js} +46 -43
- package/dist/{chunk-ffpz33kr.js → chunk-5cc4s826.js} +14 -14
- package/dist/{chunk-e23snepr.js → chunk-5dhrvrtg.js} +3 -3
- package/dist/{chunk-e9eyqwk5.js → chunk-5fnc2arn.js} +3047 -2291
- package/dist/{chunk-zwsrj2yy.js → chunk-5hjn2k7k.js} +6 -5
- package/dist/{chunk-72091jsk.js → chunk-5q0pv8vm.js} +1 -1
- package/dist/{chunk-f2y3t9hh.js → chunk-5tscygm0.js} +47 -44
- package/dist/{chunk-jga4j8jp.js → chunk-5vkft7fk.js} +46 -43
- package/dist/{chunk-6356tyx5.js → chunk-5xbvemsj.js} +4 -4
- package/dist/{chunk-h37gar4j.js → chunk-65nwpf7n.js} +1 -1
- package/dist/{chunk-6ebb5ym0.js → chunk-691kttad.js} +46 -43
- package/dist/{chunk-hyy2fcba.js → chunk-6bsm0zew.js} +50 -47
- package/dist/{chunk-z0vk43bt.js → chunk-6cj8bg38.js} +54 -52
- package/dist/{chunk-5158j5ph.js → chunk-6dfy9qjt.js} +4 -4
- package/dist/{chunk-zhyc7npp.js → chunk-6fbnt5h9.js} +46 -43
- package/dist/{chunk-cxmyg49v.js → chunk-6gg2cvm2.js} +5 -5
- package/dist/{chunk-7ba2qns8.js → chunk-6h9gxb9m.js} +13 -13
- package/dist/{chunk-hkh1vbm6.js → chunk-6kr82nrb.js} +46 -43
- package/dist/{chunk-e6sqr0av.js → chunk-6kwx0aa4.js} +46 -43
- package/dist/{chunk-sv7afh51.js → chunk-6qj1adtm.js} +2 -2
- package/dist/{chunk-x9gbnheg.js → chunk-6rcfewfp.js} +6 -6
- package/dist/{chunk-z1seyvya.js → chunk-6s311f7t.js} +47 -44
- package/dist/{chunk-00vfg42v.js → chunk-6v12h56j.js} +47 -44
- package/dist/{chunk-9awawyvh.js → chunk-73pxnrgv.js} +4 -4
- package/dist/{chunk-q7e12ymw.js → chunk-75y4edzf.js} +3 -3
- package/dist/{chunk-jje04m6z.js → chunk-7cn3st3a.js} +2 -2
- package/dist/{chunk-v4qke3cz.js → chunk-7r1n0c67.js} +3 -3
- package/dist/{chunk-hyz9tx05.js → chunk-7rncd7c0.js} +13 -13
- package/dist/{chunk-3fnhdnj6.js → chunk-813bqtt4.js} +13 -13
- package/dist/{chunk-77dnrj5q.js → chunk-819mbp4a.js} +52 -49
- package/dist/{chunk-xpj4qca4.js → chunk-865khv0s.js} +46 -43
- package/dist/{chunk-tw24rz1x.js → chunk-8b70kazk.js} +8 -8
- package/dist/{chunk-7kfps7yt.js → chunk-8cb8dhn1.js} +1 -1
- package/dist/{chunk-6gftrxn5.js → chunk-8czrx8ht.js} +1049 -194
- package/dist/{chunk-ewxpkqxt.js → chunk-8epxe23k.js} +6 -6
- package/dist/{chunk-6y8e5c85.js → chunk-8fttwfkm.js} +15 -15
- package/dist/chunk-8fw7frqb.js +513 -0
- package/dist/{chunk-zvegtrc4.js → chunk-8k26yg8y.js} +51 -48
- package/dist/{chunk-hhwqk5as.js → chunk-8rmntsad.js} +46 -43
- package/dist/{chunk-d4zyytan.js → chunk-8y6xx3na.js} +86 -58
- package/dist/{chunk-mmq55gyp.js → chunk-8yqnkf9n.js} +2 -2
- package/dist/{chunk-a0m994d6.js → chunk-8zfdkr9j.js} +46 -43
- package/dist/{chunk-2cz1rwf3.js → chunk-964fpq2b.js} +13 -13
- package/dist/{chunk-hnxmafvc.js → chunk-99zt59gg.js} +1 -1
- package/dist/{chunk-bq8zdg7m.js → chunk-9aak4pwq.js} +46 -43
- package/dist/{chunk-rz69sqyh.js → chunk-9b0yx2w5.js} +54 -51
- package/dist/{chunk-3g6kvmg4.js → chunk-9b77th8n.js} +3 -3
- package/dist/{chunk-bgf5zvvv.js → chunk-9f1w8esq.js} +88 -73
- package/dist/{chunk-xxmxv448.js → chunk-9frfqse4.js} +5 -5
- package/dist/{chunk-2qfb22ax.js → chunk-9r057b2r.js} +16 -12
- package/dist/{chunk-0fzcyd0s.js → chunk-9s5zmrvx.js} +52 -49
- package/dist/{chunk-5mv51kkx.js → chunk-9v303wbj.js} +47 -44
- package/dist/{chunk-d2wzkwws.js → chunk-a9psh500.js} +54 -52
- package/dist/{chunk-xahpt5e2.js → chunk-aex4kmfm.js} +1 -1
- package/dist/{chunk-crj9bjh5.js → chunk-aga3cvg8.js} +46 -43
- package/dist/{chunk-77w9ffyy.js → chunk-apyd6jg3.js} +4 -4
- package/dist/{chunk-a0qhdfct.js → chunk-avbb5066.js} +6 -6
- package/dist/{chunk-h14dkna4.js → chunk-b5hv2cbp.js} +14 -14
- package/dist/chunk-bcfd2zw7.js +20 -0
- package/dist/{chunk-xct1m4sf.js → chunk-bec4mkst.js} +14 -14
- package/dist/{chunk-zb0mctxm.js → chunk-bg0k9ktd.js} +3 -3
- package/dist/{chunk-3vc6mx77.js → chunk-bgbp3zkb.js} +53 -50
- package/dist/{chunk-3e2a6c4k.js → chunk-bgt8qg6a.js} +3 -3
- package/dist/{chunk-cwwfyvbq.js → chunk-bh9dh708.js} +2 -2
- package/dist/chunk-bhdt6k7w.js +15 -0
- package/dist/{chunk-5vqwq0f9.js → chunk-bkafccpc.js} +47 -44
- package/dist/{chunk-b6drr9se.js → chunk-bmpwagz8.js} +49 -46
- package/dist/{chunk-cm2xfg7q.js → chunk-brg57n5r.js} +14 -13
- package/dist/chunk-bsbmmfyt.js +17 -0
- package/dist/{chunk-gxfbedta.js → chunk-bx42jx3q.js} +1 -1
- package/dist/{chunk-fdbvcs34.js → chunk-c0mdv9w6.js} +3 -3
- package/dist/{chunk-88mfsn97.js → chunk-c4r8jfrs.js} +47 -44
- package/dist/{chunk-40w1c21c.js → chunk-c5mxmjvf.js} +46 -43
- package/dist/chunk-c79brdh8.js +186 -0
- package/dist/{chunk-h26xfh6d.js → chunk-cbssxph9.js} +13 -13
- package/dist/{chunk-c0avjkfn.js → chunk-cd48n5z6.js} +46 -43
- package/dist/{chunk-p7es39d1.js → chunk-ch7hgejq.js} +138 -25
- package/dist/{chunk-mgjc0yj9.js → chunk-ckw2286k.js} +46 -43
- package/dist/{chunk-rsr0mksm.js → chunk-cp21k6j3.js} +46 -43
- package/dist/{chunk-2tzmvvew.js → chunk-czk5s0d6.js} +51 -48
- package/dist/chunk-d015m8yn.js +109 -0
- package/dist/chunk-d6qweage.js +112 -0
- package/dist/{chunk-j7b884wk.js → chunk-d6v6abvy.js} +1 -1
- package/dist/{chunk-jge10dbd.js → chunk-d9fng1q2.js} +2 -2
- package/dist/{chunk-dm5e2sj0.js → chunk-djhtjksq.js} +46 -43
- package/dist/{chunk-cxf9amp4.js → chunk-dmj8nwb4.js} +1 -1
- package/dist/{chunk-vpe2s4eq.js → chunk-dmk1xmtv.js} +68 -4
- package/dist/{chunk-79vh2q13.js → chunk-dpwxnzqj.js} +46 -43
- package/dist/{chunk-bx165r58.js → chunk-dpzvkxtn.js} +1 -1
- package/dist/{chunk-jda4vjad.js → chunk-dq4mt605.js} +46 -43
- package/dist/{chunk-524xgs6r.js → chunk-dx0wh311.js} +11 -6
- package/dist/{chunk-5zbp0a48.js → chunk-dy8tttdp.js} +4 -4
- package/dist/{chunk-4qjh89qr.js → chunk-e1f6mcs9.js} +1 -1
- package/dist/{chunk-tnx1zk9t.js → chunk-e1z0nyq5.js} +48 -45
- package/dist/{chunk-0cs46nj6.js → chunk-e6yh7vb2.js} +46 -43
- package/dist/{chunk-axenqvc8.js → chunk-ea7t0b92.js} +1 -1
- package/dist/{chunk-nzfwsrd7.js → chunk-ebnp9s5b.js} +2 -2
- package/dist/{chunk-fbedkst6.js → chunk-ecj9mwz9.js} +4 -4
- package/dist/{chunk-es08rrda.js → chunk-enkmd54m.js} +46 -43
- package/dist/{chunk-8xsjtkh4.js → chunk-ettyndhe.js} +4 -4
- package/dist/{chunk-att0rknb.js → chunk-ew5daj4s.js} +1 -1
- package/dist/{chunk-dv4dsh0t.js → chunk-exg8st0p.js} +4 -4
- package/dist/{chunk-h0rbjg6x.js → chunk-f2mhrmww.js} +8 -1
- package/dist/{chunk-kvezjrjy.js → chunk-fb2ta2tx.js} +46 -43
- package/dist/{chunk-m365zhp8.js → chunk-fb7hgch7.js} +47 -44
- package/dist/{chunk-7dy65axk.js → chunk-fbt6vctw.js} +13 -13
- package/dist/{chunk-c6nthjxa.js → chunk-fejedxv7.js} +4 -4
- package/dist/{chunk-dytg8n15.js → chunk-fengsq7f.js} +8 -8
- package/dist/{chunk-v2qqkqxp.js → chunk-ftfgv9wc.js} +47 -44
- package/dist/{chunk-hc1tkwfn.js → chunk-fvr6n12m.js} +1 -1
- package/dist/{chunk-8xbwczap.js → chunk-fytzzgd4.js} +46 -43
- package/dist/{chunk-cy2hswr1.js → chunk-g1k68z1b.js} +1 -1
- package/dist/{chunk-f31b63fd.js → chunk-g4wnmj57.js} +1 -1
- package/dist/{chunk-h2vfn30x.js → chunk-g588xxp7.js} +3 -3
- package/dist/{chunk-b4wfv4fx.js → chunk-g9tce9xp.js} +57 -54
- package/dist/{chunk-yb03gvd8.js → chunk-gfs9md4a.js} +49 -46
- package/dist/{chunk-7yfxza07.js → chunk-gptd9heq.js} +7 -7
- package/dist/{chunk-azq1qstz.js → chunk-grvhbg1q.js} +4 -4
- package/dist/{chunk-xfkf8q6w.js → chunk-gtzjdd18.js} +4 -4
- package/dist/{chunk-fjpdtr6s.js → chunk-gwkgfkj5.js} +10 -10
- package/dist/{chunk-92p2k7yk.js → chunk-gxnyeps9.js} +3 -3
- package/dist/{chunk-b125aa22.js → chunk-h1qt9p3c.js} +46 -43
- package/dist/{chunk-1yscv3t1.js → chunk-h2mr7m2a.js} +4 -4
- package/dist/{chunk-x1t80e36.js → chunk-h2ywbfms.js} +45 -29
- package/dist/{chunk-mkae8zj9.js → chunk-h3p151fx.js} +2 -2
- package/dist/{chunk-gfxebcsw.js → chunk-h6hh3va9.js} +14 -14
- package/dist/{chunk-7r3d9nyj.js → chunk-h83fz0gd.js} +47 -44
- package/dist/{chunk-nsbpzpmf.js → chunk-hbeg1qyg.js} +47 -44
- package/dist/chunk-hhwwyqt1.js +194 -0
- package/dist/{chunk-5m7095hq.js → chunk-hn3hk8tc.js} +15 -15
- package/dist/chunk-j1x3ns18.js +183 -0
- package/dist/{chunk-ctj2ehwz.js → chunk-j52vz59d.js} +47 -44
- package/dist/{chunk-ahexmj4s.js → chunk-j66ffy26.js} +21 -21
- package/dist/{chunk-rhjb0dgd.js → chunk-j84jdj7r.js} +14 -14
- package/dist/{chunk-kb2b4rkg.js → chunk-jd2r7m9t.js} +3 -3
- package/dist/{chunk-718k4vsj.js → chunk-jebb8j1d.js} +47 -44
- package/dist/{chunk-s70z817q.js → chunk-jf3995b3.js} +268 -168
- package/dist/{chunk-reqz49y3.js → chunk-jff3fbst.js} +158 -262
- package/dist/{chunk-bevwqet9.js → chunk-jgf7597r.js} +52 -49
- package/dist/{chunk-924n94wb.js → chunk-jk1arbw0.js} +13 -13
- package/dist/{chunk-k81zec2p.js → chunk-jnhp78c8.js} +1 -1
- package/dist/{chunk-t2822cex.js → chunk-jpk1syr5.js} +50 -47
- package/dist/{chunk-t2re5hhc.js → chunk-jqr257x5.js} +109 -105
- package/dist/{chunk-gqftywrx.js → chunk-k1af22na.js} +14 -14
- package/dist/{chunk-f872fekv.js → chunk-k384qakk.js} +46 -43
- package/dist/{chunk-jac470kz.js → chunk-k3eb60ct.js} +1 -1
- package/dist/{chunk-1nhx3qpn.js → chunk-k3p4x944.js} +2 -2
- package/dist/{chunk-4mdqm8b7.js → chunk-k4zz5qt6.js} +49 -46
- package/dist/{chunk-vnn4x6jw.js → chunk-k7qcpvdq.js} +48 -46
- package/dist/{chunk-52rnpp5t.js → chunk-k80dnb78.js} +11 -11
- package/dist/{chunk-h4k9kgjw.js → chunk-kgj9893t.js} +47 -44
- package/dist/{chunk-kbsckx2r.js → chunk-kksbjtad.js} +2 -2
- package/dist/{chunk-dnpy3zcs.js → chunk-krcxgtkq.js} +49 -46
- package/dist/{chunk-rz3rq0gt.js → chunk-kw1hpgh9.js} +2 -2
- package/dist/chunk-kzhw03m7.js +242 -0
- package/dist/chunk-m41d561t.js +115 -0
- package/dist/{chunk-3mapywg0.js → chunk-m4sp7ycd.js} +2 -2
- package/dist/{chunk-ffvja87d.js → chunk-m737wsqq.js} +5 -5
- package/dist/{chunk-760hjt0a.js → chunk-m7m8tbj3.js} +2 -2
- package/dist/{chunk-0xth516w.js → chunk-m9e7stwq.js} +7 -7
- package/dist/{chunk-jnfd01as.js → chunk-mcyyqkv6.js} +4 -82
- package/dist/{chunk-h0vzd5vg.js → chunk-mday155d.js} +6 -6
- package/dist/{chunk-prpjmapz.js → chunk-mk7e37ps.js} +49 -46
- package/dist/{chunk-kz3q1ce0.js → chunk-mmn3cbyd.js} +46 -43
- package/dist/{chunk-c7t69jmn.js → chunk-mqvvd1sy.js} +1 -1
- package/dist/{chunk-8y0ghcs4.js → chunk-n0y737n2.js} +56 -53
- package/dist/{chunk-hf086e2e.js → chunk-n1hc1e25.js} +46 -43
- package/dist/{chunk-xqk8srdh.js → chunk-n3pqr3pc.js} +1 -1
- package/dist/{chunk-vatz6gan.js → chunk-n7gcwz03.js} +21 -19
- package/dist/{chunk-196qs1ty.js → chunk-ndbcx9we.js} +19 -19
- package/dist/{chunk-ekpm458a.js → chunk-ng8k4ywf.js} +54 -51
- package/dist/{chunk-qgajfxr7.js → chunk-nh76pgrt.js} +3 -3
- package/dist/{chunk-j5w0b4d2.js → chunk-nnjw47pz.js} +14 -14
- package/dist/{chunk-dhwpmz98.js → chunk-nt3r80s6.js} +49 -46
- package/dist/{chunk-ng2xq7ey.js → chunk-nwrtz4yt.js} +2 -2
- package/dist/{chunk-e1bt4m2g.js → chunk-nxa79974.js} +3 -3
- package/dist/{chunk-7zw138yt.js → chunk-nzpww4n5.js} +1 -1
- package/dist/{chunk-q19p9j0v.js → chunk-p12z0hqk.js} +1 -1
- package/dist/{chunk-fz4wmnm6.js → chunk-p5816r2t.js} +2 -2
- package/dist/{chunk-66s9m31j.js → chunk-p6q6twct.js} +14 -14
- package/dist/{chunk-c092k38b.js → chunk-p814dt75.js} +3480 -1418
- package/dist/chunk-pj0866mn.js +196 -0
- package/dist/{chunk-wj0c0zfa.js → chunk-pjmqey38.js} +1 -1
- package/dist/{chunk-fckykghd.js → chunk-pjms1h2b.js} +2 -2
- package/dist/{chunk-0knhp7v5.js → chunk-pjz4m7pd.js} +1 -1
- package/dist/{chunk-1qbype3e.js → chunk-pkm2nhk9.js} +4 -4
- package/dist/{chunk-xk1wdwxq.js → chunk-pp147tk2.js} +46 -43
- package/dist/{chunk-nz7sgbbr.js → chunk-pyb8mk8k.js} +5 -5
- package/dist/{chunk-4er46edn.js → chunk-q33kdbcv.js} +49 -46
- package/dist/{chunk-v6p3019x.js → chunk-q80ddpch.js} +15 -15
- package/dist/chunk-qbaszyg6.js +133 -0
- package/dist/{chunk-6kpbgc5w.js → chunk-qbrsmra3.js} +1 -1
- package/dist/{chunk-506gq3zq.js → chunk-qdx64b6y.js} +14 -14
- package/dist/{chunk-04ws37gv.js → chunk-qjxk8wrn.js} +3 -3
- package/dist/{chunk-4h9ek408.js → chunk-qq72x3fs.js} +4 -4
- package/dist/{chunk-se153zng.js → chunk-qx67chz8.js} +1 -1
- package/dist/{chunk-d2q17m4k.js → chunk-qyeh87q9.js} +47 -44
- package/dist/{chunk-m1efbjqe.js → chunk-r71sjhpf.js} +46 -43
- package/dist/{chunk-fxrrsvnw.js → chunk-r7n5brf9.js} +18 -18
- package/dist/chunk-rbfe062s.js +67 -0
- package/dist/{chunk-60xm3v9r.js → chunk-rde4wtp8.js} +2 -2
- package/dist/{chunk-m1xw79dd.js → chunk-rmb338tt.js} +286 -32
- package/dist/{chunk-fbbjchdz.js → chunk-rwz2d4a6.js} +47 -44
- package/dist/{chunk-yf5qwpnp.js → chunk-ry4ct8z8.js} +1 -1
- package/dist/{chunk-8pskaz4y.js → chunk-s0d48jma.js} +5 -5
- package/dist/{chunk-gc4x22mt.js → chunk-s0f9h1ke.js} +47 -44
- package/dist/{chunk-6pb9n4m3.js → chunk-s2t3qrte.js} +2 -2
- package/dist/{chunk-dgnwk906.js → chunk-s8atpq1r.js} +46 -43
- package/dist/chunk-sf0ay82k.js +120 -0
- package/dist/{chunk-yrnbgtk0.js → chunk-sfmxv59p.js} +17 -17
- package/dist/chunk-sfqs55dz.js +79 -0
- package/dist/{chunk-hxb3js2g.js → chunk-sjj998mb.js} +4 -4
- package/dist/{chunk-hrz2d28r.js → chunk-smf3xf1p.js} +47 -44
- package/dist/{chunk-3yzyedet.js → chunk-spbanbyj.js} +14 -14
- package/dist/{chunk-jwb3bqa7.js → chunk-sstfswx9.js} +14 -14
- package/dist/chunk-sxaedgmw.js +94 -0
- package/dist/chunk-sznnpxg3.js +72 -0
- package/dist/{chunk-ndrn50x0.js → chunk-t0644p95.js} +46 -43
- package/dist/{chunk-rbgr86hh.js → chunk-t6w2xwm7.js} +46 -43
- package/dist/{chunk-r469z4mx.js → chunk-t7gpw9nw.js} +3 -3
- package/dist/{chunk-cstkqpd5.js → chunk-tbas522c.js} +4 -4
- package/dist/{chunk-jaqtnpbt.js → chunk-tc1yyeaa.js} +32 -4
- package/dist/{chunk-g86dg6h5.js → chunk-tj45shek.js} +2 -2
- package/dist/{chunk-p3zbzfbn.js → chunk-tjqcyj2x.js} +3 -3
- package/dist/{chunk-w0pf4mvz.js → chunk-tmmjr5ta.js} +7 -7
- package/dist/{chunk-27ppq985.js → chunk-tp7b8ek9.js} +5 -5
- package/dist/{chunk-313nbvgt.js → chunk-trj0ahk0.js} +4 -4
- package/dist/{chunk-78009jh9.js → chunk-trt2sfjg.js} +1 -1
- package/dist/{chunk-s2n5kxm0.js → chunk-tsd9qae1.js} +4 -4
- package/dist/{chunk-wy3f5b81.js → chunk-tv7hgcvj.js} +47 -44
- package/dist/{chunk-b9pqgq8z.js → chunk-twmgrmfw.js} +1 -1
- package/dist/{chunk-z7hv619f.js → chunk-tzqx43zc.js} +46 -43
- package/dist/{chunk-2mhgyhns.js → chunk-v30g8yjp.js} +1 -1
- package/dist/{chunk-ps01q3n9.js → chunk-vcctr6md.js} +46 -43
- package/dist/{chunk-yvgmpc5z.js → chunk-vk6s7hsj.js} +5 -5
- package/dist/{chunk-c7d1acex.js → chunk-vnkmsvcm.js} +2 -2
- package/dist/{chunk-wd8mqz95.js → chunk-vp2p7azg.js} +2 -2
- package/dist/{chunk-8h7bg6q9.js → chunk-vq6he9z3.js} +8 -8
- package/dist/{chunk-a5w8nyhg.js → chunk-vrq6n6h1.js} +2 -2
- package/dist/{chunk-k27dq4vd.js → chunk-vs6r3az0.js} +48 -45
- package/dist/{chunk-8mspr5sg.js → chunk-vsd9yrbq.js} +2 -2
- package/dist/{chunk-6h1reb8m.js → chunk-w0hw971e.js} +13 -13
- package/dist/{chunk-9revwk5g.js → chunk-w375z6hb.js} +47 -44
- package/dist/{chunk-r5mqktt5.js → chunk-w669wpk5.js} +1 -1
- package/dist/{chunk-x6622cb2.js → chunk-w6k4bxas.js} +14 -14
- package/dist/{chunk-cg3bb5pe.js → chunk-wbv06vv2.js} +6 -6
- package/dist/chunk-wdz993z8.js +131 -0
- package/dist/{chunk-srnstx2s.js → chunk-wgwhgb0q.js} +14 -14
- package/dist/{chunk-mh2pdxpc.js → chunk-wkxg48gk.js} +47 -44
- package/dist/{chunk-y3qdyf8r.js → chunk-wny26e8e.js} +19 -19
- package/dist/{chunk-admwpsa6.js → chunk-wpcgztry.js} +6 -6
- package/dist/{chunk-0b0fq180.js → chunk-wsx9nt4e.js} +16 -16
- package/dist/{chunk-j34h8cfj.js → chunk-wvac5hhg.js} +14 -14
- package/dist/{chunk-93cd0z7w.js → chunk-wx1f33e7.js} +52 -49
- package/dist/{chunk-m089kb0s.js → chunk-wxt5dmty.js} +8 -8
- package/dist/{chunk-01ysfcs0.js → chunk-x6v6emh0.js} +3 -3
- package/dist/{chunk-8h4gpg9r.js → chunk-xdrgnnrx.js} +49 -46
- package/dist/{chunk-faey4sqw.js → chunk-xmh281bd.js} +47 -44
- package/dist/{chunk-a85wqwq4.js → chunk-xnakns4w.js} +46 -43
- package/dist/{chunk-d57t992t.js → chunk-xpsb3jm8.js} +2 -2
- package/dist/{chunk-w7zp9j8v.js → chunk-xthpe23e.js} +60 -57
- package/dist/{chunk-2rtngpm1.js → chunk-xx1p336b.js} +3 -3
- package/dist/{chunk-g3dbfhxa.js → chunk-xxdk3d0d.js} +2 -2
- package/dist/{chunk-rq1nfp7x.js → chunk-y413jeq2.js} +46 -43
- package/dist/{chunk-97svwq59.js → chunk-y49d81am.js} +58 -55
- package/dist/{chunk-kymh4vxw.js → chunk-y6f7kmzf.js} +46 -43
- package/dist/{chunk-1d39h7zf.js → chunk-y9zmxrg1.js} +1 -1
- package/dist/{chunk-spqq5qf1.js → chunk-yamdfram.js} +50 -47
- package/dist/{chunk-kw2ymvyv.js → chunk-yefearm8.js} +2 -2
- package/dist/{chunk-wqdr8v9x.js → chunk-ygc38zsc.js} +46 -43
- package/dist/{chunk-jpbkdg47.js → chunk-ypmj8k22.js} +3 -3
- package/dist/{chunk-f25pnrvx.js → chunk-yt46a969.js} +1 -1
- package/dist/{chunk-9b6wqcyk.js → chunk-z3hw83qk.js} +48 -45
- package/dist/{chunk-drvfxfe5.js → chunk-z7dv1v7n.js} +17 -17
- package/dist/chunk-zcn4zxbj.js +142 -0
- package/dist/{chunk-p9f12fp9.js → chunk-zftb15xp.js} +48 -45
- package/dist/{chunk-ghbtnfr2.js → chunk-zj3en2ka.js} +49 -46
- package/dist/{chunk-1x1wb96n.js → chunk-zm12zvc2.js} +49 -46
- package/dist/{chunk-p5jssxha.js → chunk-zt4jjf59.js} +13 -13
- package/dist/{chunk-bww2h6d4.js → chunk-ztb7kzx4.js} +48 -45
- package/dist/{chunk-b62vj92a.js → chunk-zvdc0eh1.js} +1 -1
- package/dist/{chunk-99cjjht1.js → chunk-zypp6syd.js} +46 -43
- package/dist/cli.js +51 -23
- package/package.json +3 -3
- package/dist/chunk-0paqc2yw.js +0 -15
- package/dist/chunk-j66ragf9.js +0 -61
- package/dist/chunk-rce8gj2b.js +0 -93
- package/dist/chunk-yem3ge7z.js +0 -182
- package/dist/chunk-yxr0yf6h.js +0 -46
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import {
|
|
3
|
-
HybridTransport,
|
|
4
|
-
WebSocketTransport
|
|
5
|
-
} from "./chunk-0y6h57c5.js";
|
|
6
|
-
import {
|
|
7
|
-
CCRClient,
|
|
8
|
-
CCRInitError
|
|
9
|
-
} from "./chunk-zwsrj2yy.js";
|
|
10
2
|
import {
|
|
11
3
|
StructuredIO,
|
|
12
4
|
exports_cronJitterConfig,
|
|
@@ -18,90 +10,93 @@ import {
|
|
|
18
10
|
outputSchema,
|
|
19
11
|
permissionPromptToolResultToPermissionDecision,
|
|
20
12
|
reconcileMarketplaces
|
|
21
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-9r057b2r.js";
|
|
22
14
|
import {
|
|
23
15
|
restoreAgentFromSession,
|
|
24
16
|
restoreSessionStateFromLog,
|
|
25
17
|
skillChangeDetector
|
|
26
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-gwkgfkj5.js";
|
|
27
19
|
import {
|
|
28
20
|
detectAndUninstallDelistedPlugins
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import"./chunk-
|
|
31
|
-
import"./chunk-ja3eb4h9.js";
|
|
21
|
+
} from "./chunk-2rdnvcex.js";
|
|
22
|
+
import"./chunk-27ezf4tc.js";
|
|
32
23
|
import {
|
|
33
24
|
externalMetadataToAppState
|
|
34
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-35bdpz91.js";
|
|
35
26
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
setPermissionModeChangedListener,
|
|
40
|
-
setSessionMetadataChangedListener,
|
|
41
|
-
setSessionStateChangedListener
|
|
42
|
-
} from "./chunk-j66ragf9.js";
|
|
27
|
+
HybridTransport,
|
|
28
|
+
WebSocketTransport
|
|
29
|
+
} from "./chunk-309spvbz.js";
|
|
43
30
|
import {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import"./chunk-
|
|
31
|
+
CCRClient,
|
|
32
|
+
CCRInitError
|
|
33
|
+
} from "./chunk-5hjn2k7k.js";
|
|
34
|
+
import"./chunk-nt837qt9.js";
|
|
35
|
+
import {
|
|
36
|
+
resolveAndPrepend
|
|
37
|
+
} from "./chunk-zcn4zxbj.js";
|
|
48
38
|
import {
|
|
49
39
|
getPollIntervalConfig
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import"./chunk-
|
|
40
|
+
} from "./chunk-5q0pv8vm.js";
|
|
41
|
+
import"./chunk-kw1hpgh9.js";
|
|
52
42
|
import {
|
|
53
43
|
SSETransport,
|
|
54
44
|
init_SSETransport
|
|
55
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-x6v6emh0.js";
|
|
46
|
+
import {
|
|
47
|
+
ask,
|
|
48
|
+
buildSideQuestionFallbackParams
|
|
49
|
+
} from "./chunk-mday155d.js";
|
|
50
|
+
import"./chunk-brg57n5r.js";
|
|
56
51
|
import {
|
|
57
52
|
init_toolPool,
|
|
58
53
|
mergeAndFilterTools
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import"./chunk-
|
|
54
|
+
} from "./chunk-05tebmww.js";
|
|
55
|
+
import"./chunk-dpzvkxtn.js";
|
|
61
56
|
import {
|
|
62
57
|
init_settingsSync
|
|
63
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-ettyndhe.js";
|
|
64
59
|
import {
|
|
65
60
|
init_refresh,
|
|
66
61
|
refreshActivePlugins
|
|
67
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-vnkmsvcm.js";
|
|
68
63
|
import {
|
|
69
64
|
generateSessionTitle,
|
|
70
65
|
init_sessionTitle
|
|
71
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-fejedxv7.js";
|
|
72
67
|
import"./chunk-cnsj3vq2.js";
|
|
73
68
|
import {
|
|
74
69
|
init_mappers,
|
|
75
70
|
toInternalMessages,
|
|
76
71
|
toSDKRateLimitInfo
|
|
77
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-541f5hfx.js";
|
|
78
73
|
import {
|
|
79
74
|
init_omit,
|
|
80
75
|
omit_default
|
|
81
|
-
} from "./chunk-
|
|
82
|
-
import"./chunk-
|
|
83
|
-
import"./chunk-
|
|
76
|
+
} from "./chunk-0mzj4pd6.js";
|
|
77
|
+
import"./chunk-tp7b8ek9.js";
|
|
78
|
+
import"./chunk-trj0ahk0.js";
|
|
84
79
|
import {
|
|
85
80
|
ChannelMessageNotificationSchema,
|
|
86
81
|
findChannelEntry,
|
|
87
82
|
gateChannelServer,
|
|
88
83
|
init_channelNotification,
|
|
89
84
|
wrapChannelMessage
|
|
90
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-vk6s7hsj.js";
|
|
91
86
|
import {
|
|
92
87
|
init_channelAllowlist,
|
|
93
88
|
isChannelAllowlisted,
|
|
94
89
|
isChannelsEnabled
|
|
95
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-m4sp7ycd.js";
|
|
96
91
|
import {
|
|
97
92
|
collectContextData,
|
|
98
93
|
init_context_noninteractive
|
|
99
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-5dhrvrtg.js";
|
|
100
95
|
import"./chunk-q2pkj7sp.js";
|
|
101
96
|
import {
|
|
102
97
|
init_sideQuestion,
|
|
103
98
|
runSideQuestion
|
|
104
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-bh9dh708.js";
|
|
105
100
|
import"./chunk-rn0v1hk8.js";
|
|
106
101
|
import {
|
|
107
102
|
DEFAULT_OUTPUT_STYLE_NAME,
|
|
@@ -132,13 +127,11 @@ import {
|
|
|
132
127
|
dequeue,
|
|
133
128
|
dequeueAllMatching,
|
|
134
129
|
doesMessageExistInSession,
|
|
135
|
-
drainSdkEvents,
|
|
136
130
|
enqueue,
|
|
137
131
|
executeNotificationHooks,
|
|
138
132
|
exports_coordinatorMode,
|
|
139
133
|
exports_extractMemories,
|
|
140
134
|
exports_loadAgentsDir,
|
|
141
|
-
exports_proactive,
|
|
142
135
|
exports_prompt1 as exports_prompt,
|
|
143
136
|
extractReadFilesFromMessages,
|
|
144
137
|
fetchToolsForClient,
|
|
@@ -157,6 +150,8 @@ import {
|
|
|
157
150
|
fromArray,
|
|
158
151
|
getAllMcpConfigs,
|
|
159
152
|
getAllOutputStyles,
|
|
153
|
+
getAutoModeUnavailableNotification,
|
|
154
|
+
getAutoModeUnavailableReason,
|
|
160
155
|
getCommandName,
|
|
161
156
|
getCommands,
|
|
162
157
|
getCommandsByMaxPriority,
|
|
@@ -226,7 +221,6 @@ import {
|
|
|
226
221
|
init_permissions,
|
|
227
222
|
init_pluginLoader,
|
|
228
223
|
init_policyLimits,
|
|
229
|
-
init_proactive,
|
|
230
224
|
init_product,
|
|
231
225
|
init_prompt as init_prompt2,
|
|
232
226
|
init_prompt1 as init_prompt3,
|
|
@@ -242,7 +236,6 @@ import {
|
|
|
242
236
|
init_reject,
|
|
243
237
|
init_remoteManagedSettings,
|
|
244
238
|
init_sandbox_adapter,
|
|
245
|
-
init_sdkEventQueue,
|
|
246
239
|
init_sessionStart,
|
|
247
240
|
init_sessionStorage,
|
|
248
241
|
init_shellToolUtils,
|
|
@@ -250,13 +243,14 @@ import {
|
|
|
250
243
|
init_teammateMailbox,
|
|
251
244
|
init_thinking,
|
|
252
245
|
init_tools1 as init_tools,
|
|
253
|
-
init_types2,
|
|
246
|
+
init_types1 as init_types2,
|
|
254
247
|
init_uniqBy,
|
|
255
248
|
init_utils,
|
|
256
249
|
init_uuid,
|
|
257
250
|
init_vscodeSdkMcp,
|
|
258
251
|
init_zipCache,
|
|
259
252
|
installOAuthTokens,
|
|
253
|
+
isAutoModeGateEnabled,
|
|
260
254
|
isBackgroundTask,
|
|
261
255
|
isBuiltInAgent,
|
|
262
256
|
isBypassPermissionsModeDisabled,
|
|
@@ -319,71 +313,81 @@ import {
|
|
|
319
313
|
uniqBy_default,
|
|
320
314
|
validateUuid,
|
|
321
315
|
waitForRemoteManagedSettingsToLoad
|
|
322
|
-
} from "./chunk-
|
|
323
|
-
import {
|
|
324
|
-
EMPTY_USAGE,
|
|
325
|
-
getSessionIngressAuthToken,
|
|
326
|
-
init_sessionIngressAuth,
|
|
327
|
-
init_src
|
|
328
|
-
} from "./chunk-m1xw79dd.js";
|
|
329
|
-
import"./chunk-kbsckx2r.js";
|
|
316
|
+
} from "./chunk-p814dt75.js";
|
|
330
317
|
import"./chunk-qe3qr56q.js";
|
|
331
|
-
import"./chunk-x63c39tp.js";
|
|
332
318
|
import"./chunk-et824jj8.js";
|
|
319
|
+
import"./chunk-kksbjtad.js";
|
|
320
|
+
import"./chunk-var1et7e.js";
|
|
333
321
|
import {
|
|
334
322
|
init_pluginIdentifier,
|
|
335
323
|
parsePluginIdentifier
|
|
336
|
-
} from "./chunk-
|
|
337
|
-
import"./chunk-
|
|
324
|
+
} from "./chunk-jnhp78c8.js";
|
|
325
|
+
import"./chunk-ehtwnxpg.js";
|
|
326
|
+
import"./chunk-vrq6n6h1.js";
|
|
327
|
+
import {
|
|
328
|
+
init_commitAttribution
|
|
329
|
+
} from "./chunk-tsd9qae1.js";
|
|
338
330
|
import {
|
|
339
331
|
init_tasks,
|
|
340
332
|
init_teamHelpers,
|
|
341
333
|
removeTeammateFromTeamFile,
|
|
342
334
|
unassignTeammateTasks
|
|
343
|
-
} from "./chunk-
|
|
344
|
-
import"./chunk-2gzv8nrw.js";
|
|
345
|
-
import"./chunk-ehtwnxpg.js";
|
|
346
|
-
import"./chunk-a5w8nyhg.js";
|
|
335
|
+
} from "./chunk-s0d48jma.js";
|
|
347
336
|
import {
|
|
348
|
-
|
|
349
|
-
|
|
337
|
+
EMPTY_USAGE,
|
|
338
|
+
drainSdkEvents,
|
|
339
|
+
exports_proactive,
|
|
340
|
+
getSessionIngressAuthToken,
|
|
341
|
+
getSessionState,
|
|
342
|
+
init_proactive,
|
|
343
|
+
init_sdkEventQueue,
|
|
344
|
+
init_sessionIngressAuth,
|
|
345
|
+
init_sessionState,
|
|
346
|
+
init_src,
|
|
347
|
+
notifySessionMetadataChanged,
|
|
348
|
+
notifySessionStateChanged,
|
|
349
|
+
setPermissionModeChangedListener,
|
|
350
|
+
setSessionMetadataChangedListener,
|
|
351
|
+
setSessionStateChangedListener
|
|
352
|
+
} from "./chunk-rmb338tt.js";
|
|
353
|
+
import"./chunk-1nkqjw8f.js";
|
|
354
|
+
import"./chunk-2gzv8nrw.js";
|
|
350
355
|
import"./chunk-cgfdkzhb.js";
|
|
351
356
|
import"./chunk-2f6hs25r.js";
|
|
352
|
-
import"./chunk-
|
|
353
|
-
import"./chunk-
|
|
354
|
-
import"./chunk-
|
|
355
|
-
import"./chunk-
|
|
357
|
+
import"./chunk-43v0vw9y.js";
|
|
358
|
+
import"./chunk-d6qweage.js";
|
|
359
|
+
import"./chunk-bhdt6k7w.js";
|
|
360
|
+
import"./chunk-6qj1adtm.js";
|
|
361
|
+
import"./chunk-pj0866mn.js";
|
|
362
|
+
import"./chunk-d6v6abvy.js";
|
|
363
|
+
import"./chunk-nh76pgrt.js";
|
|
356
364
|
import {
|
|
357
365
|
READ_FILE_STATE_CACHE_SIZE,
|
|
358
366
|
createFileStateCacheWithSizeLimit,
|
|
359
367
|
init_fileStateCache,
|
|
360
368
|
mergeFileStateCaches
|
|
361
369
|
} from "./chunk-zttmdag3.js";
|
|
362
|
-
import"./chunk-
|
|
363
|
-
import"./chunk-
|
|
364
|
-
import"./chunk-ps49ymvj.js";
|
|
365
|
-
import"./chunk-chzfw06n.js";
|
|
370
|
+
import"./chunk-avbb5066.js";
|
|
371
|
+
import"./chunk-p5816r2t.js";
|
|
366
372
|
import"./chunk-rd2884ff.js";
|
|
373
|
+
import"./chunk-ps49ymvj.js";
|
|
374
|
+
import"./chunk-0cshr8vt.js";
|
|
367
375
|
import"./chunk-t4kcvmes.js";
|
|
368
|
-
import
|
|
369
|
-
getBridgeAccessToken,
|
|
370
|
-
getBridgeBaseUrl,
|
|
371
|
-
init_bridgeConfig
|
|
372
|
-
} from "./chunk-jac470kz.js";
|
|
373
|
-
import"./chunk-h37gar4j.js";
|
|
376
|
+
import"./chunk-65nwpf7n.js";
|
|
374
377
|
import"./chunk-cy1z66c2.js";
|
|
375
|
-
import"./chunk-
|
|
376
|
-
import"./chunk-
|
|
378
|
+
import"./chunk-k3eb60ct.js";
|
|
379
|
+
import"./chunk-3e41bc8q.js";
|
|
380
|
+
import"./chunk-3twcp74a.js";
|
|
377
381
|
import"./chunk-4jm600zv.js";
|
|
378
|
-
import"./chunk-
|
|
379
|
-
import"./chunk-
|
|
382
|
+
import"./chunk-c0mdv9w6.js";
|
|
383
|
+
import"./chunk-3xzcr9ha.js";
|
|
380
384
|
import"./chunk-rkmwx1yz.js";
|
|
381
|
-
import"./chunk-
|
|
385
|
+
import"./chunk-aex4kmfm.js";
|
|
382
386
|
import"./chunk-ykr5qx9v.js";
|
|
383
|
-
import"./chunk-
|
|
384
|
-
import"./chunk-
|
|
385
|
-
import"./chunk-
|
|
386
|
-
import"./chunk-
|
|
387
|
+
import"./chunk-tj45shek.js";
|
|
388
|
+
import"./chunk-v30g8yjp.js";
|
|
389
|
+
import"./chunk-k3p4x944.js";
|
|
390
|
+
import"./chunk-8cb8dhn1.js";
|
|
387
391
|
import"./chunk-ad6rg8vz.js";
|
|
388
392
|
import"./chunk-x95fhbwq.js";
|
|
389
393
|
import {
|
|
@@ -425,15 +429,15 @@ import {
|
|
|
425
429
|
modelSupportsAutoMode,
|
|
426
430
|
parseUserSpecifiedModel,
|
|
427
431
|
runWithWorkload
|
|
428
|
-
} from "./chunk-
|
|
432
|
+
} from "./chunk-ch7hgejq.js";
|
|
429
433
|
import {
|
|
430
434
|
init_json,
|
|
431
435
|
safeParseJSON
|
|
432
|
-
} from "./chunk-
|
|
436
|
+
} from "./chunk-h3p151fx.js";
|
|
433
437
|
import {
|
|
434
438
|
expandPath,
|
|
435
439
|
init_path
|
|
436
|
-
} from "./chunk-
|
|
440
|
+
} from "./chunk-6gg2cvm2.js";
|
|
437
441
|
import {
|
|
438
442
|
hasActiveInProcessTeammates,
|
|
439
443
|
hasWorkingInProcessTeammates,
|
|
@@ -443,36 +447,29 @@ import {
|
|
|
443
447
|
uniq,
|
|
444
448
|
waitForTeammatesToBecomeIdle
|
|
445
449
|
} from "./chunk-zwarn9h7.js";
|
|
450
|
+
import"./chunk-xpsb3jm8.js";
|
|
446
451
|
import"./chunk-hxc8e6wd.js";
|
|
452
|
+
import"./chunk-qbrsmra3.js";
|
|
447
453
|
import"./chunk-7hmy36fh.js";
|
|
448
|
-
import"./chunk-
|
|
449
|
-
import"./chunk-
|
|
450
|
-
import {
|
|
451
|
-
init_lazySchema,
|
|
452
|
-
lazySchema
|
|
453
|
-
} from "./chunk-64c1avct.js";
|
|
454
|
-
import"./chunk-0knhp7v5.js";
|
|
454
|
+
import"./chunk-64c1avct.js";
|
|
455
|
+
import"./chunk-pjz4m7pd.js";
|
|
455
456
|
import {
|
|
456
457
|
init_sleep,
|
|
457
458
|
sleep
|
|
458
459
|
} from "./chunk-8g5pe1gr.js";
|
|
459
|
-
import"./chunk-
|
|
460
|
+
import"./chunk-zvdc0eh1.js";
|
|
460
461
|
import {
|
|
461
462
|
ElicitRequestSchema,
|
|
462
463
|
ElicitationCompleteNotificationSchema,
|
|
463
464
|
init_types
|
|
464
465
|
} from "./chunk-4cp6193g.js";
|
|
465
|
-
import
|
|
466
|
-
|
|
467
|
-
} from "./chunk-8g747a8x.js";
|
|
468
|
-
import {
|
|
469
|
-
exports_external
|
|
470
|
-
} from "./chunk-d7886r6a.js";
|
|
466
|
+
import"./chunk-8g747a8x.js";
|
|
467
|
+
import"./chunk-d7886r6a.js";
|
|
471
468
|
import"./chunk-90wp6wez.js";
|
|
472
469
|
import"./chunk-a8ejc632.js";
|
|
473
470
|
import"./chunk-f5ma3nh5.js";
|
|
474
471
|
import"./chunk-qz2x630m.js";
|
|
475
|
-
import"./chunk-
|
|
472
|
+
import"./chunk-mqvvd1sy.js";
|
|
476
473
|
import"./chunk-6y2wszkc.js";
|
|
477
474
|
import"./chunk-3c25bcsw.js";
|
|
478
475
|
import"./chunk-9qh5f9r3.js";
|
|
@@ -481,25 +478,25 @@ import"./chunk-rh5a2rg9.js";
|
|
|
481
478
|
import"./chunk-p2816w9z.js";
|
|
482
479
|
import"./chunk-v9smspw2.js";
|
|
483
480
|
import"./chunk-v1kzp02e.js";
|
|
484
|
-
import"./chunk-
|
|
481
|
+
import"./chunk-ea7t0b92.js";
|
|
485
482
|
import"./chunk-crmjpsqe.js";
|
|
486
483
|
import"./chunk-m9w972ny.js";
|
|
487
484
|
import"./chunk-b5wxetbv.js";
|
|
488
485
|
import {
|
|
489
486
|
init_analytics,
|
|
490
487
|
logEvent
|
|
491
|
-
} from "./chunk-
|
|
488
|
+
} from "./chunk-f2mhrmww.js";
|
|
492
489
|
import"./chunk-0vkfrmqm.js";
|
|
493
490
|
import"./chunk-0xjaqda8.js";
|
|
494
|
-
import"./chunk-
|
|
491
|
+
import"./chunk-trt2sfjg.js";
|
|
495
492
|
import {
|
|
496
493
|
init_diagLogs,
|
|
497
494
|
logForDiagnosticsNoPII,
|
|
498
495
|
withDiagnosticsTiming
|
|
499
|
-
} from "./chunk-
|
|
500
|
-
import"./chunk-
|
|
496
|
+
} from "./chunk-73pxnrgv.js";
|
|
497
|
+
import"./chunk-5aw4k8fc.js";
|
|
501
498
|
import"./chunk-zs5b1dgr.js";
|
|
502
|
-
import"./chunk-
|
|
499
|
+
import"./chunk-99zt59gg.js";
|
|
503
500
|
import {
|
|
504
501
|
getCwd,
|
|
505
502
|
init_cwd
|
|
@@ -513,7 +510,7 @@ import {
|
|
|
513
510
|
init_xml,
|
|
514
511
|
logError,
|
|
515
512
|
logMCPDebug
|
|
516
|
-
} from "./chunk-
|
|
513
|
+
} from "./chunk-vp2p7azg.js";
|
|
517
514
|
import"./chunk-8tnsngw2.js";
|
|
518
515
|
import"./chunk-vsbyhpfy.js";
|
|
519
516
|
import"./chunk-p7pj6wf8.js";
|
|
@@ -560,7 +557,6 @@ import"./chunk-50dgek10.js";
|
|
|
560
557
|
import"./chunk-7wm5s02e.js";
|
|
561
558
|
import"./chunk-z0csm2zq.js";
|
|
562
559
|
import {
|
|
563
|
-
getClaudeConfigHomeDir,
|
|
564
560
|
init_envUtils,
|
|
565
561
|
isBareMode,
|
|
566
562
|
isEnvDefinedFalsy,
|
|
@@ -568,10 +564,7 @@ import {
|
|
|
568
564
|
} from "./chunk-hxhwzgnn.js";
|
|
569
565
|
import"./chunk-qx8z601m.js";
|
|
570
566
|
import"./chunk-cgm6758j.js";
|
|
571
|
-
import
|
|
572
|
-
axios_default,
|
|
573
|
-
init_axios
|
|
574
|
-
} from "./chunk-9m27g5s1.js";
|
|
567
|
+
import"./chunk-9m27g5s1.js";
|
|
575
568
|
import"./chunk-8pn8tvgg.js";
|
|
576
569
|
import"./chunk-netzwgv1.js";
|
|
577
570
|
import {
|
|
@@ -599,6 +592,7 @@ init_gracefulShutdown();
|
|
|
599
592
|
init_log();
|
|
600
593
|
init_process();
|
|
601
594
|
init_sessionIngressAuth();
|
|
595
|
+
init_sessionState();
|
|
602
596
|
init_sessionStorage();
|
|
603
597
|
init_SSETransport();
|
|
604
598
|
|
|
@@ -709,7 +703,7 @@ class RemoteIO extends StructuredIO {
|
|
|
709
703
|
});
|
|
710
704
|
setSessionMetadataChangedListener((metadata) => {
|
|
711
705
|
this.ccrClient?.reportMetadata(metadata);
|
|
712
|
-
});
|
|
706
|
+
}, { replayCurrent: true });
|
|
713
707
|
}
|
|
714
708
|
this.transport.connect();
|
|
715
709
|
const keepAliveIntervalMs = getPollIntervalConfig().session_keepalive_interval_v2_ms;
|
|
@@ -861,6 +855,7 @@ init_Tool();
|
|
|
861
855
|
init_loadAgentsDir();
|
|
862
856
|
init_messageQueueManager();
|
|
863
857
|
init_commandLifecycle();
|
|
858
|
+
init_sessionState();
|
|
864
859
|
init_log();
|
|
865
860
|
init_process();
|
|
866
861
|
init_src();
|
|
@@ -932,116 +927,6 @@ init_policyLimits();
|
|
|
932
927
|
init_product();
|
|
933
928
|
init_bridgeStatusUtil();
|
|
934
929
|
import { cwd } from "process";
|
|
935
|
-
|
|
936
|
-
// src/bridge/inboundAttachments.ts
|
|
937
|
-
init_axios();
|
|
938
|
-
init_v4();
|
|
939
|
-
init_state();
|
|
940
|
-
init_debug();
|
|
941
|
-
init_envUtils();
|
|
942
|
-
init_lazySchema();
|
|
943
|
-
init_bridgeConfig();
|
|
944
|
-
import { randomUUID } from "crypto";
|
|
945
|
-
import { mkdir, writeFile } from "fs/promises";
|
|
946
|
-
import { basename, join } from "path";
|
|
947
|
-
var DOWNLOAD_TIMEOUT_MS = 30000;
|
|
948
|
-
function debug(msg) {
|
|
949
|
-
logForDebugging(`[bridge:inbound-attach] ${msg}`);
|
|
950
|
-
}
|
|
951
|
-
var attachmentSchema = lazySchema(() => exports_external.object({
|
|
952
|
-
file_uuid: exports_external.string(),
|
|
953
|
-
file_name: exports_external.string()
|
|
954
|
-
}));
|
|
955
|
-
var attachmentsArraySchema = lazySchema(() => exports_external.array(attachmentSchema()));
|
|
956
|
-
function extractInboundAttachments(msg) {
|
|
957
|
-
if (typeof msg !== "object" || msg === null || !("file_attachments" in msg)) {
|
|
958
|
-
return [];
|
|
959
|
-
}
|
|
960
|
-
const parsed = attachmentsArraySchema().safeParse(msg.file_attachments);
|
|
961
|
-
return parsed.success ? parsed.data : [];
|
|
962
|
-
}
|
|
963
|
-
function sanitizeFileName(name) {
|
|
964
|
-
const base = basename(name).replace(/[^a-zA-Z0-9._-]/g, "_");
|
|
965
|
-
return base || "attachment";
|
|
966
|
-
}
|
|
967
|
-
function uploadsDir() {
|
|
968
|
-
return join(getClaudeConfigHomeDir(), "uploads", getSessionId());
|
|
969
|
-
}
|
|
970
|
-
async function resolveOne(att) {
|
|
971
|
-
const token = getBridgeAccessToken();
|
|
972
|
-
if (!token) {
|
|
973
|
-
debug("skip: no oauth token");
|
|
974
|
-
return;
|
|
975
|
-
}
|
|
976
|
-
let data;
|
|
977
|
-
try {
|
|
978
|
-
const url = `${getBridgeBaseUrl()}/api/oauth/files/${encodeURIComponent(att.file_uuid)}/content`;
|
|
979
|
-
const response = await axios_default.get(url, {
|
|
980
|
-
headers: { Authorization: `Bearer ${token}` },
|
|
981
|
-
responseType: "arraybuffer",
|
|
982
|
-
timeout: DOWNLOAD_TIMEOUT_MS,
|
|
983
|
-
validateStatus: () => true
|
|
984
|
-
});
|
|
985
|
-
if (response.status !== 200) {
|
|
986
|
-
debug(`fetch ${att.file_uuid} failed: status=${response.status}`);
|
|
987
|
-
return;
|
|
988
|
-
}
|
|
989
|
-
data = Buffer.from(response.data);
|
|
990
|
-
} catch (e) {
|
|
991
|
-
debug(`fetch ${att.file_uuid} threw: ${e}`);
|
|
992
|
-
return;
|
|
993
|
-
}
|
|
994
|
-
const safeName = sanitizeFileName(att.file_name);
|
|
995
|
-
const prefix = (att.file_uuid.slice(0, 8) || randomUUID().slice(0, 8)).replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
996
|
-
const dir = uploadsDir();
|
|
997
|
-
const outPath = join(dir, `${prefix}-${safeName}`);
|
|
998
|
-
try {
|
|
999
|
-
await mkdir(dir, { recursive: true });
|
|
1000
|
-
await writeFile(outPath, data);
|
|
1001
|
-
} catch (e) {
|
|
1002
|
-
debug(`write ${outPath} failed: ${e}`);
|
|
1003
|
-
return;
|
|
1004
|
-
}
|
|
1005
|
-
debug(`resolved ${att.file_uuid} \u2192 ${outPath} (${data.length} bytes)`);
|
|
1006
|
-
return outPath;
|
|
1007
|
-
}
|
|
1008
|
-
async function resolveInboundAttachments(attachments) {
|
|
1009
|
-
if (attachments.length === 0)
|
|
1010
|
-
return "";
|
|
1011
|
-
debug(`resolving ${attachments.length} attachment(s)`);
|
|
1012
|
-
const paths = await Promise.all(attachments.map(resolveOne));
|
|
1013
|
-
const ok = paths.filter((p) => p !== undefined);
|
|
1014
|
-
if (ok.length === 0)
|
|
1015
|
-
return "";
|
|
1016
|
-
return ok.map((p) => `@"${p}"`).join(" ") + " ";
|
|
1017
|
-
}
|
|
1018
|
-
function prependPathRefs(content, prefix) {
|
|
1019
|
-
if (!prefix)
|
|
1020
|
-
return content;
|
|
1021
|
-
if (typeof content === "string")
|
|
1022
|
-
return prefix + content;
|
|
1023
|
-
const i = content.findLastIndex((b) => b.type === "text");
|
|
1024
|
-
if (i !== -1) {
|
|
1025
|
-
const b = content[i];
|
|
1026
|
-
if (b.type === "text") {
|
|
1027
|
-
return [
|
|
1028
|
-
...content.slice(0, i),
|
|
1029
|
-
{ ...b, text: prefix + b.text },
|
|
1030
|
-
...content.slice(i + 1)
|
|
1031
|
-
];
|
|
1032
|
-
}
|
|
1033
|
-
}
|
|
1034
|
-
return [...content, { type: "text", text: prefix.trimEnd() }];
|
|
1035
|
-
}
|
|
1036
|
-
async function resolveAndPrepend(msg, content) {
|
|
1037
|
-
const attachments = extractInboundAttachments(msg);
|
|
1038
|
-
if (attachments.length === 0)
|
|
1039
|
-
return content;
|
|
1040
|
-
const prefix = await resolveInboundAttachments(attachments);
|
|
1041
|
-
return prependPathRefs(content, prefix);
|
|
1042
|
-
}
|
|
1043
|
-
|
|
1044
|
-
// src/cli/print.ts
|
|
1045
930
|
init_permissions();
|
|
1046
931
|
init_json();
|
|
1047
932
|
init_abortController();
|
|
@@ -1068,11 +953,11 @@ init_SyntheticOutputTool();
|
|
|
1068
953
|
|
|
1069
954
|
// src/utils/sessionUrl.ts
|
|
1070
955
|
init_uuid();
|
|
1071
|
-
import { randomUUID
|
|
956
|
+
import { randomUUID } from "crypto";
|
|
1072
957
|
function parseSessionIdentifier(resumeIdentifier) {
|
|
1073
958
|
if (resumeIdentifier.toLowerCase().endsWith(".jsonl")) {
|
|
1074
959
|
return {
|
|
1075
|
-
sessionId:
|
|
960
|
+
sessionId: randomUUID(),
|
|
1076
961
|
ingressUrl: null,
|
|
1077
962
|
isUrl: false,
|
|
1078
963
|
jsonlFile: resumeIdentifier,
|
|
@@ -1091,7 +976,7 @@ function parseSessionIdentifier(resumeIdentifier) {
|
|
|
1091
976
|
try {
|
|
1092
977
|
const url = new URL(resumeIdentifier);
|
|
1093
978
|
return {
|
|
1094
|
-
sessionId:
|
|
979
|
+
sessionId: randomUUID(),
|
|
1095
980
|
ingressUrl: url.href,
|
|
1096
981
|
isUrl: true,
|
|
1097
982
|
jsonlFile: null,
|
|
@@ -1129,7 +1014,7 @@ init_modelStrings();
|
|
|
1129
1014
|
init_state();
|
|
1130
1015
|
init_workloadContext();
|
|
1131
1016
|
init_fileHistory();
|
|
1132
|
-
import { randomUUID as
|
|
1017
|
+
import { randomUUID as randomUUID2 } from "crypto";
|
|
1133
1018
|
init_sandbox_adapter();
|
|
1134
1019
|
init_headlessProfiler();
|
|
1135
1020
|
init_queryProfiler();
|
|
@@ -1158,7 +1043,7 @@ init_marketplaceManager();
|
|
|
1158
1043
|
init_schemas();
|
|
1159
1044
|
init_zipCache();
|
|
1160
1045
|
import { readFile } from "fs/promises";
|
|
1161
|
-
import { join
|
|
1046
|
+
import { join } from "path";
|
|
1162
1047
|
async function readZipCacheKnownMarketplaces() {
|
|
1163
1048
|
try {
|
|
1164
1049
|
const content = await readFile(getZipCacheKnownMarketplacesPath(), "utf-8");
|
|
@@ -1183,13 +1068,13 @@ async function saveMarketplaceJsonToZipCache(marketplaceName, installLocation) {
|
|
|
1183
1068
|
const content = await readMarketplaceJsonContent(installLocation);
|
|
1184
1069
|
if (content !== null) {
|
|
1185
1070
|
const relPath = getMarketplaceJsonRelativePath(marketplaceName);
|
|
1186
|
-
await atomicWriteToZipCache(
|
|
1071
|
+
await atomicWriteToZipCache(join(zipCachePath, relPath), content);
|
|
1187
1072
|
}
|
|
1188
1073
|
}
|
|
1189
1074
|
async function readMarketplaceJsonContent(dir) {
|
|
1190
1075
|
const candidates = [
|
|
1191
|
-
|
|
1192
|
-
|
|
1076
|
+
join(dir, ".claude-plugin", "marketplace.json"),
|
|
1077
|
+
join(dir, "marketplace.json"),
|
|
1193
1078
|
dir
|
|
1194
1079
|
];
|
|
1195
1080
|
for (const candidate of candidates) {
|
|
@@ -1448,7 +1333,7 @@ Error: sandbox required but unavailable: ${sandboxUnavailableReason}
|
|
|
1448
1333
|
hook_id: event.hookId,
|
|
1449
1334
|
hook_name: event.hookName,
|
|
1450
1335
|
hook_event: event.hookEvent,
|
|
1451
|
-
uuid:
|
|
1336
|
+
uuid: randomUUID2(),
|
|
1452
1337
|
session_id: getSessionId()
|
|
1453
1338
|
};
|
|
1454
1339
|
case "progress":
|
|
@@ -1461,7 +1346,7 @@ Error: sandbox required but unavailable: ${sandboxUnavailableReason}
|
|
|
1461
1346
|
stdout: event.stdout,
|
|
1462
1347
|
stderr: event.stderr,
|
|
1463
1348
|
output: event.output,
|
|
1464
|
-
uuid:
|
|
1349
|
+
uuid: randomUUID2(),
|
|
1465
1350
|
session_id: getSessionId()
|
|
1466
1351
|
};
|
|
1467
1352
|
case "response":
|
|
@@ -1476,7 +1361,7 @@ Error: sandbox required but unavailable: ${sandboxUnavailableReason}
|
|
|
1476
1361
|
stderr: event.stderr,
|
|
1477
1362
|
exit_code: event.exitCode,
|
|
1478
1363
|
outcome: event.outcome,
|
|
1479
|
-
uuid:
|
|
1364
|
+
uuid: randomUUID2(),
|
|
1480
1365
|
session_id: getSessionId()
|
|
1481
1366
|
};
|
|
1482
1367
|
}
|
|
@@ -1669,13 +1554,13 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
|
|
|
1669
1554
|
});
|
|
1670
1555
|
});
|
|
1671
1556
|
setPermissionModeChangedListener((newMode) => {
|
|
1672
|
-
if (newMode === "default" || newMode === "acceptEdits" || newMode === "bypassPermissions" || newMode === "plan" || newMode ===
|
|
1557
|
+
if (newMode === "default" || newMode === "acceptEdits" || newMode === "bypassPermissions" || newMode === "plan" || newMode === "auto" || newMode === "dontAsk") {
|
|
1673
1558
|
output.enqueue({
|
|
1674
1559
|
type: "system",
|
|
1675
1560
|
subtype: "status",
|
|
1676
1561
|
status: null,
|
|
1677
1562
|
permissionMode: newMode,
|
|
1678
|
-
uuid:
|
|
1563
|
+
uuid: randomUUID2(),
|
|
1679
1564
|
session_id: getSessionId()
|
|
1680
1565
|
});
|
|
1681
1566
|
}
|
|
@@ -1696,7 +1581,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
|
|
|
1696
1581
|
isAuthenticating: status.isAuthenticating,
|
|
1697
1582
|
output: status.output,
|
|
1698
1583
|
error: status.error,
|
|
1699
|
-
uuid:
|
|
1584
|
+
uuid: randomUUID2(),
|
|
1700
1585
|
session_id: getSessionId()
|
|
1701
1586
|
});
|
|
1702
1587
|
});
|
|
@@ -1707,7 +1592,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
|
|
|
1707
1592
|
output.enqueue({
|
|
1708
1593
|
type: "rate_limit_event",
|
|
1709
1594
|
rate_limit_info: rateLimitInfo,
|
|
1710
|
-
uuid:
|
|
1595
|
+
uuid: randomUUID2(),
|
|
1711
1596
|
session_id: getSessionId()
|
|
1712
1597
|
});
|
|
1713
1598
|
}
|
|
@@ -1723,7 +1608,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
|
|
|
1723
1608
|
enqueue({
|
|
1724
1609
|
mode: "prompt",
|
|
1725
1610
|
value: turnInterruptionState.message.message.content,
|
|
1726
|
-
uuid:
|
|
1611
|
+
uuid: randomUUID2()
|
|
1727
1612
|
});
|
|
1728
1613
|
}
|
|
1729
1614
|
const modelOptions = getModelOptions();
|
|
@@ -1818,7 +1703,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
|
|
|
1818
1703
|
subtype: "elicitation_complete",
|
|
1819
1704
|
mcp_server_name: serverName,
|
|
1820
1705
|
elicitation_id: elicitationId,
|
|
1821
|
-
uuid:
|
|
1706
|
+
uuid: randomUUID2(),
|
|
1822
1707
|
session_id: getSessionId()
|
|
1823
1708
|
});
|
|
1824
1709
|
});
|
|
@@ -2072,7 +1957,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
|
|
|
2072
1957
|
}
|
|
2073
1958
|
enqueue({
|
|
2074
1959
|
...command,
|
|
2075
|
-
uuid:
|
|
1960
|
+
uuid: randomUUID2()
|
|
2076
1961
|
});
|
|
2077
1962
|
}
|
|
2078
1963
|
run();
|
|
@@ -2111,7 +1996,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
|
|
|
2111
1996
|
}
|
|
2112
1997
|
pluginInstallPromise = null;
|
|
2113
1998
|
await refreshPluginState();
|
|
2114
|
-
const { setupPluginHookHotReload } = await import("./chunk-
|
|
1999
|
+
const { setupPluginHookHotReload } = await import("./chunk-xnakns4w.js");
|
|
2115
2000
|
setupPluginHookHotReload();
|
|
2116
2001
|
}
|
|
2117
2002
|
const isMainThread = (cmd) => cmd.agentId === undefined;
|
|
@@ -2196,7 +2081,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
|
|
|
2196
2081
|
duration_ms: durationMsMatch ? parseInt(durationMsMatch[1], 10) : 0
|
|
2197
2082
|
} : undefined,
|
|
2198
2083
|
session_id: getSessionId(),
|
|
2199
|
-
uuid:
|
|
2084
|
+
uuid: randomUUID2()
|
|
2200
2085
|
});
|
|
2201
2086
|
}
|
|
2202
2087
|
}
|
|
@@ -2276,7 +2161,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
|
|
|
2276
2161
|
subtype: "status",
|
|
2277
2162
|
status,
|
|
2278
2163
|
session_id: getSessionId(),
|
|
2279
|
-
uuid:
|
|
2164
|
+
uuid: randomUUID2()
|
|
2280
2165
|
});
|
|
2281
2166
|
}
|
|
2282
2167
|
})) {
|
|
@@ -2319,7 +2204,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
|
|
|
2319
2204
|
for (const nextCommand of nextCommands) {
|
|
2320
2205
|
enqueue({
|
|
2321
2206
|
...nextCommand,
|
|
2322
|
-
uuid:
|
|
2207
|
+
uuid: randomUUID2()
|
|
2323
2208
|
});
|
|
2324
2209
|
}
|
|
2325
2210
|
}
|
|
@@ -2357,7 +2242,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
|
|
|
2357
2242
|
const suggestionMsg = {
|
|
2358
2243
|
type: "prompt_suggestion",
|
|
2359
2244
|
suggestion: result.suggestion,
|
|
2360
|
-
uuid:
|
|
2245
|
+
uuid: randomUUID2(),
|
|
2361
2246
|
session_id: getSessionId()
|
|
2362
2247
|
};
|
|
2363
2248
|
const lastEmittedEntry = {
|
|
@@ -2447,7 +2332,7 @@ function runHeadlessStreaming(structuredIO, mcpClients, commands, tools, initial
|
|
|
2447
2332
|
usage: EMPTY_USAGE,
|
|
2448
2333
|
modelUsage: {},
|
|
2449
2334
|
permission_denials: [],
|
|
2450
|
-
uuid:
|
|
2335
|
+
uuid: randomUUID2(),
|
|
2451
2336
|
errors: [
|
|
2452
2337
|
errorMessage(error),
|
|
2453
2338
|
...getInMemoryErrors().map((_) => _.error)
|
|
@@ -2536,7 +2421,7 @@ ${m.text}
|
|
|
2536
2421
|
enqueue({
|
|
2537
2422
|
mode: "prompt",
|
|
2538
2423
|
value: formatted,
|
|
2539
|
-
uuid:
|
|
2424
|
+
uuid: randomUUID2()
|
|
2540
2425
|
});
|
|
2541
2426
|
run();
|
|
2542
2427
|
return;
|
|
@@ -2547,7 +2432,7 @@ ${m.text}
|
|
|
2547
2432
|
enqueue({
|
|
2548
2433
|
mode: "prompt",
|
|
2549
2434
|
value: SHUTDOWN_TEAM_PROMPT,
|
|
2550
|
-
uuid:
|
|
2435
|
+
uuid: randomUUID2()
|
|
2551
2436
|
});
|
|
2552
2437
|
run();
|
|
2553
2438
|
return;
|
|
@@ -2571,7 +2456,7 @@ ${m.text}
|
|
|
2571
2456
|
enqueue({
|
|
2572
2457
|
mode: "prompt",
|
|
2573
2458
|
value: SHUTDOWN_TEAM_PROMPT,
|
|
2574
|
-
uuid:
|
|
2459
|
+
uuid: randomUUID2()
|
|
2575
2460
|
});
|
|
2576
2461
|
run();
|
|
2577
2462
|
} else {
|
|
@@ -2612,7 +2497,7 @@ ${m.text}
|
|
|
2612
2497
|
return;
|
|
2613
2498
|
enqueue({
|
|
2614
2499
|
...command,
|
|
2615
|
-
uuid:
|
|
2500
|
+
uuid: randomUUID2()
|
|
2616
2501
|
});
|
|
2617
2502
|
run();
|
|
2618
2503
|
})();
|
|
@@ -2657,7 +2542,7 @@ ${m.text}
|
|
|
2657
2542
|
return;
|
|
2658
2543
|
enqueue({
|
|
2659
2544
|
...command,
|
|
2660
|
-
uuid:
|
|
2545
|
+
uuid: randomUUID2()
|
|
2661
2546
|
});
|
|
2662
2547
|
run();
|
|
2663
2548
|
})();
|
|
@@ -3364,7 +3249,7 @@ ${m.text}
|
|
|
3364
3249
|
} else {
|
|
3365
3250
|
let bridgeFailureDetail;
|
|
3366
3251
|
try {
|
|
3367
|
-
const { initReplBridge } = await import("./chunk-
|
|
3252
|
+
const { initReplBridge } = await import("./chunk-9f1w8esq.js");
|
|
3368
3253
|
const handle = await initReplBridge({
|
|
3369
3254
|
onInboundMessage(msg2) {
|
|
3370
3255
|
const fields = extractInboundMessageFields(msg2);
|
|
@@ -3412,7 +3297,7 @@ ${m.text}
|
|
|
3412
3297
|
subtype: "bridge_state",
|
|
3413
3298
|
state,
|
|
3414
3299
|
detail,
|
|
3415
|
-
uuid:
|
|
3300
|
+
uuid: randomUUID2(),
|
|
3416
3301
|
session_id: getSessionId()
|
|
3417
3302
|
});
|
|
3418
3303
|
},
|
|
@@ -3722,7 +3607,7 @@ async function handleInitializeRequest(request, requestId, initialized, output,
|
|
|
3722
3607
|
isAuthenticating: status.isAuthenticating,
|
|
3723
3608
|
output: status.output,
|
|
3724
3609
|
error: status.error,
|
|
3725
|
-
uuid:
|
|
3610
|
+
uuid: randomUUID2(),
|
|
3726
3611
|
session_id: getSessionId()
|
|
3727
3612
|
});
|
|
3728
3613
|
}
|
|
@@ -3791,7 +3676,18 @@ function handleSetPermissionMode(request, requestId, toolPermissionContext, outp
|
|
|
3791
3676
|
return toolPermissionContext;
|
|
3792
3677
|
}
|
|
3793
3678
|
}
|
|
3794
|
-
if (
|
|
3679
|
+
if (request.mode === "auto" && !isAutoModeGateEnabled()) {
|
|
3680
|
+
const reason = getAutoModeUnavailableReason();
|
|
3681
|
+
output.enqueue({
|
|
3682
|
+
type: "control_response",
|
|
3683
|
+
response: {
|
|
3684
|
+
subtype: "error",
|
|
3685
|
+
request_id: requestId,
|
|
3686
|
+
error: reason ? `Cannot set permission mode to auto: ${getAutoModeUnavailableNotification(reason)}` : "Cannot set permission mode to auto"
|
|
3687
|
+
}
|
|
3688
|
+
});
|
|
3689
|
+
return toolPermissionContext;
|
|
3690
|
+
}
|
|
3795
3691
|
output.enqueue({
|
|
3796
3692
|
type: "control_response",
|
|
3797
3693
|
response: {
|
|
@@ -3917,7 +3813,7 @@ function emitLoadError(message, outputFormat) {
|
|
|
3917
3813
|
usage: EMPTY_USAGE,
|
|
3918
3814
|
modelUsage: {},
|
|
3919
3815
|
permission_denials: [],
|
|
3920
|
-
uuid:
|
|
3816
|
+
uuid: randomUUID2(),
|
|
3921
3817
|
errors: [message]
|
|
3922
3818
|
};
|
|
3923
3819
|
process.stdout.write(jsonStringify(errorResult) + `
|
|
@@ -4000,7 +3896,7 @@ async function loadInitialMessages(setAppState, options) {
|
|
|
4000
3896
|
processMessagesForTeleportResume,
|
|
4001
3897
|
teleportResumeCodeSession,
|
|
4002
3898
|
validateGitState
|
|
4003
|
-
} = await import("./chunk-
|
|
3899
|
+
} = await import("./chunk-mmn3cbyd.js");
|
|
4004
3900
|
await validateGitState();
|
|
4005
3901
|
const teleportResult = await teleportResumeCodeSession(options.teleport);
|
|
4006
3902
|
const { branchError } = await checkOutTeleportedSessionBranch(teleportResult.branch);
|