@opencode/core 0.0.0-dev-21385 → 0.0.0-dev-21390
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 +79 -79
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{variant-eaj1djv9.js → file-mutation-02nrjc1r.js} +4 -4
- package/dist/chunks/{variant-brmnc5rc.js → file-mutation-03cyahpz.js} +27 -27
- package/dist/chunks/{variant-wb7w7em4.js → file-mutation-06xmkky8.js} +11 -11
- package/dist/chunks/{variant-2s32b1pm.js → file-mutation-06xsmntz.js} +2 -2
- package/dist/chunks/{variant-35gn8txb.js → file-mutation-0b01yxp0.js} +43 -43
- package/dist/chunks/{variant-7dqw4kz8.js → file-mutation-0jwsre1p.js} +5 -5
- package/dist/chunks/{variant-z1593v92.js → file-mutation-0qg9wp3b.js} +14 -14
- package/dist/chunks/{variant-dnjvpwy6.js → file-mutation-0rv871qk.js} +4 -4
- package/dist/chunks/{variant-tc84sxpf.js → file-mutation-0s171grw.js} +21 -21
- package/dist/chunks/{variant-6d84m8eq.js → file-mutation-0s4zgerr.js} +26 -26
- package/dist/chunks/{variant-0vbcp93d.js → file-mutation-0vbcp93d.js} +2 -2
- package/dist/chunks/{variant-g7z4v8j3.js → file-mutation-10sr3c2w.js} +11 -11
- package/dist/chunks/{variant-06m78d2n.js → file-mutation-11bsw10t.js} +22 -22
- package/dist/chunks/{variant-bzeyqsqd.js → file-mutation-1ep4rre3.js} +4 -4
- package/dist/chunks/{variant-ywt8jp22.js → file-mutation-1ffvrpkg.js} +6 -6
- package/dist/chunks/{variant-07s4g8t9.js → file-mutation-1fz8ksxp.js} +50 -50
- package/dist/chunks/{variant-d29451tq.js → file-mutation-1sqrcqpt.js} +6 -6
- package/dist/chunks/{variant-9e5gtvfc.js → file-mutation-1yd7h3h8.js} +11 -11
- package/dist/chunks/{variant-4z5bdeag.js → file-mutation-23yr3n9z.js} +1 -1
- package/dist/chunks/{variant-rt4gesys.js → file-mutation-28b9pmxf.js} +34 -34
- package/dist/chunks/{variant-1wj6nfaq.js → file-mutation-28jszdgh.js} +18 -18
- package/dist/chunks/{variant-534aq8ke.js → file-mutation-2a3rnyjp.js} +1 -1
- package/dist/chunks/{variant-71mr81s1.js → file-mutation-2w943ba3.js} +5 -5
- package/dist/chunks/{variant-hqqehcc0.js → file-mutation-2yz1g7gy.js} +25 -25
- package/dist/chunks/{variant-zxjbgbap.js → file-mutation-30mkkrgf.js} +10 -10
- package/dist/chunks/{variant-dtj6q9re.js → file-mutation-37688efw.js} +12 -12
- package/dist/chunks/{variant-khthv2ze.js → file-mutation-37qnpxgx.js} +35 -35
- package/dist/chunks/{variant-q15tn0mf.js → file-mutation-3a7k8z3r.js} +22 -22
- package/dist/chunks/{variant-rz1bd73a.js → file-mutation-3aj445ja.js} +10 -10
- package/dist/chunks/{variant-s1rzhg3g.js → file-mutation-3berxp5h.js} +17 -17
- package/dist/chunks/{variant-3j5xnwvt.js → file-mutation-3bynrp5j.js} +29 -27
- package/dist/chunks/{variant-c6j5vg12.js → file-mutation-3cywy0c3.js} +3 -3
- package/dist/chunks/{variant-3hepkmqq.js → file-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{variant-3hwn7j4h.js → file-mutation-3hwn7j4h.js} +2 -2
- package/dist/chunks/{variant-y178fjw7.js → file-mutation-3jb9jjfv.js} +15 -15
- package/dist/chunks/{variant-4shp5hvj.js → file-mutation-3kkkyqec.js} +9 -9
- package/dist/chunks/{variant-gxv082ck.js → file-mutation-3pr61yv2.js} +26 -26
- package/dist/chunks/{variant-r10nvqfv.js → file-mutation-3qta67sk.js} +11 -11
- package/dist/chunks/{variant-3smtnn6g.js → file-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{variant-3tvqynh2.js → file-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{variant-fkj43v1r.js → file-mutation-3v80qfk6.js} +10 -10
- package/dist/chunks/{variant-t147m43n.js → file-mutation-3y1bhqyq.js} +10 -10
- package/dist/chunks/{variant-2qj989z5.js → file-mutation-3zqpxcym.js} +48 -48
- package/dist/chunks/{variant-3zsf4n22.js → file-mutation-3zsf4n22.js} +1 -1
- package/dist/chunks/{variant-espax8zg.js → file-mutation-41czef58.js} +4 -4
- package/dist/chunks/{variant-v3854d8f.js → file-mutation-41gx20tv.js} +23 -23
- package/dist/chunks/{variant-t5azbf2h.js → file-mutation-42ehbd6e.js} +8 -8
- package/dist/chunks/{variant-tw3hkfj3.js → file-mutation-45ag4h5e.js} +36 -36
- package/dist/chunks/{variant-gqm71yrs.js → file-mutation-4t0fmp6z.js} +17 -17
- package/dist/chunks/{variant-hpyx0024.js → file-mutation-4vmkhc5n.js} +11 -11
- package/dist/chunks/{variant-sm0dhwyq.js → file-mutation-519d1vwx.js} +7 -7
- package/dist/chunks/{variant-54ma36ye.js → file-mutation-54ma36ye.js} +1 -1
- package/dist/chunks/{variant-rg7a60r1.js → file-mutation-56spgh5t.js} +24 -24
- package/dist/chunks/file-mutation-57e5yzdy.js +257 -0
- package/dist/chunks/{variant-z0ydvj27.js → file-mutation-5g57z1ma.js} +4 -4
- package/dist/chunks/{variant-5m9w47nd.js → file-mutation-5m9w47nd.js} +1 -1
- package/dist/chunks/{variant-qmfsk48t.js → file-mutation-5mdvenct.js} +19 -19
- package/dist/chunks/{variant-1v4wbcc5.js → file-mutation-5t7451fr.js} +9 -9
- package/dist/chunks/{variant-6pcx6jwm.js → file-mutation-62mz8jvf.js} +24 -24
- package/dist/chunks/{variant-6827pfxn.js → file-mutation-6827pfxn.js} +1 -1
- package/dist/chunks/{variant-7jdm1vab.js → file-mutation-6azzqc0z.js} +8 -8
- package/dist/chunks/{variant-c7av8b5x.js → file-mutation-6eg9htqv.js} +4 -4
- package/dist/chunks/{variant-675j5d4j.js → file-mutation-6m0ab3mz.js} +14 -14
- package/dist/chunks/{variant-0tmgye68.js → file-mutation-6n4b0dsb.js} +9 -9
- package/dist/chunks/{variant-ycbx61rz.js → file-mutation-6t4vhed6.js} +5 -5
- package/dist/chunks/{variant-6xb47vfp.js → file-mutation-6xb47vfp.js} +1 -1
- package/dist/chunks/{variant-vpge477k.js → file-mutation-6zc1k7ct.js} +40 -33
- package/dist/chunks/{variant-59ec13pf.js → file-mutation-74q762c0.js} +15 -15
- package/dist/chunks/{variant-775gj3j1.js → file-mutation-775gj3j1.js} +2 -2
- package/dist/chunks/{variant-7bmhse3q.js → file-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{variant-fbp02deq.js → file-mutation-7djxwg8w.js} +32 -32
- package/dist/chunks/{variant-01133bs8.js → file-mutation-7ndcpfx4.js} +13 -13
- package/dist/chunks/{variant-v2hyeyf7.js → file-mutation-7r5wsdye.js} +10 -10
- package/dist/chunks/{variant-e10gzyda.js → file-mutation-7r9mhtn4.js} +28 -28
- package/dist/chunks/{variant-z0910jfv.js → file-mutation-7smjb1nk.js} +177 -177
- package/dist/chunks/{variant-a20pjse5.js → file-mutation-7v6vae4w.js} +3 -3
- package/dist/chunks/file-mutation-7x5efvhs.js +517 -0
- package/dist/chunks/{variant-7hgt1n33.js → file-mutation-8185hgv1.js} +8 -8
- package/dist/chunks/{variant-tcezcvh9.js → file-mutation-89znhe33.js} +4 -4
- package/dist/chunks/{variant-8m6m0r52.js → file-mutation-8m6m0r52.js} +1 -1
- package/dist/chunks/{variant-8mywswrd.js → file-mutation-8mywswrd.js} +1 -1
- package/dist/chunks/{variant-xf2pv73g.js → file-mutation-8xmp1zer.js} +48 -48
- package/dist/chunks/{variant-eayadx44.js → file-mutation-8y1w76e6.js} +18 -18
- package/dist/chunks/{variant-rga01nkp.js → file-mutation-97yqkd1k.js} +14 -14
- package/dist/chunks/{variant-0r684n0p.js → file-mutation-9c3np669.js} +8 -8
- package/dist/chunks/{variant-ky9wwhcp.js → file-mutation-9qpecfme.js} +15 -15
- package/dist/chunks/{variant-jp8717cv.js → file-mutation-9zs8zcdx.js} +28 -28
- package/dist/chunks/{variant-8ab3w9a1.js → file-mutation-a2px89rw.js} +12 -12
- package/dist/chunks/{variant-90prmkr9.js → file-mutation-a565ke38.js} +18 -18
- package/dist/chunks/{variant-88ttrsfd.js → file-mutation-a82304wy.js} +25 -25
- package/dist/chunks/{variant-nttemcq1.js → file-mutation-ad4w0vjn.js} +23 -23
- package/dist/chunks/{variant-8e1b1gzh.js → file-mutation-ak9msbxp.js} +6 -6
- package/dist/chunks/{variant-vm6z49tp.js → file-mutation-atdrdmj6.js} +6 -6
- package/dist/chunks/{variant-vnvzhrpj.js → file-mutation-aw52c1ne.js} +16 -16
- package/dist/chunks/{variant-qtk9pe34.js → file-mutation-b2nsbkna.js} +13 -13
- package/dist/chunks/{variant-7174g72w.js → file-mutation-bhs00ts1.js} +25 -25
- package/dist/chunks/{variant-nrh2wv08.js → file-mutation-bqjpzzk3.js} +26 -26
- package/dist/chunks/{variant-e0har6f2.js → file-mutation-bsa6sgws.js} +24 -24
- package/dist/chunks/{variant-kbx7rh90.js → file-mutation-c13z1yp1.js} +34 -34
- package/dist/chunks/{variant-es1vcfrp.js → file-mutation-c1fqxshp.js} +3 -3
- package/dist/chunks/{variant-ez4msjhj.js → file-mutation-c87k5ccs.js} +16 -16
- package/dist/chunks/{variant-c17c7gem.js → file-mutation-cb4re6k7.js} +3 -3
- package/dist/chunks/{variant-32gamwqc.js → file-mutation-ce3wexff.js} +17 -17
- package/dist/chunks/{variant-50st65ms.js → file-mutation-cm67jkab.js} +12 -12
- package/dist/chunks/{variant-pedttwxr.js → file-mutation-cmmdg65p.js} +8 -8
- package/dist/chunks/{variant-djszqvmq.js → file-mutation-cwa6csj7.js} +9 -9
- package/dist/chunks/{variant-dk2cs9kn.js → file-mutation-d5et20rv.js} +4 -4
- package/dist/chunks/{variant-zee1rnkq.js → file-mutation-ddt2bs9e.js} +4 -4
- package/dist/chunks/{variant-8cqn97gn.js → file-mutation-dfpkkgmz.js} +23 -23
- package/dist/chunks/{variant-4q6tth2h.js → file-mutation-dp2x8bvg.js} +11 -11
- package/dist/chunks/{variant-br0tr5aq.js → file-mutation-dv1qgsyq.js} +8 -8
- package/dist/chunks/{variant-dys7k0s0.js → file-mutation-dys7k0s0.js} +3 -3
- package/dist/chunks/{variant-dxm36xet.js → file-mutation-dzx86zvg.js} +14 -14
- package/dist/chunks/{variant-95wgg282.js → file-mutation-e27yq2dh.js} +15 -15
- package/dist/chunks/{variant-szkrnbvf.js → file-mutation-e4m676a8.js} +27 -27
- package/dist/chunks/{variant-8aftd3yf.js → file-mutation-eajv9c1q.js} +26 -26
- package/dist/chunks/{variant-myjtek88.js → file-mutation-eb4sm8gp.js} +13 -13
- package/dist/chunks/{variant-kct03rgr.js → file-mutation-ee0gr7kd.js} +21 -21
- package/dist/chunks/{variant-eej6y6fw.js → file-mutation-eej6y6fw.js} +2 -2
- package/dist/chunks/{variant-ef5x83kb.js → file-mutation-ef5x83kb.js} +1 -1
- package/dist/chunks/{variant-rnt9ng2n.js → file-mutation-efacs7fs.js} +7 -7
- package/dist/chunks/{variant-8apawthn.js → file-mutation-ehvt2tba.js} +25 -25
- package/dist/chunks/{variant-wpz9kdb9.js → file-mutation-em5cgnc4.js} +49 -49
- package/dist/chunks/{variant-44ksx02e.js → file-mutation-erxfktnw.js} +4 -4
- package/dist/chunks/{variant-af0tgjwm.js → file-mutation-etvgdas2.js} +15 -15
- package/dist/chunks/{variant-7vfwfg0s.js → file-mutation-fb8cphng.js} +13 -13
- package/dist/chunks/{variant-fcy631f0.js → file-mutation-fcy631f0.js} +1 -1
- package/dist/chunks/{variant-kf0h36at.js → file-mutation-fp29cjek.js} +7 -7
- package/dist/chunks/{variant-1w2wqhfv.js → file-mutation-fxaymqdw.js} +4 -4
- package/dist/chunks/{variant-qbqerjg9.js → file-mutation-fzp13ncj.js} +10 -11
- package/dist/chunks/{variant-phz50fbd.js → file-mutation-g686f6pq.js} +9 -9
- package/dist/chunks/{variant-kjdm35cs.js → file-mutation-g6yfr6ja.js} +5 -5
- package/dist/chunks/{variant-gd4qta3r.js → file-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{variant-qne3fa44.js → file-mutation-gj71zhbs.js} +5 -5
- package/dist/chunks/{variant-d25qmaxv.js → file-mutation-gr66jygg.js} +47 -47
- package/dist/chunks/{variant-gfn1f735.js → file-mutation-gvvbrpww.js} +9 -9
- package/dist/chunks/{variant-cz4fyjvq.js → file-mutation-gybtzb9x.js} +24 -24
- package/dist/chunks/{variant-rkvys86f.js → file-mutation-gzspr1z4.js} +3 -3
- package/dist/chunks/{variant-amdqtsez.js → file-mutation-h4bdw36b.js} +16 -16
- package/dist/chunks/{variant-4fse96mq.js → file-mutation-h62a697x.js} +8 -8
- package/dist/chunks/{variant-h6vf3j39.js → file-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{variant-z2a96fzh.js → file-mutation-hd1nrk2b.js} +10 -10
- package/dist/chunks/{variant-hgz4x7wa.js → file-mutation-hgz4x7wa.js} +1 -1
- package/dist/chunks/{variant-25nwtkd9.js → file-mutation-hkgnaefc.js} +19 -19
- package/dist/chunks/{variant-rvw0c6fm.js → file-mutation-j8th9n6h.js} +13 -13
- package/dist/chunks/{variant-g8barhva.js → file-mutation-j9d78s05.js} +30 -30
- package/dist/chunks/{variant-039htanw.js → file-mutation-jf9n6w3j.js} +11 -11
- package/dist/chunks/{variant-3sa7tm9a.js → file-mutation-jfbb0hnv.js} +4 -4
- package/dist/chunks/{variant-mb19mnqb.js → file-mutation-jfhp5m7r.js} +36 -36
- package/dist/chunks/{variant-74mxst5h.js → file-mutation-jgzj6jsc.js} +12 -12
- package/dist/chunks/{variant-vgr8962y.js → file-mutation-jjqh5zx4.js} +18 -18
- package/dist/chunks/{variant-j933j9sw.js → file-mutation-jjypx1zf.js} +4 -4
- package/dist/chunks/{variant-2gmpce6q.js → file-mutation-jpecd9th.js} +3 -3
- package/dist/chunks/{variant-wrdz6b4b.js → file-mutation-jsn4hjph.js} +8 -8
- package/dist/chunks/{variant-n78k5cgb.js → file-mutation-jt9ed28e.js} +11 -11
- package/dist/chunks/{variant-pg3754bv.js → file-mutation-jx6q8471.js} +40 -40
- package/dist/chunks/{variant-nr5642w5.js → file-mutation-k02f29ms.js} +33 -33
- package/dist/chunks/{variant-6yet44e5.js → file-mutation-ka369yzh.js} +33 -33
- package/dist/chunks/{variant-zhzgznba.js → file-mutation-kb1d5h98.js} +3 -3
- package/dist/chunks/{variant-wcnw1vw1.js → file-mutation-kd03d9gr.js} +4 -4
- package/dist/chunks/{variant-vdx8s558.js → file-mutation-kdzm5bhe.js} +15 -15
- package/dist/chunks/{variant-56cykqq2.js → file-mutation-kr4x12kf.js} +20 -20
- package/dist/chunks/{variant-kwb1v3vj.js → file-mutation-kwb1v3vj.js} +1 -1
- package/dist/chunks/{variant-nhpkjp8j.js → file-mutation-kxej0ekr.js} +11 -11
- package/dist/chunks/file-mutation-m73346m7.js +26 -0
- package/dist/chunks/{variant-m9w0rfyh.js → file-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{variant-maspj1v3.js → file-mutation-maspj1v3.js} +1 -1
- package/dist/chunks/{variant-r70qfazn.js → file-mutation-mqg3fzsn.js} +16 -16
- package/dist/chunks/{variant-ss358qx3.js → file-mutation-mtpeagzc.js} +3 -3
- package/dist/chunks/{variant-qy6ss6as.js → file-mutation-mydhh9sm.js} +85 -85
- package/dist/chunks/{variant-7x0ybmme.js → file-mutation-ndzdr1dv.js} +2 -2
- package/dist/chunks/{variant-nz56sr1f.js → file-mutation-nz56sr1f.js} +2 -2
- package/dist/chunks/{variant-5ffmfybm.js → file-mutation-nzs7qp78.js} +6 -6
- package/dist/chunks/{variant-knhekyq4.js → file-mutation-p190h37r.js} +17 -17
- package/dist/chunks/{variant-smq3am02.js → file-mutation-p2wcahxe.js} +89 -89
- package/dist/chunks/{variant-bw9zjykr.js → file-mutation-p7a39gy5.js} +6 -6
- package/dist/chunks/{variant-c60jy55t.js → file-mutation-pbacqn8s.js} +5 -5
- package/dist/chunks/{variant-dedzrhdb.js → file-mutation-pcdas667.js} +25 -25
- package/dist/chunks/{variant-pf31ssb9.js → file-mutation-pf31ssb9.js} +1 -1
- package/dist/chunks/{variant-7xyrrtj6.js → file-mutation-pfq1ksym.js} +5 -5
- package/dist/chunks/{variant-xamas9nz.js → file-mutation-pgfe47gj.js} +30 -30
- package/dist/chunks/{variant-17hwac7t.js → file-mutation-phsgz9sx.js} +5 -5
- package/dist/chunks/{variant-pjvnvgmy.js → file-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{variant-pknna89w.js → file-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{variant-rkprpv83.js → file-mutation-py3kkmfq.js} +2 -2
- package/dist/chunks/{variant-cd12tkte.js → file-mutation-q0cbencw.js} +2 -2
- package/dist/chunks/{variant-tkjmt9nc.js → file-mutation-q5d81rx9.js} +11 -11
- package/dist/chunks/{variant-vrr7tc8c.js → file-mutation-q7rdkpep.js} +4 -4
- package/dist/chunks/{variant-rn69d7hp.js → file-mutation-q9eyhvvk.js} +32 -32
- package/dist/chunks/{variant-5qtxbxmk.js → file-mutation-q9qps9mc.js} +18 -18
- package/dist/chunks/{variant-m9xnn9r5.js → file-mutation-qevj7g07.js} +35 -35
- package/dist/chunks/{variant-9x9ct1g1.js → file-mutation-qgf6fbf9.js} +32 -32
- package/dist/chunks/{variant-qnc92qwc.js → file-mutation-qnc92qwc.js} +1 -1
- package/dist/chunks/{variant-4mwbxkt4.js → file-mutation-qnfncs7q.js} +4 -4
- package/dist/chunks/{variant-qsdy395h.js → file-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{variant-9scmkrsd.js → file-mutation-qwv7c4pn.js} +13 -13
- package/dist/chunks/{variant-5rzwp8tz.js → file-mutation-r2z489rp.js} +3 -3
- package/dist/chunks/{variant-9hvha7ke.js → file-mutation-r62a9xnm.js} +14 -14
- package/dist/chunks/{variant-5awj5jwe.js → file-mutation-r6zh1g81.js} +11 -11
- package/dist/chunks/{variant-nhzw2ksa.js → file-mutation-r7dsxv7s.js} +17 -17
- package/dist/chunks/{variant-0kpfwrjz.js → file-mutation-rbp8ryhp.js} +33 -33
- package/dist/chunks/{variant-7zj2yvh0.js → file-mutation-rcjn9711.js} +13 -13
- package/dist/chunks/{variant-ervcbcv7.js → file-mutation-rcjp1z92.js} +35 -35
- package/dist/chunks/{variant-rdw6cm16.js → file-mutation-rdw6cm16.js} +1 -1
- package/dist/chunks/{variant-tkb22qbm.js → file-mutation-rert0e01.js} +2 -2
- package/dist/chunks/{variant-6xfqa995.js → file-mutation-retn9hxc.js} +59 -59
- package/dist/chunks/{variant-c41wscbt.js → file-mutation-rj3eygr5.js} +2 -2
- package/dist/chunks/{variant-qy259e2y.js → file-mutation-rt822zgg.js} +11 -11
- package/dist/chunks/{variant-bjq1rgcd.js → file-mutation-rz1wjwgb.js} +24 -24
- package/dist/chunks/{variant-qbqbaz6q.js → file-mutation-s26hbv8p.js} +4 -4
- package/dist/chunks/{variant-k8x2fpjf.js → file-mutation-s4nxs4pr.js} +22 -22
- package/dist/chunks/{variant-c8ax2afj.js → file-mutation-sa8ekw3f.js} +2 -2
- package/dist/chunks/{variant-xjfe4nsj.js → file-mutation-sc1avexy.js} +17 -17
- package/dist/chunks/{variant-s761s72c.js → file-mutation-schnsw0c.js} +9 -9
- package/dist/chunks/{variant-172eh8jk.js → file-mutation-sh547pn2.js} +5 -5
- package/dist/chunks/{variant-0y3k4c6h.js → file-mutation-sh6a696f.js} +21 -21
- package/dist/chunks/{variant-9r4dpyf8.js → file-mutation-stndfsa3.js} +8 -8
- package/dist/chunks/{variant-tatecjgj.js → file-mutation-sxeq46ve.js} +7 -7
- package/dist/chunks/{variant-vj32cyzd.js → file-mutation-sxzykved.js} +37 -37
- package/dist/chunks/{variant-syv4x271.js → file-mutation-syv4x271.js} +1 -1
- package/dist/chunks/{variant-0nxkqgg0.js → file-mutation-t1nzq07k.js} +9 -9
- package/dist/chunks/{variant-tazgh4e4.js → file-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{variant-bnpb9r0r.js → file-mutation-tb34rtt0.js} +31 -31
- package/dist/chunks/{variant-ck1687dj.js → file-mutation-tc78d14m.js} +20 -20
- package/dist/chunks/{variant-tdstcens.js → file-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{variant-2w37rd65.js → file-mutation-thz6jf9v.js} +29 -29
- package/dist/chunks/{variant-b27vhd2z.js → file-mutation-tkmwgdpd.js} +7 -7
- package/dist/chunks/{variant-tm0kqsz3.js → file-mutation-tm0kqsz3.js} +1 -1
- package/dist/chunks/{variant-pm8ty30j.js → file-mutation-tt3w6h4v.js} +22 -22
- package/dist/chunks/{variant-dq407baf.js → file-mutation-tt8gc4fv.js} +6 -6
- package/dist/chunks/{variant-8r64qjsw.js → file-mutation-twbk3118.js} +30 -30
- package/dist/chunks/{variant-tyytaxap.js → file-mutation-tyytaxap.js} +1 -1
- package/dist/chunks/{variant-v210v162.js → file-mutation-v210v162.js} +2 -2
- package/dist/chunks/{variant-b55ayt6p.js → file-mutation-v53hzd0w.js} +15 -15
- package/dist/chunks/{variant-v7p4zvkq.js → file-mutation-v7p4zvkq.js} +2 -2
- package/dist/chunks/{variant-ghtkshk3.js → file-mutation-vae2677r.js} +45 -45
- package/dist/chunks/{variant-veqvce7d.js → file-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{variant-pfxa3h33.js → file-mutation-vkqam852.js} +11 -11
- package/dist/chunks/{variant-wqhaj406.js → file-mutation-vtt8tbap.js} +54 -54
- package/dist/chunks/{variant-nh571ch7.js → file-mutation-vyp2z6jc.js} +27 -27
- package/dist/chunks/{variant-vzs5sf6e.js → file-mutation-vzs5sf6e.js} +1 -1
- package/dist/chunks/{variant-84txncab.js → file-mutation-w1eejvng.js} +5 -5
- package/dist/chunks/{variant-w3wsvvr9.js → file-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{variant-t9tm1b69.js → file-mutation-w7h8reg6.js} +14 -14
- package/dist/chunks/{variant-gxgayqbn.js → file-mutation-w84617t1.js} +11 -11
- package/dist/chunks/{variant-waskdk5r.js → file-mutation-waskdk5r.js} +1 -1
- package/dist/chunks/{variant-wd87259q.js → file-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{variant-p092c7br.js → file-mutation-we55t667.js} +42 -42
- package/dist/chunks/{variant-wjqb2vp5.js → file-mutation-wk5z6jzv.js} +9 -9
- package/dist/chunks/{variant-9q9t7af4.js → file-mutation-wq2p2qmk.js} +24 -24
- package/dist/chunks/{variant-7nx1mzpm.js → file-mutation-x5e1n3vw.js} +19 -19
- package/dist/chunks/{variant-drwq78ky.js → file-mutation-xfkkasph.js} +4 -4
- package/dist/chunks/{variant-hz3jevdr.js → file-mutation-xmy4sz0h.js} +3 -3
- package/dist/chunks/{variant-xywjvjxx.js → file-mutation-xw6avn3p.js} +12 -12
- package/dist/chunks/{variant-ve88pny4.js → file-mutation-xx5ebepc.js} +8 -8
- package/dist/chunks/{variant-y1fvbwt7.js → file-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{variant-y71avatq.js → file-mutation-y71avatq.js} +1 -1
- package/dist/chunks/{variant-mc8agtnj.js → file-mutation-y81rr1wr.js} +22 -22
- package/dist/chunks/{variant-1jz3qj6p.js → file-mutation-y84x4ntc.js} +22 -22
- package/dist/chunks/{variant-n3bbh3xq.js → file-mutation-ymkxabsa.js} +8 -8
- package/dist/chunks/{variant-t9tzyksx.js → file-mutation-ynfzaa2p.js} +24 -24
- package/dist/chunks/{variant-d1sqbt18.js → file-mutation-yv7acsrv.js} +23 -23
- package/dist/chunks/{variant-z0bkrqjs.js → file-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{variant-z18fegx4.js → file-mutation-z18fegx4.js} +1 -1
- package/dist/chunks/{variant-kqp9qa1j.js → file-mutation-z1jgb0t4.js} +3 -3
- package/dist/chunks/{variant-h0k6zcwv.js → file-mutation-z2jaas8m.js} +21 -21
- package/dist/chunks/{variant-say7vrea.js → file-mutation-z3tzxhn5.js} +6 -6
- package/dist/chunks/{variant-qryqqwhy.js → file-mutation-z4g16tg4.js} +16 -16
- package/dist/chunks/{variant-es5a2c48.js → file-mutation-zcbpwp6v.js} +10 -10
- package/dist/chunks/{variant-ejj11w5x.js → file-mutation-ze7vjsts.js} +17 -17
- package/dist/chunks/{variant-7rwcep1p.js → file-mutation-zezrz4ps.js} +15 -15
- package/dist/chunks/{variant-hhecb7g7.js → file-mutation-zgxd750f.js} +8 -8
- package/dist/chunks/{variant-0cg871e2.js → file-mutation-zjtrsxny.js} +5 -5
- package/dist/chunks/{variant-qv0sc65t.js → file-mutation-zn9jy13z.js} +6 -6
- package/dist/chunks/{variant-zr2ceqn5.js → file-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{variant-0g42q639.js → file-mutation-zvcz9zfg.js} +5 -5
- package/dist/chunks/{variant-41t4yrkv.js → file-mutation-zvntbwz4.js} +15 -15
- package/dist/chunks/{variant-azwe5p1w.js → file-mutation-zw2hpfmh.js} +4 -4
- package/dist/chunks/{variant-r13wq28n.js → file-mutation-zwjpxgfy.js} +45 -45
- package/dist/chunks/{variant-zxq2ej10.js → file-mutation-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 +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +78 -78
- 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 +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- 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 +101 -101
- 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/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 +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +155 -155
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +100 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +86 -86
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- 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-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +114 -114
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +217 -217
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +136 -136
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/session/transfer.d.ts +2 -2
- package/dist/types/worktree/git.d.ts +3 -3
- 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 +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/variant-0x80k0hx.js +0 -26
- package/dist/chunks/variant-7w5g5nar.js +0 -517
- package/dist/chunks/variant-928hdk85.js +0 -257
- /package/dist/chunks/{variant-0qkdqm5v.js → file-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{variant-0zkw76rk.js → file-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{variant-17cy0kzp.js → file-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{variant-1cnp2v09.js → file-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{variant-1kg9ymc8.js → file-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{variant-24dcb14g.js → file-mutation-24dcb14g.js} +0 -0
- /package/dist/chunks/{variant-2710q6r3.js → file-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{variant-2axfhc9x.js → file-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{variant-2bv980vf.js → file-mutation-2bv980vf.js} +0 -0
- /package/dist/chunks/{variant-2c3vjs8z.js → file-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{variant-359p4xyc.js → file-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{variant-3asan66x.js → file-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{variant-3t0ybcrp.js → file-mutation-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{variant-3v8g72cx.js → file-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{variant-3wcehsnq.js → file-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{variant-43n2bw4t.js → file-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{variant-4knz6hnm.js → file-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{variant-4vcrnpx2.js → file-mutation-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{variant-4y7fprxs.js → file-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{variant-53557ph1.js → file-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{variant-550bvhaj.js → file-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{variant-5qd3pb7m.js → file-mutation-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{variant-6prwharc.js → file-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{variant-6q2bdcd1.js → file-mutation-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{variant-7akdwqpd.js → file-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{variant-7m9af43g.js → file-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{variant-822emrt2.js → file-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{variant-84wd9syh.js → file-mutation-84wd9syh.js} +0 -0
- /package/dist/chunks/{variant-88xbtdfr.js → file-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{variant-8n3pysct.js → file-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{variant-8wj87zfr.js → file-mutation-8wj87zfr.js} +0 -0
- /package/dist/chunks/{variant-9a4afbnw.js → file-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{variant-9rqn6x4v.js → file-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{variant-a6k6eb26.js → file-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{variant-af5trqkr.js → file-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{variant-afrmfg78.js → file-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{variant-aqzs7mqg.js → file-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{variant-atq7p7m5.js → file-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{variant-bkyjaxrp.js → file-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{variant-bmr6ed5q.js → file-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{variant-cf4snx6d.js → file-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{variant-cvy3z8tj.js → file-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{variant-d9fn303g.js → file-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{variant-d9jj8t3e.js → file-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{variant-dajrwvna.js → file-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{variant-dap0rakb.js → file-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{variant-df08tz66.js → file-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{variant-dy18nga0.js → file-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{variant-e5kj55wp.js → file-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{variant-e73j6tqm.js → file-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{variant-ec1grn59.js → file-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{variant-eh3zwz77.js → file-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{variant-emrn6kk6.js → file-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{variant-f0mxakyp.js → file-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{variant-f6n9ztr4.js → file-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{variant-faypxj3z.js → file-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{variant-fd410y7t.js → file-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{variant-g4wezp1m.js → file-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{variant-g86h250q.js → file-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{variant-gebd4c9n.js → file-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{variant-gftt206x.js → file-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{variant-hcxmzztb.js → file-mutation-hcxmzztb.js} +0 -0
- /package/dist/chunks/{variant-hk9envan.js → file-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{variant-j2ntwpah.js → file-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{variant-j5zkgpj8.js → file-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{variant-jjkms2e6.js → file-mutation-jjkms2e6.js} +0 -0
- /package/dist/chunks/{variant-jr7sbwjy.js → file-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{variant-jwfs4k6c.js → file-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{variant-jze0r7bz.js → file-mutation-jze0r7bz.js} +0 -0
- /package/dist/chunks/{variant-jzg6c2d5.js → file-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{variant-m18g726c.js → file-mutation-m18g726c.js} +0 -0
- /package/dist/chunks/{variant-mp448xyj.js → file-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{variant-msx8hqn2.js → file-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{variant-n05xt0ee.js → file-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{variant-n3j8tn72.js → file-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{variant-njntx4h6.js → file-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{variant-pkyv6v7h.js → file-mutation-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{variant-pyv0edze.js → file-mutation-pyv0edze.js} +0 -0
- /package/dist/chunks/{variant-q3sfg36h.js → file-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{variant-q74kybfr.js → file-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{variant-qaymkmh1.js → file-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{variant-qb87gjwd.js → file-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{variant-qfa1cgps.js → file-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{variant-qg3g05ea.js → file-mutation-qg3g05ea.js} +0 -0
- /package/dist/chunks/{variant-qrg20bc0.js → file-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{variant-rcb2kzg1.js → file-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{variant-sdp7kfr6.js → file-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{variant-ssg3fenm.js → file-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{variant-ve7vex1e.js → file-mutation-ve7vex1e.js} +0 -0
- /package/dist/chunks/{variant-w803qqfp.js → file-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{variant-wc3fc9cn.js → file-mutation-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{variant-wer8tq1h.js → file-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{variant-wjj7prxr.js → file-mutation-wjj7prxr.js} +0 -0
- /package/dist/chunks/{variant-wtztk69x.js → file-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{variant-x0ckcb58.js → file-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{variant-x61499pn.js → file-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{variant-y44na4kk.js → file-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{variant-y8f7s663.js → file-mutation-y8f7s663.js} +0 -0
- /package/dist/chunks/{variant-ygaqb7jw.js → file-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{variant-ym463w8f.js → file-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{variant-z5v4ffb3.js → file-mutation-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{variant-z9919s4g.js → file-mutation-z9919s4g.js} +0 -0
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-0rv871qk.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event14,
|
|
10
|
+
Service62,
|
|
11
|
+
node65
|
|
12
|
+
} from "./file-mutation-7r9mhtn4.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node83
|
|
16
|
+
} from "./file-mutation-w7h8reg6.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service77,
|
|
19
|
+
node80
|
|
20
|
+
} from "./file-mutation-gybtzb9x.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID11,
|
|
23
|
+
Service63,
|
|
24
|
+
node66
|
|
25
|
+
} from "./file-mutation-62mz8jvf.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service61,
|
|
34
|
+
node64
|
|
35
|
+
} from "./file-mutation-0s4zgerr.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
44
|
NotFoundError: () => NotFoundError2,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service30,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer14,
|
|
57
|
+
node: () => node33
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service30 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options3 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer14 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const environment = yield* Service77;
|
|
117
117
|
const bus = yield* Service85;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service63;
|
|
119
|
+
const integration = yield* Service61;
|
|
120
|
+
const credentials = yield* Service62;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID9.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service62, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -161,12 +161,12 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service62, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID11.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
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(
|
|
272
|
+
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(Service77, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer13 = (options) => Layer.effect(Service27, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service30.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured3(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service30,
|
|
536
|
+
layer: layer14(options),
|
|
537
|
+
deps: [node83, node80, node89, node66, node64, node65]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node33 = configured3();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service30, Options3, layer14, configured3, node33, exports_mcp4 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service50,
|
|
3
|
+
node53
|
|
4
|
+
} from "./file-mutation-3a7k8z3r.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make20,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-02nrjc1r.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions3 = {};
|
|
17
|
+
__export(exports_instructions3, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions3,
|
|
19
|
+
Service: () => Service27,
|
|
20
|
+
node: () => node30
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,18 +57,18 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service27 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service50;
|
|
64
|
+
return Service27.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
71
|
+
return make20({
|
|
72
72
|
key: Key4.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node30 = makeLocationNode({ service: Service27, layer, deps: [node53] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service27, node30, exports_instructions3 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./file-mutation-w7h8reg6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID7,
|
|
6
6
|
Family2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-6zc1k7ct.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service57
|
|
10
|
+
} from "./file-mutation-em5cgnc4.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service77
|
|
13
|
+
} from "./file-mutation-gybtzb9x.js";
|
|
14
14
|
import {
|
|
15
15
|
spawner2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-mutation-fxaymqdw.js";
|
|
17
17
|
import {
|
|
18
18
|
foldSettings2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-1sqrcqpt.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/provider/local.ts
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,9 +32,9 @@ function createLocalProviderPlugin2(input) {
|
|
|
32
32
|
id: input.id,
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
34
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
35
|
-
const config = yield*
|
|
36
|
-
const environment = yield* Effect.serviceOption(
|
|
37
|
-
const location = yield* Effect.serviceOption(
|
|
35
|
+
const config = yield* Service57;
|
|
36
|
+
const environment = yield* Effect.serviceOption(Service77);
|
|
37
|
+
const location = yield* Effect.serviceOption(Service79);
|
|
38
38
|
const defaultOrigin = origin ?? (shellParserWasm.bash === "" || Option.isSome(location) && location.value.workspaceID !== undefined || Option.isSome(environment) && environment.value.spawner === spawner2 ? undefined : input.origin);
|
|
39
39
|
const source = { current: configured(yield* config.entries(), input.providerID, defaultOrigin, suffix) };
|
|
40
40
|
const loaded = { models: [], hash: "[]" };
|
|
@@ -63,7 +63,7 @@ function createLocalProviderPlugin2(input) {
|
|
|
63
63
|
for (const item of loaded.models) {
|
|
64
64
|
const spec = input.model(item);
|
|
65
65
|
providers.models.update(input.providerID, spec.id, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID7.make(spec.id);
|
|
67
67
|
model.name = spec.name || spec.id;
|
|
68
68
|
model.family = spec.family ? Family2.make(spec.family) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service42,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node45
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service42 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service42, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service42.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service54, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node45 = makeGlobalNode({ service: Service42, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service42, node45, exports_environment };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-waskdk5r.js";
|
|
7
7
|
import {
|
|
8
8
|
Info13
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-dys7k0s0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info12
|
|
12
|
+
} from "./file-mutation-tkmwgdpd.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info11
|
|
15
|
+
} from "./file-mutation-g6yfr6ja.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-0jwsre1p.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info10
|
|
21
|
+
} from "./file-mutation-gj71zhbs.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
migrateMcp2,
|
|
29
29
|
migrateProvider2,
|
|
30
30
|
providerID2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-mutation-d5et20rv.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/config/normalize.ts
|
|
37
37
|
var exports_normalize = {};
|
|
@@ -98,7 +98,7 @@ function normalize2(input) {
|
|
|
98
98
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
99
99
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
100
100
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
101
|
-
const legacyCommands = decodeMap(input.command,
|
|
101
|
+
const legacyCommands = decodeMap(input.command, Info12, ["command"], diagnostics, decodeValue);
|
|
102
102
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
103
103
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
104
104
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
219
219
|
normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
const server = decodeValue(
|
|
222
|
+
const server = decodeValue(Info11, value, path, diagnostics);
|
|
223
223
|
if (server !== undefined)
|
|
224
224
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
225
225
|
});
|
|
@@ -435,7 +435,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
435
435
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
436
436
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
437
437
|
return [];
|
|
438
|
-
const provider = decodeValue(
|
|
438
|
+
const provider = decodeValue(Info10, raw, path, diagnostics);
|
|
439
439
|
if (provider === undefined)
|
|
440
440
|
return [];
|
|
441
441
|
const destination = providerID2(name);
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-eej6y6fw.js";
|
|
7
7
|
import {
|
|
8
8
|
Service86,
|
|
9
9
|
node90
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-3cywy0c3.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-mutation-y71avatq.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node82
|
|
18
|
+
} from "./file-mutation-ak9msbxp.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID16,
|
|
31
|
+
Info: () => Info26,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service78,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured9,
|
|
36
|
+
node: () => node81
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID16 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info26 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID16,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,24 +52,24 @@ class Info11 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID16 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID16,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service78 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured9 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service78,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [node90,
|
|
70
|
+
deps: [node90, node82]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
72
|
+
var layer = (options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
73
73
|
const db = (yield* Service86).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info26({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service78.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID16.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service56, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node81 = configured9();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID16, Info26, NotFound2, CreateConflict2, Service78, configured9, node81, exports_workspace };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-mutation-0rv871qk.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-mutation-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
17
|
+
Event: () => Event19,
|
|
18
18
|
ID: () => ID15,
|
|
19
19
|
Info: () => Info25,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service72,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node75
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Array, Context, Effect, Layer } from "effect";
|
|
27
27
|
import { Agent } from "@opencode/schema/agent";
|
|
28
|
-
import { Event as
|
|
28
|
+
import { Event as Event19 } from "@opencode/schema/agent";
|
|
29
29
|
var ID15 = Agent.ID;
|
|
30
30
|
var Name3 = Agent.Name;
|
|
31
31
|
var defaultID2 = ID15.make("build");
|
|
32
32
|
var Color2 = Agent.Color;
|
|
33
33
|
var Info25 = Agent.Info;
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service72 extends Context.Service()("@opencode/Agent") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
37
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service85;
|
|
39
39
|
const state = create3({
|
|
40
40
|
name: "agent",
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
73
73
|
return fallback;
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
|
-
return
|
|
76
|
+
return Service72.of({
|
|
77
77
|
transform: state.transform,
|
|
78
78
|
reload: state.reload,
|
|
79
79
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
101
101
|
})
|
|
102
102
|
});
|
|
103
103
|
}));
|
|
104
|
-
var
|
|
104
|
+
var node75 = makeLocationNode({ service: Service72, layer, deps: [node89] });
|
|
105
105
|
|
|
106
|
-
export { ID15, Name3, defaultID2, Color2, Info25,
|
|
106
|
+
export { ID15, Name3, defaultID2, Color2, Info25, Service72, node75, exports_agent4, Event19 };
|