@opencode/core 0.0.0-dev-20332 → 0.0.0-dev-20334
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-ttqh24zm.js → vcs-06x8he3q.js} +4 -4
- package/dist/chunks/{location-359gy9a3.js → vcs-09ymrm59.js} +27 -27
- package/dist/chunks/{location-a0j7zc8d.js → vcs-0bt028bs.js} +1 -1
- package/dist/chunks/{location-6anwy9fs.js → vcs-0gaj4617.js} +6 -6
- package/dist/chunks/vcs-0hjz4wff.js +26 -0
- package/dist/chunks/{location-2gh0pne0.js → vcs-0m1283ft.js} +15 -15
- package/dist/chunks/{location-ky6yw5g0.js → vcs-0mm9aq32.js} +13 -13
- package/dist/chunks/{location-e19eaq7y.js → vcs-0nc7c8jg.js} +9 -9
- package/dist/chunks/{location-0paq2nw3.js → vcs-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-k31jet3a.js → vcs-0xjjk5b6.js} +11 -11
- package/dist/chunks/{location-1me2azay.js → vcs-17j7xjjx.js} +11 -11
- package/dist/chunks/{location-1dazxqgg.js → vcs-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-hv4bgzk9.js → vcs-1j2jwavt.js} +8 -8
- package/dist/chunks/{location-ma15yhyh.js → vcs-1q5awywt.js} +5 -5
- package/dist/chunks/{location-g11yarsy.js → vcs-1smgh9n6.js} +7 -7
- package/dist/chunks/{location-96rcg50q.js → vcs-1x3v6h42.js} +15 -15
- package/dist/chunks/{location-1ygqh575.js → vcs-1ygqh575.js} +2 -2
- package/dist/chunks/{location-q4t44wz3.js → vcs-1zqzw3br.js} +20 -20
- package/dist/chunks/{location-21r38tys.js → vcs-21r38tys.js} +1 -1
- package/dist/chunks/{location-ze5v0a14.js → vcs-2336b01z.js} +8 -8
- package/dist/chunks/{location-g60qj5yf.js → vcs-26kt6rhw.js} +2 -2
- package/dist/chunks/{location-z63w68vq.js → vcs-29x78va6.js} +6 -6
- package/dist/chunks/{location-2a5m3afh.js → vcs-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-mytbjss0.js → vcs-2c6shbwg.js} +26 -26
- package/dist/chunks/{location-zwxq93tf.js → vcs-30p433p7.js} +6 -6
- package/dist/chunks/{location-42f0htzm.js → vcs-3faa98at.js} +10 -10
- package/dist/chunks/{location-3fc6dm20.js → vcs-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-1v2cpr56.js → vcs-3feczvy4.js} +8 -8
- package/dist/chunks/{location-3hepkmqq.js → vcs-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-bf0ztrs3.js → vcs-3j8sdtpz.js} +4 -4
- package/dist/chunks/{location-j1ep2ape.js → vcs-3kr4fhtq.js} +15 -15
- package/dist/chunks/{location-3smtnn6g.js → vcs-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → vcs-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-f00515wj.js → vcs-3v65wvvj.js} +16 -16
- package/dist/chunks/{location-tg37w3py.js → vcs-3w1s0g20.js} +5 -5
- package/dist/chunks/{location-xx2ckhja.js → vcs-3zfdkf60.js} +16 -16
- package/dist/chunks/{location-3zsf4n22.js → vcs-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-zyxd3cry.js → vcs-4jqr2b2y.js} +32 -32
- package/dist/chunks/{location-vsgdn61q.js → vcs-4mpncgky.js} +8 -8
- package/dist/chunks/vcs-4v7qdvcn.js +18 -0
- package/dist/chunks/{location-gc4fb455.js → vcs-4wwqnvbr.js} +4 -4
- package/dist/chunks/{location-54ma36ye.js → vcs-54ma36ye.js} +1 -1
- package/dist/chunks/{location-54tcyq79.js → vcs-54tcyq79.js} +2 -2
- package/dist/chunks/{location-57ez7d0k.js → vcs-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-3sy0yjgf.js → vcs-59xx2ca3.js} +24 -24
- package/dist/chunks/{location-smb7m2tf.js → vcs-5csd2dzg.js} +8 -8
- package/dist/chunks/{location-5daktx2q.js → vcs-5daktx2q.js} +1 -1
- package/dist/chunks/{location-f29mbr7f.js → vcs-5dkn69vz.js} +4 -4
- package/dist/chunks/{location-et1vwb50.js → vcs-5k130xag.js} +308 -308
- package/dist/chunks/{location-5t3nmthw.js → vcs-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-ypahm2w0.js → vcs-5yz86fj5.js} +8 -8
- package/dist/chunks/{location-gmjq4p6e.js → vcs-607q5haz.js} +5 -5
- package/dist/chunks/{location-3cteaq89.js → vcs-62t14kdm.js} +11 -11
- package/dist/chunks/{location-669tq793.js → vcs-669tq793.js} +1 -1
- package/dist/chunks/{location-ams685p7.js → vcs-6dpb430c.js} +3 -3
- package/dist/chunks/{location-02e6a1xr.js → vcs-6fvhqekt.js} +10 -10
- package/dist/chunks/{location-4t90qbzd.js → vcs-6gj5awe5.js} +6 -6
- package/dist/chunks/{location-y5bmmmc5.js → vcs-6kb5nayr.js} +14 -14
- package/dist/chunks/{location-1bfsfmvc.js → vcs-6kgc56n8.js} +6 -6
- package/dist/chunks/{location-6msgmcgs.js → vcs-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-a2ew8a62.js → vcs-73gmm198.js} +4 -4
- package/dist/chunks/{location-g9nkqj1a.js → vcs-73p1106n.js} +24 -24
- package/dist/chunks/{location-1bbkgx8g.js → vcs-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-7bmhse3q.js → vcs-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-qgn6gcr1.js → vcs-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-py3kkmfq.js → vcs-7fkffz83.js} +4 -4
- package/dist/chunks/{location-g52yw51c.js → vcs-7jekz0sf.js} +11 -11
- package/dist/chunks/{location-sq9hdhx4.js → vcs-7yn8cp0p.js} +28 -28
- package/dist/chunks/{location-gq4sc612.js → vcs-7ysams8v.js} +27 -27
- package/dist/chunks/{location-r3ewmwtm.js → vcs-81yj1zj9.js} +8 -8
- package/dist/chunks/{location-84j8m7e3.js → vcs-82y02698.js} +7 -7
- package/dist/chunks/{location-84txncab.js → vcs-84txncab.js} +1 -1
- package/dist/chunks/{location-nt4ws43p.js → vcs-87972gfc.js} +10 -10
- package/dist/chunks/{location-1858jtnb.js → vcs-888bdhzw.js} +16 -16
- package/dist/chunks/{location-n4q62pja.js → vcs-88vq6jx2.js} +18 -18
- package/dist/chunks/{location-8d7r5vzw.js → vcs-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-xxk5ry2v.js → vcs-8qh6anns.js} +6 -6
- package/dist/chunks/{location-bf6j3zq6.js → vcs-8w7wh2t6.js} +35 -35
- package/dist/chunks/{location-4tyy50z7.js → vcs-8ww8exwk.js} +18 -18
- package/dist/chunks/{location-2d5t5e6c.js → vcs-8z2rcb83.js} +4 -4
- package/dist/chunks/{location-cy820888.js → vcs-8zgg7vh0.js} +7 -7
- package/dist/chunks/{location-t3th97kz.js → vcs-90kmczhd.js} +21 -21
- package/dist/chunks/{location-grxcxy9j.js → vcs-91p1v22t.js} +8 -8
- package/dist/chunks/{location-1s5awsvd.js → vcs-97ydf025.js} +9 -9
- package/dist/chunks/{location-ccmvvhm9.js → vcs-9b1cam74.js} +46 -46
- package/dist/chunks/{location-gecshvrx.js → vcs-9bksq1g1.js} +18 -18
- package/dist/chunks/{location-ewjxmwng.js → vcs-9g87yrc5.js} +13 -13
- package/dist/chunks/{location-2y8jjtjh.js → vcs-9hb3wz9g.js} +8 -8
- package/dist/chunks/{location-7w64dbzf.js → vcs-9m0b2epc.js} +23 -23
- package/dist/chunks/{location-05fwr9d3.js → vcs-9pg9yh83.js} +33 -33
- package/dist/chunks/{location-zt4c6sfd.js → vcs-9ty0dtba.js} +10 -10
- package/dist/chunks/{location-33fcxst2.js → vcs-9vsjd1qn.js} +28 -28
- package/dist/chunks/{location-vmwz11wz.js → vcs-a5qbg7vh.js} +1 -1
- package/dist/chunks/{location-prse58hf.js → vcs-a7kgcqrw.js} +5 -5
- package/dist/chunks/{location-aaet6srn.js → vcs-aaet6srn.js} +2 -2
- package/dist/chunks/{location-4wm3hfb6.js → vcs-ak879dmn.js} +24 -24
- package/dist/chunks/{location-1k7nw2np.js → vcs-aw20npjr.js} +15 -15
- package/dist/chunks/{location-v47bnj70.js → vcs-awv95mqd.js} +2 -2
- package/dist/chunks/{location-b6gygkdw.js → vcs-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-wx12zf4r.js → vcs-beagn649.js} +6 -6
- package/dist/chunks/{location-qcewvjcq.js → vcs-bjaap57j.js} +2 -2
- package/dist/chunks/{location-bjtzbw4r.js → vcs-bjtzbw4r.js} +3 -3
- package/dist/chunks/{location-bnzwt7hj.js → vcs-bqq1gwvm.js} +1 -1
- package/dist/chunks/{location-3d6pamsn.js → vcs-bw02v0jt.js} +11 -11
- package/dist/chunks/{location-w9gb1mzf.js → vcs-byk2kb5w.js} +11 -11
- package/dist/chunks/{location-tvyjc43w.js → vcs-c3pz5err.js} +43 -43
- package/dist/chunks/{location-b68jqyy9.js → vcs-c602bgff.js} +17 -17
- package/dist/chunks/{location-r4vt6ek9.js → vcs-c83erg16.js} +26 -26
- package/dist/chunks/vcs-cjfqmng4.js +252 -0
- package/dist/chunks/{location-pnkgaxte.js → vcs-crpnb3tq.js} +3 -3
- package/dist/chunks/{location-sv9zqnbr.js → vcs-csqrn7a8.js} +25 -25
- package/dist/chunks/{location-gjwgx2c5.js → vcs-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-jwpvd8r9.js → vcs-d4r6bf00.js} +8 -8
- package/dist/chunks/{location-k57g4mqh.js → vcs-d5kn232k.js} +14 -14
- package/dist/chunks/{location-86qzxe6p.js → vcs-d858xzj7.js} +4 -4
- package/dist/chunks/{location-z3pw5915.js → vcs-d87ppnb3.js} +5 -5
- package/dist/chunks/{location-mzywpf3p.js → vcs-d8cw0a7r.js} +4 -4
- package/dist/chunks/{location-aad20b43.js → vcs-d8x1pm9j.js} +15 -15
- package/dist/chunks/{location-mdngnccz.js → vcs-dg3h7qmn.js} +6 -6
- package/dist/chunks/{location-cbh6g861.js → vcs-dh6d6547.js} +25 -25
- package/dist/chunks/{location-dnxkq42g.js → vcs-dnxkq42g.js} +1 -1
- package/dist/chunks/{location-y71avatq.js → vcs-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-405thefk.js → vcs-dr3mn59c.js} +9 -9
- package/dist/chunks/{location-f1bvh024.js → vcs-dyj34840.js} +4 -4
- package/dist/chunks/{location-kytmjyy3.js → vcs-dz14cmaq.js} +24 -24
- package/dist/chunks/{location-na0xys1v.js → vcs-e30mydyk.js} +7 -7
- package/dist/chunks/{location-5qd3pb7m.js → vcs-e3qxr5gk.js} +2 -2
- package/dist/chunks/{location-2a9ws08k.js → vcs-eb1e8gar.js} +2 -2
- package/dist/chunks/{location-ecfe7b91.js → vcs-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-1z0tyxgk.js → vcs-ee4t0ep0.js} +26 -26
- package/dist/chunks/{location-ef5x83kb.js → vcs-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-etq0c3wd.js → vcs-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-1pcjwpaa.js → vcs-ey1pw6q6.js} +24 -24
- package/dist/chunks/{location-r8xr0va3.js → vcs-f2n192rq.js} +4 -4
- package/dist/chunks/{location-23sxaqwc.js → vcs-fjvydvzm.js} +5 -5
- package/dist/chunks/{location-nsj03r65.js → vcs-fmqw8cxe.js} +70 -70
- package/dist/chunks/{location-9h352b91.js → vcs-ftadth4t.js} +10 -10
- package/dist/chunks/{location-zt2wse74.js → vcs-fykmemb9.js} +3 -3
- package/dist/chunks/{location-nng2ktcm.js → vcs-g2yz86wh.js} +2 -2
- package/dist/chunks/{location-c8q14vds.js → vcs-g437nraw.js} +21 -21
- package/dist/chunks/{location-e003b4c3.js → vcs-g6fwv5kp.js} +22 -22
- package/dist/chunks/{location-gd4qta3r.js → vcs-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-jwwfgh84.js → vcs-gfaekswr.js} +13 -13
- package/dist/chunks/{location-gfvb90ym.js → vcs-gfvb90ym.js} +2 -2
- package/dist/chunks/{location-ryry5wbd.js → vcs-ghte986y.js} +1 -1
- package/dist/chunks/{location-yy0n8m79.js → vcs-gn7xagw0.js} +11 -11
- package/dist/chunks/{location-gv6a8nnw.js → vcs-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-ap0c1ha6.js → vcs-gweyv2dv.js} +33 -33
- package/dist/chunks/{location-0550q54d.js → vcs-h40sfsrg.js} +18 -18
- package/dist/chunks/{location-rk1r2hx8.js → vcs-h5w29vws.js} +1 -1
- package/dist/chunks/{location-h6vf3j39.js → vcs-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-3taabba9.js → vcs-h78xxny7.js} +32 -32
- package/dist/chunks/{location-zaj0f5yc.js → vcs-ha0kh7py.js} +4 -4
- package/dist/chunks/{location-zefk2w7j.js → vcs-hwg0j3cs.js} +13 -13
- package/dist/chunks/{location-872key08.js → vcs-j0qe0af1.js} +28 -28
- package/dist/chunks/{location-9gjvh9w7.js → vcs-j3db3ybt.js} +14 -14
- package/dist/chunks/{location-j56e64zr.js → vcs-j56e64zr.js} +1 -1
- package/dist/chunks/{location-dchp67v4.js → vcs-jdrazh6s.js} +24 -24
- package/dist/chunks/{location-snvbww7e.js → vcs-jnxkj5z7.js} +25 -25
- package/dist/chunks/{location-2rhe9xp4.js → vcs-jss641gn.js} +15 -15
- package/dist/chunks/{location-d5s762pw.js → vcs-jv8egdf5.js} +24 -24
- package/dist/chunks/{location-4e8vs6eh.js → vcs-k1gkpfdk.js} +8 -8
- package/dist/chunks/{location-k1qrnqst.js → vcs-k1qrnqst.js} +1 -1
- package/dist/chunks/{location-jjxrrmfz.js → vcs-k2yzvxgs.js} +18 -18
- package/dist/chunks/{location-e9gcwejs.js → vcs-k7gc26zy.js} +24 -24
- package/dist/chunks/{location-zfhqhftv.js → vcs-kpvz85tg.js} +11 -11
- package/dist/chunks/{location-m3fdjcah.js → vcs-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-m9w0rfyh.js → vcs-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-p5vt4w12.js → vcs-maxnyjw6.js} +16 -16
- package/dist/chunks/{location-jpqr5ghe.js → vcs-mc33kzj8.js} +8 -8
- package/dist/chunks/{location-6zx481ey.js → vcs-mn7havxm.js} +7 -7
- package/dist/chunks/{location-nfjrmqy5.js → vcs-mqsshzbw.js} +11 -11
- package/dist/chunks/{location-7gvwkz6m.js → vcs-mtft99cd.js} +5 -5
- package/dist/chunks/{location-3pswvgk6.js → vcs-nd82pmrw.js} +13 -13
- package/dist/chunks/{location-ahsxsgn9.js → vcs-nm2ve9qd.js} +1 -1
- package/dist/chunks/{location-svzh0x98.js → vcs-nmjwjdz3.js} +3 -3
- package/dist/chunks/{location-1jwd9cqs.js → vcs-np2nb0tx.js} +20 -20
- package/dist/chunks/{location-s22kpthy.js → vcs-nx8ggh41.js} +18 -18
- package/dist/chunks/{location-nzks3jc8.js → vcs-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-dh3xf11m.js → vcs-p31v0gj9.js} +5 -5
- package/dist/chunks/{location-p37cw4rj.js → vcs-p37cw4rj.js} +1 -1
- package/dist/chunks/{location-tcc6ccqd.js → vcs-p3t4a9dj.js} +12 -12
- package/dist/chunks/{location-wvjbag1w.js → vcs-p4crwqdd.js} +10 -10
- package/dist/chunks/{location-s083egkz.js → vcs-p50j01q6.js} +85 -85
- package/dist/chunks/{location-nbx7psha.js → vcs-p9z8jh8h.js} +48 -48
- package/dist/chunks/{location-pjvnvgmy.js → vcs-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → vcs-pknna89w.js} +1 -1
- package/dist/chunks/{location-j3s2z371.js → vcs-pnv527nz.js} +9 -9
- package/dist/chunks/{location-0a9efqg1.js → vcs-ppjhm20f.js} +8 -8
- package/dist/chunks/{location-fdms3n6w.js → vcs-prq7hedt.js} +9 -9
- package/dist/chunks/{location-meh18akk.js → vcs-prs5dgzg.js} +5 -5
- package/dist/chunks/{location-psazpmmj.js → vcs-psazpmmj.js} +2 -2
- package/dist/chunks/{location-hh3smdyr.js → vcs-ptzxwrkk.js} +80 -80
- package/dist/chunks/{location-nkbr3xyj.js → vcs-pyajmvxg.js} +5 -5
- package/dist/chunks/{location-k7myrtme.js → vcs-q0raz0xt.js} +9 -9
- package/dist/chunks/{location-913tdmgz.js → vcs-qfybyazx.js} +42 -42
- package/dist/chunks/{location-d956t663.js → vcs-qjbfxdfa.js} +4 -4
- package/dist/chunks/{location-7et7x3nj.js → vcs-qjbnh5k0.js} +10 -10
- package/dist/chunks/{location-xfkkasph.js → vcs-qqeeq2t9.js} +7 -7
- package/dist/chunks/{location-qsdy395h.js → vcs-qsdy395h.js} +1 -1
- package/dist/chunks/{location-wbkyxrgf.js → vcs-qte5z7bc.js} +5 -5
- package/dist/chunks/{location-s5wrztbh.js → vcs-qy7chpjw.js} +36 -36
- package/dist/chunks/{location-fsq7s6yz.js → vcs-qzv3kn2w.js} +9 -9
- package/dist/chunks/{location-kx2dxvka.js → vcs-r1htaf9c.js} +14 -14
- package/dist/chunks/{location-95cvvvyw.js → vcs-r1w74d6m.js} +9 -9
- package/dist/chunks/{location-45ev0h4b.js → vcs-r51ay0vc.js} +1 -1
- package/dist/chunks/{location-p5gnfa3n.js → vcs-rbzcmxc9.js} +9 -9
- package/dist/chunks/{location-rdw6cm16.js → vcs-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-m32f1x6e.js → vcs-rh9mbwcq.js} +10 -10
- package/dist/chunks/{location-s8d7rejh.js → vcs-rhjbct0v.js} +4 -4
- package/dist/chunks/{location-wtebr0tv.js → vcs-rr5jes33.js} +9 -9
- package/dist/chunks/{location-dgchpn2c.js → vcs-rzsaep27.js} +50 -50
- package/dist/chunks/{location-7hg2a0kf.js → vcs-s2hz1kr4.js} +12 -12
- package/dist/chunks/{location-yrznvahk.js → vcs-s4enseaf.js} +2 -2
- package/dist/chunks/{location-k75d9tpj.js → vcs-sb7d9p7d.js} +30 -30
- package/dist/chunks/{location-t6z4h4ef.js → vcs-sew39fqd.js} +6 -6
- package/dist/chunks/{location-32ymn5e1.js → vcs-skcqx5gn.js} +9 -9
- package/dist/chunks/{location-5fjen55d.js → vcs-t72j4zw8.js} +21 -21
- package/dist/chunks/{location-2yjkx9rh.js → vcs-t899d7vy.js} +11 -11
- package/dist/chunks/{location-tazgh4e4.js → vcs-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → vcs-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-tdstcens.js → vcs-tdstcens.js} +1 -1
- package/dist/chunks/{location-221tqkqe.js → vcs-tfq99j1t.js} +32 -32
- package/dist/chunks/{location-tvtrv512.js → vcs-tvtrv512.js} +1 -1
- package/dist/chunks/{location-3f0ygkn9.js → vcs-txtbj48a.js} +11 -11
- package/dist/chunks/{location-65y5gv5n.js → vcs-v3340t34.js} +7 -7
- package/dist/chunks/{location-wm5q5x5p.js → vcs-v481zamz.js} +3 -3
- package/dist/chunks/{location-qcn3qcd0.js → vcs-v501w5tf.js} +41 -41
- package/dist/chunks/{location-a3b6bg5k.js → vcs-v7qqwbza.js} +2 -2
- package/dist/chunks/{location-4v7ngy20.js → vcs-v7z2bvyd.js} +4 -4
- package/dist/chunks/{location-1pz63znb.js → vcs-v9g4r50y.js} +16 -16
- package/dist/chunks/{location-veqvce7d.js → vcs-veqvce7d.js} +1 -1
- package/dist/chunks/{location-gv420m70.js → vcs-vm7w724s.js} +8 -8
- package/dist/chunks/{location-hcr9xn5j.js → vcs-vpa4aasm.js} +9 -9
- package/dist/chunks/{location-eab37ged.js → vcs-vpfzym8t.js} +17 -17
- package/dist/chunks/{location-shrpy2d8.js → vcs-vqfzq50h.js} +6 -6
- package/dist/chunks/{location-50mzsvk4.js → vcs-vsp1fds9.js} +21 -21
- package/dist/chunks/{location-kc0d3shj.js → vcs-vswsk95g.js} +22 -22
- package/dist/chunks/{location-vzcthcp8.js → vcs-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-vzs5sf6e.js → vcs-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-q78ntncr.js → vcs-w1g80d9f.js} +20 -20
- package/dist/chunks/{location-b2jxfxck.js → vcs-w1q4avx6.js} +27 -27
- package/dist/chunks/{location-w3wsvvr9.js → vcs-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-gx3evx6p.js → vcs-w6x651eg.js} +25 -25
- package/dist/chunks/{location-qe750zdm.js → vcs-w8br9f4a.js} +8 -8
- package/dist/chunks/{location-fw3ksk4v.js → vcs-wbxssg5z.js} +4 -4
- package/dist/chunks/{location-wd87259q.js → vcs-wd87259q.js} +1 -1
- package/dist/chunks/{location-0xr4jven.js → vcs-wjq7t41n.js} +4 -4
- package/dist/chunks/{location-ed9n86pt.js → vcs-wmnjdatz.js} +22 -22
- package/dist/chunks/{location-qdbakdjh.js → vcs-wvgd2jmw.js} +5 -5
- package/dist/chunks/{location-x1ezjp6w.js → vcs-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-bvxa250g.js → vcs-x1kk24fb.js} +11 -11
- package/dist/chunks/{location-0j8kvx79.js → vcs-x3zqwmch.js} +24 -24
- package/dist/chunks/{location-n51wg4q9.js → vcs-x4d5q8t7.js} +9 -9
- package/dist/chunks/{location-wr5k3gxd.js → vcs-xakhm4tn.js} +11 -11
- package/dist/chunks/{location-7w99qc9d.js → vcs-xkhfjrgz.js} +3 -3
- package/dist/chunks/{location-dmqcgk4z.js → vcs-xkntkrq7.js} +5 -5
- package/dist/chunks/{location-g86wtp00.js → vcs-xqhx4jgm.js} +52 -52
- package/dist/chunks/{location-3frysrkz.js → vcs-xsfmm66d.js} +16 -16
- package/dist/chunks/{location-yataeycs.js → vcs-xsgxn7h5.js} +9 -9
- package/dist/chunks/{location-768gsh1v.js → vcs-xsxzmn3v.js} +6 -6
- package/dist/chunks/{location-vd7rzxqf.js → vcs-xvp1j2dc.js} +5 -5
- package/dist/chunks/{location-y1fvbwt7.js → vcs-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-72fr57kk.js → vcs-yd58c7k2.js} +31 -31
- package/dist/chunks/{location-631cxsgm.js → vcs-yfrfdky7.js} +13 -13
- package/dist/chunks/{location-74cpa34g.js → vcs-ykvd5j0p.js} +14 -14
- package/dist/chunks/{location-d4tjmbxj.js → vcs-yqqw0v8e.js} +13 -13
- package/dist/chunks/{location-7b3n6txb.js → vcs-yr6kv76e.js} +126 -126
- package/dist/chunks/{location-yrhqyw5v.js → vcs-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-4zx2nvpt.js → vcs-yth77m6w.js} +4 -4
- package/dist/chunks/{location-4etn4a9t.js → vcs-ywd0xnxg.js} +16 -16
- package/dist/chunks/{location-c0c4g6cm.js → vcs-yz3fv4p6.js} +37 -37
- package/dist/chunks/{location-z0bkrqjs.js → vcs-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-2c22wpxs.js → vcs-z0s2kx6j.js} +1 -1
- package/dist/chunks/{location-2dk0h958.js → vcs-z4n6550m.js} +17 -17
- package/dist/chunks/{location-nbzsj80d.js → vcs-z4zaedpe.js} +11 -11
- package/dist/chunks/{location-aaryx3hz.js → vcs-z5y17b97.js} +15 -15
- package/dist/chunks/{location-7jp52wrn.js → vcs-zbjeptwf.js} +5 -5
- package/dist/chunks/{location-zeh9ct20.js → vcs-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-a9mb7h9k.js → vcs-zp64n39g.js} +7 -7
- package/dist/chunks/{location-zr2ceqn5.js → vcs-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-cc748a61.js → vcs-zr5gmss4.js} +3 -3
- package/dist/chunks/{location-z42abtxa.js → vcs-zta4ze2y.js} +8 -8
- package/dist/chunks/{location-mcvtpcr6.js → vcs-zxfxywrx.js} +9 -9
- package/dist/chunks/{location-zxq2ej10.js → vcs-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-8zefm95q.js → vcs-zxv822en.js} +31 -31
- package/dist/chunks/{location-asr5c240.js → vcs-zz39n6j9.js} +33 -33
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +98 -98
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +94 -94
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +89 -89
- 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 +126 -126
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +6 -6
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/location-57v02fd6.js +0 -26
- package/dist/chunks/location-m8n3k53h.js +0 -252
- package/dist/chunks/location-rap9a73h.js +0 -18
- /package/dist/chunks/{location-0qkdqm5v.js → vcs-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → vcs-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → vcs-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → vcs-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → vcs-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → vcs-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → vcs-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → vcs-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → vcs-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → vcs-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → vcs-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → vcs-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → vcs-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → vcs-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → vcs-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → vcs-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → vcs-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → vcs-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → vcs-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → vcs-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → vcs-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → vcs-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → vcs-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → vcs-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → vcs-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → vcs-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → vcs-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → vcs-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → vcs-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → vcs-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → vcs-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → vcs-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → vcs-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → vcs-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → vcs-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → vcs-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → vcs-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → vcs-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → vcs-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → vcs-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → vcs-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → vcs-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → vcs-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → vcs-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → vcs-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → vcs-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → vcs-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → vcs-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → vcs-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → vcs-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → vcs-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → vcs-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → vcs-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → vcs-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → vcs-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → vcs-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → vcs-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → vcs-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → vcs-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → vcs-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → vcs-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → vcs-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → vcs-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → vcs-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → vcs-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → vcs-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → vcs-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → vcs-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → vcs-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → vcs-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → vcs-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → vcs-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → vcs-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → vcs-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → vcs-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → vcs-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → vcs-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → vcs-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → vcs-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → vcs-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → vcs-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → vcs-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → vcs-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → vcs-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → vcs-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → vcs-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → vcs-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → vcs-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → vcs-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → vcs-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → vcs-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → vcs-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → vcs-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → vcs-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → vcs-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → vcs-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./vcs-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
8
|
Service82,
|
|
9
9
|
node86
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-607q5haz.js";
|
|
11
11
|
import {
|
|
12
12
|
Service80,
|
|
13
13
|
node84
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-v7qqwbza.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./vcs-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./vcs-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
26
|
ID: () => ID5,
|
|
27
|
-
Service: () =>
|
|
27
|
+
Service: () => Service37,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node40,
|
|
30
30
|
noopLayer: () => noopLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -36,16 +36,16 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import { ID as ID5 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service37 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service37, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service37.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node40 = makeLocationNode({
|
|
144
|
+
service: Service37,
|
|
145
145
|
layer,
|
|
146
146
|
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer2 = Layer.succeed(
|
|
148
|
+
var noopLayer2 = Layer.succeed(Service37, Service37.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer2 = Layer.succeed(Service39, Service39.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error3({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export { ID5,
|
|
166
|
+
export { ID5, Error3, Service37, node40, noopLayer2, exports_snapshot2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin7,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin7 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin7, exports_tool_input_repair };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./vcs-8w7wh2t6.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service37
|
|
7
|
+
} from "./vcs-wmnjdatz.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./vcs-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./vcs-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin32
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin32 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service69;
|
|
27
|
+
const snapshot = yield* Service37;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin27 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin32, exports_snapshot };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./vcs-3w5fmr99.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./vcs-nzks3jc8.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./vcs-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service54,
|
|
17
|
+
node57
|
|
18
|
+
} from "./vcs-q0raz0xt.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service68,
|
|
21
|
+
node72
|
|
22
|
+
} from "./vcs-k1gkpfdk.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./vcs-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./vcs-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
34
|
Content: () => Content3,
|
|
35
|
-
Error: () =>
|
|
35
|
+
Error: () => Error4,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service45,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node47
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as Content3, Error as
|
|
43
|
+
import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service45 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service45, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service68;
|
|
58
|
+
const image = yield* Service54;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service45.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node47 = makeLocationNode({
|
|
277
|
+
service: Service45,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node72, node57]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service45, node47, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-xakhm4tn.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./vcs-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin6,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin6 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin3 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint6, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin3 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint6, Plugin6, exports_parallel };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured6,
|
|
11
|
+
layer: () => layer21,
|
|
12
|
+
make: () => make19,
|
|
13
|
+
node: () => node52,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make19()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make19(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make16(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer21 = (input) => Layer.succeed(Metadata2, make19(input));
|
|
32
|
+
var configured6 = (input) => makeGlobalNode({ service: Metadata2, layer: layer21(input), deps: [] });
|
|
33
|
+
var node52 = configured6();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make19, useragent2, layer21, configured6, node52, exports_app };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID11 = Session.ID;
|
|
5
|
+
var Info15 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID11, Info15, SessionSchema2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./vcs-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./vcs-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update2
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update2(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -402,4 +402,4 @@ function update3(adapter, event) {
|
|
|
402
402
|
return project(event);
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
export {
|
|
405
|
+
export { update2, exports_message_updater };
|