@opencode/core 0.0.0-dev-20026 → 0.0.0-dev-20027
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/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{variant-7c8esnqs.js → git-010w34bf.js} +25 -25
- package/dist/chunks/{variant-pt7424fw.js → git-06sgyj6k.js} +9 -9
- package/dist/chunks/{variant-2d57kztd.js → git-0gaj4617.js} +6 -6
- package/dist/chunks/{variant-rh1n8m2g.js → git-0heqmdds.js} +11 -11
- package/dist/chunks/git-0mesazry.js +4 -0
- package/dist/chunks/{variant-rbqcddk9.js → git-0n7z1vhq.js} +14 -14
- package/dist/chunks/{variant-2g7pkq9k.js → git-0n9dhkpc.js} +13 -13
- package/dist/chunks/{variant-0paq2nw3.js → git-0paq2nw3.js} +1 -1
- package/dist/chunks/{variant-3prdw56f.js → git-0vvq0b5s.js} +44 -44
- package/dist/chunks/{variant-af7j52hr.js → git-13dd4g75.js} +4 -4
- package/dist/chunks/{variant-n7hwxzgv.js → git-16p5kn1s.js} +26 -26
- package/dist/chunks/{variant-ngjw7veb.js → git-19thbt26.js} +3 -3
- package/dist/chunks/{variant-yp2x3t23.js → git-1acjjqhc.js} +4 -4
- package/dist/chunks/{variant-1dazxqgg.js → git-1dazxqgg.js} +2 -2
- package/dist/chunks/{variant-e37stjd8.js → git-1dvq6k6w.js} +11 -11
- package/dist/chunks/{variant-kad49353.js → git-1n18w02d.js} +9 -9
- package/dist/chunks/{variant-apg24jar.js → git-1nyjqkcf.js} +28 -28
- package/dist/chunks/{variant-21r38tys.js → git-21r38tys.js} +1 -1
- package/dist/chunks/{variant-v1x57w6y.js → git-2247smmp.js} +20 -20
- package/dist/chunks/{variant-2402vzrj.js → git-2402vzrj.js} +1 -1
- package/dist/chunks/{variant-avrnkb01.js → git-27jqy24h.js} +40 -40
- package/dist/chunks/{variant-5jf3agd7.js → git-28e409nm.js} +1 -1
- package/dist/chunks/{variant-1w0wkfxf.js → git-298eqf0p.js} +5 -5
- package/dist/chunks/{variant-2a5m3afh.js → git-2a5m3afh.js} +1 -1
- package/dist/chunks/{variant-mn93ga5d.js → git-2aqgakzf.js} +17 -17
- package/dist/chunks/{variant-wtm3ybk1.js → git-2b9m4c98.js} +3 -3
- package/dist/chunks/{variant-8eh51za7.js → git-2bmrymfw.js} +11 -11
- package/dist/chunks/{variant-2hr5nhwa.js → git-2hr5nhwa.js} +1 -1
- package/dist/chunks/{variant-z3pw5915.js → git-2qp6y8xf.js} +5 -5
- package/dist/chunks/{variant-g04dwg7s.js → git-2zdn2hg8.js} +4 -4
- package/dist/chunks/{variant-bfhm6t97.js → git-31p1pbsy.js} +8 -8
- package/dist/chunks/{variant-s41dxx30.js → git-3agnzf0b.js} +3 -3
- package/dist/chunks/{variant-0f3fkebw.js → git-3en9cd2f.js} +4 -4
- package/dist/chunks/{variant-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{variant-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-6p55r51m.js → git-3ppw9e7p.js} +3 -3
- package/dist/chunks/{variant-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{variant-84sj45vf.js → git-419fw4gr.js} +11 -11
- package/dist/chunks/{variant-563rq041.js → git-43x0z3ay.js} +87 -87
- package/dist/chunks/{variant-h6r3nrb9.js → git-44h5tttr.js} +4 -4
- package/dist/chunks/{variant-qmkkft71.js → git-48nzf0bm.js} +17 -17
- package/dist/chunks/{variant-ar8vm0ff.js → git-4ac7tkhg.js} +13 -13
- package/dist/chunks/{variant-hkafdcbz.js → git-4ffsqyr5.js} +3 -3
- package/dist/chunks/{variant-hpfrvn9v.js → git-4jh9036t.js} +16 -16
- package/dist/chunks/{variant-2a6rn6yr.js → git-4mwpykj0.js} +6 -6
- package/dist/chunks/{variant-s7h606h9.js → git-4r06v03z.js} +16 -16
- package/dist/chunks/{variant-q7mj73f6.js → git-4xeg45nw.js} +16 -16
- package/dist/chunks/{variant-83xz4qq9.js → git-52d56bf8.js} +20 -20
- package/dist/chunks/{variant-3g33scay.js → git-53fyba40.js} +4 -4
- package/dist/chunks/{variant-56gdpj1q.js → git-56gdpj1q.js} +2 -2
- package/dist/chunks/{variant-pef6k0gg.js → git-57ez7d0k.js} +9 -9
- package/dist/chunks/{variant-557d9c8t.js → git-5a5ae82c.js} +20 -20
- package/dist/chunks/{variant-xkhfjrgz.js → git-5cmxdwv8.js} +3 -3
- package/dist/chunks/{variant-5daktx2q.js → git-5daktx2q.js} +1 -1
- package/dist/chunks/{variant-yh7kjdpc.js → git-5e1pzs32.js} +9 -9
- package/dist/chunks/{variant-5ekn9679.js → git-5ekn9679.js} +1 -1
- package/dist/chunks/{variant-cmh4zy5x.js → git-5f0nhxgb.js} +17 -17
- package/dist/chunks/{variant-75x4dgvy.js → git-5pzymp2c.js} +10 -10
- package/dist/chunks/{variant-e3qxr5gk.js → git-5qd3pb7m.js} +2 -2
- package/dist/chunks/{variant-5t3nmthw.js → git-5t3nmthw.js} +2 -2
- package/dist/chunks/{variant-r6cdbtvh.js → git-5x6zeszh.js} +4 -4
- package/dist/chunks/{variant-kns7re6s.js → git-5yspkx8c.js} +15 -15
- package/dist/chunks/{variant-0z6w7vfv.js → git-607q5haz.js} +12 -12
- package/dist/chunks/{variant-ybday7y9.js → git-656e1hpv.js} +11 -11
- package/dist/chunks/{variant-669tq793.js → git-669tq793.js} +1 -1
- package/dist/chunks/{variant-72v9w41r.js → git-69z71taw.js} +56 -56
- package/dist/chunks/{variant-8epdgwc0.js → git-6b577fjv.js} +17 -17
- package/dist/chunks/{variant-jx4tygjy.js → git-6ck4d7pv.js} +10 -10
- package/dist/chunks/{variant-jes8xwtq.js → git-6dsb7qk9.js} +6 -6
- package/dist/chunks/{variant-6msgmcgs.js → git-6msgmcgs.js} +1 -1
- package/dist/chunks/{variant-7836xe6r.js → git-6qnh8fmb.js} +7 -7
- package/dist/chunks/{variant-wbtey438.js → git-6r9cb4fm.js} +8 -8
- package/dist/chunks/{variant-cenw4sj9.js → git-6x0xdmp7.js} +171 -171
- package/dist/chunks/{variant-dvc89yjx.js → git-6ysrkrkr.js} +8 -8
- package/dist/chunks/{variant-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-9byqxeta.js → git-7d00555s.js} +17 -17
- package/dist/chunks/{variant-7dqw4kz8.js → git-7dqw4kz8.js} +1 -1
- package/dist/chunks/{variant-g1zq083n.js → git-7eemnjng.js} +13 -13
- package/dist/chunks/{variant-8tpythmx.js → git-7g5aaaxw.js} +22 -22
- package/dist/chunks/{variant-b8y4420x.js → git-7gf9heny.js} +41 -41
- package/dist/chunks/{variant-g20tdqpk.js → git-7q587t2b.js} +34 -34
- package/dist/chunks/{variant-zd5rdewp.js → git-7tqntkc3.js} +8 -8
- package/dist/chunks/{variant-zxbrzaq9.js → git-80kx0180.js} +23 -23
- package/dist/chunks/{variant-21xkm9mw.js → git-82atqrj1.js} +30 -30
- package/dist/chunks/{variant-6w0aczmv.js → git-84g7jkxa.js} +11 -11
- package/dist/chunks/{variant-8d7r5vzw.js → git-8d7r5vzw.js} +1 -1
- package/dist/chunks/{variant-r9684t3a.js → git-8pa4v8ja.js} +10 -10
- package/dist/chunks/{variant-cgrt34rb.js → git-8r029ffp.js} +26 -26
- package/dist/chunks/{variant-8nx8zez9.js → git-8ssx7wvg.js} +13 -13
- package/dist/chunks/{variant-r39jerzg.js → git-8t502s3m.js} +8 -8
- package/dist/chunks/{variant-tbmac1c7.js → git-8tsdq50x.js} +4 -4
- package/dist/chunks/{variant-nv7t75ky.js → git-8yd29ctq.js} +11 -11
- package/dist/chunks/{variant-gfvb90ym.js → git-94ek1h2f.js} +2 -2
- package/dist/chunks/{variant-rtgnjske.js → git-94rbwrma.js} +33 -33
- package/dist/chunks/{variant-engkm2d6.js → git-9b00c1fb.js} +5 -5
- package/dist/chunks/{variant-9cyfspf3.js → git-9cyfspf3.js} +2 -2
- package/dist/chunks/git-9mknr04w.js +252 -0
- package/dist/chunks/{variant-80dj63ps.js → git-9zr2rkr1.js} +9 -9
- package/dist/chunks/{variant-dfjemdtf.js → git-a2whg7pq.js} +32 -32
- package/dist/chunks/{variant-j55501wg.js → git-a5kpvxfh.js} +6 -6
- package/dist/chunks/{variant-aaet6srn.js → git-aaet6srn.js} +2 -2
- package/dist/chunks/{variant-6zedfc54.js → git-abddqw17.js} +27 -27
- package/dist/chunks/{variant-dngx6zgq.js → git-ajrg9ep2.js} +4 -4
- package/dist/chunks/{variant-na0h3a6c.js → git-as301tcg.js} +19 -19
- package/dist/chunks/{variant-rc0khjqf.js → git-awyhhjf2.js} +12 -12
- package/dist/chunks/{variant-2ptfhmaq.js → git-aztg29vg.js} +13 -13
- package/dist/chunks/{variant-b6gygkdw.js → git-b6gygkdw.js} +2 -2
- package/dist/chunks/{variant-gs9rpsen.js → git-bcj22tgq.js} +11 -11
- package/dist/chunks/{variant-1a6p2twq.js → git-bct739vz.js} +4 -4
- package/dist/chunks/{variant-7xgrqf4n.js → git-bygjy1qb.js} +16 -16
- package/dist/chunks/{variant-fczcbajx.js → git-c05376bz.js} +311 -311
- package/dist/chunks/{variant-1xcw6xjf.js → git-c0p7yvnn.js} +16 -16
- package/dist/chunks/{variant-m74j5n8t.js → git-c0zrtztw.js} +60 -60
- package/dist/chunks/{variant-ajk3nktm.js → git-c31h68nj.js} +32 -32
- package/dist/chunks/{variant-f747t98r.js → git-c55fm4pv.js} +16 -16
- package/dist/chunks/{variant-nmvjxe16.js → git-c5tk59cy.js} +10 -10
- package/dist/chunks/{variant-8fz7s7fk.js → git-c5y6tpwg.js} +6 -6
- package/dist/chunks/{variant-r2m716tb.js → git-c765mh8b.js} +5 -5
- package/dist/chunks/{variant-kqbmdx55.js → git-caxz1j83.js} +27 -27
- package/dist/chunks/{variant-54tcyq79.js → git-ckecvw8r.js} +2 -2
- package/dist/chunks/{variant-ppxpc5nv.js → git-crw3tv4v.js} +5 -5
- package/dist/chunks/{variant-2eyvmpqy.js → git-csewmbcm.js} +35 -35
- package/dist/chunks/{variant-a6x7shte.js → git-ct9y6gbn.js} +5 -5
- package/dist/chunks/{variant-bjn91642.js → git-d8nc1xcx.js} +4 -4
- package/dist/chunks/{variant-vkepkbsm.js → git-dagq1gyb.js} +18 -18
- package/dist/chunks/{variant-6rxwp35s.js → git-dh3r0p8w.js} +15 -15
- package/dist/chunks/{variant-y71avatq.js → git-dpkg50ah.js} +4 -4
- package/dist/chunks/{variant-1wyzf5g7.js → git-dw9armfg.js} +2 -2
- package/dist/chunks/{variant-nj481gba.js → git-dxkpry84.js} +5 -5
- package/dist/chunks/{variant-nydghdxw.js → git-dxpnpzza.js} +26 -26
- package/dist/chunks/git-dzk9rjvc.js +26 -0
- package/dist/chunks/{variant-4hz2mmtn.js → git-e0vtkr8g.js} +6 -6
- package/dist/chunks/{variant-9jwjh49g.js → git-e97zwv3c.js} +32 -32
- package/dist/chunks/{variant-eaj1djv9.js → git-eaj1djv9.js} +1 -1
- package/dist/chunks/{variant-was7srj9.js → git-ednp5hmx.js} +8 -8
- package/dist/chunks/{variant-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-erw5rpbs.js → git-erw5rpbs.js} +2 -2
- package/dist/chunks/{variant-etq0c3wd.js → git-etq0c3wd.js} +1 -1
- package/dist/chunks/{variant-a5t4p5xt.js → git-ey79q3y0.js} +24 -24
- package/dist/chunks/{variant-mm84f3fs.js → git-f1nnvvmc.js} +27 -27
- package/dist/chunks/{variant-gga0wymx.js → git-f413cgt0.js} +70 -70
- package/dist/chunks/{variant-mjncxbbh.js → git-fjvydvzm.js} +6 -6
- package/dist/chunks/{variant-yf5fe4my.js → git-fp9k3yne.js} +17 -17
- package/dist/chunks/{variant-nq97rzw1.js → git-fq78sz5t.js} +14 -14
- package/dist/chunks/{variant-dcer5810.js → git-fzd06gvz.js} +26 -26
- package/dist/chunks/{variant-5hwa0061.js → git-g0hzkq8p.js} +5 -5
- package/dist/chunks/{variant-gf45v5rv.js → git-g2gyvwgr.js} +9 -9
- package/dist/chunks/{variant-t0yy7xg2.js → git-g2ks5ta4.js} +85 -85
- package/dist/chunks/{variant-fzgxakwn.js → git-g8atgw3j.js} +4 -4
- package/dist/chunks/{variant-7d4hdxdy.js → git-g9sxb67q.js} +9 -9
- package/dist/chunks/{variant-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-0bzevza6.js → git-ge4ktqxw.js} +16 -16
- package/dist/chunks/{variant-gv6a8nnw.js → git-gv6a8nnw.js} +2 -2
- package/dist/chunks/{variant-vya4f7hk.js → git-h4kdtw4d.js} +15 -15
- package/dist/chunks/{variant-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-t6055e0v.js → git-h78ckr3f.js} +33 -33
- package/dist/chunks/{variant-avd8ev9v.js → git-hc4fnx3k.js} +4 -4
- package/dist/chunks/{variant-gbdr24b9.js → git-hfx0q6qd.js} +7 -7
- package/dist/chunks/{variant-17j9h1rv.js → git-hfypw2dz.js} +9 -9
- package/dist/chunks/{variant-31rgt9cd.js → git-hmfyqch5.js} +15 -15
- package/dist/chunks/{variant-fbc9vsj2.js → git-hwsctmkw.js} +20 -20
- package/dist/chunks/{variant-v1nyvan4.js → git-hxr8hfhn.js} +37 -37
- package/dist/chunks/{variant-j56e64zr.js → git-j56e64zr.js} +1 -1
- package/dist/chunks/{variant-3wwqqeqp.js → git-jd3npf77.js} +6 -6
- package/dist/chunks/{variant-02av72dv.js → git-jekat74m.js} +35 -35
- package/dist/chunks/{variant-2n3rws7p.js → git-jjb97hk9.js} +35 -35
- package/dist/chunks/{variant-rhafb4aa.js → git-jjs74g98.js} +9 -9
- package/dist/chunks/git-jqh9b0xq.js +18 -0
- package/dist/chunks/{variant-hcz3zddy.js → git-jv01nqvq.js} +5 -5
- package/dist/chunks/{variant-s5d9hk7s.js → git-jvb9xte8.js} +9 -9
- package/dist/chunks/{variant-7y60eay9.js → git-jxrc8b14.js} +35 -35
- package/dist/chunks/{variant-nzks3jc8.js → git-k3c624dm.js} +3 -3
- package/dist/chunks/{variant-rwnjws6z.js → git-k4dgey25.js} +7 -7
- package/dist/chunks/{variant-knb7evpn.js → git-k9kj6xed.js} +6 -6
- package/dist/chunks/{variant-b9dsjnj7.js → git-kh4f80a0.js} +8 -8
- package/dist/chunks/{variant-e6y173sj.js → git-khv50f9b.js} +7 -7
- package/dist/chunks/{variant-xycc92pn.js → git-kjx25m7e.js} +30 -30
- package/dist/chunks/{variant-cm9mwwq8.js → git-kz01yks6.js} +24 -24
- package/dist/chunks/{variant-m3fdjcah.js → git-m3fdjcah.js} +1 -1
- package/dist/chunks/{variant-jfmkgsry.js → git-m81c09cc.js} +30 -30
- package/dist/chunks/{variant-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-yq6sxka3.js → git-mavemxhg.js} +48 -48
- package/dist/chunks/{variant-xe0jn6g3.js → git-mksgfzgs.js} +5 -5
- package/dist/chunks/{variant-ecnb5xks.js → git-mm0m6d6d.js} +20 -20
- package/dist/chunks/{variant-1bbkgx8g.js → git-mvfsc1pv.js} +3 -3
- package/dist/chunks/{variant-nk7804dj.js → git-nbrkqbtq.js} +11 -11
- package/dist/chunks/{variant-rt8yt3bf.js → git-ntbpaqq3.js} +17 -17
- package/dist/chunks/{variant-3cz8rj72.js → git-nxhqveyz.js} +5 -5
- package/dist/chunks/{variant-v7eyjk8c.js → git-p2szdd0n.js} +36 -36
- package/dist/chunks/{variant-9esb0m0p.js → git-p3bhxa8e.js} +5 -5
- package/dist/chunks/{variant-p37cw4rj.js → git-p42hj8p8.js} +8 -8
- package/dist/chunks/{variant-d27k1qq2.js → git-p5q3ex0b.js} +17 -17
- package/dist/chunks/{variant-fzhdr1mx.js → git-p63yn2ba.js} +1 -1
- package/dist/chunks/{variant-9r5qhkng.js → git-pde5dn08.js} +28 -28
- package/dist/chunks/{variant-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{variant-8mvw6bgy.js → git-ppk9bqm7.js} +23 -23
- package/dist/chunks/{variant-kzynzy4y.js → git-ps3qw662.js} +23 -23
- package/dist/chunks/{variant-a5fr2mj9.js → git-q88m6k9v.js} +20 -20
- package/dist/chunks/{variant-xb02k0wq.js → git-qa3qhgw8.js} +4 -4
- package/dist/chunks/{variant-4h2qm5xd.js → git-qahzx1a8.js} +40 -40
- package/dist/chunks/{variant-8qdtva9t.js → git-qers21hv.js} +17 -17
- package/dist/chunks/{variant-6sr3ve8g.js → git-qj8eh1ht.js} +19 -19
- package/dist/chunks/{variant-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-fjeqa7jj.js → git-qvcpt1fs.js} +10 -10
- package/dist/chunks/{variant-jn81emqq.js → git-r2xpf7zj.js} +9 -9
- package/dist/chunks/{variant-vtd2qwnf.js → git-r3c4069c.js} +1 -1
- package/dist/chunks/{variant-edv89m0p.js → git-r46ncawz.js} +41 -41
- package/dist/chunks/{variant-fx8cm3j5.js → git-r8sqswrh.js} +11 -11
- package/dist/chunks/{variant-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-bjn6skbd.js → git-rgvd7d6r.js} +5 -5
- package/dist/chunks/{variant-71zkw7xr.js → git-rhwn96vn.js} +9 -9
- package/dist/chunks/{variant-7yrwfpwm.js → git-rm9q555g.js} +11 -11
- package/dist/chunks/{variant-1j4qs2dp.js → git-rndw9g15.js} +13 -13
- package/dist/chunks/{variant-yaktvxn2.js → git-rspkaf4h.js} +15 -15
- package/dist/chunks/{variant-md1qfzvn.js → git-rtdzmes0.js} +44 -44
- package/dist/chunks/{variant-6wjad31y.js → git-ryy9z3kr.js} +7 -7
- package/dist/chunks/{variant-kfd45557.js → git-ryyp7ypm.js} +17 -17
- package/dist/chunks/{variant-sjgae2xy.js → git-s35b38t3.js} +24 -24
- package/dist/chunks/{variant-c8swy7ka.js → git-s5a3abkq.js} +15 -15
- package/dist/chunks/{variant-s07fdbeq.js → git-sbay9tk1.js} +15 -15
- package/dist/chunks/{variant-0kdyx93j.js → git-sc4zk213.js} +20 -20
- package/dist/chunks/{variant-p8djes8h.js → git-sd3n1ret.js} +19 -19
- package/dist/chunks/{variant-vrk0cgw0.js → git-snhm608r.js} +24 -24
- package/dist/chunks/{variant-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-4n6z1r8s.js → git-tbybbeq2.js} +24 -24
- package/dist/chunks/{variant-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{variant-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{variant-n3hpqbgj.js → git-tex4m4qy.js} +11 -11
- package/dist/chunks/{variant-eqvqvd13.js → git-tg4ey0nj.js} +12 -12
- package/dist/chunks/{variant-5mvsdnr7.js → git-tm95rjfh.js} +4 -4
- package/dist/chunks/{variant-k5y748ge.js → git-tqb379dh.js} +5 -5
- package/dist/chunks/{variant-d42e34ke.js → git-tsc4theb.js} +40 -40
- package/dist/chunks/{variant-tvtrv512.js → git-tvtrv512.js} +1 -1
- package/dist/chunks/{variant-0xezjjjn.js → git-tx9w5tca.js} +8 -8
- package/dist/chunks/{variant-62m7qsdd.js → git-tyd6evbv.js} +3 -3
- package/dist/chunks/{variant-n2cj49gr.js → git-v4m0f3qj.js} +24 -24
- package/dist/chunks/{variant-ehd2w0yp.js → git-v5bht574.js} +17 -17
- package/dist/chunks/{variant-c5ezeqt5.js → git-va5fjah0.js} +27 -27
- package/dist/chunks/{variant-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-g2yz86wh.js → git-vmgq4x8b.js} +2 -2
- package/dist/chunks/{variant-834a0b17.js → git-vmwh049b.js} +9 -9
- package/dist/chunks/{variant-9f1seg8j.js → git-vqemcat0.js} +21 -21
- package/dist/chunks/{variant-t3hvp6ye.js → git-vsb4na82.js} +41 -41
- package/dist/chunks/{variant-vzcthcp8.js → git-vzcthcp8.js} +1 -1
- package/dist/chunks/{variant-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-psazpmmj.js → git-wd3x2cqz.js} +2 -2
- package/dist/chunks/{variant-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{variant-zqy8ejrp.js → git-wqc8znh9.js} +22 -22
- package/dist/chunks/{variant-0krcabsn.js → git-wxy0ac48.js} +6 -6
- package/dist/chunks/{variant-stas9bdh.js → git-x0w9b04z.js} +9 -9
- package/dist/chunks/{variant-x1ezjp6w.js → git-x1ezjp6w.js} +1 -1
- package/dist/chunks/{variant-dtss6q18.js → git-x1geg3vn.js} +11 -11
- package/dist/chunks/{variant-9mye8vwy.js → git-x5vgpz9j.js} +7 -7
- package/dist/chunks/{variant-drwq78ky.js → git-xfkkasph.js} +4 -4
- package/dist/chunks/{variant-9qw4j31g.js → git-xq0837nd.js} +9 -9
- package/dist/chunks/{variant-3h50d2d8.js → git-xvb08a4w.js} +10 -10
- package/dist/chunks/{variant-q7azfttr.js → git-xwm6bryg.js} +4 -4
- package/dist/chunks/{variant-5mef3xk7.js → git-xxspzvmh.js} +17 -17
- package/dist/chunks/{variant-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-tk2xtqnn.js → git-y2ghzbkq.js} +32 -32
- package/dist/chunks/{variant-dbdtaeh3.js → git-y8mbs16w.js} +42 -42
- package/dist/chunks/{variant-jk953tft.js → git-ykch05ee.js} +4 -4
- package/dist/chunks/{variant-r8bjv7hd.js → git-ymdcatcc.js} +14 -14
- package/dist/chunks/{variant-yrhqyw5v.js → git-yrhqyw5v.js} +1 -1
- package/dist/chunks/{variant-s4enseaf.js → git-yrznvahk.js} +2 -2
- package/dist/chunks/{variant-2p623br6.js → git-yt3hy1g9.js} +5 -5
- package/dist/chunks/{variant-5b64cte8.js → git-yvqpxq27.js} +14 -14
- package/dist/chunks/{variant-2d0rz701.js → git-yxwga7ay.js} +16 -16
- package/dist/chunks/{variant-bjtzbw4r.js → git-z07pqspn.js} +3 -3
- package/dist/chunks/{variant-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-z16bdfpw.js → git-z138ka9p.js} +11 -11
- package/dist/chunks/{variant-6mmx0pze.js → git-z221g1rh.js} +10 -10
- package/dist/chunks/{variant-fhpv401t.js → git-z5w7jba6.js} +36 -36
- package/dist/chunks/{variant-29x78va6.js → git-z63w68vq.js} +6 -6
- package/dist/chunks/{variant-zvt5dnpc.js → git-zcrspsvn.js} +4 -4
- package/dist/chunks/{variant-45p7gsnq.js → git-zde15cj0.js} +25 -25
- package/dist/chunks/{variant-zeh9ct20.js → git-zeh9ct20.js} +2 -2
- package/dist/chunks/{variant-wnsqmkbm.js → git-znadnk2c.js} +24 -24
- package/dist/chunks/{variant-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-zzexawz9.js → git-zrd1hyk7.js} +32 -32
- package/dist/chunks/{variant-b51jbz85.js → git-zrv5pa4j.js} +5 -5
- package/dist/chunks/{variant-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +358 -358
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +80 -80
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +94 -94
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +1 -1
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +136 -136
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +125 -125
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +5 -5
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +78 -78
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +75 -75
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/variant-b6ck6p7e.js +0 -26
- package/dist/chunks/variant-cr86fwsy.js +0 -252
- package/dist/chunks/variant-ctefx7dc.js +0 -18
- package/dist/chunks/variant-qapv375x.js +0 -4
- /package/dist/chunks/{variant-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-34c7v6d4.js → git-34c7v6d4.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3w5fmr99.js → git-3w5fmr99.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-922hggd3.js → git-922hggd3.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-fxgpk5d8.js → git-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hjbc5kem.js → git-hjbc5kem.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-sk3qaz4a.js → git-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8cydn3q.js → git-y8cydn3q.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
node86
|
|
6
|
+
} from "./git-607q5haz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./git-v5bht574.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
make12
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./git-mksgfzgs.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./git-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/worktree/strategies.ts
|
|
22
22
|
var exports_strategies = {};
|
|
23
23
|
__export(exports_strategies, {
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service22,
|
|
25
25
|
WorktreeStrategies: () => exports_strategies,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node25
|
|
27
27
|
});
|
|
28
28
|
import { Context, Effect, Layer } from "effect";
|
|
29
29
|
import path from "path";
|
|
@@ -31,10 +31,10 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
31
31
|
import { Global } from "@opencode/util/global";
|
|
32
32
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service22 extends Context.Service()("@opencode/WorktreeStrategies") {
|
|
35
35
|
}
|
|
36
|
-
var layer = Layer.effect(
|
|
37
|
-
const location = yield*
|
|
36
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
37
|
+
const location = yield* Service80;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const git = yield* make12;
|
|
40
40
|
const state = create3({
|
|
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
55
55
|
}
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service22.of({ ...state, directory: location.directory });
|
|
59
59
|
}));
|
|
60
|
-
var
|
|
61
|
-
service:
|
|
60
|
+
var node25 = makeLocationNode({
|
|
61
|
+
service: Service22,
|
|
62
62
|
layer,
|
|
63
|
-
deps: [
|
|
63
|
+
deps: [node84, Global.node, node86, FSUtil.node]
|
|
64
64
|
});
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service22, node25, exports_strategies };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-3en9cd2f.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Agent: () =>
|
|
13
|
+
var exports_agent4 = {};
|
|
14
|
+
__export(exports_agent4, {
|
|
15
|
+
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event20,
|
|
18
|
+
ID: () => ID15,
|
|
19
|
+
Info: () => Info30,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service79,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node83
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event20 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID15 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID15.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info30 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service79 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info30.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID15.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service79.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID15.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID15.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node83 = makeLocationNode({ service: Service79, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID15, Name3, defaultID2, Color2, Info30, Service79, node83, exports_agent4, Event20 };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service80,
|
|
18
|
+
node84
|
|
19
|
+
} from "./git-v5bht574.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service64,
|
|
22
|
+
node67
|
|
23
|
+
} from "./git-6b577fjv.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service63,
|
|
33
|
+
node: () => node66
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service63,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node66,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service63 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service80;
|
|
66
|
+
const workspace = yield* Service64;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service63.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node66 = makeLocationNode({
|
|
71
|
+
service: Service63,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node84, node67]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service63, node66, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service38,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node41
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service38 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service38, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service40, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service38.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node41 = makeGlobalNode({ service: Service38, layer: layer15, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service38, makeLayer2, layer15, node41, exports_model_transport };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-snhm608r.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./git-c0zrtztw.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
14
|
var exports_agent2 = {};
|
|
15
15
|
__export(exports_agent2, {
|
|
16
16
|
AgentPlugin: () => exports_agent2,
|
|
17
|
-
Plugin: () =>
|
|
17
|
+
Plugin: () => Plugin42
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin42 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin34 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID15.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID15.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin34 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID15.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID15.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID15.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin34 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin42, exports_agent2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
provider2,
|
|
3
3
|
model2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-0paq2nw3.js";
|
|
5
5
|
import {
|
|
6
6
|
aisdk2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-zrd1hyk7.js";
|
|
8
8
|
import {
|
|
9
9
|
Capabilities2,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-82atqrj1.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/v1/config/migrate.ts
|
|
17
17
|
var exports_migrate = {};
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./git-p63yn2ba.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./git-c5y6tpwg.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./git-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-3en9cd2f.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event16,
|
|
10
|
+
Service70,
|
|
11
|
+
node74
|
|
12
|
+
} from "./git-1nyjqkcf.js";
|
|
13
13
|
import {
|
|
14
|
-
Service75,
|
|
15
|
-
node79
|
|
16
|
-
} from "./variant-ehd2w0yp.js";
|
|
17
|
-
import {
|
|
18
|
-
Service62,
|
|
19
|
-
node65
|
|
20
|
-
} from "./variant-4n6z1r8s.js";
|
|
21
|
-
import {
|
|
22
|
-
ID17,
|
|
23
14
|
Service80,
|
|
24
15
|
node84
|
|
25
|
-
} from "./
|
|
16
|
+
} from "./git-v5bht574.js";
|
|
17
|
+
import {
|
|
18
|
+
Service63,
|
|
19
|
+
node66
|
|
20
|
+
} from "./git-tbybbeq2.js";
|
|
21
|
+
import {
|
|
22
|
+
ID12,
|
|
23
|
+
Service71,
|
|
24
|
+
node75
|
|
25
|
+
} from "./git-dxpnpzza.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID10,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service69,
|
|
34
|
+
node73
|
|
35
|
+
} from "./git-caxz1j83.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./git-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
@@ -54,8 +54,8 @@ __export(exports_mcp4, {
|
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
56
|
configured: () => configured5,
|
|
57
|
-
layer: () =>
|
|
58
|
-
node: () =>
|
|
57
|
+
layer: () => layer13,
|
|
58
|
+
node: () => node39
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
61
61
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -101,13 +101,13 @@ var Options5 = Schema.Struct({
|
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
104
|
+
var layer13 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service80;
|
|
106
|
+
const environment = yield* Service63;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service71;
|
|
109
|
+
const integration = yield* Service69;
|
|
110
|
+
const credentials = yield* Service70;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID10.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service70, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -151,12 +151,12 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service70, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID12.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -240,7 +240,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
240
240
|
entry.scope = scope;
|
|
241
241
|
const authProvider = yield* connectProvider(entry);
|
|
242
242
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
243
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
243
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service63, environment), Scope.provide(scope));
|
|
244
244
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
245
245
|
if (Exit.isSuccess(result)) {
|
|
246
246
|
entry.client = result.value.connection;
|
|
@@ -365,7 +365,7 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
365
365
|
yield* startServer(name, entry);
|
|
366
366
|
}).pipe(locks.withLock(name));
|
|
367
367
|
});
|
|
368
|
-
fork(bus.subscribe(
|
|
368
|
+
fork(bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
369
369
|
const state = create3({
|
|
370
370
|
name: "mcp",
|
|
371
371
|
initial: () => ({
|
|
@@ -513,11 +513,11 @@ var layer14 = (options) => Layer.effect(Service35, Effect.gen(function* () {
|
|
|
513
513
|
function configured5(options) {
|
|
514
514
|
return makeLocationNode({
|
|
515
515
|
service: Service35,
|
|
516
|
-
layer:
|
|
517
|
-
deps: [
|
|
516
|
+
layer: layer13(options),
|
|
517
|
+
deps: [node84, node66, node87, node75, node73, node74]
|
|
518
518
|
});
|
|
519
519
|
}
|
|
520
|
-
var
|
|
520
|
+
var node39 = configured5();
|
|
521
521
|
function toElicitationField(key, property, required) {
|
|
522
522
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
523
523
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -568,4 +568,4 @@ function toElicitationField(key, property, required) {
|
|
|
568
568
|
}
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service35, Options5,
|
|
571
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service35, Options5, layer13, configured5, node39, exports_mcp4 };
|