@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,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./file-mutation-6n4b0dsb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service38
|
|
6
|
+
} from "./file-mutation-p7a39gy5.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-pf31ssb9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service73
|
|
15
|
+
} from "./file-mutation-cmmdg65p.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-zn9jy13z.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service49
|
|
23
|
+
} from "./file-mutation-eajv9c1q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service38;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service73;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service49;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service53;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-10sr3c2w.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin18,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin18 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin39 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin39 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin18, exports_tavily };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./file-mutation-w7h8reg6.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/discovery.ts
|
|
12
12
|
var exports_discovery2 = {};
|
|
13
13
|
__export(exports_discovery2, {
|
|
14
14
|
ConfigDiscovery: () => exports_discovery2,
|
|
15
15
|
discover: () => discover3,
|
|
16
|
-
names: () =>
|
|
16
|
+
names: () => names3,
|
|
17
17
|
preferencePaths: () => preferencePaths2,
|
|
18
18
|
stripPreferenceMetadata: () => stripPreferenceMetadata2,
|
|
19
19
|
systemDirectory: () => systemDirectory2
|
|
@@ -23,7 +23,7 @@ import path from "path";
|
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
25
25
|
import { Global } from "@opencode/util/global";
|
|
26
|
-
var
|
|
26
|
+
var names3 = ["opencode.json", "opencode.jsonc"];
|
|
27
27
|
function systemDirectory2(platform = process.platform, env = process.env) {
|
|
28
28
|
if (platform === "darwin")
|
|
29
29
|
return AbsolutePath2.make("/Library/Application Support/opencode");
|
|
@@ -54,7 +54,7 @@ function stripPreferenceMetadata2(json) {
|
|
|
54
54
|
var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
55
55
|
const fs = yield* FSUtil.Service;
|
|
56
56
|
const global = yield* Global.Service;
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
58
58
|
const system = (() => {
|
|
59
59
|
if (options?.system === false)
|
|
60
60
|
return;
|
|
@@ -71,10 +71,10 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
71
71
|
const directories = globalRoots.slice(0, configDirectories.length).includes(current) || options?.project === false ? [] : yield* fs.up({ targets: ["."], start: location.directory }).pipe(Effect.orDie);
|
|
72
72
|
const discovered = yield* Effect.forEach(directories, (directory) => Effect.gen(function* () {
|
|
73
73
|
const parent = yield* fs.resolve(directory);
|
|
74
|
-
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...
|
|
74
|
+
return yield* Effect.forEach([".claude", ".agents", ".opencode", ...names3.toReversed()], (name) => fs.resolve(path.join(parent, name)).pipe(Effect.map((resolved) => ({ item: AbsolutePath2.make(path.join(directory, name)), resolved }))));
|
|
75
75
|
})).pipe(Effect.map((items) => items.flat()), Effect.orDie);
|
|
76
76
|
const globalEnabled = options?.global !== false;
|
|
77
|
-
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) =>
|
|
77
|
+
const globalFiles = yield* Effect.forEach(configDirectories.flatMap((directory) => names3.map((name) => path.join(directory, name))), (file) => fs.resolve(file));
|
|
78
78
|
const visible = discovered.filter(({ resolved }) => globalEnabled ? !globalRoots.includes(resolved) && !globalFiles.includes(resolved) : !globalRoots.some((root) => resolved === root || resolved.startsWith(root + path.sep))).map(({ item }) => item);
|
|
79
79
|
const preferences = globalEnabled && (options?.system ?? true) === true && process.platform === "darwin" ? (yield* Effect.filter(preferencePaths2(yield* Effect.try(() => os.userInfo().username).pipe(Effect.orElseSucceed(() => "user"))), fs.isFile)).at(0) : undefined;
|
|
80
80
|
return {
|
|
@@ -99,4 +99,4 @@ var discover3 = Effect.fn("ConfigDiscovery.discover")(function* (options) {
|
|
|
99
99
|
};
|
|
100
100
|
});
|
|
101
101
|
|
|
102
|
-
export {
|
|
102
|
+
export { names3, systemDirectory2, preferencePaths2, stripPreferenceMetadata2, discover3, exports_discovery2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service40,
|
|
3
|
+
node43
|
|
4
|
+
} from "./file-mutation-c87k5ccs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service21,
|
|
7
|
+
node24
|
|
8
|
+
} from "./file-mutation-p2wcahxe.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-6xb47vfp.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service9,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node11
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service9 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service21;
|
|
30
|
+
const jobs = yield* Service40;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service9.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node11 = Node.makeGlobalNode({
|
|
68
|
+
service: Service9,
|
|
69
|
+
layer: Layer.effect(Service9, make),
|
|
70
|
+
deps: [node24, node43]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service9, node11, exports_subagent_job };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-mutation-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service77,
|
|
6
|
+
node80
|
|
7
|
+
} from "./file-mutation-gybtzb9x.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service66,
|
|
17
|
+
node: () => node69,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service66 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service77;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service66.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node69 = makeLocationNode({ service: Service66, layer, deps: [node80] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service66, readText2, syncTextBom2, node69, exports_file_mutation };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node42
|
|
5
|
+
} from "./file-mutation-10sr3c2w.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service73,
|
|
8
|
+
node76
|
|
9
|
+
} from "./file-mutation-cmmdg65p.js";
|
|
10
10
|
import {
|
|
11
11
|
DeclinedError2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-3zqpxcym.js";
|
|
13
13
|
import {
|
|
14
14
|
CancelledError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-mutation-4vmkhc5n.js";
|
|
16
16
|
import {
|
|
17
17
|
Error3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-mutation-56spgh5t.js";
|
|
19
19
|
import {
|
|
20
20
|
get5
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-mutation-54ma36ye.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service32,
|
|
24
|
+
node35
|
|
25
|
+
} from "./file-mutation-kxej0ekr.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
make15
|
|
28
|
+
} from "./file-mutation-xfkkasph.js";
|
|
29
29
|
import {
|
|
30
30
|
toLLMMessages2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-mutation-ndzdr1dv.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/session/model-request.ts
|
|
37
37
|
var exports_model_request = {};
|
|
38
38
|
__export(exports_model_request, {
|
|
39
|
-
Service: () =>
|
|
39
|
+
Service: () => Service31,
|
|
40
40
|
SessionModelRequest: () => exports_model_request,
|
|
41
41
|
baseTranscript: () => baseTranscript2,
|
|
42
42
|
boundImages: () => boundImages2,
|
|
43
|
-
layer: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
layer: () => layer15,
|
|
44
|
+
node: () => node34,
|
|
45
45
|
outputLimit: () => outputLimit2,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
@@ -79,7 +79,7 @@ var baseTranscript2 = (input) => {
|
|
|
79
79
|
return {
|
|
80
80
|
providerMetadataKey,
|
|
81
81
|
system: [
|
|
82
|
-
input.agent.system ? input.agent.system :
|
|
82
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
83
83
|
input.initial
|
|
84
84
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
85
85
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -160,11 +160,11 @@ var boundImages2 = (messages) => {
|
|
|
160
160
|
});
|
|
161
161
|
};
|
|
162
162
|
|
|
163
|
-
class
|
|
163
|
+
class Service31 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
164
164
|
}
|
|
165
|
-
var
|
|
166
|
-
const hooks = yield*
|
|
167
|
-
const transport = yield*
|
|
165
|
+
var layer15 = Layer.effect(Service31, Effect.gen(function* () {
|
|
166
|
+
const hooks = yield* Service73;
|
|
167
|
+
const transport = yield* Service32;
|
|
168
168
|
const app = yield* Metadata2;
|
|
169
169
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
170
170
|
const session = input.session;
|
|
@@ -266,17 +266,17 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
266
266
|
};
|
|
267
267
|
});
|
|
268
268
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
269
|
-
return
|
|
269
|
+
return Service31.of({
|
|
270
270
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
271
271
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
272
272
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
273
273
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
274
274
|
});
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
278
|
-
layer:
|
|
279
|
-
deps: [
|
|
276
|
+
var node34 = makeLocationNode({
|
|
277
|
+
service: Service31,
|
|
278
|
+
layer: layer15,
|
|
279
|
+
deps: [node76, node35, node42]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2,
|
|
282
|
+
export { outputLimit2, baseTranscript2, unsupportedParts2, boundImages2, Service31, layer15, node34, exports_model_request };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service57
|
|
3
|
+
} from "./file-mutation-em5cgnc4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./file-mutation-6n4b0dsb.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-mutation-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin35
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin35 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service57;
|
|
26
|
+
const image = yield* Service53;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin27 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin35, exports_image };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./file-mutation-gybtzb9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -21,7 +21,7 @@ var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
|
21
21
|
var EXIT_WAIT = Duration.seconds(1);
|
|
22
22
|
var STDERR_TAIL = 1000;
|
|
23
23
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
24
|
-
const environment = yield*
|
|
24
|
+
const environment = yield* Service77;
|
|
25
25
|
const scope = yield* Effect.scope;
|
|
26
26
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
27
27
|
const buffer = new ReadBuffer;
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-mutation-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service79
|
|
8
|
+
} from "./file-mutation-w7h8reg6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service77
|
|
11
|
+
} from "./file-mutation-gybtzb9x.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service47
|
|
14
|
+
} from "./file-mutation-zvntbwz4.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service66,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-mutation-j8th9n6h.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service69
|
|
22
|
+
} from "./file-mutation-3zqpxcym.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service68,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-mutation-28jszdgh.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-mutation-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-mutation-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input7,
|
|
39
|
+
Output: () => Output5,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin7,
|
|
42
|
+
name: () => name7,
|
|
43
|
+
toModelContent: () => toModelContent4
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name7 = "patch";
|
|
89
|
+
var Input7 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output5 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent4 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin7 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service77;
|
|
112
|
+
const access = yield* Service68;
|
|
113
|
+
const fileMutation = yield* Service66;
|
|
114
|
+
const formatter = yield* Service47;
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const permission = yield* Service69;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name7,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input7,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin14 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent4(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name7, Input7, Applied2, Output5, toModelContent4, Plugin7, exports_patch };
|